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.c27
-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--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.c4
-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.523
-rw-r--r--sshlogin.c10
-rw-r--r--uuencode.c13
-rw-r--r--version.h4
92 files changed, 8892 insertions, 6376 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 c404b7205..f122f4b39 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@
@@ -75,7 +75,8 @@ LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \
75 kexgssc.o 75 kexgssc.o
76 76
77SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ 77SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \
78 sshconnect.o sshconnect1.o sshconnect2.o mux.o 78 sshconnect.o sshconnect1.o sshconnect2.o mux.o \
79 roaming_common.o
79 80
80SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ 81SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
81 sshpty.o sshlogin.o servconf.o serverloop.o \ 82 sshpty.o sshlogin.o servconf.o serverloop.o \
@@ -87,7 +88,8 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
87 auth-krb5.o \ 88 auth-krb5.o \
88 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o\ 89 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o\
89 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ 90 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \
90 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o 91 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o \
92 roaming_common.o
91 93
92MANPAGES = 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 sshd_config.5.out ssh_config.5.out 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 sshd_config.5.out ssh_config.5.out
93MANPAGES_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 sshd_config.5 ssh_config.5 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 sshd_config.5 ssh_config.5
@@ -152,11 +154,11 @@ ssh-agent$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-agent.o
152ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o 154ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o
153 $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 155 $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
154 156
155ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o 157ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o roaming_dummy.o
156 $(LD) -o $@ ssh-keysign.o readconf.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 158 $(LD) -o $@ ssh-keysign.o readconf.o roaming_dummy.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
157 159
158ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o 160ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o roaming_dummy.o
159 $(LD) -o $@ ssh-keyscan.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS) 161 $(LD) -o $@ ssh-keyscan.o roaming_dummy.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS)
160 162
161sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o sftp-server-main.o 163sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o sftp-server-main.o
162 $(LD) -o $@ sftp-server.o sftp-common.o sftp-server-main.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 164 $(LD) -o $@ sftp-server.o sftp-common.o sftp-server-main.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
@@ -241,7 +243,7 @@ check-config:
241 -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config 243 -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config
242 244
243scard-install: 245scard-install:
244 (cd scard && $(MAKE) DESTDIR=$(DESTDIR) install) 246 (cd scard && env DESTDIR=$(DESTDIR) $(MAKE) DESTDIR=$(DESTDIR) install)
245 247
246install-files: scard-install 248install-files: scard-install
247 $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) 249 $(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 b8a255872..1801661fd 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 b1e38e5f5..2886f1275 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 31ae31e0c..61b5c0148 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 dea60ba24..e8b8aa07e 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 52667017c..141e0fff5 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,13 +496,13 @@ 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 (++keep_alive_timeouts > options.server_alive_count_max) { 505 if (packet_inc_alive_timeouts() > options.server_alive_count_max) {
505 logit("Timeout, server not responding."); 506 logit("Timeout, server not responding.");
506 cleanup_exit(255); 507 cleanup_exit(255);
507 } 508 }
@@ -638,8 +639,8 @@ client_suspend_self(Buffer *bin, Buffer *bout, Buffer *berr)
638static void 639static void
639client_process_net_input(fd_set *readset) 640client_process_net_input(fd_set *readset)
640{ 641{
641 int len; 642 int len, cont = 0;
642 char buf[8192]; 643 char buf[SSH_IOBUFSZ];
643 644
644 /* 645 /*
645 * Read input from the server, and add any such data to the buffer of 646 * Read input from the server, and add any such data to the buffer of
@@ -647,8 +648,8 @@ client_process_net_input(fd_set *readset)
647 */ 648 */
648 if (FD_ISSET(connection_in, readset)) { 649 if (FD_ISSET(connection_in, readset)) {
649 /* Read as much as possible. */ 650 /* Read as much as possible. */
650 len = read(connection_in, buf, sizeof(buf)); 651 len = roaming_read(connection_in, buf, sizeof(buf), &cont);
651 if (len == 0) { 652 if (len == 0 && cont == 0) {
652 /* 653 /*
653 * Received EOF. The remote host has closed the 654 * Received EOF. The remote host has closed the
654 * connection. 655 * connection.
@@ -1132,7 +1133,7 @@ static void
1132client_process_input(fd_set *readset) 1133client_process_input(fd_set *readset)
1133{ 1134{
1134 int len; 1135 int len;
1135 char buf[8192]; 1136 char buf[SSH_IOBUFSZ];
1136 1137
1137 /* Read input from stdin. */ 1138 /* Read input from stdin. */
1138 if (FD_ISSET(fileno(stdin), readset)) { 1139 if (FD_ISSET(fileno(stdin), readset)) {
@@ -1434,11 +1435,13 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1434 if (!rekeying) { 1435 if (!rekeying) {
1435 channel_after_select(readset, writeset); 1436 channel_after_select(readset, writeset);
1436 1437
1438#ifdef GSSAPI
1437 if (options.gss_renewal_rekey && 1439 if (options.gss_renewal_rekey &&
1438 ssh_gssapi_credentials_updated(GSS_C_NO_CONTEXT)) { 1440 ssh_gssapi_credentials_updated(GSS_C_NO_CONTEXT)) {
1439 debug("credentials updated - forcing rekey"); 1441 debug("credentials updated - forcing rekey");
1440 need_rekeying = 1; 1442 need_rekeying = 1;
1441 } 1443 }
1444#endif
1442 1445
1443 if (need_rekeying || packet_need_rekeying()) { 1446 if (need_rekeying || packet_need_rekeying()) {
1444 debug("need rekeying"); 1447 debug("need rekeying");
@@ -1487,6 +1490,14 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1487 /* Stop watching for window change. */ 1490 /* Stop watching for window change. */
1488 signal(SIGWINCH, SIG_DFL); 1491 signal(SIGWINCH, SIG_DFL);
1489 1492
1493 if (compat20) {
1494 packet_start(SSH2_MSG_DISCONNECT);
1495 packet_put_int(SSH2_DISCONNECT_BY_APPLICATION);
1496 packet_put_cstring("disconnected by user");
1497 packet_send();
1498 packet_write_wait();
1499 }
1500
1490 channel_free_all(); 1501 channel_free_all();
1491 1502
1492 if (have_pty) 1503 if (have_pty)
diff --git a/config.h.in b/config.h.in
index 84967a461..fc195bad5 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
@@ -1226,6 +1238,9 @@
1226/* Define if X11 doesn't support AF_UNIX sockets on that system */ 1238/* Define if X11 doesn't support AF_UNIX sockets on that system */
1227#undef NO_X11_UNIX_SOCKETS 1239#undef NO_X11_UNIX_SOCKETS
1228 1240
1241/* Define if EVP_DigestUpdate returns void */
1242#undef OPENSSL_EVP_DIGESTUPDATE_VOID
1243
1229/* libcrypto is missing AES 192 and 256 bit functions */ 1244/* libcrypto is missing AES 192 and 256 bit functions */
1230#undef OPENSSL_LOBOTOMISED_AES 1245#undef OPENSSL_LOBOTOMISED_AES
1231 1246
@@ -1309,6 +1324,9 @@
1309/* Use audit debugging module */ 1324/* Use audit debugging module */
1310#undef SSH_AUDIT_EVENTS 1325#undef SSH_AUDIT_EVENTS
1311 1326
1327/* Windows is sensitive to read buffer size */
1328#undef SSH_IOBUFSZ
1329
1312/* non-privileged user for privilege separation */ 1330/* non-privileged user for privilege separation */
1313#undef SSH_PRIVSEP_USER 1331#undef SSH_PRIVSEP_USER
1314 1332
@@ -1397,9 +1415,17 @@
1397/* Define if you want SELinux support. */ 1415/* Define if you want SELinux support. */
1398#undef WITH_SELINUX 1416#undef WITH_SELINUX
1399 1417
1400/* Define to 1 if your processor stores words with the most significant byte 1418/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1401 first (like Motorola and SPARC, unlike Intel and VAX). */ 1419 significant byte first (like Motorola and SPARC, unlike Intel). */
1402#undef WORDS_BIGENDIAN 1420#if defined AC_APPLE_UNIVERSAL_BUILD
1421# if defined __BIG_ENDIAN__
1422# define WORDS_BIGENDIAN 1
1423# endif
1424#else
1425# ifndef WORDS_BIGENDIAN
1426# undef WORDS_BIGENDIAN
1427# endif
1428#endif
1403 1429
1404/* Define if xauth is found in your path */ 1430/* Define if xauth is found in your path */
1405#undef XAUTH_PATH 1431#undef XAUTH_PATH
diff --git a/configure b/configure
index d7e69489a..416ea6f7d 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
@@ -8047,17 +8389,17 @@ cat >>confdefs.h <<\_ACEOF
8047_ACEOF 8389_ACEOF
8048 8390
8049 if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8391 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8050 { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 8392 { $as_echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
8051echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } 8393$as_echo_n "checking for net/if_tap.h... " >&6; }
8052if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8394if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8053 echo $ECHO_N "(cached) $ECHO_C" >&6 8395 $as_echo_n "(cached) " >&6
8054fi 8396fi
8055{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 8397{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
8056echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } 8398$as_echo "$ac_cv_header_net_if_tap_h" >&6; }
8057else 8399else
8058 # Is the header compilable? 8400 # Is the header compilable?
8059{ echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 8401{ $as_echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
8060echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } 8402$as_echo_n "checking net/if_tap.h usability... " >&6; }
8061cat >conftest.$ac_ext <<_ACEOF 8403cat >conftest.$ac_ext <<_ACEOF
8062/* confdefs.h. */ 8404/* confdefs.h. */
8063_ACEOF 8405_ACEOF
@@ -8073,32 +8415,33 @@ case "(($ac_try" in
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;; 8416 *) ac_try_echo=$ac_try;;
8075esac 8417esac
8076eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8418eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8419$as_echo "$ac_try_echo") >&5
8077 (eval "$ac_compile") 2>conftest.er1 8420 (eval "$ac_compile") 2>conftest.er1
8078 ac_status=$? 8421 ac_status=$?
8079 grep -v '^ *+' conftest.er1 >conftest.err 8422 grep -v '^ *+' conftest.er1 >conftest.err
8080 rm -f conftest.er1 8423 rm -f conftest.er1
8081 cat conftest.err >&5 8424 cat conftest.err >&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); } && { 8426 (exit $ac_status); } && {
8084 test -z "$ac_c_werror_flag" || 8427 test -z "$ac_c_werror_flag" ||
8085 test ! -s conftest.err 8428 test ! -s conftest.err
8086 } && test -s conftest.$ac_objext; then 8429 } && test -s conftest.$ac_objext; then
8087 ac_header_compiler=yes 8430 ac_header_compiler=yes
8088else 8431else
8089 echo "$as_me: failed program was:" >&5 8432 $as_echo "$as_me: failed program was:" >&5
8090sed 's/^/| /' conftest.$ac_ext >&5 8433sed 's/^/| /' conftest.$ac_ext >&5
8091 8434
8092 ac_header_compiler=no 8435 ac_header_compiler=no
8093fi 8436fi
8094 8437
8095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8096{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8439{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8097echo "${ECHO_T}$ac_header_compiler" >&6; } 8440$as_echo "$ac_header_compiler" >&6; }
8098 8441
8099# Is the header present? 8442# Is the header present?
8100{ echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 8443{ $as_echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
8101echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } 8444$as_echo_n "checking net/if_tap.h presence... " >&6; }
8102cat >conftest.$ac_ext <<_ACEOF 8445cat >conftest.$ac_ext <<_ACEOF
8103/* confdefs.h. */ 8446/* confdefs.h. */
8104_ACEOF 8447_ACEOF
@@ -8112,51 +8455,52 @@ case "(($ac_try" in
8112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8113 *) ac_try_echo=$ac_try;; 8456 *) ac_try_echo=$ac_try;;
8114esac 8457esac
8115eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8458eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8459$as_echo "$ac_try_echo") >&5
8116 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8460 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8117 ac_status=$? 8461 ac_status=$?
8118 grep -v '^ *+' conftest.er1 >conftest.err 8462 grep -v '^ *+' conftest.er1 >conftest.err
8119 rm -f conftest.er1 8463 rm -f conftest.er1
8120 cat conftest.err >&5 8464 cat conftest.err >&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } >/dev/null && { 8466 (exit $ac_status); } >/dev/null && {
8123 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8124 test ! -s conftest.err 8468 test ! -s conftest.err
8125 }; then 8469 }; then
8126 ac_header_preproc=yes 8470 ac_header_preproc=yes
8127else 8471else
8128 echo "$as_me: failed program was:" >&5 8472 $as_echo "$as_me: failed program was:" >&5
8129sed 's/^/| /' conftest.$ac_ext >&5 8473sed 's/^/| /' conftest.$ac_ext >&5
8130 8474
8131 ac_header_preproc=no 8475 ac_header_preproc=no
8132fi 8476fi
8133 8477
8134rm -f conftest.err conftest.$ac_ext 8478rm -f conftest.err conftest.$ac_ext
8135{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8479{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8136echo "${ECHO_T}$ac_header_preproc" >&6; } 8480$as_echo "$ac_header_preproc" >&6; }
8137 8481
8138# So? What about this header? 8482# So? What about this header?
8139case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8483case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8140 yes:no: ) 8484 yes:no: )
8141 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5 8485 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
8142echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8486$as_echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8143 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5 8487 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
8144echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;} 8488$as_echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
8145 ac_header_preproc=yes 8489 ac_header_preproc=yes
8146 ;; 8490 ;;
8147 no:yes:* ) 8491 no:yes:* )
8148 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5 8492 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
8149echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;} 8493$as_echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
8150 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5 8494 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
8151echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;} 8495$as_echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
8152 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5 8496 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
8153echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;} 8497$as_echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
8154 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5 8498 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
8155echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;} 8499$as_echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
8156 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5 8500 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
8157echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} 8501$as_echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
8158 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 8502 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
8159echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} 8503$as_echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
8160 ( cat <<\_ASBOX 8504 ( cat <<\_ASBOX
8161## ------------------------------------------- ## 8505## ------------------------------------------- ##
8162## Report this to openssh-unix-dev@mindrot.org ## 8506## Report this to openssh-unix-dev@mindrot.org ##
@@ -8165,15 +8509,15 @@ _ASBOX
8165 ) | sed "s/^/$as_me: WARNING: /" >&2 8509 ) | sed "s/^/$as_me: WARNING: /" >&2
8166 ;; 8510 ;;
8167esac 8511esac
8168{ echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 8512{ $as_echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
8169echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } 8513$as_echo_n "checking for net/if_tap.h... " >&6; }
8170if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8514if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6 8515 $as_echo_n "(cached) " >&6
8172else 8516else
8173 ac_cv_header_net_if_tap_h=$ac_header_preproc 8517 ac_cv_header_net_if_tap_h=$ac_header_preproc
8174fi 8518fi
8175{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 8519{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
8176echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } 8520$as_echo "$ac_cv_header_net_if_tap_h" >&6; }
8177 8521
8178fi 8522fi
8179if test $ac_cv_header_net_if_tap_h = yes; then 8523if test $ac_cv_header_net_if_tap_h = yes; then
@@ -8206,17 +8550,17 @@ cat >>confdefs.h <<\_ACEOF
8206_ACEOF 8550_ACEOF
8207 8551
8208 if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8552 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8209 { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 8553 { $as_echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
8210echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } 8554$as_echo_n "checking for net/if_tap.h... " >&6; }
8211if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8555if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6 8556 $as_echo_n "(cached) " >&6
8213fi 8557fi
8214{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 8558{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
8215echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } 8559$as_echo "$ac_cv_header_net_if_tap_h" >&6; }
8216else 8560else
8217 # Is the header compilable? 8561 # Is the header compilable?
8218{ echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 8562{ $as_echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
8219echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } 8563$as_echo_n "checking net/if_tap.h usability... " >&6; }
8220cat >conftest.$ac_ext <<_ACEOF 8564cat >conftest.$ac_ext <<_ACEOF
8221/* confdefs.h. */ 8565/* confdefs.h. */
8222_ACEOF 8566_ACEOF
@@ -8232,32 +8576,33 @@ case "(($ac_try" in
8232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8233 *) ac_try_echo=$ac_try;; 8577 *) ac_try_echo=$ac_try;;
8234esac 8578esac
8235eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8579eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8580$as_echo "$ac_try_echo") >&5
8236 (eval "$ac_compile") 2>conftest.er1 8581 (eval "$ac_compile") 2>conftest.er1
8237 ac_status=$? 8582 ac_status=$?
8238 grep -v '^ *+' conftest.er1 >conftest.err 8583 grep -v '^ *+' conftest.er1 >conftest.err
8239 rm -f conftest.er1 8584 rm -f conftest.er1
8240 cat conftest.err >&5 8585 cat conftest.err >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } && { 8587 (exit $ac_status); } && {
8243 test -z "$ac_c_werror_flag" || 8588 test -z "$ac_c_werror_flag" ||
8244 test ! -s conftest.err 8589 test ! -s conftest.err
8245 } && test -s conftest.$ac_objext; then 8590 } && test -s conftest.$ac_objext; then
8246 ac_header_compiler=yes 8591 ac_header_compiler=yes
8247else 8592else
8248 echo "$as_me: failed program was:" >&5 8593 $as_echo "$as_me: failed program was:" >&5
8249sed 's/^/| /' conftest.$ac_ext >&5 8594sed 's/^/| /' conftest.$ac_ext >&5
8250 8595
8251 ac_header_compiler=no 8596 ac_header_compiler=no
8252fi 8597fi
8253 8598
8254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8255{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8600{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8256echo "${ECHO_T}$ac_header_compiler" >&6; } 8601$as_echo "$ac_header_compiler" >&6; }
8257 8602
8258# Is the header present? 8603# Is the header present?
8259{ echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 8604{ $as_echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
8260echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } 8605$as_echo_n "checking net/if_tap.h presence... " >&6; }
8261cat >conftest.$ac_ext <<_ACEOF 8606cat >conftest.$ac_ext <<_ACEOF
8262/* confdefs.h. */ 8607/* confdefs.h. */
8263_ACEOF 8608_ACEOF
@@ -8271,51 +8616,52 @@ case "(($ac_try" in
8271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8272 *) ac_try_echo=$ac_try;; 8617 *) ac_try_echo=$ac_try;;
8273esac 8618esac
8274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8619eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8620$as_echo "$ac_try_echo") >&5
8275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8276 ac_status=$? 8622 ac_status=$?
8277 grep -v '^ *+' conftest.er1 >conftest.err 8623 grep -v '^ *+' conftest.er1 >conftest.err
8278 rm -f conftest.er1 8624 rm -f conftest.er1
8279 cat conftest.err >&5 8625 cat conftest.err >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } >/dev/null && { 8627 (exit $ac_status); } >/dev/null && {
8282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8283 test ! -s conftest.err 8629 test ! -s conftest.err
8284 }; then 8630 }; then
8285 ac_header_preproc=yes 8631 ac_header_preproc=yes
8286else 8632else
8287 echo "$as_me: failed program was:" >&5 8633 $as_echo "$as_me: failed program was:" >&5
8288sed 's/^/| /' conftest.$ac_ext >&5 8634sed 's/^/| /' conftest.$ac_ext >&5
8289 8635
8290 ac_header_preproc=no 8636 ac_header_preproc=no
8291fi 8637fi
8292 8638
8293rm -f conftest.err conftest.$ac_ext 8639rm -f conftest.err conftest.$ac_ext
8294{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8640{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8295echo "${ECHO_T}$ac_header_preproc" >&6; } 8641$as_echo "$ac_header_preproc" >&6; }
8296 8642
8297# So? What about this header? 8643# So? What about this header?
8298case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8644case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8299 yes:no: ) 8645 yes:no: )
8300 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5 8646 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
8301echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8647$as_echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8302 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5 8648 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
8303echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;} 8649$as_echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
8304 ac_header_preproc=yes 8650 ac_header_preproc=yes
8305 ;; 8651 ;;
8306 no:yes:* ) 8652 no:yes:* )
8307 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5 8653 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
8308echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;} 8654$as_echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
8309 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5 8655 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
8310echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;} 8656$as_echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
8311 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5 8657 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
8312echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;} 8658$as_echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
8313 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5 8659 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
8314echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;} 8660$as_echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
8315 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5 8661 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
8316echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} 8662$as_echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
8317 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 8663 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
8318echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} 8664$as_echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
8319 ( cat <<\_ASBOX 8665 ( cat <<\_ASBOX
8320## ------------------------------------------- ## 8666## ------------------------------------------- ##
8321## Report this to openssh-unix-dev@mindrot.org ## 8667## Report this to openssh-unix-dev@mindrot.org ##
@@ -8324,15 +8670,15 @@ _ASBOX
8324 ) | sed "s/^/$as_me: WARNING: /" >&2 8670 ) | sed "s/^/$as_me: WARNING: /" >&2
8325 ;; 8671 ;;
8326esac 8672esac
8327{ echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 8673{ $as_echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
8328echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } 8674$as_echo_n "checking for net/if_tap.h... " >&6; }
8329if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8675if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6 8676 $as_echo_n "(cached) " >&6
8331else 8677else
8332 ac_cv_header_net_if_tap_h=$ac_header_preproc 8678 ac_cv_header_net_if_tap_h=$ac_header_preproc
8333fi 8679fi
8334{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 8680{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
8335echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } 8681$as_echo "$ac_cv_header_net_if_tap_h" >&6; }
8336 8682
8337fi 8683fi
8338if test $ac_cv_header_net_if_tap_h = yes; then 8684if test $ac_cv_header_net_if_tap_h = yes; then
@@ -8453,15 +8799,20 @@ cat >>confdefs.h <<\_ACEOF
8453#define PASSWD_NEEDS_USERNAME 1 8799#define PASSWD_NEEDS_USERNAME 1
8454_ACEOF 8800_ACEOF
8455 8801
8802
8803cat >>confdefs.h <<\_ACEOF
8804#define BROKEN_TCGETATTR_ICANON 1
8805_ACEOF
8806
8456 external_path_file=/etc/default/login 8807 external_path_file=/etc/default/login
8457 # hardwire lastlog location (can't detect it on some versions) 8808 # hardwire lastlog location (can't detect it on some versions)
8458 conf_lastlog_location="/var/adm/lastlog" 8809 conf_lastlog_location="/var/adm/lastlog"
8459 { echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 8810 { $as_echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
8460echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6; } 8811$as_echo_n "checking for obsolete utmp and wtmp in solaris2.x... " >&6; }
8461 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` 8812 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
8462 if test "$sol2ver" -ge 8; then 8813 if test "$sol2ver" -ge 8; then
8463 { echo "$as_me:$LINENO: result: yes" >&5 8814 { $as_echo "$as_me:$LINENO: result: yes" >&5
8464echo "${ECHO_T}yes" >&6; } 8815$as_echo "yes" >&6; }
8465 cat >>confdefs.h <<\_ACEOF 8816 cat >>confdefs.h <<\_ACEOF
8466#define DISABLE_UTMP 1 8817#define DISABLE_UTMP 1
8467_ACEOF 8818_ACEOF
@@ -8472,17 +8823,17 @@ cat >>confdefs.h <<\_ACEOF
8472_ACEOF 8823_ACEOF
8473 8824
8474 else 8825 else
8475 { echo "$as_me:$LINENO: result: no" >&5 8826 { $as_echo "$as_me:$LINENO: result: no" >&5
8476echo "${ECHO_T}no" >&6; } 8827$as_echo "no" >&6; }
8477 fi 8828 fi
8478 8829
8479# Check whether --with-solaris-contracts was given. 8830# Check whether --with-solaris-contracts was given.
8480if test "${with_solaris_contracts+set}" = set; then 8831if test "${with_solaris_contracts+set}" = set; then
8481 withval=$with_solaris_contracts; 8832 withval=$with_solaris_contracts;
8482 { echo "$as_me:$LINENO: checking for ct_tmpl_activate in -lcontract" >&5 8833 { $as_echo "$as_me:$LINENO: checking for ct_tmpl_activate in -lcontract" >&5
8483echo $ECHO_N "checking for ct_tmpl_activate in -lcontract... $ECHO_C" >&6; } 8834$as_echo_n "checking for ct_tmpl_activate in -lcontract... " >&6; }
8484if test "${ac_cv_lib_contract_ct_tmpl_activate+set}" = set; then 8835if test "${ac_cv_lib_contract_ct_tmpl_activate+set}" = set; then
8485 echo $ECHO_N "(cached) $ECHO_C" >&6 8836 $as_echo_n "(cached) " >&6
8486else 8837else
8487 ac_check_lib_save_LIBS=$LIBS 8838 ac_check_lib_save_LIBS=$LIBS
8488LIBS="-lcontract $LIBS" 8839LIBS="-lcontract $LIBS"
@@ -8514,32 +8865,36 @@ case "(($ac_try" in
8514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8515 *) ac_try_echo=$ac_try;; 8866 *) ac_try_echo=$ac_try;;
8516esac 8867esac
8517eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8868eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8869$as_echo "$ac_try_echo") >&5
8518 (eval "$ac_link") 2>conftest.er1 8870 (eval "$ac_link") 2>conftest.er1
8519 ac_status=$? 8871 ac_status=$?
8520 grep -v '^ *+' conftest.er1 >conftest.err 8872 grep -v '^ *+' conftest.er1 >conftest.err
8521 rm -f conftest.er1 8873 rm -f conftest.er1
8522 cat conftest.err >&5 8874 cat conftest.err >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } && { 8876 (exit $ac_status); } && {
8525 test -z "$ac_c_werror_flag" || 8877 test -z "$ac_c_werror_flag" ||
8526 test ! -s conftest.err 8878 test ! -s conftest.err
8527 } && test -s conftest$ac_exeext && 8879 } && test -s conftest$ac_exeext && {
8528 $as_test_x conftest$ac_exeext; then 8880 test "$cross_compiling" = yes ||
8881 $as_test_x conftest$ac_exeext
8882 }; then
8529 ac_cv_lib_contract_ct_tmpl_activate=yes 8883 ac_cv_lib_contract_ct_tmpl_activate=yes
8530else 8884else
8531 echo "$as_me: failed program was:" >&5 8885 $as_echo "$as_me: failed program was:" >&5
8532sed 's/^/| /' conftest.$ac_ext >&5 8886sed 's/^/| /' conftest.$ac_ext >&5
8533 8887
8534 ac_cv_lib_contract_ct_tmpl_activate=no 8888 ac_cv_lib_contract_ct_tmpl_activate=no
8535fi 8889fi
8536 8890
8891rm -rf conftest.dSYM
8537rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8892rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8538 conftest$ac_exeext conftest.$ac_ext 8893 conftest$ac_exeext conftest.$ac_ext
8539LIBS=$ac_check_lib_save_LIBS 8894LIBS=$ac_check_lib_save_LIBS
8540fi 8895fi
8541{ echo "$as_me:$LINENO: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5 8896{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5
8542echo "${ECHO_T}$ac_cv_lib_contract_ct_tmpl_activate" >&6; } 8897$as_echo "$ac_cv_lib_contract_ct_tmpl_activate" >&6; }
8543if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then 8898if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then
8544 8899
8545cat >>confdefs.h <<\_ACEOF 8900cat >>confdefs.h <<\_ACEOF
@@ -8560,11 +8915,11 @@ fi
8560 8915
8561for ac_func in getpwanam 8916for ac_func in getpwanam
8562do 8917do
8563as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8918as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8564{ echo "$as_me:$LINENO: checking for $ac_func" >&5 8919{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8565echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 8920$as_echo_n "checking for $ac_func... " >&6; }
8566if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8921if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8567 echo $ECHO_N "(cached) $ECHO_C" >&6 8922 $as_echo_n "(cached) " >&6
8568else 8923else
8569 cat >conftest.$ac_ext <<_ACEOF 8924 cat >conftest.$ac_ext <<_ACEOF
8570/* confdefs.h. */ 8925/* confdefs.h. */
@@ -8617,35 +8972,41 @@ case "(($ac_try" in
8617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8618 *) ac_try_echo=$ac_try;; 8973 *) ac_try_echo=$ac_try;;
8619esac 8974esac
8620eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8976$as_echo "$ac_try_echo") >&5
8621 (eval "$ac_link") 2>conftest.er1 8977 (eval "$ac_link") 2>conftest.er1
8622 ac_status=$? 8978 ac_status=$?
8623 grep -v '^ *+' conftest.er1 >conftest.err 8979 grep -v '^ *+' conftest.er1 >conftest.err
8624 rm -f conftest.er1 8980 rm -f conftest.er1
8625 cat conftest.err >&5 8981 cat conftest.err >&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); } && { 8983 (exit $ac_status); } && {
8628 test -z "$ac_c_werror_flag" || 8984 test -z "$ac_c_werror_flag" ||
8629 test ! -s conftest.err 8985 test ! -s conftest.err
8630 } && test -s conftest$ac_exeext && 8986 } && test -s conftest$ac_exeext && {
8631 $as_test_x conftest$ac_exeext; then 8987 test "$cross_compiling" = yes ||
8988 $as_test_x conftest$ac_exeext
8989 }; then
8632 eval "$as_ac_var=yes" 8990 eval "$as_ac_var=yes"
8633else 8991else
8634 echo "$as_me: failed program was:" >&5 8992 $as_echo "$as_me: failed program was:" >&5
8635sed 's/^/| /' conftest.$ac_ext >&5 8993sed 's/^/| /' conftest.$ac_ext >&5
8636 8994
8637 eval "$as_ac_var=no" 8995 eval "$as_ac_var=no"
8638fi 8996fi
8639 8997
8998rm -rf conftest.dSYM
8640rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8999rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8641 conftest$ac_exeext conftest.$ac_ext 9000 conftest$ac_exeext conftest.$ac_ext
8642fi 9001fi
8643ac_res=`eval echo '${'$as_ac_var'}'` 9002ac_res=`eval 'as_val=${'$as_ac_var'}
8644 { echo "$as_me:$LINENO: result: $ac_res" >&5 9003 $as_echo "$as_val"'`
8645echo "${ECHO_T}$ac_res" >&6; } 9004 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8646if test `eval echo '${'$as_ac_var'}'` = yes; then 9005$as_echo "$ac_res" >&6; }
9006if test `eval 'as_val=${'$as_ac_var'}
9007 $as_echo "$as_val"'` = yes; then
8647 cat >>confdefs.h <<_ACEOF 9008 cat >>confdefs.h <<_ACEOF
8648#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9009#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8649_ACEOF 9010_ACEOF
8650 9011
8651fi 9012fi
@@ -8689,10 +9050,10 @@ _ACEOF
8689*-sni-sysv*) 9050*-sni-sysv*)
8690 # /usr/ucblib MUST NOT be searched on ReliantUNIX 9051 # /usr/ucblib MUST NOT be searched on ReliantUNIX
8691 9052
8692{ echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 9053{ $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
8693echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; } 9054$as_echo_n "checking for dlsym in -ldl... " >&6; }
8694if test "${ac_cv_lib_dl_dlsym+set}" = set; then 9055if test "${ac_cv_lib_dl_dlsym+set}" = set; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6 9056 $as_echo_n "(cached) " >&6
8696else 9057else
8697 ac_check_lib_save_LIBS=$LIBS 9058 ac_check_lib_save_LIBS=$LIBS
8698LIBS="-ldl $LIBS" 9059LIBS="-ldl $LIBS"
@@ -8724,32 +9085,36 @@ case "(($ac_try" in
8724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8725 *) ac_try_echo=$ac_try;; 9086 *) ac_try_echo=$ac_try;;
8726esac 9087esac
8727eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9088eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9089$as_echo "$ac_try_echo") >&5
8728 (eval "$ac_link") 2>conftest.er1 9090 (eval "$ac_link") 2>conftest.er1
8729 ac_status=$? 9091 ac_status=$?
8730 grep -v '^ *+' conftest.er1 >conftest.err 9092 grep -v '^ *+' conftest.er1 >conftest.err
8731 rm -f conftest.er1 9093 rm -f conftest.er1
8732 cat conftest.err >&5 9094 cat conftest.err >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } && { 9096 (exit $ac_status); } && {
8735 test -z "$ac_c_werror_flag" || 9097 test -z "$ac_c_werror_flag" ||
8736 test ! -s conftest.err 9098 test ! -s conftest.err
8737 } && test -s conftest$ac_exeext && 9099 } && test -s conftest$ac_exeext && {
8738 $as_test_x conftest$ac_exeext; then 9100 test "$cross_compiling" = yes ||
9101 $as_test_x conftest$ac_exeext
9102 }; then
8739 ac_cv_lib_dl_dlsym=yes 9103 ac_cv_lib_dl_dlsym=yes
8740else 9104else
8741 echo "$as_me: failed program was:" >&5 9105 $as_echo "$as_me: failed program was:" >&5
8742sed 's/^/| /' conftest.$ac_ext >&5 9106sed 's/^/| /' conftest.$ac_ext >&5
8743 9107
8744 ac_cv_lib_dl_dlsym=no 9108 ac_cv_lib_dl_dlsym=no
8745fi 9109fi
8746 9110
9111rm -rf conftest.dSYM
8747rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9112rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8748 conftest$ac_exeext conftest.$ac_ext 9113 conftest$ac_exeext conftest.$ac_ext
8749LIBS=$ac_check_lib_save_LIBS 9114LIBS=$ac_check_lib_save_LIBS
8750fi 9115fi
8751{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 9116{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
8752echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; } 9117$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
8753if test $ac_cv_lib_dl_dlsym = yes; then 9118if test $ac_cv_lib_dl_dlsym = yes; then
8754 cat >>confdefs.h <<_ACEOF 9119 cat >>confdefs.h <<_ACEOF
8755#define HAVE_LIBDL 1 9120#define HAVE_LIBDL 1
@@ -8760,10 +9125,10 @@ _ACEOF
8760fi 9125fi
8761 9126
8762 # -lresolv needs to be at the end of LIBS or DNS lookups break 9127 # -lresolv needs to be at the end of LIBS or DNS lookups break
8763 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 9128 { $as_echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
8764echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } 9129$as_echo_n "checking for res_query in -lresolv... " >&6; }
8765if test "${ac_cv_lib_resolv_res_query+set}" = set; then 9130if test "${ac_cv_lib_resolv_res_query+set}" = set; then
8766 echo $ECHO_N "(cached) $ECHO_C" >&6 9131 $as_echo_n "(cached) " >&6
8767else 9132else
8768 ac_check_lib_save_LIBS=$LIBS 9133 ac_check_lib_save_LIBS=$LIBS
8769LIBS="-lresolv $LIBS" 9134LIBS="-lresolv $LIBS"
@@ -8795,32 +9160,36 @@ case "(($ac_try" in
8795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8796 *) ac_try_echo=$ac_try;; 9161 *) ac_try_echo=$ac_try;;
8797esac 9162esac
8798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9163eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9164$as_echo "$ac_try_echo") >&5
8799 (eval "$ac_link") 2>conftest.er1 9165 (eval "$ac_link") 2>conftest.er1
8800 ac_status=$? 9166 ac_status=$?
8801 grep -v '^ *+' conftest.er1 >conftest.err 9167 grep -v '^ *+' conftest.er1 >conftest.err
8802 rm -f conftest.er1 9168 rm -f conftest.er1
8803 cat conftest.err >&5 9169 cat conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } && { 9171 (exit $ac_status); } && {
8806 test -z "$ac_c_werror_flag" || 9172 test -z "$ac_c_werror_flag" ||
8807 test ! -s conftest.err 9173 test ! -s conftest.err
8808 } && test -s conftest$ac_exeext && 9174 } && test -s conftest$ac_exeext && {
8809 $as_test_x conftest$ac_exeext; then 9175 test "$cross_compiling" = yes ||
9176 $as_test_x conftest$ac_exeext
9177 }; then
8810 ac_cv_lib_resolv_res_query=yes 9178 ac_cv_lib_resolv_res_query=yes
8811else 9179else
8812 echo "$as_me: failed program was:" >&5 9180 $as_echo "$as_me: failed program was:" >&5
8813sed 's/^/| /' conftest.$ac_ext >&5 9181sed 's/^/| /' conftest.$ac_ext >&5
8814 9182
8815 ac_cv_lib_resolv_res_query=no 9183 ac_cv_lib_resolv_res_query=no
8816fi 9184fi
8817 9185
9186rm -rf conftest.dSYM
8818rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9187rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8819 conftest$ac_exeext conftest.$ac_ext 9188 conftest$ac_exeext conftest.$ac_ext
8820LIBS=$ac_check_lib_save_LIBS 9189LIBS=$ac_check_lib_save_LIBS
8821fi 9190fi
8822{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 9191{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
8823echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; } 9192$as_echo "$ac_cv_lib_resolv_res_query" >&6; }
8824if test $ac_cv_lib_resolv_res_query = yes; then 9193if test $ac_cv_lib_resolv_res_query = yes; then
8825 LIBS="$LIBS -lresolv" 9194 LIBS="$LIBS -lresolv"
8826fi 9195fi
@@ -8922,10 +9291,10 @@ _ACEOF
8922#define BROKEN_UPDWTMPX 1 9291#define BROKEN_UPDWTMPX 1
8923_ACEOF 9292_ACEOF
8924 9293
8925 { echo "$as_me:$LINENO: checking for getluid in -lprot" >&5 9294 { $as_echo "$as_me:$LINENO: checking for getluid in -lprot" >&5
8926echo $ECHO_N "checking for getluid in -lprot... $ECHO_C" >&6; } 9295$as_echo_n "checking for getluid in -lprot... " >&6; }
8927if test "${ac_cv_lib_prot_getluid+set}" = set; then 9296if test "${ac_cv_lib_prot_getluid+set}" = set; then
8928 echo $ECHO_N "(cached) $ECHO_C" >&6 9297 $as_echo_n "(cached) " >&6
8929else 9298else
8930 ac_check_lib_save_LIBS=$LIBS 9299 ac_check_lib_save_LIBS=$LIBS
8931LIBS="-lprot $LIBS" 9300LIBS="-lprot $LIBS"
@@ -8957,43 +9326,47 @@ case "(($ac_try" in
8957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8958 *) ac_try_echo=$ac_try;; 9327 *) ac_try_echo=$ac_try;;
8959esac 9328esac
8960eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9329eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9330$as_echo "$ac_try_echo") >&5
8961 (eval "$ac_link") 2>conftest.er1 9331 (eval "$ac_link") 2>conftest.er1
8962 ac_status=$? 9332 ac_status=$?
8963 grep -v '^ *+' conftest.er1 >conftest.err 9333 grep -v '^ *+' conftest.er1 >conftest.err
8964 rm -f conftest.er1 9334 rm -f conftest.er1
8965 cat conftest.err >&5 9335 cat conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } && { 9337 (exit $ac_status); } && {
8968 test -z "$ac_c_werror_flag" || 9338 test -z "$ac_c_werror_flag" ||
8969 test ! -s conftest.err 9339 test ! -s conftest.err
8970 } && test -s conftest$ac_exeext && 9340 } && test -s conftest$ac_exeext && {
8971 $as_test_x conftest$ac_exeext; then 9341 test "$cross_compiling" = yes ||
9342 $as_test_x conftest$ac_exeext
9343 }; then
8972 ac_cv_lib_prot_getluid=yes 9344 ac_cv_lib_prot_getluid=yes
8973else 9345else
8974 echo "$as_me: failed program was:" >&5 9346 $as_echo "$as_me: failed program was:" >&5
8975sed 's/^/| /' conftest.$ac_ext >&5 9347sed 's/^/| /' conftest.$ac_ext >&5
8976 9348
8977 ac_cv_lib_prot_getluid=no 9349 ac_cv_lib_prot_getluid=no
8978fi 9350fi
8979 9351
9352rm -rf conftest.dSYM
8980rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9353rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8981 conftest$ac_exeext conftest.$ac_ext 9354 conftest$ac_exeext conftest.$ac_ext
8982LIBS=$ac_check_lib_save_LIBS 9355LIBS=$ac_check_lib_save_LIBS
8983fi 9356fi
8984{ echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getluid" >&5 9357{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getluid" >&5
8985echo "${ECHO_T}$ac_cv_lib_prot_getluid" >&6; } 9358$as_echo "$ac_cv_lib_prot_getluid" >&6; }
8986if test $ac_cv_lib_prot_getluid = yes; then 9359if test $ac_cv_lib_prot_getluid = yes; then
8987 LIBS="$LIBS -lprot" 9360 LIBS="$LIBS -lprot"
8988 9361
8989 9362
8990for ac_func in getluid setluid 9363for ac_func in getluid setluid
8991do 9364do
8992as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9365as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8993{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9366{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8994echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9367$as_echo_n "checking for $ac_func... " >&6; }
8995if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9368if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6 9369 $as_echo_n "(cached) " >&6
8997else 9370else
8998 cat >conftest.$ac_ext <<_ACEOF 9371 cat >conftest.$ac_ext <<_ACEOF
8999/* confdefs.h. */ 9372/* confdefs.h. */
@@ -9046,35 +9419,41 @@ case "(($ac_try" in
9046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9047 *) ac_try_echo=$ac_try;; 9420 *) ac_try_echo=$ac_try;;
9048esac 9421esac
9049eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9422eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9423$as_echo "$ac_try_echo") >&5
9050 (eval "$ac_link") 2>conftest.er1 9424 (eval "$ac_link") 2>conftest.er1
9051 ac_status=$? 9425 ac_status=$?
9052 grep -v '^ *+' conftest.er1 >conftest.err 9426 grep -v '^ *+' conftest.er1 >conftest.err
9053 rm -f conftest.er1 9427 rm -f conftest.er1
9054 cat conftest.err >&5 9428 cat conftest.err >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); } && { 9430 (exit $ac_status); } && {
9057 test -z "$ac_c_werror_flag" || 9431 test -z "$ac_c_werror_flag" ||
9058 test ! -s conftest.err 9432 test ! -s conftest.err
9059 } && test -s conftest$ac_exeext && 9433 } && test -s conftest$ac_exeext && {
9060 $as_test_x conftest$ac_exeext; then 9434 test "$cross_compiling" = yes ||
9435 $as_test_x conftest$ac_exeext
9436 }; then
9061 eval "$as_ac_var=yes" 9437 eval "$as_ac_var=yes"
9062else 9438else
9063 echo "$as_me: failed program was:" >&5 9439 $as_echo "$as_me: failed program was:" >&5
9064sed 's/^/| /' conftest.$ac_ext >&5 9440sed 's/^/| /' conftest.$ac_ext >&5
9065 9441
9066 eval "$as_ac_var=no" 9442 eval "$as_ac_var=no"
9067fi 9443fi
9068 9444
9445rm -rf conftest.dSYM
9069rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9446rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9070 conftest$ac_exeext conftest.$ac_ext 9447 conftest$ac_exeext conftest.$ac_ext
9071fi 9448fi
9072ac_res=`eval echo '${'$as_ac_var'}'` 9449ac_res=`eval 'as_val=${'$as_ac_var'}
9073 { echo "$as_me:$LINENO: result: $ac_res" >&5 9450 $as_echo "$as_val"'`
9074echo "${ECHO_T}$ac_res" >&6; } 9451 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9075if test `eval echo '${'$as_ac_var'}'` = yes; then 9452$as_echo "$ac_res" >&6; }
9453if test `eval 'as_val=${'$as_ac_var'}
9454 $as_echo "$as_val"'` = yes; then
9076 cat >>confdefs.h <<_ACEOF 9455 cat >>confdefs.h <<_ACEOF
9077#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9456#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9078_ACEOF 9457_ACEOF
9079 9458
9080fi 9459fi
@@ -9104,8 +9483,8 @@ _ACEOF
9104 ;; 9483 ;;
9105# SCO UNIX and OEM versions of SCO UNIX 9484# SCO UNIX and OEM versions of SCO UNIX
9106*-*-sco3.2v4*) 9485*-*-sco3.2v4*)
9107 { { echo "$as_me:$LINENO: error: \"This Platform is no longer supported.\"" >&5 9486 { { $as_echo "$as_me:$LINENO: error: \"This Platform is no longer supported.\"" >&5
9108echo "$as_me: error: \"This Platform is no longer supported.\"" >&2;} 9487$as_echo "$as_me: error: \"This Platform is no longer supported.\"" >&2;}
9109 { (exit 1); exit 1; }; } 9488 { (exit 1); exit 1; }; }
9110 ;; 9489 ;;
9111# SCO OpenServer 5.x 9490# SCO OpenServer 5.x
@@ -9159,11 +9538,11 @@ _ACEOF
9159 9538
9160for ac_func in getluid setluid 9539for ac_func in getluid setluid
9161do 9540do
9162as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9541as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9163{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9542{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9164echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9543$as_echo_n "checking for $ac_func... " >&6; }
9165if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9544if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9166 echo $ECHO_N "(cached) $ECHO_C" >&6 9545 $as_echo_n "(cached) " >&6
9167else 9546else
9168 cat >conftest.$ac_ext <<_ACEOF 9547 cat >conftest.$ac_ext <<_ACEOF
9169/* confdefs.h. */ 9548/* confdefs.h. */
@@ -9216,35 +9595,41 @@ case "(($ac_try" in
9216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;; 9596 *) ac_try_echo=$ac_try;;
9218esac 9597esac
9219eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9598eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9599$as_echo "$ac_try_echo") >&5
9220 (eval "$ac_link") 2>conftest.er1 9600 (eval "$ac_link") 2>conftest.er1
9221 ac_status=$? 9601 ac_status=$?
9222 grep -v '^ *+' conftest.er1 >conftest.err 9602 grep -v '^ *+' conftest.er1 >conftest.err
9223 rm -f conftest.er1 9603 rm -f conftest.er1
9224 cat conftest.err >&5 9604 cat conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } && { 9606 (exit $ac_status); } && {
9227 test -z "$ac_c_werror_flag" || 9607 test -z "$ac_c_werror_flag" ||
9228 test ! -s conftest.err 9608 test ! -s conftest.err
9229 } && test -s conftest$ac_exeext && 9609 } && test -s conftest$ac_exeext && {
9230 $as_test_x conftest$ac_exeext; then 9610 test "$cross_compiling" = yes ||
9611 $as_test_x conftest$ac_exeext
9612 }; then
9231 eval "$as_ac_var=yes" 9613 eval "$as_ac_var=yes"
9232else 9614else
9233 echo "$as_me: failed program was:" >&5 9615 $as_echo "$as_me: failed program was:" >&5
9234sed 's/^/| /' conftest.$ac_ext >&5 9616sed 's/^/| /' conftest.$ac_ext >&5
9235 9617
9236 eval "$as_ac_var=no" 9618 eval "$as_ac_var=no"
9237fi 9619fi
9238 9620
9621rm -rf conftest.dSYM
9239rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9622rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9240 conftest$ac_exeext conftest.$ac_ext 9623 conftest$ac_exeext conftest.$ac_ext
9241fi 9624fi
9242ac_res=`eval echo '${'$as_ac_var'}'` 9625ac_res=`eval 'as_val=${'$as_ac_var'}
9243 { echo "$as_me:$LINENO: result: $ac_res" >&5 9626 $as_echo "$as_val"'`
9244echo "${ECHO_T}$ac_res" >&6; } 9627 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9245if test `eval echo '${'$as_ac_var'}'` = yes; then 9628$as_echo "$ac_res" >&6; }
9629if test `eval 'as_val=${'$as_ac_var'}
9630 $as_echo "$as_val"'` = yes; then
9246 cat >>confdefs.h <<_ACEOF 9631 cat >>confdefs.h <<_ACEOF
9247#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9632#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9248_ACEOF 9633_ACEOF
9249 9634
9250fi 9635fi
@@ -9342,16 +9727,16 @@ _ACEOF
9342 MANTYPE=cat 9727 MANTYPE=cat
9343 ;; 9728 ;;
9344*-dec-osf*) 9729*-dec-osf*)
9345 { echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 9730 { $as_echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5
9346echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6; } 9731$as_echo_n "checking for Digital Unix SIA... " >&6; }
9347 no_osfsia="" 9732 no_osfsia=""
9348 9733
9349# Check whether --with-osfsia was given. 9734# Check whether --with-osfsia was given.
9350if test "${with_osfsia+set}" = set; then 9735if test "${with_osfsia+set}" = set; then
9351 withval=$with_osfsia; 9736 withval=$with_osfsia;
9352 if test "x$withval" = "xno" ; then 9737 if test "x$withval" = "xno" ; then
9353 { echo "$as_me:$LINENO: result: disabled" >&5 9738 { $as_echo "$as_me:$LINENO: result: disabled" >&5
9354echo "${ECHO_T}disabled" >&6; } 9739$as_echo "disabled" >&6; }
9355 no_osfsia=1 9740 no_osfsia=1
9356 fi 9741 fi
9357 9742
@@ -9359,8 +9744,8 @@ fi
9359 9744
9360 if test -z "$no_osfsia" ; then 9745 if test -z "$no_osfsia" ; then
9361 if test -f /etc/sia/matrix.conf; then 9746 if test -f /etc/sia/matrix.conf; then
9362 { echo "$as_me:$LINENO: result: yes" >&5 9747 { $as_echo "$as_me:$LINENO: result: yes" >&5
9363echo "${ECHO_T}yes" >&6; } 9748$as_echo "yes" >&6; }
9364 9749
9365cat >>confdefs.h <<\_ACEOF 9750cat >>confdefs.h <<\_ACEOF
9366#define HAVE_OSF_SIA 1 9751#define HAVE_OSF_SIA 1
@@ -9378,8 +9763,8 @@ _ACEOF
9378 LIBS="$LIBS -lsecurity -ldb -lm -laud" 9763 LIBS="$LIBS -lsecurity -ldb -lm -laud"
9379 SIA_MSG="yes" 9764 SIA_MSG="yes"
9380 else 9765 else
9381 { echo "$as_me:$LINENO: result: no" >&5 9766 { $as_echo "$as_me:$LINENO: result: no" >&5
9382echo "${ECHO_T}no" >&6; } 9767$as_echo "no" >&6; }
9383 9768
9384cat >>confdefs.h <<\_ACEOF 9769cat >>confdefs.h <<\_ACEOF
9385#define LOCKED_PASSWD_SUBSTR "Nologin" 9770#define LOCKED_PASSWD_SUBSTR "Nologin"
@@ -9494,11 +9879,11 @@ _ACEOF
9494 ;; 9879 ;;
9495esac 9880esac
9496 9881
9497{ echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 9882{ $as_echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5
9498echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6; } 9883$as_echo_n "checking compiler and flags for sanity... " >&6; }
9499if test "$cross_compiling" = yes; then 9884if test "$cross_compiling" = yes; then
9500 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5 9885 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5
9501echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} 9886$as_echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;}
9502 9887
9503else 9888else
9504 cat >conftest.$ac_ext <<_ACEOF 9889 cat >conftest.$ac_ext <<_ACEOF
@@ -9518,46 +9903,49 @@ case "(($ac_try" in
9518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9519 *) ac_try_echo=$ac_try;; 9904 *) ac_try_echo=$ac_try;;
9520esac 9905esac
9521eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9906eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9907$as_echo "$ac_try_echo") >&5
9522 (eval "$ac_link") 2>&5 9908 (eval "$ac_link") 2>&5
9523 ac_status=$? 9909 ac_status=$?
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9526 { (case "(($ac_try" in 9912 { (case "(($ac_try" in
9527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9528 *) ac_try_echo=$ac_try;; 9914 *) ac_try_echo=$ac_try;;
9529esac 9915esac
9530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9916eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9917$as_echo "$ac_try_echo") >&5
9531 (eval "$ac_try") 2>&5 9918 (eval "$ac_try") 2>&5
9532 ac_status=$? 9919 ac_status=$?
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); }; }; then 9921 (exit $ac_status); }; }; then
9535 { echo "$as_me:$LINENO: result: yes" >&5 9922 { $as_echo "$as_me:$LINENO: result: yes" >&5
9536echo "${ECHO_T}yes" >&6; } 9923$as_echo "yes" >&6; }
9537else 9924else
9538 echo "$as_me: program exited with status $ac_status" >&5 9925 $as_echo "$as_me: program exited with status $ac_status" >&5
9539echo "$as_me: failed program was:" >&5 9926$as_echo "$as_me: failed program was:" >&5
9540sed 's/^/| /' conftest.$ac_ext >&5 9927sed 's/^/| /' conftest.$ac_ext >&5
9541 9928
9542( exit $ac_status ) 9929( exit $ac_status )
9543 9930
9544 { echo "$as_me:$LINENO: result: no" >&5 9931 { $as_echo "$as_me:$LINENO: result: no" >&5
9545echo "${ECHO_T}no" >&6; } 9932$as_echo "no" >&6; }
9546 { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5 9933 { { $as_echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5
9547echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} 9934$as_echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;}
9548 { (exit 1); exit 1; }; } 9935 { (exit 1); exit 1; }; }
9549 9936
9550fi 9937fi
9938rm -rf conftest.dSYM
9551rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9939rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9552fi 9940fi
9553 9941
9554 9942
9555 9943
9556# Checks for libraries. 9944# Checks for libraries.
9557{ echo "$as_me:$LINENO: checking for yp_match" >&5 9945{ $as_echo "$as_me:$LINENO: checking for yp_match" >&5
9558echo $ECHO_N "checking for yp_match... $ECHO_C" >&6; } 9946$as_echo_n "checking for yp_match... " >&6; }
9559if test "${ac_cv_func_yp_match+set}" = set; then 9947if test "${ac_cv_func_yp_match+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6 9948 $as_echo_n "(cached) " >&6
9561else 9949else
9562 cat >conftest.$ac_ext <<_ACEOF 9950 cat >conftest.$ac_ext <<_ACEOF
9563/* confdefs.h. */ 9951/* confdefs.h. */
@@ -9610,39 +9998,43 @@ case "(($ac_try" in
9610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9611 *) ac_try_echo=$ac_try;; 9999 *) ac_try_echo=$ac_try;;
9612esac 10000esac
9613eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10001eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10002$as_echo "$ac_try_echo") >&5
9614 (eval "$ac_link") 2>conftest.er1 10003 (eval "$ac_link") 2>conftest.er1
9615 ac_status=$? 10004 ac_status=$?
9616 grep -v '^ *+' conftest.er1 >conftest.err 10005 grep -v '^ *+' conftest.er1 >conftest.err
9617 rm -f conftest.er1 10006 rm -f conftest.er1
9618 cat conftest.err >&5 10007 cat conftest.err >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } && { 10009 (exit $ac_status); } && {
9621 test -z "$ac_c_werror_flag" || 10010 test -z "$ac_c_werror_flag" ||
9622 test ! -s conftest.err 10011 test ! -s conftest.err
9623 } && test -s conftest$ac_exeext && 10012 } && test -s conftest$ac_exeext && {
9624 $as_test_x conftest$ac_exeext; then 10013 test "$cross_compiling" = yes ||
10014 $as_test_x conftest$ac_exeext
10015 }; then
9625 ac_cv_func_yp_match=yes 10016 ac_cv_func_yp_match=yes
9626else 10017else
9627 echo "$as_me: failed program was:" >&5 10018 $as_echo "$as_me: failed program was:" >&5
9628sed 's/^/| /' conftest.$ac_ext >&5 10019sed 's/^/| /' conftest.$ac_ext >&5
9629 10020
9630 ac_cv_func_yp_match=no 10021 ac_cv_func_yp_match=no
9631fi 10022fi
9632 10023
10024rm -rf conftest.dSYM
9633rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10025rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9634 conftest$ac_exeext conftest.$ac_ext 10026 conftest$ac_exeext conftest.$ac_ext
9635fi 10027fi
9636{ echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5 10028{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5
9637echo "${ECHO_T}$ac_cv_func_yp_match" >&6; } 10029$as_echo "$ac_cv_func_yp_match" >&6; }
9638if test $ac_cv_func_yp_match = yes; then 10030if test $ac_cv_func_yp_match = yes; then
9639 : 10031 :
9640else 10032else
9641 10033
9642{ echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5 10034{ $as_echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
9643echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6; } 10035$as_echo_n "checking for yp_match in -lnsl... " >&6; }
9644if test "${ac_cv_lib_nsl_yp_match+set}" = set; then 10036if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
9645 echo $ECHO_N "(cached) $ECHO_C" >&6 10037 $as_echo_n "(cached) " >&6
9646else 10038else
9647 ac_check_lib_save_LIBS=$LIBS 10039 ac_check_lib_save_LIBS=$LIBS
9648LIBS="-lnsl $LIBS" 10040LIBS="-lnsl $LIBS"
@@ -9674,32 +10066,36 @@ case "(($ac_try" in
9674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9675 *) ac_try_echo=$ac_try;; 10067 *) ac_try_echo=$ac_try;;
9676esac 10068esac
9677eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10069eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10070$as_echo "$ac_try_echo") >&5
9678 (eval "$ac_link") 2>conftest.er1 10071 (eval "$ac_link") 2>conftest.er1
9679 ac_status=$? 10072 ac_status=$?
9680 grep -v '^ *+' conftest.er1 >conftest.err 10073 grep -v '^ *+' conftest.er1 >conftest.err
9681 rm -f conftest.er1 10074 rm -f conftest.er1
9682 cat conftest.err >&5 10075 cat conftest.err >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); } && { 10077 (exit $ac_status); } && {
9685 test -z "$ac_c_werror_flag" || 10078 test -z "$ac_c_werror_flag" ||
9686 test ! -s conftest.err 10079 test ! -s conftest.err
9687 } && test -s conftest$ac_exeext && 10080 } && test -s conftest$ac_exeext && {
9688 $as_test_x conftest$ac_exeext; then 10081 test "$cross_compiling" = yes ||
10082 $as_test_x conftest$ac_exeext
10083 }; then
9689 ac_cv_lib_nsl_yp_match=yes 10084 ac_cv_lib_nsl_yp_match=yes
9690else 10085else
9691 echo "$as_me: failed program was:" >&5 10086 $as_echo "$as_me: failed program was:" >&5
9692sed 's/^/| /' conftest.$ac_ext >&5 10087sed 's/^/| /' conftest.$ac_ext >&5
9693 10088
9694 ac_cv_lib_nsl_yp_match=no 10089 ac_cv_lib_nsl_yp_match=no
9695fi 10090fi
9696 10091
10092rm -rf conftest.dSYM
9697rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10093rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9698 conftest$ac_exeext conftest.$ac_ext 10094 conftest$ac_exeext conftest.$ac_ext
9699LIBS=$ac_check_lib_save_LIBS 10095LIBS=$ac_check_lib_save_LIBS
9700fi 10096fi
9701{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5 10097{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
9702echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6; } 10098$as_echo "$ac_cv_lib_nsl_yp_match" >&6; }
9703if test $ac_cv_lib_nsl_yp_match = yes; then 10099if test $ac_cv_lib_nsl_yp_match = yes; then
9704 cat >>confdefs.h <<_ACEOF 10100 cat >>confdefs.h <<_ACEOF
9705#define HAVE_LIBNSL 1 10101#define HAVE_LIBNSL 1
@@ -9711,10 +10107,10 @@ fi
9711 10107
9712fi 10108fi
9713 10109
9714{ echo "$as_me:$LINENO: checking for setsockopt" >&5 10110{ $as_echo "$as_me:$LINENO: checking for setsockopt" >&5
9715echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; } 10111$as_echo_n "checking for setsockopt... " >&6; }
9716if test "${ac_cv_func_setsockopt+set}" = set; then 10112if test "${ac_cv_func_setsockopt+set}" = set; then
9717 echo $ECHO_N "(cached) $ECHO_C" >&6 10113 $as_echo_n "(cached) " >&6
9718else 10114else
9719 cat >conftest.$ac_ext <<_ACEOF 10115 cat >conftest.$ac_ext <<_ACEOF
9720/* confdefs.h. */ 10116/* confdefs.h. */
@@ -9767,39 +10163,43 @@ case "(($ac_try" in
9767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9768 *) ac_try_echo=$ac_try;; 10164 *) ac_try_echo=$ac_try;;
9769esac 10165esac
9770eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10166eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10167$as_echo "$ac_try_echo") >&5
9771 (eval "$ac_link") 2>conftest.er1 10168 (eval "$ac_link") 2>conftest.er1
9772 ac_status=$? 10169 ac_status=$?
9773 grep -v '^ *+' conftest.er1 >conftest.err 10170 grep -v '^ *+' conftest.er1 >conftest.err
9774 rm -f conftest.er1 10171 rm -f conftest.er1
9775 cat conftest.err >&5 10172 cat conftest.err >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); } && { 10174 (exit $ac_status); } && {
9778 test -z "$ac_c_werror_flag" || 10175 test -z "$ac_c_werror_flag" ||
9779 test ! -s conftest.err 10176 test ! -s conftest.err
9780 } && test -s conftest$ac_exeext && 10177 } && test -s conftest$ac_exeext && {
9781 $as_test_x conftest$ac_exeext; then 10178 test "$cross_compiling" = yes ||
10179 $as_test_x conftest$ac_exeext
10180 }; then
9782 ac_cv_func_setsockopt=yes 10181 ac_cv_func_setsockopt=yes
9783else 10182else
9784 echo "$as_me: failed program was:" >&5 10183 $as_echo "$as_me: failed program was:" >&5
9785sed 's/^/| /' conftest.$ac_ext >&5 10184sed 's/^/| /' conftest.$ac_ext >&5
9786 10185
9787 ac_cv_func_setsockopt=no 10186 ac_cv_func_setsockopt=no
9788fi 10187fi
9789 10188
10189rm -rf conftest.dSYM
9790rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10190rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9791 conftest$ac_exeext conftest.$ac_ext 10191 conftest$ac_exeext conftest.$ac_ext
9792fi 10192fi
9793{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 10193{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
9794echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; } 10194$as_echo "$ac_cv_func_setsockopt" >&6; }
9795if test $ac_cv_func_setsockopt = yes; then 10195if test $ac_cv_func_setsockopt = yes; then
9796 : 10196 :
9797else 10197else
9798 10198
9799{ echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 10199{ $as_echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
9800echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; } 10200$as_echo_n "checking for setsockopt in -lsocket... " >&6; }
9801if test "${ac_cv_lib_socket_setsockopt+set}" = set; then 10201if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6 10202 $as_echo_n "(cached) " >&6
9803else 10203else
9804 ac_check_lib_save_LIBS=$LIBS 10204 ac_check_lib_save_LIBS=$LIBS
9805LIBS="-lsocket $LIBS" 10205LIBS="-lsocket $LIBS"
@@ -9831,32 +10231,36 @@ case "(($ac_try" in
9831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9832 *) ac_try_echo=$ac_try;; 10232 *) ac_try_echo=$ac_try;;
9833esac 10233esac
9834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10234eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10235$as_echo "$ac_try_echo") >&5
9835 (eval "$ac_link") 2>conftest.er1 10236 (eval "$ac_link") 2>conftest.er1
9836 ac_status=$? 10237 ac_status=$?
9837 grep -v '^ *+' conftest.er1 >conftest.err 10238 grep -v '^ *+' conftest.er1 >conftest.err
9838 rm -f conftest.er1 10239 rm -f conftest.er1
9839 cat conftest.err >&5 10240 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && { 10242 (exit $ac_status); } && {
9842 test -z "$ac_c_werror_flag" || 10243 test -z "$ac_c_werror_flag" ||
9843 test ! -s conftest.err 10244 test ! -s conftest.err
9844 } && test -s conftest$ac_exeext && 10245 } && test -s conftest$ac_exeext && {
9845 $as_test_x conftest$ac_exeext; then 10246 test "$cross_compiling" = yes ||
10247 $as_test_x conftest$ac_exeext
10248 }; then
9846 ac_cv_lib_socket_setsockopt=yes 10249 ac_cv_lib_socket_setsockopt=yes
9847else 10250else
9848 echo "$as_me: failed program was:" >&5 10251 $as_echo "$as_me: failed program was:" >&5
9849sed 's/^/| /' conftest.$ac_ext >&5 10252sed 's/^/| /' conftest.$ac_ext >&5
9850 10253
9851 ac_cv_lib_socket_setsockopt=no 10254 ac_cv_lib_socket_setsockopt=no
9852fi 10255fi
9853 10256
10257rm -rf conftest.dSYM
9854rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10258rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9855 conftest$ac_exeext conftest.$ac_ext 10259 conftest$ac_exeext conftest.$ac_ext
9856LIBS=$ac_check_lib_save_LIBS 10260LIBS=$ac_check_lib_save_LIBS
9857fi 10261fi
9858{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 10262{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
9859echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; } 10263$as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
9860if test $ac_cv_lib_socket_setsockopt = yes; then 10264if test $ac_cv_lib_socket_setsockopt = yes; then
9861 cat >>confdefs.h <<_ACEOF 10265 cat >>confdefs.h <<_ACEOF
9862#define HAVE_LIBSOCKET 1 10266#define HAVE_LIBSOCKET 1
@@ -9872,11 +10276,11 @@ fi
9872 10276
9873for ac_func in dirname 10277for ac_func in dirname
9874do 10278do
9875as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10279as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9876{ echo "$as_me:$LINENO: checking for $ac_func" >&5 10280{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9877echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10281$as_echo_n "checking for $ac_func... " >&6; }
9878if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10282if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9879 echo $ECHO_N "(cached) $ECHO_C" >&6 10283 $as_echo_n "(cached) " >&6
9880else 10284else
9881 cat >conftest.$ac_ext <<_ACEOF 10285 cat >conftest.$ac_ext <<_ACEOF
9882/* confdefs.h. */ 10286/* confdefs.h. */
@@ -9929,53 +10333,60 @@ case "(($ac_try" in
9929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9930 *) ac_try_echo=$ac_try;; 10334 *) ac_try_echo=$ac_try;;
9931esac 10335esac
9932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10337$as_echo "$ac_try_echo") >&5
9933 (eval "$ac_link") 2>conftest.er1 10338 (eval "$ac_link") 2>conftest.er1
9934 ac_status=$? 10339 ac_status=$?
9935 grep -v '^ *+' conftest.er1 >conftest.err 10340 grep -v '^ *+' conftest.er1 >conftest.err
9936 rm -f conftest.er1 10341 rm -f conftest.er1
9937 cat conftest.err >&5 10342 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && { 10344 (exit $ac_status); } && {
9940 test -z "$ac_c_werror_flag" || 10345 test -z "$ac_c_werror_flag" ||
9941 test ! -s conftest.err 10346 test ! -s conftest.err
9942 } && test -s conftest$ac_exeext && 10347 } && test -s conftest$ac_exeext && {
9943 $as_test_x conftest$ac_exeext; then 10348 test "$cross_compiling" = yes ||
10349 $as_test_x conftest$ac_exeext
10350 }; then
9944 eval "$as_ac_var=yes" 10351 eval "$as_ac_var=yes"
9945else 10352else
9946 echo "$as_me: failed program was:" >&5 10353 $as_echo "$as_me: failed program was:" >&5
9947sed 's/^/| /' conftest.$ac_ext >&5 10354sed 's/^/| /' conftest.$ac_ext >&5
9948 10355
9949 eval "$as_ac_var=no" 10356 eval "$as_ac_var=no"
9950fi 10357fi
9951 10358
10359rm -rf conftest.dSYM
9952rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10360rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9953 conftest$ac_exeext conftest.$ac_ext 10361 conftest$ac_exeext conftest.$ac_ext
9954fi 10362fi
9955ac_res=`eval echo '${'$as_ac_var'}'` 10363ac_res=`eval 'as_val=${'$as_ac_var'}
9956 { echo "$as_me:$LINENO: result: $ac_res" >&5 10364 $as_echo "$as_val"'`
9957echo "${ECHO_T}$ac_res" >&6; } 10365 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9958if test `eval echo '${'$as_ac_var'}'` = yes; then 10366$as_echo "$ac_res" >&6; }
10367if test `eval 'as_val=${'$as_ac_var'}
10368 $as_echo "$as_val"'` = yes; then
9959 cat >>confdefs.h <<_ACEOF 10369 cat >>confdefs.h <<_ACEOF
9960#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10370#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9961_ACEOF 10371_ACEOF
9962 10372
9963for ac_header in libgen.h 10373for ac_header in libgen.h
9964do 10374do
9965as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10375as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9966if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10376if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9967 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10377 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9968echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10378$as_echo_n "checking for $ac_header... " >&6; }
9969if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10379if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9970 echo $ECHO_N "(cached) $ECHO_C" >&6 10380 $as_echo_n "(cached) " >&6
9971fi 10381fi
9972ac_res=`eval echo '${'$as_ac_Header'}'` 10382ac_res=`eval 'as_val=${'$as_ac_Header'}
9973 { echo "$as_me:$LINENO: result: $ac_res" >&5 10383 $as_echo "$as_val"'`
9974echo "${ECHO_T}$ac_res" >&6; } 10384 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10385$as_echo "$ac_res" >&6; }
9975else 10386else
9976 # Is the header compilable? 10387 # Is the header compilable?
9977{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 10388{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9978echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 10389$as_echo_n "checking $ac_header usability... " >&6; }
9979cat >conftest.$ac_ext <<_ACEOF 10390cat >conftest.$ac_ext <<_ACEOF
9980/* confdefs.h. */ 10391/* confdefs.h. */
9981_ACEOF 10392_ACEOF
@@ -9991,32 +10402,33 @@ case "(($ac_try" in
9991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9992 *) ac_try_echo=$ac_try;; 10403 *) ac_try_echo=$ac_try;;
9993esac 10404esac
9994eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10405eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10406$as_echo "$ac_try_echo") >&5
9995 (eval "$ac_compile") 2>conftest.er1 10407 (eval "$ac_compile") 2>conftest.er1
9996 ac_status=$? 10408 ac_status=$?
9997 grep -v '^ *+' conftest.er1 >conftest.err 10409 grep -v '^ *+' conftest.er1 >conftest.err
9998 rm -f conftest.er1 10410 rm -f conftest.er1
9999 cat conftest.err >&5 10411 cat conftest.err >&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); } && { 10413 (exit $ac_status); } && {
10002 test -z "$ac_c_werror_flag" || 10414 test -z "$ac_c_werror_flag" ||
10003 test ! -s conftest.err 10415 test ! -s conftest.err
10004 } && test -s conftest.$ac_objext; then 10416 } && test -s conftest.$ac_objext; then
10005 ac_header_compiler=yes 10417 ac_header_compiler=yes
10006else 10418else
10007 echo "$as_me: failed program was:" >&5 10419 $as_echo "$as_me: failed program was:" >&5
10008sed 's/^/| /' conftest.$ac_ext >&5 10420sed 's/^/| /' conftest.$ac_ext >&5
10009 10421
10010 ac_header_compiler=no 10422 ac_header_compiler=no
10011fi 10423fi
10012 10424
10013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10014{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10426{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10015echo "${ECHO_T}$ac_header_compiler" >&6; } 10427$as_echo "$ac_header_compiler" >&6; }
10016 10428
10017# Is the header present? 10429# Is the header present?
10018{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 10430{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10019echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 10431$as_echo_n "checking $ac_header presence... " >&6; }
10020cat >conftest.$ac_ext <<_ACEOF 10432cat >conftest.$ac_ext <<_ACEOF
10021/* confdefs.h. */ 10433/* confdefs.h. */
10022_ACEOF 10434_ACEOF
@@ -10030,51 +10442,52 @@ case "(($ac_try" in
10030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10031 *) ac_try_echo=$ac_try;; 10443 *) ac_try_echo=$ac_try;;
10032esac 10444esac
10033eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10445eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10446$as_echo "$ac_try_echo") >&5
10034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10035 ac_status=$? 10448 ac_status=$?
10036 grep -v '^ *+' conftest.er1 >conftest.err 10449 grep -v '^ *+' conftest.er1 >conftest.err
10037 rm -f conftest.er1 10450 rm -f conftest.er1
10038 cat conftest.err >&5 10451 cat conftest.err >&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } >/dev/null && { 10453 (exit $ac_status); } >/dev/null && {
10041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10454 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10042 test ! -s conftest.err 10455 test ! -s conftest.err
10043 }; then 10456 }; then
10044 ac_header_preproc=yes 10457 ac_header_preproc=yes
10045else 10458else
10046 echo "$as_me: failed program was:" >&5 10459 $as_echo "$as_me: failed program was:" >&5
10047sed 's/^/| /' conftest.$ac_ext >&5 10460sed 's/^/| /' conftest.$ac_ext >&5
10048 10461
10049 ac_header_preproc=no 10462 ac_header_preproc=no
10050fi 10463fi
10051 10464
10052rm -f conftest.err conftest.$ac_ext 10465rm -f conftest.err conftest.$ac_ext
10053{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10466{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10054echo "${ECHO_T}$ac_header_preproc" >&6; } 10467$as_echo "$ac_header_preproc" >&6; }
10055 10468
10056# So? What about this header? 10469# So? What about this header?
10057case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10470case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10058 yes:no: ) 10471 yes:no: )
10059 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10060echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10473$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10062echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10475$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10063 ac_header_preproc=yes 10476 ac_header_preproc=yes
10064 ;; 10477 ;;
10065 no:yes:* ) 10478 no:yes:* )
10066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10479 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10067echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10480$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10481 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10069echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10482$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10070 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10483 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10071echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10484$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10072 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10485 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10073echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10486$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10075echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10488$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10076 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10077echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10490$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10078 ( cat <<\_ASBOX 10491 ( cat <<\_ASBOX
10079## ------------------------------------------- ## 10492## ------------------------------------------- ##
10080## Report this to openssh-unix-dev@mindrot.org ## 10493## Report this to openssh-unix-dev@mindrot.org ##
@@ -10083,21 +10496,23 @@ _ASBOX
10083 ) | sed "s/^/$as_me: WARNING: /" >&2 10496 ) | sed "s/^/$as_me: WARNING: /" >&2
10084 ;; 10497 ;;
10085esac 10498esac
10086{ echo "$as_me:$LINENO: checking for $ac_header" >&5 10499{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10087echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10500$as_echo_n "checking for $ac_header... " >&6; }
10088if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10501if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6 10502 $as_echo_n "(cached) " >&6
10090else 10503else
10091 eval "$as_ac_Header=\$ac_header_preproc" 10504 eval "$as_ac_Header=\$ac_header_preproc"
10092fi 10505fi
10093ac_res=`eval echo '${'$as_ac_Header'}'` 10506ac_res=`eval 'as_val=${'$as_ac_Header'}
10094 { echo "$as_me:$LINENO: result: $ac_res" >&5 10507 $as_echo "$as_val"'`
10095echo "${ECHO_T}$ac_res" >&6; } 10508 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10509$as_echo "$ac_res" >&6; }
10096 10510
10097fi 10511fi
10098if test `eval echo '${'$as_ac_Header'}'` = yes; then 10512if test `eval 'as_val=${'$as_ac_Header'}
10513 $as_echo "$as_val"'` = yes; then
10099 cat >>confdefs.h <<_ACEOF 10514 cat >>confdefs.h <<_ACEOF
10100#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10515#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10101_ACEOF 10516_ACEOF
10102 10517
10103fi 10518fi
@@ -10106,10 +10521,10 @@ done
10106 10521
10107else 10522else
10108 10523
10109 { echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 10524 { $as_echo "$as_me:$LINENO: checking for dirname in -lgen" >&5
10110echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6; } 10525$as_echo_n "checking for dirname in -lgen... " >&6; }
10111if test "${ac_cv_lib_gen_dirname+set}" = set; then 10526if test "${ac_cv_lib_gen_dirname+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6 10527 $as_echo_n "(cached) " >&6
10113else 10528else
10114 ac_check_lib_save_LIBS=$LIBS 10529 ac_check_lib_save_LIBS=$LIBS
10115LIBS="-lgen $LIBS" 10530LIBS="-lgen $LIBS"
@@ -10141,38 +10556,42 @@ case "(($ac_try" in
10141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10142 *) ac_try_echo=$ac_try;; 10557 *) ac_try_echo=$ac_try;;
10143esac 10558esac
10144eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10560$as_echo "$ac_try_echo") >&5
10145 (eval "$ac_link") 2>conftest.er1 10561 (eval "$ac_link") 2>conftest.er1
10146 ac_status=$? 10562 ac_status=$?
10147 grep -v '^ *+' conftest.er1 >conftest.err 10563 grep -v '^ *+' conftest.er1 >conftest.err
10148 rm -f conftest.er1 10564 rm -f conftest.er1
10149 cat conftest.err >&5 10565 cat conftest.err >&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); } && { 10567 (exit $ac_status); } && {
10152 test -z "$ac_c_werror_flag" || 10568 test -z "$ac_c_werror_flag" ||
10153 test ! -s conftest.err 10569 test ! -s conftest.err
10154 } && test -s conftest$ac_exeext && 10570 } && test -s conftest$ac_exeext && {
10155 $as_test_x conftest$ac_exeext; then 10571 test "$cross_compiling" = yes ||
10572 $as_test_x conftest$ac_exeext
10573 }; then
10156 ac_cv_lib_gen_dirname=yes 10574 ac_cv_lib_gen_dirname=yes
10157else 10575else
10158 echo "$as_me: failed program was:" >&5 10576 $as_echo "$as_me: failed program was:" >&5
10159sed 's/^/| /' conftest.$ac_ext >&5 10577sed 's/^/| /' conftest.$ac_ext >&5
10160 10578
10161 ac_cv_lib_gen_dirname=no 10579 ac_cv_lib_gen_dirname=no
10162fi 10580fi
10163 10581
10582rm -rf conftest.dSYM
10164rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10583rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10165 conftest$ac_exeext conftest.$ac_ext 10584 conftest$ac_exeext conftest.$ac_ext
10166LIBS=$ac_check_lib_save_LIBS 10585LIBS=$ac_check_lib_save_LIBS
10167fi 10586fi
10168{ echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 10587{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5
10169echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6; } 10588$as_echo "$ac_cv_lib_gen_dirname" >&6; }
10170if test $ac_cv_lib_gen_dirname = yes; then 10589if test $ac_cv_lib_gen_dirname = yes; then
10171 10590
10172 { echo "$as_me:$LINENO: checking for broken dirname" >&5 10591 { $as_echo "$as_me:$LINENO: checking for broken dirname" >&5
10173echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6; } 10592$as_echo_n "checking for broken dirname... " >&6; }
10174if test "${ac_cv_have_broken_dirname+set}" = set; then 10593if test "${ac_cv_have_broken_dirname+set}" = set; then
10175 echo $ECHO_N "(cached) $ECHO_C" >&6 10594 $as_echo_n "(cached) " >&6
10176else 10595else
10177 10596
10178 save_LIBS="$LIBS" 10597 save_LIBS="$LIBS"
@@ -10209,29 +10628,32 @@ case "(($ac_try" in
10209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10210 *) ac_try_echo=$ac_try;; 10629 *) ac_try_echo=$ac_try;;
10211esac 10630esac
10212eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10631eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10632$as_echo "$ac_try_echo") >&5
10213 (eval "$ac_link") 2>&5 10633 (eval "$ac_link") 2>&5
10214 ac_status=$? 10634 ac_status=$?
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10217 { (case "(($ac_try" in 10637 { (case "(($ac_try" in
10218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10219 *) ac_try_echo=$ac_try;; 10639 *) ac_try_echo=$ac_try;;
10220esac 10640esac
10221eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10642$as_echo "$ac_try_echo") >&5
10222 (eval "$ac_try") 2>&5 10643 (eval "$ac_try") 2>&5
10223 ac_status=$? 10644 ac_status=$?
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; }; then 10646 (exit $ac_status); }; }; then
10226 ac_cv_have_broken_dirname="no" 10647 ac_cv_have_broken_dirname="no"
10227else 10648else
10228 echo "$as_me: program exited with status $ac_status" >&5 10649 $as_echo "$as_me: program exited with status $ac_status" >&5
10229echo "$as_me: failed program was:" >&5 10650$as_echo "$as_me: failed program was:" >&5
10230sed 's/^/| /' conftest.$ac_ext >&5 10651sed 's/^/| /' conftest.$ac_ext >&5
10231 10652
10232( exit $ac_status ) 10653( exit $ac_status )
10233 ac_cv_have_broken_dirname="yes" 10654 ac_cv_have_broken_dirname="yes"
10234fi 10655fi
10656rm -rf conftest.dSYM
10235rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10657rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10236fi 10658fi
10237 10659
@@ -10239,8 +10661,8 @@ fi
10239 LIBS="$save_LIBS" 10661 LIBS="$save_LIBS"
10240 10662
10241fi 10663fi
10242{ echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5 10664{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5
10243echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6; } 10665$as_echo "$ac_cv_have_broken_dirname" >&6; }
10244 if test "x$ac_cv_have_broken_dirname" = "xno" ; then 10666 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
10245 LIBS="$LIBS -lgen" 10667 LIBS="$LIBS -lgen"
10246 cat >>confdefs.h <<\_ACEOF 10668 cat >>confdefs.h <<\_ACEOF
@@ -10250,20 +10672,21 @@ _ACEOF
10250 10672
10251for ac_header in libgen.h 10673for ac_header in libgen.h
10252do 10674do
10253as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10675as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10254if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10676if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10255 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10677 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10256echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10678$as_echo_n "checking for $ac_header... " >&6; }
10257if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10679if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6 10680 $as_echo_n "(cached) " >&6
10259fi 10681fi
10260ac_res=`eval echo '${'$as_ac_Header'}'` 10682ac_res=`eval 'as_val=${'$as_ac_Header'}
10261 { echo "$as_me:$LINENO: result: $ac_res" >&5 10683 $as_echo "$as_val"'`
10262echo "${ECHO_T}$ac_res" >&6; } 10684 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10685$as_echo "$ac_res" >&6; }
10263else 10686else
10264 # Is the header compilable? 10687 # Is the header compilable?
10265{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 10688{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10266echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 10689$as_echo_n "checking $ac_header usability... " >&6; }
10267cat >conftest.$ac_ext <<_ACEOF 10690cat >conftest.$ac_ext <<_ACEOF
10268/* confdefs.h. */ 10691/* confdefs.h. */
10269_ACEOF 10692_ACEOF
@@ -10279,32 +10702,33 @@ case "(($ac_try" in
10279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10280 *) ac_try_echo=$ac_try;; 10703 *) ac_try_echo=$ac_try;;
10281esac 10704esac
10282eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10705eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10706$as_echo "$ac_try_echo") >&5
10283 (eval "$ac_compile") 2>conftest.er1 10707 (eval "$ac_compile") 2>conftest.er1
10284 ac_status=$? 10708 ac_status=$?
10285 grep -v '^ *+' conftest.er1 >conftest.err 10709 grep -v '^ *+' conftest.er1 >conftest.err
10286 rm -f conftest.er1 10710 rm -f conftest.er1
10287 cat conftest.err >&5 10711 cat conftest.err >&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } && { 10713 (exit $ac_status); } && {
10290 test -z "$ac_c_werror_flag" || 10714 test -z "$ac_c_werror_flag" ||
10291 test ! -s conftest.err 10715 test ! -s conftest.err
10292 } && test -s conftest.$ac_objext; then 10716 } && test -s conftest.$ac_objext; then
10293 ac_header_compiler=yes 10717 ac_header_compiler=yes
10294else 10718else
10295 echo "$as_me: failed program was:" >&5 10719 $as_echo "$as_me: failed program was:" >&5
10296sed 's/^/| /' conftest.$ac_ext >&5 10720sed 's/^/| /' conftest.$ac_ext >&5
10297 10721
10298 ac_header_compiler=no 10722 ac_header_compiler=no
10299fi 10723fi
10300 10724
10301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10302{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10726{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10303echo "${ECHO_T}$ac_header_compiler" >&6; } 10727$as_echo "$ac_header_compiler" >&6; }
10304 10728
10305# Is the header present? 10729# Is the header present?
10306{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 10730{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10307echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 10731$as_echo_n "checking $ac_header presence... " >&6; }
10308cat >conftest.$ac_ext <<_ACEOF 10732cat >conftest.$ac_ext <<_ACEOF
10309/* confdefs.h. */ 10733/* confdefs.h. */
10310_ACEOF 10734_ACEOF
@@ -10318,51 +10742,52 @@ case "(($ac_try" in
10318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10319 *) ac_try_echo=$ac_try;; 10743 *) ac_try_echo=$ac_try;;
10320esac 10744esac
10321eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10746$as_echo "$ac_try_echo") >&5
10322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10323 ac_status=$? 10748 ac_status=$?
10324 grep -v '^ *+' conftest.er1 >conftest.err 10749 grep -v '^ *+' conftest.er1 >conftest.err
10325 rm -f conftest.er1 10750 rm -f conftest.er1
10326 cat conftest.err >&5 10751 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } >/dev/null && { 10753 (exit $ac_status); } >/dev/null && {
10329 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10330 test ! -s conftest.err 10755 test ! -s conftest.err
10331 }; then 10756 }; then
10332 ac_header_preproc=yes 10757 ac_header_preproc=yes
10333else 10758else
10334 echo "$as_me: failed program was:" >&5 10759 $as_echo "$as_me: failed program was:" >&5
10335sed 's/^/| /' conftest.$ac_ext >&5 10760sed 's/^/| /' conftest.$ac_ext >&5
10336 10761
10337 ac_header_preproc=no 10762 ac_header_preproc=no
10338fi 10763fi
10339 10764
10340rm -f conftest.err conftest.$ac_ext 10765rm -f conftest.err conftest.$ac_ext
10341{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10766{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10342echo "${ECHO_T}$ac_header_preproc" >&6; } 10767$as_echo "$ac_header_preproc" >&6; }
10343 10768
10344# So? What about this header? 10769# So? What about this header?
10345case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10770case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10346 yes:no: ) 10771 yes:no: )
10347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10348echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10773$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10350echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10775$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10351 ac_header_preproc=yes 10776 ac_header_preproc=yes
10352 ;; 10777 ;;
10353 no:yes:* ) 10778 no:yes:* )
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10355echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10780$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10357echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10782$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10359echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10784$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10361echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10786$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10363echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10788$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10365echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10790$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10366 ( cat <<\_ASBOX 10791 ( cat <<\_ASBOX
10367## ------------------------------------------- ## 10792## ------------------------------------------- ##
10368## Report this to openssh-unix-dev@mindrot.org ## 10793## Report this to openssh-unix-dev@mindrot.org ##
@@ -10371,21 +10796,23 @@ _ASBOX
10371 ) | sed "s/^/$as_me: WARNING: /" >&2 10796 ) | sed "s/^/$as_me: WARNING: /" >&2
10372 ;; 10797 ;;
10373esac 10798esac
10374{ echo "$as_me:$LINENO: checking for $ac_header" >&5 10799{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10375echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10800$as_echo_n "checking for $ac_header... " >&6; }
10376if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10801if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6 10802 $as_echo_n "(cached) " >&6
10378else 10803else
10379 eval "$as_ac_Header=\$ac_header_preproc" 10804 eval "$as_ac_Header=\$ac_header_preproc"
10380fi 10805fi
10381ac_res=`eval echo '${'$as_ac_Header'}'` 10806ac_res=`eval 'as_val=${'$as_ac_Header'}
10382 { echo "$as_me:$LINENO: result: $ac_res" >&5 10807 $as_echo "$as_val"'`
10383echo "${ECHO_T}$ac_res" >&6; } 10808 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10809$as_echo "$ac_res" >&6; }
10384 10810
10385fi 10811fi
10386if test `eval echo '${'$as_ac_Header'}'` = yes; then 10812if test `eval 'as_val=${'$as_ac_Header'}
10813 $as_echo "$as_val"'` = yes; then
10387 cat >>confdefs.h <<_ACEOF 10814 cat >>confdefs.h <<_ACEOF
10388#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10815#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10389_ACEOF 10816_ACEOF
10390 10817
10391fi 10818fi
@@ -10401,10 +10828,10 @@ fi
10401done 10828done
10402 10829
10403 10830
10404{ echo "$as_me:$LINENO: checking for getspnam" >&5 10831{ $as_echo "$as_me:$LINENO: checking for getspnam" >&5
10405echo $ECHO_N "checking for getspnam... $ECHO_C" >&6; } 10832$as_echo_n "checking for getspnam... " >&6; }
10406if test "${ac_cv_func_getspnam+set}" = set; then 10833if test "${ac_cv_func_getspnam+set}" = set; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6 10834 $as_echo_n "(cached) " >&6
10408else 10835else
10409 cat >conftest.$ac_ext <<_ACEOF 10836 cat >conftest.$ac_ext <<_ACEOF
10410/* confdefs.h. */ 10837/* confdefs.h. */
@@ -10457,38 +10884,42 @@ case "(($ac_try" in
10457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10458 *) ac_try_echo=$ac_try;; 10885 *) ac_try_echo=$ac_try;;
10459esac 10886esac
10460eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10887eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10888$as_echo "$ac_try_echo") >&5
10461 (eval "$ac_link") 2>conftest.er1 10889 (eval "$ac_link") 2>conftest.er1
10462 ac_status=$? 10890 ac_status=$?
10463 grep -v '^ *+' conftest.er1 >conftest.err 10891 grep -v '^ *+' conftest.er1 >conftest.err
10464 rm -f conftest.er1 10892 rm -f conftest.er1
10465 cat conftest.err >&5 10893 cat conftest.err >&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } && { 10895 (exit $ac_status); } && {
10468 test -z "$ac_c_werror_flag" || 10896 test -z "$ac_c_werror_flag" ||
10469 test ! -s conftest.err 10897 test ! -s conftest.err
10470 } && test -s conftest$ac_exeext && 10898 } && test -s conftest$ac_exeext && {
10471 $as_test_x conftest$ac_exeext; then 10899 test "$cross_compiling" = yes ||
10900 $as_test_x conftest$ac_exeext
10901 }; then
10472 ac_cv_func_getspnam=yes 10902 ac_cv_func_getspnam=yes
10473else 10903else
10474 echo "$as_me: failed program was:" >&5 10904 $as_echo "$as_me: failed program was:" >&5
10475sed 's/^/| /' conftest.$ac_ext >&5 10905sed 's/^/| /' conftest.$ac_ext >&5
10476 10906
10477 ac_cv_func_getspnam=no 10907 ac_cv_func_getspnam=no
10478fi 10908fi
10479 10909
10910rm -rf conftest.dSYM
10480rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10911rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10481 conftest$ac_exeext conftest.$ac_ext 10912 conftest$ac_exeext conftest.$ac_ext
10482fi 10913fi
10483{ echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 10914{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
10484echo "${ECHO_T}$ac_cv_func_getspnam" >&6; } 10915$as_echo "$ac_cv_func_getspnam" >&6; }
10485if test $ac_cv_func_getspnam = yes; then 10916if test $ac_cv_func_getspnam = yes; then
10486 : 10917 :
10487else 10918else
10488 { echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 10919 { $as_echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
10489echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6; } 10920$as_echo_n "checking for getspnam in -lgen... " >&6; }
10490if test "${ac_cv_lib_gen_getspnam+set}" = set; then 10921if test "${ac_cv_lib_gen_getspnam+set}" = set; then
10491 echo $ECHO_N "(cached) $ECHO_C" >&6 10922 $as_echo_n "(cached) " >&6
10492else 10923else
10493 ac_check_lib_save_LIBS=$LIBS 10924 ac_check_lib_save_LIBS=$LIBS
10494LIBS="-lgen $LIBS" 10925LIBS="-lgen $LIBS"
@@ -10520,42 +10951,46 @@ case "(($ac_try" in
10520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10521 *) ac_try_echo=$ac_try;; 10952 *) ac_try_echo=$ac_try;;
10522esac 10953esac
10523eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10955$as_echo "$ac_try_echo") >&5
10524 (eval "$ac_link") 2>conftest.er1 10956 (eval "$ac_link") 2>conftest.er1
10525 ac_status=$? 10957 ac_status=$?
10526 grep -v '^ *+' conftest.er1 >conftest.err 10958 grep -v '^ *+' conftest.er1 >conftest.err
10527 rm -f conftest.er1 10959 rm -f conftest.er1
10528 cat conftest.err >&5 10960 cat conftest.err >&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); } && { 10962 (exit $ac_status); } && {
10531 test -z "$ac_c_werror_flag" || 10963 test -z "$ac_c_werror_flag" ||
10532 test ! -s conftest.err 10964 test ! -s conftest.err
10533 } && test -s conftest$ac_exeext && 10965 } && test -s conftest$ac_exeext && {
10534 $as_test_x conftest$ac_exeext; then 10966 test "$cross_compiling" = yes ||
10967 $as_test_x conftest$ac_exeext
10968 }; then
10535 ac_cv_lib_gen_getspnam=yes 10969 ac_cv_lib_gen_getspnam=yes
10536else 10970else
10537 echo "$as_me: failed program was:" >&5 10971 $as_echo "$as_me: failed program was:" >&5
10538sed 's/^/| /' conftest.$ac_ext >&5 10972sed 's/^/| /' conftest.$ac_ext >&5
10539 10973
10540 ac_cv_lib_gen_getspnam=no 10974 ac_cv_lib_gen_getspnam=no
10541fi 10975fi
10542 10976
10977rm -rf conftest.dSYM
10543rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10978rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10544 conftest$ac_exeext conftest.$ac_ext 10979 conftest$ac_exeext conftest.$ac_ext
10545LIBS=$ac_check_lib_save_LIBS 10980LIBS=$ac_check_lib_save_LIBS
10546fi 10981fi
10547{ echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 10982{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
10548echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6; } 10983$as_echo "$ac_cv_lib_gen_getspnam" >&6; }
10549if test $ac_cv_lib_gen_getspnam = yes; then 10984if test $ac_cv_lib_gen_getspnam = yes; then
10550 LIBS="$LIBS -lgen" 10985 LIBS="$LIBS -lgen"
10551fi 10986fi
10552 10987
10553fi 10988fi
10554 10989
10555{ echo "$as_me:$LINENO: checking for library containing basename" >&5 10990{ $as_echo "$as_me:$LINENO: checking for library containing basename" >&5
10556echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; } 10991$as_echo_n "checking for library containing basename... " >&6; }
10557if test "${ac_cv_search_basename+set}" = set; then 10992if test "${ac_cv_search_basename+set}" = set; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6 10993 $as_echo_n "(cached) " >&6
10559else 10994else
10560 ac_func_search_save_LIBS=$LIBS 10995 ac_func_search_save_LIBS=$LIBS
10561cat >conftest.$ac_ext <<_ACEOF 10996cat >conftest.$ac_ext <<_ACEOF
@@ -10593,26 +11028,30 @@ case "(($ac_try" in
10593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10594 *) ac_try_echo=$ac_try;; 11029 *) ac_try_echo=$ac_try;;
10595esac 11030esac
10596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11031eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11032$as_echo "$ac_try_echo") >&5
10597 (eval "$ac_link") 2>conftest.er1 11033 (eval "$ac_link") 2>conftest.er1
10598 ac_status=$? 11034 ac_status=$?
10599 grep -v '^ *+' conftest.er1 >conftest.err 11035 grep -v '^ *+' conftest.er1 >conftest.err
10600 rm -f conftest.er1 11036 rm -f conftest.er1
10601 cat conftest.err >&5 11037 cat conftest.err >&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); } && { 11039 (exit $ac_status); } && {
10604 test -z "$ac_c_werror_flag" || 11040 test -z "$ac_c_werror_flag" ||
10605 test ! -s conftest.err 11041 test ! -s conftest.err
10606 } && test -s conftest$ac_exeext && 11042 } && test -s conftest$ac_exeext && {
10607 $as_test_x conftest$ac_exeext; then 11043 test "$cross_compiling" = yes ||
11044 $as_test_x conftest$ac_exeext
11045 }; then
10608 ac_cv_search_basename=$ac_res 11046 ac_cv_search_basename=$ac_res
10609else 11047else
10610 echo "$as_me: failed program was:" >&5 11048 $as_echo "$as_me: failed program was:" >&5
10611sed 's/^/| /' conftest.$ac_ext >&5 11049sed 's/^/| /' conftest.$ac_ext >&5
10612 11050
10613 11051
10614fi 11052fi
10615 11053
11054rm -rf conftest.dSYM
10616rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11055rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10617 conftest$ac_exeext 11056 conftest$ac_exeext
10618 if test "${ac_cv_search_basename+set}" = set; then 11057 if test "${ac_cv_search_basename+set}" = set; then
@@ -10627,8 +11066,8 @@ fi
10627rm conftest.$ac_ext 11066rm conftest.$ac_ext
10628LIBS=$ac_func_search_save_LIBS 11067LIBS=$ac_func_search_save_LIBS
10629fi 11068fi
10630{ echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 11069{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
10631echo "${ECHO_T}$ac_cv_search_basename" >&6; } 11070$as_echo "$ac_cv_search_basename" >&6; }
10632ac_res=$ac_cv_search_basename 11071ac_res=$ac_cv_search_basename
10633if test "$ac_res" != no; then 11072if test "$ac_res" != no; then
10634 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 11073 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -10644,8 +11083,8 @@ fi
10644# Check whether --with-zlib was given. 11083# Check whether --with-zlib was given.
10645if test "${with_zlib+set}" = set; then 11084if test "${with_zlib+set}" = set; then
10646 withval=$with_zlib; if test "x$withval" = "xno" ; then 11085 withval=$with_zlib; if test "x$withval" = "xno" ; then
10647 { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 11086 { { $as_echo "$as_me:$LINENO: error: *** zlib is required ***" >&5
10648echo "$as_me: error: *** zlib is required ***" >&2;} 11087$as_echo "$as_me: error: *** zlib is required ***" >&2;}
10649 { (exit 1); exit 1; }; } 11088 { (exit 1); exit 1; }; }
10650 elif test "x$withval" != "xyes"; then 11089 elif test "x$withval" != "xyes"; then
10651 if test -d "$withval/lib"; then 11090 if test -d "$withval/lib"; then
@@ -10671,11 +11110,152 @@ echo "$as_me: error: *** zlib is required ***" >&2;}
10671fi 11110fi
10672 11111
10673 11112
11113if test "${ac_cv_header_zlib_h+set}" = set; then
11114 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
11115$as_echo_n "checking for zlib.h... " >&6; }
11116if test "${ac_cv_header_zlib_h+set}" = set; then
11117 $as_echo_n "(cached) " >&6
11118fi
11119{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
11120$as_echo "$ac_cv_header_zlib_h" >&6; }
11121else
11122 # Is the header compilable?
11123{ $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
11124$as_echo_n "checking zlib.h usability... " >&6; }
11125cat >conftest.$ac_ext <<_ACEOF
11126/* confdefs.h. */
11127_ACEOF
11128cat confdefs.h >>conftest.$ac_ext
11129cat >>conftest.$ac_ext <<_ACEOF
11130/* end confdefs.h. */
11131$ac_includes_default
11132#include <zlib.h>
11133_ACEOF
11134rm -f conftest.$ac_objext
11135if { (ac_try="$ac_compile"
11136case "(($ac_try" in
11137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11138 *) ac_try_echo=$ac_try;;
11139esac
11140eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11141$as_echo "$ac_try_echo") >&5
11142 (eval "$ac_compile") 2>conftest.er1
11143 ac_status=$?
11144 grep -v '^ *+' conftest.er1 >conftest.err
11145 rm -f conftest.er1
11146 cat conftest.err >&5
11147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); } && {
11149 test -z "$ac_c_werror_flag" ||
11150 test ! -s conftest.err
11151 } && test -s conftest.$ac_objext; then
11152 ac_header_compiler=yes
11153else
11154 $as_echo "$as_me: failed program was:" >&5
11155sed 's/^/| /' conftest.$ac_ext >&5
11156
11157 ac_header_compiler=no
11158fi
11159
11160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11161{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11162$as_echo "$ac_header_compiler" >&6; }
10674 11163
10675{ echo "$as_me:$LINENO: checking for deflate in -lz" >&5 11164# Is the header present?
10676echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; } 11165{ $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
11166$as_echo_n "checking zlib.h presence... " >&6; }
11167cat >conftest.$ac_ext <<_ACEOF
11168/* confdefs.h. */
11169_ACEOF
11170cat confdefs.h >>conftest.$ac_ext
11171cat >>conftest.$ac_ext <<_ACEOF
11172/* end confdefs.h. */
11173#include <zlib.h>
11174_ACEOF
11175if { (ac_try="$ac_cpp conftest.$ac_ext"
11176case "(($ac_try" in
11177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11178 *) ac_try_echo=$ac_try;;
11179esac
11180eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11181$as_echo "$ac_try_echo") >&5
11182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11183 ac_status=$?
11184 grep -v '^ *+' conftest.er1 >conftest.err
11185 rm -f conftest.er1
11186 cat conftest.err >&5
11187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } >/dev/null && {
11189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11190 test ! -s conftest.err
11191 }; then
11192 ac_header_preproc=yes
11193else
11194 $as_echo "$as_me: failed program was:" >&5
11195sed 's/^/| /' conftest.$ac_ext >&5
11196
11197 ac_header_preproc=no
11198fi
11199
11200rm -f conftest.err conftest.$ac_ext
11201{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11202$as_echo "$ac_header_preproc" >&6; }
11203
11204# So? What about this header?
11205case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11206 yes:no: )
11207 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
11208$as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11209 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
11210$as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
11211 ac_header_preproc=yes
11212 ;;
11213 no:yes:* )
11214 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
11215$as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
11216 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
11217$as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
11218 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
11219$as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
11220 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
11221$as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
11222 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
11223$as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
11224 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
11225$as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
11226 ( cat <<\_ASBOX
11227## ------------------------------------------- ##
11228## Report this to openssh-unix-dev@mindrot.org ##
11229## ------------------------------------------- ##
11230_ASBOX
11231 ) | sed "s/^/$as_me: WARNING: /" >&2
11232 ;;
11233esac
11234{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
11235$as_echo_n "checking for zlib.h... " >&6; }
11236if test "${ac_cv_header_zlib_h+set}" = set; then
11237 $as_echo_n "(cached) " >&6
11238else
11239 ac_cv_header_zlib_h=$ac_header_preproc
11240fi
11241{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
11242$as_echo "$ac_cv_header_zlib_h" >&6; }
11243
11244fi
11245if test $ac_cv_header_zlib_h = yes; then
11246 :
11247else
11248 { { $as_echo "$as_me:$LINENO: error: *** zlib.h missing - please install first or check config.log ***" >&5
11249$as_echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;}
11250 { (exit 1); exit 1; }; }
11251fi
11252
11253
11254
11255{ $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
11256$as_echo_n "checking for deflate in -lz... " >&6; }
10677if test "${ac_cv_lib_z_deflate+set}" = set; then 11257if test "${ac_cv_lib_z_deflate+set}" = set; then
10678 echo $ECHO_N "(cached) $ECHO_C" >&6 11258 $as_echo_n "(cached) " >&6
10679else 11259else
10680 ac_check_lib_save_LIBS=$LIBS 11260 ac_check_lib_save_LIBS=$LIBS
10681LIBS="-lz $LIBS" 11261LIBS="-lz $LIBS"
@@ -10707,32 +11287,36 @@ case "(($ac_try" in
10707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10708 *) ac_try_echo=$ac_try;; 11288 *) ac_try_echo=$ac_try;;
10709esac 11289esac
10710eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11290eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11291$as_echo "$ac_try_echo") >&5
10711 (eval "$ac_link") 2>conftest.er1 11292 (eval "$ac_link") 2>conftest.er1
10712 ac_status=$? 11293 ac_status=$?
10713 grep -v '^ *+' conftest.er1 >conftest.err 11294 grep -v '^ *+' conftest.er1 >conftest.err
10714 rm -f conftest.er1 11295 rm -f conftest.er1
10715 cat conftest.err >&5 11296 cat conftest.err >&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } && { 11298 (exit $ac_status); } && {
10718 test -z "$ac_c_werror_flag" || 11299 test -z "$ac_c_werror_flag" ||
10719 test ! -s conftest.err 11300 test ! -s conftest.err
10720 } && test -s conftest$ac_exeext && 11301 } && test -s conftest$ac_exeext && {
10721 $as_test_x conftest$ac_exeext; then 11302 test "$cross_compiling" = yes ||
11303 $as_test_x conftest$ac_exeext
11304 }; then
10722 ac_cv_lib_z_deflate=yes 11305 ac_cv_lib_z_deflate=yes
10723else 11306else
10724 echo "$as_me: failed program was:" >&5 11307 $as_echo "$as_me: failed program was:" >&5
10725sed 's/^/| /' conftest.$ac_ext >&5 11308sed 's/^/| /' conftest.$ac_ext >&5
10726 11309
10727 ac_cv_lib_z_deflate=no 11310 ac_cv_lib_z_deflate=no
10728fi 11311fi
10729 11312
11313rm -rf conftest.dSYM
10730rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11314rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10731 conftest$ac_exeext conftest.$ac_ext 11315 conftest$ac_exeext conftest.$ac_ext
10732LIBS=$ac_check_lib_save_LIBS 11316LIBS=$ac_check_lib_save_LIBS
10733fi 11317fi
10734{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 11318{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
10735echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; } 11319$as_echo "$ac_cv_lib_z_deflate" >&6; }
10736if test $ac_cv_lib_z_deflate = yes; then 11320if test $ac_cv_lib_z_deflate = yes; then
10737 cat >>confdefs.h <<_ACEOF 11321 cat >>confdefs.h <<_ACEOF
10738#define HAVE_LIBZ 1 11322#define HAVE_LIBZ 1
@@ -10780,179 +11364,44 @@ case "(($ac_try" in
10780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10781 *) ac_try_echo=$ac_try;; 11365 *) ac_try_echo=$ac_try;;
10782esac 11366esac
10783eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11368$as_echo "$ac_try_echo") >&5
10784 (eval "$ac_link") 2>conftest.er1 11369 (eval "$ac_link") 2>conftest.er1
10785 ac_status=$? 11370 ac_status=$?
10786 grep -v '^ *+' conftest.er1 >conftest.err 11371 grep -v '^ *+' conftest.er1 >conftest.err
10787 rm -f conftest.er1 11372 rm -f conftest.er1
10788 cat conftest.err >&5 11373 cat conftest.err >&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); } && { 11375 (exit $ac_status); } && {
10791 test -z "$ac_c_werror_flag" || 11376 test -z "$ac_c_werror_flag" ||
10792 test ! -s conftest.err 11377 test ! -s conftest.err
10793 } && test -s conftest$ac_exeext && 11378 } && test -s conftest$ac_exeext && {
10794 $as_test_x conftest$ac_exeext; then 11379 test "$cross_compiling" = yes ||
11380 $as_test_x conftest$ac_exeext
11381 }; then
10795 cat >>confdefs.h <<\_ACEOF 11382 cat >>confdefs.h <<\_ACEOF
10796#define HAVE_LIBZ 1 11383#define HAVE_LIBZ 1
10797_ACEOF 11384_ACEOF
10798 11385
10799else 11386else
10800 echo "$as_me: failed program was:" >&5 11387 $as_echo "$as_me: failed program was:" >&5
10801sed 's/^/| /' conftest.$ac_ext >&5 11388sed 's/^/| /' conftest.$ac_ext >&5
10802 11389
10803 11390
10804 { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 11391 { { $as_echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
10805echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} 11392$as_echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
10806 { (exit 1); exit 1; }; } 11393 { (exit 1); exit 1; }; }
10807 11394
10808 11395
10809fi 11396fi
10810 11397
11398rm -rf conftest.dSYM
10811rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11399rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10812 conftest$ac_exeext conftest.$ac_ext 11400 conftest$ac_exeext conftest.$ac_ext
10813 11401
10814 11402
10815fi 11403fi
10816 11404
10817if test "${ac_cv_header_zlib_h+set}" = set; then
10818 { echo "$as_me:$LINENO: checking for zlib.h" >&5
10819echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
10820if test "${ac_cv_header_zlib_h+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10822fi
10823{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
10824echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
10825else
10826 # Is the header compilable?
10827{ echo "$as_me:$LINENO: checking zlib.h usability" >&5
10828echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
10829cat >conftest.$ac_ext <<_ACEOF
10830/* confdefs.h. */
10831_ACEOF
10832cat confdefs.h >>conftest.$ac_ext
10833cat >>conftest.$ac_ext <<_ACEOF
10834/* end confdefs.h. */
10835$ac_includes_default
10836#include <zlib.h>
10837_ACEOF
10838rm -f conftest.$ac_objext
10839if { (ac_try="$ac_compile"
10840case "(($ac_try" in
10841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842 *) ac_try_echo=$ac_try;;
10843esac
10844eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10845 (eval "$ac_compile") 2>conftest.er1
10846 ac_status=$?
10847 grep -v '^ *+' conftest.er1 >conftest.err
10848 rm -f conftest.er1
10849 cat conftest.err >&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } && {
10852 test -z "$ac_c_werror_flag" ||
10853 test ! -s conftest.err
10854 } && test -s conftest.$ac_objext; then
10855 ac_header_compiler=yes
10856else
10857 echo "$as_me: failed program was:" >&5
10858sed 's/^/| /' conftest.$ac_ext >&5
10859
10860 ac_header_compiler=no
10861fi
10862
10863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10864{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10865echo "${ECHO_T}$ac_header_compiler" >&6; }
10866
10867# Is the header present?
10868{ echo "$as_me:$LINENO: checking zlib.h presence" >&5
10869echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
10870cat >conftest.$ac_ext <<_ACEOF
10871/* confdefs.h. */
10872_ACEOF
10873cat confdefs.h >>conftest.$ac_ext
10874cat >>conftest.$ac_ext <<_ACEOF
10875/* end confdefs.h. */
10876#include <zlib.h>
10877_ACEOF
10878if { (ac_try="$ac_cpp conftest.$ac_ext"
10879case "(($ac_try" in
10880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10881 *) ac_try_echo=$ac_try;;
10882esac
10883eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10885 ac_status=$?
10886 grep -v '^ *+' conftest.er1 >conftest.err
10887 rm -f conftest.er1
10888 cat conftest.err >&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); } >/dev/null && {
10891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10892 test ! -s conftest.err
10893 }; then
10894 ac_header_preproc=yes
10895else
10896 echo "$as_me: failed program was:" >&5
10897sed 's/^/| /' conftest.$ac_ext >&5
10898
10899 ac_header_preproc=no
10900fi
10901
10902rm -f conftest.err conftest.$ac_ext
10903{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10904echo "${ECHO_T}$ac_header_preproc" >&6; }
10905
10906# So? What about this header?
10907case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10908 yes:no: )
10909 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
10910echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10911 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
10912echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
10913 ac_header_preproc=yes
10914 ;;
10915 no:yes:* )
10916 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
10917echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
10918 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
10919echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
10920 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
10921echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
10922 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
10923echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
10924 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
10925echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
10926 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
10927echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
10928 ( cat <<\_ASBOX
10929## ------------------------------------------- ##
10930## Report this to openssh-unix-dev@mindrot.org ##
10931## ------------------------------------------- ##
10932_ASBOX
10933 ) | sed "s/^/$as_me: WARNING: /" >&2
10934 ;;
10935esac
10936{ echo "$as_me:$LINENO: checking for zlib.h" >&5
10937echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
10938if test "${ac_cv_header_zlib_h+set}" = set; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10940else
10941 ac_cv_header_zlib_h=$ac_header_preproc
10942fi
10943{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
10944echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
10945
10946fi
10947if test $ac_cv_header_zlib_h = yes; then
10948 :
10949else
10950 { { echo "$as_me:$LINENO: error: *** zlib.h missing - please install first or check config.log ***" >&5
10951echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;}
10952 { (exit 1); exit 1; }; }
10953fi
10954
10955
10956 11405
10957 11406
10958# Check whether --with-zlib-version-check was given. 11407# Check whether --with-zlib-version-check was given.
@@ -10965,11 +11414,11 @@ if test "${with_zlib_version_check+set}" = set; then
10965fi 11414fi
10966 11415
10967 11416
10968{ echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5 11417{ $as_echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5
10969echo $ECHO_N "checking for possibly buggy zlib... $ECHO_C" >&6; } 11418$as_echo_n "checking for possibly buggy zlib... " >&6; }
10970if test "$cross_compiling" = yes; then 11419if test "$cross_compiling" = yes; then
10971 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5 11420 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5
10972echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} 11421$as_echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;}
10973 11422
10974else 11423else
10975 cat >conftest.$ac_ext <<_ACEOF 11424 cat >conftest.$ac_ext <<_ACEOF
@@ -11008,39 +11457,41 @@ case "(($ac_try" in
11008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11009 *) ac_try_echo=$ac_try;; 11458 *) ac_try_echo=$ac_try;;
11010esac 11459esac
11011eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11460eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11461$as_echo "$ac_try_echo") >&5
11012 (eval "$ac_link") 2>&5 11462 (eval "$ac_link") 2>&5
11013 ac_status=$? 11463 ac_status=$?
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11016 { (case "(($ac_try" in 11466 { (case "(($ac_try" in
11017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11018 *) ac_try_echo=$ac_try;; 11468 *) ac_try_echo=$ac_try;;
11019esac 11469esac
11020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11470eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11471$as_echo "$ac_try_echo") >&5
11021 (eval "$ac_try") 2>&5 11472 (eval "$ac_try") 2>&5
11022 ac_status=$? 11473 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then 11475 (exit $ac_status); }; }; then
11025 { echo "$as_me:$LINENO: result: no" >&5 11476 { $as_echo "$as_me:$LINENO: result: no" >&5
11026echo "${ECHO_T}no" >&6; } 11477$as_echo "no" >&6; }
11027else 11478else
11028 echo "$as_me: program exited with status $ac_status" >&5 11479 $as_echo "$as_me: program exited with status $ac_status" >&5
11029echo "$as_me: failed program was:" >&5 11480$as_echo "$as_me: failed program was:" >&5
11030sed 's/^/| /' conftest.$ac_ext >&5 11481sed 's/^/| /' conftest.$ac_ext >&5
11031 11482
11032( exit $ac_status ) 11483( exit $ac_status )
11033 { echo "$as_me:$LINENO: result: yes" >&5 11484 { $as_echo "$as_me:$LINENO: result: yes" >&5
11034echo "${ECHO_T}yes" >&6; } 11485$as_echo "yes" >&6; }
11035 if test -z "$zlib_check_nonfatal" ; then 11486 if test -z "$zlib_check_nonfatal" ; then
11036 { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log *** 11487 { { $as_echo "$as_me:$LINENO: error: *** zlib too old - check config.log ***
11037Your reported zlib version has known security problems. It's possible your 11488Your reported zlib version has known security problems. It's possible your
11038vendor has fixed these problems without changing the version number. If you 11489vendor has fixed these problems without changing the version number. If you
11039are sure this is the case, you can disable the check by running 11490are sure this is the case, you can disable the check by running
11040\"./configure --without-zlib-version-check\". 11491\"./configure --without-zlib-version-check\".
11041If you are in doubt, upgrade zlib to version 1.2.3 or greater. 11492If you are in doubt, upgrade zlib to version 1.2.3 or greater.
11042See http://www.gzip.org/zlib/ for details." >&5 11493See http://www.gzip.org/zlib/ for details." >&5
11043echo "$as_me: error: *** zlib too old - check config.log *** 11494$as_echo "$as_me: error: *** zlib too old - check config.log ***
11044Your reported zlib version has known security problems. It's possible your 11495Your reported zlib version has known security problems. It's possible your
11045vendor has fixed these problems without changing the version number. If you 11496vendor has fixed these problems without changing the version number. If you
11046are sure this is the case, you can disable the check by running 11497are sure this is the case, you can disable the check by running
@@ -11049,20 +11500,21 @@ If you are in doubt, upgrade zlib to version 1.2.3 or greater.
11049See http://www.gzip.org/zlib/ for details." >&2;} 11500See http://www.gzip.org/zlib/ for details." >&2;}
11050 { (exit 1); exit 1; }; } 11501 { (exit 1); exit 1; }; }
11051 else 11502 else
11052 { echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5 11503 { $as_echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5
11053echo "$as_me: WARNING: zlib version may have security problems" >&2;} 11504$as_echo "$as_me: WARNING: zlib version may have security problems" >&2;}
11054 fi 11505 fi
11055 11506
11056fi 11507fi
11508rm -rf conftest.dSYM
11057rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11509rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11058fi 11510fi
11059 11511
11060 11512
11061 11513
11062{ echo "$as_me:$LINENO: checking for strcasecmp" >&5 11514{ $as_echo "$as_me:$LINENO: checking for strcasecmp" >&5
11063echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; } 11515$as_echo_n "checking for strcasecmp... " >&6; }
11064if test "${ac_cv_func_strcasecmp+set}" = set; then 11516if test "${ac_cv_func_strcasecmp+set}" = set; then
11065 echo $ECHO_N "(cached) $ECHO_C" >&6 11517 $as_echo_n "(cached) " >&6
11066else 11518else
11067 cat >conftest.$ac_ext <<_ACEOF 11519 cat >conftest.$ac_ext <<_ACEOF
11068/* confdefs.h. */ 11520/* confdefs.h. */
@@ -11115,38 +11567,42 @@ case "(($ac_try" in
11115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11116 *) ac_try_echo=$ac_try;; 11568 *) ac_try_echo=$ac_try;;
11117esac 11569esac
11118eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11570eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11571$as_echo "$ac_try_echo") >&5
11119 (eval "$ac_link") 2>conftest.er1 11572 (eval "$ac_link") 2>conftest.er1
11120 ac_status=$? 11573 ac_status=$?
11121 grep -v '^ *+' conftest.er1 >conftest.err 11574 grep -v '^ *+' conftest.er1 >conftest.err
11122 rm -f conftest.er1 11575 rm -f conftest.er1
11123 cat conftest.err >&5 11576 cat conftest.err >&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } && { 11578 (exit $ac_status); } && {
11126 test -z "$ac_c_werror_flag" || 11579 test -z "$ac_c_werror_flag" ||
11127 test ! -s conftest.err 11580 test ! -s conftest.err
11128 } && test -s conftest$ac_exeext && 11581 } && test -s conftest$ac_exeext && {
11129 $as_test_x conftest$ac_exeext; then 11582 test "$cross_compiling" = yes ||
11583 $as_test_x conftest$ac_exeext
11584 }; then
11130 ac_cv_func_strcasecmp=yes 11585 ac_cv_func_strcasecmp=yes
11131else 11586else
11132 echo "$as_me: failed program was:" >&5 11587 $as_echo "$as_me: failed program was:" >&5
11133sed 's/^/| /' conftest.$ac_ext >&5 11588sed 's/^/| /' conftest.$ac_ext >&5
11134 11589
11135 ac_cv_func_strcasecmp=no 11590 ac_cv_func_strcasecmp=no
11136fi 11591fi
11137 11592
11593rm -rf conftest.dSYM
11138rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11594rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11139 conftest$ac_exeext conftest.$ac_ext 11595 conftest$ac_exeext conftest.$ac_ext
11140fi 11596fi
11141{ echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 11597{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
11142echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; } 11598$as_echo "$ac_cv_func_strcasecmp" >&6; }
11143if test $ac_cv_func_strcasecmp = yes; then 11599if test $ac_cv_func_strcasecmp = yes; then
11144 : 11600 :
11145else 11601else
11146 { echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 11602 { $as_echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
11147echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6; } 11603$as_echo_n "checking for strcasecmp in -lresolv... " >&6; }
11148if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then 11604if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
11149 echo $ECHO_N "(cached) $ECHO_C" >&6 11605 $as_echo_n "(cached) " >&6
11150else 11606else
11151 ac_check_lib_save_LIBS=$LIBS 11607 ac_check_lib_save_LIBS=$LIBS
11152LIBS="-lresolv $LIBS" 11608LIBS="-lresolv $LIBS"
@@ -11178,32 +11634,36 @@ case "(($ac_try" in
11178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11179 *) ac_try_echo=$ac_try;; 11635 *) ac_try_echo=$ac_try;;
11180esac 11636esac
11181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11637eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11638$as_echo "$ac_try_echo") >&5
11182 (eval "$ac_link") 2>conftest.er1 11639 (eval "$ac_link") 2>conftest.er1
11183 ac_status=$? 11640 ac_status=$?
11184 grep -v '^ *+' conftest.er1 >conftest.err 11641 grep -v '^ *+' conftest.er1 >conftest.err
11185 rm -f conftest.er1 11642 rm -f conftest.er1
11186 cat conftest.err >&5 11643 cat conftest.err >&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } && { 11645 (exit $ac_status); } && {
11189 test -z "$ac_c_werror_flag" || 11646 test -z "$ac_c_werror_flag" ||
11190 test ! -s conftest.err 11647 test ! -s conftest.err
11191 } && test -s conftest$ac_exeext && 11648 } && test -s conftest$ac_exeext && {
11192 $as_test_x conftest$ac_exeext; then 11649 test "$cross_compiling" = yes ||
11650 $as_test_x conftest$ac_exeext
11651 }; then
11193 ac_cv_lib_resolv_strcasecmp=yes 11652 ac_cv_lib_resolv_strcasecmp=yes
11194else 11653else
11195 echo "$as_me: failed program was:" >&5 11654 $as_echo "$as_me: failed program was:" >&5
11196sed 's/^/| /' conftest.$ac_ext >&5 11655sed 's/^/| /' conftest.$ac_ext >&5
11197 11656
11198 ac_cv_lib_resolv_strcasecmp=no 11657 ac_cv_lib_resolv_strcasecmp=no
11199fi 11658fi
11200 11659
11660rm -rf conftest.dSYM
11201rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11661rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11202 conftest$ac_exeext conftest.$ac_ext 11662 conftest$ac_exeext conftest.$ac_ext
11203LIBS=$ac_check_lib_save_LIBS 11663LIBS=$ac_check_lib_save_LIBS
11204fi 11664fi
11205{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 11665{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
11206echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6; } 11666$as_echo "$ac_cv_lib_resolv_strcasecmp" >&6; }
11207if test $ac_cv_lib_resolv_strcasecmp = yes; then 11667if test $ac_cv_lib_resolv_strcasecmp = yes; then
11208 LIBS="$LIBS -lresolv" 11668 LIBS="$LIBS -lresolv"
11209fi 11669fi
@@ -11214,11 +11674,11 @@ fi
11214 11674
11215for ac_func in utimes 11675for ac_func in utimes
11216do 11676do
11217as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11677as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11218{ echo "$as_me:$LINENO: checking for $ac_func" >&5 11678{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11219echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 11679$as_echo_n "checking for $ac_func... " >&6; }
11220if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11680if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11221 echo $ECHO_N "(cached) $ECHO_C" >&6 11681 $as_echo_n "(cached) " >&6
11222else 11682else
11223 cat >conftest.$ac_ext <<_ACEOF 11683 cat >conftest.$ac_ext <<_ACEOF
11224/* confdefs.h. */ 11684/* confdefs.h. */
@@ -11271,42 +11731,48 @@ case "(($ac_try" in
11271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11272 *) ac_try_echo=$ac_try;; 11732 *) ac_try_echo=$ac_try;;
11273esac 11733esac
11274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11735$as_echo "$ac_try_echo") >&5
11275 (eval "$ac_link") 2>conftest.er1 11736 (eval "$ac_link") 2>conftest.er1
11276 ac_status=$? 11737 ac_status=$?
11277 grep -v '^ *+' conftest.er1 >conftest.err 11738 grep -v '^ *+' conftest.er1 >conftest.err
11278 rm -f conftest.er1 11739 rm -f conftest.er1
11279 cat conftest.err >&5 11740 cat conftest.err >&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } && { 11742 (exit $ac_status); } && {
11282 test -z "$ac_c_werror_flag" || 11743 test -z "$ac_c_werror_flag" ||
11283 test ! -s conftest.err 11744 test ! -s conftest.err
11284 } && test -s conftest$ac_exeext && 11745 } && test -s conftest$ac_exeext && {
11285 $as_test_x conftest$ac_exeext; then 11746 test "$cross_compiling" = yes ||
11747 $as_test_x conftest$ac_exeext
11748 }; then
11286 eval "$as_ac_var=yes" 11749 eval "$as_ac_var=yes"
11287else 11750else
11288 echo "$as_me: failed program was:" >&5 11751 $as_echo "$as_me: failed program was:" >&5
11289sed 's/^/| /' conftest.$ac_ext >&5 11752sed 's/^/| /' conftest.$ac_ext >&5
11290 11753
11291 eval "$as_ac_var=no" 11754 eval "$as_ac_var=no"
11292fi 11755fi
11293 11756
11757rm -rf conftest.dSYM
11294rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11758rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11295 conftest$ac_exeext conftest.$ac_ext 11759 conftest$ac_exeext conftest.$ac_ext
11296fi 11760fi
11297ac_res=`eval echo '${'$as_ac_var'}'` 11761ac_res=`eval 'as_val=${'$as_ac_var'}
11298 { echo "$as_me:$LINENO: result: $ac_res" >&5 11762 $as_echo "$as_val"'`
11299echo "${ECHO_T}$ac_res" >&6; } 11763 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11300if test `eval echo '${'$as_ac_var'}'` = yes; then 11764$as_echo "$ac_res" >&6; }
11765if test `eval 'as_val=${'$as_ac_var'}
11766 $as_echo "$as_val"'` = yes; then
11301 cat >>confdefs.h <<_ACEOF 11767 cat >>confdefs.h <<_ACEOF
11302#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11768#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11303_ACEOF 11769_ACEOF
11304 11770
11305else 11771else
11306 { echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 11772 { $as_echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
11307echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6; } 11773$as_echo_n "checking for utimes in -lc89... " >&6; }
11308if test "${ac_cv_lib_c89_utimes+set}" = set; then 11774if test "${ac_cv_lib_c89_utimes+set}" = set; then
11309 echo $ECHO_N "(cached) $ECHO_C" >&6 11775 $as_echo_n "(cached) " >&6
11310else 11776else
11311 ac_check_lib_save_LIBS=$LIBS 11777 ac_check_lib_save_LIBS=$LIBS
11312LIBS="-lc89 $LIBS" 11778LIBS="-lc89 $LIBS"
@@ -11338,32 +11804,36 @@ case "(($ac_try" in
11338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11339 *) ac_try_echo=$ac_try;; 11805 *) ac_try_echo=$ac_try;;
11340esac 11806esac
11341eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11807eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11808$as_echo "$ac_try_echo") >&5
11342 (eval "$ac_link") 2>conftest.er1 11809 (eval "$ac_link") 2>conftest.er1
11343 ac_status=$? 11810 ac_status=$?
11344 grep -v '^ *+' conftest.er1 >conftest.err 11811 grep -v '^ *+' conftest.er1 >conftest.err
11345 rm -f conftest.er1 11812 rm -f conftest.er1
11346 cat conftest.err >&5 11813 cat conftest.err >&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); } && { 11815 (exit $ac_status); } && {
11349 test -z "$ac_c_werror_flag" || 11816 test -z "$ac_c_werror_flag" ||
11350 test ! -s conftest.err 11817 test ! -s conftest.err
11351 } && test -s conftest$ac_exeext && 11818 } && test -s conftest$ac_exeext && {
11352 $as_test_x conftest$ac_exeext; then 11819 test "$cross_compiling" = yes ||
11820 $as_test_x conftest$ac_exeext
11821 }; then
11353 ac_cv_lib_c89_utimes=yes 11822 ac_cv_lib_c89_utimes=yes
11354else 11823else
11355 echo "$as_me: failed program was:" >&5 11824 $as_echo "$as_me: failed program was:" >&5
11356sed 's/^/| /' conftest.$ac_ext >&5 11825sed 's/^/| /' conftest.$ac_ext >&5
11357 11826
11358 ac_cv_lib_c89_utimes=no 11827 ac_cv_lib_c89_utimes=no
11359fi 11828fi
11360 11829
11830rm -rf conftest.dSYM
11361rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11831rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11362 conftest$ac_exeext conftest.$ac_ext 11832 conftest$ac_exeext conftest.$ac_ext
11363LIBS=$ac_check_lib_save_LIBS 11833LIBS=$ac_check_lib_save_LIBS
11364fi 11834fi
11365{ echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 11835{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5
11366echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6; } 11836$as_echo "$ac_cv_lib_c89_utimes" >&6; }
11367if test $ac_cv_lib_c89_utimes = yes; then 11837if test $ac_cv_lib_c89_utimes = yes; then
11368 cat >>confdefs.h <<\_ACEOF 11838 cat >>confdefs.h <<\_ACEOF
11369#define HAVE_UTIMES 1 11839#define HAVE_UTIMES 1
@@ -11380,20 +11850,21 @@ done
11380 11850
11381for ac_header in libutil.h 11851for ac_header in libutil.h
11382do 11852do
11383as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11853as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11384if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11854if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11385 { echo "$as_me:$LINENO: checking for $ac_header" >&5 11855 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11386echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 11856$as_echo_n "checking for $ac_header... " >&6; }
11387if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11857if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6 11858 $as_echo_n "(cached) " >&6
11389fi 11859fi
11390ac_res=`eval echo '${'$as_ac_Header'}'` 11860ac_res=`eval 'as_val=${'$as_ac_Header'}
11391 { echo "$as_me:$LINENO: result: $ac_res" >&5 11861 $as_echo "$as_val"'`
11392echo "${ECHO_T}$ac_res" >&6; } 11862 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11863$as_echo "$ac_res" >&6; }
11393else 11864else
11394 # Is the header compilable? 11865 # Is the header compilable?
11395{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 11866{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11396echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 11867$as_echo_n "checking $ac_header usability... " >&6; }
11397cat >conftest.$ac_ext <<_ACEOF 11868cat >conftest.$ac_ext <<_ACEOF
11398/* confdefs.h. */ 11869/* confdefs.h. */
11399_ACEOF 11870_ACEOF
@@ -11409,32 +11880,33 @@ case "(($ac_try" in
11409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11410 *) ac_try_echo=$ac_try;; 11881 *) ac_try_echo=$ac_try;;
11411esac 11882esac
11412eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11883eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11884$as_echo "$ac_try_echo") >&5
11413 (eval "$ac_compile") 2>conftest.er1 11885 (eval "$ac_compile") 2>conftest.er1
11414 ac_status=$? 11886 ac_status=$?
11415 grep -v '^ *+' conftest.er1 >conftest.err 11887 grep -v '^ *+' conftest.er1 >conftest.err
11416 rm -f conftest.er1 11888 rm -f conftest.er1
11417 cat conftest.err >&5 11889 cat conftest.err >&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); } && { 11891 (exit $ac_status); } && {
11420 test -z "$ac_c_werror_flag" || 11892 test -z "$ac_c_werror_flag" ||
11421 test ! -s conftest.err 11893 test ! -s conftest.err
11422 } && test -s conftest.$ac_objext; then 11894 } && test -s conftest.$ac_objext; then
11423 ac_header_compiler=yes 11895 ac_header_compiler=yes
11424else 11896else
11425 echo "$as_me: failed program was:" >&5 11897 $as_echo "$as_me: failed program was:" >&5
11426sed 's/^/| /' conftest.$ac_ext >&5 11898sed 's/^/| /' conftest.$ac_ext >&5
11427 11899
11428 ac_header_compiler=no 11900 ac_header_compiler=no
11429fi 11901fi
11430 11902
11431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11432{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11904{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11433echo "${ECHO_T}$ac_header_compiler" >&6; } 11905$as_echo "$ac_header_compiler" >&6; }
11434 11906
11435# Is the header present? 11907# Is the header present?
11436{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 11908{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11437echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 11909$as_echo_n "checking $ac_header presence... " >&6; }
11438cat >conftest.$ac_ext <<_ACEOF 11910cat >conftest.$ac_ext <<_ACEOF
11439/* confdefs.h. */ 11911/* confdefs.h. */
11440_ACEOF 11912_ACEOF
@@ -11448,51 +11920,52 @@ case "(($ac_try" in
11448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11449 *) ac_try_echo=$ac_try;; 11921 *) ac_try_echo=$ac_try;;
11450esac 11922esac
11451eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11923eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11924$as_echo "$ac_try_echo") >&5
11452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11453 ac_status=$? 11926 ac_status=$?
11454 grep -v '^ *+' conftest.er1 >conftest.err 11927 grep -v '^ *+' conftest.er1 >conftest.err
11455 rm -f conftest.er1 11928 rm -f conftest.er1
11456 cat conftest.err >&5 11929 cat conftest.err >&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } >/dev/null && { 11931 (exit $ac_status); } >/dev/null && {
11459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11460 test ! -s conftest.err 11933 test ! -s conftest.err
11461 }; then 11934 }; then
11462 ac_header_preproc=yes 11935 ac_header_preproc=yes
11463else 11936else
11464 echo "$as_me: failed program was:" >&5 11937 $as_echo "$as_me: failed program was:" >&5
11465sed 's/^/| /' conftest.$ac_ext >&5 11938sed 's/^/| /' conftest.$ac_ext >&5
11466 11939
11467 ac_header_preproc=no 11940 ac_header_preproc=no
11468fi 11941fi
11469 11942
11470rm -f conftest.err conftest.$ac_ext 11943rm -f conftest.err conftest.$ac_ext
11471{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11944{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11472echo "${ECHO_T}$ac_header_preproc" >&6; } 11945$as_echo "$ac_header_preproc" >&6; }
11473 11946
11474# So? What about this header? 11947# So? What about this header?
11475case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11948case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11476 yes:no: ) 11949 yes:no: )
11477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11950 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11478echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11951$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11952 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11480echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11953$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11481 ac_header_preproc=yes 11954 ac_header_preproc=yes
11482 ;; 11955 ;;
11483 no:yes:* ) 11956 no:yes:* )
11484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11957 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11485echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11958$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11487echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11960$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11489echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11962$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11963 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11491echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11964$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11965 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11493echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11966$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11967 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11495echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11968$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11496 ( cat <<\_ASBOX 11969 ( cat <<\_ASBOX
11497## ------------------------------------------- ## 11970## ------------------------------------------- ##
11498## Report this to openssh-unix-dev@mindrot.org ## 11971## Report this to openssh-unix-dev@mindrot.org ##
@@ -11501,31 +11974,33 @@ _ASBOX
11501 ) | sed "s/^/$as_me: WARNING: /" >&2 11974 ) | sed "s/^/$as_me: WARNING: /" >&2
11502 ;; 11975 ;;
11503esac 11976esac
11504{ echo "$as_me:$LINENO: checking for $ac_header" >&5 11977{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11505echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 11978$as_echo_n "checking for $ac_header... " >&6; }
11506if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11979if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6 11980 $as_echo_n "(cached) " >&6
11508else 11981else
11509 eval "$as_ac_Header=\$ac_header_preproc" 11982 eval "$as_ac_Header=\$ac_header_preproc"
11510fi 11983fi
11511ac_res=`eval echo '${'$as_ac_Header'}'` 11984ac_res=`eval 'as_val=${'$as_ac_Header'}
11512 { echo "$as_me:$LINENO: result: $ac_res" >&5 11985 $as_echo "$as_val"'`
11513echo "${ECHO_T}$ac_res" >&6; } 11986 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11987$as_echo "$ac_res" >&6; }
11514 11988
11515fi 11989fi
11516if test `eval echo '${'$as_ac_Header'}'` = yes; then 11990if test `eval 'as_val=${'$as_ac_Header'}
11991 $as_echo "$as_val"'` = yes; then
11517 cat >>confdefs.h <<_ACEOF 11992 cat >>confdefs.h <<_ACEOF
11518#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11993#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11519_ACEOF 11994_ACEOF
11520 11995
11521fi 11996fi
11522 11997
11523done 11998done
11524 11999
11525{ echo "$as_me:$LINENO: checking for library containing login" >&5 12000{ $as_echo "$as_me:$LINENO: checking for library containing login" >&5
11526echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; } 12001$as_echo_n "checking for library containing login... " >&6; }
11527if test "${ac_cv_search_login+set}" = set; then 12002if test "${ac_cv_search_login+set}" = set; then
11528 echo $ECHO_N "(cached) $ECHO_C" >&6 12003 $as_echo_n "(cached) " >&6
11529else 12004else
11530 ac_func_search_save_LIBS=$LIBS 12005 ac_func_search_save_LIBS=$LIBS
11531cat >conftest.$ac_ext <<_ACEOF 12006cat >conftest.$ac_ext <<_ACEOF
@@ -11563,26 +12038,30 @@ case "(($ac_try" in
11563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11564 *) ac_try_echo=$ac_try;; 12039 *) ac_try_echo=$ac_try;;
11565esac 12040esac
11566eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12041eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12042$as_echo "$ac_try_echo") >&5
11567 (eval "$ac_link") 2>conftest.er1 12043 (eval "$ac_link") 2>conftest.er1
11568 ac_status=$? 12044 ac_status=$?
11569 grep -v '^ *+' conftest.er1 >conftest.err 12045 grep -v '^ *+' conftest.er1 >conftest.err
11570 rm -f conftest.er1 12046 rm -f conftest.er1
11571 cat conftest.err >&5 12047 cat conftest.err >&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } && { 12049 (exit $ac_status); } && {
11574 test -z "$ac_c_werror_flag" || 12050 test -z "$ac_c_werror_flag" ||
11575 test ! -s conftest.err 12051 test ! -s conftest.err
11576 } && test -s conftest$ac_exeext && 12052 } && test -s conftest$ac_exeext && {
11577 $as_test_x conftest$ac_exeext; then 12053 test "$cross_compiling" = yes ||
12054 $as_test_x conftest$ac_exeext
12055 }; then
11578 ac_cv_search_login=$ac_res 12056 ac_cv_search_login=$ac_res
11579else 12057else
11580 echo "$as_me: failed program was:" >&5 12058 $as_echo "$as_me: failed program was:" >&5
11581sed 's/^/| /' conftest.$ac_ext >&5 12059sed 's/^/| /' conftest.$ac_ext >&5
11582 12060
11583 12061
11584fi 12062fi
11585 12063
12064rm -rf conftest.dSYM
11586rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12065rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11587 conftest$ac_exeext 12066 conftest$ac_exeext
11588 if test "${ac_cv_search_login+set}" = set; then 12067 if test "${ac_cv_search_login+set}" = set; then
@@ -11597,8 +12076,8 @@ fi
11597rm conftest.$ac_ext 12076rm conftest.$ac_ext
11598LIBS=$ac_func_search_save_LIBS 12077LIBS=$ac_func_search_save_LIBS
11599fi 12078fi
11600{ echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 12079{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
11601echo "${ECHO_T}$ac_cv_search_login" >&6; } 12080$as_echo "$ac_cv_search_login" >&6; }
11602ac_res=$ac_cv_search_login 12081ac_res=$ac_cv_search_login
11603if test "$ac_res" != no; then 12082if test "$ac_res" != no; then
11604 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12083 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -11615,11 +12094,11 @@ fi
11615 12094
11616for ac_func in fmt_scaled logout updwtmp logwtmp 12095for ac_func in fmt_scaled logout updwtmp logwtmp
11617do 12096do
11618as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12097as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11619{ echo "$as_me:$LINENO: checking for $ac_func" >&5 12098{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11620echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 12099$as_echo_n "checking for $ac_func... " >&6; }
11621if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12100if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6 12101 $as_echo_n "(cached) " >&6
11623else 12102else
11624 cat >conftest.$ac_ext <<_ACEOF 12103 cat >conftest.$ac_ext <<_ACEOF
11625/* confdefs.h. */ 12104/* confdefs.h. */
@@ -11672,35 +12151,41 @@ case "(($ac_try" in
11672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11673 *) ac_try_echo=$ac_try;; 12152 *) ac_try_echo=$ac_try;;
11674esac 12153esac
11675eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12154eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12155$as_echo "$ac_try_echo") >&5
11676 (eval "$ac_link") 2>conftest.er1 12156 (eval "$ac_link") 2>conftest.er1
11677 ac_status=$? 12157 ac_status=$?
11678 grep -v '^ *+' conftest.er1 >conftest.err 12158 grep -v '^ *+' conftest.er1 >conftest.err
11679 rm -f conftest.er1 12159 rm -f conftest.er1
11680 cat conftest.err >&5 12160 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } && { 12162 (exit $ac_status); } && {
11683 test -z "$ac_c_werror_flag" || 12163 test -z "$ac_c_werror_flag" ||
11684 test ! -s conftest.err 12164 test ! -s conftest.err
11685 } && test -s conftest$ac_exeext && 12165 } && test -s conftest$ac_exeext && {
11686 $as_test_x conftest$ac_exeext; then 12166 test "$cross_compiling" = yes ||
12167 $as_test_x conftest$ac_exeext
12168 }; then
11687 eval "$as_ac_var=yes" 12169 eval "$as_ac_var=yes"
11688else 12170else
11689 echo "$as_me: failed program was:" >&5 12171 $as_echo "$as_me: failed program was:" >&5
11690sed 's/^/| /' conftest.$ac_ext >&5 12172sed 's/^/| /' conftest.$ac_ext >&5
11691 12173
11692 eval "$as_ac_var=no" 12174 eval "$as_ac_var=no"
11693fi 12175fi
11694 12176
12177rm -rf conftest.dSYM
11695rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12178rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11696 conftest$ac_exeext conftest.$ac_ext 12179 conftest$ac_exeext conftest.$ac_ext
11697fi 12180fi
11698ac_res=`eval echo '${'$as_ac_var'}'` 12181ac_res=`eval 'as_val=${'$as_ac_var'}
11699 { echo "$as_me:$LINENO: result: $ac_res" >&5 12182 $as_echo "$as_val"'`
11700echo "${ECHO_T}$ac_res" >&6; } 12183 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11701if test `eval echo '${'$as_ac_var'}'` = yes; then 12184$as_echo "$ac_res" >&6; }
12185if test `eval 'as_val=${'$as_ac_var'}
12186 $as_echo "$as_val"'` = yes; then
11702 cat >>confdefs.h <<_ACEOF 12187 cat >>confdefs.h <<_ACEOF
11703#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12188#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11704_ACEOF 12189_ACEOF
11705 12190
11706fi 12191fi
@@ -11710,11 +12195,11 @@ done
11710 12195
11711for ac_func in strftime 12196for ac_func in strftime
11712do 12197do
11713as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12198as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11714{ echo "$as_me:$LINENO: checking for $ac_func" >&5 12199{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11715echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 12200$as_echo_n "checking for $ac_func... " >&6; }
11716if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12201if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6 12202 $as_echo_n "(cached) " >&6
11718else 12203else
11719 cat >conftest.$ac_ext <<_ACEOF 12204 cat >conftest.$ac_ext <<_ACEOF
11720/* confdefs.h. */ 12205/* confdefs.h. */
@@ -11767,43 +12252,49 @@ case "(($ac_try" in
11767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11768 *) ac_try_echo=$ac_try;; 12253 *) ac_try_echo=$ac_try;;
11769esac 12254esac
11770eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12255eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12256$as_echo "$ac_try_echo") >&5
11771 (eval "$ac_link") 2>conftest.er1 12257 (eval "$ac_link") 2>conftest.er1
11772 ac_status=$? 12258 ac_status=$?
11773 grep -v '^ *+' conftest.er1 >conftest.err 12259 grep -v '^ *+' conftest.er1 >conftest.err
11774 rm -f conftest.er1 12260 rm -f conftest.er1
11775 cat conftest.err >&5 12261 cat conftest.err >&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } && { 12263 (exit $ac_status); } && {
11778 test -z "$ac_c_werror_flag" || 12264 test -z "$ac_c_werror_flag" ||
11779 test ! -s conftest.err 12265 test ! -s conftest.err
11780 } && test -s conftest$ac_exeext && 12266 } && test -s conftest$ac_exeext && {
11781 $as_test_x conftest$ac_exeext; then 12267 test "$cross_compiling" = yes ||
12268 $as_test_x conftest$ac_exeext
12269 }; then
11782 eval "$as_ac_var=yes" 12270 eval "$as_ac_var=yes"
11783else 12271else
11784 echo "$as_me: failed program was:" >&5 12272 $as_echo "$as_me: failed program was:" >&5
11785sed 's/^/| /' conftest.$ac_ext >&5 12273sed 's/^/| /' conftest.$ac_ext >&5
11786 12274
11787 eval "$as_ac_var=no" 12275 eval "$as_ac_var=no"
11788fi 12276fi
11789 12277
12278rm -rf conftest.dSYM
11790rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12279rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11791 conftest$ac_exeext conftest.$ac_ext 12280 conftest$ac_exeext conftest.$ac_ext
11792fi 12281fi
11793ac_res=`eval echo '${'$as_ac_var'}'` 12282ac_res=`eval 'as_val=${'$as_ac_var'}
11794 { echo "$as_me:$LINENO: result: $ac_res" >&5 12283 $as_echo "$as_val"'`
11795echo "${ECHO_T}$ac_res" >&6; } 12284 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11796if test `eval echo '${'$as_ac_var'}'` = yes; then 12285$as_echo "$ac_res" >&6; }
12286if test `eval 'as_val=${'$as_ac_var'}
12287 $as_echo "$as_val"'` = yes; then
11797 cat >>confdefs.h <<_ACEOF 12288 cat >>confdefs.h <<_ACEOF
11798#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12289#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11799_ACEOF 12290_ACEOF
11800 12291
11801else 12292else
11802 # strftime is in -lintl on SCO UNIX. 12293 # strftime is in -lintl on SCO UNIX.
11803{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 12294{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
11804echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } 12295$as_echo_n "checking for strftime in -lintl... " >&6; }
11805if test "${ac_cv_lib_intl_strftime+set}" = set; then 12296if test "${ac_cv_lib_intl_strftime+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6 12297 $as_echo_n "(cached) " >&6
11807else 12298else
11808 ac_check_lib_save_LIBS=$LIBS 12299 ac_check_lib_save_LIBS=$LIBS
11809LIBS="-lintl $LIBS" 12300LIBS="-lintl $LIBS"
@@ -11835,32 +12326,36 @@ case "(($ac_try" in
11835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11836 *) ac_try_echo=$ac_try;; 12327 *) ac_try_echo=$ac_try;;
11837esac 12328esac
11838eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12329eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12330$as_echo "$ac_try_echo") >&5
11839 (eval "$ac_link") 2>conftest.er1 12331 (eval "$ac_link") 2>conftest.er1
11840 ac_status=$? 12332 ac_status=$?
11841 grep -v '^ *+' conftest.er1 >conftest.err 12333 grep -v '^ *+' conftest.er1 >conftest.err
11842 rm -f conftest.er1 12334 rm -f conftest.er1
11843 cat conftest.err >&5 12335 cat conftest.err >&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } && { 12337 (exit $ac_status); } && {
11846 test -z "$ac_c_werror_flag" || 12338 test -z "$ac_c_werror_flag" ||
11847 test ! -s conftest.err 12339 test ! -s conftest.err
11848 } && test -s conftest$ac_exeext && 12340 } && test -s conftest$ac_exeext && {
11849 $as_test_x conftest$ac_exeext; then 12341 test "$cross_compiling" = yes ||
12342 $as_test_x conftest$ac_exeext
12343 }; then
11850 ac_cv_lib_intl_strftime=yes 12344 ac_cv_lib_intl_strftime=yes
11851else 12345else
11852 echo "$as_me: failed program was:" >&5 12346 $as_echo "$as_me: failed program was:" >&5
11853sed 's/^/| /' conftest.$ac_ext >&5 12347sed 's/^/| /' conftest.$ac_ext >&5
11854 12348
11855 ac_cv_lib_intl_strftime=no 12349 ac_cv_lib_intl_strftime=no
11856fi 12350fi
11857 12351
12352rm -rf conftest.dSYM
11858rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12353rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11859 conftest$ac_exeext conftest.$ac_ext 12354 conftest$ac_exeext conftest.$ac_ext
11860LIBS=$ac_check_lib_save_LIBS 12355LIBS=$ac_check_lib_save_LIBS
11861fi 12356fi
11862{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 12357{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
11863echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } 12358$as_echo "$ac_cv_lib_intl_strftime" >&6; }
11864if test $ac_cv_lib_intl_strftime = yes; then 12359if test $ac_cv_lib_intl_strftime = yes; then
11865 cat >>confdefs.h <<\_ACEOF 12360 cat >>confdefs.h <<\_ACEOF
11866#define HAVE_STRFTIME 1 12361#define HAVE_STRFTIME 1
@@ -11874,8 +12369,8 @@ done
11874 12369
11875 12370
11876# Check for ALTDIRFUNC glob() extension 12371# Check for ALTDIRFUNC glob() extension
11877{ echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 12372{ $as_echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5
11878echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6; } 12373$as_echo_n "checking for GLOB_ALTDIRFUNC support... " >&6; }
11879cat >conftest.$ac_ext <<_ACEOF 12374cat >conftest.$ac_ext <<_ACEOF
11880/* confdefs.h. */ 12375/* confdefs.h. */
11881_ACEOF 12376_ACEOF
@@ -11897,13 +12392,13 @@ cat >>confdefs.h <<\_ACEOF
11897#define GLOB_HAS_ALTDIRFUNC 1 12392#define GLOB_HAS_ALTDIRFUNC 1
11898_ACEOF 12393_ACEOF
11899 12394
11900 { echo "$as_me:$LINENO: result: yes" >&5 12395 { $as_echo "$as_me:$LINENO: result: yes" >&5
11901echo "${ECHO_T}yes" >&6; } 12396$as_echo "yes" >&6; }
11902 12397
11903else 12398else
11904 12399
11905 { echo "$as_me:$LINENO: result: no" >&5 12400 { $as_echo "$as_me:$LINENO: result: no" >&5
11906echo "${ECHO_T}no" >&6; } 12401$as_echo "no" >&6; }
11907 12402
11908 12403
11909fi 12404fi
@@ -11911,8 +12406,8 @@ rm -f conftest*
11911 12406
11912 12407
11913# Check for g.gl_matchc glob() extension 12408# Check for g.gl_matchc glob() extension
11914{ echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 12409{ $as_echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5
11915echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6; } 12410$as_echo_n "checking for gl_matchc field in glob_t... " >&6; }
11916cat >conftest.$ac_ext <<_ACEOF 12411cat >conftest.$ac_ext <<_ACEOF
11917/* confdefs.h. */ 12412/* confdefs.h. */
11918_ACEOF 12413_ACEOF
@@ -11934,13 +12429,14 @@ case "(($ac_try" in
11934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11935 *) ac_try_echo=$ac_try;; 12430 *) ac_try_echo=$ac_try;;
11936esac 12431esac
11937eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12432eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12433$as_echo "$ac_try_echo") >&5
11938 (eval "$ac_compile") 2>conftest.er1 12434 (eval "$ac_compile") 2>conftest.er1
11939 ac_status=$? 12435 ac_status=$?
11940 grep -v '^ *+' conftest.er1 >conftest.err 12436 grep -v '^ *+' conftest.er1 >conftest.err
11941 rm -f conftest.er1 12437 rm -f conftest.er1
11942 cat conftest.err >&5 12438 cat conftest.err >&5
11943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944 (exit $ac_status); } && { 12440 (exit $ac_status); } && {
11945 test -z "$ac_c_werror_flag" || 12441 test -z "$ac_c_werror_flag" ||
11946 test ! -s conftest.err 12442 test ! -s conftest.err
@@ -11951,26 +12447,26 @@ cat >>confdefs.h <<\_ACEOF
11951#define GLOB_HAS_GL_MATCHC 1 12447#define GLOB_HAS_GL_MATCHC 1
11952_ACEOF 12448_ACEOF
11953 12449
11954 { echo "$as_me:$LINENO: result: yes" >&5 12450 { $as_echo "$as_me:$LINENO: result: yes" >&5
11955echo "${ECHO_T}yes" >&6; } 12451$as_echo "yes" >&6; }
11956 12452
11957else 12453else
11958 echo "$as_me: failed program was:" >&5 12454 $as_echo "$as_me: failed program was:" >&5
11959sed 's/^/| /' conftest.$ac_ext >&5 12455sed 's/^/| /' conftest.$ac_ext >&5
11960 12456
11961 12457
11962 { echo "$as_me:$LINENO: result: no" >&5 12458 { $as_echo "$as_me:$LINENO: result: no" >&5
11963echo "${ECHO_T}no" >&6; } 12459$as_echo "no" >&6; }
11964 12460
11965 12461
11966fi 12462fi
11967 12463
11968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11969 12465
11970{ echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5 12466{ $as_echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5
11971echo $ECHO_N "checking whether GLOB_NOMATCH is declared... $ECHO_C" >&6; } 12467$as_echo_n "checking whether GLOB_NOMATCH is declared... " >&6; }
11972if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then 12468if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6 12469 $as_echo_n "(cached) " >&6
11974else 12470else
11975 cat >conftest.$ac_ext <<_ACEOF 12471 cat >conftest.$ac_ext <<_ACEOF
11976/* confdefs.h. */ 12472/* confdefs.h. */
@@ -11997,20 +12493,21 @@ case "(($ac_try" in
11997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11998 *) ac_try_echo=$ac_try;; 12494 *) ac_try_echo=$ac_try;;
11999esac 12495esac
12000eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12496eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12497$as_echo "$ac_try_echo") >&5
12001 (eval "$ac_compile") 2>conftest.er1 12498 (eval "$ac_compile") 2>conftest.er1
12002 ac_status=$? 12499 ac_status=$?
12003 grep -v '^ *+' conftest.er1 >conftest.err 12500 grep -v '^ *+' conftest.er1 >conftest.err
12004 rm -f conftest.er1 12501 rm -f conftest.er1
12005 cat conftest.err >&5 12502 cat conftest.err >&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12503 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); } && { 12504 (exit $ac_status); } && {
12008 test -z "$ac_c_werror_flag" || 12505 test -z "$ac_c_werror_flag" ||
12009 test ! -s conftest.err 12506 test ! -s conftest.err
12010 } && test -s conftest.$ac_objext; then 12507 } && test -s conftest.$ac_objext; then
12011 ac_cv_have_decl_GLOB_NOMATCH=yes 12508 ac_cv_have_decl_GLOB_NOMATCH=yes
12012else 12509else
12013 echo "$as_me: failed program was:" >&5 12510 $as_echo "$as_me: failed program was:" >&5
12014sed 's/^/| /' conftest.$ac_ext >&5 12511sed 's/^/| /' conftest.$ac_ext >&5
12015 12512
12016 ac_cv_have_decl_GLOB_NOMATCH=no 12513 ac_cv_have_decl_GLOB_NOMATCH=no
@@ -12018,8 +12515,8 @@ fi
12018 12515
12019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12020fi 12517fi
12021{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_GLOB_NOMATCH" >&5 12518{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GLOB_NOMATCH" >&5
12022echo "${ECHO_T}$ac_cv_have_decl_GLOB_NOMATCH" >&6; } 12519$as_echo "$ac_cv_have_decl_GLOB_NOMATCH" >&6; }
12023if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then 12520if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then
12024 12521
12025cat >>confdefs.h <<_ACEOF 12522cat >>confdefs.h <<_ACEOF
@@ -12037,12 +12534,12 @@ fi
12037 12534
12038 12535
12039 12536
12040{ echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 12537{ $as_echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
12041echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6; } 12538$as_echo_n "checking whether struct dirent allocates space for d_name... " >&6; }
12042if test "$cross_compiling" = yes; then 12539if test "$cross_compiling" = yes; then
12043 12540
12044 { echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 12541 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5
12045echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;} 12542$as_echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;}
12046 cat >>confdefs.h <<\_ACEOF 12543 cat >>confdefs.h <<\_ACEOF
12047#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 12544#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
12048_ACEOF 12545_ACEOF
@@ -12068,31 +12565,33 @@ case "(($ac_try" in
12068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12069 *) ac_try_echo=$ac_try;; 12566 *) ac_try_echo=$ac_try;;
12070esac 12567esac
12071eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12568eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12569$as_echo "$ac_try_echo") >&5
12072 (eval "$ac_link") 2>&5 12570 (eval "$ac_link") 2>&5
12073 ac_status=$? 12571 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12076 { (case "(($ac_try" in 12574 { (case "(($ac_try" in
12077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12078 *) ac_try_echo=$ac_try;; 12576 *) ac_try_echo=$ac_try;;
12079esac 12577esac
12080eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12578eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12579$as_echo "$ac_try_echo") >&5
12081 (eval "$ac_try") 2>&5 12580 (eval "$ac_try") 2>&5
12082 ac_status=$? 12581 ac_status=$?
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); }; }; then 12583 (exit $ac_status); }; }; then
12085 { echo "$as_me:$LINENO: result: yes" >&5 12584 { $as_echo "$as_me:$LINENO: result: yes" >&5
12086echo "${ECHO_T}yes" >&6; } 12585$as_echo "yes" >&6; }
12087else 12586else
12088 echo "$as_me: program exited with status $ac_status" >&5 12587 $as_echo "$as_me: program exited with status $ac_status" >&5
12089echo "$as_me: failed program was:" >&5 12588$as_echo "$as_me: failed program was:" >&5
12090sed 's/^/| /' conftest.$ac_ext >&5 12589sed 's/^/| /' conftest.$ac_ext >&5
12091 12590
12092( exit $ac_status ) 12591( exit $ac_status )
12093 12592
12094 { echo "$as_me:$LINENO: result: no" >&5 12593 { $as_echo "$as_me:$LINENO: result: no" >&5
12095echo "${ECHO_T}no" >&6; } 12594$as_echo "no" >&6; }
12096 12595
12097cat >>confdefs.h <<\_ACEOF 12596cat >>confdefs.h <<\_ACEOF
12098#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 12597#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
@@ -12100,24 +12599,25 @@ _ACEOF
12100 12599
12101 12600
12102fi 12601fi
12602rm -rf conftest.dSYM
12103rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12603rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12104fi 12604fi
12105 12605
12106 12606
12107 12607
12108{ echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 12608{ $as_echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5
12109echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6; } 12609$as_echo_n "checking for /proc/pid/fd directory... " >&6; }
12110if test -d "/proc/$$/fd" ; then 12610if test -d "/proc/$$/fd" ; then
12111 12611
12112cat >>confdefs.h <<\_ACEOF 12612cat >>confdefs.h <<\_ACEOF
12113#define HAVE_PROC_PID 1 12613#define HAVE_PROC_PID 1
12114_ACEOF 12614_ACEOF
12115 12615
12116 { echo "$as_me:$LINENO: result: yes" >&5 12616 { $as_echo "$as_me:$LINENO: result: yes" >&5
12117echo "${ECHO_T}yes" >&6; } 12617$as_echo "yes" >&6; }
12118else 12618else
12119 { echo "$as_me:$LINENO: result: no" >&5 12619 { $as_echo "$as_me:$LINENO: result: no" >&5
12120echo "${ECHO_T}no" >&6; } 12620$as_echo "no" >&6; }
12121fi 12621fi
12122 12622
12123# Check whether user wants S/Key support 12623# Check whether user wants S/Key support
@@ -12141,8 +12641,8 @@ _ACEOF
12141 LIBS="-lskey $LIBS" 12641 LIBS="-lskey $LIBS"
12142 SKEY_MSG="yes" 12642 SKEY_MSG="yes"
12143 12643
12144 { echo "$as_me:$LINENO: checking for s/key support" >&5 12644 { $as_echo "$as_me:$LINENO: checking for s/key support" >&5
12145echo $ECHO_N "checking for s/key support... $ECHO_C" >&6; } 12645$as_echo_n "checking for s/key support... " >&6; }
12146 cat >conftest.$ac_ext <<_ACEOF 12646 cat >conftest.$ac_ext <<_ACEOF
12147/* confdefs.h. */ 12647/* confdefs.h. */
12148_ACEOF 12648_ACEOF
@@ -12161,37 +12661,41 @@ case "(($ac_try" in
12161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;; 12662 *) ac_try_echo=$ac_try;;
12163esac 12663esac
12164eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12664eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12665$as_echo "$ac_try_echo") >&5
12165 (eval "$ac_link") 2>conftest.er1 12666 (eval "$ac_link") 2>conftest.er1
12166 ac_status=$? 12667 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err 12668 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1 12669 rm -f conftest.er1
12169 cat conftest.err >&5 12670 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } && { 12672 (exit $ac_status); } && {
12172 test -z "$ac_c_werror_flag" || 12673 test -z "$ac_c_werror_flag" ||
12173 test ! -s conftest.err 12674 test ! -s conftest.err
12174 } && test -s conftest$ac_exeext && 12675 } && test -s conftest$ac_exeext && {
12175 $as_test_x conftest$ac_exeext; then 12676 test "$cross_compiling" = yes ||
12176 { echo "$as_me:$LINENO: result: yes" >&5 12677 $as_test_x conftest$ac_exeext
12177echo "${ECHO_T}yes" >&6; } 12678 }; then
12679 { $as_echo "$as_me:$LINENO: result: yes" >&5
12680$as_echo "yes" >&6; }
12178else 12681else
12179 echo "$as_me: failed program was:" >&5 12682 $as_echo "$as_me: failed program was:" >&5
12180sed 's/^/| /' conftest.$ac_ext >&5 12683sed 's/^/| /' conftest.$ac_ext >&5
12181 12684
12182 12685
12183 { echo "$as_me:$LINENO: result: no" >&5 12686 { $as_echo "$as_me:$LINENO: result: no" >&5
12184echo "${ECHO_T}no" >&6; } 12687$as_echo "no" >&6; }
12185 { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 12688 { { $as_echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5
12186echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} 12689$as_echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
12187 { (exit 1); exit 1; }; } 12690 { (exit 1); exit 1; }; }
12188 12691
12189fi 12692fi
12190 12693
12694rm -rf conftest.dSYM
12191rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12695rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12192 conftest$ac_exeext conftest.$ac_ext 12696 conftest$ac_exeext conftest.$ac_ext
12193 { echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 12697 { $as_echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5
12194echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6; } 12698$as_echo_n "checking if skeychallenge takes 4 arguments... " >&6; }
12195 cat >conftest.$ac_ext <<_ACEOF 12699 cat >conftest.$ac_ext <<_ACEOF
12196/* confdefs.h. */ 12700/* confdefs.h. */
12197_ACEOF 12701_ACEOF
@@ -12214,30 +12718,31 @@ case "(($ac_try" in
12214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12215 *) ac_try_echo=$ac_try;; 12719 *) ac_try_echo=$ac_try;;
12216esac 12720esac
12217eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12721eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12722$as_echo "$ac_try_echo") >&5
12218 (eval "$ac_compile") 2>conftest.er1 12723 (eval "$ac_compile") 2>conftest.er1
12219 ac_status=$? 12724 ac_status=$?
12220 grep -v '^ *+' conftest.er1 >conftest.err 12725 grep -v '^ *+' conftest.er1 >conftest.err
12221 rm -f conftest.er1 12726 rm -f conftest.er1
12222 cat conftest.err >&5 12727 cat conftest.err >&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); } && { 12729 (exit $ac_status); } && {
12225 test -z "$ac_c_werror_flag" || 12730 test -z "$ac_c_werror_flag" ||
12226 test ! -s conftest.err 12731 test ! -s conftest.err
12227 } && test -s conftest.$ac_objext; then 12732 } && test -s conftest.$ac_objext; then
12228 { echo "$as_me:$LINENO: result: yes" >&5 12733 { $as_echo "$as_me:$LINENO: result: yes" >&5
12229echo "${ECHO_T}yes" >&6; } 12734$as_echo "yes" >&6; }
12230 12735
12231cat >>confdefs.h <<\_ACEOF 12736cat >>confdefs.h <<\_ACEOF
12232#define SKEYCHALLENGE_4ARG 1 12737#define SKEYCHALLENGE_4ARG 1
12233_ACEOF 12738_ACEOF
12234 12739
12235else 12740else
12236 echo "$as_me: failed program was:" >&5 12741 $as_echo "$as_me: failed program was:" >&5
12237sed 's/^/| /' conftest.$ac_ext >&5 12742sed 's/^/| /' conftest.$ac_ext >&5
12238 12743
12239 { echo "$as_me:$LINENO: result: no" >&5 12744 { $as_echo "$as_me:$LINENO: result: no" >&5
12240echo "${ECHO_T}no" >&6; } 12745$as_echo "no" >&6; }
12241 12746
12242fi 12747fi
12243 12748
@@ -12280,8 +12785,8 @@ if test "${with_tcp_wrappers+set}" = set; then
12280 fi 12785 fi
12281 fi 12786 fi
12282 LIBS="-lwrap $LIBS" 12787 LIBS="-lwrap $LIBS"
12283 { echo "$as_me:$LINENO: checking for libwrap" >&5 12788 { $as_echo "$as_me:$LINENO: checking for libwrap" >&5
12284echo $ECHO_N "checking for libwrap... $ECHO_C" >&6; } 12789$as_echo_n "checking for libwrap... " >&6; }
12285 cat >conftest.$ac_ext <<_ACEOF 12790 cat >conftest.$ac_ext <<_ACEOF
12286/* confdefs.h. */ 12791/* confdefs.h. */
12287_ACEOF 12792_ACEOF
@@ -12309,21 +12814,24 @@ case "(($ac_try" in
12309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12310 *) ac_try_echo=$ac_try;; 12815 *) ac_try_echo=$ac_try;;
12311esac 12816esac
12312eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12817eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12818$as_echo "$ac_try_echo") >&5
12313 (eval "$ac_link") 2>conftest.er1 12819 (eval "$ac_link") 2>conftest.er1
12314 ac_status=$? 12820 ac_status=$?
12315 grep -v '^ *+' conftest.er1 >conftest.err 12821 grep -v '^ *+' conftest.er1 >conftest.err
12316 rm -f conftest.er1 12822 rm -f conftest.er1
12317 cat conftest.err >&5 12823 cat conftest.err >&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } && { 12825 (exit $ac_status); } && {
12320 test -z "$ac_c_werror_flag" || 12826 test -z "$ac_c_werror_flag" ||
12321 test ! -s conftest.err 12827 test ! -s conftest.err
12322 } && test -s conftest$ac_exeext && 12828 } && test -s conftest$ac_exeext && {
12323 $as_test_x conftest$ac_exeext; then 12829 test "$cross_compiling" = yes ||
12830 $as_test_x conftest$ac_exeext
12831 }; then
12324 12832
12325 { echo "$as_me:$LINENO: result: yes" >&5 12833 { $as_echo "$as_me:$LINENO: result: yes" >&5
12326echo "${ECHO_T}yes" >&6; } 12834$as_echo "yes" >&6; }
12327 12835
12328cat >>confdefs.h <<\_ACEOF 12836cat >>confdefs.h <<\_ACEOF
12329#define LIBWRAP 1 12837#define LIBWRAP 1
@@ -12333,17 +12841,18 @@ _ACEOF
12333 TCPW_MSG="yes" 12841 TCPW_MSG="yes"
12334 12842
12335else 12843else
12336 echo "$as_me: failed program was:" >&5 12844 $as_echo "$as_me: failed program was:" >&5
12337sed 's/^/| /' conftest.$ac_ext >&5 12845sed 's/^/| /' conftest.$ac_ext >&5
12338 12846
12339 12847
12340 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5 12848 { { $as_echo "$as_me:$LINENO: error: *** libwrap missing" >&5
12341echo "$as_me: error: *** libwrap missing" >&2;} 12849$as_echo "$as_me: error: *** libwrap missing" >&2;}
12342 { (exit 1); exit 1; }; } 12850 { (exit 1); exit 1; }; }
12343 12851
12344 12852
12345fi 12853fi
12346 12854
12855rm -rf conftest.dSYM
12347rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12856rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12348 conftest$ac_exeext conftest.$ac_ext 12857 conftest$ac_exeext conftest.$ac_ext
12349 LIBS="$saved_LIBS" 12858 LIBS="$saved_LIBS"
@@ -12367,10 +12876,10 @@ if test "${with_libedit+set}" = set; then
12367 LDFLAGS="-L${withval}/lib ${LDFLAGS}" 12876 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
12368 fi 12877 fi
12369 fi 12878 fi
12370 { echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 12879 { $as_echo "$as_me:$LINENO: checking for el_init in -ledit" >&5
12371echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6; } 12880$as_echo_n "checking for el_init in -ledit... " >&6; }
12372if test "${ac_cv_lib_edit_el_init+set}" = set; then 12881if test "${ac_cv_lib_edit_el_init+set}" = set; then
12373 echo $ECHO_N "(cached) $ECHO_C" >&6 12882 $as_echo_n "(cached) " >&6
12374else 12883else
12375 ac_check_lib_save_LIBS=$LIBS 12884 ac_check_lib_save_LIBS=$LIBS
12376LIBS="-ledit -lcurses 12885LIBS="-ledit -lcurses
@@ -12403,32 +12912,36 @@ case "(($ac_try" in
12403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12404 *) ac_try_echo=$ac_try;; 12913 *) ac_try_echo=$ac_try;;
12405esac 12914esac
12406eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12915eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12916$as_echo "$ac_try_echo") >&5
12407 (eval "$ac_link") 2>conftest.er1 12917 (eval "$ac_link") 2>conftest.er1
12408 ac_status=$? 12918 ac_status=$?
12409 grep -v '^ *+' conftest.er1 >conftest.err 12919 grep -v '^ *+' conftest.er1 >conftest.err
12410 rm -f conftest.er1 12920 rm -f conftest.er1
12411 cat conftest.err >&5 12921 cat conftest.err >&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); } && { 12923 (exit $ac_status); } && {
12414 test -z "$ac_c_werror_flag" || 12924 test -z "$ac_c_werror_flag" ||
12415 test ! -s conftest.err 12925 test ! -s conftest.err
12416 } && test -s conftest$ac_exeext && 12926 } && test -s conftest$ac_exeext && {
12417 $as_test_x conftest$ac_exeext; then 12927 test "$cross_compiling" = yes ||
12928 $as_test_x conftest$ac_exeext
12929 }; then
12418 ac_cv_lib_edit_el_init=yes 12930 ac_cv_lib_edit_el_init=yes
12419else 12931else
12420 echo "$as_me: failed program was:" >&5 12932 $as_echo "$as_me: failed program was:" >&5
12421sed 's/^/| /' conftest.$ac_ext >&5 12933sed 's/^/| /' conftest.$ac_ext >&5
12422 12934
12423 ac_cv_lib_edit_el_init=no 12935 ac_cv_lib_edit_el_init=no
12424fi 12936fi
12425 12937
12938rm -rf conftest.dSYM
12426rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12939rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12427 conftest$ac_exeext conftest.$ac_ext 12940 conftest$ac_exeext conftest.$ac_ext
12428LIBS=$ac_check_lib_save_LIBS 12941LIBS=$ac_check_lib_save_LIBS
12429fi 12942fi
12430{ echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5 12943{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5
12431echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6; } 12944$as_echo "$ac_cv_lib_edit_el_init" >&6; }
12432if test $ac_cv_lib_edit_el_init = yes; then 12945if test $ac_cv_lib_edit_el_init = yes; then
12433 12946
12434cat >>confdefs.h <<\_ACEOF 12947cat >>confdefs.h <<\_ACEOF
@@ -12440,13 +12953,13 @@ _ACEOF
12440 12953
12441 12954
12442else 12955else
12443 { { echo "$as_me:$LINENO: error: libedit not found" >&5 12956 { { $as_echo "$as_me:$LINENO: error: libedit not found" >&5
12444echo "$as_me: error: libedit not found" >&2;} 12957$as_echo "$as_me: error: libedit not found" >&2;}
12445 { (exit 1); exit 1; }; } 12958 { (exit 1); exit 1; }; }
12446fi 12959fi
12447 12960
12448 { echo "$as_me:$LINENO: checking if libedit version is compatible" >&5 12961 { $as_echo "$as_me:$LINENO: checking if libedit version is compatible" >&5
12449echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6; } 12962$as_echo_n "checking if libedit version is compatible... " >&6; }
12450 cat >conftest.$ac_ext <<_ACEOF 12963 cat >conftest.$ac_ext <<_ACEOF
12451/* confdefs.h. */ 12964/* confdefs.h. */
12452_ACEOF 12965_ACEOF
@@ -12469,27 +12982,28 @@ case "(($ac_try" in
12469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12470 *) ac_try_echo=$ac_try;; 12983 *) ac_try_echo=$ac_try;;
12471esac 12984esac
12472eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12985eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12986$as_echo "$ac_try_echo") >&5
12473 (eval "$ac_compile") 2>conftest.er1 12987 (eval "$ac_compile") 2>conftest.er1
12474 ac_status=$? 12988 ac_status=$?
12475 grep -v '^ *+' conftest.er1 >conftest.err 12989 grep -v '^ *+' conftest.er1 >conftest.err
12476 rm -f conftest.er1 12990 rm -f conftest.er1
12477 cat conftest.err >&5 12991 cat conftest.err >&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } && { 12993 (exit $ac_status); } && {
12480 test -z "$ac_c_werror_flag" || 12994 test -z "$ac_c_werror_flag" ||
12481 test ! -s conftest.err 12995 test ! -s conftest.err
12482 } && test -s conftest.$ac_objext; then 12996 } && test -s conftest.$ac_objext; then
12483 { echo "$as_me:$LINENO: result: yes" >&5 12997 { $as_echo "$as_me:$LINENO: result: yes" >&5
12484echo "${ECHO_T}yes" >&6; } 12998$as_echo "yes" >&6; }
12485else 12999else
12486 echo "$as_me: failed program was:" >&5 13000 $as_echo "$as_me: failed program was:" >&5
12487sed 's/^/| /' conftest.$ac_ext >&5 13001sed 's/^/| /' conftest.$ac_ext >&5
12488 13002
12489 { echo "$as_me:$LINENO: result: no" >&5 13003 { $as_echo "$as_me:$LINENO: result: no" >&5
12490echo "${ECHO_T}no" >&6; } 13004$as_echo "no" >&6; }
12491 { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5 13005 { { $as_echo "$as_me:$LINENO: error: libedit version is not compatible" >&5
12492echo "$as_me: error: libedit version is not compatible" >&2;} 13006$as_echo "$as_me: error: libedit version is not compatible" >&2;}
12493 { (exit 1); exit 1; }; } 13007 { (exit 1); exit 1; }; }
12494 13008
12495fi 13009fi
@@ -12505,21 +13019,21 @@ AUDIT_MODULE=none
12505# Check whether --with-audit was given. 13019# Check whether --with-audit was given.
12506if test "${with_audit+set}" = set; then 13020if test "${with_audit+set}" = set; then
12507 withval=$with_audit; 13021 withval=$with_audit;
12508 { echo "$as_me:$LINENO: checking for supported audit module" >&5 13022 { $as_echo "$as_me:$LINENO: checking for supported audit module" >&5
12509echo $ECHO_N "checking for supported audit module... $ECHO_C" >&6; } 13023$as_echo_n "checking for supported audit module... " >&6; }
12510 case "$withval" in 13024 case "$withval" in
12511 bsm) 13025 bsm)
12512 { echo "$as_me:$LINENO: result: bsm" >&5 13026 { $as_echo "$as_me:$LINENO: result: bsm" >&5
12513echo "${ECHO_T}bsm" >&6; } 13027$as_echo "bsm" >&6; }
12514 AUDIT_MODULE=bsm 13028 AUDIT_MODULE=bsm
12515 13029
12516for ac_header in bsm/audit.h 13030for ac_header in bsm/audit.h
12517do 13031do
12518as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13032as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12519{ echo "$as_me:$LINENO: checking for $ac_header" >&5 13033{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12520echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 13034$as_echo_n "checking for $ac_header... " >&6; }
12521if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13035if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6 13036 $as_echo_n "(cached) " >&6
12523else 13037else
12524 cat >conftest.$ac_ext <<_ACEOF 13038 cat >conftest.$ac_ext <<_ACEOF
12525/* confdefs.h. */ 13039/* confdefs.h. */
@@ -12542,20 +13056,21 @@ case "(($ac_try" in
12542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12543 *) ac_try_echo=$ac_try;; 13057 *) ac_try_echo=$ac_try;;
12544esac 13058esac
12545eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13059eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13060$as_echo "$ac_try_echo") >&5
12546 (eval "$ac_compile") 2>conftest.er1 13061 (eval "$ac_compile") 2>conftest.er1
12547 ac_status=$? 13062 ac_status=$?
12548 grep -v '^ *+' conftest.er1 >conftest.err 13063 grep -v '^ *+' conftest.er1 >conftest.err
12549 rm -f conftest.er1 13064 rm -f conftest.er1
12550 cat conftest.err >&5 13065 cat conftest.err >&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } && { 13067 (exit $ac_status); } && {
12553 test -z "$ac_c_werror_flag" || 13068 test -z "$ac_c_werror_flag" ||
12554 test ! -s conftest.err 13069 test ! -s conftest.err
12555 } && test -s conftest.$ac_objext; then 13070 } && test -s conftest.$ac_objext; then
12556 eval "$as_ac_Header=yes" 13071 eval "$as_ac_Header=yes"
12557else 13072else
12558 echo "$as_me: failed program was:" >&5 13073 $as_echo "$as_me: failed program was:" >&5
12559sed 's/^/| /' conftest.$ac_ext >&5 13074sed 's/^/| /' conftest.$ac_ext >&5
12560 13075
12561 eval "$as_ac_Header=no" 13076 eval "$as_ac_Header=no"
@@ -12563,27 +13078,29 @@ fi
12563 13078
12564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12565fi 13080fi
12566ac_res=`eval echo '${'$as_ac_Header'}'` 13081ac_res=`eval 'as_val=${'$as_ac_Header'}
12567 { echo "$as_me:$LINENO: result: $ac_res" >&5 13082 $as_echo "$as_val"'`
12568echo "${ECHO_T}$ac_res" >&6; } 13083 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12569if test `eval echo '${'$as_ac_Header'}'` = yes; then 13084$as_echo "$ac_res" >&6; }
13085if test `eval 'as_val=${'$as_ac_Header'}
13086 $as_echo "$as_val"'` = yes; then
12570 cat >>confdefs.h <<_ACEOF 13087 cat >>confdefs.h <<_ACEOF
12571#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13088#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12572_ACEOF 13089_ACEOF
12573 13090
12574else 13091else
12575 { { echo "$as_me:$LINENO: error: BSM enabled and bsm/audit.h not found" >&5 13092 { { $as_echo "$as_me:$LINENO: error: BSM enabled and bsm/audit.h not found" >&5
12576echo "$as_me: error: BSM enabled and bsm/audit.h not found" >&2;} 13093$as_echo "$as_me: error: BSM enabled and bsm/audit.h not found" >&2;}
12577 { (exit 1); exit 1; }; } 13094 { (exit 1); exit 1; }; }
12578fi 13095fi
12579 13096
12580done 13097done
12581 13098
12582 13099
12583{ echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5 13100{ $as_echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5
12584echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6; } 13101$as_echo_n "checking for getaudit in -lbsm... " >&6; }
12585if test "${ac_cv_lib_bsm_getaudit+set}" = set; then 13102if test "${ac_cv_lib_bsm_getaudit+set}" = set; then
12586 echo $ECHO_N "(cached) $ECHO_C" >&6 13103 $as_echo_n "(cached) " >&6
12587else 13104else
12588 ac_check_lib_save_LIBS=$LIBS 13105 ac_check_lib_save_LIBS=$LIBS
12589LIBS="-lbsm $LIBS" 13106LIBS="-lbsm $LIBS"
@@ -12615,32 +13132,36 @@ case "(($ac_try" in
12615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12616 *) ac_try_echo=$ac_try;; 13133 *) ac_try_echo=$ac_try;;
12617esac 13134esac
12618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13135eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13136$as_echo "$ac_try_echo") >&5
12619 (eval "$ac_link") 2>conftest.er1 13137 (eval "$ac_link") 2>conftest.er1
12620 ac_status=$? 13138 ac_status=$?
12621 grep -v '^ *+' conftest.er1 >conftest.err 13139 grep -v '^ *+' conftest.er1 >conftest.err
12622 rm -f conftest.er1 13140 rm -f conftest.er1
12623 cat conftest.err >&5 13141 cat conftest.err >&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); } && { 13143 (exit $ac_status); } && {
12626 test -z "$ac_c_werror_flag" || 13144 test -z "$ac_c_werror_flag" ||
12627 test ! -s conftest.err 13145 test ! -s conftest.err
12628 } && test -s conftest$ac_exeext && 13146 } && test -s conftest$ac_exeext && {
12629 $as_test_x conftest$ac_exeext; then 13147 test "$cross_compiling" = yes ||
13148 $as_test_x conftest$ac_exeext
13149 }; then
12630 ac_cv_lib_bsm_getaudit=yes 13150 ac_cv_lib_bsm_getaudit=yes
12631else 13151else
12632 echo "$as_me: failed program was:" >&5 13152 $as_echo "$as_me: failed program was:" >&5
12633sed 's/^/| /' conftest.$ac_ext >&5 13153sed 's/^/| /' conftest.$ac_ext >&5
12634 13154
12635 ac_cv_lib_bsm_getaudit=no 13155 ac_cv_lib_bsm_getaudit=no
12636fi 13156fi
12637 13157
13158rm -rf conftest.dSYM
12638rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13159rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12639 conftest$ac_exeext conftest.$ac_ext 13160 conftest$ac_exeext conftest.$ac_ext
12640LIBS=$ac_check_lib_save_LIBS 13161LIBS=$ac_check_lib_save_LIBS
12641fi 13162fi
12642{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5 13163{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5
12643echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6; } 13164$as_echo "$ac_cv_lib_bsm_getaudit" >&6; }
12644if test $ac_cv_lib_bsm_getaudit = yes; then 13165if test $ac_cv_lib_bsm_getaudit = yes; then
12645 cat >>confdefs.h <<_ACEOF 13166 cat >>confdefs.h <<_ACEOF
12646#define HAVE_LIBBSM 1 13167#define HAVE_LIBBSM 1
@@ -12649,19 +13170,19 @@ _ACEOF
12649 LIBS="-lbsm $LIBS" 13170 LIBS="-lbsm $LIBS"
12650 13171
12651else 13172else
12652 { { echo "$as_me:$LINENO: error: BSM enabled and required library not found" >&5 13173 { { $as_echo "$as_me:$LINENO: error: BSM enabled and required library not found" >&5
12653echo "$as_me: error: BSM enabled and required library not found" >&2;} 13174$as_echo "$as_me: error: BSM enabled and required library not found" >&2;}
12654 { (exit 1); exit 1; }; } 13175 { (exit 1); exit 1; }; }
12655fi 13176fi
12656 13177
12657 13178
12658for ac_func in getaudit 13179for ac_func in getaudit
12659do 13180do
12660as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13181as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12661{ echo "$as_me:$LINENO: checking for $ac_func" >&5 13182{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12662echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 13183$as_echo_n "checking for $ac_func... " >&6; }
12663if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13184if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12664 echo $ECHO_N "(cached) $ECHO_C" >&6 13185 $as_echo_n "(cached) " >&6
12665else 13186else
12666 cat >conftest.$ac_ext <<_ACEOF 13187 cat >conftest.$ac_ext <<_ACEOF
12667/* confdefs.h. */ 13188/* confdefs.h. */
@@ -12714,40 +13235,46 @@ case "(($ac_try" in
12714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12715 *) ac_try_echo=$ac_try;; 13236 *) ac_try_echo=$ac_try;;
12716esac 13237esac
12717eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13239$as_echo "$ac_try_echo") >&5
12718 (eval "$ac_link") 2>conftest.er1 13240 (eval "$ac_link") 2>conftest.er1
12719 ac_status=$? 13241 ac_status=$?
12720 grep -v '^ *+' conftest.er1 >conftest.err 13242 grep -v '^ *+' conftest.er1 >conftest.err
12721 rm -f conftest.er1 13243 rm -f conftest.er1
12722 cat conftest.err >&5 13244 cat conftest.err >&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); } && { 13246 (exit $ac_status); } && {
12725 test -z "$ac_c_werror_flag" || 13247 test -z "$ac_c_werror_flag" ||
12726 test ! -s conftest.err 13248 test ! -s conftest.err
12727 } && test -s conftest$ac_exeext && 13249 } && test -s conftest$ac_exeext && {
12728 $as_test_x conftest$ac_exeext; then 13250 test "$cross_compiling" = yes ||
13251 $as_test_x conftest$ac_exeext
13252 }; then
12729 eval "$as_ac_var=yes" 13253 eval "$as_ac_var=yes"
12730else 13254else
12731 echo "$as_me: failed program was:" >&5 13255 $as_echo "$as_me: failed program was:" >&5
12732sed 's/^/| /' conftest.$ac_ext >&5 13256sed 's/^/| /' conftest.$ac_ext >&5
12733 13257
12734 eval "$as_ac_var=no" 13258 eval "$as_ac_var=no"
12735fi 13259fi
12736 13260
13261rm -rf conftest.dSYM
12737rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13262rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12738 conftest$ac_exeext conftest.$ac_ext 13263 conftest$ac_exeext conftest.$ac_ext
12739fi 13264fi
12740ac_res=`eval echo '${'$as_ac_var'}'` 13265ac_res=`eval 'as_val=${'$as_ac_var'}
12741 { echo "$as_me:$LINENO: result: $ac_res" >&5 13266 $as_echo "$as_val"'`
12742echo "${ECHO_T}$ac_res" >&6; } 13267 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12743if test `eval echo '${'$as_ac_var'}'` = yes; then 13268$as_echo "$ac_res" >&6; }
13269if test `eval 'as_val=${'$as_ac_var'}
13270 $as_echo "$as_val"'` = yes; then
12744 cat >>confdefs.h <<_ACEOF 13271 cat >>confdefs.h <<_ACEOF
12745#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13272#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12746_ACEOF 13273_ACEOF
12747 13274
12748else 13275else
12749 { { echo "$as_me:$LINENO: error: BSM enabled and required function not found" >&5 13276 { { $as_echo "$as_me:$LINENO: error: BSM enabled and required function not found" >&5
12750echo "$as_me: error: BSM enabled and required function not found" >&2;} 13277$as_echo "$as_me: error: BSM enabled and required function not found" >&2;}
12751 { (exit 1); exit 1; }; } 13278 { (exit 1); exit 1; }; }
12752fi 13279fi
12753done 13280done
@@ -12757,11 +13284,11 @@ done
12757 13284
12758for ac_func in getaudit_addr aug_get_machine 13285for ac_func in getaudit_addr aug_get_machine
12759do 13286do
12760as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13287as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12761{ echo "$as_me:$LINENO: checking for $ac_func" >&5 13288{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12762echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 13289$as_echo_n "checking for $ac_func... " >&6; }
12763if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13290if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6 13291 $as_echo_n "(cached) " >&6
12765else 13292else
12766 cat >conftest.$ac_ext <<_ACEOF 13293 cat >conftest.$ac_ext <<_ACEOF
12767/* confdefs.h. */ 13294/* confdefs.h. */
@@ -12814,35 +13341,41 @@ case "(($ac_try" in
12814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12815 *) ac_try_echo=$ac_try;; 13342 *) ac_try_echo=$ac_try;;
12816esac 13343esac
12817eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13344eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13345$as_echo "$ac_try_echo") >&5
12818 (eval "$ac_link") 2>conftest.er1 13346 (eval "$ac_link") 2>conftest.er1
12819 ac_status=$? 13347 ac_status=$?
12820 grep -v '^ *+' conftest.er1 >conftest.err 13348 grep -v '^ *+' conftest.er1 >conftest.err
12821 rm -f conftest.er1 13349 rm -f conftest.er1
12822 cat conftest.err >&5 13350 cat conftest.err >&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); } && { 13352 (exit $ac_status); } && {
12825 test -z "$ac_c_werror_flag" || 13353 test -z "$ac_c_werror_flag" ||
12826 test ! -s conftest.err 13354 test ! -s conftest.err
12827 } && test -s conftest$ac_exeext && 13355 } && test -s conftest$ac_exeext && {
12828 $as_test_x conftest$ac_exeext; then 13356 test "$cross_compiling" = yes ||
13357 $as_test_x conftest$ac_exeext
13358 }; then
12829 eval "$as_ac_var=yes" 13359 eval "$as_ac_var=yes"
12830else 13360else
12831 echo "$as_me: failed program was:" >&5 13361 $as_echo "$as_me: failed program was:" >&5
12832sed 's/^/| /' conftest.$ac_ext >&5 13362sed 's/^/| /' conftest.$ac_ext >&5
12833 13363
12834 eval "$as_ac_var=no" 13364 eval "$as_ac_var=no"
12835fi 13365fi
12836 13366
13367rm -rf conftest.dSYM
12837rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13368rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12838 conftest$ac_exeext conftest.$ac_ext 13369 conftest$ac_exeext conftest.$ac_ext
12839fi 13370fi
12840ac_res=`eval echo '${'$as_ac_var'}'` 13371ac_res=`eval 'as_val=${'$as_ac_var'}
12841 { echo "$as_me:$LINENO: result: $ac_res" >&5 13372 $as_echo "$as_val"'`
12842echo "${ECHO_T}$ac_res" >&6; } 13373 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12843if test `eval echo '${'$as_ac_var'}'` = yes; then 13374$as_echo "$ac_res" >&6; }
13375if test `eval 'as_val=${'$as_ac_var'}
13376 $as_echo "$as_val"'` = yes; then
12844 cat >>confdefs.h <<_ACEOF 13377 cat >>confdefs.h <<_ACEOF
12845#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13378#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12846_ACEOF 13379_ACEOF
12847 13380
12848fi 13381fi
@@ -12856,8 +13389,8 @@ _ACEOF
12856 ;; 13389 ;;
12857 debug) 13390 debug)
12858 AUDIT_MODULE=debug 13391 AUDIT_MODULE=debug
12859 { echo "$as_me:$LINENO: result: debug" >&5 13392 { $as_echo "$as_me:$LINENO: result: debug" >&5
12860echo "${ECHO_T}debug" >&6; } 13393$as_echo "debug" >&6; }
12861 13394
12862cat >>confdefs.h <<\_ACEOF 13395cat >>confdefs.h <<\_ACEOF
12863#define SSH_AUDIT_EVENTS 1 13396#define SSH_AUDIT_EVENTS 1
@@ -12865,12 +13398,12 @@ _ACEOF
12865 13398
12866 ;; 13399 ;;
12867 no) 13400 no)
12868 { echo "$as_me:$LINENO: result: no" >&5 13401 { $as_echo "$as_me:$LINENO: result: no" >&5
12869echo "${ECHO_T}no" >&6; } 13402$as_echo "no" >&6; }
12870 ;; 13403 ;;
12871 *) 13404 *)
12872 { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 13405 { { $as_echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5
12873echo "$as_me: error: Unknown audit module $withval" >&2;} 13406$as_echo "$as_me: error: Unknown audit module $withval" >&2;}
12874 { (exit 1); exit 1; }; } 13407 { (exit 1); exit 1; }; }
12875 ;; 13408 ;;
12876 esac 13409 esac
@@ -13059,11 +13592,11 @@ for ac_func in \
13059 waitpid \ 13592 waitpid \
13060 13593
13061do 13594do
13062as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13595as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13063{ echo "$as_me:$LINENO: checking for $ac_func" >&5 13596{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13064echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 13597$as_echo_n "checking for $ac_func... " >&6; }
13065if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13598if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13066 echo $ECHO_N "(cached) $ECHO_C" >&6 13599 $as_echo_n "(cached) " >&6
13067else 13600else
13068 cat >conftest.$ac_ext <<_ACEOF 13601 cat >conftest.$ac_ext <<_ACEOF
13069/* confdefs.h. */ 13602/* confdefs.h. */
@@ -13116,35 +13649,41 @@ case "(($ac_try" in
13116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13117 *) ac_try_echo=$ac_try;; 13650 *) ac_try_echo=$ac_try;;
13118esac 13651esac
13119eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13652eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13653$as_echo "$ac_try_echo") >&5
13120 (eval "$ac_link") 2>conftest.er1 13654 (eval "$ac_link") 2>conftest.er1
13121 ac_status=$? 13655 ac_status=$?
13122 grep -v '^ *+' conftest.er1 >conftest.err 13656 grep -v '^ *+' conftest.er1 >conftest.err
13123 rm -f conftest.er1 13657 rm -f conftest.er1
13124 cat conftest.err >&5 13658 cat conftest.err >&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); } && { 13660 (exit $ac_status); } && {
13127 test -z "$ac_c_werror_flag" || 13661 test -z "$ac_c_werror_flag" ||
13128 test ! -s conftest.err 13662 test ! -s conftest.err
13129 } && test -s conftest$ac_exeext && 13663 } && test -s conftest$ac_exeext && {
13130 $as_test_x conftest$ac_exeext; then 13664 test "$cross_compiling" = yes ||
13665 $as_test_x conftest$ac_exeext
13666 }; then
13131 eval "$as_ac_var=yes" 13667 eval "$as_ac_var=yes"
13132else 13668else
13133 echo "$as_me: failed program was:" >&5 13669 $as_echo "$as_me: failed program was:" >&5
13134sed 's/^/| /' conftest.$ac_ext >&5 13670sed 's/^/| /' conftest.$ac_ext >&5
13135 13671
13136 eval "$as_ac_var=no" 13672 eval "$as_ac_var=no"
13137fi 13673fi
13138 13674
13675rm -rf conftest.dSYM
13139rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13676rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13140 conftest$ac_exeext conftest.$ac_ext 13677 conftest$ac_exeext conftest.$ac_ext
13141fi 13678fi
13142ac_res=`eval echo '${'$as_ac_var'}'` 13679ac_res=`eval 'as_val=${'$as_ac_var'}
13143 { echo "$as_me:$LINENO: result: $ac_res" >&5 13680 $as_echo "$as_val"'`
13144echo "${ECHO_T}$ac_res" >&6; } 13681 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13145if test `eval echo '${'$as_ac_var'}'` = yes; then 13682$as_echo "$ac_res" >&6; }
13683if test `eval 'as_val=${'$as_ac_var'}
13684 $as_echo "$as_val"'` = yes; then
13146 cat >>confdefs.h <<_ACEOF 13685 cat >>confdefs.h <<_ACEOF
13147#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13686#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13148_ACEOF 13687_ACEOF
13149 13688
13150fi 13689fi
@@ -13155,11 +13694,11 @@ done
13155 13694
13156for ac_func in gai_strerror 13695for ac_func in gai_strerror
13157do 13696do
13158as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13697as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13159{ echo "$as_me:$LINENO: checking for $ac_func" >&5 13698{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13160echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 13699$as_echo_n "checking for $ac_func... " >&6; }
13161if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13700if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6 13701 $as_echo_n "(cached) " >&6
13163else 13702else
13164 cat >conftest.$ac_ext <<_ACEOF 13703 cat >conftest.$ac_ext <<_ACEOF
13165/* confdefs.h. */ 13704/* confdefs.h. */
@@ -13212,35 +13751,41 @@ case "(($ac_try" in
13212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13213 *) ac_try_echo=$ac_try;; 13752 *) ac_try_echo=$ac_try;;
13214esac 13753esac
13215eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13754eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13755$as_echo "$ac_try_echo") >&5
13216 (eval "$ac_link") 2>conftest.er1 13756 (eval "$ac_link") 2>conftest.er1
13217 ac_status=$? 13757 ac_status=$?
13218 grep -v '^ *+' conftest.er1 >conftest.err 13758 grep -v '^ *+' conftest.er1 >conftest.err
13219 rm -f conftest.er1 13759 rm -f conftest.er1
13220 cat conftest.err >&5 13760 cat conftest.err >&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } && { 13762 (exit $ac_status); } && {
13223 test -z "$ac_c_werror_flag" || 13763 test -z "$ac_c_werror_flag" ||
13224 test ! -s conftest.err 13764 test ! -s conftest.err
13225 } && test -s conftest$ac_exeext && 13765 } && test -s conftest$ac_exeext && {
13226 $as_test_x conftest$ac_exeext; then 13766 test "$cross_compiling" = yes ||
13767 $as_test_x conftest$ac_exeext
13768 }; then
13227 eval "$as_ac_var=yes" 13769 eval "$as_ac_var=yes"
13228else 13770else
13229 echo "$as_me: failed program was:" >&5 13771 $as_echo "$as_me: failed program was:" >&5
13230sed 's/^/| /' conftest.$ac_ext >&5 13772sed 's/^/| /' conftest.$ac_ext >&5
13231 13773
13232 eval "$as_ac_var=no" 13774 eval "$as_ac_var=no"
13233fi 13775fi
13234 13776
13777rm -rf conftest.dSYM
13235rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13778rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13236 conftest$ac_exeext conftest.$ac_ext 13779 conftest$ac_exeext conftest.$ac_ext
13237fi 13780fi
13238ac_res=`eval echo '${'$as_ac_var'}'` 13781ac_res=`eval 'as_val=${'$as_ac_var'}
13239 { echo "$as_me:$LINENO: result: $ac_res" >&5 13782 $as_echo "$as_val"'`
13240echo "${ECHO_T}$ac_res" >&6; } 13783 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13241if test `eval echo '${'$as_ac_var'}'` = yes; then 13784$as_echo "$ac_res" >&6; }
13785if test `eval 'as_val=${'$as_ac_var'}
13786 $as_echo "$as_val"'` = yes; then
13242 cat >>confdefs.h <<_ACEOF 13787 cat >>confdefs.h <<_ACEOF
13243#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13788#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13244_ACEOF 13789_ACEOF
13245 13790
13246 cat >>confdefs.h <<\_ACEOF 13791 cat >>confdefs.h <<\_ACEOF
@@ -13276,13 +13821,14 @@ case "(($ac_try" in
13276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13277 *) ac_try_echo=$ac_try;; 13822 *) ac_try_echo=$ac_try;;
13278esac 13823esac
13279eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13824eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13825$as_echo "$ac_try_echo") >&5
13280 (eval "$ac_compile") 2>conftest.er1 13826 (eval "$ac_compile") 2>conftest.er1
13281 ac_status=$? 13827 ac_status=$?
13282 grep -v '^ *+' conftest.er1 >conftest.err 13828 grep -v '^ *+' conftest.er1 >conftest.err
13283 rm -f conftest.er1 13829 rm -f conftest.er1
13284 cat conftest.err >&5 13830 cat conftest.err >&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } && { 13832 (exit $ac_status); } && {
13287 test -z "$ac_c_werror_flag" || 13833 test -z "$ac_c_werror_flag" ||
13288 test ! -s conftest.err 13834 test ! -s conftest.err
@@ -13294,7 +13840,7 @@ cat >>confdefs.h <<\_ACEOF
13294_ACEOF 13840_ACEOF
13295 13841
13296else 13842else
13297 echo "$as_me: failed program was:" >&5 13843 $as_echo "$as_me: failed program was:" >&5
13298sed 's/^/| /' conftest.$ac_ext >&5 13844sed 's/^/| /' conftest.$ac_ext >&5
13299 13845
13300 13846
@@ -13305,10 +13851,10 @@ fi
13305done 13851done
13306 13852
13307 13853
13308{ echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 13854{ $as_echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
13309echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; } 13855$as_echo_n "checking for library containing nanosleep... " >&6; }
13310if test "${ac_cv_search_nanosleep+set}" = set; then 13856if test "${ac_cv_search_nanosleep+set}" = set; then
13311 echo $ECHO_N "(cached) $ECHO_C" >&6 13857 $as_echo_n "(cached) " >&6
13312else 13858else
13313 ac_func_search_save_LIBS=$LIBS 13859 ac_func_search_save_LIBS=$LIBS
13314cat >conftest.$ac_ext <<_ACEOF 13860cat >conftest.$ac_ext <<_ACEOF
@@ -13346,26 +13892,30 @@ case "(($ac_try" in
13346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13347 *) ac_try_echo=$ac_try;; 13893 *) ac_try_echo=$ac_try;;
13348esac 13894esac
13349eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13895eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13896$as_echo "$ac_try_echo") >&5
13350 (eval "$ac_link") 2>conftest.er1 13897 (eval "$ac_link") 2>conftest.er1
13351 ac_status=$? 13898 ac_status=$?
13352 grep -v '^ *+' conftest.er1 >conftest.err 13899 grep -v '^ *+' conftest.er1 >conftest.err
13353 rm -f conftest.er1 13900 rm -f conftest.er1
13354 cat conftest.err >&5 13901 cat conftest.err >&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } && { 13903 (exit $ac_status); } && {
13357 test -z "$ac_c_werror_flag" || 13904 test -z "$ac_c_werror_flag" ||
13358 test ! -s conftest.err 13905 test ! -s conftest.err
13359 } && test -s conftest$ac_exeext && 13906 } && test -s conftest$ac_exeext && {
13360 $as_test_x conftest$ac_exeext; then 13907 test "$cross_compiling" = yes ||
13908 $as_test_x conftest$ac_exeext
13909 }; then
13361 ac_cv_search_nanosleep=$ac_res 13910 ac_cv_search_nanosleep=$ac_res
13362else 13911else
13363 echo "$as_me: failed program was:" >&5 13912 $as_echo "$as_me: failed program was:" >&5
13364sed 's/^/| /' conftest.$ac_ext >&5 13913sed 's/^/| /' conftest.$ac_ext >&5
13365 13914
13366 13915
13367fi 13916fi
13368 13917
13918rm -rf conftest.dSYM
13369rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13919rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13370 conftest$ac_exeext 13920 conftest$ac_exeext
13371 if test "${ac_cv_search_nanosleep+set}" = set; then 13921 if test "${ac_cv_search_nanosleep+set}" = set; then
@@ -13380,8 +13930,8 @@ fi
13380rm conftest.$ac_ext 13930rm conftest.$ac_ext
13381LIBS=$ac_func_search_save_LIBS 13931LIBS=$ac_func_search_save_LIBS
13382fi 13932fi
13383{ echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 13933{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
13384echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; } 13934$as_echo "$ac_cv_search_nanosleep" >&6; }
13385ac_res=$ac_cv_search_nanosleep 13935ac_res=$ac_cv_search_nanosleep
13386if test "$ac_res" != no; then 13936if test "$ac_res" != no; then
13387 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13937 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -13393,10 +13943,10 @@ _ACEOF
13393fi 13943fi
13394 13944
13395 13945
13396{ echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 13946{ $as_echo "$as_me:$LINENO: checking whether getrusage is declared" >&5
13397echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6; } 13947$as_echo_n "checking whether getrusage is declared... " >&6; }
13398if test "${ac_cv_have_decl_getrusage+set}" = set; then 13948if test "${ac_cv_have_decl_getrusage+set}" = set; then
13399 echo $ECHO_N "(cached) $ECHO_C" >&6 13949 $as_echo_n "(cached) " >&6
13400else 13950else
13401 cat >conftest.$ac_ext <<_ACEOF 13951 cat >conftest.$ac_ext <<_ACEOF
13402/* confdefs.h. */ 13952/* confdefs.h. */
@@ -13422,20 +13972,21 @@ case "(($ac_try" in
13422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;; 13973 *) ac_try_echo=$ac_try;;
13424esac 13974esac
13425eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13976$as_echo "$ac_try_echo") >&5
13426 (eval "$ac_compile") 2>conftest.er1 13977 (eval "$ac_compile") 2>conftest.er1
13427 ac_status=$? 13978 ac_status=$?
13428 grep -v '^ *+' conftest.er1 >conftest.err 13979 grep -v '^ *+' conftest.er1 >conftest.err
13429 rm -f conftest.er1 13980 rm -f conftest.er1
13430 cat conftest.err >&5 13981 cat conftest.err >&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); } && { 13983 (exit $ac_status); } && {
13433 test -z "$ac_c_werror_flag" || 13984 test -z "$ac_c_werror_flag" ||
13434 test ! -s conftest.err 13985 test ! -s conftest.err
13435 } && test -s conftest.$ac_objext; then 13986 } && test -s conftest.$ac_objext; then
13436 ac_cv_have_decl_getrusage=yes 13987 ac_cv_have_decl_getrusage=yes
13437else 13988else
13438 echo "$as_me: failed program was:" >&5 13989 $as_echo "$as_me: failed program was:" >&5
13439sed 's/^/| /' conftest.$ac_ext >&5 13990sed 's/^/| /' conftest.$ac_ext >&5
13440 13991
13441 ac_cv_have_decl_getrusage=no 13992 ac_cv_have_decl_getrusage=no
@@ -13443,17 +13994,17 @@ fi
13443 13994
13444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13445fi 13996fi
13446{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 13997{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5
13447echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6; } 13998$as_echo "$ac_cv_have_decl_getrusage" >&6; }
13448if test $ac_cv_have_decl_getrusage = yes; then 13999if test $ac_cv_have_decl_getrusage = yes; then
13449 14000
13450for ac_func in getrusage 14001for ac_func in getrusage
13451do 14002do
13452as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14003as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13453{ echo "$as_me:$LINENO: checking for $ac_func" >&5 14004{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13454echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 14005$as_echo_n "checking for $ac_func... " >&6; }
13455if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14006if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6 14007 $as_echo_n "(cached) " >&6
13457else 14008else
13458 cat >conftest.$ac_ext <<_ACEOF 14009 cat >conftest.$ac_ext <<_ACEOF
13459/* confdefs.h. */ 14010/* confdefs.h. */
@@ -13506,35 +14057,41 @@ case "(($ac_try" in
13506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13507 *) ac_try_echo=$ac_try;; 14058 *) ac_try_echo=$ac_try;;
13508esac 14059esac
13509eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14060eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14061$as_echo "$ac_try_echo") >&5
13510 (eval "$ac_link") 2>conftest.er1 14062 (eval "$ac_link") 2>conftest.er1
13511 ac_status=$? 14063 ac_status=$?
13512 grep -v '^ *+' conftest.er1 >conftest.err 14064 grep -v '^ *+' conftest.er1 >conftest.err
13513 rm -f conftest.er1 14065 rm -f conftest.er1
13514 cat conftest.err >&5 14066 cat conftest.err >&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } && { 14068 (exit $ac_status); } && {
13517 test -z "$ac_c_werror_flag" || 14069 test -z "$ac_c_werror_flag" ||
13518 test ! -s conftest.err 14070 test ! -s conftest.err
13519 } && test -s conftest$ac_exeext && 14071 } && test -s conftest$ac_exeext && {
13520 $as_test_x conftest$ac_exeext; then 14072 test "$cross_compiling" = yes ||
14073 $as_test_x conftest$ac_exeext
14074 }; then
13521 eval "$as_ac_var=yes" 14075 eval "$as_ac_var=yes"
13522else 14076else
13523 echo "$as_me: failed program was:" >&5 14077 $as_echo "$as_me: failed program was:" >&5
13524sed 's/^/| /' conftest.$ac_ext >&5 14078sed 's/^/| /' conftest.$ac_ext >&5
13525 14079
13526 eval "$as_ac_var=no" 14080 eval "$as_ac_var=no"
13527fi 14081fi
13528 14082
14083rm -rf conftest.dSYM
13529rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14084rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13530 conftest$ac_exeext conftest.$ac_ext 14085 conftest$ac_exeext conftest.$ac_ext
13531fi 14086fi
13532ac_res=`eval echo '${'$as_ac_var'}'` 14087ac_res=`eval 'as_val=${'$as_ac_var'}
13533 { echo "$as_me:$LINENO: result: $ac_res" >&5 14088 $as_echo "$as_val"'`
13534echo "${ECHO_T}$ac_res" >&6; } 14089 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13535if test `eval echo '${'$as_ac_var'}'` = yes; then 14090$as_echo "$ac_res" >&6; }
14091if test `eval 'as_val=${'$as_ac_var'}
14092 $as_echo "$as_val"'` = yes; then
13536 cat >>confdefs.h <<_ACEOF 14093 cat >>confdefs.h <<_ACEOF
13537#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14094#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13538_ACEOF 14095_ACEOF
13539 14096
13540fi 14097fi
@@ -13542,10 +14099,10 @@ done
13542 14099
13543fi 14100fi
13544 14101
13545{ echo "$as_me:$LINENO: checking whether strsep is declared" >&5 14102{ $as_echo "$as_me:$LINENO: checking whether strsep is declared" >&5
13546echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6; } 14103$as_echo_n "checking whether strsep is declared... " >&6; }
13547if test "${ac_cv_have_decl_strsep+set}" = set; then 14104if test "${ac_cv_have_decl_strsep+set}" = set; then
13548 echo $ECHO_N "(cached) $ECHO_C" >&6 14105 $as_echo_n "(cached) " >&6
13549else 14106else
13550 cat >conftest.$ac_ext <<_ACEOF 14107 cat >conftest.$ac_ext <<_ACEOF
13551/* confdefs.h. */ 14108/* confdefs.h. */
@@ -13576,20 +14133,21 @@ case "(($ac_try" in
13576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13577 *) ac_try_echo=$ac_try;; 14134 *) ac_try_echo=$ac_try;;
13578esac 14135esac
13579eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14136eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14137$as_echo "$ac_try_echo") >&5
13580 (eval "$ac_compile") 2>conftest.er1 14138 (eval "$ac_compile") 2>conftest.er1
13581 ac_status=$? 14139 ac_status=$?
13582 grep -v '^ *+' conftest.er1 >conftest.err 14140 grep -v '^ *+' conftest.er1 >conftest.err
13583 rm -f conftest.er1 14141 rm -f conftest.er1
13584 cat conftest.err >&5 14142 cat conftest.err >&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); } && { 14144 (exit $ac_status); } && {
13587 test -z "$ac_c_werror_flag" || 14145 test -z "$ac_c_werror_flag" ||
13588 test ! -s conftest.err 14146 test ! -s conftest.err
13589 } && test -s conftest.$ac_objext; then 14147 } && test -s conftest.$ac_objext; then
13590 ac_cv_have_decl_strsep=yes 14148 ac_cv_have_decl_strsep=yes
13591else 14149else
13592 echo "$as_me: failed program was:" >&5 14150 $as_echo "$as_me: failed program was:" >&5
13593sed 's/^/| /' conftest.$ac_ext >&5 14151sed 's/^/| /' conftest.$ac_ext >&5
13594 14152
13595 ac_cv_have_decl_strsep=no 14153 ac_cv_have_decl_strsep=no
@@ -13597,17 +14155,17 @@ fi
13597 14155
13598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13599fi 14157fi
13600{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 14158{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
13601echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6; } 14159$as_echo "$ac_cv_have_decl_strsep" >&6; }
13602if test $ac_cv_have_decl_strsep = yes; then 14160if test $ac_cv_have_decl_strsep = yes; then
13603 14161
13604for ac_func in strsep 14162for ac_func in strsep
13605do 14163do
13606as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14164as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13607{ echo "$as_me:$LINENO: checking for $ac_func" >&5 14165{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13608echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 14166$as_echo_n "checking for $ac_func... " >&6; }
13609if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14167if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13610 echo $ECHO_N "(cached) $ECHO_C" >&6 14168 $as_echo_n "(cached) " >&6
13611else 14169else
13612 cat >conftest.$ac_ext <<_ACEOF 14170 cat >conftest.$ac_ext <<_ACEOF
13613/* confdefs.h. */ 14171/* confdefs.h. */
@@ -13660,35 +14218,41 @@ case "(($ac_try" in
13660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13661 *) ac_try_echo=$ac_try;; 14219 *) ac_try_echo=$ac_try;;
13662esac 14220esac
13663eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14221eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14222$as_echo "$ac_try_echo") >&5
13664 (eval "$ac_link") 2>conftest.er1 14223 (eval "$ac_link") 2>conftest.er1
13665 ac_status=$? 14224 ac_status=$?
13666 grep -v '^ *+' conftest.er1 >conftest.err 14225 grep -v '^ *+' conftest.er1 >conftest.err
13667 rm -f conftest.er1 14226 rm -f conftest.er1
13668 cat conftest.err >&5 14227 cat conftest.err >&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } && { 14229 (exit $ac_status); } && {
13671 test -z "$ac_c_werror_flag" || 14230 test -z "$ac_c_werror_flag" ||
13672 test ! -s conftest.err 14231 test ! -s conftest.err
13673 } && test -s conftest$ac_exeext && 14232 } && test -s conftest$ac_exeext && {
13674 $as_test_x conftest$ac_exeext; then 14233 test "$cross_compiling" = yes ||
14234 $as_test_x conftest$ac_exeext
14235 }; then
13675 eval "$as_ac_var=yes" 14236 eval "$as_ac_var=yes"
13676else 14237else
13677 echo "$as_me: failed program was:" >&5 14238 $as_echo "$as_me: failed program was:" >&5
13678sed 's/^/| /' conftest.$ac_ext >&5 14239sed 's/^/| /' conftest.$ac_ext >&5
13679 14240
13680 eval "$as_ac_var=no" 14241 eval "$as_ac_var=no"
13681fi 14242fi
13682 14243
14244rm -rf conftest.dSYM
13683rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14245rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13684 conftest$ac_exeext conftest.$ac_ext 14246 conftest$ac_exeext conftest.$ac_ext
13685fi 14247fi
13686ac_res=`eval echo '${'$as_ac_var'}'` 14248ac_res=`eval 'as_val=${'$as_ac_var'}
13687 { echo "$as_me:$LINENO: result: $ac_res" >&5 14249 $as_echo "$as_val"'`
13688echo "${ECHO_T}$ac_res" >&6; } 14250 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13689if test `eval echo '${'$as_ac_var'}'` = yes; then 14251$as_echo "$ac_res" >&6; }
14252if test `eval 'as_val=${'$as_ac_var'}
14253 $as_echo "$as_val"'` = yes; then
13690 cat >>confdefs.h <<_ACEOF 14254 cat >>confdefs.h <<_ACEOF
13691#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14255#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13692_ACEOF 14256_ACEOF
13693 14257
13694fi 14258fi
@@ -13697,10 +14261,10 @@ done
13697fi 14261fi
13698 14262
13699 14263
13700{ echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5 14264{ $as_echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5
13701echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6; } 14265$as_echo_n "checking whether tcsendbreak is declared... " >&6; }
13702if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then 14266if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6 14267 $as_echo_n "(cached) " >&6
13704else 14268else
13705 cat >conftest.$ac_ext <<_ACEOF 14269 cat >conftest.$ac_ext <<_ACEOF
13706/* confdefs.h. */ 14270/* confdefs.h. */
@@ -13728,20 +14292,21 @@ case "(($ac_try" in
13728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;; 14293 *) ac_try_echo=$ac_try;;
13730esac 14294esac
13731eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14296$as_echo "$ac_try_echo") >&5
13732 (eval "$ac_compile") 2>conftest.er1 14297 (eval "$ac_compile") 2>conftest.er1
13733 ac_status=$? 14298 ac_status=$?
13734 grep -v '^ *+' conftest.er1 >conftest.err 14299 grep -v '^ *+' conftest.er1 >conftest.err
13735 rm -f conftest.er1 14300 rm -f conftest.er1
13736 cat conftest.err >&5 14301 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } && { 14303 (exit $ac_status); } && {
13739 test -z "$ac_c_werror_flag" || 14304 test -z "$ac_c_werror_flag" ||
13740 test ! -s conftest.err 14305 test ! -s conftest.err
13741 } && test -s conftest.$ac_objext; then 14306 } && test -s conftest.$ac_objext; then
13742 ac_cv_have_decl_tcsendbreak=yes 14307 ac_cv_have_decl_tcsendbreak=yes
13743else 14308else
13744 echo "$as_me: failed program was:" >&5 14309 $as_echo "$as_me: failed program was:" >&5
13745sed 's/^/| /' conftest.$ac_ext >&5 14310sed 's/^/| /' conftest.$ac_ext >&5
13746 14311
13747 ac_cv_have_decl_tcsendbreak=no 14312 ac_cv_have_decl_tcsendbreak=no
@@ -13749,8 +14314,8 @@ fi
13749 14314
13750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13751fi 14316fi
13752{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5 14317{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5
13753echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6; } 14318$as_echo "$ac_cv_have_decl_tcsendbreak" >&6; }
13754if test $ac_cv_have_decl_tcsendbreak = yes; then 14319if test $ac_cv_have_decl_tcsendbreak = yes; then
13755 cat >>confdefs.h <<\_ACEOF 14320 cat >>confdefs.h <<\_ACEOF
13756#define HAVE_TCSENDBREAK 1 14321#define HAVE_TCSENDBREAK 1
@@ -13760,11 +14325,11 @@ else
13760 14325
13761for ac_func in tcsendbreak 14326for ac_func in tcsendbreak
13762do 14327do
13763as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14328as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13764{ echo "$as_me:$LINENO: checking for $ac_func" >&5 14329{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13765echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 14330$as_echo_n "checking for $ac_func... " >&6; }
13766if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14331if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13767 echo $ECHO_N "(cached) $ECHO_C" >&6 14332 $as_echo_n "(cached) " >&6
13768else 14333else
13769 cat >conftest.$ac_ext <<_ACEOF 14334 cat >conftest.$ac_ext <<_ACEOF
13770/* confdefs.h. */ 14335/* confdefs.h. */
@@ -13817,35 +14382,41 @@ case "(($ac_try" in
13817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13818 *) ac_try_echo=$ac_try;; 14383 *) ac_try_echo=$ac_try;;
13819esac 14384esac
13820eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14385eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14386$as_echo "$ac_try_echo") >&5
13821 (eval "$ac_link") 2>conftest.er1 14387 (eval "$ac_link") 2>conftest.er1
13822 ac_status=$? 14388 ac_status=$?
13823 grep -v '^ *+' conftest.er1 >conftest.err 14389 grep -v '^ *+' conftest.er1 >conftest.err
13824 rm -f conftest.er1 14390 rm -f conftest.er1
13825 cat conftest.err >&5 14391 cat conftest.err >&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } && { 14393 (exit $ac_status); } && {
13828 test -z "$ac_c_werror_flag" || 14394 test -z "$ac_c_werror_flag" ||
13829 test ! -s conftest.err 14395 test ! -s conftest.err
13830 } && test -s conftest$ac_exeext && 14396 } && test -s conftest$ac_exeext && {
13831 $as_test_x conftest$ac_exeext; then 14397 test "$cross_compiling" = yes ||
14398 $as_test_x conftest$ac_exeext
14399 }; then
13832 eval "$as_ac_var=yes" 14400 eval "$as_ac_var=yes"
13833else 14401else
13834 echo "$as_me: failed program was:" >&5 14402 $as_echo "$as_me: failed program was:" >&5
13835sed 's/^/| /' conftest.$ac_ext >&5 14403sed 's/^/| /' conftest.$ac_ext >&5
13836 14404
13837 eval "$as_ac_var=no" 14405 eval "$as_ac_var=no"
13838fi 14406fi
13839 14407
14408rm -rf conftest.dSYM
13840rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14409rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13841 conftest$ac_exeext conftest.$ac_ext 14410 conftest$ac_exeext conftest.$ac_ext
13842fi 14411fi
13843ac_res=`eval echo '${'$as_ac_var'}'` 14412ac_res=`eval 'as_val=${'$as_ac_var'}
13844 { echo "$as_me:$LINENO: result: $ac_res" >&5 14413 $as_echo "$as_val"'`
13845echo "${ECHO_T}$ac_res" >&6; } 14414 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13846if test `eval echo '${'$as_ac_var'}'` = yes; then 14415$as_echo "$ac_res" >&6; }
14416if test `eval 'as_val=${'$as_ac_var'}
14417 $as_echo "$as_val"'` = yes; then
13847 cat >>confdefs.h <<_ACEOF 14418 cat >>confdefs.h <<_ACEOF
13848#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14419#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13849_ACEOF 14420_ACEOF
13850 14421
13851fi 14422fi
@@ -13854,10 +14425,10 @@ done
13854fi 14425fi
13855 14426
13856 14427
13857{ echo "$as_me:$LINENO: checking whether h_errno is declared" >&5 14428{ $as_echo "$as_me:$LINENO: checking whether h_errno is declared" >&5
13858echo $ECHO_N "checking whether h_errno is declared... $ECHO_C" >&6; } 14429$as_echo_n "checking whether h_errno is declared... " >&6; }
13859if test "${ac_cv_have_decl_h_errno+set}" = set; then 14430if test "${ac_cv_have_decl_h_errno+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6 14431 $as_echo_n "(cached) " >&6
13861else 14432else
13862 cat >conftest.$ac_ext <<_ACEOF 14433 cat >conftest.$ac_ext <<_ACEOF
13863/* confdefs.h. */ 14434/* confdefs.h. */
@@ -13884,20 +14455,21 @@ case "(($ac_try" in
13884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13885 *) ac_try_echo=$ac_try;; 14456 *) ac_try_echo=$ac_try;;
13886esac 14457esac
13887eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14458eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14459$as_echo "$ac_try_echo") >&5
13888 (eval "$ac_compile") 2>conftest.er1 14460 (eval "$ac_compile") 2>conftest.er1
13889 ac_status=$? 14461 ac_status=$?
13890 grep -v '^ *+' conftest.er1 >conftest.err 14462 grep -v '^ *+' conftest.er1 >conftest.err
13891 rm -f conftest.er1 14463 rm -f conftest.er1
13892 cat conftest.err >&5 14464 cat conftest.err >&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); } && { 14466 (exit $ac_status); } && {
13895 test -z "$ac_c_werror_flag" || 14467 test -z "$ac_c_werror_flag" ||
13896 test ! -s conftest.err 14468 test ! -s conftest.err
13897 } && test -s conftest.$ac_objext; then 14469 } && test -s conftest.$ac_objext; then
13898 ac_cv_have_decl_h_errno=yes 14470 ac_cv_have_decl_h_errno=yes
13899else 14471else
13900 echo "$as_me: failed program was:" >&5 14472 $as_echo "$as_me: failed program was:" >&5
13901sed 's/^/| /' conftest.$ac_ext >&5 14473sed 's/^/| /' conftest.$ac_ext >&5
13902 14474
13903 ac_cv_have_decl_h_errno=no 14475 ac_cv_have_decl_h_errno=no
@@ -13905,8 +14477,8 @@ fi
13905 14477
13906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13907fi 14479fi
13908{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5 14480{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5
13909echo "${ECHO_T}$ac_cv_have_decl_h_errno" >&6; } 14481$as_echo "$ac_cv_have_decl_h_errno" >&6; }
13910if test $ac_cv_have_decl_h_errno = yes; then 14482if test $ac_cv_have_decl_h_errno = yes; then
13911 14483
13912cat >>confdefs.h <<_ACEOF 14484cat >>confdefs.h <<_ACEOF
@@ -13924,10 +14496,10 @@ fi
13924 14496
13925 14497
13926 14498
13927{ echo "$as_me:$LINENO: checking whether SHUT_RD is declared" >&5 14499{ $as_echo "$as_me:$LINENO: checking whether SHUT_RD is declared" >&5
13928echo $ECHO_N "checking whether SHUT_RD is declared... $ECHO_C" >&6; } 14500$as_echo_n "checking whether SHUT_RD is declared... " >&6; }
13929if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then 14501if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6 14502 $as_echo_n "(cached) " >&6
13931else 14503else
13932 cat >conftest.$ac_ext <<_ACEOF 14504 cat >conftest.$ac_ext <<_ACEOF
13933/* confdefs.h. */ 14505/* confdefs.h. */
@@ -13957,20 +14529,21 @@ case "(($ac_try" in
13957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13958 *) ac_try_echo=$ac_try;; 14530 *) ac_try_echo=$ac_try;;
13959esac 14531esac
13960eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14532eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14533$as_echo "$ac_try_echo") >&5
13961 (eval "$ac_compile") 2>conftest.er1 14534 (eval "$ac_compile") 2>conftest.er1
13962 ac_status=$? 14535 ac_status=$?
13963 grep -v '^ *+' conftest.er1 >conftest.err 14536 grep -v '^ *+' conftest.er1 >conftest.err
13964 rm -f conftest.er1 14537 rm -f conftest.er1
13965 cat conftest.err >&5 14538 cat conftest.err >&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); } && { 14540 (exit $ac_status); } && {
13968 test -z "$ac_c_werror_flag" || 14541 test -z "$ac_c_werror_flag" ||
13969 test ! -s conftest.err 14542 test ! -s conftest.err
13970 } && test -s conftest.$ac_objext; then 14543 } && test -s conftest.$ac_objext; then
13971 ac_cv_have_decl_SHUT_RD=yes 14544 ac_cv_have_decl_SHUT_RD=yes
13972else 14545else
13973 echo "$as_me: failed program was:" >&5 14546 $as_echo "$as_me: failed program was:" >&5
13974sed 's/^/| /' conftest.$ac_ext >&5 14547sed 's/^/| /' conftest.$ac_ext >&5
13975 14548
13976 ac_cv_have_decl_SHUT_RD=no 14549 ac_cv_have_decl_SHUT_RD=no
@@ -13978,8 +14551,8 @@ fi
13978 14551
13979rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13980fi 14553fi
13981{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHUT_RD" >&5 14554{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHUT_RD" >&5
13982echo "${ECHO_T}$ac_cv_have_decl_SHUT_RD" >&6; } 14555$as_echo "$ac_cv_have_decl_SHUT_RD" >&6; }
13983if test $ac_cv_have_decl_SHUT_RD = yes; then 14556if test $ac_cv_have_decl_SHUT_RD = yes; then
13984 14557
13985cat >>confdefs.h <<_ACEOF 14558cat >>confdefs.h <<_ACEOF
@@ -13997,10 +14570,10 @@ fi
13997 14570
13998 14571
13999 14572
14000{ echo "$as_me:$LINENO: checking whether O_NONBLOCK is declared" >&5 14573{ $as_echo "$as_me:$LINENO: checking whether O_NONBLOCK is declared" >&5
14001echo $ECHO_N "checking whether O_NONBLOCK is declared... $ECHO_C" >&6; } 14574$as_echo_n "checking whether O_NONBLOCK is declared... " >&6; }
14002if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then 14575if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6 14576 $as_echo_n "(cached) " >&6
14004else 14577else
14005 cat >conftest.$ac_ext <<_ACEOF 14578 cat >conftest.$ac_ext <<_ACEOF
14006/* confdefs.h. */ 14579/* confdefs.h. */
@@ -14035,20 +14608,21 @@ case "(($ac_try" in
14035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14036 *) ac_try_echo=$ac_try;; 14609 *) ac_try_echo=$ac_try;;
14037esac 14610esac
14038eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14611eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14612$as_echo "$ac_try_echo") >&5
14039 (eval "$ac_compile") 2>conftest.er1 14613 (eval "$ac_compile") 2>conftest.er1
14040 ac_status=$? 14614 ac_status=$?
14041 grep -v '^ *+' conftest.er1 >conftest.err 14615 grep -v '^ *+' conftest.er1 >conftest.err
14042 rm -f conftest.er1 14616 rm -f conftest.er1
14043 cat conftest.err >&5 14617 cat conftest.err >&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); } && { 14619 (exit $ac_status); } && {
14046 test -z "$ac_c_werror_flag" || 14620 test -z "$ac_c_werror_flag" ||
14047 test ! -s conftest.err 14621 test ! -s conftest.err
14048 } && test -s conftest.$ac_objext; then 14622 } && test -s conftest.$ac_objext; then
14049 ac_cv_have_decl_O_NONBLOCK=yes 14623 ac_cv_have_decl_O_NONBLOCK=yes
14050else 14624else
14051 echo "$as_me: failed program was:" >&5 14625 $as_echo "$as_me: failed program was:" >&5
14052sed 's/^/| /' conftest.$ac_ext >&5 14626sed 's/^/| /' conftest.$ac_ext >&5
14053 14627
14054 ac_cv_have_decl_O_NONBLOCK=no 14628 ac_cv_have_decl_O_NONBLOCK=no
@@ -14056,8 +14630,8 @@ fi
14056 14630
14057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14058fi 14632fi
14059{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_NONBLOCK" >&5 14633{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_NONBLOCK" >&5
14060echo "${ECHO_T}$ac_cv_have_decl_O_NONBLOCK" >&6; } 14634$as_echo "$ac_cv_have_decl_O_NONBLOCK" >&6; }
14061if test $ac_cv_have_decl_O_NONBLOCK = yes; then 14635if test $ac_cv_have_decl_O_NONBLOCK = yes; then
14062 14636
14063cat >>confdefs.h <<_ACEOF 14637cat >>confdefs.h <<_ACEOF
@@ -14075,10 +14649,10 @@ fi
14075 14649
14076 14650
14077 14651
14078{ echo "$as_me:$LINENO: checking whether writev is declared" >&5 14652{ $as_echo "$as_me:$LINENO: checking whether writev is declared" >&5
14079echo $ECHO_N "checking whether writev is declared... $ECHO_C" >&6; } 14653$as_echo_n "checking whether writev is declared... " >&6; }
14080if test "${ac_cv_have_decl_writev+set}" = set; then 14654if test "${ac_cv_have_decl_writev+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6 14655 $as_echo_n "(cached) " >&6
14082else 14656else
14083 cat >conftest.$ac_ext <<_ACEOF 14657 cat >conftest.$ac_ext <<_ACEOF
14084/* confdefs.h. */ 14658/* confdefs.h. */
@@ -14109,20 +14683,21 @@ case "(($ac_try" in
14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;; 14684 *) ac_try_echo=$ac_try;;
14111esac 14685esac
14112eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14686eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14687$as_echo "$ac_try_echo") >&5
14113 (eval "$ac_compile") 2>conftest.er1 14688 (eval "$ac_compile") 2>conftest.er1
14114 ac_status=$? 14689 ac_status=$?
14115 grep -v '^ *+' conftest.er1 >conftest.err 14690 grep -v '^ *+' conftest.er1 >conftest.err
14116 rm -f conftest.er1 14691 rm -f conftest.er1
14117 cat conftest.err >&5 14692 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } && { 14694 (exit $ac_status); } && {
14120 test -z "$ac_c_werror_flag" || 14695 test -z "$ac_c_werror_flag" ||
14121 test ! -s conftest.err 14696 test ! -s conftest.err
14122 } && test -s conftest.$ac_objext; then 14697 } && test -s conftest.$ac_objext; then
14123 ac_cv_have_decl_writev=yes 14698 ac_cv_have_decl_writev=yes
14124else 14699else
14125 echo "$as_me: failed program was:" >&5 14700 $as_echo "$as_me: failed program was:" >&5
14126sed 's/^/| /' conftest.$ac_ext >&5 14701sed 's/^/| /' conftest.$ac_ext >&5
14127 14702
14128 ac_cv_have_decl_writev=no 14703 ac_cv_have_decl_writev=no
@@ -14130,8 +14705,8 @@ fi
14130 14705
14131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14132fi 14707fi
14133{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_writev" >&5 14708{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_writev" >&5
14134echo "${ECHO_T}$ac_cv_have_decl_writev" >&6; } 14709$as_echo "$ac_cv_have_decl_writev" >&6; }
14135if test $ac_cv_have_decl_writev = yes; then 14710if test $ac_cv_have_decl_writev = yes; then
14136 14711
14137cat >>confdefs.h <<_ACEOF 14712cat >>confdefs.h <<_ACEOF
@@ -14149,10 +14724,10 @@ fi
14149 14724
14150 14725
14151 14726
14152{ echo "$as_me:$LINENO: checking whether MAXSYMLINKS is declared" >&5 14727{ $as_echo "$as_me:$LINENO: checking whether MAXSYMLINKS is declared" >&5
14153echo $ECHO_N "checking whether MAXSYMLINKS is declared... $ECHO_C" >&6; } 14728$as_echo_n "checking whether MAXSYMLINKS is declared... " >&6; }
14154if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then 14729if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6 14730 $as_echo_n "(cached) " >&6
14156else 14731else
14157 cat >conftest.$ac_ext <<_ACEOF 14732 cat >conftest.$ac_ext <<_ACEOF
14158/* confdefs.h. */ 14733/* confdefs.h. */
@@ -14181,20 +14756,21 @@ case "(($ac_try" in
14181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14182 *) ac_try_echo=$ac_try;; 14757 *) ac_try_echo=$ac_try;;
14183esac 14758esac
14184eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14760$as_echo "$ac_try_echo") >&5
14185 (eval "$ac_compile") 2>conftest.er1 14761 (eval "$ac_compile") 2>conftest.er1
14186 ac_status=$? 14762 ac_status=$?
14187 grep -v '^ *+' conftest.er1 >conftest.err 14763 grep -v '^ *+' conftest.er1 >conftest.err
14188 rm -f conftest.er1 14764 rm -f conftest.er1
14189 cat conftest.err >&5 14765 cat conftest.err >&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); } && { 14767 (exit $ac_status); } && {
14192 test -z "$ac_c_werror_flag" || 14768 test -z "$ac_c_werror_flag" ||
14193 test ! -s conftest.err 14769 test ! -s conftest.err
14194 } && test -s conftest.$ac_objext; then 14770 } && test -s conftest.$ac_objext; then
14195 ac_cv_have_decl_MAXSYMLINKS=yes 14771 ac_cv_have_decl_MAXSYMLINKS=yes
14196else 14772else
14197 echo "$as_me: failed program was:" >&5 14773 $as_echo "$as_me: failed program was:" >&5
14198sed 's/^/| /' conftest.$ac_ext >&5 14774sed 's/^/| /' conftest.$ac_ext >&5
14199 14775
14200 ac_cv_have_decl_MAXSYMLINKS=no 14776 ac_cv_have_decl_MAXSYMLINKS=no
@@ -14202,8 +14778,8 @@ fi
14202 14778
14203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14204fi 14780fi
14205{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXSYMLINKS" >&5 14781{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXSYMLINKS" >&5
14206echo "${ECHO_T}$ac_cv_have_decl_MAXSYMLINKS" >&6; } 14782$as_echo "$ac_cv_have_decl_MAXSYMLINKS" >&6; }
14207if test $ac_cv_have_decl_MAXSYMLINKS = yes; then 14783if test $ac_cv_have_decl_MAXSYMLINKS = yes; then
14208 14784
14209cat >>confdefs.h <<_ACEOF 14785cat >>confdefs.h <<_ACEOF
@@ -14221,10 +14797,10 @@ fi
14221 14797
14222 14798
14223 14799
14224{ echo "$as_me:$LINENO: checking whether offsetof is declared" >&5 14800{ $as_echo "$as_me:$LINENO: checking whether offsetof is declared" >&5
14225echo $ECHO_N "checking whether offsetof is declared... $ECHO_C" >&6; } 14801$as_echo_n "checking whether offsetof is declared... " >&6; }
14226if test "${ac_cv_have_decl_offsetof+set}" = set; then 14802if test "${ac_cv_have_decl_offsetof+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6 14803 $as_echo_n "(cached) " >&6
14228else 14804else
14229 cat >conftest.$ac_ext <<_ACEOF 14805 cat >conftest.$ac_ext <<_ACEOF
14230/* confdefs.h. */ 14806/* confdefs.h. */
@@ -14253,20 +14829,21 @@ case "(($ac_try" in
14253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14254 *) ac_try_echo=$ac_try;; 14830 *) ac_try_echo=$ac_try;;
14255esac 14831esac
14256eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14832eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14833$as_echo "$ac_try_echo") >&5
14257 (eval "$ac_compile") 2>conftest.er1 14834 (eval "$ac_compile") 2>conftest.er1
14258 ac_status=$? 14835 ac_status=$?
14259 grep -v '^ *+' conftest.er1 >conftest.err 14836 grep -v '^ *+' conftest.er1 >conftest.err
14260 rm -f conftest.er1 14837 rm -f conftest.er1
14261 cat conftest.err >&5 14838 cat conftest.err >&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); } && { 14840 (exit $ac_status); } && {
14264 test -z "$ac_c_werror_flag" || 14841 test -z "$ac_c_werror_flag" ||
14265 test ! -s conftest.err 14842 test ! -s conftest.err
14266 } && test -s conftest.$ac_objext; then 14843 } && test -s conftest.$ac_objext; then
14267 ac_cv_have_decl_offsetof=yes 14844 ac_cv_have_decl_offsetof=yes
14268else 14845else
14269 echo "$as_me: failed program was:" >&5 14846 $as_echo "$as_me: failed program was:" >&5
14270sed 's/^/| /' conftest.$ac_ext >&5 14847sed 's/^/| /' conftest.$ac_ext >&5
14271 14848
14272 ac_cv_have_decl_offsetof=no 14849 ac_cv_have_decl_offsetof=no
@@ -14274,8 +14851,8 @@ fi
14274 14851
14275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14276fi 14853fi
14277{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_offsetof" >&5 14854{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_offsetof" >&5
14278echo "${ECHO_T}$ac_cv_have_decl_offsetof" >&6; } 14855$as_echo "$ac_cv_have_decl_offsetof" >&6; }
14279if test $ac_cv_have_decl_offsetof = yes; then 14856if test $ac_cv_have_decl_offsetof = yes; then
14280 14857
14281cat >>confdefs.h <<_ACEOF 14858cat >>confdefs.h <<_ACEOF
@@ -14296,11 +14873,11 @@ fi
14296 14873
14297for ac_func in setresuid 14874for ac_func in setresuid
14298do 14875do
14299as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14876as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14300{ echo "$as_me:$LINENO: checking for $ac_func" >&5 14877{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14301echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 14878$as_echo_n "checking for $ac_func... " >&6; }
14302if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14879if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14303 echo $ECHO_N "(cached) $ECHO_C" >&6 14880 $as_echo_n "(cached) " >&6
14304else 14881else
14305 cat >conftest.$ac_ext <<_ACEOF 14882 cat >conftest.$ac_ext <<_ACEOF
14306/* confdefs.h. */ 14883/* confdefs.h. */
@@ -14353,42 +14930,48 @@ case "(($ac_try" in
14353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14354 *) ac_try_echo=$ac_try;; 14931 *) ac_try_echo=$ac_try;;
14355esac 14932esac
14356eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14933eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14934$as_echo "$ac_try_echo") >&5
14357 (eval "$ac_link") 2>conftest.er1 14935 (eval "$ac_link") 2>conftest.er1
14358 ac_status=$? 14936 ac_status=$?
14359 grep -v '^ *+' conftest.er1 >conftest.err 14937 grep -v '^ *+' conftest.er1 >conftest.err
14360 rm -f conftest.er1 14938 rm -f conftest.er1
14361 cat conftest.err >&5 14939 cat conftest.err >&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } && { 14941 (exit $ac_status); } && {
14364 test -z "$ac_c_werror_flag" || 14942 test -z "$ac_c_werror_flag" ||
14365 test ! -s conftest.err 14943 test ! -s conftest.err
14366 } && test -s conftest$ac_exeext && 14944 } && test -s conftest$ac_exeext && {
14367 $as_test_x conftest$ac_exeext; then 14945 test "$cross_compiling" = yes ||
14946 $as_test_x conftest$ac_exeext
14947 }; then
14368 eval "$as_ac_var=yes" 14948 eval "$as_ac_var=yes"
14369else 14949else
14370 echo "$as_me: failed program was:" >&5 14950 $as_echo "$as_me: failed program was:" >&5
14371sed 's/^/| /' conftest.$ac_ext >&5 14951sed 's/^/| /' conftest.$ac_ext >&5
14372 14952
14373 eval "$as_ac_var=no" 14953 eval "$as_ac_var=no"
14374fi 14954fi
14375 14955
14956rm -rf conftest.dSYM
14376rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14957rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14377 conftest$ac_exeext conftest.$ac_ext 14958 conftest$ac_exeext conftest.$ac_ext
14378fi 14959fi
14379ac_res=`eval echo '${'$as_ac_var'}'` 14960ac_res=`eval 'as_val=${'$as_ac_var'}
14380 { echo "$as_me:$LINENO: result: $ac_res" >&5 14961 $as_echo "$as_val"'`
14381echo "${ECHO_T}$ac_res" >&6; } 14962 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14382if test `eval echo '${'$as_ac_var'}'` = yes; then 14963$as_echo "$ac_res" >&6; }
14964if test `eval 'as_val=${'$as_ac_var'}
14965 $as_echo "$as_val"'` = yes; then
14383 cat >>confdefs.h <<_ACEOF 14966 cat >>confdefs.h <<_ACEOF
14384#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14967#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14385_ACEOF 14968_ACEOF
14386 14969
14387 { echo "$as_me:$LINENO: checking if setresuid seems to work" >&5 14970 { $as_echo "$as_me:$LINENO: checking if setresuid seems to work" >&5
14388echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6; } 14971$as_echo_n "checking if setresuid seems to work... " >&6; }
14389 if test "$cross_compiling" = yes; then 14972 if test "$cross_compiling" = yes; then
14390 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 14973 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5
14391echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} 14974$as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;}
14392 14975
14393else 14976else
14394 cat >conftest.$ac_ext <<_ACEOF 14977 cat >conftest.$ac_ext <<_ACEOF
@@ -14409,25 +14992,27 @@ case "(($ac_try" in
14409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14410 *) ac_try_echo=$ac_try;; 14993 *) ac_try_echo=$ac_try;;
14411esac 14994esac
14412eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14995eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14996$as_echo "$ac_try_echo") >&5
14413 (eval "$ac_link") 2>&5 14997 (eval "$ac_link") 2>&5
14414 ac_status=$? 14998 ac_status=$?
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14417 { (case "(($ac_try" in 15001 { (case "(($ac_try" in
14418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14419 *) ac_try_echo=$ac_try;; 15003 *) ac_try_echo=$ac_try;;
14420esac 15004esac
14421eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15005eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15006$as_echo "$ac_try_echo") >&5
14422 (eval "$ac_try") 2>&5 15007 (eval "$ac_try") 2>&5
14423 ac_status=$? 15008 ac_status=$?
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); }; }; then 15010 (exit $ac_status); }; }; then
14426 { echo "$as_me:$LINENO: result: yes" >&5 15011 { $as_echo "$as_me:$LINENO: result: yes" >&5
14427echo "${ECHO_T}yes" >&6; } 15012$as_echo "yes" >&6; }
14428else 15013else
14429 echo "$as_me: program exited with status $ac_status" >&5 15014 $as_echo "$as_me: program exited with status $ac_status" >&5
14430echo "$as_me: failed program was:" >&5 15015$as_echo "$as_me: failed program was:" >&5
14431sed 's/^/| /' conftest.$ac_ext >&5 15016sed 's/^/| /' conftest.$ac_ext >&5
14432 15017
14433( exit $ac_status ) 15018( exit $ac_status )
@@ -14436,9 +15021,10 @@ cat >>confdefs.h <<\_ACEOF
14436#define BROKEN_SETRESUID 1 15021#define BROKEN_SETRESUID 1
14437_ACEOF 15022_ACEOF
14438 15023
14439 { echo "$as_me:$LINENO: result: not implemented" >&5 15024 { $as_echo "$as_me:$LINENO: result: not implemented" >&5
14440echo "${ECHO_T}not implemented" >&6; } 15025$as_echo "not implemented" >&6; }
14441fi 15026fi
15027rm -rf conftest.dSYM
14442rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15028rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14443fi 15029fi
14444 15030
@@ -14451,11 +15037,11 @@ done
14451 15037
14452for ac_func in setresgid 15038for ac_func in setresgid
14453do 15039do
14454as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15040as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14455{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15041{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14456echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15042$as_echo_n "checking for $ac_func... " >&6; }
14457if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15043if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6 15044 $as_echo_n "(cached) " >&6
14459else 15045else
14460 cat >conftest.$ac_ext <<_ACEOF 15046 cat >conftest.$ac_ext <<_ACEOF
14461/* confdefs.h. */ 15047/* confdefs.h. */
@@ -14508,42 +15094,48 @@ case "(($ac_try" in
14508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14509 *) ac_try_echo=$ac_try;; 15095 *) ac_try_echo=$ac_try;;
14510esac 15096esac
14511eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15097eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15098$as_echo "$ac_try_echo") >&5
14512 (eval "$ac_link") 2>conftest.er1 15099 (eval "$ac_link") 2>conftest.er1
14513 ac_status=$? 15100 ac_status=$?
14514 grep -v '^ *+' conftest.er1 >conftest.err 15101 grep -v '^ *+' conftest.er1 >conftest.err
14515 rm -f conftest.er1 15102 rm -f conftest.er1
14516 cat conftest.err >&5 15103 cat conftest.err >&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); } && { 15105 (exit $ac_status); } && {
14519 test -z "$ac_c_werror_flag" || 15106 test -z "$ac_c_werror_flag" ||
14520 test ! -s conftest.err 15107 test ! -s conftest.err
14521 } && test -s conftest$ac_exeext && 15108 } && test -s conftest$ac_exeext && {
14522 $as_test_x conftest$ac_exeext; then 15109 test "$cross_compiling" = yes ||
15110 $as_test_x conftest$ac_exeext
15111 }; then
14523 eval "$as_ac_var=yes" 15112 eval "$as_ac_var=yes"
14524else 15113else
14525 echo "$as_me: failed program was:" >&5 15114 $as_echo "$as_me: failed program was:" >&5
14526sed 's/^/| /' conftest.$ac_ext >&5 15115sed 's/^/| /' conftest.$ac_ext >&5
14527 15116
14528 eval "$as_ac_var=no" 15117 eval "$as_ac_var=no"
14529fi 15118fi
14530 15119
15120rm -rf conftest.dSYM
14531rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15121rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14532 conftest$ac_exeext conftest.$ac_ext 15122 conftest$ac_exeext conftest.$ac_ext
14533fi 15123fi
14534ac_res=`eval echo '${'$as_ac_var'}'` 15124ac_res=`eval 'as_val=${'$as_ac_var'}
14535 { echo "$as_me:$LINENO: result: $ac_res" >&5 15125 $as_echo "$as_val"'`
14536echo "${ECHO_T}$ac_res" >&6; } 15126 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14537if test `eval echo '${'$as_ac_var'}'` = yes; then 15127$as_echo "$ac_res" >&6; }
15128if test `eval 'as_val=${'$as_ac_var'}
15129 $as_echo "$as_val"'` = yes; then
14538 cat >>confdefs.h <<_ACEOF 15130 cat >>confdefs.h <<_ACEOF
14539#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15131#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14540_ACEOF 15132_ACEOF
14541 15133
14542 { echo "$as_me:$LINENO: checking if setresgid seems to work" >&5 15134 { $as_echo "$as_me:$LINENO: checking if setresgid seems to work" >&5
14543echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6; } 15135$as_echo_n "checking if setresgid seems to work... " >&6; }
14544 if test "$cross_compiling" = yes; then 15136 if test "$cross_compiling" = yes; then
14545 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 15137 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5
14546echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} 15138$as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;}
14547 15139
14548else 15140else
14549 cat >conftest.$ac_ext <<_ACEOF 15141 cat >conftest.$ac_ext <<_ACEOF
@@ -14564,25 +15156,27 @@ case "(($ac_try" in
14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14565 *) ac_try_echo=$ac_try;; 15157 *) ac_try_echo=$ac_try;;
14566esac 15158esac
14567eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15159eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15160$as_echo "$ac_try_echo") >&5
14568 (eval "$ac_link") 2>&5 15161 (eval "$ac_link") 2>&5
14569 ac_status=$? 15162 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14572 { (case "(($ac_try" in 15165 { (case "(($ac_try" in
14573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14574 *) ac_try_echo=$ac_try;; 15167 *) ac_try_echo=$ac_try;;
14575esac 15168esac
14576eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15169eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15170$as_echo "$ac_try_echo") >&5
14577 (eval "$ac_try") 2>&5 15171 (eval "$ac_try") 2>&5
14578 ac_status=$? 15172 ac_status=$?
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; }; then 15174 (exit $ac_status); }; }; then
14581 { echo "$as_me:$LINENO: result: yes" >&5 15175 { $as_echo "$as_me:$LINENO: result: yes" >&5
14582echo "${ECHO_T}yes" >&6; } 15176$as_echo "yes" >&6; }
14583else 15177else
14584 echo "$as_me: program exited with status $ac_status" >&5 15178 $as_echo "$as_me: program exited with status $ac_status" >&5
14585echo "$as_me: failed program was:" >&5 15179$as_echo "$as_me: failed program was:" >&5
14586sed 's/^/| /' conftest.$ac_ext >&5 15180sed 's/^/| /' conftest.$ac_ext >&5
14587 15181
14588( exit $ac_status ) 15182( exit $ac_status )
@@ -14591,9 +15185,10 @@ cat >>confdefs.h <<\_ACEOF
14591#define BROKEN_SETRESGID 1 15185#define BROKEN_SETRESGID 1
14592_ACEOF 15186_ACEOF
14593 15187
14594 { echo "$as_me:$LINENO: result: not implemented" >&5 15188 { $as_echo "$as_me:$LINENO: result: not implemented" >&5
14595echo "${ECHO_T}not implemented" >&6; } 15189$as_echo "not implemented" >&6; }
14596fi 15190fi
15191rm -rf conftest.dSYM
14597rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15192rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14598fi 15193fi
14599 15194
@@ -14607,11 +15202,11 @@ done
14607 15202
14608for ac_func in gettimeofday time 15203for ac_func in gettimeofday time
14609do 15204do
14610as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15205as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14611{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15206{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14612echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15207$as_echo_n "checking for $ac_func... " >&6; }
14613if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15208if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6 15209 $as_echo_n "(cached) " >&6
14615else 15210else
14616 cat >conftest.$ac_ext <<_ACEOF 15211 cat >conftest.$ac_ext <<_ACEOF
14617/* confdefs.h. */ 15212/* confdefs.h. */
@@ -14664,35 +15259,41 @@ case "(($ac_try" in
14664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14665 *) ac_try_echo=$ac_try;; 15260 *) ac_try_echo=$ac_try;;
14666esac 15261esac
14667eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15262eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15263$as_echo "$ac_try_echo") >&5
14668 (eval "$ac_link") 2>conftest.er1 15264 (eval "$ac_link") 2>conftest.er1
14669 ac_status=$? 15265 ac_status=$?
14670 grep -v '^ *+' conftest.er1 >conftest.err 15266 grep -v '^ *+' conftest.er1 >conftest.err
14671 rm -f conftest.er1 15267 rm -f conftest.er1
14672 cat conftest.err >&5 15268 cat conftest.err >&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } && { 15270 (exit $ac_status); } && {
14675 test -z "$ac_c_werror_flag" || 15271 test -z "$ac_c_werror_flag" ||
14676 test ! -s conftest.err 15272 test ! -s conftest.err
14677 } && test -s conftest$ac_exeext && 15273 } && test -s conftest$ac_exeext && {
14678 $as_test_x conftest$ac_exeext; then 15274 test "$cross_compiling" = yes ||
15275 $as_test_x conftest$ac_exeext
15276 }; then
14679 eval "$as_ac_var=yes" 15277 eval "$as_ac_var=yes"
14680else 15278else
14681 echo "$as_me: failed program was:" >&5 15279 $as_echo "$as_me: failed program was:" >&5
14682sed 's/^/| /' conftest.$ac_ext >&5 15280sed 's/^/| /' conftest.$ac_ext >&5
14683 15281
14684 eval "$as_ac_var=no" 15282 eval "$as_ac_var=no"
14685fi 15283fi
14686 15284
15285rm -rf conftest.dSYM
14687rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15286rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14688 conftest$ac_exeext conftest.$ac_ext 15287 conftest$ac_exeext conftest.$ac_ext
14689fi 15288fi
14690ac_res=`eval echo '${'$as_ac_var'}'` 15289ac_res=`eval 'as_val=${'$as_ac_var'}
14691 { echo "$as_me:$LINENO: result: $ac_res" >&5 15290 $as_echo "$as_val"'`
14692echo "${ECHO_T}$ac_res" >&6; } 15291 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14693if test `eval echo '${'$as_ac_var'}'` = yes; then 15292$as_echo "$ac_res" >&6; }
15293if test `eval 'as_val=${'$as_ac_var'}
15294 $as_echo "$as_val"'` = yes; then
14694 cat >>confdefs.h <<_ACEOF 15295 cat >>confdefs.h <<_ACEOF
14695#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15296#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14696_ACEOF 15297_ACEOF
14697 15298
14698fi 15299fi
@@ -14706,11 +15307,11 @@ done
14706 15307
14707for ac_func in endutent getutent getutid getutline pututline setutent 15308for ac_func in endutent getutent getutid getutline pututline setutent
14708do 15309do
14709as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15310as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14710{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15311{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14711echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15312$as_echo_n "checking for $ac_func... " >&6; }
14712if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15313if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6 15314 $as_echo_n "(cached) " >&6
14714else 15315else
14715 cat >conftest.$ac_ext <<_ACEOF 15316 cat >conftest.$ac_ext <<_ACEOF
14716/* confdefs.h. */ 15317/* confdefs.h. */
@@ -14763,35 +15364,41 @@ case "(($ac_try" in
14763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14764 *) ac_try_echo=$ac_try;; 15365 *) ac_try_echo=$ac_try;;
14765esac 15366esac
14766eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15368$as_echo "$ac_try_echo") >&5
14767 (eval "$ac_link") 2>conftest.er1 15369 (eval "$ac_link") 2>conftest.er1
14768 ac_status=$? 15370 ac_status=$?
14769 grep -v '^ *+' conftest.er1 >conftest.err 15371 grep -v '^ *+' conftest.er1 >conftest.err
14770 rm -f conftest.er1 15372 rm -f conftest.er1
14771 cat conftest.err >&5 15373 cat conftest.err >&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); } && { 15375 (exit $ac_status); } && {
14774 test -z "$ac_c_werror_flag" || 15376 test -z "$ac_c_werror_flag" ||
14775 test ! -s conftest.err 15377 test ! -s conftest.err
14776 } && test -s conftest$ac_exeext && 15378 } && test -s conftest$ac_exeext && {
14777 $as_test_x conftest$ac_exeext; then 15379 test "$cross_compiling" = yes ||
15380 $as_test_x conftest$ac_exeext
15381 }; then
14778 eval "$as_ac_var=yes" 15382 eval "$as_ac_var=yes"
14779else 15383else
14780 echo "$as_me: failed program was:" >&5 15384 $as_echo "$as_me: failed program was:" >&5
14781sed 's/^/| /' conftest.$ac_ext >&5 15385sed 's/^/| /' conftest.$ac_ext >&5
14782 15386
14783 eval "$as_ac_var=no" 15387 eval "$as_ac_var=no"
14784fi 15388fi
14785 15389
15390rm -rf conftest.dSYM
14786rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15391rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14787 conftest$ac_exeext conftest.$ac_ext 15392 conftest$ac_exeext conftest.$ac_ext
14788fi 15393fi
14789ac_res=`eval echo '${'$as_ac_var'}'` 15394ac_res=`eval 'as_val=${'$as_ac_var'}
14790 { echo "$as_me:$LINENO: result: $ac_res" >&5 15395 $as_echo "$as_val"'`
14791echo "${ECHO_T}$ac_res" >&6; } 15396 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14792if test `eval echo '${'$as_ac_var'}'` = yes; then 15397$as_echo "$ac_res" >&6; }
15398if test `eval 'as_val=${'$as_ac_var'}
15399 $as_echo "$as_val"'` = yes; then
14793 cat >>confdefs.h <<_ACEOF 15400 cat >>confdefs.h <<_ACEOF
14794#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15401#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14795_ACEOF 15402_ACEOF
14796 15403
14797fi 15404fi
@@ -14800,11 +15407,11 @@ done
14800 15407
14801for ac_func in utmpname 15408for ac_func in utmpname
14802do 15409do
14803as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15410as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14804{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15411{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14805echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15412$as_echo_n "checking for $ac_func... " >&6; }
14806if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15413if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6 15414 $as_echo_n "(cached) " >&6
14808else 15415else
14809 cat >conftest.$ac_ext <<_ACEOF 15416 cat >conftest.$ac_ext <<_ACEOF
14810/* confdefs.h. */ 15417/* confdefs.h. */
@@ -14857,35 +15464,41 @@ case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;; 15465 *) ac_try_echo=$ac_try;;
14859esac 15466esac
14860eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15467eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15468$as_echo "$ac_try_echo") >&5
14861 (eval "$ac_link") 2>conftest.er1 15469 (eval "$ac_link") 2>conftest.er1
14862 ac_status=$? 15470 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err 15471 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1 15472 rm -f conftest.er1
14865 cat conftest.err >&5 15473 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } && { 15475 (exit $ac_status); } && {
14868 test -z "$ac_c_werror_flag" || 15476 test -z "$ac_c_werror_flag" ||
14869 test ! -s conftest.err 15477 test ! -s conftest.err
14870 } && test -s conftest$ac_exeext && 15478 } && test -s conftest$ac_exeext && {
14871 $as_test_x conftest$ac_exeext; then 15479 test "$cross_compiling" = yes ||
15480 $as_test_x conftest$ac_exeext
15481 }; then
14872 eval "$as_ac_var=yes" 15482 eval "$as_ac_var=yes"
14873else 15483else
14874 echo "$as_me: failed program was:" >&5 15484 $as_echo "$as_me: failed program was:" >&5
14875sed 's/^/| /' conftest.$ac_ext >&5 15485sed 's/^/| /' conftest.$ac_ext >&5
14876 15486
14877 eval "$as_ac_var=no" 15487 eval "$as_ac_var=no"
14878fi 15488fi
14879 15489
15490rm -rf conftest.dSYM
14880rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15491rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14881 conftest$ac_exeext conftest.$ac_ext 15492 conftest$ac_exeext conftest.$ac_ext
14882fi 15493fi
14883ac_res=`eval echo '${'$as_ac_var'}'` 15494ac_res=`eval 'as_val=${'$as_ac_var'}
14884 { echo "$as_me:$LINENO: result: $ac_res" >&5 15495 $as_echo "$as_val"'`
14885echo "${ECHO_T}$ac_res" >&6; } 15496 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14886if test `eval echo '${'$as_ac_var'}'` = yes; then 15497$as_echo "$ac_res" >&6; }
15498if test `eval 'as_val=${'$as_ac_var'}
15499 $as_echo "$as_val"'` = yes; then
14887 cat >>confdefs.h <<_ACEOF 15500 cat >>confdefs.h <<_ACEOF
14888#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15501#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14889_ACEOF 15502_ACEOF
14890 15503
14891fi 15504fi
@@ -14898,11 +15511,11 @@ done
14898 15511
14899for ac_func in endutxent getutxent getutxid getutxline pututxline 15512for ac_func in endutxent getutxent getutxid getutxline pututxline
14900do 15513do
14901as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15514as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14902{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15515{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14903echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15516$as_echo_n "checking for $ac_func... " >&6; }
14904if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15517if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6 15518 $as_echo_n "(cached) " >&6
14906else 15519else
14907 cat >conftest.$ac_ext <<_ACEOF 15520 cat >conftest.$ac_ext <<_ACEOF
14908/* confdefs.h. */ 15521/* confdefs.h. */
@@ -14955,35 +15568,41 @@ case "(($ac_try" in
14955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14956 *) ac_try_echo=$ac_try;; 15569 *) ac_try_echo=$ac_try;;
14957esac 15570esac
14958eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15571eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15572$as_echo "$ac_try_echo") >&5
14959 (eval "$ac_link") 2>conftest.er1 15573 (eval "$ac_link") 2>conftest.er1
14960 ac_status=$? 15574 ac_status=$?
14961 grep -v '^ *+' conftest.er1 >conftest.err 15575 grep -v '^ *+' conftest.er1 >conftest.err
14962 rm -f conftest.er1 15576 rm -f conftest.er1
14963 cat conftest.err >&5 15577 cat conftest.err >&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } && { 15579 (exit $ac_status); } && {
14966 test -z "$ac_c_werror_flag" || 15580 test -z "$ac_c_werror_flag" ||
14967 test ! -s conftest.err 15581 test ! -s conftest.err
14968 } && test -s conftest$ac_exeext && 15582 } && test -s conftest$ac_exeext && {
14969 $as_test_x conftest$ac_exeext; then 15583 test "$cross_compiling" = yes ||
15584 $as_test_x conftest$ac_exeext
15585 }; then
14970 eval "$as_ac_var=yes" 15586 eval "$as_ac_var=yes"
14971else 15587else
14972 echo "$as_me: failed program was:" >&5 15588 $as_echo "$as_me: failed program was:" >&5
14973sed 's/^/| /' conftest.$ac_ext >&5 15589sed 's/^/| /' conftest.$ac_ext >&5
14974 15590
14975 eval "$as_ac_var=no" 15591 eval "$as_ac_var=no"
14976fi 15592fi
14977 15593
15594rm -rf conftest.dSYM
14978rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15595rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14979 conftest$ac_exeext conftest.$ac_ext 15596 conftest$ac_exeext conftest.$ac_ext
14980fi 15597fi
14981ac_res=`eval echo '${'$as_ac_var'}'` 15598ac_res=`eval 'as_val=${'$as_ac_var'}
14982 { echo "$as_me:$LINENO: result: $ac_res" >&5 15599 $as_echo "$as_val"'`
14983echo "${ECHO_T}$ac_res" >&6; } 15600 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14984if test `eval echo '${'$as_ac_var'}'` = yes; then 15601$as_echo "$ac_res" >&6; }
15602if test `eval 'as_val=${'$as_ac_var'}
15603 $as_echo "$as_val"'` = yes; then
14985 cat >>confdefs.h <<_ACEOF 15604 cat >>confdefs.h <<_ACEOF
14986#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15605#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14987_ACEOF 15606_ACEOF
14988 15607
14989fi 15608fi
@@ -14993,11 +15612,11 @@ done
14993 15612
14994for ac_func in setutxent utmpxname 15613for ac_func in setutxent utmpxname
14995do 15614do
14996as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15615as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14997{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15616{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14998echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15617$as_echo_n "checking for $ac_func... " >&6; }
14999if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15618if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15000 echo $ECHO_N "(cached) $ECHO_C" >&6 15619 $as_echo_n "(cached) " >&6
15001else 15620else
15002 cat >conftest.$ac_ext <<_ACEOF 15621 cat >conftest.$ac_ext <<_ACEOF
15003/* confdefs.h. */ 15622/* confdefs.h. */
@@ -15050,35 +15669,41 @@ case "(($ac_try" in
15050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15051 *) ac_try_echo=$ac_try;; 15670 *) ac_try_echo=$ac_try;;
15052esac 15671esac
15053eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15672eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15673$as_echo "$ac_try_echo") >&5
15054 (eval "$ac_link") 2>conftest.er1 15674 (eval "$ac_link") 2>conftest.er1
15055 ac_status=$? 15675 ac_status=$?
15056 grep -v '^ *+' conftest.er1 >conftest.err 15676 grep -v '^ *+' conftest.er1 >conftest.err
15057 rm -f conftest.er1 15677 rm -f conftest.er1
15058 cat conftest.err >&5 15678 cat conftest.err >&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } && { 15680 (exit $ac_status); } && {
15061 test -z "$ac_c_werror_flag" || 15681 test -z "$ac_c_werror_flag" ||
15062 test ! -s conftest.err 15682 test ! -s conftest.err
15063 } && test -s conftest$ac_exeext && 15683 } && test -s conftest$ac_exeext && {
15064 $as_test_x conftest$ac_exeext; then 15684 test "$cross_compiling" = yes ||
15685 $as_test_x conftest$ac_exeext
15686 }; then
15065 eval "$as_ac_var=yes" 15687 eval "$as_ac_var=yes"
15066else 15688else
15067 echo "$as_me: failed program was:" >&5 15689 $as_echo "$as_me: failed program was:" >&5
15068sed 's/^/| /' conftest.$ac_ext >&5 15690sed 's/^/| /' conftest.$ac_ext >&5
15069 15691
15070 eval "$as_ac_var=no" 15692 eval "$as_ac_var=no"
15071fi 15693fi
15072 15694
15695rm -rf conftest.dSYM
15073rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15696rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15074 conftest$ac_exeext conftest.$ac_ext 15697 conftest$ac_exeext conftest.$ac_ext
15075fi 15698fi
15076ac_res=`eval echo '${'$as_ac_var'}'` 15699ac_res=`eval 'as_val=${'$as_ac_var'}
15077 { echo "$as_me:$LINENO: result: $ac_res" >&5 15700 $as_echo "$as_val"'`
15078echo "${ECHO_T}$ac_res" >&6; } 15701 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15079if test `eval echo '${'$as_ac_var'}'` = yes; then 15702$as_echo "$ac_res" >&6; }
15703if test `eval 'as_val=${'$as_ac_var'}
15704 $as_echo "$as_val"'` = yes; then
15080 cat >>confdefs.h <<_ACEOF 15705 cat >>confdefs.h <<_ACEOF
15081#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15706#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15082_ACEOF 15707_ACEOF
15083 15708
15084fi 15709fi
@@ -15087,11 +15712,11 @@ done
15087 15712
15088for ac_func in getlastlogxbyname 15713for ac_func in getlastlogxbyname
15089do 15714do
15090as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15715as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15091{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15716{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15092echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15717$as_echo_n "checking for $ac_func... " >&6; }
15093if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15718if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6 15719 $as_echo_n "(cached) " >&6
15095else 15720else
15096 cat >conftest.$ac_ext <<_ACEOF 15721 cat >conftest.$ac_ext <<_ACEOF
15097/* confdefs.h. */ 15722/* confdefs.h. */
@@ -15144,45 +15769,51 @@ case "(($ac_try" in
15144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15145 *) ac_try_echo=$ac_try;; 15770 *) ac_try_echo=$ac_try;;
15146esac 15771esac
15147eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15772eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15773$as_echo "$ac_try_echo") >&5
15148 (eval "$ac_link") 2>conftest.er1 15774 (eval "$ac_link") 2>conftest.er1
15149 ac_status=$? 15775 ac_status=$?
15150 grep -v '^ *+' conftest.er1 >conftest.err 15776 grep -v '^ *+' conftest.er1 >conftest.err
15151 rm -f conftest.er1 15777 rm -f conftest.er1
15152 cat conftest.err >&5 15778 cat conftest.err >&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); } && { 15780 (exit $ac_status); } && {
15155 test -z "$ac_c_werror_flag" || 15781 test -z "$ac_c_werror_flag" ||
15156 test ! -s conftest.err 15782 test ! -s conftest.err
15157 } && test -s conftest$ac_exeext && 15783 } && test -s conftest$ac_exeext && {
15158 $as_test_x conftest$ac_exeext; then 15784 test "$cross_compiling" = yes ||
15785 $as_test_x conftest$ac_exeext
15786 }; then
15159 eval "$as_ac_var=yes" 15787 eval "$as_ac_var=yes"
15160else 15788else
15161 echo "$as_me: failed program was:" >&5 15789 $as_echo "$as_me: failed program was:" >&5
15162sed 's/^/| /' conftest.$ac_ext >&5 15790sed 's/^/| /' conftest.$ac_ext >&5
15163 15791
15164 eval "$as_ac_var=no" 15792 eval "$as_ac_var=no"
15165fi 15793fi
15166 15794
15795rm -rf conftest.dSYM
15167rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15796rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15168 conftest$ac_exeext conftest.$ac_ext 15797 conftest$ac_exeext conftest.$ac_ext
15169fi 15798fi
15170ac_res=`eval echo '${'$as_ac_var'}'` 15799ac_res=`eval 'as_val=${'$as_ac_var'}
15171 { echo "$as_me:$LINENO: result: $ac_res" >&5 15800 $as_echo "$as_val"'`
15172echo "${ECHO_T}$ac_res" >&6; } 15801 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15173if test `eval echo '${'$as_ac_var'}'` = yes; then 15802$as_echo "$ac_res" >&6; }
15803if test `eval 'as_val=${'$as_ac_var'}
15804 $as_echo "$as_val"'` = yes; then
15174 cat >>confdefs.h <<_ACEOF 15805 cat >>confdefs.h <<_ACEOF
15175#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15806#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15176_ACEOF 15807_ACEOF
15177 15808
15178fi 15809fi
15179done 15810done
15180 15811
15181 15812
15182{ echo "$as_me:$LINENO: checking for daemon" >&5 15813{ $as_echo "$as_me:$LINENO: checking for daemon" >&5
15183echo $ECHO_N "checking for daemon... $ECHO_C" >&6; } 15814$as_echo_n "checking for daemon... " >&6; }
15184if test "${ac_cv_func_daemon+set}" = set; then 15815if test "${ac_cv_func_daemon+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6 15816 $as_echo_n "(cached) " >&6
15186else 15817else
15187 cat >conftest.$ac_ext <<_ACEOF 15818 cat >conftest.$ac_ext <<_ACEOF
15188/* confdefs.h. */ 15819/* confdefs.h. */
@@ -15235,31 +15866,35 @@ case "(($ac_try" in
15235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15236 *) ac_try_echo=$ac_try;; 15867 *) ac_try_echo=$ac_try;;
15237esac 15868esac
15238eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15869eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15870$as_echo "$ac_try_echo") >&5
15239 (eval "$ac_link") 2>conftest.er1 15871 (eval "$ac_link") 2>conftest.er1
15240 ac_status=$? 15872 ac_status=$?
15241 grep -v '^ *+' conftest.er1 >conftest.err 15873 grep -v '^ *+' conftest.er1 >conftest.err
15242 rm -f conftest.er1 15874 rm -f conftest.er1
15243 cat conftest.err >&5 15875 cat conftest.err >&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); } && { 15877 (exit $ac_status); } && {
15246 test -z "$ac_c_werror_flag" || 15878 test -z "$ac_c_werror_flag" ||
15247 test ! -s conftest.err 15879 test ! -s conftest.err
15248 } && test -s conftest$ac_exeext && 15880 } && test -s conftest$ac_exeext && {
15249 $as_test_x conftest$ac_exeext; then 15881 test "$cross_compiling" = yes ||
15882 $as_test_x conftest$ac_exeext
15883 }; then
15250 ac_cv_func_daemon=yes 15884 ac_cv_func_daemon=yes
15251else 15885else
15252 echo "$as_me: failed program was:" >&5 15886 $as_echo "$as_me: failed program was:" >&5
15253sed 's/^/| /' conftest.$ac_ext >&5 15887sed 's/^/| /' conftest.$ac_ext >&5
15254 15888
15255 ac_cv_func_daemon=no 15889 ac_cv_func_daemon=no
15256fi 15890fi
15257 15891
15892rm -rf conftest.dSYM
15258rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15893rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15259 conftest$ac_exeext conftest.$ac_ext 15894 conftest$ac_exeext conftest.$ac_ext
15260fi 15895fi
15261{ echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 15896{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
15262echo "${ECHO_T}$ac_cv_func_daemon" >&6; } 15897$as_echo "$ac_cv_func_daemon" >&6; }
15263if test $ac_cv_func_daemon = yes; then 15898if test $ac_cv_func_daemon = yes; then
15264 15899
15265cat >>confdefs.h <<\_ACEOF 15900cat >>confdefs.h <<\_ACEOF
@@ -15267,10 +15902,10 @@ cat >>confdefs.h <<\_ACEOF
15267_ACEOF 15902_ACEOF
15268 15903
15269else 15904else
15270 { echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 15905 { $as_echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
15271echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6; } 15906$as_echo_n "checking for daemon in -lbsd... " >&6; }
15272if test "${ac_cv_lib_bsd_daemon+set}" = set; then 15907if test "${ac_cv_lib_bsd_daemon+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6 15908 $as_echo_n "(cached) " >&6
15274else 15909else
15275 ac_check_lib_save_LIBS=$LIBS 15910 ac_check_lib_save_LIBS=$LIBS
15276LIBS="-lbsd $LIBS" 15911LIBS="-lbsd $LIBS"
@@ -15302,32 +15937,36 @@ case "(($ac_try" in
15302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303 *) ac_try_echo=$ac_try;; 15938 *) ac_try_echo=$ac_try;;
15304esac 15939esac
15305eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15940eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15941$as_echo "$ac_try_echo") >&5
15306 (eval "$ac_link") 2>conftest.er1 15942 (eval "$ac_link") 2>conftest.er1
15307 ac_status=$? 15943 ac_status=$?
15308 grep -v '^ *+' conftest.er1 >conftest.err 15944 grep -v '^ *+' conftest.er1 >conftest.err
15309 rm -f conftest.er1 15945 rm -f conftest.er1
15310 cat conftest.err >&5 15946 cat conftest.err >&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); } && { 15948 (exit $ac_status); } && {
15313 test -z "$ac_c_werror_flag" || 15949 test -z "$ac_c_werror_flag" ||
15314 test ! -s conftest.err 15950 test ! -s conftest.err
15315 } && test -s conftest$ac_exeext && 15951 } && test -s conftest$ac_exeext && {
15316 $as_test_x conftest$ac_exeext; then 15952 test "$cross_compiling" = yes ||
15953 $as_test_x conftest$ac_exeext
15954 }; then
15317 ac_cv_lib_bsd_daemon=yes 15955 ac_cv_lib_bsd_daemon=yes
15318else 15956else
15319 echo "$as_me: failed program was:" >&5 15957 $as_echo "$as_me: failed program was:" >&5
15320sed 's/^/| /' conftest.$ac_ext >&5 15958sed 's/^/| /' conftest.$ac_ext >&5
15321 15959
15322 ac_cv_lib_bsd_daemon=no 15960 ac_cv_lib_bsd_daemon=no
15323fi 15961fi
15324 15962
15963rm -rf conftest.dSYM
15325rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15964rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15326 conftest$ac_exeext conftest.$ac_ext 15965 conftest$ac_exeext conftest.$ac_ext
15327LIBS=$ac_check_lib_save_LIBS 15966LIBS=$ac_check_lib_save_LIBS
15328fi 15967fi
15329{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 15968{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
15330echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6; } 15969$as_echo "$ac_cv_lib_bsd_daemon" >&6; }
15331if test $ac_cv_lib_bsd_daemon = yes; then 15970if test $ac_cv_lib_bsd_daemon = yes; then
15332 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF 15971 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF
15333#define HAVE_DAEMON 1 15972#define HAVE_DAEMON 1
@@ -15339,10 +15978,10 @@ fi
15339fi 15978fi
15340 15979
15341 15980
15342{ echo "$as_me:$LINENO: checking for getpagesize" >&5 15981{ $as_echo "$as_me:$LINENO: checking for getpagesize" >&5
15343echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6; } 15982$as_echo_n "checking for getpagesize... " >&6; }
15344if test "${ac_cv_func_getpagesize+set}" = set; then 15983if test "${ac_cv_func_getpagesize+set}" = set; then
15345 echo $ECHO_N "(cached) $ECHO_C" >&6 15984 $as_echo_n "(cached) " >&6
15346else 15985else
15347 cat >conftest.$ac_ext <<_ACEOF 15986 cat >conftest.$ac_ext <<_ACEOF
15348/* confdefs.h. */ 15987/* confdefs.h. */
@@ -15395,31 +16034,35 @@ case "(($ac_try" in
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;; 16035 *) ac_try_echo=$ac_try;;
15397esac 16036esac
15398eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16037eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16038$as_echo "$ac_try_echo") >&5
15399 (eval "$ac_link") 2>conftest.er1 16039 (eval "$ac_link") 2>conftest.er1
15400 ac_status=$? 16040 ac_status=$?
15401 grep -v '^ *+' conftest.er1 >conftest.err 16041 grep -v '^ *+' conftest.er1 >conftest.err
15402 rm -f conftest.er1 16042 rm -f conftest.er1
15403 cat conftest.err >&5 16043 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } && { 16045 (exit $ac_status); } && {
15406 test -z "$ac_c_werror_flag" || 16046 test -z "$ac_c_werror_flag" ||
15407 test ! -s conftest.err 16047 test ! -s conftest.err
15408 } && test -s conftest$ac_exeext && 16048 } && test -s conftest$ac_exeext && {
15409 $as_test_x conftest$ac_exeext; then 16049 test "$cross_compiling" = yes ||
16050 $as_test_x conftest$ac_exeext
16051 }; then
15410 ac_cv_func_getpagesize=yes 16052 ac_cv_func_getpagesize=yes
15411else 16053else
15412 echo "$as_me: failed program was:" >&5 16054 $as_echo "$as_me: failed program was:" >&5
15413sed 's/^/| /' conftest.$ac_ext >&5 16055sed 's/^/| /' conftest.$ac_ext >&5
15414 16056
15415 ac_cv_func_getpagesize=no 16057 ac_cv_func_getpagesize=no
15416fi 16058fi
15417 16059
16060rm -rf conftest.dSYM
15418rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16061rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15419 conftest$ac_exeext conftest.$ac_ext 16062 conftest$ac_exeext conftest.$ac_ext
15420fi 16063fi
15421{ echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 16064{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
15422echo "${ECHO_T}$ac_cv_func_getpagesize" >&6; } 16065$as_echo "$ac_cv_func_getpagesize" >&6; }
15423if test $ac_cv_func_getpagesize = yes; then 16066if test $ac_cv_func_getpagesize = yes; then
15424 16067
15425cat >>confdefs.h <<\_ACEOF 16068cat >>confdefs.h <<\_ACEOF
@@ -15427,10 +16070,10 @@ cat >>confdefs.h <<\_ACEOF
15427_ACEOF 16070_ACEOF
15428 16071
15429else 16072else
15430 { echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 16073 { $as_echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5
15431echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6; } 16074$as_echo_n "checking for getpagesize in -lucb... " >&6; }
15432if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then 16075if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6 16076 $as_echo_n "(cached) " >&6
15434else 16077else
15435 ac_check_lib_save_LIBS=$LIBS 16078 ac_check_lib_save_LIBS=$LIBS
15436LIBS="-lucb $LIBS" 16079LIBS="-lucb $LIBS"
@@ -15462,32 +16105,36 @@ case "(($ac_try" in
15462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15463 *) ac_try_echo=$ac_try;; 16106 *) ac_try_echo=$ac_try;;
15464esac 16107esac
15465eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16108eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16109$as_echo "$ac_try_echo") >&5
15466 (eval "$ac_link") 2>conftest.er1 16110 (eval "$ac_link") 2>conftest.er1
15467 ac_status=$? 16111 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err 16112 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1 16113 rm -f conftest.er1
15470 cat conftest.err >&5 16114 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && { 16116 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" || 16117 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err 16118 test ! -s conftest.err
15475 } && test -s conftest$ac_exeext && 16119 } && test -s conftest$ac_exeext && {
15476 $as_test_x conftest$ac_exeext; then 16120 test "$cross_compiling" = yes ||
16121 $as_test_x conftest$ac_exeext
16122 }; then
15477 ac_cv_lib_ucb_getpagesize=yes 16123 ac_cv_lib_ucb_getpagesize=yes
15478else 16124else
15479 echo "$as_me: failed program was:" >&5 16125 $as_echo "$as_me: failed program was:" >&5
15480sed 's/^/| /' conftest.$ac_ext >&5 16126sed 's/^/| /' conftest.$ac_ext >&5
15481 16127
15482 ac_cv_lib_ucb_getpagesize=no 16128 ac_cv_lib_ucb_getpagesize=no
15483fi 16129fi
15484 16130
16131rm -rf conftest.dSYM
15485rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16132rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15486 conftest$ac_exeext conftest.$ac_ext 16133 conftest$ac_exeext conftest.$ac_ext
15487LIBS=$ac_check_lib_save_LIBS 16134LIBS=$ac_check_lib_save_LIBS
15488fi 16135fi
15489{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 16136{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5
15490echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6; } 16137$as_echo "$ac_cv_lib_ucb_getpagesize" >&6; }
15491if test $ac_cv_lib_ucb_getpagesize = yes; then 16138if test $ac_cv_lib_ucb_getpagesize = yes; then
15492 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF 16139 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF
15493#define HAVE_GETPAGESIZE 1 16140#define HAVE_GETPAGESIZE 1
@@ -15501,11 +16148,11 @@ fi
15501 16148
15502# Check for broken snprintf 16149# Check for broken snprintf
15503if test "x$ac_cv_func_snprintf" = "xyes" ; then 16150if test "x$ac_cv_func_snprintf" = "xyes" ; then
15504 { echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 16151 { $as_echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
15505echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6; } 16152$as_echo_n "checking whether snprintf correctly terminates long strings... " >&6; }
15506 if test "$cross_compiling" = yes; then 16153 if test "$cross_compiling" = yes; then
15507 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 16154 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5
15508echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} 16155$as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;}
15509 16156
15510else 16157else
15511 cat >conftest.$ac_ext <<_ACEOF 16158 cat >conftest.$ac_ext <<_ACEOF
@@ -15525,40 +16172,43 @@ case "(($ac_try" in
15525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15526 *) ac_try_echo=$ac_try;; 16173 *) ac_try_echo=$ac_try;;
15527esac 16174esac
15528eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16175eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16176$as_echo "$ac_try_echo") >&5
15529 (eval "$ac_link") 2>&5 16177 (eval "$ac_link") 2>&5
15530 ac_status=$? 16178 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15533 { (case "(($ac_try" in 16181 { (case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;; 16183 *) ac_try_echo=$ac_try;;
15536esac 16184esac
15537eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16185eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16186$as_echo "$ac_try_echo") >&5
15538 (eval "$ac_try") 2>&5 16187 (eval "$ac_try") 2>&5
15539 ac_status=$? 16188 ac_status=$?
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; }; then 16190 (exit $ac_status); }; }; then
15542 { echo "$as_me:$LINENO: result: yes" >&5 16191 { $as_echo "$as_me:$LINENO: result: yes" >&5
15543echo "${ECHO_T}yes" >&6; } 16192$as_echo "yes" >&6; }
15544else 16193else
15545 echo "$as_me: program exited with status $ac_status" >&5 16194 $as_echo "$as_me: program exited with status $ac_status" >&5
15546echo "$as_me: failed program was:" >&5 16195$as_echo "$as_me: failed program was:" >&5
15547sed 's/^/| /' conftest.$ac_ext >&5 16196sed 's/^/| /' conftest.$ac_ext >&5
15548 16197
15549( exit $ac_status ) 16198( exit $ac_status )
15550 16199
15551 { echo "$as_me:$LINENO: result: no" >&5 16200 { $as_echo "$as_me:$LINENO: result: no" >&5
15552echo "${ECHO_T}no" >&6; } 16201$as_echo "no" >&6; }
15553 16202
15554cat >>confdefs.h <<\_ACEOF 16203cat >>confdefs.h <<\_ACEOF
15555#define BROKEN_SNPRINTF 1 16204#define BROKEN_SNPRINTF 1
15556_ACEOF 16205_ACEOF
15557 16206
15558 { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 16207 { $as_echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
15559echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} 16208$as_echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
15560 16209
15561fi 16210fi
16211rm -rf conftest.dSYM
15562rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16212rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15563fi 16213fi
15564 16214
@@ -15570,11 +16220,11 @@ fi
15570# create (as per SUSv3) 16220# create (as per SUSv3)
15571if test "x$ac_cv_func_asprintf" != "xyes" && \ 16221if test "x$ac_cv_func_asprintf" != "xyes" && \
15572 test "x$ac_cv_func_vsnprintf" = "xyes" ; then 16222 test "x$ac_cv_func_vsnprintf" = "xyes" ; then
15573 { echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5 16223 { $as_echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5
15574echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6; } 16224$as_echo_n "checking whether vsnprintf returns correct values on overflow... " >&6; }
15575 if test "$cross_compiling" = yes; then 16225 if test "$cross_compiling" = yes; then
15576 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5 16226 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5
15577echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} 16227$as_echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;}
15578 16228
15579else 16229else
15580 cat >conftest.$ac_ext <<_ACEOF 16230 cat >conftest.$ac_ext <<_ACEOF
@@ -15606,40 +16256,43 @@ case "(($ac_try" in
15606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15607 *) ac_try_echo=$ac_try;; 16257 *) ac_try_echo=$ac_try;;
15608esac 16258esac
15609eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16259eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16260$as_echo "$ac_try_echo") >&5
15610 (eval "$ac_link") 2>&5 16261 (eval "$ac_link") 2>&5
15611 ac_status=$? 16262 ac_status=$?
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15614 { (case "(($ac_try" in 16265 { (case "(($ac_try" in
15615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15616 *) ac_try_echo=$ac_try;; 16267 *) ac_try_echo=$ac_try;;
15617esac 16268esac
15618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16269eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16270$as_echo "$ac_try_echo") >&5
15619 (eval "$ac_try") 2>&5 16271 (eval "$ac_try") 2>&5
15620 ac_status=$? 16272 ac_status=$?
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); }; }; then 16274 (exit $ac_status); }; }; then
15623 { echo "$as_me:$LINENO: result: yes" >&5 16275 { $as_echo "$as_me:$LINENO: result: yes" >&5
15624echo "${ECHO_T}yes" >&6; } 16276$as_echo "yes" >&6; }
15625else 16277else
15626 echo "$as_me: program exited with status $ac_status" >&5 16278 $as_echo "$as_me: program exited with status $ac_status" >&5
15627echo "$as_me: failed program was:" >&5 16279$as_echo "$as_me: failed program was:" >&5
15628sed 's/^/| /' conftest.$ac_ext >&5 16280sed 's/^/| /' conftest.$ac_ext >&5
15629 16281
15630( exit $ac_status ) 16282( exit $ac_status )
15631 16283
15632 { echo "$as_me:$LINENO: result: no" >&5 16284 { $as_echo "$as_me:$LINENO: result: no" >&5
15633echo "${ECHO_T}no" >&6; } 16285$as_echo "no" >&6; }
15634 16286
15635cat >>confdefs.h <<\_ACEOF 16287cat >>confdefs.h <<\_ACEOF
15636#define BROKEN_SNPRINTF 1 16288#define BROKEN_SNPRINTF 1
15637_ACEOF 16289_ACEOF
15638 16290
15639 { echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5 16291 { $as_echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5
15640echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} 16292$as_echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;}
15641 16293
15642fi 16294fi
16295rm -rf conftest.dSYM
15643rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16296rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15644fi 16297fi
15645 16298
@@ -15649,8 +16302,8 @@ fi
15649# On systems where [v]snprintf is broken, but is declared in stdio, 16302# On systems where [v]snprintf is broken, but is declared in stdio,
15650# check that the fmt argument is const char * or just char *. 16303# check that the fmt argument is const char * or just char *.
15651# This is only useful for when BROKEN_SNPRINTF 16304# This is only useful for when BROKEN_SNPRINTF
15652{ echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5 16305{ $as_echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5
15653echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6; } 16306$as_echo_n "checking whether snprintf can declare const char *fmt... " >&6; }
15654cat >conftest.$ac_ext <<_ACEOF 16307cat >conftest.$ac_ext <<_ACEOF
15655/* confdefs.h. */ 16308/* confdefs.h. */
15656_ACEOF 16309_ACEOF
@@ -15668,30 +16321,31 @@ case "(($ac_try" in
15668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15669 *) ac_try_echo=$ac_try;; 16322 *) ac_try_echo=$ac_try;;
15670esac 16323esac
15671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16325$as_echo "$ac_try_echo") >&5
15672 (eval "$ac_compile") 2>conftest.er1 16326 (eval "$ac_compile") 2>conftest.er1
15673 ac_status=$? 16327 ac_status=$?
15674 grep -v '^ *+' conftest.er1 >conftest.err 16328 grep -v '^ *+' conftest.er1 >conftest.err
15675 rm -f conftest.er1 16329 rm -f conftest.er1
15676 cat conftest.err >&5 16330 cat conftest.err >&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } && { 16332 (exit $ac_status); } && {
15679 test -z "$ac_c_werror_flag" || 16333 test -z "$ac_c_werror_flag" ||
15680 test ! -s conftest.err 16334 test ! -s conftest.err
15681 } && test -s conftest.$ac_objext; then 16335 } && test -s conftest.$ac_objext; then
15682 { echo "$as_me:$LINENO: result: yes" >&5 16336 { $as_echo "$as_me:$LINENO: result: yes" >&5
15683echo "${ECHO_T}yes" >&6; } 16337$as_echo "yes" >&6; }
15684 16338
15685cat >>confdefs.h <<\_ACEOF 16339cat >>confdefs.h <<\_ACEOF
15686#define SNPRINTF_CONST const 16340#define SNPRINTF_CONST const
15687_ACEOF 16341_ACEOF
15688 16342
15689else 16343else
15690 echo "$as_me: failed program was:" >&5 16344 $as_echo "$as_me: failed program was:" >&5
15691sed 's/^/| /' conftest.$ac_ext >&5 16345sed 's/^/| /' conftest.$ac_ext >&5
15692 16346
15693 { echo "$as_me:$LINENO: result: no" >&5 16347 { $as_echo "$as_me:$LINENO: result: no" >&5
15694echo "${ECHO_T}no" >&6; } 16348$as_echo "no" >&6; }
15695 cat >>confdefs.h <<\_ACEOF 16349 cat >>confdefs.h <<\_ACEOF
15696#define SNPRINTF_CONST /* not const */ 16350#define SNPRINTF_CONST /* not const */
15697_ACEOF 16351_ACEOF
@@ -15703,8 +16357,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15703# Check for missing getpeereid (or equiv) support 16357# Check for missing getpeereid (or equiv) support
15704NO_PEERCHECK="" 16358NO_PEERCHECK=""
15705if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then 16359if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then
15706 { echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5 16360 { $as_echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5
15707echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6; } 16361$as_echo_n "checking whether system supports SO_PEERCRED getsockopt... " >&6; }
15708 cat >conftest.$ac_ext <<_ACEOF 16362 cat >conftest.$ac_ext <<_ACEOF
15709/* confdefs.h. */ 16363/* confdefs.h. */
15710_ACEOF 16364_ACEOF
@@ -15727,19 +16381,20 @@ case "(($ac_try" in
15727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15728 *) ac_try_echo=$ac_try;; 16382 *) ac_try_echo=$ac_try;;
15729esac 16383esac
15730eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16384eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16385$as_echo "$ac_try_echo") >&5
15731 (eval "$ac_compile") 2>conftest.er1 16386 (eval "$ac_compile") 2>conftest.er1
15732 ac_status=$? 16387 ac_status=$?
15733 grep -v '^ *+' conftest.er1 >conftest.err 16388 grep -v '^ *+' conftest.er1 >conftest.err
15734 rm -f conftest.er1 16389 rm -f conftest.er1
15735 cat conftest.err >&5 16390 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } && { 16392 (exit $ac_status); } && {
15738 test -z "$ac_c_werror_flag" || 16393 test -z "$ac_c_werror_flag" ||
15739 test ! -s conftest.err 16394 test ! -s conftest.err
15740 } && test -s conftest.$ac_objext; then 16395 } && test -s conftest.$ac_objext; then
15741 { echo "$as_me:$LINENO: result: yes" >&5 16396 { $as_echo "$as_me:$LINENO: result: yes" >&5
15742echo "${ECHO_T}yes" >&6; } 16397$as_echo "yes" >&6; }
15743 16398
15744cat >>confdefs.h <<\_ACEOF 16399cat >>confdefs.h <<\_ACEOF
15745#define HAVE_SO_PEERCRED 1 16400#define HAVE_SO_PEERCRED 1
@@ -15747,11 +16402,11 @@ _ACEOF
15747 16402
15748 16403
15749else 16404else
15750 echo "$as_me: failed program was:" >&5 16405 $as_echo "$as_me: failed program was:" >&5
15751sed 's/^/| /' conftest.$ac_ext >&5 16406sed 's/^/| /' conftest.$ac_ext >&5
15752 16407
15753 { echo "$as_me:$LINENO: result: no" >&5 16408 { $as_echo "$as_me:$LINENO: result: no" >&5
15754echo "${ECHO_T}no" >&6; } 16409$as_echo "no" >&6; }
15755 NO_PEERCHECK=1 16410 NO_PEERCHECK=1
15756 16411
15757fi 16412fi
@@ -15760,12 +16415,12 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760fi 16415fi
15761 16416
15762if test "x$ac_cv_func_mkdtemp" = "xyes" ; then 16417if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
15763{ echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 16418{ $as_echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5
15764echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6; } 16419$as_echo_n "checking for (overly) strict mkstemp... " >&6; }
15765if test "$cross_compiling" = yes; then 16420if test "$cross_compiling" = yes; then
15766 16421
15767 { echo "$as_me:$LINENO: result: yes" >&5 16422 { $as_echo "$as_me:$LINENO: result: yes" >&5
15768echo "${ECHO_T}yes" >&6; } 16423$as_echo "yes" >&6; }
15769 cat >>confdefs.h <<\_ACEOF 16424 cat >>confdefs.h <<\_ACEOF
15770#define HAVE_STRICT_MKSTEMP 1 16425#define HAVE_STRICT_MKSTEMP 1
15771_ACEOF 16426_ACEOF
@@ -15794,33 +16449,35 @@ case "(($ac_try" in
15794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15795 *) ac_try_echo=$ac_try;; 16450 *) ac_try_echo=$ac_try;;
15796esac 16451esac
15797eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16452eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16453$as_echo "$ac_try_echo") >&5
15798 (eval "$ac_link") 2>&5 16454 (eval "$ac_link") 2>&5
15799 ac_status=$? 16455 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15802 { (case "(($ac_try" in 16458 { (case "(($ac_try" in
15803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15804 *) ac_try_echo=$ac_try;; 16460 *) ac_try_echo=$ac_try;;
15805esac 16461esac
15806eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16462eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16463$as_echo "$ac_try_echo") >&5
15807 (eval "$ac_try") 2>&5 16464 (eval "$ac_try") 2>&5
15808 ac_status=$? 16465 ac_status=$?
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then 16467 (exit $ac_status); }; }; then
15811 16468
15812 { echo "$as_me:$LINENO: result: no" >&5 16469 { $as_echo "$as_me:$LINENO: result: no" >&5
15813echo "${ECHO_T}no" >&6; } 16470$as_echo "no" >&6; }
15814 16471
15815else 16472else
15816 echo "$as_me: program exited with status $ac_status" >&5 16473 $as_echo "$as_me: program exited with status $ac_status" >&5
15817echo "$as_me: failed program was:" >&5 16474$as_echo "$as_me: failed program was:" >&5
15818sed 's/^/| /' conftest.$ac_ext >&5 16475sed 's/^/| /' conftest.$ac_ext >&5
15819 16476
15820( exit $ac_status ) 16477( exit $ac_status )
15821 16478
15822 { echo "$as_me:$LINENO: result: yes" >&5 16479 { $as_echo "$as_me:$LINENO: result: yes" >&5
15823echo "${ECHO_T}yes" >&6; } 16480$as_echo "yes" >&6; }
15824 16481
15825cat >>confdefs.h <<\_ACEOF 16482cat >>confdefs.h <<\_ACEOF
15826#define HAVE_STRICT_MKSTEMP 1 16483#define HAVE_STRICT_MKSTEMP 1
@@ -15828,6 +16485,7 @@ _ACEOF
15828 16485
15829 16486
15830fi 16487fi
16488rm -rf conftest.dSYM
15831rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16489rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15832fi 16490fi
15833 16491
@@ -15835,12 +16493,12 @@ fi
15835fi 16493fi
15836 16494
15837if test ! -z "$check_for_openpty_ctty_bug"; then 16495if test ! -z "$check_for_openpty_ctty_bug"; then
15838 { echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 16496 { $as_echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5
15839echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6; } 16497$as_echo_n "checking if openpty correctly handles controlling tty... " >&6; }
15840 if test "$cross_compiling" = yes; then 16498 if test "$cross_compiling" = yes; then
15841 16499
15842 { echo "$as_me:$LINENO: result: cross-compiling" >&5 16500 { $as_echo "$as_me:$LINENO: result: cross-compiling" >&5
15843echo "${ECHO_T}cross-compiling" >&6; } 16501$as_echo "cross-compiling" >&6; }
15844 16502
15845 16503
15846else 16504else
@@ -15890,39 +16548,42 @@ case "(($ac_try" in
15890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15891 *) ac_try_echo=$ac_try;; 16549 *) ac_try_echo=$ac_try;;
15892esac 16550esac
15893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16551eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16552$as_echo "$ac_try_echo") >&5
15894 (eval "$ac_link") 2>&5 16553 (eval "$ac_link") 2>&5
15895 ac_status=$? 16554 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15898 { (case "(($ac_try" in 16557 { (case "(($ac_try" in
15899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15900 *) ac_try_echo=$ac_try;; 16559 *) ac_try_echo=$ac_try;;
15901esac 16560esac
15902eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16561eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16562$as_echo "$ac_try_echo") >&5
15903 (eval "$ac_try") 2>&5 16563 (eval "$ac_try") 2>&5
15904 ac_status=$? 16564 ac_status=$?
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; }; then 16566 (exit $ac_status); }; }; then
15907 16567
15908 { echo "$as_me:$LINENO: result: yes" >&5 16568 { $as_echo "$as_me:$LINENO: result: yes" >&5
15909echo "${ECHO_T}yes" >&6; } 16569$as_echo "yes" >&6; }
15910 16570
15911else 16571else
15912 echo "$as_me: program exited with status $ac_status" >&5 16572 $as_echo "$as_me: program exited with status $ac_status" >&5
15913echo "$as_me: failed program was:" >&5 16573$as_echo "$as_me: failed program was:" >&5
15914sed 's/^/| /' conftest.$ac_ext >&5 16574sed 's/^/| /' conftest.$ac_ext >&5
15915 16575
15916( exit $ac_status ) 16576( exit $ac_status )
15917 16577
15918 { echo "$as_me:$LINENO: result: no" >&5 16578 { $as_echo "$as_me:$LINENO: result: no" >&5
15919echo "${ECHO_T}no" >&6; } 16579$as_echo "no" >&6; }
15920 cat >>confdefs.h <<\_ACEOF 16580 cat >>confdefs.h <<\_ACEOF
15921#define SSHD_ACQUIRES_CTTY 1 16581#define SSHD_ACQUIRES_CTTY 1
15922_ACEOF 16582_ACEOF
15923 16583
15924 16584
15925fi 16585fi
16586rm -rf conftest.dSYM
15926rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16587rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15927fi 16588fi
15928 16589
@@ -15931,12 +16592,12 @@ fi
15931 16592
15932if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ 16593if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
15933 test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then 16594 test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then
15934 { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 16595 { $as_echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
15935echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } 16596$as_echo_n "checking if getaddrinfo seems to work... " >&6; }
15936 if test "$cross_compiling" = yes; then 16597 if test "$cross_compiling" = yes; then
15937 16598
15938 { echo "$as_me:$LINENO: result: cross-compiling" >&5 16599 { $as_echo "$as_me:$LINENO: result: cross-compiling" >&5
15939echo "${ECHO_T}cross-compiling" >&6; } 16600$as_echo "cross-compiling" >&6; }
15940 16601
15941 16602
15942else 16603else
@@ -16008,39 +16669,42 @@ case "(($ac_try" in
16008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16009 *) ac_try_echo=$ac_try;; 16670 *) ac_try_echo=$ac_try;;
16010esac 16671esac
16011eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16672eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16673$as_echo "$ac_try_echo") >&5
16012 (eval "$ac_link") 2>&5 16674 (eval "$ac_link") 2>&5
16013 ac_status=$? 16675 ac_status=$?
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16016 { (case "(($ac_try" in 16678 { (case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;; 16680 *) ac_try_echo=$ac_try;;
16019esac 16681esac
16020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16682eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16683$as_echo "$ac_try_echo") >&5
16021 (eval "$ac_try") 2>&5 16684 (eval "$ac_try") 2>&5
16022 ac_status=$? 16685 ac_status=$?
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then 16687 (exit $ac_status); }; }; then
16025 16688
16026 { echo "$as_me:$LINENO: result: yes" >&5 16689 { $as_echo "$as_me:$LINENO: result: yes" >&5
16027echo "${ECHO_T}yes" >&6; } 16690$as_echo "yes" >&6; }
16028 16691
16029else 16692else
16030 echo "$as_me: program exited with status $ac_status" >&5 16693 $as_echo "$as_me: program exited with status $ac_status" >&5
16031echo "$as_me: failed program was:" >&5 16694$as_echo "$as_me: failed program was:" >&5
16032sed 's/^/| /' conftest.$ac_ext >&5 16695sed 's/^/| /' conftest.$ac_ext >&5
16033 16696
16034( exit $ac_status ) 16697( exit $ac_status )
16035 16698
16036 { echo "$as_me:$LINENO: result: no" >&5 16699 { $as_echo "$as_me:$LINENO: result: no" >&5
16037echo "${ECHO_T}no" >&6; } 16700$as_echo "no" >&6; }
16038 cat >>confdefs.h <<\_ACEOF 16701 cat >>confdefs.h <<\_ACEOF
16039#define BROKEN_GETADDRINFO 1 16702#define BROKEN_GETADDRINFO 1
16040_ACEOF 16703_ACEOF
16041 16704
16042 16705
16043fi 16706fi
16707rm -rf conftest.dSYM
16044rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16708rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16045fi 16709fi
16046 16710
@@ -16049,12 +16713,12 @@ fi
16049 16713
16050if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ 16714if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
16051 test "x$check_for_aix_broken_getaddrinfo" = "x1"; then 16715 test "x$check_for_aix_broken_getaddrinfo" = "x1"; then
16052 { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 16716 { $as_echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
16053echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } 16717$as_echo_n "checking if getaddrinfo seems to work... " >&6; }
16054 if test "$cross_compiling" = yes; then 16718 if test "$cross_compiling" = yes; then
16055 16719
16056 { echo "$as_me:$LINENO: result: cross-compiling" >&5 16720 { $as_echo "$as_me:$LINENO: result: cross-compiling" >&5
16057echo "${ECHO_T}cross-compiling" >&6; } 16721$as_echo "cross-compiling" >&6; }
16058 16722
16059 16723
16060else 16724else
@@ -16114,23 +16778,25 @@ case "(($ac_try" in
16114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 *) ac_try_echo=$ac_try;; 16779 *) ac_try_echo=$ac_try;;
16116esac 16780esac
16117eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16781eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16782$as_echo "$ac_try_echo") >&5
16118 (eval "$ac_link") 2>&5 16783 (eval "$ac_link") 2>&5
16119 ac_status=$? 16784 ac_status=$?
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16785 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16122 { (case "(($ac_try" in 16787 { (case "(($ac_try" in
16123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16124 *) ac_try_echo=$ac_try;; 16789 *) ac_try_echo=$ac_try;;
16125esac 16790esac
16126eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16791eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16792$as_echo "$ac_try_echo") >&5
16127 (eval "$ac_try") 2>&5 16793 (eval "$ac_try") 2>&5
16128 ac_status=$? 16794 ac_status=$?
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; }; then 16796 (exit $ac_status); }; }; then
16131 16797
16132 { echo "$as_me:$LINENO: result: yes" >&5 16798 { $as_echo "$as_me:$LINENO: result: yes" >&5
16133echo "${ECHO_T}yes" >&6; } 16799$as_echo "yes" >&6; }
16134 16800
16135cat >>confdefs.h <<\_ACEOF 16801cat >>confdefs.h <<\_ACEOF
16136#define AIX_GETNAMEINFO_HACK 1 16802#define AIX_GETNAMEINFO_HACK 1
@@ -16138,20 +16804,21 @@ _ACEOF
16138 16804
16139 16805
16140else 16806else
16141 echo "$as_me: program exited with status $ac_status" >&5 16807 $as_echo "$as_me: program exited with status $ac_status" >&5
16142echo "$as_me: failed program was:" >&5 16808$as_echo "$as_me: failed program was:" >&5
16143sed 's/^/| /' conftest.$ac_ext >&5 16809sed 's/^/| /' conftest.$ac_ext >&5
16144 16810
16145( exit $ac_status ) 16811( exit $ac_status )
16146 16812
16147 { echo "$as_me:$LINENO: result: no" >&5 16813 { $as_echo "$as_me:$LINENO: result: no" >&5
16148echo "${ECHO_T}no" >&6; } 16814$as_echo "no" >&6; }
16149 cat >>confdefs.h <<\_ACEOF 16815 cat >>confdefs.h <<\_ACEOF
16150#define BROKEN_GETADDRINFO 1 16816#define BROKEN_GETADDRINFO 1
16151_ACEOF 16817_ACEOF
16152 16818
16153 16819
16154fi 16820fi
16821rm -rf conftest.dSYM
16155rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16822rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16156fi 16823fi
16157 16824
@@ -16159,8 +16826,8 @@ fi
16159fi 16826fi
16160 16827
16161if test "x$check_for_conflicting_getspnam" = "x1"; then 16828if test "x$check_for_conflicting_getspnam" = "x1"; then
16162 { echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5 16829 { $as_echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5
16163echo $ECHO_N "checking for conflicting getspnam in shadow.h... $ECHO_C" >&6; } 16830$as_echo_n "checking for conflicting getspnam in shadow.h... " >&6; }
16164 cat >conftest.$ac_ext <<_ACEOF 16831 cat >conftest.$ac_ext <<_ACEOF
16165 16832
16166#include <shadow.h> 16833#include <shadow.h>
@@ -16173,28 +16840,29 @@ case "(($ac_try" in
16173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16174 *) ac_try_echo=$ac_try;; 16841 *) ac_try_echo=$ac_try;;
16175esac 16842esac
16176eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16843eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16844$as_echo "$ac_try_echo") >&5
16177 (eval "$ac_compile") 2>conftest.er1 16845 (eval "$ac_compile") 2>conftest.er1
16178 ac_status=$? 16846 ac_status=$?
16179 grep -v '^ *+' conftest.er1 >conftest.err 16847 grep -v '^ *+' conftest.er1 >conftest.err
16180 rm -f conftest.er1 16848 rm -f conftest.er1
16181 cat conftest.err >&5 16849 cat conftest.err >&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } && { 16851 (exit $ac_status); } && {
16184 test -z "$ac_c_werror_flag" || 16852 test -z "$ac_c_werror_flag" ||
16185 test ! -s conftest.err 16853 test ! -s conftest.err
16186 } && test -s conftest.$ac_objext; then 16854 } && test -s conftest.$ac_objext; then
16187 16855
16188 { echo "$as_me:$LINENO: result: no" >&5 16856 { $as_echo "$as_me:$LINENO: result: no" >&5
16189echo "${ECHO_T}no" >&6; } 16857$as_echo "no" >&6; }
16190 16858
16191else 16859else
16192 echo "$as_me: failed program was:" >&5 16860 $as_echo "$as_me: failed program was:" >&5
16193sed 's/^/| /' conftest.$ac_ext >&5 16861sed 's/^/| /' conftest.$ac_ext >&5
16194 16862
16195 16863
16196 { echo "$as_me:$LINENO: result: yes" >&5 16864 { $as_echo "$as_me:$LINENO: result: yes" >&5
16197echo "${ECHO_T}yes" >&6; } 16865$as_echo "yes" >&6; }
16198 16866
16199cat >>confdefs.h <<\_ACEOF 16867cat >>confdefs.h <<\_ACEOF
16200#define GETSPNAM_CONFLICTING_DEFS 1 16868#define GETSPNAM_CONFLICTING_DEFS 1
@@ -16207,10 +16875,10 @@ fi
16207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16208fi 16876fi
16209 16877
16210{ echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 16878{ $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
16211echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } 16879$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
16212if test "${ac_cv_func_getpgrp_void+set}" = set; then 16880if test "${ac_cv_func_getpgrp_void+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6 16881 $as_echo_n "(cached) " >&6
16214else 16882else
16215 # Use it with a single arg. 16883 # Use it with a single arg.
16216cat >conftest.$ac_ext <<_ACEOF 16884cat >conftest.$ac_ext <<_ACEOF
@@ -16234,20 +16902,21 @@ case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;; 16903 *) ac_try_echo=$ac_try;;
16236esac 16904esac
16237eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16905eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16906$as_echo "$ac_try_echo") >&5
16238 (eval "$ac_compile") 2>conftest.er1 16907 (eval "$ac_compile") 2>conftest.er1
16239 ac_status=$? 16908 ac_status=$?
16240 grep -v '^ *+' conftest.er1 >conftest.err 16909 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1 16910 rm -f conftest.er1
16242 cat conftest.err >&5 16911 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && { 16913 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" || 16914 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err 16915 test ! -s conftest.err
16247 } && test -s conftest.$ac_objext; then 16916 } && test -s conftest.$ac_objext; then
16248 ac_cv_func_getpgrp_void=no 16917 ac_cv_func_getpgrp_void=no
16249else 16918else
16250 echo "$as_me: failed program was:" >&5 16919 $as_echo "$as_me: failed program was:" >&5
16251sed 's/^/| /' conftest.$ac_ext >&5 16920sed 's/^/| /' conftest.$ac_ext >&5
16252 16921
16253 ac_cv_func_getpgrp_void=yes 16922 ac_cv_func_getpgrp_void=yes
@@ -16256,8 +16925,8 @@ fi
16256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16257 16926
16258fi 16927fi
16259{ echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 16928{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
16260echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } 16929$as_echo "$ac_cv_func_getpgrp_void" >&6; }
16261if test $ac_cv_func_getpgrp_void = yes; then 16930if test $ac_cv_func_getpgrp_void = yes; then
16262 16931
16263cat >>confdefs.h <<\_ACEOF 16932cat >>confdefs.h <<\_ACEOF
@@ -16331,25 +17000,28 @@ case "(($ac_try" in
16331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16332 *) ac_try_echo=$ac_try;; 17001 *) ac_try_echo=$ac_try;;
16333esac 17002esac
16334eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17003eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17004$as_echo "$ac_try_echo") >&5
16335 (eval "$ac_link") 2>conftest.er1 17005 (eval "$ac_link") 2>conftest.er1
16336 ac_status=$? 17006 ac_status=$?
16337 grep -v '^ *+' conftest.er1 >conftest.err 17007 grep -v '^ *+' conftest.er1 >conftest.err
16338 rm -f conftest.er1 17008 rm -f conftest.er1
16339 cat conftest.err >&5 17009 cat conftest.err >&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); } && { 17011 (exit $ac_status); } && {
16342 test -z "$ac_c_werror_flag" || 17012 test -z "$ac_c_werror_flag" ||
16343 test ! -s conftest.err 17013 test ! -s conftest.err
16344 } && test -s conftest$ac_exeext && 17014 } && test -s conftest$ac_exeext && {
16345 $as_test_x conftest$ac_exeext; then 17015 test "$cross_compiling" = yes ||
17016 $as_test_x conftest$ac_exeext
17017 }; then
16346 17018
16347cat >>confdefs.h <<\_ACEOF 17019cat >>confdefs.h <<\_ACEOF
16348#define HAVE_OPENSSL 1 17020#define HAVE_OPENSSL 1
16349_ACEOF 17021_ACEOF
16350 17022
16351else 17023else
16352 echo "$as_me: failed program was:" >&5 17024 $as_echo "$as_me: failed program was:" >&5
16353sed 's/^/| /' conftest.$ac_ext >&5 17025sed 's/^/| /' conftest.$ac_ext >&5
16354 17026
16355 17027
@@ -16359,6 +17031,147 @@ sed 's/^/| /' conftest.$ac_ext >&5
16359 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" 17031 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}"
16360 fi 17032 fi
16361 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" 17033 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
17034 if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then
17035 { $as_echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5
17036$as_echo_n "checking for openssl/opensslv.h... " >&6; }
17037if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then
17038 $as_echo_n "(cached) " >&6
17039fi
17040{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5
17041$as_echo "$ac_cv_header_openssl_opensslv_h" >&6; }
17042else
17043 # Is the header compilable?
17044{ $as_echo "$as_me:$LINENO: checking openssl/opensslv.h usability" >&5
17045$as_echo_n "checking openssl/opensslv.h usability... " >&6; }
17046cat >conftest.$ac_ext <<_ACEOF
17047/* confdefs.h. */
17048_ACEOF
17049cat confdefs.h >>conftest.$ac_ext
17050cat >>conftest.$ac_ext <<_ACEOF
17051/* end confdefs.h. */
17052$ac_includes_default
17053#include <openssl/opensslv.h>
17054_ACEOF
17055rm -f conftest.$ac_objext
17056if { (ac_try="$ac_compile"
17057case "(($ac_try" in
17058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17059 *) ac_try_echo=$ac_try;;
17060esac
17061eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17062$as_echo "$ac_try_echo") >&5
17063 (eval "$ac_compile") 2>conftest.er1
17064 ac_status=$?
17065 grep -v '^ *+' conftest.er1 >conftest.err
17066 rm -f conftest.er1
17067 cat conftest.err >&5
17068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } && {
17070 test -z "$ac_c_werror_flag" ||
17071 test ! -s conftest.err
17072 } && test -s conftest.$ac_objext; then
17073 ac_header_compiler=yes
17074else
17075 $as_echo "$as_me: failed program was:" >&5
17076sed 's/^/| /' conftest.$ac_ext >&5
17077
17078 ac_header_compiler=no
17079fi
17080
17081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17082{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17083$as_echo "$ac_header_compiler" >&6; }
17084
17085# Is the header present?
17086{ $as_echo "$as_me:$LINENO: checking openssl/opensslv.h presence" >&5
17087$as_echo_n "checking openssl/opensslv.h presence... " >&6; }
17088cat >conftest.$ac_ext <<_ACEOF
17089/* confdefs.h. */
17090_ACEOF
17091cat confdefs.h >>conftest.$ac_ext
17092cat >>conftest.$ac_ext <<_ACEOF
17093/* end confdefs.h. */
17094#include <openssl/opensslv.h>
17095_ACEOF
17096if { (ac_try="$ac_cpp conftest.$ac_ext"
17097case "(($ac_try" in
17098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17099 *) ac_try_echo=$ac_try;;
17100esac
17101eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17102$as_echo "$ac_try_echo") >&5
17103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17104 ac_status=$?
17105 grep -v '^ *+' conftest.er1 >conftest.err
17106 rm -f conftest.er1
17107 cat conftest.err >&5
17108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } >/dev/null && {
17110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17111 test ! -s conftest.err
17112 }; then
17113 ac_header_preproc=yes
17114else
17115 $as_echo "$as_me: failed program was:" >&5
17116sed 's/^/| /' conftest.$ac_ext >&5
17117
17118 ac_header_preproc=no
17119fi
17120
17121rm -f conftest.err conftest.$ac_ext
17122{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17123$as_echo "$ac_header_preproc" >&6; }
17124
17125# So? What about this header?
17126case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17127 yes:no: )
17128 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: accepted by the compiler, rejected by the preprocessor!" >&5
17129$as_echo "$as_me: WARNING: openssl/opensslv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17130 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: proceeding with the compiler's result" >&5
17131$as_echo "$as_me: WARNING: openssl/opensslv.h: proceeding with the compiler's result" >&2;}
17132 ac_header_preproc=yes
17133 ;;
17134 no:yes:* )
17135 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: present but cannot be compiled" >&5
17136$as_echo "$as_me: WARNING: openssl/opensslv.h: present but cannot be compiled" >&2;}
17137 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: check for missing prerequisite headers?" >&5
17138$as_echo "$as_me: WARNING: openssl/opensslv.h: check for missing prerequisite headers?" >&2;}
17139 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: see the Autoconf documentation" >&5
17140$as_echo "$as_me: WARNING: openssl/opensslv.h: see the Autoconf documentation" >&2;}
17141 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: section \"Present But Cannot Be Compiled\"" >&5
17142$as_echo "$as_me: WARNING: openssl/opensslv.h: section \"Present But Cannot Be Compiled\"" >&2;}
17143 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: proceeding with the preprocessor's result" >&5
17144$as_echo "$as_me: WARNING: openssl/opensslv.h: proceeding with the preprocessor's result" >&2;}
17145 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: in the future, the compiler will take precedence" >&5
17146$as_echo "$as_me: WARNING: openssl/opensslv.h: in the future, the compiler will take precedence" >&2;}
17147 ( cat <<\_ASBOX
17148## ------------------------------------------- ##
17149## Report this to openssh-unix-dev@mindrot.org ##
17150## ------------------------------------------- ##
17151_ASBOX
17152 ) | sed "s/^/$as_me: WARNING: /" >&2
17153 ;;
17154esac
17155{ $as_echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5
17156$as_echo_n "checking for openssl/opensslv.h... " >&6; }
17157if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then
17158 $as_echo_n "(cached) " >&6
17159else
17160 ac_cv_header_openssl_opensslv_h=$ac_header_preproc
17161fi
17162{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5
17163$as_echo "$ac_cv_header_openssl_opensslv_h" >&6; }
17164
17165fi
17166if test $ac_cv_header_openssl_opensslv_h = yes; then
17167 :
17168else
17169 { { $as_echo "$as_me:$LINENO: error: *** OpenSSL headers missing - please install first or check config.log ***" >&5
17170$as_echo "$as_me: error: *** OpenSSL headers missing - please install first or check config.log ***" >&2;}
17171 { (exit 1); exit 1; }; }
17172fi
17173
17174
16362 cat >conftest.$ac_ext <<_ACEOF 17175 cat >conftest.$ac_ext <<_ACEOF
16363/* confdefs.h. */ 17176/* confdefs.h. */
16364_ACEOF 17177_ACEOF
@@ -16387,50 +17200,55 @@ case "(($ac_try" in
16387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16388 *) ac_try_echo=$ac_try;; 17201 *) ac_try_echo=$ac_try;;
16389esac 17202esac
16390eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17203eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17204$as_echo "$ac_try_echo") >&5
16391 (eval "$ac_link") 2>conftest.er1 17205 (eval "$ac_link") 2>conftest.er1
16392 ac_status=$? 17206 ac_status=$?
16393 grep -v '^ *+' conftest.er1 >conftest.err 17207 grep -v '^ *+' conftest.er1 >conftest.err
16394 rm -f conftest.er1 17208 rm -f conftest.er1
16395 cat conftest.err >&5 17209 cat conftest.err >&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } && { 17211 (exit $ac_status); } && {
16398 test -z "$ac_c_werror_flag" || 17212 test -z "$ac_c_werror_flag" ||
16399 test ! -s conftest.err 17213 test ! -s conftest.err
16400 } && test -s conftest$ac_exeext && 17214 } && test -s conftest$ac_exeext && {
16401 $as_test_x conftest$ac_exeext; then 17215 test "$cross_compiling" = yes ||
17216 $as_test_x conftest$ac_exeext
17217 }; then
16402 cat >>confdefs.h <<\_ACEOF 17218 cat >>confdefs.h <<\_ACEOF
16403#define HAVE_OPENSSL 1 17219#define HAVE_OPENSSL 1
16404_ACEOF 17220_ACEOF
16405 17221
16406else 17222else
16407 echo "$as_me: failed program was:" >&5 17223 $as_echo "$as_me: failed program was:" >&5
16408sed 's/^/| /' conftest.$ac_ext >&5 17224sed 's/^/| /' conftest.$ac_ext >&5
16409 17225
16410 17226
16411 { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 17227 { { $as_echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
16412echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} 17228$as_echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
16413 { (exit 1); exit 1; }; } 17229 { (exit 1); exit 1; }; }
16414 17230
16415 17231
16416fi 17232fi
16417 17233
17234rm -rf conftest.dSYM
16418rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17235rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16419 conftest$ac_exeext conftest.$ac_ext 17236 conftest$ac_exeext conftest.$ac_ext
16420 17237
16421 17238
16422fi 17239fi
16423 17240
17241rm -rf conftest.dSYM
16424rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17242rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16425 conftest$ac_exeext conftest.$ac_ext 17243 conftest$ac_exeext conftest.$ac_ext
16426 17244
16427# Determine OpenSSL header version 17245# Determine OpenSSL header version
16428{ echo "$as_me:$LINENO: checking OpenSSL header version" >&5 17246{ $as_echo "$as_me:$LINENO: checking OpenSSL header version" >&5
16429echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6; } 17247$as_echo_n "checking OpenSSL header version... " >&6; }
16430if test "$cross_compiling" = yes; then 17248if test "$cross_compiling" = yes; then
16431 17249
16432 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 17250 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
16433echo "$as_me: WARNING: cross compiling: not checking" >&2;} 17251$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16434 17252
16435 17253
16436else 17254else
@@ -16466,51 +17284,54 @@ case "(($ac_try" in
16466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;; 17285 *) ac_try_echo=$ac_try;;
16468esac 17286esac
16469eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17287eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17288$as_echo "$ac_try_echo") >&5
16470 (eval "$ac_link") 2>&5 17289 (eval "$ac_link") 2>&5
16471 ac_status=$? 17290 ac_status=$?
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16474 { (case "(($ac_try" in 17293 { (case "(($ac_try" in
16475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16476 *) ac_try_echo=$ac_try;; 17295 *) ac_try_echo=$ac_try;;
16477esac 17296esac
16478eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17297eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17298$as_echo "$ac_try_echo") >&5
16479 (eval "$ac_try") 2>&5 17299 (eval "$ac_try") 2>&5
16480 ac_status=$? 17300 ac_status=$?
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; }; then 17302 (exit $ac_status); }; }; then
16483 17303
16484 ssl_header_ver=`cat conftest.sslincver` 17304 ssl_header_ver=`cat conftest.sslincver`
16485 { echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 17305 { $as_echo "$as_me:$LINENO: result: $ssl_header_ver" >&5
16486echo "${ECHO_T}$ssl_header_ver" >&6; } 17306$as_echo "$ssl_header_ver" >&6; }
16487 17307
16488else 17308else
16489 echo "$as_me: program exited with status $ac_status" >&5 17309 $as_echo "$as_me: program exited with status $ac_status" >&5
16490echo "$as_me: failed program was:" >&5 17310$as_echo "$as_me: failed program was:" >&5
16491sed 's/^/| /' conftest.$ac_ext >&5 17311sed 's/^/| /' conftest.$ac_ext >&5
16492 17312
16493( exit $ac_status ) 17313( exit $ac_status )
16494 17314
16495 { echo "$as_me:$LINENO: result: not found" >&5 17315 { $as_echo "$as_me:$LINENO: result: not found" >&5
16496echo "${ECHO_T}not found" >&6; } 17316$as_echo "not found" >&6; }
16497 { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 17317 { { $as_echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5
16498echo "$as_me: error: OpenSSL version header not found." >&2;} 17318$as_echo "$as_me: error: OpenSSL version header not found." >&2;}
16499 { (exit 1); exit 1; }; } 17319 { (exit 1); exit 1; }; }
16500 17320
16501fi 17321fi
17322rm -rf conftest.dSYM
16502rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17323rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16503fi 17324fi
16504 17325
16505 17326
16506 17327
16507# Determine OpenSSL library version 17328# Determine OpenSSL library version
16508{ echo "$as_me:$LINENO: checking OpenSSL library version" >&5 17329{ $as_echo "$as_me:$LINENO: checking OpenSSL library version" >&5
16509echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6; } 17330$as_echo_n "checking OpenSSL library version... " >&6; }
16510if test "$cross_compiling" = yes; then 17331if test "$cross_compiling" = yes; then
16511 17332
16512 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 17333 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
16513echo "$as_me: WARNING: cross compiling: not checking" >&2;} 17334$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16514 17335
16515 17336
16516else 17337else
@@ -16547,39 +17368,42 @@ case "(($ac_try" in
16547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16548 *) ac_try_echo=$ac_try;; 17369 *) ac_try_echo=$ac_try;;
16549esac 17370esac
16550eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17371eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17372$as_echo "$ac_try_echo") >&5
16551 (eval "$ac_link") 2>&5 17373 (eval "$ac_link") 2>&5
16552 ac_status=$? 17374 ac_status=$?
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16555 { (case "(($ac_try" in 17377 { (case "(($ac_try" in
16556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16557 *) ac_try_echo=$ac_try;; 17379 *) ac_try_echo=$ac_try;;
16558esac 17380esac
16559eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17381eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17382$as_echo "$ac_try_echo") >&5
16560 (eval "$ac_try") 2>&5 17383 (eval "$ac_try") 2>&5
16561 ac_status=$? 17384 ac_status=$?
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then 17386 (exit $ac_status); }; }; then
16564 17387
16565 ssl_library_ver=`cat conftest.ssllibver` 17388 ssl_library_ver=`cat conftest.ssllibver`
16566 { echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 17389 { $as_echo "$as_me:$LINENO: result: $ssl_library_ver" >&5
16567echo "${ECHO_T}$ssl_library_ver" >&6; } 17390$as_echo "$ssl_library_ver" >&6; }
16568 17391
16569else 17392else
16570 echo "$as_me: program exited with status $ac_status" >&5 17393 $as_echo "$as_me: program exited with status $ac_status" >&5
16571echo "$as_me: failed program was:" >&5 17394$as_echo "$as_me: failed program was:" >&5
16572sed 's/^/| /' conftest.$ac_ext >&5 17395sed 's/^/| /' conftest.$ac_ext >&5
16573 17396
16574( exit $ac_status ) 17397( exit $ac_status )
16575 17398
16576 { echo "$as_me:$LINENO: result: not found" >&5 17399 { $as_echo "$as_me:$LINENO: result: not found" >&5
16577echo "${ECHO_T}not found" >&6; } 17400$as_echo "not found" >&6; }
16578 { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 17401 { { $as_echo "$as_me:$LINENO: error: OpenSSL library not found." >&5
16579echo "$as_me: error: OpenSSL library not found." >&2;} 17402$as_echo "$as_me: error: OpenSSL library not found." >&2;}
16580 { (exit 1); exit 1; }; } 17403 { (exit 1); exit 1; }; }
16581 17404
16582fi 17405fi
17406rm -rf conftest.dSYM
16583rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17407rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16584fi 17408fi
16585 17409
@@ -16597,12 +17421,12 @@ fi
16597 17421
16598 17422
16599# Sanity check OpenSSL headers 17423# Sanity check OpenSSL headers
16600{ echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 17424{ $as_echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
16601echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6; } 17425$as_echo_n "checking whether OpenSSL's headers match the library... " >&6; }
16602if test "$cross_compiling" = yes; then 17426if test "$cross_compiling" = yes; then
16603 17427
16604 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 17428 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
16605echo "$as_me: WARNING: cross compiling: not checking" >&2;} 17429$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16606 17430
16607 17431
16608else 17432else
@@ -16624,41 +17448,43 @@ case "(($ac_try" in
16624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16625 *) ac_try_echo=$ac_try;; 17449 *) ac_try_echo=$ac_try;;
16626esac 17450esac
16627eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17452$as_echo "$ac_try_echo") >&5
16628 (eval "$ac_link") 2>&5 17453 (eval "$ac_link") 2>&5
16629 ac_status=$? 17454 ac_status=$?
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16632 { (case "(($ac_try" in 17457 { (case "(($ac_try" in
16633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16634 *) ac_try_echo=$ac_try;; 17459 *) ac_try_echo=$ac_try;;
16635esac 17460esac
16636eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17461eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17462$as_echo "$ac_try_echo") >&5
16637 (eval "$ac_try") 2>&5 17463 (eval "$ac_try") 2>&5
16638 ac_status=$? 17464 ac_status=$?
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; }; then 17466 (exit $ac_status); }; }; then
16641 17467
16642 { echo "$as_me:$LINENO: result: yes" >&5 17468 { $as_echo "$as_me:$LINENO: result: yes" >&5
16643echo "${ECHO_T}yes" >&6; } 17469$as_echo "yes" >&6; }
16644 17470
16645else 17471else
16646 echo "$as_me: program exited with status $ac_status" >&5 17472 $as_echo "$as_me: program exited with status $ac_status" >&5
16647echo "$as_me: failed program was:" >&5 17473$as_echo "$as_me: failed program was:" >&5
16648sed 's/^/| /' conftest.$ac_ext >&5 17474sed 's/^/| /' conftest.$ac_ext >&5
16649 17475
16650( exit $ac_status ) 17476( exit $ac_status )
16651 17477
16652 { echo "$as_me:$LINENO: result: no" >&5 17478 { $as_echo "$as_me:$LINENO: result: no" >&5
16653echo "${ECHO_T}no" >&6; } 17479$as_echo "no" >&6; }
16654 if test "x$openssl_check_nonfatal" = "x"; then 17480 if test "x$openssl_check_nonfatal" = "x"; then
16655 { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your 17481 { { $as_echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your
16656library. Check config.log for details. 17482library. Check config.log for details.
16657If you are sure your installation is consistent, you can disable the check 17483If you are sure your installation is consistent, you can disable the check
16658by running \"./configure --without-openssl-header-check\". 17484by running \"./configure --without-openssl-header-check\".
16659Also see contrib/findssl.sh for help identifying header/library mismatches. 17485Also see contrib/findssl.sh for help identifying header/library mismatches.
16660" >&5 17486" >&5
16661echo "$as_me: error: Your OpenSSL headers do not match your 17487$as_echo "$as_me: error: Your OpenSSL headers do not match your
16662library. Check config.log for details. 17488library. Check config.log for details.
16663If you are sure your installation is consistent, you can disable the check 17489If you are sure your installation is consistent, you can disable the check
16664by running \"./configure --without-openssl-header-check\". 17490by running \"./configure --without-openssl-header-check\".
@@ -16666,22 +17492,23 @@ Also see contrib/findssl.sh for help identifying header/library mismatches.
16666" >&2;} 17492" >&2;}
16667 { (exit 1); exit 1; }; } 17493 { (exit 1); exit 1; }; }
16668 else 17494 else
16669 { echo "$as_me:$LINENO: WARNING: Your OpenSSL headers do not match your 17495 { $as_echo "$as_me:$LINENO: WARNING: Your OpenSSL headers do not match your
16670library. Check config.log for details. 17496library. Check config.log for details.
16671Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 17497Also see contrib/findssl.sh for help identifying header/library mismatches." >&5
16672echo "$as_me: WARNING: Your OpenSSL headers do not match your 17498$as_echo "$as_me: WARNING: Your OpenSSL headers do not match your
16673library. Check config.log for details. 17499library. Check config.log for details.
16674Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} 17500Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;}
16675 fi 17501 fi
16676 17502
16677fi 17503fi
17504rm -rf conftest.dSYM
16678rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17505rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16679fi 17506fi
16680 17507
16681 17508
16682 17509
16683{ echo "$as_me:$LINENO: checking if programs using OpenSSL functions will link" >&5 17510{ $as_echo "$as_me:$LINENO: checking if programs using OpenSSL functions will link" >&5
16684echo $ECHO_N "checking if programs using OpenSSL functions will link... $ECHO_C" >&6; } 17511$as_echo_n "checking if programs using OpenSSL functions will link... " >&6; }
16685cat >conftest.$ac_ext <<_ACEOF 17512cat >conftest.$ac_ext <<_ACEOF
16686/* confdefs.h. */ 17513/* confdefs.h. */
16687_ACEOF 17514_ACEOF
@@ -16699,33 +17526,36 @@ case "(($ac_try" in
16699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16700 *) ac_try_echo=$ac_try;; 17527 *) ac_try_echo=$ac_try;;
16701esac 17528esac
16702eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17529eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17530$as_echo "$ac_try_echo") >&5
16703 (eval "$ac_link") 2>conftest.er1 17531 (eval "$ac_link") 2>conftest.er1
16704 ac_status=$? 17532 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err 17533 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1 17534 rm -f conftest.er1
16707 cat conftest.err >&5 17535 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } && { 17537 (exit $ac_status); } && {
16710 test -z "$ac_c_werror_flag" || 17538 test -z "$ac_c_werror_flag" ||
16711 test ! -s conftest.err 17539 test ! -s conftest.err
16712 } && test -s conftest$ac_exeext && 17540 } && test -s conftest$ac_exeext && {
16713 $as_test_x conftest$ac_exeext; then 17541 test "$cross_compiling" = yes ||
17542 $as_test_x conftest$ac_exeext
17543 }; then
16714 17544
16715 { echo "$as_me:$LINENO: result: yes" >&5 17545 { $as_echo "$as_me:$LINENO: result: yes" >&5
16716echo "${ECHO_T}yes" >&6; } 17546$as_echo "yes" >&6; }
16717 17547
16718else 17548else
16719 echo "$as_me: failed program was:" >&5 17549 $as_echo "$as_me: failed program was:" >&5
16720sed 's/^/| /' conftest.$ac_ext >&5 17550sed 's/^/| /' conftest.$ac_ext >&5
16721 17551
16722 17552
16723 { echo "$as_me:$LINENO: result: no" >&5 17553 { $as_echo "$as_me:$LINENO: result: no" >&5
16724echo "${ECHO_T}no" >&6; } 17554$as_echo "no" >&6; }
16725 saved_LIBS="$LIBS" 17555 saved_LIBS="$LIBS"
16726 LIBS="$LIBS -ldl" 17556 LIBS="$LIBS -ldl"
16727 { echo "$as_me:$LINENO: checking if programs using OpenSSL need -ldl" >&5 17557 { $as_echo "$as_me:$LINENO: checking if programs using OpenSSL need -ldl" >&5
16728echo $ECHO_N "checking if programs using OpenSSL need -ldl... $ECHO_C" >&6; } 17558$as_echo_n "checking if programs using OpenSSL need -ldl... " >&6; }
16729 cat >conftest.$ac_ext <<_ACEOF 17559 cat >conftest.$ac_ext <<_ACEOF
16730/* confdefs.h. */ 17560/* confdefs.h. */
16731_ACEOF 17561_ACEOF
@@ -16743,40 +17573,45 @@ case "(($ac_try" in
16743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16744 *) ac_try_echo=$ac_try;; 17574 *) ac_try_echo=$ac_try;;
16745esac 17575esac
16746eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17576eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17577$as_echo "$ac_try_echo") >&5
16747 (eval "$ac_link") 2>conftest.er1 17578 (eval "$ac_link") 2>conftest.er1
16748 ac_status=$? 17579 ac_status=$?
16749 grep -v '^ *+' conftest.er1 >conftest.err 17580 grep -v '^ *+' conftest.er1 >conftest.err
16750 rm -f conftest.er1 17581 rm -f conftest.er1
16751 cat conftest.err >&5 17582 cat conftest.err >&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } && { 17584 (exit $ac_status); } && {
16754 test -z "$ac_c_werror_flag" || 17585 test -z "$ac_c_werror_flag" ||
16755 test ! -s conftest.err 17586 test ! -s conftest.err
16756 } && test -s conftest$ac_exeext && 17587 } && test -s conftest$ac_exeext && {
16757 $as_test_x conftest$ac_exeext; then 17588 test "$cross_compiling" = yes ||
17589 $as_test_x conftest$ac_exeext
17590 }; then
16758 17591
16759 { echo "$as_me:$LINENO: result: yes" >&5 17592 { $as_echo "$as_me:$LINENO: result: yes" >&5
16760echo "${ECHO_T}yes" >&6; } 17593$as_echo "yes" >&6; }
16761 17594
16762else 17595else
16763 echo "$as_me: failed program was:" >&5 17596 $as_echo "$as_me: failed program was:" >&5
16764sed 's/^/| /' conftest.$ac_ext >&5 17597sed 's/^/| /' conftest.$ac_ext >&5
16765 17598
16766 17599
16767 { echo "$as_me:$LINENO: result: no" >&5 17600 { $as_echo "$as_me:$LINENO: result: no" >&5
16768echo "${ECHO_T}no" >&6; } 17601$as_echo "no" >&6; }
16769 LIBS="$saved_LIBS" 17602 LIBS="$saved_LIBS"
16770 17603
16771 17604
16772fi 17605fi
16773 17606
17607rm -rf conftest.dSYM
16774rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17608rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16775 conftest$ac_exeext conftest.$ac_ext 17609 conftest$ac_exeext conftest.$ac_ext
16776 17610
16777 17611
16778fi 17612fi
16779 17613
17614rm -rf conftest.dSYM
16780rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17615rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16781 conftest$ac_exeext conftest.$ac_ext 17616 conftest$ac_exeext conftest.$ac_ext
16782 17617
@@ -16784,8 +17619,8 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16784# Check whether --with-ssl-engine was given. 17619# Check whether --with-ssl-engine was given.
16785if test "${with_ssl_engine+set}" = set; then 17620if test "${with_ssl_engine+set}" = set; then
16786 withval=$with_ssl_engine; if test "x$withval" != "xno" ; then 17621 withval=$with_ssl_engine; if test "x$withval" != "xno" ; then
16787 { echo "$as_me:$LINENO: checking for OpenSSL ENGINE support" >&5 17622 { $as_echo "$as_me:$LINENO: checking for OpenSSL ENGINE support" >&5
16788echo $ECHO_N "checking for OpenSSL ENGINE support... $ECHO_C" >&6; } 17623$as_echo_n "checking for OpenSSL ENGINE support... " >&6; }
16789 cat >conftest.$ac_ext <<_ACEOF 17624 cat >conftest.$ac_ext <<_ACEOF
16790/* confdefs.h. */ 17625/* confdefs.h. */
16791_ACEOF 17626_ACEOF
@@ -16809,19 +17644,20 @@ case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;; 17645 *) ac_try_echo=$ac_try;;
16811esac 17646esac
16812eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17647eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17648$as_echo "$ac_try_echo") >&5
16813 (eval "$ac_compile") 2>conftest.er1 17649 (eval "$ac_compile") 2>conftest.er1
16814 ac_status=$? 17650 ac_status=$?
16815 grep -v '^ *+' conftest.er1 >conftest.err 17651 grep -v '^ *+' conftest.er1 >conftest.err
16816 rm -f conftest.er1 17652 rm -f conftest.er1
16817 cat conftest.err >&5 17653 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && { 17655 (exit $ac_status); } && {
16820 test -z "$ac_c_werror_flag" || 17656 test -z "$ac_c_werror_flag" ||
16821 test ! -s conftest.err 17657 test ! -s conftest.err
16822 } && test -s conftest.$ac_objext; then 17658 } && test -s conftest.$ac_objext; then
16823 { echo "$as_me:$LINENO: result: yes" >&5 17659 { $as_echo "$as_me:$LINENO: result: yes" >&5
16824echo "${ECHO_T}yes" >&6; } 17660$as_echo "yes" >&6; }
16825 17661
16826cat >>confdefs.h <<\_ACEOF 17662cat >>confdefs.h <<\_ACEOF
16827#define USE_OPENSSL_ENGINE 1 17663#define USE_OPENSSL_ENGINE 1
@@ -16829,11 +17665,11 @@ _ACEOF
16829 17665
16830 17666
16831else 17667else
16832 echo "$as_me: failed program was:" >&5 17668 $as_echo "$as_me: failed program was:" >&5
16833sed 's/^/| /' conftest.$ac_ext >&5 17669sed 's/^/| /' conftest.$ac_ext >&5
16834 17670
16835 { { echo "$as_me:$LINENO: error: OpenSSL ENGINE support not found" >&5 17671 { { $as_echo "$as_me:$LINENO: error: OpenSSL ENGINE support not found" >&5
16836echo "$as_me: error: OpenSSL ENGINE support not found" >&2;} 17672$as_echo "$as_me: error: OpenSSL ENGINE support not found" >&2;}
16837 { (exit 1); exit 1; }; } 17673 { (exit 1); exit 1; }; }
16838 17674
16839fi 17675fi
@@ -16845,8 +17681,8 @@ fi
16845 17681
16846 17682
16847# Check for OpenSSL without EVP_aes_{192,256}_cbc 17683# Check for OpenSSL without EVP_aes_{192,256}_cbc
16848{ echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5 17684{ $as_echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5
16849echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6; } 17685$as_echo_n "checking whether OpenSSL has crippled AES support... " >&6; }
16850cat >conftest.$ac_ext <<_ACEOF 17686cat >conftest.$ac_ext <<_ACEOF
16851/* confdefs.h. */ 17687/* confdefs.h. */
16852_ACEOF 17688_ACEOF
@@ -16865,29 +17701,32 @@ case "(($ac_try" in
16865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16866 *) ac_try_echo=$ac_try;; 17702 *) ac_try_echo=$ac_try;;
16867esac 17703esac
16868eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17704eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17705$as_echo "$ac_try_echo") >&5
16869 (eval "$ac_link") 2>conftest.er1 17706 (eval "$ac_link") 2>conftest.er1
16870 ac_status=$? 17707 ac_status=$?
16871 grep -v '^ *+' conftest.er1 >conftest.err 17708 grep -v '^ *+' conftest.er1 >conftest.err
16872 rm -f conftest.er1 17709 rm -f conftest.er1
16873 cat conftest.err >&5 17710 cat conftest.err >&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } && { 17712 (exit $ac_status); } && {
16876 test -z "$ac_c_werror_flag" || 17713 test -z "$ac_c_werror_flag" ||
16877 test ! -s conftest.err 17714 test ! -s conftest.err
16878 } && test -s conftest$ac_exeext && 17715 } && test -s conftest$ac_exeext && {
16879 $as_test_x conftest$ac_exeext; then 17716 test "$cross_compiling" = yes ||
17717 $as_test_x conftest$ac_exeext
17718 }; then
16880 17719
16881 { echo "$as_me:$LINENO: result: no" >&5 17720 { $as_echo "$as_me:$LINENO: result: no" >&5
16882echo "${ECHO_T}no" >&6; } 17721$as_echo "no" >&6; }
16883 17722
16884else 17723else
16885 echo "$as_me: failed program was:" >&5 17724 $as_echo "$as_me: failed program was:" >&5
16886sed 's/^/| /' conftest.$ac_ext >&5 17725sed 's/^/| /' conftest.$ac_ext >&5
16887 17726
16888 17727
16889 { echo "$as_me:$LINENO: result: yes" >&5 17728 { $as_echo "$as_me:$LINENO: result: yes" >&5
16890echo "${ECHO_T}yes" >&6; } 17729$as_echo "yes" >&6; }
16891 17730
16892cat >>confdefs.h <<\_ACEOF 17731cat >>confdefs.h <<\_ACEOF
16893#define OPENSSL_LOBOTOMISED_AES 1 17732#define OPENSSL_LOBOTOMISED_AES 1
@@ -16897,6 +17736,66 @@ _ACEOF
16897 17736
16898fi 17737fi
16899 17738
17739rm -rf conftest.dSYM
17740rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17741 conftest$ac_exeext conftest.$ac_ext
17742
17743{ $as_echo "$as_me:$LINENO: checking if EVP_DigestUpdate returns an int" >&5
17744$as_echo_n "checking if EVP_DigestUpdate returns an int... " >&6; }
17745cat >conftest.$ac_ext <<_ACEOF
17746/* confdefs.h. */
17747_ACEOF
17748cat confdefs.h >>conftest.$ac_ext
17749cat >>conftest.$ac_ext <<_ACEOF
17750/* end confdefs.h. */
17751
17752#include <string.h>
17753#include <openssl/evp.h>
17754int main(void) { if(EVP_DigestUpdate(NULL, NULL,0)) exit(0); }
17755
17756_ACEOF
17757rm -f conftest.$ac_objext conftest$ac_exeext
17758if { (ac_try="$ac_link"
17759case "(($ac_try" in
17760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17761 *) ac_try_echo=$ac_try;;
17762esac
17763eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17764$as_echo "$ac_try_echo") >&5
17765 (eval "$ac_link") 2>conftest.er1
17766 ac_status=$?
17767 grep -v '^ *+' conftest.er1 >conftest.err
17768 rm -f conftest.er1
17769 cat conftest.err >&5
17770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } && {
17772 test -z "$ac_c_werror_flag" ||
17773 test ! -s conftest.err
17774 } && test -s conftest$ac_exeext && {
17775 test "$cross_compiling" = yes ||
17776 $as_test_x conftest$ac_exeext
17777 }; then
17778
17779 { $as_echo "$as_me:$LINENO: result: yes" >&5
17780$as_echo "yes" >&6; }
17781
17782else
17783 $as_echo "$as_me: failed program was:" >&5
17784sed 's/^/| /' conftest.$ac_ext >&5
17785
17786
17787 { $as_echo "$as_me:$LINENO: result: no" >&5
17788$as_echo "no" >&6; }
17789
17790cat >>confdefs.h <<\_ACEOF
17791#define OPENSSL_EVP_DIGESTUPDATE_VOID 1
17792_ACEOF
17793
17794
17795
17796fi
17797
17798rm -rf conftest.dSYM
16900rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17799rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16901 conftest$ac_exeext conftest.$ac_ext 17800 conftest$ac_exeext conftest.$ac_ext
16902 17801
@@ -16904,10 +17803,10 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16904# because the system crypt() is more featureful. 17803# because the system crypt() is more featureful.
16905if test "x$check_for_libcrypt_before" = "x1"; then 17804if test "x$check_for_libcrypt_before" = "x1"; then
16906 17805
16907{ echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 17806{ $as_echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
16908echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } 17807$as_echo_n "checking for crypt in -lcrypt... " >&6; }
16909if test "${ac_cv_lib_crypt_crypt+set}" = set; then 17808if test "${ac_cv_lib_crypt_crypt+set}" = set; then
16910 echo $ECHO_N "(cached) $ECHO_C" >&6 17809 $as_echo_n "(cached) " >&6
16911else 17810else
16912 ac_check_lib_save_LIBS=$LIBS 17811 ac_check_lib_save_LIBS=$LIBS
16913LIBS="-lcrypt $LIBS" 17812LIBS="-lcrypt $LIBS"
@@ -16939,32 +17838,36 @@ case "(($ac_try" in
16939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;; 17839 *) ac_try_echo=$ac_try;;
16941esac 17840esac
16942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17841eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17842$as_echo "$ac_try_echo") >&5
16943 (eval "$ac_link") 2>conftest.er1 17843 (eval "$ac_link") 2>conftest.er1
16944 ac_status=$? 17844 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err 17845 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1 17846 rm -f conftest.er1
16947 cat conftest.err >&5 17847 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } && { 17849 (exit $ac_status); } && {
16950 test -z "$ac_c_werror_flag" || 17850 test -z "$ac_c_werror_flag" ||
16951 test ! -s conftest.err 17851 test ! -s conftest.err
16952 } && test -s conftest$ac_exeext && 17852 } && test -s conftest$ac_exeext && {
16953 $as_test_x conftest$ac_exeext; then 17853 test "$cross_compiling" = yes ||
17854 $as_test_x conftest$ac_exeext
17855 }; then
16954 ac_cv_lib_crypt_crypt=yes 17856 ac_cv_lib_crypt_crypt=yes
16955else 17857else
16956 echo "$as_me: failed program was:" >&5 17858 $as_echo "$as_me: failed program was:" >&5
16957sed 's/^/| /' conftest.$ac_ext >&5 17859sed 's/^/| /' conftest.$ac_ext >&5
16958 17860
16959 ac_cv_lib_crypt_crypt=no 17861 ac_cv_lib_crypt_crypt=no
16960fi 17862fi
16961 17863
17864rm -rf conftest.dSYM
16962rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17865rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16963 conftest$ac_exeext conftest.$ac_ext 17866 conftest$ac_exeext conftest.$ac_ext
16964LIBS=$ac_check_lib_save_LIBS 17867LIBS=$ac_check_lib_save_LIBS
16965fi 17868fi
16966{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 17869{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
16967echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } 17870$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
16968if test $ac_cv_lib_crypt_crypt = yes; then 17871if test $ac_cv_lib_crypt_crypt = yes; then
16969 cat >>confdefs.h <<_ACEOF 17872 cat >>confdefs.h <<_ACEOF
16970#define HAVE_LIBCRYPT 1 17873#define HAVE_LIBCRYPT 1
@@ -16979,10 +17882,10 @@ fi
16979# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the 17882# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
16980# version in OpenSSL. 17883# version in OpenSSL.
16981if test "x$check_for_libcrypt_later" = "x1"; then 17884if test "x$check_for_libcrypt_later" = "x1"; then
16982 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 17885 { $as_echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
16983echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } 17886$as_echo_n "checking for crypt in -lcrypt... " >&6; }
16984if test "${ac_cv_lib_crypt_crypt+set}" = set; then 17887if test "${ac_cv_lib_crypt_crypt+set}" = set; then
16985 echo $ECHO_N "(cached) $ECHO_C" >&6 17888 $as_echo_n "(cached) " >&6
16986else 17889else
16987 ac_check_lib_save_LIBS=$LIBS 17890 ac_check_lib_save_LIBS=$LIBS
16988LIBS="-lcrypt $LIBS" 17891LIBS="-lcrypt $LIBS"
@@ -17014,32 +17917,36 @@ case "(($ac_try" in
17014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17015 *) ac_try_echo=$ac_try;; 17918 *) ac_try_echo=$ac_try;;
17016esac 17919esac
17017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17920eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17921$as_echo "$ac_try_echo") >&5
17018 (eval "$ac_link") 2>conftest.er1 17922 (eval "$ac_link") 2>conftest.er1
17019 ac_status=$? 17923 ac_status=$?
17020 grep -v '^ *+' conftest.er1 >conftest.err 17924 grep -v '^ *+' conftest.er1 >conftest.err
17021 rm -f conftest.er1 17925 rm -f conftest.er1
17022 cat conftest.err >&5 17926 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } && { 17928 (exit $ac_status); } && {
17025 test -z "$ac_c_werror_flag" || 17929 test -z "$ac_c_werror_flag" ||
17026 test ! -s conftest.err 17930 test ! -s conftest.err
17027 } && test -s conftest$ac_exeext && 17931 } && test -s conftest$ac_exeext && {
17028 $as_test_x conftest$ac_exeext; then 17932 test "$cross_compiling" = yes ||
17933 $as_test_x conftest$ac_exeext
17934 }; then
17029 ac_cv_lib_crypt_crypt=yes 17935 ac_cv_lib_crypt_crypt=yes
17030else 17936else
17031 echo "$as_me: failed program was:" >&5 17937 $as_echo "$as_me: failed program was:" >&5
17032sed 's/^/| /' conftest.$ac_ext >&5 17938sed 's/^/| /' conftest.$ac_ext >&5
17033 17939
17034 ac_cv_lib_crypt_crypt=no 17940 ac_cv_lib_crypt_crypt=no
17035fi 17941fi
17036 17942
17943rm -rf conftest.dSYM
17037rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17944rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17038 conftest$ac_exeext conftest.$ac_ext 17945 conftest$ac_exeext conftest.$ac_ext
17039LIBS=$ac_check_lib_save_LIBS 17946LIBS=$ac_check_lib_save_LIBS
17040fi 17947fi
17041{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 17948{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
17042echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } 17949$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
17043if test $ac_cv_lib_crypt_crypt = yes; then 17950if test $ac_cv_lib_crypt_crypt = yes; then
17044 LIBS="$LIBS -lcrypt" 17951 LIBS="$LIBS -lcrypt"
17045fi 17952fi
@@ -17051,11 +17958,11 @@ fi
17051 17958
17052for ac_func in SHA256_Update EVP_sha256 17959for ac_func in SHA256_Update EVP_sha256
17053do 17960do
17054as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17961as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17055{ echo "$as_me:$LINENO: checking for $ac_func" >&5 17962{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17056echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 17963$as_echo_n "checking for $ac_func... " >&6; }
17057if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17964if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17058 echo $ECHO_N "(cached) $ECHO_C" >&6 17965 $as_echo_n "(cached) " >&6
17059else 17966else
17060 cat >conftest.$ac_ext <<_ACEOF 17967 cat >conftest.$ac_ext <<_ACEOF
17061/* confdefs.h. */ 17968/* confdefs.h. */
@@ -17108,35 +18015,41 @@ case "(($ac_try" in
17108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17109 *) ac_try_echo=$ac_try;; 18016 *) ac_try_echo=$ac_try;;
17110esac 18017esac
17111eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18018eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18019$as_echo "$ac_try_echo") >&5
17112 (eval "$ac_link") 2>conftest.er1 18020 (eval "$ac_link") 2>conftest.er1
17113 ac_status=$? 18021 ac_status=$?
17114 grep -v '^ *+' conftest.er1 >conftest.err 18022 grep -v '^ *+' conftest.er1 >conftest.err
17115 rm -f conftest.er1 18023 rm -f conftest.er1
17116 cat conftest.err >&5 18024 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } && { 18026 (exit $ac_status); } && {
17119 test -z "$ac_c_werror_flag" || 18027 test -z "$ac_c_werror_flag" ||
17120 test ! -s conftest.err 18028 test ! -s conftest.err
17121 } && test -s conftest$ac_exeext && 18029 } && test -s conftest$ac_exeext && {
17122 $as_test_x conftest$ac_exeext; then 18030 test "$cross_compiling" = yes ||
18031 $as_test_x conftest$ac_exeext
18032 }; then
17123 eval "$as_ac_var=yes" 18033 eval "$as_ac_var=yes"
17124else 18034else
17125 echo "$as_me: failed program was:" >&5 18035 $as_echo "$as_me: failed program was:" >&5
17126sed 's/^/| /' conftest.$ac_ext >&5 18036sed 's/^/| /' conftest.$ac_ext >&5
17127 18037
17128 eval "$as_ac_var=no" 18038 eval "$as_ac_var=no"
17129fi 18039fi
17130 18040
18041rm -rf conftest.dSYM
17131rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18042rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17132 conftest$ac_exeext conftest.$ac_ext 18043 conftest$ac_exeext conftest.$ac_ext
17133fi 18044fi
17134ac_res=`eval echo '${'$as_ac_var'}'` 18045ac_res=`eval 'as_val=${'$as_ac_var'}
17135 { echo "$as_me:$LINENO: result: $ac_res" >&5 18046 $as_echo "$as_val"'`
17136echo "${ECHO_T}$ac_res" >&6; } 18047 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17137if test `eval echo '${'$as_ac_var'}'` = yes; then 18048$as_echo "$ac_res" >&6; }
18049if test `eval 'as_val=${'$as_ac_var'}
18050 $as_echo "$as_val"'` = yes; then
17138 cat >>confdefs.h <<_ACEOF 18051 cat >>confdefs.h <<_ACEOF
17139#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18052#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17140_ACEOF 18053_ACEOF
17141 18054
17142fi 18055fi
@@ -17144,10 +18057,10 @@ done
17144 18057
17145 18058
17146saved_LIBS="$LIBS" 18059saved_LIBS="$LIBS"
17147{ echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 18060{ $as_echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5
17148echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } 18061$as_echo_n "checking for ia_openinfo in -liaf... " >&6; }
17149if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then 18062if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6 18063 $as_echo_n "(cached) " >&6
17151else 18064else
17152 ac_check_lib_save_LIBS=$LIBS 18065 ac_check_lib_save_LIBS=$LIBS
17153LIBS="-liaf $LIBS" 18066LIBS="-liaf $LIBS"
@@ -17179,43 +18092,47 @@ case "(($ac_try" in
17179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;; 18093 *) ac_try_echo=$ac_try;;
17181esac 18094esac
17182eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18096$as_echo "$ac_try_echo") >&5
17183 (eval "$ac_link") 2>conftest.er1 18097 (eval "$ac_link") 2>conftest.er1
17184 ac_status=$? 18098 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err 18099 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1 18100 rm -f conftest.er1
17187 cat conftest.err >&5 18101 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && { 18103 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" || 18104 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err 18105 test ! -s conftest.err
17192 } && test -s conftest$ac_exeext && 18106 } && test -s conftest$ac_exeext && {
17193 $as_test_x conftest$ac_exeext; then 18107 test "$cross_compiling" = yes ||
18108 $as_test_x conftest$ac_exeext
18109 }; then
17194 ac_cv_lib_iaf_ia_openinfo=yes 18110 ac_cv_lib_iaf_ia_openinfo=yes
17195else 18111else
17196 echo "$as_me: failed program was:" >&5 18112 $as_echo "$as_me: failed program was:" >&5
17197sed 's/^/| /' conftest.$ac_ext >&5 18113sed 's/^/| /' conftest.$ac_ext >&5
17198 18114
17199 ac_cv_lib_iaf_ia_openinfo=no 18115 ac_cv_lib_iaf_ia_openinfo=no
17200fi 18116fi
17201 18117
18118rm -rf conftest.dSYM
17202rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18119rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17203 conftest$ac_exeext conftest.$ac_ext 18120 conftest$ac_exeext conftest.$ac_ext
17204LIBS=$ac_check_lib_save_LIBS 18121LIBS=$ac_check_lib_save_LIBS
17205fi 18122fi
17206{ echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 18123{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5
17207echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6; } 18124$as_echo "$ac_cv_lib_iaf_ia_openinfo" >&6; }
17208if test $ac_cv_lib_iaf_ia_openinfo = yes; then 18125if test $ac_cv_lib_iaf_ia_openinfo = yes; then
17209 18126
17210 LIBS="$LIBS -liaf" 18127 LIBS="$LIBS -liaf"
17211 18128
17212for ac_func in set_id 18129for ac_func in set_id
17213do 18130do
17214as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18131as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17215{ echo "$as_me:$LINENO: checking for $ac_func" >&5 18132{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17216echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18133$as_echo_n "checking for $ac_func... " >&6; }
17217if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18134if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6 18135 $as_echo_n "(cached) " >&6
17219else 18136else
17220 cat >conftest.$ac_ext <<_ACEOF 18137 cat >conftest.$ac_ext <<_ACEOF
17221/* confdefs.h. */ 18138/* confdefs.h. */
@@ -17268,35 +18185,41 @@ case "(($ac_try" in
17268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17269 *) ac_try_echo=$ac_try;; 18186 *) ac_try_echo=$ac_try;;
17270esac 18187esac
17271eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18188eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18189$as_echo "$ac_try_echo") >&5
17272 (eval "$ac_link") 2>conftest.er1 18190 (eval "$ac_link") 2>conftest.er1
17273 ac_status=$? 18191 ac_status=$?
17274 grep -v '^ *+' conftest.er1 >conftest.err 18192 grep -v '^ *+' conftest.er1 >conftest.err
17275 rm -f conftest.er1 18193 rm -f conftest.er1
17276 cat conftest.err >&5 18194 cat conftest.err >&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); } && { 18196 (exit $ac_status); } && {
17279 test -z "$ac_c_werror_flag" || 18197 test -z "$ac_c_werror_flag" ||
17280 test ! -s conftest.err 18198 test ! -s conftest.err
17281 } && test -s conftest$ac_exeext && 18199 } && test -s conftest$ac_exeext && {
17282 $as_test_x conftest$ac_exeext; then 18200 test "$cross_compiling" = yes ||
18201 $as_test_x conftest$ac_exeext
18202 }; then
17283 eval "$as_ac_var=yes" 18203 eval "$as_ac_var=yes"
17284else 18204else
17285 echo "$as_me: failed program was:" >&5 18205 $as_echo "$as_me: failed program was:" >&5
17286sed 's/^/| /' conftest.$ac_ext >&5 18206sed 's/^/| /' conftest.$ac_ext >&5
17287 18207
17288 eval "$as_ac_var=no" 18208 eval "$as_ac_var=no"
17289fi 18209fi
17290 18210
18211rm -rf conftest.dSYM
17291rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18212rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17292 conftest$ac_exeext conftest.$ac_ext 18213 conftest$ac_exeext conftest.$ac_ext
17293fi 18214fi
17294ac_res=`eval echo '${'$as_ac_var'}'` 18215ac_res=`eval 'as_val=${'$as_ac_var'}
17295 { echo "$as_me:$LINENO: result: $ac_res" >&5 18216 $as_echo "$as_val"'`
17296echo "${ECHO_T}$ac_res" >&6; } 18217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17297if test `eval echo '${'$as_ac_var'}'` = yes; then 18218$as_echo "$ac_res" >&6; }
18219if test `eval 'as_val=${'$as_ac_var'}
18220 $as_echo "$as_val"'` = yes; then
17298 cat >>confdefs.h <<_ACEOF 18221 cat >>confdefs.h <<_ACEOF
17299#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18222#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17300_ACEOF 18223_ACEOF
17301 SSHDLIBS="$SSHDLIBS -liaf" 18224 SSHDLIBS="$SSHDLIBS -liaf"
17302 18225
@@ -17316,12 +18239,12 @@ LIBS="$saved_LIBS"
17316### Configure cryptographic random number support 18239### Configure cryptographic random number support
17317 18240
17318# Check wheter OpenSSL seeds itself 18241# Check wheter OpenSSL seeds itself
17319{ echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 18242{ $as_echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
17320echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6; } 18243$as_echo_n "checking whether OpenSSL's PRNG is internally seeded... " >&6; }
17321if test "$cross_compiling" = yes; then 18244if test "$cross_compiling" = yes; then
17322 18245
17323 { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 18246 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5
17324echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} 18247$as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;}
17325 # This is safe, since all recent OpenSSL versions will 18248 # This is safe, since all recent OpenSSL versions will
17326 # complain at runtime if not seeded correctly. 18249 # complain at runtime if not seeded correctly.
17327 OPENSSL_SEEDS_ITSELF=yes 18250 OPENSSL_SEEDS_ITSELF=yes
@@ -17346,39 +18269,42 @@ case "(($ac_try" in
17346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17347 *) ac_try_echo=$ac_try;; 18270 *) ac_try_echo=$ac_try;;
17348esac 18271esac
17349eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18272eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18273$as_echo "$ac_try_echo") >&5
17350 (eval "$ac_link") 2>&5 18274 (eval "$ac_link") 2>&5
17351 ac_status=$? 18275 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 18277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17354 { (case "(($ac_try" in 18278 { (case "(($ac_try" in
17355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17356 *) ac_try_echo=$ac_try;; 18280 *) ac_try_echo=$ac_try;;
17357esac 18281esac
17358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18282eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18283$as_echo "$ac_try_echo") >&5
17359 (eval "$ac_try") 2>&5 18284 (eval "$ac_try") 2>&5
17360 ac_status=$? 18285 ac_status=$?
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18286 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; }; then 18287 (exit $ac_status); }; }; then
17363 18288
17364 OPENSSL_SEEDS_ITSELF=yes 18289 OPENSSL_SEEDS_ITSELF=yes
17365 { echo "$as_me:$LINENO: result: yes" >&5 18290 { $as_echo "$as_me:$LINENO: result: yes" >&5
17366echo "${ECHO_T}yes" >&6; } 18291$as_echo "yes" >&6; }
17367 18292
17368else 18293else
17369 echo "$as_me: program exited with status $ac_status" >&5 18294 $as_echo "$as_me: program exited with status $ac_status" >&5
17370echo "$as_me: failed program was:" >&5 18295$as_echo "$as_me: failed program was:" >&5
17371sed 's/^/| /' conftest.$ac_ext >&5 18296sed 's/^/| /' conftest.$ac_ext >&5
17372 18297
17373( exit $ac_status ) 18298( exit $ac_status )
17374 18299
17375 { echo "$as_me:$LINENO: result: no" >&5 18300 { $as_echo "$as_me:$LINENO: result: no" >&5
17376echo "${ECHO_T}no" >&6; } 18301$as_echo "no" >&6; }
17377 # Default to use of the rand helper if OpenSSL doesn't 18302 # Default to use of the rand helper if OpenSSL doesn't
17378 # seed itself 18303 # seed itself
17379 USE_RAND_HELPER=yes 18304 USE_RAND_HELPER=yes
17380 18305
17381fi 18306fi
18307rm -rf conftest.dSYM
17382rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 18308rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17383fi 18309fi
17384 18310
@@ -17393,17 +18319,17 @@ if test "${with_pam+set}" = set; then
17393 if test "x$withval" != "xno" ; then 18319 if test "x$withval" != "xno" ; then
17394 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ 18320 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \
17395 test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then 18321 test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then
17396 { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 18322 { { $as_echo "$as_me:$LINENO: error: PAM headers not found" >&5
17397echo "$as_me: error: PAM headers not found" >&2;} 18323$as_echo "$as_me: error: PAM headers not found" >&2;}
17398 { (exit 1); exit 1; }; } 18324 { (exit 1); exit 1; }; }
17399 fi 18325 fi
17400 18326
17401 saved_LIBS="$LIBS" 18327 saved_LIBS="$LIBS"
17402 18328
17403{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 18329{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17404echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 18330$as_echo_n "checking for dlopen in -ldl... " >&6; }
17405if test "${ac_cv_lib_dl_dlopen+set}" = set; then 18331if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17406 echo $ECHO_N "(cached) $ECHO_C" >&6 18332 $as_echo_n "(cached) " >&6
17407else 18333else
17408 ac_check_lib_save_LIBS=$LIBS 18334 ac_check_lib_save_LIBS=$LIBS
17409LIBS="-ldl $LIBS" 18335LIBS="-ldl $LIBS"
@@ -17435,32 +18361,36 @@ case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;; 18362 *) ac_try_echo=$ac_try;;
17437esac 18363esac
17438eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18364eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18365$as_echo "$ac_try_echo") >&5
17439 (eval "$ac_link") 2>conftest.er1 18366 (eval "$ac_link") 2>conftest.er1
17440 ac_status=$? 18367 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err 18368 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1 18369 rm -f conftest.er1
17443 cat conftest.err >&5 18370 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && { 18372 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" || 18373 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err 18374 test ! -s conftest.err
17448 } && test -s conftest$ac_exeext && 18375 } && test -s conftest$ac_exeext && {
17449 $as_test_x conftest$ac_exeext; then 18376 test "$cross_compiling" = yes ||
18377 $as_test_x conftest$ac_exeext
18378 }; then
17450 ac_cv_lib_dl_dlopen=yes 18379 ac_cv_lib_dl_dlopen=yes
17451else 18380else
17452 echo "$as_me: failed program was:" >&5 18381 $as_echo "$as_me: failed program was:" >&5
17453sed 's/^/| /' conftest.$ac_ext >&5 18382sed 's/^/| /' conftest.$ac_ext >&5
17454 18383
17455 ac_cv_lib_dl_dlopen=no 18384 ac_cv_lib_dl_dlopen=no
17456fi 18385fi
17457 18386
18387rm -rf conftest.dSYM
17458rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18388rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17459 conftest$ac_exeext conftest.$ac_ext 18389 conftest$ac_exeext conftest.$ac_ext
17460LIBS=$ac_check_lib_save_LIBS 18390LIBS=$ac_check_lib_save_LIBS
17461fi 18391fi
17462{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 18392{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17463echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 18393$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17464if test $ac_cv_lib_dl_dlopen = yes; then 18394if test $ac_cv_lib_dl_dlopen = yes; then
17465 cat >>confdefs.h <<_ACEOF 18395 cat >>confdefs.h <<_ACEOF
17466#define HAVE_LIBDL 1 18396#define HAVE_LIBDL 1
@@ -17471,10 +18401,10 @@ _ACEOF
17471fi 18401fi
17472 18402
17473 18403
17474{ echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 18404{ $as_echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5
17475echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6; } 18405$as_echo_n "checking for pam_set_item in -lpam... " >&6; }
17476if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then 18406if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6 18407 $as_echo_n "(cached) " >&6
17478else 18408else
17479 ac_check_lib_save_LIBS=$LIBS 18409 ac_check_lib_save_LIBS=$LIBS
17480LIBS="-lpam $LIBS" 18410LIBS="-lpam $LIBS"
@@ -17506,32 +18436,36 @@ case "(($ac_try" in
17506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17507 *) ac_try_echo=$ac_try;; 18437 *) ac_try_echo=$ac_try;;
17508esac 18438esac
17509eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18439eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18440$as_echo "$ac_try_echo") >&5
17510 (eval "$ac_link") 2>conftest.er1 18441 (eval "$ac_link") 2>conftest.er1
17511 ac_status=$? 18442 ac_status=$?
17512 grep -v '^ *+' conftest.er1 >conftest.err 18443 grep -v '^ *+' conftest.er1 >conftest.err
17513 rm -f conftest.er1 18444 rm -f conftest.er1
17514 cat conftest.err >&5 18445 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } && { 18447 (exit $ac_status); } && {
17517 test -z "$ac_c_werror_flag" || 18448 test -z "$ac_c_werror_flag" ||
17518 test ! -s conftest.err 18449 test ! -s conftest.err
17519 } && test -s conftest$ac_exeext && 18450 } && test -s conftest$ac_exeext && {
17520 $as_test_x conftest$ac_exeext; then 18451 test "$cross_compiling" = yes ||
18452 $as_test_x conftest$ac_exeext
18453 }; then
17521 ac_cv_lib_pam_pam_set_item=yes 18454 ac_cv_lib_pam_pam_set_item=yes
17522else 18455else
17523 echo "$as_me: failed program was:" >&5 18456 $as_echo "$as_me: failed program was:" >&5
17524sed 's/^/| /' conftest.$ac_ext >&5 18457sed 's/^/| /' conftest.$ac_ext >&5
17525 18458
17526 ac_cv_lib_pam_pam_set_item=no 18459 ac_cv_lib_pam_pam_set_item=no
17527fi 18460fi
17528 18461
18462rm -rf conftest.dSYM
17529rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18463rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17530 conftest$ac_exeext conftest.$ac_ext 18464 conftest$ac_exeext conftest.$ac_ext
17531LIBS=$ac_check_lib_save_LIBS 18465LIBS=$ac_check_lib_save_LIBS
17532fi 18466fi
17533{ echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 18467{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5
17534echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6; } 18468$as_echo "$ac_cv_lib_pam_pam_set_item" >&6; }
17535if test $ac_cv_lib_pam_pam_set_item = yes; then 18469if test $ac_cv_lib_pam_pam_set_item = yes; then
17536 cat >>confdefs.h <<_ACEOF 18470 cat >>confdefs.h <<_ACEOF
17537#define HAVE_LIBPAM 1 18471#define HAVE_LIBPAM 1
@@ -17540,19 +18474,19 @@ _ACEOF
17540 LIBS="-lpam $LIBS" 18474 LIBS="-lpam $LIBS"
17541 18475
17542else 18476else
17543 { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 18477 { { $as_echo "$as_me:$LINENO: error: *** libpam missing" >&5
17544echo "$as_me: error: *** libpam missing" >&2;} 18478$as_echo "$as_me: error: *** libpam missing" >&2;}
17545 { (exit 1); exit 1; }; } 18479 { (exit 1); exit 1; }; }
17546fi 18480fi
17547 18481
17548 18482
17549for ac_func in pam_getenvlist 18483for ac_func in pam_getenvlist
17550do 18484do
17551as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18485as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17552{ echo "$as_me:$LINENO: checking for $ac_func" >&5 18486{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17553echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18487$as_echo_n "checking for $ac_func... " >&6; }
17554if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18488if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6 18489 $as_echo_n "(cached) " >&6
17556else 18490else
17557 cat >conftest.$ac_ext <<_ACEOF 18491 cat >conftest.$ac_ext <<_ACEOF
17558/* confdefs.h. */ 18492/* confdefs.h. */
@@ -17605,35 +18539,41 @@ case "(($ac_try" in
17605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17606 *) ac_try_echo=$ac_try;; 18540 *) ac_try_echo=$ac_try;;
17607esac 18541esac
17608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18542eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18543$as_echo "$ac_try_echo") >&5
17609 (eval "$ac_link") 2>conftest.er1 18544 (eval "$ac_link") 2>conftest.er1
17610 ac_status=$? 18545 ac_status=$?
17611 grep -v '^ *+' conftest.er1 >conftest.err 18546 grep -v '^ *+' conftest.er1 >conftest.err
17612 rm -f conftest.er1 18547 rm -f conftest.er1
17613 cat conftest.err >&5 18548 cat conftest.err >&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); } && { 18550 (exit $ac_status); } && {
17616 test -z "$ac_c_werror_flag" || 18551 test -z "$ac_c_werror_flag" ||
17617 test ! -s conftest.err 18552 test ! -s conftest.err
17618 } && test -s conftest$ac_exeext && 18553 } && test -s conftest$ac_exeext && {
17619 $as_test_x conftest$ac_exeext; then 18554 test "$cross_compiling" = yes ||
18555 $as_test_x conftest$ac_exeext
18556 }; then
17620 eval "$as_ac_var=yes" 18557 eval "$as_ac_var=yes"
17621else 18558else
17622 echo "$as_me: failed program was:" >&5 18559 $as_echo "$as_me: failed program was:" >&5
17623sed 's/^/| /' conftest.$ac_ext >&5 18560sed 's/^/| /' conftest.$ac_ext >&5
17624 18561
17625 eval "$as_ac_var=no" 18562 eval "$as_ac_var=no"
17626fi 18563fi
17627 18564
18565rm -rf conftest.dSYM
17628rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18566rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17629 conftest$ac_exeext conftest.$ac_ext 18567 conftest$ac_exeext conftest.$ac_ext
17630fi 18568fi
17631ac_res=`eval echo '${'$as_ac_var'}'` 18569ac_res=`eval 'as_val=${'$as_ac_var'}
17632 { echo "$as_me:$LINENO: result: $ac_res" >&5 18570 $as_echo "$as_val"'`
17633echo "${ECHO_T}$ac_res" >&6; } 18571 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17634if test `eval echo '${'$as_ac_var'}'` = yes; then 18572$as_echo "$ac_res" >&6; }
18573if test `eval 'as_val=${'$as_ac_var'}
18574 $as_echo "$as_val"'` = yes; then
17635 cat >>confdefs.h <<_ACEOF 18575 cat >>confdefs.h <<_ACEOF
17636#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18576#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17637_ACEOF 18577_ACEOF
17638 18578
17639fi 18579fi
@@ -17642,11 +18582,11 @@ done
17642 18582
17643for ac_func in pam_putenv 18583for ac_func in pam_putenv
17644do 18584do
17645as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18585as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17646{ echo "$as_me:$LINENO: checking for $ac_func" >&5 18586{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17647echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18587$as_echo_n "checking for $ac_func... " >&6; }
17648if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18588if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6 18589 $as_echo_n "(cached) " >&6
17650else 18590else
17651 cat >conftest.$ac_ext <<_ACEOF 18591 cat >conftest.$ac_ext <<_ACEOF
17652/* confdefs.h. */ 18592/* confdefs.h. */
@@ -17699,35 +18639,41 @@ case "(($ac_try" in
17699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17700 *) ac_try_echo=$ac_try;; 18640 *) ac_try_echo=$ac_try;;
17701esac 18641esac
17702eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18643$as_echo "$ac_try_echo") >&5
17703 (eval "$ac_link") 2>conftest.er1 18644 (eval "$ac_link") 2>conftest.er1
17704 ac_status=$? 18645 ac_status=$?
17705 grep -v '^ *+' conftest.er1 >conftest.err 18646 grep -v '^ *+' conftest.er1 >conftest.err
17706 rm -f conftest.er1 18647 rm -f conftest.er1
17707 cat conftest.err >&5 18648 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } && { 18650 (exit $ac_status); } && {
17710 test -z "$ac_c_werror_flag" || 18651 test -z "$ac_c_werror_flag" ||
17711 test ! -s conftest.err 18652 test ! -s conftest.err
17712 } && test -s conftest$ac_exeext && 18653 } && test -s conftest$ac_exeext && {
17713 $as_test_x conftest$ac_exeext; then 18654 test "$cross_compiling" = yes ||
18655 $as_test_x conftest$ac_exeext
18656 }; then
17714 eval "$as_ac_var=yes" 18657 eval "$as_ac_var=yes"
17715else 18658else
17716 echo "$as_me: failed program was:" >&5 18659 $as_echo "$as_me: failed program was:" >&5
17717sed 's/^/| /' conftest.$ac_ext >&5 18660sed 's/^/| /' conftest.$ac_ext >&5
17718 18661
17719 eval "$as_ac_var=no" 18662 eval "$as_ac_var=no"
17720fi 18663fi
17721 18664
18665rm -rf conftest.dSYM
17722rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18666rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17723 conftest$ac_exeext conftest.$ac_ext 18667 conftest$ac_exeext conftest.$ac_ext
17724fi 18668fi
17725ac_res=`eval echo '${'$as_ac_var'}'` 18669ac_res=`eval 'as_val=${'$as_ac_var'}
17726 { echo "$as_me:$LINENO: result: $ac_res" >&5 18670 $as_echo "$as_val"'`
17727echo "${ECHO_T}$ac_res" >&6; } 18671 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17728if test `eval echo '${'$as_ac_var'}'` = yes; then 18672$as_echo "$ac_res" >&6; }
18673if test `eval 'as_val=${'$as_ac_var'}
18674 $as_echo "$as_val"'` = yes; then
17729 cat >>confdefs.h <<_ACEOF 18675 cat >>confdefs.h <<_ACEOF
17730#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18676#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17731_ACEOF 18677_ACEOF
17732 18678
17733fi 18679fi
@@ -17763,8 +18709,8 @@ fi
17763# Check for older PAM 18709# Check for older PAM
17764if test "x$PAM_MSG" = "xyes" ; then 18710if test "x$PAM_MSG" = "xyes" ; then
17765 # Check PAM strerror arguments (old PAM) 18711 # Check PAM strerror arguments (old PAM)
17766 { echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 18712 { $as_echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5
17767echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6; } 18713$as_echo_n "checking whether pam_strerror takes only one argument... " >&6; }
17768 cat >conftest.$ac_ext <<_ACEOF 18714 cat >conftest.$ac_ext <<_ACEOF
17769/* confdefs.h. */ 18715/* confdefs.h. */
17770_ACEOF 18716_ACEOF
@@ -17793,21 +18739,22 @@ case "(($ac_try" in
17793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17794 *) ac_try_echo=$ac_try;; 18740 *) ac_try_echo=$ac_try;;
17795esac 18741esac
17796eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18742eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18743$as_echo "$ac_try_echo") >&5
17797 (eval "$ac_compile") 2>conftest.er1 18744 (eval "$ac_compile") 2>conftest.er1
17798 ac_status=$? 18745 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err 18746 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1 18747 rm -f conftest.er1
17801 cat conftest.err >&5 18748 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } && { 18750 (exit $ac_status); } && {
17804 test -z "$ac_c_werror_flag" || 18751 test -z "$ac_c_werror_flag" ||
17805 test ! -s conftest.err 18752 test ! -s conftest.err
17806 } && test -s conftest.$ac_objext; then 18753 } && test -s conftest.$ac_objext; then
17807 { echo "$as_me:$LINENO: result: no" >&5 18754 { $as_echo "$as_me:$LINENO: result: no" >&5
17808echo "${ECHO_T}no" >&6; } 18755$as_echo "no" >&6; }
17809else 18756else
17810 echo "$as_me: failed program was:" >&5 18757 $as_echo "$as_me: failed program was:" >&5
17811sed 's/^/| /' conftest.$ac_ext >&5 18758sed 's/^/| /' conftest.$ac_ext >&5
17812 18759
17813 18760
@@ -17816,8 +18763,8 @@ cat >>confdefs.h <<\_ACEOF
17816#define HAVE_OLD_PAM 1 18763#define HAVE_OLD_PAM 1
17817_ACEOF 18764_ACEOF
17818 18765
17819 { echo "$as_me:$LINENO: result: yes" >&5 18766 { $as_echo "$as_me:$LINENO: result: yes" >&5
17820echo "${ECHO_T}yes" >&6; } 18767$as_echo "yes" >&6; }
17821 PAM_MSG="yes (old library)" 18768 PAM_MSG="yes (old library)"
17822 18769
17823 18770
@@ -17835,8 +18782,8 @@ if test "${with_rand_helper+set}" = set; then
17835 # Force use of OpenSSL's internal RNG, even if 18782 # Force use of OpenSSL's internal RNG, even if
17836 # the previous test showed it to be unseeded. 18783 # the previous test showed it to be unseeded.
17837 if test -z "$OPENSSL_SEEDS_ITSELF" ; then 18784 if test -z "$OPENSSL_SEEDS_ITSELF" ; then
17838 { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 18785 { $as_echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
17839echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} 18786$as_echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
17840 OPENSSL_SEEDS_ITSELF=yes 18787 OPENSSL_SEEDS_ITSELF=yes
17841 USE_RAND_HELPER="" 18788 USE_RAND_HELPER=""
17842 fi 18789 fi
@@ -17878,8 +18825,8 @@ if test "${with_prngd_port+set}" = set; then
17878 [0-9]*) 18825 [0-9]*)
17879 ;; 18826 ;;
17880 *) 18827 *)
17881 { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5 18828 { { $as_echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5
17882echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} 18829$as_echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
17883 { (exit 1); exit 1; }; } 18830 { (exit 1); exit 1; }; }
17884 ;; 18831 ;;
17885 esac 18832 esac
@@ -17911,21 +18858,21 @@ if test "${with_prngd_socket+set}" = set; then
17911 /*) 18858 /*)
17912 ;; 18859 ;;
17913 *) 18860 *)
17914 { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5 18861 { { $as_echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5
17915echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} 18862$as_echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
17916 { (exit 1); exit 1; }; } 18863 { (exit 1); exit 1; }; }
17917 ;; 18864 ;;
17918 esac 18865 esac
17919 18866
17920 if test ! -z "$withval" ; then 18867 if test ! -z "$withval" ; then
17921 if test ! -z "$PRNGD_PORT" ; then 18868 if test ! -z "$PRNGD_PORT" ; then
17922 { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5 18869 { { $as_echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5
17923echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} 18870$as_echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
17924 { (exit 1); exit 1; }; } 18871 { (exit 1); exit 1; }; }
17925 fi 18872 fi
17926 if test ! -r "$withval" ; then 18873 if test ! -r "$withval" ; then
17927 { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5 18874 { $as_echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5
17928echo "$as_me: WARNING: Entropy socket is not readable" >&2;} 18875$as_echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
17929 fi 18876 fi
17930 PRNGD_SOCKET="$withval" 18877 PRNGD_SOCKET="$withval"
17931 18878
@@ -17939,8 +18886,8 @@ else
17939 18886
17940 # Check for existing socket only if we don't have a random device already 18887 # Check for existing socket only if we don't have a random device already
17941 if test "$USE_RAND_HELPER" = yes ; then 18888 if test "$USE_RAND_HELPER" = yes ; then
17942 { echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 18889 { $as_echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5
17943echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6; } 18890$as_echo_n "checking for PRNGD/EGD socket... " >&6; }
17944 # Insert other locations here 18891 # Insert other locations here
17945 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do 18892 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
17946 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then 18893 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then
@@ -17953,11 +18900,11 @@ _ACEOF
17953 fi 18900 fi
17954 done 18901 done
17955 if test ! -z "$PRNGD_SOCKET" ; then 18902 if test ! -z "$PRNGD_SOCKET" ; then
17956 { echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 18903 { $as_echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5
17957echo "${ECHO_T}$PRNGD_SOCKET" >&6; } 18904$as_echo "$PRNGD_SOCKET" >&6; }
17958 else 18905 else
17959 { echo "$as_me:$LINENO: result: not found" >&5 18906 { $as_echo "$as_me:$LINENO: result: not found" >&5
17960echo "${ECHO_T}not found" >&6; } 18907$as_echo "not found" >&6; }
17961 fi 18908 fi
17962 fi 18909 fi
17963 18910
@@ -18023,10 +18970,10 @@ PATH=$PATH:/etc:$OPATH
18023 18970
18024 # Extract the first word of "ls", so it can be a program name with args. 18971 # Extract the first word of "ls", so it can be a program name with args.
18025set dummy ls; ac_word=$2 18972set dummy ls; ac_word=$2
18026{ echo "$as_me:$LINENO: checking for $ac_word" >&5 18973{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18027echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 18974$as_echo_n "checking for $ac_word... " >&6; }
18028if test "${ac_cv_path_PROG_LS+set}" = set; then 18975if test "${ac_cv_path_PROG_LS+set}" = set; then
18029 echo $ECHO_N "(cached) $ECHO_C" >&6 18976 $as_echo_n "(cached) " >&6
18030else 18977else
18031 case $PROG_LS in 18978 case $PROG_LS in
18032 [\\/]* | ?:[\\/]*) 18979 [\\/]* | ?:[\\/]*)
@@ -18041,7 +18988,7 @@ do
18041 for ac_exec_ext in '' $ac_executable_extensions; do 18988 for ac_exec_ext in '' $ac_executable_extensions; do
18042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 18989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18043 ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext" 18990 ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext"
18044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 18991 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18045 break 2 18992 break 2
18046 fi 18993 fi
18047done 18994done
@@ -18053,11 +19000,11 @@ esac
18053fi 19000fi
18054PROG_LS=$ac_cv_path_PROG_LS 19001PROG_LS=$ac_cv_path_PROG_LS
18055if test -n "$PROG_LS"; then 19002if test -n "$PROG_LS"; then
18056 { echo "$as_me:$LINENO: result: $PROG_LS" >&5 19003 { $as_echo "$as_me:$LINENO: result: $PROG_LS" >&5
18057echo "${ECHO_T}$PROG_LS" >&6; } 19004$as_echo "$PROG_LS" >&6; }
18058else 19005else
18059 { echo "$as_me:$LINENO: result: no" >&5 19006 { $as_echo "$as_me:$LINENO: result: no" >&5
18060echo "${ECHO_T}no" >&6; } 19007$as_echo "no" >&6; }
18061fi 19008fi
18062 19009
18063 19010
@@ -18069,10 +19016,10 @@ fi
18069 19016
18070 # Extract the first word of "netstat", so it can be a program name with args. 19017 # Extract the first word of "netstat", so it can be a program name with args.
18071set dummy netstat; ac_word=$2 19018set dummy netstat; ac_word=$2
18072{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19019{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18073echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19020$as_echo_n "checking for $ac_word... " >&6; }
18074if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then 19021if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6 19022 $as_echo_n "(cached) " >&6
18076else 19023else
18077 case $PROG_NETSTAT in 19024 case $PROG_NETSTAT in
18078 [\\/]* | ?:[\\/]*) 19025 [\\/]* | ?:[\\/]*)
@@ -18087,7 +19034,7 @@ do
18087 for ac_exec_ext in '' $ac_executable_extensions; do 19034 for ac_exec_ext in '' $ac_executable_extensions; do
18088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18089 ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext" 19036 ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext"
18090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19037 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18091 break 2 19038 break 2
18092 fi 19039 fi
18093done 19040done
@@ -18099,11 +19046,11 @@ esac
18099fi 19046fi
18100PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT 19047PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
18101if test -n "$PROG_NETSTAT"; then 19048if test -n "$PROG_NETSTAT"; then
18102 { echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 19049 { $as_echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5
18103echo "${ECHO_T}$PROG_NETSTAT" >&6; } 19050$as_echo "$PROG_NETSTAT" >&6; }
18104else 19051else
18105 { echo "$as_me:$LINENO: result: no" >&5 19052 { $as_echo "$as_me:$LINENO: result: no" >&5
18106echo "${ECHO_T}no" >&6; } 19053$as_echo "no" >&6; }
18107fi 19054fi
18108 19055
18109 19056
@@ -18115,10 +19062,10 @@ fi
18115 19062
18116 # Extract the first word of "arp", so it can be a program name with args. 19063 # Extract the first word of "arp", so it can be a program name with args.
18117set dummy arp; ac_word=$2 19064set dummy arp; ac_word=$2
18118{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19065{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19066$as_echo_n "checking for $ac_word... " >&6; }
18120if test "${ac_cv_path_PROG_ARP+set}" = set; then 19067if test "${ac_cv_path_PROG_ARP+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6 19068 $as_echo_n "(cached) " >&6
18122else 19069else
18123 case $PROG_ARP in 19070 case $PROG_ARP in
18124 [\\/]* | ?:[\\/]*) 19071 [\\/]* | ?:[\\/]*)
@@ -18133,7 +19080,7 @@ do
18133 for ac_exec_ext in '' $ac_executable_extensions; do 19080 for ac_exec_ext in '' $ac_executable_extensions; do
18134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18135 ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext" 19082 ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext"
18136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19083 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18137 break 2 19084 break 2
18138 fi 19085 fi
18139done 19086done
@@ -18145,11 +19092,11 @@ esac
18145fi 19092fi
18146PROG_ARP=$ac_cv_path_PROG_ARP 19093PROG_ARP=$ac_cv_path_PROG_ARP
18147if test -n "$PROG_ARP"; then 19094if test -n "$PROG_ARP"; then
18148 { echo "$as_me:$LINENO: result: $PROG_ARP" >&5 19095 { $as_echo "$as_me:$LINENO: result: $PROG_ARP" >&5
18149echo "${ECHO_T}$PROG_ARP" >&6; } 19096$as_echo "$PROG_ARP" >&6; }
18150else 19097else
18151 { echo "$as_me:$LINENO: result: no" >&5 19098 { $as_echo "$as_me:$LINENO: result: no" >&5
18152echo "${ECHO_T}no" >&6; } 19099$as_echo "no" >&6; }
18153fi 19100fi
18154 19101
18155 19102
@@ -18161,10 +19108,10 @@ fi
18161 19108
18162 # Extract the first word of "ifconfig", so it can be a program name with args. 19109 # Extract the first word of "ifconfig", so it can be a program name with args.
18163set dummy ifconfig; ac_word=$2 19110set dummy ifconfig; ac_word=$2
18164{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19111{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18165echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19112$as_echo_n "checking for $ac_word... " >&6; }
18166if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then 19113if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6 19114 $as_echo_n "(cached) " >&6
18168else 19115else
18169 case $PROG_IFCONFIG in 19116 case $PROG_IFCONFIG in
18170 [\\/]* | ?:[\\/]*) 19117 [\\/]* | ?:[\\/]*)
@@ -18179,7 +19126,7 @@ do
18179 for ac_exec_ext in '' $ac_executable_extensions; do 19126 for ac_exec_ext in '' $ac_executable_extensions; do
18180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18181 ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext" 19128 ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext"
18182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19129 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18183 break 2 19130 break 2
18184 fi 19131 fi
18185done 19132done
@@ -18191,11 +19138,11 @@ esac
18191fi 19138fi
18192PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG 19139PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
18193if test -n "$PROG_IFCONFIG"; then 19140if test -n "$PROG_IFCONFIG"; then
18194 { echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 19141 { $as_echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5
18195echo "${ECHO_T}$PROG_IFCONFIG" >&6; } 19142$as_echo "$PROG_IFCONFIG" >&6; }
18196else 19143else
18197 { echo "$as_me:$LINENO: result: no" >&5 19144 { $as_echo "$as_me:$LINENO: result: no" >&5
18198echo "${ECHO_T}no" >&6; } 19145$as_echo "no" >&6; }
18199fi 19146fi
18200 19147
18201 19148
@@ -18207,10 +19154,10 @@ fi
18207 19154
18208 # Extract the first word of "jstat", so it can be a program name with args. 19155 # Extract the first word of "jstat", so it can be a program name with args.
18209set dummy jstat; ac_word=$2 19156set dummy jstat; ac_word=$2
18210{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19157{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18211echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19158$as_echo_n "checking for $ac_word... " >&6; }
18212if test "${ac_cv_path_PROG_JSTAT+set}" = set; then 19159if test "${ac_cv_path_PROG_JSTAT+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6 19160 $as_echo_n "(cached) " >&6
18214else 19161else
18215 case $PROG_JSTAT in 19162 case $PROG_JSTAT in
18216 [\\/]* | ?:[\\/]*) 19163 [\\/]* | ?:[\\/]*)
@@ -18225,7 +19172,7 @@ do
18225 for ac_exec_ext in '' $ac_executable_extensions; do 19172 for ac_exec_ext in '' $ac_executable_extensions; do
18226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18227 ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext" 19174 ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext"
18228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19175 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18229 break 2 19176 break 2
18230 fi 19177 fi
18231done 19178done
@@ -18237,11 +19184,11 @@ esac
18237fi 19184fi
18238PROG_JSTAT=$ac_cv_path_PROG_JSTAT 19185PROG_JSTAT=$ac_cv_path_PROG_JSTAT
18239if test -n "$PROG_JSTAT"; then 19186if test -n "$PROG_JSTAT"; then
18240 { echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 19187 { $as_echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5
18241echo "${ECHO_T}$PROG_JSTAT" >&6; } 19188$as_echo "$PROG_JSTAT" >&6; }
18242else 19189else
18243 { echo "$as_me:$LINENO: result: no" >&5 19190 { $as_echo "$as_me:$LINENO: result: no" >&5
18244echo "${ECHO_T}no" >&6; } 19191$as_echo "no" >&6; }
18245fi 19192fi
18246 19193
18247 19194
@@ -18253,10 +19200,10 @@ fi
18253 19200
18254 # Extract the first word of "ps", so it can be a program name with args. 19201 # Extract the first word of "ps", so it can be a program name with args.
18255set dummy ps; ac_word=$2 19202set dummy ps; ac_word=$2
18256{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19203{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18257echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19204$as_echo_n "checking for $ac_word... " >&6; }
18258if test "${ac_cv_path_PROG_PS+set}" = set; then 19205if test "${ac_cv_path_PROG_PS+set}" = set; then
18259 echo $ECHO_N "(cached) $ECHO_C" >&6 19206 $as_echo_n "(cached) " >&6
18260else 19207else
18261 case $PROG_PS in 19208 case $PROG_PS in
18262 [\\/]* | ?:[\\/]*) 19209 [\\/]* | ?:[\\/]*)
@@ -18271,7 +19218,7 @@ do
18271 for ac_exec_ext in '' $ac_executable_extensions; do 19218 for ac_exec_ext in '' $ac_executable_extensions; do
18272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18273 ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext" 19220 ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext"
18274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19221 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18275 break 2 19222 break 2
18276 fi 19223 fi
18277done 19224done
@@ -18283,11 +19230,11 @@ esac
18283fi 19230fi
18284PROG_PS=$ac_cv_path_PROG_PS 19231PROG_PS=$ac_cv_path_PROG_PS
18285if test -n "$PROG_PS"; then 19232if test -n "$PROG_PS"; then
18286 { echo "$as_me:$LINENO: result: $PROG_PS" >&5 19233 { $as_echo "$as_me:$LINENO: result: $PROG_PS" >&5
18287echo "${ECHO_T}$PROG_PS" >&6; } 19234$as_echo "$PROG_PS" >&6; }
18288else 19235else
18289 { echo "$as_me:$LINENO: result: no" >&5 19236 { $as_echo "$as_me:$LINENO: result: no" >&5
18290echo "${ECHO_T}no" >&6; } 19237$as_echo "no" >&6; }
18291fi 19238fi
18292 19239
18293 19240
@@ -18299,10 +19246,10 @@ fi
18299 19246
18300 # Extract the first word of "sar", so it can be a program name with args. 19247 # Extract the first word of "sar", so it can be a program name with args.
18301set dummy sar; ac_word=$2 19248set dummy sar; ac_word=$2
18302{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19249{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18303echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19250$as_echo_n "checking for $ac_word... " >&6; }
18304if test "${ac_cv_path_PROG_SAR+set}" = set; then 19251if test "${ac_cv_path_PROG_SAR+set}" = set; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6 19252 $as_echo_n "(cached) " >&6
18306else 19253else
18307 case $PROG_SAR in 19254 case $PROG_SAR in
18308 [\\/]* | ?:[\\/]*) 19255 [\\/]* | ?:[\\/]*)
@@ -18317,7 +19264,7 @@ do
18317 for ac_exec_ext in '' $ac_executable_extensions; do 19264 for ac_exec_ext in '' $ac_executable_extensions; do
18318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18319 ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext" 19266 ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext"
18320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19267 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18321 break 2 19268 break 2
18322 fi 19269 fi
18323done 19270done
@@ -18329,11 +19276,11 @@ esac
18329fi 19276fi
18330PROG_SAR=$ac_cv_path_PROG_SAR 19277PROG_SAR=$ac_cv_path_PROG_SAR
18331if test -n "$PROG_SAR"; then 19278if test -n "$PROG_SAR"; then
18332 { echo "$as_me:$LINENO: result: $PROG_SAR" >&5 19279 { $as_echo "$as_me:$LINENO: result: $PROG_SAR" >&5
18333echo "${ECHO_T}$PROG_SAR" >&6; } 19280$as_echo "$PROG_SAR" >&6; }
18334else 19281else
18335 { echo "$as_me:$LINENO: result: no" >&5 19282 { $as_echo "$as_me:$LINENO: result: no" >&5
18336echo "${ECHO_T}no" >&6; } 19283$as_echo "no" >&6; }
18337fi 19284fi
18338 19285
18339 19286
@@ -18345,10 +19292,10 @@ fi
18345 19292
18346 # Extract the first word of "w", so it can be a program name with args. 19293 # Extract the first word of "w", so it can be a program name with args.
18347set dummy w; ac_word=$2 19294set dummy w; ac_word=$2
18348{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19295{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18349echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19296$as_echo_n "checking for $ac_word... " >&6; }
18350if test "${ac_cv_path_PROG_W+set}" = set; then 19297if test "${ac_cv_path_PROG_W+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6 19298 $as_echo_n "(cached) " >&6
18352else 19299else
18353 case $PROG_W in 19300 case $PROG_W in
18354 [\\/]* | ?:[\\/]*) 19301 [\\/]* | ?:[\\/]*)
@@ -18363,7 +19310,7 @@ do
18363 for ac_exec_ext in '' $ac_executable_extensions; do 19310 for ac_exec_ext in '' $ac_executable_extensions; do
18364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18365 ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext" 19312 ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext"
18366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19313 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18367 break 2 19314 break 2
18368 fi 19315 fi
18369done 19316done
@@ -18375,11 +19322,11 @@ esac
18375fi 19322fi
18376PROG_W=$ac_cv_path_PROG_W 19323PROG_W=$ac_cv_path_PROG_W
18377if test -n "$PROG_W"; then 19324if test -n "$PROG_W"; then
18378 { echo "$as_me:$LINENO: result: $PROG_W" >&5 19325 { $as_echo "$as_me:$LINENO: result: $PROG_W" >&5
18379echo "${ECHO_T}$PROG_W" >&6; } 19326$as_echo "$PROG_W" >&6; }
18380else 19327else
18381 { echo "$as_me:$LINENO: result: no" >&5 19328 { $as_echo "$as_me:$LINENO: result: no" >&5
18382echo "${ECHO_T}no" >&6; } 19329$as_echo "no" >&6; }
18383fi 19330fi
18384 19331
18385 19332
@@ -18391,10 +19338,10 @@ fi
18391 19338
18392 # Extract the first word of "who", so it can be a program name with args. 19339 # Extract the first word of "who", so it can be a program name with args.
18393set dummy who; ac_word=$2 19340set dummy who; ac_word=$2
18394{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19341{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18395echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19342$as_echo_n "checking for $ac_word... " >&6; }
18396if test "${ac_cv_path_PROG_WHO+set}" = set; then 19343if test "${ac_cv_path_PROG_WHO+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6 19344 $as_echo_n "(cached) " >&6
18398else 19345else
18399 case $PROG_WHO in 19346 case $PROG_WHO in
18400 [\\/]* | ?:[\\/]*) 19347 [\\/]* | ?:[\\/]*)
@@ -18409,7 +19356,7 @@ do
18409 for ac_exec_ext in '' $ac_executable_extensions; do 19356 for ac_exec_ext in '' $ac_executable_extensions; do
18410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18411 ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext" 19358 ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext"
18412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19359 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18413 break 2 19360 break 2
18414 fi 19361 fi
18415done 19362done
@@ -18421,11 +19368,11 @@ esac
18421fi 19368fi
18422PROG_WHO=$ac_cv_path_PROG_WHO 19369PROG_WHO=$ac_cv_path_PROG_WHO
18423if test -n "$PROG_WHO"; then 19370if test -n "$PROG_WHO"; then
18424 { echo "$as_me:$LINENO: result: $PROG_WHO" >&5 19371 { $as_echo "$as_me:$LINENO: result: $PROG_WHO" >&5
18425echo "${ECHO_T}$PROG_WHO" >&6; } 19372$as_echo "$PROG_WHO" >&6; }
18426else 19373else
18427 { echo "$as_me:$LINENO: result: no" >&5 19374 { $as_echo "$as_me:$LINENO: result: no" >&5
18428echo "${ECHO_T}no" >&6; } 19375$as_echo "no" >&6; }
18429fi 19376fi
18430 19377
18431 19378
@@ -18437,10 +19384,10 @@ fi
18437 19384
18438 # Extract the first word of "last", so it can be a program name with args. 19385 # Extract the first word of "last", so it can be a program name with args.
18439set dummy last; ac_word=$2 19386set dummy last; ac_word=$2
18440{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19387{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18441echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19388$as_echo_n "checking for $ac_word... " >&6; }
18442if test "${ac_cv_path_PROG_LAST+set}" = set; then 19389if test "${ac_cv_path_PROG_LAST+set}" = set; then
18443 echo $ECHO_N "(cached) $ECHO_C" >&6 19390 $as_echo_n "(cached) " >&6
18444else 19391else
18445 case $PROG_LAST in 19392 case $PROG_LAST in
18446 [\\/]* | ?:[\\/]*) 19393 [\\/]* | ?:[\\/]*)
@@ -18455,7 +19402,7 @@ do
18455 for ac_exec_ext in '' $ac_executable_extensions; do 19402 for ac_exec_ext in '' $ac_executable_extensions; do
18456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18457 ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext" 19404 ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext"
18458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19405 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18459 break 2 19406 break 2
18460 fi 19407 fi
18461done 19408done
@@ -18467,11 +19414,11 @@ esac
18467fi 19414fi
18468PROG_LAST=$ac_cv_path_PROG_LAST 19415PROG_LAST=$ac_cv_path_PROG_LAST
18469if test -n "$PROG_LAST"; then 19416if test -n "$PROG_LAST"; then
18470 { echo "$as_me:$LINENO: result: $PROG_LAST" >&5 19417 { $as_echo "$as_me:$LINENO: result: $PROG_LAST" >&5
18471echo "${ECHO_T}$PROG_LAST" >&6; } 19418$as_echo "$PROG_LAST" >&6; }
18472else 19419else
18473 { echo "$as_me:$LINENO: result: no" >&5 19420 { $as_echo "$as_me:$LINENO: result: no" >&5
18474echo "${ECHO_T}no" >&6; } 19421$as_echo "no" >&6; }
18475fi 19422fi
18476 19423
18477 19424
@@ -18483,10 +19430,10 @@ fi
18483 19430
18484 # Extract the first word of "lastlog", so it can be a program name with args. 19431 # Extract the first word of "lastlog", so it can be a program name with args.
18485set dummy lastlog; ac_word=$2 19432set dummy lastlog; ac_word=$2
18486{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19433{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18487echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19434$as_echo_n "checking for $ac_word... " >&6; }
18488if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then 19435if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6 19436 $as_echo_n "(cached) " >&6
18490else 19437else
18491 case $PROG_LASTLOG in 19438 case $PROG_LASTLOG in
18492 [\\/]* | ?:[\\/]*) 19439 [\\/]* | ?:[\\/]*)
@@ -18501,7 +19448,7 @@ do
18501 for ac_exec_ext in '' $ac_executable_extensions; do 19448 for ac_exec_ext in '' $ac_executable_extensions; do
18502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18503 ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext" 19450 ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext"
18504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19451 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18505 break 2 19452 break 2
18506 fi 19453 fi
18507done 19454done
@@ -18513,11 +19460,11 @@ esac
18513fi 19460fi
18514PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG 19461PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
18515if test -n "$PROG_LASTLOG"; then 19462if test -n "$PROG_LASTLOG"; then
18516 { echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 19463 { $as_echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5
18517echo "${ECHO_T}$PROG_LASTLOG" >&6; } 19464$as_echo "$PROG_LASTLOG" >&6; }
18518else 19465else
18519 { echo "$as_me:$LINENO: result: no" >&5 19466 { $as_echo "$as_me:$LINENO: result: no" >&5
18520echo "${ECHO_T}no" >&6; } 19467$as_echo "no" >&6; }
18521fi 19468fi
18522 19469
18523 19470
@@ -18529,10 +19476,10 @@ fi
18529 19476
18530 # Extract the first word of "df", so it can be a program name with args. 19477 # Extract the first word of "df", so it can be a program name with args.
18531set dummy df; ac_word=$2 19478set dummy df; ac_word=$2
18532{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19479{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18533echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19480$as_echo_n "checking for $ac_word... " >&6; }
18534if test "${ac_cv_path_PROG_DF+set}" = set; then 19481if test "${ac_cv_path_PROG_DF+set}" = set; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6 19482 $as_echo_n "(cached) " >&6
18536else 19483else
18537 case $PROG_DF in 19484 case $PROG_DF in
18538 [\\/]* | ?:[\\/]*) 19485 [\\/]* | ?:[\\/]*)
@@ -18547,7 +19494,7 @@ do
18547 for ac_exec_ext in '' $ac_executable_extensions; do 19494 for ac_exec_ext in '' $ac_executable_extensions; do
18548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18549 ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext" 19496 ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
18550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19497 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18551 break 2 19498 break 2
18552 fi 19499 fi
18553done 19500done
@@ -18559,11 +19506,11 @@ esac
18559fi 19506fi
18560PROG_DF=$ac_cv_path_PROG_DF 19507PROG_DF=$ac_cv_path_PROG_DF
18561if test -n "$PROG_DF"; then 19508if test -n "$PROG_DF"; then
18562 { echo "$as_me:$LINENO: result: $PROG_DF" >&5 19509 { $as_echo "$as_me:$LINENO: result: $PROG_DF" >&5
18563echo "${ECHO_T}$PROG_DF" >&6; } 19510$as_echo "$PROG_DF" >&6; }
18564else 19511else
18565 { echo "$as_me:$LINENO: result: no" >&5 19512 { $as_echo "$as_me:$LINENO: result: no" >&5
18566echo "${ECHO_T}no" >&6; } 19513$as_echo "no" >&6; }
18567fi 19514fi
18568 19515
18569 19516
@@ -18575,10 +19522,10 @@ fi
18575 19522
18576 # Extract the first word of "vmstat", so it can be a program name with args. 19523 # Extract the first word of "vmstat", so it can be a program name with args.
18577set dummy vmstat; ac_word=$2 19524set dummy vmstat; ac_word=$2
18578{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19525{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18579echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19526$as_echo_n "checking for $ac_word... " >&6; }
18580if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then 19527if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
18581 echo $ECHO_N "(cached) $ECHO_C" >&6 19528 $as_echo_n "(cached) " >&6
18582else 19529else
18583 case $PROG_VMSTAT in 19530 case $PROG_VMSTAT in
18584 [\\/]* | ?:[\\/]*) 19531 [\\/]* | ?:[\\/]*)
@@ -18593,7 +19540,7 @@ do
18593 for ac_exec_ext in '' $ac_executable_extensions; do 19540 for ac_exec_ext in '' $ac_executable_extensions; do
18594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18595 ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext" 19542 ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext"
18596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19543 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18597 break 2 19544 break 2
18598 fi 19545 fi
18599done 19546done
@@ -18605,11 +19552,11 @@ esac
18605fi 19552fi
18606PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT 19553PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
18607if test -n "$PROG_VMSTAT"; then 19554if test -n "$PROG_VMSTAT"; then
18608 { echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 19555 { $as_echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5
18609echo "${ECHO_T}$PROG_VMSTAT" >&6; } 19556$as_echo "$PROG_VMSTAT" >&6; }
18610else 19557else
18611 { echo "$as_me:$LINENO: result: no" >&5 19558 { $as_echo "$as_me:$LINENO: result: no" >&5
18612echo "${ECHO_T}no" >&6; } 19559$as_echo "no" >&6; }
18613fi 19560fi
18614 19561
18615 19562
@@ -18621,10 +19568,10 @@ fi
18621 19568
18622 # Extract the first word of "uptime", so it can be a program name with args. 19569 # Extract the first word of "uptime", so it can be a program name with args.
18623set dummy uptime; ac_word=$2 19570set dummy uptime; ac_word=$2
18624{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19571{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18625echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19572$as_echo_n "checking for $ac_word... " >&6; }
18626if test "${ac_cv_path_PROG_UPTIME+set}" = set; then 19573if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
18627 echo $ECHO_N "(cached) $ECHO_C" >&6 19574 $as_echo_n "(cached) " >&6
18628else 19575else
18629 case $PROG_UPTIME in 19576 case $PROG_UPTIME in
18630 [\\/]* | ?:[\\/]*) 19577 [\\/]* | ?:[\\/]*)
@@ -18639,7 +19586,7 @@ do
18639 for ac_exec_ext in '' $ac_executable_extensions; do 19586 for ac_exec_ext in '' $ac_executable_extensions; do
18640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18641 ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext" 19588 ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
18642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18643 break 2 19590 break 2
18644 fi 19591 fi
18645done 19592done
@@ -18651,11 +19598,11 @@ esac
18651fi 19598fi
18652PROG_UPTIME=$ac_cv_path_PROG_UPTIME 19599PROG_UPTIME=$ac_cv_path_PROG_UPTIME
18653if test -n "$PROG_UPTIME"; then 19600if test -n "$PROG_UPTIME"; then
18654 { echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 19601 { $as_echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5
18655echo "${ECHO_T}$PROG_UPTIME" >&6; } 19602$as_echo "$PROG_UPTIME" >&6; }
18656else 19603else
18657 { echo "$as_me:$LINENO: result: no" >&5 19604 { $as_echo "$as_me:$LINENO: result: no" >&5
18658echo "${ECHO_T}no" >&6; } 19605$as_echo "no" >&6; }
18659fi 19606fi
18660 19607
18661 19608
@@ -18667,10 +19614,10 @@ fi
18667 19614
18668 # Extract the first word of "ipcs", so it can be a program name with args. 19615 # Extract the first word of "ipcs", so it can be a program name with args.
18669set dummy ipcs; ac_word=$2 19616set dummy ipcs; ac_word=$2
18670{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19617{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18671echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19618$as_echo_n "checking for $ac_word... " >&6; }
18672if test "${ac_cv_path_PROG_IPCS+set}" = set; then 19619if test "${ac_cv_path_PROG_IPCS+set}" = set; then
18673 echo $ECHO_N "(cached) $ECHO_C" >&6 19620 $as_echo_n "(cached) " >&6
18674else 19621else
18675 case $PROG_IPCS in 19622 case $PROG_IPCS in
18676 [\\/]* | ?:[\\/]*) 19623 [\\/]* | ?:[\\/]*)
@@ -18685,7 +19632,7 @@ do
18685 for ac_exec_ext in '' $ac_executable_extensions; do 19632 for ac_exec_ext in '' $ac_executable_extensions; do
18686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18687 ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext" 19634 ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext"
18688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19635 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18689 break 2 19636 break 2
18690 fi 19637 fi
18691done 19638done
@@ -18697,11 +19644,11 @@ esac
18697fi 19644fi
18698PROG_IPCS=$ac_cv_path_PROG_IPCS 19645PROG_IPCS=$ac_cv_path_PROG_IPCS
18699if test -n "$PROG_IPCS"; then 19646if test -n "$PROG_IPCS"; then
18700 { echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 19647 { $as_echo "$as_me:$LINENO: result: $PROG_IPCS" >&5
18701echo "${ECHO_T}$PROG_IPCS" >&6; } 19648$as_echo "$PROG_IPCS" >&6; }
18702else 19649else
18703 { echo "$as_me:$LINENO: result: no" >&5 19650 { $as_echo "$as_me:$LINENO: result: no" >&5
18704echo "${ECHO_T}no" >&6; } 19651$as_echo "no" >&6; }
18705fi 19652fi
18706 19653
18707 19654
@@ -18713,10 +19660,10 @@ fi
18713 19660
18714 # Extract the first word of "tail", so it can be a program name with args. 19661 # Extract the first word of "tail", so it can be a program name with args.
18715set dummy tail; ac_word=$2 19662set dummy tail; ac_word=$2
18716{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19663{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18717echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19664$as_echo_n "checking for $ac_word... " >&6; }
18718if test "${ac_cv_path_PROG_TAIL+set}" = set; then 19665if test "${ac_cv_path_PROG_TAIL+set}" = set; then
18719 echo $ECHO_N "(cached) $ECHO_C" >&6 19666 $as_echo_n "(cached) " >&6
18720else 19667else
18721 case $PROG_TAIL in 19668 case $PROG_TAIL in
18722 [\\/]* | ?:[\\/]*) 19669 [\\/]* | ?:[\\/]*)
@@ -18731,7 +19678,7 @@ do
18731 for ac_exec_ext in '' $ac_executable_extensions; do 19678 for ac_exec_ext in '' $ac_executable_extensions; do
18732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18733 ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext" 19680 ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
18734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19681 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18735 break 2 19682 break 2
18736 fi 19683 fi
18737done 19684done
@@ -18743,11 +19690,11 @@ esac
18743fi 19690fi
18744PROG_TAIL=$ac_cv_path_PROG_TAIL 19691PROG_TAIL=$ac_cv_path_PROG_TAIL
18745if test -n "$PROG_TAIL"; then 19692if test -n "$PROG_TAIL"; then
18746 { echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 19693 { $as_echo "$as_me:$LINENO: result: $PROG_TAIL" >&5
18747echo "${ECHO_T}$PROG_TAIL" >&6; } 19694$as_echo "$PROG_TAIL" >&6; }
18748else 19695else
18749 { echo "$as_me:$LINENO: result: no" >&5 19696 { $as_echo "$as_me:$LINENO: result: no" >&5
18750echo "${ECHO_T}no" >&6; } 19697$as_echo "no" >&6; }
18751fi 19698fi
18752 19699
18753 19700
@@ -18781,26 +19728,58 @@ if test ! -z "$SONY" ; then
18781fi 19728fi
18782 19729
18783# Check for long long datatypes 19730# Check for long long datatypes
18784{ echo "$as_me:$LINENO: checking for long long" >&5 19731{ $as_echo "$as_me:$LINENO: checking for long long" >&5
18785echo $ECHO_N "checking for long long... $ECHO_C" >&6; } 19732$as_echo_n "checking for long long... " >&6; }
18786if test "${ac_cv_type_long_long+set}" = set; then 19733if test "${ac_cv_type_long_long+set}" = set; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6 19734 $as_echo_n "(cached) " >&6
18788else 19735else
18789 cat >conftest.$ac_ext <<_ACEOF 19736 ac_cv_type_long_long=no
19737cat >conftest.$ac_ext <<_ACEOF
18790/* confdefs.h. */ 19738/* confdefs.h. */
18791_ACEOF 19739_ACEOF
18792cat confdefs.h >>conftest.$ac_ext 19740cat confdefs.h >>conftest.$ac_ext
18793cat >>conftest.$ac_ext <<_ACEOF 19741cat >>conftest.$ac_ext <<_ACEOF
18794/* end confdefs.h. */ 19742/* end confdefs.h. */
18795$ac_includes_default 19743$ac_includes_default
18796typedef long long ac__type_new_;
18797int 19744int
18798main () 19745main ()
18799{ 19746{
18800if ((ac__type_new_ *) 0) 19747if (sizeof (long long))
18801 return 0; 19748 return 0;
18802if (sizeof (ac__type_new_)) 19749 ;
18803 return 0; 19750 return 0;
19751}
19752_ACEOF
19753rm -f conftest.$ac_objext
19754if { (ac_try="$ac_compile"
19755case "(($ac_try" in
19756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19757 *) ac_try_echo=$ac_try;;
19758esac
19759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19760$as_echo "$ac_try_echo") >&5
19761 (eval "$ac_compile") 2>conftest.er1
19762 ac_status=$?
19763 grep -v '^ *+' conftest.er1 >conftest.err
19764 rm -f conftest.er1
19765 cat conftest.err >&5
19766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } && {
19768 test -z "$ac_c_werror_flag" ||
19769 test ! -s conftest.err
19770 } && test -s conftest.$ac_objext; then
19771 cat >conftest.$ac_ext <<_ACEOF
19772/* confdefs.h. */
19773_ACEOF
19774cat confdefs.h >>conftest.$ac_ext
19775cat >>conftest.$ac_ext <<_ACEOF
19776/* end confdefs.h. */
19777$ac_includes_default
19778int
19779main ()
19780{
19781if (sizeof ((long long)))
19782 return 0;
18804 ; 19783 ;
18805 return 0; 19784 return 0;
18806} 19785}
@@ -18811,29 +19790,38 @@ case "(($ac_try" in
18811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18812 *) ac_try_echo=$ac_try;; 19791 *) ac_try_echo=$ac_try;;
18813esac 19792esac
18814eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19793eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19794$as_echo "$ac_try_echo") >&5
18815 (eval "$ac_compile") 2>conftest.er1 19795 (eval "$ac_compile") 2>conftest.er1
18816 ac_status=$? 19796 ac_status=$?
18817 grep -v '^ *+' conftest.er1 >conftest.err 19797 grep -v '^ *+' conftest.er1 >conftest.err
18818 rm -f conftest.er1 19798 rm -f conftest.er1
18819 cat conftest.err >&5 19799 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } && { 19801 (exit $ac_status); } && {
18822 test -z "$ac_c_werror_flag" || 19802 test -z "$ac_c_werror_flag" ||
18823 test ! -s conftest.err 19803 test ! -s conftest.err
18824 } && test -s conftest.$ac_objext; then 19804 } && test -s conftest.$ac_objext; then
18825 ac_cv_type_long_long=yes 19805 :
18826else 19806else
18827 echo "$as_me: failed program was:" >&5 19807 $as_echo "$as_me: failed program was:" >&5
18828sed 's/^/| /' conftest.$ac_ext >&5 19808sed 's/^/| /' conftest.$ac_ext >&5
18829 19809
18830 ac_cv_type_long_long=no 19810 ac_cv_type_long_long=yes
19811fi
19812
19813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814else
19815 $as_echo "$as_me: failed program was:" >&5
19816sed 's/^/| /' conftest.$ac_ext >&5
19817
19818
18831fi 19819fi
18832 19820
18833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18834fi 19822fi
18835{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 19823{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18836echo "${ECHO_T}$ac_cv_type_long_long" >&6; } 19824$as_echo "$ac_cv_type_long_long" >&6; }
18837if test $ac_cv_type_long_long = yes; then 19825if test $ac_cv_type_long_long = yes; then
18838 19826
18839cat >>confdefs.h <<_ACEOF 19827cat >>confdefs.h <<_ACEOF
@@ -18842,26 +19830,58 @@ _ACEOF
18842 19830
18843 19831
18844fi 19832fi
18845{ echo "$as_me:$LINENO: checking for unsigned long long" >&5 19833{ $as_echo "$as_me:$LINENO: checking for unsigned long long" >&5
18846echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; } 19834$as_echo_n "checking for unsigned long long... " >&6; }
18847if test "${ac_cv_type_unsigned_long_long+set}" = set; then 19835if test "${ac_cv_type_unsigned_long_long+set}" = set; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6 19836 $as_echo_n "(cached) " >&6
18849else 19837else
18850 cat >conftest.$ac_ext <<_ACEOF 19838 ac_cv_type_unsigned_long_long=no
19839cat >conftest.$ac_ext <<_ACEOF
18851/* confdefs.h. */ 19840/* confdefs.h. */
18852_ACEOF 19841_ACEOF
18853cat confdefs.h >>conftest.$ac_ext 19842cat confdefs.h >>conftest.$ac_ext
18854cat >>conftest.$ac_ext <<_ACEOF 19843cat >>conftest.$ac_ext <<_ACEOF
18855/* end confdefs.h. */ 19844/* end confdefs.h. */
18856$ac_includes_default 19845$ac_includes_default
18857typedef unsigned long long ac__type_new_;
18858int 19846int
18859main () 19847main ()
18860{ 19848{
18861if ((ac__type_new_ *) 0) 19849if (sizeof (unsigned long long))
18862 return 0; 19850 return 0;
18863if (sizeof (ac__type_new_)) 19851 ;
18864 return 0; 19852 return 0;
19853}
19854_ACEOF
19855rm -f conftest.$ac_objext
19856if { (ac_try="$ac_compile"
19857case "(($ac_try" in
19858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19859 *) ac_try_echo=$ac_try;;
19860esac
19861eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19862$as_echo "$ac_try_echo") >&5
19863 (eval "$ac_compile") 2>conftest.er1
19864 ac_status=$?
19865 grep -v '^ *+' conftest.er1 >conftest.err
19866 rm -f conftest.er1
19867 cat conftest.err >&5
19868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } && {
19870 test -z "$ac_c_werror_flag" ||
19871 test ! -s conftest.err
19872 } && test -s conftest.$ac_objext; then
19873 cat >conftest.$ac_ext <<_ACEOF
19874/* confdefs.h. */
19875_ACEOF
19876cat confdefs.h >>conftest.$ac_ext
19877cat >>conftest.$ac_ext <<_ACEOF
19878/* end confdefs.h. */
19879$ac_includes_default
19880int
19881main ()
19882{
19883if (sizeof ((unsigned long long)))
19884 return 0;
18865 ; 19885 ;
18866 return 0; 19886 return 0;
18867} 19887}
@@ -18872,29 +19892,38 @@ case "(($ac_try" in
18872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18873 *) ac_try_echo=$ac_try;; 19893 *) ac_try_echo=$ac_try;;
18874esac 19894esac
18875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19895eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19896$as_echo "$ac_try_echo") >&5
18876 (eval "$ac_compile") 2>conftest.er1 19897 (eval "$ac_compile") 2>conftest.er1
18877 ac_status=$? 19898 ac_status=$?
18878 grep -v '^ *+' conftest.er1 >conftest.err 19899 grep -v '^ *+' conftest.er1 >conftest.err
18879 rm -f conftest.er1 19900 rm -f conftest.er1
18880 cat conftest.err >&5 19901 cat conftest.err >&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } && { 19903 (exit $ac_status); } && {
18883 test -z "$ac_c_werror_flag" || 19904 test -z "$ac_c_werror_flag" ||
18884 test ! -s conftest.err 19905 test ! -s conftest.err
18885 } && test -s conftest.$ac_objext; then 19906 } && test -s conftest.$ac_objext; then
18886 ac_cv_type_unsigned_long_long=yes 19907 :
18887else 19908else
18888 echo "$as_me: failed program was:" >&5 19909 $as_echo "$as_me: failed program was:" >&5
18889sed 's/^/| /' conftest.$ac_ext >&5 19910sed 's/^/| /' conftest.$ac_ext >&5
18890 19911
18891 ac_cv_type_unsigned_long_long=no 19912 ac_cv_type_unsigned_long_long=yes
19913fi
19914
19915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916else
19917 $as_echo "$as_me: failed program was:" >&5
19918sed 's/^/| /' conftest.$ac_ext >&5
19919
19920
18892fi 19921fi
18893 19922
18894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895fi 19924fi
18896{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 19925{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
18897echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; } 19926$as_echo "$ac_cv_type_unsigned_long_long" >&6; }
18898if test $ac_cv_type_unsigned_long_long = yes; then 19927if test $ac_cv_type_unsigned_long_long = yes; then
18899 19928
18900cat >>confdefs.h <<_ACEOF 19929cat >>confdefs.h <<_ACEOF
@@ -18903,26 +19932,24 @@ _ACEOF
18903 19932
18904 19933
18905fi 19934fi
18906{ echo "$as_me:$LINENO: checking for long double" >&5 19935{ $as_echo "$as_me:$LINENO: checking for long double" >&5
18907echo $ECHO_N "checking for long double... $ECHO_C" >&6; } 19936$as_echo_n "checking for long double... " >&6; }
18908if test "${ac_cv_type_long_double+set}" = set; then 19937if test "${ac_cv_type_long_double+set}" = set; then
18909 echo $ECHO_N "(cached) $ECHO_C" >&6 19938 $as_echo_n "(cached) " >&6
18910else 19939else
18911 cat >conftest.$ac_ext <<_ACEOF 19940 ac_cv_type_long_double=no
19941cat >conftest.$ac_ext <<_ACEOF
18912/* confdefs.h. */ 19942/* confdefs.h. */
18913_ACEOF 19943_ACEOF
18914cat confdefs.h >>conftest.$ac_ext 19944cat confdefs.h >>conftest.$ac_ext
18915cat >>conftest.$ac_ext <<_ACEOF 19945cat >>conftest.$ac_ext <<_ACEOF
18916/* end confdefs.h. */ 19946/* end confdefs.h. */
18917$ac_includes_default 19947$ac_includes_default
18918typedef long double ac__type_new_;
18919int 19948int
18920main () 19949main ()
18921{ 19950{
18922if ((ac__type_new_ *) 0) 19951if (sizeof (long double))
18923 return 0; 19952 return 0;
18924if (sizeof (ac__type_new_))
18925 return 0;
18926 ; 19953 ;
18927 return 0; 19954 return 0;
18928} 19955}
@@ -18933,45 +19960,18 @@ case "(($ac_try" in
18933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;; 19961 *) ac_try_echo=$ac_try;;
18935esac 19962esac
18936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19963eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19964$as_echo "$ac_try_echo") >&5
18937 (eval "$ac_compile") 2>conftest.er1 19965 (eval "$ac_compile") 2>conftest.er1
18938 ac_status=$? 19966 ac_status=$?
18939 grep -v '^ *+' conftest.er1 >conftest.err 19967 grep -v '^ *+' conftest.er1 >conftest.err
18940 rm -f conftest.er1 19968 rm -f conftest.er1
18941 cat conftest.err >&5 19969 cat conftest.err >&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } && { 19971 (exit $ac_status); } && {
18944 test -z "$ac_c_werror_flag" || 19972 test -z "$ac_c_werror_flag" ||
18945 test ! -s conftest.err 19973 test ! -s conftest.err
18946 } && test -s conftest.$ac_objext; then 19974 } && test -s conftest.$ac_objext; then
18947 ac_cv_type_long_double=yes
18948else
18949 echo "$as_me: failed program was:" >&5
18950sed 's/^/| /' conftest.$ac_ext >&5
18951
18952 ac_cv_type_long_double=no
18953fi
18954
18955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18956fi
18957{ echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
18958echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
18959if test $ac_cv_type_long_double = yes; then
18960
18961cat >>confdefs.h <<_ACEOF
18962#define HAVE_LONG_DOUBLE 1
18963_ACEOF
18964
18965
18966fi
18967
18968
18969# Check datatype sizes
18970{ echo "$as_me:$LINENO: checking for char" >&5
18971echo $ECHO_N "checking for char... $ECHO_C" >&6; }
18972if test "${ac_cv_type_char+set}" = set; then
18973 echo $ECHO_N "(cached) $ECHO_C" >&6
18974else
18975 cat >conftest.$ac_ext <<_ACEOF 19975 cat >conftest.$ac_ext <<_ACEOF
18976/* confdefs.h. */ 19976/* confdefs.h. */
18977_ACEOF 19977_ACEOF
@@ -18979,14 +19979,11 @@ cat confdefs.h >>conftest.$ac_ext
18979cat >>conftest.$ac_ext <<_ACEOF 19979cat >>conftest.$ac_ext <<_ACEOF
18980/* end confdefs.h. */ 19980/* end confdefs.h. */
18981$ac_includes_default 19981$ac_includes_default
18982typedef char ac__type_new_;
18983int 19982int
18984main () 19983main ()
18985{ 19984{
18986if ((ac__type_new_ *) 0) 19985if (sizeof ((long double)))
18987 return 0; 19986 return 0;
18988if (sizeof (ac__type_new_))
18989 return 0;
18990 ; 19987 ;
18991 return 0; 19988 return 0;
18992} 19989}
@@ -18997,38 +19994,57 @@ case "(($ac_try" in
18997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18998 *) ac_try_echo=$ac_try;; 19995 *) ac_try_echo=$ac_try;;
18999esac 19996esac
19000eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19997eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19998$as_echo "$ac_try_echo") >&5
19001 (eval "$ac_compile") 2>conftest.er1 19999 (eval "$ac_compile") 2>conftest.er1
19002 ac_status=$? 20000 ac_status=$?
19003 grep -v '^ *+' conftest.er1 >conftest.err 20001 grep -v '^ *+' conftest.er1 >conftest.err
19004 rm -f conftest.er1 20002 rm -f conftest.er1
19005 cat conftest.err >&5 20003 cat conftest.err >&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); } && { 20005 (exit $ac_status); } && {
19008 test -z "$ac_c_werror_flag" || 20006 test -z "$ac_c_werror_flag" ||
19009 test ! -s conftest.err 20007 test ! -s conftest.err
19010 } && test -s conftest.$ac_objext; then 20008 } && test -s conftest.$ac_objext; then
19011 ac_cv_type_char=yes 20009 :
19012else 20010else
19013 echo "$as_me: failed program was:" >&5 20011 $as_echo "$as_me: failed program was:" >&5
19014sed 's/^/| /' conftest.$ac_ext >&5 20012sed 's/^/| /' conftest.$ac_ext >&5
19015 20013
19016 ac_cv_type_char=no 20014 ac_cv_type_long_double=yes
19017fi 20015fi
19018 20016
19019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20018else
20019 $as_echo "$as_me: failed program was:" >&5
20020sed 's/^/| /' conftest.$ac_ext >&5
20021
20022
20023fi
20024
20025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20026fi
20027{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
20028$as_echo "$ac_cv_type_long_double" >&6; }
20029if test $ac_cv_type_long_double = yes; then
20030
20031cat >>confdefs.h <<_ACEOF
20032#define HAVE_LONG_DOUBLE 1
20033_ACEOF
20034
20035
19020fi 20036fi
19021{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
19022echo "${ECHO_T}$ac_cv_type_char" >&6; }
19023 20037
20038
20039# Check datatype sizes
19024# The cast to long int works around a bug in the HP C Compiler 20040# The cast to long int works around a bug in the HP C Compiler
19025# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 20041# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19026# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 20042# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19027# This bug is HP SR number 8606223364. 20043# This bug is HP SR number 8606223364.
19028{ echo "$as_me:$LINENO: checking size of char" >&5 20044{ $as_echo "$as_me:$LINENO: checking size of char" >&5
19029echo $ECHO_N "checking size of char... $ECHO_C" >&6; } 20045$as_echo_n "checking size of char... " >&6; }
19030if test "${ac_cv_sizeof_char+set}" = set; then 20046if test "${ac_cv_sizeof_char+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6 20047 $as_echo_n "(cached) " >&6
19032else 20048else
19033 if test "$cross_compiling" = yes; then 20049 if test "$cross_compiling" = yes; then
19034 # Depending upon the size, compute the lo and hi bounds. 20050 # Depending upon the size, compute the lo and hi bounds.
@@ -19039,11 +20055,10 @@ cat confdefs.h >>conftest.$ac_ext
19039cat >>conftest.$ac_ext <<_ACEOF 20055cat >>conftest.$ac_ext <<_ACEOF
19040/* end confdefs.h. */ 20056/* end confdefs.h. */
19041$ac_includes_default 20057$ac_includes_default
19042 typedef char ac__type_sizeof_;
19043int 20058int
19044main () 20059main ()
19045{ 20060{
19046static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 20061static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)];
19047test_array [0] = 0 20062test_array [0] = 0
19048 20063
19049 ; 20064 ;
@@ -19056,13 +20071,14 @@ case "(($ac_try" in
19056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19057 *) ac_try_echo=$ac_try;; 20072 *) ac_try_echo=$ac_try;;
19058esac 20073esac
19059eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20074eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20075$as_echo "$ac_try_echo") >&5
19060 (eval "$ac_compile") 2>conftest.er1 20076 (eval "$ac_compile") 2>conftest.er1
19061 ac_status=$? 20077 ac_status=$?
19062 grep -v '^ *+' conftest.er1 >conftest.err 20078 grep -v '^ *+' conftest.er1 >conftest.err
19063 rm -f conftest.er1 20079 rm -f conftest.er1
19064 cat conftest.err >&5 20080 cat conftest.err >&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } && { 20082 (exit $ac_status); } && {
19067 test -z "$ac_c_werror_flag" || 20083 test -z "$ac_c_werror_flag" ||
19068 test ! -s conftest.err 20084 test ! -s conftest.err
@@ -19076,11 +20092,10 @@ cat confdefs.h >>conftest.$ac_ext
19076cat >>conftest.$ac_ext <<_ACEOF 20092cat >>conftest.$ac_ext <<_ACEOF
19077/* end confdefs.h. */ 20093/* end confdefs.h. */
19078$ac_includes_default 20094$ac_includes_default
19079 typedef char ac__type_sizeof_;
19080int 20095int
19081main () 20096main ()
19082{ 20097{
19083static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20098static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
19084test_array [0] = 0 20099test_array [0] = 0
19085 20100
19086 ; 20101 ;
@@ -19093,20 +20108,21 @@ case "(($ac_try" in
19093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19094 *) ac_try_echo=$ac_try;; 20109 *) ac_try_echo=$ac_try;;
19095esac 20110esac
19096eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20111eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20112$as_echo "$ac_try_echo") >&5
19097 (eval "$ac_compile") 2>conftest.er1 20113 (eval "$ac_compile") 2>conftest.er1
19098 ac_status=$? 20114 ac_status=$?
19099 grep -v '^ *+' conftest.er1 >conftest.err 20115 grep -v '^ *+' conftest.er1 >conftest.err
19100 rm -f conftest.er1 20116 rm -f conftest.er1
19101 cat conftest.err >&5 20117 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && { 20119 (exit $ac_status); } && {
19104 test -z "$ac_c_werror_flag" || 20120 test -z "$ac_c_werror_flag" ||
19105 test ! -s conftest.err 20121 test ! -s conftest.err
19106 } && test -s conftest.$ac_objext; then 20122 } && test -s conftest.$ac_objext; then
19107 ac_hi=$ac_mid; break 20123 ac_hi=$ac_mid; break
19108else 20124else
19109 echo "$as_me: failed program was:" >&5 20125 $as_echo "$as_me: failed program was:" >&5
19110sed 's/^/| /' conftest.$ac_ext >&5 20126sed 's/^/| /' conftest.$ac_ext >&5
19111 20127
19112 ac_lo=`expr $ac_mid + 1` 20128 ac_lo=`expr $ac_mid + 1`
@@ -19120,7 +20136,7 @@ fi
19120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19121 done 20137 done
19122else 20138else
19123 echo "$as_me: failed program was:" >&5 20139 $as_echo "$as_me: failed program was:" >&5
19124sed 's/^/| /' conftest.$ac_ext >&5 20140sed 's/^/| /' conftest.$ac_ext >&5
19125 20141
19126 cat >conftest.$ac_ext <<_ACEOF 20142 cat >conftest.$ac_ext <<_ACEOF
@@ -19130,11 +20146,10 @@ cat confdefs.h >>conftest.$ac_ext
19130cat >>conftest.$ac_ext <<_ACEOF 20146cat >>conftest.$ac_ext <<_ACEOF
19131/* end confdefs.h. */ 20147/* end confdefs.h. */
19132$ac_includes_default 20148$ac_includes_default
19133 typedef char ac__type_sizeof_;
19134int 20149int
19135main () 20150main ()
19136{ 20151{
19137static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 20152static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)];
19138test_array [0] = 0 20153test_array [0] = 0
19139 20154
19140 ; 20155 ;
@@ -19147,13 +20162,14 @@ case "(($ac_try" in
19147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19148 *) ac_try_echo=$ac_try;; 20163 *) ac_try_echo=$ac_try;;
19149esac 20164esac
19150eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20165eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20166$as_echo "$ac_try_echo") >&5
19151 (eval "$ac_compile") 2>conftest.er1 20167 (eval "$ac_compile") 2>conftest.er1
19152 ac_status=$? 20168 ac_status=$?
19153 grep -v '^ *+' conftest.er1 >conftest.err 20169 grep -v '^ *+' conftest.er1 >conftest.err
19154 rm -f conftest.er1 20170 rm -f conftest.er1
19155 cat conftest.err >&5 20171 cat conftest.err >&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); } && { 20173 (exit $ac_status); } && {
19158 test -z "$ac_c_werror_flag" || 20174 test -z "$ac_c_werror_flag" ||
19159 test ! -s conftest.err 20175 test ! -s conftest.err
@@ -19167,11 +20183,10 @@ cat confdefs.h >>conftest.$ac_ext
19167cat >>conftest.$ac_ext <<_ACEOF 20183cat >>conftest.$ac_ext <<_ACEOF
19168/* end confdefs.h. */ 20184/* end confdefs.h. */
19169$ac_includes_default 20185$ac_includes_default
19170 typedef char ac__type_sizeof_;
19171int 20186int
19172main () 20187main ()
19173{ 20188{
19174static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 20189static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)];
19175test_array [0] = 0 20190test_array [0] = 0
19176 20191
19177 ; 20192 ;
@@ -19184,20 +20199,21 @@ case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;; 20200 *) ac_try_echo=$ac_try;;
19186esac 20201esac
19187eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20202eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20203$as_echo "$ac_try_echo") >&5
19188 (eval "$ac_compile") 2>conftest.er1 20204 (eval "$ac_compile") 2>conftest.er1
19189 ac_status=$? 20205 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err 20206 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1 20207 rm -f conftest.er1
19192 cat conftest.err >&5 20208 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && { 20210 (exit $ac_status); } && {
19195 test -z "$ac_c_werror_flag" || 20211 test -z "$ac_c_werror_flag" ||
19196 test ! -s conftest.err 20212 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then 20213 } && test -s conftest.$ac_objext; then
19198 ac_lo=$ac_mid; break 20214 ac_lo=$ac_mid; break
19199else 20215else
19200 echo "$as_me: failed program was:" >&5 20216 $as_echo "$as_me: failed program was:" >&5
19201sed 's/^/| /' conftest.$ac_ext >&5 20217sed 's/^/| /' conftest.$ac_ext >&5
19202 20218
19203 ac_hi=`expr '(' $ac_mid ')' - 1` 20219 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -19211,7 +20227,7 @@ fi
19211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19212 done 20228 done
19213else 20229else
19214 echo "$as_me: failed program was:" >&5 20230 $as_echo "$as_me: failed program was:" >&5
19215sed 's/^/| /' conftest.$ac_ext >&5 20231sed 's/^/| /' conftest.$ac_ext >&5
19216 20232
19217 ac_lo= ac_hi= 20233 ac_lo= ac_hi=
@@ -19231,11 +20247,10 @@ cat confdefs.h >>conftest.$ac_ext
19231cat >>conftest.$ac_ext <<_ACEOF 20247cat >>conftest.$ac_ext <<_ACEOF
19232/* end confdefs.h. */ 20248/* end confdefs.h. */
19233$ac_includes_default 20249$ac_includes_default
19234 typedef char ac__type_sizeof_;
19235int 20250int
19236main () 20251main ()
19237{ 20252{
19238static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20253static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
19239test_array [0] = 0 20254test_array [0] = 0
19240 20255
19241 ; 20256 ;
@@ -19248,20 +20263,21 @@ case "(($ac_try" in
19248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19249 *) ac_try_echo=$ac_try;; 20264 *) ac_try_echo=$ac_try;;
19250esac 20265esac
19251eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20266eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20267$as_echo "$ac_try_echo") >&5
19252 (eval "$ac_compile") 2>conftest.er1 20268 (eval "$ac_compile") 2>conftest.er1
19253 ac_status=$? 20269 ac_status=$?
19254 grep -v '^ *+' conftest.er1 >conftest.err 20270 grep -v '^ *+' conftest.er1 >conftest.err
19255 rm -f conftest.er1 20271 rm -f conftest.er1
19256 cat conftest.err >&5 20272 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } && { 20274 (exit $ac_status); } && {
19259 test -z "$ac_c_werror_flag" || 20275 test -z "$ac_c_werror_flag" ||
19260 test ! -s conftest.err 20276 test ! -s conftest.err
19261 } && test -s conftest.$ac_objext; then 20277 } && test -s conftest.$ac_objext; then
19262 ac_hi=$ac_mid 20278 ac_hi=$ac_mid
19263else 20279else
19264 echo "$as_me: failed program was:" >&5 20280 $as_echo "$as_me: failed program was:" >&5
19265sed 's/^/| /' conftest.$ac_ext >&5 20281sed 's/^/| /' conftest.$ac_ext >&5
19266 20282
19267 ac_lo=`expr '(' $ac_mid ')' + 1` 20283 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -19272,9 +20288,9 @@ done
19272case $ac_lo in 20288case $ac_lo in
19273?*) ac_cv_sizeof_char=$ac_lo;; 20289?*) ac_cv_sizeof_char=$ac_lo;;
19274'') if test "$ac_cv_type_char" = yes; then 20290'') if test "$ac_cv_type_char" = yes; then
19275 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) 20291 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19276See \`config.log' for more details." >&5 20292See \`config.log' for more details." >&5
19277echo "$as_me: error: cannot compute sizeof (char) 20293$as_echo "$as_me: error: cannot compute sizeof (char)
19278See \`config.log' for more details." >&2;} 20294See \`config.log' for more details." >&2;}
19279 { (exit 77); exit 77; }; } 20295 { (exit 77); exit 77; }; }
19280 else 20296 else
@@ -19289,9 +20305,8 @@ cat confdefs.h >>conftest.$ac_ext
19289cat >>conftest.$ac_ext <<_ACEOF 20305cat >>conftest.$ac_ext <<_ACEOF
19290/* end confdefs.h. */ 20306/* end confdefs.h. */
19291$ac_includes_default 20307$ac_includes_default
19292 typedef char ac__type_sizeof_; 20308static long int longval () { return (long int) (sizeof (char)); }
19293static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 20309static unsigned long int ulongval () { return (long int) (sizeof (char)); }
19294static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19295#include <stdio.h> 20310#include <stdio.h>
19296#include <stdlib.h> 20311#include <stdlib.h>
19297int 20312int
@@ -19301,20 +20316,22 @@ main ()
19301 FILE *f = fopen ("conftest.val", "w"); 20316 FILE *f = fopen ("conftest.val", "w");
19302 if (! f) 20317 if (! f)
19303 return 1; 20318 return 1;
19304 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 20319 if (((long int) (sizeof (char))) < 0)
19305 { 20320 {
19306 long int i = longval (); 20321 long int i = longval ();
19307 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 20322 if (i != ((long int) (sizeof (char))))
19308 return 1; 20323 return 1;
19309 fprintf (f, "%ld\n", i); 20324 fprintf (f, "%ld", i);
19310 } 20325 }
19311 else 20326 else
19312 { 20327 {
19313 unsigned long int i = ulongval (); 20328 unsigned long int i = ulongval ();
19314 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 20329 if (i != ((long int) (sizeof (char))))
19315 return 1; 20330 return 1;
19316 fprintf (f, "%lu\n", i); 20331 fprintf (f, "%lu", i);
19317 } 20332 }
20333 /* Do not output a trailing newline, as this causes \r\n confusion
20334 on some platforms. */
19318 return ferror (f) || fclose (f) != 0; 20335 return ferror (f) || fclose (f) != 0;
19319 20336
19320 ; 20337 ;
@@ -19327,43 +20344,46 @@ case "(($ac_try" in
19327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19328 *) ac_try_echo=$ac_try;; 20345 *) ac_try_echo=$ac_try;;
19329esac 20346esac
19330eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20347eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20348$as_echo "$ac_try_echo") >&5
19331 (eval "$ac_link") 2>&5 20349 (eval "$ac_link") 2>&5
19332 ac_status=$? 20350 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19335 { (case "(($ac_try" in 20353 { (case "(($ac_try" in
19336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19337 *) ac_try_echo=$ac_try;; 20355 *) ac_try_echo=$ac_try;;
19338esac 20356esac
19339eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20357eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20358$as_echo "$ac_try_echo") >&5
19340 (eval "$ac_try") 2>&5 20359 (eval "$ac_try") 2>&5
19341 ac_status=$? 20360 ac_status=$?
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then 20362 (exit $ac_status); }; }; then
19344 ac_cv_sizeof_char=`cat conftest.val` 20363 ac_cv_sizeof_char=`cat conftest.val`
19345else 20364else
19346 echo "$as_me: program exited with status $ac_status" >&5 20365 $as_echo "$as_me: program exited with status $ac_status" >&5
19347echo "$as_me: failed program was:" >&5 20366$as_echo "$as_me: failed program was:" >&5
19348sed 's/^/| /' conftest.$ac_ext >&5 20367sed 's/^/| /' conftest.$ac_ext >&5
19349 20368
19350( exit $ac_status ) 20369( exit $ac_status )
19351if test "$ac_cv_type_char" = yes; then 20370if test "$ac_cv_type_char" = yes; then
19352 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) 20371 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19353See \`config.log' for more details." >&5 20372See \`config.log' for more details." >&5
19354echo "$as_me: error: cannot compute sizeof (char) 20373$as_echo "$as_me: error: cannot compute sizeof (char)
19355See \`config.log' for more details." >&2;} 20374See \`config.log' for more details." >&2;}
19356 { (exit 77); exit 77; }; } 20375 { (exit 77); exit 77; }; }
19357 else 20376 else
19358 ac_cv_sizeof_char=0 20377 ac_cv_sizeof_char=0
19359 fi 20378 fi
19360fi 20379fi
20380rm -rf conftest.dSYM
19361rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20381rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19362fi 20382fi
19363rm -f conftest.val 20383rm -f conftest.val
19364fi 20384fi
19365{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 20385{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19366echo "${ECHO_T}$ac_cv_sizeof_char" >&6; } 20386$as_echo "$ac_cv_sizeof_char" >&6; }
19367 20387
19368 20388
19369 20389
@@ -19372,68 +20392,14 @@ cat >>confdefs.h <<_ACEOF
19372_ACEOF 20392_ACEOF
19373 20393
19374 20394
19375{ echo "$as_me:$LINENO: checking for short int" >&5
19376echo $ECHO_N "checking for short int... $ECHO_C" >&6; }
19377if test "${ac_cv_type_short_int+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19379else
19380 cat >conftest.$ac_ext <<_ACEOF
19381/* confdefs.h. */
19382_ACEOF
19383cat confdefs.h >>conftest.$ac_ext
19384cat >>conftest.$ac_ext <<_ACEOF
19385/* end confdefs.h. */
19386$ac_includes_default
19387typedef short int ac__type_new_;
19388int
19389main ()
19390{
19391if ((ac__type_new_ *) 0)
19392 return 0;
19393if (sizeof (ac__type_new_))
19394 return 0;
19395 ;
19396 return 0;
19397}
19398_ACEOF
19399rm -f conftest.$ac_objext
19400if { (ac_try="$ac_compile"
19401case "(($ac_try" in
19402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19403 *) ac_try_echo=$ac_try;;
19404esac
19405eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19406 (eval "$ac_compile") 2>conftest.er1
19407 ac_status=$?
19408 grep -v '^ *+' conftest.er1 >conftest.err
19409 rm -f conftest.er1
19410 cat conftest.err >&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); } && {
19413 test -z "$ac_c_werror_flag" ||
19414 test ! -s conftest.err
19415 } && test -s conftest.$ac_objext; then
19416 ac_cv_type_short_int=yes
19417else
19418 echo "$as_me: failed program was:" >&5
19419sed 's/^/| /' conftest.$ac_ext >&5
19420
19421 ac_cv_type_short_int=no
19422fi
19423
19424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19425fi
19426{ echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
19427echo "${ECHO_T}$ac_cv_type_short_int" >&6; }
19428
19429# The cast to long int works around a bug in the HP C Compiler 20395# The cast to long int works around a bug in the HP C Compiler
19430# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 20396# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19431# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 20397# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19432# This bug is HP SR number 8606223364. 20398# This bug is HP SR number 8606223364.
19433{ echo "$as_me:$LINENO: checking size of short int" >&5 20399{ $as_echo "$as_me:$LINENO: checking size of short int" >&5
19434echo $ECHO_N "checking size of short int... $ECHO_C" >&6; } 20400$as_echo_n "checking size of short int... " >&6; }
19435if test "${ac_cv_sizeof_short_int+set}" = set; then 20401if test "${ac_cv_sizeof_short_int+set}" = set; then
19436 echo $ECHO_N "(cached) $ECHO_C" >&6 20402 $as_echo_n "(cached) " >&6
19437else 20403else
19438 if test "$cross_compiling" = yes; then 20404 if test "$cross_compiling" = yes; then
19439 # Depending upon the size, compute the lo and hi bounds. 20405 # Depending upon the size, compute the lo and hi bounds.
@@ -19444,11 +20410,10 @@ cat confdefs.h >>conftest.$ac_ext
19444cat >>conftest.$ac_ext <<_ACEOF 20410cat >>conftest.$ac_ext <<_ACEOF
19445/* end confdefs.h. */ 20411/* end confdefs.h. */
19446$ac_includes_default 20412$ac_includes_default
19447 typedef short int ac__type_sizeof_;
19448int 20413int
19449main () 20414main ()
19450{ 20415{
19451static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 20416static int test_array [1 - 2 * !(((long int) (sizeof (short int))) >= 0)];
19452test_array [0] = 0 20417test_array [0] = 0
19453 20418
19454 ; 20419 ;
@@ -19461,13 +20426,14 @@ case "(($ac_try" in
19461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19462 *) ac_try_echo=$ac_try;; 20427 *) ac_try_echo=$ac_try;;
19463esac 20428esac
19464eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20429eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20430$as_echo "$ac_try_echo") >&5
19465 (eval "$ac_compile") 2>conftest.er1 20431 (eval "$ac_compile") 2>conftest.er1
19466 ac_status=$? 20432 ac_status=$?
19467 grep -v '^ *+' conftest.er1 >conftest.err 20433 grep -v '^ *+' conftest.er1 >conftest.err
19468 rm -f conftest.er1 20434 rm -f conftest.er1
19469 cat conftest.err >&5 20435 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } && { 20437 (exit $ac_status); } && {
19472 test -z "$ac_c_werror_flag" || 20438 test -z "$ac_c_werror_flag" ||
19473 test ! -s conftest.err 20439 test ! -s conftest.err
@@ -19481,11 +20447,10 @@ cat confdefs.h >>conftest.$ac_ext
19481cat >>conftest.$ac_ext <<_ACEOF 20447cat >>conftest.$ac_ext <<_ACEOF
19482/* end confdefs.h. */ 20448/* end confdefs.h. */
19483$ac_includes_default 20449$ac_includes_default
19484 typedef short int ac__type_sizeof_;
19485int 20450int
19486main () 20451main ()
19487{ 20452{
19488static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20453static int test_array [1 - 2 * !(((long int) (sizeof (short int))) <= $ac_mid)];
19489test_array [0] = 0 20454test_array [0] = 0
19490 20455
19491 ; 20456 ;
@@ -19498,20 +20463,21 @@ case "(($ac_try" in
19498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19499 *) ac_try_echo=$ac_try;; 20464 *) ac_try_echo=$ac_try;;
19500esac 20465esac
19501eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20466eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20467$as_echo "$ac_try_echo") >&5
19502 (eval "$ac_compile") 2>conftest.er1 20468 (eval "$ac_compile") 2>conftest.er1
19503 ac_status=$? 20469 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err 20470 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1 20471 rm -f conftest.er1
19506 cat conftest.err >&5 20472 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && { 20474 (exit $ac_status); } && {
19509 test -z "$ac_c_werror_flag" || 20475 test -z "$ac_c_werror_flag" ||
19510 test ! -s conftest.err 20476 test ! -s conftest.err
19511 } && test -s conftest.$ac_objext; then 20477 } && test -s conftest.$ac_objext; then
19512 ac_hi=$ac_mid; break 20478 ac_hi=$ac_mid; break
19513else 20479else
19514 echo "$as_me: failed program was:" >&5 20480 $as_echo "$as_me: failed program was:" >&5
19515sed 's/^/| /' conftest.$ac_ext >&5 20481sed 's/^/| /' conftest.$ac_ext >&5
19516 20482
19517 ac_lo=`expr $ac_mid + 1` 20483 ac_lo=`expr $ac_mid + 1`
@@ -19525,7 +20491,7 @@ fi
19525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 done 20492 done
19527else 20493else
19528 echo "$as_me: failed program was:" >&5 20494 $as_echo "$as_me: failed program was:" >&5
19529sed 's/^/| /' conftest.$ac_ext >&5 20495sed 's/^/| /' conftest.$ac_ext >&5
19530 20496
19531 cat >conftest.$ac_ext <<_ACEOF 20497 cat >conftest.$ac_ext <<_ACEOF
@@ -19535,11 +20501,10 @@ cat confdefs.h >>conftest.$ac_ext
19535cat >>conftest.$ac_ext <<_ACEOF 20501cat >>conftest.$ac_ext <<_ACEOF
19536/* end confdefs.h. */ 20502/* end confdefs.h. */
19537$ac_includes_default 20503$ac_includes_default
19538 typedef short int ac__type_sizeof_;
19539int 20504int
19540main () 20505main ()
19541{ 20506{
19542static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 20507static int test_array [1 - 2 * !(((long int) (sizeof (short int))) < 0)];
19543test_array [0] = 0 20508test_array [0] = 0
19544 20509
19545 ; 20510 ;
@@ -19552,13 +20517,14 @@ case "(($ac_try" in
19552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;; 20518 *) ac_try_echo=$ac_try;;
19554esac 20519esac
19555eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20520eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20521$as_echo "$ac_try_echo") >&5
19556 (eval "$ac_compile") 2>conftest.er1 20522 (eval "$ac_compile") 2>conftest.er1
19557 ac_status=$? 20523 ac_status=$?
19558 grep -v '^ *+' conftest.er1 >conftest.err 20524 grep -v '^ *+' conftest.er1 >conftest.err
19559 rm -f conftest.er1 20525 rm -f conftest.er1
19560 cat conftest.err >&5 20526 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } && { 20528 (exit $ac_status); } && {
19563 test -z "$ac_c_werror_flag" || 20529 test -z "$ac_c_werror_flag" ||
19564 test ! -s conftest.err 20530 test ! -s conftest.err
@@ -19572,11 +20538,10 @@ cat confdefs.h >>conftest.$ac_ext
19572cat >>conftest.$ac_ext <<_ACEOF 20538cat >>conftest.$ac_ext <<_ACEOF
19573/* end confdefs.h. */ 20539/* end confdefs.h. */
19574$ac_includes_default 20540$ac_includes_default
19575 typedef short int ac__type_sizeof_;
19576int 20541int
19577main () 20542main ()
19578{ 20543{
19579static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 20544static int test_array [1 - 2 * !(((long int) (sizeof (short int))) >= $ac_mid)];
19580test_array [0] = 0 20545test_array [0] = 0
19581 20546
19582 ; 20547 ;
@@ -19589,20 +20554,21 @@ case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;; 20555 *) ac_try_echo=$ac_try;;
19591esac 20556esac
19592eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20557eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20558$as_echo "$ac_try_echo") >&5
19593 (eval "$ac_compile") 2>conftest.er1 20559 (eval "$ac_compile") 2>conftest.er1
19594 ac_status=$? 20560 ac_status=$?
19595 grep -v '^ *+' conftest.er1 >conftest.err 20561 grep -v '^ *+' conftest.er1 >conftest.err
19596 rm -f conftest.er1 20562 rm -f conftest.er1
19597 cat conftest.err >&5 20563 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && { 20565 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" || 20566 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err 20567 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then 20568 } && test -s conftest.$ac_objext; then
19603 ac_lo=$ac_mid; break 20569 ac_lo=$ac_mid; break
19604else 20570else
19605 echo "$as_me: failed program was:" >&5 20571 $as_echo "$as_me: failed program was:" >&5
19606sed 's/^/| /' conftest.$ac_ext >&5 20572sed 's/^/| /' conftest.$ac_ext >&5
19607 20573
19608 ac_hi=`expr '(' $ac_mid ')' - 1` 20574 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -19616,7 +20582,7 @@ fi
19616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19617 done 20583 done
19618else 20584else
19619 echo "$as_me: failed program was:" >&5 20585 $as_echo "$as_me: failed program was:" >&5
19620sed 's/^/| /' conftest.$ac_ext >&5 20586sed 's/^/| /' conftest.$ac_ext >&5
19621 20587
19622 ac_lo= ac_hi= 20588 ac_lo= ac_hi=
@@ -19636,11 +20602,10 @@ cat confdefs.h >>conftest.$ac_ext
19636cat >>conftest.$ac_ext <<_ACEOF 20602cat >>conftest.$ac_ext <<_ACEOF
19637/* end confdefs.h. */ 20603/* end confdefs.h. */
19638$ac_includes_default 20604$ac_includes_default
19639 typedef short int ac__type_sizeof_;
19640int 20605int
19641main () 20606main ()
19642{ 20607{
19643static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20608static int test_array [1 - 2 * !(((long int) (sizeof (short int))) <= $ac_mid)];
19644test_array [0] = 0 20609test_array [0] = 0
19645 20610
19646 ; 20611 ;
@@ -19653,20 +20618,21 @@ case "(($ac_try" in
19653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19654 *) ac_try_echo=$ac_try;; 20619 *) ac_try_echo=$ac_try;;
19655esac 20620esac
19656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20621eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20622$as_echo "$ac_try_echo") >&5
19657 (eval "$ac_compile") 2>conftest.er1 20623 (eval "$ac_compile") 2>conftest.er1
19658 ac_status=$? 20624 ac_status=$?
19659 grep -v '^ *+' conftest.er1 >conftest.err 20625 grep -v '^ *+' conftest.er1 >conftest.err
19660 rm -f conftest.er1 20626 rm -f conftest.er1
19661 cat conftest.err >&5 20627 cat conftest.err >&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); } && { 20629 (exit $ac_status); } && {
19664 test -z "$ac_c_werror_flag" || 20630 test -z "$ac_c_werror_flag" ||
19665 test ! -s conftest.err 20631 test ! -s conftest.err
19666 } && test -s conftest.$ac_objext; then 20632 } && test -s conftest.$ac_objext; then
19667 ac_hi=$ac_mid 20633 ac_hi=$ac_mid
19668else 20634else
19669 echo "$as_me: failed program was:" >&5 20635 $as_echo "$as_me: failed program was:" >&5
19670sed 's/^/| /' conftest.$ac_ext >&5 20636sed 's/^/| /' conftest.$ac_ext >&5
19671 20637
19672 ac_lo=`expr '(' $ac_mid ')' + 1` 20638 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -19677,9 +20643,9 @@ done
19677case $ac_lo in 20643case $ac_lo in
19678?*) ac_cv_sizeof_short_int=$ac_lo;; 20644?*) ac_cv_sizeof_short_int=$ac_lo;;
19679'') if test "$ac_cv_type_short_int" = yes; then 20645'') if test "$ac_cv_type_short_int" = yes; then
19680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) 20646 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
19681See \`config.log' for more details." >&5 20647See \`config.log' for more details." >&5
19682echo "$as_me: error: cannot compute sizeof (short int) 20648$as_echo "$as_me: error: cannot compute sizeof (short int)
19683See \`config.log' for more details." >&2;} 20649See \`config.log' for more details." >&2;}
19684 { (exit 77); exit 77; }; } 20650 { (exit 77); exit 77; }; }
19685 else 20651 else
@@ -19694,9 +20660,8 @@ cat confdefs.h >>conftest.$ac_ext
19694cat >>conftest.$ac_ext <<_ACEOF 20660cat >>conftest.$ac_ext <<_ACEOF
19695/* end confdefs.h. */ 20661/* end confdefs.h. */
19696$ac_includes_default 20662$ac_includes_default
19697 typedef short int ac__type_sizeof_; 20663static long int longval () { return (long int) (sizeof (short int)); }
19698static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 20664static unsigned long int ulongval () { return (long int) (sizeof (short int)); }
19699static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19700#include <stdio.h> 20665#include <stdio.h>
19701#include <stdlib.h> 20666#include <stdlib.h>
19702int 20667int
@@ -19706,20 +20671,22 @@ main ()
19706 FILE *f = fopen ("conftest.val", "w"); 20671 FILE *f = fopen ("conftest.val", "w");
19707 if (! f) 20672 if (! f)
19708 return 1; 20673 return 1;
19709 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 20674 if (((long int) (sizeof (short int))) < 0)
19710 { 20675 {
19711 long int i = longval (); 20676 long int i = longval ();
19712 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 20677 if (i != ((long int) (sizeof (short int))))
19713 return 1; 20678 return 1;
19714 fprintf (f, "%ld\n", i); 20679 fprintf (f, "%ld", i);
19715 } 20680 }
19716 else 20681 else
19717 { 20682 {
19718 unsigned long int i = ulongval (); 20683 unsigned long int i = ulongval ();
19719 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 20684 if (i != ((long int) (sizeof (short int))))
19720 return 1; 20685 return 1;
19721 fprintf (f, "%lu\n", i); 20686 fprintf (f, "%lu", i);
19722 } 20687 }
20688 /* Do not output a trailing newline, as this causes \r\n confusion
20689 on some platforms. */
19723 return ferror (f) || fclose (f) != 0; 20690 return ferror (f) || fclose (f) != 0;
19724 20691
19725 ; 20692 ;
@@ -19732,43 +20699,46 @@ case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;; 20700 *) ac_try_echo=$ac_try;;
19734esac 20701esac
19735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20702eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20703$as_echo "$ac_try_echo") >&5
19736 (eval "$ac_link") 2>&5 20704 (eval "$ac_link") 2>&5
19737 ac_status=$? 20705 ac_status=$?
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19740 { (case "(($ac_try" in 20708 { (case "(($ac_try" in
19741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19742 *) ac_try_echo=$ac_try;; 20710 *) ac_try_echo=$ac_try;;
19743esac 20711esac
19744eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20712eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20713$as_echo "$ac_try_echo") >&5
19745 (eval "$ac_try") 2>&5 20714 (eval "$ac_try") 2>&5
19746 ac_status=$? 20715 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then 20717 (exit $ac_status); }; }; then
19749 ac_cv_sizeof_short_int=`cat conftest.val` 20718 ac_cv_sizeof_short_int=`cat conftest.val`
19750else 20719else
19751 echo "$as_me: program exited with status $ac_status" >&5 20720 $as_echo "$as_me: program exited with status $ac_status" >&5
19752echo "$as_me: failed program was:" >&5 20721$as_echo "$as_me: failed program was:" >&5
19753sed 's/^/| /' conftest.$ac_ext >&5 20722sed 's/^/| /' conftest.$ac_ext >&5
19754 20723
19755( exit $ac_status ) 20724( exit $ac_status )
19756if test "$ac_cv_type_short_int" = yes; then 20725if test "$ac_cv_type_short_int" = yes; then
19757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) 20726 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
19758See \`config.log' for more details." >&5 20727See \`config.log' for more details." >&5
19759echo "$as_me: error: cannot compute sizeof (short int) 20728$as_echo "$as_me: error: cannot compute sizeof (short int)
19760See \`config.log' for more details." >&2;} 20729See \`config.log' for more details." >&2;}
19761 { (exit 77); exit 77; }; } 20730 { (exit 77); exit 77; }; }
19762 else 20731 else
19763 ac_cv_sizeof_short_int=0 20732 ac_cv_sizeof_short_int=0
19764 fi 20733 fi
19765fi 20734fi
20735rm -rf conftest.dSYM
19766rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20736rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19767fi 20737fi
19768rm -f conftest.val 20738rm -f conftest.val
19769fi 20739fi
19770{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 20740{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
19771echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6; } 20741$as_echo "$ac_cv_sizeof_short_int" >&6; }
19772 20742
19773 20743
19774 20744
@@ -19777,68 +20747,14 @@ cat >>confdefs.h <<_ACEOF
19777_ACEOF 20747_ACEOF
19778 20748
19779 20749
19780{ echo "$as_me:$LINENO: checking for int" >&5
19781echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19782if test "${ac_cv_type_int+set}" = set; then
19783 echo $ECHO_N "(cached) $ECHO_C" >&6
19784else
19785 cat >conftest.$ac_ext <<_ACEOF
19786/* confdefs.h. */
19787_ACEOF
19788cat confdefs.h >>conftest.$ac_ext
19789cat >>conftest.$ac_ext <<_ACEOF
19790/* end confdefs.h. */
19791$ac_includes_default
19792typedef int ac__type_new_;
19793int
19794main ()
19795{
19796if ((ac__type_new_ *) 0)
19797 return 0;
19798if (sizeof (ac__type_new_))
19799 return 0;
19800 ;
19801 return 0;
19802}
19803_ACEOF
19804rm -f conftest.$ac_objext
19805if { (ac_try="$ac_compile"
19806case "(($ac_try" in
19807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19808 *) ac_try_echo=$ac_try;;
19809esac
19810eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19811 (eval "$ac_compile") 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } && {
19818 test -z "$ac_c_werror_flag" ||
19819 test ! -s conftest.err
19820 } && test -s conftest.$ac_objext; then
19821 ac_cv_type_int=yes
19822else
19823 echo "$as_me: failed program was:" >&5
19824sed 's/^/| /' conftest.$ac_ext >&5
19825
19826 ac_cv_type_int=no
19827fi
19828
19829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830fi
19831{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19832echo "${ECHO_T}$ac_cv_type_int" >&6; }
19833
19834# The cast to long int works around a bug in the HP C Compiler 20750# The cast to long int works around a bug in the HP C Compiler
19835# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 20751# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19836# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 20752# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19837# This bug is HP SR number 8606223364. 20753# This bug is HP SR number 8606223364.
19838{ echo "$as_me:$LINENO: checking size of int" >&5 20754{ $as_echo "$as_me:$LINENO: checking size of int" >&5
19839echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 20755$as_echo_n "checking size of int... " >&6; }
19840if test "${ac_cv_sizeof_int+set}" = set; then 20756if test "${ac_cv_sizeof_int+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6 20757 $as_echo_n "(cached) " >&6
19842else 20758else
19843 if test "$cross_compiling" = yes; then 20759 if test "$cross_compiling" = yes; then
19844 # Depending upon the size, compute the lo and hi bounds. 20760 # Depending upon the size, compute the lo and hi bounds.
@@ -19849,11 +20765,10 @@ cat confdefs.h >>conftest.$ac_ext
19849cat >>conftest.$ac_ext <<_ACEOF 20765cat >>conftest.$ac_ext <<_ACEOF
19850/* end confdefs.h. */ 20766/* end confdefs.h. */
19851$ac_includes_default 20767$ac_includes_default
19852 typedef int ac__type_sizeof_;
19853int 20768int
19854main () 20769main ()
19855{ 20770{
19856static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 20771static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
19857test_array [0] = 0 20772test_array [0] = 0
19858 20773
19859 ; 20774 ;
@@ -19866,13 +20781,14 @@ case "(($ac_try" in
19866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;; 20782 *) ac_try_echo=$ac_try;;
19868esac 20783esac
19869eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20784eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20785$as_echo "$ac_try_echo") >&5
19870 (eval "$ac_compile") 2>conftest.er1 20786 (eval "$ac_compile") 2>conftest.er1
19871 ac_status=$? 20787 ac_status=$?
19872 grep -v '^ *+' conftest.er1 >conftest.err 20788 grep -v '^ *+' conftest.er1 >conftest.err
19873 rm -f conftest.er1 20789 rm -f conftest.er1
19874 cat conftest.err >&5 20790 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } && { 20792 (exit $ac_status); } && {
19877 test -z "$ac_c_werror_flag" || 20793 test -z "$ac_c_werror_flag" ||
19878 test ! -s conftest.err 20794 test ! -s conftest.err
@@ -19886,11 +20802,10 @@ cat confdefs.h >>conftest.$ac_ext
19886cat >>conftest.$ac_ext <<_ACEOF 20802cat >>conftest.$ac_ext <<_ACEOF
19887/* end confdefs.h. */ 20803/* end confdefs.h. */
19888$ac_includes_default 20804$ac_includes_default
19889 typedef int ac__type_sizeof_;
19890int 20805int
19891main () 20806main ()
19892{ 20807{
19893static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20808static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
19894test_array [0] = 0 20809test_array [0] = 0
19895 20810
19896 ; 20811 ;
@@ -19903,20 +20818,21 @@ case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;; 20819 *) ac_try_echo=$ac_try;;
19905esac 20820esac
19906eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20821eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20822$as_echo "$ac_try_echo") >&5
19907 (eval "$ac_compile") 2>conftest.er1 20823 (eval "$ac_compile") 2>conftest.er1
19908 ac_status=$? 20824 ac_status=$?
19909 grep -v '^ *+' conftest.er1 >conftest.err 20825 grep -v '^ *+' conftest.er1 >conftest.err
19910 rm -f conftest.er1 20826 rm -f conftest.er1
19911 cat conftest.err >&5 20827 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && { 20829 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" || 20830 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err 20831 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then 20832 } && test -s conftest.$ac_objext; then
19917 ac_hi=$ac_mid; break 20833 ac_hi=$ac_mid; break
19918else 20834else
19919 echo "$as_me: failed program was:" >&5 20835 $as_echo "$as_me: failed program was:" >&5
19920sed 's/^/| /' conftest.$ac_ext >&5 20836sed 's/^/| /' conftest.$ac_ext >&5
19921 20837
19922 ac_lo=`expr $ac_mid + 1` 20838 ac_lo=`expr $ac_mid + 1`
@@ -19930,7 +20846,7 @@ fi
19930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19931 done 20847 done
19932else 20848else
19933 echo "$as_me: failed program was:" >&5 20849 $as_echo "$as_me: failed program was:" >&5
19934sed 's/^/| /' conftest.$ac_ext >&5 20850sed 's/^/| /' conftest.$ac_ext >&5
19935 20851
19936 cat >conftest.$ac_ext <<_ACEOF 20852 cat >conftest.$ac_ext <<_ACEOF
@@ -19940,11 +20856,10 @@ cat confdefs.h >>conftest.$ac_ext
19940cat >>conftest.$ac_ext <<_ACEOF 20856cat >>conftest.$ac_ext <<_ACEOF
19941/* end confdefs.h. */ 20857/* end confdefs.h. */
19942$ac_includes_default 20858$ac_includes_default
19943 typedef int ac__type_sizeof_;
19944int 20859int
19945main () 20860main ()
19946{ 20861{
19947static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 20862static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
19948test_array [0] = 0 20863test_array [0] = 0
19949 20864
19950 ; 20865 ;
@@ -19957,13 +20872,14 @@ case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;; 20873 *) ac_try_echo=$ac_try;;
19959esac 20874esac
19960eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20876$as_echo "$ac_try_echo") >&5
19961 (eval "$ac_compile") 2>conftest.er1 20877 (eval "$ac_compile") 2>conftest.er1
19962 ac_status=$? 20878 ac_status=$?
19963 grep -v '^ *+' conftest.er1 >conftest.err 20879 grep -v '^ *+' conftest.er1 >conftest.err
19964 rm -f conftest.er1 20880 rm -f conftest.er1
19965 cat conftest.err >&5 20881 cat conftest.err >&5
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); } && { 20883 (exit $ac_status); } && {
19968 test -z "$ac_c_werror_flag" || 20884 test -z "$ac_c_werror_flag" ||
19969 test ! -s conftest.err 20885 test ! -s conftest.err
@@ -19977,11 +20893,10 @@ cat confdefs.h >>conftest.$ac_ext
19977cat >>conftest.$ac_ext <<_ACEOF 20893cat >>conftest.$ac_ext <<_ACEOF
19978/* end confdefs.h. */ 20894/* end confdefs.h. */
19979$ac_includes_default 20895$ac_includes_default
19980 typedef int ac__type_sizeof_;
19981int 20896int
19982main () 20897main ()
19983{ 20898{
19984static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 20899static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
19985test_array [0] = 0 20900test_array [0] = 0
19986 20901
19987 ; 20902 ;
@@ -19994,20 +20909,21 @@ case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;; 20910 *) ac_try_echo=$ac_try;;
19996esac 20911esac
19997eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20912eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20913$as_echo "$ac_try_echo") >&5
19998 (eval "$ac_compile") 2>conftest.er1 20914 (eval "$ac_compile") 2>conftest.er1
19999 ac_status=$? 20915 ac_status=$?
20000 grep -v '^ *+' conftest.er1 >conftest.err 20916 grep -v '^ *+' conftest.er1 >conftest.err
20001 rm -f conftest.er1 20917 rm -f conftest.er1
20002 cat conftest.err >&5 20918 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } && { 20920 (exit $ac_status); } && {
20005 test -z "$ac_c_werror_flag" || 20921 test -z "$ac_c_werror_flag" ||
20006 test ! -s conftest.err 20922 test ! -s conftest.err
20007 } && test -s conftest.$ac_objext; then 20923 } && test -s conftest.$ac_objext; then
20008 ac_lo=$ac_mid; break 20924 ac_lo=$ac_mid; break
20009else 20925else
20010 echo "$as_me: failed program was:" >&5 20926 $as_echo "$as_me: failed program was:" >&5
20011sed 's/^/| /' conftest.$ac_ext >&5 20927sed 's/^/| /' conftest.$ac_ext >&5
20012 20928
20013 ac_hi=`expr '(' $ac_mid ')' - 1` 20929 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -20021,7 +20937,7 @@ fi
20021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 done 20938 done
20023else 20939else
20024 echo "$as_me: failed program was:" >&5 20940 $as_echo "$as_me: failed program was:" >&5
20025sed 's/^/| /' conftest.$ac_ext >&5 20941sed 's/^/| /' conftest.$ac_ext >&5
20026 20942
20027 ac_lo= ac_hi= 20943 ac_lo= ac_hi=
@@ -20041,11 +20957,10 @@ cat confdefs.h >>conftest.$ac_ext
20041cat >>conftest.$ac_ext <<_ACEOF 20957cat >>conftest.$ac_ext <<_ACEOF
20042/* end confdefs.h. */ 20958/* end confdefs.h. */
20043$ac_includes_default 20959$ac_includes_default
20044 typedef int ac__type_sizeof_;
20045int 20960int
20046main () 20961main ()
20047{ 20962{
20048static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20963static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
20049test_array [0] = 0 20964test_array [0] = 0
20050 20965
20051 ; 20966 ;
@@ -20058,20 +20973,21 @@ case "(($ac_try" in
20058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20059 *) ac_try_echo=$ac_try;; 20974 *) ac_try_echo=$ac_try;;
20060esac 20975esac
20061eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20976eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20977$as_echo "$ac_try_echo") >&5
20062 (eval "$ac_compile") 2>conftest.er1 20978 (eval "$ac_compile") 2>conftest.er1
20063 ac_status=$? 20979 ac_status=$?
20064 grep -v '^ *+' conftest.er1 >conftest.err 20980 grep -v '^ *+' conftest.er1 >conftest.err
20065 rm -f conftest.er1 20981 rm -f conftest.er1
20066 cat conftest.err >&5 20982 cat conftest.err >&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } && { 20984 (exit $ac_status); } && {
20069 test -z "$ac_c_werror_flag" || 20985 test -z "$ac_c_werror_flag" ||
20070 test ! -s conftest.err 20986 test ! -s conftest.err
20071 } && test -s conftest.$ac_objext; then 20987 } && test -s conftest.$ac_objext; then
20072 ac_hi=$ac_mid 20988 ac_hi=$ac_mid
20073else 20989else
20074 echo "$as_me: failed program was:" >&5 20990 $as_echo "$as_me: failed program was:" >&5
20075sed 's/^/| /' conftest.$ac_ext >&5 20991sed 's/^/| /' conftest.$ac_ext >&5
20076 20992
20077 ac_lo=`expr '(' $ac_mid ')' + 1` 20993 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -20082,9 +20998,9 @@ done
20082case $ac_lo in 20998case $ac_lo in
20083?*) ac_cv_sizeof_int=$ac_lo;; 20999?*) ac_cv_sizeof_int=$ac_lo;;
20084'') if test "$ac_cv_type_int" = yes; then 21000'') if test "$ac_cv_type_int" = yes; then
20085 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 21001 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20086See \`config.log' for more details." >&5 21002See \`config.log' for more details." >&5
20087echo "$as_me: error: cannot compute sizeof (int) 21003$as_echo "$as_me: error: cannot compute sizeof (int)
20088See \`config.log' for more details." >&2;} 21004See \`config.log' for more details." >&2;}
20089 { (exit 77); exit 77; }; } 21005 { (exit 77); exit 77; }; }
20090 else 21006 else
@@ -20099,9 +21015,8 @@ cat confdefs.h >>conftest.$ac_ext
20099cat >>conftest.$ac_ext <<_ACEOF 21015cat >>conftest.$ac_ext <<_ACEOF
20100/* end confdefs.h. */ 21016/* end confdefs.h. */
20101$ac_includes_default 21017$ac_includes_default
20102 typedef int ac__type_sizeof_; 21018static long int longval () { return (long int) (sizeof (int)); }
20103static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 21019static unsigned long int ulongval () { return (long int) (sizeof (int)); }
20104static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20105#include <stdio.h> 21020#include <stdio.h>
20106#include <stdlib.h> 21021#include <stdlib.h>
20107int 21022int
@@ -20111,20 +21026,22 @@ main ()
20111 FILE *f = fopen ("conftest.val", "w"); 21026 FILE *f = fopen ("conftest.val", "w");
20112 if (! f) 21027 if (! f)
20113 return 1; 21028 return 1;
20114 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 21029 if (((long int) (sizeof (int))) < 0)
20115 { 21030 {
20116 long int i = longval (); 21031 long int i = longval ();
20117 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21032 if (i != ((long int) (sizeof (int))))
20118 return 1; 21033 return 1;
20119 fprintf (f, "%ld\n", i); 21034 fprintf (f, "%ld", i);
20120 } 21035 }
20121 else 21036 else
20122 { 21037 {
20123 unsigned long int i = ulongval (); 21038 unsigned long int i = ulongval ();
20124 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21039 if (i != ((long int) (sizeof (int))))
20125 return 1; 21040 return 1;
20126 fprintf (f, "%lu\n", i); 21041 fprintf (f, "%lu", i);
20127 } 21042 }
21043 /* Do not output a trailing newline, as this causes \r\n confusion
21044 on some platforms. */
20128 return ferror (f) || fclose (f) != 0; 21045 return ferror (f) || fclose (f) != 0;
20129 21046
20130 ; 21047 ;
@@ -20137,43 +21054,46 @@ case "(($ac_try" in
20137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20138 *) ac_try_echo=$ac_try;; 21055 *) ac_try_echo=$ac_try;;
20139esac 21056esac
20140eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21057eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21058$as_echo "$ac_try_echo") >&5
20141 (eval "$ac_link") 2>&5 21059 (eval "$ac_link") 2>&5
20142 ac_status=$? 21060 ac_status=$?
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20145 { (case "(($ac_try" in 21063 { (case "(($ac_try" in
20146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20147 *) ac_try_echo=$ac_try;; 21065 *) ac_try_echo=$ac_try;;
20148esac 21066esac
20149eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21067eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21068$as_echo "$ac_try_echo") >&5
20150 (eval "$ac_try") 2>&5 21069 (eval "$ac_try") 2>&5
20151 ac_status=$? 21070 ac_status=$?
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; }; then 21072 (exit $ac_status); }; }; then
20154 ac_cv_sizeof_int=`cat conftest.val` 21073 ac_cv_sizeof_int=`cat conftest.val`
20155else 21074else
20156 echo "$as_me: program exited with status $ac_status" >&5 21075 $as_echo "$as_me: program exited with status $ac_status" >&5
20157echo "$as_me: failed program was:" >&5 21076$as_echo "$as_me: failed program was:" >&5
20158sed 's/^/| /' conftest.$ac_ext >&5 21077sed 's/^/| /' conftest.$ac_ext >&5
20159 21078
20160( exit $ac_status ) 21079( exit $ac_status )
20161if test "$ac_cv_type_int" = yes; then 21080if test "$ac_cv_type_int" = yes; then
20162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 21081 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20163See \`config.log' for more details." >&5 21082See \`config.log' for more details." >&5
20164echo "$as_me: error: cannot compute sizeof (int) 21083$as_echo "$as_me: error: cannot compute sizeof (int)
20165See \`config.log' for more details." >&2;} 21084See \`config.log' for more details." >&2;}
20166 { (exit 77); exit 77; }; } 21085 { (exit 77); exit 77; }; }
20167 else 21086 else
20168 ac_cv_sizeof_int=0 21087 ac_cv_sizeof_int=0
20169 fi 21088 fi
20170fi 21089fi
21090rm -rf conftest.dSYM
20171rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21091rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20172fi 21092fi
20173rm -f conftest.val 21093rm -f conftest.val
20174fi 21094fi
20175{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 21095{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20176echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 21096$as_echo "$ac_cv_sizeof_int" >&6; }
20177 21097
20178 21098
20179 21099
@@ -20182,68 +21102,14 @@ cat >>confdefs.h <<_ACEOF
20182_ACEOF 21102_ACEOF
20183 21103
20184 21104
20185{ echo "$as_me:$LINENO: checking for long int" >&5
20186echo $ECHO_N "checking for long int... $ECHO_C" >&6; }
20187if test "${ac_cv_type_long_int+set}" = set; then
20188 echo $ECHO_N "(cached) $ECHO_C" >&6
20189else
20190 cat >conftest.$ac_ext <<_ACEOF
20191/* confdefs.h. */
20192_ACEOF
20193cat confdefs.h >>conftest.$ac_ext
20194cat >>conftest.$ac_ext <<_ACEOF
20195/* end confdefs.h. */
20196$ac_includes_default
20197typedef long int ac__type_new_;
20198int
20199main ()
20200{
20201if ((ac__type_new_ *) 0)
20202 return 0;
20203if (sizeof (ac__type_new_))
20204 return 0;
20205 ;
20206 return 0;
20207}
20208_ACEOF
20209rm -f conftest.$ac_objext
20210if { (ac_try="$ac_compile"
20211case "(($ac_try" in
20212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20213 *) ac_try_echo=$ac_try;;
20214esac
20215eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20216 (eval "$ac_compile") 2>conftest.er1
20217 ac_status=$?
20218 grep -v '^ *+' conftest.er1 >conftest.err
20219 rm -f conftest.er1
20220 cat conftest.err >&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } && {
20223 test -z "$ac_c_werror_flag" ||
20224 test ! -s conftest.err
20225 } && test -s conftest.$ac_objext; then
20226 ac_cv_type_long_int=yes
20227else
20228 echo "$as_me: failed program was:" >&5
20229sed 's/^/| /' conftest.$ac_ext >&5
20230
20231 ac_cv_type_long_int=no
20232fi
20233
20234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20235fi
20236{ echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
20237echo "${ECHO_T}$ac_cv_type_long_int" >&6; }
20238
20239# The cast to long int works around a bug in the HP C Compiler 21105# The cast to long int works around a bug in the HP C Compiler
20240# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21106# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20241# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21107# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20242# This bug is HP SR number 8606223364. 21108# This bug is HP SR number 8606223364.
20243{ echo "$as_me:$LINENO: checking size of long int" >&5 21109{ $as_echo "$as_me:$LINENO: checking size of long int" >&5
20244echo $ECHO_N "checking size of long int... $ECHO_C" >&6; } 21110$as_echo_n "checking size of long int... " >&6; }
20245if test "${ac_cv_sizeof_long_int+set}" = set; then 21111if test "${ac_cv_sizeof_long_int+set}" = set; then
20246 echo $ECHO_N "(cached) $ECHO_C" >&6 21112 $as_echo_n "(cached) " >&6
20247else 21113else
20248 if test "$cross_compiling" = yes; then 21114 if test "$cross_compiling" = yes; then
20249 # Depending upon the size, compute the lo and hi bounds. 21115 # Depending upon the size, compute the lo and hi bounds.
@@ -20254,11 +21120,10 @@ cat confdefs.h >>conftest.$ac_ext
20254cat >>conftest.$ac_ext <<_ACEOF 21120cat >>conftest.$ac_ext <<_ACEOF
20255/* end confdefs.h. */ 21121/* end confdefs.h. */
20256$ac_includes_default 21122$ac_includes_default
20257 typedef long int ac__type_sizeof_;
20258int 21123int
20259main () 21124main ()
20260{ 21125{
20261static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 21126static int test_array [1 - 2 * !(((long int) (sizeof (long int))) >= 0)];
20262test_array [0] = 0 21127test_array [0] = 0
20263 21128
20264 ; 21129 ;
@@ -20271,13 +21136,14 @@ case "(($ac_try" in
20271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20272 *) ac_try_echo=$ac_try;; 21137 *) ac_try_echo=$ac_try;;
20273esac 21138esac
20274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21139eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21140$as_echo "$ac_try_echo") >&5
20275 (eval "$ac_compile") 2>conftest.er1 21141 (eval "$ac_compile") 2>conftest.er1
20276 ac_status=$? 21142 ac_status=$?
20277 grep -v '^ *+' conftest.er1 >conftest.err 21143 grep -v '^ *+' conftest.er1 >conftest.err
20278 rm -f conftest.er1 21144 rm -f conftest.er1
20279 cat conftest.err >&5 21145 cat conftest.err >&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } && { 21147 (exit $ac_status); } && {
20282 test -z "$ac_c_werror_flag" || 21148 test -z "$ac_c_werror_flag" ||
20283 test ! -s conftest.err 21149 test ! -s conftest.err
@@ -20291,11 +21157,10 @@ cat confdefs.h >>conftest.$ac_ext
20291cat >>conftest.$ac_ext <<_ACEOF 21157cat >>conftest.$ac_ext <<_ACEOF
20292/* end confdefs.h. */ 21158/* end confdefs.h. */
20293$ac_includes_default 21159$ac_includes_default
20294 typedef long int ac__type_sizeof_;
20295int 21160int
20296main () 21161main ()
20297{ 21162{
20298static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 21163static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= $ac_mid)];
20299test_array [0] = 0 21164test_array [0] = 0
20300 21165
20301 ; 21166 ;
@@ -20308,20 +21173,21 @@ case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;; 21174 *) ac_try_echo=$ac_try;;
20310esac 21175esac
20311eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21177$as_echo "$ac_try_echo") >&5
20312 (eval "$ac_compile") 2>conftest.er1 21178 (eval "$ac_compile") 2>conftest.er1
20313 ac_status=$? 21179 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err 21180 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1 21181 rm -f conftest.er1
20316 cat conftest.err >&5 21182 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && { 21184 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" || 21185 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err 21186 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then 21187 } && test -s conftest.$ac_objext; then
20322 ac_hi=$ac_mid; break 21188 ac_hi=$ac_mid; break
20323else 21189else
20324 echo "$as_me: failed program was:" >&5 21190 $as_echo "$as_me: failed program was:" >&5
20325sed 's/^/| /' conftest.$ac_ext >&5 21191sed 's/^/| /' conftest.$ac_ext >&5
20326 21192
20327 ac_lo=`expr $ac_mid + 1` 21193 ac_lo=`expr $ac_mid + 1`
@@ -20335,7 +21201,7 @@ fi
20335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 done 21202 done
20337else 21203else
20338 echo "$as_me: failed program was:" >&5 21204 $as_echo "$as_me: failed program was:" >&5
20339sed 's/^/| /' conftest.$ac_ext >&5 21205sed 's/^/| /' conftest.$ac_ext >&5
20340 21206
20341 cat >conftest.$ac_ext <<_ACEOF 21207 cat >conftest.$ac_ext <<_ACEOF
@@ -20345,11 +21211,10 @@ cat confdefs.h >>conftest.$ac_ext
20345cat >>conftest.$ac_ext <<_ACEOF 21211cat >>conftest.$ac_ext <<_ACEOF
20346/* end confdefs.h. */ 21212/* end confdefs.h. */
20347$ac_includes_default 21213$ac_includes_default
20348 typedef long int ac__type_sizeof_;
20349int 21214int
20350main () 21215main ()
20351{ 21216{
20352static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 21217static int test_array [1 - 2 * !(((long int) (sizeof (long int))) < 0)];
20353test_array [0] = 0 21218test_array [0] = 0
20354 21219
20355 ; 21220 ;
@@ -20362,13 +21227,14 @@ case "(($ac_try" in
20362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20363 *) ac_try_echo=$ac_try;; 21228 *) ac_try_echo=$ac_try;;
20364esac 21229esac
20365eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21230eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21231$as_echo "$ac_try_echo") >&5
20366 (eval "$ac_compile") 2>conftest.er1 21232 (eval "$ac_compile") 2>conftest.er1
20367 ac_status=$? 21233 ac_status=$?
20368 grep -v '^ *+' conftest.er1 >conftest.err 21234 grep -v '^ *+' conftest.er1 >conftest.err
20369 rm -f conftest.er1 21235 rm -f conftest.er1
20370 cat conftest.err >&5 21236 cat conftest.err >&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } && { 21238 (exit $ac_status); } && {
20373 test -z "$ac_c_werror_flag" || 21239 test -z "$ac_c_werror_flag" ||
20374 test ! -s conftest.err 21240 test ! -s conftest.err
@@ -20382,11 +21248,10 @@ cat confdefs.h >>conftest.$ac_ext
20382cat >>conftest.$ac_ext <<_ACEOF 21248cat >>conftest.$ac_ext <<_ACEOF
20383/* end confdefs.h. */ 21249/* end confdefs.h. */
20384$ac_includes_default 21250$ac_includes_default
20385 typedef long int ac__type_sizeof_;
20386int 21251int
20387main () 21252main ()
20388{ 21253{
20389static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 21254static int test_array [1 - 2 * !(((long int) (sizeof (long int))) >= $ac_mid)];
20390test_array [0] = 0 21255test_array [0] = 0
20391 21256
20392 ; 21257 ;
@@ -20399,20 +21264,21 @@ case "(($ac_try" in
20399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20400 *) ac_try_echo=$ac_try;; 21265 *) ac_try_echo=$ac_try;;
20401esac 21266esac
20402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21267eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21268$as_echo "$ac_try_echo") >&5
20403 (eval "$ac_compile") 2>conftest.er1 21269 (eval "$ac_compile") 2>conftest.er1
20404 ac_status=$? 21270 ac_status=$?
20405 grep -v '^ *+' conftest.er1 >conftest.err 21271 grep -v '^ *+' conftest.er1 >conftest.err
20406 rm -f conftest.er1 21272 rm -f conftest.er1
20407 cat conftest.err >&5 21273 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } && { 21275 (exit $ac_status); } && {
20410 test -z "$ac_c_werror_flag" || 21276 test -z "$ac_c_werror_flag" ||
20411 test ! -s conftest.err 21277 test ! -s conftest.err
20412 } && test -s conftest.$ac_objext; then 21278 } && test -s conftest.$ac_objext; then
20413 ac_lo=$ac_mid; break 21279 ac_lo=$ac_mid; break
20414else 21280else
20415 echo "$as_me: failed program was:" >&5 21281 $as_echo "$as_me: failed program was:" >&5
20416sed 's/^/| /' conftest.$ac_ext >&5 21282sed 's/^/| /' conftest.$ac_ext >&5
20417 21283
20418 ac_hi=`expr '(' $ac_mid ')' - 1` 21284 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -20426,7 +21292,7 @@ fi
20426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20427 done 21293 done
20428else 21294else
20429 echo "$as_me: failed program was:" >&5 21295 $as_echo "$as_me: failed program was:" >&5
20430sed 's/^/| /' conftest.$ac_ext >&5 21296sed 's/^/| /' conftest.$ac_ext >&5
20431 21297
20432 ac_lo= ac_hi= 21298 ac_lo= ac_hi=
@@ -20446,11 +21312,10 @@ cat confdefs.h >>conftest.$ac_ext
20446cat >>conftest.$ac_ext <<_ACEOF 21312cat >>conftest.$ac_ext <<_ACEOF
20447/* end confdefs.h. */ 21313/* end confdefs.h. */
20448$ac_includes_default 21314$ac_includes_default
20449 typedef long int ac__type_sizeof_;
20450int 21315int
20451main () 21316main ()
20452{ 21317{
20453static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 21318static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= $ac_mid)];
20454test_array [0] = 0 21319test_array [0] = 0
20455 21320
20456 ; 21321 ;
@@ -20463,20 +21328,21 @@ case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;; 21329 *) ac_try_echo=$ac_try;;
20465esac 21330esac
20466eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21331eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21332$as_echo "$ac_try_echo") >&5
20467 (eval "$ac_compile") 2>conftest.er1 21333 (eval "$ac_compile") 2>conftest.er1
20468 ac_status=$? 21334 ac_status=$?
20469 grep -v '^ *+' conftest.er1 >conftest.err 21335 grep -v '^ *+' conftest.er1 >conftest.err
20470 rm -f conftest.er1 21336 rm -f conftest.er1
20471 cat conftest.err >&5 21337 cat conftest.err >&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && { 21339 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" || 21340 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err 21341 test ! -s conftest.err
20476 } && test -s conftest.$ac_objext; then 21342 } && test -s conftest.$ac_objext; then
20477 ac_hi=$ac_mid 21343 ac_hi=$ac_mid
20478else 21344else
20479 echo "$as_me: failed program was:" >&5 21345 $as_echo "$as_me: failed program was:" >&5
20480sed 's/^/| /' conftest.$ac_ext >&5 21346sed 's/^/| /' conftest.$ac_ext >&5
20481 21347
20482 ac_lo=`expr '(' $ac_mid ')' + 1` 21348 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -20487,9 +21353,9 @@ done
20487case $ac_lo in 21353case $ac_lo in
20488?*) ac_cv_sizeof_long_int=$ac_lo;; 21354?*) ac_cv_sizeof_long_int=$ac_lo;;
20489'') if test "$ac_cv_type_long_int" = yes; then 21355'') if test "$ac_cv_type_long_int" = yes; then
20490 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) 21356 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
20491See \`config.log' for more details." >&5 21357See \`config.log' for more details." >&5
20492echo "$as_me: error: cannot compute sizeof (long int) 21358$as_echo "$as_me: error: cannot compute sizeof (long int)
20493See \`config.log' for more details." >&2;} 21359See \`config.log' for more details." >&2;}
20494 { (exit 77); exit 77; }; } 21360 { (exit 77); exit 77; }; }
20495 else 21361 else
@@ -20504,9 +21370,8 @@ cat confdefs.h >>conftest.$ac_ext
20504cat >>conftest.$ac_ext <<_ACEOF 21370cat >>conftest.$ac_ext <<_ACEOF
20505/* end confdefs.h. */ 21371/* end confdefs.h. */
20506$ac_includes_default 21372$ac_includes_default
20507 typedef long int ac__type_sizeof_; 21373static long int longval () { return (long int) (sizeof (long int)); }
20508static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 21374static unsigned long int ulongval () { return (long int) (sizeof (long int)); }
20509static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20510#include <stdio.h> 21375#include <stdio.h>
20511#include <stdlib.h> 21376#include <stdlib.h>
20512int 21377int
@@ -20516,20 +21381,22 @@ main ()
20516 FILE *f = fopen ("conftest.val", "w"); 21381 FILE *f = fopen ("conftest.val", "w");
20517 if (! f) 21382 if (! f)
20518 return 1; 21383 return 1;
20519 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 21384 if (((long int) (sizeof (long int))) < 0)
20520 { 21385 {
20521 long int i = longval (); 21386 long int i = longval ();
20522 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21387 if (i != ((long int) (sizeof (long int))))
20523 return 1; 21388 return 1;
20524 fprintf (f, "%ld\n", i); 21389 fprintf (f, "%ld", i);
20525 } 21390 }
20526 else 21391 else
20527 { 21392 {
20528 unsigned long int i = ulongval (); 21393 unsigned long int i = ulongval ();
20529 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21394 if (i != ((long int) (sizeof (long int))))
20530 return 1; 21395 return 1;
20531 fprintf (f, "%lu\n", i); 21396 fprintf (f, "%lu", i);
20532 } 21397 }
21398 /* Do not output a trailing newline, as this causes \r\n confusion
21399 on some platforms. */
20533 return ferror (f) || fclose (f) != 0; 21400 return ferror (f) || fclose (f) != 0;
20534 21401
20535 ; 21402 ;
@@ -20542,43 +21409,46 @@ case "(($ac_try" in
20542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20543 *) ac_try_echo=$ac_try;; 21410 *) ac_try_echo=$ac_try;;
20544esac 21411esac
20545eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21412eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21413$as_echo "$ac_try_echo") >&5
20546 (eval "$ac_link") 2>&5 21414 (eval "$ac_link") 2>&5
20547 ac_status=$? 21415 ac_status=$?
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20550 { (case "(($ac_try" in 21418 { (case "(($ac_try" in
20551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20552 *) ac_try_echo=$ac_try;; 21420 *) ac_try_echo=$ac_try;;
20553esac 21421esac
20554eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21422eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21423$as_echo "$ac_try_echo") >&5
20555 (eval "$ac_try") 2>&5 21424 (eval "$ac_try") 2>&5
20556 ac_status=$? 21425 ac_status=$?
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; }; then 21427 (exit $ac_status); }; }; then
20559 ac_cv_sizeof_long_int=`cat conftest.val` 21428 ac_cv_sizeof_long_int=`cat conftest.val`
20560else 21429else
20561 echo "$as_me: program exited with status $ac_status" >&5 21430 $as_echo "$as_me: program exited with status $ac_status" >&5
20562echo "$as_me: failed program was:" >&5 21431$as_echo "$as_me: failed program was:" >&5
20563sed 's/^/| /' conftest.$ac_ext >&5 21432sed 's/^/| /' conftest.$ac_ext >&5
20564 21433
20565( exit $ac_status ) 21434( exit $ac_status )
20566if test "$ac_cv_type_long_int" = yes; then 21435if test "$ac_cv_type_long_int" = yes; then
20567 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) 21436 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
20568See \`config.log' for more details." >&5 21437See \`config.log' for more details." >&5
20569echo "$as_me: error: cannot compute sizeof (long int) 21438$as_echo "$as_me: error: cannot compute sizeof (long int)
20570See \`config.log' for more details." >&2;} 21439See \`config.log' for more details." >&2;}
20571 { (exit 77); exit 77; }; } 21440 { (exit 77); exit 77; }; }
20572 else 21441 else
20573 ac_cv_sizeof_long_int=0 21442 ac_cv_sizeof_long_int=0
20574 fi 21443 fi
20575fi 21444fi
21445rm -rf conftest.dSYM
20576rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21446rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20577fi 21447fi
20578rm -f conftest.val 21448rm -f conftest.val
20579fi 21449fi
20580{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 21450{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
20581echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6; } 21451$as_echo "$ac_cv_sizeof_long_int" >&6; }
20582 21452
20583 21453
20584 21454
@@ -20587,68 +21457,14 @@ cat >>confdefs.h <<_ACEOF
20587_ACEOF 21457_ACEOF
20588 21458
20589 21459
20590{ echo "$as_me:$LINENO: checking for long long int" >&5
20591echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
20592if test "${ac_cv_type_long_long_int+set}" = set; then
20593 echo $ECHO_N "(cached) $ECHO_C" >&6
20594else
20595 cat >conftest.$ac_ext <<_ACEOF
20596/* confdefs.h. */
20597_ACEOF
20598cat confdefs.h >>conftest.$ac_ext
20599cat >>conftest.$ac_ext <<_ACEOF
20600/* end confdefs.h. */
20601$ac_includes_default
20602typedef long long int ac__type_new_;
20603int
20604main ()
20605{
20606if ((ac__type_new_ *) 0)
20607 return 0;
20608if (sizeof (ac__type_new_))
20609 return 0;
20610 ;
20611 return 0;
20612}
20613_ACEOF
20614rm -f conftest.$ac_objext
20615if { (ac_try="$ac_compile"
20616case "(($ac_try" in
20617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20618 *) ac_try_echo=$ac_try;;
20619esac
20620eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20621 (eval "$ac_compile") 2>conftest.er1
20622 ac_status=$?
20623 grep -v '^ *+' conftest.er1 >conftest.err
20624 rm -f conftest.er1
20625 cat conftest.err >&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } && {
20628 test -z "$ac_c_werror_flag" ||
20629 test ! -s conftest.err
20630 } && test -s conftest.$ac_objext; then
20631 ac_cv_type_long_long_int=yes
20632else
20633 echo "$as_me: failed program was:" >&5
20634sed 's/^/| /' conftest.$ac_ext >&5
20635
20636 ac_cv_type_long_long_int=no
20637fi
20638
20639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640fi
20641{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
20642echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
20643
20644# The cast to long int works around a bug in the HP C Compiler 21460# The cast to long int works around a bug in the HP C Compiler
20645# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21461# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20646# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21462# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20647# This bug is HP SR number 8606223364. 21463# This bug is HP SR number 8606223364.
20648{ echo "$as_me:$LINENO: checking size of long long int" >&5 21464{ $as_echo "$as_me:$LINENO: checking size of long long int" >&5
20649echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; } 21465$as_echo_n "checking size of long long int... " >&6; }
20650if test "${ac_cv_sizeof_long_long_int+set}" = set; then 21466if test "${ac_cv_sizeof_long_long_int+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6 21467 $as_echo_n "(cached) " >&6
20652else 21468else
20653 if test "$cross_compiling" = yes; then 21469 if test "$cross_compiling" = yes; then
20654 # Depending upon the size, compute the lo and hi bounds. 21470 # Depending upon the size, compute the lo and hi bounds.
@@ -20659,11 +21475,10 @@ cat confdefs.h >>conftest.$ac_ext
20659cat >>conftest.$ac_ext <<_ACEOF 21475cat >>conftest.$ac_ext <<_ACEOF
20660/* end confdefs.h. */ 21476/* end confdefs.h. */
20661$ac_includes_default 21477$ac_includes_default
20662 typedef long long int ac__type_sizeof_;
20663int 21478int
20664main () 21479main ()
20665{ 21480{
20666static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 21481static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) >= 0)];
20667test_array [0] = 0 21482test_array [0] = 0
20668 21483
20669 ; 21484 ;
@@ -20676,13 +21491,14 @@ case "(($ac_try" in
20676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20677 *) ac_try_echo=$ac_try;; 21492 *) ac_try_echo=$ac_try;;
20678esac 21493esac
20679eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21494eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21495$as_echo "$ac_try_echo") >&5
20680 (eval "$ac_compile") 2>conftest.er1 21496 (eval "$ac_compile") 2>conftest.er1
20681 ac_status=$? 21497 ac_status=$?
20682 grep -v '^ *+' conftest.er1 >conftest.err 21498 grep -v '^ *+' conftest.er1 >conftest.err
20683 rm -f conftest.er1 21499 rm -f conftest.er1
20684 cat conftest.err >&5 21500 cat conftest.err >&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } && { 21502 (exit $ac_status); } && {
20687 test -z "$ac_c_werror_flag" || 21503 test -z "$ac_c_werror_flag" ||
20688 test ! -s conftest.err 21504 test ! -s conftest.err
@@ -20696,11 +21512,10 @@ cat confdefs.h >>conftest.$ac_ext
20696cat >>conftest.$ac_ext <<_ACEOF 21512cat >>conftest.$ac_ext <<_ACEOF
20697/* end confdefs.h. */ 21513/* end confdefs.h. */
20698$ac_includes_default 21514$ac_includes_default
20699 typedef long long int ac__type_sizeof_;
20700int 21515int
20701main () 21516main ()
20702{ 21517{
20703static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 21518static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) <= $ac_mid)];
20704test_array [0] = 0 21519test_array [0] = 0
20705 21520
20706 ; 21521 ;
@@ -20713,20 +21528,21 @@ case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;; 21529 *) ac_try_echo=$ac_try;;
20715esac 21530esac
20716eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21531eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21532$as_echo "$ac_try_echo") >&5
20717 (eval "$ac_compile") 2>conftest.er1 21533 (eval "$ac_compile") 2>conftest.er1
20718 ac_status=$? 21534 ac_status=$?
20719 grep -v '^ *+' conftest.er1 >conftest.err 21535 grep -v '^ *+' conftest.er1 >conftest.err
20720 rm -f conftest.er1 21536 rm -f conftest.er1
20721 cat conftest.err >&5 21537 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && { 21539 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" || 21540 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err 21541 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then 21542 } && test -s conftest.$ac_objext; then
20727 ac_hi=$ac_mid; break 21543 ac_hi=$ac_mid; break
20728else 21544else
20729 echo "$as_me: failed program was:" >&5 21545 $as_echo "$as_me: failed program was:" >&5
20730sed 's/^/| /' conftest.$ac_ext >&5 21546sed 's/^/| /' conftest.$ac_ext >&5
20731 21547
20732 ac_lo=`expr $ac_mid + 1` 21548 ac_lo=`expr $ac_mid + 1`
@@ -20740,7 +21556,7 @@ fi
20740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20741 done 21557 done
20742else 21558else
20743 echo "$as_me: failed program was:" >&5 21559 $as_echo "$as_me: failed program was:" >&5
20744sed 's/^/| /' conftest.$ac_ext >&5 21560sed 's/^/| /' conftest.$ac_ext >&5
20745 21561
20746 cat >conftest.$ac_ext <<_ACEOF 21562 cat >conftest.$ac_ext <<_ACEOF
@@ -20750,11 +21566,10 @@ cat confdefs.h >>conftest.$ac_ext
20750cat >>conftest.$ac_ext <<_ACEOF 21566cat >>conftest.$ac_ext <<_ACEOF
20751/* end confdefs.h. */ 21567/* end confdefs.h. */
20752$ac_includes_default 21568$ac_includes_default
20753 typedef long long int ac__type_sizeof_;
20754int 21569int
20755main () 21570main ()
20756{ 21571{
20757static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 21572static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) < 0)];
20758test_array [0] = 0 21573test_array [0] = 0
20759 21574
20760 ; 21575 ;
@@ -20767,13 +21582,14 @@ case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;; 21583 *) ac_try_echo=$ac_try;;
20769esac 21584esac
20770eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21585eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21586$as_echo "$ac_try_echo") >&5
20771 (eval "$ac_compile") 2>conftest.er1 21587 (eval "$ac_compile") 2>conftest.er1
20772 ac_status=$? 21588 ac_status=$?
20773 grep -v '^ *+' conftest.er1 >conftest.err 21589 grep -v '^ *+' conftest.er1 >conftest.err
20774 rm -f conftest.er1 21590 rm -f conftest.er1
20775 cat conftest.err >&5 21591 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } && { 21593 (exit $ac_status); } && {
20778 test -z "$ac_c_werror_flag" || 21594 test -z "$ac_c_werror_flag" ||
20779 test ! -s conftest.err 21595 test ! -s conftest.err
@@ -20787,11 +21603,10 @@ cat confdefs.h >>conftest.$ac_ext
20787cat >>conftest.$ac_ext <<_ACEOF 21603cat >>conftest.$ac_ext <<_ACEOF
20788/* end confdefs.h. */ 21604/* end confdefs.h. */
20789$ac_includes_default 21605$ac_includes_default
20790 typedef long long int ac__type_sizeof_;
20791int 21606int
20792main () 21607main ()
20793{ 21608{
20794static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 21609static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) >= $ac_mid)];
20795test_array [0] = 0 21610test_array [0] = 0
20796 21611
20797 ; 21612 ;
@@ -20804,20 +21619,21 @@ case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;; 21620 *) ac_try_echo=$ac_try;;
20806esac 21621esac
20807eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21622eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21623$as_echo "$ac_try_echo") >&5
20808 (eval "$ac_compile") 2>conftest.er1 21624 (eval "$ac_compile") 2>conftest.er1
20809 ac_status=$? 21625 ac_status=$?
20810 grep -v '^ *+' conftest.er1 >conftest.err 21626 grep -v '^ *+' conftest.er1 >conftest.err
20811 rm -f conftest.er1 21627 rm -f conftest.er1
20812 cat conftest.err >&5 21628 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && { 21630 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" || 21631 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err 21632 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then 21633 } && test -s conftest.$ac_objext; then
20818 ac_lo=$ac_mid; break 21634 ac_lo=$ac_mid; break
20819else 21635else
20820 echo "$as_me: failed program was:" >&5 21636 $as_echo "$as_me: failed program was:" >&5
20821sed 's/^/| /' conftest.$ac_ext >&5 21637sed 's/^/| /' conftest.$ac_ext >&5
20822 21638
20823 ac_hi=`expr '(' $ac_mid ')' - 1` 21639 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -20831,7 +21647,7 @@ fi
20831rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20832 done 21648 done
20833else 21649else
20834 echo "$as_me: failed program was:" >&5 21650 $as_echo "$as_me: failed program was:" >&5
20835sed 's/^/| /' conftest.$ac_ext >&5 21651sed 's/^/| /' conftest.$ac_ext >&5
20836 21652
20837 ac_lo= ac_hi= 21653 ac_lo= ac_hi=
@@ -20851,11 +21667,10 @@ cat confdefs.h >>conftest.$ac_ext
20851cat >>conftest.$ac_ext <<_ACEOF 21667cat >>conftest.$ac_ext <<_ACEOF
20852/* end confdefs.h. */ 21668/* end confdefs.h. */
20853$ac_includes_default 21669$ac_includes_default
20854 typedef long long int ac__type_sizeof_;
20855int 21670int
20856main () 21671main ()
20857{ 21672{
20858static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 21673static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) <= $ac_mid)];
20859test_array [0] = 0 21674test_array [0] = 0
20860 21675
20861 ; 21676 ;
@@ -20868,20 +21683,21 @@ case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;; 21684 *) ac_try_echo=$ac_try;;
20870esac 21685esac
20871eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21686eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21687$as_echo "$ac_try_echo") >&5
20872 (eval "$ac_compile") 2>conftest.er1 21688 (eval "$ac_compile") 2>conftest.er1
20873 ac_status=$? 21689 ac_status=$?
20874 grep -v '^ *+' conftest.er1 >conftest.err 21690 grep -v '^ *+' conftest.er1 >conftest.err
20875 rm -f conftest.er1 21691 rm -f conftest.er1
20876 cat conftest.err >&5 21692 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && { 21694 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" || 21695 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err 21696 test ! -s conftest.err
20881 } && test -s conftest.$ac_objext; then 21697 } && test -s conftest.$ac_objext; then
20882 ac_hi=$ac_mid 21698 ac_hi=$ac_mid
20883else 21699else
20884 echo "$as_me: failed program was:" >&5 21700 $as_echo "$as_me: failed program was:" >&5
20885sed 's/^/| /' conftest.$ac_ext >&5 21701sed 's/^/| /' conftest.$ac_ext >&5
20886 21702
20887 ac_lo=`expr '(' $ac_mid ')' + 1` 21703 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -20892,9 +21708,9 @@ done
20892case $ac_lo in 21708case $ac_lo in
20893?*) ac_cv_sizeof_long_long_int=$ac_lo;; 21709?*) ac_cv_sizeof_long_long_int=$ac_lo;;
20894'') if test "$ac_cv_type_long_long_int" = yes; then 21710'') if test "$ac_cv_type_long_long_int" = yes; then
20895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) 21711 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
20896See \`config.log' for more details." >&5 21712See \`config.log' for more details." >&5
20897echo "$as_me: error: cannot compute sizeof (long long int) 21713$as_echo "$as_me: error: cannot compute sizeof (long long int)
20898See \`config.log' for more details." >&2;} 21714See \`config.log' for more details." >&2;}
20899 { (exit 77); exit 77; }; } 21715 { (exit 77); exit 77; }; }
20900 else 21716 else
@@ -20909,9 +21725,8 @@ cat confdefs.h >>conftest.$ac_ext
20909cat >>conftest.$ac_ext <<_ACEOF 21725cat >>conftest.$ac_ext <<_ACEOF
20910/* end confdefs.h. */ 21726/* end confdefs.h. */
20911$ac_includes_default 21727$ac_includes_default
20912 typedef long long int ac__type_sizeof_; 21728static long int longval () { return (long int) (sizeof (long long int)); }
20913static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 21729static unsigned long int ulongval () { return (long int) (sizeof (long long int)); }
20914static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20915#include <stdio.h> 21730#include <stdio.h>
20916#include <stdlib.h> 21731#include <stdlib.h>
20917int 21732int
@@ -20921,20 +21736,22 @@ main ()
20921 FILE *f = fopen ("conftest.val", "w"); 21736 FILE *f = fopen ("conftest.val", "w");
20922 if (! f) 21737 if (! f)
20923 return 1; 21738 return 1;
20924 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 21739 if (((long int) (sizeof (long long int))) < 0)
20925 { 21740 {
20926 long int i = longval (); 21741 long int i = longval ();
20927 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21742 if (i != ((long int) (sizeof (long long int))))
20928 return 1; 21743 return 1;
20929 fprintf (f, "%ld\n", i); 21744 fprintf (f, "%ld", i);
20930 } 21745 }
20931 else 21746 else
20932 { 21747 {
20933 unsigned long int i = ulongval (); 21748 unsigned long int i = ulongval ();
20934 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21749 if (i != ((long int) (sizeof (long long int))))
20935 return 1; 21750 return 1;
20936 fprintf (f, "%lu\n", i); 21751 fprintf (f, "%lu", i);
20937 } 21752 }
21753 /* Do not output a trailing newline, as this causes \r\n confusion
21754 on some platforms. */
20938 return ferror (f) || fclose (f) != 0; 21755 return ferror (f) || fclose (f) != 0;
20939 21756
20940 ; 21757 ;
@@ -20947,43 +21764,46 @@ case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;; 21765 *) ac_try_echo=$ac_try;;
20949esac 21766esac
20950eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21767eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21768$as_echo "$ac_try_echo") >&5
20951 (eval "$ac_link") 2>&5 21769 (eval "$ac_link") 2>&5
20952 ac_status=$? 21770 ac_status=$?
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20955 { (case "(($ac_try" in 21773 { (case "(($ac_try" in
20956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20957 *) ac_try_echo=$ac_try;; 21775 *) ac_try_echo=$ac_try;;
20958esac 21776esac
20959eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21777eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21778$as_echo "$ac_try_echo") >&5
20960 (eval "$ac_try") 2>&5 21779 (eval "$ac_try") 2>&5
20961 ac_status=$? 21780 ac_status=$?
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); }; }; then 21782 (exit $ac_status); }; }; then
20964 ac_cv_sizeof_long_long_int=`cat conftest.val` 21783 ac_cv_sizeof_long_long_int=`cat conftest.val`
20965else 21784else
20966 echo "$as_me: program exited with status $ac_status" >&5 21785 $as_echo "$as_me: program exited with status $ac_status" >&5
20967echo "$as_me: failed program was:" >&5 21786$as_echo "$as_me: failed program was:" >&5
20968sed 's/^/| /' conftest.$ac_ext >&5 21787sed 's/^/| /' conftest.$ac_ext >&5
20969 21788
20970( exit $ac_status ) 21789( exit $ac_status )
20971if test "$ac_cv_type_long_long_int" = yes; then 21790if test "$ac_cv_type_long_long_int" = yes; then
20972 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) 21791 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
20973See \`config.log' for more details." >&5 21792See \`config.log' for more details." >&5
20974echo "$as_me: error: cannot compute sizeof (long long int) 21793$as_echo "$as_me: error: cannot compute sizeof (long long int)
20975See \`config.log' for more details." >&2;} 21794See \`config.log' for more details." >&2;}
20976 { (exit 77); exit 77; }; } 21795 { (exit 77); exit 77; }; }
20977 else 21796 else
20978 ac_cv_sizeof_long_long_int=0 21797 ac_cv_sizeof_long_long_int=0
20979 fi 21798 fi
20980fi 21799fi
21800rm -rf conftest.dSYM
20981rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21801rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20982fi 21802fi
20983rm -f conftest.val 21803rm -f conftest.val
20984fi 21804fi
20985{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 21805{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
20986echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; } 21806$as_echo "$ac_cv_sizeof_long_long_int" >&6; }
20987 21807
20988 21808
20989 21809
@@ -21000,12 +21820,12 @@ fi
21000 21820
21001# compute LLONG_MIN and LLONG_MAX if we don't know them. 21821# compute LLONG_MIN and LLONG_MAX if we don't know them.
21002if test -z "$have_llong_max"; then 21822if test -z "$have_llong_max"; then
21003 { echo "$as_me:$LINENO: checking for max value of long long" >&5 21823 { $as_echo "$as_me:$LINENO: checking for max value of long long" >&5
21004echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6; } 21824$as_echo_n "checking for max value of long long... " >&6; }
21005 if test "$cross_compiling" = yes; then 21825 if test "$cross_compiling" = yes; then
21006 21826
21007 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 21827 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
21008echo "$as_me: WARNING: cross compiling: not checking" >&2;} 21828$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
21009 21829
21010 21830
21011else 21831else
@@ -21095,35 +21915,37 @@ case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096 *) ac_try_echo=$ac_try;; 21916 *) ac_try_echo=$ac_try;;
21097esac 21917esac
21098eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21918eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21919$as_echo "$ac_try_echo") >&5
21099 (eval "$ac_link") 2>&5 21920 (eval "$ac_link") 2>&5
21100 ac_status=$? 21921 ac_status=$?
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21923 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21103 { (case "(($ac_try" in 21924 { (case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;; 21926 *) ac_try_echo=$ac_try;;
21106esac 21927esac
21107eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21928eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21929$as_echo "$ac_try_echo") >&5
21108 (eval "$ac_try") 2>&5 21930 (eval "$ac_try") 2>&5
21109 ac_status=$? 21931 ac_status=$?
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then 21933 (exit $ac_status); }; }; then
21112 21934
21113 llong_min=`$AWK '{print $1}' conftest.llminmax` 21935 llong_min=`$AWK '{print $1}' conftest.llminmax`
21114 llong_max=`$AWK '{print $2}' conftest.llminmax` 21936 llong_max=`$AWK '{print $2}' conftest.llminmax`
21115 21937
21116 { echo "$as_me:$LINENO: result: $llong_max" >&5 21938 { $as_echo "$as_me:$LINENO: result: $llong_max" >&5
21117echo "${ECHO_T}$llong_max" >&6; } 21939$as_echo "$llong_max" >&6; }
21118 21940
21119cat >>confdefs.h <<_ACEOF 21941cat >>confdefs.h <<_ACEOF
21120#define LLONG_MAX ${llong_max}LL 21942#define LLONG_MAX ${llong_max}LL
21121_ACEOF 21943_ACEOF
21122 21944
21123 { echo "$as_me:$LINENO: checking for min value of long long" >&5 21945 { $as_echo "$as_me:$LINENO: checking for min value of long long" >&5
21124echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6; } 21946$as_echo_n "checking for min value of long long... " >&6; }
21125 { echo "$as_me:$LINENO: result: $llong_min" >&5 21947 { $as_echo "$as_me:$LINENO: result: $llong_min" >&5
21126echo "${ECHO_T}$llong_min" >&6; } 21948$as_echo "$llong_min" >&6; }
21127 21949
21128cat >>confdefs.h <<_ACEOF 21950cat >>confdefs.h <<_ACEOF
21129#define LLONG_MIN ${llong_min}LL 21951#define LLONG_MIN ${llong_min}LL
@@ -21131,16 +21953,17 @@ _ACEOF
21131 21953
21132 21954
21133else 21955else
21134 echo "$as_me: program exited with status $ac_status" >&5 21956 $as_echo "$as_me: program exited with status $ac_status" >&5
21135echo "$as_me: failed program was:" >&5 21957$as_echo "$as_me: failed program was:" >&5
21136sed 's/^/| /' conftest.$ac_ext >&5 21958sed 's/^/| /' conftest.$ac_ext >&5
21137 21959
21138( exit $ac_status ) 21960( exit $ac_status )
21139 21961
21140 { echo "$as_me:$LINENO: result: not found" >&5 21962 { $as_echo "$as_me:$LINENO: result: not found" >&5
21141echo "${ECHO_T}not found" >&6; } 21963$as_echo "not found" >&6; }
21142 21964
21143fi 21965fi
21966rm -rf conftest.dSYM
21144rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21967rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21145fi 21968fi
21146 21969
@@ -21149,10 +21972,10 @@ fi
21149 21972
21150 21973
21151# More checks for data types 21974# More checks for data types
21152{ echo "$as_me:$LINENO: checking for u_int type" >&5 21975{ $as_echo "$as_me:$LINENO: checking for u_int type" >&5
21153echo $ECHO_N "checking for u_int type... $ECHO_C" >&6; } 21976$as_echo_n "checking for u_int type... " >&6; }
21154if test "${ac_cv_have_u_int+set}" = set; then 21977if test "${ac_cv_have_u_int+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6 21978 $as_echo_n "(cached) " >&6
21156else 21979else
21157 21980
21158 cat >conftest.$ac_ext <<_ACEOF 21981 cat >conftest.$ac_ext <<_ACEOF
@@ -21176,20 +21999,21 @@ case "(($ac_try" in
21176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21177 *) ac_try_echo=$ac_try;; 22000 *) ac_try_echo=$ac_try;;
21178esac 22001esac
21179eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22002eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22003$as_echo "$ac_try_echo") >&5
21180 (eval "$ac_compile") 2>conftest.er1 22004 (eval "$ac_compile") 2>conftest.er1
21181 ac_status=$? 22005 ac_status=$?
21182 grep -v '^ *+' conftest.er1 >conftest.err 22006 grep -v '^ *+' conftest.er1 >conftest.err
21183 rm -f conftest.er1 22007 rm -f conftest.er1
21184 cat conftest.err >&5 22008 cat conftest.err >&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); } && { 22010 (exit $ac_status); } && {
21187 test -z "$ac_c_werror_flag" || 22011 test -z "$ac_c_werror_flag" ||
21188 test ! -s conftest.err 22012 test ! -s conftest.err
21189 } && test -s conftest.$ac_objext; then 22013 } && test -s conftest.$ac_objext; then
21190 ac_cv_have_u_int="yes" 22014 ac_cv_have_u_int="yes"
21191else 22015else
21192 echo "$as_me: failed program was:" >&5 22016 $as_echo "$as_me: failed program was:" >&5
21193sed 's/^/| /' conftest.$ac_ext >&5 22017sed 's/^/| /' conftest.$ac_ext >&5
21194 22018
21195 ac_cv_have_u_int="no" 22019 ac_cv_have_u_int="no"
@@ -21199,8 +22023,8 @@ fi
21199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21200 22024
21201fi 22025fi
21202{ echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 22026{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
21203echo "${ECHO_T}$ac_cv_have_u_int" >&6; } 22027$as_echo "$ac_cv_have_u_int" >&6; }
21204if test "x$ac_cv_have_u_int" = "xyes" ; then 22028if test "x$ac_cv_have_u_int" = "xyes" ; then
21205 22029
21206cat >>confdefs.h <<\_ACEOF 22030cat >>confdefs.h <<\_ACEOF
@@ -21210,10 +22034,10 @@ _ACEOF
21210 have_u_int=1 22034 have_u_int=1
21211fi 22035fi
21212 22036
21213{ echo "$as_me:$LINENO: checking for intXX_t types" >&5 22037{ $as_echo "$as_me:$LINENO: checking for intXX_t types" >&5
21214echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6; } 22038$as_echo_n "checking for intXX_t types... " >&6; }
21215if test "${ac_cv_have_intxx_t+set}" = set; then 22039if test "${ac_cv_have_intxx_t+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6 22040 $as_echo_n "(cached) " >&6
21217else 22041else
21218 22042
21219 cat >conftest.$ac_ext <<_ACEOF 22043 cat >conftest.$ac_ext <<_ACEOF
@@ -21237,20 +22061,21 @@ case "(($ac_try" in
21237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21238 *) ac_try_echo=$ac_try;; 22062 *) ac_try_echo=$ac_try;;
21239esac 22063esac
21240eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22064eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22065$as_echo "$ac_try_echo") >&5
21241 (eval "$ac_compile") 2>conftest.er1 22066 (eval "$ac_compile") 2>conftest.er1
21242 ac_status=$? 22067 ac_status=$?
21243 grep -v '^ *+' conftest.er1 >conftest.err 22068 grep -v '^ *+' conftest.er1 >conftest.err
21244 rm -f conftest.er1 22069 rm -f conftest.er1
21245 cat conftest.err >&5 22070 cat conftest.err >&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); } && { 22072 (exit $ac_status); } && {
21248 test -z "$ac_c_werror_flag" || 22073 test -z "$ac_c_werror_flag" ||
21249 test ! -s conftest.err 22074 test ! -s conftest.err
21250 } && test -s conftest.$ac_objext; then 22075 } && test -s conftest.$ac_objext; then
21251 ac_cv_have_intxx_t="yes" 22076 ac_cv_have_intxx_t="yes"
21252else 22077else
21253 echo "$as_me: failed program was:" >&5 22078 $as_echo "$as_me: failed program was:" >&5
21254sed 's/^/| /' conftest.$ac_ext >&5 22079sed 's/^/| /' conftest.$ac_ext >&5
21255 22080
21256 ac_cv_have_intxx_t="no" 22081 ac_cv_have_intxx_t="no"
@@ -21260,8 +22085,8 @@ fi
21260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21261 22086
21262fi 22087fi
21263{ echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 22088{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
21264echo "${ECHO_T}$ac_cv_have_intxx_t" >&6; } 22089$as_echo "$ac_cv_have_intxx_t" >&6; }
21265if test "x$ac_cv_have_intxx_t" = "xyes" ; then 22090if test "x$ac_cv_have_intxx_t" = "xyes" ; then
21266 22091
21267cat >>confdefs.h <<\_ACEOF 22092cat >>confdefs.h <<\_ACEOF
@@ -21274,8 +22099,8 @@ fi
21274if (test -z "$have_intxx_t" && \ 22099if (test -z "$have_intxx_t" && \
21275 test "x$ac_cv_header_stdint_h" = "xyes") 22100 test "x$ac_cv_header_stdint_h" = "xyes")
21276then 22101then
21277 { echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 22102 { $as_echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5
21278echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6; } 22103$as_echo_n "checking for intXX_t types in stdint.h... " >&6; }
21279 cat >conftest.$ac_ext <<_ACEOF 22104 cat >conftest.$ac_ext <<_ACEOF
21280/* confdefs.h. */ 22105/* confdefs.h. */
21281_ACEOF 22106_ACEOF
@@ -21297,13 +22122,14 @@ case "(($ac_try" in
21297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21298 *) ac_try_echo=$ac_try;; 22123 *) ac_try_echo=$ac_try;;
21299esac 22124esac
21300eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22125eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22126$as_echo "$ac_try_echo") >&5
21301 (eval "$ac_compile") 2>conftest.er1 22127 (eval "$ac_compile") 2>conftest.er1
21302 ac_status=$? 22128 ac_status=$?
21303 grep -v '^ *+' conftest.er1 >conftest.err 22129 grep -v '^ *+' conftest.er1 >conftest.err
21304 rm -f conftest.er1 22130 rm -f conftest.er1
21305 cat conftest.err >&5 22131 cat conftest.err >&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } && { 22133 (exit $ac_status); } && {
21308 test -z "$ac_c_werror_flag" || 22134 test -z "$ac_c_werror_flag" ||
21309 test ! -s conftest.err 22135 test ! -s conftest.err
@@ -21313,25 +22139,25 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313#define HAVE_INTXX_T 1 22139#define HAVE_INTXX_T 1
21314_ACEOF 22140_ACEOF
21315 22141
21316 { echo "$as_me:$LINENO: result: yes" >&5 22142 { $as_echo "$as_me:$LINENO: result: yes" >&5
21317echo "${ECHO_T}yes" >&6; } 22143$as_echo "yes" >&6; }
21318 22144
21319else 22145else
21320 echo "$as_me: failed program was:" >&5 22146 $as_echo "$as_me: failed program was:" >&5
21321sed 's/^/| /' conftest.$ac_ext >&5 22147sed 's/^/| /' conftest.$ac_ext >&5
21322 22148
21323 { echo "$as_me:$LINENO: result: no" >&5 22149 { $as_echo "$as_me:$LINENO: result: no" >&5
21324echo "${ECHO_T}no" >&6; } 22150$as_echo "no" >&6; }
21325 22151
21326fi 22152fi
21327 22153
21328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21329fi 22155fi
21330 22156
21331{ echo "$as_me:$LINENO: checking for int64_t type" >&5 22157{ $as_echo "$as_me:$LINENO: checking for int64_t type" >&5
21332echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6; } 22158$as_echo_n "checking for int64_t type... " >&6; }
21333if test "${ac_cv_have_int64_t+set}" = set; then 22159if test "${ac_cv_have_int64_t+set}" = set; then
21334 echo $ECHO_N "(cached) $ECHO_C" >&6 22160 $as_echo_n "(cached) " >&6
21335else 22161else
21336 22162
21337 cat >conftest.$ac_ext <<_ACEOF 22163 cat >conftest.$ac_ext <<_ACEOF
@@ -21364,20 +22190,21 @@ case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;; 22191 *) ac_try_echo=$ac_try;;
21366esac 22192esac
21367eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22193eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22194$as_echo "$ac_try_echo") >&5
21368 (eval "$ac_compile") 2>conftest.er1 22195 (eval "$ac_compile") 2>conftest.er1
21369 ac_status=$? 22196 ac_status=$?
21370 grep -v '^ *+' conftest.er1 >conftest.err 22197 grep -v '^ *+' conftest.er1 >conftest.err
21371 rm -f conftest.er1 22198 rm -f conftest.er1
21372 cat conftest.err >&5 22199 cat conftest.err >&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } && { 22201 (exit $ac_status); } && {
21375 test -z "$ac_c_werror_flag" || 22202 test -z "$ac_c_werror_flag" ||
21376 test ! -s conftest.err 22203 test ! -s conftest.err
21377 } && test -s conftest.$ac_objext; then 22204 } && test -s conftest.$ac_objext; then
21378 ac_cv_have_int64_t="yes" 22205 ac_cv_have_int64_t="yes"
21379else 22206else
21380 echo "$as_me: failed program was:" >&5 22207 $as_echo "$as_me: failed program was:" >&5
21381sed 's/^/| /' conftest.$ac_ext >&5 22208sed 's/^/| /' conftest.$ac_ext >&5
21382 22209
21383 ac_cv_have_int64_t="no" 22210 ac_cv_have_int64_t="no"
@@ -21387,8 +22214,8 @@ fi
21387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21388 22215
21389fi 22216fi
21390{ echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 22217{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
21391echo "${ECHO_T}$ac_cv_have_int64_t" >&6; } 22218$as_echo "$ac_cv_have_int64_t" >&6; }
21392if test "x$ac_cv_have_int64_t" = "xyes" ; then 22219if test "x$ac_cv_have_int64_t" = "xyes" ; then
21393 22220
21394cat >>confdefs.h <<\_ACEOF 22221cat >>confdefs.h <<\_ACEOF
@@ -21397,10 +22224,10 @@ _ACEOF
21397 22224
21398fi 22225fi
21399 22226
21400{ echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 22227{ $as_echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
21401echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6; } 22228$as_echo_n "checking for u_intXX_t types... " >&6; }
21402if test "${ac_cv_have_u_intxx_t+set}" = set; then 22229if test "${ac_cv_have_u_intxx_t+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6 22230 $as_echo_n "(cached) " >&6
21404else 22231else
21405 22232
21406 cat >conftest.$ac_ext <<_ACEOF 22233 cat >conftest.$ac_ext <<_ACEOF
@@ -21424,20 +22251,21 @@ case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;; 22252 *) ac_try_echo=$ac_try;;
21426esac 22253esac
21427eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22254eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22255$as_echo "$ac_try_echo") >&5
21428 (eval "$ac_compile") 2>conftest.er1 22256 (eval "$ac_compile") 2>conftest.er1
21429 ac_status=$? 22257 ac_status=$?
21430 grep -v '^ *+' conftest.er1 >conftest.err 22258 grep -v '^ *+' conftest.er1 >conftest.err
21431 rm -f conftest.er1 22259 rm -f conftest.er1
21432 cat conftest.err >&5 22260 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } && { 22262 (exit $ac_status); } && {
21435 test -z "$ac_c_werror_flag" || 22263 test -z "$ac_c_werror_flag" ||
21436 test ! -s conftest.err 22264 test ! -s conftest.err
21437 } && test -s conftest.$ac_objext; then 22265 } && test -s conftest.$ac_objext; then
21438 ac_cv_have_u_intxx_t="yes" 22266 ac_cv_have_u_intxx_t="yes"
21439else 22267else
21440 echo "$as_me: failed program was:" >&5 22268 $as_echo "$as_me: failed program was:" >&5
21441sed 's/^/| /' conftest.$ac_ext >&5 22269sed 's/^/| /' conftest.$ac_ext >&5
21442 22270
21443 ac_cv_have_u_intxx_t="no" 22271 ac_cv_have_u_intxx_t="no"
@@ -21447,8 +22275,8 @@ fi
21447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448 22276
21449fi 22277fi
21450{ echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 22278{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
21451echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6; } 22279$as_echo "$ac_cv_have_u_intxx_t" >&6; }
21452if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 22280if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
21453 22281
21454cat >>confdefs.h <<\_ACEOF 22282cat >>confdefs.h <<\_ACEOF
@@ -21459,8 +22287,8 @@ _ACEOF
21459fi 22287fi
21460 22288
21461if test -z "$have_u_intxx_t" ; then 22289if test -z "$have_u_intxx_t" ; then
21462 { echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 22290 { $as_echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5
21463echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6; } 22291$as_echo_n "checking for u_intXX_t types in sys/socket.h... " >&6; }
21464 cat >conftest.$ac_ext <<_ACEOF 22292 cat >conftest.$ac_ext <<_ACEOF
21465/* confdefs.h. */ 22293/* confdefs.h. */
21466_ACEOF 22294_ACEOF
@@ -21482,13 +22310,14 @@ case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21483 *) ac_try_echo=$ac_try;; 22311 *) ac_try_echo=$ac_try;;
21484esac 22312esac
21485eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22313eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22314$as_echo "$ac_try_echo") >&5
21486 (eval "$ac_compile") 2>conftest.er1 22315 (eval "$ac_compile") 2>conftest.er1
21487 ac_status=$? 22316 ac_status=$?
21488 grep -v '^ *+' conftest.er1 >conftest.err 22317 grep -v '^ *+' conftest.er1 >conftest.err
21489 rm -f conftest.er1 22318 rm -f conftest.er1
21490 cat conftest.err >&5 22319 cat conftest.err >&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } && { 22321 (exit $ac_status); } && {
21493 test -z "$ac_c_werror_flag" || 22322 test -z "$ac_c_werror_flag" ||
21494 test ! -s conftest.err 22323 test ! -s conftest.err
@@ -21498,25 +22327,25 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21498#define HAVE_U_INTXX_T 1 22327#define HAVE_U_INTXX_T 1
21499_ACEOF 22328_ACEOF
21500 22329
21501 { echo "$as_me:$LINENO: result: yes" >&5 22330 { $as_echo "$as_me:$LINENO: result: yes" >&5
21502echo "${ECHO_T}yes" >&6; } 22331$as_echo "yes" >&6; }
21503 22332
21504else 22333else
21505 echo "$as_me: failed program was:" >&5 22334 $as_echo "$as_me: failed program was:" >&5
21506sed 's/^/| /' conftest.$ac_ext >&5 22335sed 's/^/| /' conftest.$ac_ext >&5
21507 22336
21508 { echo "$as_me:$LINENO: result: no" >&5 22337 { $as_echo "$as_me:$LINENO: result: no" >&5
21509echo "${ECHO_T}no" >&6; } 22338$as_echo "no" >&6; }
21510 22339
21511fi 22340fi
21512 22341
21513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21514fi 22343fi
21515 22344
21516{ echo "$as_me:$LINENO: checking for u_int64_t types" >&5 22345{ $as_echo "$as_me:$LINENO: checking for u_int64_t types" >&5
21517echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6; } 22346$as_echo_n "checking for u_int64_t types... " >&6; }
21518if test "${ac_cv_have_u_int64_t+set}" = set; then 22347if test "${ac_cv_have_u_int64_t+set}" = set; then
21519 echo $ECHO_N "(cached) $ECHO_C" >&6 22348 $as_echo_n "(cached) " >&6
21520else 22349else
21521 22350
21522 cat >conftest.$ac_ext <<_ACEOF 22351 cat >conftest.$ac_ext <<_ACEOF
@@ -21540,20 +22369,21 @@ case "(($ac_try" in
21540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21541 *) ac_try_echo=$ac_try;; 22370 *) ac_try_echo=$ac_try;;
21542esac 22371esac
21543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22373$as_echo "$ac_try_echo") >&5
21544 (eval "$ac_compile") 2>conftest.er1 22374 (eval "$ac_compile") 2>conftest.er1
21545 ac_status=$? 22375 ac_status=$?
21546 grep -v '^ *+' conftest.er1 >conftest.err 22376 grep -v '^ *+' conftest.er1 >conftest.err
21547 rm -f conftest.er1 22377 rm -f conftest.er1
21548 cat conftest.err >&5 22378 cat conftest.err >&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } && { 22380 (exit $ac_status); } && {
21551 test -z "$ac_c_werror_flag" || 22381 test -z "$ac_c_werror_flag" ||
21552 test ! -s conftest.err 22382 test ! -s conftest.err
21553 } && test -s conftest.$ac_objext; then 22383 } && test -s conftest.$ac_objext; then
21554 ac_cv_have_u_int64_t="yes" 22384 ac_cv_have_u_int64_t="yes"
21555else 22385else
21556 echo "$as_me: failed program was:" >&5 22386 $as_echo "$as_me: failed program was:" >&5
21557sed 's/^/| /' conftest.$ac_ext >&5 22387sed 's/^/| /' conftest.$ac_ext >&5
21558 22388
21559 ac_cv_have_u_int64_t="no" 22389 ac_cv_have_u_int64_t="no"
@@ -21563,8 +22393,8 @@ fi
21563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21564 22394
21565fi 22395fi
21566{ echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 22396{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
21567echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6; } 22397$as_echo "$ac_cv_have_u_int64_t" >&6; }
21568if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 22398if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
21569 22399
21570cat >>confdefs.h <<\_ACEOF 22400cat >>confdefs.h <<\_ACEOF
@@ -21575,8 +22405,8 @@ _ACEOF
21575fi 22405fi
21576 22406
21577if test -z "$have_u_int64_t" ; then 22407if test -z "$have_u_int64_t" ; then
21578 { echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 22408 { $as_echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5
21579echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6; } 22409$as_echo_n "checking for u_int64_t type in sys/bitypes.h... " >&6; }
21580 cat >conftest.$ac_ext <<_ACEOF 22410 cat >conftest.$ac_ext <<_ACEOF
21581/* confdefs.h. */ 22411/* confdefs.h. */
21582_ACEOF 22412_ACEOF
@@ -21598,13 +22428,14 @@ case "(($ac_try" in
21598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599 *) ac_try_echo=$ac_try;; 22429 *) ac_try_echo=$ac_try;;
21600esac 22430esac
21601eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22431eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22432$as_echo "$ac_try_echo") >&5
21602 (eval "$ac_compile") 2>conftest.er1 22433 (eval "$ac_compile") 2>conftest.er1
21603 ac_status=$? 22434 ac_status=$?
21604 grep -v '^ *+' conftest.er1 >conftest.err 22435 grep -v '^ *+' conftest.er1 >conftest.err
21605 rm -f conftest.er1 22436 rm -f conftest.er1
21606 cat conftest.err >&5 22437 cat conftest.err >&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } && { 22439 (exit $ac_status); } && {
21609 test -z "$ac_c_werror_flag" || 22440 test -z "$ac_c_werror_flag" ||
21610 test ! -s conftest.err 22441 test ! -s conftest.err
@@ -21614,15 +22445,15 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21614#define HAVE_U_INT64_T 1 22445#define HAVE_U_INT64_T 1
21615_ACEOF 22446_ACEOF
21616 22447
21617 { echo "$as_me:$LINENO: result: yes" >&5 22448 { $as_echo "$as_me:$LINENO: result: yes" >&5
21618echo "${ECHO_T}yes" >&6; } 22449$as_echo "yes" >&6; }
21619 22450
21620else 22451else
21621 echo "$as_me: failed program was:" >&5 22452 $as_echo "$as_me: failed program was:" >&5
21622sed 's/^/| /' conftest.$ac_ext >&5 22453sed 's/^/| /' conftest.$ac_ext >&5
21623 22454
21624 { echo "$as_me:$LINENO: result: no" >&5 22455 { $as_echo "$as_me:$LINENO: result: no" >&5
21625echo "${ECHO_T}no" >&6; } 22456$as_echo "no" >&6; }
21626 22457
21627fi 22458fi
21628 22459
@@ -21630,10 +22461,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630fi 22461fi
21631 22462
21632if test -z "$have_u_intxx_t" ; then 22463if test -z "$have_u_intxx_t" ; then
21633 { echo "$as_me:$LINENO: checking for uintXX_t types" >&5 22464 { $as_echo "$as_me:$LINENO: checking for uintXX_t types" >&5
21634echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6; } 22465$as_echo_n "checking for uintXX_t types... " >&6; }
21635if test "${ac_cv_have_uintxx_t+set}" = set; then 22466if test "${ac_cv_have_uintxx_t+set}" = set; then
21636 echo $ECHO_N "(cached) $ECHO_C" >&6 22467 $as_echo_n "(cached) " >&6
21637else 22468else
21638 22469
21639 cat >conftest.$ac_ext <<_ACEOF 22470 cat >conftest.$ac_ext <<_ACEOF
@@ -21659,20 +22490,21 @@ case "(($ac_try" in
21659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21660 *) ac_try_echo=$ac_try;; 22491 *) ac_try_echo=$ac_try;;
21661esac 22492esac
21662eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22493eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22494$as_echo "$ac_try_echo") >&5
21663 (eval "$ac_compile") 2>conftest.er1 22495 (eval "$ac_compile") 2>conftest.er1
21664 ac_status=$? 22496 ac_status=$?
21665 grep -v '^ *+' conftest.er1 >conftest.err 22497 grep -v '^ *+' conftest.er1 >conftest.err
21666 rm -f conftest.er1 22498 rm -f conftest.er1
21667 cat conftest.err >&5 22499 cat conftest.err >&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } && { 22501 (exit $ac_status); } && {
21670 test -z "$ac_c_werror_flag" || 22502 test -z "$ac_c_werror_flag" ||
21671 test ! -s conftest.err 22503 test ! -s conftest.err
21672 } && test -s conftest.$ac_objext; then 22504 } && test -s conftest.$ac_objext; then
21673 ac_cv_have_uintxx_t="yes" 22505 ac_cv_have_uintxx_t="yes"
21674else 22506else
21675 echo "$as_me: failed program was:" >&5 22507 $as_echo "$as_me: failed program was:" >&5
21676sed 's/^/| /' conftest.$ac_ext >&5 22508sed 's/^/| /' conftest.$ac_ext >&5
21677 22509
21678 ac_cv_have_uintxx_t="no" 22510 ac_cv_have_uintxx_t="no"
@@ -21682,8 +22514,8 @@ fi
21682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21683 22515
21684fi 22516fi
21685{ echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 22517{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
21686echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6; } 22518$as_echo "$ac_cv_have_uintxx_t" >&6; }
21687 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 22519 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
21688 22520
21689cat >>confdefs.h <<\_ACEOF 22521cat >>confdefs.h <<\_ACEOF
@@ -21694,8 +22526,8 @@ _ACEOF
21694fi 22526fi
21695 22527
21696if test -z "$have_uintxx_t" ; then 22528if test -z "$have_uintxx_t" ; then
21697 { echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 22529 { $as_echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5
21698echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6; } 22530$as_echo_n "checking for uintXX_t types in stdint.h... " >&6; }
21699 cat >conftest.$ac_ext <<_ACEOF 22531 cat >conftest.$ac_ext <<_ACEOF
21700/* confdefs.h. */ 22532/* confdefs.h. */
21701_ACEOF 22533_ACEOF
@@ -21717,13 +22549,14 @@ case "(($ac_try" in
21717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21718 *) ac_try_echo=$ac_try;; 22550 *) ac_try_echo=$ac_try;;
21719esac 22551esac
21720eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22552eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22553$as_echo "$ac_try_echo") >&5
21721 (eval "$ac_compile") 2>conftest.er1 22554 (eval "$ac_compile") 2>conftest.er1
21722 ac_status=$? 22555 ac_status=$?
21723 grep -v '^ *+' conftest.er1 >conftest.err 22556 grep -v '^ *+' conftest.er1 >conftest.err
21724 rm -f conftest.er1 22557 rm -f conftest.er1
21725 cat conftest.err >&5 22558 cat conftest.err >&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } && { 22560 (exit $ac_status); } && {
21728 test -z "$ac_c_werror_flag" || 22561 test -z "$ac_c_werror_flag" ||
21729 test ! -s conftest.err 22562 test ! -s conftest.err
@@ -21733,15 +22566,15 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733#define HAVE_UINTXX_T 1 22566#define HAVE_UINTXX_T 1
21734_ACEOF 22567_ACEOF
21735 22568
21736 { echo "$as_me:$LINENO: result: yes" >&5 22569 { $as_echo "$as_me:$LINENO: result: yes" >&5
21737echo "${ECHO_T}yes" >&6; } 22570$as_echo "yes" >&6; }
21738 22571
21739else 22572else
21740 echo "$as_me: failed program was:" >&5 22573 $as_echo "$as_me: failed program was:" >&5
21741sed 's/^/| /' conftest.$ac_ext >&5 22574sed 's/^/| /' conftest.$ac_ext >&5
21742 22575
21743 { echo "$as_me:$LINENO: result: no" >&5 22576 { $as_echo "$as_me:$LINENO: result: no" >&5
21744echo "${ECHO_T}no" >&6; } 22577$as_echo "no" >&6; }
21745 22578
21746fi 22579fi
21747 22580
@@ -21751,8 +22584,8 @@ fi
21751if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ 22584if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
21752 test "x$ac_cv_header_sys_bitypes_h" = "xyes") 22585 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
21753then 22586then
21754 { echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 22587 { $as_echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
21755echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6; } 22588$as_echo_n "checking for intXX_t and u_intXX_t types in sys/bitypes.h... " >&6; }
21756 cat >conftest.$ac_ext <<_ACEOF 22589 cat >conftest.$ac_ext <<_ACEOF
21757/* confdefs.h. */ 22590/* confdefs.h. */
21758_ACEOF 22591_ACEOF
@@ -21780,13 +22613,14 @@ case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;; 22614 *) ac_try_echo=$ac_try;;
21782esac 22615esac
21783eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22616eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22617$as_echo "$ac_try_echo") >&5
21784 (eval "$ac_compile") 2>conftest.er1 22618 (eval "$ac_compile") 2>conftest.er1
21785 ac_status=$? 22619 ac_status=$?
21786 grep -v '^ *+' conftest.er1 >conftest.err 22620 grep -v '^ *+' conftest.er1 >conftest.err
21787 rm -f conftest.er1 22621 rm -f conftest.er1
21788 cat conftest.err >&5 22622 cat conftest.err >&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); } && { 22624 (exit $ac_status); } && {
21791 test -z "$ac_c_werror_flag" || 22625 test -z "$ac_c_werror_flag" ||
21792 test ! -s conftest.err 22626 test ! -s conftest.err
@@ -21800,15 +22634,15 @@ _ACEOF
21800#define HAVE_INTXX_T 1 22634#define HAVE_INTXX_T 1
21801_ACEOF 22635_ACEOF
21802 22636
21803 { echo "$as_me:$LINENO: result: yes" >&5 22637 { $as_echo "$as_me:$LINENO: result: yes" >&5
21804echo "${ECHO_T}yes" >&6; } 22638$as_echo "yes" >&6; }
21805 22639
21806else 22640else
21807 echo "$as_me: failed program was:" >&5 22641 $as_echo "$as_me: failed program was:" >&5
21808sed 's/^/| /' conftest.$ac_ext >&5 22642sed 's/^/| /' conftest.$ac_ext >&5
21809 22643
21810 { echo "$as_me:$LINENO: result: no" >&5 22644 { $as_echo "$as_me:$LINENO: result: no" >&5
21811echo "${ECHO_T}no" >&6; } 22645$as_echo "no" >&6; }
21812 22646
21813fi 22647fi
21814 22648
@@ -21816,10 +22650,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816fi 22650fi
21817 22651
21818 22652
21819{ echo "$as_me:$LINENO: checking for u_char" >&5 22653{ $as_echo "$as_me:$LINENO: checking for u_char" >&5
21820echo $ECHO_N "checking for u_char... $ECHO_C" >&6; } 22654$as_echo_n "checking for u_char... " >&6; }
21821if test "${ac_cv_have_u_char+set}" = set; then 22655if test "${ac_cv_have_u_char+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6 22656 $as_echo_n "(cached) " >&6
21823else 22657else
21824 22658
21825 cat >conftest.$ac_ext <<_ACEOF 22659 cat >conftest.$ac_ext <<_ACEOF
@@ -21845,20 +22679,21 @@ case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;; 22680 *) ac_try_echo=$ac_try;;
21847esac 22681esac
21848eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22682eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22683$as_echo "$ac_try_echo") >&5
21849 (eval "$ac_compile") 2>conftest.er1 22684 (eval "$ac_compile") 2>conftest.er1
21850 ac_status=$? 22685 ac_status=$?
21851 grep -v '^ *+' conftest.er1 >conftest.err 22686 grep -v '^ *+' conftest.er1 >conftest.err
21852 rm -f conftest.er1 22687 rm -f conftest.er1
21853 cat conftest.err >&5 22688 cat conftest.err >&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } && { 22690 (exit $ac_status); } && {
21856 test -z "$ac_c_werror_flag" || 22691 test -z "$ac_c_werror_flag" ||
21857 test ! -s conftest.err 22692 test ! -s conftest.err
21858 } && test -s conftest.$ac_objext; then 22693 } && test -s conftest.$ac_objext; then
21859 ac_cv_have_u_char="yes" 22694 ac_cv_have_u_char="yes"
21860else 22695else
21861 echo "$as_me: failed program was:" >&5 22696 $as_echo "$as_me: failed program was:" >&5
21862sed 's/^/| /' conftest.$ac_ext >&5 22697sed 's/^/| /' conftest.$ac_ext >&5
21863 22698
21864 ac_cv_have_u_char="no" 22699 ac_cv_have_u_char="no"
@@ -21868,8 +22703,8 @@ fi
21868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21869 22704
21870fi 22705fi
21871{ echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 22706{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
21872echo "${ECHO_T}$ac_cv_have_u_char" >&6; } 22707$as_echo "$ac_cv_have_u_char" >&6; }
21873if test "x$ac_cv_have_u_char" = "xyes" ; then 22708if test "x$ac_cv_have_u_char" = "xyes" ; then
21874 22709
21875cat >>confdefs.h <<\_ACEOF 22710cat >>confdefs.h <<\_ACEOF
@@ -21879,12 +22714,13 @@ _ACEOF
21879fi 22714fi
21880 22715
21881 22716
21882 { echo "$as_me:$LINENO: checking for socklen_t" >&5 22717 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
21883echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } 22718$as_echo_n "checking for socklen_t... " >&6; }
21884if test "${ac_cv_type_socklen_t+set}" = set; then 22719if test "${ac_cv_type_socklen_t+set}" = set; then
21885 echo $ECHO_N "(cached) $ECHO_C" >&6 22720 $as_echo_n "(cached) " >&6
21886else 22721else
21887 cat >conftest.$ac_ext <<_ACEOF 22722 ac_cv_type_socklen_t=no
22723cat >conftest.$ac_ext <<_ACEOF
21888/* confdefs.h. */ 22724/* confdefs.h. */
21889_ACEOF 22725_ACEOF
21890cat confdefs.h >>conftest.$ac_ext 22726cat confdefs.h >>conftest.$ac_ext
@@ -21893,14 +22729,47 @@ cat >>conftest.$ac_ext <<_ACEOF
21893#include <sys/types.h> 22729#include <sys/types.h>
21894#include <sys/socket.h> 22730#include <sys/socket.h>
21895 22731
21896typedef socklen_t ac__type_new_;
21897int 22732int
21898main () 22733main ()
21899{ 22734{
21900if ((ac__type_new_ *) 0) 22735if (sizeof (socklen_t))
21901 return 0; 22736 return 0;
21902if (sizeof (ac__type_new_)) 22737 ;
21903 return 0; 22738 return 0;
22739}
22740_ACEOF
22741rm -f conftest.$ac_objext
22742if { (ac_try="$ac_compile"
22743case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22746esac
22747eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22748$as_echo "$ac_try_echo") >&5
22749 (eval "$ac_compile") 2>conftest.er1
22750 ac_status=$?
22751 grep -v '^ *+' conftest.er1 >conftest.err
22752 rm -f conftest.er1
22753 cat conftest.err >&5
22754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); } && {
22756 test -z "$ac_c_werror_flag" ||
22757 test ! -s conftest.err
22758 } && test -s conftest.$ac_objext; then
22759 cat >conftest.$ac_ext <<_ACEOF
22760/* confdefs.h. */
22761_ACEOF
22762cat confdefs.h >>conftest.$ac_ext
22763cat >>conftest.$ac_ext <<_ACEOF
22764/* end confdefs.h. */
22765#include <sys/types.h>
22766#include <sys/socket.h>
22767
22768int
22769main ()
22770{
22771if (sizeof ((socklen_t)))
22772 return 0;
21904 ; 22773 ;
21905 return 0; 22774 return 0;
21906} 22775}
@@ -21911,37 +22780,46 @@ case "(($ac_try" in
21911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;; 22781 *) ac_try_echo=$ac_try;;
21913esac 22782esac
21914eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22783eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22784$as_echo "$ac_try_echo") >&5
21915 (eval "$ac_compile") 2>conftest.er1 22785 (eval "$ac_compile") 2>conftest.er1
21916 ac_status=$? 22786 ac_status=$?
21917 grep -v '^ *+' conftest.er1 >conftest.err 22787 grep -v '^ *+' conftest.er1 >conftest.err
21918 rm -f conftest.er1 22788 rm -f conftest.er1
21919 cat conftest.err >&5 22789 cat conftest.err >&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } && { 22791 (exit $ac_status); } && {
21922 test -z "$ac_c_werror_flag" || 22792 test -z "$ac_c_werror_flag" ||
21923 test ! -s conftest.err 22793 test ! -s conftest.err
21924 } && test -s conftest.$ac_objext; then 22794 } && test -s conftest.$ac_objext; then
21925 ac_cv_type_socklen_t=yes 22795 :
21926else 22796else
21927 echo "$as_me: failed program was:" >&5 22797 $as_echo "$as_me: failed program was:" >&5
21928sed 's/^/| /' conftest.$ac_ext >&5 22798sed 's/^/| /' conftest.$ac_ext >&5
21929 22799
21930 ac_cv_type_socklen_t=no 22800 ac_cv_type_socklen_t=yes
22801fi
22802
22803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804else
22805 $as_echo "$as_me: failed program was:" >&5
22806sed 's/^/| /' conftest.$ac_ext >&5
22807
22808
21931fi 22809fi
21932 22810
21933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934fi 22812fi
21935{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 22813{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
21936echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } 22814$as_echo "$ac_cv_type_socklen_t" >&6; }
21937if test $ac_cv_type_socklen_t = yes; then 22815if test $ac_cv_type_socklen_t = yes; then
21938 : 22816 :
21939else 22817else
21940 22818
21941 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 22819 { $as_echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
21942echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; } 22820$as_echo_n "checking for socklen_t equivalent... " >&6; }
21943 if test "${curl_cv_socklen_t_equiv+set}" = set; then 22821 if test "${curl_cv_socklen_t_equiv+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6 22822 $as_echo_n "(cached) " >&6
21945else 22823else
21946 22824
21947 # Systems have either "struct sockaddr *" or 22825 # Systems have either "struct sockaddr *" or
@@ -21978,13 +22856,14 @@ case "(($ac_try" in
21978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21979 *) ac_try_echo=$ac_try;; 22857 *) ac_try_echo=$ac_try;;
21980esac 22858esac
21981eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22859eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22860$as_echo "$ac_try_echo") >&5
21982 (eval "$ac_compile") 2>conftest.er1 22861 (eval "$ac_compile") 2>conftest.er1
21983 ac_status=$? 22862 ac_status=$?
21984 grep -v '^ *+' conftest.er1 >conftest.err 22863 grep -v '^ *+' conftest.er1 >conftest.err
21985 rm -f conftest.er1 22864 rm -f conftest.er1
21986 cat conftest.err >&5 22865 cat conftest.err >&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } && { 22867 (exit $ac_status); } && {
21989 test -z "$ac_c_werror_flag" || 22868 test -z "$ac_c_werror_flag" ||
21990 test ! -s conftest.err 22869 test ! -s conftest.err
@@ -21994,7 +22873,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 break 22873 break
21995 22874
21996else 22875else
21997 echo "$as_me: failed program was:" >&5 22876 $as_echo "$as_me: failed program was:" >&5
21998sed 's/^/| /' conftest.$ac_ext >&5 22877sed 's/^/| /' conftest.$ac_ext >&5
21999 22878
22000 22879
@@ -22005,15 +22884,15 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22005 done 22884 done
22006 22885
22007 if test "x$curl_cv_socklen_t_equiv" = x; then 22886 if test "x$curl_cv_socklen_t_equiv" = x; then
22008 { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5 22887 { { $as_echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
22009echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} 22888$as_echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
22010 { (exit 1); exit 1; }; } 22889 { (exit 1); exit 1; }; }
22011 fi 22890 fi
22012 22891
22013fi 22892fi
22014 22893
22015 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 22894 { $as_echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
22016echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; } 22895$as_echo "$curl_cv_socklen_t_equiv" >&6; }
22017 22896
22018cat >>confdefs.h <<_ACEOF 22897cat >>confdefs.h <<_ACEOF
22019#define socklen_t $curl_cv_socklen_t_equiv 22898#define socklen_t $curl_cv_socklen_t_equiv
@@ -22023,12 +22902,13 @@ fi
22023 22902
22024 22903
22025 22904
22026{ echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 22905{ $as_echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
22027echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; } 22906$as_echo_n "checking for sig_atomic_t... " >&6; }
22028if test "${ac_cv_type_sig_atomic_t+set}" = set; then 22907if test "${ac_cv_type_sig_atomic_t+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6 22908 $as_echo_n "(cached) " >&6
22030else 22909else
22031 cat >conftest.$ac_ext <<_ACEOF 22910 ac_cv_type_sig_atomic_t=no
22911cat >conftest.$ac_ext <<_ACEOF
22032/* confdefs.h. */ 22912/* confdefs.h. */
22033_ACEOF 22913_ACEOF
22034cat confdefs.h >>conftest.$ac_ext 22914cat confdefs.h >>conftest.$ac_ext
@@ -22036,14 +22916,46 @@ cat >>conftest.$ac_ext <<_ACEOF
22036/* end confdefs.h. */ 22916/* end confdefs.h. */
22037#include <signal.h> 22917#include <signal.h>
22038 22918
22039typedef sig_atomic_t ac__type_new_;
22040int 22919int
22041main () 22920main ()
22042{ 22921{
22043if ((ac__type_new_ *) 0) 22922if (sizeof (sig_atomic_t))
22044 return 0; 22923 return 0;
22045if (sizeof (ac__type_new_)) 22924 ;
22046 return 0; 22925 return 0;
22926}
22927_ACEOF
22928rm -f conftest.$ac_objext
22929if { (ac_try="$ac_compile"
22930case "(($ac_try" in
22931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22932 *) ac_try_echo=$ac_try;;
22933esac
22934eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22935$as_echo "$ac_try_echo") >&5
22936 (eval "$ac_compile") 2>conftest.er1
22937 ac_status=$?
22938 grep -v '^ *+' conftest.er1 >conftest.err
22939 rm -f conftest.er1
22940 cat conftest.err >&5
22941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } && {
22943 test -z "$ac_c_werror_flag" ||
22944 test ! -s conftest.err
22945 } && test -s conftest.$ac_objext; then
22946 cat >conftest.$ac_ext <<_ACEOF
22947/* confdefs.h. */
22948_ACEOF
22949cat confdefs.h >>conftest.$ac_ext
22950cat >>conftest.$ac_ext <<_ACEOF
22951/* end confdefs.h. */
22952#include <signal.h>
22953
22954int
22955main ()
22956{
22957if (sizeof ((sig_atomic_t)))
22958 return 0;
22047 ; 22959 ;
22048 return 0; 22960 return 0;
22049} 22961}
@@ -22054,29 +22966,38 @@ case "(($ac_try" in
22054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22055 *) ac_try_echo=$ac_try;; 22967 *) ac_try_echo=$ac_try;;
22056esac 22968esac
22057eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22969eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22970$as_echo "$ac_try_echo") >&5
22058 (eval "$ac_compile") 2>conftest.er1 22971 (eval "$ac_compile") 2>conftest.er1
22059 ac_status=$? 22972 ac_status=$?
22060 grep -v '^ *+' conftest.er1 >conftest.err 22973 grep -v '^ *+' conftest.er1 >conftest.err
22061 rm -f conftest.er1 22974 rm -f conftest.er1
22062 cat conftest.err >&5 22975 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && { 22977 (exit $ac_status); } && {
22065 test -z "$ac_c_werror_flag" || 22978 test -z "$ac_c_werror_flag" ||
22066 test ! -s conftest.err 22979 test ! -s conftest.err
22067 } && test -s conftest.$ac_objext; then 22980 } && test -s conftest.$ac_objext; then
22068 ac_cv_type_sig_atomic_t=yes 22981 :
22069else 22982else
22070 echo "$as_me: failed program was:" >&5 22983 $as_echo "$as_me: failed program was:" >&5
22071sed 's/^/| /' conftest.$ac_ext >&5 22984sed 's/^/| /' conftest.$ac_ext >&5
22072 22985
22073 ac_cv_type_sig_atomic_t=no 22986 ac_cv_type_sig_atomic_t=yes
22074fi 22987fi
22075 22988
22076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22990else
22991 $as_echo "$as_me: failed program was:" >&5
22992sed 's/^/| /' conftest.$ac_ext >&5
22993
22994
22077fi 22995fi
22078{ echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 22996
22079echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; } 22997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998fi
22999{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
23000$as_echo "$ac_cv_type_sig_atomic_t" >&6; }
22080if test $ac_cv_type_sig_atomic_t = yes; then 23001if test $ac_cv_type_sig_atomic_t = yes; then
22081 23002
22082cat >>confdefs.h <<_ACEOF 23003cat >>confdefs.h <<_ACEOF
@@ -22086,12 +23007,13 @@ _ACEOF
22086 23007
22087fi 23008fi
22088 23009
22089{ echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5 23010{ $as_echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
22090echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; } 23011$as_echo_n "checking for fsblkcnt_t... " >&6; }
22091if test "${ac_cv_type_fsblkcnt_t+set}" = set; then 23012if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
22092 echo $ECHO_N "(cached) $ECHO_C" >&6 23013 $as_echo_n "(cached) " >&6
22093else 23014else
22094 cat >conftest.$ac_ext <<_ACEOF 23015 ac_cv_type_fsblkcnt_t=no
23016cat >conftest.$ac_ext <<_ACEOF
22095/* confdefs.h. */ 23017/* confdefs.h. */
22096_ACEOF 23018_ACEOF
22097cat confdefs.h >>conftest.$ac_ext 23019cat confdefs.h >>conftest.$ac_ext
@@ -22110,14 +23032,57 @@ cat >>conftest.$ac_ext <<_ACEOF
22110#endif 23032#endif
22111 23033
22112 23034
22113typedef fsblkcnt_t ac__type_new_;
22114int 23035int
22115main () 23036main ()
22116{ 23037{
22117if ((ac__type_new_ *) 0) 23038if (sizeof (fsblkcnt_t))
22118 return 0; 23039 return 0;
22119if (sizeof (ac__type_new_)) 23040 ;
22120 return 0; 23041 return 0;
23042}
23043_ACEOF
23044rm -f conftest.$ac_objext
23045if { (ac_try="$ac_compile"
23046case "(($ac_try" in
23047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23048 *) ac_try_echo=$ac_try;;
23049esac
23050eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23051$as_echo "$ac_try_echo") >&5
23052 (eval "$ac_compile") 2>conftest.er1
23053 ac_status=$?
23054 grep -v '^ *+' conftest.er1 >conftest.err
23055 rm -f conftest.er1
23056 cat conftest.err >&5
23057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } && {
23059 test -z "$ac_c_werror_flag" ||
23060 test ! -s conftest.err
23061 } && test -s conftest.$ac_objext; then
23062 cat >conftest.$ac_ext <<_ACEOF
23063/* confdefs.h. */
23064_ACEOF
23065cat confdefs.h >>conftest.$ac_ext
23066cat >>conftest.$ac_ext <<_ACEOF
23067/* end confdefs.h. */
23068
23069#include <sys/types.h>
23070#ifdef HAVE_SYS_BITYPES_H
23071#include <sys/bitypes.h>
23072#endif
23073#ifdef HAVE_SYS_STATFS_H
23074#include <sys/statfs.h>
23075#endif
23076#ifdef HAVE_SYS_STATVFS_H
23077#include <sys/statvfs.h>
23078#endif
23079
23080
23081int
23082main ()
23083{
23084if (sizeof ((fsblkcnt_t)))
23085 return 0;
22121 ; 23086 ;
22122 return 0; 23087 return 0;
22123} 23088}
@@ -22128,29 +23093,38 @@ case "(($ac_try" in
22128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22129 *) ac_try_echo=$ac_try;; 23094 *) ac_try_echo=$ac_try;;
22130esac 23095esac
22131eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23096eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23097$as_echo "$ac_try_echo") >&5
22132 (eval "$ac_compile") 2>conftest.er1 23098 (eval "$ac_compile") 2>conftest.er1
22133 ac_status=$? 23099 ac_status=$?
22134 grep -v '^ *+' conftest.er1 >conftest.err 23100 grep -v '^ *+' conftest.er1 >conftest.err
22135 rm -f conftest.er1 23101 rm -f conftest.er1
22136 cat conftest.err >&5 23102 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } && { 23104 (exit $ac_status); } && {
22139 test -z "$ac_c_werror_flag" || 23105 test -z "$ac_c_werror_flag" ||
22140 test ! -s conftest.err 23106 test ! -s conftest.err
22141 } && test -s conftest.$ac_objext; then 23107 } && test -s conftest.$ac_objext; then
22142 ac_cv_type_fsblkcnt_t=yes 23108 :
22143else 23109else
22144 echo "$as_me: failed program was:" >&5 23110 $as_echo "$as_me: failed program was:" >&5
22145sed 's/^/| /' conftest.$ac_ext >&5 23111sed 's/^/| /' conftest.$ac_ext >&5
22146 23112
22147 ac_cv_type_fsblkcnt_t=no 23113 ac_cv_type_fsblkcnt_t=yes
23114fi
23115
23116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23117else
23118 $as_echo "$as_me: failed program was:" >&5
23119sed 's/^/| /' conftest.$ac_ext >&5
23120
23121
22148fi 23122fi
22149 23123
22150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22151fi 23125fi
22152{ echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5 23126{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
22153echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; } 23127$as_echo "$ac_cv_type_fsblkcnt_t" >&6; }
22154if test $ac_cv_type_fsblkcnt_t = yes; then 23128if test $ac_cv_type_fsblkcnt_t = yes; then
22155 23129
22156cat >>confdefs.h <<_ACEOF 23130cat >>confdefs.h <<_ACEOF
@@ -22159,12 +23133,13 @@ _ACEOF
22159 23133
22160 23134
22161fi 23135fi
22162{ echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5 23136{ $as_echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
22163echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; } 23137$as_echo_n "checking for fsfilcnt_t... " >&6; }
22164if test "${ac_cv_type_fsfilcnt_t+set}" = set; then 23138if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
22165 echo $ECHO_N "(cached) $ECHO_C" >&6 23139 $as_echo_n "(cached) " >&6
22166else 23140else
22167 cat >conftest.$ac_ext <<_ACEOF 23141 ac_cv_type_fsfilcnt_t=no
23142cat >conftest.$ac_ext <<_ACEOF
22168/* confdefs.h. */ 23143/* confdefs.h. */
22169_ACEOF 23144_ACEOF
22170cat confdefs.h >>conftest.$ac_ext 23145cat confdefs.h >>conftest.$ac_ext
@@ -22183,14 +23158,57 @@ cat >>conftest.$ac_ext <<_ACEOF
22183#endif 23158#endif
22184 23159
22185 23160
22186typedef fsfilcnt_t ac__type_new_;
22187int 23161int
22188main () 23162main ()
22189{ 23163{
22190if ((ac__type_new_ *) 0) 23164if (sizeof (fsfilcnt_t))
22191 return 0; 23165 return 0;
22192if (sizeof (ac__type_new_)) 23166 ;
22193 return 0; 23167 return 0;
23168}
23169_ACEOF
23170rm -f conftest.$ac_objext
23171if { (ac_try="$ac_compile"
23172case "(($ac_try" in
23173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23174 *) ac_try_echo=$ac_try;;
23175esac
23176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23177$as_echo "$ac_try_echo") >&5
23178 (eval "$ac_compile") 2>conftest.er1
23179 ac_status=$?
23180 grep -v '^ *+' conftest.er1 >conftest.err
23181 rm -f conftest.er1
23182 cat conftest.err >&5
23183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } && {
23185 test -z "$ac_c_werror_flag" ||
23186 test ! -s conftest.err
23187 } && test -s conftest.$ac_objext; then
23188 cat >conftest.$ac_ext <<_ACEOF
23189/* confdefs.h. */
23190_ACEOF
23191cat confdefs.h >>conftest.$ac_ext
23192cat >>conftest.$ac_ext <<_ACEOF
23193/* end confdefs.h. */
23194
23195#include <sys/types.h>
23196#ifdef HAVE_SYS_BITYPES_H
23197#include <sys/bitypes.h>
23198#endif
23199#ifdef HAVE_SYS_STATFS_H
23200#include <sys/statfs.h>
23201#endif
23202#ifdef HAVE_SYS_STATVFS_H
23203#include <sys/statvfs.h>
23204#endif
23205
23206
23207int
23208main ()
23209{
23210if (sizeof ((fsfilcnt_t)))
23211 return 0;
22194 ; 23212 ;
22195 return 0; 23213 return 0;
22196} 23214}
@@ -22201,29 +23219,38 @@ case "(($ac_try" in
22201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22202 *) ac_try_echo=$ac_try;; 23220 *) ac_try_echo=$ac_try;;
22203esac 23221esac
22204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23222eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23223$as_echo "$ac_try_echo") >&5
22205 (eval "$ac_compile") 2>conftest.er1 23224 (eval "$ac_compile") 2>conftest.er1
22206 ac_status=$? 23225 ac_status=$?
22207 grep -v '^ *+' conftest.er1 >conftest.err 23226 grep -v '^ *+' conftest.er1 >conftest.err
22208 rm -f conftest.er1 23227 rm -f conftest.er1
22209 cat conftest.err >&5 23228 cat conftest.err >&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } && { 23230 (exit $ac_status); } && {
22212 test -z "$ac_c_werror_flag" || 23231 test -z "$ac_c_werror_flag" ||
22213 test ! -s conftest.err 23232 test ! -s conftest.err
22214 } && test -s conftest.$ac_objext; then 23233 } && test -s conftest.$ac_objext; then
22215 ac_cv_type_fsfilcnt_t=yes 23234 :
23235else
23236 $as_echo "$as_me: failed program was:" >&5
23237sed 's/^/| /' conftest.$ac_ext >&5
23238
23239 ac_cv_type_fsfilcnt_t=yes
23240fi
23241
23242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22216else 23243else
22217 echo "$as_me: failed program was:" >&5 23244 $as_echo "$as_me: failed program was:" >&5
22218sed 's/^/| /' conftest.$ac_ext >&5 23245sed 's/^/| /' conftest.$ac_ext >&5
22219 23246
22220 ac_cv_type_fsfilcnt_t=no 23247
22221fi 23248fi
22222 23249
22223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22224fi 23251fi
22225{ echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5 23252{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
22226echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; } 23253$as_echo "$ac_cv_type_fsfilcnt_t" >&6; }
22227if test $ac_cv_type_fsfilcnt_t = yes; then 23254if test $ac_cv_type_fsfilcnt_t = yes; then
22228 23255
22229cat >>confdefs.h <<_ACEOF 23256cat >>confdefs.h <<_ACEOF
@@ -22234,12 +23261,13 @@ _ACEOF
22234fi 23261fi
22235 23262
22236 23263
22237{ echo "$as_me:$LINENO: checking for in_addr_t" >&5 23264{ $as_echo "$as_me:$LINENO: checking for in_addr_t" >&5
22238echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; } 23265$as_echo_n "checking for in_addr_t... " >&6; }
22239if test "${ac_cv_type_in_addr_t+set}" = set; then 23266if test "${ac_cv_type_in_addr_t+set}" = set; then
22240 echo $ECHO_N "(cached) $ECHO_C" >&6 23267 $as_echo_n "(cached) " >&6
22241else 23268else
22242 cat >conftest.$ac_ext <<_ACEOF 23269 ac_cv_type_in_addr_t=no
23270cat >conftest.$ac_ext <<_ACEOF
22243/* confdefs.h. */ 23271/* confdefs.h. */
22244_ACEOF 23272_ACEOF
22245cat confdefs.h >>conftest.$ac_ext 23273cat confdefs.h >>conftest.$ac_ext
@@ -22248,14 +23276,47 @@ cat >>conftest.$ac_ext <<_ACEOF
22248#include <sys/types.h> 23276#include <sys/types.h>
22249#include <netinet/in.h> 23277#include <netinet/in.h>
22250 23278
22251typedef in_addr_t ac__type_new_;
22252int 23279int
22253main () 23280main ()
22254{ 23281{
22255if ((ac__type_new_ *) 0) 23282if (sizeof (in_addr_t))
22256 return 0; 23283 return 0;
22257if (sizeof (ac__type_new_)) 23284 ;
22258 return 0; 23285 return 0;
23286}
23287_ACEOF
23288rm -f conftest.$ac_objext
23289if { (ac_try="$ac_compile"
23290case "(($ac_try" in
23291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23292 *) ac_try_echo=$ac_try;;
23293esac
23294eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23295$as_echo "$ac_try_echo") >&5
23296 (eval "$ac_compile") 2>conftest.er1
23297 ac_status=$?
23298 grep -v '^ *+' conftest.er1 >conftest.err
23299 rm -f conftest.er1
23300 cat conftest.err >&5
23301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); } && {
23303 test -z "$ac_c_werror_flag" ||
23304 test ! -s conftest.err
23305 } && test -s conftest.$ac_objext; then
23306 cat >conftest.$ac_ext <<_ACEOF
23307/* confdefs.h. */
23308_ACEOF
23309cat confdefs.h >>conftest.$ac_ext
23310cat >>conftest.$ac_ext <<_ACEOF
23311/* end confdefs.h. */
23312#include <sys/types.h>
23313#include <netinet/in.h>
23314
23315int
23316main ()
23317{
23318if (sizeof ((in_addr_t)))
23319 return 0;
22259 ; 23320 ;
22260 return 0; 23321 return 0;
22261} 23322}
@@ -22266,29 +23327,38 @@ case "(($ac_try" in
22266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;; 23328 *) ac_try_echo=$ac_try;;
22268esac 23329esac
22269eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23330eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23331$as_echo "$ac_try_echo") >&5
22270 (eval "$ac_compile") 2>conftest.er1 23332 (eval "$ac_compile") 2>conftest.er1
22271 ac_status=$? 23333 ac_status=$?
22272 grep -v '^ *+' conftest.er1 >conftest.err 23334 grep -v '^ *+' conftest.er1 >conftest.err
22273 rm -f conftest.er1 23335 rm -f conftest.er1
22274 cat conftest.err >&5 23336 cat conftest.err >&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } && { 23338 (exit $ac_status); } && {
22277 test -z "$ac_c_werror_flag" || 23339 test -z "$ac_c_werror_flag" ||
22278 test ! -s conftest.err 23340 test ! -s conftest.err
22279 } && test -s conftest.$ac_objext; then 23341 } && test -s conftest.$ac_objext; then
22280 ac_cv_type_in_addr_t=yes 23342 :
22281else 23343else
22282 echo "$as_me: failed program was:" >&5 23344 $as_echo "$as_me: failed program was:" >&5
22283sed 's/^/| /' conftest.$ac_ext >&5 23345sed 's/^/| /' conftest.$ac_ext >&5
22284 23346
22285 ac_cv_type_in_addr_t=no 23347 ac_cv_type_in_addr_t=yes
23348fi
23349
23350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351else
23352 $as_echo "$as_me: failed program was:" >&5
23353sed 's/^/| /' conftest.$ac_ext >&5
23354
23355
22286fi 23356fi
22287 23357
22288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22289fi 23359fi
22290{ echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5 23360{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
22291echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6; } 23361$as_echo "$ac_cv_type_in_addr_t" >&6; }
22292if test $ac_cv_type_in_addr_t = yes; then 23362if test $ac_cv_type_in_addr_t = yes; then
22293 23363
22294cat >>confdefs.h <<_ACEOF 23364cat >>confdefs.h <<_ACEOF
@@ -22297,12 +23367,118 @@ _ACEOF
22297 23367
22298 23368
22299fi 23369fi
23370{ $as_echo "$as_me:$LINENO: checking for in_port_t" >&5
23371$as_echo_n "checking for in_port_t... " >&6; }
23372if test "${ac_cv_type_in_port_t+set}" = set; then
23373 $as_echo_n "(cached) " >&6
23374else
23375 ac_cv_type_in_port_t=no
23376cat >conftest.$ac_ext <<_ACEOF
23377/* confdefs.h. */
23378_ACEOF
23379cat confdefs.h >>conftest.$ac_ext
23380cat >>conftest.$ac_ext <<_ACEOF
23381/* end confdefs.h. */
23382#include <sys/types.h>
23383#include <netinet/in.h>
23384
23385int
23386main ()
23387{
23388if (sizeof (in_port_t))
23389 return 0;
23390 ;
23391 return 0;
23392}
23393_ACEOF
23394rm -f conftest.$ac_objext
23395if { (ac_try="$ac_compile"
23396case "(($ac_try" in
23397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23398 *) ac_try_echo=$ac_try;;
23399esac
23400eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23401$as_echo "$ac_try_echo") >&5
23402 (eval "$ac_compile") 2>conftest.er1
23403 ac_status=$?
23404 grep -v '^ *+' conftest.er1 >conftest.err
23405 rm -f conftest.er1
23406 cat conftest.err >&5
23407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && {
23409 test -z "$ac_c_werror_flag" ||
23410 test ! -s conftest.err
23411 } && test -s conftest.$ac_objext; then
23412 cat >conftest.$ac_ext <<_ACEOF
23413/* confdefs.h. */
23414_ACEOF
23415cat confdefs.h >>conftest.$ac_ext
23416cat >>conftest.$ac_ext <<_ACEOF
23417/* end confdefs.h. */
23418#include <sys/types.h>
23419#include <netinet/in.h>
23420
23421int
23422main ()
23423{
23424if (sizeof ((in_port_t)))
23425 return 0;
23426 ;
23427 return 0;
23428}
23429_ACEOF
23430rm -f conftest.$ac_objext
23431if { (ac_try="$ac_compile"
23432case "(($ac_try" in
23433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23434 *) ac_try_echo=$ac_try;;
23435esac
23436eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23437$as_echo "$ac_try_echo") >&5
23438 (eval "$ac_compile") 2>conftest.er1
23439 ac_status=$?
23440 grep -v '^ *+' conftest.er1 >conftest.err
23441 rm -f conftest.er1
23442 cat conftest.err >&5
23443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); } && {
23445 test -z "$ac_c_werror_flag" ||
23446 test ! -s conftest.err
23447 } && test -s conftest.$ac_objext; then
23448 :
23449else
23450 $as_echo "$as_me: failed program was:" >&5
23451sed 's/^/| /' conftest.$ac_ext >&5
23452
23453 ac_cv_type_in_port_t=yes
23454fi
23455
23456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23457else
23458 $as_echo "$as_me: failed program was:" >&5
23459sed 's/^/| /' conftest.$ac_ext >&5
23460
23461
23462fi
23463
23464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23465fi
23466{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_in_port_t" >&5
23467$as_echo "$ac_cv_type_in_port_t" >&6; }
23468if test $ac_cv_type_in_port_t = yes; then
23469
23470cat >>confdefs.h <<_ACEOF
23471#define HAVE_IN_PORT_T 1
23472_ACEOF
23473
23474
23475fi
22300 23476
22301 23477
22302{ echo "$as_me:$LINENO: checking for size_t" >&5 23478{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
22303echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 23479$as_echo_n "checking for size_t... " >&6; }
22304if test "${ac_cv_have_size_t+set}" = set; then 23480if test "${ac_cv_have_size_t+set}" = set; then
22305 echo $ECHO_N "(cached) $ECHO_C" >&6 23481 $as_echo_n "(cached) " >&6
22306else 23482else
22307 23483
22308 cat >conftest.$ac_ext <<_ACEOF 23484 cat >conftest.$ac_ext <<_ACEOF
@@ -22328,20 +23504,21 @@ case "(($ac_try" in
22328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22329 *) ac_try_echo=$ac_try;; 23505 *) ac_try_echo=$ac_try;;
22330esac 23506esac
22331eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23507eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23508$as_echo "$ac_try_echo") >&5
22332 (eval "$ac_compile") 2>conftest.er1 23509 (eval "$ac_compile") 2>conftest.er1
22333 ac_status=$? 23510 ac_status=$?
22334 grep -v '^ *+' conftest.er1 >conftest.err 23511 grep -v '^ *+' conftest.er1 >conftest.err
22335 rm -f conftest.er1 23512 rm -f conftest.er1
22336 cat conftest.err >&5 23513 cat conftest.err >&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } && { 23515 (exit $ac_status); } && {
22339 test -z "$ac_c_werror_flag" || 23516 test -z "$ac_c_werror_flag" ||
22340 test ! -s conftest.err 23517 test ! -s conftest.err
22341 } && test -s conftest.$ac_objext; then 23518 } && test -s conftest.$ac_objext; then
22342 ac_cv_have_size_t="yes" 23519 ac_cv_have_size_t="yes"
22343else 23520else
22344 echo "$as_me: failed program was:" >&5 23521 $as_echo "$as_me: failed program was:" >&5
22345sed 's/^/| /' conftest.$ac_ext >&5 23522sed 's/^/| /' conftest.$ac_ext >&5
22346 23523
22347 ac_cv_have_size_t="no" 23524 ac_cv_have_size_t="no"
@@ -22351,8 +23528,8 @@ fi
22351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22352 23529
22353fi 23530fi
22354{ echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 23531{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
22355echo "${ECHO_T}$ac_cv_have_size_t" >&6; } 23532$as_echo "$ac_cv_have_size_t" >&6; }
22356if test "x$ac_cv_have_size_t" = "xyes" ; then 23533if test "x$ac_cv_have_size_t" = "xyes" ; then
22357 23534
22358cat >>confdefs.h <<\_ACEOF 23535cat >>confdefs.h <<\_ACEOF
@@ -22361,10 +23538,10 @@ _ACEOF
22361 23538
22362fi 23539fi
22363 23540
22364{ echo "$as_me:$LINENO: checking for ssize_t" >&5 23541{ $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
22365echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; } 23542$as_echo_n "checking for ssize_t... " >&6; }
22366if test "${ac_cv_have_ssize_t+set}" = set; then 23543if test "${ac_cv_have_ssize_t+set}" = set; then
22367 echo $ECHO_N "(cached) $ECHO_C" >&6 23544 $as_echo_n "(cached) " >&6
22368else 23545else
22369 23546
22370 cat >conftest.$ac_ext <<_ACEOF 23547 cat >conftest.$ac_ext <<_ACEOF
@@ -22390,20 +23567,21 @@ case "(($ac_try" in
22390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22391 *) ac_try_echo=$ac_try;; 23568 *) ac_try_echo=$ac_try;;
22392esac 23569esac
22393eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23570eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23571$as_echo "$ac_try_echo") >&5
22394 (eval "$ac_compile") 2>conftest.er1 23572 (eval "$ac_compile") 2>conftest.er1
22395 ac_status=$? 23573 ac_status=$?
22396 grep -v '^ *+' conftest.er1 >conftest.err 23574 grep -v '^ *+' conftest.er1 >conftest.err
22397 rm -f conftest.er1 23575 rm -f conftest.er1
22398 cat conftest.err >&5 23576 cat conftest.err >&5
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); } && { 23578 (exit $ac_status); } && {
22401 test -z "$ac_c_werror_flag" || 23579 test -z "$ac_c_werror_flag" ||
22402 test ! -s conftest.err 23580 test ! -s conftest.err
22403 } && test -s conftest.$ac_objext; then 23581 } && test -s conftest.$ac_objext; then
22404 ac_cv_have_ssize_t="yes" 23582 ac_cv_have_ssize_t="yes"
22405else 23583else
22406 echo "$as_me: failed program was:" >&5 23584 $as_echo "$as_me: failed program was:" >&5
22407sed 's/^/| /' conftest.$ac_ext >&5 23585sed 's/^/| /' conftest.$ac_ext >&5
22408 23586
22409 ac_cv_have_ssize_t="no" 23587 ac_cv_have_ssize_t="no"
@@ -22413,8 +23591,8 @@ fi
22413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22414 23592
22415fi 23593fi
22416{ echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 23594{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
22417echo "${ECHO_T}$ac_cv_have_ssize_t" >&6; } 23595$as_echo "$ac_cv_have_ssize_t" >&6; }
22418if test "x$ac_cv_have_ssize_t" = "xyes" ; then 23596if test "x$ac_cv_have_ssize_t" = "xyes" ; then
22419 23597
22420cat >>confdefs.h <<\_ACEOF 23598cat >>confdefs.h <<\_ACEOF
@@ -22423,10 +23601,10 @@ _ACEOF
22423 23601
22424fi 23602fi
22425 23603
22426{ echo "$as_me:$LINENO: checking for clock_t" >&5 23604{ $as_echo "$as_me:$LINENO: checking for clock_t" >&5
22427echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } 23605$as_echo_n "checking for clock_t... " >&6; }
22428if test "${ac_cv_have_clock_t+set}" = set; then 23606if test "${ac_cv_have_clock_t+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6 23607 $as_echo_n "(cached) " >&6
22430else 23608else
22431 23609
22432 cat >conftest.$ac_ext <<_ACEOF 23610 cat >conftest.$ac_ext <<_ACEOF
@@ -22452,20 +23630,21 @@ case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;; 23631 *) ac_try_echo=$ac_try;;
22454esac 23632esac
22455eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23633eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23634$as_echo "$ac_try_echo") >&5
22456 (eval "$ac_compile") 2>conftest.er1 23635 (eval "$ac_compile") 2>conftest.er1
22457 ac_status=$? 23636 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err 23637 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1 23638 rm -f conftest.er1
22460 cat conftest.err >&5 23639 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && { 23641 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" || 23642 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err 23643 test ! -s conftest.err
22465 } && test -s conftest.$ac_objext; then 23644 } && test -s conftest.$ac_objext; then
22466 ac_cv_have_clock_t="yes" 23645 ac_cv_have_clock_t="yes"
22467else 23646else
22468 echo "$as_me: failed program was:" >&5 23647 $as_echo "$as_me: failed program was:" >&5
22469sed 's/^/| /' conftest.$ac_ext >&5 23648sed 's/^/| /' conftest.$ac_ext >&5
22470 23649
22471 ac_cv_have_clock_t="no" 23650 ac_cv_have_clock_t="no"
@@ -22475,8 +23654,8 @@ fi
22475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 23655
22477fi 23656fi
22478{ echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 23657{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
22479echo "${ECHO_T}$ac_cv_have_clock_t" >&6; } 23658$as_echo "$ac_cv_have_clock_t" >&6; }
22480if test "x$ac_cv_have_clock_t" = "xyes" ; then 23659if test "x$ac_cv_have_clock_t" = "xyes" ; then
22481 23660
22482cat >>confdefs.h <<\_ACEOF 23661cat >>confdefs.h <<\_ACEOF
@@ -22485,10 +23664,10 @@ _ACEOF
22485 23664
22486fi 23665fi
22487 23666
22488{ echo "$as_me:$LINENO: checking for sa_family_t" >&5 23667{ $as_echo "$as_me:$LINENO: checking for sa_family_t" >&5
22489echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; } 23668$as_echo_n "checking for sa_family_t... " >&6; }
22490if test "${ac_cv_have_sa_family_t+set}" = set; then 23669if test "${ac_cv_have_sa_family_t+set}" = set; then
22491 echo $ECHO_N "(cached) $ECHO_C" >&6 23670 $as_echo_n "(cached) " >&6
22492else 23671else
22493 23672
22494 cat >conftest.$ac_ext <<_ACEOF 23673 cat >conftest.$ac_ext <<_ACEOF
@@ -22515,20 +23694,21 @@ case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;; 23695 *) ac_try_echo=$ac_try;;
22517esac 23696esac
22518eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23697eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23698$as_echo "$ac_try_echo") >&5
22519 (eval "$ac_compile") 2>conftest.er1 23699 (eval "$ac_compile") 2>conftest.er1
22520 ac_status=$? 23700 ac_status=$?
22521 grep -v '^ *+' conftest.er1 >conftest.err 23701 grep -v '^ *+' conftest.er1 >conftest.err
22522 rm -f conftest.er1 23702 rm -f conftest.er1
22523 cat conftest.err >&5 23703 cat conftest.err >&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && { 23705 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" || 23706 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err 23707 test ! -s conftest.err
22528 } && test -s conftest.$ac_objext; then 23708 } && test -s conftest.$ac_objext; then
22529 ac_cv_have_sa_family_t="yes" 23709 ac_cv_have_sa_family_t="yes"
22530else 23710else
22531 echo "$as_me: failed program was:" >&5 23711 $as_echo "$as_me: failed program was:" >&5
22532sed 's/^/| /' conftest.$ac_ext >&5 23712sed 's/^/| /' conftest.$ac_ext >&5
22533 23713
22534 cat >conftest.$ac_ext <<_ACEOF 23714 cat >conftest.$ac_ext <<_ACEOF
@@ -22556,20 +23736,21 @@ case "(($ac_try" in
22556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22557 *) ac_try_echo=$ac_try;; 23737 *) ac_try_echo=$ac_try;;
22558esac 23738esac
22559eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23739eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23740$as_echo "$ac_try_echo") >&5
22560 (eval "$ac_compile") 2>conftest.er1 23741 (eval "$ac_compile") 2>conftest.er1
22561 ac_status=$? 23742 ac_status=$?
22562 grep -v '^ *+' conftest.er1 >conftest.err 23743 grep -v '^ *+' conftest.er1 >conftest.err
22563 rm -f conftest.er1 23744 rm -f conftest.er1
22564 cat conftest.err >&5 23745 cat conftest.err >&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } && { 23747 (exit $ac_status); } && {
22567 test -z "$ac_c_werror_flag" || 23748 test -z "$ac_c_werror_flag" ||
22568 test ! -s conftest.err 23749 test ! -s conftest.err
22569 } && test -s conftest.$ac_objext; then 23750 } && test -s conftest.$ac_objext; then
22570 ac_cv_have_sa_family_t="yes" 23751 ac_cv_have_sa_family_t="yes"
22571else 23752else
22572 echo "$as_me: failed program was:" >&5 23753 $as_echo "$as_me: failed program was:" >&5
22573sed 's/^/| /' conftest.$ac_ext >&5 23754sed 's/^/| /' conftest.$ac_ext >&5
22574 23755
22575 ac_cv_have_sa_family_t="no" 23756 ac_cv_have_sa_family_t="no"
@@ -22583,8 +23764,8 @@ fi
22583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22584 23765
22585fi 23766fi
22586{ echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 23767{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
22587echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6; } 23768$as_echo "$ac_cv_have_sa_family_t" >&6; }
22588if test "x$ac_cv_have_sa_family_t" = "xyes" ; then 23769if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
22589 23770
22590cat >>confdefs.h <<\_ACEOF 23771cat >>confdefs.h <<\_ACEOF
@@ -22593,10 +23774,10 @@ _ACEOF
22593 23774
22594fi 23775fi
22595 23776
22596{ echo "$as_me:$LINENO: checking for pid_t" >&5 23777{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
22597echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } 23778$as_echo_n "checking for pid_t... " >&6; }
22598if test "${ac_cv_have_pid_t+set}" = set; then 23779if test "${ac_cv_have_pid_t+set}" = set; then
22599 echo $ECHO_N "(cached) $ECHO_C" >&6 23780 $as_echo_n "(cached) " >&6
22600else 23781else
22601 23782
22602 cat >conftest.$ac_ext <<_ACEOF 23783 cat >conftest.$ac_ext <<_ACEOF
@@ -22622,20 +23803,21 @@ case "(($ac_try" in
22622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22623 *) ac_try_echo=$ac_try;; 23804 *) ac_try_echo=$ac_try;;
22624esac 23805esac
22625eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23806eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23807$as_echo "$ac_try_echo") >&5
22626 (eval "$ac_compile") 2>conftest.er1 23808 (eval "$ac_compile") 2>conftest.er1
22627 ac_status=$? 23809 ac_status=$?
22628 grep -v '^ *+' conftest.er1 >conftest.err 23810 grep -v '^ *+' conftest.er1 >conftest.err
22629 rm -f conftest.er1 23811 rm -f conftest.er1
22630 cat conftest.err >&5 23812 cat conftest.err >&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); } && { 23814 (exit $ac_status); } && {
22633 test -z "$ac_c_werror_flag" || 23815 test -z "$ac_c_werror_flag" ||
22634 test ! -s conftest.err 23816 test ! -s conftest.err
22635 } && test -s conftest.$ac_objext; then 23817 } && test -s conftest.$ac_objext; then
22636 ac_cv_have_pid_t="yes" 23818 ac_cv_have_pid_t="yes"
22637else 23819else
22638 echo "$as_me: failed program was:" >&5 23820 $as_echo "$as_me: failed program was:" >&5
22639sed 's/^/| /' conftest.$ac_ext >&5 23821sed 's/^/| /' conftest.$ac_ext >&5
22640 23822
22641 ac_cv_have_pid_t="no" 23823 ac_cv_have_pid_t="no"
@@ -22645,8 +23827,8 @@ fi
22645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22646 23828
22647fi 23829fi
22648{ echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 23830{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
22649echo "${ECHO_T}$ac_cv_have_pid_t" >&6; } 23831$as_echo "$ac_cv_have_pid_t" >&6; }
22650if test "x$ac_cv_have_pid_t" = "xyes" ; then 23832if test "x$ac_cv_have_pid_t" = "xyes" ; then
22651 23833
22652cat >>confdefs.h <<\_ACEOF 23834cat >>confdefs.h <<\_ACEOF
@@ -22655,10 +23837,10 @@ _ACEOF
22655 23837
22656fi 23838fi
22657 23839
22658{ echo "$as_me:$LINENO: checking for mode_t" >&5 23840{ $as_echo "$as_me:$LINENO: checking for mode_t" >&5
22659echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 23841$as_echo_n "checking for mode_t... " >&6; }
22660if test "${ac_cv_have_mode_t+set}" = set; then 23842if test "${ac_cv_have_mode_t+set}" = set; then
22661 echo $ECHO_N "(cached) $ECHO_C" >&6 23843 $as_echo_n "(cached) " >&6
22662else 23844else
22663 23845
22664 cat >conftest.$ac_ext <<_ACEOF 23846 cat >conftest.$ac_ext <<_ACEOF
@@ -22684,20 +23866,21 @@ case "(($ac_try" in
22684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22685 *) ac_try_echo=$ac_try;; 23867 *) ac_try_echo=$ac_try;;
22686esac 23868esac
22687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23869eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23870$as_echo "$ac_try_echo") >&5
22688 (eval "$ac_compile") 2>conftest.er1 23871 (eval "$ac_compile") 2>conftest.er1
22689 ac_status=$? 23872 ac_status=$?
22690 grep -v '^ *+' conftest.er1 >conftest.err 23873 grep -v '^ *+' conftest.er1 >conftest.err
22691 rm -f conftest.er1 23874 rm -f conftest.er1
22692 cat conftest.err >&5 23875 cat conftest.err >&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); } && { 23877 (exit $ac_status); } && {
22695 test -z "$ac_c_werror_flag" || 23878 test -z "$ac_c_werror_flag" ||
22696 test ! -s conftest.err 23879 test ! -s conftest.err
22697 } && test -s conftest.$ac_objext; then 23880 } && test -s conftest.$ac_objext; then
22698 ac_cv_have_mode_t="yes" 23881 ac_cv_have_mode_t="yes"
22699else 23882else
22700 echo "$as_me: failed program was:" >&5 23883 $as_echo "$as_me: failed program was:" >&5
22701sed 's/^/| /' conftest.$ac_ext >&5 23884sed 's/^/| /' conftest.$ac_ext >&5
22702 23885
22703 ac_cv_have_mode_t="no" 23886 ac_cv_have_mode_t="no"
@@ -22707,8 +23890,8 @@ fi
22707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22708 23891
22709fi 23892fi
22710{ echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 23893{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
22711echo "${ECHO_T}$ac_cv_have_mode_t" >&6; } 23894$as_echo "$ac_cv_have_mode_t" >&6; }
22712if test "x$ac_cv_have_mode_t" = "xyes" ; then 23895if test "x$ac_cv_have_mode_t" = "xyes" ; then
22713 23896
22714cat >>confdefs.h <<\_ACEOF 23897cat >>confdefs.h <<\_ACEOF
@@ -22718,10 +23901,10 @@ _ACEOF
22718fi 23901fi
22719 23902
22720 23903
22721{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 23904{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
22722echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; } 23905$as_echo_n "checking for struct sockaddr_storage... " >&6; }
22723if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then 23906if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
22724 echo $ECHO_N "(cached) $ECHO_C" >&6 23907 $as_echo_n "(cached) " >&6
22725else 23908else
22726 23909
22727 cat >conftest.$ac_ext <<_ACEOF 23910 cat >conftest.$ac_ext <<_ACEOF
@@ -22748,20 +23931,21 @@ case "(($ac_try" in
22748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22749 *) ac_try_echo=$ac_try;; 23932 *) ac_try_echo=$ac_try;;
22750esac 23933esac
22751eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23934eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23935$as_echo "$ac_try_echo") >&5
22752 (eval "$ac_compile") 2>conftest.er1 23936 (eval "$ac_compile") 2>conftest.er1
22753 ac_status=$? 23937 ac_status=$?
22754 grep -v '^ *+' conftest.er1 >conftest.err 23938 grep -v '^ *+' conftest.er1 >conftest.err
22755 rm -f conftest.er1 23939 rm -f conftest.er1
22756 cat conftest.err >&5 23940 cat conftest.err >&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); } && { 23942 (exit $ac_status); } && {
22759 test -z "$ac_c_werror_flag" || 23943 test -z "$ac_c_werror_flag" ||
22760 test ! -s conftest.err 23944 test ! -s conftest.err
22761 } && test -s conftest.$ac_objext; then 23945 } && test -s conftest.$ac_objext; then
22762 ac_cv_have_struct_sockaddr_storage="yes" 23946 ac_cv_have_struct_sockaddr_storage="yes"
22763else 23947else
22764 echo "$as_me: failed program was:" >&5 23948 $as_echo "$as_me: failed program was:" >&5
22765sed 's/^/| /' conftest.$ac_ext >&5 23949sed 's/^/| /' conftest.$ac_ext >&5
22766 23950
22767 ac_cv_have_struct_sockaddr_storage="no" 23951 ac_cv_have_struct_sockaddr_storage="no"
@@ -22771,8 +23955,8 @@ fi
22771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22772 23956
22773fi 23957fi
22774{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 23958{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
22775echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; } 23959$as_echo "$ac_cv_have_struct_sockaddr_storage" >&6; }
22776if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 23960if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
22777 23961
22778cat >>confdefs.h <<\_ACEOF 23962cat >>confdefs.h <<\_ACEOF
@@ -22781,10 +23965,10 @@ _ACEOF
22781 23965
22782fi 23966fi
22783 23967
22784{ echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 23968{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
22785echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; } 23969$as_echo_n "checking for struct sockaddr_in6... " >&6; }
22786if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then 23970if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6 23971 $as_echo_n "(cached) " >&6
22788else 23972else
22789 23973
22790 cat >conftest.$ac_ext <<_ACEOF 23974 cat >conftest.$ac_ext <<_ACEOF
@@ -22811,20 +23995,21 @@ case "(($ac_try" in
22811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22812 *) ac_try_echo=$ac_try;; 23996 *) ac_try_echo=$ac_try;;
22813esac 23997esac
22814eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23998eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23999$as_echo "$ac_try_echo") >&5
22815 (eval "$ac_compile") 2>conftest.er1 24000 (eval "$ac_compile") 2>conftest.er1
22816 ac_status=$? 24001 ac_status=$?
22817 grep -v '^ *+' conftest.er1 >conftest.err 24002 grep -v '^ *+' conftest.er1 >conftest.err
22818 rm -f conftest.er1 24003 rm -f conftest.er1
22819 cat conftest.err >&5 24004 cat conftest.err >&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } && { 24006 (exit $ac_status); } && {
22822 test -z "$ac_c_werror_flag" || 24007 test -z "$ac_c_werror_flag" ||
22823 test ! -s conftest.err 24008 test ! -s conftest.err
22824 } && test -s conftest.$ac_objext; then 24009 } && test -s conftest.$ac_objext; then
22825 ac_cv_have_struct_sockaddr_in6="yes" 24010 ac_cv_have_struct_sockaddr_in6="yes"
22826else 24011else
22827 echo "$as_me: failed program was:" >&5 24012 $as_echo "$as_me: failed program was:" >&5
22828sed 's/^/| /' conftest.$ac_ext >&5 24013sed 's/^/| /' conftest.$ac_ext >&5
22829 24014
22830 ac_cv_have_struct_sockaddr_in6="no" 24015 ac_cv_have_struct_sockaddr_in6="no"
@@ -22834,8 +24019,8 @@ fi
22834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22835 24020
22836fi 24021fi
22837{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 24022{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
22838echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; } 24023$as_echo "$ac_cv_have_struct_sockaddr_in6" >&6; }
22839if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 24024if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
22840 24025
22841cat >>confdefs.h <<\_ACEOF 24026cat >>confdefs.h <<\_ACEOF
@@ -22844,10 +24029,10 @@ _ACEOF
22844 24029
22845fi 24030fi
22846 24031
22847{ echo "$as_me:$LINENO: checking for struct in6_addr" >&5 24032{ $as_echo "$as_me:$LINENO: checking for struct in6_addr" >&5
22848echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; } 24033$as_echo_n "checking for struct in6_addr... " >&6; }
22849if test "${ac_cv_have_struct_in6_addr+set}" = set; then 24034if test "${ac_cv_have_struct_in6_addr+set}" = set; then
22850 echo $ECHO_N "(cached) $ECHO_C" >&6 24035 $as_echo_n "(cached) " >&6
22851else 24036else
22852 24037
22853 cat >conftest.$ac_ext <<_ACEOF 24038 cat >conftest.$ac_ext <<_ACEOF
@@ -22874,20 +24059,21 @@ case "(($ac_try" in
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875 *) ac_try_echo=$ac_try;; 24060 *) ac_try_echo=$ac_try;;
22876esac 24061esac
22877eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24062eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24063$as_echo "$ac_try_echo") >&5
22878 (eval "$ac_compile") 2>conftest.er1 24064 (eval "$ac_compile") 2>conftest.er1
22879 ac_status=$? 24065 ac_status=$?
22880 grep -v '^ *+' conftest.er1 >conftest.err 24066 grep -v '^ *+' conftest.er1 >conftest.err
22881 rm -f conftest.er1 24067 rm -f conftest.er1
22882 cat conftest.err >&5 24068 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } && { 24070 (exit $ac_status); } && {
22885 test -z "$ac_c_werror_flag" || 24071 test -z "$ac_c_werror_flag" ||
22886 test ! -s conftest.err 24072 test ! -s conftest.err
22887 } && test -s conftest.$ac_objext; then 24073 } && test -s conftest.$ac_objext; then
22888 ac_cv_have_struct_in6_addr="yes" 24074 ac_cv_have_struct_in6_addr="yes"
22889else 24075else
22890 echo "$as_me: failed program was:" >&5 24076 $as_echo "$as_me: failed program was:" >&5
22891sed 's/^/| /' conftest.$ac_ext >&5 24077sed 's/^/| /' conftest.$ac_ext >&5
22892 24078
22893 ac_cv_have_struct_in6_addr="no" 24079 ac_cv_have_struct_in6_addr="no"
@@ -22897,8 +24083,8 @@ fi
22897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898 24084
22899fi 24085fi
22900{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 24086{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
22901echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; } 24087$as_echo "$ac_cv_have_struct_in6_addr" >&6; }
22902if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 24088if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
22903 24089
22904cat >>confdefs.h <<\_ACEOF 24090cat >>confdefs.h <<\_ACEOF
@@ -22906,10 +24092,10 @@ cat >>confdefs.h <<\_ACEOF
22906_ACEOF 24092_ACEOF
22907 24093
22908 24094
22909 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5 24095 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
22910echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; } 24096$as_echo_n "checking for struct sockaddr_in6.sin6_scope_id... " >&6; }
22911if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then 24097if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
22912 echo $ECHO_N "(cached) $ECHO_C" >&6 24098 $as_echo_n "(cached) " >&6
22913else 24099else
22914 cat >conftest.$ac_ext <<_ACEOF 24100 cat >conftest.$ac_ext <<_ACEOF
22915/* confdefs.h. */ 24101/* confdefs.h. */
@@ -22940,20 +24126,21 @@ case "(($ac_try" in
22940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22941 *) ac_try_echo=$ac_try;; 24127 *) ac_try_echo=$ac_try;;
22942esac 24128esac
22943eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24129eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24130$as_echo "$ac_try_echo") >&5
22944 (eval "$ac_compile") 2>conftest.er1 24131 (eval "$ac_compile") 2>conftest.er1
22945 ac_status=$? 24132 ac_status=$?
22946 grep -v '^ *+' conftest.er1 >conftest.err 24133 grep -v '^ *+' conftest.er1 >conftest.err
22947 rm -f conftest.er1 24134 rm -f conftest.er1
22948 cat conftest.err >&5 24135 cat conftest.err >&5
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); } && { 24137 (exit $ac_status); } && {
22951 test -z "$ac_c_werror_flag" || 24138 test -z "$ac_c_werror_flag" ||
22952 test ! -s conftest.err 24139 test ! -s conftest.err
22953 } && test -s conftest.$ac_objext; then 24140 } && test -s conftest.$ac_objext; then
22954 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes 24141 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
22955else 24142else
22956 echo "$as_me: failed program was:" >&5 24143 $as_echo "$as_me: failed program was:" >&5
22957sed 's/^/| /' conftest.$ac_ext >&5 24144sed 's/^/| /' conftest.$ac_ext >&5
22958 24145
22959 cat >conftest.$ac_ext <<_ACEOF 24146 cat >conftest.$ac_ext <<_ACEOF
@@ -22985,20 +24172,21 @@ case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;; 24173 *) ac_try_echo=$ac_try;;
22987esac 24174esac
22988eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24175eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24176$as_echo "$ac_try_echo") >&5
22989 (eval "$ac_compile") 2>conftest.er1 24177 (eval "$ac_compile") 2>conftest.er1
22990 ac_status=$? 24178 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err 24179 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1 24180 rm -f conftest.er1
22993 cat conftest.err >&5 24181 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && { 24183 (exit $ac_status); } && {
22996 test -z "$ac_c_werror_flag" || 24184 test -z "$ac_c_werror_flag" ||
22997 test ! -s conftest.err 24185 test ! -s conftest.err
22998 } && test -s conftest.$ac_objext; then 24186 } && test -s conftest.$ac_objext; then
22999 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes 24187 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23000else 24188else
23001 echo "$as_me: failed program was:" >&5 24189 $as_echo "$as_me: failed program was:" >&5
23002sed 's/^/| /' conftest.$ac_ext >&5 24190sed 's/^/| /' conftest.$ac_ext >&5
23003 24191
23004 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no 24192 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
@@ -23009,8 +24197,8 @@ fi
23009 24197
23010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23011fi 24199fi
23012{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5 24200{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23013echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; } 24201$as_echo "$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23014if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then 24202if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23015 24203
23016cat >>confdefs.h <<_ACEOF 24204cat >>confdefs.h <<_ACEOF
@@ -23022,10 +24210,10 @@ fi
23022 24210
23023fi 24211fi
23024 24212
23025{ echo "$as_me:$LINENO: checking for struct addrinfo" >&5 24213{ $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5
23026echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; } 24214$as_echo_n "checking for struct addrinfo... " >&6; }
23027if test "${ac_cv_have_struct_addrinfo+set}" = set; then 24215if test "${ac_cv_have_struct_addrinfo+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6 24216 $as_echo_n "(cached) " >&6
23029else 24217else
23030 24218
23031 cat >conftest.$ac_ext <<_ACEOF 24219 cat >conftest.$ac_ext <<_ACEOF
@@ -23053,20 +24241,21 @@ case "(($ac_try" in
23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;; 24242 *) ac_try_echo=$ac_try;;
23055esac 24243esac
23056eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24244eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24245$as_echo "$ac_try_echo") >&5
23057 (eval "$ac_compile") 2>conftest.er1 24246 (eval "$ac_compile") 2>conftest.er1
23058 ac_status=$? 24247 ac_status=$?
23059 grep -v '^ *+' conftest.er1 >conftest.err 24248 grep -v '^ *+' conftest.er1 >conftest.err
23060 rm -f conftest.er1 24249 rm -f conftest.er1
23061 cat conftest.err >&5 24250 cat conftest.err >&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } && { 24252 (exit $ac_status); } && {
23064 test -z "$ac_c_werror_flag" || 24253 test -z "$ac_c_werror_flag" ||
23065 test ! -s conftest.err 24254 test ! -s conftest.err
23066 } && test -s conftest.$ac_objext; then 24255 } && test -s conftest.$ac_objext; then
23067 ac_cv_have_struct_addrinfo="yes" 24256 ac_cv_have_struct_addrinfo="yes"
23068else 24257else
23069 echo "$as_me: failed program was:" >&5 24258 $as_echo "$as_me: failed program was:" >&5
23070sed 's/^/| /' conftest.$ac_ext >&5 24259sed 's/^/| /' conftest.$ac_ext >&5
23071 24260
23072 ac_cv_have_struct_addrinfo="no" 24261 ac_cv_have_struct_addrinfo="no"
@@ -23076,8 +24265,8 @@ fi
23076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077 24266
23078fi 24267fi
23079{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 24268{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
23080echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; } 24269$as_echo "$ac_cv_have_struct_addrinfo" >&6; }
23081if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 24270if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
23082 24271
23083cat >>confdefs.h <<\_ACEOF 24272cat >>confdefs.h <<\_ACEOF
@@ -23086,10 +24275,10 @@ _ACEOF
23086 24275
23087fi 24276fi
23088 24277
23089{ echo "$as_me:$LINENO: checking for struct timeval" >&5 24278{ $as_echo "$as_me:$LINENO: checking for struct timeval" >&5
23090echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } 24279$as_echo_n "checking for struct timeval... " >&6; }
23091if test "${ac_cv_have_struct_timeval+set}" = set; then 24280if test "${ac_cv_have_struct_timeval+set}" = set; then
23092 echo $ECHO_N "(cached) $ECHO_C" >&6 24281 $as_echo_n "(cached) " >&6
23093else 24282else
23094 24283
23095 cat >conftest.$ac_ext <<_ACEOF 24284 cat >conftest.$ac_ext <<_ACEOF
@@ -23113,20 +24302,21 @@ case "(($ac_try" in
23113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23114 *) ac_try_echo=$ac_try;; 24303 *) ac_try_echo=$ac_try;;
23115esac 24304esac
23116eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24305eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24306$as_echo "$ac_try_echo") >&5
23117 (eval "$ac_compile") 2>conftest.er1 24307 (eval "$ac_compile") 2>conftest.er1
23118 ac_status=$? 24308 ac_status=$?
23119 grep -v '^ *+' conftest.er1 >conftest.err 24309 grep -v '^ *+' conftest.er1 >conftest.err
23120 rm -f conftest.er1 24310 rm -f conftest.er1
23121 cat conftest.err >&5 24311 cat conftest.err >&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); } && { 24313 (exit $ac_status); } && {
23124 test -z "$ac_c_werror_flag" || 24314 test -z "$ac_c_werror_flag" ||
23125 test ! -s conftest.err 24315 test ! -s conftest.err
23126 } && test -s conftest.$ac_objext; then 24316 } && test -s conftest.$ac_objext; then
23127 ac_cv_have_struct_timeval="yes" 24317 ac_cv_have_struct_timeval="yes"
23128else 24318else
23129 echo "$as_me: failed program was:" >&5 24319 $as_echo "$as_me: failed program was:" >&5
23130sed 's/^/| /' conftest.$ac_ext >&5 24320sed 's/^/| /' conftest.$ac_ext >&5
23131 24321
23132 ac_cv_have_struct_timeval="no" 24322 ac_cv_have_struct_timeval="no"
@@ -23136,8 +24326,8 @@ fi
23136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23137 24327
23138fi 24328fi
23139{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 24329{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
23140echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6; } 24330$as_echo "$ac_cv_have_struct_timeval" >&6; }
23141if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 24331if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
23142 24332
23143cat >>confdefs.h <<\_ACEOF 24333cat >>confdefs.h <<\_ACEOF
@@ -23147,26 +24337,58 @@ _ACEOF
23147 have_struct_timeval=1 24337 have_struct_timeval=1
23148fi 24338fi
23149 24339
23150{ echo "$as_me:$LINENO: checking for struct timespec" >&5 24340{ $as_echo "$as_me:$LINENO: checking for struct timespec" >&5
23151echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6; } 24341$as_echo_n "checking for struct timespec... " >&6; }
23152if test "${ac_cv_type_struct_timespec+set}" = set; then 24342if test "${ac_cv_type_struct_timespec+set}" = set; then
23153 echo $ECHO_N "(cached) $ECHO_C" >&6 24343 $as_echo_n "(cached) " >&6
23154else 24344else
23155 cat >conftest.$ac_ext <<_ACEOF 24345 ac_cv_type_struct_timespec=no
24346cat >conftest.$ac_ext <<_ACEOF
23156/* confdefs.h. */ 24347/* confdefs.h. */
23157_ACEOF 24348_ACEOF
23158cat confdefs.h >>conftest.$ac_ext 24349cat confdefs.h >>conftest.$ac_ext
23159cat >>conftest.$ac_ext <<_ACEOF 24350cat >>conftest.$ac_ext <<_ACEOF
23160/* end confdefs.h. */ 24351/* end confdefs.h. */
23161$ac_includes_default 24352$ac_includes_default
23162typedef struct timespec ac__type_new_;
23163int 24353int
23164main () 24354main ()
23165{ 24355{
23166if ((ac__type_new_ *) 0) 24356if (sizeof (struct timespec))
23167 return 0; 24357 return 0;
23168if (sizeof (ac__type_new_)) 24358 ;
23169 return 0; 24359 return 0;
24360}
24361_ACEOF
24362rm -f conftest.$ac_objext
24363if { (ac_try="$ac_compile"
24364case "(($ac_try" in
24365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24366 *) ac_try_echo=$ac_try;;
24367esac
24368eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24369$as_echo "$ac_try_echo") >&5
24370 (eval "$ac_compile") 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } && {
24377 test -z "$ac_c_werror_flag" ||
24378 test ! -s conftest.err
24379 } && test -s conftest.$ac_objext; then
24380 cat >conftest.$ac_ext <<_ACEOF
24381/* confdefs.h. */
24382_ACEOF
24383cat confdefs.h >>conftest.$ac_ext
24384cat >>conftest.$ac_ext <<_ACEOF
24385/* end confdefs.h. */
24386$ac_includes_default
24387int
24388main ()
24389{
24390if (sizeof ((struct timespec)))
24391 return 0;
23170 ; 24392 ;
23171 return 0; 24393 return 0;
23172} 24394}
@@ -23177,29 +24399,38 @@ case "(($ac_try" in
23177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23178 *) ac_try_echo=$ac_try;; 24400 *) ac_try_echo=$ac_try;;
23179esac 24401esac
23180eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24402eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24403$as_echo "$ac_try_echo") >&5
23181 (eval "$ac_compile") 2>conftest.er1 24404 (eval "$ac_compile") 2>conftest.er1
23182 ac_status=$? 24405 ac_status=$?
23183 grep -v '^ *+' conftest.er1 >conftest.err 24406 grep -v '^ *+' conftest.er1 >conftest.err
23184 rm -f conftest.er1 24407 rm -f conftest.er1
23185 cat conftest.err >&5 24408 cat conftest.err >&5
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24409 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); } && { 24410 (exit $ac_status); } && {
23188 test -z "$ac_c_werror_flag" || 24411 test -z "$ac_c_werror_flag" ||
23189 test ! -s conftest.err 24412 test ! -s conftest.err
23190 } && test -s conftest.$ac_objext; then 24413 } && test -s conftest.$ac_objext; then
23191 ac_cv_type_struct_timespec=yes 24414 :
23192else 24415else
23193 echo "$as_me: failed program was:" >&5 24416 $as_echo "$as_me: failed program was:" >&5
23194sed 's/^/| /' conftest.$ac_ext >&5 24417sed 's/^/| /' conftest.$ac_ext >&5
23195 24418
23196 ac_cv_type_struct_timespec=no 24419 ac_cv_type_struct_timespec=yes
24420fi
24421
24422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24423else
24424 $as_echo "$as_me: failed program was:" >&5
24425sed 's/^/| /' conftest.$ac_ext >&5
24426
24427
23197fi 24428fi
23198 24429
23199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23200fi 24431fi
23201{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 24432{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
23202echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6; } 24433$as_echo "$ac_cv_type_struct_timespec" >&6; }
23203if test $ac_cv_type_struct_timespec = yes; then 24434if test $ac_cv_type_struct_timespec = yes; then
23204 24435
23205cat >>confdefs.h <<_ACEOF 24436cat >>confdefs.h <<_ACEOF
@@ -23220,8 +24451,8 @@ if test "x$ac_cv_have_int64_t" = "xno" && \
23220 exit 1; 24451 exit 1;
23221else 24452else
23222 if test "$cross_compiling" = yes; then 24453 if test "$cross_compiling" = yes; then
23223 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 24454 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5
23224echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} 24455$as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;}
23225 24456
23226else 24457else
23227 cat >conftest.$ac_ext <<_ACEOF 24458 cat >conftest.$ac_ext <<_ACEOF
@@ -23261,24 +24492,26 @@ case "(($ac_try" in
23261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23262 *) ac_try_echo=$ac_try;; 24493 *) ac_try_echo=$ac_try;;
23263esac 24494esac
23264eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24495eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24496$as_echo "$ac_try_echo") >&5
23265 (eval "$ac_link") 2>&5 24497 (eval "$ac_link") 2>&5
23266 ac_status=$? 24498 ac_status=$?
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 24500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23269 { (case "(($ac_try" in 24501 { (case "(($ac_try" in
23270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23271 *) ac_try_echo=$ac_try;; 24503 *) ac_try_echo=$ac_try;;
23272esac 24504esac
23273eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24505eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24506$as_echo "$ac_try_echo") >&5
23274 (eval "$ac_try") 2>&5 24507 (eval "$ac_try") 2>&5
23275 ac_status=$? 24508 ac_status=$?
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); }; }; then 24510 (exit $ac_status); }; }; then
23278 true 24511 true
23279else 24512else
23280 echo "$as_me: program exited with status $ac_status" >&5 24513 $as_echo "$as_me: program exited with status $ac_status" >&5
23281echo "$as_me: failed program was:" >&5 24514$as_echo "$as_me: failed program was:" >&5
23282sed 's/^/| /' conftest.$ac_ext >&5 24515sed 's/^/| /' conftest.$ac_ext >&5
23283 24516
23284( exit $ac_status ) 24517( exit $ac_status )
@@ -23287,6 +24520,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
23287_ACEOF 24520_ACEOF
23288 24521
23289fi 24522fi
24523rm -rf conftest.dSYM
23290rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 24524rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23291fi 24525fi
23292 24526
@@ -23297,10 +24531,10 @@ fi
23297# look for field 'ut_host' in header 'utmp.h' 24531# look for field 'ut_host' in header 'utmp.h'
23298 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24532 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23299 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 24533 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
23300 { echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 24534 { $as_echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5
23301echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6; } 24535$as_echo_n "checking for ut_host field in utmp.h... " >&6; }
23302 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24536 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23303 echo $ECHO_N "(cached) $ECHO_C" >&6 24537 $as_echo_n "(cached) " >&6
23304else 24538else
23305 24539
23306 cat >conftest.$ac_ext <<_ACEOF 24540 cat >conftest.$ac_ext <<_ACEOF
@@ -23324,8 +24558,8 @@ fi
23324 24558
23325 ossh_result=`eval 'echo $'"$ossh_varname"` 24559 ossh_result=`eval 'echo $'"$ossh_varname"`
23326 if test -n "`echo $ossh_varname`"; then 24560 if test -n "`echo $ossh_varname`"; then
23327 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24561 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23328echo "${ECHO_T}$ossh_result" >&6; } 24562$as_echo "$ossh_result" >&6; }
23329 if test "x$ossh_result" = "xyes"; then 24563 if test "x$ossh_result" = "xyes"; then
23330 24564
23331cat >>confdefs.h <<\_ACEOF 24565cat >>confdefs.h <<\_ACEOF
@@ -23334,18 +24568,18 @@ _ACEOF
23334 24568
23335 fi 24569 fi
23336 else 24570 else
23337 { echo "$as_me:$LINENO: result: no" >&5 24571 { $as_echo "$as_me:$LINENO: result: no" >&5
23338echo "${ECHO_T}no" >&6; } 24572$as_echo "no" >&6; }
23339 fi 24573 fi
23340 24574
23341 24575
23342# look for field 'ut_host' in header 'utmpx.h' 24576# look for field 'ut_host' in header 'utmpx.h'
23343 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24577 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23344 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 24578 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
23345 { echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 24579 { $as_echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5
23346echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6; } 24580$as_echo_n "checking for ut_host field in utmpx.h... " >&6; }
23347 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24581 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6 24582 $as_echo_n "(cached) " >&6
23349else 24583else
23350 24584
23351 cat >conftest.$ac_ext <<_ACEOF 24585 cat >conftest.$ac_ext <<_ACEOF
@@ -23369,8 +24603,8 @@ fi
23369 24603
23370 ossh_result=`eval 'echo $'"$ossh_varname"` 24604 ossh_result=`eval 'echo $'"$ossh_varname"`
23371 if test -n "`echo $ossh_varname`"; then 24605 if test -n "`echo $ossh_varname`"; then
23372 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24606 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23373echo "${ECHO_T}$ossh_result" >&6; } 24607$as_echo "$ossh_result" >&6; }
23374 if test "x$ossh_result" = "xyes"; then 24608 if test "x$ossh_result" = "xyes"; then
23375 24609
23376cat >>confdefs.h <<\_ACEOF 24610cat >>confdefs.h <<\_ACEOF
@@ -23379,18 +24613,18 @@ _ACEOF
23379 24613
23380 fi 24614 fi
23381 else 24615 else
23382 { echo "$as_me:$LINENO: result: no" >&5 24616 { $as_echo "$as_me:$LINENO: result: no" >&5
23383echo "${ECHO_T}no" >&6; } 24617$as_echo "no" >&6; }
23384 fi 24618 fi
23385 24619
23386 24620
23387# look for field 'syslen' in header 'utmpx.h' 24621# look for field 'syslen' in header 'utmpx.h'
23388 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24622 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23389 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen 24623 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
23390 { echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 24624 { $as_echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5
23391echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6; } 24625$as_echo_n "checking for syslen field in utmpx.h... " >&6; }
23392 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24626 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6 24627 $as_echo_n "(cached) " >&6
23394else 24628else
23395 24629
23396 cat >conftest.$ac_ext <<_ACEOF 24630 cat >conftest.$ac_ext <<_ACEOF
@@ -23414,8 +24648,8 @@ fi
23414 24648
23415 ossh_result=`eval 'echo $'"$ossh_varname"` 24649 ossh_result=`eval 'echo $'"$ossh_varname"`
23416 if test -n "`echo $ossh_varname`"; then 24650 if test -n "`echo $ossh_varname`"; then
23417 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24651 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23418echo "${ECHO_T}$ossh_result" >&6; } 24652$as_echo "$ossh_result" >&6; }
23419 if test "x$ossh_result" = "xyes"; then 24653 if test "x$ossh_result" = "xyes"; then
23420 24654
23421cat >>confdefs.h <<\_ACEOF 24655cat >>confdefs.h <<\_ACEOF
@@ -23424,18 +24658,18 @@ _ACEOF
23424 24658
23425 fi 24659 fi
23426 else 24660 else
23427 { echo "$as_me:$LINENO: result: no" >&5 24661 { $as_echo "$as_me:$LINENO: result: no" >&5
23428echo "${ECHO_T}no" >&6; } 24662$as_echo "no" >&6; }
23429 fi 24663 fi
23430 24664
23431 24665
23432# look for field 'ut_pid' in header 'utmp.h' 24666# look for field 'ut_pid' in header 'utmp.h'
23433 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24667 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23434 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid 24668 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
23435 { echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 24669 { $as_echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5
23436echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6; } 24670$as_echo_n "checking for ut_pid field in utmp.h... " >&6; }
23437 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24671 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6 24672 $as_echo_n "(cached) " >&6
23439else 24673else
23440 24674
23441 cat >conftest.$ac_ext <<_ACEOF 24675 cat >conftest.$ac_ext <<_ACEOF
@@ -23459,8 +24693,8 @@ fi
23459 24693
23460 ossh_result=`eval 'echo $'"$ossh_varname"` 24694 ossh_result=`eval 'echo $'"$ossh_varname"`
23461 if test -n "`echo $ossh_varname`"; then 24695 if test -n "`echo $ossh_varname`"; then
23462 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24696 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23463echo "${ECHO_T}$ossh_result" >&6; } 24697$as_echo "$ossh_result" >&6; }
23464 if test "x$ossh_result" = "xyes"; then 24698 if test "x$ossh_result" = "xyes"; then
23465 24699
23466cat >>confdefs.h <<\_ACEOF 24700cat >>confdefs.h <<\_ACEOF
@@ -23469,18 +24703,18 @@ _ACEOF
23469 24703
23470 fi 24704 fi
23471 else 24705 else
23472 { echo "$as_me:$LINENO: result: no" >&5 24706 { $as_echo "$as_me:$LINENO: result: no" >&5
23473echo "${ECHO_T}no" >&6; } 24707$as_echo "no" >&6; }
23474 fi 24708 fi
23475 24709
23476 24710
23477# look for field 'ut_type' in header 'utmp.h' 24711# look for field 'ut_type' in header 'utmp.h'
23478 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24712 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23479 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 24713 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
23480 { echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 24714 { $as_echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
23481echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6; } 24715$as_echo_n "checking for ut_type field in utmp.h... " >&6; }
23482 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24716 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6 24717 $as_echo_n "(cached) " >&6
23484else 24718else
23485 24719
23486 cat >conftest.$ac_ext <<_ACEOF 24720 cat >conftest.$ac_ext <<_ACEOF
@@ -23504,8 +24738,8 @@ fi
23504 24738
23505 ossh_result=`eval 'echo $'"$ossh_varname"` 24739 ossh_result=`eval 'echo $'"$ossh_varname"`
23506 if test -n "`echo $ossh_varname`"; then 24740 if test -n "`echo $ossh_varname`"; then
23507 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24741 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23508echo "${ECHO_T}$ossh_result" >&6; } 24742$as_echo "$ossh_result" >&6; }
23509 if test "x$ossh_result" = "xyes"; then 24743 if test "x$ossh_result" = "xyes"; then
23510 24744
23511cat >>confdefs.h <<\_ACEOF 24745cat >>confdefs.h <<\_ACEOF
@@ -23514,18 +24748,18 @@ _ACEOF
23514 24748
23515 fi 24749 fi
23516 else 24750 else
23517 { echo "$as_me:$LINENO: result: no" >&5 24751 { $as_echo "$as_me:$LINENO: result: no" >&5
23518echo "${ECHO_T}no" >&6; } 24752$as_echo "no" >&6; }
23519 fi 24753 fi
23520 24754
23521 24755
23522# look for field 'ut_type' in header 'utmpx.h' 24756# look for field 'ut_type' in header 'utmpx.h'
23523 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24757 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23524 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 24758 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
23525 { echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 24759 { $as_echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
23526echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6; } 24760$as_echo_n "checking for ut_type field in utmpx.h... " >&6; }
23527 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24761 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6 24762 $as_echo_n "(cached) " >&6
23529else 24763else
23530 24764
23531 cat >conftest.$ac_ext <<_ACEOF 24765 cat >conftest.$ac_ext <<_ACEOF
@@ -23549,8 +24783,8 @@ fi
23549 24783
23550 ossh_result=`eval 'echo $'"$ossh_varname"` 24784 ossh_result=`eval 'echo $'"$ossh_varname"`
23551 if test -n "`echo $ossh_varname`"; then 24785 if test -n "`echo $ossh_varname`"; then
23552 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24786 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23553echo "${ECHO_T}$ossh_result" >&6; } 24787$as_echo "$ossh_result" >&6; }
23554 if test "x$ossh_result" = "xyes"; then 24788 if test "x$ossh_result" = "xyes"; then
23555 24789
23556cat >>confdefs.h <<\_ACEOF 24790cat >>confdefs.h <<\_ACEOF
@@ -23559,18 +24793,18 @@ _ACEOF
23559 24793
23560 fi 24794 fi
23561 else 24795 else
23562 { echo "$as_me:$LINENO: result: no" >&5 24796 { $as_echo "$as_me:$LINENO: result: no" >&5
23563echo "${ECHO_T}no" >&6; } 24797$as_echo "no" >&6; }
23564 fi 24798 fi
23565 24799
23566 24800
23567# look for field 'ut_tv' in header 'utmp.h' 24801# look for field 'ut_tv' in header 'utmp.h'
23568 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24802 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23569 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 24803 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
23570 { echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 24804 { $as_echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5
23571echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6; } 24805$as_echo_n "checking for ut_tv field in utmp.h... " >&6; }
23572 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24806 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23573 echo $ECHO_N "(cached) $ECHO_C" >&6 24807 $as_echo_n "(cached) " >&6
23574else 24808else
23575 24809
23576 cat >conftest.$ac_ext <<_ACEOF 24810 cat >conftest.$ac_ext <<_ACEOF
@@ -23594,8 +24828,8 @@ fi
23594 24828
23595 ossh_result=`eval 'echo $'"$ossh_varname"` 24829 ossh_result=`eval 'echo $'"$ossh_varname"`
23596 if test -n "`echo $ossh_varname`"; then 24830 if test -n "`echo $ossh_varname`"; then
23597 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24831 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23598echo "${ECHO_T}$ossh_result" >&6; } 24832$as_echo "$ossh_result" >&6; }
23599 if test "x$ossh_result" = "xyes"; then 24833 if test "x$ossh_result" = "xyes"; then
23600 24834
23601cat >>confdefs.h <<\_ACEOF 24835cat >>confdefs.h <<\_ACEOF
@@ -23604,18 +24838,18 @@ _ACEOF
23604 24838
23605 fi 24839 fi
23606 else 24840 else
23607 { echo "$as_me:$LINENO: result: no" >&5 24841 { $as_echo "$as_me:$LINENO: result: no" >&5
23608echo "${ECHO_T}no" >&6; } 24842$as_echo "no" >&6; }
23609 fi 24843 fi
23610 24844
23611 24845
23612# look for field 'ut_id' in header 'utmp.h' 24846# look for field 'ut_id' in header 'utmp.h'
23613 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24847 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23614 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 24848 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
23615 { echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 24849 { $as_echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5
23616echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6; } 24850$as_echo_n "checking for ut_id field in utmp.h... " >&6; }
23617 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24851 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6 24852 $as_echo_n "(cached) " >&6
23619else 24853else
23620 24854
23621 cat >conftest.$ac_ext <<_ACEOF 24855 cat >conftest.$ac_ext <<_ACEOF
@@ -23639,8 +24873,8 @@ fi
23639 24873
23640 ossh_result=`eval 'echo $'"$ossh_varname"` 24874 ossh_result=`eval 'echo $'"$ossh_varname"`
23641 if test -n "`echo $ossh_varname`"; then 24875 if test -n "`echo $ossh_varname`"; then
23642 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24876 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23643echo "${ECHO_T}$ossh_result" >&6; } 24877$as_echo "$ossh_result" >&6; }
23644 if test "x$ossh_result" = "xyes"; then 24878 if test "x$ossh_result" = "xyes"; then
23645 24879
23646cat >>confdefs.h <<\_ACEOF 24880cat >>confdefs.h <<\_ACEOF
@@ -23649,18 +24883,18 @@ _ACEOF
23649 24883
23650 fi 24884 fi
23651 else 24885 else
23652 { echo "$as_me:$LINENO: result: no" >&5 24886 { $as_echo "$as_me:$LINENO: result: no" >&5
23653echo "${ECHO_T}no" >&6; } 24887$as_echo "no" >&6; }
23654 fi 24888 fi
23655 24889
23656 24890
23657# look for field 'ut_id' in header 'utmpx.h' 24891# look for field 'ut_id' in header 'utmpx.h'
23658 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24892 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23659 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 24893 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
23660 { echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 24894 { $as_echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5
23661echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6; } 24895$as_echo_n "checking for ut_id field in utmpx.h... " >&6; }
23662 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24896 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23663 echo $ECHO_N "(cached) $ECHO_C" >&6 24897 $as_echo_n "(cached) " >&6
23664else 24898else
23665 24899
23666 cat >conftest.$ac_ext <<_ACEOF 24900 cat >conftest.$ac_ext <<_ACEOF
@@ -23684,8 +24918,8 @@ fi
23684 24918
23685 ossh_result=`eval 'echo $'"$ossh_varname"` 24919 ossh_result=`eval 'echo $'"$ossh_varname"`
23686 if test -n "`echo $ossh_varname`"; then 24920 if test -n "`echo $ossh_varname`"; then
23687 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24921 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23688echo "${ECHO_T}$ossh_result" >&6; } 24922$as_echo "$ossh_result" >&6; }
23689 if test "x$ossh_result" = "xyes"; then 24923 if test "x$ossh_result" = "xyes"; then
23690 24924
23691cat >>confdefs.h <<\_ACEOF 24925cat >>confdefs.h <<\_ACEOF
@@ -23694,18 +24928,18 @@ _ACEOF
23694 24928
23695 fi 24929 fi
23696 else 24930 else
23697 { echo "$as_me:$LINENO: result: no" >&5 24931 { $as_echo "$as_me:$LINENO: result: no" >&5
23698echo "${ECHO_T}no" >&6; } 24932$as_echo "no" >&6; }
23699 fi 24933 fi
23700 24934
23701 24935
23702# look for field 'ut_addr' in header 'utmp.h' 24936# look for field 'ut_addr' in header 'utmp.h'
23703 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24937 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23704 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 24938 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
23705 { echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 24939 { $as_echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5
23706echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6; } 24940$as_echo_n "checking for ut_addr field in utmp.h... " >&6; }
23707 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24941 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23708 echo $ECHO_N "(cached) $ECHO_C" >&6 24942 $as_echo_n "(cached) " >&6
23709else 24943else
23710 24944
23711 cat >conftest.$ac_ext <<_ACEOF 24945 cat >conftest.$ac_ext <<_ACEOF
@@ -23729,8 +24963,8 @@ fi
23729 24963
23730 ossh_result=`eval 'echo $'"$ossh_varname"` 24964 ossh_result=`eval 'echo $'"$ossh_varname"`
23731 if test -n "`echo $ossh_varname`"; then 24965 if test -n "`echo $ossh_varname`"; then
23732 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24966 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23733echo "${ECHO_T}$ossh_result" >&6; } 24967$as_echo "$ossh_result" >&6; }
23734 if test "x$ossh_result" = "xyes"; then 24968 if test "x$ossh_result" = "xyes"; then
23735 24969
23736cat >>confdefs.h <<\_ACEOF 24970cat >>confdefs.h <<\_ACEOF
@@ -23739,18 +24973,18 @@ _ACEOF
23739 24973
23740 fi 24974 fi
23741 else 24975 else
23742 { echo "$as_me:$LINENO: result: no" >&5 24976 { $as_echo "$as_me:$LINENO: result: no" >&5
23743echo "${ECHO_T}no" >&6; } 24977$as_echo "no" >&6; }
23744 fi 24978 fi
23745 24979
23746 24980
23747# look for field 'ut_addr' in header 'utmpx.h' 24981# look for field 'ut_addr' in header 'utmpx.h'
23748 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24982 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23749 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 24983 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
23750 { echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 24984 { $as_echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5
23751echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6; } 24985$as_echo_n "checking for ut_addr field in utmpx.h... " >&6; }
23752 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24986 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6 24987 $as_echo_n "(cached) " >&6
23754else 24988else
23755 24989
23756 cat >conftest.$ac_ext <<_ACEOF 24990 cat >conftest.$ac_ext <<_ACEOF
@@ -23774,8 +25008,8 @@ fi
23774 25008
23775 ossh_result=`eval 'echo $'"$ossh_varname"` 25009 ossh_result=`eval 'echo $'"$ossh_varname"`
23776 if test -n "`echo $ossh_varname`"; then 25010 if test -n "`echo $ossh_varname`"; then
23777 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25011 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23778echo "${ECHO_T}$ossh_result" >&6; } 25012$as_echo "$ossh_result" >&6; }
23779 if test "x$ossh_result" = "xyes"; then 25013 if test "x$ossh_result" = "xyes"; then
23780 25014
23781cat >>confdefs.h <<\_ACEOF 25015cat >>confdefs.h <<\_ACEOF
@@ -23784,18 +25018,18 @@ _ACEOF
23784 25018
23785 fi 25019 fi
23786 else 25020 else
23787 { echo "$as_me:$LINENO: result: no" >&5 25021 { $as_echo "$as_me:$LINENO: result: no" >&5
23788echo "${ECHO_T}no" >&6; } 25022$as_echo "no" >&6; }
23789 fi 25023 fi
23790 25024
23791 25025
23792# look for field 'ut_addr_v6' in header 'utmp.h' 25026# look for field 'ut_addr_v6' in header 'utmp.h'
23793 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 25027 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23794 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 25028 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
23795 { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5 25029 { $as_echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5
23796echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6; } 25030$as_echo_n "checking for ut_addr_v6 field in utmp.h... " >&6; }
23797 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25031 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23798 echo $ECHO_N "(cached) $ECHO_C" >&6 25032 $as_echo_n "(cached) " >&6
23799else 25033else
23800 25034
23801 cat >conftest.$ac_ext <<_ACEOF 25035 cat >conftest.$ac_ext <<_ACEOF
@@ -23819,8 +25053,8 @@ fi
23819 25053
23820 ossh_result=`eval 'echo $'"$ossh_varname"` 25054 ossh_result=`eval 'echo $'"$ossh_varname"`
23821 if test -n "`echo $ossh_varname`"; then 25055 if test -n "`echo $ossh_varname`"; then
23822 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25056 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23823echo "${ECHO_T}$ossh_result" >&6; } 25057$as_echo "$ossh_result" >&6; }
23824 if test "x$ossh_result" = "xyes"; then 25058 if test "x$ossh_result" = "xyes"; then
23825 25059
23826cat >>confdefs.h <<\_ACEOF 25060cat >>confdefs.h <<\_ACEOF
@@ -23829,18 +25063,18 @@ _ACEOF
23829 25063
23830 fi 25064 fi
23831 else 25065 else
23832 { echo "$as_me:$LINENO: result: no" >&5 25066 { $as_echo "$as_me:$LINENO: result: no" >&5
23833echo "${ECHO_T}no" >&6; } 25067$as_echo "no" >&6; }
23834 fi 25068 fi
23835 25069
23836 25070
23837# look for field 'ut_addr_v6' in header 'utmpx.h' 25071# look for field 'ut_addr_v6' in header 'utmpx.h'
23838 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 25072 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23839 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 25073 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
23840 { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5 25074 { $as_echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5
23841echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6; } 25075$as_echo_n "checking for ut_addr_v6 field in utmpx.h... " >&6; }
23842 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25076 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6 25077 $as_echo_n "(cached) " >&6
23844else 25078else
23845 25079
23846 cat >conftest.$ac_ext <<_ACEOF 25080 cat >conftest.$ac_ext <<_ACEOF
@@ -23864,8 +25098,8 @@ fi
23864 25098
23865 ossh_result=`eval 'echo $'"$ossh_varname"` 25099 ossh_result=`eval 'echo $'"$ossh_varname"`
23866 if test -n "`echo $ossh_varname`"; then 25100 if test -n "`echo $ossh_varname`"; then
23867 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25101 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23868echo "${ECHO_T}$ossh_result" >&6; } 25102$as_echo "$ossh_result" >&6; }
23869 if test "x$ossh_result" = "xyes"; then 25103 if test "x$ossh_result" = "xyes"; then
23870 25104
23871cat >>confdefs.h <<\_ACEOF 25105cat >>confdefs.h <<\_ACEOF
@@ -23874,18 +25108,18 @@ _ACEOF
23874 25108
23875 fi 25109 fi
23876 else 25110 else
23877 { echo "$as_me:$LINENO: result: no" >&5 25111 { $as_echo "$as_me:$LINENO: result: no" >&5
23878echo "${ECHO_T}no" >&6; } 25112$as_echo "no" >&6; }
23879 fi 25113 fi
23880 25114
23881 25115
23882# look for field 'ut_exit' in header 'utmp.h' 25116# look for field 'ut_exit' in header 'utmp.h'
23883 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 25117 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23884 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit 25118 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
23885 { echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 25119 { $as_echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5
23886echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6; } 25120$as_echo_n "checking for ut_exit field in utmp.h... " >&6; }
23887 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25121 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6 25122 $as_echo_n "(cached) " >&6
23889else 25123else
23890 25124
23891 cat >conftest.$ac_ext <<_ACEOF 25125 cat >conftest.$ac_ext <<_ACEOF
@@ -23909,8 +25143,8 @@ fi
23909 25143
23910 ossh_result=`eval 'echo $'"$ossh_varname"` 25144 ossh_result=`eval 'echo $'"$ossh_varname"`
23911 if test -n "`echo $ossh_varname`"; then 25145 if test -n "`echo $ossh_varname`"; then
23912 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25146 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23913echo "${ECHO_T}$ossh_result" >&6; } 25147$as_echo "$ossh_result" >&6; }
23914 if test "x$ossh_result" = "xyes"; then 25148 if test "x$ossh_result" = "xyes"; then
23915 25149
23916cat >>confdefs.h <<\_ACEOF 25150cat >>confdefs.h <<\_ACEOF
@@ -23919,18 +25153,18 @@ _ACEOF
23919 25153
23920 fi 25154 fi
23921 else 25155 else
23922 { echo "$as_me:$LINENO: result: no" >&5 25156 { $as_echo "$as_me:$LINENO: result: no" >&5
23923echo "${ECHO_T}no" >&6; } 25157$as_echo "no" >&6; }
23924 fi 25158 fi
23925 25159
23926 25160
23927# look for field 'ut_time' in header 'utmp.h' 25161# look for field 'ut_time' in header 'utmp.h'
23928 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 25162 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23929 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 25163 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
23930 { echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 25164 { $as_echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5
23931echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6; } 25165$as_echo_n "checking for ut_time field in utmp.h... " >&6; }
23932 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25166 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23933 echo $ECHO_N "(cached) $ECHO_C" >&6 25167 $as_echo_n "(cached) " >&6
23934else 25168else
23935 25169
23936 cat >conftest.$ac_ext <<_ACEOF 25170 cat >conftest.$ac_ext <<_ACEOF
@@ -23954,8 +25188,8 @@ fi
23954 25188
23955 ossh_result=`eval 'echo $'"$ossh_varname"` 25189 ossh_result=`eval 'echo $'"$ossh_varname"`
23956 if test -n "`echo $ossh_varname`"; then 25190 if test -n "`echo $ossh_varname`"; then
23957 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25191 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23958echo "${ECHO_T}$ossh_result" >&6; } 25192$as_echo "$ossh_result" >&6; }
23959 if test "x$ossh_result" = "xyes"; then 25193 if test "x$ossh_result" = "xyes"; then
23960 25194
23961cat >>confdefs.h <<\_ACEOF 25195cat >>confdefs.h <<\_ACEOF
@@ -23964,18 +25198,18 @@ _ACEOF
23964 25198
23965 fi 25199 fi
23966 else 25200 else
23967 { echo "$as_me:$LINENO: result: no" >&5 25201 { $as_echo "$as_me:$LINENO: result: no" >&5
23968echo "${ECHO_T}no" >&6; } 25202$as_echo "no" >&6; }
23969 fi 25203 fi
23970 25204
23971 25205
23972# look for field 'ut_time' in header 'utmpx.h' 25206# look for field 'ut_time' in header 'utmpx.h'
23973 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 25207 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23974 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 25208 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
23975 { echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 25209 { $as_echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5
23976echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6; } 25210$as_echo_n "checking for ut_time field in utmpx.h... " >&6; }
23977 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25211 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23978 echo $ECHO_N "(cached) $ECHO_C" >&6 25212 $as_echo_n "(cached) " >&6
23979else 25213else
23980 25214
23981 cat >conftest.$ac_ext <<_ACEOF 25215 cat >conftest.$ac_ext <<_ACEOF
@@ -23999,8 +25233,8 @@ fi
23999 25233
24000 ossh_result=`eval 'echo $'"$ossh_varname"` 25234 ossh_result=`eval 'echo $'"$ossh_varname"`
24001 if test -n "`echo $ossh_varname`"; then 25235 if test -n "`echo $ossh_varname`"; then
24002 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25236 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
24003echo "${ECHO_T}$ossh_result" >&6; } 25237$as_echo "$ossh_result" >&6; }
24004 if test "x$ossh_result" = "xyes"; then 25238 if test "x$ossh_result" = "xyes"; then
24005 25239
24006cat >>confdefs.h <<\_ACEOF 25240cat >>confdefs.h <<\_ACEOF
@@ -24009,18 +25243,18 @@ _ACEOF
24009 25243
24010 fi 25244 fi
24011 else 25245 else
24012 { echo "$as_me:$LINENO: result: no" >&5 25246 { $as_echo "$as_me:$LINENO: result: no" >&5
24013echo "${ECHO_T}no" >&6; } 25247$as_echo "no" >&6; }
24014 fi 25248 fi
24015 25249
24016 25250
24017# look for field 'ut_tv' in header 'utmpx.h' 25251# look for field 'ut_tv' in header 'utmpx.h'
24018 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 25252 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
24019 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 25253 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
24020 { echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 25254 { $as_echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5
24021echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6; } 25255$as_echo_n "checking for ut_tv field in utmpx.h... " >&6; }
24022 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25256 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
24023 echo $ECHO_N "(cached) $ECHO_C" >&6 25257 $as_echo_n "(cached) " >&6
24024else 25258else
24025 25259
24026 cat >conftest.$ac_ext <<_ACEOF 25260 cat >conftest.$ac_ext <<_ACEOF
@@ -24044,8 +25278,8 @@ fi
24044 25278
24045 ossh_result=`eval 'echo $'"$ossh_varname"` 25279 ossh_result=`eval 'echo $'"$ossh_varname"`
24046 if test -n "`echo $ossh_varname`"; then 25280 if test -n "`echo $ossh_varname`"; then
24047 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25281 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
24048echo "${ECHO_T}$ossh_result" >&6; } 25282$as_echo "$ossh_result" >&6; }
24049 if test "x$ossh_result" = "xyes"; then 25283 if test "x$ossh_result" = "xyes"; then
24050 25284
24051cat >>confdefs.h <<\_ACEOF 25285cat >>confdefs.h <<\_ACEOF
@@ -24054,15 +25288,15 @@ _ACEOF
24054 25288
24055 fi 25289 fi
24056 else 25290 else
24057 { echo "$as_me:$LINENO: result: no" >&5 25291 { $as_echo "$as_me:$LINENO: result: no" >&5
24058echo "${ECHO_T}no" >&6; } 25292$as_echo "no" >&6; }
24059 fi 25293 fi
24060 25294
24061 25295
24062{ echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 25296{ $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
24063echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; } 25297$as_echo_n "checking for struct stat.st_blksize... " >&6; }
24064if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then 25298if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
24065 echo $ECHO_N "(cached) $ECHO_C" >&6 25299 $as_echo_n "(cached) " >&6
24066else 25300else
24067 cat >conftest.$ac_ext <<_ACEOF 25301 cat >conftest.$ac_ext <<_ACEOF
24068/* confdefs.h. */ 25302/* confdefs.h. */
@@ -24087,20 +25321,21 @@ case "(($ac_try" in
24087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24088 *) ac_try_echo=$ac_try;; 25322 *) ac_try_echo=$ac_try;;
24089esac 25323esac
24090eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25325$as_echo "$ac_try_echo") >&5
24091 (eval "$ac_compile") 2>conftest.er1 25326 (eval "$ac_compile") 2>conftest.er1
24092 ac_status=$? 25327 ac_status=$?
24093 grep -v '^ *+' conftest.er1 >conftest.err 25328 grep -v '^ *+' conftest.er1 >conftest.err
24094 rm -f conftest.er1 25329 rm -f conftest.er1
24095 cat conftest.err >&5 25330 cat conftest.err >&5
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); } && { 25332 (exit $ac_status); } && {
24098 test -z "$ac_c_werror_flag" || 25333 test -z "$ac_c_werror_flag" ||
24099 test ! -s conftest.err 25334 test ! -s conftest.err
24100 } && test -s conftest.$ac_objext; then 25335 } && test -s conftest.$ac_objext; then
24101 ac_cv_member_struct_stat_st_blksize=yes 25336 ac_cv_member_struct_stat_st_blksize=yes
24102else 25337else
24103 echo "$as_me: failed program was:" >&5 25338 $as_echo "$as_me: failed program was:" >&5
24104sed 's/^/| /' conftest.$ac_ext >&5 25339sed 's/^/| /' conftest.$ac_ext >&5
24105 25340
24106 cat >conftest.$ac_ext <<_ACEOF 25341 cat >conftest.$ac_ext <<_ACEOF
@@ -24126,20 +25361,21 @@ case "(($ac_try" in
24126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24127 *) ac_try_echo=$ac_try;; 25362 *) ac_try_echo=$ac_try;;
24128esac 25363esac
24129eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25364eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25365$as_echo "$ac_try_echo") >&5
24130 (eval "$ac_compile") 2>conftest.er1 25366 (eval "$ac_compile") 2>conftest.er1
24131 ac_status=$? 25367 ac_status=$?
24132 grep -v '^ *+' conftest.er1 >conftest.err 25368 grep -v '^ *+' conftest.er1 >conftest.err
24133 rm -f conftest.er1 25369 rm -f conftest.er1
24134 cat conftest.err >&5 25370 cat conftest.err >&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); } && { 25372 (exit $ac_status); } && {
24137 test -z "$ac_c_werror_flag" || 25373 test -z "$ac_c_werror_flag" ||
24138 test ! -s conftest.err 25374 test ! -s conftest.err
24139 } && test -s conftest.$ac_objext; then 25375 } && test -s conftest.$ac_objext; then
24140 ac_cv_member_struct_stat_st_blksize=yes 25376 ac_cv_member_struct_stat_st_blksize=yes
24141else 25377else
24142 echo "$as_me: failed program was:" >&5 25378 $as_echo "$as_me: failed program was:" >&5
24143sed 's/^/| /' conftest.$ac_ext >&5 25379sed 's/^/| /' conftest.$ac_ext >&5
24144 25380
24145 ac_cv_member_struct_stat_st_blksize=no 25381 ac_cv_member_struct_stat_st_blksize=no
@@ -24150,8 +25386,8 @@ fi
24150 25386
24151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24152fi 25388fi
24153{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 25389{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
24154echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; } 25390$as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; }
24155if test $ac_cv_member_struct_stat_st_blksize = yes; then 25391if test $ac_cv_member_struct_stat_st_blksize = yes; then
24156 25392
24157cat >>confdefs.h <<_ACEOF 25393cat >>confdefs.h <<_ACEOF
@@ -24161,10 +25397,10 @@ _ACEOF
24161 25397
24162fi 25398fi
24163 25399
24164{ echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5 25400{ $as_echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5
24165echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6; } 25401$as_echo_n "checking for struct __res_state.retrans... " >&6; }
24166if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then 25402if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then
24167 echo $ECHO_N "(cached) $ECHO_C" >&6 25403 $as_echo_n "(cached) " >&6
24168else 25404else
24169 cat >conftest.$ac_ext <<_ACEOF 25405 cat >conftest.$ac_ext <<_ACEOF
24170/* confdefs.h. */ 25406/* confdefs.h. */
@@ -24198,20 +25434,21 @@ case "(($ac_try" in
24198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24199 *) ac_try_echo=$ac_try;; 25435 *) ac_try_echo=$ac_try;;
24200esac 25436esac
24201eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25437eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25438$as_echo "$ac_try_echo") >&5
24202 (eval "$ac_compile") 2>conftest.er1 25439 (eval "$ac_compile") 2>conftest.er1
24203 ac_status=$? 25440 ac_status=$?
24204 grep -v '^ *+' conftest.er1 >conftest.err 25441 grep -v '^ *+' conftest.er1 >conftest.err
24205 rm -f conftest.er1 25442 rm -f conftest.er1
24206 cat conftest.err >&5 25443 cat conftest.err >&5
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); } && { 25445 (exit $ac_status); } && {
24209 test -z "$ac_c_werror_flag" || 25446 test -z "$ac_c_werror_flag" ||
24210 test ! -s conftest.err 25447 test ! -s conftest.err
24211 } && test -s conftest.$ac_objext; then 25448 } && test -s conftest.$ac_objext; then
24212 ac_cv_member_struct___res_state_retrans=yes 25449 ac_cv_member_struct___res_state_retrans=yes
24213else 25450else
24214 echo "$as_me: failed program was:" >&5 25451 $as_echo "$as_me: failed program was:" >&5
24215sed 's/^/| /' conftest.$ac_ext >&5 25452sed 's/^/| /' conftest.$ac_ext >&5
24216 25453
24217 cat >conftest.$ac_ext <<_ACEOF 25454 cat >conftest.$ac_ext <<_ACEOF
@@ -24246,20 +25483,21 @@ case "(($ac_try" in
24246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24247 *) ac_try_echo=$ac_try;; 25484 *) ac_try_echo=$ac_try;;
24248esac 25485esac
24249eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25486eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25487$as_echo "$ac_try_echo") >&5
24250 (eval "$ac_compile") 2>conftest.er1 25488 (eval "$ac_compile") 2>conftest.er1
24251 ac_status=$? 25489 ac_status=$?
24252 grep -v '^ *+' conftest.er1 >conftest.err 25490 grep -v '^ *+' conftest.er1 >conftest.err
24253 rm -f conftest.er1 25491 rm -f conftest.er1
24254 cat conftest.err >&5 25492 cat conftest.err >&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25493 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); } && { 25494 (exit $ac_status); } && {
24257 test -z "$ac_c_werror_flag" || 25495 test -z "$ac_c_werror_flag" ||
24258 test ! -s conftest.err 25496 test ! -s conftest.err
24259 } && test -s conftest.$ac_objext; then 25497 } && test -s conftest.$ac_objext; then
24260 ac_cv_member_struct___res_state_retrans=yes 25498 ac_cv_member_struct___res_state_retrans=yes
24261else 25499else
24262 echo "$as_me: failed program was:" >&5 25500 $as_echo "$as_me: failed program was:" >&5
24263sed 's/^/| /' conftest.$ac_ext >&5 25501sed 's/^/| /' conftest.$ac_ext >&5
24264 25502
24265 ac_cv_member_struct___res_state_retrans=no 25503 ac_cv_member_struct___res_state_retrans=no
@@ -24270,8 +25508,8 @@ fi
24270 25508
24271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25509rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24272fi 25510fi
24273{ echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5 25511{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5
24274echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6; } 25512$as_echo "$ac_cv_member_struct___res_state_retrans" >&6; }
24275if test $ac_cv_member_struct___res_state_retrans = yes; then 25513if test $ac_cv_member_struct___res_state_retrans = yes; then
24276 : 25514 :
24277else 25515else
@@ -24283,10 +25521,10 @@ _ACEOF
24283fi 25521fi
24284 25522
24285 25523
24286{ echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 25524{ $as_echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
24287echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } 25525$as_echo_n "checking for ss_family field in struct sockaddr_storage... " >&6; }
24288if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then 25526if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
24289 echo $ECHO_N "(cached) $ECHO_C" >&6 25527 $as_echo_n "(cached) " >&6
24290else 25528else
24291 25529
24292 cat >conftest.$ac_ext <<_ACEOF 25530 cat >conftest.$ac_ext <<_ACEOF
@@ -24313,20 +25551,21 @@ case "(($ac_try" in
24313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24314 *) ac_try_echo=$ac_try;; 25552 *) ac_try_echo=$ac_try;;
24315esac 25553esac
24316eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25554eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25555$as_echo "$ac_try_echo") >&5
24317 (eval "$ac_compile") 2>conftest.er1 25556 (eval "$ac_compile") 2>conftest.er1
24318 ac_status=$? 25557 ac_status=$?
24319 grep -v '^ *+' conftest.er1 >conftest.err 25558 grep -v '^ *+' conftest.er1 >conftest.err
24320 rm -f conftest.er1 25559 rm -f conftest.er1
24321 cat conftest.err >&5 25560 cat conftest.err >&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); } && { 25562 (exit $ac_status); } && {
24324 test -z "$ac_c_werror_flag" || 25563 test -z "$ac_c_werror_flag" ||
24325 test ! -s conftest.err 25564 test ! -s conftest.err
24326 } && test -s conftest.$ac_objext; then 25565 } && test -s conftest.$ac_objext; then
24327 ac_cv_have_ss_family_in_struct_ss="yes" 25566 ac_cv_have_ss_family_in_struct_ss="yes"
24328else 25567else
24329 echo "$as_me: failed program was:" >&5 25568 $as_echo "$as_me: failed program was:" >&5
24330sed 's/^/| /' conftest.$ac_ext >&5 25569sed 's/^/| /' conftest.$ac_ext >&5
24331 25570
24332 ac_cv_have_ss_family_in_struct_ss="no" 25571 ac_cv_have_ss_family_in_struct_ss="no"
@@ -24335,8 +25574,8 @@ fi
24335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24336 25575
24337fi 25576fi
24338{ echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 25577{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
24339echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6; } 25578$as_echo "$ac_cv_have_ss_family_in_struct_ss" >&6; }
24340if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then 25579if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
24341 25580
24342cat >>confdefs.h <<\_ACEOF 25581cat >>confdefs.h <<\_ACEOF
@@ -24345,10 +25584,10 @@ _ACEOF
24345 25584
24346fi 25585fi
24347 25586
24348{ echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 25587{ $as_echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
24349echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } 25588$as_echo_n "checking for __ss_family field in struct sockaddr_storage... " >&6; }
24350if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then 25589if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
24351 echo $ECHO_N "(cached) $ECHO_C" >&6 25590 $as_echo_n "(cached) " >&6
24352else 25591else
24353 25592
24354 cat >conftest.$ac_ext <<_ACEOF 25593 cat >conftest.$ac_ext <<_ACEOF
@@ -24375,20 +25614,21 @@ case "(($ac_try" in
24375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24376 *) ac_try_echo=$ac_try;; 25615 *) ac_try_echo=$ac_try;;
24377esac 25616esac
24378eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25617eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25618$as_echo "$ac_try_echo") >&5
24379 (eval "$ac_compile") 2>conftest.er1 25619 (eval "$ac_compile") 2>conftest.er1
24380 ac_status=$? 25620 ac_status=$?
24381 grep -v '^ *+' conftest.er1 >conftest.err 25621 grep -v '^ *+' conftest.er1 >conftest.err
24382 rm -f conftest.er1 25622 rm -f conftest.er1
24383 cat conftest.err >&5 25623 cat conftest.err >&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); } && { 25625 (exit $ac_status); } && {
24386 test -z "$ac_c_werror_flag" || 25626 test -z "$ac_c_werror_flag" ||
24387 test ! -s conftest.err 25627 test ! -s conftest.err
24388 } && test -s conftest.$ac_objext; then 25628 } && test -s conftest.$ac_objext; then
24389 ac_cv_have___ss_family_in_struct_ss="yes" 25629 ac_cv_have___ss_family_in_struct_ss="yes"
24390else 25630else
24391 echo "$as_me: failed program was:" >&5 25631 $as_echo "$as_me: failed program was:" >&5
24392sed 's/^/| /' conftest.$ac_ext >&5 25632sed 's/^/| /' conftest.$ac_ext >&5
24393 25633
24394 ac_cv_have___ss_family_in_struct_ss="no" 25634 ac_cv_have___ss_family_in_struct_ss="no"
@@ -24398,8 +25638,8 @@ fi
24398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24399 25639
24400fi 25640fi
24401{ echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 25641{ $as_echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
24402echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6; } 25642$as_echo "$ac_cv_have___ss_family_in_struct_ss" >&6; }
24403if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 25643if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
24404 25644
24405cat >>confdefs.h <<\_ACEOF 25645cat >>confdefs.h <<\_ACEOF
@@ -24408,10 +25648,10 @@ _ACEOF
24408 25648
24409fi 25649fi
24410 25650
24411{ echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5 25651{ $as_echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5
24412echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6; } 25652$as_echo_n "checking for pw_class field in struct passwd... " >&6; }
24413if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then 25653if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
24414 echo $ECHO_N "(cached) $ECHO_C" >&6 25654 $as_echo_n "(cached) " >&6
24415else 25655else
24416 25656
24417 cat >conftest.$ac_ext <<_ACEOF 25657 cat >conftest.$ac_ext <<_ACEOF
@@ -24437,20 +25677,21 @@ case "(($ac_try" in
24437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24438 *) ac_try_echo=$ac_try;; 25678 *) ac_try_echo=$ac_try;;
24439esac 25679esac
24440eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25680eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25681$as_echo "$ac_try_echo") >&5
24441 (eval "$ac_compile") 2>conftest.er1 25682 (eval "$ac_compile") 2>conftest.er1
24442 ac_status=$? 25683 ac_status=$?
24443 grep -v '^ *+' conftest.er1 >conftest.err 25684 grep -v '^ *+' conftest.er1 >conftest.err
24444 rm -f conftest.er1 25685 rm -f conftest.er1
24445 cat conftest.err >&5 25686 cat conftest.err >&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); } && { 25688 (exit $ac_status); } && {
24448 test -z "$ac_c_werror_flag" || 25689 test -z "$ac_c_werror_flag" ||
24449 test ! -s conftest.err 25690 test ! -s conftest.err
24450 } && test -s conftest.$ac_objext; then 25691 } && test -s conftest.$ac_objext; then
24451 ac_cv_have_pw_class_in_struct_passwd="yes" 25692 ac_cv_have_pw_class_in_struct_passwd="yes"
24452else 25693else
24453 echo "$as_me: failed program was:" >&5 25694 $as_echo "$as_me: failed program was:" >&5
24454sed 's/^/| /' conftest.$ac_ext >&5 25695sed 's/^/| /' conftest.$ac_ext >&5
24455 25696
24456 ac_cv_have_pw_class_in_struct_passwd="no" 25697 ac_cv_have_pw_class_in_struct_passwd="no"
@@ -24460,8 +25701,8 @@ fi
24460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24461 25702
24462fi 25703fi
24463{ echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 25704{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
24464echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6; } 25705$as_echo "$ac_cv_have_pw_class_in_struct_passwd" >&6; }
24465if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then 25706if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
24466 25707
24467cat >>confdefs.h <<\_ACEOF 25708cat >>confdefs.h <<\_ACEOF
@@ -24470,10 +25711,10 @@ _ACEOF
24470 25711
24471fi 25712fi
24472 25713
24473{ echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5 25714{ $as_echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5
24474echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6; } 25715$as_echo_n "checking for pw_expire field in struct passwd... " >&6; }
24475if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then 25716if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6 25717 $as_echo_n "(cached) " >&6
24477else 25718else
24478 25719
24479 cat >conftest.$ac_ext <<_ACEOF 25720 cat >conftest.$ac_ext <<_ACEOF
@@ -24499,20 +25740,21 @@ case "(($ac_try" in
24499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24500 *) ac_try_echo=$ac_try;; 25741 *) ac_try_echo=$ac_try;;
24501esac 25742esac
24502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25743eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25744$as_echo "$ac_try_echo") >&5
24503 (eval "$ac_compile") 2>conftest.er1 25745 (eval "$ac_compile") 2>conftest.er1
24504 ac_status=$? 25746 ac_status=$?
24505 grep -v '^ *+' conftest.er1 >conftest.err 25747 grep -v '^ *+' conftest.er1 >conftest.err
24506 rm -f conftest.er1 25748 rm -f conftest.er1
24507 cat conftest.err >&5 25749 cat conftest.err >&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); } && { 25751 (exit $ac_status); } && {
24510 test -z "$ac_c_werror_flag" || 25752 test -z "$ac_c_werror_flag" ||
24511 test ! -s conftest.err 25753 test ! -s conftest.err
24512 } && test -s conftest.$ac_objext; then 25754 } && test -s conftest.$ac_objext; then
24513 ac_cv_have_pw_expire_in_struct_passwd="yes" 25755 ac_cv_have_pw_expire_in_struct_passwd="yes"
24514else 25756else
24515 echo "$as_me: failed program was:" >&5 25757 $as_echo "$as_me: failed program was:" >&5
24516sed 's/^/| /' conftest.$ac_ext >&5 25758sed 's/^/| /' conftest.$ac_ext >&5
24517 25759
24518 ac_cv_have_pw_expire_in_struct_passwd="no" 25760 ac_cv_have_pw_expire_in_struct_passwd="no"
@@ -24522,8 +25764,8 @@ fi
24522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24523 25765
24524fi 25766fi
24525{ echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 25767{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
24526echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6; } 25768$as_echo "$ac_cv_have_pw_expire_in_struct_passwd" >&6; }
24527if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then 25769if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
24528 25770
24529cat >>confdefs.h <<\_ACEOF 25771cat >>confdefs.h <<\_ACEOF
@@ -24532,10 +25774,10 @@ _ACEOF
24532 25774
24533fi 25775fi
24534 25776
24535{ echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5 25777{ $as_echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5
24536echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6; } 25778$as_echo_n "checking for pw_change field in struct passwd... " >&6; }
24537if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then 25779if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6 25780 $as_echo_n "(cached) " >&6
24539else 25781else
24540 25782
24541 cat >conftest.$ac_ext <<_ACEOF 25783 cat >conftest.$ac_ext <<_ACEOF
@@ -24561,20 +25803,21 @@ case "(($ac_try" in
24561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24562 *) ac_try_echo=$ac_try;; 25804 *) ac_try_echo=$ac_try;;
24563esac 25805esac
24564eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25806eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25807$as_echo "$ac_try_echo") >&5
24565 (eval "$ac_compile") 2>conftest.er1 25808 (eval "$ac_compile") 2>conftest.er1
24566 ac_status=$? 25809 ac_status=$?
24567 grep -v '^ *+' conftest.er1 >conftest.err 25810 grep -v '^ *+' conftest.er1 >conftest.err
24568 rm -f conftest.er1 25811 rm -f conftest.er1
24569 cat conftest.err >&5 25812 cat conftest.err >&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); } && { 25814 (exit $ac_status); } && {
24572 test -z "$ac_c_werror_flag" || 25815 test -z "$ac_c_werror_flag" ||
24573 test ! -s conftest.err 25816 test ! -s conftest.err
24574 } && test -s conftest.$ac_objext; then 25817 } && test -s conftest.$ac_objext; then
24575 ac_cv_have_pw_change_in_struct_passwd="yes" 25818 ac_cv_have_pw_change_in_struct_passwd="yes"
24576else 25819else
24577 echo "$as_me: failed program was:" >&5 25820 $as_echo "$as_me: failed program was:" >&5
24578sed 's/^/| /' conftest.$ac_ext >&5 25821sed 's/^/| /' conftest.$ac_ext >&5
24579 25822
24580 ac_cv_have_pw_change_in_struct_passwd="no" 25823 ac_cv_have_pw_change_in_struct_passwd="no"
@@ -24584,8 +25827,8 @@ fi
24584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24585 25828
24586fi 25829fi
24587{ echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 25830{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
24588echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6; } 25831$as_echo "$ac_cv_have_pw_change_in_struct_passwd" >&6; }
24589if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then 25832if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
24590 25833
24591cat >>confdefs.h <<\_ACEOF 25834cat >>confdefs.h <<\_ACEOF
@@ -24594,10 +25837,10 @@ _ACEOF
24594 25837
24595fi 25838fi
24596 25839
24597{ echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 25840{ $as_echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
24598echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6; } 25841$as_echo_n "checking for msg_accrights field in struct msghdr... " >&6; }
24599if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then 25842if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6 25843 $as_echo_n "(cached) " >&6
24601else 25844else
24602 25845
24603 cat >conftest.$ac_ext <<_ACEOF 25846 cat >conftest.$ac_ext <<_ACEOF
@@ -24622,20 +25865,21 @@ case "(($ac_try" in
24622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24623 *) ac_try_echo=$ac_try;; 25866 *) ac_try_echo=$ac_try;;
24624esac 25867esac
24625eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25868eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25869$as_echo "$ac_try_echo") >&5
24626 (eval "$ac_compile") 2>conftest.er1 25870 (eval "$ac_compile") 2>conftest.er1
24627 ac_status=$? 25871 ac_status=$?
24628 grep -v '^ *+' conftest.er1 >conftest.err 25872 grep -v '^ *+' conftest.er1 >conftest.err
24629 rm -f conftest.er1 25873 rm -f conftest.er1
24630 cat conftest.err >&5 25874 cat conftest.err >&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); } && { 25876 (exit $ac_status); } && {
24633 test -z "$ac_c_werror_flag" || 25877 test -z "$ac_c_werror_flag" ||
24634 test ! -s conftest.err 25878 test ! -s conftest.err
24635 } && test -s conftest.$ac_objext; then 25879 } && test -s conftest.$ac_objext; then
24636 ac_cv_have_accrights_in_msghdr="yes" 25880 ac_cv_have_accrights_in_msghdr="yes"
24637else 25881else
24638 echo "$as_me: failed program was:" >&5 25882 $as_echo "$as_me: failed program was:" >&5
24639sed 's/^/| /' conftest.$ac_ext >&5 25883sed 's/^/| /' conftest.$ac_ext >&5
24640 25884
24641 ac_cv_have_accrights_in_msghdr="no" 25885 ac_cv_have_accrights_in_msghdr="no"
@@ -24645,8 +25889,8 @@ fi
24645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646 25890
24647fi 25891fi
24648{ echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 25892{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
24649echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6; } 25893$as_echo "$ac_cv_have_accrights_in_msghdr" >&6; }
24650if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then 25894if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
24651 25895
24652cat >>confdefs.h <<\_ACEOF 25896cat >>confdefs.h <<\_ACEOF
@@ -24655,8 +25899,8 @@ _ACEOF
24655 25899
24656fi 25900fi
24657 25901
24658{ echo "$as_me:$LINENO: checking if f_fsid has val members" >&5 25902{ $as_echo "$as_me:$LINENO: checking if struct statvfs.f_fsid is integral type" >&5
24659echo $ECHO_N "checking if f_fsid has val members... $ECHO_C" >&6; } 25903$as_echo_n "checking if struct statvfs.f_fsid is integral type... " >&6; }
24660cat >conftest.$ac_ext <<_ACEOF 25904cat >conftest.$ac_ext <<_ACEOF
24661/* confdefs.h. */ 25905/* confdefs.h. */
24662_ACEOF 25906_ACEOF
@@ -24665,11 +25909,67 @@ cat >>conftest.$ac_ext <<_ACEOF
24665/* end confdefs.h. */ 25909/* end confdefs.h. */
24666 25910
24667#include <sys/types.h> 25911#include <sys/types.h>
25912#include <sys/stat.h>
25913#ifdef HAVE_SYS_TIME_H
25914# include <sys/time.h>
25915#endif
25916#ifdef HAVE_SYS_MOUNT_H
25917#include <sys/mount.h>
25918#endif
25919#ifdef HAVE_SYS_STATVFS_H
25920#include <sys/statvfs.h>
25921#endif
25922
25923int
25924main ()
25925{
25926struct statvfs s; s.f_fsid = 0;
25927 ;
25928 return 0;
25929}
25930_ACEOF
25931rm -f conftest.$ac_objext
25932if { (ac_try="$ac_compile"
25933case "(($ac_try" in
25934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25935 *) ac_try_echo=$ac_try;;
25936esac
25937eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25938$as_echo "$ac_try_echo") >&5
25939 (eval "$ac_compile") 2>conftest.er1
25940 ac_status=$?
25941 grep -v '^ *+' conftest.er1 >conftest.err
25942 rm -f conftest.er1
25943 cat conftest.err >&5
25944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } && {
25946 test -z "$ac_c_werror_flag" ||
25947 test ! -s conftest.err
25948 } && test -s conftest.$ac_objext; then
25949 { $as_echo "$as_me:$LINENO: result: yes" >&5
25950$as_echo "yes" >&6; }
25951else
25952 $as_echo "$as_me: failed program was:" >&5
25953sed 's/^/| /' conftest.$ac_ext >&5
25954
25955 { $as_echo "$as_me:$LINENO: result: no" >&5
25956$as_echo "no" >&6; }
25957
25958 { $as_echo "$as_me:$LINENO: checking if fsid_t has member val" >&5
25959$as_echo_n "checking if fsid_t has member val... " >&6; }
25960 cat >conftest.$ac_ext <<_ACEOF
25961/* confdefs.h. */
25962_ACEOF
25963cat confdefs.h >>conftest.$ac_ext
25964cat >>conftest.$ac_ext <<_ACEOF
25965/* end confdefs.h. */
25966
25967#include <sys/types.h>
24668#include <sys/statvfs.h> 25968#include <sys/statvfs.h>
24669int 25969int
24670main () 25970main ()
24671{ 25971{
24672struct fsid_t t; t.val[0] = 0; 25972fsid_t t; t.val[0] = 0;
24673 ; 25973 ;
24674 return 0; 25974 return 0;
24675} 25975}
@@ -24680,39 +25980,97 @@ case "(($ac_try" in
24680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;; 25981 *) ac_try_echo=$ac_try;;
24682esac 25982esac
24683eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25983eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25984$as_echo "$ac_try_echo") >&5
24684 (eval "$ac_compile") 2>conftest.er1 25985 (eval "$ac_compile") 2>conftest.er1
24685 ac_status=$? 25986 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err 25987 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1 25988 rm -f conftest.er1
24688 cat conftest.err >&5 25989 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && { 25991 (exit $ac_status); } && {
24691 test -z "$ac_c_werror_flag" || 25992 test -z "$ac_c_werror_flag" ||
24692 test ! -s conftest.err 25993 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then 25994 } && test -s conftest.$ac_objext; then
24694 { echo "$as_me:$LINENO: result: yes" >&5 25995 { $as_echo "$as_me:$LINENO: result: yes" >&5
24695echo "${ECHO_T}yes" >&6; } 25996$as_echo "yes" >&6; }
24696 25997
24697cat >>confdefs.h <<\_ACEOF 25998cat >>confdefs.h <<\_ACEOF
24698#define FSID_HAS_VAL 1 25999#define FSID_HAS_VAL 1
24699_ACEOF 26000_ACEOF
24700 26001
24701else 26002else
24702 echo "$as_me: failed program was:" >&5 26003 $as_echo "$as_me: failed program was:" >&5
24703sed 's/^/| /' conftest.$ac_ext >&5 26004sed 's/^/| /' conftest.$ac_ext >&5
24704 26005
24705 { echo "$as_me:$LINENO: result: no" >&5 26006 { $as_echo "$as_me:$LINENO: result: no" >&5
24706echo "${ECHO_T}no" >&6; } 26007$as_echo "no" >&6; }
26008fi
26009
26010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26011
26012 { $as_echo "$as_me:$LINENO: checking if f_fsid has member __val" >&5
26013$as_echo_n "checking if f_fsid has member __val... " >&6; }
26014 cat >conftest.$ac_ext <<_ACEOF
26015/* confdefs.h. */
26016_ACEOF
26017cat confdefs.h >>conftest.$ac_ext
26018cat >>conftest.$ac_ext <<_ACEOF
26019/* end confdefs.h. */
24707 26020
26021#include <sys/types.h>
26022#include <sys/statvfs.h>
26023int
26024main ()
26025{
26026fsid_t t; t.__val[0] = 0;
26027 ;
26028 return 0;
26029}
26030_ACEOF
26031rm -f conftest.$ac_objext
26032if { (ac_try="$ac_compile"
26033case "(($ac_try" in
26034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26035 *) ac_try_echo=$ac_try;;
26036esac
26037eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26038$as_echo "$ac_try_echo") >&5
26039 (eval "$ac_compile") 2>conftest.er1
26040 ac_status=$?
26041 grep -v '^ *+' conftest.er1 >conftest.err
26042 rm -f conftest.er1
26043 cat conftest.err >&5
26044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); } && {
26046 test -z "$ac_c_werror_flag" ||
26047 test ! -s conftest.err
26048 } && test -s conftest.$ac_objext; then
26049 { $as_echo "$as_me:$LINENO: result: yes" >&5
26050$as_echo "yes" >&6; }
26051
26052cat >>confdefs.h <<\_ACEOF
26053#define FSID_HAS___VAL 1
26054_ACEOF
26055
26056else
26057 $as_echo "$as_me: failed program was:" >&5
26058sed 's/^/| /' conftest.$ac_ext >&5
26059
26060 { $as_echo "$as_me:$LINENO: result: no" >&5
26061$as_echo "no" >&6; }
24708fi 26062fi
24709 26063
24710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711 26065
24712{ echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 26066fi
24713echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; } 26067
26068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26069
26070{ $as_echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
26071$as_echo_n "checking for msg_control field in struct msghdr... " >&6; }
24714if test "${ac_cv_have_control_in_msghdr+set}" = set; then 26072if test "${ac_cv_have_control_in_msghdr+set}" = set; then
24715 echo $ECHO_N "(cached) $ECHO_C" >&6 26073 $as_echo_n "(cached) " >&6
24716else 26074else
24717 26075
24718 cat >conftest.$ac_ext <<_ACEOF 26076 cat >conftest.$ac_ext <<_ACEOF
@@ -24737,20 +26095,21 @@ case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;; 26096 *) ac_try_echo=$ac_try;;
24739esac 26097esac
24740eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26098eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26099$as_echo "$ac_try_echo") >&5
24741 (eval "$ac_compile") 2>conftest.er1 26100 (eval "$ac_compile") 2>conftest.er1
24742 ac_status=$? 26101 ac_status=$?
24743 grep -v '^ *+' conftest.er1 >conftest.err 26102 grep -v '^ *+' conftest.er1 >conftest.err
24744 rm -f conftest.er1 26103 rm -f conftest.er1
24745 cat conftest.err >&5 26104 cat conftest.err >&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } && { 26106 (exit $ac_status); } && {
24748 test -z "$ac_c_werror_flag" || 26107 test -z "$ac_c_werror_flag" ||
24749 test ! -s conftest.err 26108 test ! -s conftest.err
24750 } && test -s conftest.$ac_objext; then 26109 } && test -s conftest.$ac_objext; then
24751 ac_cv_have_control_in_msghdr="yes" 26110 ac_cv_have_control_in_msghdr="yes"
24752else 26111else
24753 echo "$as_me: failed program was:" >&5 26112 $as_echo "$as_me: failed program was:" >&5
24754sed 's/^/| /' conftest.$ac_ext >&5 26113sed 's/^/| /' conftest.$ac_ext >&5
24755 26114
24756 ac_cv_have_control_in_msghdr="no" 26115 ac_cv_have_control_in_msghdr="no"
@@ -24760,8 +26119,8 @@ fi
24760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 26120
24762fi 26121fi
24763{ echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 26122{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
24764echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6; } 26123$as_echo "$ac_cv_have_control_in_msghdr" >&6; }
24765if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then 26124if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
24766 26125
24767cat >>confdefs.h <<\_ACEOF 26126cat >>confdefs.h <<\_ACEOF
@@ -24770,10 +26129,10 @@ _ACEOF
24770 26129
24771fi 26130fi
24772 26131
24773{ echo "$as_me:$LINENO: checking if libc defines __progname" >&5 26132{ $as_echo "$as_me:$LINENO: checking if libc defines __progname" >&5
24774echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6; } 26133$as_echo_n "checking if libc defines __progname... " >&6; }
24775if test "${ac_cv_libc_defines___progname+set}" = set; then 26134if test "${ac_cv_libc_defines___progname+set}" = set; then
24776 echo $ECHO_N "(cached) $ECHO_C" >&6 26135 $as_echo_n "(cached) " >&6
24777else 26136else
24778 26137
24779 cat >conftest.$ac_ext <<_ACEOF 26138 cat >conftest.$ac_ext <<_ACEOF
@@ -24797,33 +26156,37 @@ case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;; 26157 *) ac_try_echo=$ac_try;;
24799esac 26158esac
24800eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26159eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26160$as_echo "$ac_try_echo") >&5
24801 (eval "$ac_link") 2>conftest.er1 26161 (eval "$ac_link") 2>conftest.er1
24802 ac_status=$? 26162 ac_status=$?
24803 grep -v '^ *+' conftest.er1 >conftest.err 26163 grep -v '^ *+' conftest.er1 >conftest.err
24804 rm -f conftest.er1 26164 rm -f conftest.er1
24805 cat conftest.err >&5 26165 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } && { 26167 (exit $ac_status); } && {
24808 test -z "$ac_c_werror_flag" || 26168 test -z "$ac_c_werror_flag" ||
24809 test ! -s conftest.err 26169 test ! -s conftest.err
24810 } && test -s conftest$ac_exeext && 26170 } && test -s conftest$ac_exeext && {
24811 $as_test_x conftest$ac_exeext; then 26171 test "$cross_compiling" = yes ||
26172 $as_test_x conftest$ac_exeext
26173 }; then
24812 ac_cv_libc_defines___progname="yes" 26174 ac_cv_libc_defines___progname="yes"
24813else 26175else
24814 echo "$as_me: failed program was:" >&5 26176 $as_echo "$as_me: failed program was:" >&5
24815sed 's/^/| /' conftest.$ac_ext >&5 26177sed 's/^/| /' conftest.$ac_ext >&5
24816 26178
24817 ac_cv_libc_defines___progname="no" 26179 ac_cv_libc_defines___progname="no"
24818 26180
24819fi 26181fi
24820 26182
26183rm -rf conftest.dSYM
24821rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26184rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24822 conftest$ac_exeext conftest.$ac_ext 26185 conftest$ac_exeext conftest.$ac_ext
24823 26186
24824fi 26187fi
24825{ echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 26188{ $as_echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
24826echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6; } 26189$as_echo "$ac_cv_libc_defines___progname" >&6; }
24827if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 26190if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
24828 26191
24829cat >>confdefs.h <<\_ACEOF 26192cat >>confdefs.h <<\_ACEOF
@@ -24832,10 +26195,10 @@ _ACEOF
24832 26195
24833fi 26196fi
24834 26197
24835{ echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 26198{ $as_echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5
24836echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6; } 26199$as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
24837if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then 26200if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
24838 echo $ECHO_N "(cached) $ECHO_C" >&6 26201 $as_echo_n "(cached) " >&6
24839else 26202else
24840 26203
24841 cat >conftest.$ac_ext <<_ACEOF 26204 cat >conftest.$ac_ext <<_ACEOF
@@ -24861,33 +26224,37 @@ case "(($ac_try" in
24861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24862 *) ac_try_echo=$ac_try;; 26225 *) ac_try_echo=$ac_try;;
24863esac 26226esac
24864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26227eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26228$as_echo "$ac_try_echo") >&5
24865 (eval "$ac_link") 2>conftest.er1 26229 (eval "$ac_link") 2>conftest.er1
24866 ac_status=$? 26230 ac_status=$?
24867 grep -v '^ *+' conftest.er1 >conftest.err 26231 grep -v '^ *+' conftest.er1 >conftest.err
24868 rm -f conftest.er1 26232 rm -f conftest.er1
24869 cat conftest.err >&5 26233 cat conftest.err >&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && { 26235 (exit $ac_status); } && {
24872 test -z "$ac_c_werror_flag" || 26236 test -z "$ac_c_werror_flag" ||
24873 test ! -s conftest.err 26237 test ! -s conftest.err
24874 } && test -s conftest$ac_exeext && 26238 } && test -s conftest$ac_exeext && {
24875 $as_test_x conftest$ac_exeext; then 26239 test "$cross_compiling" = yes ||
26240 $as_test_x conftest$ac_exeext
26241 }; then
24876 ac_cv_cc_implements___FUNCTION__="yes" 26242 ac_cv_cc_implements___FUNCTION__="yes"
24877else 26243else
24878 echo "$as_me: failed program was:" >&5 26244 $as_echo "$as_me: failed program was:" >&5
24879sed 's/^/| /' conftest.$ac_ext >&5 26245sed 's/^/| /' conftest.$ac_ext >&5
24880 26246
24881 ac_cv_cc_implements___FUNCTION__="no" 26247 ac_cv_cc_implements___FUNCTION__="no"
24882 26248
24883fi 26249fi
24884 26250
26251rm -rf conftest.dSYM
24885rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26252rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24886 conftest$ac_exeext conftest.$ac_ext 26253 conftest$ac_exeext conftest.$ac_ext
24887 26254
24888fi 26255fi
24889{ echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 26256{ $as_echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
24890echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6; } 26257$as_echo "$ac_cv_cc_implements___FUNCTION__" >&6; }
24891if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 26258if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
24892 26259
24893cat >>confdefs.h <<\_ACEOF 26260cat >>confdefs.h <<\_ACEOF
@@ -24896,10 +26263,10 @@ _ACEOF
24896 26263
24897fi 26264fi
24898 26265
24899{ echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 26266{ $as_echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5
24900echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6; } 26267$as_echo_n "checking whether $CC implements __func__... " >&6; }
24901if test "${ac_cv_cc_implements___func__+set}" = set; then 26268if test "${ac_cv_cc_implements___func__+set}" = set; then
24902 echo $ECHO_N "(cached) $ECHO_C" >&6 26269 $as_echo_n "(cached) " >&6
24903else 26270else
24904 26271
24905 cat >conftest.$ac_ext <<_ACEOF 26272 cat >conftest.$ac_ext <<_ACEOF
@@ -24925,33 +26292,37 @@ case "(($ac_try" in
24925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24926 *) ac_try_echo=$ac_try;; 26293 *) ac_try_echo=$ac_try;;
24927esac 26294esac
24928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26296$as_echo "$ac_try_echo") >&5
24929 (eval "$ac_link") 2>conftest.er1 26297 (eval "$ac_link") 2>conftest.er1
24930 ac_status=$? 26298 ac_status=$?
24931 grep -v '^ *+' conftest.er1 >conftest.err 26299 grep -v '^ *+' conftest.er1 >conftest.err
24932 rm -f conftest.er1 26300 rm -f conftest.er1
24933 cat conftest.err >&5 26301 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } && { 26303 (exit $ac_status); } && {
24936 test -z "$ac_c_werror_flag" || 26304 test -z "$ac_c_werror_flag" ||
24937 test ! -s conftest.err 26305 test ! -s conftest.err
24938 } && test -s conftest$ac_exeext && 26306 } && test -s conftest$ac_exeext && {
24939 $as_test_x conftest$ac_exeext; then 26307 test "$cross_compiling" = yes ||
26308 $as_test_x conftest$ac_exeext
26309 }; then
24940 ac_cv_cc_implements___func__="yes" 26310 ac_cv_cc_implements___func__="yes"
24941else 26311else
24942 echo "$as_me: failed program was:" >&5 26312 $as_echo "$as_me: failed program was:" >&5
24943sed 's/^/| /' conftest.$ac_ext >&5 26313sed 's/^/| /' conftest.$ac_ext >&5
24944 26314
24945 ac_cv_cc_implements___func__="no" 26315 ac_cv_cc_implements___func__="no"
24946 26316
24947fi 26317fi
24948 26318
26319rm -rf conftest.dSYM
24949rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26320rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24950 conftest$ac_exeext conftest.$ac_ext 26321 conftest$ac_exeext conftest.$ac_ext
24951 26322
24952fi 26323fi
24953{ echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 26324{ $as_echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
24954echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6; } 26325$as_echo "$ac_cv_cc_implements___func__" >&6; }
24955if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 26326if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
24956 26327
24957cat >>confdefs.h <<\_ACEOF 26328cat >>confdefs.h <<\_ACEOF
@@ -24960,10 +26331,10 @@ _ACEOF
24960 26331
24961fi 26332fi
24962 26333
24963{ echo "$as_me:$LINENO: checking whether va_copy exists" >&5 26334{ $as_echo "$as_me:$LINENO: checking whether va_copy exists" >&5
24964echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6; } 26335$as_echo_n "checking whether va_copy exists... " >&6; }
24965if test "${ac_cv_have_va_copy+set}" = set; then 26336if test "${ac_cv_have_va_copy+set}" = set; then
24966 echo $ECHO_N "(cached) $ECHO_C" >&6 26337 $as_echo_n "(cached) " >&6
24967else 26338else
24968 26339
24969 cat >conftest.$ac_ext <<_ACEOF 26340 cat >conftest.$ac_ext <<_ACEOF
@@ -24988,33 +26359,37 @@ case "(($ac_try" in
24988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24989 *) ac_try_echo=$ac_try;; 26360 *) ac_try_echo=$ac_try;;
24990esac 26361esac
24991eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26362eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26363$as_echo "$ac_try_echo") >&5
24992 (eval "$ac_link") 2>conftest.er1 26364 (eval "$ac_link") 2>conftest.er1
24993 ac_status=$? 26365 ac_status=$?
24994 grep -v '^ *+' conftest.er1 >conftest.err 26366 grep -v '^ *+' conftest.er1 >conftest.err
24995 rm -f conftest.er1 26367 rm -f conftest.er1
24996 cat conftest.err >&5 26368 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } && { 26370 (exit $ac_status); } && {
24999 test -z "$ac_c_werror_flag" || 26371 test -z "$ac_c_werror_flag" ||
25000 test ! -s conftest.err 26372 test ! -s conftest.err
25001 } && test -s conftest$ac_exeext && 26373 } && test -s conftest$ac_exeext && {
25002 $as_test_x conftest$ac_exeext; then 26374 test "$cross_compiling" = yes ||
26375 $as_test_x conftest$ac_exeext
26376 }; then
25003 ac_cv_have_va_copy="yes" 26377 ac_cv_have_va_copy="yes"
25004else 26378else
25005 echo "$as_me: failed program was:" >&5 26379 $as_echo "$as_me: failed program was:" >&5
25006sed 's/^/| /' conftest.$ac_ext >&5 26380sed 's/^/| /' conftest.$ac_ext >&5
25007 26381
25008 ac_cv_have_va_copy="no" 26382 ac_cv_have_va_copy="no"
25009 26383
25010fi 26384fi
25011 26385
26386rm -rf conftest.dSYM
25012rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26387rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25013 conftest$ac_exeext conftest.$ac_ext 26388 conftest$ac_exeext conftest.$ac_ext
25014 26389
25015fi 26390fi
25016{ echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5 26391{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5
25017echo "${ECHO_T}$ac_cv_have_va_copy" >&6; } 26392$as_echo "$ac_cv_have_va_copy" >&6; }
25018if test "x$ac_cv_have_va_copy" = "xyes" ; then 26393if test "x$ac_cv_have_va_copy" = "xyes" ; then
25019 26394
25020cat >>confdefs.h <<\_ACEOF 26395cat >>confdefs.h <<\_ACEOF
@@ -25023,10 +26398,10 @@ _ACEOF
25023 26398
25024fi 26399fi
25025 26400
25026{ echo "$as_me:$LINENO: checking whether __va_copy exists" >&5 26401{ $as_echo "$as_me:$LINENO: checking whether __va_copy exists" >&5
25027echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6; } 26402$as_echo_n "checking whether __va_copy exists... " >&6; }
25028if test "${ac_cv_have___va_copy+set}" = set; then 26403if test "${ac_cv_have___va_copy+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6 26404 $as_echo_n "(cached) " >&6
25030else 26405else
25031 26406
25032 cat >conftest.$ac_ext <<_ACEOF 26407 cat >conftest.$ac_ext <<_ACEOF
@@ -25051,33 +26426,37 @@ case "(($ac_try" in
25051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25052 *) ac_try_echo=$ac_try;; 26427 *) ac_try_echo=$ac_try;;
25053esac 26428esac
25054eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26429eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26430$as_echo "$ac_try_echo") >&5
25055 (eval "$ac_link") 2>conftest.er1 26431 (eval "$ac_link") 2>conftest.er1
25056 ac_status=$? 26432 ac_status=$?
25057 grep -v '^ *+' conftest.er1 >conftest.err 26433 grep -v '^ *+' conftest.er1 >conftest.err
25058 rm -f conftest.er1 26434 rm -f conftest.er1
25059 cat conftest.err >&5 26435 cat conftest.err >&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); } && { 26437 (exit $ac_status); } && {
25062 test -z "$ac_c_werror_flag" || 26438 test -z "$ac_c_werror_flag" ||
25063 test ! -s conftest.err 26439 test ! -s conftest.err
25064 } && test -s conftest$ac_exeext && 26440 } && test -s conftest$ac_exeext && {
25065 $as_test_x conftest$ac_exeext; then 26441 test "$cross_compiling" = yes ||
26442 $as_test_x conftest$ac_exeext
26443 }; then
25066 ac_cv_have___va_copy="yes" 26444 ac_cv_have___va_copy="yes"
25067else 26445else
25068 echo "$as_me: failed program was:" >&5 26446 $as_echo "$as_me: failed program was:" >&5
25069sed 's/^/| /' conftest.$ac_ext >&5 26447sed 's/^/| /' conftest.$ac_ext >&5
25070 26448
25071 ac_cv_have___va_copy="no" 26449 ac_cv_have___va_copy="no"
25072 26450
25073fi 26451fi
25074 26452
26453rm -rf conftest.dSYM
25075rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26454rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25076 conftest$ac_exeext conftest.$ac_ext 26455 conftest$ac_exeext conftest.$ac_ext
25077 26456
25078fi 26457fi
25079{ echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5 26458{ $as_echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5
25080echo "${ECHO_T}$ac_cv_have___va_copy" >&6; } 26459$as_echo "$ac_cv_have___va_copy" >&6; }
25081if test "x$ac_cv_have___va_copy" = "xyes" ; then 26460if test "x$ac_cv_have___va_copy" = "xyes" ; then
25082 26461
25083cat >>confdefs.h <<\_ACEOF 26462cat >>confdefs.h <<\_ACEOF
@@ -25086,10 +26465,10 @@ _ACEOF
25086 26465
25087fi 26466fi
25088 26467
25089{ echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 26468{ $as_echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
25090echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6; } 26469$as_echo_n "checking whether getopt has optreset support... " >&6; }
25091if test "${ac_cv_have_getopt_optreset+set}" = set; then 26470if test "${ac_cv_have_getopt_optreset+set}" = set; then
25092 echo $ECHO_N "(cached) $ECHO_C" >&6 26471 $as_echo_n "(cached) " >&6
25093else 26472else
25094 26473
25095 cat >conftest.$ac_ext <<_ACEOF 26474 cat >conftest.$ac_ext <<_ACEOF
@@ -25115,33 +26494,37 @@ case "(($ac_try" in
25115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25116 *) ac_try_echo=$ac_try;; 26495 *) ac_try_echo=$ac_try;;
25117esac 26496esac
25118eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26497eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26498$as_echo "$ac_try_echo") >&5
25119 (eval "$ac_link") 2>conftest.er1 26499 (eval "$ac_link") 2>conftest.er1
25120 ac_status=$? 26500 ac_status=$?
25121 grep -v '^ *+' conftest.er1 >conftest.err 26501 grep -v '^ *+' conftest.er1 >conftest.err
25122 rm -f conftest.er1 26502 rm -f conftest.er1
25123 cat conftest.err >&5 26503 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } && { 26505 (exit $ac_status); } && {
25126 test -z "$ac_c_werror_flag" || 26506 test -z "$ac_c_werror_flag" ||
25127 test ! -s conftest.err 26507 test ! -s conftest.err
25128 } && test -s conftest$ac_exeext && 26508 } && test -s conftest$ac_exeext && {
25129 $as_test_x conftest$ac_exeext; then 26509 test "$cross_compiling" = yes ||
26510 $as_test_x conftest$ac_exeext
26511 }; then
25130 ac_cv_have_getopt_optreset="yes" 26512 ac_cv_have_getopt_optreset="yes"
25131else 26513else
25132 echo "$as_me: failed program was:" >&5 26514 $as_echo "$as_me: failed program was:" >&5
25133sed 's/^/| /' conftest.$ac_ext >&5 26515sed 's/^/| /' conftest.$ac_ext >&5
25134 26516
25135 ac_cv_have_getopt_optreset="no" 26517 ac_cv_have_getopt_optreset="no"
25136 26518
25137fi 26519fi
25138 26520
26521rm -rf conftest.dSYM
25139rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26522rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25140 conftest$ac_exeext conftest.$ac_ext 26523 conftest$ac_exeext conftest.$ac_ext
25141 26524
25142fi 26525fi
25143{ echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 26526{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
25144echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6; } 26527$as_echo "$ac_cv_have_getopt_optreset" >&6; }
25145if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 26528if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
25146 26529
25147cat >>confdefs.h <<\_ACEOF 26530cat >>confdefs.h <<\_ACEOF
@@ -25150,10 +26533,10 @@ _ACEOF
25150 26533
25151fi 26534fi
25152 26535
25153{ echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 26536{ $as_echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
25154echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6; } 26537$as_echo_n "checking if libc defines sys_errlist... " >&6; }
25155if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then 26538if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6 26539 $as_echo_n "(cached) " >&6
25157else 26540else
25158 26541
25159 cat >conftest.$ac_ext <<_ACEOF 26542 cat >conftest.$ac_ext <<_ACEOF
@@ -25177,33 +26560,37 @@ case "(($ac_try" in
25177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25178 *) ac_try_echo=$ac_try;; 26561 *) ac_try_echo=$ac_try;;
25179esac 26562esac
25180eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26563eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26564$as_echo "$ac_try_echo") >&5
25181 (eval "$ac_link") 2>conftest.er1 26565 (eval "$ac_link") 2>conftest.er1
25182 ac_status=$? 26566 ac_status=$?
25183 grep -v '^ *+' conftest.er1 >conftest.err 26567 grep -v '^ *+' conftest.er1 >conftest.err
25184 rm -f conftest.er1 26568 rm -f conftest.er1
25185 cat conftest.err >&5 26569 cat conftest.err >&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && { 26571 (exit $ac_status); } && {
25188 test -z "$ac_c_werror_flag" || 26572 test -z "$ac_c_werror_flag" ||
25189 test ! -s conftest.err 26573 test ! -s conftest.err
25190 } && test -s conftest$ac_exeext && 26574 } && test -s conftest$ac_exeext && {
25191 $as_test_x conftest$ac_exeext; then 26575 test "$cross_compiling" = yes ||
26576 $as_test_x conftest$ac_exeext
26577 }; then
25192 ac_cv_libc_defines_sys_errlist="yes" 26578 ac_cv_libc_defines_sys_errlist="yes"
25193else 26579else
25194 echo "$as_me: failed program was:" >&5 26580 $as_echo "$as_me: failed program was:" >&5
25195sed 's/^/| /' conftest.$ac_ext >&5 26581sed 's/^/| /' conftest.$ac_ext >&5
25196 26582
25197 ac_cv_libc_defines_sys_errlist="no" 26583 ac_cv_libc_defines_sys_errlist="no"
25198 26584
25199fi 26585fi
25200 26586
26587rm -rf conftest.dSYM
25201rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26588rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25202 conftest$ac_exeext conftest.$ac_ext 26589 conftest$ac_exeext conftest.$ac_ext
25203 26590
25204fi 26591fi
25205{ echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 26592{ $as_echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
25206echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6; } 26593$as_echo "$ac_cv_libc_defines_sys_errlist" >&6; }
25207if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 26594if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
25208 26595
25209cat >>confdefs.h <<\_ACEOF 26596cat >>confdefs.h <<\_ACEOF
@@ -25213,10 +26600,10 @@ _ACEOF
25213fi 26600fi
25214 26601
25215 26602
25216{ echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 26603{ $as_echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5
25217echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6; } 26604$as_echo_n "checking if libc defines sys_nerr... " >&6; }
25218if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then 26605if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
25219 echo $ECHO_N "(cached) $ECHO_C" >&6 26606 $as_echo_n "(cached) " >&6
25220else 26607else
25221 26608
25222 cat >conftest.$ac_ext <<_ACEOF 26609 cat >conftest.$ac_ext <<_ACEOF
@@ -25240,33 +26627,37 @@ case "(($ac_try" in
25240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25241 *) ac_try_echo=$ac_try;; 26628 *) ac_try_echo=$ac_try;;
25242esac 26629esac
25243eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26630eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26631$as_echo "$ac_try_echo") >&5
25244 (eval "$ac_link") 2>conftest.er1 26632 (eval "$ac_link") 2>conftest.er1
25245 ac_status=$? 26633 ac_status=$?
25246 grep -v '^ *+' conftest.er1 >conftest.err 26634 grep -v '^ *+' conftest.er1 >conftest.err
25247 rm -f conftest.er1 26635 rm -f conftest.er1
25248 cat conftest.err >&5 26636 cat conftest.err >&5
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); } && { 26638 (exit $ac_status); } && {
25251 test -z "$ac_c_werror_flag" || 26639 test -z "$ac_c_werror_flag" ||
25252 test ! -s conftest.err 26640 test ! -s conftest.err
25253 } && test -s conftest$ac_exeext && 26641 } && test -s conftest$ac_exeext && {
25254 $as_test_x conftest$ac_exeext; then 26642 test "$cross_compiling" = yes ||
26643 $as_test_x conftest$ac_exeext
26644 }; then
25255 ac_cv_libc_defines_sys_nerr="yes" 26645 ac_cv_libc_defines_sys_nerr="yes"
25256else 26646else
25257 echo "$as_me: failed program was:" >&5 26647 $as_echo "$as_me: failed program was:" >&5
25258sed 's/^/| /' conftest.$ac_ext >&5 26648sed 's/^/| /' conftest.$ac_ext >&5
25259 26649
25260 ac_cv_libc_defines_sys_nerr="no" 26650 ac_cv_libc_defines_sys_nerr="no"
25261 26651
25262fi 26652fi
25263 26653
26654rm -rf conftest.dSYM
25264rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26655rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25265 conftest$ac_exeext conftest.$ac_ext 26656 conftest$ac_exeext conftest.$ac_ext
25266 26657
25267fi 26658fi
25268{ echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 26659{ $as_echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
25269echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6; } 26660$as_echo "$ac_cv_libc_defines_sys_nerr" >&6; }
25270if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 26661if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
25271 26662
25272cat >>confdefs.h <<\_ACEOF 26663cat >>confdefs.h <<\_ACEOF
@@ -25295,20 +26686,21 @@ if test "${with_sectok+set}" = set; then
25295 26686
25296for ac_header in sectok.h 26687for ac_header in sectok.h
25297do 26688do
25298as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 26689as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25299if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 26690if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25300 { echo "$as_me:$LINENO: checking for $ac_header" >&5 26691 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25301echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 26692$as_echo_n "checking for $ac_header... " >&6; }
25302if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 26693if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6 26694 $as_echo_n "(cached) " >&6
25304fi 26695fi
25305ac_res=`eval echo '${'$as_ac_Header'}'` 26696ac_res=`eval 'as_val=${'$as_ac_Header'}
25306 { echo "$as_me:$LINENO: result: $ac_res" >&5 26697 $as_echo "$as_val"'`
25307echo "${ECHO_T}$ac_res" >&6; } 26698 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26699$as_echo "$ac_res" >&6; }
25308else 26700else
25309 # Is the header compilable? 26701 # Is the header compilable?
25310{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 26702{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25311echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 26703$as_echo_n "checking $ac_header usability... " >&6; }
25312cat >conftest.$ac_ext <<_ACEOF 26704cat >conftest.$ac_ext <<_ACEOF
25313/* confdefs.h. */ 26705/* confdefs.h. */
25314_ACEOF 26706_ACEOF
@@ -25324,32 +26716,33 @@ case "(($ac_try" in
25324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25325 *) ac_try_echo=$ac_try;; 26717 *) ac_try_echo=$ac_try;;
25326esac 26718esac
25327eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26719eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26720$as_echo "$ac_try_echo") >&5
25328 (eval "$ac_compile") 2>conftest.er1 26721 (eval "$ac_compile") 2>conftest.er1
25329 ac_status=$? 26722 ac_status=$?
25330 grep -v '^ *+' conftest.er1 >conftest.err 26723 grep -v '^ *+' conftest.er1 >conftest.err
25331 rm -f conftest.er1 26724 rm -f conftest.er1
25332 cat conftest.err >&5 26725 cat conftest.err >&5
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); } && { 26727 (exit $ac_status); } && {
25335 test -z "$ac_c_werror_flag" || 26728 test -z "$ac_c_werror_flag" ||
25336 test ! -s conftest.err 26729 test ! -s conftest.err
25337 } && test -s conftest.$ac_objext; then 26730 } && test -s conftest.$ac_objext; then
25338 ac_header_compiler=yes 26731 ac_header_compiler=yes
25339else 26732else
25340 echo "$as_me: failed program was:" >&5 26733 $as_echo "$as_me: failed program was:" >&5
25341sed 's/^/| /' conftest.$ac_ext >&5 26734sed 's/^/| /' conftest.$ac_ext >&5
25342 26735
25343 ac_header_compiler=no 26736 ac_header_compiler=no
25344fi 26737fi
25345 26738
25346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25347{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 26740{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25348echo "${ECHO_T}$ac_header_compiler" >&6; } 26741$as_echo "$ac_header_compiler" >&6; }
25349 26742
25350# Is the header present? 26743# Is the header present?
25351{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 26744{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25352echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 26745$as_echo_n "checking $ac_header presence... " >&6; }
25353cat >conftest.$ac_ext <<_ACEOF 26746cat >conftest.$ac_ext <<_ACEOF
25354/* confdefs.h. */ 26747/* confdefs.h. */
25355_ACEOF 26748_ACEOF
@@ -25363,51 +26756,52 @@ case "(($ac_try" in
25363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25364 *) ac_try_echo=$ac_try;; 26757 *) ac_try_echo=$ac_try;;
25365esac 26758esac
25366eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26760$as_echo "$ac_try_echo") >&5
25367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 26761 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25368 ac_status=$? 26762 ac_status=$?
25369 grep -v '^ *+' conftest.er1 >conftest.err 26763 grep -v '^ *+' conftest.er1 >conftest.err
25370 rm -f conftest.er1 26764 rm -f conftest.er1
25371 cat conftest.err >&5 26765 cat conftest.err >&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } >/dev/null && { 26767 (exit $ac_status); } >/dev/null && {
25374 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 26768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25375 test ! -s conftest.err 26769 test ! -s conftest.err
25376 }; then 26770 }; then
25377 ac_header_preproc=yes 26771 ac_header_preproc=yes
25378else 26772else
25379 echo "$as_me: failed program was:" >&5 26773 $as_echo "$as_me: failed program was:" >&5
25380sed 's/^/| /' conftest.$ac_ext >&5 26774sed 's/^/| /' conftest.$ac_ext >&5
25381 26775
25382 ac_header_preproc=no 26776 ac_header_preproc=no
25383fi 26777fi
25384 26778
25385rm -f conftest.err conftest.$ac_ext 26779rm -f conftest.err conftest.$ac_ext
25386{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 26780{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25387echo "${ECHO_T}$ac_header_preproc" >&6; } 26781$as_echo "$ac_header_preproc" >&6; }
25388 26782
25389# So? What about this header? 26783# So? What about this header?
25390case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 26784case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25391 yes:no: ) 26785 yes:no: )
25392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 26786 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25393echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 26787$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 26788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25395echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 26789$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25396 ac_header_preproc=yes 26790 ac_header_preproc=yes
25397 ;; 26791 ;;
25398 no:yes:* ) 26792 no:yes:* )
25399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 26793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25400echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 26794$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 26795 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25402echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 26796$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 26797 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25404echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 26798$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 26799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25406echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 26800$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 26801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25408echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 26802$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 26803 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25410echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 26804$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25411 ( cat <<\_ASBOX 26805 ( cat <<\_ASBOX
25412## ------------------------------------------- ## 26806## ------------------------------------------- ##
25413## Report this to openssh-unix-dev@mindrot.org ## 26807## Report this to openssh-unix-dev@mindrot.org ##
@@ -25416,21 +26810,23 @@ _ASBOX
25416 ) | sed "s/^/$as_me: WARNING: /" >&2 26810 ) | sed "s/^/$as_me: WARNING: /" >&2
25417 ;; 26811 ;;
25418esac 26812esac
25419{ echo "$as_me:$LINENO: checking for $ac_header" >&5 26813{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25420echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 26814$as_echo_n "checking for $ac_header... " >&6; }
25421if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 26815if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25422 echo $ECHO_N "(cached) $ECHO_C" >&6 26816 $as_echo_n "(cached) " >&6
25423else 26817else
25424 eval "$as_ac_Header=\$ac_header_preproc" 26818 eval "$as_ac_Header=\$ac_header_preproc"
25425fi 26819fi
25426ac_res=`eval echo '${'$as_ac_Header'}'` 26820ac_res=`eval 'as_val=${'$as_ac_Header'}
25427 { echo "$as_me:$LINENO: result: $ac_res" >&5 26821 $as_echo "$as_val"'`
25428echo "${ECHO_T}$ac_res" >&6; } 26822 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26823$as_echo "$ac_res" >&6; }
25429 26824
25430fi 26825fi
25431if test `eval echo '${'$as_ac_Header'}'` = yes; then 26826if test `eval 'as_val=${'$as_ac_Header'}
26827 $as_echo "$as_val"'` = yes; then
25432 cat >>confdefs.h <<_ACEOF 26828 cat >>confdefs.h <<_ACEOF
25433#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 26829#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25434_ACEOF 26830_ACEOF
25435 26831
25436fi 26832fi
@@ -25438,15 +26834,15 @@ fi
25438done 26834done
25439 26835
25440 if test "$ac_cv_header_sectok_h" != yes; then 26836 if test "$ac_cv_header_sectok_h" != yes; then
25441 { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5 26837 { { $as_echo "$as_me:$LINENO: error: Can't find sectok.h" >&5
25442echo "$as_me: error: Can't find sectok.h" >&2;} 26838$as_echo "$as_me: error: Can't find sectok.h" >&2;}
25443 { (exit 1); exit 1; }; } 26839 { (exit 1); exit 1; }; }
25444 fi 26840 fi
25445 26841
25446{ echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5 26842{ $as_echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5
25447echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6; } 26843$as_echo_n "checking for sectok_open in -lsectok... " >&6; }
25448if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then 26844if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6 26845 $as_echo_n "(cached) " >&6
25450else 26846else
25451 ac_check_lib_save_LIBS=$LIBS 26847 ac_check_lib_save_LIBS=$LIBS
25452LIBS="-lsectok $LIBS" 26848LIBS="-lsectok $LIBS"
@@ -25478,32 +26874,36 @@ case "(($ac_try" in
25478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25479 *) ac_try_echo=$ac_try;; 26875 *) ac_try_echo=$ac_try;;
25480esac 26876esac
25481eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26877eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26878$as_echo "$ac_try_echo") >&5
25482 (eval "$ac_link") 2>conftest.er1 26879 (eval "$ac_link") 2>conftest.er1
25483 ac_status=$? 26880 ac_status=$?
25484 grep -v '^ *+' conftest.er1 >conftest.err 26881 grep -v '^ *+' conftest.er1 >conftest.err
25485 rm -f conftest.er1 26882 rm -f conftest.er1
25486 cat conftest.err >&5 26883 cat conftest.err >&5
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); } && { 26885 (exit $ac_status); } && {
25489 test -z "$ac_c_werror_flag" || 26886 test -z "$ac_c_werror_flag" ||
25490 test ! -s conftest.err 26887 test ! -s conftest.err
25491 } && test -s conftest$ac_exeext && 26888 } && test -s conftest$ac_exeext && {
25492 $as_test_x conftest$ac_exeext; then 26889 test "$cross_compiling" = yes ||
26890 $as_test_x conftest$ac_exeext
26891 }; then
25493 ac_cv_lib_sectok_sectok_open=yes 26892 ac_cv_lib_sectok_sectok_open=yes
25494else 26893else
25495 echo "$as_me: failed program was:" >&5 26894 $as_echo "$as_me: failed program was:" >&5
25496sed 's/^/| /' conftest.$ac_ext >&5 26895sed 's/^/| /' conftest.$ac_ext >&5
25497 26896
25498 ac_cv_lib_sectok_sectok_open=no 26897 ac_cv_lib_sectok_sectok_open=no
25499fi 26898fi
25500 26899
26900rm -rf conftest.dSYM
25501rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26901rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25502 conftest$ac_exeext conftest.$ac_ext 26902 conftest$ac_exeext conftest.$ac_ext
25503LIBS=$ac_check_lib_save_LIBS 26903LIBS=$ac_check_lib_save_LIBS
25504fi 26904fi
25505{ echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5 26905{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
25506echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6; } 26906$as_echo "$ac_cv_lib_sectok_sectok_open" >&6; }
25507if test $ac_cv_lib_sectok_sectok_open = yes; then 26907if test $ac_cv_lib_sectok_sectok_open = yes; then
25508 cat >>confdefs.h <<_ACEOF 26908 cat >>confdefs.h <<_ACEOF
25509#define HAVE_LIBSECTOK 1 26909#define HAVE_LIBSECTOK 1
@@ -25514,8 +26914,8 @@ _ACEOF
25514fi 26914fi
25515 26915
25516 if test "$ac_cv_lib_sectok_sectok_open" != yes; then 26916 if test "$ac_cv_lib_sectok_sectok_open" != yes; then
25517 { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5 26917 { { $as_echo "$as_me:$LINENO: error: Can't find libsectok" >&5
25518echo "$as_me: error: Can't find libsectok" >&2;} 26918$as_echo "$as_me: error: Can't find libsectok" >&2;}
25519 { (exit 1); exit 1; }; } 26919 { (exit 1); exit 1; }; }
25520 fi 26920 fi
25521 26921
@@ -25547,10 +26947,10 @@ if test "${with_opensc+set}" = set; then
25547 else 26947 else
25548 # Extract the first word of "opensc-config", so it can be a program name with args. 26948 # Extract the first word of "opensc-config", so it can be a program name with args.
25549set dummy opensc-config; ac_word=$2 26949set dummy opensc-config; ac_word=$2
25550{ echo "$as_me:$LINENO: checking for $ac_word" >&5 26950{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25551echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 26951$as_echo_n "checking for $ac_word... " >&6; }
25552if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then 26952if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6 26953 $as_echo_n "(cached) " >&6
25554else 26954else
25555 case $OPENSC_CONFIG in 26955 case $OPENSC_CONFIG in
25556 [\\/]* | ?:[\\/]*) 26956 [\\/]* | ?:[\\/]*)
@@ -25565,7 +26965,7 @@ do
25565 for ac_exec_ext in '' $ac_executable_extensions; do 26965 for ac_exec_ext in '' $ac_executable_extensions; do
25566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25567 ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext" 26967 ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26968 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25569 break 2 26969 break 2
25570 fi 26970 fi
25571done 26971done
@@ -25578,11 +26978,11 @@ esac
25578fi 26978fi
25579OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG 26979OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
25580if test -n "$OPENSC_CONFIG"; then 26980if test -n "$OPENSC_CONFIG"; then
25581 { echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 26981 { $as_echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5
25582echo "${ECHO_T}$OPENSC_CONFIG" >&6; } 26982$as_echo "$OPENSC_CONFIG" >&6; }
25583else 26983else
25584 { echo "$as_me:$LINENO: result: no" >&5 26984 { $as_echo "$as_me:$LINENO: result: no" >&5
25585echo "${ECHO_T}no" >&6; } 26985$as_echo "no" >&6; }
25586fi 26986fi
25587 26987
25588 26988
@@ -25610,10 +27010,10 @@ fi
25610 27010
25611 27011
25612# Check libraries needed by DNS fingerprint support 27012# Check libraries needed by DNS fingerprint support
25613{ echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5 27013{ $as_echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5
25614echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6; } 27014$as_echo_n "checking for library containing getrrsetbyname... " >&6; }
25615if test "${ac_cv_search_getrrsetbyname+set}" = set; then 27015if test "${ac_cv_search_getrrsetbyname+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6 27016 $as_echo_n "(cached) " >&6
25617else 27017else
25618 ac_func_search_save_LIBS=$LIBS 27018 ac_func_search_save_LIBS=$LIBS
25619cat >conftest.$ac_ext <<_ACEOF 27019cat >conftest.$ac_ext <<_ACEOF
@@ -25651,26 +27051,30 @@ case "(($ac_try" in
25651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25652 *) ac_try_echo=$ac_try;; 27052 *) ac_try_echo=$ac_try;;
25653esac 27053esac
25654eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27054eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27055$as_echo "$ac_try_echo") >&5
25655 (eval "$ac_link") 2>conftest.er1 27056 (eval "$ac_link") 2>conftest.er1
25656 ac_status=$? 27057 ac_status=$?
25657 grep -v '^ *+' conftest.er1 >conftest.err 27058 grep -v '^ *+' conftest.er1 >conftest.err
25658 rm -f conftest.er1 27059 rm -f conftest.er1
25659 cat conftest.err >&5 27060 cat conftest.err >&5
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); } && { 27062 (exit $ac_status); } && {
25662 test -z "$ac_c_werror_flag" || 27063 test -z "$ac_c_werror_flag" ||
25663 test ! -s conftest.err 27064 test ! -s conftest.err
25664 } && test -s conftest$ac_exeext && 27065 } && test -s conftest$ac_exeext && {
25665 $as_test_x conftest$ac_exeext; then 27066 test "$cross_compiling" = yes ||
27067 $as_test_x conftest$ac_exeext
27068 }; then
25666 ac_cv_search_getrrsetbyname=$ac_res 27069 ac_cv_search_getrrsetbyname=$ac_res
25667else 27070else
25668 echo "$as_me: failed program was:" >&5 27071 $as_echo "$as_me: failed program was:" >&5
25669sed 's/^/| /' conftest.$ac_ext >&5 27072sed 's/^/| /' conftest.$ac_ext >&5
25670 27073
25671 27074
25672fi 27075fi
25673 27076
27077rm -rf conftest.dSYM
25674rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27078rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25675 conftest$ac_exeext 27079 conftest$ac_exeext
25676 if test "${ac_cv_search_getrrsetbyname+set}" = set; then 27080 if test "${ac_cv_search_getrrsetbyname+set}" = set; then
@@ -25685,8 +27089,8 @@ fi
25685rm conftest.$ac_ext 27089rm conftest.$ac_ext
25686LIBS=$ac_func_search_save_LIBS 27090LIBS=$ac_func_search_save_LIBS
25687fi 27091fi
25688{ echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5 27092{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5
25689echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6; } 27093$as_echo "$ac_cv_search_getrrsetbyname" >&6; }
25690ac_res=$ac_cv_search_getrrsetbyname 27094ac_res=$ac_cv_search_getrrsetbyname
25691if test "$ac_res" != no; then 27095if test "$ac_res" != no; then
25692 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27096 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -25698,10 +27102,10 @@ _ACEOF
25698else 27102else
25699 27103
25700 # Needed by our getrrsetbyname() 27104 # Needed by our getrrsetbyname()
25701 { echo "$as_me:$LINENO: checking for library containing res_query" >&5 27105 { $as_echo "$as_me:$LINENO: checking for library containing res_query" >&5
25702echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6; } 27106$as_echo_n "checking for library containing res_query... " >&6; }
25703if test "${ac_cv_search_res_query+set}" = set; then 27107if test "${ac_cv_search_res_query+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6 27108 $as_echo_n "(cached) " >&6
25705else 27109else
25706 ac_func_search_save_LIBS=$LIBS 27110 ac_func_search_save_LIBS=$LIBS
25707cat >conftest.$ac_ext <<_ACEOF 27111cat >conftest.$ac_ext <<_ACEOF
@@ -25739,26 +27143,30 @@ case "(($ac_try" in
25739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25740 *) ac_try_echo=$ac_try;; 27144 *) ac_try_echo=$ac_try;;
25741esac 27145esac
25742eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27146eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27147$as_echo "$ac_try_echo") >&5
25743 (eval "$ac_link") 2>conftest.er1 27148 (eval "$ac_link") 2>conftest.er1
25744 ac_status=$? 27149 ac_status=$?
25745 grep -v '^ *+' conftest.er1 >conftest.err 27150 grep -v '^ *+' conftest.er1 >conftest.err
25746 rm -f conftest.er1 27151 rm -f conftest.er1
25747 cat conftest.err >&5 27152 cat conftest.err >&5
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); } && { 27154 (exit $ac_status); } && {
25750 test -z "$ac_c_werror_flag" || 27155 test -z "$ac_c_werror_flag" ||
25751 test ! -s conftest.err 27156 test ! -s conftest.err
25752 } && test -s conftest$ac_exeext && 27157 } && test -s conftest$ac_exeext && {
25753 $as_test_x conftest$ac_exeext; then 27158 test "$cross_compiling" = yes ||
27159 $as_test_x conftest$ac_exeext
27160 }; then
25754 ac_cv_search_res_query=$ac_res 27161 ac_cv_search_res_query=$ac_res
25755else 27162else
25756 echo "$as_me: failed program was:" >&5 27163 $as_echo "$as_me: failed program was:" >&5
25757sed 's/^/| /' conftest.$ac_ext >&5 27164sed 's/^/| /' conftest.$ac_ext >&5
25758 27165
25759 27166
25760fi 27167fi
25761 27168
27169rm -rf conftest.dSYM
25762rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27170rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25763 conftest$ac_exeext 27171 conftest$ac_exeext
25764 if test "${ac_cv_search_res_query+set}" = set; then 27172 if test "${ac_cv_search_res_query+set}" = set; then
@@ -25773,18 +27181,18 @@ fi
25773rm conftest.$ac_ext 27181rm conftest.$ac_ext
25774LIBS=$ac_func_search_save_LIBS 27182LIBS=$ac_func_search_save_LIBS
25775fi 27183fi
25776{ echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5 27184{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5
25777echo "${ECHO_T}$ac_cv_search_res_query" >&6; } 27185$as_echo "$ac_cv_search_res_query" >&6; }
25778ac_res=$ac_cv_search_res_query 27186ac_res=$ac_cv_search_res_query
25779if test "$ac_res" != no; then 27187if test "$ac_res" != no; then
25780 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27188 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
25781 27189
25782fi 27190fi
25783 27191
25784 { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 27192 { $as_echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
25785echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } 27193$as_echo_n "checking for library containing dn_expand... " >&6; }
25786if test "${ac_cv_search_dn_expand+set}" = set; then 27194if test "${ac_cv_search_dn_expand+set}" = set; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6 27195 $as_echo_n "(cached) " >&6
25788else 27196else
25789 ac_func_search_save_LIBS=$LIBS 27197 ac_func_search_save_LIBS=$LIBS
25790cat >conftest.$ac_ext <<_ACEOF 27198cat >conftest.$ac_ext <<_ACEOF
@@ -25822,26 +27230,30 @@ case "(($ac_try" in
25822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25823 *) ac_try_echo=$ac_try;; 27231 *) ac_try_echo=$ac_try;;
25824esac 27232esac
25825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27234$as_echo "$ac_try_echo") >&5
25826 (eval "$ac_link") 2>conftest.er1 27235 (eval "$ac_link") 2>conftest.er1
25827 ac_status=$? 27236 ac_status=$?
25828 grep -v '^ *+' conftest.er1 >conftest.err 27237 grep -v '^ *+' conftest.er1 >conftest.err
25829 rm -f conftest.er1 27238 rm -f conftest.er1
25830 cat conftest.err >&5 27239 cat conftest.err >&5
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); } && { 27241 (exit $ac_status); } && {
25833 test -z "$ac_c_werror_flag" || 27242 test -z "$ac_c_werror_flag" ||
25834 test ! -s conftest.err 27243 test ! -s conftest.err
25835 } && test -s conftest$ac_exeext && 27244 } && test -s conftest$ac_exeext && {
25836 $as_test_x conftest$ac_exeext; then 27245 test "$cross_compiling" = yes ||
27246 $as_test_x conftest$ac_exeext
27247 }; then
25837 ac_cv_search_dn_expand=$ac_res 27248 ac_cv_search_dn_expand=$ac_res
25838else 27249else
25839 echo "$as_me: failed program was:" >&5 27250 $as_echo "$as_me: failed program was:" >&5
25840sed 's/^/| /' conftest.$ac_ext >&5 27251sed 's/^/| /' conftest.$ac_ext >&5
25841 27252
25842 27253
25843fi 27254fi
25844 27255
27256rm -rf conftest.dSYM
25845rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27257rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25846 conftest$ac_exeext 27258 conftest$ac_exeext
25847 if test "${ac_cv_search_dn_expand+set}" = set; then 27259 if test "${ac_cv_search_dn_expand+set}" = set; then
@@ -25856,37 +27268,30 @@ fi
25856rm conftest.$ac_ext 27268rm conftest.$ac_ext
25857LIBS=$ac_func_search_save_LIBS 27269LIBS=$ac_func_search_save_LIBS
25858fi 27270fi
25859{ echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 27271{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
25860echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } 27272$as_echo "$ac_cv_search_dn_expand" >&6; }
25861ac_res=$ac_cv_search_dn_expand 27273ac_res=$ac_cv_search_dn_expand
25862if test "$ac_res" != no; then 27274if test "$ac_res" != no; then
25863 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27275 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
25864 27276
25865fi 27277fi
25866 27278
25867 { echo "$as_me:$LINENO: checking if res_query will link" >&5 27279 { $as_echo "$as_me:$LINENO: checking if res_query will link" >&5
25868echo $ECHO_N "checking if res_query will link... $ECHO_C" >&6; } 27280$as_echo_n "checking if res_query will link... " >&6; }
25869 cat >conftest.$ac_ext <<_ACEOF 27281 cat >conftest.$ac_ext <<_ACEOF
25870/* confdefs.h. */
25871_ACEOF
25872cat confdefs.h >>conftest.$ac_ext
25873cat >>conftest.$ac_ext <<_ACEOF
25874/* end confdefs.h. */
25875 27282
25876/* Override any GCC internal prototype to avoid an error. 27283#include "confdefs.h"
25877 Use char because int might match the return type of a GCC 27284#include <sys/types.h>
25878 builtin and then its argument prototype would still apply. */ 27285#include <netinet/in.h>
25879#ifdef __cplusplus 27286#include <arpa/nameser.h>
25880extern "C" 27287#include <netdb.h>
25881#endif 27288#include <resolv.h>
25882char res_query (); 27289int main()
25883int
25884main ()
25885{ 27290{
25886return res_query (); 27291 res_query (0, 0, 0, 0, 0);
25887 ; 27292 return 0;
25888 return 0;
25889} 27293}
27294
25890_ACEOF 27295_ACEOF
25891rm -f conftest.$ac_objext conftest$ac_exeext 27296rm -f conftest.$ac_objext conftest$ac_exeext
25892if { (ac_try="$ac_link" 27297if { (ac_try="$ac_link"
@@ -25894,32 +27299,40 @@ case "(($ac_try" in
25894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25895 *) ac_try_echo=$ac_try;; 27300 *) ac_try_echo=$ac_try;;
25896esac 27301esac
25897eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27302eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27303$as_echo "$ac_try_echo") >&5
25898 (eval "$ac_link") 2>conftest.er1 27304 (eval "$ac_link") 2>conftest.er1
25899 ac_status=$? 27305 ac_status=$?
25900 grep -v '^ *+' conftest.er1 >conftest.err 27306 grep -v '^ *+' conftest.er1 >conftest.err
25901 rm -f conftest.er1 27307 rm -f conftest.er1
25902 cat conftest.err >&5 27308 cat conftest.err >&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); } && { 27310 (exit $ac_status); } && {
25905 test -z "$ac_c_werror_flag" || 27311 test -z "$ac_c_werror_flag" ||
25906 test ! -s conftest.err 27312 test ! -s conftest.err
25907 } && test -s conftest$ac_exeext && 27313 } && test -s conftest$ac_exeext && {
25908 $as_test_x conftest$ac_exeext; then 27314 test "$cross_compiling" = yes ||
25909 { echo "$as_me:$LINENO: result: yes" >&5 27315 $as_test_x conftest$ac_exeext
25910echo "${ECHO_T}yes" >&6; } 27316 }; then
27317 { $as_echo "$as_me:$LINENO: result: yes" >&5
27318$as_echo "yes" >&6; }
25911else 27319else
25912 echo "$as_me: failed program was:" >&5 27320 $as_echo "$as_me: failed program was:" >&5
25913sed 's/^/| /' conftest.$ac_ext >&5 27321sed 's/^/| /' conftest.$ac_ext >&5
25914 27322
25915 { echo "$as_me:$LINENO: result: no" >&5 27323 { $as_echo "$as_me:$LINENO: result: no" >&5
25916echo "${ECHO_T}no" >&6; } 27324$as_echo "no" >&6; }
25917 saved_LIBS="$LIBS" 27325 saved_LIBS="$LIBS"
25918 LIBS="$LIBS -lresolv" 27326 LIBS="$LIBS -lresolv"
25919 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 27327 { $as_echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
25920echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } 27328$as_echo_n "checking for res_query in -lresolv... " >&6; }
25921 cat >conftest.$ac_ext <<_ACEOF 27329 cat >conftest.$ac_ext <<_ACEOF
25922 27330
27331#include "confdefs.h"
27332#include <sys/types.h>
27333#include <netinet/in.h>
27334#include <arpa/nameser.h>
27335#include <netdb.h>
25923#include <resolv.h> 27336#include <resolv.h>
25924int main() 27337int main()
25925{ 27338{
@@ -25934,46 +27347,50 @@ case "(($ac_try" in
25934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25935 *) ac_try_echo=$ac_try;; 27348 *) ac_try_echo=$ac_try;;
25936esac 27349esac
25937eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27350eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27351$as_echo "$ac_try_echo") >&5
25938 (eval "$ac_link") 2>conftest.er1 27352 (eval "$ac_link") 2>conftest.er1
25939 ac_status=$? 27353 ac_status=$?
25940 grep -v '^ *+' conftest.er1 >conftest.err 27354 grep -v '^ *+' conftest.er1 >conftest.err
25941 rm -f conftest.er1 27355 rm -f conftest.er1
25942 cat conftest.err >&5 27356 cat conftest.err >&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } && { 27358 (exit $ac_status); } && {
25945 test -z "$ac_c_werror_flag" || 27359 test -z "$ac_c_werror_flag" ||
25946 test ! -s conftest.err 27360 test ! -s conftest.err
25947 } && test -s conftest$ac_exeext && 27361 } && test -s conftest$ac_exeext && {
25948 $as_test_x conftest$ac_exeext; then 27362 test "$cross_compiling" = yes ||
25949 LIBS="$LIBS -lresolv" 27363 $as_test_x conftest$ac_exeext
25950 { echo "$as_me:$LINENO: result: yes" >&5 27364 }; then
25951echo "${ECHO_T}yes" >&6; } 27365 { $as_echo "$as_me:$LINENO: result: yes" >&5
27366$as_echo "yes" >&6; }
25952else 27367else
25953 echo "$as_me: failed program was:" >&5 27368 $as_echo "$as_me: failed program was:" >&5
25954sed 's/^/| /' conftest.$ac_ext >&5 27369sed 's/^/| /' conftest.$ac_ext >&5
25955 27370
25956 LIBS="$saved_LIBS" 27371 LIBS="$saved_LIBS"
25957 { echo "$as_me:$LINENO: result: no" >&5 27372 { $as_echo "$as_me:$LINENO: result: no" >&5
25958echo "${ECHO_T}no" >&6; } 27373$as_echo "no" >&6; }
25959fi 27374fi
25960 27375
27376rm -rf conftest.dSYM
25961rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27377rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25962 conftest$ac_exeext conftest.$ac_ext 27378 conftest$ac_exeext conftest.$ac_ext
25963 27379
25964fi 27380fi
25965 27381
27382rm -rf conftest.dSYM
25966rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27383rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25967 conftest$ac_exeext conftest.$ac_ext 27384 conftest$ac_exeext conftest.$ac_ext
25968 27385
25969 27386
25970for ac_func in _getshort _getlong 27387for ac_func in _getshort _getlong
25971do 27388do
25972as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 27389as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25973{ echo "$as_me:$LINENO: checking for $ac_func" >&5 27390{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25974echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 27391$as_echo_n "checking for $ac_func... " >&6; }
25975if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 27392if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6 27393 $as_echo_n "(cached) " >&6
25977else 27394else
25978 cat >conftest.$ac_ext <<_ACEOF 27395 cat >conftest.$ac_ext <<_ACEOF
25979/* confdefs.h. */ 27396/* confdefs.h. */
@@ -26026,44 +27443,50 @@ case "(($ac_try" in
26026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26027 *) ac_try_echo=$ac_try;; 27444 *) ac_try_echo=$ac_try;;
26028esac 27445esac
26029eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27446eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27447$as_echo "$ac_try_echo") >&5
26030 (eval "$ac_link") 2>conftest.er1 27448 (eval "$ac_link") 2>conftest.er1
26031 ac_status=$? 27449 ac_status=$?
26032 grep -v '^ *+' conftest.er1 >conftest.err 27450 grep -v '^ *+' conftest.er1 >conftest.err
26033 rm -f conftest.er1 27451 rm -f conftest.er1
26034 cat conftest.err >&5 27452 cat conftest.err >&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } && { 27454 (exit $ac_status); } && {
26037 test -z "$ac_c_werror_flag" || 27455 test -z "$ac_c_werror_flag" ||
26038 test ! -s conftest.err 27456 test ! -s conftest.err
26039 } && test -s conftest$ac_exeext && 27457 } && test -s conftest$ac_exeext && {
26040 $as_test_x conftest$ac_exeext; then 27458 test "$cross_compiling" = yes ||
27459 $as_test_x conftest$ac_exeext
27460 }; then
26041 eval "$as_ac_var=yes" 27461 eval "$as_ac_var=yes"
26042else 27462else
26043 echo "$as_me: failed program was:" >&5 27463 $as_echo "$as_me: failed program was:" >&5
26044sed 's/^/| /' conftest.$ac_ext >&5 27464sed 's/^/| /' conftest.$ac_ext >&5
26045 27465
26046 eval "$as_ac_var=no" 27466 eval "$as_ac_var=no"
26047fi 27467fi
26048 27468
27469rm -rf conftest.dSYM
26049rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27470rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26050 conftest$ac_exeext conftest.$ac_ext 27471 conftest$ac_exeext conftest.$ac_ext
26051fi 27472fi
26052ac_res=`eval echo '${'$as_ac_var'}'` 27473ac_res=`eval 'as_val=${'$as_ac_var'}
26053 { echo "$as_me:$LINENO: result: $ac_res" >&5 27474 $as_echo "$as_val"'`
26054echo "${ECHO_T}$ac_res" >&6; } 27475 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26055if test `eval echo '${'$as_ac_var'}'` = yes; then 27476$as_echo "$ac_res" >&6; }
27477if test `eval 'as_val=${'$as_ac_var'}
27478 $as_echo "$as_val"'` = yes; then
26056 cat >>confdefs.h <<_ACEOF 27479 cat >>confdefs.h <<_ACEOF
26057#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 27480#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26058_ACEOF 27481_ACEOF
26059 27482
26060fi 27483fi
26061done 27484done
26062 27485
26063 { echo "$as_me:$LINENO: checking whether _getshort is declared" >&5 27486 { $as_echo "$as_me:$LINENO: checking whether _getshort is declared" >&5
26064echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6; } 27487$as_echo_n "checking whether _getshort is declared... " >&6; }
26065if test "${ac_cv_have_decl__getshort+set}" = set; then 27488if test "${ac_cv_have_decl__getshort+set}" = set; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6 27489 $as_echo_n "(cached) " >&6
26067else 27490else
26068 cat >conftest.$ac_ext <<_ACEOF 27491 cat >conftest.$ac_ext <<_ACEOF
26069/* confdefs.h. */ 27492/* confdefs.h. */
@@ -26091,20 +27514,21 @@ case "(($ac_try" in
26091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26092 *) ac_try_echo=$ac_try;; 27515 *) ac_try_echo=$ac_try;;
26093esac 27516esac
26094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27517eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27518$as_echo "$ac_try_echo") >&5
26095 (eval "$ac_compile") 2>conftest.er1 27519 (eval "$ac_compile") 2>conftest.er1
26096 ac_status=$? 27520 ac_status=$?
26097 grep -v '^ *+' conftest.er1 >conftest.err 27521 grep -v '^ *+' conftest.er1 >conftest.err
26098 rm -f conftest.er1 27522 rm -f conftest.er1
26099 cat conftest.err >&5 27523 cat conftest.err >&5
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } && { 27525 (exit $ac_status); } && {
26102 test -z "$ac_c_werror_flag" || 27526 test -z "$ac_c_werror_flag" ||
26103 test ! -s conftest.err 27527 test ! -s conftest.err
26104 } && test -s conftest.$ac_objext; then 27528 } && test -s conftest.$ac_objext; then
26105 ac_cv_have_decl__getshort=yes 27529 ac_cv_have_decl__getshort=yes
26106else 27530else
26107 echo "$as_me: failed program was:" >&5 27531 $as_echo "$as_me: failed program was:" >&5
26108sed 's/^/| /' conftest.$ac_ext >&5 27532sed 's/^/| /' conftest.$ac_ext >&5
26109 27533
26110 ac_cv_have_decl__getshort=no 27534 ac_cv_have_decl__getshort=no
@@ -26112,8 +27536,8 @@ fi
26112 27536
26113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114fi 27538fi
26115{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5 27539{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5
26116echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6; } 27540$as_echo "$ac_cv_have_decl__getshort" >&6; }
26117if test $ac_cv_have_decl__getshort = yes; then 27541if test $ac_cv_have_decl__getshort = yes; then
26118 27542
26119cat >>confdefs.h <<_ACEOF 27543cat >>confdefs.h <<_ACEOF
@@ -26128,10 +27552,10 @@ _ACEOF
26128 27552
26129 27553
26130fi 27554fi
26131{ echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 27555{ $as_echo "$as_me:$LINENO: checking whether _getlong is declared" >&5
26132echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6; } 27556$as_echo_n "checking whether _getlong is declared... " >&6; }
26133if test "${ac_cv_have_decl__getlong+set}" = set; then 27557if test "${ac_cv_have_decl__getlong+set}" = set; then
26134 echo $ECHO_N "(cached) $ECHO_C" >&6 27558 $as_echo_n "(cached) " >&6
26135else 27559else
26136 cat >conftest.$ac_ext <<_ACEOF 27560 cat >conftest.$ac_ext <<_ACEOF
26137/* confdefs.h. */ 27561/* confdefs.h. */
@@ -26159,20 +27583,21 @@ case "(($ac_try" in
26159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26160 *) ac_try_echo=$ac_try;; 27584 *) ac_try_echo=$ac_try;;
26161esac 27585esac
26162eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27586eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27587$as_echo "$ac_try_echo") >&5
26163 (eval "$ac_compile") 2>conftest.er1 27588 (eval "$ac_compile") 2>conftest.er1
26164 ac_status=$? 27589 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err 27590 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1 27591 rm -f conftest.er1
26167 cat conftest.err >&5 27592 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } && { 27594 (exit $ac_status); } && {
26170 test -z "$ac_c_werror_flag" || 27595 test -z "$ac_c_werror_flag" ||
26171 test ! -s conftest.err 27596 test ! -s conftest.err
26172 } && test -s conftest.$ac_objext; then 27597 } && test -s conftest.$ac_objext; then
26173 ac_cv_have_decl__getlong=yes 27598 ac_cv_have_decl__getlong=yes
26174else 27599else
26175 echo "$as_me: failed program was:" >&5 27600 $as_echo "$as_me: failed program was:" >&5
26176sed 's/^/| /' conftest.$ac_ext >&5 27601sed 's/^/| /' conftest.$ac_ext >&5
26177 27602
26178 ac_cv_have_decl__getlong=no 27603 ac_cv_have_decl__getlong=no
@@ -26180,8 +27605,8 @@ fi
26180 27605
26181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26182fi 27607fi
26183{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5 27608{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5
26184echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6; } 27609$as_echo "$ac_cv_have_decl__getlong" >&6; }
26185if test $ac_cv_have_decl__getlong = yes; then 27610if test $ac_cv_have_decl__getlong = yes; then
26186 27611
26187cat >>confdefs.h <<_ACEOF 27612cat >>confdefs.h <<_ACEOF
@@ -26198,10 +27623,10 @@ _ACEOF
26198fi 27623fi
26199 27624
26200 27625
26201 { echo "$as_me:$LINENO: checking for HEADER.ad" >&5 27626 { $as_echo "$as_me:$LINENO: checking for HEADER.ad" >&5
26202echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6; } 27627$as_echo_n "checking for HEADER.ad... " >&6; }
26203if test "${ac_cv_member_HEADER_ad+set}" = set; then 27628if test "${ac_cv_member_HEADER_ad+set}" = set; then
26204 echo $ECHO_N "(cached) $ECHO_C" >&6 27629 $as_echo_n "(cached) " >&6
26205else 27630else
26206 cat >conftest.$ac_ext <<_ACEOF 27631 cat >conftest.$ac_ext <<_ACEOF
26207/* confdefs.h. */ 27632/* confdefs.h. */
@@ -26227,20 +27652,21 @@ case "(($ac_try" in
26227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26228 *) ac_try_echo=$ac_try;; 27653 *) ac_try_echo=$ac_try;;
26229esac 27654esac
26230eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27655eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27656$as_echo "$ac_try_echo") >&5
26231 (eval "$ac_compile") 2>conftest.er1 27657 (eval "$ac_compile") 2>conftest.er1
26232 ac_status=$? 27658 ac_status=$?
26233 grep -v '^ *+' conftest.er1 >conftest.err 27659 grep -v '^ *+' conftest.er1 >conftest.err
26234 rm -f conftest.er1 27660 rm -f conftest.er1
26235 cat conftest.err >&5 27661 cat conftest.err >&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); } && { 27663 (exit $ac_status); } && {
26238 test -z "$ac_c_werror_flag" || 27664 test -z "$ac_c_werror_flag" ||
26239 test ! -s conftest.err 27665 test ! -s conftest.err
26240 } && test -s conftest.$ac_objext; then 27666 } && test -s conftest.$ac_objext; then
26241 ac_cv_member_HEADER_ad=yes 27667 ac_cv_member_HEADER_ad=yes
26242else 27668else
26243 echo "$as_me: failed program was:" >&5 27669 $as_echo "$as_me: failed program was:" >&5
26244sed 's/^/| /' conftest.$ac_ext >&5 27670sed 's/^/| /' conftest.$ac_ext >&5
26245 27671
26246 cat >conftest.$ac_ext <<_ACEOF 27672 cat >conftest.$ac_ext <<_ACEOF
@@ -26267,20 +27693,21 @@ case "(($ac_try" in
26267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26268 *) ac_try_echo=$ac_try;; 27694 *) ac_try_echo=$ac_try;;
26269esac 27695esac
26270eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27696eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27697$as_echo "$ac_try_echo") >&5
26271 (eval "$ac_compile") 2>conftest.er1 27698 (eval "$ac_compile") 2>conftest.er1
26272 ac_status=$? 27699 ac_status=$?
26273 grep -v '^ *+' conftest.er1 >conftest.err 27700 grep -v '^ *+' conftest.er1 >conftest.err
26274 rm -f conftest.er1 27701 rm -f conftest.er1
26275 cat conftest.err >&5 27702 cat conftest.err >&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); } && { 27704 (exit $ac_status); } && {
26278 test -z "$ac_c_werror_flag" || 27705 test -z "$ac_c_werror_flag" ||
26279 test ! -s conftest.err 27706 test ! -s conftest.err
26280 } && test -s conftest.$ac_objext; then 27707 } && test -s conftest.$ac_objext; then
26281 ac_cv_member_HEADER_ad=yes 27708 ac_cv_member_HEADER_ad=yes
26282else 27709else
26283 echo "$as_me: failed program was:" >&5 27710 $as_echo "$as_me: failed program was:" >&5
26284sed 's/^/| /' conftest.$ac_ext >&5 27711sed 's/^/| /' conftest.$ac_ext >&5
26285 27712
26286 ac_cv_member_HEADER_ad=no 27713 ac_cv_member_HEADER_ad=no
@@ -26291,8 +27718,8 @@ fi
26291 27718
26292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26293fi 27720fi
26294{ echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 27721{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5
26295echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6; } 27722$as_echo "$ac_cv_member_HEADER_ad" >&6; }
26296if test $ac_cv_member_HEADER_ad = yes; then 27723if test $ac_cv_member_HEADER_ad = yes; then
26297 27724
26298cat >>confdefs.h <<\_ACEOF 27725cat >>confdefs.h <<\_ACEOF
@@ -26305,8 +27732,8 @@ fi
26305fi 27732fi
26306 27733
26307 27734
26308{ echo "$as_me:$LINENO: checking if struct __res_state _res is an extern" >&5 27735{ $as_echo "$as_me:$LINENO: checking if struct __res_state _res is an extern" >&5
26309echo $ECHO_N "checking if struct __res_state _res is an extern... $ECHO_C" >&6; } 27736$as_echo_n "checking if struct __res_state _res is an extern... " >&6; }
26310cat >conftest.$ac_ext <<_ACEOF 27737cat >conftest.$ac_ext <<_ACEOF
26311 27738
26312#include <stdio.h> 27739#include <stdio.h>
@@ -26326,20 +27753,23 @@ case "(($ac_try" in
26326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26327 *) ac_try_echo=$ac_try;; 27754 *) ac_try_echo=$ac_try;;
26328esac 27755esac
26329eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27757$as_echo "$ac_try_echo") >&5
26330 (eval "$ac_link") 2>conftest.er1 27758 (eval "$ac_link") 2>conftest.er1
26331 ac_status=$? 27759 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err 27760 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1 27761 rm -f conftest.er1
26334 cat conftest.err >&5 27762 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } && { 27764 (exit $ac_status); } && {
26337 test -z "$ac_c_werror_flag" || 27765 test -z "$ac_c_werror_flag" ||
26338 test ! -s conftest.err 27766 test ! -s conftest.err
26339 } && test -s conftest$ac_exeext && 27767 } && test -s conftest$ac_exeext && {
26340 $as_test_x conftest$ac_exeext; then 27768 test "$cross_compiling" = yes ||
26341 { echo "$as_me:$LINENO: result: yes" >&5 27769 $as_test_x conftest$ac_exeext
26342echo "${ECHO_T}yes" >&6; } 27770 }; then
27771 { $as_echo "$as_me:$LINENO: result: yes" >&5
27772$as_echo "yes" >&6; }
26343 27773
26344cat >>confdefs.h <<\_ACEOF 27774cat >>confdefs.h <<\_ACEOF
26345#define HAVE__RES_EXTERN 1 27775#define HAVE__RES_EXTERN 1
@@ -26347,14 +27777,15 @@ _ACEOF
26347 27777
26348 27778
26349else 27779else
26350 echo "$as_me: failed program was:" >&5 27780 $as_echo "$as_me: failed program was:" >&5
26351sed 's/^/| /' conftest.$ac_ext >&5 27781sed 's/^/| /' conftest.$ac_ext >&5
26352 27782
26353 { echo "$as_me:$LINENO: result: no" >&5 27783 { $as_echo "$as_me:$LINENO: result: no" >&5
26354echo "${ECHO_T}no" >&6; } 27784$as_echo "no" >&6; }
26355 27785
26356fi 27786fi
26357 27787
27788rm -rf conftest.dSYM
26358rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27789rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26359 conftest$ac_exeext conftest.$ac_ext 27790 conftest$ac_exeext conftest.$ac_ext
26360 27791
@@ -26373,17 +27804,17 @@ _ACEOF
26373 27804
26374 SELINUX_MSG="yes" 27805 SELINUX_MSG="yes"
26375 if test "${ac_cv_header_selinux_selinux_h+set}" = set; then 27806 if test "${ac_cv_header_selinux_selinux_h+set}" = set; then
26376 { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 27807 { $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5
26377echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } 27808$as_echo_n "checking for selinux/selinux.h... " >&6; }
26378if test "${ac_cv_header_selinux_selinux_h+set}" = set; then 27809if test "${ac_cv_header_selinux_selinux_h+set}" = set; then
26379 echo $ECHO_N "(cached) $ECHO_C" >&6 27810 $as_echo_n "(cached) " >&6
26380fi 27811fi
26381{ echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 27812{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5
26382echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } 27813$as_echo "$ac_cv_header_selinux_selinux_h" >&6; }
26383else 27814else
26384 # Is the header compilable? 27815 # Is the header compilable?
26385{ echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5 27816{ $as_echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5
26386echo $ECHO_N "checking selinux/selinux.h usability... $ECHO_C" >&6; } 27817$as_echo_n "checking selinux/selinux.h usability... " >&6; }
26387cat >conftest.$ac_ext <<_ACEOF 27818cat >conftest.$ac_ext <<_ACEOF
26388/* confdefs.h. */ 27819/* confdefs.h. */
26389_ACEOF 27820_ACEOF
@@ -26399,32 +27830,33 @@ case "(($ac_try" in
26399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26400 *) ac_try_echo=$ac_try;; 27831 *) ac_try_echo=$ac_try;;
26401esac 27832esac
26402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27833eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27834$as_echo "$ac_try_echo") >&5
26403 (eval "$ac_compile") 2>conftest.er1 27835 (eval "$ac_compile") 2>conftest.er1
26404 ac_status=$? 27836 ac_status=$?
26405 grep -v '^ *+' conftest.er1 >conftest.err 27837 grep -v '^ *+' conftest.er1 >conftest.err
26406 rm -f conftest.er1 27838 rm -f conftest.er1
26407 cat conftest.err >&5 27839 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } && { 27841 (exit $ac_status); } && {
26410 test -z "$ac_c_werror_flag" || 27842 test -z "$ac_c_werror_flag" ||
26411 test ! -s conftest.err 27843 test ! -s conftest.err
26412 } && test -s conftest.$ac_objext; then 27844 } && test -s conftest.$ac_objext; then
26413 ac_header_compiler=yes 27845 ac_header_compiler=yes
26414else 27846else
26415 echo "$as_me: failed program was:" >&5 27847 $as_echo "$as_me: failed program was:" >&5
26416sed 's/^/| /' conftest.$ac_ext >&5 27848sed 's/^/| /' conftest.$ac_ext >&5
26417 27849
26418 ac_header_compiler=no 27850 ac_header_compiler=no
26419fi 27851fi
26420 27852
26421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26422{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 27854{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26423echo "${ECHO_T}$ac_header_compiler" >&6; } 27855$as_echo "$ac_header_compiler" >&6; }
26424 27856
26425# Is the header present? 27857# Is the header present?
26426{ echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5 27858{ $as_echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5
26427echo $ECHO_N "checking selinux/selinux.h presence... $ECHO_C" >&6; } 27859$as_echo_n "checking selinux/selinux.h presence... " >&6; }
26428cat >conftest.$ac_ext <<_ACEOF 27860cat >conftest.$ac_ext <<_ACEOF
26429/* confdefs.h. */ 27861/* confdefs.h. */
26430_ACEOF 27862_ACEOF
@@ -26438,51 +27870,52 @@ case "(($ac_try" in
26438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26439 *) ac_try_echo=$ac_try;; 27871 *) ac_try_echo=$ac_try;;
26440esac 27872esac
26441eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27873eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27874$as_echo "$ac_try_echo") >&5
26442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 27875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26443 ac_status=$? 27876 ac_status=$?
26444 grep -v '^ *+' conftest.er1 >conftest.err 27877 grep -v '^ *+' conftest.er1 >conftest.err
26445 rm -f conftest.er1 27878 rm -f conftest.er1
26446 cat conftest.err >&5 27879 cat conftest.err >&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); } >/dev/null && { 27881 (exit $ac_status); } >/dev/null && {
26449 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 27882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26450 test ! -s conftest.err 27883 test ! -s conftest.err
26451 }; then 27884 }; then
26452 ac_header_preproc=yes 27885 ac_header_preproc=yes
26453else 27886else
26454 echo "$as_me: failed program was:" >&5 27887 $as_echo "$as_me: failed program was:" >&5
26455sed 's/^/| /' conftest.$ac_ext >&5 27888sed 's/^/| /' conftest.$ac_ext >&5
26456 27889
26457 ac_header_preproc=no 27890 ac_header_preproc=no
26458fi 27891fi
26459 27892
26460rm -f conftest.err conftest.$ac_ext 27893rm -f conftest.err conftest.$ac_ext
26461{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 27894{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26462echo "${ECHO_T}$ac_header_preproc" >&6; } 27895$as_echo "$ac_header_preproc" >&6; }
26463 27896
26464# So? What about this header? 27897# So? What about this header?
26465case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 27898case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26466 yes:no: ) 27899 yes:no: )
26467 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5 27900 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5
26468echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 27901$as_echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26469 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5 27902 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5
26470echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;} 27903$as_echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;}
26471 ac_header_preproc=yes 27904 ac_header_preproc=yes
26472 ;; 27905 ;;
26473 no:yes:* ) 27906 no:yes:* )
26474 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5 27907 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5
26475echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;} 27908$as_echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;}
26476 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5 27909 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5
26477echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;} 27910$as_echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;}
26478 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5 27911 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5
26479echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;} 27912$as_echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;}
26480 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5 27913 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5
26481echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;} 27914$as_echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;}
26482 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5 27915 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5
26483echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;} 27916$as_echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;}
26484 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5 27917 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5
26485echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;} 27918$as_echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;}
26486 ( cat <<\_ASBOX 27919 ( cat <<\_ASBOX
26487## ------------------------------------------- ## 27920## ------------------------------------------- ##
26488## Report this to openssh-unix-dev@mindrot.org ## 27921## Report this to openssh-unix-dev@mindrot.org ##
@@ -26491,30 +27924,30 @@ _ASBOX
26491 ) | sed "s/^/$as_me: WARNING: /" >&2 27924 ) | sed "s/^/$as_me: WARNING: /" >&2
26492 ;; 27925 ;;
26493esac 27926esac
26494{ echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 27927{ $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5
26495echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } 27928$as_echo_n "checking for selinux/selinux.h... " >&6; }
26496if test "${ac_cv_header_selinux_selinux_h+set}" = set; then 27929if test "${ac_cv_header_selinux_selinux_h+set}" = set; then
26497 echo $ECHO_N "(cached) $ECHO_C" >&6 27930 $as_echo_n "(cached) " >&6
26498else 27931else
26499 ac_cv_header_selinux_selinux_h=$ac_header_preproc 27932 ac_cv_header_selinux_selinux_h=$ac_header_preproc
26500fi 27933fi
26501{ echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 27934{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5
26502echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } 27935$as_echo "$ac_cv_header_selinux_selinux_h" >&6; }
26503 27936
26504fi 27937fi
26505if test $ac_cv_header_selinux_selinux_h = yes; then 27938if test $ac_cv_header_selinux_selinux_h = yes; then
26506 : 27939 :
26507else 27940else
26508 { { echo "$as_me:$LINENO: error: SELinux support requires selinux.h header" >&5 27941 { { $as_echo "$as_me:$LINENO: error: SELinux support requires selinux.h header" >&5
26509echo "$as_me: error: SELinux support requires selinux.h header" >&2;} 27942$as_echo "$as_me: error: SELinux support requires selinux.h header" >&2;}
26510 { (exit 1); exit 1; }; } 27943 { (exit 1); exit 1; }; }
26511fi 27944fi
26512 27945
26513 27946
26514 { echo "$as_me:$LINENO: checking for setexeccon in -lselinux" >&5 27947 { $as_echo "$as_me:$LINENO: checking for setexeccon in -lselinux" >&5
26515echo $ECHO_N "checking for setexeccon in -lselinux... $ECHO_C" >&6; } 27948$as_echo_n "checking for setexeccon in -lselinux... " >&6; }
26516if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then 27949if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6 27950 $as_echo_n "(cached) " >&6
26518else 27951else
26519 ac_check_lib_save_LIBS=$LIBS 27952 ac_check_lib_save_LIBS=$LIBS
26520LIBS="-lselinux $LIBS" 27953LIBS="-lselinux $LIBS"
@@ -26546,37 +27979,41 @@ case "(($ac_try" in
26546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26547 *) ac_try_echo=$ac_try;; 27980 *) ac_try_echo=$ac_try;;
26548esac 27981esac
26549eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27982eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27983$as_echo "$ac_try_echo") >&5
26550 (eval "$ac_link") 2>conftest.er1 27984 (eval "$ac_link") 2>conftest.er1
26551 ac_status=$? 27985 ac_status=$?
26552 grep -v '^ *+' conftest.er1 >conftest.err 27986 grep -v '^ *+' conftest.er1 >conftest.err
26553 rm -f conftest.er1 27987 rm -f conftest.er1
26554 cat conftest.err >&5 27988 cat conftest.err >&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); } && { 27990 (exit $ac_status); } && {
26557 test -z "$ac_c_werror_flag" || 27991 test -z "$ac_c_werror_flag" ||
26558 test ! -s conftest.err 27992 test ! -s conftest.err
26559 } && test -s conftest$ac_exeext && 27993 } && test -s conftest$ac_exeext && {
26560 $as_test_x conftest$ac_exeext; then 27994 test "$cross_compiling" = yes ||
27995 $as_test_x conftest$ac_exeext
27996 }; then
26561 ac_cv_lib_selinux_setexeccon=yes 27997 ac_cv_lib_selinux_setexeccon=yes
26562else 27998else
26563 echo "$as_me: failed program was:" >&5 27999 $as_echo "$as_me: failed program was:" >&5
26564sed 's/^/| /' conftest.$ac_ext >&5 28000sed 's/^/| /' conftest.$ac_ext >&5
26565 28001
26566 ac_cv_lib_selinux_setexeccon=no 28002 ac_cv_lib_selinux_setexeccon=no
26567fi 28003fi
26568 28004
28005rm -rf conftest.dSYM
26569rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28006rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26570 conftest$ac_exeext conftest.$ac_ext 28007 conftest$ac_exeext conftest.$ac_ext
26571LIBS=$ac_check_lib_save_LIBS 28008LIBS=$ac_check_lib_save_LIBS
26572fi 28009fi
26573{ echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_setexeccon" >&5 28010{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_setexeccon" >&5
26574echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } 28011$as_echo "$ac_cv_lib_selinux_setexeccon" >&6; }
26575if test $ac_cv_lib_selinux_setexeccon = yes; then 28012if test $ac_cv_lib_selinux_setexeccon = yes; then
26576 LIBSELINUX="-lselinux" 28013 LIBSELINUX="-lselinux"
26577else 28014else
26578 { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5 28015 { { $as_echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5
26579echo "$as_me: error: SELinux support requires libselinux library" >&2;} 28016$as_echo "$as_me: error: SELinux support requires libselinux library" >&2;}
26580 { (exit 1); exit 1; }; } 28017 { (exit 1); exit 1; }; }
26581fi 28018fi
26582 28019
@@ -26585,11 +28022,11 @@ fi
26585 28022
26586for ac_func in getseuserbyname get_default_context_with_level 28023for ac_func in getseuserbyname get_default_context_with_level
26587do 28024do
26588as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 28025as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26589{ echo "$as_me:$LINENO: checking for $ac_func" >&5 28026{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26590echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 28027$as_echo_n "checking for $ac_func... " >&6; }
26591if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 28028if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26592 echo $ECHO_N "(cached) $ECHO_C" >&6 28029 $as_echo_n "(cached) " >&6
26593else 28030else
26594 cat >conftest.$ac_ext <<_ACEOF 28031 cat >conftest.$ac_ext <<_ACEOF
26595/* confdefs.h. */ 28032/* confdefs.h. */
@@ -26642,35 +28079,41 @@ case "(($ac_try" in
26642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26643 *) ac_try_echo=$ac_try;; 28080 *) ac_try_echo=$ac_try;;
26644esac 28081esac
26645eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28082eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28083$as_echo "$ac_try_echo") >&5
26646 (eval "$ac_link") 2>conftest.er1 28084 (eval "$ac_link") 2>conftest.er1
26647 ac_status=$? 28085 ac_status=$?
26648 grep -v '^ *+' conftest.er1 >conftest.err 28086 grep -v '^ *+' conftest.er1 >conftest.err
26649 rm -f conftest.er1 28087 rm -f conftest.er1
26650 cat conftest.err >&5 28088 cat conftest.err >&5
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); } && { 28090 (exit $ac_status); } && {
26653 test -z "$ac_c_werror_flag" || 28091 test -z "$ac_c_werror_flag" ||
26654 test ! -s conftest.err 28092 test ! -s conftest.err
26655 } && test -s conftest$ac_exeext && 28093 } && test -s conftest$ac_exeext && {
26656 $as_test_x conftest$ac_exeext; then 28094 test "$cross_compiling" = yes ||
28095 $as_test_x conftest$ac_exeext
28096 }; then
26657 eval "$as_ac_var=yes" 28097 eval "$as_ac_var=yes"
26658else 28098else
26659 echo "$as_me: failed program was:" >&5 28099 $as_echo "$as_me: failed program was:" >&5
26660sed 's/^/| /' conftest.$ac_ext >&5 28100sed 's/^/| /' conftest.$ac_ext >&5
26661 28101
26662 eval "$as_ac_var=no" 28102 eval "$as_ac_var=no"
26663fi 28103fi
26664 28104
28105rm -rf conftest.dSYM
26665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28106rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26666 conftest$ac_exeext conftest.$ac_ext 28107 conftest$ac_exeext conftest.$ac_ext
26667fi 28108fi
26668ac_res=`eval echo '${'$as_ac_var'}'` 28109ac_res=`eval 'as_val=${'$as_ac_var'}
26669 { echo "$as_me:$LINENO: result: $ac_res" >&5 28110 $as_echo "$as_val"'`
26670echo "${ECHO_T}$ac_res" >&6; } 28111 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26671if test `eval echo '${'$as_ac_var'}'` = yes; then 28112$as_echo "$ac_res" >&6; }
28113if test `eval 'as_val=${'$as_ac_var'}
28114 $as_echo "$as_val"'` = yes; then
26672 cat >>confdefs.h <<_ACEOF 28115 cat >>confdefs.h <<_ACEOF
26673#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 28116#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26674_ACEOF 28117_ACEOF
26675 28118
26676fi 28119fi
@@ -26701,18 +28144,55 @@ _ACEOF
26701 28144
26702 KRB5_MSG="yes" 28145 KRB5_MSG="yes"
26703 28146
26704 { echo "$as_me:$LINENO: checking for krb5-config" >&5 28147 # Extract the first word of "krb5-config", so it can be a program name with args.
26705echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6; } 28148set dummy krb5-config; ac_word=$2
26706 if test -x $KRB5ROOT/bin/krb5-config ; then 28149{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26707 KRB5CONF=$KRB5ROOT/bin/krb5-config 28150$as_echo_n "checking for $ac_word... " >&6; }
26708 { echo "$as_me:$LINENO: result: $KRB5CONF" >&5 28151if test "${ac_cv_path_KRB5CONF+set}" = set; then
26709echo "${ECHO_T}$KRB5CONF" >&6; } 28152 $as_echo_n "(cached) " >&6
28153else
28154 case $KRB5CONF in
28155 [\\/]* | ?:[\\/]*)
28156 ac_cv_path_KRB5CONF="$KRB5CONF" # Let the user override the test with a path.
28157 ;;
28158 *)
28159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28160as_dummy="$KRB5ROOT/bin:$PATH"
28161for as_dir in $as_dummy
28162do
28163 IFS=$as_save_IFS
28164 test -z "$as_dir" && as_dir=.
28165 for ac_exec_ext in '' $ac_executable_extensions; do
28166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28167 ac_cv_path_KRB5CONF="$as_dir/$ac_word$ac_exec_ext"
28168 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28169 break 2
28170 fi
28171done
28172done
28173IFS=$as_save_IFS
28174
28175 test -z "$ac_cv_path_KRB5CONF" && ac_cv_path_KRB5CONF="$KRB5ROOT/bin/krb5-config"
28176 ;;
28177esac
28178fi
28179KRB5CONF=$ac_cv_path_KRB5CONF
28180if test -n "$KRB5CONF"; then
28181 { $as_echo "$as_me:$LINENO: result: $KRB5CONF" >&5
28182$as_echo "$KRB5CONF" >&6; }
28183else
28184 { $as_echo "$as_me:$LINENO: result: no" >&5
28185$as_echo "no" >&6; }
28186fi
26710 28187
26711 { echo "$as_me:$LINENO: checking for gssapi support" >&5 28188
26712echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6; } 28189 if test -x $KRB5CONF ; then
28190
28191 { $as_echo "$as_me:$LINENO: checking for gssapi support" >&5
28192$as_echo_n "checking for gssapi support... " >&6; }
26713 if $KRB5CONF | grep gssapi >/dev/null ; then 28193 if $KRB5CONF | grep gssapi >/dev/null ; then
26714 { echo "$as_me:$LINENO: result: yes" >&5 28194 { $as_echo "$as_me:$LINENO: result: yes" >&5
26715echo "${ECHO_T}yes" >&6; } 28195$as_echo "yes" >&6; }
26716 28196
26717cat >>confdefs.h <<\_ACEOF 28197cat >>confdefs.h <<\_ACEOF
26718#define GSSAPI 1 28198#define GSSAPI 1
@@ -26720,15 +28200,15 @@ _ACEOF
26720 28200
26721 k5confopts=gssapi 28201 k5confopts=gssapi
26722 else 28202 else
26723 { echo "$as_me:$LINENO: result: no" >&5 28203 { $as_echo "$as_me:$LINENO: result: no" >&5
26724echo "${ECHO_T}no" >&6; } 28204$as_echo "no" >&6; }
26725 k5confopts="" 28205 k5confopts=""
26726 fi 28206 fi
26727 K5CFLAGS="`$KRB5CONF --cflags $k5confopts`" 28207 K5CFLAGS="`$KRB5CONF --cflags $k5confopts`"
26728 K5LIBS="`$KRB5CONF --libs $k5confopts`" 28208 K5LIBS="`$KRB5CONF --libs $k5confopts`"
26729 CPPFLAGS="$CPPFLAGS $K5CFLAGS" 28209 CPPFLAGS="$CPPFLAGS $K5CFLAGS"
26730 { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 28210 { $as_echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
26731echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } 28211$as_echo_n "checking whether we are using Heimdal... " >&6; }
26732 cat >conftest.$ac_ext <<_ACEOF 28212 cat >conftest.$ac_ext <<_ACEOF
26733/* confdefs.h. */ 28213/* confdefs.h. */
26734_ACEOF 28214_ACEOF
@@ -26750,41 +28230,40 @@ case "(($ac_try" in
26750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26751 *) ac_try_echo=$ac_try;; 28231 *) ac_try_echo=$ac_try;;
26752esac 28232esac
26753eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28234$as_echo "$ac_try_echo") >&5
26754 (eval "$ac_compile") 2>conftest.er1 28235 (eval "$ac_compile") 2>conftest.er1
26755 ac_status=$? 28236 ac_status=$?
26756 grep -v '^ *+' conftest.er1 >conftest.err 28237 grep -v '^ *+' conftest.er1 >conftest.err
26757 rm -f conftest.er1 28238 rm -f conftest.er1
26758 cat conftest.err >&5 28239 cat conftest.err >&5
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); } && { 28241 (exit $ac_status); } && {
26761 test -z "$ac_c_werror_flag" || 28242 test -z "$ac_c_werror_flag" ||
26762 test ! -s conftest.err 28243 test ! -s conftest.err
26763 } && test -s conftest.$ac_objext; then 28244 } && test -s conftest.$ac_objext; then
26764 { echo "$as_me:$LINENO: result: yes" >&5 28245 { $as_echo "$as_me:$LINENO: result: yes" >&5
26765echo "${ECHO_T}yes" >&6; } 28246$as_echo "yes" >&6; }
26766 28247
26767cat >>confdefs.h <<\_ACEOF 28248cat >>confdefs.h <<\_ACEOF
26768#define HEIMDAL 1 28249#define HEIMDAL 1
26769_ACEOF 28250_ACEOF
26770 28251
26771else 28252else
26772 echo "$as_me: failed program was:" >&5 28253 $as_echo "$as_me: failed program was:" >&5
26773sed 's/^/| /' conftest.$ac_ext >&5 28254sed 's/^/| /' conftest.$ac_ext >&5
26774 28255
26775 { echo "$as_me:$LINENO: result: no" >&5 28256 { $as_echo "$as_me:$LINENO: result: no" >&5
26776echo "${ECHO_T}no" >&6; } 28257$as_echo "no" >&6; }
26777 28258
26778fi 28259fi
26779 28260
26780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26781 else 28262 else
26782 { echo "$as_me:$LINENO: result: no" >&5
26783echo "${ECHO_T}no" >&6; }
26784 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" 28263 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
26785 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" 28264 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
26786 { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 28265 { $as_echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
26787echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } 28266$as_echo_n "checking whether we are using Heimdal... " >&6; }
26788 cat >conftest.$ac_ext <<_ACEOF 28267 cat >conftest.$ac_ext <<_ACEOF
26789/* confdefs.h. */ 28268/* confdefs.h. */
26790_ACEOF 28269_ACEOF
@@ -26806,29 +28285,30 @@ case "(($ac_try" in
26806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26807 *) ac_try_echo=$ac_try;; 28286 *) ac_try_echo=$ac_try;;
26808esac 28287esac
26809eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28288eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28289$as_echo "$ac_try_echo") >&5
26810 (eval "$ac_compile") 2>conftest.er1 28290 (eval "$ac_compile") 2>conftest.er1
26811 ac_status=$? 28291 ac_status=$?
26812 grep -v '^ *+' conftest.er1 >conftest.err 28292 grep -v '^ *+' conftest.er1 >conftest.err
26813 rm -f conftest.er1 28293 rm -f conftest.er1
26814 cat conftest.err >&5 28294 cat conftest.err >&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } && { 28296 (exit $ac_status); } && {
26817 test -z "$ac_c_werror_flag" || 28297 test -z "$ac_c_werror_flag" ||
26818 test ! -s conftest.err 28298 test ! -s conftest.err
26819 } && test -s conftest.$ac_objext; then 28299 } && test -s conftest.$ac_objext; then
26820 { echo "$as_me:$LINENO: result: yes" >&5 28300 { $as_echo "$as_me:$LINENO: result: yes" >&5
26821echo "${ECHO_T}yes" >&6; } 28301$as_echo "yes" >&6; }
26822 cat >>confdefs.h <<\_ACEOF 28302 cat >>confdefs.h <<\_ACEOF
26823#define HEIMDAL 1 28303#define HEIMDAL 1
26824_ACEOF 28304_ACEOF
26825 28305
26826 K5LIBS="-lkrb5 -ldes" 28306 K5LIBS="-lkrb5 -ldes"
26827 K5LIBS="$K5LIBS -lcom_err -lasn1" 28307 K5LIBS="$K5LIBS -lcom_err -lasn1"
26828 { echo "$as_me:$LINENO: checking for net_write in -lroken" >&5 28308 { $as_echo "$as_me:$LINENO: checking for net_write in -lroken" >&5
26829echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6; } 28309$as_echo_n "checking for net_write in -lroken... " >&6; }
26830if test "${ac_cv_lib_roken_net_write+set}" = set; then 28310if test "${ac_cv_lib_roken_net_write+set}" = set; then
26831 echo $ECHO_N "(cached) $ECHO_C" >&6 28311 $as_echo_n "(cached) " >&6
26832else 28312else
26833 ac_check_lib_save_LIBS=$LIBS 28313 ac_check_lib_save_LIBS=$LIBS
26834LIBS="-lroken $LIBS" 28314LIBS="-lroken $LIBS"
@@ -26860,53 +28340,57 @@ case "(($ac_try" in
26860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26861 *) ac_try_echo=$ac_try;; 28341 *) ac_try_echo=$ac_try;;
26862esac 28342esac
26863eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28343eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28344$as_echo "$ac_try_echo") >&5
26864 (eval "$ac_link") 2>conftest.er1 28345 (eval "$ac_link") 2>conftest.er1
26865 ac_status=$? 28346 ac_status=$?
26866 grep -v '^ *+' conftest.er1 >conftest.err 28347 grep -v '^ *+' conftest.er1 >conftest.err
26867 rm -f conftest.er1 28348 rm -f conftest.er1
26868 cat conftest.err >&5 28349 cat conftest.err >&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); } && { 28351 (exit $ac_status); } && {
26871 test -z "$ac_c_werror_flag" || 28352 test -z "$ac_c_werror_flag" ||
26872 test ! -s conftest.err 28353 test ! -s conftest.err
26873 } && test -s conftest$ac_exeext && 28354 } && test -s conftest$ac_exeext && {
26874 $as_test_x conftest$ac_exeext; then 28355 test "$cross_compiling" = yes ||
28356 $as_test_x conftest$ac_exeext
28357 }; then
26875 ac_cv_lib_roken_net_write=yes 28358 ac_cv_lib_roken_net_write=yes
26876else 28359else
26877 echo "$as_me: failed program was:" >&5 28360 $as_echo "$as_me: failed program was:" >&5
26878sed 's/^/| /' conftest.$ac_ext >&5 28361sed 's/^/| /' conftest.$ac_ext >&5
26879 28362
26880 ac_cv_lib_roken_net_write=no 28363 ac_cv_lib_roken_net_write=no
26881fi 28364fi
26882 28365
28366rm -rf conftest.dSYM
26883rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28367rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26884 conftest$ac_exeext conftest.$ac_ext 28368 conftest$ac_exeext conftest.$ac_ext
26885LIBS=$ac_check_lib_save_LIBS 28369LIBS=$ac_check_lib_save_LIBS
26886fi 28370fi
26887{ echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5 28371{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5
26888echo "${ECHO_T}$ac_cv_lib_roken_net_write" >&6; } 28372$as_echo "$ac_cv_lib_roken_net_write" >&6; }
26889if test $ac_cv_lib_roken_net_write = yes; then 28373if test $ac_cv_lib_roken_net_write = yes; then
26890 K5LIBS="$K5LIBS -lroken" 28374 K5LIBS="$K5LIBS -lroken"
26891fi 28375fi
26892 28376
26893 28377
26894else 28378else
26895 echo "$as_me: failed program was:" >&5 28379 $as_echo "$as_me: failed program was:" >&5
26896sed 's/^/| /' conftest.$ac_ext >&5 28380sed 's/^/| /' conftest.$ac_ext >&5
26897 28381
26898 { echo "$as_me:$LINENO: result: no" >&5 28382 { $as_echo "$as_me:$LINENO: result: no" >&5
26899echo "${ECHO_T}no" >&6; } 28383$as_echo "no" >&6; }
26900 K5LIBS="-lkrb5 -lk5crypto -lcom_err" 28384 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
26901 28385
26902 28386
26903fi 28387fi
26904 28388
26905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26906 { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 28390 { $as_echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
26907echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } 28391$as_echo_n "checking for library containing dn_expand... " >&6; }
26908if test "${ac_cv_search_dn_expand+set}" = set; then 28392if test "${ac_cv_search_dn_expand+set}" = set; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6 28393 $as_echo_n "(cached) " >&6
26910else 28394else
26911 ac_func_search_save_LIBS=$LIBS 28395 ac_func_search_save_LIBS=$LIBS
26912cat >conftest.$ac_ext <<_ACEOF 28396cat >conftest.$ac_ext <<_ACEOF
@@ -26944,26 +28428,30 @@ case "(($ac_try" in
26944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26945 *) ac_try_echo=$ac_try;; 28429 *) ac_try_echo=$ac_try;;
26946esac 28430esac
26947eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28431eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28432$as_echo "$ac_try_echo") >&5
26948 (eval "$ac_link") 2>conftest.er1 28433 (eval "$ac_link") 2>conftest.er1
26949 ac_status=$? 28434 ac_status=$?
26950 grep -v '^ *+' conftest.er1 >conftest.err 28435 grep -v '^ *+' conftest.er1 >conftest.err
26951 rm -f conftest.er1 28436 rm -f conftest.er1
26952 cat conftest.err >&5 28437 cat conftest.err >&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } && { 28439 (exit $ac_status); } && {
26955 test -z "$ac_c_werror_flag" || 28440 test -z "$ac_c_werror_flag" ||
26956 test ! -s conftest.err 28441 test ! -s conftest.err
26957 } && test -s conftest$ac_exeext && 28442 } && test -s conftest$ac_exeext && {
26958 $as_test_x conftest$ac_exeext; then 28443 test "$cross_compiling" = yes ||
28444 $as_test_x conftest$ac_exeext
28445 }; then
26959 ac_cv_search_dn_expand=$ac_res 28446 ac_cv_search_dn_expand=$ac_res
26960else 28447else
26961 echo "$as_me: failed program was:" >&5 28448 $as_echo "$as_me: failed program was:" >&5
26962sed 's/^/| /' conftest.$ac_ext >&5 28449sed 's/^/| /' conftest.$ac_ext >&5
26963 28450
26964 28451
26965fi 28452fi
26966 28453
28454rm -rf conftest.dSYM
26967rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28455rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26968 conftest$ac_exeext 28456 conftest$ac_exeext
26969 if test "${ac_cv_search_dn_expand+set}" = set; then 28457 if test "${ac_cv_search_dn_expand+set}" = set; then
@@ -26978,8 +28466,8 @@ fi
26978rm conftest.$ac_ext 28466rm conftest.$ac_ext
26979LIBS=$ac_func_search_save_LIBS 28467LIBS=$ac_func_search_save_LIBS
26980fi 28468fi
26981{ echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 28469{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
26982echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } 28470$as_echo "$ac_cv_search_dn_expand" >&6; }
26983ac_res=$ac_cv_search_dn_expand 28471ac_res=$ac_cv_search_dn_expand
26984if test "$ac_res" != no; then 28472if test "$ac_res" != no; then
26985 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 28473 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -26987,10 +28475,10 @@ if test "$ac_res" != no; then
26987fi 28475fi
26988 28476
26989 28477
26990 { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5 28478 { $as_echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5
26991echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6; } 28479$as_echo_n "checking for gss_init_sec_context in -lgssapi_krb5... " >&6; }
26992if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then 28480if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then
26993 echo $ECHO_N "(cached) $ECHO_C" >&6 28481 $as_echo_n "(cached) " >&6
26994else 28482else
26995 ac_check_lib_save_LIBS=$LIBS 28483 ac_check_lib_save_LIBS=$LIBS
26996LIBS="-lgssapi_krb5 $K5LIBS $LIBS" 28484LIBS="-lgssapi_krb5 $K5LIBS $LIBS"
@@ -27022,32 +28510,36 @@ case "(($ac_try" in
27022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27023 *) ac_try_echo=$ac_try;; 28511 *) ac_try_echo=$ac_try;;
27024esac 28512esac
27025eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28513eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28514$as_echo "$ac_try_echo") >&5
27026 (eval "$ac_link") 2>conftest.er1 28515 (eval "$ac_link") 2>conftest.er1
27027 ac_status=$? 28516 ac_status=$?
27028 grep -v '^ *+' conftest.er1 >conftest.err 28517 grep -v '^ *+' conftest.er1 >conftest.err
27029 rm -f conftest.er1 28518 rm -f conftest.er1
27030 cat conftest.err >&5 28519 cat conftest.err >&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } && { 28521 (exit $ac_status); } && {
27033 test -z "$ac_c_werror_flag" || 28522 test -z "$ac_c_werror_flag" ||
27034 test ! -s conftest.err 28523 test ! -s conftest.err
27035 } && test -s conftest$ac_exeext && 28524 } && test -s conftest$ac_exeext && {
27036 $as_test_x conftest$ac_exeext; then 28525 test "$cross_compiling" = yes ||
28526 $as_test_x conftest$ac_exeext
28527 }; then
27037 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes 28528 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
27038else 28529else
27039 echo "$as_me: failed program was:" >&5 28530 $as_echo "$as_me: failed program was:" >&5
27040sed 's/^/| /' conftest.$ac_ext >&5 28531sed 's/^/| /' conftest.$ac_ext >&5
27041 28532
27042 ac_cv_lib_gssapi_krb5_gss_init_sec_context=no 28533 ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
27043fi 28534fi
27044 28535
28536rm -rf conftest.dSYM
27045rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28537rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27046 conftest$ac_exeext conftest.$ac_ext 28538 conftest$ac_exeext conftest.$ac_ext
27047LIBS=$ac_check_lib_save_LIBS 28539LIBS=$ac_check_lib_save_LIBS
27048fi 28540fi
27049{ echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 28541{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
27050echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } 28542$as_echo "$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; }
27051if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then 28543if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then
27052 cat >>confdefs.h <<\_ACEOF 28544 cat >>confdefs.h <<\_ACEOF
27053#define GSSAPI 1 28545#define GSSAPI 1
@@ -27055,10 +28547,10 @@ _ACEOF
27055 28547
27056 K5LIBS="-lgssapi_krb5 $K5LIBS" 28548 K5LIBS="-lgssapi_krb5 $K5LIBS"
27057else 28549else
27058 { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5 28550 { $as_echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5
27059echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6; } 28551$as_echo_n "checking for gss_init_sec_context in -lgssapi... " >&6; }
27060if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then 28552if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then
27061 echo $ECHO_N "(cached) $ECHO_C" >&6 28553 $as_echo_n "(cached) " >&6
27062else 28554else
27063 ac_check_lib_save_LIBS=$LIBS 28555 ac_check_lib_save_LIBS=$LIBS
27064LIBS="-lgssapi $K5LIBS $LIBS" 28556LIBS="-lgssapi $K5LIBS $LIBS"
@@ -27090,32 +28582,36 @@ case "(($ac_try" in
27090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27091 *) ac_try_echo=$ac_try;; 28583 *) ac_try_echo=$ac_try;;
27092esac 28584esac
27093eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28585eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28586$as_echo "$ac_try_echo") >&5
27094 (eval "$ac_link") 2>conftest.er1 28587 (eval "$ac_link") 2>conftest.er1
27095 ac_status=$? 28588 ac_status=$?
27096 grep -v '^ *+' conftest.er1 >conftest.err 28589 grep -v '^ *+' conftest.er1 >conftest.err
27097 rm -f conftest.er1 28590 rm -f conftest.er1
27098 cat conftest.err >&5 28591 cat conftest.err >&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } && { 28593 (exit $ac_status); } && {
27101 test -z "$ac_c_werror_flag" || 28594 test -z "$ac_c_werror_flag" ||
27102 test ! -s conftest.err 28595 test ! -s conftest.err
27103 } && test -s conftest$ac_exeext && 28596 } && test -s conftest$ac_exeext && {
27104 $as_test_x conftest$ac_exeext; then 28597 test "$cross_compiling" = yes ||
28598 $as_test_x conftest$ac_exeext
28599 }; then
27105 ac_cv_lib_gssapi_gss_init_sec_context=yes 28600 ac_cv_lib_gssapi_gss_init_sec_context=yes
27106else 28601else
27107 echo "$as_me: failed program was:" >&5 28602 $as_echo "$as_me: failed program was:" >&5
27108sed 's/^/| /' conftest.$ac_ext >&5 28603sed 's/^/| /' conftest.$ac_ext >&5
27109 28604
27110 ac_cv_lib_gssapi_gss_init_sec_context=no 28605 ac_cv_lib_gssapi_gss_init_sec_context=no
27111fi 28606fi
27112 28607
28608rm -rf conftest.dSYM
27113rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28609rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27114 conftest$ac_exeext conftest.$ac_ext 28610 conftest$ac_exeext conftest.$ac_ext
27115LIBS=$ac_check_lib_save_LIBS 28611LIBS=$ac_check_lib_save_LIBS
27116fi 28612fi
27117{ echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 28613{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
27118echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } 28614$as_echo "$ac_cv_lib_gssapi_gss_init_sec_context" >&6; }
27119if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then 28615if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then
27120 cat >>confdefs.h <<\_ACEOF 28616 cat >>confdefs.h <<\_ACEOF
27121#define GSSAPI 1 28617#define GSSAPI 1
@@ -27123,8 +28619,8 @@ _ACEOF
27123 28619
27124 K5LIBS="-lgssapi $K5LIBS" 28620 K5LIBS="-lgssapi $K5LIBS"
27125else 28621else
27126 { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 28622 { $as_echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
27127echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} 28623$as_echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;}
27128fi 28624fi
27129 28625
27130 28626
@@ -27132,17 +28628,17 @@ fi
27132 28628
27133 28629
27134 if test "${ac_cv_header_gssapi_h+set}" = set; then 28630 if test "${ac_cv_header_gssapi_h+set}" = set; then
27135 { echo "$as_me:$LINENO: checking for gssapi.h" >&5 28631 { $as_echo "$as_me:$LINENO: checking for gssapi.h" >&5
27136echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } 28632$as_echo_n "checking for gssapi.h... " >&6; }
27137if test "${ac_cv_header_gssapi_h+set}" = set; then 28633if test "${ac_cv_header_gssapi_h+set}" = set; then
27138 echo $ECHO_N "(cached) $ECHO_C" >&6 28634 $as_echo_n "(cached) " >&6
27139fi 28635fi
27140{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 28636{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
27141echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } 28637$as_echo "$ac_cv_header_gssapi_h" >&6; }
27142else 28638else
27143 # Is the header compilable? 28639 # Is the header compilable?
27144{ echo "$as_me:$LINENO: checking gssapi.h usability" >&5 28640{ $as_echo "$as_me:$LINENO: checking gssapi.h usability" >&5
27145echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6; } 28641$as_echo_n "checking gssapi.h usability... " >&6; }
27146cat >conftest.$ac_ext <<_ACEOF 28642cat >conftest.$ac_ext <<_ACEOF
27147/* confdefs.h. */ 28643/* confdefs.h. */
27148_ACEOF 28644_ACEOF
@@ -27158,32 +28654,33 @@ case "(($ac_try" in
27158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27159 *) ac_try_echo=$ac_try;; 28655 *) ac_try_echo=$ac_try;;
27160esac 28656esac
27161eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28657eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28658$as_echo "$ac_try_echo") >&5
27162 (eval "$ac_compile") 2>conftest.er1 28659 (eval "$ac_compile") 2>conftest.er1
27163 ac_status=$? 28660 ac_status=$?
27164 grep -v '^ *+' conftest.er1 >conftest.err 28661 grep -v '^ *+' conftest.er1 >conftest.err
27165 rm -f conftest.er1 28662 rm -f conftest.er1
27166 cat conftest.err >&5 28663 cat conftest.err >&5
27167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27168 (exit $ac_status); } && { 28665 (exit $ac_status); } && {
27169 test -z "$ac_c_werror_flag" || 28666 test -z "$ac_c_werror_flag" ||
27170 test ! -s conftest.err 28667 test ! -s conftest.err
27171 } && test -s conftest.$ac_objext; then 28668 } && test -s conftest.$ac_objext; then
27172 ac_header_compiler=yes 28669 ac_header_compiler=yes
27173else 28670else
27174 echo "$as_me: failed program was:" >&5 28671 $as_echo "$as_me: failed program was:" >&5
27175sed 's/^/| /' conftest.$ac_ext >&5 28672sed 's/^/| /' conftest.$ac_ext >&5
27176 28673
27177 ac_header_compiler=no 28674 ac_header_compiler=no
27178fi 28675fi
27179 28676
27180rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27181{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28678{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27182echo "${ECHO_T}$ac_header_compiler" >&6; } 28679$as_echo "$ac_header_compiler" >&6; }
27183 28680
27184# Is the header present? 28681# Is the header present?
27185{ echo "$as_me:$LINENO: checking gssapi.h presence" >&5 28682{ $as_echo "$as_me:$LINENO: checking gssapi.h presence" >&5
27186echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6; } 28683$as_echo_n "checking gssapi.h presence... " >&6; }
27187cat >conftest.$ac_ext <<_ACEOF 28684cat >conftest.$ac_ext <<_ACEOF
27188/* confdefs.h. */ 28685/* confdefs.h. */
27189_ACEOF 28686_ACEOF
@@ -27197,51 +28694,52 @@ case "(($ac_try" in
27197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27198 *) ac_try_echo=$ac_try;; 28695 *) ac_try_echo=$ac_try;;
27199esac 28696esac
27200eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28697eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28698$as_echo "$ac_try_echo") >&5
27201 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27202 ac_status=$? 28700 ac_status=$?
27203 grep -v '^ *+' conftest.er1 >conftest.err 28701 grep -v '^ *+' conftest.er1 >conftest.err
27204 rm -f conftest.er1 28702 rm -f conftest.er1
27205 cat conftest.err >&5 28703 cat conftest.err >&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); } >/dev/null && { 28705 (exit $ac_status); } >/dev/null && {
27208 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27209 test ! -s conftest.err 28707 test ! -s conftest.err
27210 }; then 28708 }; then
27211 ac_header_preproc=yes 28709 ac_header_preproc=yes
27212else 28710else
27213 echo "$as_me: failed program was:" >&5 28711 $as_echo "$as_me: failed program was:" >&5
27214sed 's/^/| /' conftest.$ac_ext >&5 28712sed 's/^/| /' conftest.$ac_ext >&5
27215 28713
27216 ac_header_preproc=no 28714 ac_header_preproc=no
27217fi 28715fi
27218 28716
27219rm -f conftest.err conftest.$ac_ext 28717rm -f conftest.err conftest.$ac_ext
27220{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28718{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27221echo "${ECHO_T}$ac_header_preproc" >&6; } 28719$as_echo "$ac_header_preproc" >&6; }
27222 28720
27223# So? What about this header? 28721# So? What about this header?
27224case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28722case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27225 yes:no: ) 28723 yes:no: )
27226 { echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5 28724 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5
27227echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 28725$as_echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27228 { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the compiler's result" >&5 28726 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the compiler's result" >&5
27229echo "$as_me: WARNING: gssapi.h: proceeding with the compiler's result" >&2;} 28727$as_echo "$as_me: WARNING: gssapi.h: proceeding with the compiler's result" >&2;}
27230 ac_header_preproc=yes 28728 ac_header_preproc=yes
27231 ;; 28729 ;;
27232 no:yes:* ) 28730 no:yes:* )
27233 { echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5 28731 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5
27234echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;} 28732$as_echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;}
27235 { echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5 28733 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5
27236echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;} 28734$as_echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;}
27237 { echo "$as_me:$LINENO: WARNING: gssapi.h: see the Autoconf documentation" >&5 28735 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: see the Autoconf documentation" >&5
27238echo "$as_me: WARNING: gssapi.h: see the Autoconf documentation" >&2;} 28736$as_echo "$as_me: WARNING: gssapi.h: see the Autoconf documentation" >&2;}
27239 { echo "$as_me:$LINENO: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&5 28737 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&5
27240echo "$as_me: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&2;} 28738$as_echo "$as_me: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&2;}
27241 { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5 28739 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5
27242echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;} 28740$as_echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;}
27243 { echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5 28741 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5
27244echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} 28742$as_echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;}
27245 ( cat <<\_ASBOX 28743 ( cat <<\_ASBOX
27246## ------------------------------------------- ## 28744## ------------------------------------------- ##
27247## Report this to openssh-unix-dev@mindrot.org ## 28745## Report this to openssh-unix-dev@mindrot.org ##
@@ -27250,15 +28748,15 @@ _ASBOX
27250 ) | sed "s/^/$as_me: WARNING: /" >&2 28748 ) | sed "s/^/$as_me: WARNING: /" >&2
27251 ;; 28749 ;;
27252esac 28750esac
27253{ echo "$as_me:$LINENO: checking for gssapi.h" >&5 28751{ $as_echo "$as_me:$LINENO: checking for gssapi.h" >&5
27254echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } 28752$as_echo_n "checking for gssapi.h... " >&6; }
27255if test "${ac_cv_header_gssapi_h+set}" = set; then 28753if test "${ac_cv_header_gssapi_h+set}" = set; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6 28754 $as_echo_n "(cached) " >&6
27257else 28755else
27258 ac_cv_header_gssapi_h=$ac_header_preproc 28756 ac_cv_header_gssapi_h=$ac_header_preproc
27259fi 28757fi
27260{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 28758{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
27261echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } 28759$as_echo "$ac_cv_header_gssapi_h" >&6; }
27262 28760
27263fi 28761fi
27264if test $ac_cv_header_gssapi_h = yes; then 28762if test $ac_cv_header_gssapi_h = yes; then
@@ -27269,20 +28767,21 @@ else
27269 28767
27270for ac_header in gssapi.h 28768for ac_header in gssapi.h
27271do 28769do
27272as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 28770as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27273if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28771if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27274 { echo "$as_me:$LINENO: checking for $ac_header" >&5 28772 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27275echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 28773$as_echo_n "checking for $ac_header... " >&6; }
27276if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28774if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27277 echo $ECHO_N "(cached) $ECHO_C" >&6 28775 $as_echo_n "(cached) " >&6
27278fi 28776fi
27279ac_res=`eval echo '${'$as_ac_Header'}'` 28777ac_res=`eval 'as_val=${'$as_ac_Header'}
27280 { echo "$as_me:$LINENO: result: $ac_res" >&5 28778 $as_echo "$as_val"'`
27281echo "${ECHO_T}$ac_res" >&6; } 28779 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28780$as_echo "$ac_res" >&6; }
27282else 28781else
27283 # Is the header compilable? 28782 # Is the header compilable?
27284{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 28783{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27285echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 28784$as_echo_n "checking $ac_header usability... " >&6; }
27286cat >conftest.$ac_ext <<_ACEOF 28785cat >conftest.$ac_ext <<_ACEOF
27287/* confdefs.h. */ 28786/* confdefs.h. */
27288_ACEOF 28787_ACEOF
@@ -27298,32 +28797,33 @@ case "(($ac_try" in
27298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27299 *) ac_try_echo=$ac_try;; 28798 *) ac_try_echo=$ac_try;;
27300esac 28799esac
27301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28800eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28801$as_echo "$ac_try_echo") >&5
27302 (eval "$ac_compile") 2>conftest.er1 28802 (eval "$ac_compile") 2>conftest.er1
27303 ac_status=$? 28803 ac_status=$?
27304 grep -v '^ *+' conftest.er1 >conftest.err 28804 grep -v '^ *+' conftest.er1 >conftest.err
27305 rm -f conftest.er1 28805 rm -f conftest.er1
27306 cat conftest.err >&5 28806 cat conftest.err >&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } && { 28808 (exit $ac_status); } && {
27309 test -z "$ac_c_werror_flag" || 28809 test -z "$ac_c_werror_flag" ||
27310 test ! -s conftest.err 28810 test ! -s conftest.err
27311 } && test -s conftest.$ac_objext; then 28811 } && test -s conftest.$ac_objext; then
27312 ac_header_compiler=yes 28812 ac_header_compiler=yes
27313else 28813else
27314 echo "$as_me: failed program was:" >&5 28814 $as_echo "$as_me: failed program was:" >&5
27315sed 's/^/| /' conftest.$ac_ext >&5 28815sed 's/^/| /' conftest.$ac_ext >&5
27316 28816
27317 ac_header_compiler=no 28817 ac_header_compiler=no
27318fi 28818fi
27319 28819
27320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27321{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28821{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27322echo "${ECHO_T}$ac_header_compiler" >&6; } 28822$as_echo "$ac_header_compiler" >&6; }
27323 28823
27324# Is the header present? 28824# Is the header present?
27325{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 28825{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27326echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 28826$as_echo_n "checking $ac_header presence... " >&6; }
27327cat >conftest.$ac_ext <<_ACEOF 28827cat >conftest.$ac_ext <<_ACEOF
27328/* confdefs.h. */ 28828/* confdefs.h. */
27329_ACEOF 28829_ACEOF
@@ -27337,51 +28837,52 @@ case "(($ac_try" in
27337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27338 *) ac_try_echo=$ac_try;; 28838 *) ac_try_echo=$ac_try;;
27339esac 28839esac
27340eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28840eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28841$as_echo "$ac_try_echo") >&5
27341 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27342 ac_status=$? 28843 ac_status=$?
27343 grep -v '^ *+' conftest.er1 >conftest.err 28844 grep -v '^ *+' conftest.er1 >conftest.err
27344 rm -f conftest.er1 28845 rm -f conftest.er1
27345 cat conftest.err >&5 28846 cat conftest.err >&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); } >/dev/null && { 28848 (exit $ac_status); } >/dev/null && {
27348 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27349 test ! -s conftest.err 28850 test ! -s conftest.err
27350 }; then 28851 }; then
27351 ac_header_preproc=yes 28852 ac_header_preproc=yes
27352else 28853else
27353 echo "$as_me: failed program was:" >&5 28854 $as_echo "$as_me: failed program was:" >&5
27354sed 's/^/| /' conftest.$ac_ext >&5 28855sed 's/^/| /' conftest.$ac_ext >&5
27355 28856
27356 ac_header_preproc=no 28857 ac_header_preproc=no
27357fi 28858fi
27358 28859
27359rm -f conftest.err conftest.$ac_ext 28860rm -f conftest.err conftest.$ac_ext
27360{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28861{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27361echo "${ECHO_T}$ac_header_preproc" >&6; } 28862$as_echo "$ac_header_preproc" >&6; }
27362 28863
27363# So? What about this header? 28864# So? What about this header?
27364case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28865case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27365 yes:no: ) 28866 yes:no: )
27366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 28867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27367echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 28868$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 28869 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27369echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 28870$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27370 ac_header_preproc=yes 28871 ac_header_preproc=yes
27371 ;; 28872 ;;
27372 no:yes:* ) 28873 no:yes:* )
27373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 28874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27374echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 28875$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 28876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27376echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 28877$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 28878 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27378echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 28879$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 28880 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27380echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 28881$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 28882 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27382echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 28883$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 28884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27384echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 28885$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27385 ( cat <<\_ASBOX 28886 ( cat <<\_ASBOX
27386## ------------------------------------------- ## 28887## ------------------------------------------- ##
27387## Report this to openssh-unix-dev@mindrot.org ## 28888## Report this to openssh-unix-dev@mindrot.org ##
@@ -27390,26 +28891,28 @@ _ASBOX
27390 ) | sed "s/^/$as_me: WARNING: /" >&2 28891 ) | sed "s/^/$as_me: WARNING: /" >&2
27391 ;; 28892 ;;
27392esac 28893esac
27393{ echo "$as_me:$LINENO: checking for $ac_header" >&5 28894{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27394echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 28895$as_echo_n "checking for $ac_header... " >&6; }
27395if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28896if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27396 echo $ECHO_N "(cached) $ECHO_C" >&6 28897 $as_echo_n "(cached) " >&6
27397else 28898else
27398 eval "$as_ac_Header=\$ac_header_preproc" 28899 eval "$as_ac_Header=\$ac_header_preproc"
27399fi 28900fi
27400ac_res=`eval echo '${'$as_ac_Header'}'` 28901ac_res=`eval 'as_val=${'$as_ac_Header'}
27401 { echo "$as_me:$LINENO: result: $ac_res" >&5 28902 $as_echo "$as_val"'`
27402echo "${ECHO_T}$ac_res" >&6; } 28903 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28904$as_echo "$ac_res" >&6; }
27403 28905
27404fi 28906fi
27405if test `eval echo '${'$as_ac_Header'}'` = yes; then 28907if test `eval 'as_val=${'$as_ac_Header'}
28908 $as_echo "$as_val"'` = yes; then
27406 cat >>confdefs.h <<_ACEOF 28909 cat >>confdefs.h <<_ACEOF
27407#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 28910#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27408_ACEOF 28911_ACEOF
27409 28912
27410else 28913else
27411 { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 28914 { $as_echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
27412echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} 28915$as_echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;}
27413 28916
27414fi 28917fi
27415 28918
@@ -27424,17 +28927,17 @@ fi
27424 oldCPP="$CPPFLAGS" 28927 oldCPP="$CPPFLAGS"
27425 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" 28928 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi"
27426 if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 28929 if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
27427 { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 28930 { $as_echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
27428echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } 28931$as_echo_n "checking for gssapi_krb5.h... " >&6; }
27429if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 28932if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
27430 echo $ECHO_N "(cached) $ECHO_C" >&6 28933 $as_echo_n "(cached) " >&6
27431fi 28934fi
27432{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 28935{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
27433echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } 28936$as_echo "$ac_cv_header_gssapi_krb5_h" >&6; }
27434else 28937else
27435 # Is the header compilable? 28938 # Is the header compilable?
27436{ echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5 28939{ $as_echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5
27437echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6; } 28940$as_echo_n "checking gssapi_krb5.h usability... " >&6; }
27438cat >conftest.$ac_ext <<_ACEOF 28941cat >conftest.$ac_ext <<_ACEOF
27439/* confdefs.h. */ 28942/* confdefs.h. */
27440_ACEOF 28943_ACEOF
@@ -27450,32 +28953,33 @@ case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;; 28954 *) ac_try_echo=$ac_try;;
27452esac 28955esac
27453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28956eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28957$as_echo "$ac_try_echo") >&5
27454 (eval "$ac_compile") 2>conftest.er1 28958 (eval "$ac_compile") 2>conftest.er1
27455 ac_status=$? 28959 ac_status=$?
27456 grep -v '^ *+' conftest.er1 >conftest.err 28960 grep -v '^ *+' conftest.er1 >conftest.err
27457 rm -f conftest.er1 28961 rm -f conftest.er1
27458 cat conftest.err >&5 28962 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } && { 28964 (exit $ac_status); } && {
27461 test -z "$ac_c_werror_flag" || 28965 test -z "$ac_c_werror_flag" ||
27462 test ! -s conftest.err 28966 test ! -s conftest.err
27463 } && test -s conftest.$ac_objext; then 28967 } && test -s conftest.$ac_objext; then
27464 ac_header_compiler=yes 28968 ac_header_compiler=yes
27465else 28969else
27466 echo "$as_me: failed program was:" >&5 28970 $as_echo "$as_me: failed program was:" >&5
27467sed 's/^/| /' conftest.$ac_ext >&5 28971sed 's/^/| /' conftest.$ac_ext >&5
27468 28972
27469 ac_header_compiler=no 28973 ac_header_compiler=no
27470fi 28974fi
27471 28975
27472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27473{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28977{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27474echo "${ECHO_T}$ac_header_compiler" >&6; } 28978$as_echo "$ac_header_compiler" >&6; }
27475 28979
27476# Is the header present? 28980# Is the header present?
27477{ echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5 28981{ $as_echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5
27478echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6; } 28982$as_echo_n "checking gssapi_krb5.h presence... " >&6; }
27479cat >conftest.$ac_ext <<_ACEOF 28983cat >conftest.$ac_ext <<_ACEOF
27480/* confdefs.h. */ 28984/* confdefs.h. */
27481_ACEOF 28985_ACEOF
@@ -27489,51 +28993,52 @@ case "(($ac_try" in
27489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27490 *) ac_try_echo=$ac_try;; 28994 *) ac_try_echo=$ac_try;;
27491esac 28995esac
27492eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28996eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28997$as_echo "$ac_try_echo") >&5
27493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27494 ac_status=$? 28999 ac_status=$?
27495 grep -v '^ *+' conftest.er1 >conftest.err 29000 grep -v '^ *+' conftest.er1 >conftest.err
27496 rm -f conftest.er1 29001 rm -f conftest.er1
27497 cat conftest.err >&5 29002 cat conftest.err >&5
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); } >/dev/null && { 29004 (exit $ac_status); } >/dev/null && {
27500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29005 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27501 test ! -s conftest.err 29006 test ! -s conftest.err
27502 }; then 29007 }; then
27503 ac_header_preproc=yes 29008 ac_header_preproc=yes
27504else 29009else
27505 echo "$as_me: failed program was:" >&5 29010 $as_echo "$as_me: failed program was:" >&5
27506sed 's/^/| /' conftest.$ac_ext >&5 29011sed 's/^/| /' conftest.$ac_ext >&5
27507 29012
27508 ac_header_preproc=no 29013 ac_header_preproc=no
27509fi 29014fi
27510 29015
27511rm -f conftest.err conftest.$ac_ext 29016rm -f conftest.err conftest.$ac_ext
27512{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29017{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27513echo "${ECHO_T}$ac_header_preproc" >&6; } 29018$as_echo "$ac_header_preproc" >&6; }
27514 29019
27515# So? What about this header? 29020# So? What about this header?
27516case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29021case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27517 yes:no: ) 29022 yes:no: )
27518 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5 29023 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5
27519echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 29024$as_echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27520 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&5 29025 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&5
27521echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&2;} 29026$as_echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&2;}
27522 ac_header_preproc=yes 29027 ac_header_preproc=yes
27523 ;; 29028 ;;
27524 no:yes:* ) 29029 no:yes:* )
27525 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5 29030 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5
27526echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;} 29031$as_echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;}
27527 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5 29032 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5
27528echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;} 29033$as_echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;}
27529 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&5 29034 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&5
27530echo "$as_me: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&2;} 29035$as_echo "$as_me: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&2;}
27531 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&5 29036 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&5
27532echo "$as_me: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&2;} 29037$as_echo "$as_me: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&2;}
27533 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5 29038 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5
27534echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;} 29039$as_echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;}
27535 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5 29040 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5
27536echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} 29041$as_echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;}
27537 ( cat <<\_ASBOX 29042 ( cat <<\_ASBOX
27538## ------------------------------------------- ## 29043## ------------------------------------------- ##
27539## Report this to openssh-unix-dev@mindrot.org ## 29044## Report this to openssh-unix-dev@mindrot.org ##
@@ -27542,15 +29047,15 @@ _ASBOX
27542 ) | sed "s/^/$as_me: WARNING: /" >&2 29047 ) | sed "s/^/$as_me: WARNING: /" >&2
27543 ;; 29048 ;;
27544esac 29049esac
27545{ echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 29050{ $as_echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
27546echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } 29051$as_echo_n "checking for gssapi_krb5.h... " >&6; }
27547if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 29052if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
27548 echo $ECHO_N "(cached) $ECHO_C" >&6 29053 $as_echo_n "(cached) " >&6
27549else 29054else
27550 ac_cv_header_gssapi_krb5_h=$ac_header_preproc 29055 ac_cv_header_gssapi_krb5_h=$ac_header_preproc
27551fi 29056fi
27552{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 29057{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
27553echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } 29058$as_echo "$ac_cv_header_gssapi_krb5_h" >&6; }
27554 29059
27555fi 29060fi
27556if test $ac_cv_header_gssapi_krb5_h = yes; then 29061if test $ac_cv_header_gssapi_krb5_h = yes; then
@@ -27573,20 +29078,21 @@ fi
27573 29078
27574for ac_header in gssapi.h gssapi/gssapi.h 29079for ac_header in gssapi.h gssapi/gssapi.h
27575do 29080do
27576as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 29081as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27577if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29082if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27578 { echo "$as_me:$LINENO: checking for $ac_header" >&5 29083 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27579echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29084$as_echo_n "checking for $ac_header... " >&6; }
27580if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29085if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6 29086 $as_echo_n "(cached) " >&6
27582fi 29087fi
27583ac_res=`eval echo '${'$as_ac_Header'}'` 29088ac_res=`eval 'as_val=${'$as_ac_Header'}
27584 { echo "$as_me:$LINENO: result: $ac_res" >&5 29089 $as_echo "$as_val"'`
27585echo "${ECHO_T}$ac_res" >&6; } 29090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29091$as_echo "$ac_res" >&6; }
27586else 29092else
27587 # Is the header compilable? 29093 # Is the header compilable?
27588{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 29094{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27589echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 29095$as_echo_n "checking $ac_header usability... " >&6; }
27590cat >conftest.$ac_ext <<_ACEOF 29096cat >conftest.$ac_ext <<_ACEOF
27591/* confdefs.h. */ 29097/* confdefs.h. */
27592_ACEOF 29098_ACEOF
@@ -27602,32 +29108,33 @@ case "(($ac_try" in
27602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27603 *) ac_try_echo=$ac_try;; 29109 *) ac_try_echo=$ac_try;;
27604esac 29110esac
27605eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29111eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29112$as_echo "$ac_try_echo") >&5
27606 (eval "$ac_compile") 2>conftest.er1 29113 (eval "$ac_compile") 2>conftest.er1
27607 ac_status=$? 29114 ac_status=$?
27608 grep -v '^ *+' conftest.er1 >conftest.err 29115 grep -v '^ *+' conftest.er1 >conftest.err
27609 rm -f conftest.er1 29116 rm -f conftest.er1
27610 cat conftest.err >&5 29117 cat conftest.err >&5
27611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27612 (exit $ac_status); } && { 29119 (exit $ac_status); } && {
27613 test -z "$ac_c_werror_flag" || 29120 test -z "$ac_c_werror_flag" ||
27614 test ! -s conftest.err 29121 test ! -s conftest.err
27615 } && test -s conftest.$ac_objext; then 29122 } && test -s conftest.$ac_objext; then
27616 ac_header_compiler=yes 29123 ac_header_compiler=yes
27617else 29124else
27618 echo "$as_me: failed program was:" >&5 29125 $as_echo "$as_me: failed program was:" >&5
27619sed 's/^/| /' conftest.$ac_ext >&5 29126sed 's/^/| /' conftest.$ac_ext >&5
27620 29127
27621 ac_header_compiler=no 29128 ac_header_compiler=no
27622fi 29129fi
27623 29130
27624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27625{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29132{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27626echo "${ECHO_T}$ac_header_compiler" >&6; } 29133$as_echo "$ac_header_compiler" >&6; }
27627 29134
27628# Is the header present? 29135# Is the header present?
27629{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 29136{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27630echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 29137$as_echo_n "checking $ac_header presence... " >&6; }
27631cat >conftest.$ac_ext <<_ACEOF 29138cat >conftest.$ac_ext <<_ACEOF
27632/* confdefs.h. */ 29139/* confdefs.h. */
27633_ACEOF 29140_ACEOF
@@ -27641,51 +29148,52 @@ case "(($ac_try" in
27641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27642 *) ac_try_echo=$ac_try;; 29149 *) ac_try_echo=$ac_try;;
27643esac 29150esac
27644eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29151eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29152$as_echo "$ac_try_echo") >&5
27645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 29153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27646 ac_status=$? 29154 ac_status=$?
27647 grep -v '^ *+' conftest.er1 >conftest.err 29155 grep -v '^ *+' conftest.er1 >conftest.err
27648 rm -f conftest.er1 29156 rm -f conftest.er1
27649 cat conftest.err >&5 29157 cat conftest.err >&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); } >/dev/null && { 29159 (exit $ac_status); } >/dev/null && {
27652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27653 test ! -s conftest.err 29161 test ! -s conftest.err
27654 }; then 29162 }; then
27655 ac_header_preproc=yes 29163 ac_header_preproc=yes
27656else 29164else
27657 echo "$as_me: failed program was:" >&5 29165 $as_echo "$as_me: failed program was:" >&5
27658sed 's/^/| /' conftest.$ac_ext >&5 29166sed 's/^/| /' conftest.$ac_ext >&5
27659 29167
27660 ac_header_preproc=no 29168 ac_header_preproc=no
27661fi 29169fi
27662 29170
27663rm -f conftest.err conftest.$ac_ext 29171rm -f conftest.err conftest.$ac_ext
27664{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29172{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27665echo "${ECHO_T}$ac_header_preproc" >&6; } 29173$as_echo "$ac_header_preproc" >&6; }
27666 29174
27667# So? What about this header? 29175# So? What about this header?
27668case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29176case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27669 yes:no: ) 29177 yes:no: )
27670 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 29178 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27671echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 29179$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 29180 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27673echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 29181$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27674 ac_header_preproc=yes 29182 ac_header_preproc=yes
27675 ;; 29183 ;;
27676 no:yes:* ) 29184 no:yes:* )
27677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 29185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27678echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 29186$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 29187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27680echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 29188$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27681 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 29189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27682echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 29190$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27683 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 29191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27684echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 29192$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 29193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27686echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 29194$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27687 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 29195 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27688echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 29196$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27689 ( cat <<\_ASBOX 29197 ( cat <<\_ASBOX
27690## ------------------------------------------- ## 29198## ------------------------------------------- ##
27691## Report this to openssh-unix-dev@mindrot.org ## 29199## Report this to openssh-unix-dev@mindrot.org ##
@@ -27694,21 +29202,23 @@ _ASBOX
27694 ) | sed "s/^/$as_me: WARNING: /" >&2 29202 ) | sed "s/^/$as_me: WARNING: /" >&2
27695 ;; 29203 ;;
27696esac 29204esac
27697{ echo "$as_me:$LINENO: checking for $ac_header" >&5 29205{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27698echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29206$as_echo_n "checking for $ac_header... " >&6; }
27699if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29207if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27700 echo $ECHO_N "(cached) $ECHO_C" >&6 29208 $as_echo_n "(cached) " >&6
27701else 29209else
27702 eval "$as_ac_Header=\$ac_header_preproc" 29210 eval "$as_ac_Header=\$ac_header_preproc"
27703fi 29211fi
27704ac_res=`eval echo '${'$as_ac_Header'}'` 29212ac_res=`eval 'as_val=${'$as_ac_Header'}
27705 { echo "$as_me:$LINENO: result: $ac_res" >&5 29213 $as_echo "$as_val"'`
27706echo "${ECHO_T}$ac_res" >&6; } 29214 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29215$as_echo "$ac_res" >&6; }
27707 29216
27708fi 29217fi
27709if test `eval echo '${'$as_ac_Header'}'` = yes; then 29218if test `eval 'as_val=${'$as_ac_Header'}
29219 $as_echo "$as_val"'` = yes; then
27710 cat >>confdefs.h <<_ACEOF 29220 cat >>confdefs.h <<_ACEOF
27711#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 29221#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27712_ACEOF 29222_ACEOF
27713 29223
27714fi 29224fi
@@ -27719,20 +29229,21 @@ done
27719 29229
27720for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h 29230for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h
27721do 29231do
27722as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 29232as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27723if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29233if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27724 { echo "$as_me:$LINENO: checking for $ac_header" >&5 29234 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27725echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29235$as_echo_n "checking for $ac_header... " >&6; }
27726if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29236if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6 29237 $as_echo_n "(cached) " >&6
27728fi 29238fi
27729ac_res=`eval echo '${'$as_ac_Header'}'` 29239ac_res=`eval 'as_val=${'$as_ac_Header'}
27730 { echo "$as_me:$LINENO: result: $ac_res" >&5 29240 $as_echo "$as_val"'`
27731echo "${ECHO_T}$ac_res" >&6; } 29241 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29242$as_echo "$ac_res" >&6; }
27732else 29243else
27733 # Is the header compilable? 29244 # Is the header compilable?
27734{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 29245{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27735echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 29246$as_echo_n "checking $ac_header usability... " >&6; }
27736cat >conftest.$ac_ext <<_ACEOF 29247cat >conftest.$ac_ext <<_ACEOF
27737/* confdefs.h. */ 29248/* confdefs.h. */
27738_ACEOF 29249_ACEOF
@@ -27748,32 +29259,33 @@ case "(($ac_try" in
27748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27749 *) ac_try_echo=$ac_try;; 29260 *) ac_try_echo=$ac_try;;
27750esac 29261esac
27751eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29262eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29263$as_echo "$ac_try_echo") >&5
27752 (eval "$ac_compile") 2>conftest.er1 29264 (eval "$ac_compile") 2>conftest.er1
27753 ac_status=$? 29265 ac_status=$?
27754 grep -v '^ *+' conftest.er1 >conftest.err 29266 grep -v '^ *+' conftest.er1 >conftest.err
27755 rm -f conftest.er1 29267 rm -f conftest.er1
27756 cat conftest.err >&5 29268 cat conftest.err >&5
27757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758 (exit $ac_status); } && { 29270 (exit $ac_status); } && {
27759 test -z "$ac_c_werror_flag" || 29271 test -z "$ac_c_werror_flag" ||
27760 test ! -s conftest.err 29272 test ! -s conftest.err
27761 } && test -s conftest.$ac_objext; then 29273 } && test -s conftest.$ac_objext; then
27762 ac_header_compiler=yes 29274 ac_header_compiler=yes
27763else 29275else
27764 echo "$as_me: failed program was:" >&5 29276 $as_echo "$as_me: failed program was:" >&5
27765sed 's/^/| /' conftest.$ac_ext >&5 29277sed 's/^/| /' conftest.$ac_ext >&5
27766 29278
27767 ac_header_compiler=no 29279 ac_header_compiler=no
27768fi 29280fi
27769 29281
27770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29282rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27771{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29283{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27772echo "${ECHO_T}$ac_header_compiler" >&6; } 29284$as_echo "$ac_header_compiler" >&6; }
27773 29285
27774# Is the header present? 29286# Is the header present?
27775{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 29287{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27776echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 29288$as_echo_n "checking $ac_header presence... " >&6; }
27777cat >conftest.$ac_ext <<_ACEOF 29289cat >conftest.$ac_ext <<_ACEOF
27778/* confdefs.h. */ 29290/* confdefs.h. */
27779_ACEOF 29291_ACEOF
@@ -27787,51 +29299,52 @@ case "(($ac_try" in
27787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27788 *) ac_try_echo=$ac_try;; 29300 *) ac_try_echo=$ac_try;;
27789esac 29301esac
27790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29302eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29303$as_echo "$ac_try_echo") >&5
27791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 29304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27792 ac_status=$? 29305 ac_status=$?
27793 grep -v '^ *+' conftest.er1 >conftest.err 29306 grep -v '^ *+' conftest.er1 >conftest.err
27794 rm -f conftest.er1 29307 rm -f conftest.er1
27795 cat conftest.err >&5 29308 cat conftest.err >&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); } >/dev/null && { 29310 (exit $ac_status); } >/dev/null && {
27798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29311 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27799 test ! -s conftest.err 29312 test ! -s conftest.err
27800 }; then 29313 }; then
27801 ac_header_preproc=yes 29314 ac_header_preproc=yes
27802else 29315else
27803 echo "$as_me: failed program was:" >&5 29316 $as_echo "$as_me: failed program was:" >&5
27804sed 's/^/| /' conftest.$ac_ext >&5 29317sed 's/^/| /' conftest.$ac_ext >&5
27805 29318
27806 ac_header_preproc=no 29319 ac_header_preproc=no
27807fi 29320fi
27808 29321
27809rm -f conftest.err conftest.$ac_ext 29322rm -f conftest.err conftest.$ac_ext
27810{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29323{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27811echo "${ECHO_T}$ac_header_preproc" >&6; } 29324$as_echo "$ac_header_preproc" >&6; }
27812 29325
27813# So? What about this header? 29326# So? What about this header?
27814case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29327case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27815 yes:no: ) 29328 yes:no: )
27816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 29329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27817echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 29330$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 29331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27819echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 29332$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27820 ac_header_preproc=yes 29333 ac_header_preproc=yes
27821 ;; 29334 ;;
27822 no:yes:* ) 29335 no:yes:* )
27823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 29336 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27824echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 29337$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 29338 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27826echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 29339$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 29340 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27828echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 29341$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 29342 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27830echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 29343$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 29344 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27832echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 29345$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 29346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27834echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 29347$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27835 ( cat <<\_ASBOX 29348 ( cat <<\_ASBOX
27836## ------------------------------------------- ## 29349## ------------------------------------------- ##
27837## Report this to openssh-unix-dev@mindrot.org ## 29350## Report this to openssh-unix-dev@mindrot.org ##
@@ -27840,21 +29353,23 @@ _ASBOX
27840 ) | sed "s/^/$as_me: WARNING: /" >&2 29353 ) | sed "s/^/$as_me: WARNING: /" >&2
27841 ;; 29354 ;;
27842esac 29355esac
27843{ echo "$as_me:$LINENO: checking for $ac_header" >&5 29356{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27844echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29357$as_echo_n "checking for $ac_header... " >&6; }
27845if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29358if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6 29359 $as_echo_n "(cached) " >&6
27847else 29360else
27848 eval "$as_ac_Header=\$ac_header_preproc" 29361 eval "$as_ac_Header=\$ac_header_preproc"
27849fi 29362fi
27850ac_res=`eval echo '${'$as_ac_Header'}'` 29363ac_res=`eval 'as_val=${'$as_ac_Header'}
27851 { echo "$as_me:$LINENO: result: $ac_res" >&5 29364 $as_echo "$as_val"'`
27852echo "${ECHO_T}$ac_res" >&6; } 29365 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29366$as_echo "$ac_res" >&6; }
27853 29367
27854fi 29368fi
27855if test `eval echo '${'$as_ac_Header'}'` = yes; then 29369if test `eval 'as_val=${'$as_ac_Header'}
29370 $as_echo "$as_val"'` = yes; then
27856 cat >>confdefs.h <<_ACEOF 29371 cat >>confdefs.h <<_ACEOF
27857#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 29372#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27858_ACEOF 29373_ACEOF
27859 29374
27860fi 29375fi
@@ -27865,20 +29380,21 @@ done
27865 29380
27866for ac_header in gssapi_generic.h gssapi/gssapi_generic.h 29381for ac_header in gssapi_generic.h gssapi/gssapi_generic.h
27867do 29382do
27868as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 29383as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27869if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29384if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27870 { echo "$as_me:$LINENO: checking for $ac_header" >&5 29385 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27871echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29386$as_echo_n "checking for $ac_header... " >&6; }
27872if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29387if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27873 echo $ECHO_N "(cached) $ECHO_C" >&6 29388 $as_echo_n "(cached) " >&6
27874fi 29389fi
27875ac_res=`eval echo '${'$as_ac_Header'}'` 29390ac_res=`eval 'as_val=${'$as_ac_Header'}
27876 { echo "$as_me:$LINENO: result: $ac_res" >&5 29391 $as_echo "$as_val"'`
27877echo "${ECHO_T}$ac_res" >&6; } 29392 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29393$as_echo "$ac_res" >&6; }
27878else 29394else
27879 # Is the header compilable? 29395 # Is the header compilable?
27880{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 29396{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27881echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 29397$as_echo_n "checking $ac_header usability... " >&6; }
27882cat >conftest.$ac_ext <<_ACEOF 29398cat >conftest.$ac_ext <<_ACEOF
27883/* confdefs.h. */ 29399/* confdefs.h. */
27884_ACEOF 29400_ACEOF
@@ -27894,32 +29410,33 @@ case "(($ac_try" in
27894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27895 *) ac_try_echo=$ac_try;; 29411 *) ac_try_echo=$ac_try;;
27896esac 29412esac
27897eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29413eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29414$as_echo "$ac_try_echo") >&5
27898 (eval "$ac_compile") 2>conftest.er1 29415 (eval "$ac_compile") 2>conftest.er1
27899 ac_status=$? 29416 ac_status=$?
27900 grep -v '^ *+' conftest.er1 >conftest.err 29417 grep -v '^ *+' conftest.er1 >conftest.err
27901 rm -f conftest.er1 29418 rm -f conftest.er1
27902 cat conftest.err >&5 29419 cat conftest.err >&5
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); } && { 29421 (exit $ac_status); } && {
27905 test -z "$ac_c_werror_flag" || 29422 test -z "$ac_c_werror_flag" ||
27906 test ! -s conftest.err 29423 test ! -s conftest.err
27907 } && test -s conftest.$ac_objext; then 29424 } && test -s conftest.$ac_objext; then
27908 ac_header_compiler=yes 29425 ac_header_compiler=yes
27909else 29426else
27910 echo "$as_me: failed program was:" >&5 29427 $as_echo "$as_me: failed program was:" >&5
27911sed 's/^/| /' conftest.$ac_ext >&5 29428sed 's/^/| /' conftest.$ac_ext >&5
27912 29429
27913 ac_header_compiler=no 29430 ac_header_compiler=no
27914fi 29431fi
27915 29432
27916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27917{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29434{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27918echo "${ECHO_T}$ac_header_compiler" >&6; } 29435$as_echo "$ac_header_compiler" >&6; }
27919 29436
27920# Is the header present? 29437# Is the header present?
27921{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 29438{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27922echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 29439$as_echo_n "checking $ac_header presence... " >&6; }
27923cat >conftest.$ac_ext <<_ACEOF 29440cat >conftest.$ac_ext <<_ACEOF
27924/* confdefs.h. */ 29441/* confdefs.h. */
27925_ACEOF 29442_ACEOF
@@ -27933,51 +29450,52 @@ case "(($ac_try" in
27933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27934 *) ac_try_echo=$ac_try;; 29451 *) ac_try_echo=$ac_try;;
27935esac 29452esac
27936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29453eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29454$as_echo "$ac_try_echo") >&5
27937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 29455 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27938 ac_status=$? 29456 ac_status=$?
27939 grep -v '^ *+' conftest.er1 >conftest.err 29457 grep -v '^ *+' conftest.er1 >conftest.err
27940 rm -f conftest.er1 29458 rm -f conftest.er1
27941 cat conftest.err >&5 29459 cat conftest.err >&5
27942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943 (exit $ac_status); } >/dev/null && { 29461 (exit $ac_status); } >/dev/null && {
27944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27945 test ! -s conftest.err 29463 test ! -s conftest.err
27946 }; then 29464 }; then
27947 ac_header_preproc=yes 29465 ac_header_preproc=yes
27948else 29466else
27949 echo "$as_me: failed program was:" >&5 29467 $as_echo "$as_me: failed program was:" >&5
27950sed 's/^/| /' conftest.$ac_ext >&5 29468sed 's/^/| /' conftest.$ac_ext >&5
27951 29469
27952 ac_header_preproc=no 29470 ac_header_preproc=no
27953fi 29471fi
27954 29472
27955rm -f conftest.err conftest.$ac_ext 29473rm -f conftest.err conftest.$ac_ext
27956{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29474{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27957echo "${ECHO_T}$ac_header_preproc" >&6; } 29475$as_echo "$ac_header_preproc" >&6; }
27958 29476
27959# So? What about this header? 29477# So? What about this header?
27960case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29478case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27961 yes:no: ) 29479 yes:no: )
27962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 29480 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27963echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 29481$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 29482 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27965echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 29483$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27966 ac_header_preproc=yes 29484 ac_header_preproc=yes
27967 ;; 29485 ;;
27968 no:yes:* ) 29486 no:yes:* )
27969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 29487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27970echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 29488$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 29489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27972echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 29490$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 29491 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27974echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 29492$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 29493 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27976echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 29494$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 29495 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27978echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 29496$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 29497 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27980echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 29498$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27981 ( cat <<\_ASBOX 29499 ( cat <<\_ASBOX
27982## ------------------------------------------- ## 29500## ------------------------------------------- ##
27983## Report this to openssh-unix-dev@mindrot.org ## 29501## Report this to openssh-unix-dev@mindrot.org ##
@@ -27986,21 +29504,23 @@ _ASBOX
27986 ) | sed "s/^/$as_me: WARNING: /" >&2 29504 ) | sed "s/^/$as_me: WARNING: /" >&2
27987 ;; 29505 ;;
27988esac 29506esac
27989{ echo "$as_me:$LINENO: checking for $ac_header" >&5 29507{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27990echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29508$as_echo_n "checking for $ac_header... " >&6; }
27991if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29509if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6 29510 $as_echo_n "(cached) " >&6
27993else 29511else
27994 eval "$as_ac_Header=\$ac_header_preproc" 29512 eval "$as_ac_Header=\$ac_header_preproc"
27995fi 29513fi
27996ac_res=`eval echo '${'$as_ac_Header'}'` 29514ac_res=`eval 'as_val=${'$as_ac_Header'}
27997 { echo "$as_me:$LINENO: result: $ac_res" >&5 29515 $as_echo "$as_val"'`
27998echo "${ECHO_T}$ac_res" >&6; } 29516 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29517$as_echo "$ac_res" >&6; }
27999 29518
28000fi 29519fi
28001if test `eval echo '${'$as_ac_Header'}'` = yes; then 29520if test `eval 'as_val=${'$as_ac_Header'}
29521 $as_echo "$as_val"'` = yes; then
28002 cat >>confdefs.h <<_ACEOF 29522 cat >>confdefs.h <<_ACEOF
28003#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 29523#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28004_ACEOF 29524_ACEOF
28005 29525
28006fi 29526fi
@@ -28009,10 +29529,10 @@ done
28009 29529
28010 29530
28011 LIBS="$LIBS $K5LIBS" 29531 LIBS="$LIBS $K5LIBS"
28012 { echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 29532 { $as_echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5
28013echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6; } 29533$as_echo_n "checking for library containing k_hasafs... " >&6; }
28014if test "${ac_cv_search_k_hasafs+set}" = set; then 29534if test "${ac_cv_search_k_hasafs+set}" = set; then
28015 echo $ECHO_N "(cached) $ECHO_C" >&6 29535 $as_echo_n "(cached) " >&6
28016else 29536else
28017 ac_func_search_save_LIBS=$LIBS 29537 ac_func_search_save_LIBS=$LIBS
28018cat >conftest.$ac_ext <<_ACEOF 29538cat >conftest.$ac_ext <<_ACEOF
@@ -28050,26 +29570,30 @@ case "(($ac_try" in
28050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28051 *) ac_try_echo=$ac_try;; 29571 *) ac_try_echo=$ac_try;;
28052esac 29572esac
28053eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29574$as_echo "$ac_try_echo") >&5
28054 (eval "$ac_link") 2>conftest.er1 29575 (eval "$ac_link") 2>conftest.er1
28055 ac_status=$? 29576 ac_status=$?
28056 grep -v '^ *+' conftest.er1 >conftest.err 29577 grep -v '^ *+' conftest.er1 >conftest.err
28057 rm -f conftest.er1 29578 rm -f conftest.er1
28058 cat conftest.err >&5 29579 cat conftest.err >&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } && { 29581 (exit $ac_status); } && {
28061 test -z "$ac_c_werror_flag" || 29582 test -z "$ac_c_werror_flag" ||
28062 test ! -s conftest.err 29583 test ! -s conftest.err
28063 } && test -s conftest$ac_exeext && 29584 } && test -s conftest$ac_exeext && {
28064 $as_test_x conftest$ac_exeext; then 29585 test "$cross_compiling" = yes ||
29586 $as_test_x conftest$ac_exeext
29587 }; then
28065 ac_cv_search_k_hasafs=$ac_res 29588 ac_cv_search_k_hasafs=$ac_res
28066else 29589else
28067 echo "$as_me: failed program was:" >&5 29590 $as_echo "$as_me: failed program was:" >&5
28068sed 's/^/| /' conftest.$ac_ext >&5 29591sed 's/^/| /' conftest.$ac_ext >&5
28069 29592
28070 29593
28071fi 29594fi
28072 29595
29596rm -rf conftest.dSYM
28073rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 29597rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28074 conftest$ac_exeext 29598 conftest$ac_exeext
28075 if test "${ac_cv_search_k_hasafs+set}" = set; then 29599 if test "${ac_cv_search_k_hasafs+set}" = set; then
@@ -28084,8 +29608,8 @@ fi
28084rm conftest.$ac_ext 29608rm conftest.$ac_ext
28085LIBS=$ac_func_search_save_LIBS 29609LIBS=$ac_func_search_save_LIBS
28086fi 29610fi
28087{ echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5 29611{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5
28088echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6; } 29612$as_echo "$ac_cv_search_k_hasafs" >&6; }
28089ac_res=$ac_cv_search_k_hasafs 29613ac_res=$ac_cv_search_k_hasafs
28090if test "$ac_res" != no; then 29614if test "$ac_res" != no; then
28091 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 29615 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -28137,10 +29661,10 @@ else
28137 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" 29661 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
28138 # Extract the first word of "xauth", so it can be a program name with args. 29662 # Extract the first word of "xauth", so it can be a program name with args.
28139set dummy xauth; ac_word=$2 29663set dummy xauth; ac_word=$2
28140{ echo "$as_me:$LINENO: checking for $ac_word" >&5 29664{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28141echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 29665$as_echo_n "checking for $ac_word... " >&6; }
28142if test "${ac_cv_path_xauth_path+set}" = set; then 29666if test "${ac_cv_path_xauth_path+set}" = set; then
28143 echo $ECHO_N "(cached) $ECHO_C" >&6 29667 $as_echo_n "(cached) " >&6
28144else 29668else
28145 case $xauth_path in 29669 case $xauth_path in
28146 [\\/]* | ?:[\\/]*) 29670 [\\/]* | ?:[\\/]*)
@@ -28155,7 +29679,7 @@ do
28155 for ac_exec_ext in '' $ac_executable_extensions; do 29679 for ac_exec_ext in '' $ac_executable_extensions; do
28156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 29680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28157 ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" 29681 ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
28158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 29682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28159 break 2 29683 break 2
28160 fi 29684 fi
28161done 29685done
@@ -28167,11 +29691,11 @@ esac
28167fi 29691fi
28168xauth_path=$ac_cv_path_xauth_path 29692xauth_path=$ac_cv_path_xauth_path
28169if test -n "$xauth_path"; then 29693if test -n "$xauth_path"; then
28170 { echo "$as_me:$LINENO: result: $xauth_path" >&5 29694 { $as_echo "$as_me:$LINENO: result: $xauth_path" >&5
28171echo "${ECHO_T}$xauth_path" >&6; } 29695$as_echo "$xauth_path" >&6; }
28172else 29696else
28173 { echo "$as_me:$LINENO: result: no" >&5 29697 { $as_echo "$as_me:$LINENO: result: no" >&5
28174echo "${ECHO_T}no" >&6; } 29698$as_echo "no" >&6; }
28175fi 29699fi
28176 29700
28177 29701
@@ -28220,20 +29744,20 @@ _ACEOF
28220fi 29744fi
28221 29745
28222if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then 29746if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then
28223 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptmx test" >&5 29747 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptmx test" >&5
28224echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;} 29748$as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;}
28225 disable_ptmx_check=yes 29749 disable_ptmx_check=yes
28226fi 29750fi
28227if test -z "$no_dev_ptmx" ; then 29751if test -z "$no_dev_ptmx" ; then
28228 if test "x$disable_ptmx_check" != "xyes" ; then 29752 if test "x$disable_ptmx_check" != "xyes" ; then
28229 { echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 29753 { $as_echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
28230echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; } 29754$as_echo_n "checking for \"/dev/ptmx\"... " >&6; }
28231if test "${ac_cv_file___dev_ptmx_+set}" = set; then 29755if test "${ac_cv_file___dev_ptmx_+set}" = set; then
28232 echo $ECHO_N "(cached) $ECHO_C" >&6 29756 $as_echo_n "(cached) " >&6
28233else 29757else
28234 test "$cross_compiling" = yes && 29758 test "$cross_compiling" = yes &&
28235 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 29759 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28236echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 29760$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28237 { (exit 1); exit 1; }; } 29761 { (exit 1); exit 1; }; }
28238if test -r ""/dev/ptmx""; then 29762if test -r ""/dev/ptmx""; then
28239 ac_cv_file___dev_ptmx_=yes 29763 ac_cv_file___dev_ptmx_=yes
@@ -28241,8 +29765,8 @@ else
28241 ac_cv_file___dev_ptmx_=no 29765 ac_cv_file___dev_ptmx_=no
28242fi 29766fi
28243fi 29767fi
28244{ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 29768{ $as_echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
28245echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; } 29769$as_echo "$ac_cv_file___dev_ptmx_" >&6; }
28246if test $ac_cv_file___dev_ptmx_ = yes; then 29770if test $ac_cv_file___dev_ptmx_ = yes; then
28247 29771
28248 29772
@@ -28259,14 +29783,14 @@ fi
28259fi 29783fi
28260 29784
28261if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then 29785if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then
28262 { echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 29786 { $as_echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
28263echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; } 29787$as_echo_n "checking for \"/dev/ptc\"... " >&6; }
28264if test "${ac_cv_file___dev_ptc_+set}" = set; then 29788if test "${ac_cv_file___dev_ptc_+set}" = set; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6 29789 $as_echo_n "(cached) " >&6
28266else 29790else
28267 test "$cross_compiling" = yes && 29791 test "$cross_compiling" = yes &&
28268 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 29792 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28269echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 29793$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28270 { (exit 1); exit 1; }; } 29794 { (exit 1); exit 1; }; }
28271if test -r ""/dev/ptc""; then 29795if test -r ""/dev/ptc""; then
28272 ac_cv_file___dev_ptc_=yes 29796 ac_cv_file___dev_ptc_=yes
@@ -28274,8 +29798,8 @@ else
28274 ac_cv_file___dev_ptc_=no 29798 ac_cv_file___dev_ptc_=no
28275fi 29799fi
28276fi 29800fi
28277{ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 29801{ $as_echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
28278echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; } 29802$as_echo "$ac_cv_file___dev_ptc_" >&6; }
28279if test $ac_cv_file___dev_ptc_ = yes; then 29803if test $ac_cv_file___dev_ptc_ = yes; then
28280 29804
28281 29805
@@ -28289,8 +29813,8 @@ _ACEOF
28289fi 29813fi
28290 29814
28291else 29815else
28292 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptc test" >&5 29816 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptc test" >&5
28293echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} 29817$as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;}
28294fi 29818fi
28295 29819
28296# Options from here on. Some of these are preset by platform above 29820# Options from here on. Some of these are preset by platform above
@@ -28303,8 +29827,8 @@ if test "${with_mantype+set}" = set; then
28303 MANTYPE=$withval 29827 MANTYPE=$withval
28304 ;; 29828 ;;
28305 *) 29829 *)
28306 { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5 29830 { { $as_echo "$as_me:$LINENO: error: invalid man type: $withval" >&5
28307echo "$as_me: error: invalid man type: $withval" >&2;} 29831$as_echo "$as_me: error: invalid man type: $withval" >&2;}
28308 { (exit 1); exit 1; }; } 29832 { (exit 1); exit 1; }; }
28309 ;; 29833 ;;
28310 esac 29834 esac
@@ -28318,10 +29842,10 @@ if test -z "$MANTYPE"; then
28318do 29842do
28319 # Extract the first word of "$ac_prog", so it can be a program name with args. 29843 # Extract the first word of "$ac_prog", so it can be a program name with args.
28320set dummy $ac_prog; ac_word=$2 29844set dummy $ac_prog; ac_word=$2
28321{ echo "$as_me:$LINENO: checking for $ac_word" >&5 29845{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28322echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 29846$as_echo_n "checking for $ac_word... " >&6; }
28323if test "${ac_cv_path_NROFF+set}" = set; then 29847if test "${ac_cv_path_NROFF+set}" = set; then
28324 echo $ECHO_N "(cached) $ECHO_C" >&6 29848 $as_echo_n "(cached) " >&6
28325else 29849else
28326 case $NROFF in 29850 case $NROFF in
28327 [\\/]* | ?:[\\/]*) 29851 [\\/]* | ?:[\\/]*)
@@ -28336,7 +29860,7 @@ do
28336 for ac_exec_ext in '' $ac_executable_extensions; do 29860 for ac_exec_ext in '' $ac_executable_extensions; do
28337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 29861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28338 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" 29862 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
28339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 29863 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28340 break 2 29864 break 2
28341 fi 29865 fi
28342done 29866done
@@ -28348,11 +29872,11 @@ esac
28348fi 29872fi
28349NROFF=$ac_cv_path_NROFF 29873NROFF=$ac_cv_path_NROFF
28350if test -n "$NROFF"; then 29874if test -n "$NROFF"; then
28351 { echo "$as_me:$LINENO: result: $NROFF" >&5 29875 { $as_echo "$as_me:$LINENO: result: $NROFF" >&5
28352echo "${ECHO_T}$NROFF" >&6; } 29876$as_echo "$NROFF" >&6; }
28353else 29877else
28354 { echo "$as_me:$LINENO: result: no" >&5 29878 { $as_echo "$as_me:$LINENO: result: no" >&5
28355echo "${ECHO_T}no" >&6; } 29879$as_echo "no" >&6; }
28356fi 29880fi
28357 29881
28358 29882
@@ -28413,8 +29937,8 @@ fi
28413 29937
28414 29938
28415if test -z "$disable_shadow" ; then 29939if test -z "$disable_shadow" ; then
28416 { echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 29940 { $as_echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5
28417echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6; } 29941$as_echo_n "checking if the systems has expire shadow information... " >&6; }
28418 cat >conftest.$ac_ext <<_ACEOF 29942 cat >conftest.$ac_ext <<_ACEOF
28419/* confdefs.h. */ 29943/* confdefs.h. */
28420_ACEOF 29944_ACEOF
@@ -28440,20 +29964,21 @@ case "(($ac_try" in
28440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28441 *) ac_try_echo=$ac_try;; 29965 *) ac_try_echo=$ac_try;;
28442esac 29966esac
28443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29967eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29968$as_echo "$ac_try_echo") >&5
28444 (eval "$ac_compile") 2>conftest.er1 29969 (eval "$ac_compile") 2>conftest.er1
28445 ac_status=$? 29970 ac_status=$?
28446 grep -v '^ *+' conftest.er1 >conftest.err 29971 grep -v '^ *+' conftest.er1 >conftest.err
28447 rm -f conftest.er1 29972 rm -f conftest.er1
28448 cat conftest.err >&5 29973 cat conftest.err >&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); } && { 29975 (exit $ac_status); } && {
28451 test -z "$ac_c_werror_flag" || 29976 test -z "$ac_c_werror_flag" ||
28452 test ! -s conftest.err 29977 test ! -s conftest.err
28453 } && test -s conftest.$ac_objext; then 29978 } && test -s conftest.$ac_objext; then
28454 sp_expire_available=yes 29979 sp_expire_available=yes
28455else 29980else
28456 echo "$as_me: failed program was:" >&5 29981 $as_echo "$as_me: failed program was:" >&5
28457sed 's/^/| /' conftest.$ac_ext >&5 29982sed 's/^/| /' conftest.$ac_ext >&5
28458 29983
28459 29984
@@ -28463,16 +29988,16 @@ fi
28463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28464 29989
28465 if test "x$sp_expire_available" = "xyes" ; then 29990 if test "x$sp_expire_available" = "xyes" ; then
28466 { echo "$as_me:$LINENO: result: yes" >&5 29991 { $as_echo "$as_me:$LINENO: result: yes" >&5
28467echo "${ECHO_T}yes" >&6; } 29992$as_echo "yes" >&6; }
28468 29993
28469cat >>confdefs.h <<\_ACEOF 29994cat >>confdefs.h <<\_ACEOF
28470#define HAS_SHADOW_EXPIRE 1 29995#define HAS_SHADOW_EXPIRE 1
28471_ACEOF 29996_ACEOF
28472 29997
28473 else 29998 else
28474 { echo "$as_me:$LINENO: result: no" >&5 29999 { $as_echo "$as_me:$LINENO: result: no" >&5
28475echo "${ECHO_T}no" >&6; } 30000$as_echo "no" >&6; }
28476 fi 30001 fi
28477fi 30002fi
28478 30003
@@ -28507,8 +30032,8 @@ fi
28507# Check whether --enable-etc-default-login was given. 30032# Check whether --enable-etc-default-login was given.
28508if test "${enable_etc_default_login+set}" = set; then 30033if test "${enable_etc_default_login+set}" = set; then
28509 enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then 30034 enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then
28510 { echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5 30035 { $as_echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5
28511echo "$as_me: /etc/default/login handling disabled" >&6;} 30036$as_echo "$as_me: /etc/default/login handling disabled" >&6;}
28512 etc_default_login=no 30037 etc_default_login=no
28513 else 30038 else
28514 etc_default_login=yes 30039 etc_default_login=yes
@@ -28516,8 +30041,8 @@ echo "$as_me: /etc/default/login handling disabled" >&6;}
28516else 30041else
28517 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; 30042 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes";
28518 then 30043 then
28519 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5 30044 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5
28520echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;} 30045$as_echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;}
28521 etc_default_login=no 30046 etc_default_login=no
28522 else 30047 else
28523 etc_default_login=yes 30048 etc_default_login=yes
@@ -28527,14 +30052,14 @@ fi
28527 30052
28528 30053
28529if test "x$etc_default_login" != "xno"; then 30054if test "x$etc_default_login" != "xno"; then
28530 { echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 30055 { $as_echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5
28531echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6; } 30056$as_echo_n "checking for \"/etc/default/login\"... " >&6; }
28532if test "${ac_cv_file___etc_default_login_+set}" = set; then 30057if test "${ac_cv_file___etc_default_login_+set}" = set; then
28533 echo $ECHO_N "(cached) $ECHO_C" >&6 30058 $as_echo_n "(cached) " >&6
28534else 30059else
28535 test "$cross_compiling" = yes && 30060 test "$cross_compiling" = yes &&
28536 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 30061 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28537echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 30062$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28538 { (exit 1); exit 1; }; } 30063 { (exit 1); exit 1; }; }
28539if test -r ""/etc/default/login""; then 30064if test -r ""/etc/default/login""; then
28540 ac_cv_file___etc_default_login_=yes 30065 ac_cv_file___etc_default_login_=yes
@@ -28542,8 +30067,8 @@ else
28542 ac_cv_file___etc_default_login_=no 30067 ac_cv_file___etc_default_login_=no
28543fi 30068fi
28544fi 30069fi
28545{ echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5 30070{ $as_echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5
28546echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6; } 30071$as_echo "$ac_cv_file___etc_default_login_" >&6; }
28547if test $ac_cv_file___etc_default_login_ = yes; then 30072if test $ac_cv_file___etc_default_login_ = yes; then
28548 external_path_file=/etc/default/login 30073 external_path_file=/etc/default/login
28549fi 30074fi
@@ -28569,18 +30094,18 @@ SERVER_PATH_MSG="(default)"
28569if test "${with_default_path+set}" = set; then 30094if test "${with_default_path+set}" = set; then
28570 withval=$with_default_path; 30095 withval=$with_default_path;
28571 if test "x$external_path_file" = "x/etc/login.conf" ; then 30096 if test "x$external_path_file" = "x/etc/login.conf" ; then
28572 { echo "$as_me:$LINENO: WARNING: 30097 { $as_echo "$as_me:$LINENO: WARNING:
28573--with-default-path=PATH has no effect on this system. 30098--with-default-path=PATH has no effect on this system.
28574Edit /etc/login.conf instead." >&5 30099Edit /etc/login.conf instead." >&5
28575echo "$as_me: WARNING: 30100$as_echo "$as_me: WARNING:
28576--with-default-path=PATH has no effect on this system. 30101--with-default-path=PATH has no effect on this system.
28577Edit /etc/login.conf instead." >&2;} 30102Edit /etc/login.conf instead." >&2;}
28578 elif test "x$withval" != "xno" ; then 30103 elif test "x$withval" != "xno" ; then
28579 if test ! -z "$external_path_file" ; then 30104 if test ! -z "$external_path_file" ; then
28580 { echo "$as_me:$LINENO: WARNING: 30105 { $as_echo "$as_me:$LINENO: WARNING:
28581--with-default-path=PATH will only be used if PATH is not defined in 30106--with-default-path=PATH will only be used if PATH is not defined in
28582$external_path_file ." >&5 30107$external_path_file ." >&5
28583echo "$as_me: WARNING: 30108$as_echo "$as_me: WARNING:
28584--with-default-path=PATH will only be used if PATH is not defined in 30109--with-default-path=PATH will only be used if PATH is not defined in
28585$external_path_file ." >&2;} 30110$external_path_file ." >&2;}
28586 fi 30111 fi
@@ -28590,14 +30115,14 @@ $external_path_file ." >&2;}
28590 30115
28591else 30116else
28592 if test "x$external_path_file" = "x/etc/login.conf" ; then 30117 if test "x$external_path_file" = "x/etc/login.conf" ; then
28593 { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 30118 { $as_echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
28594echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} 30119$as_echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
28595 else 30120 else
28596 if test ! -z "$external_path_file" ; then 30121 if test ! -z "$external_path_file" ; then
28597 { echo "$as_me:$LINENO: WARNING: 30122 { $as_echo "$as_me:$LINENO: WARNING:
28598If PATH is defined in $external_path_file, ensure the path to scp is included, 30123If PATH is defined in $external_path_file, ensure the path to scp is included,
28599otherwise scp will not work." >&5 30124otherwise scp will not work." >&5
28600echo "$as_me: WARNING: 30125$as_echo "$as_me: WARNING:
28601If PATH is defined in $external_path_file, ensure the path to scp is included, 30126If PATH is defined in $external_path_file, ensure the path to scp is included,
28602otherwise scp will not work." >&2;} 30127otherwise scp will not work." >&2;}
28603 fi 30128 fi
@@ -28651,29 +30176,32 @@ case "(($ac_try" in
28651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28652 *) ac_try_echo=$ac_try;; 30177 *) ac_try_echo=$ac_try;;
28653esac 30178esac
28654eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30179eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30180$as_echo "$ac_try_echo") >&5
28655 (eval "$ac_link") 2>&5 30181 (eval "$ac_link") 2>&5
28656 ac_status=$? 30182 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 30184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28659 { (case "(($ac_try" in 30185 { (case "(($ac_try" in
28660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28661 *) ac_try_echo=$ac_try;; 30187 *) ac_try_echo=$ac_try;;
28662esac 30188esac
28663eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30189eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30190$as_echo "$ac_try_echo") >&5
28664 (eval "$ac_try") 2>&5 30191 (eval "$ac_try") 2>&5
28665 ac_status=$? 30192 ac_status=$?
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); }; }; then 30194 (exit $ac_status); }; }; then
28668 user_path=`cat conftest.stdpath` 30195 user_path=`cat conftest.stdpath`
28669else 30196else
28670 echo "$as_me: program exited with status $ac_status" >&5 30197 $as_echo "$as_me: program exited with status $ac_status" >&5
28671echo "$as_me: failed program was:" >&5 30198$as_echo "$as_me: failed program was:" >&5
28672sed 's/^/| /' conftest.$ac_ext >&5 30199sed 's/^/| /' conftest.$ac_ext >&5
28673 30200
28674( exit $ac_status ) 30201( exit $ac_status )
28675 user_path="/usr/bin:/bin:/usr/sbin:/sbin" 30202 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
28676fi 30203fi
30204rm -rf conftest.dSYM
28677rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 30205rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28678fi 30206fi
28679 30207
@@ -28691,8 +30219,8 @@ fi
28691 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 30219 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1
28692 if test $? -ne 0 ; then 30220 if test $? -ne 0 ; then
28693 user_path=$user_path:$t_bindir 30221 user_path=$user_path:$t_bindir
28694 { echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 30222 { $as_echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5
28695echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6; } 30223$as_echo "Adding $t_bindir to USER_PATH so scp will work" >&6; }
28696 fi 30224 fi
28697 fi 30225 fi
28698 fi 30226 fi
@@ -28728,16 +30256,16 @@ fi
28728 30256
28729 30257
28730 30258
28731{ echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 30259{ $as_echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
28732echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6; } 30260$as_echo_n "checking if we need to convert IPv4 in IPv6-mapped addresses... " >&6; }
28733IPV4_IN6_HACK_MSG="no" 30261IPV4_IN6_HACK_MSG="no"
28734 30262
28735# Check whether --with-4in6 was given. 30263# Check whether --with-4in6 was given.
28736if test "${with_4in6+set}" = set; then 30264if test "${with_4in6+set}" = set; then
28737 withval=$with_4in6; 30265 withval=$with_4in6;
28738 if test "x$withval" != "xno" ; then 30266 if test "x$withval" != "xno" ; then
28739 { echo "$as_me:$LINENO: result: yes" >&5 30267 { $as_echo "$as_me:$LINENO: result: yes" >&5
28740echo "${ECHO_T}yes" >&6; } 30268$as_echo "yes" >&6; }
28741 30269
28742cat >>confdefs.h <<\_ACEOF 30270cat >>confdefs.h <<\_ACEOF
28743#define IPV4_IN_IPV6 1 30271#define IPV4_IN_IPV6 1
@@ -28745,23 +30273,23 @@ _ACEOF
28745 30273
28746 IPV4_IN6_HACK_MSG="yes" 30274 IPV4_IN6_HACK_MSG="yes"
28747 else 30275 else
28748 { echo "$as_me:$LINENO: result: no" >&5 30276 { $as_echo "$as_me:$LINENO: result: no" >&5
28749echo "${ECHO_T}no" >&6; } 30277$as_echo "no" >&6; }
28750 fi 30278 fi
28751 30279
28752else 30280else
28753 30281
28754 if test "x$inet6_default_4in6" = "xyes"; then 30282 if test "x$inet6_default_4in6" = "xyes"; then
28755 { echo "$as_me:$LINENO: result: yes (default)" >&5 30283 { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
28756echo "${ECHO_T}yes (default)" >&6; } 30284$as_echo "yes (default)" >&6; }
28757 cat >>confdefs.h <<\_ACEOF 30285 cat >>confdefs.h <<\_ACEOF
28758#define IPV4_IN_IPV6 1 30286#define IPV4_IN_IPV6 1
28759_ACEOF 30287_ACEOF
28760 30288
28761 IPV4_IN6_HACK_MSG="yes" 30289 IPV4_IN6_HACK_MSG="yes"
28762 else 30290 else
28763 { echo "$as_me:$LINENO: result: no (default)" >&5 30291 { $as_echo "$as_me:$LINENO: result: no (default)" >&5
28764echo "${ECHO_T}no (default)" >&6; } 30292$as_echo "no (default)" >&6; }
28765 fi 30293 fi
28766 30294
28767 30295
@@ -28805,8 +30333,8 @@ if test "${with_pid_dir+set}" = set; then
28805 test "x${withval}" != "xyes"; then 30333 test "x${withval}" != "xyes"; then
28806 piddir=$withval 30334 piddir=$withval
28807 if test ! -d $piddir ; then 30335 if test ! -d $piddir ; then
28808 { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 30336 { $as_echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5
28809echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} 30337$as_echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
28810 fi 30338 fi
28811 fi 30339 fi
28812 30340
@@ -28947,8 +30475,8 @@ fi
28947 30475
28948 30476
28949 30477
28950{ echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5 30478{ $as_echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
28951echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; } 30479$as_echo_n "checking if your system defines LASTLOG_FILE... " >&6; }
28952cat >conftest.$ac_ext <<_ACEOF 30480cat >conftest.$ac_ext <<_ACEOF
28953/* confdefs.h. */ 30481/* confdefs.h. */
28954_ACEOF 30482_ACEOF
@@ -28982,28 +30510,29 @@ case "(($ac_try" in
28982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28983 *) ac_try_echo=$ac_try;; 30511 *) ac_try_echo=$ac_try;;
28984esac 30512esac
28985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30513eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30514$as_echo "$ac_try_echo") >&5
28986 (eval "$ac_compile") 2>conftest.er1 30515 (eval "$ac_compile") 2>conftest.er1
28987 ac_status=$? 30516 ac_status=$?
28988 grep -v '^ *+' conftest.er1 >conftest.err 30517 grep -v '^ *+' conftest.er1 >conftest.err
28989 rm -f conftest.er1 30518 rm -f conftest.er1
28990 cat conftest.err >&5 30519 cat conftest.err >&5
28991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 (exit $ac_status); } && { 30521 (exit $ac_status); } && {
28993 test -z "$ac_c_werror_flag" || 30522 test -z "$ac_c_werror_flag" ||
28994 test ! -s conftest.err 30523 test ! -s conftest.err
28995 } && test -s conftest.$ac_objext; then 30524 } && test -s conftest.$ac_objext; then
28996 { echo "$as_me:$LINENO: result: yes" >&5 30525 { $as_echo "$as_me:$LINENO: result: yes" >&5
28997echo "${ECHO_T}yes" >&6; } 30526$as_echo "yes" >&6; }
28998else 30527else
28999 echo "$as_me: failed program was:" >&5 30528 $as_echo "$as_me: failed program was:" >&5
29000sed 's/^/| /' conftest.$ac_ext >&5 30529sed 's/^/| /' conftest.$ac_ext >&5
29001 30530
29002 30531
29003 { echo "$as_me:$LINENO: result: no" >&5 30532 { $as_echo "$as_me:$LINENO: result: no" >&5
29004echo "${ECHO_T}no" >&6; } 30533$as_echo "no" >&6; }
29005 { echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 30534 { $as_echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
29006echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6; } 30535$as_echo_n "checking if your system defines _PATH_LASTLOG... " >&6; }
29007 cat >conftest.$ac_ext <<_ACEOF 30536 cat >conftest.$ac_ext <<_ACEOF
29008/* confdefs.h. */ 30537/* confdefs.h. */
29009_ACEOF 30538_ACEOF
@@ -29034,26 +30563,27 @@ case "(($ac_try" in
29034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29035 *) ac_try_echo=$ac_try;; 30564 *) ac_try_echo=$ac_try;;
29036esac 30565esac
29037eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30566eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30567$as_echo "$ac_try_echo") >&5
29038 (eval "$ac_compile") 2>conftest.er1 30568 (eval "$ac_compile") 2>conftest.er1
29039 ac_status=$? 30569 ac_status=$?
29040 grep -v '^ *+' conftest.er1 >conftest.err 30570 grep -v '^ *+' conftest.er1 >conftest.err
29041 rm -f conftest.er1 30571 rm -f conftest.er1
29042 cat conftest.err >&5 30572 cat conftest.err >&5
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); } && { 30574 (exit $ac_status); } && {
29045 test -z "$ac_c_werror_flag" || 30575 test -z "$ac_c_werror_flag" ||
29046 test ! -s conftest.err 30576 test ! -s conftest.err
29047 } && test -s conftest.$ac_objext; then 30577 } && test -s conftest.$ac_objext; then
29048 { echo "$as_me:$LINENO: result: yes" >&5 30578 { $as_echo "$as_me:$LINENO: result: yes" >&5
29049echo "${ECHO_T}yes" >&6; } 30579$as_echo "yes" >&6; }
29050else 30580else
29051 echo "$as_me: failed program was:" >&5 30581 $as_echo "$as_me: failed program was:" >&5
29052sed 's/^/| /' conftest.$ac_ext >&5 30582sed 's/^/| /' conftest.$ac_ext >&5
29053 30583
29054 30584
29055 { echo "$as_me:$LINENO: result: no" >&5 30585 { $as_echo "$as_me:$LINENO: result: no" >&5
29056echo "${ECHO_T}no" >&6; } 30586$as_echo "no" >&6; }
29057 system_lastlog_path=no 30587 system_lastlog_path=no
29058 30588
29059fi 30589fi
@@ -29073,8 +30603,8 @@ if test -z "$conf_lastlog_location"; then
29073 fi 30603 fi
29074 done 30604 done
29075 if test -z "$conf_lastlog_location"; then 30605 if test -z "$conf_lastlog_location"; then
29076 { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5 30606 { $as_echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
29077echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} 30607$as_echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
29078 fi 30608 fi
29079 fi 30609 fi
29080fi 30610fi
@@ -29087,8 +30617,8 @@ _ACEOF
29087 30617
29088fi 30618fi
29089 30619
29090{ echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 30620{ $as_echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
29091echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; } 30621$as_echo_n "checking if your system defines UTMP_FILE... " >&6; }
29092cat >conftest.$ac_ext <<_ACEOF 30622cat >conftest.$ac_ext <<_ACEOF
29093/* confdefs.h. */ 30623/* confdefs.h. */
29094_ACEOF 30624_ACEOF
@@ -29116,25 +30646,26 @@ case "(($ac_try" in
29116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29117 *) ac_try_echo=$ac_try;; 30647 *) ac_try_echo=$ac_try;;
29118esac 30648esac
29119eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30649eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30650$as_echo "$ac_try_echo") >&5
29120 (eval "$ac_compile") 2>conftest.er1 30651 (eval "$ac_compile") 2>conftest.er1
29121 ac_status=$? 30652 ac_status=$?
29122 grep -v '^ *+' conftest.er1 >conftest.err 30653 grep -v '^ *+' conftest.er1 >conftest.err
29123 rm -f conftest.er1 30654 rm -f conftest.er1
29124 cat conftest.err >&5 30655 cat conftest.err >&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); } && { 30657 (exit $ac_status); } && {
29127 test -z "$ac_c_werror_flag" || 30658 test -z "$ac_c_werror_flag" ||
29128 test ! -s conftest.err 30659 test ! -s conftest.err
29129 } && test -s conftest.$ac_objext; then 30660 } && test -s conftest.$ac_objext; then
29130 { echo "$as_me:$LINENO: result: yes" >&5 30661 { $as_echo "$as_me:$LINENO: result: yes" >&5
29131echo "${ECHO_T}yes" >&6; } 30662$as_echo "yes" >&6; }
29132else 30663else
29133 echo "$as_me: failed program was:" >&5 30664 $as_echo "$as_me: failed program was:" >&5
29134sed 's/^/| /' conftest.$ac_ext >&5 30665sed 's/^/| /' conftest.$ac_ext >&5
29135 30666
29136 { echo "$as_me:$LINENO: result: no" >&5 30667 { $as_echo "$as_me:$LINENO: result: no" >&5
29137echo "${ECHO_T}no" >&6; } 30668$as_echo "no" >&6; }
29138 system_utmp_path=no 30669 system_utmp_path=no
29139 30670
29140fi 30671fi
@@ -29163,8 +30694,8 @@ _ACEOF
29163 30694
29164fi 30695fi
29165 30696
29166{ echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 30697{ $as_echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
29167echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; } 30698$as_echo_n "checking if your system defines WTMP_FILE... " >&6; }
29168cat >conftest.$ac_ext <<_ACEOF 30699cat >conftest.$ac_ext <<_ACEOF
29169/* confdefs.h. */ 30700/* confdefs.h. */
29170_ACEOF 30701_ACEOF
@@ -29192,25 +30723,26 @@ case "(($ac_try" in
29192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;; 30724 *) ac_try_echo=$ac_try;;
29194esac 30725esac
29195eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30726eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30727$as_echo "$ac_try_echo") >&5
29196 (eval "$ac_compile") 2>conftest.er1 30728 (eval "$ac_compile") 2>conftest.er1
29197 ac_status=$? 30729 ac_status=$?
29198 grep -v '^ *+' conftest.er1 >conftest.err 30730 grep -v '^ *+' conftest.er1 >conftest.err
29199 rm -f conftest.er1 30731 rm -f conftest.er1
29200 cat conftest.err >&5 30732 cat conftest.err >&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } && { 30734 (exit $ac_status); } && {
29203 test -z "$ac_c_werror_flag" || 30735 test -z "$ac_c_werror_flag" ||
29204 test ! -s conftest.err 30736 test ! -s conftest.err
29205 } && test -s conftest.$ac_objext; then 30737 } && test -s conftest.$ac_objext; then
29206 { echo "$as_me:$LINENO: result: yes" >&5 30738 { $as_echo "$as_me:$LINENO: result: yes" >&5
29207echo "${ECHO_T}yes" >&6; } 30739$as_echo "yes" >&6; }
29208else 30740else
29209 echo "$as_me: failed program was:" >&5 30741 $as_echo "$as_me: failed program was:" >&5
29210sed 's/^/| /' conftest.$ac_ext >&5 30742sed 's/^/| /' conftest.$ac_ext >&5
29211 30743
29212 { echo "$as_me:$LINENO: result: no" >&5 30744 { $as_echo "$as_me:$LINENO: result: no" >&5
29213echo "${ECHO_T}no" >&6; } 30745$as_echo "no" >&6; }
29214 system_wtmp_path=no 30746 system_wtmp_path=no
29215 30747
29216fi 30748fi
@@ -29240,8 +30772,8 @@ _ACEOF
29240fi 30772fi
29241 30773
29242 30774
29243{ echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5 30775{ $as_echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
29244echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6; } 30776$as_echo_n "checking if your system defines UTMPX_FILE... " >&6; }
29245cat >conftest.$ac_ext <<_ACEOF 30777cat >conftest.$ac_ext <<_ACEOF
29246/* confdefs.h. */ 30778/* confdefs.h. */
29247_ACEOF 30779_ACEOF
@@ -29272,25 +30804,26 @@ case "(($ac_try" in
29272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29273 *) ac_try_echo=$ac_try;; 30805 *) ac_try_echo=$ac_try;;
29274esac 30806esac
29275eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30807eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30808$as_echo "$ac_try_echo") >&5
29276 (eval "$ac_compile") 2>conftest.er1 30809 (eval "$ac_compile") 2>conftest.er1
29277 ac_status=$? 30810 ac_status=$?
29278 grep -v '^ *+' conftest.er1 >conftest.err 30811 grep -v '^ *+' conftest.er1 >conftest.err
29279 rm -f conftest.er1 30812 rm -f conftest.er1
29280 cat conftest.err >&5 30813 cat conftest.err >&5
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); } && { 30815 (exit $ac_status); } && {
29283 test -z "$ac_c_werror_flag" || 30816 test -z "$ac_c_werror_flag" ||
29284 test ! -s conftest.err 30817 test ! -s conftest.err
29285 } && test -s conftest.$ac_objext; then 30818 } && test -s conftest.$ac_objext; then
29286 { echo "$as_me:$LINENO: result: yes" >&5 30819 { $as_echo "$as_me:$LINENO: result: yes" >&5
29287echo "${ECHO_T}yes" >&6; } 30820$as_echo "yes" >&6; }
29288else 30821else
29289 echo "$as_me: failed program was:" >&5 30822 $as_echo "$as_me: failed program was:" >&5
29290sed 's/^/| /' conftest.$ac_ext >&5 30823sed 's/^/| /' conftest.$ac_ext >&5
29291 30824
29292 { echo "$as_me:$LINENO: result: no" >&5 30825 { $as_echo "$as_me:$LINENO: result: no" >&5
29293echo "${ECHO_T}no" >&6; } 30826$as_echo "no" >&6; }
29294 system_utmpx_path=no 30827 system_utmpx_path=no
29295 30828
29296fi 30829fi
@@ -29311,8 +30844,8 @@ _ACEOF
29311 30844
29312fi 30845fi
29313 30846
29314{ echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 30847{ $as_echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
29315echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; } 30848$as_echo_n "checking if your system defines WTMPX_FILE... " >&6; }
29316cat >conftest.$ac_ext <<_ACEOF 30849cat >conftest.$ac_ext <<_ACEOF
29317/* confdefs.h. */ 30850/* confdefs.h. */
29318_ACEOF 30851_ACEOF
@@ -29343,25 +30876,26 @@ case "(($ac_try" in
29343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29344 *) ac_try_echo=$ac_try;; 30877 *) ac_try_echo=$ac_try;;
29345esac 30878esac
29346eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30879eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30880$as_echo "$ac_try_echo") >&5
29347 (eval "$ac_compile") 2>conftest.er1 30881 (eval "$ac_compile") 2>conftest.er1
29348 ac_status=$? 30882 ac_status=$?
29349 grep -v '^ *+' conftest.er1 >conftest.err 30883 grep -v '^ *+' conftest.er1 >conftest.err
29350 rm -f conftest.er1 30884 rm -f conftest.er1
29351 cat conftest.err >&5 30885 cat conftest.err >&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); } && { 30887 (exit $ac_status); } && {
29354 test -z "$ac_c_werror_flag" || 30888 test -z "$ac_c_werror_flag" ||
29355 test ! -s conftest.err 30889 test ! -s conftest.err
29356 } && test -s conftest.$ac_objext; then 30890 } && test -s conftest.$ac_objext; then
29357 { echo "$as_me:$LINENO: result: yes" >&5 30891 { $as_echo "$as_me:$LINENO: result: yes" >&5
29358echo "${ECHO_T}yes" >&6; } 30892$as_echo "yes" >&6; }
29359else 30893else
29360 echo "$as_me: failed program was:" >&5 30894 $as_echo "$as_me: failed program was:" >&5
29361sed 's/^/| /' conftest.$ac_ext >&5 30895sed 's/^/| /' conftest.$ac_ext >&5
29362 30896
29363 { echo "$as_me:$LINENO: result: no" >&5 30897 { $as_echo "$as_me:$LINENO: result: no" >&5
29364echo "${ECHO_T}no" >&6; } 30898$as_echo "no" >&6; }
29365 system_wtmpx_path=no 30899 system_wtmpx_path=no
29366 30900
29367fi 30901fi
@@ -29385,8 +30919,8 @@ fi
29385 30919
29386if test ! -z "$blibpath" ; then 30920if test ! -z "$blibpath" ; then
29387 LDFLAGS="$LDFLAGS $blibflags$blibpath" 30921 LDFLAGS="$LDFLAGS $blibflags$blibpath"
29388 { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 30922 { $as_echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
29389echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} 30923$as_echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;}
29390fi 30924fi
29391 30925
29392CFLAGS="$CFLAGS $werror_flags" 30926CFLAGS="$CFLAGS $werror_flags"
@@ -29430,11 +30964,12 @@ _ACEOF
29430 case $ac_val in #( 30964 case $ac_val in #(
29431 *${as_nl}*) 30965 *${as_nl}*)
29432 case $ac_var in #( 30966 case $ac_var in #(
29433 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 30967 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
29434echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 30968$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29435 esac 30969 esac
29436 case $ac_var in #( 30970 case $ac_var in #(
29437 _ | IFS | as_nl) ;; #( 30971 _ | IFS | as_nl) ;; #(
30972 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29438 *) $as_unset $ac_var ;; 30973 *) $as_unset $ac_var ;;
29439 esac ;; 30974 esac ;;
29440 esac 30975 esac
@@ -29467,12 +31002,12 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29467if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 31002if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29468 if test -w "$cache_file"; then 31003 if test -w "$cache_file"; then
29469 test "x$cache_file" != "x/dev/null" && 31004 test "x$cache_file" != "x/dev/null" &&
29470 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 31005 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
29471echo "$as_me: updating cache $cache_file" >&6;} 31006$as_echo "$as_me: updating cache $cache_file" >&6;}
29472 cat confcache >$cache_file 31007 cat confcache >$cache_file
29473 else 31008 else
29474 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 31009 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29475echo "$as_me: not updating unwritable cache $cache_file" >&6;} 31010$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29476 fi 31011 fi
29477fi 31012fi
29478rm -f confcache 31013rm -f confcache
@@ -29488,7 +31023,7 @@ ac_ltlibobjs=
29488for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 31023for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29489 # 1. Remove the extension, and $U if already installed. 31024 # 1. Remove the extension, and $U if already installed.
29490 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 31025 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29491 ac_i=`echo "$ac_i" | sed "$ac_script"` 31026 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29492 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 31027 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29493 # will be set to the directory where LIBOBJS objects are built. 31028 # will be set to the directory where LIBOBJS objects are built.
29494 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 31029 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
@@ -29500,12 +31035,14 @@ LTLIBOBJS=$ac_ltlibobjs
29500 31035
29501 31036
29502 31037
31038
29503: ${CONFIG_STATUS=./config.status} 31039: ${CONFIG_STATUS=./config.status}
31040ac_write_fail=0
29504ac_clean_files_save=$ac_clean_files 31041ac_clean_files_save=$ac_clean_files
29505ac_clean_files="$ac_clean_files $CONFIG_STATUS" 31042ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29506{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 31043{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29507echo "$as_me: creating $CONFIG_STATUS" >&6;} 31044$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29508cat >$CONFIG_STATUS <<_ACEOF 31045cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29509#! $SHELL 31046#! $SHELL
29510# Generated by $as_me. 31047# Generated by $as_me.
29511# Run this file to recreate the current configuration. 31048# Run this file to recreate the current configuration.
@@ -29518,7 +31055,7 @@ ac_cs_silent=false
29518SHELL=\${CONFIG_SHELL-$SHELL} 31055SHELL=\${CONFIG_SHELL-$SHELL}
29519_ACEOF 31056_ACEOF
29520 31057
29521cat >>$CONFIG_STATUS <<\_ACEOF 31058cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29522## --------------------- ## 31059## --------------------- ##
29523## M4sh Initialization. ## 31060## M4sh Initialization. ##
29524## --------------------- ## 31061## --------------------- ##
@@ -29528,7 +31065,7 @@ DUALCASE=1; export DUALCASE # for MKS sh
29528if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 31065if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29529 emulate sh 31066 emulate sh
29530 NULLCMD=: 31067 NULLCMD=:
29531 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 31068 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29532 # is contrary to our usage. Disable this feature. 31069 # is contrary to our usage. Disable this feature.
29533 alias -g '${1+"$@"}'='"$@"' 31070 alias -g '${1+"$@"}'='"$@"'
29534 setopt NO_GLOB_SUBST 31071 setopt NO_GLOB_SUBST
@@ -29550,17 +31087,45 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29550as_cr_digits='0123456789' 31087as_cr_digits='0123456789'
29551as_cr_alnum=$as_cr_Letters$as_cr_digits 31088as_cr_alnum=$as_cr_Letters$as_cr_digits
29552 31089
29553# The user is always right. 31090as_nl='
29554if test "${PATH_SEPARATOR+set}" != set; then 31091'
29555 echo "#! /bin/sh" >conf$$.sh 31092export as_nl
29556 echo "exit 0" >>conf$$.sh 31093# Printing a long string crashes Solaris 7 /usr/bin/printf.
29557 chmod +x conf$$.sh 31094as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29558 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 31095as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29559 PATH_SEPARATOR=';' 31096as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31097if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31098 as_echo='printf %s\n'
31099 as_echo_n='printf %s'
31100else
31101 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31102 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31103 as_echo_n='/usr/ucb/echo -n'
29560 else 31104 else
29561 PATH_SEPARATOR=: 31105 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31106 as_echo_n_body='eval
31107 arg=$1;
31108 case $arg in
31109 *"$as_nl"*)
31110 expr "X$arg" : "X\\(.*\\)$as_nl";
31111 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31112 esac;
31113 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31114 '
31115 export as_echo_n_body
31116 as_echo_n='sh -c $as_echo_n_body as_echo'
29562 fi 31117 fi
29563 rm -f conf$$.sh 31118 export as_echo_body
31119 as_echo='sh -c $as_echo_body as_echo'
31120fi
31121
31122# The user is always right.
31123if test "${PATH_SEPARATOR+set}" != set; then
31124 PATH_SEPARATOR=:
31125 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31126 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31127 PATH_SEPARATOR=';'
31128 }
29564fi 31129fi
29565 31130
29566# Support unset when possible. 31131# Support unset when possible.
@@ -29576,8 +31141,6 @@ fi
29576# there to prevent editors from complaining about space-tab. 31141# there to prevent editors from complaining about space-tab.
29577# (If _AS_PATH_WALK were called with IFS unset, it would disable word 31142# (If _AS_PATH_WALK were called with IFS unset, it would disable word
29578# splitting by setting IFS to empty value.) 31143# splitting by setting IFS to empty value.)
29579as_nl='
29580'
29581IFS=" "" $as_nl" 31144IFS=" "" $as_nl"
29582 31145
29583# Find who we are. Look in the path if we contain no directory separator. 31146# Find who we are. Look in the path if we contain no directory separator.
@@ -29600,7 +31163,7 @@ if test "x$as_myself" = x; then
29600 as_myself=$0 31163 as_myself=$0
29601fi 31164fi
29602if test ! -f "$as_myself"; then 31165if test ! -f "$as_myself"; then
29603 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 31166 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29604 { (exit 1); exit 1; } 31167 { (exit 1); exit 1; }
29605fi 31168fi
29606 31169
@@ -29613,17 +31176,10 @@ PS2='> '
29613PS4='+ ' 31176PS4='+ '
29614 31177
29615# NLS nuisances. 31178# NLS nuisances.
29616for as_var in \ 31179LC_ALL=C
29617 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 31180export LC_ALL
29618 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 31181LANGUAGE=C
29619 LC_TELEPHONE LC_TIME 31182export LANGUAGE
29620do
29621 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29622 eval $as_var=C; export $as_var
29623 else
29624 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29625 fi
29626done
29627 31183
29628# Required to use basename. 31184# Required to use basename.
29629if expr a : '\(a\)' >/dev/null 2>&1 && 31185if expr a : '\(a\)' >/dev/null 2>&1 &&
@@ -29645,7 +31201,7 @@ as_me=`$as_basename -- "$0" ||
29645$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 31201$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29646 X"$0" : 'X\(//\)$' \| \ 31202 X"$0" : 'X\(//\)$' \| \
29647 X"$0" : 'X\(/\)' \| . 2>/dev/null || 31203 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29648echo X/"$0" | 31204$as_echo X/"$0" |
29649 sed '/^.*\/\([^/][^/]*\)\/*$/{ 31205 sed '/^.*\/\([^/][^/]*\)\/*$/{
29650 s//\1/ 31206 s//\1/
29651 q 31207 q
@@ -29696,7 +31252,7 @@ $as_unset CDPATH
29696 s/-\n.*// 31252 s/-\n.*//
29697 ' >$as_me.lineno && 31253 ' >$as_me.lineno &&
29698 chmod +x "$as_me.lineno" || 31254 chmod +x "$as_me.lineno" ||
29699 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 31255 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29700 { (exit 1); exit 1; }; } 31256 { (exit 1); exit 1; }; }
29701 31257
29702 # Don't try to exec as it changes $[0], causing all sort of problems 31258 # Don't try to exec as it changes $[0], causing all sort of problems
@@ -29724,7 +31280,6 @@ case `echo -n x` in
29724*) 31280*)
29725 ECHO_N='-n';; 31281 ECHO_N='-n';;
29726esac 31282esac
29727
29728if expr a : '\(a\)' >/dev/null 2>&1 && 31283if expr a : '\(a\)' >/dev/null 2>&1 &&
29729 test "X`expr 00001 : '.*\(...\)'`" = X001; then 31284 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29730 as_expr=expr 31285 as_expr=expr
@@ -29737,19 +31292,22 @@ if test -d conf$$.dir; then
29737 rm -f conf$$.dir/conf$$.file 31292 rm -f conf$$.dir/conf$$.file
29738else 31293else
29739 rm -f conf$$.dir 31294 rm -f conf$$.dir
29740 mkdir conf$$.dir 31295 mkdir conf$$.dir 2>/dev/null
29741fi 31296fi
29742echo >conf$$.file 31297if (echo >conf$$.file) 2>/dev/null; then
29743if ln -s conf$$.file conf$$ 2>/dev/null; then 31298 if ln -s conf$$.file conf$$ 2>/dev/null; then
29744 as_ln_s='ln -s' 31299 as_ln_s='ln -s'
29745 # ... but there are two gotchas: 31300 # ... but there are two gotchas:
29746 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 31301 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29747 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 31302 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29748 # In both cases, we have to default to `cp -p'. 31303 # In both cases, we have to default to `cp -p'.
29749 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 31304 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31305 as_ln_s='cp -p'
31306 elif ln conf$$.file conf$$ 2>/dev/null; then
31307 as_ln_s=ln
31308 else
29750 as_ln_s='cp -p' 31309 as_ln_s='cp -p'
29751elif ln conf$$.file conf$$ 2>/dev/null; then 31310 fi
29752 as_ln_s=ln
29753else 31311else
29754 as_ln_s='cp -p' 31312 as_ln_s='cp -p'
29755fi 31313fi
@@ -29774,10 +31332,10 @@ else
29774 as_test_x=' 31332 as_test_x='
29775 eval sh -c '\'' 31333 eval sh -c '\''
29776 if test -d "$1"; then 31334 if test -d "$1"; then
29777 test -d "$1/."; 31335 test -d "$1/.";
29778 else 31336 else
29779 case $1 in 31337 case $1 in
29780 -*)set "./$1";; 31338 -*)set "./$1";;
29781 esac; 31339 esac;
29782 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 31340 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29783 ???[sx]*):;;*)false;;esac;fi 31341 ???[sx]*):;;*)false;;esac;fi
@@ -29800,7 +31358,7 @@ exec 6>&1
29800# values after options handling. 31358# values after options handling.
29801ac_log=" 31359ac_log="
29802This file was extended by OpenSSH $as_me Portable, which was 31360This file was extended by OpenSSH $as_me Portable, which was
29803generated by GNU Autoconf 2.61. Invocation command line was 31361generated by GNU Autoconf 2.62. Invocation command line was
29804 31362
29805 CONFIG_FILES = $CONFIG_FILES 31363 CONFIG_FILES = $CONFIG_FILES
29806 CONFIG_HEADERS = $CONFIG_HEADERS 31364 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -29813,14 +31371,14 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
29813 31371
29814_ACEOF 31372_ACEOF
29815 31373
29816cat >>$CONFIG_STATUS <<_ACEOF 31374cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29817# Files that config.status was made for. 31375# Files that config.status was made for.
29818config_files="$ac_config_files" 31376config_files="$ac_config_files"
29819config_headers="$ac_config_headers" 31377config_headers="$ac_config_headers"
29820 31378
29821_ACEOF 31379_ACEOF
29822 31380
29823cat >>$CONFIG_STATUS <<\_ACEOF 31381cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29824ac_cs_usage="\ 31382ac_cs_usage="\
29825\`$as_me' instantiates files from templates according to the 31383\`$as_me' instantiates files from templates according to the
29826current configuration. 31384current configuration.
@@ -29833,9 +31391,9 @@ Usage: $0 [OPTIONS] [FILE]...
29833 -d, --debug don't remove temporary files 31391 -d, --debug don't remove temporary files
29834 --recheck update $as_me by reconfiguring in the same conditions 31392 --recheck update $as_me by reconfiguring in the same conditions
29835 --file=FILE[:TEMPLATE] 31393 --file=FILE[:TEMPLATE]
29836 instantiate the configuration file FILE 31394 instantiate the configuration file FILE
29837 --header=FILE[:TEMPLATE] 31395 --header=FILE[:TEMPLATE]
29838 instantiate the configuration header FILE 31396 instantiate the configuration header FILE
29839 31397
29840Configuration files: 31398Configuration files:
29841$config_files 31399$config_files
@@ -29846,24 +31404,25 @@ $config_headers
29846Report bugs to <bug-autoconf@gnu.org>." 31404Report bugs to <bug-autoconf@gnu.org>."
29847 31405
29848_ACEOF 31406_ACEOF
29849cat >>$CONFIG_STATUS <<_ACEOF 31407cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29850ac_cs_version="\\ 31408ac_cs_version="\\
29851OpenSSH config.status Portable 31409OpenSSH config.status Portable
29852configured by $0, generated by GNU Autoconf 2.61, 31410configured by $0, generated by GNU Autoconf 2.62,
29853 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 31411 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29854 31412
29855Copyright (C) 2006 Free Software Foundation, Inc. 31413Copyright (C) 2008 Free Software Foundation, Inc.
29856This config.status script is free software; the Free Software Foundation 31414This config.status script is free software; the Free Software Foundation
29857gives unlimited permission to copy, distribute and modify it." 31415gives unlimited permission to copy, distribute and modify it."
29858 31416
29859ac_pwd='$ac_pwd' 31417ac_pwd='$ac_pwd'
29860srcdir='$srcdir' 31418srcdir='$srcdir'
29861INSTALL='$INSTALL' 31419INSTALL='$INSTALL'
31420AWK='$AWK'
31421test -n "\$AWK" || AWK=awk
29862_ACEOF 31422_ACEOF
29863 31423
29864cat >>$CONFIG_STATUS <<\_ACEOF 31424cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29865# If no file are specified by the user, then we need to provide default 31425# The default lists apply if the user does not specify any file.
29866# value. By we need to know if files were specified by the user.
29867ac_need_defaults=: 31426ac_need_defaults=:
29868while test $# != 0 31427while test $# != 0
29869do 31428do
@@ -29885,30 +31444,36 @@ do
29885 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 31444 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29886 ac_cs_recheck=: ;; 31445 ac_cs_recheck=: ;;
29887 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 31446 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29888 echo "$ac_cs_version"; exit ;; 31447 $as_echo "$ac_cs_version"; exit ;;
29889 --debug | --debu | --deb | --de | --d | -d ) 31448 --debug | --debu | --deb | --de | --d | -d )
29890 debug=: ;; 31449 debug=: ;;
29891 --file | --fil | --fi | --f ) 31450 --file | --fil | --fi | --f )
29892 $ac_shift 31451 $ac_shift
29893 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 31452 case $ac_optarg in
31453 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31454 esac
31455 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
29894 ac_need_defaults=false;; 31456 ac_need_defaults=false;;
29895 --header | --heade | --head | --hea ) 31457 --header | --heade | --head | --hea )
29896 $ac_shift 31458 $ac_shift
29897 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 31459 case $ac_optarg in
31460 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31461 esac
31462 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
29898 ac_need_defaults=false;; 31463 ac_need_defaults=false;;
29899 --he | --h) 31464 --he | --h)
29900 # Conflict between --help and --header 31465 # Conflict between --help and --header
29901 { echo "$as_me: error: ambiguous option: $1 31466 { $as_echo "$as_me: error: ambiguous option: $1
29902Try \`$0 --help' for more information." >&2 31467Try \`$0 --help' for more information." >&2
29903 { (exit 1); exit 1; }; };; 31468 { (exit 1); exit 1; }; };;
29904 --help | --hel | -h ) 31469 --help | --hel | -h )
29905 echo "$ac_cs_usage"; exit ;; 31470 $as_echo "$ac_cs_usage"; exit ;;
29906 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 31471 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29907 | -silent | --silent | --silen | --sile | --sil | --si | --s) 31472 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29908 ac_cs_silent=: ;; 31473 ac_cs_silent=: ;;
29909 31474
29910 # This is an error. 31475 # This is an error.
29911 -*) { echo "$as_me: error: unrecognized option: $1 31476 -*) { $as_echo "$as_me: error: unrecognized option: $1
29912Try \`$0 --help' for more information." >&2 31477Try \`$0 --help' for more information." >&2
29913 { (exit 1); exit 1; }; } ;; 31478 { (exit 1); exit 1; }; } ;;
29914 31479
@@ -29927,30 +31492,32 @@ if $ac_cs_silent; then
29927fi 31492fi
29928 31493
29929_ACEOF 31494_ACEOF
29930cat >>$CONFIG_STATUS <<_ACEOF 31495cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29931if \$ac_cs_recheck; then 31496if \$ac_cs_recheck; then
29932 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 31497 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29933 CONFIG_SHELL=$SHELL 31498 shift
31499 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
31500 CONFIG_SHELL='$SHELL'
29934 export CONFIG_SHELL 31501 export CONFIG_SHELL
29935 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 31502 exec "\$@"
29936fi 31503fi
29937 31504
29938_ACEOF 31505_ACEOF
29939cat >>$CONFIG_STATUS <<\_ACEOF 31506cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29940exec 5>>config.log 31507exec 5>>config.log
29941{ 31508{
29942 echo 31509 echo
29943 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 31510 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29944## Running $as_me. ## 31511## Running $as_me. ##
29945_ASBOX 31512_ASBOX
29946 echo "$ac_log" 31513 $as_echo "$ac_log"
29947} >&5 31514} >&5
29948 31515
29949_ACEOF 31516_ACEOF
29950cat >>$CONFIG_STATUS <<_ACEOF 31517cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29951_ACEOF 31518_ACEOF
29952 31519
29953cat >>$CONFIG_STATUS <<\_ACEOF 31520cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29954 31521
29955# Handling of arguments. 31522# Handling of arguments.
29956for ac_config_target in $ac_config_targets 31523for ac_config_target in $ac_config_targets
@@ -29967,8 +31534,8 @@ do
29967 "ssh_prng_cmds") CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; 31534 "ssh_prng_cmds") CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
29968 "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;; 31535 "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;;
29969 31536
29970 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 31537 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29971echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 31538$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29972 { (exit 1); exit 1; }; };; 31539 { (exit 1); exit 1; }; };;
29973 esac 31540 esac
29974done 31541done
@@ -30008,216 +31575,143 @@ $debug ||
30008 (umask 077 && mkdir "$tmp") 31575 (umask 077 && mkdir "$tmp")
30009} || 31576} ||
30010{ 31577{
30011 echo "$me: cannot create a temporary directory in ." >&2 31578 $as_echo "$as_me: cannot create a temporary directory in ." >&2
30012 { (exit 1); exit 1; } 31579 { (exit 1); exit 1; }
30013} 31580}
30014 31581
30015# 31582# Set up the scripts for CONFIG_FILES section.
30016# Set up the sed scripts for CONFIG_FILES section. 31583# No need to generate them if there are no CONFIG_FILES.
30017# 31584# This happens for instance with `./config.status config.h'.
30018
30019# No need to generate the scripts if there are no CONFIG_FILES.
30020# This happens for instance when ./config.status config.h
30021if test -n "$CONFIG_FILES"; then 31585if test -n "$CONFIG_FILES"; then
30022 31586
30023_ACEOF
30024
30025
30026
30027ac_delim='%!_!# '
30028for ac_last_try in false false false false false :; do
30029 cat >conf$$subs.sed <<_ACEOF
30030SHELL!$SHELL$ac_delim
30031PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
30032PACKAGE_NAME!$PACKAGE_NAME$ac_delim
30033PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
30034PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
30035PACKAGE_STRING!$PACKAGE_STRING$ac_delim
30036PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
30037exec_prefix!$exec_prefix$ac_delim
30038prefix!$prefix$ac_delim
30039program_transform_name!$program_transform_name$ac_delim
30040bindir!$bindir$ac_delim
30041sbindir!$sbindir$ac_delim
30042libexecdir!$libexecdir$ac_delim
30043datarootdir!$datarootdir$ac_delim
30044datadir!$datadir$ac_delim
30045sysconfdir!$sysconfdir$ac_delim
30046sharedstatedir!$sharedstatedir$ac_delim
30047localstatedir!$localstatedir$ac_delim
30048includedir!$includedir$ac_delim
30049oldincludedir!$oldincludedir$ac_delim
30050docdir!$docdir$ac_delim
30051infodir!$infodir$ac_delim
30052htmldir!$htmldir$ac_delim
30053dvidir!$dvidir$ac_delim
30054pdfdir!$pdfdir$ac_delim
30055psdir!$psdir$ac_delim
30056libdir!$libdir$ac_delim
30057localedir!$localedir$ac_delim
30058mandir!$mandir$ac_delim
30059DEFS!$DEFS$ac_delim
30060ECHO_C!$ECHO_C$ac_delim
30061ECHO_N!$ECHO_N$ac_delim
30062ECHO_T!$ECHO_T$ac_delim
30063LIBS!$LIBS$ac_delim
30064build_alias!$build_alias$ac_delim
30065host_alias!$host_alias$ac_delim
30066target_alias!$target_alias$ac_delim
30067CC!$CC$ac_delim
30068CFLAGS!$CFLAGS$ac_delim
30069LDFLAGS!$LDFLAGS$ac_delim
30070CPPFLAGS!$CPPFLAGS$ac_delim
30071ac_ct_CC!$ac_ct_CC$ac_delim
30072EXEEXT!$EXEEXT$ac_delim
30073OBJEXT!$OBJEXT$ac_delim
30074build!$build$ac_delim
30075build_cpu!$build_cpu$ac_delim
30076build_vendor!$build_vendor$ac_delim
30077build_os!$build_os$ac_delim
30078host!$host$ac_delim
30079host_cpu!$host_cpu$ac_delim
30080host_vendor!$host_vendor$ac_delim
30081host_os!$host_os$ac_delim
30082CPP!$CPP$ac_delim
30083GREP!$GREP$ac_delim
30084EGREP!$EGREP$ac_delim
30085AWK!$AWK$ac_delim
30086RANLIB!$RANLIB$ac_delim
30087INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
30088INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
30089INSTALL_DATA!$INSTALL_DATA$ac_delim
30090AR!$AR$ac_delim
30091CAT!$CAT$ac_delim
30092KILL!$KILL$ac_delim
30093PERL!$PERL$ac_delim
30094SED!$SED$ac_delim
30095ENT!$ENT$ac_delim
30096TEST_MINUS_S_SH!$TEST_MINUS_S_SH$ac_delim
30097SH!$SH$ac_delim
30098TEST_SHELL!$TEST_SHELL$ac_delim
30099PATH_GROUPADD_PROG!$PATH_GROUPADD_PROG$ac_delim
30100PATH_USERADD_PROG!$PATH_USERADD_PROG$ac_delim
30101MAKE_PACKAGE_SUPPORTED!$MAKE_PACKAGE_SUPPORTED$ac_delim
30102STARTUP_SCRIPT_SHELL!$STARTUP_SCRIPT_SHELL$ac_delim
30103LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim
30104PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim
30105LD!$LD$ac_delim
30106SSHDLIBS!$SSHDLIBS$ac_delim
30107LIBEDIT!$LIBEDIT$ac_delim
30108INSTALL_SSH_RAND_HELPER!$INSTALL_SSH_RAND_HELPER$ac_delim
30109SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim
30110PROG_LS!$PROG_LS$ac_delim
30111PROG_NETSTAT!$PROG_NETSTAT$ac_delim
30112PROG_ARP!$PROG_ARP$ac_delim
30113PROG_IFCONFIG!$PROG_IFCONFIG$ac_delim
30114PROG_JSTAT!$PROG_JSTAT$ac_delim
30115PROG_PS!$PROG_PS$ac_delim
30116PROG_SAR!$PROG_SAR$ac_delim
30117PROG_W!$PROG_W$ac_delim
30118PROG_WHO!$PROG_WHO$ac_delim
30119PROG_LAST!$PROG_LAST$ac_delim
30120PROG_LASTLOG!$PROG_LASTLOG$ac_delim
30121PROG_DF!$PROG_DF$ac_delim
30122PROG_VMSTAT!$PROG_VMSTAT$ac_delim
30123PROG_UPTIME!$PROG_UPTIME$ac_delim
30124PROG_IPCS!$PROG_IPCS$ac_delim
30125PROG_TAIL!$PROG_TAIL$ac_delim
30126INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim
30127_ACEOF
30128
30129 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30130 break
30131 elif $ac_last_try; then
30132 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30133echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30134 { (exit 1); exit 1; }; }
30135 else
30136 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30137 fi
30138done
30139 31587
30140ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 31588ac_cr=' '
30141if test -n "$ac_eof"; then 31589ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30142 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 31590if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30143 ac_eof=`expr $ac_eof + 1` 31591 ac_cs_awk_cr='\\r'
31592else
31593 ac_cs_awk_cr=$ac_cr
30144fi 31594fi
30145 31595
30146cat >>$CONFIG_STATUS <<_ACEOF 31596echo 'BEGIN {' >"$tmp/subs1.awk" &&
30147cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
30148/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30149_ACEOF
30150sed '
30151s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30152s/^/s,@/; s/!/@,|#_!!_#|/
30153:n
30154t n
30155s/'"$ac_delim"'$/,g/; t
30156s/$/\\/; p
30157N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30158' >>$CONFIG_STATUS <conf$$subs.sed
30159rm -f conf$$subs.sed
30160cat >>$CONFIG_STATUS <<_ACEOF
30161CEOF$ac_eof
30162_ACEOF 31597_ACEOF
30163 31598
30164 31599
31600{
31601 echo "cat >conf$$subs.awk <<_ACEOF" &&
31602 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
31603 echo "_ACEOF"
31604} >conf$$subs.sh ||
31605 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
31606$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
31607 { (exit 1); exit 1; }; }
31608ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
30165ac_delim='%!_!# ' 31609ac_delim='%!_!# '
30166for ac_last_try in false false false false false :; do 31610for ac_last_try in false false false false false :; do
30167 cat >conf$$subs.sed <<_ACEOF 31611 . ./conf$$subs.sh ||
30168OPENSC_CONFIG!$OPENSC_CONFIG$ac_delim 31612 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30169PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim 31613$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30170xauth_path!$xauth_path$ac_delim 31614 { (exit 1); exit 1; }; }
30171STRIP_OPT!$STRIP_OPT$ac_delim 31615
30172XAUTH_PATH!$XAUTH_PATH$ac_delim 31616 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
30173NROFF!$NROFF$ac_delim
30174MANTYPE!$MANTYPE$ac_delim
30175mansubdir!$mansubdir$ac_delim
30176user_path!$user_path$ac_delim
30177piddir!$piddir$ac_delim
30178TEST_SSH_IPV6!$TEST_SSH_IPV6$ac_delim
30179LIBOBJS!$LIBOBJS$ac_delim
30180LTLIBOBJS!$LTLIBOBJS$ac_delim
30181_ACEOF
30182
30183 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
30184 break 31617 break
30185 elif $ac_last_try; then 31618 elif $ac_last_try; then
30186 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 31619 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30187echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 31620$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30188 { (exit 1); exit 1; }; } 31621 { (exit 1); exit 1; }; }
30189 else 31622 else
30190 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 31623 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30191 fi 31624 fi
30192done 31625done
31626rm -f conf$$subs.sh
31627
31628cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31629cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
31630_ACEOF
31631sed -n '
31632h
31633s/^/S["/; s/!.*/"]=/
31634p
31635g
31636s/^[^!]*!//
31637:repl
31638t repl
31639s/'"$ac_delim"'$//
31640t delim
31641:nl
31642h
31643s/\(.\{148\}\).*/\1/
31644t more1
31645s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
31646p
31647n
31648b repl
31649:more1
31650s/["\\]/\\&/g; s/^/"/; s/$/"\\/
31651p
31652g
31653s/.\{148\}//
31654t nl
31655:delim
31656h
31657s/\(.\{148\}\).*/\1/
31658t more2
31659s/["\\]/\\&/g; s/^/"/; s/$/"/
31660p
31661b
31662:more2
31663s/["\\]/\\&/g; s/^/"/; s/$/"\\/
31664p
31665g
31666s/.\{148\}//
31667t delim
31668' <conf$$subs.awk | sed '
31669/^[^""]/{
31670 N
31671 s/\n//
31672}
31673' >>$CONFIG_STATUS || ac_write_fail=1
31674rm -f conf$$subs.awk
31675cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31676_ACAWK
31677cat >>"\$tmp/subs1.awk" <<_ACAWK &&
31678 for (key in S) S_is_set[key] = 1
31679 FS = ""
30193 31680
30194ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 31681}
30195if test -n "$ac_eof"; then 31682{
30196 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 31683 line = $ 0
30197 ac_eof=`expr $ac_eof + 1` 31684 nfields = split(line, field, "@")
30198fi 31685 substed = 0
30199 31686 len = length(field[1])
30200cat >>$CONFIG_STATUS <<_ACEOF 31687 for (i = 2; i < nfields; i++) {
30201cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 31688 key = field[i]
30202/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 31689 keylen = length(key)
30203_ACEOF 31690 if (S_is_set[key]) {
30204sed ' 31691 value = S[key]
30205s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 31692 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
30206s/^/s,@/; s/!/@,|#_!!_#|/ 31693 len += length(value) + length(field[++i])
30207:n 31694 substed = 1
30208t n 31695 } else
30209s/'"$ac_delim"'$/,g/; t 31696 len += 1 + keylen
30210s/$/\\/; p 31697 }
30211N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 31698
30212' >>$CONFIG_STATUS <conf$$subs.sed 31699 print line
30213rm -f conf$$subs.sed 31700}
30214cat >>$CONFIG_STATUS <<_ACEOF 31701
30215:end 31702_ACAWK
30216s/|#_!!_#|//g 31703_ACEOF
30217CEOF$ac_eof 31704cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31705if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
31706 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
31707else
31708 cat
31709fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
31710 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
31711$as_echo "$as_me: error: could not setup config files machinery" >&2;}
31712 { (exit 1); exit 1; }; }
30218_ACEOF 31713_ACEOF
30219 31714
30220
30221# VPATH may cause trouble with some makes, so we remove $(srcdir), 31715# VPATH may cause trouble with some makes, so we remove $(srcdir),
30222# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 31716# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30223# trailing colons and then remove the whole line if VPATH becomes empty 31717# trailing colons and then remove the whole line if VPATH becomes empty
@@ -30233,19 +31727,133 @@ s/^[^=]*=[ ]*$//
30233}' 31727}'
30234fi 31728fi
30235 31729
30236cat >>$CONFIG_STATUS <<\_ACEOF 31730cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30237fi # test -n "$CONFIG_FILES" 31731fi # test -n "$CONFIG_FILES"
30238 31732
31733# Set up the scripts for CONFIG_HEADERS section.
31734# No need to generate them if there are no CONFIG_HEADERS.
31735# This happens for instance with `./config.status Makefile'.
31736if test -n "$CONFIG_HEADERS"; then
31737cat >"$tmp/defines.awk" <<\_ACAWK ||
31738BEGIN {
31739_ACEOF
31740
31741# Transform confdefs.h into an awk script `defines.awk', embedded as
31742# here-document in config.status, that substitutes the proper values into
31743# config.h.in to produce config.h.
31744
31745# Create a delimiter string that does not exist in confdefs.h, to ease
31746# handling of long lines.
31747ac_delim='%!_!# '
31748for ac_last_try in false false :; do
31749 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
31750 if test -z "$ac_t"; then
31751 break
31752 elif $ac_last_try; then
31753 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
31754$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
31755 { (exit 1); exit 1; }; }
31756 else
31757 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31758 fi
31759done
31760
31761# For the awk script, D is an array of macro values keyed by name,
31762# likewise P contains macro parameters if any. Preserve backslash
31763# newline sequences.
31764
31765ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
31766sed -n '
31767s/.\{148\}/&'"$ac_delim"'/g
31768t rset
31769:rset
31770s/^[ ]*#[ ]*define[ ][ ]*/ /
31771t def
31772d
31773:def
31774s/\\$//
31775t bsnl
31776s/["\\]/\\&/g
31777s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31778D["\1"]=" \3"/p
31779s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
31780d
31781:bsnl
31782s/["\\]/\\&/g
31783s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31784D["\1"]=" \3\\\\\\n"\\/p
31785t cont
31786s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
31787t cont
31788d
31789:cont
31790n
31791s/.\{148\}/&'"$ac_delim"'/g
31792t clear
31793:clear
31794s/\\$//
31795t bsnlc
31796s/["\\]/\\&/g; s/^/"/; s/$/"/p
31797d
31798:bsnlc
31799s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
31800b cont
31801' <confdefs.h | sed '
31802s/'"$ac_delim"'/"\\\
31803"/g' >>$CONFIG_STATUS || ac_write_fail=1
31804
31805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31806 for (key in D) D_is_set[key] = 1
31807 FS = ""
31808}
31809/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
31810 line = \$ 0
31811 split(line, arg, " ")
31812 if (arg[1] == "#") {
31813 defundef = arg[2]
31814 mac1 = arg[3]
31815 } else {
31816 defundef = substr(arg[1], 2)
31817 mac1 = arg[2]
31818 }
31819 split(mac1, mac2, "(") #)
31820 macro = mac2[1]
31821 if (D_is_set[macro]) {
31822 # Preserve the white space surrounding the "#".
31823 prefix = substr(line, 1, index(line, defundef) - 1)
31824 print prefix "define", macro P[macro] D[macro]
31825 next
31826 } else {
31827 # Replace #undef with comments. This is necessary, for example,
31828 # in the case of _POSIX_SOURCE, which is predefined and required
31829 # on some systems where configure will not decide to define it.
31830 if (defundef == "undef") {
31831 print "/*", line, "*/"
31832 next
31833 }
31834 }
31835}
31836{ print }
31837_ACAWK
31838_ACEOF
31839cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31840 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
31841$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
31842 { (exit 1); exit 1; }; }
31843fi # test -n "$CONFIG_HEADERS"
31844
30239 31845
30240for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 31846eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
31847shift
31848for ac_tag
30241do 31849do
30242 case $ac_tag in 31850 case $ac_tag in
30243 :[FHLC]) ac_mode=$ac_tag; continue;; 31851 :[FHLC]) ac_mode=$ac_tag; continue;;
30244 esac 31852 esac
30245 case $ac_mode$ac_tag in 31853 case $ac_mode$ac_tag in
30246 :[FHL]*:*);; 31854 :[FHL]*:*);;
30247 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 31855 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
30248echo "$as_me: error: Invalid tag $ac_tag." >&2;} 31856$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
30249 { (exit 1); exit 1; }; };; 31857 { (exit 1); exit 1; }; };;
30250 :[FH]-) ac_tag=-:-;; 31858 :[FH]-) ac_tag=-:-;;
30251 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 31859 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
@@ -30274,26 +31882,38 @@ echo "$as_me: error: Invalid tag $ac_tag." >&2;}
30274 [\\/$]*) false;; 31882 [\\/$]*) false;;
30275 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 31883 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
30276 esac || 31884 esac ||
30277 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 31885 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
30278echo "$as_me: error: cannot find input file: $ac_f" >&2;} 31886$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
30279 { (exit 1); exit 1; }; };; 31887 { (exit 1); exit 1; }; };;
30280 esac 31888 esac
30281 ac_file_inputs="$ac_file_inputs $ac_f" 31889 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31890 ac_file_inputs="$ac_file_inputs '$ac_f'"
30282 done 31891 done
30283 31892
30284 # Let's still pretend it is `configure' which instantiates (i.e., don't 31893 # Let's still pretend it is `configure' which instantiates (i.e., don't
30285 # use $as_me), people would be surprised to read: 31894 # use $as_me), people would be surprised to read:
30286 # /* config.h. Generated by config.status. */ 31895 # /* config.h. Generated by config.status. */
30287 configure_input="Generated from "`IFS=: 31896 configure_input='Generated from '`
30288 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 31897 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31898 `' by configure.'
30289 if test x"$ac_file" != x-; then 31899 if test x"$ac_file" != x-; then
30290 configure_input="$ac_file. $configure_input" 31900 configure_input="$ac_file. $configure_input"
30291 { echo "$as_me:$LINENO: creating $ac_file" >&5 31901 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
30292echo "$as_me: creating $ac_file" >&6;} 31902$as_echo "$as_me: creating $ac_file" >&6;}
30293 fi 31903 fi
31904 # Neutralize special characters interpreted by sed in replacement strings.
31905 case $configure_input in #(
31906 *\&* | *\|* | *\\* )
31907 ac_sed_conf_input=`$as_echo "$configure_input" |
31908 sed 's/[\\\\&|]/\\\\&/g'`;; #(
31909 *) ac_sed_conf_input=$configure_input;;
31910 esac
30294 31911
30295 case $ac_tag in 31912 case $ac_tag in
30296 *:-:* | *:-) cat >"$tmp/stdin";; 31913 *:-:* | *:-) cat >"$tmp/stdin" \
31914 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31915$as_echo "$as_me: error: could not create $ac_file" >&2;}
31916 { (exit 1); exit 1; }; } ;;
30297 esac 31917 esac
30298 ;; 31918 ;;
30299 esac 31919 esac
@@ -30303,7 +31923,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30303 X"$ac_file" : 'X\(//\)[^/]' \| \ 31923 X"$ac_file" : 'X\(//\)[^/]' \| \
30304 X"$ac_file" : 'X\(//\)$' \| \ 31924 X"$ac_file" : 'X\(//\)$' \| \
30305 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 31925 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
30306echo X"$ac_file" | 31926$as_echo X"$ac_file" |
30307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30308 s//\1/ 31928 s//\1/
30309 q 31929 q
@@ -30329,7 +31949,7 @@ echo X"$ac_file" |
30329 as_dirs= 31949 as_dirs=
30330 while :; do 31950 while :; do
30331 case $as_dir in #( 31951 case $as_dir in #(
30332 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 31952 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
30333 *) as_qdir=$as_dir;; 31953 *) as_qdir=$as_dir;;
30334 esac 31954 esac
30335 as_dirs="'$as_qdir' $as_dirs" 31955 as_dirs="'$as_qdir' $as_dirs"
@@ -30338,7 +31958,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30338 X"$as_dir" : 'X\(//\)[^/]' \| \ 31958 X"$as_dir" : 'X\(//\)[^/]' \| \
30339 X"$as_dir" : 'X\(//\)$' \| \ 31959 X"$as_dir" : 'X\(//\)$' \| \
30340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 31960 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30341echo X"$as_dir" | 31961$as_echo X"$as_dir" |
30342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30343 s//\1/ 31963 s//\1/
30344 q 31964 q
@@ -30359,17 +31979,17 @@ echo X"$as_dir" |
30359 test -d "$as_dir" && break 31979 test -d "$as_dir" && break
30360 done 31980 done
30361 test -z "$as_dirs" || eval "mkdir $as_dirs" 31981 test -z "$as_dirs" || eval "mkdir $as_dirs"
30362 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 31982 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30363echo "$as_me: error: cannot create directory $as_dir" >&2;} 31983$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
30364 { (exit 1); exit 1; }; }; } 31984 { (exit 1); exit 1; }; }; }
30365 ac_builddir=. 31985 ac_builddir=.
30366 31986
30367case "$ac_dir" in 31987case "$ac_dir" in
30368.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 31988.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30369*) 31989*)
30370 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 31990 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
30371 # A ".." for each directory in $ac_dir_suffix. 31991 # A ".." for each directory in $ac_dir_suffix.
30372 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 31992 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
30373 case $ac_top_builddir_sub in 31993 case $ac_top_builddir_sub in
30374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 31994 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 31995 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -30409,12 +32029,13 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30409 esac 32029 esac
30410_ACEOF 32030_ACEOF
30411 32031
30412cat >>$CONFIG_STATUS <<\_ACEOF 32032cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30413# If the template does not know about datarootdir, expand it. 32033# If the template does not know about datarootdir, expand it.
30414# FIXME: This hack should be removed a few years after 2.60. 32034# FIXME: This hack should be removed a few years after 2.60.
30415ac_datarootdir_hack=; ac_datarootdir_seen= 32035ac_datarootdir_hack=; ac_datarootdir_seen=
30416 32036
30417case `sed -n '/datarootdir/ { 32037ac_sed_dataroot='
32038/datarootdir/ {
30418 p 32039 p
30419 q 32040 q
30420} 32041}
@@ -30423,13 +32044,14 @@ case `sed -n '/datarootdir/ {
30423/@infodir@/p 32044/@infodir@/p
30424/@localedir@/p 32045/@localedir@/p
30425/@mandir@/p 32046/@mandir@/p
30426' $ac_file_inputs` in 32047'
32048case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
30427*datarootdir*) ac_datarootdir_seen=yes;; 32049*datarootdir*) ac_datarootdir_seen=yes;;
30428*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 32050*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30429 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 32051 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30430echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 32052$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30431_ACEOF 32053_ACEOF
30432cat >>$CONFIG_STATUS <<_ACEOF 32054cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30433 ac_datarootdir_hack=' 32055 ac_datarootdir_hack='
30434 s&@datadir@&$datadir&g 32056 s&@datadir@&$datadir&g
30435 s&@docdir@&$docdir&g 32057 s&@docdir@&$docdir&g
@@ -30443,15 +32065,16 @@ _ACEOF
30443# Neutralize VPATH when `$srcdir' = `.'. 32065# Neutralize VPATH when `$srcdir' = `.'.
30444# Shell code in configure.ac might set extrasub. 32066# Shell code in configure.ac might set extrasub.
30445# FIXME: do we really want to maintain this feature? 32067# FIXME: do we really want to maintain this feature?
30446cat >>$CONFIG_STATUS <<_ACEOF 32068cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30447 sed "$ac_vpsub 32069ac_sed_extra="$ac_vpsub
30448$extrasub 32070$extrasub
30449_ACEOF 32071_ACEOF
30450cat >>$CONFIG_STATUS <<\_ACEOF 32072cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30451:t 32073:t
30452/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 32074/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30453s&@configure_input@&$configure_input&;t t 32075s|@configure_input@|$ac_sed_conf_input|;t t
30454s&@top_builddir@&$ac_top_builddir_sub&;t t 32076s&@top_builddir@&$ac_top_builddir_sub&;t t
32077s&@top_build_prefix@&$ac_top_build_prefix&;t t
30455s&@srcdir@&$ac_srcdir&;t t 32078s&@srcdir@&$ac_srcdir&;t t
30456s&@abs_srcdir@&$ac_abs_srcdir&;t t 32079s&@abs_srcdir@&$ac_abs_srcdir&;t t
30457s&@top_srcdir@&$ac_top_srcdir&;t t 32080s&@top_srcdir@&$ac_top_srcdir&;t t
@@ -30461,119 +32084,58 @@ s&@abs_builddir@&$ac_abs_builddir&;t t
30461s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 32084s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30462s&@INSTALL@&$ac_INSTALL&;t t 32085s&@INSTALL@&$ac_INSTALL&;t t
30463$ac_datarootdir_hack 32086$ac_datarootdir_hack
30464" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 32087"
32088eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
32089 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32090$as_echo "$as_me: error: could not create $ac_file" >&2;}
32091 { (exit 1); exit 1; }; }
30465 32092
30466test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 32093test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30467 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 32094 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30468 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 32095 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30469 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 32096 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30470which seems to be undefined. Please make sure it is defined." >&5 32097which seems to be undefined. Please make sure it is defined." >&5
30471echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 32098$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30472which seems to be undefined. Please make sure it is defined." >&2;} 32099which seems to be undefined. Please make sure it is defined." >&2;}
30473 32100
30474 rm -f "$tmp/stdin" 32101 rm -f "$tmp/stdin"
30475 case $ac_file in 32102 case $ac_file in
30476 -) cat "$tmp/out"; rm -f "$tmp/out";; 32103 -) cat "$tmp/out" && rm -f "$tmp/out";;
30477 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 32104 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
30478 esac 32105 esac \
32106 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32107$as_echo "$as_me: error: could not create $ac_file" >&2;}
32108 { (exit 1); exit 1; }; }
30479 ;; 32109 ;;
30480 :H) 32110 :H)
30481 # 32111 #
30482 # CONFIG_HEADER 32112 # CONFIG_HEADER
30483 # 32113 #
30484_ACEOF
30485
30486# Transform confdefs.h into a sed script `conftest.defines', that
30487# substitutes the proper values into config.h.in to produce config.h.
30488rm -f conftest.defines conftest.tail
30489# First, append a space to every undef/define line, to ease matching.
30490echo 's/$/ /' >conftest.defines
30491# Then, protect against being on the right side of a sed subst, or in
30492# an unquoted here document, in config.status. If some macros were
30493# called several times there might be several #defines for the same
30494# symbol, which is useless. But do not sort them, since the last
30495# AC_DEFINE must be honored.
30496ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30497# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30498# NAME is the cpp macro being defined, VALUE is the value it is being given.
30499# PARAMS is the parameter list in the macro definition--in most cases, it's
30500# just an empty string.
30501ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30502ac_dB='\\)[ (].*,\\1define\\2'
30503ac_dC=' '
30504ac_dD=' ,'
30505
30506uniq confdefs.h |
30507 sed -n '
30508 t rset
30509 :rset
30510 s/^[ ]*#[ ]*define[ ][ ]*//
30511 t ok
30512 d
30513 :ok
30514 s/[\\&,]/\\&/g
30515 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30516 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30517 ' >>conftest.defines
30518
30519# Remove the space that was appended to ease matching.
30520# Then replace #undef with comments. This is necessary, for
30521# example, in the case of _POSIX_SOURCE, which is predefined and required
30522# on some systems where configure will not decide to define it.
30523# (The regexp can be short, since the line contains either #define or #undef.)
30524echo 's/ $//
30525s,^[ #]*u.*,/* & */,' >>conftest.defines
30526
30527# Break up conftest.defines:
30528ac_max_sed_lines=50
30529
30530# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30531# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30532# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30533# et cetera.
30534ac_in='$ac_file_inputs'
30535ac_out='"$tmp/out1"'
30536ac_nxt='"$tmp/out2"'
30537
30538while :
30539do
30540 # Write a here document:
30541 cat >>$CONFIG_STATUS <<_ACEOF
30542 # First, check the format of the line:
30543 cat >"\$tmp/defines.sed" <<\\CEOF
30544/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30545/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30546b
30547:def
30548_ACEOF
30549 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30550 echo 'CEOF
30551 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30552 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30553 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30554 grep . conftest.tail >/dev/null || break
30555 rm -f conftest.defines
30556 mv conftest.tail conftest.defines
30557done
30558rm -f conftest.defines conftest.tail
30559
30560echo "ac_result=$ac_in" >>$CONFIG_STATUS
30561cat >>$CONFIG_STATUS <<\_ACEOF
30562 if test x"$ac_file" != x-; then 32114 if test x"$ac_file" != x-; then
30563 echo "/* $configure_input */" >"$tmp/config.h" 32115 {
30564 cat "$ac_result" >>"$tmp/config.h" 32116 $as_echo "/* $configure_input */" \
30565 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 32117 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
30566 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 32118 } >"$tmp/config.h" \
30567echo "$as_me: $ac_file is unchanged" >&6;} 32119 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32120$as_echo "$as_me: error: could not create $ac_file" >&2;}
32121 { (exit 1); exit 1; }; }
32122 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
32123 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
32124$as_echo "$as_me: $ac_file is unchanged" >&6;}
30568 else 32125 else
30569 rm -f $ac_file 32126 rm -f "$ac_file"
30570 mv "$tmp/config.h" $ac_file 32127 mv "$tmp/config.h" "$ac_file" \
32128 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32129$as_echo "$as_me: error: could not create $ac_file" >&2;}
32130 { (exit 1); exit 1; }; }
30571 fi 32131 fi
30572 else 32132 else
30573 echo "/* $configure_input */" 32133 $as_echo "/* $configure_input */" \
30574 cat "$ac_result" 32134 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
32135 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
32136$as_echo "$as_me: error: could not create -" >&2;}
32137 { (exit 1); exit 1; }; }
30575 fi 32138 fi
30576 rm -f "$tmp/out12"
30577 ;; 32139 ;;
30578 32140
30579 32141
@@ -30587,6 +32149,11 @@ _ACEOF
30587chmod +x $CONFIG_STATUS 32149chmod +x $CONFIG_STATUS
30588ac_clean_files=$ac_clean_files_save 32150ac_clean_files=$ac_clean_files_save
30589 32151
32152test $ac_write_fail = 0 ||
32153 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
32154$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
32155 { (exit 1); exit 1; }; }
32156
30590 32157
30591# configure is writing to config.log, and then calls config.status. 32158# configure is writing to config.log, and then calls config.status.
30592# config.status does its own redirection, appending to config.log. 32159# config.status does its own redirection, appending to config.log.
@@ -30608,6 +32175,10 @@ if test "$no_create" != yes; then
30608 # would make configure fail if this is the last instruction. 32175 # would make configure fail if this is the last instruction.
30609 $ac_cs_success || { (exit 1); exit 1; } 32176 $ac_cs_success || { (exit 1); exit 1; }
30610fi 32177fi
32178if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
32179 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
32180$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
32181fi
30611 32182
30612 32183
30613# Print summary of options 32184# Print summary of options
diff --git a/configure.ac b/configure.ac
index bd393b592..2f1dfbaff 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)
@@ -692,6 +696,7 @@ mips-sony-bsd|mips-sony-newsos4)
692 after setsid()]) 696 after setsid()])
693 AC_DEFINE(PASSWD_NEEDS_USERNAME, 1, [must supply username to passwd 697 AC_DEFINE(PASSWD_NEEDS_USERNAME, 1, [must supply username to passwd
694 in case the name is longer than 8 chars]) 698 in case the name is longer than 8 chars])
699 AC_DEFINE(BROKEN_TCGETATTR_ICANON, 1, [tcgetattr with ICANON may hang])
695 external_path_file=/etc/default/login 700 external_path_file=/etc/default/login
696 # hardwire lastlog location (can't detect it on some versions) 701 # hardwire lastlog location (can't detect it on some versions)
697 conf_lastlog_location="/var/adm/lastlog" 702 conf_lastlog_location="/var/adm/lastlog"
@@ -1003,6 +1008,7 @@ AC_ARG_WITH(zlib,
1003 fi ] 1008 fi ]
1004) 1009)
1005 1010
1011AC_CHECK_HEADER([zlib.h], ,AC_MSG_ERROR([*** zlib.h missing - please install first or check config.log ***]))
1006AC_CHECK_LIB(z, deflate, , 1012AC_CHECK_LIB(z, deflate, ,
1007 [ 1013 [
1008 saved_CPPFLAGS="$CPPFLAGS" 1014 saved_CPPFLAGS="$CPPFLAGS"
@@ -1023,7 +1029,6 @@ AC_CHECK_LIB(z, deflate, ,
1023 ) 1029 )
1024 ] 1030 ]
1025) 1031)
1026AC_CHECK_HEADER([zlib.h], ,AC_MSG_ERROR([*** zlib.h missing - please install first or check config.log ***]))
1027 1032
1028AC_ARG_WITH(zlib-version-check, 1033AC_ARG_WITH(zlib-version-check,
1029 [ --without-zlib-version-check Disable zlib version check], 1034 [ --without-zlib-version-check Disable zlib version check],
@@ -1916,6 +1921,8 @@ AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL, 1,
1916 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" 1921 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}"
1917 fi 1922 fi
1918 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" 1923 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
1924 AC_CHECK_HEADER([openssl/opensslv.h], ,
1925 AC_MSG_ERROR([*** OpenSSL headers missing - please install first or check config.log ***]))
1919 AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL), 1926 AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL),
1920 [ 1927 [
1921 AC_MSG_ERROR([*** Can't find recent OpenSSL libcrypto (see config.log for details) ***]) 1928 AC_MSG_ERROR([*** Can't find recent OpenSSL libcrypto (see config.log for details) ***])
@@ -2100,6 +2107,23 @@ int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
2100 ] 2107 ]
2101) 2108)
2102 2109
2110AC_MSG_CHECKING([if EVP_DigestUpdate returns an int])
2111AC_LINK_IFELSE(
2112 [AC_LANG_SOURCE([[
2113#include <string.h>
2114#include <openssl/evp.h>
2115int main(void) { if(EVP_DigestUpdate(NULL, NULL,0)) exit(0); }
2116 ]])],
2117 [
2118 AC_MSG_RESULT(yes)
2119 ],
2120 [
2121 AC_MSG_RESULT(no)
2122 AC_DEFINE(OPENSSL_EVP_DIGESTUPDATE_VOID, 1,
2123 [Define if EVP_DigestUpdate returns void])
2124 ]
2125)
2126
2103# Some systems want crypt() from libcrypt, *not* the version in OpenSSL, 2127# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
2104# because the system crypt() is more featureful. 2128# because the system crypt() is more featureful.
2105if test "x$check_for_libcrypt_before" = "x1"; then 2129if test "x$check_for_libcrypt_before" = "x1"; then
@@ -2718,7 +2742,7 @@ AC_CHECK_TYPES([fsblkcnt_t, fsfilcnt_t],,,[
2718#endif 2742#endif
2719]) 2743])
2720 2744
2721AC_CHECK_TYPES(in_addr_t,,, 2745AC_CHECK_TYPES([in_addr_t, in_port_t],,,
2722[#include <sys/types.h> 2746[#include <sys/types.h>
2723#include <netinet/in.h>]) 2747#include <netinet/in.h>])
2724 2748
@@ -3088,15 +3112,41 @@ if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
3088 file descriptor passing]) 3112 file descriptor passing])
3089fi 3113fi
3090 3114
3091AC_MSG_CHECKING(if f_fsid has val members) 3115AC_MSG_CHECKING(if struct statvfs.f_fsid is integral type)
3092AC_TRY_COMPILE([ 3116AC_TRY_COMPILE([
3093#include <sys/types.h> 3117#include <sys/types.h>
3118#include <sys/stat.h>
3119#ifdef HAVE_SYS_TIME_H
3120# include <sys/time.h>
3121#endif
3122#ifdef HAVE_SYS_MOUNT_H
3123#include <sys/mount.h>
3124#endif
3125#ifdef HAVE_SYS_STATVFS_H
3126#include <sys/statvfs.h>
3127#endif
3128], [struct statvfs s; s.f_fsid = 0;],
3129[ AC_MSG_RESULT(yes) ],
3130[ AC_MSG_RESULT(no)
3131
3132 AC_MSG_CHECKING(if fsid_t has member val)
3133 AC_TRY_COMPILE([
3134#include <sys/types.h>
3094#include <sys/statvfs.h>], 3135#include <sys/statvfs.h>],
3095[struct fsid_t t; t.val[0] = 0;], 3136 [fsid_t t; t.val[0] = 0;],
3096 [ AC_MSG_RESULT(yes) 3137 [ AC_MSG_RESULT(yes)
3097 AC_DEFINE(FSID_HAS_VAL, 1, f_fsid has members) ], 3138 AC_DEFINE(FSID_HAS_VAL, 1, fsid_t has member val) ],
3098 [ AC_MSG_RESULT(no) ] 3139 [ AC_MSG_RESULT(no) ])
3099) 3140
3141 AC_MSG_CHECKING(if f_fsid has member __val)
3142 AC_TRY_COMPILE([
3143#include <sys/types.h>
3144#include <sys/statvfs.h>],
3145 [fsid_t t; t.__val[0] = 0;],
3146 [ AC_MSG_RESULT(yes)
3147 AC_DEFINE(FSID_HAS___VAL, 1, fsid_t has member __val) ],
3148 [ AC_MSG_RESULT(no) ])
3149])
3100 3150
3101AC_CACHE_CHECK([for msg_control field in struct msghdr], 3151AC_CACHE_CHECK([for msg_control field in struct msghdr],
3102 ac_cv_have_control_in_msghdr, [ 3152 ac_cv_have_control_in_msghdr, [
@@ -3298,12 +3348,30 @@ AC_SEARCH_LIBS(getrrsetbyname, resolv,
3298 AC_SEARCH_LIBS(res_query, resolv) 3348 AC_SEARCH_LIBS(res_query, resolv)
3299 AC_SEARCH_LIBS(dn_expand, resolv) 3349 AC_SEARCH_LIBS(dn_expand, resolv)
3300 AC_MSG_CHECKING(if res_query will link) 3350 AC_MSG_CHECKING(if res_query will link)
3301 AC_TRY_LINK_FUNC(res_query, AC_MSG_RESULT(yes), 3351 AC_LINK_IFELSE([
3352#include "confdefs.h"
3353#include <sys/types.h>
3354#include <netinet/in.h>
3355#include <arpa/nameser.h>
3356#include <netdb.h>
3357#include <resolv.h>
3358int main()
3359{
3360 res_query (0, 0, 0, 0, 0);
3361 return 0;
3362}
3363 ],
3364 AC_MSG_RESULT(yes),
3302 [AC_MSG_RESULT(no) 3365 [AC_MSG_RESULT(no)
3303 saved_LIBS="$LIBS" 3366 saved_LIBS="$LIBS"
3304 LIBS="$LIBS -lresolv" 3367 LIBS="$LIBS -lresolv"
3305 AC_MSG_CHECKING(for res_query in -lresolv) 3368 AC_MSG_CHECKING(for res_query in -lresolv)
3306 AC_LINK_IFELSE([ 3369 AC_LINK_IFELSE([
3370#include "confdefs.h"
3371#include <sys/types.h>
3372#include <netinet/in.h>
3373#include <arpa/nameser.h>
3374#include <netdb.h>
3307#include <resolv.h> 3375#include <resolv.h>
3308int main() 3376int main()
3309{ 3377{
@@ -3311,8 +3379,7 @@ int main()
3311 return 0; 3379 return 0;
3312} 3380}
3313 ], 3381 ],
3314 [LIBS="$LIBS -lresolv" 3382 [AC_MSG_RESULT(yes)],
3315 AC_MSG_RESULT(yes)],
3316 [LIBS="$saved_LIBS" 3383 [LIBS="$saved_LIBS"
3317 AC_MSG_RESULT(no)]) 3384 AC_MSG_RESULT(no)])
3318 ]) 3385 ])
@@ -3378,10 +3445,10 @@ AC_ARG_WITH(kerberos5,
3378 AC_DEFINE(KRB5, 1, [Define if you want Kerberos 5 support]) 3445 AC_DEFINE(KRB5, 1, [Define if you want Kerberos 5 support])
3379 KRB5_MSG="yes" 3446 KRB5_MSG="yes"
3380 3447
3381 AC_MSG_CHECKING(for krb5-config) 3448 AC_PATH_PROG([KRB5CONF],[krb5-config],
3382 if test -x $KRB5ROOT/bin/krb5-config ; then 3449 [$KRB5ROOT/bin/krb5-config],
3383 KRB5CONF=$KRB5ROOT/bin/krb5-config 3450 [$KRB5ROOT/bin:$PATH])
3384 AC_MSG_RESULT($KRB5CONF) 3451 if test -x $KRB5CONF ; then
3385 3452
3386 AC_MSG_CHECKING(for gssapi support) 3453 AC_MSG_CHECKING(for gssapi support)
3387 if $KRB5CONF | grep gssapi >/dev/null ; then 3454 if $KRB5CONF | grep gssapi >/dev/null ; then
@@ -3407,7 +3474,6 @@ AC_ARG_WITH(kerberos5,
3407 AC_MSG_RESULT(no) 3474 AC_MSG_RESULT(no)
3408 ) 3475 )
3409 else 3476 else
3410 AC_MSG_RESULT(no)
3411 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" 3477 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
3412 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" 3478 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
3413 AC_MSG_CHECKING(whether we are using Heimdal) 3479 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/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 6a82936d4..fd287d8c0 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 */
@@ -1687,15 +1689,20 @@ monitor_apply_keystate(struct monitor *pmonitor)
1687 1689
1688 /* Network I/O buffers */ 1690 /* Network I/O buffers */
1689 /* XXX inefficient for large buffers, need: buffer_init_from_string */ 1691 /* XXX inefficient for large buffers, need: buffer_init_from_string */
1690 buffer_clear(&input); 1692 buffer_clear(packet_get_input());
1691 buffer_append(&input, child_state.input, child_state.ilen); 1693 buffer_append(packet_get_input(), child_state.input, child_state.ilen);
1692 memset(child_state.input, 0, child_state.ilen); 1694 memset(child_state.input, 0, child_state.ilen);
1693 xfree(child_state.input); 1695 xfree(child_state.input);
1694 1696
1695 buffer_clear(&output); 1697 buffer_clear(packet_get_output());
1696 buffer_append(&output, child_state.output, child_state.olen); 1698 buffer_append(packet_get_output(), child_state.output,
1699 child_state.olen);
1697 memset(child_state.output, 0, child_state.olen); 1700 memset(child_state.output, 0, child_state.olen);
1698 xfree(child_state.output); 1701 xfree(child_state.output);
1702
1703 /* Roaming */
1704 if (compat20)
1705 roam_set_bytes(child_state.sent_bytes, child_state.recv_bytes);
1699} 1706}
1700 1707
1701static Kex * 1708static Kex *
@@ -1818,6 +1825,12 @@ mm_get_keystate(struct monitor *pmonitor)
1818 child_state.input = buffer_get_string(&m, &child_state.ilen); 1825 child_state.input = buffer_get_string(&m, &child_state.ilen);
1819 child_state.output = buffer_get_string(&m, &child_state.olen); 1826 child_state.output = buffer_get_string(&m, &child_state.olen);
1820 1827
1828 /* Roaming */
1829 if (compat20) {
1830 child_state.sent_bytes = buffer_get_int64(&m);
1831 child_state.recv_bytes = buffer_get_int64(&m);
1832 }
1833
1821 buffer_free(&m); 1834 buffer_free(&m);
1822} 1835}
1823 1836
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 5f608b3b6..a737fce7a 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
@@ -508,7 +508,7 @@ mm_newkeys_to_blob(int mode, u_char **blobp, u_int *lenp)
508 Enc *enc; 508 Enc *enc;
509 Mac *mac; 509 Mac *mac;
510 Comp *comp; 510 Comp *comp;
511 Newkeys *newkey = newkeys[mode]; 511 Newkeys *newkey = (Newkeys *)packet_get_newkeys(mode);
512 512
513 debug3("%s: converting %p", __func__, newkey); 513 debug3("%s: converting %p", __func__, newkey);
514 514
@@ -570,7 +570,7 @@ mm_send_kex(Buffer *m, Kex *kex)
570void 570void
571mm_send_keystate(struct monitor *monitor) 571mm_send_keystate(struct monitor *monitor)
572{ 572{
573 Buffer m; 573 Buffer m, *input, *output;
574 u_char *blob, *p; 574 u_char *blob, *p;
575 u_int bloblen, plen; 575 u_int bloblen, plen;
576 u_int32_t seqnr, packets; 576 u_int32_t seqnr, packets;
@@ -608,7 +608,8 @@ mm_send_keystate(struct monitor *monitor)
608 } 608 }
609 609
610 debug3("%s: Sending new keys: %p %p", 610 debug3("%s: Sending new keys: %p %p",
611 __func__, newkeys[MODE_OUT], newkeys[MODE_IN]); 611 __func__, packet_get_newkeys(MODE_OUT),
612 packet_get_newkeys(MODE_IN));
612 613
613 /* Keys from Kex */ 614 /* Keys from Kex */
614 if (!mm_newkeys_to_blob(MODE_OUT, &blob, &bloblen)) 615 if (!mm_newkeys_to_blob(MODE_OUT, &blob, &bloblen))
@@ -655,8 +656,16 @@ mm_send_keystate(struct monitor *monitor)
655 buffer_put_string(&m, &incoming_stream, sizeof(incoming_stream)); 656 buffer_put_string(&m, &incoming_stream, sizeof(incoming_stream));
656 657
657 /* Network I/O buffers */ 658 /* Network I/O buffers */
658 buffer_put_string(&m, buffer_ptr(&input), buffer_len(&input)); 659 input = (Buffer *)packet_get_input();
659 buffer_put_string(&m, buffer_ptr(&output), buffer_len(&output)); 660 output = (Buffer *)packet_get_output();
661 buffer_put_string(&m, buffer_ptr(input), buffer_len(input));
662 buffer_put_string(&m, buffer_ptr(output), buffer_len(output));
663
664 /* Roaming */
665 if (compat20) {
666 buffer_put_int64(&m, get_sent_bytes());
667 buffer_put_int64(&m, get_recv_bytes());
668 }
660 669
661 mm_request_send(monitor->m_recvfd, MONITOR_REQ_KEYEXPORT, &m); 670 mm_request_send(monitor->m_recvfd, MONITOR_REQ_KEYEXPORT, &m);
662 debug3("%s: Finished sending state", __func__); 671 debug3("%s: Finished sending state", __func__);
@@ -1327,7 +1336,7 @@ mm_auth2_jpake_get_pwdata(Authctxt *authctxt, BIGNUM **s,
1327} 1336}
1328 1337
1329void 1338void
1330mm_jpake_step1(struct jpake_group *grp, 1339mm_jpake_step1(struct modp_group *grp,
1331 u_char **id, u_int *id_len, 1340 u_char **id, u_int *id_len,
1332 BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2, 1341 BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2,
1333 u_char **priv1_proof, u_int *priv1_proof_len, 1342 u_char **priv1_proof, u_int *priv1_proof_len,
@@ -1362,7 +1371,7 @@ mm_jpake_step1(struct jpake_group *grp,
1362} 1371}
1363 1372
1364void 1373void
1365mm_jpake_step2(struct jpake_group *grp, BIGNUM *s, 1374mm_jpake_step2(struct modp_group *grp, BIGNUM *s,
1366 BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2, 1375 BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2,
1367 const u_char *theirid, u_int theirid_len, 1376 const u_char *theirid, u_int theirid_len,
1368 const u_char *myid, u_int myid_len, 1377 const u_char *myid, u_int myid_len,
@@ -1402,7 +1411,7 @@ mm_jpake_step2(struct jpake_group *grp, BIGNUM *s,
1402} 1411}
1403 1412
1404void 1413void
1405mm_jpake_key_confirm(struct jpake_group *grp, BIGNUM *s, BIGNUM *step2_val, 1414mm_jpake_key_confirm(struct modp_group *grp, BIGNUM *s, BIGNUM *step2_val,
1406 BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2, 1415 BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2,
1407 BIGNUM *theirpub1, BIGNUM *theirpub2, 1416 BIGNUM *theirpub1, BIGNUM *theirpub2,
1408 const u_char *my_id, u_int my_id_len, 1417 const u_char *my_id, u_int my_id_len,
diff --git a/monitor_wrap.h b/monitor_wrap.h
index 1e6f8b30e..432953fbf 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>
@@ -104,17 +104,17 @@ int mm_skey_query(void *, char **, char **, u_int *, char ***, u_int **);
104int mm_skey_respond(void *, u_int, char **); 104int mm_skey_respond(void *, u_int, char **);
105 105
106/* jpake */ 106/* jpake */
107struct jpake_group; 107struct modp_group;
108void mm_auth2_jpake_get_pwdata(struct Authctxt *, BIGNUM **, char **, char **); 108void mm_auth2_jpake_get_pwdata(struct Authctxt *, BIGNUM **, char **, char **);
109void mm_jpake_step1(struct jpake_group *, u_char **, u_int *, 109void mm_jpake_step1(struct modp_group *, u_char **, u_int *,
110 BIGNUM **, BIGNUM **, BIGNUM **, BIGNUM **, 110 BIGNUM **, BIGNUM **, BIGNUM **, BIGNUM **,
111 u_char **, u_int *, u_char **, u_int *); 111 u_char **, u_int *, u_char **, u_int *);
112void mm_jpake_step2(struct jpake_group *, BIGNUM *, 112void mm_jpake_step2(struct modp_group *, BIGNUM *,
113 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, 113 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *,
114 const u_char *, u_int, const u_char *, u_int, 114 const u_char *, u_int, const u_char *, u_int,
115 const u_char *, u_int, const u_char *, u_int, 115 const u_char *, u_int, const u_char *, u_int,
116 BIGNUM **, u_char **, u_int *); 116 BIGNUM **, u_char **, u_int *);
117void mm_jpake_key_confirm(struct jpake_group *, BIGNUM *, BIGNUM *, 117void mm_jpake_key_confirm(struct modp_group *, BIGNUM *, BIGNUM *,
118 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, 118 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *,
119 const u_char *, u_int, const u_char *, u_int, 119 const u_char *, u_int, const u_char *, u_int,
120 const u_char *, u_int, const u_char *, u_int, 120 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 484db3e5f..b6abeed06 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
@@ -131,7 +131,7 @@ typedef enum {
131 oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, 131 oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly,
132 oSendEnv, oControlPath, oControlMaster, oHashKnownHosts, 132 oSendEnv, oControlPath, oControlMaster, oHashKnownHosts,
133 oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, 133 oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand,
134 oVisualHostKey, oZeroKnowledgePasswordAuthentication, 134 oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication,
135 oDeprecated, oUnsupported 135 oDeprecated, oUnsupported
136} OpCodes; 136} OpCodes;
137 137
@@ -237,6 +237,7 @@ static struct {
237 { "localcommand", oLocalCommand }, 237 { "localcommand", oLocalCommand },
238 { "permitlocalcommand", oPermitLocalCommand }, 238 { "permitlocalcommand", oPermitLocalCommand },
239 { "visualhostkey", oVisualHostKey }, 239 { "visualhostkey", oVisualHostKey },
240 { "useroaming", oUseRoaming },
240#ifdef JPAKE 241#ifdef JPAKE
241 { "zeroknowledgepasswordauthentication", 242 { "zeroknowledgepasswordauthentication",
242 oZeroKnowledgePasswordAuthentication }, 243 oZeroKnowledgePasswordAuthentication },
@@ -939,6 +940,10 @@ parse_int:
939 intptr = &options->visual_host_key; 940 intptr = &options->visual_host_key;
940 goto parse_flag; 941 goto parse_flag;
941 942
943 case oUseRoaming:
944 intptr = &options->use_roaming;
945 goto parse_flag;
946
942 case oDeprecated: 947 case oDeprecated:
943 debug("%s line %d: Deprecated option \"%s\"", 948 debug("%s line %d: Deprecated option \"%s\"",
944 filename, linenum, keyword); 949 filename, linenum, keyword);
@@ -1092,6 +1097,7 @@ initialize_options(Options * options)
1092 options->tun_remote = -1; 1097 options->tun_remote = -1;
1093 options->local_command = NULL; 1098 options->local_command = NULL;
1094 options->permit_local_command = -1; 1099 options->permit_local_command = -1;
1100 options->use_roaming = -1;
1095 options->visual_host_key = -1; 1101 options->visual_host_key = -1;
1096 options->zero_knowledge_password_authentication = -1; 1102 options->zero_knowledge_password_authentication = -1;
1097} 1103}
@@ -1234,6 +1240,8 @@ fill_default_options(Options * options)
1234 options->tun_remote = SSH_TUNID_ANY; 1240 options->tun_remote = SSH_TUNID_ANY;
1235 if (options->permit_local_command == -1) 1241 if (options->permit_local_command == -1)
1236 options->permit_local_command = 0; 1242 options->permit_local_command = 0;
1243 if (options->use_roaming == -1)
1244 options->use_roaming = 1;
1237 if (options->visual_host_key == -1) 1245 if (options->visual_host_key == -1)
1238 options->visual_host_key = 0; 1246 options->visual_host_key = 0;
1239 if (options->zero_knowledge_password_authentication == -1) 1247 if (options->zero_knowledge_password_authentication == -1)
diff --git a/readconf.h b/readconf.h
index 1fc653b1b..c3de71f3e 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>
@@ -127,6 +127,8 @@ typedef struct {
127 int permit_local_command; 127 int permit_local_command;
128 int visual_host_key; 128 int visual_host_key;
129 129
130 int use_roaming;
131
130} Options; 132} Options;
131 133
132#define SSHCTL_MASTER_NO 0 134#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 68c44fc81..d9726c435 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
@@ -354,7 +354,7 @@ static struct {
354 { "hostbasedusesnamefrompacketonly", sHostbasedUsesNameFromPacketOnly, SSHCFG_GLOBAL }, 354 { "hostbasedusesnamefrompacketonly", sHostbasedUsesNameFromPacketOnly, SSHCFG_GLOBAL },
355 { "rsaauthentication", sRSAAuthentication, SSHCFG_ALL }, 355 { "rsaauthentication", sRSAAuthentication, SSHCFG_ALL },
356 { "pubkeyauthentication", sPubkeyAuthentication, SSHCFG_ALL }, 356 { "pubkeyauthentication", sPubkeyAuthentication, SSHCFG_ALL },
357 { "dsaauthentication", sPubkeyAuthentication, SSHCFG_GLOBAL }, /* alias */ 357 { "dsaauthentication", sPubkeyAuthentication, SSHCFG_GLOBAL }, /* alias */
358#ifdef KRB5 358#ifdef KRB5
359 { "kerberosauthentication", sKerberosAuthentication, SSHCFG_ALL }, 359 { "kerberosauthentication", sKerberosAuthentication, SSHCFG_ALL },
360 { "kerberosorlocalpasswd", sKerberosOrLocalPasswd, SSHCFG_GLOBAL }, 360 { "kerberosorlocalpasswd", sKerberosOrLocalPasswd, SSHCFG_GLOBAL },
@@ -434,10 +434,10 @@ static struct {
434 { "clientalivecountmax", sClientAliveCountMax, SSHCFG_GLOBAL }, 434 { "clientalivecountmax", sClientAliveCountMax, SSHCFG_GLOBAL },
435 { "authorizedkeysfile", sAuthorizedKeysFile, SSHCFG_GLOBAL }, 435 { "authorizedkeysfile", sAuthorizedKeysFile, SSHCFG_GLOBAL },
436 { "authorizedkeysfile2", sAuthorizedKeysFile2, SSHCFG_GLOBAL }, 436 { "authorizedkeysfile2", sAuthorizedKeysFile2, SSHCFG_GLOBAL },
437 { "useprivilegeseparation", sUsePrivilegeSeparation, SSHCFG_GLOBAL }, 437 { "useprivilegeseparation", sUsePrivilegeSeparation, SSHCFG_GLOBAL},
438 { "acceptenv", sAcceptEnv, SSHCFG_GLOBAL }, 438 { "acceptenv", sAcceptEnv, SSHCFG_GLOBAL },
439 { "permittunnel", sPermitTunnel, SSHCFG_GLOBAL }, 439 { "permittunnel", sPermitTunnel, SSHCFG_GLOBAL },
440 { "match", sMatch, SSHCFG_ALL }, 440 { "match", sMatch, SSHCFG_ALL },
441 { "permitopen", sPermitOpen, SSHCFG_ALL }, 441 { "permitopen", sPermitOpen, SSHCFG_ALL },
442 { "forcecommand", sForceCommand, SSHCFG_ALL }, 442 { "forcecommand", sForceCommand, SSHCFG_ALL },
443 { "chrootdirectory", sChrootDirectory, SSHCFG_ALL }, 443 { "chrootdirectory", sChrootDirectory, SSHCFG_ALL },
@@ -1405,7 +1405,7 @@ parse_server_match_config(ServerOptions *options, const char *user,
1405/* 1405/*
1406 * Copy any supported values that are set. 1406 * Copy any supported values that are set.
1407 * 1407 *
1408 * If the preauth flag is set, we do not bother copying the the string or 1408 * If the preauth flag is set, we do not bother copying the string or
1409 * array values that are not used pre-authentication, because any that we 1409 * array values that are not used pre-authentication, because any that we
1410 * do use must be explictly sent in mm_getpwnamallow(). 1410 * do use must be explictly sent in mm_getpwnamallow().
1411 */ 1411 */
diff --git a/serverloop.c b/serverloop.c
index 81cafe6ad..8be01c5c3 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 f2549e0cd..f4a363543 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);
@@ -1540,6 +1533,10 @@ do_setusercontext(struct passwd *pw)
1540 free(chroot_path); 1533 free(chroot_path);
1541 } 1534 }
1542 1535
1536#ifdef HAVE_SETPCRED
1537 if (setpcred(pw->pw_name, (char **)NULL) == -1)
1538 fatal("Failed to set process credentials");
1539#endif /* HAVE_SETPCRED */
1543#ifdef HAVE_LOGIN_CAP 1540#ifdef HAVE_LOGIN_CAP
1544 if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) { 1541 if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) {
1545 perror("unable to set user context (setuser)"); 1542 perror("unable to set user context (setuser)");
@@ -1551,9 +1548,6 @@ do_setusercontext(struct passwd *pw)
1551#endif 1548#endif
1552 } 1549 }
1553 1550
1554#ifdef HAVE_CYGWIN
1555 if (is_winnt)
1556#endif
1557 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) 1551 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid)
1558 fatal("Failed to set uids to %u.", (u_int) pw->pw_uid); 1552 fatal("Failed to set uids to %u.", (u_int) pw->pw_uid);
1559 1553
@@ -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 74c1e4bc5..372b0770e 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 421783be3..6c6271ee4 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 9d43bb74f..adfe60e4b 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"
@@ -600,7 +602,7 @@ main(int ac, char **av)
600 * Initialize "log" output. Since we are the client all output 602 * Initialize "log" output. Since we are the client all output
601 * actually goes to stderr. 603 * actually goes to stderr.
602 */ 604 */
603 log_init(av[0], 605 log_init(argv0,
604 options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level, 606 options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level,
605 SYSLOG_FACILITY_USER, !use_syslog); 607 SYSLOG_FACILITY_USER, !use_syslog);
606 608
@@ -613,9 +615,10 @@ main(int ac, char **av)
613 fatal("Can't open user config file %.100s: " 615 fatal("Can't open user config file %.100s: "
614 "%.100s", config, strerror(errno)); 616 "%.100s", config, strerror(errno));
615 } else { 617 } else {
616 snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, 618 r = snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir,
617 _PATH_SSH_USER_CONFFILE); 619 _PATH_SSH_USER_CONFFILE);
618 (void)read_config_file(buf, host, &options, 1); 620 if (r > 0 && (size_t)r < sizeof(buf))
621 (void)read_config_file(buf, host, &options, 1);
619 622
620 /* Read systemwide configuration file after use config. */ 623 /* Read systemwide configuration file after use config. */
621 (void)read_config_file(_PATH_HOST_CONFIG_FILE, host, 624 (void)read_config_file(_PATH_HOST_CONFIG_FILE, host,
@@ -628,7 +631,7 @@ main(int ac, char **av)
628 channel_set_af(options.address_family); 631 channel_set_af(options.address_family);
629 632
630 /* reinit */ 633 /* reinit */
631 log_init(av[0], options.log_level, SYSLOG_FACILITY_USER, !use_syslog); 634 log_init(argv0, options.log_level, SYSLOG_FACILITY_USER, !use_syslog);
632 635
633 seed_rng(); 636 seed_rng();
634 637
@@ -766,9 +769,9 @@ main(int ac, char **av)
766 * Now that we are back to our own permissions, create ~/.ssh 769 * Now that we are back to our own permissions, create ~/.ssh
767 * directory if it doesn't already exist. 770 * directory if it doesn't already exist.
768 */ 771 */
769 snprintf(buf, sizeof buf, "%.100s%s%.100s", pw->pw_dir, 772 r = snprintf(buf, sizeof buf, "%s%s%s", pw->pw_dir,
770 strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR); 773 strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR);
771 if (stat(buf, &st) < 0) 774 if (r > 0 && (size_t)r < sizeof(buf) && stat(buf, &st) < 0)
772 if (mkdir(buf, 0700) < 0) 775 if (mkdir(buf, 0700) < 0)
773 error("Could not create directory '%.200s'.", buf); 776 error("Could not create directory '%.200s'.", buf);
774 777
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 c04aa1057..3e57e859d 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_VERSION, compat20 ? "\r\n" : "\n"); 540 SSH_VERSION, 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 a96153903..77806595c 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
@@ -305,6 +306,7 @@ Authmethod authmethods[] = {
305#ifdef GSSAPI 306#ifdef GSSAPI
306 {"gssapi-keyex", 307 {"gssapi-keyex",
307 userauth_gsskeyex, 308 userauth_gsskeyex,
309 NULL,
308 &options.gss_authentication, 310 &options.gss_authentication,
309 NULL}, 311 NULL},
310 {"gssapi-with-mic", 312 {"gssapi-with-mic",
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 a4b9e90c7..111d491d9 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
@@ -543,7 +543,7 @@ for more information on patterns.
543In addition to the wildcard matching that may be applied to hostnames or 543In addition to the wildcard matching that may be applied to hostnames or
544addresses, a 544addresses, a
545.Cm from 545.Cm from
546stanza may match IP addressess using CIDR address/masklen notation. 546stanza may match IP addresses using CIDR address/masklen notation.
547.Pp 547.Pp
548The purpose of this option is to optionally increase security: public key 548The purpose of this option is to optionally increase security: public key
549authentication by itself does not trust the network or name servers or 549authentication by itself does not trust the network or name servers or
diff --git a/sshd.c b/sshd.c
index 4228ca550..2b2cc81a5 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
@@ -423,7 +424,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
423 server_version_string = xstrdup(buf); 424 server_version_string = xstrdup(buf);
424 425
425 /* Send our protocol version identification. */ 426 /* Send our protocol version identification. */
426 if (atomicio(vwrite, sock_out, server_version_string, 427 if (roaming_atomicio(vwrite, sock_out, server_version_string,
427 strlen(server_version_string)) 428 strlen(server_version_string))
428 != strlen(server_version_string)) { 429 != strlen(server_version_string)) {
429 logit("Could not write ident string to %s", get_remote_ipaddr()); 430 logit("Could not write ident string to %s", get_remote_ipaddr());
@@ -433,7 +434,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
433 /* Read other sides version identification. */ 434 /* Read other sides version identification. */
434 memset(buf, 0, sizeof(buf)); 435 memset(buf, 0, sizeof(buf));
435 for (i = 0; i < sizeof(buf) - 1; i++) { 436 for (i = 0; i < sizeof(buf) - 1; i++) {
436 if (atomicio(read, sock_in, &buf[i], 1) != 1) { 437 if (roaming_atomicio(read, sock_in, &buf[i], 1) != 1) {
437 logit("Did not receive identification string from %s", 438 logit("Did not receive identification string from %s",
438 get_remote_ipaddr()); 439 get_remote_ipaddr());
439 cleanup_exit(255); 440 cleanup_exit(255);
@@ -581,7 +582,7 @@ demote_sensitive_data(void)
581static void 582static void
582privsep_preauth_child(void) 583privsep_preauth_child(void)
583{ 584{
584 u_int32_t rnd[256]; 585 u_int32_t rnd[256];
585 gid_t gidset[1]; 586 gid_t gidset[1];
586 587
587 /* Enable challenge-response authentication for privilege separation */ 588 /* 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 a3357d445..6c3ef6947 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
@@ -176,10 +176,9 @@ then no banner is displayed.
176This option is only available for protocol version 2. 176This option is only available for protocol version 2.
177By default, no banner is displayed. 177By default, no banner is displayed.
178.It Cm ChallengeResponseAuthentication 178.It Cm ChallengeResponseAuthentication
179Specifies whether challenge-response authentication is allowed. 179Specifies whether challenge-response authentication is allowed (e.g. via
180All authentication styles from 180PAM or though authentication styles supported in
181.Xr login.conf 5 181.Xr login.conf 5 )
182are supported.
183The default is 182The default is
184.Dq yes . 183.Dq yes .
185.It Cm ChrootDirectory 184.It Cm ChrootDirectory
@@ -188,6 +187,9 @@ Specifies a path to
188to after authentication. 187to after authentication.
189This path, and all its components, must be root-owned directories that are 188This path, and all its components, must be root-owned directories that are
190not writable by any other user or group. 189not writable by any other user or group.
190After the chroot,
191.Xr sshd 8
192changes the working directory to the user's home directory.
191.Pp 193.Pp
192The path may contain the following tokens that are expanded at runtime once 194The path may contain the following tokens that are expanded at runtime once
193the connecting user has been authenticated: %% is replaced by a literal '%', 195the connecting user has been authenticated: %% is replaced by a literal '%',
@@ -197,7 +199,7 @@ the connecting user has been authenticated: %% is replaced by a literal '%',
197The 199The
198.Cm ChrootDirectory 200.Cm ChrootDirectory
199must contain the necessary files and directories to support the 201must contain the necessary files and directories to support the
200users' session. 202user's session.
201For an interactive session this requires at least a shell, typically 203For an interactive session this requires at least a shell, typically
202.Xr sh 1 , 204.Xr sh 1 ,
203and basic 205and basic
@@ -215,8 +217,11 @@ devices.
215For file transfer sessions using 217For file transfer sessions using
216.Dq sftp , 218.Dq sftp ,
217no additional configuration of the environment is necessary if the 219no additional configuration of the environment is necessary if the
218in-process sftp server is used (see 220in-process sftp server is used,
219.Cm Subsystem 221though sessions which use logging do require
222.Pa /dev/log
223inside the chroot directory (see
224.Xr sftp-server 8
220for details). 225for details).
221.Pp 226.Pp
222The default is not to 227The 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 f2f3196ab..721ebdea0 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 SSH_VERSION SSH_PORTABLE 6#define SSH_RELEASE SSH_VERSION SSH_PORTABLE