diff options
92 files changed, 8892 insertions, 6376 deletions
@@ -1,3 +1,282 @@ | |||
1 | 20090926 | ||
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 | |||
8 | 20090911 | ||
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 | |||
13 | 20090908 | ||
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 | |||
17 | 20090901 | ||
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 | |||
22 | 20090829 | ||
23 | - (dtucker) [README.platform] Add text about development packages, based on | ||
24 | text from Chris Pepper in bug #1631. | ||
25 | |||
26 | 20090828 | ||
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 | |||
45 | 20090820 | ||
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 | |||
54 | 20090817 | ||
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 | |||
61 | 20090729 | ||
62 | - (tim) [contrib/cygwin/ssh-user-config] Change script to call correct error | ||
63 | function. Patch from Corinna Vinschen. | ||
64 | |||
65 | 20090713 | ||
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 | |||
70 | 20090712 | ||
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 | |||
79 | 20090707 | ||
80 | - (dtucker) [contrib/cygwin/ssh-host-config] better support for automated | ||
81 | scripts and fix usage of eval. Patch from Corinna Vinschen. | ||
82 | |||
83 | 20090705 | ||
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 | |||
114 | 20090622 | ||
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 | |||
122 | 20090621 | ||
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 | |||
235 | 20090616 | ||
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 | |||
239 | 20090504 | ||
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 | |||
244 | 20090318 | ||
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 | |||
249 | 20090308 | ||
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 | |||
255 | 20090307 | ||
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 | |||
268 | 20090306 | ||
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 | |||
1 | 20090223 | 280 | 20090223 |
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 @@ | |||
1 | 20100124 | ||
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 | |||
1 | 20090615 | 9 | 20090615 |
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 | ||
77 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ | 77 | SSHOBJS= 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 | ||
80 | SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ | 81 | SSHDOBJS=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 | ||
92 | MANPAGES = 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 | 94 | MANPAGES = 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 |
93 | MANPAGES_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 | 95 | MANPAGES_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 | |||
152 | ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o | 154 | ssh-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 | ||
155 | ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o | 157 | ssh-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 | ||
158 | ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o | 160 | ssh-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 | ||
161 | sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o sftp-server-main.o | 163 | sftp-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 | ||
243 | scard-install: | 245 | scard-install: |
244 | (cd scard && $(MAKE) DESTDIR=$(DESTDIR) install) | 246 | (cd scard && env DESTDIR=$(DESTDIR) $(MAKE) DESTDIR=$(DESTDIR) install) |
245 | 247 | ||
246 | install-files: scard-install | 248 | install-files: scard-install |
247 | $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) | 249 | $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) |
@@ -1,4 +1,4 @@ | |||
1 | See http://www.openssh.com/txt/release-5.2 for the release notes. | 1 | See 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 | ||
59 | Linux | ||
60 | ----- | ||
61 | |||
62 | Some Linux distributions (including Red Hat/Fedora/CentOS) include | ||
63 | headers and library links in the -devel RPMs rather than the main | ||
64 | binary RPMs. If you get an error about headers, or complaining about a | ||
65 | missing prerequisite then you may need to install the equivalent | ||
66 | development packages. On Redhat based distros these may be openssl-devel, | ||
67 | zlib-devel and pam-devel, on Debian based distros these may be | ||
68 | libssl-dev, libz-dev and libpam-dev. | ||
69 | |||
70 | |||
59 | Solaris | 71 | Solaris |
60 | ------- | 72 | ------- |
61 | If you enable BSM auditing on Solaris, you need to update audit_event(4) | 73 | If 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 | |||
81 | return the output from pam_nologin to the client. | 93 | return 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; | |||
53 | extern int saved_argc; | 49 | extern int saved_argc; |
54 | extern char **saved_argv; | 50 | extern char **saved_argv; |
55 | 51 | ||
56 | static int | ||
57 | sia_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 | |||
102 | int | 52 | int |
103 | sys_auth_passwd(Authctxt *authctxt, const char *pass) | 53 | sys_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 | ||
@@ -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 | */ |
365 | static int | 366 | static 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 | ||
@@ -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 | ||
37 | static void check_ip_options(int, char *); | 37 | static void check_ip_options(int, char *); |
38 | static char *canonical_host_ip = NULL; | ||
39 | static 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 | ||
309 | void | ||
310 | clear_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) | |||
312 | const char * | 324 | const char * |
313 | get_remote_ipaddr(void) | 325 | get_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) | |||
402 | int | 412 | int |
403 | get_remote_port(void) | 413 | get_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 | ||
414 | int | 422 | int |
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); | |||
24 | int get_remote_port(void); | 24 | int get_remote_port(void); |
25 | int get_local_port(void); | 25 | int get_local_port(void); |
26 | int get_sock_port(int, int); | 26 | int get_sock_port(int, int); |
27 | 27 | void clear_cached_addr(void); | |
28 | 28 | ||
29 | void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *); | 29 | void 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 | ||
501 | static void | 502 | static void |
502 | server_alive_check(void) | 503 | server_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) | |||
638 | static void | 639 | static void |
639 | client_process_net_input(fd_set *readset) | 640 | client_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 | |||
1132 | client_process_input(fd_set *readset) | 1133 | client_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 |
@@ -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 | |||
18 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 18 | if 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 | |||
40 | as_cr_digits='0123456789' | 40 | as_cr_digits='0123456789' |
41 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 41 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
42 | 42 | ||
43 | # The user is always right. | 43 | as_nl=' |
44 | if test "${PATH_SEPARATOR+set}" != set; then | 44 | ' |
45 | echo "#! /bin/sh" >conf$$.sh | 45 | export as_nl |
46 | echo "exit 0" >>conf$$.sh | 46 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
47 | chmod +x conf$$.sh | 47 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
48 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
49 | PATH_SEPARATOR=';' | 49 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
50 | if (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' | ||
53 | else | ||
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' | ||
73 | fi | ||
74 | |||
75 | # The user is always right. | ||
76 | if 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 | } | ||
54 | fi | 82 | fi |
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.) |
69 | as_nl=' | ||
70 | ' | ||
71 | IFS=" "" $as_nl" | 97 | IFS=" "" $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 |
91 | fi | 117 | fi |
92 | if test ! -f "$as_myself"; then | 118 | if 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; } |
95 | fi | 121 | fi |
96 | 122 | ||
@@ -103,17 +129,10 @@ PS2='> ' | |||
103 | PS4='+ ' | 129 | PS4='+ ' |
104 | 130 | ||
105 | # NLS nuisances. | 131 | # NLS nuisances. |
106 | for as_var in \ | 132 | LC_ALL=C |
107 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 133 | export LC_ALL |
108 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 134 | LANGUAGE=C |
109 | LC_TELEPHONE LC_TIME | 135 | export LANGUAGE |
110 | do | ||
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 | ||
116 | done | ||
117 | 136 | ||
118 | # Required to use basename. | 137 | # Required to use basename. |
119 | if expr a : '\(a\)' >/dev/null 2>&1 && | 138 | if 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 || |
138 | echo 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 |
162 | fi | 181 | fi |
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 | |||
243 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 262 | if 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 | |||
264 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 283 | if 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+"$@"} |
351 | fi | 370 | fi |
352 | 371 | ||
353 | 372 | ||
@@ -416,9 +435,10 @@ fi | |||
416 | 435 | ||
417 | test \$exitcode = 0") || { | 436 | test \$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';; |
484 | esac | 504 | esac |
485 | |||
486 | if expr a : '\(a\)' >/dev/null 2>&1 && | 505 | if 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 |
496 | else | 515 | else |
497 | rm -f conf$$.dir | 516 | rm -f conf$$.dir |
498 | mkdir conf$$.dir | 517 | mkdir conf$$.dir 2>/dev/null |
499 | fi | 518 | fi |
500 | echo >conf$$.file | 519 | if (echo >conf$$.file) 2>/dev/null; then |
501 | if 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' |
509 | elif ln conf$$.file conf$$ 2>/dev/null; then | 532 | fi |
510 | as_ln_s=ln | ||
511 | else | 533 | else |
512 | as_ln_s='cp -p' | 534 | as_ln_s='cp -p' |
513 | fi | 535 | fi |
@@ -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 | |||
714 | PROG_TAIL | 736 | PROG_TAIL |
715 | INSTALL_SSH_PRNG_CMDS | 737 | INSTALL_SSH_PRNG_CMDS |
716 | OPENSC_CONFIG | 738 | OPENSC_CONFIG |
739 | KRB5CONF | ||
717 | PRIVSEP_PATH | 740 | PRIVSEP_PATH |
718 | xauth_path | 741 | xauth_path |
719 | STRIP_OPT | 742 | STRIP_OPT |
@@ -727,6 +750,60 @@ TEST_SSH_IPV6 | |||
727 | LIBOBJS | 750 | LIBOBJS |
728 | LTLIBOBJS' | 751 | LTLIBOBJS' |
729 | ac_subst_files='' | 752 | ac_subst_files='' |
753 | ac_user_opts=' | ||
754 | enable_option_checking | ||
755 | enable_largefile | ||
756 | with_stackprotect | ||
757 | with_rpath | ||
758 | with_cflags | ||
759 | with_cppflags | ||
760 | with_ldflags | ||
761 | with_libs | ||
762 | with_Werror | ||
763 | with_solaris_contracts | ||
764 | with_osfsia | ||
765 | with_zlib | ||
766 | with_zlib_version_check | ||
767 | with_skey | ||
768 | with_tcp_wrappers | ||
769 | with_libedit | ||
770 | with_audit | ||
771 | with_ssl_dir | ||
772 | with_openssl_header_check | ||
773 | with_ssl_engine | ||
774 | with_pam | ||
775 | with_rand_helper | ||
776 | with_prngd_port | ||
777 | with_prngd_socket | ||
778 | with_entropy_timeout | ||
779 | with_privsep_user | ||
780 | with_sectok | ||
781 | with_opensc | ||
782 | with_selinux | ||
783 | with_kerberos5 | ||
784 | with_privsep_path | ||
785 | with_xauth | ||
786 | enable_strip | ||
787 | with_mantype | ||
788 | with_md5_passwords | ||
789 | with_shadow | ||
790 | with_ipaddr_display | ||
791 | enable_etc_default_login | ||
792 | with_default_path | ||
793 | with_superuser_path | ||
794 | with_4in6 | ||
795 | with_bsd_auth | ||
796 | with_pid_dir | ||
797 | enable_lastlog | ||
798 | enable_utmp | ||
799 | enable_utmpx | ||
800 | enable_wtmp | ||
801 | enable_wtmpx | ||
802 | enable_libutil | ||
803 | enable_pututline | ||
804 | enable_pututxline | ||
805 | with_lastlog | ||
806 | ' | ||
730 | ac_precious_vars='build_alias | 807 | ac_precious_vars='build_alias |
731 | host_alias | 808 | host_alias |
732 | target_alias | 809 | target_alias |
@@ -741,6 +818,8 @@ CPP' | |||
741 | # Initialize some variables set by options. | 818 | # Initialize some variables set by options. |
742 | ac_init_help= | 819 | ac_init_help= |
743 | ac_init_version=false | 820 | ac_init_version=false |
821 | ac_unrecognized_opts= | ||
822 | ac_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. |
746 | cache_file=/dev/null | 825 | cache_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 |
1094 | Try \`$0 --help' for more information." >&2 | 1205 | Try \`$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 | ||
1118 | if test -n "$ac_prev"; then | 1229 | if 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; }; } |
1122 | fi | 1233 | fi |
1123 | 1234 | ||
1124 | # Be sure to have absolute directory names. | 1235 | if 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 | ||
1242 | fi | ||
1243 | |||
1244 | # Check all directory arguments for consistency. | ||
1125 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1245 | for 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 |
1129 | do | 1249 | do |
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; }; } |
1137 | done | 1264 | done |
1138 | 1265 | ||
@@ -1147,7 +1274,7 @@ target=$target_alias | |||
1147 | if test "x$host_alias" != x; then | 1274 | if 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 | |||
1163 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1290 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1164 | ac_ls_di=`ls -di .` && | 1291 | ac_ls_di=`ls -di .` && |
1165 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1292 | ac_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; }; } |
1168 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1295 | test "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" || | |||
1174 | if test -z "$srcdir"; then | 1301 | if 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 || |
1182 | echo 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 | |||
1206 | fi | 1333 | fi |
1207 | if test ! -r "$srcdir/$ac_unique_file"; then | 1334 | if 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; }; } |
1211 | fi | 1338 | fi |
1212 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1339 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1213 | ac_abs_confdir=`( | 1340 | ac_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 | ||
1261 | Installation directories: | 1388 | Installation 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 | ||
1267 | By default, \`make install' will install all the files in | 1394 | By 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'. | |||
1272 | For better control, use the options below. | 1399 | For better control, use the options below. |
1273 | 1400 | ||
1274 | Fine tuning of the installation directories: | 1401 | Fine 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 | ||
1310 | Optional Features: | 1437 | Optional 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 | |||
1387 | if test "$ac_init_help" = "recursive"; then | 1515 | if 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 | ||
1393 | case "$ac_dir" in | 1523 | case "$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 | |||
1441 | if $ac_init_version; then | 1571 | if $ac_init_version; then |
1442 | cat <<\_ACEOF | 1572 | cat <<\_ACEOF |
1443 | OpenSSH configure Portable | 1573 | OpenSSH configure Portable |
1444 | generated by GNU Autoconf 2.61 | 1574 | generated by GNU Autoconf 2.62 |
1445 | 1575 | ||
1446 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1576 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1447 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 1577 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1448 | This configure script is free software; the Free Software Foundation | 1578 | This configure script is free software; the Free Software Foundation |
1449 | gives unlimited permission to copy, distribute and modify it. | 1579 | gives 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 | |||
1455 | running configure, to aid debugging if configure makes a mistake. | 1585 | running configure, to aid debugging if configure makes a mistake. |
1456 | 1586 | ||
1457 | It was created by OpenSSH $as_me Portable, which was | 1587 | It was created by OpenSSH $as_me Portable, which was |
1458 | generated by GNU Autoconf 2.61. Invocation command line was | 1588 | generated 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 | |||
1491 | do | 1621 | do |
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" |
1495 | done | 1625 | done |
1496 | IFS=$as_save_IFS | 1626 | IFS=$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 |
1582 | echo "$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. |
1825 | ac_site_file1=NONE | ||
1826 | ac_site_file2=NONE | ||
1694 | if test -n "$CONFIG_SITE"; then | 1827 | if test -n "$CONFIG_SITE"; then |
1695 | set x "$CONFIG_SITE" | 1828 | ac_site_file1=$CONFIG_SITE |
1696 | elif test "x$prefix" != xNONE; then | 1829 | elif 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 | ||
1698 | else | 1832 | else |
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 |
1701 | fi | 1835 | fi |
1702 | shift | 1836 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1703 | for ac_site_file | ||
1704 | do | 1837 | do |
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 |
1707 | echo "$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 |
1718 | echo "$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 |
1724 | else | 1858 | else |
1725 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 1859 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1726 | echo "$as_me: creating cache $cache_file" >&6;} | 1860 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1727 | >$cache_file | 1861 | >$cache_file |
1728 | fi | 1862 | fi |
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 |
1741 | echo "$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 |
1745 | echo "$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. |
1751 | echo "$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` |
1753 | echo "$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 |
1755 | echo "$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 |
1770 | done | 1913 | done |
1771 | if $ac_cache_corrupted; then | 1914 | if $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 |
1773 | echo "$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 |
1775 | echo "$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; }; } |
1777 | fi | 1920 | fi |
1778 | 1921 | ||
@@ -1820,10 +1963,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
1820 | if test -n "$ac_tool_prefix"; then | 1963 | if 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. |
1822 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 1965 | set 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 |
1824 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 1967 | $as_echo_n "checking for $ac_word... " >&6; } |
1825 | if test "${ac_cv_prog_CC+set}" = set; then | 1968 | if test "${ac_cv_prog_CC+set}" = set; then |
1826 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1969 | $as_echo_n "(cached) " >&6 |
1827 | else | 1970 | else |
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 |
1842 | done | 1985 | done |
@@ -1847,11 +1990,11 @@ fi | |||
1847 | fi | 1990 | fi |
1848 | CC=$ac_cv_prog_CC | 1991 | CC=$ac_cv_prog_CC |
1849 | if test -n "$CC"; then | 1992 | if test -n "$CC"; then |
1850 | { echo "$as_me:$LINENO: result: $CC" >&5 | 1993 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
1851 | echo "${ECHO_T}$CC" >&6; } | 1994 | $as_echo "$CC" >&6; } |
1852 | else | 1995 | else |
1853 | { echo "$as_me:$LINENO: result: no" >&5 | 1996 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
1854 | echo "${ECHO_T}no" >&6; } | 1997 | $as_echo "no" >&6; } |
1855 | fi | 1998 | fi |
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. |
1862 | set dummy gcc; ac_word=$2 | 2005 | set 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 |
1864 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2007 | $as_echo_n "checking for $ac_word... " >&6; } |
1865 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2008 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1866 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2009 | $as_echo_n "(cached) " >&6 |
1867 | else | 2010 | else |
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 |
1882 | done | 2025 | done |
@@ -1887,11 +2030,11 @@ fi | |||
1887 | fi | 2030 | fi |
1888 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2031 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1889 | if test -n "$ac_ct_CC"; then | 2032 | if 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 |
1891 | echo "${ECHO_T}$ac_ct_CC" >&6; } | 2034 | $as_echo "$ac_ct_CC" >&6; } |
1892 | else | 2035 | else |
1893 | { echo "$as_me:$LINENO: result: no" >&5 | 2036 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
1894 | echo "${ECHO_T}no" >&6; } | 2037 | $as_echo "no" >&6; } |
1895 | fi | 2038 | fi |
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 |
1901 | yes:) | 2044 | yes:) |
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 |
1903 | whose name does not start with the host triplet. If you think this | 2046 | whose name does not start with the host triplet. If you think this |
1904 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | 2047 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
1905 | echo "$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 |
1906 | whose name does not start with the host triplet. If you think this | 2049 | whose name does not start with the host triplet. If you think this |
1907 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | 2050 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
1908 | ac_tool_warned=yes ;; | 2051 | ac_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. |
1919 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2062 | set 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 |
1921 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2064 | $as_echo_n "checking for $ac_word... " >&6; } |
1922 | if test "${ac_cv_prog_CC+set}" = set; then | 2065 | if test "${ac_cv_prog_CC+set}" = set; then |
1923 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2066 | $as_echo_n "(cached) " >&6 |
1924 | else | 2067 | else |
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 |
1939 | done | 2082 | done |
@@ -1944,11 +2087,11 @@ fi | |||
1944 | fi | 2087 | fi |
1945 | CC=$ac_cv_prog_CC | 2088 | CC=$ac_cv_prog_CC |
1946 | if test -n "$CC"; then | 2089 | if test -n "$CC"; then |
1947 | { echo "$as_me:$LINENO: result: $CC" >&5 | 2090 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
1948 | echo "${ECHO_T}$CC" >&6; } | 2091 | $as_echo "$CC" >&6; } |
1949 | else | 2092 | else |
1950 | { echo "$as_me:$LINENO: result: no" >&5 | 2093 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
1951 | echo "${ECHO_T}no" >&6; } | 2094 | $as_echo "no" >&6; } |
1952 | fi | 2095 | fi |
1953 | 2096 | ||
1954 | 2097 | ||
@@ -1957,10 +2100,10 @@ fi | |||
1957 | if test -z "$CC"; then | 2100 | if 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. |
1959 | set dummy cc; ac_word=$2 | 2102 | set 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 |
1961 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2104 | $as_echo_n "checking for $ac_word... " >&6; } |
1962 | if test "${ac_cv_prog_CC+set}" = set; then | 2105 | if test "${ac_cv_prog_CC+set}" = set; then |
1963 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2106 | $as_echo_n "(cached) " >&6 |
1964 | else | 2107 | else |
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 |
1984 | done | 2127 | done |
@@ -2001,11 +2144,11 @@ fi | |||
2001 | fi | 2144 | fi |
2002 | CC=$ac_cv_prog_CC | 2145 | CC=$ac_cv_prog_CC |
2003 | if test -n "$CC"; then | 2146 | if test -n "$CC"; then |
2004 | { echo "$as_me:$LINENO: result: $CC" >&5 | 2147 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2005 | echo "${ECHO_T}$CC" >&6; } | 2148 | $as_echo "$CC" >&6; } |
2006 | else | 2149 | else |
2007 | { echo "$as_me:$LINENO: result: no" >&5 | 2150 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2008 | echo "${ECHO_T}no" >&6; } | 2151 | $as_echo "no" >&6; } |
2009 | fi | 2152 | fi |
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. |
2018 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2161 | set 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 |
2020 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2163 | $as_echo_n "checking for $ac_word... " >&6; } |
2021 | if test "${ac_cv_prog_CC+set}" = set; then | 2164 | if test "${ac_cv_prog_CC+set}" = set; then |
2022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2165 | $as_echo_n "(cached) " >&6 |
2023 | else | 2166 | else |
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 |
2038 | done | 2181 | done |
@@ -2043,11 +2186,11 @@ fi | |||
2043 | fi | 2186 | fi |
2044 | CC=$ac_cv_prog_CC | 2187 | CC=$ac_cv_prog_CC |
2045 | if test -n "$CC"; then | 2188 | if test -n "$CC"; then |
2046 | { echo "$as_me:$LINENO: result: $CC" >&5 | 2189 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2047 | echo "${ECHO_T}$CC" >&6; } | 2190 | $as_echo "$CC" >&6; } |
2048 | else | 2191 | else |
2049 | { echo "$as_me:$LINENO: result: no" >&5 | 2192 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2050 | echo "${ECHO_T}no" >&6; } | 2193 | $as_echo "no" >&6; } |
2051 | fi | 2194 | fi |
2052 | 2195 | ||
2053 | 2196 | ||
@@ -2060,10 +2203,10 @@ if test -z "$CC"; then | |||
2060 | do | 2203 | do |
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. |
2062 | set dummy $ac_prog; ac_word=$2 | 2205 | set 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 |
2064 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2207 | $as_echo_n "checking for $ac_word... " >&6; } |
2065 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2208 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2066 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2209 | $as_echo_n "(cached) " >&6 |
2067 | else | 2210 | else |
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 |
2082 | done | 2225 | done |
@@ -2087,11 +2230,11 @@ fi | |||
2087 | fi | 2230 | fi |
2088 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2231 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2089 | if test -n "$ac_ct_CC"; then | 2232 | if 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 |
2091 | echo "${ECHO_T}$ac_ct_CC" >&6; } | 2234 | $as_echo "$ac_ct_CC" >&6; } |
2092 | else | 2235 | else |
2093 | { echo "$as_me:$LINENO: result: no" >&5 | 2236 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2094 | echo "${ECHO_T}no" >&6; } | 2237 | $as_echo "no" >&6; } |
2095 | fi | 2238 | fi |
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 |
2105 | yes:) | 2248 | yes:) |
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 |
2107 | whose name does not start with the host triplet. If you think this | 2250 | whose name does not start with the host triplet. If you think this |
2108 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | 2251 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2109 | echo "$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 |
2110 | whose name does not start with the host triplet. If you think this | 2253 | whose name does not start with the host triplet. If you think this |
2111 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | 2254 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
2112 | ac_tool_warned=yes ;; | 2255 | ac_tool_warned=yes ;; |
@@ -2118,44 +2261,48 @@ fi | |||
2118 | fi | 2261 | fi |
2119 | 2262 | ||
2120 | 2263 | ||
2121 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 2264 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2122 | See \`config.log' for more details." >&5 | 2265 | See \`config.log' for more details." >&5 |
2123 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 2266 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
2124 | See \`config.log' for more details." >&2;} | 2267 | See \`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. |
2128 | echo "$as_me:$LINENO: checking for C compiler version" >&5 | 2271 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2129 | ac_compiler=`set X $ac_compile; echo $2` | 2272 | set X $ac_compile |
2273 | ac_compiler=$2 | ||
2130 | { (ac_try="$ac_compiler --version >&5" | 2274 | { (ac_try="$ac_compiler --version >&5" |
2131 | case "(($ac_try" in | 2275 | case "(($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;; |
2134 | esac | 2278 | esac |
2135 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2279 | eval 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" |
2141 | case "(($ac_try" in | 2286 | case "(($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;; |
2144 | esac | 2289 | esac |
2145 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2290 | eval 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" |
2151 | case "(($ac_try" in | 2297 | case "(($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;; |
2154 | esac | 2300 | esac |
2155 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2301 | eval 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 | ||
2161 | cat >conftest.$ac_ext <<_ACEOF | 2308 | cat >conftest.$ac_ext <<_ACEOF |
@@ -2174,27 +2321,22 @@ main () | |||
2174 | } | 2321 | } |
2175 | _ACEOF | 2322 | _ACEOF |
2176 | ac_clean_files_save=$ac_clean_files | 2323 | ac_clean_files_save=$ac_clean_files |
2177 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 2324 | ac_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 |
2182 | echo $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; } |
2183 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2330 | ac_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.*) | 2333 | ac_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 | |
2188 | ac_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. | ||
2193 | ac_rmfiles= | 2335 | ac_rmfiles= |
2194 | for ac_file in $ac_files | 2336 | for ac_file in $ac_files |
2195 | do | 2337 | do |
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 |
2200 | done | 2342 | done |
@@ -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;; |
2207 | esac | 2349 | esac |
2208 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2350 | eval 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 '' | |||
2219 | do | 2362 | do |
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='' |
2247 | fi | 2390 | fi |
2248 | 2391 | ||
2249 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | 2392 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
2250 | echo "${ECHO_T}$ac_file" >&6; } | 2393 | $as_echo "$ac_file" >&6; } |
2251 | if test -z "$ac_file"; then | 2394 | if test -z "$ac_file"; then |
2252 | echo "$as_me: failed program was:" >&5 | 2395 | $as_echo "$as_me: failed program was:" >&5 |
2253 | sed 's/^/| /' conftest.$ac_ext >&5 | 2396 | sed '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 |
2256 | See \`config.log' for more details." >&5 | 2399 | See \`config.log' for more details." >&5 |
2257 | echo "$as_me: error: C compiler cannot create executables | 2400 | $as_echo "$as_me: error: C compiler cannot create executables |
2258 | See \`config.log' for more details." >&2;} | 2401 | See \`config.log' for more details." >&2;} |
2259 | { (exit 77); exit 77; }; } | 2402 | { (exit 77); exit 77; }; } |
2260 | fi | 2403 | fi |
@@ -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 |
2267 | echo $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. |
2270 | if test "$cross_compiling" != yes; then | 2413 | if 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;; |
2275 | esac | 2418 | esac |
2276 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2419 | eval 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. |
2287 | If you meant to cross compile, use \`--host'. | 2431 | If you meant to cross compile, use \`--host'. |
2288 | See \`config.log' for more details." >&5 | 2432 | See \`config.log' for more details." >&5 |
2289 | echo "$as_me: error: cannot run C compiled programs. | 2433 | $as_echo "$as_me: error: cannot run C compiled programs. |
2290 | If you meant to cross compile, use \`--host'. | 2434 | If you meant to cross compile, use \`--host'. |
2291 | See \`config.log' for more details." >&2;} | 2435 | See \`config.log' for more details." >&2;} |
2292 | { (exit 1); exit 1; }; } | 2436 | { (exit 1); exit 1; }; } |
2293 | fi | 2437 | fi |
2294 | fi | 2438 | fi |
2295 | fi | 2439 | fi |
2296 | { echo "$as_me:$LINENO: result: yes" >&5 | 2440 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
2297 | echo "${ECHO_T}yes" >&6; } | 2441 | $as_echo "yes" >&6; } |
2298 | 2442 | ||
2299 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 2443 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2300 | ac_clean_files=$ac_clean_files_save | 2444 | ac_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 |
2304 | echo $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 |
2306 | echo "${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 |
2309 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | 2453 | $as_echo_n "checking for suffix of executables... " >&6; } |
2310 | if { (ac_try="$ac_link" | 2454 | if { (ac_try="$ac_link" |
2311 | case "(($ac_try" in | 2455 | case "(($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;; |
2314 | esac | 2458 | esac |
2315 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2459 | eval 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 | |||
2324 | for ac_file in conftest.exe conftest conftest.*; do | 2469 | for 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 |
2332 | done | 2477 | done |
2333 | else | 2478 | else |
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 |
2335 | See \`config.log' for more details." >&5 | 2480 | See \`config.log' for more details." >&5 |
2336 | echo "$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 |
2337 | See \`config.log' for more details." >&2;} | 2482 | See \`config.log' for more details." >&2;} |
2338 | { (exit 1); exit 1; }; } | 2483 | { (exit 1); exit 1; }; } |
2339 | fi | 2484 | fi |
2340 | 2485 | ||
2341 | rm -f conftest$ac_cv_exeext | 2486 | rm -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 |
2343 | echo "${ECHO_T}$ac_cv_exeext" >&6; } | 2488 | $as_echo "$ac_cv_exeext" >&6; } |
2344 | 2489 | ||
2345 | rm -f conftest.$ac_ext | 2490 | rm -f conftest.$ac_ext |
2346 | EXEEXT=$ac_cv_exeext | 2491 | EXEEXT=$ac_cv_exeext |
2347 | ac_exeext=$EXEEXT | 2492 | ac_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 |
2349 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | 2494 | $as_echo_n "checking for suffix of object files... " >&6; } |
2350 | if test "${ac_cv_objext+set}" = set; then | 2495 | if test "${ac_cv_objext+set}" = set; then |
2351 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2496 | $as_echo_n "(cached) " >&6 |
2352 | else | 2497 | else |
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;; |
2373 | esac | 2518 | esac |
2374 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2519 | eval 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 |
2386 | done | 2532 | done |
2387 | else | 2533 | else |
2388 | echo "$as_me: failed program was:" >&5 | 2534 | $as_echo "$as_me: failed program was:" >&5 |
2389 | sed 's/^/| /' conftest.$ac_ext >&5 | 2535 | sed '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 |
2392 | See \`config.log' for more details." >&5 | 2538 | See \`config.log' for more details." >&5 |
2393 | echo "$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 |
2394 | See \`config.log' for more details." >&2;} | 2540 | See \`config.log' for more details." >&2;} |
2395 | { (exit 1); exit 1; }; } | 2541 | { (exit 1); exit 1; }; } |
2396 | fi | 2542 | fi |
2397 | 2543 | ||
2398 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2544 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2399 | fi | 2545 | fi |
2400 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 2546 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2401 | echo "${ECHO_T}$ac_cv_objext" >&6; } | 2547 | $as_echo "$ac_cv_objext" >&6; } |
2402 | OBJEXT=$ac_cv_objext | 2548 | OBJEXT=$ac_cv_objext |
2403 | ac_objext=$OBJEXT | 2549 | ac_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 |
2405 | echo $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; } |
2406 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2552 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2407 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2553 | $as_echo_n "(cached) " >&6 |
2408 | else | 2554 | else |
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;; |
2432 | esac | 2578 | esac |
2433 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2579 | eval 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 |
2445 | else | 2592 | else |
2446 | echo "$as_me: failed program was:" >&5 | 2593 | $as_echo "$as_me: failed program was:" >&5 |
2447 | sed 's/^/| /' conftest.$ac_ext >&5 | 2594 | sed '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 | |||
2453 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2600 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2454 | 2601 | ||
2455 | fi | 2602 | fi |
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 |
2457 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | 2604 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2458 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 2605 | if test $ac_compiler_gnu = yes; then |
2606 | GCC=yes | ||
2607 | else | ||
2608 | GCC= | ||
2609 | fi | ||
2459 | ac_test_CFLAGS=${CFLAGS+set} | 2610 | ac_test_CFLAGS=${CFLAGS+set} |
2460 | ac_save_CFLAGS=$CFLAGS | 2611 | ac_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 |
2462 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | 2613 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2463 | if test "${ac_cv_prog_cc_g+set}" = set; then | 2614 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2464 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2615 | $as_echo_n "(cached) " >&6 |
2465 | else | 2616 | else |
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;; |
2490 | esac | 2641 | esac |
2491 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2642 | eval 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 |
2503 | else | 2655 | else |
2504 | echo "$as_me: failed program was:" >&5 | 2656 | $as_echo "$as_me: failed program was:" >&5 |
2505 | sed 's/^/| /' conftest.$ac_ext >&5 | 2657 | sed '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;; |
2528 | esac | 2680 | esac |
2529 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2681 | eval 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 | : |
2541 | else | 2694 | else |
2542 | echo "$as_me: failed program was:" >&5 | 2695 | $as_echo "$as_me: failed program was:" >&5 |
2543 | sed 's/^/| /' conftest.$ac_ext >&5 | 2696 | sed '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;; |
2567 | esac | 2720 | esac |
2568 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2721 | eval 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 |
2580 | else | 2734 | else |
2581 | echo "$as_me: failed program was:" >&5 | 2735 | $as_echo "$as_me: failed program was:" >&5 |
2582 | sed 's/^/| /' conftest.$ac_ext >&5 | 2736 | sed 's/^/| /' conftest.$ac_ext >&5 |
2583 | 2737 | ||
2584 | 2738 | ||
@@ -2593,8 +2747,8 @@ fi | |||
2593 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2747 | rm -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 |
2595 | fi | 2749 | fi |
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 |
2597 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | 2751 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
2598 | if test "$ac_test_CFLAGS" = set; then | 2752 | if test "$ac_test_CFLAGS" = set; then |
2599 | CFLAGS=$ac_save_CFLAGS | 2753 | CFLAGS=$ac_save_CFLAGS |
2600 | elif test $ac_cv_prog_cc_g = yes; then | 2754 | elif test $ac_cv_prog_cc_g = yes; then |
@@ -2610,10 +2764,10 @@ else | |||
2610 | CFLAGS= | 2764 | CFLAGS= |
2611 | fi | 2765 | fi |
2612 | fi | 2766 | fi |
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 |
2614 | echo $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; } |
2615 | if test "${ac_cv_prog_cc_c89+set}" = set; then | 2769 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
2616 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2770 | $as_echo_n "(cached) " >&6 |
2617 | else | 2771 | else |
2618 | ac_cv_prog_cc_c89=no | 2772 | ac_cv_prog_cc_c89=no |
2619 | ac_save_CC=$CC | 2773 | ac_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;; |
2686 | esac | 2840 | esac |
2687 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2841 | eval 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 |
2699 | else | 2854 | else |
2700 | echo "$as_me: failed program was:" >&5 | 2855 | $as_echo "$as_me: failed program was:" >&5 |
2701 | sed 's/^/| /' conftest.$ac_ext >&5 | 2856 | sed 's/^/| /' conftest.$ac_ext >&5 |
2702 | 2857 | ||
2703 | 2858 | ||
@@ -2713,15 +2868,15 @@ fi | |||
2713 | # AC_CACHE_VAL | 2868 | # AC_CACHE_VAL |
2714 | case "x$ac_cv_prog_cc_c89" in | 2869 | case "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 |
2717 | echo "${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 |
2720 | echo "${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 |
2724 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 2879 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
2725 | esac | 2880 | esac |
2726 | 2881 | ||
2727 | 2882 | ||
@@ -2748,8 +2903,8 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |||
2748 | fi | 2903 | fi |
2749 | done | 2904 | done |
2750 | if test -z "$ac_aux_dir"; then | 2905 | if 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 |
2752 | echo "$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; }; } |
2754 | fi | 2909 | fi |
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 |
2768 | echo "$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 |
2772 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | 2927 | $as_echo_n "checking build system type... " >&6; } |
2773 | if test "${ac_cv_build+set}" = set; then | 2928 | if test "${ac_cv_build+set}" = set; then |
2774 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2929 | $as_echo_n "(cached) " >&6 |
2775 | else | 2930 | else |
2776 | ac_build_alias=$build_alias | 2931 | ac_build_alias=$build_alias |
2777 | test "x$ac_build_alias" = x && | 2932 | test "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"` |
2779 | test "x$ac_build_alias" = x && | 2934 | test "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 |
2781 | echo "$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; }; } |
2783 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2938 | ac_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 |
2785 | echo "$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 | ||
2788 | fi | 2943 | fi |
2789 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 2944 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
2790 | echo "${ECHO_T}$ac_cv_build" >&6; } | 2945 | $as_echo "$ac_cv_build" >&6; } |
2791 | case $ac_cv_build in | 2946 | case $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 |
2794 | echo "$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; }; };; |
2796 | esac | 2951 | esac |
2797 | build=$ac_cv_build | 2952 | build=$ac_cv_build |
@@ -2808,27 +2963,27 @@ IFS=$ac_save_IFS | |||
2808 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2963 | case $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 |
2812 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | 2967 | $as_echo_n "checking host system type... " >&6; } |
2813 | if test "${ac_cv_host+set}" = set; then | 2968 | if test "${ac_cv_host+set}" = set; then |
2814 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2969 | $as_echo_n "(cached) " >&6 |
2815 | else | 2970 | else |
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 |
2818 | else | 2973 | else |
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 |
2821 | echo "$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; }; } |
2823 | fi | 2978 | fi |
2824 | 2979 | ||
2825 | fi | 2980 | fi |
2826 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 2981 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2827 | echo "${ECHO_T}$ac_cv_host" >&6; } | 2982 | $as_echo "$ac_cv_host" >&6; } |
2828 | case $ac_cv_host in | 2983 | case $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 |
2831 | echo "$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; }; };; |
2833 | esac | 2988 | esac |
2834 | host=$ac_cv_host | 2989 | host=$ac_cv_host |
@@ -2851,15 +3006,15 @@ ac_cpp='$CPP $CPPFLAGS' | |||
2851 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3006 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2852 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3007 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2853 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3008 | ac_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 |
2855 | echo $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. |
2857 | if test -n "$CPP" && test -d "$CPP"; then | 3012 | if test -n "$CPP" && test -d "$CPP"; then |
2858 | CPP= | 3013 | CPP= |
2859 | fi | 3014 | fi |
2860 | if test -z "$CPP"; then | 3015 | if 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 |
2863 | else | 3018 | else |
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;; |
2893 | esac | 3048 | esac |
2894 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3049 | eval 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 | : |
2906 | else | 3062 | else |
2907 | echo "$as_me: failed program was:" >&5 | 3063 | $as_echo "$as_me: failed program was:" >&5 |
2908 | sed 's/^/| /' conftest.$ac_ext >&5 | 3064 | sed '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;; |
2930 | esac | 3086 | esac |
2931 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3087 | eval 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. |
2943 | continue | 3100 | continue |
2944 | else | 3101 | else |
2945 | echo "$as_me: failed program was:" >&5 | 3102 | $as_echo "$as_me: failed program was:" >&5 |
2946 | sed 's/^/| /' conftest.$ac_ext >&5 | 3103 | sed 's/^/| /' conftest.$ac_ext >&5 |
2947 | 3104 | ||
2948 | # Passes both tests. | 3105 | # Passes both tests. |
@@ -2967,8 +3124,8 @@ fi | |||
2967 | else | 3124 | else |
2968 | ac_cv_prog_CPP=$CPP | 3125 | ac_cv_prog_CPP=$CPP |
2969 | fi | 3126 | fi |
2970 | { echo "$as_me:$LINENO: result: $CPP" >&5 | 3127 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
2971 | echo "${ECHO_T}$CPP" >&6; } | 3128 | $as_echo "$CPP" >&6; } |
2972 | ac_preproc_ok=false | 3129 | ac_preproc_ok=false |
2973 | for ac_c_preproc_warn_flag in '' yes | 3130 | for ac_c_preproc_warn_flag in '' yes |
2974 | do | 3131 | do |
@@ -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;; |
2998 | esac | 3155 | esac |
2999 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3156 | eval 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 | : |
3011 | else | 3169 | else |
3012 | echo "$as_me: failed program was:" >&5 | 3170 | $as_echo "$as_me: failed program was:" >&5 |
3013 | sed 's/^/| /' conftest.$ac_ext >&5 | 3171 | sed '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;; |
3035 | esac | 3193 | esac |
3036 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3194 | eval 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. |
3048 | continue | 3207 | continue |
3049 | else | 3208 | else |
3050 | echo "$as_me: failed program was:" >&5 | 3209 | $as_echo "$as_me: failed program was:" >&5 |
3051 | sed 's/^/| /' conftest.$ac_ext >&5 | 3210 | sed '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 | |||
3063 | if $ac_preproc_ok; then | 3222 | if $ac_preproc_ok; then |
3064 | : | 3223 | : |
3065 | else | 3224 | else |
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 |
3067 | See \`config.log' for more details." >&5 | 3226 | See \`config.log' for more details." >&5 |
3068 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 3227 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3069 | See \`config.log' for more details." >&2;} | 3228 | See \`config.log' for more details." >&2;} |
3070 | { (exit 1); exit 1; }; } | 3229 | { (exit 1); exit 1; }; } |
3071 | fi | 3230 | fi |
@@ -3077,42 +3236,37 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
3077 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3236 | ac_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 |
3081 | echo $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; } |
3082 | if test "${ac_cv_path_GREP+set}" = set; then | 3241 | if test "${ac_cv_path_GREP+set}" = set; then |
3083 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3242 | $as_echo_n "(cached) " >&6 |
3084 | else | ||
3085 | # Extract the first word of "grep ggrep" to use in msg output | ||
3086 | if test -z "$GREP"; then | ||
3087 | set dummy grep ggrep; ac_prog_name=$2 | ||
3088 | if test "${ac_cv_path_GREP+set}" = set; then | ||
3089 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3090 | else | 3243 | else |
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 |
3093 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3247 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3094 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3248 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3095 | do | 3249 | do |
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 |
3104 | case `"$ac_path_GREP" --version 2>&1` in | 3258 | case `"$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;; |
3128 | esac | 3282 | esac |
3129 | 3283 | ||
3130 | 3284 | $ac_path_GREP_found && break 3 | |
3131 | $ac_path_GREP_found && break 3 | 3285 | done |
3132 | done | 3286 | done |
3133 | done | 3287 | done |
3134 | |||
3135 | done | ||
3136 | IFS=$as_save_IFS | 3288 | IFS=$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 | |
3139 | fi | 3291 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3140 | |||
3141 | GREP="$ac_cv_path_GREP" | ||
3142 | if 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 | ||
3144 | echo "$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; }; } |
3146 | fi | 3293 | fi |
3147 | |||
3148 | else | 3294 | else |
3149 | ac_cv_path_GREP=$GREP | 3295 | ac_cv_path_GREP=$GREP |
3150 | fi | 3296 | fi |
3151 | 3297 | ||
3152 | |||
3153 | fi | 3298 | fi |
3154 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | 3299 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3155 | echo "${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 |
3160 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | 3305 | $as_echo_n "checking for egrep... " >&6; } |
3161 | if test "${ac_cv_path_EGREP+set}" = set; then | 3306 | if test "${ac_cv_path_EGREP+set}" = set; then |
3162 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3307 | $as_echo_n "(cached) " >&6 |
3163 | else | 3308 | else |
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 |
3168 | if test -z "$EGREP"; then | ||
3169 | set dummy egrep; ac_prog_name=$2 | ||
3170 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
3171 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3172 | else | ||
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 |
3175 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3315 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3176 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3316 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3177 | do | 3317 | do |
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 |
3186 | case `"$ac_path_EGREP" --version 2>&1` in | 3326 | case `"$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;; |
3210 | esac | 3350 | esac |
3211 | 3351 | ||
3212 | 3352 | $ac_path_EGREP_found && break 3 | |
3213 | $ac_path_EGREP_found && break 3 | 3353 | done |
3214 | done | 3354 | done |
3215 | done | 3355 | done |
3216 | |||
3217 | done | ||
3218 | IFS=$as_save_IFS | 3356 | IFS=$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 | |
3221 | fi | 3359 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3222 | |||
3223 | EGREP="$ac_cv_path_EGREP" | ||
3224 | if 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 | ||
3226 | echo "$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; }; } |
3228 | fi | 3361 | fi |
3229 | |||
3230 | else | 3362 | else |
3231 | ac_cv_path_EGREP=$EGREP | 3363 | ac_cv_path_EGREP=$EGREP |
3232 | fi | 3364 | fi |
3233 | 3365 | ||
3234 | |||
3235 | fi | 3366 | fi |
3236 | fi | 3367 | fi |
3237 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 3368 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3238 | echo "${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 |
3243 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 3374 | $as_echo_n "checking for ANSI C header files... " >&6; } |
3244 | if test "${ac_cv_header_stdc+set}" = set; then | 3375 | if test "${ac_cv_header_stdc+set}" = set; then |
3245 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3376 | $as_echo_n "(cached) " >&6 |
3246 | else | 3377 | else |
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;; |
3271 | esac | 3402 | esac |
3272 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3403 | eval 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 |
3284 | else | 3416 | else |
3285 | echo "$as_me: failed program was:" >&5 | 3417 | $as_echo "$as_me: failed program was:" >&5 |
3286 | sed 's/^/| /' conftest.$ac_ext >&5 | 3418 | sed '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;; |
3376 | esac | 3508 | esac |
3377 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3509 | eval 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;; |
3385 | esac | 3518 | esac |
3386 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3519 | eval 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 | : |
3392 | else | 3526 | else |
3393 | echo "$as_me: program exited with status $ac_status" >&5 | 3527 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
3394 | echo "$as_me: failed program was:" >&5 | 3528 | $as_echo "$as_me: failed program was:" >&5 |
3395 | sed 's/^/| /' conftest.$ac_ext >&5 | 3529 | sed 's/^/| /' conftest.$ac_ext >&5 |
3396 | 3530 | ||
3397 | ( exit $ac_status ) | 3531 | ( exit $ac_status ) |
3398 | ac_cv_header_stdc=no | 3532 | ac_cv_header_stdc=no |
3399 | fi | 3533 | fi |
3534 | rm -rf conftest.dSYM | ||
3400 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 3535 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3401 | fi | 3536 | fi |
3402 | 3537 | ||
3403 | 3538 | ||
3404 | fi | 3539 | fi |
3405 | fi | 3540 | fi |
3406 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 3541 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3407 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | 3542 | $as_echo "$ac_cv_header_stdc" >&6; } |
3408 | if test $ac_cv_header_stdc = yes; then | 3543 | if test $ac_cv_header_stdc = yes; then |
3409 | 3544 | ||
3410 | cat >>confdefs.h <<\_ACEOF | 3545 | cat >>confdefs.h <<\_ACEOF |
@@ -3426,11 +3561,11 @@ fi | |||
3426 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 3561 | for 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 |
3428 | do | 3563 | do |
3429 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 3564 | as_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 |
3431 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 3566 | $as_echo_n "checking for $ac_header... " >&6; } |
3432 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 3567 | if { 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 |
3434 | else | 3569 | else |
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;; |
3450 | esac | 3585 | esac |
3451 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3586 | eval 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" |
3463 | else | 3599 | else |
3464 | echo "$as_me: failed program was:" >&5 | 3600 | $as_echo "$as_me: failed program was:" >&5 |
3465 | sed 's/^/| /' conftest.$ac_ext >&5 | 3601 | sed '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 | ||
3470 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3606 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3471 | fi | 3607 | fi |
3472 | ac_res=`eval echo '${'$as_ac_Header'}'` | 3608 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
3473 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 3609 | $as_echo "$as_val"'` |
3474 | echo "${ECHO_T}$ac_res" >&6; } | 3610 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
3475 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 3611 | $as_echo "$ac_res" >&6; } |
3612 | if 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 | ||
3480 | fi | 3618 | fi |
@@ -3482,28 +3620,78 @@ fi | |||
3482 | done | 3620 | done |
3483 | 3621 | ||
3484 | 3622 | ||
3485 | { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 3623 | |
3486 | echo $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; } | ||
3487 | if test "${ac_cv_c_bigendian+set}" = set; then | 3626 | if test "${ac_cv_c_bigendian+set}" = set; then |
3488 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3627 | $as_echo_n "(cached) " >&6 |
3489 | else | 3628 | else |
3490 | # See if sys/param.h defines the BYTE_ORDER macro. | 3629 | ac_cv_c_bigendian=unknown |
3491 | cat >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 | ||
3634 | cat confdefs.h >>conftest.$ac_ext | ||
3635 | cat >>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 | ||
3643 | rm -f conftest.$ac_objext | ||
3644 | if { (ac_try="$ac_compile" | ||
3645 | case "(($ac_try" in | ||
3646 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3647 | *) ac_try_echo=$ac_try;; | ||
3648 | esac | ||
3649 | eval 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 | ||
3668 | else | ||
3669 | $as_echo "$as_me: failed program was:" >&5 | ||
3670 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3671 | |||
3672 | |||
3673 | fi | ||
3674 | |||
3675 | rm -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 |
3494 | cat confdefs.h >>conftest.$ac_ext | 3681 | cat confdefs.h >>conftest.$ac_ext |
3495 | cat >>conftest.$ac_ext <<_ACEOF | 3682 | cat >>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 | ||
3500 | int | 3687 | int |
3501 | main () | 3688 | main () |
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;; |
3517 | esac | 3705 | esac |
3518 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3706 | eval 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. |
3530 | cat >conftest.$ac_ext <<_ACEOF | 3719 | cat >conftest.$ac_ext <<_ACEOF |
3531 | /* confdefs.h. */ | 3720 | /* confdefs.h. */ |
3532 | _ACEOF | 3721 | _ACEOF |
3533 | cat confdefs.h >>conftest.$ac_ext | 3722 | cat confdefs.h >>conftest.$ac_ext |
3534 | cat >>conftest.$ac_ext <<_ACEOF | 3723 | cat >>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 | ||
3539 | int | 3728 | int |
3540 | main () | 3729 | main () |
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;; |
3555 | esac | 3744 | esac |
3556 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3745 | eval 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 |
3568 | else | 3758 | else |
3569 | echo "$as_me: failed program was:" >&5 | 3759 | $as_echo "$as_me: failed program was:" >&5 |
3570 | sed 's/^/| /' conftest.$ac_ext >&5 | 3760 | sed '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 | ||
3575 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3765 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3576 | else | 3766 | else |
3577 | echo "$as_me: failed program was:" >&5 | 3767 | $as_echo "$as_me: failed program was:" >&5 |
3578 | sed 's/^/| /' conftest.$ac_ext >&5 | 3768 | sed 's/^/| /' conftest.$ac_ext >&5 |
3579 | 3769 | ||
3580 | # It does not; compile a test program. | 3770 | |
3581 | if test "$cross_compiling" = yes; then | 3771 | fi |
3582 | # try to guess the endianness by grepping values into an object file | 3772 | |
3583 | ac_cv_c_bigendian=unknown | 3773 | rm -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 |
3587 | cat confdefs.h >>conftest.$ac_ext | 3780 | cat confdefs.h >>conftest.$ac_ext |
3588 | cat >>conftest.$ac_ext <<_ACEOF | 3781 | cat >>conftest.$ac_ext <<_ACEOF |
3589 | /* end confdefs.h. */ | 3782 | /* end confdefs.h. */ |
3590 | short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 3783 | #include <limits.h> |
3591 | short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 3784 | |
3592 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | ||
3593 | short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | ||
3594 | short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | ||
3595 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | ||
3596 | int | 3785 | int |
3597 | main () | 3786 | main () |
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;; |
3609 | esac | 3801 | esac |
3610 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3802 | eval 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 | ||
3818 | cat confdefs.h >>conftest.$ac_ext | ||
3819 | cat >>conftest.$ac_ext <<_ACEOF | ||
3820 | /* end confdefs.h. */ | ||
3821 | #include <limits.h> | ||
3822 | |||
3823 | int | ||
3824 | main () | ||
3825 | { | ||
3826 | #ifndef _BIG_ENDIAN | ||
3827 | not big endian | ||
3828 | #endif | ||
3829 | |||
3830 | ; | ||
3831 | return 0; | ||
3832 | } | ||
3833 | _ACEOF | ||
3834 | rm -f conftest.$ac_objext | ||
3835 | if { (ac_try="$ac_compile" | ||
3836 | case "(($ac_try" in | ||
3837 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3838 | *) ac_try_echo=$ac_try;; | ||
3839 | esac | ||
3840 | eval 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 |
3853 | else | ||
3854 | $as_echo "$as_me: failed program was:" >&5 | ||
3855 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3856 | |||
3857 | ac_cv_c_bigendian=no | ||
3623 | fi | 3858 | fi |
3624 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | 3859 | |
3625 | if test "$ac_cv_c_bigendian" = unknown; then | 3860 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3626 | ac_cv_c_bigendian=no | 3861 | else |
3627 | else | 3862 | $as_echo "$as_me: failed program was:" >&5 |
3628 | # finding both strings is unlikely to happen, but who knows? | 3863 | sed 's/^/| /' conftest.$ac_ext >&5 |
3629 | ac_cv_c_bigendian=unknown | 3864 | |
3630 | fi | 3865 | |
3631 | fi | 3866 | fi |
3867 | |||
3868 | rm -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 | ||
3877 | cat confdefs.h >>conftest.$ac_ext | ||
3878 | cat >>conftest.$ac_ext <<_ACEOF | ||
3879 | /* end confdefs.h. */ | ||
3880 | short 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 | |||
3896 | int | ||
3897 | main () | ||
3898 | { | ||
3899 | return use_ascii (foo) == use_ebcdic (foo); | ||
3900 | ; | ||
3901 | return 0; | ||
3902 | } | ||
3903 | _ACEOF | ||
3904 | rm -f conftest.$ac_objext | ||
3905 | if { (ac_try="$ac_compile" | ||
3906 | case "(($ac_try" in | ||
3907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3908 | *) ac_try_echo=$ac_try;; | ||
3909 | esac | ||
3910 | eval 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 | ||
3632 | else | 3933 | else |
3633 | echo "$as_me: failed program was:" >&5 | 3934 | $as_echo "$as_me: failed program was:" >&5 |
3634 | sed 's/^/| /' conftest.$ac_ext >&5 | 3935 | sed 's/^/| /' conftest.$ac_ext >&5 |
3635 | 3936 | ||
3636 | 3937 | ||
@@ -3649,14 +3950,14 @@ int | |||
3649 | main () | 3950 | main () |
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;; |
3670 | esac | 3971 | esac |
3671 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3972 | eval 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;; |
3679 | esac | 3981 | esac |
3680 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3982 | eval 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 |
3686 | else | 3989 | else |
3687 | echo "$as_me: program exited with status $ac_status" >&5 | 3990 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
3688 | echo "$as_me: failed program was:" >&5 | 3991 | $as_echo "$as_me: failed program was:" >&5 |
3689 | sed 's/^/| /' conftest.$ac_ext >&5 | 3992 | sed 's/^/| /' conftest.$ac_ext >&5 |
3690 | 3993 | ||
3691 | ( exit $ac_status ) | 3994 | ( exit $ac_status ) |
3692 | ac_cv_c_bigendian=yes | 3995 | ac_cv_c_bigendian=yes |
3693 | fi | 3996 | fi |
3997 | rm -rf conftest.dSYM | ||
3694 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 3998 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3695 | fi | 3999 | fi |
3696 | 4000 | ||
3697 | 4001 | ||
4002 | fi | ||
3698 | fi | 4003 | fi |
3699 | 4004 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | |
3700 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4005 | $as_echo "$ac_cv_c_bigendian" >&6; } |
3701 | fi | 4006 | case $ac_cv_c_bigendian in #( |
3702 | { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 4007 | yes) |
3703 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } | 4008 | cat >>confdefs.h <<\_ACEOF |
3704 | case $ac_cv_c_bigendian in | 4009 | #define WORDS_BIGENDIAN 1 |
3705 | yes) | 4010 | _ACEOF |
4011 | ;; #( | ||
4012 | no) | ||
4013 | ;; #( | ||
4014 | universal) | ||
3706 | 4015 | ||
3707 | cat >>confdefs.h <<\_ACEOF | 4016 | cat >>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 |
3715 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | 4024 | $as_echo "$as_me: error: unknown endianness |
3716 | echo "$as_me: error: unknown endianness | 4025 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
3717 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | ||
3718 | { (exit 1); exit 1; }; } ;; | 4026 | { (exit 1); exit 1; }; } ;; |
3719 | esac | 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 | |||
3724 | do | 4032 | do |
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. |
3726 | set dummy $ac_prog; ac_word=$2 | 4034 | set 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 |
3728 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4036 | $as_echo_n "checking for $ac_word... " >&6; } |
3729 | if test "${ac_cv_prog_AWK+set}" = set; then | 4037 | if test "${ac_cv_prog_AWK+set}" = set; then |
3730 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4038 | $as_echo_n "(cached) " >&6 |
3731 | else | 4039 | else |
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 |
3746 | done | 4054 | done |
@@ -3751,11 +4059,11 @@ fi | |||
3751 | fi | 4059 | fi |
3752 | AWK=$ac_cv_prog_AWK | 4060 | AWK=$ac_cv_prog_AWK |
3753 | if test -n "$AWK"; then | 4061 | if test -n "$AWK"; then |
3754 | { echo "$as_me:$LINENO: result: $AWK" >&5 | 4062 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
3755 | echo "${ECHO_T}$AWK" >&6; } | 4063 | $as_echo "$AWK" >&6; } |
3756 | else | 4064 | else |
3757 | { echo "$as_me:$LINENO: result: no" >&5 | 4065 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3758 | echo "${ECHO_T}no" >&6; } | 4066 | $as_echo "no" >&6; } |
3759 | fi | 4067 | fi |
3760 | 4068 | ||
3761 | 4069 | ||
@@ -3767,15 +4075,15 @@ ac_cpp='$CPP $CPPFLAGS' | |||
3767 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4075 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3768 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4076 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3769 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4077 | ac_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 |
3771 | echo $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. |
3773 | if test -n "$CPP" && test -d "$CPP"; then | 4081 | if test -n "$CPP" && test -d "$CPP"; then |
3774 | CPP= | 4082 | CPP= |
3775 | fi | 4083 | fi |
3776 | if test -z "$CPP"; then | 4084 | if 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 |
3779 | else | 4087 | else |
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;; |
3809 | esac | 4117 | esac |
3810 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 4118 | eval 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 | : |
3822 | else | 4131 | else |
3823 | echo "$as_me: failed program was:" >&5 | 4132 | $as_echo "$as_me: failed program was:" >&5 |
3824 | sed 's/^/| /' conftest.$ac_ext >&5 | 4133 | sed '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;; |
3846 | esac | 4155 | esac |
3847 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 4156 | eval 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. |
3859 | continue | 4169 | continue |
3860 | else | 4170 | else |
3861 | echo "$as_me: failed program was:" >&5 | 4171 | $as_echo "$as_me: failed program was:" >&5 |
3862 | sed 's/^/| /' conftest.$ac_ext >&5 | 4172 | sed 's/^/| /' conftest.$ac_ext >&5 |
3863 | 4173 | ||
3864 | # Passes both tests. | 4174 | # Passes both tests. |
@@ -3883,8 +4193,8 @@ fi | |||
3883 | else | 4193 | else |
3884 | ac_cv_prog_CPP=$CPP | 4194 | ac_cv_prog_CPP=$CPP |
3885 | fi | 4195 | fi |
3886 | { echo "$as_me:$LINENO: result: $CPP" >&5 | 4196 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
3887 | echo "${ECHO_T}$CPP" >&6; } | 4197 | $as_echo "$CPP" >&6; } |
3888 | ac_preproc_ok=false | 4198 | ac_preproc_ok=false |
3889 | for ac_c_preproc_warn_flag in '' yes | 4199 | for ac_c_preproc_warn_flag in '' yes |
3890 | do | 4200 | do |
@@ -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;; |
3914 | esac | 4224 | esac |
3915 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 4225 | eval 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 | : |
3927 | else | 4238 | else |
3928 | echo "$as_me: failed program was:" >&5 | 4239 | $as_echo "$as_me: failed program was:" >&5 |
3929 | sed 's/^/| /' conftest.$ac_ext >&5 | 4240 | sed '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;; |
3951 | esac | 4262 | esac |
3952 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 4263 | eval 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. |
3964 | continue | 4276 | continue |
3965 | else | 4277 | else |
3966 | echo "$as_me: failed program was:" >&5 | 4278 | $as_echo "$as_me: failed program was:" >&5 |
3967 | sed 's/^/| /' conftest.$ac_ext >&5 | 4279 | sed '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 | |||
3979 | if $ac_preproc_ok; then | 4291 | if $ac_preproc_ok; then |
3980 | : | 4292 | : |
3981 | else | 4293 | else |
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 |
3983 | See \`config.log' for more details." >&5 | 4295 | See \`config.log' for more details." >&5 |
3984 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 4296 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3985 | See \`config.log' for more details." >&2;} | 4297 | See \`config.log' for more details." >&2;} |
3986 | { (exit 1); exit 1; }; } | 4298 | { (exit 1); exit 1; }; } |
3987 | fi | 4299 | fi |
@@ -3995,10 +4307,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
3995 | if test -n "$ac_tool_prefix"; then | 4307 | if 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. |
3997 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 4309 | set 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 |
3999 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4311 | $as_echo_n "checking for $ac_word... " >&6; } |
4000 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 4312 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
4001 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4313 | $as_echo_n "(cached) " >&6 |
4002 | else | 4314 | else |
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 |
4017 | done | 4329 | done |
@@ -4022,11 +4334,11 @@ fi | |||
4022 | fi | 4334 | fi |
4023 | RANLIB=$ac_cv_prog_RANLIB | 4335 | RANLIB=$ac_cv_prog_RANLIB |
4024 | if test -n "$RANLIB"; then | 4336 | if test -n "$RANLIB"; then |
4025 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 | 4337 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
4026 | echo "${ECHO_T}$RANLIB" >&6; } | 4338 | $as_echo "$RANLIB" >&6; } |
4027 | else | 4339 | else |
4028 | { echo "$as_me:$LINENO: result: no" >&5 | 4340 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4029 | echo "${ECHO_T}no" >&6; } | 4341 | $as_echo "no" >&6; } |
4030 | fi | 4342 | fi |
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. |
4037 | set dummy ranlib; ac_word=$2 | 4349 | set 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 |
4039 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4351 | $as_echo_n "checking for $ac_word... " >&6; } |
4040 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 4352 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
4041 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4353 | $as_echo_n "(cached) " >&6 |
4042 | else | 4354 | else |
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 |
4057 | done | 4369 | done |
@@ -4062,11 +4374,11 @@ fi | |||
4062 | fi | 4374 | fi |
4063 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 4375 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
4064 | if test -n "$ac_ct_RANLIB"; then | 4376 | if 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 |
4066 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } | 4378 | $as_echo "$ac_ct_RANLIB" >&6; } |
4067 | else | 4379 | else |
4068 | { echo "$as_me:$LINENO: result: no" >&5 | 4380 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4069 | echo "${ECHO_T}no" >&6; } | 4381 | $as_echo "no" >&6; } |
4070 | fi | 4382 | fi |
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 |
4076 | yes:) | 4388 | yes:) |
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 |
4078 | whose name does not start with the host triplet. If you think this | 4390 | whose name does not start with the host triplet. If you think this |
4079 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | 4391 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
4080 | echo "$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 |
4081 | whose name does not start with the host triplet. If you think this | 4393 | whose name does not start with the host triplet. If you think this |
4082 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | 4394 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
4083 | ac_tool_warned=yes ;; | 4395 | ac_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. |
4105 | echo $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; } | ||
4106 | if test -z "$INSTALL"; then | 4419 | if test -z "$INSTALL"; then |
4107 | if test "${ac_cv_path_install+set}" = set; then | 4420 | if test "${ac_cv_path_install+set}" = set; then |
4108 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4421 | $as_echo_n "(cached) " >&6 |
4109 | else | 4422 | else |
4110 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4423 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4111 | for as_dir in $PATH | 4424 | for 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 | ;; |
4144 | esac | 4467 | esac |
4468 | |||
4145 | done | 4469 | done |
4146 | IFS=$as_save_IFS | 4470 | IFS=$as_save_IFS |
4147 | 4471 | ||
4472 | rm -rf conftest.one conftest.two conftest.dir | ||
4148 | 4473 | ||
4149 | fi | 4474 | fi |
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 |
4159 | fi | 4484 | fi |
4160 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 | 4485 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
4161 | echo "${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 | ||
4169 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 4494 | test -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 |
4172 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | 4497 | $as_echo_n "checking for egrep... " >&6; } |
4173 | if test "${ac_cv_path_EGREP+set}" = set; then | 4498 | if test "${ac_cv_path_EGREP+set}" = set; then |
4174 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4499 | $as_echo_n "(cached) " >&6 |
4175 | else | 4500 | else |
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 |
4180 | if test -z "$EGREP"; then | ||
4181 | set dummy egrep; ac_prog_name=$2 | ||
4182 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
4183 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4184 | else | ||
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 |
4187 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4507 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4188 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4508 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4189 | do | 4509 | do |
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 |
4198 | case `"$ac_path_EGREP" --version 2>&1` in | 4518 | case `"$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;; |
4222 | esac | 4542 | esac |
4223 | 4543 | ||
4224 | 4544 | $ac_path_EGREP_found && break 3 | |
4225 | $ac_path_EGREP_found && break 3 | 4545 | done |
4226 | done | 4546 | done |
4227 | done | 4547 | done |
4228 | |||
4229 | done | ||
4230 | IFS=$as_save_IFS | 4548 | IFS=$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 | |
4233 | fi | 4551 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
4234 | |||
4235 | EGREP="$ac_cv_path_EGREP" | ||
4236 | if 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 | ||
4238 | echo "$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; }; } |
4240 | fi | 4553 | fi |
4241 | |||
4242 | else | 4554 | else |
4243 | ac_cv_path_EGREP=$EGREP | 4555 | ac_cv_path_EGREP=$EGREP |
4244 | fi | 4556 | fi |
4245 | 4557 | ||
4246 | |||
4247 | fi | 4558 | fi |
4248 | fi | 4559 | fi |
4249 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 4560 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
4250 | echo "${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. |
4255 | set dummy ar; ac_word=$2 | 4566 | set 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 |
4257 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4568 | $as_echo_n "checking for $ac_word... " >&6; } |
4258 | if test "${ac_cv_path_AR+set}" = set; then | 4569 | if test "${ac_cv_path_AR+set}" = set; then |
4259 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4570 | $as_echo_n "(cached) " >&6 |
4260 | else | 4571 | else |
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 |
4277 | done | 4588 | done |
@@ -4283,20 +4594,20 @@ esac | |||
4283 | fi | 4594 | fi |
4284 | AR=$ac_cv_path_AR | 4595 | AR=$ac_cv_path_AR |
4285 | if test -n "$AR"; then | 4596 | if test -n "$AR"; then |
4286 | { echo "$as_me:$LINENO: result: $AR" >&5 | 4597 | { $as_echo "$as_me:$LINENO: result: $AR" >&5 |
4287 | echo "${ECHO_T}$AR" >&6; } | 4598 | $as_echo "$AR" >&6; } |
4288 | else | 4599 | else |
4289 | { echo "$as_me:$LINENO: result: no" >&5 | 4600 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4290 | echo "${ECHO_T}no" >&6; } | 4601 | $as_echo "no" >&6; } |
4291 | fi | 4602 | fi |
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. |
4295 | set dummy cat; ac_word=$2 | 4606 | set 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 |
4297 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4608 | $as_echo_n "checking for $ac_word... " >&6; } |
4298 | if test "${ac_cv_path_CAT+set}" = set; then | 4609 | if test "${ac_cv_path_CAT+set}" = set; then |
4299 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4610 | $as_echo_n "(cached) " >&6 |
4300 | else | 4611 | else |
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 |
4317 | done | 4628 | done |
@@ -4323,20 +4634,20 @@ esac | |||
4323 | fi | 4634 | fi |
4324 | CAT=$ac_cv_path_CAT | 4635 | CAT=$ac_cv_path_CAT |
4325 | if test -n "$CAT"; then | 4636 | if test -n "$CAT"; then |
4326 | { echo "$as_me:$LINENO: result: $CAT" >&5 | 4637 | { $as_echo "$as_me:$LINENO: result: $CAT" >&5 |
4327 | echo "${ECHO_T}$CAT" >&6; } | 4638 | $as_echo "$CAT" >&6; } |
4328 | else | 4639 | else |
4329 | { echo "$as_me:$LINENO: result: no" >&5 | 4640 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4330 | echo "${ECHO_T}no" >&6; } | 4641 | $as_echo "no" >&6; } |
4331 | fi | 4642 | fi |
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. |
4335 | set dummy kill; ac_word=$2 | 4646 | set 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 |
4337 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4648 | $as_echo_n "checking for $ac_word... " >&6; } |
4338 | if test "${ac_cv_path_KILL+set}" = set; then | 4649 | if test "${ac_cv_path_KILL+set}" = set; then |
4339 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4650 | $as_echo_n "(cached) " >&6 |
4340 | else | 4651 | else |
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 |
4357 | done | 4668 | done |
@@ -4363,11 +4674,11 @@ esac | |||
4363 | fi | 4674 | fi |
4364 | KILL=$ac_cv_path_KILL | 4675 | KILL=$ac_cv_path_KILL |
4365 | if test -n "$KILL"; then | 4676 | if test -n "$KILL"; then |
4366 | { echo "$as_me:$LINENO: result: $KILL" >&5 | 4677 | { $as_echo "$as_me:$LINENO: result: $KILL" >&5 |
4367 | echo "${ECHO_T}$KILL" >&6; } | 4678 | $as_echo "$KILL" >&6; } |
4368 | else | 4679 | else |
4369 | { echo "$as_me:$LINENO: result: no" >&5 | 4680 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4370 | echo "${ECHO_T}no" >&6; } | 4681 | $as_echo "no" >&6; } |
4371 | fi | 4682 | fi |
4372 | 4683 | ||
4373 | 4684 | ||
@@ -4375,10 +4686,10 @@ for ac_prog in perl5 perl | |||
4375 | do | 4686 | do |
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. |
4377 | set dummy $ac_prog; ac_word=$2 | 4688 | set 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 |
4379 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4690 | $as_echo_n "checking for $ac_word... " >&6; } |
4380 | if test "${ac_cv_path_PERL+set}" = set; then | 4691 | if test "${ac_cv_path_PERL+set}" = set; then |
4381 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4692 | $as_echo_n "(cached) " >&6 |
4382 | else | 4693 | else |
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 |
4399 | done | 4710 | done |
@@ -4405,11 +4716,11 @@ esac | |||
4405 | fi | 4716 | fi |
4406 | PERL=$ac_cv_path_PERL | 4717 | PERL=$ac_cv_path_PERL |
4407 | if test -n "$PERL"; then | 4718 | if test -n "$PERL"; then |
4408 | { echo "$as_me:$LINENO: result: $PERL" >&5 | 4719 | { $as_echo "$as_me:$LINENO: result: $PERL" >&5 |
4409 | echo "${ECHO_T}$PERL" >&6; } | 4720 | $as_echo "$PERL" >&6; } |
4410 | else | 4721 | else |
4411 | { echo "$as_me:$LINENO: result: no" >&5 | 4722 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4412 | echo "${ECHO_T}no" >&6; } | 4723 | $as_echo "no" >&6; } |
4413 | fi | 4724 | fi |
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. |
4420 | set dummy sed; ac_word=$2 | 4731 | set 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 |
4422 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4733 | $as_echo_n "checking for $ac_word... " >&6; } |
4423 | if test "${ac_cv_path_SED+set}" = set; then | 4734 | if test "${ac_cv_path_SED+set}" = set; then |
4424 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4735 | $as_echo_n "(cached) " >&6 |
4425 | else | 4736 | else |
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 |
4442 | done | 4753 | done |
@@ -4448,21 +4759,21 @@ esac | |||
4448 | fi | 4759 | fi |
4449 | SED=$ac_cv_path_SED | 4760 | SED=$ac_cv_path_SED |
4450 | if test -n "$SED"; then | 4761 | if test -n "$SED"; then |
4451 | { echo "$as_me:$LINENO: result: $SED" >&5 | 4762 | { $as_echo "$as_me:$LINENO: result: $SED" >&5 |
4452 | echo "${ECHO_T}$SED" >&6; } | 4763 | $as_echo "$SED" >&6; } |
4453 | else | 4764 | else |
4454 | { echo "$as_me:$LINENO: result: no" >&5 | 4765 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4455 | echo "${ECHO_T}no" >&6; } | 4766 | $as_echo "no" >&6; } |
4456 | fi | 4767 | fi |
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. |
4461 | set dummy ent; ac_word=$2 | 4772 | set 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 |
4463 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4774 | $as_echo_n "checking for $ac_word... " >&6; } |
4464 | if test "${ac_cv_path_ENT+set}" = set; then | 4775 | if test "${ac_cv_path_ENT+set}" = set; then |
4465 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4776 | $as_echo_n "(cached) " >&6 |
4466 | else | 4777 | else |
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 |
4483 | done | 4794 | done |
@@ -4489,21 +4800,21 @@ esac | |||
4489 | fi | 4800 | fi |
4490 | ENT=$ac_cv_path_ENT | 4801 | ENT=$ac_cv_path_ENT |
4491 | if test -n "$ENT"; then | 4802 | if test -n "$ENT"; then |
4492 | { echo "$as_me:$LINENO: result: $ENT" >&5 | 4803 | { $as_echo "$as_me:$LINENO: result: $ENT" >&5 |
4493 | echo "${ECHO_T}$ENT" >&6; } | 4804 | $as_echo "$ENT" >&6; } |
4494 | else | 4805 | else |
4495 | { echo "$as_me:$LINENO: result: no" >&5 | 4806 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4496 | echo "${ECHO_T}no" >&6; } | 4807 | $as_echo "no" >&6; } |
4497 | fi | 4808 | fi |
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. |
4502 | set dummy bash; ac_word=$2 | 4813 | set 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 |
4504 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4815 | $as_echo_n "checking for $ac_word... " >&6; } |
4505 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4816 | if 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 |
4507 | else | 4818 | else |
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 |
4524 | done | 4835 | done |
@@ -4530,20 +4841,20 @@ esac | |||
4530 | fi | 4841 | fi |
4531 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4842 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4532 | if test -n "$TEST_MINUS_S_SH"; then | 4843 | if 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 |
4534 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } | 4845 | $as_echo "$TEST_MINUS_S_SH" >&6; } |
4535 | else | 4846 | else |
4536 | { echo "$as_me:$LINENO: result: no" >&5 | 4847 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4537 | echo "${ECHO_T}no" >&6; } | 4848 | $as_echo "no" >&6; } |
4538 | fi | 4849 | fi |
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. |
4542 | set dummy ksh; ac_word=$2 | 4853 | set 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 |
4544 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4855 | $as_echo_n "checking for $ac_word... " >&6; } |
4545 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4856 | if 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 |
4547 | else | 4858 | else |
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 |
4564 | done | 4875 | done |
@@ -4570,20 +4881,20 @@ esac | |||
4570 | fi | 4881 | fi |
4571 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4882 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4572 | if test -n "$TEST_MINUS_S_SH"; then | 4883 | if 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 |
4574 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } | 4885 | $as_echo "$TEST_MINUS_S_SH" >&6; } |
4575 | else | 4886 | else |
4576 | { echo "$as_me:$LINENO: result: no" >&5 | 4887 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4577 | echo "${ECHO_T}no" >&6; } | 4888 | $as_echo "no" >&6; } |
4578 | fi | 4889 | fi |
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. |
4582 | set dummy sh; ac_word=$2 | 4893 | set 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 |
4584 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4895 | $as_echo_n "checking for $ac_word... " >&6; } |
4585 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4896 | if 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 |
4587 | else | 4898 | else |
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 |
4604 | done | 4915 | done |
@@ -4610,20 +4921,20 @@ esac | |||
4610 | fi | 4921 | fi |
4611 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4922 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4612 | if test -n "$TEST_MINUS_S_SH"; then | 4923 | if 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 |
4614 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } | 4925 | $as_echo "$TEST_MINUS_S_SH" >&6; } |
4615 | else | 4926 | else |
4616 | { echo "$as_me:$LINENO: result: no" >&5 | 4927 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4617 | echo "${ECHO_T}no" >&6; } | 4928 | $as_echo "no" >&6; } |
4618 | fi | 4929 | fi |
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. |
4622 | set dummy sh; ac_word=$2 | 4933 | set 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 |
4624 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4935 | $as_echo_n "checking for $ac_word... " >&6; } |
4625 | if test "${ac_cv_path_SH+set}" = set; then | 4936 | if test "${ac_cv_path_SH+set}" = set; then |
4626 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4937 | $as_echo_n "(cached) " >&6 |
4627 | else | 4938 | else |
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 |
4644 | done | 4955 | done |
@@ -4650,11 +4961,11 @@ esac | |||
4650 | fi | 4961 | fi |
4651 | SH=$ac_cv_path_SH | 4962 | SH=$ac_cv_path_SH |
4652 | if test -n "$SH"; then | 4963 | if test -n "$SH"; then |
4653 | { echo "$as_me:$LINENO: result: $SH" >&5 | 4964 | { $as_echo "$as_me:$LINENO: result: $SH" >&5 |
4654 | echo "${ECHO_T}$SH" >&6; } | 4965 | $as_echo "$SH" >&6; } |
4655 | else | 4966 | else |
4656 | { echo "$as_me:$LINENO: result: no" >&5 | 4967 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4657 | echo "${ECHO_T}no" >&6; } | 4968 | $as_echo "no" >&6; } |
4658 | fi | 4969 | fi |
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. |
4665 | set dummy groupadd; ac_word=$2 | 4976 | set 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 |
4667 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4978 | $as_echo_n "checking for $ac_word... " >&6; } |
4668 | if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then | 4979 | if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then |
4669 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4980 | $as_echo_n "(cached) " >&6 |
4670 | else | 4981 | else |
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 |
4687 | done | 4998 | done |
@@ -4694,20 +5005,20 @@ esac | |||
4694 | fi | 5005 | fi |
4695 | PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG | 5006 | PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG |
4696 | if test -n "$PATH_GROUPADD_PROG"; then | 5007 | if 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 |
4698 | echo "${ECHO_T}$PATH_GROUPADD_PROG" >&6; } | 5009 | $as_echo "$PATH_GROUPADD_PROG" >&6; } |
4699 | else | 5010 | else |
4700 | { echo "$as_me:$LINENO: result: no" >&5 | 5011 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4701 | echo "${ECHO_T}no" >&6; } | 5012 | $as_echo "no" >&6; } |
4702 | fi | 5013 | fi |
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. |
4706 | set dummy useradd; ac_word=$2 | 5017 | set 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 |
4708 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5019 | $as_echo_n "checking for $ac_word... " >&6; } |
4709 | if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then | 5020 | if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then |
4710 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5021 | $as_echo_n "(cached) " >&6 |
4711 | else | 5022 | else |
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 |
4728 | done | 5039 | done |
@@ -4735,20 +5046,20 @@ esac | |||
4735 | fi | 5046 | fi |
4736 | PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG | 5047 | PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG |
4737 | if test -n "$PATH_USERADD_PROG"; then | 5048 | if 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 |
4739 | echo "${ECHO_T}$PATH_USERADD_PROG" >&6; } | 5050 | $as_echo "$PATH_USERADD_PROG" >&6; } |
4740 | else | 5051 | else |
4741 | { echo "$as_me:$LINENO: result: no" >&5 | 5052 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4742 | echo "${ECHO_T}no" >&6; } | 5053 | $as_echo "no" >&6; } |
4743 | fi | 5054 | fi |
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. |
4747 | set dummy pkgmk; ac_word=$2 | 5058 | set 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 |
4749 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5060 | $as_echo_n "checking for $ac_word... " >&6; } |
4750 | if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then | 5061 | if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then |
4751 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5062 | $as_echo_n "(cached) " >&6 |
4752 | else | 5063 | else |
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 |
4767 | done | 5078 | done |
@@ -4773,11 +5084,11 @@ fi | |||
4773 | fi | 5084 | fi |
4774 | MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED | 5085 | MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED |
4775 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then | 5086 | if 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 |
4777 | echo "${ECHO_T}$MAKE_PACKAGE_SUPPORTED" >&6; } | 5088 | $as_echo "$MAKE_PACKAGE_SUPPORTED" >&6; } |
4778 | else | 5089 | else |
4779 | { echo "$as_me:$LINENO: result: no" >&5 | 5090 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4780 | echo "${ECHO_T}no" >&6; } | 5091 | $as_echo "no" >&6; } |
4781 | fi | 5092 | fi |
4782 | 5093 | ||
4783 | 5094 | ||
@@ -4797,10 +5108,10 @@ fi | |||
4797 | 5108 | ||
4798 | if test "$enable_largefile" != no; then | 5109 | if 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 |
4801 | echo $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; } |
4802 | if test "${ac_cv_sys_largefile_CC+set}" = set; then | 5113 | if test "${ac_cv_sys_largefile_CC+set}" = set; then |
4803 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5114 | $as_echo_n "(cached) " >&6 |
4804 | else | 5115 | else |
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;; |
4839 | esac | 5150 | esac |
4840 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5151 | eval 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 |
4852 | else | 5164 | else |
4853 | echo "$as_me: failed program was:" >&5 | 5165 | $as_echo "$as_me: failed program was:" >&5 |
4854 | sed 's/^/| /' conftest.$ac_ext >&5 | 5166 | sed '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;; |
4866 | esac | 5178 | esac |
4867 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5179 | eval 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 |
4879 | else | 5192 | else |
4880 | echo "$as_me: failed program was:" >&5 | 5193 | $as_echo "$as_me: failed program was:" >&5 |
4881 | sed 's/^/| /' conftest.$ac_ext >&5 | 5194 | sed '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 |
4892 | fi | 5205 | fi |
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 |
4894 | echo "${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 |
4900 | echo $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; } |
4901 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 5214 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
4902 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5215 | $as_echo_n "(cached) " >&6 |
4903 | else | 5216 | else |
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;; |
4933 | esac | 5246 | esac |
4934 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5247 | eval 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 |
4946 | else | 5260 | else |
4947 | echo "$as_me: failed program was:" >&5 | 5261 | $as_echo "$as_me: failed program was:" >&5 |
4948 | sed 's/^/| /' conftest.$ac_ext >&5 | 5262 | sed '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;; |
4983 | esac | 5297 | esac |
4984 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5298 | eval 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 |
4996 | else | 5311 | else |
4997 | echo "$as_me: failed program was:" >&5 | 5312 | $as_echo "$as_me: failed program was:" >&5 |
4998 | sed 's/^/| /' conftest.$ac_ext >&5 | 5313 | sed '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 |
5006 | done | 5321 | done |
5007 | fi | 5322 | fi |
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 |
5009 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } | 5324 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
5010 | case $ac_cv_sys_file_offset_bits in #( | 5325 | case $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 | ;; |
5017 | esac | 5332 | esac |
5018 | rm -f conftest* | 5333 | rm -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 |
5021 | echo $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; } |
5022 | if test "${ac_cv_sys_large_files+set}" = set; then | 5337 | if test "${ac_cv_sys_large_files+set}" = set; then |
5023 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5338 | $as_echo_n "(cached) " >&6 |
5024 | else | 5339 | else |
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;; |
5054 | esac | 5369 | esac |
5055 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5370 | eval 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 |
5067 | else | 5383 | else |
5068 | echo "$as_me: failed program was:" >&5 | 5384 | $as_echo "$as_me: failed program was:" >&5 |
5069 | sed 's/^/| /' conftest.$ac_ext >&5 | 5385 | sed '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;; |
5104 | esac | 5420 | esac |
5105 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5421 | eval 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 |
5117 | else | 5434 | else |
5118 | echo "$as_me: failed program was:" >&5 | 5435 | $as_echo "$as_me: failed program was:" >&5 |
5119 | sed 's/^/| /' conftest.$ac_ext >&5 | 5436 | sed '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 |
5127 | done | 5444 | done |
5128 | fi | 5445 | fi |
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 |
5130 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } | 5447 | $as_echo "$ac_cv_sys_large_files" >&6; } |
5131 | case $ac_cv_sys_large_files in #( | 5448 | case $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 | ;; |
5138 | esac | 5455 | esac |
5139 | rm -f conftest* | 5456 | rm -rf conftest* |
5140 | fi | 5457 | fi |
5141 | fi | 5458 | fi |
5142 | 5459 | ||
5143 | 5460 | ||
5144 | if test -z "$AR" ; then | 5461 | if 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 |
5146 | echo "$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; }; } |
5148 | fi | 5465 | fi |
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. |
5160 | set dummy login; ac_word=$2 | 5477 | set 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 |
5162 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5479 | $as_echo_n "checking for $ac_word... " >&6; } |
5163 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then | 5480 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then |
5164 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5481 | $as_echo_n "(cached) " >&6 |
5165 | else | 5482 | else |
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 |
5182 | done | 5499 | done |
@@ -5188,11 +5505,11 @@ esac | |||
5188 | fi | 5505 | fi |
5189 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK | 5506 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK |
5190 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then | 5507 | if 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 |
5192 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6; } | 5509 | $as_echo "$LOGIN_PROGRAM_FALLBACK" >&6; } |
5193 | else | 5510 | else |
5194 | { echo "$as_me:$LINENO: result: no" >&5 | 5511 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5195 | echo "${ECHO_T}no" >&6; } | 5512 | $as_echo "no" >&6; } |
5196 | fi | 5513 | fi |
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. |
5208 | set dummy passwd; ac_word=$2 | 5525 | set 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 |
5210 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5527 | $as_echo_n "checking for $ac_word... " >&6; } |
5211 | if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then | 5528 | if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then |
5212 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5529 | $as_echo_n "(cached) " >&6 |
5213 | else | 5530 | else |
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 |
5230 | done | 5547 | done |
@@ -5236,11 +5553,11 @@ esac | |||
5236 | fi | 5553 | fi |
5237 | PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG | 5554 | PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG |
5238 | if test -n "$PATH_PASSWD_PROG"; then | 5555 | if 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 |
5240 | echo "${ECHO_T}$PATH_PASSWD_PROG" >&6; } | 5557 | $as_echo "$PATH_PASSWD_PROG" >&6; } |
5241 | else | 5558 | else |
5242 | { echo "$as_me:$LINENO: result: no" >&5 | 5559 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5243 | echo "${ECHO_T}no" >&6; } | 5560 | $as_echo "no" >&6; } |
5244 | fi | 5561 | fi |
5245 | 5562 | ||
5246 | 5563 | ||
@@ -5257,10 +5574,10 @@ if test -z "$LD" ; then | |||
5257 | fi | 5574 | fi |
5258 | 5575 | ||
5259 | 5576 | ||
5260 | { echo "$as_me:$LINENO: checking for inline" >&5 | 5577 | { $as_echo "$as_me:$LINENO: checking for inline" >&5 |
5261 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } | 5578 | $as_echo_n "checking for inline... " >&6; } |
5262 | if test "${ac_cv_c_inline+set}" = set; then | 5579 | if test "${ac_cv_c_inline+set}" = set; then |
5263 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5580 | $as_echo_n "(cached) " >&6 |
5264 | else | 5581 | else |
5265 | ac_cv_c_inline=no | 5582 | ac_cv_c_inline=no |
5266 | for ac_kw in inline __inline__ __inline; do | 5583 | for 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;; |
5285 | esac | 5602 | esac |
5286 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5603 | eval 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 |
5298 | else | 5616 | else |
5299 | echo "$as_me: failed program was:" >&5 | 5617 | $as_echo "$as_me: failed program was:" >&5 |
5300 | sed 's/^/| /' conftest.$ac_ext >&5 | 5618 | sed 's/^/| /' conftest.$ac_ext >&5 |
5301 | 5619 | ||
5302 | 5620 | ||
@@ -5307,8 +5625,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
5307 | done | 5625 | done |
5308 | 5626 | ||
5309 | fi | 5627 | fi |
5310 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 5628 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
5311 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } | 5629 | $as_echo "$ac_cv_c_inline" >&6; } |
5312 | 5630 | ||
5313 | 5631 | ||
5314 | case $ac_cv_c_inline in | 5632 | case $ac_cv_c_inline in |
@@ -5327,10 +5645,10 @@ _ACEOF | |||
5327 | esac | 5645 | esac |
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 |
5331 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } | 5649 | $as_echo_n "checking whether LLONG_MAX is declared... " >&6; } |
5332 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | 5650 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then |
5333 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5651 | $as_echo_n "(cached) " >&6 |
5334 | else | 5652 | else |
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;; |
5359 | esac | 5677 | esac |
5360 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5678 | eval 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 |
5372 | else | 5691 | else |
5373 | echo "$as_me: failed program was:" >&5 | 5692 | $as_echo "$as_me: failed program was:" >&5 |
5374 | sed 's/^/| /' conftest.$ac_ext >&5 | 5693 | sed '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 | ||
5379 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5698 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5380 | fi | 5699 | fi |
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 |
5382 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } | 5701 | $as_echo "$ac_cv_have_decl_LLONG_MAX" >&6; } |
5383 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | 5702 | if test $ac_cv_have_decl_LLONG_MAX = yes; then |
5384 | have_llong_max=1 | 5703 | have_llong_max=1 |
5385 | fi | 5704 | fi |
@@ -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 |
5415 | echo $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;; |
5434 | esac | 5753 | esac |
5435 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5754 | eval 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 |
5448 | echo "${ECHO_T}yes" >&6; } | 5768 | }; then |
5769 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
5770 | $as_echo "yes" >&6; } | ||
5449 | else | 5771 | else |
5450 | echo "$as_me: failed program was:" >&5 | 5772 | $as_echo "$as_me: failed program was:" >&5 |
5451 | sed 's/^/| /' conftest.$ac_ext >&5 | 5773 | sed 's/^/| /' conftest.$ac_ext >&5 |
5452 | 5774 | ||
5453 | { echo "$as_me:$LINENO: result: no" >&5 | 5775 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5454 | echo "${ECHO_T}no" >&6; } | 5776 | $as_echo "no" >&6; } |
5455 | CFLAGS="$saved_CFLAGS" | 5777 | CFLAGS="$saved_CFLAGS" |
5456 | 5778 | ||
5457 | fi | 5779 | fi |
5458 | 5780 | ||
5781 | rm -rf conftest.dSYM | ||
5459 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 5782 | rm -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 |
5468 | echo $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;; |
5489 | esac | 5812 | esac |
5490 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5813 | eval 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 |
5503 | echo "${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 |
5507 | echo $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 |
5510 | echo "$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 | ||
5513 | else | 5839 | else |
@@ -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;; |
5530 | esac | 5856 | esac |
5531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5857 | eval 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;; |
5539 | esac | 5866 | esac |
5540 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5867 | eval 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 |
5546 | echo "${ECHO_T}yes" >&6; } | 5874 | $as_echo "yes" >&6; } |
5547 | break | 5875 | break |
5548 | else | 5876 | else |
5549 | echo "$as_me: program exited with status $ac_status" >&5 | 5877 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
5550 | echo "$as_me: failed program was:" >&5 | 5878 | $as_echo "$as_me: failed program was:" >&5 |
5551 | sed 's/^/| /' conftest.$ac_ext >&5 | 5879 | sed '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 |
5555 | echo "${ECHO_T}no" >&6; } | 5883 | $as_echo "no" >&6; } |
5556 | fi | 5884 | fi |
5885 | rm -rf conftest.dSYM | ||
5557 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5886 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5558 | fi | 5887 | fi |
5559 | 5888 | ||
5560 | 5889 | ||
5561 | 5890 | ||
5562 | else | 5891 | else |
5563 | echo "$as_me: failed program was:" >&5 | 5892 | $as_echo "$as_me: failed program was:" >&5 |
5564 | sed 's/^/| /' conftest.$ac_ext >&5 | 5893 | sed 's/^/| /' conftest.$ac_ext >&5 |
5565 | 5894 | ||
5566 | { echo "$as_me:$LINENO: result: no" >&5 | 5895 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5567 | echo "${ECHO_T}no" >&6; } | 5896 | $as_echo "no" >&6; } |
5568 | 5897 | ||
5569 | fi | 5898 | fi |
5570 | 5899 | ||
5900 | rm -rf conftest.dSYM | ||
5571 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 5901 | rm -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 |
5584 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } | 5914 | $as_echo_n "checking whether LLONG_MAX is declared... " >&6; } |
5585 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | 5915 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then |
5586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5916 | $as_echo_n "(cached) " >&6 |
5587 | else | 5917 | else |
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;; |
5613 | esac | 5943 | esac |
5614 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5944 | eval 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 |
5626 | else | 5957 | else |
5627 | echo "$as_me: failed program was:" >&5 | 5958 | $as_echo "$as_me: failed program was:" >&5 |
5628 | sed 's/^/| /' conftest.$ac_ext >&5 | 5959 | sed '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 | ||
5633 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5964 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5634 | fi | 5965 | fi |
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 |
5636 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } | 5967 | $as_echo "$ac_cv_have_decl_LLONG_MAX" >&6; } |
5637 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | 5968 | if test $ac_cv_have_decl_LLONG_MAX = yes; then |
5638 | have_llong_max=1 | 5969 | have_llong_max=1 |
5639 | else | 5970 | else |
@@ -5793,7 +6124,6 @@ fi | |||
5793 | 6124 | ||
5794 | 6125 | ||
5795 | 6126 | ||
5796 | |||
5797 | for ac_header in \ | 6127 | for 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 | ||
5863 | do | 6192 | do |
5864 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6193 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5865 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6194 | if { 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 |
5867 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 6196 | $as_echo_n "checking for $ac_header... " >&6; } |
5868 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6197 | if { 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 |
5870 | fi | 6199 | fi |
5871 | ac_res=`eval echo '${'$as_ac_Header'}'` | 6200 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
5872 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6201 | $as_echo "$as_val"'` |
5873 | echo "${ECHO_T}$ac_res" >&6; } | 6202 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
6203 | $as_echo "$ac_res" >&6; } | ||
5874 | else | 6204 | else |
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 |
5877 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 6207 | $as_echo_n "checking $ac_header usability... " >&6; } |
5878 | cat >conftest.$ac_ext <<_ACEOF | 6208 | cat >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;; |
5892 | esac | 6222 | esac |
5893 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6223 | eval 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 |
5905 | else | 6236 | else |
5906 | echo "$as_me: failed program was:" >&5 | 6237 | $as_echo "$as_me: failed program was:" >&5 |
5907 | sed 's/^/| /' conftest.$ac_ext >&5 | 6238 | sed 's/^/| /' conftest.$ac_ext >&5 |
5908 | 6239 | ||
5909 | ac_header_compiler=no | 6240 | ac_header_compiler=no |
5910 | fi | 6241 | fi |
5911 | 6242 | ||
5912 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6243 | rm -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 |
5914 | echo "${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 |
5918 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 6249 | $as_echo_n "checking $ac_header presence... " >&6; } |
5919 | cat >conftest.$ac_ext <<_ACEOF | 6250 | cat >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;; |
5931 | esac | 6262 | esac |
5932 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6263 | eval 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 |
5944 | else | 6276 | else |
5945 | echo "$as_me: failed program was:" >&5 | 6277 | $as_echo "$as_me: failed program was:" >&5 |
5946 | sed 's/^/| /' conftest.$ac_ext >&5 | 6278 | sed 's/^/| /' conftest.$ac_ext >&5 |
5947 | 6279 | ||
5948 | ac_header_preproc=no | 6280 | ac_header_preproc=no |
5949 | fi | 6281 | fi |
5950 | 6282 | ||
5951 | rm -f conftest.err conftest.$ac_ext | 6283 | rm -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 |
5953 | echo "${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? |
5956 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 6288 | case $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 |
5959 | echo "$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 |
5961 | echo "$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 |
5966 | echo "$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 |
5968 | echo "$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 |
5970 | echo "$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 |
5972 | echo "$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 |
5974 | echo "$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 |
5976 | echo "$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 | ;; |
5984 | esac | 6316 | esac |
5985 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6317 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5986 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 6318 | $as_echo_n "checking for $ac_header... " >&6; } |
5987 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6319 | if { 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 |
5989 | else | 6321 | else |
5990 | eval "$as_ac_Header=\$ac_header_preproc" | 6322 | eval "$as_ac_Header=\$ac_header_preproc" |
5991 | fi | 6323 | fi |
5992 | ac_res=`eval echo '${'$as_ac_Header'}'` | 6324 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
5993 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6325 | $as_echo "$as_val"'` |
5994 | echo "${ECHO_T}$ac_res" >&6; } | 6326 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
6327 | $as_echo "$ac_res" >&6; } | ||
5995 | 6328 | ||
5996 | fi | 6329 | fi |
5997 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6330 | if 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 | ||
6002 | fi | 6336 | fi |
@@ -6008,11 +6342,11 @@ done | |||
6008 | 6342 | ||
6009 | for ac_header in lastlog.h | 6343 | for ac_header in lastlog.h |
6010 | do | 6344 | do |
6011 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6345 | as_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 |
6013 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 6347 | $as_echo_n "checking for $ac_header... " >&6; } |
6014 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6348 | if { 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 |
6016 | else | 6350 | else |
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;; |
6036 | esac | 6370 | esac |
6037 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6371 | eval 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" |
6049 | else | 6384 | else |
6050 | echo "$as_me: failed program was:" >&5 | 6385 | $as_echo "$as_me: failed program was:" >&5 |
6051 | sed 's/^/| /' conftest.$ac_ext >&5 | 6386 | sed '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 | ||
6056 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6391 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6057 | fi | 6392 | fi |
6058 | ac_res=`eval echo '${'$as_ac_Header'}'` | 6393 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
6059 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6394 | $as_echo "$as_val"'` |
6060 | echo "${ECHO_T}$ac_res" >&6; } | 6395 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
6061 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6396 | $as_echo "$ac_res" >&6; } |
6397 | if 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 | ||
6066 | fi | 6403 | fi |
@@ -6072,11 +6409,11 @@ done | |||
6072 | 6409 | ||
6073 | for ac_header in sys/ptms.h | 6410 | for ac_header in sys/ptms.h |
6074 | do | 6411 | do |
6075 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6412 | as_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 |
6077 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 6414 | $as_echo_n "checking for $ac_header... " >&6; } |
6078 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6415 | if { 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 |
6080 | else | 6417 | else |
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;; |
6100 | esac | 6437 | esac |
6101 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6438 | eval 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" |
6113 | else | 6451 | else |
6114 | echo "$as_me: failed program was:" >&5 | 6452 | $as_echo "$as_me: failed program was:" >&5 |
6115 | sed 's/^/| /' conftest.$ac_ext >&5 | 6453 | sed '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 | ||
6120 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6458 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6121 | fi | 6459 | fi |
6122 | ac_res=`eval echo '${'$as_ac_Header'}'` | 6460 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
6123 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6461 | $as_echo "$as_val"'` |
6124 | echo "${ECHO_T}$ac_res" >&6; } | 6462 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
6125 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6463 | $as_echo "$ac_res" >&6; } |
6464 | if 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 | ||
6130 | fi | 6470 | fi |
@@ -6136,11 +6476,11 @@ done | |||
6136 | 6476 | ||
6137 | for ac_header in login_cap.h | 6477 | for ac_header in login_cap.h |
6138 | do | 6478 | do |
6139 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6479 | as_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 |
6141 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 6481 | $as_echo_n "checking for $ac_header... " >&6; } |
6142 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6482 | if { 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 |
6144 | else | 6484 | else |
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;; |
6162 | esac | 6502 | esac |
6163 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6503 | eval 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" |
6175 | else | 6516 | else |
6176 | echo "$as_me: failed program was:" >&5 | 6517 | $as_echo "$as_me: failed program was:" >&5 |
6177 | sed 's/^/| /' conftest.$ac_ext >&5 | 6518 | sed '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 | ||
6182 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6523 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6183 | fi | 6524 | fi |
6184 | ac_res=`eval echo '${'$as_ac_Header'}'` | 6525 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
6185 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 6526 | $as_echo "$as_val"'` |
6186 | echo "${ECHO_T}$ac_res" >&6; } | 6527 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
6187 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6528 | $as_echo "$ac_res" >&6; } |
6529 | if 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 | |||
6535 | fi | ||
6536 | |||
6537 | done | ||
6538 | |||
6539 | |||
6540 | # older BSDs need sys/param.h before sys/mount.h | ||
6541 | |||
6542 | for ac_header in sys/mount.h | ||
6543 | do | ||
6544 | as_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; } | ||
6547 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
6548 | $as_echo_n "(cached) " >&6 | ||
6549 | else | ||
6550 | cat >conftest.$ac_ext <<_ACEOF | ||
6551 | /* confdefs.h. */ | ||
6552 | _ACEOF | ||
6553 | cat confdefs.h >>conftest.$ac_ext | ||
6554 | cat >>conftest.$ac_ext <<_ACEOF | ||
6555 | /* end confdefs.h. */ | ||
6556 | |||
6557 | #include <sys/param.h> | ||
6558 | |||
6559 | |||
6560 | #include <$ac_header> | ||
6561 | _ACEOF | ||
6562 | rm -f conftest.$ac_objext | ||
6563 | if { (ac_try="$ac_compile" | ||
6564 | case "(($ac_try" in | ||
6565 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6566 | *) ac_try_echo=$ac_try;; | ||
6567 | esac | ||
6568 | eval 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" | ||
6581 | else | ||
6582 | $as_echo "$as_me: failed program was:" >&5 | ||
6583 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6584 | |||
6585 | eval "$as_ac_Header=no" | ||
6586 | fi | ||
6587 | |||
6588 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6589 | fi | ||
6590 | ac_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; } | ||
6594 | if 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 | ||
6192 | fi | 6600 | fi |
@@ -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 |
6210 | echo $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;; |
6228 | esac | 6636 | esac |
6229 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6637 | eval 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 |
6241 | echo "${ECHO_T}yes" >&6; } | 6650 | $as_echo "yes" >&6; } |
6242 | else | 6651 | else |
6243 | echo "$as_me: failed program was:" >&5 | 6652 | $as_echo "$as_me: failed program was:" >&5 |
6244 | sed 's/^/| /' conftest.$ac_ext >&5 | 6653 | sed 's/^/| /' conftest.$ac_ext >&5 |
6245 | 6654 | ||
6246 | { echo "$as_me:$LINENO: result: no" >&5 | 6655 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6247 | echo "${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 | ||
6256 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6665 | rm -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 |
6259 | echo $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;; |
6292 | esac | 6701 | esac |
6293 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6702 | eval 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 |
6306 | else | 6718 | else |
6307 | echo "$as_me: failed program was:" >&5 | 6719 | $as_echo "$as_me: failed program was:" >&5 |
6308 | sed 's/^/| /' conftest.$ac_ext >&5 | 6720 | sed 's/^/| /' conftest.$ac_ext >&5 |
6309 | 6721 | ||
6310 | 6722 | ||
6311 | fi | 6723 | fi |
6312 | 6724 | ||
6725 | rm -rf conftest.dSYM | ||
6313 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6726 | rm -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 |
6319 | echo "${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 |
6321 | echo "$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 |
6325 | echo "${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 |
6329 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6; } | 6742 | $as_echo_n "checking for authenticate... " >&6; } |
6330 | if test "${ac_cv_func_authenticate+set}" = set; then | 6743 | if test "${ac_cv_func_authenticate+set}" = set; then |
6331 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6744 | $as_echo_n "(cached) " >&6 |
6332 | else | 6745 | else |
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;; |
6383 | esac | 6796 | esac |
6384 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6797 | eval 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 |
6397 | else | 6813 | else |
6398 | echo "$as_me: failed program was:" >&5 | 6814 | $as_echo "$as_me: failed program was:" >&5 |
6399 | sed 's/^/| /' conftest.$ac_ext >&5 | 6815 | sed 's/^/| /' conftest.$ac_ext >&5 |
6400 | 6816 | ||
6401 | ac_cv_func_authenticate=no | 6817 | ac_cv_func_authenticate=no |
6402 | fi | 6818 | fi |
6403 | 6819 | ||
6820 | rm -rf conftest.dSYM | ||
6404 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6821 | rm -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 |
6406 | fi | 6823 | fi |
6407 | { echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 | 6824 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 |
6408 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6; } | 6825 | $as_echo "$ac_cv_func_authenticate" >&6; } |
6409 | if test $ac_cv_func_authenticate = yes; then | 6826 | if test $ac_cv_func_authenticate = yes; then |
6410 | 6827 | ||
6411 | cat >>confdefs.h <<\_ACEOF | 6828 | cat >>confdefs.h <<\_ACEOF |
@@ -6413,10 +6830,10 @@ cat >>confdefs.h <<\_ACEOF | |||
6413 | _ACEOF | 6830 | _ACEOF |
6414 | 6831 | ||
6415 | else | 6832 | else |
6416 | { echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 | 6833 | { $as_echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 |
6417 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6; } | 6834 | $as_echo_n "checking for authenticate in -ls... " >&6; } |
6418 | if test "${ac_cv_lib_s_authenticate+set}" = set; then | 6835 | if test "${ac_cv_lib_s_authenticate+set}" = set; then |
6419 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6836 | $as_echo_n "(cached) " >&6 |
6420 | else | 6837 | else |
6421 | ac_check_lib_save_LIBS=$LIBS | 6838 | ac_check_lib_save_LIBS=$LIBS |
6422 | LIBS="-ls $LIBS" | 6839 | LIBS="-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;; |
6450 | esac | 6867 | esac |
6451 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6868 | eval 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 |
6464 | else | 6884 | else |
6465 | echo "$as_me: failed program was:" >&5 | 6885 | $as_echo "$as_me: failed program was:" >&5 |
6466 | sed 's/^/| /' conftest.$ac_ext >&5 | 6886 | sed 's/^/| /' conftest.$ac_ext >&5 |
6467 | 6887 | ||
6468 | ac_cv_lib_s_authenticate=no | 6888 | ac_cv_lib_s_authenticate=no |
6469 | fi | 6889 | fi |
6470 | 6890 | ||
6891 | rm -rf conftest.dSYM | ||
6471 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6892 | rm -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 |
6473 | LIBS=$ac_check_lib_save_LIBS | 6894 | LIBS=$ac_check_lib_save_LIBS |
6474 | fi | 6895 | fi |
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 |
6476 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6; } | 6897 | $as_echo "$ac_cv_lib_s_authenticate" >&6; } |
6477 | if test $ac_cv_lib_s_authenticate = yes; then | 6898 | if 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 | ||
6487 | fi | 6908 | fi |
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 |
6490 | echo $ECHO_N "checking whether authenticate is declared... $ECHO_C" >&6; } | 6911 | $as_echo_n "checking whether authenticate is declared... " >&6; } |
6491 | if test "${ac_cv_have_decl_authenticate+set}" = set; then | 6912 | if test "${ac_cv_have_decl_authenticate+set}" = set; then |
6492 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6913 | $as_echo_n "(cached) " >&6 |
6493 | else | 6914 | else |
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;; |
6518 | esac | 6939 | esac |
6519 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 6940 | eval 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 |
6531 | else | 6953 | else |
6532 | echo "$as_me: failed program was:" >&5 | 6954 | $as_echo "$as_me: failed program was:" >&5 |
6533 | sed 's/^/| /' conftest.$ac_ext >&5 | 6955 | sed '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 | ||
6538 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6960 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6539 | fi | 6961 | fi |
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 |
6541 | echo "${ECHO_T}$ac_cv_have_decl_authenticate" >&6; } | 6963 | $as_echo "$ac_cv_have_decl_authenticate" >&6; } |
6542 | if test $ac_cv_have_decl_authenticate = yes; then | 6964 | if test $ac_cv_have_decl_authenticate = yes; then |
6543 | 6965 | ||
6544 | cat >>confdefs.h <<_ACEOF | 6966 | cat >>confdefs.h <<_ACEOF |
@@ -6553,10 +6975,10 @@ _ACEOF | |||
6553 | 6975 | ||
6554 | 6976 | ||
6555 | fi | 6977 | fi |
6556 | { echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5 | 6978 | { $as_echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5 |
6557 | echo $ECHO_N "checking whether loginrestrictions is declared... $ECHO_C" >&6; } | 6979 | $as_echo_n "checking whether loginrestrictions is declared... " >&6; } |
6558 | if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then | 6980 | if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then |
6559 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6981 | $as_echo_n "(cached) " >&6 |
6560 | else | 6982 | else |
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;; |
6585 | esac | 7007 | esac |
6586 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7008 | eval 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 |
6598 | else | 7021 | else |
6599 | echo "$as_me: failed program was:" >&5 | 7022 | $as_echo "$as_me: failed program was:" >&5 |
6600 | sed 's/^/| /' conftest.$ac_ext >&5 | 7023 | sed '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 | ||
6605 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7028 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6606 | fi | 7029 | fi |
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 |
6608 | echo "${ECHO_T}$ac_cv_have_decl_loginrestrictions" >&6; } | 7031 | $as_echo "$ac_cv_have_decl_loginrestrictions" >&6; } |
6609 | if test $ac_cv_have_decl_loginrestrictions = yes; then | 7032 | if test $ac_cv_have_decl_loginrestrictions = yes; then |
6610 | 7033 | ||
6611 | cat >>confdefs.h <<_ACEOF | 7034 | cat >>confdefs.h <<_ACEOF |
@@ -6620,10 +7043,10 @@ _ACEOF | |||
6620 | 7043 | ||
6621 | 7044 | ||
6622 | fi | 7045 | fi |
6623 | { echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5 | 7046 | { $as_echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5 |
6624 | echo $ECHO_N "checking whether loginsuccess is declared... $ECHO_C" >&6; } | 7047 | $as_echo_n "checking whether loginsuccess is declared... " >&6; } |
6625 | if test "${ac_cv_have_decl_loginsuccess+set}" = set; then | 7048 | if test "${ac_cv_have_decl_loginsuccess+set}" = set; then |
6626 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7049 | $as_echo_n "(cached) " >&6 |
6627 | else | 7050 | else |
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;; |
6652 | esac | 7075 | esac |
6653 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7076 | eval 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 |
6665 | else | 7089 | else |
6666 | echo "$as_me: failed program was:" >&5 | 7090 | $as_echo "$as_me: failed program was:" >&5 |
6667 | sed 's/^/| /' conftest.$ac_ext >&5 | 7091 | sed '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 | ||
6672 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7096 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6673 | fi | 7097 | fi |
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 |
6675 | echo "${ECHO_T}$ac_cv_have_decl_loginsuccess" >&6; } | 7099 | $as_echo "$ac_cv_have_decl_loginsuccess" >&6; } |
6676 | if test $ac_cv_have_decl_loginsuccess = yes; then | 7100 | if test $ac_cv_have_decl_loginsuccess = yes; then |
6677 | 7101 | ||
6678 | cat >>confdefs.h <<_ACEOF | 7102 | cat >>confdefs.h <<_ACEOF |
@@ -6687,10 +7111,10 @@ _ACEOF | |||
6687 | 7111 | ||
6688 | 7112 | ||
6689 | fi | 7113 | fi |
6690 | { echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5 | 7114 | { $as_echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5 |
6691 | echo $ECHO_N "checking whether passwdexpired is declared... $ECHO_C" >&6; } | 7115 | $as_echo_n "checking whether passwdexpired is declared... " >&6; } |
6692 | if test "${ac_cv_have_decl_passwdexpired+set}" = set; then | 7116 | if test "${ac_cv_have_decl_passwdexpired+set}" = set; then |
6693 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7117 | $as_echo_n "(cached) " >&6 |
6694 | else | 7118 | else |
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;; |
6719 | esac | 7143 | esac |
6720 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7144 | eval 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 |
6732 | else | 7157 | else |
6733 | echo "$as_me: failed program was:" >&5 | 7158 | $as_echo "$as_me: failed program was:" >&5 |
6734 | sed 's/^/| /' conftest.$ac_ext >&5 | 7159 | sed '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 | ||
6739 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7164 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6740 | fi | 7165 | fi |
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 |
6742 | echo "${ECHO_T}$ac_cv_have_decl_passwdexpired" >&6; } | 7167 | $as_echo "$ac_cv_have_decl_passwdexpired" >&6; } |
6743 | if test $ac_cv_have_decl_passwdexpired = yes; then | 7168 | if test $ac_cv_have_decl_passwdexpired = yes; then |
6744 | 7169 | ||
6745 | cat >>confdefs.h <<_ACEOF | 7170 | cat >>confdefs.h <<_ACEOF |
@@ -6754,10 +7179,10 @@ _ACEOF | |||
6754 | 7179 | ||
6755 | 7180 | ||
6756 | fi | 7181 | fi |
6757 | { echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5 | 7182 | { $as_echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5 |
6758 | echo $ECHO_N "checking whether setauthdb is declared... $ECHO_C" >&6; } | 7183 | $as_echo_n "checking whether setauthdb is declared... " >&6; } |
6759 | if test "${ac_cv_have_decl_setauthdb+set}" = set; then | 7184 | if test "${ac_cv_have_decl_setauthdb+set}" = set; then |
6760 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7185 | $as_echo_n "(cached) " >&6 |
6761 | else | 7186 | else |
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;; |
6786 | esac | 7211 | esac |
6787 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7212 | eval 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 |
6799 | else | 7225 | else |
6800 | echo "$as_me: failed program was:" >&5 | 7226 | $as_echo "$as_me: failed program was:" >&5 |
6801 | sed 's/^/| /' conftest.$ac_ext >&5 | 7227 | sed '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 | ||
6806 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7232 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6807 | fi | 7233 | fi |
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 |
6809 | echo "${ECHO_T}$ac_cv_have_decl_setauthdb" >&6; } | 7235 | $as_echo "$ac_cv_have_decl_setauthdb" >&6; } |
6810 | if test $ac_cv_have_decl_setauthdb = yes; then | 7236 | if test $ac_cv_have_decl_setauthdb = yes; then |
6811 | 7237 | ||
6812 | cat >>confdefs.h <<_ACEOF | 7238 | cat >>confdefs.h <<_ACEOF |
@@ -6823,10 +7249,10 @@ _ACEOF | |||
6823 | fi | 7249 | fi |
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 |
6827 | echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6; } | 7253 | $as_echo_n "checking whether loginfailed is declared... " >&6; } |
6828 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then | 7254 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then |
6829 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7255 | $as_echo_n "(cached) " >&6 |
6830 | else | 7256 | else |
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;; |
6856 | esac | 7282 | esac |
6857 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7283 | eval 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 |
6869 | else | 7296 | else |
6870 | echo "$as_me: failed program was:" >&5 | 7297 | $as_echo "$as_me: failed program was:" >&5 |
6871 | sed 's/^/| /' conftest.$ac_ext >&5 | 7298 | sed '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 | ||
6876 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7303 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6877 | fi | 7304 | fi |
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 |
6879 | echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6; } | 7306 | $as_echo "$ac_cv_have_decl_loginfailed" >&6; } |
6880 | if test $ac_cv_have_decl_loginfailed = yes; then | 7307 | if test $ac_cv_have_decl_loginfailed = yes; then |
6881 | 7308 | ||
6882 | cat >>confdefs.h <<_ACEOF | 7309 | cat >>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 |
6887 | echo $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;; |
6908 | esac | 7335 | esac |
6909 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7336 | eval 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 |
6921 | echo "${ECHO_T}yes" >&6; } | 7349 | $as_echo "yes" >&6; } |
6922 | 7350 | ||
6923 | cat >>confdefs.h <<\_ACEOF | 7351 | cat >>confdefs.h <<\_ACEOF |
6924 | #define AIX_LOGINFAILED_4ARG 1 | 7352 | #define AIX_LOGINFAILED_4ARG 1 |
6925 | _ACEOF | 7353 | _ACEOF |
6926 | 7354 | ||
6927 | else | 7355 | else |
6928 | echo "$as_me: failed program was:" >&5 | 7356 | $as_echo "$as_me: failed program was:" >&5 |
6929 | sed 's/^/| /' conftest.$ac_ext >&5 | 7357 | sed 's/^/| /' conftest.$ac_ext >&5 |
6930 | 7358 | ||
6931 | { echo "$as_me:$LINENO: result: no" >&5 | 7359 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6932 | echo "${ECHO_T}no" >&6; } | 7360 | $as_echo "no" >&6; } |
6933 | 7361 | ||
6934 | fi | 7362 | fi |
6935 | 7363 | ||
@@ -6947,11 +7375,11 @@ fi | |||
6947 | 7375 | ||
6948 | for ac_func in getgrset setauthdb | 7376 | for ac_func in getgrset setauthdb |
6949 | do | 7377 | do |
6950 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7378 | as_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 |
6952 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 7380 | $as_echo_n "checking for $ac_func... " >&6; } |
6953 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 7381 | if { 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 |
6955 | else | 7383 | else |
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;; |
7006 | esac | 7434 | esac |
7007 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7435 | eval 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" |
7020 | else | 7451 | else |
7021 | echo "$as_me: failed program was:" >&5 | 7452 | $as_echo "$as_me: failed program was:" >&5 |
7022 | sed 's/^/| /' conftest.$ac_ext >&5 | 7453 | sed 's/^/| /' conftest.$ac_ext >&5 |
7023 | 7454 | ||
7024 | eval "$as_ac_var=no" | 7455 | eval "$as_ac_var=no" |
7025 | fi | 7456 | fi |
7026 | 7457 | ||
7458 | rm -rf conftest.dSYM | ||
7027 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7459 | rm -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 |
7029 | fi | 7461 | fi |
7030 | ac_res=`eval echo '${'$as_ac_var'}'` | 7462 | ac_res=`eval 'as_val=${'$as_ac_var'} |
7031 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 7463 | $as_echo "$as_val"'` |
7032 | echo "${ECHO_T}$ac_res" >&6; } | 7464 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
7033 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7465 | $as_echo "$ac_res" >&6; } |
7466 | if 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 | ||
7038 | fi | 7472 | fi |
7039 | done | 7473 | done |
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 |
7042 | echo $ECHO_N "checking whether F_CLOSEM is declared... $ECHO_C" >&6; } | 7476 | $as_echo_n "checking whether F_CLOSEM is declared... " >&6; } |
7043 | if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then | 7477 | if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then |
7044 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7478 | $as_echo_n "(cached) " >&6 |
7045 | else | 7479 | else |
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;; |
7072 | esac | 7506 | esac |
7073 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7507 | eval 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 |
7085 | else | 7520 | else |
7086 | echo "$as_me: failed program was:" >&5 | 7521 | $as_echo "$as_me: failed program was:" >&5 |
7087 | sed 's/^/| /' conftest.$ac_ext >&5 | 7522 | sed '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 | ||
7092 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7527 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7093 | fi | 7528 | fi |
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 |
7095 | echo "${ECHO_T}$ac_cv_have_decl_F_CLOSEM" >&6; } | 7530 | $as_echo "$ac_cv_have_decl_F_CLOSEM" >&6; } |
7096 | if test $ac_cv_have_decl_F_CLOSEM = yes; then | 7531 | if test $ac_cv_have_decl_F_CLOSEM = yes; then |
7097 | 7532 | ||
7098 | cat >>confdefs.h <<\_ACEOF | 7533 | cat >>confdefs.h <<\_ACEOF |
@@ -7168,27 +7603,28 @@ _ACEOF | |||
7168 | 7603 | ||
7169 | 7604 | ||
7170 | cat >>confdefs.h <<\_ACEOF | 7605 | cat >>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 | ||
7175 | cat >>confdefs.h <<\_ACEOF | 7610 | cat >>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 | ||
7180 | cat >>confdefs.h <<\_ACEOF | 7615 | cat >>confdefs.h <<\_ACEOF |
7181 | #define NO_IPPORT_RESERVED_CONCEPT 1 | 7616 | #define DISABLE_FD_PASSING 1 |
7182 | _ACEOF | 7617 | _ACEOF |
7183 | 7618 | ||
7184 | 7619 | ||
7185 | cat >>confdefs.h <<\_ACEOF | 7620 | cat >>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 | |
7627 | cat >>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 |
7210 | echo $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 |
7213 | echo "${ECHO_T}assume it is working" >&6; } | 7649 | $as_echo "assume it is working" >&6; } |
7214 | else | 7650 | else |
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;; |
7233 | esac | 7669 | esac |
7234 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7670 | eval 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;; |
7242 | esac | 7679 | esac |
7243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7680 | eval 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 |
7249 | echo "${ECHO_T}working" >&6; } | 7687 | $as_echo "working" >&6; } |
7250 | else | 7688 | else |
7251 | echo "$as_me: program exited with status $ac_status" >&5 | 7689 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
7252 | echo "$as_me: failed program was:" >&5 | 7690 | $as_echo "$as_me: failed program was:" >&5 |
7253 | sed 's/^/| /' conftest.$ac_ext >&5 | 7691 | sed '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 |
7257 | echo "${ECHO_T}buggy" >&6; } | 7695 | $as_echo "buggy" >&6; } |
7258 | 7696 | ||
7259 | cat >>confdefs.h <<\_ACEOF | 7697 | cat >>confdefs.h <<\_ACEOF |
7260 | #define BROKEN_GETADDRINFO 1 | 7698 | #define BROKEN_GETADDRINFO 1 |
7261 | _ACEOF | 7699 | _ACEOF |
7262 | 7700 | ||
7263 | fi | 7701 | fi |
7702 | rm -rf conftest.dSYM | ||
7264 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 7703 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7265 | fi | 7704 | fi |
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 | ||
7306 | echo $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 | ||
7310 | cat confdefs.h >>conftest.$ac_ext | ||
7311 | cat >>conftest.$ac_ext <<_ACEOF | ||
7312 | /* end confdefs.h. */ | ||
7313 | #include <Security/AuthSession.h> | ||
7314 | int | ||
7315 | main () | ||
7316 | { | ||
7317 | SessionCreate(0, 0); | ||
7318 | ; | ||
7319 | return 0; | ||
7320 | } | ||
7321 | _ACEOF | ||
7322 | rm -f conftest.$ac_objext | ||
7323 | if { (ac_try="$ac_compile" | ||
7324 | case "(($ac_try" in | ||
7325 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7326 | *) ac_try_echo=$ac_try;; | ||
7327 | esac | ||
7328 | eval "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 | |||
7341 | cat >>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; } |
7347 | echo "${ECHO_T}yes" >&6; } | ||
7348 | else | ||
7349 | echo "$as_me: failed program was:" >&5 | ||
7350 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7351 | |||
7352 | ac_cv_use_security_session_api="no" | ||
7353 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7354 | echo "${ECHO_T}no" >&6; } | ||
7355 | fi | ||
7356 | |||
7357 | rm -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 | ||
7359 | echo $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 | ||
7363 | cat confdefs.h >>conftest.$ac_ext | ||
7364 | cat >>conftest.$ac_ext <<_ACEOF | ||
7365 | /* end confdefs.h. */ | ||
7366 | #include <Kerberos/Kerberos.h> | ||
7367 | int | ||
7368 | main () | ||
7369 | { | ||
7370 | cc_context_t c; | ||
7371 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
7372 | ; | ||
7373 | return 0; | ||
7374 | } | ||
7375 | _ACEOF | ||
7376 | rm -f conftest.$ac_objext | ||
7377 | if { (ac_try="$ac_compile" | ||
7378 | case "(($ac_try" in | ||
7379 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7380 | *) ac_try_echo=$ac_try;; | ||
7381 | esac | ||
7382 | eval "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 | |||
7394 | cat >>confdefs.h <<\_ACEOF | ||
7395 | #define USE_CCAPI 1 | ||
7396 | _ACEOF | ||
7397 | |||
7398 | LIBS="$LIBS -framework Security" | ||
7399 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7400 | echo "${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 | ||
7403 | echo "$as_me: error: *** Need a security framework to use the credentials cache API ***" >&2;} | ||
7404 | { (exit 1); exit 1; }; } | ||
7405 | fi | ||
7406 | else | ||
7407 | echo "$as_me: failed program was:" >&5 | ||
7408 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7409 | |||
7410 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7411 | echo "${ECHO_T}no" >&6; } | ||
7412 | |||
7413 | fi | ||
7414 | |||
7415 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7416 | |||
7417 | { echo "$as_me:$LINENO: checking whether AU_IPv4 is declared" >&5 | ||
7418 | echo $ECHO_N "checking whether AU_IPv4 is declared... $ECHO_C" >&6; } | ||
7419 | if test "${ac_cv_have_decl_AU_IPv4+set}" = set; then | 7747 | if test "${ac_cv_have_decl_AU_IPv4+set}" = set; then |
7420 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7748 | $as_echo_n "(cached) " >&6 |
7421 | else | 7749 | else |
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;; |
7445 | esac | 7773 | esac |
7446 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7774 | eval 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 |
7458 | else | 7787 | else |
7459 | echo "$as_me: failed program was:" >&5 | 7788 | $as_echo "$as_me: failed program was:" >&5 |
7460 | sed 's/^/| /' conftest.$ac_ext >&5 | 7789 | sed '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 | ||
7465 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7794 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7466 | fi | 7795 | fi |
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 |
7468 | echo "${ECHO_T}$ac_cv_have_decl_AU_IPv4" >&6; } | 7797 | $as_echo "$ac_cv_have_decl_AU_IPv4" >&6; } |
7469 | if test $ac_cv_have_decl_AU_IPv4 = yes; then | 7798 | if test $ac_cv_have_decl_AU_IPv4 = yes; then |
7470 | : | 7799 | : |
7471 | else | 7800 | else |
@@ -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 |
7520 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6; } | 7849 | $as_echo_n "checking for t_error in -lxnet... " >&6; } |
7521 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | 7850 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then |
7522 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7851 | $as_echo_n "(cached) " >&6 |
7523 | else | 7852 | else |
7524 | ac_check_lib_save_LIBS=$LIBS | 7853 | ac_check_lib_save_LIBS=$LIBS |
7525 | LIBS="-lxnet $LIBS" | 7854 | LIBS="-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;; |
7553 | esac | 7882 | esac |
7554 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 7883 | eval 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 |
7567 | else | 7899 | else |
7568 | echo "$as_me: failed program was:" >&5 | 7900 | $as_echo "$as_me: failed program was:" >&5 |
7569 | sed 's/^/| /' conftest.$ac_ext >&5 | 7901 | sed 's/^/| /' conftest.$ac_ext >&5 |
7570 | 7902 | ||
7571 | ac_cv_lib_xnet_t_error=no | 7903 | ac_cv_lib_xnet_t_error=no |
7572 | fi | 7904 | fi |
7573 | 7905 | ||
7906 | rm -rf conftest.dSYM | ||
7574 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7907 | rm -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 |
7576 | LIBS=$ac_check_lib_save_LIBS | 7909 | LIBS=$ac_check_lib_save_LIBS |
7577 | fi | 7910 | fi |
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 |
7579 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6; } | 7912 | $as_echo "$ac_cv_lib_xnet_t_error" >&6; } |
7580 | if test $ac_cv_lib_xnet_t_error = yes; then | 7913 | if 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 | ||
7587 | else | 7920 | else |
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 |
7589 | echo "$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; }; } |
7591 | fi | 7924 | fi |
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 |
7682 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6; } | 8015 | $as_echo_n "checking for jlimit_startjob... " >&6; } |
7683 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then | 8016 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then |
7684 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8017 | $as_echo_n "(cached) " >&6 |
7685 | else | 8018 | else |
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;; |
7736 | esac | 8069 | esac |
7737 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8070 | eval 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 |
7750 | else | 8086 | else |
7751 | echo "$as_me: failed program was:" >&5 | 8087 | $as_echo "$as_me: failed program was:" >&5 |
7752 | sed 's/^/| /' conftest.$ac_ext >&5 | 8088 | sed 's/^/| /' conftest.$ac_ext >&5 |
7753 | 8089 | ||
7754 | ac_cv_func_jlimit_startjob=no | 8090 | ac_cv_func_jlimit_startjob=no |
7755 | fi | 8091 | fi |
7756 | 8092 | ||
8093 | rm -rf conftest.dSYM | ||
7757 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8094 | rm -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 |
7759 | fi | 8096 | fi |
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 |
7761 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6; } | 8098 | $as_echo "$ac_cv_func_jlimit_startjob" >&6; } |
7762 | if test $ac_cv_func_jlimit_startjob = yes; then | 8099 | if test $ac_cv_func_jlimit_startjob = yes; then |
7763 | 8100 | ||
7764 | cat >>confdefs.h <<\_ACEOF | 8101 | cat >>confdefs.h <<\_ACEOF |
@@ -7868,20 +8205,21 @@ _ACEOF | |||
7868 | 8205 | ||
7869 | for ac_header in linux/if_tun.h | 8206 | for ac_header in linux/if_tun.h |
7870 | do | 8207 | do |
7871 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8208 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7872 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 8209 | if { 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 |
7874 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 8211 | $as_echo_n "checking for $ac_header... " >&6; } |
7875 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 8212 | if { 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 |
7877 | fi | 8214 | fi |
7878 | ac_res=`eval echo '${'$as_ac_Header'}'` | 8215 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
7879 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 8216 | $as_echo "$as_val"'` |
7880 | echo "${ECHO_T}$ac_res" >&6; } | 8217 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
8218 | $as_echo "$ac_res" >&6; } | ||
7881 | else | 8219 | else |
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 |
7884 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 8222 | $as_echo_n "checking $ac_header usability... " >&6; } |
7885 | cat >conftest.$ac_ext <<_ACEOF | 8223 | cat >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;; |
7899 | esac | 8237 | esac |
7900 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8238 | eval 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 |
7912 | else | 8251 | else |
7913 | echo "$as_me: failed program was:" >&5 | 8252 | $as_echo "$as_me: failed program was:" >&5 |
7914 | sed 's/^/| /' conftest.$ac_ext >&5 | 8253 | sed 's/^/| /' conftest.$ac_ext >&5 |
7915 | 8254 | ||
7916 | ac_header_compiler=no | 8255 | ac_header_compiler=no |
7917 | fi | 8256 | fi |
7918 | 8257 | ||
7919 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8258 | rm -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 |
7921 | echo "${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 |
7925 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 8264 | $as_echo_n "checking $ac_header presence... " >&6; } |
7926 | cat >conftest.$ac_ext <<_ACEOF | 8265 | cat >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;; |
7938 | esac | 8277 | esac |
7939 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8278 | eval 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 |
7951 | else | 8291 | else |
7952 | echo "$as_me: failed program was:" >&5 | 8292 | $as_echo "$as_me: failed program was:" >&5 |
7953 | sed 's/^/| /' conftest.$ac_ext >&5 | 8293 | sed 's/^/| /' conftest.$ac_ext >&5 |
7954 | 8294 | ||
7955 | ac_header_preproc=no | 8295 | ac_header_preproc=no |
7956 | fi | 8296 | fi |
7957 | 8297 | ||
7958 | rm -f conftest.err conftest.$ac_ext | 8298 | rm -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 |
7960 | echo "${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? |
7963 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 8303 | case $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 |
7966 | echo "$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 |
7968 | echo "$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 |
7973 | echo "$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 |
7975 | echo "$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 |
7977 | echo "$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 |
7979 | echo "$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 |
7981 | echo "$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 |
7983 | echo "$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 | ;; |
7991 | esac | 8331 | esac |
7992 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 8332 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7993 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 8333 | $as_echo_n "checking for $ac_header... " >&6; } |
7994 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 8334 | if { 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 |
7996 | else | 8336 | else |
7997 | eval "$as_ac_Header=\$ac_header_preproc" | 8337 | eval "$as_ac_Header=\$ac_header_preproc" |
7998 | fi | 8338 | fi |
7999 | ac_res=`eval echo '${'$as_ac_Header'}'` | 8339 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8000 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 8340 | $as_echo "$as_val"'` |
8001 | echo "${ECHO_T}$ac_res" >&6; } | 8341 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
8342 | $as_echo "$ac_res" >&6; } | ||
8002 | 8343 | ||
8003 | fi | 8344 | fi |
8004 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 8345 | if 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 | ||
8009 | fi | 8351 | fi |
@@ -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 |
8051 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | 8393 | $as_echo_n "checking for net/if_tap.h... " >&6; } |
8052 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 8394 | if 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 |
8054 | fi | 8396 | fi |
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 |
8056 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | 8398 | $as_echo "$ac_cv_header_net_if_tap_h" >&6; } |
8057 | else | 8399 | else |
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 |
8060 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } | 8402 | $as_echo_n "checking net/if_tap.h usability... " >&6; } |
8061 | cat >conftest.$ac_ext <<_ACEOF | 8403 | cat >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;; |
8075 | esac | 8417 | esac |
8076 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8418 | eval 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 |
8088 | else | 8431 | else |
8089 | echo "$as_me: failed program was:" >&5 | 8432 | $as_echo "$as_me: failed program was:" >&5 |
8090 | sed 's/^/| /' conftest.$ac_ext >&5 | 8433 | sed 's/^/| /' conftest.$ac_ext >&5 |
8091 | 8434 | ||
8092 | ac_header_compiler=no | 8435 | ac_header_compiler=no |
8093 | fi | 8436 | fi |
8094 | 8437 | ||
8095 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8438 | rm -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 |
8097 | echo "${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 |
8101 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } | 8444 | $as_echo_n "checking net/if_tap.h presence... " >&6; } |
8102 | cat >conftest.$ac_ext <<_ACEOF | 8445 | cat >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;; |
8114 | esac | 8457 | esac |
8115 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8458 | eval 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 |
8127 | else | 8471 | else |
8128 | echo "$as_me: failed program was:" >&5 | 8472 | $as_echo "$as_me: failed program was:" >&5 |
8129 | sed 's/^/| /' conftest.$ac_ext >&5 | 8473 | sed 's/^/| /' conftest.$ac_ext >&5 |
8130 | 8474 | ||
8131 | ac_header_preproc=no | 8475 | ac_header_preproc=no |
8132 | fi | 8476 | fi |
8133 | 8477 | ||
8134 | rm -f conftest.err conftest.$ac_ext | 8478 | rm -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 |
8136 | echo "${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? |
8139 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 8483 | case $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 |
8142 | echo "$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 |
8144 | echo "$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 |
8149 | echo "$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 |
8151 | echo "$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 |
8153 | echo "$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 |
8155 | echo "$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 |
8157 | echo "$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 |
8159 | echo "$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 | ;; |
8167 | esac | 8511 | esac |
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 |
8169 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | 8513 | $as_echo_n "checking for net/if_tap.h... " >&6; } |
8170 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 8514 | if 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 |
8172 | else | 8516 | else |
8173 | ac_cv_header_net_if_tap_h=$ac_header_preproc | 8517 | ac_cv_header_net_if_tap_h=$ac_header_preproc |
8174 | fi | 8518 | fi |
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 |
8176 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | 8520 | $as_echo "$ac_cv_header_net_if_tap_h" >&6; } |
8177 | 8521 | ||
8178 | fi | 8522 | fi |
8179 | if test $ac_cv_header_net_if_tap_h = yes; then | 8523 | if 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 |
8210 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | 8554 | $as_echo_n "checking for net/if_tap.h... " >&6; } |
8211 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 8555 | if 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 |
8213 | fi | 8557 | fi |
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 |
8215 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | 8559 | $as_echo "$ac_cv_header_net_if_tap_h" >&6; } |
8216 | else | 8560 | else |
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 |
8219 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } | 8563 | $as_echo_n "checking net/if_tap.h usability... " >&6; } |
8220 | cat >conftest.$ac_ext <<_ACEOF | 8564 | cat >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;; |
8234 | esac | 8578 | esac |
8235 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8579 | eval 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 |
8247 | else | 8592 | else |
8248 | echo "$as_me: failed program was:" >&5 | 8593 | $as_echo "$as_me: failed program was:" >&5 |
8249 | sed 's/^/| /' conftest.$ac_ext >&5 | 8594 | sed 's/^/| /' conftest.$ac_ext >&5 |
8250 | 8595 | ||
8251 | ac_header_compiler=no | 8596 | ac_header_compiler=no |
8252 | fi | 8597 | fi |
8253 | 8598 | ||
8254 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8599 | rm -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 |
8256 | echo "${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 |
8260 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } | 8605 | $as_echo_n "checking net/if_tap.h presence... " >&6; } |
8261 | cat >conftest.$ac_ext <<_ACEOF | 8606 | cat >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;; |
8273 | esac | 8618 | esac |
8274 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8619 | eval 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 |
8286 | else | 8632 | else |
8287 | echo "$as_me: failed program was:" >&5 | 8633 | $as_echo "$as_me: failed program was:" >&5 |
8288 | sed 's/^/| /' conftest.$ac_ext >&5 | 8634 | sed 's/^/| /' conftest.$ac_ext >&5 |
8289 | 8635 | ||
8290 | ac_header_preproc=no | 8636 | ac_header_preproc=no |
8291 | fi | 8637 | fi |
8292 | 8638 | ||
8293 | rm -f conftest.err conftest.$ac_ext | 8639 | rm -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 |
8295 | echo "${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? |
8298 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 8644 | case $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 |
8301 | echo "$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 |
8303 | echo "$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 |
8308 | echo "$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 |
8310 | echo "$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 |
8312 | echo "$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 |
8314 | echo "$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 |
8316 | echo "$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 |
8318 | echo "$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 | ;; |
8326 | esac | 8672 | esac |
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 |
8328 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | 8674 | $as_echo_n "checking for net/if_tap.h... " >&6; } |
8329 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 8675 | if 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 |
8331 | else | 8677 | else |
8332 | ac_cv_header_net_if_tap_h=$ac_header_preproc | 8678 | ac_cv_header_net_if_tap_h=$ac_header_preproc |
8333 | fi | 8679 | fi |
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 |
8335 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | 8681 | $as_echo "$ac_cv_header_net_if_tap_h" >&6; } |
8336 | 8682 | ||
8337 | fi | 8683 | fi |
8338 | if test $ac_cv_header_net_if_tap_h = yes; then | 8684 | if 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 | |||
8803 | cat >>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 |
8460 | echo $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 |
8464 | echo "${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 |
8476 | echo "${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. |
8480 | if test "${with_solaris_contracts+set}" = set; then | 8831 | if 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 |
8483 | echo $ECHO_N "checking for ct_tmpl_activate in -lcontract... $ECHO_C" >&6; } | 8834 | $as_echo_n "checking for ct_tmpl_activate in -lcontract... " >&6; } |
8484 | if test "${ac_cv_lib_contract_ct_tmpl_activate+set}" = set; then | 8835 | if 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 |
8486 | else | 8837 | else |
8487 | ac_check_lib_save_LIBS=$LIBS | 8838 | ac_check_lib_save_LIBS=$LIBS |
8488 | LIBS="-lcontract $LIBS" | 8839 | LIBS="-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;; |
8516 | esac | 8867 | esac |
8517 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8868 | eval 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 |
8530 | else | 8884 | else |
8531 | echo "$as_me: failed program was:" >&5 | 8885 | $as_echo "$as_me: failed program was:" >&5 |
8532 | sed 's/^/| /' conftest.$ac_ext >&5 | 8886 | sed '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 |
8535 | fi | 8889 | fi |
8536 | 8890 | ||
8891 | rm -rf conftest.dSYM | ||
8537 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8892 | rm -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 |
8539 | LIBS=$ac_check_lib_save_LIBS | 8894 | LIBS=$ac_check_lib_save_LIBS |
8540 | fi | 8895 | fi |
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 |
8542 | echo "${ECHO_T}$ac_cv_lib_contract_ct_tmpl_activate" >&6; } | 8897 | $as_echo "$ac_cv_lib_contract_ct_tmpl_activate" >&6; } |
8543 | if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then | 8898 | if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then |
8544 | 8899 | ||
8545 | cat >>confdefs.h <<\_ACEOF | 8900 | cat >>confdefs.h <<\_ACEOF |
@@ -8560,11 +8915,11 @@ fi | |||
8560 | 8915 | ||
8561 | for ac_func in getpwanam | 8916 | for ac_func in getpwanam |
8562 | do | 8917 | do |
8563 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8918 | as_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 |
8565 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 8920 | $as_echo_n "checking for $ac_func... " >&6; } |
8566 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 8921 | if { 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 |
8568 | else | 8923 | else |
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;; |
8619 | esac | 8974 | esac |
8620 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 8975 | eval 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" |
8633 | else | 8991 | else |
8634 | echo "$as_me: failed program was:" >&5 | 8992 | $as_echo "$as_me: failed program was:" >&5 |
8635 | sed 's/^/| /' conftest.$ac_ext >&5 | 8993 | sed 's/^/| /' conftest.$ac_ext >&5 |
8636 | 8994 | ||
8637 | eval "$as_ac_var=no" | 8995 | eval "$as_ac_var=no" |
8638 | fi | 8996 | fi |
8639 | 8997 | ||
8998 | rm -rf conftest.dSYM | ||
8640 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8999 | rm -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 |
8642 | fi | 9001 | fi |
8643 | ac_res=`eval echo '${'$as_ac_var'}'` | 9002 | ac_res=`eval 'as_val=${'$as_ac_var'} |
8644 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 9003 | $as_echo "$as_val"'` |
8645 | echo "${ECHO_T}$ac_res" >&6; } | 9004 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
8646 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 9005 | $as_echo "$ac_res" >&6; } |
9006 | if 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 | ||
8651 | fi | 9012 | fi |
@@ -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 |
8693 | echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; } | 9054 | $as_echo_n "checking for dlsym in -ldl... " >&6; } |
8694 | if test "${ac_cv_lib_dl_dlsym+set}" = set; then | 9055 | if test "${ac_cv_lib_dl_dlsym+set}" = set; then |
8695 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9056 | $as_echo_n "(cached) " >&6 |
8696 | else | 9057 | else |
8697 | ac_check_lib_save_LIBS=$LIBS | 9058 | ac_check_lib_save_LIBS=$LIBS |
8698 | LIBS="-ldl $LIBS" | 9059 | LIBS="-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;; |
8726 | esac | 9087 | esac |
8727 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 9088 | eval 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 |
8740 | else | 9104 | else |
8741 | echo "$as_me: failed program was:" >&5 | 9105 | $as_echo "$as_me: failed program was:" >&5 |
8742 | sed 's/^/| /' conftest.$ac_ext >&5 | 9106 | sed 's/^/| /' conftest.$ac_ext >&5 |
8743 | 9107 | ||
8744 | ac_cv_lib_dl_dlsym=no | 9108 | ac_cv_lib_dl_dlsym=no |
8745 | fi | 9109 | fi |
8746 | 9110 | ||
9111 | rm -rf conftest.dSYM | ||
8747 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9112 | rm -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 |
8749 | LIBS=$ac_check_lib_save_LIBS | 9114 | LIBS=$ac_check_lib_save_LIBS |
8750 | fi | 9115 | fi |
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 |
8752 | echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; } | 9117 | $as_echo "$ac_cv_lib_dl_dlsym" >&6; } |
8753 | if test $ac_cv_lib_dl_dlsym = yes; then | 9118 | if 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 | |||
8760 | fi | 9125 | fi |
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 |
8764 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } | 9129 | $as_echo_n "checking for res_query in -lresolv... " >&6; } |
8765 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then | 9130 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then |
8766 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9131 | $as_echo_n "(cached) " >&6 |
8767 | else | 9132 | else |
8768 | ac_check_lib_save_LIBS=$LIBS | 9133 | ac_check_lib_save_LIBS=$LIBS |
8769 | LIBS="-lresolv $LIBS" | 9134 | LIBS="-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;; |
8797 | esac | 9162 | esac |
8798 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 9163 | eval 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 |
8811 | else | 9179 | else |
8812 | echo "$as_me: failed program was:" >&5 | 9180 | $as_echo "$as_me: failed program was:" >&5 |
8813 | sed 's/^/| /' conftest.$ac_ext >&5 | 9181 | sed 's/^/| /' conftest.$ac_ext >&5 |
8814 | 9182 | ||
8815 | ac_cv_lib_resolv_res_query=no | 9183 | ac_cv_lib_resolv_res_query=no |
8816 | fi | 9184 | fi |
8817 | 9185 | ||
9186 | rm -rf conftest.dSYM | ||
8818 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9187 | rm -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 |
8820 | LIBS=$ac_check_lib_save_LIBS | 9189 | LIBS=$ac_check_lib_save_LIBS |
8821 | fi | 9190 | fi |
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 |
8823 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; } | 9192 | $as_echo "$ac_cv_lib_resolv_res_query" >&6; } |
8824 | if test $ac_cv_lib_resolv_res_query = yes; then | 9193 | if test $ac_cv_lib_resolv_res_query = yes; then |
8825 | LIBS="$LIBS -lresolv" | 9194 | LIBS="$LIBS -lresolv" |
8826 | fi | 9195 | fi |
@@ -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 |
8926 | echo $ECHO_N "checking for getluid in -lprot... $ECHO_C" >&6; } | 9295 | $as_echo_n "checking for getluid in -lprot... " >&6; } |
8927 | if test "${ac_cv_lib_prot_getluid+set}" = set; then | 9296 | if test "${ac_cv_lib_prot_getluid+set}" = set; then |
8928 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9297 | $as_echo_n "(cached) " >&6 |
8929 | else | 9298 | else |
8930 | ac_check_lib_save_LIBS=$LIBS | 9299 | ac_check_lib_save_LIBS=$LIBS |
8931 | LIBS="-lprot $LIBS" | 9300 | LIBS="-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;; |
8959 | esac | 9328 | esac |
8960 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 9329 | eval 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 |
8973 | else | 9345 | else |
8974 | echo "$as_me: failed program was:" >&5 | 9346 | $as_echo "$as_me: failed program was:" >&5 |
8975 | sed 's/^/| /' conftest.$ac_ext >&5 | 9347 | sed 's/^/| /' conftest.$ac_ext >&5 |
8976 | 9348 | ||
8977 | ac_cv_lib_prot_getluid=no | 9349 | ac_cv_lib_prot_getluid=no |
8978 | fi | 9350 | fi |
8979 | 9351 | ||
9352 | rm -rf conftest.dSYM | ||
8980 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9353 | rm -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 |
8982 | LIBS=$ac_check_lib_save_LIBS | 9355 | LIBS=$ac_check_lib_save_LIBS |
8983 | fi | 9356 | fi |
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 |
8985 | echo "${ECHO_T}$ac_cv_lib_prot_getluid" >&6; } | 9358 | $as_echo "$ac_cv_lib_prot_getluid" >&6; } |
8986 | if test $ac_cv_lib_prot_getluid = yes; then | 9359 | if test $ac_cv_lib_prot_getluid = yes; then |
8987 | LIBS="$LIBS -lprot" | 9360 | LIBS="$LIBS -lprot" |
8988 | 9361 | ||
8989 | 9362 | ||
8990 | for ac_func in getluid setluid | 9363 | for ac_func in getluid setluid |
8991 | do | 9364 | do |
8992 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9365 | as_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 |
8994 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 9367 | $as_echo_n "checking for $ac_func... " >&6; } |
8995 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 9368 | if { 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 |
8997 | else | 9370 | else |
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;; |
9048 | esac | 9421 | esac |
9049 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 9422 | eval 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" |
9062 | else | 9438 | else |
9063 | echo "$as_me: failed program was:" >&5 | 9439 | $as_echo "$as_me: failed program was:" >&5 |
9064 | sed 's/^/| /' conftest.$ac_ext >&5 | 9440 | sed 's/^/| /' conftest.$ac_ext >&5 |
9065 | 9441 | ||
9066 | eval "$as_ac_var=no" | 9442 | eval "$as_ac_var=no" |
9067 | fi | 9443 | fi |
9068 | 9444 | ||
9445 | rm -rf conftest.dSYM | ||
9069 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9446 | rm -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 |
9071 | fi | 9448 | fi |
9072 | ac_res=`eval echo '${'$as_ac_var'}'` | 9449 | ac_res=`eval 'as_val=${'$as_ac_var'} |
9073 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 9450 | $as_echo "$as_val"'` |
9074 | echo "${ECHO_T}$ac_res" >&6; } | 9451 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
9075 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 9452 | $as_echo "$ac_res" >&6; } |
9453 | if 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 | ||
9080 | fi | 9459 | fi |
@@ -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 |
9108 | echo "$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 | ||
9160 | for ac_func in getluid setluid | 9539 | for ac_func in getluid setluid |
9161 | do | 9540 | do |
9162 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9541 | as_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 |
9164 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 9543 | $as_echo_n "checking for $ac_func... " >&6; } |
9165 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 9544 | if { 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 |
9167 | else | 9546 | else |
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;; |
9218 | esac | 9597 | esac |
9219 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 9598 | eval 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" |
9232 | else | 9614 | else |
9233 | echo "$as_me: failed program was:" >&5 | 9615 | $as_echo "$as_me: failed program was:" >&5 |
9234 | sed 's/^/| /' conftest.$ac_ext >&5 | 9616 | sed 's/^/| /' conftest.$ac_ext >&5 |
9235 | 9617 | ||
9236 | eval "$as_ac_var=no" | 9618 | eval "$as_ac_var=no" |
9237 | fi | 9619 | fi |
9238 | 9620 | ||
9621 | rm -rf conftest.dSYM | ||
9239 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9622 | rm -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 |
9241 | fi | 9624 | fi |
9242 | ac_res=`eval echo '${'$as_ac_var'}'` | 9625 | ac_res=`eval 'as_val=${'$as_ac_var'} |
9243 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 9626 | $as_echo "$as_val"'` |
9244 | echo "${ECHO_T}$ac_res" >&6; } | 9627 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
9245 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 9628 | $as_echo "$ac_res" >&6; } |
9629 | if 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 | ||
9250 | fi | 9635 | fi |
@@ -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 |
9346 | echo $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. |
9350 | if test "${with_osfsia+set}" = set; then | 9735 | if 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 |
9354 | echo "${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 |
9363 | echo "${ECHO_T}yes" >&6; } | 9748 | $as_echo "yes" >&6; } |
9364 | 9749 | ||
9365 | cat >>confdefs.h <<\_ACEOF | 9750 | cat >>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 |
9382 | echo "${ECHO_T}no" >&6; } | 9767 | $as_echo "no" >&6; } |
9383 | 9768 | ||
9384 | cat >>confdefs.h <<\_ACEOF | 9769 | cat >>confdefs.h <<\_ACEOF |
9385 | #define LOCKED_PASSWD_SUBSTR "Nologin" | 9770 | #define LOCKED_PASSWD_SUBSTR "Nologin" |
@@ -9494,11 +9879,11 @@ _ACEOF | |||
9494 | ;; | 9879 | ;; |
9495 | esac | 9880 | esac |
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 |
9498 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6; } | 9883 | $as_echo_n "checking compiler and flags for sanity... " >&6; } |
9499 | if test "$cross_compiling" = yes; then | 9884 | if 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 |
9501 | echo "$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 | ||
9503 | else | 9888 | else |
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;; |
9520 | esac | 9905 | esac |
9521 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 9906 | eval 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;; |
9529 | esac | 9915 | esac |
9530 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 9916 | eval 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 |
9536 | echo "${ECHO_T}yes" >&6; } | 9923 | $as_echo "yes" >&6; } |
9537 | else | 9924 | else |
9538 | echo "$as_me: program exited with status $ac_status" >&5 | 9925 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
9539 | echo "$as_me: failed program was:" >&5 | 9926 | $as_echo "$as_me: failed program was:" >&5 |
9540 | sed 's/^/| /' conftest.$ac_ext >&5 | 9927 | sed '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 |
9545 | echo "${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 |
9547 | echo "$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 | ||
9550 | fi | 9937 | fi |
9938 | rm -rf conftest.dSYM | ||
9551 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 9939 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9552 | fi | 9940 | fi |
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 |
9558 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6; } | 9946 | $as_echo_n "checking for yp_match... " >&6; } |
9559 | if test "${ac_cv_func_yp_match+set}" = set; then | 9947 | if test "${ac_cv_func_yp_match+set}" = set; then |
9560 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9948 | $as_echo_n "(cached) " >&6 |
9561 | else | 9949 | else |
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;; |
9612 | esac | 10000 | esac |
9613 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10001 | eval 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 |
9626 | else | 10017 | else |
9627 | echo "$as_me: failed program was:" >&5 | 10018 | $as_echo "$as_me: failed program was:" >&5 |
9628 | sed 's/^/| /' conftest.$ac_ext >&5 | 10019 | sed 's/^/| /' conftest.$ac_ext >&5 |
9629 | 10020 | ||
9630 | ac_cv_func_yp_match=no | 10021 | ac_cv_func_yp_match=no |
9631 | fi | 10022 | fi |
9632 | 10023 | ||
10024 | rm -rf conftest.dSYM | ||
9633 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10025 | rm -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 |
9635 | fi | 10027 | fi |
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 |
9637 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6; } | 10029 | $as_echo "$ac_cv_func_yp_match" >&6; } |
9638 | if test $ac_cv_func_yp_match = yes; then | 10030 | if test $ac_cv_func_yp_match = yes; then |
9639 | : | 10031 | : |
9640 | else | 10032 | else |
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 |
9643 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6; } | 10035 | $as_echo_n "checking for yp_match in -lnsl... " >&6; } |
9644 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then | 10036 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then |
9645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10037 | $as_echo_n "(cached) " >&6 |
9646 | else | 10038 | else |
9647 | ac_check_lib_save_LIBS=$LIBS | 10039 | ac_check_lib_save_LIBS=$LIBS |
9648 | LIBS="-lnsl $LIBS" | 10040 | LIBS="-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;; |
9676 | esac | 10068 | esac |
9677 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10069 | eval 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 |
9690 | else | 10085 | else |
9691 | echo "$as_me: failed program was:" >&5 | 10086 | $as_echo "$as_me: failed program was:" >&5 |
9692 | sed 's/^/| /' conftest.$ac_ext >&5 | 10087 | sed 's/^/| /' conftest.$ac_ext >&5 |
9693 | 10088 | ||
9694 | ac_cv_lib_nsl_yp_match=no | 10089 | ac_cv_lib_nsl_yp_match=no |
9695 | fi | 10090 | fi |
9696 | 10091 | ||
10092 | rm -rf conftest.dSYM | ||
9697 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10093 | rm -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 |
9699 | LIBS=$ac_check_lib_save_LIBS | 10095 | LIBS=$ac_check_lib_save_LIBS |
9700 | fi | 10096 | fi |
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 |
9702 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6; } | 10098 | $as_echo "$ac_cv_lib_nsl_yp_match" >&6; } |
9703 | if test $ac_cv_lib_nsl_yp_match = yes; then | 10099 | if 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 | ||
9712 | fi | 10108 | fi |
9713 | 10109 | ||
9714 | { echo "$as_me:$LINENO: checking for setsockopt" >&5 | 10110 | { $as_echo "$as_me:$LINENO: checking for setsockopt" >&5 |
9715 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; } | 10111 | $as_echo_n "checking for setsockopt... " >&6; } |
9716 | if test "${ac_cv_func_setsockopt+set}" = set; then | 10112 | if test "${ac_cv_func_setsockopt+set}" = set; then |
9717 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10113 | $as_echo_n "(cached) " >&6 |
9718 | else | 10114 | else |
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;; |
9769 | esac | 10165 | esac |
9770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10166 | eval 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 |
9783 | else | 10182 | else |
9784 | echo "$as_me: failed program was:" >&5 | 10183 | $as_echo "$as_me: failed program was:" >&5 |
9785 | sed 's/^/| /' conftest.$ac_ext >&5 | 10184 | sed 's/^/| /' conftest.$ac_ext >&5 |
9786 | 10185 | ||
9787 | ac_cv_func_setsockopt=no | 10186 | ac_cv_func_setsockopt=no |
9788 | fi | 10187 | fi |
9789 | 10188 | ||
10189 | rm -rf conftest.dSYM | ||
9790 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10190 | rm -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 |
9792 | fi | 10192 | fi |
9793 | { echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 | 10193 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 |
9794 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; } | 10194 | $as_echo "$ac_cv_func_setsockopt" >&6; } |
9795 | if test $ac_cv_func_setsockopt = yes; then | 10195 | if test $ac_cv_func_setsockopt = yes; then |
9796 | : | 10196 | : |
9797 | else | 10197 | else |
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 |
9800 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; } | 10200 | $as_echo_n "checking for setsockopt in -lsocket... " >&6; } |
9801 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then | 10201 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then |
9802 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10202 | $as_echo_n "(cached) " >&6 |
9803 | else | 10203 | else |
9804 | ac_check_lib_save_LIBS=$LIBS | 10204 | ac_check_lib_save_LIBS=$LIBS |
9805 | LIBS="-lsocket $LIBS" | 10205 | LIBS="-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;; |
9833 | esac | 10233 | esac |
9834 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10234 | eval 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 |
9847 | else | 10250 | else |
9848 | echo "$as_me: failed program was:" >&5 | 10251 | $as_echo "$as_me: failed program was:" >&5 |
9849 | sed 's/^/| /' conftest.$ac_ext >&5 | 10252 | sed 's/^/| /' conftest.$ac_ext >&5 |
9850 | 10253 | ||
9851 | ac_cv_lib_socket_setsockopt=no | 10254 | ac_cv_lib_socket_setsockopt=no |
9852 | fi | 10255 | fi |
9853 | 10256 | ||
10257 | rm -rf conftest.dSYM | ||
9854 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10258 | rm -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 |
9856 | LIBS=$ac_check_lib_save_LIBS | 10260 | LIBS=$ac_check_lib_save_LIBS |
9857 | fi | 10261 | fi |
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 |
9859 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; } | 10263 | $as_echo "$ac_cv_lib_socket_setsockopt" >&6; } |
9860 | if test $ac_cv_lib_socket_setsockopt = yes; then | 10264 | if 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 | ||
9873 | for ac_func in dirname | 10277 | for ac_func in dirname |
9874 | do | 10278 | do |
9875 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10279 | as_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 |
9877 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 10281 | $as_echo_n "checking for $ac_func... " >&6; } |
9878 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 10282 | if { 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 |
9880 | else | 10284 | else |
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;; |
9931 | esac | 10335 | esac |
9932 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10336 | eval 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" |
9945 | else | 10352 | else |
9946 | echo "$as_me: failed program was:" >&5 | 10353 | $as_echo "$as_me: failed program was:" >&5 |
9947 | sed 's/^/| /' conftest.$ac_ext >&5 | 10354 | sed 's/^/| /' conftest.$ac_ext >&5 |
9948 | 10355 | ||
9949 | eval "$as_ac_var=no" | 10356 | eval "$as_ac_var=no" |
9950 | fi | 10357 | fi |
9951 | 10358 | ||
10359 | rm -rf conftest.dSYM | ||
9952 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10360 | rm -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 |
9954 | fi | 10362 | fi |
9955 | ac_res=`eval echo '${'$as_ac_var'}'` | 10363 | ac_res=`eval 'as_val=${'$as_ac_var'} |
9956 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10364 | $as_echo "$as_val"'` |
9957 | echo "${ECHO_T}$ac_res" >&6; } | 10365 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
9958 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 10366 | $as_echo "$ac_res" >&6; } |
10367 | if 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 | ||
9963 | for ac_header in libgen.h | 10373 | for ac_header in libgen.h |
9964 | do | 10374 | do |
9965 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10375 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9966 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10376 | if { 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 |
9968 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 10378 | $as_echo_n "checking for $ac_header... " >&6; } |
9969 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10379 | if { 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 |
9971 | fi | 10381 | fi |
9972 | ac_res=`eval echo '${'$as_ac_Header'}'` | 10382 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
9973 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10383 | $as_echo "$as_val"'` |
9974 | echo "${ECHO_T}$ac_res" >&6; } | 10384 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
10385 | $as_echo "$ac_res" >&6; } | ||
9975 | else | 10386 | else |
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 |
9978 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 10389 | $as_echo_n "checking $ac_header usability... " >&6; } |
9979 | cat >conftest.$ac_ext <<_ACEOF | 10390 | cat >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;; |
9993 | esac | 10404 | esac |
9994 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10405 | eval 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 |
10006 | else | 10418 | else |
10007 | echo "$as_me: failed program was:" >&5 | 10419 | $as_echo "$as_me: failed program was:" >&5 |
10008 | sed 's/^/| /' conftest.$ac_ext >&5 | 10420 | sed 's/^/| /' conftest.$ac_ext >&5 |
10009 | 10421 | ||
10010 | ac_header_compiler=no | 10422 | ac_header_compiler=no |
10011 | fi | 10423 | fi |
10012 | 10424 | ||
10013 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10425 | rm -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 |
10015 | echo "${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 |
10019 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 10431 | $as_echo_n "checking $ac_header presence... " >&6; } |
10020 | cat >conftest.$ac_ext <<_ACEOF | 10432 | cat >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;; |
10032 | esac | 10444 | esac |
10033 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10445 | eval 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 |
10045 | else | 10458 | else |
10046 | echo "$as_me: failed program was:" >&5 | 10459 | $as_echo "$as_me: failed program was:" >&5 |
10047 | sed 's/^/| /' conftest.$ac_ext >&5 | 10460 | sed 's/^/| /' conftest.$ac_ext >&5 |
10048 | 10461 | ||
10049 | ac_header_preproc=no | 10462 | ac_header_preproc=no |
10050 | fi | 10463 | fi |
10051 | 10464 | ||
10052 | rm -f conftest.err conftest.$ac_ext | 10465 | rm -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 |
10054 | echo "${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? |
10057 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 10470 | case $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 |
10060 | echo "$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 |
10062 | echo "$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 |
10067 | echo "$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 |
10069 | echo "$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 |
10071 | echo "$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 |
10073 | echo "$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 |
10075 | echo "$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 |
10077 | echo "$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 | ;; |
10085 | esac | 10498 | esac |
10086 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10499 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10087 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 10500 | $as_echo_n "checking for $ac_header... " >&6; } |
10088 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10501 | if { 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 |
10090 | else | 10503 | else |
10091 | eval "$as_ac_Header=\$ac_header_preproc" | 10504 | eval "$as_ac_Header=\$ac_header_preproc" |
10092 | fi | 10505 | fi |
10093 | ac_res=`eval echo '${'$as_ac_Header'}'` | 10506 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
10094 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10507 | $as_echo "$as_val"'` |
10095 | echo "${ECHO_T}$ac_res" >&6; } | 10508 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
10509 | $as_echo "$ac_res" >&6; } | ||
10096 | 10510 | ||
10097 | fi | 10511 | fi |
10098 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10512 | if 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 | ||
10103 | fi | 10518 | fi |
@@ -10106,10 +10521,10 @@ done | |||
10106 | 10521 | ||
10107 | else | 10522 | else |
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 |
10110 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6; } | 10525 | $as_echo_n "checking for dirname in -lgen... " >&6; } |
10111 | if test "${ac_cv_lib_gen_dirname+set}" = set; then | 10526 | if test "${ac_cv_lib_gen_dirname+set}" = set; then |
10112 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10527 | $as_echo_n "(cached) " >&6 |
10113 | else | 10528 | else |
10114 | ac_check_lib_save_LIBS=$LIBS | 10529 | ac_check_lib_save_LIBS=$LIBS |
10115 | LIBS="-lgen $LIBS" | 10530 | LIBS="-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;; |
10143 | esac | 10558 | esac |
10144 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10559 | eval 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 |
10157 | else | 10575 | else |
10158 | echo "$as_me: failed program was:" >&5 | 10576 | $as_echo "$as_me: failed program was:" >&5 |
10159 | sed 's/^/| /' conftest.$ac_ext >&5 | 10577 | sed 's/^/| /' conftest.$ac_ext >&5 |
10160 | 10578 | ||
10161 | ac_cv_lib_gen_dirname=no | 10579 | ac_cv_lib_gen_dirname=no |
10162 | fi | 10580 | fi |
10163 | 10581 | ||
10582 | rm -rf conftest.dSYM | ||
10164 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10583 | rm -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 |
10166 | LIBS=$ac_check_lib_save_LIBS | 10585 | LIBS=$ac_check_lib_save_LIBS |
10167 | fi | 10586 | fi |
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 |
10169 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6; } | 10588 | $as_echo "$ac_cv_lib_gen_dirname" >&6; } |
10170 | if test $ac_cv_lib_gen_dirname = yes; then | 10589 | if 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 |
10173 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6; } | 10592 | $as_echo_n "checking for broken dirname... " >&6; } |
10174 | if test "${ac_cv_have_broken_dirname+set}" = set; then | 10593 | if test "${ac_cv_have_broken_dirname+set}" = set; then |
10175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10594 | $as_echo_n "(cached) " >&6 |
10176 | else | 10595 | else |
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;; |
10211 | esac | 10630 | esac |
10212 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10631 | eval 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;; |
10220 | esac | 10640 | esac |
10221 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10641 | eval 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" |
10227 | else | 10648 | else |
10228 | echo "$as_me: program exited with status $ac_status" >&5 | 10649 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
10229 | echo "$as_me: failed program was:" >&5 | 10650 | $as_echo "$as_me: failed program was:" >&5 |
10230 | sed 's/^/| /' conftest.$ac_ext >&5 | 10651 | sed '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" |
10234 | fi | 10655 | fi |
10656 | rm -rf conftest.dSYM | ||
10235 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10657 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10236 | fi | 10658 | fi |
10237 | 10659 | ||
@@ -10239,8 +10661,8 @@ fi | |||
10239 | LIBS="$save_LIBS" | 10661 | LIBS="$save_LIBS" |
10240 | 10662 | ||
10241 | fi | 10663 | fi |
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 |
10243 | echo "${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 | ||
10251 | for ac_header in libgen.h | 10673 | for ac_header in libgen.h |
10252 | do | 10674 | do |
10253 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10675 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10254 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10676 | if { 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 |
10256 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 10678 | $as_echo_n "checking for $ac_header... " >&6; } |
10257 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10679 | if { 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 |
10259 | fi | 10681 | fi |
10260 | ac_res=`eval echo '${'$as_ac_Header'}'` | 10682 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
10261 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10683 | $as_echo "$as_val"'` |
10262 | echo "${ECHO_T}$ac_res" >&6; } | 10684 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
10685 | $as_echo "$ac_res" >&6; } | ||
10263 | else | 10686 | else |
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 |
10266 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 10689 | $as_echo_n "checking $ac_header usability... " >&6; } |
10267 | cat >conftest.$ac_ext <<_ACEOF | 10690 | cat >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;; |
10281 | esac | 10704 | esac |
10282 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10705 | eval 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 |
10294 | else | 10718 | else |
10295 | echo "$as_me: failed program was:" >&5 | 10719 | $as_echo "$as_me: failed program was:" >&5 |
10296 | sed 's/^/| /' conftest.$ac_ext >&5 | 10720 | sed 's/^/| /' conftest.$ac_ext >&5 |
10297 | 10721 | ||
10298 | ac_header_compiler=no | 10722 | ac_header_compiler=no |
10299 | fi | 10723 | fi |
10300 | 10724 | ||
10301 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10725 | rm -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 |
10303 | echo "${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 |
10307 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 10731 | $as_echo_n "checking $ac_header presence... " >&6; } |
10308 | cat >conftest.$ac_ext <<_ACEOF | 10732 | cat >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;; |
10320 | esac | 10744 | esac |
10321 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10745 | eval 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 |
10333 | else | 10758 | else |
10334 | echo "$as_me: failed program was:" >&5 | 10759 | $as_echo "$as_me: failed program was:" >&5 |
10335 | sed 's/^/| /' conftest.$ac_ext >&5 | 10760 | sed 's/^/| /' conftest.$ac_ext >&5 |
10336 | 10761 | ||
10337 | ac_header_preproc=no | 10762 | ac_header_preproc=no |
10338 | fi | 10763 | fi |
10339 | 10764 | ||
10340 | rm -f conftest.err conftest.$ac_ext | 10765 | rm -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 |
10342 | echo "${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? |
10345 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 10770 | case $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 |
10348 | echo "$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 |
10350 | echo "$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 |
10355 | echo "$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 |
10357 | echo "$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 |
10359 | echo "$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 |
10361 | echo "$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 |
10363 | echo "$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 |
10365 | echo "$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 | ;; |
10373 | esac | 10798 | esac |
10374 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10799 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10375 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 10800 | $as_echo_n "checking for $ac_header... " >&6; } |
10376 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 10801 | if { 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 |
10378 | else | 10803 | else |
10379 | eval "$as_ac_Header=\$ac_header_preproc" | 10804 | eval "$as_ac_Header=\$ac_header_preproc" |
10380 | fi | 10805 | fi |
10381 | ac_res=`eval echo '${'$as_ac_Header'}'` | 10806 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
10382 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10807 | $as_echo "$as_val"'` |
10383 | echo "${ECHO_T}$ac_res" >&6; } | 10808 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
10809 | $as_echo "$ac_res" >&6; } | ||
10384 | 10810 | ||
10385 | fi | 10811 | fi |
10386 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10812 | if 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 | ||
10391 | fi | 10818 | fi |
@@ -10401,10 +10828,10 @@ fi | |||
10401 | done | 10828 | done |
10402 | 10829 | ||
10403 | 10830 | ||
10404 | { echo "$as_me:$LINENO: checking for getspnam" >&5 | 10831 | { $as_echo "$as_me:$LINENO: checking for getspnam" >&5 |
10405 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6; } | 10832 | $as_echo_n "checking for getspnam... " >&6; } |
10406 | if test "${ac_cv_func_getspnam+set}" = set; then | 10833 | if test "${ac_cv_func_getspnam+set}" = set; then |
10407 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10834 | $as_echo_n "(cached) " >&6 |
10408 | else | 10835 | else |
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;; |
10459 | esac | 10886 | esac |
10460 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10887 | eval 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 |
10473 | else | 10903 | else |
10474 | echo "$as_me: failed program was:" >&5 | 10904 | $as_echo "$as_me: failed program was:" >&5 |
10475 | sed 's/^/| /' conftest.$ac_ext >&5 | 10905 | sed 's/^/| /' conftest.$ac_ext >&5 |
10476 | 10906 | ||
10477 | ac_cv_func_getspnam=no | 10907 | ac_cv_func_getspnam=no |
10478 | fi | 10908 | fi |
10479 | 10909 | ||
10910 | rm -rf conftest.dSYM | ||
10480 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10911 | rm -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 |
10482 | fi | 10913 | fi |
10483 | { echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 | 10914 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 |
10484 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6; } | 10915 | $as_echo "$ac_cv_func_getspnam" >&6; } |
10485 | if test $ac_cv_func_getspnam = yes; then | 10916 | if test $ac_cv_func_getspnam = yes; then |
10486 | : | 10917 | : |
10487 | else | 10918 | else |
10488 | { echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 | 10919 | { $as_echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 |
10489 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6; } | 10920 | $as_echo_n "checking for getspnam in -lgen... " >&6; } |
10490 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then | 10921 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
10491 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10922 | $as_echo_n "(cached) " >&6 |
10492 | else | 10923 | else |
10493 | ac_check_lib_save_LIBS=$LIBS | 10924 | ac_check_lib_save_LIBS=$LIBS |
10494 | LIBS="-lgen $LIBS" | 10925 | LIBS="-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;; |
10522 | esac | 10953 | esac |
10523 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 10954 | eval 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 |
10536 | else | 10970 | else |
10537 | echo "$as_me: failed program was:" >&5 | 10971 | $as_echo "$as_me: failed program was:" >&5 |
10538 | sed 's/^/| /' conftest.$ac_ext >&5 | 10972 | sed 's/^/| /' conftest.$ac_ext >&5 |
10539 | 10973 | ||
10540 | ac_cv_lib_gen_getspnam=no | 10974 | ac_cv_lib_gen_getspnam=no |
10541 | fi | 10975 | fi |
10542 | 10976 | ||
10977 | rm -rf conftest.dSYM | ||
10543 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10978 | rm -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 |
10545 | LIBS=$ac_check_lib_save_LIBS | 10980 | LIBS=$ac_check_lib_save_LIBS |
10546 | fi | 10981 | fi |
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 |
10548 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6; } | 10983 | $as_echo "$ac_cv_lib_gen_getspnam" >&6; } |
10549 | if test $ac_cv_lib_gen_getspnam = yes; then | 10984 | if test $ac_cv_lib_gen_getspnam = yes; then |
10550 | LIBS="$LIBS -lgen" | 10985 | LIBS="$LIBS -lgen" |
10551 | fi | 10986 | fi |
10552 | 10987 | ||
10553 | fi | 10988 | fi |
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 |
10556 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; } | 10991 | $as_echo_n "checking for library containing basename... " >&6; } |
10557 | if test "${ac_cv_search_basename+set}" = set; then | 10992 | if test "${ac_cv_search_basename+set}" = set; then |
10558 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10993 | $as_echo_n "(cached) " >&6 |
10559 | else | 10994 | else |
10560 | ac_func_search_save_LIBS=$LIBS | 10995 | ac_func_search_save_LIBS=$LIBS |
10561 | cat >conftest.$ac_ext <<_ACEOF | 10996 | cat >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;; |
10595 | esac | 11030 | esac |
10596 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11031 | eval 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 |
10609 | else | 11047 | else |
10610 | echo "$as_me: failed program was:" >&5 | 11048 | $as_echo "$as_me: failed program was:" >&5 |
10611 | sed 's/^/| /' conftest.$ac_ext >&5 | 11049 | sed 's/^/| /' conftest.$ac_ext >&5 |
10612 | 11050 | ||
10613 | 11051 | ||
10614 | fi | 11052 | fi |
10615 | 11053 | ||
11054 | rm -rf conftest.dSYM | ||
10616 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11055 | rm -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 | |||
10627 | rm conftest.$ac_ext | 11066 | rm conftest.$ac_ext |
10628 | LIBS=$ac_func_search_save_LIBS | 11067 | LIBS=$ac_func_search_save_LIBS |
10629 | fi | 11068 | fi |
10630 | { echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 | 11069 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 |
10631 | echo "${ECHO_T}$ac_cv_search_basename" >&6; } | 11070 | $as_echo "$ac_cv_search_basename" >&6; } |
10632 | ac_res=$ac_cv_search_basename | 11071 | ac_res=$ac_cv_search_basename |
10633 | if test "$ac_res" != no; then | 11072 | if 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. |
10645 | if test "${with_zlib+set}" = set; then | 11084 | if 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 |
10648 | echo "$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;} | |||
10671 | fi | 11110 | fi |
10672 | 11111 | ||
10673 | 11112 | ||
11113 | if 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; } | ||
11116 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
11117 | $as_echo_n "(cached) " >&6 | ||
11118 | fi | ||
11119 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | ||
11120 | $as_echo "$ac_cv_header_zlib_h" >&6; } | ||
11121 | else | ||
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; } | ||
11125 | cat >conftest.$ac_ext <<_ACEOF | ||
11126 | /* confdefs.h. */ | ||
11127 | _ACEOF | ||
11128 | cat confdefs.h >>conftest.$ac_ext | ||
11129 | cat >>conftest.$ac_ext <<_ACEOF | ||
11130 | /* end confdefs.h. */ | ||
11131 | $ac_includes_default | ||
11132 | #include <zlib.h> | ||
11133 | _ACEOF | ||
11134 | rm -f conftest.$ac_objext | ||
11135 | if { (ac_try="$ac_compile" | ||
11136 | case "(($ac_try" in | ||
11137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11138 | *) ac_try_echo=$ac_try;; | ||
11139 | esac | ||
11140 | eval 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 | ||
11153 | else | ||
11154 | $as_echo "$as_me: failed program was:" >&5 | ||
11155 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11156 | |||
11157 | ac_header_compiler=no | ||
11158 | fi | ||
11159 | |||
11160 | rm -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? |
10676 | echo $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; } | ||
11167 | cat >conftest.$ac_ext <<_ACEOF | ||
11168 | /* confdefs.h. */ | ||
11169 | _ACEOF | ||
11170 | cat confdefs.h >>conftest.$ac_ext | ||
11171 | cat >>conftest.$ac_ext <<_ACEOF | ||
11172 | /* end confdefs.h. */ | ||
11173 | #include <zlib.h> | ||
11174 | _ACEOF | ||
11175 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
11176 | case "(($ac_try" in | ||
11177 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11178 | *) ac_try_echo=$ac_try;; | ||
11179 | esac | ||
11180 | eval 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 | ||
11193 | else | ||
11194 | $as_echo "$as_me: failed program was:" >&5 | ||
11195 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11196 | |||
11197 | ac_header_preproc=no | ||
11198 | fi | ||
11199 | |||
11200 | rm -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? | ||
11205 | case $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 | ;; | ||
11233 | esac | ||
11234 | { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5 | ||
11235 | $as_echo_n "checking for zlib.h... " >&6; } | ||
11236 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
11237 | $as_echo_n "(cached) " >&6 | ||
11238 | else | ||
11239 | ac_cv_header_zlib_h=$ac_header_preproc | ||
11240 | fi | ||
11241 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | ||
11242 | $as_echo "$ac_cv_header_zlib_h" >&6; } | ||
11243 | |||
11244 | fi | ||
11245 | if test $ac_cv_header_zlib_h = yes; then | ||
11246 | : | ||
11247 | else | ||
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; }; } | ||
11251 | fi | ||
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; } | ||
10677 | if test "${ac_cv_lib_z_deflate+set}" = set; then | 11257 | if test "${ac_cv_lib_z_deflate+set}" = set; then |
10678 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11258 | $as_echo_n "(cached) " >&6 |
10679 | else | 11259 | else |
10680 | ac_check_lib_save_LIBS=$LIBS | 11260 | ac_check_lib_save_LIBS=$LIBS |
10681 | LIBS="-lz $LIBS" | 11261 | LIBS="-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;; |
10709 | esac | 11289 | esac |
10710 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11290 | eval 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 |
10723 | else | 11306 | else |
10724 | echo "$as_me: failed program was:" >&5 | 11307 | $as_echo "$as_me: failed program was:" >&5 |
10725 | sed 's/^/| /' conftest.$ac_ext >&5 | 11308 | sed 's/^/| /' conftest.$ac_ext >&5 |
10726 | 11309 | ||
10727 | ac_cv_lib_z_deflate=no | 11310 | ac_cv_lib_z_deflate=no |
10728 | fi | 11311 | fi |
10729 | 11312 | ||
11313 | rm -rf conftest.dSYM | ||
10730 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11314 | rm -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 |
10732 | LIBS=$ac_check_lib_save_LIBS | 11316 | LIBS=$ac_check_lib_save_LIBS |
10733 | fi | 11317 | fi |
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 |
10735 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; } | 11319 | $as_echo "$ac_cv_lib_z_deflate" >&6; } |
10736 | if test $ac_cv_lib_z_deflate = yes; then | 11320 | if 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;; |
10782 | esac | 11366 | esac |
10783 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11367 | eval 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 | ||
10799 | else | 11386 | else |
10800 | echo "$as_me: failed program was:" >&5 | 11387 | $as_echo "$as_me: failed program was:" >&5 |
10801 | sed 's/^/| /' conftest.$ac_ext >&5 | 11388 | sed '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 |
10805 | echo "$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 | ||
10809 | fi | 11396 | fi |
10810 | 11397 | ||
11398 | rm -rf conftest.dSYM | ||
10811 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11399 | rm -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 | ||
10815 | fi | 11403 | fi |
10816 | 11404 | ||
10817 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
10818 | { echo "$as_me:$LINENO: checking for zlib.h" >&5 | ||
10819 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } | ||
10820 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
10821 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10822 | fi | ||
10823 | { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | ||
10824 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } | ||
10825 | else | ||
10826 | # Is the header compilable? | ||
10827 | { echo "$as_me:$LINENO: checking zlib.h usability" >&5 | ||
10828 | echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } | ||
10829 | cat >conftest.$ac_ext <<_ACEOF | ||
10830 | /* confdefs.h. */ | ||
10831 | _ACEOF | ||
10832 | cat confdefs.h >>conftest.$ac_ext | ||
10833 | cat >>conftest.$ac_ext <<_ACEOF | ||
10834 | /* end confdefs.h. */ | ||
10835 | $ac_includes_default | ||
10836 | #include <zlib.h> | ||
10837 | _ACEOF | ||
10838 | rm -f conftest.$ac_objext | ||
10839 | if { (ac_try="$ac_compile" | ||
10840 | case "(($ac_try" in | ||
10841 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10842 | *) ac_try_echo=$ac_try;; | ||
10843 | esac | ||
10844 | eval "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 | ||
10856 | else | ||
10857 | echo "$as_me: failed program was:" >&5 | ||
10858 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10859 | |||
10860 | ac_header_compiler=no | ||
10861 | fi | ||
10862 | |||
10863 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10864 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
10865 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
10866 | |||
10867 | # Is the header present? | ||
10868 | { echo "$as_me:$LINENO: checking zlib.h presence" >&5 | ||
10869 | echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } | ||
10870 | cat >conftest.$ac_ext <<_ACEOF | ||
10871 | /* confdefs.h. */ | ||
10872 | _ACEOF | ||
10873 | cat confdefs.h >>conftest.$ac_ext | ||
10874 | cat >>conftest.$ac_ext <<_ACEOF | ||
10875 | /* end confdefs.h. */ | ||
10876 | #include <zlib.h> | ||
10877 | _ACEOF | ||
10878 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
10879 | case "(($ac_try" in | ||
10880 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10881 | *) ac_try_echo=$ac_try;; | ||
10882 | esac | ||
10883 | eval "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 | ||
10895 | else | ||
10896 | echo "$as_me: failed program was:" >&5 | ||
10897 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10898 | |||
10899 | ac_header_preproc=no | ||
10900 | fi | ||
10901 | |||
10902 | rm -f conftest.err conftest.$ac_ext | ||
10903 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
10904 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
10905 | |||
10906 | # So? What about this header? | ||
10907 | case $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 | ||
10910 | echo "$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 | ||
10912 | echo "$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 | ||
10917 | echo "$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 | ||
10919 | echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} | ||
10920 | { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 | ||
10921 | echo "$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 | ||
10923 | echo "$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 | ||
10925 | echo "$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 | ||
10927 | echo "$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 | ;; | ||
10935 | esac | ||
10936 | { echo "$as_me:$LINENO: checking for zlib.h" >&5 | ||
10937 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } | ||
10938 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
10939 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10940 | else | ||
10941 | ac_cv_header_zlib_h=$ac_header_preproc | ||
10942 | fi | ||
10943 | { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | ||
10944 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } | ||
10945 | |||
10946 | fi | ||
10947 | if test $ac_cv_header_zlib_h = yes; then | ||
10948 | : | ||
10949 | else | ||
10950 | { { echo "$as_me:$LINENO: error: *** zlib.h missing - please install first or check config.log ***" >&5 | ||
10951 | echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;} | ||
10952 | { (exit 1); exit 1; }; } | ||
10953 | fi | ||
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 | |||
10965 | fi | 11414 | fi |
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 |
10969 | echo $ECHO_N "checking for possibly buggy zlib... $ECHO_C" >&6; } | 11418 | $as_echo_n "checking for possibly buggy zlib... " >&6; } |
10970 | if test "$cross_compiling" = yes; then | 11419 | if 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 |
10972 | echo "$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 | ||
10974 | else | 11423 | else |
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;; |
11010 | esac | 11459 | esac |
11011 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11460 | eval 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;; |
11019 | esac | 11469 | esac |
11020 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11470 | eval 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 |
11026 | echo "${ECHO_T}no" >&6; } | 11477 | $as_echo "no" >&6; } |
11027 | else | 11478 | else |
11028 | echo "$as_me: program exited with status $ac_status" >&5 | 11479 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
11029 | echo "$as_me: failed program was:" >&5 | 11480 | $as_echo "$as_me: failed program was:" >&5 |
11030 | sed 's/^/| /' conftest.$ac_ext >&5 | 11481 | sed '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 |
11034 | echo "${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 *** |
11037 | Your reported zlib version has known security problems. It's possible your | 11488 | Your reported zlib version has known security problems. It's possible your |
11038 | vendor has fixed these problems without changing the version number. If you | 11489 | vendor has fixed these problems without changing the version number. If you |
11039 | are sure this is the case, you can disable the check by running | 11490 | are sure this is the case, you can disable the check by running |
11040 | \"./configure --without-zlib-version-check\". | 11491 | \"./configure --without-zlib-version-check\". |
11041 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. | 11492 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
11042 | See http://www.gzip.org/zlib/ for details." >&5 | 11493 | See http://www.gzip.org/zlib/ for details." >&5 |
11043 | echo "$as_me: error: *** zlib too old - check config.log *** | 11494 | $as_echo "$as_me: error: *** zlib too old - check config.log *** |
11044 | Your reported zlib version has known security problems. It's possible your | 11495 | Your reported zlib version has known security problems. It's possible your |
11045 | vendor has fixed these problems without changing the version number. If you | 11496 | vendor has fixed these problems without changing the version number. If you |
11046 | are sure this is the case, you can disable the check by running | 11497 | are 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. | |||
11049 | See http://www.gzip.org/zlib/ for details." >&2;} | 11500 | See 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 |
11053 | echo "$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 | ||
11056 | fi | 11507 | fi |
11508 | rm -rf conftest.dSYM | ||
11057 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11509 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11058 | fi | 11510 | fi |
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 |
11063 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; } | 11515 | $as_echo_n "checking for strcasecmp... " >&6; } |
11064 | if test "${ac_cv_func_strcasecmp+set}" = set; then | 11516 | if test "${ac_cv_func_strcasecmp+set}" = set; then |
11065 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11517 | $as_echo_n "(cached) " >&6 |
11066 | else | 11518 | else |
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;; |
11117 | esac | 11569 | esac |
11118 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11570 | eval 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 |
11131 | else | 11586 | else |
11132 | echo "$as_me: failed program was:" >&5 | 11587 | $as_echo "$as_me: failed program was:" >&5 |
11133 | sed 's/^/| /' conftest.$ac_ext >&5 | 11588 | sed 's/^/| /' conftest.$ac_ext >&5 |
11134 | 11589 | ||
11135 | ac_cv_func_strcasecmp=no | 11590 | ac_cv_func_strcasecmp=no |
11136 | fi | 11591 | fi |
11137 | 11592 | ||
11593 | rm -rf conftest.dSYM | ||
11138 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11594 | rm -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 |
11140 | fi | 11596 | fi |
11141 | { echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 | 11597 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 |
11142 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; } | 11598 | $as_echo "$ac_cv_func_strcasecmp" >&6; } |
11143 | if test $ac_cv_func_strcasecmp = yes; then | 11599 | if test $ac_cv_func_strcasecmp = yes; then |
11144 | : | 11600 | : |
11145 | else | 11601 | else |
11146 | { echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 | 11602 | { $as_echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 |
11147 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6; } | 11603 | $as_echo_n "checking for strcasecmp in -lresolv... " >&6; } |
11148 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then | 11604 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then |
11149 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11605 | $as_echo_n "(cached) " >&6 |
11150 | else | 11606 | else |
11151 | ac_check_lib_save_LIBS=$LIBS | 11607 | ac_check_lib_save_LIBS=$LIBS |
11152 | LIBS="-lresolv $LIBS" | 11608 | LIBS="-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;; |
11180 | esac | 11636 | esac |
11181 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11637 | eval 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 |
11194 | else | 11653 | else |
11195 | echo "$as_me: failed program was:" >&5 | 11654 | $as_echo "$as_me: failed program was:" >&5 |
11196 | sed 's/^/| /' conftest.$ac_ext >&5 | 11655 | sed 's/^/| /' conftest.$ac_ext >&5 |
11197 | 11656 | ||
11198 | ac_cv_lib_resolv_strcasecmp=no | 11657 | ac_cv_lib_resolv_strcasecmp=no |
11199 | fi | 11658 | fi |
11200 | 11659 | ||
11660 | rm -rf conftest.dSYM | ||
11201 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11661 | rm -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 |
11203 | LIBS=$ac_check_lib_save_LIBS | 11663 | LIBS=$ac_check_lib_save_LIBS |
11204 | fi | 11664 | fi |
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 |
11206 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6; } | 11666 | $as_echo "$ac_cv_lib_resolv_strcasecmp" >&6; } |
11207 | if test $ac_cv_lib_resolv_strcasecmp = yes; then | 11667 | if test $ac_cv_lib_resolv_strcasecmp = yes; then |
11208 | LIBS="$LIBS -lresolv" | 11668 | LIBS="$LIBS -lresolv" |
11209 | fi | 11669 | fi |
@@ -11214,11 +11674,11 @@ fi | |||
11214 | 11674 | ||
11215 | for ac_func in utimes | 11675 | for ac_func in utimes |
11216 | do | 11676 | do |
11217 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11677 | as_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 |
11219 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 11679 | $as_echo_n "checking for $ac_func... " >&6; } |
11220 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 11680 | if { 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 |
11222 | else | 11682 | else |
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;; |
11273 | esac | 11733 | esac |
11274 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11734 | eval 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" |
11287 | else | 11750 | else |
11288 | echo "$as_me: failed program was:" >&5 | 11751 | $as_echo "$as_me: failed program was:" >&5 |
11289 | sed 's/^/| /' conftest.$ac_ext >&5 | 11752 | sed 's/^/| /' conftest.$ac_ext >&5 |
11290 | 11753 | ||
11291 | eval "$as_ac_var=no" | 11754 | eval "$as_ac_var=no" |
11292 | fi | 11755 | fi |
11293 | 11756 | ||
11757 | rm -rf conftest.dSYM | ||
11294 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11758 | rm -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 |
11296 | fi | 11760 | fi |
11297 | ac_res=`eval echo '${'$as_ac_var'}'` | 11761 | ac_res=`eval 'as_val=${'$as_ac_var'} |
11298 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 11762 | $as_echo "$as_val"'` |
11299 | echo "${ECHO_T}$ac_res" >&6; } | 11763 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11300 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 11764 | $as_echo "$ac_res" >&6; } |
11765 | if 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 | ||
11305 | else | 11771 | else |
11306 | { echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 | 11772 | { $as_echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 |
11307 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6; } | 11773 | $as_echo_n "checking for utimes in -lc89... " >&6; } |
11308 | if test "${ac_cv_lib_c89_utimes+set}" = set; then | 11774 | if test "${ac_cv_lib_c89_utimes+set}" = set; then |
11309 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11775 | $as_echo_n "(cached) " >&6 |
11310 | else | 11776 | else |
11311 | ac_check_lib_save_LIBS=$LIBS | 11777 | ac_check_lib_save_LIBS=$LIBS |
11312 | LIBS="-lc89 $LIBS" | 11778 | LIBS="-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;; |
11340 | esac | 11806 | esac |
11341 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11807 | eval 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 |
11354 | else | 11823 | else |
11355 | echo "$as_me: failed program was:" >&5 | 11824 | $as_echo "$as_me: failed program was:" >&5 |
11356 | sed 's/^/| /' conftest.$ac_ext >&5 | 11825 | sed 's/^/| /' conftest.$ac_ext >&5 |
11357 | 11826 | ||
11358 | ac_cv_lib_c89_utimes=no | 11827 | ac_cv_lib_c89_utimes=no |
11359 | fi | 11828 | fi |
11360 | 11829 | ||
11830 | rm -rf conftest.dSYM | ||
11361 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11831 | rm -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 |
11363 | LIBS=$ac_check_lib_save_LIBS | 11833 | LIBS=$ac_check_lib_save_LIBS |
11364 | fi | 11834 | fi |
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 |
11366 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6; } | 11836 | $as_echo "$ac_cv_lib_c89_utimes" >&6; } |
11367 | if test $ac_cv_lib_c89_utimes = yes; then | 11837 | if 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 | ||
11381 | for ac_header in libutil.h | 11851 | for ac_header in libutil.h |
11382 | do | 11852 | do |
11383 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11853 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11384 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 11854 | if { 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 |
11386 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 11856 | $as_echo_n "checking for $ac_header... " >&6; } |
11387 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 11857 | if { 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 |
11389 | fi | 11859 | fi |
11390 | ac_res=`eval echo '${'$as_ac_Header'}'` | 11860 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
11391 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 11861 | $as_echo "$as_val"'` |
11392 | echo "${ECHO_T}$ac_res" >&6; } | 11862 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11863 | $as_echo "$ac_res" >&6; } | ||
11393 | else | 11864 | else |
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 |
11396 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 11867 | $as_echo_n "checking $ac_header usability... " >&6; } |
11397 | cat >conftest.$ac_ext <<_ACEOF | 11868 | cat >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;; |
11411 | esac | 11882 | esac |
11412 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11883 | eval 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 |
11424 | else | 11896 | else |
11425 | echo "$as_me: failed program was:" >&5 | 11897 | $as_echo "$as_me: failed program was:" >&5 |
11426 | sed 's/^/| /' conftest.$ac_ext >&5 | 11898 | sed 's/^/| /' conftest.$ac_ext >&5 |
11427 | 11899 | ||
11428 | ac_header_compiler=no | 11900 | ac_header_compiler=no |
11429 | fi | 11901 | fi |
11430 | 11902 | ||
11431 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 11903 | rm -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 |
11433 | echo "${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 |
11437 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 11909 | $as_echo_n "checking $ac_header presence... " >&6; } |
11438 | cat >conftest.$ac_ext <<_ACEOF | 11910 | cat >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;; |
11450 | esac | 11922 | esac |
11451 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 11923 | eval 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 |
11463 | else | 11936 | else |
11464 | echo "$as_me: failed program was:" >&5 | 11937 | $as_echo "$as_me: failed program was:" >&5 |
11465 | sed 's/^/| /' conftest.$ac_ext >&5 | 11938 | sed 's/^/| /' conftest.$ac_ext >&5 |
11466 | 11939 | ||
11467 | ac_header_preproc=no | 11940 | ac_header_preproc=no |
11468 | fi | 11941 | fi |
11469 | 11942 | ||
11470 | rm -f conftest.err conftest.$ac_ext | 11943 | rm -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 |
11472 | echo "${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? |
11475 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 11948 | case $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 |
11478 | echo "$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 |
11480 | echo "$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 |
11485 | echo "$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 |
11487 | echo "$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 |
11489 | echo "$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 |
11491 | echo "$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 |
11493 | echo "$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 |
11495 | echo "$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 | ;; |
11503 | esac | 11976 | esac |
11504 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 11977 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11505 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 11978 | $as_echo_n "checking for $ac_header... " >&6; } |
11506 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 11979 | if { 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 |
11508 | else | 11981 | else |
11509 | eval "$as_ac_Header=\$ac_header_preproc" | 11982 | eval "$as_ac_Header=\$ac_header_preproc" |
11510 | fi | 11983 | fi |
11511 | ac_res=`eval echo '${'$as_ac_Header'}'` | 11984 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
11512 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 11985 | $as_echo "$as_val"'` |
11513 | echo "${ECHO_T}$ac_res" >&6; } | 11986 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11987 | $as_echo "$ac_res" >&6; } | ||
11514 | 11988 | ||
11515 | fi | 11989 | fi |
11516 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11990 | if 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 | ||
11521 | fi | 11996 | fi |
11522 | 11997 | ||
11523 | done | 11998 | done |
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 |
11526 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; } | 12001 | $as_echo_n "checking for library containing login... " >&6; } |
11527 | if test "${ac_cv_search_login+set}" = set; then | 12002 | if test "${ac_cv_search_login+set}" = set; then |
11528 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12003 | $as_echo_n "(cached) " >&6 |
11529 | else | 12004 | else |
11530 | ac_func_search_save_LIBS=$LIBS | 12005 | ac_func_search_save_LIBS=$LIBS |
11531 | cat >conftest.$ac_ext <<_ACEOF | 12006 | cat >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;; |
11565 | esac | 12040 | esac |
11566 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12041 | eval 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 |
11579 | else | 12057 | else |
11580 | echo "$as_me: failed program was:" >&5 | 12058 | $as_echo "$as_me: failed program was:" >&5 |
11581 | sed 's/^/| /' conftest.$ac_ext >&5 | 12059 | sed 's/^/| /' conftest.$ac_ext >&5 |
11582 | 12060 | ||
11583 | 12061 | ||
11584 | fi | 12062 | fi |
11585 | 12063 | ||
12064 | rm -rf conftest.dSYM | ||
11586 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12065 | rm -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 | |||
11597 | rm conftest.$ac_ext | 12076 | rm conftest.$ac_ext |
11598 | LIBS=$ac_func_search_save_LIBS | 12077 | LIBS=$ac_func_search_save_LIBS |
11599 | fi | 12078 | fi |
11600 | { echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 | 12079 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 |
11601 | echo "${ECHO_T}$ac_cv_search_login" >&6; } | 12080 | $as_echo "$ac_cv_search_login" >&6; } |
11602 | ac_res=$ac_cv_search_login | 12081 | ac_res=$ac_cv_search_login |
11603 | if test "$ac_res" != no; then | 12082 | if 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 | ||
11616 | for ac_func in fmt_scaled logout updwtmp logwtmp | 12095 | for ac_func in fmt_scaled logout updwtmp logwtmp |
11617 | do | 12096 | do |
11618 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12097 | as_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 |
11620 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 12099 | $as_echo_n "checking for $ac_func... " >&6; } |
11621 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 12100 | if { 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 |
11623 | else | 12102 | else |
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;; |
11674 | esac | 12153 | esac |
11675 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12154 | eval 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" |
11688 | else | 12170 | else |
11689 | echo "$as_me: failed program was:" >&5 | 12171 | $as_echo "$as_me: failed program was:" >&5 |
11690 | sed 's/^/| /' conftest.$ac_ext >&5 | 12172 | sed 's/^/| /' conftest.$ac_ext >&5 |
11691 | 12173 | ||
11692 | eval "$as_ac_var=no" | 12174 | eval "$as_ac_var=no" |
11693 | fi | 12175 | fi |
11694 | 12176 | ||
12177 | rm -rf conftest.dSYM | ||
11695 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12178 | rm -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 |
11697 | fi | 12180 | fi |
11698 | ac_res=`eval echo '${'$as_ac_var'}'` | 12181 | ac_res=`eval 'as_val=${'$as_ac_var'} |
11699 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 12182 | $as_echo "$as_val"'` |
11700 | echo "${ECHO_T}$ac_res" >&6; } | 12183 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11701 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 12184 | $as_echo "$ac_res" >&6; } |
12185 | if 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 | ||
11706 | fi | 12191 | fi |
@@ -11710,11 +12195,11 @@ done | |||
11710 | 12195 | ||
11711 | for ac_func in strftime | 12196 | for ac_func in strftime |
11712 | do | 12197 | do |
11713 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12198 | as_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 |
11715 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 12200 | $as_echo_n "checking for $ac_func... " >&6; } |
11716 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 12201 | if { 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 |
11718 | else | 12203 | else |
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;; |
11769 | esac | 12254 | esac |
11770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12255 | eval 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" |
11783 | else | 12271 | else |
11784 | echo "$as_me: failed program was:" >&5 | 12272 | $as_echo "$as_me: failed program was:" >&5 |
11785 | sed 's/^/| /' conftest.$ac_ext >&5 | 12273 | sed 's/^/| /' conftest.$ac_ext >&5 |
11786 | 12274 | ||
11787 | eval "$as_ac_var=no" | 12275 | eval "$as_ac_var=no" |
11788 | fi | 12276 | fi |
11789 | 12277 | ||
12278 | rm -rf conftest.dSYM | ||
11790 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12279 | rm -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 |
11792 | fi | 12281 | fi |
11793 | ac_res=`eval echo '${'$as_ac_var'}'` | 12282 | ac_res=`eval 'as_val=${'$as_ac_var'} |
11794 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 12283 | $as_echo "$as_val"'` |
11795 | echo "${ECHO_T}$ac_res" >&6; } | 12284 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
11796 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 12285 | $as_echo "$ac_res" >&6; } |
12286 | if 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 | ||
11801 | else | 12292 | else |
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 |
11804 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } | 12295 | $as_echo_n "checking for strftime in -lintl... " >&6; } |
11805 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 12296 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
11806 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12297 | $as_echo_n "(cached) " >&6 |
11807 | else | 12298 | else |
11808 | ac_check_lib_save_LIBS=$LIBS | 12299 | ac_check_lib_save_LIBS=$LIBS |
11809 | LIBS="-lintl $LIBS" | 12300 | LIBS="-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;; |
11837 | esac | 12328 | esac |
11838 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12329 | eval 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 |
11851 | else | 12345 | else |
11852 | echo "$as_me: failed program was:" >&5 | 12346 | $as_echo "$as_me: failed program was:" >&5 |
11853 | sed 's/^/| /' conftest.$ac_ext >&5 | 12347 | sed 's/^/| /' conftest.$ac_ext >&5 |
11854 | 12348 | ||
11855 | ac_cv_lib_intl_strftime=no | 12349 | ac_cv_lib_intl_strftime=no |
11856 | fi | 12350 | fi |
11857 | 12351 | ||
12352 | rm -rf conftest.dSYM | ||
11858 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12353 | rm -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 |
11860 | LIBS=$ac_check_lib_save_LIBS | 12355 | LIBS=$ac_check_lib_save_LIBS |
11861 | fi | 12356 | fi |
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 |
11863 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } | 12358 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
11864 | if test $ac_cv_lib_intl_strftime = yes; then | 12359 | if 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 |
11878 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6; } | 12373 | $as_echo_n "checking for GLOB_ALTDIRFUNC support... " >&6; } |
11879 | cat >conftest.$ac_ext <<_ACEOF | 12374 | cat >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 |
11901 | echo "${ECHO_T}yes" >&6; } | 12396 | $as_echo "yes" >&6; } |
11902 | 12397 | ||
11903 | else | 12398 | else |
11904 | 12399 | ||
11905 | { echo "$as_me:$LINENO: result: no" >&5 | 12400 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
11906 | echo "${ECHO_T}no" >&6; } | 12401 | $as_echo "no" >&6; } |
11907 | 12402 | ||
11908 | 12403 | ||
11909 | fi | 12404 | fi |
@@ -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 |
11915 | echo $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; } |
11916 | cat >conftest.$ac_ext <<_ACEOF | 12411 | cat >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;; |
11936 | esac | 12431 | esac |
11937 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12432 | eval 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 |
11955 | echo "${ECHO_T}yes" >&6; } | 12451 | $as_echo "yes" >&6; } |
11956 | 12452 | ||
11957 | else | 12453 | else |
11958 | echo "$as_me: failed program was:" >&5 | 12454 | $as_echo "$as_me: failed program was:" >&5 |
11959 | sed 's/^/| /' conftest.$ac_ext >&5 | 12455 | sed '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 |
11963 | echo "${ECHO_T}no" >&6; } | 12459 | $as_echo "no" >&6; } |
11964 | 12460 | ||
11965 | 12461 | ||
11966 | fi | 12462 | fi |
11967 | 12463 | ||
11968 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12464 | rm -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 |
11971 | echo $ECHO_N "checking whether GLOB_NOMATCH is declared... $ECHO_C" >&6; } | 12467 | $as_echo_n "checking whether GLOB_NOMATCH is declared... " >&6; } |
11972 | if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then | 12468 | if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then |
11973 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12469 | $as_echo_n "(cached) " >&6 |
11974 | else | 12470 | else |
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;; |
11999 | esac | 12495 | esac |
12000 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12496 | eval 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 |
12012 | else | 12509 | else |
12013 | echo "$as_me: failed program was:" >&5 | 12510 | $as_echo "$as_me: failed program was:" >&5 |
12014 | sed 's/^/| /' conftest.$ac_ext >&5 | 12511 | sed '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 | ||
12019 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12516 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12020 | fi | 12517 | fi |
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 |
12022 | echo "${ECHO_T}$ac_cv_have_decl_GLOB_NOMATCH" >&6; } | 12519 | $as_echo "$ac_cv_have_decl_GLOB_NOMATCH" >&6; } |
12023 | if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then | 12520 | if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then |
12024 | 12521 | ||
12025 | cat >>confdefs.h <<_ACEOF | 12522 | cat >>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 |
12041 | echo $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; } |
12042 | if test "$cross_compiling" = yes; then | 12539 | if 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 |
12045 | echo "$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;; |
12070 | esac | 12567 | esac |
12071 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12568 | eval 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;; |
12079 | esac | 12577 | esac |
12080 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12578 | eval 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 |
12086 | echo "${ECHO_T}yes" >&6; } | 12585 | $as_echo "yes" >&6; } |
12087 | else | 12586 | else |
12088 | echo "$as_me: program exited with status $ac_status" >&5 | 12587 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
12089 | echo "$as_me: failed program was:" >&5 | 12588 | $as_echo "$as_me: failed program was:" >&5 |
12090 | sed 's/^/| /' conftest.$ac_ext >&5 | 12589 | sed '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 |
12095 | echo "${ECHO_T}no" >&6; } | 12594 | $as_echo "no" >&6; } |
12096 | 12595 | ||
12097 | cat >>confdefs.h <<\_ACEOF | 12596 | cat >>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 | ||
12102 | fi | 12601 | fi |
12602 | rm -rf conftest.dSYM | ||
12103 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12603 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12104 | fi | 12604 | fi |
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 |
12109 | echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6; } | 12609 | $as_echo_n "checking for /proc/pid/fd directory... " >&6; } |
12110 | if test -d "/proc/$$/fd" ; then | 12610 | if test -d "/proc/$$/fd" ; then |
12111 | 12611 | ||
12112 | cat >>confdefs.h <<\_ACEOF | 12612 | cat >>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 |
12117 | echo "${ECHO_T}yes" >&6; } | 12617 | $as_echo "yes" >&6; } |
12118 | else | 12618 | else |
12119 | { echo "$as_me:$LINENO: result: no" >&5 | 12619 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
12120 | echo "${ECHO_T}no" >&6; } | 12620 | $as_echo "no" >&6; } |
12121 | fi | 12621 | fi |
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 |
12145 | echo $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;; |
12163 | esac | 12663 | esac |
12164 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12664 | eval 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 |
12177 | echo "${ECHO_T}yes" >&6; } | 12678 | }; then |
12679 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
12680 | $as_echo "yes" >&6; } | ||
12178 | else | 12681 | else |
12179 | echo "$as_me: failed program was:" >&5 | 12682 | $as_echo "$as_me: failed program was:" >&5 |
12180 | sed 's/^/| /' conftest.$ac_ext >&5 | 12683 | sed '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 |
12184 | echo "${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 |
12186 | echo "$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 | ||
12189 | fi | 12692 | fi |
12190 | 12693 | ||
12694 | rm -rf conftest.dSYM | ||
12191 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12695 | rm -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 |
12194 | echo $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;; |
12216 | esac | 12720 | esac |
12217 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12721 | eval 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 |
12229 | echo "${ECHO_T}yes" >&6; } | 12734 | $as_echo "yes" >&6; } |
12230 | 12735 | ||
12231 | cat >>confdefs.h <<\_ACEOF | 12736 | cat >>confdefs.h <<\_ACEOF |
12232 | #define SKEYCHALLENGE_4ARG 1 | 12737 | #define SKEYCHALLENGE_4ARG 1 |
12233 | _ACEOF | 12738 | _ACEOF |
12234 | 12739 | ||
12235 | else | 12740 | else |
12236 | echo "$as_me: failed program was:" >&5 | 12741 | $as_echo "$as_me: failed program was:" >&5 |
12237 | sed 's/^/| /' conftest.$ac_ext >&5 | 12742 | sed 's/^/| /' conftest.$ac_ext >&5 |
12238 | 12743 | ||
12239 | { echo "$as_me:$LINENO: result: no" >&5 | 12744 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
12240 | echo "${ECHO_T}no" >&6; } | 12745 | $as_echo "no" >&6; } |
12241 | 12746 | ||
12242 | fi | 12747 | fi |
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 |
12284 | echo $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;; |
12311 | esac | 12816 | esac |
12312 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12817 | eval 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 |
12326 | echo "${ECHO_T}yes" >&6; } | 12834 | $as_echo "yes" >&6; } |
12327 | 12835 | ||
12328 | cat >>confdefs.h <<\_ACEOF | 12836 | cat >>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 | ||
12335 | else | 12843 | else |
12336 | echo "$as_me: failed program was:" >&5 | 12844 | $as_echo "$as_me: failed program was:" >&5 |
12337 | sed 's/^/| /' conftest.$ac_ext >&5 | 12845 | sed '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 |
12341 | echo "$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 | ||
12345 | fi | 12853 | fi |
12346 | 12854 | ||
12855 | rm -rf conftest.dSYM | ||
12347 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12856 | rm -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 |
12371 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6; } | 12880 | $as_echo_n "checking for el_init in -ledit... " >&6; } |
12372 | if test "${ac_cv_lib_edit_el_init+set}" = set; then | 12881 | if test "${ac_cv_lib_edit_el_init+set}" = set; then |
12373 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12882 | $as_echo_n "(cached) " >&6 |
12374 | else | 12883 | else |
12375 | ac_check_lib_save_LIBS=$LIBS | 12884 | ac_check_lib_save_LIBS=$LIBS |
12376 | LIBS="-ledit -lcurses | 12885 | LIBS="-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;; |
12405 | esac | 12914 | esac |
12406 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12915 | eval 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 |
12419 | else | 12931 | else |
12420 | echo "$as_me: failed program was:" >&5 | 12932 | $as_echo "$as_me: failed program was:" >&5 |
12421 | sed 's/^/| /' conftest.$ac_ext >&5 | 12933 | sed 's/^/| /' conftest.$ac_ext >&5 |
12422 | 12934 | ||
12423 | ac_cv_lib_edit_el_init=no | 12935 | ac_cv_lib_edit_el_init=no |
12424 | fi | 12936 | fi |
12425 | 12937 | ||
12938 | rm -rf conftest.dSYM | ||
12426 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12939 | rm -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 |
12428 | LIBS=$ac_check_lib_save_LIBS | 12941 | LIBS=$ac_check_lib_save_LIBS |
12429 | fi | 12942 | fi |
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 |
12431 | echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6; } | 12944 | $as_echo "$ac_cv_lib_edit_el_init" >&6; } |
12432 | if test $ac_cv_lib_edit_el_init = yes; then | 12945 | if test $ac_cv_lib_edit_el_init = yes; then |
12433 | 12946 | ||
12434 | cat >>confdefs.h <<\_ACEOF | 12947 | cat >>confdefs.h <<\_ACEOF |
@@ -12440,13 +12953,13 @@ _ACEOF | |||
12440 | 12953 | ||
12441 | 12954 | ||
12442 | else | 12955 | else |
12443 | { { echo "$as_me:$LINENO: error: libedit not found" >&5 | 12956 | { { $as_echo "$as_me:$LINENO: error: libedit not found" >&5 |
12444 | echo "$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; }; } |
12446 | fi | 12959 | fi |
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 |
12449 | echo $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;; |
12471 | esac | 12984 | esac |
12472 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 12985 | eval 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 |
12484 | echo "${ECHO_T}yes" >&6; } | 12998 | $as_echo "yes" >&6; } |
12485 | else | 12999 | else |
12486 | echo "$as_me: failed program was:" >&5 | 13000 | $as_echo "$as_me: failed program was:" >&5 |
12487 | sed 's/^/| /' conftest.$ac_ext >&5 | 13001 | sed 's/^/| /' conftest.$ac_ext >&5 |
12488 | 13002 | ||
12489 | { echo "$as_me:$LINENO: result: no" >&5 | 13003 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
12490 | echo "${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 |
12492 | echo "$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 | ||
12495 | fi | 13009 | fi |
@@ -12505,21 +13019,21 @@ AUDIT_MODULE=none | |||
12505 | # Check whether --with-audit was given. | 13019 | # Check whether --with-audit was given. |
12506 | if test "${with_audit+set}" = set; then | 13020 | if 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 |
12509 | echo $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 |
12513 | echo "${ECHO_T}bsm" >&6; } | 13027 | $as_echo "bsm" >&6; } |
12514 | AUDIT_MODULE=bsm | 13028 | AUDIT_MODULE=bsm |
12515 | 13029 | ||
12516 | for ac_header in bsm/audit.h | 13030 | for ac_header in bsm/audit.h |
12517 | do | 13031 | do |
12518 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 13032 | as_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 |
12520 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 13034 | $as_echo_n "checking for $ac_header... " >&6; } |
12521 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 13035 | if { 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 |
12523 | else | 13037 | else |
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;; |
12544 | esac | 13058 | esac |
12545 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13059 | eval 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" |
12557 | else | 13072 | else |
12558 | echo "$as_me: failed program was:" >&5 | 13073 | $as_echo "$as_me: failed program was:" >&5 |
12559 | sed 's/^/| /' conftest.$ac_ext >&5 | 13074 | sed '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 | ||
12564 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13079 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12565 | fi | 13080 | fi |
12566 | ac_res=`eval echo '${'$as_ac_Header'}'` | 13081 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
12567 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 13082 | $as_echo "$as_val"'` |
12568 | echo "${ECHO_T}$ac_res" >&6; } | 13083 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
12569 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 13084 | $as_echo "$ac_res" >&6; } |
13085 | if 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 | ||
12574 | else | 13091 | else |
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 |
12576 | echo "$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; }; } |
12578 | fi | 13095 | fi |
12579 | 13096 | ||
12580 | done | 13097 | done |
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 |
12584 | echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6; } | 13101 | $as_echo_n "checking for getaudit in -lbsm... " >&6; } |
12585 | if test "${ac_cv_lib_bsm_getaudit+set}" = set; then | 13102 | if test "${ac_cv_lib_bsm_getaudit+set}" = set; then |
12586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13103 | $as_echo_n "(cached) " >&6 |
12587 | else | 13104 | else |
12588 | ac_check_lib_save_LIBS=$LIBS | 13105 | ac_check_lib_save_LIBS=$LIBS |
12589 | LIBS="-lbsm $LIBS" | 13106 | LIBS="-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;; |
12617 | esac | 13134 | esac |
12618 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13135 | eval 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 |
12631 | else | 13151 | else |
12632 | echo "$as_me: failed program was:" >&5 | 13152 | $as_echo "$as_me: failed program was:" >&5 |
12633 | sed 's/^/| /' conftest.$ac_ext >&5 | 13153 | sed 's/^/| /' conftest.$ac_ext >&5 |
12634 | 13154 | ||
12635 | ac_cv_lib_bsm_getaudit=no | 13155 | ac_cv_lib_bsm_getaudit=no |
12636 | fi | 13156 | fi |
12637 | 13157 | ||
13158 | rm -rf conftest.dSYM | ||
12638 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13159 | rm -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 |
12640 | LIBS=$ac_check_lib_save_LIBS | 13161 | LIBS=$ac_check_lib_save_LIBS |
12641 | fi | 13162 | fi |
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 |
12643 | echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6; } | 13164 | $as_echo "$ac_cv_lib_bsm_getaudit" >&6; } |
12644 | if test $ac_cv_lib_bsm_getaudit = yes; then | 13165 | if 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 | ||
12651 | else | 13172 | else |
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 |
12653 | echo "$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; }; } |
12655 | fi | 13176 | fi |
12656 | 13177 | ||
12657 | 13178 | ||
12658 | for ac_func in getaudit | 13179 | for ac_func in getaudit |
12659 | do | 13180 | do |
12660 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13181 | as_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 |
12662 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 13183 | $as_echo_n "checking for $ac_func... " >&6; } |
12663 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 13184 | if { 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 |
12665 | else | 13186 | else |
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;; |
12716 | esac | 13237 | esac |
12717 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13238 | eval 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" |
12730 | else | 13254 | else |
12731 | echo "$as_me: failed program was:" >&5 | 13255 | $as_echo "$as_me: failed program was:" >&5 |
12732 | sed 's/^/| /' conftest.$ac_ext >&5 | 13256 | sed 's/^/| /' conftest.$ac_ext >&5 |
12733 | 13257 | ||
12734 | eval "$as_ac_var=no" | 13258 | eval "$as_ac_var=no" |
12735 | fi | 13259 | fi |
12736 | 13260 | ||
13261 | rm -rf conftest.dSYM | ||
12737 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13262 | rm -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 |
12739 | fi | 13264 | fi |
12740 | ac_res=`eval echo '${'$as_ac_var'}'` | 13265 | ac_res=`eval 'as_val=${'$as_ac_var'} |
12741 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 13266 | $as_echo "$as_val"'` |
12742 | echo "${ECHO_T}$ac_res" >&6; } | 13267 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
12743 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13268 | $as_echo "$ac_res" >&6; } |
13269 | if 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 | ||
12748 | else | 13275 | else |
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 |
12750 | echo "$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; }; } |
12752 | fi | 13279 | fi |
12753 | done | 13280 | done |
@@ -12757,11 +13284,11 @@ done | |||
12757 | 13284 | ||
12758 | for ac_func in getaudit_addr aug_get_machine | 13285 | for ac_func in getaudit_addr aug_get_machine |
12759 | do | 13286 | do |
12760 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13287 | as_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 |
12762 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 13289 | $as_echo_n "checking for $ac_func... " >&6; } |
12763 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 13290 | if { 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 |
12765 | else | 13292 | else |
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;; |
12816 | esac | 13343 | esac |
12817 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13344 | eval 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" |
12830 | else | 13360 | else |
12831 | echo "$as_me: failed program was:" >&5 | 13361 | $as_echo "$as_me: failed program was:" >&5 |
12832 | sed 's/^/| /' conftest.$ac_ext >&5 | 13362 | sed 's/^/| /' conftest.$ac_ext >&5 |
12833 | 13363 | ||
12834 | eval "$as_ac_var=no" | 13364 | eval "$as_ac_var=no" |
12835 | fi | 13365 | fi |
12836 | 13366 | ||
13367 | rm -rf conftest.dSYM | ||
12837 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13368 | rm -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 |
12839 | fi | 13370 | fi |
12840 | ac_res=`eval echo '${'$as_ac_var'}'` | 13371 | ac_res=`eval 'as_val=${'$as_ac_var'} |
12841 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 13372 | $as_echo "$as_val"'` |
12842 | echo "${ECHO_T}$ac_res" >&6; } | 13373 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
12843 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13374 | $as_echo "$ac_res" >&6; } |
13375 | if 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 | ||
12848 | fi | 13381 | fi |
@@ -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 |
12860 | echo "${ECHO_T}debug" >&6; } | 13393 | $as_echo "debug" >&6; } |
12861 | 13394 | ||
12862 | cat >>confdefs.h <<\_ACEOF | 13395 | cat >>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 |
12869 | echo "${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 |
12873 | echo "$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 | ||
13061 | do | 13594 | do |
13062 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13595 | as_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 |
13064 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 13597 | $as_echo_n "checking for $ac_func... " >&6; } |
13065 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 13598 | if { 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 |
13067 | else | 13600 | else |
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;; |
13118 | esac | 13651 | esac |
13119 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13652 | eval 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" |
13132 | else | 13668 | else |
13133 | echo "$as_me: failed program was:" >&5 | 13669 | $as_echo "$as_me: failed program was:" >&5 |
13134 | sed 's/^/| /' conftest.$ac_ext >&5 | 13670 | sed 's/^/| /' conftest.$ac_ext >&5 |
13135 | 13671 | ||
13136 | eval "$as_ac_var=no" | 13672 | eval "$as_ac_var=no" |
13137 | fi | 13673 | fi |
13138 | 13674 | ||
13675 | rm -rf conftest.dSYM | ||
13139 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13676 | rm -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 |
13141 | fi | 13678 | fi |
13142 | ac_res=`eval echo '${'$as_ac_var'}'` | 13679 | ac_res=`eval 'as_val=${'$as_ac_var'} |
13143 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 13680 | $as_echo "$as_val"'` |
13144 | echo "${ECHO_T}$ac_res" >&6; } | 13681 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13145 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13682 | $as_echo "$ac_res" >&6; } |
13683 | if 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 | ||
13150 | fi | 13689 | fi |
@@ -13155,11 +13694,11 @@ done | |||
13155 | 13694 | ||
13156 | for ac_func in gai_strerror | 13695 | for ac_func in gai_strerror |
13157 | do | 13696 | do |
13158 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13697 | as_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 |
13160 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 13699 | $as_echo_n "checking for $ac_func... " >&6; } |
13161 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 13700 | if { 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 |
13163 | else | 13702 | else |
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;; |
13214 | esac | 13753 | esac |
13215 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13754 | eval 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" |
13228 | else | 13770 | else |
13229 | echo "$as_me: failed program was:" >&5 | 13771 | $as_echo "$as_me: failed program was:" >&5 |
13230 | sed 's/^/| /' conftest.$ac_ext >&5 | 13772 | sed 's/^/| /' conftest.$ac_ext >&5 |
13231 | 13773 | ||
13232 | eval "$as_ac_var=no" | 13774 | eval "$as_ac_var=no" |
13233 | fi | 13775 | fi |
13234 | 13776 | ||
13777 | rm -rf conftest.dSYM | ||
13235 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13778 | rm -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 |
13237 | fi | 13780 | fi |
13238 | ac_res=`eval echo '${'$as_ac_var'}'` | 13781 | ac_res=`eval 'as_val=${'$as_ac_var'} |
13239 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 13782 | $as_echo "$as_val"'` |
13240 | echo "${ECHO_T}$ac_res" >&6; } | 13783 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13241 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13784 | $as_echo "$ac_res" >&6; } |
13785 | if 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;; |
13278 | esac | 13823 | esac |
13279 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13824 | eval 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 | ||
13296 | else | 13842 | else |
13297 | echo "$as_me: failed program was:" >&5 | 13843 | $as_echo "$as_me: failed program was:" >&5 |
13298 | sed 's/^/| /' conftest.$ac_ext >&5 | 13844 | sed 's/^/| /' conftest.$ac_ext >&5 |
13299 | 13845 | ||
13300 | 13846 | ||
@@ -13305,10 +13851,10 @@ fi | |||
13305 | done | 13851 | done |
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 |
13309 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; } | 13855 | $as_echo_n "checking for library containing nanosleep... " >&6; } |
13310 | if test "${ac_cv_search_nanosleep+set}" = set; then | 13856 | if test "${ac_cv_search_nanosleep+set}" = set; then |
13311 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13857 | $as_echo_n "(cached) " >&6 |
13312 | else | 13858 | else |
13313 | ac_func_search_save_LIBS=$LIBS | 13859 | ac_func_search_save_LIBS=$LIBS |
13314 | cat >conftest.$ac_ext <<_ACEOF | 13860 | cat >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;; |
13348 | esac | 13894 | esac |
13349 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13895 | eval 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 |
13362 | else | 13911 | else |
13363 | echo "$as_me: failed program was:" >&5 | 13912 | $as_echo "$as_me: failed program was:" >&5 |
13364 | sed 's/^/| /' conftest.$ac_ext >&5 | 13913 | sed 's/^/| /' conftest.$ac_ext >&5 |
13365 | 13914 | ||
13366 | 13915 | ||
13367 | fi | 13916 | fi |
13368 | 13917 | ||
13918 | rm -rf conftest.dSYM | ||
13369 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13919 | rm -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 | |||
13380 | rm conftest.$ac_ext | 13930 | rm conftest.$ac_ext |
13381 | LIBS=$ac_func_search_save_LIBS | 13931 | LIBS=$ac_func_search_save_LIBS |
13382 | fi | 13932 | fi |
13383 | { echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 | 13933 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 |
13384 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; } | 13934 | $as_echo "$ac_cv_search_nanosleep" >&6; } |
13385 | ac_res=$ac_cv_search_nanosleep | 13935 | ac_res=$ac_cv_search_nanosleep |
13386 | if test "$ac_res" != no; then | 13936 | if 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 | |||
13393 | fi | 13943 | fi |
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 |
13397 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6; } | 13947 | $as_echo_n "checking whether getrusage is declared... " >&6; } |
13398 | if test "${ac_cv_have_decl_getrusage+set}" = set; then | 13948 | if test "${ac_cv_have_decl_getrusage+set}" = set; then |
13399 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13949 | $as_echo_n "(cached) " >&6 |
13400 | else | 13950 | else |
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;; |
13424 | esac | 13974 | esac |
13425 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13975 | eval 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 |
13437 | else | 13988 | else |
13438 | echo "$as_me: failed program was:" >&5 | 13989 | $as_echo "$as_me: failed program was:" >&5 |
13439 | sed 's/^/| /' conftest.$ac_ext >&5 | 13990 | sed '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 | ||
13444 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13995 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13445 | fi | 13996 | fi |
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 |
13447 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6; } | 13998 | $as_echo "$ac_cv_have_decl_getrusage" >&6; } |
13448 | if test $ac_cv_have_decl_getrusage = yes; then | 13999 | if test $ac_cv_have_decl_getrusage = yes; then |
13449 | 14000 | ||
13450 | for ac_func in getrusage | 14001 | for ac_func in getrusage |
13451 | do | 14002 | do |
13452 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14003 | as_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 |
13454 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 14005 | $as_echo_n "checking for $ac_func... " >&6; } |
13455 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 14006 | if { 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 |
13457 | else | 14008 | else |
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;; |
13508 | esac | 14059 | esac |
13509 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14060 | eval 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" |
13522 | else | 14076 | else |
13523 | echo "$as_me: failed program was:" >&5 | 14077 | $as_echo "$as_me: failed program was:" >&5 |
13524 | sed 's/^/| /' conftest.$ac_ext >&5 | 14078 | sed 's/^/| /' conftest.$ac_ext >&5 |
13525 | 14079 | ||
13526 | eval "$as_ac_var=no" | 14080 | eval "$as_ac_var=no" |
13527 | fi | 14081 | fi |
13528 | 14082 | ||
14083 | rm -rf conftest.dSYM | ||
13529 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 14084 | rm -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 |
13531 | fi | 14086 | fi |
13532 | ac_res=`eval echo '${'$as_ac_var'}'` | 14087 | ac_res=`eval 'as_val=${'$as_ac_var'} |
13533 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14088 | $as_echo "$as_val"'` |
13534 | echo "${ECHO_T}$ac_res" >&6; } | 14089 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13535 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14090 | $as_echo "$ac_res" >&6; } |
14091 | if 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 | ||
13540 | fi | 14097 | fi |
@@ -13542,10 +14099,10 @@ done | |||
13542 | 14099 | ||
13543 | fi | 14100 | fi |
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 |
13546 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6; } | 14103 | $as_echo_n "checking whether strsep is declared... " >&6; } |
13547 | if test "${ac_cv_have_decl_strsep+set}" = set; then | 14104 | if test "${ac_cv_have_decl_strsep+set}" = set; then |
13548 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14105 | $as_echo_n "(cached) " >&6 |
13549 | else | 14106 | else |
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;; |
13578 | esac | 14135 | esac |
13579 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14136 | eval 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 |
13591 | else | 14149 | else |
13592 | echo "$as_me: failed program was:" >&5 | 14150 | $as_echo "$as_me: failed program was:" >&5 |
13593 | sed 's/^/| /' conftest.$ac_ext >&5 | 14151 | sed '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 | ||
13598 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14156 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13599 | fi | 14157 | fi |
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 |
13601 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6; } | 14159 | $as_echo "$ac_cv_have_decl_strsep" >&6; } |
13602 | if test $ac_cv_have_decl_strsep = yes; then | 14160 | if test $ac_cv_have_decl_strsep = yes; then |
13603 | 14161 | ||
13604 | for ac_func in strsep | 14162 | for ac_func in strsep |
13605 | do | 14163 | do |
13606 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14164 | as_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 |
13608 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 14166 | $as_echo_n "checking for $ac_func... " >&6; } |
13609 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 14167 | if { 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 |
13611 | else | 14169 | else |
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;; |
13662 | esac | 14220 | esac |
13663 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14221 | eval 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" |
13676 | else | 14237 | else |
13677 | echo "$as_me: failed program was:" >&5 | 14238 | $as_echo "$as_me: failed program was:" >&5 |
13678 | sed 's/^/| /' conftest.$ac_ext >&5 | 14239 | sed 's/^/| /' conftest.$ac_ext >&5 |
13679 | 14240 | ||
13680 | eval "$as_ac_var=no" | 14241 | eval "$as_ac_var=no" |
13681 | fi | 14242 | fi |
13682 | 14243 | ||
14244 | rm -rf conftest.dSYM | ||
13683 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 14245 | rm -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 |
13685 | fi | 14247 | fi |
13686 | ac_res=`eval echo '${'$as_ac_var'}'` | 14248 | ac_res=`eval 'as_val=${'$as_ac_var'} |
13687 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14249 | $as_echo "$as_val"'` |
13688 | echo "${ECHO_T}$ac_res" >&6; } | 14250 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13689 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14251 | $as_echo "$ac_res" >&6; } |
14252 | if 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 | ||
13694 | fi | 14258 | fi |
@@ -13697,10 +14261,10 @@ done | |||
13697 | fi | 14261 | fi |
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 |
13701 | echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6; } | 14265 | $as_echo_n "checking whether tcsendbreak is declared... " >&6; } |
13702 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then | 14266 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then |
13703 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14267 | $as_echo_n "(cached) " >&6 |
13704 | else | 14268 | else |
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;; |
13730 | esac | 14294 | esac |
13731 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14295 | eval 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 |
13743 | else | 14308 | else |
13744 | echo "$as_me: failed program was:" >&5 | 14309 | $as_echo "$as_me: failed program was:" >&5 |
13745 | sed 's/^/| /' conftest.$ac_ext >&5 | 14310 | sed '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 | ||
13750 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14315 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13751 | fi | 14316 | fi |
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 |
13753 | echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6; } | 14318 | $as_echo "$ac_cv_have_decl_tcsendbreak" >&6; } |
13754 | if test $ac_cv_have_decl_tcsendbreak = yes; then | 14319 | if 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 | ||
13761 | for ac_func in tcsendbreak | 14326 | for ac_func in tcsendbreak |
13762 | do | 14327 | do |
13763 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14328 | as_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 |
13765 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 14330 | $as_echo_n "checking for $ac_func... " >&6; } |
13766 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 14331 | if { 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 |
13768 | else | 14333 | else |
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;; |
13819 | esac | 14384 | esac |
13820 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14385 | eval 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" |
13833 | else | 14401 | else |
13834 | echo "$as_me: failed program was:" >&5 | 14402 | $as_echo "$as_me: failed program was:" >&5 |
13835 | sed 's/^/| /' conftest.$ac_ext >&5 | 14403 | sed 's/^/| /' conftest.$ac_ext >&5 |
13836 | 14404 | ||
13837 | eval "$as_ac_var=no" | 14405 | eval "$as_ac_var=no" |
13838 | fi | 14406 | fi |
13839 | 14407 | ||
14408 | rm -rf conftest.dSYM | ||
13840 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 14409 | rm -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 |
13842 | fi | 14411 | fi |
13843 | ac_res=`eval echo '${'$as_ac_var'}'` | 14412 | ac_res=`eval 'as_val=${'$as_ac_var'} |
13844 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14413 | $as_echo "$as_val"'` |
13845 | echo "${ECHO_T}$ac_res" >&6; } | 14414 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
13846 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14415 | $as_echo "$ac_res" >&6; } |
14416 | if 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 | ||
13851 | fi | 14422 | fi |
@@ -13854,10 +14425,10 @@ done | |||
13854 | fi | 14425 | fi |
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 |
13858 | echo $ECHO_N "checking whether h_errno is declared... $ECHO_C" >&6; } | 14429 | $as_echo_n "checking whether h_errno is declared... " >&6; } |
13859 | if test "${ac_cv_have_decl_h_errno+set}" = set; then | 14430 | if test "${ac_cv_have_decl_h_errno+set}" = set; then |
13860 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14431 | $as_echo_n "(cached) " >&6 |
13861 | else | 14432 | else |
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;; |
13886 | esac | 14457 | esac |
13887 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14458 | eval 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 |
13899 | else | 14471 | else |
13900 | echo "$as_me: failed program was:" >&5 | 14472 | $as_echo "$as_me: failed program was:" >&5 |
13901 | sed 's/^/| /' conftest.$ac_ext >&5 | 14473 | sed '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 | ||
13906 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14478 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13907 | fi | 14479 | fi |
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 |
13909 | echo "${ECHO_T}$ac_cv_have_decl_h_errno" >&6; } | 14481 | $as_echo "$ac_cv_have_decl_h_errno" >&6; } |
13910 | if test $ac_cv_have_decl_h_errno = yes; then | 14482 | if test $ac_cv_have_decl_h_errno = yes; then |
13911 | 14483 | ||
13912 | cat >>confdefs.h <<_ACEOF | 14484 | cat >>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 |
13928 | echo $ECHO_N "checking whether SHUT_RD is declared... $ECHO_C" >&6; } | 14500 | $as_echo_n "checking whether SHUT_RD is declared... " >&6; } |
13929 | if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then | 14501 | if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then |
13930 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14502 | $as_echo_n "(cached) " >&6 |
13931 | else | 14503 | else |
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;; |
13959 | esac | 14531 | esac |
13960 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14532 | eval 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 |
13972 | else | 14545 | else |
13973 | echo "$as_me: failed program was:" >&5 | 14546 | $as_echo "$as_me: failed program was:" >&5 |
13974 | sed 's/^/| /' conftest.$ac_ext >&5 | 14547 | sed '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 | ||
13979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14552 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13980 | fi | 14553 | fi |
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 |
13982 | echo "${ECHO_T}$ac_cv_have_decl_SHUT_RD" >&6; } | 14555 | $as_echo "$ac_cv_have_decl_SHUT_RD" >&6; } |
13983 | if test $ac_cv_have_decl_SHUT_RD = yes; then | 14556 | if test $ac_cv_have_decl_SHUT_RD = yes; then |
13984 | 14557 | ||
13985 | cat >>confdefs.h <<_ACEOF | 14558 | cat >>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 |
14001 | echo $ECHO_N "checking whether O_NONBLOCK is declared... $ECHO_C" >&6; } | 14574 | $as_echo_n "checking whether O_NONBLOCK is declared... " >&6; } |
14002 | if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then | 14575 | if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then |
14003 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14576 | $as_echo_n "(cached) " >&6 |
14004 | else | 14577 | else |
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;; |
14037 | esac | 14610 | esac |
14038 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14611 | eval 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 |
14050 | else | 14624 | else |
14051 | echo "$as_me: failed program was:" >&5 | 14625 | $as_echo "$as_me: failed program was:" >&5 |
14052 | sed 's/^/| /' conftest.$ac_ext >&5 | 14626 | sed '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 | ||
14057 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14631 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14058 | fi | 14632 | fi |
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 |
14060 | echo "${ECHO_T}$ac_cv_have_decl_O_NONBLOCK" >&6; } | 14634 | $as_echo "$ac_cv_have_decl_O_NONBLOCK" >&6; } |
14061 | if test $ac_cv_have_decl_O_NONBLOCK = yes; then | 14635 | if test $ac_cv_have_decl_O_NONBLOCK = yes; then |
14062 | 14636 | ||
14063 | cat >>confdefs.h <<_ACEOF | 14637 | cat >>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 |
14079 | echo $ECHO_N "checking whether writev is declared... $ECHO_C" >&6; } | 14653 | $as_echo_n "checking whether writev is declared... " >&6; } |
14080 | if test "${ac_cv_have_decl_writev+set}" = set; then | 14654 | if test "${ac_cv_have_decl_writev+set}" = set; then |
14081 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14655 | $as_echo_n "(cached) " >&6 |
14082 | else | 14656 | else |
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;; |
14111 | esac | 14685 | esac |
14112 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14686 | eval 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 |
14124 | else | 14699 | else |
14125 | echo "$as_me: failed program was:" >&5 | 14700 | $as_echo "$as_me: failed program was:" >&5 |
14126 | sed 's/^/| /' conftest.$ac_ext >&5 | 14701 | sed '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 | ||
14131 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14706 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14132 | fi | 14707 | fi |
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 |
14134 | echo "${ECHO_T}$ac_cv_have_decl_writev" >&6; } | 14709 | $as_echo "$ac_cv_have_decl_writev" >&6; } |
14135 | if test $ac_cv_have_decl_writev = yes; then | 14710 | if test $ac_cv_have_decl_writev = yes; then |
14136 | 14711 | ||
14137 | cat >>confdefs.h <<_ACEOF | 14712 | cat >>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 |
14153 | echo $ECHO_N "checking whether MAXSYMLINKS is declared... $ECHO_C" >&6; } | 14728 | $as_echo_n "checking whether MAXSYMLINKS is declared... " >&6; } |
14154 | if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then | 14729 | if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then |
14155 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14730 | $as_echo_n "(cached) " >&6 |
14156 | else | 14731 | else |
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;; |
14183 | esac | 14758 | esac |
14184 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14759 | eval 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 |
14196 | else | 14772 | else |
14197 | echo "$as_me: failed program was:" >&5 | 14773 | $as_echo "$as_me: failed program was:" >&5 |
14198 | sed 's/^/| /' conftest.$ac_ext >&5 | 14774 | sed '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 | ||
14203 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14204 | fi | 14780 | fi |
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 |
14206 | echo "${ECHO_T}$ac_cv_have_decl_MAXSYMLINKS" >&6; } | 14782 | $as_echo "$ac_cv_have_decl_MAXSYMLINKS" >&6; } |
14207 | if test $ac_cv_have_decl_MAXSYMLINKS = yes; then | 14783 | if test $ac_cv_have_decl_MAXSYMLINKS = yes; then |
14208 | 14784 | ||
14209 | cat >>confdefs.h <<_ACEOF | 14785 | cat >>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 |
14225 | echo $ECHO_N "checking whether offsetof is declared... $ECHO_C" >&6; } | 14801 | $as_echo_n "checking whether offsetof is declared... " >&6; } |
14226 | if test "${ac_cv_have_decl_offsetof+set}" = set; then | 14802 | if test "${ac_cv_have_decl_offsetof+set}" = set; then |
14227 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14803 | $as_echo_n "(cached) " >&6 |
14228 | else | 14804 | else |
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;; |
14255 | esac | 14831 | esac |
14256 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14832 | eval 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 |
14268 | else | 14845 | else |
14269 | echo "$as_me: failed program was:" >&5 | 14846 | $as_echo "$as_me: failed program was:" >&5 |
14270 | sed 's/^/| /' conftest.$ac_ext >&5 | 14847 | sed '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 | ||
14275 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14852 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14276 | fi | 14853 | fi |
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 |
14278 | echo "${ECHO_T}$ac_cv_have_decl_offsetof" >&6; } | 14855 | $as_echo "$ac_cv_have_decl_offsetof" >&6; } |
14279 | if test $ac_cv_have_decl_offsetof = yes; then | 14856 | if test $ac_cv_have_decl_offsetof = yes; then |
14280 | 14857 | ||
14281 | cat >>confdefs.h <<_ACEOF | 14858 | cat >>confdefs.h <<_ACEOF |
@@ -14296,11 +14873,11 @@ fi | |||
14296 | 14873 | ||
14297 | for ac_func in setresuid | 14874 | for ac_func in setresuid |
14298 | do | 14875 | do |
14299 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14876 | as_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 |
14301 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 14878 | $as_echo_n "checking for $ac_func... " >&6; } |
14302 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 14879 | if { 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 |
14304 | else | 14881 | else |
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;; |
14355 | esac | 14932 | esac |
14356 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14933 | eval 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" |
14369 | else | 14949 | else |
14370 | echo "$as_me: failed program was:" >&5 | 14950 | $as_echo "$as_me: failed program was:" >&5 |
14371 | sed 's/^/| /' conftest.$ac_ext >&5 | 14951 | sed 's/^/| /' conftest.$ac_ext >&5 |
14372 | 14952 | ||
14373 | eval "$as_ac_var=no" | 14953 | eval "$as_ac_var=no" |
14374 | fi | 14954 | fi |
14375 | 14955 | ||
14956 | rm -rf conftest.dSYM | ||
14376 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 14957 | rm -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 |
14378 | fi | 14959 | fi |
14379 | ac_res=`eval echo '${'$as_ac_var'}'` | 14960 | ac_res=`eval 'as_val=${'$as_ac_var'} |
14380 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 14961 | $as_echo "$as_val"'` |
14381 | echo "${ECHO_T}$ac_res" >&6; } | 14962 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
14382 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14963 | $as_echo "$ac_res" >&6; } |
14964 | if 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 |
14388 | echo $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 |
14391 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} | 14974 | $as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
14392 | 14975 | ||
14393 | else | 14976 | else |
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;; |
14411 | esac | 14994 | esac |
14412 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 14995 | eval 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;; |
14420 | esac | 15004 | esac |
14421 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15005 | eval 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 |
14427 | echo "${ECHO_T}yes" >&6; } | 15012 | $as_echo "yes" >&6; } |
14428 | else | 15013 | else |
14429 | echo "$as_me: program exited with status $ac_status" >&5 | 15014 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
14430 | echo "$as_me: failed program was:" >&5 | 15015 | $as_echo "$as_me: failed program was:" >&5 |
14431 | sed 's/^/| /' conftest.$ac_ext >&5 | 15016 | sed '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 |
14440 | echo "${ECHO_T}not implemented" >&6; } | 15025 | $as_echo "not implemented" >&6; } |
14441 | fi | 15026 | fi |
15027 | rm -rf conftest.dSYM | ||
14442 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15028 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14443 | fi | 15029 | fi |
14444 | 15030 | ||
@@ -14451,11 +15037,11 @@ done | |||
14451 | 15037 | ||
14452 | for ac_func in setresgid | 15038 | for ac_func in setresgid |
14453 | do | 15039 | do |
14454 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15040 | as_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 |
14456 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15042 | $as_echo_n "checking for $ac_func... " >&6; } |
14457 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15043 | if { 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 |
14459 | else | 15045 | else |
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;; |
14510 | esac | 15096 | esac |
14511 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15097 | eval 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" |
14524 | else | 15113 | else |
14525 | echo "$as_me: failed program was:" >&5 | 15114 | $as_echo "$as_me: failed program was:" >&5 |
14526 | sed 's/^/| /' conftest.$ac_ext >&5 | 15115 | sed 's/^/| /' conftest.$ac_ext >&5 |
14527 | 15116 | ||
14528 | eval "$as_ac_var=no" | 15117 | eval "$as_ac_var=no" |
14529 | fi | 15118 | fi |
14530 | 15119 | ||
15120 | rm -rf conftest.dSYM | ||
14531 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15121 | rm -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 |
14533 | fi | 15123 | fi |
14534 | ac_res=`eval echo '${'$as_ac_var'}'` | 15124 | ac_res=`eval 'as_val=${'$as_ac_var'} |
14535 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15125 | $as_echo "$as_val"'` |
14536 | echo "${ECHO_T}$ac_res" >&6; } | 15126 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
14537 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15127 | $as_echo "$ac_res" >&6; } |
15128 | if 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 |
14543 | echo $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 |
14546 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} | 15138 | $as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
14547 | 15139 | ||
14548 | else | 15140 | else |
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;; |
14566 | esac | 15158 | esac |
14567 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15159 | eval 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;; |
14575 | esac | 15168 | esac |
14576 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15169 | eval 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 |
14582 | echo "${ECHO_T}yes" >&6; } | 15176 | $as_echo "yes" >&6; } |
14583 | else | 15177 | else |
14584 | echo "$as_me: program exited with status $ac_status" >&5 | 15178 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
14585 | echo "$as_me: failed program was:" >&5 | 15179 | $as_echo "$as_me: failed program was:" >&5 |
14586 | sed 's/^/| /' conftest.$ac_ext >&5 | 15180 | sed '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 |
14595 | echo "${ECHO_T}not implemented" >&6; } | 15189 | $as_echo "not implemented" >&6; } |
14596 | fi | 15190 | fi |
15191 | rm -rf conftest.dSYM | ||
14597 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15192 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14598 | fi | 15193 | fi |
14599 | 15194 | ||
@@ -14607,11 +15202,11 @@ done | |||
14607 | 15202 | ||
14608 | for ac_func in gettimeofday time | 15203 | for ac_func in gettimeofday time |
14609 | do | 15204 | do |
14610 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15205 | as_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 |
14612 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15207 | $as_echo_n "checking for $ac_func... " >&6; } |
14613 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15208 | if { 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 |
14615 | else | 15210 | else |
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;; |
14666 | esac | 15261 | esac |
14667 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15262 | eval 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" |
14680 | else | 15278 | else |
14681 | echo "$as_me: failed program was:" >&5 | 15279 | $as_echo "$as_me: failed program was:" >&5 |
14682 | sed 's/^/| /' conftest.$ac_ext >&5 | 15280 | sed 's/^/| /' conftest.$ac_ext >&5 |
14683 | 15281 | ||
14684 | eval "$as_ac_var=no" | 15282 | eval "$as_ac_var=no" |
14685 | fi | 15283 | fi |
14686 | 15284 | ||
15285 | rm -rf conftest.dSYM | ||
14687 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15286 | rm -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 |
14689 | fi | 15288 | fi |
14690 | ac_res=`eval echo '${'$as_ac_var'}'` | 15289 | ac_res=`eval 'as_val=${'$as_ac_var'} |
14691 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15290 | $as_echo "$as_val"'` |
14692 | echo "${ECHO_T}$ac_res" >&6; } | 15291 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
14693 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15292 | $as_echo "$ac_res" >&6; } |
15293 | if 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 | ||
14698 | fi | 15299 | fi |
@@ -14706,11 +15307,11 @@ done | |||
14706 | 15307 | ||
14707 | for ac_func in endutent getutent getutid getutline pututline setutent | 15308 | for ac_func in endutent getutent getutid getutline pututline setutent |
14708 | do | 15309 | do |
14709 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15310 | as_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 |
14711 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15312 | $as_echo_n "checking for $ac_func... " >&6; } |
14712 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15313 | if { 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 |
14714 | else | 15315 | else |
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;; |
14765 | esac | 15366 | esac |
14766 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15367 | eval 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" |
14779 | else | 15383 | else |
14780 | echo "$as_me: failed program was:" >&5 | 15384 | $as_echo "$as_me: failed program was:" >&5 |
14781 | sed 's/^/| /' conftest.$ac_ext >&5 | 15385 | sed 's/^/| /' conftest.$ac_ext >&5 |
14782 | 15386 | ||
14783 | eval "$as_ac_var=no" | 15387 | eval "$as_ac_var=no" |
14784 | fi | 15388 | fi |
14785 | 15389 | ||
15390 | rm -rf conftest.dSYM | ||
14786 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15391 | rm -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 |
14788 | fi | 15393 | fi |
14789 | ac_res=`eval echo '${'$as_ac_var'}'` | 15394 | ac_res=`eval 'as_val=${'$as_ac_var'} |
14790 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15395 | $as_echo "$as_val"'` |
14791 | echo "${ECHO_T}$ac_res" >&6; } | 15396 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
14792 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15397 | $as_echo "$ac_res" >&6; } |
15398 | if 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 | ||
14797 | fi | 15404 | fi |
@@ -14800,11 +15407,11 @@ done | |||
14800 | 15407 | ||
14801 | for ac_func in utmpname | 15408 | for ac_func in utmpname |
14802 | do | 15409 | do |
14803 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15410 | as_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 |
14805 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15412 | $as_echo_n "checking for $ac_func... " >&6; } |
14806 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15413 | if { 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 |
14808 | else | 15415 | else |
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;; |
14859 | esac | 15466 | esac |
14860 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15467 | eval 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" |
14873 | else | 15483 | else |
14874 | echo "$as_me: failed program was:" >&5 | 15484 | $as_echo "$as_me: failed program was:" >&5 |
14875 | sed 's/^/| /' conftest.$ac_ext >&5 | 15485 | sed 's/^/| /' conftest.$ac_ext >&5 |
14876 | 15486 | ||
14877 | eval "$as_ac_var=no" | 15487 | eval "$as_ac_var=no" |
14878 | fi | 15488 | fi |
14879 | 15489 | ||
15490 | rm -rf conftest.dSYM | ||
14880 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15491 | rm -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 |
14882 | fi | 15493 | fi |
14883 | ac_res=`eval echo '${'$as_ac_var'}'` | 15494 | ac_res=`eval 'as_val=${'$as_ac_var'} |
14884 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15495 | $as_echo "$as_val"'` |
14885 | echo "${ECHO_T}$ac_res" >&6; } | 15496 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
14886 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15497 | $as_echo "$ac_res" >&6; } |
15498 | if 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 | ||
14891 | fi | 15504 | fi |
@@ -14898,11 +15511,11 @@ done | |||
14898 | 15511 | ||
14899 | for ac_func in endutxent getutxent getutxid getutxline pututxline | 15512 | for ac_func in endutxent getutxent getutxid getutxline pututxline |
14900 | do | 15513 | do |
14901 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15514 | as_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 |
14903 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15516 | $as_echo_n "checking for $ac_func... " >&6; } |
14904 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15517 | if { 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 |
14906 | else | 15519 | else |
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;; |
14957 | esac | 15570 | esac |
14958 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15571 | eval 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" |
14971 | else | 15587 | else |
14972 | echo "$as_me: failed program was:" >&5 | 15588 | $as_echo "$as_me: failed program was:" >&5 |
14973 | sed 's/^/| /' conftest.$ac_ext >&5 | 15589 | sed 's/^/| /' conftest.$ac_ext >&5 |
14974 | 15590 | ||
14975 | eval "$as_ac_var=no" | 15591 | eval "$as_ac_var=no" |
14976 | fi | 15592 | fi |
14977 | 15593 | ||
15594 | rm -rf conftest.dSYM | ||
14978 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15595 | rm -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 |
14980 | fi | 15597 | fi |
14981 | ac_res=`eval echo '${'$as_ac_var'}'` | 15598 | ac_res=`eval 'as_val=${'$as_ac_var'} |
14982 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15599 | $as_echo "$as_val"'` |
14983 | echo "${ECHO_T}$ac_res" >&6; } | 15600 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
14984 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15601 | $as_echo "$ac_res" >&6; } |
15602 | if 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 | ||
14989 | fi | 15608 | fi |
@@ -14993,11 +15612,11 @@ done | |||
14993 | 15612 | ||
14994 | for ac_func in setutxent utmpxname | 15613 | for ac_func in setutxent utmpxname |
14995 | do | 15614 | do |
14996 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15615 | as_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 |
14998 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15617 | $as_echo_n "checking for $ac_func... " >&6; } |
14999 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15618 | if { 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 |
15001 | else | 15620 | else |
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;; |
15052 | esac | 15671 | esac |
15053 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15672 | eval 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" |
15066 | else | 15688 | else |
15067 | echo "$as_me: failed program was:" >&5 | 15689 | $as_echo "$as_me: failed program was:" >&5 |
15068 | sed 's/^/| /' conftest.$ac_ext >&5 | 15690 | sed 's/^/| /' conftest.$ac_ext >&5 |
15069 | 15691 | ||
15070 | eval "$as_ac_var=no" | 15692 | eval "$as_ac_var=no" |
15071 | fi | 15693 | fi |
15072 | 15694 | ||
15695 | rm -rf conftest.dSYM | ||
15073 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15696 | rm -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 |
15075 | fi | 15698 | fi |
15076 | ac_res=`eval echo '${'$as_ac_var'}'` | 15699 | ac_res=`eval 'as_val=${'$as_ac_var'} |
15077 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15700 | $as_echo "$as_val"'` |
15078 | echo "${ECHO_T}$ac_res" >&6; } | 15701 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
15079 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15702 | $as_echo "$ac_res" >&6; } |
15703 | if 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 | ||
15084 | fi | 15709 | fi |
@@ -15087,11 +15712,11 @@ done | |||
15087 | 15712 | ||
15088 | for ac_func in getlastlogxbyname | 15713 | for ac_func in getlastlogxbyname |
15089 | do | 15714 | do |
15090 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15715 | as_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 |
15092 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 15717 | $as_echo_n "checking for $ac_func... " >&6; } |
15093 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 15718 | if { 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 |
15095 | else | 15720 | else |
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;; |
15146 | esac | 15771 | esac |
15147 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15772 | eval 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" |
15160 | else | 15788 | else |
15161 | echo "$as_me: failed program was:" >&5 | 15789 | $as_echo "$as_me: failed program was:" >&5 |
15162 | sed 's/^/| /' conftest.$ac_ext >&5 | 15790 | sed 's/^/| /' conftest.$ac_ext >&5 |
15163 | 15791 | ||
15164 | eval "$as_ac_var=no" | 15792 | eval "$as_ac_var=no" |
15165 | fi | 15793 | fi |
15166 | 15794 | ||
15795 | rm -rf conftest.dSYM | ||
15167 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15796 | rm -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 |
15169 | fi | 15798 | fi |
15170 | ac_res=`eval echo '${'$as_ac_var'}'` | 15799 | ac_res=`eval 'as_val=${'$as_ac_var'} |
15171 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 15800 | $as_echo "$as_val"'` |
15172 | echo "${ECHO_T}$ac_res" >&6; } | 15801 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
15173 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15802 | $as_echo "$ac_res" >&6; } |
15803 | if 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 | ||
15178 | fi | 15809 | fi |
15179 | done | 15810 | done |
15180 | 15811 | ||
15181 | 15812 | ||
15182 | { echo "$as_me:$LINENO: checking for daemon" >&5 | 15813 | { $as_echo "$as_me:$LINENO: checking for daemon" >&5 |
15183 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6; } | 15814 | $as_echo_n "checking for daemon... " >&6; } |
15184 | if test "${ac_cv_func_daemon+set}" = set; then | 15815 | if test "${ac_cv_func_daemon+set}" = set; then |
15185 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15816 | $as_echo_n "(cached) " >&6 |
15186 | else | 15817 | else |
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;; |
15237 | esac | 15868 | esac |
15238 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15869 | eval 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 |
15251 | else | 15885 | else |
15252 | echo "$as_me: failed program was:" >&5 | 15886 | $as_echo "$as_me: failed program was:" >&5 |
15253 | sed 's/^/| /' conftest.$ac_ext >&5 | 15887 | sed 's/^/| /' conftest.$ac_ext >&5 |
15254 | 15888 | ||
15255 | ac_cv_func_daemon=no | 15889 | ac_cv_func_daemon=no |
15256 | fi | 15890 | fi |
15257 | 15891 | ||
15892 | rm -rf conftest.dSYM | ||
15258 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15893 | rm -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 |
15260 | fi | 15895 | fi |
15261 | { echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 | 15896 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 |
15262 | echo "${ECHO_T}$ac_cv_func_daemon" >&6; } | 15897 | $as_echo "$ac_cv_func_daemon" >&6; } |
15263 | if test $ac_cv_func_daemon = yes; then | 15898 | if test $ac_cv_func_daemon = yes; then |
15264 | 15899 | ||
15265 | cat >>confdefs.h <<\_ACEOF | 15900 | cat >>confdefs.h <<\_ACEOF |
@@ -15267,10 +15902,10 @@ cat >>confdefs.h <<\_ACEOF | |||
15267 | _ACEOF | 15902 | _ACEOF |
15268 | 15903 | ||
15269 | else | 15904 | else |
15270 | { echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 | 15905 | { $as_echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 |
15271 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6; } | 15906 | $as_echo_n "checking for daemon in -lbsd... " >&6; } |
15272 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then | 15907 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then |
15273 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15908 | $as_echo_n "(cached) " >&6 |
15274 | else | 15909 | else |
15275 | ac_check_lib_save_LIBS=$LIBS | 15910 | ac_check_lib_save_LIBS=$LIBS |
15276 | LIBS="-lbsd $LIBS" | 15911 | LIBS="-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;; |
15304 | esac | 15939 | esac |
15305 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 15940 | eval 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 |
15318 | else | 15956 | else |
15319 | echo "$as_me: failed program was:" >&5 | 15957 | $as_echo "$as_me: failed program was:" >&5 |
15320 | sed 's/^/| /' conftest.$ac_ext >&5 | 15958 | sed 's/^/| /' conftest.$ac_ext >&5 |
15321 | 15959 | ||
15322 | ac_cv_lib_bsd_daemon=no | 15960 | ac_cv_lib_bsd_daemon=no |
15323 | fi | 15961 | fi |
15324 | 15962 | ||
15963 | rm -rf conftest.dSYM | ||
15325 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 15964 | rm -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 |
15327 | LIBS=$ac_check_lib_save_LIBS | 15966 | LIBS=$ac_check_lib_save_LIBS |
15328 | fi | 15967 | fi |
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 |
15330 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6; } | 15969 | $as_echo "$ac_cv_lib_bsd_daemon" >&6; } |
15331 | if test $ac_cv_lib_bsd_daemon = yes; then | 15970 | if 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 | |||
15339 | fi | 15978 | fi |
15340 | 15979 | ||
15341 | 15980 | ||
15342 | { echo "$as_me:$LINENO: checking for getpagesize" >&5 | 15981 | { $as_echo "$as_me:$LINENO: checking for getpagesize" >&5 |
15343 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6; } | 15982 | $as_echo_n "checking for getpagesize... " >&6; } |
15344 | if test "${ac_cv_func_getpagesize+set}" = set; then | 15983 | if test "${ac_cv_func_getpagesize+set}" = set; then |
15345 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15984 | $as_echo_n "(cached) " >&6 |
15346 | else | 15985 | else |
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;; |
15397 | esac | 16036 | esac |
15398 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16037 | eval 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 |
15411 | else | 16053 | else |
15412 | echo "$as_me: failed program was:" >&5 | 16054 | $as_echo "$as_me: failed program was:" >&5 |
15413 | sed 's/^/| /' conftest.$ac_ext >&5 | 16055 | sed 's/^/| /' conftest.$ac_ext >&5 |
15414 | 16056 | ||
15415 | ac_cv_func_getpagesize=no | 16057 | ac_cv_func_getpagesize=no |
15416 | fi | 16058 | fi |
15417 | 16059 | ||
16060 | rm -rf conftest.dSYM | ||
15418 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16061 | rm -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 |
15420 | fi | 16063 | fi |
15421 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 | 16064 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 |
15422 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6; } | 16065 | $as_echo "$ac_cv_func_getpagesize" >&6; } |
15423 | if test $ac_cv_func_getpagesize = yes; then | 16066 | if test $ac_cv_func_getpagesize = yes; then |
15424 | 16067 | ||
15425 | cat >>confdefs.h <<\_ACEOF | 16068 | cat >>confdefs.h <<\_ACEOF |
@@ -15427,10 +16070,10 @@ cat >>confdefs.h <<\_ACEOF | |||
15427 | _ACEOF | 16070 | _ACEOF |
15428 | 16071 | ||
15429 | else | 16072 | else |
15430 | { echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 | 16073 | { $as_echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 |
15431 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6; } | 16074 | $as_echo_n "checking for getpagesize in -lucb... " >&6; } |
15432 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then | 16075 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then |
15433 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16076 | $as_echo_n "(cached) " >&6 |
15434 | else | 16077 | else |
15435 | ac_check_lib_save_LIBS=$LIBS | 16078 | ac_check_lib_save_LIBS=$LIBS |
15436 | LIBS="-lucb $LIBS" | 16079 | LIBS="-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;; |
15464 | esac | 16107 | esac |
15465 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16108 | eval 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 |
15478 | else | 16124 | else |
15479 | echo "$as_me: failed program was:" >&5 | 16125 | $as_echo "$as_me: failed program was:" >&5 |
15480 | sed 's/^/| /' conftest.$ac_ext >&5 | 16126 | sed 's/^/| /' conftest.$ac_ext >&5 |
15481 | 16127 | ||
15482 | ac_cv_lib_ucb_getpagesize=no | 16128 | ac_cv_lib_ucb_getpagesize=no |
15483 | fi | 16129 | fi |
15484 | 16130 | ||
16131 | rm -rf conftest.dSYM | ||
15485 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16132 | rm -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 |
15487 | LIBS=$ac_check_lib_save_LIBS | 16134 | LIBS=$ac_check_lib_save_LIBS |
15488 | fi | 16135 | fi |
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 |
15490 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6; } | 16137 | $as_echo "$ac_cv_lib_ucb_getpagesize" >&6; } |
15491 | if test $ac_cv_lib_ucb_getpagesize = yes; then | 16138 | if 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 |
15503 | if test "x$ac_cv_func_snprintf" = "xyes" ; then | 16150 | if 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 |
15505 | echo $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 |
15508 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} | 16155 | $as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
15509 | 16156 | ||
15510 | else | 16157 | else |
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;; |
15527 | esac | 16174 | esac |
15528 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16175 | eval 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;; |
15536 | esac | 16184 | esac |
15537 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16185 | eval 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 |
15543 | echo "${ECHO_T}yes" >&6; } | 16192 | $as_echo "yes" >&6; } |
15544 | else | 16193 | else |
15545 | echo "$as_me: program exited with status $ac_status" >&5 | 16194 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
15546 | echo "$as_me: failed program was:" >&5 | 16195 | $as_echo "$as_me: failed program was:" >&5 |
15547 | sed 's/^/| /' conftest.$ac_ext >&5 | 16196 | sed '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 |
15552 | echo "${ECHO_T}no" >&6; } | 16201 | $as_echo "no" >&6; } |
15553 | 16202 | ||
15554 | cat >>confdefs.h <<\_ACEOF | 16203 | cat >>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 |
15559 | echo "$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 | ||
15561 | fi | 16210 | fi |
16211 | rm -rf conftest.dSYM | ||
15562 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 16212 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15563 | fi | 16213 | fi |
15564 | 16214 | ||
@@ -15570,11 +16220,11 @@ fi | |||
15570 | # create (as per SUSv3) | 16220 | # create (as per SUSv3) |
15571 | if test "x$ac_cv_func_asprintf" != "xyes" && \ | 16221 | if 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 |
15574 | echo $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 |
15577 | echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} | 16227 | $as_echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} |
15578 | 16228 | ||
15579 | else | 16229 | else |
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;; |
15608 | esac | 16258 | esac |
15609 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16259 | eval 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;; |
15617 | esac | 16268 | esac |
15618 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16269 | eval 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 |
15624 | echo "${ECHO_T}yes" >&6; } | 16276 | $as_echo "yes" >&6; } |
15625 | else | 16277 | else |
15626 | echo "$as_me: program exited with status $ac_status" >&5 | 16278 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
15627 | echo "$as_me: failed program was:" >&5 | 16279 | $as_echo "$as_me: failed program was:" >&5 |
15628 | sed 's/^/| /' conftest.$ac_ext >&5 | 16280 | sed '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 |
15633 | echo "${ECHO_T}no" >&6; } | 16285 | $as_echo "no" >&6; } |
15634 | 16286 | ||
15635 | cat >>confdefs.h <<\_ACEOF | 16287 | cat >>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 |
15640 | echo "$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 | ||
15642 | fi | 16294 | fi |
16295 | rm -rf conftest.dSYM | ||
15643 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 16296 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15644 | fi | 16297 | fi |
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 |
15653 | echo $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; } |
15654 | cat >conftest.$ac_ext <<_ACEOF | 16307 | cat >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;; |
15670 | esac | 16323 | esac |
15671 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16324 | eval 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 |
15683 | echo "${ECHO_T}yes" >&6; } | 16337 | $as_echo "yes" >&6; } |
15684 | 16338 | ||
15685 | cat >>confdefs.h <<\_ACEOF | 16339 | cat >>confdefs.h <<\_ACEOF |
15686 | #define SNPRINTF_CONST const | 16340 | #define SNPRINTF_CONST const |
15687 | _ACEOF | 16341 | _ACEOF |
15688 | 16342 | ||
15689 | else | 16343 | else |
15690 | echo "$as_me: failed program was:" >&5 | 16344 | $as_echo "$as_me: failed program was:" >&5 |
15691 | sed 's/^/| /' conftest.$ac_ext >&5 | 16345 | sed 's/^/| /' conftest.$ac_ext >&5 |
15692 | 16346 | ||
15693 | { echo "$as_me:$LINENO: result: no" >&5 | 16347 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
15694 | echo "${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 |
15704 | NO_PEERCHECK="" | 16358 | NO_PEERCHECK="" |
15705 | if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then | 16359 | if 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 |
15707 | echo $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;; |
15729 | esac | 16383 | esac |
15730 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16384 | eval 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 |
15742 | echo "${ECHO_T}yes" >&6; } | 16397 | $as_echo "yes" >&6; } |
15743 | 16398 | ||
15744 | cat >>confdefs.h <<\_ACEOF | 16399 | cat >>confdefs.h <<\_ACEOF |
15745 | #define HAVE_SO_PEERCRED 1 | 16400 | #define HAVE_SO_PEERCRED 1 |
@@ -15747,11 +16402,11 @@ _ACEOF | |||
15747 | 16402 | ||
15748 | 16403 | ||
15749 | else | 16404 | else |
15750 | echo "$as_me: failed program was:" >&5 | 16405 | $as_echo "$as_me: failed program was:" >&5 |
15751 | sed 's/^/| /' conftest.$ac_ext >&5 | 16406 | sed 's/^/| /' conftest.$ac_ext >&5 |
15752 | 16407 | ||
15753 | { echo "$as_me:$LINENO: result: no" >&5 | 16408 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
15754 | echo "${ECHO_T}no" >&6; } | 16409 | $as_echo "no" >&6; } |
15755 | NO_PEERCHECK=1 | 16410 | NO_PEERCHECK=1 |
15756 | 16411 | ||
15757 | fi | 16412 | fi |
@@ -15760,12 +16415,12 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
15760 | fi | 16415 | fi |
15761 | 16416 | ||
15762 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then | 16417 | if 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 |
15764 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6; } | 16419 | $as_echo_n "checking for (overly) strict mkstemp... " >&6; } |
15765 | if test "$cross_compiling" = yes; then | 16420 | if test "$cross_compiling" = yes; then |
15766 | 16421 | ||
15767 | { echo "$as_me:$LINENO: result: yes" >&5 | 16422 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
15768 | echo "${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;; |
15796 | esac | 16451 | esac |
15797 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16452 | eval 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;; |
15805 | esac | 16461 | esac |
15806 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16462 | eval 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 |
15813 | echo "${ECHO_T}no" >&6; } | 16470 | $as_echo "no" >&6; } |
15814 | 16471 | ||
15815 | else | 16472 | else |
15816 | echo "$as_me: program exited with status $ac_status" >&5 | 16473 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
15817 | echo "$as_me: failed program was:" >&5 | 16474 | $as_echo "$as_me: failed program was:" >&5 |
15818 | sed 's/^/| /' conftest.$ac_ext >&5 | 16475 | sed '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 |
15823 | echo "${ECHO_T}yes" >&6; } | 16480 | $as_echo "yes" >&6; } |
15824 | 16481 | ||
15825 | cat >>confdefs.h <<\_ACEOF | 16482 | cat >>confdefs.h <<\_ACEOF |
15826 | #define HAVE_STRICT_MKSTEMP 1 | 16483 | #define HAVE_STRICT_MKSTEMP 1 |
@@ -15828,6 +16485,7 @@ _ACEOF | |||
15828 | 16485 | ||
15829 | 16486 | ||
15830 | fi | 16487 | fi |
16488 | rm -rf conftest.dSYM | ||
15831 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 16489 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15832 | fi | 16490 | fi |
15833 | 16491 | ||
@@ -15835,12 +16493,12 @@ fi | |||
15835 | fi | 16493 | fi |
15836 | 16494 | ||
15837 | if test ! -z "$check_for_openpty_ctty_bug"; then | 16495 | if 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 |
15839 | echo $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 |
15843 | echo "${ECHO_T}cross-compiling" >&6; } | 16501 | $as_echo "cross-compiling" >&6; } |
15844 | 16502 | ||
15845 | 16503 | ||
15846 | else | 16504 | else |
@@ -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;; |
15892 | esac | 16550 | esac |
15893 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16551 | eval 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;; |
15901 | esac | 16560 | esac |
15902 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16561 | eval 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 |
15909 | echo "${ECHO_T}yes" >&6; } | 16569 | $as_echo "yes" >&6; } |
15910 | 16570 | ||
15911 | else | 16571 | else |
15912 | echo "$as_me: program exited with status $ac_status" >&5 | 16572 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
15913 | echo "$as_me: failed program was:" >&5 | 16573 | $as_echo "$as_me: failed program was:" >&5 |
15914 | sed 's/^/| /' conftest.$ac_ext >&5 | 16574 | sed '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 |
15919 | echo "${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 | ||
15925 | fi | 16585 | fi |
16586 | rm -rf conftest.dSYM | ||
15926 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 16587 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15927 | fi | 16588 | fi |
15928 | 16589 | ||
@@ -15931,12 +16592,12 @@ fi | |||
15931 | 16592 | ||
15932 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ | 16593 | if 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 |
15935 | echo $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 |
15939 | echo "${ECHO_T}cross-compiling" >&6; } | 16600 | $as_echo "cross-compiling" >&6; } |
15940 | 16601 | ||
15941 | 16602 | ||
15942 | else | 16603 | else |
@@ -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;; |
16010 | esac | 16671 | esac |
16011 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16672 | eval 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;; |
16019 | esac | 16681 | esac |
16020 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16682 | eval 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 |
16027 | echo "${ECHO_T}yes" >&6; } | 16690 | $as_echo "yes" >&6; } |
16028 | 16691 | ||
16029 | else | 16692 | else |
16030 | echo "$as_me: program exited with status $ac_status" >&5 | 16693 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
16031 | echo "$as_me: failed program was:" >&5 | 16694 | $as_echo "$as_me: failed program was:" >&5 |
16032 | sed 's/^/| /' conftest.$ac_ext >&5 | 16695 | sed '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 |
16037 | echo "${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 | ||
16043 | fi | 16706 | fi |
16707 | rm -rf conftest.dSYM | ||
16044 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 16708 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
16045 | fi | 16709 | fi |
16046 | 16710 | ||
@@ -16049,12 +16713,12 @@ fi | |||
16049 | 16713 | ||
16050 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ | 16714 | if 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 |
16053 | echo $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 |
16057 | echo "${ECHO_T}cross-compiling" >&6; } | 16721 | $as_echo "cross-compiling" >&6; } |
16058 | 16722 | ||
16059 | 16723 | ||
16060 | else | 16724 | else |
@@ -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;; |
16116 | esac | 16780 | esac |
16117 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16781 | eval 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;; |
16125 | esac | 16790 | esac |
16126 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16791 | eval 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 |
16133 | echo "${ECHO_T}yes" >&6; } | 16799 | $as_echo "yes" >&6; } |
16134 | 16800 | ||
16135 | cat >>confdefs.h <<\_ACEOF | 16801 | cat >>confdefs.h <<\_ACEOF |
16136 | #define AIX_GETNAMEINFO_HACK 1 | 16802 | #define AIX_GETNAMEINFO_HACK 1 |
@@ -16138,20 +16804,21 @@ _ACEOF | |||
16138 | 16804 | ||
16139 | 16805 | ||
16140 | else | 16806 | else |
16141 | echo "$as_me: program exited with status $ac_status" >&5 | 16807 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
16142 | echo "$as_me: failed program was:" >&5 | 16808 | $as_echo "$as_me: failed program was:" >&5 |
16143 | sed 's/^/| /' conftest.$ac_ext >&5 | 16809 | sed '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 |
16148 | echo "${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 | ||
16154 | fi | 16820 | fi |
16821 | rm -rf conftest.dSYM | ||
16155 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 16822 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
16156 | fi | 16823 | fi |
16157 | 16824 | ||
@@ -16159,8 +16826,8 @@ fi | |||
16159 | fi | 16826 | fi |
16160 | 16827 | ||
16161 | if test "x$check_for_conflicting_getspnam" = "x1"; then | 16828 | if 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 |
16163 | echo $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;; |
16175 | esac | 16842 | esac |
16176 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16843 | eval 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 |
16189 | echo "${ECHO_T}no" >&6; } | 16857 | $as_echo "no" >&6; } |
16190 | 16858 | ||
16191 | else | 16859 | else |
16192 | echo "$as_me: failed program was:" >&5 | 16860 | $as_echo "$as_me: failed program was:" >&5 |
16193 | sed 's/^/| /' conftest.$ac_ext >&5 | 16861 | sed '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 |
16197 | echo "${ECHO_T}yes" >&6; } | 16865 | $as_echo "yes" >&6; } |
16198 | 16866 | ||
16199 | cat >>confdefs.h <<\_ACEOF | 16867 | cat >>confdefs.h <<\_ACEOF |
16200 | #define GETSPNAM_CONFLICTING_DEFS 1 | 16868 | #define GETSPNAM_CONFLICTING_DEFS 1 |
@@ -16207,10 +16875,10 @@ fi | |||
16207 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16875 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16208 | fi | 16876 | fi |
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 |
16211 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } | 16879 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
16212 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | 16880 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
16213 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16881 | $as_echo_n "(cached) " >&6 |
16214 | else | 16882 | else |
16215 | # Use it with a single arg. | 16883 | # Use it with a single arg. |
16216 | cat >conftest.$ac_ext <<_ACEOF | 16884 | cat >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;; |
16236 | esac | 16904 | esac |
16237 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 16905 | eval 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 |
16249 | else | 16918 | else |
16250 | echo "$as_me: failed program was:" >&5 | 16919 | $as_echo "$as_me: failed program was:" >&5 |
16251 | sed 's/^/| /' conftest.$ac_ext >&5 | 16920 | sed '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 | |||
16256 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16925 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16257 | 16926 | ||
16258 | fi | 16927 | fi |
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 |
16260 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } | 16929 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
16261 | if test $ac_cv_func_getpgrp_void = yes; then | 16930 | if test $ac_cv_func_getpgrp_void = yes; then |
16262 | 16931 | ||
16263 | cat >>confdefs.h <<\_ACEOF | 16932 | cat >>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;; |
16333 | esac | 17002 | esac |
16334 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17003 | eval 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 | ||
16347 | cat >>confdefs.h <<\_ACEOF | 17019 | cat >>confdefs.h <<\_ACEOF |
16348 | #define HAVE_OPENSSL 1 | 17020 | #define HAVE_OPENSSL 1 |
16349 | _ACEOF | 17021 | _ACEOF |
16350 | 17022 | ||
16351 | else | 17023 | else |
16352 | echo "$as_me: failed program was:" >&5 | 17024 | $as_echo "$as_me: failed program was:" >&5 |
16353 | sed 's/^/| /' conftest.$ac_ext >&5 | 17025 | sed '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; } | ||
17037 | if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then | ||
17038 | $as_echo_n "(cached) " >&6 | ||
17039 | fi | ||
17040 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5 | ||
17041 | $as_echo "$ac_cv_header_openssl_opensslv_h" >&6; } | ||
17042 | else | ||
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; } | ||
17046 | cat >conftest.$ac_ext <<_ACEOF | ||
17047 | /* confdefs.h. */ | ||
17048 | _ACEOF | ||
17049 | cat confdefs.h >>conftest.$ac_ext | ||
17050 | cat >>conftest.$ac_ext <<_ACEOF | ||
17051 | /* end confdefs.h. */ | ||
17052 | $ac_includes_default | ||
17053 | #include <openssl/opensslv.h> | ||
17054 | _ACEOF | ||
17055 | rm -f conftest.$ac_objext | ||
17056 | if { (ac_try="$ac_compile" | ||
17057 | case "(($ac_try" in | ||
17058 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17059 | *) ac_try_echo=$ac_try;; | ||
17060 | esac | ||
17061 | eval 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 | ||
17074 | else | ||
17075 | $as_echo "$as_me: failed program was:" >&5 | ||
17076 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17077 | |||
17078 | ac_header_compiler=no | ||
17079 | fi | ||
17080 | |||
17081 | rm -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; } | ||
17088 | cat >conftest.$ac_ext <<_ACEOF | ||
17089 | /* confdefs.h. */ | ||
17090 | _ACEOF | ||
17091 | cat confdefs.h >>conftest.$ac_ext | ||
17092 | cat >>conftest.$ac_ext <<_ACEOF | ||
17093 | /* end confdefs.h. */ | ||
17094 | #include <openssl/opensslv.h> | ||
17095 | _ACEOF | ||
17096 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
17097 | case "(($ac_try" in | ||
17098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17099 | *) ac_try_echo=$ac_try;; | ||
17100 | esac | ||
17101 | eval 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 | ||
17114 | else | ||
17115 | $as_echo "$as_me: failed program was:" >&5 | ||
17116 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17117 | |||
17118 | ac_header_preproc=no | ||
17119 | fi | ||
17120 | |||
17121 | rm -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? | ||
17126 | case $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 | ;; | ||
17154 | esac | ||
17155 | { $as_echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5 | ||
17156 | $as_echo_n "checking for openssl/opensslv.h... " >&6; } | ||
17157 | if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then | ||
17158 | $as_echo_n "(cached) " >&6 | ||
17159 | else | ||
17160 | ac_cv_header_openssl_opensslv_h=$ac_header_preproc | ||
17161 | fi | ||
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 | |||
17165 | fi | ||
17166 | if test $ac_cv_header_openssl_opensslv_h = yes; then | ||
17167 | : | ||
17168 | else | ||
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; }; } | ||
17172 | fi | ||
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;; |
16389 | esac | 17202 | esac |
16390 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17203 | eval 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 | ||
16406 | else | 17222 | else |
16407 | echo "$as_me: failed program was:" >&5 | 17223 | $as_echo "$as_me: failed program was:" >&5 |
16408 | sed 's/^/| /' conftest.$ac_ext >&5 | 17224 | sed '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 |
16412 | echo "$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 | ||
16416 | fi | 17232 | fi |
16417 | 17233 | ||
17234 | rm -rf conftest.dSYM | ||
16418 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17235 | rm -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 | ||
16422 | fi | 17239 | fi |
16423 | 17240 | ||
17241 | rm -rf conftest.dSYM | ||
16424 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17242 | rm -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 |
16429 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6; } | 17247 | $as_echo_n "checking OpenSSL header version... " >&6; } |
16430 | if test "$cross_compiling" = yes; then | 17248 | if 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 |
16433 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 17251 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
16434 | 17252 | ||
16435 | 17253 | ||
16436 | else | 17254 | else |
@@ -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;; |
16468 | esac | 17286 | esac |
16469 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17287 | eval 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;; |
16477 | esac | 17296 | esac |
16478 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17297 | eval 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 |
16486 | echo "${ECHO_T}$ssl_header_ver" >&6; } | 17306 | $as_echo "$ssl_header_ver" >&6; } |
16487 | 17307 | ||
16488 | else | 17308 | else |
16489 | echo "$as_me: program exited with status $ac_status" >&5 | 17309 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
16490 | echo "$as_me: failed program was:" >&5 | 17310 | $as_echo "$as_me: failed program was:" >&5 |
16491 | sed 's/^/| /' conftest.$ac_ext >&5 | 17311 | sed '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 |
16496 | echo "${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 |
16498 | echo "$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 | ||
16501 | fi | 17321 | fi |
17322 | rm -rf conftest.dSYM | ||
16502 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 17323 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
16503 | fi | 17324 | fi |
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 |
16509 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6; } | 17330 | $as_echo_n "checking OpenSSL library version... " >&6; } |
16510 | if test "$cross_compiling" = yes; then | 17331 | if 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 |
16513 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 17334 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
16514 | 17335 | ||
16515 | 17336 | ||
16516 | else | 17337 | else |
@@ -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;; |
16549 | esac | 17370 | esac |
16550 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17371 | eval 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;; |
16558 | esac | 17380 | esac |
16559 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17381 | eval 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 |
16567 | echo "${ECHO_T}$ssl_library_ver" >&6; } | 17390 | $as_echo "$ssl_library_ver" >&6; } |
16568 | 17391 | ||
16569 | else | 17392 | else |
16570 | echo "$as_me: program exited with status $ac_status" >&5 | 17393 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
16571 | echo "$as_me: failed program was:" >&5 | 17394 | $as_echo "$as_me: failed program was:" >&5 |
16572 | sed 's/^/| /' conftest.$ac_ext >&5 | 17395 | sed '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 |
16577 | echo "${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 |
16579 | echo "$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 | ||
16582 | fi | 17405 | fi |
17406 | rm -rf conftest.dSYM | ||
16583 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 17407 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
16584 | fi | 17408 | fi |
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 |
16601 | echo $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; } |
16602 | if test "$cross_compiling" = yes; then | 17426 | if 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 |
16605 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 17429 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
16606 | 17430 | ||
16607 | 17431 | ||
16608 | else | 17432 | else |
@@ -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;; |
16626 | esac | 17450 | esac |
16627 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17451 | eval 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;; |
16635 | esac | 17460 | esac |
16636 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17461 | eval 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 |
16643 | echo "${ECHO_T}yes" >&6; } | 17469 | $as_echo "yes" >&6; } |
16644 | 17470 | ||
16645 | else | 17471 | else |
16646 | echo "$as_me: program exited with status $ac_status" >&5 | 17472 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
16647 | echo "$as_me: failed program was:" >&5 | 17473 | $as_echo "$as_me: failed program was:" >&5 |
16648 | sed 's/^/| /' conftest.$ac_ext >&5 | 17474 | sed '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 |
16653 | echo "${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 |
16656 | library. Check config.log for details. | 17482 | library. Check config.log for details. |
16657 | If you are sure your installation is consistent, you can disable the check | 17483 | If you are sure your installation is consistent, you can disable the check |
16658 | by running \"./configure --without-openssl-header-check\". | 17484 | by running \"./configure --without-openssl-header-check\". |
16659 | Also see contrib/findssl.sh for help identifying header/library mismatches. | 17485 | Also see contrib/findssl.sh for help identifying header/library mismatches. |
16660 | " >&5 | 17486 | " >&5 |
16661 | echo "$as_me: error: Your OpenSSL headers do not match your | 17487 | $as_echo "$as_me: error: Your OpenSSL headers do not match your |
16662 | library. Check config.log for details. | 17488 | library. Check config.log for details. |
16663 | If you are sure your installation is consistent, you can disable the check | 17489 | If you are sure your installation is consistent, you can disable the check |
16664 | by running \"./configure --without-openssl-header-check\". | 17490 | by 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 |
16670 | library. Check config.log for details. | 17496 | library. Check config.log for details. |
16671 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 | 17497 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 |
16672 | echo "$as_me: WARNING: Your OpenSSL headers do not match your | 17498 | $as_echo "$as_me: WARNING: Your OpenSSL headers do not match your |
16673 | library. Check config.log for details. | 17499 | library. Check config.log for details. |
16674 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} | 17500 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} |
16675 | fi | 17501 | fi |
16676 | 17502 | ||
16677 | fi | 17503 | fi |
17504 | rm -rf conftest.dSYM | ||
16678 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 17505 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
16679 | fi | 17506 | fi |
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 |
16684 | echo $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; } |
16685 | cat >conftest.$ac_ext <<_ACEOF | 17512 | cat >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;; |
16701 | esac | 17528 | esac |
16702 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17529 | eval 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 |
16716 | echo "${ECHO_T}yes" >&6; } | 17546 | $as_echo "yes" >&6; } |
16717 | 17547 | ||
16718 | else | 17548 | else |
16719 | echo "$as_me: failed program was:" >&5 | 17549 | $as_echo "$as_me: failed program was:" >&5 |
16720 | sed 's/^/| /' conftest.$ac_ext >&5 | 17550 | sed '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 |
16724 | echo "${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 |
16728 | echo $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;; |
16745 | esac | 17575 | esac |
16746 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17576 | eval 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 |
16760 | echo "${ECHO_T}yes" >&6; } | 17593 | $as_echo "yes" >&6; } |
16761 | 17594 | ||
16762 | else | 17595 | else |
16763 | echo "$as_me: failed program was:" >&5 | 17596 | $as_echo "$as_me: failed program was:" >&5 |
16764 | sed 's/^/| /' conftest.$ac_ext >&5 | 17597 | sed '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 |
16768 | echo "${ECHO_T}no" >&6; } | 17601 | $as_echo "no" >&6; } |
16769 | LIBS="$saved_LIBS" | 17602 | LIBS="$saved_LIBS" |
16770 | 17603 | ||
16771 | 17604 | ||
16772 | fi | 17605 | fi |
16773 | 17606 | ||
17607 | rm -rf conftest.dSYM | ||
16774 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17608 | rm -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 | ||
16778 | fi | 17612 | fi |
16779 | 17613 | ||
17614 | rm -rf conftest.dSYM | ||
16780 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17615 | rm -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. |
16785 | if test "${with_ssl_engine+set}" = set; then | 17620 | if 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 |
16788 | echo $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;; |
16811 | esac | 17646 | esac |
16812 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17647 | eval 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 |
16824 | echo "${ECHO_T}yes" >&6; } | 17660 | $as_echo "yes" >&6; } |
16825 | 17661 | ||
16826 | cat >>confdefs.h <<\_ACEOF | 17662 | cat >>confdefs.h <<\_ACEOF |
16827 | #define USE_OPENSSL_ENGINE 1 | 17663 | #define USE_OPENSSL_ENGINE 1 |
@@ -16829,11 +17665,11 @@ _ACEOF | |||
16829 | 17665 | ||
16830 | 17666 | ||
16831 | else | 17667 | else |
16832 | echo "$as_me: failed program was:" >&5 | 17668 | $as_echo "$as_me: failed program was:" >&5 |
16833 | sed 's/^/| /' conftest.$ac_ext >&5 | 17669 | sed '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 |
16836 | echo "$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 | ||
16839 | fi | 17675 | fi |
@@ -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 |
16849 | echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6; } | 17685 | $as_echo_n "checking whether OpenSSL has crippled AES support... " >&6; } |
16850 | cat >conftest.$ac_ext <<_ACEOF | 17686 | cat >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;; |
16867 | esac | 17703 | esac |
16868 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17704 | eval 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 |
16882 | echo "${ECHO_T}no" >&6; } | 17721 | $as_echo "no" >&6; } |
16883 | 17722 | ||
16884 | else | 17723 | else |
16885 | echo "$as_me: failed program was:" >&5 | 17724 | $as_echo "$as_me: failed program was:" >&5 |
16886 | sed 's/^/| /' conftest.$ac_ext >&5 | 17725 | sed '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 |
16890 | echo "${ECHO_T}yes" >&6; } | 17729 | $as_echo "yes" >&6; } |
16891 | 17730 | ||
16892 | cat >>confdefs.h <<\_ACEOF | 17731 | cat >>confdefs.h <<\_ACEOF |
16893 | #define OPENSSL_LOBOTOMISED_AES 1 | 17732 | #define OPENSSL_LOBOTOMISED_AES 1 |
@@ -16897,6 +17736,66 @@ _ACEOF | |||
16897 | 17736 | ||
16898 | fi | 17737 | fi |
16899 | 17738 | ||
17739 | rm -rf conftest.dSYM | ||
17740 | rm -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; } | ||
17745 | cat >conftest.$ac_ext <<_ACEOF | ||
17746 | /* confdefs.h. */ | ||
17747 | _ACEOF | ||
17748 | cat confdefs.h >>conftest.$ac_ext | ||
17749 | cat >>conftest.$ac_ext <<_ACEOF | ||
17750 | /* end confdefs.h. */ | ||
17751 | |||
17752 | #include <string.h> | ||
17753 | #include <openssl/evp.h> | ||
17754 | int main(void) { if(EVP_DigestUpdate(NULL, NULL,0)) exit(0); } | ||
17755 | |||
17756 | _ACEOF | ||
17757 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
17758 | if { (ac_try="$ac_link" | ||
17759 | case "(($ac_try" in | ||
17760 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17761 | *) ac_try_echo=$ac_try;; | ||
17762 | esac | ||
17763 | eval 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 | |||
17782 | else | ||
17783 | $as_echo "$as_me: failed program was:" >&5 | ||
17784 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17785 | |||
17786 | |||
17787 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
17788 | $as_echo "no" >&6; } | ||
17789 | |||
17790 | cat >>confdefs.h <<\_ACEOF | ||
17791 | #define OPENSSL_EVP_DIGESTUPDATE_VOID 1 | ||
17792 | _ACEOF | ||
17793 | |||
17794 | |||
17795 | |||
17796 | fi | ||
17797 | |||
17798 | rm -rf conftest.dSYM | ||
16900 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17799 | rm -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. |
16905 | if test "x$check_for_libcrypt_before" = "x1"; then | 17804 | if 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 |
16908 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } | 17807 | $as_echo_n "checking for crypt in -lcrypt... " >&6; } |
16909 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 17808 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
16910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17809 | $as_echo_n "(cached) " >&6 |
16911 | else | 17810 | else |
16912 | ac_check_lib_save_LIBS=$LIBS | 17811 | ac_check_lib_save_LIBS=$LIBS |
16913 | LIBS="-lcrypt $LIBS" | 17812 | LIBS="-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;; |
16941 | esac | 17840 | esac |
16942 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17841 | eval 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 |
16955 | else | 17857 | else |
16956 | echo "$as_me: failed program was:" >&5 | 17858 | $as_echo "$as_me: failed program was:" >&5 |
16957 | sed 's/^/| /' conftest.$ac_ext >&5 | 17859 | sed 's/^/| /' conftest.$ac_ext >&5 |
16958 | 17860 | ||
16959 | ac_cv_lib_crypt_crypt=no | 17861 | ac_cv_lib_crypt_crypt=no |
16960 | fi | 17862 | fi |
16961 | 17863 | ||
17864 | rm -rf conftest.dSYM | ||
16962 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17865 | rm -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 |
16964 | LIBS=$ac_check_lib_save_LIBS | 17867 | LIBS=$ac_check_lib_save_LIBS |
16965 | fi | 17868 | fi |
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 |
16967 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } | 17870 | $as_echo "$ac_cv_lib_crypt_crypt" >&6; } |
16968 | if test $ac_cv_lib_crypt_crypt = yes; then | 17871 | if 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. |
16981 | if test "x$check_for_libcrypt_later" = "x1"; then | 17884 | if 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 |
16983 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } | 17886 | $as_echo_n "checking for crypt in -lcrypt... " >&6; } |
16984 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 17887 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
16985 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17888 | $as_echo_n "(cached) " >&6 |
16986 | else | 17889 | else |
16987 | ac_check_lib_save_LIBS=$LIBS | 17890 | ac_check_lib_save_LIBS=$LIBS |
16988 | LIBS="-lcrypt $LIBS" | 17891 | LIBS="-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;; |
17016 | esac | 17919 | esac |
17017 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 17920 | eval 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 |
17030 | else | 17936 | else |
17031 | echo "$as_me: failed program was:" >&5 | 17937 | $as_echo "$as_me: failed program was:" >&5 |
17032 | sed 's/^/| /' conftest.$ac_ext >&5 | 17938 | sed 's/^/| /' conftest.$ac_ext >&5 |
17033 | 17939 | ||
17034 | ac_cv_lib_crypt_crypt=no | 17940 | ac_cv_lib_crypt_crypt=no |
17035 | fi | 17941 | fi |
17036 | 17942 | ||
17943 | rm -rf conftest.dSYM | ||
17037 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17944 | rm -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 |
17039 | LIBS=$ac_check_lib_save_LIBS | 17946 | LIBS=$ac_check_lib_save_LIBS |
17040 | fi | 17947 | fi |
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 |
17042 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } | 17949 | $as_echo "$ac_cv_lib_crypt_crypt" >&6; } |
17043 | if test $ac_cv_lib_crypt_crypt = yes; then | 17950 | if test $ac_cv_lib_crypt_crypt = yes; then |
17044 | LIBS="$LIBS -lcrypt" | 17951 | LIBS="$LIBS -lcrypt" |
17045 | fi | 17952 | fi |
@@ -17051,11 +17958,11 @@ fi | |||
17051 | 17958 | ||
17052 | for ac_func in SHA256_Update EVP_sha256 | 17959 | for ac_func in SHA256_Update EVP_sha256 |
17053 | do | 17960 | do |
17054 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17961 | as_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 |
17056 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 17963 | $as_echo_n "checking for $ac_func... " >&6; } |
17057 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 17964 | if { 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 |
17059 | else | 17966 | else |
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;; |
17110 | esac | 18017 | esac |
17111 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18018 | eval 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" |
17124 | else | 18034 | else |
17125 | echo "$as_me: failed program was:" >&5 | 18035 | $as_echo "$as_me: failed program was:" >&5 |
17126 | sed 's/^/| /' conftest.$ac_ext >&5 | 18036 | sed 's/^/| /' conftest.$ac_ext >&5 |
17127 | 18037 | ||
17128 | eval "$as_ac_var=no" | 18038 | eval "$as_ac_var=no" |
17129 | fi | 18039 | fi |
17130 | 18040 | ||
18041 | rm -rf conftest.dSYM | ||
17131 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 18042 | rm -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 |
17133 | fi | 18044 | fi |
17134 | ac_res=`eval echo '${'$as_ac_var'}'` | 18045 | ac_res=`eval 'as_val=${'$as_ac_var'} |
17135 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 18046 | $as_echo "$as_val"'` |
17136 | echo "${ECHO_T}$ac_res" >&6; } | 18047 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
17137 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 18048 | $as_echo "$ac_res" >&6; } |
18049 | if 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 | ||
17142 | fi | 18055 | fi |
@@ -17144,10 +18057,10 @@ done | |||
17144 | 18057 | ||
17145 | 18058 | ||
17146 | saved_LIBS="$LIBS" | 18059 | saved_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 |
17148 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } | 18061 | $as_echo_n "checking for ia_openinfo in -liaf... " >&6; } |
17149 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then | 18062 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then |
17150 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18063 | $as_echo_n "(cached) " >&6 |
17151 | else | 18064 | else |
17152 | ac_check_lib_save_LIBS=$LIBS | 18065 | ac_check_lib_save_LIBS=$LIBS |
17153 | LIBS="-liaf $LIBS" | 18066 | LIBS="-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;; |
17181 | esac | 18094 | esac |
17182 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18095 | eval 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 |
17195 | else | 18111 | else |
17196 | echo "$as_me: failed program was:" >&5 | 18112 | $as_echo "$as_me: failed program was:" >&5 |
17197 | sed 's/^/| /' conftest.$ac_ext >&5 | 18113 | sed 's/^/| /' conftest.$ac_ext >&5 |
17198 | 18114 | ||
17199 | ac_cv_lib_iaf_ia_openinfo=no | 18115 | ac_cv_lib_iaf_ia_openinfo=no |
17200 | fi | 18116 | fi |
17201 | 18117 | ||
18118 | rm -rf conftest.dSYM | ||
17202 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 18119 | rm -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 |
17204 | LIBS=$ac_check_lib_save_LIBS | 18121 | LIBS=$ac_check_lib_save_LIBS |
17205 | fi | 18122 | fi |
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 |
17207 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6; } | 18124 | $as_echo "$ac_cv_lib_iaf_ia_openinfo" >&6; } |
17208 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then | 18125 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then |
17209 | 18126 | ||
17210 | LIBS="$LIBS -liaf" | 18127 | LIBS="$LIBS -liaf" |
17211 | 18128 | ||
17212 | for ac_func in set_id | 18129 | for ac_func in set_id |
17213 | do | 18130 | do |
17214 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18131 | as_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 |
17216 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 18133 | $as_echo_n "checking for $ac_func... " >&6; } |
17217 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 18134 | if { 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 |
17219 | else | 18136 | else |
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;; |
17270 | esac | 18187 | esac |
17271 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18188 | eval 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" |
17284 | else | 18204 | else |
17285 | echo "$as_me: failed program was:" >&5 | 18205 | $as_echo "$as_me: failed program was:" >&5 |
17286 | sed 's/^/| /' conftest.$ac_ext >&5 | 18206 | sed 's/^/| /' conftest.$ac_ext >&5 |
17287 | 18207 | ||
17288 | eval "$as_ac_var=no" | 18208 | eval "$as_ac_var=no" |
17289 | fi | 18209 | fi |
17290 | 18210 | ||
18211 | rm -rf conftest.dSYM | ||
17291 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 18212 | rm -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 |
17293 | fi | 18214 | fi |
17294 | ac_res=`eval echo '${'$as_ac_var'}'` | 18215 | ac_res=`eval 'as_val=${'$as_ac_var'} |
17295 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 18216 | $as_echo "$as_val"'` |
17296 | echo "${ECHO_T}$ac_res" >&6; } | 18217 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
17297 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 18218 | $as_echo "$ac_res" >&6; } |
18219 | if 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 |
17320 | echo $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; } |
17321 | if test "$cross_compiling" = yes; then | 18244 | if 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 |
17324 | echo "$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;; |
17348 | esac | 18271 | esac |
17349 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18272 | eval 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;; |
17357 | esac | 18281 | esac |
17358 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18282 | eval 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 |
17366 | echo "${ECHO_T}yes" >&6; } | 18291 | $as_echo "yes" >&6; } |
17367 | 18292 | ||
17368 | else | 18293 | else |
17369 | echo "$as_me: program exited with status $ac_status" >&5 | 18294 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
17370 | echo "$as_me: failed program was:" >&5 | 18295 | $as_echo "$as_me: failed program was:" >&5 |
17371 | sed 's/^/| /' conftest.$ac_ext >&5 | 18296 | sed '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 |
17376 | echo "${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 | ||
17381 | fi | 18306 | fi |
18307 | rm -rf conftest.dSYM | ||
17382 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 18308 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
17383 | fi | 18309 | fi |
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 |
17397 | echo "$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 |
17404 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } | 18330 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
17405 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 18331 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
17406 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18332 | $as_echo_n "(cached) " >&6 |
17407 | else | 18333 | else |
17408 | ac_check_lib_save_LIBS=$LIBS | 18334 | ac_check_lib_save_LIBS=$LIBS |
17409 | LIBS="-ldl $LIBS" | 18335 | LIBS="-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;; |
17437 | esac | 18363 | esac |
17438 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18364 | eval 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 |
17451 | else | 18380 | else |
17452 | echo "$as_me: failed program was:" >&5 | 18381 | $as_echo "$as_me: failed program was:" >&5 |
17453 | sed 's/^/| /' conftest.$ac_ext >&5 | 18382 | sed 's/^/| /' conftest.$ac_ext >&5 |
17454 | 18383 | ||
17455 | ac_cv_lib_dl_dlopen=no | 18384 | ac_cv_lib_dl_dlopen=no |
17456 | fi | 18385 | fi |
17457 | 18386 | ||
18387 | rm -rf conftest.dSYM | ||
17458 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 18388 | rm -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 |
17460 | LIBS=$ac_check_lib_save_LIBS | 18390 | LIBS=$ac_check_lib_save_LIBS |
17461 | fi | 18391 | fi |
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 |
17463 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } | 18393 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
17464 | if test $ac_cv_lib_dl_dlopen = yes; then | 18394 | if 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 | |||
17471 | fi | 18401 | fi |
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 |
17475 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6; } | 18405 | $as_echo_n "checking for pam_set_item in -lpam... " >&6; } |
17476 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then | 18406 | if 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 |
17478 | else | 18408 | else |
17479 | ac_check_lib_save_LIBS=$LIBS | 18409 | ac_check_lib_save_LIBS=$LIBS |
17480 | LIBS="-lpam $LIBS" | 18410 | LIBS="-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;; |
17508 | esac | 18438 | esac |
17509 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18439 | eval 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 |
17522 | else | 18455 | else |
17523 | echo "$as_me: failed program was:" >&5 | 18456 | $as_echo "$as_me: failed program was:" >&5 |
17524 | sed 's/^/| /' conftest.$ac_ext >&5 | 18457 | sed '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 |
17527 | fi | 18460 | fi |
17528 | 18461 | ||
18462 | rm -rf conftest.dSYM | ||
17529 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 18463 | rm -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 |
17531 | LIBS=$ac_check_lib_save_LIBS | 18465 | LIBS=$ac_check_lib_save_LIBS |
17532 | fi | 18466 | fi |
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 |
17534 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6; } | 18468 | $as_echo "$ac_cv_lib_pam_pam_set_item" >&6; } |
17535 | if test $ac_cv_lib_pam_pam_set_item = yes; then | 18469 | if 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 | ||
17542 | else | 18476 | else |
17543 | { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | 18477 | { { $as_echo "$as_me:$LINENO: error: *** libpam missing" >&5 |
17544 | echo "$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; }; } |
17546 | fi | 18480 | fi |
17547 | 18481 | ||
17548 | 18482 | ||
17549 | for ac_func in pam_getenvlist | 18483 | for ac_func in pam_getenvlist |
17550 | do | 18484 | do |
17551 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18485 | as_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 |
17553 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 18487 | $as_echo_n "checking for $ac_func... " >&6; } |
17554 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 18488 | if { 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 |
17556 | else | 18490 | else |
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;; |
17607 | esac | 18541 | esac |
17608 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18542 | eval 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" |
17621 | else | 18558 | else |
17622 | echo "$as_me: failed program was:" >&5 | 18559 | $as_echo "$as_me: failed program was:" >&5 |
17623 | sed 's/^/| /' conftest.$ac_ext >&5 | 18560 | sed 's/^/| /' conftest.$ac_ext >&5 |
17624 | 18561 | ||
17625 | eval "$as_ac_var=no" | 18562 | eval "$as_ac_var=no" |
17626 | fi | 18563 | fi |
17627 | 18564 | ||
18565 | rm -rf conftest.dSYM | ||
17628 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 18566 | rm -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 |
17630 | fi | 18568 | fi |
17631 | ac_res=`eval echo '${'$as_ac_var'}'` | 18569 | ac_res=`eval 'as_val=${'$as_ac_var'} |
17632 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 18570 | $as_echo "$as_val"'` |
17633 | echo "${ECHO_T}$ac_res" >&6; } | 18571 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
17634 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 18572 | $as_echo "$ac_res" >&6; } |
18573 | if 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 | ||
17639 | fi | 18579 | fi |
@@ -17642,11 +18582,11 @@ done | |||
17642 | 18582 | ||
17643 | for ac_func in pam_putenv | 18583 | for ac_func in pam_putenv |
17644 | do | 18584 | do |
17645 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18585 | as_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 |
17647 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 18587 | $as_echo_n "checking for $ac_func... " >&6; } |
17648 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 18588 | if { 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 |
17650 | else | 18590 | else |
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;; |
17701 | esac | 18641 | esac |
17702 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18642 | eval 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" |
17715 | else | 18658 | else |
17716 | echo "$as_me: failed program was:" >&5 | 18659 | $as_echo "$as_me: failed program was:" >&5 |
17717 | sed 's/^/| /' conftest.$ac_ext >&5 | 18660 | sed 's/^/| /' conftest.$ac_ext >&5 |
17718 | 18661 | ||
17719 | eval "$as_ac_var=no" | 18662 | eval "$as_ac_var=no" |
17720 | fi | 18663 | fi |
17721 | 18664 | ||
18665 | rm -rf conftest.dSYM | ||
17722 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 18666 | rm -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 |
17724 | fi | 18668 | fi |
17725 | ac_res=`eval echo '${'$as_ac_var'}'` | 18669 | ac_res=`eval 'as_val=${'$as_ac_var'} |
17726 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 18670 | $as_echo "$as_val"'` |
17727 | echo "${ECHO_T}$ac_res" >&6; } | 18671 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
17728 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 18672 | $as_echo "$ac_res" >&6; } |
18673 | if 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 | ||
17733 | fi | 18679 | fi |
@@ -17763,8 +18709,8 @@ fi | |||
17763 | # Check for older PAM | 18709 | # Check for older PAM |
17764 | if test "x$PAM_MSG" = "xyes" ; then | 18710 | if 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 |
17767 | echo $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;; |
17795 | esac | 18741 | esac |
17796 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 18742 | eval 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 |
17808 | echo "${ECHO_T}no" >&6; } | 18755 | $as_echo "no" >&6; } |
17809 | else | 18756 | else |
17810 | echo "$as_me: failed program was:" >&5 | 18757 | $as_echo "$as_me: failed program was:" >&5 |
17811 | sed 's/^/| /' conftest.$ac_ext >&5 | 18758 | sed '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 |
17820 | echo "${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 |
17839 | echo "$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 |
17882 | echo "$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 |
17915 | echo "$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 |
17923 | echo "$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 |
17928 | echo "$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 |
17943 | echo $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 |
17957 | echo "${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 |
17960 | echo "${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. |
18025 | set dummy ls; ac_word=$2 | 18972 | set 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 |
18027 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 18974 | $as_echo_n "checking for $ac_word... " >&6; } |
18028 | if test "${ac_cv_path_PROG_LS+set}" = set; then | 18975 | if test "${ac_cv_path_PROG_LS+set}" = set; then |
18029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18976 | $as_echo_n "(cached) " >&6 |
18030 | else | 18977 | else |
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 |
18047 | done | 18994 | done |
@@ -18053,11 +19000,11 @@ esac | |||
18053 | fi | 19000 | fi |
18054 | PROG_LS=$ac_cv_path_PROG_LS | 19001 | PROG_LS=$ac_cv_path_PROG_LS |
18055 | if test -n "$PROG_LS"; then | 19002 | if test -n "$PROG_LS"; then |
18056 | { echo "$as_me:$LINENO: result: $PROG_LS" >&5 | 19003 | { $as_echo "$as_me:$LINENO: result: $PROG_LS" >&5 |
18057 | echo "${ECHO_T}$PROG_LS" >&6; } | 19004 | $as_echo "$PROG_LS" >&6; } |
18058 | else | 19005 | else |
18059 | { echo "$as_me:$LINENO: result: no" >&5 | 19006 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18060 | echo "${ECHO_T}no" >&6; } | 19007 | $as_echo "no" >&6; } |
18061 | fi | 19008 | fi |
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. |
18071 | set dummy netstat; ac_word=$2 | 19018 | set 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 |
18073 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19020 | $as_echo_n "checking for $ac_word... " >&6; } |
18074 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then | 19021 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then |
18075 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19022 | $as_echo_n "(cached) " >&6 |
18076 | else | 19023 | else |
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 |
18093 | done | 19040 | done |
@@ -18099,11 +19046,11 @@ esac | |||
18099 | fi | 19046 | fi |
18100 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT | 19047 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT |
18101 | if test -n "$PROG_NETSTAT"; then | 19048 | if test -n "$PROG_NETSTAT"; then |
18102 | { echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 | 19049 | { $as_echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 |
18103 | echo "${ECHO_T}$PROG_NETSTAT" >&6; } | 19050 | $as_echo "$PROG_NETSTAT" >&6; } |
18104 | else | 19051 | else |
18105 | { echo "$as_me:$LINENO: result: no" >&5 | 19052 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18106 | echo "${ECHO_T}no" >&6; } | 19053 | $as_echo "no" >&6; } |
18107 | fi | 19054 | fi |
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. |
18117 | set dummy arp; ac_word=$2 | 19064 | set 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 |
18119 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19066 | $as_echo_n "checking for $ac_word... " >&6; } |
18120 | if test "${ac_cv_path_PROG_ARP+set}" = set; then | 19067 | if test "${ac_cv_path_PROG_ARP+set}" = set; then |
18121 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19068 | $as_echo_n "(cached) " >&6 |
18122 | else | 19069 | else |
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 |
18139 | done | 19086 | done |
@@ -18145,11 +19092,11 @@ esac | |||
18145 | fi | 19092 | fi |
18146 | PROG_ARP=$ac_cv_path_PROG_ARP | 19093 | PROG_ARP=$ac_cv_path_PROG_ARP |
18147 | if test -n "$PROG_ARP"; then | 19094 | if test -n "$PROG_ARP"; then |
18148 | { echo "$as_me:$LINENO: result: $PROG_ARP" >&5 | 19095 | { $as_echo "$as_me:$LINENO: result: $PROG_ARP" >&5 |
18149 | echo "${ECHO_T}$PROG_ARP" >&6; } | 19096 | $as_echo "$PROG_ARP" >&6; } |
18150 | else | 19097 | else |
18151 | { echo "$as_me:$LINENO: result: no" >&5 | 19098 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18152 | echo "${ECHO_T}no" >&6; } | 19099 | $as_echo "no" >&6; } |
18153 | fi | 19100 | fi |
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. |
18163 | set dummy ifconfig; ac_word=$2 | 19110 | set 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 |
18165 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19112 | $as_echo_n "checking for $ac_word... " >&6; } |
18166 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then | 19113 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then |
18167 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19114 | $as_echo_n "(cached) " >&6 |
18168 | else | 19115 | else |
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 |
18185 | done | 19132 | done |
@@ -18191,11 +19138,11 @@ esac | |||
18191 | fi | 19138 | fi |
18192 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG | 19139 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG |
18193 | if test -n "$PROG_IFCONFIG"; then | 19140 | if test -n "$PROG_IFCONFIG"; then |
18194 | { echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 | 19141 | { $as_echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 |
18195 | echo "${ECHO_T}$PROG_IFCONFIG" >&6; } | 19142 | $as_echo "$PROG_IFCONFIG" >&6; } |
18196 | else | 19143 | else |
18197 | { echo "$as_me:$LINENO: result: no" >&5 | 19144 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18198 | echo "${ECHO_T}no" >&6; } | 19145 | $as_echo "no" >&6; } |
18199 | fi | 19146 | fi |
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. |
18209 | set dummy jstat; ac_word=$2 | 19156 | set 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 |
18211 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19158 | $as_echo_n "checking for $ac_word... " >&6; } |
18212 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then | 19159 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then |
18213 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19160 | $as_echo_n "(cached) " >&6 |
18214 | else | 19161 | else |
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 |
18231 | done | 19178 | done |
@@ -18237,11 +19184,11 @@ esac | |||
18237 | fi | 19184 | fi |
18238 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT | 19185 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT |
18239 | if test -n "$PROG_JSTAT"; then | 19186 | if test -n "$PROG_JSTAT"; then |
18240 | { echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 | 19187 | { $as_echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 |
18241 | echo "${ECHO_T}$PROG_JSTAT" >&6; } | 19188 | $as_echo "$PROG_JSTAT" >&6; } |
18242 | else | 19189 | else |
18243 | { echo "$as_me:$LINENO: result: no" >&5 | 19190 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18244 | echo "${ECHO_T}no" >&6; } | 19191 | $as_echo "no" >&6; } |
18245 | fi | 19192 | fi |
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. |
18255 | set dummy ps; ac_word=$2 | 19202 | set 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 |
18257 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19204 | $as_echo_n "checking for $ac_word... " >&6; } |
18258 | if test "${ac_cv_path_PROG_PS+set}" = set; then | 19205 | if test "${ac_cv_path_PROG_PS+set}" = set; then |
18259 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19206 | $as_echo_n "(cached) " >&6 |
18260 | else | 19207 | else |
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 |
18277 | done | 19224 | done |
@@ -18283,11 +19230,11 @@ esac | |||
18283 | fi | 19230 | fi |
18284 | PROG_PS=$ac_cv_path_PROG_PS | 19231 | PROG_PS=$ac_cv_path_PROG_PS |
18285 | if test -n "$PROG_PS"; then | 19232 | if test -n "$PROG_PS"; then |
18286 | { echo "$as_me:$LINENO: result: $PROG_PS" >&5 | 19233 | { $as_echo "$as_me:$LINENO: result: $PROG_PS" >&5 |
18287 | echo "${ECHO_T}$PROG_PS" >&6; } | 19234 | $as_echo "$PROG_PS" >&6; } |
18288 | else | 19235 | else |
18289 | { echo "$as_me:$LINENO: result: no" >&5 | 19236 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18290 | echo "${ECHO_T}no" >&6; } | 19237 | $as_echo "no" >&6; } |
18291 | fi | 19238 | fi |
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. |
18301 | set dummy sar; ac_word=$2 | 19248 | set 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 |
18303 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19250 | $as_echo_n "checking for $ac_word... " >&6; } |
18304 | if test "${ac_cv_path_PROG_SAR+set}" = set; then | 19251 | if test "${ac_cv_path_PROG_SAR+set}" = set; then |
18305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19252 | $as_echo_n "(cached) " >&6 |
18306 | else | 19253 | else |
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 |
18323 | done | 19270 | done |
@@ -18329,11 +19276,11 @@ esac | |||
18329 | fi | 19276 | fi |
18330 | PROG_SAR=$ac_cv_path_PROG_SAR | 19277 | PROG_SAR=$ac_cv_path_PROG_SAR |
18331 | if test -n "$PROG_SAR"; then | 19278 | if test -n "$PROG_SAR"; then |
18332 | { echo "$as_me:$LINENO: result: $PROG_SAR" >&5 | 19279 | { $as_echo "$as_me:$LINENO: result: $PROG_SAR" >&5 |
18333 | echo "${ECHO_T}$PROG_SAR" >&6; } | 19280 | $as_echo "$PROG_SAR" >&6; } |
18334 | else | 19281 | else |
18335 | { echo "$as_me:$LINENO: result: no" >&5 | 19282 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18336 | echo "${ECHO_T}no" >&6; } | 19283 | $as_echo "no" >&6; } |
18337 | fi | 19284 | fi |
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. |
18347 | set dummy w; ac_word=$2 | 19294 | set 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 |
18349 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19296 | $as_echo_n "checking for $ac_word... " >&6; } |
18350 | if test "${ac_cv_path_PROG_W+set}" = set; then | 19297 | if test "${ac_cv_path_PROG_W+set}" = set; then |
18351 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19298 | $as_echo_n "(cached) " >&6 |
18352 | else | 19299 | else |
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 |
18369 | done | 19316 | done |
@@ -18375,11 +19322,11 @@ esac | |||
18375 | fi | 19322 | fi |
18376 | PROG_W=$ac_cv_path_PROG_W | 19323 | PROG_W=$ac_cv_path_PROG_W |
18377 | if test -n "$PROG_W"; then | 19324 | if test -n "$PROG_W"; then |
18378 | { echo "$as_me:$LINENO: result: $PROG_W" >&5 | 19325 | { $as_echo "$as_me:$LINENO: result: $PROG_W" >&5 |
18379 | echo "${ECHO_T}$PROG_W" >&6; } | 19326 | $as_echo "$PROG_W" >&6; } |
18380 | else | 19327 | else |
18381 | { echo "$as_me:$LINENO: result: no" >&5 | 19328 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18382 | echo "${ECHO_T}no" >&6; } | 19329 | $as_echo "no" >&6; } |
18383 | fi | 19330 | fi |
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. |
18393 | set dummy who; ac_word=$2 | 19340 | set 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 |
18395 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19342 | $as_echo_n "checking for $ac_word... " >&6; } |
18396 | if test "${ac_cv_path_PROG_WHO+set}" = set; then | 19343 | if test "${ac_cv_path_PROG_WHO+set}" = set; then |
18397 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19344 | $as_echo_n "(cached) " >&6 |
18398 | else | 19345 | else |
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 |
18415 | done | 19362 | done |
@@ -18421,11 +19368,11 @@ esac | |||
18421 | fi | 19368 | fi |
18422 | PROG_WHO=$ac_cv_path_PROG_WHO | 19369 | PROG_WHO=$ac_cv_path_PROG_WHO |
18423 | if test -n "$PROG_WHO"; then | 19370 | if test -n "$PROG_WHO"; then |
18424 | { echo "$as_me:$LINENO: result: $PROG_WHO" >&5 | 19371 | { $as_echo "$as_me:$LINENO: result: $PROG_WHO" >&5 |
18425 | echo "${ECHO_T}$PROG_WHO" >&6; } | 19372 | $as_echo "$PROG_WHO" >&6; } |
18426 | else | 19373 | else |
18427 | { echo "$as_me:$LINENO: result: no" >&5 | 19374 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18428 | echo "${ECHO_T}no" >&6; } | 19375 | $as_echo "no" >&6; } |
18429 | fi | 19376 | fi |
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. |
18439 | set dummy last; ac_word=$2 | 19386 | set 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 |
18441 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19388 | $as_echo_n "checking for $ac_word... " >&6; } |
18442 | if test "${ac_cv_path_PROG_LAST+set}" = set; then | 19389 | if test "${ac_cv_path_PROG_LAST+set}" = set; then |
18443 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19390 | $as_echo_n "(cached) " >&6 |
18444 | else | 19391 | else |
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 |
18461 | done | 19408 | done |
@@ -18467,11 +19414,11 @@ esac | |||
18467 | fi | 19414 | fi |
18468 | PROG_LAST=$ac_cv_path_PROG_LAST | 19415 | PROG_LAST=$ac_cv_path_PROG_LAST |
18469 | if test -n "$PROG_LAST"; then | 19416 | if test -n "$PROG_LAST"; then |
18470 | { echo "$as_me:$LINENO: result: $PROG_LAST" >&5 | 19417 | { $as_echo "$as_me:$LINENO: result: $PROG_LAST" >&5 |
18471 | echo "${ECHO_T}$PROG_LAST" >&6; } | 19418 | $as_echo "$PROG_LAST" >&6; } |
18472 | else | 19419 | else |
18473 | { echo "$as_me:$LINENO: result: no" >&5 | 19420 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18474 | echo "${ECHO_T}no" >&6; } | 19421 | $as_echo "no" >&6; } |
18475 | fi | 19422 | fi |
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. |
18485 | set dummy lastlog; ac_word=$2 | 19432 | set 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 |
18487 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19434 | $as_echo_n "checking for $ac_word... " >&6; } |
18488 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then | 19435 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then |
18489 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19436 | $as_echo_n "(cached) " >&6 |
18490 | else | 19437 | else |
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 |
18507 | done | 19454 | done |
@@ -18513,11 +19460,11 @@ esac | |||
18513 | fi | 19460 | fi |
18514 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG | 19461 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG |
18515 | if test -n "$PROG_LASTLOG"; then | 19462 | if test -n "$PROG_LASTLOG"; then |
18516 | { echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 | 19463 | { $as_echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 |
18517 | echo "${ECHO_T}$PROG_LASTLOG" >&6; } | 19464 | $as_echo "$PROG_LASTLOG" >&6; } |
18518 | else | 19465 | else |
18519 | { echo "$as_me:$LINENO: result: no" >&5 | 19466 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18520 | echo "${ECHO_T}no" >&6; } | 19467 | $as_echo "no" >&6; } |
18521 | fi | 19468 | fi |
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. |
18531 | set dummy df; ac_word=$2 | 19478 | set 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 |
18533 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19480 | $as_echo_n "checking for $ac_word... " >&6; } |
18534 | if test "${ac_cv_path_PROG_DF+set}" = set; then | 19481 | if test "${ac_cv_path_PROG_DF+set}" = set; then |
18535 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19482 | $as_echo_n "(cached) " >&6 |
18536 | else | 19483 | else |
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 |
18553 | done | 19500 | done |
@@ -18559,11 +19506,11 @@ esac | |||
18559 | fi | 19506 | fi |
18560 | PROG_DF=$ac_cv_path_PROG_DF | 19507 | PROG_DF=$ac_cv_path_PROG_DF |
18561 | if test -n "$PROG_DF"; then | 19508 | if test -n "$PROG_DF"; then |
18562 | { echo "$as_me:$LINENO: result: $PROG_DF" >&5 | 19509 | { $as_echo "$as_me:$LINENO: result: $PROG_DF" >&5 |
18563 | echo "${ECHO_T}$PROG_DF" >&6; } | 19510 | $as_echo "$PROG_DF" >&6; } |
18564 | else | 19511 | else |
18565 | { echo "$as_me:$LINENO: result: no" >&5 | 19512 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18566 | echo "${ECHO_T}no" >&6; } | 19513 | $as_echo "no" >&6; } |
18567 | fi | 19514 | fi |
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. |
18577 | set dummy vmstat; ac_word=$2 | 19524 | set 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 |
18579 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19526 | $as_echo_n "checking for $ac_word... " >&6; } |
18580 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then | 19527 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then |
18581 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19528 | $as_echo_n "(cached) " >&6 |
18582 | else | 19529 | else |
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 |
18599 | done | 19546 | done |
@@ -18605,11 +19552,11 @@ esac | |||
18605 | fi | 19552 | fi |
18606 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT | 19553 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT |
18607 | if test -n "$PROG_VMSTAT"; then | 19554 | if test -n "$PROG_VMSTAT"; then |
18608 | { echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 | 19555 | { $as_echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 |
18609 | echo "${ECHO_T}$PROG_VMSTAT" >&6; } | 19556 | $as_echo "$PROG_VMSTAT" >&6; } |
18610 | else | 19557 | else |
18611 | { echo "$as_me:$LINENO: result: no" >&5 | 19558 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18612 | echo "${ECHO_T}no" >&6; } | 19559 | $as_echo "no" >&6; } |
18613 | fi | 19560 | fi |
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. |
18623 | set dummy uptime; ac_word=$2 | 19570 | set 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 |
18625 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19572 | $as_echo_n "checking for $ac_word... " >&6; } |
18626 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then | 19573 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then |
18627 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19574 | $as_echo_n "(cached) " >&6 |
18628 | else | 19575 | else |
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 |
18645 | done | 19592 | done |
@@ -18651,11 +19598,11 @@ esac | |||
18651 | fi | 19598 | fi |
18652 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME | 19599 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME |
18653 | if test -n "$PROG_UPTIME"; then | 19600 | if test -n "$PROG_UPTIME"; then |
18654 | { echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 | 19601 | { $as_echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 |
18655 | echo "${ECHO_T}$PROG_UPTIME" >&6; } | 19602 | $as_echo "$PROG_UPTIME" >&6; } |
18656 | else | 19603 | else |
18657 | { echo "$as_me:$LINENO: result: no" >&5 | 19604 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18658 | echo "${ECHO_T}no" >&6; } | 19605 | $as_echo "no" >&6; } |
18659 | fi | 19606 | fi |
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. |
18669 | set dummy ipcs; ac_word=$2 | 19616 | set 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 |
18671 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19618 | $as_echo_n "checking for $ac_word... " >&6; } |
18672 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then | 19619 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then |
18673 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19620 | $as_echo_n "(cached) " >&6 |
18674 | else | 19621 | else |
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 |
18691 | done | 19638 | done |
@@ -18697,11 +19644,11 @@ esac | |||
18697 | fi | 19644 | fi |
18698 | PROG_IPCS=$ac_cv_path_PROG_IPCS | 19645 | PROG_IPCS=$ac_cv_path_PROG_IPCS |
18699 | if test -n "$PROG_IPCS"; then | 19646 | if test -n "$PROG_IPCS"; then |
18700 | { echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 | 19647 | { $as_echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 |
18701 | echo "${ECHO_T}$PROG_IPCS" >&6; } | 19648 | $as_echo "$PROG_IPCS" >&6; } |
18702 | else | 19649 | else |
18703 | { echo "$as_me:$LINENO: result: no" >&5 | 19650 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18704 | echo "${ECHO_T}no" >&6; } | 19651 | $as_echo "no" >&6; } |
18705 | fi | 19652 | fi |
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. |
18715 | set dummy tail; ac_word=$2 | 19662 | set 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 |
18717 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 19664 | $as_echo_n "checking for $ac_word... " >&6; } |
18718 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then | 19665 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then |
18719 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19666 | $as_echo_n "(cached) " >&6 |
18720 | else | 19667 | else |
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 |
18737 | done | 19684 | done |
@@ -18743,11 +19690,11 @@ esac | |||
18743 | fi | 19690 | fi |
18744 | PROG_TAIL=$ac_cv_path_PROG_TAIL | 19691 | PROG_TAIL=$ac_cv_path_PROG_TAIL |
18745 | if test -n "$PROG_TAIL"; then | 19692 | if test -n "$PROG_TAIL"; then |
18746 | { echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 | 19693 | { $as_echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 |
18747 | echo "${ECHO_T}$PROG_TAIL" >&6; } | 19694 | $as_echo "$PROG_TAIL" >&6; } |
18748 | else | 19695 | else |
18749 | { echo "$as_me:$LINENO: result: no" >&5 | 19696 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
18750 | echo "${ECHO_T}no" >&6; } | 19697 | $as_echo "no" >&6; } |
18751 | fi | 19698 | fi |
18752 | 19699 | ||
18753 | 19700 | ||
@@ -18781,26 +19728,58 @@ if test ! -z "$SONY" ; then | |||
18781 | fi | 19728 | fi |
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 |
18785 | echo $ECHO_N "checking for long long... $ECHO_C" >&6; } | 19732 | $as_echo_n "checking for long long... " >&6; } |
18786 | if test "${ac_cv_type_long_long+set}" = set; then | 19733 | if test "${ac_cv_type_long_long+set}" = set; then |
18787 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19734 | $as_echo_n "(cached) " >&6 |
18788 | else | 19735 | else |
18789 | cat >conftest.$ac_ext <<_ACEOF | 19736 | ac_cv_type_long_long=no |
19737 | cat >conftest.$ac_ext <<_ACEOF | ||
18790 | /* confdefs.h. */ | 19738 | /* confdefs.h. */ |
18791 | _ACEOF | 19739 | _ACEOF |
18792 | cat confdefs.h >>conftest.$ac_ext | 19740 | cat confdefs.h >>conftest.$ac_ext |
18793 | cat >>conftest.$ac_ext <<_ACEOF | 19741 | cat >>conftest.$ac_ext <<_ACEOF |
18794 | /* end confdefs.h. */ | 19742 | /* end confdefs.h. */ |
18795 | $ac_includes_default | 19743 | $ac_includes_default |
18796 | typedef long long ac__type_new_; | ||
18797 | int | 19744 | int |
18798 | main () | 19745 | main () |
18799 | { | 19746 | { |
18800 | if ((ac__type_new_ *) 0) | 19747 | if (sizeof (long long)) |
18801 | return 0; | 19748 | return 0; |
18802 | if (sizeof (ac__type_new_)) | 19749 | ; |
18803 | return 0; | 19750 | return 0; |
19751 | } | ||
19752 | _ACEOF | ||
19753 | rm -f conftest.$ac_objext | ||
19754 | if { (ac_try="$ac_compile" | ||
19755 | case "(($ac_try" in | ||
19756 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19757 | *) ac_try_echo=$ac_try;; | ||
19758 | esac | ||
19759 | eval 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 | ||
19774 | cat confdefs.h >>conftest.$ac_ext | ||
19775 | cat >>conftest.$ac_ext <<_ACEOF | ||
19776 | /* end confdefs.h. */ | ||
19777 | $ac_includes_default | ||
19778 | int | ||
19779 | main () | ||
19780 | { | ||
19781 | if (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;; |
18813 | esac | 19792 | esac |
18814 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 19793 | eval 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 | : |
18826 | else | 19806 | else |
18827 | echo "$as_me: failed program was:" >&5 | 19807 | $as_echo "$as_me: failed program was:" >&5 |
18828 | sed 's/^/| /' conftest.$ac_ext >&5 | 19808 | sed 's/^/| /' conftest.$ac_ext >&5 |
18829 | 19809 | ||
18830 | ac_cv_type_long_long=no | 19810 | ac_cv_type_long_long=yes |
19811 | fi | ||
19812 | |||
19813 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19814 | else | ||
19815 | $as_echo "$as_me: failed program was:" >&5 | ||
19816 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19817 | |||
19818 | |||
18831 | fi | 19819 | fi |
18832 | 19820 | ||
18833 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 19821 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18834 | fi | 19822 | fi |
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 |
18836 | echo "${ECHO_T}$ac_cv_type_long_long" >&6; } | 19824 | $as_echo "$ac_cv_type_long_long" >&6; } |
18837 | if test $ac_cv_type_long_long = yes; then | 19825 | if test $ac_cv_type_long_long = yes; then |
18838 | 19826 | ||
18839 | cat >>confdefs.h <<_ACEOF | 19827 | cat >>confdefs.h <<_ACEOF |
@@ -18842,26 +19830,58 @@ _ACEOF | |||
18842 | 19830 | ||
18843 | 19831 | ||
18844 | fi | 19832 | fi |
18845 | { echo "$as_me:$LINENO: checking for unsigned long long" >&5 | 19833 | { $as_echo "$as_me:$LINENO: checking for unsigned long long" >&5 |
18846 | echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; } | 19834 | $as_echo_n "checking for unsigned long long... " >&6; } |
18847 | if test "${ac_cv_type_unsigned_long_long+set}" = set; then | 19835 | if test "${ac_cv_type_unsigned_long_long+set}" = set; then |
18848 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19836 | $as_echo_n "(cached) " >&6 |
18849 | else | 19837 | else |
18850 | cat >conftest.$ac_ext <<_ACEOF | 19838 | ac_cv_type_unsigned_long_long=no |
19839 | cat >conftest.$ac_ext <<_ACEOF | ||
18851 | /* confdefs.h. */ | 19840 | /* confdefs.h. */ |
18852 | _ACEOF | 19841 | _ACEOF |
18853 | cat confdefs.h >>conftest.$ac_ext | 19842 | cat confdefs.h >>conftest.$ac_ext |
18854 | cat >>conftest.$ac_ext <<_ACEOF | 19843 | cat >>conftest.$ac_ext <<_ACEOF |
18855 | /* end confdefs.h. */ | 19844 | /* end confdefs.h. */ |
18856 | $ac_includes_default | 19845 | $ac_includes_default |
18857 | typedef unsigned long long ac__type_new_; | ||
18858 | int | 19846 | int |
18859 | main () | 19847 | main () |
18860 | { | 19848 | { |
18861 | if ((ac__type_new_ *) 0) | 19849 | if (sizeof (unsigned long long)) |
18862 | return 0; | 19850 | return 0; |
18863 | if (sizeof (ac__type_new_)) | 19851 | ; |
18864 | return 0; | 19852 | return 0; |
19853 | } | ||
19854 | _ACEOF | ||
19855 | rm -f conftest.$ac_objext | ||
19856 | if { (ac_try="$ac_compile" | ||
19857 | case "(($ac_try" in | ||
19858 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19859 | *) ac_try_echo=$ac_try;; | ||
19860 | esac | ||
19861 | eval 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 | ||
19876 | cat confdefs.h >>conftest.$ac_ext | ||
19877 | cat >>conftest.$ac_ext <<_ACEOF | ||
19878 | /* end confdefs.h. */ | ||
19879 | $ac_includes_default | ||
19880 | int | ||
19881 | main () | ||
19882 | { | ||
19883 | if (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;; |
18874 | esac | 19894 | esac |
18875 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 19895 | eval 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 | : |
18887 | else | 19908 | else |
18888 | echo "$as_me: failed program was:" >&5 | 19909 | $as_echo "$as_me: failed program was:" >&5 |
18889 | sed 's/^/| /' conftest.$ac_ext >&5 | 19910 | sed 's/^/| /' conftest.$ac_ext >&5 |
18890 | 19911 | ||
18891 | ac_cv_type_unsigned_long_long=no | 19912 | ac_cv_type_unsigned_long_long=yes |
19913 | fi | ||
19914 | |||
19915 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19916 | else | ||
19917 | $as_echo "$as_me: failed program was:" >&5 | ||
19918 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19919 | |||
19920 | |||
18892 | fi | 19921 | fi |
18893 | 19922 | ||
18894 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 19923 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18895 | fi | 19924 | fi |
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 |
18897 | echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; } | 19926 | $as_echo "$ac_cv_type_unsigned_long_long" >&6; } |
18898 | if test $ac_cv_type_unsigned_long_long = yes; then | 19927 | if test $ac_cv_type_unsigned_long_long = yes; then |
18899 | 19928 | ||
18900 | cat >>confdefs.h <<_ACEOF | 19929 | cat >>confdefs.h <<_ACEOF |
@@ -18903,26 +19932,24 @@ _ACEOF | |||
18903 | 19932 | ||
18904 | 19933 | ||
18905 | fi | 19934 | fi |
18906 | { echo "$as_me:$LINENO: checking for long double" >&5 | 19935 | { $as_echo "$as_me:$LINENO: checking for long double" >&5 |
18907 | echo $ECHO_N "checking for long double... $ECHO_C" >&6; } | 19936 | $as_echo_n "checking for long double... " >&6; } |
18908 | if test "${ac_cv_type_long_double+set}" = set; then | 19937 | if test "${ac_cv_type_long_double+set}" = set; then |
18909 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19938 | $as_echo_n "(cached) " >&6 |
18910 | else | 19939 | else |
18911 | cat >conftest.$ac_ext <<_ACEOF | 19940 | ac_cv_type_long_double=no |
19941 | cat >conftest.$ac_ext <<_ACEOF | ||
18912 | /* confdefs.h. */ | 19942 | /* confdefs.h. */ |
18913 | _ACEOF | 19943 | _ACEOF |
18914 | cat confdefs.h >>conftest.$ac_ext | 19944 | cat confdefs.h >>conftest.$ac_ext |
18915 | cat >>conftest.$ac_ext <<_ACEOF | 19945 | cat >>conftest.$ac_ext <<_ACEOF |
18916 | /* end confdefs.h. */ | 19946 | /* end confdefs.h. */ |
18917 | $ac_includes_default | 19947 | $ac_includes_default |
18918 | typedef long double ac__type_new_; | ||
18919 | int | 19948 | int |
18920 | main () | 19949 | main () |
18921 | { | 19950 | { |
18922 | if ((ac__type_new_ *) 0) | 19951 | if (sizeof (long double)) |
18923 | return 0; | 19952 | return 0; |
18924 | if (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;; |
18935 | esac | 19962 | esac |
18936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 19963 | eval 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 | ||
18948 | else | ||
18949 | echo "$as_me: failed program was:" >&5 | ||
18950 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18951 | |||
18952 | ac_cv_type_long_double=no | ||
18953 | fi | ||
18954 | |||
18955 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18956 | fi | ||
18957 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 | ||
18958 | echo "${ECHO_T}$ac_cv_type_long_double" >&6; } | ||
18959 | if test $ac_cv_type_long_double = yes; then | ||
18960 | |||
18961 | cat >>confdefs.h <<_ACEOF | ||
18962 | #define HAVE_LONG_DOUBLE 1 | ||
18963 | _ACEOF | ||
18964 | |||
18965 | |||
18966 | fi | ||
18967 | |||
18968 | |||
18969 | # Check datatype sizes | ||
18970 | { echo "$as_me:$LINENO: checking for char" >&5 | ||
18971 | echo $ECHO_N "checking for char... $ECHO_C" >&6; } | ||
18972 | if test "${ac_cv_type_char+set}" = set; then | ||
18973 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18974 | else | ||
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 | |||
18979 | cat >>conftest.$ac_ext <<_ACEOF | 19979 | cat >>conftest.$ac_ext <<_ACEOF |
18980 | /* end confdefs.h. */ | 19980 | /* end confdefs.h. */ |
18981 | $ac_includes_default | 19981 | $ac_includes_default |
18982 | typedef char ac__type_new_; | ||
18983 | int | 19982 | int |
18984 | main () | 19983 | main () |
18985 | { | 19984 | { |
18986 | if ((ac__type_new_ *) 0) | 19985 | if (sizeof ((long double))) |
18987 | return 0; | 19986 | return 0; |
18988 | if (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;; |
18999 | esac | 19996 | esac |
19000 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 19997 | eval 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 | : |
19012 | else | 20010 | else |
19013 | echo "$as_me: failed program was:" >&5 | 20011 | $as_echo "$as_me: failed program was:" >&5 |
19014 | sed 's/^/| /' conftest.$ac_ext >&5 | 20012 | sed 's/^/| /' conftest.$ac_ext >&5 |
19015 | 20013 | ||
19016 | ac_cv_type_char=no | 20014 | ac_cv_type_long_double=yes |
19017 | fi | 20015 | fi |
19018 | 20016 | ||
19019 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20017 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20018 | else | ||
20019 | $as_echo "$as_me: failed program was:" >&5 | ||
20020 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20021 | |||
20022 | |||
20023 | fi | ||
20024 | |||
20025 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20026 | fi | ||
20027 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 | ||
20028 | $as_echo "$ac_cv_type_long_double" >&6; } | ||
20029 | if test $ac_cv_type_long_double = yes; then | ||
20030 | |||
20031 | cat >>confdefs.h <<_ACEOF | ||
20032 | #define HAVE_LONG_DOUBLE 1 | ||
20033 | _ACEOF | ||
20034 | |||
20035 | |||
19020 | fi | 20036 | fi |
19021 | { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 | ||
19022 | echo "${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 |
19029 | echo $ECHO_N "checking size of char... $ECHO_C" >&6; } | 20045 | $as_echo_n "checking size of char... " >&6; } |
19030 | if test "${ac_cv_sizeof_char+set}" = set; then | 20046 | if test "${ac_cv_sizeof_char+set}" = set; then |
19031 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20047 | $as_echo_n "(cached) " >&6 |
19032 | else | 20048 | else |
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 | |||
19039 | cat >>conftest.$ac_ext <<_ACEOF | 20055 | cat >>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_; | ||
19043 | int | 20058 | int |
19044 | main () | 20059 | main () |
19045 | { | 20060 | { |
19046 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | 20061 | static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)]; |
19047 | test_array [0] = 0 | 20062 | test_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;; |
19058 | esac | 20073 | esac |
19059 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20074 | eval 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 | |||
19076 | cat >>conftest.$ac_ext <<_ACEOF | 20092 | cat >>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_; | ||
19080 | int | 20095 | int |
19081 | main () | 20096 | main () |
19082 | { | 20097 | { |
19083 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 20098 | static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)]; |
19084 | test_array [0] = 0 | 20099 | test_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;; |
19095 | esac | 20110 | esac |
19096 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20111 | eval 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 |
19108 | else | 20124 | else |
19109 | echo "$as_me: failed program was:" >&5 | 20125 | $as_echo "$as_me: failed program was:" >&5 |
19110 | sed 's/^/| /' conftest.$ac_ext >&5 | 20126 | sed '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 | |||
19120 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20136 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19121 | done | 20137 | done |
19122 | else | 20138 | else |
19123 | echo "$as_me: failed program was:" >&5 | 20139 | $as_echo "$as_me: failed program was:" >&5 |
19124 | sed 's/^/| /' conftest.$ac_ext >&5 | 20140 | sed '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 | |||
19130 | cat >>conftest.$ac_ext <<_ACEOF | 20146 | cat >>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_; | ||
19134 | int | 20149 | int |
19135 | main () | 20150 | main () |
19136 | { | 20151 | { |
19137 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | 20152 | static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)]; |
19138 | test_array [0] = 0 | 20153 | test_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;; |
19149 | esac | 20164 | esac |
19150 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20165 | eval 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 | |||
19167 | cat >>conftest.$ac_ext <<_ACEOF | 20183 | cat >>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_; | ||
19171 | int | 20186 | int |
19172 | main () | 20187 | main () |
19173 | { | 20188 | { |
19174 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | 20189 | static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)]; |
19175 | test_array [0] = 0 | 20190 | test_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;; |
19186 | esac | 20201 | esac |
19187 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20202 | eval 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 |
19199 | else | 20215 | else |
19200 | echo "$as_me: failed program was:" >&5 | 20216 | $as_echo "$as_me: failed program was:" >&5 |
19201 | sed 's/^/| /' conftest.$ac_ext >&5 | 20217 | sed '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 | |||
19211 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20227 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19212 | done | 20228 | done |
19213 | else | 20229 | else |
19214 | echo "$as_me: failed program was:" >&5 | 20230 | $as_echo "$as_me: failed program was:" >&5 |
19215 | sed 's/^/| /' conftest.$ac_ext >&5 | 20231 | sed '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 | |||
19231 | cat >>conftest.$ac_ext <<_ACEOF | 20247 | cat >>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_; | ||
19235 | int | 20250 | int |
19236 | main () | 20251 | main () |
19237 | { | 20252 | { |
19238 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 20253 | static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)]; |
19239 | test_array [0] = 0 | 20254 | test_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;; |
19250 | esac | 20265 | esac |
19251 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20266 | eval 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 |
19263 | else | 20279 | else |
19264 | echo "$as_me: failed program was:" >&5 | 20280 | $as_echo "$as_me: failed program was:" >&5 |
19265 | sed 's/^/| /' conftest.$ac_ext >&5 | 20281 | sed '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 | |||
19272 | case $ac_lo in | 20288 | case $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) |
19276 | See \`config.log' for more details." >&5 | 20292 | See \`config.log' for more details." >&5 |
19277 | echo "$as_me: error: cannot compute sizeof (char) | 20293 | $as_echo "$as_me: error: cannot compute sizeof (char) |
19278 | See \`config.log' for more details." >&2;} | 20294 | See \`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 | |||
19289 | cat >>conftest.$ac_ext <<_ACEOF | 20305 | cat >>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_; | 20308 | static long int longval () { return (long int) (sizeof (char)); } |
19293 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | 20309 | static unsigned long int ulongval () { return (long int) (sizeof (char)); } |
19294 | static 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> |
19297 | int | 20312 | int |
@@ -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;; |
19329 | esac | 20346 | esac |
19330 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20347 | eval 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;; |
19338 | esac | 20356 | esac |
19339 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20357 | eval 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` |
19345 | else | 20364 | else |
19346 | echo "$as_me: program exited with status $ac_status" >&5 | 20365 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
19347 | echo "$as_me: failed program was:" >&5 | 20366 | $as_echo "$as_me: failed program was:" >&5 |
19348 | sed 's/^/| /' conftest.$ac_ext >&5 | 20367 | sed 's/^/| /' conftest.$ac_ext >&5 |
19349 | 20368 | ||
19350 | ( exit $ac_status ) | 20369 | ( exit $ac_status ) |
19351 | if test "$ac_cv_type_char" = yes; then | 20370 | if 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) |
19353 | See \`config.log' for more details." >&5 | 20372 | See \`config.log' for more details." >&5 |
19354 | echo "$as_me: error: cannot compute sizeof (char) | 20373 | $as_echo "$as_me: error: cannot compute sizeof (char) |
19355 | See \`config.log' for more details." >&2;} | 20374 | See \`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 |
19360 | fi | 20379 | fi |
20380 | rm -rf conftest.dSYM | ||
19361 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20381 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
19362 | fi | 20382 | fi |
19363 | rm -f conftest.val | 20383 | rm -f conftest.val |
19364 | fi | 20384 | fi |
19365 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 | 20385 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
19366 | echo "${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 | ||
19376 | echo $ECHO_N "checking for short int... $ECHO_C" >&6; } | ||
19377 | if test "${ac_cv_type_short_int+set}" = set; then | ||
19378 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19379 | else | ||
19380 | cat >conftest.$ac_ext <<_ACEOF | ||
19381 | /* confdefs.h. */ | ||
19382 | _ACEOF | ||
19383 | cat confdefs.h >>conftest.$ac_ext | ||
19384 | cat >>conftest.$ac_ext <<_ACEOF | ||
19385 | /* end confdefs.h. */ | ||
19386 | $ac_includes_default | ||
19387 | typedef short int ac__type_new_; | ||
19388 | int | ||
19389 | main () | ||
19390 | { | ||
19391 | if ((ac__type_new_ *) 0) | ||
19392 | return 0; | ||
19393 | if (sizeof (ac__type_new_)) | ||
19394 | return 0; | ||
19395 | ; | ||
19396 | return 0; | ||
19397 | } | ||
19398 | _ACEOF | ||
19399 | rm -f conftest.$ac_objext | ||
19400 | if { (ac_try="$ac_compile" | ||
19401 | case "(($ac_try" in | ||
19402 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19403 | *) ac_try_echo=$ac_try;; | ||
19404 | esac | ||
19405 | eval "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 | ||
19417 | else | ||
19418 | echo "$as_me: failed program was:" >&5 | ||
19419 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19420 | |||
19421 | ac_cv_type_short_int=no | ||
19422 | fi | ||
19423 | |||
19424 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19425 | fi | ||
19426 | { echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5 | ||
19427 | echo "${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 |
19434 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6; } | 20400 | $as_echo_n "checking size of short int... " >&6; } |
19435 | if test "${ac_cv_sizeof_short_int+set}" = set; then | 20401 | if test "${ac_cv_sizeof_short_int+set}" = set; then |
19436 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20402 | $as_echo_n "(cached) " >&6 |
19437 | else | 20403 | else |
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 | |||
19444 | cat >>conftest.$ac_ext <<_ACEOF | 20410 | cat >>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_; | ||
19448 | int | 20413 | int |
19449 | main () | 20414 | main () |
19450 | { | 20415 | { |
19451 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | 20416 | static int test_array [1 - 2 * !(((long int) (sizeof (short int))) >= 0)]; |
19452 | test_array [0] = 0 | 20417 | test_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;; |
19463 | esac | 20428 | esac |
19464 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20429 | eval 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 | |||
19481 | cat >>conftest.$ac_ext <<_ACEOF | 20447 | cat >>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_; | ||
19485 | int | 20450 | int |
19486 | main () | 20451 | main () |
19487 | { | 20452 | { |
19488 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 20453 | static int test_array [1 - 2 * !(((long int) (sizeof (short int))) <= $ac_mid)]; |
19489 | test_array [0] = 0 | 20454 | test_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;; |
19500 | esac | 20465 | esac |
19501 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20466 | eval 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 |
19513 | else | 20479 | else |
19514 | echo "$as_me: failed program was:" >&5 | 20480 | $as_echo "$as_me: failed program was:" >&5 |
19515 | sed 's/^/| /' conftest.$ac_ext >&5 | 20481 | sed '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 | |||
19525 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20491 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19526 | done | 20492 | done |
19527 | else | 20493 | else |
19528 | echo "$as_me: failed program was:" >&5 | 20494 | $as_echo "$as_me: failed program was:" >&5 |
19529 | sed 's/^/| /' conftest.$ac_ext >&5 | 20495 | sed '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 | |||
19535 | cat >>conftest.$ac_ext <<_ACEOF | 20501 | cat >>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_; | ||
19539 | int | 20504 | int |
19540 | main () | 20505 | main () |
19541 | { | 20506 | { |
19542 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | 20507 | static int test_array [1 - 2 * !(((long int) (sizeof (short int))) < 0)]; |
19543 | test_array [0] = 0 | 20508 | test_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;; |
19554 | esac | 20519 | esac |
19555 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20520 | eval 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 | |||
19572 | cat >>conftest.$ac_ext <<_ACEOF | 20538 | cat >>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_; | ||
19576 | int | 20541 | int |
19577 | main () | 20542 | main () |
19578 | { | 20543 | { |
19579 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | 20544 | static int test_array [1 - 2 * !(((long int) (sizeof (short int))) >= $ac_mid)]; |
19580 | test_array [0] = 0 | 20545 | test_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;; |
19591 | esac | 20556 | esac |
19592 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20557 | eval 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 |
19604 | else | 20570 | else |
19605 | echo "$as_me: failed program was:" >&5 | 20571 | $as_echo "$as_me: failed program was:" >&5 |
19606 | sed 's/^/| /' conftest.$ac_ext >&5 | 20572 | sed '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 | |||
19616 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20582 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19617 | done | 20583 | done |
19618 | else | 20584 | else |
19619 | echo "$as_me: failed program was:" >&5 | 20585 | $as_echo "$as_me: failed program was:" >&5 |
19620 | sed 's/^/| /' conftest.$ac_ext >&5 | 20586 | sed '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 | |||
19636 | cat >>conftest.$ac_ext <<_ACEOF | 20602 | cat >>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_; | ||
19640 | int | 20605 | int |
19641 | main () | 20606 | main () |
19642 | { | 20607 | { |
19643 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 20608 | static int test_array [1 - 2 * !(((long int) (sizeof (short int))) <= $ac_mid)]; |
19644 | test_array [0] = 0 | 20609 | test_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;; |
19655 | esac | 20620 | esac |
19656 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20621 | eval 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 |
19668 | else | 20634 | else |
19669 | echo "$as_me: failed program was:" >&5 | 20635 | $as_echo "$as_me: failed program was:" >&5 |
19670 | sed 's/^/| /' conftest.$ac_ext >&5 | 20636 | sed '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 | |||
19677 | case $ac_lo in | 20643 | case $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) |
19681 | See \`config.log' for more details." >&5 | 20647 | See \`config.log' for more details." >&5 |
19682 | echo "$as_me: error: cannot compute sizeof (short int) | 20648 | $as_echo "$as_me: error: cannot compute sizeof (short int) |
19683 | See \`config.log' for more details." >&2;} | 20649 | See \`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 | |||
19694 | cat >>conftest.$ac_ext <<_ACEOF | 20660 | cat >>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_; | 20663 | static long int longval () { return (long int) (sizeof (short int)); } |
19698 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | 20664 | static unsigned long int ulongval () { return (long int) (sizeof (short int)); } |
19699 | static 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> |
19702 | int | 20667 | int |
@@ -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;; |
19734 | esac | 20701 | esac |
19735 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20702 | eval 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;; |
19743 | esac | 20711 | esac |
19744 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20712 | eval 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` |
19750 | else | 20719 | else |
19751 | echo "$as_me: program exited with status $ac_status" >&5 | 20720 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
19752 | echo "$as_me: failed program was:" >&5 | 20721 | $as_echo "$as_me: failed program was:" >&5 |
19753 | sed 's/^/| /' conftest.$ac_ext >&5 | 20722 | sed 's/^/| /' conftest.$ac_ext >&5 |
19754 | 20723 | ||
19755 | ( exit $ac_status ) | 20724 | ( exit $ac_status ) |
19756 | if test "$ac_cv_type_short_int" = yes; then | 20725 | if 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) |
19758 | See \`config.log' for more details." >&5 | 20727 | See \`config.log' for more details." >&5 |
19759 | echo "$as_me: error: cannot compute sizeof (short int) | 20728 | $as_echo "$as_me: error: cannot compute sizeof (short int) |
19760 | See \`config.log' for more details." >&2;} | 20729 | See \`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 |
19765 | fi | 20734 | fi |
20735 | rm -rf conftest.dSYM | ||
19766 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20736 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
19767 | fi | 20737 | fi |
19768 | rm -f conftest.val | 20738 | rm -f conftest.val |
19769 | fi | 20739 | fi |
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 |
19771 | echo "${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 | ||
19781 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } | ||
19782 | if test "${ac_cv_type_int+set}" = set; then | ||
19783 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19784 | else | ||
19785 | cat >conftest.$ac_ext <<_ACEOF | ||
19786 | /* confdefs.h. */ | ||
19787 | _ACEOF | ||
19788 | cat confdefs.h >>conftest.$ac_ext | ||
19789 | cat >>conftest.$ac_ext <<_ACEOF | ||
19790 | /* end confdefs.h. */ | ||
19791 | $ac_includes_default | ||
19792 | typedef int ac__type_new_; | ||
19793 | int | ||
19794 | main () | ||
19795 | { | ||
19796 | if ((ac__type_new_ *) 0) | ||
19797 | return 0; | ||
19798 | if (sizeof (ac__type_new_)) | ||
19799 | return 0; | ||
19800 | ; | ||
19801 | return 0; | ||
19802 | } | ||
19803 | _ACEOF | ||
19804 | rm -f conftest.$ac_objext | ||
19805 | if { (ac_try="$ac_compile" | ||
19806 | case "(($ac_try" in | ||
19807 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19808 | *) ac_try_echo=$ac_try;; | ||
19809 | esac | ||
19810 | eval "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 | ||
19822 | else | ||
19823 | echo "$as_me: failed program was:" >&5 | ||
19824 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19825 | |||
19826 | ac_cv_type_int=no | ||
19827 | fi | ||
19828 | |||
19829 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19830 | fi | ||
19831 | { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | ||
19832 | echo "${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 |
19839 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } | 20755 | $as_echo_n "checking size of int... " >&6; } |
19840 | if test "${ac_cv_sizeof_int+set}" = set; then | 20756 | if test "${ac_cv_sizeof_int+set}" = set; then |
19841 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20757 | $as_echo_n "(cached) " >&6 |
19842 | else | 20758 | else |
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 | |||
19849 | cat >>conftest.$ac_ext <<_ACEOF | 20765 | cat >>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_; | ||
19853 | int | 20768 | int |
19854 | main () | 20769 | main () |
19855 | { | 20770 | { |
19856 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | 20771 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; |
19857 | test_array [0] = 0 | 20772 | test_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;; |
19868 | esac | 20783 | esac |
19869 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20784 | eval 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 | |||
19886 | cat >>conftest.$ac_ext <<_ACEOF | 20802 | cat >>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_; | ||
19890 | int | 20805 | int |
19891 | main () | 20806 | main () |
19892 | { | 20807 | { |
19893 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 20808 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; |
19894 | test_array [0] = 0 | 20809 | test_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;; |
19905 | esac | 20820 | esac |
19906 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20821 | eval 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 |
19918 | else | 20834 | else |
19919 | echo "$as_me: failed program was:" >&5 | 20835 | $as_echo "$as_me: failed program was:" >&5 |
19920 | sed 's/^/| /' conftest.$ac_ext >&5 | 20836 | sed '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 | |||
19930 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20846 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19931 | done | 20847 | done |
19932 | else | 20848 | else |
19933 | echo "$as_me: failed program was:" >&5 | 20849 | $as_echo "$as_me: failed program was:" >&5 |
19934 | sed 's/^/| /' conftest.$ac_ext >&5 | 20850 | sed '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 | |||
19940 | cat >>conftest.$ac_ext <<_ACEOF | 20856 | cat >>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_; | ||
19944 | int | 20859 | int |
19945 | main () | 20860 | main () |
19946 | { | 20861 | { |
19947 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | 20862 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; |
19948 | test_array [0] = 0 | 20863 | test_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;; |
19959 | esac | 20874 | esac |
19960 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20875 | eval 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 | |||
19977 | cat >>conftest.$ac_ext <<_ACEOF | 20893 | cat >>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_; | ||
19981 | int | 20896 | int |
19982 | main () | 20897 | main () |
19983 | { | 20898 | { |
19984 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | 20899 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; |
19985 | test_array [0] = 0 | 20900 | test_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;; |
19996 | esac | 20911 | esac |
19997 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20912 | eval 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 |
20009 | else | 20925 | else |
20010 | echo "$as_me: failed program was:" >&5 | 20926 | $as_echo "$as_me: failed program was:" >&5 |
20011 | sed 's/^/| /' conftest.$ac_ext >&5 | 20927 | sed '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 | |||
20021 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20937 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20022 | done | 20938 | done |
20023 | else | 20939 | else |
20024 | echo "$as_me: failed program was:" >&5 | 20940 | $as_echo "$as_me: failed program was:" >&5 |
20025 | sed 's/^/| /' conftest.$ac_ext >&5 | 20941 | sed '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 | |||
20041 | cat >>conftest.$ac_ext <<_ACEOF | 20957 | cat >>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_; | ||
20045 | int | 20960 | int |
20046 | main () | 20961 | main () |
20047 | { | 20962 | { |
20048 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 20963 | static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; |
20049 | test_array [0] = 0 | 20964 | test_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;; |
20060 | esac | 20975 | esac |
20061 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 20976 | eval 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 |
20073 | else | 20989 | else |
20074 | echo "$as_me: failed program was:" >&5 | 20990 | $as_echo "$as_me: failed program was:" >&5 |
20075 | sed 's/^/| /' conftest.$ac_ext >&5 | 20991 | sed '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 | |||
20082 | case $ac_lo in | 20998 | case $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) |
20086 | See \`config.log' for more details." >&5 | 21002 | See \`config.log' for more details." >&5 |
20087 | echo "$as_me: error: cannot compute sizeof (int) | 21003 | $as_echo "$as_me: error: cannot compute sizeof (int) |
20088 | See \`config.log' for more details." >&2;} | 21004 | See \`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 | |||
20099 | cat >>conftest.$ac_ext <<_ACEOF | 21015 | cat >>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_; | 21018 | static long int longval () { return (long int) (sizeof (int)); } |
20103 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | 21019 | static unsigned long int ulongval () { return (long int) (sizeof (int)); } |
20104 | static 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> |
20107 | int | 21022 | int |
@@ -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;; |
20139 | esac | 21056 | esac |
20140 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21057 | eval 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;; |
20148 | esac | 21066 | esac |
20149 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21067 | eval 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` |
20155 | else | 21074 | else |
20156 | echo "$as_me: program exited with status $ac_status" >&5 | 21075 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
20157 | echo "$as_me: failed program was:" >&5 | 21076 | $as_echo "$as_me: failed program was:" >&5 |
20158 | sed 's/^/| /' conftest.$ac_ext >&5 | 21077 | sed 's/^/| /' conftest.$ac_ext >&5 |
20159 | 21078 | ||
20160 | ( exit $ac_status ) | 21079 | ( exit $ac_status ) |
20161 | if test "$ac_cv_type_int" = yes; then | 21080 | if 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) |
20163 | See \`config.log' for more details." >&5 | 21082 | See \`config.log' for more details." >&5 |
20164 | echo "$as_me: error: cannot compute sizeof (int) | 21083 | $as_echo "$as_me: error: cannot compute sizeof (int) |
20165 | See \`config.log' for more details." >&2;} | 21084 | See \`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 |
20170 | fi | 21089 | fi |
21090 | rm -rf conftest.dSYM | ||
20171 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 21091 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20172 | fi | 21092 | fi |
20173 | rm -f conftest.val | 21093 | rm -f conftest.val |
20174 | fi | 21094 | fi |
20175 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 | 21095 | { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
20176 | echo "${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 | ||
20186 | echo $ECHO_N "checking for long int... $ECHO_C" >&6; } | ||
20187 | if test "${ac_cv_type_long_int+set}" = set; then | ||
20188 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
20189 | else | ||
20190 | cat >conftest.$ac_ext <<_ACEOF | ||
20191 | /* confdefs.h. */ | ||
20192 | _ACEOF | ||
20193 | cat confdefs.h >>conftest.$ac_ext | ||
20194 | cat >>conftest.$ac_ext <<_ACEOF | ||
20195 | /* end confdefs.h. */ | ||
20196 | $ac_includes_default | ||
20197 | typedef long int ac__type_new_; | ||
20198 | int | ||
20199 | main () | ||
20200 | { | ||
20201 | if ((ac__type_new_ *) 0) | ||
20202 | return 0; | ||
20203 | if (sizeof (ac__type_new_)) | ||
20204 | return 0; | ||
20205 | ; | ||
20206 | return 0; | ||
20207 | } | ||
20208 | _ACEOF | ||
20209 | rm -f conftest.$ac_objext | ||
20210 | if { (ac_try="$ac_compile" | ||
20211 | case "(($ac_try" in | ||
20212 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20213 | *) ac_try_echo=$ac_try;; | ||
20214 | esac | ||
20215 | eval "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 | ||
20227 | else | ||
20228 | echo "$as_me: failed program was:" >&5 | ||
20229 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20230 | |||
20231 | ac_cv_type_long_int=no | ||
20232 | fi | ||
20233 | |||
20234 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20235 | fi | ||
20236 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 | ||
20237 | echo "${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 |
20244 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6; } | 21110 | $as_echo_n "checking size of long int... " >&6; } |
20245 | if test "${ac_cv_sizeof_long_int+set}" = set; then | 21111 | if test "${ac_cv_sizeof_long_int+set}" = set; then |
20246 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21112 | $as_echo_n "(cached) " >&6 |
20247 | else | 21113 | else |
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 | |||
20254 | cat >>conftest.$ac_ext <<_ACEOF | 21120 | cat >>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_; | ||
20258 | int | 21123 | int |
20259 | main () | 21124 | main () |
20260 | { | 21125 | { |
20261 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | 21126 | static int test_array [1 - 2 * !(((long int) (sizeof (long int))) >= 0)]; |
20262 | test_array [0] = 0 | 21127 | test_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;; |
20273 | esac | 21138 | esac |
20274 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21139 | eval 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 | |||
20291 | cat >>conftest.$ac_ext <<_ACEOF | 21157 | cat >>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_; | ||
20295 | int | 21160 | int |
20296 | main () | 21161 | main () |
20297 | { | 21162 | { |
20298 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 21163 | static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= $ac_mid)]; |
20299 | test_array [0] = 0 | 21164 | test_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;; |
20310 | esac | 21175 | esac |
20311 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21176 | eval 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 |
20323 | else | 21189 | else |
20324 | echo "$as_me: failed program was:" >&5 | 21190 | $as_echo "$as_me: failed program was:" >&5 |
20325 | sed 's/^/| /' conftest.$ac_ext >&5 | 21191 | sed '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 | |||
20335 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21201 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20336 | done | 21202 | done |
20337 | else | 21203 | else |
20338 | echo "$as_me: failed program was:" >&5 | 21204 | $as_echo "$as_me: failed program was:" >&5 |
20339 | sed 's/^/| /' conftest.$ac_ext >&5 | 21205 | sed '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 | |||
20345 | cat >>conftest.$ac_ext <<_ACEOF | 21211 | cat >>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_; | ||
20349 | int | 21214 | int |
20350 | main () | 21215 | main () |
20351 | { | 21216 | { |
20352 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | 21217 | static int test_array [1 - 2 * !(((long int) (sizeof (long int))) < 0)]; |
20353 | test_array [0] = 0 | 21218 | test_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;; |
20364 | esac | 21229 | esac |
20365 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21230 | eval 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 | |||
20382 | cat >>conftest.$ac_ext <<_ACEOF | 21248 | cat >>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_; | ||
20386 | int | 21251 | int |
20387 | main () | 21252 | main () |
20388 | { | 21253 | { |
20389 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | 21254 | static int test_array [1 - 2 * !(((long int) (sizeof (long int))) >= $ac_mid)]; |
20390 | test_array [0] = 0 | 21255 | test_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;; |
20401 | esac | 21266 | esac |
20402 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21267 | eval 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 |
20414 | else | 21280 | else |
20415 | echo "$as_me: failed program was:" >&5 | 21281 | $as_echo "$as_me: failed program was:" >&5 |
20416 | sed 's/^/| /' conftest.$ac_ext >&5 | 21282 | sed '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 | |||
20426 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21292 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20427 | done | 21293 | done |
20428 | else | 21294 | else |
20429 | echo "$as_me: failed program was:" >&5 | 21295 | $as_echo "$as_me: failed program was:" >&5 |
20430 | sed 's/^/| /' conftest.$ac_ext >&5 | 21296 | sed '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 | |||
20446 | cat >>conftest.$ac_ext <<_ACEOF | 21312 | cat >>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_; | ||
20450 | int | 21315 | int |
20451 | main () | 21316 | main () |
20452 | { | 21317 | { |
20453 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 21318 | static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= $ac_mid)]; |
20454 | test_array [0] = 0 | 21319 | test_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;; |
20465 | esac | 21330 | esac |
20466 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21331 | eval 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 |
20478 | else | 21344 | else |
20479 | echo "$as_me: failed program was:" >&5 | 21345 | $as_echo "$as_me: failed program was:" >&5 |
20480 | sed 's/^/| /' conftest.$ac_ext >&5 | 21346 | sed '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 | |||
20487 | case $ac_lo in | 21353 | case $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) |
20491 | See \`config.log' for more details." >&5 | 21357 | See \`config.log' for more details." >&5 |
20492 | echo "$as_me: error: cannot compute sizeof (long int) | 21358 | $as_echo "$as_me: error: cannot compute sizeof (long int) |
20493 | See \`config.log' for more details." >&2;} | 21359 | See \`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 | |||
20504 | cat >>conftest.$ac_ext <<_ACEOF | 21370 | cat >>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_; | 21373 | static long int longval () { return (long int) (sizeof (long int)); } |
20508 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | 21374 | static unsigned long int ulongval () { return (long int) (sizeof (long int)); } |
20509 | static 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> |
20512 | int | 21377 | int |
@@ -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;; |
20544 | esac | 21411 | esac |
20545 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21412 | eval 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;; |
20553 | esac | 21421 | esac |
20554 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21422 | eval 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` |
20560 | else | 21429 | else |
20561 | echo "$as_me: program exited with status $ac_status" >&5 | 21430 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
20562 | echo "$as_me: failed program was:" >&5 | 21431 | $as_echo "$as_me: failed program was:" >&5 |
20563 | sed 's/^/| /' conftest.$ac_ext >&5 | 21432 | sed 's/^/| /' conftest.$ac_ext >&5 |
20564 | 21433 | ||
20565 | ( exit $ac_status ) | 21434 | ( exit $ac_status ) |
20566 | if test "$ac_cv_type_long_int" = yes; then | 21435 | if 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) |
20568 | See \`config.log' for more details." >&5 | 21437 | See \`config.log' for more details." >&5 |
20569 | echo "$as_me: error: cannot compute sizeof (long int) | 21438 | $as_echo "$as_me: error: cannot compute sizeof (long int) |
20570 | See \`config.log' for more details." >&2;} | 21439 | See \`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 |
20575 | fi | 21444 | fi |
21445 | rm -rf conftest.dSYM | ||
20576 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 21446 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20577 | fi | 21447 | fi |
20578 | rm -f conftest.val | 21448 | rm -f conftest.val |
20579 | fi | 21449 | fi |
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 |
20581 | echo "${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 | ||
20591 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6; } | ||
20592 | if test "${ac_cv_type_long_long_int+set}" = set; then | ||
20593 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
20594 | else | ||
20595 | cat >conftest.$ac_ext <<_ACEOF | ||
20596 | /* confdefs.h. */ | ||
20597 | _ACEOF | ||
20598 | cat confdefs.h >>conftest.$ac_ext | ||
20599 | cat >>conftest.$ac_ext <<_ACEOF | ||
20600 | /* end confdefs.h. */ | ||
20601 | $ac_includes_default | ||
20602 | typedef long long int ac__type_new_; | ||
20603 | int | ||
20604 | main () | ||
20605 | { | ||
20606 | if ((ac__type_new_ *) 0) | ||
20607 | return 0; | ||
20608 | if (sizeof (ac__type_new_)) | ||
20609 | return 0; | ||
20610 | ; | ||
20611 | return 0; | ||
20612 | } | ||
20613 | _ACEOF | ||
20614 | rm -f conftest.$ac_objext | ||
20615 | if { (ac_try="$ac_compile" | ||
20616 | case "(($ac_try" in | ||
20617 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20618 | *) ac_try_echo=$ac_try;; | ||
20619 | esac | ||
20620 | eval "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 | ||
20632 | else | ||
20633 | echo "$as_me: failed program was:" >&5 | ||
20634 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20635 | |||
20636 | ac_cv_type_long_long_int=no | ||
20637 | fi | ||
20638 | |||
20639 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20640 | fi | ||
20641 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 | ||
20642 | echo "${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 |
20649 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; } | 21465 | $as_echo_n "checking size of long long int... " >&6; } |
20650 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then | 21466 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then |
20651 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21467 | $as_echo_n "(cached) " >&6 |
20652 | else | 21468 | else |
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 | |||
20659 | cat >>conftest.$ac_ext <<_ACEOF | 21475 | cat >>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_; | ||
20663 | int | 21478 | int |
20664 | main () | 21479 | main () |
20665 | { | 21480 | { |
20666 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | 21481 | static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) >= 0)]; |
20667 | test_array [0] = 0 | 21482 | test_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;; |
20678 | esac | 21493 | esac |
20679 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21494 | eval 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 | |||
20696 | cat >>conftest.$ac_ext <<_ACEOF | 21512 | cat >>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_; | ||
20700 | int | 21515 | int |
20701 | main () | 21516 | main () |
20702 | { | 21517 | { |
20703 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 21518 | static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) <= $ac_mid)]; |
20704 | test_array [0] = 0 | 21519 | test_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;; |
20715 | esac | 21530 | esac |
20716 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21531 | eval 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 |
20728 | else | 21544 | else |
20729 | echo "$as_me: failed program was:" >&5 | 21545 | $as_echo "$as_me: failed program was:" >&5 |
20730 | sed 's/^/| /' conftest.$ac_ext >&5 | 21546 | sed '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 | |||
20740 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21556 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20741 | done | 21557 | done |
20742 | else | 21558 | else |
20743 | echo "$as_me: failed program was:" >&5 | 21559 | $as_echo "$as_me: failed program was:" >&5 |
20744 | sed 's/^/| /' conftest.$ac_ext >&5 | 21560 | sed '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 | |||
20750 | cat >>conftest.$ac_ext <<_ACEOF | 21566 | cat >>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_; | ||
20754 | int | 21569 | int |
20755 | main () | 21570 | main () |
20756 | { | 21571 | { |
20757 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | 21572 | static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) < 0)]; |
20758 | test_array [0] = 0 | 21573 | test_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;; |
20769 | esac | 21584 | esac |
20770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21585 | eval 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 | |||
20787 | cat >>conftest.$ac_ext <<_ACEOF | 21603 | cat >>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_; | ||
20791 | int | 21606 | int |
20792 | main () | 21607 | main () |
20793 | { | 21608 | { |
20794 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | 21609 | static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) >= $ac_mid)]; |
20795 | test_array [0] = 0 | 21610 | test_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;; |
20806 | esac | 21621 | esac |
20807 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21622 | eval 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 |
20819 | else | 21635 | else |
20820 | echo "$as_me: failed program was:" >&5 | 21636 | $as_echo "$as_me: failed program was:" >&5 |
20821 | sed 's/^/| /' conftest.$ac_ext >&5 | 21637 | sed '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 | |||
20831 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21647 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20832 | done | 21648 | done |
20833 | else | 21649 | else |
20834 | echo "$as_me: failed program was:" >&5 | 21650 | $as_echo "$as_me: failed program was:" >&5 |
20835 | sed 's/^/| /' conftest.$ac_ext >&5 | 21651 | sed '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 | |||
20851 | cat >>conftest.$ac_ext <<_ACEOF | 21667 | cat >>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_; | ||
20855 | int | 21670 | int |
20856 | main () | 21671 | main () |
20857 | { | 21672 | { |
20858 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | 21673 | static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) <= $ac_mid)]; |
20859 | test_array [0] = 0 | 21674 | test_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;; |
20870 | esac | 21685 | esac |
20871 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21686 | eval 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 |
20883 | else | 21699 | else |
20884 | echo "$as_me: failed program was:" >&5 | 21700 | $as_echo "$as_me: failed program was:" >&5 |
20885 | sed 's/^/| /' conftest.$ac_ext >&5 | 21701 | sed '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 | |||
20892 | case $ac_lo in | 21708 | case $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) |
20896 | See \`config.log' for more details." >&5 | 21712 | See \`config.log' for more details." >&5 |
20897 | echo "$as_me: error: cannot compute sizeof (long long int) | 21713 | $as_echo "$as_me: error: cannot compute sizeof (long long int) |
20898 | See \`config.log' for more details." >&2;} | 21714 | See \`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 | |||
20909 | cat >>conftest.$ac_ext <<_ACEOF | 21725 | cat >>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_; | 21728 | static long int longval () { return (long int) (sizeof (long long int)); } |
20913 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | 21729 | static unsigned long int ulongval () { return (long int) (sizeof (long long int)); } |
20914 | static 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> |
20917 | int | 21732 | int |
@@ -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;; |
20949 | esac | 21766 | esac |
20950 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21767 | eval 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;; |
20958 | esac | 21776 | esac |
20959 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21777 | eval 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` |
20965 | else | 21784 | else |
20966 | echo "$as_me: program exited with status $ac_status" >&5 | 21785 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
20967 | echo "$as_me: failed program was:" >&5 | 21786 | $as_echo "$as_me: failed program was:" >&5 |
20968 | sed 's/^/| /' conftest.$ac_ext >&5 | 21787 | sed 's/^/| /' conftest.$ac_ext >&5 |
20969 | 21788 | ||
20970 | ( exit $ac_status ) | 21789 | ( exit $ac_status ) |
20971 | if test "$ac_cv_type_long_long_int" = yes; then | 21790 | if 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) |
20973 | See \`config.log' for more details." >&5 | 21792 | See \`config.log' for more details." >&5 |
20974 | echo "$as_me: error: cannot compute sizeof (long long int) | 21793 | $as_echo "$as_me: error: cannot compute sizeof (long long int) |
20975 | See \`config.log' for more details." >&2;} | 21794 | See \`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 |
20980 | fi | 21799 | fi |
21800 | rm -rf conftest.dSYM | ||
20981 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 21801 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20982 | fi | 21802 | fi |
20983 | rm -f conftest.val | 21803 | rm -f conftest.val |
20984 | fi | 21804 | fi |
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 |
20986 | echo "${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. |
21002 | if test -z "$have_llong_max"; then | 21822 | if 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 |
21004 | echo $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 |
21008 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 21828 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
21009 | 21829 | ||
21010 | 21830 | ||
21011 | else | 21831 | else |
@@ -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;; |
21097 | esac | 21917 | esac |
21098 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21918 | eval 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;; |
21106 | esac | 21927 | esac |
21107 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 21928 | eval 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 |
21117 | echo "${ECHO_T}$llong_max" >&6; } | 21939 | $as_echo "$llong_max" >&6; } |
21118 | 21940 | ||
21119 | cat >>confdefs.h <<_ACEOF | 21941 | cat >>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 |
21124 | echo $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 |
21126 | echo "${ECHO_T}$llong_min" >&6; } | 21948 | $as_echo "$llong_min" >&6; } |
21127 | 21949 | ||
21128 | cat >>confdefs.h <<_ACEOF | 21950 | cat >>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 | ||
21133 | else | 21955 | else |
21134 | echo "$as_me: program exited with status $ac_status" >&5 | 21956 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
21135 | echo "$as_me: failed program was:" >&5 | 21957 | $as_echo "$as_me: failed program was:" >&5 |
21136 | sed 's/^/| /' conftest.$ac_ext >&5 | 21958 | sed '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 |
21141 | echo "${ECHO_T}not found" >&6; } | 21963 | $as_echo "not found" >&6; } |
21142 | 21964 | ||
21143 | fi | 21965 | fi |
21966 | rm -rf conftest.dSYM | ||
21144 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 21967 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21145 | fi | 21968 | fi |
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 |
21153 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6; } | 21976 | $as_echo_n "checking for u_int type... " >&6; } |
21154 | if test "${ac_cv_have_u_int+set}" = set; then | 21977 | if test "${ac_cv_have_u_int+set}" = set; then |
21155 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21978 | $as_echo_n "(cached) " >&6 |
21156 | else | 21979 | else |
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;; |
21178 | esac | 22001 | esac |
21179 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22002 | eval 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" |
21191 | else | 22015 | else |
21192 | echo "$as_me: failed program was:" >&5 | 22016 | $as_echo "$as_me: failed program was:" >&5 |
21193 | sed 's/^/| /' conftest.$ac_ext >&5 | 22017 | sed '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 | |||
21199 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22023 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21200 | 22024 | ||
21201 | fi | 22025 | fi |
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 |
21203 | echo "${ECHO_T}$ac_cv_have_u_int" >&6; } | 22027 | $as_echo "$ac_cv_have_u_int" >&6; } |
21204 | if test "x$ac_cv_have_u_int" = "xyes" ; then | 22028 | if test "x$ac_cv_have_u_int" = "xyes" ; then |
21205 | 22029 | ||
21206 | cat >>confdefs.h <<\_ACEOF | 22030 | cat >>confdefs.h <<\_ACEOF |
@@ -21210,10 +22034,10 @@ _ACEOF | |||
21210 | have_u_int=1 | 22034 | have_u_int=1 |
21211 | fi | 22035 | fi |
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 |
21214 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6; } | 22038 | $as_echo_n "checking for intXX_t types... " >&6; } |
21215 | if test "${ac_cv_have_intxx_t+set}" = set; then | 22039 | if test "${ac_cv_have_intxx_t+set}" = set; then |
21216 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22040 | $as_echo_n "(cached) " >&6 |
21217 | else | 22041 | else |
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;; |
21239 | esac | 22063 | esac |
21240 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22064 | eval 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" |
21252 | else | 22077 | else |
21253 | echo "$as_me: failed program was:" >&5 | 22078 | $as_echo "$as_me: failed program was:" >&5 |
21254 | sed 's/^/| /' conftest.$ac_ext >&5 | 22079 | sed '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 | |||
21260 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22085 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21261 | 22086 | ||
21262 | fi | 22087 | fi |
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 |
21264 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6; } | 22089 | $as_echo "$ac_cv_have_intxx_t" >&6; } |
21265 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | 22090 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then |
21266 | 22091 | ||
21267 | cat >>confdefs.h <<\_ACEOF | 22092 | cat >>confdefs.h <<\_ACEOF |
@@ -21274,8 +22099,8 @@ fi | |||
21274 | if (test -z "$have_intxx_t" && \ | 22099 | if (test -z "$have_intxx_t" && \ |
21275 | test "x$ac_cv_header_stdint_h" = "xyes") | 22100 | test "x$ac_cv_header_stdint_h" = "xyes") |
21276 | then | 22101 | then |
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 |
21278 | echo $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;; |
21299 | esac | 22124 | esac |
21300 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22125 | eval 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 |
21317 | echo "${ECHO_T}yes" >&6; } | 22143 | $as_echo "yes" >&6; } |
21318 | 22144 | ||
21319 | else | 22145 | else |
21320 | echo "$as_me: failed program was:" >&5 | 22146 | $as_echo "$as_me: failed program was:" >&5 |
21321 | sed 's/^/| /' conftest.$ac_ext >&5 | 22147 | sed 's/^/| /' conftest.$ac_ext >&5 |
21322 | 22148 | ||
21323 | { echo "$as_me:$LINENO: result: no" >&5 | 22149 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
21324 | echo "${ECHO_T}no" >&6; } | 22150 | $as_echo "no" >&6; } |
21325 | 22151 | ||
21326 | fi | 22152 | fi |
21327 | 22153 | ||
21328 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22154 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21329 | fi | 22155 | fi |
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 |
21332 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6; } | 22158 | $as_echo_n "checking for int64_t type... " >&6; } |
21333 | if test "${ac_cv_have_int64_t+set}" = set; then | 22159 | if test "${ac_cv_have_int64_t+set}" = set; then |
21334 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22160 | $as_echo_n "(cached) " >&6 |
21335 | else | 22161 | else |
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;; |
21366 | esac | 22192 | esac |
21367 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22193 | eval 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" |
21379 | else | 22206 | else |
21380 | echo "$as_me: failed program was:" >&5 | 22207 | $as_echo "$as_me: failed program was:" >&5 |
21381 | sed 's/^/| /' conftest.$ac_ext >&5 | 22208 | sed '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 | |||
21387 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22214 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21388 | 22215 | ||
21389 | fi | 22216 | fi |
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 |
21391 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6; } | 22218 | $as_echo "$ac_cv_have_int64_t" >&6; } |
21392 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | 22219 | if test "x$ac_cv_have_int64_t" = "xyes" ; then |
21393 | 22220 | ||
21394 | cat >>confdefs.h <<\_ACEOF | 22221 | cat >>confdefs.h <<\_ACEOF |
@@ -21397,10 +22224,10 @@ _ACEOF | |||
21397 | 22224 | ||
21398 | fi | 22225 | fi |
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 |
21401 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6; } | 22228 | $as_echo_n "checking for u_intXX_t types... " >&6; } |
21402 | if test "${ac_cv_have_u_intxx_t+set}" = set; then | 22229 | if test "${ac_cv_have_u_intxx_t+set}" = set; then |
21403 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22230 | $as_echo_n "(cached) " >&6 |
21404 | else | 22231 | else |
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;; |
21426 | esac | 22253 | esac |
21427 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22254 | eval 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" |
21439 | else | 22267 | else |
21440 | echo "$as_me: failed program was:" >&5 | 22268 | $as_echo "$as_me: failed program was:" >&5 |
21441 | sed 's/^/| /' conftest.$ac_ext >&5 | 22269 | sed '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 | |||
21447 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22275 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21448 | 22276 | ||
21449 | fi | 22277 | fi |
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 |
21451 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6; } | 22279 | $as_echo "$ac_cv_have_u_intxx_t" >&6; } |
21452 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | 22280 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then |
21453 | 22281 | ||
21454 | cat >>confdefs.h <<\_ACEOF | 22282 | cat >>confdefs.h <<\_ACEOF |
@@ -21459,8 +22287,8 @@ _ACEOF | |||
21459 | fi | 22287 | fi |
21460 | 22288 | ||
21461 | if test -z "$have_u_intxx_t" ; then | 22289 | if 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 |
21463 | echo $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;; |
21484 | esac | 22312 | esac |
21485 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22313 | eval 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 |
21502 | echo "${ECHO_T}yes" >&6; } | 22331 | $as_echo "yes" >&6; } |
21503 | 22332 | ||
21504 | else | 22333 | else |
21505 | echo "$as_me: failed program was:" >&5 | 22334 | $as_echo "$as_me: failed program was:" >&5 |
21506 | sed 's/^/| /' conftest.$ac_ext >&5 | 22335 | sed 's/^/| /' conftest.$ac_ext >&5 |
21507 | 22336 | ||
21508 | { echo "$as_me:$LINENO: result: no" >&5 | 22337 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
21509 | echo "${ECHO_T}no" >&6; } | 22338 | $as_echo "no" >&6; } |
21510 | 22339 | ||
21511 | fi | 22340 | fi |
21512 | 22341 | ||
21513 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22342 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21514 | fi | 22343 | fi |
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 |
21517 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6; } | 22346 | $as_echo_n "checking for u_int64_t types... " >&6; } |
21518 | if test "${ac_cv_have_u_int64_t+set}" = set; then | 22347 | if test "${ac_cv_have_u_int64_t+set}" = set; then |
21519 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22348 | $as_echo_n "(cached) " >&6 |
21520 | else | 22349 | else |
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;; |
21542 | esac | 22371 | esac |
21543 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22372 | eval 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" |
21555 | else | 22385 | else |
21556 | echo "$as_me: failed program was:" >&5 | 22386 | $as_echo "$as_me: failed program was:" >&5 |
21557 | sed 's/^/| /' conftest.$ac_ext >&5 | 22387 | sed '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 | |||
21563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22393 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21564 | 22394 | ||
21565 | fi | 22395 | fi |
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 |
21567 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6; } | 22397 | $as_echo "$ac_cv_have_u_int64_t" >&6; } |
21568 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | 22398 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then |
21569 | 22399 | ||
21570 | cat >>confdefs.h <<\_ACEOF | 22400 | cat >>confdefs.h <<\_ACEOF |
@@ -21575,8 +22405,8 @@ _ACEOF | |||
21575 | fi | 22405 | fi |
21576 | 22406 | ||
21577 | if test -z "$have_u_int64_t" ; then | 22407 | if 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 |
21579 | echo $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;; |
21600 | esac | 22430 | esac |
21601 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22431 | eval 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 |
21618 | echo "${ECHO_T}yes" >&6; } | 22449 | $as_echo "yes" >&6; } |
21619 | 22450 | ||
21620 | else | 22451 | else |
21621 | echo "$as_me: failed program was:" >&5 | 22452 | $as_echo "$as_me: failed program was:" >&5 |
21622 | sed 's/^/| /' conftest.$ac_ext >&5 | 22453 | sed 's/^/| /' conftest.$ac_ext >&5 |
21623 | 22454 | ||
21624 | { echo "$as_me:$LINENO: result: no" >&5 | 22455 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
21625 | echo "${ECHO_T}no" >&6; } | 22456 | $as_echo "no" >&6; } |
21626 | 22457 | ||
21627 | fi | 22458 | fi |
21628 | 22459 | ||
@@ -21630,10 +22461,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
21630 | fi | 22461 | fi |
21631 | 22462 | ||
21632 | if test -z "$have_u_intxx_t" ; then | 22463 | if 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 |
21634 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6; } | 22465 | $as_echo_n "checking for uintXX_t types... " >&6; } |
21635 | if test "${ac_cv_have_uintxx_t+set}" = set; then | 22466 | if test "${ac_cv_have_uintxx_t+set}" = set; then |
21636 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22467 | $as_echo_n "(cached) " >&6 |
21637 | else | 22468 | else |
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;; |
21661 | esac | 22492 | esac |
21662 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22493 | eval 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" |
21674 | else | 22506 | else |
21675 | echo "$as_me: failed program was:" >&5 | 22507 | $as_echo "$as_me: failed program was:" >&5 |
21676 | sed 's/^/| /' conftest.$ac_ext >&5 | 22508 | sed '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 | |||
21682 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21683 | 22515 | ||
21684 | fi | 22516 | fi |
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 |
21686 | echo "${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 | ||
21689 | cat >>confdefs.h <<\_ACEOF | 22521 | cat >>confdefs.h <<\_ACEOF |
@@ -21694,8 +22526,8 @@ _ACEOF | |||
21694 | fi | 22526 | fi |
21695 | 22527 | ||
21696 | if test -z "$have_uintxx_t" ; then | 22528 | if 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 |
21698 | echo $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;; |
21719 | esac | 22551 | esac |
21720 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22552 | eval 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 |
21737 | echo "${ECHO_T}yes" >&6; } | 22570 | $as_echo "yes" >&6; } |
21738 | 22571 | ||
21739 | else | 22572 | else |
21740 | echo "$as_me: failed program was:" >&5 | 22573 | $as_echo "$as_me: failed program was:" >&5 |
21741 | sed 's/^/| /' conftest.$ac_ext >&5 | 22574 | sed 's/^/| /' conftest.$ac_ext >&5 |
21742 | 22575 | ||
21743 | { echo "$as_me:$LINENO: result: no" >&5 | 22576 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
21744 | echo "${ECHO_T}no" >&6; } | 22577 | $as_echo "no" >&6; } |
21745 | 22578 | ||
21746 | fi | 22579 | fi |
21747 | 22580 | ||
@@ -21751,8 +22584,8 @@ fi | |||
21751 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | 22584 | if (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") |
21753 | then | 22586 | then |
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 |
21755 | echo $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;; |
21782 | esac | 22615 | esac |
21783 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22616 | eval 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 |
21804 | echo "${ECHO_T}yes" >&6; } | 22638 | $as_echo "yes" >&6; } |
21805 | 22639 | ||
21806 | else | 22640 | else |
21807 | echo "$as_me: failed program was:" >&5 | 22641 | $as_echo "$as_me: failed program was:" >&5 |
21808 | sed 's/^/| /' conftest.$ac_ext >&5 | 22642 | sed 's/^/| /' conftest.$ac_ext >&5 |
21809 | 22643 | ||
21810 | { echo "$as_me:$LINENO: result: no" >&5 | 22644 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
21811 | echo "${ECHO_T}no" >&6; } | 22645 | $as_echo "no" >&6; } |
21812 | 22646 | ||
21813 | fi | 22647 | fi |
21814 | 22648 | ||
@@ -21816,10 +22650,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
21816 | fi | 22650 | fi |
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 |
21820 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6; } | 22654 | $as_echo_n "checking for u_char... " >&6; } |
21821 | if test "${ac_cv_have_u_char+set}" = set; then | 22655 | if test "${ac_cv_have_u_char+set}" = set; then |
21822 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22656 | $as_echo_n "(cached) " >&6 |
21823 | else | 22657 | else |
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;; |
21847 | esac | 22681 | esac |
21848 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22682 | eval 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" |
21860 | else | 22695 | else |
21861 | echo "$as_me: failed program was:" >&5 | 22696 | $as_echo "$as_me: failed program was:" >&5 |
21862 | sed 's/^/| /' conftest.$ac_ext >&5 | 22697 | sed '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 | |||
21868 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22703 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21869 | 22704 | ||
21870 | fi | 22705 | fi |
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 |
21872 | echo "${ECHO_T}$ac_cv_have_u_char" >&6; } | 22707 | $as_echo "$ac_cv_have_u_char" >&6; } |
21873 | if test "x$ac_cv_have_u_char" = "xyes" ; then | 22708 | if test "x$ac_cv_have_u_char" = "xyes" ; then |
21874 | 22709 | ||
21875 | cat >>confdefs.h <<\_ACEOF | 22710 | cat >>confdefs.h <<\_ACEOF |
@@ -21879,12 +22714,13 @@ _ACEOF | |||
21879 | fi | 22714 | fi |
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 |
21883 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } | 22718 | $as_echo_n "checking for socklen_t... " >&6; } |
21884 | if test "${ac_cv_type_socklen_t+set}" = set; then | 22719 | if test "${ac_cv_type_socklen_t+set}" = set; then |
21885 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22720 | $as_echo_n "(cached) " >&6 |
21886 | else | 22721 | else |
21887 | cat >conftest.$ac_ext <<_ACEOF | 22722 | ac_cv_type_socklen_t=no |
22723 | cat >conftest.$ac_ext <<_ACEOF | ||
21888 | /* confdefs.h. */ | 22724 | /* confdefs.h. */ |
21889 | _ACEOF | 22725 | _ACEOF |
21890 | cat confdefs.h >>conftest.$ac_ext | 22726 | cat 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 | ||
21896 | typedef socklen_t ac__type_new_; | ||
21897 | int | 22732 | int |
21898 | main () | 22733 | main () |
21899 | { | 22734 | { |
21900 | if ((ac__type_new_ *) 0) | 22735 | if (sizeof (socklen_t)) |
21901 | return 0; | 22736 | return 0; |
21902 | if (sizeof (ac__type_new_)) | 22737 | ; |
21903 | return 0; | 22738 | return 0; |
22739 | } | ||
22740 | _ACEOF | ||
22741 | rm -f conftest.$ac_objext | ||
22742 | if { (ac_try="$ac_compile" | ||
22743 | case "(($ac_try" in | ||
22744 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22745 | *) ac_try_echo=$ac_try;; | ||
22746 | esac | ||
22747 | eval 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 | ||
22762 | cat confdefs.h >>conftest.$ac_ext | ||
22763 | cat >>conftest.$ac_ext <<_ACEOF | ||
22764 | /* end confdefs.h. */ | ||
22765 | #include <sys/types.h> | ||
22766 | #include <sys/socket.h> | ||
22767 | |||
22768 | int | ||
22769 | main () | ||
22770 | { | ||
22771 | if (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;; |
21913 | esac | 22782 | esac |
21914 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22783 | eval 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 | : |
21926 | else | 22796 | else |
21927 | echo "$as_me: failed program was:" >&5 | 22797 | $as_echo "$as_me: failed program was:" >&5 |
21928 | sed 's/^/| /' conftest.$ac_ext >&5 | 22798 | sed 's/^/| /' conftest.$ac_ext >&5 |
21929 | 22799 | ||
21930 | ac_cv_type_socklen_t=no | 22800 | ac_cv_type_socklen_t=yes |
22801 | fi | ||
22802 | |||
22803 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22804 | else | ||
22805 | $as_echo "$as_me: failed program was:" >&5 | ||
22806 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22807 | |||
22808 | |||
21931 | fi | 22809 | fi |
21932 | 22810 | ||
21933 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22811 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21934 | fi | 22812 | fi |
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 |
21936 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } | 22814 | $as_echo "$ac_cv_type_socklen_t" >&6; } |
21937 | if test $ac_cv_type_socklen_t = yes; then | 22815 | if test $ac_cv_type_socklen_t = yes; then |
21938 | : | 22816 | : |
21939 | else | 22817 | else |
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 |
21942 | echo $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 |
21945 | else | 22823 | else |
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;; |
21980 | esac | 22858 | esac |
21981 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22859 | eval 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 | ||
21996 | else | 22875 | else |
21997 | echo "$as_me: failed program was:" >&5 | 22876 | $as_echo "$as_me: failed program was:" >&5 |
21998 | sed 's/^/| /' conftest.$ac_ext >&5 | 22877 | sed '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 |
22009 | echo "$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 | ||
22013 | fi | 22892 | fi |
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 |
22016 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; } | 22895 | $as_echo "$curl_cv_socklen_t_equiv" >&6; } |
22017 | 22896 | ||
22018 | cat >>confdefs.h <<_ACEOF | 22897 | cat >>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 |
22027 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; } | 22906 | $as_echo_n "checking for sig_atomic_t... " >&6; } |
22028 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then | 22907 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then |
22029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22908 | $as_echo_n "(cached) " >&6 |
22030 | else | 22909 | else |
22031 | cat >conftest.$ac_ext <<_ACEOF | 22910 | ac_cv_type_sig_atomic_t=no |
22911 | cat >conftest.$ac_ext <<_ACEOF | ||
22032 | /* confdefs.h. */ | 22912 | /* confdefs.h. */ |
22033 | _ACEOF | 22913 | _ACEOF |
22034 | cat confdefs.h >>conftest.$ac_ext | 22914 | cat 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 | ||
22039 | typedef sig_atomic_t ac__type_new_; | ||
22040 | int | 22919 | int |
22041 | main () | 22920 | main () |
22042 | { | 22921 | { |
22043 | if ((ac__type_new_ *) 0) | 22922 | if (sizeof (sig_atomic_t)) |
22044 | return 0; | 22923 | return 0; |
22045 | if (sizeof (ac__type_new_)) | 22924 | ; |
22046 | return 0; | 22925 | return 0; |
22926 | } | ||
22927 | _ACEOF | ||
22928 | rm -f conftest.$ac_objext | ||
22929 | if { (ac_try="$ac_compile" | ||
22930 | case "(($ac_try" in | ||
22931 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22932 | *) ac_try_echo=$ac_try;; | ||
22933 | esac | ||
22934 | eval 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 | ||
22949 | cat confdefs.h >>conftest.$ac_ext | ||
22950 | cat >>conftest.$ac_ext <<_ACEOF | ||
22951 | /* end confdefs.h. */ | ||
22952 | #include <signal.h> | ||
22953 | |||
22954 | int | ||
22955 | main () | ||
22956 | { | ||
22957 | if (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;; |
22056 | esac | 22968 | esac |
22057 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 22969 | eval 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 | : |
22069 | else | 22982 | else |
22070 | echo "$as_me: failed program was:" >&5 | 22983 | $as_echo "$as_me: failed program was:" >&5 |
22071 | sed 's/^/| /' conftest.$ac_ext >&5 | 22984 | sed 's/^/| /' conftest.$ac_ext >&5 |
22072 | 22985 | ||
22073 | ac_cv_type_sig_atomic_t=no | 22986 | ac_cv_type_sig_atomic_t=yes |
22074 | fi | 22987 | fi |
22075 | 22988 | ||
22076 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 22989 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22990 | else | ||
22991 | $as_echo "$as_me: failed program was:" >&5 | ||
22992 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22993 | |||
22994 | |||
22077 | fi | 22995 | fi |
22078 | { echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 | 22996 | |
22079 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; } | 22997 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22998 | fi | ||
22999 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 | ||
23000 | $as_echo "$ac_cv_type_sig_atomic_t" >&6; } | ||
22080 | if test $ac_cv_type_sig_atomic_t = yes; then | 23001 | if test $ac_cv_type_sig_atomic_t = yes; then |
22081 | 23002 | ||
22082 | cat >>confdefs.h <<_ACEOF | 23003 | cat >>confdefs.h <<_ACEOF |
@@ -22086,12 +23007,13 @@ _ACEOF | |||
22086 | 23007 | ||
22087 | fi | 23008 | fi |
22088 | 23009 | ||
22089 | { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5 | 23010 | { $as_echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5 |
22090 | echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; } | 23011 | $as_echo_n "checking for fsblkcnt_t... " >&6; } |
22091 | if test "${ac_cv_type_fsblkcnt_t+set}" = set; then | 23012 | if test "${ac_cv_type_fsblkcnt_t+set}" = set; then |
22092 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23013 | $as_echo_n "(cached) " >&6 |
22093 | else | 23014 | else |
22094 | cat >conftest.$ac_ext <<_ACEOF | 23015 | ac_cv_type_fsblkcnt_t=no |
23016 | cat >conftest.$ac_ext <<_ACEOF | ||
22095 | /* confdefs.h. */ | 23017 | /* confdefs.h. */ |
22096 | _ACEOF | 23018 | _ACEOF |
22097 | cat confdefs.h >>conftest.$ac_ext | 23019 | cat confdefs.h >>conftest.$ac_ext |
@@ -22110,14 +23032,57 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
22110 | #endif | 23032 | #endif |
22111 | 23033 | ||
22112 | 23034 | ||
22113 | typedef fsblkcnt_t ac__type_new_; | ||
22114 | int | 23035 | int |
22115 | main () | 23036 | main () |
22116 | { | 23037 | { |
22117 | if ((ac__type_new_ *) 0) | 23038 | if (sizeof (fsblkcnt_t)) |
22118 | return 0; | 23039 | return 0; |
22119 | if (sizeof (ac__type_new_)) | 23040 | ; |
22120 | return 0; | 23041 | return 0; |
23042 | } | ||
23043 | _ACEOF | ||
23044 | rm -f conftest.$ac_objext | ||
23045 | if { (ac_try="$ac_compile" | ||
23046 | case "(($ac_try" in | ||
23047 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23048 | *) ac_try_echo=$ac_try;; | ||
23049 | esac | ||
23050 | eval 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 | ||
23065 | cat confdefs.h >>conftest.$ac_ext | ||
23066 | cat >>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 | |||
23081 | int | ||
23082 | main () | ||
23083 | { | ||
23084 | if (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;; |
22130 | esac | 23095 | esac |
22131 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23096 | eval 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 | : |
22143 | else | 23109 | else |
22144 | echo "$as_me: failed program was:" >&5 | 23110 | $as_echo "$as_me: failed program was:" >&5 |
22145 | sed 's/^/| /' conftest.$ac_ext >&5 | 23111 | sed 's/^/| /' conftest.$ac_ext >&5 |
22146 | 23112 | ||
22147 | ac_cv_type_fsblkcnt_t=no | 23113 | ac_cv_type_fsblkcnt_t=yes |
23114 | fi | ||
23115 | |||
23116 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
23117 | else | ||
23118 | $as_echo "$as_me: failed program was:" >&5 | ||
23119 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23120 | |||
23121 | |||
22148 | fi | 23122 | fi |
22149 | 23123 | ||
22150 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23124 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22151 | fi | 23125 | fi |
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 |
22153 | echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; } | 23127 | $as_echo "$ac_cv_type_fsblkcnt_t" >&6; } |
22154 | if test $ac_cv_type_fsblkcnt_t = yes; then | 23128 | if test $ac_cv_type_fsblkcnt_t = yes; then |
22155 | 23129 | ||
22156 | cat >>confdefs.h <<_ACEOF | 23130 | cat >>confdefs.h <<_ACEOF |
@@ -22159,12 +23133,13 @@ _ACEOF | |||
22159 | 23133 | ||
22160 | 23134 | ||
22161 | fi | 23135 | fi |
22162 | { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5 | 23136 | { $as_echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5 |
22163 | echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; } | 23137 | $as_echo_n "checking for fsfilcnt_t... " >&6; } |
22164 | if test "${ac_cv_type_fsfilcnt_t+set}" = set; then | 23138 | if test "${ac_cv_type_fsfilcnt_t+set}" = set; then |
22165 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23139 | $as_echo_n "(cached) " >&6 |
22166 | else | 23140 | else |
22167 | cat >conftest.$ac_ext <<_ACEOF | 23141 | ac_cv_type_fsfilcnt_t=no |
23142 | cat >conftest.$ac_ext <<_ACEOF | ||
22168 | /* confdefs.h. */ | 23143 | /* confdefs.h. */ |
22169 | _ACEOF | 23144 | _ACEOF |
22170 | cat confdefs.h >>conftest.$ac_ext | 23145 | cat confdefs.h >>conftest.$ac_ext |
@@ -22183,14 +23158,57 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
22183 | #endif | 23158 | #endif |
22184 | 23159 | ||
22185 | 23160 | ||
22186 | typedef fsfilcnt_t ac__type_new_; | ||
22187 | int | 23161 | int |
22188 | main () | 23162 | main () |
22189 | { | 23163 | { |
22190 | if ((ac__type_new_ *) 0) | 23164 | if (sizeof (fsfilcnt_t)) |
22191 | return 0; | 23165 | return 0; |
22192 | if (sizeof (ac__type_new_)) | 23166 | ; |
22193 | return 0; | 23167 | return 0; |
23168 | } | ||
23169 | _ACEOF | ||
23170 | rm -f conftest.$ac_objext | ||
23171 | if { (ac_try="$ac_compile" | ||
23172 | case "(($ac_try" in | ||
23173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23174 | *) ac_try_echo=$ac_try;; | ||
23175 | esac | ||
23176 | eval 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 | ||
23191 | cat confdefs.h >>conftest.$ac_ext | ||
23192 | cat >>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 | |||
23207 | int | ||
23208 | main () | ||
23209 | { | ||
23210 | if (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;; |
22203 | esac | 23221 | esac |
22204 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23222 | eval 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 | : |
23235 | else | ||
23236 | $as_echo "$as_me: failed program was:" >&5 | ||
23237 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23238 | |||
23239 | ac_cv_type_fsfilcnt_t=yes | ||
23240 | fi | ||
23241 | |||
23242 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22216 | else | 23243 | else |
22217 | echo "$as_me: failed program was:" >&5 | 23244 | $as_echo "$as_me: failed program was:" >&5 |
22218 | sed 's/^/| /' conftest.$ac_ext >&5 | 23245 | sed 's/^/| /' conftest.$ac_ext >&5 |
22219 | 23246 | ||
22220 | ac_cv_type_fsfilcnt_t=no | 23247 | |
22221 | fi | 23248 | fi |
22222 | 23249 | ||
22223 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23250 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22224 | fi | 23251 | fi |
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 |
22226 | echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; } | 23253 | $as_echo "$ac_cv_type_fsfilcnt_t" >&6; } |
22227 | if test $ac_cv_type_fsfilcnt_t = yes; then | 23254 | if test $ac_cv_type_fsfilcnt_t = yes; then |
22228 | 23255 | ||
22229 | cat >>confdefs.h <<_ACEOF | 23256 | cat >>confdefs.h <<_ACEOF |
@@ -22234,12 +23261,13 @@ _ACEOF | |||
22234 | fi | 23261 | fi |
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 |
22238 | echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; } | 23265 | $as_echo_n "checking for in_addr_t... " >&6; } |
22239 | if test "${ac_cv_type_in_addr_t+set}" = set; then | 23266 | if test "${ac_cv_type_in_addr_t+set}" = set; then |
22240 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23267 | $as_echo_n "(cached) " >&6 |
22241 | else | 23268 | else |
22242 | cat >conftest.$ac_ext <<_ACEOF | 23269 | ac_cv_type_in_addr_t=no |
23270 | cat >conftest.$ac_ext <<_ACEOF | ||
22243 | /* confdefs.h. */ | 23271 | /* confdefs.h. */ |
22244 | _ACEOF | 23272 | _ACEOF |
22245 | cat confdefs.h >>conftest.$ac_ext | 23273 | cat 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 | ||
22251 | typedef in_addr_t ac__type_new_; | ||
22252 | int | 23279 | int |
22253 | main () | 23280 | main () |
22254 | { | 23281 | { |
22255 | if ((ac__type_new_ *) 0) | 23282 | if (sizeof (in_addr_t)) |
22256 | return 0; | 23283 | return 0; |
22257 | if (sizeof (ac__type_new_)) | 23284 | ; |
22258 | return 0; | 23285 | return 0; |
23286 | } | ||
23287 | _ACEOF | ||
23288 | rm -f conftest.$ac_objext | ||
23289 | if { (ac_try="$ac_compile" | ||
23290 | case "(($ac_try" in | ||
23291 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23292 | *) ac_try_echo=$ac_try;; | ||
23293 | esac | ||
23294 | eval 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 | ||
23309 | cat confdefs.h >>conftest.$ac_ext | ||
23310 | cat >>conftest.$ac_ext <<_ACEOF | ||
23311 | /* end confdefs.h. */ | ||
23312 | #include <sys/types.h> | ||
23313 | #include <netinet/in.h> | ||
23314 | |||
23315 | int | ||
23316 | main () | ||
23317 | { | ||
23318 | if (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;; |
22268 | esac | 23329 | esac |
22269 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23330 | eval 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 | : |
22281 | else | 23343 | else |
22282 | echo "$as_me: failed program was:" >&5 | 23344 | $as_echo "$as_me: failed program was:" >&5 |
22283 | sed 's/^/| /' conftest.$ac_ext >&5 | 23345 | sed 's/^/| /' conftest.$ac_ext >&5 |
22284 | 23346 | ||
22285 | ac_cv_type_in_addr_t=no | 23347 | ac_cv_type_in_addr_t=yes |
23348 | fi | ||
23349 | |||
23350 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
23351 | else | ||
23352 | $as_echo "$as_me: failed program was:" >&5 | ||
23353 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23354 | |||
23355 | |||
22286 | fi | 23356 | fi |
22287 | 23357 | ||
22288 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23358 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22289 | fi | 23359 | fi |
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 |
22291 | echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6; } | 23361 | $as_echo "$ac_cv_type_in_addr_t" >&6; } |
22292 | if test $ac_cv_type_in_addr_t = yes; then | 23362 | if test $ac_cv_type_in_addr_t = yes; then |
22293 | 23363 | ||
22294 | cat >>confdefs.h <<_ACEOF | 23364 | cat >>confdefs.h <<_ACEOF |
@@ -22297,12 +23367,118 @@ _ACEOF | |||
22297 | 23367 | ||
22298 | 23368 | ||
22299 | fi | 23369 | fi |
23370 | { $as_echo "$as_me:$LINENO: checking for in_port_t" >&5 | ||
23371 | $as_echo_n "checking for in_port_t... " >&6; } | ||
23372 | if test "${ac_cv_type_in_port_t+set}" = set; then | ||
23373 | $as_echo_n "(cached) " >&6 | ||
23374 | else | ||
23375 | ac_cv_type_in_port_t=no | ||
23376 | cat >conftest.$ac_ext <<_ACEOF | ||
23377 | /* confdefs.h. */ | ||
23378 | _ACEOF | ||
23379 | cat confdefs.h >>conftest.$ac_ext | ||
23380 | cat >>conftest.$ac_ext <<_ACEOF | ||
23381 | /* end confdefs.h. */ | ||
23382 | #include <sys/types.h> | ||
23383 | #include <netinet/in.h> | ||
23384 | |||
23385 | int | ||
23386 | main () | ||
23387 | { | ||
23388 | if (sizeof (in_port_t)) | ||
23389 | return 0; | ||
23390 | ; | ||
23391 | return 0; | ||
23392 | } | ||
23393 | _ACEOF | ||
23394 | rm -f conftest.$ac_objext | ||
23395 | if { (ac_try="$ac_compile" | ||
23396 | case "(($ac_try" in | ||
23397 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23398 | *) ac_try_echo=$ac_try;; | ||
23399 | esac | ||
23400 | eval 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 | ||
23415 | cat confdefs.h >>conftest.$ac_ext | ||
23416 | cat >>conftest.$ac_ext <<_ACEOF | ||
23417 | /* end confdefs.h. */ | ||
23418 | #include <sys/types.h> | ||
23419 | #include <netinet/in.h> | ||
23420 | |||
23421 | int | ||
23422 | main () | ||
23423 | { | ||
23424 | if (sizeof ((in_port_t))) | ||
23425 | return 0; | ||
23426 | ; | ||
23427 | return 0; | ||
23428 | } | ||
23429 | _ACEOF | ||
23430 | rm -f conftest.$ac_objext | ||
23431 | if { (ac_try="$ac_compile" | ||
23432 | case "(($ac_try" in | ||
23433 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23434 | *) ac_try_echo=$ac_try;; | ||
23435 | esac | ||
23436 | eval 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 | : | ||
23449 | else | ||
23450 | $as_echo "$as_me: failed program was:" >&5 | ||
23451 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23452 | |||
23453 | ac_cv_type_in_port_t=yes | ||
23454 | fi | ||
23455 | |||
23456 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
23457 | else | ||
23458 | $as_echo "$as_me: failed program was:" >&5 | ||
23459 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23460 | |||
23461 | |||
23462 | fi | ||
23463 | |||
23464 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
23465 | fi | ||
23466 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_in_port_t" >&5 | ||
23467 | $as_echo "$ac_cv_type_in_port_t" >&6; } | ||
23468 | if test $ac_cv_type_in_port_t = yes; then | ||
23469 | |||
23470 | cat >>confdefs.h <<_ACEOF | ||
23471 | #define HAVE_IN_PORT_T 1 | ||
23472 | _ACEOF | ||
23473 | |||
23474 | |||
23475 | fi | ||
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 |
22303 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } | 23479 | $as_echo_n "checking for size_t... " >&6; } |
22304 | if test "${ac_cv_have_size_t+set}" = set; then | 23480 | if test "${ac_cv_have_size_t+set}" = set; then |
22305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23481 | $as_echo_n "(cached) " >&6 |
22306 | else | 23482 | else |
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;; |
22330 | esac | 23506 | esac |
22331 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23507 | eval 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" |
22343 | else | 23520 | else |
22344 | echo "$as_me: failed program was:" >&5 | 23521 | $as_echo "$as_me: failed program was:" >&5 |
22345 | sed 's/^/| /' conftest.$ac_ext >&5 | 23522 | sed '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 | |||
22351 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23528 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22352 | 23529 | ||
22353 | fi | 23530 | fi |
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 |
22355 | echo "${ECHO_T}$ac_cv_have_size_t" >&6; } | 23532 | $as_echo "$ac_cv_have_size_t" >&6; } |
22356 | if test "x$ac_cv_have_size_t" = "xyes" ; then | 23533 | if test "x$ac_cv_have_size_t" = "xyes" ; then |
22357 | 23534 | ||
22358 | cat >>confdefs.h <<\_ACEOF | 23535 | cat >>confdefs.h <<\_ACEOF |
@@ -22361,10 +23538,10 @@ _ACEOF | |||
22361 | 23538 | ||
22362 | fi | 23539 | fi |
22363 | 23540 | ||
22364 | { echo "$as_me:$LINENO: checking for ssize_t" >&5 | 23541 | { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5 |
22365 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; } | 23542 | $as_echo_n "checking for ssize_t... " >&6; } |
22366 | if test "${ac_cv_have_ssize_t+set}" = set; then | 23543 | if test "${ac_cv_have_ssize_t+set}" = set; then |
22367 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23544 | $as_echo_n "(cached) " >&6 |
22368 | else | 23545 | else |
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;; |
22392 | esac | 23569 | esac |
22393 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23570 | eval 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" |
22405 | else | 23583 | else |
22406 | echo "$as_me: failed program was:" >&5 | 23584 | $as_echo "$as_me: failed program was:" >&5 |
22407 | sed 's/^/| /' conftest.$ac_ext >&5 | 23585 | sed '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 | |||
22413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23591 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22414 | 23592 | ||
22415 | fi | 23593 | fi |
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 |
22417 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6; } | 23595 | $as_echo "$ac_cv_have_ssize_t" >&6; } |
22418 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | 23596 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then |
22419 | 23597 | ||
22420 | cat >>confdefs.h <<\_ACEOF | 23598 | cat >>confdefs.h <<\_ACEOF |
@@ -22423,10 +23601,10 @@ _ACEOF | |||
22423 | 23601 | ||
22424 | fi | 23602 | fi |
22425 | 23603 | ||
22426 | { echo "$as_me:$LINENO: checking for clock_t" >&5 | 23604 | { $as_echo "$as_me:$LINENO: checking for clock_t" >&5 |
22427 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } | 23605 | $as_echo_n "checking for clock_t... " >&6; } |
22428 | if test "${ac_cv_have_clock_t+set}" = set; then | 23606 | if test "${ac_cv_have_clock_t+set}" = set; then |
22429 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23607 | $as_echo_n "(cached) " >&6 |
22430 | else | 23608 | else |
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;; |
22454 | esac | 23632 | esac |
22455 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23633 | eval 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" |
22467 | else | 23646 | else |
22468 | echo "$as_me: failed program was:" >&5 | 23647 | $as_echo "$as_me: failed program was:" >&5 |
22469 | sed 's/^/| /' conftest.$ac_ext >&5 | 23648 | sed '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 | |||
22475 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23654 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22476 | 23655 | ||
22477 | fi | 23656 | fi |
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 |
22479 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6; } | 23658 | $as_echo "$ac_cv_have_clock_t" >&6; } |
22480 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | 23659 | if test "x$ac_cv_have_clock_t" = "xyes" ; then |
22481 | 23660 | ||
22482 | cat >>confdefs.h <<\_ACEOF | 23661 | cat >>confdefs.h <<\_ACEOF |
@@ -22485,10 +23664,10 @@ _ACEOF | |||
22485 | 23664 | ||
22486 | fi | 23665 | fi |
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 |
22489 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; } | 23668 | $as_echo_n "checking for sa_family_t... " >&6; } |
22490 | if test "${ac_cv_have_sa_family_t+set}" = set; then | 23669 | if test "${ac_cv_have_sa_family_t+set}" = set; then |
22491 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23670 | $as_echo_n "(cached) " >&6 |
22492 | else | 23671 | else |
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;; |
22517 | esac | 23696 | esac |
22518 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23697 | eval 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" |
22530 | else | 23710 | else |
22531 | echo "$as_me: failed program was:" >&5 | 23711 | $as_echo "$as_me: failed program was:" >&5 |
22532 | sed 's/^/| /' conftest.$ac_ext >&5 | 23712 | sed '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;; |
22558 | esac | 23738 | esac |
22559 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23739 | eval 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" |
22571 | else | 23752 | else |
22572 | echo "$as_me: failed program was:" >&5 | 23753 | $as_echo "$as_me: failed program was:" >&5 |
22573 | sed 's/^/| /' conftest.$ac_ext >&5 | 23754 | sed '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 | |||
22583 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23764 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22584 | 23765 | ||
22585 | fi | 23766 | fi |
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 |
22587 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6; } | 23768 | $as_echo "$ac_cv_have_sa_family_t" >&6; } |
22588 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | 23769 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then |
22589 | 23770 | ||
22590 | cat >>confdefs.h <<\_ACEOF | 23771 | cat >>confdefs.h <<\_ACEOF |
@@ -22593,10 +23774,10 @@ _ACEOF | |||
22593 | 23774 | ||
22594 | fi | 23775 | fi |
22595 | 23776 | ||
22596 | { echo "$as_me:$LINENO: checking for pid_t" >&5 | 23777 | { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 |
22597 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } | 23778 | $as_echo_n "checking for pid_t... " >&6; } |
22598 | if test "${ac_cv_have_pid_t+set}" = set; then | 23779 | if test "${ac_cv_have_pid_t+set}" = set; then |
22599 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23780 | $as_echo_n "(cached) " >&6 |
22600 | else | 23781 | else |
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;; |
22624 | esac | 23805 | esac |
22625 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23806 | eval 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" |
22637 | else | 23819 | else |
22638 | echo "$as_me: failed program was:" >&5 | 23820 | $as_echo "$as_me: failed program was:" >&5 |
22639 | sed 's/^/| /' conftest.$ac_ext >&5 | 23821 | sed '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 | |||
22645 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23827 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22646 | 23828 | ||
22647 | fi | 23829 | fi |
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 |
22649 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6; } | 23831 | $as_echo "$ac_cv_have_pid_t" >&6; } |
22650 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | 23832 | if test "x$ac_cv_have_pid_t" = "xyes" ; then |
22651 | 23833 | ||
22652 | cat >>confdefs.h <<\_ACEOF | 23834 | cat >>confdefs.h <<\_ACEOF |
@@ -22655,10 +23837,10 @@ _ACEOF | |||
22655 | 23837 | ||
22656 | fi | 23838 | fi |
22657 | 23839 | ||
22658 | { echo "$as_me:$LINENO: checking for mode_t" >&5 | 23840 | { $as_echo "$as_me:$LINENO: checking for mode_t" >&5 |
22659 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } | 23841 | $as_echo_n "checking for mode_t... " >&6; } |
22660 | if test "${ac_cv_have_mode_t+set}" = set; then | 23842 | if test "${ac_cv_have_mode_t+set}" = set; then |
22661 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23843 | $as_echo_n "(cached) " >&6 |
22662 | else | 23844 | else |
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;; |
22686 | esac | 23868 | esac |
22687 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23869 | eval 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" |
22699 | else | 23882 | else |
22700 | echo "$as_me: failed program was:" >&5 | 23883 | $as_echo "$as_me: failed program was:" >&5 |
22701 | sed 's/^/| /' conftest.$ac_ext >&5 | 23884 | sed '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 | |||
22707 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23890 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22708 | 23891 | ||
22709 | fi | 23892 | fi |
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 |
22711 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6; } | 23894 | $as_echo "$ac_cv_have_mode_t" >&6; } |
22712 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | 23895 | if test "x$ac_cv_have_mode_t" = "xyes" ; then |
22713 | 23896 | ||
22714 | cat >>confdefs.h <<\_ACEOF | 23897 | cat >>confdefs.h <<\_ACEOF |
@@ -22718,10 +23901,10 @@ _ACEOF | |||
22718 | fi | 23901 | fi |
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 |
22722 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; } | 23905 | $as_echo_n "checking for struct sockaddr_storage... " >&6; } |
22723 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then | 23906 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then |
22724 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23907 | $as_echo_n "(cached) " >&6 |
22725 | else | 23908 | else |
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;; |
22750 | esac | 23933 | esac |
22751 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23934 | eval 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" |
22763 | else | 23947 | else |
22764 | echo "$as_me: failed program was:" >&5 | 23948 | $as_echo "$as_me: failed program was:" >&5 |
22765 | sed 's/^/| /' conftest.$ac_ext >&5 | 23949 | sed '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 | |||
22771 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23955 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22772 | 23956 | ||
22773 | fi | 23957 | fi |
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 |
22775 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; } | 23959 | $as_echo "$ac_cv_have_struct_sockaddr_storage" >&6; } |
22776 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | 23960 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then |
22777 | 23961 | ||
22778 | cat >>confdefs.h <<\_ACEOF | 23962 | cat >>confdefs.h <<\_ACEOF |
@@ -22781,10 +23965,10 @@ _ACEOF | |||
22781 | 23965 | ||
22782 | fi | 23966 | fi |
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 |
22785 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; } | 23969 | $as_echo_n "checking for struct sockaddr_in6... " >&6; } |
22786 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then | 23970 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then |
22787 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23971 | $as_echo_n "(cached) " >&6 |
22788 | else | 23972 | else |
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;; |
22813 | esac | 23997 | esac |
22814 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 23998 | eval 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" |
22826 | else | 24011 | else |
22827 | echo "$as_me: failed program was:" >&5 | 24012 | $as_echo "$as_me: failed program was:" >&5 |
22828 | sed 's/^/| /' conftest.$ac_ext >&5 | 24013 | sed '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 | |||
22834 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24019 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22835 | 24020 | ||
22836 | fi | 24021 | fi |
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 |
22838 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; } | 24023 | $as_echo "$ac_cv_have_struct_sockaddr_in6" >&6; } |
22839 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | 24024 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then |
22840 | 24025 | ||
22841 | cat >>confdefs.h <<\_ACEOF | 24026 | cat >>confdefs.h <<\_ACEOF |
@@ -22844,10 +24029,10 @@ _ACEOF | |||
22844 | 24029 | ||
22845 | fi | 24030 | fi |
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 |
22848 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; } | 24033 | $as_echo_n "checking for struct in6_addr... " >&6; } |
22849 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then | 24034 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then |
22850 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24035 | $as_echo_n "(cached) " >&6 |
22851 | else | 24036 | else |
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;; |
22876 | esac | 24061 | esac |
22877 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 24062 | eval 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" |
22889 | else | 24075 | else |
22890 | echo "$as_me: failed program was:" >&5 | 24076 | $as_echo "$as_me: failed program was:" >&5 |
22891 | sed 's/^/| /' conftest.$ac_ext >&5 | 24077 | sed '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 | |||
22897 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24083 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22898 | 24084 | ||
22899 | fi | 24085 | fi |
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 |
22901 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; } | 24087 | $as_echo "$ac_cv_have_struct_in6_addr" >&6; } |
22902 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | 24088 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then |
22903 | 24089 | ||
22904 | cat >>confdefs.h <<\_ACEOF | 24090 | cat >>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 |
22910 | echo $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; } |
22911 | if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then | 24097 | if 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 |
22913 | else | 24099 | else |
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;; |
22942 | esac | 24128 | esac |
22943 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 24129 | eval 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 |
22955 | else | 24142 | else |
22956 | echo "$as_me: failed program was:" >&5 | 24143 | $as_echo "$as_me: failed program was:" >&5 |
22957 | sed 's/^/| /' conftest.$ac_ext >&5 | 24144 | sed '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;; |
22987 | esac | 24174 | esac |
22988 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 24175 | eval 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 |
23000 | else | 24188 | else |
23001 | echo "$as_me: failed program was:" >&5 | 24189 | $as_echo "$as_me: failed program was:" >&5 |
23002 | sed 's/^/| /' conftest.$ac_ext >&5 | 24190 | sed '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 | ||
23010 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24198 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
23011 | fi | 24199 | fi |
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 |
23013 | echo "${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; } |
23014 | if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then | 24202 | if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then |
23015 | 24203 | ||
23016 | cat >>confdefs.h <<_ACEOF | 24204 | cat >>confdefs.h <<_ACEOF |
@@ -23022,10 +24210,10 @@ fi | |||
23022 | 24210 | ||
23023 | fi | 24211 | fi |
23024 | 24212 | ||
23025 | { echo "$as_me:$LINENO: checking for struct addrinfo" >&5 | 24213 | { $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
23026 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; } | 24214 | $as_echo_n "checking for struct addrinfo... " >&6; } |
23027 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then | 24215 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then |
23028 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24216 | $as_echo_n "(cached) " >&6 |
23029 | else | 24217 | else |
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;; |
23055 | esac | 24243 | esac |
23056 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 24244 | eval 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" |
23068 | else | 24257 | else |
23069 | echo "$as_me: failed program was:" >&5 | 24258 | $as_echo "$as_me: failed program was:" >&5 |
23070 | sed 's/^/| /' conftest.$ac_ext >&5 | 24259 | sed '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 | |||
23076 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24265 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
23077 | 24266 | ||
23078 | fi | 24267 | fi |
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 |
23080 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; } | 24269 | $as_echo "$ac_cv_have_struct_addrinfo" >&6; } |
23081 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | 24270 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then |
23082 | 24271 | ||
23083 | cat >>confdefs.h <<\_ACEOF | 24272 | cat >>confdefs.h <<\_ACEOF |
@@ -23086,10 +24275,10 @@ _ACEOF | |||
23086 | 24275 | ||
23087 | fi | 24276 | fi |
23088 | 24277 | ||
23089 | { echo "$as_me:$LINENO: checking for struct timeval" >&5 | 24278 | { $as_echo "$as_me:$LINENO: checking for struct timeval" >&5 |
23090 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } | 24279 | $as_echo_n "checking for struct timeval... " >&6; } |
23091 | if test "${ac_cv_have_struct_timeval+set}" = set; then | 24280 | if test "${ac_cv_have_struct_timeval+set}" = set; then |
23092 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24281 | $as_echo_n "(cached) " >&6 |
23093 | else | 24282 | else |
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;; |
23115 | esac | 24304 | esac |
23116 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 24305 | eval 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" |
23128 | else | 24318 | else |
23129 | echo "$as_me: failed program was:" >&5 | 24319 | $as_echo "$as_me: failed program was:" >&5 |
23130 | sed 's/^/| /' conftest.$ac_ext >&5 | 24320 | sed '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 | |||
23136 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24326 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
23137 | 24327 | ||
23138 | fi | 24328 | fi |
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 |
23140 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6; } | 24330 | $as_echo "$ac_cv_have_struct_timeval" >&6; } |
23141 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | 24331 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then |
23142 | 24332 | ||
23143 | cat >>confdefs.h <<\_ACEOF | 24333 | cat >>confdefs.h <<\_ACEOF |
@@ -23147,26 +24337,58 @@ _ACEOF | |||
23147 | have_struct_timeval=1 | 24337 | have_struct_timeval=1 |
23148 | fi | 24338 | fi |
23149 | 24339 | ||
23150 | { echo "$as_me:$LINENO: checking for struct timespec" >&5 | 24340 | { $as_echo "$as_me:$LINENO: checking for struct timespec" >&5 |
23151 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6; } | 24341 | $as_echo_n "checking for struct timespec... " >&6; } |
23152 | if test "${ac_cv_type_struct_timespec+set}" = set; then | 24342 | if test "${ac_cv_type_struct_timespec+set}" = set; then |
23153 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24343 | $as_echo_n "(cached) " >&6 |
23154 | else | 24344 | else |
23155 | cat >conftest.$ac_ext <<_ACEOF | 24345 | ac_cv_type_struct_timespec=no |
24346 | cat >conftest.$ac_ext <<_ACEOF | ||
23156 | /* confdefs.h. */ | 24347 | /* confdefs.h. */ |
23157 | _ACEOF | 24348 | _ACEOF |
23158 | cat confdefs.h >>conftest.$ac_ext | 24349 | cat confdefs.h >>conftest.$ac_ext |
23159 | cat >>conftest.$ac_ext <<_ACEOF | 24350 | cat >>conftest.$ac_ext <<_ACEOF |
23160 | /* end confdefs.h. */ | 24351 | /* end confdefs.h. */ |
23161 | $ac_includes_default | 24352 | $ac_includes_default |
23162 | typedef struct timespec ac__type_new_; | ||
23163 | int | 24353 | int |
23164 | main () | 24354 | main () |
23165 | { | 24355 | { |
23166 | if ((ac__type_new_ *) 0) | 24356 | if (sizeof (struct timespec)) |
23167 | return 0; | 24357 | return 0; |
23168 | if (sizeof (ac__type_new_)) | 24358 | ; |
23169 | return 0; | 24359 | return 0; |
24360 | } | ||
24361 | _ACEOF | ||
24362 | rm -f conftest.$ac_objext | ||
24363 | if { (ac_try="$ac_compile" | ||
24364 | case "(($ac_try" in | ||
24365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24366 | *) ac_try_echo=$ac_try;; | ||
24367 | esac | ||
24368 | eval 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 | ||
24383 | cat confdefs.h >>conftest.$ac_ext | ||
24384 | cat >>conftest.$ac_ext <<_ACEOF | ||
24385 | /* end confdefs.h. */ | ||
24386 | $ac_includes_default | ||
24387 | int | ||
24388 | main () | ||
24389 | { | ||
24390 | if (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;; |
23179 | esac | 24401 | esac |
23180 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 24402 | eval 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 | : |
23192 | else | 24415 | else |
23193 | echo "$as_me: failed program was:" >&5 | 24416 | $as_echo "$as_me: failed program was:" >&5 |
23194 | sed 's/^/| /' conftest.$ac_ext >&5 | 24417 | sed 's/^/| /' conftest.$ac_ext >&5 |
23195 | 24418 | ||
23196 | ac_cv_type_struct_timespec=no | 24419 | ac_cv_type_struct_timespec=yes |
24420 | fi | ||
24421 | |||
24422 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24423 | else | ||
24424 | $as_echo "$as_me: failed program was:" >&5 | ||
24425 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24426 | |||
24427 | |||
23197 | fi | 24428 | fi |
23198 | 24429 | ||
23199 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 24430 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
23200 | fi | 24431 | fi |
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 |
23202 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6; } | 24433 | $as_echo "$ac_cv_type_struct_timespec" >&6; } |
23203 | if test $ac_cv_type_struct_timespec = yes; then | 24434 | if test $ac_cv_type_struct_timespec = yes; then |
23204 | 24435 | ||
23205 | cat >>confdefs.h <<_ACEOF | 24436 | cat >>confdefs.h <<_ACEOF |
@@ -23220,8 +24451,8 @@ if test "x$ac_cv_have_int64_t" = "xno" && \ | |||
23220 | exit 1; | 24451 | exit 1; |
23221 | else | 24452 | else |
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 |
23224 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} | 24455 | $as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
23225 | 24456 | ||
23226 | else | 24457 | else |
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;; |
23263 | esac | 24494 | esac |
23264 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 24495 | eval 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;; |
23272 | esac | 24504 | esac |
23273 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 24505 | eval 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 |
23279 | else | 24512 | else |
23280 | echo "$as_me: program exited with status $ac_status" >&5 | 24513 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
23281 | echo "$as_me: failed program was:" >&5 | 24514 | $as_echo "$as_me: failed program was:" >&5 |
23282 | sed 's/^/| /' conftest.$ac_ext >&5 | 24515 | sed '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 | ||
23289 | fi | 24522 | fi |
24523 | rm -rf conftest.dSYM | ||
23290 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 24524 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
23291 | fi | 24525 | fi |
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 |
23301 | echo $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 |
23304 | else | 24538 | else |
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 |
23328 | echo "${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 | ||
23331 | cat >>confdefs.h <<\_ACEOF | 24565 | cat >>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 |
23338 | echo "${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 |
23346 | echo $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 |
23349 | else | 24583 | else |
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 |
23373 | echo "${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 | ||
23376 | cat >>confdefs.h <<\_ACEOF | 24610 | cat >>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 |
23383 | echo "${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 |
23391 | echo $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 |
23394 | else | 24628 | else |
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 |
23418 | echo "${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 | ||
23421 | cat >>confdefs.h <<\_ACEOF | 24655 | cat >>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 |
23428 | echo "${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 |
23436 | echo $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 |
23439 | else | 24673 | else |
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 |
23463 | echo "${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 | ||
23466 | cat >>confdefs.h <<\_ACEOF | 24700 | cat >>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 |
23473 | echo "${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 |
23481 | echo $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 |
23484 | else | 24718 | else |
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 |
23508 | echo "${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 | ||
23511 | cat >>confdefs.h <<\_ACEOF | 24745 | cat >>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 |
23518 | echo "${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 |
23526 | echo $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 |
23529 | else | 24763 | else |
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 |
23553 | echo "${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 | ||
23556 | cat >>confdefs.h <<\_ACEOF | 24790 | cat >>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 |
23563 | echo "${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 |
23571 | echo $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 |
23574 | else | 24808 | else |
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 |
23598 | echo "${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 | ||
23601 | cat >>confdefs.h <<\_ACEOF | 24835 | cat >>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 |
23608 | echo "${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 |
23616 | echo $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 |
23619 | else | 24853 | else |
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 |
23643 | echo "${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 | ||
23646 | cat >>confdefs.h <<\_ACEOF | 24880 | cat >>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 |
23653 | echo "${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 |
23661 | echo $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 |
23664 | else | 24898 | else |
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 |
23688 | echo "${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 | ||
23691 | cat >>confdefs.h <<\_ACEOF | 24925 | cat >>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 |
23698 | echo "${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 |
23706 | echo $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 |
23709 | else | 24943 | else |
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 |
23733 | echo "${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 | ||
23736 | cat >>confdefs.h <<\_ACEOF | 24970 | cat >>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 |
23743 | echo "${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 |
23751 | echo $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 |
23754 | else | 24988 | else |
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 |
23778 | echo "${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 | ||
23781 | cat >>confdefs.h <<\_ACEOF | 25015 | cat >>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 |
23788 | echo "${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 |
23796 | echo $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 |
23799 | else | 25033 | else |
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 |
23823 | echo "${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 | ||
23826 | cat >>confdefs.h <<\_ACEOF | 25060 | cat >>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 |
23833 | echo "${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 |
23841 | echo $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 |
23844 | else | 25078 | else |
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 |
23868 | echo "${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 | ||
23871 | cat >>confdefs.h <<\_ACEOF | 25105 | cat >>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 |
23878 | echo "${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 |
23886 | echo $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 |
23889 | else | 25123 | else |
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 |
23913 | echo "${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 | ||
23916 | cat >>confdefs.h <<\_ACEOF | 25150 | cat >>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 |
23923 | echo "${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 |
23931 | echo $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 |
23934 | else | 25168 | else |
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 |
23958 | echo "${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 | ||
23961 | cat >>confdefs.h <<\_ACEOF | 25195 | cat >>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 |
23968 | echo "${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 |
23976 | echo $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 |
23979 | else | 25213 | else |
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 |
24003 | echo "${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 | ||
24006 | cat >>confdefs.h <<\_ACEOF | 25240 | cat >>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 |
24013 | echo "${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 |
24021 | echo $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 |
24024 | else | 25258 | else |
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 |
24048 | echo "${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 | ||
24051 | cat >>confdefs.h <<\_ACEOF | 25285 | cat >>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 |
24058 | echo "${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 |
24063 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; } | 25297 | $as_echo_n "checking for struct stat.st_blksize... " >&6; } |
24064 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then | 25298 | if 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 |
24066 | else | 25300 | else |
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;; |
24089 | esac | 25323 | esac |
24090 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25324 | eval 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 |
24102 | else | 25337 | else |
24103 | echo "$as_me: failed program was:" >&5 | 25338 | $as_echo "$as_me: failed program was:" >&5 |
24104 | sed 's/^/| /' conftest.$ac_ext >&5 | 25339 | sed '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;; |
24128 | esac | 25363 | esac |
24129 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25364 | eval 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 |
24141 | else | 25377 | else |
24142 | echo "$as_me: failed program was:" >&5 | 25378 | $as_echo "$as_me: failed program was:" >&5 |
24143 | sed 's/^/| /' conftest.$ac_ext >&5 | 25379 | sed '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 | ||
24151 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25387 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24152 | fi | 25388 | fi |
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 |
24154 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; } | 25390 | $as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; } |
24155 | if test $ac_cv_member_struct_stat_st_blksize = yes; then | 25391 | if test $ac_cv_member_struct_stat_st_blksize = yes; then |
24156 | 25392 | ||
24157 | cat >>confdefs.h <<_ACEOF | 25393 | cat >>confdefs.h <<_ACEOF |
@@ -24161,10 +25397,10 @@ _ACEOF | |||
24161 | 25397 | ||
24162 | fi | 25398 | fi |
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 |
24165 | echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6; } | 25401 | $as_echo_n "checking for struct __res_state.retrans... " >&6; } |
24166 | if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then | 25402 | if 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 |
24168 | else | 25404 | else |
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;; |
24200 | esac | 25436 | esac |
24201 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25437 | eval 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 |
24213 | else | 25450 | else |
24214 | echo "$as_me: failed program was:" >&5 | 25451 | $as_echo "$as_me: failed program was:" >&5 |
24215 | sed 's/^/| /' conftest.$ac_ext >&5 | 25452 | sed '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;; |
24248 | esac | 25485 | esac |
24249 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25486 | eval 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 |
24261 | else | 25499 | else |
24262 | echo "$as_me: failed program was:" >&5 | 25500 | $as_echo "$as_me: failed program was:" >&5 |
24263 | sed 's/^/| /' conftest.$ac_ext >&5 | 25501 | sed '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 | ||
24271 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25509 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24272 | fi | 25510 | fi |
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 |
24274 | echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6; } | 25512 | $as_echo "$ac_cv_member_struct___res_state_retrans" >&6; } |
24275 | if test $ac_cv_member_struct___res_state_retrans = yes; then | 25513 | if test $ac_cv_member_struct___res_state_retrans = yes; then |
24276 | : | 25514 | : |
24277 | else | 25515 | else |
@@ -24283,10 +25521,10 @@ _ACEOF | |||
24283 | fi | 25521 | fi |
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 |
24287 | echo $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; } |
24288 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then | 25526 | if 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 |
24290 | else | 25528 | else |
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;; |
24315 | esac | 25553 | esac |
24316 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25554 | eval 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" |
24328 | else | 25567 | else |
24329 | echo "$as_me: failed program was:" >&5 | 25568 | $as_echo "$as_me: failed program was:" >&5 |
24330 | sed 's/^/| /' conftest.$ac_ext >&5 | 25569 | sed '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 | |||
24335 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25574 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24336 | 25575 | ||
24337 | fi | 25576 | fi |
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 |
24339 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6; } | 25578 | $as_echo "$ac_cv_have_ss_family_in_struct_ss" >&6; } |
24340 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then | 25579 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then |
24341 | 25580 | ||
24342 | cat >>confdefs.h <<\_ACEOF | 25581 | cat >>confdefs.h <<\_ACEOF |
@@ -24345,10 +25584,10 @@ _ACEOF | |||
24345 | 25584 | ||
24346 | fi | 25585 | fi |
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 |
24349 | echo $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; } |
24350 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then | 25589 | if 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 |
24352 | else | 25591 | else |
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;; |
24377 | esac | 25616 | esac |
24378 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25617 | eval 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" |
24390 | else | 25630 | else |
24391 | echo "$as_me: failed program was:" >&5 | 25631 | $as_echo "$as_me: failed program was:" >&5 |
24392 | sed 's/^/| /' conftest.$ac_ext >&5 | 25632 | sed '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 | |||
24398 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25638 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24399 | 25639 | ||
24400 | fi | 25640 | fi |
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 |
24402 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6; } | 25642 | $as_echo "$ac_cv_have___ss_family_in_struct_ss" >&6; } |
24403 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then | 25643 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then |
24404 | 25644 | ||
24405 | cat >>confdefs.h <<\_ACEOF | 25645 | cat >>confdefs.h <<\_ACEOF |
@@ -24408,10 +25648,10 @@ _ACEOF | |||
24408 | 25648 | ||
24409 | fi | 25649 | fi |
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 |
24412 | echo $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; } |
24413 | if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then | 25653 | if 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 |
24415 | else | 25655 | else |
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;; |
24439 | esac | 25679 | esac |
24440 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25680 | eval 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" |
24452 | else | 25693 | else |
24453 | echo "$as_me: failed program was:" >&5 | 25694 | $as_echo "$as_me: failed program was:" >&5 |
24454 | sed 's/^/| /' conftest.$ac_ext >&5 | 25695 | sed '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 | |||
24460 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25701 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24461 | 25702 | ||
24462 | fi | 25703 | fi |
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 |
24464 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6; } | 25705 | $as_echo "$ac_cv_have_pw_class_in_struct_passwd" >&6; } |
24465 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then | 25706 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then |
24466 | 25707 | ||
24467 | cat >>confdefs.h <<\_ACEOF | 25708 | cat >>confdefs.h <<\_ACEOF |
@@ -24470,10 +25711,10 @@ _ACEOF | |||
24470 | 25711 | ||
24471 | fi | 25712 | fi |
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 |
24474 | echo $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; } |
24475 | if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then | 25716 | if 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 |
24477 | else | 25718 | else |
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;; |
24501 | esac | 25742 | esac |
24502 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25743 | eval 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" |
24514 | else | 25756 | else |
24515 | echo "$as_me: failed program was:" >&5 | 25757 | $as_echo "$as_me: failed program was:" >&5 |
24516 | sed 's/^/| /' conftest.$ac_ext >&5 | 25758 | sed '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 | |||
24522 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25764 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24523 | 25765 | ||
24524 | fi | 25766 | fi |
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 |
24526 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6; } | 25768 | $as_echo "$ac_cv_have_pw_expire_in_struct_passwd" >&6; } |
24527 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then | 25769 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then |
24528 | 25770 | ||
24529 | cat >>confdefs.h <<\_ACEOF | 25771 | cat >>confdefs.h <<\_ACEOF |
@@ -24532,10 +25774,10 @@ _ACEOF | |||
24532 | 25774 | ||
24533 | fi | 25775 | fi |
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 |
24536 | echo $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; } |
24537 | if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then | 25779 | if 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 |
24539 | else | 25781 | else |
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;; |
24563 | esac | 25805 | esac |
24564 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25806 | eval 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" |
24576 | else | 25819 | else |
24577 | echo "$as_me: failed program was:" >&5 | 25820 | $as_echo "$as_me: failed program was:" >&5 |
24578 | sed 's/^/| /' conftest.$ac_ext >&5 | 25821 | sed '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 | |||
24584 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25827 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24585 | 25828 | ||
24586 | fi | 25829 | fi |
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 |
24588 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6; } | 25831 | $as_echo "$ac_cv_have_pw_change_in_struct_passwd" >&6; } |
24589 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then | 25832 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then |
24590 | 25833 | ||
24591 | cat >>confdefs.h <<\_ACEOF | 25834 | cat >>confdefs.h <<\_ACEOF |
@@ -24594,10 +25837,10 @@ _ACEOF | |||
24594 | 25837 | ||
24595 | fi | 25838 | fi |
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 |
24598 | echo $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; } |
24599 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then | 25842 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then |
24600 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 25843 | $as_echo_n "(cached) " >&6 |
24601 | else | 25844 | else |
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;; |
24624 | esac | 25867 | esac |
24625 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25868 | eval 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" |
24637 | else | 25881 | else |
24638 | echo "$as_me: failed program was:" >&5 | 25882 | $as_echo "$as_me: failed program was:" >&5 |
24639 | sed 's/^/| /' conftest.$ac_ext >&5 | 25883 | sed '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 | |||
24645 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 25889 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24646 | 25890 | ||
24647 | fi | 25891 | fi |
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 |
24649 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6; } | 25893 | $as_echo "$ac_cv_have_accrights_in_msghdr" >&6; } |
24650 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | 25894 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then |
24651 | 25895 | ||
24652 | cat >>confdefs.h <<\_ACEOF | 25896 | cat >>confdefs.h <<\_ACEOF |
@@ -24655,8 +25899,8 @@ _ACEOF | |||
24655 | 25899 | ||
24656 | fi | 25900 | fi |
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 |
24659 | echo $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; } |
24660 | cat >conftest.$ac_ext <<_ACEOF | 25904 | cat >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 | |||
25923 | int | ||
25924 | main () | ||
25925 | { | ||
25926 | struct statvfs s; s.f_fsid = 0; | ||
25927 | ; | ||
25928 | return 0; | ||
25929 | } | ||
25930 | _ACEOF | ||
25931 | rm -f conftest.$ac_objext | ||
25932 | if { (ac_try="$ac_compile" | ||
25933 | case "(($ac_try" in | ||
25934 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25935 | *) ac_try_echo=$ac_try;; | ||
25936 | esac | ||
25937 | eval 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; } | ||
25951 | else | ||
25952 | $as_echo "$as_me: failed program was:" >&5 | ||
25953 | sed '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 | ||
25963 | cat confdefs.h >>conftest.$ac_ext | ||
25964 | cat >>conftest.$ac_ext <<_ACEOF | ||
25965 | /* end confdefs.h. */ | ||
25966 | |||
25967 | #include <sys/types.h> | ||
24668 | #include <sys/statvfs.h> | 25968 | #include <sys/statvfs.h> |
24669 | int | 25969 | int |
24670 | main () | 25970 | main () |
24671 | { | 25971 | { |
24672 | struct fsid_t t; t.val[0] = 0; | 25972 | fsid_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;; |
24682 | esac | 25982 | esac |
24683 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 25983 | eval 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 |
24695 | echo "${ECHO_T}yes" >&6; } | 25996 | $as_echo "yes" >&6; } |
24696 | 25997 | ||
24697 | cat >>confdefs.h <<\_ACEOF | 25998 | cat >>confdefs.h <<\_ACEOF |
24698 | #define FSID_HAS_VAL 1 | 25999 | #define FSID_HAS_VAL 1 |
24699 | _ACEOF | 26000 | _ACEOF |
24700 | 26001 | ||
24701 | else | 26002 | else |
24702 | echo "$as_me: failed program was:" >&5 | 26003 | $as_echo "$as_me: failed program was:" >&5 |
24703 | sed 's/^/| /' conftest.$ac_ext >&5 | 26004 | sed 's/^/| /' conftest.$ac_ext >&5 |
24704 | 26005 | ||
24705 | { echo "$as_me:$LINENO: result: no" >&5 | 26006 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
24706 | echo "${ECHO_T}no" >&6; } | 26007 | $as_echo "no" >&6; } |
26008 | fi | ||
26009 | |||
26010 | rm -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 | ||
26017 | cat confdefs.h >>conftest.$ac_ext | ||
26018 | cat >>conftest.$ac_ext <<_ACEOF | ||
26019 | /* end confdefs.h. */ | ||
24707 | 26020 | ||
26021 | #include <sys/types.h> | ||
26022 | #include <sys/statvfs.h> | ||
26023 | int | ||
26024 | main () | ||
26025 | { | ||
26026 | fsid_t t; t.__val[0] = 0; | ||
26027 | ; | ||
26028 | return 0; | ||
26029 | } | ||
26030 | _ACEOF | ||
26031 | rm -f conftest.$ac_objext | ||
26032 | if { (ac_try="$ac_compile" | ||
26033 | case "(($ac_try" in | ||
26034 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26035 | *) ac_try_echo=$ac_try;; | ||
26036 | esac | ||
26037 | eval 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 | |||
26052 | cat >>confdefs.h <<\_ACEOF | ||
26053 | #define FSID_HAS___VAL 1 | ||
26054 | _ACEOF | ||
26055 | |||
26056 | else | ||
26057 | $as_echo "$as_me: failed program was:" >&5 | ||
26058 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26059 | |||
26060 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
26061 | $as_echo "no" >&6; } | ||
24708 | fi | 26062 | fi |
24709 | 26063 | ||
24710 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26064 | rm -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 | 26066 | fi |
24713 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; } | 26067 | |
26068 | rm -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; } | ||
24714 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then | 26072 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then |
24715 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26073 | $as_echo_n "(cached) " >&6 |
24716 | else | 26074 | else |
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;; |
24739 | esac | 26097 | esac |
24740 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26098 | eval 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" |
24752 | else | 26111 | else |
24753 | echo "$as_me: failed program was:" >&5 | 26112 | $as_echo "$as_me: failed program was:" >&5 |
24754 | sed 's/^/| /' conftest.$ac_ext >&5 | 26113 | sed '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 | |||
24760 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26119 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24761 | 26120 | ||
24762 | fi | 26121 | fi |
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 |
24764 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6; } | 26123 | $as_echo "$ac_cv_have_control_in_msghdr" >&6; } |
24765 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | 26124 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then |
24766 | 26125 | ||
24767 | cat >>confdefs.h <<\_ACEOF | 26126 | cat >>confdefs.h <<\_ACEOF |
@@ -24770,10 +26129,10 @@ _ACEOF | |||
24770 | 26129 | ||
24771 | fi | 26130 | fi |
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 |
24774 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6; } | 26133 | $as_echo_n "checking if libc defines __progname... " >&6; } |
24775 | if test "${ac_cv_libc_defines___progname+set}" = set; then | 26134 | if test "${ac_cv_libc_defines___progname+set}" = set; then |
24776 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26135 | $as_echo_n "(cached) " >&6 |
24777 | else | 26136 | else |
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;; |
24799 | esac | 26158 | esac |
24800 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26159 | eval 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" |
24813 | else | 26175 | else |
24814 | echo "$as_me: failed program was:" >&5 | 26176 | $as_echo "$as_me: failed program was:" >&5 |
24815 | sed 's/^/| /' conftest.$ac_ext >&5 | 26177 | sed 's/^/| /' conftest.$ac_ext >&5 |
24816 | 26178 | ||
24817 | ac_cv_libc_defines___progname="no" | 26179 | ac_cv_libc_defines___progname="no" |
24818 | 26180 | ||
24819 | fi | 26181 | fi |
24820 | 26182 | ||
26183 | rm -rf conftest.dSYM | ||
24821 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26184 | rm -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 | ||
24824 | fi | 26187 | fi |
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 |
24826 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6; } | 26189 | $as_echo "$ac_cv_libc_defines___progname" >&6; } |
24827 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | 26190 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then |
24828 | 26191 | ||
24829 | cat >>confdefs.h <<\_ACEOF | 26192 | cat >>confdefs.h <<\_ACEOF |
@@ -24832,10 +26195,10 @@ _ACEOF | |||
24832 | 26195 | ||
24833 | fi | 26196 | fi |
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 |
24836 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6; } | 26199 | $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; } |
24837 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then | 26200 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then |
24838 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26201 | $as_echo_n "(cached) " >&6 |
24839 | else | 26202 | else |
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;; |
24863 | esac | 26226 | esac |
24864 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26227 | eval 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" |
24877 | else | 26243 | else |
24878 | echo "$as_me: failed program was:" >&5 | 26244 | $as_echo "$as_me: failed program was:" >&5 |
24879 | sed 's/^/| /' conftest.$ac_ext >&5 | 26245 | sed 's/^/| /' conftest.$ac_ext >&5 |
24880 | 26246 | ||
24881 | ac_cv_cc_implements___FUNCTION__="no" | 26247 | ac_cv_cc_implements___FUNCTION__="no" |
24882 | 26248 | ||
24883 | fi | 26249 | fi |
24884 | 26250 | ||
26251 | rm -rf conftest.dSYM | ||
24885 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26252 | rm -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 | ||
24888 | fi | 26255 | fi |
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 |
24890 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6; } | 26257 | $as_echo "$ac_cv_cc_implements___FUNCTION__" >&6; } |
24891 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | 26258 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then |
24892 | 26259 | ||
24893 | cat >>confdefs.h <<\_ACEOF | 26260 | cat >>confdefs.h <<\_ACEOF |
@@ -24896,10 +26263,10 @@ _ACEOF | |||
24896 | 26263 | ||
24897 | fi | 26264 | fi |
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 |
24900 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6; } | 26267 | $as_echo_n "checking whether $CC implements __func__... " >&6; } |
24901 | if test "${ac_cv_cc_implements___func__+set}" = set; then | 26268 | if test "${ac_cv_cc_implements___func__+set}" = set; then |
24902 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26269 | $as_echo_n "(cached) " >&6 |
24903 | else | 26270 | else |
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;; |
24927 | esac | 26294 | esac |
24928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26295 | eval 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" |
24941 | else | 26311 | else |
24942 | echo "$as_me: failed program was:" >&5 | 26312 | $as_echo "$as_me: failed program was:" >&5 |
24943 | sed 's/^/| /' conftest.$ac_ext >&5 | 26313 | sed 's/^/| /' conftest.$ac_ext >&5 |
24944 | 26314 | ||
24945 | ac_cv_cc_implements___func__="no" | 26315 | ac_cv_cc_implements___func__="no" |
24946 | 26316 | ||
24947 | fi | 26317 | fi |
24948 | 26318 | ||
26319 | rm -rf conftest.dSYM | ||
24949 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26320 | rm -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 | ||
24952 | fi | 26323 | fi |
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 |
24954 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6; } | 26325 | $as_echo "$ac_cv_cc_implements___func__" >&6; } |
24955 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | 26326 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then |
24956 | 26327 | ||
24957 | cat >>confdefs.h <<\_ACEOF | 26328 | cat >>confdefs.h <<\_ACEOF |
@@ -24960,10 +26331,10 @@ _ACEOF | |||
24960 | 26331 | ||
24961 | fi | 26332 | fi |
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 |
24964 | echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6; } | 26335 | $as_echo_n "checking whether va_copy exists... " >&6; } |
24965 | if test "${ac_cv_have_va_copy+set}" = set; then | 26336 | if test "${ac_cv_have_va_copy+set}" = set; then |
24966 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26337 | $as_echo_n "(cached) " >&6 |
24967 | else | 26338 | else |
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;; |
24990 | esac | 26361 | esac |
24991 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26362 | eval 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" |
25004 | else | 26378 | else |
25005 | echo "$as_me: failed program was:" >&5 | 26379 | $as_echo "$as_me: failed program was:" >&5 |
25006 | sed 's/^/| /' conftest.$ac_ext >&5 | 26380 | sed 's/^/| /' conftest.$ac_ext >&5 |
25007 | 26381 | ||
25008 | ac_cv_have_va_copy="no" | 26382 | ac_cv_have_va_copy="no" |
25009 | 26383 | ||
25010 | fi | 26384 | fi |
25011 | 26385 | ||
26386 | rm -rf conftest.dSYM | ||
25012 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26387 | rm -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 | ||
25015 | fi | 26390 | fi |
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 |
25017 | echo "${ECHO_T}$ac_cv_have_va_copy" >&6; } | 26392 | $as_echo "$ac_cv_have_va_copy" >&6; } |
25018 | if test "x$ac_cv_have_va_copy" = "xyes" ; then | 26393 | if test "x$ac_cv_have_va_copy" = "xyes" ; then |
25019 | 26394 | ||
25020 | cat >>confdefs.h <<\_ACEOF | 26395 | cat >>confdefs.h <<\_ACEOF |
@@ -25023,10 +26398,10 @@ _ACEOF | |||
25023 | 26398 | ||
25024 | fi | 26399 | fi |
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 |
25027 | echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6; } | 26402 | $as_echo_n "checking whether __va_copy exists... " >&6; } |
25028 | if test "${ac_cv_have___va_copy+set}" = set; then | 26403 | if test "${ac_cv_have___va_copy+set}" = set; then |
25029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26404 | $as_echo_n "(cached) " >&6 |
25030 | else | 26405 | else |
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;; |
25053 | esac | 26428 | esac |
25054 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26429 | eval 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" |
25067 | else | 26445 | else |
25068 | echo "$as_me: failed program was:" >&5 | 26446 | $as_echo "$as_me: failed program was:" >&5 |
25069 | sed 's/^/| /' conftest.$ac_ext >&5 | 26447 | sed 's/^/| /' conftest.$ac_ext >&5 |
25070 | 26448 | ||
25071 | ac_cv_have___va_copy="no" | 26449 | ac_cv_have___va_copy="no" |
25072 | 26450 | ||
25073 | fi | 26451 | fi |
25074 | 26452 | ||
26453 | rm -rf conftest.dSYM | ||
25075 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26454 | rm -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 | ||
25078 | fi | 26457 | fi |
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 |
25080 | echo "${ECHO_T}$ac_cv_have___va_copy" >&6; } | 26459 | $as_echo "$ac_cv_have___va_copy" >&6; } |
25081 | if test "x$ac_cv_have___va_copy" = "xyes" ; then | 26460 | if test "x$ac_cv_have___va_copy" = "xyes" ; then |
25082 | 26461 | ||
25083 | cat >>confdefs.h <<\_ACEOF | 26462 | cat >>confdefs.h <<\_ACEOF |
@@ -25086,10 +26465,10 @@ _ACEOF | |||
25086 | 26465 | ||
25087 | fi | 26466 | fi |
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 |
25090 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6; } | 26469 | $as_echo_n "checking whether getopt has optreset support... " >&6; } |
25091 | if test "${ac_cv_have_getopt_optreset+set}" = set; then | 26470 | if test "${ac_cv_have_getopt_optreset+set}" = set; then |
25092 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26471 | $as_echo_n "(cached) " >&6 |
25093 | else | 26472 | else |
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;; |
25117 | esac | 26496 | esac |
25118 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26497 | eval 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" |
25131 | else | 26513 | else |
25132 | echo "$as_me: failed program was:" >&5 | 26514 | $as_echo "$as_me: failed program was:" >&5 |
25133 | sed 's/^/| /' conftest.$ac_ext >&5 | 26515 | sed 's/^/| /' conftest.$ac_ext >&5 |
25134 | 26516 | ||
25135 | ac_cv_have_getopt_optreset="no" | 26517 | ac_cv_have_getopt_optreset="no" |
25136 | 26518 | ||
25137 | fi | 26519 | fi |
25138 | 26520 | ||
26521 | rm -rf conftest.dSYM | ||
25139 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26522 | rm -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 | ||
25142 | fi | 26525 | fi |
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 |
25144 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6; } | 26527 | $as_echo "$ac_cv_have_getopt_optreset" >&6; } |
25145 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | 26528 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then |
25146 | 26529 | ||
25147 | cat >>confdefs.h <<\_ACEOF | 26530 | cat >>confdefs.h <<\_ACEOF |
@@ -25150,10 +26533,10 @@ _ACEOF | |||
25150 | 26533 | ||
25151 | fi | 26534 | fi |
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 |
25154 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6; } | 26537 | $as_echo_n "checking if libc defines sys_errlist... " >&6; } |
25155 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then | 26538 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then |
25156 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26539 | $as_echo_n "(cached) " >&6 |
25157 | else | 26540 | else |
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;; |
25179 | esac | 26562 | esac |
25180 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26563 | eval 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" |
25193 | else | 26579 | else |
25194 | echo "$as_me: failed program was:" >&5 | 26580 | $as_echo "$as_me: failed program was:" >&5 |
25195 | sed 's/^/| /' conftest.$ac_ext >&5 | 26581 | sed '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 | ||
25199 | fi | 26585 | fi |
25200 | 26586 | ||
26587 | rm -rf conftest.dSYM | ||
25201 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26588 | rm -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 | ||
25204 | fi | 26591 | fi |
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 |
25206 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6; } | 26593 | $as_echo "$ac_cv_libc_defines_sys_errlist" >&6; } |
25207 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | 26594 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then |
25208 | 26595 | ||
25209 | cat >>confdefs.h <<\_ACEOF | 26596 | cat >>confdefs.h <<\_ACEOF |
@@ -25213,10 +26600,10 @@ _ACEOF | |||
25213 | fi | 26600 | fi |
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 |
25217 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6; } | 26604 | $as_echo_n "checking if libc defines sys_nerr... " >&6; } |
25218 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then | 26605 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then |
25219 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26606 | $as_echo_n "(cached) " >&6 |
25220 | else | 26607 | else |
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;; |
25242 | esac | 26629 | esac |
25243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26630 | eval 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" |
25256 | else | 26646 | else |
25257 | echo "$as_me: failed program was:" >&5 | 26647 | $as_echo "$as_me: failed program was:" >&5 |
25258 | sed 's/^/| /' conftest.$ac_ext >&5 | 26648 | sed '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 | ||
25262 | fi | 26652 | fi |
25263 | 26653 | ||
26654 | rm -rf conftest.dSYM | ||
25264 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26655 | rm -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 | ||
25267 | fi | 26658 | fi |
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 |
25269 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6; } | 26660 | $as_echo "$ac_cv_libc_defines_sys_nerr" >&6; } |
25270 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | 26661 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then |
25271 | 26662 | ||
25272 | cat >>confdefs.h <<\_ACEOF | 26663 | cat >>confdefs.h <<\_ACEOF |
@@ -25295,20 +26686,21 @@ if test "${with_sectok+set}" = set; then | |||
25295 | 26686 | ||
25296 | for ac_header in sectok.h | 26687 | for ac_header in sectok.h |
25297 | do | 26688 | do |
25298 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 26689 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
25299 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 26690 | if { 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 |
25301 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 26692 | $as_echo_n "checking for $ac_header... " >&6; } |
25302 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 26693 | if { 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 |
25304 | fi | 26695 | fi |
25305 | ac_res=`eval echo '${'$as_ac_Header'}'` | 26696 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
25306 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 26697 | $as_echo "$as_val"'` |
25307 | echo "${ECHO_T}$ac_res" >&6; } | 26698 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
26699 | $as_echo "$ac_res" >&6; } | ||
25308 | else | 26700 | else |
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 |
25311 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 26703 | $as_echo_n "checking $ac_header usability... " >&6; } |
25312 | cat >conftest.$ac_ext <<_ACEOF | 26704 | cat >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;; |
25326 | esac | 26718 | esac |
25327 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26719 | eval 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 |
25339 | else | 26732 | else |
25340 | echo "$as_me: failed program was:" >&5 | 26733 | $as_echo "$as_me: failed program was:" >&5 |
25341 | sed 's/^/| /' conftest.$ac_ext >&5 | 26734 | sed 's/^/| /' conftest.$ac_ext >&5 |
25342 | 26735 | ||
25343 | ac_header_compiler=no | 26736 | ac_header_compiler=no |
25344 | fi | 26737 | fi |
25345 | 26738 | ||
25346 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26739 | rm -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 |
25348 | echo "${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 |
25352 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 26745 | $as_echo_n "checking $ac_header presence... " >&6; } |
25353 | cat >conftest.$ac_ext <<_ACEOF | 26746 | cat >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;; |
25365 | esac | 26758 | esac |
25366 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26759 | eval 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 |
25378 | else | 26772 | else |
25379 | echo "$as_me: failed program was:" >&5 | 26773 | $as_echo "$as_me: failed program was:" >&5 |
25380 | sed 's/^/| /' conftest.$ac_ext >&5 | 26774 | sed 's/^/| /' conftest.$ac_ext >&5 |
25381 | 26775 | ||
25382 | ac_header_preproc=no | 26776 | ac_header_preproc=no |
25383 | fi | 26777 | fi |
25384 | 26778 | ||
25385 | rm -f conftest.err conftest.$ac_ext | 26779 | rm -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 |
25387 | echo "${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? |
25390 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 26784 | case $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 |
25393 | echo "$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 |
25395 | echo "$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 |
25400 | echo "$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 |
25402 | echo "$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 |
25404 | echo "$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 |
25406 | echo "$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 |
25408 | echo "$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 |
25410 | echo "$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 | ;; |
25418 | esac | 26812 | esac |
25419 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 26813 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
25420 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 26814 | $as_echo_n "checking for $ac_header... " >&6; } |
25421 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 26815 | if { 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 |
25423 | else | 26817 | else |
25424 | eval "$as_ac_Header=\$ac_header_preproc" | 26818 | eval "$as_ac_Header=\$ac_header_preproc" |
25425 | fi | 26819 | fi |
25426 | ac_res=`eval echo '${'$as_ac_Header'}'` | 26820 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
25427 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 26821 | $as_echo "$as_val"'` |
25428 | echo "${ECHO_T}$ac_res" >&6; } | 26822 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
26823 | $as_echo "$ac_res" >&6; } | ||
25429 | 26824 | ||
25430 | fi | 26825 | fi |
25431 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 26826 | if 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 | ||
25436 | fi | 26832 | fi |
@@ -25438,15 +26834,15 @@ fi | |||
25438 | done | 26834 | done |
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 |
25442 | echo "$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 |
25447 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6; } | 26843 | $as_echo_n "checking for sectok_open in -lsectok... " >&6; } |
25448 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then | 26844 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then |
25449 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26845 | $as_echo_n "(cached) " >&6 |
25450 | else | 26846 | else |
25451 | ac_check_lib_save_LIBS=$LIBS | 26847 | ac_check_lib_save_LIBS=$LIBS |
25452 | LIBS="-lsectok $LIBS" | 26848 | LIBS="-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;; |
25480 | esac | 26876 | esac |
25481 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 26877 | eval 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 |
25494 | else | 26893 | else |
25495 | echo "$as_me: failed program was:" >&5 | 26894 | $as_echo "$as_me: failed program was:" >&5 |
25496 | sed 's/^/| /' conftest.$ac_ext >&5 | 26895 | sed 's/^/| /' conftest.$ac_ext >&5 |
25497 | 26896 | ||
25498 | ac_cv_lib_sectok_sectok_open=no | 26897 | ac_cv_lib_sectok_sectok_open=no |
25499 | fi | 26898 | fi |
25500 | 26899 | ||
26900 | rm -rf conftest.dSYM | ||
25501 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26901 | rm -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 |
25503 | LIBS=$ac_check_lib_save_LIBS | 26903 | LIBS=$ac_check_lib_save_LIBS |
25504 | fi | 26904 | fi |
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 |
25506 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6; } | 26906 | $as_echo "$ac_cv_lib_sectok_sectok_open" >&6; } |
25507 | if test $ac_cv_lib_sectok_sectok_open = yes; then | 26907 | if 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 | |||
25514 | fi | 26914 | fi |
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 |
25518 | echo "$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. |
25549 | set dummy opensc-config; ac_word=$2 | 26949 | set 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 |
25551 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 26951 | $as_echo_n "checking for $ac_word... " >&6; } |
25552 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then | 26952 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then |
25553 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26953 | $as_echo_n "(cached) " >&6 |
25554 | else | 26954 | else |
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 |
25571 | done | 26971 | done |
@@ -25578,11 +26978,11 @@ esac | |||
25578 | fi | 26978 | fi |
25579 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG | 26979 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG |
25580 | if test -n "$OPENSC_CONFIG"; then | 26980 | if test -n "$OPENSC_CONFIG"; then |
25581 | { echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 | 26981 | { $as_echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 |
25582 | echo "${ECHO_T}$OPENSC_CONFIG" >&6; } | 26982 | $as_echo "$OPENSC_CONFIG" >&6; } |
25583 | else | 26983 | else |
25584 | { echo "$as_me:$LINENO: result: no" >&5 | 26984 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
25585 | echo "${ECHO_T}no" >&6; } | 26985 | $as_echo "no" >&6; } |
25586 | fi | 26986 | fi |
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 |
25614 | echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6; } | 27014 | $as_echo_n "checking for library containing getrrsetbyname... " >&6; } |
25615 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then | 27015 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then |
25616 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27016 | $as_echo_n "(cached) " >&6 |
25617 | else | 27017 | else |
25618 | ac_func_search_save_LIBS=$LIBS | 27018 | ac_func_search_save_LIBS=$LIBS |
25619 | cat >conftest.$ac_ext <<_ACEOF | 27019 | cat >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;; |
25653 | esac | 27053 | esac |
25654 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27054 | eval 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 |
25667 | else | 27070 | else |
25668 | echo "$as_me: failed program was:" >&5 | 27071 | $as_echo "$as_me: failed program was:" >&5 |
25669 | sed 's/^/| /' conftest.$ac_ext >&5 | 27072 | sed 's/^/| /' conftest.$ac_ext >&5 |
25670 | 27073 | ||
25671 | 27074 | ||
25672 | fi | 27075 | fi |
25673 | 27076 | ||
27077 | rm -rf conftest.dSYM | ||
25674 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 27078 | rm -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 | |||
25685 | rm conftest.$ac_ext | 27089 | rm conftest.$ac_ext |
25686 | LIBS=$ac_func_search_save_LIBS | 27090 | LIBS=$ac_func_search_save_LIBS |
25687 | fi | 27091 | fi |
25688 | { echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5 | 27092 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5 |
25689 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6; } | 27093 | $as_echo "$ac_cv_search_getrrsetbyname" >&6; } |
25690 | ac_res=$ac_cv_search_getrrsetbyname | 27094 | ac_res=$ac_cv_search_getrrsetbyname |
25691 | if test "$ac_res" != no; then | 27095 | if 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 | |||
25698 | else | 27102 | else |
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 |
25702 | echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6; } | 27106 | $as_echo_n "checking for library containing res_query... " >&6; } |
25703 | if test "${ac_cv_search_res_query+set}" = set; then | 27107 | if test "${ac_cv_search_res_query+set}" = set; then |
25704 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27108 | $as_echo_n "(cached) " >&6 |
25705 | else | 27109 | else |
25706 | ac_func_search_save_LIBS=$LIBS | 27110 | ac_func_search_save_LIBS=$LIBS |
25707 | cat >conftest.$ac_ext <<_ACEOF | 27111 | cat >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;; |
25741 | esac | 27145 | esac |
25742 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27146 | eval 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 |
25755 | else | 27162 | else |
25756 | echo "$as_me: failed program was:" >&5 | 27163 | $as_echo "$as_me: failed program was:" >&5 |
25757 | sed 's/^/| /' conftest.$ac_ext >&5 | 27164 | sed 's/^/| /' conftest.$ac_ext >&5 |
25758 | 27165 | ||
25759 | 27166 | ||
25760 | fi | 27167 | fi |
25761 | 27168 | ||
27169 | rm -rf conftest.dSYM | ||
25762 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 27170 | rm -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 | |||
25773 | rm conftest.$ac_ext | 27181 | rm conftest.$ac_ext |
25774 | LIBS=$ac_func_search_save_LIBS | 27182 | LIBS=$ac_func_search_save_LIBS |
25775 | fi | 27183 | fi |
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 |
25777 | echo "${ECHO_T}$ac_cv_search_res_query" >&6; } | 27185 | $as_echo "$ac_cv_search_res_query" >&6; } |
25778 | ac_res=$ac_cv_search_res_query | 27186 | ac_res=$ac_cv_search_res_query |
25779 | if test "$ac_res" != no; then | 27187 | if 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 | ||
25782 | fi | 27190 | fi |
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 |
25785 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } | 27193 | $as_echo_n "checking for library containing dn_expand... " >&6; } |
25786 | if test "${ac_cv_search_dn_expand+set}" = set; then | 27194 | if test "${ac_cv_search_dn_expand+set}" = set; then |
25787 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27195 | $as_echo_n "(cached) " >&6 |
25788 | else | 27196 | else |
25789 | ac_func_search_save_LIBS=$LIBS | 27197 | ac_func_search_save_LIBS=$LIBS |
25790 | cat >conftest.$ac_ext <<_ACEOF | 27198 | cat >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;; |
25824 | esac | 27232 | esac |
25825 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27233 | eval 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 |
25838 | else | 27249 | else |
25839 | echo "$as_me: failed program was:" >&5 | 27250 | $as_echo "$as_me: failed program was:" >&5 |
25840 | sed 's/^/| /' conftest.$ac_ext >&5 | 27251 | sed 's/^/| /' conftest.$ac_ext >&5 |
25841 | 27252 | ||
25842 | 27253 | ||
25843 | fi | 27254 | fi |
25844 | 27255 | ||
27256 | rm -rf conftest.dSYM | ||
25845 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 27257 | rm -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 | |||
25856 | rm conftest.$ac_ext | 27268 | rm conftest.$ac_ext |
25857 | LIBS=$ac_func_search_save_LIBS | 27269 | LIBS=$ac_func_search_save_LIBS |
25858 | fi | 27270 | fi |
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 |
25860 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } | 27272 | $as_echo "$ac_cv_search_dn_expand" >&6; } |
25861 | ac_res=$ac_cv_search_dn_expand | 27273 | ac_res=$ac_cv_search_dn_expand |
25862 | if test "$ac_res" != no; then | 27274 | if 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 | ||
25865 | fi | 27277 | fi |
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 |
25868 | echo $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 | ||
25872 | cat confdefs.h >>conftest.$ac_ext | ||
25873 | cat >>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> |
25880 | extern "C" | 27287 | #include <netdb.h> |
25881 | #endif | 27288 | #include <resolv.h> |
25882 | char res_query (); | 27289 | int main() |
25883 | int | ||
25884 | main () | ||
25885 | { | 27290 | { |
25886 | return res_query (); | 27291 | res_query (0, 0, 0, 0, 0); |
25887 | ; | 27292 | return 0; |
25888 | return 0; | ||
25889 | } | 27293 | } |
27294 | |||
25890 | _ACEOF | 27295 | _ACEOF |
25891 | rm -f conftest.$ac_objext conftest$ac_exeext | 27296 | rm -f conftest.$ac_objext conftest$ac_exeext |
25892 | if { (ac_try="$ac_link" | 27297 | if { (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;; |
25896 | esac | 27301 | esac |
25897 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27302 | eval 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 |
25910 | echo "${ECHO_T}yes" >&6; } | 27316 | }; then |
27317 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
27318 | $as_echo "yes" >&6; } | ||
25911 | else | 27319 | else |
25912 | echo "$as_me: failed program was:" >&5 | 27320 | $as_echo "$as_me: failed program was:" >&5 |
25913 | sed 's/^/| /' conftest.$ac_ext >&5 | 27321 | sed 's/^/| /' conftest.$ac_ext >&5 |
25914 | 27322 | ||
25915 | { echo "$as_me:$LINENO: result: no" >&5 | 27323 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
25916 | echo "${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 |
25920 | echo $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> |
25924 | int main() | 27337 | int 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;; |
25936 | esac | 27349 | esac |
25937 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27350 | eval 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 |
25951 | echo "${ECHO_T}yes" >&6; } | 27365 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
27366 | $as_echo "yes" >&6; } | ||
25952 | else | 27367 | else |
25953 | echo "$as_me: failed program was:" >&5 | 27368 | $as_echo "$as_me: failed program was:" >&5 |
25954 | sed 's/^/| /' conftest.$ac_ext >&5 | 27369 | sed '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 |
25958 | echo "${ECHO_T}no" >&6; } | 27373 | $as_echo "no" >&6; } |
25959 | fi | 27374 | fi |
25960 | 27375 | ||
27376 | rm -rf conftest.dSYM | ||
25961 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 27377 | rm -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 | ||
25964 | fi | 27380 | fi |
25965 | 27381 | ||
27382 | rm -rf conftest.dSYM | ||
25966 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 27383 | rm -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 | ||
25970 | for ac_func in _getshort _getlong | 27387 | for ac_func in _getshort _getlong |
25971 | do | 27388 | do |
25972 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 27389 | as_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 |
25974 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 27391 | $as_echo_n "checking for $ac_func... " >&6; } |
25975 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 27392 | if { 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 |
25977 | else | 27394 | else |
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;; |
26028 | esac | 27445 | esac |
26029 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27446 | eval 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" |
26042 | else | 27462 | else |
26043 | echo "$as_me: failed program was:" >&5 | 27463 | $as_echo "$as_me: failed program was:" >&5 |
26044 | sed 's/^/| /' conftest.$ac_ext >&5 | 27464 | sed 's/^/| /' conftest.$ac_ext >&5 |
26045 | 27465 | ||
26046 | eval "$as_ac_var=no" | 27466 | eval "$as_ac_var=no" |
26047 | fi | 27467 | fi |
26048 | 27468 | ||
27469 | rm -rf conftest.dSYM | ||
26049 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 27470 | rm -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 |
26051 | fi | 27472 | fi |
26052 | ac_res=`eval echo '${'$as_ac_var'}'` | 27473 | ac_res=`eval 'as_val=${'$as_ac_var'} |
26053 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 27474 | $as_echo "$as_val"'` |
26054 | echo "${ECHO_T}$ac_res" >&6; } | 27475 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
26055 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 27476 | $as_echo "$ac_res" >&6; } |
27477 | if 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 | ||
26060 | fi | 27483 | fi |
26061 | done | 27484 | done |
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 |
26064 | echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6; } | 27487 | $as_echo_n "checking whether _getshort is declared... " >&6; } |
26065 | if test "${ac_cv_have_decl__getshort+set}" = set; then | 27488 | if test "${ac_cv_have_decl__getshort+set}" = set; then |
26066 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27489 | $as_echo_n "(cached) " >&6 |
26067 | else | 27490 | else |
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;; |
26093 | esac | 27516 | esac |
26094 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27517 | eval 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 |
26106 | else | 27530 | else |
26107 | echo "$as_me: failed program was:" >&5 | 27531 | $as_echo "$as_me: failed program was:" >&5 |
26108 | sed 's/^/| /' conftest.$ac_ext >&5 | 27532 | sed '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 | ||
26113 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27537 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26114 | fi | 27538 | fi |
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 |
26116 | echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6; } | 27540 | $as_echo "$ac_cv_have_decl__getshort" >&6; } |
26117 | if test $ac_cv_have_decl__getshort = yes; then | 27541 | if test $ac_cv_have_decl__getshort = yes; then |
26118 | 27542 | ||
26119 | cat >>confdefs.h <<_ACEOF | 27543 | cat >>confdefs.h <<_ACEOF |
@@ -26128,10 +27552,10 @@ _ACEOF | |||
26128 | 27552 | ||
26129 | 27553 | ||
26130 | fi | 27554 | fi |
26131 | { echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 | 27555 | { $as_echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 |
26132 | echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6; } | 27556 | $as_echo_n "checking whether _getlong is declared... " >&6; } |
26133 | if test "${ac_cv_have_decl__getlong+set}" = set; then | 27557 | if test "${ac_cv_have_decl__getlong+set}" = set; then |
26134 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27558 | $as_echo_n "(cached) " >&6 |
26135 | else | 27559 | else |
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;; |
26161 | esac | 27585 | esac |
26162 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27586 | eval 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 |
26174 | else | 27599 | else |
26175 | echo "$as_me: failed program was:" >&5 | 27600 | $as_echo "$as_me: failed program was:" >&5 |
26176 | sed 's/^/| /' conftest.$ac_ext >&5 | 27601 | sed '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 | ||
26181 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27606 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26182 | fi | 27607 | fi |
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 |
26184 | echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6; } | 27609 | $as_echo "$ac_cv_have_decl__getlong" >&6; } |
26185 | if test $ac_cv_have_decl__getlong = yes; then | 27610 | if test $ac_cv_have_decl__getlong = yes; then |
26186 | 27611 | ||
26187 | cat >>confdefs.h <<_ACEOF | 27612 | cat >>confdefs.h <<_ACEOF |
@@ -26198,10 +27623,10 @@ _ACEOF | |||
26198 | fi | 27623 | fi |
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 |
26202 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6; } | 27627 | $as_echo_n "checking for HEADER.ad... " >&6; } |
26203 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | 27628 | if test "${ac_cv_member_HEADER_ad+set}" = set; then |
26204 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27629 | $as_echo_n "(cached) " >&6 |
26205 | else | 27630 | else |
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;; |
26229 | esac | 27654 | esac |
26230 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27655 | eval 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 |
26242 | else | 27668 | else |
26243 | echo "$as_me: failed program was:" >&5 | 27669 | $as_echo "$as_me: failed program was:" >&5 |
26244 | sed 's/^/| /' conftest.$ac_ext >&5 | 27670 | sed '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;; |
26269 | esac | 27695 | esac |
26270 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27696 | eval 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 |
26282 | else | 27709 | else |
26283 | echo "$as_me: failed program was:" >&5 | 27710 | $as_echo "$as_me: failed program was:" >&5 |
26284 | sed 's/^/| /' conftest.$ac_ext >&5 | 27711 | sed '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 | ||
26292 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27719 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26293 | fi | 27720 | fi |
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 |
26295 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6; } | 27722 | $as_echo "$ac_cv_member_HEADER_ad" >&6; } |
26296 | if test $ac_cv_member_HEADER_ad = yes; then | 27723 | if test $ac_cv_member_HEADER_ad = yes; then |
26297 | 27724 | ||
26298 | cat >>confdefs.h <<\_ACEOF | 27725 | cat >>confdefs.h <<\_ACEOF |
@@ -26305,8 +27732,8 @@ fi | |||
26305 | fi | 27732 | fi |
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 |
26309 | echo $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; } |
26310 | cat >conftest.$ac_ext <<_ACEOF | 27737 | cat >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;; |
26328 | esac | 27755 | esac |
26329 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27756 | eval 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 |
26342 | echo "${ECHO_T}yes" >&6; } | 27770 | }; then |
27771 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
27772 | $as_echo "yes" >&6; } | ||
26343 | 27773 | ||
26344 | cat >>confdefs.h <<\_ACEOF | 27774 | cat >>confdefs.h <<\_ACEOF |
26345 | #define HAVE__RES_EXTERN 1 | 27775 | #define HAVE__RES_EXTERN 1 |
@@ -26347,14 +27777,15 @@ _ACEOF | |||
26347 | 27777 | ||
26348 | 27778 | ||
26349 | else | 27779 | else |
26350 | echo "$as_me: failed program was:" >&5 | 27780 | $as_echo "$as_me: failed program was:" >&5 |
26351 | sed 's/^/| /' conftest.$ac_ext >&5 | 27781 | sed 's/^/| /' conftest.$ac_ext >&5 |
26352 | 27782 | ||
26353 | { echo "$as_me:$LINENO: result: no" >&5 | 27783 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
26354 | echo "${ECHO_T}no" >&6; } | 27784 | $as_echo "no" >&6; } |
26355 | 27785 | ||
26356 | fi | 27786 | fi |
26357 | 27787 | ||
27788 | rm -rf conftest.dSYM | ||
26358 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 27789 | rm -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 |
26377 | echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } | 27808 | $as_echo_n "checking for selinux/selinux.h... " >&6; } |
26378 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | 27809 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then |
26379 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27810 | $as_echo_n "(cached) " >&6 |
26380 | fi | 27811 | fi |
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 |
26382 | echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } | 27813 | $as_echo "$ac_cv_header_selinux_selinux_h" >&6; } |
26383 | else | 27814 | else |
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 |
26386 | echo $ECHO_N "checking selinux/selinux.h usability... $ECHO_C" >&6; } | 27817 | $as_echo_n "checking selinux/selinux.h usability... " >&6; } |
26387 | cat >conftest.$ac_ext <<_ACEOF | 27818 | cat >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;; |
26401 | esac | 27832 | esac |
26402 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27833 | eval 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 |
26414 | else | 27846 | else |
26415 | echo "$as_me: failed program was:" >&5 | 27847 | $as_echo "$as_me: failed program was:" >&5 |
26416 | sed 's/^/| /' conftest.$ac_ext >&5 | 27848 | sed 's/^/| /' conftest.$ac_ext >&5 |
26417 | 27849 | ||
26418 | ac_header_compiler=no | 27850 | ac_header_compiler=no |
26419 | fi | 27851 | fi |
26420 | 27852 | ||
26421 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27853 | rm -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 |
26423 | echo "${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 |
26427 | echo $ECHO_N "checking selinux/selinux.h presence... $ECHO_C" >&6; } | 27859 | $as_echo_n "checking selinux/selinux.h presence... " >&6; } |
26428 | cat >conftest.$ac_ext <<_ACEOF | 27860 | cat >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;; |
26440 | esac | 27872 | esac |
26441 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27873 | eval 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 |
26453 | else | 27886 | else |
26454 | echo "$as_me: failed program was:" >&5 | 27887 | $as_echo "$as_me: failed program was:" >&5 |
26455 | sed 's/^/| /' conftest.$ac_ext >&5 | 27888 | sed 's/^/| /' conftest.$ac_ext >&5 |
26456 | 27889 | ||
26457 | ac_header_preproc=no | 27890 | ac_header_preproc=no |
26458 | fi | 27891 | fi |
26459 | 27892 | ||
26460 | rm -f conftest.err conftest.$ac_ext | 27893 | rm -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 |
26462 | echo "${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? |
26465 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 27898 | case $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 |
26468 | echo "$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 |
26470 | echo "$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 |
26475 | echo "$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 |
26477 | echo "$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 |
26479 | echo "$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 |
26481 | echo "$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 |
26483 | echo "$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 |
26485 | echo "$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 | ;; |
26493 | esac | 27926 | esac |
26494 | { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 | 27927 | { $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 |
26495 | echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } | 27928 | $as_echo_n "checking for selinux/selinux.h... " >&6; } |
26496 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | 27929 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then |
26497 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27930 | $as_echo_n "(cached) " >&6 |
26498 | else | 27931 | else |
26499 | ac_cv_header_selinux_selinux_h=$ac_header_preproc | 27932 | ac_cv_header_selinux_selinux_h=$ac_header_preproc |
26500 | fi | 27933 | fi |
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 |
26502 | echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } | 27935 | $as_echo "$ac_cv_header_selinux_selinux_h" >&6; } |
26503 | 27936 | ||
26504 | fi | 27937 | fi |
26505 | if test $ac_cv_header_selinux_selinux_h = yes; then | 27938 | if test $ac_cv_header_selinux_selinux_h = yes; then |
26506 | : | 27939 | : |
26507 | else | 27940 | else |
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 |
26509 | echo "$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; }; } |
26511 | fi | 27944 | fi |
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 |
26515 | echo $ECHO_N "checking for setexeccon in -lselinux... $ECHO_C" >&6; } | 27948 | $as_echo_n "checking for setexeccon in -lselinux... " >&6; } |
26516 | if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then | 27949 | if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then |
26517 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27950 | $as_echo_n "(cached) " >&6 |
26518 | else | 27951 | else |
26519 | ac_check_lib_save_LIBS=$LIBS | 27952 | ac_check_lib_save_LIBS=$LIBS |
26520 | LIBS="-lselinux $LIBS" | 27953 | LIBS="-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;; |
26548 | esac | 27981 | esac |
26549 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 27982 | eval 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 |
26562 | else | 27998 | else |
26563 | echo "$as_me: failed program was:" >&5 | 27999 | $as_echo "$as_me: failed program was:" >&5 |
26564 | sed 's/^/| /' conftest.$ac_ext >&5 | 28000 | sed 's/^/| /' conftest.$ac_ext >&5 |
26565 | 28001 | ||
26566 | ac_cv_lib_selinux_setexeccon=no | 28002 | ac_cv_lib_selinux_setexeccon=no |
26567 | fi | 28003 | fi |
26568 | 28004 | ||
28005 | rm -rf conftest.dSYM | ||
26569 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 28006 | rm -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 |
26571 | LIBS=$ac_check_lib_save_LIBS | 28008 | LIBS=$ac_check_lib_save_LIBS |
26572 | fi | 28009 | fi |
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 |
26574 | echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } | 28011 | $as_echo "$ac_cv_lib_selinux_setexeccon" >&6; } |
26575 | if test $ac_cv_lib_selinux_setexeccon = yes; then | 28012 | if test $ac_cv_lib_selinux_setexeccon = yes; then |
26576 | LIBSELINUX="-lselinux" | 28013 | LIBSELINUX="-lselinux" |
26577 | else | 28014 | else |
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 |
26579 | echo "$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; }; } |
26581 | fi | 28018 | fi |
26582 | 28019 | ||
@@ -26585,11 +28022,11 @@ fi | |||
26585 | 28022 | ||
26586 | for ac_func in getseuserbyname get_default_context_with_level | 28023 | for ac_func in getseuserbyname get_default_context_with_level |
26587 | do | 28024 | do |
26588 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 28025 | as_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 |
26590 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 28027 | $as_echo_n "checking for $ac_func... " >&6; } |
26591 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | 28028 | if { 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 |
26593 | else | 28030 | else |
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;; |
26644 | esac | 28081 | esac |
26645 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28082 | eval 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" |
26658 | else | 28098 | else |
26659 | echo "$as_me: failed program was:" >&5 | 28099 | $as_echo "$as_me: failed program was:" >&5 |
26660 | sed 's/^/| /' conftest.$ac_ext >&5 | 28100 | sed 's/^/| /' conftest.$ac_ext >&5 |
26661 | 28101 | ||
26662 | eval "$as_ac_var=no" | 28102 | eval "$as_ac_var=no" |
26663 | fi | 28103 | fi |
26664 | 28104 | ||
28105 | rm -rf conftest.dSYM | ||
26665 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 28106 | rm -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 |
26667 | fi | 28108 | fi |
26668 | ac_res=`eval echo '${'$as_ac_var'}'` | 28109 | ac_res=`eval 'as_val=${'$as_ac_var'} |
26669 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 28110 | $as_echo "$as_val"'` |
26670 | echo "${ECHO_T}$ac_res" >&6; } | 28111 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
26671 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 28112 | $as_echo "$ac_res" >&6; } |
28113 | if 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 | ||
26676 | fi | 28119 | fi |
@@ -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. |
26705 | echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6; } | 28148 | set 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 | 28151 | if test "${ac_cv_path_KRB5CONF+set}" = set; then |
26709 | echo "${ECHO_T}$KRB5CONF" >&6; } | 28152 | $as_echo_n "(cached) " >&6 |
28153 | else | ||
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 | ||
28160 | as_dummy="$KRB5ROOT/bin:$PATH" | ||
28161 | for as_dir in $as_dummy | ||
28162 | do | ||
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 | ||
28171 | done | ||
28172 | done | ||
28173 | IFS=$as_save_IFS | ||
28174 | |||
28175 | test -z "$ac_cv_path_KRB5CONF" && ac_cv_path_KRB5CONF="$KRB5ROOT/bin/krb5-config" | ||
28176 | ;; | ||
28177 | esac | ||
28178 | fi | ||
28179 | KRB5CONF=$ac_cv_path_KRB5CONF | ||
28180 | if test -n "$KRB5CONF"; then | ||
28181 | { $as_echo "$as_me:$LINENO: result: $KRB5CONF" >&5 | ||
28182 | $as_echo "$KRB5CONF" >&6; } | ||
28183 | else | ||
28184 | { $as_echo "$as_me:$LINENO: result: no" >&5 | ||
28185 | $as_echo "no" >&6; } | ||
28186 | fi | ||
26710 | 28187 | ||
26711 | { echo "$as_me:$LINENO: checking for gssapi support" >&5 | 28188 | |
26712 | echo $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 |
26715 | echo "${ECHO_T}yes" >&6; } | 28195 | $as_echo "yes" >&6; } |
26716 | 28196 | ||
26717 | cat >>confdefs.h <<\_ACEOF | 28197 | cat >>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 |
26724 | echo "${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 |
26731 | echo $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;; |
26752 | esac | 28232 | esac |
26753 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28233 | eval 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 |
26765 | echo "${ECHO_T}yes" >&6; } | 28246 | $as_echo "yes" >&6; } |
26766 | 28247 | ||
26767 | cat >>confdefs.h <<\_ACEOF | 28248 | cat >>confdefs.h <<\_ACEOF |
26768 | #define HEIMDAL 1 | 28249 | #define HEIMDAL 1 |
26769 | _ACEOF | 28250 | _ACEOF |
26770 | 28251 | ||
26771 | else | 28252 | else |
26772 | echo "$as_me: failed program was:" >&5 | 28253 | $as_echo "$as_me: failed program was:" >&5 |
26773 | sed 's/^/| /' conftest.$ac_ext >&5 | 28254 | sed 's/^/| /' conftest.$ac_ext >&5 |
26774 | 28255 | ||
26775 | { echo "$as_me:$LINENO: result: no" >&5 | 28256 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
26776 | echo "${ECHO_T}no" >&6; } | 28257 | $as_echo "no" >&6; } |
26777 | 28258 | ||
26778 | fi | 28259 | fi |
26779 | 28260 | ||
26780 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 28261 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26781 | else | 28262 | else |
26782 | { echo "$as_me:$LINENO: result: no" >&5 | ||
26783 | echo "${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 |
26787 | echo $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;; |
26808 | esac | 28287 | esac |
26809 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28288 | eval 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 |
26821 | echo "${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 |
26829 | echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6; } | 28309 | $as_echo_n "checking for net_write in -lroken... " >&6; } |
26830 | if test "${ac_cv_lib_roken_net_write+set}" = set; then | 28310 | if test "${ac_cv_lib_roken_net_write+set}" = set; then |
26831 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 28311 | $as_echo_n "(cached) " >&6 |
26832 | else | 28312 | else |
26833 | ac_check_lib_save_LIBS=$LIBS | 28313 | ac_check_lib_save_LIBS=$LIBS |
26834 | LIBS="-lroken $LIBS" | 28314 | LIBS="-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;; |
26862 | esac | 28342 | esac |
26863 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28343 | eval 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 |
26876 | else | 28359 | else |
26877 | echo "$as_me: failed program was:" >&5 | 28360 | $as_echo "$as_me: failed program was:" >&5 |
26878 | sed 's/^/| /' conftest.$ac_ext >&5 | 28361 | sed 's/^/| /' conftest.$ac_ext >&5 |
26879 | 28362 | ||
26880 | ac_cv_lib_roken_net_write=no | 28363 | ac_cv_lib_roken_net_write=no |
26881 | fi | 28364 | fi |
26882 | 28365 | ||
28366 | rm -rf conftest.dSYM | ||
26883 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 28367 | rm -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 |
26885 | LIBS=$ac_check_lib_save_LIBS | 28369 | LIBS=$ac_check_lib_save_LIBS |
26886 | fi | 28370 | fi |
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 |
26888 | echo "${ECHO_T}$ac_cv_lib_roken_net_write" >&6; } | 28372 | $as_echo "$ac_cv_lib_roken_net_write" >&6; } |
26889 | if test $ac_cv_lib_roken_net_write = yes; then | 28373 | if test $ac_cv_lib_roken_net_write = yes; then |
26890 | K5LIBS="$K5LIBS -lroken" | 28374 | K5LIBS="$K5LIBS -lroken" |
26891 | fi | 28375 | fi |
26892 | 28376 | ||
26893 | 28377 | ||
26894 | else | 28378 | else |
26895 | echo "$as_me: failed program was:" >&5 | 28379 | $as_echo "$as_me: failed program was:" >&5 |
26896 | sed 's/^/| /' conftest.$ac_ext >&5 | 28380 | sed 's/^/| /' conftest.$ac_ext >&5 |
26897 | 28381 | ||
26898 | { echo "$as_me:$LINENO: result: no" >&5 | 28382 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
26899 | echo "${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 | ||
26903 | fi | 28387 | fi |
26904 | 28388 | ||
26905 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 28389 | rm -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 |
26907 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } | 28391 | $as_echo_n "checking for library containing dn_expand... " >&6; } |
26908 | if test "${ac_cv_search_dn_expand+set}" = set; then | 28392 | if test "${ac_cv_search_dn_expand+set}" = set; then |
26909 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 28393 | $as_echo_n "(cached) " >&6 |
26910 | else | 28394 | else |
26911 | ac_func_search_save_LIBS=$LIBS | 28395 | ac_func_search_save_LIBS=$LIBS |
26912 | cat >conftest.$ac_ext <<_ACEOF | 28396 | cat >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;; |
26946 | esac | 28430 | esac |
26947 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28431 | eval 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 |
26960 | else | 28447 | else |
26961 | echo "$as_me: failed program was:" >&5 | 28448 | $as_echo "$as_me: failed program was:" >&5 |
26962 | sed 's/^/| /' conftest.$ac_ext >&5 | 28449 | sed 's/^/| /' conftest.$ac_ext >&5 |
26963 | 28450 | ||
26964 | 28451 | ||
26965 | fi | 28452 | fi |
26966 | 28453 | ||
28454 | rm -rf conftest.dSYM | ||
26967 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 28455 | rm -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 | |||
26978 | rm conftest.$ac_ext | 28466 | rm conftest.$ac_ext |
26979 | LIBS=$ac_func_search_save_LIBS | 28467 | LIBS=$ac_func_search_save_LIBS |
26980 | fi | 28468 | fi |
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 |
26982 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } | 28470 | $as_echo "$ac_cv_search_dn_expand" >&6; } |
26983 | ac_res=$ac_cv_search_dn_expand | 28471 | ac_res=$ac_cv_search_dn_expand |
26984 | if test "$ac_res" != no; then | 28472 | if 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 | |||
26987 | fi | 28475 | fi |
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 |
26991 | echo $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; } |
26992 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then | 28480 | if 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 |
26994 | else | 28482 | else |
26995 | ac_check_lib_save_LIBS=$LIBS | 28483 | ac_check_lib_save_LIBS=$LIBS |
26996 | LIBS="-lgssapi_krb5 $K5LIBS $LIBS" | 28484 | LIBS="-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;; |
27024 | esac | 28512 | esac |
27025 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28513 | eval 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 |
27038 | else | 28529 | else |
27039 | echo "$as_me: failed program was:" >&5 | 28530 | $as_echo "$as_me: failed program was:" >&5 |
27040 | sed 's/^/| /' conftest.$ac_ext >&5 | 28531 | sed '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 |
27043 | fi | 28534 | fi |
27044 | 28535 | ||
28536 | rm -rf conftest.dSYM | ||
27045 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 28537 | rm -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 |
27047 | LIBS=$ac_check_lib_save_LIBS | 28539 | LIBS=$ac_check_lib_save_LIBS |
27048 | fi | 28540 | fi |
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 |
27050 | echo "${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; } |
27051 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then | 28543 | if 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" |
27057 | else | 28549 | else |
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 |
27059 | echo $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; } |
27060 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then | 28552 | if 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 |
27062 | else | 28554 | else |
27063 | ac_check_lib_save_LIBS=$LIBS | 28555 | ac_check_lib_save_LIBS=$LIBS |
27064 | LIBS="-lgssapi $K5LIBS $LIBS" | 28556 | LIBS="-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;; |
27092 | esac | 28584 | esac |
27093 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28585 | eval 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 |
27106 | else | 28601 | else |
27107 | echo "$as_me: failed program was:" >&5 | 28602 | $as_echo "$as_me: failed program was:" >&5 |
27108 | sed 's/^/| /' conftest.$ac_ext >&5 | 28603 | sed '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 |
27111 | fi | 28606 | fi |
27112 | 28607 | ||
28608 | rm -rf conftest.dSYM | ||
27113 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 28609 | rm -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 |
27115 | LIBS=$ac_check_lib_save_LIBS | 28611 | LIBS=$ac_check_lib_save_LIBS |
27116 | fi | 28612 | fi |
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 |
27118 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } | 28614 | $as_echo "$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } |
27119 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then | 28615 | if 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" |
27125 | else | 28621 | else |
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 |
27127 | echo "$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;} |
27128 | fi | 28624 | fi |
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 |
27136 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } | 28632 | $as_echo_n "checking for gssapi.h... " >&6; } |
27137 | if test "${ac_cv_header_gssapi_h+set}" = set; then | 28633 | if test "${ac_cv_header_gssapi_h+set}" = set; then |
27138 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 28634 | $as_echo_n "(cached) " >&6 |
27139 | fi | 28635 | fi |
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 |
27141 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } | 28637 | $as_echo "$ac_cv_header_gssapi_h" >&6; } |
27142 | else | 28638 | else |
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 |
27145 | echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6; } | 28641 | $as_echo_n "checking gssapi.h usability... " >&6; } |
27146 | cat >conftest.$ac_ext <<_ACEOF | 28642 | cat >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;; |
27160 | esac | 28656 | esac |
27161 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28657 | eval 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 |
27173 | else | 28670 | else |
27174 | echo "$as_me: failed program was:" >&5 | 28671 | $as_echo "$as_me: failed program was:" >&5 |
27175 | sed 's/^/| /' conftest.$ac_ext >&5 | 28672 | sed 's/^/| /' conftest.$ac_ext >&5 |
27176 | 28673 | ||
27177 | ac_header_compiler=no | 28674 | ac_header_compiler=no |
27178 | fi | 28675 | fi |
27179 | 28676 | ||
27180 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 28677 | rm -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 |
27182 | echo "${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 |
27186 | echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6; } | 28683 | $as_echo_n "checking gssapi.h presence... " >&6; } |
27187 | cat >conftest.$ac_ext <<_ACEOF | 28684 | cat >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;; |
27199 | esac | 28696 | esac |
27200 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28697 | eval 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 |
27212 | else | 28710 | else |
27213 | echo "$as_me: failed program was:" >&5 | 28711 | $as_echo "$as_me: failed program was:" >&5 |
27214 | sed 's/^/| /' conftest.$ac_ext >&5 | 28712 | sed 's/^/| /' conftest.$ac_ext >&5 |
27215 | 28713 | ||
27216 | ac_header_preproc=no | 28714 | ac_header_preproc=no |
27217 | fi | 28715 | fi |
27218 | 28716 | ||
27219 | rm -f conftest.err conftest.$ac_ext | 28717 | rm -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 |
27221 | echo "${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? |
27224 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 28722 | case $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 |
27227 | echo "$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 |
27229 | echo "$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 |
27234 | echo "$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 |
27236 | echo "$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 |
27238 | echo "$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 |
27240 | echo "$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 |
27242 | echo "$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 |
27244 | echo "$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 | ;; |
27252 | esac | 28750 | esac |
27253 | { echo "$as_me:$LINENO: checking for gssapi.h" >&5 | 28751 | { $as_echo "$as_me:$LINENO: checking for gssapi.h" >&5 |
27254 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } | 28752 | $as_echo_n "checking for gssapi.h... " >&6; } |
27255 | if test "${ac_cv_header_gssapi_h+set}" = set; then | 28753 | if test "${ac_cv_header_gssapi_h+set}" = set; then |
27256 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 28754 | $as_echo_n "(cached) " >&6 |
27257 | else | 28755 | else |
27258 | ac_cv_header_gssapi_h=$ac_header_preproc | 28756 | ac_cv_header_gssapi_h=$ac_header_preproc |
27259 | fi | 28757 | fi |
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 |
27261 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } | 28759 | $as_echo "$ac_cv_header_gssapi_h" >&6; } |
27262 | 28760 | ||
27263 | fi | 28761 | fi |
27264 | if test $ac_cv_header_gssapi_h = yes; then | 28762 | if test $ac_cv_header_gssapi_h = yes; then |
@@ -27269,20 +28767,21 @@ else | |||
27269 | 28767 | ||
27270 | for ac_header in gssapi.h | 28768 | for ac_header in gssapi.h |
27271 | do | 28769 | do |
27272 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 28770 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
27273 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 28771 | if { 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 |
27275 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 28773 | $as_echo_n "checking for $ac_header... " >&6; } |
27276 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 28774 | if { 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 |
27278 | fi | 28776 | fi |
27279 | ac_res=`eval echo '${'$as_ac_Header'}'` | 28777 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
27280 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 28778 | $as_echo "$as_val"'` |
27281 | echo "${ECHO_T}$ac_res" >&6; } | 28779 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
28780 | $as_echo "$ac_res" >&6; } | ||
27282 | else | 28781 | else |
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 |
27285 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 28784 | $as_echo_n "checking $ac_header usability... " >&6; } |
27286 | cat >conftest.$ac_ext <<_ACEOF | 28785 | cat >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;; |
27300 | esac | 28799 | esac |
27301 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28800 | eval 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 |
27313 | else | 28813 | else |
27314 | echo "$as_me: failed program was:" >&5 | 28814 | $as_echo "$as_me: failed program was:" >&5 |
27315 | sed 's/^/| /' conftest.$ac_ext >&5 | 28815 | sed 's/^/| /' conftest.$ac_ext >&5 |
27316 | 28816 | ||
27317 | ac_header_compiler=no | 28817 | ac_header_compiler=no |
27318 | fi | 28818 | fi |
27319 | 28819 | ||
27320 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 28820 | rm -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 |
27322 | echo "${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 |
27326 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 28826 | $as_echo_n "checking $ac_header presence... " >&6; } |
27327 | cat >conftest.$ac_ext <<_ACEOF | 28827 | cat >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;; |
27339 | esac | 28839 | esac |
27340 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28840 | eval 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 |
27352 | else | 28853 | else |
27353 | echo "$as_me: failed program was:" >&5 | 28854 | $as_echo "$as_me: failed program was:" >&5 |
27354 | sed 's/^/| /' conftest.$ac_ext >&5 | 28855 | sed 's/^/| /' conftest.$ac_ext >&5 |
27355 | 28856 | ||
27356 | ac_header_preproc=no | 28857 | ac_header_preproc=no |
27357 | fi | 28858 | fi |
27358 | 28859 | ||
27359 | rm -f conftest.err conftest.$ac_ext | 28860 | rm -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 |
27361 | echo "${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? |
27364 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 28865 | case $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 |
27367 | echo "$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 |
27369 | echo "$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 |
27374 | echo "$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 |
27376 | echo "$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 |
27378 | echo "$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 |
27380 | echo "$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 |
27382 | echo "$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 |
27384 | echo "$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 | ;; |
27392 | esac | 28893 | esac |
27393 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 28894 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
27394 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 28895 | $as_echo_n "checking for $ac_header... " >&6; } |
27395 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 28896 | if { 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 |
27397 | else | 28898 | else |
27398 | eval "$as_ac_Header=\$ac_header_preproc" | 28899 | eval "$as_ac_Header=\$ac_header_preproc" |
27399 | fi | 28900 | fi |
27400 | ac_res=`eval echo '${'$as_ac_Header'}'` | 28901 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
27401 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 28902 | $as_echo "$as_val"'` |
27402 | echo "${ECHO_T}$ac_res" >&6; } | 28903 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
28904 | $as_echo "$ac_res" >&6; } | ||
27403 | 28905 | ||
27404 | fi | 28906 | fi |
27405 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 28907 | if 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 | ||
27410 | else | 28913 | else |
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 |
27412 | echo "$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 | ||
27414 | fi | 28917 | fi |
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 |
27428 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } | 28931 | $as_echo_n "checking for gssapi_krb5.h... " >&6; } |
27429 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | 28932 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then |
27430 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 28933 | $as_echo_n "(cached) " >&6 |
27431 | fi | 28934 | fi |
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 |
27433 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } | 28936 | $as_echo "$ac_cv_header_gssapi_krb5_h" >&6; } |
27434 | else | 28937 | else |
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 |
27437 | echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6; } | 28940 | $as_echo_n "checking gssapi_krb5.h usability... " >&6; } |
27438 | cat >conftest.$ac_ext <<_ACEOF | 28941 | cat >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;; |
27452 | esac | 28955 | esac |
27453 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28956 | eval 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 |
27465 | else | 28969 | else |
27466 | echo "$as_me: failed program was:" >&5 | 28970 | $as_echo "$as_me: failed program was:" >&5 |
27467 | sed 's/^/| /' conftest.$ac_ext >&5 | 28971 | sed 's/^/| /' conftest.$ac_ext >&5 |
27468 | 28972 | ||
27469 | ac_header_compiler=no | 28973 | ac_header_compiler=no |
27470 | fi | 28974 | fi |
27471 | 28975 | ||
27472 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 28976 | rm -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 |
27474 | echo "${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 |
27478 | echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6; } | 28982 | $as_echo_n "checking gssapi_krb5.h presence... " >&6; } |
27479 | cat >conftest.$ac_ext <<_ACEOF | 28983 | cat >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;; |
27491 | esac | 28995 | esac |
27492 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 28996 | eval 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 |
27504 | else | 29009 | else |
27505 | echo "$as_me: failed program was:" >&5 | 29010 | $as_echo "$as_me: failed program was:" >&5 |
27506 | sed 's/^/| /' conftest.$ac_ext >&5 | 29011 | sed 's/^/| /' conftest.$ac_ext >&5 |
27507 | 29012 | ||
27508 | ac_header_preproc=no | 29013 | ac_header_preproc=no |
27509 | fi | 29014 | fi |
27510 | 29015 | ||
27511 | rm -f conftest.err conftest.$ac_ext | 29016 | rm -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 |
27513 | echo "${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? |
27516 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 29021 | case $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 |
27519 | echo "$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 |
27521 | echo "$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 |
27526 | echo "$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 |
27528 | echo "$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 |
27530 | echo "$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 |
27532 | echo "$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 |
27534 | echo "$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 |
27536 | echo "$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 | ;; |
27544 | esac | 29049 | esac |
27545 | { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 | 29050 | { $as_echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 |
27546 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } | 29051 | $as_echo_n "checking for gssapi_krb5.h... " >&6; } |
27547 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | 29052 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then |
27548 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 29053 | $as_echo_n "(cached) " >&6 |
27549 | else | 29054 | else |
27550 | ac_cv_header_gssapi_krb5_h=$ac_header_preproc | 29055 | ac_cv_header_gssapi_krb5_h=$ac_header_preproc |
27551 | fi | 29056 | fi |
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 |
27553 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } | 29058 | $as_echo "$ac_cv_header_gssapi_krb5_h" >&6; } |
27554 | 29059 | ||
27555 | fi | 29060 | fi |
27556 | if test $ac_cv_header_gssapi_krb5_h = yes; then | 29061 | if test $ac_cv_header_gssapi_krb5_h = yes; then |
@@ -27573,20 +29078,21 @@ fi | |||
27573 | 29078 | ||
27574 | for ac_header in gssapi.h gssapi/gssapi.h | 29079 | for ac_header in gssapi.h gssapi/gssapi.h |
27575 | do | 29080 | do |
27576 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 29081 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
27577 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29082 | if { 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 |
27579 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 29084 | $as_echo_n "checking for $ac_header... " >&6; } |
27580 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29085 | if { 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 |
27582 | fi | 29087 | fi |
27583 | ac_res=`eval echo '${'$as_ac_Header'}'` | 29088 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
27584 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 29089 | $as_echo "$as_val"'` |
27585 | echo "${ECHO_T}$ac_res" >&6; } | 29090 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
29091 | $as_echo "$ac_res" >&6; } | ||
27586 | else | 29092 | else |
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 |
27589 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 29095 | $as_echo_n "checking $ac_header usability... " >&6; } |
27590 | cat >conftest.$ac_ext <<_ACEOF | 29096 | cat >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;; |
27604 | esac | 29110 | esac |
27605 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 29111 | eval 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 |
27617 | else | 29124 | else |
27618 | echo "$as_me: failed program was:" >&5 | 29125 | $as_echo "$as_me: failed program was:" >&5 |
27619 | sed 's/^/| /' conftest.$ac_ext >&5 | 29126 | sed 's/^/| /' conftest.$ac_ext >&5 |
27620 | 29127 | ||
27621 | ac_header_compiler=no | 29128 | ac_header_compiler=no |
27622 | fi | 29129 | fi |
27623 | 29130 | ||
27624 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 29131 | rm -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 |
27626 | echo "${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 |
27630 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 29137 | $as_echo_n "checking $ac_header presence... " >&6; } |
27631 | cat >conftest.$ac_ext <<_ACEOF | 29138 | cat >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;; |
27643 | esac | 29150 | esac |
27644 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 29151 | eval 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 |
27656 | else | 29164 | else |
27657 | echo "$as_me: failed program was:" >&5 | 29165 | $as_echo "$as_me: failed program was:" >&5 |
27658 | sed 's/^/| /' conftest.$ac_ext >&5 | 29166 | sed 's/^/| /' conftest.$ac_ext >&5 |
27659 | 29167 | ||
27660 | ac_header_preproc=no | 29168 | ac_header_preproc=no |
27661 | fi | 29169 | fi |
27662 | 29170 | ||
27663 | rm -f conftest.err conftest.$ac_ext | 29171 | rm -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 |
27665 | echo "${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? |
27668 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 29176 | case $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 |
27671 | echo "$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 |
27673 | echo "$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 |
27678 | echo "$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 |
27680 | echo "$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 |
27682 | echo "$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 |
27684 | echo "$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 |
27686 | echo "$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 |
27688 | echo "$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 | ;; |
27696 | esac | 29204 | esac |
27697 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 29205 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
27698 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 29206 | $as_echo_n "checking for $ac_header... " >&6; } |
27699 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29207 | if { 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 |
27701 | else | 29209 | else |
27702 | eval "$as_ac_Header=\$ac_header_preproc" | 29210 | eval "$as_ac_Header=\$ac_header_preproc" |
27703 | fi | 29211 | fi |
27704 | ac_res=`eval echo '${'$as_ac_Header'}'` | 29212 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
27705 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 29213 | $as_echo "$as_val"'` |
27706 | echo "${ECHO_T}$ac_res" >&6; } | 29214 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
29215 | $as_echo "$ac_res" >&6; } | ||
27707 | 29216 | ||
27708 | fi | 29217 | fi |
27709 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 29218 | if 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 | ||
27714 | fi | 29224 | fi |
@@ -27719,20 +29229,21 @@ done | |||
27719 | 29229 | ||
27720 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h | 29230 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h |
27721 | do | 29231 | do |
27722 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 29232 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
27723 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29233 | if { 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 |
27725 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 29235 | $as_echo_n "checking for $ac_header... " >&6; } |
27726 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29236 | if { 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 |
27728 | fi | 29238 | fi |
27729 | ac_res=`eval echo '${'$as_ac_Header'}'` | 29239 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
27730 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 29240 | $as_echo "$as_val"'` |
27731 | echo "${ECHO_T}$ac_res" >&6; } | 29241 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
29242 | $as_echo "$ac_res" >&6; } | ||
27732 | else | 29243 | else |
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 |
27735 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 29246 | $as_echo_n "checking $ac_header usability... " >&6; } |
27736 | cat >conftest.$ac_ext <<_ACEOF | 29247 | cat >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;; |
27750 | esac | 29261 | esac |
27751 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 29262 | eval 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 |
27763 | else | 29275 | else |
27764 | echo "$as_me: failed program was:" >&5 | 29276 | $as_echo "$as_me: failed program was:" >&5 |
27765 | sed 's/^/| /' conftest.$ac_ext >&5 | 29277 | sed 's/^/| /' conftest.$ac_ext >&5 |
27766 | 29278 | ||
27767 | ac_header_compiler=no | 29279 | ac_header_compiler=no |
27768 | fi | 29280 | fi |
27769 | 29281 | ||
27770 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 29282 | rm -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 |
27772 | echo "${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 |
27776 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 29288 | $as_echo_n "checking $ac_header presence... " >&6; } |
27777 | cat >conftest.$ac_ext <<_ACEOF | 29289 | cat >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;; |
27789 | esac | 29301 | esac |
27790 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 29302 | eval 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 |
27802 | else | 29315 | else |
27803 | echo "$as_me: failed program was:" >&5 | 29316 | $as_echo "$as_me: failed program was:" >&5 |
27804 | sed 's/^/| /' conftest.$ac_ext >&5 | 29317 | sed 's/^/| /' conftest.$ac_ext >&5 |
27805 | 29318 | ||
27806 | ac_header_preproc=no | 29319 | ac_header_preproc=no |
27807 | fi | 29320 | fi |
27808 | 29321 | ||
27809 | rm -f conftest.err conftest.$ac_ext | 29322 | rm -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 |
27811 | echo "${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? |
27814 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 29327 | case $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 |
27817 | echo "$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 |
27819 | echo "$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 |
27824 | echo "$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 |
27826 | echo "$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 |
27828 | echo "$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 |
27830 | echo "$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 |
27832 | echo "$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 |
27834 | echo "$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 | ;; |
27842 | esac | 29355 | esac |
27843 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 29356 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
27844 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 29357 | $as_echo_n "checking for $ac_header... " >&6; } |
27845 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29358 | if { 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 |
27847 | else | 29360 | else |
27848 | eval "$as_ac_Header=\$ac_header_preproc" | 29361 | eval "$as_ac_Header=\$ac_header_preproc" |
27849 | fi | 29362 | fi |
27850 | ac_res=`eval echo '${'$as_ac_Header'}'` | 29363 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
27851 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 29364 | $as_echo "$as_val"'` |
27852 | echo "${ECHO_T}$ac_res" >&6; } | 29365 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
29366 | $as_echo "$ac_res" >&6; } | ||
27853 | 29367 | ||
27854 | fi | 29368 | fi |
27855 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 29369 | if 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 | ||
27860 | fi | 29375 | fi |
@@ -27865,20 +29380,21 @@ done | |||
27865 | 29380 | ||
27866 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h | 29381 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h |
27867 | do | 29382 | do |
27868 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 29383 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
27869 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29384 | if { 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 |
27871 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 29386 | $as_echo_n "checking for $ac_header... " >&6; } |
27872 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29387 | if { 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 |
27874 | fi | 29389 | fi |
27875 | ac_res=`eval echo '${'$as_ac_Header'}'` | 29390 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
27876 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 29391 | $as_echo "$as_val"'` |
27877 | echo "${ECHO_T}$ac_res" >&6; } | 29392 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
29393 | $as_echo "$ac_res" >&6; } | ||
27878 | else | 29394 | else |
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 |
27881 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | 29397 | $as_echo_n "checking $ac_header usability... " >&6; } |
27882 | cat >conftest.$ac_ext <<_ACEOF | 29398 | cat >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;; |
27896 | esac | 29412 | esac |
27897 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 29413 | eval 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 |
27909 | else | 29426 | else |
27910 | echo "$as_me: failed program was:" >&5 | 29427 | $as_echo "$as_me: failed program was:" >&5 |
27911 | sed 's/^/| /' conftest.$ac_ext >&5 | 29428 | sed 's/^/| /' conftest.$ac_ext >&5 |
27912 | 29429 | ||
27913 | ac_header_compiler=no | 29430 | ac_header_compiler=no |
27914 | fi | 29431 | fi |
27915 | 29432 | ||
27916 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 29433 | rm -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 |
27918 | echo "${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 |
27922 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | 29439 | $as_echo_n "checking $ac_header presence... " >&6; } |
27923 | cat >conftest.$ac_ext <<_ACEOF | 29440 | cat >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;; |
27935 | esac | 29452 | esac |
27936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 29453 | eval 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 |
27948 | else | 29466 | else |
27949 | echo "$as_me: failed program was:" >&5 | 29467 | $as_echo "$as_me: failed program was:" >&5 |
27950 | sed 's/^/| /' conftest.$ac_ext >&5 | 29468 | sed 's/^/| /' conftest.$ac_ext >&5 |
27951 | 29469 | ||
27952 | ac_header_preproc=no | 29470 | ac_header_preproc=no |
27953 | fi | 29471 | fi |
27954 | 29472 | ||
27955 | rm -f conftest.err conftest.$ac_ext | 29473 | rm -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 |
27957 | echo "${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? |
27960 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 29478 | case $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 |
27963 | echo "$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 |
27965 | echo "$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 |
27970 | echo "$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 |
27972 | echo "$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 |
27974 | echo "$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 |
27976 | echo "$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 |
27978 | echo "$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 |
27980 | echo "$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 | ;; |
27988 | esac | 29506 | esac |
27989 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 29507 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
27990 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 29508 | $as_echo_n "checking for $ac_header... " >&6; } |
27991 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 29509 | if { 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 |
27993 | else | 29511 | else |
27994 | eval "$as_ac_Header=\$ac_header_preproc" | 29512 | eval "$as_ac_Header=\$ac_header_preproc" |
27995 | fi | 29513 | fi |
27996 | ac_res=`eval echo '${'$as_ac_Header'}'` | 29514 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
27997 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 29515 | $as_echo "$as_val"'` |
27998 | echo "${ECHO_T}$ac_res" >&6; } | 29516 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
29517 | $as_echo "$ac_res" >&6; } | ||
27999 | 29518 | ||
28000 | fi | 29519 | fi |
28001 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 29520 | if 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 | ||
28006 | fi | 29526 | fi |
@@ -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 |
28013 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6; } | 29533 | $as_echo_n "checking for library containing k_hasafs... " >&6; } |
28014 | if test "${ac_cv_search_k_hasafs+set}" = set; then | 29534 | if test "${ac_cv_search_k_hasafs+set}" = set; then |
28015 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 29535 | $as_echo_n "(cached) " >&6 |
28016 | else | 29536 | else |
28017 | ac_func_search_save_LIBS=$LIBS | 29537 | ac_func_search_save_LIBS=$LIBS |
28018 | cat >conftest.$ac_ext <<_ACEOF | 29538 | cat >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;; |
28052 | esac | 29572 | esac |
28053 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 29573 | eval 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 |
28066 | else | 29589 | else |
28067 | echo "$as_me: failed program was:" >&5 | 29590 | $as_echo "$as_me: failed program was:" >&5 |
28068 | sed 's/^/| /' conftest.$ac_ext >&5 | 29591 | sed 's/^/| /' conftest.$ac_ext >&5 |
28069 | 29592 | ||
28070 | 29593 | ||
28071 | fi | 29594 | fi |
28072 | 29595 | ||
29596 | rm -rf conftest.dSYM | ||
28073 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 29597 | rm -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 | |||
28084 | rm conftest.$ac_ext | 29608 | rm conftest.$ac_ext |
28085 | LIBS=$ac_func_search_save_LIBS | 29609 | LIBS=$ac_func_search_save_LIBS |
28086 | fi | 29610 | fi |
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 |
28088 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6; } | 29612 | $as_echo "$ac_cv_search_k_hasafs" >&6; } |
28089 | ac_res=$ac_cv_search_k_hasafs | 29613 | ac_res=$ac_cv_search_k_hasafs |
28090 | if test "$ac_res" != no; then | 29614 | if 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. |
28139 | set dummy xauth; ac_word=$2 | 29663 | set 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 |
28141 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 29665 | $as_echo_n "checking for $ac_word... " >&6; } |
28142 | if test "${ac_cv_path_xauth_path+set}" = set; then | 29666 | if test "${ac_cv_path_xauth_path+set}" = set; then |
28143 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 29667 | $as_echo_n "(cached) " >&6 |
28144 | else | 29668 | else |
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 |
28161 | done | 29685 | done |
@@ -28167,11 +29691,11 @@ esac | |||
28167 | fi | 29691 | fi |
28168 | xauth_path=$ac_cv_path_xauth_path | 29692 | xauth_path=$ac_cv_path_xauth_path |
28169 | if test -n "$xauth_path"; then | 29693 | if test -n "$xauth_path"; then |
28170 | { echo "$as_me:$LINENO: result: $xauth_path" >&5 | 29694 | { $as_echo "$as_me:$LINENO: result: $xauth_path" >&5 |
28171 | echo "${ECHO_T}$xauth_path" >&6; } | 29695 | $as_echo "$xauth_path" >&6; } |
28172 | else | 29696 | else |
28173 | { echo "$as_me:$LINENO: result: no" >&5 | 29697 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
28174 | echo "${ECHO_T}no" >&6; } | 29698 | $as_echo "no" >&6; } |
28175 | fi | 29699 | fi |
28176 | 29700 | ||
28177 | 29701 | ||
@@ -28220,20 +29744,20 @@ _ACEOF | |||
28220 | fi | 29744 | fi |
28221 | 29745 | ||
28222 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then | 29746 | if 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 |
28224 | echo "$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 |
28226 | fi | 29750 | fi |
28227 | if test -z "$no_dev_ptmx" ; then | 29751 | if 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 |
28230 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; } | 29754 | $as_echo_n "checking for \"/dev/ptmx\"... " >&6; } |
28231 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then | 29755 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then |
28232 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 29756 | $as_echo_n "(cached) " >&6 |
28233 | else | 29757 | else |
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 |
28236 | echo "$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; }; } |
28238 | if test -r ""/dev/ptmx""; then | 29762 | if 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 |
28242 | fi | 29766 | fi |
28243 | fi | 29767 | fi |
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 |
28245 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; } | 29769 | $as_echo "$ac_cv_file___dev_ptmx_" >&6; } |
28246 | if test $ac_cv_file___dev_ptmx_ = yes; then | 29770 | if test $ac_cv_file___dev_ptmx_ = yes; then |
28247 | 29771 | ||
28248 | 29772 | ||
@@ -28259,14 +29783,14 @@ fi | |||
28259 | fi | 29783 | fi |
28260 | 29784 | ||
28261 | if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then | 29785 | if 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 |
28263 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; } | 29787 | $as_echo_n "checking for \"/dev/ptc\"... " >&6; } |
28264 | if test "${ac_cv_file___dev_ptc_+set}" = set; then | 29788 | if test "${ac_cv_file___dev_ptc_+set}" = set; then |
28265 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 29789 | $as_echo_n "(cached) " >&6 |
28266 | else | 29790 | else |
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 |
28269 | echo "$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; }; } |
28271 | if test -r ""/dev/ptc""; then | 29795 | if 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 |
28275 | fi | 29799 | fi |
28276 | fi | 29800 | fi |
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 |
28278 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; } | 29802 | $as_echo "$ac_cv_file___dev_ptc_" >&6; } |
28279 | if test $ac_cv_file___dev_ptc_ = yes; then | 29803 | if test $ac_cv_file___dev_ptc_ = yes; then |
28280 | 29804 | ||
28281 | 29805 | ||
@@ -28289,8 +29813,8 @@ _ACEOF | |||
28289 | fi | 29813 | fi |
28290 | 29814 | ||
28291 | else | 29815 | else |
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 |
28293 | echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} | 29817 | $as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} |
28294 | fi | 29818 | fi |
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 |
28307 | echo "$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 | |||
28318 | do | 29842 | do |
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. |
28320 | set dummy $ac_prog; ac_word=$2 | 29844 | set 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 |
28322 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 29846 | $as_echo_n "checking for $ac_word... " >&6; } |
28323 | if test "${ac_cv_path_NROFF+set}" = set; then | 29847 | if test "${ac_cv_path_NROFF+set}" = set; then |
28324 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 29848 | $as_echo_n "(cached) " >&6 |
28325 | else | 29849 | else |
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 |
28342 | done | 29866 | done |
@@ -28348,11 +29872,11 @@ esac | |||
28348 | fi | 29872 | fi |
28349 | NROFF=$ac_cv_path_NROFF | 29873 | NROFF=$ac_cv_path_NROFF |
28350 | if test -n "$NROFF"; then | 29874 | if test -n "$NROFF"; then |
28351 | { echo "$as_me:$LINENO: result: $NROFF" >&5 | 29875 | { $as_echo "$as_me:$LINENO: result: $NROFF" >&5 |
28352 | echo "${ECHO_T}$NROFF" >&6; } | 29876 | $as_echo "$NROFF" >&6; } |
28353 | else | 29877 | else |
28354 | { echo "$as_me:$LINENO: result: no" >&5 | 29878 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
28355 | echo "${ECHO_T}no" >&6; } | 29879 | $as_echo "no" >&6; } |
28356 | fi | 29880 | fi |
28357 | 29881 | ||
28358 | 29882 | ||
@@ -28413,8 +29937,8 @@ fi | |||
28413 | 29937 | ||
28414 | 29938 | ||
28415 | if test -z "$disable_shadow" ; then | 29939 | if 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 |
28417 | echo $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;; |
28442 | esac | 29966 | esac |
28443 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 29967 | eval 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 |
28455 | else | 29980 | else |
28456 | echo "$as_me: failed program was:" >&5 | 29981 | $as_echo "$as_me: failed program was:" >&5 |
28457 | sed 's/^/| /' conftest.$ac_ext >&5 | 29982 | sed 's/^/| /' conftest.$ac_ext >&5 |
28458 | 29983 | ||
28459 | 29984 | ||
@@ -28463,16 +29988,16 @@ fi | |||
28463 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 29988 | rm -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 |
28467 | echo "${ECHO_T}yes" >&6; } | 29992 | $as_echo "yes" >&6; } |
28468 | 29993 | ||
28469 | cat >>confdefs.h <<\_ACEOF | 29994 | cat >>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 |
28475 | echo "${ECHO_T}no" >&6; } | 30000 | $as_echo "no" >&6; } |
28476 | fi | 30001 | fi |
28477 | fi | 30002 | fi |
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. |
28508 | if test "${enable_etc_default_login+set}" = set; then | 30033 | if 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 |
28511 | echo "$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;} | |||
28516 | else | 30041 | else |
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 |
28520 | echo "$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 | ||
28529 | if test "x$etc_default_login" != "xno"; then | 30054 | if 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 |
28531 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6; } | 30056 | $as_echo_n "checking for \"/etc/default/login\"... " >&6; } |
28532 | if test "${ac_cv_file___etc_default_login_+set}" = set; then | 30057 | if test "${ac_cv_file___etc_default_login_+set}" = set; then |
28533 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 30058 | $as_echo_n "(cached) " >&6 |
28534 | else | 30059 | else |
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 |
28537 | echo "$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; }; } |
28539 | if test -r ""/etc/default/login""; then | 30064 | if 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 |
28543 | fi | 30068 | fi |
28544 | fi | 30069 | fi |
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 |
28546 | echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6; } | 30071 | $as_echo "$ac_cv_file___etc_default_login_" >&6; } |
28547 | if test $ac_cv_file___etc_default_login_ = yes; then | 30072 | if test $ac_cv_file___etc_default_login_ = yes; then |
28548 | external_path_file=/etc/default/login | 30073 | external_path_file=/etc/default/login |
28549 | fi | 30074 | fi |
@@ -28569,18 +30094,18 @@ SERVER_PATH_MSG="(default)" | |||
28569 | if test "${with_default_path+set}" = set; then | 30094 | if 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. |
28574 | Edit /etc/login.conf instead." >&5 | 30099 | Edit /etc/login.conf instead." >&5 |
28575 | echo "$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. |
28577 | Edit /etc/login.conf instead." >&2;} | 30102 | Edit /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 |
28583 | echo "$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 | ||
28591 | else | 30116 | else |
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 |
28594 | echo "$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: |
28598 | If PATH is defined in $external_path_file, ensure the path to scp is included, | 30123 | If PATH is defined in $external_path_file, ensure the path to scp is included, |
28599 | otherwise scp will not work." >&5 | 30124 | otherwise scp will not work." >&5 |
28600 | echo "$as_me: WARNING: | 30125 | $as_echo "$as_me: WARNING: |
28601 | If PATH is defined in $external_path_file, ensure the path to scp is included, | 30126 | If PATH is defined in $external_path_file, ensure the path to scp is included, |
28602 | otherwise scp will not work." >&2;} | 30127 | otherwise 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;; |
28653 | esac | 30178 | esac |
28654 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 30179 | eval 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;; |
28662 | esac | 30188 | esac |
28663 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 30189 | eval 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` |
28669 | else | 30196 | else |
28670 | echo "$as_me: program exited with status $ac_status" >&5 | 30197 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
28671 | echo "$as_me: failed program was:" >&5 | 30198 | $as_echo "$as_me: failed program was:" >&5 |
28672 | sed 's/^/| /' conftest.$ac_ext >&5 | 30199 | sed '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" |
28676 | fi | 30203 | fi |
30204 | rm -rf conftest.dSYM | ||
28677 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 30205 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
28678 | fi | 30206 | fi |
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 |
28695 | echo "${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 |
28732 | echo $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; } |
28733 | IPV4_IN6_HACK_MSG="no" | 30261 | IPV4_IN6_HACK_MSG="no" |
28734 | 30262 | ||
28735 | # Check whether --with-4in6 was given. | 30263 | # Check whether --with-4in6 was given. |
28736 | if test "${with_4in6+set}" = set; then | 30264 | if 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 |
28740 | echo "${ECHO_T}yes" >&6; } | 30268 | $as_echo "yes" >&6; } |
28741 | 30269 | ||
28742 | cat >>confdefs.h <<\_ACEOF | 30270 | cat >>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 |
28749 | echo "${ECHO_T}no" >&6; } | 30277 | $as_echo "no" >&6; } |
28750 | fi | 30278 | fi |
28751 | 30279 | ||
28752 | else | 30280 | else |
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 |
28756 | echo "${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 |
28764 | echo "${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 |
28809 | echo "$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 |
28951 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; } | 30479 | $as_echo_n "checking if your system defines LASTLOG_FILE... " >&6; } |
28952 | cat >conftest.$ac_ext <<_ACEOF | 30480 | cat >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;; |
28984 | esac | 30512 | esac |
28985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 30513 | eval 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 |
28997 | echo "${ECHO_T}yes" >&6; } | 30526 | $as_echo "yes" >&6; } |
28998 | else | 30527 | else |
28999 | echo "$as_me: failed program was:" >&5 | 30528 | $as_echo "$as_me: failed program was:" >&5 |
29000 | sed 's/^/| /' conftest.$ac_ext >&5 | 30529 | sed '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 |
29004 | echo "${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 |
29006 | echo $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;; |
29036 | esac | 30565 | esac |
29037 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 30566 | eval 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 |
29049 | echo "${ECHO_T}yes" >&6; } | 30579 | $as_echo "yes" >&6; } |
29050 | else | 30580 | else |
29051 | echo "$as_me: failed program was:" >&5 | 30581 | $as_echo "$as_me: failed program was:" >&5 |
29052 | sed 's/^/| /' conftest.$ac_ext >&5 | 30582 | sed '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 |
29056 | echo "${ECHO_T}no" >&6; } | 30586 | $as_echo "no" >&6; } |
29057 | system_lastlog_path=no | 30587 | system_lastlog_path=no |
29058 | 30588 | ||
29059 | fi | 30589 | fi |
@@ -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 |
29077 | echo "$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 |
29080 | fi | 30610 | fi |
@@ -29087,8 +30617,8 @@ _ACEOF | |||
29087 | 30617 | ||
29088 | fi | 30618 | fi |
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 |
29091 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; } | 30621 | $as_echo_n "checking if your system defines UTMP_FILE... " >&6; } |
29092 | cat >conftest.$ac_ext <<_ACEOF | 30622 | cat >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;; |
29118 | esac | 30648 | esac |
29119 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 30649 | eval 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 |
29131 | echo "${ECHO_T}yes" >&6; } | 30662 | $as_echo "yes" >&6; } |
29132 | else | 30663 | else |
29133 | echo "$as_me: failed program was:" >&5 | 30664 | $as_echo "$as_me: failed program was:" >&5 |
29134 | sed 's/^/| /' conftest.$ac_ext >&5 | 30665 | sed 's/^/| /' conftest.$ac_ext >&5 |
29135 | 30666 | ||
29136 | { echo "$as_me:$LINENO: result: no" >&5 | 30667 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
29137 | echo "${ECHO_T}no" >&6; } | 30668 | $as_echo "no" >&6; } |
29138 | system_utmp_path=no | 30669 | system_utmp_path=no |
29139 | 30670 | ||
29140 | fi | 30671 | fi |
@@ -29163,8 +30694,8 @@ _ACEOF | |||
29163 | 30694 | ||
29164 | fi | 30695 | fi |
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 |
29167 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; } | 30698 | $as_echo_n "checking if your system defines WTMP_FILE... " >&6; } |
29168 | cat >conftest.$ac_ext <<_ACEOF | 30699 | cat >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;; |
29194 | esac | 30725 | esac |
29195 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 30726 | eval 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 |
29207 | echo "${ECHO_T}yes" >&6; } | 30739 | $as_echo "yes" >&6; } |
29208 | else | 30740 | else |
29209 | echo "$as_me: failed program was:" >&5 | 30741 | $as_echo "$as_me: failed program was:" >&5 |
29210 | sed 's/^/| /' conftest.$ac_ext >&5 | 30742 | sed 's/^/| /' conftest.$ac_ext >&5 |
29211 | 30743 | ||
29212 | { echo "$as_me:$LINENO: result: no" >&5 | 30744 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
29213 | echo "${ECHO_T}no" >&6; } | 30745 | $as_echo "no" >&6; } |
29214 | system_wtmp_path=no | 30746 | system_wtmp_path=no |
29215 | 30747 | ||
29216 | fi | 30748 | fi |
@@ -29240,8 +30772,8 @@ _ACEOF | |||
29240 | fi | 30772 | fi |
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 |
29244 | echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6; } | 30776 | $as_echo_n "checking if your system defines UTMPX_FILE... " >&6; } |
29245 | cat >conftest.$ac_ext <<_ACEOF | 30777 | cat >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;; |
29274 | esac | 30806 | esac |
29275 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 30807 | eval 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 |
29287 | echo "${ECHO_T}yes" >&6; } | 30820 | $as_echo "yes" >&6; } |
29288 | else | 30821 | else |
29289 | echo "$as_me: failed program was:" >&5 | 30822 | $as_echo "$as_me: failed program was:" >&5 |
29290 | sed 's/^/| /' conftest.$ac_ext >&5 | 30823 | sed 's/^/| /' conftest.$ac_ext >&5 |
29291 | 30824 | ||
29292 | { echo "$as_me:$LINENO: result: no" >&5 | 30825 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
29293 | echo "${ECHO_T}no" >&6; } | 30826 | $as_echo "no" >&6; } |
29294 | system_utmpx_path=no | 30827 | system_utmpx_path=no |
29295 | 30828 | ||
29296 | fi | 30829 | fi |
@@ -29311,8 +30844,8 @@ _ACEOF | |||
29311 | 30844 | ||
29312 | fi | 30845 | fi |
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 |
29315 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; } | 30848 | $as_echo_n "checking if your system defines WTMPX_FILE... " >&6; } |
29316 | cat >conftest.$ac_ext <<_ACEOF | 30849 | cat >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;; |
29345 | esac | 30878 | esac |
29346 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 30879 | eval 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 |
29358 | echo "${ECHO_T}yes" >&6; } | 30892 | $as_echo "yes" >&6; } |
29359 | else | 30893 | else |
29360 | echo "$as_me: failed program was:" >&5 | 30894 | $as_echo "$as_me: failed program was:" >&5 |
29361 | sed 's/^/| /' conftest.$ac_ext >&5 | 30895 | sed 's/^/| /' conftest.$ac_ext >&5 |
29362 | 30896 | ||
29363 | { echo "$as_me:$LINENO: result: no" >&5 | 30897 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
29364 | echo "${ECHO_T}no" >&6; } | 30898 | $as_echo "no" >&6; } |
29365 | system_wtmpx_path=no | 30899 | system_wtmpx_path=no |
29366 | 30900 | ||
29367 | fi | 30901 | fi |
@@ -29385,8 +30919,8 @@ fi | |||
29385 | 30919 | ||
29386 | if test ! -z "$blibpath" ; then | 30920 | if 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 |
29389 | echo "$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;} |
29390 | fi | 30924 | fi |
29391 | 30925 | ||
29392 | CFLAGS="$CFLAGS $werror_flags" | 30926 | CFLAGS="$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 |
29434 | echo "$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;} ;; | |||
29467 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 31002 | if 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 |
29471 | echo "$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 |
29475 | echo "$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 |
29477 | fi | 31012 | fi |
29478 | rm -f confcache | 31013 | rm -f confcache |
@@ -29488,7 +31023,7 @@ ac_ltlibobjs= | |||
29488 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 31023 | for 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} |
31040 | ac_write_fail=0 | ||
29504 | ac_clean_files_save=$ac_clean_files | 31041 | ac_clean_files_save=$ac_clean_files |
29505 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 31042 | ac_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 |
29507 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 31044 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
29508 | cat >$CONFIG_STATUS <<_ACEOF | 31045 | cat >$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 | |||
29518 | SHELL=\${CONFIG_SHELL-$SHELL} | 31055 | SHELL=\${CONFIG_SHELL-$SHELL} |
29519 | _ACEOF | 31056 | _ACEOF |
29520 | 31057 | ||
29521 | cat >>$CONFIG_STATUS <<\_ACEOF | 31058 | cat >>$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 | |||
29528 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 31065 | if 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 | |||
29550 | as_cr_digits='0123456789' | 31087 | as_cr_digits='0123456789' |
29551 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 31088 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
29552 | 31089 | ||
29553 | # The user is always right. | 31090 | as_nl=' |
29554 | if test "${PATH_SEPARATOR+set}" != set; then | 31091 | ' |
29555 | echo "#! /bin/sh" >conf$$.sh | 31092 | export as_nl |
29556 | echo "exit 0" >>conf$$.sh | 31093 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
29557 | chmod +x conf$$.sh | 31094 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
29558 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 31095 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
29559 | PATH_SEPARATOR=';' | 31096 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
31097 | if (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' | ||
31100 | else | ||
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' | ||
31120 | fi | ||
31121 | |||
31122 | # The user is always right. | ||
31123 | if 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 | } | ||
29564 | fi | 31129 | fi |
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.) |
29579 | as_nl=' | ||
29580 | ' | ||
29581 | IFS=" "" $as_nl" | 31144 | IFS=" "" $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 |
29601 | fi | 31164 | fi |
29602 | if test ! -f "$as_myself"; then | 31165 | if 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; } |
29605 | fi | 31168 | fi |
29606 | 31169 | ||
@@ -29613,17 +31176,10 @@ PS2='> ' | |||
29613 | PS4='+ ' | 31176 | PS4='+ ' |
29614 | 31177 | ||
29615 | # NLS nuisances. | 31178 | # NLS nuisances. |
29616 | for as_var in \ | 31179 | LC_ALL=C |
29617 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 31180 | export LC_ALL |
29618 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 31181 | LANGUAGE=C |
29619 | LC_TELEPHONE LC_TIME | 31182 | export LANGUAGE |
29620 | do | ||
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 | ||
29626 | done | ||
29627 | 31183 | ||
29628 | # Required to use basename. | 31184 | # Required to use basename. |
29629 | if expr a : '\(a\)' >/dev/null 2>&1 && | 31185 | if 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 || |
29648 | echo 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';; |
29726 | esac | 31282 | esac |
29727 | |||
29728 | if expr a : '\(a\)' >/dev/null 2>&1 && | 31283 | if 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 |
29738 | else | 31293 | else |
29739 | rm -f conf$$.dir | 31294 | rm -f conf$$.dir |
29740 | mkdir conf$$.dir | 31295 | mkdir conf$$.dir 2>/dev/null |
29741 | fi | 31296 | fi |
29742 | echo >conf$$.file | 31297 | if (echo >conf$$.file) 2>/dev/null; then |
29743 | if 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' |
29751 | elif ln conf$$.file conf$$ 2>/dev/null; then | 31310 | fi |
29752 | as_ln_s=ln | ||
29753 | else | 31311 | else |
29754 | as_ln_s='cp -p' | 31312 | as_ln_s='cp -p' |
29755 | fi | 31313 | fi |
@@ -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. |
29801 | ac_log=" | 31359 | ac_log=" |
29802 | This file was extended by OpenSSH $as_me Portable, which was | 31360 | This file was extended by OpenSSH $as_me Portable, which was |
29803 | generated by GNU Autoconf 2.61. Invocation command line was | 31361 | generated 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 | ||
29816 | cat >>$CONFIG_STATUS <<_ACEOF | 31374 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
29817 | # Files that config.status was made for. | 31375 | # Files that config.status was made for. |
29818 | config_files="$ac_config_files" | 31376 | config_files="$ac_config_files" |
29819 | config_headers="$ac_config_headers" | 31377 | config_headers="$ac_config_headers" |
29820 | 31378 | ||
29821 | _ACEOF | 31379 | _ACEOF |
29822 | 31380 | ||
29823 | cat >>$CONFIG_STATUS <<\_ACEOF | 31381 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
29824 | ac_cs_usage="\ | 31382 | ac_cs_usage="\ |
29825 | \`$as_me' instantiates files from templates according to the | 31383 | \`$as_me' instantiates files from templates according to the |
29826 | current configuration. | 31384 | current 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 | ||
29840 | Configuration files: | 31398 | Configuration files: |
29841 | $config_files | 31399 | $config_files |
@@ -29846,24 +31404,25 @@ $config_headers | |||
29846 | Report bugs to <bug-autoconf@gnu.org>." | 31404 | Report bugs to <bug-autoconf@gnu.org>." |
29847 | 31405 | ||
29848 | _ACEOF | 31406 | _ACEOF |
29849 | cat >>$CONFIG_STATUS <<_ACEOF | 31407 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
29850 | ac_cs_version="\\ | 31408 | ac_cs_version="\\ |
29851 | OpenSSH config.status Portable | 31409 | OpenSSH config.status Portable |
29852 | configured by $0, generated by GNU Autoconf 2.61, | 31410 | configured 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 | ||
29855 | Copyright (C) 2006 Free Software Foundation, Inc. | 31413 | Copyright (C) 2008 Free Software Foundation, Inc. |
29856 | This config.status script is free software; the Free Software Foundation | 31414 | This config.status script is free software; the Free Software Foundation |
29857 | gives unlimited permission to copy, distribute and modify it." | 31415 | gives unlimited permission to copy, distribute and modify it." |
29858 | 31416 | ||
29859 | ac_pwd='$ac_pwd' | 31417 | ac_pwd='$ac_pwd' |
29860 | srcdir='$srcdir' | 31418 | srcdir='$srcdir' |
29861 | INSTALL='$INSTALL' | 31419 | INSTALL='$INSTALL' |
31420 | AWK='$AWK' | ||
31421 | test -n "\$AWK" || AWK=awk | ||
29862 | _ACEOF | 31422 | _ACEOF |
29863 | 31423 | ||
29864 | cat >>$CONFIG_STATUS <<\_ACEOF | 31424 | cat >>$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. | ||
29867 | ac_need_defaults=: | 31426 | ac_need_defaults=: |
29868 | while test $# != 0 | 31427 | while test $# != 0 |
29869 | do | 31428 | do |
@@ -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 |
29902 | Try \`$0 --help' for more information." >&2 | 31467 | Try \`$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 |
29912 | Try \`$0 --help' for more information." >&2 | 31477 | Try \`$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 | |||
29927 | fi | 31492 | fi |
29928 | 31493 | ||
29929 | _ACEOF | 31494 | _ACEOF |
29930 | cat >>$CONFIG_STATUS <<_ACEOF | 31495 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
29931 | if \$ac_cs_recheck; then | 31496 | if \$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 "\$@" |
29936 | fi | 31503 | fi |
29937 | 31504 | ||
29938 | _ACEOF | 31505 | _ACEOF |
29939 | cat >>$CONFIG_STATUS <<\_ACEOF | 31506 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
29940 | exec 5>>config.log | 31507 | exec 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 |
29950 | cat >>$CONFIG_STATUS <<_ACEOF | 31517 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
29951 | _ACEOF | 31518 | _ACEOF |
29952 | 31519 | ||
29953 | cat >>$CONFIG_STATUS <<\_ACEOF | 31520 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
29954 | 31521 | ||
29955 | # Handling of arguments. | 31522 | # Handling of arguments. |
29956 | for ac_config_target in $ac_config_targets | 31523 | for 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 |
29971 | echo "$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 |
29974 | done | 31541 | done |
@@ -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 | ||
30021 | if test -n "$CONFIG_FILES"; then | 31585 | if test -n "$CONFIG_FILES"; then |
30022 | 31586 | ||
30023 | _ACEOF | ||
30024 | |||
30025 | |||
30026 | |||
30027 | ac_delim='%!_!# ' | ||
30028 | for ac_last_try in false false false false false :; do | ||
30029 | cat >conf$$subs.sed <<_ACEOF | ||
30030 | SHELL!$SHELL$ac_delim | ||
30031 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | ||
30032 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim | ||
30033 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | ||
30034 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | ||
30035 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim | ||
30036 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | ||
30037 | exec_prefix!$exec_prefix$ac_delim | ||
30038 | prefix!$prefix$ac_delim | ||
30039 | program_transform_name!$program_transform_name$ac_delim | ||
30040 | bindir!$bindir$ac_delim | ||
30041 | sbindir!$sbindir$ac_delim | ||
30042 | libexecdir!$libexecdir$ac_delim | ||
30043 | datarootdir!$datarootdir$ac_delim | ||
30044 | datadir!$datadir$ac_delim | ||
30045 | sysconfdir!$sysconfdir$ac_delim | ||
30046 | sharedstatedir!$sharedstatedir$ac_delim | ||
30047 | localstatedir!$localstatedir$ac_delim | ||
30048 | includedir!$includedir$ac_delim | ||
30049 | oldincludedir!$oldincludedir$ac_delim | ||
30050 | docdir!$docdir$ac_delim | ||
30051 | infodir!$infodir$ac_delim | ||
30052 | htmldir!$htmldir$ac_delim | ||
30053 | dvidir!$dvidir$ac_delim | ||
30054 | pdfdir!$pdfdir$ac_delim | ||
30055 | psdir!$psdir$ac_delim | ||
30056 | libdir!$libdir$ac_delim | ||
30057 | localedir!$localedir$ac_delim | ||
30058 | mandir!$mandir$ac_delim | ||
30059 | DEFS!$DEFS$ac_delim | ||
30060 | ECHO_C!$ECHO_C$ac_delim | ||
30061 | ECHO_N!$ECHO_N$ac_delim | ||
30062 | ECHO_T!$ECHO_T$ac_delim | ||
30063 | LIBS!$LIBS$ac_delim | ||
30064 | build_alias!$build_alias$ac_delim | ||
30065 | host_alias!$host_alias$ac_delim | ||
30066 | target_alias!$target_alias$ac_delim | ||
30067 | CC!$CC$ac_delim | ||
30068 | CFLAGS!$CFLAGS$ac_delim | ||
30069 | LDFLAGS!$LDFLAGS$ac_delim | ||
30070 | CPPFLAGS!$CPPFLAGS$ac_delim | ||
30071 | ac_ct_CC!$ac_ct_CC$ac_delim | ||
30072 | EXEEXT!$EXEEXT$ac_delim | ||
30073 | OBJEXT!$OBJEXT$ac_delim | ||
30074 | build!$build$ac_delim | ||
30075 | build_cpu!$build_cpu$ac_delim | ||
30076 | build_vendor!$build_vendor$ac_delim | ||
30077 | build_os!$build_os$ac_delim | ||
30078 | host!$host$ac_delim | ||
30079 | host_cpu!$host_cpu$ac_delim | ||
30080 | host_vendor!$host_vendor$ac_delim | ||
30081 | host_os!$host_os$ac_delim | ||
30082 | CPP!$CPP$ac_delim | ||
30083 | GREP!$GREP$ac_delim | ||
30084 | EGREP!$EGREP$ac_delim | ||
30085 | AWK!$AWK$ac_delim | ||
30086 | RANLIB!$RANLIB$ac_delim | ||
30087 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | ||
30088 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | ||
30089 | INSTALL_DATA!$INSTALL_DATA$ac_delim | ||
30090 | AR!$AR$ac_delim | ||
30091 | CAT!$CAT$ac_delim | ||
30092 | KILL!$KILL$ac_delim | ||
30093 | PERL!$PERL$ac_delim | ||
30094 | SED!$SED$ac_delim | ||
30095 | ENT!$ENT$ac_delim | ||
30096 | TEST_MINUS_S_SH!$TEST_MINUS_S_SH$ac_delim | ||
30097 | SH!$SH$ac_delim | ||
30098 | TEST_SHELL!$TEST_SHELL$ac_delim | ||
30099 | PATH_GROUPADD_PROG!$PATH_GROUPADD_PROG$ac_delim | ||
30100 | PATH_USERADD_PROG!$PATH_USERADD_PROG$ac_delim | ||
30101 | MAKE_PACKAGE_SUPPORTED!$MAKE_PACKAGE_SUPPORTED$ac_delim | ||
30102 | STARTUP_SCRIPT_SHELL!$STARTUP_SCRIPT_SHELL$ac_delim | ||
30103 | LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim | ||
30104 | PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim | ||
30105 | LD!$LD$ac_delim | ||
30106 | SSHDLIBS!$SSHDLIBS$ac_delim | ||
30107 | LIBEDIT!$LIBEDIT$ac_delim | ||
30108 | INSTALL_SSH_RAND_HELPER!$INSTALL_SSH_RAND_HELPER$ac_delim | ||
30109 | SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim | ||
30110 | PROG_LS!$PROG_LS$ac_delim | ||
30111 | PROG_NETSTAT!$PROG_NETSTAT$ac_delim | ||
30112 | PROG_ARP!$PROG_ARP$ac_delim | ||
30113 | PROG_IFCONFIG!$PROG_IFCONFIG$ac_delim | ||
30114 | PROG_JSTAT!$PROG_JSTAT$ac_delim | ||
30115 | PROG_PS!$PROG_PS$ac_delim | ||
30116 | PROG_SAR!$PROG_SAR$ac_delim | ||
30117 | PROG_W!$PROG_W$ac_delim | ||
30118 | PROG_WHO!$PROG_WHO$ac_delim | ||
30119 | PROG_LAST!$PROG_LAST$ac_delim | ||
30120 | PROG_LASTLOG!$PROG_LASTLOG$ac_delim | ||
30121 | PROG_DF!$PROG_DF$ac_delim | ||
30122 | PROG_VMSTAT!$PROG_VMSTAT$ac_delim | ||
30123 | PROG_UPTIME!$PROG_UPTIME$ac_delim | ||
30124 | PROG_IPCS!$PROG_IPCS$ac_delim | ||
30125 | PROG_TAIL!$PROG_TAIL$ac_delim | ||
30126 | INSTALL_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 | ||
30133 | echo "$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 | ||
30138 | done | ||
30139 | 31587 | ||
30140 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | 31588 | ac_cr=' ' |
30141 | if test -n "$ac_eof"; then | 31589 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
30142 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | 31590 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
30143 | ac_eof=`expr $ac_eof + 1` | 31591 | ac_cs_awk_cr='\\r' |
31592 | else | ||
31593 | ac_cs_awk_cr=$ac_cr | ||
30144 | fi | 31594 | fi |
30145 | 31595 | ||
30146 | cat >>$CONFIG_STATUS <<_ACEOF | 31596 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
30147 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | ||
30148 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
30149 | _ACEOF | ||
30150 | sed ' | ||
30151 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | ||
30152 | s/^/s,@/; s/!/@,|#_!!_#|/ | ||
30153 | :n | ||
30154 | t n | ||
30155 | s/'"$ac_delim"'$/,g/; t | ||
30156 | s/$/\\/; p | ||
30157 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | ||
30158 | ' >>$CONFIG_STATUS <conf$$subs.sed | ||
30159 | rm -f conf$$subs.sed | ||
30160 | cat >>$CONFIG_STATUS <<_ACEOF | ||
30161 | CEOF$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; }; } | ||
31608 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | ||
30165 | ac_delim='%!_!# ' | 31609 | ac_delim='%!_!# ' |
30166 | for ac_last_try in false false false false false :; do | 31610 | for ac_last_try in false false false false false :; do |
30167 | cat >conf$$subs.sed <<_ACEOF | 31611 | . ./conf$$subs.sh || |
30168 | OPENSC_CONFIG!$OPENSC_CONFIG$ac_delim | 31612 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
30169 | PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim | 31613 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
30170 | xauth_path!$xauth_path$ac_delim | 31614 | { (exit 1); exit 1; }; } |
30171 | STRIP_OPT!$STRIP_OPT$ac_delim | 31615 | |
30172 | XAUTH_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 |
30173 | NROFF!$NROFF$ac_delim | ||
30174 | MANTYPE!$MANTYPE$ac_delim | ||
30175 | mansubdir!$mansubdir$ac_delim | ||
30176 | user_path!$user_path$ac_delim | ||
30177 | piddir!$piddir$ac_delim | ||
30178 | TEST_SSH_IPV6!$TEST_SSH_IPV6$ac_delim | ||
30179 | LIBOBJS!$LIBOBJS$ac_delim | ||
30180 | LTLIBOBJS!$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 |
30187 | echo "$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 |
30192 | done | 31625 | done |
31626 | rm -f conf$$subs.sh | ||
31627 | |||
31628 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
31629 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | ||
31630 | _ACEOF | ||
31631 | sed -n ' | ||
31632 | h | ||
31633 | s/^/S["/; s/!.*/"]=/ | ||
31634 | p | ||
31635 | g | ||
31636 | s/^[^!]*!// | ||
31637 | :repl | ||
31638 | t repl | ||
31639 | s/'"$ac_delim"'$// | ||
31640 | t delim | ||
31641 | :nl | ||
31642 | h | ||
31643 | s/\(.\{148\}\).*/\1/ | ||
31644 | t more1 | ||
31645 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
31646 | p | ||
31647 | n | ||
31648 | b repl | ||
31649 | :more1 | ||
31650 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
31651 | p | ||
31652 | g | ||
31653 | s/.\{148\}// | ||
31654 | t nl | ||
31655 | :delim | ||
31656 | h | ||
31657 | s/\(.\{148\}\).*/\1/ | ||
31658 | t more2 | ||
31659 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
31660 | p | ||
31661 | b | ||
31662 | :more2 | ||
31663 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
31664 | p | ||
31665 | g | ||
31666 | s/.\{148\}// | ||
31667 | t delim | ||
31668 | ' <conf$$subs.awk | sed ' | ||
31669 | /^[^""]/{ | ||
31670 | N | ||
31671 | s/\n// | ||
31672 | } | ||
31673 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
31674 | rm -f conf$$subs.awk | ||
31675 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
31676 | _ACAWK | ||
31677 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | ||
31678 | for (key in S) S_is_set[key] = 1 | ||
31679 | FS = "" | ||
30193 | 31680 | ||
30194 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | 31681 | } |
30195 | if 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, "@") |
30198 | fi | 31685 | substed = 0 |
30199 | 31686 | len = length(field[1]) | |
30200 | cat >>$CONFIG_STATUS <<_ACEOF | 31687 | for (i = 2; i < nfields; i++) { |
30201 | cat >"\$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]) { |
30204 | sed ' | 31691 | value = S[key] |
30205 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | 31692 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
30206 | s/^/s,@/; s/!/@,|#_!!_#|/ | 31693 | len += length(value) + length(field[++i]) |
30207 | :n | 31694 | substed = 1 |
30208 | t n | 31695 | } else |
30209 | s/'"$ac_delim"'$/,g/; t | 31696 | len += 1 + keylen |
30210 | s/$/\\/; p | 31697 | } |
30211 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | 31698 | |
30212 | ' >>$CONFIG_STATUS <conf$$subs.sed | 31699 | print line |
30213 | rm -f conf$$subs.sed | 31700 | } |
30214 | cat >>$CONFIG_STATUS <<_ACEOF | 31701 | |
30215 | :end | 31702 | _ACAWK |
30216 | s/|#_!!_#|//g | 31703 | _ACEOF |
30217 | CEOF$ac_eof | 31704 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
31705 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
31706 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
31707 | else | ||
31708 | cat | ||
31709 | fi < "$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 | }' |
30234 | fi | 31728 | fi |
30235 | 31729 | ||
30236 | cat >>$CONFIG_STATUS <<\_ACEOF | 31730 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
30237 | fi # test -n "$CONFIG_FILES" | 31731 | fi # 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'. | ||
31736 | if test -n "$CONFIG_HEADERS"; then | ||
31737 | cat >"$tmp/defines.awk" <<\_ACAWK || | ||
31738 | BEGIN { | ||
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. | ||
31747 | ac_delim='%!_!# ' | ||
31748 | for 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 | ||
31759 | done | ||
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 | |||
31765 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
31766 | sed -n ' | ||
31767 | s/.\{148\}/&'"$ac_delim"'/g | ||
31768 | t rset | ||
31769 | :rset | ||
31770 | s/^[ ]*#[ ]*define[ ][ ]*/ / | ||
31771 | t def | ||
31772 | d | ||
31773 | :def | ||
31774 | s/\\$// | ||
31775 | t bsnl | ||
31776 | s/["\\]/\\&/g | ||
31777 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
31778 | D["\1"]=" \3"/p | ||
31779 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | ||
31780 | d | ||
31781 | :bsnl | ||
31782 | s/["\\]/\\&/g | ||
31783 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
31784 | D["\1"]=" \3\\\\\\n"\\/p | ||
31785 | t cont | ||
31786 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
31787 | t cont | ||
31788 | d | ||
31789 | :cont | ||
31790 | n | ||
31791 | s/.\{148\}/&'"$ac_delim"'/g | ||
31792 | t clear | ||
31793 | :clear | ||
31794 | s/\\$// | ||
31795 | t bsnlc | ||
31796 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
31797 | d | ||
31798 | :bsnlc | ||
31799 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
31800 | b cont | ||
31801 | ' <confdefs.h | sed ' | ||
31802 | s/'"$ac_delim"'/"\\\ | ||
31803 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
31804 | |||
31805 | cat >>$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 | ||
31839 | cat >>$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; }; } | ||
31843 | fi # test -n "$CONFIG_HEADERS" | ||
31844 | |||
30239 | 31845 | ||
30240 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS | 31846 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
31847 | shift | ||
31848 | for ac_tag | ||
30241 | do | 31849 | do |
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 |
30248 | echo "$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 |
30278 | echo "$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 |
30292 | echo "$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 || |
30306 | echo 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 || |
30341 | echo 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 |
30363 | echo "$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 | ||
30367 | case "$ac_dir" in | 31987 | case "$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 | ||
30412 | cat >>$CONFIG_STATUS <<\_ACEOF | 32032 | cat >>$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. |
30415 | ac_datarootdir_hack=; ac_datarootdir_seen= | 32035 | ac_datarootdir_hack=; ac_datarootdir_seen= |
30416 | 32036 | ||
30417 | case `sed -n '/datarootdir/ { | 32037 | ac_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 | ' |
32048 | case `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 |
30430 | echo "$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 |
30432 | cat >>$CONFIG_STATUS <<_ACEOF | 32054 | cat >>$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? |
30446 | cat >>$CONFIG_STATUS <<_ACEOF | 32068 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
30447 | sed "$ac_vpsub | 32069 | ac_sed_extra="$ac_vpsub |
30448 | $extrasub | 32070 | $extrasub |
30449 | _ACEOF | 32071 | _ACEOF |
30450 | cat >>$CONFIG_STATUS <<\_ACEOF | 32072 | cat >>$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 |
30453 | s&@configure_input@&$configure_input&;t t | 32075 | s|@configure_input@|$ac_sed_conf_input|;t t |
30454 | s&@top_builddir@&$ac_top_builddir_sub&;t t | 32076 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
32077 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
30455 | s&@srcdir@&$ac_srcdir&;t t | 32078 | s&@srcdir@&$ac_srcdir&;t t |
30456 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | 32079 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
30457 | s&@top_srcdir@&$ac_top_srcdir&;t t | 32080 | s&@top_srcdir@&$ac_top_srcdir&;t t |
@@ -30461,119 +32084,58 @@ s&@abs_builddir@&$ac_abs_builddir&;t t | |||
30461 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 32084 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
30462 | s&@INSTALL@&$ac_INSTALL&;t t | 32085 | s&@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 | " |
32088 | eval 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 | ||
30466 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 32093 | test -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' |
30470 | which seems to be undefined. Please make sure it is defined." >&5 | 32097 | which seems to be undefined. Please make sure it is defined." >&5 |
30471 | echo "$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' |
30472 | which seems to be undefined. Please make sure it is defined." >&2;} | 32099 | which 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. | ||
30488 | rm -f conftest.defines conftest.tail | ||
30489 | # First, append a space to every undef/define line, to ease matching. | ||
30490 | echo '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. | ||
30496 | ac_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. | ||
30501 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | ||
30502 | ac_dB='\\)[ (].*,\\1define\\2' | ||
30503 | ac_dC=' ' | ||
30504 | ac_dD=' ,' | ||
30505 | |||
30506 | uniq 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.) | ||
30524 | echo 's/ $// | ||
30525 | s,^[ #]*u.*,/* & */,' >>conftest.defines | ||
30526 | |||
30527 | # Break up conftest.defines: | ||
30528 | ac_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. | ||
30534 | ac_in='$ac_file_inputs' | ||
30535 | ac_out='"$tmp/out1"' | ||
30536 | ac_nxt='"$tmp/out2"' | ||
30537 | |||
30538 | while : | ||
30539 | do | ||
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 | ||
30546 | b | ||
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 | ||
30557 | done | ||
30558 | rm -f conftest.defines conftest.tail | ||
30559 | |||
30560 | echo "ac_result=$ac_in" >>$CONFIG_STATUS | ||
30561 | cat >>$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" \ |
30567 | echo "$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 | |||
30587 | chmod +x $CONFIG_STATUS | 32149 | chmod +x $CONFIG_STATUS |
30588 | ac_clean_files=$ac_clean_files_save | 32150 | ac_clean_files=$ac_clean_files_save |
30589 | 32151 | ||
32152 | test $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; } |
30610 | fi | 32177 | fi |
32178 | if 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;} | ||
32181 | fi | ||
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 | ||
17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) | 17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) |
18 | AC_REVISION($Revision: 1.415 $) | 18 | AC_REVISION($Revision: 1.427 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | 20 | ||
21 | AC_CONFIG_HEADER(config.h) | 21 | AC_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 | ||
329 | AC_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 |
330 | SIA_MSG="no" | 334 | SIA_MSG="no" |
331 | SPC_MSG="no" | 335 | SPC_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 | ||
1011 | AC_CHECK_HEADER([zlib.h], ,AC_MSG_ERROR([*** zlib.h missing - please install first or check config.log ***])) | ||
1006 | AC_CHECK_LIB(z, deflate, , | 1012 | AC_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 | ) |
1026 | AC_CHECK_HEADER([zlib.h], ,AC_MSG_ERROR([*** zlib.h missing - please install first or check config.log ***])) | ||
1027 | 1032 | ||
1028 | AC_ARG_WITH(zlib-version-check, | 1033 | AC_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 | ||
2110 | AC_MSG_CHECKING([if EVP_DigestUpdate returns an int]) | ||
2111 | AC_LINK_IFELSE( | ||
2112 | [AC_LANG_SOURCE([[ | ||
2113 | #include <string.h> | ||
2114 | #include <openssl/evp.h> | ||
2115 | int 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. |
2105 | if test "x$check_for_libcrypt_before" = "x1"; then | 2129 | if 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 | ||
2721 | AC_CHECK_TYPES(in_addr_t,,, | 2745 | AC_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]) |
3089 | fi | 3113 | fi |
3090 | 3114 | ||
3091 | AC_MSG_CHECKING(if f_fsid has val members) | 3115 | AC_MSG_CHECKING(if struct statvfs.f_fsid is integral type) |
3092 | AC_TRY_COMPILE([ | 3116 | AC_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 | ||
3101 | AC_CACHE_CHECK([for msg_control field in struct msghdr], | 3151 | AC_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> | ||
3358 | int 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> |
3308 | int main() | 3376 | int 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 |
154 | for cfgfile in ssh_config sshd_config ssh_prng_cmds | 154 | for cfgfile in ssh_config sshd_config |
155 | do | 155 | do |
156 | mv $FAKE_ROOT/$sysconfdir/$cfgfile $FAKE_ROOT/$sysconfdir/$cfgfile.default | 156 | mv $FAKE_ROOT/$sysconfdir/$cfgfile $FAKE_ROOT/$sysconfdir/$cfgfile.default |
157 | done | 157 | done |
158 | 158 | ||
159 | # AIX 5.3 and newer have /dev/random and don't create ssh_prng_cmds | ||
160 | if [ -f $FAKE_ROOT/$sysconfdir/ssh_prng_cmds ] | ||
161 | then | ||
162 | mv FAKE_ROOT/$sysconfdir/ssh_prng_cmds \ | ||
163 | $FAKE_ROOT/$sysconfdir/ssh_prng_cmds.default | ||
164 | fi | ||
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 ... |
359 | Template Version: 1.31 | 359 | Template 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 | |||
26 | privsep_configured=no | 38 | privsep_configured=no |
27 | privsep_used=yes | 39 | privsep_used=yes |
28 | cygwin_value="" | 40 | cygwin_value="" |
41 | user_account= | ||
29 | password_value= | 42 | password_value= |
43 | opt_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" ] | |||
378 | then | 397 | then |
379 | csih_auto_answer="no" | 398 | csih_auto_answer="no" |
380 | csih_disable_color | 399 | csih_disable_color |
400 | opt_force=yes | ||
381 | fi | 401 | fi |
382 | if [ -n "${SSH_HOST_CONFIG_AUTO_ANSWER_NO}" ] | 402 | if [ -n "${SSH_HOST_CONFIG_AUTO_ANSWER_NO}" ] |
383 | then | 403 | then |
384 | csih_auto_answer="no" | 404 | csih_auto_answer="no" |
385 | csih_disable_color | 405 | csih_disable_color |
406 | opt_force=yes | ||
386 | fi | 407 | fi |
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 | |||
489 | fi | 518 | fi |
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 |
492 | csih_make_dir "${LOCALSTATEDIR}/empty" "Cannot create log directory." | 521 | csih_make_dir "${LOCALSTATEDIR}/empty" "Cannot create ${LOCALSTATEDIR}/empty directory." |
493 | chmod 755 "${LOCALSTATEDIR}/empty" | 522 | chmod 755 "${LOCALSTATEDIR}/empty" |
494 | setfacl -m u:system:rwx "${LOCALSTATEDIR}/empty" | 523 | setfacl -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 |
292 | if [ ! -f ${SYSCONFDIR}/passwd ] | 304 | if [ ! -f ${SYSCONFDIR}/passwd ] |
293 | then | 305 | then |
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 | ||
14 | Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation | 14 | Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation |
15 | Name: openssh | 15 | Name: openssh |
16 | Version: 5.2p1 | 16 | Version: 5.3p1 |
17 | URL: http://www.openssh.com/ | 17 | URL: http://www.openssh.com/ |
18 | Release: 1 | 18 | Release: 1 |
19 | Source0: openssh-%{version}.tar.gz | 19 | Source0: openssh-%{version}.tar.gz |
@@ -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 |
301 | typedef u_int32_t in_addr_t; | 301 | typedef u_int32_t in_addr_t; |
302 | #endif | 302 | #endif |
303 | #ifndef HAVE_IN_PORT_T | ||
304 | typedef 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 |
@@ -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 | ||
63 | struct jpake_group * | 64 | struct modp_group * |
64 | jpake_default_group(void) | 65 | jpake_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 | */ | ||
86 | BIGNUM * | ||
87 | bn_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 | */ | ||
134 | int | ||
135 | hash_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 */ | ||
169 | void | ||
170 | jpake_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 */ | ||
193 | void | ||
194 | jpake_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 | ||
224 | struct jpake_ctx * | 70 | struct jpake_ctx * |
@@ -243,7 +89,6 @@ jpake_new(void) | |||
243 | return ret; | 89 | return ret; |
244 | } | 90 | } |
245 | 91 | ||
246 | |||
247 | void | 92 | void |
248 | jpake_free(struct jpake_ctx *pctx) | 93 | jpake_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 */ |
346 | void | 191 | void |
347 | jpake_step1(struct jpake_group *grp, | 192 | jpake_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 */ |
399 | void | 244 | void |
400 | jpake_step2(struct jpake_group *grp, BIGNUM *s, | 245 | jpake_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 */ |
498 | void | 343 | void |
499 | jpake_key_confirm(struct jpake_group *grp, BIGNUM *s, BIGNUM *step2_val, | 344 | jpake_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__); |
@@ -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 | |||
36 | struct 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 | ||
42 | struct jpake_ctx { | 38 | struct 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 */ |
86 | struct jpake_group *jpake_default_group(void); | 82 | struct modp_group *jpake_default_group(void); |
87 | BIGNUM *bn_rand_range_gt_one(const BIGNUM *high); | ||
88 | int hash_buffer(const u_char *, u_int, const EVP_MD *, u_char **, u_int *); | ||
89 | void jpake_debug3_bn(const BIGNUM *, const char *, ...) | ||
90 | __attribute__((__nonnull__ (2))) | ||
91 | __attribute__((format(printf, 2, 3))); | ||
92 | void jpake_debug3_buf(const u_char *, u_int, const char *, ...) | ||
93 | __attribute__((__nonnull__ (3))) | ||
94 | __attribute__((format(printf, 3, 4))); | ||
95 | void jpake_dump(struct jpake_ctx *, const char *, ...) | 83 | void 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))); |
98 | struct jpake_ctx *jpake_new(void); | 86 | struct jpake_ctx *jpake_new(void); |
99 | void jpake_free(struct jpake_ctx *); | 87 | void jpake_free(struct jpake_ctx *); |
100 | 88 | ||
101 | void jpake_step1(struct jpake_group *, u_char **, u_int *, | 89 | void 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 | ||
105 | void jpake_step2(struct jpake_group *, BIGNUM *, | 93 | void 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 | ||
116 | void jpake_key_confirm(struct jpake_group *, BIGNUM *, BIGNUM *, | 104 | void 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 *, | |||
122 | int jpake_check_confirm(const BIGNUM *, const u_char *, u_int, | 110 | int 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 */ | ||
126 | int schnorr_sign(const BIGNUM *, const BIGNUM *, const BIGNUM *, | ||
127 | const BIGNUM *, const BIGNUM *, const u_char *, u_int , | ||
128 | u_char **, u_int *); | ||
129 | int 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 | ||
@@ -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 |
@@ -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" |
@@ -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 | ||
@@ -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 | ||
@@ -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 | ||
72 | OpenBSD 4.5 June 26, 2008 2 | 72 | OpenBSD 4.6 June 26, 2008 2 |
@@ -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 |
93 | static Gssctxt *gsscontext = NULL; | 94 | static Gssctxt *gsscontext = NULL; |
@@ -100,7 +101,6 @@ extern Newkeys *current_keys[]; | |||
100 | extern z_stream incoming_stream; | 101 | extern z_stream incoming_stream; |
101 | extern z_stream outgoing_stream; | 102 | extern z_stream outgoing_stream; |
102 | extern u_char session_id[]; | 103 | extern u_char session_id[]; |
103 | extern Buffer input, output; | ||
104 | extern Buffer auth_debug; | 104 | extern Buffer auth_debug; |
105 | extern int auth_debug_init; | 105 | extern int auth_debug_init; |
106 | extern Buffer loginmsg; | 106 | extern 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 | ||
1701 | static Kex * | 1708 | static 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 */ |
81 | extern int compat20; | 83 | extern int compat20; |
82 | extern Newkeys *newkeys[]; | ||
83 | extern z_stream incoming_stream; | 84 | extern z_stream incoming_stream; |
84 | extern z_stream outgoing_stream; | 85 | extern z_stream outgoing_stream; |
85 | extern struct monitor *pmonitor; | 86 | extern struct monitor *pmonitor; |
86 | extern Buffer input, output; | ||
87 | extern Buffer loginmsg; | 87 | extern Buffer loginmsg; |
88 | extern ServerOptions options; | 88 | extern 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) | |||
570 | void | 570 | void |
571 | mm_send_keystate(struct monitor *monitor) | 571 | mm_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 | ||
1329 | void | 1338 | void |
1330 | mm_jpake_step1(struct jpake_group *grp, | 1339 | mm_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 | ||
1364 | void | 1373 | void |
1365 | mm_jpake_step2(struct jpake_group *grp, BIGNUM *s, | 1374 | mm_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 | ||
1404 | void | 1413 | void |
1405 | mm_jpake_key_confirm(struct jpake_group *grp, BIGNUM *s, BIGNUM *step2_val, | 1414 | mm_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 **); | |||
104 | int mm_skey_respond(void *, u_int, char **); | 104 | int mm_skey_respond(void *, u_int, char **); |
105 | 105 | ||
106 | /* jpake */ | 106 | /* jpake */ |
107 | struct jpake_group; | 107 | struct modp_group; |
108 | void mm_auth2_jpake_get_pwdata(struct Authctxt *, BIGNUM **, char **, char **); | 108 | void mm_auth2_jpake_get_pwdata(struct Authctxt *, BIGNUM **, char **, char **); |
109 | void mm_jpake_step1(struct jpake_group *, u_char **, u_int *, | 109 | void 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 *); |
112 | void mm_jpake_step2(struct jpake_group *, BIGNUM *, | 112 | void 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 *); |
117 | void mm_jpake_key_confirm(struct jpake_group *, BIGNUM *, BIGNUM *, | 117 | void 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 | ||
58 | int | 50 | int |
59 | binary_open(const char *filename, int flags, ...) | 51 | binary_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 | |||
86 | static int | ||
87 | has_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 | |||
138 | int | ||
139 | check_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 | |||
175 | int | 74 | int |
176 | check_ntsec(const char *filename) | 75 | check_ntsec(const char *filename) |
177 | { | 76 | { |
178 | return (pathconf(filename, _PC_POSIX_PERMISSIONS)); | 77 | return (pathconf(filename, _PC_POSIX_PERMISSIONS)); |
179 | } | 78 | } |
180 | 79 | ||
181 | void | ||
182 | register_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 | ||
44 | int binary_open(const char *, int , ...); | 43 | int binary_open(const char *, int , ...); |
45 | int binary_pipe(int fd[2]); | 44 | int binary_pipe(int fd[2]); |
46 | int check_nt_auth(int, struct passwd *); | ||
47 | int check_ntsec(const char *); | 45 | int check_ntsec(const char *); |
48 | void register_9x_service(void); | ||
49 | char **fetch_windows_environment(void); | 46 | char **fetch_windows_environment(void); |
50 | void free_windows_environment(char **); | 47 | void 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 | ||
148 | struct dns_query { | 148 | struct 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 | ||
53 | int | ||
54 | ssh_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 |
53 | void | 62 | void |
54 | ssh_SSLeay_add_all_algorithms(void) | 63 | ssh_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 | ||
60 | static char *lastlogin_msg = NULL; | ||
61 | |||
60 | # ifdef HAVE_SETAUTHDB | 62 | # ifdef HAVE_SETAUTHDB |
61 | static char old_registry[REGISTRY_SIZE] = ""; | 63 | static 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 | ||
296 | char * | ||
297 | sys_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 *); | |||
87 | int sys_auth_allowed_user(struct passwd *, Buffer *); | 92 | int sys_auth_allowed_user(struct passwd *, Buffer *); |
88 | # define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 | 93 | # define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 |
89 | int sys_auth_record_login(const char *, const char *, const char *, Buffer *); | 94 | int sys_auth_record_login(const char *, const char *, const char *, Buffer *); |
95 | # define CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG | ||
96 | char *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 | ||
@@ -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 | /* | 90 | struct 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 | }; |
95 | static int connection_in = -1; | ||
96 | static int connection_out = -1; | ||
97 | 96 | ||
98 | /* Protocol flags for the remote side. */ | 97 | struct packet { |
99 | static 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. */ | 103 | struct session_state { |
102 | static 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. */ |
105 | static 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. */ |
108 | Buffer 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. */ |
111 | Buffer 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. */ |
114 | static 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. */ |
117 | static Buffer incoming_packet; | 126 | Buffer output; |
118 | 127 | ||
119 | /* Scratch buffer for packet compression/decompression. */ | 128 | /* Buffer for the partial outgoing packet being constructed. */ |
120 | static Buffer compression_buffer; | 129 | Buffer outgoing_packet; |
121 | static 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. */ |
124 | static int packet_compression = 0; | 132 | Buffer incoming_packet; |
125 | 133 | ||
126 | /* default maximum packet size */ | 134 | /* Scratch buffer for packet compression/decompression. */ |
127 | u_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 | /* |
130 | static 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 */ |
133 | static 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. */ |
136 | static 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. */ |
139 | static int after_authentication = 0; | 151 | int interactive_mode; |
140 | 152 | ||
141 | int 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. */ |
144 | static int packet_timeout_ms = -1; | 157 | int after_authentication; |
145 | 158 | ||
146 | /* Session key information for Encryption and MAC */ | 159 | int keep_alive_timeouts; |
147 | Newkeys *newkeys[MODE_MAX]; | ||
148 | static 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 | ||
155 | static u_int64_t max_blocks_in, max_blocks_out; | 161 | /* The maximum time that we will wait to send or receive a packet */ |
156 | static 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 */ |
159 | static u_char ssh1_key[SSH_SESSION_KEY_LENGTH]; | 165 | Newkeys *newkeys[MODE_MAX]; |
160 | static 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; |
163 | static 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 */ |
166 | static u_int packet_discard = 0; | 172 | u_char ssh1_key[SSH_SESSION_KEY_LENGTH]; |
167 | static Mac *packet_discard_mac = NULL; | 173 | u_int ssh1_keylen; |
168 | 174 | ||
169 | struct 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 | }; |
174 | TAILQ_HEAD(, packet) outgoing; | 196 | |
197 | static struct session_state *active_state, *backup_state; | ||
198 | |||
199 | static struct session_state * | ||
200 | alloc_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 | |||
206 | packet_set_timeout(int timeout, int count) | 243 | packet_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 | ||
218 | static void | 255 | static void |
219 | packet_stop_discard(void) | 256 | packet_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) | |||
345 | int | 387 | int |
346 | packet_get_ssh1_cipher(void) | 388 | packet_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 | ||
351 | void | 393 | void |
@@ -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 | |||
405 | packet_set_nonblocking(void) | 450 | packet_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) | |||
416 | int | 461 | int |
417 | packet_get_connection_in(void) | 462 | packet_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) | |||
424 | int | 469 | int |
425 | packet_get_connection_out(void) | 470 | packet_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) | |||
432 | void | 477 | void |
433 | packet_close(void) | 478 | packet_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) | |||
459 | void | 504 | void |
460 | packet_set_protocol_flags(u_int protocol_flags) | 505 | packet_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) | |||
467 | u_int | 512 | u_int |
468 | packet_get_protocol_flags(void) | 513 | packet_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) | |||
478 | static void | 523 | static void |
479 | packet_init_compression(void) | 524 | packet_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 | ||
487 | void | 532 | void |
488 | packet_start_compression(int level) | 533 | packet_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 | ||
522 | u_int | 569 | u_int |
523 | packet_get_encryption_key(u_char *key) | 570 | packet_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 | ||
555 | void | 602 | void |
556 | packet_put_int(u_int value) | 603 | packet_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 | |||
608 | void | ||
609 | packet_put_int64(u_int64_t value) | ||
610 | { | ||
611 | buffer_put_int64(&active_state->outgoing_packet, value); | ||
559 | } | 612 | } |
560 | 613 | ||
561 | void | 614 | void |
562 | packet_put_string(const void *buf, u_int len) | 615 | packet_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 | ||
567 | void | 620 | void |
568 | packet_put_cstring(const char *str) | 621 | packet_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 | ||
573 | void | 626 | void |
574 | packet_put_raw(const void *buf, u_int len) | 627 | packet_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 | ||
579 | void | 632 | void |
580 | packet_put_bignum(BIGNUM * value) | 633 | packet_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 | ||
585 | void | 638 | void |
586 | packet_put_bignum2(BIGNUM * value) | 639 | packet_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 | ||
893 | static void | 959 | static void |
894 | packet_send2(void) | 960 | packet_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) | |||
955 | int | 1021 | int |
956 | packet_read_seqnr(u_int32_t *seqnr_p) | 1022 | packet_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) | |||
1155 | static int | 1229 | static int |
1156 | packet_read_poll2(u_int32_t *seqnr_p) | 1230 | packet_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) | |||
1376 | void | 1457 | void |
1377 | packet_process_incoming(const char *buf, u_int len) | 1458 | packet_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) | |||
1402 | u_int | 1483 | u_int |
1403 | packet_get_int(void) | 1484 | packet_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 | |||
1491 | u_int64_t | ||
1492 | packet_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) | |||
1413 | void | 1502 | void |
1414 | packet_get_bignum(BIGNUM * value) | 1503 | packet_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 | ||
1419 | void | 1508 | void |
1420 | packet_get_bignum2(BIGNUM * value) | 1509 | packet_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 | ||
1425 | void * | 1514 | void * |
1426 | packet_get_raw(u_int *length_ptr) | 1515 | packet_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 | ||
1435 | int | 1524 | int |
1436 | packet_remaining(void) | 1525 | packet_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) | |||
1448 | void * | 1537 | void * |
1449 | packet_get_string(u_int *length_ptr) | 1538 | packet_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 | ||
1454 | void * | 1543 | void * |
1455 | packet_get_string_ptr(u_int *length_ptr) | 1544 | packet_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,...) | |||
1547 | void | 1636 | void |
1548 | packet_write_poll(void) | 1637 | packet_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) | |||
1622 | int | 1713 | int |
1623 | packet_have_data_to_write(void) | 1714 | packet_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) | |||
1630 | int | 1721 | int |
1631 | packet_not_very_much_data_to_write(void) | 1722 | packet_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 | |||
1640 | static void | 1730 | static void |
1641 | packet_set_tos(int interactive) | 1731 | packet_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) | |||
1658 | void | 1748 | void |
1659 | packet_set_interactive(int interactive) | 1749 | packet_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) | |||
1679 | int | 1767 | int |
1680 | packet_is_interactive(void) | 1768 | packet_is_interactive(void) |
1681 | { | 1769 | { |
1682 | return interactive_mode; | 1770 | return active_state->interactive_mode; |
1683 | } | 1771 | } |
1684 | 1772 | ||
1685 | int | 1773 | int |
1686 | packet_set_maxsize(u_int s) | 1774 | packet_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 | ||
1791 | int | ||
1792 | packet_inc_alive_timeouts(void) | ||
1793 | { | ||
1794 | return ++active_state->keep_alive_timeouts; | ||
1795 | } | ||
1796 | |||
1797 | void | ||
1798 | packet_set_alive_timeouts(int ka) | ||
1799 | { | ||
1800 | active_state->keep_alive_timeouts = ka; | ||
1801 | } | ||
1802 | |||
1803 | u_int | ||
1804 | packet_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 */ |
1706 | void | 1810 | void |
1707 | packet_add_padding(u_char pad) | 1811 | packet_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 | ||
1752 | void | 1858 | void |
1753 | packet_set_rekey_limit(u_int32_t bytes) | 1859 | packet_set_rekey_limit(u_int32_t bytes) |
1754 | { | 1860 | { |
1755 | rekey_limit = bytes; | 1861 | active_state->rekey_limit = bytes; |
1756 | } | 1862 | } |
1757 | 1863 | ||
1758 | void | 1864 | void |
1759 | packet_set_server(void) | 1865 | packet_set_server(void) |
1760 | { | 1866 | { |
1761 | server_side = 1; | 1867 | active_state->server_side = 1; |
1762 | } | 1868 | } |
1763 | 1869 | ||
1764 | void | 1870 | void |
1765 | packet_set_authenticated(void) | 1871 | packet_set_authenticated(void) |
1766 | { | 1872 | { |
1767 | after_authentication = 1; | 1873 | active_state->after_authentication = 1; |
1874 | } | ||
1875 | |||
1876 | void * | ||
1877 | packet_get_input(void) | ||
1878 | { | ||
1879 | return (void *)&active_state->input; | ||
1880 | } | ||
1881 | |||
1882 | void * | ||
1883 | packet_get_output(void) | ||
1884 | { | ||
1885 | return (void *)&active_state->output; | ||
1886 | } | ||
1887 | |||
1888 | void * | ||
1889 | packet_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 | */ | ||
1898 | void | ||
1899 | packet_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 | */ | ||
1918 | void | ||
1919 | packet_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 | } |
@@ -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); | |||
39 | void packet_start(u_char); | 39 | void packet_start(u_char); |
40 | void packet_put_char(int ch); | 40 | void packet_put_char(int ch); |
41 | void packet_put_int(u_int value); | 41 | void packet_put_int(u_int value); |
42 | void packet_put_int64(u_int64_t value); | ||
42 | void packet_put_bignum(BIGNUM * value); | 43 | void packet_put_bignum(BIGNUM * value); |
43 | void packet_put_bignum2(BIGNUM * value); | 44 | void packet_put_bignum2(BIGNUM * value); |
44 | void packet_put_string(const void *buf, u_int len); | 45 | void 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 | ||
56 | u_int packet_get_char(void); | 57 | u_int packet_get_char(void); |
57 | u_int packet_get_int(void); | 58 | u_int packet_get_int(void); |
59 | u_int64_t packet_get_int64(void); | ||
58 | void packet_get_bignum(BIGNUM * value); | 60 | void packet_get_bignum(BIGNUM * value); |
59 | void packet_get_bignum2(BIGNUM * value); | 61 | void packet_get_bignum2(BIGNUM * value); |
60 | void *packet_get_raw(u_int *length_ptr); | 62 | void *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 *); | |||
72 | void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t); | 74 | void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t); |
73 | int packet_get_ssh1_cipher(void); | 75 | int packet_get_ssh1_cipher(void); |
74 | void packet_set_iv(int, u_char *); | 76 | void packet_set_iv(int, u_char *); |
77 | void *packet_get_newkeys(int); | ||
75 | 78 | ||
76 | void packet_write_poll(void); | 79 | void packet_write_poll(void); |
77 | void packet_write_wait(void); | 80 | void packet_write_wait(void); |
@@ -87,10 +90,10 @@ void packet_add_padding(u_char); | |||
87 | void tty_make_modes(int, struct termios *); | 90 | void tty_make_modes(int, struct termios *); |
88 | void tty_parse_modes(int, int *); | 91 | void tty_parse_modes(int, int *); |
89 | 92 | ||
90 | extern u_int max_packet_size; | 93 | void packet_set_alive_timeouts(int); |
91 | extern int keep_alive_timeouts; | 94 | int packet_inc_alive_timeouts(void); |
92 | int packet_set_maxsize(u_int); | 95 | int packet_set_maxsize(u_int); |
93 | #define packet_get_maxsize() max_packet_size | 96 | u_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 { \ | |||
106 | int packet_need_rekeying(void); | 109 | int packet_need_rekeying(void); |
107 | void packet_set_rekey_limit(u_int32_t); | 110 | void packet_set_rekey_limit(u_int32_t); |
108 | 111 | ||
112 | void packet_backup_state(void); | ||
113 | void packet_restore_state(void); | ||
114 | |||
115 | void *packet_get_input(void); | ||
116 | void *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 | |||
23 | extern int resume_in_progress; | ||
24 | |||
25 | int get_snd_buf_size(void); | ||
26 | int get_recv_buf_size(void); | ||
27 | void add_recv_bytes(u_int64_t); | ||
28 | void set_out_buffer_size(size_t); | ||
29 | ssize_t roaming_write(int, const void *, size_t, int *); | ||
30 | ssize_t roaming_read(int, void *, size_t, int *); | ||
31 | size_t roaming_atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t); | ||
32 | u_int64_t get_recv_bytes(void); | ||
33 | u_int64_t get_sent_bytes(void); | ||
34 | void roam_set_bytes(u_int64_t, u_int64_t); | ||
35 | void resend_bytes(int, u_int64_t *); | ||
36 | int 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 | |||
40 | static size_t out_buf_size = 0; | ||
41 | static char *out_buf = NULL; | ||
42 | static size_t out_start; | ||
43 | static size_t out_last; | ||
44 | |||
45 | static u_int64_t write_bytes = 0; | ||
46 | static u_int64_t read_bytes = 0; | ||
47 | |||
48 | int roaming_enabled = 0; | ||
49 | int resume_in_progress = 0; | ||
50 | |||
51 | int | ||
52 | get_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 | |||
63 | int | ||
64 | get_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 | |||
75 | void | ||
76 | set_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 | |||
90 | u_int64_t | ||
91 | get_recv_bytes(void) | ||
92 | { | ||
93 | return read_bytes; | ||
94 | } | ||
95 | |||
96 | void | ||
97 | add_recv_bytes(u_int64_t num) | ||
98 | { | ||
99 | read_bytes += num; | ||
100 | } | ||
101 | |||
102 | u_int64_t | ||
103 | get_sent_bytes(void) | ||
104 | { | ||
105 | return write_bytes; | ||
106 | } | ||
107 | |||
108 | void | ||
109 | roam_set_bytes(u_int64_t sent, u_int64_t recvd) | ||
110 | { | ||
111 | read_bytes = recvd; | ||
112 | write_bytes = sent; | ||
113 | } | ||
114 | |||
115 | static void | ||
116 | buf_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 | |||
137 | ssize_t | ||
138 | roaming_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 | |||
153 | ssize_t | ||
154 | roaming_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 | |||
165 | size_t | ||
166 | roaming_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 | |||
179 | void | ||
180 | resend_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 | |||
30 | int resume_in_progress = 0; | ||
31 | |||
32 | u_int64_t | ||
33 | get_recv_bytes(void) | ||
34 | { | ||
35 | return 0; | ||
36 | } | ||
37 | |||
38 | ssize_t | ||
39 | roaming_write(int fd, const void *buf, size_t count, int *cont) | ||
40 | { | ||
41 | return write(fd, buf, count); | ||
42 | } | ||
43 | |||
44 | ssize_t | ||
45 | roaming_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 | |||
52 | void | ||
53 | add_recv_bytes(u_int64_t num) | ||
54 | { | ||
55 | } | ||
56 | |||
57 | int | ||
58 | resume_kex(void) | ||
59 | { | ||
60 | return 1; | ||
61 | } | ||
@@ -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 | */ |
64 | static BIGNUM * | 63 | static BIGNUM * |
65 | schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g, | 64 | schnorr_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 | */ |
125 | int | 124 | int |
126 | schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, | 125 | schnorr_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 | */ | ||
214 | int | ||
215 | schnorr_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 | */ |
222 | int | 251 | int |
223 | schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, | 252 | schnorr_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 | */ | ||
330 | int | ||
331 | schnorr_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 | */ | ||
377 | BIGNUM * | ||
378 | bn_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 | */ | ||
425 | int | ||
426 | hash_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 */ | ||
460 | void | ||
461 | debug3_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 */ | ||
484 | void | ||
485 | debug3_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 | */ | ||
519 | struct modp_group * | ||
520 | modp_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 | |||
538 | void | ||
539 | modp_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 |
315 | static void | 554 | static void |
316 | schnorr_selftest_one(const BIGNUM *grp_p, const BIGNUM *grp_q, | 555 | schnorr_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 | |||
349 | schnorr_selftest(void) | 589 | schnorr_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 | |||
25 | struct modp_group { | ||
26 | BIGNUM *p, *q, *g; | ||
27 | }; | ||
28 | |||
29 | BIGNUM *bn_rand_range_gt_one(const BIGNUM *high); | ||
30 | int hash_buffer(const u_char *, u_int, const EVP_MD *, u_char **, u_int *); | ||
31 | void debug3_bn(const BIGNUM *, const char *, ...) | ||
32 | __attribute__((__nonnull__ (2))) | ||
33 | __attribute__((format(printf, 2, 3))); | ||
34 | void debug3_buf(const u_char *, u_int, const char *, ...) | ||
35 | __attribute__((__nonnull__ (3))) | ||
36 | __attribute__((format(printf, 3, 4))); | ||
37 | struct modp_group *modp_group_from_g_and_safe_p(const char *, const char *); | ||
38 | void modp_group_free(struct modp_group *); | ||
39 | |||
40 | /* Signature and verification functions */ | ||
41 | int | ||
42 | schnorr_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); | ||
45 | int | ||
46 | schnorr_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); | ||
49 | int | ||
50 | schnorr_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); | ||
53 | int | ||
54 | schnorr_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 | |||
@@ -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 | ||
148 | OpenBSD 4.5 July 12, 2008 3 | 148 | OpenBSD 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 | ||
82 | extern ServerOptions options; | 83 | extern 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 | ||
896 | static void | 900 | static 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; |
@@ -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 | ||
38 | SEE ALSO | 38 | SEE ALSO |
@@ -47,4 +47,4 @@ HISTORY | |||
47 | AUTHORS | 47 | AUTHORS |
48 | Markus Friedl <markus@openbsd.org> | 48 | Markus Friedl <markus@openbsd.org> |
49 | 49 | ||
50 | OpenBSD 4.5 July 18, 2008 1 | 50 | OpenBSD 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 . |
80 | Use of | 80 | Use of |
81 | .Nm | 81 | .Nm |
82 | in a chroot configuation therefore requires that | 82 | in a chroot configuration therefore requires that |
83 | .Xr syslogd 8 | 83 | .Xr syslogd 8 |
84 | establish a logging socket inside the chroot directory. | 84 | establish 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 | /* |
@@ -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 | ||
274 | OpenBSD 4.5 December 9, 2008 5 | 274 | OpenBSD 4.6 December 9, 2008 5 |
@@ -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 | ||
106 | OpenBSD 4.5 June 12, 2007 2 | 106 | OpenBSD 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 | ||
117 | OpenBSD 4.5 June 5, 2007 2 | 117 | OpenBSD 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 |
142 | or | 142 | or |
143 | .Xr csh 1 | 143 | .Xr csh 1 |
144 | syntax can be generated) which can be evalled in the calling shell, eg | 144 | syntax can be generated) which can be evaluated in the calling shell, eg |
145 | .Cm eval `ssh-agent -s` | 145 | .Cm eval `ssh-agent -s` |
146 | for Bourne-type shells such as | 146 | for 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 | ||
289 | OpenBSD 4.5 July 24, 2008 5 | 289 | OpenBSD 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 | ||
107 | OpenBSD 4.5 December 29, 2008 2 | 107 | OpenBSD 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 | |||
39 | AUTHORS | 39 | AUTHORS |
40 | Markus Friedl <markus@openbsd.org> | 40 | Markus Friedl <markus@openbsd.org> |
41 | 41 | ||
42 | OpenBSD 4.5 May 31, 2007 1 | 42 | OpenBSD 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 | |||
48 | SEE ALSO | 48 | SEE 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 | ||
51 | OpenBSD 4.5 April 14, 2002 1 | 51 | OpenBSD 4.6 April 14, 2002 1 |
@@ -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 | ||
873 | OpenBSD 4.5 February 12, 2009 14 | 867 | OpenBSD 4.6 March 19, 2009 14 |
@@ -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 |
192 | is a comma-separated list of ciphers | 192 | is a comma-separated list of ciphers |
193 | listed in order of preference. | 193 | listed in order of preference. |
194 | The supported ciphers are: | 194 | See the |
195 | 3des-cbc, | 195 | .Cm Ciphers |
196 | aes128-cbc, | 196 | keyword for more information. |
197 | aes192-cbc, | ||
198 | aes256-cbc, | ||
199 | aes128-ctr, | ||
200 | aes192-ctr, | ||
201 | aes256-ctr, | ||
202 | arcfour128, | ||
203 | arcfour256, | ||
204 | arcfour, | ||
205 | blowfish-cbc, | ||
206 | and | ||
207 | cast128-cbc. | ||
208 | The default is: | ||
209 | .Bd -literal -offset indent | ||
210 | aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128, | ||
211 | arcfour256,arcfour,aes192-cbc,aes256-cbc,aes128-ctr, | ||
212 | aes192-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 |
@@ -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); | |||
203 | int | 204 | int |
204 | main(int ac, char **av) | 205 | main(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 | ||
670 | OpenBSD 4.5 February 22, 2009 11 | 670 | OpenBSD 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 | ||
61 | char *client_version_string = NULL; | 62 | char *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 | */ |
416 | static void | 417 | void |
417 | ssh_exchange_identification(int timeout_ms) | 418 | ssh_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, | |||
38 | void | 38 | void |
39 | ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *, int); | 39 | ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *, int); |
40 | 40 | ||
41 | void ssh_exchange_identification(int); | ||
42 | |||
41 | int verify_host_key(char *, struct sockaddr *, Key *); | 43 | int verify_host_key(char *, struct sockaddr *, Key *); |
42 | 44 | ||
43 | void ssh_kex(char *, struct sockaddr *); | 45 | void 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", |
@@ -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 | ||
574 | OpenBSD 4.5 October 3, 2008 9 | 574 | OpenBSD 4.6 March 26, 2009 9 |
@@ -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. | |||
543 | In addition to the wildcard matching that may be applied to hostnames or | 543 | In addition to the wildcard matching that may be applied to hostnames or |
544 | addresses, a | 544 | addresses, a |
545 | .Cm from | 545 | .Cm from |
546 | stanza may match IP addressess using CIDR address/masklen notation. | 546 | stanza may match IP addresses using CIDR address/masklen notation. |
547 | .Pp | 547 | .Pp |
548 | The purpose of this option is to optionally increase security: public key | 548 | The purpose of this option is to optionally increase security: public key |
549 | authentication by itself does not trust the network or name servers or | 549 | authentication by itself does not trust the network or name servers or |
@@ -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) | |||
581 | static void | 582 | static void |
582 | privsep_preauth_child(void) | 583 | privsep_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 | ||
631 | OpenBSD 4.5 February 22, 2009 10 | 634 | OpenBSD 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. | |||
176 | This option is only available for protocol version 2. | 176 | This option is only available for protocol version 2. |
177 | By default, no banner is displayed. | 177 | By default, no banner is displayed. |
178 | .It Cm ChallengeResponseAuthentication | 178 | .It Cm ChallengeResponseAuthentication |
179 | Specifies whether challenge-response authentication is allowed. | 179 | Specifies whether challenge-response authentication is allowed (e.g. via |
180 | All authentication styles from | 180 | PAM or though authentication styles supported in |
181 | .Xr login.conf 5 | 181 | .Xr login.conf 5 ) |
182 | are supported. | ||
183 | The default is | 182 | The default is |
184 | .Dq yes . | 183 | .Dq yes . |
185 | .It Cm ChrootDirectory | 184 | .It Cm ChrootDirectory |
@@ -188,6 +187,9 @@ Specifies a path to | |||
188 | to after authentication. | 187 | to after authentication. |
189 | This path, and all its components, must be root-owned directories that are | 188 | This path, and all its components, must be root-owned directories that are |
190 | not writable by any other user or group. | 189 | not writable by any other user or group. |
190 | After the chroot, | ||
191 | .Xr sshd 8 | ||
192 | changes the working directory to the user's home directory. | ||
191 | .Pp | 193 | .Pp |
192 | The path may contain the following tokens that are expanded at runtime once | 194 | The path may contain the following tokens that are expanded at runtime once |
193 | the connecting user has been authenticated: %% is replaced by a literal '%', | 195 | the 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 '%', | |||
197 | The | 199 | The |
198 | .Cm ChrootDirectory | 200 | .Cm ChrootDirectory |
199 | must contain the necessary files and directories to support the | 201 | must contain the necessary files and directories to support the |
200 | users' session. | 202 | user's session. |
201 | For an interactive session this requires at least a shell, typically | 203 | For an interactive session this requires at least a shell, typically |
202 | .Xr sh 1 , | 204 | .Xr sh 1 , |
203 | and basic | 205 | and basic |
@@ -215,8 +217,11 @@ devices. | |||
215 | For file transfer sessions using | 217 | For file transfer sessions using |
216 | .Dq sftp , | 218 | .Dq sftp , |
217 | no additional configuration of the environment is necessary if the | 219 | no additional configuration of the environment is necessary if the |
218 | in-process sftp server is used (see | 220 | in-process sftp server is used, |
219 | .Cm Subsystem | 221 | though sessions which use logging do require |
222 | .Pa /dev/log | ||
223 | inside the chroot directory (see | ||
224 | .Xr sftp-server 8 | ||
220 | for details). | 225 | for details). |
221 | .Pp | 226 | .Pp |
222 | The default is not to | 227 | The 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, | |||
86 | static void | 86 | static void |
87 | store_lastlog_message(const char *user, uid_t uid) | 87 | store_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 | */ | ||
36 | int | 42 | int |
37 | uuencode(const u_char *src, u_int srclength, | 43 | uuencode(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 | */ | ||
43 | int | 54 | int |
44 | uudecode(const char *src, u_char *target, size_t targsize) | 55 | uudecode(const char *src, u_char *target, size_t targsize) |
45 | { | 56 | { |
@@ -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 |