summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.cvsignore5
-rw-r--r--ChangeLog83
-rw-r--r--INSTALL29
-rw-r--r--Makefile.in15
-rw-r--r--auth-chall.c2
-rw-r--r--auth-krb4.c368
-rw-r--r--auth-pam.c84
-rw-r--r--auth2-pam.c165
-rw-r--r--auth2-pam.h8
-rw-r--r--autom4te-2.53.cache/output.018359
-rw-r--r--autom4te-2.53.cache/requests96
-rw-r--r--autom4te-2.53.cache/traces.0941
-rw-r--r--autom4te.cache/output.019182
-rw-r--r--autom4te.cache/requests111
-rw-r--r--autom4te.cache/traces.0947
-rw-r--r--channels.c7
-rw-r--r--cipher-3des1.c4
-rw-r--r--cipher-aes.c4
-rw-r--r--cipher-bf1.c5
-rw-r--r--cipher-ctr.c6
-rw-r--r--cipher.c2
-rw-r--r--clientloop.c45
-rw-r--r--config.h.in6
-rwxr-xr-xconfigure3608
-rw-r--r--configure.ac42
-rw-r--r--contrib/.cvsignore2
-rw-r--r--contrib/caldera/openssh.spec4
-rw-r--r--contrib/gnome-ssh-askpass.c168
-rw-r--r--contrib/redhat/openssh.spec2
-rw-r--r--contrib/suse/openssh.spec2
-rw-r--r--debian/.cvsignore6
-rw-r--r--debian/README.Debian229
-rw-r--r--debian/changelog1241
-rw-r--r--debian/conffiles5
-rw-r--r--debian/config100
-rw-r--r--debian/control48
-rw-r--r--debian/copyright.head37
-rw-r--r--debian/dirs8
-rw-r--r--debian/gnome-ssh-askpass.151
-rw-r--r--debian/init75
-rw-r--r--debian/moduli.5152
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/da.po376
-rw-r--r--debian/po/de.po327
-rw-r--r--debian/po/es.po392
-rw-r--r--debian/po/fr.po405
-rw-r--r--debian/po/ja.po372
-rw-r--r--debian/po/pl.po388
-rw-r--r--debian/po/pt_BR.po402
-rw-r--r--debian/po/ru.po339
-rw-r--r--debian/po/templates.pot302
-rw-r--r--debian/postinst329
-rw-r--r--debian/postrm30
-rw-r--r--debian/preinst79
-rw-r--r--debian/prerm44
-rwxr-xr-xdebian/rules130
-rw-r--r--debian/ssh-argv030
-rw-r--r--debian/ssh-argv0.164
-rw-r--r--debian/ssh-askpass-gnome.copyright44
-rw-r--r--debian/ssh-askpass-gnome.dirs2
-rw-r--r--debian/ssh-askpass-gnome.postinst53
-rw-r--r--debian/ssh-askpass-gnome.prerm41
-rw-r--r--debian/ssh.default5
-rw-r--r--debian/ssh.pam21
-rw-r--r--debian/templates.master157
-rw-r--r--entropy.c3
-rw-r--r--log.c6
-rw-r--r--log.h3
-rw-r--r--mdoc2man.pl592
-rw-r--r--misc.c13
-rw-r--r--monitor_fdpass.c28
-rw-r--r--openbsd-compat/basename.h12
-rw-r--r--openbsd-compat/bindresvport.h12
-rw-r--r--openbsd-compat/bsd-arc4random.h37
-rw-r--r--openbsd-compat/bsd-getpeereid.h14
-rw-r--r--openbsd-compat/bsd-snprintf.h19
-rw-r--r--openbsd-compat/daemon.h11
-rw-r--r--openbsd-compat/dirname.h5
-rw-r--r--openbsd-compat/fake-gai-errnos.h14
-rw-r--r--openbsd-compat/fake-getaddrinfo.c135
-rw-r--r--openbsd-compat/fake-getaddrinfo.h47
-rw-r--r--openbsd-compat/fake-getnameinfo.c55
-rw-r--r--openbsd-compat/fake-getnameinfo.h20
-rw-r--r--openbsd-compat/fake-queue.h584
-rw-r--r--openbsd-compat/fake-rfc2553.c6
-rw-r--r--openbsd-compat/fake-rfc2553.h4
-rw-r--r--openbsd-compat/fake-socket.h47
-rw-r--r--openbsd-compat/getcwd.h12
-rw-r--r--openbsd-compat/getgrouplist.h16
-rw-r--r--openbsd-compat/getopt.h14
-rw-r--r--openbsd-compat/inet_aton.h12
-rw-r--r--openbsd-compat/inet_ntoa.c1
-rw-r--r--openbsd-compat/inet_ntoa.h12
-rw-r--r--openbsd-compat/inet_ntop.h13
-rw-r--r--openbsd-compat/mktemp.h13
-rw-r--r--openbsd-compat/port-aix.c3
-rw-r--r--openbsd-compat/port-aix.h6
-rw-r--r--openbsd-compat/realpath.h13
-rw-r--r--openbsd-compat/rresvport.h12
-rw-r--r--openbsd-compat/setenv.h14
-rw-r--r--openbsd-compat/setproctitle.h13
-rw-r--r--openbsd-compat/strlcat.h12
-rw-r--r--openbsd-compat/strlcpy.h12
-rw-r--r--openbsd-compat/strmode.h7
-rw-r--r--openbsd-compat/strsep.h12
-rw-r--r--openbsd-compat/tree.h667
-rw-r--r--openbsd-compat/xmmap.h23
-rw-r--r--packet.c18
-rw-r--r--packet.h2
-rw-r--r--radix.c158
-rw-r--r--radix.h28
-rw-r--r--readconf.c23
-rw-r--r--readconf.h2
-rw-r--r--regress/authorized_keys_root2
-rwxr-xr-xregress/copy.1bin45948 -> 0 bytes
-rwxr-xr-xregress/copy.2bin45948 -> 0 bytes
-rw-r--r--scard/.cvsignore1
-rw-r--r--scp.014
-rw-r--r--servconf.c2
-rw-r--r--serverloop.c2
-rw-r--r--session.c24
-rw-r--r--sftp-int.c1
-rw-r--r--sftp-server.014
-rw-r--r--sftp.032
-rw-r--r--ssh-add.010
-rw-r--r--ssh-agent.028
-rw-r--r--ssh-agent.c17
-rw-r--r--ssh-dss.h32
-rw-r--r--ssh-keygen.060
-rw-r--r--ssh-keyscan.027
-rw-r--r--ssh-keyscan.c2
-rw-r--r--ssh-keysign.08
-rw-r--r--ssh-rsa.h32
-rw-r--r--ssh.0171
-rw-r--r--ssh.15
-rw-r--r--ssh.c7
-rw-r--r--ssh_config.0251
-rw-r--r--ssh_config.539
-rw-r--r--sshconnect.c54
-rw-r--r--sshd.0218
-rw-r--r--sshd.87
-rw-r--r--sshd.c11
-rw-r--r--sshd_config.0241
-rw-r--r--uidswap.c2
-rw-r--r--version.h2
145 files changed, 8857 insertions, 45831 deletions
diff --git a/.cvsignore b/.cvsignore
index 12de9ef50..765a101b7 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -8,8 +8,6 @@ ssh-keysign
8ssh-agent 8ssh-agent
9sftp-server 9sftp-server
10sftp 10sftp
11configure
12config.h.in
13config.h 11config.h
14config.status 12config.status
15config.cache 13config.cache
@@ -18,7 +16,6 @@ stamp-h.in
18Makefile 16Makefile
19ssh_prng_cmds 17ssh_prng_cmds
20*.out 18*.out
21*.0
22buildit.sh 19buildit.sh
23autom4te.cache
24ssh-rand-helper 20ssh-rand-helper
21build-stamp
diff --git a/ChangeLog b/ChangeLog
index eb44d4a4f..b5505da19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,84 +1,3 @@
120030923
2 - (dtucker) OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2003/09/18 07:52:54
4 [sshconnect.c]
5 missing {}; bug #656; jclonguet at free.fr
6 - markus@cvs.openbsd.org 2003/09/18 07:54:48
7 [buffer.c]
8 protect against double free; #660; zardoz at users.sf.net
9 - markus@cvs.openbsd.org 2003/09/18 08:49:45
10 [deattack.c misc.c session.c ssh-agent.c]
11 more buffer allocation fixes; from Solar Designer; CAN-2003-0682;
12 ok millert@
13 - markus@cvs.openbsd.org 2003/09/19 09:02:02
14 [packet.c]
15 buffer_dump only if PACKET_DEBUG is defined; Jedi/Sector One; pr 3471
16 - (djm) Fix SSH1 challenge kludge
17 - (djm) Bug #671: Fix builds on OpenBSD
18 - (djm) Bug #676: Fix PAM stack corruption
19 - (djm) Fix bad free() in PAM code
20 - (djm) Don't call pam_end before pam_init
21 - (djm) Enable build with old OpenSSL again
22 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
23 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
24 - (djm) Crank version.h and spec version numbers
25 - (djm) Release 3.7.1p2
26
2720030922
28 - (dtucker) [Makefile.in] Bug #644: Fix "make clean" for out-of-tree
29 builds. Portability corrections from tim@.
30 - (dtucker) [configure.ac] Bug #665: uid swapping issues on Mac OS X.
31 Patch from max at quendi.de.
32 - (dtucker) [configure.ac] Bug #657: uid swapping issues on BSDi.
33 - (dtucker) [configure.ac] Bug #653: uid swapping issues on Tru64.
34 - (dtucker) [configure.ac] Bug #693: uid swapping issues on NCR MP-RAS.
35 Patch from david.haughton at ncr.com
36 - (dtucker) [configure.ac] Bug #659: uid swapping issues on IRIX 6.
37 Part of patch supplied by bugzilla-openssh at thewrittenword.com
38 - (dtucker) [configure.ac openbsd-compat/fake-rfc2553.c
39 openbsd-compat/fake-rfc2553.h] Bug #659: Test for and handle systems with
40 where gai_strerror is defined as "const char *". Part of patch supplied
41 by bugzilla-openssh at thewrittenword.com
42 - (dtucker) [contrib/cygwin/README contrib/cygwin/ssh-host-config] Update
43 ssh-host-config to match current defaults, bump README version. Patch from
44 vinschen at redhat.com.
45 - (dtucker) [uidswap.c] Don't test restoration of uid on Cygwin since the
46 OS does not support permanently dropping privileges. Patch from
47 vinschen at redhat.com.
48 - (dtucker) [openbsd-compat/port-aix.c] Use correct include for xmalloc.h,
49 add canohost.h to stop warning. Based on patch from openssh-unix-dev at
50 thewrittenword.com
51 - (dtucker) [INSTALL] Bug #686: Document requirement for zlib 1.1.4 or
52 higher.
53 - (tim) Fix typo. s/SETEIUD_BREAKS_SETUID/SETEUID_BREAKS_SETUID/
54 - (tim) [configure.ac] Bug 665: move 3 new AC_DEFINES outside of AC_TRY_RUN.
55 Report by distler AT golem ph utexas edu.
56 - (dtucker) [contrib/aix/pam.conf] Include example pam.conf for AIX from
57 article by genty at austin.ibm.com, included with the author's permission.
58 - (tim) [configure.ac] add --disable-etc-default-login option. ok djm
59
6020030919
61 - (djm) Bug #683: Remove reference to --with-ipv4-default from INSTALL;
62 djast AT cs.toronto.edu
63 - (djm) Bug #680: Remove missing inet_ntoa.h header reference
64 - (djm) Bug #646: Fix location of x11-ssh-askpass; Jim
65 - (dtucker) [openbsd-compat/port-aix.h] Bug #640: Don't include audit.h
66 unless required. Reorder to reduce warnings.
67 - (dtucker) [session.c] Bug #643: Fix size_t -> u_int and fix null deref
68 when /etc/default/login doesn't exist or isn't readable. Fixes from
69 jparsons-lists at saffron.net and georg.oppenberg at deu mci com.
70
7120030918
72 - (djm) Bug #652: Fix empty password auth
73
7420030917
75 - (djm) OpenBSD Sync
76 - markus@cvs.openbsd.org 2003/09/16 21:02:40
77 [buffer.c channels.c version.h]
78 more malloc/fatal fixes; ok millert/deraadt; ghudson at MIT.EDU
79 - (djm) Crank RPM spec versions
80 - (djm) Release 3.7.1p1
81
8220030916 120030916
83 - (dtucker) [acconfig.h configure.ac defines.h session.c] Bug #252: Retrieve 2 - (dtucker) [acconfig.h configure.ac defines.h session.c] Bug #252: Retrieve
84 PATH (or SUPATH) and UMASK from /etc/default/login on platforms that have it 3 PATH (or SUPATH) and UMASK from /etc/default/login on platforms that have it
@@ -1188,4 +1107,4 @@
1188 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 1107 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
1189 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 1108 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
1190 1109
1191$Id: ChangeLog,v 1.2994.2.34 2003/09/23 09:33:17 djm Exp $ 1110$Id: ChangeLog,v 1.2994.2.4 2003/09/16 06:00:52 djm Exp $
diff --git a/INSTALL b/INSTALL
index 0df6fba10..93070b105 100644
--- a/INSTALL
+++ b/INSTALL
@@ -3,7 +3,7 @@
3 3
4You will need working installations of Zlib and OpenSSL. 4You will need working installations of Zlib and OpenSSL.
5 5
6Zlib 1.1.4 or greater: 6Zlib:
7http://www.gzip.org/zlib/ 7http://www.gzip.org/zlib/
8 8
9OpenSSL 0.9.6 or greater: 9OpenSSL 0.9.6 or greater:
@@ -33,7 +33,7 @@ http://www.gnome.org/
33Alternatively, Jim Knoble <jmknoble@jmknoble.cx> has written an excellent X11 33Alternatively, Jim Knoble <jmknoble@jmknoble.cx> has written an excellent X11
34passphrase requester. This is maintained separately at: 34passphrase requester. This is maintained separately at:
35 35
36http://www.jmknoble.net/software/x11-ssh-askpass/ 36http://www.ntrnet.net/~jmknoble/software/x11-ssh-askpass/index.html
37 37
38PRNGD: 38PRNGD:
39 39
@@ -101,8 +101,11 @@ name).
101 101
102There are a few other options to the configure script: 102There are a few other options to the configure script:
103 103
104--with-pam enables PAM support. If PAM support is compiled in, it must 104--with-pam enables PAM support.
105also be enabled in sshd_config (refer to the UsePAM directive). 105
106--enable-gnome-askpass will build the GNOME passphrase dialog. You
107need a working installation of GNOME, including the development
108headers, for this to work.
106 109
107--with-prngd-socket=/some/file allows you to enable EGD or PRNGD 110--with-prngd-socket=/some/file allows you to enable EGD or PRNGD
108support and to specify a PRNGd socket. Use this if your Unix lacks 111support and to specify a PRNGd socket. Use this if your Unix lacks
@@ -123,6 +126,16 @@ it if lastlog is installed in a different place.
123--with-osfsia, --without-osfsia will enable or disable OSF1's Security 126--with-osfsia, --without-osfsia will enable or disable OSF1's Security
124Integration Architecture. The default for OSF1 machines is enable. 127Integration Architecture. The default for OSF1 machines is enable.
125 128
129--with-kerberos4=PATH will enable Kerberos IV support. You will need
130to have the Kerberos libraries and header files installed for this
131to work. Use the optional PATH argument to specify the root of your
132Kerberos installation.
133
134--with-afs=PATH will enable AFS support. You will need to have the
135Kerberos IV and the AFS libraries and header files installed for this
136to work. Use the optional PATH argument to specify the root of your
137AFS installation. AFS requires Kerberos support to be enabled.
138
126--with-skey=PATH will enable S/Key one time password support. You will 139--with-skey=PATH will enable S/Key one time password support. You will
127need the S/Key libraries and header files installed for this to work. 140need the S/Key libraries and header files installed for this to work.
128 141
@@ -148,6 +161,12 @@ created.
148 161
149--with-xauth=PATH specifies the location of the xauth binary 162--with-xauth=PATH specifies the location of the xauth binary
150 163
164--with-ipv4-default instructs OpenSSH to use IPv4 by default for new
165connections. Normally OpenSSH will try attempt to lookup both IPv6 and
166IPv4 addresses. On Linux/glibc-2.1.2 this causes long delays in name
167resolution. If this option is specified, you can still attempt to
168connect to IPv6 addresses using the command line option '-6'.
169
151--with-ssl-dir=DIR allows you to specify where your OpenSSL libraries 170--with-ssl-dir=DIR allows you to specify where your OpenSSL libraries
152are installed. 171are installed.
153 172
@@ -198,4 +217,4 @@ Please refer to the "reporting bugs" section of the webpage at
198http://www.openssh.com/ 217http://www.openssh.com/
199 218
200 219
201$Id: INSTALL,v 1.56.2.4 2003/09/23 09:24:21 djm Exp $ 220$Id: INSTALL,v 1.56 2003/05/24 01:41:16 dtucker Exp $
diff --git a/Makefile.in b/Makefile.in
index c90b17d10..8a8774461 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.249.2.1 2003/09/22 01:00:12 dtucker Exp $ 1# $Id: Makefile.in,v 1.249 2003/09/14 01:40:36 dtucker 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@
@@ -192,18 +192,20 @@ ssh_prng_cmds.out: ssh_prng_cmds
192moduli: 192moduli:
193 echo 193 echo
194 194
195clean: regressclean 195clean:
196 rm -f *.o *.a $(TARGETS) logintest config.cache config.log 196 rm -f *.o *.a $(TARGETS) logintest config.cache config.log
197 rm -f *.out core 197 rm -f *.out core
198 (cd openbsd-compat && $(MAKE) clean) 198 (cd openbsd-compat && $(MAKE) clean)
199 (cd regress && $(MAKE) clean)
199 200
200distclean: regressclean 201distclean:
201 rm -f *.o *.a $(TARGETS) logintest config.cache config.log 202 rm -f *.o *.a $(TARGETS) logintest config.cache config.log
202 rm -f *.out core 203 rm -f *.out core
203 rm -f Makefile config.h config.status ssh_prng_cmds *~ 204 rm -f Makefile config.h config.status ssh_prng_cmds *~
204 rm -rf autom4te.cache 205 rm -rf autom4te.cache
205 (cd openbsd-compat && $(MAKE) distclean) 206 (cd openbsd-compat && $(MAKE) distclean)
206 (cd scard && $(MAKE) distclean) 207 (cd scard && $(MAKE) distclean)
208 (cd regress && $(MAKE) distclean)
207 209
208veryclean: distclean 210veryclean: distclean
209 rm -f configure config.h.in *.0 211 rm -f configure config.h.in *.0
@@ -371,8 +373,6 @@ uninstall:
371tests: $(TARGETS) 373tests: $(TARGETS)
372 BUILDDIR=`pwd`; \ 374 BUILDDIR=`pwd`; \
373 [ -d `pwd`/regress ] || mkdir -p `pwd`/regress; \ 375 [ -d `pwd`/regress ] || mkdir -p `pwd`/regress; \
374 [ -f `pwd`/regress/Makefile ] || \
375 ln -s $(srcdir)/regress/Makefile `pwd`/regress/Makefile ; \
376 TEST_SSH_SSH="$${BUILDDIR}/ssh"; \ 376 TEST_SSH_SSH="$${BUILDDIR}/ssh"; \
377 TEST_SSH_SSHD="$${BUILDDIR}/sshd"; \ 377 TEST_SSH_SSHD="$${BUILDDIR}/sshd"; \
378 TEST_SSH_SSHAGENT="$${BUILDDIR}/ssh-agent"; \ 378 TEST_SSH_SSHAGENT="$${BUILDDIR}/ssh-agent"; \
@@ -398,8 +398,3 @@ tests: $(TARGETS)
398 TEST_SSH_SFTPSERVER="$${TEST_SSH_SFTPSERVER}" \ 398 TEST_SSH_SFTPSERVER="$${TEST_SSH_SFTPSERVER}" \
399 EXEEXT="$(EXEEXT)" \ 399 EXEEXT="$(EXEEXT)" \
400 $@ 400 $@
401
402regressclean:
403 if [ -f regress/Makefile -a -r regress/Makefile ]; then \
404 (cd regress && $(MAKE) clean) \
405 fi
diff --git a/auth-chall.c b/auth-chall.c
index 00d6e0ec5..6b7c8bd13 100644
--- a/auth-chall.c
+++ b/auth-chall.c
@@ -92,7 +92,7 @@ verify_response(Authctxt *authctxt, const char *response)
92 xfree(info); 92 xfree(info);
93 } 93 }
94 /* if we received more prompts, we're screwed */ 94 /* if we received more prompts, we're screwed */
95 res = (res == 0 && numprompts == 0) ? 0 : -1; 95 res = (numprompts != 0);
96 } 96 }
97 device->free_ctx(authctxt->kbdintctxt); 97 device->free_ctx(authctxt->kbdintctxt);
98 authctxt->kbdintctxt = NULL; 98 authctxt->kbdintctxt = NULL;
diff --git a/auth-krb4.c b/auth-krb4.c
deleted file mode 100644
index b28df469f..000000000
--- a/auth-krb4.c
+++ /dev/null
@@ -1,368 +0,0 @@
1/*
2 * Copyright (c) 1999 Dug Song. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 *
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25#include "includes.h"
26RCSID("$OpenBSD: auth-krb4.c,v 1.29 2003/02/21 10:34:48 mpech Exp $");
27
28#include "ssh.h"
29#include "ssh1.h"
30#include "packet.h"
31#include "xmalloc.h"
32#include "log.h"
33#include "servconf.h"
34#include "uidswap.h"
35#include "auth.h"
36
37#ifdef AFS
38#include "radix.h"
39#endif
40
41#ifdef KRB4
42extern ServerOptions options;
43
44static int
45krb4_init(void *context)
46{
47 static int cleanup_registered = 0;
48 Authctxt *authctxt = (Authctxt *)context;
49 const char *tkt_root = TKT_ROOT;
50 struct stat st;
51 int fd;
52
53 if (!authctxt->krb4_ticket_file) {
54 /* Set unique ticket string manually since we're still root. */
55 authctxt->krb4_ticket_file = xmalloc(MAXPATHLEN);
56#ifdef AFS
57 if (lstat("/ticket", &st) != -1)
58 tkt_root = "/ticket/";
59#endif /* AFS */
60 snprintf(authctxt->krb4_ticket_file, MAXPATHLEN, "%s%u_%ld",
61 tkt_root, authctxt->pw->pw_uid, (long)getpid());
62 krb_set_tkt_string(authctxt->krb4_ticket_file);
63 }
64 /* Register ticket cleanup in case of fatal error. */
65 if (!cleanup_registered) {
66 fatal_add_cleanup(krb4_cleanup_proc, authctxt);
67 cleanup_registered = 1;
68 }
69 /* Try to create our ticket file. */
70 if ((fd = mkstemp(authctxt->krb4_ticket_file)) != -1) {
71 close(fd);
72 return (1);
73 }
74 /* Ticket file exists - make sure user owns it (just passed ticket). */
75 if (lstat(authctxt->krb4_ticket_file, &st) != -1) {
76 if (st.st_mode == (S_IFREG | S_IRUSR | S_IWUSR) &&
77 st.st_uid == authctxt->pw->pw_uid)
78 return (1);
79 }
80 /* Failure - cancel cleanup function, leaving ticket for inspection. */
81 log("WARNING: bad ticket file %s", authctxt->krb4_ticket_file);
82
83 fatal_remove_cleanup(krb4_cleanup_proc, authctxt);
84 cleanup_registered = 0;
85
86 xfree(authctxt->krb4_ticket_file);
87 authctxt->krb4_ticket_file = NULL;
88
89 return (0);
90}
91
92/*
93 * try krb4 authentication,
94 * return 1 on success, 0 on failure, -1 if krb4 is not available
95 */
96int
97auth_krb4_password(Authctxt *authctxt, const char *password)
98{
99 AUTH_DAT adata;
100 KTEXT_ST tkt;
101 struct hostent *hp;
102 struct passwd *pw;
103 char localhost[MAXHOSTNAMELEN], phost[INST_SZ], realm[REALM_SZ];
104 u_int32_t faddr;
105 int r;
106
107 if ((pw = authctxt->pw) == NULL)
108 return (0);
109
110 /*
111 * Try Kerberos password authentication only for non-root
112 * users and only if Kerberos is installed.
113 */
114 if (pw->pw_uid != 0 && krb_get_lrealm(realm, 1) == KSUCCESS) {
115 /* Set up our ticket file. */
116 if (!krb4_init(authctxt)) {
117 log("Couldn't initialize Kerberos ticket file for %s!",
118 pw->pw_name);
119 goto failure;
120 }
121 /* Try to get TGT using our password. */
122 r = krb_get_pw_in_tkt((char *) pw->pw_name, "", realm,
123 "krbtgt", realm, DEFAULT_TKT_LIFE, (char *)password);
124 if (r != INTK_OK) {
125 debug("Kerberos v4 password authentication for %s "
126 "failed: %s", pw->pw_name, krb_err_txt[r]);
127 goto failure;
128 }
129 /* Successful authentication. */
130 chown(tkt_string(), pw->pw_uid, pw->pw_gid);
131
132 /*
133 * Now that we have a TGT, try to get a local
134 * "rcmd" ticket to ensure that we are not talking
135 * to a bogus Kerberos server.
136 */
137 gethostname(localhost, sizeof(localhost));
138 strlcpy(phost, (char *)krb_get_phost(localhost),
139 sizeof(phost));
140 r = krb_mk_req(&tkt, KRB4_SERVICE_NAME, phost, realm, 33);
141
142 if (r == KSUCCESS) {
143 if ((hp = gethostbyname(localhost)) == NULL) {
144 log("Couldn't get local host address!");
145 goto failure;
146 }
147 memmove((void *)&faddr, (void *)hp->h_addr,
148 sizeof(faddr));
149
150 /* Verify our "rcmd" ticket. */
151 r = krb_rd_req(&tkt, KRB4_SERVICE_NAME, phost,
152 faddr, &adata, "");
153 if (r == RD_AP_UNDEC) {
154 /*
155 * Probably didn't have a srvtab on
156 * localhost. Disallow login.
157 */
158 log("Kerberos v4 TGT for %s unverifiable, "
159 "no srvtab installed? krb_rd_req: %s",
160 pw->pw_name, krb_err_txt[r]);
161 goto failure;
162 } else if (r != KSUCCESS) {
163 log("Kerberos v4 %s ticket unverifiable: %s",
164 KRB4_SERVICE_NAME, krb_err_txt[r]);
165 goto failure;
166 }
167 } else if (r == KDC_PR_UNKNOWN) {
168 /*
169 * Disallow login if no rcmd service exists, and
170 * log the error.
171 */
172 log("Kerberos v4 TGT for %s unverifiable: %s; %s.%s "
173 "not registered, or srvtab is wrong?", pw->pw_name,
174 krb_err_txt[r], KRB4_SERVICE_NAME, phost);
175 goto failure;
176 } else {
177 /*
178 * TGT is bad, forget it. Possibly spoofed!
179 */
180 debug("WARNING: Kerberos v4 TGT possibly spoofed "
181 "for %s: %s", pw->pw_name, krb_err_txt[r]);
182 goto failure;
183 }
184 /* Authentication succeeded. */
185 return (1);
186 } else
187 /* Logging in as root or no local Kerberos realm. */
188 debug("Unable to authenticate to Kerberos.");
189
190 failure:
191 krb4_cleanup_proc(authctxt);
192
193 if (!options.kerberos_or_local_passwd)
194 return (0);
195
196 /* Fall back to ordinary passwd authentication. */
197 return (-1);
198}
199
200void
201krb4_cleanup_proc(void *context)
202{
203 Authctxt *authctxt = (Authctxt *)context;
204 debug("krb4_cleanup_proc called");
205 if (authctxt->krb4_ticket_file) {
206 (void) dest_tkt();
207 xfree(authctxt->krb4_ticket_file);
208 authctxt->krb4_ticket_file = NULL;
209 }
210}
211
212int
213auth_krb4(Authctxt *authctxt, KTEXT auth, char **client, KTEXT reply)
214{
215 AUTH_DAT adat = {0};
216 Key_schedule schedule;
217 struct sockaddr_in local, foreign;
218 char instance[INST_SZ];
219 socklen_t slen;
220 u_int cksum;
221 int r, s;
222
223 s = packet_get_connection_in();
224
225 slen = sizeof(local);
226 memset(&local, 0, sizeof(local));
227 if (getsockname(s, (struct sockaddr *) & local, &slen) < 0)
228 debug("getsockname failed: %.100s", strerror(errno));
229 slen = sizeof(foreign);
230 memset(&foreign, 0, sizeof(foreign));
231 if (getpeername(s, (struct sockaddr *) & foreign, &slen) < 0) {
232 debug("getpeername failed: %.100s", strerror(errno));
233 fatal_cleanup();
234 }
235 instance[0] = '*';
236 instance[1] = 0;
237
238 /* Get the encrypted request, challenge, and session key. */
239 if ((r = krb_rd_req(auth, KRB4_SERVICE_NAME, instance,
240 0, &adat, ""))) {
241 debug("Kerberos v4 krb_rd_req: %.100s", krb_err_txt[r]);
242 return (0);
243 }
244 des_key_sched((des_cblock *) adat.session, schedule);
245
246 *client = xmalloc(MAX_K_NAME_SZ);
247 (void) snprintf(*client, MAX_K_NAME_SZ, "%s%s%s@%s", adat.pname,
248 *adat.pinst ? "." : "", adat.pinst, adat.prealm);
249
250 /* Check ~/.klogin authorization now. */
251 if (kuserok(&adat, authctxt->user) != KSUCCESS) {
252 log("Kerberos v4 .klogin authorization failed for %s to "
253 "account %s", *client, authctxt->user);
254 xfree(*client);
255 *client = NULL;
256 return (0);
257 }
258 /* Increment the checksum, and return it encrypted with the
259 session key. */
260 cksum = adat.checksum + 1;
261 cksum = htonl(cksum);
262
263 /* If we can't successfully encrypt the checksum, we send back an
264 empty message, admitting our failure. */
265 if ((r = krb_mk_priv((u_char *) & cksum, reply->dat, sizeof(cksum) + 1,
266 schedule, &adat.session, &local, &foreign)) < 0) {
267 debug("Kerberos v4 mk_priv: (%d) %s", r, krb_err_txt[r]);
268 reply->dat[0] = 0;
269 reply->length = 0;
270 } else
271 reply->length = r;
272
273 /* Clear session key. */
274 memset(&adat.session, 0, sizeof(adat.session));
275 return (1);
276}
277#endif /* KRB4 */
278
279#ifdef AFS
280int
281auth_krb4_tgt(Authctxt *authctxt, const char *string)
282{
283 CREDENTIALS creds;
284 struct passwd *pw;
285
286 if ((pw = authctxt->pw) == NULL)
287 goto failure;
288
289 temporarily_use_uid(pw);
290
291 if (!radix_to_creds(string, &creds)) {
292 log("Protocol error decoding Kerberos v4 TGT");
293 goto failure;
294 }
295 if (strncmp(creds.service, "", 1) == 0) /* backward compatibility */
296 strlcpy(creds.service, "krbtgt", sizeof creds.service);
297
298 if (strcmp(creds.service, "krbtgt")) {
299 log("Kerberos v4 TGT (%s%s%s@%s) rejected for %s",
300 creds.pname, creds.pinst[0] ? "." : "", creds.pinst,
301 creds.realm, pw->pw_name);
302 goto failure;
303 }
304 if (!krb4_init(authctxt))
305 goto failure;
306
307 if (in_tkt(creds.pname, creds.pinst) != KSUCCESS)
308 goto failure;
309
310 if (save_credentials(creds.service, creds.instance, creds.realm,
311 creds.session, creds.lifetime, creds.kvno, &creds.ticket_st,
312 creds.issue_date) != KSUCCESS) {
313 debug("Kerberos v4 TGT refused: couldn't save credentials");
314 goto failure;
315 }
316 /* Successful authentication, passed all checks. */
317 chown(tkt_string(), pw->pw_uid, pw->pw_gid);
318
319 debug("Kerberos v4 TGT accepted (%s%s%s@%s)",
320 creds.pname, creds.pinst[0] ? "." : "", creds.pinst, creds.realm);
321 memset(&creds, 0, sizeof(creds));
322
323 restore_uid();
324
325 return (1);
326
327 failure:
328 krb4_cleanup_proc(authctxt);
329 memset(&creds, 0, sizeof(creds));
330 restore_uid();
331
332 return (0);
333}
334
335int
336auth_afs_token(Authctxt *authctxt, const char *token_string)
337{
338 CREDENTIALS creds;
339 struct passwd *pw;
340 uid_t uid;
341
342 if ((pw = authctxt->pw) == NULL)
343 return (0);
344
345 if (!radix_to_creds(token_string, &creds)) {
346 log("Protocol error decoding AFS token");
347 return (0);
348 }
349 if (strncmp(creds.service, "", 1) == 0) /* backward compatibility */
350 strlcpy(creds.service, "afs", sizeof creds.service);
351
352 if (strncmp(creds.pname, "AFS ID ", 7) == 0)
353 uid = atoi(creds.pname + 7);
354 else
355 uid = pw->pw_uid;
356
357 if (kafs_settoken(creds.realm, uid, &creds)) {
358 log("AFS token (%s@%s) rejected for %s",
359 creds.pname, creds.realm, pw->pw_name);
360 memset(&creds, 0, sizeof(creds));
361 return (0);
362 }
363 debug("AFS token accepted (%s@%s)", creds.pname, creds.realm);
364 memset(&creds, 0, sizeof(creds));
365
366 return (1);
367}
368#endif /* AFS */
diff --git a/auth-pam.c b/auth-pam.c
index 2c8feb65d..754cbf6df 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -31,7 +31,7 @@
31 31
32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ 32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
33#include "includes.h" 33#include "includes.h"
34RCSID("$Id: auth-pam.c,v 1.72.2.2 2003/09/23 09:24:21 djm Exp $"); 34RCSID("$Id: auth-pam.c,v 1.72.2.1 2003/09/16 06:00:52 djm Exp $");
35 35
36#ifdef USE_PAM 36#ifdef USE_PAM
37#include <security/pam_appl.h> 37#include <security/pam_appl.h>
@@ -111,12 +111,12 @@ pthread_join(sp_pthread_t thread, void **value __unused)
111#endif 111#endif
112 112
113 113
114static pam_handle_t *sshpam_handle = NULL; 114static pam_handle_t *sshpam_handle;
115static int sshpam_err = 0; 115static int sshpam_err;
116static int sshpam_authenticated = 0; 116static int sshpam_authenticated;
117static int sshpam_new_authtok_reqd = 0; 117static int sshpam_new_authtok_reqd;
118static int sshpam_session_open = 0; 118static int sshpam_session_open;
119static int sshpam_cred_established = 0; 119static int sshpam_cred_established;
120 120
121struct pam_ctxt { 121struct pam_ctxt {
122 sp_pthread_t pam_thread; 122 sp_pthread_t pam_thread;
@@ -136,51 +136,42 @@ sshpam_thread_conv(int n, const struct pam_message **msg,
136{ 136{
137 Buffer buffer; 137 Buffer buffer;
138 struct pam_ctxt *ctxt; 138 struct pam_ctxt *ctxt;
139 struct pam_response *reply;
140 int i; 139 int i;
141 140
142 *resp = NULL;
143
144 ctxt = data; 141 ctxt = data;
145 if (n <= 0 || n > PAM_MAX_NUM_MSG) 142 if (n <= 0 || n > PAM_MAX_NUM_MSG)
146 return (PAM_CONV_ERR); 143 return (PAM_CONV_ERR);
147 144 *resp = xmalloc(n * sizeof **resp);
148 if ((reply = malloc(n * sizeof(*reply))) == NULL)
149 return (PAM_CONV_ERR);
150 memset(reply, 0, n * sizeof(*reply));
151
152 buffer_init(&buffer); 145 buffer_init(&buffer);
153 for (i = 0; i < n; ++i) { 146 for (i = 0; i < n; ++i) {
147 resp[i]->resp_retcode = 0;
148 resp[i]->resp = NULL;
154 switch (PAM_MSG_MEMBER(msg, i, msg_style)) { 149 switch (PAM_MSG_MEMBER(msg, i, msg_style)) {
155 case PAM_PROMPT_ECHO_OFF: 150 case PAM_PROMPT_ECHO_OFF:
156 buffer_put_cstring(&buffer, 151 buffer_put_cstring(&buffer, PAM_MSG_MEMBER(msg, i, msg));
157 PAM_MSG_MEMBER(msg, i, msg));
158 ssh_msg_send(ctxt->pam_csock, 152 ssh_msg_send(ctxt->pam_csock,
159 PAM_MSG_MEMBER(msg, i, msg_style), &buffer); 153 PAM_MSG_MEMBER(msg, i, msg_style), &buffer);
160 ssh_msg_recv(ctxt->pam_csock, &buffer); 154 ssh_msg_recv(ctxt->pam_csock, &buffer);
161 if (buffer_get_char(&buffer) != PAM_AUTHTOK) 155 if (buffer_get_char(&buffer) != PAM_AUTHTOK)
162 goto fail; 156 goto fail;
163 reply[i].resp = buffer_get_string(&buffer, NULL); 157 resp[i]->resp = buffer_get_string(&buffer, NULL);
164 break; 158 break;
165 case PAM_PROMPT_ECHO_ON: 159 case PAM_PROMPT_ECHO_ON:
166 buffer_put_cstring(&buffer, 160 buffer_put_cstring(&buffer, PAM_MSG_MEMBER(msg, i, msg));
167 PAM_MSG_MEMBER(msg, i, msg));
168 ssh_msg_send(ctxt->pam_csock, 161 ssh_msg_send(ctxt->pam_csock,
169 PAM_MSG_MEMBER(msg, i, msg_style), &buffer); 162 PAM_MSG_MEMBER(msg, i, msg_style), &buffer);
170 ssh_msg_recv(ctxt->pam_csock, &buffer); 163 ssh_msg_recv(ctxt->pam_csock, &buffer);
171 if (buffer_get_char(&buffer) != PAM_AUTHTOK) 164 if (buffer_get_char(&buffer) != PAM_AUTHTOK)
172 goto fail; 165 goto fail;
173 reply[i].resp = buffer_get_string(&buffer, NULL); 166 resp[i]->resp = buffer_get_string(&buffer, NULL);
174 break; 167 break;
175 case PAM_ERROR_MSG: 168 case PAM_ERROR_MSG:
176 buffer_put_cstring(&buffer, 169 buffer_put_cstring(&buffer, PAM_MSG_MEMBER(msg, i, msg));
177 PAM_MSG_MEMBER(msg, i, msg));
178 ssh_msg_send(ctxt->pam_csock, 170 ssh_msg_send(ctxt->pam_csock,
179 PAM_MSG_MEMBER(msg, i, msg_style), &buffer); 171 PAM_MSG_MEMBER(msg, i, msg_style), &buffer);
180 break; 172 break;
181 case PAM_TEXT_INFO: 173 case PAM_TEXT_INFO:
182 buffer_put_cstring(&buffer, 174 buffer_put_cstring(&buffer, PAM_MSG_MEMBER(msg, i, msg));
183 PAM_MSG_MEMBER(msg, i, msg));
184 ssh_msg_send(ctxt->pam_csock, 175 ssh_msg_send(ctxt->pam_csock,
185 PAM_MSG_MEMBER(msg, i, msg_style), &buffer); 176 PAM_MSG_MEMBER(msg, i, msg_style), &buffer);
186 break; 177 break;
@@ -190,15 +181,12 @@ sshpam_thread_conv(int n, const struct pam_message **msg,
190 buffer_clear(&buffer); 181 buffer_clear(&buffer);
191 } 182 }
192 buffer_free(&buffer); 183 buffer_free(&buffer);
193 *resp = reply;
194 return (PAM_SUCCESS); 184 return (PAM_SUCCESS);
195
196 fail: 185 fail:
197 for(i = 0; i < n; i++) { 186 while (i)
198 if (reply[i].resp != NULL) 187 xfree(resp[--i]);
199 xfree(reply[i].resp); 188 xfree(*resp);
200 } 189 *resp = NULL;
201 xfree(reply);
202 buffer_free(&buffer); 190 buffer_free(&buffer);
203 return (PAM_CONV_ERR); 191 return (PAM_CONV_ERR);
204} 192}
@@ -270,8 +258,6 @@ sshpam_cleanup(void *arg)
270{ 258{
271 (void)arg; 259 (void)arg;
272 debug("PAM: cleanup"); 260 debug("PAM: cleanup");
273 if (sshpam_handle == NULL)
274 return;
275 pam_set_item(sshpam_handle, PAM_CONV, (const void *)&null_conv); 261 pam_set_item(sshpam_handle, PAM_CONV, (const void *)&null_conv);
276 if (sshpam_cred_established) { 262 if (sshpam_cred_established) {
277 pam_setcred(sshpam_handle, PAM_DELETE_CRED); 263 pam_setcred(sshpam_handle, PAM_DELETE_CRED);
@@ -614,50 +600,40 @@ pam_chauthtok_conv(int n, const struct pam_message **msg,
614 struct pam_response **resp, void *data) 600 struct pam_response **resp, void *data)
615{ 601{
616 char input[PAM_MAX_MSG_SIZE]; 602 char input[PAM_MAX_MSG_SIZE];
617 struct pam_response *reply;
618 int i; 603 int i;
619 604
620 *resp = NULL;
621
622 if (n <= 0 || n > PAM_MAX_NUM_MSG) 605 if (n <= 0 || n > PAM_MAX_NUM_MSG)
623 return (PAM_CONV_ERR); 606 return (PAM_CONV_ERR);
624 607 *resp = xmalloc(n * sizeof **resp);
625 if ((reply = malloc(n * sizeof(*reply))) == NULL)
626 return (PAM_CONV_ERR);
627 memset(reply, 0, n * sizeof(*reply));
628
629 for (i = 0; i < n; ++i) { 608 for (i = 0; i < n; ++i) {
630 switch (PAM_MSG_MEMBER(msg, i, msg_style)) { 609 switch (PAM_MSG_MEMBER(msg, i, msg_style)) {
631 case PAM_PROMPT_ECHO_OFF: 610 case PAM_PROMPT_ECHO_OFF:
632 reply[i].resp = 611 resp[i]->resp =
633 read_passphrase(PAM_MSG_MEMBER(msg, i, msg), 612 read_passphrase(PAM_MSG_MEMBER(msg, i, msg),
634 RP_ALLOW_STDIN); 613 RP_ALLOW_STDIN);
635 reply[i].resp_retcode = PAM_SUCCESS; 614 resp[i]->resp_retcode = PAM_SUCCESS;
636 break; 615 break;
637 case PAM_PROMPT_ECHO_ON: 616 case PAM_PROMPT_ECHO_ON:
638 fputs(PAM_MSG_MEMBER(msg, i, msg), stderr); 617 fputs(PAM_MSG_MEMBER(msg, i, msg), stderr);
639 fgets(input, sizeof input, stdin); 618 fgets(input, sizeof input, stdin);
640 reply[i].resp = xstrdup(input); 619 resp[i]->resp = xstrdup(input);
641 reply[i].resp_retcode = PAM_SUCCESS; 620 resp[i]->resp_retcode = PAM_SUCCESS;
642 break; 621 break;
643 case PAM_ERROR_MSG: 622 case PAM_ERROR_MSG:
644 case PAM_TEXT_INFO: 623 case PAM_TEXT_INFO:
645 fputs(PAM_MSG_MEMBER(msg, i, msg), stderr); 624 fputs(PAM_MSG_MEMBER(msg, i, msg), stderr);
646 reply[i].resp_retcode = PAM_SUCCESS; 625 resp[i]->resp_retcode = PAM_SUCCESS;
647 break; 626 break;
648 default: 627 default:
649 goto fail; 628 goto fail;
650 } 629 }
651 } 630 }
652 *resp = reply;
653 return (PAM_SUCCESS); 631 return (PAM_SUCCESS);
654
655 fail: 632 fail:
656 for(i = 0; i < n; i++) { 633 while (i)
657 if (reply[i].resp != NULL) 634 xfree(resp[--i]);
658 xfree(reply[i].resp); 635 xfree(*resp);
659 } 636 *resp = NULL;
660 xfree(reply);
661 return (PAM_CONV_ERR); 637 return (PAM_CONV_ERR);
662} 638}
663 639
diff --git a/auth2-pam.c b/auth2-pam.c
deleted file mode 100644
index ac28fb245..000000000
--- a/auth2-pam.c
+++ /dev/null
@@ -1,165 +0,0 @@
1#include "includes.h"
2RCSID("$Id: auth2-pam.c,v 1.15 2003/01/08 01:37:03 djm Exp $");
3
4#ifdef USE_PAM
5#include <security/pam_appl.h>
6
7#include "ssh.h"
8#include "ssh2.h"
9#include "auth.h"
10#include "auth-pam.h"
11#include "packet.h"
12#include "xmalloc.h"
13#include "dispatch.h"
14#include "log.h"
15
16static int do_pam_conversation_kbd_int(int num_msg,
17 const struct pam_message **msg, struct pam_response **resp,
18 void *appdata_ptr);
19void input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt);
20
21struct {
22 int finished, num_received, num_expected;
23 int *prompts;
24 struct pam_response *responses;
25} context_pam2 = {0, 0, 0, NULL};
26
27static struct pam_conv conv2 = {
28 do_pam_conversation_kbd_int,
29 NULL,
30};
31
32int
33auth2_pam(Authctxt *authctxt)
34{
35 int retval = -1;
36
37 if (authctxt->user == NULL)
38 fatal("auth2_pam: internal error: no user");
39
40 conv2.appdata_ptr = authctxt;
41 do_pam_set_conv(&conv2);
42
43 dispatch_set(SSH2_MSG_USERAUTH_INFO_RESPONSE,
44 &input_userauth_info_response_pam);
45 retval = (do_pam_authenticate(0) == PAM_SUCCESS);
46 dispatch_set(SSH2_MSG_USERAUTH_INFO_RESPONSE, NULL);
47
48 return retval;
49}
50
51static int
52do_pam_conversation_kbd_int(int num_msg, const struct pam_message **msg,
53 struct pam_response **resp, void *appdata_ptr)
54{
55 int i, j, done;
56 char *text;
57
58 context_pam2.finished = 0;
59 context_pam2.num_received = 0;
60 context_pam2.num_expected = 0;
61 context_pam2.prompts = xmalloc(sizeof(int) * num_msg);
62 context_pam2.responses = xmalloc(sizeof(struct pam_response) * num_msg);
63 memset(context_pam2.responses, 0, sizeof(struct pam_response) * num_msg);
64
65 text = NULL;
66 for (i = 0, context_pam2.num_expected = 0; i < num_msg; i++) {
67 int style = PAM_MSG_MEMBER(msg, i, msg_style);
68 switch (style) {
69 case PAM_PROMPT_ECHO_ON:
70 case PAM_PROMPT_ECHO_OFF:
71 context_pam2.num_expected++;
72 break;
73 case PAM_TEXT_INFO:
74 case PAM_ERROR_MSG:
75 default:
76 /* Capture all these messages to be sent at once */
77 message_cat(&text, PAM_MSG_MEMBER(msg, i, msg));
78 break;
79 }
80 }
81
82 if (context_pam2.num_expected == 0)
83 return PAM_SUCCESS;
84
85 packet_start(SSH2_MSG_USERAUTH_INFO_REQUEST);
86 packet_put_cstring(""); /* Name */
87 packet_put_cstring(""); /* Instructions */
88 packet_put_cstring(""); /* Language */
89 packet_put_int(context_pam2.num_expected);
90
91 for (i = 0, j = 0; i < num_msg; i++) {
92 int style = PAM_MSG_MEMBER(msg, i, msg_style);
93
94 /* Skip messages which don't need a reply */
95 if (style != PAM_PROMPT_ECHO_ON && style != PAM_PROMPT_ECHO_OFF)
96 continue;
97
98 context_pam2.prompts[j++] = i;
99 if (text) {
100 message_cat(&text, PAM_MSG_MEMBER(msg, i, msg));
101 packet_put_cstring(text);
102 text = NULL;
103 } else
104 packet_put_cstring(PAM_MSG_MEMBER(msg, i, msg));
105 packet_put_char(style == PAM_PROMPT_ECHO_ON);
106 }
107 packet_send();
108 packet_write_wait();
109
110 /*
111 * Grabbing control of execution and spinning until we get what
112 * we want is probably rude, but it seems to work properly, and
113 * the client *should* be in lock-step with us, so the loop should
114 * only be traversed once.
115 */
116 while(context_pam2.finished == 0) {
117 done = 1;
118 dispatch_run(DISPATCH_BLOCK, &done, appdata_ptr);
119 if (context_pam2.finished == 0)
120 debug("extra packet during conversation");
121 }
122
123 if (context_pam2.num_received == context_pam2.num_expected) {
124 *resp = context_pam2.responses;
125 return PAM_SUCCESS;
126 } else
127 return PAM_CONV_ERR;
128}
129
130void
131input_userauth_info_response_pam(int type, u_int32_t seqnr, void *ctxt)
132{
133 Authctxt *authctxt = ctxt;
134 unsigned int nresp = 0, rlen = 0, i = 0;
135 char *resp;
136
137 if (authctxt == NULL)
138 fatal("input_userauth_info_response_pam: no authentication context");
139
140 nresp = packet_get_int(); /* Number of responses. */
141 debug("got %d responses", nresp);
142
143
144 if (nresp != context_pam2.num_expected)
145 fatal("%s: Received incorrect number of responses "
146 "(expected %d, received %u)", __func__,
147 context_pam2.num_expected, nresp);
148
149 if (nresp > 100)
150 fatal("%s: too many replies", __func__);
151
152 for (i = 0; i < nresp; i++) {
153 int j = context_pam2.prompts[i];
154
155 resp = packet_get_string(&rlen);
156 context_pam2.responses[j].resp_retcode = PAM_SUCCESS;
157 context_pam2.responses[j].resp = resp;
158 context_pam2.num_received++;
159 }
160
161 context_pam2.finished = 1;
162
163 packet_check_eom();
164}
165#endif
diff --git a/auth2-pam.h b/auth2-pam.h
deleted file mode 100644
index c54f811cf..000000000
--- a/auth2-pam.h
+++ /dev/null
@@ -1,8 +0,0 @@
1/* $Id: auth2-pam.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#include "includes.h"
4#ifdef USE_PAM
5
6int auth2_pam(Authctxt *authctxt);
7
8#endif /* USE_PAM */
diff --git a/autom4te-2.53.cache/output.0 b/autom4te-2.53.cache/output.0
deleted file mode 100644
index 74f5afd76..000000000
--- a/autom4te-2.53.cache/output.0
+++ /dev/null
@@ -1,18359 +0,0 @@
1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.53.
4@%:@
5@%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6@%:@ Free Software Foundation, Inc.
7@%:@ This configure script is free software; the Free Software Foundation
8@%:@ gives unlimited permission to copy, distribute and modify it.
9
10if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12else
13 as_expr=false
14fi
15
16
17## --------------------- ##
18## M4sh Initialization. ##
19## --------------------- ##
20
21# Be Bourne compatible
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh
24 NULLCMD=:
25elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix
27fi
28
29# NLS nuisances.
30# Support unset when possible.
31if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33else
34 as_unset=false
35fi
36
37(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63# Name of the executable.
64as_me=`(basename "$0") 2>/dev/null ||
65$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75# PATH needs CR, and LINENO needs CR and PATH.
76# Avoid depending upon Character Ranges.
77as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80as_cr_digits='0123456789'
81as_cr_alnum=$as_cr_Letters$as_cr_digits
82
83# The user is always right.
84if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';'
90 else
91 PATH_SEPARATOR=:
92 fi
93 rm -f conftest.sh
94fi
95
96
97 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107for as_dir in $PATH
108do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147done
148;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179}
180
181
182case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187esac
188
189if expr a : '\(a\)' >/dev/null 2>&1; then
190 as_expr=expr
191else
192 as_expr=false
193fi
194
195rm -f conf$$ conf$$.exe conf$$.file
196echo >conf$$.file
197if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
202 as_ln_s='cp -p'
203 else
204 as_ln_s='ln -s'
205 fi
206elif ln conf$$.file conf$$ 2>/dev/null; then
207 as_ln_s=ln
208else
209 as_ln_s='cp -p'
210fi
211rm -f conf$$ conf$$.exe conf$$.file
212
213as_executable_p="test -f"
214
215# Sed expression to map a string onto a valid CPP name.
216as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217
218# Sed expression to map a string onto a valid variable name.
219as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220
221
222# IFS
223# We need space, tab and new line, in precisely that order.
224as_nl='
225'
226IFS=" $as_nl"
227
228# CDPATH.
229$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
231
232# Name of the host.
233# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234# so uname gets run too.
235ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236
237exec 6>&1
238
239#
240# Initializations.
241#
242ac_default_prefix=/usr/local
243cross_compiling=no
244subdirs=
245MFLAGS=
246MAKEFLAGS=
247SHELL=${CONFIG_SHELL-/bin/sh}
248
249# Maximum number of lines to put in a shell here document.
250# This variable seems obsolete. It should probably be removed, and
251# only ac_max_sed_lines should be used.
252: ${ac_max_here_lines=38}
253
254# Identity of this package.
255PACKAGE_NAME=
256PACKAGE_TARNAME=
257PACKAGE_VERSION=
258PACKAGE_STRING=
259PACKAGE_BUGREPORT=
260
261ac_unique_file="ssh.c"
262# Factoring default headers for most tests.
263ac_includes_default="\
264#include <stdio.h>
265#if HAVE_SYS_TYPES_H
266# include <sys/types.h>
267#endif
268#if HAVE_SYS_STAT_H
269# include <sys/stat.h>
270#endif
271#if STDC_HEADERS
272# include <stdlib.h>
273# include <stddef.h>
274#else
275# if HAVE_STDLIB_H
276# include <stdlib.h>
277# endif
278#endif
279#if HAVE_STRING_H
280# if !STDC_HEADERS && HAVE_MEMORY_H
281# include <memory.h>
282# endif
283# include <string.h>
284#endif
285#if HAVE_STRINGS_H
286# include <strings.h>
287#endif
288#if HAVE_INTTYPES_H
289# include <inttypes.h>
290#else
291# if HAVE_STDINT_H
292# include <stdint.h>
293# endif
294#endif
295#if HAVE_UNISTD_H
296# include <unistd.h>
297#endif"
298
299
300# Initialize some variables set by options.
301ac_init_help=
302ac_init_version=false
303# The variables have the same names as the options, with
304# dashes changed to underlines.
305cache_file=/dev/null
306exec_prefix=NONE
307no_create=
308no_recursion=
309prefix=NONE
310program_prefix=NONE
311program_suffix=NONE
312program_transform_name=s,x,x,
313silent=
314site=
315srcdir=
316verbose=
317x_includes=NONE
318x_libraries=NONE
319
320# Installation directory options.
321# These are left unexpanded so users can "make install exec_prefix=/foo"
322# and all the variables that are supposed to be based on exec_prefix
323# by default will actually change.
324# Use braces instead of parens because sh, perl, etc. also accept them.
325bindir='${exec_prefix}/bin'
326sbindir='${exec_prefix}/sbin'
327libexecdir='${exec_prefix}/libexec'
328datadir='${prefix}/share'
329sysconfdir='${prefix}/etc'
330sharedstatedir='${prefix}/com'
331localstatedir='${prefix}/var'
332libdir='${exec_prefix}/lib'
333includedir='${prefix}/include'
334oldincludedir='/usr/include'
335infodir='${prefix}/info'
336mandir='${prefix}/man'
337
338ac_prev=
339for ac_option
340do
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
344 ac_prev=
345 continue
346 fi
347
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
349
350 # Accept the important Cygnus configure options, so we can diagnose typos.
351
352 case $ac_option in
353
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
355 ac_prev=bindir ;;
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
357 bindir=$ac_optarg ;;
358
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
363
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
370
371 --config-cache | -C)
372 cache_file=config.cache ;;
373
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
375 ac_prev=datadir ;;
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
377 | --da=*)
378 datadir=$ac_optarg ;;
379
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
388
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
396 case $ac_option in
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398 *) ac_optarg=yes ;;
399 esac
400 eval "enable_$ac_feature='$ac_optarg'" ;;
401
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
410
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
413 with_gas=yes ;;
414
415 -help | --help | --hel | --he | -h)
416 ac_init_help=long ;;
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
421
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
426
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
433
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
435 ac_prev=infodir ;;
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
438
439 -libdir | --libdir | --libdi | --libd)
440 ac_prev=libdir ;;
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
442 libdir=$ac_optarg ;;
443
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
450
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
459
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
461 ac_prev=mandir ;;
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
463 mandir=$ac_optarg ;;
464
465 -nfp | --nfp | --nf)
466 # Obsolete; use --without-fp.
467 with_fp=no ;;
468
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
471 no_create=yes ;;
472
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
475 no_recursion=yes ;;
476
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
485
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
487 ac_prev=prefix ;;
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
489 prefix=$ac_optarg ;;
490
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
497
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
504
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
521
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
524 silent=yes ;;
525
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
527 ac_prev=sbindir ;;
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
529 | --sbi=* | --sb=*)
530 sbindir=$ac_optarg ;;
531
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
535 | --sha | --sh)
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
540 | --sha=* | --sh=*)
541 sharedstatedir=$ac_optarg ;;
542
543 -site | --site | --sit)
544 ac_prev=site ;;
545 -site=* | --site=* | --sit=*)
546 site=$ac_optarg ;;
547
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
549 ac_prev=srcdir ;;
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
551 srcdir=$ac_optarg ;;
552
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
559
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
564
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
566 verbose=yes ;;
567
568 -version | --version | --versio | --versi | --vers | -V)
569 ac_init_version=: ;;
570
571 -with-* | --with-*)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
578 case $ac_option in
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
580 *) ac_optarg=yes ;;
581 esac
582 eval "with_$ac_package='$ac_optarg'" ;;
583
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
592
593 --x)
594 # Obsolete; use --with-x.
595 with_x=yes ;;
596
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
603
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
610
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
614 ;;
615
616 *=*)
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
624 export $ac_envvar ;;
625
626 *)
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
632 ;;
633
634 esac
635done
636
637if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
641fi
642
643# Be sure to have absolute paths.
644for ac_var in exec_prefix prefix
645do
646 eval ac_val=$`echo $ac_var`
647 case $ac_val in
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
651 esac
652done
653
654# Be sure to have absolute paths.
655for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
657do
658 eval ac_val=$`echo $ac_var`
659 case $ac_val in
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
663 esac
664done
665
666# There might be people who depend on the old broken behavior: `$host'
667# used to hold the argument of --host etc.
668# FIXME: To remove some day.
669build=$build_alias
670host=$host_alias
671target=$target_alias
672
673# FIXME: To remove some day.
674if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
680 cross_compiling=yes
681 fi
682fi
683
684ac_tool_prefix=
685test -n "$host_alias" && ac_tool_prefix=$host_alias-
686
687test "$silent" = yes && exec 6>/dev/null
688
689
690# Find the source files, if location was not specified.
691if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
700echo X"$0" |
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
705 s/.*/./; q'`
706 srcdir=$ac_confdir
707 if test ! -r $srcdir/$ac_unique_file; then
708 srcdir=..
709 fi
710else
711 ac_srcdir_defaulted=no
712fi
713if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
717 else
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
720 fi
721fi
722srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723ac_env_build_alias_set=${build_alias+set}
724ac_env_build_alias_value=$build_alias
725ac_cv_env_build_alias_set=${build_alias+set}
726ac_cv_env_build_alias_value=$build_alias
727ac_env_host_alias_set=${host_alias+set}
728ac_env_host_alias_value=$host_alias
729ac_cv_env_host_alias_set=${host_alias+set}
730ac_cv_env_host_alias_value=$host_alias
731ac_env_target_alias_set=${target_alias+set}
732ac_env_target_alias_value=$target_alias
733ac_cv_env_target_alias_set=${target_alias+set}
734ac_cv_env_target_alias_value=$target_alias
735ac_env_CC_set=${CC+set}
736ac_env_CC_value=$CC
737ac_cv_env_CC_set=${CC+set}
738ac_cv_env_CC_value=$CC
739ac_env_CFLAGS_set=${CFLAGS+set}
740ac_env_CFLAGS_value=$CFLAGS
741ac_cv_env_CFLAGS_set=${CFLAGS+set}
742ac_cv_env_CFLAGS_value=$CFLAGS
743ac_env_LDFLAGS_set=${LDFLAGS+set}
744ac_env_LDFLAGS_value=$LDFLAGS
745ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746ac_cv_env_LDFLAGS_value=$LDFLAGS
747ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748ac_env_CPPFLAGS_value=$CPPFLAGS
749ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751ac_env_CPP_set=${CPP+set}
752ac_env_CPP_value=$CPP
753ac_cv_env_CPP_set=${CPP+set}
754ac_cv_env_CPP_value=$CPP
755
756#
757# Report the --help message.
758#
759if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
762 cat <<_ACEOF
763\`configure' configures this package to adapt to many kinds of systems.
764
765Usage: $0 [OPTION]... [VAR=VALUE]...
766
767To assign environment variables (e.g., CC, CFLAGS...), specify them as
768VAR=VALUE. See below for descriptions of some of the useful variables.
769
770Defaults for the options are specified in brackets.
771
772Configuration:
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
782
783_ACEOF
784
785 cat <<_ACEOF
786Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
788 [$ac_default_prefix]
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
790 [PREFIX]
791
792By default, \`make install' will install all the files in
793\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795for instance \`--prefix=\$HOME'.
796
797For better control, use the options below.
798
799Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
812_ACEOF
813
814 cat <<\_ACEOF
815
816System types:
817 --build=BUILD configure for building on BUILD [guessed]
818 --host=HOST cross-compile to build programs to run on HOST [BUILD]
819_ACEOF
820fi
821
822if test -n "$ac_init_help"; then
823
824 cat <<\_ACEOF
825
826Optional Features:
827 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
828 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
829 --disable-largefile omit support for large files
830 --disable-strip Disable calling strip(1) on install
831 --disable-lastlog disable use of lastlog even if detected no
832 --disable-utmp disable use of utmp even if detected no
833 --disable-utmpx disable use of utmpx even if detected no
834 --disable-wtmp disable use of wtmp even if detected no
835 --disable-wtmpx disable use of wtmpx even if detected no
836 --disable-libutil disable use of libutil (login() etc.) no
837 --disable-pututline disable use of pututline() etc. (uwtmp) no
838 --disable-pututxline disable use of pututxline() etc. (uwtmpx) no
839
840Optional Packages:
841 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
842 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
843 --with-osfsia Enable Digital Unix SIA
844 --with-cflags Specify additional flags to pass to compiler
845 --with-cppflags Specify additional flags to pass to preprocessor
846 --with-ldflags Specify additional flags to pass to linker
847 --with-libs Specify additional libraries to link with
848 --without-rpath Disable auto-added -R linker paths
849 --with-zlib=PATH Use zlib in PATH
850 --with-skey[=PATH] Enable S/Key support
851 (optionally in PATH)
852 --with-tcp-wrappers[=PATH] Enable tcpwrappers support
853 (optionally in PATH)
854 --with-pam Enable PAM support
855 --with-ssl-dir=PATH Specify path to OpenSSL installation
856 --with-rand-helper Use subprocess to gather strong randomness
857 --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT
858 --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool)
859 --with-entropy-timeout Specify entropy gathering command timeout (msec)
860 --with-privsep-user=user Specify non-privileged user for privilege separation
861 --with-sectok Enable smartcard support using libsectok
862 --with-opensc=PFX Enable smartcard support using OpenSC
863 --with-kerberos5=PATH Enable Kerberos 5 support
864 --with-kerberos4=PATH Enable Kerberos 4 support
865 --with-afs=PATH Enable AFS support
866 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)
867 --with-xauth=PATH Specify path to xauth program
868 --with-mantype=man|cat|doc Set man page type
869 --with-md5-passwords Enable use of MD5 passwords
870 --without-shadow Disable shadow password support
871 --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY
872 --with-default-path= Specify default \$PATH environment for server
873 --with-superuser-path= Specify different path for super-user
874 --with-ipv4-default Use IPv4 by connections unless '-6' specified
875 --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses
876 --with-bsd-auth Enable BSD auth support
877 --with-pid-dir=PATH Specify location of ssh.pid file
878 --with-lastlog=FILE|DIR specify lastlog location common locations
879
880Some influential environment variables:
881 CC C compiler command
882 CFLAGS C compiler flags
883 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
884 nonstandard directory <lib dir>
885 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
886 headers in a nonstandard directory <include dir>
887 CPP C preprocessor
888
889Use these variables to override the choices made by `configure' or to help
890it to find libraries and programs with nonstandard names/locations.
891
892_ACEOF
893fi
894
895if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
897 ac_popdir=`pwd`
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
900 ac_builddir=.
901
902if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
906else
907 ac_dir_suffix= ac_top_builddir=
908fi
909
910case $srcdir in
911 .) # No --srcdir option. We are building in place.
912 ac_srcdir=.
913 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=.
915 else
916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
917 fi ;;
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
921 *) # Relative path.
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924esac
925# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
926# absolute.
927ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
928ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
929ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
930ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
931
932 cd $ac_dir
933 # Check for guested configure; otherwise get Cygnus style configure.
934 if test -f $ac_srcdir/configure.gnu; then
935 echo
936 $SHELL $ac_srcdir/configure.gnu --help=recursive
937 elif test -f $ac_srcdir/configure; then
938 echo
939 $SHELL $ac_srcdir/configure --help=recursive
940 elif test -f $ac_srcdir/configure.ac ||
941 test -f $ac_srcdir/configure.in; then
942 echo
943 $ac_configure --help
944 else
945 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
946 fi
947 cd $ac_popdir
948 done
949fi
950
951test -n "$ac_init_help" && exit 0
952if $ac_init_version; then
953 cat <<\_ACEOF
954
955Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
956Free Software Foundation, Inc.
957This configure script is free software; the Free Software Foundation
958gives unlimited permission to copy, distribute and modify it.
959_ACEOF
960 exit 0
961fi
962exec 5>config.log
963cat >&5 <<_ACEOF
964This file contains any messages produced by compilers while
965running configure, to aid debugging if configure makes a mistake.
966
967It was created by $as_me, which was
968generated by GNU Autoconf 2.53. Invocation command line was
969
970 $ $0 $@
971
972_ACEOF
973{
974cat <<_ASUNAME
975@%:@@%:@ --------- @%:@@%:@
976@%:@@%:@ Platform. @%:@@%:@
977@%:@@%:@ --------- @%:@@%:@
978
979hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
980uname -m = `(uname -m) 2>/dev/null || echo unknown`
981uname -r = `(uname -r) 2>/dev/null || echo unknown`
982uname -s = `(uname -s) 2>/dev/null || echo unknown`
983uname -v = `(uname -v) 2>/dev/null || echo unknown`
984
985/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
986/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
987
988/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
989/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
990/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
991hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
992/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
993/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
994/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
995
996_ASUNAME
997
998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
999for as_dir in $PATH
1000do
1001 IFS=$as_save_IFS
1002 test -z "$as_dir" && as_dir=.
1003 echo "PATH: $as_dir"
1004done
1005
1006} >&5
1007
1008cat >&5 <<_ACEOF
1009
1010
1011@%:@@%:@ ----------- @%:@@%:@
1012@%:@@%:@ Core tests. @%:@@%:@
1013@%:@@%:@ ----------- @%:@@%:@
1014
1015_ACEOF
1016
1017
1018# Keep a trace of the command line.
1019# Strip out --no-create and --no-recursion so they do not pile up.
1020# Also quote any args containing shell meta-characters.
1021ac_configure_args=
1022ac_sep=
1023for ac_arg
1024do
1025 case $ac_arg in
1026 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027 | --no-cr | --no-c | -n ) continue ;;
1028 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1029 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1030 continue ;;
1031 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1032 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1033 esac
1034 case " $ac_configure_args " in
1035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1036 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1037 ac_sep=" " ;;
1038 esac
1039 # Get rid of the leading space.
1040done
1041
1042# When interrupted or exit'd, cleanup temporary files, and complete
1043# config.log. We remove comments because anyway the quotes in there
1044# would cause problems or look ugly.
1045# WARNING: Be sure not to use single quotes in there, as some shells,
1046# such as our DU 5.0 friend, will then `close' the trap.
1047trap 'exit_status=$?
1048 # Save into config.log some information that might help in debugging.
1049 {
1050 echo
1051 cat <<\_ASBOX
1052@%:@@%:@ ---------------- @%:@@%:@
1053@%:@@%:@ Cache variables. @%:@@%:@
1054@%:@@%:@ ---------------- @%:@@%:@
1055_ASBOX
1056 echo
1057 # The following way of writing the cache mishandles newlines in values,
1058{
1059 (set) 2>&1 |
1060 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1061 *ac_space=\ *)
1062 sed -n \
1063 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1065 ;;
1066 *)
1067 sed -n \
1068 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1069 ;;
1070 esac;
1071}
1072 echo
1073 if test -s confdefs.h; then
1074 cat <<\_ASBOX
1075@%:@@%:@ ----------- @%:@@%:@
1076@%:@@%:@ confdefs.h. @%:@@%:@
1077@%:@@%:@ ----------- @%:@@%:@
1078_ASBOX
1079 echo
1080 sed "/^$/d" confdefs.h
1081 echo
1082 fi
1083 test "$ac_signal" != 0 &&
1084 echo "$as_me: caught signal $ac_signal"
1085 echo "$as_me: exit $exit_status"
1086 } >&5
1087 rm -f core core.* *.core &&
1088 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1089 exit $exit_status
1090 ' 0
1091for ac_signal in 1 2 13 15; do
1092 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1093done
1094ac_signal=0
1095
1096# confdefs.h avoids OS command line length limits that DEFS can exceed.
1097rm -rf conftest* confdefs.h
1098# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1099echo >confdefs.h
1100
1101# Predefined preprocessor variables.
1102
1103cat >>confdefs.h <<_ACEOF
1104@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1105_ACEOF
1106
1107
1108cat >>confdefs.h <<_ACEOF
1109@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1110_ACEOF
1111
1112
1113cat >>confdefs.h <<_ACEOF
1114@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1115_ACEOF
1116
1117
1118cat >>confdefs.h <<_ACEOF
1119@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1120_ACEOF
1121
1122
1123cat >>confdefs.h <<_ACEOF
1124@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1125_ACEOF
1126
1127
1128# Let the site file select an alternate cache file if it wants to.
1129# Prefer explicitly selected file to automatically selected ones.
1130if test -z "$CONFIG_SITE"; then
1131 if test "x$prefix" != xNONE; then
1132 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1133 else
1134 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1135 fi
1136fi
1137for ac_site_file in $CONFIG_SITE; do
1138 if test -r "$ac_site_file"; then
1139 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1140echo "$as_me: loading site script $ac_site_file" >&6;}
1141 sed 's/^/| /' "$ac_site_file" >&5
1142 . "$ac_site_file"
1143 fi
1144done
1145
1146if test -r "$cache_file"; then
1147 # Some versions of bash will fail to source /dev/null (special
1148 # files actually), so we avoid doing that.
1149 if test -f "$cache_file"; then
1150 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1151echo "$as_me: loading cache $cache_file" >&6;}
1152 case $cache_file in
1153 [\\/]* | ?:[\\/]* ) . $cache_file;;
1154 *) . ./$cache_file;;
1155 esac
1156 fi
1157else
1158 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1159echo "$as_me: creating cache $cache_file" >&6;}
1160 >$cache_file
1161fi
1162
1163# Check that the precious variables saved in the cache have kept the same
1164# value.
1165ac_cache_corrupted=false
1166for ac_var in `(set) 2>&1 |
1167 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1168 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1169 eval ac_new_set=\$ac_env_${ac_var}_set
1170 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1171 eval ac_new_val="\$ac_env_${ac_var}_value"
1172 case $ac_old_set,$ac_new_set in
1173 set,)
1174 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1175echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1176 ac_cache_corrupted=: ;;
1177 ,set)
1178 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1179echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1180 ac_cache_corrupted=: ;;
1181 ,);;
1182 *)
1183 if test "x$ac_old_val" != "x$ac_new_val"; then
1184 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1185echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1186 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1187echo "$as_me: former value: $ac_old_val" >&2;}
1188 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1189echo "$as_me: current value: $ac_new_val" >&2;}
1190 ac_cache_corrupted=:
1191 fi;;
1192 esac
1193 # Pass precious variables to config.status.
1194 if test "$ac_new_set" = set; then
1195 case $ac_new_val in
1196 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1197 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1198 *) ac_arg=$ac_var=$ac_new_val ;;
1199 esac
1200 case " $ac_configure_args " in
1201 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1202 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1203 esac
1204 fi
1205done
1206if $ac_cache_corrupted; then
1207 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1208echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1209 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1210echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1211 { (exit 1); exit 1; }; }
1212fi
1213
1214ac_ext=c
1215ac_cpp='$CPP $CPPFLAGS'
1216ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1217ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1218ac_compiler_gnu=$ac_cv_c_compiler_gnu
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239ac_config_headers="$ac_config_headers config.h"
1240
1241ac_ext=c
1242ac_cpp='$CPP $CPPFLAGS'
1243ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1244ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1245ac_compiler_gnu=$ac_cv_c_compiler_gnu
1246if test -n "$ac_tool_prefix"; then
1247 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1248set dummy ${ac_tool_prefix}gcc; ac_word=$2
1249echo "$as_me:$LINENO: checking for $ac_word" >&5
1250echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1251if test "${ac_cv_prog_CC+set}" = set; then
1252 echo $ECHO_N "(cached) $ECHO_C" >&6
1253else
1254 if test -n "$CC"; then
1255 ac_cv_prog_CC="$CC" # Let the user override the test.
1256else
1257as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1258for as_dir in $PATH
1259do
1260 IFS=$as_save_IFS
1261 test -z "$as_dir" && as_dir=.
1262 for ac_exec_ext in '' $ac_executable_extensions; do
1263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1264 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1266 break 2
1267 fi
1268done
1269done
1270
1271fi
1272fi
1273CC=$ac_cv_prog_CC
1274if test -n "$CC"; then
1275 echo "$as_me:$LINENO: result: $CC" >&5
1276echo "${ECHO_T}$CC" >&6
1277else
1278 echo "$as_me:$LINENO: result: no" >&5
1279echo "${ECHO_T}no" >&6
1280fi
1281
1282fi
1283if test -z "$ac_cv_prog_CC"; then
1284 ac_ct_CC=$CC
1285 # Extract the first word of "gcc", so it can be a program name with args.
1286set dummy gcc; ac_word=$2
1287echo "$as_me:$LINENO: checking for $ac_word" >&5
1288echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1289if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1290 echo $ECHO_N "(cached) $ECHO_C" >&6
1291else
1292 if test -n "$ac_ct_CC"; then
1293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1294else
1295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1296for as_dir in $PATH
1297do
1298 IFS=$as_save_IFS
1299 test -z "$as_dir" && as_dir=.
1300 for ac_exec_ext in '' $ac_executable_extensions; do
1301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1302 ac_cv_prog_ac_ct_CC="gcc"
1303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1304 break 2
1305 fi
1306done
1307done
1308
1309fi
1310fi
1311ac_ct_CC=$ac_cv_prog_ac_ct_CC
1312if test -n "$ac_ct_CC"; then
1313 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1314echo "${ECHO_T}$ac_ct_CC" >&6
1315else
1316 echo "$as_me:$LINENO: result: no" >&5
1317echo "${ECHO_T}no" >&6
1318fi
1319
1320 CC=$ac_ct_CC
1321else
1322 CC="$ac_cv_prog_CC"
1323fi
1324
1325if test -z "$CC"; then
1326 if test -n "$ac_tool_prefix"; then
1327 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1328set dummy ${ac_tool_prefix}cc; ac_word=$2
1329echo "$as_me:$LINENO: checking for $ac_word" >&5
1330echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1331if test "${ac_cv_prog_CC+set}" = set; then
1332 echo $ECHO_N "(cached) $ECHO_C" >&6
1333else
1334 if test -n "$CC"; then
1335 ac_cv_prog_CC="$CC" # Let the user override the test.
1336else
1337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338for as_dir in $PATH
1339do
1340 IFS=$as_save_IFS
1341 test -z "$as_dir" && as_dir=.
1342 for ac_exec_ext in '' $ac_executable_extensions; do
1343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1344 ac_cv_prog_CC="${ac_tool_prefix}cc"
1345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1346 break 2
1347 fi
1348done
1349done
1350
1351fi
1352fi
1353CC=$ac_cv_prog_CC
1354if test -n "$CC"; then
1355 echo "$as_me:$LINENO: result: $CC" >&5
1356echo "${ECHO_T}$CC" >&6
1357else
1358 echo "$as_me:$LINENO: result: no" >&5
1359echo "${ECHO_T}no" >&6
1360fi
1361
1362fi
1363if test -z "$ac_cv_prog_CC"; then
1364 ac_ct_CC=$CC
1365 # Extract the first word of "cc", so it can be a program name with args.
1366set dummy cc; ac_word=$2
1367echo "$as_me:$LINENO: checking for $ac_word" >&5
1368echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1369if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1370 echo $ECHO_N "(cached) $ECHO_C" >&6
1371else
1372 if test -n "$ac_ct_CC"; then
1373 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1374else
1375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1376for as_dir in $PATH
1377do
1378 IFS=$as_save_IFS
1379 test -z "$as_dir" && as_dir=.
1380 for ac_exec_ext in '' $ac_executable_extensions; do
1381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1382 ac_cv_prog_ac_ct_CC="cc"
1383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1384 break 2
1385 fi
1386done
1387done
1388
1389fi
1390fi
1391ac_ct_CC=$ac_cv_prog_ac_ct_CC
1392if test -n "$ac_ct_CC"; then
1393 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1394echo "${ECHO_T}$ac_ct_CC" >&6
1395else
1396 echo "$as_me:$LINENO: result: no" >&5
1397echo "${ECHO_T}no" >&6
1398fi
1399
1400 CC=$ac_ct_CC
1401else
1402 CC="$ac_cv_prog_CC"
1403fi
1404
1405fi
1406if test -z "$CC"; then
1407 # Extract the first word of "cc", so it can be a program name with args.
1408set dummy cc; ac_word=$2
1409echo "$as_me:$LINENO: checking for $ac_word" >&5
1410echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1411if test "${ac_cv_prog_CC+set}" = set; then
1412 echo $ECHO_N "(cached) $ECHO_C" >&6
1413else
1414 if test -n "$CC"; then
1415 ac_cv_prog_CC="$CC" # Let the user override the test.
1416else
1417 ac_prog_rejected=no
1418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419for as_dir in $PATH
1420do
1421 IFS=$as_save_IFS
1422 test -z "$as_dir" && as_dir=.
1423 for ac_exec_ext in '' $ac_executable_extensions; do
1424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1426 ac_prog_rejected=yes
1427 continue
1428 fi
1429 ac_cv_prog_CC="cc"
1430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1431 break 2
1432 fi
1433done
1434done
1435
1436if test $ac_prog_rejected = yes; then
1437 # We found a bogon in the path, so make sure we never use it.
1438 set dummy $ac_cv_prog_CC
1439 shift
1440 if test $@%:@ != 0; then
1441 # We chose a different compiler from the bogus one.
1442 # However, it has the same basename, so the bogon will be chosen
1443 # first if we set CC to just the basename; use the full file name.
1444 shift
1445 set dummy "$as_dir/$ac_word" ${1+"$@"}
1446 shift
1447 ac_cv_prog_CC="$@"
1448 fi
1449fi
1450fi
1451fi
1452CC=$ac_cv_prog_CC
1453if test -n "$CC"; then
1454 echo "$as_me:$LINENO: result: $CC" >&5
1455echo "${ECHO_T}$CC" >&6
1456else
1457 echo "$as_me:$LINENO: result: no" >&5
1458echo "${ECHO_T}no" >&6
1459fi
1460
1461fi
1462if test -z "$CC"; then
1463 if test -n "$ac_tool_prefix"; then
1464 for ac_prog in cl
1465 do
1466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1467set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1468echo "$as_me:$LINENO: checking for $ac_word" >&5
1469echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470if test "${ac_cv_prog_CC+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1472else
1473 if test -n "$CC"; then
1474 ac_cv_prog_CC="$CC" # Let the user override the test.
1475else
1476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1477for as_dir in $PATH
1478do
1479 IFS=$as_save_IFS
1480 test -z "$as_dir" && as_dir=.
1481 for ac_exec_ext in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485 break 2
1486 fi
1487done
1488done
1489
1490fi
1491fi
1492CC=$ac_cv_prog_CC
1493if test -n "$CC"; then
1494 echo "$as_me:$LINENO: result: $CC" >&5
1495echo "${ECHO_T}$CC" >&6
1496else
1497 echo "$as_me:$LINENO: result: no" >&5
1498echo "${ECHO_T}no" >&6
1499fi
1500
1501 test -n "$CC" && break
1502 done
1503fi
1504if test -z "$CC"; then
1505 ac_ct_CC=$CC
1506 for ac_prog in cl
1507do
1508 # Extract the first word of "$ac_prog", so it can be a program name with args.
1509set dummy $ac_prog; ac_word=$2
1510echo "$as_me:$LINENO: checking for $ac_word" >&5
1511echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1514else
1515 if test -n "$ac_ct_CC"; then
1516 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1517else
1518as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519for as_dir in $PATH
1520do
1521 IFS=$as_save_IFS
1522 test -z "$as_dir" && as_dir=.
1523 for ac_exec_ext in '' $ac_executable_extensions; do
1524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525 ac_cv_prog_ac_ct_CC="$ac_prog"
1526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1527 break 2
1528 fi
1529done
1530done
1531
1532fi
1533fi
1534ac_ct_CC=$ac_cv_prog_ac_ct_CC
1535if test -n "$ac_ct_CC"; then
1536 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1537echo "${ECHO_T}$ac_ct_CC" >&6
1538else
1539 echo "$as_me:$LINENO: result: no" >&5
1540echo "${ECHO_T}no" >&6
1541fi
1542
1543 test -n "$ac_ct_CC" && break
1544done
1545
1546 CC=$ac_ct_CC
1547fi
1548
1549fi
1550
1551
1552test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1553echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1554 { (exit 1); exit 1; }; }
1555
1556# Provide some information about the compiler.
1557echo "$as_me:$LINENO:" \
1558 "checking for C compiler version" >&5
1559ac_compiler=`set X $ac_compile; echo $2`
1560{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1561 (eval $ac_compiler --version </dev/null >&5) 2>&5
1562 ac_status=$?
1563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1564 (exit $ac_status); }
1565{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1566 (eval $ac_compiler -v </dev/null >&5) 2>&5
1567 ac_status=$?
1568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1569 (exit $ac_status); }
1570{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1571 (eval $ac_compiler -V </dev/null >&5) 2>&5
1572 ac_status=$?
1573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1574 (exit $ac_status); }
1575
1576cat >conftest.$ac_ext <<_ACEOF
1577#line $LINENO "configure"
1578#include "confdefs.h"
1579
1580#ifdef F77_DUMMY_MAIN
1581# ifdef __cplusplus
1582 extern "C"
1583# endif
1584 int F77_DUMMY_MAIN() { return 1; }
1585#endif
1586int
1587main ()
1588{
1589
1590 ;
1591 return 0;
1592}
1593_ACEOF
1594ac_clean_files_save=$ac_clean_files
1595ac_clean_files="$ac_clean_files a.out a.exe"
1596# Try to create an executable without -o first, disregard a.out.
1597# It will help us diagnose broken compilers, and finding out an intuition
1598# of exeext.
1599echo "$as_me:$LINENO: checking for C compiler default output" >&5
1600echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1601ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1602if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1603 (eval $ac_link_default) 2>&5
1604 ac_status=$?
1605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1606 (exit $ac_status); }; then
1607 # Find the output, starting from the most likely. This scheme is
1608# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1609# resort.
1610
1611# Be careful to initialize this variable, since it used to be cached.
1612# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1613ac_cv_exeext=
1614for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1615 ls a.out conftest 2>/dev/null;
1616 ls a.* conftest.* 2>/dev/null`; do
1617 case $ac_file in
1618 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1619 a.out ) # We found the default executable, but exeext='' is most
1620 # certainly right.
1621 break;;
1622 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1623 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1624 export ac_cv_exeext
1625 break;;
1626 * ) break;;
1627 esac
1628done
1629else
1630 echo "$as_me: failed program was:" >&5
1631cat conftest.$ac_ext >&5
1632{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1633echo "$as_me: error: C compiler cannot create executables" >&2;}
1634 { (exit 77); exit 77; }; }
1635fi
1636
1637ac_exeext=$ac_cv_exeext
1638echo "$as_me:$LINENO: result: $ac_file" >&5
1639echo "${ECHO_T}$ac_file" >&6
1640
1641# Check the compiler produces executables we can run. If not, either
1642# the compiler is broken, or we cross compile.
1643echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1644echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1645# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1646# If not cross compiling, check that we can run a simple program.
1647if test "$cross_compiling" != yes; then
1648 if { ac_try='./$ac_file'
1649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1650 (eval $ac_try) 2>&5
1651 ac_status=$?
1652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1653 (exit $ac_status); }; }; then
1654 cross_compiling=no
1655 else
1656 if test "$cross_compiling" = maybe; then
1657 cross_compiling=yes
1658 else
1659 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1660If you meant to cross compile, use \`--host'." >&5
1661echo "$as_me: error: cannot run C compiled programs.
1662If you meant to cross compile, use \`--host'." >&2;}
1663 { (exit 1); exit 1; }; }
1664 fi
1665 fi
1666fi
1667echo "$as_me:$LINENO: result: yes" >&5
1668echo "${ECHO_T}yes" >&6
1669
1670rm -f a.out a.exe conftest$ac_cv_exeext
1671ac_clean_files=$ac_clean_files_save
1672# Check the compiler produces executables we can run. If not, either
1673# the compiler is broken, or we cross compile.
1674echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1675echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1676echo "$as_me:$LINENO: result: $cross_compiling" >&5
1677echo "${ECHO_T}$cross_compiling" >&6
1678
1679echo "$as_me:$LINENO: checking for suffix of executables" >&5
1680echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1681if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1682 (eval $ac_link) 2>&5
1683 ac_status=$?
1684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1685 (exit $ac_status); }; then
1686 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1687# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1688# work properly (i.e., refer to `conftest.exe'), while it won't with
1689# `rm'.
1690for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1691 case $ac_file in
1692 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1693 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1694 export ac_cv_exeext
1695 break;;
1696 * ) break;;
1697 esac
1698done
1699else
1700 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1701echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1702 { (exit 1); exit 1; }; }
1703fi
1704
1705rm -f conftest$ac_cv_exeext
1706echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1707echo "${ECHO_T}$ac_cv_exeext" >&6
1708
1709rm -f conftest.$ac_ext
1710EXEEXT=$ac_cv_exeext
1711ac_exeext=$EXEEXT
1712echo "$as_me:$LINENO: checking for suffix of object files" >&5
1713echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1714if test "${ac_cv_objext+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1716else
1717 cat >conftest.$ac_ext <<_ACEOF
1718#line $LINENO "configure"
1719#include "confdefs.h"
1720
1721#ifdef F77_DUMMY_MAIN
1722# ifdef __cplusplus
1723 extern "C"
1724# endif
1725 int F77_DUMMY_MAIN() { return 1; }
1726#endif
1727int
1728main ()
1729{
1730
1731 ;
1732 return 0;
1733}
1734_ACEOF
1735rm -f conftest.o conftest.obj
1736if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1737 (eval $ac_compile) 2>&5
1738 ac_status=$?
1739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1740 (exit $ac_status); }; then
1741 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1742 case $ac_file in
1743 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1744 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1745 break;;
1746 esac
1747done
1748else
1749 echo "$as_me: failed program was:" >&5
1750cat conftest.$ac_ext >&5
1751{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1752echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1753 { (exit 1); exit 1; }; }
1754fi
1755
1756rm -f conftest.$ac_cv_objext conftest.$ac_ext
1757fi
1758echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1759echo "${ECHO_T}$ac_cv_objext" >&6
1760OBJEXT=$ac_cv_objext
1761ac_objext=$OBJEXT
1762echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1763echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1764if test "${ac_cv_c_compiler_gnu+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1766else
1767 cat >conftest.$ac_ext <<_ACEOF
1768#line $LINENO "configure"
1769#include "confdefs.h"
1770
1771#ifdef F77_DUMMY_MAIN
1772# ifdef __cplusplus
1773 extern "C"
1774# endif
1775 int F77_DUMMY_MAIN() { return 1; }
1776#endif
1777int
1778main ()
1779{
1780#ifndef __GNUC__
1781 choke me
1782#endif
1783
1784 ;
1785 return 0;
1786}
1787_ACEOF
1788rm -f conftest.$ac_objext
1789if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1790 (eval $ac_compile) 2>&5
1791 ac_status=$?
1792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); } &&
1794 { ac_try='test -s conftest.$ac_objext'
1795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1796 (eval $ac_try) 2>&5
1797 ac_status=$?
1798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1799 (exit $ac_status); }; }; then
1800 ac_compiler_gnu=yes
1801else
1802 echo "$as_me: failed program was:" >&5
1803cat conftest.$ac_ext >&5
1804ac_compiler_gnu=no
1805fi
1806rm -f conftest.$ac_objext conftest.$ac_ext
1807ac_cv_c_compiler_gnu=$ac_compiler_gnu
1808
1809fi
1810echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1811echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1812GCC=`test $ac_compiler_gnu = yes && echo yes`
1813ac_test_CFLAGS=${CFLAGS+set}
1814ac_save_CFLAGS=$CFLAGS
1815CFLAGS="-g"
1816echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1817echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1818if test "${ac_cv_prog_cc_g+set}" = set; then
1819 echo $ECHO_N "(cached) $ECHO_C" >&6
1820else
1821 cat >conftest.$ac_ext <<_ACEOF
1822#line $LINENO "configure"
1823#include "confdefs.h"
1824
1825#ifdef F77_DUMMY_MAIN
1826# ifdef __cplusplus
1827 extern "C"
1828# endif
1829 int F77_DUMMY_MAIN() { return 1; }
1830#endif
1831int
1832main ()
1833{
1834
1835 ;
1836 return 0;
1837}
1838_ACEOF
1839rm -f conftest.$ac_objext
1840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1841 (eval $ac_compile) 2>&5
1842 ac_status=$?
1843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); } &&
1845 { ac_try='test -s conftest.$ac_objext'
1846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1847 (eval $ac_try) 2>&5
1848 ac_status=$?
1849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1850 (exit $ac_status); }; }; then
1851 ac_cv_prog_cc_g=yes
1852else
1853 echo "$as_me: failed program was:" >&5
1854cat conftest.$ac_ext >&5
1855ac_cv_prog_cc_g=no
1856fi
1857rm -f conftest.$ac_objext conftest.$ac_ext
1858fi
1859echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1860echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1861if test "$ac_test_CFLAGS" = set; then
1862 CFLAGS=$ac_save_CFLAGS
1863elif test $ac_cv_prog_cc_g = yes; then
1864 if test "$GCC" = yes; then
1865 CFLAGS="-g -O2"
1866 else
1867 CFLAGS="-g"
1868 fi
1869else
1870 if test "$GCC" = yes; then
1871 CFLAGS="-O2"
1872 else
1873 CFLAGS=
1874 fi
1875fi
1876# Some people use a C++ compiler to compile C. Since we use `exit',
1877# in C++ we need to declare it. In case someone uses the same compiler
1878# for both compiling C and C++ we need to have the C++ compiler decide
1879# the declaration of exit, since it's the most demanding environment.
1880cat >conftest.$ac_ext <<_ACEOF
1881@%:@ifndef __cplusplus
1882 choke me
1883@%:@endif
1884_ACEOF
1885rm -f conftest.$ac_objext
1886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1887 (eval $ac_compile) 2>&5
1888 ac_status=$?
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); } &&
1891 { ac_try='test -s conftest.$ac_objext'
1892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1893 (eval $ac_try) 2>&5
1894 ac_status=$?
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); }; }; then
1897 for ac_declaration in \
1898 ''\
1899 '#include <stdlib.h>' \
1900 'extern "C" void std::exit (int) throw (); using std::exit;' \
1901 'extern "C" void std::exit (int); using std::exit;' \
1902 'extern "C" void exit (int) throw ();' \
1903 'extern "C" void exit (int);' \
1904 'void exit (int);'
1905do
1906 cat >conftest.$ac_ext <<_ACEOF
1907#line $LINENO "configure"
1908#include "confdefs.h"
1909@%:@include <stdlib.h>
1910$ac_declaration
1911#ifdef F77_DUMMY_MAIN
1912# ifdef __cplusplus
1913 extern "C"
1914# endif
1915 int F77_DUMMY_MAIN() { return 1; }
1916#endif
1917int
1918main ()
1919{
1920exit (42);
1921 ;
1922 return 0;
1923}
1924_ACEOF
1925rm -f conftest.$ac_objext
1926if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1927 (eval $ac_compile) 2>&5
1928 ac_status=$?
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); } &&
1931 { ac_try='test -s conftest.$ac_objext'
1932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933 (eval $ac_try) 2>&5
1934 ac_status=$?
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; }; then
1937 :
1938else
1939 echo "$as_me: failed program was:" >&5
1940cat conftest.$ac_ext >&5
1941continue
1942fi
1943rm -f conftest.$ac_objext conftest.$ac_ext
1944 cat >conftest.$ac_ext <<_ACEOF
1945#line $LINENO "configure"
1946#include "confdefs.h"
1947$ac_declaration
1948#ifdef F77_DUMMY_MAIN
1949# ifdef __cplusplus
1950 extern "C"
1951# endif
1952 int F77_DUMMY_MAIN() { return 1; }
1953#endif
1954int
1955main ()
1956{
1957exit (42);
1958 ;
1959 return 0;
1960}
1961_ACEOF
1962rm -f conftest.$ac_objext
1963if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1964 (eval $ac_compile) 2>&5
1965 ac_status=$?
1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1967 (exit $ac_status); } &&
1968 { ac_try='test -s conftest.$ac_objext'
1969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1970 (eval $ac_try) 2>&5
1971 ac_status=$?
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }; }; then
1974 break
1975else
1976 echo "$as_me: failed program was:" >&5
1977cat conftest.$ac_ext >&5
1978fi
1979rm -f conftest.$ac_objext conftest.$ac_ext
1980done
1981rm -f conftest*
1982if test -n "$ac_declaration"; then
1983 echo '#ifdef __cplusplus' >>confdefs.h
1984 echo $ac_declaration >>confdefs.h
1985 echo '#endif' >>confdefs.h
1986fi
1987
1988else
1989 echo "$as_me: failed program was:" >&5
1990cat conftest.$ac_ext >&5
1991fi
1992rm -f conftest.$ac_objext conftest.$ac_ext
1993ac_ext=c
1994ac_cpp='$CPP $CPPFLAGS'
1995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1997ac_compiler_gnu=$ac_cv_c_compiler_gnu
1998
1999ac_aux_dir=
2000for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2001 if test -f $ac_dir/install-sh; then
2002 ac_aux_dir=$ac_dir
2003 ac_install_sh="$ac_aux_dir/install-sh -c"
2004 break
2005 elif test -f $ac_dir/install.sh; then
2006 ac_aux_dir=$ac_dir
2007 ac_install_sh="$ac_aux_dir/install.sh -c"
2008 break
2009 elif test -f $ac_dir/shtool; then
2010 ac_aux_dir=$ac_dir
2011 ac_install_sh="$ac_aux_dir/shtool install -c"
2012 break
2013 fi
2014done
2015if test -z "$ac_aux_dir"; then
2016 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2017echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2018 { (exit 1); exit 1; }; }
2019fi
2020ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2021ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2022ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2023
2024# Make sure we can run config.sub.
2025$ac_config_sub sun4 >/dev/null 2>&1 ||
2026 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2027echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2028 { (exit 1); exit 1; }; }
2029
2030echo "$as_me:$LINENO: checking build system type" >&5
2031echo $ECHO_N "checking build system type... $ECHO_C" >&6
2032if test "${ac_cv_build+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034else
2035 ac_cv_build_alias=$build_alias
2036test -z "$ac_cv_build_alias" &&
2037 ac_cv_build_alias=`$ac_config_guess`
2038test -z "$ac_cv_build_alias" &&
2039 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2040echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2041 { (exit 1); exit 1; }; }
2042ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2043 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2044echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2045 { (exit 1); exit 1; }; }
2046
2047fi
2048echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2049echo "${ECHO_T}$ac_cv_build" >&6
2050build=$ac_cv_build
2051build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2052build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2053build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2054
2055
2056echo "$as_me:$LINENO: checking host system type" >&5
2057echo $ECHO_N "checking host system type... $ECHO_C" >&6
2058if test "${ac_cv_host+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2060else
2061 ac_cv_host_alias=$host_alias
2062test -z "$ac_cv_host_alias" &&
2063 ac_cv_host_alias=$ac_cv_build_alias
2064ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2065 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2066echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2067 { (exit 1); exit 1; }; }
2068
2069fi
2070echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2071echo "${ECHO_T}$ac_cv_host" >&6
2072host=$ac_cv_host
2073host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2074host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2075host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2076
2077
2078
2079echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2080echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2081if test "${ac_cv_c_bigendian+set}" = set; then
2082 echo $ECHO_N "(cached) $ECHO_C" >&6
2083else
2084 # See if sys/param.h defines the BYTE_ORDER macro.
2085cat >conftest.$ac_ext <<_ACEOF
2086#line $LINENO "configure"
2087#include "confdefs.h"
2088#include <sys/types.h>
2089#include <sys/param.h>
2090
2091#ifdef F77_DUMMY_MAIN
2092# ifdef __cplusplus
2093 extern "C"
2094# endif
2095 int F77_DUMMY_MAIN() { return 1; }
2096#endif
2097int
2098main ()
2099{
2100#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2101 bogus endian macros
2102#endif
2103
2104 ;
2105 return 0;
2106}
2107_ACEOF
2108rm -f conftest.$ac_objext
2109if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2110 (eval $ac_compile) 2>&5
2111 ac_status=$?
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); } &&
2114 { ac_try='test -s conftest.$ac_objext'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2116 (eval $ac_try) 2>&5
2117 ac_status=$?
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; }; then
2120 # It does; now see whether it defined to BIG_ENDIAN or not.
2121cat >conftest.$ac_ext <<_ACEOF
2122#line $LINENO "configure"
2123#include "confdefs.h"
2124#include <sys/types.h>
2125#include <sys/param.h>
2126
2127#ifdef F77_DUMMY_MAIN
2128# ifdef __cplusplus
2129 extern "C"
2130# endif
2131 int F77_DUMMY_MAIN() { return 1; }
2132#endif
2133int
2134main ()
2135{
2136#if BYTE_ORDER != BIG_ENDIAN
2137 not big endian
2138#endif
2139
2140 ;
2141 return 0;
2142}
2143_ACEOF
2144rm -f conftest.$ac_objext
2145if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146 (eval $ac_compile) 2>&5
2147 ac_status=$?
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try='test -s conftest.$ac_objext'
2151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2152 (eval $ac_try) 2>&5
2153 ac_status=$?
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; }; then
2156 ac_cv_c_bigendian=yes
2157else
2158 echo "$as_me: failed program was:" >&5
2159cat conftest.$ac_ext >&5
2160ac_cv_c_bigendian=no
2161fi
2162rm -f conftest.$ac_objext conftest.$ac_ext
2163else
2164 echo "$as_me: failed program was:" >&5
2165cat conftest.$ac_ext >&5
2166# It does not; compile a test program.
2167if test "$cross_compiling" = yes; then
2168 # try to guess the endianess by grep'ing values into an object file
2169 ac_cv_c_bigendian=unknown
2170 cat >conftest.$ac_ext <<_ACEOF
2171#line $LINENO "configure"
2172#include "confdefs.h"
2173short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2174short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2175void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2176short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2177short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2178void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2179#ifdef F77_DUMMY_MAIN
2180# ifdef __cplusplus
2181 extern "C"
2182# endif
2183 int F77_DUMMY_MAIN() { return 1; }
2184#endif
2185int
2186main ()
2187{
2188 _ascii (); _ebcdic ();
2189 ;
2190 return 0;
2191}
2192_ACEOF
2193rm -f conftest.$ac_objext
2194if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>&5
2196 ac_status=$?
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); } &&
2199 { ac_try='test -s conftest.$ac_objext'
2200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201 (eval $ac_try) 2>&5
2202 ac_status=$?
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); }; }; then
2205 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2206 ac_cv_c_bigendian=yes
2207fi
2208if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2209 if test "$ac_cv_c_bigendian" = unknown; then
2210 ac_cv_c_bigendian=no
2211 else
2212 # finding both strings is unlikely to happen, but who knows?
2213 ac_cv_c_bigendian=unknown
2214 fi
2215fi
2216else
2217 echo "$as_me: failed program was:" >&5
2218cat conftest.$ac_ext >&5
2219fi
2220rm -f conftest.$ac_objext conftest.$ac_ext
2221else
2222 cat >conftest.$ac_ext <<_ACEOF
2223#line $LINENO "configure"
2224#include "confdefs.h"
2225int
2226main ()
2227{
2228 /* Are we little or big endian? From Harbison&Steele. */
2229 union
2230 {
2231 long l;
2232 char c[sizeof (long)];
2233 } u;
2234 u.l = 1;
2235 exit (u.c[sizeof (long) - 1] == 1);
2236}
2237_ACEOF
2238rm -f conftest$ac_exeext
2239if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2240 (eval $ac_link) 2>&5
2241 ac_status=$?
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 (eval $ac_try) 2>&5
2246 ac_status=$?
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); }; }; then
2249 ac_cv_c_bigendian=no
2250else
2251 echo "$as_me: program exited with status $ac_status" >&5
2252echo "$as_me: failed program was:" >&5
2253cat conftest.$ac_ext >&5
2254( exit $ac_status )
2255ac_cv_c_bigendian=yes
2256fi
2257rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2258fi
2259fi
2260rm -f conftest.$ac_objext conftest.$ac_ext
2261fi
2262echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2263echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2264case $ac_cv_c_bigendian in
2265 yes)
2266
2267cat >>confdefs.h <<\_ACEOF
2268@%:@define WORDS_BIGENDIAN 1
2269_ACEOF
2270 ;;
2271 no)
2272 ;;
2273 *)
2274 { { echo "$as_me:$LINENO: error: unknown endianess
2275presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2276echo "$as_me: error: unknown endianess
2277presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2278 { (exit 1); exit 1; }; } ;;
2279esac
2280
2281
2282# Checks for programs.
2283ac_ext=c
2284ac_cpp='$CPP $CPPFLAGS'
2285ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2286ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2287ac_compiler_gnu=$ac_cv_c_compiler_gnu
2288echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2289echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2290# On Suns, sometimes $CPP names a directory.
2291if test -n "$CPP" && test -d "$CPP"; then
2292 CPP=
2293fi
2294if test -z "$CPP"; then
2295 if test "${ac_cv_prog_CPP+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2297else
2298 # Double quotes because CPP needs to be expanded
2299 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2300 do
2301 ac_preproc_ok=false
2302for ac_c_preproc_warn_flag in '' yes
2303do
2304 # Use a header file that comes with gcc, so configuring glibc
2305 # with a fresh cross-compiler works.
2306 # On the NeXT, cc -E runs the code through the compiler's parser,
2307 # not just through cpp. "Syntax error" is here to catch this case.
2308 cat >conftest.$ac_ext <<_ACEOF
2309#line $LINENO "configure"
2310#include "confdefs.h"
2311@%:@include <assert.h>
2312 Syntax error
2313_ACEOF
2314if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2316 ac_status=$?
2317 egrep -v '^ *\+' conftest.er1 >conftest.err
2318 rm -f conftest.er1
2319 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } >/dev/null; then
2322 if test -s conftest.err; then
2323 ac_cpp_err=$ac_c_preproc_warn_flag
2324 else
2325 ac_cpp_err=
2326 fi
2327else
2328 ac_cpp_err=yes
2329fi
2330if test -z "$ac_cpp_err"; then
2331 :
2332else
2333 echo "$as_me: failed program was:" >&5
2334 cat conftest.$ac_ext >&5
2335 # Broken: fails on valid input.
2336continue
2337fi
2338rm -f conftest.err conftest.$ac_ext
2339
2340 # OK, works on sane cases. Now check whether non-existent headers
2341 # can be detected and how.
2342 cat >conftest.$ac_ext <<_ACEOF
2343#line $LINENO "configure"
2344#include "confdefs.h"
2345@%:@include <ac_nonexistent.h>
2346_ACEOF
2347if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2348 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2349 ac_status=$?
2350 egrep -v '^ *\+' conftest.er1 >conftest.err
2351 rm -f conftest.er1
2352 cat conftest.err >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); } >/dev/null; then
2355 if test -s conftest.err; then
2356 ac_cpp_err=$ac_c_preproc_warn_flag
2357 else
2358 ac_cpp_err=
2359 fi
2360else
2361 ac_cpp_err=yes
2362fi
2363if test -z "$ac_cpp_err"; then
2364 # Broken: success on invalid input.
2365continue
2366else
2367 echo "$as_me: failed program was:" >&5
2368 cat conftest.$ac_ext >&5
2369 # Passes both tests.
2370ac_preproc_ok=:
2371break
2372fi
2373rm -f conftest.err conftest.$ac_ext
2374
2375done
2376# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2377rm -f conftest.err conftest.$ac_ext
2378if $ac_preproc_ok; then
2379 break
2380fi
2381
2382 done
2383 ac_cv_prog_CPP=$CPP
2384
2385fi
2386 CPP=$ac_cv_prog_CPP
2387else
2388 ac_cv_prog_CPP=$CPP
2389fi
2390echo "$as_me:$LINENO: result: $CPP" >&5
2391echo "${ECHO_T}$CPP" >&6
2392ac_preproc_ok=false
2393for ac_c_preproc_warn_flag in '' yes
2394do
2395 # Use a header file that comes with gcc, so configuring glibc
2396 # with a fresh cross-compiler works.
2397 # On the NeXT, cc -E runs the code through the compiler's parser,
2398 # not just through cpp. "Syntax error" is here to catch this case.
2399 cat >conftest.$ac_ext <<_ACEOF
2400#line $LINENO "configure"
2401#include "confdefs.h"
2402@%:@include <assert.h>
2403 Syntax error
2404_ACEOF
2405if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2406 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2407 ac_status=$?
2408 egrep -v '^ *\+' conftest.er1 >conftest.err
2409 rm -f conftest.er1
2410 cat conftest.err >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); } >/dev/null; then
2413 if test -s conftest.err; then
2414 ac_cpp_err=$ac_c_preproc_warn_flag
2415 else
2416 ac_cpp_err=
2417 fi
2418else
2419 ac_cpp_err=yes
2420fi
2421if test -z "$ac_cpp_err"; then
2422 :
2423else
2424 echo "$as_me: failed program was:" >&5
2425 cat conftest.$ac_ext >&5
2426 # Broken: fails on valid input.
2427continue
2428fi
2429rm -f conftest.err conftest.$ac_ext
2430
2431 # OK, works on sane cases. Now check whether non-existent headers
2432 # can be detected and how.
2433 cat >conftest.$ac_ext <<_ACEOF
2434#line $LINENO "configure"
2435#include "confdefs.h"
2436@%:@include <ac_nonexistent.h>
2437_ACEOF
2438if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2440 ac_status=$?
2441 egrep -v '^ *\+' conftest.er1 >conftest.err
2442 rm -f conftest.er1
2443 cat conftest.err >&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); } >/dev/null; then
2446 if test -s conftest.err; then
2447 ac_cpp_err=$ac_c_preproc_warn_flag
2448 else
2449 ac_cpp_err=
2450 fi
2451else
2452 ac_cpp_err=yes
2453fi
2454if test -z "$ac_cpp_err"; then
2455 # Broken: success on invalid input.
2456continue
2457else
2458 echo "$as_me: failed program was:" >&5
2459 cat conftest.$ac_ext >&5
2460 # Passes both tests.
2461ac_preproc_ok=:
2462break
2463fi
2464rm -f conftest.err conftest.$ac_ext
2465
2466done
2467# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2468rm -f conftest.err conftest.$ac_ext
2469if $ac_preproc_ok; then
2470 :
2471else
2472 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2473echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2474 { (exit 1); exit 1; }; }
2475fi
2476
2477ac_ext=c
2478ac_cpp='$CPP $CPPFLAGS'
2479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2481ac_compiler_gnu=$ac_cv_c_compiler_gnu
2482
2483if test -n "$ac_tool_prefix"; then
2484 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2485set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2486echo "$as_me:$LINENO: checking for $ac_word" >&5
2487echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488if test "${ac_cv_prog_RANLIB+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2490else
2491 if test -n "$RANLIB"; then
2492 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2493else
2494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495for as_dir in $PATH
2496do
2497 IFS=$as_save_IFS
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 break 2
2504 fi
2505done
2506done
2507
2508fi
2509fi
2510RANLIB=$ac_cv_prog_RANLIB
2511if test -n "$RANLIB"; then
2512 echo "$as_me:$LINENO: result: $RANLIB" >&5
2513echo "${ECHO_T}$RANLIB" >&6
2514else
2515 echo "$as_me:$LINENO: result: no" >&5
2516echo "${ECHO_T}no" >&6
2517fi
2518
2519fi
2520if test -z "$ac_cv_prog_RANLIB"; then
2521 ac_ct_RANLIB=$RANLIB
2522 # Extract the first word of "ranlib", so it can be a program name with args.
2523set dummy ranlib; ac_word=$2
2524echo "$as_me:$LINENO: checking for $ac_word" >&5
2525echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2528else
2529 if test -n "$ac_ct_RANLIB"; then
2530 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2531else
2532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533for as_dir in $PATH
2534do
2535 IFS=$as_save_IFS
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_ac_ct_RANLIB="ranlib"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2542 fi
2543done
2544done
2545
2546 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2547fi
2548fi
2549ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2550if test -n "$ac_ct_RANLIB"; then
2551 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2552echo "${ECHO_T}$ac_ct_RANLIB" >&6
2553else
2554 echo "$as_me:$LINENO: result: no" >&5
2555echo "${ECHO_T}no" >&6
2556fi
2557
2558 RANLIB=$ac_ct_RANLIB
2559else
2560 RANLIB="$ac_cv_prog_RANLIB"
2561fi
2562
2563# Find a good install program. We prefer a C program (faster),
2564# so one script is as good as another. But avoid the broken or
2565# incompatible versions:
2566# SysV /etc/install, /usr/sbin/install
2567# SunOS /usr/etc/install
2568# IRIX /sbin/install
2569# AIX /bin/install
2570# AmigaOS /C/install, which installs bootblocks on floppy discs
2571# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2572# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2573# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2574# ./install, which can be erroneously created by make from ./install.sh.
2575echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2576echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2577if test -z "$INSTALL"; then
2578if test "${ac_cv_path_install+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2580else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582for as_dir in $PATH
2583do
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 # Account for people who put trailing slashes in PATH elements.
2587case $as_dir/ in
2588 ./ | .// | /cC/* | \
2589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2590 /usr/ucb/* ) ;;
2591 *)
2592 # OSF1 and SCO ODT 3.0 have their own names for install.
2593 # Don't use installbsd from OSF since it installs stuff as root
2594 # by default.
2595 for ac_prog in ginstall scoinst install; do
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2598 if test $ac_prog = install &&
2599 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2600 # AIX install. It has an incompatible calling convention.
2601 :
2602 elif test $ac_prog = install &&
2603 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2604 # program-specific install script used by HP pwplus--don't use.
2605 :
2606 else
2607 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2608 break 3
2609 fi
2610 fi
2611 done
2612 done
2613 ;;
2614esac
2615done
2616
2617
2618fi
2619 if test "${ac_cv_path_install+set}" = set; then
2620 INSTALL=$ac_cv_path_install
2621 else
2622 # As a last resort, use the slow shell script. We don't cache a
2623 # path for INSTALL within a source directory, because that will
2624 # break other packages using the cache if that directory is
2625 # removed, or if the path is relative.
2626 INSTALL=$ac_install_sh
2627 fi
2628fi
2629echo "$as_me:$LINENO: result: $INSTALL" >&5
2630echo "${ECHO_T}$INSTALL" >&6
2631
2632# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2633# It thinks the first close brace ends the variable substitution.
2634test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2635
2636test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2637
2638test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2639
2640# Extract the first word of "ar", so it can be a program name with args.
2641set dummy ar; ac_word=$2
2642echo "$as_me:$LINENO: checking for $ac_word" >&5
2643echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2644if test "${ac_cv_path_AR+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2646else
2647 case $AR in
2648 [\\/]* | ?:[\\/]*)
2649 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2650 ;;
2651 *)
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653for as_dir in $PATH
2654do
2655 IFS=$as_save_IFS
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2659 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
2660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 break 2
2662 fi
2663done
2664done
2665
2666 ;;
2667esac
2668fi
2669AR=$ac_cv_path_AR
2670
2671if test -n "$AR"; then
2672 echo "$as_me:$LINENO: result: $AR" >&5
2673echo "${ECHO_T}$AR" >&6
2674else
2675 echo "$as_me:$LINENO: result: no" >&5
2676echo "${ECHO_T}no" >&6
2677fi
2678
2679for ac_prog in perl5 perl
2680do
2681 # Extract the first word of "$ac_prog", so it can be a program name with args.
2682set dummy $ac_prog; ac_word=$2
2683echo "$as_me:$LINENO: checking for $ac_word" >&5
2684echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2685if test "${ac_cv_path_PERL+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2687else
2688 case $PERL in
2689 [\\/]* | ?:[\\/]*)
2690 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2691 ;;
2692 *)
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694for as_dir in $PATH
2695do
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 break 2
2703 fi
2704done
2705done
2706
2707 ;;
2708esac
2709fi
2710PERL=$ac_cv_path_PERL
2711
2712if test -n "$PERL"; then
2713 echo "$as_me:$LINENO: result: $PERL" >&5
2714echo "${ECHO_T}$PERL" >&6
2715else
2716 echo "$as_me:$LINENO: result: no" >&5
2717echo "${ECHO_T}no" >&6
2718fi
2719
2720 test -n "$PERL" && break
2721done
2722
2723# Extract the first word of "sed", so it can be a program name with args.
2724set dummy sed; ac_word=$2
2725echo "$as_me:$LINENO: checking for $ac_word" >&5
2726echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2727if test "${ac_cv_path_SED+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2729else
2730 case $SED in
2731 [\\/]* | ?:[\\/]*)
2732 ac_cv_path_SED="$SED" # Let the user override the test with a path.
2733 ;;
2734 *)
2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736for as_dir in $PATH
2737do
2738 IFS=$as_save_IFS
2739 test -z "$as_dir" && as_dir=.
2740 for ac_exec_ext in '' $ac_executable_extensions; do
2741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2742 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
2743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 break 2
2745 fi
2746done
2747done
2748
2749 ;;
2750esac
2751fi
2752SED=$ac_cv_path_SED
2753
2754if test -n "$SED"; then
2755 echo "$as_me:$LINENO: result: $SED" >&5
2756echo "${ECHO_T}$SED" >&6
2757else
2758 echo "$as_me:$LINENO: result: no" >&5
2759echo "${ECHO_T}no" >&6
2760fi
2761
2762
2763# Extract the first word of "ent", so it can be a program name with args.
2764set dummy ent; ac_word=$2
2765echo "$as_me:$LINENO: checking for $ac_word" >&5
2766echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2767if test "${ac_cv_path_ENT+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2769else
2770 case $ENT in
2771 [\\/]* | ?:[\\/]*)
2772 ac_cv_path_ENT="$ENT" # Let the user override the test with a path.
2773 ;;
2774 *)
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776for as_dir in $PATH
2777do
2778 IFS=$as_save_IFS
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2782 ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext"
2783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 break 2
2785 fi
2786done
2787done
2788
2789 ;;
2790esac
2791fi
2792ENT=$ac_cv_path_ENT
2793
2794if test -n "$ENT"; then
2795 echo "$as_me:$LINENO: result: $ENT" >&5
2796echo "${ECHO_T}$ENT" >&6
2797else
2798 echo "$as_me:$LINENO: result: no" >&5
2799echo "${ECHO_T}no" >&6
2800fi
2801
2802
2803# Extract the first word of "bash", so it can be a program name with args.
2804set dummy bash; ac_word=$2
2805echo "$as_me:$LINENO: checking for $ac_word" >&5
2806echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2807if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2809else
2810 case $TEST_MINUS_S_SH in
2811 [\\/]* | ?:[\\/]*)
2812 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2813 ;;
2814 *)
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816for as_dir in $PATH
2817do
2818 IFS=$as_save_IFS
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 break 2
2825 fi
2826done
2827done
2828
2829 ;;
2830esac
2831fi
2832TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2833
2834if test -n "$TEST_MINUS_S_SH"; then
2835 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2836echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2837else
2838 echo "$as_me:$LINENO: result: no" >&5
2839echo "${ECHO_T}no" >&6
2840fi
2841
2842# Extract the first word of "ksh", so it can be a program name with args.
2843set dummy ksh; ac_word=$2
2844echo "$as_me:$LINENO: checking for $ac_word" >&5
2845echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2848else
2849 case $TEST_MINUS_S_SH in
2850 [\\/]* | ?:[\\/]*)
2851 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2852 ;;
2853 *)
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855for as_dir in $PATH
2856do
2857 IFS=$as_save_IFS
2858 test -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2861 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 break 2
2864 fi
2865done
2866done
2867
2868 ;;
2869esac
2870fi
2871TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2872
2873if test -n "$TEST_MINUS_S_SH"; then
2874 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2875echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2876else
2877 echo "$as_me:$LINENO: result: no" >&5
2878echo "${ECHO_T}no" >&6
2879fi
2880
2881# Extract the first word of "sh", so it can be a program name with args.
2882set dummy sh; ac_word=$2
2883echo "$as_me:$LINENO: checking for $ac_word" >&5
2884echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2885if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2887else
2888 case $TEST_MINUS_S_SH in
2889 [\\/]* | ?:[\\/]*)
2890 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2891 ;;
2892 *)
2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894for as_dir in $PATH
2895do
2896 IFS=$as_save_IFS
2897 test -z "$as_dir" && as_dir=.
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 break 2
2903 fi
2904done
2905done
2906
2907 ;;
2908esac
2909fi
2910TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2911
2912if test -n "$TEST_MINUS_S_SH"; then
2913 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2914echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2915else
2916 echo "$as_me:$LINENO: result: no" >&5
2917echo "${ECHO_T}no" >&6
2918fi
2919
2920# Extract the first word of "sh", so it can be a program name with args.
2921set dummy sh; ac_word=$2
2922echo "$as_me:$LINENO: checking for $ac_word" >&5
2923echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2924if test "${ac_cv_path_SH+set}" = set; then
2925 echo $ECHO_N "(cached) $ECHO_C" >&6
2926else
2927 case $SH in
2928 [\\/]* | ?:[\\/]*)
2929 ac_cv_path_SH="$SH" # Let the user override the test with a path.
2930 ;;
2931 *)
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933for as_dir in $PATH
2934do
2935 IFS=$as_save_IFS
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
2940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 break 2
2942 fi
2943done
2944done
2945
2946 ;;
2947esac
2948fi
2949SH=$ac_cv_path_SH
2950
2951if test -n "$SH"; then
2952 echo "$as_me:$LINENO: result: $SH" >&5
2953echo "${ECHO_T}$SH" >&6
2954else
2955 echo "$as_me:$LINENO: result: no" >&5
2956echo "${ECHO_T}no" >&6
2957fi
2958
2959
2960# System features
2961# Check whether --enable-largefile or --disable-largefile was given.
2962if test "${enable_largefile+set}" = set; then
2963 enableval="$enable_largefile"
2964
2965fi;
2966if test "$enable_largefile" != no; then
2967
2968 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2969echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
2970if test "${ac_cv_sys_largefile_CC+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2972else
2973 ac_cv_sys_largefile_CC=no
2974 if test "$GCC" != yes; then
2975 ac_save_CC=$CC
2976 while :; do
2977 # IRIX 6.2 and later do not support large files by default,
2978 # so use the C compiler's -n32 option if that helps.
2979 cat >conftest.$ac_ext <<_ACEOF
2980#line $LINENO "configure"
2981#include "confdefs.h"
2982@%:@include <sys/types.h>
2983 /* Check that off_t can represent 2**63 - 1 correctly.
2984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2985 since some C++ compilers masquerading as C compilers
2986 incorrectly reject 9223372036854775807. */
2987@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2989 && LARGE_OFF_T % 2147483647 == 1)
2990 ? 1 : -1];
2991#ifdef F77_DUMMY_MAIN
2992# ifdef __cplusplus
2993 extern "C"
2994# endif
2995 int F77_DUMMY_MAIN() { return 1; }
2996#endif
2997int
2998main ()
2999{
3000
3001 ;
3002 return 0;
3003}
3004_ACEOF
3005 rm -f conftest.$ac_objext
3006if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3007 (eval $ac_compile) 2>&5
3008 ac_status=$?
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); } &&
3011 { ac_try='test -s conftest.$ac_objext'
3012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3013 (eval $ac_try) 2>&5
3014 ac_status=$?
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); }; }; then
3017 break
3018else
3019 echo "$as_me: failed program was:" >&5
3020cat conftest.$ac_ext >&5
3021fi
3022rm -f conftest.$ac_objext
3023 CC="$CC -n32"
3024 rm -f conftest.$ac_objext
3025if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3026 (eval $ac_compile) 2>&5
3027 ac_status=$?
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); } &&
3030 { ac_try='test -s conftest.$ac_objext'
3031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032 (eval $ac_try) 2>&5
3033 ac_status=$?
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; }; then
3036 ac_cv_sys_largefile_CC=' -n32'; break
3037else
3038 echo "$as_me: failed program was:" >&5
3039cat conftest.$ac_ext >&5
3040fi
3041rm -f conftest.$ac_objext
3042 break
3043 done
3044 CC=$ac_save_CC
3045 rm -f conftest.$ac_ext
3046 fi
3047fi
3048echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3049echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3050 if test "$ac_cv_sys_largefile_CC" != no; then
3051 CC=$CC$ac_cv_sys_largefile_CC
3052 fi
3053
3054 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3055echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3056if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3057 echo $ECHO_N "(cached) $ECHO_C" >&6
3058else
3059 while :; do
3060 ac_cv_sys_file_offset_bits=no
3061 cat >conftest.$ac_ext <<_ACEOF
3062#line $LINENO "configure"
3063#include "confdefs.h"
3064@%:@include <sys/types.h>
3065 /* Check that off_t can represent 2**63 - 1 correctly.
3066 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3067 since some C++ compilers masquerading as C compilers
3068 incorrectly reject 9223372036854775807. */
3069@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3070 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3071 && LARGE_OFF_T % 2147483647 == 1)
3072 ? 1 : -1];
3073#ifdef F77_DUMMY_MAIN
3074# ifdef __cplusplus
3075 extern "C"
3076# endif
3077 int F77_DUMMY_MAIN() { return 1; }
3078#endif
3079int
3080main ()
3081{
3082
3083 ;
3084 return 0;
3085}
3086_ACEOF
3087rm -f conftest.$ac_objext
3088if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3089 (eval $ac_compile) 2>&5
3090 ac_status=$?
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } &&
3093 { ac_try='test -s conftest.$ac_objext'
3094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 (eval $ac_try) 2>&5
3096 ac_status=$?
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }; }; then
3099 break
3100else
3101 echo "$as_me: failed program was:" >&5
3102cat conftest.$ac_ext >&5
3103fi
3104rm -f conftest.$ac_objext conftest.$ac_ext
3105 cat >conftest.$ac_ext <<_ACEOF
3106#line $LINENO "configure"
3107#include "confdefs.h"
3108@%:@define _FILE_OFFSET_BITS 64
3109@%:@include <sys/types.h>
3110 /* Check that off_t can represent 2**63 - 1 correctly.
3111 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3112 since some C++ compilers masquerading as C compilers
3113 incorrectly reject 9223372036854775807. */
3114@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3115 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3116 && LARGE_OFF_T % 2147483647 == 1)
3117 ? 1 : -1];
3118#ifdef F77_DUMMY_MAIN
3119# ifdef __cplusplus
3120 extern "C"
3121# endif
3122 int F77_DUMMY_MAIN() { return 1; }
3123#endif
3124int
3125main ()
3126{
3127
3128 ;
3129 return 0;
3130}
3131_ACEOF
3132rm -f conftest.$ac_objext
3133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>&5
3135 ac_status=$?
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } &&
3138 { ac_try='test -s conftest.$ac_objext'
3139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3140 (eval $ac_try) 2>&5
3141 ac_status=$?
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }; }; then
3144 ac_cv_sys_file_offset_bits=64; break
3145else
3146 echo "$as_me: failed program was:" >&5
3147cat conftest.$ac_ext >&5
3148fi
3149rm -f conftest.$ac_objext conftest.$ac_ext
3150 break
3151done
3152fi
3153echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3154echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3155if test "$ac_cv_sys_file_offset_bits" != no; then
3156
3157cat >>confdefs.h <<_ACEOF
3158@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3159_ACEOF
3160
3161fi
3162rm -f conftest*
3163 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3164echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3165if test "${ac_cv_sys_large_files+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3167else
3168 while :; do
3169 ac_cv_sys_large_files=no
3170 cat >conftest.$ac_ext <<_ACEOF
3171#line $LINENO "configure"
3172#include "confdefs.h"
3173@%:@include <sys/types.h>
3174 /* Check that off_t can represent 2**63 - 1 correctly.
3175 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3176 since some C++ compilers masquerading as C compilers
3177 incorrectly reject 9223372036854775807. */
3178@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3179 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3180 && LARGE_OFF_T % 2147483647 == 1)
3181 ? 1 : -1];
3182#ifdef F77_DUMMY_MAIN
3183# ifdef __cplusplus
3184 extern "C"
3185# endif
3186 int F77_DUMMY_MAIN() { return 1; }
3187#endif
3188int
3189main ()
3190{
3191
3192 ;
3193 return 0;
3194}
3195_ACEOF
3196rm -f conftest.$ac_objext
3197if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3198 (eval $ac_compile) 2>&5
3199 ac_status=$?
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } &&
3202 { ac_try='test -s conftest.$ac_objext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 (eval $ac_try) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3208 break
3209else
3210 echo "$as_me: failed program was:" >&5
3211cat conftest.$ac_ext >&5
3212fi
3213rm -f conftest.$ac_objext conftest.$ac_ext
3214 cat >conftest.$ac_ext <<_ACEOF
3215#line $LINENO "configure"
3216#include "confdefs.h"
3217@%:@define _LARGE_FILES 1
3218@%:@include <sys/types.h>
3219 /* Check that off_t can represent 2**63 - 1 correctly.
3220 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3221 since some C++ compilers masquerading as C compilers
3222 incorrectly reject 9223372036854775807. */
3223@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3224 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3225 && LARGE_OFF_T % 2147483647 == 1)
3226 ? 1 : -1];
3227#ifdef F77_DUMMY_MAIN
3228# ifdef __cplusplus
3229 extern "C"
3230# endif
3231 int F77_DUMMY_MAIN() { return 1; }
3232#endif
3233int
3234main ()
3235{
3236
3237 ;
3238 return 0;
3239}
3240_ACEOF
3241rm -f conftest.$ac_objext
3242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3243 (eval $ac_compile) 2>&5
3244 ac_status=$?
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } &&
3247 { ac_try='test -s conftest.$ac_objext'
3248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 (eval $ac_try) 2>&5
3250 ac_status=$?
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; }; then
3253 ac_cv_sys_large_files=1; break
3254else
3255 echo "$as_me: failed program was:" >&5
3256cat conftest.$ac_ext >&5
3257fi
3258rm -f conftest.$ac_objext conftest.$ac_ext
3259 break
3260done
3261fi
3262echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3263echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3264if test "$ac_cv_sys_large_files" != no; then
3265
3266cat >>confdefs.h <<_ACEOF
3267@%:@define _LARGE_FILES $ac_cv_sys_large_files
3268_ACEOF
3269
3270fi
3271rm -f conftest*
3272fi
3273
3274
3275if test -z "$AR" ; then
3276 { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
3277echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;}
3278 { (exit 1); exit 1; }; }
3279fi
3280
3281# Use LOGIN_PROGRAM from environment if possible
3282if test ! -z "$LOGIN_PROGRAM" ; then
3283 cat >>confdefs.h <<_ACEOF
3284@%:@define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
3285_ACEOF
3286
3287else
3288 # Search for login
3289 # Extract the first word of "login", so it can be a program name with args.
3290set dummy login; ac_word=$2
3291echo "$as_me:$LINENO: checking for $ac_word" >&5
3292echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3293if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3295else
3296 case $LOGIN_PROGRAM_FALLBACK in
3297 [\\/]* | ?:[\\/]*)
3298 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path.
3299 ;;
3300 *)
3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302for as_dir in $PATH
3303do
3304 IFS=$as_save_IFS
3305 test -z "$as_dir" && as_dir=.
3306 for ac_exec_ext in '' $ac_executable_extensions; do
3307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext"
3309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 break 2
3311 fi
3312done
3313done
3314
3315 ;;
3316esac
3317fi
3318LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
3319
3320if test -n "$LOGIN_PROGRAM_FALLBACK"; then
3321 echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5
3322echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6
3323else
3324 echo "$as_me:$LINENO: result: no" >&5
3325echo "${ECHO_T}no" >&6
3326fi
3327
3328 if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then
3329 cat >>confdefs.h <<_ACEOF
3330@%:@define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK"
3331_ACEOF
3332
3333 fi
3334fi
3335
3336if test -z "$LD" ; then
3337 LD=$CC
3338fi
3339
3340
3341echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3342echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3343if test "${ac_cv_prog_cc_stdc+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3345else
3346 ac_cv_prog_cc_stdc=no
3347ac_save_CC=$CC
3348cat >conftest.$ac_ext <<_ACEOF
3349#line $LINENO "configure"
3350#include "confdefs.h"
3351#include <stdarg.h>
3352#include <stdio.h>
3353#include <sys/types.h>
3354#include <sys/stat.h>
3355/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3356struct buf { int x; };
3357FILE * (*rcsopen) (struct buf *, struct stat *, int);
3358static char *e (p, i)
3359 char **p;
3360 int i;
3361{
3362 return p[i];
3363}
3364static char *f (char * (*g) (char **, int), char **p, ...)
3365{
3366 char *s;
3367 va_list v;
3368 va_start (v,p);
3369 s = g (p, va_arg (v,int));
3370 va_end (v);
3371 return s;
3372}
3373int test (int i, double x);
3374struct s1 {int (*f) (int a);};
3375struct s2 {int (*f) (double a);};
3376int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3377int argc;
3378char **argv;
3379#ifdef F77_DUMMY_MAIN
3380# ifdef __cplusplus
3381 extern "C"
3382# endif
3383 int F77_DUMMY_MAIN() { return 1; }
3384#endif
3385int
3386main ()
3387{
3388return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3389 ;
3390 return 0;
3391}
3392_ACEOF
3393# Don't try gcc -ansi; that turns off useful extensions and
3394# breaks some systems' header files.
3395# AIX -qlanglvl=ansi
3396# Ultrix and OSF/1 -std1
3397# HP-UX 10.20 and later -Ae
3398# HP-UX older versions -Aa -D_HPUX_SOURCE
3399# SVR4 -Xc -D__EXTENSIONS__
3400for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3401do
3402 CC="$ac_save_CC $ac_arg"
3403 rm -f conftest.$ac_objext
3404if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3405 (eval $ac_compile) 2>&5
3406 ac_status=$?
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 (eval $ac_try) 2>&5
3412 ac_status=$?
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 ac_cv_prog_cc_stdc=$ac_arg
3416break
3417else
3418 echo "$as_me: failed program was:" >&5
3419cat conftest.$ac_ext >&5
3420fi
3421rm -f conftest.$ac_objext
3422done
3423rm -f conftest.$ac_ext conftest.$ac_objext
3424CC=$ac_save_CC
3425
3426fi
3427
3428case "x$ac_cv_prog_cc_stdc" in
3429 x|xno)
3430 echo "$as_me:$LINENO: result: none needed" >&5
3431echo "${ECHO_T}none needed" >&6 ;;
3432 *)
3433 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3434echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3435 CC="$CC $ac_cv_prog_cc_stdc" ;;
3436esac
3437
3438echo "$as_me:$LINENO: checking for inline" >&5
3439echo $ECHO_N "checking for inline... $ECHO_C" >&6
3440if test "${ac_cv_c_inline+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3442else
3443 ac_cv_c_inline=no
3444for ac_kw in inline __inline__ __inline; do
3445 cat >conftest.$ac_ext <<_ACEOF
3446#line $LINENO "configure"
3447#include "confdefs.h"
3448#ifndef __cplusplus
3449static $ac_kw int static_foo () {return 0; }
3450$ac_kw int foo () {return 0; }
3451#endif
3452
3453_ACEOF
3454rm -f conftest.$ac_objext
3455if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3456 (eval $ac_compile) 2>&5
3457 ac_status=$?
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } &&
3460 { ac_try='test -s conftest.$ac_objext'
3461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3462 (eval $ac_try) 2>&5
3463 ac_status=$?
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); }; }; then
3466 ac_cv_c_inline=$ac_kw; break
3467else
3468 echo "$as_me: failed program was:" >&5
3469cat conftest.$ac_ext >&5
3470fi
3471rm -f conftest.$ac_objext conftest.$ac_ext
3472done
3473
3474fi
3475echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3476echo "${ECHO_T}$ac_cv_c_inline" >&6
3477case $ac_cv_c_inline in
3478 inline | yes) ;;
3479 no)
3480cat >>confdefs.h <<\_ACEOF
3481@%:@define inline
3482_ACEOF
3483 ;;
3484 *) cat >>confdefs.h <<_ACEOF
3485@%:@define inline $ac_cv_c_inline
3486_ACEOF
3487 ;;
3488esac
3489
3490if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
3491 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized"
3492fi
3493
3494# Check for some target-specific stuff
3495case "$host" in
3496*-*-aix*)
3497 AFS_LIBS="-lld"
3498 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3499 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3500 if (test "$LD" != "gcc" && test -z "$blibpath"); then
3501 echo "$as_me:$LINENO: checking if linkage editor ($LD) accepts -blibpath" >&5
3502echo $ECHO_N "checking if linkage editor ($LD) accepts -blibpath... $ECHO_C" >&6
3503 saved_LDFLAGS="$LDFLAGS"
3504 LDFLAGS="$LDFLAGS -blibpath:/usr/lib:/lib:/usr/local/lib"
3505 cat >conftest.$ac_ext <<_ACEOF
3506#line $LINENO "configure"
3507#include "confdefs.h"
3508
3509#ifdef F77_DUMMY_MAIN
3510# ifdef __cplusplus
3511 extern "C"
3512# endif
3513 int F77_DUMMY_MAIN() { return 1; }
3514#endif
3515int
3516main ()
3517{
3518
3519 ;
3520 return 0;
3521}
3522_ACEOF
3523rm -f conftest.$ac_objext conftest$ac_exeext
3524if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3525 (eval $ac_link) 2>&5
3526 ac_status=$?
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } &&
3529 { ac_try='test -s conftest$ac_exeext'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 (eval $ac_try) 2>&5
3532 ac_status=$?
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; }; then
3535
3536 echo "$as_me:$LINENO: result: yes" >&5
3537echo "${ECHO_T}yes" >&6
3538 blibpath="/usr/lib:/lib:/usr/local/lib"
3539
3540else
3541 echo "$as_me: failed program was:" >&5
3542cat conftest.$ac_ext >&5
3543 echo "$as_me:$LINENO: result: no" >&5
3544echo "${ECHO_T}no" >&6
3545
3546fi
3547rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3548 LDFLAGS="$saved_LDFLAGS"
3549 fi
3550 echo "$as_me:$LINENO: checking for authenticate" >&5
3551echo $ECHO_N "checking for authenticate... $ECHO_C" >&6
3552if test "${ac_cv_func_authenticate+set}" = set; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3554else
3555 cat >conftest.$ac_ext <<_ACEOF
3556#line $LINENO "configure"
3557#include "confdefs.h"
3558/* System header to define __stub macros and hopefully few prototypes,
3559 which can conflict with char authenticate (); below. */
3560#include <assert.h>
3561/* Override any gcc2 internal prototype to avoid an error. */
3562#ifdef __cplusplus
3563extern "C"
3564#endif
3565/* We use char because int might match the return type of a gcc2
3566 builtin and then its argument prototype would still apply. */
3567char authenticate ();
3568char (*f) ();
3569
3570#ifdef F77_DUMMY_MAIN
3571# ifdef __cplusplus
3572 extern "C"
3573# endif
3574 int F77_DUMMY_MAIN() { return 1; }
3575#endif
3576int
3577main ()
3578{
3579/* The GNU C library defines this for functions which it implements
3580 to always fail with ENOSYS. Some functions are actually named
3581 something starting with __ and the normal name is an alias. */
3582#if defined (__stub_authenticate) || defined (__stub___authenticate)
3583choke me
3584#else
3585f = authenticate;
3586#endif
3587
3588 ;
3589 return 0;
3590}
3591_ACEOF
3592rm -f conftest.$ac_objext conftest$ac_exeext
3593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3594 (eval $ac_link) 2>&5
3595 ac_status=$?
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } &&
3598 { ac_try='test -s conftest$ac_exeext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 ac_cv_func_authenticate=yes
3605else
3606 echo "$as_me: failed program was:" >&5
3607cat conftest.$ac_ext >&5
3608ac_cv_func_authenticate=no
3609fi
3610rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3611fi
3612echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
3613echo "${ECHO_T}$ac_cv_func_authenticate" >&6
3614if test $ac_cv_func_authenticate = yes; then
3615 cat >>confdefs.h <<\_ACEOF
3616@%:@define WITH_AIXAUTHENTICATE 1
3617_ACEOF
3618
3619else
3620 echo "$as_me:$LINENO: checking for authenticate in -ls" >&5
3621echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6
3622if test "${ac_cv_lib_s_authenticate+set}" = set; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3624else
3625 ac_check_lib_save_LIBS=$LIBS
3626LIBS="-ls $LIBS"
3627cat >conftest.$ac_ext <<_ACEOF
3628#line $LINENO "configure"
3629#include "confdefs.h"
3630
3631/* Override any gcc2 internal prototype to avoid an error. */
3632#ifdef __cplusplus
3633extern "C"
3634#endif
3635/* We use char because int might match the return type of a gcc2
3636 builtin and then its argument prototype would still apply. */
3637char authenticate ();
3638#ifdef F77_DUMMY_MAIN
3639# ifdef __cplusplus
3640 extern "C"
3641# endif
3642 int F77_DUMMY_MAIN() { return 1; }
3643#endif
3644int
3645main ()
3646{
3647authenticate ();
3648 ;
3649 return 0;
3650}
3651_ACEOF
3652rm -f conftest.$ac_objext conftest$ac_exeext
3653if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3654 (eval $ac_link) 2>&5
3655 ac_status=$?
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } &&
3658 { ac_try='test -s conftest$ac_exeext'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3660 (eval $ac_try) 2>&5
3661 ac_status=$?
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3664 ac_cv_lib_s_authenticate=yes
3665else
3666 echo "$as_me: failed program was:" >&5
3667cat conftest.$ac_ext >&5
3668ac_cv_lib_s_authenticate=no
3669fi
3670rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3671LIBS=$ac_check_lib_save_LIBS
3672fi
3673echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5
3674echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6
3675if test $ac_cv_lib_s_authenticate = yes; then
3676 cat >>confdefs.h <<\_ACEOF
3677@%:@define WITH_AIXAUTHENTICATE 1
3678_ACEOF
3679
3680 LIBS="$LIBS -ls"
3681
3682fi
3683
3684
3685fi
3686
3687 cat >>confdefs.h <<\_ACEOF
3688@%:@define BROKEN_GETADDRINFO 1
3689_ACEOF
3690
3691 cat >>confdefs.h <<\_ACEOF
3692@%:@define BROKEN_REALPATH 1
3693_ACEOF
3694
3695 cat >>confdefs.h <<\_ACEOF
3696@%:@define DISABLE_LASTLOG 1
3697_ACEOF
3698
3699 cat >>confdefs.h <<\_ACEOF
3700@%:@define LOGIN_NEEDS_UTMPX 1
3701_ACEOF
3702
3703 cat >>confdefs.h <<\_ACEOF
3704@%:@define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV
3705_ACEOF
3706
3707 cat >>confdefs.h <<\_ACEOF
3708@%:@define SETPROCTITLE_PS_PADDING '\0'
3709_ACEOF
3710
3711 ;;
3712*-*-cygwin*)
3713 check_for_libcrypt_later=1
3714 LIBS="$LIBS /usr/lib/textmode.o"
3715 cat >>confdefs.h <<\_ACEOF
3716@%:@define HAVE_CYGWIN 1
3717_ACEOF
3718
3719 cat >>confdefs.h <<\_ACEOF
3720@%:@define USE_PIPES 1
3721_ACEOF
3722
3723 cat >>confdefs.h <<\_ACEOF
3724@%:@define DISABLE_SHADOW 1
3725_ACEOF
3726
3727 cat >>confdefs.h <<\_ACEOF
3728@%:@define IPV4_DEFAULT 1
3729_ACEOF
3730
3731 cat >>confdefs.h <<\_ACEOF
3732@%:@define IP_TOS_IS_BROKEN 1
3733_ACEOF
3734
3735 cat >>confdefs.h <<\_ACEOF
3736@%:@define NO_X11_UNIX_SOCKETS 1
3737_ACEOF
3738
3739 cat >>confdefs.h <<\_ACEOF
3740@%:@define NO_IPPORT_RESERVED_CONCEPT 1
3741_ACEOF
3742
3743 cat >>confdefs.h <<\_ACEOF
3744@%:@define DISABLE_FD_PASSING 1
3745_ACEOF
3746
3747 cat >>confdefs.h <<\_ACEOF
3748@%:@define SETGROUPS_NOOP 1
3749_ACEOF
3750
3751 ;;
3752*-*-dgux*)
3753 cat >>confdefs.h <<\_ACEOF
3754@%:@define IP_TOS_IS_BROKEN 1
3755_ACEOF
3756
3757 ;;
3758*-*-darwin*)
3759 echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5
3760echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6
3761 if test "$cross_compiling" = yes; then
3762 echo "$as_me:$LINENO: result: assume it is working" >&5
3763echo "${ECHO_T}assume it is working" >&6
3764else
3765 cat >conftest.$ac_ext <<_ACEOF
3766#line $LINENO "configure"
3767#include "confdefs.h"
3768#include <mach-o/dyld.h>
3769main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
3770 exit(0);
3771 else
3772 exit(1);
3773}
3774_ACEOF
3775rm -f conftest$ac_exeext
3776if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3777 (eval $ac_link) 2>&5
3778 ac_status=$?
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 (eval $ac_try) 2>&5
3783 ac_status=$?
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; }; then
3786 echo "$as_me:$LINENO: result: working" >&5
3787echo "${ECHO_T}working" >&6
3788else
3789 echo "$as_me: program exited with status $ac_status" >&5
3790echo "$as_me: failed program was:" >&5
3791cat conftest.$ac_ext >&5
3792( exit $ac_status )
3793echo "$as_me:$LINENO: result: buggy" >&5
3794echo "${ECHO_T}buggy" >&6
3795 cat >>confdefs.h <<\_ACEOF
3796@%:@define BROKEN_GETADDRINFO 1
3797_ACEOF
3798
3799fi
3800rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3801fi
3802 ;;
3803*-*-hpux10.26)
3804 if test -z "$GCC"; then
3805 CFLAGS="$CFLAGS -Ae"
3806 fi
3807 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3808 IPADDR_IN_DISPLAY=yes
3809 cat >>confdefs.h <<\_ACEOF
3810@%:@define HAVE_SECUREWARE 1
3811_ACEOF
3812
3813 cat >>confdefs.h <<\_ACEOF
3814@%:@define USE_PIPES 1
3815_ACEOF
3816
3817 cat >>confdefs.h <<\_ACEOF
3818@%:@define LOGIN_NO_ENDOPT 1
3819_ACEOF
3820
3821 cat >>confdefs.h <<\_ACEOF
3822@%:@define LOGIN_NEEDS_UTMPX 1
3823_ACEOF
3824
3825 cat >>confdefs.h <<\_ACEOF
3826@%:@define DISABLE_SHADOW 1
3827_ACEOF
3828
3829 cat >>confdefs.h <<\_ACEOF
3830@%:@define DISABLE_UTMP 1
3831_ACEOF
3832
3833 cat >>confdefs.h <<\_ACEOF
3834@%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT
3835_ACEOF
3836
3837 LIBS="$LIBS -lsec -lsecpw"
3838
3839echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3840echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3841if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3843else
3844 ac_check_lib_save_LIBS=$LIBS
3845LIBS="-lxnet $LIBS"
3846cat >conftest.$ac_ext <<_ACEOF
3847#line $LINENO "configure"
3848#include "confdefs.h"
3849
3850/* Override any gcc2 internal prototype to avoid an error. */
3851#ifdef __cplusplus
3852extern "C"
3853#endif
3854/* We use char because int might match the return type of a gcc2
3855 builtin and then its argument prototype would still apply. */
3856char t_error ();
3857#ifdef F77_DUMMY_MAIN
3858# ifdef __cplusplus
3859 extern "C"
3860# endif
3861 int F77_DUMMY_MAIN() { return 1; }
3862#endif
3863int
3864main ()
3865{
3866t_error ();
3867 ;
3868 return 0;
3869}
3870_ACEOF
3871rm -f conftest.$ac_objext conftest$ac_exeext
3872if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3873 (eval $ac_link) 2>&5
3874 ac_status=$?
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } &&
3877 { ac_try='test -s conftest$ac_exeext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 (eval $ac_try) 2>&5
3880 ac_status=$?
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_cv_lib_xnet_t_error=yes
3884else
3885 echo "$as_me: failed program was:" >&5
3886cat conftest.$ac_ext >&5
3887ac_cv_lib_xnet_t_error=no
3888fi
3889rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3890LIBS=$ac_check_lib_save_LIBS
3891fi
3892echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
3893echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3894if test $ac_cv_lib_xnet_t_error = yes; then
3895 cat >>confdefs.h <<_ACEOF
3896@%:@define HAVE_LIBXNET 1
3897_ACEOF
3898
3899 LIBS="-lxnet $LIBS"
3900
3901else
3902 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3903echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3904 { (exit 1); exit 1; }; }
3905fi
3906
3907 disable_ptmx_check=yes
3908 ;;
3909*-*-hpux10*)
3910 if test -z "$GCC"; then
3911 CFLAGS="$CFLAGS -Ae"
3912 fi
3913 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3914 IPADDR_IN_DISPLAY=yes
3915 cat >>confdefs.h <<\_ACEOF
3916@%:@define USE_PIPES 1
3917_ACEOF
3918
3919 cat >>confdefs.h <<\_ACEOF
3920@%:@define LOGIN_NO_ENDOPT 1
3921_ACEOF
3922
3923 cat >>confdefs.h <<\_ACEOF
3924@%:@define LOGIN_NEEDS_UTMPX 1
3925_ACEOF
3926
3927 cat >>confdefs.h <<\_ACEOF
3928@%:@define DISABLE_SHADOW 1
3929_ACEOF
3930
3931 cat >>confdefs.h <<\_ACEOF
3932@%:@define DISABLE_UTMP 1
3933_ACEOF
3934
3935 cat >>confdefs.h <<\_ACEOF
3936@%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT
3937_ACEOF
3938
3939 LIBS="$LIBS -lsec"
3940
3941echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3942echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3943if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945else
3946 ac_check_lib_save_LIBS=$LIBS
3947LIBS="-lxnet $LIBS"
3948cat >conftest.$ac_ext <<_ACEOF
3949#line $LINENO "configure"
3950#include "confdefs.h"
3951
3952/* Override any gcc2 internal prototype to avoid an error. */
3953#ifdef __cplusplus
3954extern "C"
3955#endif
3956/* We use char because int might match the return type of a gcc2
3957 builtin and then its argument prototype would still apply. */
3958char t_error ();
3959#ifdef F77_DUMMY_MAIN
3960# ifdef __cplusplus
3961 extern "C"
3962# endif
3963 int F77_DUMMY_MAIN() { return 1; }
3964#endif
3965int
3966main ()
3967{
3968t_error ();
3969 ;
3970 return 0;
3971}
3972_ACEOF
3973rm -f conftest.$ac_objext conftest$ac_exeext
3974if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3975 (eval $ac_link) 2>&5
3976 ac_status=$?
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); } &&
3979 { ac_try='test -s conftest$ac_exeext'
3980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3981 (eval $ac_try) 2>&5
3982 ac_status=$?
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); }; }; then
3985 ac_cv_lib_xnet_t_error=yes
3986else
3987 echo "$as_me: failed program was:" >&5
3988cat conftest.$ac_ext >&5
3989ac_cv_lib_xnet_t_error=no
3990fi
3991rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3992LIBS=$ac_check_lib_save_LIBS
3993fi
3994echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
3995echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3996if test $ac_cv_lib_xnet_t_error = yes; then
3997 cat >>confdefs.h <<_ACEOF
3998@%:@define HAVE_LIBXNET 1
3999_ACEOF
4000
4001 LIBS="-lxnet $LIBS"
4002
4003else
4004 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
4005echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
4006 { (exit 1); exit 1; }; }
4007fi
4008
4009 ;;
4010*-*-hpux11*)
4011 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
4012 IPADDR_IN_DISPLAY=yes
4013 cat >>confdefs.h <<\_ACEOF
4014@%:@define PAM_SUN_CODEBASE 1
4015_ACEOF
4016
4017 cat >>confdefs.h <<\_ACEOF
4018@%:@define USE_PIPES 1
4019_ACEOF
4020
4021 cat >>confdefs.h <<\_ACEOF
4022@%:@define LOGIN_NO_ENDOPT 1
4023_ACEOF
4024
4025 cat >>confdefs.h <<\_ACEOF
4026@%:@define LOGIN_NEEDS_UTMPX 1
4027_ACEOF
4028
4029 cat >>confdefs.h <<\_ACEOF
4030@%:@define DISABLE_SHADOW 1
4031_ACEOF
4032
4033 cat >>confdefs.h <<\_ACEOF
4034@%:@define DISABLE_UTMP 1
4035_ACEOF
4036
4037 cat >>confdefs.h <<\_ACEOF
4038@%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT
4039_ACEOF
4040
4041 LIBS="$LIBS -lsec"
4042
4043echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
4044echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
4045if test "${ac_cv_lib_xnet_t_error+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4047else
4048 ac_check_lib_save_LIBS=$LIBS
4049LIBS="-lxnet $LIBS"
4050cat >conftest.$ac_ext <<_ACEOF
4051#line $LINENO "configure"
4052#include "confdefs.h"
4053
4054/* Override any gcc2 internal prototype to avoid an error. */
4055#ifdef __cplusplus
4056extern "C"
4057#endif
4058/* We use char because int might match the return type of a gcc2
4059 builtin and then its argument prototype would still apply. */
4060char t_error ();
4061#ifdef F77_DUMMY_MAIN
4062# ifdef __cplusplus
4063 extern "C"
4064# endif
4065 int F77_DUMMY_MAIN() { return 1; }
4066#endif
4067int
4068main ()
4069{
4070t_error ();
4071 ;
4072 return 0;
4073}
4074_ACEOF
4075rm -f conftest.$ac_objext conftest$ac_exeext
4076if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4077 (eval $ac_link) 2>&5
4078 ac_status=$?
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); } &&
4081 { ac_try='test -s conftest$ac_exeext'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083 (eval $ac_try) 2>&5
4084 ac_status=$?
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; }; then
4087 ac_cv_lib_xnet_t_error=yes
4088else
4089 echo "$as_me: failed program was:" >&5
4090cat conftest.$ac_ext >&5
4091ac_cv_lib_xnet_t_error=no
4092fi
4093rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4094LIBS=$ac_check_lib_save_LIBS
4095fi
4096echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
4097echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
4098if test $ac_cv_lib_xnet_t_error = yes; then
4099 cat >>confdefs.h <<_ACEOF
4100@%:@define HAVE_LIBXNET 1
4101_ACEOF
4102
4103 LIBS="-lxnet $LIBS"
4104
4105else
4106 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
4107echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
4108 { (exit 1); exit 1; }; }
4109fi
4110
4111 ;;
4112*-*-irix5*)
4113 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4114 LDFLAGS="$LDFLAGS"
4115 PATH="$PATH:/usr/etc"
4116 cat >>confdefs.h <<\_ACEOF
4117@%:@define BROKEN_INET_NTOA 1
4118_ACEOF
4119
4120 cat >>confdefs.h <<\_ACEOF
4121@%:@define WITH_ABBREV_NO_TTY 1
4122_ACEOF
4123
4124 ;;
4125*-*-irix6*)
4126 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4127 LDFLAGS="$LDFLAGS"
4128 PATH="$PATH:/usr/etc"
4129 cat >>confdefs.h <<\_ACEOF
4130@%:@define WITH_IRIX_ARRAY 1
4131_ACEOF
4132
4133 cat >>confdefs.h <<\_ACEOF
4134@%:@define WITH_IRIX_PROJECT 1
4135_ACEOF
4136
4137 cat >>confdefs.h <<\_ACEOF
4138@%:@define WITH_IRIX_AUDIT 1
4139_ACEOF
4140
4141 echo "$as_me:$LINENO: checking for jlimit_startjob" >&5
4142echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6
4143if test "${ac_cv_func_jlimit_startjob+set}" = set; then
4144 echo $ECHO_N "(cached) $ECHO_C" >&6
4145else
4146 cat >conftest.$ac_ext <<_ACEOF
4147#line $LINENO "configure"
4148#include "confdefs.h"
4149/* System header to define __stub macros and hopefully few prototypes,
4150 which can conflict with char jlimit_startjob (); below. */
4151#include <assert.h>
4152/* Override any gcc2 internal prototype to avoid an error. */
4153#ifdef __cplusplus
4154extern "C"
4155#endif
4156/* We use char because int might match the return type of a gcc2
4157 builtin and then its argument prototype would still apply. */
4158char jlimit_startjob ();
4159char (*f) ();
4160
4161#ifdef F77_DUMMY_MAIN
4162# ifdef __cplusplus
4163 extern "C"
4164# endif
4165 int F77_DUMMY_MAIN() { return 1; }
4166#endif
4167int
4168main ()
4169{
4170/* The GNU C library defines this for functions which it implements
4171 to always fail with ENOSYS. Some functions are actually named
4172 something starting with __ and the normal name is an alias. */
4173#if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob)
4174choke me
4175#else
4176f = jlimit_startjob;
4177#endif
4178
4179 ;
4180 return 0;
4181}
4182_ACEOF
4183rm -f conftest.$ac_objext conftest$ac_exeext
4184if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4185 (eval $ac_link) 2>&5
4186 ac_status=$?
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } &&
4189 { ac_try='test -s conftest$ac_exeext'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 (eval $ac_try) 2>&5
4192 ac_status=$?
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; }; then
4195 ac_cv_func_jlimit_startjob=yes
4196else
4197 echo "$as_me: failed program was:" >&5
4198cat conftest.$ac_ext >&5
4199ac_cv_func_jlimit_startjob=no
4200fi
4201rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4202fi
4203echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
4204echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
4205if test $ac_cv_func_jlimit_startjob = yes; then
4206 cat >>confdefs.h <<\_ACEOF
4207@%:@define WITH_IRIX_JOBS 1
4208_ACEOF
4209
4210fi
4211
4212 cat >>confdefs.h <<\_ACEOF
4213@%:@define BROKEN_INET_NTOA 1
4214_ACEOF
4215
4216 cat >>confdefs.h <<\_ACEOF
4217@%:@define WITH_ABBREV_NO_TTY 1
4218_ACEOF
4219
4220 ;;
4221*-*-linux*)
4222 no_dev_ptmx=1
4223 check_for_libcrypt_later=1
4224 cat >>confdefs.h <<\_ACEOF
4225@%:@define DONT_TRY_OTHER_AF 1
4226_ACEOF
4227
4228 cat >>confdefs.h <<\_ACEOF
4229@%:@define PAM_TTY_KLUDGE 1
4230_ACEOF
4231
4232 cat >>confdefs.h <<\_ACEOF
4233@%:@define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV
4234_ACEOF
4235
4236 cat >>confdefs.h <<\_ACEOF
4237@%:@define SETPROCTITLE_PS_PADDING '\0'
4238_ACEOF
4239
4240 inet6_default_4in6=yes
4241 ;;
4242mips-sony-bsd|mips-sony-newsos4)
4243 cat >>confdefs.h <<\_ACEOF
4244@%:@define HAVE_NEWS4 1
4245_ACEOF
4246
4247 SONY=1
4248 ;;
4249*-*-netbsd*)
4250 check_for_libcrypt_before=1
4251 need_dash_r=1
4252 ;;
4253*-*-freebsd*)
4254 check_for_libcrypt_later=1
4255 ;;
4256*-next-*)
4257 conf_lastlog_location="/usr/adm/lastlog"
4258 conf_utmp_location=/etc/utmp
4259 conf_wtmp_location=/usr/adm/wtmp
4260 MAIL=/usr/spool/mail
4261 cat >>confdefs.h <<\_ACEOF
4262@%:@define HAVE_NEXT 1
4263_ACEOF
4264
4265 cat >>confdefs.h <<\_ACEOF
4266@%:@define BROKEN_REALPATH 1
4267_ACEOF
4268
4269 cat >>confdefs.h <<\_ACEOF
4270@%:@define USE_PIPES 1
4271_ACEOF
4272
4273 cat >>confdefs.h <<\_ACEOF
4274@%:@define BROKEN_SAVED_UIDS 1
4275_ACEOF
4276
4277 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4278 CFLAGS="$CFLAGS"
4279 ;;
4280*-*-solaris*)
4281 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4282 LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
4283 need_dash_r=1
4284 cat >>confdefs.h <<\_ACEOF
4285@%:@define PAM_SUN_CODEBASE 1
4286_ACEOF
4287
4288 cat >>confdefs.h <<\_ACEOF
4289@%:@define LOGIN_NEEDS_UTMPX 1
4290_ACEOF
4291
4292 cat >>confdefs.h <<\_ACEOF
4293@%:@define LOGIN_NEEDS_TERM 1
4294_ACEOF
4295
4296 cat >>confdefs.h <<\_ACEOF
4297@%:@define PAM_TTY_KLUDGE 1
4298_ACEOF
4299
4300 cat >>confdefs.h <<\_ACEOF
4301@%:@define STREAMS_PUSH_ACQUIRES_CTTY 1
4302_ACEOF
4303
4304 # hardwire lastlog location (can't detect it on some versions)
4305 conf_lastlog_location="/var/adm/lastlog"
4306 echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
4307echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6
4308 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
4309 if test "$sol2ver" -ge 8; then
4310 echo "$as_me:$LINENO: result: yes" >&5
4311echo "${ECHO_T}yes" >&6
4312 cat >>confdefs.h <<\_ACEOF
4313@%:@define DISABLE_UTMP 1
4314_ACEOF
4315
4316 cat >>confdefs.h <<\_ACEOF
4317@%:@define DISABLE_WTMP 1
4318_ACEOF
4319
4320 else
4321 echo "$as_me:$LINENO: result: no" >&5
4322echo "${ECHO_T}no" >&6
4323 fi
4324 ;;
4325*-*-sunos4*)
4326 CPPFLAGS="$CPPFLAGS -DSUNOS4"
4327
4328for ac_func in getpwanam
4329do
4330as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4331echo "$as_me:$LINENO: checking for $ac_func" >&5
4332echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4333if eval "test \"\${$as_ac_var+set}\" = set"; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4335else
4336 cat >conftest.$ac_ext <<_ACEOF
4337#line $LINENO "configure"
4338#include "confdefs.h"
4339/* System header to define __stub macros and hopefully few prototypes,
4340 which can conflict with char $ac_func (); below. */
4341#include <assert.h>
4342/* Override any gcc2 internal prototype to avoid an error. */
4343#ifdef __cplusplus
4344extern "C"
4345#endif
4346/* We use char because int might match the return type of a gcc2
4347 builtin and then its argument prototype would still apply. */
4348char $ac_func ();
4349char (*f) ();
4350
4351#ifdef F77_DUMMY_MAIN
4352# ifdef __cplusplus
4353 extern "C"
4354# endif
4355 int F77_DUMMY_MAIN() { return 1; }
4356#endif
4357int
4358main ()
4359{
4360/* The GNU C library defines this for functions which it implements
4361 to always fail with ENOSYS. Some functions are actually named
4362 something starting with __ and the normal name is an alias. */
4363#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4364choke me
4365#else
4366f = $ac_func;
4367#endif
4368
4369 ;
4370 return 0;
4371}
4372_ACEOF
4373rm -f conftest.$ac_objext conftest$ac_exeext
4374if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4375 (eval $ac_link) 2>&5
4376 ac_status=$?
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); } &&
4379 { ac_try='test -s conftest$ac_exeext'
4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 (eval $ac_try) 2>&5
4382 ac_status=$?
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }; }; then
4385 eval "$as_ac_var=yes"
4386else
4387 echo "$as_me: failed program was:" >&5
4388cat conftest.$ac_ext >&5
4389eval "$as_ac_var=no"
4390fi
4391rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4392fi
4393echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4394echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4395if test `eval echo '${'$as_ac_var'}'` = yes; then
4396 cat >>confdefs.h <<_ACEOF
4397@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4398_ACEOF
4399
4400fi
4401done
4402
4403 cat >>confdefs.h <<\_ACEOF
4404@%:@define PAM_SUN_CODEBASE 1
4405_ACEOF
4406
4407 conf_utmp_location=/etc/utmp
4408 conf_wtmp_location=/var/adm/wtmp
4409 conf_lastlog_location=/var/adm/lastlog
4410 cat >>confdefs.h <<\_ACEOF
4411@%:@define USE_PIPES 1
4412_ACEOF
4413
4414 ;;
4415*-ncr-sysv*)
4416 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4417 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4418 LIBS="$LIBS -lc89"
4419 cat >>confdefs.h <<\_ACEOF
4420@%:@define USE_PIPES 1
4421_ACEOF
4422
4423 ;;
4424*-sni-sysv*)
4425 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4426 # /usr/ucblib MUST NOT be searched on ReliantUNIX
4427 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4428 IPADDR_IN_DISPLAY=yes
4429 cat >>confdefs.h <<\_ACEOF
4430@%:@define USE_PIPES 1
4431_ACEOF
4432
4433 cat >>confdefs.h <<\_ACEOF
4434@%:@define IP_TOS_IS_BROKEN 1
4435_ACEOF
4436
4437 # /usr/ucblib/libucb.a no longer needed on ReliantUNIX
4438 # Attention: always take care to bind libsocket and libnsl before libc,
4439 # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog
4440 ;;
4441*-*-sysv4.2*)
4442 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4443 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4444 cat >>confdefs.h <<\_ACEOF
4445@%:@define USE_PIPES 1
4446_ACEOF
4447
4448 ;;
4449*-*-sysv5*)
4450 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4451 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4452 cat >>confdefs.h <<\_ACEOF
4453@%:@define USE_PIPES 1
4454_ACEOF
4455
4456 ;;
4457*-*-sysv*)
4458 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4459 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4460 ;;
4461*-*-sco3.2v4*)
4462 CPPFLAGS="$CPPFLAGS -Dftruncate=chsize -I/usr/local/include"
4463 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4464 LIBS="$LIBS -los -lprot -lx -ltinfo -lm"
4465 RANLIB=true
4466 no_dev_ptmx=1
4467 cat >>confdefs.h <<\_ACEOF
4468@%:@define BROKEN_SYS_TERMIO_H 1
4469_ACEOF
4470
4471 cat >>confdefs.h <<\_ACEOF
4472@%:@define USE_PIPES 1
4473_ACEOF
4474
4475 cat >>confdefs.h <<\_ACEOF
4476@%:@define HAVE_SECUREWARE 1
4477_ACEOF
4478
4479 cat >>confdefs.h <<\_ACEOF
4480@%:@define DISABLE_SHADOW 1
4481_ACEOF
4482
4483 cat >>confdefs.h <<\_ACEOF
4484@%:@define BROKEN_SAVED_UIDS 1
4485_ACEOF
4486
4487
4488
4489for ac_func in getluid setluid
4490do
4491as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4492echo "$as_me:$LINENO: checking for $ac_func" >&5
4493echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4494if eval "test \"\${$as_ac_var+set}\" = set"; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4496else
4497 cat >conftest.$ac_ext <<_ACEOF
4498#line $LINENO "configure"
4499#include "confdefs.h"
4500/* System header to define __stub macros and hopefully few prototypes,
4501 which can conflict with char $ac_func (); below. */
4502#include <assert.h>
4503/* Override any gcc2 internal prototype to avoid an error. */
4504#ifdef __cplusplus
4505extern "C"
4506#endif
4507/* We use char because int might match the return type of a gcc2
4508 builtin and then its argument prototype would still apply. */
4509char $ac_func ();
4510char (*f) ();
4511
4512#ifdef F77_DUMMY_MAIN
4513# ifdef __cplusplus
4514 extern "C"
4515# endif
4516 int F77_DUMMY_MAIN() { return 1; }
4517#endif
4518int
4519main ()
4520{
4521/* The GNU C library defines this for functions which it implements
4522 to always fail with ENOSYS. Some functions are actually named
4523 something starting with __ and the normal name is an alias. */
4524#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4525choke me
4526#else
4527f = $ac_func;
4528#endif
4529
4530 ;
4531 return 0;
4532}
4533_ACEOF
4534rm -f conftest.$ac_objext conftest$ac_exeext
4535if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4536 (eval $ac_link) 2>&5
4537 ac_status=$?
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); } &&
4540 { ac_try='test -s conftest$ac_exeext'
4541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542 (eval $ac_try) 2>&5
4543 ac_status=$?
4544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); }; }; then
4546 eval "$as_ac_var=yes"
4547else
4548 echo "$as_me: failed program was:" >&5
4549cat conftest.$ac_ext >&5
4550eval "$as_ac_var=no"
4551fi
4552rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4553fi
4554echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4555echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4556if test `eval echo '${'$as_ac_var'}'` = yes; then
4557 cat >>confdefs.h <<_ACEOF
4558@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4559_ACEOF
4560
4561fi
4562done
4563
4564 MANTYPE=man
4565 do_sco3_extra_lib_check=yes
4566 ;;
4567*-*-sco3.2v5*)
4568 if test -z "$GCC"; then
4569 CFLAGS="$CFLAGS -belf"
4570 fi
4571 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4572 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4573 LIBS="$LIBS -lprot -lx -ltinfo -lm"
4574 no_dev_ptmx=1
4575 cat >>confdefs.h <<\_ACEOF
4576@%:@define USE_PIPES 1
4577_ACEOF
4578
4579 cat >>confdefs.h <<\_ACEOF
4580@%:@define HAVE_SECUREWARE 1
4581_ACEOF
4582
4583 cat >>confdefs.h <<\_ACEOF
4584@%:@define DISABLE_SHADOW 1
4585_ACEOF
4586
4587 cat >>confdefs.h <<\_ACEOF
4588@%:@define DISABLE_FD_PASSING 1
4589_ACEOF
4590
4591
4592
4593for ac_func in getluid setluid
4594do
4595as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4596echo "$as_me:$LINENO: checking for $ac_func" >&5
4597echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4598if eval "test \"\${$as_ac_var+set}\" = set"; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4600else
4601 cat >conftest.$ac_ext <<_ACEOF
4602#line $LINENO "configure"
4603#include "confdefs.h"
4604/* System header to define __stub macros and hopefully few prototypes,
4605 which can conflict with char $ac_func (); below. */
4606#include <assert.h>
4607/* Override any gcc2 internal prototype to avoid an error. */
4608#ifdef __cplusplus
4609extern "C"
4610#endif
4611/* We use char because int might match the return type of a gcc2
4612 builtin and then its argument prototype would still apply. */
4613char $ac_func ();
4614char (*f) ();
4615
4616#ifdef F77_DUMMY_MAIN
4617# ifdef __cplusplus
4618 extern "C"
4619# endif
4620 int F77_DUMMY_MAIN() { return 1; }
4621#endif
4622int
4623main ()
4624{
4625/* The GNU C library defines this for functions which it implements
4626 to always fail with ENOSYS. Some functions are actually named
4627 something starting with __ and the normal name is an alias. */
4628#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4629choke me
4630#else
4631f = $ac_func;
4632#endif
4633
4634 ;
4635 return 0;
4636}
4637_ACEOF
4638rm -f conftest.$ac_objext conftest$ac_exeext
4639if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4640 (eval $ac_link) 2>&5
4641 ac_status=$?
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } &&
4644 { ac_try='test -s conftest$ac_exeext'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 (eval $ac_try) 2>&5
4647 ac_status=$?
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; }; then
4650 eval "$as_ac_var=yes"
4651else
4652 echo "$as_me: failed program was:" >&5
4653cat conftest.$ac_ext >&5
4654eval "$as_ac_var=no"
4655fi
4656rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4657fi
4658echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4659echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4660if test `eval echo '${'$as_ac_var'}'` = yes; then
4661 cat >>confdefs.h <<_ACEOF
4662@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4663_ACEOF
4664
4665fi
4666done
4667
4668 MANTYPE=man
4669 ;;
4670*-*-unicosmk*)
4671 cat >>confdefs.h <<\_ACEOF
4672@%:@define USE_PIPES 1
4673_ACEOF
4674
4675 cat >>confdefs.h <<\_ACEOF
4676@%:@define DISABLE_FD_PASSING 1
4677_ACEOF
4678
4679 LDFLAGS="$LDFLAGS"
4680 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
4681 MANTYPE=cat
4682 ;;
4683*-*-unicos*)
4684 cat >>confdefs.h <<\_ACEOF
4685@%:@define USE_PIPES 1
4686_ACEOF
4687
4688 cat >>confdefs.h <<\_ACEOF
4689@%:@define DISABLE_FD_PASSING 1
4690_ACEOF
4691
4692 cat >>confdefs.h <<\_ACEOF
4693@%:@define NO_SSH_LASTLOG 1
4694_ACEOF
4695
4696 LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
4697 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
4698 MANTYPE=cat
4699 ;;
4700*-dec-osf*)
4701 echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5
4702echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6
4703 no_osfsia=""
4704
4705# Check whether --with-osfsia or --without-osfsia was given.
4706if test "${with_osfsia+set}" = set; then
4707 withval="$with_osfsia"
4708
4709 if test "x$withval" = "xno" ; then
4710 echo "$as_me:$LINENO: result: disabled" >&5
4711echo "${ECHO_T}disabled" >&6
4712 no_osfsia=1
4713 fi
4714
4715fi;
4716 if test -z "$no_osfsia" ; then
4717 if test -f /etc/sia/matrix.conf; then
4718 echo "$as_me:$LINENO: result: yes" >&5
4719echo "${ECHO_T}yes" >&6
4720 cat >>confdefs.h <<\_ACEOF
4721@%:@define HAVE_OSF_SIA 1
4722_ACEOF
4723
4724 cat >>confdefs.h <<\_ACEOF
4725@%:@define DISABLE_LOGIN 1
4726_ACEOF
4727
4728 cat >>confdefs.h <<\_ACEOF
4729@%:@define DISABLE_FD_PASSING 1
4730_ACEOF
4731
4732 LIBS="$LIBS -lsecurity -ldb -lm -laud"
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735echo "${ECHO_T}no" >&6
4736 fi
4737 fi
4738 cat >>confdefs.h <<\_ACEOF
4739@%:@define DISABLE_FD_PASSING 1
4740_ACEOF
4741
4742 ;;
4743
4744*-*-nto-qnx)
4745 cat >>confdefs.h <<\_ACEOF
4746@%:@define USE_PIPES 1
4747_ACEOF
4748
4749 cat >>confdefs.h <<\_ACEOF
4750@%:@define NO_X11_UNIX_SOCKETS 1
4751_ACEOF
4752
4753 cat >>confdefs.h <<\_ACEOF
4754@%:@define MISSING_NFDBITS 1
4755_ACEOF
4756
4757 cat >>confdefs.h <<\_ACEOF
4758@%:@define MISSING_HOWMANY 1
4759_ACEOF
4760
4761 cat >>confdefs.h <<\_ACEOF
4762@%:@define MISSING_FD_MASK 1
4763_ACEOF
4764
4765 ;;
4766esac
4767
4768# Allow user to specify flags
4769
4770# Check whether --with-cflags or --without-cflags was given.
4771if test "${with_cflags+set}" = set; then
4772 withval="$with_cflags"
4773
4774 if test "x$withval" != "xno" ; then
4775 CFLAGS="$CFLAGS $withval"
4776 fi
4777
4778
4779fi;
4780
4781# Check whether --with-cppflags or --without-cppflags was given.
4782if test "${with_cppflags+set}" = set; then
4783 withval="$with_cppflags"
4784
4785 if test "x$withval" != "xno"; then
4786 CPPFLAGS="$CPPFLAGS $withval"
4787 fi
4788
4789
4790fi;
4791
4792# Check whether --with-ldflags or --without-ldflags was given.
4793if test "${with_ldflags+set}" = set; then
4794 withval="$with_ldflags"
4795
4796 if test "x$withval" != "xno" ; then
4797 LDFLAGS="$LDFLAGS $withval"
4798 fi
4799
4800
4801fi;
4802
4803# Check whether --with-libs or --without-libs was given.
4804if test "${with_libs+set}" = set; then
4805 withval="$with_libs"
4806
4807 if test "x$withval" != "xno" ; then
4808 LIBS="$LIBS $withval"
4809 fi
4810
4811
4812fi;
4813
4814# Checks for header files.
4815
4816echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4817echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4818if test "${ac_cv_header_stdc+set}" = set; then
4819 echo $ECHO_N "(cached) $ECHO_C" >&6
4820else
4821 cat >conftest.$ac_ext <<_ACEOF
4822#line $LINENO "configure"
4823#include "confdefs.h"
4824#include <stdlib.h>
4825#include <stdarg.h>
4826#include <string.h>
4827#include <float.h>
4828
4829_ACEOF
4830if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4832 ac_status=$?
4833 egrep -v '^ *\+' conftest.er1 >conftest.err
4834 rm -f conftest.er1
4835 cat conftest.err >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } >/dev/null; then
4838 if test -s conftest.err; then
4839 ac_cpp_err=$ac_c_preproc_warn_flag
4840 else
4841 ac_cpp_err=
4842 fi
4843else
4844 ac_cpp_err=yes
4845fi
4846if test -z "$ac_cpp_err"; then
4847 ac_cv_header_stdc=yes
4848else
4849 echo "$as_me: failed program was:" >&5
4850 cat conftest.$ac_ext >&5
4851 ac_cv_header_stdc=no
4852fi
4853rm -f conftest.err conftest.$ac_ext
4854
4855if test $ac_cv_header_stdc = yes; then
4856 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4857 cat >conftest.$ac_ext <<_ACEOF
4858#line $LINENO "configure"
4859#include "confdefs.h"
4860#include <string.h>
4861
4862_ACEOF
4863if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4864 egrep "memchr" >/dev/null 2>&1; then
4865 :
4866else
4867 ac_cv_header_stdc=no
4868fi
4869rm -f conftest*
4870
4871fi
4872
4873if test $ac_cv_header_stdc = yes; then
4874 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4875 cat >conftest.$ac_ext <<_ACEOF
4876#line $LINENO "configure"
4877#include "confdefs.h"
4878#include <stdlib.h>
4879
4880_ACEOF
4881if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4882 egrep "free" >/dev/null 2>&1; then
4883 :
4884else
4885 ac_cv_header_stdc=no
4886fi
4887rm -f conftest*
4888
4889fi
4890
4891if test $ac_cv_header_stdc = yes; then
4892 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4893 if test "$cross_compiling" = yes; then
4894 :
4895else
4896 cat >conftest.$ac_ext <<_ACEOF
4897#line $LINENO "configure"
4898#include "confdefs.h"
4899#include <ctype.h>
4900#if ((' ' & 0x0FF) == 0x020)
4901# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4902# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4903#else
4904# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4905 || ('j' <= (c) && (c) <= 'r') \
4906 || ('s' <= (c) && (c) <= 'z'))
4907# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4908#endif
4909
4910#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4911int
4912main ()
4913{
4914 int i;
4915 for (i = 0; i < 256; i++)
4916 if (XOR (islower (i), ISLOWER (i))
4917 || toupper (i) != TOUPPER (i))
4918 exit(2);
4919 exit (0);
4920}
4921_ACEOF
4922rm -f conftest$ac_exeext
4923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4924 (eval $ac_link) 2>&5
4925 ac_status=$?
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929 (eval $ac_try) 2>&5
4930 ac_status=$?
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4933 :
4934else
4935 echo "$as_me: program exited with status $ac_status" >&5
4936echo "$as_me: failed program was:" >&5
4937cat conftest.$ac_ext >&5
4938( exit $ac_status )
4939ac_cv_header_stdc=no
4940fi
4941rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4942fi
4943fi
4944fi
4945echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4946echo "${ECHO_T}$ac_cv_header_stdc" >&6
4947if test $ac_cv_header_stdc = yes; then
4948
4949cat >>confdefs.h <<\_ACEOF
4950@%:@define STDC_HEADERS 1
4951_ACEOF
4952
4953fi
4954
4955# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4966 inttypes.h stdint.h unistd.h
4967do
4968as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4969echo "$as_me:$LINENO: checking for $ac_header" >&5
4970echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4971if eval "test \"\${$as_ac_Header+set}\" = set"; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4973else
4974 cat >conftest.$ac_ext <<_ACEOF
4975#line $LINENO "configure"
4976#include "confdefs.h"
4977$ac_includes_default
4978
4979@%:@include <$ac_header>
4980_ACEOF
4981rm -f conftest.$ac_objext
4982if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 (eval $ac_compile) 2>&5
4984 ac_status=$?
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } &&
4987 { ac_try='test -s conftest.$ac_objext'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 (eval $ac_try) 2>&5
4990 ac_status=$?
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; }; then
4993 eval "$as_ac_Header=yes"
4994else
4995 echo "$as_me: failed program was:" >&5
4996cat conftest.$ac_ext >&5
4997eval "$as_ac_Header=no"
4998fi
4999rm -f conftest.$ac_objext conftest.$ac_ext
5000fi
5001echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5002echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5003if test `eval echo '${'$as_ac_Header'}'` = yes; then
5004 cat >>confdefs.h <<_ACEOF
5005@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5006_ACEOF
5007
5008fi
5009
5010done
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058for ac_header in bstring.h crypt.h endian.h floatingpoint.h \
5059 getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \
5060 login_cap.h maillock.h netdb.h netgroup.h \
5061 netinet/in_systm.h paths.h pty.h readpassphrase.h \
5062 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
5063 strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \
5064 sys/mman.h sys/pstat.h sys/select.h sys/stat.h \
5065 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \
5066 sys/un.h time.h tmpdir.h ttyent.h usersec.h \
5067 util.h utime.h utmp.h utmpx.h
5068do
5069as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5070if eval "test \"\${$as_ac_Header+set}\" = set"; then
5071 echo "$as_me:$LINENO: checking for $ac_header" >&5
5072echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5073if eval "test \"\${$as_ac_Header+set}\" = set"; then
5074 echo $ECHO_N "(cached) $ECHO_C" >&6
5075fi
5076echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5077echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5078else
5079 # Is the header compilable?
5080echo "$as_me:$LINENO: checking $ac_header usability" >&5
5081echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5082cat >conftest.$ac_ext <<_ACEOF
5083#line $LINENO "configure"
5084#include "confdefs.h"
5085$ac_includes_default
5086@%:@include <$ac_header>
5087_ACEOF
5088rm -f conftest.$ac_objext
5089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5090 (eval $ac_compile) 2>&5
5091 ac_status=$?
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } &&
5094 { ac_try='test -s conftest.$ac_objext'
5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5096 (eval $ac_try) 2>&5
5097 ac_status=$?
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); }; }; then
5100 ac_header_compiler=yes
5101else
5102 echo "$as_me: failed program was:" >&5
5103cat conftest.$ac_ext >&5
5104ac_header_compiler=no
5105fi
5106rm -f conftest.$ac_objext conftest.$ac_ext
5107echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5108echo "${ECHO_T}$ac_header_compiler" >&6
5109
5110# Is the header present?
5111echo "$as_me:$LINENO: checking $ac_header presence" >&5
5112echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5113cat >conftest.$ac_ext <<_ACEOF
5114#line $LINENO "configure"
5115#include "confdefs.h"
5116@%:@include <$ac_header>
5117_ACEOF
5118if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5120 ac_status=$?
5121 egrep -v '^ *\+' conftest.er1 >conftest.err
5122 rm -f conftest.er1
5123 cat conftest.err >&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } >/dev/null; then
5126 if test -s conftest.err; then
5127 ac_cpp_err=$ac_c_preproc_warn_flag
5128 else
5129 ac_cpp_err=
5130 fi
5131else
5132 ac_cpp_err=yes
5133fi
5134if test -z "$ac_cpp_err"; then
5135 ac_header_preproc=yes
5136else
5137 echo "$as_me: failed program was:" >&5
5138 cat conftest.$ac_ext >&5
5139 ac_header_preproc=no
5140fi
5141rm -f conftest.err conftest.$ac_ext
5142echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5143echo "${ECHO_T}$ac_header_preproc" >&6
5144
5145# So? What about this header?
5146case $ac_header_compiler:$ac_header_preproc in
5147 yes:no )
5148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5149echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5151echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5152 no:yes )
5153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5154echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5156echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5158echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5159esac
5160echo "$as_me:$LINENO: checking for $ac_header" >&5
5161echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5162if eval "test \"\${$as_ac_Header+set}\" = set"; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5164else
5165 eval "$as_ac_Header=$ac_header_preproc"
5166fi
5167echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5168echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5169
5170fi
5171if test `eval echo '${'$as_ac_Header'}'` = yes; then
5172 cat >>confdefs.h <<_ACEOF
5173@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5174_ACEOF
5175
5176fi
5177
5178done
5179
5180
5181# Checks for libraries.
5182echo "$as_me:$LINENO: checking for yp_match" >&5
5183echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
5184if test "${ac_cv_func_yp_match+set}" = set; then
5185 echo $ECHO_N "(cached) $ECHO_C" >&6
5186else
5187 cat >conftest.$ac_ext <<_ACEOF
5188#line $LINENO "configure"
5189#include "confdefs.h"
5190/* System header to define __stub macros and hopefully few prototypes,
5191 which can conflict with char yp_match (); below. */
5192#include <assert.h>
5193/* Override any gcc2 internal prototype to avoid an error. */
5194#ifdef __cplusplus
5195extern "C"
5196#endif
5197/* We use char because int might match the return type of a gcc2
5198 builtin and then its argument prototype would still apply. */
5199char yp_match ();
5200char (*f) ();
5201
5202#ifdef F77_DUMMY_MAIN
5203# ifdef __cplusplus
5204 extern "C"
5205# endif
5206 int F77_DUMMY_MAIN() { return 1; }
5207#endif
5208int
5209main ()
5210{
5211/* The GNU C library defines this for functions which it implements
5212 to always fail with ENOSYS. Some functions are actually named
5213 something starting with __ and the normal name is an alias. */
5214#if defined (__stub_yp_match) || defined (__stub___yp_match)
5215choke me
5216#else
5217f = yp_match;
5218#endif
5219
5220 ;
5221 return 0;
5222}
5223_ACEOF
5224rm -f conftest.$ac_objext conftest$ac_exeext
5225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5226 (eval $ac_link) 2>&5
5227 ac_status=$?
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); } &&
5230 { ac_try='test -s conftest$ac_exeext'
5231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5232 (eval $ac_try) 2>&5
5233 ac_status=$?
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); }; }; then
5236 ac_cv_func_yp_match=yes
5237else
5238 echo "$as_me: failed program was:" >&5
5239cat conftest.$ac_ext >&5
5240ac_cv_func_yp_match=no
5241fi
5242rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5243fi
5244echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5
5245echo "${ECHO_T}$ac_cv_func_yp_match" >&6
5246if test $ac_cv_func_yp_match = yes; then
5247 :
5248else
5249
5250echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
5251echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6
5252if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5254else
5255 ac_check_lib_save_LIBS=$LIBS
5256LIBS="-lnsl $LIBS"
5257cat >conftest.$ac_ext <<_ACEOF
5258#line $LINENO "configure"
5259#include "confdefs.h"
5260
5261/* Override any gcc2 internal prototype to avoid an error. */
5262#ifdef __cplusplus
5263extern "C"
5264#endif
5265/* We use char because int might match the return type of a gcc2
5266 builtin and then its argument prototype would still apply. */
5267char yp_match ();
5268#ifdef F77_DUMMY_MAIN
5269# ifdef __cplusplus
5270 extern "C"
5271# endif
5272 int F77_DUMMY_MAIN() { return 1; }
5273#endif
5274int
5275main ()
5276{
5277yp_match ();
5278 ;
5279 return 0;
5280}
5281_ACEOF
5282rm -f conftest.$ac_objext conftest$ac_exeext
5283if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5284 (eval $ac_link) 2>&5
5285 ac_status=$?
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } &&
5288 { ac_try='test -s conftest$ac_exeext'
5289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5290 (eval $ac_try) 2>&5
5291 ac_status=$?
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; }; then
5294 ac_cv_lib_nsl_yp_match=yes
5295else
5296 echo "$as_me: failed program was:" >&5
5297cat conftest.$ac_ext >&5
5298ac_cv_lib_nsl_yp_match=no
5299fi
5300rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5301LIBS=$ac_check_lib_save_LIBS
5302fi
5303echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
5304echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6
5305if test $ac_cv_lib_nsl_yp_match = yes; then
5306 cat >>confdefs.h <<_ACEOF
5307@%:@define HAVE_LIBNSL 1
5308_ACEOF
5309
5310 LIBS="-lnsl $LIBS"
5311
5312fi
5313
5314fi
5315
5316echo "$as_me:$LINENO: checking for setsockopt" >&5
5317echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
5318if test "${ac_cv_func_setsockopt+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5320else
5321 cat >conftest.$ac_ext <<_ACEOF
5322#line $LINENO "configure"
5323#include "confdefs.h"
5324/* System header to define __stub macros and hopefully few prototypes,
5325 which can conflict with char setsockopt (); below. */
5326#include <assert.h>
5327/* Override any gcc2 internal prototype to avoid an error. */
5328#ifdef __cplusplus
5329extern "C"
5330#endif
5331/* We use char because int might match the return type of a gcc2
5332 builtin and then its argument prototype would still apply. */
5333char setsockopt ();
5334char (*f) ();
5335
5336#ifdef F77_DUMMY_MAIN
5337# ifdef __cplusplus
5338 extern "C"
5339# endif
5340 int F77_DUMMY_MAIN() { return 1; }
5341#endif
5342int
5343main ()
5344{
5345/* The GNU C library defines this for functions which it implements
5346 to always fail with ENOSYS. Some functions are actually named
5347 something starting with __ and the normal name is an alias. */
5348#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
5349choke me
5350#else
5351f = setsockopt;
5352#endif
5353
5354 ;
5355 return 0;
5356}
5357_ACEOF
5358rm -f conftest.$ac_objext conftest$ac_exeext
5359if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5360 (eval $ac_link) 2>&5
5361 ac_status=$?
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } &&
5364 { ac_try='test -s conftest$ac_exeext'
5365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5366 (eval $ac_try) 2>&5
5367 ac_status=$?
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }; }; then
5370 ac_cv_func_setsockopt=yes
5371else
5372 echo "$as_me: failed program was:" >&5
5373cat conftest.$ac_ext >&5
5374ac_cv_func_setsockopt=no
5375fi
5376rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5377fi
5378echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
5379echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
5380if test $ac_cv_func_setsockopt = yes; then
5381 :
5382else
5383
5384echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
5385echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
5386if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5388else
5389 ac_check_lib_save_LIBS=$LIBS
5390LIBS="-lsocket $LIBS"
5391cat >conftest.$ac_ext <<_ACEOF
5392#line $LINENO "configure"
5393#include "confdefs.h"
5394
5395/* Override any gcc2 internal prototype to avoid an error. */
5396#ifdef __cplusplus
5397extern "C"
5398#endif
5399/* We use char because int might match the return type of a gcc2
5400 builtin and then its argument prototype would still apply. */
5401char setsockopt ();
5402#ifdef F77_DUMMY_MAIN
5403# ifdef __cplusplus
5404 extern "C"
5405# endif
5406 int F77_DUMMY_MAIN() { return 1; }
5407#endif
5408int
5409main ()
5410{
5411setsockopt ();
5412 ;
5413 return 0;
5414}
5415_ACEOF
5416rm -f conftest.$ac_objext conftest$ac_exeext
5417if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5418 (eval $ac_link) 2>&5
5419 ac_status=$?
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); } &&
5422 { ac_try='test -s conftest$ac_exeext'
5423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5424 (eval $ac_try) 2>&5
5425 ac_status=$?
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); }; }; then
5428 ac_cv_lib_socket_setsockopt=yes
5429else
5430 echo "$as_me: failed program was:" >&5
5431cat conftest.$ac_ext >&5
5432ac_cv_lib_socket_setsockopt=no
5433fi
5434rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5435LIBS=$ac_check_lib_save_LIBS
5436fi
5437echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
5438echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
5439if test $ac_cv_lib_socket_setsockopt = yes; then
5440 cat >>confdefs.h <<_ACEOF
5441@%:@define HAVE_LIBSOCKET 1
5442_ACEOF
5443
5444 LIBS="-lsocket $LIBS"
5445
5446fi
5447
5448fi
5449
5450
5451if test "x$with_tcp_wrappers" != "xno" ; then
5452 if test "x$do_sco3_extra_lib_check" = "xyes" ; then
5453 echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5
5454echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6
5455if test "${ac_cv_lib_rpc_innetgr+set}" = set; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6
5457else
5458 ac_check_lib_save_LIBS=$LIBS
5459LIBS="-lrpc -lyp -lrpc $LIBS"
5460cat >conftest.$ac_ext <<_ACEOF
5461#line $LINENO "configure"
5462#include "confdefs.h"
5463
5464/* Override any gcc2 internal prototype to avoid an error. */
5465#ifdef __cplusplus
5466extern "C"
5467#endif
5468/* We use char because int might match the return type of a gcc2
5469 builtin and then its argument prototype would still apply. */
5470char innetgr ();
5471#ifdef F77_DUMMY_MAIN
5472# ifdef __cplusplus
5473 extern "C"
5474# endif
5475 int F77_DUMMY_MAIN() { return 1; }
5476#endif
5477int
5478main ()
5479{
5480innetgr ();
5481 ;
5482 return 0;
5483}
5484_ACEOF
5485rm -f conftest.$ac_objext conftest$ac_exeext
5486if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5487 (eval $ac_link) 2>&5
5488 ac_status=$?
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } &&
5491 { ac_try='test -s conftest$ac_exeext'
5492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5493 (eval $ac_try) 2>&5
5494 ac_status=$?
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }; }; then
5497 ac_cv_lib_rpc_innetgr=yes
5498else
5499 echo "$as_me: failed program was:" >&5
5500cat conftest.$ac_ext >&5
5501ac_cv_lib_rpc_innetgr=no
5502fi
5503rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5504LIBS=$ac_check_lib_save_LIBS
5505fi
5506echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5
5507echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6
5508if test $ac_cv_lib_rpc_innetgr = yes; then
5509 LIBS="-lrpc -lyp -lrpc $LIBS"
5510fi
5511
5512 fi
5513fi
5514
5515echo "$as_me:$LINENO: checking for getspnam" >&5
5516echo $ECHO_N "checking for getspnam... $ECHO_C" >&6
5517if test "${ac_cv_func_getspnam+set}" = set; then
5518 echo $ECHO_N "(cached) $ECHO_C" >&6
5519else
5520 cat >conftest.$ac_ext <<_ACEOF
5521#line $LINENO "configure"
5522#include "confdefs.h"
5523/* System header to define __stub macros and hopefully few prototypes,
5524 which can conflict with char getspnam (); below. */
5525#include <assert.h>
5526/* Override any gcc2 internal prototype to avoid an error. */
5527#ifdef __cplusplus
5528extern "C"
5529#endif
5530/* We use char because int might match the return type of a gcc2
5531 builtin and then its argument prototype would still apply. */
5532char getspnam ();
5533char (*f) ();
5534
5535#ifdef F77_DUMMY_MAIN
5536# ifdef __cplusplus
5537 extern "C"
5538# endif
5539 int F77_DUMMY_MAIN() { return 1; }
5540#endif
5541int
5542main ()
5543{
5544/* The GNU C library defines this for functions which it implements
5545 to always fail with ENOSYS. Some functions are actually named
5546 something starting with __ and the normal name is an alias. */
5547#if defined (__stub_getspnam) || defined (__stub___getspnam)
5548choke me
5549#else
5550f = getspnam;
5551#endif
5552
5553 ;
5554 return 0;
5555}
5556_ACEOF
5557rm -f conftest.$ac_objext conftest$ac_exeext
5558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5559 (eval $ac_link) 2>&5
5560 ac_status=$?
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); } &&
5563 { ac_try='test -s conftest$ac_exeext'
5564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5565 (eval $ac_try) 2>&5
5566 ac_status=$?
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); }; }; then
5569 ac_cv_func_getspnam=yes
5570else
5571 echo "$as_me: failed program was:" >&5
5572cat conftest.$ac_ext >&5
5573ac_cv_func_getspnam=no
5574fi
5575rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5576fi
5577echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
5578echo "${ECHO_T}$ac_cv_func_getspnam" >&6
5579if test $ac_cv_func_getspnam = yes; then
5580 :
5581else
5582 echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
5583echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
5584if test "${ac_cv_lib_gen_getspnam+set}" = set; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5586else
5587 ac_check_lib_save_LIBS=$LIBS
5588LIBS="-lgen $LIBS"
5589cat >conftest.$ac_ext <<_ACEOF
5590#line $LINENO "configure"
5591#include "confdefs.h"
5592
5593/* Override any gcc2 internal prototype to avoid an error. */
5594#ifdef __cplusplus
5595extern "C"
5596#endif
5597/* We use char because int might match the return type of a gcc2
5598 builtin and then its argument prototype would still apply. */
5599char getspnam ();
5600#ifdef F77_DUMMY_MAIN
5601# ifdef __cplusplus
5602 extern "C"
5603# endif
5604 int F77_DUMMY_MAIN() { return 1; }
5605#endif
5606int
5607main ()
5608{
5609getspnam ();
5610 ;
5611 return 0;
5612}
5613_ACEOF
5614rm -f conftest.$ac_objext conftest$ac_exeext
5615if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5616 (eval $ac_link) 2>&5
5617 ac_status=$?
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); } &&
5620 { ac_try='test -s conftest$ac_exeext'
5621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5622 (eval $ac_try) 2>&5
5623 ac_status=$?
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); }; }; then
5626 ac_cv_lib_gen_getspnam=yes
5627else
5628 echo "$as_me: failed program was:" >&5
5629cat conftest.$ac_ext >&5
5630ac_cv_lib_gen_getspnam=no
5631fi
5632rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5633LIBS=$ac_check_lib_save_LIBS
5634fi
5635echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
5636echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
5637if test $ac_cv_lib_gen_getspnam = yes; then
5638 LIBS="$LIBS -lgen"
5639fi
5640
5641fi
5642
5643
5644
5645# Check whether --with-rpath or --without-rpath was given.
5646if test "${with_rpath+set}" = set; then
5647 withval="$with_rpath"
5648
5649 if test "x$withval" = "xno" ; then
5650 need_dash_r=""
5651 fi
5652 if test "x$withval" = "xyes" ; then
5653 need_dash_r=1
5654 fi
5655
5656
5657fi;
5658
5659
5660# Check whether --with-zlib or --without-zlib was given.
5661if test "${with_zlib+set}" = set; then
5662 withval="$with_zlib"
5663
5664 if test "x$withval" = "xno" ; then
5665 { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5
5666echo "$as_me: error: *** zlib is required ***" >&2;}
5667 { (exit 1); exit 1; }; }
5668 fi
5669 if test -d "$withval/lib"; then
5670 if test -n "${need_dash_r}"; then
5671 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
5672 else
5673 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
5674 fi
5675 else
5676 if test -n "${need_dash_r}"; then
5677 LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}"
5678 else
5679 LDFLAGS="-L${withval} ${LDFLAGS}"
5680 fi
5681 fi
5682 if test -d "$withval/include"; then
5683 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
5684 else
5685 CPPFLAGS="-I${withval} ${CPPFLAGS}"
5686 fi
5687
5688
5689fi;
5690
5691
5692echo "$as_me:$LINENO: checking for deflate in -lz" >&5
5693echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
5694if test "${ac_cv_lib_z_deflate+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5696else
5697 ac_check_lib_save_LIBS=$LIBS
5698LIBS="-lz $LIBS"
5699cat >conftest.$ac_ext <<_ACEOF
5700#line $LINENO "configure"
5701#include "confdefs.h"
5702
5703/* Override any gcc2 internal prototype to avoid an error. */
5704#ifdef __cplusplus
5705extern "C"
5706#endif
5707/* We use char because int might match the return type of a gcc2
5708 builtin and then its argument prototype would still apply. */
5709char deflate ();
5710#ifdef F77_DUMMY_MAIN
5711# ifdef __cplusplus
5712 extern "C"
5713# endif
5714 int F77_DUMMY_MAIN() { return 1; }
5715#endif
5716int
5717main ()
5718{
5719deflate ();
5720 ;
5721 return 0;
5722}
5723_ACEOF
5724rm -f conftest.$ac_objext conftest$ac_exeext
5725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5726 (eval $ac_link) 2>&5
5727 ac_status=$?
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); } &&
5730 { ac_try='test -s conftest$ac_exeext'
5731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5732 (eval $ac_try) 2>&5
5733 ac_status=$?
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); }; }; then
5736 ac_cv_lib_z_deflate=yes
5737else
5738 echo "$as_me: failed program was:" >&5
5739cat conftest.$ac_ext >&5
5740ac_cv_lib_z_deflate=no
5741fi
5742rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5743LIBS=$ac_check_lib_save_LIBS
5744fi
5745echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
5746echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
5747if test $ac_cv_lib_z_deflate = yes; then
5748 cat >>confdefs.h <<_ACEOF
5749@%:@define HAVE_LIBZ 1
5750_ACEOF
5751
5752 LIBS="-lz $LIBS"
5753
5754else
5755 { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
5756echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
5757 { (exit 1); exit 1; }; }
5758fi
5759
5760
5761echo "$as_me:$LINENO: checking for strcasecmp" >&5
5762echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
5763if test "${ac_cv_func_strcasecmp+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5765else
5766 cat >conftest.$ac_ext <<_ACEOF
5767#line $LINENO "configure"
5768#include "confdefs.h"
5769/* System header to define __stub macros and hopefully few prototypes,
5770 which can conflict with char strcasecmp (); below. */
5771#include <assert.h>
5772/* Override any gcc2 internal prototype to avoid an error. */
5773#ifdef __cplusplus
5774extern "C"
5775#endif
5776/* We use char because int might match the return type of a gcc2
5777 builtin and then its argument prototype would still apply. */
5778char strcasecmp ();
5779char (*f) ();
5780
5781#ifdef F77_DUMMY_MAIN
5782# ifdef __cplusplus
5783 extern "C"
5784# endif
5785 int F77_DUMMY_MAIN() { return 1; }
5786#endif
5787int
5788main ()
5789{
5790/* The GNU C library defines this for functions which it implements
5791 to always fail with ENOSYS. Some functions are actually named
5792 something starting with __ and the normal name is an alias. */
5793#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
5794choke me
5795#else
5796f = strcasecmp;
5797#endif
5798
5799 ;
5800 return 0;
5801}
5802_ACEOF
5803rm -f conftest.$ac_objext conftest$ac_exeext
5804if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5805 (eval $ac_link) 2>&5
5806 ac_status=$?
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); } &&
5809 { ac_try='test -s conftest$ac_exeext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5811 (eval $ac_try) 2>&5
5812 ac_status=$?
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5815 ac_cv_func_strcasecmp=yes
5816else
5817 echo "$as_me: failed program was:" >&5
5818cat conftest.$ac_ext >&5
5819ac_cv_func_strcasecmp=no
5820fi
5821rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5822fi
5823echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
5824echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
5825if test $ac_cv_func_strcasecmp = yes; then
5826 :
5827else
5828 echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
5829echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6
5830if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5832else
5833 ac_check_lib_save_LIBS=$LIBS
5834LIBS="-lresolv $LIBS"
5835cat >conftest.$ac_ext <<_ACEOF
5836#line $LINENO "configure"
5837#include "confdefs.h"
5838
5839/* Override any gcc2 internal prototype to avoid an error. */
5840#ifdef __cplusplus
5841extern "C"
5842#endif
5843/* We use char because int might match the return type of a gcc2
5844 builtin and then its argument prototype would still apply. */
5845char strcasecmp ();
5846#ifdef F77_DUMMY_MAIN
5847# ifdef __cplusplus
5848 extern "C"
5849# endif
5850 int F77_DUMMY_MAIN() { return 1; }
5851#endif
5852int
5853main ()
5854{
5855strcasecmp ();
5856 ;
5857 return 0;
5858}
5859_ACEOF
5860rm -f conftest.$ac_objext conftest$ac_exeext
5861if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5862 (eval $ac_link) 2>&5
5863 ac_status=$?
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); } &&
5866 { ac_try='test -s conftest$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 ac_cv_lib_resolv_strcasecmp=yes
5873else
5874 echo "$as_me: failed program was:" >&5
5875cat conftest.$ac_ext >&5
5876ac_cv_lib_resolv_strcasecmp=no
5877fi
5878rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5879LIBS=$ac_check_lib_save_LIBS
5880fi
5881echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
5882echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6
5883if test $ac_cv_lib_resolv_strcasecmp = yes; then
5884 LIBS="$LIBS -lresolv"
5885fi
5886
5887
5888fi
5889
5890echo "$as_me:$LINENO: checking for utimes" >&5
5891echo $ECHO_N "checking for utimes... $ECHO_C" >&6
5892if test "${ac_cv_func_utimes+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5894else
5895 cat >conftest.$ac_ext <<_ACEOF
5896#line $LINENO "configure"
5897#include "confdefs.h"
5898/* System header to define __stub macros and hopefully few prototypes,
5899 which can conflict with char utimes (); below. */
5900#include <assert.h>
5901/* Override any gcc2 internal prototype to avoid an error. */
5902#ifdef __cplusplus
5903extern "C"
5904#endif
5905/* We use char because int might match the return type of a gcc2
5906 builtin and then its argument prototype would still apply. */
5907char utimes ();
5908char (*f) ();
5909
5910#ifdef F77_DUMMY_MAIN
5911# ifdef __cplusplus
5912 extern "C"
5913# endif
5914 int F77_DUMMY_MAIN() { return 1; }
5915#endif
5916int
5917main ()
5918{
5919/* The GNU C library defines this for functions which it implements
5920 to always fail with ENOSYS. Some functions are actually named
5921 something starting with __ and the normal name is an alias. */
5922#if defined (__stub_utimes) || defined (__stub___utimes)
5923choke me
5924#else
5925f = utimes;
5926#endif
5927
5928 ;
5929 return 0;
5930}
5931_ACEOF
5932rm -f conftest.$ac_objext conftest$ac_exeext
5933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5934 (eval $ac_link) 2>&5
5935 ac_status=$?
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } &&
5938 { ac_try='test -s conftest$ac_exeext'
5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 (eval $ac_try) 2>&5
5941 ac_status=$?
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; }; then
5944 ac_cv_func_utimes=yes
5945else
5946 echo "$as_me: failed program was:" >&5
5947cat conftest.$ac_ext >&5
5948ac_cv_func_utimes=no
5949fi
5950rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5951fi
5952echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5
5953echo "${ECHO_T}$ac_cv_func_utimes" >&6
5954if test $ac_cv_func_utimes = yes; then
5955 :
5956else
5957 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
5958echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
5959if test "${ac_cv_lib_c89_utimes+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5961else
5962 ac_check_lib_save_LIBS=$LIBS
5963LIBS="-lc89 $LIBS"
5964cat >conftest.$ac_ext <<_ACEOF
5965#line $LINENO "configure"
5966#include "confdefs.h"
5967
5968/* Override any gcc2 internal prototype to avoid an error. */
5969#ifdef __cplusplus
5970extern "C"
5971#endif
5972/* We use char because int might match the return type of a gcc2
5973 builtin and then its argument prototype would still apply. */
5974char utimes ();
5975#ifdef F77_DUMMY_MAIN
5976# ifdef __cplusplus
5977 extern "C"
5978# endif
5979 int F77_DUMMY_MAIN() { return 1; }
5980#endif
5981int
5982main ()
5983{
5984utimes ();
5985 ;
5986 return 0;
5987}
5988_ACEOF
5989rm -f conftest.$ac_objext conftest$ac_exeext
5990if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5991 (eval $ac_link) 2>&5
5992 ac_status=$?
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } &&
5995 { ac_try='test -s conftest$ac_exeext'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 (eval $ac_try) 2>&5
5998 ac_status=$?
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; }; then
6001 ac_cv_lib_c89_utimes=yes
6002else
6003 echo "$as_me: failed program was:" >&5
6004cat conftest.$ac_ext >&5
6005ac_cv_lib_c89_utimes=no
6006fi
6007rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6008LIBS=$ac_check_lib_save_LIBS
6009fi
6010echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5
6011echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6
6012if test $ac_cv_lib_c89_utimes = yes; then
6013 cat >>confdefs.h <<\_ACEOF
6014@%:@define HAVE_UTIMES 1
6015_ACEOF
6016
6017 LIBS="$LIBS -lc89"
6018fi
6019
6020
6021fi
6022
6023
6024
6025for ac_header in libutil.h
6026do
6027as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6028if eval "test \"\${$as_ac_Header+set}\" = set"; then
6029 echo "$as_me:$LINENO: checking for $ac_header" >&5
6030echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6031if eval "test \"\${$as_ac_Header+set}\" = set"; then
6032 echo $ECHO_N "(cached) $ECHO_C" >&6
6033fi
6034echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6035echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6036else
6037 # Is the header compilable?
6038echo "$as_me:$LINENO: checking $ac_header usability" >&5
6039echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6040cat >conftest.$ac_ext <<_ACEOF
6041#line $LINENO "configure"
6042#include "confdefs.h"
6043$ac_includes_default
6044@%:@include <$ac_header>
6045_ACEOF
6046rm -f conftest.$ac_objext
6047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6048 (eval $ac_compile) 2>&5
6049 ac_status=$?
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); } &&
6052 { ac_try='test -s conftest.$ac_objext'
6053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054 (eval $ac_try) 2>&5
6055 ac_status=$?
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; }; then
6058 ac_header_compiler=yes
6059else
6060 echo "$as_me: failed program was:" >&5
6061cat conftest.$ac_ext >&5
6062ac_header_compiler=no
6063fi
6064rm -f conftest.$ac_objext conftest.$ac_ext
6065echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6066echo "${ECHO_T}$ac_header_compiler" >&6
6067
6068# Is the header present?
6069echo "$as_me:$LINENO: checking $ac_header presence" >&5
6070echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6071cat >conftest.$ac_ext <<_ACEOF
6072#line $LINENO "configure"
6073#include "confdefs.h"
6074@%:@include <$ac_header>
6075_ACEOF
6076if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6078 ac_status=$?
6079 egrep -v '^ *\+' conftest.er1 >conftest.err
6080 rm -f conftest.er1
6081 cat conftest.err >&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); } >/dev/null; then
6084 if test -s conftest.err; then
6085 ac_cpp_err=$ac_c_preproc_warn_flag
6086 else
6087 ac_cpp_err=
6088 fi
6089else
6090 ac_cpp_err=yes
6091fi
6092if test -z "$ac_cpp_err"; then
6093 ac_header_preproc=yes
6094else
6095 echo "$as_me: failed program was:" >&5
6096 cat conftest.$ac_ext >&5
6097 ac_header_preproc=no
6098fi
6099rm -f conftest.err conftest.$ac_ext
6100echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6101echo "${ECHO_T}$ac_header_preproc" >&6
6102
6103# So? What about this header?
6104case $ac_header_compiler:$ac_header_preproc in
6105 yes:no )
6106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6107echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6109echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6110 no:yes )
6111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6112echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6114echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6116echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6117esac
6118echo "$as_me:$LINENO: checking for $ac_header" >&5
6119echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6120if eval "test \"\${$as_ac_Header+set}\" = set"; then
6121 echo $ECHO_N "(cached) $ECHO_C" >&6
6122else
6123 eval "$as_ac_Header=$ac_header_preproc"
6124fi
6125echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6126echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6127
6128fi
6129if test `eval echo '${'$as_ac_Header'}'` = yes; then
6130 cat >>confdefs.h <<_ACEOF
6131@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132_ACEOF
6133
6134fi
6135
6136done
6137
6138echo "$as_me:$LINENO: checking for library containing login" >&5
6139echo $ECHO_N "checking for library containing login... $ECHO_C" >&6
6140if test "${ac_cv_search_login+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6142else
6143 ac_func_search_save_LIBS=$LIBS
6144ac_cv_search_login=no
6145cat >conftest.$ac_ext <<_ACEOF
6146#line $LINENO "configure"
6147#include "confdefs.h"
6148
6149/* Override any gcc2 internal prototype to avoid an error. */
6150#ifdef __cplusplus
6151extern "C"
6152#endif
6153/* We use char because int might match the return type of a gcc2
6154 builtin and then its argument prototype would still apply. */
6155char login ();
6156#ifdef F77_DUMMY_MAIN
6157# ifdef __cplusplus
6158 extern "C"
6159# endif
6160 int F77_DUMMY_MAIN() { return 1; }
6161#endif
6162int
6163main ()
6164{
6165login ();
6166 ;
6167 return 0;
6168}
6169_ACEOF
6170rm -f conftest.$ac_objext conftest$ac_exeext
6171if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6172 (eval $ac_link) 2>&5
6173 ac_status=$?
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try='test -s conftest$ac_exeext'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 (eval $ac_try) 2>&5
6179 ac_status=$?
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }; then
6182 ac_cv_search_login="none required"
6183else
6184 echo "$as_me: failed program was:" >&5
6185cat conftest.$ac_ext >&5
6186fi
6187rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6188if test "$ac_cv_search_login" = no; then
6189 for ac_lib in util bsd; do
6190 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6191 cat >conftest.$ac_ext <<_ACEOF
6192#line $LINENO "configure"
6193#include "confdefs.h"
6194
6195/* Override any gcc2 internal prototype to avoid an error. */
6196#ifdef __cplusplus
6197extern "C"
6198#endif
6199/* We use char because int might match the return type of a gcc2
6200 builtin and then its argument prototype would still apply. */
6201char login ();
6202#ifdef F77_DUMMY_MAIN
6203# ifdef __cplusplus
6204 extern "C"
6205# endif
6206 int F77_DUMMY_MAIN() { return 1; }
6207#endif
6208int
6209main ()
6210{
6211login ();
6212 ;
6213 return 0;
6214}
6215_ACEOF
6216rm -f conftest.$ac_objext conftest$ac_exeext
6217if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6218 (eval $ac_link) 2>&5
6219 ac_status=$?
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } &&
6222 { ac_try='test -s conftest$ac_exeext'
6223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6224 (eval $ac_try) 2>&5
6225 ac_status=$?
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); }; }; then
6228 ac_cv_search_login="-l$ac_lib"
6229break
6230else
6231 echo "$as_me: failed program was:" >&5
6232cat conftest.$ac_ext >&5
6233fi
6234rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6235 done
6236fi
6237LIBS=$ac_func_search_save_LIBS
6238fi
6239echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
6240echo "${ECHO_T}$ac_cv_search_login" >&6
6241if test "$ac_cv_search_login" != no; then
6242 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
6243 cat >>confdefs.h <<\_ACEOF
6244@%:@define HAVE_LOGIN 1
6245_ACEOF
6246
6247fi
6248
6249
6250
6251
6252for ac_func in logout updwtmp logwtmp
6253do
6254as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6255echo "$as_me:$LINENO: checking for $ac_func" >&5
6256echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6257if eval "test \"\${$as_ac_var+set}\" = set"; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6259else
6260 cat >conftest.$ac_ext <<_ACEOF
6261#line $LINENO "configure"
6262#include "confdefs.h"
6263/* System header to define __stub macros and hopefully few prototypes,
6264 which can conflict with char $ac_func (); below. */
6265#include <assert.h>
6266/* Override any gcc2 internal prototype to avoid an error. */
6267#ifdef __cplusplus
6268extern "C"
6269#endif
6270/* We use char because int might match the return type of a gcc2
6271 builtin and then its argument prototype would still apply. */
6272char $ac_func ();
6273char (*f) ();
6274
6275#ifdef F77_DUMMY_MAIN
6276# ifdef __cplusplus
6277 extern "C"
6278# endif
6279 int F77_DUMMY_MAIN() { return 1; }
6280#endif
6281int
6282main ()
6283{
6284/* The GNU C library defines this for functions which it implements
6285 to always fail with ENOSYS. Some functions are actually named
6286 something starting with __ and the normal name is an alias. */
6287#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6288choke me
6289#else
6290f = $ac_func;
6291#endif
6292
6293 ;
6294 return 0;
6295}
6296_ACEOF
6297rm -f conftest.$ac_objext conftest$ac_exeext
6298if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6299 (eval $ac_link) 2>&5
6300 ac_status=$?
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); } &&
6303 { ac_try='test -s conftest$ac_exeext'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 (eval $ac_try) 2>&5
6306 ac_status=$?
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then
6309 eval "$as_ac_var=yes"
6310else
6311 echo "$as_me: failed program was:" >&5
6312cat conftest.$ac_ext >&5
6313eval "$as_ac_var=no"
6314fi
6315rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6316fi
6317echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6318echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6319if test `eval echo '${'$as_ac_var'}'` = yes; then
6320 cat >>confdefs.h <<_ACEOF
6321@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6322_ACEOF
6323
6324fi
6325done
6326
6327
6328
6329for ac_func in strftime
6330do
6331as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6332echo "$as_me:$LINENO: checking for $ac_func" >&5
6333echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6334if eval "test \"\${$as_ac_var+set}\" = set"; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6336else
6337 cat >conftest.$ac_ext <<_ACEOF
6338#line $LINENO "configure"
6339#include "confdefs.h"
6340/* System header to define __stub macros and hopefully few prototypes,
6341 which can conflict with char $ac_func (); below. */
6342#include <assert.h>
6343/* Override any gcc2 internal prototype to avoid an error. */
6344#ifdef __cplusplus
6345extern "C"
6346#endif
6347/* We use char because int might match the return type of a gcc2
6348 builtin and then its argument prototype would still apply. */
6349char $ac_func ();
6350char (*f) ();
6351
6352#ifdef F77_DUMMY_MAIN
6353# ifdef __cplusplus
6354 extern "C"
6355# endif
6356 int F77_DUMMY_MAIN() { return 1; }
6357#endif
6358int
6359main ()
6360{
6361/* The GNU C library defines this for functions which it implements
6362 to always fail with ENOSYS. Some functions are actually named
6363 something starting with __ and the normal name is an alias. */
6364#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6365choke me
6366#else
6367f = $ac_func;
6368#endif
6369
6370 ;
6371 return 0;
6372}
6373_ACEOF
6374rm -f conftest.$ac_objext conftest$ac_exeext
6375if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6376 (eval $ac_link) 2>&5
6377 ac_status=$?
6378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379 (exit $ac_status); } &&
6380 { ac_try='test -s conftest$ac_exeext'
6381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6382 (eval $ac_try) 2>&5
6383 ac_status=$?
6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385 (exit $ac_status); }; }; then
6386 eval "$as_ac_var=yes"
6387else
6388 echo "$as_me: failed program was:" >&5
6389cat conftest.$ac_ext >&5
6390eval "$as_ac_var=no"
6391fi
6392rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6393fi
6394echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6395echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6396if test `eval echo '${'$as_ac_var'}'` = yes; then
6397 cat >>confdefs.h <<_ACEOF
6398@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6399_ACEOF
6400
6401else
6402 # strftime is in -lintl on SCO UNIX.
6403echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
6404echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
6405if test "${ac_cv_lib_intl_strftime+set}" = set; then
6406 echo $ECHO_N "(cached) $ECHO_C" >&6
6407else
6408 ac_check_lib_save_LIBS=$LIBS
6409LIBS="-lintl $LIBS"
6410cat >conftest.$ac_ext <<_ACEOF
6411#line $LINENO "configure"
6412#include "confdefs.h"
6413
6414/* Override any gcc2 internal prototype to avoid an error. */
6415#ifdef __cplusplus
6416extern "C"
6417#endif
6418/* We use char because int might match the return type of a gcc2
6419 builtin and then its argument prototype would still apply. */
6420char strftime ();
6421#ifdef F77_DUMMY_MAIN
6422# ifdef __cplusplus
6423 extern "C"
6424# endif
6425 int F77_DUMMY_MAIN() { return 1; }
6426#endif
6427int
6428main ()
6429{
6430strftime ();
6431 ;
6432 return 0;
6433}
6434_ACEOF
6435rm -f conftest.$ac_objext conftest$ac_exeext
6436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6437 (eval $ac_link) 2>&5
6438 ac_status=$?
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } &&
6441 { ac_try='test -s conftest$ac_exeext'
6442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 (eval $ac_try) 2>&5
6444 ac_status=$?
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); }; }; then
6447 ac_cv_lib_intl_strftime=yes
6448else
6449 echo "$as_me: failed program was:" >&5
6450cat conftest.$ac_ext >&5
6451ac_cv_lib_intl_strftime=no
6452fi
6453rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6454LIBS=$ac_check_lib_save_LIBS
6455fi
6456echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
6457echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
6458if test $ac_cv_lib_intl_strftime = yes; then
6459 cat >>confdefs.h <<\_ACEOF
6460@%:@define HAVE_STRFTIME 1
6461_ACEOF
6462
6463LIBS="-lintl $LIBS"
6464fi
6465
6466fi
6467done
6468
6469
6470# Check for ALTDIRFUNC glob() extension
6471echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5
6472echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6
6473cat >conftest.$ac_ext <<_ACEOF
6474#line $LINENO "configure"
6475#include "confdefs.h"
6476
6477 #include <glob.h>
6478 #ifdef GLOB_ALTDIRFUNC
6479 FOUNDIT
6480 #endif
6481
6482_ACEOF
6483if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 egrep "FOUNDIT" >/dev/null 2>&1; then
6485
6486 cat >>confdefs.h <<\_ACEOF
6487@%:@define GLOB_HAS_ALTDIRFUNC 1
6488_ACEOF
6489
6490 echo "$as_me:$LINENO: result: yes" >&5
6491echo "${ECHO_T}yes" >&6
6492
6493else
6494
6495 echo "$as_me:$LINENO: result: no" >&5
6496echo "${ECHO_T}no" >&6
6497
6498
6499fi
6500rm -f conftest*
6501
6502
6503# Check for g.gl_matchc glob() extension
6504echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5
6505echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6
6506cat >conftest.$ac_ext <<_ACEOF
6507#line $LINENO "configure"
6508#include "confdefs.h"
6509
6510 #include <glob.h>
6511 int main(void){glob_t g; g.gl_matchc = 1;}
6512
6513_ACEOF
6514if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6515 egrep "FOUNDIT" >/dev/null 2>&1; then
6516
6517 cat >>confdefs.h <<\_ACEOF
6518@%:@define GLOB_HAS_GL_MATCHC 1
6519_ACEOF
6520
6521 echo "$as_me:$LINENO: result: yes" >&5
6522echo "${ECHO_T}yes" >&6
6523
6524else
6525
6526 echo "$as_me:$LINENO: result: no" >&5
6527echo "${ECHO_T}no" >&6
6528
6529
6530fi
6531rm -f conftest*
6532
6533
6534echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
6535echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6
6536if test "$cross_compiling" = yes; then
6537 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6538echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6539 { (exit 1); exit 1; }; }
6540else
6541 cat >conftest.$ac_ext <<_ACEOF
6542#line $LINENO "configure"
6543#include "confdefs.h"
6544
6545#include <sys/types.h>
6546#include <dirent.h>
6547int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
6548
6549_ACEOF
6550rm -f conftest$ac_exeext
6551if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6552 (eval $ac_link) 2>&5
6553 ac_status=$?
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6557 (eval $ac_try) 2>&5
6558 ac_status=$?
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); }; }; then
6561 echo "$as_me:$LINENO: result: yes" >&5
6562echo "${ECHO_T}yes" >&6
6563else
6564 echo "$as_me: program exited with status $ac_status" >&5
6565echo "$as_me: failed program was:" >&5
6566cat conftest.$ac_ext >&5
6567( exit $ac_status )
6568
6569 echo "$as_me:$LINENO: result: no" >&5
6570echo "${ECHO_T}no" >&6
6571 cat >>confdefs.h <<\_ACEOF
6572@%:@define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
6573_ACEOF
6574
6575
6576
6577fi
6578rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6579fi
6580
6581# Check whether user wants S/Key support
6582SKEY_MSG="no"
6583
6584# Check whether --with-skey or --without-skey was given.
6585if test "${with_skey+set}" = set; then
6586 withval="$with_skey"
6587
6588 if test "x$withval" != "xno" ; then
6589
6590 if test "x$withval" != "xyes" ; then
6591 CPPFLAGS="$CPPFLAGS -I${withval}/include"
6592 LDFLAGS="$LDFLAGS -L${withval}/lib"
6593 fi
6594
6595 cat >>confdefs.h <<\_ACEOF
6596@%:@define SKEY 1
6597_ACEOF
6598
6599 LIBS="-lskey $LIBS"
6600 SKEY_MSG="yes"
6601
6602 echo "$as_me:$LINENO: checking for s/key support" >&5
6603echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
6604 if test "$cross_compiling" = yes; then
6605 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
6606echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6607 { (exit 1); exit 1; }; }
6608else
6609 cat >conftest.$ac_ext <<_ACEOF
6610#line $LINENO "configure"
6611#include "confdefs.h"
6612
6613#include <stdio.h>
6614#include <skey.h>
6615int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
6616
6617_ACEOF
6618rm -f conftest$ac_exeext
6619if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6620 (eval $ac_link) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 (eval $ac_try) 2>&5
6626 ac_status=$?
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); }; }; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630echo "${ECHO_T}yes" >&6
6631else
6632 echo "$as_me: program exited with status $ac_status" >&5
6633echo "$as_me: failed program was:" >&5
6634cat conftest.$ac_ext >&5
6635( exit $ac_status )
6636
6637 echo "$as_me:$LINENO: result: no" >&5
6638echo "${ECHO_T}no" >&6
6639 { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5
6640echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
6641 { (exit 1); exit 1; }; }
6642
6643fi
6644rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6645fi
6646 fi
6647
6648
6649fi;
6650
6651# Check whether user wants TCP wrappers support
6652TCPW_MSG="no"
6653
6654# Check whether --with-tcp-wrappers or --without-tcp-wrappers was given.
6655if test "${with_tcp_wrappers+set}" = set; then
6656 withval="$with_tcp_wrappers"
6657
6658 if test "x$withval" != "xno" ; then
6659 saved_LIBS="$LIBS"
6660 saved_LDFLAGS="$LDFLAGS"
6661 saved_CPPFLAGS="$CPPFLAGS"
6662 if test -n "${withval}" -a "${withval}" != "yes"; then
6663 if test -d "${withval}/lib"; then
6664 if test -n "${need_dash_r}"; then
6665 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
6666 else
6667 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
6668 fi
6669 else
6670 if test -n "${need_dash_r}"; then
6671 LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}"
6672 else
6673 LDFLAGS="-L${withval} ${LDFLAGS}"
6674 fi
6675 fi
6676 if test -d "${withval}/include"; then
6677 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
6678 else
6679 CPPFLAGS="-I${withval} ${CPPFLAGS}"
6680 fi
6681 fi
6682 LIBWRAP="-lwrap"
6683 LIBS="$LIBWRAP $LIBS"
6684 echo "$as_me:$LINENO: checking for libwrap" >&5
6685echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
6686 cat >conftest.$ac_ext <<_ACEOF
6687#line $LINENO "configure"
6688#include "confdefs.h"
6689
6690#include <tcpd.h>
6691 int deny_severity = 0, allow_severity = 0;
6692
6693#ifdef F77_DUMMY_MAIN
6694# ifdef __cplusplus
6695 extern "C"
6696# endif
6697 int F77_DUMMY_MAIN() { return 1; }
6698#endif
6699int
6700main ()
6701{
6702hosts_access(0);
6703 ;
6704 return 0;
6705}
6706_ACEOF
6707rm -f conftest.$ac_objext conftest$ac_exeext
6708if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6709 (eval $ac_link) 2>&5
6710 ac_status=$?
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } &&
6713 { ac_try='test -s conftest$ac_exeext'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715 (eval $ac_try) 2>&5
6716 ac_status=$?
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; }; then
6719
6720 echo "$as_me:$LINENO: result: yes" >&5
6721echo "${ECHO_T}yes" >&6
6722 cat >>confdefs.h <<\_ACEOF
6723@%:@define LIBWRAP 1
6724_ACEOF
6725
6726
6727 TCPW_MSG="yes"
6728
6729else
6730 echo "$as_me: failed program was:" >&5
6731cat conftest.$ac_ext >&5
6732
6733 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
6734echo "$as_me: error: *** libwrap missing" >&2;}
6735 { (exit 1); exit 1; }; }
6736
6737
6738fi
6739rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6740 LIBS="$saved_LIBS"
6741 fi
6742
6743
6744fi;
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819for ac_func in \
6820 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \
6821 bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
6822 gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
6823 getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \
6824 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
6825 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \
6826 readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \
6827 setegid setenv seteuid setgroups setlogin setpcred setproctitle \
6828 setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \
6829 snprintf socketpair strerror strlcat strlcpy strmode strnvis \
6830 sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \
6831
6832do
6833as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6834echo "$as_me:$LINENO: checking for $ac_func" >&5
6835echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6836if eval "test \"\${$as_ac_var+set}\" = set"; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6838else
6839 cat >conftest.$ac_ext <<_ACEOF
6840#line $LINENO "configure"
6841#include "confdefs.h"
6842/* System header to define __stub macros and hopefully few prototypes,
6843 which can conflict with char $ac_func (); below. */
6844#include <assert.h>
6845/* Override any gcc2 internal prototype to avoid an error. */
6846#ifdef __cplusplus
6847extern "C"
6848#endif
6849/* We use char because int might match the return type of a gcc2
6850 builtin and then its argument prototype would still apply. */
6851char $ac_func ();
6852char (*f) ();
6853
6854#ifdef F77_DUMMY_MAIN
6855# ifdef __cplusplus
6856 extern "C"
6857# endif
6858 int F77_DUMMY_MAIN() { return 1; }
6859#endif
6860int
6861main ()
6862{
6863/* The GNU C library defines this for functions which it implements
6864 to always fail with ENOSYS. Some functions are actually named
6865 something starting with __ and the normal name is an alias. */
6866#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6867choke me
6868#else
6869f = $ac_func;
6870#endif
6871
6872 ;
6873 return 0;
6874}
6875_ACEOF
6876rm -f conftest.$ac_objext conftest$ac_exeext
6877if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6878 (eval $ac_link) 2>&5
6879 ac_status=$?
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } &&
6882 { ac_try='test -s conftest$ac_exeext'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 (eval $ac_try) 2>&5
6885 ac_status=$?
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); }; }; then
6888 eval "$as_ac_var=yes"
6889else
6890 echo "$as_me: failed program was:" >&5
6891cat conftest.$ac_ext >&5
6892eval "$as_ac_var=no"
6893fi
6894rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6895fi
6896echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6897echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6898if test `eval echo '${'$as_ac_var'}'` = yes; then
6899 cat >>confdefs.h <<_ACEOF
6900@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6901_ACEOF
6902
6903fi
6904done
6905
6906
6907echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
6908echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
6909if test "${ac_cv_search_nanosleep+set}" = set; then
6910 echo $ECHO_N "(cached) $ECHO_C" >&6
6911else
6912 ac_func_search_save_LIBS=$LIBS
6913ac_cv_search_nanosleep=no
6914cat >conftest.$ac_ext <<_ACEOF
6915#line $LINENO "configure"
6916#include "confdefs.h"
6917
6918/* Override any gcc2 internal prototype to avoid an error. */
6919#ifdef __cplusplus
6920extern "C"
6921#endif
6922/* We use char because int might match the return type of a gcc2
6923 builtin and then its argument prototype would still apply. */
6924char nanosleep ();
6925#ifdef F77_DUMMY_MAIN
6926# ifdef __cplusplus
6927 extern "C"
6928# endif
6929 int F77_DUMMY_MAIN() { return 1; }
6930#endif
6931int
6932main ()
6933{
6934nanosleep ();
6935 ;
6936 return 0;
6937}
6938_ACEOF
6939rm -f conftest.$ac_objext conftest$ac_exeext
6940if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6941 (eval $ac_link) 2>&5
6942 ac_status=$?
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } &&
6945 { ac_try='test -s conftest$ac_exeext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 (eval $ac_try) 2>&5
6948 ac_status=$?
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 ac_cv_search_nanosleep="none required"
6952else
6953 echo "$as_me: failed program was:" >&5
6954cat conftest.$ac_ext >&5
6955fi
6956rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6957if test "$ac_cv_search_nanosleep" = no; then
6958 for ac_lib in rt posix4; do
6959 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6960 cat >conftest.$ac_ext <<_ACEOF
6961#line $LINENO "configure"
6962#include "confdefs.h"
6963
6964/* Override any gcc2 internal prototype to avoid an error. */
6965#ifdef __cplusplus
6966extern "C"
6967#endif
6968/* We use char because int might match the return type of a gcc2
6969 builtin and then its argument prototype would still apply. */
6970char nanosleep ();
6971#ifdef F77_DUMMY_MAIN
6972# ifdef __cplusplus
6973 extern "C"
6974# endif
6975 int F77_DUMMY_MAIN() { return 1; }
6976#endif
6977int
6978main ()
6979{
6980nanosleep ();
6981 ;
6982 return 0;
6983}
6984_ACEOF
6985rm -f conftest.$ac_objext conftest$ac_exeext
6986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6987 (eval $ac_link) 2>&5
6988 ac_status=$?
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } &&
6991 { ac_try='test -s conftest$ac_exeext'
6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993 (eval $ac_try) 2>&5
6994 ac_status=$?
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); }; }; then
6997 ac_cv_search_nanosleep="-l$ac_lib"
6998break
6999else
7000 echo "$as_me: failed program was:" >&5
7001cat conftest.$ac_ext >&5
7002fi
7003rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7004 done
7005fi
7006LIBS=$ac_func_search_save_LIBS
7007fi
7008echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
7009echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
7010if test "$ac_cv_search_nanosleep" != no; then
7011 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
7012 cat >>confdefs.h <<\_ACEOF
7013@%:@define HAVE_NANOSLEEP 1
7014_ACEOF
7015
7016fi
7017
7018
7019echo "$as_me:$LINENO: checking whether strsep is declared" >&5
7020echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
7021if test "${ac_cv_have_decl_strsep+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7023else
7024 cat >conftest.$ac_ext <<_ACEOF
7025#line $LINENO "configure"
7026#include "confdefs.h"
7027$ac_includes_default
7028#ifdef F77_DUMMY_MAIN
7029# ifdef __cplusplus
7030 extern "C"
7031# endif
7032 int F77_DUMMY_MAIN() { return 1; }
7033#endif
7034int
7035main ()
7036{
7037#ifndef strsep
7038 char *p = (char *) strsep;
7039#endif
7040
7041 ;
7042 return 0;
7043}
7044_ACEOF
7045rm -f conftest.$ac_objext
7046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7047 (eval $ac_compile) 2>&5
7048 ac_status=$?
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try='test -s conftest.$ac_objext'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 (eval $ac_try) 2>&5
7054 ac_status=$?
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; }; then
7057 ac_cv_have_decl_strsep=yes
7058else
7059 echo "$as_me: failed program was:" >&5
7060cat conftest.$ac_ext >&5
7061ac_cv_have_decl_strsep=no
7062fi
7063rm -f conftest.$ac_objext conftest.$ac_ext
7064fi
7065echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
7066echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6
7067if test $ac_cv_have_decl_strsep = yes; then
7068
7069for ac_func in strsep
7070do
7071as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7072echo "$as_me:$LINENO: checking for $ac_func" >&5
7073echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7074if eval "test \"\${$as_ac_var+set}\" = set"; then
7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7076else
7077 cat >conftest.$ac_ext <<_ACEOF
7078#line $LINENO "configure"
7079#include "confdefs.h"
7080/* System header to define __stub macros and hopefully few prototypes,
7081 which can conflict with char $ac_func (); below. */
7082#include <assert.h>
7083/* Override any gcc2 internal prototype to avoid an error. */
7084#ifdef __cplusplus
7085extern "C"
7086#endif
7087/* We use char because int might match the return type of a gcc2
7088 builtin and then its argument prototype would still apply. */
7089char $ac_func ();
7090char (*f) ();
7091
7092#ifdef F77_DUMMY_MAIN
7093# ifdef __cplusplus
7094 extern "C"
7095# endif
7096 int F77_DUMMY_MAIN() { return 1; }
7097#endif
7098int
7099main ()
7100{
7101/* The GNU C library defines this for functions which it implements
7102 to always fail with ENOSYS. Some functions are actually named
7103 something starting with __ and the normal name is an alias. */
7104#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7105choke me
7106#else
7107f = $ac_func;
7108#endif
7109
7110 ;
7111 return 0;
7112}
7113_ACEOF
7114rm -f conftest.$ac_objext conftest$ac_exeext
7115if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7116 (eval $ac_link) 2>&5
7117 ac_status=$?
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); } &&
7120 { ac_try='test -s conftest$ac_exeext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 (eval $ac_try) 2>&5
7123 ac_status=$?
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 eval "$as_ac_var=yes"
7127else
7128 echo "$as_me: failed program was:" >&5
7129cat conftest.$ac_ext >&5
7130eval "$as_ac_var=no"
7131fi
7132rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7133fi
7134echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7135echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7136if test `eval echo '${'$as_ac_var'}'` = yes; then
7137 cat >>confdefs.h <<_ACEOF
7138@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7139_ACEOF
7140
7141fi
7142done
7143
7144fi
7145
7146
7147
7148for ac_func in dirname
7149do
7150as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7151echo "$as_me:$LINENO: checking for $ac_func" >&5
7152echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7153if eval "test \"\${$as_ac_var+set}\" = set"; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7155else
7156 cat >conftest.$ac_ext <<_ACEOF
7157#line $LINENO "configure"
7158#include "confdefs.h"
7159/* System header to define __stub macros and hopefully few prototypes,
7160 which can conflict with char $ac_func (); below. */
7161#include <assert.h>
7162/* Override any gcc2 internal prototype to avoid an error. */
7163#ifdef __cplusplus
7164extern "C"
7165#endif
7166/* We use char because int might match the return type of a gcc2
7167 builtin and then its argument prototype would still apply. */
7168char $ac_func ();
7169char (*f) ();
7170
7171#ifdef F77_DUMMY_MAIN
7172# ifdef __cplusplus
7173 extern "C"
7174# endif
7175 int F77_DUMMY_MAIN() { return 1; }
7176#endif
7177int
7178main ()
7179{
7180/* The GNU C library defines this for functions which it implements
7181 to always fail with ENOSYS. Some functions are actually named
7182 something starting with __ and the normal name is an alias. */
7183#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7184choke me
7185#else
7186f = $ac_func;
7187#endif
7188
7189 ;
7190 return 0;
7191}
7192_ACEOF
7193rm -f conftest.$ac_objext conftest$ac_exeext
7194if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7195 (eval $ac_link) 2>&5
7196 ac_status=$?
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); } &&
7199 { ac_try='test -s conftest$ac_exeext'
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7201 (eval $ac_try) 2>&5
7202 ac_status=$?
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; }; then
7205 eval "$as_ac_var=yes"
7206else
7207 echo "$as_me: failed program was:" >&5
7208cat conftest.$ac_ext >&5
7209eval "$as_ac_var=no"
7210fi
7211rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7212fi
7213echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7214echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7215if test `eval echo '${'$as_ac_var'}'` = yes; then
7216 cat >>confdefs.h <<_ACEOF
7217@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7218_ACEOF
7219
7220for ac_header in libgen.h
7221do
7222as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223if eval "test \"\${$as_ac_Header+set}\" = set"; then
7224 echo "$as_me:$LINENO: checking for $ac_header" >&5
7225echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7226if eval "test \"\${$as_ac_Header+set}\" = set"; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7228fi
7229echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7230echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7231else
7232 # Is the header compilable?
7233echo "$as_me:$LINENO: checking $ac_header usability" >&5
7234echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7235cat >conftest.$ac_ext <<_ACEOF
7236#line $LINENO "configure"
7237#include "confdefs.h"
7238$ac_includes_default
7239@%:@include <$ac_header>
7240_ACEOF
7241rm -f conftest.$ac_objext
7242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7243 (eval $ac_compile) 2>&5
7244 ac_status=$?
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try='test -s conftest.$ac_objext'
7248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249 (eval $ac_try) 2>&5
7250 ac_status=$?
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); }; }; then
7253 ac_header_compiler=yes
7254else
7255 echo "$as_me: failed program was:" >&5
7256cat conftest.$ac_ext >&5
7257ac_header_compiler=no
7258fi
7259rm -f conftest.$ac_objext conftest.$ac_ext
7260echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7261echo "${ECHO_T}$ac_header_compiler" >&6
7262
7263# Is the header present?
7264echo "$as_me:$LINENO: checking $ac_header presence" >&5
7265echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7266cat >conftest.$ac_ext <<_ACEOF
7267#line $LINENO "configure"
7268#include "confdefs.h"
7269@%:@include <$ac_header>
7270_ACEOF
7271if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7273 ac_status=$?
7274 egrep -v '^ *\+' conftest.er1 >conftest.err
7275 rm -f conftest.er1
7276 cat conftest.err >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); } >/dev/null; then
7279 if test -s conftest.err; then
7280 ac_cpp_err=$ac_c_preproc_warn_flag
7281 else
7282 ac_cpp_err=
7283 fi
7284else
7285 ac_cpp_err=yes
7286fi
7287if test -z "$ac_cpp_err"; then
7288 ac_header_preproc=yes
7289else
7290 echo "$as_me: failed program was:" >&5
7291 cat conftest.$ac_ext >&5
7292 ac_header_preproc=no
7293fi
7294rm -f conftest.err conftest.$ac_ext
7295echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7296echo "${ECHO_T}$ac_header_preproc" >&6
7297
7298# So? What about this header?
7299case $ac_header_compiler:$ac_header_preproc in
7300 yes:no )
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7302echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7304echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7305 no:yes )
7306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7307echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7309echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7311echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7312esac
7313echo "$as_me:$LINENO: checking for $ac_header" >&5
7314echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7315if eval "test \"\${$as_ac_Header+set}\" = set"; then
7316 echo $ECHO_N "(cached) $ECHO_C" >&6
7317else
7318 eval "$as_ac_Header=$ac_header_preproc"
7319fi
7320echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7321echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7322
7323fi
7324if test `eval echo '${'$as_ac_Header'}'` = yes; then
7325 cat >>confdefs.h <<_ACEOF
7326@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7327_ACEOF
7328
7329fi
7330
7331done
7332
7333else
7334
7335 echo "$as_me:$LINENO: checking for dirname in -lgen" >&5
7336echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6
7337if test "${ac_cv_lib_gen_dirname+set}" = set; then
7338 echo $ECHO_N "(cached) $ECHO_C" >&6
7339else
7340 ac_check_lib_save_LIBS=$LIBS
7341LIBS="-lgen $LIBS"
7342cat >conftest.$ac_ext <<_ACEOF
7343#line $LINENO "configure"
7344#include "confdefs.h"
7345
7346/* Override any gcc2 internal prototype to avoid an error. */
7347#ifdef __cplusplus
7348extern "C"
7349#endif
7350/* We use char because int might match the return type of a gcc2
7351 builtin and then its argument prototype would still apply. */
7352char dirname ();
7353#ifdef F77_DUMMY_MAIN
7354# ifdef __cplusplus
7355 extern "C"
7356# endif
7357 int F77_DUMMY_MAIN() { return 1; }
7358#endif
7359int
7360main ()
7361{
7362dirname ();
7363 ;
7364 return 0;
7365}
7366_ACEOF
7367rm -f conftest.$ac_objext conftest$ac_exeext
7368if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7369 (eval $ac_link) 2>&5
7370 ac_status=$?
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } &&
7373 { ac_try='test -s conftest$ac_exeext'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 (eval $ac_try) 2>&5
7376 ac_status=$?
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then
7379 ac_cv_lib_gen_dirname=yes
7380else
7381 echo "$as_me: failed program was:" >&5
7382cat conftest.$ac_ext >&5
7383ac_cv_lib_gen_dirname=no
7384fi
7385rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7386LIBS=$ac_check_lib_save_LIBS
7387fi
7388echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5
7389echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6
7390if test $ac_cv_lib_gen_dirname = yes; then
7391
7392 echo "$as_me:$LINENO: checking for broken dirname" >&5
7393echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6
7394if test "${ac_cv_have_broken_dirname+set}" = set; then
7395 echo $ECHO_N "(cached) $ECHO_C" >&6
7396else
7397
7398 save_LIBS="$LIBS"
7399 LIBS="$LIBS -lgen"
7400 if test "$cross_compiling" = yes; then
7401 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
7402echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7403 { (exit 1); exit 1; }; }
7404else
7405 cat >conftest.$ac_ext <<_ACEOF
7406#line $LINENO "configure"
7407#include "confdefs.h"
7408
7409#include <libgen.h>
7410#include <string.h>
7411
7412int main(int argc, char **argv) {
7413 char *s, buf[32];
7414
7415 strncpy(buf,"/etc", 32);
7416 s = dirname(buf);
7417 if (!s || strncmp(s, "/", 32) != 0) {
7418 exit(1);
7419 } else {
7420 exit(0);
7421 }
7422}
7423
7424_ACEOF
7425rm -f conftest$ac_exeext
7426if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7427 (eval $ac_link) 2>&5
7428 ac_status=$?
7429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 (eval $ac_try) 2>&5
7433 ac_status=$?
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; }; then
7436 ac_cv_have_broken_dirname="no"
7437else
7438 echo "$as_me: program exited with status $ac_status" >&5
7439echo "$as_me: failed program was:" >&5
7440cat conftest.$ac_ext >&5
7441( exit $ac_status )
7442 ac_cv_have_broken_dirname="yes"
7443
7444fi
7445rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7446fi
7447 LIBS="$save_LIBS"
7448
7449fi
7450echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5
7451echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6
7452 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
7453 LIBS="$LIBS -lgen"
7454 cat >>confdefs.h <<\_ACEOF
7455@%:@define HAVE_DIRNAME 1
7456_ACEOF
7457
7458
7459for ac_header in libgen.h
7460do
7461as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7462if eval "test \"\${$as_ac_Header+set}\" = set"; then
7463 echo "$as_me:$LINENO: checking for $ac_header" >&5
7464echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7465if eval "test \"\${$as_ac_Header+set}\" = set"; then
7466 echo $ECHO_N "(cached) $ECHO_C" >&6
7467fi
7468echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7469echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7470else
7471 # Is the header compilable?
7472echo "$as_me:$LINENO: checking $ac_header usability" >&5
7473echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7474cat >conftest.$ac_ext <<_ACEOF
7475#line $LINENO "configure"
7476#include "confdefs.h"
7477$ac_includes_default
7478@%:@include <$ac_header>
7479_ACEOF
7480rm -f conftest.$ac_objext
7481if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7482 (eval $ac_compile) 2>&5
7483 ac_status=$?
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } &&
7486 { ac_try='test -s conftest.$ac_objext'
7487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 (eval $ac_try) 2>&5
7489 ac_status=$?
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); }; }; then
7492 ac_header_compiler=yes
7493else
7494 echo "$as_me: failed program was:" >&5
7495cat conftest.$ac_ext >&5
7496ac_header_compiler=no
7497fi
7498rm -f conftest.$ac_objext conftest.$ac_ext
7499echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7500echo "${ECHO_T}$ac_header_compiler" >&6
7501
7502# Is the header present?
7503echo "$as_me:$LINENO: checking $ac_header presence" >&5
7504echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7505cat >conftest.$ac_ext <<_ACEOF
7506#line $LINENO "configure"
7507#include "confdefs.h"
7508@%:@include <$ac_header>
7509_ACEOF
7510if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7512 ac_status=$?
7513 egrep -v '^ *\+' conftest.er1 >conftest.err
7514 rm -f conftest.er1
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } >/dev/null; then
7518 if test -s conftest.err; then
7519 ac_cpp_err=$ac_c_preproc_warn_flag
7520 else
7521 ac_cpp_err=
7522 fi
7523else
7524 ac_cpp_err=yes
7525fi
7526if test -z "$ac_cpp_err"; then
7527 ac_header_preproc=yes
7528else
7529 echo "$as_me: failed program was:" >&5
7530 cat conftest.$ac_ext >&5
7531 ac_header_preproc=no
7532fi
7533rm -f conftest.err conftest.$ac_ext
7534echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7535echo "${ECHO_T}$ac_header_preproc" >&6
7536
7537# So? What about this header?
7538case $ac_header_compiler:$ac_header_preproc in
7539 yes:no )
7540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7541echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7543echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7544 no:yes )
7545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7546echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7548echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7550echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7551esac
7552echo "$as_me:$LINENO: checking for $ac_header" >&5
7553echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7554if eval "test \"\${$as_ac_Header+set}\" = set"; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7556else
7557 eval "$as_ac_Header=$ac_header_preproc"
7558fi
7559echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7560echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7561
7562fi
7563if test `eval echo '${'$as_ac_Header'}'` = yes; then
7564 cat >>confdefs.h <<_ACEOF
7565@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7566_ACEOF
7567
7568fi
7569
7570done
7571
7572 fi
7573
7574fi
7575
7576
7577fi
7578done
7579
7580
7581
7582
7583for ac_func in gettimeofday time
7584do
7585as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7586echo "$as_me:$LINENO: checking for $ac_func" >&5
7587echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7588if eval "test \"\${$as_ac_var+set}\" = set"; then
7589 echo $ECHO_N "(cached) $ECHO_C" >&6
7590else
7591 cat >conftest.$ac_ext <<_ACEOF
7592#line $LINENO "configure"
7593#include "confdefs.h"
7594/* System header to define __stub macros and hopefully few prototypes,
7595 which can conflict with char $ac_func (); below. */
7596#include <assert.h>
7597/* Override any gcc2 internal prototype to avoid an error. */
7598#ifdef __cplusplus
7599extern "C"
7600#endif
7601/* We use char because int might match the return type of a gcc2
7602 builtin and then its argument prototype would still apply. */
7603char $ac_func ();
7604char (*f) ();
7605
7606#ifdef F77_DUMMY_MAIN
7607# ifdef __cplusplus
7608 extern "C"
7609# endif
7610 int F77_DUMMY_MAIN() { return 1; }
7611#endif
7612int
7613main ()
7614{
7615/* The GNU C library defines this for functions which it implements
7616 to always fail with ENOSYS. Some functions are actually named
7617 something starting with __ and the normal name is an alias. */
7618#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7619choke me
7620#else
7621f = $ac_func;
7622#endif
7623
7624 ;
7625 return 0;
7626}
7627_ACEOF
7628rm -f conftest.$ac_objext conftest$ac_exeext
7629if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7630 (eval $ac_link) 2>&5
7631 ac_status=$?
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); } &&
7634 { ac_try='test -s conftest$ac_exeext'
7635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7636 (eval $ac_try) 2>&5
7637 ac_status=$?
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); }; }; then
7640 eval "$as_ac_var=yes"
7641else
7642 echo "$as_me: failed program was:" >&5
7643cat conftest.$ac_ext >&5
7644eval "$as_ac_var=no"
7645fi
7646rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7647fi
7648echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7649echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7650if test `eval echo '${'$as_ac_var'}'` = yes; then
7651 cat >>confdefs.h <<_ACEOF
7652@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7653_ACEOF
7654
7655fi
7656done
7657
7658
7659
7660
7661
7662
7663
7664for ac_func in endutent getutent getutid getutline pututline setutent
7665do
7666as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7667echo "$as_me:$LINENO: checking for $ac_func" >&5
7668echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7669if eval "test \"\${$as_ac_var+set}\" = set"; then
7670 echo $ECHO_N "(cached) $ECHO_C" >&6
7671else
7672 cat >conftest.$ac_ext <<_ACEOF
7673#line $LINENO "configure"
7674#include "confdefs.h"
7675/* System header to define __stub macros and hopefully few prototypes,
7676 which can conflict with char $ac_func (); below. */
7677#include <assert.h>
7678/* Override any gcc2 internal prototype to avoid an error. */
7679#ifdef __cplusplus
7680extern "C"
7681#endif
7682/* We use char because int might match the return type of a gcc2
7683 builtin and then its argument prototype would still apply. */
7684char $ac_func ();
7685char (*f) ();
7686
7687#ifdef F77_DUMMY_MAIN
7688# ifdef __cplusplus
7689 extern "C"
7690# endif
7691 int F77_DUMMY_MAIN() { return 1; }
7692#endif
7693int
7694main ()
7695{
7696/* The GNU C library defines this for functions which it implements
7697 to always fail with ENOSYS. Some functions are actually named
7698 something starting with __ and the normal name is an alias. */
7699#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7700choke me
7701#else
7702f = $ac_func;
7703#endif
7704
7705 ;
7706 return 0;
7707}
7708_ACEOF
7709rm -f conftest.$ac_objext conftest$ac_exeext
7710if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7711 (eval $ac_link) 2>&5
7712 ac_status=$?
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } &&
7715 { ac_try='test -s conftest$ac_exeext'
7716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 (eval $ac_try) 2>&5
7718 ac_status=$?
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; }; then
7721 eval "$as_ac_var=yes"
7722else
7723 echo "$as_me: failed program was:" >&5
7724cat conftest.$ac_ext >&5
7725eval "$as_ac_var=no"
7726fi
7727rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7728fi
7729echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7730echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7731if test `eval echo '${'$as_ac_var'}'` = yes; then
7732 cat >>confdefs.h <<_ACEOF
7733@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7734_ACEOF
7735
7736fi
7737done
7738
7739
7740for ac_func in utmpname
7741do
7742as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7743echo "$as_me:$LINENO: checking for $ac_func" >&5
7744echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7745if eval "test \"\${$as_ac_var+set}\" = set"; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7747else
7748 cat >conftest.$ac_ext <<_ACEOF
7749#line $LINENO "configure"
7750#include "confdefs.h"
7751/* System header to define __stub macros and hopefully few prototypes,
7752 which can conflict with char $ac_func (); below. */
7753#include <assert.h>
7754/* Override any gcc2 internal prototype to avoid an error. */
7755#ifdef __cplusplus
7756extern "C"
7757#endif
7758/* We use char because int might match the return type of a gcc2
7759 builtin and then its argument prototype would still apply. */
7760char $ac_func ();
7761char (*f) ();
7762
7763#ifdef F77_DUMMY_MAIN
7764# ifdef __cplusplus
7765 extern "C"
7766# endif
7767 int F77_DUMMY_MAIN() { return 1; }
7768#endif
7769int
7770main ()
7771{
7772/* The GNU C library defines this for functions which it implements
7773 to always fail with ENOSYS. Some functions are actually named
7774 something starting with __ and the normal name is an alias. */
7775#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7776choke me
7777#else
7778f = $ac_func;
7779#endif
7780
7781 ;
7782 return 0;
7783}
7784_ACEOF
7785rm -f conftest.$ac_objext conftest$ac_exeext
7786if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7787 (eval $ac_link) 2>&5
7788 ac_status=$?
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); } &&
7791 { ac_try='test -s conftest$ac_exeext'
7792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7793 (eval $ac_try) 2>&5
7794 ac_status=$?
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); }; }; then
7797 eval "$as_ac_var=yes"
7798else
7799 echo "$as_me: failed program was:" >&5
7800cat conftest.$ac_ext >&5
7801eval "$as_ac_var=no"
7802fi
7803rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7804fi
7805echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7806echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7807if test `eval echo '${'$as_ac_var'}'` = yes; then
7808 cat >>confdefs.h <<_ACEOF
7809@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7810_ACEOF
7811
7812fi
7813done
7814
7815
7816
7817
7818
7819
7820for ac_func in endutxent getutxent getutxid getutxline pututxline
7821do
7822as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7823echo "$as_me:$LINENO: checking for $ac_func" >&5
7824echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7825if eval "test \"\${$as_ac_var+set}\" = set"; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7827else
7828 cat >conftest.$ac_ext <<_ACEOF
7829#line $LINENO "configure"
7830#include "confdefs.h"
7831/* System header to define __stub macros and hopefully few prototypes,
7832 which can conflict with char $ac_func (); below. */
7833#include <assert.h>
7834/* Override any gcc2 internal prototype to avoid an error. */
7835#ifdef __cplusplus
7836extern "C"
7837#endif
7838/* We use char because int might match the return type of a gcc2
7839 builtin and then its argument prototype would still apply. */
7840char $ac_func ();
7841char (*f) ();
7842
7843#ifdef F77_DUMMY_MAIN
7844# ifdef __cplusplus
7845 extern "C"
7846# endif
7847 int F77_DUMMY_MAIN() { return 1; }
7848#endif
7849int
7850main ()
7851{
7852/* The GNU C library defines this for functions which it implements
7853 to always fail with ENOSYS. Some functions are actually named
7854 something starting with __ and the normal name is an alias. */
7855#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7856choke me
7857#else
7858f = $ac_func;
7859#endif
7860
7861 ;
7862 return 0;
7863}
7864_ACEOF
7865rm -f conftest.$ac_objext conftest$ac_exeext
7866if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7867 (eval $ac_link) 2>&5
7868 ac_status=$?
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); } &&
7871 { ac_try='test -s conftest$ac_exeext'
7872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7873 (eval $ac_try) 2>&5
7874 ac_status=$?
7875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 (exit $ac_status); }; }; then
7877 eval "$as_ac_var=yes"
7878else
7879 echo "$as_me: failed program was:" >&5
7880cat conftest.$ac_ext >&5
7881eval "$as_ac_var=no"
7882fi
7883rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7884fi
7885echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7886echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7887if test `eval echo '${'$as_ac_var'}'` = yes; then
7888 cat >>confdefs.h <<_ACEOF
7889@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7890_ACEOF
7891
7892fi
7893done
7894
7895
7896
7897for ac_func in setutxent utmpxname
7898do
7899as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7900echo "$as_me:$LINENO: checking for $ac_func" >&5
7901echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7902if eval "test \"\${$as_ac_var+set}\" = set"; then
7903 echo $ECHO_N "(cached) $ECHO_C" >&6
7904else
7905 cat >conftest.$ac_ext <<_ACEOF
7906#line $LINENO "configure"
7907#include "confdefs.h"
7908/* System header to define __stub macros and hopefully few prototypes,
7909 which can conflict with char $ac_func (); below. */
7910#include <assert.h>
7911/* Override any gcc2 internal prototype to avoid an error. */
7912#ifdef __cplusplus
7913extern "C"
7914#endif
7915/* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7917char $ac_func ();
7918char (*f) ();
7919
7920#ifdef F77_DUMMY_MAIN
7921# ifdef __cplusplus
7922 extern "C"
7923# endif
7924 int F77_DUMMY_MAIN() { return 1; }
7925#endif
7926int
7927main ()
7928{
7929/* The GNU C library defines this for functions which it implements
7930 to always fail with ENOSYS. Some functions are actually named
7931 something starting with __ and the normal name is an alias. */
7932#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7933choke me
7934#else
7935f = $ac_func;
7936#endif
7937
7938 ;
7939 return 0;
7940}
7941_ACEOF
7942rm -f conftest.$ac_objext conftest$ac_exeext
7943if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7944 (eval $ac_link) 2>&5
7945 ac_status=$?
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } &&
7948 { ac_try='test -s conftest$ac_exeext'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950 (eval $ac_try) 2>&5
7951 ac_status=$?
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; }; then
7954 eval "$as_ac_var=yes"
7955else
7956 echo "$as_me: failed program was:" >&5
7957cat conftest.$ac_ext >&5
7958eval "$as_ac_var=no"
7959fi
7960rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7961fi
7962echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7963echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7964if test `eval echo '${'$as_ac_var'}'` = yes; then
7965 cat >>confdefs.h <<_ACEOF
7966@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7967_ACEOF
7968
7969fi
7970done
7971
7972
7973echo "$as_me:$LINENO: checking for daemon" >&5
7974echo $ECHO_N "checking for daemon... $ECHO_C" >&6
7975if test "${ac_cv_func_daemon+set}" = set; then
7976 echo $ECHO_N "(cached) $ECHO_C" >&6
7977else
7978 cat >conftest.$ac_ext <<_ACEOF
7979#line $LINENO "configure"
7980#include "confdefs.h"
7981/* System header to define __stub macros and hopefully few prototypes,
7982 which can conflict with char daemon (); below. */
7983#include <assert.h>
7984/* Override any gcc2 internal prototype to avoid an error. */
7985#ifdef __cplusplus
7986extern "C"
7987#endif
7988/* We use char because int might match the return type of a gcc2
7989 builtin and then its argument prototype would still apply. */
7990char daemon ();
7991char (*f) ();
7992
7993#ifdef F77_DUMMY_MAIN
7994# ifdef __cplusplus
7995 extern "C"
7996# endif
7997 int F77_DUMMY_MAIN() { return 1; }
7998#endif
7999int
8000main ()
8001{
8002/* The GNU C library defines this for functions which it implements
8003 to always fail with ENOSYS. Some functions are actually named
8004 something starting with __ and the normal name is an alias. */
8005#if defined (__stub_daemon) || defined (__stub___daemon)
8006choke me
8007#else
8008f = daemon;
8009#endif
8010
8011 ;
8012 return 0;
8013}
8014_ACEOF
8015rm -f conftest.$ac_objext conftest$ac_exeext
8016if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8017 (eval $ac_link) 2>&5
8018 ac_status=$?
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); } &&
8021 { ac_try='test -s conftest$ac_exeext'
8022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023 (eval $ac_try) 2>&5
8024 ac_status=$?
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); }; }; then
8027 ac_cv_func_daemon=yes
8028else
8029 echo "$as_me: failed program was:" >&5
8030cat conftest.$ac_ext >&5
8031ac_cv_func_daemon=no
8032fi
8033rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8034fi
8035echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
8036echo "${ECHO_T}$ac_cv_func_daemon" >&6
8037if test $ac_cv_func_daemon = yes; then
8038 cat >>confdefs.h <<\_ACEOF
8039@%:@define HAVE_DAEMON 1
8040_ACEOF
8041
8042else
8043 echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
8044echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6
8045if test "${ac_cv_lib_bsd_daemon+set}" = set; then
8046 echo $ECHO_N "(cached) $ECHO_C" >&6
8047else
8048 ac_check_lib_save_LIBS=$LIBS
8049LIBS="-lbsd $LIBS"
8050cat >conftest.$ac_ext <<_ACEOF
8051#line $LINENO "configure"
8052#include "confdefs.h"
8053
8054/* Override any gcc2 internal prototype to avoid an error. */
8055#ifdef __cplusplus
8056extern "C"
8057#endif
8058/* We use char because int might match the return type of a gcc2
8059 builtin and then its argument prototype would still apply. */
8060char daemon ();
8061#ifdef F77_DUMMY_MAIN
8062# ifdef __cplusplus
8063 extern "C"
8064# endif
8065 int F77_DUMMY_MAIN() { return 1; }
8066#endif
8067int
8068main ()
8069{
8070daemon ();
8071 ;
8072 return 0;
8073}
8074_ACEOF
8075rm -f conftest.$ac_objext conftest$ac_exeext
8076if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8077 (eval $ac_link) 2>&5
8078 ac_status=$?
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); } &&
8081 { ac_try='test -s conftest$ac_exeext'
8082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083 (eval $ac_try) 2>&5
8084 ac_status=$?
8085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086 (exit $ac_status); }; }; then
8087 ac_cv_lib_bsd_daemon=yes
8088else
8089 echo "$as_me: failed program was:" >&5
8090cat conftest.$ac_ext >&5
8091ac_cv_lib_bsd_daemon=no
8092fi
8093rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8094LIBS=$ac_check_lib_save_LIBS
8095fi
8096echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
8097echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6
8098if test $ac_cv_lib_bsd_daemon = yes; then
8099 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF
8100@%:@define HAVE_DAEMON 1
8101_ACEOF
8102
8103fi
8104
8105
8106fi
8107
8108
8109echo "$as_me:$LINENO: checking for getpagesize" >&5
8110echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6
8111if test "${ac_cv_func_getpagesize+set}" = set; then
8112 echo $ECHO_N "(cached) $ECHO_C" >&6
8113else
8114 cat >conftest.$ac_ext <<_ACEOF
8115#line $LINENO "configure"
8116#include "confdefs.h"
8117/* System header to define __stub macros and hopefully few prototypes,
8118 which can conflict with char getpagesize (); below. */
8119#include <assert.h>
8120/* Override any gcc2 internal prototype to avoid an error. */
8121#ifdef __cplusplus
8122extern "C"
8123#endif
8124/* We use char because int might match the return type of a gcc2
8125 builtin and then its argument prototype would still apply. */
8126char getpagesize ();
8127char (*f) ();
8128
8129#ifdef F77_DUMMY_MAIN
8130# ifdef __cplusplus
8131 extern "C"
8132# endif
8133 int F77_DUMMY_MAIN() { return 1; }
8134#endif
8135int
8136main ()
8137{
8138/* The GNU C library defines this for functions which it implements
8139 to always fail with ENOSYS. Some functions are actually named
8140 something starting with __ and the normal name is an alias. */
8141#if defined (__stub_getpagesize) || defined (__stub___getpagesize)
8142choke me
8143#else
8144f = getpagesize;
8145#endif
8146
8147 ;
8148 return 0;
8149}
8150_ACEOF
8151rm -f conftest.$ac_objext conftest$ac_exeext
8152if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8153 (eval $ac_link) 2>&5
8154 ac_status=$?
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } &&
8157 { ac_try='test -s conftest$ac_exeext'
8158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8159 (eval $ac_try) 2>&5
8160 ac_status=$?
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); }; }; then
8163 ac_cv_func_getpagesize=yes
8164else
8165 echo "$as_me: failed program was:" >&5
8166cat conftest.$ac_ext >&5
8167ac_cv_func_getpagesize=no
8168fi
8169rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8170fi
8171echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
8172echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
8173if test $ac_cv_func_getpagesize = yes; then
8174 cat >>confdefs.h <<\_ACEOF
8175@%:@define HAVE_GETPAGESIZE 1
8176_ACEOF
8177
8178else
8179 echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5
8180echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6
8181if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
8182 echo $ECHO_N "(cached) $ECHO_C" >&6
8183else
8184 ac_check_lib_save_LIBS=$LIBS
8185LIBS="-lucb $LIBS"
8186cat >conftest.$ac_ext <<_ACEOF
8187#line $LINENO "configure"
8188#include "confdefs.h"
8189
8190/* Override any gcc2 internal prototype to avoid an error. */
8191#ifdef __cplusplus
8192extern "C"
8193#endif
8194/* We use char because int might match the return type of a gcc2
8195 builtin and then its argument prototype would still apply. */
8196char getpagesize ();
8197#ifdef F77_DUMMY_MAIN
8198# ifdef __cplusplus
8199 extern "C"
8200# endif
8201 int F77_DUMMY_MAIN() { return 1; }
8202#endif
8203int
8204main ()
8205{
8206getpagesize ();
8207 ;
8208 return 0;
8209}
8210_ACEOF
8211rm -f conftest.$ac_objext conftest$ac_exeext
8212if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8213 (eval $ac_link) 2>&5
8214 ac_status=$?
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } &&
8217 { ac_try='test -s conftest$ac_exeext'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 (eval $ac_try) 2>&5
8220 ac_status=$?
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; }; then
8223 ac_cv_lib_ucb_getpagesize=yes
8224else
8225 echo "$as_me: failed program was:" >&5
8226cat conftest.$ac_ext >&5
8227ac_cv_lib_ucb_getpagesize=no
8228fi
8229rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8230LIBS=$ac_check_lib_save_LIBS
8231fi
8232echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5
8233echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6
8234if test $ac_cv_lib_ucb_getpagesize = yes; then
8235 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF
8236@%:@define HAVE_GETPAGESIZE 1
8237_ACEOF
8238
8239fi
8240
8241
8242fi
8243
8244
8245# Check for broken snprintf
8246if test "x$ac_cv_func_snprintf" = "xyes" ; then
8247 echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
8248echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
8249 if test "$cross_compiling" = yes; then
8250 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
8251echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8252 { (exit 1); exit 1; }; }
8253else
8254 cat >conftest.$ac_ext <<_ACEOF
8255#line $LINENO "configure"
8256#include "confdefs.h"
8257
8258#include <stdio.h>
8259int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
8260
8261_ACEOF
8262rm -f conftest$ac_exeext
8263if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8264 (eval $ac_link) 2>&5
8265 ac_status=$?
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8269 (eval $ac_try) 2>&5
8270 ac_status=$?
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); }; }; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274echo "${ECHO_T}yes" >&6
8275else
8276 echo "$as_me: program exited with status $ac_status" >&5
8277echo "$as_me: failed program was:" >&5
8278cat conftest.$ac_ext >&5
8279( exit $ac_status )
8280
8281 echo "$as_me:$LINENO: result: no" >&5
8282echo "${ECHO_T}no" >&6
8283 cat >>confdefs.h <<\_ACEOF
8284@%:@define BROKEN_SNPRINTF 1
8285_ACEOF
8286
8287 { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
8288echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
8289
8290
8291fi
8292rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8293fi
8294fi
8295
8296if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
8297echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5
8298echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6
8299if test "$cross_compiling" = yes; then
8300
8301 echo "$as_me:$LINENO: result: yes" >&5
8302echo "${ECHO_T}yes" >&6
8303 cat >>confdefs.h <<\_ACEOF
8304@%:@define HAVE_STRICT_MKSTEMP 1
8305_ACEOF
8306
8307
8308
8309else
8310 cat >conftest.$ac_ext <<_ACEOF
8311#line $LINENO "configure"
8312#include "confdefs.h"
8313
8314#include <stdlib.h>
8315main() { char template[]="conftest.mkstemp-test";
8316if (mkstemp(template) == -1)
8317 exit(1);
8318unlink(template); exit(0);
8319}
8320
8321_ACEOF
8322rm -f conftest$ac_exeext
8323if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8324 (eval $ac_link) 2>&5
8325 ac_status=$?
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 (eval $ac_try) 2>&5
8330 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; }; then
8333
8334 echo "$as_me:$LINENO: result: no" >&5
8335echo "${ECHO_T}no" >&6
8336
8337else
8338 echo "$as_me: program exited with status $ac_status" >&5
8339echo "$as_me: failed program was:" >&5
8340cat conftest.$ac_ext >&5
8341( exit $ac_status )
8342
8343 echo "$as_me:$LINENO: result: yes" >&5
8344echo "${ECHO_T}yes" >&6
8345 cat >>confdefs.h <<\_ACEOF
8346@%:@define HAVE_STRICT_MKSTEMP 1
8347_ACEOF
8348
8349
8350fi
8351rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8352fi
8353fi
8354
8355echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
8356echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
8357if test "${ac_cv_func_getpgrp_void+set}" = set; then
8358 echo $ECHO_N "(cached) $ECHO_C" >&6
8359else
8360 # Use it with a single arg.
8361cat >conftest.$ac_ext <<_ACEOF
8362#line $LINENO "configure"
8363#include "confdefs.h"
8364$ac_includes_default
8365#ifdef F77_DUMMY_MAIN
8366# ifdef __cplusplus
8367 extern "C"
8368# endif
8369 int F77_DUMMY_MAIN() { return 1; }
8370#endif
8371int
8372main ()
8373{
8374getpgrp (0);
8375 ;
8376 return 0;
8377}
8378_ACEOF
8379rm -f conftest.$ac_objext
8380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8381 (eval $ac_compile) 2>&5
8382 ac_status=$?
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } &&
8385 { ac_try='test -s conftest.$ac_objext'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 (eval $ac_try) 2>&5
8388 ac_status=$?
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; }; then
8391 ac_cv_func_getpgrp_void=no
8392else
8393 echo "$as_me: failed program was:" >&5
8394cat conftest.$ac_ext >&5
8395ac_cv_func_getpgrp_void=yes
8396fi
8397rm -f conftest.$ac_objext conftest.$ac_ext
8398
8399fi
8400echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
8401echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
8402if test $ac_cv_func_getpgrp_void = yes; then
8403
8404cat >>confdefs.h <<\_ACEOF
8405@%:@define GETPGRP_VOID 1
8406_ACEOF
8407
8408fi
8409
8410
8411# Check for PAM libs
8412PAM_MSG="no"
8413
8414# Check whether --with-pam or --without-pam was given.
8415if test "${with_pam+set}" = set; then
8416 withval="$with_pam"
8417
8418 if test "x$withval" != "xno" ; then
8419 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then
8420 { { echo "$as_me:$LINENO: error: PAM headers not found" >&5
8421echo "$as_me: error: PAM headers not found" >&2;}
8422 { (exit 1); exit 1; }; }
8423 fi
8424
8425
8426echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8427echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8428if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6
8430else
8431 ac_check_lib_save_LIBS=$LIBS
8432LIBS="-ldl $LIBS"
8433cat >conftest.$ac_ext <<_ACEOF
8434#line $LINENO "configure"
8435#include "confdefs.h"
8436
8437/* Override any gcc2 internal prototype to avoid an error. */
8438#ifdef __cplusplus
8439extern "C"
8440#endif
8441/* We use char because int might match the return type of a gcc2
8442 builtin and then its argument prototype would still apply. */
8443char dlopen ();
8444#ifdef F77_DUMMY_MAIN
8445# ifdef __cplusplus
8446 extern "C"
8447# endif
8448 int F77_DUMMY_MAIN() { return 1; }
8449#endif
8450int
8451main ()
8452{
8453dlopen ();
8454 ;
8455 return 0;
8456}
8457_ACEOF
8458rm -f conftest.$ac_objext conftest$ac_exeext
8459if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8460 (eval $ac_link) 2>&5
8461 ac_status=$?
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); } &&
8464 { ac_try='test -s conftest$ac_exeext'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 (eval $ac_try) 2>&5
8467 ac_status=$?
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 ac_cv_lib_dl_dlopen=yes
8471else
8472 echo "$as_me: failed program was:" >&5
8473cat conftest.$ac_ext >&5
8474ac_cv_lib_dl_dlopen=no
8475fi
8476rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8477LIBS=$ac_check_lib_save_LIBS
8478fi
8479echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8480echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8481if test $ac_cv_lib_dl_dlopen = yes; then
8482 cat >>confdefs.h <<_ACEOF
8483@%:@define HAVE_LIBDL 1
8484_ACEOF
8485
8486 LIBS="-ldl $LIBS"
8487
8488fi
8489
8490
8491echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5
8492echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6
8493if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8495else
8496 ac_check_lib_save_LIBS=$LIBS
8497LIBS="-lpam $LIBS"
8498cat >conftest.$ac_ext <<_ACEOF
8499#line $LINENO "configure"
8500#include "confdefs.h"
8501
8502/* Override any gcc2 internal prototype to avoid an error. */
8503#ifdef __cplusplus
8504extern "C"
8505#endif
8506/* We use char because int might match the return type of a gcc2
8507 builtin and then its argument prototype would still apply. */
8508char pam_set_item ();
8509#ifdef F77_DUMMY_MAIN
8510# ifdef __cplusplus
8511 extern "C"
8512# endif
8513 int F77_DUMMY_MAIN() { return 1; }
8514#endif
8515int
8516main ()
8517{
8518pam_set_item ();
8519 ;
8520 return 0;
8521}
8522_ACEOF
8523rm -f conftest.$ac_objext conftest$ac_exeext
8524if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8525 (eval $ac_link) 2>&5
8526 ac_status=$?
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); } &&
8529 { ac_try='test -s conftest$ac_exeext'
8530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8531 (eval $ac_try) 2>&5
8532 ac_status=$?
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); }; }; then
8535 ac_cv_lib_pam_pam_set_item=yes
8536else
8537 echo "$as_me: failed program was:" >&5
8538cat conftest.$ac_ext >&5
8539ac_cv_lib_pam_pam_set_item=no
8540fi
8541rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8542LIBS=$ac_check_lib_save_LIBS
8543fi
8544echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5
8545echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6
8546if test $ac_cv_lib_pam_pam_set_item = yes; then
8547 cat >>confdefs.h <<_ACEOF
8548@%:@define HAVE_LIBPAM 1
8549_ACEOF
8550
8551 LIBS="-lpam $LIBS"
8552
8553else
8554 { { echo "$as_me:$LINENO: error: *** libpam missing" >&5
8555echo "$as_me: error: *** libpam missing" >&2;}
8556 { (exit 1); exit 1; }; }
8557fi
8558
8559
8560for ac_func in pam_getenvlist
8561do
8562as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8563echo "$as_me:$LINENO: checking for $ac_func" >&5
8564echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8565if eval "test \"\${$as_ac_var+set}\" = set"; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8567else
8568 cat >conftest.$ac_ext <<_ACEOF
8569#line $LINENO "configure"
8570#include "confdefs.h"
8571/* System header to define __stub macros and hopefully few prototypes,
8572 which can conflict with char $ac_func (); below. */
8573#include <assert.h>
8574/* Override any gcc2 internal prototype to avoid an error. */
8575#ifdef __cplusplus
8576extern "C"
8577#endif
8578/* We use char because int might match the return type of a gcc2
8579 builtin and then its argument prototype would still apply. */
8580char $ac_func ();
8581char (*f) ();
8582
8583#ifdef F77_DUMMY_MAIN
8584# ifdef __cplusplus
8585 extern "C"
8586# endif
8587 int F77_DUMMY_MAIN() { return 1; }
8588#endif
8589int
8590main ()
8591{
8592/* The GNU C library defines this for functions which it implements
8593 to always fail with ENOSYS. Some functions are actually named
8594 something starting with __ and the normal name is an alias. */
8595#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8596choke me
8597#else
8598f = $ac_func;
8599#endif
8600
8601 ;
8602 return 0;
8603}
8604_ACEOF
8605rm -f conftest.$ac_objext conftest$ac_exeext
8606if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8607 (eval $ac_link) 2>&5
8608 ac_status=$?
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); } &&
8611 { ac_try='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8613 (eval $ac_try) 2>&5
8614 ac_status=$?
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 eval "$as_ac_var=yes"
8618else
8619 echo "$as_me: failed program was:" >&5
8620cat conftest.$ac_ext >&5
8621eval "$as_ac_var=no"
8622fi
8623rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8624fi
8625echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8626echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8627if test `eval echo '${'$as_ac_var'}'` = yes; then
8628 cat >>confdefs.h <<_ACEOF
8629@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8630_ACEOF
8631
8632fi
8633done
8634
8635
8636 disable_shadow=yes
8637 PAM_MSG="yes"
8638
8639 cat >>confdefs.h <<\_ACEOF
8640@%:@define USE_PAM 1
8641_ACEOF
8642
8643 if test $ac_cv_lib_dl_dlopen = yes; then
8644 LIBPAM="-lpam -ldl"
8645 else
8646 LIBPAM="-lpam"
8647 fi
8648
8649 fi
8650
8651
8652fi;
8653
8654# Check for older PAM
8655if test "x$PAM_MSG" = "xyes" ; then
8656 # Check PAM strerror arguments (old PAM)
8657 echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5
8658echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6
8659 cat >conftest.$ac_ext <<_ACEOF
8660#line $LINENO "configure"
8661#include "confdefs.h"
8662
8663#include <stdlib.h>
8664#include <security/pam_appl.h>
8665
8666#ifdef F77_DUMMY_MAIN
8667# ifdef __cplusplus
8668 extern "C"
8669# endif
8670 int F77_DUMMY_MAIN() { return 1; }
8671#endif
8672int
8673main ()
8674{
8675(void)pam_strerror((pam_handle_t *)NULL, -1);
8676 ;
8677 return 0;
8678}
8679_ACEOF
8680rm -f conftest.$ac_objext
8681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8682 (eval $ac_compile) 2>&5
8683 ac_status=$?
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); } &&
8686 { ac_try='test -s conftest.$ac_objext'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688 (eval $ac_try) 2>&5
8689 ac_status=$?
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; }; then
8692 echo "$as_me:$LINENO: result: no" >&5
8693echo "${ECHO_T}no" >&6
8694else
8695 echo "$as_me: failed program was:" >&5
8696cat conftest.$ac_ext >&5
8697
8698 cat >>confdefs.h <<\_ACEOF
8699@%:@define HAVE_OLD_PAM 1
8700_ACEOF
8701
8702 echo "$as_me:$LINENO: result: yes" >&5
8703echo "${ECHO_T}yes" >&6
8704 PAM_MSG="yes (old library)"
8705
8706
8707fi
8708rm -f conftest.$ac_objext conftest.$ac_ext
8709fi
8710
8711# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
8712# because the system crypt() is more featureful.
8713if test "x$check_for_libcrypt_before" = "x1"; then
8714
8715echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8716echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8717if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8718 echo $ECHO_N "(cached) $ECHO_C" >&6
8719else
8720 ac_check_lib_save_LIBS=$LIBS
8721LIBS="-lcrypt $LIBS"
8722cat >conftest.$ac_ext <<_ACEOF
8723#line $LINENO "configure"
8724#include "confdefs.h"
8725
8726/* Override any gcc2 internal prototype to avoid an error. */
8727#ifdef __cplusplus
8728extern "C"
8729#endif
8730/* We use char because int might match the return type of a gcc2
8731 builtin and then its argument prototype would still apply. */
8732char crypt ();
8733#ifdef F77_DUMMY_MAIN
8734# ifdef __cplusplus
8735 extern "C"
8736# endif
8737 int F77_DUMMY_MAIN() { return 1; }
8738#endif
8739int
8740main ()
8741{
8742crypt ();
8743 ;
8744 return 0;
8745}
8746_ACEOF
8747rm -f conftest.$ac_objext conftest$ac_exeext
8748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8749 (eval $ac_link) 2>&5
8750 ac_status=$?
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } &&
8753 { ac_try='test -s conftest$ac_exeext'
8754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 (eval $ac_try) 2>&5
8756 ac_status=$?
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 (exit $ac_status); }; }; then
8759 ac_cv_lib_crypt_crypt=yes
8760else
8761 echo "$as_me: failed program was:" >&5
8762cat conftest.$ac_ext >&5
8763ac_cv_lib_crypt_crypt=no
8764fi
8765rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8766LIBS=$ac_check_lib_save_LIBS
8767fi
8768echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8769echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8770if test $ac_cv_lib_crypt_crypt = yes; then
8771 cat >>confdefs.h <<_ACEOF
8772@%:@define HAVE_LIBCRYPT 1
8773_ACEOF
8774
8775 LIBS="-lcrypt $LIBS"
8776
8777fi
8778
8779fi
8780
8781# Search for OpenSSL
8782saved_CPPFLAGS="$CPPFLAGS"
8783saved_LDFLAGS="$LDFLAGS"
8784
8785# Check whether --with-ssl-dir or --without-ssl-dir was given.
8786if test "${with_ssl_dir+set}" = set; then
8787 withval="$with_ssl_dir"
8788
8789 if test "x$withval" != "xno" ; then
8790 if test -d "$withval/lib"; then
8791 if test -n "${need_dash_r}"; then
8792 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
8793 else
8794 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
8795 fi
8796 else
8797 if test -n "${need_dash_r}"; then
8798 LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}"
8799 else
8800 LDFLAGS="-L${withval} ${LDFLAGS}"
8801 fi
8802 fi
8803 if test -d "$withval/include"; then
8804 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
8805 else
8806 CPPFLAGS="-I${withval} ${CPPFLAGS}"
8807 fi
8808 fi
8809
8810
8811fi;
8812LIBS="$LIBS -lcrypto"
8813cat >conftest.$ac_ext <<_ACEOF
8814#line $LINENO "configure"
8815#include "confdefs.h"
8816
8817/* Override any gcc2 internal prototype to avoid an error. */
8818#ifdef __cplusplus
8819extern "C"
8820#endif
8821/* We use char because int might match the return type of a gcc2
8822 builtin and then its argument prototype would still apply. */
8823char RAND_add ();
8824#ifdef F77_DUMMY_MAIN
8825# ifdef __cplusplus
8826 extern "C"
8827# endif
8828 int F77_DUMMY_MAIN() { return 1; }
8829#endif
8830int
8831main ()
8832{
8833RAND_add ();
8834 ;
8835 return 0;
8836}
8837_ACEOF
8838rm -f conftest.$ac_objext conftest$ac_exeext
8839if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8840 (eval $ac_link) 2>&5
8841 ac_status=$?
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); } &&
8844 { ac_try='test -s conftest$ac_exeext'
8845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846 (eval $ac_try) 2>&5
8847 ac_status=$?
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 (exit $ac_status); }; }; then
8850 cat >>confdefs.h <<\_ACEOF
8851@%:@define HAVE_OPENSSL 1
8852_ACEOF
8853
8854else
8855 echo "$as_me: failed program was:" >&5
8856cat conftest.$ac_ext >&5
8857
8858 if test -n "${need_dash_r}"; then
8859 LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}"
8860 else
8861 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}"
8862 fi
8863 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
8864 cat >conftest.$ac_ext <<_ACEOF
8865#line $LINENO "configure"
8866#include "confdefs.h"
8867
8868/* Override any gcc2 internal prototype to avoid an error. */
8869#ifdef __cplusplus
8870extern "C"
8871#endif
8872/* We use char because int might match the return type of a gcc2
8873 builtin and then its argument prototype would still apply. */
8874char RAND_add ();
8875#ifdef F77_DUMMY_MAIN
8876# ifdef __cplusplus
8877 extern "C"
8878# endif
8879 int F77_DUMMY_MAIN() { return 1; }
8880#endif
8881int
8882main ()
8883{
8884RAND_add ();
8885 ;
8886 return 0;
8887}
8888_ACEOF
8889rm -f conftest.$ac_objext conftest$ac_exeext
8890if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8891 (eval $ac_link) 2>&5
8892 ac_status=$?
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } &&
8895 { ac_try='test -s conftest$ac_exeext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 (eval $ac_try) 2>&5
8898 ac_status=$?
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8901 cat >>confdefs.h <<\_ACEOF
8902@%:@define HAVE_OPENSSL 1
8903_ACEOF
8904
8905else
8906 echo "$as_me: failed program was:" >&5
8907cat conftest.$ac_ext >&5
8908
8909 { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
8910echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
8911 { (exit 1); exit 1; }; }
8912
8913
8914fi
8915rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8916
8917
8918fi
8919rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8920
8921# Determine OpenSSL header version
8922echo "$as_me:$LINENO: checking OpenSSL header version" >&5
8923echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6
8924if test "$cross_compiling" = yes; then
8925 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
8926echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8927 { (exit 1); exit 1; }; }
8928else
8929 cat >conftest.$ac_ext <<_ACEOF
8930#line $LINENO "configure"
8931#include "confdefs.h"
8932
8933#include <stdio.h>
8934#include <string.h>
8935#include <openssl/opensslv.h>
8936#define DATA "conftest.sslincver"
8937int main(void) {
8938 FILE *fd;
8939 int rc;
8940
8941 fd = fopen(DATA,"w");
8942 if(fd == NULL)
8943 exit(1);
8944
8945 if ((rc = fprintf(fd ,"%x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0)
8946 exit(1);
8947
8948 exit(0);
8949}
8950
8951_ACEOF
8952rm -f conftest$ac_exeext
8953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8954 (eval $ac_link) 2>&5
8955 ac_status=$?
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 (eval $ac_try) 2>&5
8960 ac_status=$?
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); }; }; then
8963
8964 ssl_header_ver=`cat conftest.sslincver`
8965 echo "$as_me:$LINENO: result: $ssl_header_ver" >&5
8966echo "${ECHO_T}$ssl_header_ver" >&6
8967
8968else
8969 echo "$as_me: program exited with status $ac_status" >&5
8970echo "$as_me: failed program was:" >&5
8971cat conftest.$ac_ext >&5
8972( exit $ac_status )
8973
8974 echo "$as_me:$LINENO: result: not found" >&5
8975echo "${ECHO_T}not found" >&6
8976 { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5
8977echo "$as_me: error: OpenSSL version header not found." >&2;}
8978 { (exit 1); exit 1; }; }
8979
8980
8981fi
8982rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8983fi
8984
8985# Determine OpenSSL library version
8986echo "$as_me:$LINENO: checking OpenSSL library version" >&5
8987echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6
8988if test "$cross_compiling" = yes; then
8989 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
8990echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8991 { (exit 1); exit 1; }; }
8992else
8993 cat >conftest.$ac_ext <<_ACEOF
8994#line $LINENO "configure"
8995#include "confdefs.h"
8996
8997#include <stdio.h>
8998#include <string.h>
8999#include <openssl/opensslv.h>
9000#include <openssl/crypto.h>
9001#define DATA "conftest.ssllibver"
9002int main(void) {
9003 FILE *fd;
9004 int rc;
9005
9006 fd = fopen(DATA,"w");
9007 if(fd == NULL)
9008 exit(1);
9009
9010 if ((rc = fprintf(fd ,"%x (%s)\n", SSLeay(), SSLeay_version(SSLEAY_VERSION))) <0)
9011 exit(1);
9012
9013 exit(0);
9014}
9015
9016_ACEOF
9017rm -f conftest$ac_exeext
9018if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9019 (eval $ac_link) 2>&5
9020 ac_status=$?
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024 (eval $ac_try) 2>&5
9025 ac_status=$?
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); }; }; then
9028
9029 ssl_library_ver=`cat conftest.ssllibver`
9030 echo "$as_me:$LINENO: result: $ssl_library_ver" >&5
9031echo "${ECHO_T}$ssl_library_ver" >&6
9032
9033else
9034 echo "$as_me: program exited with status $ac_status" >&5
9035echo "$as_me: failed program was:" >&5
9036cat conftest.$ac_ext >&5
9037( exit $ac_status )
9038
9039 echo "$as_me:$LINENO: result: not found" >&5
9040echo "${ECHO_T}not found" >&6
9041 { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5
9042echo "$as_me: error: OpenSSL library not found." >&2;}
9043 { (exit 1); exit 1; }; }
9044
9045
9046fi
9047rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9048fi
9049
9050# Sanity check OpenSSL headers
9051echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
9052echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6
9053if test "$cross_compiling" = yes; then
9054 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
9055echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9056 { (exit 1); exit 1; }; }
9057else
9058 cat >conftest.$ac_ext <<_ACEOF
9059#line $LINENO "configure"
9060#include "confdefs.h"
9061
9062#include <string.h>
9063#include <openssl/opensslv.h>
9064int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
9065
9066_ACEOF
9067rm -f conftest$ac_exeext
9068if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9069 (eval $ac_link) 2>&5
9070 ac_status=$?
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 (eval $ac_try) 2>&5
9075 ac_status=$?
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; }; then
9078
9079 echo "$as_me:$LINENO: result: yes" >&5
9080echo "${ECHO_T}yes" >&6
9081
9082else
9083 echo "$as_me: program exited with status $ac_status" >&5
9084echo "$as_me: failed program was:" >&5
9085cat conftest.$ac_ext >&5
9086( exit $ac_status )
9087
9088 echo "$as_me:$LINENO: result: no" >&5
9089echo "${ECHO_T}no" >&6
9090 { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library" >&5
9091echo "$as_me: error: Your OpenSSL headers do not match your library" >&2;}
9092 { (exit 1); exit 1; }; }
9093
9094
9095fi
9096rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9097fi
9098
9099# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
9100# version in OpenSSL. Skip this for PAM
9101if test "x$PAM_MSG" = "xno" -a "x$check_for_libcrypt_later" = "x1"; then
9102 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
9103echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
9104if test "${ac_cv_lib_crypt_crypt+set}" = set; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9106else
9107 ac_check_lib_save_LIBS=$LIBS
9108LIBS="-lcrypt $LIBS"
9109cat >conftest.$ac_ext <<_ACEOF
9110#line $LINENO "configure"
9111#include "confdefs.h"
9112
9113/* Override any gcc2 internal prototype to avoid an error. */
9114#ifdef __cplusplus
9115extern "C"
9116#endif
9117/* We use char because int might match the return type of a gcc2
9118 builtin and then its argument prototype would still apply. */
9119char crypt ();
9120#ifdef F77_DUMMY_MAIN
9121# ifdef __cplusplus
9122 extern "C"
9123# endif
9124 int F77_DUMMY_MAIN() { return 1; }
9125#endif
9126int
9127main ()
9128{
9129crypt ();
9130 ;
9131 return 0;
9132}
9133_ACEOF
9134rm -f conftest.$ac_objext conftest$ac_exeext
9135if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9136 (eval $ac_link) 2>&5
9137 ac_status=$?
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); } &&
9140 { ac_try='test -s conftest$ac_exeext'
9141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9142 (eval $ac_try) 2>&5
9143 ac_status=$?
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); }; }; then
9146 ac_cv_lib_crypt_crypt=yes
9147else
9148 echo "$as_me: failed program was:" >&5
9149cat conftest.$ac_ext >&5
9150ac_cv_lib_crypt_crypt=no
9151fi
9152rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9153LIBS=$ac_check_lib_save_LIBS
9154fi
9155echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
9156echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
9157if test $ac_cv_lib_crypt_crypt = yes; then
9158 LIBS="$LIBS -lcrypt"
9159fi
9160
9161fi
9162
9163
9164### Configure cryptographic random number support
9165
9166# Check wheter OpenSSL seeds itself
9167echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
9168echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6
9169if test "$cross_compiling" = yes; then
9170 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
9171echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9172 { (exit 1); exit 1; }; }
9173else
9174 cat >conftest.$ac_ext <<_ACEOF
9175#line $LINENO "configure"
9176#include "confdefs.h"
9177
9178#include <string.h>
9179#include <openssl/rand.h>
9180int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
9181
9182_ACEOF
9183rm -f conftest$ac_exeext
9184if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9185 (eval $ac_link) 2>&5
9186 ac_status=$?
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 (eval $ac_try) 2>&5
9191 ac_status=$?
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); }; }; then
9194
9195 OPENSSL_SEEDS_ITSELF=yes
9196 echo "$as_me:$LINENO: result: yes" >&5
9197echo "${ECHO_T}yes" >&6
9198
9199else
9200 echo "$as_me: program exited with status $ac_status" >&5
9201echo "$as_me: failed program was:" >&5
9202cat conftest.$ac_ext >&5
9203( exit $ac_status )
9204
9205 echo "$as_me:$LINENO: result: no" >&5
9206echo "${ECHO_T}no" >&6
9207 # Default to use of the rand helper if OpenSSL doesn't
9208 # seed itself
9209 USE_RAND_HELPER=yes
9210
9211
9212fi
9213rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9214fi
9215
9216
9217# Do we want to force the use of the rand helper?
9218
9219# Check whether --with-rand-helper or --without-rand-helper was given.
9220if test "${with_rand_helper+set}" = set; then
9221 withval="$with_rand_helper"
9222
9223 if test "x$withval" = "xno" ; then
9224 # Force use of OpenSSL's internal RNG, even if
9225 # the previous test showed it to be unseeded.
9226 if test -z "$OPENSSL_SEEDS_ITSELF" ; then
9227 { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
9228echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
9229 OPENSSL_SEEDS_ITSELF=yes
9230 USE_RAND_HELPER=""
9231 fi
9232 else
9233 USE_RAND_HELPER=yes
9234 fi
9235
9236fi;
9237
9238# Which randomness source do we use?
9239if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then
9240 # OpenSSL only
9241 cat >>confdefs.h <<\_ACEOF
9242@%:@define OPENSSL_PRNG_ONLY 1
9243_ACEOF
9244
9245 RAND_MSG="OpenSSL internal ONLY"
9246 INSTALL_SSH_RAND_HELPER=""
9247elif test ! -z "$USE_RAND_HELPER" ; then
9248 # install rand helper
9249 RAND_MSG="ssh-rand-helper"
9250 INSTALL_SSH_RAND_HELPER="yes"
9251fi
9252
9253
9254### Configuration of ssh-rand-helper
9255
9256# PRNGD TCP socket
9257
9258# Check whether --with-prngd-port or --without-prngd-port was given.
9259if test "${with_prngd_port+set}" = set; then
9260 withval="$with_prngd_port"
9261
9262 case "$withval" in
9263 no)
9264 withval=""
9265 ;;
9266 [0-9]*)
9267 ;;
9268 *)
9269 { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5
9270echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
9271 { (exit 1); exit 1; }; }
9272 ;;
9273 esac
9274 if test ! -z "$withval" ; then
9275 PRNGD_PORT="$withval"
9276 cat >>confdefs.h <<_ACEOF
9277@%:@define PRNGD_PORT $PRNGD_PORT
9278_ACEOF
9279
9280 fi
9281
9282
9283fi;
9284
9285# PRNGD Unix domain socket
9286
9287# Check whether --with-prngd-socket or --without-prngd-socket was given.
9288if test "${with_prngd_socket+set}" = set; then
9289 withval="$with_prngd_socket"
9290
9291 case "$withval" in
9292 yes)
9293 withval="/var/run/egd-pool"
9294 ;;
9295 no)
9296 withval=""
9297 ;;
9298 /*)
9299 ;;
9300 *)
9301 { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5
9302echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
9303 { (exit 1); exit 1; }; }
9304 ;;
9305 esac
9306
9307 if test ! -z "$withval" ; then
9308 if test ! -z "$PRNGD_PORT" ; then
9309 { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5
9310echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
9311 { (exit 1); exit 1; }; }
9312 fi
9313 if test ! -r "$withval" ; then
9314 { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5
9315echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
9316 fi
9317 PRNGD_SOCKET="$withval"
9318 cat >>confdefs.h <<_ACEOF
9319@%:@define PRNGD_SOCKET "$PRNGD_SOCKET"
9320_ACEOF
9321
9322 fi
9323
9324else
9325
9326 # Check for existing socket only if we don't have a random device already
9327 if test "$USE_RAND_HELPER" = yes ; then
9328 echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5
9329echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6
9330 # Insert other locations here
9331 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
9332 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then
9333 PRNGD_SOCKET="$sock"
9334 cat >>confdefs.h <<_ACEOF
9335@%:@define PRNGD_SOCKET "$PRNGD_SOCKET"
9336_ACEOF
9337
9338 break;
9339 fi
9340 done
9341 if test ! -z "$PRNGD_SOCKET" ; then
9342 echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5
9343echo "${ECHO_T}$PRNGD_SOCKET" >&6
9344 else
9345 echo "$as_me:$LINENO: result: not found" >&5
9346echo "${ECHO_T}not found" >&6
9347 fi
9348 fi
9349
9350
9351fi;
9352
9353# Change default command timeout for hashing entropy source
9354entropy_timeout=200
9355
9356# Check whether --with-entropy-timeout or --without-entropy-timeout was given.
9357if test "${with_entropy_timeout+set}" = set; then
9358 withval="$with_entropy_timeout"
9359
9360 if test "x$withval" != "xno" ; then
9361 entropy_timeout=$withval
9362 fi
9363
9364
9365fi;
9366cat >>confdefs.h <<_ACEOF
9367@%:@define ENTROPY_TIMEOUT_MSEC $entropy_timeout
9368_ACEOF
9369
9370
9371SSH_PRIVSEP_USER=sshd
9372
9373# Check whether --with-privsep-user or --without-privsep-user was given.
9374if test "${with_privsep_user+set}" = set; then
9375 withval="$with_privsep_user"
9376
9377 if test -n "$withval"; then
9378 SSH_PRIVSEP_USER=$withval
9379 fi
9380
9381
9382fi;
9383cat >>confdefs.h <<_ACEOF
9384@%:@define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
9385_ACEOF
9386
9387
9388
9389# We do this little dance with the search path to insure
9390# that programs that we select for use by installed programs
9391# (which may be run by the super-user) come from trusted
9392# locations before they come from the user's private area.
9393# This should help avoid accidentally configuring some
9394# random version of a program in someone's personal bin.
9395
9396OPATH=$PATH
9397PATH=/bin:/usr/bin
9398test -h /bin 2> /dev/null && PATH=/usr/bin
9399test -d /sbin && PATH=$PATH:/sbin
9400test -d /usr/sbin && PATH=$PATH:/usr/sbin
9401PATH=$PATH:/etc:$OPATH
9402
9403# These programs are used by the command hashing source to gather entropy
9404
9405 # Extract the first word of "ls", so it can be a program name with args.
9406set dummy ls; ac_word=$2
9407echo "$as_me:$LINENO: checking for $ac_word" >&5
9408echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9409if test "${ac_cv_path_PROG_LS+set}" = set; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9411else
9412 case $PROG_LS in
9413 [\\/]* | ?:[\\/]*)
9414 ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path.
9415 ;;
9416 *)
9417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9418for as_dir in $PATH
9419do
9420 IFS=$as_save_IFS
9421 test -z "$as_dir" && as_dir=.
9422 for ac_exec_ext in '' $ac_executable_extensions; do
9423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9424 ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext"
9425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9426 break 2
9427 fi
9428done
9429done
9430
9431 ;;
9432esac
9433fi
9434PROG_LS=$ac_cv_path_PROG_LS
9435
9436if test -n "$PROG_LS"; then
9437 echo "$as_me:$LINENO: result: $PROG_LS" >&5
9438echo "${ECHO_T}$PROG_LS" >&6
9439else
9440 echo "$as_me:$LINENO: result: no" >&5
9441echo "${ECHO_T}no" >&6
9442fi
9443
9444 if test -z "$PROG_LS" ; then
9445 PROG_LS="undef"
9446 fi
9447
9448
9449
9450 # Extract the first word of "netstat", so it can be a program name with args.
9451set dummy netstat; ac_word=$2
9452echo "$as_me:$LINENO: checking for $ac_word" >&5
9453echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9454if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then
9455 echo $ECHO_N "(cached) $ECHO_C" >&6
9456else
9457 case $PROG_NETSTAT in
9458 [\\/]* | ?:[\\/]*)
9459 ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path.
9460 ;;
9461 *)
9462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9463for as_dir in $PATH
9464do
9465 IFS=$as_save_IFS
9466 test -z "$as_dir" && as_dir=.
9467 for ac_exec_ext in '' $ac_executable_extensions; do
9468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9469 ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext"
9470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9471 break 2
9472 fi
9473done
9474done
9475
9476 ;;
9477esac
9478fi
9479PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
9480
9481if test -n "$PROG_NETSTAT"; then
9482 echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5
9483echo "${ECHO_T}$PROG_NETSTAT" >&6
9484else
9485 echo "$as_me:$LINENO: result: no" >&5
9486echo "${ECHO_T}no" >&6
9487fi
9488
9489 if test -z "$PROG_NETSTAT" ; then
9490 PROG_NETSTAT="undef"
9491 fi
9492
9493
9494
9495 # Extract the first word of "arp", so it can be a program name with args.
9496set dummy arp; ac_word=$2
9497echo "$as_me:$LINENO: checking for $ac_word" >&5
9498echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9499if test "${ac_cv_path_PROG_ARP+set}" = set; then
9500 echo $ECHO_N "(cached) $ECHO_C" >&6
9501else
9502 case $PROG_ARP in
9503 [\\/]* | ?:[\\/]*)
9504 ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path.
9505 ;;
9506 *)
9507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9508for as_dir in $PATH
9509do
9510 IFS=$as_save_IFS
9511 test -z "$as_dir" && as_dir=.
9512 for ac_exec_ext in '' $ac_executable_extensions; do
9513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9514 ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext"
9515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9516 break 2
9517 fi
9518done
9519done
9520
9521 ;;
9522esac
9523fi
9524PROG_ARP=$ac_cv_path_PROG_ARP
9525
9526if test -n "$PROG_ARP"; then
9527 echo "$as_me:$LINENO: result: $PROG_ARP" >&5
9528echo "${ECHO_T}$PROG_ARP" >&6
9529else
9530 echo "$as_me:$LINENO: result: no" >&5
9531echo "${ECHO_T}no" >&6
9532fi
9533
9534 if test -z "$PROG_ARP" ; then
9535 PROG_ARP="undef"
9536 fi
9537
9538
9539
9540 # Extract the first word of "ifconfig", so it can be a program name with args.
9541set dummy ifconfig; ac_word=$2
9542echo "$as_me:$LINENO: checking for $ac_word" >&5
9543echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9544if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then
9545 echo $ECHO_N "(cached) $ECHO_C" >&6
9546else
9547 case $PROG_IFCONFIG in
9548 [\\/]* | ?:[\\/]*)
9549 ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path.
9550 ;;
9551 *)
9552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9553for as_dir in $PATH
9554do
9555 IFS=$as_save_IFS
9556 test -z "$as_dir" && as_dir=.
9557 for ac_exec_ext in '' $ac_executable_extensions; do
9558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9559 ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext"
9560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9561 break 2
9562 fi
9563done
9564done
9565
9566 ;;
9567esac
9568fi
9569PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
9570
9571if test -n "$PROG_IFCONFIG"; then
9572 echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5
9573echo "${ECHO_T}$PROG_IFCONFIG" >&6
9574else
9575 echo "$as_me:$LINENO: result: no" >&5
9576echo "${ECHO_T}no" >&6
9577fi
9578
9579 if test -z "$PROG_IFCONFIG" ; then
9580 PROG_IFCONFIG="undef"
9581 fi
9582
9583
9584
9585 # Extract the first word of "jstat", so it can be a program name with args.
9586set dummy jstat; ac_word=$2
9587echo "$as_me:$LINENO: checking for $ac_word" >&5
9588echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9589if test "${ac_cv_path_PROG_JSTAT+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9591else
9592 case $PROG_JSTAT in
9593 [\\/]* | ?:[\\/]*)
9594 ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path.
9595 ;;
9596 *)
9597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9598for as_dir in $PATH
9599do
9600 IFS=$as_save_IFS
9601 test -z "$as_dir" && as_dir=.
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9604 ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext"
9605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9606 break 2
9607 fi
9608done
9609done
9610
9611 ;;
9612esac
9613fi
9614PROG_JSTAT=$ac_cv_path_PROG_JSTAT
9615
9616if test -n "$PROG_JSTAT"; then
9617 echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5
9618echo "${ECHO_T}$PROG_JSTAT" >&6
9619else
9620 echo "$as_me:$LINENO: result: no" >&5
9621echo "${ECHO_T}no" >&6
9622fi
9623
9624 if test -z "$PROG_JSTAT" ; then
9625 PROG_JSTAT="undef"
9626 fi
9627
9628
9629
9630 # Extract the first word of "ps", so it can be a program name with args.
9631set dummy ps; ac_word=$2
9632echo "$as_me:$LINENO: checking for $ac_word" >&5
9633echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9634if test "${ac_cv_path_PROG_PS+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9636else
9637 case $PROG_PS in
9638 [\\/]* | ?:[\\/]*)
9639 ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path.
9640 ;;
9641 *)
9642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9643for as_dir in $PATH
9644do
9645 IFS=$as_save_IFS
9646 test -z "$as_dir" && as_dir=.
9647 for ac_exec_ext in '' $ac_executable_extensions; do
9648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9649 ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext"
9650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9651 break 2
9652 fi
9653done
9654done
9655
9656 ;;
9657esac
9658fi
9659PROG_PS=$ac_cv_path_PROG_PS
9660
9661if test -n "$PROG_PS"; then
9662 echo "$as_me:$LINENO: result: $PROG_PS" >&5
9663echo "${ECHO_T}$PROG_PS" >&6
9664else
9665 echo "$as_me:$LINENO: result: no" >&5
9666echo "${ECHO_T}no" >&6
9667fi
9668
9669 if test -z "$PROG_PS" ; then
9670 PROG_PS="undef"
9671 fi
9672
9673
9674
9675 # Extract the first word of "sar", so it can be a program name with args.
9676set dummy sar; ac_word=$2
9677echo "$as_me:$LINENO: checking for $ac_word" >&5
9678echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9679if test "${ac_cv_path_PROG_SAR+set}" = set; then
9680 echo $ECHO_N "(cached) $ECHO_C" >&6
9681else
9682 case $PROG_SAR in
9683 [\\/]* | ?:[\\/]*)
9684 ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path.
9685 ;;
9686 *)
9687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9688for as_dir in $PATH
9689do
9690 IFS=$as_save_IFS
9691 test -z "$as_dir" && as_dir=.
9692 for ac_exec_ext in '' $ac_executable_extensions; do
9693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9694 ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext"
9695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9696 break 2
9697 fi
9698done
9699done
9700
9701 ;;
9702esac
9703fi
9704PROG_SAR=$ac_cv_path_PROG_SAR
9705
9706if test -n "$PROG_SAR"; then
9707 echo "$as_me:$LINENO: result: $PROG_SAR" >&5
9708echo "${ECHO_T}$PROG_SAR" >&6
9709else
9710 echo "$as_me:$LINENO: result: no" >&5
9711echo "${ECHO_T}no" >&6
9712fi
9713
9714 if test -z "$PROG_SAR" ; then
9715 PROG_SAR="undef"
9716 fi
9717
9718
9719
9720 # Extract the first word of "w", so it can be a program name with args.
9721set dummy w; ac_word=$2
9722echo "$as_me:$LINENO: checking for $ac_word" >&5
9723echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9724if test "${ac_cv_path_PROG_W+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9726else
9727 case $PROG_W in
9728 [\\/]* | ?:[\\/]*)
9729 ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path.
9730 ;;
9731 *)
9732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9733for as_dir in $PATH
9734do
9735 IFS=$as_save_IFS
9736 test -z "$as_dir" && as_dir=.
9737 for ac_exec_ext in '' $ac_executable_extensions; do
9738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9739 ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext"
9740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9741 break 2
9742 fi
9743done
9744done
9745
9746 ;;
9747esac
9748fi
9749PROG_W=$ac_cv_path_PROG_W
9750
9751if test -n "$PROG_W"; then
9752 echo "$as_me:$LINENO: result: $PROG_W" >&5
9753echo "${ECHO_T}$PROG_W" >&6
9754else
9755 echo "$as_me:$LINENO: result: no" >&5
9756echo "${ECHO_T}no" >&6
9757fi
9758
9759 if test -z "$PROG_W" ; then
9760 PROG_W="undef"
9761 fi
9762
9763
9764
9765 # Extract the first word of "who", so it can be a program name with args.
9766set dummy who; ac_word=$2
9767echo "$as_me:$LINENO: checking for $ac_word" >&5
9768echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9769if test "${ac_cv_path_PROG_WHO+set}" = set; then
9770 echo $ECHO_N "(cached) $ECHO_C" >&6
9771else
9772 case $PROG_WHO in
9773 [\\/]* | ?:[\\/]*)
9774 ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path.
9775 ;;
9776 *)
9777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9778for as_dir in $PATH
9779do
9780 IFS=$as_save_IFS
9781 test -z "$as_dir" && as_dir=.
9782 for ac_exec_ext in '' $ac_executable_extensions; do
9783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9784 ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext"
9785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 break 2
9787 fi
9788done
9789done
9790
9791 ;;
9792esac
9793fi
9794PROG_WHO=$ac_cv_path_PROG_WHO
9795
9796if test -n "$PROG_WHO"; then
9797 echo "$as_me:$LINENO: result: $PROG_WHO" >&5
9798echo "${ECHO_T}$PROG_WHO" >&6
9799else
9800 echo "$as_me:$LINENO: result: no" >&5
9801echo "${ECHO_T}no" >&6
9802fi
9803
9804 if test -z "$PROG_WHO" ; then
9805 PROG_WHO="undef"
9806 fi
9807
9808
9809
9810 # Extract the first word of "last", so it can be a program name with args.
9811set dummy last; ac_word=$2
9812echo "$as_me:$LINENO: checking for $ac_word" >&5
9813echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9814if test "${ac_cv_path_PROG_LAST+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9816else
9817 case $PROG_LAST in
9818 [\\/]* | ?:[\\/]*)
9819 ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path.
9820 ;;
9821 *)
9822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9823for as_dir in $PATH
9824do
9825 IFS=$as_save_IFS
9826 test -z "$as_dir" && as_dir=.
9827 for ac_exec_ext in '' $ac_executable_extensions; do
9828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9829 ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext"
9830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9831 break 2
9832 fi
9833done
9834done
9835
9836 ;;
9837esac
9838fi
9839PROG_LAST=$ac_cv_path_PROG_LAST
9840
9841if test -n "$PROG_LAST"; then
9842 echo "$as_me:$LINENO: result: $PROG_LAST" >&5
9843echo "${ECHO_T}$PROG_LAST" >&6
9844else
9845 echo "$as_me:$LINENO: result: no" >&5
9846echo "${ECHO_T}no" >&6
9847fi
9848
9849 if test -z "$PROG_LAST" ; then
9850 PROG_LAST="undef"
9851 fi
9852
9853
9854
9855 # Extract the first word of "lastlog", so it can be a program name with args.
9856set dummy lastlog; ac_word=$2
9857echo "$as_me:$LINENO: checking for $ac_word" >&5
9858echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9859if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then
9860 echo $ECHO_N "(cached) $ECHO_C" >&6
9861else
9862 case $PROG_LASTLOG in
9863 [\\/]* | ?:[\\/]*)
9864 ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path.
9865 ;;
9866 *)
9867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9868for as_dir in $PATH
9869do
9870 IFS=$as_save_IFS
9871 test -z "$as_dir" && as_dir=.
9872 for ac_exec_ext in '' $ac_executable_extensions; do
9873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9874 ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext"
9875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9876 break 2
9877 fi
9878done
9879done
9880
9881 ;;
9882esac
9883fi
9884PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
9885
9886if test -n "$PROG_LASTLOG"; then
9887 echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5
9888echo "${ECHO_T}$PROG_LASTLOG" >&6
9889else
9890 echo "$as_me:$LINENO: result: no" >&5
9891echo "${ECHO_T}no" >&6
9892fi
9893
9894 if test -z "$PROG_LASTLOG" ; then
9895 PROG_LASTLOG="undef"
9896 fi
9897
9898
9899
9900 # Extract the first word of "df", so it can be a program name with args.
9901set dummy df; ac_word=$2
9902echo "$as_me:$LINENO: checking for $ac_word" >&5
9903echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9904if test "${ac_cv_path_PROG_DF+set}" = set; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9906else
9907 case $PROG_DF in
9908 [\\/]* | ?:[\\/]*)
9909 ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path.
9910 ;;
9911 *)
9912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9913for as_dir in $PATH
9914do
9915 IFS=$as_save_IFS
9916 test -z "$as_dir" && as_dir=.
9917 for ac_exec_ext in '' $ac_executable_extensions; do
9918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9919 ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
9920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9921 break 2
9922 fi
9923done
9924done
9925
9926 ;;
9927esac
9928fi
9929PROG_DF=$ac_cv_path_PROG_DF
9930
9931if test -n "$PROG_DF"; then
9932 echo "$as_me:$LINENO: result: $PROG_DF" >&5
9933echo "${ECHO_T}$PROG_DF" >&6
9934else
9935 echo "$as_me:$LINENO: result: no" >&5
9936echo "${ECHO_T}no" >&6
9937fi
9938
9939 if test -z "$PROG_DF" ; then
9940 PROG_DF="undef"
9941 fi
9942
9943
9944
9945 # Extract the first word of "vmstat", so it can be a program name with args.
9946set dummy vmstat; ac_word=$2
9947echo "$as_me:$LINENO: checking for $ac_word" >&5
9948echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9949if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
9950 echo $ECHO_N "(cached) $ECHO_C" >&6
9951else
9952 case $PROG_VMSTAT in
9953 [\\/]* | ?:[\\/]*)
9954 ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path.
9955 ;;
9956 *)
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9958for as_dir in $PATH
9959do
9960 IFS=$as_save_IFS
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext"
9965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9966 break 2
9967 fi
9968done
9969done
9970
9971 ;;
9972esac
9973fi
9974PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
9975
9976if test -n "$PROG_VMSTAT"; then
9977 echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5
9978echo "${ECHO_T}$PROG_VMSTAT" >&6
9979else
9980 echo "$as_me:$LINENO: result: no" >&5
9981echo "${ECHO_T}no" >&6
9982fi
9983
9984 if test -z "$PROG_VMSTAT" ; then
9985 PROG_VMSTAT="undef"
9986 fi
9987
9988
9989
9990 # Extract the first word of "uptime", so it can be a program name with args.
9991set dummy uptime; ac_word=$2
9992echo "$as_me:$LINENO: checking for $ac_word" >&5
9993echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9994if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9996else
9997 case $PROG_UPTIME in
9998 [\\/]* | ?:[\\/]*)
9999 ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path.
10000 ;;
10001 *)
10002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10003for as_dir in $PATH
10004do
10005 IFS=$as_save_IFS
10006 test -z "$as_dir" && as_dir=.
10007 for ac_exec_ext in '' $ac_executable_extensions; do
10008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10009 ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
10010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10011 break 2
10012 fi
10013done
10014done
10015
10016 ;;
10017esac
10018fi
10019PROG_UPTIME=$ac_cv_path_PROG_UPTIME
10020
10021if test -n "$PROG_UPTIME"; then
10022 echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5
10023echo "${ECHO_T}$PROG_UPTIME" >&6
10024else
10025 echo "$as_me:$LINENO: result: no" >&5
10026echo "${ECHO_T}no" >&6
10027fi
10028
10029 if test -z "$PROG_UPTIME" ; then
10030 PROG_UPTIME="undef"
10031 fi
10032
10033
10034
10035 # Extract the first word of "ipcs", so it can be a program name with args.
10036set dummy ipcs; ac_word=$2
10037echo "$as_me:$LINENO: checking for $ac_word" >&5
10038echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10039if test "${ac_cv_path_PROG_IPCS+set}" = set; then
10040 echo $ECHO_N "(cached) $ECHO_C" >&6
10041else
10042 case $PROG_IPCS in
10043 [\\/]* | ?:[\\/]*)
10044 ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path.
10045 ;;
10046 *)
10047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10048for as_dir in $PATH
10049do
10050 IFS=$as_save_IFS
10051 test -z "$as_dir" && as_dir=.
10052 for ac_exec_ext in '' $ac_executable_extensions; do
10053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10054 ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext"
10055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10056 break 2
10057 fi
10058done
10059done
10060
10061 ;;
10062esac
10063fi
10064PROG_IPCS=$ac_cv_path_PROG_IPCS
10065
10066if test -n "$PROG_IPCS"; then
10067 echo "$as_me:$LINENO: result: $PROG_IPCS" >&5
10068echo "${ECHO_T}$PROG_IPCS" >&6
10069else
10070 echo "$as_me:$LINENO: result: no" >&5
10071echo "${ECHO_T}no" >&6
10072fi
10073
10074 if test -z "$PROG_IPCS" ; then
10075 PROG_IPCS="undef"
10076 fi
10077
10078
10079
10080 # Extract the first word of "tail", so it can be a program name with args.
10081set dummy tail; ac_word=$2
10082echo "$as_me:$LINENO: checking for $ac_word" >&5
10083echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10084if test "${ac_cv_path_PROG_TAIL+set}" = set; then
10085 echo $ECHO_N "(cached) $ECHO_C" >&6
10086else
10087 case $PROG_TAIL in
10088 [\\/]* | ?:[\\/]*)
10089 ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path.
10090 ;;
10091 *)
10092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10093for as_dir in $PATH
10094do
10095 IFS=$as_save_IFS
10096 test -z "$as_dir" && as_dir=.
10097 for ac_exec_ext in '' $ac_executable_extensions; do
10098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10099 ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
10100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10101 break 2
10102 fi
10103done
10104done
10105
10106 ;;
10107esac
10108fi
10109PROG_TAIL=$ac_cv_path_PROG_TAIL
10110
10111if test -n "$PROG_TAIL"; then
10112 echo "$as_me:$LINENO: result: $PROG_TAIL" >&5
10113echo "${ECHO_T}$PROG_TAIL" >&6
10114else
10115 echo "$as_me:$LINENO: result: no" >&5
10116echo "${ECHO_T}no" >&6
10117fi
10118
10119 if test -z "$PROG_TAIL" ; then
10120 PROG_TAIL="undef"
10121 fi
10122
10123
10124# restore PATH
10125PATH=$OPATH
10126
10127# Where does ssh-rand-helper get its randomness from?
10128INSTALL_SSH_PRNG_CMDS=""
10129if test ! -z "$INSTALL_SSH_RAND_HELPER" ; then
10130 if test ! -z "$PRNGD_PORT" ; then
10131 RAND_HELPER_MSG="TCP localhost:$PRNGD_PORT"
10132 elif test ! -z "$PRNGD_SOCKET" ; then
10133 RAND_HELPER_MSG="Unix domain socket \"$PRNGD_SOCKET\""
10134 else
10135 RAND_HELPER_MSG="Command hashing (timeout $entropy_timeout)"
10136 RAND_HELPER_CMDHASH=yes
10137 INSTALL_SSH_PRNG_CMDS="yes"
10138 fi
10139fi
10140
10141
10142
10143# Cheap hack to ensure NEWS-OS libraries are arranged right.
10144if test ! -z "$SONY" ; then
10145 LIBS="$LIBS -liberty";
10146fi
10147
10148# Checks for data types
10149echo "$as_me:$LINENO: checking for char" >&5
10150echo $ECHO_N "checking for char... $ECHO_C" >&6
10151if test "${ac_cv_type_char+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10153else
10154 cat >conftest.$ac_ext <<_ACEOF
10155#line $LINENO "configure"
10156#include "confdefs.h"
10157$ac_includes_default
10158#ifdef F77_DUMMY_MAIN
10159# ifdef __cplusplus
10160 extern "C"
10161# endif
10162 int F77_DUMMY_MAIN() { return 1; }
10163#endif
10164int
10165main ()
10166{
10167if ((char *) 0)
10168 return 0;
10169if (sizeof (char))
10170 return 0;
10171 ;
10172 return 0;
10173}
10174_ACEOF
10175rm -f conftest.$ac_objext
10176if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10177 (eval $ac_compile) 2>&5
10178 ac_status=$?
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 (exit $ac_status); } &&
10181 { ac_try='test -s conftest.$ac_objext'
10182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10183 (eval $ac_try) 2>&5
10184 ac_status=$?
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); }; }; then
10187 ac_cv_type_char=yes
10188else
10189 echo "$as_me: failed program was:" >&5
10190cat conftest.$ac_ext >&5
10191ac_cv_type_char=no
10192fi
10193rm -f conftest.$ac_objext conftest.$ac_ext
10194fi
10195echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
10196echo "${ECHO_T}$ac_cv_type_char" >&6
10197
10198echo "$as_me:$LINENO: checking size of char" >&5
10199echo $ECHO_N "checking size of char... $ECHO_C" >&6
10200if test "${ac_cv_sizeof_char+set}" = set; then
10201 echo $ECHO_N "(cached) $ECHO_C" >&6
10202else
10203 if test "$ac_cv_type_char" = yes; then
10204 # The cast to unsigned long works around a bug in the HP C Compiler
10205 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10206 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10207 # This bug is HP SR number 8606223364.
10208 if test "$cross_compiling" = yes; then
10209 # Depending upon the size, compute the lo and hi bounds.
10210cat >conftest.$ac_ext <<_ACEOF
10211#line $LINENO "configure"
10212#include "confdefs.h"
10213$ac_includes_default
10214#ifdef F77_DUMMY_MAIN
10215# ifdef __cplusplus
10216 extern "C"
10217# endif
10218 int F77_DUMMY_MAIN() { return 1; }
10219#endif
10220int
10221main ()
10222{
10223static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= 0)@:>@;
10224test_array @<:@0@:>@ = 0
10225
10226 ;
10227 return 0;
10228}
10229_ACEOF
10230rm -f conftest.$ac_objext
10231if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10232 (eval $ac_compile) 2>&5
10233 ac_status=$?
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); } &&
10236 { ac_try='test -s conftest.$ac_objext'
10237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10238 (eval $ac_try) 2>&5
10239 ac_status=$?
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); }; }; then
10242 ac_lo=0 ac_mid=0
10243 while :; do
10244 cat >conftest.$ac_ext <<_ACEOF
10245#line $LINENO "configure"
10246#include "confdefs.h"
10247$ac_includes_default
10248#ifdef F77_DUMMY_MAIN
10249# ifdef __cplusplus
10250 extern "C"
10251# endif
10252 int F77_DUMMY_MAIN() { return 1; }
10253#endif
10254int
10255main ()
10256{
10257static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)@:>@;
10258test_array @<:@0@:>@ = 0
10259
10260 ;
10261 return 0;
10262}
10263_ACEOF
10264rm -f conftest.$ac_objext
10265if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10266 (eval $ac_compile) 2>&5
10267 ac_status=$?
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } &&
10270 { ac_try='test -s conftest.$ac_objext'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5
10273 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; }; then
10276 ac_hi=$ac_mid; break
10277else
10278 echo "$as_me: failed program was:" >&5
10279cat conftest.$ac_ext >&5
10280ac_lo=`expr $ac_mid + 1`
10281 if test $ac_lo -le $ac_mid; then
10282 ac_lo= ac_hi=
10283 break
10284 fi
10285 ac_mid=`expr 2 '*' $ac_mid + 1`
10286fi
10287rm -f conftest.$ac_objext conftest.$ac_ext
10288 done
10289else
10290 echo "$as_me: failed program was:" >&5
10291cat conftest.$ac_ext >&5
10292cat >conftest.$ac_ext <<_ACEOF
10293#line $LINENO "configure"
10294#include "confdefs.h"
10295$ac_includes_default
10296#ifdef F77_DUMMY_MAIN
10297# ifdef __cplusplus
10298 extern "C"
10299# endif
10300 int F77_DUMMY_MAIN() { return 1; }
10301#endif
10302int
10303main ()
10304{
10305static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) < 0)@:>@;
10306test_array @<:@0@:>@ = 0
10307
10308 ;
10309 return 0;
10310}
10311_ACEOF
10312rm -f conftest.$ac_objext
10313if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10314 (eval $ac_compile) 2>&5
10315 ac_status=$?
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); } &&
10318 { ac_try='test -s conftest.$ac_objext'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10321 ac_status=$?
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; }; then
10324 ac_hi=-1 ac_mid=-1
10325 while :; do
10326 cat >conftest.$ac_ext <<_ACEOF
10327#line $LINENO "configure"
10328#include "confdefs.h"
10329$ac_includes_default
10330#ifdef F77_DUMMY_MAIN
10331# ifdef __cplusplus
10332 extern "C"
10333# endif
10334 int F77_DUMMY_MAIN() { return 1; }
10335#endif
10336int
10337main ()
10338{
10339static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)@:>@;
10340test_array @<:@0@:>@ = 0
10341
10342 ;
10343 return 0;
10344}
10345_ACEOF
10346rm -f conftest.$ac_objext
10347if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10348 (eval $ac_compile) 2>&5
10349 ac_status=$?
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); } &&
10352 { ac_try='test -s conftest.$ac_objext'
10353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10354 (eval $ac_try) 2>&5
10355 ac_status=$?
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); }; }; then
10358 ac_lo=$ac_mid; break
10359else
10360 echo "$as_me: failed program was:" >&5
10361cat conftest.$ac_ext >&5
10362ac_hi=`expr '(' $ac_mid ')' - 1`
10363 if test $ac_mid -le $ac_hi; then
10364 ac_lo= ac_hi=
10365 break
10366 fi
10367 ac_mid=`expr 2 '*' $ac_mid`
10368fi
10369rm -f conftest.$ac_objext conftest.$ac_ext
10370 done
10371else
10372 echo "$as_me: failed program was:" >&5
10373cat conftest.$ac_ext >&5
10374ac_lo= ac_hi=
10375fi
10376rm -f conftest.$ac_objext conftest.$ac_ext
10377fi
10378rm -f conftest.$ac_objext conftest.$ac_ext
10379# Binary search between lo and hi bounds.
10380while test "x$ac_lo" != "x$ac_hi"; do
10381 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10382 cat >conftest.$ac_ext <<_ACEOF
10383#line $LINENO "configure"
10384#include "confdefs.h"
10385$ac_includes_default
10386#ifdef F77_DUMMY_MAIN
10387# ifdef __cplusplus
10388 extern "C"
10389# endif
10390 int F77_DUMMY_MAIN() { return 1; }
10391#endif
10392int
10393main ()
10394{
10395static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)@:>@;
10396test_array @<:@0@:>@ = 0
10397
10398 ;
10399 return 0;
10400}
10401_ACEOF
10402rm -f conftest.$ac_objext
10403if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10404 (eval $ac_compile) 2>&5
10405 ac_status=$?
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); } &&
10408 { ac_try='test -s conftest.$ac_objext'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10411 ac_status=$?
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; }; then
10414 ac_hi=$ac_mid
10415else
10416 echo "$as_me: failed program was:" >&5
10417cat conftest.$ac_ext >&5
10418ac_lo=`expr '(' $ac_mid ')' + 1`
10419fi
10420rm -f conftest.$ac_objext conftest.$ac_ext
10421done
10422case $ac_lo in
10423?*) ac_cv_sizeof_char=$ac_lo;;
10424'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5
10425echo "$as_me: error: cannot compute sizeof (char), 77" >&2;}
10426 { (exit 1); exit 1; }; } ;;
10427esac
10428else
10429 if test "$cross_compiling" = yes; then
10430 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
10431echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10432 { (exit 1); exit 1; }; }
10433else
10434 cat >conftest.$ac_ext <<_ACEOF
10435#line $LINENO "configure"
10436#include "confdefs.h"
10437$ac_includes_default
10438long longval () { return (long) (sizeof (char)); }
10439unsigned long ulongval () { return (long) (sizeof (char)); }
10440@%:@include <stdio.h>
10441@%:@include <stdlib.h>
10442#ifdef F77_DUMMY_MAIN
10443# ifdef __cplusplus
10444 extern "C"
10445# endif
10446 int F77_DUMMY_MAIN() { return 1; }
10447#endif
10448int
10449main ()
10450{
10451
10452 FILE *f = fopen ("conftest.val", "w");
10453 if (! f)
10454 exit (1);
10455 if (((long) (sizeof (char))) < 0)
10456 {
10457 long i = longval ();
10458 if (i != ((long) (sizeof (char))))
10459 exit (1);
10460 fprintf (f, "%ld\n", i);
10461 }
10462 else
10463 {
10464 unsigned long i = ulongval ();
10465 if (i != ((long) (sizeof (char))))
10466 exit (1);
10467 fprintf (f, "%lu\n", i);
10468 }
10469 exit (ferror (f) || fclose (f) != 0);
10470
10471 ;
10472 return 0;
10473}
10474_ACEOF
10475rm -f conftest$ac_exeext
10476if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10477 (eval $ac_link) 2>&5
10478 ac_status=$?
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10482 (eval $ac_try) 2>&5
10483 ac_status=$?
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); }; }; then
10486 ac_cv_sizeof_char=`cat conftest.val`
10487else
10488 echo "$as_me: program exited with status $ac_status" >&5
10489echo "$as_me: failed program was:" >&5
10490cat conftest.$ac_ext >&5
10491( exit $ac_status )
10492{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5
10493echo "$as_me: error: cannot compute sizeof (char), 77" >&2;}
10494 { (exit 1); exit 1; }; }
10495fi
10496rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10497fi
10498fi
10499rm -f conftest.val
10500else
10501 ac_cv_sizeof_char=0
10502fi
10503fi
10504echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
10505echo "${ECHO_T}$ac_cv_sizeof_char" >&6
10506cat >>confdefs.h <<_ACEOF
10507@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
10508_ACEOF
10509
10510
10511echo "$as_me:$LINENO: checking for short int" >&5
10512echo $ECHO_N "checking for short int... $ECHO_C" >&6
10513if test "${ac_cv_type_short_int+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10515else
10516 cat >conftest.$ac_ext <<_ACEOF
10517#line $LINENO "configure"
10518#include "confdefs.h"
10519$ac_includes_default
10520#ifdef F77_DUMMY_MAIN
10521# ifdef __cplusplus
10522 extern "C"
10523# endif
10524 int F77_DUMMY_MAIN() { return 1; }
10525#endif
10526int
10527main ()
10528{
10529if ((short int *) 0)
10530 return 0;
10531if (sizeof (short int))
10532 return 0;
10533 ;
10534 return 0;
10535}
10536_ACEOF
10537rm -f conftest.$ac_objext
10538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10539 (eval $ac_compile) 2>&5
10540 ac_status=$?
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } &&
10543 { ac_try='test -s conftest.$ac_objext'
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10546 ac_status=$?
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; }; then
10549 ac_cv_type_short_int=yes
10550else
10551 echo "$as_me: failed program was:" >&5
10552cat conftest.$ac_ext >&5
10553ac_cv_type_short_int=no
10554fi
10555rm -f conftest.$ac_objext conftest.$ac_ext
10556fi
10557echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
10558echo "${ECHO_T}$ac_cv_type_short_int" >&6
10559
10560echo "$as_me:$LINENO: checking size of short int" >&5
10561echo $ECHO_N "checking size of short int... $ECHO_C" >&6
10562if test "${ac_cv_sizeof_short_int+set}" = set; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6
10564else
10565 if test "$ac_cv_type_short_int" = yes; then
10566 # The cast to unsigned long works around a bug in the HP C Compiler
10567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10569 # This bug is HP SR number 8606223364.
10570 if test "$cross_compiling" = yes; then
10571 # Depending upon the size, compute the lo and hi bounds.
10572cat >conftest.$ac_ext <<_ACEOF
10573#line $LINENO "configure"
10574#include "confdefs.h"
10575$ac_includes_default
10576#ifdef F77_DUMMY_MAIN
10577# ifdef __cplusplus
10578 extern "C"
10579# endif
10580 int F77_DUMMY_MAIN() { return 1; }
10581#endif
10582int
10583main ()
10584{
10585static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >= 0)@:>@;
10586test_array @<:@0@:>@ = 0
10587
10588 ;
10589 return 0;
10590}
10591_ACEOF
10592rm -f conftest.$ac_objext
10593if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10594 (eval $ac_compile) 2>&5
10595 ac_status=$?
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); } &&
10598 { ac_try='test -s conftest.$ac_objext'
10599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10600 (eval $ac_try) 2>&5
10601 ac_status=$?
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); }; }; then
10604 ac_lo=0 ac_mid=0
10605 while :; do
10606 cat >conftest.$ac_ext <<_ACEOF
10607#line $LINENO "configure"
10608#include "confdefs.h"
10609$ac_includes_default
10610#ifdef F77_DUMMY_MAIN
10611# ifdef __cplusplus
10612 extern "C"
10613# endif
10614 int F77_DUMMY_MAIN() { return 1; }
10615#endif
10616int
10617main ()
10618{
10619static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)@:>@;
10620test_array @<:@0@:>@ = 0
10621
10622 ;
10623 return 0;
10624}
10625_ACEOF
10626rm -f conftest.$ac_objext
10627if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10628 (eval $ac_compile) 2>&5
10629 ac_status=$?
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); } &&
10632 { ac_try='test -s conftest.$ac_objext'
10633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10634 (eval $ac_try) 2>&5
10635 ac_status=$?
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); }; }; then
10638 ac_hi=$ac_mid; break
10639else
10640 echo "$as_me: failed program was:" >&5
10641cat conftest.$ac_ext >&5
10642ac_lo=`expr $ac_mid + 1`
10643 if test $ac_lo -le $ac_mid; then
10644 ac_lo= ac_hi=
10645 break
10646 fi
10647 ac_mid=`expr 2 '*' $ac_mid + 1`
10648fi
10649rm -f conftest.$ac_objext conftest.$ac_ext
10650 done
10651else
10652 echo "$as_me: failed program was:" >&5
10653cat conftest.$ac_ext >&5
10654cat >conftest.$ac_ext <<_ACEOF
10655#line $LINENO "configure"
10656#include "confdefs.h"
10657$ac_includes_default
10658#ifdef F77_DUMMY_MAIN
10659# ifdef __cplusplus
10660 extern "C"
10661# endif
10662 int F77_DUMMY_MAIN() { return 1; }
10663#endif
10664int
10665main ()
10666{
10667static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) < 0)@:>@;
10668test_array @<:@0@:>@ = 0
10669
10670 ;
10671 return 0;
10672}
10673_ACEOF
10674rm -f conftest.$ac_objext
10675if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10676 (eval $ac_compile) 2>&5
10677 ac_status=$?
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } &&
10680 { ac_try='test -s conftest.$ac_objext'
10681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10682 (eval $ac_try) 2>&5
10683 ac_status=$?
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); }; }; then
10686 ac_hi=-1 ac_mid=-1
10687 while :; do
10688 cat >conftest.$ac_ext <<_ACEOF
10689#line $LINENO "configure"
10690#include "confdefs.h"
10691$ac_includes_default
10692#ifdef F77_DUMMY_MAIN
10693# ifdef __cplusplus
10694 extern "C"
10695# endif
10696 int F77_DUMMY_MAIN() { return 1; }
10697#endif
10698int
10699main ()
10700{
10701static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)@:>@;
10702test_array @<:@0@:>@ = 0
10703
10704 ;
10705 return 0;
10706}
10707_ACEOF
10708rm -f conftest.$ac_objext
10709if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10710 (eval $ac_compile) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); } &&
10714 { ac_try='test -s conftest.$ac_objext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10717 ac_status=$?
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_lo=$ac_mid; break
10721else
10722 echo "$as_me: failed program was:" >&5
10723cat conftest.$ac_ext >&5
10724ac_hi=`expr '(' $ac_mid ')' - 1`
10725 if test $ac_mid -le $ac_hi; then
10726 ac_lo= ac_hi=
10727 break
10728 fi
10729 ac_mid=`expr 2 '*' $ac_mid`
10730fi
10731rm -f conftest.$ac_objext conftest.$ac_ext
10732 done
10733else
10734 echo "$as_me: failed program was:" >&5
10735cat conftest.$ac_ext >&5
10736ac_lo= ac_hi=
10737fi
10738rm -f conftest.$ac_objext conftest.$ac_ext
10739fi
10740rm -f conftest.$ac_objext conftest.$ac_ext
10741# Binary search between lo and hi bounds.
10742while test "x$ac_lo" != "x$ac_hi"; do
10743 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10744 cat >conftest.$ac_ext <<_ACEOF
10745#line $LINENO "configure"
10746#include "confdefs.h"
10747$ac_includes_default
10748#ifdef F77_DUMMY_MAIN
10749# ifdef __cplusplus
10750 extern "C"
10751# endif
10752 int F77_DUMMY_MAIN() { return 1; }
10753#endif
10754int
10755main ()
10756{
10757static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)@:>@;
10758test_array @<:@0@:>@ = 0
10759
10760 ;
10761 return 0;
10762}
10763_ACEOF
10764rm -f conftest.$ac_objext
10765if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10766 (eval $ac_compile) 2>&5
10767 ac_status=$?
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } &&
10770 { ac_try='test -s conftest.$ac_objext'
10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772 (eval $ac_try) 2>&5
10773 ac_status=$?
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); }; }; then
10776 ac_hi=$ac_mid
10777else
10778 echo "$as_me: failed program was:" >&5
10779cat conftest.$ac_ext >&5
10780ac_lo=`expr '(' $ac_mid ')' + 1`
10781fi
10782rm -f conftest.$ac_objext conftest.$ac_ext
10783done
10784case $ac_lo in
10785?*) ac_cv_sizeof_short_int=$ac_lo;;
10786'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77" >&5
10787echo "$as_me: error: cannot compute sizeof (short int), 77" >&2;}
10788 { (exit 1); exit 1; }; } ;;
10789esac
10790else
10791 if test "$cross_compiling" = yes; then
10792 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
10793echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10794 { (exit 1); exit 1; }; }
10795else
10796 cat >conftest.$ac_ext <<_ACEOF
10797#line $LINENO "configure"
10798#include "confdefs.h"
10799$ac_includes_default
10800long longval () { return (long) (sizeof (short int)); }
10801unsigned long ulongval () { return (long) (sizeof (short int)); }
10802@%:@include <stdio.h>
10803@%:@include <stdlib.h>
10804#ifdef F77_DUMMY_MAIN
10805# ifdef __cplusplus
10806 extern "C"
10807# endif
10808 int F77_DUMMY_MAIN() { return 1; }
10809#endif
10810int
10811main ()
10812{
10813
10814 FILE *f = fopen ("conftest.val", "w");
10815 if (! f)
10816 exit (1);
10817 if (((long) (sizeof (short int))) < 0)
10818 {
10819 long i = longval ();
10820 if (i != ((long) (sizeof (short int))))
10821 exit (1);
10822 fprintf (f, "%ld\n", i);
10823 }
10824 else
10825 {
10826 unsigned long i = ulongval ();
10827 if (i != ((long) (sizeof (short int))))
10828 exit (1);
10829 fprintf (f, "%lu\n", i);
10830 }
10831 exit (ferror (f) || fclose (f) != 0);
10832
10833 ;
10834 return 0;
10835}
10836_ACEOF
10837rm -f conftest$ac_exeext
10838if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10839 (eval $ac_link) 2>&5
10840 ac_status=$?
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10845 ac_status=$?
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; }; then
10848 ac_cv_sizeof_short_int=`cat conftest.val`
10849else
10850 echo "$as_me: program exited with status $ac_status" >&5
10851echo "$as_me: failed program was:" >&5
10852cat conftest.$ac_ext >&5
10853( exit $ac_status )
10854{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77" >&5
10855echo "$as_me: error: cannot compute sizeof (short int), 77" >&2;}
10856 { (exit 1); exit 1; }; }
10857fi
10858rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10859fi
10860fi
10861rm -f conftest.val
10862else
10863 ac_cv_sizeof_short_int=0
10864fi
10865fi
10866echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
10867echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
10868cat >>confdefs.h <<_ACEOF
10869@%:@define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
10870_ACEOF
10871
10872
10873echo "$as_me:$LINENO: checking for int" >&5
10874echo $ECHO_N "checking for int... $ECHO_C" >&6
10875if test "${ac_cv_type_int+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10877else
10878 cat >conftest.$ac_ext <<_ACEOF
10879#line $LINENO "configure"
10880#include "confdefs.h"
10881$ac_includes_default
10882#ifdef F77_DUMMY_MAIN
10883# ifdef __cplusplus
10884 extern "C"
10885# endif
10886 int F77_DUMMY_MAIN() { return 1; }
10887#endif
10888int
10889main ()
10890{
10891if ((int *) 0)
10892 return 0;
10893if (sizeof (int))
10894 return 0;
10895 ;
10896 return 0;
10897}
10898_ACEOF
10899rm -f conftest.$ac_objext
10900if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10901 (eval $ac_compile) 2>&5
10902 ac_status=$?
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); } &&
10905 { ac_try='test -s conftest.$ac_objext'
10906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907 (eval $ac_try) 2>&5
10908 ac_status=$?
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); }; }; then
10911 ac_cv_type_int=yes
10912else
10913 echo "$as_me: failed program was:" >&5
10914cat conftest.$ac_ext >&5
10915ac_cv_type_int=no
10916fi
10917rm -f conftest.$ac_objext conftest.$ac_ext
10918fi
10919echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
10920echo "${ECHO_T}$ac_cv_type_int" >&6
10921
10922echo "$as_me:$LINENO: checking size of int" >&5
10923echo $ECHO_N "checking size of int... $ECHO_C" >&6
10924if test "${ac_cv_sizeof_int+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10926else
10927 if test "$ac_cv_type_int" = yes; then
10928 # The cast to unsigned long works around a bug in the HP C Compiler
10929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10931 # This bug is HP SR number 8606223364.
10932 if test "$cross_compiling" = yes; then
10933 # Depending upon the size, compute the lo and hi bounds.
10934cat >conftest.$ac_ext <<_ACEOF
10935#line $LINENO "configure"
10936#include "confdefs.h"
10937$ac_includes_default
10938#ifdef F77_DUMMY_MAIN
10939# ifdef __cplusplus
10940 extern "C"
10941# endif
10942 int F77_DUMMY_MAIN() { return 1; }
10943#endif
10944int
10945main ()
10946{
10947static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= 0)@:>@;
10948test_array @<:@0@:>@ = 0
10949
10950 ;
10951 return 0;
10952}
10953_ACEOF
10954rm -f conftest.$ac_objext
10955if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10956 (eval $ac_compile) 2>&5
10957 ac_status=$?
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } &&
10960 { ac_try='test -s conftest.$ac_objext'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10963 ac_status=$?
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; }; then
10966 ac_lo=0 ac_mid=0
10967 while :; do
10968 cat >conftest.$ac_ext <<_ACEOF
10969#line $LINENO "configure"
10970#include "confdefs.h"
10971$ac_includes_default
10972#ifdef F77_DUMMY_MAIN
10973# ifdef __cplusplus
10974 extern "C"
10975# endif
10976 int F77_DUMMY_MAIN() { return 1; }
10977#endif
10978int
10979main ()
10980{
10981static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@;
10982test_array @<:@0@:>@ = 0
10983
10984 ;
10985 return 0;
10986}
10987_ACEOF
10988rm -f conftest.$ac_objext
10989if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10990 (eval $ac_compile) 2>&5
10991 ac_status=$?
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); } &&
10994 { ac_try='test -s conftest.$ac_objext'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10997 ac_status=$?
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; }; then
11000 ac_hi=$ac_mid; break
11001else
11002 echo "$as_me: failed program was:" >&5
11003cat conftest.$ac_ext >&5
11004ac_lo=`expr $ac_mid + 1`
11005 if test $ac_lo -le $ac_mid; then
11006 ac_lo= ac_hi=
11007 break
11008 fi
11009 ac_mid=`expr 2 '*' $ac_mid + 1`
11010fi
11011rm -f conftest.$ac_objext conftest.$ac_ext
11012 done
11013else
11014 echo "$as_me: failed program was:" >&5
11015cat conftest.$ac_ext >&5
11016cat >conftest.$ac_ext <<_ACEOF
11017#line $LINENO "configure"
11018#include "confdefs.h"
11019$ac_includes_default
11020#ifdef F77_DUMMY_MAIN
11021# ifdef __cplusplus
11022 extern "C"
11023# endif
11024 int F77_DUMMY_MAIN() { return 1; }
11025#endif
11026int
11027main ()
11028{
11029static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) < 0)@:>@;
11030test_array @<:@0@:>@ = 0
11031
11032 ;
11033 return 0;
11034}
11035_ACEOF
11036rm -f conftest.$ac_objext
11037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11038 (eval $ac_compile) 2>&5
11039 ac_status=$?
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } &&
11042 { ac_try='test -s conftest.$ac_objext'
11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 (eval $ac_try) 2>&5
11045 ac_status=$?
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; }; then
11048 ac_hi=-1 ac_mid=-1
11049 while :; do
11050 cat >conftest.$ac_ext <<_ACEOF
11051#line $LINENO "configure"
11052#include "confdefs.h"
11053$ac_includes_default
11054#ifdef F77_DUMMY_MAIN
11055# ifdef __cplusplus
11056 extern "C"
11057# endif
11058 int F77_DUMMY_MAIN() { return 1; }
11059#endif
11060int
11061main ()
11062{
11063static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)@:>@;
11064test_array @<:@0@:>@ = 0
11065
11066 ;
11067 return 0;
11068}
11069_ACEOF
11070rm -f conftest.$ac_objext
11071if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11072 (eval $ac_compile) 2>&5
11073 ac_status=$?
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); } &&
11076 { ac_try='test -s conftest.$ac_objext'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11079 ac_status=$?
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; }; then
11082 ac_lo=$ac_mid; break
11083else
11084 echo "$as_me: failed program was:" >&5
11085cat conftest.$ac_ext >&5
11086ac_hi=`expr '(' $ac_mid ')' - 1`
11087 if test $ac_mid -le $ac_hi; then
11088 ac_lo= ac_hi=
11089 break
11090 fi
11091 ac_mid=`expr 2 '*' $ac_mid`
11092fi
11093rm -f conftest.$ac_objext conftest.$ac_ext
11094 done
11095else
11096 echo "$as_me: failed program was:" >&5
11097cat conftest.$ac_ext >&5
11098ac_lo= ac_hi=
11099fi
11100rm -f conftest.$ac_objext conftest.$ac_ext
11101fi
11102rm -f conftest.$ac_objext conftest.$ac_ext
11103# Binary search between lo and hi bounds.
11104while test "x$ac_lo" != "x$ac_hi"; do
11105 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11106 cat >conftest.$ac_ext <<_ACEOF
11107#line $LINENO "configure"
11108#include "confdefs.h"
11109$ac_includes_default
11110#ifdef F77_DUMMY_MAIN
11111# ifdef __cplusplus
11112 extern "C"
11113# endif
11114 int F77_DUMMY_MAIN() { return 1; }
11115#endif
11116int
11117main ()
11118{
11119static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@;
11120test_array @<:@0@:>@ = 0
11121
11122 ;
11123 return 0;
11124}
11125_ACEOF
11126rm -f conftest.$ac_objext
11127if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11128 (eval $ac_compile) 2>&5
11129 ac_status=$?
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); } &&
11132 { ac_try='test -s conftest.$ac_objext'
11133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11134 (eval $ac_try) 2>&5
11135 ac_status=$?
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); }; }; then
11138 ac_hi=$ac_mid
11139else
11140 echo "$as_me: failed program was:" >&5
11141cat conftest.$ac_ext >&5
11142ac_lo=`expr '(' $ac_mid ')' + 1`
11143fi
11144rm -f conftest.$ac_objext conftest.$ac_ext
11145done
11146case $ac_lo in
11147?*) ac_cv_sizeof_int=$ac_lo;;
11148'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
11149echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
11150 { (exit 1); exit 1; }; } ;;
11151esac
11152else
11153 if test "$cross_compiling" = yes; then
11154 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
11155echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11156 { (exit 1); exit 1; }; }
11157else
11158 cat >conftest.$ac_ext <<_ACEOF
11159#line $LINENO "configure"
11160#include "confdefs.h"
11161$ac_includes_default
11162long longval () { return (long) (sizeof (int)); }
11163unsigned long ulongval () { return (long) (sizeof (int)); }
11164@%:@include <stdio.h>
11165@%:@include <stdlib.h>
11166#ifdef F77_DUMMY_MAIN
11167# ifdef __cplusplus
11168 extern "C"
11169# endif
11170 int F77_DUMMY_MAIN() { return 1; }
11171#endif
11172int
11173main ()
11174{
11175
11176 FILE *f = fopen ("conftest.val", "w");
11177 if (! f)
11178 exit (1);
11179 if (((long) (sizeof (int))) < 0)
11180 {
11181 long i = longval ();
11182 if (i != ((long) (sizeof (int))))
11183 exit (1);
11184 fprintf (f, "%ld\n", i);
11185 }
11186 else
11187 {
11188 unsigned long i = ulongval ();
11189 if (i != ((long) (sizeof (int))))
11190 exit (1);
11191 fprintf (f, "%lu\n", i);
11192 }
11193 exit (ferror (f) || fclose (f) != 0);
11194
11195 ;
11196 return 0;
11197}
11198_ACEOF
11199rm -f conftest$ac_exeext
11200if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11201 (eval $ac_link) 2>&5
11202 ac_status=$?
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11207 ac_status=$?
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; }; then
11210 ac_cv_sizeof_int=`cat conftest.val`
11211else
11212 echo "$as_me: program exited with status $ac_status" >&5
11213echo "$as_me: failed program was:" >&5
11214cat conftest.$ac_ext >&5
11215( exit $ac_status )
11216{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
11217echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
11218 { (exit 1); exit 1; }; }
11219fi
11220rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11221fi
11222fi
11223rm -f conftest.val
11224else
11225 ac_cv_sizeof_int=0
11226fi
11227fi
11228echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11229echo "${ECHO_T}$ac_cv_sizeof_int" >&6
11230cat >>confdefs.h <<_ACEOF
11231@%:@define SIZEOF_INT $ac_cv_sizeof_int
11232_ACEOF
11233
11234
11235echo "$as_me:$LINENO: checking for long int" >&5
11236echo $ECHO_N "checking for long int... $ECHO_C" >&6
11237if test "${ac_cv_type_long_int+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11239else
11240 cat >conftest.$ac_ext <<_ACEOF
11241#line $LINENO "configure"
11242#include "confdefs.h"
11243$ac_includes_default
11244#ifdef F77_DUMMY_MAIN
11245# ifdef __cplusplus
11246 extern "C"
11247# endif
11248 int F77_DUMMY_MAIN() { return 1; }
11249#endif
11250int
11251main ()
11252{
11253if ((long int *) 0)
11254 return 0;
11255if (sizeof (long int))
11256 return 0;
11257 ;
11258 return 0;
11259}
11260_ACEOF
11261rm -f conftest.$ac_objext
11262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11263 (eval $ac_compile) 2>&5
11264 ac_status=$?
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); } &&
11267 { ac_try='test -s conftest.$ac_objext'
11268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5
11270 ac_status=$?
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; }; then
11273 ac_cv_type_long_int=yes
11274else
11275 echo "$as_me: failed program was:" >&5
11276cat conftest.$ac_ext >&5
11277ac_cv_type_long_int=no
11278fi
11279rm -f conftest.$ac_objext conftest.$ac_ext
11280fi
11281echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
11282echo "${ECHO_T}$ac_cv_type_long_int" >&6
11283
11284echo "$as_me:$LINENO: checking size of long int" >&5
11285echo $ECHO_N "checking size of long int... $ECHO_C" >&6
11286if test "${ac_cv_sizeof_long_int+set}" = set; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6
11288else
11289 if test "$ac_cv_type_long_int" = yes; then
11290 # The cast to unsigned long works around a bug in the HP C Compiler
11291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11293 # This bug is HP SR number 8606223364.
11294 if test "$cross_compiling" = yes; then
11295 # Depending upon the size, compute the lo and hi bounds.
11296cat >conftest.$ac_ext <<_ACEOF
11297#line $LINENO "configure"
11298#include "confdefs.h"
11299$ac_includes_default
11300#ifdef F77_DUMMY_MAIN
11301# ifdef __cplusplus
11302 extern "C"
11303# endif
11304 int F77_DUMMY_MAIN() { return 1; }
11305#endif
11306int
11307main ()
11308{
11309static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= 0)@:>@;
11310test_array @<:@0@:>@ = 0
11311
11312 ;
11313 return 0;
11314}
11315_ACEOF
11316rm -f conftest.$ac_objext
11317if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11318 (eval $ac_compile) 2>&5
11319 ac_status=$?
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try='test -s conftest.$ac_objext'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11325 ac_status=$?
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; }; then
11328 ac_lo=0 ac_mid=0
11329 while :; do
11330 cat >conftest.$ac_ext <<_ACEOF
11331#line $LINENO "configure"
11332#include "confdefs.h"
11333$ac_includes_default
11334#ifdef F77_DUMMY_MAIN
11335# ifdef __cplusplus
11336 extern "C"
11337# endif
11338 int F77_DUMMY_MAIN() { return 1; }
11339#endif
11340int
11341main ()
11342{
11343static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@;
11344test_array @<:@0@:>@ = 0
11345
11346 ;
11347 return 0;
11348}
11349_ACEOF
11350rm -f conftest.$ac_objext
11351if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11352 (eval $ac_compile) 2>&5
11353 ac_status=$?
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); } &&
11356 { ac_try='test -s conftest.$ac_objext'
11357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11358 (eval $ac_try) 2>&5
11359 ac_status=$?
11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); }; }; then
11362 ac_hi=$ac_mid; break
11363else
11364 echo "$as_me: failed program was:" >&5
11365cat conftest.$ac_ext >&5
11366ac_lo=`expr $ac_mid + 1`
11367 if test $ac_lo -le $ac_mid; then
11368 ac_lo= ac_hi=
11369 break
11370 fi
11371 ac_mid=`expr 2 '*' $ac_mid + 1`
11372fi
11373rm -f conftest.$ac_objext conftest.$ac_ext
11374 done
11375else
11376 echo "$as_me: failed program was:" >&5
11377cat conftest.$ac_ext >&5
11378cat >conftest.$ac_ext <<_ACEOF
11379#line $LINENO "configure"
11380#include "confdefs.h"
11381$ac_includes_default
11382#ifdef F77_DUMMY_MAIN
11383# ifdef __cplusplus
11384 extern "C"
11385# endif
11386 int F77_DUMMY_MAIN() { return 1; }
11387#endif
11388int
11389main ()
11390{
11391static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) < 0)@:>@;
11392test_array @<:@0@:>@ = 0
11393
11394 ;
11395 return 0;
11396}
11397_ACEOF
11398rm -f conftest.$ac_objext
11399if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11400 (eval $ac_compile) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); } &&
11404 { ac_try='test -s conftest.$ac_objext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_hi=-1 ac_mid=-1
11411 while :; do
11412 cat >conftest.$ac_ext <<_ACEOF
11413#line $LINENO "configure"
11414#include "confdefs.h"
11415$ac_includes_default
11416#ifdef F77_DUMMY_MAIN
11417# ifdef __cplusplus
11418 extern "C"
11419# endif
11420 int F77_DUMMY_MAIN() { return 1; }
11421#endif
11422int
11423main ()
11424{
11425static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)@:>@;
11426test_array @<:@0@:>@ = 0
11427
11428 ;
11429 return 0;
11430}
11431_ACEOF
11432rm -f conftest.$ac_objext
11433if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11434 (eval $ac_compile) 2>&5
11435 ac_status=$?
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); } &&
11438 { ac_try='test -s conftest.$ac_objext'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11441 ac_status=$?
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; }; then
11444 ac_lo=$ac_mid; break
11445else
11446 echo "$as_me: failed program was:" >&5
11447cat conftest.$ac_ext >&5
11448ac_hi=`expr '(' $ac_mid ')' - 1`
11449 if test $ac_mid -le $ac_hi; then
11450 ac_lo= ac_hi=
11451 break
11452 fi
11453 ac_mid=`expr 2 '*' $ac_mid`
11454fi
11455rm -f conftest.$ac_objext conftest.$ac_ext
11456 done
11457else
11458 echo "$as_me: failed program was:" >&5
11459cat conftest.$ac_ext >&5
11460ac_lo= ac_hi=
11461fi
11462rm -f conftest.$ac_objext conftest.$ac_ext
11463fi
11464rm -f conftest.$ac_objext conftest.$ac_ext
11465# Binary search between lo and hi bounds.
11466while test "x$ac_lo" != "x$ac_hi"; do
11467 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11468 cat >conftest.$ac_ext <<_ACEOF
11469#line $LINENO "configure"
11470#include "confdefs.h"
11471$ac_includes_default
11472#ifdef F77_DUMMY_MAIN
11473# ifdef __cplusplus
11474 extern "C"
11475# endif
11476 int F77_DUMMY_MAIN() { return 1; }
11477#endif
11478int
11479main ()
11480{
11481static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@;
11482test_array @<:@0@:>@ = 0
11483
11484 ;
11485 return 0;
11486}
11487_ACEOF
11488rm -f conftest.$ac_objext
11489if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11490 (eval $ac_compile) 2>&5
11491 ac_status=$?
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); } &&
11494 { ac_try='test -s conftest.$ac_objext'
11495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11496 (eval $ac_try) 2>&5
11497 ac_status=$?
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); }; }; then
11500 ac_hi=$ac_mid
11501else
11502 echo "$as_me: failed program was:" >&5
11503cat conftest.$ac_ext >&5
11504ac_lo=`expr '(' $ac_mid ')' + 1`
11505fi
11506rm -f conftest.$ac_objext conftest.$ac_ext
11507done
11508case $ac_lo in
11509?*) ac_cv_sizeof_long_int=$ac_lo;;
11510'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77" >&5
11511echo "$as_me: error: cannot compute sizeof (long int), 77" >&2;}
11512 { (exit 1); exit 1; }; } ;;
11513esac
11514else
11515 if test "$cross_compiling" = yes; then
11516 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
11517echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11518 { (exit 1); exit 1; }; }
11519else
11520 cat >conftest.$ac_ext <<_ACEOF
11521#line $LINENO "configure"
11522#include "confdefs.h"
11523$ac_includes_default
11524long longval () { return (long) (sizeof (long int)); }
11525unsigned long ulongval () { return (long) (sizeof (long int)); }
11526@%:@include <stdio.h>
11527@%:@include <stdlib.h>
11528#ifdef F77_DUMMY_MAIN
11529# ifdef __cplusplus
11530 extern "C"
11531# endif
11532 int F77_DUMMY_MAIN() { return 1; }
11533#endif
11534int
11535main ()
11536{
11537
11538 FILE *f = fopen ("conftest.val", "w");
11539 if (! f)
11540 exit (1);
11541 if (((long) (sizeof (long int))) < 0)
11542 {
11543 long i = longval ();
11544 if (i != ((long) (sizeof (long int))))
11545 exit (1);
11546 fprintf (f, "%ld\n", i);
11547 }
11548 else
11549 {
11550 unsigned long i = ulongval ();
11551 if (i != ((long) (sizeof (long int))))
11552 exit (1);
11553 fprintf (f, "%lu\n", i);
11554 }
11555 exit (ferror (f) || fclose (f) != 0);
11556
11557 ;
11558 return 0;
11559}
11560_ACEOF
11561rm -f conftest$ac_exeext
11562if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11563 (eval $ac_link) 2>&5
11564 ac_status=$?
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11569 ac_status=$?
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; }; then
11572 ac_cv_sizeof_long_int=`cat conftest.val`
11573else
11574 echo "$as_me: program exited with status $ac_status" >&5
11575echo "$as_me: failed program was:" >&5
11576cat conftest.$ac_ext >&5
11577( exit $ac_status )
11578{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77" >&5
11579echo "$as_me: error: cannot compute sizeof (long int), 77" >&2;}
11580 { (exit 1); exit 1; }; }
11581fi
11582rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11583fi
11584fi
11585rm -f conftest.val
11586else
11587 ac_cv_sizeof_long_int=0
11588fi
11589fi
11590echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
11591echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
11592cat >>confdefs.h <<_ACEOF
11593@%:@define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
11594_ACEOF
11595
11596
11597echo "$as_me:$LINENO: checking for long long int" >&5
11598echo $ECHO_N "checking for long long int... $ECHO_C" >&6
11599if test "${ac_cv_type_long_long_int+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11601else
11602 cat >conftest.$ac_ext <<_ACEOF
11603#line $LINENO "configure"
11604#include "confdefs.h"
11605$ac_includes_default
11606#ifdef F77_DUMMY_MAIN
11607# ifdef __cplusplus
11608 extern "C"
11609# endif
11610 int F77_DUMMY_MAIN() { return 1; }
11611#endif
11612int
11613main ()
11614{
11615if ((long long int *) 0)
11616 return 0;
11617if (sizeof (long long int))
11618 return 0;
11619 ;
11620 return 0;
11621}
11622_ACEOF
11623rm -f conftest.$ac_objext
11624if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11625 (eval $ac_compile) 2>&5
11626 ac_status=$?
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try='test -s conftest.$ac_objext'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11632 ac_status=$?
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; }; then
11635 ac_cv_type_long_long_int=yes
11636else
11637 echo "$as_me: failed program was:" >&5
11638cat conftest.$ac_ext >&5
11639ac_cv_type_long_long_int=no
11640fi
11641rm -f conftest.$ac_objext conftest.$ac_ext
11642fi
11643echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
11644echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
11645
11646echo "$as_me:$LINENO: checking size of long long int" >&5
11647echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
11648if test "${ac_cv_sizeof_long_long_int+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11650else
11651 if test "$ac_cv_type_long_long_int" = yes; then
11652 # The cast to unsigned long works around a bug in the HP C Compiler
11653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11655 # This bug is HP SR number 8606223364.
11656 if test "$cross_compiling" = yes; then
11657 # Depending upon the size, compute the lo and hi bounds.
11658cat >conftest.$ac_ext <<_ACEOF
11659#line $LINENO "configure"
11660#include "confdefs.h"
11661$ac_includes_default
11662#ifdef F77_DUMMY_MAIN
11663# ifdef __cplusplus
11664 extern "C"
11665# endif
11666 int F77_DUMMY_MAIN() { return 1; }
11667#endif
11668int
11669main ()
11670{
11671static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >= 0)@:>@;
11672test_array @<:@0@:>@ = 0
11673
11674 ;
11675 return 0;
11676}
11677_ACEOF
11678rm -f conftest.$ac_objext
11679if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11680 (eval $ac_compile) 2>&5
11681 ac_status=$?
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); } &&
11684 { ac_try='test -s conftest.$ac_objext'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11687 ac_status=$?
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; }; then
11690 ac_lo=0 ac_mid=0
11691 while :; do
11692 cat >conftest.$ac_ext <<_ACEOF
11693#line $LINENO "configure"
11694#include "confdefs.h"
11695$ac_includes_default
11696#ifdef F77_DUMMY_MAIN
11697# ifdef __cplusplus
11698 extern "C"
11699# endif
11700 int F77_DUMMY_MAIN() { return 1; }
11701#endif
11702int
11703main ()
11704{
11705static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)@:>@;
11706test_array @<:@0@:>@ = 0
11707
11708 ;
11709 return 0;
11710}
11711_ACEOF
11712rm -f conftest.$ac_objext
11713if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11714 (eval $ac_compile) 2>&5
11715 ac_status=$?
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } &&
11718 { ac_try='test -s conftest.$ac_objext'
11719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11720 (eval $ac_try) 2>&5
11721 ac_status=$?
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); }; }; then
11724 ac_hi=$ac_mid; break
11725else
11726 echo "$as_me: failed program was:" >&5
11727cat conftest.$ac_ext >&5
11728ac_lo=`expr $ac_mid + 1`
11729 if test $ac_lo -le $ac_mid; then
11730 ac_lo= ac_hi=
11731 break
11732 fi
11733 ac_mid=`expr 2 '*' $ac_mid + 1`
11734fi
11735rm -f conftest.$ac_objext conftest.$ac_ext
11736 done
11737else
11738 echo "$as_me: failed program was:" >&5
11739cat conftest.$ac_ext >&5
11740cat >conftest.$ac_ext <<_ACEOF
11741#line $LINENO "configure"
11742#include "confdefs.h"
11743$ac_includes_default
11744#ifdef F77_DUMMY_MAIN
11745# ifdef __cplusplus
11746 extern "C"
11747# endif
11748 int F77_DUMMY_MAIN() { return 1; }
11749#endif
11750int
11751main ()
11752{
11753static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) < 0)@:>@;
11754test_array @<:@0@:>@ = 0
11755
11756 ;
11757 return 0;
11758}
11759_ACEOF
11760rm -f conftest.$ac_objext
11761if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11762 (eval $ac_compile) 2>&5
11763 ac_status=$?
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); } &&
11766 { ac_try='test -s conftest.$ac_objext'
11767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11768 (eval $ac_try) 2>&5
11769 ac_status=$?
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); }; }; then
11772 ac_hi=-1 ac_mid=-1
11773 while :; do
11774 cat >conftest.$ac_ext <<_ACEOF
11775#line $LINENO "configure"
11776#include "confdefs.h"
11777$ac_includes_default
11778#ifdef F77_DUMMY_MAIN
11779# ifdef __cplusplus
11780 extern "C"
11781# endif
11782 int F77_DUMMY_MAIN() { return 1; }
11783#endif
11784int
11785main ()
11786{
11787static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)@:>@;
11788test_array @<:@0@:>@ = 0
11789
11790 ;
11791 return 0;
11792}
11793_ACEOF
11794rm -f conftest.$ac_objext
11795if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11796 (eval $ac_compile) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } &&
11800 { ac_try='test -s conftest.$ac_objext'
11801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11802 (eval $ac_try) 2>&5
11803 ac_status=$?
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); }; }; then
11806 ac_lo=$ac_mid; break
11807else
11808 echo "$as_me: failed program was:" >&5
11809cat conftest.$ac_ext >&5
11810ac_hi=`expr '(' $ac_mid ')' - 1`
11811 if test $ac_mid -le $ac_hi; then
11812 ac_lo= ac_hi=
11813 break
11814 fi
11815 ac_mid=`expr 2 '*' $ac_mid`
11816fi
11817rm -f conftest.$ac_objext conftest.$ac_ext
11818 done
11819else
11820 echo "$as_me: failed program was:" >&5
11821cat conftest.$ac_ext >&5
11822ac_lo= ac_hi=
11823fi
11824rm -f conftest.$ac_objext conftest.$ac_ext
11825fi
11826rm -f conftest.$ac_objext conftest.$ac_ext
11827# Binary search between lo and hi bounds.
11828while test "x$ac_lo" != "x$ac_hi"; do
11829 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11830 cat >conftest.$ac_ext <<_ACEOF
11831#line $LINENO "configure"
11832#include "confdefs.h"
11833$ac_includes_default
11834#ifdef F77_DUMMY_MAIN
11835# ifdef __cplusplus
11836 extern "C"
11837# endif
11838 int F77_DUMMY_MAIN() { return 1; }
11839#endif
11840int
11841main ()
11842{
11843static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)@:>@;
11844test_array @<:@0@:>@ = 0
11845
11846 ;
11847 return 0;
11848}
11849_ACEOF
11850rm -f conftest.$ac_objext
11851if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11852 (eval $ac_compile) 2>&5
11853 ac_status=$?
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); } &&
11856 { ac_try='test -s conftest.$ac_objext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11859 ac_status=$?
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11862 ac_hi=$ac_mid
11863else
11864 echo "$as_me: failed program was:" >&5
11865cat conftest.$ac_ext >&5
11866ac_lo=`expr '(' $ac_mid ')' + 1`
11867fi
11868rm -f conftest.$ac_objext conftest.$ac_ext
11869done
11870case $ac_lo in
11871?*) ac_cv_sizeof_long_long_int=$ac_lo;;
11872'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77" >&5
11873echo "$as_me: error: cannot compute sizeof (long long int), 77" >&2;}
11874 { (exit 1); exit 1; }; } ;;
11875esac
11876else
11877 if test "$cross_compiling" = yes; then
11878 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
11879echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11880 { (exit 1); exit 1; }; }
11881else
11882 cat >conftest.$ac_ext <<_ACEOF
11883#line $LINENO "configure"
11884#include "confdefs.h"
11885$ac_includes_default
11886long longval () { return (long) (sizeof (long long int)); }
11887unsigned long ulongval () { return (long) (sizeof (long long int)); }
11888@%:@include <stdio.h>
11889@%:@include <stdlib.h>
11890#ifdef F77_DUMMY_MAIN
11891# ifdef __cplusplus
11892 extern "C"
11893# endif
11894 int F77_DUMMY_MAIN() { return 1; }
11895#endif
11896int
11897main ()
11898{
11899
11900 FILE *f = fopen ("conftest.val", "w");
11901 if (! f)
11902 exit (1);
11903 if (((long) (sizeof (long long int))) < 0)
11904 {
11905 long i = longval ();
11906 if (i != ((long) (sizeof (long long int))))
11907 exit (1);
11908 fprintf (f, "%ld\n", i);
11909 }
11910 else
11911 {
11912 unsigned long i = ulongval ();
11913 if (i != ((long) (sizeof (long long int))))
11914 exit (1);
11915 fprintf (f, "%lu\n", i);
11916 }
11917 exit (ferror (f) || fclose (f) != 0);
11918
11919 ;
11920 return 0;
11921}
11922_ACEOF
11923rm -f conftest$ac_exeext
11924if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11925 (eval $ac_link) 2>&5
11926 ac_status=$?
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11931 ac_status=$?
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); }; }; then
11934 ac_cv_sizeof_long_long_int=`cat conftest.val`
11935else
11936 echo "$as_me: program exited with status $ac_status" >&5
11937echo "$as_me: failed program was:" >&5
11938cat conftest.$ac_ext >&5
11939( exit $ac_status )
11940{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77" >&5
11941echo "$as_me: error: cannot compute sizeof (long long int), 77" >&2;}
11942 { (exit 1); exit 1; }; }
11943fi
11944rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11945fi
11946fi
11947rm -f conftest.val
11948else
11949 ac_cv_sizeof_long_long_int=0
11950fi
11951fi
11952echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
11953echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
11954cat >>confdefs.h <<_ACEOF
11955@%:@define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
11956_ACEOF
11957
11958
11959
11960# Sanity check long long for some platforms (AIX)
11961if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
11962 ac_cv_sizeof_long_long_int=0
11963fi
11964
11965# More checks for data types
11966echo "$as_me:$LINENO: checking for u_int type" >&5
11967echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
11968if test "${ac_cv_have_u_int+set}" = set; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11970else
11971
11972 cat >conftest.$ac_ext <<_ACEOF
11973#line $LINENO "configure"
11974#include "confdefs.h"
11975 #include <sys/types.h>
11976#ifdef F77_DUMMY_MAIN
11977# ifdef __cplusplus
11978 extern "C"
11979# endif
11980 int F77_DUMMY_MAIN() { return 1; }
11981#endif
11982int
11983main ()
11984{
11985 u_int a; a = 1;
11986 ;
11987 return 0;
11988}
11989_ACEOF
11990rm -f conftest.$ac_objext
11991if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11992 (eval $ac_compile) 2>&5
11993 ac_status=$?
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); } &&
11996 { ac_try='test -s conftest.$ac_objext'
11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998 (eval $ac_try) 2>&5
11999 ac_status=$?
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); }; }; then
12002 ac_cv_have_u_int="yes"
12003else
12004 echo "$as_me: failed program was:" >&5
12005cat conftest.$ac_ext >&5
12006 ac_cv_have_u_int="no"
12007
12008fi
12009rm -f conftest.$ac_objext conftest.$ac_ext
12010
12011fi
12012echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
12013echo "${ECHO_T}$ac_cv_have_u_int" >&6
12014if test "x$ac_cv_have_u_int" = "xyes" ; then
12015 cat >>confdefs.h <<\_ACEOF
12016@%:@define HAVE_U_INT 1
12017_ACEOF
12018
12019 have_u_int=1
12020fi
12021
12022echo "$as_me:$LINENO: checking for intXX_t types" >&5
12023echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
12024if test "${ac_cv_have_intxx_t+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12026else
12027
12028 cat >conftest.$ac_ext <<_ACEOF
12029#line $LINENO "configure"
12030#include "confdefs.h"
12031 #include <sys/types.h>
12032#ifdef F77_DUMMY_MAIN
12033# ifdef __cplusplus
12034 extern "C"
12035# endif
12036 int F77_DUMMY_MAIN() { return 1; }
12037#endif
12038int
12039main ()
12040{
12041 int8_t a; int16_t b; int32_t c; a = b = c = 1;
12042 ;
12043 return 0;
12044}
12045_ACEOF
12046rm -f conftest.$ac_objext
12047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12048 (eval $ac_compile) 2>&5
12049 ac_status=$?
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); } &&
12052 { ac_try='test -s conftest.$ac_objext'
12053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12054 (eval $ac_try) 2>&5
12055 ac_status=$?
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); }; }; then
12058 ac_cv_have_intxx_t="yes"
12059else
12060 echo "$as_me: failed program was:" >&5
12061cat conftest.$ac_ext >&5
12062 ac_cv_have_intxx_t="no"
12063
12064fi
12065rm -f conftest.$ac_objext conftest.$ac_ext
12066
12067fi
12068echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
12069echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
12070if test "x$ac_cv_have_intxx_t" = "xyes" ; then
12071 cat >>confdefs.h <<\_ACEOF
12072@%:@define HAVE_INTXX_T 1
12073_ACEOF
12074
12075 have_intxx_t=1
12076fi
12077
12078if (test -z "$have_intxx_t" && \
12079 test "x$ac_cv_header_stdint_h" = "xyes")
12080then
12081 echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5
12082echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6
12083 cat >conftest.$ac_ext <<_ACEOF
12084#line $LINENO "configure"
12085#include "confdefs.h"
12086 #include <stdint.h>
12087#ifdef F77_DUMMY_MAIN
12088# ifdef __cplusplus
12089 extern "C"
12090# endif
12091 int F77_DUMMY_MAIN() { return 1; }
12092#endif
12093int
12094main ()
12095{
12096 int8_t a; int16_t b; int32_t c; a = b = c = 1;
12097 ;
12098 return 0;
12099}
12100_ACEOF
12101rm -f conftest.$ac_objext
12102if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12103 (eval $ac_compile) 2>&5
12104 ac_status=$?
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); } &&
12107 { ac_try='test -s conftest.$ac_objext'
12108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12109 (eval $ac_try) 2>&5
12110 ac_status=$?
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); }; }; then
12113
12114 cat >>confdefs.h <<\_ACEOF
12115@%:@define HAVE_INTXX_T 1
12116_ACEOF
12117
12118 echo "$as_me:$LINENO: result: yes" >&5
12119echo "${ECHO_T}yes" >&6
12120
12121else
12122 echo "$as_me: failed program was:" >&5
12123cat conftest.$ac_ext >&5
12124 echo "$as_me:$LINENO: result: no" >&5
12125echo "${ECHO_T}no" >&6
12126
12127fi
12128rm -f conftest.$ac_objext conftest.$ac_ext
12129fi
12130
12131echo "$as_me:$LINENO: checking for int64_t type" >&5
12132echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
12133if test "${ac_cv_have_int64_t+set}" = set; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12135else
12136
12137 cat >conftest.$ac_ext <<_ACEOF
12138#line $LINENO "configure"
12139#include "confdefs.h"
12140
12141#include <sys/types.h>
12142#ifdef HAVE_STDINT_H
12143# include <stdint.h>
12144#endif
12145#include <sys/socket.h>
12146#ifdef HAVE_SYS_BITYPES_H
12147# include <sys/bitypes.h>
12148#endif
12149
12150#ifdef F77_DUMMY_MAIN
12151# ifdef __cplusplus
12152 extern "C"
12153# endif
12154 int F77_DUMMY_MAIN() { return 1; }
12155#endif
12156int
12157main ()
12158{
12159 int64_t a; a = 1;
12160 ;
12161 return 0;
12162}
12163_ACEOF
12164rm -f conftest.$ac_objext
12165if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12166 (eval $ac_compile) 2>&5
12167 ac_status=$?
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } &&
12170 { ac_try='test -s conftest.$ac_objext'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12173 ac_status=$?
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; }; then
12176 ac_cv_have_int64_t="yes"
12177else
12178 echo "$as_me: failed program was:" >&5
12179cat conftest.$ac_ext >&5
12180 ac_cv_have_int64_t="no"
12181
12182fi
12183rm -f conftest.$ac_objext conftest.$ac_ext
12184
12185fi
12186echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
12187echo "${ECHO_T}$ac_cv_have_int64_t" >&6
12188if test "x$ac_cv_have_int64_t" = "xyes" ; then
12189 cat >>confdefs.h <<\_ACEOF
12190@%:@define HAVE_INT64_T 1
12191_ACEOF
12192
12193fi
12194
12195echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
12196echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
12197if test "${ac_cv_have_u_intxx_t+set}" = set; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12199else
12200
12201 cat >conftest.$ac_ext <<_ACEOF
12202#line $LINENO "configure"
12203#include "confdefs.h"
12204 #include <sys/types.h>
12205#ifdef F77_DUMMY_MAIN
12206# ifdef __cplusplus
12207 extern "C"
12208# endif
12209 int F77_DUMMY_MAIN() { return 1; }
12210#endif
12211int
12212main ()
12213{
12214 u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
12215 ;
12216 return 0;
12217}
12218_ACEOF
12219rm -f conftest.$ac_objext
12220if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12221 (eval $ac_compile) 2>&5
12222 ac_status=$?
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); } &&
12225 { ac_try='test -s conftest.$ac_objext'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12228 ac_status=$?
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; }; then
12231 ac_cv_have_u_intxx_t="yes"
12232else
12233 echo "$as_me: failed program was:" >&5
12234cat conftest.$ac_ext >&5
12235 ac_cv_have_u_intxx_t="no"
12236
12237fi
12238rm -f conftest.$ac_objext conftest.$ac_ext
12239
12240fi
12241echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
12242echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
12243if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
12244 cat >>confdefs.h <<\_ACEOF
12245@%:@define HAVE_U_INTXX_T 1
12246_ACEOF
12247
12248 have_u_intxx_t=1
12249fi
12250
12251if test -z "$have_u_intxx_t" ; then
12252 echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5
12253echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6
12254 cat >conftest.$ac_ext <<_ACEOF
12255#line $LINENO "configure"
12256#include "confdefs.h"
12257 #include <sys/socket.h>
12258#ifdef F77_DUMMY_MAIN
12259# ifdef __cplusplus
12260 extern "C"
12261# endif
12262 int F77_DUMMY_MAIN() { return 1; }
12263#endif
12264int
12265main ()
12266{
12267 u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
12268 ;
12269 return 0;
12270}
12271_ACEOF
12272rm -f conftest.$ac_objext
12273if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12274 (eval $ac_compile) 2>&5
12275 ac_status=$?
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12281 ac_status=$?
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12284
12285 cat >>confdefs.h <<\_ACEOF
12286@%:@define HAVE_U_INTXX_T 1
12287_ACEOF
12288
12289 echo "$as_me:$LINENO: result: yes" >&5
12290echo "${ECHO_T}yes" >&6
12291
12292else
12293 echo "$as_me: failed program was:" >&5
12294cat conftest.$ac_ext >&5
12295 echo "$as_me:$LINENO: result: no" >&5
12296echo "${ECHO_T}no" >&6
12297
12298fi
12299rm -f conftest.$ac_objext conftest.$ac_ext
12300fi
12301
12302echo "$as_me:$LINENO: checking for u_int64_t types" >&5
12303echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
12304if test "${ac_cv_have_u_int64_t+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12306else
12307
12308 cat >conftest.$ac_ext <<_ACEOF
12309#line $LINENO "configure"
12310#include "confdefs.h"
12311 #include <sys/types.h>
12312#ifdef F77_DUMMY_MAIN
12313# ifdef __cplusplus
12314 extern "C"
12315# endif
12316 int F77_DUMMY_MAIN() { return 1; }
12317#endif
12318int
12319main ()
12320{
12321 u_int64_t a; a = 1;
12322 ;
12323 return 0;
12324}
12325_ACEOF
12326rm -f conftest.$ac_objext
12327if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12328 (eval $ac_compile) 2>&5
12329 ac_status=$?
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); } &&
12332 { ac_try='test -s conftest.$ac_objext'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12335 ac_status=$?
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; }; then
12338 ac_cv_have_u_int64_t="yes"
12339else
12340 echo "$as_me: failed program was:" >&5
12341cat conftest.$ac_ext >&5
12342 ac_cv_have_u_int64_t="no"
12343
12344fi
12345rm -f conftest.$ac_objext conftest.$ac_ext
12346
12347fi
12348echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
12349echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
12350if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
12351 cat >>confdefs.h <<\_ACEOF
12352@%:@define HAVE_U_INT64_T 1
12353_ACEOF
12354
12355 have_u_int64_t=1
12356fi
12357
12358if test -z "$have_u_int64_t" ; then
12359 echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5
12360echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6
12361 cat >conftest.$ac_ext <<_ACEOF
12362#line $LINENO "configure"
12363#include "confdefs.h"
12364 #include <sys/bitypes.h>
12365#ifdef F77_DUMMY_MAIN
12366# ifdef __cplusplus
12367 extern "C"
12368# endif
12369 int F77_DUMMY_MAIN() { return 1; }
12370#endif
12371int
12372main ()
12373{
12374 u_int64_t a; a = 1
12375 ;
12376 return 0;
12377}
12378_ACEOF
12379rm -f conftest.$ac_objext
12380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12381 (eval $ac_compile) 2>&5
12382 ac_status=$?
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -s conftest.$ac_objext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391
12392 cat >>confdefs.h <<\_ACEOF
12393@%:@define HAVE_U_INT64_T 1
12394_ACEOF
12395
12396 echo "$as_me:$LINENO: result: yes" >&5
12397echo "${ECHO_T}yes" >&6
12398
12399else
12400 echo "$as_me: failed program was:" >&5
12401cat conftest.$ac_ext >&5
12402 echo "$as_me:$LINENO: result: no" >&5
12403echo "${ECHO_T}no" >&6
12404
12405fi
12406rm -f conftest.$ac_objext conftest.$ac_ext
12407fi
12408
12409if test -z "$have_u_intxx_t" ; then
12410 echo "$as_me:$LINENO: checking for uintXX_t types" >&5
12411echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
12412if test "${ac_cv_have_uintxx_t+set}" = set; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12414else
12415
12416 cat >conftest.$ac_ext <<_ACEOF
12417#line $LINENO "configure"
12418#include "confdefs.h"
12419
12420#include <sys/types.h>
12421
12422#ifdef F77_DUMMY_MAIN
12423# ifdef __cplusplus
12424 extern "C"
12425# endif
12426 int F77_DUMMY_MAIN() { return 1; }
12427#endif
12428int
12429main ()
12430{
12431 uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;
12432 ;
12433 return 0;
12434}
12435_ACEOF
12436rm -f conftest.$ac_objext
12437if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438 (eval $ac_compile) 2>&5
12439 ac_status=$?
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); } &&
12442 { ac_try='test -s conftest.$ac_objext'
12443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444 (eval $ac_try) 2>&5
12445 ac_status=$?
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); }; }; then
12448 ac_cv_have_uintxx_t="yes"
12449else
12450 echo "$as_me: failed program was:" >&5
12451cat conftest.$ac_ext >&5
12452 ac_cv_have_uintxx_t="no"
12453
12454fi
12455rm -f conftest.$ac_objext conftest.$ac_ext
12456
12457fi
12458echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
12459echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
12460 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
12461 cat >>confdefs.h <<\_ACEOF
12462@%:@define HAVE_UINTXX_T 1
12463_ACEOF
12464
12465 fi
12466fi
12467
12468if test -z "$have_uintxx_t" ; then
12469 echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5
12470echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6
12471 cat >conftest.$ac_ext <<_ACEOF
12472#line $LINENO "configure"
12473#include "confdefs.h"
12474 #include <stdint.h>
12475#ifdef F77_DUMMY_MAIN
12476# ifdef __cplusplus
12477 extern "C"
12478# endif
12479 int F77_DUMMY_MAIN() { return 1; }
12480#endif
12481int
12482main ()
12483{
12484 uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;
12485 ;
12486 return 0;
12487}
12488_ACEOF
12489rm -f conftest.$ac_objext
12490if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12491 (eval $ac_compile) 2>&5
12492 ac_status=$?
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); } &&
12495 { ac_try='test -s conftest.$ac_objext'
12496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497 (eval $ac_try) 2>&5
12498 ac_status=$?
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }; }; then
12501
12502 cat >>confdefs.h <<\_ACEOF
12503@%:@define HAVE_UINTXX_T 1
12504_ACEOF
12505
12506 echo "$as_me:$LINENO: result: yes" >&5
12507echo "${ECHO_T}yes" >&6
12508
12509else
12510 echo "$as_me: failed program was:" >&5
12511cat conftest.$ac_ext >&5
12512 echo "$as_me:$LINENO: result: no" >&5
12513echo "${ECHO_T}no" >&6
12514
12515fi
12516rm -f conftest.$ac_objext conftest.$ac_ext
12517fi
12518
12519if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
12520 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
12521then
12522 echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
12523echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
12524 cat >conftest.$ac_ext <<_ACEOF
12525#line $LINENO "configure"
12526#include "confdefs.h"
12527
12528#include <sys/bitypes.h>
12529
12530#ifdef F77_DUMMY_MAIN
12531# ifdef __cplusplus
12532 extern "C"
12533# endif
12534 int F77_DUMMY_MAIN() { return 1; }
12535#endif
12536int
12537main ()
12538{
12539
12540 int8_t a; int16_t b; int32_t c;
12541 u_int8_t e; u_int16_t f; u_int32_t g;
12542 a = b = c = e = f = g = 1;
12543
12544 ;
12545 return 0;
12546}
12547_ACEOF
12548rm -f conftest.$ac_objext
12549if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12550 (eval $ac_compile) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); } &&
12554 { ac_try='test -s conftest.$ac_objext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12557 ac_status=$?
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560
12561 cat >>confdefs.h <<\_ACEOF
12562@%:@define HAVE_U_INTXX_T 1
12563_ACEOF
12564
12565 cat >>confdefs.h <<\_ACEOF
12566@%:@define HAVE_INTXX_T 1
12567_ACEOF
12568
12569 echo "$as_me:$LINENO: result: yes" >&5
12570echo "${ECHO_T}yes" >&6
12571
12572else
12573 echo "$as_me: failed program was:" >&5
12574cat conftest.$ac_ext >&5
12575echo "$as_me:$LINENO: result: no" >&5
12576echo "${ECHO_T}no" >&6
12577
12578fi
12579rm -f conftest.$ac_objext conftest.$ac_ext
12580fi
12581
12582
12583echo "$as_me:$LINENO: checking for u_char" >&5
12584echo $ECHO_N "checking for u_char... $ECHO_C" >&6
12585if test "${ac_cv_have_u_char+set}" = set; then
12586 echo $ECHO_N "(cached) $ECHO_C" >&6
12587else
12588
12589 cat >conftest.$ac_ext <<_ACEOF
12590#line $LINENO "configure"
12591#include "confdefs.h"
12592
12593#include <sys/types.h>
12594
12595#ifdef F77_DUMMY_MAIN
12596# ifdef __cplusplus
12597 extern "C"
12598# endif
12599 int F77_DUMMY_MAIN() { return 1; }
12600#endif
12601int
12602main ()
12603{
12604 u_char foo; foo = 125;
12605 ;
12606 return 0;
12607}
12608_ACEOF
12609rm -f conftest.$ac_objext
12610if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12611 (eval $ac_compile) 2>&5
12612 ac_status=$?
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); } &&
12615 { ac_try='test -s conftest.$ac_objext'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12618 ac_status=$?
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_have_u_char="yes"
12622else
12623 echo "$as_me: failed program was:" >&5
12624cat conftest.$ac_ext >&5
12625 ac_cv_have_u_char="no"
12626
12627fi
12628rm -f conftest.$ac_objext conftest.$ac_ext
12629
12630fi
12631echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
12632echo "${ECHO_T}$ac_cv_have_u_char" >&6
12633if test "x$ac_cv_have_u_char" = "xyes" ; then
12634 cat >>confdefs.h <<\_ACEOF
12635@%:@define HAVE_U_CHAR 1
12636_ACEOF
12637
12638fi
12639
12640
12641 echo "$as_me:$LINENO: checking for socklen_t" >&5
12642echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
12643if test "${ac_cv_type_socklen_t+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12645else
12646 cat >conftest.$ac_ext <<_ACEOF
12647#line $LINENO "configure"
12648#include "confdefs.h"
12649#include <sys/types.h>
12650#include <sys/socket.h>
12651
12652#ifdef F77_DUMMY_MAIN
12653# ifdef __cplusplus
12654 extern "C"
12655# endif
12656 int F77_DUMMY_MAIN() { return 1; }
12657#endif
12658int
12659main ()
12660{
12661if ((socklen_t *) 0)
12662 return 0;
12663if (sizeof (socklen_t))
12664 return 0;
12665 ;
12666 return 0;
12667}
12668_ACEOF
12669rm -f conftest.$ac_objext
12670if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12671 (eval $ac_compile) 2>&5
12672 ac_status=$?
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } &&
12675 { ac_try='test -s conftest.$ac_objext'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12678 ac_status=$?
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; }; then
12681 ac_cv_type_socklen_t=yes
12682else
12683 echo "$as_me: failed program was:" >&5
12684cat conftest.$ac_ext >&5
12685ac_cv_type_socklen_t=no
12686fi
12687rm -f conftest.$ac_objext conftest.$ac_ext
12688fi
12689echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
12690echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
12691if test $ac_cv_type_socklen_t = yes; then
12692 :
12693else
12694
12695 echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
12696echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
12697 if test "${curl_cv_socklen_t_equiv+set}" = set; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12699else
12700
12701 # Systems have either "struct sockaddr *" or
12702 # "void *" as the second argument to getpeername
12703 curl_cv_socklen_t_equiv=
12704 for arg2 in "struct sockaddr" void; do
12705 for t in int size_t unsigned long "unsigned long"; do
12706 cat >conftest.$ac_ext <<_ACEOF
12707#line $LINENO "configure"
12708#include "confdefs.h"
12709
12710 #include <sys/types.h>
12711 #include <sys/socket.h>
12712
12713 int getpeername (int, $arg2 *, $t *);
12714
12715#ifdef F77_DUMMY_MAIN
12716# ifdef __cplusplus
12717 extern "C"
12718# endif
12719 int F77_DUMMY_MAIN() { return 1; }
12720#endif
12721int
12722main ()
12723{
12724
12725 $t len;
12726 getpeername(0,0,&len);
12727
12728 ;
12729 return 0;
12730}
12731_ACEOF
12732rm -f conftest.$ac_objext
12733if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12734 (eval $ac_compile) 2>&5
12735 ac_status=$?
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } &&
12738 { ac_try='test -s conftest.$ac_objext'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12741 ac_status=$?
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; }; then
12744
12745 curl_cv_socklen_t_equiv="$t"
12746 break
12747
12748else
12749 echo "$as_me: failed program was:" >&5
12750cat conftest.$ac_ext >&5
12751fi
12752rm -f conftest.$ac_objext conftest.$ac_ext
12753 done
12754 done
12755
12756 if test "x$curl_cv_socklen_t_equiv" = x; then
12757 { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
12758echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
12759 { (exit 1); exit 1; }; }
12760 fi
12761
12762fi
12763
12764 echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
12765echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
12766
12767cat >>confdefs.h <<_ACEOF
12768@%:@define socklen_t $curl_cv_socklen_t_equiv
12769_ACEOF
12770
12771fi
12772
12773
12774
12775echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
12776echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
12777if test "${ac_cv_type_sig_atomic_t+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779else
12780 cat >conftest.$ac_ext <<_ACEOF
12781#line $LINENO "configure"
12782#include "confdefs.h"
12783#include <signal.h>
12784
12785#ifdef F77_DUMMY_MAIN
12786# ifdef __cplusplus
12787 extern "C"
12788# endif
12789 int F77_DUMMY_MAIN() { return 1; }
12790#endif
12791int
12792main ()
12793{
12794if ((sig_atomic_t *) 0)
12795 return 0;
12796if (sizeof (sig_atomic_t))
12797 return 0;
12798 ;
12799 return 0;
12800}
12801_ACEOF
12802rm -f conftest.$ac_objext
12803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12804 (eval $ac_compile) 2>&5
12805 ac_status=$?
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try='test -s conftest.$ac_objext'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; }; then
12814 ac_cv_type_sig_atomic_t=yes
12815else
12816 echo "$as_me: failed program was:" >&5
12817cat conftest.$ac_ext >&5
12818ac_cv_type_sig_atomic_t=no
12819fi
12820rm -f conftest.$ac_objext conftest.$ac_ext
12821fi
12822echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
12823echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
12824if test $ac_cv_type_sig_atomic_t = yes; then
12825
12826cat >>confdefs.h <<_ACEOF
12827@%:@define HAVE_SIG_ATOMIC_T 1
12828_ACEOF
12829
12830
12831fi
12832
12833
12834echo "$as_me:$LINENO: checking for size_t" >&5
12835echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12836if test "${ac_cv_have_size_t+set}" = set; then
12837 echo $ECHO_N "(cached) $ECHO_C" >&6
12838else
12839
12840 cat >conftest.$ac_ext <<_ACEOF
12841#line $LINENO "configure"
12842#include "confdefs.h"
12843
12844#include <sys/types.h>
12845
12846#ifdef F77_DUMMY_MAIN
12847# ifdef __cplusplus
12848 extern "C"
12849# endif
12850 int F77_DUMMY_MAIN() { return 1; }
12851#endif
12852int
12853main ()
12854{
12855 size_t foo; foo = 1235;
12856 ;
12857 return 0;
12858}
12859_ACEOF
12860rm -f conftest.$ac_objext
12861if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12862 (eval $ac_compile) 2>&5
12863 ac_status=$?
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); } &&
12866 { ac_try='test -s conftest.$ac_objext'
12867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12868 (eval $ac_try) 2>&5
12869 ac_status=$?
12870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); }; }; then
12872 ac_cv_have_size_t="yes"
12873else
12874 echo "$as_me: failed program was:" >&5
12875cat conftest.$ac_ext >&5
12876 ac_cv_have_size_t="no"
12877
12878fi
12879rm -f conftest.$ac_objext conftest.$ac_ext
12880
12881fi
12882echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
12883echo "${ECHO_T}$ac_cv_have_size_t" >&6
12884if test "x$ac_cv_have_size_t" = "xyes" ; then
12885 cat >>confdefs.h <<\_ACEOF
12886@%:@define HAVE_SIZE_T 1
12887_ACEOF
12888
12889fi
12890
12891echo "$as_me:$LINENO: checking for ssize_t" >&5
12892echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12893if test "${ac_cv_have_ssize_t+set}" = set; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12895else
12896
12897 cat >conftest.$ac_ext <<_ACEOF
12898#line $LINENO "configure"
12899#include "confdefs.h"
12900
12901#include <sys/types.h>
12902
12903#ifdef F77_DUMMY_MAIN
12904# ifdef __cplusplus
12905 extern "C"
12906# endif
12907 int F77_DUMMY_MAIN() { return 1; }
12908#endif
12909int
12910main ()
12911{
12912 ssize_t foo; foo = 1235;
12913 ;
12914 return 0;
12915}
12916_ACEOF
12917rm -f conftest.$ac_objext
12918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12919 (eval $ac_compile) 2>&5
12920 ac_status=$?
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); } &&
12923 { ac_try='test -s conftest.$ac_objext'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12926 ac_status=$?
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; }; then
12929 ac_cv_have_ssize_t="yes"
12930else
12931 echo "$as_me: failed program was:" >&5
12932cat conftest.$ac_ext >&5
12933 ac_cv_have_ssize_t="no"
12934
12935fi
12936rm -f conftest.$ac_objext conftest.$ac_ext
12937
12938fi
12939echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
12940echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
12941if test "x$ac_cv_have_ssize_t" = "xyes" ; then
12942 cat >>confdefs.h <<\_ACEOF
12943@%:@define HAVE_SSIZE_T 1
12944_ACEOF
12945
12946fi
12947
12948echo "$as_me:$LINENO: checking for clock_t" >&5
12949echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
12950if test "${ac_cv_have_clock_t+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12952else
12953
12954 cat >conftest.$ac_ext <<_ACEOF
12955#line $LINENO "configure"
12956#include "confdefs.h"
12957
12958#include <time.h>
12959
12960#ifdef F77_DUMMY_MAIN
12961# ifdef __cplusplus
12962 extern "C"
12963# endif
12964 int F77_DUMMY_MAIN() { return 1; }
12965#endif
12966int
12967main ()
12968{
12969 clock_t foo; foo = 1235;
12970 ;
12971 return 0;
12972}
12973_ACEOF
12974rm -f conftest.$ac_objext
12975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12976 (eval $ac_compile) 2>&5
12977 ac_status=$?
12978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); } &&
12980 { ac_try='test -s conftest.$ac_objext'
12981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12982 (eval $ac_try) 2>&5
12983 ac_status=$?
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); }; }; then
12986 ac_cv_have_clock_t="yes"
12987else
12988 echo "$as_me: failed program was:" >&5
12989cat conftest.$ac_ext >&5
12990 ac_cv_have_clock_t="no"
12991
12992fi
12993rm -f conftest.$ac_objext conftest.$ac_ext
12994
12995fi
12996echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
12997echo "${ECHO_T}$ac_cv_have_clock_t" >&6
12998if test "x$ac_cv_have_clock_t" = "xyes" ; then
12999 cat >>confdefs.h <<\_ACEOF
13000@%:@define HAVE_CLOCK_T 1
13001_ACEOF
13002
13003fi
13004
13005echo "$as_me:$LINENO: checking for sa_family_t" >&5
13006echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
13007if test "${ac_cv_have_sa_family_t+set}" = set; then
13008 echo $ECHO_N "(cached) $ECHO_C" >&6
13009else
13010
13011 cat >conftest.$ac_ext <<_ACEOF
13012#line $LINENO "configure"
13013#include "confdefs.h"
13014
13015#include <sys/types.h>
13016#include <sys/socket.h>
13017
13018#ifdef F77_DUMMY_MAIN
13019# ifdef __cplusplus
13020 extern "C"
13021# endif
13022 int F77_DUMMY_MAIN() { return 1; }
13023#endif
13024int
13025main ()
13026{
13027 sa_family_t foo; foo = 1235;
13028 ;
13029 return 0;
13030}
13031_ACEOF
13032rm -f conftest.$ac_objext
13033if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13034 (eval $ac_compile) 2>&5
13035 ac_status=$?
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); } &&
13038 { ac_try='test -s conftest.$ac_objext'
13039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13040 (eval $ac_try) 2>&5
13041 ac_status=$?
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); }; }; then
13044 ac_cv_have_sa_family_t="yes"
13045else
13046 echo "$as_me: failed program was:" >&5
13047cat conftest.$ac_ext >&5
13048 cat >conftest.$ac_ext <<_ACEOF
13049#line $LINENO "configure"
13050#include "confdefs.h"
13051
13052#include <sys/types.h>
13053#include <sys/socket.h>
13054#include <netinet/in.h>
13055
13056#ifdef F77_DUMMY_MAIN
13057# ifdef __cplusplus
13058 extern "C"
13059# endif
13060 int F77_DUMMY_MAIN() { return 1; }
13061#endif
13062int
13063main ()
13064{
13065 sa_family_t foo; foo = 1235;
13066 ;
13067 return 0;
13068}
13069_ACEOF
13070rm -f conftest.$ac_objext
13071if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13072 (eval $ac_compile) 2>&5
13073 ac_status=$?
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } &&
13076 { ac_try='test -s conftest.$ac_objext'
13077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13078 (eval $ac_try) 2>&5
13079 ac_status=$?
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); }; }; then
13082 ac_cv_have_sa_family_t="yes"
13083else
13084 echo "$as_me: failed program was:" >&5
13085cat conftest.$ac_ext >&5
13086 ac_cv_have_sa_family_t="no"
13087
13088fi
13089rm -f conftest.$ac_objext conftest.$ac_ext
13090
13091fi
13092rm -f conftest.$ac_objext conftest.$ac_ext
13093
13094fi
13095echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
13096echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
13097if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
13098 cat >>confdefs.h <<\_ACEOF
13099@%:@define HAVE_SA_FAMILY_T 1
13100_ACEOF
13101
13102fi
13103
13104echo "$as_me:$LINENO: checking for pid_t" >&5
13105echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
13106if test "${ac_cv_have_pid_t+set}" = set; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13108else
13109
13110 cat >conftest.$ac_ext <<_ACEOF
13111#line $LINENO "configure"
13112#include "confdefs.h"
13113
13114#include <sys/types.h>
13115
13116#ifdef F77_DUMMY_MAIN
13117# ifdef __cplusplus
13118 extern "C"
13119# endif
13120 int F77_DUMMY_MAIN() { return 1; }
13121#endif
13122int
13123main ()
13124{
13125 pid_t foo; foo = 1235;
13126 ;
13127 return 0;
13128}
13129_ACEOF
13130rm -f conftest.$ac_objext
13131if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13132 (eval $ac_compile) 2>&5
13133 ac_status=$?
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try='test -s conftest.$ac_objext'
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138 (eval $ac_try) 2>&5
13139 ac_status=$?
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; }; then
13142 ac_cv_have_pid_t="yes"
13143else
13144 echo "$as_me: failed program was:" >&5
13145cat conftest.$ac_ext >&5
13146 ac_cv_have_pid_t="no"
13147
13148fi
13149rm -f conftest.$ac_objext conftest.$ac_ext
13150
13151fi
13152echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
13153echo "${ECHO_T}$ac_cv_have_pid_t" >&6
13154if test "x$ac_cv_have_pid_t" = "xyes" ; then
13155 cat >>confdefs.h <<\_ACEOF
13156@%:@define HAVE_PID_T 1
13157_ACEOF
13158
13159fi
13160
13161echo "$as_me:$LINENO: checking for mode_t" >&5
13162echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
13163if test "${ac_cv_have_mode_t+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13165else
13166
13167 cat >conftest.$ac_ext <<_ACEOF
13168#line $LINENO "configure"
13169#include "confdefs.h"
13170
13171#include <sys/types.h>
13172
13173#ifdef F77_DUMMY_MAIN
13174# ifdef __cplusplus
13175 extern "C"
13176# endif
13177 int F77_DUMMY_MAIN() { return 1; }
13178#endif
13179int
13180main ()
13181{
13182 mode_t foo; foo = 1235;
13183 ;
13184 return 0;
13185}
13186_ACEOF
13187rm -f conftest.$ac_objext
13188if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13189 (eval $ac_compile) 2>&5
13190 ac_status=$?
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } &&
13193 { ac_try='test -s conftest.$ac_objext'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13196 ac_status=$?
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; }; then
13199 ac_cv_have_mode_t="yes"
13200else
13201 echo "$as_me: failed program was:" >&5
13202cat conftest.$ac_ext >&5
13203 ac_cv_have_mode_t="no"
13204
13205fi
13206rm -f conftest.$ac_objext conftest.$ac_ext
13207
13208fi
13209echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
13210echo "${ECHO_T}$ac_cv_have_mode_t" >&6
13211if test "x$ac_cv_have_mode_t" = "xyes" ; then
13212 cat >>confdefs.h <<\_ACEOF
13213@%:@define HAVE_MODE_T 1
13214_ACEOF
13215
13216fi
13217
13218
13219echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
13220echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
13221if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13223else
13224
13225 cat >conftest.$ac_ext <<_ACEOF
13226#line $LINENO "configure"
13227#include "confdefs.h"
13228
13229#include <sys/types.h>
13230#include <sys/socket.h>
13231
13232#ifdef F77_DUMMY_MAIN
13233# ifdef __cplusplus
13234 extern "C"
13235# endif
13236 int F77_DUMMY_MAIN() { return 1; }
13237#endif
13238int
13239main ()
13240{
13241 struct sockaddr_storage s;
13242 ;
13243 return 0;
13244}
13245_ACEOF
13246rm -f conftest.$ac_objext
13247if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13248 (eval $ac_compile) 2>&5
13249 ac_status=$?
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } &&
13252 { ac_try='test -s conftest.$ac_objext'
13253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13254 (eval $ac_try) 2>&5
13255 ac_status=$?
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); }; }; then
13258 ac_cv_have_struct_sockaddr_storage="yes"
13259else
13260 echo "$as_me: failed program was:" >&5
13261cat conftest.$ac_ext >&5
13262 ac_cv_have_struct_sockaddr_storage="no"
13263
13264fi
13265rm -f conftest.$ac_objext conftest.$ac_ext
13266
13267fi
13268echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
13269echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
13270if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
13271 cat >>confdefs.h <<\_ACEOF
13272@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
13273_ACEOF
13274
13275fi
13276
13277echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
13278echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
13279if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13281else
13282
13283 cat >conftest.$ac_ext <<_ACEOF
13284#line $LINENO "configure"
13285#include "confdefs.h"
13286
13287#include <sys/types.h>
13288#include <netinet/in.h>
13289
13290#ifdef F77_DUMMY_MAIN
13291# ifdef __cplusplus
13292 extern "C"
13293# endif
13294 int F77_DUMMY_MAIN() { return 1; }
13295#endif
13296int
13297main ()
13298{
13299 struct sockaddr_in6 s; s.sin6_family = 0;
13300 ;
13301 return 0;
13302}
13303_ACEOF
13304rm -f conftest.$ac_objext
13305if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13306 (eval $ac_compile) 2>&5
13307 ac_status=$?
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } &&
13310 { ac_try='test -s conftest.$ac_objext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13313 ac_status=$?
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 ac_cv_have_struct_sockaddr_in6="yes"
13317else
13318 echo "$as_me: failed program was:" >&5
13319cat conftest.$ac_ext >&5
13320 ac_cv_have_struct_sockaddr_in6="no"
13321
13322fi
13323rm -f conftest.$ac_objext conftest.$ac_ext
13324
13325fi
13326echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
13327echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
13328if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
13329 cat >>confdefs.h <<\_ACEOF
13330@%:@define HAVE_STRUCT_SOCKADDR_IN6 1
13331_ACEOF
13332
13333fi
13334
13335echo "$as_me:$LINENO: checking for struct in6_addr" >&5
13336echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
13337if test "${ac_cv_have_struct_in6_addr+set}" = set; then
13338 echo $ECHO_N "(cached) $ECHO_C" >&6
13339else
13340
13341 cat >conftest.$ac_ext <<_ACEOF
13342#line $LINENO "configure"
13343#include "confdefs.h"
13344
13345#include <sys/types.h>
13346#include <netinet/in.h>
13347
13348#ifdef F77_DUMMY_MAIN
13349# ifdef __cplusplus
13350 extern "C"
13351# endif
13352 int F77_DUMMY_MAIN() { return 1; }
13353#endif
13354int
13355main ()
13356{
13357 struct in6_addr s; s.s6_addr[0] = 0;
13358 ;
13359 return 0;
13360}
13361_ACEOF
13362rm -f conftest.$ac_objext
13363if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>&5
13365 ac_status=$?
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } &&
13368 { ac_try='test -s conftest.$ac_objext'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13371 ac_status=$?
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; }; then
13374 ac_cv_have_struct_in6_addr="yes"
13375else
13376 echo "$as_me: failed program was:" >&5
13377cat conftest.$ac_ext >&5
13378 ac_cv_have_struct_in6_addr="no"
13379
13380fi
13381rm -f conftest.$ac_objext conftest.$ac_ext
13382
13383fi
13384echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
13385echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
13386if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
13387 cat >>confdefs.h <<\_ACEOF
13388@%:@define HAVE_STRUCT_IN6_ADDR 1
13389_ACEOF
13390
13391fi
13392
13393echo "$as_me:$LINENO: checking for struct addrinfo" >&5
13394echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
13395if test "${ac_cv_have_struct_addrinfo+set}" = set; then
13396 echo $ECHO_N "(cached) $ECHO_C" >&6
13397else
13398
13399 cat >conftest.$ac_ext <<_ACEOF
13400#line $LINENO "configure"
13401#include "confdefs.h"
13402
13403#include <sys/types.h>
13404#include <sys/socket.h>
13405#include <netdb.h>
13406
13407#ifdef F77_DUMMY_MAIN
13408# ifdef __cplusplus
13409 extern "C"
13410# endif
13411 int F77_DUMMY_MAIN() { return 1; }
13412#endif
13413int
13414main ()
13415{
13416 struct addrinfo s; s.ai_flags = AI_PASSIVE;
13417 ;
13418 return 0;
13419}
13420_ACEOF
13421rm -f conftest.$ac_objext
13422if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13423 (eval $ac_compile) 2>&5
13424 ac_status=$?
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); } &&
13427 { ac_try='test -s conftest.$ac_objext'
13428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13429 (eval $ac_try) 2>&5
13430 ac_status=$?
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); }; }; then
13433 ac_cv_have_struct_addrinfo="yes"
13434else
13435 echo "$as_me: failed program was:" >&5
13436cat conftest.$ac_ext >&5
13437 ac_cv_have_struct_addrinfo="no"
13438
13439fi
13440rm -f conftest.$ac_objext conftest.$ac_ext
13441
13442fi
13443echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
13444echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
13445if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
13446 cat >>confdefs.h <<\_ACEOF
13447@%:@define HAVE_STRUCT_ADDRINFO 1
13448_ACEOF
13449
13450fi
13451
13452echo "$as_me:$LINENO: checking for struct timeval" >&5
13453echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
13454if test "${ac_cv_have_struct_timeval+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13456else
13457
13458 cat >conftest.$ac_ext <<_ACEOF
13459#line $LINENO "configure"
13460#include "confdefs.h"
13461 #include <sys/time.h>
13462#ifdef F77_DUMMY_MAIN
13463# ifdef __cplusplus
13464 extern "C"
13465# endif
13466 int F77_DUMMY_MAIN() { return 1; }
13467#endif
13468int
13469main ()
13470{
13471 struct timeval tv; tv.tv_sec = 1;
13472 ;
13473 return 0;
13474}
13475_ACEOF
13476rm -f conftest.$ac_objext
13477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13478 (eval $ac_compile) 2>&5
13479 ac_status=$?
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } &&
13482 { ac_try='test -s conftest.$ac_objext'
13483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13484 (eval $ac_try) 2>&5
13485 ac_status=$?
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); }; }; then
13488 ac_cv_have_struct_timeval="yes"
13489else
13490 echo "$as_me: failed program was:" >&5
13491cat conftest.$ac_ext >&5
13492 ac_cv_have_struct_timeval="no"
13493
13494fi
13495rm -f conftest.$ac_objext conftest.$ac_ext
13496
13497fi
13498echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
13499echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
13500if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
13501 cat >>confdefs.h <<\_ACEOF
13502@%:@define HAVE_STRUCT_TIMEVAL 1
13503_ACEOF
13504
13505 have_struct_timeval=1
13506fi
13507
13508echo "$as_me:$LINENO: checking for struct timespec" >&5
13509echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
13510if test "${ac_cv_type_struct_timespec+set}" = set; then
13511 echo $ECHO_N "(cached) $ECHO_C" >&6
13512else
13513 cat >conftest.$ac_ext <<_ACEOF
13514#line $LINENO "configure"
13515#include "confdefs.h"
13516$ac_includes_default
13517#ifdef F77_DUMMY_MAIN
13518# ifdef __cplusplus
13519 extern "C"
13520# endif
13521 int F77_DUMMY_MAIN() { return 1; }
13522#endif
13523int
13524main ()
13525{
13526if ((struct timespec *) 0)
13527 return 0;
13528if (sizeof (struct timespec))
13529 return 0;
13530 ;
13531 return 0;
13532}
13533_ACEOF
13534rm -f conftest.$ac_objext
13535if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13536 (eval $ac_compile) 2>&5
13537 ac_status=$?
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); } &&
13540 { ac_try='test -s conftest.$ac_objext'
13541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13542 (eval $ac_try) 2>&5
13543 ac_status=$?
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); }; }; then
13546 ac_cv_type_struct_timespec=yes
13547else
13548 echo "$as_me: failed program was:" >&5
13549cat conftest.$ac_ext >&5
13550ac_cv_type_struct_timespec=no
13551fi
13552rm -f conftest.$ac_objext conftest.$ac_ext
13553fi
13554echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
13555echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
13556if test $ac_cv_type_struct_timespec = yes; then
13557
13558cat >>confdefs.h <<_ACEOF
13559@%:@define HAVE_STRUCT_TIMESPEC 1
13560_ACEOF
13561
13562
13563fi
13564
13565
13566# We need int64_t or else certian parts of the compile will fail.
13567if test "x$ac_cv_have_int64_t" = "xno" -a \
13568 "x$ac_cv_sizeof_long_int" != "x8" -a \
13569 "x$ac_cv_sizeof_long_long_int" = "x0" ; then
13570 echo "OpenSSH requires int64_t support. Contact your vendor or install"
13571 echo "an alternative compiler (I.E., GCC) before continuing."
13572 echo ""
13573 exit 1;
13574else
13575 if test "$cross_compiling" = yes; then
13576 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
13577echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13578 { (exit 1); exit 1; }; }
13579else
13580 cat >conftest.$ac_ext <<_ACEOF
13581#line $LINENO "configure"
13582#include "confdefs.h"
13583
13584#include <stdio.h>
13585#include <string.h>
13586#ifdef HAVE_SNPRINTF
13587main()
13588{
13589 char buf[50];
13590 char expected_out[50];
13591 int mazsize = 50 ;
13592#if (SIZEOF_LONG_INT == 8)
13593 long int num = 0x7fffffffffffffff;
13594#else
13595 long long num = 0x7fffffffffffffffll;
13596#endif
13597 strcpy(expected_out, "9223372036854775807");
13598 snprintf(buf, mazsize, "%lld", num);
13599 if(strcmp(buf, expected_out) != 0)
13600 exit(1);
13601 exit(0);
13602}
13603#else
13604main() { exit(0); }
13605#endif
13606
13607_ACEOF
13608rm -f conftest$ac_exeext
13609if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13610 (eval $ac_link) 2>&5
13611 ac_status=$?
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13616 ac_status=$?
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; }; then
13619 true
13620else
13621 echo "$as_me: program exited with status $ac_status" >&5
13622echo "$as_me: failed program was:" >&5
13623cat conftest.$ac_ext >&5
13624( exit $ac_status )
13625 cat >>confdefs.h <<\_ACEOF
13626@%:@define BROKEN_SNPRINTF 1
13627_ACEOF
13628
13629
13630fi
13631rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13632fi
13633fi
13634
13635
13636# look for field 'ut_host' in header 'utmp.h'
13637 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13638 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
13639 echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5
13640echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6
13641 if eval "test \"\${$ossh_varname+set}\" = set"; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13643else
13644
13645 cat >conftest.$ac_ext <<_ACEOF
13646#line $LINENO "configure"
13647#include "confdefs.h"
13648#include <utmp.h>
13649
13650_ACEOF
13651if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13652 egrep "ut_host" >/dev/null 2>&1; then
13653 eval "$ossh_varname=yes"
13654else
13655 eval "$ossh_varname=no"
13656fi
13657rm -f conftest*
13658
13659fi
13660
13661 ossh_result=`eval 'echo $'"$ossh_varname"`
13662 if test -n "`echo $ossh_varname`"; then
13663 echo "$as_me:$LINENO: result: $ossh_result" >&5
13664echo "${ECHO_T}$ossh_result" >&6
13665 if test "x$ossh_result" = "xyes"; then
13666 cat >>confdefs.h <<\_ACEOF
13667@%:@define HAVE_HOST_IN_UTMP 1
13668_ACEOF
13669
13670 fi
13671 else
13672 echo "$as_me:$LINENO: result: no" >&5
13673echo "${ECHO_T}no" >&6
13674 fi
13675
13676
13677# look for field 'ut_host' in header 'utmpx.h'
13678 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13679 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
13680 echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5
13681echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6
13682 if eval "test \"\${$ossh_varname+set}\" = set"; then
13683 echo $ECHO_N "(cached) $ECHO_C" >&6
13684else
13685
13686 cat >conftest.$ac_ext <<_ACEOF
13687#line $LINENO "configure"
13688#include "confdefs.h"
13689#include <utmpx.h>
13690
13691_ACEOF
13692if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13693 egrep "ut_host" >/dev/null 2>&1; then
13694 eval "$ossh_varname=yes"
13695else
13696 eval "$ossh_varname=no"
13697fi
13698rm -f conftest*
13699
13700fi
13701
13702 ossh_result=`eval 'echo $'"$ossh_varname"`
13703 if test -n "`echo $ossh_varname`"; then
13704 echo "$as_me:$LINENO: result: $ossh_result" >&5
13705echo "${ECHO_T}$ossh_result" >&6
13706 if test "x$ossh_result" = "xyes"; then
13707 cat >>confdefs.h <<\_ACEOF
13708@%:@define HAVE_HOST_IN_UTMPX 1
13709_ACEOF
13710
13711 fi
13712 else
13713 echo "$as_me:$LINENO: result: no" >&5
13714echo "${ECHO_T}no" >&6
13715 fi
13716
13717
13718# look for field 'syslen' in header 'utmpx.h'
13719 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13720 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
13721 echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5
13722echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6
13723 if eval "test \"\${$ossh_varname+set}\" = set"; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13725else
13726
13727 cat >conftest.$ac_ext <<_ACEOF
13728#line $LINENO "configure"
13729#include "confdefs.h"
13730#include <utmpx.h>
13731
13732_ACEOF
13733if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13734 egrep "syslen" >/dev/null 2>&1; then
13735 eval "$ossh_varname=yes"
13736else
13737 eval "$ossh_varname=no"
13738fi
13739rm -f conftest*
13740
13741fi
13742
13743 ossh_result=`eval 'echo $'"$ossh_varname"`
13744 if test -n "`echo $ossh_varname`"; then
13745 echo "$as_me:$LINENO: result: $ossh_result" >&5
13746echo "${ECHO_T}$ossh_result" >&6
13747 if test "x$ossh_result" = "xyes"; then
13748 cat >>confdefs.h <<\_ACEOF
13749@%:@define HAVE_SYSLEN_IN_UTMPX 1
13750_ACEOF
13751
13752 fi
13753 else
13754 echo "$as_me:$LINENO: result: no" >&5
13755echo "${ECHO_T}no" >&6
13756 fi
13757
13758
13759# look for field 'ut_pid' in header 'utmp.h'
13760 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13761 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
13762 echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5
13763echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6
13764 if eval "test \"\${$ossh_varname+set}\" = set"; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13766else
13767
13768 cat >conftest.$ac_ext <<_ACEOF
13769#line $LINENO "configure"
13770#include "confdefs.h"
13771#include <utmp.h>
13772
13773_ACEOF
13774if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13775 egrep "ut_pid" >/dev/null 2>&1; then
13776 eval "$ossh_varname=yes"
13777else
13778 eval "$ossh_varname=no"
13779fi
13780rm -f conftest*
13781
13782fi
13783
13784 ossh_result=`eval 'echo $'"$ossh_varname"`
13785 if test -n "`echo $ossh_varname`"; then
13786 echo "$as_me:$LINENO: result: $ossh_result" >&5
13787echo "${ECHO_T}$ossh_result" >&6
13788 if test "x$ossh_result" = "xyes"; then
13789 cat >>confdefs.h <<\_ACEOF
13790@%:@define HAVE_PID_IN_UTMP 1
13791_ACEOF
13792
13793 fi
13794 else
13795 echo "$as_me:$LINENO: result: no" >&5
13796echo "${ECHO_T}no" >&6
13797 fi
13798
13799
13800# look for field 'ut_type' in header 'utmp.h'
13801 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13802 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
13803 echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
13804echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6
13805 if eval "test \"\${$ossh_varname+set}\" = set"; then
13806 echo $ECHO_N "(cached) $ECHO_C" >&6
13807else
13808
13809 cat >conftest.$ac_ext <<_ACEOF
13810#line $LINENO "configure"
13811#include "confdefs.h"
13812#include <utmp.h>
13813
13814_ACEOF
13815if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13816 egrep "ut_type" >/dev/null 2>&1; then
13817 eval "$ossh_varname=yes"
13818else
13819 eval "$ossh_varname=no"
13820fi
13821rm -f conftest*
13822
13823fi
13824
13825 ossh_result=`eval 'echo $'"$ossh_varname"`
13826 if test -n "`echo $ossh_varname`"; then
13827 echo "$as_me:$LINENO: result: $ossh_result" >&5
13828echo "${ECHO_T}$ossh_result" >&6
13829 if test "x$ossh_result" = "xyes"; then
13830 cat >>confdefs.h <<\_ACEOF
13831@%:@define HAVE_TYPE_IN_UTMP 1
13832_ACEOF
13833
13834 fi
13835 else
13836 echo "$as_me:$LINENO: result: no" >&5
13837echo "${ECHO_T}no" >&6
13838 fi
13839
13840
13841# look for field 'ut_type' in header 'utmpx.h'
13842 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13843 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
13844 echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
13845echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6
13846 if eval "test \"\${$ossh_varname+set}\" = set"; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13848else
13849
13850 cat >conftest.$ac_ext <<_ACEOF
13851#line $LINENO "configure"
13852#include "confdefs.h"
13853#include <utmpx.h>
13854
13855_ACEOF
13856if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13857 egrep "ut_type" >/dev/null 2>&1; then
13858 eval "$ossh_varname=yes"
13859else
13860 eval "$ossh_varname=no"
13861fi
13862rm -f conftest*
13863
13864fi
13865
13866 ossh_result=`eval 'echo $'"$ossh_varname"`
13867 if test -n "`echo $ossh_varname`"; then
13868 echo "$as_me:$LINENO: result: $ossh_result" >&5
13869echo "${ECHO_T}$ossh_result" >&6
13870 if test "x$ossh_result" = "xyes"; then
13871 cat >>confdefs.h <<\_ACEOF
13872@%:@define HAVE_TYPE_IN_UTMPX 1
13873_ACEOF
13874
13875 fi
13876 else
13877 echo "$as_me:$LINENO: result: no" >&5
13878echo "${ECHO_T}no" >&6
13879 fi
13880
13881
13882# look for field 'ut_tv' in header 'utmp.h'
13883 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13884 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
13885 echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5
13886echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6
13887 if eval "test \"\${$ossh_varname+set}\" = set"; then
13888 echo $ECHO_N "(cached) $ECHO_C" >&6
13889else
13890
13891 cat >conftest.$ac_ext <<_ACEOF
13892#line $LINENO "configure"
13893#include "confdefs.h"
13894#include <utmp.h>
13895
13896_ACEOF
13897if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13898 egrep "ut_tv" >/dev/null 2>&1; then
13899 eval "$ossh_varname=yes"
13900else
13901 eval "$ossh_varname=no"
13902fi
13903rm -f conftest*
13904
13905fi
13906
13907 ossh_result=`eval 'echo $'"$ossh_varname"`
13908 if test -n "`echo $ossh_varname`"; then
13909 echo "$as_me:$LINENO: result: $ossh_result" >&5
13910echo "${ECHO_T}$ossh_result" >&6
13911 if test "x$ossh_result" = "xyes"; then
13912 cat >>confdefs.h <<\_ACEOF
13913@%:@define HAVE_TV_IN_UTMP 1
13914_ACEOF
13915
13916 fi
13917 else
13918 echo "$as_me:$LINENO: result: no" >&5
13919echo "${ECHO_T}no" >&6
13920 fi
13921
13922
13923# look for field 'ut_id' in header 'utmp.h'
13924 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13925 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
13926 echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5
13927echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6
13928 if eval "test \"\${$ossh_varname+set}\" = set"; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13930else
13931
13932 cat >conftest.$ac_ext <<_ACEOF
13933#line $LINENO "configure"
13934#include "confdefs.h"
13935#include <utmp.h>
13936
13937_ACEOF
13938if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13939 egrep "ut_id" >/dev/null 2>&1; then
13940 eval "$ossh_varname=yes"
13941else
13942 eval "$ossh_varname=no"
13943fi
13944rm -f conftest*
13945
13946fi
13947
13948 ossh_result=`eval 'echo $'"$ossh_varname"`
13949 if test -n "`echo $ossh_varname`"; then
13950 echo "$as_me:$LINENO: result: $ossh_result" >&5
13951echo "${ECHO_T}$ossh_result" >&6
13952 if test "x$ossh_result" = "xyes"; then
13953 cat >>confdefs.h <<\_ACEOF
13954@%:@define HAVE_ID_IN_UTMP 1
13955_ACEOF
13956
13957 fi
13958 else
13959 echo "$as_me:$LINENO: result: no" >&5
13960echo "${ECHO_T}no" >&6
13961 fi
13962
13963
13964# look for field 'ut_id' in header 'utmpx.h'
13965 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13966 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
13967 echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5
13968echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6
13969 if eval "test \"\${$ossh_varname+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13971else
13972
13973 cat >conftest.$ac_ext <<_ACEOF
13974#line $LINENO "configure"
13975#include "confdefs.h"
13976#include <utmpx.h>
13977
13978_ACEOF
13979if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13980 egrep "ut_id" >/dev/null 2>&1; then
13981 eval "$ossh_varname=yes"
13982else
13983 eval "$ossh_varname=no"
13984fi
13985rm -f conftest*
13986
13987fi
13988
13989 ossh_result=`eval 'echo $'"$ossh_varname"`
13990 if test -n "`echo $ossh_varname`"; then
13991 echo "$as_me:$LINENO: result: $ossh_result" >&5
13992echo "${ECHO_T}$ossh_result" >&6
13993 if test "x$ossh_result" = "xyes"; then
13994 cat >>confdefs.h <<\_ACEOF
13995@%:@define HAVE_ID_IN_UTMPX 1
13996_ACEOF
13997
13998 fi
13999 else
14000 echo "$as_me:$LINENO: result: no" >&5
14001echo "${ECHO_T}no" >&6
14002 fi
14003
14004
14005# look for field 'ut_addr' in header 'utmp.h'
14006 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14007 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
14008 echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5
14009echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6
14010 if eval "test \"\${$ossh_varname+set}\" = set"; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14012else
14013
14014 cat >conftest.$ac_ext <<_ACEOF
14015#line $LINENO "configure"
14016#include "confdefs.h"
14017#include <utmp.h>
14018
14019_ACEOF
14020if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14021 egrep "ut_addr" >/dev/null 2>&1; then
14022 eval "$ossh_varname=yes"
14023else
14024 eval "$ossh_varname=no"
14025fi
14026rm -f conftest*
14027
14028fi
14029
14030 ossh_result=`eval 'echo $'"$ossh_varname"`
14031 if test -n "`echo $ossh_varname`"; then
14032 echo "$as_me:$LINENO: result: $ossh_result" >&5
14033echo "${ECHO_T}$ossh_result" >&6
14034 if test "x$ossh_result" = "xyes"; then
14035 cat >>confdefs.h <<\_ACEOF
14036@%:@define HAVE_ADDR_IN_UTMP 1
14037_ACEOF
14038
14039 fi
14040 else
14041 echo "$as_me:$LINENO: result: no" >&5
14042echo "${ECHO_T}no" >&6
14043 fi
14044
14045
14046# look for field 'ut_addr' in header 'utmpx.h'
14047 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14048 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
14049 echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5
14050echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6
14051 if eval "test \"\${$ossh_varname+set}\" = set"; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14053else
14054
14055 cat >conftest.$ac_ext <<_ACEOF
14056#line $LINENO "configure"
14057#include "confdefs.h"
14058#include <utmpx.h>
14059
14060_ACEOF
14061if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14062 egrep "ut_addr" >/dev/null 2>&1; then
14063 eval "$ossh_varname=yes"
14064else
14065 eval "$ossh_varname=no"
14066fi
14067rm -f conftest*
14068
14069fi
14070
14071 ossh_result=`eval 'echo $'"$ossh_varname"`
14072 if test -n "`echo $ossh_varname`"; then
14073 echo "$as_me:$LINENO: result: $ossh_result" >&5
14074echo "${ECHO_T}$ossh_result" >&6
14075 if test "x$ossh_result" = "xyes"; then
14076 cat >>confdefs.h <<\_ACEOF
14077@%:@define HAVE_ADDR_IN_UTMPX 1
14078_ACEOF
14079
14080 fi
14081 else
14082 echo "$as_me:$LINENO: result: no" >&5
14083echo "${ECHO_T}no" >&6
14084 fi
14085
14086
14087# look for field 'ut_addr_v6' in header 'utmp.h'
14088 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14089 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
14090 echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5
14091echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6
14092 if eval "test \"\${$ossh_varname+set}\" = set"; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14094else
14095
14096 cat >conftest.$ac_ext <<_ACEOF
14097#line $LINENO "configure"
14098#include "confdefs.h"
14099#include <utmp.h>
14100
14101_ACEOF
14102if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14103 egrep "ut_addr_v6" >/dev/null 2>&1; then
14104 eval "$ossh_varname=yes"
14105else
14106 eval "$ossh_varname=no"
14107fi
14108rm -f conftest*
14109
14110fi
14111
14112 ossh_result=`eval 'echo $'"$ossh_varname"`
14113 if test -n "`echo $ossh_varname`"; then
14114 echo "$as_me:$LINENO: result: $ossh_result" >&5
14115echo "${ECHO_T}$ossh_result" >&6
14116 if test "x$ossh_result" = "xyes"; then
14117 cat >>confdefs.h <<\_ACEOF
14118@%:@define HAVE_ADDR_V6_IN_UTMP 1
14119_ACEOF
14120
14121 fi
14122 else
14123 echo "$as_me:$LINENO: result: no" >&5
14124echo "${ECHO_T}no" >&6
14125 fi
14126
14127
14128# look for field 'ut_addr_v6' in header 'utmpx.h'
14129 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14130 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
14131 echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5
14132echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6
14133 if eval "test \"\${$ossh_varname+set}\" = set"; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14135else
14136
14137 cat >conftest.$ac_ext <<_ACEOF
14138#line $LINENO "configure"
14139#include "confdefs.h"
14140#include <utmpx.h>
14141
14142_ACEOF
14143if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14144 egrep "ut_addr_v6" >/dev/null 2>&1; then
14145 eval "$ossh_varname=yes"
14146else
14147 eval "$ossh_varname=no"
14148fi
14149rm -f conftest*
14150
14151fi
14152
14153 ossh_result=`eval 'echo $'"$ossh_varname"`
14154 if test -n "`echo $ossh_varname`"; then
14155 echo "$as_me:$LINENO: result: $ossh_result" >&5
14156echo "${ECHO_T}$ossh_result" >&6
14157 if test "x$ossh_result" = "xyes"; then
14158 cat >>confdefs.h <<\_ACEOF
14159@%:@define HAVE_ADDR_V6_IN_UTMPX 1
14160_ACEOF
14161
14162 fi
14163 else
14164 echo "$as_me:$LINENO: result: no" >&5
14165echo "${ECHO_T}no" >&6
14166 fi
14167
14168
14169# look for field 'ut_exit' in header 'utmp.h'
14170 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14171 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
14172 echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5
14173echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6
14174 if eval "test \"\${$ossh_varname+set}\" = set"; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14176else
14177
14178 cat >conftest.$ac_ext <<_ACEOF
14179#line $LINENO "configure"
14180#include "confdefs.h"
14181#include <utmp.h>
14182
14183_ACEOF
14184if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14185 egrep "ut_exit" >/dev/null 2>&1; then
14186 eval "$ossh_varname=yes"
14187else
14188 eval "$ossh_varname=no"
14189fi
14190rm -f conftest*
14191
14192fi
14193
14194 ossh_result=`eval 'echo $'"$ossh_varname"`
14195 if test -n "`echo $ossh_varname`"; then
14196 echo "$as_me:$LINENO: result: $ossh_result" >&5
14197echo "${ECHO_T}$ossh_result" >&6
14198 if test "x$ossh_result" = "xyes"; then
14199 cat >>confdefs.h <<\_ACEOF
14200@%:@define HAVE_EXIT_IN_UTMP 1
14201_ACEOF
14202
14203 fi
14204 else
14205 echo "$as_me:$LINENO: result: no" >&5
14206echo "${ECHO_T}no" >&6
14207 fi
14208
14209
14210# look for field 'ut_time' in header 'utmp.h'
14211 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14212 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
14213 echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5
14214echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6
14215 if eval "test \"\${$ossh_varname+set}\" = set"; then
14216 echo $ECHO_N "(cached) $ECHO_C" >&6
14217else
14218
14219 cat >conftest.$ac_ext <<_ACEOF
14220#line $LINENO "configure"
14221#include "confdefs.h"
14222#include <utmp.h>
14223
14224_ACEOF
14225if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14226 egrep "ut_time" >/dev/null 2>&1; then
14227 eval "$ossh_varname=yes"
14228else
14229 eval "$ossh_varname=no"
14230fi
14231rm -f conftest*
14232
14233fi
14234
14235 ossh_result=`eval 'echo $'"$ossh_varname"`
14236 if test -n "`echo $ossh_varname`"; then
14237 echo "$as_me:$LINENO: result: $ossh_result" >&5
14238echo "${ECHO_T}$ossh_result" >&6
14239 if test "x$ossh_result" = "xyes"; then
14240 cat >>confdefs.h <<\_ACEOF
14241@%:@define HAVE_TIME_IN_UTMP 1
14242_ACEOF
14243
14244 fi
14245 else
14246 echo "$as_me:$LINENO: result: no" >&5
14247echo "${ECHO_T}no" >&6
14248 fi
14249
14250
14251# look for field 'ut_time' in header 'utmpx.h'
14252 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14253 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
14254 echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5
14255echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6
14256 if eval "test \"\${$ossh_varname+set}\" = set"; then
14257 echo $ECHO_N "(cached) $ECHO_C" >&6
14258else
14259
14260 cat >conftest.$ac_ext <<_ACEOF
14261#line $LINENO "configure"
14262#include "confdefs.h"
14263#include <utmpx.h>
14264
14265_ACEOF
14266if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14267 egrep "ut_time" >/dev/null 2>&1; then
14268 eval "$ossh_varname=yes"
14269else
14270 eval "$ossh_varname=no"
14271fi
14272rm -f conftest*
14273
14274fi
14275
14276 ossh_result=`eval 'echo $'"$ossh_varname"`
14277 if test -n "`echo $ossh_varname`"; then
14278 echo "$as_me:$LINENO: result: $ossh_result" >&5
14279echo "${ECHO_T}$ossh_result" >&6
14280 if test "x$ossh_result" = "xyes"; then
14281 cat >>confdefs.h <<\_ACEOF
14282@%:@define HAVE_TIME_IN_UTMPX 1
14283_ACEOF
14284
14285 fi
14286 else
14287 echo "$as_me:$LINENO: result: no" >&5
14288echo "${ECHO_T}no" >&6
14289 fi
14290
14291
14292# look for field 'ut_tv' in header 'utmpx.h'
14293 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14294 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
14295 echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5
14296echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6
14297 if eval "test \"\${$ossh_varname+set}\" = set"; then
14298 echo $ECHO_N "(cached) $ECHO_C" >&6
14299else
14300
14301 cat >conftest.$ac_ext <<_ACEOF
14302#line $LINENO "configure"
14303#include "confdefs.h"
14304#include <utmpx.h>
14305
14306_ACEOF
14307if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14308 egrep "ut_tv" >/dev/null 2>&1; then
14309 eval "$ossh_varname=yes"
14310else
14311 eval "$ossh_varname=no"
14312fi
14313rm -f conftest*
14314
14315fi
14316
14317 ossh_result=`eval 'echo $'"$ossh_varname"`
14318 if test -n "`echo $ossh_varname`"; then
14319 echo "$as_me:$LINENO: result: $ossh_result" >&5
14320echo "${ECHO_T}$ossh_result" >&6
14321 if test "x$ossh_result" = "xyes"; then
14322 cat >>confdefs.h <<\_ACEOF
14323@%:@define HAVE_TV_IN_UTMPX 1
14324_ACEOF
14325
14326 fi
14327 else
14328 echo "$as_me:$LINENO: result: no" >&5
14329echo "${ECHO_T}no" >&6
14330 fi
14331
14332
14333echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
14334echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
14335if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14337else
14338 cat >conftest.$ac_ext <<_ACEOF
14339#line $LINENO "configure"
14340#include "confdefs.h"
14341$ac_includes_default
14342#ifdef F77_DUMMY_MAIN
14343# ifdef __cplusplus
14344 extern "C"
14345# endif
14346 int F77_DUMMY_MAIN() { return 1; }
14347#endif
14348int
14349main ()
14350{
14351static struct stat ac_aggr;
14352if (ac_aggr.st_blksize)
14353return 0;
14354 ;
14355 return 0;
14356}
14357_ACEOF
14358rm -f conftest.$ac_objext
14359if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14360 (eval $ac_compile) 2>&5
14361 ac_status=$?
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try='test -s conftest.$ac_objext'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14367 ac_status=$?
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; }; then
14370 ac_cv_member_struct_stat_st_blksize=yes
14371else
14372 echo "$as_me: failed program was:" >&5
14373cat conftest.$ac_ext >&5
14374ac_cv_member_struct_stat_st_blksize=no
14375fi
14376rm -f conftest.$ac_objext conftest.$ac_ext
14377fi
14378echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
14379echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
14380if test $ac_cv_member_struct_stat_st_blksize = yes; then
14381
14382cat >>confdefs.h <<_ACEOF
14383@%:@define HAVE_STRUCT_STAT_ST_BLKSIZE 1
14384_ACEOF
14385
14386
14387fi
14388
14389
14390echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
14391echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
14392if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14394else
14395
14396 cat >conftest.$ac_ext <<_ACEOF
14397#line $LINENO "configure"
14398#include "confdefs.h"
14399
14400#include <sys/types.h>
14401#include <sys/socket.h>
14402
14403#ifdef F77_DUMMY_MAIN
14404# ifdef __cplusplus
14405 extern "C"
14406# endif
14407 int F77_DUMMY_MAIN() { return 1; }
14408#endif
14409int
14410main ()
14411{
14412 struct sockaddr_storage s; s.ss_family = 1;
14413 ;
14414 return 0;
14415}
14416_ACEOF
14417rm -f conftest.$ac_objext
14418if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>&5
14420 ac_status=$?
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } &&
14423 { ac_try='test -s conftest.$ac_objext'
14424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14425 (eval $ac_try) 2>&5
14426 ac_status=$?
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; }; then
14429 ac_cv_have_ss_family_in_struct_ss="yes"
14430else
14431 echo "$as_me: failed program was:" >&5
14432cat conftest.$ac_ext >&5
14433 ac_cv_have_ss_family_in_struct_ss="no"
14434fi
14435rm -f conftest.$ac_objext conftest.$ac_ext
14436
14437fi
14438echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
14439echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
14440if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
14441 cat >>confdefs.h <<\_ACEOF
14442@%:@define HAVE_SS_FAMILY_IN_SS 1
14443_ACEOF
14444
14445fi
14446
14447echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
14448echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
14449if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14451else
14452
14453 cat >conftest.$ac_ext <<_ACEOF
14454#line $LINENO "configure"
14455#include "confdefs.h"
14456
14457#include <sys/types.h>
14458#include <sys/socket.h>
14459
14460#ifdef F77_DUMMY_MAIN
14461# ifdef __cplusplus
14462 extern "C"
14463# endif
14464 int F77_DUMMY_MAIN() { return 1; }
14465#endif
14466int
14467main ()
14468{
14469 struct sockaddr_storage s; s.__ss_family = 1;
14470 ;
14471 return 0;
14472}
14473_ACEOF
14474rm -f conftest.$ac_objext
14475if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14476 (eval $ac_compile) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try='test -s conftest.$ac_objext'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 ac_cv_have___ss_family_in_struct_ss="yes"
14487else
14488 echo "$as_me: failed program was:" >&5
14489cat conftest.$ac_ext >&5
14490 ac_cv_have___ss_family_in_struct_ss="no"
14491
14492fi
14493rm -f conftest.$ac_objext conftest.$ac_ext
14494
14495fi
14496echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
14497echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
14498if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
14499 cat >>confdefs.h <<\_ACEOF
14500@%:@define HAVE___SS_FAMILY_IN_SS 1
14501_ACEOF
14502
14503fi
14504
14505echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5
14506echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6
14507if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
14508 echo $ECHO_N "(cached) $ECHO_C" >&6
14509else
14510
14511 cat >conftest.$ac_ext <<_ACEOF
14512#line $LINENO "configure"
14513#include "confdefs.h"
14514
14515#include <pwd.h>
14516
14517#ifdef F77_DUMMY_MAIN
14518# ifdef __cplusplus
14519 extern "C"
14520# endif
14521 int F77_DUMMY_MAIN() { return 1; }
14522#endif
14523int
14524main ()
14525{
14526 struct passwd p; p.pw_class = 0;
14527 ;
14528 return 0;
14529}
14530_ACEOF
14531rm -f conftest.$ac_objext
14532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14533 (eval $ac_compile) 2>&5
14534 ac_status=$?
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); } &&
14537 { ac_try='test -s conftest.$ac_objext'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14540 ac_status=$?
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14543 ac_cv_have_pw_class_in_struct_passwd="yes"
14544else
14545 echo "$as_me: failed program was:" >&5
14546cat conftest.$ac_ext >&5
14547 ac_cv_have_pw_class_in_struct_passwd="no"
14548
14549fi
14550rm -f conftest.$ac_objext conftest.$ac_ext
14551
14552fi
14553echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
14554echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
14555if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
14556 cat >>confdefs.h <<\_ACEOF
14557@%:@define HAVE_PW_CLASS_IN_PASSWD 1
14558_ACEOF
14559
14560fi
14561
14562echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5
14563echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6
14564if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566else
14567
14568 cat >conftest.$ac_ext <<_ACEOF
14569#line $LINENO "configure"
14570#include "confdefs.h"
14571
14572#include <pwd.h>
14573
14574#ifdef F77_DUMMY_MAIN
14575# ifdef __cplusplus
14576 extern "C"
14577# endif
14578 int F77_DUMMY_MAIN() { return 1; }
14579#endif
14580int
14581main ()
14582{
14583 struct passwd p; p.pw_expire = 0;
14584 ;
14585 return 0;
14586}
14587_ACEOF
14588rm -f conftest.$ac_objext
14589if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14590 (eval $ac_compile) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try='test -s conftest.$ac_objext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14600 ac_cv_have_pw_expire_in_struct_passwd="yes"
14601else
14602 echo "$as_me: failed program was:" >&5
14603cat conftest.$ac_ext >&5
14604 ac_cv_have_pw_expire_in_struct_passwd="no"
14605
14606fi
14607rm -f conftest.$ac_objext conftest.$ac_ext
14608
14609fi
14610echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
14611echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
14612if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
14613 cat >>confdefs.h <<\_ACEOF
14614@%:@define HAVE_PW_EXPIRE_IN_PASSWD 1
14615_ACEOF
14616
14617fi
14618
14619echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5
14620echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6
14621if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14623else
14624
14625 cat >conftest.$ac_ext <<_ACEOF
14626#line $LINENO "configure"
14627#include "confdefs.h"
14628
14629#include <pwd.h>
14630
14631#ifdef F77_DUMMY_MAIN
14632# ifdef __cplusplus
14633 extern "C"
14634# endif
14635 int F77_DUMMY_MAIN() { return 1; }
14636#endif
14637int
14638main ()
14639{
14640 struct passwd p; p.pw_change = 0;
14641 ;
14642 return 0;
14643}
14644_ACEOF
14645rm -f conftest.$ac_objext
14646if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14647 (eval $ac_compile) 2>&5
14648 ac_status=$?
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -s conftest.$ac_objext'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; }; then
14657 ac_cv_have_pw_change_in_struct_passwd="yes"
14658else
14659 echo "$as_me: failed program was:" >&5
14660cat conftest.$ac_ext >&5
14661 ac_cv_have_pw_change_in_struct_passwd="no"
14662
14663fi
14664rm -f conftest.$ac_objext conftest.$ac_ext
14665
14666fi
14667echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
14668echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
14669if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
14670 cat >>confdefs.h <<\_ACEOF
14671@%:@define HAVE_PW_CHANGE_IN_PASSWD 1
14672_ACEOF
14673
14674fi
14675
14676echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
14677echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6
14678if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
14679 echo $ECHO_N "(cached) $ECHO_C" >&6
14680else
14681
14682 if test "$cross_compiling" = yes; then
14683 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
14684echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14685 { (exit 1); exit 1; }; }
14686else
14687 cat >conftest.$ac_ext <<_ACEOF
14688#line $LINENO "configure"
14689#include "confdefs.h"
14690
14691#include <sys/types.h>
14692#include <sys/socket.h>
14693#include <sys/uio.h>
14694int main() {
14695#ifdef msg_accrights
14696exit(1);
14697#endif
14698struct msghdr m;
14699m.msg_accrights = 0;
14700exit(0);
14701}
14702
14703_ACEOF
14704rm -f conftest$ac_exeext
14705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14706 (eval $ac_link) 2>&5
14707 ac_status=$?
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14711 (eval $ac_try) 2>&5
14712 ac_status=$?
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); }; }; then
14715 ac_cv_have_accrights_in_msghdr="yes"
14716else
14717 echo "$as_me: program exited with status $ac_status" >&5
14718echo "$as_me: failed program was:" >&5
14719cat conftest.$ac_ext >&5
14720( exit $ac_status )
14721 ac_cv_have_accrights_in_msghdr="no"
14722
14723fi
14724rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14725fi
14726
14727fi
14728echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
14729echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
14730if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
14731 cat >>confdefs.h <<\_ACEOF
14732@%:@define HAVE_ACCRIGHTS_IN_MSGHDR 1
14733_ACEOF
14734
14735fi
14736
14737echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
14738echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6
14739if test "${ac_cv_have_control_in_msghdr+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741else
14742
14743 if test "$cross_compiling" = yes; then
14744 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
14745echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14746 { (exit 1); exit 1; }; }
14747else
14748 cat >conftest.$ac_ext <<_ACEOF
14749#line $LINENO "configure"
14750#include "confdefs.h"
14751
14752#include <sys/types.h>
14753#include <sys/socket.h>
14754#include <sys/uio.h>
14755int main() {
14756#ifdef msg_control
14757exit(1);
14758#endif
14759struct msghdr m;
14760m.msg_control = 0;
14761exit(0);
14762}
14763
14764_ACEOF
14765rm -f conftest$ac_exeext
14766if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14767 (eval $ac_link) 2>&5
14768 ac_status=$?
14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772 (eval $ac_try) 2>&5
14773 ac_status=$?
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; }; then
14776 ac_cv_have_control_in_msghdr="yes"
14777else
14778 echo "$as_me: program exited with status $ac_status" >&5
14779echo "$as_me: failed program was:" >&5
14780cat conftest.$ac_ext >&5
14781( exit $ac_status )
14782 ac_cv_have_control_in_msghdr="no"
14783
14784fi
14785rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14786fi
14787
14788fi
14789echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
14790echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
14791if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
14792 cat >>confdefs.h <<\_ACEOF
14793@%:@define HAVE_CONTROL_IN_MSGHDR 1
14794_ACEOF
14795
14796fi
14797
14798echo "$as_me:$LINENO: checking if libc defines __progname" >&5
14799echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6
14800if test "${ac_cv_libc_defines___progname+set}" = set; then
14801 echo $ECHO_N "(cached) $ECHO_C" >&6
14802else
14803
14804 cat >conftest.$ac_ext <<_ACEOF
14805#line $LINENO "configure"
14806#include "confdefs.h"
14807
14808#ifdef F77_DUMMY_MAIN
14809# ifdef __cplusplus
14810 extern "C"
14811# endif
14812 int F77_DUMMY_MAIN() { return 1; }
14813#endif
14814int
14815main ()
14816{
14817 extern char *__progname; printf("%s", __progname);
14818 ;
14819 return 0;
14820}
14821_ACEOF
14822rm -f conftest.$ac_objext conftest$ac_exeext
14823if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14824 (eval $ac_link) 2>&5
14825 ac_status=$?
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } &&
14828 { ac_try='test -s conftest$ac_exeext'
14829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14830 (eval $ac_try) 2>&5
14831 ac_status=$?
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }; }; then
14834 ac_cv_libc_defines___progname="yes"
14835else
14836 echo "$as_me: failed program was:" >&5
14837cat conftest.$ac_ext >&5
14838 ac_cv_libc_defines___progname="no"
14839
14840fi
14841rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14842
14843fi
14844echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
14845echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
14846if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
14847 cat >>confdefs.h <<\_ACEOF
14848@%:@define HAVE___PROGNAME 1
14849_ACEOF
14850
14851fi
14852
14853echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5
14854echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6
14855if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
14856 echo $ECHO_N "(cached) $ECHO_C" >&6
14857else
14858
14859 cat >conftest.$ac_ext <<_ACEOF
14860#line $LINENO "configure"
14861#include "confdefs.h"
14862
14863#include <stdio.h>
14864
14865#ifdef F77_DUMMY_MAIN
14866# ifdef __cplusplus
14867 extern "C"
14868# endif
14869 int F77_DUMMY_MAIN() { return 1; }
14870#endif
14871int
14872main ()
14873{
14874 printf("%s", __FUNCTION__);
14875 ;
14876 return 0;
14877}
14878_ACEOF
14879rm -f conftest.$ac_objext conftest$ac_exeext
14880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14881 (eval $ac_link) 2>&5
14882 ac_status=$?
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } &&
14885 { ac_try='test -s conftest$ac_exeext'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 ac_cv_cc_implements___FUNCTION__="yes"
14892else
14893 echo "$as_me: failed program was:" >&5
14894cat conftest.$ac_ext >&5
14895 ac_cv_cc_implements___FUNCTION__="no"
14896
14897fi
14898rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14899
14900fi
14901echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
14902echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
14903if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
14904 cat >>confdefs.h <<\_ACEOF
14905@%:@define HAVE___FUNCTION__ 1
14906_ACEOF
14907
14908fi
14909
14910echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5
14911echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6
14912if test "${ac_cv_cc_implements___func__+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14914else
14915
14916 cat >conftest.$ac_ext <<_ACEOF
14917#line $LINENO "configure"
14918#include "confdefs.h"
14919
14920#include <stdio.h>
14921
14922#ifdef F77_DUMMY_MAIN
14923# ifdef __cplusplus
14924 extern "C"
14925# endif
14926 int F77_DUMMY_MAIN() { return 1; }
14927#endif
14928int
14929main ()
14930{
14931 printf("%s", __func__);
14932 ;
14933 return 0;
14934}
14935_ACEOF
14936rm -f conftest.$ac_objext conftest$ac_exeext
14937if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14938 (eval $ac_link) 2>&5
14939 ac_status=$?
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -s conftest$ac_exeext'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14945 ac_status=$?
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; }; then
14948 ac_cv_cc_implements___func__="yes"
14949else
14950 echo "$as_me: failed program was:" >&5
14951cat conftest.$ac_ext >&5
14952 ac_cv_cc_implements___func__="no"
14953
14954fi
14955rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14956
14957fi
14958echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
14959echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
14960if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
14961 cat >>confdefs.h <<\_ACEOF
14962@%:@define HAVE___func__ 1
14963_ACEOF
14964
14965fi
14966
14967echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
14968echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
14969if test "${ac_cv_have_getopt_optreset+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971else
14972
14973 cat >conftest.$ac_ext <<_ACEOF
14974#line $LINENO "configure"
14975#include "confdefs.h"
14976
14977#include <getopt.h>
14978
14979#ifdef F77_DUMMY_MAIN
14980# ifdef __cplusplus
14981 extern "C"
14982# endif
14983 int F77_DUMMY_MAIN() { return 1; }
14984#endif
14985int
14986main ()
14987{
14988 extern int optreset; optreset = 0;
14989 ;
14990 return 0;
14991}
14992_ACEOF
14993rm -f conftest.$ac_objext conftest$ac_exeext
14994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14995 (eval $ac_link) 2>&5
14996 ac_status=$?
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -s conftest$ac_exeext'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15002 ac_status=$?
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; }; then
15005 ac_cv_have_getopt_optreset="yes"
15006else
15007 echo "$as_me: failed program was:" >&5
15008cat conftest.$ac_ext >&5
15009 ac_cv_have_getopt_optreset="no"
15010
15011fi
15012rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15013
15014fi
15015echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
15016echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
15017if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
15018 cat >>confdefs.h <<\_ACEOF
15019@%:@define HAVE_GETOPT_OPTRESET 1
15020_ACEOF
15021
15022fi
15023
15024echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
15025echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6
15026if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15028else
15029
15030 cat >conftest.$ac_ext <<_ACEOF
15031#line $LINENO "configure"
15032#include "confdefs.h"
15033
15034#ifdef F77_DUMMY_MAIN
15035# ifdef __cplusplus
15036 extern "C"
15037# endif
15038 int F77_DUMMY_MAIN() { return 1; }
15039#endif
15040int
15041main ()
15042{
15043 extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);
15044 ;
15045 return 0;
15046}
15047_ACEOF
15048rm -f conftest.$ac_objext conftest$ac_exeext
15049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15050 (eval $ac_link) 2>&5
15051 ac_status=$?
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); } &&
15054 { ac_try='test -s conftest$ac_exeext'
15055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15056 (eval $ac_try) 2>&5
15057 ac_status=$?
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); }; }; then
15060 ac_cv_libc_defines_sys_errlist="yes"
15061else
15062 echo "$as_me: failed program was:" >&5
15063cat conftest.$ac_ext >&5
15064 ac_cv_libc_defines_sys_errlist="no"
15065
15066fi
15067rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15068
15069fi
15070echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
15071echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
15072if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
15073 cat >>confdefs.h <<\_ACEOF
15074@%:@define HAVE_SYS_ERRLIST 1
15075_ACEOF
15076
15077fi
15078
15079
15080echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5
15081echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6
15082if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15084else
15085
15086 cat >conftest.$ac_ext <<_ACEOF
15087#line $LINENO "configure"
15088#include "confdefs.h"
15089
15090#ifdef F77_DUMMY_MAIN
15091# ifdef __cplusplus
15092 extern "C"
15093# endif
15094 int F77_DUMMY_MAIN() { return 1; }
15095#endif
15096int
15097main ()
15098{
15099 extern int sys_nerr; printf("%i", sys_nerr);
15100 ;
15101 return 0;
15102}
15103_ACEOF
15104rm -f conftest.$ac_objext conftest$ac_exeext
15105if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15106 (eval $ac_link) 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } &&
15110 { ac_try='test -s conftest$ac_exeext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15113 ac_status=$?
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_cv_libc_defines_sys_nerr="yes"
15117else
15118 echo "$as_me: failed program was:" >&5
15119cat conftest.$ac_ext >&5
15120 ac_cv_libc_defines_sys_nerr="no"
15121
15122fi
15123rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15124
15125fi
15126echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
15127echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
15128if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
15129 cat >>confdefs.h <<\_ACEOF
15130@%:@define HAVE_SYS_NERR 1
15131_ACEOF
15132
15133fi
15134
15135SCARD_MSG="no"
15136
15137# Check whether user wants sectok support
15138
15139# Check whether --with-sectok or --without-sectok was given.
15140if test "${with_sectok+set}" = set; then
15141 withval="$with_sectok"
15142
15143 if test "x$withval" != "xno" ; then
15144 if test "x$withval" != "xyes" ; then
15145 CPPFLAGS="$CPPFLAGS -I${withval}"
15146 LDFLAGS="$LDFLAGS -L${withval}"
15147 if test ! -z "$need_dash_r" ; then
15148 LDFLAGS="$LDFLAGS -R${withval}"
15149 fi
15150 if test ! -z "$blibpath" ; then
15151 blibpath="$blibpath:${withval}"
15152 fi
15153 fi
15154
15155for ac_header in sectok.h
15156do
15157as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15158if eval "test \"\${$as_ac_Header+set}\" = set"; then
15159 echo "$as_me:$LINENO: checking for $ac_header" >&5
15160echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15161if eval "test \"\${$as_ac_Header+set}\" = set"; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15163fi
15164echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15165echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15166else
15167 # Is the header compilable?
15168echo "$as_me:$LINENO: checking $ac_header usability" >&5
15169echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15170cat >conftest.$ac_ext <<_ACEOF
15171#line $LINENO "configure"
15172#include "confdefs.h"
15173$ac_includes_default
15174@%:@include <$ac_header>
15175_ACEOF
15176rm -f conftest.$ac_objext
15177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try='test -s conftest.$ac_objext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15185 ac_status=$?
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188 ac_header_compiler=yes
15189else
15190 echo "$as_me: failed program was:" >&5
15191cat conftest.$ac_ext >&5
15192ac_header_compiler=no
15193fi
15194rm -f conftest.$ac_objext conftest.$ac_ext
15195echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15196echo "${ECHO_T}$ac_header_compiler" >&6
15197
15198# Is the header present?
15199echo "$as_me:$LINENO: checking $ac_header presence" >&5
15200echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15201cat >conftest.$ac_ext <<_ACEOF
15202#line $LINENO "configure"
15203#include "confdefs.h"
15204@%:@include <$ac_header>
15205_ACEOF
15206if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15208 ac_status=$?
15209 egrep -v '^ *\+' conftest.er1 >conftest.err
15210 rm -f conftest.er1
15211 cat conftest.err >&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } >/dev/null; then
15214 if test -s conftest.err; then
15215 ac_cpp_err=$ac_c_preproc_warn_flag
15216 else
15217 ac_cpp_err=
15218 fi
15219else
15220 ac_cpp_err=yes
15221fi
15222if test -z "$ac_cpp_err"; then
15223 ac_header_preproc=yes
15224else
15225 echo "$as_me: failed program was:" >&5
15226 cat conftest.$ac_ext >&5
15227 ac_header_preproc=no
15228fi
15229rm -f conftest.err conftest.$ac_ext
15230echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15231echo "${ECHO_T}$ac_header_preproc" >&6
15232
15233# So? What about this header?
15234case $ac_header_compiler:$ac_header_preproc in
15235 yes:no )
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15237echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15239echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15240 no:yes )
15241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15242echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15244echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15246echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15247esac
15248echo "$as_me:$LINENO: checking for $ac_header" >&5
15249echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15250if eval "test \"\${$as_ac_Header+set}\" = set"; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15252else
15253 eval "$as_ac_Header=$ac_header_preproc"
15254fi
15255echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15256echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15257
15258fi
15259if test `eval echo '${'$as_ac_Header'}'` = yes; then
15260 cat >>confdefs.h <<_ACEOF
15261@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15262_ACEOF
15263
15264fi
15265
15266done
15267
15268 if test "$ac_cv_header_sectok_h" != yes; then
15269 { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5
15270echo "$as_me: error: Can't find sectok.h" >&2;}
15271 { (exit 1); exit 1; }; }
15272 fi
15273
15274echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5
15275echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6
15276if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15278else
15279 ac_check_lib_save_LIBS=$LIBS
15280LIBS="-lsectok $LIBS"
15281cat >conftest.$ac_ext <<_ACEOF
15282#line $LINENO "configure"
15283#include "confdefs.h"
15284
15285/* Override any gcc2 internal prototype to avoid an error. */
15286#ifdef __cplusplus
15287extern "C"
15288#endif
15289/* We use char because int might match the return type of a gcc2
15290 builtin and then its argument prototype would still apply. */
15291char sectok_open ();
15292#ifdef F77_DUMMY_MAIN
15293# ifdef __cplusplus
15294 extern "C"
15295# endif
15296 int F77_DUMMY_MAIN() { return 1; }
15297#endif
15298int
15299main ()
15300{
15301sectok_open ();
15302 ;
15303 return 0;
15304}
15305_ACEOF
15306rm -f conftest.$ac_objext conftest$ac_exeext
15307if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15308 (eval $ac_link) 2>&5
15309 ac_status=$?
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); } &&
15312 { ac_try='test -s conftest$ac_exeext'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15315 ac_status=$?
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; }; then
15318 ac_cv_lib_sectok_sectok_open=yes
15319else
15320 echo "$as_me: failed program was:" >&5
15321cat conftest.$ac_ext >&5
15322ac_cv_lib_sectok_sectok_open=no
15323fi
15324rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15325LIBS=$ac_check_lib_save_LIBS
15326fi
15327echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
15328echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6
15329if test $ac_cv_lib_sectok_sectok_open = yes; then
15330 cat >>confdefs.h <<_ACEOF
15331@%:@define HAVE_LIBSECTOK 1
15332_ACEOF
15333
15334 LIBS="-lsectok $LIBS"
15335
15336fi
15337
15338 if test "$ac_cv_lib_sectok_sectok_open" != yes; then
15339 { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5
15340echo "$as_me: error: Can't find libsectok" >&2;}
15341 { (exit 1); exit 1; }; }
15342 fi
15343 cat >>confdefs.h <<\_ACEOF
15344@%:@define SMARTCARD 1
15345_ACEOF
15346
15347 cat >>confdefs.h <<\_ACEOF
15348@%:@define USE_SECTOK 1
15349_ACEOF
15350
15351 SCARD_MSG="yes, using sectok"
15352 fi
15353
15354
15355fi;
15356
15357# Check whether user wants OpenSC support
15358
15359# Check whether --with-opensc or --without-opensc was given.
15360if test "${with_opensc+set}" = set; then
15361 withval="$with_opensc"
15362 opensc_config_prefix="$withval"
15363else
15364 opensc_config_prefix=""
15365fi;
15366if test x$opensc_config_prefix != x ; then
15367 OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
15368 # Extract the first word of "opensc-config", so it can be a program name with args.
15369set dummy opensc-config; ac_word=$2
15370echo "$as_me:$LINENO: checking for $ac_word" >&5
15371echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15372if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15374else
15375 case $OPENSC_CONFIG in
15376 [\\/]* | ?:[\\/]*)
15377 ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path.
15378 ;;
15379 *)
15380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15381for as_dir in $PATH
15382do
15383 IFS=$as_save_IFS
15384 test -z "$as_dir" && as_dir=.
15385 for ac_exec_ext in '' $ac_executable_extensions; do
15386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15387 ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15389 break 2
15390 fi
15391done
15392done
15393
15394 test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no"
15395 ;;
15396esac
15397fi
15398OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
15399
15400if test -n "$OPENSC_CONFIG"; then
15401 echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5
15402echo "${ECHO_T}$OPENSC_CONFIG" >&6
15403else
15404 echo "$as_me:$LINENO: result: no" >&5
15405echo "${ECHO_T}no" >&6
15406fi
15407
15408 if test "$OPENSC_CONFIG" != "no"; then
15409 LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags`
15410 LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs`
15411 CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS"
15412 LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS"
15413 cat >>confdefs.h <<\_ACEOF
15414@%:@define SMARTCARD 1
15415_ACEOF
15416
15417 cat >>confdefs.h <<\_ACEOF
15418@%:@define USE_OPENSC 1
15419_ACEOF
15420
15421 SCARD_MSG="yes, using OpenSC"
15422 fi
15423fi
15424
15425# Check whether user wants Kerberos 5 support
15426KRB5_MSG="no"
15427
15428# Check whether --with-kerberos5 or --without-kerberos5 was given.
15429if test "${with_kerberos5+set}" = set; then
15430 withval="$with_kerberos5"
15431
15432 if test "x$withval" != "xno" ; then
15433 if test "x$withval" = "xyes" ; then
15434 KRB5ROOT="/usr/local"
15435 else
15436 KRB5ROOT=${withval}
15437 fi
15438 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
15439 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
15440 cat >>confdefs.h <<\_ACEOF
15441@%:@define KRB5 1
15442_ACEOF
15443
15444 KRB5_MSG="yes"
15445 echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
15446echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
15447 cat >conftest.$ac_ext <<_ACEOF
15448#line $LINENO "configure"
15449#include "confdefs.h"
15450 #include <krb5.h>
15451#ifdef F77_DUMMY_MAIN
15452# ifdef __cplusplus
15453 extern "C"
15454# endif
15455 int F77_DUMMY_MAIN() { return 1; }
15456#endif
15457int
15458main ()
15459{
15460 char *tmp = heimdal_version;
15461 ;
15462 return 0;
15463}
15464_ACEOF
15465rm -f conftest.$ac_objext
15466if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15467 (eval $ac_compile) 2>&5
15468 ac_status=$?
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); } &&
15471 { ac_try='test -s conftest.$ac_objext'
15472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15473 (eval $ac_try) 2>&5
15474 ac_status=$?
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); }; }; then
15477 echo "$as_me:$LINENO: result: yes" >&5
15478echo "${ECHO_T}yes" >&6
15479 cat >>confdefs.h <<\_ACEOF
15480@%:@define HEIMDAL 1
15481_ACEOF
15482
15483 K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
15484
15485else
15486 echo "$as_me: failed program was:" >&5
15487cat conftest.$ac_ext >&5
15488 echo "$as_me:$LINENO: result: no" >&5
15489echo "${ECHO_T}no" >&6
15490 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
15491
15492
15493fi
15494rm -f conftest.$ac_objext conftest.$ac_ext
15495 if test ! -z "$need_dash_r" ; then
15496 LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib"
15497 fi
15498 if test ! -z "$blibpath" ; then
15499 blibpath="$blibpath:${KRB5ROOT}/lib"
15500 fi
15501
15502echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
15503echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
15504if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
15505 echo $ECHO_N "(cached) $ECHO_C" >&6
15506else
15507 ac_check_lib_save_LIBS=$LIBS
15508LIBS="-lresolv $LIBS"
15509cat >conftest.$ac_ext <<_ACEOF
15510#line $LINENO "configure"
15511#include "confdefs.h"
15512
15513/* Override any gcc2 internal prototype to avoid an error. */
15514#ifdef __cplusplus
15515extern "C"
15516#endif
15517/* We use char because int might match the return type of a gcc2
15518 builtin and then its argument prototype would still apply. */
15519char dn_expand ();
15520#ifdef F77_DUMMY_MAIN
15521# ifdef __cplusplus
15522 extern "C"
15523# endif
15524 int F77_DUMMY_MAIN() { return 1; }
15525#endif
15526int
15527main ()
15528{
15529dn_expand ();
15530 ;
15531 return 0;
15532}
15533_ACEOF
15534rm -f conftest.$ac_objext conftest$ac_exeext
15535if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15536 (eval $ac_link) 2>&5
15537 ac_status=$?
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } &&
15540 { ac_try='test -s conftest$ac_exeext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15543 ac_status=$?
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15546 ac_cv_lib_resolv_dn_expand=yes
15547else
15548 echo "$as_me: failed program was:" >&5
15549cat conftest.$ac_ext >&5
15550ac_cv_lib_resolv_dn_expand=no
15551fi
15552rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15553LIBS=$ac_check_lib_save_LIBS
15554fi
15555echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
15556echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
15557if test $ac_cv_lib_resolv_dn_expand = yes; then
15558 cat >>confdefs.h <<_ACEOF
15559@%:@define HAVE_LIBRESOLV 1
15560_ACEOF
15561
15562 LIBS="-lresolv $LIBS"
15563
15564fi
15565
15566
15567 KRB5=yes
15568 fi
15569
15570
15571fi;
15572# Check whether user wants Kerberos 4 support
15573KRB4_MSG="no"
15574
15575# Check whether --with-kerberos4 or --without-kerberos4 was given.
15576if test "${with_kerberos4+set}" = set; then
15577 withval="$with_kerberos4"
15578
15579 if test "x$withval" != "xno" ; then
15580 if test "x$withval" != "xyes" ; then
15581 CPPFLAGS="$CPPFLAGS -I${withval}/include"
15582 LDFLAGS="$LDFLAGS -L${withval}/lib"
15583 if test ! -z "$need_dash_r" ; then
15584 LDFLAGS="$LDFLAGS -R${withval}/lib"
15585 fi
15586 if test ! -z "$blibpath" ; then
15587 blibpath="$blibpath:${withval}/lib"
15588 fi
15589 else
15590 if test -d /usr/include/kerberosIV ; then
15591 CPPFLAGS="$CPPFLAGS -I/usr/include/kerberosIV"
15592 fi
15593 fi
15594
15595
15596for ac_header in krb.h
15597do
15598as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15599if eval "test \"\${$as_ac_Header+set}\" = set"; then
15600 echo "$as_me:$LINENO: checking for $ac_header" >&5
15601echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15602if eval "test \"\${$as_ac_Header+set}\" = set"; then
15603 echo $ECHO_N "(cached) $ECHO_C" >&6
15604fi
15605echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15606echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15607else
15608 # Is the header compilable?
15609echo "$as_me:$LINENO: checking $ac_header usability" >&5
15610echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15611cat >conftest.$ac_ext <<_ACEOF
15612#line $LINENO "configure"
15613#include "confdefs.h"
15614$ac_includes_default
15615@%:@include <$ac_header>
15616_ACEOF
15617rm -f conftest.$ac_objext
15618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15619 (eval $ac_compile) 2>&5
15620 ac_status=$?
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15626 ac_status=$?
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_header_compiler=yes
15630else
15631 echo "$as_me: failed program was:" >&5
15632cat conftest.$ac_ext >&5
15633ac_header_compiler=no
15634fi
15635rm -f conftest.$ac_objext conftest.$ac_ext
15636echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15637echo "${ECHO_T}$ac_header_compiler" >&6
15638
15639# Is the header present?
15640echo "$as_me:$LINENO: checking $ac_header presence" >&5
15641echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15642cat >conftest.$ac_ext <<_ACEOF
15643#line $LINENO "configure"
15644#include "confdefs.h"
15645@%:@include <$ac_header>
15646_ACEOF
15647if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15649 ac_status=$?
15650 egrep -v '^ *\+' conftest.er1 >conftest.err
15651 rm -f conftest.er1
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } >/dev/null; then
15655 if test -s conftest.err; then
15656 ac_cpp_err=$ac_c_preproc_warn_flag
15657 else
15658 ac_cpp_err=
15659 fi
15660else
15661 ac_cpp_err=yes
15662fi
15663if test -z "$ac_cpp_err"; then
15664 ac_header_preproc=yes
15665else
15666 echo "$as_me: failed program was:" >&5
15667 cat conftest.$ac_ext >&5
15668 ac_header_preproc=no
15669fi
15670rm -f conftest.err conftest.$ac_ext
15671echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15672echo "${ECHO_T}$ac_header_preproc" >&6
15673
15674# So? What about this header?
15675case $ac_header_compiler:$ac_header_preproc in
15676 yes:no )
15677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15678echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15680echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15681 no:yes )
15682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15683echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15685echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15687echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15688esac
15689echo "$as_me:$LINENO: checking for $ac_header" >&5
15690echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15691if eval "test \"\${$as_ac_Header+set}\" = set"; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15693else
15694 eval "$as_ac_Header=$ac_header_preproc"
15695fi
15696echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15697echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15698
15699fi
15700if test `eval echo '${'$as_ac_Header'}'` = yes; then
15701 cat >>confdefs.h <<_ACEOF
15702@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15703_ACEOF
15704
15705fi
15706
15707done
15708
15709 if test "$ac_cv_header_krb_h" != yes; then
15710 { echo "$as_me:$LINENO: WARNING: Cannot find krb.h, build may fail" >&5
15711echo "$as_me: WARNING: Cannot find krb.h, build may fail" >&2;}
15712 fi
15713
15714echo "$as_me:$LINENO: checking for main in -lkrb" >&5
15715echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6
15716if test "${ac_cv_lib_krb_main+set}" = set; then
15717 echo $ECHO_N "(cached) $ECHO_C" >&6
15718else
15719 ac_check_lib_save_LIBS=$LIBS
15720LIBS="-lkrb $LIBS"
15721cat >conftest.$ac_ext <<_ACEOF
15722#line $LINENO "configure"
15723#include "confdefs.h"
15724
15725
15726#ifdef F77_DUMMY_MAIN
15727# ifdef __cplusplus
15728 extern "C"
15729# endif
15730 int F77_DUMMY_MAIN() { return 1; }
15731#endif
15732int
15733main ()
15734{
15735main ();
15736 ;
15737 return 0;
15738}
15739_ACEOF
15740rm -f conftest.$ac_objext conftest$ac_exeext
15741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15742 (eval $ac_link) 2>&5
15743 ac_status=$?
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); } &&
15746 { ac_try='test -s conftest$ac_exeext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15749 ac_status=$?
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15752 ac_cv_lib_krb_main=yes
15753else
15754 echo "$as_me: failed program was:" >&5
15755cat conftest.$ac_ext >&5
15756ac_cv_lib_krb_main=no
15757fi
15758rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15759LIBS=$ac_check_lib_save_LIBS
15760fi
15761echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5
15762echo "${ECHO_T}$ac_cv_lib_krb_main" >&6
15763if test $ac_cv_lib_krb_main = yes; then
15764 cat >>confdefs.h <<_ACEOF
15765@%:@define HAVE_LIBKRB 1
15766_ACEOF
15767
15768 LIBS="-lkrb $LIBS"
15769
15770fi
15771
15772 if test "$ac_cv_lib_krb_main" != yes; then
15773
15774echo "$as_me:$LINENO: checking for main in -lkrb4" >&5
15775echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6
15776if test "${ac_cv_lib_krb4_main+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15778else
15779 ac_check_lib_save_LIBS=$LIBS
15780LIBS="-lkrb4 $LIBS"
15781cat >conftest.$ac_ext <<_ACEOF
15782#line $LINENO "configure"
15783#include "confdefs.h"
15784
15785
15786#ifdef F77_DUMMY_MAIN
15787# ifdef __cplusplus
15788 extern "C"
15789# endif
15790 int F77_DUMMY_MAIN() { return 1; }
15791#endif
15792int
15793main ()
15794{
15795main ();
15796 ;
15797 return 0;
15798}
15799_ACEOF
15800rm -f conftest.$ac_objext conftest$ac_exeext
15801if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15802 (eval $ac_link) 2>&5
15803 ac_status=$?
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); } &&
15806 { ac_try='test -s conftest$ac_exeext'
15807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15808 (eval $ac_try) 2>&5
15809 ac_status=$?
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); }; }; then
15812 ac_cv_lib_krb4_main=yes
15813else
15814 echo "$as_me: failed program was:" >&5
15815cat conftest.$ac_ext >&5
15816ac_cv_lib_krb4_main=no
15817fi
15818rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15819LIBS=$ac_check_lib_save_LIBS
15820fi
15821echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5
15822echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6
15823if test $ac_cv_lib_krb4_main = yes; then
15824 cat >>confdefs.h <<_ACEOF
15825@%:@define HAVE_LIBKRB4 1
15826_ACEOF
15827
15828 LIBS="-lkrb4 $LIBS"
15829
15830fi
15831
15832 if test "$ac_cv_lib_krb4_main" != yes; then
15833 { echo "$as_me:$LINENO: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&5
15834echo "$as_me: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&2;}
15835 else
15836 KLIBS="-lkrb4"
15837 fi
15838 else
15839 KLIBS="-lkrb"
15840 fi
15841
15842echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
15843echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
15844if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
15845 echo $ECHO_N "(cached) $ECHO_C" >&6
15846else
15847 ac_check_lib_save_LIBS=$LIBS
15848LIBS="-ldes $LIBS"
15849cat >conftest.$ac_ext <<_ACEOF
15850#line $LINENO "configure"
15851#include "confdefs.h"
15852
15853/* Override any gcc2 internal prototype to avoid an error. */
15854#ifdef __cplusplus
15855extern "C"
15856#endif
15857/* We use char because int might match the return type of a gcc2
15858 builtin and then its argument prototype would still apply. */
15859char des_cbc_encrypt ();
15860#ifdef F77_DUMMY_MAIN
15861# ifdef __cplusplus
15862 extern "C"
15863# endif
15864 int F77_DUMMY_MAIN() { return 1; }
15865#endif
15866int
15867main ()
15868{
15869des_cbc_encrypt ();
15870 ;
15871 return 0;
15872}
15873_ACEOF
15874rm -f conftest.$ac_objext conftest$ac_exeext
15875if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15876 (eval $ac_link) 2>&5
15877 ac_status=$?
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } &&
15880 { ac_try='test -s conftest$ac_exeext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15883 ac_status=$?
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15886 ac_cv_lib_des_des_cbc_encrypt=yes
15887else
15888 echo "$as_me: failed program was:" >&5
15889cat conftest.$ac_ext >&5
15890ac_cv_lib_des_des_cbc_encrypt=no
15891fi
15892rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15893LIBS=$ac_check_lib_save_LIBS
15894fi
15895echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
15896echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
15897if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
15898 cat >>confdefs.h <<_ACEOF
15899@%:@define HAVE_LIBDES 1
15900_ACEOF
15901
15902 LIBS="-ldes $LIBS"
15903
15904fi
15905
15906 if test "$ac_cv_lib_des_des_cbc_encrypt" != yes; then
15907
15908echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
15909echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
15910if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15912else
15913 ac_check_lib_save_LIBS=$LIBS
15914LIBS="-ldes425 $LIBS"
15915cat >conftest.$ac_ext <<_ACEOF
15916#line $LINENO "configure"
15917#include "confdefs.h"
15918
15919/* Override any gcc2 internal prototype to avoid an error. */
15920#ifdef __cplusplus
15921extern "C"
15922#endif
15923/* We use char because int might match the return type of a gcc2
15924 builtin and then its argument prototype would still apply. */
15925char des_cbc_encrypt ();
15926#ifdef F77_DUMMY_MAIN
15927# ifdef __cplusplus
15928 extern "C"
15929# endif
15930 int F77_DUMMY_MAIN() { return 1; }
15931#endif
15932int
15933main ()
15934{
15935des_cbc_encrypt ();
15936 ;
15937 return 0;
15938}
15939_ACEOF
15940rm -f conftest.$ac_objext conftest$ac_exeext
15941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15942 (eval $ac_link) 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try='test -s conftest$ac_exeext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15949 ac_status=$?
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 ac_cv_lib_des425_des_cbc_encrypt=yes
15953else
15954 echo "$as_me: failed program was:" >&5
15955cat conftest.$ac_ext >&5
15956ac_cv_lib_des425_des_cbc_encrypt=no
15957fi
15958rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15959LIBS=$ac_check_lib_save_LIBS
15960fi
15961echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
15962echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
15963if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
15964 cat >>confdefs.h <<_ACEOF
15965@%:@define HAVE_LIBDES425 1
15966_ACEOF
15967
15968 LIBS="-ldes425 $LIBS"
15969
15970fi
15971
15972 if test "$ac_cv_lib_des425_des_cbc_encrypt" != yes; then
15973 { echo "$as_me:$LINENO: WARNING: Cannot find libdes nor libdes425, build may fail" >&5
15974echo "$as_me: WARNING: Cannot find libdes nor libdes425, build may fail" >&2;}
15975 else
15976 KLIBS="-ldes425"
15977 fi
15978 else
15979 KLIBS="-ldes"
15980 fi
15981
15982echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
15983echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
15984if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
15985 echo $ECHO_N "(cached) $ECHO_C" >&6
15986else
15987 ac_check_lib_save_LIBS=$LIBS
15988LIBS="-lresolv $LIBS"
15989cat >conftest.$ac_ext <<_ACEOF
15990#line $LINENO "configure"
15991#include "confdefs.h"
15992
15993/* Override any gcc2 internal prototype to avoid an error. */
15994#ifdef __cplusplus
15995extern "C"
15996#endif
15997/* We use char because int might match the return type of a gcc2
15998 builtin and then its argument prototype would still apply. */
15999char dn_expand ();
16000#ifdef F77_DUMMY_MAIN
16001# ifdef __cplusplus
16002 extern "C"
16003# endif
16004 int F77_DUMMY_MAIN() { return 1; }
16005#endif
16006int
16007main ()
16008{
16009dn_expand ();
16010 ;
16011 return 0;
16012}
16013_ACEOF
16014rm -f conftest.$ac_objext conftest$ac_exeext
16015if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16016 (eval $ac_link) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } &&
16020 { ac_try='test -s conftest$ac_exeext'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16023 ac_status=$?
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16026 ac_cv_lib_resolv_dn_expand=yes
16027else
16028 echo "$as_me: failed program was:" >&5
16029cat conftest.$ac_ext >&5
16030ac_cv_lib_resolv_dn_expand=no
16031fi
16032rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16033LIBS=$ac_check_lib_save_LIBS
16034fi
16035echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
16036echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
16037if test $ac_cv_lib_resolv_dn_expand = yes; then
16038 cat >>confdefs.h <<_ACEOF
16039@%:@define HAVE_LIBRESOLV 1
16040_ACEOF
16041
16042 LIBS="-lresolv $LIBS"
16043
16044fi
16045
16046 KRB4=yes
16047 KRB4_MSG="yes"
16048 cat >>confdefs.h <<\_ACEOF
16049@%:@define KRB4 1
16050_ACEOF
16051
16052 fi
16053
16054
16055fi;
16056
16057# Check whether user wants AFS support
16058AFS_MSG="no"
16059
16060# Check whether --with-afs or --without-afs was given.
16061if test "${with_afs+set}" = set; then
16062 withval="$with_afs"
16063
16064 if test "x$withval" != "xno" ; then
16065
16066 if test "x$withval" != "xyes" ; then
16067 CPPFLAGS="$CPPFLAGS -I${withval}/include"
16068 LDFLAGS="$LDFLAGS -L${withval}/lib"
16069 fi
16070
16071 if test -z "$KRB4" ; then
16072 { echo "$as_me:$LINENO: WARNING: AFS requires Kerberos IV support, build may fail" >&5
16073echo "$as_me: WARNING: AFS requires Kerberos IV support, build may fail" >&2;}
16074 fi
16075
16076 LIBS="-lkafs $LIBS"
16077 if test ! -z "$AFS_LIBS" ; then
16078 LIBS="$LIBS $AFS_LIBS"
16079 fi
16080 cat >>confdefs.h <<\_ACEOF
16081@%:@define AFS 1
16082_ACEOF
16083
16084 AFS_MSG="yes"
16085 fi
16086
16087
16088fi;
16089LIBS="$LIBS $KLIBS $K5LIBS"
16090
16091# Looking for programs, paths and files
16092
16093PRIVSEP_PATH=/var/empty
16094
16095# Check whether --with-privsep-path or --without-privsep-path was given.
16096if test "${with_privsep_path+set}" = set; then
16097 withval="$with_privsep_path"
16098
16099 if test "x$withval" != "$no" ; then
16100 PRIVSEP_PATH=$withval
16101 fi
16102
16103
16104fi;
16105
16106
16107
16108# Check whether --with-xauth or --without-xauth was given.
16109if test "${with_xauth+set}" = set; then
16110 withval="$with_xauth"
16111
16112 if test "x$withval" != "xno" ; then
16113 xauth_path=$withval
16114 fi
16115
16116else
16117
16118 TestPath="$PATH"
16119 TestPath="${TestPath}${PATH_SEPARATOR}/usr/X/bin"
16120 TestPath="${TestPath}${PATH_SEPARATOR}/usr/bin/X11"
16121 TestPath="${TestPath}${PATH_SEPARATOR}/usr/X11R6/bin"
16122 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
16123 # Extract the first word of "xauth", so it can be a program name with args.
16124set dummy xauth; ac_word=$2
16125echo "$as_me:$LINENO: checking for $ac_word" >&5
16126echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16127if test "${ac_cv_path_xauth_path+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16129else
16130 case $xauth_path in
16131 [\\/]* | ?:[\\/]*)
16132 ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path.
16133 ;;
16134 *)
16135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16136for as_dir in $TestPath
16137do
16138 IFS=$as_save_IFS
16139 test -z "$as_dir" && as_dir=.
16140 for ac_exec_ext in '' $ac_executable_extensions; do
16141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16142 ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
16143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16144 break 2
16145 fi
16146done
16147done
16148
16149 ;;
16150esac
16151fi
16152xauth_path=$ac_cv_path_xauth_path
16153
16154if test -n "$xauth_path"; then
16155 echo "$as_me:$LINENO: result: $xauth_path" >&5
16156echo "${ECHO_T}$xauth_path" >&6
16157else
16158 echo "$as_me:$LINENO: result: no" >&5
16159echo "${ECHO_T}no" >&6
16160fi
16161
16162 if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then
16163 xauth_path="/usr/openwin/bin/xauth"
16164 fi
16165
16166
16167fi;
16168
16169STRIP_OPT=-s
16170# Check whether --enable-strip or --disable-strip was given.
16171if test "${enable_strip+set}" = set; then
16172 enableval="$enable_strip"
16173
16174 if test "x$enableval" = "xno" ; then
16175 STRIP_OPT=
16176 fi
16177
16178
16179fi;
16180
16181
16182if test -z "$xauth_path" ; then
16183 XAUTH_PATH="undefined"
16184
16185else
16186 cat >>confdefs.h <<_ACEOF
16187@%:@define XAUTH_PATH "$xauth_path"
16188_ACEOF
16189
16190 XAUTH_PATH=$xauth_path
16191
16192fi
16193
16194# Check for mail directory (last resort if we cannot get it from headers)
16195if test ! -z "$MAIL" ; then
16196 maildir=`dirname $MAIL`
16197 cat >>confdefs.h <<_ACEOF
16198@%:@define MAIL_DIRECTORY "$maildir"
16199_ACEOF
16200
16201fi
16202
16203if test -z "$no_dev_ptmx" ; then
16204 if test "x$disable_ptmx_check" != "xyes" ; then
16205 echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
16206echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
16207if test "${ac_cv_file___dev_ptmx_+set}" = set; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16209else
16210 test "$cross_compiling" = yes &&
16211 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16212echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16213 { (exit 1); exit 1; }; }
16214if test -r ""/dev/ptmx""; then
16215 ac_cv_file___dev_ptmx_=yes
16216else
16217 ac_cv_file___dev_ptmx_=no
16218fi
16219fi
16220echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
16221echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
16222if test $ac_cv_file___dev_ptmx_ = yes; then
16223
16224 cat >>confdefs.h <<_ACEOF
16225@%:@define HAVE_DEV_PTMX 1
16226_ACEOF
16227
16228 have_dev_ptmx=1
16229
16230
16231fi
16232
16233 fi
16234fi
16235echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
16236echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
16237if test "${ac_cv_file___dev_ptc_+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16239else
16240 test "$cross_compiling" = yes &&
16241 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16242echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16243 { (exit 1); exit 1; }; }
16244if test -r ""/dev/ptc""; then
16245 ac_cv_file___dev_ptc_=yes
16246else
16247 ac_cv_file___dev_ptc_=no
16248fi
16249fi
16250echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
16251echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
16252if test $ac_cv_file___dev_ptc_ = yes; then
16253
16254 cat >>confdefs.h <<_ACEOF
16255@%:@define HAVE_DEV_PTS_AND_PTC 1
16256_ACEOF
16257
16258 have_dev_ptc=1
16259
16260
16261fi
16262
16263
16264# Options from here on. Some of these are preset by platform above
16265
16266# Check whether --with-mantype or --without-mantype was given.
16267if test "${with_mantype+set}" = set; then
16268 withval="$with_mantype"
16269
16270 case "$withval" in
16271 man|cat|doc)
16272 MANTYPE=$withval
16273 ;;
16274 *)
16275 { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5
16276echo "$as_me: error: invalid man type: $withval" >&2;}
16277 { (exit 1); exit 1; }; }
16278 ;;
16279 esac
16280
16281
16282fi;
16283if test -z "$MANTYPE"; then
16284 TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb"
16285 for ac_prog in nroff awf
16286do
16287 # Extract the first word of "$ac_prog", so it can be a program name with args.
16288set dummy $ac_prog; ac_word=$2
16289echo "$as_me:$LINENO: checking for $ac_word" >&5
16290echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16291if test "${ac_cv_path_NROFF+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16293else
16294 case $NROFF in
16295 [\\/]* | ?:[\\/]*)
16296 ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
16297 ;;
16298 *)
16299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16300for as_dir in $TestPath
16301do
16302 IFS=$as_save_IFS
16303 test -z "$as_dir" && as_dir=.
16304 for ac_exec_ext in '' $ac_executable_extensions; do
16305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16306 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
16307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16308 break 2
16309 fi
16310done
16311done
16312
16313 ;;
16314esac
16315fi
16316NROFF=$ac_cv_path_NROFF
16317
16318if test -n "$NROFF"; then
16319 echo "$as_me:$LINENO: result: $NROFF" >&5
16320echo "${ECHO_T}$NROFF" >&6
16321else
16322 echo "$as_me:$LINENO: result: no" >&5
16323echo "${ECHO_T}no" >&6
16324fi
16325
16326 test -n "$NROFF" && break
16327done
16328test -n "$NROFF" || NROFF="/bin/false"
16329
16330 if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then
16331 MANTYPE=doc
16332 elif ${NROFF} -man ${srcdir}/ssh.1 >/dev/null 2>&1; then
16333 MANTYPE=man
16334 else
16335 MANTYPE=cat
16336 fi
16337fi
16338
16339if test "$MANTYPE" = "doc"; then
16340 mansubdir=man;
16341else
16342 mansubdir=$MANTYPE;
16343fi
16344
16345
16346# Check whether to enable MD5 passwords
16347MD5_MSG="no"
16348
16349# Check whether --with-md5-passwords or --without-md5-passwords was given.
16350if test "${with_md5_passwords+set}" = set; then
16351 withval="$with_md5_passwords"
16352
16353 if test "x$withval" != "xno" ; then
16354 cat >>confdefs.h <<\_ACEOF
16355@%:@define HAVE_MD5_PASSWORDS 1
16356_ACEOF
16357
16358 MD5_MSG="yes"
16359 fi
16360
16361
16362fi;
16363
16364# Whether to disable shadow password support
16365
16366# Check whether --with-shadow or --without-shadow was given.
16367if test "${with_shadow+set}" = set; then
16368 withval="$with_shadow"
16369
16370 if test "x$withval" = "xno" ; then
16371 cat >>confdefs.h <<\_ACEOF
16372@%:@define DISABLE_SHADOW 1
16373_ACEOF
16374
16375 disable_shadow=yes
16376 fi
16377
16378
16379fi;
16380
16381if test -z "$disable_shadow" ; then
16382 echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5
16383echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6
16384 cat >conftest.$ac_ext <<_ACEOF
16385#line $LINENO "configure"
16386#include "confdefs.h"
16387
16388#include <sys/types.h>
16389#include <shadow.h>
16390 struct spwd sp;
16391
16392#ifdef F77_DUMMY_MAIN
16393# ifdef __cplusplus
16394 extern "C"
16395# endif
16396 int F77_DUMMY_MAIN() { return 1; }
16397#endif
16398int
16399main ()
16400{
16401 sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0;
16402 ;
16403 return 0;
16404}
16405_ACEOF
16406rm -f conftest.$ac_objext
16407if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 sp_expire_available=yes
16419else
16420 echo "$as_me: failed program was:" >&5
16421cat conftest.$ac_ext >&5
16422
16423
16424fi
16425rm -f conftest.$ac_objext conftest.$ac_ext
16426
16427 if test "x$sp_expire_available" = "xyes" ; then
16428 echo "$as_me:$LINENO: result: yes" >&5
16429echo "${ECHO_T}yes" >&6
16430 cat >>confdefs.h <<\_ACEOF
16431@%:@define HAS_SHADOW_EXPIRE 1
16432_ACEOF
16433
16434 else
16435 echo "$as_me:$LINENO: result: no" >&5
16436echo "${ECHO_T}no" >&6
16437 fi
16438fi
16439
16440# Use ip address instead of hostname in $DISPLAY
16441if test ! -z "$IPADDR_IN_DISPLAY" ; then
16442 DISPLAY_HACK_MSG="yes"
16443 cat >>confdefs.h <<\_ACEOF
16444@%:@define IPADDR_IN_DISPLAY 1
16445_ACEOF
16446
16447else
16448 DISPLAY_HACK_MSG="no"
16449
16450# Check whether --with-ipaddr-display or --without-ipaddr-display was given.
16451if test "${with_ipaddr_display+set}" = set; then
16452 withval="$with_ipaddr_display"
16453
16454 if test "x$withval" != "xno" ; then
16455 cat >>confdefs.h <<\_ACEOF
16456@%:@define IPADDR_IN_DISPLAY 1
16457_ACEOF
16458
16459 DISPLAY_HACK_MSG="yes"
16460 fi
16461
16462
16463fi;
16464fi
16465
16466if test $ac_cv_func_login_getcapbool = "yes" -a \
16467 $ac_cv_header_login_cap_h = "yes" ; then
16468 USES_LOGIN_CONF=yes
16469fi
16470# Whether to mess with the default path
16471SERVER_PATH_MSG="(default)"
16472
16473# Check whether --with-default-path or --without-default-path was given.
16474if test "${with_default_path+set}" = set; then
16475 withval="$with_default_path"
16476
16477 if test "$USES_LOGIN_CONF" = "yes" ; then
16478 { echo "$as_me:$LINENO: WARNING:
16479--with-default-path=PATH has no effect on this system.
16480Edit /etc/login.conf instead." >&5
16481echo "$as_me: WARNING:
16482--with-default-path=PATH has no effect on this system.
16483Edit /etc/login.conf instead." >&2;}
16484 elif test "x$withval" != "xno" ; then
16485 user_path="$withval"
16486 SERVER_PATH_MSG="$withval"
16487 fi
16488
16489else
16490 if test "$USES_LOGIN_CONF" = "yes" ; then
16491 { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
16492echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
16493 else
16494 if test "$cross_compiling" = yes; then
16495 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
16496
16497else
16498 cat >conftest.$ac_ext <<_ACEOF
16499#line $LINENO "configure"
16500#include "confdefs.h"
16501
16502/* find out what STDPATH is */
16503#include <stdio.h>
16504#ifdef HAVE_PATHS_H
16505# include <paths.h>
16506#endif
16507#ifndef _PATH_STDPATH
16508# ifdef _PATH_USERPATH /* Irix */
16509# define _PATH_STDPATH _PATH_USERPATH
16510# else
16511# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
16512# endif
16513#endif
16514#include <sys/types.h>
16515#include <sys/stat.h>
16516#include <fcntl.h>
16517#define DATA "conftest.stdpath"
16518
16519main()
16520{
16521 FILE *fd;
16522 int rc;
16523
16524 fd = fopen(DATA,"w");
16525 if(fd == NULL)
16526 exit(1);
16527
16528 if ((rc = fprintf(fd,"%s", _PATH_STDPATH)) < 0)
16529 exit(1);
16530
16531 exit(0);
16532}
16533
16534_ACEOF
16535rm -f conftest$ac_exeext
16536if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16537 (eval $ac_link) 2>&5
16538 ac_status=$?
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16543 ac_status=$?
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; }; then
16546 user_path=`cat conftest.stdpath`
16547else
16548 echo "$as_me: program exited with status $ac_status" >&5
16549echo "$as_me: failed program was:" >&5
16550cat conftest.$ac_ext >&5
16551( exit $ac_status )
16552 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
16553fi
16554rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16555fi
16556# make sure $bindir is in USER_PATH so scp will work
16557 t_bindir=`eval echo ${bindir}`
16558 case $t_bindir in
16559 NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;;
16560 esac
16561 case $t_bindir in
16562 NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$ac_default_prefix~"` ;;
16563 esac
16564 echo $user_path | grep ":$t_bindir" > /dev/null 2>&1
16565 if test $? -ne 0 ; then
16566 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1
16567 if test $? -ne 0 ; then
16568 user_path=$user_path:$t_bindir
16569 echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5
16570echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
16571 fi
16572 fi
16573 fi
16574
16575fi;
16576if test "$USES_LOGIN_CONF" != "yes" ; then
16577 cat >>confdefs.h <<_ACEOF
16578@%:@define USER_PATH "$user_path"
16579_ACEOF
16580
16581
16582fi
16583
16584# Set superuser path separately to user path
16585
16586# Check whether --with-superuser-path or --without-superuser-path was given.
16587if test "${with_superuser_path+set}" = set; then
16588 withval="$with_superuser_path"
16589
16590 if test "x$withval" != "xno" ; then
16591 cat >>confdefs.h <<_ACEOF
16592@%:@define SUPERUSER_PATH "$withval"
16593_ACEOF
16594
16595 superuser_path=$withval
16596 fi
16597
16598
16599fi;
16600
16601
16602# Whether to force IPv4 by default (needed on broken glibc Linux)
16603IPV4_HACK_MSG="no"
16604
16605# Check whether --with-ipv4-default or --without-ipv4-default was given.
16606if test "${with_ipv4_default+set}" = set; then
16607 withval="$with_ipv4_default"
16608
16609 if test "x$withval" != "xno" ; then
16610 cat >>confdefs.h <<\_ACEOF
16611@%:@define IPV4_DEFAULT 1
16612_ACEOF
16613
16614 IPV4_HACK_MSG="yes"
16615 fi
16616
16617
16618fi;
16619
16620echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
16621echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6
16622IPV4_IN6_HACK_MSG="no"
16623
16624# Check whether --with-4in6 or --without-4in6 was given.
16625if test "${with_4in6+set}" = set; then
16626 withval="$with_4in6"
16627
16628 if test "x$withval" != "xno" ; then
16629 echo "$as_me:$LINENO: result: yes" >&5
16630echo "${ECHO_T}yes" >&6
16631 cat >>confdefs.h <<\_ACEOF
16632@%:@define IPV4_IN_IPV6 1
16633_ACEOF
16634
16635 IPV4_IN6_HACK_MSG="yes"
16636 else
16637 echo "$as_me:$LINENO: result: no" >&5
16638echo "${ECHO_T}no" >&6
16639 fi
16640
16641else
16642
16643 if test "x$inet6_default_4in6" = "xyes"; then
16644 echo "$as_me:$LINENO: result: yes (default)" >&5
16645echo "${ECHO_T}yes (default)" >&6
16646 cat >>confdefs.h <<\_ACEOF
16647@%:@define IPV4_IN_IPV6 1
16648_ACEOF
16649
16650 IPV4_IN6_HACK_MSG="yes"
16651 else
16652 echo "$as_me:$LINENO: result: no (default)" >&5
16653echo "${ECHO_T}no (default)" >&6
16654 fi
16655
16656
16657fi;
16658
16659# Whether to enable BSD auth support
16660BSD_AUTH_MSG=no
16661
16662# Check whether --with-bsd-auth or --without-bsd-auth was given.
16663if test "${with_bsd_auth+set}" = set; then
16664 withval="$with_bsd_auth"
16665
16666 if test "x$withval" != "xno" ; then
16667 cat >>confdefs.h <<\_ACEOF
16668@%:@define BSD_AUTH 1
16669_ACEOF
16670
16671 BSD_AUTH_MSG=yes
16672 fi
16673
16674
16675fi;
16676
16677# Where to place sshd.pid
16678piddir=/var/run
16679# make sure the directory exists
16680if test ! -d $piddir ; then
16681 piddir=`eval echo ${sysconfdir}`
16682 case $piddir in
16683 NONE/*) piddir=`echo $piddir | sed "s~NONE~$ac_default_prefix~"` ;;
16684 esac
16685fi
16686
16687
16688# Check whether --with-pid-dir or --without-pid-dir was given.
16689if test "${with_pid_dir+set}" = set; then
16690 withval="$with_pid_dir"
16691
16692 if test "x$withval" != "xno" ; then
16693 piddir=$withval
16694 if test ! -d $piddir ; then
16695 { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5
16696echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
16697 fi
16698 fi
16699
16700
16701fi;
16702
16703cat >>confdefs.h <<_ACEOF
16704@%:@define _PATH_SSH_PIDDIR "$piddir"
16705_ACEOF
16706
16707
16708
16709# Check whether --enable-lastlog or --disable-lastlog was given.
16710if test "${enable_lastlog+set}" = set; then
16711 enableval="$enable_lastlog"
16712 cat >>confdefs.h <<\_ACEOF
16713@%:@define DISABLE_LASTLOG 1
16714_ACEOF
16715
16716
16717fi;
16718# Check whether --enable-utmp or --disable-utmp was given.
16719if test "${enable_utmp+set}" = set; then
16720 enableval="$enable_utmp"
16721 cat >>confdefs.h <<\_ACEOF
16722@%:@define DISABLE_UTMP 1
16723_ACEOF
16724
16725
16726fi;
16727# Check whether --enable-utmpx or --disable-utmpx was given.
16728if test "${enable_utmpx+set}" = set; then
16729 enableval="$enable_utmpx"
16730 cat >>confdefs.h <<\_ACEOF
16731@%:@define DISABLE_UTMPX 1
16732_ACEOF
16733
16734
16735fi;
16736# Check whether --enable-wtmp or --disable-wtmp was given.
16737if test "${enable_wtmp+set}" = set; then
16738 enableval="$enable_wtmp"
16739 cat >>confdefs.h <<\_ACEOF
16740@%:@define DISABLE_WTMP 1
16741_ACEOF
16742
16743
16744fi;
16745# Check whether --enable-wtmpx or --disable-wtmpx was given.
16746if test "${enable_wtmpx+set}" = set; then
16747 enableval="$enable_wtmpx"
16748 cat >>confdefs.h <<\_ACEOF
16749@%:@define DISABLE_WTMPX 1
16750_ACEOF
16751
16752
16753fi;
16754# Check whether --enable-libutil or --disable-libutil was given.
16755if test "${enable_libutil+set}" = set; then
16756 enableval="$enable_libutil"
16757 cat >>confdefs.h <<\_ACEOF
16758@%:@define DISABLE_LOGIN 1
16759_ACEOF
16760
16761
16762fi;
16763# Check whether --enable-pututline or --disable-pututline was given.
16764if test "${enable_pututline+set}" = set; then
16765 enableval="$enable_pututline"
16766 cat >>confdefs.h <<\_ACEOF
16767@%:@define DISABLE_PUTUTLINE 1
16768_ACEOF
16769
16770
16771fi;
16772# Check whether --enable-pututxline or --disable-pututxline was given.
16773if test "${enable_pututxline+set}" = set; then
16774 enableval="$enable_pututxline"
16775 cat >>confdefs.h <<\_ACEOF
16776@%:@define DISABLE_PUTUTXLINE 1
16777_ACEOF
16778
16779
16780fi;
16781
16782# Check whether --with-lastlog or --without-lastlog was given.
16783if test "${with_lastlog+set}" = set; then
16784 withval="$with_lastlog"
16785
16786 if test "x$withval" = "xno" ; then
16787 cat >>confdefs.h <<\_ACEOF
16788@%:@define DISABLE_LASTLOG 1
16789_ACEOF
16790
16791 else
16792 conf_lastlog_location=$withval
16793 fi
16794
16795
16796fi;
16797
16798
16799echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
16800echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6
16801cat >conftest.$ac_ext <<_ACEOF
16802#line $LINENO "configure"
16803#include "confdefs.h"
16804
16805#include <sys/types.h>
16806#include <utmp.h>
16807#ifdef HAVE_LASTLOG_H
16808# include <lastlog.h>
16809#endif
16810#ifdef HAVE_PATHS_H
16811# include <paths.h>
16812#endif
16813#ifdef HAVE_LOGIN_H
16814# include <login.h>
16815#endif
16816
16817#ifdef F77_DUMMY_MAIN
16818# ifdef __cplusplus
16819 extern "C"
16820# endif
16821 int F77_DUMMY_MAIN() { return 1; }
16822#endif
16823int
16824main ()
16825{
16826 char *lastlog = LASTLOG_FILE;
16827 ;
16828 return 0;
16829}
16830_ACEOF
16831rm -f conftest.$ac_objext
16832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16833 (eval $ac_compile) 2>&5
16834 ac_status=$?
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try='test -s conftest.$ac_objext'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16840 ac_status=$?
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; }; then
16843 echo "$as_me:$LINENO: result: yes" >&5
16844echo "${ECHO_T}yes" >&6
16845else
16846 echo "$as_me: failed program was:" >&5
16847cat conftest.$ac_ext >&5
16848
16849 echo "$as_me:$LINENO: result: no" >&5
16850echo "${ECHO_T}no" >&6
16851 echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
16852echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6
16853 cat >conftest.$ac_ext <<_ACEOF
16854#line $LINENO "configure"
16855#include "confdefs.h"
16856
16857#include <sys/types.h>
16858#include <utmp.h>
16859#ifdef HAVE_LASTLOG_H
16860# include <lastlog.h>
16861#endif
16862#ifdef HAVE_PATHS_H
16863# include <paths.h>
16864#endif
16865
16866#ifdef F77_DUMMY_MAIN
16867# ifdef __cplusplus
16868 extern "C"
16869# endif
16870 int F77_DUMMY_MAIN() { return 1; }
16871#endif
16872int
16873main ()
16874{
16875 char *lastlog = _PATH_LASTLOG;
16876 ;
16877 return 0;
16878}
16879_ACEOF
16880rm -f conftest.$ac_objext
16881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16882 (eval $ac_compile) 2>&5
16883 ac_status=$?
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } &&
16886 { ac_try='test -s conftest.$ac_objext'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16889 ac_status=$?
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; }; then
16892 echo "$as_me:$LINENO: result: yes" >&5
16893echo "${ECHO_T}yes" >&6
16894else
16895 echo "$as_me: failed program was:" >&5
16896cat conftest.$ac_ext >&5
16897
16898 echo "$as_me:$LINENO: result: no" >&5
16899echo "${ECHO_T}no" >&6
16900 system_lastlog_path=no
16901
16902fi
16903rm -f conftest.$ac_objext conftest.$ac_ext
16904
16905
16906fi
16907rm -f conftest.$ac_objext conftest.$ac_ext
16908
16909if test -z "$conf_lastlog_location"; then
16910 if test x"$system_lastlog_path" = x"no" ; then
16911 for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
16912 if (test -d "$f" || test -f "$f") ; then
16913 conf_lastlog_location=$f
16914 fi
16915 done
16916 if test -z "$conf_lastlog_location"; then
16917 { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
16918echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
16919 fi
16920 fi
16921fi
16922
16923if test -n "$conf_lastlog_location"; then
16924 cat >>confdefs.h <<_ACEOF
16925@%:@define CONF_LASTLOG_FILE "$conf_lastlog_location"
16926_ACEOF
16927
16928fi
16929
16930echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
16931echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6
16932cat >conftest.$ac_ext <<_ACEOF
16933#line $LINENO "configure"
16934#include "confdefs.h"
16935
16936#include <sys/types.h>
16937#include <utmp.h>
16938#ifdef HAVE_PATHS_H
16939# include <paths.h>
16940#endif
16941
16942#ifdef F77_DUMMY_MAIN
16943# ifdef __cplusplus
16944 extern "C"
16945# endif
16946 int F77_DUMMY_MAIN() { return 1; }
16947#endif
16948int
16949main ()
16950{
16951 char *utmp = UTMP_FILE;
16952 ;
16953 return 0;
16954}
16955_ACEOF
16956rm -f conftest.$ac_objext
16957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16958 (eval $ac_compile) 2>&5
16959 ac_status=$?
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } &&
16962 { ac_try='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 echo "$as_me:$LINENO: result: yes" >&5
16969echo "${ECHO_T}yes" >&6
16970else
16971 echo "$as_me: failed program was:" >&5
16972cat conftest.$ac_ext >&5
16973 echo "$as_me:$LINENO: result: no" >&5
16974echo "${ECHO_T}no" >&6
16975 system_utmp_path=no
16976
16977fi
16978rm -f conftest.$ac_objext conftest.$ac_ext
16979if test -z "$conf_utmp_location"; then
16980 if test x"$system_utmp_path" = x"no" ; then
16981 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
16982 if test -f $f ; then
16983 conf_utmp_location=$f
16984 fi
16985 done
16986 if test -z "$conf_utmp_location"; then
16987 cat >>confdefs.h <<\_ACEOF
16988@%:@define DISABLE_UTMP 1
16989_ACEOF
16990
16991 fi
16992 fi
16993fi
16994if test -n "$conf_utmp_location"; then
16995 cat >>confdefs.h <<_ACEOF
16996@%:@define CONF_UTMP_FILE "$conf_utmp_location"
16997_ACEOF
16998
16999fi
17000
17001echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
17002echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6
17003cat >conftest.$ac_ext <<_ACEOF
17004#line $LINENO "configure"
17005#include "confdefs.h"
17006
17007#include <sys/types.h>
17008#include <utmp.h>
17009#ifdef HAVE_PATHS_H
17010# include <paths.h>
17011#endif
17012
17013#ifdef F77_DUMMY_MAIN
17014# ifdef __cplusplus
17015 extern "C"
17016# endif
17017 int F77_DUMMY_MAIN() { return 1; }
17018#endif
17019int
17020main ()
17021{
17022 char *wtmp = WTMP_FILE;
17023 ;
17024 return 0;
17025}
17026_ACEOF
17027rm -f conftest.$ac_objext
17028if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17029 (eval $ac_compile) 2>&5
17030 ac_status=$?
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } &&
17033 { ac_try='test -s conftest.$ac_objext'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17036 ac_status=$?
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; }; then
17039 echo "$as_me:$LINENO: result: yes" >&5
17040echo "${ECHO_T}yes" >&6
17041else
17042 echo "$as_me: failed program was:" >&5
17043cat conftest.$ac_ext >&5
17044 echo "$as_me:$LINENO: result: no" >&5
17045echo "${ECHO_T}no" >&6
17046 system_wtmp_path=no
17047
17048fi
17049rm -f conftest.$ac_objext conftest.$ac_ext
17050if test -z "$conf_wtmp_location"; then
17051 if test x"$system_wtmp_path" = x"no" ; then
17052 for f in /usr/adm/wtmp /var/log/wtmp; do
17053 if test -f $f ; then
17054 conf_wtmp_location=$f
17055 fi
17056 done
17057 if test -z "$conf_wtmp_location"; then
17058 cat >>confdefs.h <<\_ACEOF
17059@%:@define DISABLE_WTMP 1
17060_ACEOF
17061
17062 fi
17063 fi
17064fi
17065if test -n "$conf_wtmp_location"; then
17066 cat >>confdefs.h <<_ACEOF
17067@%:@define CONF_WTMP_FILE "$conf_wtmp_location"
17068_ACEOF
17069
17070fi
17071
17072
17073echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
17074echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6
17075cat >conftest.$ac_ext <<_ACEOF
17076#line $LINENO "configure"
17077#include "confdefs.h"
17078
17079#include <sys/types.h>
17080#include <utmp.h>
17081#ifdef HAVE_UTMPX_H
17082#include <utmpx.h>
17083#endif
17084#ifdef HAVE_PATHS_H
17085# include <paths.h>
17086#endif
17087
17088#ifdef F77_DUMMY_MAIN
17089# ifdef __cplusplus
17090 extern "C"
17091# endif
17092 int F77_DUMMY_MAIN() { return 1; }
17093#endif
17094int
17095main ()
17096{
17097 char *utmpx = UTMPX_FILE;
17098 ;
17099 return 0;
17100}
17101_ACEOF
17102rm -f conftest.$ac_objext
17103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17104 (eval $ac_compile) 2>&5
17105 ac_status=$?
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try='test -s conftest.$ac_objext'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17111 ac_status=$?
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; }; then
17114 echo "$as_me:$LINENO: result: yes" >&5
17115echo "${ECHO_T}yes" >&6
17116else
17117 echo "$as_me: failed program was:" >&5
17118cat conftest.$ac_ext >&5
17119 echo "$as_me:$LINENO: result: no" >&5
17120echo "${ECHO_T}no" >&6
17121 system_utmpx_path=no
17122
17123fi
17124rm -f conftest.$ac_objext conftest.$ac_ext
17125if test -z "$conf_utmpx_location"; then
17126 if test x"$system_utmpx_path" = x"no" ; then
17127 cat >>confdefs.h <<\_ACEOF
17128@%:@define DISABLE_UTMPX 1
17129_ACEOF
17130
17131 fi
17132else
17133 cat >>confdefs.h <<_ACEOF
17134@%:@define CONF_UTMPX_FILE "$conf_utmpx_location"
17135_ACEOF
17136
17137fi
17138
17139echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
17140echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6
17141cat >conftest.$ac_ext <<_ACEOF
17142#line $LINENO "configure"
17143#include "confdefs.h"
17144
17145#include <sys/types.h>
17146#include <utmp.h>
17147#ifdef HAVE_UTMPX_H
17148#include <utmpx.h>
17149#endif
17150#ifdef HAVE_PATHS_H
17151# include <paths.h>
17152#endif
17153
17154#ifdef F77_DUMMY_MAIN
17155# ifdef __cplusplus
17156 extern "C"
17157# endif
17158 int F77_DUMMY_MAIN() { return 1; }
17159#endif
17160int
17161main ()
17162{
17163 char *wtmpx = WTMPX_FILE;
17164 ;
17165 return 0;
17166}
17167_ACEOF
17168rm -f conftest.$ac_objext
17169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17170 (eval $ac_compile) 2>&5
17171 ac_status=$?
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); } &&
17174 { ac_try='test -s conftest.$ac_objext'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17177 ac_status=$?
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; }; then
17180 echo "$as_me:$LINENO: result: yes" >&5
17181echo "${ECHO_T}yes" >&6
17182else
17183 echo "$as_me: failed program was:" >&5
17184cat conftest.$ac_ext >&5
17185 echo "$as_me:$LINENO: result: no" >&5
17186echo "${ECHO_T}no" >&6
17187 system_wtmpx_path=no
17188
17189fi
17190rm -f conftest.$ac_objext conftest.$ac_ext
17191if test -z "$conf_wtmpx_location"; then
17192 if test x"$system_wtmpx_path" = x"no" ; then
17193 cat >>confdefs.h <<\_ACEOF
17194@%:@define DISABLE_WTMPX 1
17195_ACEOF
17196
17197 fi
17198else
17199 cat >>confdefs.h <<_ACEOF
17200@%:@define CONF_WTMPX_FILE "$conf_wtmpx_location"
17201_ACEOF
17202
17203fi
17204
17205
17206if test ! -z "$blibpath" ; then
17207 LDFLAGS="$LDFLAGS -blibpath:$blibpath"
17208 { echo "$as_me:$LINENO: WARNING: Please check and edit -blibpath in LDFLAGS in Makefile" >&5
17209echo "$as_me: WARNING: Please check and edit -blibpath in LDFLAGS in Makefile" >&2;}
17210fi
17211
17212if test "$PAM_MSG" = yes ; then
17213 LIBS=`echo $LIBS | sed 's/-lpam //'`
17214fi
17215if test "$ac_cv_lib_pam_pam_set_item" = yes ; then
17216 LIBS=`echo $LIBS | sed 's/-ldl //'`
17217fi
17218
17219
17220ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
17221
17222cat >confcache <<\_ACEOF
17223# This file is a shell script that caches the results of configure
17224# tests run on this system so they can be shared between configure
17225# scripts and configure runs, see configure's option --config-cache.
17226# It is not useful on other systems. If it contains results you don't
17227# want to keep, you may remove or edit it.
17228#
17229# config.status only pays attention to the cache file if you give it
17230# the --recheck option to rerun configure.
17231#
17232# `ac_cv_env_foo' variables (set or unset) will be overriden when
17233# loading this file, other *unset* `ac_cv_foo' will be assigned the
17234# following values.
17235
17236_ACEOF
17237
17238# The following way of writing the cache mishandles newlines in values,
17239# but we know of no workaround that is simple, portable, and efficient.
17240# So, don't put newlines in cache variables' values.
17241# Ultrix sh set writes to stderr and can't be redirected directly,
17242# and sets the high bit in the cache file unless we assign to the vars.
17243{
17244 (set) 2>&1 |
17245 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17246 *ac_space=\ *)
17247 # `set' does not quote correctly, so add quotes (double-quote
17248 # substitution turns \\\\ into \\, and sed turns \\ into \).
17249 sed -n \
17250 "s/'/'\\\\''/g;
17251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17252 ;;
17253 *)
17254 # `set' quotes correctly as required by POSIX, so do not add quotes.
17255 sed -n \
17256 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17257 ;;
17258 esac;
17259} |
17260 sed '
17261 t clear
17262 : clear
17263 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17264 t end
17265 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17266 : end' >>confcache
17267if cmp -s $cache_file confcache; then :; else
17268 if test -w $cache_file; then
17269 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17270 cat confcache >$cache_file
17271 else
17272 echo "not updating unwritable cache $cache_file"
17273 fi
17274fi
17275rm -f confcache
17276
17277test "x$prefix" = xNONE && prefix=$ac_default_prefix
17278# Let make expand exec_prefix.
17279test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17280
17281# VPATH may cause trouble with some makes, so we remove $(srcdir),
17282# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17283# trailing colons and then remove the whole line if VPATH becomes empty
17284# (actually we leave an empty line to preserve line numbers).
17285if test "x$srcdir" = x.; then
17286 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17287s/:*\$(srcdir):*/:/;
17288s/:*\${srcdir}:*/:/;
17289s/:*@srcdir@:*/:/;
17290s/^\([^=]*=[ ]*\):*/\1/;
17291s/:*$//;
17292s/^[^=]*=[ ]*$//;
17293}'
17294fi
17295
17296DEFS=-DHAVE_CONFIG_H
17297
17298
17299: ${CONFIG_STATUS=./config.status}
17300ac_clean_files_save=$ac_clean_files
17301ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17302{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17303echo "$as_me: creating $CONFIG_STATUS" >&6;}
17304cat >$CONFIG_STATUS <<_ACEOF
17305#! $SHELL
17306# Generated by $as_me.
17307# Run this file to recreate the current configuration.
17308# Compiler output produced by configure, useful for debugging
17309# configure, is in config.log if it exists.
17310
17311debug=false
17312SHELL=\${CONFIG_SHELL-$SHELL}
17313_ACEOF
17314
17315cat >>$CONFIG_STATUS <<\_ACEOF
17316
17317## --------------------- ##
17318## M4sh Initialization. ##
17319## --------------------- ##
17320
17321# Be Bourne compatible
17322if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17323 emulate sh
17324 NULLCMD=:
17325elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17326 set -o posix
17327fi
17328
17329# NLS nuisances.
17330# Support unset when possible.
17331if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
17332 as_unset=unset
17333else
17334 as_unset=false
17335fi
17336
17337(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
17338 { $as_unset LANG || test "${LANG+set}" != set; } ||
17339 { LANG=C; export LANG; }
17340(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
17341 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
17342 { LC_ALL=C; export LC_ALL; }
17343(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
17344 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
17345 { LC_TIME=C; export LC_TIME; }
17346(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
17347 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
17348 { LC_CTYPE=C; export LC_CTYPE; }
17349(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
17350 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
17351 { LANGUAGE=C; export LANGUAGE; }
17352(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
17353 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
17354 { LC_COLLATE=C; export LC_COLLATE; }
17355(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
17356 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
17357 { LC_NUMERIC=C; export LC_NUMERIC; }
17358(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
17359 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
17360 { LC_MESSAGES=C; export LC_MESSAGES; }
17361
17362
17363# Name of the executable.
17364as_me=`(basename "$0") 2>/dev/null ||
17365$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17366 X"$0" : 'X\(//\)$' \| \
17367 X"$0" : 'X\(/\)$' \| \
17368 . : '\(.\)' 2>/dev/null ||
17369echo X/"$0" |
17370 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17371 /^X\/\(\/\/\)$/{ s//\1/; q; }
17372 /^X\/\(\/\).*/{ s//\1/; q; }
17373 s/.*/./; q'`
17374
17375# PATH needs CR, and LINENO needs CR and PATH.
17376# Avoid depending upon Character Ranges.
17377as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17378as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17379as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17380as_cr_digits='0123456789'
17381as_cr_alnum=$as_cr_Letters$as_cr_digits
17382
17383# The user is always right.
17384if test "${PATH_SEPARATOR+set}" != set; then
17385 echo "#! /bin/sh" >conftest.sh
17386 echo "exit 0" >>conftest.sh
17387 chmod +x conftest.sh
17388 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
17389 PATH_SEPARATOR=';'
17390 else
17391 PATH_SEPARATOR=:
17392 fi
17393 rm -f conftest.sh
17394fi
17395
17396
17397 as_lineno_1=$LINENO
17398 as_lineno_2=$LINENO
17399 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17400 test "x$as_lineno_1" != "x$as_lineno_2" &&
17401 test "x$as_lineno_3" = "x$as_lineno_2" || {
17402 # Find who we are. Look in the path if we contain no path at all
17403 # relative or not.
17404 case $0 in
17405 *[\\/]* ) as_myself=$0 ;;
17406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17407for as_dir in $PATH
17408do
17409 IFS=$as_save_IFS
17410 test -z "$as_dir" && as_dir=.
17411 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17412done
17413
17414 ;;
17415 esac
17416 # We did not find ourselves, most probably we were run as `sh COMMAND'
17417 # in which case we are not to be found in the path.
17418 if test "x$as_myself" = x; then
17419 as_myself=$0
17420 fi
17421 if test ! -f "$as_myself"; then
17422 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17423echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17424 { (exit 1); exit 1; }; }
17425 fi
17426 case $CONFIG_SHELL in
17427 '')
17428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17429for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
17430do
17431 IFS=$as_save_IFS
17432 test -z "$as_dir" && as_dir=.
17433 for as_base in sh bash ksh sh5; do
17434 case $as_dir in
17435 /*)
17436 if ("$as_dir/$as_base" -c '
17437 as_lineno_1=$LINENO
17438 as_lineno_2=$LINENO
17439 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17440 test "x$as_lineno_1" != "x$as_lineno_2" &&
17441 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
17442 CONFIG_SHELL=$as_dir/$as_base
17443 export CONFIG_SHELL
17444 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17445 fi;;
17446 esac
17447 done
17448done
17449;;
17450 esac
17451
17452 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17453 # uniformly replaced by the line number. The first 'sed' inserts a
17454 # line-number line before each line; the second 'sed' does the real
17455 # work. The second script uses 'N' to pair each line-number line
17456 # with the numbered line, and appends trailing '-' during
17457 # substitution so that $LINENO is not a special case at line end.
17458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17459 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17460 sed '=' <$as_myself |
17461 sed '
17462 N
17463 s,$,-,
17464 : loop
17465 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17466 t loop
17467 s,-$,,
17468 s,^['$as_cr_digits']*\n,,
17469 ' >$as_me.lineno &&
17470 chmod +x $as_me.lineno ||
17471 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17472echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17473 { (exit 1); exit 1; }; }
17474
17475 # Don't try to exec as it changes $[0], causing all sort of problems
17476 # (the dirname of $[0] is not the place where we might find the
17477 # original and so on. Autoconf is especially sensible to this).
17478 . ./$as_me.lineno
17479 # Exit status is that of the last command.
17480 exit
17481}
17482
17483
17484case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17485 *c*,-n*) ECHO_N= ECHO_C='
17486' ECHO_T=' ' ;;
17487 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
17488 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
17489esac
17490
17491if expr a : '\(a\)' >/dev/null 2>&1; then
17492 as_expr=expr
17493else
17494 as_expr=false
17495fi
17496
17497rm -f conf$$ conf$$.exe conf$$.file
17498echo >conf$$.file
17499if ln -s conf$$.file conf$$ 2>/dev/null; then
17500 # We could just check for DJGPP; but this test a) works b) is more generic
17501 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17502 if test -f conf$$.exe; then
17503 # Don't use ln at all; we don't have any links
17504 as_ln_s='cp -p'
17505 else
17506 as_ln_s='ln -s'
17507 fi
17508elif ln conf$$.file conf$$ 2>/dev/null; then
17509 as_ln_s=ln
17510else
17511 as_ln_s='cp -p'
17512fi
17513rm -f conf$$ conf$$.exe conf$$.file
17514
17515as_executable_p="test -f"
17516
17517# Sed expression to map a string onto a valid CPP name.
17518as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17519
17520# Sed expression to map a string onto a valid variable name.
17521as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17522
17523
17524# IFS
17525# We need space, tab and new line, in precisely that order.
17526as_nl='
17527'
17528IFS=" $as_nl"
17529
17530# CDPATH.
17531$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
17532
17533exec 6>&1
17534
17535# Open the log real soon, to keep \$[0] and so on meaningful, and to
17536# report actual input values of CONFIG_FILES etc. instead of their
17537# values after options handling. Logging --version etc. is OK.
17538exec 5>>config.log
17539{
17540 echo
17541 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
17542@%:@@%:@ Running $as_me. @%:@@%:@
17543_ASBOX
17544} >&5
17545cat >&5 <<_CSEOF
17546
17547This file was extended by $as_me, which was
17548generated by GNU Autoconf 2.53. Invocation command line was
17549
17550 CONFIG_FILES = $CONFIG_FILES
17551 CONFIG_HEADERS = $CONFIG_HEADERS
17552 CONFIG_LINKS = $CONFIG_LINKS
17553 CONFIG_COMMANDS = $CONFIG_COMMANDS
17554 $ $0 $@
17555
17556_CSEOF
17557echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17558echo >&5
17559_ACEOF
17560
17561# Files that config.status was made for.
17562if test -n "$ac_config_files"; then
17563 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17564fi
17565
17566if test -n "$ac_config_headers"; then
17567 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17568fi
17569
17570if test -n "$ac_config_links"; then
17571 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17572fi
17573
17574if test -n "$ac_config_commands"; then
17575 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17576fi
17577
17578cat >>$CONFIG_STATUS <<\_ACEOF
17579
17580ac_cs_usage="\
17581\`$as_me' instantiates files from templates according to the
17582current configuration.
17583
17584Usage: $0 [OPTIONS] [FILE]...
17585
17586 -h, --help print this help, then exit
17587 -V, --version print version number, then exit
17588 -d, --debug don't remove temporary files
17589 --recheck update $as_me by reconfiguring in the same conditions
17590 --file=FILE[:TEMPLATE]
17591 instantiate the configuration file FILE
17592 --header=FILE[:TEMPLATE]
17593 instantiate the configuration header FILE
17594
17595Configuration files:
17596$config_files
17597
17598Configuration headers:
17599$config_headers
17600
17601Report bugs to <bug-autoconf@gnu.org>."
17602_ACEOF
17603
17604cat >>$CONFIG_STATUS <<_ACEOF
17605ac_cs_version="\\
17606config.status
17607configured by $0, generated by GNU Autoconf 2.53,
17608 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17609
17610Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
17611Free Software Foundation, Inc.
17612This config.status script is free software; the Free Software Foundation
17613gives unlimited permission to copy, distribute and modify it."
17614srcdir=$srcdir
17615INSTALL="$INSTALL"
17616_ACEOF
17617
17618cat >>$CONFIG_STATUS <<\_ACEOF
17619# If no file are specified by the user, then we need to provide default
17620# value. By we need to know if files were specified by the user.
17621ac_need_defaults=:
17622while test $# != 0
17623do
17624 case $1 in
17625 --*=*)
17626 ac_option=`expr "x$1" : 'x\([^=]*\)='`
17627 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
17628 shift
17629 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
17630 shift
17631 ;;
17632 -*);;
17633 *) # This is not an option, so the user has probably given explicit
17634 # arguments.
17635 ac_need_defaults=false;;
17636 esac
17637
17638 case $1 in
17639 # Handling of the options.
17640_ACEOF
17641cat >>$CONFIG_STATUS <<_ACEOF
17642 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17643 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
17644 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
17645_ACEOF
17646cat >>$CONFIG_STATUS <<\_ACEOF
17647 --version | --vers* | -V )
17648 echo "$ac_cs_version"; exit 0 ;;
17649 --he | --h)
17650 # Conflict between --help and --header
17651 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17652Try \`$0 --help' for more information." >&5
17653echo "$as_me: error: ambiguous option: $1
17654Try \`$0 --help' for more information." >&2;}
17655 { (exit 1); exit 1; }; };;
17656 --help | --hel | -h )
17657 echo "$ac_cs_usage"; exit 0 ;;
17658 --debug | --d* | -d )
17659 debug=: ;;
17660 --file | --fil | --fi | --f )
17661 shift
17662 CONFIG_FILES="$CONFIG_FILES $1"
17663 ac_need_defaults=false;;
17664 --header | --heade | --head | --hea )
17665 shift
17666 CONFIG_HEADERS="$CONFIG_HEADERS $1"
17667 ac_need_defaults=false;;
17668
17669 # This is an error.
17670 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17671Try \`$0 --help' for more information." >&5
17672echo "$as_me: error: unrecognized option: $1
17673Try \`$0 --help' for more information." >&2;}
17674 { (exit 1); exit 1; }; } ;;
17675
17676 *) ac_config_targets="$ac_config_targets $1" ;;
17677
17678 esac
17679 shift
17680done
17681
17682_ACEOF
17683
17684
17685
17686
17687
17688cat >>$CONFIG_STATUS <<\_ACEOF
17689for ac_config_target in $ac_config_targets
17690do
17691 case "$ac_config_target" in
17692 # Handling of arguments.
17693 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17694 "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;;
17695 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;;
17696 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
17697 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17698 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17699echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17700 { (exit 1); exit 1; }; };;
17701 esac
17702done
17703
17704# If the user did not use the arguments to specify the items to instantiate,
17705# then the envvar interface is used. Set only those that are not.
17706# We use the long form for the default assignment because of an extremely
17707# bizarre bug on SunOS 4.1.3.
17708if $ac_need_defaults; then
17709 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17710 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17711fi
17712
17713# Create a temporary directory, and hook for its removal unless debugging.
17714$debug ||
17715{
17716 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17717 trap '{ (exit 1); exit 1; }' 1 2 13 15
17718}
17719
17720# Create a (secure) tmp directory for tmp files.
17721: ${TMPDIR=/tmp}
17722{
17723 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
17724 test -n "$tmp" && test -d "$tmp"
17725} ||
17726{
17727 tmp=$TMPDIR/cs$$-$RANDOM
17728 (umask 077 && mkdir $tmp)
17729} ||
17730{
17731 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
17732 { (exit 1); exit 1; }
17733}
17734
17735_ACEOF
17736
17737cat >>$CONFIG_STATUS <<_ACEOF
17738
17739#
17740# CONFIG_FILES section.
17741#
17742
17743# No need to generate the scripts if there are no CONFIG_FILES.
17744# This happens for instance when ./config.status config.h
17745if test -n "\$CONFIG_FILES"; then
17746 # Protect against being on the right side of a sed subst in config.status.
17747 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17748 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17749s,@SHELL@,$SHELL,;t t
17750s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17751s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17752s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17753s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17754s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17755s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17756s,@exec_prefix@,$exec_prefix,;t t
17757s,@prefix@,$prefix,;t t
17758s,@program_transform_name@,$program_transform_name,;t t
17759s,@bindir@,$bindir,;t t
17760s,@sbindir@,$sbindir,;t t
17761s,@libexecdir@,$libexecdir,;t t
17762s,@datadir@,$datadir,;t t
17763s,@sysconfdir@,$sysconfdir,;t t
17764s,@sharedstatedir@,$sharedstatedir,;t t
17765s,@localstatedir@,$localstatedir,;t t
17766s,@libdir@,$libdir,;t t
17767s,@includedir@,$includedir,;t t
17768s,@oldincludedir@,$oldincludedir,;t t
17769s,@infodir@,$infodir,;t t
17770s,@mandir@,$mandir,;t t
17771s,@build_alias@,$build_alias,;t t
17772s,@host_alias@,$host_alias,;t t
17773s,@target_alias@,$target_alias,;t t
17774s,@DEFS@,$DEFS,;t t
17775s,@ECHO_C@,$ECHO_C,;t t
17776s,@ECHO_N@,$ECHO_N,;t t
17777s,@ECHO_T@,$ECHO_T,;t t
17778s,@LIBS@,$LIBS,;t t
17779s,@CC@,$CC,;t t
17780s,@CFLAGS@,$CFLAGS,;t t
17781s,@LDFLAGS@,$LDFLAGS,;t t
17782s,@CPPFLAGS@,$CPPFLAGS,;t t
17783s,@ac_ct_CC@,$ac_ct_CC,;t t
17784s,@EXEEXT@,$EXEEXT,;t t
17785s,@OBJEXT@,$OBJEXT,;t t
17786s,@build@,$build,;t t
17787s,@build_cpu@,$build_cpu,;t t
17788s,@build_vendor@,$build_vendor,;t t
17789s,@build_os@,$build_os,;t t
17790s,@host@,$host,;t t
17791s,@host_cpu@,$host_cpu,;t t
17792s,@host_vendor@,$host_vendor,;t t
17793s,@host_os@,$host_os,;t t
17794s,@CPP@,$CPP,;t t
17795s,@RANLIB@,$RANLIB,;t t
17796s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17797s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17798s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17799s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17800s,@AR@,$AR,;t t
17801s,@PERL@,$PERL,;t t
17802s,@SED@,$SED,;t t
17803s,@ENT@,$ENT,;t t
17804s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t
17805s,@SH@,$SH,;t t
17806s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
17807s,@LD@,$LD,;t t
17808s,@LIBWRAP@,$LIBWRAP,;t t
17809s,@LIBPAM@,$LIBPAM,;t t
17810s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t
17811s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t
17812s,@PROG_LS@,$PROG_LS,;t t
17813s,@PROG_NETSTAT@,$PROG_NETSTAT,;t t
17814s,@PROG_ARP@,$PROG_ARP,;t t
17815s,@PROG_IFCONFIG@,$PROG_IFCONFIG,;t t
17816s,@PROG_JSTAT@,$PROG_JSTAT,;t t
17817s,@PROG_PS@,$PROG_PS,;t t
17818s,@PROG_SAR@,$PROG_SAR,;t t
17819s,@PROG_W@,$PROG_W,;t t
17820s,@PROG_WHO@,$PROG_WHO,;t t
17821s,@PROG_LAST@,$PROG_LAST,;t t
17822s,@PROG_LASTLOG@,$PROG_LASTLOG,;t t
17823s,@PROG_DF@,$PROG_DF,;t t
17824s,@PROG_VMSTAT@,$PROG_VMSTAT,;t t
17825s,@PROG_UPTIME@,$PROG_UPTIME,;t t
17826s,@PROG_IPCS@,$PROG_IPCS,;t t
17827s,@PROG_TAIL@,$PROG_TAIL,;t t
17828s,@INSTALL_SSH_PRNG_CMDS@,$INSTALL_SSH_PRNG_CMDS,;t t
17829s,@OPENSC_CONFIG@,$OPENSC_CONFIG,;t t
17830s,@PRIVSEP_PATH@,$PRIVSEP_PATH,;t t
17831s,@xauth_path@,$xauth_path,;t t
17832s,@STRIP_OPT@,$STRIP_OPT,;t t
17833s,@XAUTH_PATH@,$XAUTH_PATH,;t t
17834s,@NROFF@,$NROFF,;t t
17835s,@MANTYPE@,$MANTYPE,;t t
17836s,@mansubdir@,$mansubdir,;t t
17837s,@user_path@,$user_path,;t t
17838s,@piddir@,$piddir,;t t
17839CEOF
17840
17841_ACEOF
17842
17843 cat >>$CONFIG_STATUS <<\_ACEOF
17844 # Split the substitutions into bite-sized pieces for seds with
17845 # small command number limits, like on Digital OSF/1 and HP-UX.
17846 ac_max_sed_lines=48
17847 ac_sed_frag=1 # Number of current file.
17848 ac_beg=1 # First line for current file.
17849 ac_end=$ac_max_sed_lines # Line after last line for current file.
17850 ac_more_lines=:
17851 ac_sed_cmds=
17852 while $ac_more_lines; do
17853 if test $ac_beg -gt 1; then
17854 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
17855 else
17856 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
17857 fi
17858 if test ! -s $tmp/subs.frag; then
17859 ac_more_lines=false
17860 else
17861 # The purpose of the label and of the branching condition is to
17862 # speed up the sed processing (if there are no `@' at all, there
17863 # is no need to browse any of the substitutions).
17864 # These are the two extra sed commands mentioned above.
17865 (echo ':t
17866 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
17867 if test -z "$ac_sed_cmds"; then
17868 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
17869 else
17870 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17871 fi
17872 ac_sed_frag=`expr $ac_sed_frag + 1`
17873 ac_beg=$ac_end
17874 ac_end=`expr $ac_end + $ac_max_sed_lines`
17875 fi
17876 done
17877 if test -z "$ac_sed_cmds"; then
17878 ac_sed_cmds=cat
17879 fi
17880fi # test -n "$CONFIG_FILES"
17881
17882_ACEOF
17883cat >>$CONFIG_STATUS <<\_ACEOF
17884for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
17885 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17886 case $ac_file in
17887 - | *:- | *:-:* ) # input from stdin
17888 cat >$tmp/stdin
17889 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17890 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17891 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17892 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17893 * ) ac_file_in=$ac_file.in ;;
17894 esac
17895
17896 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17897 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17898$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17899 X"$ac_file" : 'X\(//\)[^/]' \| \
17900 X"$ac_file" : 'X\(//\)$' \| \
17901 X"$ac_file" : 'X\(/\)' \| \
17902 . : '\(.\)' 2>/dev/null ||
17903echo X"$ac_file" |
17904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17905 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17906 /^X\(\/\/\)$/{ s//\1/; q; }
17907 /^X\(\/\).*/{ s//\1/; q; }
17908 s/.*/./; q'`
17909 { case "$ac_dir" in
17910 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
17911 *) as_incr_dir=.;;
17912esac
17913as_dummy="$ac_dir"
17914for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
17915 case $as_mkdir_dir in
17916 # Skip DOS drivespec
17917 ?:) as_incr_dir=$as_mkdir_dir ;;
17918 *)
17919 as_incr_dir=$as_incr_dir/$as_mkdir_dir
17920 test -d "$as_incr_dir" ||
17921 mkdir "$as_incr_dir" ||
17922 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
17923echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
17924 { (exit 1); exit 1; }; }
17925 ;;
17926 esac
17927done; }
17928
17929 ac_builddir=.
17930
17931if test "$ac_dir" != .; then
17932 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17933 # A "../" for each directory in $ac_dir_suffix.
17934 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17935else
17936 ac_dir_suffix= ac_top_builddir=
17937fi
17938
17939case $srcdir in
17940 .) # No --srcdir option. We are building in place.
17941 ac_srcdir=.
17942 if test -z "$ac_top_builddir"; then
17943 ac_top_srcdir=.
17944 else
17945 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17946 fi ;;
17947 [\\/]* | ?:[\\/]* ) # Absolute path.
17948 ac_srcdir=$srcdir$ac_dir_suffix;
17949 ac_top_srcdir=$srcdir ;;
17950 *) # Relative path.
17951 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17952 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17953esac
17954# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17955# absolute.
17956ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17957ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
17958ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17959ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17960
17961
17962 case $INSTALL in
17963 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17964 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
17965 esac
17966
17967 if test x"$ac_file" != x-; then
17968 { echo "$as_me:$LINENO: creating $ac_file" >&5
17969echo "$as_me: creating $ac_file" >&6;}
17970 rm -f "$ac_file"
17971 fi
17972 # Let's still pretend it is `configure' which instantiates (i.e., don't
17973 # use $as_me), people would be surprised to read:
17974 # /* config.h. Generated by config.status. */
17975 if test x"$ac_file" = x-; then
17976 configure_input=
17977 else
17978 configure_input="$ac_file. "
17979 fi
17980 configure_input=$configure_input"Generated from `echo $ac_file_in |
17981 sed 's,.*/,,'` by configure."
17982
17983 # First look for the input files in the build tree, otherwise in the
17984 # src tree.
17985 ac_file_inputs=`IFS=:
17986 for f in $ac_file_in; do
17987 case $f in
17988 -) echo $tmp/stdin ;;
17989 [\\/$]*)
17990 # Absolute (can't be DOS-style, as IFS=:)
17991 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17992echo "$as_me: error: cannot find input file: $f" >&2;}
17993 { (exit 1); exit 1; }; }
17994 echo $f;;
17995 *) # Relative
17996 if test -f "$f"; then
17997 # Build tree
17998 echo $f
17999 elif test -f "$srcdir/$f"; then
18000 # Source tree
18001 echo $srcdir/$f
18002 else
18003 # /dev/null tree
18004 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18005echo "$as_me: error: cannot find input file: $f" >&2;}
18006 { (exit 1); exit 1; }; }
18007 fi;;
18008 esac
18009 done` || { (exit 1); exit 1; }
18010_ACEOF
18011cat >>$CONFIG_STATUS <<_ACEOF
18012 sed "$ac_vpsub
18013$extrasub
18014_ACEOF
18015cat >>$CONFIG_STATUS <<\_ACEOF
18016:t
18017/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18018s,@configure_input@,$configure_input,;t t
18019s,@srcdir@,$ac_srcdir,;t t
18020s,@abs_srcdir@,$ac_abs_srcdir,;t t
18021s,@top_srcdir@,$ac_top_srcdir,;t t
18022s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18023s,@builddir@,$ac_builddir,;t t
18024s,@abs_builddir@,$ac_abs_builddir,;t t
18025s,@top_builddir@,$ac_top_builddir,;t t
18026s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
18027s,@INSTALL@,$ac_INSTALL,;t t
18028" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18029 rm -f $tmp/stdin
18030 if test x"$ac_file" != x-; then
18031 mv $tmp/out $ac_file
18032 else
18033 cat $tmp/out
18034 rm -f $tmp/out
18035 fi
18036
18037done
18038_ACEOF
18039cat >>$CONFIG_STATUS <<\_ACEOF
18040
18041#
18042# CONFIG_HEADER section.
18043#
18044
18045# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18046# NAME is the cpp macro being defined and VALUE is the value it is being given.
18047#
18048# ac_d sets the value in "#define NAME VALUE" lines.
18049ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18050ac_dB='[ ].*$,\1#\2'
18051ac_dC=' '
18052ac_dD=',;t'
18053# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18054ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18055ac_uB='$,\1#\2define\3'
18056ac_uC=' '
18057ac_uD=',;t'
18058
18059for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18060 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18061 case $ac_file in
18062 - | *:- | *:-:* ) # input from stdin
18063 cat >$tmp/stdin
18064 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18065 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18066 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18067 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18068 * ) ac_file_in=$ac_file.in ;;
18069 esac
18070
18071 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18072echo "$as_me: creating $ac_file" >&6;}
18073
18074 # First look for the input files in the build tree, otherwise in the
18075 # src tree.
18076 ac_file_inputs=`IFS=:
18077 for f in $ac_file_in; do
18078 case $f in
18079 -) echo $tmp/stdin ;;
18080 [\\/$]*)
18081 # Absolute (can't be DOS-style, as IFS=:)
18082 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18083echo "$as_me: error: cannot find input file: $f" >&2;}
18084 { (exit 1); exit 1; }; }
18085 echo $f;;
18086 *) # Relative
18087 if test -f "$f"; then
18088 # Build tree
18089 echo $f
18090 elif test -f "$srcdir/$f"; then
18091 # Source tree
18092 echo $srcdir/$f
18093 else
18094 # /dev/null tree
18095 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18096echo "$as_me: error: cannot find input file: $f" >&2;}
18097 { (exit 1); exit 1; }; }
18098 fi;;
18099 esac
18100 done` || { (exit 1); exit 1; }
18101 # Remove the trailing spaces.
18102 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18103
18104_ACEOF
18105
18106# Transform confdefs.h into two sed scripts, `conftest.defines' and
18107# `conftest.undefs', that substitutes the proper values into
18108# config.h.in to produce config.h. The first handles `#define'
18109# templates, and the second `#undef' templates.
18110# And first: Protect against being on the right side of a sed subst in
18111# config.status. Protect against being in an unquoted here document
18112# in config.status.
18113rm -f conftest.defines conftest.undefs
18114# Using a here document instead of a string reduces the quoting nightmare.
18115# Putting comments in sed scripts is not portable.
18116#
18117# `end' is used to avoid that the second main sed command (meant for
18118# 0-ary CPP macros) applies to n-ary macro definitions.
18119# See the Autoconf documentation for `clear'.
18120cat >confdef2sed.sed <<\_ACEOF
18121s/[\\&,]/\\&/g
18122s,[\\$`],\\&,g
18123t clear
18124: clear
18125s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18126t end
18127s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18128: end
18129_ACEOF
18130# If some macros were called several times there might be several times
18131# the same #defines, which is useless. Nevertheless, we may not want to
18132# sort them, since we want the *last* AC-DEFINE to be honored.
18133uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18134sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18135rm -f confdef2sed.sed
18136
18137# This sed command replaces #undef with comments. This is necessary, for
18138# example, in the case of _POSIX_SOURCE, which is predefined and required
18139# on some systems where configure will not decide to define it.
18140cat >>conftest.undefs <<\_ACEOF
18141s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18142_ACEOF
18143
18144# Break up conftest.defines because some shells have a limit on the size
18145# of here documents, and old seds have small limits too (100 cmds).
18146echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18147echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18148echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18149echo ' :' >>$CONFIG_STATUS
18150rm -f conftest.tail
18151while grep . conftest.defines >/dev/null
18152do
18153 # Write a limited-size here document to $tmp/defines.sed.
18154 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18155 # Speed up: don't consider the non `#define' lines.
18156 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18157 # Work around the forget-to-reset-the-flag bug.
18158 echo 't clr' >>$CONFIG_STATUS
18159 echo ': clr' >>$CONFIG_STATUS
18160 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
18161 echo 'CEOF
18162 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18163 rm -f $tmp/in
18164 mv $tmp/out $tmp/in
18165' >>$CONFIG_STATUS
18166 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
18167 rm -f conftest.defines
18168 mv conftest.tail conftest.defines
18169done
18170rm -f conftest.defines
18171echo ' fi # egrep' >>$CONFIG_STATUS
18172echo >>$CONFIG_STATUS
18173
18174# Break up conftest.undefs because some shells have a limit on the size
18175# of here documents, and old seds have small limits too (100 cmds).
18176echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18177rm -f conftest.tail
18178while grep . conftest.undefs >/dev/null
18179do
18180 # Write a limited-size here document to $tmp/undefs.sed.
18181 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18182 # Speed up: don't consider the non `#undef'
18183 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18184 # Work around the forget-to-reset-the-flag bug.
18185 echo 't clr' >>$CONFIG_STATUS
18186 echo ': clr' >>$CONFIG_STATUS
18187 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18188 echo 'CEOF
18189 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18190 rm -f $tmp/in
18191 mv $tmp/out $tmp/in
18192' >>$CONFIG_STATUS
18193 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18194 rm -f conftest.undefs
18195 mv conftest.tail conftest.undefs
18196done
18197rm -f conftest.undefs
18198
18199cat >>$CONFIG_STATUS <<\_ACEOF
18200 # Let's still pretend it is `configure' which instantiates (i.e., don't
18201 # use $as_me), people would be surprised to read:
18202 # /* config.h. Generated by config.status. */
18203 if test x"$ac_file" = x-; then
18204 echo "/* Generated by configure. */" >$tmp/config.h
18205 else
18206 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18207 fi
18208 cat $tmp/in >>$tmp/config.h
18209 rm -f $tmp/in
18210 if test x"$ac_file" != x-; then
18211 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
18212 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18213echo "$as_me: $ac_file is unchanged" >&6;}
18214 else
18215 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18216$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18217 X"$ac_file" : 'X\(//\)[^/]' \| \
18218 X"$ac_file" : 'X\(//\)$' \| \
18219 X"$ac_file" : 'X\(/\)' \| \
18220 . : '\(.\)' 2>/dev/null ||
18221echo X"$ac_file" |
18222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18224 /^X\(\/\/\)$/{ s//\1/; q; }
18225 /^X\(\/\).*/{ s//\1/; q; }
18226 s/.*/./; q'`
18227 { case "$ac_dir" in
18228 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
18229 *) as_incr_dir=.;;
18230esac
18231as_dummy="$ac_dir"
18232for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
18233 case $as_mkdir_dir in
18234 # Skip DOS drivespec
18235 ?:) as_incr_dir=$as_mkdir_dir ;;
18236 *)
18237 as_incr_dir=$as_incr_dir/$as_mkdir_dir
18238 test -d "$as_incr_dir" ||
18239 mkdir "$as_incr_dir" ||
18240 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
18241echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
18242 { (exit 1); exit 1; }; }
18243 ;;
18244 esac
18245done; }
18246
18247 rm -f $ac_file
18248 mv $tmp/config.h $ac_file
18249 fi
18250 else
18251 cat $tmp/config.h
18252 rm -f $tmp/config.h
18253 fi
18254done
18255_ACEOF
18256
18257cat >>$CONFIG_STATUS <<\_ACEOF
18258
18259{ (exit 0); exit 0; }
18260_ACEOF
18261chmod +x $CONFIG_STATUS
18262ac_clean_files=$ac_clean_files_save
18263
18264
18265# configure is writing to config.log, and then calls config.status.
18266# config.status does its own redirection, appending to config.log.
18267# Unfortunately, on DOS this fails, as config.log is still kept open
18268# by configure, so config.status won't be able to write to it; its
18269# output is simply discarded. So we exec the FD to /dev/null,
18270# effectively closing config.log, so it can be properly (re)opened and
18271# appended to by config.status. When coming back to configure, we
18272# need to make the FD available again.
18273if test "$no_create" != yes; then
18274 ac_cs_success=:
18275 exec 5>/dev/null
18276 $SHELL $CONFIG_STATUS || ac_cs_success=false
18277 exec 5>>config.log
18278 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18279 # would make configure fail if this is the last instruction.
18280 $ac_cs_success || { (exit 1); exit 1; }
18281fi
18282
18283
18284# Print summary of options
18285
18286# Someone please show me a better way :)
18287A=`eval echo ${prefix}` ; A=`eval echo ${A}`
18288B=`eval echo ${bindir}` ; B=`eval echo ${B}`
18289C=`eval echo ${sbindir}` ; C=`eval echo ${C}`
18290D=`eval echo ${sysconfdir}` ; D=`eval echo ${D}`
18291E=`eval echo ${libexecdir}/ssh-askpass` ; E=`eval echo ${E}`
18292F=`eval echo ${mandir}/${mansubdir}X` ; F=`eval echo ${F}`
18293G=`eval echo ${piddir}` ; G=`eval echo ${G}`
18294H=`eval echo ${PRIVSEP_PATH}` ; H=`eval echo ${H}`
18295I=`eval echo ${user_path}` ; I=`eval echo ${I}`
18296J=`eval echo ${superuser_path}` ; J=`eval echo ${J}`
18297
18298echo ""
18299echo "OpenSSH has been configured with the following options:"
18300echo " User binaries: $B"
18301echo " System binaries: $C"
18302echo " Configuration files: $D"
18303echo " Askpass program: $E"
18304echo " Manual pages: $F"
18305echo " PID file: $G"
18306echo " Privilege separation chroot path: $H"
18307if test "$USES_LOGIN_CONF" = "yes" ; then
18308echo " At runtime, sshd will use the path defined in /etc/login.conf"
18309else
18310echo " sshd default user PATH: $I"
18311fi
18312if test ! -z "$superuser_path" ; then
18313echo " sshd superuser user PATH: $J"
18314fi
18315echo " Manpage format: $MANTYPE"
18316echo " PAM support: ${PAM_MSG}"
18317echo " KerberosIV support: $KRB4_MSG"
18318echo " KerberosV support: $KRB5_MSG"
18319echo " Smartcard support: $SCARD_MSG"
18320echo " AFS support: $AFS_MSG"
18321echo " S/KEY support: $SKEY_MSG"
18322echo " TCP Wrappers support: $TCPW_MSG"
18323echo " MD5 password support: $MD5_MSG"
18324echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
18325echo " Use IPv4 by default hack: $IPV4_HACK_MSG"
18326echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
18327echo " BSD Auth support: $BSD_AUTH_MSG"
18328echo " Random number source: $RAND_MSG"
18329if test ! -z "$USE_RAND_HELPER" ; then
18330echo " ssh-rand-helper collects from: $RAND_HELPER_MSG"
18331fi
18332
18333echo ""
18334
18335echo " Host: ${host}"
18336echo " Compiler: ${CC}"
18337echo " Compiler flags: ${CFLAGS}"
18338echo "Preprocessor flags: ${CPPFLAGS}"
18339echo " Linker flags: ${LDFLAGS}"
18340echo " Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}"
18341
18342echo ""
18343
18344if test "x$PAM_MSG" = "xyes" ; then
18345 echo "PAM is enabled. You may need to install a PAM control file "
18346 echo "for sshd, otherwise password authentication may fail. "
18347 echo "Example PAM control files can be found in the contrib/ "
18348 echo "subdirectory"
18349 echo ""
18350fi
18351
18352if test ! -z "$RAND_HELPER_CMDHASH" ; then
18353 echo "WARNING: you are using the builtin random number collection "
18354 echo "service. Please read WARNING.RNG and request that your OS "
18355 echo "vendor includes kernel-based random number collection in "
18356 echo "future versions of your OS."
18357 echo ""
18358fi
18359
diff --git a/autom4te-2.53.cache/requests b/autom4te-2.53.cache/requests
deleted file mode 100644
index 17e72cec4..000000000
--- a/autom4te-2.53.cache/requests
+++ /dev/null
@@ -1,96 +0,0 @@
1# This file was created by autom4te-2.53.
2# It contains the lists of macros which have been traced.
3# It can be safely removed.
4
5@request = (
6 bless( [
7 '0',
8 1,
9 [
10 '/usr/share/autoconf'
11 ],
12 [
13 '--reload-state=/usr/share/autoconf/autoconf/autoconf.m4f',
14 'aclocal.m4',
15 'configure.ac'
16 ],
17 {
18 'm4_pattern_forbid' => 1,
19 'AC_TYPE_OFF_T' => 1,
20 'AC_PROG_LIBTOOL' => 1,
21 'AC_FUNC_STAT' => 1,
22 'AC_HEADER_TIME' => 1,
23 'AC_FUNC_WAIT3' => 1,
24 'AC_STRUCT_TM' => 1,
25 'AC_FUNC_LSTAT' => 1,
26 'AC_TYPE_MODE_T' => 1,
27 'AC_FUNC_STRTOD' => 1,
28 'AC_CHECK_HEADERS' => 1,
29 'AC_PROG_CXX' => 1,
30 'AC_PATH_X' => 1,
31 'AC_PROG_AWK' => 1,
32 'AC_HEADER_STDC' => 1,
33 'AC_HEADER_MAJOR' => 1,
34 'AC_FUNC_ERROR_AT_LINE' => 1,
35 'AC_PROG_GCC_TRADITIONAL' => 1,
36 'AC_LIBSOURCE' => 1,
37 'AC_STRUCT_ST_BLOCKS' => 1,
38 'AC_TYPE_SIGNAL' => 1,
39 'AC_TYPE_UID_T' => 1,
40 'AC_PROG_MAKE_SET' => 1,
41 'm4_pattern_allow' => 1,
42 'AC_DEFINE_TRACE_LITERAL' => 1,
43 'AM_PROG_LIBTOOL' => 1,
44 'AC_FUNC_STRERROR_R' => 1,
45 'AC_PROG_CC' => 1,
46 'AC_DECL_SYS_SIGLIST' => 1,
47 'AC_FUNC_FORK' => 1,
48 'AC_FUNC_VPRINTF' => 1,
49 'AC_FUNC_STRCOLL' => 1,
50 'AC_PROG_YACC' => 1,
51 'AC_INIT' => 1,
52 'AC_STRUCT_TIMEZONE' => 1,
53 'AC_FUNC_CHOWN' => 1,
54 'AC_SUBST' => 1,
55 'AC_FUNC_ALLOCA' => 1,
56 'AC_FUNC_GETPGRP' => 1,
57 'AC_PROG_RANLIB' => 1,
58 'AC_FUNC_SETPGRP' => 1,
59 'AC_CONFIG_SUBDIRS' => 1,
60 'AC_FUNC_MMAP' => 1,
61 'AC_TYPE_SIZE_T' => 1,
62 'AC_CHECK_TYPES' => 1,
63 'AC_FUNC_UTIME_NULL' => 1,
64 'AC_FUNC_STRFTIME' => 1,
65 'AC_HEADER_STAT' => 1,
66 'AC_C_INLINE' => 1,
67 'AC_PROG_CPP' => 1,
68 'AC_C_CONST' => 1,
69 'AC_PROG_LEX' => 1,
70 'AC_TYPE_PID_T' => 1,
71 'AC_CONFIG_FILES' => 1,
72 'include' => 1,
73 'AC_FUNC_SETVBUF_REVERSED' => 1,
74 'AC_FUNC_FNMATCH' => 1,
75 'AC_PROG_INSTALL' => 1,
76 'AM_GNU_GETTEXT' => 1,
77 'AC_FUNC_OBSTACK' => 1,
78 'AC_CHECK_LIB' => 1,
79 'AC_FUNC_MALLOC' => 1,
80 'AC_FUNC_GETGROUPS' => 1,
81 'AC_FUNC_GETLOADAVG' => 1,
82 'AH_OUTPUT' => 1,
83 'AC_FUNC_FSEEKO' => 1,
84 'AC_FUNC_MKTIME' => 1,
85 'AM_CONDITIONAL' => 1,
86 'AC_CONFIG_HEADERS' => 1,
87 'AC_HEADER_SYS_WAIT' => 1,
88 'AC_PROG_LN_S' => 1,
89 'AC_FUNC_MEMCMP' => 1,
90 'm4_include' => 1,
91 'AC_HEADER_DIRENT' => 1,
92 'AC_CHECK_FUNCS' => 1
93 }
94 ], 'Request' )
95 );
96
diff --git a/autom4te-2.53.cache/traces.0 b/autom4te-2.53.cache/traces.0
deleted file mode 100644
index c928d0c58..000000000
--- a/autom4te-2.53.cache/traces.0
+++ /dev/null
@@ -1,941 +0,0 @@
1m4trace:configure.ac:3: -1- AC_INIT
2m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
3m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
4m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS'])
5m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
6m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
7m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
8m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
9m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
10m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR])
11m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
12m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
13m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
14m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
15m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
16m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE])
17m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE])
18m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,])
19m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
20m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
21m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
22m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${prefix}/share'])
23m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
24m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
25m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
26m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
27m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include'])
28m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include'])
29m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${prefix}/info'])
30m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${prefix}/man'])
31m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
32m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
33#undef PACKAGE_NAME])
34m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
35m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
36#undef PACKAGE_TARNAME])
37m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
38m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
39#undef PACKAGE_VERSION])
40m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
41m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
42#undef PACKAGE_STRING])
43m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
44m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
45#undef PACKAGE_BUGREPORT])
46m4trace:configure.ac:3: -1- AC_SUBST([build_alias])
47m4trace:configure.ac:3: -1- AC_SUBST([host_alias])
48m4trace:configure.ac:3: -1- AC_SUBST([target_alias])
49m4trace:configure.ac:3: -1- AC_SUBST([DEFS])
50m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C])
51m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N])
52m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T])
53m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
54m4trace:configure.ac:6: -1- AC_CONFIG_HEADERS([config.h])
55m4trace:configure.ac:7: -1- AC_PROG_CC
56m4trace:configure.ac:7: -1- AC_SUBST([CC])
57m4trace:configure.ac:7: -1- AC_SUBST([CFLAGS])
58m4trace:configure.ac:7: -1- AC_SUBST([LDFLAGS])
59m4trace:configure.ac:7: -1- AC_SUBST([CPPFLAGS])
60m4trace:configure.ac:7: -1- AC_SUBST([CC])
61m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC])
62m4trace:configure.ac:7: -1- AC_SUBST([CC])
63m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC])
64m4trace:configure.ac:7: -1- AC_SUBST([CC])
65m4trace:configure.ac:7: -1- AC_SUBST([CC])
66m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC])
67m4trace:configure.ac:7: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
68m4trace:configure.ac:7: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
69m4trace:configure.ac:8: -1- AC_SUBST([build], [$ac_cv_build])
70m4trace:configure.ac:8: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
71m4trace:configure.ac:8: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
72m4trace:configure.ac:8: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
73m4trace:configure.ac:8: -1- AC_SUBST([host], [$ac_cv_host])
74m4trace:configure.ac:8: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
75m4trace:configure.ac:8: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
76m4trace:configure.ac:8: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
77m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
78m4trace:configure.ac:9: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define to 1 if your processor stores words with the most significant byte
79 first (like Motorola and SPARC, unlike Intel and VAX). */
80#undef WORDS_BIGENDIAN])
81m4trace:configure.ac:12: -1- AC_PROG_CPP
82m4trace:configure.ac:12: -1- AC_SUBST([CPP])
83m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS])
84m4trace:configure.ac:12: -1- AC_SUBST([CPP])
85m4trace:configure.ac:13: -1- AC_PROG_RANLIB
86m4trace:configure.ac:13: -1- AC_SUBST([RANLIB])
87m4trace:configure.ac:13: -1- AC_SUBST([ac_ct_RANLIB])
88m4trace:configure.ac:14: -1- AC_PROG_INSTALL
89m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_PROGRAM])
90m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_SCRIPT])
91m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_DATA])
92m4trace:configure.ac:15: -1- AC_SUBST([AR], [$ac_cv_path_AR])
93m4trace:configure.ac:16: -1- AC_SUBST([PERL], [$ac_cv_path_PERL])
94m4trace:configure.ac:17: -1- AC_SUBST([SED], [$ac_cv_path_SED])
95m4trace:configure.ac:18: -1- AC_SUBST([PERL])
96m4trace:configure.ac:19: -1- AC_SUBST([ENT], [$ac_cv_path_ENT])
97m4trace:configure.ac:20: -1- AC_SUBST([ENT])
98m4trace:configure.ac:21: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH])
99m4trace:configure.ac:22: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH])
100m4trace:configure.ac:23: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH])
101m4trace:configure.ac:24: -1- AC_SUBST([SH], [$ac_cv_path_SH])
102m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
103m4trace:configure.ac:27: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
104#undef _FILE_OFFSET_BITS])
105m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
106m4trace:configure.ac:27: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
107#undef _LARGE_FILES])
108m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_PROGRAM_FALLBACK])
109m4trace:configure.ac:38: -1- AC_SUBST([LOGIN_PROGRAM_FALLBACK], [$ac_cv_path_LOGIN_PROGRAM_FALLBACK])
110m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_PROGRAM_FALLBACK])
111m4trace:configure.ac:47: -1- AC_SUBST([LD])
112m4trace:configure.ac:49: -1- AC_C_INLINE
113m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([inline])
114m4trace:configure.ac:49: -1- AH_OUTPUT([inline], [/* Define as \`__inline' if that's what the C compiler calls it, or to nothing
115 if it is not supported. */
116#undef inline])
117m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([inline])
118m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([WITH_AIXAUTHENTICATE])
119m4trace:configure.ac:79: -1- AC_CHECK_LIB([s], [authenticate], [ AC_DEFINE(WITH_AIXAUTHENTICATE)
120 LIBS="$LIBS -ls"
121 ])
122m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([WITH_AIXAUTHENTICATE])
123m4trace:configure.ac:80: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_GETADDRINFO])
124m4trace:configure.ac:81: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALPATH])
125m4trace:configure.ac:83: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG])
126m4trace:configure.ac:84: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
127m4trace:configure.ac:85: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
128m4trace:configure.ac:86: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_PS_PADDING])
129m4trace:configure.ac:91: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CYGWIN])
130m4trace:configure.ac:92: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
131m4trace:configure.ac:93: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
132m4trace:configure.ac:94: -1- AC_DEFINE_TRACE_LITERAL([IPV4_DEFAULT])
133m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN])
134m4trace:configure.ac:96: -1- AC_DEFINE_TRACE_LITERAL([NO_X11_UNIX_SOCKETS])
135m4trace:configure.ac:97: -1- AC_DEFINE_TRACE_LITERAL([NO_IPPORT_RESERVED_CONCEPT])
136m4trace:configure.ac:98: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
137m4trace:configure.ac:99: -1- AC_DEFINE_TRACE_LITERAL([SETGROUPS_NOOP])
138m4trace:configure.ac:102: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN])
139m4trace:configure.ac:114: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_GETADDRINFO])
140m4trace:configure.ac:122: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE])
141m4trace:configure.ac:123: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
142m4trace:configure.ac:124: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT])
143m4trace:configure.ac:125: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
144m4trace:configure.ac:126: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
145m4trace:configure.ac:127: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
146m4trace:configure.ac:128: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
147m4trace:configure.ac:130: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
148echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
149 { (exit 1); exit 1; }; }])
150m4trace:configure.ac:130: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the \`xnet' library (-lxnet). */
151#undef HAVE_LIBXNET])
152m4trace:configure.ac:130: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET])
153m4trace:configure.ac:139: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
154m4trace:configure.ac:140: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT])
155m4trace:configure.ac:141: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
156m4trace:configure.ac:142: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
157m4trace:configure.ac:143: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
158m4trace:configure.ac:144: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
159m4trace:configure.ac:146: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
160echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
161 { (exit 1); exit 1; }; }])
162m4trace:configure.ac:146: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the \`xnet' library (-lxnet). */
163#undef HAVE_LIBXNET])
164m4trace:configure.ac:146: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET])
165m4trace:configure.ac:151: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE])
166m4trace:configure.ac:152: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
167m4trace:configure.ac:153: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT])
168m4trace:configure.ac:154: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
169m4trace:configure.ac:155: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
170m4trace:configure.ac:156: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
171m4trace:configure.ac:157: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
172m4trace:configure.ac:159: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
173echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
174 { (exit 1); exit 1; }; }])
175m4trace:configure.ac:159: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the \`xnet' library (-lxnet). */
176#undef HAVE_LIBXNET])
177m4trace:configure.ac:159: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET])
178m4trace:configure.ac:165: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_INET_NTOA])
179m4trace:configure.ac:166: -1- AC_DEFINE_TRACE_LITERAL([WITH_ABBREV_NO_TTY])
180m4trace:configure.ac:172: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_ARRAY])
181m4trace:configure.ac:173: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_PROJECT])
182m4trace:configure.ac:174: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_AUDIT])
183m4trace:configure.ac:175: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_JOBS])
184m4trace:configure.ac:176: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_INET_NTOA])
185m4trace:configure.ac:177: -1- AC_DEFINE_TRACE_LITERAL([WITH_ABBREV_NO_TTY])
186m4trace:configure.ac:182: -1- AC_DEFINE_TRACE_LITERAL([DONT_TRY_OTHER_AF])
187m4trace:configure.ac:183: -1- AC_DEFINE_TRACE_LITERAL([PAM_TTY_KLUDGE])
188m4trace:configure.ac:184: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
189m4trace:configure.ac:185: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_PS_PADDING])
190m4trace:configure.ac:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEWS4])
191m4trace:configure.ac:204: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEXT])
192m4trace:configure.ac:205: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALPATH])
193m4trace:configure.ac:206: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
194m4trace:configure.ac:207: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SAVED_UIDS])
195m4trace:configure.ac:215: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE])
196m4trace:configure.ac:216: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
197m4trace:configure.ac:217: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_TERM])
198m4trace:configure.ac:218: -1- AC_DEFINE_TRACE_LITERAL([PAM_TTY_KLUDGE])
199m4trace:configure.ac:219: -1- AC_DEFINE_TRACE_LITERAL([STREAMS_PUSH_ACQUIRES_CTTY])
200m4trace:configure.ac:226: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
201m4trace:configure.ac:227: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP])
202m4trace:configure.ac:234: -1- AC_CHECK_FUNCS([getpwanam])
203m4trace:configure.ac:234: -1- AH_OUTPUT([HAVE_GETPWANAM], [/* Define to 1 if you have the \`getpwanam' function. */
204#undef HAVE_GETPWANAM])
205m4trace:configure.ac:235: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE])
206m4trace:configure.ac:239: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
207m4trace:configure.ac:245: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
208m4trace:configure.ac:252: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
209m4trace:configure.ac:253: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN])
210m4trace:configure.ac:261: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
211m4trace:configure.ac:266: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
212m4trace:configure.ac:278: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SYS_TERMIO_H])
213m4trace:configure.ac:279: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
214m4trace:configure.ac:280: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE])
215m4trace:configure.ac:281: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
216m4trace:configure.ac:282: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SAVED_UIDS])
217m4trace:configure.ac:283: -1- AC_CHECK_FUNCS([getluid setluid])
218m4trace:configure.ac:283: -1- AH_OUTPUT([HAVE_GETLUID], [/* Define to 1 if you have the \`getluid' function. */
219#undef HAVE_GETLUID])
220m4trace:configure.ac:283: -1- AH_OUTPUT([HAVE_SETLUID], [/* Define to 1 if you have the \`setluid' function. */
221#undef HAVE_SETLUID])
222m4trace:configure.ac:295: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
223m4trace:configure.ac:296: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE])
224m4trace:configure.ac:297: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
225m4trace:configure.ac:298: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
226m4trace:configure.ac:299: -1- AC_CHECK_FUNCS([getluid setluid])
227m4trace:configure.ac:299: -1- AH_OUTPUT([HAVE_GETLUID], [/* Define to 1 if you have the \`getluid' function. */
228#undef HAVE_GETLUID])
229m4trace:configure.ac:299: -1- AH_OUTPUT([HAVE_SETLUID], [/* Define to 1 if you have the \`setluid' function. */
230#undef HAVE_SETLUID])
231m4trace:configure.ac:303: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
232m4trace:configure.ac:304: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
233m4trace:configure.ac:310: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
234m4trace:configure.ac:311: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
235m4trace:configure.ac:312: -1- AC_DEFINE_TRACE_LITERAL([NO_SSH_LASTLOG])
236m4trace:configure.ac:332: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSF_SIA])
237m4trace:configure.ac:333: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LOGIN])
238m4trace:configure.ac:334: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
239m4trace:configure.ac:340: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
240m4trace:configure.ac:344: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
241m4trace:configure.ac:345: -1- AC_DEFINE_TRACE_LITERAL([NO_X11_UNIX_SOCKETS])
242m4trace:configure.ac:346: -1- AC_DEFINE_TRACE_LITERAL([MISSING_NFDBITS])
243m4trace:configure.ac:347: -1- AC_DEFINE_TRACE_LITERAL([MISSING_HOWMANY])
244m4trace:configure.ac:348: -1- AC_DEFINE_TRACE_LITERAL([MISSING_FD_MASK])
245m4trace:configure.ac:396: -1- AC_CHECK_HEADERS([bstring.h crypt.h endian.h floatingpoint.h \
246 getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \
247 login_cap.h maillock.h netdb.h netgroup.h \
248 netinet/in_systm.h paths.h pty.h readpassphrase.h \
249 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
250 strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \
251 sys/mman.h sys/pstat.h sys/select.h sys/stat.h \
252 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \
253 sys/un.h time.h tmpdir.h ttyent.h usersec.h \
254 util.h utime.h utmp.h utmpx.h])
255m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_BSTRING_H], [/* Define to 1 if you have the <bstring.h> header file. */
256#undef HAVE_BSTRING_H])
257m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */
258#undef HAVE_CRYPT_H])
259m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_ENDIAN_H], [/* Define to 1 if you have the <endian.h> header file. */
260#undef HAVE_ENDIAN_H])
261m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_FLOATINGPOINT_H], [/* Define to 1 if you have the <floatingpoint.h> header file. */
262#undef HAVE_FLOATINGPOINT_H])
263m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */
264#undef HAVE_GETOPT_H])
265m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_GLOB_H], [/* Define to 1 if you have the <glob.h> header file. */
266#undef HAVE_GLOB_H])
267m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_IA_H], [/* Define to 1 if you have the <ia.h> header file. */
268#undef HAVE_IA_H])
269m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LASTLOG_H], [/* Define to 1 if you have the <lastlog.h> header file. */
270#undef HAVE_LASTLOG_H])
271m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */
272#undef HAVE_LIBGEN_H])
273m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
274#undef HAVE_LIMITS_H])
275m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LOGIN_H], [/* Define to 1 if you have the <login.h> header file. */
276#undef HAVE_LOGIN_H])
277m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LOGIN_CAP_H], [/* Define to 1 if you have the <login_cap.h> header file. */
278#undef HAVE_LOGIN_CAP_H])
279m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */
280#undef HAVE_MAILLOCK_H])
281m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
282#undef HAVE_NETDB_H])
283m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_NETGROUP_H], [/* Define to 1 if you have the <netgroup.h> header file. */
284#undef HAVE_NETGROUP_H])
285m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */
286#undef HAVE_NETINET_IN_SYSTM_H])
287m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
288#undef HAVE_PATHS_H])
289m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */
290#undef HAVE_PTY_H])
291m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_READPASSPHRASE_H], [/* Define to 1 if you have the <readpassphrase.h> header file. */
292#undef HAVE_READPASSPHRASE_H])
293m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_RPC_TYPES_H], [/* Define to 1 if you have the <rpc/types.h> header file. */
294#undef HAVE_RPC_TYPES_H])
295m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SECURITY_PAM_APPL_H], [/* Define to 1 if you have the <security/pam_appl.h> header file. */
296#undef HAVE_SECURITY_PAM_APPL_H])
297m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
298#undef HAVE_SHADOW_H])
299m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
300#undef HAVE_STDDEF_H])
301m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
302#undef HAVE_STDINT_H])
303m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
304#undef HAVE_STRINGS_H])
305m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
306#undef HAVE_SYS_BITYPES_H])
307m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_BSDTTY_H], [/* Define to 1 if you have the <sys/bsdtty.h> header file. */
308#undef HAVE_SYS_BSDTTY_H])
309m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_CDEFS_H], [/* Define to 1 if you have the <sys/cdefs.h> header file. */
310#undef HAVE_SYS_CDEFS_H])
311m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
312#undef HAVE_SYS_MMAN_H])
313m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_PSTAT_H], [/* Define to 1 if you have the <sys/pstat.h> header file. */
314#undef HAVE_SYS_PSTAT_H])
315m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
316#undef HAVE_SYS_SELECT_H])
317m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
318#undef HAVE_SYS_STAT_H])
319m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */
320#undef HAVE_SYS_STROPTS_H])
321m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_SYSMACROS_H], [/* Define to 1 if you have the <sys/sysmacros.h> header file. */
322#undef HAVE_SYS_SYSMACROS_H])
323m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
324#undef HAVE_SYS_TIME_H])
325m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_TIMERS_H], [/* Define to 1 if you have the <sys/timers.h> header file. */
326#undef HAVE_SYS_TIMERS_H])
327m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */
328#undef HAVE_SYS_UN_H])
329m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */
330#undef HAVE_TIME_H])
331m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */
332#undef HAVE_TMPDIR_H])
333m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_TTYENT_H], [/* Define to 1 if you have the <ttyent.h> header file. */
334#undef HAVE_TTYENT_H])
335m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */
336#undef HAVE_USERSEC_H])
337m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */
338#undef HAVE_UTIL_H])
339m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the <utime.h> header file. */
340#undef HAVE_UTIME_H])
341m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
342#undef HAVE_UTMP_H])
343m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
344#undef HAVE_UTMPX_H])
345m4trace:configure.ac:396: -1- AC_HEADER_STDC
346m4trace:configure.ac:396: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
347m4trace:configure.ac:396: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
348#undef STDC_HEADERS])
349m4trace:configure.ac:396: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
350 inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
351m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
352#undef HAVE_SYS_TYPES_H])
353m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
354#undef HAVE_SYS_STAT_H])
355m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
356#undef HAVE_STDLIB_H])
357m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
358#undef HAVE_STRING_H])
359m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
360#undef HAVE_MEMORY_H])
361m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
362#undef HAVE_STRINGS_H])
363m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
364#undef HAVE_INTTYPES_H])
365m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
366#undef HAVE_STDINT_H])
367m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
368#undef HAVE_UNISTD_H])
369m4trace:configure.ac:399: -2- AC_CHECK_LIB([nsl], [yp_match])
370m4trace:configure.ac:399: -2- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the \`nsl' library (-lnsl). */
371#undef HAVE_LIBNSL])
372m4trace:configure.ac:399: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL])
373m4trace:configure.ac:400: -2- AC_CHECK_LIB([socket], [setsockopt])
374m4trace:configure.ac:400: -2- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the \`socket' library (-lsocket). */
375#undef HAVE_LIBSOCKET])
376m4trace:configure.ac:400: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
377m4trace:configure.ac:405: -1- AC_CHECK_LIB([rpc], [innetgr], [LIBS="-lrpc -lyp -lrpc $LIBS" ], [], [-lyp -lrpc])
378m4trace:configure.ac:410: -2- AC_CHECK_LIB([gen], [getspnam], [LIBS="$LIBS -lgen"])
379m4trace:configure.ac:452: -1- AC_CHECK_LIB([z], [deflate], [], [{ { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
380echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
381 { (exit 1); exit 1; }; }])
382m4trace:configure.ac:452: -1- AH_OUTPUT([HAVE_LIBZ], [/* Define to 1 if you have the \`z' library (-lz). */
383#undef HAVE_LIBZ])
384m4trace:configure.ac:452: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ])
385m4trace:configure.ac:457: -1- AC_CHECK_LIB([resolv], [strcasecmp], [LIBS="$LIBS -lresolv"])
386m4trace:configure.ac:461: -1- AC_CHECK_LIB([c89], [utimes], [AC_DEFINE(HAVE_UTIMES)
387 LIBS="$LIBS -lc89"])
388m4trace:configure.ac:461: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTIMES])
389m4trace:configure.ac:464: -1- AC_CHECK_HEADERS([libutil.h])
390m4trace:configure.ac:464: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */
391#undef HAVE_LIBUTIL_H])
392m4trace:configure.ac:465: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOGIN])
393m4trace:configure.ac:466: -1- AC_CHECK_FUNCS([logout updwtmp logwtmp])
394m4trace:configure.ac:466: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the \`logout' function. */
395#undef HAVE_LOGOUT])
396m4trace:configure.ac:466: -1- AH_OUTPUT([HAVE_UPDWTMP], [/* Define to 1 if you have the \`updwtmp' function. */
397#undef HAVE_UPDWTMP])
398m4trace:configure.ac:466: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the \`logwtmp' function. */
399#undef HAVE_LOGWTMP])
400m4trace:configure.ac:468: -1- AC_FUNC_STRFTIME
401m4trace:configure.ac:468: -1- AC_CHECK_FUNCS([strftime], [], [# strftime is in -lintl on SCO UNIX.
402AC_CHECK_LIB(intl, strftime,
403 [AC_DEFINE(HAVE_STRFTIME)
404LIBS="-lintl $LIBS"])])
405m4trace:configure.ac:468: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define to 1 if you have the \`strftime' function. */
406#undef HAVE_STRFTIME])
407m4trace:configure.ac:468: -1- AC_CHECK_LIB([intl], [strftime], [AC_DEFINE(HAVE_STRFTIME)
408LIBS="-lintl $LIBS"])
409m4trace:configure.ac:468: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
410m4trace:configure.ac:486: -1- AC_DEFINE_TRACE_LITERAL([GLOB_HAS_ALTDIRFUNC])
411m4trace:configure.ac:502: -1- AC_DEFINE_TRACE_LITERAL([GLOB_HAS_GL_MATCHC])
412m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_ONE_BYTE_DIRENT_D_NAME])
413m4trace:configure.ac:549: -1- AC_DEFINE_TRACE_LITERAL([SKEY])
414m4trace:configure.ac:603: -1- AC_DEFINE_TRACE_LITERAL([LIBWRAP])
415m4trace:configure.ac:603: -1- AC_SUBST([LIBWRAP])
416m4trace:configure.ac:618: -1- AC_CHECK_FUNCS([\
417 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \
418 bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
419 gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
420 getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \
421 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
422 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \
423 readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \
424 setegid setenv seteuid setgroups setlogin setpcred setproctitle \
425 setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \
426 snprintf socketpair strerror strlcat strlcpy strmode strnvis \
427 sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \
428])
429m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_ARC4RANDOM], [/* Define to 1 if you have the \`arc4random' function. */
430#undef HAVE_ARC4RANDOM])
431m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE___B64_NTOP], [/* Define to 1 if you have the \`__b64_ntop' function. */
432#undef HAVE___B64_NTOP])
433m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_B64_NTOP], [/* Define to 1 if you have the \`b64_ntop' function. */
434#undef HAVE_B64_NTOP])
435m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE___B64_PTON], [/* Define to 1 if you have the \`__b64_pton' function. */
436#undef HAVE___B64_PTON])
437m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_B64_PTON], [/* Define to 1 if you have the \`b64_pton' function. */
438#undef HAVE_B64_PTON])
439m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the \`basename' function. */
440#undef HAVE_BASENAME])
441m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_BCOPY], [/* Define to 1 if you have the \`bcopy' function. */
442#undef HAVE_BCOPY])
443m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_BINDRESVPORT_SA], [/* Define to 1 if you have the \`bindresvport_sa' function. */
444#undef HAVE_BINDRESVPORT_SA])
445m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_CLOCK], [/* Define to 1 if you have the \`clock' function. */
446#undef HAVE_CLOCK])
447m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the \`fchmod' function. */
448#undef HAVE_FCHMOD])
449m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define to 1 if you have the \`fchown' function. */
450#undef HAVE_FCHOWN])
451m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the \`freeaddrinfo' function. */
452#undef HAVE_FREEADDRINFO])
453m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_FUTIMES], [/* Define to 1 if you have the \`futimes' function. */
454#undef HAVE_FUTIMES])
455m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the \`gai_strerror' function. */
456#undef HAVE_GAI_STRERROR])
457m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the \`getaddrinfo' function. */
458#undef HAVE_GETADDRINFO])
459m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the \`getcwd' function. */
460#undef HAVE_GETCWD])
461m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETGROUPLIST], [/* Define to 1 if you have the \`getgrouplist' function. */
462#undef HAVE_GETGROUPLIST])
463m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the \`getnameinfo' function. */
464#undef HAVE_GETNAMEINFO])
465m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define to 1 if you have the \`getopt' function. */
466#undef HAVE_GETOPT])
467m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETPEEREID], [/* Define to 1 if you have the \`getpeereid' function. */
468#undef HAVE_GETPEEREID])
469m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the \`_getpty' function. */
470#undef HAVE__GETPTY])
471m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the \`getrlimit' function. */
472#undef HAVE_GETRLIMIT])
473m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETRUSAGE], [/* Define to 1 if you have the \`getrusage' function. */
474#undef HAVE_GETRUSAGE])
475m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETTTYENT], [/* Define to 1 if you have the \`getttyent' function. */
476#undef HAVE_GETTTYENT])
477m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GLOB], [/* Define to 1 if you have the \`glob' function. */
478#undef HAVE_GLOB])
479m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_INET_ATON], [/* Define to 1 if you have the \`inet_aton' function. */
480#undef HAVE_INET_ATON])
481m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_INET_NTOA], [/* Define to 1 if you have the \`inet_ntoa' function. */
482#undef HAVE_INET_NTOA])
483m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the \`inet_ntop' function. */
484#undef HAVE_INET_NTOP])
485m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define to 1 if you have the \`innetgr' function. */
486#undef HAVE_INNETGR])
487m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_LOGIN_GETCAPBOOL], [/* Define to 1 if you have the \`login_getcapbool' function. */
488#undef HAVE_LOGIN_GETCAPBOOL])
489m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_MD5_CRYPT], [/* Define to 1 if you have the \`md5_crypt' function. */
490#undef HAVE_MD5_CRYPT])
491m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the \`memmove' function. */
492#undef HAVE_MEMMOVE])
493m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_MKDTEMP], [/* Define to 1 if you have the \`mkdtemp' function. */
494#undef HAVE_MKDTEMP])
495m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have the \`mmap' function. */
496#undef HAVE_MMAP])
497m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_NGETADDRINFO], [/* Define to 1 if you have the \`ngetaddrinfo' function. */
498#undef HAVE_NGETADDRINFO])
499m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_NSLEEP], [/* Define to 1 if you have the \`nsleep' function. */
500#undef HAVE_NSLEEP])
501m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_OGETADDRINFO], [/* Define to 1 if you have the \`ogetaddrinfo' function. */
502#undef HAVE_OGETADDRINFO])
503m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the \`openpty' function. */
504#undef HAVE_OPENPTY])
505m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_PSTAT], [/* Define to 1 if you have the \`pstat' function. */
506#undef HAVE_PSTAT])
507m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_READPASSPHRASE], [/* Define to 1 if you have the \`readpassphrase' function. */
508#undef HAVE_READPASSPHRASE])
509m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the \`realpath' function. */
510#undef HAVE_REALPATH])
511m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define to 1 if you have the \`recvmsg' function. */
512#undef HAVE_RECVMSG])
513m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_RRESVPORT_AF], [/* Define to 1 if you have the \`rresvport_af' function. */
514#undef HAVE_RRESVPORT_AF])
515m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the \`sendmsg' function. */
516#undef HAVE_SENDMSG])
517m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETDTABLESIZE], [/* Define to 1 if you have the \`setdtablesize' function. */
518#undef HAVE_SETDTABLESIZE])
519m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define to 1 if you have the \`setegid' function. */
520#undef HAVE_SETEGID])
521m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the \`setenv' function. */
522#undef HAVE_SETENV])
523m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define to 1 if you have the \`seteuid' function. */
524#undef HAVE_SETEUID])
525m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETGROUPS], [/* Define to 1 if you have the \`setgroups' function. */
526#undef HAVE_SETGROUPS])
527m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the \`setlogin' function. */
528#undef HAVE_SETLOGIN])
529m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the \`setpcred' function. */
530#undef HAVE_SETPCRED])
531m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the \`setproctitle' function. */
532#undef HAVE_SETPROCTITLE])
533m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the \`setresgid' function. */
534#undef HAVE_SETRESGID])
535m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the \`setreuid' function. */
536#undef HAVE_SETREUID])
537m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the \`setrlimit' function. */
538#undef HAVE_SETRLIMIT])
539m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the \`setsid' function. */
540#undef HAVE_SETSID])
541m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETVBUF], [/* Define to 1 if you have the \`setvbuf' function. */
542#undef HAVE_SETVBUF])
543m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the \`sigaction' function. */
544#undef HAVE_SIGACTION])
545m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SIGVEC], [/* Define to 1 if you have the \`sigvec' function. */
546#undef HAVE_SIGVEC])
547m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the \`snprintf' function. */
548#undef HAVE_SNPRINTF])
549m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SOCKETPAIR], [/* Define to 1 if you have the \`socketpair' function. */
550#undef HAVE_SOCKETPAIR])
551m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the \`strerror' function. */
552#undef HAVE_STRERROR])
553m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define to 1 if you have the \`strlcat' function. */
554#undef HAVE_STRLCAT])
555m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define to 1 if you have the \`strlcpy' function. */
556#undef HAVE_STRLCPY])
557m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRMODE], [/* Define to 1 if you have the \`strmode' function. */
558#undef HAVE_STRMODE])
559m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRNVIS], [/* Define to 1 if you have the \`strnvis' function. */
560#undef HAVE_STRNVIS])
561m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the \`sysconf' function. */
562#undef HAVE_SYSCONF])
563m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_TCGETPGRP], [/* Define to 1 if you have the \`tcgetpgrp' function. */
564#undef HAVE_TCGETPGRP])
565m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_TRUNCATE], [/* Define to 1 if you have the \`truncate' function. */
566#undef HAVE_TRUNCATE])
567m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_UTIMES], [/* Define to 1 if you have the \`utimes' function. */
568#undef HAVE_UTIMES])
569m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the \`vhangup' function. */
570#undef HAVE_VHANGUP])
571m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* Define to 1 if you have the \`vsnprintf' function. */
572#undef HAVE_VSNPRINTF])
573m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_WAITPID], [/* Define to 1 if you have the \`waitpid' function. */
574#undef HAVE_WAITPID])
575m4trace:configure.ac:620: -2- AC_DEFINE_TRACE_LITERAL([HAVE_NANOSLEEP])
576m4trace:configure.ac:623: -1- AC_CHECK_FUNCS([strsep])
577m4trace:configure.ac:623: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define to 1 if you have the \`strsep' function. */
578#undef HAVE_STRSEP])
579m4trace:configure.ac:660: -1- AC_CHECK_FUNCS([dirname], [AC_CHECK_HEADERS(libgen.h) ], [
580 AC_CHECK_LIB(gen, dirname,[
581 AC_CACHE_CHECK([for broken dirname],
582 ac_cv_have_broken_dirname, [
583 save_LIBS="$LIBS"
584 LIBS="$LIBS -lgen"
585 AC_TRY_RUN(
586 [
587#include <libgen.h>
588#include <string.h>
589
590int main(int argc, char **argv) {
591 char *s, buf[32];
592
593 strncpy(buf,"/etc", 32);
594 s = dirname(buf);
595 if (!s || strncmp(s, "/", 32) != 0) {
596 exit(1);
597 } else {
598 exit(0);
599 }
600}
601 ],
602 [ ac_cv_have_broken_dirname="no" ],
603 [ ac_cv_have_broken_dirname="yes" ]
604 )
605 LIBS="$save_LIBS"
606 ])
607 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
608 LIBS="$LIBS -lgen"
609 AC_DEFINE(HAVE_DIRNAME)
610 AC_CHECK_HEADERS(libgen.h)
611 fi
612 ])
613])
614m4trace:configure.ac:660: -1- AH_OUTPUT([HAVE_DIRNAME], [/* Define to 1 if you have the \`dirname' function. */
615#undef HAVE_DIRNAME])
616m4trace:configure.ac:660: -1- AC_CHECK_HEADERS([libgen.h])
617m4trace:configure.ac:660: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */
618#undef HAVE_LIBGEN_H])
619m4trace:configure.ac:660: -1- AC_CHECK_LIB([gen], [dirname], [
620 AC_CACHE_CHECK([for broken dirname],
621 ac_cv_have_broken_dirname, [
622 save_LIBS="$LIBS"
623 LIBS="$LIBS -lgen"
624 AC_TRY_RUN(
625 [
626#include <libgen.h>
627#include <string.h>
628
629int main(int argc, char **argv) {
630 char *s, buf[32];
631
632 strncpy(buf,"/etc", 32);
633 s = dirname(buf);
634 if (!s || strncmp(s, "/", 32) != 0) {
635 exit(1);
636 } else {
637 exit(0);
638 }
639}
640 ],
641 [ ac_cv_have_broken_dirname="no" ],
642 [ ac_cv_have_broken_dirname="yes" ]
643 )
644 LIBS="$save_LIBS"
645 ])
646 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
647 LIBS="$LIBS -lgen"
648 AC_DEFINE(HAVE_DIRNAME)
649 AC_CHECK_HEADERS(libgen.h)
650 fi
651 ])
652m4trace:configure.ac:660: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRNAME])
653m4trace:configure.ac:660: -1- AC_CHECK_HEADERS([libgen.h])
654m4trace:configure.ac:660: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */
655#undef HAVE_LIBGEN_H])
656m4trace:configure.ac:663: -1- AC_CHECK_FUNCS([gettimeofday time])
657m4trace:configure.ac:663: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the \`gettimeofday' function. */
658#undef HAVE_GETTIMEOFDAY])
659m4trace:configure.ac:663: -1- AH_OUTPUT([HAVE_TIME], [/* Define to 1 if you have the \`time' function. */
660#undef HAVE_TIME])
661m4trace:configure.ac:665: -1- AC_CHECK_FUNCS([endutent getutent getutid getutline pututline setutent])
662m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_ENDUTENT], [/* Define to 1 if you have the \`endutent' function. */
663#undef HAVE_ENDUTENT])
664m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_GETUTENT], [/* Define to 1 if you have the \`getutent' function. */
665#undef HAVE_GETUTENT])
666m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_GETUTID], [/* Define to 1 if you have the \`getutid' function. */
667#undef HAVE_GETUTID])
668m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_GETUTLINE], [/* Define to 1 if you have the \`getutline' function. */
669#undef HAVE_GETUTLINE])
670m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_PUTUTLINE], [/* Define to 1 if you have the \`pututline' function. */
671#undef HAVE_PUTUTLINE])
672m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the \`setutent' function. */
673#undef HAVE_SETUTENT])
674m4trace:configure.ac:666: -1- AC_CHECK_FUNCS([utmpname])
675m4trace:configure.ac:666: -1- AH_OUTPUT([HAVE_UTMPNAME], [/* Define to 1 if you have the \`utmpname' function. */
676#undef HAVE_UTMPNAME])
677m4trace:configure.ac:668: -1- AC_CHECK_FUNCS([endutxent getutxent getutxid getutxline pututxline ])
678m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_ENDUTXENT], [/* Define to 1 if you have the \`endutxent' function. */
679#undef HAVE_ENDUTXENT])
680m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_GETUTXENT], [/* Define to 1 if you have the \`getutxent' function. */
681#undef HAVE_GETUTXENT])
682m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_GETUTXID], [/* Define to 1 if you have the \`getutxid' function. */
683#undef HAVE_GETUTXID])
684m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_GETUTXLINE], [/* Define to 1 if you have the \`getutxline' function. */
685#undef HAVE_GETUTXLINE])
686m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_PUTUTXLINE], [/* Define to 1 if you have the \`pututxline' function. */
687#undef HAVE_PUTUTXLINE])
688m4trace:configure.ac:669: -1- AC_CHECK_FUNCS([setutxent utmpxname])
689m4trace:configure.ac:669: -1- AH_OUTPUT([HAVE_SETUTXENT], [/* Define to 1 if you have the \`setutxent' function. */
690#undef HAVE_SETUTXENT])
691m4trace:configure.ac:669: -1- AH_OUTPUT([HAVE_UTMPXNAME], [/* Define to 1 if you have the \`utmpxname' function. */
692#undef HAVE_UTMPXNAME])
693m4trace:configure.ac:674: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON])
694m4trace:configure.ac:674: -1- AC_CHECK_LIB([bsd], [daemon], [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_DAEMON)])
695m4trace:configure.ac:674: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON])
696m4trace:configure.ac:679: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE])
697m4trace:configure.ac:679: -1- AC_CHECK_LIB([ucb], [getpagesize], [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)])
698m4trace:configure.ac:679: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE])
699m4trace:configure.ac:695: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SNPRINTF])
700m4trace:configure.ac:721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICT_MKSTEMP])
701m4trace:configure.ac:721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICT_MKSTEMP])
702m4trace:configure.ac:724: -1- AC_FUNC_GETPGRP
703m4trace:configure.ac:724: -1- AC_DEFINE_TRACE_LITERAL([GETPGRP_VOID])
704m4trace:configure.ac:724: -1- AH_OUTPUT([GETPGRP_VOID], [/* Define to 1 if the \`getpgrp' function requires zero arguments. */
705#undef GETPGRP_VOID])
706m4trace:configure.ac:752: -1- AC_CHECK_LIB([dl], [dlopen], [], [])
707m4trace:configure.ac:752: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the \`dl' library (-ldl). */
708#undef HAVE_LIBDL])
709m4trace:configure.ac:752: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL])
710m4trace:configure.ac:752: -1- AC_CHECK_LIB([pam], [pam_set_item], [], [{ { echo "$as_me:$LINENO: error: *** libpam missing" >&5
711echo "$as_me: error: *** libpam missing" >&2;}
712 { (exit 1); exit 1; }; }])
713m4trace:configure.ac:752: -1- AH_OUTPUT([HAVE_LIBPAM], [/* Define to 1 if you have the \`pam' library (-lpam). */
714#undef HAVE_LIBPAM])
715m4trace:configure.ac:752: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPAM])
716m4trace:configure.ac:752: -1- AC_CHECK_FUNCS([pam_getenvlist])
717m4trace:configure.ac:752: -1- AH_OUTPUT([HAVE_PAM_GETENVLIST], [/* Define to 1 if you have the \`pam_getenvlist' function. */
718#undef HAVE_PAM_GETENVLIST])
719m4trace:configure.ac:752: -1- AC_DEFINE_TRACE_LITERAL([USE_PAM])
720m4trace:configure.ac:752: -1- AC_SUBST([LIBPAM])
721m4trace:configure.ac:770: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_PAM])
722m4trace:configure.ac:776: -1- AC_CHECK_LIB([crypt], [crypt])
723m4trace:configure.ac:776: -1- AH_OUTPUT([HAVE_LIBCRYPT], [/* Define to 1 if you have the \`crypt' library (-lcrypt). */
724#undef HAVE_LIBCRYPT])
725m4trace:configure.ac:776: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCRYPT])
726m4trace:configure.ac:808: -2- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
727m4trace:configure.ac:823: -2- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
728m4trace:configure.ac:910: -1- AC_CHECK_LIB([crypt], [crypt], [LIBS="$LIBS -lcrypt"])
729m4trace:configure.ac:958: -1- AC_DEFINE_TRACE_LITERAL([OPENSSL_PRNG_ONLY])
730m4trace:configure.ac:966: -1- AC_SUBST([INSTALL_SSH_RAND_HELPER])
731m4trace:configure.ac:989: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_PORT])
732m4trace:configure.ac:1039: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_SOCKET])
733m4trace:configure.ac:1039: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_SOCKET])
734m4trace:configure.ac:1051: -1- AC_DEFINE_TRACE_LITERAL([ENTROPY_TIMEOUT_MSEC])
735m4trace:configure.ac:1062: -1- AC_DEFINE_TRACE_LITERAL([SSH_PRIVSEP_USER])
736m4trace:configure.ac:1063: -1- AC_SUBST([SSH_PRIVSEP_USER])
737m4trace:configure.ac:1080: -1- AC_SUBST([PROG_LS], [$ac_cv_path_PROG_LS])
738m4trace:configure.ac:1080: -1- AC_SUBST([PROG_LS])
739m4trace:configure.ac:1081: -1- AC_SUBST([PROG_NETSTAT], [$ac_cv_path_PROG_NETSTAT])
740m4trace:configure.ac:1081: -1- AC_SUBST([PROG_NETSTAT])
741m4trace:configure.ac:1082: -1- AC_SUBST([PROG_ARP], [$ac_cv_path_PROG_ARP])
742m4trace:configure.ac:1082: -1- AC_SUBST([PROG_ARP])
743m4trace:configure.ac:1083: -1- AC_SUBST([PROG_IFCONFIG], [$ac_cv_path_PROG_IFCONFIG])
744m4trace:configure.ac:1083: -1- AC_SUBST([PROG_IFCONFIG])
745m4trace:configure.ac:1084: -1- AC_SUBST([PROG_JSTAT], [$ac_cv_path_PROG_JSTAT])
746m4trace:configure.ac:1084: -1- AC_SUBST([PROG_JSTAT])
747m4trace:configure.ac:1085: -1- AC_SUBST([PROG_PS], [$ac_cv_path_PROG_PS])
748m4trace:configure.ac:1085: -1- AC_SUBST([PROG_PS])
749m4trace:configure.ac:1086: -1- AC_SUBST([PROG_SAR], [$ac_cv_path_PROG_SAR])
750m4trace:configure.ac:1086: -1- AC_SUBST([PROG_SAR])
751m4trace:configure.ac:1087: -1- AC_SUBST([PROG_W], [$ac_cv_path_PROG_W])
752m4trace:configure.ac:1087: -1- AC_SUBST([PROG_W])
753m4trace:configure.ac:1088: -1- AC_SUBST([PROG_WHO], [$ac_cv_path_PROG_WHO])
754m4trace:configure.ac:1088: -1- AC_SUBST([PROG_WHO])
755m4trace:configure.ac:1089: -1- AC_SUBST([PROG_LAST], [$ac_cv_path_PROG_LAST])
756m4trace:configure.ac:1089: -1- AC_SUBST([PROG_LAST])
757m4trace:configure.ac:1090: -1- AC_SUBST([PROG_LASTLOG], [$ac_cv_path_PROG_LASTLOG])
758m4trace:configure.ac:1090: -1- AC_SUBST([PROG_LASTLOG])
759m4trace:configure.ac:1091: -1- AC_SUBST([PROG_DF], [$ac_cv_path_PROG_DF])
760m4trace:configure.ac:1091: -1- AC_SUBST([PROG_DF])
761m4trace:configure.ac:1092: -1- AC_SUBST([PROG_VMSTAT], [$ac_cv_path_PROG_VMSTAT])
762m4trace:configure.ac:1092: -1- AC_SUBST([PROG_VMSTAT])
763m4trace:configure.ac:1093: -1- AC_SUBST([PROG_UPTIME], [$ac_cv_path_PROG_UPTIME])
764m4trace:configure.ac:1093: -1- AC_SUBST([PROG_UPTIME])
765m4trace:configure.ac:1094: -1- AC_SUBST([PROG_IPCS], [$ac_cv_path_PROG_IPCS])
766m4trace:configure.ac:1094: -1- AC_SUBST([PROG_IPCS])
767m4trace:configure.ac:1095: -1- AC_SUBST([PROG_TAIL], [$ac_cv_path_PROG_TAIL])
768m4trace:configure.ac:1095: -1- AC_SUBST([PROG_TAIL])
769m4trace:configure.ac:1112: -1- AC_SUBST([INSTALL_SSH_PRNG_CMDS])
770m4trace:configure.ac:1121: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CHAR])
771m4trace:configure.ac:1121: -1- AH_OUTPUT([SIZEOF_CHAR], [/* The size of a \`char', as computed by sizeof. */
772#undef SIZEOF_CHAR])
773m4trace:configure.ac:1122: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SHORT_INT])
774m4trace:configure.ac:1122: -1- AH_OUTPUT([SIZEOF_SHORT_INT], [/* The size of a \`short int', as computed by sizeof. */
775#undef SIZEOF_SHORT_INT])
776m4trace:configure.ac:1123: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
777m4trace:configure.ac:1123: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of a \`int', as computed by sizeof. */
778#undef SIZEOF_INT])
779m4trace:configure.ac:1124: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_INT])
780m4trace:configure.ac:1124: -1- AH_OUTPUT([SIZEOF_LONG_INT], [/* The size of a \`long int', as computed by sizeof. */
781#undef SIZEOF_LONG_INT])
782m4trace:configure.ac:1125: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG_INT])
783m4trace:configure.ac:1125: -1- AH_OUTPUT([SIZEOF_LONG_LONG_INT], [/* The size of a \`long long int', as computed by sizeof. */
784#undef SIZEOF_LONG_LONG_INT])
785m4trace:configure.ac:1142: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT])
786m4trace:configure.ac:1155: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T])
787m4trace:configure.ac:1171: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T])
788m4trace:configure.ac:1192: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT64_T])
789m4trace:configure.ac:1204: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T])
790m4trace:configure.ac:1218: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T])
791m4trace:configure.ac:1230: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T])
792m4trace:configure.ac:1244: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T])
793m4trace:configure.ac:1259: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINTXX_T])
794m4trace:configure.ac:1273: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINTXX_T])
795m4trace:configure.ac:1295: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T])
796m4trace:configure.ac:1295: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T])
797m4trace:configure.ac:1310: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_CHAR])
798m4trace:configure.ac:1313: -1- AC_DEFINE_TRACE_LITERAL([socklen_t])
799m4trace:configure.ac:1313: -1- AH_OUTPUT([socklen_t], [/* type to use in place of socklen_t if not defined */
800#undef socklen_t])
801m4trace:configure.ac:1315: -1- AC_CHECK_TYPES([sig_atomic_t], [], [], [#include <signal.h>])
802m4trace:configure.ac:1315: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIG_ATOMIC_T])
803m4trace:configure.ac:1315: -1- AH_OUTPUT([HAVE_SIG_ATOMIC_T], [/* Define to 1 if the system has the type \`sig_atomic_t'. */
804#undef HAVE_SIG_ATOMIC_T])
805m4trace:configure.ac:1328: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIZE_T])
806m4trace:configure.ac:1342: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSIZE_T])
807m4trace:configure.ac:1356: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_T])
808m4trace:configure.ac:1381: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
809m4trace:configure.ac:1395: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PID_T])
810m4trace:configure.ac:1409: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MODE_T])
811m4trace:configure.ac:1425: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
812m4trace:configure.ac:1440: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_IN6])
813m4trace:configure.ac:1455: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IN6_ADDR])
814m4trace:configure.ac:1471: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
815m4trace:configure.ac:1483: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMEVAL])
816m4trace:configure.ac:1487: -1- AC_CHECK_TYPES([struct timespec])
817m4trace:configure.ac:1487: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMESPEC])
818m4trace:configure.ac:1487: -1- AH_OUTPUT([HAVE_STRUCT_TIMESPEC], [/* Define to 1 if the system has the type \`struct timespec'. */
819#undef HAVE_STRUCT_TIMESPEC])
820m4trace:configure.ac:1524: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SNPRINTF])
821m4trace:configure.ac:1528: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HOST_IN_UTMP])
822m4trace:configure.ac:1529: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HOST_IN_UTMPX])
823m4trace:configure.ac:1530: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSLEN_IN_UTMPX])
824m4trace:configure.ac:1531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PID_IN_UTMP])
825m4trace:configure.ac:1532: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TYPE_IN_UTMP])
826m4trace:configure.ac:1533: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TYPE_IN_UTMPX])
827m4trace:configure.ac:1534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TV_IN_UTMP])
828m4trace:configure.ac:1535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ID_IN_UTMP])
829m4trace:configure.ac:1536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ID_IN_UTMPX])
830m4trace:configure.ac:1537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_IN_UTMP])
831m4trace:configure.ac:1538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_IN_UTMPX])
832m4trace:configure.ac:1539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_V6_IN_UTMP])
833m4trace:configure.ac:1540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_V6_IN_UTMPX])
834m4trace:configure.ac:1541: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EXIT_IN_UTMP])
835m4trace:configure.ac:1542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_IN_UTMP])
836m4trace:configure.ac:1543: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_IN_UTMPX])
837m4trace:configure.ac:1544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TV_IN_UTMPX])
838m4trace:configure.ac:1546: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_BLKSIZE])
839m4trace:configure.ac:1546: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_BLKSIZE], [/* Define to 1 if \`st_blksize' is member of \`struct stat'. */
840#undef HAVE_STRUCT_STAT_ST_BLKSIZE])
841m4trace:configure.ac:1561: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SS_FAMILY_IN_SS])
842m4trace:configure.ac:1577: -1- AC_DEFINE_TRACE_LITERAL([HAVE___SS_FAMILY_IN_SS])
843m4trace:configure.ac:1592: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_CLASS_IN_PASSWD])
844m4trace:configure.ac:1607: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_EXPIRE_IN_PASSWD])
845m4trace:configure.ac:1622: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_CHANGE_IN_PASSWD])
846m4trace:configure.ac:1647: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACCRIGHTS_IN_MSGHDR])
847m4trace:configure.ac:1671: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CONTROL_IN_MSGHDR])
848m4trace:configure.ac:1682: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME])
849m4trace:configure.ac:1695: -1- AC_DEFINE_TRACE_LITERAL([HAVE___FUNCTION__])
850m4trace:configure.ac:1708: -1- AC_DEFINE_TRACE_LITERAL([HAVE___func__])
851m4trace:configure.ac:1723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_OPTRESET])
852m4trace:configure.ac:1734: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_ERRLIST])
853m4trace:configure.ac:1746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_NERR])
854m4trace:configure.ac:1779: -1- AC_CHECK_HEADERS([sectok.h])
855m4trace:configure.ac:1779: -1- AH_OUTPUT([HAVE_SECTOK_H], [/* Define to 1 if you have the <sectok.h> header file. */
856#undef HAVE_SECTOK_H])
857m4trace:configure.ac:1779: -1- AC_CHECK_LIB([sectok], [sectok_open])
858m4trace:configure.ac:1779: -1- AH_OUTPUT([HAVE_LIBSECTOK], [/* Define to 1 if you have the \`sectok' library (-lsectok). */
859#undef HAVE_LIBSECTOK])
860m4trace:configure.ac:1779: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSECTOK])
861m4trace:configure.ac:1779: -1- AC_DEFINE_TRACE_LITERAL([SMARTCARD])
862m4trace:configure.ac:1779: -1- AC_DEFINE_TRACE_LITERAL([USE_SECTOK])
863m4trace:configure.ac:1788: -1- AC_SUBST([OPENSC_CONFIG], [$ac_cv_path_OPENSC_CONFIG])
864m4trace:configure.ac:1794: -1- AC_DEFINE_TRACE_LITERAL([SMARTCARD])
865m4trace:configure.ac:1795: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSC])
866m4trace:configure.ac:1837: -1- AC_DEFINE_TRACE_LITERAL([KRB5])
867m4trace:configure.ac:1837: -1- AC_DEFINE_TRACE_LITERAL([HEIMDAL])
868m4trace:configure.ac:1837: -1- AC_CHECK_LIB([resolv], [dn_expand], [], [])
869m4trace:configure.ac:1837: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the \`resolv' library (-lresolv). */
870#undef HAVE_LIBRESOLV])
871m4trace:configure.ac:1837: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
872m4trace:configure.ac:1891: -1- AC_CHECK_HEADERS([krb.h])
873m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_KRB_H], [/* Define to 1 if you have the <krb.h> header file. */
874#undef HAVE_KRB_H])
875m4trace:configure.ac:1891: -1- AC_CHECK_LIB([krb], [main])
876m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBKRB], [/* Define to 1 if you have the \`krb' library (-lkrb). */
877#undef HAVE_LIBKRB])
878m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKRB])
879m4trace:configure.ac:1891: -1- AC_CHECK_LIB([krb4], [main])
880m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBKRB4], [/* Define to 1 if you have the \`krb4' library (-lkrb4). */
881#undef HAVE_LIBKRB4])
882m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKRB4])
883m4trace:configure.ac:1891: -1- AC_CHECK_LIB([des], [des_cbc_encrypt])
884m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBDES], [/* Define to 1 if you have the \`des' library (-ldes). */
885#undef HAVE_LIBDES])
886m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDES])
887m4trace:configure.ac:1891: -1- AC_CHECK_LIB([des425], [des_cbc_encrypt])
888m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBDES425], [/* Define to 1 if you have the \`des425' library (-ldes425). */
889#undef HAVE_LIBDES425])
890m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDES425])
891m4trace:configure.ac:1891: -1- AC_CHECK_LIB([resolv], [dn_expand], [], [])
892m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the \`resolv' library (-lresolv). */
893#undef HAVE_LIBRESOLV])
894m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
895m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([KRB4])
896m4trace:configure.ac:1917: -1- AC_DEFINE_TRACE_LITERAL([AFS])
897m4trace:configure.ac:1931: -1- AC_SUBST([PRIVSEP_PATH])
898m4trace:configure.ac:1951: -1- AC_SUBST([xauth_path], [$ac_cv_path_xauth_path])
899m4trace:configure.ac:1962: -1- AC_SUBST([STRIP_OPT])
900m4trace:configure.ac:1966: -1- AC_SUBST([XAUTH_PATH])
901m4trace:configure.ac:1968: -1- AC_DEFINE_TRACE_LITERAL([XAUTH_PATH])
902m4trace:configure.ac:1970: -1- AC_SUBST([XAUTH_PATH])
903m4trace:configure.ac:1976: -1- AC_DEFINE_TRACE_LITERAL([MAIL_DIRECTORY])
904m4trace:configure.ac:1986: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEV_PTMX])
905m4trace:configure.ac:1994: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEV_PTS_AND_PTC])
906m4trace:configure.ac:2012: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF])
907m4trace:configure.ac:2021: -1- AC_SUBST([MANTYPE])
908m4trace:configure.ac:2027: -1- AC_SUBST([mansubdir])
909m4trace:configure.ac:2039: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MD5_PASSWORDS])
910m4trace:configure.ac:2050: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
911m4trace:configure.ac:2065: -1- AC_DEFINE_TRACE_LITERAL([HAS_SHADOW_EXPIRE])
912m4trace:configure.ac:2074: -1- AC_DEFINE_TRACE_LITERAL([IPADDR_IN_DISPLAY])
913m4trace:configure.ac:2085: -1- AC_DEFINE_TRACE_LITERAL([IPADDR_IN_DISPLAY])
914m4trace:configure.ac:2166: -1- AC_DEFINE_TRACE_LITERAL([USER_PATH])
915m4trace:configure.ac:2167: -1- AC_SUBST([user_path])
916m4trace:configure.ac:2179: -1- AC_DEFINE_TRACE_LITERAL([SUPERUSER_PATH])
917m4trace:configure.ac:2192: -1- AC_DEFINE_TRACE_LITERAL([IPV4_DEFAULT])
918m4trace:configure.ac:2215: -1- AC_DEFINE_TRACE_LITERAL([IPV4_IN_IPV6])
919m4trace:configure.ac:2215: -1- AC_DEFINE_TRACE_LITERAL([IPV4_IN_IPV6])
920m4trace:configure.ac:2227: -1- AC_DEFINE_TRACE_LITERAL([BSD_AUTH])
921m4trace:configure.ac:2251: -1- AC_DEFINE_TRACE_LITERAL([_PATH_SSH_PIDDIR])
922m4trace:configure.ac:2252: -1- AC_SUBST([piddir])
923m4trace:configure.ac:2258: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG])
924m4trace:configure.ac:2262: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
925m4trace:configure.ac:2266: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMPX])
926m4trace:configure.ac:2270: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP])
927m4trace:configure.ac:2274: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMPX])
928m4trace:configure.ac:2278: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LOGIN])
929m4trace:configure.ac:2282: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_PUTUTLINE])
930m4trace:configure.ac:2286: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_PUTUTXLINE])
931m4trace:configure.ac:2296: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG])
932m4trace:configure.ac:2358: -1- AC_DEFINE_TRACE_LITERAL([CONF_LASTLOG_FILE])
933m4trace:configure.ac:2383: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
934m4trace:configure.ac:2388: -1- AC_DEFINE_TRACE_LITERAL([CONF_UTMP_FILE])
935m4trace:configure.ac:2413: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP])
936m4trace:configure.ac:2418: -1- AC_DEFINE_TRACE_LITERAL([CONF_WTMP_FILE])
937m4trace:configure.ac:2443: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMPX])
938m4trace:configure.ac:2446: -1- AC_DEFINE_TRACE_LITERAL([CONF_UTMPX_FILE])
939m4trace:configure.ac:2468: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMPX])
940m4trace:configure.ac:2471: -1- AC_DEFINE_TRACE_LITERAL([CONF_WTMPX_FILE])
941m4trace:configure.ac:2489: -1- AC_CONFIG_FILES([Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds])
diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0
deleted file mode 100644
index f99b3ba11..000000000
--- a/autom4te.cache/output.0
+++ /dev/null
@@ -1,19182 +0,0 @@
1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.57.
4@%:@
5@%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6@%:@ Free Software Foundation, Inc.
7@%:@ This configure script is free software; the Free Software Foundation
8@%:@ gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization. ##
11## --------------------- ##
12
13# Be Bourne compatible
14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22fi
23
24# Support unset when possible.
25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152done
153;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196else
197 as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213else
214 as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220else
221 as_mkdir_p=false
222fi
223
224as_executable_p="test -f"
225
226# Sed expression to map a string onto a valid CPP name.
227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
229# Sed expression to map a string onto a valid variable name.
230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
232
233# IFS
234# We need space, tab and new line, in precisely that order.
235as_nl='
236'
237IFS=" $as_nl"
238
239# CDPATH.
240$as_unset CDPATH
241
242
243# Name of the host.
244# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245# so uname gets run too.
246ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248exec 6>&1
249
250#
251# Initializations.
252#
253ac_default_prefix=/usr/local
254ac_config_libobj_dir=.
255cross_compiling=no
256subdirs=
257MFLAGS=
258MAKEFLAGS=
259SHELL=${CONFIG_SHELL-/bin/sh}
260
261# Maximum number of lines to put in a shell here document.
262# This variable seems obsolete. It should probably be removed, and
263# only ac_max_sed_lines should be used.
264: ${ac_max_here_lines=38}
265
266# Identity of this package.
267PACKAGE_NAME=
268PACKAGE_TARNAME=
269PACKAGE_VERSION=
270PACKAGE_STRING=
271PACKAGE_BUGREPORT=
272
273ac_unique_file="ssh.c"
274# Factoring default headers for most tests.
275ac_includes_default="\
276#include <stdio.h>
277#if HAVE_SYS_TYPES_H
278# include <sys/types.h>
279#endif
280#if HAVE_SYS_STAT_H
281# include <sys/stat.h>
282#endif
283#if STDC_HEADERS
284# include <stdlib.h>
285# include <stddef.h>
286#else
287# if HAVE_STDLIB_H
288# include <stdlib.h>
289# endif
290#endif
291#if HAVE_STRING_H
292# if !STDC_HEADERS && HAVE_MEMORY_H
293# include <memory.h>
294# endif
295# include <string.h>
296#endif
297#if HAVE_STRINGS_H
298# include <strings.h>
299#endif
300#if HAVE_INTTYPES_H
301# include <inttypes.h>
302#else
303# if HAVE_STDINT_H
304# include <stdint.h>
305# endif
306#endif
307#if HAVE_UNISTD_H
308# include <unistd.h>
309#endif"
310
311ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PERL SED ENT TEST_MINUS_S_SH SH LOGIN_PROGRAM_FALLBACK LD EGREP LIBWRAP LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIB@&t@OBJS LTLIBOBJS'
312ac_subst_files=''
313
314# Initialize some variables set by options.
315ac_init_help=
316ac_init_version=false
317# The variables have the same names as the options, with
318# dashes changed to underlines.
319cache_file=/dev/null
320exec_prefix=NONE
321no_create=
322no_recursion=
323prefix=NONE
324program_prefix=NONE
325program_suffix=NONE
326program_transform_name=s,x,x,
327silent=
328site=
329srcdir=
330verbose=
331x_includes=NONE
332x_libraries=NONE
333
334# Installation directory options.
335# These are left unexpanded so users can "make install exec_prefix=/foo"
336# and all the variables that are supposed to be based on exec_prefix
337# by default will actually change.
338# Use braces instead of parens because sh, perl, etc. also accept them.
339bindir='${exec_prefix}/bin'
340sbindir='${exec_prefix}/sbin'
341libexecdir='${exec_prefix}/libexec'
342datadir='${prefix}/share'
343sysconfdir='${prefix}/etc'
344sharedstatedir='${prefix}/com'
345localstatedir='${prefix}/var'
346libdir='${exec_prefix}/lib'
347includedir='${prefix}/include'
348oldincludedir='/usr/include'
349infodir='${prefix}/info'
350mandir='${prefix}/man'
351
352ac_prev=
353for ac_option
354do
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
360 fi
361
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364 # Accept the important Cygnus configure options, so we can diagnose typos.
365
366 case $ac_option in
367
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
372
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
377
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
384
385 --config-cache | -C)
386 cache_file=config.cache ;;
387
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
393
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
402
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
415
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
424
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
428
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
435
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
440
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
447
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
452
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
457
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
464
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
473
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
478
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
482
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
486
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
490
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
499
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
504
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
511
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
518
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
535
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
539
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
545
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
556
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
561
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
566
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
573
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
578
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
581
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
584
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
597
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
606
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
610
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
617
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
624
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
628 ;;
629
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
639
640 *)
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646 ;;
647
648 esac
649done
650
651if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
655fi
656
657# Be sure to have absolute paths.
658for ac_var in exec_prefix prefix
659do
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666done
667
668# Be sure to have absolute paths.
669for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
671do
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678done
679
680# There might be people who depend on the old broken behavior: `$host'
681# used to hold the argument of --host etc.
682# FIXME: To remove some day.
683build=$build_alias
684host=$host_alias
685target=$target_alias
686
687# FIXME: To remove some day.
688if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
695 fi
696fi
697
698ac_tool_prefix=
699test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701test "$silent" = yes && exec 6>/dev/null
702
703
704# Find the source files, if location was not specified.
705if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
723 fi
724else
725 ac_srcdir_defaulted=no
726fi
727if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
734 fi
735fi
736(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740ac_env_build_alias_set=${build_alias+set}
741ac_env_build_alias_value=$build_alias
742ac_cv_env_build_alias_set=${build_alias+set}
743ac_cv_env_build_alias_value=$build_alias
744ac_env_host_alias_set=${host_alias+set}
745ac_env_host_alias_value=$host_alias
746ac_cv_env_host_alias_set=${host_alias+set}
747ac_cv_env_host_alias_value=$host_alias
748ac_env_target_alias_set=${target_alias+set}
749ac_env_target_alias_value=$target_alias
750ac_cv_env_target_alias_set=${target_alias+set}
751ac_cv_env_target_alias_value=$target_alias
752ac_env_CC_set=${CC+set}
753ac_env_CC_value=$CC
754ac_cv_env_CC_set=${CC+set}
755ac_cv_env_CC_value=$CC
756ac_env_CFLAGS_set=${CFLAGS+set}
757ac_env_CFLAGS_value=$CFLAGS
758ac_cv_env_CFLAGS_set=${CFLAGS+set}
759ac_cv_env_CFLAGS_value=$CFLAGS
760ac_env_LDFLAGS_set=${LDFLAGS+set}
761ac_env_LDFLAGS_value=$LDFLAGS
762ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763ac_cv_env_LDFLAGS_value=$LDFLAGS
764ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765ac_env_CPPFLAGS_value=$CPPFLAGS
766ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768ac_env_CPP_set=${CPP+set}
769ac_env_CPP_value=$CPP
770ac_cv_env_CPP_set=${CPP+set}
771ac_cv_env_CPP_value=$CPP
772
773#
774# Report the --help message.
775#
776if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780\`configure' configures this package to adapt to many kinds of systems.
781
782Usage: $0 [OPTION]... [VAR=VALUE]...
783
784To assign environment variables (e.g., CC, CFLAGS...), specify them as
785VAR=VALUE. See below for descriptions of some of the useful variables.
786
787Defaults for the options are specified in brackets.
788
789Configuration:
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
799
800_ACEOF
801
802 cat <<_ACEOF
803Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
808
809By default, \`make install' will install all the files in
810\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812for instance \`--prefix=\$HOME'.
813
814For better control, use the options below.
815
816Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829_ACEOF
830
831 cat <<\_ACEOF
832
833System types:
834 --build=BUILD configure for building on BUILD [guessed]
835 --host=HOST cross-compile to build programs to run on HOST [BUILD]
836_ACEOF
837fi
838
839if test -n "$ac_init_help"; then
840
841 cat <<\_ACEOF
842
843Optional Features:
844 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
845 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
846 --disable-largefile omit support for large files
847 --disable-strip Disable calling strip(1) on install
848 --disable-lastlog disable use of lastlog even if detected no
849 --disable-utmp disable use of utmp even if detected no
850 --disable-utmpx disable use of utmpx even if detected no
851 --disable-wtmp disable use of wtmp even if detected no
852 --disable-wtmpx disable use of wtmpx even if detected no
853 --disable-libutil disable use of libutil (login() etc.) no
854 --disable-pututline disable use of pututline() etc. (uwtmp) no
855 --disable-pututxline disable use of pututxline() etc. (uwtmpx) no
856
857Optional Packages:
858 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
859 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
860 --with-osfsia Enable Digital Unix SIA
861 --with-cflags Specify additional flags to pass to compiler
862 --with-cppflags Specify additional flags to pass to preprocessor
863 --with-ldflags Specify additional flags to pass to linker
864 --with-libs Specify additional libraries to link with
865 --without-rpath Disable auto-added -R linker paths
866 --with-zlib=PATH Use zlib in PATH
867 --with-skey[=PATH] Enable S/Key support
868 (optionally in PATH)
869 --with-tcp-wrappers[=PATH] Enable tcpwrappers support
870 (optionally in PATH)
871 --with-pam Enable PAM support
872 --with-ssl-dir=PATH Specify path to OpenSSL installation
873 --with-rand-helper Use subprocess to gather strong randomness
874 --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT
875 --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool)
876 --with-entropy-timeout Specify entropy gathering command timeout (msec)
877 --with-privsep-user=user Specify non-privileged user for privilege separation
878 --with-sectok Enable smartcard support using libsectok
879 --with-opensc=PFX Enable smartcard support using OpenSC
880 --with-kerberos5=PATH Enable Kerberos 5 support
881 --with-kerberos4=PATH Enable Kerberos 4 support
882 --with-afs=PATH Enable AFS support
883 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)
884 --with-xauth=PATH Specify path to xauth program
885 --with-mantype=man|cat|doc Set man page type
886 --with-md5-passwords Enable use of MD5 passwords
887 --without-shadow Disable shadow password support
888 --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY
889 --with-default-path= Specify default \$PATH environment for server
890 --with-superuser-path= Specify different path for super-user
891 --with-ipv4-default Use IPv4 by connections unless '-6' specified
892 --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses
893 --with-bsd-auth Enable BSD auth support
894 --with-pid-dir=PATH Specify location of ssh.pid file
895 --with-lastlog=FILE|DIR specify lastlog location common locations
896
897Some influential environment variables:
898 CC C compiler command
899 CFLAGS C compiler flags
900 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
901 nonstandard directory <lib dir>
902 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
903 headers in a nonstandard directory <include dir>
904 CPP C preprocessor
905
906Use these variables to override the choices made by `configure' or to help
907it to find libraries and programs with nonstandard names/locations.
908
909_ACEOF
910fi
911
912if test "$ac_init_help" = "recursive"; then
913 # If there are subdirs, report their specific --help.
914 ac_popdir=`pwd`
915 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
916 test -d $ac_dir || continue
917 ac_builddir=.
918
919if test "$ac_dir" != .; then
920 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
921 # A "../" for each directory in $ac_dir_suffix.
922 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
923else
924 ac_dir_suffix= ac_top_builddir=
925fi
926
927case $srcdir in
928 .) # No --srcdir option. We are building in place.
929 ac_srcdir=.
930 if test -z "$ac_top_builddir"; then
931 ac_top_srcdir=.
932 else
933 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
934 fi ;;
935 [\\/]* | ?:[\\/]* ) # Absolute path.
936 ac_srcdir=$srcdir$ac_dir_suffix;
937 ac_top_srcdir=$srcdir ;;
938 *) # Relative path.
939 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
940 ac_top_srcdir=$ac_top_builddir$srcdir ;;
941esac
942# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
943# absolute.
944ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
945ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
946ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
947ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
948
949 cd $ac_dir
950 # Check for guested configure; otherwise get Cygnus style configure.
951 if test -f $ac_srcdir/configure.gnu; then
952 echo
953 $SHELL $ac_srcdir/configure.gnu --help=recursive
954 elif test -f $ac_srcdir/configure; then
955 echo
956 $SHELL $ac_srcdir/configure --help=recursive
957 elif test -f $ac_srcdir/configure.ac ||
958 test -f $ac_srcdir/configure.in; then
959 echo
960 $ac_configure --help
961 else
962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
963 fi
964 cd $ac_popdir
965 done
966fi
967
968test -n "$ac_init_help" && exit 0
969if $ac_init_version; then
970 cat <<\_ACEOF
971
972Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
973Free Software Foundation, Inc.
974This configure script is free software; the Free Software Foundation
975gives unlimited permission to copy, distribute and modify it.
976_ACEOF
977 exit 0
978fi
979exec 5>config.log
980cat >&5 <<_ACEOF
981This file contains any messages produced by compilers while
982running configure, to aid debugging if configure makes a mistake.
983
984It was created by $as_me, which was
985generated by GNU Autoconf 2.57. Invocation command line was
986
987 $ $0 $@
988
989_ACEOF
990{
991cat <<_ASUNAME
992@%:@@%:@ --------- @%:@@%:@
993@%:@@%:@ Platform. @%:@@%:@
994@%:@@%:@ --------- @%:@@%:@
995
996hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
997uname -m = `(uname -m) 2>/dev/null || echo unknown`
998uname -r = `(uname -r) 2>/dev/null || echo unknown`
999uname -s = `(uname -s) 2>/dev/null || echo unknown`
1000uname -v = `(uname -v) 2>/dev/null || echo unknown`
1001
1002/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1003/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1004
1005/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1006/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1007/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1008hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1009/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1010/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1011/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1012
1013_ASUNAME
1014
1015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016for as_dir in $PATH
1017do
1018 IFS=$as_save_IFS
1019 test -z "$as_dir" && as_dir=.
1020 echo "PATH: $as_dir"
1021done
1022
1023} >&5
1024
1025cat >&5 <<_ACEOF
1026
1027
1028@%:@@%:@ ----------- @%:@@%:@
1029@%:@@%:@ Core tests. @%:@@%:@
1030@%:@@%:@ ----------- @%:@@%:@
1031
1032_ACEOF
1033
1034
1035# Keep a trace of the command line.
1036# Strip out --no-create and --no-recursion so they do not pile up.
1037# Strip out --silent because we don't want to record it for future runs.
1038# Also quote any args containing shell meta-characters.
1039# Make two passes to allow for proper duplicate-argument suppression.
1040ac_configure_args=
1041ac_configure_args0=
1042ac_configure_args1=
1043ac_sep=
1044ac_must_keep_next=false
1045for ac_pass in 1 2
1046do
1047 for ac_arg
1048 do
1049 case $ac_arg in
1050 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 | -silent | --silent | --silen | --sile | --sil)
1053 continue ;;
1054 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1055 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1056 esac
1057 case $ac_pass in
1058 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1059 2)
1060 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1061 if test $ac_must_keep_next = true; then
1062 ac_must_keep_next=false # Got value, back to normal.
1063 else
1064 case $ac_arg in
1065 *=* | --config-cache | -C | -disable-* | --disable-* \
1066 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1067 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1068 | -with-* | --with-* | -without-* | --without-* | --x)
1069 case "$ac_configure_args0 " in
1070 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 esac
1072 ;;
1073 -* ) ac_must_keep_next=true ;;
1074 esac
1075 fi
1076 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077 # Get rid of the leading space.
1078 ac_sep=" "
1079 ;;
1080 esac
1081 done
1082done
1083$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1084$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1085
1086# When interrupted or exit'd, cleanup temporary files, and complete
1087# config.log. We remove comments because anyway the quotes in there
1088# would cause problems or look ugly.
1089# WARNING: Be sure not to use single quotes in there, as some shells,
1090# such as our DU 5.0 friend, will then `close' the trap.
1091trap 'exit_status=$?
1092 # Save into config.log some information that might help in debugging.
1093 {
1094 echo
1095
1096 cat <<\_ASBOX
1097@%:@@%:@ ---------------- @%:@@%:@
1098@%:@@%:@ Cache variables. @%:@@%:@
1099@%:@@%:@ ---------------- @%:@@%:@
1100_ASBOX
1101 echo
1102 # The following way of writing the cache mishandles newlines in values,
1103{
1104 (set) 2>&1 |
1105 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106 *ac_space=\ *)
1107 sed -n \
1108 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 ;;
1111 *)
1112 sed -n \
1113 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1114 ;;
1115 esac;
1116}
1117 echo
1118
1119 cat <<\_ASBOX
1120@%:@@%:@ ----------------- @%:@@%:@
1121@%:@@%:@ Output variables. @%:@@%:@
1122@%:@@%:@ ----------------- @%:@@%:@
1123_ASBOX
1124 echo
1125 for ac_var in $ac_subst_vars
1126 do
1127 eval ac_val=$`echo $ac_var`
1128 echo "$ac_var='"'"'$ac_val'"'"'"
1129 done | sort
1130 echo
1131
1132 if test -n "$ac_subst_files"; then
1133 cat <<\_ASBOX
1134@%:@@%:@ ------------- @%:@@%:@
1135@%:@@%:@ Output files. @%:@@%:@
1136@%:@@%:@ ------------- @%:@@%:@
1137_ASBOX
1138 echo
1139 for ac_var in $ac_subst_files
1140 do
1141 eval ac_val=$`echo $ac_var`
1142 echo "$ac_var='"'"'$ac_val'"'"'"
1143 done | sort
1144 echo
1145 fi
1146
1147 if test -s confdefs.h; then
1148 cat <<\_ASBOX
1149@%:@@%:@ ----------- @%:@@%:@
1150@%:@@%:@ confdefs.h. @%:@@%:@
1151@%:@@%:@ ----------- @%:@@%:@
1152_ASBOX
1153 echo
1154 sed "/^$/d" confdefs.h | sort
1155 echo
1156 fi
1157 test "$ac_signal" != 0 &&
1158 echo "$as_me: caught signal $ac_signal"
1159 echo "$as_me: exit $exit_status"
1160 } >&5
1161 rm -f core core.* *.core &&
1162 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1163 exit $exit_status
1164 ' 0
1165for ac_signal in 1 2 13 15; do
1166 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167done
1168ac_signal=0
1169
1170# confdefs.h avoids OS command line length limits that DEFS can exceed.
1171rm -rf conftest* confdefs.h
1172# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173echo >confdefs.h
1174
1175# Predefined preprocessor variables.
1176
1177cat >>confdefs.h <<_ACEOF
1178@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1179_ACEOF
1180
1181
1182cat >>confdefs.h <<_ACEOF
1183@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184_ACEOF
1185
1186
1187cat >>confdefs.h <<_ACEOF
1188@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1189_ACEOF
1190
1191
1192cat >>confdefs.h <<_ACEOF
1193@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1194_ACEOF
1195
1196
1197cat >>confdefs.h <<_ACEOF
1198@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199_ACEOF
1200
1201
1202# Let the site file select an alternate cache file if it wants to.
1203# Prefer explicitly selected file to automatically selected ones.
1204if test -z "$CONFIG_SITE"; then
1205 if test "x$prefix" != xNONE; then
1206 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1207 else
1208 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209 fi
1210fi
1211for ac_site_file in $CONFIG_SITE; do
1212 if test -r "$ac_site_file"; then
1213 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1214echo "$as_me: loading site script $ac_site_file" >&6;}
1215 sed 's/^/| /' "$ac_site_file" >&5
1216 . "$ac_site_file"
1217 fi
1218done
1219
1220if test -r "$cache_file"; then
1221 # Some versions of bash will fail to source /dev/null (special
1222 # files actually), so we avoid doing that.
1223 if test -f "$cache_file"; then
1224 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1225echo "$as_me: loading cache $cache_file" >&6;}
1226 case $cache_file in
1227 [\\/]* | ?:[\\/]* ) . $cache_file;;
1228 *) . ./$cache_file;;
1229 esac
1230 fi
1231else
1232 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1233echo "$as_me: creating cache $cache_file" >&6;}
1234 >$cache_file
1235fi
1236
1237# Check that the precious variables saved in the cache have kept the same
1238# value.
1239ac_cache_corrupted=false
1240for ac_var in `(set) 2>&1 |
1241 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1242 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1243 eval ac_new_set=\$ac_env_${ac_var}_set
1244 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1245 eval ac_new_val="\$ac_env_${ac_var}_value"
1246 case $ac_old_set,$ac_new_set in
1247 set,)
1248 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1251 ,set)
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1253echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1254 ac_cache_corrupted=: ;;
1255 ,);;
1256 *)
1257 if test "x$ac_old_val" != "x$ac_new_val"; then
1258 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1259echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1260 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1261echo "$as_me: former value: $ac_old_val" >&2;}
1262 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1263echo "$as_me: current value: $ac_new_val" >&2;}
1264 ac_cache_corrupted=:
1265 fi;;
1266 esac
1267 # Pass precious variables to config.status.
1268 if test "$ac_new_set" = set; then
1269 case $ac_new_val in
1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 *) ac_arg=$ac_var=$ac_new_val ;;
1273 esac
1274 case " $ac_configure_args " in
1275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1276 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 esac
1278 fi
1279done
1280if $ac_cache_corrupted; then
1281 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1282echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1283 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1284echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285 { (exit 1); exit 1; }; }
1286fi
1287
1288ac_ext=c
1289ac_cpp='$CPP $CPPFLAGS'
1290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292ac_compiler_gnu=$ac_cv_c_compiler_gnu
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314 ac_config_headers="$ac_config_headers config.h"
1315
1316ac_ext=c
1317ac_cpp='$CPP $CPPFLAGS'
1318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1320ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321if test -n "$ac_tool_prefix"; then
1322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1323set dummy ${ac_tool_prefix}gcc; ac_word=$2
1324echo "$as_me:$LINENO: checking for $ac_word" >&5
1325echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1326if test "${ac_cv_prog_CC+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1328else
1329 if test -n "$CC"; then
1330 ac_cv_prog_CC="$CC" # Let the user override the test.
1331else
1332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333for as_dir in $PATH
1334do
1335 IFS=$as_save_IFS
1336 test -z "$as_dir" && as_dir=.
1337 for ac_exec_ext in '' $ac_executable_extensions; do
1338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1341 break 2
1342 fi
1343done
1344done
1345
1346fi
1347fi
1348CC=$ac_cv_prog_CC
1349if test -n "$CC"; then
1350 echo "$as_me:$LINENO: result: $CC" >&5
1351echo "${ECHO_T}$CC" >&6
1352else
1353 echo "$as_me:$LINENO: result: no" >&5
1354echo "${ECHO_T}no" >&6
1355fi
1356
1357fi
1358if test -z "$ac_cv_prog_CC"; then
1359 ac_ct_CC=$CC
1360 # Extract the first word of "gcc", so it can be a program name with args.
1361set dummy gcc; ac_word=$2
1362echo "$as_me:$LINENO: checking for $ac_word" >&5
1363echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1364if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1366else
1367 if test -n "$ac_ct_CC"; then
1368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1369else
1370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371for as_dir in $PATH
1372do
1373 IFS=$as_save_IFS
1374 test -z "$as_dir" && as_dir=.
1375 for ac_exec_ext in '' $ac_executable_extensions; do
1376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1377 ac_cv_prog_ac_ct_CC="gcc"
1378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1379 break 2
1380 fi
1381done
1382done
1383
1384fi
1385fi
1386ac_ct_CC=$ac_cv_prog_ac_ct_CC
1387if test -n "$ac_ct_CC"; then
1388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1389echo "${ECHO_T}$ac_ct_CC" >&6
1390else
1391 echo "$as_me:$LINENO: result: no" >&5
1392echo "${ECHO_T}no" >&6
1393fi
1394
1395 CC=$ac_ct_CC
1396else
1397 CC="$ac_cv_prog_CC"
1398fi
1399
1400if test -z "$CC"; then
1401 if test -n "$ac_tool_prefix"; then
1402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1403set dummy ${ac_tool_prefix}cc; ac_word=$2
1404echo "$as_me:$LINENO: checking for $ac_word" >&5
1405echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1406if test "${ac_cv_prog_CC+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1408else
1409 if test -n "$CC"; then
1410 ac_cv_prog_CC="$CC" # Let the user override the test.
1411else
1412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1413for as_dir in $PATH
1414do
1415 IFS=$as_save_IFS
1416 test -z "$as_dir" && as_dir=.
1417 for ac_exec_ext in '' $ac_executable_extensions; do
1418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1419 ac_cv_prog_CC="${ac_tool_prefix}cc"
1420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1421 break 2
1422 fi
1423done
1424done
1425
1426fi
1427fi
1428CC=$ac_cv_prog_CC
1429if test -n "$CC"; then
1430 echo "$as_me:$LINENO: result: $CC" >&5
1431echo "${ECHO_T}$CC" >&6
1432else
1433 echo "$as_me:$LINENO: result: no" >&5
1434echo "${ECHO_T}no" >&6
1435fi
1436
1437fi
1438if test -z "$ac_cv_prog_CC"; then
1439 ac_ct_CC=$CC
1440 # Extract the first word of "cc", so it can be a program name with args.
1441set dummy cc; ac_word=$2
1442echo "$as_me:$LINENO: checking for $ac_word" >&5
1443echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1446else
1447 if test -n "$ac_ct_CC"; then
1448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1449else
1450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451for as_dir in $PATH
1452do
1453 IFS=$as_save_IFS
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_prog_ac_ct_CC="cc"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1459 break 2
1460 fi
1461done
1462done
1463
1464fi
1465fi
1466ac_ct_CC=$ac_cv_prog_ac_ct_CC
1467if test -n "$ac_ct_CC"; then
1468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1469echo "${ECHO_T}$ac_ct_CC" >&6
1470else
1471 echo "$as_me:$LINENO: result: no" >&5
1472echo "${ECHO_T}no" >&6
1473fi
1474
1475 CC=$ac_ct_CC
1476else
1477 CC="$ac_cv_prog_CC"
1478fi
1479
1480fi
1481if test -z "$CC"; then
1482 # Extract the first word of "cc", so it can be a program name with args.
1483set dummy cc; ac_word=$2
1484echo "$as_me:$LINENO: checking for $ac_word" >&5
1485echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1486if test "${ac_cv_prog_CC+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1488else
1489 if test -n "$CC"; then
1490 ac_cv_prog_CC="$CC" # Let the user override the test.
1491else
1492 ac_prog_rejected=no
1493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494for as_dir in $PATH
1495do
1496 IFS=$as_save_IFS
1497 test -z "$as_dir" && as_dir=.
1498 for ac_exec_ext in '' $ac_executable_extensions; do
1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1501 ac_prog_rejected=yes
1502 continue
1503 fi
1504 ac_cv_prog_CC="cc"
1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 break 2
1507 fi
1508done
1509done
1510
1511if test $ac_prog_rejected = yes; then
1512 # We found a bogon in the path, so make sure we never use it.
1513 set dummy $ac_cv_prog_CC
1514 shift
1515 if test $@%:@ != 0; then
1516 # We chose a different compiler from the bogus one.
1517 # However, it has the same basename, so the bogon will be chosen
1518 # first if we set CC to just the basename; use the full file name.
1519 shift
1520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1521 fi
1522fi
1523fi
1524fi
1525CC=$ac_cv_prog_CC
1526if test -n "$CC"; then
1527 echo "$as_me:$LINENO: result: $CC" >&5
1528echo "${ECHO_T}$CC" >&6
1529else
1530 echo "$as_me:$LINENO: result: no" >&5
1531echo "${ECHO_T}no" >&6
1532fi
1533
1534fi
1535if test -z "$CC"; then
1536 if test -n "$ac_tool_prefix"; then
1537 for ac_prog in cl
1538 do
1539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1540set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1541echo "$as_me:$LINENO: checking for $ac_word" >&5
1542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543if test "${ac_cv_prog_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1545else
1546 if test -n "$CC"; then
1547 ac_cv_prog_CC="$CC" # Let the user override the test.
1548else
1549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550for as_dir in $PATH
1551do
1552 IFS=$as_save_IFS
1553 test -z "$as_dir" && as_dir=.
1554 for ac_exec_ext in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558 break 2
1559 fi
1560done
1561done
1562
1563fi
1564fi
1565CC=$ac_cv_prog_CC
1566if test -n "$CC"; then
1567 echo "$as_me:$LINENO: result: $CC" >&5
1568echo "${ECHO_T}$CC" >&6
1569else
1570 echo "$as_me:$LINENO: result: no" >&5
1571echo "${ECHO_T}no" >&6
1572fi
1573
1574 test -n "$CC" && break
1575 done
1576fi
1577if test -z "$CC"; then
1578 ac_ct_CC=$CC
1579 for ac_prog in cl
1580do
1581 # Extract the first word of "$ac_prog", so it can be a program name with args.
1582set dummy $ac_prog; ac_word=$2
1583echo "$as_me:$LINENO: checking for $ac_word" >&5
1584echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1585if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1587else
1588 if test -n "$ac_ct_CC"; then
1589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1590else
1591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1592for as_dir in $PATH
1593do
1594 IFS=$as_save_IFS
1595 test -z "$as_dir" && as_dir=.
1596 for ac_exec_ext in '' $ac_executable_extensions; do
1597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1598 ac_cv_prog_ac_ct_CC="$ac_prog"
1599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1600 break 2
1601 fi
1602done
1603done
1604
1605fi
1606fi
1607ac_ct_CC=$ac_cv_prog_ac_ct_CC
1608if test -n "$ac_ct_CC"; then
1609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1610echo "${ECHO_T}$ac_ct_CC" >&6
1611else
1612 echo "$as_me:$LINENO: result: no" >&5
1613echo "${ECHO_T}no" >&6
1614fi
1615
1616 test -n "$ac_ct_CC" && break
1617done
1618
1619 CC=$ac_ct_CC
1620fi
1621
1622fi
1623
1624
1625test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1626See \`config.log' for more details." >&5
1627echo "$as_me: error: no acceptable C compiler found in \$PATH
1628See \`config.log' for more details." >&2;}
1629 { (exit 1); exit 1; }; }
1630
1631# Provide some information about the compiler.
1632echo "$as_me:$LINENO:" \
1633 "checking for C compiler version" >&5
1634ac_compiler=`set X $ac_compile; echo $2`
1635{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1636 (eval $ac_compiler --version </dev/null >&5) 2>&5
1637 ac_status=$?
1638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1639 (exit $ac_status); }
1640{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1641 (eval $ac_compiler -v </dev/null >&5) 2>&5
1642 ac_status=$?
1643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1644 (exit $ac_status); }
1645{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1646 (eval $ac_compiler -V </dev/null >&5) 2>&5
1647 ac_status=$?
1648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1649 (exit $ac_status); }
1650
1651cat >conftest.$ac_ext <<_ACEOF
1652#line $LINENO "configure"
1653/* confdefs.h. */
1654_ACEOF
1655cat confdefs.h >>conftest.$ac_ext
1656cat >>conftest.$ac_ext <<_ACEOF
1657/* end confdefs.h. */
1658
1659int
1660main ()
1661{
1662
1663 ;
1664 return 0;
1665}
1666_ACEOF
1667ac_clean_files_save=$ac_clean_files
1668ac_clean_files="$ac_clean_files a.out a.exe b.out"
1669# Try to create an executable without -o first, disregard a.out.
1670# It will help us diagnose broken compilers, and finding out an intuition
1671# of exeext.
1672echo "$as_me:$LINENO: checking for C compiler default output" >&5
1673echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1674ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1675if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1676 (eval $ac_link_default) 2>&5
1677 ac_status=$?
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; then
1680 # Find the output, starting from the most likely. This scheme is
1681# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1682# resort.
1683
1684# Be careful to initialize this variable, since it used to be cached.
1685# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1686ac_cv_exeext=
1687# b.out is created by i960 compilers.
1688for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1689do
1690 test -f "$ac_file" || continue
1691 case $ac_file in
1692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1693 ;;
1694 conftest.$ac_ext )
1695 # This is the source file.
1696 ;;
1697 [ab].out )
1698 # We found the default executable, but exeext='' is most
1699 # certainly right.
1700 break;;
1701 *.* )
1702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1703 # FIXME: I believe we export ac_cv_exeext for Libtool,
1704 # but it would be cool to find out if it's true. Does anybody
1705 # maintain Libtool? --akim.
1706 export ac_cv_exeext
1707 break;;
1708 * )
1709 break;;
1710 esac
1711done
1712else
1713 echo "$as_me: failed program was:" >&5
1714sed 's/^/| /' conftest.$ac_ext >&5
1715
1716{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1717See \`config.log' for more details." >&5
1718echo "$as_me: error: C compiler cannot create executables
1719See \`config.log' for more details." >&2;}
1720 { (exit 77); exit 77; }; }
1721fi
1722
1723ac_exeext=$ac_cv_exeext
1724echo "$as_me:$LINENO: result: $ac_file" >&5
1725echo "${ECHO_T}$ac_file" >&6
1726
1727# Check the compiler produces executables we can run. If not, either
1728# the compiler is broken, or we cross compile.
1729echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1730echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1731# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1732# If not cross compiling, check that we can run a simple program.
1733if test "$cross_compiling" != yes; then
1734 if { ac_try='./$ac_file'
1735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1736 (eval $ac_try) 2>&5
1737 ac_status=$?
1738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1739 (exit $ac_status); }; }; then
1740 cross_compiling=no
1741 else
1742 if test "$cross_compiling" = maybe; then
1743 cross_compiling=yes
1744 else
1745 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1746If you meant to cross compile, use \`--host'.
1747See \`config.log' for more details." >&5
1748echo "$as_me: error: cannot run C compiled programs.
1749If you meant to cross compile, use \`--host'.
1750See \`config.log' for more details." >&2;}
1751 { (exit 1); exit 1; }; }
1752 fi
1753 fi
1754fi
1755echo "$as_me:$LINENO: result: yes" >&5
1756echo "${ECHO_T}yes" >&6
1757
1758rm -f a.out a.exe conftest$ac_cv_exeext b.out
1759ac_clean_files=$ac_clean_files_save
1760# Check the compiler produces executables we can run. If not, either
1761# the compiler is broken, or we cross compile.
1762echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1763echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1764echo "$as_me:$LINENO: result: $cross_compiling" >&5
1765echo "${ECHO_T}$cross_compiling" >&6
1766
1767echo "$as_me:$LINENO: checking for suffix of executables" >&5
1768echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1769if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1770 (eval $ac_link) 2>&5
1771 ac_status=$?
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); }; then
1774 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1775# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1776# work properly (i.e., refer to `conftest.exe'), while it won't with
1777# `rm'.
1778for ac_file in conftest.exe conftest conftest.*; do
1779 test -f "$ac_file" || continue
1780 case $ac_file in
1781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1782 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1783 export ac_cv_exeext
1784 break;;
1785 * ) break;;
1786 esac
1787done
1788else
1789 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1790See \`config.log' for more details." >&5
1791echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1792See \`config.log' for more details." >&2;}
1793 { (exit 1); exit 1; }; }
1794fi
1795
1796rm -f conftest$ac_cv_exeext
1797echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1798echo "${ECHO_T}$ac_cv_exeext" >&6
1799
1800rm -f conftest.$ac_ext
1801EXEEXT=$ac_cv_exeext
1802ac_exeext=$EXEEXT
1803echo "$as_me:$LINENO: checking for suffix of object files" >&5
1804echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1805if test "${ac_cv_objext+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1807else
1808 cat >conftest.$ac_ext <<_ACEOF
1809#line $LINENO "configure"
1810/* confdefs.h. */
1811_ACEOF
1812cat confdefs.h >>conftest.$ac_ext
1813cat >>conftest.$ac_ext <<_ACEOF
1814/* end confdefs.h. */
1815
1816int
1817main ()
1818{
1819
1820 ;
1821 return 0;
1822}
1823_ACEOF
1824rm -f conftest.o conftest.obj
1825if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1826 (eval $ac_compile) 2>&5
1827 ac_status=$?
1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1829 (exit $ac_status); }; then
1830 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1831 case $ac_file in
1832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1834 break;;
1835 esac
1836done
1837else
1838 echo "$as_me: failed program was:" >&5
1839sed 's/^/| /' conftest.$ac_ext >&5
1840
1841{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1842See \`config.log' for more details." >&5
1843echo "$as_me: error: cannot compute suffix of object files: cannot compile
1844See \`config.log' for more details." >&2;}
1845 { (exit 1); exit 1; }; }
1846fi
1847
1848rm -f conftest.$ac_cv_objext conftest.$ac_ext
1849fi
1850echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1851echo "${ECHO_T}$ac_cv_objext" >&6
1852OBJEXT=$ac_cv_objext
1853ac_objext=$OBJEXT
1854echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1855echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1856if test "${ac_cv_c_compiler_gnu+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1858else
1859 cat >conftest.$ac_ext <<_ACEOF
1860#line $LINENO "configure"
1861/* confdefs.h. */
1862_ACEOF
1863cat confdefs.h >>conftest.$ac_ext
1864cat >>conftest.$ac_ext <<_ACEOF
1865/* end confdefs.h. */
1866
1867int
1868main ()
1869{
1870#ifndef __GNUC__
1871 choke me
1872#endif
1873
1874 ;
1875 return 0;
1876}
1877_ACEOF
1878rm -f conftest.$ac_objext
1879if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1880 (eval $ac_compile) 2>&5
1881 ac_status=$?
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); } &&
1884 { ac_try='test -s conftest.$ac_objext'
1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1886 (eval $ac_try) 2>&5
1887 ac_status=$?
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; }; then
1890 ac_compiler_gnu=yes
1891else
1892 echo "$as_me: failed program was:" >&5
1893sed 's/^/| /' conftest.$ac_ext >&5
1894
1895ac_compiler_gnu=no
1896fi
1897rm -f conftest.$ac_objext conftest.$ac_ext
1898ac_cv_c_compiler_gnu=$ac_compiler_gnu
1899
1900fi
1901echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1902echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1903GCC=`test $ac_compiler_gnu = yes && echo yes`
1904ac_test_CFLAGS=${CFLAGS+set}
1905ac_save_CFLAGS=$CFLAGS
1906CFLAGS="-g"
1907echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1908echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1909if test "${ac_cv_prog_cc_g+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1911else
1912 cat >conftest.$ac_ext <<_ACEOF
1913#line $LINENO "configure"
1914/* confdefs.h. */
1915_ACEOF
1916cat confdefs.h >>conftest.$ac_ext
1917cat >>conftest.$ac_ext <<_ACEOF
1918/* end confdefs.h. */
1919
1920int
1921main ()
1922{
1923
1924 ;
1925 return 0;
1926}
1927_ACEOF
1928rm -f conftest.$ac_objext
1929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1930 (eval $ac_compile) 2>&5
1931 ac_status=$?
1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1933 (exit $ac_status); } &&
1934 { ac_try='test -s conftest.$ac_objext'
1935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1936 (eval $ac_try) 2>&5
1937 ac_status=$?
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); }; }; then
1940 ac_cv_prog_cc_g=yes
1941else
1942 echo "$as_me: failed program was:" >&5
1943sed 's/^/| /' conftest.$ac_ext >&5
1944
1945ac_cv_prog_cc_g=no
1946fi
1947rm -f conftest.$ac_objext conftest.$ac_ext
1948fi
1949echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1950echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1951if test "$ac_test_CFLAGS" = set; then
1952 CFLAGS=$ac_save_CFLAGS
1953elif test $ac_cv_prog_cc_g = yes; then
1954 if test "$GCC" = yes; then
1955 CFLAGS="-g -O2"
1956 else
1957 CFLAGS="-g"
1958 fi
1959else
1960 if test "$GCC" = yes; then
1961 CFLAGS="-O2"
1962 else
1963 CFLAGS=
1964 fi
1965fi
1966echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1967echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1968if test "${ac_cv_prog_cc_stdc+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1970else
1971 ac_cv_prog_cc_stdc=no
1972ac_save_CC=$CC
1973cat >conftest.$ac_ext <<_ACEOF
1974#line $LINENO "configure"
1975/* confdefs.h. */
1976_ACEOF
1977cat confdefs.h >>conftest.$ac_ext
1978cat >>conftest.$ac_ext <<_ACEOF
1979/* end confdefs.h. */
1980#include <stdarg.h>
1981#include <stdio.h>
1982#include <sys/types.h>
1983#include <sys/stat.h>
1984/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1985struct buf { int x; };
1986FILE * (*rcsopen) (struct buf *, struct stat *, int);
1987static char *e (p, i)
1988 char **p;
1989 int i;
1990{
1991 return p[i];
1992}
1993static char *f (char * (*g) (char **, int), char **p, ...)
1994{
1995 char *s;
1996 va_list v;
1997 va_start (v,p);
1998 s = g (p, va_arg (v,int));
1999 va_end (v);
2000 return s;
2001}
2002int test (int i, double x);
2003struct s1 {int (*f) (int a);};
2004struct s2 {int (*f) (double a);};
2005int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2006int argc;
2007char **argv;
2008int
2009main ()
2010{
2011return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2012 ;
2013 return 0;
2014}
2015_ACEOF
2016# Don't try gcc -ansi; that turns off useful extensions and
2017# breaks some systems' header files.
2018# AIX -qlanglvl=ansi
2019# Ultrix and OSF/1 -std1
2020# HP-UX 10.20 and later -Ae
2021# HP-UX older versions -Aa -D_HPUX_SOURCE
2022# SVR4 -Xc -D__EXTENSIONS__
2023for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2024do
2025 CC="$ac_save_CC $ac_arg"
2026 rm -f conftest.$ac_objext
2027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2028 (eval $ac_compile) 2>&5
2029 ac_status=$?
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); } &&
2032 { ac_try='test -s conftest.$ac_objext'
2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034 (eval $ac_try) 2>&5
2035 ac_status=$?
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; }; then
2038 ac_cv_prog_cc_stdc=$ac_arg
2039break
2040else
2041 echo "$as_me: failed program was:" >&5
2042sed 's/^/| /' conftest.$ac_ext >&5
2043
2044fi
2045rm -f conftest.$ac_objext
2046done
2047rm -f conftest.$ac_ext conftest.$ac_objext
2048CC=$ac_save_CC
2049
2050fi
2051
2052case "x$ac_cv_prog_cc_stdc" in
2053 x|xno)
2054 echo "$as_me:$LINENO: result: none needed" >&5
2055echo "${ECHO_T}none needed" >&6 ;;
2056 *)
2057 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2058echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2059 CC="$CC $ac_cv_prog_cc_stdc" ;;
2060esac
2061
2062# Some people use a C++ compiler to compile C. Since we use `exit',
2063# in C++ we need to declare it. In case someone uses the same compiler
2064# for both compiling C and C++ we need to have the C++ compiler decide
2065# the declaration of exit, since it's the most demanding environment.
2066cat >conftest.$ac_ext <<_ACEOF
2067@%:@ifndef __cplusplus
2068 choke me
2069@%:@endif
2070_ACEOF
2071rm -f conftest.$ac_objext
2072if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2073 (eval $ac_compile) 2>&5
2074 ac_status=$?
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); } &&
2077 { ac_try='test -s conftest.$ac_objext'
2078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2079 (eval $ac_try) 2>&5
2080 ac_status=$?
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); }; }; then
2083 for ac_declaration in \
2084 ''\
2085 '#include <stdlib.h>' \
2086 'extern "C" void std::exit (int) throw (); using std::exit;' \
2087 'extern "C" void std::exit (int); using std::exit;' \
2088 'extern "C" void exit (int) throw ();' \
2089 'extern "C" void exit (int);' \
2090 'void exit (int);'
2091do
2092 cat >conftest.$ac_ext <<_ACEOF
2093#line $LINENO "configure"
2094/* confdefs.h. */
2095_ACEOF
2096cat confdefs.h >>conftest.$ac_ext
2097cat >>conftest.$ac_ext <<_ACEOF
2098/* end confdefs.h. */
2099@%:@include <stdlib.h>
2100$ac_declaration
2101int
2102main ()
2103{
2104exit (42);
2105 ;
2106 return 0;
2107}
2108_ACEOF
2109rm -f conftest.$ac_objext
2110if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2111 (eval $ac_compile) 2>&5
2112 ac_status=$?
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); } &&
2115 { ac_try='test -s conftest.$ac_objext'
2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2117 (eval $ac_try) 2>&5
2118 ac_status=$?
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; }; then
2121 :
2122else
2123 echo "$as_me: failed program was:" >&5
2124sed 's/^/| /' conftest.$ac_ext >&5
2125
2126continue
2127fi
2128rm -f conftest.$ac_objext conftest.$ac_ext
2129 cat >conftest.$ac_ext <<_ACEOF
2130#line $LINENO "configure"
2131/* confdefs.h. */
2132_ACEOF
2133cat confdefs.h >>conftest.$ac_ext
2134cat >>conftest.$ac_ext <<_ACEOF
2135/* end confdefs.h. */
2136$ac_declaration
2137int
2138main ()
2139{
2140exit (42);
2141 ;
2142 return 0;
2143}
2144_ACEOF
2145rm -f conftest.$ac_objext
2146if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2147 (eval $ac_compile) 2>&5
2148 ac_status=$?
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150 (exit $ac_status); } &&
2151 { ac_try='test -s conftest.$ac_objext'
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 (eval $ac_try) 2>&5
2154 ac_status=$?
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; }; then
2157 break
2158else
2159 echo "$as_me: failed program was:" >&5
2160sed 's/^/| /' conftest.$ac_ext >&5
2161
2162fi
2163rm -f conftest.$ac_objext conftest.$ac_ext
2164done
2165rm -f conftest*
2166if test -n "$ac_declaration"; then
2167 echo '#ifdef __cplusplus' >>confdefs.h
2168 echo $ac_declaration >>confdefs.h
2169 echo '#endif' >>confdefs.h
2170fi
2171
2172else
2173 echo "$as_me: failed program was:" >&5
2174sed 's/^/| /' conftest.$ac_ext >&5
2175
2176fi
2177rm -f conftest.$ac_objext conftest.$ac_ext
2178ac_ext=c
2179ac_cpp='$CPP $CPPFLAGS'
2180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2182ac_compiler_gnu=$ac_cv_c_compiler_gnu
2183
2184ac_aux_dir=
2185for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2186 if test -f $ac_dir/install-sh; then
2187 ac_aux_dir=$ac_dir
2188 ac_install_sh="$ac_aux_dir/install-sh -c"
2189 break
2190 elif test -f $ac_dir/install.sh; then
2191 ac_aux_dir=$ac_dir
2192 ac_install_sh="$ac_aux_dir/install.sh -c"
2193 break
2194 elif test -f $ac_dir/shtool; then
2195 ac_aux_dir=$ac_dir
2196 ac_install_sh="$ac_aux_dir/shtool install -c"
2197 break
2198 fi
2199done
2200if test -z "$ac_aux_dir"; then
2201 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2202echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2203 { (exit 1); exit 1; }; }
2204fi
2205ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2206ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2207ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2208
2209# Make sure we can run config.sub.
2210$ac_config_sub sun4 >/dev/null 2>&1 ||
2211 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2212echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2213 { (exit 1); exit 1; }; }
2214
2215echo "$as_me:$LINENO: checking build system type" >&5
2216echo $ECHO_N "checking build system type... $ECHO_C" >&6
2217if test "${ac_cv_build+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2219else
2220 ac_cv_build_alias=$build_alias
2221test -z "$ac_cv_build_alias" &&
2222 ac_cv_build_alias=`$ac_config_guess`
2223test -z "$ac_cv_build_alias" &&
2224 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2225echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2226 { (exit 1); exit 1; }; }
2227ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2228 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2229echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2230 { (exit 1); exit 1; }; }
2231
2232fi
2233echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2234echo "${ECHO_T}$ac_cv_build" >&6
2235build=$ac_cv_build
2236build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2237build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2238build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2239
2240
2241echo "$as_me:$LINENO: checking host system type" >&5
2242echo $ECHO_N "checking host system type... $ECHO_C" >&6
2243if test "${ac_cv_host+set}" = set; then
2244 echo $ECHO_N "(cached) $ECHO_C" >&6
2245else
2246 ac_cv_host_alias=$host_alias
2247test -z "$ac_cv_host_alias" &&
2248 ac_cv_host_alias=$ac_cv_build_alias
2249ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2250 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2251echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2252 { (exit 1); exit 1; }; }
2253
2254fi
2255echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2256echo "${ECHO_T}$ac_cv_host" >&6
2257host=$ac_cv_host
2258host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2259host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2260host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2261
2262
2263
2264echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2265echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2266if test "${ac_cv_c_bigendian+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2268else
2269 # See if sys/param.h defines the BYTE_ORDER macro.
2270cat >conftest.$ac_ext <<_ACEOF
2271#line $LINENO "configure"
2272/* confdefs.h. */
2273_ACEOF
2274cat confdefs.h >>conftest.$ac_ext
2275cat >>conftest.$ac_ext <<_ACEOF
2276/* end confdefs.h. */
2277#include <sys/types.h>
2278#include <sys/param.h>
2279
2280int
2281main ()
2282{
2283#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2284 bogus endian macros
2285#endif
2286
2287 ;
2288 return 0;
2289}
2290_ACEOF
2291rm -f conftest.$ac_objext
2292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2293 (eval $ac_compile) 2>&5
2294 ac_status=$?
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } &&
2297 { ac_try='test -s conftest.$ac_objext'
2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 (eval $ac_try) 2>&5
2300 ac_status=$?
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; }; then
2303 # It does; now see whether it defined to BIG_ENDIAN or not.
2304cat >conftest.$ac_ext <<_ACEOF
2305#line $LINENO "configure"
2306/* confdefs.h. */
2307_ACEOF
2308cat confdefs.h >>conftest.$ac_ext
2309cat >>conftest.$ac_ext <<_ACEOF
2310/* end confdefs.h. */
2311#include <sys/types.h>
2312#include <sys/param.h>
2313
2314int
2315main ()
2316{
2317#if BYTE_ORDER != BIG_ENDIAN
2318 not big endian
2319#endif
2320
2321 ;
2322 return 0;
2323}
2324_ACEOF
2325rm -f conftest.$ac_objext
2326if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2327 (eval $ac_compile) 2>&5
2328 ac_status=$?
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); } &&
2331 { ac_try='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 (eval $ac_try) 2>&5
2334 ac_status=$?
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2337 ac_cv_c_bigendian=yes
2338else
2339 echo "$as_me: failed program was:" >&5
2340sed 's/^/| /' conftest.$ac_ext >&5
2341
2342ac_cv_c_bigendian=no
2343fi
2344rm -f conftest.$ac_objext conftest.$ac_ext
2345else
2346 echo "$as_me: failed program was:" >&5
2347sed 's/^/| /' conftest.$ac_ext >&5
2348
2349# It does not; compile a test program.
2350if test "$cross_compiling" = yes; then
2351 # try to guess the endianness by grepping values into an object file
2352 ac_cv_c_bigendian=unknown
2353 cat >conftest.$ac_ext <<_ACEOF
2354#line $LINENO "configure"
2355/* confdefs.h. */
2356_ACEOF
2357cat confdefs.h >>conftest.$ac_ext
2358cat >>conftest.$ac_ext <<_ACEOF
2359/* end confdefs.h. */
2360short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2361short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2362void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2363short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2364short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2365void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2366int
2367main ()
2368{
2369 _ascii (); _ebcdic ();
2370 ;
2371 return 0;
2372}
2373_ACEOF
2374rm -f conftest.$ac_objext
2375if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2376 (eval $ac_compile) 2>&5
2377 ac_status=$?
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); } &&
2380 { ac_try='test -s conftest.$ac_objext'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 (eval $ac_try) 2>&5
2383 ac_status=$?
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; }; then
2386 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2387 ac_cv_c_bigendian=yes
2388fi
2389if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2390 if test "$ac_cv_c_bigendian" = unknown; then
2391 ac_cv_c_bigendian=no
2392 else
2393 # finding both strings is unlikely to happen, but who knows?
2394 ac_cv_c_bigendian=unknown
2395 fi
2396fi
2397else
2398 echo "$as_me: failed program was:" >&5
2399sed 's/^/| /' conftest.$ac_ext >&5
2400
2401fi
2402rm -f conftest.$ac_objext conftest.$ac_ext
2403else
2404 cat >conftest.$ac_ext <<_ACEOF
2405#line $LINENO "configure"
2406/* confdefs.h. */
2407_ACEOF
2408cat confdefs.h >>conftest.$ac_ext
2409cat >>conftest.$ac_ext <<_ACEOF
2410/* end confdefs.h. */
2411int
2412main ()
2413{
2414 /* Are we little or big endian? From Harbison&Steele. */
2415 union
2416 {
2417 long l;
2418 char c[sizeof (long)];
2419 } u;
2420 u.l = 1;
2421 exit (u.c[sizeof (long) - 1] == 1);
2422}
2423_ACEOF
2424rm -f conftest$ac_exeext
2425if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2426 (eval $ac_link) 2>&5
2427 ac_status=$?
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431 (eval $ac_try) 2>&5
2432 ac_status=$?
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }; }; then
2435 ac_cv_c_bigendian=no
2436else
2437 echo "$as_me: program exited with status $ac_status" >&5
2438echo "$as_me: failed program was:" >&5
2439sed 's/^/| /' conftest.$ac_ext >&5
2440
2441( exit $ac_status )
2442ac_cv_c_bigendian=yes
2443fi
2444rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2445fi
2446fi
2447rm -f conftest.$ac_objext conftest.$ac_ext
2448fi
2449echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2450echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2451case $ac_cv_c_bigendian in
2452 yes)
2453
2454cat >>confdefs.h <<\_ACEOF
2455@%:@define WORDS_BIGENDIAN 1
2456_ACEOF
2457 ;;
2458 no)
2459 ;;
2460 *)
2461 { { echo "$as_me:$LINENO: error: unknown endianness
2462presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2463echo "$as_me: error: unknown endianness
2464presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2465 { (exit 1); exit 1; }; } ;;
2466esac
2467
2468
2469# Checks for programs.
2470ac_ext=c
2471ac_cpp='$CPP $CPPFLAGS'
2472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2474ac_compiler_gnu=$ac_cv_c_compiler_gnu
2475echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2476echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2477# On Suns, sometimes $CPP names a directory.
2478if test -n "$CPP" && test -d "$CPP"; then
2479 CPP=
2480fi
2481if test -z "$CPP"; then
2482 if test "${ac_cv_prog_CPP+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2484else
2485 # Double quotes because CPP needs to be expanded
2486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2487 do
2488 ac_preproc_ok=false
2489for ac_c_preproc_warn_flag in '' yes
2490do
2491 # Use a header file that comes with gcc, so configuring glibc
2492 # with a fresh cross-compiler works.
2493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2494 # <limits.h> exists even on freestanding compilers.
2495 # On the NeXT, cc -E runs the code through the compiler's parser,
2496 # not just through cpp. "Syntax error" is here to catch this case.
2497 cat >conftest.$ac_ext <<_ACEOF
2498#line $LINENO "configure"
2499/* confdefs.h. */
2500_ACEOF
2501cat confdefs.h >>conftest.$ac_ext
2502cat >>conftest.$ac_ext <<_ACEOF
2503/* end confdefs.h. */
2504@%:@ifdef __STDC__
2505@%:@ include <limits.h>
2506@%:@else
2507@%:@ include <assert.h>
2508@%:@endif
2509 Syntax error
2510_ACEOF
2511if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2513 ac_status=$?
2514 grep -v '^ *+' conftest.er1 >conftest.err
2515 rm -f conftest.er1
2516 cat conftest.err >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); } >/dev/null; then
2519 if test -s conftest.err; then
2520 ac_cpp_err=$ac_c_preproc_warn_flag
2521 else
2522 ac_cpp_err=
2523 fi
2524else
2525 ac_cpp_err=yes
2526fi
2527if test -z "$ac_cpp_err"; then
2528 :
2529else
2530 echo "$as_me: failed program was:" >&5
2531sed 's/^/| /' conftest.$ac_ext >&5
2532
2533 # Broken: fails on valid input.
2534continue
2535fi
2536rm -f conftest.err conftest.$ac_ext
2537
2538 # OK, works on sane cases. Now check whether non-existent headers
2539 # can be detected and how.
2540 cat >conftest.$ac_ext <<_ACEOF
2541#line $LINENO "configure"
2542/* confdefs.h. */
2543_ACEOF
2544cat confdefs.h >>conftest.$ac_ext
2545cat >>conftest.$ac_ext <<_ACEOF
2546/* end confdefs.h. */
2547@%:@include <ac_nonexistent.h>
2548_ACEOF
2549if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2550 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2551 ac_status=$?
2552 grep -v '^ *+' conftest.er1 >conftest.err
2553 rm -f conftest.er1
2554 cat conftest.err >&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); } >/dev/null; then
2557 if test -s conftest.err; then
2558 ac_cpp_err=$ac_c_preproc_warn_flag
2559 else
2560 ac_cpp_err=
2561 fi
2562else
2563 ac_cpp_err=yes
2564fi
2565if test -z "$ac_cpp_err"; then
2566 # Broken: success on invalid input.
2567continue
2568else
2569 echo "$as_me: failed program was:" >&5
2570sed 's/^/| /' conftest.$ac_ext >&5
2571
2572 # Passes both tests.
2573ac_preproc_ok=:
2574break
2575fi
2576rm -f conftest.err conftest.$ac_ext
2577
2578done
2579# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2580rm -f conftest.err conftest.$ac_ext
2581if $ac_preproc_ok; then
2582 break
2583fi
2584
2585 done
2586 ac_cv_prog_CPP=$CPP
2587
2588fi
2589 CPP=$ac_cv_prog_CPP
2590else
2591 ac_cv_prog_CPP=$CPP
2592fi
2593echo "$as_me:$LINENO: result: $CPP" >&5
2594echo "${ECHO_T}$CPP" >&6
2595ac_preproc_ok=false
2596for ac_c_preproc_warn_flag in '' yes
2597do
2598 # Use a header file that comes with gcc, so configuring glibc
2599 # with a fresh cross-compiler works.
2600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2601 # <limits.h> exists even on freestanding compilers.
2602 # On the NeXT, cc -E runs the code through the compiler's parser,
2603 # not just through cpp. "Syntax error" is here to catch this case.
2604 cat >conftest.$ac_ext <<_ACEOF
2605#line $LINENO "configure"
2606/* confdefs.h. */
2607_ACEOF
2608cat confdefs.h >>conftest.$ac_ext
2609cat >>conftest.$ac_ext <<_ACEOF
2610/* end confdefs.h. */
2611@%:@ifdef __STDC__
2612@%:@ include <limits.h>
2613@%:@else
2614@%:@ include <assert.h>
2615@%:@endif
2616 Syntax error
2617_ACEOF
2618if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2620 ac_status=$?
2621 grep -v '^ *+' conftest.er1 >conftest.err
2622 rm -f conftest.er1
2623 cat conftest.err >&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } >/dev/null; then
2626 if test -s conftest.err; then
2627 ac_cpp_err=$ac_c_preproc_warn_flag
2628 else
2629 ac_cpp_err=
2630 fi
2631else
2632 ac_cpp_err=yes
2633fi
2634if test -z "$ac_cpp_err"; then
2635 :
2636else
2637 echo "$as_me: failed program was:" >&5
2638sed 's/^/| /' conftest.$ac_ext >&5
2639
2640 # Broken: fails on valid input.
2641continue
2642fi
2643rm -f conftest.err conftest.$ac_ext
2644
2645 # OK, works on sane cases. Now check whether non-existent headers
2646 # can be detected and how.
2647 cat >conftest.$ac_ext <<_ACEOF
2648#line $LINENO "configure"
2649/* confdefs.h. */
2650_ACEOF
2651cat confdefs.h >>conftest.$ac_ext
2652cat >>conftest.$ac_ext <<_ACEOF
2653/* end confdefs.h. */
2654@%:@include <ac_nonexistent.h>
2655_ACEOF
2656if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } >/dev/null; then
2664 if test -s conftest.err; then
2665 ac_cpp_err=$ac_c_preproc_warn_flag
2666 else
2667 ac_cpp_err=
2668 fi
2669else
2670 ac_cpp_err=yes
2671fi
2672if test -z "$ac_cpp_err"; then
2673 # Broken: success on invalid input.
2674continue
2675else
2676 echo "$as_me: failed program was:" >&5
2677sed 's/^/| /' conftest.$ac_ext >&5
2678
2679 # Passes both tests.
2680ac_preproc_ok=:
2681break
2682fi
2683rm -f conftest.err conftest.$ac_ext
2684
2685done
2686# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2687rm -f conftest.err conftest.$ac_ext
2688if $ac_preproc_ok; then
2689 :
2690else
2691 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2692See \`config.log' for more details." >&5
2693echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2694See \`config.log' for more details." >&2;}
2695 { (exit 1); exit 1; }; }
2696fi
2697
2698ac_ext=c
2699ac_cpp='$CPP $CPPFLAGS'
2700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702ac_compiler_gnu=$ac_cv_c_compiler_gnu
2703
2704if test -n "$ac_tool_prefix"; then
2705 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2706set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2707echo "$as_me:$LINENO: checking for $ac_word" >&5
2708echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2709if test "${ac_cv_prog_RANLIB+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2711else
2712 if test -n "$RANLIB"; then
2713 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2714else
2715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716for as_dir in $PATH
2717do
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2725 fi
2726done
2727done
2728
2729fi
2730fi
2731RANLIB=$ac_cv_prog_RANLIB
2732if test -n "$RANLIB"; then
2733 echo "$as_me:$LINENO: result: $RANLIB" >&5
2734echo "${ECHO_T}$RANLIB" >&6
2735else
2736 echo "$as_me:$LINENO: result: no" >&5
2737echo "${ECHO_T}no" >&6
2738fi
2739
2740fi
2741if test -z "$ac_cv_prog_RANLIB"; then
2742 ac_ct_RANLIB=$RANLIB
2743 # Extract the first word of "ranlib", so it can be a program name with args.
2744set dummy ranlib; ac_word=$2
2745echo "$as_me:$LINENO: checking for $ac_word" >&5
2746echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2747if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2748 echo $ECHO_N "(cached) $ECHO_C" >&6
2749else
2750 if test -n "$ac_ct_RANLIB"; then
2751 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2752else
2753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754for as_dir in $PATH
2755do
2756 IFS=$as_save_IFS
2757 test -z "$as_dir" && as_dir=.
2758 for ac_exec_ext in '' $ac_executable_extensions; do
2759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2760 ac_cv_prog_ac_ct_RANLIB="ranlib"
2761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 break 2
2763 fi
2764done
2765done
2766
2767 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2768fi
2769fi
2770ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2771if test -n "$ac_ct_RANLIB"; then
2772 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2773echo "${ECHO_T}$ac_ct_RANLIB" >&6
2774else
2775 echo "$as_me:$LINENO: result: no" >&5
2776echo "${ECHO_T}no" >&6
2777fi
2778
2779 RANLIB=$ac_ct_RANLIB
2780else
2781 RANLIB="$ac_cv_prog_RANLIB"
2782fi
2783
2784# Find a good install program. We prefer a C program (faster),
2785# so one script is as good as another. But avoid the broken or
2786# incompatible versions:
2787# SysV /etc/install, /usr/sbin/install
2788# SunOS /usr/etc/install
2789# IRIX /sbin/install
2790# AIX /bin/install
2791# AmigaOS /C/install, which installs bootblocks on floppy discs
2792# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2793# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2794# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2795# ./install, which can be erroneously created by make from ./install.sh.
2796echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2797echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2798if test -z "$INSTALL"; then
2799if test "${ac_cv_path_install+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2801else
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803for as_dir in $PATH
2804do
2805 IFS=$as_save_IFS
2806 test -z "$as_dir" && as_dir=.
2807 # Account for people who put trailing slashes in PATH elements.
2808case $as_dir/ in
2809 ./ | .// | /cC/* | \
2810 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2811 /usr/ucb/* ) ;;
2812 *)
2813 # OSF1 and SCO ODT 3.0 have their own names for install.
2814 # Don't use installbsd from OSF since it installs stuff as root
2815 # by default.
2816 for ac_prog in ginstall scoinst install; do
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2819 if test $ac_prog = install &&
2820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2821 # AIX install. It has an incompatible calling convention.
2822 :
2823 elif test $ac_prog = install &&
2824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2825 # program-specific install script used by HP pwplus--don't use.
2826 :
2827 else
2828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2829 break 3
2830 fi
2831 fi
2832 done
2833 done
2834 ;;
2835esac
2836done
2837
2838
2839fi
2840 if test "${ac_cv_path_install+set}" = set; then
2841 INSTALL=$ac_cv_path_install
2842 else
2843 # As a last resort, use the slow shell script. We don't cache a
2844 # path for INSTALL within a source directory, because that will
2845 # break other packages using the cache if that directory is
2846 # removed, or if the path is relative.
2847 INSTALL=$ac_install_sh
2848 fi
2849fi
2850echo "$as_me:$LINENO: result: $INSTALL" >&5
2851echo "${ECHO_T}$INSTALL" >&6
2852
2853# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2854# It thinks the first close brace ends the variable substitution.
2855test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2856
2857test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2858
2859test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2860
2861# Extract the first word of "ar", so it can be a program name with args.
2862set dummy ar; ac_word=$2
2863echo "$as_me:$LINENO: checking for $ac_word" >&5
2864echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2865if test "${ac_cv_path_AR+set}" = set; then
2866 echo $ECHO_N "(cached) $ECHO_C" >&6
2867else
2868 case $AR in
2869 [\\/]* | ?:[\\/]*)
2870 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2871 ;;
2872 *)
2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874for as_dir in $PATH
2875do
2876 IFS=$as_save_IFS
2877 test -z "$as_dir" && as_dir=.
2878 for ac_exec_ext in '' $ac_executable_extensions; do
2879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2880 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
2881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 break 2
2883 fi
2884done
2885done
2886
2887 ;;
2888esac
2889fi
2890AR=$ac_cv_path_AR
2891
2892if test -n "$AR"; then
2893 echo "$as_me:$LINENO: result: $AR" >&5
2894echo "${ECHO_T}$AR" >&6
2895else
2896 echo "$as_me:$LINENO: result: no" >&5
2897echo "${ECHO_T}no" >&6
2898fi
2899
2900for ac_prog in perl5 perl
2901do
2902 # Extract the first word of "$ac_prog", so it can be a program name with args.
2903set dummy $ac_prog; ac_word=$2
2904echo "$as_me:$LINENO: checking for $ac_word" >&5
2905echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2906if test "${ac_cv_path_PERL+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2908else
2909 case $PERL in
2910 [\\/]* | ?:[\\/]*)
2911 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2912 ;;
2913 *)
2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915for as_dir in $PATH
2916do
2917 IFS=$as_save_IFS
2918 test -z "$as_dir" && as_dir=.
2919 for ac_exec_ext in '' $ac_executable_extensions; do
2920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2921 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 break 2
2924 fi
2925done
2926done
2927
2928 ;;
2929esac
2930fi
2931PERL=$ac_cv_path_PERL
2932
2933if test -n "$PERL"; then
2934 echo "$as_me:$LINENO: result: $PERL" >&5
2935echo "${ECHO_T}$PERL" >&6
2936else
2937 echo "$as_me:$LINENO: result: no" >&5
2938echo "${ECHO_T}no" >&6
2939fi
2940
2941 test -n "$PERL" && break
2942done
2943
2944# Extract the first word of "sed", so it can be a program name with args.
2945set dummy sed; ac_word=$2
2946echo "$as_me:$LINENO: checking for $ac_word" >&5
2947echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2948if test "${ac_cv_path_SED+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2950else
2951 case $SED in
2952 [\\/]* | ?:[\\/]*)
2953 ac_cv_path_SED="$SED" # Let the user override the test with a path.
2954 ;;
2955 *)
2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957for as_dir in $PATH
2958do
2959 IFS=$as_save_IFS
2960 test -z "$as_dir" && as_dir=.
2961 for ac_exec_ext in '' $ac_executable_extensions; do
2962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2963 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
2964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 break 2
2966 fi
2967done
2968done
2969
2970 ;;
2971esac
2972fi
2973SED=$ac_cv_path_SED
2974
2975if test -n "$SED"; then
2976 echo "$as_me:$LINENO: result: $SED" >&5
2977echo "${ECHO_T}$SED" >&6
2978else
2979 echo "$as_me:$LINENO: result: no" >&5
2980echo "${ECHO_T}no" >&6
2981fi
2982
2983
2984# Extract the first word of "ent", so it can be a program name with args.
2985set dummy ent; ac_word=$2
2986echo "$as_me:$LINENO: checking for $ac_word" >&5
2987echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2988if test "${ac_cv_path_ENT+set}" = set; then
2989 echo $ECHO_N "(cached) $ECHO_C" >&6
2990else
2991 case $ENT in
2992 [\\/]* | ?:[\\/]*)
2993 ac_cv_path_ENT="$ENT" # Let the user override the test with a path.
2994 ;;
2995 *)
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997for as_dir in $PATH
2998do
2999 IFS=$as_save_IFS
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext"
3004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 break 2
3006 fi
3007done
3008done
3009
3010 ;;
3011esac
3012fi
3013ENT=$ac_cv_path_ENT
3014
3015if test -n "$ENT"; then
3016 echo "$as_me:$LINENO: result: $ENT" >&5
3017echo "${ECHO_T}$ENT" >&6
3018else
3019 echo "$as_me:$LINENO: result: no" >&5
3020echo "${ECHO_T}no" >&6
3021fi
3022
3023
3024# Extract the first word of "bash", so it can be a program name with args.
3025set dummy bash; ac_word=$2
3026echo "$as_me:$LINENO: checking for $ac_word" >&5
3027echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3028if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3030else
3031 case $TEST_MINUS_S_SH in
3032 [\\/]* | ?:[\\/]*)
3033 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
3034 ;;
3035 *)
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037for as_dir in $PATH
3038do
3039 IFS=$as_save_IFS
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3043 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 break 2
3046 fi
3047done
3048done
3049
3050 ;;
3051esac
3052fi
3053TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
3054
3055if test -n "$TEST_MINUS_S_SH"; then
3056 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
3057echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
3058else
3059 echo "$as_me:$LINENO: result: no" >&5
3060echo "${ECHO_T}no" >&6
3061fi
3062
3063# Extract the first word of "ksh", so it can be a program name with args.
3064set dummy ksh; ac_word=$2
3065echo "$as_me:$LINENO: checking for $ac_word" >&5
3066echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3067if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3069else
3070 case $TEST_MINUS_S_SH in
3071 [\\/]* | ?:[\\/]*)
3072 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
3073 ;;
3074 *)
3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076for as_dir in $PATH
3077do
3078 IFS=$as_save_IFS
3079 test -z "$as_dir" && as_dir=.
3080 for ac_exec_ext in '' $ac_executable_extensions; do
3081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3082 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
3083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 break 2
3085 fi
3086done
3087done
3088
3089 ;;
3090esac
3091fi
3092TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
3093
3094if test -n "$TEST_MINUS_S_SH"; then
3095 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
3096echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
3097else
3098 echo "$as_me:$LINENO: result: no" >&5
3099echo "${ECHO_T}no" >&6
3100fi
3101
3102# Extract the first word of "sh", so it can be a program name with args.
3103set dummy sh; ac_word=$2
3104echo "$as_me:$LINENO: checking for $ac_word" >&5
3105echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3106if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3108else
3109 case $TEST_MINUS_S_SH in
3110 [\\/]* | ?:[\\/]*)
3111 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
3112 ;;
3113 *)
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115for as_dir in $PATH
3116do
3117 IFS=$as_save_IFS
3118 test -z "$as_dir" && as_dir=.
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 break 2
3124 fi
3125done
3126done
3127
3128 ;;
3129esac
3130fi
3131TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
3132
3133if test -n "$TEST_MINUS_S_SH"; then
3134 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
3135echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
3136else
3137 echo "$as_me:$LINENO: result: no" >&5
3138echo "${ECHO_T}no" >&6
3139fi
3140
3141# Extract the first word of "sh", so it can be a program name with args.
3142set dummy sh; ac_word=$2
3143echo "$as_me:$LINENO: checking for $ac_word" >&5
3144echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3145if test "${ac_cv_path_SH+set}" = set; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3147else
3148 case $SH in
3149 [\\/]* | ?:[\\/]*)
3150 ac_cv_path_SH="$SH" # Let the user override the test with a path.
3151 ;;
3152 *)
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154for as_dir in $PATH
3155do
3156 IFS=$as_save_IFS
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
3161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 break 2
3163 fi
3164done
3165done
3166
3167 ;;
3168esac
3169fi
3170SH=$ac_cv_path_SH
3171
3172if test -n "$SH"; then
3173 echo "$as_me:$LINENO: result: $SH" >&5
3174echo "${ECHO_T}$SH" >&6
3175else
3176 echo "$as_me:$LINENO: result: no" >&5
3177echo "${ECHO_T}no" >&6
3178fi
3179
3180
3181# System features
3182# Check whether --enable-largefile or --disable-largefile was given.
3183if test "${enable_largefile+set}" = set; then
3184 enableval="$enable_largefile"
3185
3186fi;
3187if test "$enable_largefile" != no; then
3188
3189 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3190echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3191if test "${ac_cv_sys_largefile_CC+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3193else
3194 ac_cv_sys_largefile_CC=no
3195 if test "$GCC" != yes; then
3196 ac_save_CC=$CC
3197 while :; do
3198 # IRIX 6.2 and later do not support large files by default,
3199 # so use the C compiler's -n32 option if that helps.
3200 cat >conftest.$ac_ext <<_ACEOF
3201#line $LINENO "configure"
3202/* confdefs.h. */
3203_ACEOF
3204cat confdefs.h >>conftest.$ac_ext
3205cat >>conftest.$ac_ext <<_ACEOF
3206/* end confdefs.h. */
3207@%:@include <sys/types.h>
3208 /* Check that off_t can represent 2**63 - 1 correctly.
3209 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3210 since some C++ compilers masquerading as C compilers
3211 incorrectly reject 9223372036854775807. */
3212@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3213 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3214 && LARGE_OFF_T % 2147483647 == 1)
3215 ? 1 : -1];
3216int
3217main ()
3218{
3219
3220 ;
3221 return 0;
3222}
3223_ACEOF
3224 rm -f conftest.$ac_objext
3225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3226 (eval $ac_compile) 2>&5
3227 ac_status=$?
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try='test -s conftest.$ac_objext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 (eval $ac_try) 2>&5
3233 ac_status=$?
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 break
3237else
3238 echo "$as_me: failed program was:" >&5
3239sed 's/^/| /' conftest.$ac_ext >&5
3240
3241fi
3242rm -f conftest.$ac_objext
3243 CC="$CC -n32"
3244 rm -f conftest.$ac_objext
3245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246 (eval $ac_compile) 2>&5
3247 ac_status=$?
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252 (eval $ac_try) 2>&5
3253 ac_status=$?
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3256 ac_cv_sys_largefile_CC=' -n32'; break
3257else
3258 echo "$as_me: failed program was:" >&5
3259sed 's/^/| /' conftest.$ac_ext >&5
3260
3261fi
3262rm -f conftest.$ac_objext
3263 break
3264 done
3265 CC=$ac_save_CC
3266 rm -f conftest.$ac_ext
3267 fi
3268fi
3269echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3270echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3271 if test "$ac_cv_sys_largefile_CC" != no; then
3272 CC=$CC$ac_cv_sys_largefile_CC
3273 fi
3274
3275 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3276echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3277if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3279else
3280 while :; do
3281 ac_cv_sys_file_offset_bits=no
3282 cat >conftest.$ac_ext <<_ACEOF
3283#line $LINENO "configure"
3284/* confdefs.h. */
3285_ACEOF
3286cat confdefs.h >>conftest.$ac_ext
3287cat >>conftest.$ac_ext <<_ACEOF
3288/* end confdefs.h. */
3289@%:@include <sys/types.h>
3290 /* Check that off_t can represent 2**63 - 1 correctly.
3291 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3292 since some C++ compilers masquerading as C compilers
3293 incorrectly reject 9223372036854775807. */
3294@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3295 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3296 && LARGE_OFF_T % 2147483647 == 1)
3297 ? 1 : -1];
3298int
3299main ()
3300{
3301
3302 ;
3303 return 0;
3304}
3305_ACEOF
3306rm -f conftest.$ac_objext
3307if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>&5
3309 ac_status=$?
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } &&
3312 { ac_try='test -s conftest.$ac_objext'
3313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314 (eval $ac_try) 2>&5
3315 ac_status=$?
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); }; }; then
3318 break
3319else
3320 echo "$as_me: failed program was:" >&5
3321sed 's/^/| /' conftest.$ac_ext >&5
3322
3323fi
3324rm -f conftest.$ac_objext conftest.$ac_ext
3325 cat >conftest.$ac_ext <<_ACEOF
3326#line $LINENO "configure"
3327/* confdefs.h. */
3328_ACEOF
3329cat confdefs.h >>conftest.$ac_ext
3330cat >>conftest.$ac_ext <<_ACEOF
3331/* end confdefs.h. */
3332@%:@define _FILE_OFFSET_BITS 64
3333@%:@include <sys/types.h>
3334 /* Check that off_t can represent 2**63 - 1 correctly.
3335 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3336 since some C++ compilers masquerading as C compilers
3337 incorrectly reject 9223372036854775807. */
3338@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3339 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3340 && LARGE_OFF_T % 2147483647 == 1)
3341 ? 1 : -1];
3342int
3343main ()
3344{
3345
3346 ;
3347 return 0;
3348}
3349_ACEOF
3350rm -f conftest.$ac_objext
3351if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3352 (eval $ac_compile) 2>&5
3353 ac_status=$?
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } &&
3356 { ac_try='test -s conftest.$ac_objext'
3357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 (eval $ac_try) 2>&5
3359 ac_status=$?
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }; }; then
3362 ac_cv_sys_file_offset_bits=64; break
3363else
3364 echo "$as_me: failed program was:" >&5
3365sed 's/^/| /' conftest.$ac_ext >&5
3366
3367fi
3368rm -f conftest.$ac_objext conftest.$ac_ext
3369 break
3370done
3371fi
3372echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3373echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3374if test "$ac_cv_sys_file_offset_bits" != no; then
3375
3376cat >>confdefs.h <<_ACEOF
3377@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3378_ACEOF
3379
3380fi
3381rm -f conftest*
3382 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3383echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3384if test "${ac_cv_sys_large_files+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3386else
3387 while :; do
3388 ac_cv_sys_large_files=no
3389 cat >conftest.$ac_ext <<_ACEOF
3390#line $LINENO "configure"
3391/* confdefs.h. */
3392_ACEOF
3393cat confdefs.h >>conftest.$ac_ext
3394cat >>conftest.$ac_ext <<_ACEOF
3395/* end confdefs.h. */
3396@%:@include <sys/types.h>
3397 /* Check that off_t can represent 2**63 - 1 correctly.
3398 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3399 since some C++ compilers masquerading as C compilers
3400 incorrectly reject 9223372036854775807. */
3401@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3402 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3403 && LARGE_OFF_T % 2147483647 == 1)
3404 ? 1 : -1];
3405int
3406main ()
3407{
3408
3409 ;
3410 return 0;
3411}
3412_ACEOF
3413rm -f conftest.$ac_objext
3414if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415 (eval $ac_compile) 2>&5
3416 ac_status=$?
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try='test -s conftest.$ac_objext'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 (eval $ac_try) 2>&5
3422 ac_status=$?
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; }; then
3425 break
3426else
3427 echo "$as_me: failed program was:" >&5
3428sed 's/^/| /' conftest.$ac_ext >&5
3429
3430fi
3431rm -f conftest.$ac_objext conftest.$ac_ext
3432 cat >conftest.$ac_ext <<_ACEOF
3433#line $LINENO "configure"
3434/* confdefs.h. */
3435_ACEOF
3436cat confdefs.h >>conftest.$ac_ext
3437cat >>conftest.$ac_ext <<_ACEOF
3438/* end confdefs.h. */
3439@%:@define _LARGE_FILES 1
3440@%:@include <sys/types.h>
3441 /* Check that off_t can represent 2**63 - 1 correctly.
3442 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3443 since some C++ compilers masquerading as C compilers
3444 incorrectly reject 9223372036854775807. */
3445@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3446 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3447 && LARGE_OFF_T % 2147483647 == 1)
3448 ? 1 : -1];
3449int
3450main ()
3451{
3452
3453 ;
3454 return 0;
3455}
3456_ACEOF
3457rm -f conftest.$ac_objext
3458if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3459 (eval $ac_compile) 2>&5
3460 ac_status=$?
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } &&
3463 { ac_try='test -s conftest.$ac_objext'
3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465 (eval $ac_try) 2>&5
3466 ac_status=$?
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }; }; then
3469 ac_cv_sys_large_files=1; break
3470else
3471 echo "$as_me: failed program was:" >&5
3472sed 's/^/| /' conftest.$ac_ext >&5
3473
3474fi
3475rm -f conftest.$ac_objext conftest.$ac_ext
3476 break
3477done
3478fi
3479echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3480echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3481if test "$ac_cv_sys_large_files" != no; then
3482
3483cat >>confdefs.h <<_ACEOF
3484@%:@define _LARGE_FILES $ac_cv_sys_large_files
3485_ACEOF
3486
3487fi
3488rm -f conftest*
3489fi
3490
3491
3492if test -z "$AR" ; then
3493 { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
3494echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;}
3495 { (exit 1); exit 1; }; }
3496fi
3497
3498# Use LOGIN_PROGRAM from environment if possible
3499if test ! -z "$LOGIN_PROGRAM" ; then
3500 cat >>confdefs.h <<_ACEOF
3501@%:@define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
3502_ACEOF
3503
3504else
3505 # Search for login
3506 # Extract the first word of "login", so it can be a program name with args.
3507set dummy login; ac_word=$2
3508echo "$as_me:$LINENO: checking for $ac_word" >&5
3509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3510if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3512else
3513 case $LOGIN_PROGRAM_FALLBACK in
3514 [\\/]* | ?:[\\/]*)
3515 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path.
3516 ;;
3517 *)
3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519for as_dir in $PATH
3520do
3521 IFS=$as_save_IFS
3522 test -z "$as_dir" && as_dir=.
3523 for ac_exec_ext in '' $ac_executable_extensions; do
3524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3525 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext"
3526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 break 2
3528 fi
3529done
3530done
3531
3532 ;;
3533esac
3534fi
3535LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
3536
3537if test -n "$LOGIN_PROGRAM_FALLBACK"; then
3538 echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5
3539echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6
3540else
3541 echo "$as_me:$LINENO: result: no" >&5
3542echo "${ECHO_T}no" >&6
3543fi
3544
3545 if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then
3546 cat >>confdefs.h <<_ACEOF
3547@%:@define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK"
3548_ACEOF
3549
3550 fi
3551fi
3552
3553if test -z "$LD" ; then
3554 LD=$CC
3555fi
3556
3557
3558echo "$as_me:$LINENO: checking for inline" >&5
3559echo $ECHO_N "checking for inline... $ECHO_C" >&6
3560if test "${ac_cv_c_inline+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3562else
3563 ac_cv_c_inline=no
3564for ac_kw in inline __inline__ __inline; do
3565 cat >conftest.$ac_ext <<_ACEOF
3566#line $LINENO "configure"
3567/* confdefs.h. */
3568_ACEOF
3569cat confdefs.h >>conftest.$ac_ext
3570cat >>conftest.$ac_ext <<_ACEOF
3571/* end confdefs.h. */
3572#ifndef __cplusplus
3573typedef int foo_t;
3574static $ac_kw foo_t static_foo () {return 0; }
3575$ac_kw foo_t foo () {return 0; }
3576#endif
3577
3578_ACEOF
3579rm -f conftest.$ac_objext
3580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3581 (eval $ac_compile) 2>&5
3582 ac_status=$?
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } &&
3585 { ac_try='test -s conftest.$ac_objext'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3587 (eval $ac_try) 2>&5
3588 ac_status=$?
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; }; then
3591 ac_cv_c_inline=$ac_kw; break
3592else
3593 echo "$as_me: failed program was:" >&5
3594sed 's/^/| /' conftest.$ac_ext >&5
3595
3596fi
3597rm -f conftest.$ac_objext conftest.$ac_ext
3598done
3599
3600fi
3601echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3602echo "${ECHO_T}$ac_cv_c_inline" >&6
3603case $ac_cv_c_inline in
3604 inline | yes) ;;
3605 no)
3606cat >>confdefs.h <<\_ACEOF
3607@%:@define inline
3608_ACEOF
3609 ;;
3610 *) cat >>confdefs.h <<_ACEOF
3611@%:@define inline $ac_cv_c_inline
3612_ACEOF
3613 ;;
3614esac
3615
3616if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
3617 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized"
3618fi
3619
3620# Check for some target-specific stuff
3621case "$host" in
3622*-*-aix*)
3623 AFS_LIBS="-lld"
3624 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3625 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3626 echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5
3627echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
3628 if (test -z "$blibpath"); then
3629 blibpath="/usr/lib:/lib:/usr/local/lib"
3630 fi
3631 saved_LDFLAGS="$LDFLAGS"
3632 for tryflags in -blibpath: -Wl,-blibpath: -Wl,-rpath, ;do
3633 if (test -z "$blibflags"); then
3634 LDFLAGS="$saved_LDFLAGS $tryflags$blibpath"
3635 cat >conftest.$ac_ext <<_ACEOF
3636#line $LINENO "configure"
3637/* confdefs.h. */
3638_ACEOF
3639cat confdefs.h >>conftest.$ac_ext
3640cat >>conftest.$ac_ext <<_ACEOF
3641/* end confdefs.h. */
3642
3643int
3644main ()
3645{
3646
3647 ;
3648 return 0;
3649}
3650_ACEOF
3651rm -f conftest.$ac_objext conftest$ac_exeext
3652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3653 (eval $ac_link) 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } &&
3657 { ac_try='test -s conftest$ac_exeext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 (eval $ac_try) 2>&5
3660 ac_status=$?
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 blibflags=$tryflags
3664else
3665 echo "$as_me: failed program was:" >&5
3666sed 's/^/| /' conftest.$ac_ext >&5
3667
3668fi
3669rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3670 fi
3671 done
3672 if (test -z "$blibflags"); then
3673 echo "$as_me:$LINENO: result: not found" >&5
3674echo "${ECHO_T}not found" >&6
3675 { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5
3676echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;}
3677 { (exit 1); exit 1; }; }
3678 else
3679 echo "$as_me:$LINENO: result: $blibflags" >&5
3680echo "${ECHO_T}$blibflags" >&6
3681 fi
3682 LDFLAGS="$saved_LDFLAGS"
3683 echo "$as_me:$LINENO: checking for authenticate" >&5
3684echo $ECHO_N "checking for authenticate... $ECHO_C" >&6
3685if test "${ac_cv_func_authenticate+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3687else
3688 cat >conftest.$ac_ext <<_ACEOF
3689#line $LINENO "configure"
3690/* confdefs.h. */
3691_ACEOF
3692cat confdefs.h >>conftest.$ac_ext
3693cat >>conftest.$ac_ext <<_ACEOF
3694/* end confdefs.h. */
3695/* System header to define __stub macros and hopefully few prototypes,
3696 which can conflict with char authenticate (); below.
3697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3698 <limits.h> exists even on freestanding compilers. */
3699#ifdef __STDC__
3700# include <limits.h>
3701#else
3702# include <assert.h>
3703#endif
3704/* Override any gcc2 internal prototype to avoid an error. */
3705#ifdef __cplusplus
3706extern "C"
3707{
3708#endif
3709/* We use char because int might match the return type of a gcc2
3710 builtin and then its argument prototype would still apply. */
3711char authenticate ();
3712/* The GNU C library defines this for functions which it implements
3713 to always fail with ENOSYS. Some functions are actually named
3714 something starting with __ and the normal name is an alias. */
3715#if defined (__stub_authenticate) || defined (__stub___authenticate)
3716choke me
3717#else
3718char (*f) () = authenticate;
3719#endif
3720#ifdef __cplusplus
3721}
3722#endif
3723
3724int
3725main ()
3726{
3727return f != authenticate;
3728 ;
3729 return 0;
3730}
3731_ACEOF
3732rm -f conftest.$ac_objext conftest$ac_exeext
3733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3734 (eval $ac_link) 2>&5
3735 ac_status=$?
3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); } &&
3738 { ac_try='test -s conftest$ac_exeext'
3739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 (eval $ac_try) 2>&5
3741 ac_status=$?
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); }; }; then
3744 ac_cv_func_authenticate=yes
3745else
3746 echo "$as_me: failed program was:" >&5
3747sed 's/^/| /' conftest.$ac_ext >&5
3748
3749ac_cv_func_authenticate=no
3750fi
3751rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3752fi
3753echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
3754echo "${ECHO_T}$ac_cv_func_authenticate" >&6
3755if test $ac_cv_func_authenticate = yes; then
3756 cat >>confdefs.h <<\_ACEOF
3757@%:@define WITH_AIXAUTHENTICATE 1
3758_ACEOF
3759
3760else
3761 echo "$as_me:$LINENO: checking for authenticate in -ls" >&5
3762echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6
3763if test "${ac_cv_lib_s_authenticate+set}" = set; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3765else
3766 ac_check_lib_save_LIBS=$LIBS
3767LIBS="-ls $LIBS"
3768cat >conftest.$ac_ext <<_ACEOF
3769#line $LINENO "configure"
3770/* confdefs.h. */
3771_ACEOF
3772cat confdefs.h >>conftest.$ac_ext
3773cat >>conftest.$ac_ext <<_ACEOF
3774/* end confdefs.h. */
3775
3776/* Override any gcc2 internal prototype to avoid an error. */
3777#ifdef __cplusplus
3778extern "C"
3779#endif
3780/* We use char because int might match the return type of a gcc2
3781 builtin and then its argument prototype would still apply. */
3782char authenticate ();
3783int
3784main ()
3785{
3786authenticate ();
3787 ;
3788 return 0;
3789}
3790_ACEOF
3791rm -f conftest.$ac_objext conftest$ac_exeext
3792if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793 (eval $ac_link) 2>&5
3794 ac_status=$?
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } &&
3797 { ac_try='test -s conftest$ac_exeext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 (eval $ac_try) 2>&5
3800 ac_status=$?
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 ac_cv_lib_s_authenticate=yes
3804else
3805 echo "$as_me: failed program was:" >&5
3806sed 's/^/| /' conftest.$ac_ext >&5
3807
3808ac_cv_lib_s_authenticate=no
3809fi
3810rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3811LIBS=$ac_check_lib_save_LIBS
3812fi
3813echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5
3814echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6
3815if test $ac_cv_lib_s_authenticate = yes; then
3816 cat >>confdefs.h <<\_ACEOF
3817@%:@define WITH_AIXAUTHENTICATE 1
3818_ACEOF
3819
3820 LIBS="$LIBS -ls"
3821
3822fi
3823
3824
3825fi
3826
3827 cat >>confdefs.h <<\_ACEOF
3828@%:@define BROKEN_GETADDRINFO 1
3829_ACEOF
3830
3831 cat >>confdefs.h <<\_ACEOF
3832@%:@define BROKEN_REALPATH 1
3833_ACEOF
3834
3835 cat >>confdefs.h <<\_ACEOF
3836@%:@define DISABLE_LASTLOG 1
3837_ACEOF
3838
3839 cat >>confdefs.h <<\_ACEOF
3840@%:@define LOGIN_NEEDS_UTMPX 1
3841_ACEOF
3842
3843 cat >>confdefs.h <<\_ACEOF
3844@%:@define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV
3845_ACEOF
3846
3847 cat >>confdefs.h <<\_ACEOF
3848@%:@define SETPROCTITLE_PS_PADDING '\0'
3849_ACEOF
3850
3851 ;;
3852*-*-cygwin*)
3853 check_for_libcrypt_later=1
3854 LIBS="$LIBS /usr/lib/textmode.o"
3855 cat >>confdefs.h <<\_ACEOF
3856@%:@define HAVE_CYGWIN 1
3857_ACEOF
3858
3859 cat >>confdefs.h <<\_ACEOF
3860@%:@define USE_PIPES 1
3861_ACEOF
3862
3863 cat >>confdefs.h <<\_ACEOF
3864@%:@define DISABLE_SHADOW 1
3865_ACEOF
3866
3867 cat >>confdefs.h <<\_ACEOF
3868@%:@define IPV4_DEFAULT 1
3869_ACEOF
3870
3871 cat >>confdefs.h <<\_ACEOF
3872@%:@define IP_TOS_IS_BROKEN 1
3873_ACEOF
3874
3875 cat >>confdefs.h <<\_ACEOF
3876@%:@define NO_X11_UNIX_SOCKETS 1
3877_ACEOF
3878
3879 cat >>confdefs.h <<\_ACEOF
3880@%:@define NO_IPPORT_RESERVED_CONCEPT 1
3881_ACEOF
3882
3883 cat >>confdefs.h <<\_ACEOF
3884@%:@define DISABLE_FD_PASSING 1
3885_ACEOF
3886
3887 cat >>confdefs.h <<\_ACEOF
3888@%:@define SETGROUPS_NOOP 1
3889_ACEOF
3890
3891 ;;
3892*-*-dgux*)
3893 cat >>confdefs.h <<\_ACEOF
3894@%:@define IP_TOS_IS_BROKEN 1
3895_ACEOF
3896
3897 ;;
3898*-*-darwin*)
3899 echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5
3900echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6
3901 if test "$cross_compiling" = yes; then
3902 echo "$as_me:$LINENO: result: assume it is working" >&5
3903echo "${ECHO_T}assume it is working" >&6
3904else
3905 cat >conftest.$ac_ext <<_ACEOF
3906#line $LINENO "configure"
3907/* confdefs.h. */
3908_ACEOF
3909cat confdefs.h >>conftest.$ac_ext
3910cat >>conftest.$ac_ext <<_ACEOF
3911/* end confdefs.h. */
3912#include <mach-o/dyld.h>
3913main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
3914 exit(0);
3915 else
3916 exit(1);
3917}
3918_ACEOF
3919rm -f conftest$ac_exeext
3920if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3921 (eval $ac_link) 2>&5
3922 ac_status=$?
3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 (eval $ac_try) 2>&5
3927 ac_status=$?
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); }; }; then
3930 echo "$as_me:$LINENO: result: working" >&5
3931echo "${ECHO_T}working" >&6
3932else
3933 echo "$as_me: program exited with status $ac_status" >&5
3934echo "$as_me: failed program was:" >&5
3935sed 's/^/| /' conftest.$ac_ext >&5
3936
3937( exit $ac_status )
3938echo "$as_me:$LINENO: result: buggy" >&5
3939echo "${ECHO_T}buggy" >&6
3940 cat >>confdefs.h <<\_ACEOF
3941@%:@define BROKEN_GETADDRINFO 1
3942_ACEOF
3943
3944fi
3945rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3946fi
3947 ;;
3948*-*-hpux10.26)
3949 if test -z "$GCC"; then
3950 CFLAGS="$CFLAGS -Ae"
3951 fi
3952 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3953 IPADDR_IN_DISPLAY=yes
3954 cat >>confdefs.h <<\_ACEOF
3955@%:@define HAVE_SECUREWARE 1
3956_ACEOF
3957
3958 cat >>confdefs.h <<\_ACEOF
3959@%:@define USE_PIPES 1
3960_ACEOF
3961
3962 cat >>confdefs.h <<\_ACEOF
3963@%:@define LOGIN_NO_ENDOPT 1
3964_ACEOF
3965
3966 cat >>confdefs.h <<\_ACEOF
3967@%:@define LOGIN_NEEDS_UTMPX 1
3968_ACEOF
3969
3970 cat >>confdefs.h <<\_ACEOF
3971@%:@define DISABLE_SHADOW 1
3972_ACEOF
3973
3974 cat >>confdefs.h <<\_ACEOF
3975@%:@define DISABLE_UTMP 1
3976_ACEOF
3977
3978 cat >>confdefs.h <<\_ACEOF
3979@%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT
3980_ACEOF
3981
3982 LIBS="$LIBS -lsec -lsecpw"
3983
3984echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3985echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3986if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3988else
3989 ac_check_lib_save_LIBS=$LIBS
3990LIBS="-lxnet $LIBS"
3991cat >conftest.$ac_ext <<_ACEOF
3992#line $LINENO "configure"
3993/* confdefs.h. */
3994_ACEOF
3995cat confdefs.h >>conftest.$ac_ext
3996cat >>conftest.$ac_ext <<_ACEOF
3997/* end confdefs.h. */
3998
3999/* Override any gcc2 internal prototype to avoid an error. */
4000#ifdef __cplusplus
4001extern "C"
4002#endif
4003/* We use char because int might match the return type of a gcc2
4004 builtin and then its argument prototype would still apply. */
4005char t_error ();
4006int
4007main ()
4008{
4009t_error ();
4010 ;
4011 return 0;
4012}
4013_ACEOF
4014rm -f conftest.$ac_objext conftest$ac_exeext
4015if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4016 (eval $ac_link) 2>&5
4017 ac_status=$?
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } &&
4020 { ac_try='test -s conftest$ac_exeext'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022 (eval $ac_try) 2>&5
4023 ac_status=$?
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; }; then
4026 ac_cv_lib_xnet_t_error=yes
4027else
4028 echo "$as_me: failed program was:" >&5
4029sed 's/^/| /' conftest.$ac_ext >&5
4030
4031ac_cv_lib_xnet_t_error=no
4032fi
4033rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4034LIBS=$ac_check_lib_save_LIBS
4035fi
4036echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
4037echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
4038if test $ac_cv_lib_xnet_t_error = yes; then
4039 cat >>confdefs.h <<_ACEOF
4040@%:@define HAVE_LIBXNET 1
4041_ACEOF
4042
4043 LIBS="-lxnet $LIBS"
4044
4045else
4046 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
4047echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
4048 { (exit 1); exit 1; }; }
4049fi
4050
4051 disable_ptmx_check=yes
4052 ;;
4053*-*-hpux10*)
4054 if test -z "$GCC"; then
4055 CFLAGS="$CFLAGS -Ae"
4056 fi
4057 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
4058 IPADDR_IN_DISPLAY=yes
4059 cat >>confdefs.h <<\_ACEOF
4060@%:@define USE_PIPES 1
4061_ACEOF
4062
4063 cat >>confdefs.h <<\_ACEOF
4064@%:@define LOGIN_NO_ENDOPT 1
4065_ACEOF
4066
4067 cat >>confdefs.h <<\_ACEOF
4068@%:@define LOGIN_NEEDS_UTMPX 1
4069_ACEOF
4070
4071 cat >>confdefs.h <<\_ACEOF
4072@%:@define DISABLE_SHADOW 1
4073_ACEOF
4074
4075 cat >>confdefs.h <<\_ACEOF
4076@%:@define DISABLE_UTMP 1
4077_ACEOF
4078
4079 cat >>confdefs.h <<\_ACEOF
4080@%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT
4081_ACEOF
4082
4083 LIBS="$LIBS -lsec"
4084
4085echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
4086echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
4087if test "${ac_cv_lib_xnet_t_error+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4089else
4090 ac_check_lib_save_LIBS=$LIBS
4091LIBS="-lxnet $LIBS"
4092cat >conftest.$ac_ext <<_ACEOF
4093#line $LINENO "configure"
4094/* confdefs.h. */
4095_ACEOF
4096cat confdefs.h >>conftest.$ac_ext
4097cat >>conftest.$ac_ext <<_ACEOF
4098/* end confdefs.h. */
4099
4100/* Override any gcc2 internal prototype to avoid an error. */
4101#ifdef __cplusplus
4102extern "C"
4103#endif
4104/* We use char because int might match the return type of a gcc2
4105 builtin and then its argument prototype would still apply. */
4106char t_error ();
4107int
4108main ()
4109{
4110t_error ();
4111 ;
4112 return 0;
4113}
4114_ACEOF
4115rm -f conftest.$ac_objext conftest$ac_exeext
4116if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4117 (eval $ac_link) 2>&5
4118 ac_status=$?
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); } &&
4121 { ac_try='test -s conftest$ac_exeext'
4122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4123 (eval $ac_try) 2>&5
4124 ac_status=$?
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); }; }; then
4127 ac_cv_lib_xnet_t_error=yes
4128else
4129 echo "$as_me: failed program was:" >&5
4130sed 's/^/| /' conftest.$ac_ext >&5
4131
4132ac_cv_lib_xnet_t_error=no
4133fi
4134rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4135LIBS=$ac_check_lib_save_LIBS
4136fi
4137echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
4138echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
4139if test $ac_cv_lib_xnet_t_error = yes; then
4140 cat >>confdefs.h <<_ACEOF
4141@%:@define HAVE_LIBXNET 1
4142_ACEOF
4143
4144 LIBS="-lxnet $LIBS"
4145
4146else
4147 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
4148echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
4149 { (exit 1); exit 1; }; }
4150fi
4151
4152 ;;
4153*-*-hpux11*)
4154 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
4155 IPADDR_IN_DISPLAY=yes
4156 cat >>confdefs.h <<\_ACEOF
4157@%:@define PAM_SUN_CODEBASE 1
4158_ACEOF
4159
4160 cat >>confdefs.h <<\_ACEOF
4161@%:@define USE_PIPES 1
4162_ACEOF
4163
4164 cat >>confdefs.h <<\_ACEOF
4165@%:@define LOGIN_NO_ENDOPT 1
4166_ACEOF
4167
4168 cat >>confdefs.h <<\_ACEOF
4169@%:@define LOGIN_NEEDS_UTMPX 1
4170_ACEOF
4171
4172 cat >>confdefs.h <<\_ACEOF
4173@%:@define DISABLE_SHADOW 1
4174_ACEOF
4175
4176 cat >>confdefs.h <<\_ACEOF
4177@%:@define DISABLE_UTMP 1
4178_ACEOF
4179
4180 cat >>confdefs.h <<\_ACEOF
4181@%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT
4182_ACEOF
4183
4184 LIBS="$LIBS -lsec"
4185
4186echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
4187echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
4188if test "${ac_cv_lib_xnet_t_error+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4190else
4191 ac_check_lib_save_LIBS=$LIBS
4192LIBS="-lxnet $LIBS"
4193cat >conftest.$ac_ext <<_ACEOF
4194#line $LINENO "configure"
4195/* confdefs.h. */
4196_ACEOF
4197cat confdefs.h >>conftest.$ac_ext
4198cat >>conftest.$ac_ext <<_ACEOF
4199/* end confdefs.h. */
4200
4201/* Override any gcc2 internal prototype to avoid an error. */
4202#ifdef __cplusplus
4203extern "C"
4204#endif
4205/* We use char because int might match the return type of a gcc2
4206 builtin and then its argument prototype would still apply. */
4207char t_error ();
4208int
4209main ()
4210{
4211t_error ();
4212 ;
4213 return 0;
4214}
4215_ACEOF
4216rm -f conftest.$ac_objext conftest$ac_exeext
4217if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4218 (eval $ac_link) 2>&5
4219 ac_status=$?
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } &&
4222 { ac_try='test -s conftest$ac_exeext'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224 (eval $ac_try) 2>&5
4225 ac_status=$?
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; }; then
4228 ac_cv_lib_xnet_t_error=yes
4229else
4230 echo "$as_me: failed program was:" >&5
4231sed 's/^/| /' conftest.$ac_ext >&5
4232
4233ac_cv_lib_xnet_t_error=no
4234fi
4235rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4236LIBS=$ac_check_lib_save_LIBS
4237fi
4238echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
4239echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
4240if test $ac_cv_lib_xnet_t_error = yes; then
4241 cat >>confdefs.h <<_ACEOF
4242@%:@define HAVE_LIBXNET 1
4243_ACEOF
4244
4245 LIBS="-lxnet $LIBS"
4246
4247else
4248 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
4249echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
4250 { (exit 1); exit 1; }; }
4251fi
4252
4253 ;;
4254*-*-irix5*)
4255 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4256 LDFLAGS="$LDFLAGS"
4257 PATH="$PATH:/usr/etc"
4258 cat >>confdefs.h <<\_ACEOF
4259@%:@define BROKEN_INET_NTOA 1
4260_ACEOF
4261
4262 cat >>confdefs.h <<\_ACEOF
4263@%:@define WITH_ABBREV_NO_TTY 1
4264_ACEOF
4265
4266 ;;
4267*-*-irix6*)
4268 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4269 LDFLAGS="$LDFLAGS"
4270 PATH="$PATH:/usr/etc"
4271 cat >>confdefs.h <<\_ACEOF
4272@%:@define WITH_IRIX_ARRAY 1
4273_ACEOF
4274
4275 cat >>confdefs.h <<\_ACEOF
4276@%:@define WITH_IRIX_PROJECT 1
4277_ACEOF
4278
4279 cat >>confdefs.h <<\_ACEOF
4280@%:@define WITH_IRIX_AUDIT 1
4281_ACEOF
4282
4283 echo "$as_me:$LINENO: checking for jlimit_startjob" >&5
4284echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6
4285if test "${ac_cv_func_jlimit_startjob+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4287else
4288 cat >conftest.$ac_ext <<_ACEOF
4289#line $LINENO "configure"
4290/* confdefs.h. */
4291_ACEOF
4292cat confdefs.h >>conftest.$ac_ext
4293cat >>conftest.$ac_ext <<_ACEOF
4294/* end confdefs.h. */
4295/* System header to define __stub macros and hopefully few prototypes,
4296 which can conflict with char jlimit_startjob (); below.
4297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4298 <limits.h> exists even on freestanding compilers. */
4299#ifdef __STDC__
4300# include <limits.h>
4301#else
4302# include <assert.h>
4303#endif
4304/* Override any gcc2 internal prototype to avoid an error. */
4305#ifdef __cplusplus
4306extern "C"
4307{
4308#endif
4309/* We use char because int might match the return type of a gcc2
4310 builtin and then its argument prototype would still apply. */
4311char jlimit_startjob ();
4312/* The GNU C library defines this for functions which it implements
4313 to always fail with ENOSYS. Some functions are actually named
4314 something starting with __ and the normal name is an alias. */
4315#if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob)
4316choke me
4317#else
4318char (*f) () = jlimit_startjob;
4319#endif
4320#ifdef __cplusplus
4321}
4322#endif
4323
4324int
4325main ()
4326{
4327return f != jlimit_startjob;
4328 ;
4329 return 0;
4330}
4331_ACEOF
4332rm -f conftest.$ac_objext conftest$ac_exeext
4333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4334 (eval $ac_link) 2>&5
4335 ac_status=$?
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } &&
4338 { ac_try='test -s conftest$ac_exeext'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4340 (eval $ac_try) 2>&5
4341 ac_status=$?
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; }; then
4344 ac_cv_func_jlimit_startjob=yes
4345else
4346 echo "$as_me: failed program was:" >&5
4347sed 's/^/| /' conftest.$ac_ext >&5
4348
4349ac_cv_func_jlimit_startjob=no
4350fi
4351rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4352fi
4353echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
4354echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
4355if test $ac_cv_func_jlimit_startjob = yes; then
4356 cat >>confdefs.h <<\_ACEOF
4357@%:@define WITH_IRIX_JOBS 1
4358_ACEOF
4359
4360fi
4361
4362 cat >>confdefs.h <<\_ACEOF
4363@%:@define BROKEN_INET_NTOA 1
4364_ACEOF
4365
4366 cat >>confdefs.h <<\_ACEOF
4367@%:@define WITH_ABBREV_NO_TTY 1
4368_ACEOF
4369
4370 ;;
4371*-*-linux*)
4372 no_dev_ptmx=1
4373 check_for_libcrypt_later=1
4374 cat >>confdefs.h <<\_ACEOF
4375@%:@define DONT_TRY_OTHER_AF 1
4376_ACEOF
4377
4378 cat >>confdefs.h <<\_ACEOF
4379@%:@define PAM_TTY_KLUDGE 1
4380_ACEOF
4381
4382 cat >>confdefs.h <<\_ACEOF
4383@%:@define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV
4384_ACEOF
4385
4386 cat >>confdefs.h <<\_ACEOF
4387@%:@define SETPROCTITLE_PS_PADDING '\0'
4388_ACEOF
4389
4390 inet6_default_4in6=yes
4391 ;;
4392mips-sony-bsd|mips-sony-newsos4)
4393 cat >>confdefs.h <<\_ACEOF
4394@%:@define HAVE_NEWS4 1
4395_ACEOF
4396
4397 SONY=1
4398 ;;
4399*-*-netbsd*)
4400 check_for_libcrypt_before=1
4401 need_dash_r=1
4402 ;;
4403*-*-freebsd*)
4404 check_for_libcrypt_later=1
4405 ;;
4406*-next-*)
4407 conf_lastlog_location="/usr/adm/lastlog"
4408 conf_utmp_location=/etc/utmp
4409 conf_wtmp_location=/usr/adm/wtmp
4410 MAIL=/usr/spool/mail
4411 cat >>confdefs.h <<\_ACEOF
4412@%:@define HAVE_NEXT 1
4413_ACEOF
4414
4415 cat >>confdefs.h <<\_ACEOF
4416@%:@define BROKEN_REALPATH 1
4417_ACEOF
4418
4419 cat >>confdefs.h <<\_ACEOF
4420@%:@define USE_PIPES 1
4421_ACEOF
4422
4423 cat >>confdefs.h <<\_ACEOF
4424@%:@define BROKEN_SAVED_UIDS 1
4425_ACEOF
4426
4427 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4428 CFLAGS="$CFLAGS"
4429 ;;
4430*-*-solaris*)
4431 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4432 LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
4433 need_dash_r=1
4434 cat >>confdefs.h <<\_ACEOF
4435@%:@define PAM_SUN_CODEBASE 1
4436_ACEOF
4437
4438 cat >>confdefs.h <<\_ACEOF
4439@%:@define LOGIN_NEEDS_UTMPX 1
4440_ACEOF
4441
4442 cat >>confdefs.h <<\_ACEOF
4443@%:@define LOGIN_NEEDS_TERM 1
4444_ACEOF
4445
4446 cat >>confdefs.h <<\_ACEOF
4447@%:@define PAM_TTY_KLUDGE 1
4448_ACEOF
4449
4450 cat >>confdefs.h <<\_ACEOF
4451@%:@define STREAMS_PUSH_ACQUIRES_CTTY 1
4452_ACEOF
4453
4454 # hardwire lastlog location (can't detect it on some versions)
4455 conf_lastlog_location="/var/adm/lastlog"
4456 echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
4457echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6
4458 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
4459 if test "$sol2ver" -ge 8; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461echo "${ECHO_T}yes" >&6
4462 cat >>confdefs.h <<\_ACEOF
4463@%:@define DISABLE_UTMP 1
4464_ACEOF
4465
4466 cat >>confdefs.h <<\_ACEOF
4467@%:@define DISABLE_WTMP 1
4468_ACEOF
4469
4470 else
4471 echo "$as_me:$LINENO: result: no" >&5
4472echo "${ECHO_T}no" >&6
4473 fi
4474 ;;
4475*-*-sunos4*)
4476 CPPFLAGS="$CPPFLAGS -DSUNOS4"
4477
4478for ac_func in getpwanam
4479do
4480as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4481echo "$as_me:$LINENO: checking for $ac_func" >&5
4482echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4483if eval "test \"\${$as_ac_var+set}\" = set"; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4485else
4486 cat >conftest.$ac_ext <<_ACEOF
4487#line $LINENO "configure"
4488/* confdefs.h. */
4489_ACEOF
4490cat confdefs.h >>conftest.$ac_ext
4491cat >>conftest.$ac_ext <<_ACEOF
4492/* end confdefs.h. */
4493/* System header to define __stub macros and hopefully few prototypes,
4494 which can conflict with char $ac_func (); below.
4495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4496 <limits.h> exists even on freestanding compilers. */
4497#ifdef __STDC__
4498# include <limits.h>
4499#else
4500# include <assert.h>
4501#endif
4502/* Override any gcc2 internal prototype to avoid an error. */
4503#ifdef __cplusplus
4504extern "C"
4505{
4506#endif
4507/* We use char because int might match the return type of a gcc2
4508 builtin and then its argument prototype would still apply. */
4509char $ac_func ();
4510/* The GNU C library defines this for functions which it implements
4511 to always fail with ENOSYS. Some functions are actually named
4512 something starting with __ and the normal name is an alias. */
4513#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4514choke me
4515#else
4516char (*f) () = $ac_func;
4517#endif
4518#ifdef __cplusplus
4519}
4520#endif
4521
4522int
4523main ()
4524{
4525return f != $ac_func;
4526 ;
4527 return 0;
4528}
4529_ACEOF
4530rm -f conftest.$ac_objext conftest$ac_exeext
4531if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4532 (eval $ac_link) 2>&5
4533 ac_status=$?
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } &&
4536 { ac_try='test -s conftest$ac_exeext'
4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4538 (eval $ac_try) 2>&5
4539 ac_status=$?
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }; }; then
4542 eval "$as_ac_var=yes"
4543else
4544 echo "$as_me: failed program was:" >&5
4545sed 's/^/| /' conftest.$ac_ext >&5
4546
4547eval "$as_ac_var=no"
4548fi
4549rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4550fi
4551echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4552echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4553if test `eval echo '${'$as_ac_var'}'` = yes; then
4554 cat >>confdefs.h <<_ACEOF
4555@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4556_ACEOF
4557
4558fi
4559done
4560
4561 cat >>confdefs.h <<\_ACEOF
4562@%:@define PAM_SUN_CODEBASE 1
4563_ACEOF
4564
4565 conf_utmp_location=/etc/utmp
4566 conf_wtmp_location=/var/adm/wtmp
4567 conf_lastlog_location=/var/adm/lastlog
4568 cat >>confdefs.h <<\_ACEOF
4569@%:@define USE_PIPES 1
4570_ACEOF
4571
4572 ;;
4573*-ncr-sysv*)
4574 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4575 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4576 LIBS="$LIBS -lc89"
4577 cat >>confdefs.h <<\_ACEOF
4578@%:@define USE_PIPES 1
4579_ACEOF
4580
4581 ;;
4582*-sni-sysv*)
4583 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4584 # /usr/ucblib MUST NOT be searched on ReliantUNIX
4585 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4586 IPADDR_IN_DISPLAY=yes
4587 cat >>confdefs.h <<\_ACEOF
4588@%:@define USE_PIPES 1
4589_ACEOF
4590
4591 cat >>confdefs.h <<\_ACEOF
4592@%:@define IP_TOS_IS_BROKEN 1
4593_ACEOF
4594
4595 # /usr/ucblib/libucb.a no longer needed on ReliantUNIX
4596 # Attention: always take care to bind libsocket and libnsl before libc,
4597 # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog
4598 ;;
4599*-*-sysv4.2*)
4600 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4601 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4602 cat >>confdefs.h <<\_ACEOF
4603@%:@define USE_PIPES 1
4604_ACEOF
4605
4606 ;;
4607*-*-sysv5*)
4608 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4609 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4610 cat >>confdefs.h <<\_ACEOF
4611@%:@define USE_PIPES 1
4612_ACEOF
4613
4614 ;;
4615*-*-sysv*)
4616 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4617 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4618 ;;
4619*-*-sco3.2v4*)
4620 CPPFLAGS="$CPPFLAGS -Dftruncate=chsize -I/usr/local/include"
4621 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4622 LIBS="$LIBS -los -lprot -lx -ltinfo -lm"
4623 RANLIB=true
4624 no_dev_ptmx=1
4625 cat >>confdefs.h <<\_ACEOF
4626@%:@define BROKEN_SYS_TERMIO_H 1
4627_ACEOF
4628
4629 cat >>confdefs.h <<\_ACEOF
4630@%:@define USE_PIPES 1
4631_ACEOF
4632
4633 cat >>confdefs.h <<\_ACEOF
4634@%:@define HAVE_SECUREWARE 1
4635_ACEOF
4636
4637 cat >>confdefs.h <<\_ACEOF
4638@%:@define DISABLE_SHADOW 1
4639_ACEOF
4640
4641 cat >>confdefs.h <<\_ACEOF
4642@%:@define BROKEN_SAVED_UIDS 1
4643_ACEOF
4644
4645
4646
4647for ac_func in getluid setluid
4648do
4649as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4650echo "$as_me:$LINENO: checking for $ac_func" >&5
4651echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4652if eval "test \"\${$as_ac_var+set}\" = set"; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4654else
4655 cat >conftest.$ac_ext <<_ACEOF
4656#line $LINENO "configure"
4657/* confdefs.h. */
4658_ACEOF
4659cat confdefs.h >>conftest.$ac_ext
4660cat >>conftest.$ac_ext <<_ACEOF
4661/* end confdefs.h. */
4662/* System header to define __stub macros and hopefully few prototypes,
4663 which can conflict with char $ac_func (); below.
4664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665 <limits.h> exists even on freestanding compilers. */
4666#ifdef __STDC__
4667# include <limits.h>
4668#else
4669# include <assert.h>
4670#endif
4671/* Override any gcc2 internal prototype to avoid an error. */
4672#ifdef __cplusplus
4673extern "C"
4674{
4675#endif
4676/* We use char because int might match the return type of a gcc2
4677 builtin and then its argument prototype would still apply. */
4678char $ac_func ();
4679/* The GNU C library defines this for functions which it implements
4680 to always fail with ENOSYS. Some functions are actually named
4681 something starting with __ and the normal name is an alias. */
4682#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4683choke me
4684#else
4685char (*f) () = $ac_func;
4686#endif
4687#ifdef __cplusplus
4688}
4689#endif
4690
4691int
4692main ()
4693{
4694return f != $ac_func;
4695 ;
4696 return 0;
4697}
4698_ACEOF
4699rm -f conftest.$ac_objext conftest$ac_exeext
4700if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4701 (eval $ac_link) 2>&5
4702 ac_status=$?
4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4704 (exit $ac_status); } &&
4705 { ac_try='test -s conftest$ac_exeext'
4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 (eval $ac_try) 2>&5
4708 ac_status=$?
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); }; }; then
4711 eval "$as_ac_var=yes"
4712else
4713 echo "$as_me: failed program was:" >&5
4714sed 's/^/| /' conftest.$ac_ext >&5
4715
4716eval "$as_ac_var=no"
4717fi
4718rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4719fi
4720echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4721echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4722if test `eval echo '${'$as_ac_var'}'` = yes; then
4723 cat >>confdefs.h <<_ACEOF
4724@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4725_ACEOF
4726
4727fi
4728done
4729
4730 MANTYPE=man
4731 do_sco3_extra_lib_check=yes
4732 ;;
4733*-*-sco3.2v5*)
4734 if test -z "$GCC"; then
4735 CFLAGS="$CFLAGS -belf"
4736 fi
4737 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4738 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4739 LIBS="$LIBS -lprot -lx -ltinfo -lm"
4740 no_dev_ptmx=1
4741 cat >>confdefs.h <<\_ACEOF
4742@%:@define USE_PIPES 1
4743_ACEOF
4744
4745 cat >>confdefs.h <<\_ACEOF
4746@%:@define HAVE_SECUREWARE 1
4747_ACEOF
4748
4749 cat >>confdefs.h <<\_ACEOF
4750@%:@define DISABLE_SHADOW 1
4751_ACEOF
4752
4753 cat >>confdefs.h <<\_ACEOF
4754@%:@define DISABLE_FD_PASSING 1
4755_ACEOF
4756
4757
4758
4759for ac_func in getluid setluid
4760do
4761as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4762echo "$as_me:$LINENO: checking for $ac_func" >&5
4763echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4764if eval "test \"\${$as_ac_var+set}\" = set"; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4766else
4767 cat >conftest.$ac_ext <<_ACEOF
4768#line $LINENO "configure"
4769/* confdefs.h. */
4770_ACEOF
4771cat confdefs.h >>conftest.$ac_ext
4772cat >>conftest.$ac_ext <<_ACEOF
4773/* end confdefs.h. */
4774/* System header to define __stub macros and hopefully few prototypes,
4775 which can conflict with char $ac_func (); below.
4776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4777 <limits.h> exists even on freestanding compilers. */
4778#ifdef __STDC__
4779# include <limits.h>
4780#else
4781# include <assert.h>
4782#endif
4783/* Override any gcc2 internal prototype to avoid an error. */
4784#ifdef __cplusplus
4785extern "C"
4786{
4787#endif
4788/* We use char because int might match the return type of a gcc2
4789 builtin and then its argument prototype would still apply. */
4790char $ac_func ();
4791/* The GNU C library defines this for functions which it implements
4792 to always fail with ENOSYS. Some functions are actually named
4793 something starting with __ and the normal name is an alias. */
4794#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4795choke me
4796#else
4797char (*f) () = $ac_func;
4798#endif
4799#ifdef __cplusplus
4800}
4801#endif
4802
4803int
4804main ()
4805{
4806return f != $ac_func;
4807 ;
4808 return 0;
4809}
4810_ACEOF
4811rm -f conftest.$ac_objext conftest$ac_exeext
4812if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4813 (eval $ac_link) 2>&5
4814 ac_status=$?
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } &&
4817 { ac_try='test -s conftest$ac_exeext'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819 (eval $ac_try) 2>&5
4820 ac_status=$?
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; }; then
4823 eval "$as_ac_var=yes"
4824else
4825 echo "$as_me: failed program was:" >&5
4826sed 's/^/| /' conftest.$ac_ext >&5
4827
4828eval "$as_ac_var=no"
4829fi
4830rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4831fi
4832echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4833echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4834if test `eval echo '${'$as_ac_var'}'` = yes; then
4835 cat >>confdefs.h <<_ACEOF
4836@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4837_ACEOF
4838
4839fi
4840done
4841
4842 MANTYPE=man
4843 ;;
4844*-*-unicosmk*)
4845 cat >>confdefs.h <<\_ACEOF
4846@%:@define USE_PIPES 1
4847_ACEOF
4848
4849 cat >>confdefs.h <<\_ACEOF
4850@%:@define DISABLE_FD_PASSING 1
4851_ACEOF
4852
4853 LDFLAGS="$LDFLAGS"
4854 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
4855 MANTYPE=cat
4856 ;;
4857*-*-unicos*)
4858 cat >>confdefs.h <<\_ACEOF
4859@%:@define USE_PIPES 1
4860_ACEOF
4861
4862 cat >>confdefs.h <<\_ACEOF
4863@%:@define DISABLE_FD_PASSING 1
4864_ACEOF
4865
4866 cat >>confdefs.h <<\_ACEOF
4867@%:@define NO_SSH_LASTLOG 1
4868_ACEOF
4869
4870 LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
4871 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
4872 MANTYPE=cat
4873 ;;
4874*-dec-osf*)
4875 echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5
4876echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6
4877 no_osfsia=""
4878
4879# Check whether --with-osfsia or --without-osfsia was given.
4880if test "${with_osfsia+set}" = set; then
4881 withval="$with_osfsia"
4882
4883 if test "x$withval" = "xno" ; then
4884 echo "$as_me:$LINENO: result: disabled" >&5
4885echo "${ECHO_T}disabled" >&6
4886 no_osfsia=1
4887 fi
4888
4889fi;
4890 if test -z "$no_osfsia" ; then
4891 if test -f /etc/sia/matrix.conf; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893echo "${ECHO_T}yes" >&6
4894 cat >>confdefs.h <<\_ACEOF
4895@%:@define HAVE_OSF_SIA 1
4896_ACEOF
4897
4898 cat >>confdefs.h <<\_ACEOF
4899@%:@define DISABLE_LOGIN 1
4900_ACEOF
4901
4902 cat >>confdefs.h <<\_ACEOF
4903@%:@define DISABLE_FD_PASSING 1
4904_ACEOF
4905
4906 LIBS="$LIBS -lsecurity -ldb -lm -laud"
4907 else
4908 echo "$as_me:$LINENO: result: no" >&5
4909echo "${ECHO_T}no" >&6
4910 fi
4911 fi
4912 cat >>confdefs.h <<\_ACEOF
4913@%:@define DISABLE_FD_PASSING 1
4914_ACEOF
4915
4916 ;;
4917
4918*-*-nto-qnx)
4919 cat >>confdefs.h <<\_ACEOF
4920@%:@define USE_PIPES 1
4921_ACEOF
4922
4923 cat >>confdefs.h <<\_ACEOF
4924@%:@define NO_X11_UNIX_SOCKETS 1
4925_ACEOF
4926
4927 cat >>confdefs.h <<\_ACEOF
4928@%:@define MISSING_NFDBITS 1
4929_ACEOF
4930
4931 cat >>confdefs.h <<\_ACEOF
4932@%:@define MISSING_HOWMANY 1
4933_ACEOF
4934
4935 cat >>confdefs.h <<\_ACEOF
4936@%:@define MISSING_FD_MASK 1
4937_ACEOF
4938
4939 ;;
4940esac
4941
4942# Allow user to specify flags
4943
4944# Check whether --with-cflags or --without-cflags was given.
4945if test "${with_cflags+set}" = set; then
4946 withval="$with_cflags"
4947
4948 if test "x$withval" != "xno" ; then
4949 CFLAGS="$CFLAGS $withval"
4950 fi
4951
4952
4953fi;
4954
4955# Check whether --with-cppflags or --without-cppflags was given.
4956if test "${with_cppflags+set}" = set; then
4957 withval="$with_cppflags"
4958
4959 if test "x$withval" != "xno"; then
4960 CPPFLAGS="$CPPFLAGS $withval"
4961 fi
4962
4963
4964fi;
4965
4966# Check whether --with-ldflags or --without-ldflags was given.
4967if test "${with_ldflags+set}" = set; then
4968 withval="$with_ldflags"
4969
4970 if test "x$withval" != "xno" ; then
4971 LDFLAGS="$LDFLAGS $withval"
4972 fi
4973
4974
4975fi;
4976
4977# Check whether --with-libs or --without-libs was given.
4978if test "${with_libs+set}" = set; then
4979 withval="$with_libs"
4980
4981 if test "x$withval" != "xno" ; then
4982 LIBS="$LIBS $withval"
4983 fi
4984
4985
4986fi;
4987
4988# Checks for header files.
4989
4990echo "$as_me:$LINENO: checking for egrep" >&5
4991echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4992if test "${ac_cv_prog_egrep+set}" = set; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4994else
4995 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4996 then ac_cv_prog_egrep='grep -E'
4997 else ac_cv_prog_egrep='egrep'
4998 fi
4999fi
5000echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5001echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5002 EGREP=$ac_cv_prog_egrep
5003
5004
5005echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5006echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5007if test "${ac_cv_header_stdc+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5009else
5010 cat >conftest.$ac_ext <<_ACEOF
5011#line $LINENO "configure"
5012/* confdefs.h. */
5013_ACEOF
5014cat confdefs.h >>conftest.$ac_ext
5015cat >>conftest.$ac_ext <<_ACEOF
5016/* end confdefs.h. */
5017#include <stdlib.h>
5018#include <stdarg.h>
5019#include <string.h>
5020#include <float.h>
5021
5022int
5023main ()
5024{
5025
5026 ;
5027 return 0;
5028}
5029_ACEOF
5030rm -f conftest.$ac_objext
5031if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5032 (eval $ac_compile) 2>&5
5033 ac_status=$?
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try='test -s conftest.$ac_objext'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5038 (eval $ac_try) 2>&5
5039 ac_status=$?
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; }; then
5042 ac_cv_header_stdc=yes
5043else
5044 echo "$as_me: failed program was:" >&5
5045sed 's/^/| /' conftest.$ac_ext >&5
5046
5047ac_cv_header_stdc=no
5048fi
5049rm -f conftest.$ac_objext conftest.$ac_ext
5050
5051if test $ac_cv_header_stdc = yes; then
5052 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5053 cat >conftest.$ac_ext <<_ACEOF
5054#line $LINENO "configure"
5055/* confdefs.h. */
5056_ACEOF
5057cat confdefs.h >>conftest.$ac_ext
5058cat >>conftest.$ac_ext <<_ACEOF
5059/* end confdefs.h. */
5060#include <string.h>
5061
5062_ACEOF
5063if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5064 $EGREP "memchr" >/dev/null 2>&1; then
5065 :
5066else
5067 ac_cv_header_stdc=no
5068fi
5069rm -f conftest*
5070
5071fi
5072
5073if test $ac_cv_header_stdc = yes; then
5074 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5075 cat >conftest.$ac_ext <<_ACEOF
5076#line $LINENO "configure"
5077/* confdefs.h. */
5078_ACEOF
5079cat confdefs.h >>conftest.$ac_ext
5080cat >>conftest.$ac_ext <<_ACEOF
5081/* end confdefs.h. */
5082#include <stdlib.h>
5083
5084_ACEOF
5085if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5086 $EGREP "free" >/dev/null 2>&1; then
5087 :
5088else
5089 ac_cv_header_stdc=no
5090fi
5091rm -f conftest*
5092
5093fi
5094
5095if test $ac_cv_header_stdc = yes; then
5096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5097 if test "$cross_compiling" = yes; then
5098 :
5099else
5100 cat >conftest.$ac_ext <<_ACEOF
5101#line $LINENO "configure"
5102/* confdefs.h. */
5103_ACEOF
5104cat confdefs.h >>conftest.$ac_ext
5105cat >>conftest.$ac_ext <<_ACEOF
5106/* end confdefs.h. */
5107#include <ctype.h>
5108#if ((' ' & 0x0FF) == 0x020)
5109# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5110# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5111#else
5112# define ISLOWER(c) \
5113 (('a' <= (c) && (c) <= 'i') \
5114 || ('j' <= (c) && (c) <= 'r') \
5115 || ('s' <= (c) && (c) <= 'z'))
5116# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5117#endif
5118
5119#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5120int
5121main ()
5122{
5123 int i;
5124 for (i = 0; i < 256; i++)
5125 if (XOR (islower (i), ISLOWER (i))
5126 || toupper (i) != TOUPPER (i))
5127 exit(2);
5128 exit (0);
5129}
5130_ACEOF
5131rm -f conftest$ac_exeext
5132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5133 (eval $ac_link) 2>&5
5134 ac_status=$?
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5138 (eval $ac_try) 2>&5
5139 ac_status=$?
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; }; then
5142 :
5143else
5144 echo "$as_me: program exited with status $ac_status" >&5
5145echo "$as_me: failed program was:" >&5
5146sed 's/^/| /' conftest.$ac_ext >&5
5147
5148( exit $ac_status )
5149ac_cv_header_stdc=no
5150fi
5151rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5152fi
5153fi
5154fi
5155echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5156echo "${ECHO_T}$ac_cv_header_stdc" >&6
5157if test $ac_cv_header_stdc = yes; then
5158
5159cat >>confdefs.h <<\_ACEOF
5160@%:@define STDC_HEADERS 1
5161_ACEOF
5162
5163fi
5164
5165# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5176 inttypes.h stdint.h unistd.h
5177do
5178as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5179echo "$as_me:$LINENO: checking for $ac_header" >&5
5180echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5181if eval "test \"\${$as_ac_Header+set}\" = set"; then
5182 echo $ECHO_N "(cached) $ECHO_C" >&6
5183else
5184 cat >conftest.$ac_ext <<_ACEOF
5185#line $LINENO "configure"
5186/* confdefs.h. */
5187_ACEOF
5188cat confdefs.h >>conftest.$ac_ext
5189cat >>conftest.$ac_ext <<_ACEOF
5190/* end confdefs.h. */
5191$ac_includes_default
5192
5193@%:@include <$ac_header>
5194_ACEOF
5195rm -f conftest.$ac_objext
5196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5197 (eval $ac_compile) 2>&5
5198 ac_status=$?
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } &&
5201 { ac_try='test -s conftest.$ac_objext'
5202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 (eval $ac_try) 2>&5
5204 ac_status=$?
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); }; }; then
5207 eval "$as_ac_Header=yes"
5208else
5209 echo "$as_me: failed program was:" >&5
5210sed 's/^/| /' conftest.$ac_ext >&5
5211
5212eval "$as_ac_Header=no"
5213fi
5214rm -f conftest.$ac_objext conftest.$ac_ext
5215fi
5216echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5217echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5218if test `eval echo '${'$as_ac_Header'}'` = yes; then
5219 cat >>confdefs.h <<_ACEOF
5220@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5221_ACEOF
5222
5223fi
5224
5225done
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273for ac_header in bstring.h crypt.h endian.h floatingpoint.h \
5274 getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \
5275 login_cap.h maillock.h netdb.h netgroup.h \
5276 netinet/in_systm.h paths.h pty.h readpassphrase.h \
5277 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
5278 strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \
5279 sys/mman.h sys/pstat.h sys/select.h sys/stat.h \
5280 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \
5281 sys/un.h time.h tmpdir.h ttyent.h usersec.h \
5282 util.h utime.h utmp.h utmpx.h
5283do
5284as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5285if eval "test \"\${$as_ac_Header+set}\" = set"; then
5286 echo "$as_me:$LINENO: checking for $ac_header" >&5
5287echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5288if eval "test \"\${$as_ac_Header+set}\" = set"; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5290fi
5291echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5292echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5293else
5294 # Is the header compilable?
5295echo "$as_me:$LINENO: checking $ac_header usability" >&5
5296echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5297cat >conftest.$ac_ext <<_ACEOF
5298#line $LINENO "configure"
5299/* confdefs.h. */
5300_ACEOF
5301cat confdefs.h >>conftest.$ac_ext
5302cat >>conftest.$ac_ext <<_ACEOF
5303/* end confdefs.h. */
5304$ac_includes_default
5305@%:@include <$ac_header>
5306_ACEOF
5307rm -f conftest.$ac_objext
5308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5309 (eval $ac_compile) 2>&5
5310 ac_status=$?
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); } &&
5313 { ac_try='test -s conftest.$ac_objext'
5314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5315 (eval $ac_try) 2>&5
5316 ac_status=$?
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); }; }; then
5319 ac_header_compiler=yes
5320else
5321 echo "$as_me: failed program was:" >&5
5322sed 's/^/| /' conftest.$ac_ext >&5
5323
5324ac_header_compiler=no
5325fi
5326rm -f conftest.$ac_objext conftest.$ac_ext
5327echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5328echo "${ECHO_T}$ac_header_compiler" >&6
5329
5330# Is the header present?
5331echo "$as_me:$LINENO: checking $ac_header presence" >&5
5332echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5333cat >conftest.$ac_ext <<_ACEOF
5334#line $LINENO "configure"
5335/* confdefs.h. */
5336_ACEOF
5337cat confdefs.h >>conftest.$ac_ext
5338cat >>conftest.$ac_ext <<_ACEOF
5339/* end confdefs.h. */
5340@%:@include <$ac_header>
5341_ACEOF
5342if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5344 ac_status=$?
5345 grep -v '^ *+' conftest.er1 >conftest.err
5346 rm -f conftest.er1
5347 cat conftest.err >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } >/dev/null; then
5350 if test -s conftest.err; then
5351 ac_cpp_err=$ac_c_preproc_warn_flag
5352 else
5353 ac_cpp_err=
5354 fi
5355else
5356 ac_cpp_err=yes
5357fi
5358if test -z "$ac_cpp_err"; then
5359 ac_header_preproc=yes
5360else
5361 echo "$as_me: failed program was:" >&5
5362sed 's/^/| /' conftest.$ac_ext >&5
5363
5364 ac_header_preproc=no
5365fi
5366rm -f conftest.err conftest.$ac_ext
5367echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5368echo "${ECHO_T}$ac_header_preproc" >&6
5369
5370# So? What about this header?
5371case $ac_header_compiler:$ac_header_preproc in
5372 yes:no )
5373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5374echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5376echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5377 (
5378 cat <<\_ASBOX
5379@%:@@%:@ ------------------------------------ @%:@@%:@
5380@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
5381@%:@@%:@ ------------------------------------ @%:@@%:@
5382_ASBOX
5383 ) |
5384 sed "s/^/$as_me: WARNING: /" >&2
5385 ;;
5386 no:yes )
5387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5388echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5390echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5392echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5393 (
5394 cat <<\_ASBOX
5395@%:@@%:@ ------------------------------------ @%:@@%:@
5396@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
5397@%:@@%:@ ------------------------------------ @%:@@%:@
5398_ASBOX
5399 ) |
5400 sed "s/^/$as_me: WARNING: /" >&2
5401 ;;
5402esac
5403echo "$as_me:$LINENO: checking for $ac_header" >&5
5404echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5405if eval "test \"\${$as_ac_Header+set}\" = set"; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5407else
5408 eval "$as_ac_Header=$ac_header_preproc"
5409fi
5410echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5411echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5412
5413fi
5414if test `eval echo '${'$as_ac_Header'}'` = yes; then
5415 cat >>confdefs.h <<_ACEOF
5416@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5417_ACEOF
5418
5419fi
5420
5421done
5422
5423
5424# Checks for libraries.
5425echo "$as_me:$LINENO: checking for yp_match" >&5
5426echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
5427if test "${ac_cv_func_yp_match+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5429else
5430 cat >conftest.$ac_ext <<_ACEOF
5431#line $LINENO "configure"
5432/* confdefs.h. */
5433_ACEOF
5434cat confdefs.h >>conftest.$ac_ext
5435cat >>conftest.$ac_ext <<_ACEOF
5436/* end confdefs.h. */
5437/* System header to define __stub macros and hopefully few prototypes,
5438 which can conflict with char yp_match (); below.
5439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5440 <limits.h> exists even on freestanding compilers. */
5441#ifdef __STDC__
5442# include <limits.h>
5443#else
5444# include <assert.h>
5445#endif
5446/* Override any gcc2 internal prototype to avoid an error. */
5447#ifdef __cplusplus
5448extern "C"
5449{
5450#endif
5451/* We use char because int might match the return type of a gcc2
5452 builtin and then its argument prototype would still apply. */
5453char yp_match ();
5454/* The GNU C library defines this for functions which it implements
5455 to always fail with ENOSYS. Some functions are actually named
5456 something starting with __ and the normal name is an alias. */
5457#if defined (__stub_yp_match) || defined (__stub___yp_match)
5458choke me
5459#else
5460char (*f) () = yp_match;
5461#endif
5462#ifdef __cplusplus
5463}
5464#endif
5465
5466int
5467main ()
5468{
5469return f != yp_match;
5470 ;
5471 return 0;
5472}
5473_ACEOF
5474rm -f conftest.$ac_objext conftest$ac_exeext
5475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5476 (eval $ac_link) 2>&5
5477 ac_status=$?
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try='test -s conftest$ac_exeext'
5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5482 (eval $ac_try) 2>&5
5483 ac_status=$?
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; }; then
5486 ac_cv_func_yp_match=yes
5487else
5488 echo "$as_me: failed program was:" >&5
5489sed 's/^/| /' conftest.$ac_ext >&5
5490
5491ac_cv_func_yp_match=no
5492fi
5493rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5494fi
5495echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5
5496echo "${ECHO_T}$ac_cv_func_yp_match" >&6
5497if test $ac_cv_func_yp_match = yes; then
5498 :
5499else
5500
5501echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
5502echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6
5503if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
5504 echo $ECHO_N "(cached) $ECHO_C" >&6
5505else
5506 ac_check_lib_save_LIBS=$LIBS
5507LIBS="-lnsl $LIBS"
5508cat >conftest.$ac_ext <<_ACEOF
5509#line $LINENO "configure"
5510/* confdefs.h. */
5511_ACEOF
5512cat confdefs.h >>conftest.$ac_ext
5513cat >>conftest.$ac_ext <<_ACEOF
5514/* end confdefs.h. */
5515
5516/* Override any gcc2 internal prototype to avoid an error. */
5517#ifdef __cplusplus
5518extern "C"
5519#endif
5520/* We use char because int might match the return type of a gcc2
5521 builtin and then its argument prototype would still apply. */
5522char yp_match ();
5523int
5524main ()
5525{
5526yp_match ();
5527 ;
5528 return 0;
5529}
5530_ACEOF
5531rm -f conftest.$ac_objext conftest$ac_exeext
5532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5533 (eval $ac_link) 2>&5
5534 ac_status=$?
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); } &&
5537 { ac_try='test -s conftest$ac_exeext'
5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539 (eval $ac_try) 2>&5
5540 ac_status=$?
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; }; then
5543 ac_cv_lib_nsl_yp_match=yes
5544else
5545 echo "$as_me: failed program was:" >&5
5546sed 's/^/| /' conftest.$ac_ext >&5
5547
5548ac_cv_lib_nsl_yp_match=no
5549fi
5550rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5551LIBS=$ac_check_lib_save_LIBS
5552fi
5553echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
5554echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6
5555if test $ac_cv_lib_nsl_yp_match = yes; then
5556 cat >>confdefs.h <<_ACEOF
5557@%:@define HAVE_LIBNSL 1
5558_ACEOF
5559
5560 LIBS="-lnsl $LIBS"
5561
5562fi
5563
5564fi
5565
5566echo "$as_me:$LINENO: checking for setsockopt" >&5
5567echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
5568if test "${ac_cv_func_setsockopt+set}" = set; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5570else
5571 cat >conftest.$ac_ext <<_ACEOF
5572#line $LINENO "configure"
5573/* confdefs.h. */
5574_ACEOF
5575cat confdefs.h >>conftest.$ac_ext
5576cat >>conftest.$ac_ext <<_ACEOF
5577/* end confdefs.h. */
5578/* System header to define __stub macros and hopefully few prototypes,
5579 which can conflict with char setsockopt (); below.
5580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5581 <limits.h> exists even on freestanding compilers. */
5582#ifdef __STDC__
5583# include <limits.h>
5584#else
5585# include <assert.h>
5586#endif
5587/* Override any gcc2 internal prototype to avoid an error. */
5588#ifdef __cplusplus
5589extern "C"
5590{
5591#endif
5592/* We use char because int might match the return type of a gcc2
5593 builtin and then its argument prototype would still apply. */
5594char setsockopt ();
5595/* The GNU C library defines this for functions which it implements
5596 to always fail with ENOSYS. Some functions are actually named
5597 something starting with __ and the normal name is an alias. */
5598#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
5599choke me
5600#else
5601char (*f) () = setsockopt;
5602#endif
5603#ifdef __cplusplus
5604}
5605#endif
5606
5607int
5608main ()
5609{
5610return f != setsockopt;
5611 ;
5612 return 0;
5613}
5614_ACEOF
5615rm -f conftest.$ac_objext conftest$ac_exeext
5616if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5617 (eval $ac_link) 2>&5
5618 ac_status=$?
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); } &&
5621 { ac_try='test -s conftest$ac_exeext'
5622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5623 (eval $ac_try) 2>&5
5624 ac_status=$?
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); }; }; then
5627 ac_cv_func_setsockopt=yes
5628else
5629 echo "$as_me: failed program was:" >&5
5630sed 's/^/| /' conftest.$ac_ext >&5
5631
5632ac_cv_func_setsockopt=no
5633fi
5634rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5635fi
5636echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
5637echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
5638if test $ac_cv_func_setsockopt = yes; then
5639 :
5640else
5641
5642echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
5643echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
5644if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5646else
5647 ac_check_lib_save_LIBS=$LIBS
5648LIBS="-lsocket $LIBS"
5649cat >conftest.$ac_ext <<_ACEOF
5650#line $LINENO "configure"
5651/* confdefs.h. */
5652_ACEOF
5653cat confdefs.h >>conftest.$ac_ext
5654cat >>conftest.$ac_ext <<_ACEOF
5655/* end confdefs.h. */
5656
5657/* Override any gcc2 internal prototype to avoid an error. */
5658#ifdef __cplusplus
5659extern "C"
5660#endif
5661/* We use char because int might match the return type of a gcc2
5662 builtin and then its argument prototype would still apply. */
5663char setsockopt ();
5664int
5665main ()
5666{
5667setsockopt ();
5668 ;
5669 return 0;
5670}
5671_ACEOF
5672rm -f conftest.$ac_objext conftest$ac_exeext
5673if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5674 (eval $ac_link) 2>&5
5675 ac_status=$?
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } &&
5678 { ac_try='test -s conftest$ac_exeext'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5680 (eval $ac_try) 2>&5
5681 ac_status=$?
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; }; then
5684 ac_cv_lib_socket_setsockopt=yes
5685else
5686 echo "$as_me: failed program was:" >&5
5687sed 's/^/| /' conftest.$ac_ext >&5
5688
5689ac_cv_lib_socket_setsockopt=no
5690fi
5691rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5692LIBS=$ac_check_lib_save_LIBS
5693fi
5694echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
5695echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
5696if test $ac_cv_lib_socket_setsockopt = yes; then
5697 cat >>confdefs.h <<_ACEOF
5698@%:@define HAVE_LIBSOCKET 1
5699_ACEOF
5700
5701 LIBS="-lsocket $LIBS"
5702
5703fi
5704
5705fi
5706
5707
5708if test "x$with_tcp_wrappers" != "xno" ; then
5709 if test "x$do_sco3_extra_lib_check" = "xyes" ; then
5710 echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5
5711echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6
5712if test "${ac_cv_lib_rpc_innetgr+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5714else
5715 ac_check_lib_save_LIBS=$LIBS
5716LIBS="-lrpc -lyp -lrpc $LIBS"
5717cat >conftest.$ac_ext <<_ACEOF
5718#line $LINENO "configure"
5719/* confdefs.h. */
5720_ACEOF
5721cat confdefs.h >>conftest.$ac_ext
5722cat >>conftest.$ac_ext <<_ACEOF
5723/* end confdefs.h. */
5724
5725/* Override any gcc2 internal prototype to avoid an error. */
5726#ifdef __cplusplus
5727extern "C"
5728#endif
5729/* We use char because int might match the return type of a gcc2
5730 builtin and then its argument prototype would still apply. */
5731char innetgr ();
5732int
5733main ()
5734{
5735innetgr ();
5736 ;
5737 return 0;
5738}
5739_ACEOF
5740rm -f conftest.$ac_objext conftest$ac_exeext
5741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5742 (eval $ac_link) 2>&5
5743 ac_status=$?
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); } &&
5746 { ac_try='test -s conftest$ac_exeext'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 (eval $ac_try) 2>&5
5749 ac_status=$?
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; }; then
5752 ac_cv_lib_rpc_innetgr=yes
5753else
5754 echo "$as_me: failed program was:" >&5
5755sed 's/^/| /' conftest.$ac_ext >&5
5756
5757ac_cv_lib_rpc_innetgr=no
5758fi
5759rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5760LIBS=$ac_check_lib_save_LIBS
5761fi
5762echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5
5763echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6
5764if test $ac_cv_lib_rpc_innetgr = yes; then
5765 LIBS="-lrpc -lyp -lrpc $LIBS"
5766fi
5767
5768 fi
5769fi
5770
5771echo "$as_me:$LINENO: checking for getspnam" >&5
5772echo $ECHO_N "checking for getspnam... $ECHO_C" >&6
5773if test "${ac_cv_func_getspnam+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5775else
5776 cat >conftest.$ac_ext <<_ACEOF
5777#line $LINENO "configure"
5778/* confdefs.h. */
5779_ACEOF
5780cat confdefs.h >>conftest.$ac_ext
5781cat >>conftest.$ac_ext <<_ACEOF
5782/* end confdefs.h. */
5783/* System header to define __stub macros and hopefully few prototypes,
5784 which can conflict with char getspnam (); below.
5785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5786 <limits.h> exists even on freestanding compilers. */
5787#ifdef __STDC__
5788# include <limits.h>
5789#else
5790# include <assert.h>
5791#endif
5792/* Override any gcc2 internal prototype to avoid an error. */
5793#ifdef __cplusplus
5794extern "C"
5795{
5796#endif
5797/* We use char because int might match the return type of a gcc2
5798 builtin and then its argument prototype would still apply. */
5799char getspnam ();
5800/* The GNU C library defines this for functions which it implements
5801 to always fail with ENOSYS. Some functions are actually named
5802 something starting with __ and the normal name is an alias. */
5803#if defined (__stub_getspnam) || defined (__stub___getspnam)
5804choke me
5805#else
5806char (*f) () = getspnam;
5807#endif
5808#ifdef __cplusplus
5809}
5810#endif
5811
5812int
5813main ()
5814{
5815return f != getspnam;
5816 ;
5817 return 0;
5818}
5819_ACEOF
5820rm -f conftest.$ac_objext conftest$ac_exeext
5821if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5822 (eval $ac_link) 2>&5
5823 ac_status=$?
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } &&
5826 { ac_try='test -s conftest$ac_exeext'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828 (eval $ac_try) 2>&5
5829 ac_status=$?
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5832 ac_cv_func_getspnam=yes
5833else
5834 echo "$as_me: failed program was:" >&5
5835sed 's/^/| /' conftest.$ac_ext >&5
5836
5837ac_cv_func_getspnam=no
5838fi
5839rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5840fi
5841echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
5842echo "${ECHO_T}$ac_cv_func_getspnam" >&6
5843if test $ac_cv_func_getspnam = yes; then
5844 :
5845else
5846 echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
5847echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
5848if test "${ac_cv_lib_gen_getspnam+set}" = set; then
5849 echo $ECHO_N "(cached) $ECHO_C" >&6
5850else
5851 ac_check_lib_save_LIBS=$LIBS
5852LIBS="-lgen $LIBS"
5853cat >conftest.$ac_ext <<_ACEOF
5854#line $LINENO "configure"
5855/* confdefs.h. */
5856_ACEOF
5857cat confdefs.h >>conftest.$ac_ext
5858cat >>conftest.$ac_ext <<_ACEOF
5859/* end confdefs.h. */
5860
5861/* Override any gcc2 internal prototype to avoid an error. */
5862#ifdef __cplusplus
5863extern "C"
5864#endif
5865/* We use char because int might match the return type of a gcc2
5866 builtin and then its argument prototype would still apply. */
5867char getspnam ();
5868int
5869main ()
5870{
5871getspnam ();
5872 ;
5873 return 0;
5874}
5875_ACEOF
5876rm -f conftest.$ac_objext conftest$ac_exeext
5877if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5878 (eval $ac_link) 2>&5
5879 ac_status=$?
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } &&
5882 { ac_try='test -s conftest$ac_exeext'
5883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 (eval $ac_try) 2>&5
5885 ac_status=$?
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); }; }; then
5888 ac_cv_lib_gen_getspnam=yes
5889else
5890 echo "$as_me: failed program was:" >&5
5891sed 's/^/| /' conftest.$ac_ext >&5
5892
5893ac_cv_lib_gen_getspnam=no
5894fi
5895rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5896LIBS=$ac_check_lib_save_LIBS
5897fi
5898echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
5899echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
5900if test $ac_cv_lib_gen_getspnam = yes; then
5901 LIBS="$LIBS -lgen"
5902fi
5903
5904fi
5905
5906
5907
5908# Check whether --with-rpath or --without-rpath was given.
5909if test "${with_rpath+set}" = set; then
5910 withval="$with_rpath"
5911
5912 if test "x$withval" = "xno" ; then
5913 need_dash_r=""
5914 fi
5915 if test "x$withval" = "xyes" ; then
5916 need_dash_r=1
5917 fi
5918
5919
5920fi;
5921
5922
5923# Check whether --with-zlib or --without-zlib was given.
5924if test "${with_zlib+set}" = set; then
5925 withval="$with_zlib"
5926
5927 if test "x$withval" = "xno" ; then
5928 { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5
5929echo "$as_me: error: *** zlib is required ***" >&2;}
5930 { (exit 1); exit 1; }; }
5931 fi
5932 if test -d "$withval/lib"; then
5933 if test -n "${need_dash_r}"; then
5934 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
5935 else
5936 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
5937 fi
5938 else
5939 if test -n "${need_dash_r}"; then
5940 LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}"
5941 else
5942 LDFLAGS="-L${withval} ${LDFLAGS}"
5943 fi
5944 fi
5945 if test -d "$withval/include"; then
5946 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
5947 else
5948 CPPFLAGS="-I${withval} ${CPPFLAGS}"
5949 fi
5950
5951
5952fi;
5953
5954
5955echo "$as_me:$LINENO: checking for deflate in -lz" >&5
5956echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
5957if test "${ac_cv_lib_z_deflate+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5959else
5960 ac_check_lib_save_LIBS=$LIBS
5961LIBS="-lz $LIBS"
5962cat >conftest.$ac_ext <<_ACEOF
5963#line $LINENO "configure"
5964/* confdefs.h. */
5965_ACEOF
5966cat confdefs.h >>conftest.$ac_ext
5967cat >>conftest.$ac_ext <<_ACEOF
5968/* end confdefs.h. */
5969
5970/* Override any gcc2 internal prototype to avoid an error. */
5971#ifdef __cplusplus
5972extern "C"
5973#endif
5974/* We use char because int might match the return type of a gcc2
5975 builtin and then its argument prototype would still apply. */
5976char deflate ();
5977int
5978main ()
5979{
5980deflate ();
5981 ;
5982 return 0;
5983}
5984_ACEOF
5985rm -f conftest.$ac_objext conftest$ac_exeext
5986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5987 (eval $ac_link) 2>&5
5988 ac_status=$?
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } &&
5991 { ac_try='test -s conftest$ac_exeext'
5992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993 (eval $ac_try) 2>&5
5994 ac_status=$?
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); }; }; then
5997 ac_cv_lib_z_deflate=yes
5998else
5999 echo "$as_me: failed program was:" >&5
6000sed 's/^/| /' conftest.$ac_ext >&5
6001
6002ac_cv_lib_z_deflate=no
6003fi
6004rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6005LIBS=$ac_check_lib_save_LIBS
6006fi
6007echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
6008echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
6009if test $ac_cv_lib_z_deflate = yes; then
6010 cat >>confdefs.h <<_ACEOF
6011@%:@define HAVE_LIBZ 1
6012_ACEOF
6013
6014 LIBS="-lz $LIBS"
6015
6016else
6017 { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
6018echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
6019 { (exit 1); exit 1; }; }
6020fi
6021
6022
6023echo "$as_me:$LINENO: checking for strcasecmp" >&5
6024echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
6025if test "${ac_cv_func_strcasecmp+set}" = set; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6027else
6028 cat >conftest.$ac_ext <<_ACEOF
6029#line $LINENO "configure"
6030/* confdefs.h. */
6031_ACEOF
6032cat confdefs.h >>conftest.$ac_ext
6033cat >>conftest.$ac_ext <<_ACEOF
6034/* end confdefs.h. */
6035/* System header to define __stub macros and hopefully few prototypes,
6036 which can conflict with char strcasecmp (); below.
6037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6038 <limits.h> exists even on freestanding compilers. */
6039#ifdef __STDC__
6040# include <limits.h>
6041#else
6042# include <assert.h>
6043#endif
6044/* Override any gcc2 internal prototype to avoid an error. */
6045#ifdef __cplusplus
6046extern "C"
6047{
6048#endif
6049/* We use char because int might match the return type of a gcc2
6050 builtin and then its argument prototype would still apply. */
6051char strcasecmp ();
6052/* The GNU C library defines this for functions which it implements
6053 to always fail with ENOSYS. Some functions are actually named
6054 something starting with __ and the normal name is an alias. */
6055#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
6056choke me
6057#else
6058char (*f) () = strcasecmp;
6059#endif
6060#ifdef __cplusplus
6061}
6062#endif
6063
6064int
6065main ()
6066{
6067return f != strcasecmp;
6068 ;
6069 return 0;
6070}
6071_ACEOF
6072rm -f conftest.$ac_objext conftest$ac_exeext
6073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6074 (eval $ac_link) 2>&5
6075 ac_status=$?
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); } &&
6078 { ac_try='test -s conftest$ac_exeext'
6079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6080 (eval $ac_try) 2>&5
6081 ac_status=$?
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); }; }; then
6084 ac_cv_func_strcasecmp=yes
6085else
6086 echo "$as_me: failed program was:" >&5
6087sed 's/^/| /' conftest.$ac_ext >&5
6088
6089ac_cv_func_strcasecmp=no
6090fi
6091rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6092fi
6093echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
6094echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
6095if test $ac_cv_func_strcasecmp = yes; then
6096 :
6097else
6098 echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
6099echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6
6100if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6
6102else
6103 ac_check_lib_save_LIBS=$LIBS
6104LIBS="-lresolv $LIBS"
6105cat >conftest.$ac_ext <<_ACEOF
6106#line $LINENO "configure"
6107/* confdefs.h. */
6108_ACEOF
6109cat confdefs.h >>conftest.$ac_ext
6110cat >>conftest.$ac_ext <<_ACEOF
6111/* end confdefs.h. */
6112
6113/* Override any gcc2 internal prototype to avoid an error. */
6114#ifdef __cplusplus
6115extern "C"
6116#endif
6117/* We use char because int might match the return type of a gcc2
6118 builtin and then its argument prototype would still apply. */
6119char strcasecmp ();
6120int
6121main ()
6122{
6123strcasecmp ();
6124 ;
6125 return 0;
6126}
6127_ACEOF
6128rm -f conftest.$ac_objext conftest$ac_exeext
6129if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6130 (eval $ac_link) 2>&5
6131 ac_status=$?
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try='test -s conftest$ac_exeext'
6135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136 (eval $ac_try) 2>&5
6137 ac_status=$?
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); }; }; then
6140 ac_cv_lib_resolv_strcasecmp=yes
6141else
6142 echo "$as_me: failed program was:" >&5
6143sed 's/^/| /' conftest.$ac_ext >&5
6144
6145ac_cv_lib_resolv_strcasecmp=no
6146fi
6147rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6148LIBS=$ac_check_lib_save_LIBS
6149fi
6150echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
6151echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6
6152if test $ac_cv_lib_resolv_strcasecmp = yes; then
6153 LIBS="$LIBS -lresolv"
6154fi
6155
6156
6157fi
6158
6159echo "$as_me:$LINENO: checking for utimes" >&5
6160echo $ECHO_N "checking for utimes... $ECHO_C" >&6
6161if test "${ac_cv_func_utimes+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6163else
6164 cat >conftest.$ac_ext <<_ACEOF
6165#line $LINENO "configure"
6166/* confdefs.h. */
6167_ACEOF
6168cat confdefs.h >>conftest.$ac_ext
6169cat >>conftest.$ac_ext <<_ACEOF
6170/* end confdefs.h. */
6171/* System header to define __stub macros and hopefully few prototypes,
6172 which can conflict with char utimes (); below.
6173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6174 <limits.h> exists even on freestanding compilers. */
6175#ifdef __STDC__
6176# include <limits.h>
6177#else
6178# include <assert.h>
6179#endif
6180/* Override any gcc2 internal prototype to avoid an error. */
6181#ifdef __cplusplus
6182extern "C"
6183{
6184#endif
6185/* We use char because int might match the return type of a gcc2
6186 builtin and then its argument prototype would still apply. */
6187char utimes ();
6188/* The GNU C library defines this for functions which it implements
6189 to always fail with ENOSYS. Some functions are actually named
6190 something starting with __ and the normal name is an alias. */
6191#if defined (__stub_utimes) || defined (__stub___utimes)
6192choke me
6193#else
6194char (*f) () = utimes;
6195#endif
6196#ifdef __cplusplus
6197}
6198#endif
6199
6200int
6201main ()
6202{
6203return f != utimes;
6204 ;
6205 return 0;
6206}
6207_ACEOF
6208rm -f conftest.$ac_objext conftest$ac_exeext
6209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6210 (eval $ac_link) 2>&5
6211 ac_status=$?
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); } &&
6214 { ac_try='test -s conftest$ac_exeext'
6215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 (eval $ac_try) 2>&5
6217 ac_status=$?
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); }; }; then
6220 ac_cv_func_utimes=yes
6221else
6222 echo "$as_me: failed program was:" >&5
6223sed 's/^/| /' conftest.$ac_ext >&5
6224
6225ac_cv_func_utimes=no
6226fi
6227rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6228fi
6229echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5
6230echo "${ECHO_T}$ac_cv_func_utimes" >&6
6231if test $ac_cv_func_utimes = yes; then
6232 :
6233else
6234 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
6235echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
6236if test "${ac_cv_lib_c89_utimes+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6238else
6239 ac_check_lib_save_LIBS=$LIBS
6240LIBS="-lc89 $LIBS"
6241cat >conftest.$ac_ext <<_ACEOF
6242#line $LINENO "configure"
6243/* confdefs.h. */
6244_ACEOF
6245cat confdefs.h >>conftest.$ac_ext
6246cat >>conftest.$ac_ext <<_ACEOF
6247/* end confdefs.h. */
6248
6249/* Override any gcc2 internal prototype to avoid an error. */
6250#ifdef __cplusplus
6251extern "C"
6252#endif
6253/* We use char because int might match the return type of a gcc2
6254 builtin and then its argument prototype would still apply. */
6255char utimes ();
6256int
6257main ()
6258{
6259utimes ();
6260 ;
6261 return 0;
6262}
6263_ACEOF
6264rm -f conftest.$ac_objext conftest$ac_exeext
6265if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6266 (eval $ac_link) 2>&5
6267 ac_status=$?
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); } &&
6270 { ac_try='test -s conftest$ac_exeext'
6271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6272 (eval $ac_try) 2>&5
6273 ac_status=$?
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); }; }; then
6276 ac_cv_lib_c89_utimes=yes
6277else
6278 echo "$as_me: failed program was:" >&5
6279sed 's/^/| /' conftest.$ac_ext >&5
6280
6281ac_cv_lib_c89_utimes=no
6282fi
6283rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6284LIBS=$ac_check_lib_save_LIBS
6285fi
6286echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5
6287echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6
6288if test $ac_cv_lib_c89_utimes = yes; then
6289 cat >>confdefs.h <<\_ACEOF
6290@%:@define HAVE_UTIMES 1
6291_ACEOF
6292
6293 LIBS="$LIBS -lc89"
6294fi
6295
6296
6297fi
6298
6299
6300
6301for ac_header in libutil.h
6302do
6303as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6304if eval "test \"\${$as_ac_Header+set}\" = set"; then
6305 echo "$as_me:$LINENO: checking for $ac_header" >&5
6306echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6307if eval "test \"\${$as_ac_Header+set}\" = set"; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6309fi
6310echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6311echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6312else
6313 # Is the header compilable?
6314echo "$as_me:$LINENO: checking $ac_header usability" >&5
6315echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6316cat >conftest.$ac_ext <<_ACEOF
6317#line $LINENO "configure"
6318/* confdefs.h. */
6319_ACEOF
6320cat confdefs.h >>conftest.$ac_ext
6321cat >>conftest.$ac_ext <<_ACEOF
6322/* end confdefs.h. */
6323$ac_includes_default
6324@%:@include <$ac_header>
6325_ACEOF
6326rm -f conftest.$ac_objext
6327if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6328 (eval $ac_compile) 2>&5
6329 ac_status=$?
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } &&
6332 { ac_try='test -s conftest.$ac_objext'
6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6334 (eval $ac_try) 2>&5
6335 ac_status=$?
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); }; }; then
6338 ac_header_compiler=yes
6339else
6340 echo "$as_me: failed program was:" >&5
6341sed 's/^/| /' conftest.$ac_ext >&5
6342
6343ac_header_compiler=no
6344fi
6345rm -f conftest.$ac_objext conftest.$ac_ext
6346echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6347echo "${ECHO_T}$ac_header_compiler" >&6
6348
6349# Is the header present?
6350echo "$as_me:$LINENO: checking $ac_header presence" >&5
6351echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6352cat >conftest.$ac_ext <<_ACEOF
6353#line $LINENO "configure"
6354/* confdefs.h. */
6355_ACEOF
6356cat confdefs.h >>conftest.$ac_ext
6357cat >>conftest.$ac_ext <<_ACEOF
6358/* end confdefs.h. */
6359@%:@include <$ac_header>
6360_ACEOF
6361if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6363 ac_status=$?
6364 grep -v '^ *+' conftest.er1 >conftest.err
6365 rm -f conftest.er1
6366 cat conftest.err >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } >/dev/null; then
6369 if test -s conftest.err; then
6370 ac_cpp_err=$ac_c_preproc_warn_flag
6371 else
6372 ac_cpp_err=
6373 fi
6374else
6375 ac_cpp_err=yes
6376fi
6377if test -z "$ac_cpp_err"; then
6378 ac_header_preproc=yes
6379else
6380 echo "$as_me: failed program was:" >&5
6381sed 's/^/| /' conftest.$ac_ext >&5
6382
6383 ac_header_preproc=no
6384fi
6385rm -f conftest.err conftest.$ac_ext
6386echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6387echo "${ECHO_T}$ac_header_preproc" >&6
6388
6389# So? What about this header?
6390case $ac_header_compiler:$ac_header_preproc in
6391 yes:no )
6392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6393echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6395echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6396 (
6397 cat <<\_ASBOX
6398@%:@@%:@ ------------------------------------ @%:@@%:@
6399@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
6400@%:@@%:@ ------------------------------------ @%:@@%:@
6401_ASBOX
6402 ) |
6403 sed "s/^/$as_me: WARNING: /" >&2
6404 ;;
6405 no:yes )
6406 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6407echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6408 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6409echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6411echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6412 (
6413 cat <<\_ASBOX
6414@%:@@%:@ ------------------------------------ @%:@@%:@
6415@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
6416@%:@@%:@ ------------------------------------ @%:@@%:@
6417_ASBOX
6418 ) |
6419 sed "s/^/$as_me: WARNING: /" >&2
6420 ;;
6421esac
6422echo "$as_me:$LINENO: checking for $ac_header" >&5
6423echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6424if eval "test \"\${$as_ac_Header+set}\" = set"; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6426else
6427 eval "$as_ac_Header=$ac_header_preproc"
6428fi
6429echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6430echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6431
6432fi
6433if test `eval echo '${'$as_ac_Header'}'` = yes; then
6434 cat >>confdefs.h <<_ACEOF
6435@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6436_ACEOF
6437
6438fi
6439
6440done
6441
6442echo "$as_me:$LINENO: checking for library containing login" >&5
6443echo $ECHO_N "checking for library containing login... $ECHO_C" >&6
6444if test "${ac_cv_search_login+set}" = set; then
6445 echo $ECHO_N "(cached) $ECHO_C" >&6
6446else
6447 ac_func_search_save_LIBS=$LIBS
6448ac_cv_search_login=no
6449cat >conftest.$ac_ext <<_ACEOF
6450#line $LINENO "configure"
6451/* confdefs.h. */
6452_ACEOF
6453cat confdefs.h >>conftest.$ac_ext
6454cat >>conftest.$ac_ext <<_ACEOF
6455/* end confdefs.h. */
6456
6457/* Override any gcc2 internal prototype to avoid an error. */
6458#ifdef __cplusplus
6459extern "C"
6460#endif
6461/* We use char because int might match the return type of a gcc2
6462 builtin and then its argument prototype would still apply. */
6463char login ();
6464int
6465main ()
6466{
6467login ();
6468 ;
6469 return 0;
6470}
6471_ACEOF
6472rm -f conftest.$ac_objext conftest$ac_exeext
6473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6474 (eval $ac_link) 2>&5
6475 ac_status=$?
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); } &&
6478 { ac_try='test -s conftest$ac_exeext'
6479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6480 (eval $ac_try) 2>&5
6481 ac_status=$?
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); }; }; then
6484 ac_cv_search_login="none required"
6485else
6486 echo "$as_me: failed program was:" >&5
6487sed 's/^/| /' conftest.$ac_ext >&5
6488
6489fi
6490rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6491if test "$ac_cv_search_login" = no; then
6492 for ac_lib in util bsd; do
6493 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6494 cat >conftest.$ac_ext <<_ACEOF
6495#line $LINENO "configure"
6496/* confdefs.h. */
6497_ACEOF
6498cat confdefs.h >>conftest.$ac_ext
6499cat >>conftest.$ac_ext <<_ACEOF
6500/* end confdefs.h. */
6501
6502/* Override any gcc2 internal prototype to avoid an error. */
6503#ifdef __cplusplus
6504extern "C"
6505#endif
6506/* We use char because int might match the return type of a gcc2
6507 builtin and then its argument prototype would still apply. */
6508char login ();
6509int
6510main ()
6511{
6512login ();
6513 ;
6514 return 0;
6515}
6516_ACEOF
6517rm -f conftest.$ac_objext conftest$ac_exeext
6518if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6519 (eval $ac_link) 2>&5
6520 ac_status=$?
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } &&
6523 { ac_try='test -s conftest$ac_exeext'
6524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 (eval $ac_try) 2>&5
6526 ac_status=$?
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); }; }; then
6529 ac_cv_search_login="-l$ac_lib"
6530break
6531else
6532 echo "$as_me: failed program was:" >&5
6533sed 's/^/| /' conftest.$ac_ext >&5
6534
6535fi
6536rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6537 done
6538fi
6539LIBS=$ac_func_search_save_LIBS
6540fi
6541echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
6542echo "${ECHO_T}$ac_cv_search_login" >&6
6543if test "$ac_cv_search_login" != no; then
6544 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
6545 cat >>confdefs.h <<\_ACEOF
6546@%:@define HAVE_LOGIN 1
6547_ACEOF
6548
6549fi
6550
6551
6552
6553
6554for ac_func in logout updwtmp logwtmp
6555do
6556as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6557echo "$as_me:$LINENO: checking for $ac_func" >&5
6558echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6559if eval "test \"\${$as_ac_var+set}\" = set"; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6561else
6562 cat >conftest.$ac_ext <<_ACEOF
6563#line $LINENO "configure"
6564/* confdefs.h. */
6565_ACEOF
6566cat confdefs.h >>conftest.$ac_ext
6567cat >>conftest.$ac_ext <<_ACEOF
6568/* end confdefs.h. */
6569/* System header to define __stub macros and hopefully few prototypes,
6570 which can conflict with char $ac_func (); below.
6571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6572 <limits.h> exists even on freestanding compilers. */
6573#ifdef __STDC__
6574# include <limits.h>
6575#else
6576# include <assert.h>
6577#endif
6578/* Override any gcc2 internal prototype to avoid an error. */
6579#ifdef __cplusplus
6580extern "C"
6581{
6582#endif
6583/* We use char because int might match the return type of a gcc2
6584 builtin and then its argument prototype would still apply. */
6585char $ac_func ();
6586/* The GNU C library defines this for functions which it implements
6587 to always fail with ENOSYS. Some functions are actually named
6588 something starting with __ and the normal name is an alias. */
6589#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6590choke me
6591#else
6592char (*f) () = $ac_func;
6593#endif
6594#ifdef __cplusplus
6595}
6596#endif
6597
6598int
6599main ()
6600{
6601return f != $ac_func;
6602 ;
6603 return 0;
6604}
6605_ACEOF
6606rm -f conftest.$ac_objext conftest$ac_exeext
6607if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6608 (eval $ac_link) 2>&5
6609 ac_status=$?
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } &&
6612 { ac_try='test -s conftest$ac_exeext'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6614 (eval $ac_try) 2>&5
6615 ac_status=$?
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; }; then
6618 eval "$as_ac_var=yes"
6619else
6620 echo "$as_me: failed program was:" >&5
6621sed 's/^/| /' conftest.$ac_ext >&5
6622
6623eval "$as_ac_var=no"
6624fi
6625rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6626fi
6627echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6628echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6629if test `eval echo '${'$as_ac_var'}'` = yes; then
6630 cat >>confdefs.h <<_ACEOF
6631@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6632_ACEOF
6633
6634fi
6635done
6636
6637
6638
6639for ac_func in strftime
6640do
6641as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6642echo "$as_me:$LINENO: checking for $ac_func" >&5
6643echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6644if eval "test \"\${$as_ac_var+set}\" = set"; then
6645 echo $ECHO_N "(cached) $ECHO_C" >&6
6646else
6647 cat >conftest.$ac_ext <<_ACEOF
6648#line $LINENO "configure"
6649/* confdefs.h. */
6650_ACEOF
6651cat confdefs.h >>conftest.$ac_ext
6652cat >>conftest.$ac_ext <<_ACEOF
6653/* end confdefs.h. */
6654/* System header to define __stub macros and hopefully few prototypes,
6655 which can conflict with char $ac_func (); below.
6656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6657 <limits.h> exists even on freestanding compilers. */
6658#ifdef __STDC__
6659# include <limits.h>
6660#else
6661# include <assert.h>
6662#endif
6663/* Override any gcc2 internal prototype to avoid an error. */
6664#ifdef __cplusplus
6665extern "C"
6666{
6667#endif
6668/* We use char because int might match the return type of a gcc2
6669 builtin and then its argument prototype would still apply. */
6670char $ac_func ();
6671/* The GNU C library defines this for functions which it implements
6672 to always fail with ENOSYS. Some functions are actually named
6673 something starting with __ and the normal name is an alias. */
6674#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6675choke me
6676#else
6677char (*f) () = $ac_func;
6678#endif
6679#ifdef __cplusplus
6680}
6681#endif
6682
6683int
6684main ()
6685{
6686return f != $ac_func;
6687 ;
6688 return 0;
6689}
6690_ACEOF
6691rm -f conftest.$ac_objext conftest$ac_exeext
6692if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6693 (eval $ac_link) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } &&
6697 { ac_try='test -s conftest$ac_exeext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 (eval $ac_try) 2>&5
6700 ac_status=$?
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6703 eval "$as_ac_var=yes"
6704else
6705 echo "$as_me: failed program was:" >&5
6706sed 's/^/| /' conftest.$ac_ext >&5
6707
6708eval "$as_ac_var=no"
6709fi
6710rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6711fi
6712echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6713echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6714if test `eval echo '${'$as_ac_var'}'` = yes; then
6715 cat >>confdefs.h <<_ACEOF
6716@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6717_ACEOF
6718
6719else
6720 # strftime is in -lintl on SCO UNIX.
6721echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
6722echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
6723if test "${ac_cv_lib_intl_strftime+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6725else
6726 ac_check_lib_save_LIBS=$LIBS
6727LIBS="-lintl $LIBS"
6728cat >conftest.$ac_ext <<_ACEOF
6729#line $LINENO "configure"
6730/* confdefs.h. */
6731_ACEOF
6732cat confdefs.h >>conftest.$ac_ext
6733cat >>conftest.$ac_ext <<_ACEOF
6734/* end confdefs.h. */
6735
6736/* Override any gcc2 internal prototype to avoid an error. */
6737#ifdef __cplusplus
6738extern "C"
6739#endif
6740/* We use char because int might match the return type of a gcc2
6741 builtin and then its argument prototype would still apply. */
6742char strftime ();
6743int
6744main ()
6745{
6746strftime ();
6747 ;
6748 return 0;
6749}
6750_ACEOF
6751rm -f conftest.$ac_objext conftest$ac_exeext
6752if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6753 (eval $ac_link) 2>&5
6754 ac_status=$?
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } &&
6757 { ac_try='test -s conftest$ac_exeext'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 (eval $ac_try) 2>&5
6760 ac_status=$?
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; }; then
6763 ac_cv_lib_intl_strftime=yes
6764else
6765 echo "$as_me: failed program was:" >&5
6766sed 's/^/| /' conftest.$ac_ext >&5
6767
6768ac_cv_lib_intl_strftime=no
6769fi
6770rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6771LIBS=$ac_check_lib_save_LIBS
6772fi
6773echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
6774echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
6775if test $ac_cv_lib_intl_strftime = yes; then
6776 cat >>confdefs.h <<\_ACEOF
6777@%:@define HAVE_STRFTIME 1
6778_ACEOF
6779
6780LIBS="-lintl $LIBS"
6781fi
6782
6783fi
6784done
6785
6786
6787# Check for ALTDIRFUNC glob() extension
6788echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5
6789echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6
6790cat >conftest.$ac_ext <<_ACEOF
6791#line $LINENO "configure"
6792/* confdefs.h. */
6793_ACEOF
6794cat confdefs.h >>conftest.$ac_ext
6795cat >>conftest.$ac_ext <<_ACEOF
6796/* end confdefs.h. */
6797
6798 #include <glob.h>
6799 #ifdef GLOB_ALTDIRFUNC
6800 FOUNDIT
6801 #endif
6802
6803_ACEOF
6804if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805 $EGREP "FOUNDIT" >/dev/null 2>&1; then
6806
6807 cat >>confdefs.h <<\_ACEOF
6808@%:@define GLOB_HAS_ALTDIRFUNC 1
6809_ACEOF
6810
6811 echo "$as_me:$LINENO: result: yes" >&5
6812echo "${ECHO_T}yes" >&6
6813
6814else
6815
6816 echo "$as_me:$LINENO: result: no" >&5
6817echo "${ECHO_T}no" >&6
6818
6819
6820fi
6821rm -f conftest*
6822
6823
6824# Check for g.gl_matchc glob() extension
6825echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5
6826echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6
6827cat >conftest.$ac_ext <<_ACEOF
6828#line $LINENO "configure"
6829/* confdefs.h. */
6830_ACEOF
6831cat confdefs.h >>conftest.$ac_ext
6832cat >>conftest.$ac_ext <<_ACEOF
6833/* end confdefs.h. */
6834
6835 #include <glob.h>
6836 int main(void){glob_t g; g.gl_matchc = 1;}
6837
6838_ACEOF
6839if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6840 $EGREP "FOUNDIT" >/dev/null 2>&1; then
6841
6842 cat >>confdefs.h <<\_ACEOF
6843@%:@define GLOB_HAS_GL_MATCHC 1
6844_ACEOF
6845
6846 echo "$as_me:$LINENO: result: yes" >&5
6847echo "${ECHO_T}yes" >&6
6848
6849else
6850
6851 echo "$as_me:$LINENO: result: no" >&5
6852echo "${ECHO_T}no" >&6
6853
6854
6855fi
6856rm -f conftest*
6857
6858
6859echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
6860echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6
6861if test "$cross_compiling" = yes; then
6862 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6863See \`config.log' for more details." >&5
6864echo "$as_me: error: cannot run test program while cross compiling
6865See \`config.log' for more details." >&2;}
6866 { (exit 1); exit 1; }; }
6867else
6868 cat >conftest.$ac_ext <<_ACEOF
6869#line $LINENO "configure"
6870/* confdefs.h. */
6871_ACEOF
6872cat confdefs.h >>conftest.$ac_ext
6873cat >>conftest.$ac_ext <<_ACEOF
6874/* end confdefs.h. */
6875
6876#include <sys/types.h>
6877#include <dirent.h>
6878int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
6879
6880_ACEOF
6881rm -f conftest$ac_exeext
6882if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6883 (eval $ac_link) 2>&5
6884 ac_status=$?
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 (eval $ac_try) 2>&5
6889 ac_status=$?
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); }; }; then
6892 echo "$as_me:$LINENO: result: yes" >&5
6893echo "${ECHO_T}yes" >&6
6894else
6895 echo "$as_me: program exited with status $ac_status" >&5
6896echo "$as_me: failed program was:" >&5
6897sed 's/^/| /' conftest.$ac_ext >&5
6898
6899( exit $ac_status )
6900
6901 echo "$as_me:$LINENO: result: no" >&5
6902echo "${ECHO_T}no" >&6
6903 cat >>confdefs.h <<\_ACEOF
6904@%:@define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
6905_ACEOF
6906
6907
6908
6909fi
6910rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6911fi
6912
6913# Check whether user wants S/Key support
6914SKEY_MSG="no"
6915
6916# Check whether --with-skey or --without-skey was given.
6917if test "${with_skey+set}" = set; then
6918 withval="$with_skey"
6919
6920 if test "x$withval" != "xno" ; then
6921
6922 if test "x$withval" != "xyes" ; then
6923 CPPFLAGS="$CPPFLAGS -I${withval}/include"
6924 LDFLAGS="$LDFLAGS -L${withval}/lib"
6925 fi
6926
6927 cat >>confdefs.h <<\_ACEOF
6928@%:@define SKEY 1
6929_ACEOF
6930
6931 LIBS="-lskey $LIBS"
6932 SKEY_MSG="yes"
6933
6934 echo "$as_me:$LINENO: checking for s/key support" >&5
6935echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
6936 if test "$cross_compiling" = yes; then
6937 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6938See \`config.log' for more details." >&5
6939echo "$as_me: error: cannot run test program while cross compiling
6940See \`config.log' for more details." >&2;}
6941 { (exit 1); exit 1; }; }
6942else
6943 cat >conftest.$ac_ext <<_ACEOF
6944#line $LINENO "configure"
6945/* confdefs.h. */
6946_ACEOF
6947cat confdefs.h >>conftest.$ac_ext
6948cat >>conftest.$ac_ext <<_ACEOF
6949/* end confdefs.h. */
6950
6951#include <stdio.h>
6952#include <skey.h>
6953int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
6954
6955_ACEOF
6956rm -f conftest$ac_exeext
6957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6958 (eval $ac_link) 2>&5
6959 ac_status=$?
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 (eval $ac_try) 2>&5
6964 ac_status=$?
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; }; then
6967 echo "$as_me:$LINENO: result: yes" >&5
6968echo "${ECHO_T}yes" >&6
6969else
6970 echo "$as_me: program exited with status $ac_status" >&5
6971echo "$as_me: failed program was:" >&5
6972sed 's/^/| /' conftest.$ac_ext >&5
6973
6974( exit $ac_status )
6975
6976 echo "$as_me:$LINENO: result: no" >&5
6977echo "${ECHO_T}no" >&6
6978 { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5
6979echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
6980 { (exit 1); exit 1; }; }
6981
6982fi
6983rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6984fi
6985 fi
6986
6987
6988fi;
6989
6990# Check whether user wants TCP wrappers support
6991TCPW_MSG="no"
6992
6993# Check whether --with-tcp-wrappers or --without-tcp-wrappers was given.
6994if test "${with_tcp_wrappers+set}" = set; then
6995 withval="$with_tcp_wrappers"
6996
6997 if test "x$withval" != "xno" ; then
6998 saved_LIBS="$LIBS"
6999 saved_LDFLAGS="$LDFLAGS"
7000 saved_CPPFLAGS="$CPPFLAGS"
7001 if test -n "${withval}" -a "${withval}" != "yes"; then
7002 if test -d "${withval}/lib"; then
7003 if test -n "${need_dash_r}"; then
7004 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
7005 else
7006 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
7007 fi
7008 else
7009 if test -n "${need_dash_r}"; then
7010 LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}"
7011 else
7012 LDFLAGS="-L${withval} ${LDFLAGS}"
7013 fi
7014 fi
7015 if test -d "${withval}/include"; then
7016 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
7017 else
7018 CPPFLAGS="-I${withval} ${CPPFLAGS}"
7019 fi
7020 fi
7021 LIBWRAP="-lwrap"
7022 LIBS="$LIBWRAP $LIBS"
7023 echo "$as_me:$LINENO: checking for libwrap" >&5
7024echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
7025 cat >conftest.$ac_ext <<_ACEOF
7026#line $LINENO "configure"
7027/* confdefs.h. */
7028_ACEOF
7029cat confdefs.h >>conftest.$ac_ext
7030cat >>conftest.$ac_ext <<_ACEOF
7031/* end confdefs.h. */
7032
7033#include <tcpd.h>
7034 int deny_severity = 0, allow_severity = 0;
7035
7036int
7037main ()
7038{
7039hosts_access(0);
7040 ;
7041 return 0;
7042}
7043_ACEOF
7044rm -f conftest.$ac_objext conftest$ac_exeext
7045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7046 (eval $ac_link) 2>&5
7047 ac_status=$?
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } &&
7050 { ac_try='test -s conftest$ac_exeext'
7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 (eval $ac_try) 2>&5
7053 ac_status=$?
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); }; }; then
7056
7057 echo "$as_me:$LINENO: result: yes" >&5
7058echo "${ECHO_T}yes" >&6
7059 cat >>confdefs.h <<\_ACEOF
7060@%:@define LIBWRAP 1
7061_ACEOF
7062
7063
7064 TCPW_MSG="yes"
7065
7066else
7067 echo "$as_me: failed program was:" >&5
7068sed 's/^/| /' conftest.$ac_ext >&5
7069
7070
7071 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
7072echo "$as_me: error: *** libwrap missing" >&2;}
7073 { (exit 1); exit 1; }; }
7074
7075
7076fi
7077rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7078 LIBS="$saved_LIBS"
7079 fi
7080
7081
7082fi;
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157for ac_func in \
7158 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \
7159 bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
7160 gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
7161 getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \
7162 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
7163 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \
7164 readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \
7165 setegid setenv seteuid setgroups setlogin setpcred setproctitle \
7166 setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \
7167 snprintf socketpair strerror strlcat strlcpy strmode strnvis \
7168 sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \
7169
7170do
7171as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7172echo "$as_me:$LINENO: checking for $ac_func" >&5
7173echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7174if eval "test \"\${$as_ac_var+set}\" = set"; then
7175 echo $ECHO_N "(cached) $ECHO_C" >&6
7176else
7177 cat >conftest.$ac_ext <<_ACEOF
7178#line $LINENO "configure"
7179/* confdefs.h. */
7180_ACEOF
7181cat confdefs.h >>conftest.$ac_ext
7182cat >>conftest.$ac_ext <<_ACEOF
7183/* end confdefs.h. */
7184/* System header to define __stub macros and hopefully few prototypes,
7185 which can conflict with char $ac_func (); below.
7186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7187 <limits.h> exists even on freestanding compilers. */
7188#ifdef __STDC__
7189# include <limits.h>
7190#else
7191# include <assert.h>
7192#endif
7193/* Override any gcc2 internal prototype to avoid an error. */
7194#ifdef __cplusplus
7195extern "C"
7196{
7197#endif
7198/* We use char because int might match the return type of a gcc2
7199 builtin and then its argument prototype would still apply. */
7200char $ac_func ();
7201/* The GNU C library defines this for functions which it implements
7202 to always fail with ENOSYS. Some functions are actually named
7203 something starting with __ and the normal name is an alias. */
7204#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7205choke me
7206#else
7207char (*f) () = $ac_func;
7208#endif
7209#ifdef __cplusplus
7210}
7211#endif
7212
7213int
7214main ()
7215{
7216return f != $ac_func;
7217 ;
7218 return 0;
7219}
7220_ACEOF
7221rm -f conftest.$ac_objext conftest$ac_exeext
7222if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7223 (eval $ac_link) 2>&5
7224 ac_status=$?
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } &&
7227 { ac_try='test -s conftest$ac_exeext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 (eval $ac_try) 2>&5
7230 ac_status=$?
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 eval "$as_ac_var=yes"
7234else
7235 echo "$as_me: failed program was:" >&5
7236sed 's/^/| /' conftest.$ac_ext >&5
7237
7238eval "$as_ac_var=no"
7239fi
7240rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7241fi
7242echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7243echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7244if test `eval echo '${'$as_ac_var'}'` = yes; then
7245 cat >>confdefs.h <<_ACEOF
7246@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7247_ACEOF
7248
7249fi
7250done
7251
7252
7253echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
7254echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
7255if test "${ac_cv_search_nanosleep+set}" = set; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7257else
7258 ac_func_search_save_LIBS=$LIBS
7259ac_cv_search_nanosleep=no
7260cat >conftest.$ac_ext <<_ACEOF
7261#line $LINENO "configure"
7262/* confdefs.h. */
7263_ACEOF
7264cat confdefs.h >>conftest.$ac_ext
7265cat >>conftest.$ac_ext <<_ACEOF
7266/* end confdefs.h. */
7267
7268/* Override any gcc2 internal prototype to avoid an error. */
7269#ifdef __cplusplus
7270extern "C"
7271#endif
7272/* We use char because int might match the return type of a gcc2
7273 builtin and then its argument prototype would still apply. */
7274char nanosleep ();
7275int
7276main ()
7277{
7278nanosleep ();
7279 ;
7280 return 0;
7281}
7282_ACEOF
7283rm -f conftest.$ac_objext conftest$ac_exeext
7284if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7285 (eval $ac_link) 2>&5
7286 ac_status=$?
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); } &&
7289 { ac_try='test -s conftest$ac_exeext'
7290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 (eval $ac_try) 2>&5
7292 ac_status=$?
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); }; }; then
7295 ac_cv_search_nanosleep="none required"
7296else
7297 echo "$as_me: failed program was:" >&5
7298sed 's/^/| /' conftest.$ac_ext >&5
7299
7300fi
7301rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7302if test "$ac_cv_search_nanosleep" = no; then
7303 for ac_lib in rt posix4; do
7304 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7305 cat >conftest.$ac_ext <<_ACEOF
7306#line $LINENO "configure"
7307/* confdefs.h. */
7308_ACEOF
7309cat confdefs.h >>conftest.$ac_ext
7310cat >>conftest.$ac_ext <<_ACEOF
7311/* end confdefs.h. */
7312
7313/* Override any gcc2 internal prototype to avoid an error. */
7314#ifdef __cplusplus
7315extern "C"
7316#endif
7317/* We use char because int might match the return type of a gcc2
7318 builtin and then its argument prototype would still apply. */
7319char nanosleep ();
7320int
7321main ()
7322{
7323nanosleep ();
7324 ;
7325 return 0;
7326}
7327_ACEOF
7328rm -f conftest.$ac_objext conftest$ac_exeext
7329if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7330 (eval $ac_link) 2>&5
7331 ac_status=$?
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); } &&
7334 { ac_try='test -s conftest$ac_exeext'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 (eval $ac_try) 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7340 ac_cv_search_nanosleep="-l$ac_lib"
7341break
7342else
7343 echo "$as_me: failed program was:" >&5
7344sed 's/^/| /' conftest.$ac_ext >&5
7345
7346fi
7347rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7348 done
7349fi
7350LIBS=$ac_func_search_save_LIBS
7351fi
7352echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
7353echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
7354if test "$ac_cv_search_nanosleep" != no; then
7355 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
7356 cat >>confdefs.h <<\_ACEOF
7357@%:@define HAVE_NANOSLEEP 1
7358_ACEOF
7359
7360fi
7361
7362echo "$as_me:$LINENO: checking for library containing basename" >&5
7363echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6
7364if test "${ac_cv_search_basename+set}" = set; then
7365 echo $ECHO_N "(cached) $ECHO_C" >&6
7366else
7367 ac_func_search_save_LIBS=$LIBS
7368ac_cv_search_basename=no
7369cat >conftest.$ac_ext <<_ACEOF
7370#line $LINENO "configure"
7371/* confdefs.h. */
7372_ACEOF
7373cat confdefs.h >>conftest.$ac_ext
7374cat >>conftest.$ac_ext <<_ACEOF
7375/* end confdefs.h. */
7376
7377/* Override any gcc2 internal prototype to avoid an error. */
7378#ifdef __cplusplus
7379extern "C"
7380#endif
7381/* We use char because int might match the return type of a gcc2
7382 builtin and then its argument prototype would still apply. */
7383char basename ();
7384int
7385main ()
7386{
7387basename ();
7388 ;
7389 return 0;
7390}
7391_ACEOF
7392rm -f conftest.$ac_objext conftest$ac_exeext
7393if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7394 (eval $ac_link) 2>&5
7395 ac_status=$?
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } &&
7398 { ac_try='test -s conftest$ac_exeext'
7399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7400 (eval $ac_try) 2>&5
7401 ac_status=$?
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); }; }; then
7404 ac_cv_search_basename="none required"
7405else
7406 echo "$as_me: failed program was:" >&5
7407sed 's/^/| /' conftest.$ac_ext >&5
7408
7409fi
7410rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7411if test "$ac_cv_search_basename" = no; then
7412 for ac_lib in gen; do
7413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7414 cat >conftest.$ac_ext <<_ACEOF
7415#line $LINENO "configure"
7416/* confdefs.h. */
7417_ACEOF
7418cat confdefs.h >>conftest.$ac_ext
7419cat >>conftest.$ac_ext <<_ACEOF
7420/* end confdefs.h. */
7421
7422/* Override any gcc2 internal prototype to avoid an error. */
7423#ifdef __cplusplus
7424extern "C"
7425#endif
7426/* We use char because int might match the return type of a gcc2
7427 builtin and then its argument prototype would still apply. */
7428char basename ();
7429int
7430main ()
7431{
7432basename ();
7433 ;
7434 return 0;
7435}
7436_ACEOF
7437rm -f conftest.$ac_objext conftest$ac_exeext
7438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7439 (eval $ac_link) 2>&5
7440 ac_status=$?
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } &&
7443 { ac_try='test -s conftest$ac_exeext'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 (eval $ac_try) 2>&5
7446 ac_status=$?
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then
7449 ac_cv_search_basename="-l$ac_lib"
7450break
7451else
7452 echo "$as_me: failed program was:" >&5
7453sed 's/^/| /' conftest.$ac_ext >&5
7454
7455fi
7456rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7457 done
7458fi
7459LIBS=$ac_func_search_save_LIBS
7460fi
7461echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
7462echo "${ECHO_T}$ac_cv_search_basename" >&6
7463if test "$ac_cv_search_basename" != no; then
7464 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
7465 cat >>confdefs.h <<\_ACEOF
7466@%:@define HAVE_BASENAME 1
7467_ACEOF
7468
7469fi
7470
7471
7472echo "$as_me:$LINENO: checking whether strsep is declared" >&5
7473echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
7474if test "${ac_cv_have_decl_strsep+set}" = set; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7476else
7477 cat >conftest.$ac_ext <<_ACEOF
7478#line $LINENO "configure"
7479/* confdefs.h. */
7480_ACEOF
7481cat confdefs.h >>conftest.$ac_ext
7482cat >>conftest.$ac_ext <<_ACEOF
7483/* end confdefs.h. */
7484$ac_includes_default
7485int
7486main ()
7487{
7488#ifndef strsep
7489 char *p = (char *) strsep;
7490#endif
7491
7492 ;
7493 return 0;
7494}
7495_ACEOF
7496rm -f conftest.$ac_objext
7497if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7498 (eval $ac_compile) 2>&5
7499 ac_status=$?
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); } &&
7502 { ac_try='test -s conftest.$ac_objext'
7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 (eval $ac_try) 2>&5
7505 ac_status=$?
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); }; }; then
7508 ac_cv_have_decl_strsep=yes
7509else
7510 echo "$as_me: failed program was:" >&5
7511sed 's/^/| /' conftest.$ac_ext >&5
7512
7513ac_cv_have_decl_strsep=no
7514fi
7515rm -f conftest.$ac_objext conftest.$ac_ext
7516fi
7517echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
7518echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6
7519if test $ac_cv_have_decl_strsep = yes; then
7520
7521for ac_func in strsep
7522do
7523as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7524echo "$as_me:$LINENO: checking for $ac_func" >&5
7525echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7526if eval "test \"\${$as_ac_var+set}\" = set"; then
7527 echo $ECHO_N "(cached) $ECHO_C" >&6
7528else
7529 cat >conftest.$ac_ext <<_ACEOF
7530#line $LINENO "configure"
7531/* confdefs.h. */
7532_ACEOF
7533cat confdefs.h >>conftest.$ac_ext
7534cat >>conftest.$ac_ext <<_ACEOF
7535/* end confdefs.h. */
7536/* System header to define __stub macros and hopefully few prototypes,
7537 which can conflict with char $ac_func (); below.
7538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7539 <limits.h> exists even on freestanding compilers. */
7540#ifdef __STDC__
7541# include <limits.h>
7542#else
7543# include <assert.h>
7544#endif
7545/* Override any gcc2 internal prototype to avoid an error. */
7546#ifdef __cplusplus
7547extern "C"
7548{
7549#endif
7550/* We use char because int might match the return type of a gcc2
7551 builtin and then its argument prototype would still apply. */
7552char $ac_func ();
7553/* The GNU C library defines this for functions which it implements
7554 to always fail with ENOSYS. Some functions are actually named
7555 something starting with __ and the normal name is an alias. */
7556#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7557choke me
7558#else
7559char (*f) () = $ac_func;
7560#endif
7561#ifdef __cplusplus
7562}
7563#endif
7564
7565int
7566main ()
7567{
7568return f != $ac_func;
7569 ;
7570 return 0;
7571}
7572_ACEOF
7573rm -f conftest.$ac_objext conftest$ac_exeext
7574if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7575 (eval $ac_link) 2>&5
7576 ac_status=$?
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } &&
7579 { ac_try='test -s conftest$ac_exeext'
7580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 (eval $ac_try) 2>&5
7582 ac_status=$?
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); }; }; then
7585 eval "$as_ac_var=yes"
7586else
7587 echo "$as_me: failed program was:" >&5
7588sed 's/^/| /' conftest.$ac_ext >&5
7589
7590eval "$as_ac_var=no"
7591fi
7592rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7593fi
7594echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7595echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7596if test `eval echo '${'$as_ac_var'}'` = yes; then
7597 cat >>confdefs.h <<_ACEOF
7598@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7599_ACEOF
7600
7601fi
7602done
7603
7604fi
7605
7606
7607
7608for ac_func in dirname
7609do
7610as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7611echo "$as_me:$LINENO: checking for $ac_func" >&5
7612echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7613if eval "test \"\${$as_ac_var+set}\" = set"; then
7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7615else
7616 cat >conftest.$ac_ext <<_ACEOF
7617#line $LINENO "configure"
7618/* confdefs.h. */
7619_ACEOF
7620cat confdefs.h >>conftest.$ac_ext
7621cat >>conftest.$ac_ext <<_ACEOF
7622/* end confdefs.h. */
7623/* System header to define __stub macros and hopefully few prototypes,
7624 which can conflict with char $ac_func (); below.
7625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7626 <limits.h> exists even on freestanding compilers. */
7627#ifdef __STDC__
7628# include <limits.h>
7629#else
7630# include <assert.h>
7631#endif
7632/* Override any gcc2 internal prototype to avoid an error. */
7633#ifdef __cplusplus
7634extern "C"
7635{
7636#endif
7637/* We use char because int might match the return type of a gcc2
7638 builtin and then its argument prototype would still apply. */
7639char $ac_func ();
7640/* The GNU C library defines this for functions which it implements
7641 to always fail with ENOSYS. Some functions are actually named
7642 something starting with __ and the normal name is an alias. */
7643#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7644choke me
7645#else
7646char (*f) () = $ac_func;
7647#endif
7648#ifdef __cplusplus
7649}
7650#endif
7651
7652int
7653main ()
7654{
7655return f != $ac_func;
7656 ;
7657 return 0;
7658}
7659_ACEOF
7660rm -f conftest.$ac_objext conftest$ac_exeext
7661if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7662 (eval $ac_link) 2>&5
7663 ac_status=$?
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } &&
7666 { ac_try='test -s conftest$ac_exeext'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 (eval $ac_try) 2>&5
7669 ac_status=$?
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; }; then
7672 eval "$as_ac_var=yes"
7673else
7674 echo "$as_me: failed program was:" >&5
7675sed 's/^/| /' conftest.$ac_ext >&5
7676
7677eval "$as_ac_var=no"
7678fi
7679rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7680fi
7681echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7682echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7683if test `eval echo '${'$as_ac_var'}'` = yes; then
7684 cat >>confdefs.h <<_ACEOF
7685@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7686_ACEOF
7687
7688for ac_header in libgen.h
7689do
7690as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7691if eval "test \"\${$as_ac_Header+set}\" = set"; then
7692 echo "$as_me:$LINENO: checking for $ac_header" >&5
7693echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7694if eval "test \"\${$as_ac_Header+set}\" = set"; then
7695 echo $ECHO_N "(cached) $ECHO_C" >&6
7696fi
7697echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7698echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7699else
7700 # Is the header compilable?
7701echo "$as_me:$LINENO: checking $ac_header usability" >&5
7702echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7703cat >conftest.$ac_ext <<_ACEOF
7704#line $LINENO "configure"
7705/* confdefs.h. */
7706_ACEOF
7707cat confdefs.h >>conftest.$ac_ext
7708cat >>conftest.$ac_ext <<_ACEOF
7709/* end confdefs.h. */
7710$ac_includes_default
7711@%:@include <$ac_header>
7712_ACEOF
7713rm -f conftest.$ac_objext
7714if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7715 (eval $ac_compile) 2>&5
7716 ac_status=$?
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } &&
7719 { ac_try='test -s conftest.$ac_objext'
7720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 (eval $ac_try) 2>&5
7722 ac_status=$?
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); }; }; then
7725 ac_header_compiler=yes
7726else
7727 echo "$as_me: failed program was:" >&5
7728sed 's/^/| /' conftest.$ac_ext >&5
7729
7730ac_header_compiler=no
7731fi
7732rm -f conftest.$ac_objext conftest.$ac_ext
7733echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7734echo "${ECHO_T}$ac_header_compiler" >&6
7735
7736# Is the header present?
7737echo "$as_me:$LINENO: checking $ac_header presence" >&5
7738echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7739cat >conftest.$ac_ext <<_ACEOF
7740#line $LINENO "configure"
7741/* confdefs.h. */
7742_ACEOF
7743cat confdefs.h >>conftest.$ac_ext
7744cat >>conftest.$ac_ext <<_ACEOF
7745/* end confdefs.h. */
7746@%:@include <$ac_header>
7747_ACEOF
7748if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7750 ac_status=$?
7751 grep -v '^ *+' conftest.er1 >conftest.err
7752 rm -f conftest.er1
7753 cat conftest.err >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); } >/dev/null; then
7756 if test -s conftest.err; then
7757 ac_cpp_err=$ac_c_preproc_warn_flag
7758 else
7759 ac_cpp_err=
7760 fi
7761else
7762 ac_cpp_err=yes
7763fi
7764if test -z "$ac_cpp_err"; then
7765 ac_header_preproc=yes
7766else
7767 echo "$as_me: failed program was:" >&5
7768sed 's/^/| /' conftest.$ac_ext >&5
7769
7770 ac_header_preproc=no
7771fi
7772rm -f conftest.err conftest.$ac_ext
7773echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7774echo "${ECHO_T}$ac_header_preproc" >&6
7775
7776# So? What about this header?
7777case $ac_header_compiler:$ac_header_preproc in
7778 yes:no )
7779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7780echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7782echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7783 (
7784 cat <<\_ASBOX
7785@%:@@%:@ ------------------------------------ @%:@@%:@
7786@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
7787@%:@@%:@ ------------------------------------ @%:@@%:@
7788_ASBOX
7789 ) |
7790 sed "s/^/$as_me: WARNING: /" >&2
7791 ;;
7792 no:yes )
7793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7794echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7796echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7798echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7799 (
7800 cat <<\_ASBOX
7801@%:@@%:@ ------------------------------------ @%:@@%:@
7802@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
7803@%:@@%:@ ------------------------------------ @%:@@%:@
7804_ASBOX
7805 ) |
7806 sed "s/^/$as_me: WARNING: /" >&2
7807 ;;
7808esac
7809echo "$as_me:$LINENO: checking for $ac_header" >&5
7810echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7811if eval "test \"\${$as_ac_Header+set}\" = set"; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7813else
7814 eval "$as_ac_Header=$ac_header_preproc"
7815fi
7816echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7817echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7818
7819fi
7820if test `eval echo '${'$as_ac_Header'}'` = yes; then
7821 cat >>confdefs.h <<_ACEOF
7822@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7823_ACEOF
7824
7825fi
7826
7827done
7828
7829else
7830
7831 echo "$as_me:$LINENO: checking for dirname in -lgen" >&5
7832echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6
7833if test "${ac_cv_lib_gen_dirname+set}" = set; then
7834 echo $ECHO_N "(cached) $ECHO_C" >&6
7835else
7836 ac_check_lib_save_LIBS=$LIBS
7837LIBS="-lgen $LIBS"
7838cat >conftest.$ac_ext <<_ACEOF
7839#line $LINENO "configure"
7840/* confdefs.h. */
7841_ACEOF
7842cat confdefs.h >>conftest.$ac_ext
7843cat >>conftest.$ac_ext <<_ACEOF
7844/* end confdefs.h. */
7845
7846/* Override any gcc2 internal prototype to avoid an error. */
7847#ifdef __cplusplus
7848extern "C"
7849#endif
7850/* We use char because int might match the return type of a gcc2
7851 builtin and then its argument prototype would still apply. */
7852char dirname ();
7853int
7854main ()
7855{
7856dirname ();
7857 ;
7858 return 0;
7859}
7860_ACEOF
7861rm -f conftest.$ac_objext conftest$ac_exeext
7862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7863 (eval $ac_link) 2>&5
7864 ac_status=$?
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } &&
7867 { ac_try='test -s conftest$ac_exeext'
7868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7869 (eval $ac_try) 2>&5
7870 ac_status=$?
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); }; }; then
7873 ac_cv_lib_gen_dirname=yes
7874else
7875 echo "$as_me: failed program was:" >&5
7876sed 's/^/| /' conftest.$ac_ext >&5
7877
7878ac_cv_lib_gen_dirname=no
7879fi
7880rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7881LIBS=$ac_check_lib_save_LIBS
7882fi
7883echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5
7884echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6
7885if test $ac_cv_lib_gen_dirname = yes; then
7886
7887 echo "$as_me:$LINENO: checking for broken dirname" >&5
7888echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6
7889if test "${ac_cv_have_broken_dirname+set}" = set; then
7890 echo $ECHO_N "(cached) $ECHO_C" >&6
7891else
7892
7893 save_LIBS="$LIBS"
7894 LIBS="$LIBS -lgen"
7895 if test "$cross_compiling" = yes; then
7896 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7897See \`config.log' for more details." >&5
7898echo "$as_me: error: cannot run test program while cross compiling
7899See \`config.log' for more details." >&2;}
7900 { (exit 1); exit 1; }; }
7901else
7902 cat >conftest.$ac_ext <<_ACEOF
7903#line $LINENO "configure"
7904/* confdefs.h. */
7905_ACEOF
7906cat confdefs.h >>conftest.$ac_ext
7907cat >>conftest.$ac_ext <<_ACEOF
7908/* end confdefs.h. */
7909
7910#include <libgen.h>
7911#include <string.h>
7912
7913int main(int argc, char **argv) {
7914 char *s, buf[32];
7915
7916 strncpy(buf,"/etc", 32);
7917 s = dirname(buf);
7918 if (!s || strncmp(s, "/", 32) != 0) {
7919 exit(1);
7920 } else {
7921 exit(0);
7922 }
7923}
7924
7925_ACEOF
7926rm -f conftest$ac_exeext
7927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928 (eval $ac_link) 2>&5
7929 ac_status=$?
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933 (eval $ac_try) 2>&5
7934 ac_status=$?
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; }; then
7937 ac_cv_have_broken_dirname="no"
7938else
7939 echo "$as_me: program exited with status $ac_status" >&5
7940echo "$as_me: failed program was:" >&5
7941sed 's/^/| /' conftest.$ac_ext >&5
7942
7943( exit $ac_status )
7944 ac_cv_have_broken_dirname="yes"
7945
7946fi
7947rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7948fi
7949 LIBS="$save_LIBS"
7950
7951fi
7952echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5
7953echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6
7954 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
7955 LIBS="$LIBS -lgen"
7956 cat >>confdefs.h <<\_ACEOF
7957@%:@define HAVE_DIRNAME 1
7958_ACEOF
7959
7960
7961for ac_header in libgen.h
7962do
7963as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7964if eval "test \"\${$as_ac_Header+set}\" = set"; then
7965 echo "$as_me:$LINENO: checking for $ac_header" >&5
7966echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7967if eval "test \"\${$as_ac_Header+set}\" = set"; then
7968 echo $ECHO_N "(cached) $ECHO_C" >&6
7969fi
7970echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7971echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7972else
7973 # Is the header compilable?
7974echo "$as_me:$LINENO: checking $ac_header usability" >&5
7975echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7976cat >conftest.$ac_ext <<_ACEOF
7977#line $LINENO "configure"
7978/* confdefs.h. */
7979_ACEOF
7980cat confdefs.h >>conftest.$ac_ext
7981cat >>conftest.$ac_ext <<_ACEOF
7982/* end confdefs.h. */
7983$ac_includes_default
7984@%:@include <$ac_header>
7985_ACEOF
7986rm -f conftest.$ac_objext
7987if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7988 (eval $ac_compile) 2>&5
7989 ac_status=$?
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } &&
7992 { ac_try='test -s conftest.$ac_objext'
7993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7994 (eval $ac_try) 2>&5
7995 ac_status=$?
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); }; }; then
7998 ac_header_compiler=yes
7999else
8000 echo "$as_me: failed program was:" >&5
8001sed 's/^/| /' conftest.$ac_ext >&5
8002
8003ac_header_compiler=no
8004fi
8005rm -f conftest.$ac_objext conftest.$ac_ext
8006echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8007echo "${ECHO_T}$ac_header_compiler" >&6
8008
8009# Is the header present?
8010echo "$as_me:$LINENO: checking $ac_header presence" >&5
8011echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8012cat >conftest.$ac_ext <<_ACEOF
8013#line $LINENO "configure"
8014/* confdefs.h. */
8015_ACEOF
8016cat confdefs.h >>conftest.$ac_ext
8017cat >>conftest.$ac_ext <<_ACEOF
8018/* end confdefs.h. */
8019@%:@include <$ac_header>
8020_ACEOF
8021if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8023 ac_status=$?
8024 grep -v '^ *+' conftest.er1 >conftest.err
8025 rm -f conftest.er1
8026 cat conftest.err >&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); } >/dev/null; then
8029 if test -s conftest.err; then
8030 ac_cpp_err=$ac_c_preproc_warn_flag
8031 else
8032 ac_cpp_err=
8033 fi
8034else
8035 ac_cpp_err=yes
8036fi
8037if test -z "$ac_cpp_err"; then
8038 ac_header_preproc=yes
8039else
8040 echo "$as_me: failed program was:" >&5
8041sed 's/^/| /' conftest.$ac_ext >&5
8042
8043 ac_header_preproc=no
8044fi
8045rm -f conftest.err conftest.$ac_ext
8046echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8047echo "${ECHO_T}$ac_header_preproc" >&6
8048
8049# So? What about this header?
8050case $ac_header_compiler:$ac_header_preproc in
8051 yes:no )
8052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8053echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8055echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8056 (
8057 cat <<\_ASBOX
8058@%:@@%:@ ------------------------------------ @%:@@%:@
8059@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
8060@%:@@%:@ ------------------------------------ @%:@@%:@
8061_ASBOX
8062 ) |
8063 sed "s/^/$as_me: WARNING: /" >&2
8064 ;;
8065 no:yes )
8066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8067echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8069echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8071echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8072 (
8073 cat <<\_ASBOX
8074@%:@@%:@ ------------------------------------ @%:@@%:@
8075@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
8076@%:@@%:@ ------------------------------------ @%:@@%:@
8077_ASBOX
8078 ) |
8079 sed "s/^/$as_me: WARNING: /" >&2
8080 ;;
8081esac
8082echo "$as_me:$LINENO: checking for $ac_header" >&5
8083echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8084if eval "test \"\${$as_ac_Header+set}\" = set"; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8086else
8087 eval "$as_ac_Header=$ac_header_preproc"
8088fi
8089echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8090echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8091
8092fi
8093if test `eval echo '${'$as_ac_Header'}'` = yes; then
8094 cat >>confdefs.h <<_ACEOF
8095@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8096_ACEOF
8097
8098fi
8099
8100done
8101
8102 fi
8103
8104fi
8105
8106
8107fi
8108done
8109
8110
8111
8112
8113for ac_func in gettimeofday time
8114do
8115as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8116echo "$as_me:$LINENO: checking for $ac_func" >&5
8117echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8118if eval "test \"\${$as_ac_var+set}\" = set"; then
8119 echo $ECHO_N "(cached) $ECHO_C" >&6
8120else
8121 cat >conftest.$ac_ext <<_ACEOF
8122#line $LINENO "configure"
8123/* confdefs.h. */
8124_ACEOF
8125cat confdefs.h >>conftest.$ac_ext
8126cat >>conftest.$ac_ext <<_ACEOF
8127/* end confdefs.h. */
8128/* System header to define __stub macros and hopefully few prototypes,
8129 which can conflict with char $ac_func (); below.
8130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8131 <limits.h> exists even on freestanding compilers. */
8132#ifdef __STDC__
8133# include <limits.h>
8134#else
8135# include <assert.h>
8136#endif
8137/* Override any gcc2 internal prototype to avoid an error. */
8138#ifdef __cplusplus
8139extern "C"
8140{
8141#endif
8142/* We use char because int might match the return type of a gcc2
8143 builtin and then its argument prototype would still apply. */
8144char $ac_func ();
8145/* The GNU C library defines this for functions which it implements
8146 to always fail with ENOSYS. Some functions are actually named
8147 something starting with __ and the normal name is an alias. */
8148#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8149choke me
8150#else
8151char (*f) () = $ac_func;
8152#endif
8153#ifdef __cplusplus
8154}
8155#endif
8156
8157int
8158main ()
8159{
8160return f != $ac_func;
8161 ;
8162 return 0;
8163}
8164_ACEOF
8165rm -f conftest.$ac_objext conftest$ac_exeext
8166if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8167 (eval $ac_link) 2>&5
8168 ac_status=$?
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } &&
8171 { ac_try='test -s conftest$ac_exeext'
8172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8173 (eval $ac_try) 2>&5
8174 ac_status=$?
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); }; }; then
8177 eval "$as_ac_var=yes"
8178else
8179 echo "$as_me: failed program was:" >&5
8180sed 's/^/| /' conftest.$ac_ext >&5
8181
8182eval "$as_ac_var=no"
8183fi
8184rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8185fi
8186echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8187echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8188if test `eval echo '${'$as_ac_var'}'` = yes; then
8189 cat >>confdefs.h <<_ACEOF
8190@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8191_ACEOF
8192
8193fi
8194done
8195
8196
8197
8198
8199
8200
8201
8202for ac_func in endutent getutent getutid getutline pututline setutent
8203do
8204as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8205echo "$as_me:$LINENO: checking for $ac_func" >&5
8206echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8207if eval "test \"\${$as_ac_var+set}\" = set"; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6
8209else
8210 cat >conftest.$ac_ext <<_ACEOF
8211#line $LINENO "configure"
8212/* confdefs.h. */
8213_ACEOF
8214cat confdefs.h >>conftest.$ac_ext
8215cat >>conftest.$ac_ext <<_ACEOF
8216/* end confdefs.h. */
8217/* System header to define __stub macros and hopefully few prototypes,
8218 which can conflict with char $ac_func (); below.
8219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8220 <limits.h> exists even on freestanding compilers. */
8221#ifdef __STDC__
8222# include <limits.h>
8223#else
8224# include <assert.h>
8225#endif
8226/* Override any gcc2 internal prototype to avoid an error. */
8227#ifdef __cplusplus
8228extern "C"
8229{
8230#endif
8231/* We use char because int might match the return type of a gcc2
8232 builtin and then its argument prototype would still apply. */
8233char $ac_func ();
8234/* The GNU C library defines this for functions which it implements
8235 to always fail with ENOSYS. Some functions are actually named
8236 something starting with __ and the normal name is an alias. */
8237#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8238choke me
8239#else
8240char (*f) () = $ac_func;
8241#endif
8242#ifdef __cplusplus
8243}
8244#endif
8245
8246int
8247main ()
8248{
8249return f != $ac_func;
8250 ;
8251 return 0;
8252}
8253_ACEOF
8254rm -f conftest.$ac_objext conftest$ac_exeext
8255if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8256 (eval $ac_link) 2>&5
8257 ac_status=$?
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } &&
8260 { ac_try='test -s conftest$ac_exeext'
8261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8262 (eval $ac_try) 2>&5
8263 ac_status=$?
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); }; }; then
8266 eval "$as_ac_var=yes"
8267else
8268 echo "$as_me: failed program was:" >&5
8269sed 's/^/| /' conftest.$ac_ext >&5
8270
8271eval "$as_ac_var=no"
8272fi
8273rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8274fi
8275echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8276echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8277if test `eval echo '${'$as_ac_var'}'` = yes; then
8278 cat >>confdefs.h <<_ACEOF
8279@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8280_ACEOF
8281
8282fi
8283done
8284
8285
8286for ac_func in utmpname
8287do
8288as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8289echo "$as_me:$LINENO: checking for $ac_func" >&5
8290echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8291if eval "test \"\${$as_ac_var+set}\" = set"; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8293else
8294 cat >conftest.$ac_ext <<_ACEOF
8295#line $LINENO "configure"
8296/* confdefs.h. */
8297_ACEOF
8298cat confdefs.h >>conftest.$ac_ext
8299cat >>conftest.$ac_ext <<_ACEOF
8300/* end confdefs.h. */
8301/* System header to define __stub macros and hopefully few prototypes,
8302 which can conflict with char $ac_func (); below.
8303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8304 <limits.h> exists even on freestanding compilers. */
8305#ifdef __STDC__
8306# include <limits.h>
8307#else
8308# include <assert.h>
8309#endif
8310/* Override any gcc2 internal prototype to avoid an error. */
8311#ifdef __cplusplus
8312extern "C"
8313{
8314#endif
8315/* We use char because int might match the return type of a gcc2
8316 builtin and then its argument prototype would still apply. */
8317char $ac_func ();
8318/* The GNU C library defines this for functions which it implements
8319 to always fail with ENOSYS. Some functions are actually named
8320 something starting with __ and the normal name is an alias. */
8321#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8322choke me
8323#else
8324char (*f) () = $ac_func;
8325#endif
8326#ifdef __cplusplus
8327}
8328#endif
8329
8330int
8331main ()
8332{
8333return f != $ac_func;
8334 ;
8335 return 0;
8336}
8337_ACEOF
8338rm -f conftest.$ac_objext conftest$ac_exeext
8339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8340 (eval $ac_link) 2>&5
8341 ac_status=$?
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); } &&
8344 { ac_try='test -s conftest$ac_exeext'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8346 (eval $ac_try) 2>&5
8347 ac_status=$?
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; }; then
8350 eval "$as_ac_var=yes"
8351else
8352 echo "$as_me: failed program was:" >&5
8353sed 's/^/| /' conftest.$ac_ext >&5
8354
8355eval "$as_ac_var=no"
8356fi
8357rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8358fi
8359echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8360echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8361if test `eval echo '${'$as_ac_var'}'` = yes; then
8362 cat >>confdefs.h <<_ACEOF
8363@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8364_ACEOF
8365
8366fi
8367done
8368
8369
8370
8371
8372
8373
8374for ac_func in endutxent getutxent getutxid getutxline pututxline
8375do
8376as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8377echo "$as_me:$LINENO: checking for $ac_func" >&5
8378echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8379if eval "test \"\${$as_ac_var+set}\" = set"; then
8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8381else
8382 cat >conftest.$ac_ext <<_ACEOF
8383#line $LINENO "configure"
8384/* confdefs.h. */
8385_ACEOF
8386cat confdefs.h >>conftest.$ac_ext
8387cat >>conftest.$ac_ext <<_ACEOF
8388/* end confdefs.h. */
8389/* System header to define __stub macros and hopefully few prototypes,
8390 which can conflict with char $ac_func (); below.
8391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8392 <limits.h> exists even on freestanding compilers. */
8393#ifdef __STDC__
8394# include <limits.h>
8395#else
8396# include <assert.h>
8397#endif
8398/* Override any gcc2 internal prototype to avoid an error. */
8399#ifdef __cplusplus
8400extern "C"
8401{
8402#endif
8403/* We use char because int might match the return type of a gcc2
8404 builtin and then its argument prototype would still apply. */
8405char $ac_func ();
8406/* The GNU C library defines this for functions which it implements
8407 to always fail with ENOSYS. Some functions are actually named
8408 something starting with __ and the normal name is an alias. */
8409#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8410choke me
8411#else
8412char (*f) () = $ac_func;
8413#endif
8414#ifdef __cplusplus
8415}
8416#endif
8417
8418int
8419main ()
8420{
8421return f != $ac_func;
8422 ;
8423 return 0;
8424}
8425_ACEOF
8426rm -f conftest.$ac_objext conftest$ac_exeext
8427if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8428 (eval $ac_link) 2>&5
8429 ac_status=$?
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); } &&
8432 { ac_try='test -s conftest$ac_exeext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 (eval $ac_try) 2>&5
8435 ac_status=$?
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8438 eval "$as_ac_var=yes"
8439else
8440 echo "$as_me: failed program was:" >&5
8441sed 's/^/| /' conftest.$ac_ext >&5
8442
8443eval "$as_ac_var=no"
8444fi
8445rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8446fi
8447echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8448echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8449if test `eval echo '${'$as_ac_var'}'` = yes; then
8450 cat >>confdefs.h <<_ACEOF
8451@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8452_ACEOF
8453
8454fi
8455done
8456
8457
8458
8459for ac_func in setutxent utmpxname
8460do
8461as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8462echo "$as_me:$LINENO: checking for $ac_func" >&5
8463echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8464if eval "test \"\${$as_ac_var+set}\" = set"; then
8465 echo $ECHO_N "(cached) $ECHO_C" >&6
8466else
8467 cat >conftest.$ac_ext <<_ACEOF
8468#line $LINENO "configure"
8469/* confdefs.h. */
8470_ACEOF
8471cat confdefs.h >>conftest.$ac_ext
8472cat >>conftest.$ac_ext <<_ACEOF
8473/* end confdefs.h. */
8474/* System header to define __stub macros and hopefully few prototypes,
8475 which can conflict with char $ac_func (); below.
8476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8477 <limits.h> exists even on freestanding compilers. */
8478#ifdef __STDC__
8479# include <limits.h>
8480#else
8481# include <assert.h>
8482#endif
8483/* Override any gcc2 internal prototype to avoid an error. */
8484#ifdef __cplusplus
8485extern "C"
8486{
8487#endif
8488/* We use char because int might match the return type of a gcc2
8489 builtin and then its argument prototype would still apply. */
8490char $ac_func ();
8491/* The GNU C library defines this for functions which it implements
8492 to always fail with ENOSYS. Some functions are actually named
8493 something starting with __ and the normal name is an alias. */
8494#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8495choke me
8496#else
8497char (*f) () = $ac_func;
8498#endif
8499#ifdef __cplusplus
8500}
8501#endif
8502
8503int
8504main ()
8505{
8506return f != $ac_func;
8507 ;
8508 return 0;
8509}
8510_ACEOF
8511rm -f conftest.$ac_objext conftest$ac_exeext
8512if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8513 (eval $ac_link) 2>&5
8514 ac_status=$?
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); } &&
8517 { ac_try='test -s conftest$ac_exeext'
8518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8519 (eval $ac_try) 2>&5
8520 ac_status=$?
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); }; }; then
8523 eval "$as_ac_var=yes"
8524else
8525 echo "$as_me: failed program was:" >&5
8526sed 's/^/| /' conftest.$ac_ext >&5
8527
8528eval "$as_ac_var=no"
8529fi
8530rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8531fi
8532echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8533echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8534if test `eval echo '${'$as_ac_var'}'` = yes; then
8535 cat >>confdefs.h <<_ACEOF
8536@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8537_ACEOF
8538
8539fi
8540done
8541
8542
8543echo "$as_me:$LINENO: checking for daemon" >&5
8544echo $ECHO_N "checking for daemon... $ECHO_C" >&6
8545if test "${ac_cv_func_daemon+set}" = set; then
8546 echo $ECHO_N "(cached) $ECHO_C" >&6
8547else
8548 cat >conftest.$ac_ext <<_ACEOF
8549#line $LINENO "configure"
8550/* confdefs.h. */
8551_ACEOF
8552cat confdefs.h >>conftest.$ac_ext
8553cat >>conftest.$ac_ext <<_ACEOF
8554/* end confdefs.h. */
8555/* System header to define __stub macros and hopefully few prototypes,
8556 which can conflict with char daemon (); below.
8557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8558 <limits.h> exists even on freestanding compilers. */
8559#ifdef __STDC__
8560# include <limits.h>
8561#else
8562# include <assert.h>
8563#endif
8564/* Override any gcc2 internal prototype to avoid an error. */
8565#ifdef __cplusplus
8566extern "C"
8567{
8568#endif
8569/* We use char because int might match the return type of a gcc2
8570 builtin and then its argument prototype would still apply. */
8571char daemon ();
8572/* The GNU C library defines this for functions which it implements
8573 to always fail with ENOSYS. Some functions are actually named
8574 something starting with __ and the normal name is an alias. */
8575#if defined (__stub_daemon) || defined (__stub___daemon)
8576choke me
8577#else
8578char (*f) () = daemon;
8579#endif
8580#ifdef __cplusplus
8581}
8582#endif
8583
8584int
8585main ()
8586{
8587return f != daemon;
8588 ;
8589 return 0;
8590}
8591_ACEOF
8592rm -f conftest.$ac_objext conftest$ac_exeext
8593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8594 (eval $ac_link) 2>&5
8595 ac_status=$?
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } &&
8598 { ac_try='test -s conftest$ac_exeext'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8600 (eval $ac_try) 2>&5
8601 ac_status=$?
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; }; then
8604 ac_cv_func_daemon=yes
8605else
8606 echo "$as_me: failed program was:" >&5
8607sed 's/^/| /' conftest.$ac_ext >&5
8608
8609ac_cv_func_daemon=no
8610fi
8611rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8612fi
8613echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
8614echo "${ECHO_T}$ac_cv_func_daemon" >&6
8615if test $ac_cv_func_daemon = yes; then
8616 cat >>confdefs.h <<\_ACEOF
8617@%:@define HAVE_DAEMON 1
8618_ACEOF
8619
8620else
8621 echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
8622echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6
8623if test "${ac_cv_lib_bsd_daemon+set}" = set; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6
8625else
8626 ac_check_lib_save_LIBS=$LIBS
8627LIBS="-lbsd $LIBS"
8628cat >conftest.$ac_ext <<_ACEOF
8629#line $LINENO "configure"
8630/* confdefs.h. */
8631_ACEOF
8632cat confdefs.h >>conftest.$ac_ext
8633cat >>conftest.$ac_ext <<_ACEOF
8634/* end confdefs.h. */
8635
8636/* Override any gcc2 internal prototype to avoid an error. */
8637#ifdef __cplusplus
8638extern "C"
8639#endif
8640/* We use char because int might match the return type of a gcc2
8641 builtin and then its argument prototype would still apply. */
8642char daemon ();
8643int
8644main ()
8645{
8646daemon ();
8647 ;
8648 return 0;
8649}
8650_ACEOF
8651rm -f conftest.$ac_objext conftest$ac_exeext
8652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8653 (eval $ac_link) 2>&5
8654 ac_status=$?
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } &&
8657 { ac_try='test -s conftest$ac_exeext'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659 (eval $ac_try) 2>&5
8660 ac_status=$?
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; }; then
8663 ac_cv_lib_bsd_daemon=yes
8664else
8665 echo "$as_me: failed program was:" >&5
8666sed 's/^/| /' conftest.$ac_ext >&5
8667
8668ac_cv_lib_bsd_daemon=no
8669fi
8670rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8671LIBS=$ac_check_lib_save_LIBS
8672fi
8673echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
8674echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6
8675if test $ac_cv_lib_bsd_daemon = yes; then
8676 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF
8677@%:@define HAVE_DAEMON 1
8678_ACEOF
8679
8680fi
8681
8682
8683fi
8684
8685
8686echo "$as_me:$LINENO: checking for getpagesize" >&5
8687echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6
8688if test "${ac_cv_func_getpagesize+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8690else
8691 cat >conftest.$ac_ext <<_ACEOF
8692#line $LINENO "configure"
8693/* confdefs.h. */
8694_ACEOF
8695cat confdefs.h >>conftest.$ac_ext
8696cat >>conftest.$ac_ext <<_ACEOF
8697/* end confdefs.h. */
8698/* System header to define __stub macros and hopefully few prototypes,
8699 which can conflict with char getpagesize (); below.
8700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8701 <limits.h> exists even on freestanding compilers. */
8702#ifdef __STDC__
8703# include <limits.h>
8704#else
8705# include <assert.h>
8706#endif
8707/* Override any gcc2 internal prototype to avoid an error. */
8708#ifdef __cplusplus
8709extern "C"
8710{
8711#endif
8712/* We use char because int might match the return type of a gcc2
8713 builtin and then its argument prototype would still apply. */
8714char getpagesize ();
8715/* The GNU C library defines this for functions which it implements
8716 to always fail with ENOSYS. Some functions are actually named
8717 something starting with __ and the normal name is an alias. */
8718#if defined (__stub_getpagesize) || defined (__stub___getpagesize)
8719choke me
8720#else
8721char (*f) () = getpagesize;
8722#endif
8723#ifdef __cplusplus
8724}
8725#endif
8726
8727int
8728main ()
8729{
8730return f != getpagesize;
8731 ;
8732 return 0;
8733}
8734_ACEOF
8735rm -f conftest.$ac_objext conftest$ac_exeext
8736if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8737 (eval $ac_link) 2>&5
8738 ac_status=$?
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); } &&
8741 { ac_try='test -s conftest$ac_exeext'
8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8743 (eval $ac_try) 2>&5
8744 ac_status=$?
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }; }; then
8747 ac_cv_func_getpagesize=yes
8748else
8749 echo "$as_me: failed program was:" >&5
8750sed 's/^/| /' conftest.$ac_ext >&5
8751
8752ac_cv_func_getpagesize=no
8753fi
8754rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8755fi
8756echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
8757echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
8758if test $ac_cv_func_getpagesize = yes; then
8759 cat >>confdefs.h <<\_ACEOF
8760@%:@define HAVE_GETPAGESIZE 1
8761_ACEOF
8762
8763else
8764 echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5
8765echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6
8766if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8768else
8769 ac_check_lib_save_LIBS=$LIBS
8770LIBS="-lucb $LIBS"
8771cat >conftest.$ac_ext <<_ACEOF
8772#line $LINENO "configure"
8773/* confdefs.h. */
8774_ACEOF
8775cat confdefs.h >>conftest.$ac_ext
8776cat >>conftest.$ac_ext <<_ACEOF
8777/* end confdefs.h. */
8778
8779/* Override any gcc2 internal prototype to avoid an error. */
8780#ifdef __cplusplus
8781extern "C"
8782#endif
8783/* We use char because int might match the return type of a gcc2
8784 builtin and then its argument prototype would still apply. */
8785char getpagesize ();
8786int
8787main ()
8788{
8789getpagesize ();
8790 ;
8791 return 0;
8792}
8793_ACEOF
8794rm -f conftest.$ac_objext conftest$ac_exeext
8795if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8796 (eval $ac_link) 2>&5
8797 ac_status=$?
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); } &&
8800 { ac_try='test -s conftest$ac_exeext'
8801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8802 (eval $ac_try) 2>&5
8803 ac_status=$?
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); }; }; then
8806 ac_cv_lib_ucb_getpagesize=yes
8807else
8808 echo "$as_me: failed program was:" >&5
8809sed 's/^/| /' conftest.$ac_ext >&5
8810
8811ac_cv_lib_ucb_getpagesize=no
8812fi
8813rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8814LIBS=$ac_check_lib_save_LIBS
8815fi
8816echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5
8817echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6
8818if test $ac_cv_lib_ucb_getpagesize = yes; then
8819 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF
8820@%:@define HAVE_GETPAGESIZE 1
8821_ACEOF
8822
8823fi
8824
8825
8826fi
8827
8828
8829# Check for broken snprintf
8830if test "x$ac_cv_func_snprintf" = "xyes" ; then
8831 echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
8832echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
8833 if test "$cross_compiling" = yes; then
8834 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8835See \`config.log' for more details." >&5
8836echo "$as_me: error: cannot run test program while cross compiling
8837See \`config.log' for more details." >&2;}
8838 { (exit 1); exit 1; }; }
8839else
8840 cat >conftest.$ac_ext <<_ACEOF
8841#line $LINENO "configure"
8842/* confdefs.h. */
8843_ACEOF
8844cat confdefs.h >>conftest.$ac_ext
8845cat >>conftest.$ac_ext <<_ACEOF
8846/* end confdefs.h. */
8847
8848#include <stdio.h>
8849int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
8850
8851_ACEOF
8852rm -f conftest$ac_exeext
8853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8854 (eval $ac_link) 2>&5
8855 ac_status=$?
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8859 (eval $ac_try) 2>&5
8860 ac_status=$?
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); }; }; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864echo "${ECHO_T}yes" >&6
8865else
8866 echo "$as_me: program exited with status $ac_status" >&5
8867echo "$as_me: failed program was:" >&5
8868sed 's/^/| /' conftest.$ac_ext >&5
8869
8870( exit $ac_status )
8871
8872 echo "$as_me:$LINENO: result: no" >&5
8873echo "${ECHO_T}no" >&6
8874 cat >>confdefs.h <<\_ACEOF
8875@%:@define BROKEN_SNPRINTF 1
8876_ACEOF
8877
8878 { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
8879echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
8880
8881
8882fi
8883rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8884fi
8885fi
8886
8887if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
8888echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5
8889echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6
8890if test "$cross_compiling" = yes; then
8891
8892 echo "$as_me:$LINENO: result: yes" >&5
8893echo "${ECHO_T}yes" >&6
8894 cat >>confdefs.h <<\_ACEOF
8895@%:@define HAVE_STRICT_MKSTEMP 1
8896_ACEOF
8897
8898
8899
8900else
8901 cat >conftest.$ac_ext <<_ACEOF
8902#line $LINENO "configure"
8903/* confdefs.h. */
8904_ACEOF
8905cat confdefs.h >>conftest.$ac_ext
8906cat >>conftest.$ac_ext <<_ACEOF
8907/* end confdefs.h. */
8908
8909#include <stdlib.h>
8910main() { char template[]="conftest.mkstemp-test";
8911if (mkstemp(template) == -1)
8912 exit(1);
8913unlink(template); exit(0);
8914}
8915
8916_ACEOF
8917rm -f conftest$ac_exeext
8918if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8919 (eval $ac_link) 2>&5
8920 ac_status=$?
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 (eval $ac_try) 2>&5
8925 ac_status=$?
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); }; }; then
8928
8929 echo "$as_me:$LINENO: result: no" >&5
8930echo "${ECHO_T}no" >&6
8931
8932else
8933 echo "$as_me: program exited with status $ac_status" >&5
8934echo "$as_me: failed program was:" >&5
8935sed 's/^/| /' conftest.$ac_ext >&5
8936
8937( exit $ac_status )
8938
8939 echo "$as_me:$LINENO: result: yes" >&5
8940echo "${ECHO_T}yes" >&6
8941 cat >>confdefs.h <<\_ACEOF
8942@%:@define HAVE_STRICT_MKSTEMP 1
8943_ACEOF
8944
8945
8946fi
8947rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8948fi
8949fi
8950
8951echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
8952echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
8953if test "${ac_cv_func_getpgrp_void+set}" = set; then
8954 echo $ECHO_N "(cached) $ECHO_C" >&6
8955else
8956 # Use it with a single arg.
8957cat >conftest.$ac_ext <<_ACEOF
8958#line $LINENO "configure"
8959/* confdefs.h. */
8960_ACEOF
8961cat confdefs.h >>conftest.$ac_ext
8962cat >>conftest.$ac_ext <<_ACEOF
8963/* end confdefs.h. */
8964$ac_includes_default
8965int
8966main ()
8967{
8968getpgrp (0);
8969 ;
8970 return 0;
8971}
8972_ACEOF
8973rm -f conftest.$ac_objext
8974if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8975 (eval $ac_compile) 2>&5
8976 ac_status=$?
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } &&
8979 { ac_try='test -s conftest.$ac_objext'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 (eval $ac_try) 2>&5
8982 ac_status=$?
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; }; then
8985 ac_cv_func_getpgrp_void=no
8986else
8987 echo "$as_me: failed program was:" >&5
8988sed 's/^/| /' conftest.$ac_ext >&5
8989
8990ac_cv_func_getpgrp_void=yes
8991fi
8992rm -f conftest.$ac_objext conftest.$ac_ext
8993
8994fi
8995echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
8996echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
8997if test $ac_cv_func_getpgrp_void = yes; then
8998
8999cat >>confdefs.h <<\_ACEOF
9000@%:@define GETPGRP_VOID 1
9001_ACEOF
9002
9003fi
9004
9005
9006# Check for PAM libs
9007PAM_MSG="no"
9008
9009# Check whether --with-pam or --without-pam was given.
9010if test "${with_pam+set}" = set; then
9011 withval="$with_pam"
9012
9013 if test "x$withval" != "xno" ; then
9014 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then
9015 { { echo "$as_me:$LINENO: error: PAM headers not found" >&5
9016echo "$as_me: error: PAM headers not found" >&2;}
9017 { (exit 1); exit 1; }; }
9018 fi
9019
9020
9021echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9022echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9023if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9025else
9026 ac_check_lib_save_LIBS=$LIBS
9027LIBS="-ldl $LIBS"
9028cat >conftest.$ac_ext <<_ACEOF
9029#line $LINENO "configure"
9030/* confdefs.h. */
9031_ACEOF
9032cat confdefs.h >>conftest.$ac_ext
9033cat >>conftest.$ac_ext <<_ACEOF
9034/* end confdefs.h. */
9035
9036/* Override any gcc2 internal prototype to avoid an error. */
9037#ifdef __cplusplus
9038extern "C"
9039#endif
9040/* We use char because int might match the return type of a gcc2
9041 builtin and then its argument prototype would still apply. */
9042char dlopen ();
9043int
9044main ()
9045{
9046dlopen ();
9047 ;
9048 return 0;
9049}
9050_ACEOF
9051rm -f conftest.$ac_objext conftest$ac_exeext
9052if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9053 (eval $ac_link) 2>&5
9054 ac_status=$?
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); } &&
9057 { ac_try='test -s conftest$ac_exeext'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9059 (eval $ac_try) 2>&5
9060 ac_status=$?
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; }; then
9063 ac_cv_lib_dl_dlopen=yes
9064else
9065 echo "$as_me: failed program was:" >&5
9066sed 's/^/| /' conftest.$ac_ext >&5
9067
9068ac_cv_lib_dl_dlopen=no
9069fi
9070rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9071LIBS=$ac_check_lib_save_LIBS
9072fi
9073echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9074echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9075if test $ac_cv_lib_dl_dlopen = yes; then
9076 cat >>confdefs.h <<_ACEOF
9077@%:@define HAVE_LIBDL 1
9078_ACEOF
9079
9080 LIBS="-ldl $LIBS"
9081
9082fi
9083
9084
9085echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5
9086echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6
9087if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
9088 echo $ECHO_N "(cached) $ECHO_C" >&6
9089else
9090 ac_check_lib_save_LIBS=$LIBS
9091LIBS="-lpam $LIBS"
9092cat >conftest.$ac_ext <<_ACEOF
9093#line $LINENO "configure"
9094/* confdefs.h. */
9095_ACEOF
9096cat confdefs.h >>conftest.$ac_ext
9097cat >>conftest.$ac_ext <<_ACEOF
9098/* end confdefs.h. */
9099
9100/* Override any gcc2 internal prototype to avoid an error. */
9101#ifdef __cplusplus
9102extern "C"
9103#endif
9104/* We use char because int might match the return type of a gcc2
9105 builtin and then its argument prototype would still apply. */
9106char pam_set_item ();
9107int
9108main ()
9109{
9110pam_set_item ();
9111 ;
9112 return 0;
9113}
9114_ACEOF
9115rm -f conftest.$ac_objext conftest$ac_exeext
9116if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9117 (eval $ac_link) 2>&5
9118 ac_status=$?
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -s conftest$ac_exeext'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 (eval $ac_try) 2>&5
9124 ac_status=$?
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; }; then
9127 ac_cv_lib_pam_pam_set_item=yes
9128else
9129 echo "$as_me: failed program was:" >&5
9130sed 's/^/| /' conftest.$ac_ext >&5
9131
9132ac_cv_lib_pam_pam_set_item=no
9133fi
9134rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9135LIBS=$ac_check_lib_save_LIBS
9136fi
9137echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5
9138echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6
9139if test $ac_cv_lib_pam_pam_set_item = yes; then
9140 cat >>confdefs.h <<_ACEOF
9141@%:@define HAVE_LIBPAM 1
9142_ACEOF
9143
9144 LIBS="-lpam $LIBS"
9145
9146else
9147 { { echo "$as_me:$LINENO: error: *** libpam missing" >&5
9148echo "$as_me: error: *** libpam missing" >&2;}
9149 { (exit 1); exit 1; }; }
9150fi
9151
9152
9153for ac_func in pam_getenvlist
9154do
9155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9156echo "$as_me:$LINENO: checking for $ac_func" >&5
9157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9158if eval "test \"\${$as_ac_var+set}\" = set"; then
9159 echo $ECHO_N "(cached) $ECHO_C" >&6
9160else
9161 cat >conftest.$ac_ext <<_ACEOF
9162#line $LINENO "configure"
9163/* confdefs.h. */
9164_ACEOF
9165cat confdefs.h >>conftest.$ac_ext
9166cat >>conftest.$ac_ext <<_ACEOF
9167/* end confdefs.h. */
9168/* System header to define __stub macros and hopefully few prototypes,
9169 which can conflict with char $ac_func (); below.
9170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9171 <limits.h> exists even on freestanding compilers. */
9172#ifdef __STDC__
9173# include <limits.h>
9174#else
9175# include <assert.h>
9176#endif
9177/* Override any gcc2 internal prototype to avoid an error. */
9178#ifdef __cplusplus
9179extern "C"
9180{
9181#endif
9182/* We use char because int might match the return type of a gcc2
9183 builtin and then its argument prototype would still apply. */
9184char $ac_func ();
9185/* The GNU C library defines this for functions which it implements
9186 to always fail with ENOSYS. Some functions are actually named
9187 something starting with __ and the normal name is an alias. */
9188#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9189choke me
9190#else
9191char (*f) () = $ac_func;
9192#endif
9193#ifdef __cplusplus
9194}
9195#endif
9196
9197int
9198main ()
9199{
9200return f != $ac_func;
9201 ;
9202 return 0;
9203}
9204_ACEOF
9205rm -f conftest.$ac_objext conftest$ac_exeext
9206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9207 (eval $ac_link) 2>&5
9208 ac_status=$?
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } &&
9211 { ac_try='test -s conftest$ac_exeext'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 (eval $ac_try) 2>&5
9214 ac_status=$?
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; }; then
9217 eval "$as_ac_var=yes"
9218else
9219 echo "$as_me: failed program was:" >&5
9220sed 's/^/| /' conftest.$ac_ext >&5
9221
9222eval "$as_ac_var=no"
9223fi
9224rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9225fi
9226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9227echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9228if test `eval echo '${'$as_ac_var'}'` = yes; then
9229 cat >>confdefs.h <<_ACEOF
9230@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9231_ACEOF
9232
9233fi
9234done
9235
9236
9237 disable_shadow=yes
9238 PAM_MSG="yes"
9239
9240 cat >>confdefs.h <<\_ACEOF
9241@%:@define USE_PAM 1
9242_ACEOF
9243
9244 if test $ac_cv_lib_dl_dlopen = yes; then
9245 LIBPAM="-lpam -ldl"
9246 else
9247 LIBPAM="-lpam"
9248 fi
9249
9250 fi
9251
9252
9253fi;
9254
9255# Check for older PAM
9256if test "x$PAM_MSG" = "xyes" ; then
9257 # Check PAM strerror arguments (old PAM)
9258 echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5
9259echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6
9260 cat >conftest.$ac_ext <<_ACEOF
9261#line $LINENO "configure"
9262/* confdefs.h. */
9263_ACEOF
9264cat confdefs.h >>conftest.$ac_ext
9265cat >>conftest.$ac_ext <<_ACEOF
9266/* end confdefs.h. */
9267
9268#include <stdlib.h>
9269#include <security/pam_appl.h>
9270
9271int
9272main ()
9273{
9274(void)pam_strerror((pam_handle_t *)NULL, -1);
9275 ;
9276 return 0;
9277}
9278_ACEOF
9279rm -f conftest.$ac_objext
9280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9281 (eval $ac_compile) 2>&5
9282 ac_status=$?
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); } &&
9285 { ac_try='test -s conftest.$ac_objext'
9286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9287 (eval $ac_try) 2>&5
9288 ac_status=$?
9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290 (exit $ac_status); }; }; then
9291 echo "$as_me:$LINENO: result: no" >&5
9292echo "${ECHO_T}no" >&6
9293else
9294 echo "$as_me: failed program was:" >&5
9295sed 's/^/| /' conftest.$ac_ext >&5
9296
9297
9298 cat >>confdefs.h <<\_ACEOF
9299@%:@define HAVE_OLD_PAM 1
9300_ACEOF
9301
9302 echo "$as_me:$LINENO: result: yes" >&5
9303echo "${ECHO_T}yes" >&6
9304 PAM_MSG="yes (old library)"
9305
9306
9307fi
9308rm -f conftest.$ac_objext conftest.$ac_ext
9309fi
9310
9311# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
9312# because the system crypt() is more featureful.
9313if test "x$check_for_libcrypt_before" = "x1"; then
9314
9315echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
9316echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
9317if test "${ac_cv_lib_crypt_crypt+set}" = set; then
9318 echo $ECHO_N "(cached) $ECHO_C" >&6
9319else
9320 ac_check_lib_save_LIBS=$LIBS
9321LIBS="-lcrypt $LIBS"
9322cat >conftest.$ac_ext <<_ACEOF
9323#line $LINENO "configure"
9324/* confdefs.h. */
9325_ACEOF
9326cat confdefs.h >>conftest.$ac_ext
9327cat >>conftest.$ac_ext <<_ACEOF
9328/* end confdefs.h. */
9329
9330/* Override any gcc2 internal prototype to avoid an error. */
9331#ifdef __cplusplus
9332extern "C"
9333#endif
9334/* We use char because int might match the return type of a gcc2
9335 builtin and then its argument prototype would still apply. */
9336char crypt ();
9337int
9338main ()
9339{
9340crypt ();
9341 ;
9342 return 0;
9343}
9344_ACEOF
9345rm -f conftest.$ac_objext conftest$ac_exeext
9346if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9347 (eval $ac_link) 2>&5
9348 ac_status=$?
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); } &&
9351 { ac_try='test -s conftest$ac_exeext'
9352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353 (eval $ac_try) 2>&5
9354 ac_status=$?
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); }; }; then
9357 ac_cv_lib_crypt_crypt=yes
9358else
9359 echo "$as_me: failed program was:" >&5
9360sed 's/^/| /' conftest.$ac_ext >&5
9361
9362ac_cv_lib_crypt_crypt=no
9363fi
9364rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9365LIBS=$ac_check_lib_save_LIBS
9366fi
9367echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
9368echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
9369if test $ac_cv_lib_crypt_crypt = yes; then
9370 cat >>confdefs.h <<_ACEOF
9371@%:@define HAVE_LIBCRYPT 1
9372_ACEOF
9373
9374 LIBS="-lcrypt $LIBS"
9375
9376fi
9377
9378fi
9379
9380# Search for OpenSSL
9381saved_CPPFLAGS="$CPPFLAGS"
9382saved_LDFLAGS="$LDFLAGS"
9383
9384# Check whether --with-ssl-dir or --without-ssl-dir was given.
9385if test "${with_ssl_dir+set}" = set; then
9386 withval="$with_ssl_dir"
9387
9388 if test "x$withval" != "xno" ; then
9389 if test -d "$withval/lib"; then
9390 if test -n "${need_dash_r}"; then
9391 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
9392 else
9393 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
9394 fi
9395 else
9396 if test -n "${need_dash_r}"; then
9397 LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}"
9398 else
9399 LDFLAGS="-L${withval} ${LDFLAGS}"
9400 fi
9401 fi
9402 if test -d "$withval/include"; then
9403 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
9404 else
9405 CPPFLAGS="-I${withval} ${CPPFLAGS}"
9406 fi
9407 fi
9408
9409
9410fi;
9411LIBS="$LIBS -lcrypto"
9412cat >conftest.$ac_ext <<_ACEOF
9413#line $LINENO "configure"
9414/* confdefs.h. */
9415_ACEOF
9416cat confdefs.h >>conftest.$ac_ext
9417cat >>conftest.$ac_ext <<_ACEOF
9418/* end confdefs.h. */
9419
9420/* Override any gcc2 internal prototype to avoid an error. */
9421#ifdef __cplusplus
9422extern "C"
9423#endif
9424/* We use char because int might match the return type of a gcc2
9425 builtin and then its argument prototype would still apply. */
9426char RAND_add ();
9427int
9428main ()
9429{
9430RAND_add ();
9431 ;
9432 return 0;
9433}
9434_ACEOF
9435rm -f conftest.$ac_objext conftest$ac_exeext
9436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9437 (eval $ac_link) 2>&5
9438 ac_status=$?
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } &&
9441 { ac_try='test -s conftest$ac_exeext'
9442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 (eval $ac_try) 2>&5
9444 ac_status=$?
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); }; }; then
9447 cat >>confdefs.h <<\_ACEOF
9448@%:@define HAVE_OPENSSL 1
9449_ACEOF
9450
9451else
9452 echo "$as_me: failed program was:" >&5
9453sed 's/^/| /' conftest.$ac_ext >&5
9454
9455
9456 if test -n "${need_dash_r}"; then
9457 LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}"
9458 else
9459 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}"
9460 fi
9461 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
9462 cat >conftest.$ac_ext <<_ACEOF
9463#line $LINENO "configure"
9464/* confdefs.h. */
9465_ACEOF
9466cat confdefs.h >>conftest.$ac_ext
9467cat >>conftest.$ac_ext <<_ACEOF
9468/* end confdefs.h. */
9469
9470/* Override any gcc2 internal prototype to avoid an error. */
9471#ifdef __cplusplus
9472extern "C"
9473#endif
9474/* We use char because int might match the return type of a gcc2
9475 builtin and then its argument prototype would still apply. */
9476char RAND_add ();
9477int
9478main ()
9479{
9480RAND_add ();
9481 ;
9482 return 0;
9483}
9484_ACEOF
9485rm -f conftest.$ac_objext conftest$ac_exeext
9486if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9487 (eval $ac_link) 2>&5
9488 ac_status=$?
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } &&
9491 { ac_try='test -s conftest$ac_exeext'
9492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 (eval $ac_try) 2>&5
9494 ac_status=$?
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); }; }; then
9497 cat >>confdefs.h <<\_ACEOF
9498@%:@define HAVE_OPENSSL 1
9499_ACEOF
9500
9501else
9502 echo "$as_me: failed program was:" >&5
9503sed 's/^/| /' conftest.$ac_ext >&5
9504
9505
9506 { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
9507echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
9508 { (exit 1); exit 1; }; }
9509
9510
9511fi
9512rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9513
9514
9515fi
9516rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9517
9518# Determine OpenSSL header version
9519echo "$as_me:$LINENO: checking OpenSSL header version" >&5
9520echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6
9521if test "$cross_compiling" = yes; then
9522 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9523See \`config.log' for more details." >&5
9524echo "$as_me: error: cannot run test program while cross compiling
9525See \`config.log' for more details." >&2;}
9526 { (exit 1); exit 1; }; }
9527else
9528 cat >conftest.$ac_ext <<_ACEOF
9529#line $LINENO "configure"
9530/* confdefs.h. */
9531_ACEOF
9532cat confdefs.h >>conftest.$ac_ext
9533cat >>conftest.$ac_ext <<_ACEOF
9534/* end confdefs.h. */
9535
9536#include <stdio.h>
9537#include <string.h>
9538#include <openssl/opensslv.h>
9539#define DATA "conftest.sslincver"
9540int main(void) {
9541 FILE *fd;
9542 int rc;
9543
9544 fd = fopen(DATA,"w");
9545 if(fd == NULL)
9546 exit(1);
9547
9548 if ((rc = fprintf(fd ,"%x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0)
9549 exit(1);
9550
9551 exit(0);
9552}
9553
9554_ACEOF
9555rm -f conftest$ac_exeext
9556if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9557 (eval $ac_link) 2>&5
9558 ac_status=$?
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9562 (eval $ac_try) 2>&5
9563 ac_status=$?
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); }; }; then
9566
9567 ssl_header_ver=`cat conftest.sslincver`
9568 echo "$as_me:$LINENO: result: $ssl_header_ver" >&5
9569echo "${ECHO_T}$ssl_header_ver" >&6
9570
9571else
9572 echo "$as_me: program exited with status $ac_status" >&5
9573echo "$as_me: failed program was:" >&5
9574sed 's/^/| /' conftest.$ac_ext >&5
9575
9576( exit $ac_status )
9577
9578 echo "$as_me:$LINENO: result: not found" >&5
9579echo "${ECHO_T}not found" >&6
9580 { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5
9581echo "$as_me: error: OpenSSL version header not found." >&2;}
9582 { (exit 1); exit 1; }; }
9583
9584
9585fi
9586rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9587fi
9588
9589# Determine OpenSSL library version
9590echo "$as_me:$LINENO: checking OpenSSL library version" >&5
9591echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6
9592if test "$cross_compiling" = yes; then
9593 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9594See \`config.log' for more details." >&5
9595echo "$as_me: error: cannot run test program while cross compiling
9596See \`config.log' for more details." >&2;}
9597 { (exit 1); exit 1; }; }
9598else
9599 cat >conftest.$ac_ext <<_ACEOF
9600#line $LINENO "configure"
9601/* confdefs.h. */
9602_ACEOF
9603cat confdefs.h >>conftest.$ac_ext
9604cat >>conftest.$ac_ext <<_ACEOF
9605/* end confdefs.h. */
9606
9607#include <stdio.h>
9608#include <string.h>
9609#include <openssl/opensslv.h>
9610#include <openssl/crypto.h>
9611#define DATA "conftest.ssllibver"
9612int main(void) {
9613 FILE *fd;
9614 int rc;
9615
9616 fd = fopen(DATA,"w");
9617 if(fd == NULL)
9618 exit(1);
9619
9620 if ((rc = fprintf(fd ,"%x (%s)\n", SSLeay(), SSLeay_version(SSLEAY_VERSION))) <0)
9621 exit(1);
9622
9623 exit(0);
9624}
9625
9626_ACEOF
9627rm -f conftest$ac_exeext
9628if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9629 (eval $ac_link) 2>&5
9630 ac_status=$?
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9634 (eval $ac_try) 2>&5
9635 ac_status=$?
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); }; }; then
9638
9639 ssl_library_ver=`cat conftest.ssllibver`
9640 echo "$as_me:$LINENO: result: $ssl_library_ver" >&5
9641echo "${ECHO_T}$ssl_library_ver" >&6
9642
9643else
9644 echo "$as_me: program exited with status $ac_status" >&5
9645echo "$as_me: failed program was:" >&5
9646sed 's/^/| /' conftest.$ac_ext >&5
9647
9648( exit $ac_status )
9649
9650 echo "$as_me:$LINENO: result: not found" >&5
9651echo "${ECHO_T}not found" >&6
9652 { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5
9653echo "$as_me: error: OpenSSL library not found." >&2;}
9654 { (exit 1); exit 1; }; }
9655
9656
9657fi
9658rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9659fi
9660
9661# Sanity check OpenSSL headers
9662echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
9663echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6
9664if test "$cross_compiling" = yes; then
9665 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9666See \`config.log' for more details." >&5
9667echo "$as_me: error: cannot run test program while cross compiling
9668See \`config.log' for more details." >&2;}
9669 { (exit 1); exit 1; }; }
9670else
9671 cat >conftest.$ac_ext <<_ACEOF
9672#line $LINENO "configure"
9673/* confdefs.h. */
9674_ACEOF
9675cat confdefs.h >>conftest.$ac_ext
9676cat >>conftest.$ac_ext <<_ACEOF
9677/* end confdefs.h. */
9678
9679#include <string.h>
9680#include <openssl/opensslv.h>
9681int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
9682
9683_ACEOF
9684rm -f conftest$ac_exeext
9685if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9686 (eval $ac_link) 2>&5
9687 ac_status=$?
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 (eval $ac_try) 2>&5
9692 ac_status=$?
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695
9696 echo "$as_me:$LINENO: result: yes" >&5
9697echo "${ECHO_T}yes" >&6
9698
9699else
9700 echo "$as_me: program exited with status $ac_status" >&5
9701echo "$as_me: failed program was:" >&5
9702sed 's/^/| /' conftest.$ac_ext >&5
9703
9704( exit $ac_status )
9705
9706 echo "$as_me:$LINENO: result: no" >&5
9707echo "${ECHO_T}no" >&6
9708 { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library" >&5
9709echo "$as_me: error: Your OpenSSL headers do not match your library" >&2;}
9710 { (exit 1); exit 1; }; }
9711
9712
9713fi
9714rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9715fi
9716
9717# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
9718# version in OpenSSL. Skip this for PAM
9719if test "x$PAM_MSG" = "xno" -a "x$check_for_libcrypt_later" = "x1"; then
9720 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
9721echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
9722if test "${ac_cv_lib_crypt_crypt+set}" = set; then
9723 echo $ECHO_N "(cached) $ECHO_C" >&6
9724else
9725 ac_check_lib_save_LIBS=$LIBS
9726LIBS="-lcrypt $LIBS"
9727cat >conftest.$ac_ext <<_ACEOF
9728#line $LINENO "configure"
9729/* confdefs.h. */
9730_ACEOF
9731cat confdefs.h >>conftest.$ac_ext
9732cat >>conftest.$ac_ext <<_ACEOF
9733/* end confdefs.h. */
9734
9735/* Override any gcc2 internal prototype to avoid an error. */
9736#ifdef __cplusplus
9737extern "C"
9738#endif
9739/* We use char because int might match the return type of a gcc2
9740 builtin and then its argument prototype would still apply. */
9741char crypt ();
9742int
9743main ()
9744{
9745crypt ();
9746 ;
9747 return 0;
9748}
9749_ACEOF
9750rm -f conftest.$ac_objext conftest$ac_exeext
9751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9752 (eval $ac_link) 2>&5
9753 ac_status=$?
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); } &&
9756 { ac_try='test -s conftest$ac_exeext'
9757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9758 (eval $ac_try) 2>&5
9759 ac_status=$?
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); }; }; then
9762 ac_cv_lib_crypt_crypt=yes
9763else
9764 echo "$as_me: failed program was:" >&5
9765sed 's/^/| /' conftest.$ac_ext >&5
9766
9767ac_cv_lib_crypt_crypt=no
9768fi
9769rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9770LIBS=$ac_check_lib_save_LIBS
9771fi
9772echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
9773echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
9774if test $ac_cv_lib_crypt_crypt = yes; then
9775 LIBS="$LIBS -lcrypt"
9776fi
9777
9778fi
9779
9780
9781### Configure cryptographic random number support
9782
9783# Check wheter OpenSSL seeds itself
9784echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
9785echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6
9786if test "$cross_compiling" = yes; then
9787 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9788See \`config.log' for more details." >&5
9789echo "$as_me: error: cannot run test program while cross compiling
9790See \`config.log' for more details." >&2;}
9791 { (exit 1); exit 1; }; }
9792else
9793 cat >conftest.$ac_ext <<_ACEOF
9794#line $LINENO "configure"
9795/* confdefs.h. */
9796_ACEOF
9797cat confdefs.h >>conftest.$ac_ext
9798cat >>conftest.$ac_ext <<_ACEOF
9799/* end confdefs.h. */
9800
9801#include <string.h>
9802#include <openssl/rand.h>
9803int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
9804
9805_ACEOF
9806rm -f conftest$ac_exeext
9807if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9808 (eval $ac_link) 2>&5
9809 ac_status=$?
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9813 (eval $ac_try) 2>&5
9814 ac_status=$?
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); }; }; then
9817
9818 OPENSSL_SEEDS_ITSELF=yes
9819 echo "$as_me:$LINENO: result: yes" >&5
9820echo "${ECHO_T}yes" >&6
9821
9822else
9823 echo "$as_me: program exited with status $ac_status" >&5
9824echo "$as_me: failed program was:" >&5
9825sed 's/^/| /' conftest.$ac_ext >&5
9826
9827( exit $ac_status )
9828
9829 echo "$as_me:$LINENO: result: no" >&5
9830echo "${ECHO_T}no" >&6
9831 # Default to use of the rand helper if OpenSSL doesn't
9832 # seed itself
9833 USE_RAND_HELPER=yes
9834
9835
9836fi
9837rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9838fi
9839
9840
9841# Do we want to force the use of the rand helper?
9842
9843# Check whether --with-rand-helper or --without-rand-helper was given.
9844if test "${with_rand_helper+set}" = set; then
9845 withval="$with_rand_helper"
9846
9847 if test "x$withval" = "xno" ; then
9848 # Force use of OpenSSL's internal RNG, even if
9849 # the previous test showed it to be unseeded.
9850 if test -z "$OPENSSL_SEEDS_ITSELF" ; then
9851 { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
9852echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
9853 OPENSSL_SEEDS_ITSELF=yes
9854 USE_RAND_HELPER=""
9855 fi
9856 else
9857 USE_RAND_HELPER=yes
9858 fi
9859
9860fi;
9861
9862# Which randomness source do we use?
9863if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then
9864 # OpenSSL only
9865 cat >>confdefs.h <<\_ACEOF
9866@%:@define OPENSSL_PRNG_ONLY 1
9867_ACEOF
9868
9869 RAND_MSG="OpenSSL internal ONLY"
9870 INSTALL_SSH_RAND_HELPER=""
9871elif test ! -z "$USE_RAND_HELPER" ; then
9872 # install rand helper
9873 RAND_MSG="ssh-rand-helper"
9874 INSTALL_SSH_RAND_HELPER="yes"
9875fi
9876
9877
9878### Configuration of ssh-rand-helper
9879
9880# PRNGD TCP socket
9881
9882# Check whether --with-prngd-port or --without-prngd-port was given.
9883if test "${with_prngd_port+set}" = set; then
9884 withval="$with_prngd_port"
9885
9886 case "$withval" in
9887 no)
9888 withval=""
9889 ;;
9890 [0-9]*)
9891 ;;
9892 *)
9893 { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5
9894echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
9895 { (exit 1); exit 1; }; }
9896 ;;
9897 esac
9898 if test ! -z "$withval" ; then
9899 PRNGD_PORT="$withval"
9900 cat >>confdefs.h <<_ACEOF
9901@%:@define PRNGD_PORT $PRNGD_PORT
9902_ACEOF
9903
9904 fi
9905
9906
9907fi;
9908
9909# PRNGD Unix domain socket
9910
9911# Check whether --with-prngd-socket or --without-prngd-socket was given.
9912if test "${with_prngd_socket+set}" = set; then
9913 withval="$with_prngd_socket"
9914
9915 case "$withval" in
9916 yes)
9917 withval="/var/run/egd-pool"
9918 ;;
9919 no)
9920 withval=""
9921 ;;
9922 /*)
9923 ;;
9924 *)
9925 { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5
9926echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
9927 { (exit 1); exit 1; }; }
9928 ;;
9929 esac
9930
9931 if test ! -z "$withval" ; then
9932 if test ! -z "$PRNGD_PORT" ; then
9933 { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5
9934echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
9935 { (exit 1); exit 1; }; }
9936 fi
9937 if test ! -r "$withval" ; then
9938 { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5
9939echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
9940 fi
9941 PRNGD_SOCKET="$withval"
9942 cat >>confdefs.h <<_ACEOF
9943@%:@define PRNGD_SOCKET "$PRNGD_SOCKET"
9944_ACEOF
9945
9946 fi
9947
9948else
9949
9950 # Check for existing socket only if we don't have a random device already
9951 if test "$USE_RAND_HELPER" = yes ; then
9952 echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5
9953echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6
9954 # Insert other locations here
9955 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
9956 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then
9957 PRNGD_SOCKET="$sock"
9958 cat >>confdefs.h <<_ACEOF
9959@%:@define PRNGD_SOCKET "$PRNGD_SOCKET"
9960_ACEOF
9961
9962 break;
9963 fi
9964 done
9965 if test ! -z "$PRNGD_SOCKET" ; then
9966 echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5
9967echo "${ECHO_T}$PRNGD_SOCKET" >&6
9968 else
9969 echo "$as_me:$LINENO: result: not found" >&5
9970echo "${ECHO_T}not found" >&6
9971 fi
9972 fi
9973
9974
9975fi;
9976
9977# Change default command timeout for hashing entropy source
9978entropy_timeout=200
9979
9980# Check whether --with-entropy-timeout or --without-entropy-timeout was given.
9981if test "${with_entropy_timeout+set}" = set; then
9982 withval="$with_entropy_timeout"
9983
9984 if test "x$withval" != "xno" ; then
9985 entropy_timeout=$withval
9986 fi
9987
9988
9989fi;
9990cat >>confdefs.h <<_ACEOF
9991@%:@define ENTROPY_TIMEOUT_MSEC $entropy_timeout
9992_ACEOF
9993
9994
9995SSH_PRIVSEP_USER=sshd
9996
9997# Check whether --with-privsep-user or --without-privsep-user was given.
9998if test "${with_privsep_user+set}" = set; then
9999 withval="$with_privsep_user"
10000
10001 if test -n "$withval"; then
10002 SSH_PRIVSEP_USER=$withval
10003 fi
10004
10005
10006fi;
10007cat >>confdefs.h <<_ACEOF
10008@%:@define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
10009_ACEOF
10010
10011
10012
10013# We do this little dance with the search path to insure
10014# that programs that we select for use by installed programs
10015# (which may be run by the super-user) come from trusted
10016# locations before they come from the user's private area.
10017# This should help avoid accidentally configuring some
10018# random version of a program in someone's personal bin.
10019
10020OPATH=$PATH
10021PATH=/bin:/usr/bin
10022test -h /bin 2> /dev/null && PATH=/usr/bin
10023test -d /sbin && PATH=$PATH:/sbin
10024test -d /usr/sbin && PATH=$PATH:/usr/sbin
10025PATH=$PATH:/etc:$OPATH
10026
10027# These programs are used by the command hashing source to gather entropy
10028
10029 # Extract the first word of "ls", so it can be a program name with args.
10030set dummy ls; ac_word=$2
10031echo "$as_me:$LINENO: checking for $ac_word" >&5
10032echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10033if test "${ac_cv_path_PROG_LS+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10035else
10036 case $PROG_LS in
10037 [\\/]* | ?:[\\/]*)
10038 ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path.
10039 ;;
10040 *)
10041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10042for as_dir in $PATH
10043do
10044 IFS=$as_save_IFS
10045 test -z "$as_dir" && as_dir=.
10046 for ac_exec_ext in '' $ac_executable_extensions; do
10047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10048 ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext"
10049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10050 break 2
10051 fi
10052done
10053done
10054
10055 ;;
10056esac
10057fi
10058PROG_LS=$ac_cv_path_PROG_LS
10059
10060if test -n "$PROG_LS"; then
10061 echo "$as_me:$LINENO: result: $PROG_LS" >&5
10062echo "${ECHO_T}$PROG_LS" >&6
10063else
10064 echo "$as_me:$LINENO: result: no" >&5
10065echo "${ECHO_T}no" >&6
10066fi
10067
10068 if test -z "$PROG_LS" ; then
10069 PROG_LS="undef"
10070 fi
10071
10072
10073
10074 # Extract the first word of "netstat", so it can be a program name with args.
10075set dummy netstat; ac_word=$2
10076echo "$as_me:$LINENO: checking for $ac_word" >&5
10077echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10078if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10080else
10081 case $PROG_NETSTAT in
10082 [\\/]* | ?:[\\/]*)
10083 ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path.
10084 ;;
10085 *)
10086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10087for as_dir in $PATH
10088do
10089 IFS=$as_save_IFS
10090 test -z "$as_dir" && as_dir=.
10091 for ac_exec_ext in '' $ac_executable_extensions; do
10092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10093 ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext"
10094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10095 break 2
10096 fi
10097done
10098done
10099
10100 ;;
10101esac
10102fi
10103PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
10104
10105if test -n "$PROG_NETSTAT"; then
10106 echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5
10107echo "${ECHO_T}$PROG_NETSTAT" >&6
10108else
10109 echo "$as_me:$LINENO: result: no" >&5
10110echo "${ECHO_T}no" >&6
10111fi
10112
10113 if test -z "$PROG_NETSTAT" ; then
10114 PROG_NETSTAT="undef"
10115 fi
10116
10117
10118
10119 # Extract the first word of "arp", so it can be a program name with args.
10120set dummy arp; ac_word=$2
10121echo "$as_me:$LINENO: checking for $ac_word" >&5
10122echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10123if test "${ac_cv_path_PROG_ARP+set}" = set; then
10124 echo $ECHO_N "(cached) $ECHO_C" >&6
10125else
10126 case $PROG_ARP in
10127 [\\/]* | ?:[\\/]*)
10128 ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path.
10129 ;;
10130 *)
10131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10132for as_dir in $PATH
10133do
10134 IFS=$as_save_IFS
10135 test -z "$as_dir" && as_dir=.
10136 for ac_exec_ext in '' $ac_executable_extensions; do
10137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10138 ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext"
10139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10140 break 2
10141 fi
10142done
10143done
10144
10145 ;;
10146esac
10147fi
10148PROG_ARP=$ac_cv_path_PROG_ARP
10149
10150if test -n "$PROG_ARP"; then
10151 echo "$as_me:$LINENO: result: $PROG_ARP" >&5
10152echo "${ECHO_T}$PROG_ARP" >&6
10153else
10154 echo "$as_me:$LINENO: result: no" >&5
10155echo "${ECHO_T}no" >&6
10156fi
10157
10158 if test -z "$PROG_ARP" ; then
10159 PROG_ARP="undef"
10160 fi
10161
10162
10163
10164 # Extract the first word of "ifconfig", so it can be a program name with args.
10165set dummy ifconfig; ac_word=$2
10166echo "$as_me:$LINENO: checking for $ac_word" >&5
10167echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10168if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then
10169 echo $ECHO_N "(cached) $ECHO_C" >&6
10170else
10171 case $PROG_IFCONFIG in
10172 [\\/]* | ?:[\\/]*)
10173 ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path.
10174 ;;
10175 *)
10176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10177for as_dir in $PATH
10178do
10179 IFS=$as_save_IFS
10180 test -z "$as_dir" && as_dir=.
10181 for ac_exec_ext in '' $ac_executable_extensions; do
10182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10183 ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext"
10184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10185 break 2
10186 fi
10187done
10188done
10189
10190 ;;
10191esac
10192fi
10193PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
10194
10195if test -n "$PROG_IFCONFIG"; then
10196 echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5
10197echo "${ECHO_T}$PROG_IFCONFIG" >&6
10198else
10199 echo "$as_me:$LINENO: result: no" >&5
10200echo "${ECHO_T}no" >&6
10201fi
10202
10203 if test -z "$PROG_IFCONFIG" ; then
10204 PROG_IFCONFIG="undef"
10205 fi
10206
10207
10208
10209 # Extract the first word of "jstat", so it can be a program name with args.
10210set dummy jstat; ac_word=$2
10211echo "$as_me:$LINENO: checking for $ac_word" >&5
10212echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10213if test "${ac_cv_path_PROG_JSTAT+set}" = set; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10215else
10216 case $PROG_JSTAT in
10217 [\\/]* | ?:[\\/]*)
10218 ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path.
10219 ;;
10220 *)
10221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10222for as_dir in $PATH
10223do
10224 IFS=$as_save_IFS
10225 test -z "$as_dir" && as_dir=.
10226 for ac_exec_ext in '' $ac_executable_extensions; do
10227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10228 ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext"
10229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10230 break 2
10231 fi
10232done
10233done
10234
10235 ;;
10236esac
10237fi
10238PROG_JSTAT=$ac_cv_path_PROG_JSTAT
10239
10240if test -n "$PROG_JSTAT"; then
10241 echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5
10242echo "${ECHO_T}$PROG_JSTAT" >&6
10243else
10244 echo "$as_me:$LINENO: result: no" >&5
10245echo "${ECHO_T}no" >&6
10246fi
10247
10248 if test -z "$PROG_JSTAT" ; then
10249 PROG_JSTAT="undef"
10250 fi
10251
10252
10253
10254 # Extract the first word of "ps", so it can be a program name with args.
10255set dummy ps; ac_word=$2
10256echo "$as_me:$LINENO: checking for $ac_word" >&5
10257echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10258if test "${ac_cv_path_PROG_PS+set}" = set; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10260else
10261 case $PROG_PS in
10262 [\\/]* | ?:[\\/]*)
10263 ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path.
10264 ;;
10265 *)
10266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10267for as_dir in $PATH
10268do
10269 IFS=$as_save_IFS
10270 test -z "$as_dir" && as_dir=.
10271 for ac_exec_ext in '' $ac_executable_extensions; do
10272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10273 ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext"
10274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10275 break 2
10276 fi
10277done
10278done
10279
10280 ;;
10281esac
10282fi
10283PROG_PS=$ac_cv_path_PROG_PS
10284
10285if test -n "$PROG_PS"; then
10286 echo "$as_me:$LINENO: result: $PROG_PS" >&5
10287echo "${ECHO_T}$PROG_PS" >&6
10288else
10289 echo "$as_me:$LINENO: result: no" >&5
10290echo "${ECHO_T}no" >&6
10291fi
10292
10293 if test -z "$PROG_PS" ; then
10294 PROG_PS="undef"
10295 fi
10296
10297
10298
10299 # Extract the first word of "sar", so it can be a program name with args.
10300set dummy sar; ac_word=$2
10301echo "$as_me:$LINENO: checking for $ac_word" >&5
10302echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10303if test "${ac_cv_path_PROG_SAR+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305else
10306 case $PROG_SAR in
10307 [\\/]* | ?:[\\/]*)
10308 ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path.
10309 ;;
10310 *)
10311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10312for as_dir in $PATH
10313do
10314 IFS=$as_save_IFS
10315 test -z "$as_dir" && as_dir=.
10316 for ac_exec_ext in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext"
10319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 break 2
10321 fi
10322done
10323done
10324
10325 ;;
10326esac
10327fi
10328PROG_SAR=$ac_cv_path_PROG_SAR
10329
10330if test -n "$PROG_SAR"; then
10331 echo "$as_me:$LINENO: result: $PROG_SAR" >&5
10332echo "${ECHO_T}$PROG_SAR" >&6
10333else
10334 echo "$as_me:$LINENO: result: no" >&5
10335echo "${ECHO_T}no" >&6
10336fi
10337
10338 if test -z "$PROG_SAR" ; then
10339 PROG_SAR="undef"
10340 fi
10341
10342
10343
10344 # Extract the first word of "w", so it can be a program name with args.
10345set dummy w; ac_word=$2
10346echo "$as_me:$LINENO: checking for $ac_word" >&5
10347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10348if test "${ac_cv_path_PROG_W+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10350else
10351 case $PROG_W in
10352 [\\/]* | ?:[\\/]*)
10353 ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path.
10354 ;;
10355 *)
10356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10357for as_dir in $PATH
10358do
10359 IFS=$as_save_IFS
10360 test -z "$as_dir" && as_dir=.
10361 for ac_exec_ext in '' $ac_executable_extensions; do
10362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10363 ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext"
10364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10365 break 2
10366 fi
10367done
10368done
10369
10370 ;;
10371esac
10372fi
10373PROG_W=$ac_cv_path_PROG_W
10374
10375if test -n "$PROG_W"; then
10376 echo "$as_me:$LINENO: result: $PROG_W" >&5
10377echo "${ECHO_T}$PROG_W" >&6
10378else
10379 echo "$as_me:$LINENO: result: no" >&5
10380echo "${ECHO_T}no" >&6
10381fi
10382
10383 if test -z "$PROG_W" ; then
10384 PROG_W="undef"
10385 fi
10386
10387
10388
10389 # Extract the first word of "who", so it can be a program name with args.
10390set dummy who; ac_word=$2
10391echo "$as_me:$LINENO: checking for $ac_word" >&5
10392echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10393if test "${ac_cv_path_PROG_WHO+set}" = set; then
10394 echo $ECHO_N "(cached) $ECHO_C" >&6
10395else
10396 case $PROG_WHO in
10397 [\\/]* | ?:[\\/]*)
10398 ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path.
10399 ;;
10400 *)
10401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10402for as_dir in $PATH
10403do
10404 IFS=$as_save_IFS
10405 test -z "$as_dir" && as_dir=.
10406 for ac_exec_ext in '' $ac_executable_extensions; do
10407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10408 ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext"
10409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10410 break 2
10411 fi
10412done
10413done
10414
10415 ;;
10416esac
10417fi
10418PROG_WHO=$ac_cv_path_PROG_WHO
10419
10420if test -n "$PROG_WHO"; then
10421 echo "$as_me:$LINENO: result: $PROG_WHO" >&5
10422echo "${ECHO_T}$PROG_WHO" >&6
10423else
10424 echo "$as_me:$LINENO: result: no" >&5
10425echo "${ECHO_T}no" >&6
10426fi
10427
10428 if test -z "$PROG_WHO" ; then
10429 PROG_WHO="undef"
10430 fi
10431
10432
10433
10434 # Extract the first word of "last", so it can be a program name with args.
10435set dummy last; ac_word=$2
10436echo "$as_me:$LINENO: checking for $ac_word" >&5
10437echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10438if test "${ac_cv_path_PROG_LAST+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10440else
10441 case $PROG_LAST in
10442 [\\/]* | ?:[\\/]*)
10443 ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path.
10444 ;;
10445 *)
10446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10447for as_dir in $PATH
10448do
10449 IFS=$as_save_IFS
10450 test -z "$as_dir" && as_dir=.
10451 for ac_exec_ext in '' $ac_executable_extensions; do
10452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10453 ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext"
10454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10455 break 2
10456 fi
10457done
10458done
10459
10460 ;;
10461esac
10462fi
10463PROG_LAST=$ac_cv_path_PROG_LAST
10464
10465if test -n "$PROG_LAST"; then
10466 echo "$as_me:$LINENO: result: $PROG_LAST" >&5
10467echo "${ECHO_T}$PROG_LAST" >&6
10468else
10469 echo "$as_me:$LINENO: result: no" >&5
10470echo "${ECHO_T}no" >&6
10471fi
10472
10473 if test -z "$PROG_LAST" ; then
10474 PROG_LAST="undef"
10475 fi
10476
10477
10478
10479 # Extract the first word of "lastlog", so it can be a program name with args.
10480set dummy lastlog; ac_word=$2
10481echo "$as_me:$LINENO: checking for $ac_word" >&5
10482echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10483if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485else
10486 case $PROG_LASTLOG in
10487 [\\/]* | ?:[\\/]*)
10488 ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path.
10489 ;;
10490 *)
10491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10492for as_dir in $PATH
10493do
10494 IFS=$as_save_IFS
10495 test -z "$as_dir" && as_dir=.
10496 for ac_exec_ext in '' $ac_executable_extensions; do
10497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10498 ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext"
10499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10500 break 2
10501 fi
10502done
10503done
10504
10505 ;;
10506esac
10507fi
10508PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
10509
10510if test -n "$PROG_LASTLOG"; then
10511 echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5
10512echo "${ECHO_T}$PROG_LASTLOG" >&6
10513else
10514 echo "$as_me:$LINENO: result: no" >&5
10515echo "${ECHO_T}no" >&6
10516fi
10517
10518 if test -z "$PROG_LASTLOG" ; then
10519 PROG_LASTLOG="undef"
10520 fi
10521
10522
10523
10524 # Extract the first word of "df", so it can be a program name with args.
10525set dummy df; ac_word=$2
10526echo "$as_me:$LINENO: checking for $ac_word" >&5
10527echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10528if test "${ac_cv_path_PROG_DF+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10530else
10531 case $PROG_DF in
10532 [\\/]* | ?:[\\/]*)
10533 ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path.
10534 ;;
10535 *)
10536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10537for as_dir in $PATH
10538do
10539 IFS=$as_save_IFS
10540 test -z "$as_dir" && as_dir=.
10541 for ac_exec_ext in '' $ac_executable_extensions; do
10542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10543 ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
10544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10545 break 2
10546 fi
10547done
10548done
10549
10550 ;;
10551esac
10552fi
10553PROG_DF=$ac_cv_path_PROG_DF
10554
10555if test -n "$PROG_DF"; then
10556 echo "$as_me:$LINENO: result: $PROG_DF" >&5
10557echo "${ECHO_T}$PROG_DF" >&6
10558else
10559 echo "$as_me:$LINENO: result: no" >&5
10560echo "${ECHO_T}no" >&6
10561fi
10562
10563 if test -z "$PROG_DF" ; then
10564 PROG_DF="undef"
10565 fi
10566
10567
10568
10569 # Extract the first word of "vmstat", so it can be a program name with args.
10570set dummy vmstat; ac_word=$2
10571echo "$as_me:$LINENO: checking for $ac_word" >&5
10572echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10573if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10575else
10576 case $PROG_VMSTAT in
10577 [\\/]* | ?:[\\/]*)
10578 ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path.
10579 ;;
10580 *)
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582for as_dir in $PATH
10583do
10584 IFS=$as_save_IFS
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext"
10589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10590 break 2
10591 fi
10592done
10593done
10594
10595 ;;
10596esac
10597fi
10598PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
10599
10600if test -n "$PROG_VMSTAT"; then
10601 echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5
10602echo "${ECHO_T}$PROG_VMSTAT" >&6
10603else
10604 echo "$as_me:$LINENO: result: no" >&5
10605echo "${ECHO_T}no" >&6
10606fi
10607
10608 if test -z "$PROG_VMSTAT" ; then
10609 PROG_VMSTAT="undef"
10610 fi
10611
10612
10613
10614 # Extract the first word of "uptime", so it can be a program name with args.
10615set dummy uptime; ac_word=$2
10616echo "$as_me:$LINENO: checking for $ac_word" >&5
10617echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10618if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
10619 echo $ECHO_N "(cached) $ECHO_C" >&6
10620else
10621 case $PROG_UPTIME in
10622 [\\/]* | ?:[\\/]*)
10623 ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path.
10624 ;;
10625 *)
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627for as_dir in $PATH
10628do
10629 IFS=$as_save_IFS
10630 test -z "$as_dir" && as_dir=.
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10633 ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
10634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10635 break 2
10636 fi
10637done
10638done
10639
10640 ;;
10641esac
10642fi
10643PROG_UPTIME=$ac_cv_path_PROG_UPTIME
10644
10645if test -n "$PROG_UPTIME"; then
10646 echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5
10647echo "${ECHO_T}$PROG_UPTIME" >&6
10648else
10649 echo "$as_me:$LINENO: result: no" >&5
10650echo "${ECHO_T}no" >&6
10651fi
10652
10653 if test -z "$PROG_UPTIME" ; then
10654 PROG_UPTIME="undef"
10655 fi
10656
10657
10658
10659 # Extract the first word of "ipcs", so it can be a program name with args.
10660set dummy ipcs; ac_word=$2
10661echo "$as_me:$LINENO: checking for $ac_word" >&5
10662echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10663if test "${ac_cv_path_PROG_IPCS+set}" = set; then
10664 echo $ECHO_N "(cached) $ECHO_C" >&6
10665else
10666 case $PROG_IPCS in
10667 [\\/]* | ?:[\\/]*)
10668 ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path.
10669 ;;
10670 *)
10671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10672for as_dir in $PATH
10673do
10674 IFS=$as_save_IFS
10675 test -z "$as_dir" && as_dir=.
10676 for ac_exec_ext in '' $ac_executable_extensions; do
10677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10678 ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext"
10679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10680 break 2
10681 fi
10682done
10683done
10684
10685 ;;
10686esac
10687fi
10688PROG_IPCS=$ac_cv_path_PROG_IPCS
10689
10690if test -n "$PROG_IPCS"; then
10691 echo "$as_me:$LINENO: result: $PROG_IPCS" >&5
10692echo "${ECHO_T}$PROG_IPCS" >&6
10693else
10694 echo "$as_me:$LINENO: result: no" >&5
10695echo "${ECHO_T}no" >&6
10696fi
10697
10698 if test -z "$PROG_IPCS" ; then
10699 PROG_IPCS="undef"
10700 fi
10701
10702
10703
10704 # Extract the first word of "tail", so it can be a program name with args.
10705set dummy tail; ac_word=$2
10706echo "$as_me:$LINENO: checking for $ac_word" >&5
10707echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10708if test "${ac_cv_path_PROG_TAIL+set}" = set; then
10709 echo $ECHO_N "(cached) $ECHO_C" >&6
10710else
10711 case $PROG_TAIL in
10712 [\\/]* | ?:[\\/]*)
10713 ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path.
10714 ;;
10715 *)
10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10717for as_dir in $PATH
10718do
10719 IFS=$as_save_IFS
10720 test -z "$as_dir" && as_dir=.
10721 for ac_exec_ext in '' $ac_executable_extensions; do
10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10723 ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10725 break 2
10726 fi
10727done
10728done
10729
10730 ;;
10731esac
10732fi
10733PROG_TAIL=$ac_cv_path_PROG_TAIL
10734
10735if test -n "$PROG_TAIL"; then
10736 echo "$as_me:$LINENO: result: $PROG_TAIL" >&5
10737echo "${ECHO_T}$PROG_TAIL" >&6
10738else
10739 echo "$as_me:$LINENO: result: no" >&5
10740echo "${ECHO_T}no" >&6
10741fi
10742
10743 if test -z "$PROG_TAIL" ; then
10744 PROG_TAIL="undef"
10745 fi
10746
10747
10748# restore PATH
10749PATH=$OPATH
10750
10751# Where does ssh-rand-helper get its randomness from?
10752INSTALL_SSH_PRNG_CMDS=""
10753if test ! -z "$INSTALL_SSH_RAND_HELPER" ; then
10754 if test ! -z "$PRNGD_PORT" ; then
10755 RAND_HELPER_MSG="TCP localhost:$PRNGD_PORT"
10756 elif test ! -z "$PRNGD_SOCKET" ; then
10757 RAND_HELPER_MSG="Unix domain socket \"$PRNGD_SOCKET\""
10758 else
10759 RAND_HELPER_MSG="Command hashing (timeout $entropy_timeout)"
10760 RAND_HELPER_CMDHASH=yes
10761 INSTALL_SSH_PRNG_CMDS="yes"
10762 fi
10763fi
10764
10765
10766
10767# Cheap hack to ensure NEWS-OS libraries are arranged right.
10768if test ! -z "$SONY" ; then
10769 LIBS="$LIBS -liberty";
10770fi
10771
10772# Checks for data types
10773echo "$as_me:$LINENO: checking for char" >&5
10774echo $ECHO_N "checking for char... $ECHO_C" >&6
10775if test "${ac_cv_type_char+set}" = set; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6
10777else
10778 cat >conftest.$ac_ext <<_ACEOF
10779#line $LINENO "configure"
10780/* confdefs.h. */
10781_ACEOF
10782cat confdefs.h >>conftest.$ac_ext
10783cat >>conftest.$ac_ext <<_ACEOF
10784/* end confdefs.h. */
10785$ac_includes_default
10786int
10787main ()
10788{
10789if ((char *) 0)
10790 return 0;
10791if (sizeof (char))
10792 return 0;
10793 ;
10794 return 0;
10795}
10796_ACEOF
10797rm -f conftest.$ac_objext
10798if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10799 (eval $ac_compile) 2>&5
10800 ac_status=$?
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); } &&
10803 { ac_try='test -s conftest.$ac_objext'
10804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10805 (eval $ac_try) 2>&5
10806 ac_status=$?
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); }; }; then
10809 ac_cv_type_char=yes
10810else
10811 echo "$as_me: failed program was:" >&5
10812sed 's/^/| /' conftest.$ac_ext >&5
10813
10814ac_cv_type_char=no
10815fi
10816rm -f conftest.$ac_objext conftest.$ac_ext
10817fi
10818echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
10819echo "${ECHO_T}$ac_cv_type_char" >&6
10820
10821echo "$as_me:$LINENO: checking size of char" >&5
10822echo $ECHO_N "checking size of char... $ECHO_C" >&6
10823if test "${ac_cv_sizeof_char+set}" = set; then
10824 echo $ECHO_N "(cached) $ECHO_C" >&6
10825else
10826 if test "$ac_cv_type_char" = yes; then
10827 # The cast to unsigned long works around a bug in the HP C Compiler
10828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10830 # This bug is HP SR number 8606223364.
10831 if test "$cross_compiling" = yes; then
10832 # Depending upon the size, compute the lo and hi bounds.
10833cat >conftest.$ac_ext <<_ACEOF
10834#line $LINENO "configure"
10835/* confdefs.h. */
10836_ACEOF
10837cat confdefs.h >>conftest.$ac_ext
10838cat >>conftest.$ac_ext <<_ACEOF
10839/* end confdefs.h. */
10840$ac_includes_default
10841int
10842main ()
10843{
10844static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= 0)@:>@;
10845test_array @<:@0@:>@ = 0
10846
10847 ;
10848 return 0;
10849}
10850_ACEOF
10851rm -f conftest.$ac_objext
10852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10853 (eval $ac_compile) 2>&5
10854 ac_status=$?
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); } &&
10857 { ac_try='test -s conftest.$ac_objext'
10858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859 (eval $ac_try) 2>&5
10860 ac_status=$?
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); }; }; then
10863 ac_lo=0 ac_mid=0
10864 while :; do
10865 cat >conftest.$ac_ext <<_ACEOF
10866#line $LINENO "configure"
10867/* confdefs.h. */
10868_ACEOF
10869cat confdefs.h >>conftest.$ac_ext
10870cat >>conftest.$ac_ext <<_ACEOF
10871/* end confdefs.h. */
10872$ac_includes_default
10873int
10874main ()
10875{
10876static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)@:>@;
10877test_array @<:@0@:>@ = 0
10878
10879 ;
10880 return 0;
10881}
10882_ACEOF
10883rm -f conftest.$ac_objext
10884if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10885 (eval $ac_compile) 2>&5
10886 ac_status=$?
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } &&
10889 { ac_try='test -s conftest.$ac_objext'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10892 ac_status=$?
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; }; then
10895 ac_hi=$ac_mid; break
10896else
10897 echo "$as_me: failed program was:" >&5
10898sed 's/^/| /' conftest.$ac_ext >&5
10899
10900ac_lo=`expr $ac_mid + 1`
10901 if test $ac_lo -le $ac_mid; then
10902 ac_lo= ac_hi=
10903 break
10904 fi
10905 ac_mid=`expr 2 '*' $ac_mid + 1`
10906fi
10907rm -f conftest.$ac_objext conftest.$ac_ext
10908 done
10909else
10910 echo "$as_me: failed program was:" >&5
10911sed 's/^/| /' conftest.$ac_ext >&5
10912
10913cat >conftest.$ac_ext <<_ACEOF
10914#line $LINENO "configure"
10915/* confdefs.h. */
10916_ACEOF
10917cat confdefs.h >>conftest.$ac_ext
10918cat >>conftest.$ac_ext <<_ACEOF
10919/* end confdefs.h. */
10920$ac_includes_default
10921int
10922main ()
10923{
10924static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) < 0)@:>@;
10925test_array @<:@0@:>@ = 0
10926
10927 ;
10928 return 0;
10929}
10930_ACEOF
10931rm -f conftest.$ac_objext
10932if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10933 (eval $ac_compile) 2>&5
10934 ac_status=$?
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); } &&
10937 { ac_try='test -s conftest.$ac_objext'
10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10940 ac_status=$?
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; }; then
10943 ac_hi=-1 ac_mid=-1
10944 while :; do
10945 cat >conftest.$ac_ext <<_ACEOF
10946#line $LINENO "configure"
10947/* confdefs.h. */
10948_ACEOF
10949cat confdefs.h >>conftest.$ac_ext
10950cat >>conftest.$ac_ext <<_ACEOF
10951/* end confdefs.h. */
10952$ac_includes_default
10953int
10954main ()
10955{
10956static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)@:>@;
10957test_array @<:@0@:>@ = 0
10958
10959 ;
10960 return 0;
10961}
10962_ACEOF
10963rm -f conftest.$ac_objext
10964if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10965 (eval $ac_compile) 2>&5
10966 ac_status=$?
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } &&
10969 { ac_try='test -s conftest.$ac_objext'
10970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10971 (eval $ac_try) 2>&5
10972 ac_status=$?
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; }; then
10975 ac_lo=$ac_mid; break
10976else
10977 echo "$as_me: failed program was:" >&5
10978sed 's/^/| /' conftest.$ac_ext >&5
10979
10980ac_hi=`expr '(' $ac_mid ')' - 1`
10981 if test $ac_mid -le $ac_hi; then
10982 ac_lo= ac_hi=
10983 break
10984 fi
10985 ac_mid=`expr 2 '*' $ac_mid`
10986fi
10987rm -f conftest.$ac_objext conftest.$ac_ext
10988 done
10989else
10990 echo "$as_me: failed program was:" >&5
10991sed 's/^/| /' conftest.$ac_ext >&5
10992
10993ac_lo= ac_hi=
10994fi
10995rm -f conftest.$ac_objext conftest.$ac_ext
10996fi
10997rm -f conftest.$ac_objext conftest.$ac_ext
10998# Binary search between lo and hi bounds.
10999while test "x$ac_lo" != "x$ac_hi"; do
11000 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11001 cat >conftest.$ac_ext <<_ACEOF
11002#line $LINENO "configure"
11003/* confdefs.h. */
11004_ACEOF
11005cat confdefs.h >>conftest.$ac_ext
11006cat >>conftest.$ac_ext <<_ACEOF
11007/* end confdefs.h. */
11008$ac_includes_default
11009int
11010main ()
11011{
11012static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)@:>@;
11013test_array @<:@0@:>@ = 0
11014
11015 ;
11016 return 0;
11017}
11018_ACEOF
11019rm -f conftest.$ac_objext
11020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11021 (eval $ac_compile) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } &&
11025 { ac_try='test -s conftest.$ac_objext'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11028 ac_status=$?
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; }; then
11031 ac_hi=$ac_mid
11032else
11033 echo "$as_me: failed program was:" >&5
11034sed 's/^/| /' conftest.$ac_ext >&5
11035
11036ac_lo=`expr '(' $ac_mid ')' + 1`
11037fi
11038rm -f conftest.$ac_objext conftest.$ac_ext
11039done
11040case $ac_lo in
11041?*) ac_cv_sizeof_char=$ac_lo;;
11042'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11043See \`config.log' for more details." >&5
11044echo "$as_me: error: cannot compute sizeof (char), 77
11045See \`config.log' for more details." >&2;}
11046 { (exit 1); exit 1; }; } ;;
11047esac
11048else
11049 if test "$cross_compiling" = yes; then
11050 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11051See \`config.log' for more details." >&5
11052echo "$as_me: error: cannot run test program while cross compiling
11053See \`config.log' for more details." >&2;}
11054 { (exit 1); exit 1; }; }
11055else
11056 cat >conftest.$ac_ext <<_ACEOF
11057#line $LINENO "configure"
11058/* confdefs.h. */
11059_ACEOF
11060cat confdefs.h >>conftest.$ac_ext
11061cat >>conftest.$ac_ext <<_ACEOF
11062/* end confdefs.h. */
11063$ac_includes_default
11064long longval () { return (long) (sizeof (char)); }
11065unsigned long ulongval () { return (long) (sizeof (char)); }
11066@%:@include <stdio.h>
11067@%:@include <stdlib.h>
11068int
11069main ()
11070{
11071
11072 FILE *f = fopen ("conftest.val", "w");
11073 if (! f)
11074 exit (1);
11075 if (((long) (sizeof (char))) < 0)
11076 {
11077 long i = longval ();
11078 if (i != ((long) (sizeof (char))))
11079 exit (1);
11080 fprintf (f, "%ld\n", i);
11081 }
11082 else
11083 {
11084 unsigned long i = ulongval ();
11085 if (i != ((long) (sizeof (char))))
11086 exit (1);
11087 fprintf (f, "%lu\n", i);
11088 }
11089 exit (ferror (f) || fclose (f) != 0);
11090
11091 ;
11092 return 0;
11093}
11094_ACEOF
11095rm -f conftest$ac_exeext
11096if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11097 (eval $ac_link) 2>&5
11098 ac_status=$?
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102 (eval $ac_try) 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; }; then
11106 ac_cv_sizeof_char=`cat conftest.val`
11107else
11108 echo "$as_me: program exited with status $ac_status" >&5
11109echo "$as_me: failed program was:" >&5
11110sed 's/^/| /' conftest.$ac_ext >&5
11111
11112( exit $ac_status )
11113{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11114See \`config.log' for more details." >&5
11115echo "$as_me: error: cannot compute sizeof (char), 77
11116See \`config.log' for more details." >&2;}
11117 { (exit 1); exit 1; }; }
11118fi
11119rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11120fi
11121fi
11122rm -f conftest.val
11123else
11124 ac_cv_sizeof_char=0
11125fi
11126fi
11127echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
11128echo "${ECHO_T}$ac_cv_sizeof_char" >&6
11129cat >>confdefs.h <<_ACEOF
11130@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
11131_ACEOF
11132
11133
11134echo "$as_me:$LINENO: checking for short int" >&5
11135echo $ECHO_N "checking for short int... $ECHO_C" >&6
11136if test "${ac_cv_type_short_int+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6
11138else
11139 cat >conftest.$ac_ext <<_ACEOF
11140#line $LINENO "configure"
11141/* confdefs.h. */
11142_ACEOF
11143cat confdefs.h >>conftest.$ac_ext
11144cat >>conftest.$ac_ext <<_ACEOF
11145/* end confdefs.h. */
11146$ac_includes_default
11147int
11148main ()
11149{
11150if ((short int *) 0)
11151 return 0;
11152if (sizeof (short int))
11153 return 0;
11154 ;
11155 return 0;
11156}
11157_ACEOF
11158rm -f conftest.$ac_objext
11159if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11160 (eval $ac_compile) 2>&5
11161 ac_status=$?
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } &&
11164 { ac_try='test -s conftest.$ac_objext'
11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166 (eval $ac_try) 2>&5
11167 ac_status=$?
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11170 ac_cv_type_short_int=yes
11171else
11172 echo "$as_me: failed program was:" >&5
11173sed 's/^/| /' conftest.$ac_ext >&5
11174
11175ac_cv_type_short_int=no
11176fi
11177rm -f conftest.$ac_objext conftest.$ac_ext
11178fi
11179echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
11180echo "${ECHO_T}$ac_cv_type_short_int" >&6
11181
11182echo "$as_me:$LINENO: checking size of short int" >&5
11183echo $ECHO_N "checking size of short int... $ECHO_C" >&6
11184if test "${ac_cv_sizeof_short_int+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11186else
11187 if test "$ac_cv_type_short_int" = yes; then
11188 # The cast to unsigned long works around a bug in the HP C Compiler
11189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11191 # This bug is HP SR number 8606223364.
11192 if test "$cross_compiling" = yes; then
11193 # Depending upon the size, compute the lo and hi bounds.
11194cat >conftest.$ac_ext <<_ACEOF
11195#line $LINENO "configure"
11196/* confdefs.h. */
11197_ACEOF
11198cat confdefs.h >>conftest.$ac_ext
11199cat >>conftest.$ac_ext <<_ACEOF
11200/* end confdefs.h. */
11201$ac_includes_default
11202int
11203main ()
11204{
11205static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >= 0)@:>@;
11206test_array @<:@0@:>@ = 0
11207
11208 ;
11209 return 0;
11210}
11211_ACEOF
11212rm -f conftest.$ac_objext
11213if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11214 (eval $ac_compile) 2>&5
11215 ac_status=$?
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try='test -s conftest.$ac_objext'
11219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11220 (eval $ac_try) 2>&5
11221 ac_status=$?
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); }; }; then
11224 ac_lo=0 ac_mid=0
11225 while :; do
11226 cat >conftest.$ac_ext <<_ACEOF
11227#line $LINENO "configure"
11228/* confdefs.h. */
11229_ACEOF
11230cat confdefs.h >>conftest.$ac_ext
11231cat >>conftest.$ac_ext <<_ACEOF
11232/* end confdefs.h. */
11233$ac_includes_default
11234int
11235main ()
11236{
11237static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)@:>@;
11238test_array @<:@0@:>@ = 0
11239
11240 ;
11241 return 0;
11242}
11243_ACEOF
11244rm -f conftest.$ac_objext
11245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11246 (eval $ac_compile) 2>&5
11247 ac_status=$?
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } &&
11250 { ac_try='test -s conftest.$ac_objext'
11251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11252 (eval $ac_try) 2>&5
11253 ac_status=$?
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); }; }; then
11256 ac_hi=$ac_mid; break
11257else
11258 echo "$as_me: failed program was:" >&5
11259sed 's/^/| /' conftest.$ac_ext >&5
11260
11261ac_lo=`expr $ac_mid + 1`
11262 if test $ac_lo -le $ac_mid; then
11263 ac_lo= ac_hi=
11264 break
11265 fi
11266 ac_mid=`expr 2 '*' $ac_mid + 1`
11267fi
11268rm -f conftest.$ac_objext conftest.$ac_ext
11269 done
11270else
11271 echo "$as_me: failed program was:" >&5
11272sed 's/^/| /' conftest.$ac_ext >&5
11273
11274cat >conftest.$ac_ext <<_ACEOF
11275#line $LINENO "configure"
11276/* confdefs.h. */
11277_ACEOF
11278cat confdefs.h >>conftest.$ac_ext
11279cat >>conftest.$ac_ext <<_ACEOF
11280/* end confdefs.h. */
11281$ac_includes_default
11282int
11283main ()
11284{
11285static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) < 0)@:>@;
11286test_array @<:@0@:>@ = 0
11287
11288 ;
11289 return 0;
11290}
11291_ACEOF
11292rm -f conftest.$ac_objext
11293if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11294 (eval $ac_compile) 2>&5
11295 ac_status=$?
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } &&
11298 { ac_try='test -s conftest.$ac_objext'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11301 ac_status=$?
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; }; then
11304 ac_hi=-1 ac_mid=-1
11305 while :; do
11306 cat >conftest.$ac_ext <<_ACEOF
11307#line $LINENO "configure"
11308/* confdefs.h. */
11309_ACEOF
11310cat confdefs.h >>conftest.$ac_ext
11311cat >>conftest.$ac_ext <<_ACEOF
11312/* end confdefs.h. */
11313$ac_includes_default
11314int
11315main ()
11316{
11317static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)@:>@;
11318test_array @<:@0@:>@ = 0
11319
11320 ;
11321 return 0;
11322}
11323_ACEOF
11324rm -f conftest.$ac_objext
11325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11326 (eval $ac_compile) 2>&5
11327 ac_status=$?
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); } &&
11330 { ac_try='test -s conftest.$ac_objext'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11333 ac_status=$?
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; }; then
11336 ac_lo=$ac_mid; break
11337else
11338 echo "$as_me: failed program was:" >&5
11339sed 's/^/| /' conftest.$ac_ext >&5
11340
11341ac_hi=`expr '(' $ac_mid ')' - 1`
11342 if test $ac_mid -le $ac_hi; then
11343 ac_lo= ac_hi=
11344 break
11345 fi
11346 ac_mid=`expr 2 '*' $ac_mid`
11347fi
11348rm -f conftest.$ac_objext conftest.$ac_ext
11349 done
11350else
11351 echo "$as_me: failed program was:" >&5
11352sed 's/^/| /' conftest.$ac_ext >&5
11353
11354ac_lo= ac_hi=
11355fi
11356rm -f conftest.$ac_objext conftest.$ac_ext
11357fi
11358rm -f conftest.$ac_objext conftest.$ac_ext
11359# Binary search between lo and hi bounds.
11360while test "x$ac_lo" != "x$ac_hi"; do
11361 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11362 cat >conftest.$ac_ext <<_ACEOF
11363#line $LINENO "configure"
11364/* confdefs.h. */
11365_ACEOF
11366cat confdefs.h >>conftest.$ac_ext
11367cat >>conftest.$ac_ext <<_ACEOF
11368/* end confdefs.h. */
11369$ac_includes_default
11370int
11371main ()
11372{
11373static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)@:>@;
11374test_array @<:@0@:>@ = 0
11375
11376 ;
11377 return 0;
11378}
11379_ACEOF
11380rm -f conftest.$ac_objext
11381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11382 (eval $ac_compile) 2>&5
11383 ac_status=$?
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } &&
11386 { ac_try='test -s conftest.$ac_objext'
11387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11388 (eval $ac_try) 2>&5
11389 ac_status=$?
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); }; }; then
11392 ac_hi=$ac_mid
11393else
11394 echo "$as_me: failed program was:" >&5
11395sed 's/^/| /' conftest.$ac_ext >&5
11396
11397ac_lo=`expr '(' $ac_mid ')' + 1`
11398fi
11399rm -f conftest.$ac_objext conftest.$ac_ext
11400done
11401case $ac_lo in
11402?*) ac_cv_sizeof_short_int=$ac_lo;;
11403'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
11404See \`config.log' for more details." >&5
11405echo "$as_me: error: cannot compute sizeof (short int), 77
11406See \`config.log' for more details." >&2;}
11407 { (exit 1); exit 1; }; } ;;
11408esac
11409else
11410 if test "$cross_compiling" = yes; then
11411 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11412See \`config.log' for more details." >&5
11413echo "$as_me: error: cannot run test program while cross compiling
11414See \`config.log' for more details." >&2;}
11415 { (exit 1); exit 1; }; }
11416else
11417 cat >conftest.$ac_ext <<_ACEOF
11418#line $LINENO "configure"
11419/* confdefs.h. */
11420_ACEOF
11421cat confdefs.h >>conftest.$ac_ext
11422cat >>conftest.$ac_ext <<_ACEOF
11423/* end confdefs.h. */
11424$ac_includes_default
11425long longval () { return (long) (sizeof (short int)); }
11426unsigned long ulongval () { return (long) (sizeof (short int)); }
11427@%:@include <stdio.h>
11428@%:@include <stdlib.h>
11429int
11430main ()
11431{
11432
11433 FILE *f = fopen ("conftest.val", "w");
11434 if (! f)
11435 exit (1);
11436 if (((long) (sizeof (short int))) < 0)
11437 {
11438 long i = longval ();
11439 if (i != ((long) (sizeof (short int))))
11440 exit (1);
11441 fprintf (f, "%ld\n", i);
11442 }
11443 else
11444 {
11445 unsigned long i = ulongval ();
11446 if (i != ((long) (sizeof (short int))))
11447 exit (1);
11448 fprintf (f, "%lu\n", i);
11449 }
11450 exit (ferror (f) || fclose (f) != 0);
11451
11452 ;
11453 return 0;
11454}
11455_ACEOF
11456rm -f conftest$ac_exeext
11457if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11458 (eval $ac_link) 2>&5
11459 ac_status=$?
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11464 ac_status=$?
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; }; then
11467 ac_cv_sizeof_short_int=`cat conftest.val`
11468else
11469 echo "$as_me: program exited with status $ac_status" >&5
11470echo "$as_me: failed program was:" >&5
11471sed 's/^/| /' conftest.$ac_ext >&5
11472
11473( exit $ac_status )
11474{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
11475See \`config.log' for more details." >&5
11476echo "$as_me: error: cannot compute sizeof (short int), 77
11477See \`config.log' for more details." >&2;}
11478 { (exit 1); exit 1; }; }
11479fi
11480rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11481fi
11482fi
11483rm -f conftest.val
11484else
11485 ac_cv_sizeof_short_int=0
11486fi
11487fi
11488echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
11489echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
11490cat >>confdefs.h <<_ACEOF
11491@%:@define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
11492_ACEOF
11493
11494
11495echo "$as_me:$LINENO: checking for int" >&5
11496echo $ECHO_N "checking for int... $ECHO_C" >&6
11497if test "${ac_cv_type_int+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11499else
11500 cat >conftest.$ac_ext <<_ACEOF
11501#line $LINENO "configure"
11502/* confdefs.h. */
11503_ACEOF
11504cat confdefs.h >>conftest.$ac_ext
11505cat >>conftest.$ac_ext <<_ACEOF
11506/* end confdefs.h. */
11507$ac_includes_default
11508int
11509main ()
11510{
11511if ((int *) 0)
11512 return 0;
11513if (sizeof (int))
11514 return 0;
11515 ;
11516 return 0;
11517}
11518_ACEOF
11519rm -f conftest.$ac_objext
11520if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11521 (eval $ac_compile) 2>&5
11522 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); } &&
11525 { ac_try='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11528 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 ac_cv_type_int=yes
11532else
11533 echo "$as_me: failed program was:" >&5
11534sed 's/^/| /' conftest.$ac_ext >&5
11535
11536ac_cv_type_int=no
11537fi
11538rm -f conftest.$ac_objext conftest.$ac_ext
11539fi
11540echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
11541echo "${ECHO_T}$ac_cv_type_int" >&6
11542
11543echo "$as_me:$LINENO: checking size of int" >&5
11544echo $ECHO_N "checking size of int... $ECHO_C" >&6
11545if test "${ac_cv_sizeof_int+set}" = set; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11547else
11548 if test "$ac_cv_type_int" = yes; then
11549 # The cast to unsigned long works around a bug in the HP C Compiler
11550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11552 # This bug is HP SR number 8606223364.
11553 if test "$cross_compiling" = yes; then
11554 # Depending upon the size, compute the lo and hi bounds.
11555cat >conftest.$ac_ext <<_ACEOF
11556#line $LINENO "configure"
11557/* confdefs.h. */
11558_ACEOF
11559cat confdefs.h >>conftest.$ac_ext
11560cat >>conftest.$ac_ext <<_ACEOF
11561/* end confdefs.h. */
11562$ac_includes_default
11563int
11564main ()
11565{
11566static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= 0)@:>@;
11567test_array @<:@0@:>@ = 0
11568
11569 ;
11570 return 0;
11571}
11572_ACEOF
11573rm -f conftest.$ac_objext
11574if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>&5
11576 ac_status=$?
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); } &&
11579 { ac_try='test -s conftest.$ac_objext'
11580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11581 (eval $ac_try) 2>&5
11582 ac_status=$?
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 ac_lo=0 ac_mid=0
11586 while :; do
11587 cat >conftest.$ac_ext <<_ACEOF
11588#line $LINENO "configure"
11589/* confdefs.h. */
11590_ACEOF
11591cat confdefs.h >>conftest.$ac_ext
11592cat >>conftest.$ac_ext <<_ACEOF
11593/* end confdefs.h. */
11594$ac_includes_default
11595int
11596main ()
11597{
11598static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@;
11599test_array @<:@0@:>@ = 0
11600
11601 ;
11602 return 0;
11603}
11604_ACEOF
11605rm -f conftest.$ac_objext
11606if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11607 (eval $ac_compile) 2>&5
11608 ac_status=$?
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } &&
11611 { ac_try='test -s conftest.$ac_objext'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11614 ac_status=$?
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; }; then
11617 ac_hi=$ac_mid; break
11618else
11619 echo "$as_me: failed program was:" >&5
11620sed 's/^/| /' conftest.$ac_ext >&5
11621
11622ac_lo=`expr $ac_mid + 1`
11623 if test $ac_lo -le $ac_mid; then
11624 ac_lo= ac_hi=
11625 break
11626 fi
11627 ac_mid=`expr 2 '*' $ac_mid + 1`
11628fi
11629rm -f conftest.$ac_objext conftest.$ac_ext
11630 done
11631else
11632 echo "$as_me: failed program was:" >&5
11633sed 's/^/| /' conftest.$ac_ext >&5
11634
11635cat >conftest.$ac_ext <<_ACEOF
11636#line $LINENO "configure"
11637/* confdefs.h. */
11638_ACEOF
11639cat confdefs.h >>conftest.$ac_ext
11640cat >>conftest.$ac_ext <<_ACEOF
11641/* end confdefs.h. */
11642$ac_includes_default
11643int
11644main ()
11645{
11646static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) < 0)@:>@;
11647test_array @<:@0@:>@ = 0
11648
11649 ;
11650 return 0;
11651}
11652_ACEOF
11653rm -f conftest.$ac_objext
11654if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11655 (eval $ac_compile) 2>&5
11656 ac_status=$?
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } &&
11659 { ac_try='test -s conftest.$ac_objext'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11662 ac_status=$?
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11665 ac_hi=-1 ac_mid=-1
11666 while :; do
11667 cat >conftest.$ac_ext <<_ACEOF
11668#line $LINENO "configure"
11669/* confdefs.h. */
11670_ACEOF
11671cat confdefs.h >>conftest.$ac_ext
11672cat >>conftest.$ac_ext <<_ACEOF
11673/* end confdefs.h. */
11674$ac_includes_default
11675int
11676main ()
11677{
11678static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)@:>@;
11679test_array @<:@0@:>@ = 0
11680
11681 ;
11682 return 0;
11683}
11684_ACEOF
11685rm -f conftest.$ac_objext
11686if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11687 (eval $ac_compile) 2>&5
11688 ac_status=$?
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); } &&
11691 { ac_try='test -s conftest.$ac_objext'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11694 ac_status=$?
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then
11697 ac_lo=$ac_mid; break
11698else
11699 echo "$as_me: failed program was:" >&5
11700sed 's/^/| /' conftest.$ac_ext >&5
11701
11702ac_hi=`expr '(' $ac_mid ')' - 1`
11703 if test $ac_mid -le $ac_hi; then
11704 ac_lo= ac_hi=
11705 break
11706 fi
11707 ac_mid=`expr 2 '*' $ac_mid`
11708fi
11709rm -f conftest.$ac_objext conftest.$ac_ext
11710 done
11711else
11712 echo "$as_me: failed program was:" >&5
11713sed 's/^/| /' conftest.$ac_ext >&5
11714
11715ac_lo= ac_hi=
11716fi
11717rm -f conftest.$ac_objext conftest.$ac_ext
11718fi
11719rm -f conftest.$ac_objext conftest.$ac_ext
11720# Binary search between lo and hi bounds.
11721while test "x$ac_lo" != "x$ac_hi"; do
11722 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11723 cat >conftest.$ac_ext <<_ACEOF
11724#line $LINENO "configure"
11725/* confdefs.h. */
11726_ACEOF
11727cat confdefs.h >>conftest.$ac_ext
11728cat >>conftest.$ac_ext <<_ACEOF
11729/* end confdefs.h. */
11730$ac_includes_default
11731int
11732main ()
11733{
11734static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@;
11735test_array @<:@0@:>@ = 0
11736
11737 ;
11738 return 0;
11739}
11740_ACEOF
11741rm -f conftest.$ac_objext
11742if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11743 (eval $ac_compile) 2>&5
11744 ac_status=$?
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); } &&
11747 { ac_try='test -s conftest.$ac_objext'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11750 ac_status=$?
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; }; then
11753 ac_hi=$ac_mid
11754else
11755 echo "$as_me: failed program was:" >&5
11756sed 's/^/| /' conftest.$ac_ext >&5
11757
11758ac_lo=`expr '(' $ac_mid ')' + 1`
11759fi
11760rm -f conftest.$ac_objext conftest.$ac_ext
11761done
11762case $ac_lo in
11763?*) ac_cv_sizeof_int=$ac_lo;;
11764'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11765See \`config.log' for more details." >&5
11766echo "$as_me: error: cannot compute sizeof (int), 77
11767See \`config.log' for more details." >&2;}
11768 { (exit 1); exit 1; }; } ;;
11769esac
11770else
11771 if test "$cross_compiling" = yes; then
11772 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11773See \`config.log' for more details." >&5
11774echo "$as_me: error: cannot run test program while cross compiling
11775See \`config.log' for more details." >&2;}
11776 { (exit 1); exit 1; }; }
11777else
11778 cat >conftest.$ac_ext <<_ACEOF
11779#line $LINENO "configure"
11780/* confdefs.h. */
11781_ACEOF
11782cat confdefs.h >>conftest.$ac_ext
11783cat >>conftest.$ac_ext <<_ACEOF
11784/* end confdefs.h. */
11785$ac_includes_default
11786long longval () { return (long) (sizeof (int)); }
11787unsigned long ulongval () { return (long) (sizeof (int)); }
11788@%:@include <stdio.h>
11789@%:@include <stdlib.h>
11790int
11791main ()
11792{
11793
11794 FILE *f = fopen ("conftest.val", "w");
11795 if (! f)
11796 exit (1);
11797 if (((long) (sizeof (int))) < 0)
11798 {
11799 long i = longval ();
11800 if (i != ((long) (sizeof (int))))
11801 exit (1);
11802 fprintf (f, "%ld\n", i);
11803 }
11804 else
11805 {
11806 unsigned long i = ulongval ();
11807 if (i != ((long) (sizeof (int))))
11808 exit (1);
11809 fprintf (f, "%lu\n", i);
11810 }
11811 exit (ferror (f) || fclose (f) != 0);
11812
11813 ;
11814 return 0;
11815}
11816_ACEOF
11817rm -f conftest$ac_exeext
11818if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11819 (eval $ac_link) 2>&5
11820 ac_status=$?
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11825 ac_status=$?
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; }; then
11828 ac_cv_sizeof_int=`cat conftest.val`
11829else
11830 echo "$as_me: program exited with status $ac_status" >&5
11831echo "$as_me: failed program was:" >&5
11832sed 's/^/| /' conftest.$ac_ext >&5
11833
11834( exit $ac_status )
11835{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11836See \`config.log' for more details." >&5
11837echo "$as_me: error: cannot compute sizeof (int), 77
11838See \`config.log' for more details." >&2;}
11839 { (exit 1); exit 1; }; }
11840fi
11841rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11842fi
11843fi
11844rm -f conftest.val
11845else
11846 ac_cv_sizeof_int=0
11847fi
11848fi
11849echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11850echo "${ECHO_T}$ac_cv_sizeof_int" >&6
11851cat >>confdefs.h <<_ACEOF
11852@%:@define SIZEOF_INT $ac_cv_sizeof_int
11853_ACEOF
11854
11855
11856echo "$as_me:$LINENO: checking for long int" >&5
11857echo $ECHO_N "checking for long int... $ECHO_C" >&6
11858if test "${ac_cv_type_long_int+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11860else
11861 cat >conftest.$ac_ext <<_ACEOF
11862#line $LINENO "configure"
11863/* confdefs.h. */
11864_ACEOF
11865cat confdefs.h >>conftest.$ac_ext
11866cat >>conftest.$ac_ext <<_ACEOF
11867/* end confdefs.h. */
11868$ac_includes_default
11869int
11870main ()
11871{
11872if ((long int *) 0)
11873 return 0;
11874if (sizeof (long int))
11875 return 0;
11876 ;
11877 return 0;
11878}
11879_ACEOF
11880rm -f conftest.$ac_objext
11881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11882 (eval $ac_compile) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } &&
11886 { ac_try='test -s conftest.$ac_objext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11889 ac_status=$?
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 ac_cv_type_long_int=yes
11893else
11894 echo "$as_me: failed program was:" >&5
11895sed 's/^/| /' conftest.$ac_ext >&5
11896
11897ac_cv_type_long_int=no
11898fi
11899rm -f conftest.$ac_objext conftest.$ac_ext
11900fi
11901echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
11902echo "${ECHO_T}$ac_cv_type_long_int" >&6
11903
11904echo "$as_me:$LINENO: checking size of long int" >&5
11905echo $ECHO_N "checking size of long int... $ECHO_C" >&6
11906if test "${ac_cv_sizeof_long_int+set}" = set; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11908else
11909 if test "$ac_cv_type_long_int" = yes; then
11910 # The cast to unsigned long works around a bug in the HP C Compiler
11911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11913 # This bug is HP SR number 8606223364.
11914 if test "$cross_compiling" = yes; then
11915 # Depending upon the size, compute the lo and hi bounds.
11916cat >conftest.$ac_ext <<_ACEOF
11917#line $LINENO "configure"
11918/* confdefs.h. */
11919_ACEOF
11920cat confdefs.h >>conftest.$ac_ext
11921cat >>conftest.$ac_ext <<_ACEOF
11922/* end confdefs.h. */
11923$ac_includes_default
11924int
11925main ()
11926{
11927static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= 0)@:>@;
11928test_array @<:@0@:>@ = 0
11929
11930 ;
11931 return 0;
11932}
11933_ACEOF
11934rm -f conftest.$ac_objext
11935if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11936 (eval $ac_compile) 2>&5
11937 ac_status=$?
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try='test -s conftest.$ac_objext'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11943 ac_status=$?
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 ac_lo=0 ac_mid=0
11947 while :; do
11948 cat >conftest.$ac_ext <<_ACEOF
11949#line $LINENO "configure"
11950/* confdefs.h. */
11951_ACEOF
11952cat confdefs.h >>conftest.$ac_ext
11953cat >>conftest.$ac_ext <<_ACEOF
11954/* end confdefs.h. */
11955$ac_includes_default
11956int
11957main ()
11958{
11959static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@;
11960test_array @<:@0@:>@ = 0
11961
11962 ;
11963 return 0;
11964}
11965_ACEOF
11966rm -f conftest.$ac_objext
11967if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11968 (eval $ac_compile) 2>&5
11969 ac_status=$?
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try='test -s conftest.$ac_objext'
11973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11974 (eval $ac_try) 2>&5
11975 ac_status=$?
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); }; }; then
11978 ac_hi=$ac_mid; break
11979else
11980 echo "$as_me: failed program was:" >&5
11981sed 's/^/| /' conftest.$ac_ext >&5
11982
11983ac_lo=`expr $ac_mid + 1`
11984 if test $ac_lo -le $ac_mid; then
11985 ac_lo= ac_hi=
11986 break
11987 fi
11988 ac_mid=`expr 2 '*' $ac_mid + 1`
11989fi
11990rm -f conftest.$ac_objext conftest.$ac_ext
11991 done
11992else
11993 echo "$as_me: failed program was:" >&5
11994sed 's/^/| /' conftest.$ac_ext >&5
11995
11996cat >conftest.$ac_ext <<_ACEOF
11997#line $LINENO "configure"
11998/* confdefs.h. */
11999_ACEOF
12000cat confdefs.h >>conftest.$ac_ext
12001cat >>conftest.$ac_ext <<_ACEOF
12002/* end confdefs.h. */
12003$ac_includes_default
12004int
12005main ()
12006{
12007static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) < 0)@:>@;
12008test_array @<:@0@:>@ = 0
12009
12010 ;
12011 return 0;
12012}
12013_ACEOF
12014rm -f conftest.$ac_objext
12015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12016 (eval $ac_compile) 2>&5
12017 ac_status=$?
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); } &&
12020 { ac_try='test -s conftest.$ac_objext'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12023 ac_status=$?
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; }; then
12026 ac_hi=-1 ac_mid=-1
12027 while :; do
12028 cat >conftest.$ac_ext <<_ACEOF
12029#line $LINENO "configure"
12030/* confdefs.h. */
12031_ACEOF
12032cat confdefs.h >>conftest.$ac_ext
12033cat >>conftest.$ac_ext <<_ACEOF
12034/* end confdefs.h. */
12035$ac_includes_default
12036int
12037main ()
12038{
12039static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)@:>@;
12040test_array @<:@0@:>@ = 0
12041
12042 ;
12043 return 0;
12044}
12045_ACEOF
12046rm -f conftest.$ac_objext
12047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12048 (eval $ac_compile) 2>&5
12049 ac_status=$?
12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 (exit $ac_status); } &&
12052 { ac_try='test -s conftest.$ac_objext'
12053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12054 (eval $ac_try) 2>&5
12055 ac_status=$?
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); }; }; then
12058 ac_lo=$ac_mid; break
12059else
12060 echo "$as_me: failed program was:" >&5
12061sed 's/^/| /' conftest.$ac_ext >&5
12062
12063ac_hi=`expr '(' $ac_mid ')' - 1`
12064 if test $ac_mid -le $ac_hi; then
12065 ac_lo= ac_hi=
12066 break
12067 fi
12068 ac_mid=`expr 2 '*' $ac_mid`
12069fi
12070rm -f conftest.$ac_objext conftest.$ac_ext
12071 done
12072else
12073 echo "$as_me: failed program was:" >&5
12074sed 's/^/| /' conftest.$ac_ext >&5
12075
12076ac_lo= ac_hi=
12077fi
12078rm -f conftest.$ac_objext conftest.$ac_ext
12079fi
12080rm -f conftest.$ac_objext conftest.$ac_ext
12081# Binary search between lo and hi bounds.
12082while test "x$ac_lo" != "x$ac_hi"; do
12083 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12084 cat >conftest.$ac_ext <<_ACEOF
12085#line $LINENO "configure"
12086/* confdefs.h. */
12087_ACEOF
12088cat confdefs.h >>conftest.$ac_ext
12089cat >>conftest.$ac_ext <<_ACEOF
12090/* end confdefs.h. */
12091$ac_includes_default
12092int
12093main ()
12094{
12095static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@;
12096test_array @<:@0@:>@ = 0
12097
12098 ;
12099 return 0;
12100}
12101_ACEOF
12102rm -f conftest.$ac_objext
12103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12104 (eval $ac_compile) 2>&5
12105 ac_status=$?
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); } &&
12108 { ac_try='test -s conftest.$ac_objext'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12111 ac_status=$?
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; }; then
12114 ac_hi=$ac_mid
12115else
12116 echo "$as_me: failed program was:" >&5
12117sed 's/^/| /' conftest.$ac_ext >&5
12118
12119ac_lo=`expr '(' $ac_mid ')' + 1`
12120fi
12121rm -f conftest.$ac_objext conftest.$ac_ext
12122done
12123case $ac_lo in
12124?*) ac_cv_sizeof_long_int=$ac_lo;;
12125'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
12126See \`config.log' for more details." >&5
12127echo "$as_me: error: cannot compute sizeof (long int), 77
12128See \`config.log' for more details." >&2;}
12129 { (exit 1); exit 1; }; } ;;
12130esac
12131else
12132 if test "$cross_compiling" = yes; then
12133 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12134See \`config.log' for more details." >&5
12135echo "$as_me: error: cannot run test program while cross compiling
12136See \`config.log' for more details." >&2;}
12137 { (exit 1); exit 1; }; }
12138else
12139 cat >conftest.$ac_ext <<_ACEOF
12140#line $LINENO "configure"
12141/* confdefs.h. */
12142_ACEOF
12143cat confdefs.h >>conftest.$ac_ext
12144cat >>conftest.$ac_ext <<_ACEOF
12145/* end confdefs.h. */
12146$ac_includes_default
12147long longval () { return (long) (sizeof (long int)); }
12148unsigned long ulongval () { return (long) (sizeof (long int)); }
12149@%:@include <stdio.h>
12150@%:@include <stdlib.h>
12151int
12152main ()
12153{
12154
12155 FILE *f = fopen ("conftest.val", "w");
12156 if (! f)
12157 exit (1);
12158 if (((long) (sizeof (long int))) < 0)
12159 {
12160 long i = longval ();
12161 if (i != ((long) (sizeof (long int))))
12162 exit (1);
12163 fprintf (f, "%ld\n", i);
12164 }
12165 else
12166 {
12167 unsigned long i = ulongval ();
12168 if (i != ((long) (sizeof (long int))))
12169 exit (1);
12170 fprintf (f, "%lu\n", i);
12171 }
12172 exit (ferror (f) || fclose (f) != 0);
12173
12174 ;
12175 return 0;
12176}
12177_ACEOF
12178rm -f conftest$ac_exeext
12179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12180 (eval $ac_link) 2>&5
12181 ac_status=$?
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12186 ac_status=$?
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; }; then
12189 ac_cv_sizeof_long_int=`cat conftest.val`
12190else
12191 echo "$as_me: program exited with status $ac_status" >&5
12192echo "$as_me: failed program was:" >&5
12193sed 's/^/| /' conftest.$ac_ext >&5
12194
12195( exit $ac_status )
12196{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
12197See \`config.log' for more details." >&5
12198echo "$as_me: error: cannot compute sizeof (long int), 77
12199See \`config.log' for more details." >&2;}
12200 { (exit 1); exit 1; }; }
12201fi
12202rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12203fi
12204fi
12205rm -f conftest.val
12206else
12207 ac_cv_sizeof_long_int=0
12208fi
12209fi
12210echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
12211echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
12212cat >>confdefs.h <<_ACEOF
12213@%:@define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
12214_ACEOF
12215
12216
12217echo "$as_me:$LINENO: checking for long long int" >&5
12218echo $ECHO_N "checking for long long int... $ECHO_C" >&6
12219if test "${ac_cv_type_long_long_int+set}" = set; then
12220 echo $ECHO_N "(cached) $ECHO_C" >&6
12221else
12222 cat >conftest.$ac_ext <<_ACEOF
12223#line $LINENO "configure"
12224/* confdefs.h. */
12225_ACEOF
12226cat confdefs.h >>conftest.$ac_ext
12227cat >>conftest.$ac_ext <<_ACEOF
12228/* end confdefs.h. */
12229$ac_includes_default
12230int
12231main ()
12232{
12233if ((long long int *) 0)
12234 return 0;
12235if (sizeof (long long int))
12236 return 0;
12237 ;
12238 return 0;
12239}
12240_ACEOF
12241rm -f conftest.$ac_objext
12242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12243 (eval $ac_compile) 2>&5
12244 ac_status=$?
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); } &&
12247 { ac_try='test -s conftest.$ac_objext'
12248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12249 (eval $ac_try) 2>&5
12250 ac_status=$?
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); }; }; then
12253 ac_cv_type_long_long_int=yes
12254else
12255 echo "$as_me: failed program was:" >&5
12256sed 's/^/| /' conftest.$ac_ext >&5
12257
12258ac_cv_type_long_long_int=no
12259fi
12260rm -f conftest.$ac_objext conftest.$ac_ext
12261fi
12262echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
12263echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
12264
12265echo "$as_me:$LINENO: checking size of long long int" >&5
12266echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
12267if test "${ac_cv_sizeof_long_long_int+set}" = set; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12269else
12270 if test "$ac_cv_type_long_long_int" = yes; then
12271 # The cast to unsigned long works around a bug in the HP C Compiler
12272 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12274 # This bug is HP SR number 8606223364.
12275 if test "$cross_compiling" = yes; then
12276 # Depending upon the size, compute the lo and hi bounds.
12277cat >conftest.$ac_ext <<_ACEOF
12278#line $LINENO "configure"
12279/* confdefs.h. */
12280_ACEOF
12281cat confdefs.h >>conftest.$ac_ext
12282cat >>conftest.$ac_ext <<_ACEOF
12283/* end confdefs.h. */
12284$ac_includes_default
12285int
12286main ()
12287{
12288static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >= 0)@:>@;
12289test_array @<:@0@:>@ = 0
12290
12291 ;
12292 return 0;
12293}
12294_ACEOF
12295rm -f conftest.$ac_objext
12296if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12297 (eval $ac_compile) 2>&5
12298 ac_status=$?
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); } &&
12301 { ac_try='test -s conftest.$ac_objext'
12302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12303 (eval $ac_try) 2>&5
12304 ac_status=$?
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; }; then
12307 ac_lo=0 ac_mid=0
12308 while :; do
12309 cat >conftest.$ac_ext <<_ACEOF
12310#line $LINENO "configure"
12311/* confdefs.h. */
12312_ACEOF
12313cat confdefs.h >>conftest.$ac_ext
12314cat >>conftest.$ac_ext <<_ACEOF
12315/* end confdefs.h. */
12316$ac_includes_default
12317int
12318main ()
12319{
12320static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)@:>@;
12321test_array @<:@0@:>@ = 0
12322
12323 ;
12324 return 0;
12325}
12326_ACEOF
12327rm -f conftest.$ac_objext
12328if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12329 (eval $ac_compile) 2>&5
12330 ac_status=$?
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); } &&
12333 { ac_try='test -s conftest.$ac_objext'
12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12336 ac_status=$?
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; }; then
12339 ac_hi=$ac_mid; break
12340else
12341 echo "$as_me: failed program was:" >&5
12342sed 's/^/| /' conftest.$ac_ext >&5
12343
12344ac_lo=`expr $ac_mid + 1`
12345 if test $ac_lo -le $ac_mid; then
12346 ac_lo= ac_hi=
12347 break
12348 fi
12349 ac_mid=`expr 2 '*' $ac_mid + 1`
12350fi
12351rm -f conftest.$ac_objext conftest.$ac_ext
12352 done
12353else
12354 echo "$as_me: failed program was:" >&5
12355sed 's/^/| /' conftest.$ac_ext >&5
12356
12357cat >conftest.$ac_ext <<_ACEOF
12358#line $LINENO "configure"
12359/* confdefs.h. */
12360_ACEOF
12361cat confdefs.h >>conftest.$ac_ext
12362cat >>conftest.$ac_ext <<_ACEOF
12363/* end confdefs.h. */
12364$ac_includes_default
12365int
12366main ()
12367{
12368static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) < 0)@:>@;
12369test_array @<:@0@:>@ = 0
12370
12371 ;
12372 return 0;
12373}
12374_ACEOF
12375rm -f conftest.$ac_objext
12376if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12377 (eval $ac_compile) 2>&5
12378 ac_status=$?
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
12381 { ac_try='test -s conftest.$ac_objext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_hi=-1 ac_mid=-1
12388 while :; do
12389 cat >conftest.$ac_ext <<_ACEOF
12390#line $LINENO "configure"
12391/* confdefs.h. */
12392_ACEOF
12393cat confdefs.h >>conftest.$ac_ext
12394cat >>conftest.$ac_ext <<_ACEOF
12395/* end confdefs.h. */
12396$ac_includes_default
12397int
12398main ()
12399{
12400static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)@:>@;
12401test_array @<:@0@:>@ = 0
12402
12403 ;
12404 return 0;
12405}
12406_ACEOF
12407rm -f conftest.$ac_objext
12408if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12409 (eval $ac_compile) 2>&5
12410 ac_status=$?
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } &&
12413 { ac_try='test -s conftest.$ac_objext'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12416 ac_status=$?
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; }; then
12419 ac_lo=$ac_mid; break
12420else
12421 echo "$as_me: failed program was:" >&5
12422sed 's/^/| /' conftest.$ac_ext >&5
12423
12424ac_hi=`expr '(' $ac_mid ')' - 1`
12425 if test $ac_mid -le $ac_hi; then
12426 ac_lo= ac_hi=
12427 break
12428 fi
12429 ac_mid=`expr 2 '*' $ac_mid`
12430fi
12431rm -f conftest.$ac_objext conftest.$ac_ext
12432 done
12433else
12434 echo "$as_me: failed program was:" >&5
12435sed 's/^/| /' conftest.$ac_ext >&5
12436
12437ac_lo= ac_hi=
12438fi
12439rm -f conftest.$ac_objext conftest.$ac_ext
12440fi
12441rm -f conftest.$ac_objext conftest.$ac_ext
12442# Binary search between lo and hi bounds.
12443while test "x$ac_lo" != "x$ac_hi"; do
12444 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12445 cat >conftest.$ac_ext <<_ACEOF
12446#line $LINENO "configure"
12447/* confdefs.h. */
12448_ACEOF
12449cat confdefs.h >>conftest.$ac_ext
12450cat >>conftest.$ac_ext <<_ACEOF
12451/* end confdefs.h. */
12452$ac_includes_default
12453int
12454main ()
12455{
12456static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)@:>@;
12457test_array @<:@0@:>@ = 0
12458
12459 ;
12460 return 0;
12461}
12462_ACEOF
12463rm -f conftest.$ac_objext
12464if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12465 (eval $ac_compile) 2>&5
12466 ac_status=$?
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); } &&
12469 { ac_try='test -s conftest.$ac_objext'
12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5
12472 ac_status=$?
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); }; }; then
12475 ac_hi=$ac_mid
12476else
12477 echo "$as_me: failed program was:" >&5
12478sed 's/^/| /' conftest.$ac_ext >&5
12479
12480ac_lo=`expr '(' $ac_mid ')' + 1`
12481fi
12482rm -f conftest.$ac_objext conftest.$ac_ext
12483done
12484case $ac_lo in
12485?*) ac_cv_sizeof_long_long_int=$ac_lo;;
12486'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
12487See \`config.log' for more details." >&5
12488echo "$as_me: error: cannot compute sizeof (long long int), 77
12489See \`config.log' for more details." >&2;}
12490 { (exit 1); exit 1; }; } ;;
12491esac
12492else
12493 if test "$cross_compiling" = yes; then
12494 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12495See \`config.log' for more details." >&5
12496echo "$as_me: error: cannot run test program while cross compiling
12497See \`config.log' for more details." >&2;}
12498 { (exit 1); exit 1; }; }
12499else
12500 cat >conftest.$ac_ext <<_ACEOF
12501#line $LINENO "configure"
12502/* confdefs.h. */
12503_ACEOF
12504cat confdefs.h >>conftest.$ac_ext
12505cat >>conftest.$ac_ext <<_ACEOF
12506/* end confdefs.h. */
12507$ac_includes_default
12508long longval () { return (long) (sizeof (long long int)); }
12509unsigned long ulongval () { return (long) (sizeof (long long int)); }
12510@%:@include <stdio.h>
12511@%:@include <stdlib.h>
12512int
12513main ()
12514{
12515
12516 FILE *f = fopen ("conftest.val", "w");
12517 if (! f)
12518 exit (1);
12519 if (((long) (sizeof (long long int))) < 0)
12520 {
12521 long i = longval ();
12522 if (i != ((long) (sizeof (long long int))))
12523 exit (1);
12524 fprintf (f, "%ld\n", i);
12525 }
12526 else
12527 {
12528 unsigned long i = ulongval ();
12529 if (i != ((long) (sizeof (long long int))))
12530 exit (1);
12531 fprintf (f, "%lu\n", i);
12532 }
12533 exit (ferror (f) || fclose (f) != 0);
12534
12535 ;
12536 return 0;
12537}
12538_ACEOF
12539rm -f conftest$ac_exeext
12540if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12541 (eval $ac_link) 2>&5
12542 ac_status=$?
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12547 ac_status=$?
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; }; then
12550 ac_cv_sizeof_long_long_int=`cat conftest.val`
12551else
12552 echo "$as_me: program exited with status $ac_status" >&5
12553echo "$as_me: failed program was:" >&5
12554sed 's/^/| /' conftest.$ac_ext >&5
12555
12556( exit $ac_status )
12557{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
12558See \`config.log' for more details." >&5
12559echo "$as_me: error: cannot compute sizeof (long long int), 77
12560See \`config.log' for more details." >&2;}
12561 { (exit 1); exit 1; }; }
12562fi
12563rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12564fi
12565fi
12566rm -f conftest.val
12567else
12568 ac_cv_sizeof_long_long_int=0
12569fi
12570fi
12571echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
12572echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
12573cat >>confdefs.h <<_ACEOF
12574@%:@define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
12575_ACEOF
12576
12577
12578
12579# Sanity check long long for some platforms (AIX)
12580if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
12581 ac_cv_sizeof_long_long_int=0
12582fi
12583
12584# More checks for data types
12585echo "$as_me:$LINENO: checking for u_int type" >&5
12586echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
12587if test "${ac_cv_have_u_int+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12589else
12590
12591 cat >conftest.$ac_ext <<_ACEOF
12592#line $LINENO "configure"
12593/* confdefs.h. */
12594_ACEOF
12595cat confdefs.h >>conftest.$ac_ext
12596cat >>conftest.$ac_ext <<_ACEOF
12597/* end confdefs.h. */
12598 #include <sys/types.h>
12599int
12600main ()
12601{
12602 u_int a; a = 1;
12603 ;
12604 return 0;
12605}
12606_ACEOF
12607rm -f conftest.$ac_objext
12608if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>&5
12610 ac_status=$?
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try='test -s conftest.$ac_objext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12616 ac_status=$?
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_have_u_int="yes"
12620else
12621 echo "$as_me: failed program was:" >&5
12622sed 's/^/| /' conftest.$ac_ext >&5
12623
12624 ac_cv_have_u_int="no"
12625
12626fi
12627rm -f conftest.$ac_objext conftest.$ac_ext
12628
12629fi
12630echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
12631echo "${ECHO_T}$ac_cv_have_u_int" >&6
12632if test "x$ac_cv_have_u_int" = "xyes" ; then
12633 cat >>confdefs.h <<\_ACEOF
12634@%:@define HAVE_U_INT 1
12635_ACEOF
12636
12637 have_u_int=1
12638fi
12639
12640echo "$as_me:$LINENO: checking for intXX_t types" >&5
12641echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
12642if test "${ac_cv_have_intxx_t+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12644else
12645
12646 cat >conftest.$ac_ext <<_ACEOF
12647#line $LINENO "configure"
12648/* confdefs.h. */
12649_ACEOF
12650cat confdefs.h >>conftest.$ac_ext
12651cat >>conftest.$ac_ext <<_ACEOF
12652/* end confdefs.h. */
12653 #include <sys/types.h>
12654int
12655main ()
12656{
12657 int8_t a; int16_t b; int32_t c; a = b = c = 1;
12658 ;
12659 return 0;
12660}
12661_ACEOF
12662rm -f conftest.$ac_objext
12663if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12664 (eval $ac_compile) 2>&5
12665 ac_status=$?
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } &&
12668 { ac_try='test -s conftest.$ac_objext'
12669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12670 (eval $ac_try) 2>&5
12671 ac_status=$?
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); }; }; then
12674 ac_cv_have_intxx_t="yes"
12675else
12676 echo "$as_me: failed program was:" >&5
12677sed 's/^/| /' conftest.$ac_ext >&5
12678
12679 ac_cv_have_intxx_t="no"
12680
12681fi
12682rm -f conftest.$ac_objext conftest.$ac_ext
12683
12684fi
12685echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
12686echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
12687if test "x$ac_cv_have_intxx_t" = "xyes" ; then
12688 cat >>confdefs.h <<\_ACEOF
12689@%:@define HAVE_INTXX_T 1
12690_ACEOF
12691
12692 have_intxx_t=1
12693fi
12694
12695if (test -z "$have_intxx_t" && \
12696 test "x$ac_cv_header_stdint_h" = "xyes")
12697then
12698 echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5
12699echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6
12700 cat >conftest.$ac_ext <<_ACEOF
12701#line $LINENO "configure"
12702/* confdefs.h. */
12703_ACEOF
12704cat confdefs.h >>conftest.$ac_ext
12705cat >>conftest.$ac_ext <<_ACEOF
12706/* end confdefs.h. */
12707 #include <stdint.h>
12708int
12709main ()
12710{
12711 int8_t a; int16_t b; int32_t c; a = b = c = 1;
12712 ;
12713 return 0;
12714}
12715_ACEOF
12716rm -f conftest.$ac_objext
12717if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12718 (eval $ac_compile) 2>&5
12719 ac_status=$?
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); } &&
12722 { ac_try='test -s conftest.$ac_objext'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12725 ac_status=$?
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; }; then
12728
12729 cat >>confdefs.h <<\_ACEOF
12730@%:@define HAVE_INTXX_T 1
12731_ACEOF
12732
12733 echo "$as_me:$LINENO: result: yes" >&5
12734echo "${ECHO_T}yes" >&6
12735
12736else
12737 echo "$as_me: failed program was:" >&5
12738sed 's/^/| /' conftest.$ac_ext >&5
12739
12740 echo "$as_me:$LINENO: result: no" >&5
12741echo "${ECHO_T}no" >&6
12742
12743fi
12744rm -f conftest.$ac_objext conftest.$ac_ext
12745fi
12746
12747echo "$as_me:$LINENO: checking for int64_t type" >&5
12748echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
12749if test "${ac_cv_have_int64_t+set}" = set; then
12750 echo $ECHO_N "(cached) $ECHO_C" >&6
12751else
12752
12753 cat >conftest.$ac_ext <<_ACEOF
12754#line $LINENO "configure"
12755/* confdefs.h. */
12756_ACEOF
12757cat confdefs.h >>conftest.$ac_ext
12758cat >>conftest.$ac_ext <<_ACEOF
12759/* end confdefs.h. */
12760
12761#include <sys/types.h>
12762#ifdef HAVE_STDINT_H
12763# include <stdint.h>
12764#endif
12765#include <sys/socket.h>
12766#ifdef HAVE_SYS_BITYPES_H
12767# include <sys/bitypes.h>
12768#endif
12769
12770int
12771main ()
12772{
12773 int64_t a; a = 1;
12774 ;
12775 return 0;
12776}
12777_ACEOF
12778rm -f conftest.$ac_objext
12779if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12780 (eval $ac_compile) 2>&5
12781 ac_status=$?
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } &&
12784 { ac_try='test -s conftest.$ac_objext'
12785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12786 (eval $ac_try) 2>&5
12787 ac_status=$?
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); }; }; then
12790 ac_cv_have_int64_t="yes"
12791else
12792 echo "$as_me: failed program was:" >&5
12793sed 's/^/| /' conftest.$ac_ext >&5
12794
12795 ac_cv_have_int64_t="no"
12796
12797fi
12798rm -f conftest.$ac_objext conftest.$ac_ext
12799
12800fi
12801echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
12802echo "${ECHO_T}$ac_cv_have_int64_t" >&6
12803if test "x$ac_cv_have_int64_t" = "xyes" ; then
12804 cat >>confdefs.h <<\_ACEOF
12805@%:@define HAVE_INT64_T 1
12806_ACEOF
12807
12808fi
12809
12810echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
12811echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
12812if test "${ac_cv_have_u_intxx_t+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12814else
12815
12816 cat >conftest.$ac_ext <<_ACEOF
12817#line $LINENO "configure"
12818/* confdefs.h. */
12819_ACEOF
12820cat confdefs.h >>conftest.$ac_ext
12821cat >>conftest.$ac_ext <<_ACEOF
12822/* end confdefs.h. */
12823 #include <sys/types.h>
12824int
12825main ()
12826{
12827 u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
12828 ;
12829 return 0;
12830}
12831_ACEOF
12832rm -f conftest.$ac_objext
12833if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12834 (eval $ac_compile) 2>&5
12835 ac_status=$?
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } &&
12838 { ac_try='test -s conftest.$ac_objext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12841 ac_status=$?
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12844 ac_cv_have_u_intxx_t="yes"
12845else
12846 echo "$as_me: failed program was:" >&5
12847sed 's/^/| /' conftest.$ac_ext >&5
12848
12849 ac_cv_have_u_intxx_t="no"
12850
12851fi
12852rm -f conftest.$ac_objext conftest.$ac_ext
12853
12854fi
12855echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
12856echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
12857if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
12858 cat >>confdefs.h <<\_ACEOF
12859@%:@define HAVE_U_INTXX_T 1
12860_ACEOF
12861
12862 have_u_intxx_t=1
12863fi
12864
12865if test -z "$have_u_intxx_t" ; then
12866 echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5
12867echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6
12868 cat >conftest.$ac_ext <<_ACEOF
12869#line $LINENO "configure"
12870/* confdefs.h. */
12871_ACEOF
12872cat confdefs.h >>conftest.$ac_ext
12873cat >>conftest.$ac_ext <<_ACEOF
12874/* end confdefs.h. */
12875 #include <sys/socket.h>
12876int
12877main ()
12878{
12879 u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
12880 ;
12881 return 0;
12882}
12883_ACEOF
12884rm -f conftest.$ac_objext
12885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12886 (eval $ac_compile) 2>&5
12887 ac_status=$?
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } &&
12890 { ac_try='test -s conftest.$ac_objext'
12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12892 (eval $ac_try) 2>&5
12893 ac_status=$?
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }; }; then
12896
12897 cat >>confdefs.h <<\_ACEOF
12898@%:@define HAVE_U_INTXX_T 1
12899_ACEOF
12900
12901 echo "$as_me:$LINENO: result: yes" >&5
12902echo "${ECHO_T}yes" >&6
12903
12904else
12905 echo "$as_me: failed program was:" >&5
12906sed 's/^/| /' conftest.$ac_ext >&5
12907
12908 echo "$as_me:$LINENO: result: no" >&5
12909echo "${ECHO_T}no" >&6
12910
12911fi
12912rm -f conftest.$ac_objext conftest.$ac_ext
12913fi
12914
12915echo "$as_me:$LINENO: checking for u_int64_t types" >&5
12916echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
12917if test "${ac_cv_have_u_int64_t+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12919else
12920
12921 cat >conftest.$ac_ext <<_ACEOF
12922#line $LINENO "configure"
12923/* confdefs.h. */
12924_ACEOF
12925cat confdefs.h >>conftest.$ac_ext
12926cat >>conftest.$ac_ext <<_ACEOF
12927/* end confdefs.h. */
12928 #include <sys/types.h>
12929int
12930main ()
12931{
12932 u_int64_t a; a = 1;
12933 ;
12934 return 0;
12935}
12936_ACEOF
12937rm -f conftest.$ac_objext
12938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12939 (eval $ac_compile) 2>&5
12940 ac_status=$?
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); } &&
12943 { ac_try='test -s conftest.$ac_objext'
12944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12945 (eval $ac_try) 2>&5
12946 ac_status=$?
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); }; }; then
12949 ac_cv_have_u_int64_t="yes"
12950else
12951 echo "$as_me: failed program was:" >&5
12952sed 's/^/| /' conftest.$ac_ext >&5
12953
12954 ac_cv_have_u_int64_t="no"
12955
12956fi
12957rm -f conftest.$ac_objext conftest.$ac_ext
12958
12959fi
12960echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
12961echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
12962if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
12963 cat >>confdefs.h <<\_ACEOF
12964@%:@define HAVE_U_INT64_T 1
12965_ACEOF
12966
12967 have_u_int64_t=1
12968fi
12969
12970if test -z "$have_u_int64_t" ; then
12971 echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5
12972echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6
12973 cat >conftest.$ac_ext <<_ACEOF
12974#line $LINENO "configure"
12975/* confdefs.h. */
12976_ACEOF
12977cat confdefs.h >>conftest.$ac_ext
12978cat >>conftest.$ac_ext <<_ACEOF
12979/* end confdefs.h. */
12980 #include <sys/bitypes.h>
12981int
12982main ()
12983{
12984 u_int64_t a; a = 1
12985 ;
12986 return 0;
12987}
12988_ACEOF
12989rm -f conftest.$ac_objext
12990if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12991 (eval $ac_compile) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } &&
12995 { ac_try='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001
13002 cat >>confdefs.h <<\_ACEOF
13003@%:@define HAVE_U_INT64_T 1
13004_ACEOF
13005
13006 echo "$as_me:$LINENO: result: yes" >&5
13007echo "${ECHO_T}yes" >&6
13008
13009else
13010 echo "$as_me: failed program was:" >&5
13011sed 's/^/| /' conftest.$ac_ext >&5
13012
13013 echo "$as_me:$LINENO: result: no" >&5
13014echo "${ECHO_T}no" >&6
13015
13016fi
13017rm -f conftest.$ac_objext conftest.$ac_ext
13018fi
13019
13020if test -z "$have_u_intxx_t" ; then
13021 echo "$as_me:$LINENO: checking for uintXX_t types" >&5
13022echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
13023if test "${ac_cv_have_uintxx_t+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13025else
13026
13027 cat >conftest.$ac_ext <<_ACEOF
13028#line $LINENO "configure"
13029/* confdefs.h. */
13030_ACEOF
13031cat confdefs.h >>conftest.$ac_ext
13032cat >>conftest.$ac_ext <<_ACEOF
13033/* end confdefs.h. */
13034
13035#include <sys/types.h>
13036
13037int
13038main ()
13039{
13040 uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;
13041 ;
13042 return 0;
13043}
13044_ACEOF
13045rm -f conftest.$ac_objext
13046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13047 (eval $ac_compile) 2>&5
13048 ac_status=$?
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try='test -s conftest.$ac_objext'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13054 ac_status=$?
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; }; then
13057 ac_cv_have_uintxx_t="yes"
13058else
13059 echo "$as_me: failed program was:" >&5
13060sed 's/^/| /' conftest.$ac_ext >&5
13061
13062 ac_cv_have_uintxx_t="no"
13063
13064fi
13065rm -f conftest.$ac_objext conftest.$ac_ext
13066
13067fi
13068echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
13069echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
13070 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
13071 cat >>confdefs.h <<\_ACEOF
13072@%:@define HAVE_UINTXX_T 1
13073_ACEOF
13074
13075 fi
13076fi
13077
13078if test -z "$have_uintxx_t" ; then
13079 echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5
13080echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6
13081 cat >conftest.$ac_ext <<_ACEOF
13082#line $LINENO "configure"
13083/* confdefs.h. */
13084_ACEOF
13085cat confdefs.h >>conftest.$ac_ext
13086cat >>conftest.$ac_ext <<_ACEOF
13087/* end confdefs.h. */
13088 #include <stdint.h>
13089int
13090main ()
13091{
13092 uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;
13093 ;
13094 return 0;
13095}
13096_ACEOF
13097rm -f conftest.$ac_objext
13098if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13099 (eval $ac_compile) 2>&5
13100 ac_status=$?
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } &&
13103 { ac_try='test -s conftest.$ac_objext'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13106 ac_status=$?
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; }; then
13109
13110 cat >>confdefs.h <<\_ACEOF
13111@%:@define HAVE_UINTXX_T 1
13112_ACEOF
13113
13114 echo "$as_me:$LINENO: result: yes" >&5
13115echo "${ECHO_T}yes" >&6
13116
13117else
13118 echo "$as_me: failed program was:" >&5
13119sed 's/^/| /' conftest.$ac_ext >&5
13120
13121 echo "$as_me:$LINENO: result: no" >&5
13122echo "${ECHO_T}no" >&6
13123
13124fi
13125rm -f conftest.$ac_objext conftest.$ac_ext
13126fi
13127
13128if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
13129 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
13130then
13131 echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
13132echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
13133 cat >conftest.$ac_ext <<_ACEOF
13134#line $LINENO "configure"
13135/* confdefs.h. */
13136_ACEOF
13137cat confdefs.h >>conftest.$ac_ext
13138cat >>conftest.$ac_ext <<_ACEOF
13139/* end confdefs.h. */
13140
13141#include <sys/bitypes.h>
13142
13143int
13144main ()
13145{
13146
13147 int8_t a; int16_t b; int32_t c;
13148 u_int8_t e; u_int16_t f; u_int32_t g;
13149 a = b = c = e = f = g = 1;
13150
13151 ;
13152 return 0;
13153}
13154_ACEOF
13155rm -f conftest.$ac_objext
13156if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13157 (eval $ac_compile) 2>&5
13158 ac_status=$?
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); } &&
13161 { ac_try='test -s conftest.$ac_objext'
13162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13163 (eval $ac_try) 2>&5
13164 ac_status=$?
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; }; then
13167
13168 cat >>confdefs.h <<\_ACEOF
13169@%:@define HAVE_U_INTXX_T 1
13170_ACEOF
13171
13172 cat >>confdefs.h <<\_ACEOF
13173@%:@define HAVE_INTXX_T 1
13174_ACEOF
13175
13176 echo "$as_me:$LINENO: result: yes" >&5
13177echo "${ECHO_T}yes" >&6
13178
13179else
13180 echo "$as_me: failed program was:" >&5
13181sed 's/^/| /' conftest.$ac_ext >&5
13182
13183echo "$as_me:$LINENO: result: no" >&5
13184echo "${ECHO_T}no" >&6
13185
13186fi
13187rm -f conftest.$ac_objext conftest.$ac_ext
13188fi
13189
13190
13191echo "$as_me:$LINENO: checking for u_char" >&5
13192echo $ECHO_N "checking for u_char... $ECHO_C" >&6
13193if test "${ac_cv_have_u_char+set}" = set; then
13194 echo $ECHO_N "(cached) $ECHO_C" >&6
13195else
13196
13197 cat >conftest.$ac_ext <<_ACEOF
13198#line $LINENO "configure"
13199/* confdefs.h. */
13200_ACEOF
13201cat confdefs.h >>conftest.$ac_ext
13202cat >>conftest.$ac_ext <<_ACEOF
13203/* end confdefs.h. */
13204
13205#include <sys/types.h>
13206
13207int
13208main ()
13209{
13210 u_char foo; foo = 125;
13211 ;
13212 return 0;
13213}
13214_ACEOF
13215rm -f conftest.$ac_objext
13216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13217 (eval $ac_compile) 2>&5
13218 ac_status=$?
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -s conftest.$ac_objext'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; }; then
13227 ac_cv_have_u_char="yes"
13228else
13229 echo "$as_me: failed program was:" >&5
13230sed 's/^/| /' conftest.$ac_ext >&5
13231
13232 ac_cv_have_u_char="no"
13233
13234fi
13235rm -f conftest.$ac_objext conftest.$ac_ext
13236
13237fi
13238echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
13239echo "${ECHO_T}$ac_cv_have_u_char" >&6
13240if test "x$ac_cv_have_u_char" = "xyes" ; then
13241 cat >>confdefs.h <<\_ACEOF
13242@%:@define HAVE_U_CHAR 1
13243_ACEOF
13244
13245fi
13246
13247
13248 echo "$as_me:$LINENO: checking for socklen_t" >&5
13249echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
13250if test "${ac_cv_type_socklen_t+set}" = set; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13252else
13253 cat >conftest.$ac_ext <<_ACEOF
13254#line $LINENO "configure"
13255/* confdefs.h. */
13256_ACEOF
13257cat confdefs.h >>conftest.$ac_ext
13258cat >>conftest.$ac_ext <<_ACEOF
13259/* end confdefs.h. */
13260#include <sys/types.h>
13261#include <sys/socket.h>
13262
13263int
13264main ()
13265{
13266if ((socklen_t *) 0)
13267 return 0;
13268if (sizeof (socklen_t))
13269 return 0;
13270 ;
13271 return 0;
13272}
13273_ACEOF
13274rm -f conftest.$ac_objext
13275if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13276 (eval $ac_compile) 2>&5
13277 ac_status=$?
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } &&
13280 { ac_try='test -s conftest.$ac_objext'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13283 ac_status=$?
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; }; then
13286 ac_cv_type_socklen_t=yes
13287else
13288 echo "$as_me: failed program was:" >&5
13289sed 's/^/| /' conftest.$ac_ext >&5
13290
13291ac_cv_type_socklen_t=no
13292fi
13293rm -f conftest.$ac_objext conftest.$ac_ext
13294fi
13295echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
13296echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
13297if test $ac_cv_type_socklen_t = yes; then
13298 :
13299else
13300
13301 echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
13302echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
13303 if test "${curl_cv_socklen_t_equiv+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13305else
13306
13307 # Systems have either "struct sockaddr *" or
13308 # "void *" as the second argument to getpeername
13309 curl_cv_socklen_t_equiv=
13310 for arg2 in "struct sockaddr" void; do
13311 for t in int size_t unsigned long "unsigned long"; do
13312 cat >conftest.$ac_ext <<_ACEOF
13313#line $LINENO "configure"
13314/* confdefs.h. */
13315_ACEOF
13316cat confdefs.h >>conftest.$ac_ext
13317cat >>conftest.$ac_ext <<_ACEOF
13318/* end confdefs.h. */
13319
13320 #include <sys/types.h>
13321 #include <sys/socket.h>
13322
13323 int getpeername (int, $arg2 *, $t *);
13324
13325int
13326main ()
13327{
13328
13329 $t len;
13330 getpeername(0,0,&len);
13331
13332 ;
13333 return 0;
13334}
13335_ACEOF
13336rm -f conftest.$ac_objext
13337if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13338 (eval $ac_compile) 2>&5
13339 ac_status=$?
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } &&
13342 { ac_try='test -s conftest.$ac_objext'
13343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13344 (eval $ac_try) 2>&5
13345 ac_status=$?
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); }; }; then
13348
13349 curl_cv_socklen_t_equiv="$t"
13350 break
13351
13352else
13353 echo "$as_me: failed program was:" >&5
13354sed 's/^/| /' conftest.$ac_ext >&5
13355
13356fi
13357rm -f conftest.$ac_objext conftest.$ac_ext
13358 done
13359 done
13360
13361 if test "x$curl_cv_socklen_t_equiv" = x; then
13362 { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
13363echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
13364 { (exit 1); exit 1; }; }
13365 fi
13366
13367fi
13368
13369 echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
13370echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
13371
13372cat >>confdefs.h <<_ACEOF
13373@%:@define socklen_t $curl_cv_socklen_t_equiv
13374_ACEOF
13375
13376fi
13377
13378
13379
13380echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
13381echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
13382if test "${ac_cv_type_sig_atomic_t+set}" = set; then
13383 echo $ECHO_N "(cached) $ECHO_C" >&6
13384else
13385 cat >conftest.$ac_ext <<_ACEOF
13386#line $LINENO "configure"
13387/* confdefs.h. */
13388_ACEOF
13389cat confdefs.h >>conftest.$ac_ext
13390cat >>conftest.$ac_ext <<_ACEOF
13391/* end confdefs.h. */
13392#include <signal.h>
13393
13394int
13395main ()
13396{
13397if ((sig_atomic_t *) 0)
13398 return 0;
13399if (sizeof (sig_atomic_t))
13400 return 0;
13401 ;
13402 return 0;
13403}
13404_ACEOF
13405rm -f conftest.$ac_objext
13406if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13407 (eval $ac_compile) 2>&5
13408 ac_status=$?
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } &&
13411 { ac_try='test -s conftest.$ac_objext'
13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 (eval $ac_try) 2>&5
13414 ac_status=$?
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); }; }; then
13417 ac_cv_type_sig_atomic_t=yes
13418else
13419 echo "$as_me: failed program was:" >&5
13420sed 's/^/| /' conftest.$ac_ext >&5
13421
13422ac_cv_type_sig_atomic_t=no
13423fi
13424rm -f conftest.$ac_objext conftest.$ac_ext
13425fi
13426echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
13427echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
13428if test $ac_cv_type_sig_atomic_t = yes; then
13429
13430cat >>confdefs.h <<_ACEOF
13431@%:@define HAVE_SIG_ATOMIC_T 1
13432_ACEOF
13433
13434
13435fi
13436
13437
13438echo "$as_me:$LINENO: checking for size_t" >&5
13439echo $ECHO_N "checking for size_t... $ECHO_C" >&6
13440if test "${ac_cv_have_size_t+set}" = set; then
13441 echo $ECHO_N "(cached) $ECHO_C" >&6
13442else
13443
13444 cat >conftest.$ac_ext <<_ACEOF
13445#line $LINENO "configure"
13446/* confdefs.h. */
13447_ACEOF
13448cat confdefs.h >>conftest.$ac_ext
13449cat >>conftest.$ac_ext <<_ACEOF
13450/* end confdefs.h. */
13451
13452#include <sys/types.h>
13453
13454int
13455main ()
13456{
13457 size_t foo; foo = 1235;
13458 ;
13459 return 0;
13460}
13461_ACEOF
13462rm -f conftest.$ac_objext
13463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>&5
13465 ac_status=$?
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try='test -s conftest.$ac_objext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13471 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13474 ac_cv_have_size_t="yes"
13475else
13476 echo "$as_me: failed program was:" >&5
13477sed 's/^/| /' conftest.$ac_ext >&5
13478
13479 ac_cv_have_size_t="no"
13480
13481fi
13482rm -f conftest.$ac_objext conftest.$ac_ext
13483
13484fi
13485echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
13486echo "${ECHO_T}$ac_cv_have_size_t" >&6
13487if test "x$ac_cv_have_size_t" = "xyes" ; then
13488 cat >>confdefs.h <<\_ACEOF
13489@%:@define HAVE_SIZE_T 1
13490_ACEOF
13491
13492fi
13493
13494echo "$as_me:$LINENO: checking for ssize_t" >&5
13495echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
13496if test "${ac_cv_have_ssize_t+set}" = set; then
13497 echo $ECHO_N "(cached) $ECHO_C" >&6
13498else
13499
13500 cat >conftest.$ac_ext <<_ACEOF
13501#line $LINENO "configure"
13502/* confdefs.h. */
13503_ACEOF
13504cat confdefs.h >>conftest.$ac_ext
13505cat >>conftest.$ac_ext <<_ACEOF
13506/* end confdefs.h. */
13507
13508#include <sys/types.h>
13509
13510int
13511main ()
13512{
13513 ssize_t foo; foo = 1235;
13514 ;
13515 return 0;
13516}
13517_ACEOF
13518rm -f conftest.$ac_objext
13519if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13520 (eval $ac_compile) 2>&5
13521 ac_status=$?
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } &&
13524 { ac_try='test -s conftest.$ac_objext'
13525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13526 (eval $ac_try) 2>&5
13527 ac_status=$?
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); }; }; then
13530 ac_cv_have_ssize_t="yes"
13531else
13532 echo "$as_me: failed program was:" >&5
13533sed 's/^/| /' conftest.$ac_ext >&5
13534
13535 ac_cv_have_ssize_t="no"
13536
13537fi
13538rm -f conftest.$ac_objext conftest.$ac_ext
13539
13540fi
13541echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
13542echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
13543if test "x$ac_cv_have_ssize_t" = "xyes" ; then
13544 cat >>confdefs.h <<\_ACEOF
13545@%:@define HAVE_SSIZE_T 1
13546_ACEOF
13547
13548fi
13549
13550echo "$as_me:$LINENO: checking for clock_t" >&5
13551echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
13552if test "${ac_cv_have_clock_t+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13554else
13555
13556 cat >conftest.$ac_ext <<_ACEOF
13557#line $LINENO "configure"
13558/* confdefs.h. */
13559_ACEOF
13560cat confdefs.h >>conftest.$ac_ext
13561cat >>conftest.$ac_ext <<_ACEOF
13562/* end confdefs.h. */
13563
13564#include <time.h>
13565
13566int
13567main ()
13568{
13569 clock_t foo; foo = 1235;
13570 ;
13571 return 0;
13572}
13573_ACEOF
13574rm -f conftest.$ac_objext
13575if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13576 (eval $ac_compile) 2>&5
13577 ac_status=$?
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); } &&
13580 { ac_try='test -s conftest.$ac_objext'
13581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582 (eval $ac_try) 2>&5
13583 ac_status=$?
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }; }; then
13586 ac_cv_have_clock_t="yes"
13587else
13588 echo "$as_me: failed program was:" >&5
13589sed 's/^/| /' conftest.$ac_ext >&5
13590
13591 ac_cv_have_clock_t="no"
13592
13593fi
13594rm -f conftest.$ac_objext conftest.$ac_ext
13595
13596fi
13597echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
13598echo "${ECHO_T}$ac_cv_have_clock_t" >&6
13599if test "x$ac_cv_have_clock_t" = "xyes" ; then
13600 cat >>confdefs.h <<\_ACEOF
13601@%:@define HAVE_CLOCK_T 1
13602_ACEOF
13603
13604fi
13605
13606echo "$as_me:$LINENO: checking for sa_family_t" >&5
13607echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
13608if test "${ac_cv_have_sa_family_t+set}" = set; then
13609 echo $ECHO_N "(cached) $ECHO_C" >&6
13610else
13611
13612 cat >conftest.$ac_ext <<_ACEOF
13613#line $LINENO "configure"
13614/* confdefs.h. */
13615_ACEOF
13616cat confdefs.h >>conftest.$ac_ext
13617cat >>conftest.$ac_ext <<_ACEOF
13618/* end confdefs.h. */
13619
13620#include <sys/types.h>
13621#include <sys/socket.h>
13622
13623int
13624main ()
13625{
13626 sa_family_t foo; foo = 1235;
13627 ;
13628 return 0;
13629}
13630_ACEOF
13631rm -f conftest.$ac_objext
13632if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13633 (eval $ac_compile) 2>&5
13634 ac_status=$?
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); } &&
13637 { ac_try='test -s conftest.$ac_objext'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13640 ac_status=$?
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; }; then
13643 ac_cv_have_sa_family_t="yes"
13644else
13645 echo "$as_me: failed program was:" >&5
13646sed 's/^/| /' conftest.$ac_ext >&5
13647
13648 cat >conftest.$ac_ext <<_ACEOF
13649#line $LINENO "configure"
13650/* confdefs.h. */
13651_ACEOF
13652cat confdefs.h >>conftest.$ac_ext
13653cat >>conftest.$ac_ext <<_ACEOF
13654/* end confdefs.h. */
13655
13656#include <sys/types.h>
13657#include <sys/socket.h>
13658#include <netinet/in.h>
13659
13660int
13661main ()
13662{
13663 sa_family_t foo; foo = 1235;
13664 ;
13665 return 0;
13666}
13667_ACEOF
13668rm -f conftest.$ac_objext
13669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>&5
13671 ac_status=$?
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } &&
13674 { ac_try='test -s conftest.$ac_objext'
13675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13676 (eval $ac_try) 2>&5
13677 ac_status=$?
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); }; }; then
13680 ac_cv_have_sa_family_t="yes"
13681else
13682 echo "$as_me: failed program was:" >&5
13683sed 's/^/| /' conftest.$ac_ext >&5
13684
13685 ac_cv_have_sa_family_t="no"
13686
13687fi
13688rm -f conftest.$ac_objext conftest.$ac_ext
13689
13690fi
13691rm -f conftest.$ac_objext conftest.$ac_ext
13692
13693fi
13694echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
13695echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
13696if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
13697 cat >>confdefs.h <<\_ACEOF
13698@%:@define HAVE_SA_FAMILY_T 1
13699_ACEOF
13700
13701fi
13702
13703echo "$as_me:$LINENO: checking for pid_t" >&5
13704echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
13705if test "${ac_cv_have_pid_t+set}" = set; then
13706 echo $ECHO_N "(cached) $ECHO_C" >&6
13707else
13708
13709 cat >conftest.$ac_ext <<_ACEOF
13710#line $LINENO "configure"
13711/* confdefs.h. */
13712_ACEOF
13713cat confdefs.h >>conftest.$ac_ext
13714cat >>conftest.$ac_ext <<_ACEOF
13715/* end confdefs.h. */
13716
13717#include <sys/types.h>
13718
13719int
13720main ()
13721{
13722 pid_t foo; foo = 1235;
13723 ;
13724 return 0;
13725}
13726_ACEOF
13727rm -f conftest.$ac_objext
13728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13729 (eval $ac_compile) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); } &&
13733 { ac_try='test -s conftest.$ac_objext'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; }; then
13739 ac_cv_have_pid_t="yes"
13740else
13741 echo "$as_me: failed program was:" >&5
13742sed 's/^/| /' conftest.$ac_ext >&5
13743
13744 ac_cv_have_pid_t="no"
13745
13746fi
13747rm -f conftest.$ac_objext conftest.$ac_ext
13748
13749fi
13750echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
13751echo "${ECHO_T}$ac_cv_have_pid_t" >&6
13752if test "x$ac_cv_have_pid_t" = "xyes" ; then
13753 cat >>confdefs.h <<\_ACEOF
13754@%:@define HAVE_PID_T 1
13755_ACEOF
13756
13757fi
13758
13759echo "$as_me:$LINENO: checking for mode_t" >&5
13760echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
13761if test "${ac_cv_have_mode_t+set}" = set; then
13762 echo $ECHO_N "(cached) $ECHO_C" >&6
13763else
13764
13765 cat >conftest.$ac_ext <<_ACEOF
13766#line $LINENO "configure"
13767/* confdefs.h. */
13768_ACEOF
13769cat confdefs.h >>conftest.$ac_ext
13770cat >>conftest.$ac_ext <<_ACEOF
13771/* end confdefs.h. */
13772
13773#include <sys/types.h>
13774
13775int
13776main ()
13777{
13778 mode_t foo; foo = 1235;
13779 ;
13780 return 0;
13781}
13782_ACEOF
13783rm -f conftest.$ac_objext
13784if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13785 (eval $ac_compile) 2>&5
13786 ac_status=$?
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); } &&
13789 { ac_try='test -s conftest.$ac_objext'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13792 ac_status=$?
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; }; then
13795 ac_cv_have_mode_t="yes"
13796else
13797 echo "$as_me: failed program was:" >&5
13798sed 's/^/| /' conftest.$ac_ext >&5
13799
13800 ac_cv_have_mode_t="no"
13801
13802fi
13803rm -f conftest.$ac_objext conftest.$ac_ext
13804
13805fi
13806echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
13807echo "${ECHO_T}$ac_cv_have_mode_t" >&6
13808if test "x$ac_cv_have_mode_t" = "xyes" ; then
13809 cat >>confdefs.h <<\_ACEOF
13810@%:@define HAVE_MODE_T 1
13811_ACEOF
13812
13813fi
13814
13815
13816echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
13817echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
13818if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
13819 echo $ECHO_N "(cached) $ECHO_C" >&6
13820else
13821
13822 cat >conftest.$ac_ext <<_ACEOF
13823#line $LINENO "configure"
13824/* confdefs.h. */
13825_ACEOF
13826cat confdefs.h >>conftest.$ac_ext
13827cat >>conftest.$ac_ext <<_ACEOF
13828/* end confdefs.h. */
13829
13830#include <sys/types.h>
13831#include <sys/socket.h>
13832
13833int
13834main ()
13835{
13836 struct sockaddr_storage s;
13837 ;
13838 return 0;
13839}
13840_ACEOF
13841rm -f conftest.$ac_objext
13842if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13843 (eval $ac_compile) 2>&5
13844 ac_status=$?
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } &&
13847 { ac_try='test -s conftest.$ac_objext'
13848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13849 (eval $ac_try) 2>&5
13850 ac_status=$?
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }; }; then
13853 ac_cv_have_struct_sockaddr_storage="yes"
13854else
13855 echo "$as_me: failed program was:" >&5
13856sed 's/^/| /' conftest.$ac_ext >&5
13857
13858 ac_cv_have_struct_sockaddr_storage="no"
13859
13860fi
13861rm -f conftest.$ac_objext conftest.$ac_ext
13862
13863fi
13864echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
13865echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
13866if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
13867 cat >>confdefs.h <<\_ACEOF
13868@%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1
13869_ACEOF
13870
13871fi
13872
13873echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
13874echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
13875if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
13876 echo $ECHO_N "(cached) $ECHO_C" >&6
13877else
13878
13879 cat >conftest.$ac_ext <<_ACEOF
13880#line $LINENO "configure"
13881/* confdefs.h. */
13882_ACEOF
13883cat confdefs.h >>conftest.$ac_ext
13884cat >>conftest.$ac_ext <<_ACEOF
13885/* end confdefs.h. */
13886
13887#include <sys/types.h>
13888#include <netinet/in.h>
13889
13890int
13891main ()
13892{
13893 struct sockaddr_in6 s; s.sin6_family = 0;
13894 ;
13895 return 0;
13896}
13897_ACEOF
13898rm -f conftest.$ac_objext
13899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13900 (eval $ac_compile) 2>&5
13901 ac_status=$?
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } &&
13904 { ac_try='test -s conftest.$ac_objext'
13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906 (eval $ac_try) 2>&5
13907 ac_status=$?
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); }; }; then
13910 ac_cv_have_struct_sockaddr_in6="yes"
13911else
13912 echo "$as_me: failed program was:" >&5
13913sed 's/^/| /' conftest.$ac_ext >&5
13914
13915 ac_cv_have_struct_sockaddr_in6="no"
13916
13917fi
13918rm -f conftest.$ac_objext conftest.$ac_ext
13919
13920fi
13921echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
13922echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
13923if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
13924 cat >>confdefs.h <<\_ACEOF
13925@%:@define HAVE_STRUCT_SOCKADDR_IN6 1
13926_ACEOF
13927
13928fi
13929
13930echo "$as_me:$LINENO: checking for struct in6_addr" >&5
13931echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
13932if test "${ac_cv_have_struct_in6_addr+set}" = set; then
13933 echo $ECHO_N "(cached) $ECHO_C" >&6
13934else
13935
13936 cat >conftest.$ac_ext <<_ACEOF
13937#line $LINENO "configure"
13938/* confdefs.h. */
13939_ACEOF
13940cat confdefs.h >>conftest.$ac_ext
13941cat >>conftest.$ac_ext <<_ACEOF
13942/* end confdefs.h. */
13943
13944#include <sys/types.h>
13945#include <netinet/in.h>
13946
13947int
13948main ()
13949{
13950 struct in6_addr s; s.s6_addr[0] = 0;
13951 ;
13952 return 0;
13953}
13954_ACEOF
13955rm -f conftest.$ac_objext
13956if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13957 (eval $ac_compile) 2>&5
13958 ac_status=$?
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } &&
13961 { ac_try='test -s conftest.$ac_objext'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13964 ac_status=$?
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; }; then
13967 ac_cv_have_struct_in6_addr="yes"
13968else
13969 echo "$as_me: failed program was:" >&5
13970sed 's/^/| /' conftest.$ac_ext >&5
13971
13972 ac_cv_have_struct_in6_addr="no"
13973
13974fi
13975rm -f conftest.$ac_objext conftest.$ac_ext
13976
13977fi
13978echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
13979echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
13980if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
13981 cat >>confdefs.h <<\_ACEOF
13982@%:@define HAVE_STRUCT_IN6_ADDR 1
13983_ACEOF
13984
13985fi
13986
13987echo "$as_me:$LINENO: checking for struct addrinfo" >&5
13988echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
13989if test "${ac_cv_have_struct_addrinfo+set}" = set; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13991else
13992
13993 cat >conftest.$ac_ext <<_ACEOF
13994#line $LINENO "configure"
13995/* confdefs.h. */
13996_ACEOF
13997cat confdefs.h >>conftest.$ac_ext
13998cat >>conftest.$ac_ext <<_ACEOF
13999/* end confdefs.h. */
14000
14001#include <sys/types.h>
14002#include <sys/socket.h>
14003#include <netdb.h>
14004
14005int
14006main ()
14007{
14008 struct addrinfo s; s.ai_flags = AI_PASSIVE;
14009 ;
14010 return 0;
14011}
14012_ACEOF
14013rm -f conftest.$ac_objext
14014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14015 (eval $ac_compile) 2>&5
14016 ac_status=$?
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } &&
14019 { ac_try='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 ac_cv_have_struct_addrinfo="yes"
14026else
14027 echo "$as_me: failed program was:" >&5
14028sed 's/^/| /' conftest.$ac_ext >&5
14029
14030 ac_cv_have_struct_addrinfo="no"
14031
14032fi
14033rm -f conftest.$ac_objext conftest.$ac_ext
14034
14035fi
14036echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
14037echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
14038if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
14039 cat >>confdefs.h <<\_ACEOF
14040@%:@define HAVE_STRUCT_ADDRINFO 1
14041_ACEOF
14042
14043fi
14044
14045echo "$as_me:$LINENO: checking for struct timeval" >&5
14046echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
14047if test "${ac_cv_have_struct_timeval+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14049else
14050
14051 cat >conftest.$ac_ext <<_ACEOF
14052#line $LINENO "configure"
14053/* confdefs.h. */
14054_ACEOF
14055cat confdefs.h >>conftest.$ac_ext
14056cat >>conftest.$ac_ext <<_ACEOF
14057/* end confdefs.h. */
14058 #include <sys/time.h>
14059int
14060main ()
14061{
14062 struct timeval tv; tv.tv_sec = 1;
14063 ;
14064 return 0;
14065}
14066_ACEOF
14067rm -f conftest.$ac_objext
14068if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14069 (eval $ac_compile) 2>&5
14070 ac_status=$?
14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14072 (exit $ac_status); } &&
14073 { ac_try='test -s conftest.$ac_objext'
14074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14075 (eval $ac_try) 2>&5
14076 ac_status=$?
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }; }; then
14079 ac_cv_have_struct_timeval="yes"
14080else
14081 echo "$as_me: failed program was:" >&5
14082sed 's/^/| /' conftest.$ac_ext >&5
14083
14084 ac_cv_have_struct_timeval="no"
14085
14086fi
14087rm -f conftest.$ac_objext conftest.$ac_ext
14088
14089fi
14090echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
14091echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
14092if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
14093 cat >>confdefs.h <<\_ACEOF
14094@%:@define HAVE_STRUCT_TIMEVAL 1
14095_ACEOF
14096
14097 have_struct_timeval=1
14098fi
14099
14100echo "$as_me:$LINENO: checking for struct timespec" >&5
14101echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
14102if test "${ac_cv_type_struct_timespec+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14104else
14105 cat >conftest.$ac_ext <<_ACEOF
14106#line $LINENO "configure"
14107/* confdefs.h. */
14108_ACEOF
14109cat confdefs.h >>conftest.$ac_ext
14110cat >>conftest.$ac_ext <<_ACEOF
14111/* end confdefs.h. */
14112$ac_includes_default
14113int
14114main ()
14115{
14116if ((struct timespec *) 0)
14117 return 0;
14118if (sizeof (struct timespec))
14119 return 0;
14120 ;
14121 return 0;
14122}
14123_ACEOF
14124rm -f conftest.$ac_objext
14125if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14126 (eval $ac_compile) 2>&5
14127 ac_status=$?
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); } &&
14130 { ac_try='test -s conftest.$ac_objext'
14131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14132 (eval $ac_try) 2>&5
14133 ac_status=$?
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); }; }; then
14136 ac_cv_type_struct_timespec=yes
14137else
14138 echo "$as_me: failed program was:" >&5
14139sed 's/^/| /' conftest.$ac_ext >&5
14140
14141ac_cv_type_struct_timespec=no
14142fi
14143rm -f conftest.$ac_objext conftest.$ac_ext
14144fi
14145echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
14146echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
14147if test $ac_cv_type_struct_timespec = yes; then
14148
14149cat >>confdefs.h <<_ACEOF
14150@%:@define HAVE_STRUCT_TIMESPEC 1
14151_ACEOF
14152
14153
14154fi
14155
14156
14157# We need int64_t or else certian parts of the compile will fail.
14158if test "x$ac_cv_have_int64_t" = "xno" -a \
14159 "x$ac_cv_sizeof_long_int" != "x8" -a \
14160 "x$ac_cv_sizeof_long_long_int" = "x0" ; then
14161 echo "OpenSSH requires int64_t support. Contact your vendor or install"
14162 echo "an alternative compiler (I.E., GCC) before continuing."
14163 echo ""
14164 exit 1;
14165else
14166 if test "$cross_compiling" = yes; then
14167 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14168See \`config.log' for more details." >&5
14169echo "$as_me: error: cannot run test program while cross compiling
14170See \`config.log' for more details." >&2;}
14171 { (exit 1); exit 1; }; }
14172else
14173 cat >conftest.$ac_ext <<_ACEOF
14174#line $LINENO "configure"
14175/* confdefs.h. */
14176_ACEOF
14177cat confdefs.h >>conftest.$ac_ext
14178cat >>conftest.$ac_ext <<_ACEOF
14179/* end confdefs.h. */
14180
14181#include <stdio.h>
14182#include <string.h>
14183#ifdef HAVE_SNPRINTF
14184main()
14185{
14186 char buf[50];
14187 char expected_out[50];
14188 int mazsize = 50 ;
14189#if (SIZEOF_LONG_INT == 8)
14190 long int num = 0x7fffffffffffffff;
14191#else
14192 long long num = 0x7fffffffffffffffll;
14193#endif
14194 strcpy(expected_out, "9223372036854775807");
14195 snprintf(buf, mazsize, "%lld", num);
14196 if(strcmp(buf, expected_out) != 0)
14197 exit(1);
14198 exit(0);
14199}
14200#else
14201main() { exit(0); }
14202#endif
14203
14204_ACEOF
14205rm -f conftest$ac_exeext
14206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14207 (eval $ac_link) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212 (eval $ac_try) 2>&5
14213 ac_status=$?
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }; }; then
14216 true
14217else
14218 echo "$as_me: program exited with status $ac_status" >&5
14219echo "$as_me: failed program was:" >&5
14220sed 's/^/| /' conftest.$ac_ext >&5
14221
14222( exit $ac_status )
14223 cat >>confdefs.h <<\_ACEOF
14224@%:@define BROKEN_SNPRINTF 1
14225_ACEOF
14226
14227
14228fi
14229rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14230fi
14231fi
14232
14233
14234# look for field 'ut_host' in header 'utmp.h'
14235 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14236 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
14237 echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5
14238echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6
14239 if eval "test \"\${$ossh_varname+set}\" = set"; then
14240 echo $ECHO_N "(cached) $ECHO_C" >&6
14241else
14242
14243 cat >conftest.$ac_ext <<_ACEOF
14244#line $LINENO "configure"
14245/* confdefs.h. */
14246_ACEOF
14247cat confdefs.h >>conftest.$ac_ext
14248cat >>conftest.$ac_ext <<_ACEOF
14249/* end confdefs.h. */
14250#include <utmp.h>
14251
14252_ACEOF
14253if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14254 $EGREP "ut_host" >/dev/null 2>&1; then
14255 eval "$ossh_varname=yes"
14256else
14257 eval "$ossh_varname=no"
14258fi
14259rm -f conftest*
14260
14261fi
14262
14263 ossh_result=`eval 'echo $'"$ossh_varname"`
14264 if test -n "`echo $ossh_varname`"; then
14265 echo "$as_me:$LINENO: result: $ossh_result" >&5
14266echo "${ECHO_T}$ossh_result" >&6
14267 if test "x$ossh_result" = "xyes"; then
14268 cat >>confdefs.h <<\_ACEOF
14269@%:@define HAVE_HOST_IN_UTMP 1
14270_ACEOF
14271
14272 fi
14273 else
14274 echo "$as_me:$LINENO: result: no" >&5
14275echo "${ECHO_T}no" >&6
14276 fi
14277
14278
14279# look for field 'ut_host' in header 'utmpx.h'
14280 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14281 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
14282 echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5
14283echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6
14284 if eval "test \"\${$ossh_varname+set}\" = set"; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14286else
14287
14288 cat >conftest.$ac_ext <<_ACEOF
14289#line $LINENO "configure"
14290/* confdefs.h. */
14291_ACEOF
14292cat confdefs.h >>conftest.$ac_ext
14293cat >>conftest.$ac_ext <<_ACEOF
14294/* end confdefs.h. */
14295#include <utmpx.h>
14296
14297_ACEOF
14298if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14299 $EGREP "ut_host" >/dev/null 2>&1; then
14300 eval "$ossh_varname=yes"
14301else
14302 eval "$ossh_varname=no"
14303fi
14304rm -f conftest*
14305
14306fi
14307
14308 ossh_result=`eval 'echo $'"$ossh_varname"`
14309 if test -n "`echo $ossh_varname`"; then
14310 echo "$as_me:$LINENO: result: $ossh_result" >&5
14311echo "${ECHO_T}$ossh_result" >&6
14312 if test "x$ossh_result" = "xyes"; then
14313 cat >>confdefs.h <<\_ACEOF
14314@%:@define HAVE_HOST_IN_UTMPX 1
14315_ACEOF
14316
14317 fi
14318 else
14319 echo "$as_me:$LINENO: result: no" >&5
14320echo "${ECHO_T}no" >&6
14321 fi
14322
14323
14324# look for field 'syslen' in header 'utmpx.h'
14325 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14326 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
14327 echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5
14328echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6
14329 if eval "test \"\${$ossh_varname+set}\" = set"; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14331else
14332
14333 cat >conftest.$ac_ext <<_ACEOF
14334#line $LINENO "configure"
14335/* confdefs.h. */
14336_ACEOF
14337cat confdefs.h >>conftest.$ac_ext
14338cat >>conftest.$ac_ext <<_ACEOF
14339/* end confdefs.h. */
14340#include <utmpx.h>
14341
14342_ACEOF
14343if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14344 $EGREP "syslen" >/dev/null 2>&1; then
14345 eval "$ossh_varname=yes"
14346else
14347 eval "$ossh_varname=no"
14348fi
14349rm -f conftest*
14350
14351fi
14352
14353 ossh_result=`eval 'echo $'"$ossh_varname"`
14354 if test -n "`echo $ossh_varname`"; then
14355 echo "$as_me:$LINENO: result: $ossh_result" >&5
14356echo "${ECHO_T}$ossh_result" >&6
14357 if test "x$ossh_result" = "xyes"; then
14358 cat >>confdefs.h <<\_ACEOF
14359@%:@define HAVE_SYSLEN_IN_UTMPX 1
14360_ACEOF
14361
14362 fi
14363 else
14364 echo "$as_me:$LINENO: result: no" >&5
14365echo "${ECHO_T}no" >&6
14366 fi
14367
14368
14369# look for field 'ut_pid' in header 'utmp.h'
14370 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14371 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
14372 echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5
14373echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6
14374 if eval "test \"\${$ossh_varname+set}\" = set"; then
14375 echo $ECHO_N "(cached) $ECHO_C" >&6
14376else
14377
14378 cat >conftest.$ac_ext <<_ACEOF
14379#line $LINENO "configure"
14380/* confdefs.h. */
14381_ACEOF
14382cat confdefs.h >>conftest.$ac_ext
14383cat >>conftest.$ac_ext <<_ACEOF
14384/* end confdefs.h. */
14385#include <utmp.h>
14386
14387_ACEOF
14388if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14389 $EGREP "ut_pid" >/dev/null 2>&1; then
14390 eval "$ossh_varname=yes"
14391else
14392 eval "$ossh_varname=no"
14393fi
14394rm -f conftest*
14395
14396fi
14397
14398 ossh_result=`eval 'echo $'"$ossh_varname"`
14399 if test -n "`echo $ossh_varname`"; then
14400 echo "$as_me:$LINENO: result: $ossh_result" >&5
14401echo "${ECHO_T}$ossh_result" >&6
14402 if test "x$ossh_result" = "xyes"; then
14403 cat >>confdefs.h <<\_ACEOF
14404@%:@define HAVE_PID_IN_UTMP 1
14405_ACEOF
14406
14407 fi
14408 else
14409 echo "$as_me:$LINENO: result: no" >&5
14410echo "${ECHO_T}no" >&6
14411 fi
14412
14413
14414# look for field 'ut_type' in header 'utmp.h'
14415 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14416 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
14417 echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
14418echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6
14419 if eval "test \"\${$ossh_varname+set}\" = set"; then
14420 echo $ECHO_N "(cached) $ECHO_C" >&6
14421else
14422
14423 cat >conftest.$ac_ext <<_ACEOF
14424#line $LINENO "configure"
14425/* confdefs.h. */
14426_ACEOF
14427cat confdefs.h >>conftest.$ac_ext
14428cat >>conftest.$ac_ext <<_ACEOF
14429/* end confdefs.h. */
14430#include <utmp.h>
14431
14432_ACEOF
14433if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14434 $EGREP "ut_type" >/dev/null 2>&1; then
14435 eval "$ossh_varname=yes"
14436else
14437 eval "$ossh_varname=no"
14438fi
14439rm -f conftest*
14440
14441fi
14442
14443 ossh_result=`eval 'echo $'"$ossh_varname"`
14444 if test -n "`echo $ossh_varname`"; then
14445 echo "$as_me:$LINENO: result: $ossh_result" >&5
14446echo "${ECHO_T}$ossh_result" >&6
14447 if test "x$ossh_result" = "xyes"; then
14448 cat >>confdefs.h <<\_ACEOF
14449@%:@define HAVE_TYPE_IN_UTMP 1
14450_ACEOF
14451
14452 fi
14453 else
14454 echo "$as_me:$LINENO: result: no" >&5
14455echo "${ECHO_T}no" >&6
14456 fi
14457
14458
14459# look for field 'ut_type' in header 'utmpx.h'
14460 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14461 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
14462 echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
14463echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6
14464 if eval "test \"\${$ossh_varname+set}\" = set"; then
14465 echo $ECHO_N "(cached) $ECHO_C" >&6
14466else
14467
14468 cat >conftest.$ac_ext <<_ACEOF
14469#line $LINENO "configure"
14470/* confdefs.h. */
14471_ACEOF
14472cat confdefs.h >>conftest.$ac_ext
14473cat >>conftest.$ac_ext <<_ACEOF
14474/* end confdefs.h. */
14475#include <utmpx.h>
14476
14477_ACEOF
14478if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14479 $EGREP "ut_type" >/dev/null 2>&1; then
14480 eval "$ossh_varname=yes"
14481else
14482 eval "$ossh_varname=no"
14483fi
14484rm -f conftest*
14485
14486fi
14487
14488 ossh_result=`eval 'echo $'"$ossh_varname"`
14489 if test -n "`echo $ossh_varname`"; then
14490 echo "$as_me:$LINENO: result: $ossh_result" >&5
14491echo "${ECHO_T}$ossh_result" >&6
14492 if test "x$ossh_result" = "xyes"; then
14493 cat >>confdefs.h <<\_ACEOF
14494@%:@define HAVE_TYPE_IN_UTMPX 1
14495_ACEOF
14496
14497 fi
14498 else
14499 echo "$as_me:$LINENO: result: no" >&5
14500echo "${ECHO_T}no" >&6
14501 fi
14502
14503
14504# look for field 'ut_tv' in header 'utmp.h'
14505 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14506 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
14507 echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5
14508echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6
14509 if eval "test \"\${$ossh_varname+set}\" = set"; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14511else
14512
14513 cat >conftest.$ac_ext <<_ACEOF
14514#line $LINENO "configure"
14515/* confdefs.h. */
14516_ACEOF
14517cat confdefs.h >>conftest.$ac_ext
14518cat >>conftest.$ac_ext <<_ACEOF
14519/* end confdefs.h. */
14520#include <utmp.h>
14521
14522_ACEOF
14523if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14524 $EGREP "ut_tv" >/dev/null 2>&1; then
14525 eval "$ossh_varname=yes"
14526else
14527 eval "$ossh_varname=no"
14528fi
14529rm -f conftest*
14530
14531fi
14532
14533 ossh_result=`eval 'echo $'"$ossh_varname"`
14534 if test -n "`echo $ossh_varname`"; then
14535 echo "$as_me:$LINENO: result: $ossh_result" >&5
14536echo "${ECHO_T}$ossh_result" >&6
14537 if test "x$ossh_result" = "xyes"; then
14538 cat >>confdefs.h <<\_ACEOF
14539@%:@define HAVE_TV_IN_UTMP 1
14540_ACEOF
14541
14542 fi
14543 else
14544 echo "$as_me:$LINENO: result: no" >&5
14545echo "${ECHO_T}no" >&6
14546 fi
14547
14548
14549# look for field 'ut_id' in header 'utmp.h'
14550 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14551 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
14552 echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5
14553echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6
14554 if eval "test \"\${$ossh_varname+set}\" = set"; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14556else
14557
14558 cat >conftest.$ac_ext <<_ACEOF
14559#line $LINENO "configure"
14560/* confdefs.h. */
14561_ACEOF
14562cat confdefs.h >>conftest.$ac_ext
14563cat >>conftest.$ac_ext <<_ACEOF
14564/* end confdefs.h. */
14565#include <utmp.h>
14566
14567_ACEOF
14568if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14569 $EGREP "ut_id" >/dev/null 2>&1; then
14570 eval "$ossh_varname=yes"
14571else
14572 eval "$ossh_varname=no"
14573fi
14574rm -f conftest*
14575
14576fi
14577
14578 ossh_result=`eval 'echo $'"$ossh_varname"`
14579 if test -n "`echo $ossh_varname`"; then
14580 echo "$as_me:$LINENO: result: $ossh_result" >&5
14581echo "${ECHO_T}$ossh_result" >&6
14582 if test "x$ossh_result" = "xyes"; then
14583 cat >>confdefs.h <<\_ACEOF
14584@%:@define HAVE_ID_IN_UTMP 1
14585_ACEOF
14586
14587 fi
14588 else
14589 echo "$as_me:$LINENO: result: no" >&5
14590echo "${ECHO_T}no" >&6
14591 fi
14592
14593
14594# look for field 'ut_id' in header 'utmpx.h'
14595 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14596 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
14597 echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5
14598echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6
14599 if eval "test \"\${$ossh_varname+set}\" = set"; then
14600 echo $ECHO_N "(cached) $ECHO_C" >&6
14601else
14602
14603 cat >conftest.$ac_ext <<_ACEOF
14604#line $LINENO "configure"
14605/* confdefs.h. */
14606_ACEOF
14607cat confdefs.h >>conftest.$ac_ext
14608cat >>conftest.$ac_ext <<_ACEOF
14609/* end confdefs.h. */
14610#include <utmpx.h>
14611
14612_ACEOF
14613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14614 $EGREP "ut_id" >/dev/null 2>&1; then
14615 eval "$ossh_varname=yes"
14616else
14617 eval "$ossh_varname=no"
14618fi
14619rm -f conftest*
14620
14621fi
14622
14623 ossh_result=`eval 'echo $'"$ossh_varname"`
14624 if test -n "`echo $ossh_varname`"; then
14625 echo "$as_me:$LINENO: result: $ossh_result" >&5
14626echo "${ECHO_T}$ossh_result" >&6
14627 if test "x$ossh_result" = "xyes"; then
14628 cat >>confdefs.h <<\_ACEOF
14629@%:@define HAVE_ID_IN_UTMPX 1
14630_ACEOF
14631
14632 fi
14633 else
14634 echo "$as_me:$LINENO: result: no" >&5
14635echo "${ECHO_T}no" >&6
14636 fi
14637
14638
14639# look for field 'ut_addr' in header 'utmp.h'
14640 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14641 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
14642 echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5
14643echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6
14644 if eval "test \"\${$ossh_varname+set}\" = set"; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14646else
14647
14648 cat >conftest.$ac_ext <<_ACEOF
14649#line $LINENO "configure"
14650/* confdefs.h. */
14651_ACEOF
14652cat confdefs.h >>conftest.$ac_ext
14653cat >>conftest.$ac_ext <<_ACEOF
14654/* end confdefs.h. */
14655#include <utmp.h>
14656
14657_ACEOF
14658if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14659 $EGREP "ut_addr" >/dev/null 2>&1; then
14660 eval "$ossh_varname=yes"
14661else
14662 eval "$ossh_varname=no"
14663fi
14664rm -f conftest*
14665
14666fi
14667
14668 ossh_result=`eval 'echo $'"$ossh_varname"`
14669 if test -n "`echo $ossh_varname`"; then
14670 echo "$as_me:$LINENO: result: $ossh_result" >&5
14671echo "${ECHO_T}$ossh_result" >&6
14672 if test "x$ossh_result" = "xyes"; then
14673 cat >>confdefs.h <<\_ACEOF
14674@%:@define HAVE_ADDR_IN_UTMP 1
14675_ACEOF
14676
14677 fi
14678 else
14679 echo "$as_me:$LINENO: result: no" >&5
14680echo "${ECHO_T}no" >&6
14681 fi
14682
14683
14684# look for field 'ut_addr' in header 'utmpx.h'
14685 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14686 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
14687 echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5
14688echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6
14689 if eval "test \"\${$ossh_varname+set}\" = set"; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14691else
14692
14693 cat >conftest.$ac_ext <<_ACEOF
14694#line $LINENO "configure"
14695/* confdefs.h. */
14696_ACEOF
14697cat confdefs.h >>conftest.$ac_ext
14698cat >>conftest.$ac_ext <<_ACEOF
14699/* end confdefs.h. */
14700#include <utmpx.h>
14701
14702_ACEOF
14703if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14704 $EGREP "ut_addr" >/dev/null 2>&1; then
14705 eval "$ossh_varname=yes"
14706else
14707 eval "$ossh_varname=no"
14708fi
14709rm -f conftest*
14710
14711fi
14712
14713 ossh_result=`eval 'echo $'"$ossh_varname"`
14714 if test -n "`echo $ossh_varname`"; then
14715 echo "$as_me:$LINENO: result: $ossh_result" >&5
14716echo "${ECHO_T}$ossh_result" >&6
14717 if test "x$ossh_result" = "xyes"; then
14718 cat >>confdefs.h <<\_ACEOF
14719@%:@define HAVE_ADDR_IN_UTMPX 1
14720_ACEOF
14721
14722 fi
14723 else
14724 echo "$as_me:$LINENO: result: no" >&5
14725echo "${ECHO_T}no" >&6
14726 fi
14727
14728
14729# look for field 'ut_addr_v6' in header 'utmp.h'
14730 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14731 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
14732 echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5
14733echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6
14734 if eval "test \"\${$ossh_varname+set}\" = set"; then
14735 echo $ECHO_N "(cached) $ECHO_C" >&6
14736else
14737
14738 cat >conftest.$ac_ext <<_ACEOF
14739#line $LINENO "configure"
14740/* confdefs.h. */
14741_ACEOF
14742cat confdefs.h >>conftest.$ac_ext
14743cat >>conftest.$ac_ext <<_ACEOF
14744/* end confdefs.h. */
14745#include <utmp.h>
14746
14747_ACEOF
14748if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14749 $EGREP "ut_addr_v6" >/dev/null 2>&1; then
14750 eval "$ossh_varname=yes"
14751else
14752 eval "$ossh_varname=no"
14753fi
14754rm -f conftest*
14755
14756fi
14757
14758 ossh_result=`eval 'echo $'"$ossh_varname"`
14759 if test -n "`echo $ossh_varname`"; then
14760 echo "$as_me:$LINENO: result: $ossh_result" >&5
14761echo "${ECHO_T}$ossh_result" >&6
14762 if test "x$ossh_result" = "xyes"; then
14763 cat >>confdefs.h <<\_ACEOF
14764@%:@define HAVE_ADDR_V6_IN_UTMP 1
14765_ACEOF
14766
14767 fi
14768 else
14769 echo "$as_me:$LINENO: result: no" >&5
14770echo "${ECHO_T}no" >&6
14771 fi
14772
14773
14774# look for field 'ut_addr_v6' in header 'utmpx.h'
14775 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14776 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
14777 echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5
14778echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6
14779 if eval "test \"\${$ossh_varname+set}\" = set"; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14781else
14782
14783 cat >conftest.$ac_ext <<_ACEOF
14784#line $LINENO "configure"
14785/* confdefs.h. */
14786_ACEOF
14787cat confdefs.h >>conftest.$ac_ext
14788cat >>conftest.$ac_ext <<_ACEOF
14789/* end confdefs.h. */
14790#include <utmpx.h>
14791
14792_ACEOF
14793if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14794 $EGREP "ut_addr_v6" >/dev/null 2>&1; then
14795 eval "$ossh_varname=yes"
14796else
14797 eval "$ossh_varname=no"
14798fi
14799rm -f conftest*
14800
14801fi
14802
14803 ossh_result=`eval 'echo $'"$ossh_varname"`
14804 if test -n "`echo $ossh_varname`"; then
14805 echo "$as_me:$LINENO: result: $ossh_result" >&5
14806echo "${ECHO_T}$ossh_result" >&6
14807 if test "x$ossh_result" = "xyes"; then
14808 cat >>confdefs.h <<\_ACEOF
14809@%:@define HAVE_ADDR_V6_IN_UTMPX 1
14810_ACEOF
14811
14812 fi
14813 else
14814 echo "$as_me:$LINENO: result: no" >&5
14815echo "${ECHO_T}no" >&6
14816 fi
14817
14818
14819# look for field 'ut_exit' in header 'utmp.h'
14820 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14821 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
14822 echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5
14823echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6
14824 if eval "test \"\${$ossh_varname+set}\" = set"; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14826else
14827
14828 cat >conftest.$ac_ext <<_ACEOF
14829#line $LINENO "configure"
14830/* confdefs.h. */
14831_ACEOF
14832cat confdefs.h >>conftest.$ac_ext
14833cat >>conftest.$ac_ext <<_ACEOF
14834/* end confdefs.h. */
14835#include <utmp.h>
14836
14837_ACEOF
14838if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14839 $EGREP "ut_exit" >/dev/null 2>&1; then
14840 eval "$ossh_varname=yes"
14841else
14842 eval "$ossh_varname=no"
14843fi
14844rm -f conftest*
14845
14846fi
14847
14848 ossh_result=`eval 'echo $'"$ossh_varname"`
14849 if test -n "`echo $ossh_varname`"; then
14850 echo "$as_me:$LINENO: result: $ossh_result" >&5
14851echo "${ECHO_T}$ossh_result" >&6
14852 if test "x$ossh_result" = "xyes"; then
14853 cat >>confdefs.h <<\_ACEOF
14854@%:@define HAVE_EXIT_IN_UTMP 1
14855_ACEOF
14856
14857 fi
14858 else
14859 echo "$as_me:$LINENO: result: no" >&5
14860echo "${ECHO_T}no" >&6
14861 fi
14862
14863
14864# look for field 'ut_time' in header 'utmp.h'
14865 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
14866 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
14867 echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5
14868echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6
14869 if eval "test \"\${$ossh_varname+set}\" = set"; then
14870 echo $ECHO_N "(cached) $ECHO_C" >&6
14871else
14872
14873 cat >conftest.$ac_ext <<_ACEOF
14874#line $LINENO "configure"
14875/* confdefs.h. */
14876_ACEOF
14877cat confdefs.h >>conftest.$ac_ext
14878cat >>conftest.$ac_ext <<_ACEOF
14879/* end confdefs.h. */
14880#include <utmp.h>
14881
14882_ACEOF
14883if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14884 $EGREP "ut_time" >/dev/null 2>&1; then
14885 eval "$ossh_varname=yes"
14886else
14887 eval "$ossh_varname=no"
14888fi
14889rm -f conftest*
14890
14891fi
14892
14893 ossh_result=`eval 'echo $'"$ossh_varname"`
14894 if test -n "`echo $ossh_varname`"; then
14895 echo "$as_me:$LINENO: result: $ossh_result" >&5
14896echo "${ECHO_T}$ossh_result" >&6
14897 if test "x$ossh_result" = "xyes"; then
14898 cat >>confdefs.h <<\_ACEOF
14899@%:@define HAVE_TIME_IN_UTMP 1
14900_ACEOF
14901
14902 fi
14903 else
14904 echo "$as_me:$LINENO: result: no" >&5
14905echo "${ECHO_T}no" >&6
14906 fi
14907
14908
14909# look for field 'ut_time' in header 'utmpx.h'
14910 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14911 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
14912 echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5
14913echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6
14914 if eval "test \"\${$ossh_varname+set}\" = set"; then
14915 echo $ECHO_N "(cached) $ECHO_C" >&6
14916else
14917
14918 cat >conftest.$ac_ext <<_ACEOF
14919#line $LINENO "configure"
14920/* confdefs.h. */
14921_ACEOF
14922cat confdefs.h >>conftest.$ac_ext
14923cat >>conftest.$ac_ext <<_ACEOF
14924/* end confdefs.h. */
14925#include <utmpx.h>
14926
14927_ACEOF
14928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14929 $EGREP "ut_time" >/dev/null 2>&1; then
14930 eval "$ossh_varname=yes"
14931else
14932 eval "$ossh_varname=no"
14933fi
14934rm -f conftest*
14935
14936fi
14937
14938 ossh_result=`eval 'echo $'"$ossh_varname"`
14939 if test -n "`echo $ossh_varname`"; then
14940 echo "$as_me:$LINENO: result: $ossh_result" >&5
14941echo "${ECHO_T}$ossh_result" >&6
14942 if test "x$ossh_result" = "xyes"; then
14943 cat >>confdefs.h <<\_ACEOF
14944@%:@define HAVE_TIME_IN_UTMPX 1
14945_ACEOF
14946
14947 fi
14948 else
14949 echo "$as_me:$LINENO: result: no" >&5
14950echo "${ECHO_T}no" >&6
14951 fi
14952
14953
14954# look for field 'ut_tv' in header 'utmpx.h'
14955 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14956 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
14957 echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5
14958echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6
14959 if eval "test \"\${$ossh_varname+set}\" = set"; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14961else
14962
14963 cat >conftest.$ac_ext <<_ACEOF
14964#line $LINENO "configure"
14965/* confdefs.h. */
14966_ACEOF
14967cat confdefs.h >>conftest.$ac_ext
14968cat >>conftest.$ac_ext <<_ACEOF
14969/* end confdefs.h. */
14970#include <utmpx.h>
14971
14972_ACEOF
14973if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14974 $EGREP "ut_tv" >/dev/null 2>&1; then
14975 eval "$ossh_varname=yes"
14976else
14977 eval "$ossh_varname=no"
14978fi
14979rm -f conftest*
14980
14981fi
14982
14983 ossh_result=`eval 'echo $'"$ossh_varname"`
14984 if test -n "`echo $ossh_varname`"; then
14985 echo "$as_me:$LINENO: result: $ossh_result" >&5
14986echo "${ECHO_T}$ossh_result" >&6
14987 if test "x$ossh_result" = "xyes"; then
14988 cat >>confdefs.h <<\_ACEOF
14989@%:@define HAVE_TV_IN_UTMPX 1
14990_ACEOF
14991
14992 fi
14993 else
14994 echo "$as_me:$LINENO: result: no" >&5
14995echo "${ECHO_T}no" >&6
14996 fi
14997
14998
14999echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
15000echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
15001if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
15002 echo $ECHO_N "(cached) $ECHO_C" >&6
15003else
15004 cat >conftest.$ac_ext <<_ACEOF
15005#line $LINENO "configure"
15006/* confdefs.h. */
15007_ACEOF
15008cat confdefs.h >>conftest.$ac_ext
15009cat >>conftest.$ac_ext <<_ACEOF
15010/* end confdefs.h. */
15011$ac_includes_default
15012int
15013main ()
15014{
15015static struct stat ac_aggr;
15016if (ac_aggr.st_blksize)
15017return 0;
15018 ;
15019 return 0;
15020}
15021_ACEOF
15022rm -f conftest.$ac_objext
15023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15024 (eval $ac_compile) 2>&5
15025 ac_status=$?
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try='test -s conftest.$ac_objext'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15031 ac_status=$?
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; }; then
15034 ac_cv_member_struct_stat_st_blksize=yes
15035else
15036 echo "$as_me: failed program was:" >&5
15037sed 's/^/| /' conftest.$ac_ext >&5
15038
15039cat >conftest.$ac_ext <<_ACEOF
15040#line $LINENO "configure"
15041/* confdefs.h. */
15042_ACEOF
15043cat confdefs.h >>conftest.$ac_ext
15044cat >>conftest.$ac_ext <<_ACEOF
15045/* end confdefs.h. */
15046$ac_includes_default
15047int
15048main ()
15049{
15050static struct stat ac_aggr;
15051if (sizeof ac_aggr.st_blksize)
15052return 0;
15053 ;
15054 return 0;
15055}
15056_ACEOF
15057rm -f conftest.$ac_objext
15058if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15059 (eval $ac_compile) 2>&5
15060 ac_status=$?
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } &&
15063 { ac_try='test -s conftest.$ac_objext'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15066 ac_status=$?
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; }; then
15069 ac_cv_member_struct_stat_st_blksize=yes
15070else
15071 echo "$as_me: failed program was:" >&5
15072sed 's/^/| /' conftest.$ac_ext >&5
15073
15074ac_cv_member_struct_stat_st_blksize=no
15075fi
15076rm -f conftest.$ac_objext conftest.$ac_ext
15077fi
15078rm -f conftest.$ac_objext conftest.$ac_ext
15079fi
15080echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
15081echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
15082if test $ac_cv_member_struct_stat_st_blksize = yes; then
15083
15084cat >>confdefs.h <<_ACEOF
15085@%:@define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15086_ACEOF
15087
15088
15089fi
15090
15091
15092echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
15093echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
15094if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15096else
15097
15098 cat >conftest.$ac_ext <<_ACEOF
15099#line $LINENO "configure"
15100/* confdefs.h. */
15101_ACEOF
15102cat confdefs.h >>conftest.$ac_ext
15103cat >>conftest.$ac_ext <<_ACEOF
15104/* end confdefs.h. */
15105
15106#include <sys/types.h>
15107#include <sys/socket.h>
15108
15109int
15110main ()
15111{
15112 struct sockaddr_storage s; s.ss_family = 1;
15113 ;
15114 return 0;
15115}
15116_ACEOF
15117rm -f conftest.$ac_objext
15118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15119 (eval $ac_compile) 2>&5
15120 ac_status=$?
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try='test -s conftest.$ac_objext'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15126 ac_status=$?
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; }; then
15129 ac_cv_have_ss_family_in_struct_ss="yes"
15130else
15131 echo "$as_me: failed program was:" >&5
15132sed 's/^/| /' conftest.$ac_ext >&5
15133
15134 ac_cv_have_ss_family_in_struct_ss="no"
15135fi
15136rm -f conftest.$ac_objext conftest.$ac_ext
15137
15138fi
15139echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
15140echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
15141if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
15142 cat >>confdefs.h <<\_ACEOF
15143@%:@define HAVE_SS_FAMILY_IN_SS 1
15144_ACEOF
15145
15146fi
15147
15148echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
15149echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
15150if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15152else
15153
15154 cat >conftest.$ac_ext <<_ACEOF
15155#line $LINENO "configure"
15156/* confdefs.h. */
15157_ACEOF
15158cat confdefs.h >>conftest.$ac_ext
15159cat >>conftest.$ac_ext <<_ACEOF
15160/* end confdefs.h. */
15161
15162#include <sys/types.h>
15163#include <sys/socket.h>
15164
15165int
15166main ()
15167{
15168 struct sockaddr_storage s; s.__ss_family = 1;
15169 ;
15170 return 0;
15171}
15172_ACEOF
15173rm -f conftest.$ac_objext
15174if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15175 (eval $ac_compile) 2>&5
15176 ac_status=$?
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); } &&
15179 { ac_try='test -s conftest.$ac_objext'
15180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15181 (eval $ac_try) 2>&5
15182 ac_status=$?
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); }; }; then
15185 ac_cv_have___ss_family_in_struct_ss="yes"
15186else
15187 echo "$as_me: failed program was:" >&5
15188sed 's/^/| /' conftest.$ac_ext >&5
15189
15190 ac_cv_have___ss_family_in_struct_ss="no"
15191
15192fi
15193rm -f conftest.$ac_objext conftest.$ac_ext
15194
15195fi
15196echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
15197echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
15198if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
15199 cat >>confdefs.h <<\_ACEOF
15200@%:@define HAVE___SS_FAMILY_IN_SS 1
15201_ACEOF
15202
15203fi
15204
15205echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5
15206echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6
15207if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15209else
15210
15211 cat >conftest.$ac_ext <<_ACEOF
15212#line $LINENO "configure"
15213/* confdefs.h. */
15214_ACEOF
15215cat confdefs.h >>conftest.$ac_ext
15216cat >>conftest.$ac_ext <<_ACEOF
15217/* end confdefs.h. */
15218
15219#include <pwd.h>
15220
15221int
15222main ()
15223{
15224 struct passwd p; p.pw_class = 0;
15225 ;
15226 return 0;
15227}
15228_ACEOF
15229rm -f conftest.$ac_objext
15230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15231 (eval $ac_compile) 2>&5
15232 ac_status=$?
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } &&
15235 { ac_try='test -s conftest.$ac_objext'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; }; then
15241 ac_cv_have_pw_class_in_struct_passwd="yes"
15242else
15243 echo "$as_me: failed program was:" >&5
15244sed 's/^/| /' conftest.$ac_ext >&5
15245
15246 ac_cv_have_pw_class_in_struct_passwd="no"
15247
15248fi
15249rm -f conftest.$ac_objext conftest.$ac_ext
15250
15251fi
15252echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
15253echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
15254if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
15255 cat >>confdefs.h <<\_ACEOF
15256@%:@define HAVE_PW_CLASS_IN_PASSWD 1
15257_ACEOF
15258
15259fi
15260
15261echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5
15262echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6
15263if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
15264 echo $ECHO_N "(cached) $ECHO_C" >&6
15265else
15266
15267 cat >conftest.$ac_ext <<_ACEOF
15268#line $LINENO "configure"
15269/* confdefs.h. */
15270_ACEOF
15271cat confdefs.h >>conftest.$ac_ext
15272cat >>conftest.$ac_ext <<_ACEOF
15273/* end confdefs.h. */
15274
15275#include <pwd.h>
15276
15277int
15278main ()
15279{
15280 struct passwd p; p.pw_expire = 0;
15281 ;
15282 return 0;
15283}
15284_ACEOF
15285rm -f conftest.$ac_objext
15286if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15287 (eval $ac_compile) 2>&5
15288 ac_status=$?
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } &&
15291 { ac_try='test -s conftest.$ac_objext'
15292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15293 (eval $ac_try) 2>&5
15294 ac_status=$?
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); }; }; then
15297 ac_cv_have_pw_expire_in_struct_passwd="yes"
15298else
15299 echo "$as_me: failed program was:" >&5
15300sed 's/^/| /' conftest.$ac_ext >&5
15301
15302 ac_cv_have_pw_expire_in_struct_passwd="no"
15303
15304fi
15305rm -f conftest.$ac_objext conftest.$ac_ext
15306
15307fi
15308echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
15309echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
15310if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
15311 cat >>confdefs.h <<\_ACEOF
15312@%:@define HAVE_PW_EXPIRE_IN_PASSWD 1
15313_ACEOF
15314
15315fi
15316
15317echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5
15318echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6
15319if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
15320 echo $ECHO_N "(cached) $ECHO_C" >&6
15321else
15322
15323 cat >conftest.$ac_ext <<_ACEOF
15324#line $LINENO "configure"
15325/* confdefs.h. */
15326_ACEOF
15327cat confdefs.h >>conftest.$ac_ext
15328cat >>conftest.$ac_ext <<_ACEOF
15329/* end confdefs.h. */
15330
15331#include <pwd.h>
15332
15333int
15334main ()
15335{
15336 struct passwd p; p.pw_change = 0;
15337 ;
15338 return 0;
15339}
15340_ACEOF
15341rm -f conftest.$ac_objext
15342if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15343 (eval $ac_compile) 2>&5
15344 ac_status=$?
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); } &&
15347 { ac_try='test -s conftest.$ac_objext'
15348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15349 (eval $ac_try) 2>&5
15350 ac_status=$?
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; }; then
15353 ac_cv_have_pw_change_in_struct_passwd="yes"
15354else
15355 echo "$as_me: failed program was:" >&5
15356sed 's/^/| /' conftest.$ac_ext >&5
15357
15358 ac_cv_have_pw_change_in_struct_passwd="no"
15359
15360fi
15361rm -f conftest.$ac_objext conftest.$ac_ext
15362
15363fi
15364echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
15365echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
15366if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
15367 cat >>confdefs.h <<\_ACEOF
15368@%:@define HAVE_PW_CHANGE_IN_PASSWD 1
15369_ACEOF
15370
15371fi
15372
15373echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
15374echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6
15375if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15377else
15378
15379 if test "$cross_compiling" = yes; then
15380 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15381See \`config.log' for more details." >&5
15382echo "$as_me: error: cannot run test program while cross compiling
15383See \`config.log' for more details." >&2;}
15384 { (exit 1); exit 1; }; }
15385else
15386 cat >conftest.$ac_ext <<_ACEOF
15387#line $LINENO "configure"
15388/* confdefs.h. */
15389_ACEOF
15390cat confdefs.h >>conftest.$ac_ext
15391cat >>conftest.$ac_ext <<_ACEOF
15392/* end confdefs.h. */
15393
15394#include <sys/types.h>
15395#include <sys/socket.h>
15396#include <sys/uio.h>
15397int main() {
15398#ifdef msg_accrights
15399exit(1);
15400#endif
15401struct msghdr m;
15402m.msg_accrights = 0;
15403exit(0);
15404}
15405
15406_ACEOF
15407rm -f conftest$ac_exeext
15408if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15409 (eval $ac_link) 2>&5
15410 ac_status=$?
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15415 ac_status=$?
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; }; then
15418 ac_cv_have_accrights_in_msghdr="yes"
15419else
15420 echo "$as_me: program exited with status $ac_status" >&5
15421echo "$as_me: failed program was:" >&5
15422sed 's/^/| /' conftest.$ac_ext >&5
15423
15424( exit $ac_status )
15425 ac_cv_have_accrights_in_msghdr="no"
15426
15427fi
15428rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15429fi
15430
15431fi
15432echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
15433echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
15434if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
15435 cat >>confdefs.h <<\_ACEOF
15436@%:@define HAVE_ACCRIGHTS_IN_MSGHDR 1
15437_ACEOF
15438
15439fi
15440
15441echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
15442echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6
15443if test "${ac_cv_have_control_in_msghdr+set}" = set; then
15444 echo $ECHO_N "(cached) $ECHO_C" >&6
15445else
15446
15447 if test "$cross_compiling" = yes; then
15448 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15449See \`config.log' for more details." >&5
15450echo "$as_me: error: cannot run test program while cross compiling
15451See \`config.log' for more details." >&2;}
15452 { (exit 1); exit 1; }; }
15453else
15454 cat >conftest.$ac_ext <<_ACEOF
15455#line $LINENO "configure"
15456/* confdefs.h. */
15457_ACEOF
15458cat confdefs.h >>conftest.$ac_ext
15459cat >>conftest.$ac_ext <<_ACEOF
15460/* end confdefs.h. */
15461
15462#include <sys/types.h>
15463#include <sys/socket.h>
15464#include <sys/uio.h>
15465int main() {
15466#ifdef msg_control
15467exit(1);
15468#endif
15469struct msghdr m;
15470m.msg_control = 0;
15471exit(0);
15472}
15473
15474_ACEOF
15475rm -f conftest$ac_exeext
15476if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15477 (eval $ac_link) 2>&5
15478 ac_status=$?
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15483 ac_status=$?
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; }; then
15486 ac_cv_have_control_in_msghdr="yes"
15487else
15488 echo "$as_me: program exited with status $ac_status" >&5
15489echo "$as_me: failed program was:" >&5
15490sed 's/^/| /' conftest.$ac_ext >&5
15491
15492( exit $ac_status )
15493 ac_cv_have_control_in_msghdr="no"
15494
15495fi
15496rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15497fi
15498
15499fi
15500echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
15501echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
15502if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
15503 cat >>confdefs.h <<\_ACEOF
15504@%:@define HAVE_CONTROL_IN_MSGHDR 1
15505_ACEOF
15506
15507fi
15508
15509echo "$as_me:$LINENO: checking if libc defines __progname" >&5
15510echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6
15511if test "${ac_cv_libc_defines___progname+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15513else
15514
15515 cat >conftest.$ac_ext <<_ACEOF
15516#line $LINENO "configure"
15517/* confdefs.h. */
15518_ACEOF
15519cat confdefs.h >>conftest.$ac_ext
15520cat >>conftest.$ac_ext <<_ACEOF
15521/* end confdefs.h. */
15522
15523int
15524main ()
15525{
15526 extern char *__progname; printf("%s", __progname);
15527 ;
15528 return 0;
15529}
15530_ACEOF
15531rm -f conftest.$ac_objext conftest$ac_exeext
15532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15533 (eval $ac_link) 2>&5
15534 ac_status=$?
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try='test -s conftest$ac_exeext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15540 ac_status=$?
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_cv_libc_defines___progname="yes"
15544else
15545 echo "$as_me: failed program was:" >&5
15546sed 's/^/| /' conftest.$ac_ext >&5
15547
15548 ac_cv_libc_defines___progname="no"
15549
15550fi
15551rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15552
15553fi
15554echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
15555echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
15556if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
15557 cat >>confdefs.h <<\_ACEOF
15558@%:@define HAVE___PROGNAME 1
15559_ACEOF
15560
15561fi
15562
15563echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5
15564echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6
15565if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
15566 echo $ECHO_N "(cached) $ECHO_C" >&6
15567else
15568
15569 cat >conftest.$ac_ext <<_ACEOF
15570#line $LINENO "configure"
15571/* confdefs.h. */
15572_ACEOF
15573cat confdefs.h >>conftest.$ac_ext
15574cat >>conftest.$ac_ext <<_ACEOF
15575/* end confdefs.h. */
15576
15577#include <stdio.h>
15578
15579int
15580main ()
15581{
15582 printf("%s", __FUNCTION__);
15583 ;
15584 return 0;
15585}
15586_ACEOF
15587rm -f conftest.$ac_objext conftest$ac_exeext
15588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15589 (eval $ac_link) 2>&5
15590 ac_status=$?
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); } &&
15593 { ac_try='test -s conftest$ac_exeext'
15594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15595 (eval $ac_try) 2>&5
15596 ac_status=$?
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); }; }; then
15599 ac_cv_cc_implements___FUNCTION__="yes"
15600else
15601 echo "$as_me: failed program was:" >&5
15602sed 's/^/| /' conftest.$ac_ext >&5
15603
15604 ac_cv_cc_implements___FUNCTION__="no"
15605
15606fi
15607rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15608
15609fi
15610echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
15611echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
15612if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
15613 cat >>confdefs.h <<\_ACEOF
15614@%:@define HAVE___FUNCTION__ 1
15615_ACEOF
15616
15617fi
15618
15619echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5
15620echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6
15621if test "${ac_cv_cc_implements___func__+set}" = set; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15623else
15624
15625 cat >conftest.$ac_ext <<_ACEOF
15626#line $LINENO "configure"
15627/* confdefs.h. */
15628_ACEOF
15629cat confdefs.h >>conftest.$ac_ext
15630cat >>conftest.$ac_ext <<_ACEOF
15631/* end confdefs.h. */
15632
15633#include <stdio.h>
15634
15635int
15636main ()
15637{
15638 printf("%s", __func__);
15639 ;
15640 return 0;
15641}
15642_ACEOF
15643rm -f conftest.$ac_objext conftest$ac_exeext
15644if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15645 (eval $ac_link) 2>&5
15646 ac_status=$?
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); } &&
15649 { ac_try='test -s conftest$ac_exeext'
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15652 ac_status=$?
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; }; then
15655 ac_cv_cc_implements___func__="yes"
15656else
15657 echo "$as_me: failed program was:" >&5
15658sed 's/^/| /' conftest.$ac_ext >&5
15659
15660 ac_cv_cc_implements___func__="no"
15661
15662fi
15663rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15664
15665fi
15666echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
15667echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
15668if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
15669 cat >>confdefs.h <<\_ACEOF
15670@%:@define HAVE___func__ 1
15671_ACEOF
15672
15673fi
15674
15675echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
15676echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
15677if test "${ac_cv_have_getopt_optreset+set}" = set; then
15678 echo $ECHO_N "(cached) $ECHO_C" >&6
15679else
15680
15681 cat >conftest.$ac_ext <<_ACEOF
15682#line $LINENO "configure"
15683/* confdefs.h. */
15684_ACEOF
15685cat confdefs.h >>conftest.$ac_ext
15686cat >>conftest.$ac_ext <<_ACEOF
15687/* end confdefs.h. */
15688
15689#include <getopt.h>
15690
15691int
15692main ()
15693{
15694 extern int optreset; optreset = 0;
15695 ;
15696 return 0;
15697}
15698_ACEOF
15699rm -f conftest.$ac_objext conftest$ac_exeext
15700if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15701 (eval $ac_link) 2>&5
15702 ac_status=$?
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try='test -s conftest$ac_exeext'
15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15707 (eval $ac_try) 2>&5
15708 ac_status=$?
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); }; }; then
15711 ac_cv_have_getopt_optreset="yes"
15712else
15713 echo "$as_me: failed program was:" >&5
15714sed 's/^/| /' conftest.$ac_ext >&5
15715
15716 ac_cv_have_getopt_optreset="no"
15717
15718fi
15719rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15720
15721fi
15722echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
15723echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
15724if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
15725 cat >>confdefs.h <<\_ACEOF
15726@%:@define HAVE_GETOPT_OPTRESET 1
15727_ACEOF
15728
15729fi
15730
15731echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
15732echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6
15733if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
15734 echo $ECHO_N "(cached) $ECHO_C" >&6
15735else
15736
15737 cat >conftest.$ac_ext <<_ACEOF
15738#line $LINENO "configure"
15739/* confdefs.h. */
15740_ACEOF
15741cat confdefs.h >>conftest.$ac_ext
15742cat >>conftest.$ac_ext <<_ACEOF
15743/* end confdefs.h. */
15744
15745int
15746main ()
15747{
15748 extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);
15749 ;
15750 return 0;
15751}
15752_ACEOF
15753rm -f conftest.$ac_objext conftest$ac_exeext
15754if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15755 (eval $ac_link) 2>&5
15756 ac_status=$?
15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } &&
15759 { ac_try='test -s conftest$ac_exeext'
15760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15761 (eval $ac_try) 2>&5
15762 ac_status=$?
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); }; }; then
15765 ac_cv_libc_defines_sys_errlist="yes"
15766else
15767 echo "$as_me: failed program was:" >&5
15768sed 's/^/| /' conftest.$ac_ext >&5
15769
15770 ac_cv_libc_defines_sys_errlist="no"
15771
15772fi
15773rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15774
15775fi
15776echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
15777echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
15778if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
15779 cat >>confdefs.h <<\_ACEOF
15780@%:@define HAVE_SYS_ERRLIST 1
15781_ACEOF
15782
15783fi
15784
15785
15786echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5
15787echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6
15788if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
15789 echo $ECHO_N "(cached) $ECHO_C" >&6
15790else
15791
15792 cat >conftest.$ac_ext <<_ACEOF
15793#line $LINENO "configure"
15794/* confdefs.h. */
15795_ACEOF
15796cat confdefs.h >>conftest.$ac_ext
15797cat >>conftest.$ac_ext <<_ACEOF
15798/* end confdefs.h. */
15799
15800int
15801main ()
15802{
15803 extern int sys_nerr; printf("%i", sys_nerr);
15804 ;
15805 return 0;
15806}
15807_ACEOF
15808rm -f conftest.$ac_objext conftest$ac_exeext
15809if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15810 (eval $ac_link) 2>&5
15811 ac_status=$?
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try='test -s conftest$ac_exeext'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15817 ac_status=$?
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; }; then
15820 ac_cv_libc_defines_sys_nerr="yes"
15821else
15822 echo "$as_me: failed program was:" >&5
15823sed 's/^/| /' conftest.$ac_ext >&5
15824
15825 ac_cv_libc_defines_sys_nerr="no"
15826
15827fi
15828rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15829
15830fi
15831echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
15832echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
15833if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
15834 cat >>confdefs.h <<\_ACEOF
15835@%:@define HAVE_SYS_NERR 1
15836_ACEOF
15837
15838fi
15839
15840SCARD_MSG="no"
15841
15842# Check whether user wants sectok support
15843
15844# Check whether --with-sectok or --without-sectok was given.
15845if test "${with_sectok+set}" = set; then
15846 withval="$with_sectok"
15847
15848 if test "x$withval" != "xno" ; then
15849 if test "x$withval" != "xyes" ; then
15850 CPPFLAGS="$CPPFLAGS -I${withval}"
15851 LDFLAGS="$LDFLAGS -L${withval}"
15852 if test ! -z "$need_dash_r" ; then
15853 LDFLAGS="$LDFLAGS -R${withval}"
15854 fi
15855 if test ! -z "$blibpath" ; then
15856 blibpath="$blibpath:${withval}"
15857 fi
15858 fi
15859
15860for ac_header in sectok.h
15861do
15862as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15863if eval "test \"\${$as_ac_Header+set}\" = set"; then
15864 echo "$as_me:$LINENO: checking for $ac_header" >&5
15865echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15866if eval "test \"\${$as_ac_Header+set}\" = set"; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15868fi
15869echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15870echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15871else
15872 # Is the header compilable?
15873echo "$as_me:$LINENO: checking $ac_header usability" >&5
15874echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15875cat >conftest.$ac_ext <<_ACEOF
15876#line $LINENO "configure"
15877/* confdefs.h. */
15878_ACEOF
15879cat confdefs.h >>conftest.$ac_ext
15880cat >>conftest.$ac_ext <<_ACEOF
15881/* end confdefs.h. */
15882$ac_includes_default
15883@%:@include <$ac_header>
15884_ACEOF
15885rm -f conftest.$ac_objext
15886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } &&
15891 { ac_try='test -s conftest.$ac_objext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15897 ac_header_compiler=yes
15898else
15899 echo "$as_me: failed program was:" >&5
15900sed 's/^/| /' conftest.$ac_ext >&5
15901
15902ac_header_compiler=no
15903fi
15904rm -f conftest.$ac_objext conftest.$ac_ext
15905echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15906echo "${ECHO_T}$ac_header_compiler" >&6
15907
15908# Is the header present?
15909echo "$as_me:$LINENO: checking $ac_header presence" >&5
15910echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15911cat >conftest.$ac_ext <<_ACEOF
15912#line $LINENO "configure"
15913/* confdefs.h. */
15914_ACEOF
15915cat confdefs.h >>conftest.$ac_ext
15916cat >>conftest.$ac_ext <<_ACEOF
15917/* end confdefs.h. */
15918@%:@include <$ac_header>
15919_ACEOF
15920if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15922 ac_status=$?
15923 grep -v '^ *+' conftest.er1 >conftest.err
15924 rm -f conftest.er1
15925 cat conftest.err >&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } >/dev/null; then
15928 if test -s conftest.err; then
15929 ac_cpp_err=$ac_c_preproc_warn_flag
15930 else
15931 ac_cpp_err=
15932 fi
15933else
15934 ac_cpp_err=yes
15935fi
15936if test -z "$ac_cpp_err"; then
15937 ac_header_preproc=yes
15938else
15939 echo "$as_me: failed program was:" >&5
15940sed 's/^/| /' conftest.$ac_ext >&5
15941
15942 ac_header_preproc=no
15943fi
15944rm -f conftest.err conftest.$ac_ext
15945echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15946echo "${ECHO_T}$ac_header_preproc" >&6
15947
15948# So? What about this header?
15949case $ac_header_compiler:$ac_header_preproc in
15950 yes:no )
15951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15952echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15954echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15955 (
15956 cat <<\_ASBOX
15957@%:@@%:@ ------------------------------------ @%:@@%:@
15958@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
15959@%:@@%:@ ------------------------------------ @%:@@%:@
15960_ASBOX
15961 ) |
15962 sed "s/^/$as_me: WARNING: /" >&2
15963 ;;
15964 no:yes )
15965 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15966echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15967 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15968echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15970echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15971 (
15972 cat <<\_ASBOX
15973@%:@@%:@ ------------------------------------ @%:@@%:@
15974@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
15975@%:@@%:@ ------------------------------------ @%:@@%:@
15976_ASBOX
15977 ) |
15978 sed "s/^/$as_me: WARNING: /" >&2
15979 ;;
15980esac
15981echo "$as_me:$LINENO: checking for $ac_header" >&5
15982echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15983if eval "test \"\${$as_ac_Header+set}\" = set"; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15985else
15986 eval "$as_ac_Header=$ac_header_preproc"
15987fi
15988echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15989echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15990
15991fi
15992if test `eval echo '${'$as_ac_Header'}'` = yes; then
15993 cat >>confdefs.h <<_ACEOF
15994@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15995_ACEOF
15996
15997fi
15998
15999done
16000
16001 if test "$ac_cv_header_sectok_h" != yes; then
16002 { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5
16003echo "$as_me: error: Can't find sectok.h" >&2;}
16004 { (exit 1); exit 1; }; }
16005 fi
16006
16007echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5
16008echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6
16009if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
16010 echo $ECHO_N "(cached) $ECHO_C" >&6
16011else
16012 ac_check_lib_save_LIBS=$LIBS
16013LIBS="-lsectok $LIBS"
16014cat >conftest.$ac_ext <<_ACEOF
16015#line $LINENO "configure"
16016/* confdefs.h. */
16017_ACEOF
16018cat confdefs.h >>conftest.$ac_ext
16019cat >>conftest.$ac_ext <<_ACEOF
16020/* end confdefs.h. */
16021
16022/* Override any gcc2 internal prototype to avoid an error. */
16023#ifdef __cplusplus
16024extern "C"
16025#endif
16026/* We use char because int might match the return type of a gcc2
16027 builtin and then its argument prototype would still apply. */
16028char sectok_open ();
16029int
16030main ()
16031{
16032sectok_open ();
16033 ;
16034 return 0;
16035}
16036_ACEOF
16037rm -f conftest.$ac_objext conftest$ac_exeext
16038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16039 (eval $ac_link) 2>&5
16040 ac_status=$?
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } &&
16043 { ac_try='test -s conftest$ac_exeext'
16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 (eval $ac_try) 2>&5
16046 ac_status=$?
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; }; then
16049 ac_cv_lib_sectok_sectok_open=yes
16050else
16051 echo "$as_me: failed program was:" >&5
16052sed 's/^/| /' conftest.$ac_ext >&5
16053
16054ac_cv_lib_sectok_sectok_open=no
16055fi
16056rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16057LIBS=$ac_check_lib_save_LIBS
16058fi
16059echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
16060echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6
16061if test $ac_cv_lib_sectok_sectok_open = yes; then
16062 cat >>confdefs.h <<_ACEOF
16063@%:@define HAVE_LIBSECTOK 1
16064_ACEOF
16065
16066 LIBS="-lsectok $LIBS"
16067
16068fi
16069
16070 if test "$ac_cv_lib_sectok_sectok_open" != yes; then
16071 { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5
16072echo "$as_me: error: Can't find libsectok" >&2;}
16073 { (exit 1); exit 1; }; }
16074 fi
16075 cat >>confdefs.h <<\_ACEOF
16076@%:@define SMARTCARD 1
16077_ACEOF
16078
16079 cat >>confdefs.h <<\_ACEOF
16080@%:@define USE_SECTOK 1
16081_ACEOF
16082
16083 SCARD_MSG="yes, using sectok"
16084 fi
16085
16086
16087fi;
16088
16089# Check whether user wants OpenSC support
16090
16091# Check whether --with-opensc or --without-opensc was given.
16092if test "${with_opensc+set}" = set; then
16093 withval="$with_opensc"
16094 opensc_config_prefix="$withval"
16095else
16096 opensc_config_prefix=""
16097fi;
16098if test x$opensc_config_prefix != x ; then
16099 OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
16100 # Extract the first word of "opensc-config", so it can be a program name with args.
16101set dummy opensc-config; ac_word=$2
16102echo "$as_me:$LINENO: checking for $ac_word" >&5
16103echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16104if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16106else
16107 case $OPENSC_CONFIG in
16108 [\\/]* | ?:[\\/]*)
16109 ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path.
16110 ;;
16111 *)
16112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16113for as_dir in $PATH
16114do
16115 IFS=$as_save_IFS
16116 test -z "$as_dir" && as_dir=.
16117 for ac_exec_ext in '' $ac_executable_extensions; do
16118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16119 ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16121 break 2
16122 fi
16123done
16124done
16125
16126 test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no"
16127 ;;
16128esac
16129fi
16130OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
16131
16132if test -n "$OPENSC_CONFIG"; then
16133 echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5
16134echo "${ECHO_T}$OPENSC_CONFIG" >&6
16135else
16136 echo "$as_me:$LINENO: result: no" >&5
16137echo "${ECHO_T}no" >&6
16138fi
16139
16140 if test "$OPENSC_CONFIG" != "no"; then
16141 LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags`
16142 LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs`
16143 CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS"
16144 LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS"
16145 cat >>confdefs.h <<\_ACEOF
16146@%:@define SMARTCARD 1
16147_ACEOF
16148
16149 cat >>confdefs.h <<\_ACEOF
16150@%:@define USE_OPENSC 1
16151_ACEOF
16152
16153 SCARD_MSG="yes, using OpenSC"
16154 fi
16155fi
16156
16157# Check whether user wants Kerberos 5 support
16158KRB5_MSG="no"
16159
16160# Check whether --with-kerberos5 or --without-kerberos5 was given.
16161if test "${with_kerberos5+set}" = set; then
16162 withval="$with_kerberos5"
16163
16164 if test "x$withval" != "xno" ; then
16165 if test "x$withval" = "xyes" ; then
16166 KRB5ROOT="/usr/local"
16167 else
16168 KRB5ROOT=${withval}
16169 fi
16170 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
16171 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
16172 cat >>confdefs.h <<\_ACEOF
16173@%:@define KRB5 1
16174_ACEOF
16175
16176 KRB5_MSG="yes"
16177 echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
16178echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
16179 cat >conftest.$ac_ext <<_ACEOF
16180#line $LINENO "configure"
16181/* confdefs.h. */
16182_ACEOF
16183cat confdefs.h >>conftest.$ac_ext
16184cat >>conftest.$ac_ext <<_ACEOF
16185/* end confdefs.h. */
16186 #include <krb5.h>
16187int
16188main ()
16189{
16190 char *tmp = heimdal_version;
16191 ;
16192 return 0;
16193}
16194_ACEOF
16195rm -f conftest.$ac_objext
16196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16197 (eval $ac_compile) 2>&5
16198 ac_status=$?
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try='test -s conftest.$ac_objext'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; }; then
16207 echo "$as_me:$LINENO: result: yes" >&5
16208echo "${ECHO_T}yes" >&6
16209 cat >>confdefs.h <<\_ACEOF
16210@%:@define HEIMDAL 1
16211_ACEOF
16212
16213 K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
16214
16215else
16216 echo "$as_me: failed program was:" >&5
16217sed 's/^/| /' conftest.$ac_ext >&5
16218
16219 echo "$as_me:$LINENO: result: no" >&5
16220echo "${ECHO_T}no" >&6
16221 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
16222
16223
16224fi
16225rm -f conftest.$ac_objext conftest.$ac_ext
16226 if test ! -z "$need_dash_r" ; then
16227 LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib"
16228 fi
16229 if test ! -z "$blibpath" ; then
16230 blibpath="$blibpath:${KRB5ROOT}/lib"
16231 fi
16232
16233echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
16234echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
16235if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16237else
16238 ac_check_lib_save_LIBS=$LIBS
16239LIBS="-lresolv $LIBS"
16240cat >conftest.$ac_ext <<_ACEOF
16241#line $LINENO "configure"
16242/* confdefs.h. */
16243_ACEOF
16244cat confdefs.h >>conftest.$ac_ext
16245cat >>conftest.$ac_ext <<_ACEOF
16246/* end confdefs.h. */
16247
16248/* Override any gcc2 internal prototype to avoid an error. */
16249#ifdef __cplusplus
16250extern "C"
16251#endif
16252/* We use char because int might match the return type of a gcc2
16253 builtin and then its argument prototype would still apply. */
16254char dn_expand ();
16255int
16256main ()
16257{
16258dn_expand ();
16259 ;
16260 return 0;
16261}
16262_ACEOF
16263rm -f conftest.$ac_objext conftest$ac_exeext
16264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16265 (eval $ac_link) 2>&5
16266 ac_status=$?
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } &&
16269 { ac_try='test -s conftest$ac_exeext'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16272 ac_status=$?
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; }; then
16275 ac_cv_lib_resolv_dn_expand=yes
16276else
16277 echo "$as_me: failed program was:" >&5
16278sed 's/^/| /' conftest.$ac_ext >&5
16279
16280ac_cv_lib_resolv_dn_expand=no
16281fi
16282rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16283LIBS=$ac_check_lib_save_LIBS
16284fi
16285echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
16286echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
16287if test $ac_cv_lib_resolv_dn_expand = yes; then
16288 cat >>confdefs.h <<_ACEOF
16289@%:@define HAVE_LIBRESOLV 1
16290_ACEOF
16291
16292 LIBS="-lresolv $LIBS"
16293
16294fi
16295
16296
16297 KRB5=yes
16298 fi
16299
16300
16301fi;
16302# Check whether user wants Kerberos 4 support
16303KRB4_MSG="no"
16304
16305# Check whether --with-kerberos4 or --without-kerberos4 was given.
16306if test "${with_kerberos4+set}" = set; then
16307 withval="$with_kerberos4"
16308
16309 if test "x$withval" != "xno" ; then
16310 if test "x$withval" != "xyes" ; then
16311 CPPFLAGS="$CPPFLAGS -I${withval}/include"
16312 LDFLAGS="$LDFLAGS -L${withval}/lib"
16313 if test ! -z "$need_dash_r" ; then
16314 LDFLAGS="$LDFLAGS -R${withval}/lib"
16315 fi
16316 if test ! -z "$blibpath" ; then
16317 blibpath="$blibpath:${withval}/lib"
16318 fi
16319 else
16320 if test -d /usr/include/kerberosIV ; then
16321 CPPFLAGS="$CPPFLAGS -I/usr/include/kerberosIV"
16322 fi
16323 fi
16324
16325
16326for ac_header in krb.h
16327do
16328as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16329if eval "test \"\${$as_ac_Header+set}\" = set"; then
16330 echo "$as_me:$LINENO: checking for $ac_header" >&5
16331echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16332if eval "test \"\${$as_ac_Header+set}\" = set"; then
16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16334fi
16335echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16336echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16337else
16338 # Is the header compilable?
16339echo "$as_me:$LINENO: checking $ac_header usability" >&5
16340echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16341cat >conftest.$ac_ext <<_ACEOF
16342#line $LINENO "configure"
16343/* confdefs.h. */
16344_ACEOF
16345cat confdefs.h >>conftest.$ac_ext
16346cat >>conftest.$ac_ext <<_ACEOF
16347/* end confdefs.h. */
16348$ac_includes_default
16349@%:@include <$ac_header>
16350_ACEOF
16351rm -f conftest.$ac_objext
16352if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16353 (eval $ac_compile) 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try='test -s conftest.$ac_objext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16360 ac_status=$?
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16363 ac_header_compiler=yes
16364else
16365 echo "$as_me: failed program was:" >&5
16366sed 's/^/| /' conftest.$ac_ext >&5
16367
16368ac_header_compiler=no
16369fi
16370rm -f conftest.$ac_objext conftest.$ac_ext
16371echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16372echo "${ECHO_T}$ac_header_compiler" >&6
16373
16374# Is the header present?
16375echo "$as_me:$LINENO: checking $ac_header presence" >&5
16376echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16377cat >conftest.$ac_ext <<_ACEOF
16378#line $LINENO "configure"
16379/* confdefs.h. */
16380_ACEOF
16381cat confdefs.h >>conftest.$ac_ext
16382cat >>conftest.$ac_ext <<_ACEOF
16383/* end confdefs.h. */
16384@%:@include <$ac_header>
16385_ACEOF
16386if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16388 ac_status=$?
16389 grep -v '^ *+' conftest.er1 >conftest.err
16390 rm -f conftest.er1
16391 cat conftest.err >&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } >/dev/null; then
16394 if test -s conftest.err; then
16395 ac_cpp_err=$ac_c_preproc_warn_flag
16396 else
16397 ac_cpp_err=
16398 fi
16399else
16400 ac_cpp_err=yes
16401fi
16402if test -z "$ac_cpp_err"; then
16403 ac_header_preproc=yes
16404else
16405 echo "$as_me: failed program was:" >&5
16406sed 's/^/| /' conftest.$ac_ext >&5
16407
16408 ac_header_preproc=no
16409fi
16410rm -f conftest.err conftest.$ac_ext
16411echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16412echo "${ECHO_T}$ac_header_preproc" >&6
16413
16414# So? What about this header?
16415case $ac_header_compiler:$ac_header_preproc in
16416 yes:no )
16417 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16418echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16420echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16421 (
16422 cat <<\_ASBOX
16423@%:@@%:@ ------------------------------------ @%:@@%:@
16424@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
16425@%:@@%:@ ------------------------------------ @%:@@%:@
16426_ASBOX
16427 ) |
16428 sed "s/^/$as_me: WARNING: /" >&2
16429 ;;
16430 no:yes )
16431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16432echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16434echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16436echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16437 (
16438 cat <<\_ASBOX
16439@%:@@%:@ ------------------------------------ @%:@@%:@
16440@%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@
16441@%:@@%:@ ------------------------------------ @%:@@%:@
16442_ASBOX
16443 ) |
16444 sed "s/^/$as_me: WARNING: /" >&2
16445 ;;
16446esac
16447echo "$as_me:$LINENO: checking for $ac_header" >&5
16448echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16449if eval "test \"\${$as_ac_Header+set}\" = set"; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16451else
16452 eval "$as_ac_Header=$ac_header_preproc"
16453fi
16454echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16455echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16456
16457fi
16458if test `eval echo '${'$as_ac_Header'}'` = yes; then
16459 cat >>confdefs.h <<_ACEOF
16460@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16461_ACEOF
16462
16463fi
16464
16465done
16466
16467 if test "$ac_cv_header_krb_h" != yes; then
16468 { echo "$as_me:$LINENO: WARNING: Cannot find krb.h, build may fail" >&5
16469echo "$as_me: WARNING: Cannot find krb.h, build may fail" >&2;}
16470 fi
16471
16472echo "$as_me:$LINENO: checking for main in -lkrb" >&5
16473echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6
16474if test "${ac_cv_lib_krb_main+set}" = set; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16476else
16477 ac_check_lib_save_LIBS=$LIBS
16478LIBS="-lkrb $LIBS"
16479cat >conftest.$ac_ext <<_ACEOF
16480#line $LINENO "configure"
16481/* confdefs.h. */
16482_ACEOF
16483cat confdefs.h >>conftest.$ac_ext
16484cat >>conftest.$ac_ext <<_ACEOF
16485/* end confdefs.h. */
16486
16487
16488int
16489main ()
16490{
16491main ();
16492 ;
16493 return 0;
16494}
16495_ACEOF
16496rm -f conftest.$ac_objext conftest$ac_exeext
16497if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16498 (eval $ac_link) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } &&
16502 { ac_try='test -s conftest$ac_exeext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16508 ac_cv_lib_krb_main=yes
16509else
16510 echo "$as_me: failed program was:" >&5
16511sed 's/^/| /' conftest.$ac_ext >&5
16512
16513ac_cv_lib_krb_main=no
16514fi
16515rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16516LIBS=$ac_check_lib_save_LIBS
16517fi
16518echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5
16519echo "${ECHO_T}$ac_cv_lib_krb_main" >&6
16520if test $ac_cv_lib_krb_main = yes; then
16521 cat >>confdefs.h <<_ACEOF
16522@%:@define HAVE_LIBKRB 1
16523_ACEOF
16524
16525 LIBS="-lkrb $LIBS"
16526
16527fi
16528
16529 if test "$ac_cv_lib_krb_main" != yes; then
16530
16531echo "$as_me:$LINENO: checking for main in -lkrb4" >&5
16532echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6
16533if test "${ac_cv_lib_krb4_main+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16535else
16536 ac_check_lib_save_LIBS=$LIBS
16537LIBS="-lkrb4 $LIBS"
16538cat >conftest.$ac_ext <<_ACEOF
16539#line $LINENO "configure"
16540/* confdefs.h. */
16541_ACEOF
16542cat confdefs.h >>conftest.$ac_ext
16543cat >>conftest.$ac_ext <<_ACEOF
16544/* end confdefs.h. */
16545
16546
16547int
16548main ()
16549{
16550main ();
16551 ;
16552 return 0;
16553}
16554_ACEOF
16555rm -f conftest.$ac_objext conftest$ac_exeext
16556if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16557 (eval $ac_link) 2>&5
16558 ac_status=$?
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -s conftest$ac_exeext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16564 ac_status=$?
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 ac_cv_lib_krb4_main=yes
16568else
16569 echo "$as_me: failed program was:" >&5
16570sed 's/^/| /' conftest.$ac_ext >&5
16571
16572ac_cv_lib_krb4_main=no
16573fi
16574rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16575LIBS=$ac_check_lib_save_LIBS
16576fi
16577echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5
16578echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6
16579if test $ac_cv_lib_krb4_main = yes; then
16580 cat >>confdefs.h <<_ACEOF
16581@%:@define HAVE_LIBKRB4 1
16582_ACEOF
16583
16584 LIBS="-lkrb4 $LIBS"
16585
16586fi
16587
16588 if test "$ac_cv_lib_krb4_main" != yes; then
16589 { echo "$as_me:$LINENO: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&5
16590echo "$as_me: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&2;}
16591 else
16592 KLIBS="-lkrb4"
16593 fi
16594 else
16595 KLIBS="-lkrb"
16596 fi
16597
16598echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
16599echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
16600if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16602else
16603 ac_check_lib_save_LIBS=$LIBS
16604LIBS="-ldes $LIBS"
16605cat >conftest.$ac_ext <<_ACEOF
16606#line $LINENO "configure"
16607/* confdefs.h. */
16608_ACEOF
16609cat confdefs.h >>conftest.$ac_ext
16610cat >>conftest.$ac_ext <<_ACEOF
16611/* end confdefs.h. */
16612
16613/* Override any gcc2 internal prototype to avoid an error. */
16614#ifdef __cplusplus
16615extern "C"
16616#endif
16617/* We use char because int might match the return type of a gcc2
16618 builtin and then its argument prototype would still apply. */
16619char des_cbc_encrypt ();
16620int
16621main ()
16622{
16623des_cbc_encrypt ();
16624 ;
16625 return 0;
16626}
16627_ACEOF
16628rm -f conftest.$ac_objext conftest$ac_exeext
16629if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16630 (eval $ac_link) 2>&5
16631 ac_status=$?
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); } &&
16634 { ac_try='test -s conftest$ac_exeext'
16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16636 (eval $ac_try) 2>&5
16637 ac_status=$?
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; }; then
16640 ac_cv_lib_des_des_cbc_encrypt=yes
16641else
16642 echo "$as_me: failed program was:" >&5
16643sed 's/^/| /' conftest.$ac_ext >&5
16644
16645ac_cv_lib_des_des_cbc_encrypt=no
16646fi
16647rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16648LIBS=$ac_check_lib_save_LIBS
16649fi
16650echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
16651echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
16652if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
16653 cat >>confdefs.h <<_ACEOF
16654@%:@define HAVE_LIBDES 1
16655_ACEOF
16656
16657 LIBS="-ldes $LIBS"
16658
16659fi
16660
16661 if test "$ac_cv_lib_des_des_cbc_encrypt" != yes; then
16662
16663echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
16664echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
16665if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6
16667else
16668 ac_check_lib_save_LIBS=$LIBS
16669LIBS="-ldes425 $LIBS"
16670cat >conftest.$ac_ext <<_ACEOF
16671#line $LINENO "configure"
16672/* confdefs.h. */
16673_ACEOF
16674cat confdefs.h >>conftest.$ac_ext
16675cat >>conftest.$ac_ext <<_ACEOF
16676/* end confdefs.h. */
16677
16678/* Override any gcc2 internal prototype to avoid an error. */
16679#ifdef __cplusplus
16680extern "C"
16681#endif
16682/* We use char because int might match the return type of a gcc2
16683 builtin and then its argument prototype would still apply. */
16684char des_cbc_encrypt ();
16685int
16686main ()
16687{
16688des_cbc_encrypt ();
16689 ;
16690 return 0;
16691}
16692_ACEOF
16693rm -f conftest.$ac_objext conftest$ac_exeext
16694if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16695 (eval $ac_link) 2>&5
16696 ac_status=$?
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } &&
16699 { ac_try='test -s conftest$ac_exeext'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16702 ac_status=$?
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; }; then
16705 ac_cv_lib_des425_des_cbc_encrypt=yes
16706else
16707 echo "$as_me: failed program was:" >&5
16708sed 's/^/| /' conftest.$ac_ext >&5
16709
16710ac_cv_lib_des425_des_cbc_encrypt=no
16711fi
16712rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16713LIBS=$ac_check_lib_save_LIBS
16714fi
16715echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
16716echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
16717if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
16718 cat >>confdefs.h <<_ACEOF
16719@%:@define HAVE_LIBDES425 1
16720_ACEOF
16721
16722 LIBS="-ldes425 $LIBS"
16723
16724fi
16725
16726 if test "$ac_cv_lib_des425_des_cbc_encrypt" != yes; then
16727 { echo "$as_me:$LINENO: WARNING: Cannot find libdes nor libdes425, build may fail" >&5
16728echo "$as_me: WARNING: Cannot find libdes nor libdes425, build may fail" >&2;}
16729 else
16730 KLIBS="-ldes425"
16731 fi
16732 else
16733 KLIBS="-ldes"
16734 fi
16735
16736echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
16737echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
16738if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
16739 echo $ECHO_N "(cached) $ECHO_C" >&6
16740else
16741 ac_check_lib_save_LIBS=$LIBS
16742LIBS="-lresolv $LIBS"
16743cat >conftest.$ac_ext <<_ACEOF
16744#line $LINENO "configure"
16745/* confdefs.h. */
16746_ACEOF
16747cat confdefs.h >>conftest.$ac_ext
16748cat >>conftest.$ac_ext <<_ACEOF
16749/* end confdefs.h. */
16750
16751/* Override any gcc2 internal prototype to avoid an error. */
16752#ifdef __cplusplus
16753extern "C"
16754#endif
16755/* We use char because int might match the return type of a gcc2
16756 builtin and then its argument prototype would still apply. */
16757char dn_expand ();
16758int
16759main ()
16760{
16761dn_expand ();
16762 ;
16763 return 0;
16764}
16765_ACEOF
16766rm -f conftest.$ac_objext conftest$ac_exeext
16767if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16768 (eval $ac_link) 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try='test -s conftest$ac_exeext'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16775 ac_status=$?
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; }; then
16778 ac_cv_lib_resolv_dn_expand=yes
16779else
16780 echo "$as_me: failed program was:" >&5
16781sed 's/^/| /' conftest.$ac_ext >&5
16782
16783ac_cv_lib_resolv_dn_expand=no
16784fi
16785rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16786LIBS=$ac_check_lib_save_LIBS
16787fi
16788echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
16789echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
16790if test $ac_cv_lib_resolv_dn_expand = yes; then
16791 cat >>confdefs.h <<_ACEOF
16792@%:@define HAVE_LIBRESOLV 1
16793_ACEOF
16794
16795 LIBS="-lresolv $LIBS"
16796
16797fi
16798
16799 KRB4=yes
16800 KRB4_MSG="yes"
16801 cat >>confdefs.h <<\_ACEOF
16802@%:@define KRB4 1
16803_ACEOF
16804
16805 fi
16806
16807
16808fi;
16809
16810# Check whether user wants AFS support
16811AFS_MSG="no"
16812
16813# Check whether --with-afs or --without-afs was given.
16814if test "${with_afs+set}" = set; then
16815 withval="$with_afs"
16816
16817 if test "x$withval" != "xno" ; then
16818
16819 if test "x$withval" != "xyes" ; then
16820 CPPFLAGS="$CPPFLAGS -I${withval}/include"
16821 LDFLAGS="$LDFLAGS -L${withval}/lib"
16822 fi
16823
16824 if test -z "$KRB4" ; then
16825 { echo "$as_me:$LINENO: WARNING: AFS requires Kerberos IV support, build may fail" >&5
16826echo "$as_me: WARNING: AFS requires Kerberos IV support, build may fail" >&2;}
16827 fi
16828
16829 LIBS="-lkafs $LIBS"
16830 if test ! -z "$AFS_LIBS" ; then
16831 LIBS="$LIBS $AFS_LIBS"
16832 fi
16833 cat >>confdefs.h <<\_ACEOF
16834@%:@define AFS 1
16835_ACEOF
16836
16837 AFS_MSG="yes"
16838 fi
16839
16840
16841fi;
16842LIBS="$LIBS $KLIBS $K5LIBS"
16843
16844# Looking for programs, paths and files
16845
16846PRIVSEP_PATH=/var/empty
16847
16848# Check whether --with-privsep-path or --without-privsep-path was given.
16849if test "${with_privsep_path+set}" = set; then
16850 withval="$with_privsep_path"
16851
16852 if test "x$withval" != "$no" ; then
16853 PRIVSEP_PATH=$withval
16854 fi
16855
16856
16857fi;
16858
16859
16860
16861# Check whether --with-xauth or --without-xauth was given.
16862if test "${with_xauth+set}" = set; then
16863 withval="$with_xauth"
16864
16865 if test "x$withval" != "xno" ; then
16866 xauth_path=$withval
16867 fi
16868
16869else
16870
16871 TestPath="$PATH"
16872 TestPath="${TestPath}${PATH_SEPARATOR}/usr/X/bin"
16873 TestPath="${TestPath}${PATH_SEPARATOR}/usr/bin/X11"
16874 TestPath="${TestPath}${PATH_SEPARATOR}/usr/X11R6/bin"
16875 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
16876 # Extract the first word of "xauth", so it can be a program name with args.
16877set dummy xauth; ac_word=$2
16878echo "$as_me:$LINENO: checking for $ac_word" >&5
16879echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16880if test "${ac_cv_path_xauth_path+set}" = set; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16882else
16883 case $xauth_path in
16884 [\\/]* | ?:[\\/]*)
16885 ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path.
16886 ;;
16887 *)
16888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16889for as_dir in $TestPath
16890do
16891 IFS=$as_save_IFS
16892 test -z "$as_dir" && as_dir=.
16893 for ac_exec_ext in '' $ac_executable_extensions; do
16894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16895 ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
16896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16897 break 2
16898 fi
16899done
16900done
16901
16902 ;;
16903esac
16904fi
16905xauth_path=$ac_cv_path_xauth_path
16906
16907if test -n "$xauth_path"; then
16908 echo "$as_me:$LINENO: result: $xauth_path" >&5
16909echo "${ECHO_T}$xauth_path" >&6
16910else
16911 echo "$as_me:$LINENO: result: no" >&5
16912echo "${ECHO_T}no" >&6
16913fi
16914
16915 if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then
16916 xauth_path="/usr/openwin/bin/xauth"
16917 fi
16918
16919
16920fi;
16921
16922STRIP_OPT=-s
16923# Check whether --enable-strip or --disable-strip was given.
16924if test "${enable_strip+set}" = set; then
16925 enableval="$enable_strip"
16926
16927 if test "x$enableval" = "xno" ; then
16928 STRIP_OPT=
16929 fi
16930
16931
16932fi;
16933
16934
16935if test -z "$xauth_path" ; then
16936 XAUTH_PATH="undefined"
16937
16938else
16939 cat >>confdefs.h <<_ACEOF
16940@%:@define XAUTH_PATH "$xauth_path"
16941_ACEOF
16942
16943 XAUTH_PATH=$xauth_path
16944
16945fi
16946
16947# Check for mail directory (last resort if we cannot get it from headers)
16948if test ! -z "$MAIL" ; then
16949 maildir=`dirname $MAIL`
16950 cat >>confdefs.h <<_ACEOF
16951@%:@define MAIL_DIRECTORY "$maildir"
16952_ACEOF
16953
16954fi
16955
16956if test -z "$no_dev_ptmx" ; then
16957 if test "x$disable_ptmx_check" != "xyes" ; then
16958 echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
16959echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
16960if test "${ac_cv_file___dev_ptmx_+set}" = set; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16962else
16963 test "$cross_compiling" = yes &&
16964 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16965echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16966 { (exit 1); exit 1; }; }
16967if test -r ""/dev/ptmx""; then
16968 ac_cv_file___dev_ptmx_=yes
16969else
16970 ac_cv_file___dev_ptmx_=no
16971fi
16972fi
16973echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
16974echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
16975if test $ac_cv_file___dev_ptmx_ = yes; then
16976
16977 cat >>confdefs.h <<_ACEOF
16978@%:@define HAVE_DEV_PTMX 1
16979_ACEOF
16980
16981 have_dev_ptmx=1
16982
16983
16984fi
16985
16986 fi
16987fi
16988echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
16989echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
16990if test "${ac_cv_file___dev_ptc_+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992else
16993 test "$cross_compiling" = yes &&
16994 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16995echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16996 { (exit 1); exit 1; }; }
16997if test -r ""/dev/ptc""; then
16998 ac_cv_file___dev_ptc_=yes
16999else
17000 ac_cv_file___dev_ptc_=no
17001fi
17002fi
17003echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
17004echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
17005if test $ac_cv_file___dev_ptc_ = yes; then
17006
17007 cat >>confdefs.h <<_ACEOF
17008@%:@define HAVE_DEV_PTS_AND_PTC 1
17009_ACEOF
17010
17011 have_dev_ptc=1
17012
17013
17014fi
17015
17016
17017# Options from here on. Some of these are preset by platform above
17018
17019# Check whether --with-mantype or --without-mantype was given.
17020if test "${with_mantype+set}" = set; then
17021 withval="$with_mantype"
17022
17023 case "$withval" in
17024 man|cat|doc)
17025 MANTYPE=$withval
17026 ;;
17027 *)
17028 { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5
17029echo "$as_me: error: invalid man type: $withval" >&2;}
17030 { (exit 1); exit 1; }; }
17031 ;;
17032 esac
17033
17034
17035fi;
17036if test -z "$MANTYPE"; then
17037 TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb"
17038 for ac_prog in nroff awf
17039do
17040 # Extract the first word of "$ac_prog", so it can be a program name with args.
17041set dummy $ac_prog; ac_word=$2
17042echo "$as_me:$LINENO: checking for $ac_word" >&5
17043echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17044if test "${ac_cv_path_NROFF+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046else
17047 case $NROFF in
17048 [\\/]* | ?:[\\/]*)
17049 ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
17050 ;;
17051 *)
17052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17053for as_dir in $TestPath
17054do
17055 IFS=$as_save_IFS
17056 test -z "$as_dir" && as_dir=.
17057 for ac_exec_ext in '' $ac_executable_extensions; do
17058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17059 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
17060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17061 break 2
17062 fi
17063done
17064done
17065
17066 ;;
17067esac
17068fi
17069NROFF=$ac_cv_path_NROFF
17070
17071if test -n "$NROFF"; then
17072 echo "$as_me:$LINENO: result: $NROFF" >&5
17073echo "${ECHO_T}$NROFF" >&6
17074else
17075 echo "$as_me:$LINENO: result: no" >&5
17076echo "${ECHO_T}no" >&6
17077fi
17078
17079 test -n "$NROFF" && break
17080done
17081test -n "$NROFF" || NROFF="/bin/false"
17082
17083 if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then
17084 MANTYPE=doc
17085 elif ${NROFF} -man ${srcdir}/ssh.1 >/dev/null 2>&1; then
17086 MANTYPE=man
17087 else
17088 MANTYPE=cat
17089 fi
17090fi
17091
17092if test "$MANTYPE" = "doc"; then
17093 mansubdir=man;
17094else
17095 mansubdir=$MANTYPE;
17096fi
17097
17098
17099# Check whether to enable MD5 passwords
17100MD5_MSG="no"
17101
17102# Check whether --with-md5-passwords or --without-md5-passwords was given.
17103if test "${with_md5_passwords+set}" = set; then
17104 withval="$with_md5_passwords"
17105
17106 if test "x$withval" != "xno" ; then
17107 cat >>confdefs.h <<\_ACEOF
17108@%:@define HAVE_MD5_PASSWORDS 1
17109_ACEOF
17110
17111 MD5_MSG="yes"
17112 fi
17113
17114
17115fi;
17116
17117# Whether to disable shadow password support
17118
17119# Check whether --with-shadow or --without-shadow was given.
17120if test "${with_shadow+set}" = set; then
17121 withval="$with_shadow"
17122
17123 if test "x$withval" = "xno" ; then
17124 cat >>confdefs.h <<\_ACEOF
17125@%:@define DISABLE_SHADOW 1
17126_ACEOF
17127
17128 disable_shadow=yes
17129 fi
17130
17131
17132fi;
17133
17134if test -z "$disable_shadow" ; then
17135 echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5
17136echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6
17137 cat >conftest.$ac_ext <<_ACEOF
17138#line $LINENO "configure"
17139/* confdefs.h. */
17140_ACEOF
17141cat confdefs.h >>conftest.$ac_ext
17142cat >>conftest.$ac_ext <<_ACEOF
17143/* end confdefs.h. */
17144
17145#include <sys/types.h>
17146#include <shadow.h>
17147 struct spwd sp;
17148
17149int
17150main ()
17151{
17152 sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0;
17153 ;
17154 return 0;
17155}
17156_ACEOF
17157rm -f conftest.$ac_objext
17158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>&5
17160 ac_status=$?
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } &&
17163 { ac_try='test -s conftest.$ac_objext'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17166 ac_status=$?
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17169 sp_expire_available=yes
17170else
17171 echo "$as_me: failed program was:" >&5
17172sed 's/^/| /' conftest.$ac_ext >&5
17173
17174
17175
17176fi
17177rm -f conftest.$ac_objext conftest.$ac_ext
17178
17179 if test "x$sp_expire_available" = "xyes" ; then
17180 echo "$as_me:$LINENO: result: yes" >&5
17181echo "${ECHO_T}yes" >&6
17182 cat >>confdefs.h <<\_ACEOF
17183@%:@define HAS_SHADOW_EXPIRE 1
17184_ACEOF
17185
17186 else
17187 echo "$as_me:$LINENO: result: no" >&5
17188echo "${ECHO_T}no" >&6
17189 fi
17190fi
17191
17192# Use ip address instead of hostname in $DISPLAY
17193if test ! -z "$IPADDR_IN_DISPLAY" ; then
17194 DISPLAY_HACK_MSG="yes"
17195 cat >>confdefs.h <<\_ACEOF
17196@%:@define IPADDR_IN_DISPLAY 1
17197_ACEOF
17198
17199else
17200 DISPLAY_HACK_MSG="no"
17201
17202# Check whether --with-ipaddr-display or --without-ipaddr-display was given.
17203if test "${with_ipaddr_display+set}" = set; then
17204 withval="$with_ipaddr_display"
17205
17206 if test "x$withval" != "xno" ; then
17207 cat >>confdefs.h <<\_ACEOF
17208@%:@define IPADDR_IN_DISPLAY 1
17209_ACEOF
17210
17211 DISPLAY_HACK_MSG="yes"
17212 fi
17213
17214
17215fi;
17216fi
17217
17218if test $ac_cv_func_login_getcapbool = "yes" -a \
17219 $ac_cv_header_login_cap_h = "yes" ; then
17220 USES_LOGIN_CONF=yes
17221fi
17222# Whether to mess with the default path
17223SERVER_PATH_MSG="(default)"
17224
17225# Check whether --with-default-path or --without-default-path was given.
17226if test "${with_default_path+set}" = set; then
17227 withval="$with_default_path"
17228
17229 if test "$USES_LOGIN_CONF" = "yes" ; then
17230 { echo "$as_me:$LINENO: WARNING:
17231--with-default-path=PATH has no effect on this system.
17232Edit /etc/login.conf instead." >&5
17233echo "$as_me: WARNING:
17234--with-default-path=PATH has no effect on this system.
17235Edit /etc/login.conf instead." >&2;}
17236 elif test "x$withval" != "xno" ; then
17237 user_path="$withval"
17238 SERVER_PATH_MSG="$withval"
17239 fi
17240
17241else
17242 if test "$USES_LOGIN_CONF" = "yes" ; then
17243 { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
17244echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
17245 else
17246 if test "$cross_compiling" = yes; then
17247 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
17248
17249else
17250 cat >conftest.$ac_ext <<_ACEOF
17251#line $LINENO "configure"
17252/* confdefs.h. */
17253_ACEOF
17254cat confdefs.h >>conftest.$ac_ext
17255cat >>conftest.$ac_ext <<_ACEOF
17256/* end confdefs.h. */
17257
17258/* find out what STDPATH is */
17259#include <stdio.h>
17260#ifdef HAVE_PATHS_H
17261# include <paths.h>
17262#endif
17263#ifndef _PATH_STDPATH
17264# ifdef _PATH_USERPATH /* Irix */
17265# define _PATH_STDPATH _PATH_USERPATH
17266# else
17267# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
17268# endif
17269#endif
17270#include <sys/types.h>
17271#include <sys/stat.h>
17272#include <fcntl.h>
17273#define DATA "conftest.stdpath"
17274
17275main()
17276{
17277 FILE *fd;
17278 int rc;
17279
17280 fd = fopen(DATA,"w");
17281 if(fd == NULL)
17282 exit(1);
17283
17284 if ((rc = fprintf(fd,"%s", _PATH_STDPATH)) < 0)
17285 exit(1);
17286
17287 exit(0);
17288}
17289
17290_ACEOF
17291rm -f conftest$ac_exeext
17292if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17293 (eval $ac_link) 2>&5
17294 ac_status=$?
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17302 user_path=`cat conftest.stdpath`
17303else
17304 echo "$as_me: program exited with status $ac_status" >&5
17305echo "$as_me: failed program was:" >&5
17306sed 's/^/| /' conftest.$ac_ext >&5
17307
17308( exit $ac_status )
17309 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
17310fi
17311rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17312fi
17313# make sure $bindir is in USER_PATH so scp will work
17314 t_bindir=`eval echo ${bindir}`
17315 case $t_bindir in
17316 NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;;
17317 esac
17318 case $t_bindir in
17319 NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$ac_default_prefix~"` ;;
17320 esac
17321 echo $user_path | grep ":$t_bindir" > /dev/null 2>&1
17322 if test $? -ne 0 ; then
17323 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1
17324 if test $? -ne 0 ; then
17325 user_path=$user_path:$t_bindir
17326 echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5
17327echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
17328 fi
17329 fi
17330 fi
17331
17332fi;
17333if test "$USES_LOGIN_CONF" != "yes" ; then
17334 cat >>confdefs.h <<_ACEOF
17335@%:@define USER_PATH "$user_path"
17336_ACEOF
17337
17338
17339fi
17340
17341# Set superuser path separately to user path
17342
17343# Check whether --with-superuser-path or --without-superuser-path was given.
17344if test "${with_superuser_path+set}" = set; then
17345 withval="$with_superuser_path"
17346
17347 if test "x$withval" != "xno" ; then
17348 cat >>confdefs.h <<_ACEOF
17349@%:@define SUPERUSER_PATH "$withval"
17350_ACEOF
17351
17352 superuser_path=$withval
17353 fi
17354
17355
17356fi;
17357
17358
17359# Whether to force IPv4 by default (needed on broken glibc Linux)
17360IPV4_HACK_MSG="no"
17361
17362# Check whether --with-ipv4-default or --without-ipv4-default was given.
17363if test "${with_ipv4_default+set}" = set; then
17364 withval="$with_ipv4_default"
17365
17366 if test "x$withval" != "xno" ; then
17367 cat >>confdefs.h <<\_ACEOF
17368@%:@define IPV4_DEFAULT 1
17369_ACEOF
17370
17371 IPV4_HACK_MSG="yes"
17372 fi
17373
17374
17375fi;
17376
17377echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
17378echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6
17379IPV4_IN6_HACK_MSG="no"
17380
17381# Check whether --with-4in6 or --without-4in6 was given.
17382if test "${with_4in6+set}" = set; then
17383 withval="$with_4in6"
17384
17385 if test "x$withval" != "xno" ; then
17386 echo "$as_me:$LINENO: result: yes" >&5
17387echo "${ECHO_T}yes" >&6
17388 cat >>confdefs.h <<\_ACEOF
17389@%:@define IPV4_IN_IPV6 1
17390_ACEOF
17391
17392 IPV4_IN6_HACK_MSG="yes"
17393 else
17394 echo "$as_me:$LINENO: result: no" >&5
17395echo "${ECHO_T}no" >&6
17396 fi
17397
17398else
17399
17400 if test "x$inet6_default_4in6" = "xyes"; then
17401 echo "$as_me:$LINENO: result: yes (default)" >&5
17402echo "${ECHO_T}yes (default)" >&6
17403 cat >>confdefs.h <<\_ACEOF
17404@%:@define IPV4_IN_IPV6 1
17405_ACEOF
17406
17407 IPV4_IN6_HACK_MSG="yes"
17408 else
17409 echo "$as_me:$LINENO: result: no (default)" >&5
17410echo "${ECHO_T}no (default)" >&6
17411 fi
17412
17413
17414fi;
17415
17416# Whether to enable BSD auth support
17417BSD_AUTH_MSG=no
17418
17419# Check whether --with-bsd-auth or --without-bsd-auth was given.
17420if test "${with_bsd_auth+set}" = set; then
17421 withval="$with_bsd_auth"
17422
17423 if test "x$withval" != "xno" ; then
17424 cat >>confdefs.h <<\_ACEOF
17425@%:@define BSD_AUTH 1
17426_ACEOF
17427
17428 BSD_AUTH_MSG=yes
17429 fi
17430
17431
17432fi;
17433
17434# Where to place sshd.pid
17435piddir=/var/run
17436# make sure the directory exists
17437if test ! -d $piddir ; then
17438 piddir=`eval echo ${sysconfdir}`
17439 case $piddir in
17440 NONE/*) piddir=`echo $piddir | sed "s~NONE~$ac_default_prefix~"` ;;
17441 esac
17442fi
17443
17444
17445# Check whether --with-pid-dir or --without-pid-dir was given.
17446if test "${with_pid_dir+set}" = set; then
17447 withval="$with_pid_dir"
17448
17449 if test "x$withval" != "xno" ; then
17450 piddir=$withval
17451 if test ! -d $piddir ; then
17452 { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5
17453echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
17454 fi
17455 fi
17456
17457
17458fi;
17459
17460cat >>confdefs.h <<_ACEOF
17461@%:@define _PATH_SSH_PIDDIR "$piddir"
17462_ACEOF
17463
17464
17465
17466# Check whether --enable-lastlog or --disable-lastlog was given.
17467if test "${enable_lastlog+set}" = set; then
17468 enableval="$enable_lastlog"
17469 cat >>confdefs.h <<\_ACEOF
17470@%:@define DISABLE_LASTLOG 1
17471_ACEOF
17472
17473
17474fi;
17475# Check whether --enable-utmp or --disable-utmp was given.
17476if test "${enable_utmp+set}" = set; then
17477 enableval="$enable_utmp"
17478 cat >>confdefs.h <<\_ACEOF
17479@%:@define DISABLE_UTMP 1
17480_ACEOF
17481
17482
17483fi;
17484# Check whether --enable-utmpx or --disable-utmpx was given.
17485if test "${enable_utmpx+set}" = set; then
17486 enableval="$enable_utmpx"
17487 cat >>confdefs.h <<\_ACEOF
17488@%:@define DISABLE_UTMPX 1
17489_ACEOF
17490
17491
17492fi;
17493# Check whether --enable-wtmp or --disable-wtmp was given.
17494if test "${enable_wtmp+set}" = set; then
17495 enableval="$enable_wtmp"
17496 cat >>confdefs.h <<\_ACEOF
17497@%:@define DISABLE_WTMP 1
17498_ACEOF
17499
17500
17501fi;
17502# Check whether --enable-wtmpx or --disable-wtmpx was given.
17503if test "${enable_wtmpx+set}" = set; then
17504 enableval="$enable_wtmpx"
17505 cat >>confdefs.h <<\_ACEOF
17506@%:@define DISABLE_WTMPX 1
17507_ACEOF
17508
17509
17510fi;
17511# Check whether --enable-libutil or --disable-libutil was given.
17512if test "${enable_libutil+set}" = set; then
17513 enableval="$enable_libutil"
17514 cat >>confdefs.h <<\_ACEOF
17515@%:@define DISABLE_LOGIN 1
17516_ACEOF
17517
17518
17519fi;
17520# Check whether --enable-pututline or --disable-pututline was given.
17521if test "${enable_pututline+set}" = set; then
17522 enableval="$enable_pututline"
17523 cat >>confdefs.h <<\_ACEOF
17524@%:@define DISABLE_PUTUTLINE 1
17525_ACEOF
17526
17527
17528fi;
17529# Check whether --enable-pututxline or --disable-pututxline was given.
17530if test "${enable_pututxline+set}" = set; then
17531 enableval="$enable_pututxline"
17532 cat >>confdefs.h <<\_ACEOF
17533@%:@define DISABLE_PUTUTXLINE 1
17534_ACEOF
17535
17536
17537fi;
17538
17539# Check whether --with-lastlog or --without-lastlog was given.
17540if test "${with_lastlog+set}" = set; then
17541 withval="$with_lastlog"
17542
17543 if test "x$withval" = "xno" ; then
17544 cat >>confdefs.h <<\_ACEOF
17545@%:@define DISABLE_LASTLOG 1
17546_ACEOF
17547
17548 else
17549 conf_lastlog_location=$withval
17550 fi
17551
17552
17553fi;
17554
17555
17556echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
17557echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6
17558cat >conftest.$ac_ext <<_ACEOF
17559#line $LINENO "configure"
17560/* confdefs.h. */
17561_ACEOF
17562cat confdefs.h >>conftest.$ac_ext
17563cat >>conftest.$ac_ext <<_ACEOF
17564/* end confdefs.h. */
17565
17566#include <sys/types.h>
17567#include <utmp.h>
17568#ifdef HAVE_LASTLOG_H
17569# include <lastlog.h>
17570#endif
17571#ifdef HAVE_PATHS_H
17572# include <paths.h>
17573#endif
17574#ifdef HAVE_LOGIN_H
17575# include <login.h>
17576#endif
17577
17578int
17579main ()
17580{
17581 char *lastlog = LASTLOG_FILE;
17582 ;
17583 return 0;
17584}
17585_ACEOF
17586rm -f conftest.$ac_objext
17587if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588 (eval $ac_compile) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } &&
17592 { ac_try='test -s conftest.$ac_objext'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17595 ac_status=$?
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; }; then
17598 echo "$as_me:$LINENO: result: yes" >&5
17599echo "${ECHO_T}yes" >&6
17600else
17601 echo "$as_me: failed program was:" >&5
17602sed 's/^/| /' conftest.$ac_ext >&5
17603
17604
17605 echo "$as_me:$LINENO: result: no" >&5
17606echo "${ECHO_T}no" >&6
17607 echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
17608echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6
17609 cat >conftest.$ac_ext <<_ACEOF
17610#line $LINENO "configure"
17611/* confdefs.h. */
17612_ACEOF
17613cat confdefs.h >>conftest.$ac_ext
17614cat >>conftest.$ac_ext <<_ACEOF
17615/* end confdefs.h. */
17616
17617#include <sys/types.h>
17618#include <utmp.h>
17619#ifdef HAVE_LASTLOG_H
17620# include <lastlog.h>
17621#endif
17622#ifdef HAVE_PATHS_H
17623# include <paths.h>
17624#endif
17625
17626int
17627main ()
17628{
17629 char *lastlog = _PATH_LASTLOG;
17630 ;
17631 return 0;
17632}
17633_ACEOF
17634rm -f conftest.$ac_objext
17635if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17636 (eval $ac_compile) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); } &&
17640 { ac_try='test -s conftest.$ac_objext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17643 ac_status=$?
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 echo "$as_me:$LINENO: result: yes" >&5
17647echo "${ECHO_T}yes" >&6
17648else
17649 echo "$as_me: failed program was:" >&5
17650sed 's/^/| /' conftest.$ac_ext >&5
17651
17652
17653 echo "$as_me:$LINENO: result: no" >&5
17654echo "${ECHO_T}no" >&6
17655 system_lastlog_path=no
17656
17657fi
17658rm -f conftest.$ac_objext conftest.$ac_ext
17659
17660
17661fi
17662rm -f conftest.$ac_objext conftest.$ac_ext
17663
17664if test -z "$conf_lastlog_location"; then
17665 if test x"$system_lastlog_path" = x"no" ; then
17666 for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
17667 if (test -d "$f" || test -f "$f") ; then
17668 conf_lastlog_location=$f
17669 fi
17670 done
17671 if test -z "$conf_lastlog_location"; then
17672 { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
17673echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
17674 fi
17675 fi
17676fi
17677
17678if test -n "$conf_lastlog_location"; then
17679 cat >>confdefs.h <<_ACEOF
17680@%:@define CONF_LASTLOG_FILE "$conf_lastlog_location"
17681_ACEOF
17682
17683fi
17684
17685echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
17686echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6
17687cat >conftest.$ac_ext <<_ACEOF
17688#line $LINENO "configure"
17689/* confdefs.h. */
17690_ACEOF
17691cat confdefs.h >>conftest.$ac_ext
17692cat >>conftest.$ac_ext <<_ACEOF
17693/* end confdefs.h. */
17694
17695#include <sys/types.h>
17696#include <utmp.h>
17697#ifdef HAVE_PATHS_H
17698# include <paths.h>
17699#endif
17700
17701int
17702main ()
17703{
17704 char *utmp = UTMP_FILE;
17705 ;
17706 return 0;
17707}
17708_ACEOF
17709rm -f conftest.$ac_objext
17710if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17711 (eval $ac_compile) 2>&5
17712 ac_status=$?
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } &&
17715 { ac_try='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17718 ac_status=$?
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 echo "$as_me:$LINENO: result: yes" >&5
17722echo "${ECHO_T}yes" >&6
17723else
17724 echo "$as_me: failed program was:" >&5
17725sed 's/^/| /' conftest.$ac_ext >&5
17726
17727 echo "$as_me:$LINENO: result: no" >&5
17728echo "${ECHO_T}no" >&6
17729 system_utmp_path=no
17730
17731fi
17732rm -f conftest.$ac_objext conftest.$ac_ext
17733if test -z "$conf_utmp_location"; then
17734 if test x"$system_utmp_path" = x"no" ; then
17735 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
17736 if test -f $f ; then
17737 conf_utmp_location=$f
17738 fi
17739 done
17740 if test -z "$conf_utmp_location"; then
17741 cat >>confdefs.h <<\_ACEOF
17742@%:@define DISABLE_UTMP 1
17743_ACEOF
17744
17745 fi
17746 fi
17747fi
17748if test -n "$conf_utmp_location"; then
17749 cat >>confdefs.h <<_ACEOF
17750@%:@define CONF_UTMP_FILE "$conf_utmp_location"
17751_ACEOF
17752
17753fi
17754
17755echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
17756echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6
17757cat >conftest.$ac_ext <<_ACEOF
17758#line $LINENO "configure"
17759/* confdefs.h. */
17760_ACEOF
17761cat confdefs.h >>conftest.$ac_ext
17762cat >>conftest.$ac_ext <<_ACEOF
17763/* end confdefs.h. */
17764
17765#include <sys/types.h>
17766#include <utmp.h>
17767#ifdef HAVE_PATHS_H
17768# include <paths.h>
17769#endif
17770
17771int
17772main ()
17773{
17774 char *wtmp = WTMP_FILE;
17775 ;
17776 return 0;
17777}
17778_ACEOF
17779rm -f conftest.$ac_objext
17780if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17781 (eval $ac_compile) 2>&5
17782 ac_status=$?
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } &&
17785 { ac_try='test -s conftest.$ac_objext'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17788 ac_status=$?
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; }; then
17791 echo "$as_me:$LINENO: result: yes" >&5
17792echo "${ECHO_T}yes" >&6
17793else
17794 echo "$as_me: failed program was:" >&5
17795sed 's/^/| /' conftest.$ac_ext >&5
17796
17797 echo "$as_me:$LINENO: result: no" >&5
17798echo "${ECHO_T}no" >&6
17799 system_wtmp_path=no
17800
17801fi
17802rm -f conftest.$ac_objext conftest.$ac_ext
17803if test -z "$conf_wtmp_location"; then
17804 if test x"$system_wtmp_path" = x"no" ; then
17805 for f in /usr/adm/wtmp /var/log/wtmp; do
17806 if test -f $f ; then
17807 conf_wtmp_location=$f
17808 fi
17809 done
17810 if test -z "$conf_wtmp_location"; then
17811 cat >>confdefs.h <<\_ACEOF
17812@%:@define DISABLE_WTMP 1
17813_ACEOF
17814
17815 fi
17816 fi
17817fi
17818if test -n "$conf_wtmp_location"; then
17819 cat >>confdefs.h <<_ACEOF
17820@%:@define CONF_WTMP_FILE "$conf_wtmp_location"
17821_ACEOF
17822
17823fi
17824
17825
17826echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
17827echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6
17828cat >conftest.$ac_ext <<_ACEOF
17829#line $LINENO "configure"
17830/* confdefs.h. */
17831_ACEOF
17832cat confdefs.h >>conftest.$ac_ext
17833cat >>conftest.$ac_ext <<_ACEOF
17834/* end confdefs.h. */
17835
17836#include <sys/types.h>
17837#include <utmp.h>
17838#ifdef HAVE_UTMPX_H
17839#include <utmpx.h>
17840#endif
17841#ifdef HAVE_PATHS_H
17842# include <paths.h>
17843#endif
17844
17845int
17846main ()
17847{
17848 char *utmpx = UTMPX_FILE;
17849 ;
17850 return 0;
17851}
17852_ACEOF
17853rm -f conftest.$ac_objext
17854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17855 (eval $ac_compile) 2>&5
17856 ac_status=$?
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } &&
17859 { ac_try='test -s conftest.$ac_objext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17862 ac_status=$?
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 echo "$as_me:$LINENO: result: yes" >&5
17866echo "${ECHO_T}yes" >&6
17867else
17868 echo "$as_me: failed program was:" >&5
17869sed 's/^/| /' conftest.$ac_ext >&5
17870
17871 echo "$as_me:$LINENO: result: no" >&5
17872echo "${ECHO_T}no" >&6
17873 system_utmpx_path=no
17874
17875fi
17876rm -f conftest.$ac_objext conftest.$ac_ext
17877if test -z "$conf_utmpx_location"; then
17878 if test x"$system_utmpx_path" = x"no" ; then
17879 cat >>confdefs.h <<\_ACEOF
17880@%:@define DISABLE_UTMPX 1
17881_ACEOF
17882
17883 fi
17884else
17885 cat >>confdefs.h <<_ACEOF
17886@%:@define CONF_UTMPX_FILE "$conf_utmpx_location"
17887_ACEOF
17888
17889fi
17890
17891echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
17892echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6
17893cat >conftest.$ac_ext <<_ACEOF
17894#line $LINENO "configure"
17895/* confdefs.h. */
17896_ACEOF
17897cat confdefs.h >>conftest.$ac_ext
17898cat >>conftest.$ac_ext <<_ACEOF
17899/* end confdefs.h. */
17900
17901#include <sys/types.h>
17902#include <utmp.h>
17903#ifdef HAVE_UTMPX_H
17904#include <utmpx.h>
17905#endif
17906#ifdef HAVE_PATHS_H
17907# include <paths.h>
17908#endif
17909
17910int
17911main ()
17912{
17913 char *wtmpx = WTMPX_FILE;
17914 ;
17915 return 0;
17916}
17917_ACEOF
17918rm -f conftest.$ac_objext
17919if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } &&
17924 { ac_try='test -s conftest.$ac_objext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17927 ac_status=$?
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930 echo "$as_me:$LINENO: result: yes" >&5
17931echo "${ECHO_T}yes" >&6
17932else
17933 echo "$as_me: failed program was:" >&5
17934sed 's/^/| /' conftest.$ac_ext >&5
17935
17936 echo "$as_me:$LINENO: result: no" >&5
17937echo "${ECHO_T}no" >&6
17938 system_wtmpx_path=no
17939
17940fi
17941rm -f conftest.$ac_objext conftest.$ac_ext
17942if test -z "$conf_wtmpx_location"; then
17943 if test x"$system_wtmpx_path" = x"no" ; then
17944 cat >>confdefs.h <<\_ACEOF
17945@%:@define DISABLE_WTMPX 1
17946_ACEOF
17947
17948 fi
17949else
17950 cat >>confdefs.h <<_ACEOF
17951@%:@define CONF_WTMPX_FILE "$conf_wtmpx_location"
17952_ACEOF
17953
17954fi
17955
17956
17957if test ! -z "$blibpath" ; then
17958 LDFLAGS="$LDFLAGS $blibflags$blibpath"
17959 { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
17960echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;}
17961fi
17962
17963if test "$PAM_MSG" = yes ; then
17964 LIBS=`echo $LIBS | sed 's/-lpam //'`
17965fi
17966if test "$ac_cv_lib_pam_pam_set_item" = yes ; then
17967 LIBS=`echo $LIBS | sed 's/-ldl //'`
17968fi
17969
17970
17971 ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
17972
17973cat >confcache <<\_ACEOF
17974# This file is a shell script that caches the results of configure
17975# tests run on this system so they can be shared between configure
17976# scripts and configure runs, see configure's option --config-cache.
17977# It is not useful on other systems. If it contains results you don't
17978# want to keep, you may remove or edit it.
17979#
17980# config.status only pays attention to the cache file if you give it
17981# the --recheck option to rerun configure.
17982#
17983# `ac_cv_env_foo' variables (set or unset) will be overridden when
17984# loading this file, other *unset* `ac_cv_foo' will be assigned the
17985# following values.
17986
17987_ACEOF
17988
17989# The following way of writing the cache mishandles newlines in values,
17990# but we know of no workaround that is simple, portable, and efficient.
17991# So, don't put newlines in cache variables' values.
17992# Ultrix sh set writes to stderr and can't be redirected directly,
17993# and sets the high bit in the cache file unless we assign to the vars.
17994{
17995 (set) 2>&1 |
17996 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17997 *ac_space=\ *)
17998 # `set' does not quote correctly, so add quotes (double-quote
17999 # substitution turns \\\\ into \\, and sed turns \\ into \).
18000 sed -n \
18001 "s/'/'\\\\''/g;
18002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18003 ;;
18004 *)
18005 # `set' quotes correctly as required by POSIX, so do not add quotes.
18006 sed -n \
18007 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18008 ;;
18009 esac;
18010} |
18011 sed '
18012 t clear
18013 : clear
18014 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18015 t end
18016 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18017 : end' >>confcache
18018if diff $cache_file confcache >/dev/null 2>&1; then :; else
18019 if test -w $cache_file; then
18020 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18021 cat confcache >$cache_file
18022 else
18023 echo "not updating unwritable cache $cache_file"
18024 fi
18025fi
18026rm -f confcache
18027
18028test "x$prefix" = xNONE && prefix=$ac_default_prefix
18029# Let make expand exec_prefix.
18030test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18031
18032# VPATH may cause trouble with some makes, so we remove $(srcdir),
18033# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18034# trailing colons and then remove the whole line if VPATH becomes empty
18035# (actually we leave an empty line to preserve line numbers).
18036if test "x$srcdir" = x.; then
18037 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18038s/:*\$(srcdir):*/:/;
18039s/:*\${srcdir}:*/:/;
18040s/:*@srcdir@:*/:/;
18041s/^\([^=]*=[ ]*\):*/\1/;
18042s/:*$//;
18043s/^[^=]*=[ ]*$//;
18044}'
18045fi
18046
18047DEFS=-DHAVE_CONFIG_H
18048
18049ac_libobjs=
18050ac_ltlibobjs=
18051for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
18052 # 1. Remove the extension, and $U if already installed.
18053 ac_i=`echo "$ac_i" |
18054 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18055 # 2. Add them.
18056 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
18057 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
18058done
18059LIB@&t@OBJS=$ac_libobjs
18060
18061LTLIBOBJS=$ac_ltlibobjs
18062
18063
18064
18065: ${CONFIG_STATUS=./config.status}
18066ac_clean_files_save=$ac_clean_files
18067ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18068{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18069echo "$as_me: creating $CONFIG_STATUS" >&6;}
18070cat >$CONFIG_STATUS <<_ACEOF
18071#! $SHELL
18072# Generated by $as_me.
18073# Run this file to recreate the current configuration.
18074# Compiler output produced by configure, useful for debugging
18075# configure, is in config.log if it exists.
18076
18077debug=false
18078ac_cs_recheck=false
18079ac_cs_silent=false
18080SHELL=\${CONFIG_SHELL-$SHELL}
18081_ACEOF
18082
18083cat >>$CONFIG_STATUS <<\_ACEOF
18084## --------------------- ##
18085## M4sh Initialization. ##
18086## --------------------- ##
18087
18088# Be Bourne compatible
18089if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18090 emulate sh
18091 NULLCMD=:
18092 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18093 # is contrary to our usage. Disable this feature.
18094 alias -g '${1+"$@"}'='"$@"'
18095elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
18096 set -o posix
18097fi
18098
18099# Support unset when possible.
18100if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
18101 as_unset=unset
18102else
18103 as_unset=false
18104fi
18105
18106
18107# Work around bugs in pre-3.0 UWIN ksh.
18108$as_unset ENV MAIL MAILPATH
18109PS1='$ '
18110PS2='> '
18111PS4='+ '
18112
18113# NLS nuisances.
18114for as_var in \
18115 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18116 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18117 LC_TELEPHONE LC_TIME
18118do
18119 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
18120 eval $as_var=C; export $as_var
18121 else
18122 $as_unset $as_var
18123 fi
18124done
18125
18126# Required to use basename.
18127if expr a : '\(a\)' >/dev/null 2>&1; then
18128 as_expr=expr
18129else
18130 as_expr=false
18131fi
18132
18133if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
18134 as_basename=basename
18135else
18136 as_basename=false
18137fi
18138
18139
18140# Name of the executable.
18141as_me=`$as_basename "$0" ||
18142$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18143 X"$0" : 'X\(//\)$' \| \
18144 X"$0" : 'X\(/\)$' \| \
18145 . : '\(.\)' 2>/dev/null ||
18146echo X/"$0" |
18147 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18148 /^X\/\(\/\/\)$/{ s//\1/; q; }
18149 /^X\/\(\/\).*/{ s//\1/; q; }
18150 s/.*/./; q'`
18151
18152
18153# PATH needs CR, and LINENO needs CR and PATH.
18154# Avoid depending upon Character Ranges.
18155as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18156as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18157as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18158as_cr_digits='0123456789'
18159as_cr_alnum=$as_cr_Letters$as_cr_digits
18160
18161# The user is always right.
18162if test "${PATH_SEPARATOR+set}" != set; then
18163 echo "#! /bin/sh" >conf$$.sh
18164 echo "exit 0" >>conf$$.sh
18165 chmod +x conf$$.sh
18166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18167 PATH_SEPARATOR=';'
18168 else
18169 PATH_SEPARATOR=:
18170 fi
18171 rm -f conf$$.sh
18172fi
18173
18174
18175 as_lineno_1=$LINENO
18176 as_lineno_2=$LINENO
18177 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18178 test "x$as_lineno_1" != "x$as_lineno_2" &&
18179 test "x$as_lineno_3" = "x$as_lineno_2" || {
18180 # Find who we are. Look in the path if we contain no path at all
18181 # relative or not.
18182 case $0 in
18183 *[\\/]* ) as_myself=$0 ;;
18184 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18185for as_dir in $PATH
18186do
18187 IFS=$as_save_IFS
18188 test -z "$as_dir" && as_dir=.
18189 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18190done
18191
18192 ;;
18193 esac
18194 # We did not find ourselves, most probably we were run as `sh COMMAND'
18195 # in which case we are not to be found in the path.
18196 if test "x$as_myself" = x; then
18197 as_myself=$0
18198 fi
18199 if test ! -f "$as_myself"; then
18200 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18201echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18202 { (exit 1); exit 1; }; }
18203 fi
18204 case $CONFIG_SHELL in
18205 '')
18206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18207for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
18208do
18209 IFS=$as_save_IFS
18210 test -z "$as_dir" && as_dir=.
18211 for as_base in sh bash ksh sh5; do
18212 case $as_dir in
18213 /*)
18214 if ("$as_dir/$as_base" -c '
18215 as_lineno_1=$LINENO
18216 as_lineno_2=$LINENO
18217 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18218 test "x$as_lineno_1" != "x$as_lineno_2" &&
18219 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
18220 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
18221 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
18222 CONFIG_SHELL=$as_dir/$as_base
18223 export CONFIG_SHELL
18224 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18225 fi;;
18226 esac
18227 done
18228done
18229;;
18230 esac
18231
18232 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18233 # uniformly replaced by the line number. The first 'sed' inserts a
18234 # line-number line before each line; the second 'sed' does the real
18235 # work. The second script uses 'N' to pair each line-number line
18236 # with the numbered line, and appends trailing '-' during
18237 # substitution so that $LINENO is not a special case at line end.
18238 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18239 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18240 sed '=' <$as_myself |
18241 sed '
18242 N
18243 s,$,-,
18244 : loop
18245 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18246 t loop
18247 s,-$,,
18248 s,^['$as_cr_digits']*\n,,
18249 ' >$as_me.lineno &&
18250 chmod +x $as_me.lineno ||
18251 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18252echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18253 { (exit 1); exit 1; }; }
18254
18255 # Don't try to exec as it changes $[0], causing all sort of problems
18256 # (the dirname of $[0] is not the place where we might find the
18257 # original and so on. Autoconf is especially sensible to this).
18258 . ./$as_me.lineno
18259 # Exit status is that of the last command.
18260 exit
18261}
18262
18263
18264case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18265 *c*,-n*) ECHO_N= ECHO_C='
18266' ECHO_T=' ' ;;
18267 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
18268 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
18269esac
18270
18271if expr a : '\(a\)' >/dev/null 2>&1; then
18272 as_expr=expr
18273else
18274 as_expr=false
18275fi
18276
18277rm -f conf$$ conf$$.exe conf$$.file
18278echo >conf$$.file
18279if ln -s conf$$.file conf$$ 2>/dev/null; then
18280 # We could just check for DJGPP; but this test a) works b) is more generic
18281 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18282 if test -f conf$$.exe; then
18283 # Don't use ln at all; we don't have any links
18284 as_ln_s='cp -p'
18285 else
18286 as_ln_s='ln -s'
18287 fi
18288elif ln conf$$.file conf$$ 2>/dev/null; then
18289 as_ln_s=ln
18290else
18291 as_ln_s='cp -p'
18292fi
18293rm -f conf$$ conf$$.exe conf$$.file
18294
18295if mkdir -p . 2>/dev/null; then
18296 as_mkdir_p=:
18297else
18298 as_mkdir_p=false
18299fi
18300
18301as_executable_p="test -f"
18302
18303# Sed expression to map a string onto a valid CPP name.
18304as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18305
18306# Sed expression to map a string onto a valid variable name.
18307as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18308
18309
18310# IFS
18311# We need space, tab and new line, in precisely that order.
18312as_nl='
18313'
18314IFS=" $as_nl"
18315
18316# CDPATH.
18317$as_unset CDPATH
18318
18319exec 6>&1
18320
18321# Open the log real soon, to keep \$[0] and so on meaningful, and to
18322# report actual input values of CONFIG_FILES etc. instead of their
18323# values after options handling. Logging --version etc. is OK.
18324exec 5>>config.log
18325{
18326 echo
18327 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
18328@%:@@%:@ Running $as_me. @%:@@%:@
18329_ASBOX
18330} >&5
18331cat >&5 <<_CSEOF
18332
18333This file was extended by $as_me, which was
18334generated by GNU Autoconf 2.57. Invocation command line was
18335
18336 CONFIG_FILES = $CONFIG_FILES
18337 CONFIG_HEADERS = $CONFIG_HEADERS
18338 CONFIG_LINKS = $CONFIG_LINKS
18339 CONFIG_COMMANDS = $CONFIG_COMMANDS
18340 $ $0 $@
18341
18342_CSEOF
18343echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18344echo >&5
18345_ACEOF
18346
18347# Files that config.status was made for.
18348if test -n "$ac_config_files"; then
18349 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18350fi
18351
18352if test -n "$ac_config_headers"; then
18353 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18354fi
18355
18356if test -n "$ac_config_links"; then
18357 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18358fi
18359
18360if test -n "$ac_config_commands"; then
18361 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18362fi
18363
18364cat >>$CONFIG_STATUS <<\_ACEOF
18365
18366ac_cs_usage="\
18367\`$as_me' instantiates files from templates according to the
18368current configuration.
18369
18370Usage: $0 [OPTIONS] [FILE]...
18371
18372 -h, --help print this help, then exit
18373 -V, --version print version number, then exit
18374 -q, --quiet do not print progress messages
18375 -d, --debug don't remove temporary files
18376 --recheck update $as_me by reconfiguring in the same conditions
18377 --file=FILE[:TEMPLATE]
18378 instantiate the configuration file FILE
18379 --header=FILE[:TEMPLATE]
18380 instantiate the configuration header FILE
18381
18382Configuration files:
18383$config_files
18384
18385Configuration headers:
18386$config_headers
18387
18388Report bugs to <bug-autoconf@gnu.org>."
18389_ACEOF
18390
18391cat >>$CONFIG_STATUS <<_ACEOF
18392ac_cs_version="\\
18393config.status
18394configured by $0, generated by GNU Autoconf 2.57,
18395 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18396
18397Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
18398Free Software Foundation, Inc.
18399This config.status script is free software; the Free Software Foundation
18400gives unlimited permission to copy, distribute and modify it."
18401srcdir=$srcdir
18402INSTALL="$INSTALL"
18403_ACEOF
18404
18405cat >>$CONFIG_STATUS <<\_ACEOF
18406# If no file are specified by the user, then we need to provide default
18407# value. By we need to know if files were specified by the user.
18408ac_need_defaults=:
18409while test $# != 0
18410do
18411 case $1 in
18412 --*=*)
18413 ac_option=`expr "x$1" : 'x\([^=]*\)='`
18414 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
18415 ac_shift=:
18416 ;;
18417 -*)
18418 ac_option=$1
18419 ac_optarg=$2
18420 ac_shift=shift
18421 ;;
18422 *) # This is not an option, so the user has probably given explicit
18423 # arguments.
18424 ac_option=$1
18425 ac_need_defaults=false;;
18426 esac
18427
18428 case $ac_option in
18429 # Handling of the options.
18430_ACEOF
18431cat >>$CONFIG_STATUS <<\_ACEOF
18432 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18433 ac_cs_recheck=: ;;
18434 --version | --vers* | -V )
18435 echo "$ac_cs_version"; exit 0 ;;
18436 --he | --h)
18437 # Conflict between --help and --header
18438 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18439Try \`$0 --help' for more information." >&5
18440echo "$as_me: error: ambiguous option: $1
18441Try \`$0 --help' for more information." >&2;}
18442 { (exit 1); exit 1; }; };;
18443 --help | --hel | -h )
18444 echo "$ac_cs_usage"; exit 0 ;;
18445 --debug | --d* | -d )
18446 debug=: ;;
18447 --file | --fil | --fi | --f )
18448 $ac_shift
18449 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18450 ac_need_defaults=false;;
18451 --header | --heade | --head | --hea )
18452 $ac_shift
18453 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
18454 ac_need_defaults=false;;
18455 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18456 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18457 ac_cs_silent=: ;;
18458
18459 # This is an error.
18460 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18461Try \`$0 --help' for more information." >&5
18462echo "$as_me: error: unrecognized option: $1
18463Try \`$0 --help' for more information." >&2;}
18464 { (exit 1); exit 1; }; } ;;
18465
18466 *) ac_config_targets="$ac_config_targets $1" ;;
18467
18468 esac
18469 shift
18470done
18471
18472ac_configure_extra_args=
18473
18474if $ac_cs_silent; then
18475 exec 6>/dev/null
18476 ac_configure_extra_args="$ac_configure_extra_args --silent"
18477fi
18478
18479_ACEOF
18480cat >>$CONFIG_STATUS <<_ACEOF
18481if \$ac_cs_recheck; then
18482 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18483 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18484fi
18485
18486_ACEOF
18487
18488
18489
18490
18491
18492cat >>$CONFIG_STATUS <<\_ACEOF
18493for ac_config_target in $ac_config_targets
18494do
18495 case "$ac_config_target" in
18496 # Handling of arguments.
18497 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18498 "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;;
18499 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;;
18500 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
18501 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18502 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18503echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18504 { (exit 1); exit 1; }; };;
18505 esac
18506done
18507
18508# If the user did not use the arguments to specify the items to instantiate,
18509# then the envvar interface is used. Set only those that are not.
18510# We use the long form for the default assignment because of an extremely
18511# bizarre bug on SunOS 4.1.3.
18512if $ac_need_defaults; then
18513 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18514 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18515fi
18516
18517# Have a temporary directory for convenience. Make it in the build tree
18518# simply because there is no reason to put it here, and in addition,
18519# creating and moving files from /tmp can sometimes cause problems.
18520# Create a temporary directory, and hook for its removal unless debugging.
18521$debug ||
18522{
18523 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18524 trap '{ (exit 1); exit 1; }' 1 2 13 15
18525}
18526
18527# Create a (secure) tmp directory for tmp files.
18528
18529{
18530 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18531 test -n "$tmp" && test -d "$tmp"
18532} ||
18533{
18534 tmp=./confstat$$-$RANDOM
18535 (umask 077 && mkdir $tmp)
18536} ||
18537{
18538 echo "$me: cannot create a temporary directory in ." >&2
18539 { (exit 1); exit 1; }
18540}
18541
18542_ACEOF
18543
18544cat >>$CONFIG_STATUS <<_ACEOF
18545
18546#
18547# CONFIG_FILES section.
18548#
18549
18550# No need to generate the scripts if there are no CONFIG_FILES.
18551# This happens for instance when ./config.status config.h
18552if test -n "\$CONFIG_FILES"; then
18553 # Protect against being on the right side of a sed subst in config.status.
18554 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18555 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18556s,@SHELL@,$SHELL,;t t
18557s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18558s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18559s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18560s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18561s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18562s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18563s,@exec_prefix@,$exec_prefix,;t t
18564s,@prefix@,$prefix,;t t
18565s,@program_transform_name@,$program_transform_name,;t t
18566s,@bindir@,$bindir,;t t
18567s,@sbindir@,$sbindir,;t t
18568s,@libexecdir@,$libexecdir,;t t
18569s,@datadir@,$datadir,;t t
18570s,@sysconfdir@,$sysconfdir,;t t
18571s,@sharedstatedir@,$sharedstatedir,;t t
18572s,@localstatedir@,$localstatedir,;t t
18573s,@libdir@,$libdir,;t t
18574s,@includedir@,$includedir,;t t
18575s,@oldincludedir@,$oldincludedir,;t t
18576s,@infodir@,$infodir,;t t
18577s,@mandir@,$mandir,;t t
18578s,@build_alias@,$build_alias,;t t
18579s,@host_alias@,$host_alias,;t t
18580s,@target_alias@,$target_alias,;t t
18581s,@DEFS@,$DEFS,;t t
18582s,@ECHO_C@,$ECHO_C,;t t
18583s,@ECHO_N@,$ECHO_N,;t t
18584s,@ECHO_T@,$ECHO_T,;t t
18585s,@LIBS@,$LIBS,;t t
18586s,@CC@,$CC,;t t
18587s,@CFLAGS@,$CFLAGS,;t t
18588s,@LDFLAGS@,$LDFLAGS,;t t
18589s,@CPPFLAGS@,$CPPFLAGS,;t t
18590s,@ac_ct_CC@,$ac_ct_CC,;t t
18591s,@EXEEXT@,$EXEEXT,;t t
18592s,@OBJEXT@,$OBJEXT,;t t
18593s,@build@,$build,;t t
18594s,@build_cpu@,$build_cpu,;t t
18595s,@build_vendor@,$build_vendor,;t t
18596s,@build_os@,$build_os,;t t
18597s,@host@,$host,;t t
18598s,@host_cpu@,$host_cpu,;t t
18599s,@host_vendor@,$host_vendor,;t t
18600s,@host_os@,$host_os,;t t
18601s,@CPP@,$CPP,;t t
18602s,@RANLIB@,$RANLIB,;t t
18603s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18604s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18605s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18606s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18607s,@AR@,$AR,;t t
18608s,@PERL@,$PERL,;t t
18609s,@SED@,$SED,;t t
18610s,@ENT@,$ENT,;t t
18611s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t
18612s,@SH@,$SH,;t t
18613s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
18614s,@LD@,$LD,;t t
18615s,@EGREP@,$EGREP,;t t
18616s,@LIBWRAP@,$LIBWRAP,;t t
18617s,@LIBPAM@,$LIBPAM,;t t
18618s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t
18619s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t
18620s,@PROG_LS@,$PROG_LS,;t t
18621s,@PROG_NETSTAT@,$PROG_NETSTAT,;t t
18622s,@PROG_ARP@,$PROG_ARP,;t t
18623s,@PROG_IFCONFIG@,$PROG_IFCONFIG,;t t
18624s,@PROG_JSTAT@,$PROG_JSTAT,;t t
18625s,@PROG_PS@,$PROG_PS,;t t
18626s,@PROG_SAR@,$PROG_SAR,;t t
18627s,@PROG_W@,$PROG_W,;t t
18628s,@PROG_WHO@,$PROG_WHO,;t t
18629s,@PROG_LAST@,$PROG_LAST,;t t
18630s,@PROG_LASTLOG@,$PROG_LASTLOG,;t t
18631s,@PROG_DF@,$PROG_DF,;t t
18632s,@PROG_VMSTAT@,$PROG_VMSTAT,;t t
18633s,@PROG_UPTIME@,$PROG_UPTIME,;t t
18634s,@PROG_IPCS@,$PROG_IPCS,;t t
18635s,@PROG_TAIL@,$PROG_TAIL,;t t
18636s,@INSTALL_SSH_PRNG_CMDS@,$INSTALL_SSH_PRNG_CMDS,;t t
18637s,@OPENSC_CONFIG@,$OPENSC_CONFIG,;t t
18638s,@PRIVSEP_PATH@,$PRIVSEP_PATH,;t t
18639s,@xauth_path@,$xauth_path,;t t
18640s,@STRIP_OPT@,$STRIP_OPT,;t t
18641s,@XAUTH_PATH@,$XAUTH_PATH,;t t
18642s,@NROFF@,$NROFF,;t t
18643s,@MANTYPE@,$MANTYPE,;t t
18644s,@mansubdir@,$mansubdir,;t t
18645s,@user_path@,$user_path,;t t
18646s,@piddir@,$piddir,;t t
18647s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
18648s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18649CEOF
18650
18651_ACEOF
18652
18653 cat >>$CONFIG_STATUS <<\_ACEOF
18654 # Split the substitutions into bite-sized pieces for seds with
18655 # small command number limits, like on Digital OSF/1 and HP-UX.
18656 ac_max_sed_lines=48
18657 ac_sed_frag=1 # Number of current file.
18658 ac_beg=1 # First line for current file.
18659 ac_end=$ac_max_sed_lines # Line after last line for current file.
18660 ac_more_lines=:
18661 ac_sed_cmds=
18662 while $ac_more_lines; do
18663 if test $ac_beg -gt 1; then
18664 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18665 else
18666 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18667 fi
18668 if test ! -s $tmp/subs.frag; then
18669 ac_more_lines=false
18670 else
18671 # The purpose of the label and of the branching condition is to
18672 # speed up the sed processing (if there are no `@' at all, there
18673 # is no need to browse any of the substitutions).
18674 # These are the two extra sed commands mentioned above.
18675 (echo ':t
18676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
18677 if test -z "$ac_sed_cmds"; then
18678 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
18679 else
18680 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18681 fi
18682 ac_sed_frag=`expr $ac_sed_frag + 1`
18683 ac_beg=$ac_end
18684 ac_end=`expr $ac_end + $ac_max_sed_lines`
18685 fi
18686 done
18687 if test -z "$ac_sed_cmds"; then
18688 ac_sed_cmds=cat
18689 fi
18690fi # test -n "$CONFIG_FILES"
18691
18692_ACEOF
18693cat >>$CONFIG_STATUS <<\_ACEOF
18694for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
18695 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18696 case $ac_file in
18697 - | *:- | *:-:* ) # input from stdin
18698 cat >$tmp/stdin
18699 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18700 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18701 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18702 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18703 * ) ac_file_in=$ac_file.in ;;
18704 esac
18705
18706 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18707 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18708$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18709 X"$ac_file" : 'X\(//\)[^/]' \| \
18710 X"$ac_file" : 'X\(//\)$' \| \
18711 X"$ac_file" : 'X\(/\)' \| \
18712 . : '\(.\)' 2>/dev/null ||
18713echo X"$ac_file" |
18714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18716 /^X\(\/\/\)$/{ s//\1/; q; }
18717 /^X\(\/\).*/{ s//\1/; q; }
18718 s/.*/./; q'`
18719 { if $as_mkdir_p; then
18720 mkdir -p "$ac_dir"
18721 else
18722 as_dir="$ac_dir"
18723 as_dirs=
18724 while test ! -d "$as_dir"; do
18725 as_dirs="$as_dir $as_dirs"
18726 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18727$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18728 X"$as_dir" : 'X\(//\)[^/]' \| \
18729 X"$as_dir" : 'X\(//\)$' \| \
18730 X"$as_dir" : 'X\(/\)' \| \
18731 . : '\(.\)' 2>/dev/null ||
18732echo X"$as_dir" |
18733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18734 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18735 /^X\(\/\/\)$/{ s//\1/; q; }
18736 /^X\(\/\).*/{ s//\1/; q; }
18737 s/.*/./; q'`
18738 done
18739 test ! -n "$as_dirs" || mkdir $as_dirs
18740 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18741echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18742 { (exit 1); exit 1; }; }; }
18743
18744 ac_builddir=.
18745
18746if test "$ac_dir" != .; then
18747 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18748 # A "../" for each directory in $ac_dir_suffix.
18749 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18750else
18751 ac_dir_suffix= ac_top_builddir=
18752fi
18753
18754case $srcdir in
18755 .) # No --srcdir option. We are building in place.
18756 ac_srcdir=.
18757 if test -z "$ac_top_builddir"; then
18758 ac_top_srcdir=.
18759 else
18760 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18761 fi ;;
18762 [\\/]* | ?:[\\/]* ) # Absolute path.
18763 ac_srcdir=$srcdir$ac_dir_suffix;
18764 ac_top_srcdir=$srcdir ;;
18765 *) # Relative path.
18766 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18767 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18768esac
18769# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18770# absolute.
18771ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18772ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18773ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18774ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18775
18776
18777 case $INSTALL in
18778 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18779 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
18780 esac
18781
18782 if test x"$ac_file" != x-; then
18783 { echo "$as_me:$LINENO: creating $ac_file" >&5
18784echo "$as_me: creating $ac_file" >&6;}
18785 rm -f "$ac_file"
18786 fi
18787 # Let's still pretend it is `configure' which instantiates (i.e., don't
18788 # use $as_me), people would be surprised to read:
18789 # /* config.h. Generated by config.status. */
18790 if test x"$ac_file" = x-; then
18791 configure_input=
18792 else
18793 configure_input="$ac_file. "
18794 fi
18795 configure_input=$configure_input"Generated from `echo $ac_file_in |
18796 sed 's,.*/,,'` by configure."
18797
18798 # First look for the input files in the build tree, otherwise in the
18799 # src tree.
18800 ac_file_inputs=`IFS=:
18801 for f in $ac_file_in; do
18802 case $f in
18803 -) echo $tmp/stdin ;;
18804 [\\/$]*)
18805 # Absolute (can't be DOS-style, as IFS=:)
18806 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18807echo "$as_me: error: cannot find input file: $f" >&2;}
18808 { (exit 1); exit 1; }; }
18809 echo $f;;
18810 *) # Relative
18811 if test -f "$f"; then
18812 # Build tree
18813 echo $f
18814 elif test -f "$srcdir/$f"; then
18815 # Source tree
18816 echo $srcdir/$f
18817 else
18818 # /dev/null tree
18819 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18820echo "$as_me: error: cannot find input file: $f" >&2;}
18821 { (exit 1); exit 1; }; }
18822 fi;;
18823 esac
18824 done` || { (exit 1); exit 1; }
18825_ACEOF
18826cat >>$CONFIG_STATUS <<_ACEOF
18827 sed "$ac_vpsub
18828$extrasub
18829_ACEOF
18830cat >>$CONFIG_STATUS <<\_ACEOF
18831:t
18832/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18833s,@configure_input@,$configure_input,;t t
18834s,@srcdir@,$ac_srcdir,;t t
18835s,@abs_srcdir@,$ac_abs_srcdir,;t t
18836s,@top_srcdir@,$ac_top_srcdir,;t t
18837s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18838s,@builddir@,$ac_builddir,;t t
18839s,@abs_builddir@,$ac_abs_builddir,;t t
18840s,@top_builddir@,$ac_top_builddir,;t t
18841s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
18842s,@INSTALL@,$ac_INSTALL,;t t
18843" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18844 rm -f $tmp/stdin
18845 if test x"$ac_file" != x-; then
18846 mv $tmp/out $ac_file
18847 else
18848 cat $tmp/out
18849 rm -f $tmp/out
18850 fi
18851
18852done
18853_ACEOF
18854cat >>$CONFIG_STATUS <<\_ACEOF
18855
18856#
18857# CONFIG_HEADER section.
18858#
18859
18860# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18861# NAME is the cpp macro being defined and VALUE is the value it is being given.
18862#
18863# ac_d sets the value in "#define NAME VALUE" lines.
18864ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18865ac_dB='[ ].*$,\1#\2'
18866ac_dC=' '
18867ac_dD=',;t'
18868# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18869ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18870ac_uB='$,\1#\2define\3'
18871ac_uC=' '
18872ac_uD=',;t'
18873
18874for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18875 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18876 case $ac_file in
18877 - | *:- | *:-:* ) # input from stdin
18878 cat >$tmp/stdin
18879 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18880 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18881 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18882 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18883 * ) ac_file_in=$ac_file.in ;;
18884 esac
18885
18886 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18887echo "$as_me: creating $ac_file" >&6;}
18888
18889 # First look for the input files in the build tree, otherwise in the
18890 # src tree.
18891 ac_file_inputs=`IFS=:
18892 for f in $ac_file_in; do
18893 case $f in
18894 -) echo $tmp/stdin ;;
18895 [\\/$]*)
18896 # Absolute (can't be DOS-style, as IFS=:)
18897 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18898echo "$as_me: error: cannot find input file: $f" >&2;}
18899 { (exit 1); exit 1; }; }
18900 echo $f;;
18901 *) # Relative
18902 if test -f "$f"; then
18903 # Build tree
18904 echo $f
18905 elif test -f "$srcdir/$f"; then
18906 # Source tree
18907 echo $srcdir/$f
18908 else
18909 # /dev/null tree
18910 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18911echo "$as_me: error: cannot find input file: $f" >&2;}
18912 { (exit 1); exit 1; }; }
18913 fi;;
18914 esac
18915 done` || { (exit 1); exit 1; }
18916 # Remove the trailing spaces.
18917 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18918
18919_ACEOF
18920
18921# Transform confdefs.h into two sed scripts, `conftest.defines' and
18922# `conftest.undefs', that substitutes the proper values into
18923# config.h.in to produce config.h. The first handles `#define'
18924# templates, and the second `#undef' templates.
18925# And first: Protect against being on the right side of a sed subst in
18926# config.status. Protect against being in an unquoted here document
18927# in config.status.
18928rm -f conftest.defines conftest.undefs
18929# Using a here document instead of a string reduces the quoting nightmare.
18930# Putting comments in sed scripts is not portable.
18931#
18932# `end' is used to avoid that the second main sed command (meant for
18933# 0-ary CPP macros) applies to n-ary macro definitions.
18934# See the Autoconf documentation for `clear'.
18935cat >confdef2sed.sed <<\_ACEOF
18936s/[\\&,]/\\&/g
18937s,[\\$`],\\&,g
18938t clear
18939: clear
18940s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18941t end
18942s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18943: end
18944_ACEOF
18945# If some macros were called several times there might be several times
18946# the same #defines, which is useless. Nevertheless, we may not want to
18947# sort them, since we want the *last* AC-DEFINE to be honored.
18948uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18949sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18950rm -f confdef2sed.sed
18951
18952# This sed command replaces #undef with comments. This is necessary, for
18953# example, in the case of _POSIX_SOURCE, which is predefined and required
18954# on some systems where configure will not decide to define it.
18955cat >>conftest.undefs <<\_ACEOF
18956s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18957_ACEOF
18958
18959# Break up conftest.defines because some shells have a limit on the size
18960# of here documents, and old seds have small limits too (100 cmds).
18961echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18962echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18963echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18964echo ' :' >>$CONFIG_STATUS
18965rm -f conftest.tail
18966while grep . conftest.defines >/dev/null
18967do
18968 # Write a limited-size here document to $tmp/defines.sed.
18969 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18970 # Speed up: don't consider the non `#define' lines.
18971 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18972 # Work around the forget-to-reset-the-flag bug.
18973 echo 't clr' >>$CONFIG_STATUS
18974 echo ': clr' >>$CONFIG_STATUS
18975 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
18976 echo 'CEOF
18977 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18978 rm -f $tmp/in
18979 mv $tmp/out $tmp/in
18980' >>$CONFIG_STATUS
18981 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
18982 rm -f conftest.defines
18983 mv conftest.tail conftest.defines
18984done
18985rm -f conftest.defines
18986echo ' fi # grep' >>$CONFIG_STATUS
18987echo >>$CONFIG_STATUS
18988
18989# Break up conftest.undefs because some shells have a limit on the size
18990# of here documents, and old seds have small limits too (100 cmds).
18991echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18992rm -f conftest.tail
18993while grep . conftest.undefs >/dev/null
18994do
18995 # Write a limited-size here document to $tmp/undefs.sed.
18996 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18997 # Speed up: don't consider the non `#undef'
18998 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18999 # Work around the forget-to-reset-the-flag bug.
19000 echo 't clr' >>$CONFIG_STATUS
19001 echo ': clr' >>$CONFIG_STATUS
19002 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19003 echo 'CEOF
19004 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19005 rm -f $tmp/in
19006 mv $tmp/out $tmp/in
19007' >>$CONFIG_STATUS
19008 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19009 rm -f conftest.undefs
19010 mv conftest.tail conftest.undefs
19011done
19012rm -f conftest.undefs
19013
19014cat >>$CONFIG_STATUS <<\_ACEOF
19015 # Let's still pretend it is `configure' which instantiates (i.e., don't
19016 # use $as_me), people would be surprised to read:
19017 # /* config.h. Generated by config.status. */
19018 if test x"$ac_file" = x-; then
19019 echo "/* Generated by configure. */" >$tmp/config.h
19020 else
19021 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19022 fi
19023 cat $tmp/in >>$tmp/config.h
19024 rm -f $tmp/in
19025 if test x"$ac_file" != x-; then
19026 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
19027 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19028echo "$as_me: $ac_file is unchanged" >&6;}
19029 else
19030 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19031$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19032 X"$ac_file" : 'X\(//\)[^/]' \| \
19033 X"$ac_file" : 'X\(//\)$' \| \
19034 X"$ac_file" : 'X\(/\)' \| \
19035 . : '\(.\)' 2>/dev/null ||
19036echo X"$ac_file" |
19037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19038 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19039 /^X\(\/\/\)$/{ s//\1/; q; }
19040 /^X\(\/\).*/{ s//\1/; q; }
19041 s/.*/./; q'`
19042 { if $as_mkdir_p; then
19043 mkdir -p "$ac_dir"
19044 else
19045 as_dir="$ac_dir"
19046 as_dirs=
19047 while test ! -d "$as_dir"; do
19048 as_dirs="$as_dir $as_dirs"
19049 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19050$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19051 X"$as_dir" : 'X\(//\)[^/]' \| \
19052 X"$as_dir" : 'X\(//\)$' \| \
19053 X"$as_dir" : 'X\(/\)' \| \
19054 . : '\(.\)' 2>/dev/null ||
19055echo X"$as_dir" |
19056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19058 /^X\(\/\/\)$/{ s//\1/; q; }
19059 /^X\(\/\).*/{ s//\1/; q; }
19060 s/.*/./; q'`
19061 done
19062 test ! -n "$as_dirs" || mkdir $as_dirs
19063 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19064echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19065 { (exit 1); exit 1; }; }; }
19066
19067 rm -f $ac_file
19068 mv $tmp/config.h $ac_file
19069 fi
19070 else
19071 cat $tmp/config.h
19072 rm -f $tmp/config.h
19073 fi
19074done
19075_ACEOF
19076
19077cat >>$CONFIG_STATUS <<\_ACEOF
19078
19079{ (exit 0); exit 0; }
19080_ACEOF
19081chmod +x $CONFIG_STATUS
19082ac_clean_files=$ac_clean_files_save
19083
19084
19085# configure is writing to config.log, and then calls config.status.
19086# config.status does its own redirection, appending to config.log.
19087# Unfortunately, on DOS this fails, as config.log is still kept open
19088# by configure, so config.status won't be able to write to it; its
19089# output is simply discarded. So we exec the FD to /dev/null,
19090# effectively closing config.log, so it can be properly (re)opened and
19091# appended to by config.status. When coming back to configure, we
19092# need to make the FD available again.
19093if test "$no_create" != yes; then
19094 ac_cs_success=:
19095 ac_config_status_args=
19096 test "$silent" = yes &&
19097 ac_config_status_args="$ac_config_status_args --quiet"
19098 exec 5>/dev/null
19099 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19100 exec 5>>config.log
19101 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19102 # would make configure fail if this is the last instruction.
19103 $ac_cs_success || { (exit 1); exit 1; }
19104fi
19105
19106
19107# Print summary of options
19108
19109# Someone please show me a better way :)
19110A=`eval echo ${prefix}` ; A=`eval echo ${A}`
19111B=`eval echo ${bindir}` ; B=`eval echo ${B}`
19112C=`eval echo ${sbindir}` ; C=`eval echo ${C}`
19113D=`eval echo ${sysconfdir}` ; D=`eval echo ${D}`
19114E=`eval echo ${libexecdir}/ssh-askpass` ; E=`eval echo ${E}`
19115F=`eval echo ${mandir}/${mansubdir}X` ; F=`eval echo ${F}`
19116G=`eval echo ${piddir}` ; G=`eval echo ${G}`
19117H=`eval echo ${PRIVSEP_PATH}` ; H=`eval echo ${H}`
19118I=`eval echo ${user_path}` ; I=`eval echo ${I}`
19119J=`eval echo ${superuser_path}` ; J=`eval echo ${J}`
19120
19121echo ""
19122echo "OpenSSH has been configured with the following options:"
19123echo " User binaries: $B"
19124echo " System binaries: $C"
19125echo " Configuration files: $D"
19126echo " Askpass program: $E"
19127echo " Manual pages: $F"
19128echo " PID file: $G"
19129echo " Privilege separation chroot path: $H"
19130if test "$USES_LOGIN_CONF" = "yes" ; then
19131echo " At runtime, sshd will use the path defined in /etc/login.conf"
19132else
19133echo " sshd default user PATH: $I"
19134fi
19135if test ! -z "$superuser_path" ; then
19136echo " sshd superuser user PATH: $J"
19137fi
19138echo " Manpage format: $MANTYPE"
19139echo " PAM support: ${PAM_MSG}"
19140echo " KerberosIV support: $KRB4_MSG"
19141echo " KerberosV support: $KRB5_MSG"
19142echo " Smartcard support: $SCARD_MSG"
19143echo " AFS support: $AFS_MSG"
19144echo " S/KEY support: $SKEY_MSG"
19145echo " TCP Wrappers support: $TCPW_MSG"
19146echo " MD5 password support: $MD5_MSG"
19147echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
19148echo " Use IPv4 by default hack: $IPV4_HACK_MSG"
19149echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
19150echo " BSD Auth support: $BSD_AUTH_MSG"
19151echo " Random number source: $RAND_MSG"
19152if test ! -z "$USE_RAND_HELPER" ; then
19153echo " ssh-rand-helper collects from: $RAND_HELPER_MSG"
19154fi
19155
19156echo ""
19157
19158echo " Host: ${host}"
19159echo " Compiler: ${CC}"
19160echo " Compiler flags: ${CFLAGS}"
19161echo "Preprocessor flags: ${CPPFLAGS}"
19162echo " Linker flags: ${LDFLAGS}"
19163echo " Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}"
19164
19165echo ""
19166
19167if test "x$PAM_MSG" = "xyes" ; then
19168 echo "PAM is enabled. You may need to install a PAM control file "
19169 echo "for sshd, otherwise password authentication may fail. "
19170 echo "Example PAM control files can be found in the contrib/ "
19171 echo "subdirectory"
19172 echo ""
19173fi
19174
19175if test ! -z "$RAND_HELPER_CMDHASH" ; then
19176 echo "WARNING: you are using the builtin random number collection "
19177 echo "service. Please read WARNING.RNG and request that your OS "
19178 echo "vendor includes kernel-based random number collection in "
19179 echo "future versions of your OS."
19180 echo ""
19181fi
19182
diff --git a/autom4te.cache/requests b/autom4te.cache/requests
deleted file mode 100644
index 72598fb0c..000000000
--- a/autom4te.cache/requests
+++ /dev/null
@@ -1,111 +0,0 @@
1# This file was created by autom4te.
2# It contains the lists of macros which have been traced.
3# It can be safely removed.
4
5@request = (
6 bless( [
7 '0',
8 1,
9 [
10 '/usr/share/autoconf'
11 ],
12 [
13 '/usr/share/autoconf/autoconf/autoconf.m4f',
14 'aclocal.m4',
15 'configure.ac'
16 ],
17 {
18 'm4_pattern_forbid' => 1,
19 'AC_TYPE_OFF_T' => 1,
20 'AC_C_VOLATILE' => 1,
21 'AC_FUNC_CLOSEDIR_VOID' => 1,
22 'AC_REPLACE_FNMATCH' => 1,
23 'AC_PROG_LIBTOOL' => 1,
24 'AC_FUNC_STAT' => 1,
25 'AC_HEADER_TIME' => 1,
26 'AC_FUNC_WAIT3' => 1,
27 'AM_AUTOMAKE_VERSION' => 1,
28 'AC_STRUCT_TM' => 1,
29 'AC_FUNC_LSTAT' => 1,
30 'AC_TYPE_MODE_T' => 1,
31 'AC_FUNC_GETMNTENT' => 1,
32 'AC_FUNC_STRTOD' => 1,
33 'AC_CHECK_HEADERS' => 1,
34 'AC_FUNC_STRNLEN' => 1,
35 'AC_PROG_CXX' => 1,
36 'AC_PATH_X' => 1,
37 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
38 'AC_PROG_AWK' => 1,
39 'AC_HEADER_STDC' => 1,
40 'AC_HEADER_MAJOR' => 1,
41 'AC_FUNC_ERROR_AT_LINE' => 1,
42 'AC_PROG_GCC_TRADITIONAL' => 1,
43 'AC_LIBSOURCE' => 1,
44 'AC_FUNC_MBRTOWC' => 1,
45 'AC_STRUCT_ST_BLOCKS' => 1,
46 'AC_TYPE_SIGNAL' => 1,
47 'AC_TYPE_UID_T' => 1,
48 'AC_CONFIG_AUX_DIR' => 1,
49 'AC_PROG_MAKE_SET' => 1,
50 'm4_pattern_allow' => 1,
51 'AC_DEFINE_TRACE_LITERAL' => 1,
52 'AC_FUNC_STRERROR_R' => 1,
53 'AC_PROG_CC' => 1,
54 'AC_DECL_SYS_SIGLIST' => 1,
55 'AC_FUNC_FORK' => 1,
56 'AC_FUNC_VPRINTF' => 1,
57 'AC_FUNC_STRCOLL' => 1,
58 'AC_PROG_YACC' => 1,
59 'AC_INIT' => 1,
60 'AC_STRUCT_TIMEZONE' => 1,
61 'AC_FUNC_CHOWN' => 1,
62 'AC_SUBST' => 1,
63 'AC_FUNC_ALLOCA' => 1,
64 'AC_CANONICAL_HOST' => 1,
65 'AC_FUNC_GETPGRP' => 1,
66 'AC_PROG_RANLIB' => 1,
67 'AM_INIT_AUTOMAKE' => 1,
68 'AC_FUNC_SETPGRP' => 1,
69 'AC_CONFIG_SUBDIRS' => 1,
70 'AC_FUNC_MMAP' => 1,
71 'AC_FUNC_REALLOC' => 1,
72 'AC_TYPE_SIZE_T' => 1,
73 'AC_CHECK_TYPES' => 1,
74 'AC_CHECK_MEMBERS' => 1,
75 'AM_MAINTAINER_MODE' => 1,
76 'AC_FUNC_UTIME_NULL' => 1,
77 'AC_FUNC_SELECT_ARGTYPES' => 1,
78 'AC_FUNC_STRFTIME' => 1,
79 'AC_HEADER_STAT' => 1,
80 'AC_C_INLINE' => 1,
81 'AC_PROG_CPP' => 1,
82 'AC_TYPE_PID_T' => 1,
83 'AC_C_CONST' => 1,
84 'AC_PROG_LEX' => 1,
85 'AC_CONFIG_FILES' => 1,
86 'include' => 1,
87 'AC_FUNC_SETVBUF_REVERSED' => 1,
88 'AC_PROG_INSTALL' => 1,
89 'AM_GNU_GETTEXT' => 1,
90 'AC_FUNC_OBSTACK' => 1,
91 'AC_CHECK_LIB' => 1,
92 'AC_FUNC_MALLOC' => 1,
93 'AC_FUNC_GETGROUPS' => 1,
94 'AC_FUNC_GETLOADAVG' => 1,
95 'AH_OUTPUT' => 1,
96 'AC_FUNC_FSEEKO' => 1,
97 'AM_PROG_CC_C_O' => 1,
98 'AM_CONDITIONAL' => 1,
99 'AC_CANONICAL_SYSTEM' => 1,
100 'AC_FUNC_MKTIME' => 1,
101 'AC_CONFIG_HEADERS' => 1,
102 'AC_HEADER_SYS_WAIT' => 1,
103 'AC_FUNC_MEMCMP' => 1,
104 'AC_PROG_LN_S' => 1,
105 'm4_include' => 1,
106 'AC_HEADER_DIRENT' => 1,
107 'AC_CHECK_FUNCS' => 1
108 }
109 ], 'Request' )
110 );
111
diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0
deleted file mode 100644
index 8c9b72476..000000000
--- a/autom4te.cache/traces.0
+++ /dev/null
@@ -1,947 +0,0 @@
1m4trace:configure.ac:3: -1- AC_INIT
2m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
3m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
4m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
5m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
6m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
7m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
8m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
9m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
10m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR])
11m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
12m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
13m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
14m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
15m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
16m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE])
17m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE])
18m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,])
19m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
20m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
21m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
22m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${prefix}/share'])
23m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
24m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
25m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
26m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
27m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include'])
28m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include'])
29m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${prefix}/info'])
30m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${prefix}/man'])
31m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
32m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
33#undef PACKAGE_NAME])
34m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
35m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
36#undef PACKAGE_TARNAME])
37m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
38m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
39#undef PACKAGE_VERSION])
40m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
41m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
42#undef PACKAGE_STRING])
43m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
44m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
45#undef PACKAGE_BUGREPORT])
46m4trace:configure.ac:3: -1- AC_SUBST([build_alias])
47m4trace:configure.ac:3: -1- AC_SUBST([host_alias])
48m4trace:configure.ac:3: -1- AC_SUBST([target_alias])
49m4trace:configure.ac:3: -1- AC_SUBST([DEFS])
50m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C])
51m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N])
52m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T])
53m4trace:configure.ac:3: -1- AC_SUBST([LIBS])
54m4trace:configure.ac:6: -1- AC_CONFIG_HEADERS([config.h])
55m4trace:configure.ac:7: -1- AC_PROG_CC
56m4trace:configure.ac:7: -1- AC_SUBST([CC])
57m4trace:configure.ac:7: -1- AC_SUBST([CFLAGS])
58m4trace:configure.ac:7: -1- AC_SUBST([LDFLAGS])
59m4trace:configure.ac:7: -1- AC_SUBST([CPPFLAGS])
60m4trace:configure.ac:7: -1- AC_SUBST([CC])
61m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC])
62m4trace:configure.ac:7: -1- AC_SUBST([CC])
63m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC])
64m4trace:configure.ac:7: -1- AC_SUBST([CC])
65m4trace:configure.ac:7: -1- AC_SUBST([CC])
66m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC])
67m4trace:configure.ac:7: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
68m4trace:configure.ac:7: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
69m4trace:configure.ac:8: -1- AC_CANONICAL_HOST
70m4trace:configure.ac:8: -1- AC_SUBST([build], [$ac_cv_build])
71m4trace:configure.ac:8: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
72m4trace:configure.ac:8: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
73m4trace:configure.ac:8: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
74m4trace:configure.ac:8: -1- AC_SUBST([host], [$ac_cv_host])
75m4trace:configure.ac:8: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])
76m4trace:configure.ac:8: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])
77m4trace:configure.ac:8: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])
78m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
79m4trace:configure.ac:9: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define to 1 if your processor stores words with the most significant byte
80 first (like Motorola and SPARC, unlike Intel and VAX). */
81#undef WORDS_BIGENDIAN])
82m4trace:configure.ac:12: -1- AC_PROG_CPP
83m4trace:configure.ac:12: -1- AC_SUBST([CPP])
84m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS])
85m4trace:configure.ac:12: -1- AC_SUBST([CPP])
86m4trace:configure.ac:13: -1- AC_PROG_RANLIB
87m4trace:configure.ac:13: -1- AC_SUBST([RANLIB])
88m4trace:configure.ac:13: -1- AC_SUBST([ac_ct_RANLIB])
89m4trace:configure.ac:14: -1- AC_PROG_INSTALL
90m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_PROGRAM])
91m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_SCRIPT])
92m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_DATA])
93m4trace:configure.ac:15: -1- AC_SUBST([AR], [$ac_cv_path_AR])
94m4trace:configure.ac:16: -1- AC_SUBST([PERL], [$ac_cv_path_PERL])
95m4trace:configure.ac:17: -1- AC_SUBST([SED], [$ac_cv_path_SED])
96m4trace:configure.ac:18: -1- AC_SUBST([PERL])
97m4trace:configure.ac:19: -1- AC_SUBST([ENT], [$ac_cv_path_ENT])
98m4trace:configure.ac:20: -1- AC_SUBST([ENT])
99m4trace:configure.ac:21: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH])
100m4trace:configure.ac:22: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH])
101m4trace:configure.ac:23: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH])
102m4trace:configure.ac:24: -1- AC_SUBST([SH], [$ac_cv_path_SH])
103m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
104m4trace:configure.ac:27: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
105#undef _FILE_OFFSET_BITS])
106m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
107m4trace:configure.ac:27: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
108#undef _LARGE_FILES])
109m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_PROGRAM_FALLBACK])
110m4trace:configure.ac:38: -1- AC_SUBST([LOGIN_PROGRAM_FALLBACK], [$ac_cv_path_LOGIN_PROGRAM_FALLBACK])
111m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_PROGRAM_FALLBACK])
112m4trace:configure.ac:47: -1- AC_SUBST([LD])
113m4trace:configure.ac:49: -1- AC_C_INLINE
114m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([inline])
115m4trace:configure.ac:49: -1- AH_OUTPUT([inline], [/* Define as `__inline\' if that\'s what the C compiler calls it, or to nothing
116 if it is not supported. */
117#undef inline])
118m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([inline])
119m4trace:configure.ac:83: -1- AC_DEFINE_TRACE_LITERAL([WITH_AIXAUTHENTICATE])
120m4trace:configure.ac:83: -1- AC_CHECK_LIB([s], [authenticate], [ AC_DEFINE(WITH_AIXAUTHENTICATE)
121 LIBS="$LIBS -ls"
122 ])
123m4trace:configure.ac:83: -1- AC_DEFINE_TRACE_LITERAL([WITH_AIXAUTHENTICATE])
124m4trace:configure.ac:84: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_GETADDRINFO])
125m4trace:configure.ac:85: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALPATH])
126m4trace:configure.ac:87: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG])
127m4trace:configure.ac:88: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
128m4trace:configure.ac:89: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
129m4trace:configure.ac:90: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_PS_PADDING])
130m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CYGWIN])
131m4trace:configure.ac:96: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
132m4trace:configure.ac:97: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
133m4trace:configure.ac:98: -1- AC_DEFINE_TRACE_LITERAL([IPV4_DEFAULT])
134m4trace:configure.ac:99: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN])
135m4trace:configure.ac:100: -1- AC_DEFINE_TRACE_LITERAL([NO_X11_UNIX_SOCKETS])
136m4trace:configure.ac:101: -1- AC_DEFINE_TRACE_LITERAL([NO_IPPORT_RESERVED_CONCEPT])
137m4trace:configure.ac:102: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
138m4trace:configure.ac:103: -1- AC_DEFINE_TRACE_LITERAL([SETGROUPS_NOOP])
139m4trace:configure.ac:106: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN])
140m4trace:configure.ac:118: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_GETADDRINFO])
141m4trace:configure.ac:126: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE])
142m4trace:configure.ac:127: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
143m4trace:configure.ac:128: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT])
144m4trace:configure.ac:129: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
145m4trace:configure.ac:130: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
146m4trace:configure.ac:131: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
147m4trace:configure.ac:132: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
148m4trace:configure.ac:134: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
149echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
150 { (exit 1); exit 1; }; }])
151m4trace:configure.ac:134: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the `xnet\' library (-lxnet). */
152#undef HAVE_LIBXNET])
153m4trace:configure.ac:134: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET])
154m4trace:configure.ac:143: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
155m4trace:configure.ac:144: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT])
156m4trace:configure.ac:145: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
157m4trace:configure.ac:146: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
158m4trace:configure.ac:147: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
159m4trace:configure.ac:148: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
160m4trace:configure.ac:150: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
161echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
162 { (exit 1); exit 1; }; }])
163m4trace:configure.ac:150: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the `xnet\' library (-lxnet). */
164#undef HAVE_LIBXNET])
165m4trace:configure.ac:150: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET])
166m4trace:configure.ac:155: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE])
167m4trace:configure.ac:156: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
168m4trace:configure.ac:157: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT])
169m4trace:configure.ac:158: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
170m4trace:configure.ac:159: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
171m4trace:configure.ac:160: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
172m4trace:configure.ac:161: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
173m4trace:configure.ac:163: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
174echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
175 { (exit 1); exit 1; }; }])
176m4trace:configure.ac:163: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the `xnet\' library (-lxnet). */
177#undef HAVE_LIBXNET])
178m4trace:configure.ac:163: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET])
179m4trace:configure.ac:169: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_INET_NTOA])
180m4trace:configure.ac:170: -1- AC_DEFINE_TRACE_LITERAL([WITH_ABBREV_NO_TTY])
181m4trace:configure.ac:176: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_ARRAY])
182m4trace:configure.ac:177: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_PROJECT])
183m4trace:configure.ac:178: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_AUDIT])
184m4trace:configure.ac:179: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_JOBS])
185m4trace:configure.ac:180: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_INET_NTOA])
186m4trace:configure.ac:181: -1- AC_DEFINE_TRACE_LITERAL([WITH_ABBREV_NO_TTY])
187m4trace:configure.ac:186: -1- AC_DEFINE_TRACE_LITERAL([DONT_TRY_OTHER_AF])
188m4trace:configure.ac:187: -1- AC_DEFINE_TRACE_LITERAL([PAM_TTY_KLUDGE])
189m4trace:configure.ac:188: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY])
190m4trace:configure.ac:189: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_PS_PADDING])
191m4trace:configure.ac:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEWS4])
192m4trace:configure.ac:208: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEXT])
193m4trace:configure.ac:209: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALPATH])
194m4trace:configure.ac:210: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
195m4trace:configure.ac:211: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SAVED_UIDS])
196m4trace:configure.ac:219: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE])
197m4trace:configure.ac:220: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX])
198m4trace:configure.ac:221: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_TERM])
199m4trace:configure.ac:222: -1- AC_DEFINE_TRACE_LITERAL([PAM_TTY_KLUDGE])
200m4trace:configure.ac:223: -1- AC_DEFINE_TRACE_LITERAL([STREAMS_PUSH_ACQUIRES_CTTY])
201m4trace:configure.ac:230: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
202m4trace:configure.ac:231: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP])
203m4trace:configure.ac:238: -1- AC_CHECK_FUNCS([getpwanam])
204m4trace:configure.ac:238: -1- AH_OUTPUT([HAVE_GETPWANAM], [/* Define to 1 if you have the `getpwanam\' function. */
205#undef HAVE_GETPWANAM])
206m4trace:configure.ac:239: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE])
207m4trace:configure.ac:243: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
208m4trace:configure.ac:249: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
209m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
210m4trace:configure.ac:257: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN])
211m4trace:configure.ac:265: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
212m4trace:configure.ac:270: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
213m4trace:configure.ac:282: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SYS_TERMIO_H])
214m4trace:configure.ac:283: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
215m4trace:configure.ac:284: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE])
216m4trace:configure.ac:285: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
217m4trace:configure.ac:286: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SAVED_UIDS])
218m4trace:configure.ac:287: -1- AC_CHECK_FUNCS([getluid setluid])
219m4trace:configure.ac:287: -1- AH_OUTPUT([HAVE_GETLUID], [/* Define to 1 if you have the `getluid\' function. */
220#undef HAVE_GETLUID])
221m4trace:configure.ac:287: -1- AH_OUTPUT([HAVE_SETLUID], [/* Define to 1 if you have the `setluid\' function. */
222#undef HAVE_SETLUID])
223m4trace:configure.ac:299: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
224m4trace:configure.ac:300: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE])
225m4trace:configure.ac:301: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
226m4trace:configure.ac:302: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
227m4trace:configure.ac:303: -1- AC_CHECK_FUNCS([getluid setluid])
228m4trace:configure.ac:303: -1- AH_OUTPUT([HAVE_GETLUID], [/* Define to 1 if you have the `getluid\' function. */
229#undef HAVE_GETLUID])
230m4trace:configure.ac:303: -1- AH_OUTPUT([HAVE_SETLUID], [/* Define to 1 if you have the `setluid\' function. */
231#undef HAVE_SETLUID])
232m4trace:configure.ac:307: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
233m4trace:configure.ac:308: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
234m4trace:configure.ac:314: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
235m4trace:configure.ac:315: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
236m4trace:configure.ac:316: -1- AC_DEFINE_TRACE_LITERAL([NO_SSH_LASTLOG])
237m4trace:configure.ac:336: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSF_SIA])
238m4trace:configure.ac:337: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LOGIN])
239m4trace:configure.ac:338: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
240m4trace:configure.ac:344: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING])
241m4trace:configure.ac:348: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES])
242m4trace:configure.ac:349: -1- AC_DEFINE_TRACE_LITERAL([NO_X11_UNIX_SOCKETS])
243m4trace:configure.ac:350: -1- AC_DEFINE_TRACE_LITERAL([MISSING_NFDBITS])
244m4trace:configure.ac:351: -1- AC_DEFINE_TRACE_LITERAL([MISSING_HOWMANY])
245m4trace:configure.ac:352: -1- AC_DEFINE_TRACE_LITERAL([MISSING_FD_MASK])
246m4trace:configure.ac:400: -1- AC_CHECK_HEADERS([bstring.h crypt.h endian.h floatingpoint.h \
247 getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \
248 login_cap.h maillock.h netdb.h netgroup.h \
249 netinet/in_systm.h paths.h pty.h readpassphrase.h \
250 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
251 strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \
252 sys/mman.h sys/pstat.h sys/select.h sys/stat.h \
253 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \
254 sys/un.h time.h tmpdir.h ttyent.h usersec.h \
255 util.h utime.h utmp.h utmpx.h])
256m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_BSTRING_H], [/* Define to 1 if you have the <bstring.h> header file. */
257#undef HAVE_BSTRING_H])
258m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */
259#undef HAVE_CRYPT_H])
260m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_ENDIAN_H], [/* Define to 1 if you have the <endian.h> header file. */
261#undef HAVE_ENDIAN_H])
262m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_FLOATINGPOINT_H], [/* Define to 1 if you have the <floatingpoint.h> header file. */
263#undef HAVE_FLOATINGPOINT_H])
264m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */
265#undef HAVE_GETOPT_H])
266m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_GLOB_H], [/* Define to 1 if you have the <glob.h> header file. */
267#undef HAVE_GLOB_H])
268m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_IA_H], [/* Define to 1 if you have the <ia.h> header file. */
269#undef HAVE_IA_H])
270m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LASTLOG_H], [/* Define to 1 if you have the <lastlog.h> header file. */
271#undef HAVE_LASTLOG_H])
272m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */
273#undef HAVE_LIBGEN_H])
274m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
275#undef HAVE_LIMITS_H])
276m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LOGIN_H], [/* Define to 1 if you have the <login.h> header file. */
277#undef HAVE_LOGIN_H])
278m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LOGIN_CAP_H], [/* Define to 1 if you have the <login_cap.h> header file. */
279#undef HAVE_LOGIN_CAP_H])
280m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */
281#undef HAVE_MAILLOCK_H])
282m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
283#undef HAVE_NETDB_H])
284m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_NETGROUP_H], [/* Define to 1 if you have the <netgroup.h> header file. */
285#undef HAVE_NETGROUP_H])
286m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */
287#undef HAVE_NETINET_IN_SYSTM_H])
288m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
289#undef HAVE_PATHS_H])
290m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */
291#undef HAVE_PTY_H])
292m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_READPASSPHRASE_H], [/* Define to 1 if you have the <readpassphrase.h> header file. */
293#undef HAVE_READPASSPHRASE_H])
294m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_RPC_TYPES_H], [/* Define to 1 if you have the <rpc/types.h> header file. */
295#undef HAVE_RPC_TYPES_H])
296m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SECURITY_PAM_APPL_H], [/* Define to 1 if you have the <security/pam_appl.h> header file. */
297#undef HAVE_SECURITY_PAM_APPL_H])
298m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */
299#undef HAVE_SHADOW_H])
300m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
301#undef HAVE_STDDEF_H])
302m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
303#undef HAVE_STDINT_H])
304m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
305#undef HAVE_STRINGS_H])
306m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
307#undef HAVE_SYS_BITYPES_H])
308m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_BSDTTY_H], [/* Define to 1 if you have the <sys/bsdtty.h> header file. */
309#undef HAVE_SYS_BSDTTY_H])
310m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_CDEFS_H], [/* Define to 1 if you have the <sys/cdefs.h> header file. */
311#undef HAVE_SYS_CDEFS_H])
312m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
313#undef HAVE_SYS_MMAN_H])
314m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_PSTAT_H], [/* Define to 1 if you have the <sys/pstat.h> header file. */
315#undef HAVE_SYS_PSTAT_H])
316m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
317#undef HAVE_SYS_SELECT_H])
318m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
319#undef HAVE_SYS_STAT_H])
320m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */
321#undef HAVE_SYS_STROPTS_H])
322m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_SYSMACROS_H], [/* Define to 1 if you have the <sys/sysmacros.h> header file. */
323#undef HAVE_SYS_SYSMACROS_H])
324m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
325#undef HAVE_SYS_TIME_H])
326m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_TIMERS_H], [/* Define to 1 if you have the <sys/timers.h> header file. */
327#undef HAVE_SYS_TIMERS_H])
328m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */
329#undef HAVE_SYS_UN_H])
330m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */
331#undef HAVE_TIME_H])
332m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */
333#undef HAVE_TMPDIR_H])
334m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_TTYENT_H], [/* Define to 1 if you have the <ttyent.h> header file. */
335#undef HAVE_TTYENT_H])
336m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */
337#undef HAVE_USERSEC_H])
338m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */
339#undef HAVE_UTIL_H])
340m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the <utime.h> header file. */
341#undef HAVE_UTIME_H])
342m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */
343#undef HAVE_UTMP_H])
344m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */
345#undef HAVE_UTMPX_H])
346m4trace:configure.ac:400: -1- AC_HEADER_STDC
347m4trace:configure.ac:400: -1- AC_SUBST([EGREP])
348m4trace:configure.ac:400: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
349m4trace:configure.ac:400: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
350#undef STDC_HEADERS])
351m4trace:configure.ac:400: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
352 inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
353m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
354#undef HAVE_SYS_TYPES_H])
355m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
356#undef HAVE_SYS_STAT_H])
357m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
358#undef HAVE_STDLIB_H])
359m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
360#undef HAVE_STRING_H])
361m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
362#undef HAVE_MEMORY_H])
363m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
364#undef HAVE_STRINGS_H])
365m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
366#undef HAVE_INTTYPES_H])
367m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
368#undef HAVE_STDINT_H])
369m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
370#undef HAVE_UNISTD_H])
371m4trace:configure.ac:403: -2- AC_CHECK_LIB([nsl], [yp_match])
372m4trace:configure.ac:403: -2- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the `nsl\' library (-lnsl). */
373#undef HAVE_LIBNSL])
374m4trace:configure.ac:403: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL])
375m4trace:configure.ac:404: -2- AC_CHECK_LIB([socket], [setsockopt])
376m4trace:configure.ac:404: -2- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the `socket\' library (-lsocket). */
377#undef HAVE_LIBSOCKET])
378m4trace:configure.ac:404: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
379m4trace:configure.ac:409: -1- AC_CHECK_LIB([rpc], [innetgr], [LIBS="-lrpc -lyp -lrpc $LIBS" ], [], [-lyp -lrpc])
380m4trace:configure.ac:414: -2- AC_CHECK_LIB([gen], [getspnam], [LIBS="$LIBS -lgen"])
381m4trace:configure.ac:456: -1- AC_CHECK_LIB([z], [deflate], [], [{ { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
382echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
383 { (exit 1); exit 1; }; }])
384m4trace:configure.ac:456: -1- AH_OUTPUT([HAVE_LIBZ], [/* Define to 1 if you have the `z\' library (-lz). */
385#undef HAVE_LIBZ])
386m4trace:configure.ac:456: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ])
387m4trace:configure.ac:461: -1- AC_CHECK_LIB([resolv], [strcasecmp], [LIBS="$LIBS -lresolv"])
388m4trace:configure.ac:465: -1- AC_CHECK_LIB([c89], [utimes], [AC_DEFINE(HAVE_UTIMES)
389 LIBS="$LIBS -lc89"])
390m4trace:configure.ac:465: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTIMES])
391m4trace:configure.ac:468: -1- AC_CHECK_HEADERS([libutil.h])
392m4trace:configure.ac:468: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */
393#undef HAVE_LIBUTIL_H])
394m4trace:configure.ac:469: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOGIN])
395m4trace:configure.ac:470: -1- AC_CHECK_FUNCS([logout updwtmp logwtmp])
396m4trace:configure.ac:470: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the `logout\' function. */
397#undef HAVE_LOGOUT])
398m4trace:configure.ac:470: -1- AH_OUTPUT([HAVE_UPDWTMP], [/* Define to 1 if you have the `updwtmp\' function. */
399#undef HAVE_UPDWTMP])
400m4trace:configure.ac:470: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the `logwtmp\' function. */
401#undef HAVE_LOGWTMP])
402m4trace:configure.ac:472: -1- AC_FUNC_STRFTIME
403m4trace:configure.ac:472: -1- AC_CHECK_FUNCS([strftime], [], [# strftime is in -lintl on SCO UNIX.
404AC_CHECK_LIB(intl, strftime,
405 [AC_DEFINE(HAVE_STRFTIME)
406LIBS="-lintl $LIBS"])])
407m4trace:configure.ac:472: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define to 1 if you have the `strftime\' function. */
408#undef HAVE_STRFTIME])
409m4trace:configure.ac:472: -1- AC_CHECK_LIB([intl], [strftime], [AC_DEFINE(HAVE_STRFTIME)
410LIBS="-lintl $LIBS"])
411m4trace:configure.ac:472: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
412m4trace:configure.ac:490: -1- AC_DEFINE_TRACE_LITERAL([GLOB_HAS_ALTDIRFUNC])
413m4trace:configure.ac:506: -1- AC_DEFINE_TRACE_LITERAL([GLOB_HAS_GL_MATCHC])
414m4trace:configure.ac:520: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_ONE_BYTE_DIRENT_D_NAME])
415m4trace:configure.ac:553: -1- AC_DEFINE_TRACE_LITERAL([SKEY])
416m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([LIBWRAP])
417m4trace:configure.ac:607: -1- AC_SUBST([LIBWRAP])
418m4trace:configure.ac:622: -1- AC_CHECK_FUNCS([\
419 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \
420 bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
421 gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
422 getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \
423 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
424 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \
425 readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \
426 setegid setenv seteuid setgroups setlogin setpcred setproctitle \
427 setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \
428 snprintf socketpair strerror strlcat strlcpy strmode strnvis \
429 sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \
430])
431m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_ARC4RANDOM], [/* Define to 1 if you have the `arc4random\' function. */
432#undef HAVE_ARC4RANDOM])
433m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE___B64_NTOP], [/* Define to 1 if you have the `__b64_ntop\' function. */
434#undef HAVE___B64_NTOP])
435m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_B64_NTOP], [/* Define to 1 if you have the `b64_ntop\' function. */
436#undef HAVE_B64_NTOP])
437m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE___B64_PTON], [/* Define to 1 if you have the `__b64_pton\' function. */
438#undef HAVE___B64_PTON])
439m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_B64_PTON], [/* Define to 1 if you have the `b64_pton\' function. */
440#undef HAVE_B64_PTON])
441m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the `basename\' function. */
442#undef HAVE_BASENAME])
443m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_BCOPY], [/* Define to 1 if you have the `bcopy\' function. */
444#undef HAVE_BCOPY])
445m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_BINDRESVPORT_SA], [/* Define to 1 if you have the `bindresvport_sa\' function. */
446#undef HAVE_BINDRESVPORT_SA])
447m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_CLOCK], [/* Define to 1 if you have the `clock\' function. */
448#undef HAVE_CLOCK])
449m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the `fchmod\' function. */
450#undef HAVE_FCHMOD])
451m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define to 1 if you have the `fchown\' function. */
452#undef HAVE_FCHOWN])
453m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the `freeaddrinfo\' function. */
454#undef HAVE_FREEADDRINFO])
455m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_FUTIMES], [/* Define to 1 if you have the `futimes\' function. */
456#undef HAVE_FUTIMES])
457m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the `gai_strerror\' function. */
458#undef HAVE_GAI_STRERROR])
459m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the `getaddrinfo\' function. */
460#undef HAVE_GETADDRINFO])
461m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the `getcwd\' function. */
462#undef HAVE_GETCWD])
463m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETGROUPLIST], [/* Define to 1 if you have the `getgrouplist\' function. */
464#undef HAVE_GETGROUPLIST])
465m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the `getnameinfo\' function. */
466#undef HAVE_GETNAMEINFO])
467m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define to 1 if you have the `getopt\' function. */
468#undef HAVE_GETOPT])
469m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETPEEREID], [/* Define to 1 if you have the `getpeereid\' function. */
470#undef HAVE_GETPEEREID])
471m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the `_getpty\' function. */
472#undef HAVE__GETPTY])
473m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */
474#undef HAVE_GETRLIMIT])
475m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETRUSAGE], [/* Define to 1 if you have the `getrusage\' function. */
476#undef HAVE_GETRUSAGE])
477m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETTTYENT], [/* Define to 1 if you have the `getttyent\' function. */
478#undef HAVE_GETTTYENT])
479m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GLOB], [/* Define to 1 if you have the `glob\' function. */
480#undef HAVE_GLOB])
481m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_INET_ATON], [/* Define to 1 if you have the `inet_aton\' function. */
482#undef HAVE_INET_ATON])
483m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_INET_NTOA], [/* Define to 1 if you have the `inet_ntoa\' function. */
484#undef HAVE_INET_NTOA])
485m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the `inet_ntop\' function. */
486#undef HAVE_INET_NTOP])
487m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define to 1 if you have the `innetgr\' function. */
488#undef HAVE_INNETGR])
489m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_LOGIN_GETCAPBOOL], [/* Define to 1 if you have the `login_getcapbool\' function. */
490#undef HAVE_LOGIN_GETCAPBOOL])
491m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_MD5_CRYPT], [/* Define to 1 if you have the `md5_crypt\' function. */
492#undef HAVE_MD5_CRYPT])
493m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
494#undef HAVE_MEMMOVE])
495m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_MKDTEMP], [/* Define to 1 if you have the `mkdtemp\' function. */
496#undef HAVE_MKDTEMP])
497m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have the `mmap\' function. */
498#undef HAVE_MMAP])
499m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_NGETADDRINFO], [/* Define to 1 if you have the `ngetaddrinfo\' function. */
500#undef HAVE_NGETADDRINFO])
501m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_NSLEEP], [/* Define to 1 if you have the `nsleep\' function. */
502#undef HAVE_NSLEEP])
503m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_OGETADDRINFO], [/* Define to 1 if you have the `ogetaddrinfo\' function. */
504#undef HAVE_OGETADDRINFO])
505m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the `openpty\' function. */
506#undef HAVE_OPENPTY])
507m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_PSTAT], [/* Define to 1 if you have the `pstat\' function. */
508#undef HAVE_PSTAT])
509m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_READPASSPHRASE], [/* Define to 1 if you have the `readpassphrase\' function. */
510#undef HAVE_READPASSPHRASE])
511m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */
512#undef HAVE_REALPATH])
513m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define to 1 if you have the `recvmsg\' function. */
514#undef HAVE_RECVMSG])
515m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_RRESVPORT_AF], [/* Define to 1 if you have the `rresvport_af\' function. */
516#undef HAVE_RRESVPORT_AF])
517m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the `sendmsg\' function. */
518#undef HAVE_SENDMSG])
519m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETDTABLESIZE], [/* Define to 1 if you have the `setdtablesize\' function. */
520#undef HAVE_SETDTABLESIZE])
521m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define to 1 if you have the `setegid\' function. */
522#undef HAVE_SETEGID])
523m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
524#undef HAVE_SETENV])
525m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define to 1 if you have the `seteuid\' function. */
526#undef HAVE_SETEUID])
527m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETGROUPS], [/* Define to 1 if you have the `setgroups\' function. */
528#undef HAVE_SETGROUPS])
529m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the `setlogin\' function. */
530#undef HAVE_SETLOGIN])
531m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the `setpcred\' function. */
532#undef HAVE_SETPCRED])
533m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the `setproctitle\' function. */
534#undef HAVE_SETPROCTITLE])
535m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the `setresgid\' function. */
536#undef HAVE_SETRESGID])
537m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the `setreuid\' function. */
538#undef HAVE_SETREUID])
539m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */
540#undef HAVE_SETRLIMIT])
541m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the `setsid\' function. */
542#undef HAVE_SETSID])
543m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETVBUF], [/* Define to 1 if you have the `setvbuf\' function. */
544#undef HAVE_SETVBUF])
545m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the `sigaction\' function. */
546#undef HAVE_SIGACTION])
547m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SIGVEC], [/* Define to 1 if you have the `sigvec\' function. */
548#undef HAVE_SIGVEC])
549m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */
550#undef HAVE_SNPRINTF])
551m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SOCKETPAIR], [/* Define to 1 if you have the `socketpair\' function. */
552#undef HAVE_SOCKETPAIR])
553m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
554#undef HAVE_STRERROR])
555m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define to 1 if you have the `strlcat\' function. */
556#undef HAVE_STRLCAT])
557m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define to 1 if you have the `strlcpy\' function. */
558#undef HAVE_STRLCPY])
559m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRMODE], [/* Define to 1 if you have the `strmode\' function. */
560#undef HAVE_STRMODE])
561m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRNVIS], [/* Define to 1 if you have the `strnvis\' function. */
562#undef HAVE_STRNVIS])
563m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the `sysconf\' function. */
564#undef HAVE_SYSCONF])
565m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_TCGETPGRP], [/* Define to 1 if you have the `tcgetpgrp\' function. */
566#undef HAVE_TCGETPGRP])
567m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_TRUNCATE], [/* Define to 1 if you have the `truncate\' function. */
568#undef HAVE_TRUNCATE])
569m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_UTIMES], [/* Define to 1 if you have the `utimes\' function. */
570#undef HAVE_UTIMES])
571m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the `vhangup\' function. */
572#undef HAVE_VHANGUP])
573m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* Define to 1 if you have the `vsnprintf\' function. */
574#undef HAVE_VSNPRINTF])
575m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_WAITPID], [/* Define to 1 if you have the `waitpid\' function. */
576#undef HAVE_WAITPID])
577m4trace:configure.ac:624: -2- AC_DEFINE_TRACE_LITERAL([HAVE_NANOSLEEP])
578m4trace:configure.ac:625: -2- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME])
579m4trace:configure.ac:628: -1- AC_CHECK_FUNCS([strsep])
580m4trace:configure.ac:628: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define to 1 if you have the `strsep\' function. */
581#undef HAVE_STRSEP])
582m4trace:configure.ac:665: -1- AC_CHECK_FUNCS([dirname], [AC_CHECK_HEADERS(libgen.h) ], [
583 AC_CHECK_LIB(gen, dirname,[
584 AC_CACHE_CHECK([for broken dirname],
585 ac_cv_have_broken_dirname, [
586 save_LIBS="$LIBS"
587 LIBS="$LIBS -lgen"
588 AC_TRY_RUN(
589 [
590#include <libgen.h>
591#include <string.h>
592
593int main(int argc, char **argv) {
594 char *s, buf[32];
595
596 strncpy(buf,"/etc", 32);
597 s = dirname(buf);
598 if (!s || strncmp(s, "/", 32) != 0) {
599 exit(1);
600 } else {
601 exit(0);
602 }
603}
604 ],
605 [ ac_cv_have_broken_dirname="no" ],
606 [ ac_cv_have_broken_dirname="yes" ]
607 )
608 LIBS="$save_LIBS"
609 ])
610 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
611 LIBS="$LIBS -lgen"
612 AC_DEFINE(HAVE_DIRNAME)
613 AC_CHECK_HEADERS(libgen.h)
614 fi
615 ])
616])
617m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_DIRNAME], [/* Define to 1 if you have the `dirname\' function. */
618#undef HAVE_DIRNAME])
619m4trace:configure.ac:665: -1- AC_CHECK_HEADERS([libgen.h])
620m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */
621#undef HAVE_LIBGEN_H])
622m4trace:configure.ac:665: -1- AC_CHECK_LIB([gen], [dirname], [
623 AC_CACHE_CHECK([for broken dirname],
624 ac_cv_have_broken_dirname, [
625 save_LIBS="$LIBS"
626 LIBS="$LIBS -lgen"
627 AC_TRY_RUN(
628 [
629#include <libgen.h>
630#include <string.h>
631
632int main(int argc, char **argv) {
633 char *s, buf[32];
634
635 strncpy(buf,"/etc", 32);
636 s = dirname(buf);
637 if (!s || strncmp(s, "/", 32) != 0) {
638 exit(1);
639 } else {
640 exit(0);
641 }
642}
643 ],
644 [ ac_cv_have_broken_dirname="no" ],
645 [ ac_cv_have_broken_dirname="yes" ]
646 )
647 LIBS="$save_LIBS"
648 ])
649 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
650 LIBS="$LIBS -lgen"
651 AC_DEFINE(HAVE_DIRNAME)
652 AC_CHECK_HEADERS(libgen.h)
653 fi
654 ])
655m4trace:configure.ac:665: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRNAME])
656m4trace:configure.ac:665: -1- AC_CHECK_HEADERS([libgen.h])
657m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */
658#undef HAVE_LIBGEN_H])
659m4trace:configure.ac:668: -1- AC_CHECK_FUNCS([gettimeofday time])
660m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
661#undef HAVE_GETTIMEOFDAY])
662m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_TIME], [/* Define to 1 if you have the `time\' function. */
663#undef HAVE_TIME])
664m4trace:configure.ac:670: -1- AC_CHECK_FUNCS([endutent getutent getutid getutline pututline setutent])
665m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_ENDUTENT], [/* Define to 1 if you have the `endutent\' function. */
666#undef HAVE_ENDUTENT])
667m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_GETUTENT], [/* Define to 1 if you have the `getutent\' function. */
668#undef HAVE_GETUTENT])
669m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_GETUTID], [/* Define to 1 if you have the `getutid\' function. */
670#undef HAVE_GETUTID])
671m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_GETUTLINE], [/* Define to 1 if you have the `getutline\' function. */
672#undef HAVE_GETUTLINE])
673m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_PUTUTLINE], [/* Define to 1 if you have the `pututline\' function. */
674#undef HAVE_PUTUTLINE])
675m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the `setutent\' function. */
676#undef HAVE_SETUTENT])
677m4trace:configure.ac:671: -1- AC_CHECK_FUNCS([utmpname])
678m4trace:configure.ac:671: -1- AH_OUTPUT([HAVE_UTMPNAME], [/* Define to 1 if you have the `utmpname\' function. */
679#undef HAVE_UTMPNAME])
680m4trace:configure.ac:673: -1- AC_CHECK_FUNCS([endutxent getutxent getutxid getutxline pututxline ])
681m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_ENDUTXENT], [/* Define to 1 if you have the `endutxent\' function. */
682#undef HAVE_ENDUTXENT])
683m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_GETUTXENT], [/* Define to 1 if you have the `getutxent\' function. */
684#undef HAVE_GETUTXENT])
685m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_GETUTXID], [/* Define to 1 if you have the `getutxid\' function. */
686#undef HAVE_GETUTXID])
687m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_GETUTXLINE], [/* Define to 1 if you have the `getutxline\' function. */
688#undef HAVE_GETUTXLINE])
689m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_PUTUTXLINE], [/* Define to 1 if you have the `pututxline\' function. */
690#undef HAVE_PUTUTXLINE])
691m4trace:configure.ac:674: -1- AC_CHECK_FUNCS([setutxent utmpxname])
692m4trace:configure.ac:674: -1- AH_OUTPUT([HAVE_SETUTXENT], [/* Define to 1 if you have the `setutxent\' function. */
693#undef HAVE_SETUTXENT])
694m4trace:configure.ac:674: -1- AH_OUTPUT([HAVE_UTMPXNAME], [/* Define to 1 if you have the `utmpxname\' function. */
695#undef HAVE_UTMPXNAME])
696m4trace:configure.ac:679: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON])
697m4trace:configure.ac:679: -1- AC_CHECK_LIB([bsd], [daemon], [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_DAEMON)])
698m4trace:configure.ac:679: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON])
699m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE])
700m4trace:configure.ac:684: -1- AC_CHECK_LIB([ucb], [getpagesize], [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)])
701m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE])
702m4trace:configure.ac:700: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SNPRINTF])
703m4trace:configure.ac:726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICT_MKSTEMP])
704m4trace:configure.ac:726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICT_MKSTEMP])
705m4trace:configure.ac:729: -1- AC_FUNC_GETPGRP
706m4trace:configure.ac:729: -1- AC_DEFINE_TRACE_LITERAL([GETPGRP_VOID])
707m4trace:configure.ac:729: -1- AH_OUTPUT([GETPGRP_VOID], [/* Define to 1 if the `getpgrp\' function requires zero arguments. */
708#undef GETPGRP_VOID])
709m4trace:configure.ac:757: -1- AC_CHECK_LIB([dl], [dlopen], [], [])
710m4trace:configure.ac:757: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */
711#undef HAVE_LIBDL])
712m4trace:configure.ac:757: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL])
713m4trace:configure.ac:757: -1- AC_CHECK_LIB([pam], [pam_set_item], [], [{ { echo "$as_me:$LINENO: error: *** libpam missing" >&5
714echo "$as_me: error: *** libpam missing" >&2;}
715 { (exit 1); exit 1; }; }])
716m4trace:configure.ac:757: -1- AH_OUTPUT([HAVE_LIBPAM], [/* Define to 1 if you have the `pam\' library (-lpam). */
717#undef HAVE_LIBPAM])
718m4trace:configure.ac:757: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPAM])
719m4trace:configure.ac:757: -1- AC_CHECK_FUNCS([pam_getenvlist])
720m4trace:configure.ac:757: -1- AH_OUTPUT([HAVE_PAM_GETENVLIST], [/* Define to 1 if you have the `pam_getenvlist\' function. */
721#undef HAVE_PAM_GETENVLIST])
722m4trace:configure.ac:757: -1- AC_DEFINE_TRACE_LITERAL([USE_PAM])
723m4trace:configure.ac:757: -1- AC_SUBST([LIBPAM])
724m4trace:configure.ac:775: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_PAM])
725m4trace:configure.ac:781: -1- AC_CHECK_LIB([crypt], [crypt])
726m4trace:configure.ac:781: -1- AH_OUTPUT([HAVE_LIBCRYPT], [/* Define to 1 if you have the `crypt\' library (-lcrypt). */
727#undef HAVE_LIBCRYPT])
728m4trace:configure.ac:781: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCRYPT])
729m4trace:configure.ac:813: -2- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
730m4trace:configure.ac:828: -2- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL])
731m4trace:configure.ac:915: -1- AC_CHECK_LIB([crypt], [crypt], [LIBS="$LIBS -lcrypt"])
732m4trace:configure.ac:963: -1- AC_DEFINE_TRACE_LITERAL([OPENSSL_PRNG_ONLY])
733m4trace:configure.ac:971: -1- AC_SUBST([INSTALL_SSH_RAND_HELPER])
734m4trace:configure.ac:994: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_PORT])
735m4trace:configure.ac:1044: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_SOCKET])
736m4trace:configure.ac:1044: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_SOCKET])
737m4trace:configure.ac:1056: -1- AC_DEFINE_TRACE_LITERAL([ENTROPY_TIMEOUT_MSEC])
738m4trace:configure.ac:1067: -1- AC_DEFINE_TRACE_LITERAL([SSH_PRIVSEP_USER])
739m4trace:configure.ac:1068: -1- AC_SUBST([SSH_PRIVSEP_USER])
740m4trace:configure.ac:1085: -1- AC_SUBST([PROG_LS], [$ac_cv_path_PROG_LS])
741m4trace:configure.ac:1085: -1- AC_SUBST([PROG_LS])
742m4trace:configure.ac:1086: -1- AC_SUBST([PROG_NETSTAT], [$ac_cv_path_PROG_NETSTAT])
743m4trace:configure.ac:1086: -1- AC_SUBST([PROG_NETSTAT])
744m4trace:configure.ac:1087: -1- AC_SUBST([PROG_ARP], [$ac_cv_path_PROG_ARP])
745m4trace:configure.ac:1087: -1- AC_SUBST([PROG_ARP])
746m4trace:configure.ac:1088: -1- AC_SUBST([PROG_IFCONFIG], [$ac_cv_path_PROG_IFCONFIG])
747m4trace:configure.ac:1088: -1- AC_SUBST([PROG_IFCONFIG])
748m4trace:configure.ac:1089: -1- AC_SUBST([PROG_JSTAT], [$ac_cv_path_PROG_JSTAT])
749m4trace:configure.ac:1089: -1- AC_SUBST([PROG_JSTAT])
750m4trace:configure.ac:1090: -1- AC_SUBST([PROG_PS], [$ac_cv_path_PROG_PS])
751m4trace:configure.ac:1090: -1- AC_SUBST([PROG_PS])
752m4trace:configure.ac:1091: -1- AC_SUBST([PROG_SAR], [$ac_cv_path_PROG_SAR])
753m4trace:configure.ac:1091: -1- AC_SUBST([PROG_SAR])
754m4trace:configure.ac:1092: -1- AC_SUBST([PROG_W], [$ac_cv_path_PROG_W])
755m4trace:configure.ac:1092: -1- AC_SUBST([PROG_W])
756m4trace:configure.ac:1093: -1- AC_SUBST([PROG_WHO], [$ac_cv_path_PROG_WHO])
757m4trace:configure.ac:1093: -1- AC_SUBST([PROG_WHO])
758m4trace:configure.ac:1094: -1- AC_SUBST([PROG_LAST], [$ac_cv_path_PROG_LAST])
759m4trace:configure.ac:1094: -1- AC_SUBST([PROG_LAST])
760m4trace:configure.ac:1095: -1- AC_SUBST([PROG_LASTLOG], [$ac_cv_path_PROG_LASTLOG])
761m4trace:configure.ac:1095: -1- AC_SUBST([PROG_LASTLOG])
762m4trace:configure.ac:1096: -1- AC_SUBST([PROG_DF], [$ac_cv_path_PROG_DF])
763m4trace:configure.ac:1096: -1- AC_SUBST([PROG_DF])
764m4trace:configure.ac:1097: -1- AC_SUBST([PROG_VMSTAT], [$ac_cv_path_PROG_VMSTAT])
765m4trace:configure.ac:1097: -1- AC_SUBST([PROG_VMSTAT])
766m4trace:configure.ac:1098: -1- AC_SUBST([PROG_UPTIME], [$ac_cv_path_PROG_UPTIME])
767m4trace:configure.ac:1098: -1- AC_SUBST([PROG_UPTIME])
768m4trace:configure.ac:1099: -1- AC_SUBST([PROG_IPCS], [$ac_cv_path_PROG_IPCS])
769m4trace:configure.ac:1099: -1- AC_SUBST([PROG_IPCS])
770m4trace:configure.ac:1100: -1- AC_SUBST([PROG_TAIL], [$ac_cv_path_PROG_TAIL])
771m4trace:configure.ac:1100: -1- AC_SUBST([PROG_TAIL])
772m4trace:configure.ac:1117: -1- AC_SUBST([INSTALL_SSH_PRNG_CMDS])
773m4trace:configure.ac:1126: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CHAR])
774m4trace:configure.ac:1126: -1- AH_OUTPUT([SIZEOF_CHAR], [/* The size of a `char\', as computed by sizeof. */
775#undef SIZEOF_CHAR])
776m4trace:configure.ac:1127: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SHORT_INT])
777m4trace:configure.ac:1127: -1- AH_OUTPUT([SIZEOF_SHORT_INT], [/* The size of a `short int\', as computed by sizeof. */
778#undef SIZEOF_SHORT_INT])
779m4trace:configure.ac:1128: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
780m4trace:configure.ac:1128: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of a `int\', as computed by sizeof. */
781#undef SIZEOF_INT])
782m4trace:configure.ac:1129: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_INT])
783m4trace:configure.ac:1129: -1- AH_OUTPUT([SIZEOF_LONG_INT], [/* The size of a `long int\', as computed by sizeof. */
784#undef SIZEOF_LONG_INT])
785m4trace:configure.ac:1130: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG_INT])
786m4trace:configure.ac:1130: -1- AH_OUTPUT([SIZEOF_LONG_LONG_INT], [/* The size of a `long long int\', as computed by sizeof. */
787#undef SIZEOF_LONG_LONG_INT])
788m4trace:configure.ac:1147: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT])
789m4trace:configure.ac:1160: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T])
790m4trace:configure.ac:1176: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T])
791m4trace:configure.ac:1197: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT64_T])
792m4trace:configure.ac:1209: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T])
793m4trace:configure.ac:1223: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T])
794m4trace:configure.ac:1235: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T])
795m4trace:configure.ac:1249: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T])
796m4trace:configure.ac:1264: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINTXX_T])
797m4trace:configure.ac:1278: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINTXX_T])
798m4trace:configure.ac:1300: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T])
799m4trace:configure.ac:1300: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T])
800m4trace:configure.ac:1315: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_CHAR])
801m4trace:configure.ac:1318: -1- AC_DEFINE_TRACE_LITERAL([socklen_t])
802m4trace:configure.ac:1318: -1- AH_OUTPUT([socklen_t], [/* type to use in place of socklen_t if not defined */
803#undef socklen_t])
804m4trace:configure.ac:1320: -1- AC_CHECK_TYPES([sig_atomic_t], [], [], [#include <signal.h>])
805m4trace:configure.ac:1320: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIG_ATOMIC_T])
806m4trace:configure.ac:1320: -1- AH_OUTPUT([HAVE_SIG_ATOMIC_T], [/* Define to 1 if the system has the type `sig_atomic_t\'. */
807#undef HAVE_SIG_ATOMIC_T])
808m4trace:configure.ac:1333: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIZE_T])
809m4trace:configure.ac:1347: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSIZE_T])
810m4trace:configure.ac:1361: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_T])
811m4trace:configure.ac:1386: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T])
812m4trace:configure.ac:1400: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PID_T])
813m4trace:configure.ac:1414: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MODE_T])
814m4trace:configure.ac:1430: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE])
815m4trace:configure.ac:1445: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_IN6])
816m4trace:configure.ac:1460: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IN6_ADDR])
817m4trace:configure.ac:1476: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO])
818m4trace:configure.ac:1488: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMEVAL])
819m4trace:configure.ac:1492: -1- AC_CHECK_TYPES([struct timespec])
820m4trace:configure.ac:1492: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMESPEC])
821m4trace:configure.ac:1492: -1- AH_OUTPUT([HAVE_STRUCT_TIMESPEC], [/* Define to 1 if the system has the type `struct timespec\'. */
822#undef HAVE_STRUCT_TIMESPEC])
823m4trace:configure.ac:1529: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SNPRINTF])
824m4trace:configure.ac:1533: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HOST_IN_UTMP])
825m4trace:configure.ac:1534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HOST_IN_UTMPX])
826m4trace:configure.ac:1535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSLEN_IN_UTMPX])
827m4trace:configure.ac:1536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PID_IN_UTMP])
828m4trace:configure.ac:1537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TYPE_IN_UTMP])
829m4trace:configure.ac:1538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TYPE_IN_UTMPX])
830m4trace:configure.ac:1539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TV_IN_UTMP])
831m4trace:configure.ac:1540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ID_IN_UTMP])
832m4trace:configure.ac:1541: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ID_IN_UTMPX])
833m4trace:configure.ac:1542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_IN_UTMP])
834m4trace:configure.ac:1543: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_IN_UTMPX])
835m4trace:configure.ac:1544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_V6_IN_UTMP])
836m4trace:configure.ac:1545: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_V6_IN_UTMPX])
837m4trace:configure.ac:1546: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EXIT_IN_UTMP])
838m4trace:configure.ac:1547: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_IN_UTMP])
839m4trace:configure.ac:1548: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_IN_UTMPX])
840m4trace:configure.ac:1549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TV_IN_UTMPX])
841m4trace:configure.ac:1551: -1- AC_CHECK_MEMBERS([struct stat.st_blksize])
842m4trace:configure.ac:1551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_BLKSIZE])
843m4trace:configure.ac:1551: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_BLKSIZE], [/* Define to 1 if `st_blksize\' is member of `struct stat\'. */
844#undef HAVE_STRUCT_STAT_ST_BLKSIZE])
845m4trace:configure.ac:1566: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SS_FAMILY_IN_SS])
846m4trace:configure.ac:1582: -1- AC_DEFINE_TRACE_LITERAL([HAVE___SS_FAMILY_IN_SS])
847m4trace:configure.ac:1597: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_CLASS_IN_PASSWD])
848m4trace:configure.ac:1612: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_EXPIRE_IN_PASSWD])
849m4trace:configure.ac:1627: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_CHANGE_IN_PASSWD])
850m4trace:configure.ac:1652: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACCRIGHTS_IN_MSGHDR])
851m4trace:configure.ac:1676: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CONTROL_IN_MSGHDR])
852m4trace:configure.ac:1687: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME])
853m4trace:configure.ac:1700: -1- AC_DEFINE_TRACE_LITERAL([HAVE___FUNCTION__])
854m4trace:configure.ac:1713: -1- AC_DEFINE_TRACE_LITERAL([HAVE___func__])
855m4trace:configure.ac:1728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_OPTRESET])
856m4trace:configure.ac:1739: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_ERRLIST])
857m4trace:configure.ac:1751: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_NERR])
858m4trace:configure.ac:1784: -1- AC_CHECK_HEADERS([sectok.h])
859m4trace:configure.ac:1784: -1- AH_OUTPUT([HAVE_SECTOK_H], [/* Define to 1 if you have the <sectok.h> header file. */
860#undef HAVE_SECTOK_H])
861m4trace:configure.ac:1784: -1- AC_CHECK_LIB([sectok], [sectok_open])
862m4trace:configure.ac:1784: -1- AH_OUTPUT([HAVE_LIBSECTOK], [/* Define to 1 if you have the `sectok\' library (-lsectok). */
863#undef HAVE_LIBSECTOK])
864m4trace:configure.ac:1784: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSECTOK])
865m4trace:configure.ac:1784: -1- AC_DEFINE_TRACE_LITERAL([SMARTCARD])
866m4trace:configure.ac:1784: -1- AC_DEFINE_TRACE_LITERAL([USE_SECTOK])
867m4trace:configure.ac:1793: -1- AC_SUBST([OPENSC_CONFIG], [$ac_cv_path_OPENSC_CONFIG])
868m4trace:configure.ac:1799: -1- AC_DEFINE_TRACE_LITERAL([SMARTCARD])
869m4trace:configure.ac:1800: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSC])
870m4trace:configure.ac:1842: -1- AC_DEFINE_TRACE_LITERAL([KRB5])
871m4trace:configure.ac:1842: -1- AC_DEFINE_TRACE_LITERAL([HEIMDAL])
872m4trace:configure.ac:1842: -1- AC_CHECK_LIB([resolv], [dn_expand], [], [])
873m4trace:configure.ac:1842: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
874#undef HAVE_LIBRESOLV])
875m4trace:configure.ac:1842: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
876m4trace:configure.ac:1896: -1- AC_CHECK_HEADERS([krb.h])
877m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_KRB_H], [/* Define to 1 if you have the <krb.h> header file. */
878#undef HAVE_KRB_H])
879m4trace:configure.ac:1896: -1- AC_CHECK_LIB([krb], [main])
880m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBKRB], [/* Define to 1 if you have the `krb\' library (-lkrb). */
881#undef HAVE_LIBKRB])
882m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKRB])
883m4trace:configure.ac:1896: -1- AC_CHECK_LIB([krb4], [main])
884m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBKRB4], [/* Define to 1 if you have the `krb4\' library (-lkrb4). */
885#undef HAVE_LIBKRB4])
886m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKRB4])
887m4trace:configure.ac:1896: -1- AC_CHECK_LIB([des], [des_cbc_encrypt])
888m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBDES], [/* Define to 1 if you have the `des\' library (-ldes). */
889#undef HAVE_LIBDES])
890m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDES])
891m4trace:configure.ac:1896: -1- AC_CHECK_LIB([des425], [des_cbc_encrypt])
892m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBDES425], [/* Define to 1 if you have the `des425\' library (-ldes425). */
893#undef HAVE_LIBDES425])
894m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDES425])
895m4trace:configure.ac:1896: -1- AC_CHECK_LIB([resolv], [dn_expand], [], [])
896m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */
897#undef HAVE_LIBRESOLV])
898m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV])
899m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([KRB4])
900m4trace:configure.ac:1922: -1- AC_DEFINE_TRACE_LITERAL([AFS])
901m4trace:configure.ac:1936: -1- AC_SUBST([PRIVSEP_PATH])
902m4trace:configure.ac:1956: -1- AC_SUBST([xauth_path], [$ac_cv_path_xauth_path])
903m4trace:configure.ac:1967: -1- AC_SUBST([STRIP_OPT])
904m4trace:configure.ac:1971: -1- AC_SUBST([XAUTH_PATH])
905m4trace:configure.ac:1973: -1- AC_DEFINE_TRACE_LITERAL([XAUTH_PATH])
906m4trace:configure.ac:1975: -1- AC_SUBST([XAUTH_PATH])
907m4trace:configure.ac:1981: -1- AC_DEFINE_TRACE_LITERAL([MAIL_DIRECTORY])
908m4trace:configure.ac:1991: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEV_PTMX])
909m4trace:configure.ac:1999: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEV_PTS_AND_PTC])
910m4trace:configure.ac:2017: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF])
911m4trace:configure.ac:2026: -1- AC_SUBST([MANTYPE])
912m4trace:configure.ac:2032: -1- AC_SUBST([mansubdir])
913m4trace:configure.ac:2044: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MD5_PASSWORDS])
914m4trace:configure.ac:2055: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW])
915m4trace:configure.ac:2070: -1- AC_DEFINE_TRACE_LITERAL([HAS_SHADOW_EXPIRE])
916m4trace:configure.ac:2079: -1- AC_DEFINE_TRACE_LITERAL([IPADDR_IN_DISPLAY])
917m4trace:configure.ac:2090: -1- AC_DEFINE_TRACE_LITERAL([IPADDR_IN_DISPLAY])
918m4trace:configure.ac:2171: -1- AC_DEFINE_TRACE_LITERAL([USER_PATH])
919m4trace:configure.ac:2172: -1- AC_SUBST([user_path])
920m4trace:configure.ac:2184: -1- AC_DEFINE_TRACE_LITERAL([SUPERUSER_PATH])
921m4trace:configure.ac:2197: -1- AC_DEFINE_TRACE_LITERAL([IPV4_DEFAULT])
922m4trace:configure.ac:2220: -1- AC_DEFINE_TRACE_LITERAL([IPV4_IN_IPV6])
923m4trace:configure.ac:2220: -1- AC_DEFINE_TRACE_LITERAL([IPV4_IN_IPV6])
924m4trace:configure.ac:2232: -1- AC_DEFINE_TRACE_LITERAL([BSD_AUTH])
925m4trace:configure.ac:2256: -1- AC_DEFINE_TRACE_LITERAL([_PATH_SSH_PIDDIR])
926m4trace:configure.ac:2257: -1- AC_SUBST([piddir])
927m4trace:configure.ac:2263: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG])
928m4trace:configure.ac:2267: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
929m4trace:configure.ac:2271: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMPX])
930m4trace:configure.ac:2275: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP])
931m4trace:configure.ac:2279: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMPX])
932m4trace:configure.ac:2283: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LOGIN])
933m4trace:configure.ac:2287: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_PUTUTLINE])
934m4trace:configure.ac:2291: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_PUTUTXLINE])
935m4trace:configure.ac:2301: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG])
936m4trace:configure.ac:2363: -1- AC_DEFINE_TRACE_LITERAL([CONF_LASTLOG_FILE])
937m4trace:configure.ac:2388: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP])
938m4trace:configure.ac:2393: -1- AC_DEFINE_TRACE_LITERAL([CONF_UTMP_FILE])
939m4trace:configure.ac:2418: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP])
940m4trace:configure.ac:2423: -1- AC_DEFINE_TRACE_LITERAL([CONF_WTMP_FILE])
941m4trace:configure.ac:2448: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMPX])
942m4trace:configure.ac:2451: -1- AC_DEFINE_TRACE_LITERAL([CONF_UTMPX_FILE])
943m4trace:configure.ac:2473: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMPX])
944m4trace:configure.ac:2476: -1- AC_DEFINE_TRACE_LITERAL([CONF_WTMPX_FILE])
945m4trace:configure.ac:2494: -1- AC_CONFIG_FILES([Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds])
946m4trace:configure.ac:2495: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
947m4trace:configure.ac:2495: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
diff --git a/channels.c b/channels.c
index 3d75c8f2b..65a6a7f00 100644
--- a/channels.c
+++ b/channels.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: channels.c,v 1.195 2003/09/16 21:02:40 markus Exp $"); 42RCSID("$OpenBSD: channels.c,v 1.194 2003/08/29 10:04:36 markus Exp $");
43 43
44#include "ssh.h" 44#include "ssh.h"
45#include "ssh1.h" 45#include "ssh1.h"
@@ -229,13 +229,12 @@ channel_new(char *ctype, int type, int rfd, int wfd, int efd,
229 if (found == -1) { 229 if (found == -1) {
230 /* There are no free slots. Take last+1 slot and expand the array. */ 230 /* There are no free slots. Take last+1 slot and expand the array. */
231 found = channels_alloc; 231 found = channels_alloc;
232 channels_alloc += 10;
232 if (channels_alloc > 10000) 233 if (channels_alloc > 10000)
233 fatal("channel_new: internal error: channels_alloc %d " 234 fatal("channel_new: internal error: channels_alloc %d "
234 "too big.", channels_alloc); 235 "too big.", channels_alloc);
235 channels = xrealloc(channels,
236 (channels_alloc + 10) * sizeof(Channel *));
237 channels_alloc += 10;
238 debug2("channel: expanding %d", channels_alloc); 236 debug2("channel: expanding %d", channels_alloc);
237 channels = xrealloc(channels, channels_alloc * sizeof(Channel *));
239 for (i = found; i < channels_alloc; i++) 238 for (i = found; i < channels_alloc; i++)
240 channels[i] = NULL; 239 channels[i] = NULL;
241 } 240 }
diff --git a/cipher-3des1.c b/cipher-3des1.c
index 6f9f5dd6b..f9a352397 100644
--- a/cipher-3des1.c
+++ b/cipher-3des1.c
@@ -29,10 +29,6 @@ RCSID("$OpenBSD: cipher-3des1.c,v 1.1 2003/05/15 03:08:29 markus Exp $");
29#include "xmalloc.h" 29#include "xmalloc.h"
30#include "log.h" 30#include "log.h"
31 31
32#if OPENSSL_VERSION_NUMBER < 0x00906000L
33#define SSH_OLD_EVP
34#endif
35
36/* 32/*
37 * This is used by SSH1: 33 * This is used by SSH1:
38 * 34 *
diff --git a/cipher-aes.c b/cipher-aes.c
index 7ba950191..c41def600 100644
--- a/cipher-aes.c
+++ b/cipher-aes.c
@@ -31,10 +31,6 @@ RCSID("$OpenBSD: cipher-aes.c,v 1.1 2003/05/15 03:08:29 markus Exp $");
31#include "xmalloc.h" 31#include "xmalloc.h"
32#include "log.h" 32#include "log.h"
33 33
34#if OPENSSL_VERSION_NUMBER < 0x00906000L
35#define SSH_OLD_EVP
36#endif
37
38#define RIJNDAEL_BLOCKSIZE 16 34#define RIJNDAEL_BLOCKSIZE 16
39struct ssh_rijndael_ctx 35struct ssh_rijndael_ctx
40{ 36{
diff --git a/cipher-bf1.c b/cipher-bf1.c
index 5af695c17..64578bae8 100644
--- a/cipher-bf1.c
+++ b/cipher-bf1.c
@@ -28,11 +28,6 @@ RCSID("$OpenBSD: cipher-bf1.c,v 1.1 2003/05/15 03:08:29 markus Exp $");
28#include <openssl/evp.h> 28#include <openssl/evp.h>
29#include "xmalloc.h" 29#include "xmalloc.h"
30#include "log.h" 30#include "log.h"
31
32#if OPENSSL_VERSION_NUMBER < 0x00906000L
33#define SSH_OLD_EVP
34#endif
35
36/* 31/*
37 * SSH1 uses a variation on Blowfish, all bytes must be swapped before 32 * SSH1 uses a variation on Blowfish, all bytes must be swapped before
38 * and after encryption/decryption. Thus the swap_bytes stuff (yuk). 33 * and after encryption/decryption. Thus the swap_bytes stuff (yuk).
diff --git a/cipher-ctr.c b/cipher-ctr.c
index 4f0814b22..a2bab5c14 100644
--- a/cipher-ctr.c
+++ b/cipher-ctr.c
@@ -21,10 +21,6 @@ RCSID("$OpenBSD: cipher-ctr.c,v 1.2 2003/06/17 18:14:23 markus Exp $");
21#include "log.h" 21#include "log.h"
22#include "xmalloc.h" 22#include "xmalloc.h"
23 23
24#if OPENSSL_VERSION_NUMBER < 0x00906000L
25#define SSH_OLD_EVP
26#endif
27
28#if OPENSSL_VERSION_NUMBER < 0x00907000L 24#if OPENSSL_VERSION_NUMBER < 0x00907000L
29#include "rijndael.h" 25#include "rijndael.h"
30#define AES_KEY rijndael_ctx 26#define AES_KEY rijndael_ctx
@@ -139,9 +135,7 @@ evp_aes_128_ctr(void)
139 aes_ctr.init = ssh_aes_ctr_init; 135 aes_ctr.init = ssh_aes_ctr_init;
140 aes_ctr.cleanup = ssh_aes_ctr_cleanup; 136 aes_ctr.cleanup = ssh_aes_ctr_cleanup;
141 aes_ctr.do_cipher = ssh_aes_ctr; 137 aes_ctr.do_cipher = ssh_aes_ctr;
142#ifndef SSH_OLD_EVP
143 aes_ctr.flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH | 138 aes_ctr.flags = EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH |
144 EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CUSTOM_IV; 139 EVP_CIPH_ALWAYS_CALL_INIT | EVP_CIPH_CUSTOM_IV;
145#endif
146 return (&aes_ctr); 140 return (&aes_ctr);
147} 141}
diff --git a/cipher.c b/cipher.c
index ce533670b..e7c3c5411 100644
--- a/cipher.c
+++ b/cipher.c
@@ -87,11 +87,9 @@ struct Cipher {
87 { "rijndael-cbc@lysator.liu.se", 87 { "rijndael-cbc@lysator.liu.se",
88 SSH_CIPHER_SSH2, 16, 32, EVP_aes_256_cbc }, 88 SSH_CIPHER_SSH2, 16, 32, EVP_aes_256_cbc },
89#endif 89#endif
90#if OPENSSL_VERSION_NUMBER >= 0x00906000L
91 { "aes128-ctr", SSH_CIPHER_SSH2, 16, 16, evp_aes_128_ctr }, 90 { "aes128-ctr", SSH_CIPHER_SSH2, 16, 16, evp_aes_128_ctr },
92 { "aes192-ctr", SSH_CIPHER_SSH2, 16, 24, evp_aes_128_ctr }, 91 { "aes192-ctr", SSH_CIPHER_SSH2, 16, 24, evp_aes_128_ctr },
93 { "aes256-ctr", SSH_CIPHER_SSH2, 16, 32, evp_aes_128_ctr }, 92 { "aes256-ctr", SSH_CIPHER_SSH2, 16, 32, evp_aes_128_ctr },
94#endif
95 93
96 { NULL, SSH_CIPHER_ILLEGAL, 0, 0, NULL } 94 { NULL, SSH_CIPHER_ILLEGAL, 0, 0, NULL }
97}; 95};
diff --git a/clientloop.c b/clientloop.c
index d8def78bd..d445230e5 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -317,10 +317,14 @@ client_check_window_change(void)
317 * one of the file descriptors). 317 * one of the file descriptors).
318 */ 318 */
319 319
320static void 320static int
321client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, 321client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
322 int *maxfdp, int *nallocp, int rekeying) 322 int *maxfdp, int *nallocp, int rekeying)
323{ 323{
324 struct timeval tv, *tvp;
325 int n;
326 extern Options options;
327
324 /* Add any selections by the channel mechanism. */ 328 /* Add any selections by the channel mechanism. */
325 channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, rekeying); 329 channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, rekeying);
326 330
@@ -349,7 +353,7 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
349 /* clear mask since we did not call select() */ 353 /* clear mask since we did not call select() */
350 memset(*readsetp, 0, *nallocp); 354 memset(*readsetp, 0, *nallocp);
351 memset(*writesetp, 0, *nallocp); 355 memset(*writesetp, 0, *nallocp);
352 return; 356 return 0;
353 } else { 357 } else {
354 FD_SET(connection_in, *readsetp); 358 FD_SET(connection_in, *readsetp);
355 } 359 }
@@ -368,7 +372,21 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
368 * SSH_MSG_IGNORE packet when the timeout expires. 372 * SSH_MSG_IGNORE packet when the timeout expires.
369 */ 373 */
370 374
371 if (select((*maxfdp)+1, *readsetp, *writesetp, NULL, NULL) < 0) { 375 /*
376 * We don't do the 'random' bit, but we want periodic ignored
377 * message anyway, so as to notice when the other ends TCP
378 * has given up during an outage.
379 */
380
381 if (options.protocolkeepalives > 0) {
382 tvp = &tv;
383 tv.tv_sec = options.protocolkeepalives;
384 tv.tv_usec = 0;
385 } else
386 tvp = 0;
387
388 n = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp);
389 if (n < 0) {
372 char buf[100]; 390 char buf[100];
373 391
374 /* 392 /*
@@ -380,12 +398,13 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
380 memset(*writesetp, 0, *nallocp); 398 memset(*writesetp, 0, *nallocp);
381 399
382 if (errno == EINTR) 400 if (errno == EINTR)
383 return; 401 return 0;
384 /* Note: we might still have data in the buffers. */ 402 /* Note: we might still have data in the buffers. */
385 snprintf(buf, sizeof buf, "select: %s\r\n", strerror(errno)); 403 snprintf(buf, sizeof buf, "select: %s\r\n", strerror(errno));
386 buffer_append(&stderr_buffer, buf, strlen(buf)); 404 buffer_append(&stderr_buffer, buf, strlen(buf));
387 quit_pending = 1; 405 quit_pending = 1;
388 } 406 }
407 return n == 0;
389} 408}
390 409
391static void 410static void
@@ -860,6 +879,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
860{ 879{
861 fd_set *readset = NULL, *writeset = NULL; 880 fd_set *readset = NULL, *writeset = NULL;
862 double start_time, total_time; 881 double start_time, total_time;
882 int timed_out;
863 int max_fd = 0, max_fd2 = 0, len, rekeying = 0, nalloc = 0; 883 int max_fd = 0, max_fd2 = 0, len, rekeying = 0, nalloc = 0;
864 char buf[100]; 884 char buf[100];
865 885
@@ -973,7 +993,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
973 * available on one of the descriptors). 993 * available on one of the descriptors).
974 */ 994 */
975 max_fd2 = max_fd; 995 max_fd2 = max_fd;
976 client_wait_until_can_do_something(&readset, &writeset, 996 timed_out = client_wait_until_can_do_something(&readset, &writeset,
977 &max_fd2, &nalloc, rekeying); 997 &max_fd2, &nalloc, rekeying);
978 998
979 if (quit_pending) 999 if (quit_pending)
@@ -996,6 +1016,21 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
996 if (quit_pending) 1016 if (quit_pending)
997 break; 1017 break;
998 1018
1019 if(timed_out) {
1020 /*
1021 * Nothing is happening, so synthesize some
1022 * bogus activity
1023 */
1024 packet_start(compat20
1025 ? SSH2_MSG_IGNORE
1026 : SSH_MSG_IGNORE);
1027 packet_put_cstring("");
1028 packet_send();
1029 if (FD_ISSET(connection_out, writeset))
1030 packet_write_poll();
1031 continue;
1032 }
1033
999 if (!compat20) { 1034 if (!compat20) {
1000 /* Buffer data from stdin */ 1035 /* Buffer data from stdin */
1001 client_process_input(readset); 1036 client_process_input(readset);
diff --git a/config.h.in b/config.h.in
index 55536286a..41495c4fb 100644
--- a/config.h.in
+++ b/config.h.in
@@ -453,9 +453,6 @@
453/* Define if you have the `clock' function. */ 453/* Define if you have the `clock' function. */
454#undef HAVE_CLOCK 454#undef HAVE_CLOCK
455 455
456/* Define if gai_strerror() returns const char * */
457#undef HAVE_CONST_GAI_STRERROR_PROTO
458
459/* Define if you have the <crypt.h> header file. */ 456/* Define if you have the <crypt.h> header file. */
460#undef HAVE_CRYPT_H 457#undef HAVE_CRYPT_H
461 458
@@ -936,9 +933,6 @@
936/* Define if you have the `vhangup' function. */ 933/* Define if you have the `vhangup' function. */
937#undef HAVE_VHANGUP 934#undef HAVE_VHANGUP
938 935
939/* Define if you have the <vis.h> header file. */
940#undef HAVE_VIS_H
941
942/* Define if you have the `vsnprintf' function. */ 936/* Define if you have the `vsnprintf' function. */
943#undef HAVE_VSNPRINTF 937#undef HAVE_VSNPRINTF
944 938
diff --git a/configure b/configure
index 5c78dac53..096c51af7 100755
--- a/configure
+++ b/configure
@@ -669,7 +669,6 @@ Optional Features:
669 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 669 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
670 --disable-largefile omit support for large files 670 --disable-largefile omit support for large files
671 --disable-strip Disable calling strip(1) on install 671 --disable-strip Disable calling strip(1) on install
672 --disable-etc-default-login Disable using PATH from /etc/default/login no
673 --disable-lastlog disable use of lastlog even if detected no 672 --disable-lastlog disable use of lastlog even if detected no
674 --disable-utmp disable use of utmp even if detected no 673 --disable-utmp disable use of utmp even if detected no
675 --disable-utmpx disable use of utmpx even if detected no 674 --disable-utmpx disable use of utmpx even if detected no
@@ -909,7 +908,7 @@ if test -z "$CONFIG_SITE"; then
909fi 908fi
910for ac_site_file in $CONFIG_SITE; do 909for ac_site_file in $CONFIG_SITE; do
911 if test -r "$ac_site_file"; then 910 if test -r "$ac_site_file"; then
912 { echo "$as_me:912: loading site script $ac_site_file" >&5 911 { echo "$as_me:911: loading site script $ac_site_file" >&5
913echo "$as_me: loading site script $ac_site_file" >&6;} 912echo "$as_me: loading site script $ac_site_file" >&6;}
914 cat "$ac_site_file" >&5 913 cat "$ac_site_file" >&5
915 . "$ac_site_file" 914 . "$ac_site_file"
@@ -920,7 +919,7 @@ if test -r "$cache_file"; then
920 # Some versions of bash will fail to source /dev/null (special 919 # Some versions of bash will fail to source /dev/null (special
921 # files actually), so we avoid doing that. 920 # files actually), so we avoid doing that.
922 if test -f "$cache_file"; then 921 if test -f "$cache_file"; then
923 { echo "$as_me:923: loading cache $cache_file" >&5 922 { echo "$as_me:922: loading cache $cache_file" >&5
924echo "$as_me: loading cache $cache_file" >&6;} 923echo "$as_me: loading cache $cache_file" >&6;}
925 case $cache_file in 924 case $cache_file in
926 [\\/]* | ?:[\\/]* ) . $cache_file;; 925 [\\/]* | ?:[\\/]* ) . $cache_file;;
@@ -928,7 +927,7 @@ echo "$as_me: loading cache $cache_file" >&6;}
928 esac 927 esac
929 fi 928 fi
930else 929else
931 { echo "$as_me:931: creating cache $cache_file" >&5 930 { echo "$as_me:930: creating cache $cache_file" >&5
932echo "$as_me: creating cache $cache_file" >&6;} 931echo "$as_me: creating cache $cache_file" >&6;}
933 >$cache_file 932 >$cache_file
934fi 933fi
@@ -944,21 +943,21 @@ for ac_var in `(set) 2>&1 |
944 eval ac_new_val="\$ac_env_${ac_var}_value" 943 eval ac_new_val="\$ac_env_${ac_var}_value"
945 case $ac_old_set,$ac_new_set in 944 case $ac_old_set,$ac_new_set in
946 set,) 945 set,)
947 { echo "$as_me:947: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 946 { echo "$as_me:946: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
948echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 947echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
949 ac_cache_corrupted=: ;; 948 ac_cache_corrupted=: ;;
950 ,set) 949 ,set)
951 { echo "$as_me:951: error: \`$ac_var' was not set in the previous run" >&5 950 { echo "$as_me:950: error: \`$ac_var' was not set in the previous run" >&5
952echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 951echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
953 ac_cache_corrupted=: ;; 952 ac_cache_corrupted=: ;;
954 ,);; 953 ,);;
955 *) 954 *)
956 if test "x$ac_old_val" != "x$ac_new_val"; then 955 if test "x$ac_old_val" != "x$ac_new_val"; then
957 { echo "$as_me:957: error: \`$ac_var' has changed since the previous run:" >&5 956 { echo "$as_me:956: error: \`$ac_var' has changed since the previous run:" >&5
958echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 957echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
959 { echo "$as_me:959: former value: $ac_old_val" >&5 958 { echo "$as_me:958: former value: $ac_old_val" >&5
960echo "$as_me: former value: $ac_old_val" >&2;} 959echo "$as_me: former value: $ac_old_val" >&2;}
961 { echo "$as_me:961: current value: $ac_new_val" >&5 960 { echo "$as_me:960: current value: $ac_new_val" >&5
962echo "$as_me: current value: $ac_new_val" >&2;} 961echo "$as_me: current value: $ac_new_val" >&2;}
963 ac_cache_corrupted=: 962 ac_cache_corrupted=:
964 fi;; 963 fi;;
@@ -977,9 +976,9 @@ echo "$as_me: current value: $ac_new_val" >&2;}
977 fi 976 fi
978done 977done
979if $ac_cache_corrupted; then 978if $ac_cache_corrupted; then
980 { echo "$as_me:980: error: changes in the environment can compromise the build" >&5 979 { echo "$as_me:979: error: changes in the environment can compromise the build" >&5
981echo "$as_me: error: changes in the environment can compromise the build" >&2;} 980echo "$as_me: error: changes in the environment can compromise the build" >&2;}
982 { { echo "$as_me:982: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 981 { { echo "$as_me:981: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
983echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 982echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
984 { (exit 1); exit 1; }; } 983 { (exit 1); exit 1; }; }
985fi 984fi
@@ -999,10 +998,10 @@ esac
999echo "#! $SHELL" >conftest.sh 998echo "#! $SHELL" >conftest.sh
1000echo "exit 0" >>conftest.sh 999echo "exit 0" >>conftest.sh
1001chmod +x conftest.sh 1000chmod +x conftest.sh
1002if { (echo "$as_me:1002: PATH=\".;.\"; conftest.sh") >&5 1001if { (echo "$as_me:1001: PATH=\".;.\"; conftest.sh") >&5
1003 (PATH=".;."; conftest.sh) 2>&5 1002 (PATH=".;."; conftest.sh) 2>&5
1004 ac_status=$? 1003 ac_status=$?
1005 echo "$as_me:1005: \$? = $ac_status" >&5 1004 echo "$as_me:1004: \$? = $ac_status" >&5
1006 (exit $ac_status); }; then 1005 (exit $ac_status); }; then
1007 ac_path_separator=';' 1006 ac_path_separator=';'
1008else 1007else
@@ -1021,7 +1020,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1021if test -n "$ac_tool_prefix"; then 1020if test -n "$ac_tool_prefix"; then
1022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1023set dummy ${ac_tool_prefix}gcc; ac_word=$2 1022set dummy ${ac_tool_prefix}gcc; ac_word=$2
1024echo "$as_me:1024: checking for $ac_word" >&5 1023echo "$as_me:1023: checking for $ac_word" >&5
1025echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1026if test "${ac_cv_prog_CC+set}" = set; then 1025if test "${ac_cv_prog_CC+set}" = set; then
1027 echo $ECHO_N "(cached) $ECHO_C" >&6 1026 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1036,7 +1035,7 @@ for ac_dir in $ac_dummy; do
1036 test -z "$ac_dir" && ac_dir=. 1035 test -z "$ac_dir" && ac_dir=.
1037 $as_executable_p "$ac_dir/$ac_word" || continue 1036 $as_executable_p "$ac_dir/$ac_word" || continue
1038ac_cv_prog_CC="${ac_tool_prefix}gcc" 1037ac_cv_prog_CC="${ac_tool_prefix}gcc"
1039echo "$as_me:1039: found $ac_dir/$ac_word" >&5 1038echo "$as_me:1038: found $ac_dir/$ac_word" >&5
1040break 1039break
1041done 1040done
1042 1041
@@ -1044,10 +1043,10 @@ fi
1044fi 1043fi
1045CC=$ac_cv_prog_CC 1044CC=$ac_cv_prog_CC
1046if test -n "$CC"; then 1045if test -n "$CC"; then
1047 echo "$as_me:1047: result: $CC" >&5 1046 echo "$as_me:1046: result: $CC" >&5
1048echo "${ECHO_T}$CC" >&6 1047echo "${ECHO_T}$CC" >&6
1049else 1048else
1050 echo "$as_me:1050: result: no" >&5 1049 echo "$as_me:1049: result: no" >&5
1051echo "${ECHO_T}no" >&6 1050echo "${ECHO_T}no" >&6
1052fi 1051fi
1053 1052
@@ -1056,7 +1055,7 @@ if test -z "$ac_cv_prog_CC"; then
1056 ac_ct_CC=$CC 1055 ac_ct_CC=$CC
1057 # Extract the first word of "gcc", so it can be a program name with args. 1056 # Extract the first word of "gcc", so it can be a program name with args.
1058set dummy gcc; ac_word=$2 1057set dummy gcc; ac_word=$2
1059echo "$as_me:1059: checking for $ac_word" >&5 1058echo "$as_me:1058: checking for $ac_word" >&5
1060echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1059echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1061if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1060if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1062 echo $ECHO_N "(cached) $ECHO_C" >&6 1061 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1071,7 +1070,7 @@ for ac_dir in $ac_dummy; do
1071 test -z "$ac_dir" && ac_dir=. 1070 test -z "$ac_dir" && ac_dir=.
1072 $as_executable_p "$ac_dir/$ac_word" || continue 1071 $as_executable_p "$ac_dir/$ac_word" || continue
1073ac_cv_prog_ac_ct_CC="gcc" 1072ac_cv_prog_ac_ct_CC="gcc"
1074echo "$as_me:1074: found $ac_dir/$ac_word" >&5 1073echo "$as_me:1073: found $ac_dir/$ac_word" >&5
1075break 1074break
1076done 1075done
1077 1076
@@ -1079,10 +1078,10 @@ fi
1079fi 1078fi
1080ac_ct_CC=$ac_cv_prog_ac_ct_CC 1079ac_ct_CC=$ac_cv_prog_ac_ct_CC
1081if test -n "$ac_ct_CC"; then 1080if test -n "$ac_ct_CC"; then
1082 echo "$as_me:1082: result: $ac_ct_CC" >&5 1081 echo "$as_me:1081: result: $ac_ct_CC" >&5
1083echo "${ECHO_T}$ac_ct_CC" >&6 1082echo "${ECHO_T}$ac_ct_CC" >&6
1084else 1083else
1085 echo "$as_me:1085: result: no" >&5 1084 echo "$as_me:1084: result: no" >&5
1086echo "${ECHO_T}no" >&6 1085echo "${ECHO_T}no" >&6
1087fi 1086fi
1088 1087
@@ -1095,7 +1094,7 @@ if test -z "$CC"; then
1095 if test -n "$ac_tool_prefix"; then 1094 if test -n "$ac_tool_prefix"; then
1096 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1097set dummy ${ac_tool_prefix}cc; ac_word=$2 1096set dummy ${ac_tool_prefix}cc; ac_word=$2
1098echo "$as_me:1098: checking for $ac_word" >&5 1097echo "$as_me:1097: checking for $ac_word" >&5
1099echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1098echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1100if test "${ac_cv_prog_CC+set}" = set; then 1099if test "${ac_cv_prog_CC+set}" = set; then
1101 echo $ECHO_N "(cached) $ECHO_C" >&6 1100 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1110,7 +1109,7 @@ for ac_dir in $ac_dummy; do
1110 test -z "$ac_dir" && ac_dir=. 1109 test -z "$ac_dir" && ac_dir=.
1111 $as_executable_p "$ac_dir/$ac_word" || continue 1110 $as_executable_p "$ac_dir/$ac_word" || continue
1112ac_cv_prog_CC="${ac_tool_prefix}cc" 1111ac_cv_prog_CC="${ac_tool_prefix}cc"
1113echo "$as_me:1113: found $ac_dir/$ac_word" >&5 1112echo "$as_me:1112: found $ac_dir/$ac_word" >&5
1114break 1113break
1115done 1114done
1116 1115
@@ -1118,10 +1117,10 @@ fi
1118fi 1117fi
1119CC=$ac_cv_prog_CC 1118CC=$ac_cv_prog_CC
1120if test -n "$CC"; then 1119if test -n "$CC"; then
1121 echo "$as_me:1121: result: $CC" >&5 1120 echo "$as_me:1120: result: $CC" >&5
1122echo "${ECHO_T}$CC" >&6 1121echo "${ECHO_T}$CC" >&6
1123else 1122else
1124 echo "$as_me:1124: result: no" >&5 1123 echo "$as_me:1123: result: no" >&5
1125echo "${ECHO_T}no" >&6 1124echo "${ECHO_T}no" >&6
1126fi 1125fi
1127 1126
@@ -1130,7 +1129,7 @@ if test -z "$ac_cv_prog_CC"; then
1130 ac_ct_CC=$CC 1129 ac_ct_CC=$CC
1131 # Extract the first word of "cc", so it can be a program name with args. 1130 # Extract the first word of "cc", so it can be a program name with args.
1132set dummy cc; ac_word=$2 1131set dummy cc; ac_word=$2
1133echo "$as_me:1133: checking for $ac_word" >&5 1132echo "$as_me:1132: checking for $ac_word" >&5
1134echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1133echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1135if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1134if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1136 echo $ECHO_N "(cached) $ECHO_C" >&6 1135 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1145,7 +1144,7 @@ for ac_dir in $ac_dummy; do
1145 test -z "$ac_dir" && ac_dir=. 1144 test -z "$ac_dir" && ac_dir=.
1146 $as_executable_p "$ac_dir/$ac_word" || continue 1145 $as_executable_p "$ac_dir/$ac_word" || continue
1147ac_cv_prog_ac_ct_CC="cc" 1146ac_cv_prog_ac_ct_CC="cc"
1148echo "$as_me:1148: found $ac_dir/$ac_word" >&5 1147echo "$as_me:1147: found $ac_dir/$ac_word" >&5
1149break 1148break
1150done 1149done
1151 1150
@@ -1153,10 +1152,10 @@ fi
1153fi 1152fi
1154ac_ct_CC=$ac_cv_prog_ac_ct_CC 1153ac_ct_CC=$ac_cv_prog_ac_ct_CC
1155if test -n "$ac_ct_CC"; then 1154if test -n "$ac_ct_CC"; then
1156 echo "$as_me:1156: result: $ac_ct_CC" >&5 1155 echo "$as_me:1155: result: $ac_ct_CC" >&5
1157echo "${ECHO_T}$ac_ct_CC" >&6 1156echo "${ECHO_T}$ac_ct_CC" >&6
1158else 1157else
1159 echo "$as_me:1159: result: no" >&5 1158 echo "$as_me:1158: result: no" >&5
1160echo "${ECHO_T}no" >&6 1159echo "${ECHO_T}no" >&6
1161fi 1160fi
1162 1161
@@ -1169,7 +1168,7 @@ fi
1169if test -z "$CC"; then 1168if test -z "$CC"; then
1170 # Extract the first word of "cc", so it can be a program name with args. 1169 # Extract the first word of "cc", so it can be a program name with args.
1171set dummy cc; ac_word=$2 1170set dummy cc; ac_word=$2
1172echo "$as_me:1172: checking for $ac_word" >&5 1171echo "$as_me:1171: checking for $ac_word" >&5
1173echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1172echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1174if test "${ac_cv_prog_CC+set}" = set; then 1173if test "${ac_cv_prog_CC+set}" = set; then
1175 echo $ECHO_N "(cached) $ECHO_C" >&6 1174 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1189,7 +1188,7 @@ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1189 continue 1188 continue
1190fi 1189fi
1191ac_cv_prog_CC="cc" 1190ac_cv_prog_CC="cc"
1192echo "$as_me:1192: found $ac_dir/$ac_word" >&5 1191echo "$as_me:1191: found $ac_dir/$ac_word" >&5
1193break 1192break
1194done 1193done
1195 1194
@@ -1211,10 +1210,10 @@ fi
1211fi 1210fi
1212CC=$ac_cv_prog_CC 1211CC=$ac_cv_prog_CC
1213if test -n "$CC"; then 1212if test -n "$CC"; then
1214 echo "$as_me:1214: result: $CC" >&5 1213 echo "$as_me:1213: result: $CC" >&5
1215echo "${ECHO_T}$CC" >&6 1214echo "${ECHO_T}$CC" >&6
1216else 1215else
1217 echo "$as_me:1217: result: no" >&5 1216 echo "$as_me:1216: result: no" >&5
1218echo "${ECHO_T}no" >&6 1217echo "${ECHO_T}no" >&6
1219fi 1218fi
1220 1219
@@ -1225,7 +1224,7 @@ if test -z "$CC"; then
1225 do 1224 do
1226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1227set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1226set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1228echo "$as_me:1228: checking for $ac_word" >&5 1227echo "$as_me:1227: checking for $ac_word" >&5
1229echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1228echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1230if test "${ac_cv_prog_CC+set}" = set; then 1229if test "${ac_cv_prog_CC+set}" = set; then
1231 echo $ECHO_N "(cached) $ECHO_C" >&6 1230 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1240,7 +1239,7 @@ for ac_dir in $ac_dummy; do
1240 test -z "$ac_dir" && ac_dir=. 1239 test -z "$ac_dir" && ac_dir=.
1241 $as_executable_p "$ac_dir/$ac_word" || continue 1240 $as_executable_p "$ac_dir/$ac_word" || continue
1242ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1241ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1243echo "$as_me:1243: found $ac_dir/$ac_word" >&5 1242echo "$as_me:1242: found $ac_dir/$ac_word" >&5
1244break 1243break
1245done 1244done
1246 1245
@@ -1248,10 +1247,10 @@ fi
1248fi 1247fi
1249CC=$ac_cv_prog_CC 1248CC=$ac_cv_prog_CC
1250if test -n "$CC"; then 1249if test -n "$CC"; then
1251 echo "$as_me:1251: result: $CC" >&5 1250 echo "$as_me:1250: result: $CC" >&5
1252echo "${ECHO_T}$CC" >&6 1251echo "${ECHO_T}$CC" >&6
1253else 1252else
1254 echo "$as_me:1254: result: no" >&5 1253 echo "$as_me:1253: result: no" >&5
1255echo "${ECHO_T}no" >&6 1254echo "${ECHO_T}no" >&6
1256fi 1255fi
1257 1256
@@ -1264,7 +1263,7 @@ if test -z "$CC"; then
1264do 1263do
1265 # Extract the first word of "$ac_prog", so it can be a program name with args. 1264 # Extract the first word of "$ac_prog", so it can be a program name with args.
1266set dummy $ac_prog; ac_word=$2 1265set dummy $ac_prog; ac_word=$2
1267echo "$as_me:1267: checking for $ac_word" >&5 1266echo "$as_me:1266: checking for $ac_word" >&5
1268echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1267echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1269if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1268if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1270 echo $ECHO_N "(cached) $ECHO_C" >&6 1269 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1279,7 +1278,7 @@ for ac_dir in $ac_dummy; do
1279 test -z "$ac_dir" && ac_dir=. 1278 test -z "$ac_dir" && ac_dir=.
1280 $as_executable_p "$ac_dir/$ac_word" || continue 1279 $as_executable_p "$ac_dir/$ac_word" || continue
1281ac_cv_prog_ac_ct_CC="$ac_prog" 1280ac_cv_prog_ac_ct_CC="$ac_prog"
1282echo "$as_me:1282: found $ac_dir/$ac_word" >&5 1281echo "$as_me:1281: found $ac_dir/$ac_word" >&5
1283break 1282break
1284done 1283done
1285 1284
@@ -1287,10 +1286,10 @@ fi
1287fi 1286fi
1288ac_ct_CC=$ac_cv_prog_ac_ct_CC 1287ac_ct_CC=$ac_cv_prog_ac_ct_CC
1289if test -n "$ac_ct_CC"; then 1288if test -n "$ac_ct_CC"; then
1290 echo "$as_me:1290: result: $ac_ct_CC" >&5 1289 echo "$as_me:1289: result: $ac_ct_CC" >&5
1291echo "${ECHO_T}$ac_ct_CC" >&6 1290echo "${ECHO_T}$ac_ct_CC" >&6
1292else 1291else
1293 echo "$as_me:1293: result: no" >&5 1292 echo "$as_me:1292: result: no" >&5
1294echo "${ECHO_T}no" >&6 1293echo "${ECHO_T}no" >&6
1295fi 1294fi
1296 1295
@@ -1302,32 +1301,32 @@ fi
1302 1301
1303fi 1302fi
1304 1303
1305test -z "$CC" && { { echo "$as_me:1305: error: no acceptable cc found in \$PATH" >&5 1304test -z "$CC" && { { echo "$as_me:1304: error: no acceptable cc found in \$PATH" >&5
1306echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1305echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1307 { (exit 1); exit 1; }; } 1306 { (exit 1); exit 1; }; }
1308 1307
1309# Provide some information about the compiler. 1308# Provide some information about the compiler.
1310echo "$as_me:1310:" \ 1309echo "$as_me:1309:" \
1311 "checking for C compiler version" >&5 1310 "checking for C compiler version" >&5
1312ac_compiler=`set X $ac_compile; echo $2` 1311ac_compiler=`set X $ac_compile; echo $2`
1313{ (eval echo "$as_me:1313: \"$ac_compiler --version </dev/null >&5\"") >&5 1312{ (eval echo "$as_me:1312: \"$ac_compiler --version </dev/null >&5\"") >&5
1314 (eval $ac_compiler --version </dev/null >&5) 2>&5 1313 (eval $ac_compiler --version </dev/null >&5) 2>&5
1315 ac_status=$? 1314 ac_status=$?
1316 echo "$as_me:1316: \$? = $ac_status" >&5 1315 echo "$as_me:1315: \$? = $ac_status" >&5
1317 (exit $ac_status); } 1316 (exit $ac_status); }
1318{ (eval echo "$as_me:1318: \"$ac_compiler -v </dev/null >&5\"") >&5 1317{ (eval echo "$as_me:1317: \"$ac_compiler -v </dev/null >&5\"") >&5
1319 (eval $ac_compiler -v </dev/null >&5) 2>&5 1318 (eval $ac_compiler -v </dev/null >&5) 2>&5
1320 ac_status=$? 1319 ac_status=$?
1321 echo "$as_me:1321: \$? = $ac_status" >&5 1320 echo "$as_me:1320: \$? = $ac_status" >&5
1322 (exit $ac_status); } 1321 (exit $ac_status); }
1323{ (eval echo "$as_me:1323: \"$ac_compiler -V </dev/null >&5\"") >&5 1322{ (eval echo "$as_me:1322: \"$ac_compiler -V </dev/null >&5\"") >&5
1324 (eval $ac_compiler -V </dev/null >&5) 2>&5 1323 (eval $ac_compiler -V </dev/null >&5) 2>&5
1325 ac_status=$? 1324 ac_status=$?
1326 echo "$as_me:1326: \$? = $ac_status" >&5 1325 echo "$as_me:1325: \$? = $ac_status" >&5
1327 (exit $ac_status); } 1326 (exit $ac_status); }
1328 1327
1329cat >conftest.$ac_ext <<_ACEOF 1328cat >conftest.$ac_ext <<_ACEOF
1330#line 1330 "configure" 1329#line 1329 "configure"
1331#include "confdefs.h" 1330#include "confdefs.h"
1332 1331
1333int 1332int
@@ -1343,13 +1342,13 @@ ac_clean_files="$ac_clean_files a.out a.exe"
1343# Try to create an executable without -o first, disregard a.out. 1342# Try to create an executable without -o first, disregard a.out.
1344# It will help us diagnose broken compilers, and finding out an intuition 1343# It will help us diagnose broken compilers, and finding out an intuition
1345# of exeext. 1344# of exeext.
1346echo "$as_me:1346: checking for C compiler default output" >&5 1345echo "$as_me:1345: checking for C compiler default output" >&5
1347echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1346echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1348ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1347ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1349if { (eval echo "$as_me:1349: \"$ac_link_default\"") >&5 1348if { (eval echo "$as_me:1348: \"$ac_link_default\"") >&5
1350 (eval $ac_link_default) 2>&5 1349 (eval $ac_link_default) 2>&5
1351 ac_status=$? 1350 ac_status=$?
1352 echo "$as_me:1352: \$? = $ac_status" >&5 1351 echo "$as_me:1351: \$? = $ac_status" >&5
1353 (exit $ac_status); }; then 1352 (exit $ac_status); }; then
1354 # Find the output, starting from the most likely. This scheme is 1353 # Find the output, starting from the most likely. This scheme is
1355# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1354# not robust to junk in `.', hence go to wildcards (a.*) only as a last
@@ -1372,34 +1371,34 @@ done
1372else 1371else
1373 echo "$as_me: failed program was:" >&5 1372 echo "$as_me: failed program was:" >&5
1374cat conftest.$ac_ext >&5 1373cat conftest.$ac_ext >&5
1375{ { echo "$as_me:1375: error: C compiler cannot create executables" >&5 1374{ { echo "$as_me:1374: error: C compiler cannot create executables" >&5
1376echo "$as_me: error: C compiler cannot create executables" >&2;} 1375echo "$as_me: error: C compiler cannot create executables" >&2;}
1377 { (exit 77); exit 77; }; } 1376 { (exit 77); exit 77; }; }
1378fi 1377fi
1379 1378
1380ac_exeext=$ac_cv_exeext 1379ac_exeext=$ac_cv_exeext
1381echo "$as_me:1381: result: $ac_file" >&5 1380echo "$as_me:1380: result: $ac_file" >&5
1382echo "${ECHO_T}$ac_file" >&6 1381echo "${ECHO_T}$ac_file" >&6
1383 1382
1384# Check the compiler produces executables we can run. If not, either 1383# Check the compiler produces executables we can run. If not, either
1385# the compiler is broken, or we cross compile. 1384# the compiler is broken, or we cross compile.
1386echo "$as_me:1386: checking whether the C compiler works" >&5 1385echo "$as_me:1385: checking whether the C compiler works" >&5
1387echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1386echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1388# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1387# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1389# If not cross compiling, check that we can run a simple program. 1388# If not cross compiling, check that we can run a simple program.
1390if test "$cross_compiling" != yes; then 1389if test "$cross_compiling" != yes; then
1391 if { ac_try='./$ac_file' 1390 if { ac_try='./$ac_file'
1392 { (eval echo "$as_me:1392: \"$ac_try\"") >&5 1391 { (eval echo "$as_me:1391: \"$ac_try\"") >&5
1393 (eval $ac_try) 2>&5 1392 (eval $ac_try) 2>&5
1394 ac_status=$? 1393 ac_status=$?
1395 echo "$as_me:1395: \$? = $ac_status" >&5 1394 echo "$as_me:1394: \$? = $ac_status" >&5
1396 (exit $ac_status); }; }; then 1395 (exit $ac_status); }; }; then
1397 cross_compiling=no 1396 cross_compiling=no
1398 else 1397 else
1399 if test "$cross_compiling" = maybe; then 1398 if test "$cross_compiling" = maybe; then
1400 cross_compiling=yes 1399 cross_compiling=yes
1401 else 1400 else
1402 { { echo "$as_me:1402: error: cannot run C compiled programs. 1401 { { echo "$as_me:1401: error: cannot run C compiled programs.
1403If you meant to cross compile, use \`--host'." >&5 1402If you meant to cross compile, use \`--host'." >&5
1404echo "$as_me: error: cannot run C compiled programs. 1403echo "$as_me: error: cannot run C compiled programs.
1405If you meant to cross compile, use \`--host'." >&2;} 1404If you meant to cross compile, use \`--host'." >&2;}
@@ -1407,24 +1406,24 @@ If you meant to cross compile, use \`--host'." >&2;}
1407 fi 1406 fi
1408 fi 1407 fi
1409fi 1408fi
1410echo "$as_me:1410: result: yes" >&5 1409echo "$as_me:1409: result: yes" >&5
1411echo "${ECHO_T}yes" >&6 1410echo "${ECHO_T}yes" >&6
1412 1411
1413rm -f a.out a.exe conftest$ac_cv_exeext 1412rm -f a.out a.exe conftest$ac_cv_exeext
1414ac_clean_files=$ac_clean_files_save 1413ac_clean_files=$ac_clean_files_save
1415# Check the compiler produces executables we can run. If not, either 1414# Check the compiler produces executables we can run. If not, either
1416# the compiler is broken, or we cross compile. 1415# the compiler is broken, or we cross compile.
1417echo "$as_me:1417: checking whether we are cross compiling" >&5 1416echo "$as_me:1416: checking whether we are cross compiling" >&5
1418echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1417echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1419echo "$as_me:1419: result: $cross_compiling" >&5 1418echo "$as_me:1418: result: $cross_compiling" >&5
1420echo "${ECHO_T}$cross_compiling" >&6 1419echo "${ECHO_T}$cross_compiling" >&6
1421 1420
1422echo "$as_me:1422: checking for executable suffix" >&5 1421echo "$as_me:1421: checking for executable suffix" >&5
1423echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1422echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1424if { (eval echo "$as_me:1424: \"$ac_link\"") >&5 1423if { (eval echo "$as_me:1423: \"$ac_link\"") >&5
1425 (eval $ac_link) 2>&5 1424 (eval $ac_link) 2>&5
1426 ac_status=$? 1425 ac_status=$?
1427 echo "$as_me:1427: \$? = $ac_status" >&5 1426 echo "$as_me:1426: \$? = $ac_status" >&5
1428 (exit $ac_status); }; then 1427 (exit $ac_status); }; then
1429 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1428 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1430# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1429# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
@@ -1440,25 +1439,25 @@ for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1440 esac 1439 esac
1441done 1440done
1442else 1441else
1443 { { echo "$as_me:1443: error: cannot compute EXEEXT: cannot compile and link" >&5 1442 { { echo "$as_me:1442: error: cannot compute EXEEXT: cannot compile and link" >&5
1444echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1443echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1445 { (exit 1); exit 1; }; } 1444 { (exit 1); exit 1; }; }
1446fi 1445fi
1447 1446
1448rm -f conftest$ac_cv_exeext 1447rm -f conftest$ac_cv_exeext
1449echo "$as_me:1449: result: $ac_cv_exeext" >&5 1448echo "$as_me:1448: result: $ac_cv_exeext" >&5
1450echo "${ECHO_T}$ac_cv_exeext" >&6 1449echo "${ECHO_T}$ac_cv_exeext" >&6
1451 1450
1452rm -f conftest.$ac_ext 1451rm -f conftest.$ac_ext
1453EXEEXT=$ac_cv_exeext 1452EXEEXT=$ac_cv_exeext
1454ac_exeext=$EXEEXT 1453ac_exeext=$EXEEXT
1455echo "$as_me:1455: checking for object suffix" >&5 1454echo "$as_me:1454: checking for object suffix" >&5
1456echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1455echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1457if test "${ac_cv_objext+set}" = set; then 1456if test "${ac_cv_objext+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6 1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1459else 1458else
1460 cat >conftest.$ac_ext <<_ACEOF 1459 cat >conftest.$ac_ext <<_ACEOF
1461#line 1461 "configure" 1460#line 1460 "configure"
1462#include "confdefs.h" 1461#include "confdefs.h"
1463 1462
1464int 1463int
@@ -1470,10 +1469,10 @@ main ()
1470} 1469}
1471_ACEOF 1470_ACEOF
1472rm -f conftest.o conftest.obj 1471rm -f conftest.o conftest.obj
1473if { (eval echo "$as_me:1473: \"$ac_compile\"") >&5 1472if { (eval echo "$as_me:1472: \"$ac_compile\"") >&5
1474 (eval $ac_compile) 2>&5 1473 (eval $ac_compile) 2>&5
1475 ac_status=$? 1474 ac_status=$?
1476 echo "$as_me:1476: \$? = $ac_status" >&5 1475 echo "$as_me:1475: \$? = $ac_status" >&5
1477 (exit $ac_status); }; then 1476 (exit $ac_status); }; then
1478 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1477 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1479 case $ac_file in 1478 case $ac_file in
@@ -1485,24 +1484,24 @@ done
1485else 1484else
1486 echo "$as_me: failed program was:" >&5 1485 echo "$as_me: failed program was:" >&5
1487cat conftest.$ac_ext >&5 1486cat conftest.$ac_ext >&5
1488{ { echo "$as_me:1488: error: cannot compute OBJEXT: cannot compile" >&5 1487{ { echo "$as_me:1487: error: cannot compute OBJEXT: cannot compile" >&5
1489echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1488echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1490 { (exit 1); exit 1; }; } 1489 { (exit 1); exit 1; }; }
1491fi 1490fi
1492 1491
1493rm -f conftest.$ac_cv_objext conftest.$ac_ext 1492rm -f conftest.$ac_cv_objext conftest.$ac_ext
1494fi 1493fi
1495echo "$as_me:1495: result: $ac_cv_objext" >&5 1494echo "$as_me:1494: result: $ac_cv_objext" >&5
1496echo "${ECHO_T}$ac_cv_objext" >&6 1495echo "${ECHO_T}$ac_cv_objext" >&6
1497OBJEXT=$ac_cv_objext 1496OBJEXT=$ac_cv_objext
1498ac_objext=$OBJEXT 1497ac_objext=$OBJEXT
1499echo "$as_me:1499: checking whether we are using the GNU C compiler" >&5 1498echo "$as_me:1498: checking whether we are using the GNU C compiler" >&5
1500echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1499echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1501if test "${ac_cv_c_compiler_gnu+set}" = set; then 1500if test "${ac_cv_c_compiler_gnu+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6 1501 echo $ECHO_N "(cached) $ECHO_C" >&6
1503else 1502else
1504 cat >conftest.$ac_ext <<_ACEOF 1503 cat >conftest.$ac_ext <<_ACEOF
1505#line 1505 "configure" 1504#line 1504 "configure"
1506#include "confdefs.h" 1505#include "confdefs.h"
1507 1506
1508int 1507int
@@ -1517,16 +1516,16 @@ main ()
1517} 1516}
1518_ACEOF 1517_ACEOF
1519rm -f conftest.$ac_objext 1518rm -f conftest.$ac_objext
1520if { (eval echo "$as_me:1520: \"$ac_compile\"") >&5 1519if { (eval echo "$as_me:1519: \"$ac_compile\"") >&5
1521 (eval $ac_compile) 2>&5 1520 (eval $ac_compile) 2>&5
1522 ac_status=$? 1521 ac_status=$?
1523 echo "$as_me:1523: \$? = $ac_status" >&5 1522 echo "$as_me:1522: \$? = $ac_status" >&5
1524 (exit $ac_status); } && 1523 (exit $ac_status); } &&
1525 { ac_try='test -s conftest.$ac_objext' 1524 { ac_try='test -s conftest.$ac_objext'
1526 { (eval echo "$as_me:1526: \"$ac_try\"") >&5 1525 { (eval echo "$as_me:1525: \"$ac_try\"") >&5
1527 (eval $ac_try) 2>&5 1526 (eval $ac_try) 2>&5
1528 ac_status=$? 1527 ac_status=$?
1529 echo "$as_me:1529: \$? = $ac_status" >&5 1528 echo "$as_me:1528: \$? = $ac_status" >&5
1530 (exit $ac_status); }; }; then 1529 (exit $ac_status); }; }; then
1531 ac_compiler_gnu=yes 1530 ac_compiler_gnu=yes
1532else 1531else
@@ -1538,19 +1537,19 @@ rm -f conftest.$ac_objext conftest.$ac_ext
1538ac_cv_c_compiler_gnu=$ac_compiler_gnu 1537ac_cv_c_compiler_gnu=$ac_compiler_gnu
1539 1538
1540fi 1539fi
1541echo "$as_me:1541: result: $ac_cv_c_compiler_gnu" >&5 1540echo "$as_me:1540: result: $ac_cv_c_compiler_gnu" >&5
1542echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1541echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1543GCC=`test $ac_compiler_gnu = yes && echo yes` 1542GCC=`test $ac_compiler_gnu = yes && echo yes`
1544ac_test_CFLAGS=${CFLAGS+set} 1543ac_test_CFLAGS=${CFLAGS+set}
1545ac_save_CFLAGS=$CFLAGS 1544ac_save_CFLAGS=$CFLAGS
1546CFLAGS="-g" 1545CFLAGS="-g"
1547echo "$as_me:1547: checking whether $CC accepts -g" >&5 1546echo "$as_me:1546: checking whether $CC accepts -g" >&5
1548echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1547echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1549if test "${ac_cv_prog_cc_g+set}" = set; then 1548if test "${ac_cv_prog_cc_g+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6 1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551else 1550else
1552 cat >conftest.$ac_ext <<_ACEOF 1551 cat >conftest.$ac_ext <<_ACEOF
1553#line 1553 "configure" 1552#line 1552 "configure"
1554#include "confdefs.h" 1553#include "confdefs.h"
1555 1554
1556int 1555int
@@ -1562,16 +1561,16 @@ main ()
1562} 1561}
1563_ACEOF 1562_ACEOF
1564rm -f conftest.$ac_objext 1563rm -f conftest.$ac_objext
1565if { (eval echo "$as_me:1565: \"$ac_compile\"") >&5 1564if { (eval echo "$as_me:1564: \"$ac_compile\"") >&5
1566 (eval $ac_compile) 2>&5 1565 (eval $ac_compile) 2>&5
1567 ac_status=$? 1566 ac_status=$?
1568 echo "$as_me:1568: \$? = $ac_status" >&5 1567 echo "$as_me:1567: \$? = $ac_status" >&5
1569 (exit $ac_status); } && 1568 (exit $ac_status); } &&
1570 { ac_try='test -s conftest.$ac_objext' 1569 { ac_try='test -s conftest.$ac_objext'
1571 { (eval echo "$as_me:1571: \"$ac_try\"") >&5 1570 { (eval echo "$as_me:1570: \"$ac_try\"") >&5
1572 (eval $ac_try) 2>&5 1571 (eval $ac_try) 2>&5
1573 ac_status=$? 1572 ac_status=$?
1574 echo "$as_me:1574: \$? = $ac_status" >&5 1573 echo "$as_me:1573: \$? = $ac_status" >&5
1575 (exit $ac_status); }; }; then 1574 (exit $ac_status); }; }; then
1576 ac_cv_prog_cc_g=yes 1575 ac_cv_prog_cc_g=yes
1577else 1576else
@@ -1581,7 +1580,7 @@ ac_cv_prog_cc_g=no
1581fi 1580fi
1582rm -f conftest.$ac_objext conftest.$ac_ext 1581rm -f conftest.$ac_objext conftest.$ac_ext
1583fi 1582fi
1584echo "$as_me:1584: result: $ac_cv_prog_cc_g" >&5 1583echo "$as_me:1583: result: $ac_cv_prog_cc_g" >&5
1585echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1584echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1586if test "$ac_test_CFLAGS" = set; then 1585if test "$ac_test_CFLAGS" = set; then
1587 CFLAGS=$ac_save_CFLAGS 1586 CFLAGS=$ac_save_CFLAGS
@@ -1608,16 +1607,16 @@ cat >conftest.$ac_ext <<_ACEOF
1608#endif 1607#endif
1609_ACEOF 1608_ACEOF
1610rm -f conftest.$ac_objext 1609rm -f conftest.$ac_objext
1611if { (eval echo "$as_me:1611: \"$ac_compile\"") >&5 1610if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5
1612 (eval $ac_compile) 2>&5 1611 (eval $ac_compile) 2>&5
1613 ac_status=$? 1612 ac_status=$?
1614 echo "$as_me:1614: \$? = $ac_status" >&5 1613 echo "$as_me:1613: \$? = $ac_status" >&5
1615 (exit $ac_status); } && 1614 (exit $ac_status); } &&
1616 { ac_try='test -s conftest.$ac_objext' 1615 { ac_try='test -s conftest.$ac_objext'
1617 { (eval echo "$as_me:1617: \"$ac_try\"") >&5 1616 { (eval echo "$as_me:1616: \"$ac_try\"") >&5
1618 (eval $ac_try) 2>&5 1617 (eval $ac_try) 2>&5
1619 ac_status=$? 1618 ac_status=$?
1620 echo "$as_me:1620: \$? = $ac_status" >&5 1619 echo "$as_me:1619: \$? = $ac_status" >&5
1621 (exit $ac_status); }; }; then 1620 (exit $ac_status); }; }; then
1622 for ac_declaration in \ 1621 for ac_declaration in \
1623 ''\ 1622 ''\
@@ -1629,7 +1628,7 @@ if { (eval echo "$as_me:1611: \"$ac_compile\"") >&5
1629 'void exit (int);' 1628 'void exit (int);'
1630do 1629do
1631 cat >conftest.$ac_ext <<_ACEOF 1630 cat >conftest.$ac_ext <<_ACEOF
1632#line 1632 "configure" 1631#line 1631 "configure"
1633#include "confdefs.h" 1632#include "confdefs.h"
1634#include <stdlib.h> 1633#include <stdlib.h>
1635$ac_declaration 1634$ac_declaration
@@ -1642,16 +1641,16 @@ exit (42);
1642} 1641}
1643_ACEOF 1642_ACEOF
1644rm -f conftest.$ac_objext 1643rm -f conftest.$ac_objext
1645if { (eval echo "$as_me:1645: \"$ac_compile\"") >&5 1644if { (eval echo "$as_me:1644: \"$ac_compile\"") >&5
1646 (eval $ac_compile) 2>&5 1645 (eval $ac_compile) 2>&5
1647 ac_status=$? 1646 ac_status=$?
1648 echo "$as_me:1648: \$? = $ac_status" >&5 1647 echo "$as_me:1647: \$? = $ac_status" >&5
1649 (exit $ac_status); } && 1648 (exit $ac_status); } &&
1650 { ac_try='test -s conftest.$ac_objext' 1649 { ac_try='test -s conftest.$ac_objext'
1651 { (eval echo "$as_me:1651: \"$ac_try\"") >&5 1650 { (eval echo "$as_me:1650: \"$ac_try\"") >&5
1652 (eval $ac_try) 2>&5 1651 (eval $ac_try) 2>&5
1653 ac_status=$? 1652 ac_status=$?
1654 echo "$as_me:1654: \$? = $ac_status" >&5 1653 echo "$as_me:1653: \$? = $ac_status" >&5
1655 (exit $ac_status); }; }; then 1654 (exit $ac_status); }; }; then
1656 : 1655 :
1657else 1656else
@@ -1661,7 +1660,7 @@ continue
1661fi 1660fi
1662rm -f conftest.$ac_objext conftest.$ac_ext 1661rm -f conftest.$ac_objext conftest.$ac_ext
1663 cat >conftest.$ac_ext <<_ACEOF 1662 cat >conftest.$ac_ext <<_ACEOF
1664#line 1664 "configure" 1663#line 1663 "configure"
1665#include "confdefs.h" 1664#include "confdefs.h"
1666$ac_declaration 1665$ac_declaration
1667int 1666int
@@ -1673,16 +1672,16 @@ exit (42);
1673} 1672}
1674_ACEOF 1673_ACEOF
1675rm -f conftest.$ac_objext 1674rm -f conftest.$ac_objext
1676if { (eval echo "$as_me:1676: \"$ac_compile\"") >&5 1675if { (eval echo "$as_me:1675: \"$ac_compile\"") >&5
1677 (eval $ac_compile) 2>&5 1676 (eval $ac_compile) 2>&5
1678 ac_status=$? 1677 ac_status=$?
1679 echo "$as_me:1679: \$? = $ac_status" >&5 1678 echo "$as_me:1678: \$? = $ac_status" >&5
1680 (exit $ac_status); } && 1679 (exit $ac_status); } &&
1681 { ac_try='test -s conftest.$ac_objext' 1680 { ac_try='test -s conftest.$ac_objext'
1682 { (eval echo "$as_me:1682: \"$ac_try\"") >&5 1681 { (eval echo "$as_me:1681: \"$ac_try\"") >&5
1683 (eval $ac_try) 2>&5 1682 (eval $ac_try) 2>&5
1684 ac_status=$? 1683 ac_status=$?
1685 echo "$as_me:1685: \$? = $ac_status" >&5 1684 echo "$as_me:1684: \$? = $ac_status" >&5
1686 (exit $ac_status); }; }; then 1685 (exit $ac_status); }; }; then
1687 break 1686 break
1688else 1687else
@@ -1726,7 +1725,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1726 fi 1725 fi
1727done 1726done
1728if test -z "$ac_aux_dir"; then 1727if test -z "$ac_aux_dir"; then
1729 { { echo "$as_me:1729: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1728 { { echo "$as_me:1728: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1730echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1729echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1731 { (exit 1); exit 1; }; } 1730 { (exit 1); exit 1; }; }
1732fi 1731fi
@@ -1736,11 +1735,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1736 1735
1737# Make sure we can run config.sub. 1736# Make sure we can run config.sub.
1738$ac_config_sub sun4 >/dev/null 2>&1 || 1737$ac_config_sub sun4 >/dev/null 2>&1 ||
1739 { { echo "$as_me:1739: error: cannot run $ac_config_sub" >&5 1738 { { echo "$as_me:1738: error: cannot run $ac_config_sub" >&5
1740echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1739echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1741 { (exit 1); exit 1; }; } 1740 { (exit 1); exit 1; }; }
1742 1741
1743echo "$as_me:1743: checking build system type" >&5 1742echo "$as_me:1742: checking build system type" >&5
1744echo $ECHO_N "checking build system type... $ECHO_C" >&6 1743echo $ECHO_N "checking build system type... $ECHO_C" >&6
1745if test "${ac_cv_build+set}" = set; then 1744if test "${ac_cv_build+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6 1745 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1749,23 +1748,23 @@ else
1749test -z "$ac_cv_build_alias" && 1748test -z "$ac_cv_build_alias" &&
1750 ac_cv_build_alias=`$ac_config_guess` 1749 ac_cv_build_alias=`$ac_config_guess`
1751test -z "$ac_cv_build_alias" && 1750test -z "$ac_cv_build_alias" &&
1752 { { echo "$as_me:1752: error: cannot guess build type; you must specify one" >&5 1751 { { echo "$as_me:1751: error: cannot guess build type; you must specify one" >&5
1753echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1752echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1754 { (exit 1); exit 1; }; } 1753 { (exit 1); exit 1; }; }
1755ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1754ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1756 { { echo "$as_me:1756: error: $ac_config_sub $ac_cv_build_alias failed." >&5 1755 { { echo "$as_me:1755: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1757echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1756echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1758 { (exit 1); exit 1; }; } 1757 { (exit 1); exit 1; }; }
1759 1758
1760fi 1759fi
1761echo "$as_me:1761: result: $ac_cv_build" >&5 1760echo "$as_me:1760: result: $ac_cv_build" >&5
1762echo "${ECHO_T}$ac_cv_build" >&6 1761echo "${ECHO_T}$ac_cv_build" >&6
1763build=$ac_cv_build 1762build=$ac_cv_build
1764build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1763build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1765build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1764build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1766build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1765build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1767 1766
1768echo "$as_me:1768: checking host system type" >&5 1767echo "$as_me:1767: checking host system type" >&5
1769echo $ECHO_N "checking host system type... $ECHO_C" >&6 1768echo $ECHO_N "checking host system type... $ECHO_C" >&6
1770if test "${ac_cv_host+set}" = set; then 1769if test "${ac_cv_host+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6 1770 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1774,19 +1773,19 @@ else
1774test -z "$ac_cv_host_alias" && 1773test -z "$ac_cv_host_alias" &&
1775 ac_cv_host_alias=$ac_cv_build_alias 1774 ac_cv_host_alias=$ac_cv_build_alias
1776ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1775ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1777 { { echo "$as_me:1777: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1776 { { echo "$as_me:1776: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1778echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1777echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1779 { (exit 1); exit 1; }; } 1778 { (exit 1); exit 1; }; }
1780 1779
1781fi 1780fi
1782echo "$as_me:1782: result: $ac_cv_host" >&5 1781echo "$as_me:1781: result: $ac_cv_host" >&5
1783echo "${ECHO_T}$ac_cv_host" >&6 1782echo "${ECHO_T}$ac_cv_host" >&6
1784host=$ac_cv_host 1783host=$ac_cv_host
1785host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1784host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1786host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1785host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1787host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1786host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1788 1787
1789echo "$as_me:1789: checking whether byte ordering is bigendian" >&5 1788echo "$as_me:1788: checking whether byte ordering is bigendian" >&5
1790echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 1789echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
1791if test "${ac_cv_c_bigendian+set}" = set; then 1790if test "${ac_cv_c_bigendian+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6 1791 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1794,7 +1793,7 @@ else
1794 ac_cv_c_bigendian=unknown 1793 ac_cv_c_bigendian=unknown
1795# See if sys/param.h defines the BYTE_ORDER macro. 1794# See if sys/param.h defines the BYTE_ORDER macro.
1796cat >conftest.$ac_ext <<_ACEOF 1795cat >conftest.$ac_ext <<_ACEOF
1797#line 1797 "configure" 1796#line 1796 "configure"
1798#include "confdefs.h" 1797#include "confdefs.h"
1799#include <sys/types.h> 1798#include <sys/types.h>
1800#include <sys/param.h> 1799#include <sys/param.h>
@@ -1811,20 +1810,20 @@ main ()
1811} 1810}
1812_ACEOF 1811_ACEOF
1813rm -f conftest.$ac_objext 1812rm -f conftest.$ac_objext
1814if { (eval echo "$as_me:1814: \"$ac_compile\"") >&5 1813if { (eval echo "$as_me:1813: \"$ac_compile\"") >&5
1815 (eval $ac_compile) 2>&5 1814 (eval $ac_compile) 2>&5
1816 ac_status=$? 1815 ac_status=$?
1817 echo "$as_me:1817: \$? = $ac_status" >&5 1816 echo "$as_me:1816: \$? = $ac_status" >&5
1818 (exit $ac_status); } && 1817 (exit $ac_status); } &&
1819 { ac_try='test -s conftest.$ac_objext' 1818 { ac_try='test -s conftest.$ac_objext'
1820 { (eval echo "$as_me:1820: \"$ac_try\"") >&5 1819 { (eval echo "$as_me:1819: \"$ac_try\"") >&5
1821 (eval $ac_try) 2>&5 1820 (eval $ac_try) 2>&5
1822 ac_status=$? 1821 ac_status=$?
1823 echo "$as_me:1823: \$? = $ac_status" >&5 1822 echo "$as_me:1822: \$? = $ac_status" >&5
1824 (exit $ac_status); }; }; then 1823 (exit $ac_status); }; }; then
1825 # It does; now see whether it defined to BIG_ENDIAN or not. 1824 # It does; now see whether it defined to BIG_ENDIAN or not.
1826cat >conftest.$ac_ext <<_ACEOF 1825cat >conftest.$ac_ext <<_ACEOF
1827#line 1827 "configure" 1826#line 1826 "configure"
1828#include "confdefs.h" 1827#include "confdefs.h"
1829#include <sys/types.h> 1828#include <sys/types.h>
1830#include <sys/param.h> 1829#include <sys/param.h>
@@ -1841,16 +1840,16 @@ main ()
1841} 1840}
1842_ACEOF 1841_ACEOF
1843rm -f conftest.$ac_objext 1842rm -f conftest.$ac_objext
1844if { (eval echo "$as_me:1844: \"$ac_compile\"") >&5 1843if { (eval echo "$as_me:1843: \"$ac_compile\"") >&5
1845 (eval $ac_compile) 2>&5 1844 (eval $ac_compile) 2>&5
1846 ac_status=$? 1845 ac_status=$?
1847 echo "$as_me:1847: \$? = $ac_status" >&5 1846 echo "$as_me:1846: \$? = $ac_status" >&5
1848 (exit $ac_status); } && 1847 (exit $ac_status); } &&
1849 { ac_try='test -s conftest.$ac_objext' 1848 { ac_try='test -s conftest.$ac_objext'
1850 { (eval echo "$as_me:1850: \"$ac_try\"") >&5 1849 { (eval echo "$as_me:1849: \"$ac_try\"") >&5
1851 (eval $ac_try) 2>&5 1850 (eval $ac_try) 2>&5
1852 ac_status=$? 1851 ac_status=$?
1853 echo "$as_me:1853: \$? = $ac_status" >&5 1852 echo "$as_me:1852: \$? = $ac_status" >&5
1854 (exit $ac_status); }; }; then 1853 (exit $ac_status); }; }; then
1855 ac_cv_c_bigendian=yes 1854 ac_cv_c_bigendian=yes
1856else 1855else
@@ -1866,12 +1865,12 @@ fi
1866rm -f conftest.$ac_objext conftest.$ac_ext 1865rm -f conftest.$ac_objext conftest.$ac_ext
1867if test $ac_cv_c_bigendian = unknown; then 1866if test $ac_cv_c_bigendian = unknown; then
1868if test "$cross_compiling" = yes; then 1867if test "$cross_compiling" = yes; then
1869 { { echo "$as_me:1869: error: cannot run test program while cross compiling" >&5 1868 { { echo "$as_me:1868: error: cannot run test program while cross compiling" >&5
1870echo "$as_me: error: cannot run test program while cross compiling" >&2;} 1869echo "$as_me: error: cannot run test program while cross compiling" >&2;}
1871 { (exit 1); exit 1; }; } 1870 { (exit 1); exit 1; }; }
1872else 1871else
1873 cat >conftest.$ac_ext <<_ACEOF 1872 cat >conftest.$ac_ext <<_ACEOF
1874#line 1874 "configure" 1873#line 1873 "configure"
1875#include "confdefs.h" 1874#include "confdefs.h"
1876int 1875int
1877main () 1876main ()
@@ -1887,15 +1886,15 @@ main ()
1887} 1886}
1888_ACEOF 1887_ACEOF
1889rm -f conftest$ac_exeext 1888rm -f conftest$ac_exeext
1890if { (eval echo "$as_me:1890: \"$ac_link\"") >&5 1889if { (eval echo "$as_me:1889: \"$ac_link\"") >&5
1891 (eval $ac_link) 2>&5 1890 (eval $ac_link) 2>&5
1892 ac_status=$? 1891 ac_status=$?
1893 echo "$as_me:1893: \$? = $ac_status" >&5 1892 echo "$as_me:1892: \$? = $ac_status" >&5
1894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 1893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1895 { (eval echo "$as_me:1895: \"$ac_try\"") >&5 1894 { (eval echo "$as_me:1894: \"$ac_try\"") >&5
1896 (eval $ac_try) 2>&5 1895 (eval $ac_try) 2>&5
1897 ac_status=$? 1896 ac_status=$?
1898 echo "$as_me:1898: \$? = $ac_status" >&5 1897 echo "$as_me:1897: \$? = $ac_status" >&5
1899 (exit $ac_status); }; }; then 1898 (exit $ac_status); }; }; then
1900 ac_cv_c_bigendian=no 1899 ac_cv_c_bigendian=no
1901else 1900else
@@ -1908,7 +1907,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1908fi 1907fi
1909fi 1908fi
1910fi 1909fi
1911echo "$as_me:1911: result: $ac_cv_c_bigendian" >&5 1910echo "$as_me:1910: result: $ac_cv_c_bigendian" >&5
1912echo "${ECHO_T}$ac_cv_c_bigendian" >&6 1911echo "${ECHO_T}$ac_cv_c_bigendian" >&6
1913if test $ac_cv_c_bigendian = yes; then 1912if test $ac_cv_c_bigendian = yes; then
1914 1913
@@ -1923,7 +1922,7 @@ for ac_prog in mawk gawk nawk awk
1923do 1922do
1924 # Extract the first word of "$ac_prog", so it can be a program name with args. 1923 # Extract the first word of "$ac_prog", so it can be a program name with args.
1925set dummy $ac_prog; ac_word=$2 1924set dummy $ac_prog; ac_word=$2
1926echo "$as_me:1926: checking for $ac_word" >&5 1925echo "$as_me:1925: checking for $ac_word" >&5
1927echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1926echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928if test "${ac_cv_prog_AWK+set}" = set; then 1927if test "${ac_cv_prog_AWK+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6 1928 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1938,7 +1937,7 @@ for ac_dir in $ac_dummy; do
1938 test -z "$ac_dir" && ac_dir=. 1937 test -z "$ac_dir" && ac_dir=.
1939 $as_executable_p "$ac_dir/$ac_word" || continue 1938 $as_executable_p "$ac_dir/$ac_word" || continue
1940ac_cv_prog_AWK="$ac_prog" 1939ac_cv_prog_AWK="$ac_prog"
1941echo "$as_me:1941: found $ac_dir/$ac_word" >&5 1940echo "$as_me:1940: found $ac_dir/$ac_word" >&5
1942break 1941break
1943done 1942done
1944 1943
@@ -1946,10 +1945,10 @@ fi
1946fi 1945fi
1947AWK=$ac_cv_prog_AWK 1946AWK=$ac_cv_prog_AWK
1948if test -n "$AWK"; then 1947if test -n "$AWK"; then
1949 echo "$as_me:1949: result: $AWK" >&5 1948 echo "$as_me:1948: result: $AWK" >&5
1950echo "${ECHO_T}$AWK" >&6 1949echo "${ECHO_T}$AWK" >&6
1951else 1950else
1952 echo "$as_me:1952: result: no" >&5 1951 echo "$as_me:1951: result: no" >&5
1953echo "${ECHO_T}no" >&6 1952echo "${ECHO_T}no" >&6
1954fi 1953fi
1955 1954
@@ -1961,7 +1960,7 @@ ac_cpp='$CPP $CPPFLAGS'
1961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1963ac_compiler_gnu=$ac_cv_c_compiler_gnu 1962ac_compiler_gnu=$ac_cv_c_compiler_gnu
1964echo "$as_me:1964: checking how to run the C preprocessor" >&5 1963echo "$as_me:1963: checking how to run the C preprocessor" >&5
1965echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 1964echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1966# On Suns, sometimes $CPP names a directory. 1965# On Suns, sometimes $CPP names a directory.
1967if test -n "$CPP" && test -d "$CPP"; then 1966if test -n "$CPP" && test -d "$CPP"; then
@@ -1982,18 +1981,18 @@ do
1982 # On the NeXT, cc -E runs the code through the compiler's parser, 1981 # On the NeXT, cc -E runs the code through the compiler's parser,
1983 # not just through cpp. "Syntax error" is here to catch this case. 1982 # not just through cpp. "Syntax error" is here to catch this case.
1984 cat >conftest.$ac_ext <<_ACEOF 1983 cat >conftest.$ac_ext <<_ACEOF
1985#line 1985 "configure" 1984#line 1984 "configure"
1986#include "confdefs.h" 1985#include "confdefs.h"
1987#include <assert.h> 1986#include <assert.h>
1988 Syntax error 1987 Syntax error
1989_ACEOF 1988_ACEOF
1990if { (eval echo "$as_me:1990: \"$ac_cpp conftest.$ac_ext\"") >&5 1989if { (eval echo "$as_me:1989: \"$ac_cpp conftest.$ac_ext\"") >&5
1991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1992 ac_status=$? 1991 ac_status=$?
1993 egrep -v '^ *\+' conftest.er1 >conftest.err 1992 egrep -v '^ *\+' conftest.er1 >conftest.err
1994 rm -f conftest.er1 1993 rm -f conftest.er1
1995 cat conftest.err >&5 1994 cat conftest.err >&5
1996 echo "$as_me:1996: \$? = $ac_status" >&5 1995 echo "$as_me:1995: \$? = $ac_status" >&5
1997 (exit $ac_status); } >/dev/null; then 1996 (exit $ac_status); } >/dev/null; then
1998 if test -s conftest.err; then 1997 if test -s conftest.err; then
1999 ac_cpp_err=$ac_c_preproc_warn_flag 1998 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2016,17 +2015,17 @@ rm -f conftest.err conftest.$ac_ext
2016 # OK, works on sane cases. Now check whether non-existent headers 2015 # OK, works on sane cases. Now check whether non-existent headers
2017 # can be detected and how. 2016 # can be detected and how.
2018 cat >conftest.$ac_ext <<_ACEOF 2017 cat >conftest.$ac_ext <<_ACEOF
2019#line 2019 "configure" 2018#line 2018 "configure"
2020#include "confdefs.h" 2019#include "confdefs.h"
2021#include <ac_nonexistent.h> 2020#include <ac_nonexistent.h>
2022_ACEOF 2021_ACEOF
2023if { (eval echo "$as_me:2023: \"$ac_cpp conftest.$ac_ext\"") >&5 2022if { (eval echo "$as_me:2022: \"$ac_cpp conftest.$ac_ext\"") >&5
2024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2025 ac_status=$? 2024 ac_status=$?
2026 egrep -v '^ *\+' conftest.er1 >conftest.err 2025 egrep -v '^ *\+' conftest.er1 >conftest.err
2027 rm -f conftest.er1 2026 rm -f conftest.er1
2028 cat conftest.err >&5 2027 cat conftest.err >&5
2029 echo "$as_me:2029: \$? = $ac_status" >&5 2028 echo "$as_me:2028: \$? = $ac_status" >&5
2030 (exit $ac_status); } >/dev/null; then 2029 (exit $ac_status); } >/dev/null; then
2031 if test -s conftest.err; then 2030 if test -s conftest.err; then
2032 ac_cpp_err=$ac_c_preproc_warn_flag 2031 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2063,7 +2062,7 @@ fi
2063else 2062else
2064 ac_cv_prog_CPP=$CPP 2063 ac_cv_prog_CPP=$CPP
2065fi 2064fi
2066echo "$as_me:2066: result: $CPP" >&5 2065echo "$as_me:2065: result: $CPP" >&5
2067echo "${ECHO_T}$CPP" >&6 2066echo "${ECHO_T}$CPP" >&6
2068ac_preproc_ok=false 2067ac_preproc_ok=false
2069for ac_c_preproc_warn_flag in '' yes 2068for ac_c_preproc_warn_flag in '' yes
@@ -2073,18 +2072,18 @@ do
2073 # On the NeXT, cc -E runs the code through the compiler's parser, 2072 # On the NeXT, cc -E runs the code through the compiler's parser,
2074 # not just through cpp. "Syntax error" is here to catch this case. 2073 # not just through cpp. "Syntax error" is here to catch this case.
2075 cat >conftest.$ac_ext <<_ACEOF 2074 cat >conftest.$ac_ext <<_ACEOF
2076#line 2076 "configure" 2075#line 2075 "configure"
2077#include "confdefs.h" 2076#include "confdefs.h"
2078#include <assert.h> 2077#include <assert.h>
2079 Syntax error 2078 Syntax error
2080_ACEOF 2079_ACEOF
2081if { (eval echo "$as_me:2081: \"$ac_cpp conftest.$ac_ext\"") >&5 2080if { (eval echo "$as_me:2080: \"$ac_cpp conftest.$ac_ext\"") >&5
2082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2083 ac_status=$? 2082 ac_status=$?
2084 egrep -v '^ *\+' conftest.er1 >conftest.err 2083 egrep -v '^ *\+' conftest.er1 >conftest.err
2085 rm -f conftest.er1 2084 rm -f conftest.er1
2086 cat conftest.err >&5 2085 cat conftest.err >&5
2087 echo "$as_me:2087: \$? = $ac_status" >&5 2086 echo "$as_me:2086: \$? = $ac_status" >&5
2088 (exit $ac_status); } >/dev/null; then 2087 (exit $ac_status); } >/dev/null; then
2089 if test -s conftest.err; then 2088 if test -s conftest.err; then
2090 ac_cpp_err=$ac_c_preproc_warn_flag 2089 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2107,17 +2106,17 @@ rm -f conftest.err conftest.$ac_ext
2107 # OK, works on sane cases. Now check whether non-existent headers 2106 # OK, works on sane cases. Now check whether non-existent headers
2108 # can be detected and how. 2107 # can be detected and how.
2109 cat >conftest.$ac_ext <<_ACEOF 2108 cat >conftest.$ac_ext <<_ACEOF
2110#line 2110 "configure" 2109#line 2109 "configure"
2111#include "confdefs.h" 2110#include "confdefs.h"
2112#include <ac_nonexistent.h> 2111#include <ac_nonexistent.h>
2113_ACEOF 2112_ACEOF
2114if { (eval echo "$as_me:2114: \"$ac_cpp conftest.$ac_ext\"") >&5 2113if { (eval echo "$as_me:2113: \"$ac_cpp conftest.$ac_ext\"") >&5
2115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2116 ac_status=$? 2115 ac_status=$?
2117 egrep -v '^ *\+' conftest.er1 >conftest.err 2116 egrep -v '^ *\+' conftest.er1 >conftest.err
2118 rm -f conftest.er1 2117 rm -f conftest.er1
2119 cat conftest.err >&5 2118 cat conftest.err >&5
2120 echo "$as_me:2120: \$? = $ac_status" >&5 2119 echo "$as_me:2119: \$? = $ac_status" >&5
2121 (exit $ac_status); } >/dev/null; then 2120 (exit $ac_status); } >/dev/null; then
2122 if test -s conftest.err; then 2121 if test -s conftest.err; then
2123 ac_cpp_err=$ac_c_preproc_warn_flag 2122 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2145,7 +2144,7 @@ rm -f conftest.err conftest.$ac_ext
2145if $ac_preproc_ok; then 2144if $ac_preproc_ok; then
2146 : 2145 :
2147else 2146else
2148 { { echo "$as_me:2148: error: C preprocessor \"$CPP\" fails sanity check" >&5 2147 { { echo "$as_me:2147: error: C preprocessor \"$CPP\" fails sanity check" >&5
2149echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2148echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2150 { (exit 1); exit 1; }; } 2149 { (exit 1); exit 1; }; }
2151fi 2150fi
@@ -2159,7 +2158,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2159if test -n "$ac_tool_prefix"; then 2158if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2161set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2160set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2162echo "$as_me:2162: checking for $ac_word" >&5 2161echo "$as_me:2161: checking for $ac_word" >&5
2163echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2162echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164if test "${ac_cv_prog_RANLIB+set}" = set; then 2163if test "${ac_cv_prog_RANLIB+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6 2164 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2174,7 +2173,7 @@ for ac_dir in $ac_dummy; do
2174 test -z "$ac_dir" && ac_dir=. 2173 test -z "$ac_dir" && ac_dir=.
2175 $as_executable_p "$ac_dir/$ac_word" || continue 2174 $as_executable_p "$ac_dir/$ac_word" || continue
2176ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2175ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2177echo "$as_me:2177: found $ac_dir/$ac_word" >&5 2176echo "$as_me:2176: found $ac_dir/$ac_word" >&5
2178break 2177break
2179done 2178done
2180 2179
@@ -2182,10 +2181,10 @@ fi
2182fi 2181fi
2183RANLIB=$ac_cv_prog_RANLIB 2182RANLIB=$ac_cv_prog_RANLIB
2184if test -n "$RANLIB"; then 2183if test -n "$RANLIB"; then
2185 echo "$as_me:2185: result: $RANLIB" >&5 2184 echo "$as_me:2184: result: $RANLIB" >&5
2186echo "${ECHO_T}$RANLIB" >&6 2185echo "${ECHO_T}$RANLIB" >&6
2187else 2186else
2188 echo "$as_me:2188: result: no" >&5 2187 echo "$as_me:2187: result: no" >&5
2189echo "${ECHO_T}no" >&6 2188echo "${ECHO_T}no" >&6
2190fi 2189fi
2191 2190
@@ -2194,7 +2193,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
2194 ac_ct_RANLIB=$RANLIB 2193 ac_ct_RANLIB=$RANLIB
2195 # Extract the first word of "ranlib", so it can be a program name with args. 2194 # Extract the first word of "ranlib", so it can be a program name with args.
2196set dummy ranlib; ac_word=$2 2195set dummy ranlib; ac_word=$2
2197echo "$as_me:2197: checking for $ac_word" >&5 2196echo "$as_me:2196: checking for $ac_word" >&5
2198echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2197echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2198if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6 2199 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2209,7 +2208,7 @@ for ac_dir in $ac_dummy; do
2209 test -z "$ac_dir" && ac_dir=. 2208 test -z "$ac_dir" && ac_dir=.
2210 $as_executable_p "$ac_dir/$ac_word" || continue 2209 $as_executable_p "$ac_dir/$ac_word" || continue
2211ac_cv_prog_ac_ct_RANLIB="ranlib" 2210ac_cv_prog_ac_ct_RANLIB="ranlib"
2212echo "$as_me:2212: found $ac_dir/$ac_word" >&5 2211echo "$as_me:2211: found $ac_dir/$ac_word" >&5
2213break 2212break
2214done 2213done
2215 2214
@@ -2218,10 +2217,10 @@ fi
2218fi 2217fi
2219ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2218ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2220if test -n "$ac_ct_RANLIB"; then 2219if test -n "$ac_ct_RANLIB"; then
2221 echo "$as_me:2221: result: $ac_ct_RANLIB" >&5 2220 echo "$as_me:2220: result: $ac_ct_RANLIB" >&5
2222echo "${ECHO_T}$ac_ct_RANLIB" >&6 2221echo "${ECHO_T}$ac_ct_RANLIB" >&6
2223else 2222else
2224 echo "$as_me:2224: result: no" >&5 2223 echo "$as_me:2223: result: no" >&5
2225echo "${ECHO_T}no" >&6 2224echo "${ECHO_T}no" >&6
2226fi 2225fi
2227 2226
@@ -2242,7 +2241,7 @@ fi
2242# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2241# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2242# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2244# ./install, which can be erroneously created by make from ./install.sh. 2243# ./install, which can be erroneously created by make from ./install.sh.
2245echo "$as_me:2245: checking for a BSD compatible install" >&5 2244echo "$as_me:2244: checking for a BSD compatible install" >&5
2246echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2245echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2247if test -z "$INSTALL"; then 2246if test -z "$INSTALL"; then
2248if test "${ac_cv_path_install+set}" = set; then 2247if test "${ac_cv_path_install+set}" = set; then
@@ -2291,7 +2290,7 @@ fi
2291 INSTALL=$ac_install_sh 2290 INSTALL=$ac_install_sh
2292 fi 2291 fi
2293fi 2292fi
2294echo "$as_me:2294: result: $INSTALL" >&5 2293echo "$as_me:2293: result: $INSTALL" >&5
2295echo "${ECHO_T}$INSTALL" >&6 2294echo "${ECHO_T}$INSTALL" >&6
2296 2295
2297# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2296# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -2304,7 +2303,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2304 2303
2305# Extract the first word of "ar", so it can be a program name with args. 2304# Extract the first word of "ar", so it can be a program name with args.
2306set dummy ar; ac_word=$2 2305set dummy ar; ac_word=$2
2307echo "$as_me:2307: checking for $ac_word" >&5 2306echo "$as_me:2306: checking for $ac_word" >&5
2308echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2307echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2309if test "${ac_cv_path_AR+set}" = set; then 2308if test "${ac_cv_path_AR+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6 2309 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2321,7 +2320,7 @@ for ac_dir in $ac_dummy; do
2321 test -z "$ac_dir" && ac_dir=. 2320 test -z "$ac_dir" && ac_dir=.
2322 if $as_executable_p "$ac_dir/$ac_word"; then 2321 if $as_executable_p "$ac_dir/$ac_word"; then
2323 ac_cv_path_AR="$ac_dir/$ac_word" 2322 ac_cv_path_AR="$ac_dir/$ac_word"
2324 echo "$as_me:2324: found $ac_dir/$ac_word" >&5 2323 echo "$as_me:2323: found $ac_dir/$ac_word" >&5
2325 break 2324 break
2326fi 2325fi
2327done 2326done
@@ -2332,10 +2331,10 @@ fi
2332AR=$ac_cv_path_AR 2331AR=$ac_cv_path_AR
2333 2332
2334if test -n "$AR"; then 2333if test -n "$AR"; then
2335 echo "$as_me:2335: result: $AR" >&5 2334 echo "$as_me:2334: result: $AR" >&5
2336echo "${ECHO_T}$AR" >&6 2335echo "${ECHO_T}$AR" >&6
2337else 2336else
2338 echo "$as_me:2338: result: no" >&5 2337 echo "$as_me:2337: result: no" >&5
2339echo "${ECHO_T}no" >&6 2338echo "${ECHO_T}no" >&6
2340fi 2339fi
2341 2340
@@ -2343,7 +2342,7 @@ for ac_prog in perl5 perl
2343do 2342do
2344 # Extract the first word of "$ac_prog", so it can be a program name with args. 2343 # Extract the first word of "$ac_prog", so it can be a program name with args.
2345set dummy $ac_prog; ac_word=$2 2344set dummy $ac_prog; ac_word=$2
2346echo "$as_me:2346: checking for $ac_word" >&5 2345echo "$as_me:2345: checking for $ac_word" >&5
2347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2346echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2348if test "${ac_cv_path_PERL+set}" = set; then 2347if test "${ac_cv_path_PERL+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6 2348 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2360,7 +2359,7 @@ for ac_dir in $ac_dummy; do
2360 test -z "$ac_dir" && ac_dir=. 2359 test -z "$ac_dir" && ac_dir=.
2361 if $as_executable_p "$ac_dir/$ac_word"; then 2360 if $as_executable_p "$ac_dir/$ac_word"; then
2362 ac_cv_path_PERL="$ac_dir/$ac_word" 2361 ac_cv_path_PERL="$ac_dir/$ac_word"
2363 echo "$as_me:2363: found $ac_dir/$ac_word" >&5 2362 echo "$as_me:2362: found $ac_dir/$ac_word" >&5
2364 break 2363 break
2365fi 2364fi
2366done 2365done
@@ -2371,10 +2370,10 @@ fi
2371PERL=$ac_cv_path_PERL 2370PERL=$ac_cv_path_PERL
2372 2371
2373if test -n "$PERL"; then 2372if test -n "$PERL"; then
2374 echo "$as_me:2374: result: $PERL" >&5 2373 echo "$as_me:2373: result: $PERL" >&5
2375echo "${ECHO_T}$PERL" >&6 2374echo "${ECHO_T}$PERL" >&6
2376else 2375else
2377 echo "$as_me:2377: result: no" >&5 2376 echo "$as_me:2376: result: no" >&5
2378echo "${ECHO_T}no" >&6 2377echo "${ECHO_T}no" >&6
2379fi 2378fi
2380 2379
@@ -2383,7 +2382,7 @@ done
2383 2382
2384# Extract the first word of "sed", so it can be a program name with args. 2383# Extract the first word of "sed", so it can be a program name with args.
2385set dummy sed; ac_word=$2 2384set dummy sed; ac_word=$2
2386echo "$as_me:2386: checking for $ac_word" >&5 2385echo "$as_me:2385: checking for $ac_word" >&5
2387echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2386echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2388if test "${ac_cv_path_SED+set}" = set; then 2387if test "${ac_cv_path_SED+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6 2388 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2400,7 +2399,7 @@ for ac_dir in $ac_dummy; do
2400 test -z "$ac_dir" && ac_dir=. 2399 test -z "$ac_dir" && ac_dir=.
2401 if $as_executable_p "$ac_dir/$ac_word"; then 2400 if $as_executable_p "$ac_dir/$ac_word"; then
2402 ac_cv_path_SED="$ac_dir/$ac_word" 2401 ac_cv_path_SED="$ac_dir/$ac_word"
2403 echo "$as_me:2403: found $ac_dir/$ac_word" >&5 2402 echo "$as_me:2402: found $ac_dir/$ac_word" >&5
2404 break 2403 break
2405fi 2404fi
2406done 2405done
@@ -2411,16 +2410,16 @@ fi
2411SED=$ac_cv_path_SED 2410SED=$ac_cv_path_SED
2412 2411
2413if test -n "$SED"; then 2412if test -n "$SED"; then
2414 echo "$as_me:2414: result: $SED" >&5 2413 echo "$as_me:2413: result: $SED" >&5
2415echo "${ECHO_T}$SED" >&6 2414echo "${ECHO_T}$SED" >&6
2416else 2415else
2417 echo "$as_me:2417: result: no" >&5 2416 echo "$as_me:2416: result: no" >&5
2418echo "${ECHO_T}no" >&6 2417echo "${ECHO_T}no" >&6
2419fi 2418fi
2420 2419
2421# Extract the first word of "ent", so it can be a program name with args. 2420# Extract the first word of "ent", so it can be a program name with args.
2422set dummy ent; ac_word=$2 2421set dummy ent; ac_word=$2
2423echo "$as_me:2423: checking for $ac_word" >&5 2422echo "$as_me:2422: checking for $ac_word" >&5
2424echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2423echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2425if test "${ac_cv_path_ENT+set}" = set; then 2424if test "${ac_cv_path_ENT+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6 2425 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2437,7 +2436,7 @@ for ac_dir in $ac_dummy; do
2437 test -z "$ac_dir" && ac_dir=. 2436 test -z "$ac_dir" && ac_dir=.
2438 if $as_executable_p "$ac_dir/$ac_word"; then 2437 if $as_executable_p "$ac_dir/$ac_word"; then
2439 ac_cv_path_ENT="$ac_dir/$ac_word" 2438 ac_cv_path_ENT="$ac_dir/$ac_word"
2440 echo "$as_me:2440: found $ac_dir/$ac_word" >&5 2439 echo "$as_me:2439: found $ac_dir/$ac_word" >&5
2441 break 2440 break
2442fi 2441fi
2443done 2442done
@@ -2448,16 +2447,16 @@ fi
2448ENT=$ac_cv_path_ENT 2447ENT=$ac_cv_path_ENT
2449 2448
2450if test -n "$ENT"; then 2449if test -n "$ENT"; then
2451 echo "$as_me:2451: result: $ENT" >&5 2450 echo "$as_me:2450: result: $ENT" >&5
2452echo "${ECHO_T}$ENT" >&6 2451echo "${ECHO_T}$ENT" >&6
2453else 2452else
2454 echo "$as_me:2454: result: no" >&5 2453 echo "$as_me:2453: result: no" >&5
2455echo "${ECHO_T}no" >&6 2454echo "${ECHO_T}no" >&6
2456fi 2455fi
2457 2456
2458# Extract the first word of "bash", so it can be a program name with args. 2457# Extract the first word of "bash", so it can be a program name with args.
2459set dummy bash; ac_word=$2 2458set dummy bash; ac_word=$2
2460echo "$as_me:2460: checking for $ac_word" >&5 2459echo "$as_me:2459: checking for $ac_word" >&5
2461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2460echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2462if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 2461if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6 2462 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2474,7 +2473,7 @@ for ac_dir in $ac_dummy; do
2474 test -z "$ac_dir" && ac_dir=. 2473 test -z "$ac_dir" && ac_dir=.
2475 if $as_executable_p "$ac_dir/$ac_word"; then 2474 if $as_executable_p "$ac_dir/$ac_word"; then
2476 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 2475 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
2477 echo "$as_me:2477: found $ac_dir/$ac_word" >&5 2476 echo "$as_me:2476: found $ac_dir/$ac_word" >&5
2478 break 2477 break
2479fi 2478fi
2480done 2479done
@@ -2485,16 +2484,16 @@ fi
2485TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 2484TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2486 2485
2487if test -n "$TEST_MINUS_S_SH"; then 2486if test -n "$TEST_MINUS_S_SH"; then
2488 echo "$as_me:2488: result: $TEST_MINUS_S_SH" >&5 2487 echo "$as_me:2487: result: $TEST_MINUS_S_SH" >&5
2489echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 2488echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2490else 2489else
2491 echo "$as_me:2491: result: no" >&5 2490 echo "$as_me:2490: result: no" >&5
2492echo "${ECHO_T}no" >&6 2491echo "${ECHO_T}no" >&6
2493fi 2492fi
2494 2493
2495# Extract the first word of "ksh", so it can be a program name with args. 2494# Extract the first word of "ksh", so it can be a program name with args.
2496set dummy ksh; ac_word=$2 2495set dummy ksh; ac_word=$2
2497echo "$as_me:2497: checking for $ac_word" >&5 2496echo "$as_me:2496: checking for $ac_word" >&5
2498echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2497echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2499if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 2498if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6 2499 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2511,7 +2510,7 @@ for ac_dir in $ac_dummy; do
2511 test -z "$ac_dir" && ac_dir=. 2510 test -z "$ac_dir" && ac_dir=.
2512 if $as_executable_p "$ac_dir/$ac_word"; then 2511 if $as_executable_p "$ac_dir/$ac_word"; then
2513 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 2512 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
2514 echo "$as_me:2514: found $ac_dir/$ac_word" >&5 2513 echo "$as_me:2513: found $ac_dir/$ac_word" >&5
2515 break 2514 break
2516fi 2515fi
2517done 2516done
@@ -2522,16 +2521,16 @@ fi
2522TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 2521TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2523 2522
2524if test -n "$TEST_MINUS_S_SH"; then 2523if test -n "$TEST_MINUS_S_SH"; then
2525 echo "$as_me:2525: result: $TEST_MINUS_S_SH" >&5 2524 echo "$as_me:2524: result: $TEST_MINUS_S_SH" >&5
2526echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 2525echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2527else 2526else
2528 echo "$as_me:2528: result: no" >&5 2527 echo "$as_me:2527: result: no" >&5
2529echo "${ECHO_T}no" >&6 2528echo "${ECHO_T}no" >&6
2530fi 2529fi
2531 2530
2532# Extract the first word of "sh", so it can be a program name with args. 2531# Extract the first word of "sh", so it can be a program name with args.
2533set dummy sh; ac_word=$2 2532set dummy sh; ac_word=$2
2534echo "$as_me:2534: checking for $ac_word" >&5 2533echo "$as_me:2533: checking for $ac_word" >&5
2535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2536if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 2535if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6 2536 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2548,7 +2547,7 @@ for ac_dir in $ac_dummy; do
2548 test -z "$ac_dir" && ac_dir=. 2547 test -z "$ac_dir" && ac_dir=.
2549 if $as_executable_p "$ac_dir/$ac_word"; then 2548 if $as_executable_p "$ac_dir/$ac_word"; then
2550 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 2549 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
2551 echo "$as_me:2551: found $ac_dir/$ac_word" >&5 2550 echo "$as_me:2550: found $ac_dir/$ac_word" >&5
2552 break 2551 break
2553fi 2552fi
2554done 2553done
@@ -2559,16 +2558,16 @@ fi
2559TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 2558TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2560 2559
2561if test -n "$TEST_MINUS_S_SH"; then 2560if test -n "$TEST_MINUS_S_SH"; then
2562 echo "$as_me:2562: result: $TEST_MINUS_S_SH" >&5 2561 echo "$as_me:2561: result: $TEST_MINUS_S_SH" >&5
2563echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 2562echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2564else 2563else
2565 echo "$as_me:2565: result: no" >&5 2564 echo "$as_me:2564: result: no" >&5
2566echo "${ECHO_T}no" >&6 2565echo "${ECHO_T}no" >&6
2567fi 2566fi
2568 2567
2569# Extract the first word of "sh", so it can be a program name with args. 2568# Extract the first word of "sh", so it can be a program name with args.
2570set dummy sh; ac_word=$2 2569set dummy sh; ac_word=$2
2571echo "$as_me:2571: checking for $ac_word" >&5 2570echo "$as_me:2570: checking for $ac_word" >&5
2572echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2571echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2573if test "${ac_cv_path_SH+set}" = set; then 2572if test "${ac_cv_path_SH+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6 2573 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2585,7 +2584,7 @@ for ac_dir in $ac_dummy; do
2585 test -z "$ac_dir" && ac_dir=. 2584 test -z "$ac_dir" && ac_dir=.
2586 if $as_executable_p "$ac_dir/$ac_word"; then 2585 if $as_executable_p "$ac_dir/$ac_word"; then
2587 ac_cv_path_SH="$ac_dir/$ac_word" 2586 ac_cv_path_SH="$ac_dir/$ac_word"
2588 echo "$as_me:2588: found $ac_dir/$ac_word" >&5 2587 echo "$as_me:2587: found $ac_dir/$ac_word" >&5
2589 break 2588 break
2590fi 2589fi
2591done 2590done
@@ -2596,10 +2595,10 @@ fi
2596SH=$ac_cv_path_SH 2595SH=$ac_cv_path_SH
2597 2596
2598if test -n "$SH"; then 2597if test -n "$SH"; then
2599 echo "$as_me:2599: result: $SH" >&5 2598 echo "$as_me:2598: result: $SH" >&5
2600echo "${ECHO_T}$SH" >&6 2599echo "${ECHO_T}$SH" >&6
2601else 2600else
2602 echo "$as_me:2602: result: no" >&5 2601 echo "$as_me:2601: result: no" >&5
2603echo "${ECHO_T}no" >&6 2602echo "${ECHO_T}no" >&6
2604fi 2603fi
2605 2604
@@ -2611,7 +2610,7 @@ if test "${enable_largefile+set}" = set; then
2611fi; 2610fi;
2612if test "$enable_largefile" != no; then 2611if test "$enable_largefile" != no; then
2613 2612
2614 echo "$as_me:2614: checking for special C compiler options needed for large files" >&5 2613 echo "$as_me:2613: checking for special C compiler options needed for large files" >&5
2615echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 2614echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
2616if test "${ac_cv_sys_largefile_CC+set}" = set; then 2615if test "${ac_cv_sys_largefile_CC+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6 2616 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2623,7 +2622,7 @@ else
2623 # IRIX 6.2 and later do not support large files by default, 2622 # IRIX 6.2 and later do not support large files by default,
2624 # so use the C compiler's -n32 option if that helps. 2623 # so use the C compiler's -n32 option if that helps.
2625 cat >conftest.$ac_ext <<_ACEOF 2624 cat >conftest.$ac_ext <<_ACEOF
2626#line 2626 "configure" 2625#line 2625 "configure"
2627#include "confdefs.h" 2626#include "confdefs.h"
2628#include <sys/types.h> 2627#include <sys/types.h>
2629 /* Check that off_t can represent 2**63 - 1 correctly. 2628 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -2643,16 +2642,16 @@ main ()
2643} 2642}
2644_ACEOF 2643_ACEOF
2645 rm -f conftest.$ac_objext 2644 rm -f conftest.$ac_objext
2646if { (eval echo "$as_me:2646: \"$ac_compile\"") >&5 2645if { (eval echo "$as_me:2645: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>&5 2646 (eval $ac_compile) 2>&5
2648 ac_status=$? 2647 ac_status=$?
2649 echo "$as_me:2649: \$? = $ac_status" >&5 2648 echo "$as_me:2648: \$? = $ac_status" >&5
2650 (exit $ac_status); } && 2649 (exit $ac_status); } &&
2651 { ac_try='test -s conftest.$ac_objext' 2650 { ac_try='test -s conftest.$ac_objext'
2652 { (eval echo "$as_me:2652: \"$ac_try\"") >&5 2651 { (eval echo "$as_me:2651: \"$ac_try\"") >&5
2653 (eval $ac_try) 2>&5 2652 (eval $ac_try) 2>&5
2654 ac_status=$? 2653 ac_status=$?
2655 echo "$as_me:2655: \$? = $ac_status" >&5 2654 echo "$as_me:2654: \$? = $ac_status" >&5
2656 (exit $ac_status); }; }; then 2655 (exit $ac_status); }; }; then
2657 break 2656 break
2658else 2657else
@@ -2662,16 +2661,16 @@ fi
2662rm -f conftest.$ac_objext 2661rm -f conftest.$ac_objext
2663 CC="$CC -n32" 2662 CC="$CC -n32"
2664 rm -f conftest.$ac_objext 2663 rm -f conftest.$ac_objext
2665if { (eval echo "$as_me:2665: \"$ac_compile\"") >&5 2664if { (eval echo "$as_me:2664: \"$ac_compile\"") >&5
2666 (eval $ac_compile) 2>&5 2665 (eval $ac_compile) 2>&5
2667 ac_status=$? 2666 ac_status=$?
2668 echo "$as_me:2668: \$? = $ac_status" >&5 2667 echo "$as_me:2667: \$? = $ac_status" >&5
2669 (exit $ac_status); } && 2668 (exit $ac_status); } &&
2670 { ac_try='test -s conftest.$ac_objext' 2669 { ac_try='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:2671: \"$ac_try\"") >&5 2670 { (eval echo "$as_me:2670: \"$ac_try\"") >&5
2672 (eval $ac_try) 2>&5 2671 (eval $ac_try) 2>&5
2673 ac_status=$? 2672 ac_status=$?
2674 echo "$as_me:2674: \$? = $ac_status" >&5 2673 echo "$as_me:2673: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then 2674 (exit $ac_status); }; }; then
2676 ac_cv_sys_largefile_CC=' -n32'; break 2675 ac_cv_sys_largefile_CC=' -n32'; break
2677else 2676else
@@ -2685,13 +2684,13 @@ rm -f conftest.$ac_objext
2685 rm -f conftest.$ac_ext 2684 rm -f conftest.$ac_ext
2686 fi 2685 fi
2687fi 2686fi
2688echo "$as_me:2688: result: $ac_cv_sys_largefile_CC" >&5 2687echo "$as_me:2687: result: $ac_cv_sys_largefile_CC" >&5
2689echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 2688echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
2690 if test "$ac_cv_sys_largefile_CC" != no; then 2689 if test "$ac_cv_sys_largefile_CC" != no; then
2691 CC=$CC$ac_cv_sys_largefile_CC 2690 CC=$CC$ac_cv_sys_largefile_CC
2692 fi 2691 fi
2693 2692
2694 echo "$as_me:2694: checking for _FILE_OFFSET_BITS value needed for large files" >&5 2693 echo "$as_me:2693: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2695echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 2694echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
2696if test "${ac_cv_sys_file_offset_bits+set}" = set; then 2695if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6 2696 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2699,7 +2698,7 @@ else
2699 while :; do 2698 while :; do
2700 ac_cv_sys_file_offset_bits=no 2699 ac_cv_sys_file_offset_bits=no
2701 cat >conftest.$ac_ext <<_ACEOF 2700 cat >conftest.$ac_ext <<_ACEOF
2702#line 2702 "configure" 2701#line 2701 "configure"
2703#include "confdefs.h" 2702#include "confdefs.h"
2704#include <sys/types.h> 2703#include <sys/types.h>
2705 /* Check that off_t can represent 2**63 - 1 correctly. 2704 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -2719,16 +2718,16 @@ main ()
2719} 2718}
2720_ACEOF 2719_ACEOF
2721rm -f conftest.$ac_objext 2720rm -f conftest.$ac_objext
2722if { (eval echo "$as_me:2722: \"$ac_compile\"") >&5 2721if { (eval echo "$as_me:2721: \"$ac_compile\"") >&5
2723 (eval $ac_compile) 2>&5 2722 (eval $ac_compile) 2>&5
2724 ac_status=$? 2723 ac_status=$?
2725 echo "$as_me:2725: \$? = $ac_status" >&5 2724 echo "$as_me:2724: \$? = $ac_status" >&5
2726 (exit $ac_status); } && 2725 (exit $ac_status); } &&
2727 { ac_try='test -s conftest.$ac_objext' 2726 { ac_try='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:2728: \"$ac_try\"") >&5 2727 { (eval echo "$as_me:2727: \"$ac_try\"") >&5
2729 (eval $ac_try) 2>&5 2728 (eval $ac_try) 2>&5
2730 ac_status=$? 2729 ac_status=$?
2731 echo "$as_me:2731: \$? = $ac_status" >&5 2730 echo "$as_me:2730: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then 2731 (exit $ac_status); }; }; then
2733 break 2732 break
2734else 2733else
@@ -2737,7 +2736,7 @@ cat conftest.$ac_ext >&5
2737fi 2736fi
2738rm -f conftest.$ac_objext conftest.$ac_ext 2737rm -f conftest.$ac_objext conftest.$ac_ext
2739 cat >conftest.$ac_ext <<_ACEOF 2738 cat >conftest.$ac_ext <<_ACEOF
2740#line 2740 "configure" 2739#line 2739 "configure"
2741#include "confdefs.h" 2740#include "confdefs.h"
2742#define _FILE_OFFSET_BITS 64 2741#define _FILE_OFFSET_BITS 64
2743#include <sys/types.h> 2742#include <sys/types.h>
@@ -2758,16 +2757,16 @@ main ()
2758} 2757}
2759_ACEOF 2758_ACEOF
2760rm -f conftest.$ac_objext 2759rm -f conftest.$ac_objext
2761if { (eval echo "$as_me:2761: \"$ac_compile\"") >&5 2760if { (eval echo "$as_me:2760: \"$ac_compile\"") >&5
2762 (eval $ac_compile) 2>&5 2761 (eval $ac_compile) 2>&5
2763 ac_status=$? 2762 ac_status=$?
2764 echo "$as_me:2764: \$? = $ac_status" >&5 2763 echo "$as_me:2763: \$? = $ac_status" >&5
2765 (exit $ac_status); } && 2764 (exit $ac_status); } &&
2766 { ac_try='test -s conftest.$ac_objext' 2765 { ac_try='test -s conftest.$ac_objext'
2767 { (eval echo "$as_me:2767: \"$ac_try\"") >&5 2766 { (eval echo "$as_me:2766: \"$ac_try\"") >&5
2768 (eval $ac_try) 2>&5 2767 (eval $ac_try) 2>&5
2769 ac_status=$? 2768 ac_status=$?
2770 echo "$as_me:2770: \$? = $ac_status" >&5 2769 echo "$as_me:2769: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then 2770 (exit $ac_status); }; }; then
2772 ac_cv_sys_file_offset_bits=64; break 2771 ac_cv_sys_file_offset_bits=64; break
2773else 2772else
@@ -2778,7 +2777,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
2778 break 2777 break
2779done 2778done
2780fi 2779fi
2781echo "$as_me:2781: result: $ac_cv_sys_file_offset_bits" >&5 2780echo "$as_me:2780: result: $ac_cv_sys_file_offset_bits" >&5
2782echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 2781echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
2783if test "$ac_cv_sys_file_offset_bits" != no; then 2782if test "$ac_cv_sys_file_offset_bits" != no; then
2784 2783
@@ -2788,7 +2787,7 @@ EOF
2788 2787
2789fi 2788fi
2790rm -f conftest* 2789rm -f conftest*
2791 echo "$as_me:2791: checking for _LARGE_FILES value needed for large files" >&5 2790 echo "$as_me:2790: checking for _LARGE_FILES value needed for large files" >&5
2792echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 2791echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
2793if test "${ac_cv_sys_large_files+set}" = set; then 2792if test "${ac_cv_sys_large_files+set}" = set; then
2794 echo $ECHO_N "(cached) $ECHO_C" >&6 2793 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2796,7 +2795,7 @@ else
2796 while :; do 2795 while :; do
2797 ac_cv_sys_large_files=no 2796 ac_cv_sys_large_files=no
2798 cat >conftest.$ac_ext <<_ACEOF 2797 cat >conftest.$ac_ext <<_ACEOF
2799#line 2799 "configure" 2798#line 2798 "configure"
2800#include "confdefs.h" 2799#include "confdefs.h"
2801#include <sys/types.h> 2800#include <sys/types.h>
2802 /* Check that off_t can represent 2**63 - 1 correctly. 2801 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -2816,16 +2815,16 @@ main ()
2816} 2815}
2817_ACEOF 2816_ACEOF
2818rm -f conftest.$ac_objext 2817rm -f conftest.$ac_objext
2819if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5 2818if { (eval echo "$as_me:2818: \"$ac_compile\"") >&5
2820 (eval $ac_compile) 2>&5 2819 (eval $ac_compile) 2>&5
2821 ac_status=$? 2820 ac_status=$?
2822 echo "$as_me:2822: \$? = $ac_status" >&5 2821 echo "$as_me:2821: \$? = $ac_status" >&5
2823 (exit $ac_status); } && 2822 (exit $ac_status); } &&
2824 { ac_try='test -s conftest.$ac_objext' 2823 { ac_try='test -s conftest.$ac_objext'
2825 { (eval echo "$as_me:2825: \"$ac_try\"") >&5 2824 { (eval echo "$as_me:2824: \"$ac_try\"") >&5
2826 (eval $ac_try) 2>&5 2825 (eval $ac_try) 2>&5
2827 ac_status=$? 2826 ac_status=$?
2828 echo "$as_me:2828: \$? = $ac_status" >&5 2827 echo "$as_me:2827: \$? = $ac_status" >&5
2829 (exit $ac_status); }; }; then 2828 (exit $ac_status); }; }; then
2830 break 2829 break
2831else 2830else
@@ -2834,7 +2833,7 @@ cat conftest.$ac_ext >&5
2834fi 2833fi
2835rm -f conftest.$ac_objext conftest.$ac_ext 2834rm -f conftest.$ac_objext conftest.$ac_ext
2836 cat >conftest.$ac_ext <<_ACEOF 2835 cat >conftest.$ac_ext <<_ACEOF
2837#line 2837 "configure" 2836#line 2836 "configure"
2838#include "confdefs.h" 2837#include "confdefs.h"
2839#define _LARGE_FILES 1 2838#define _LARGE_FILES 1
2840#include <sys/types.h> 2839#include <sys/types.h>
@@ -2855,16 +2854,16 @@ main ()
2855} 2854}
2856_ACEOF 2855_ACEOF
2857rm -f conftest.$ac_objext 2856rm -f conftest.$ac_objext
2858if { (eval echo "$as_me:2858: \"$ac_compile\"") >&5 2857if { (eval echo "$as_me:2857: \"$ac_compile\"") >&5
2859 (eval $ac_compile) 2>&5 2858 (eval $ac_compile) 2>&5
2860 ac_status=$? 2859 ac_status=$?
2861 echo "$as_me:2861: \$? = $ac_status" >&5 2860 echo "$as_me:2860: \$? = $ac_status" >&5
2862 (exit $ac_status); } && 2861 (exit $ac_status); } &&
2863 { ac_try='test -s conftest.$ac_objext' 2862 { ac_try='test -s conftest.$ac_objext'
2864 { (eval echo "$as_me:2864: \"$ac_try\"") >&5 2863 { (eval echo "$as_me:2863: \"$ac_try\"") >&5
2865 (eval $ac_try) 2>&5 2864 (eval $ac_try) 2>&5
2866 ac_status=$? 2865 ac_status=$?
2867 echo "$as_me:2867: \$? = $ac_status" >&5 2866 echo "$as_me:2866: \$? = $ac_status" >&5
2868 (exit $ac_status); }; }; then 2867 (exit $ac_status); }; }; then
2869 ac_cv_sys_large_files=1; break 2868 ac_cv_sys_large_files=1; break
2870else 2869else
@@ -2875,7 +2874,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
2875 break 2874 break
2876done 2875done
2877fi 2876fi
2878echo "$as_me:2878: result: $ac_cv_sys_large_files" >&5 2877echo "$as_me:2877: result: $ac_cv_sys_large_files" >&5
2879echo "${ECHO_T}$ac_cv_sys_large_files" >&6 2878echo "${ECHO_T}$ac_cv_sys_large_files" >&6
2880if test "$ac_cv_sys_large_files" != no; then 2879if test "$ac_cv_sys_large_files" != no; then
2881 2880
@@ -2888,7 +2887,7 @@ rm -f conftest*
2888fi 2887fi
2889 2888
2890if test -z "$AR" ; then 2889if test -z "$AR" ; then
2891 { { echo "$as_me:2891: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 2890 { { echo "$as_me:2890: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
2892echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} 2891echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;}
2893 { (exit 1); exit 1; }; } 2892 { (exit 1); exit 1; }; }
2894fi 2893fi
@@ -2903,7 +2902,7 @@ else
2903 # Search for login 2902 # Search for login
2904 # Extract the first word of "login", so it can be a program name with args. 2903 # Extract the first word of "login", so it can be a program name with args.
2905set dummy login; ac_word=$2 2904set dummy login; ac_word=$2
2906echo "$as_me:2906: checking for $ac_word" >&5 2905echo "$as_me:2905: checking for $ac_word" >&5
2907echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2906echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2908if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then 2907if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6 2908 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2920,7 +2919,7 @@ for ac_dir in $ac_dummy; do
2920 test -z "$ac_dir" && ac_dir=. 2919 test -z "$ac_dir" && ac_dir=.
2921 if $as_executable_p "$ac_dir/$ac_word"; then 2920 if $as_executable_p "$ac_dir/$ac_word"; then
2922 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$ac_dir/$ac_word" 2921 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$ac_dir/$ac_word"
2923 echo "$as_me:2923: found $ac_dir/$ac_word" >&5 2922 echo "$as_me:2922: found $ac_dir/$ac_word" >&5
2924 break 2923 break
2925fi 2924fi
2926done 2925done
@@ -2931,10 +2930,10 @@ fi
2931LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK 2930LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
2932 2931
2933if test -n "$LOGIN_PROGRAM_FALLBACK"; then 2932if test -n "$LOGIN_PROGRAM_FALLBACK"; then
2934 echo "$as_me:2934: result: $LOGIN_PROGRAM_FALLBACK" >&5 2933 echo "$as_me:2933: result: $LOGIN_PROGRAM_FALLBACK" >&5
2935echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6 2934echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6
2936else 2935else
2937 echo "$as_me:2937: result: no" >&5 2936 echo "$as_me:2936: result: no" >&5
2938echo "${ECHO_T}no" >&6 2937echo "${ECHO_T}no" >&6
2939fi 2938fi
2940 2939
@@ -2950,7 +2949,7 @@ if test -z "$LD" ; then
2950 LD=$CC 2949 LD=$CC
2951fi 2950fi
2952 2951
2953echo "$as_me:2953: checking for $CC option to accept ANSI C" >&5 2952echo "$as_me:2952: checking for $CC option to accept ANSI C" >&5
2954echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2953echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2955if test "${ac_cv_prog_cc_stdc+set}" = set; then 2954if test "${ac_cv_prog_cc_stdc+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6 2955 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2958,7 +2957,7 @@ else
2958 ac_cv_prog_cc_stdc=no 2957 ac_cv_prog_cc_stdc=no
2959ac_save_CC=$CC 2958ac_save_CC=$CC
2960cat >conftest.$ac_ext <<_ACEOF 2959cat >conftest.$ac_ext <<_ACEOF
2961#line 2961 "configure" 2960#line 2960 "configure"
2962#include "confdefs.h" 2961#include "confdefs.h"
2963#include <stdarg.h> 2962#include <stdarg.h>
2964#include <stdio.h> 2963#include <stdio.h>
@@ -3007,16 +3006,16 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO
3007do 3006do
3008 CC="$ac_save_CC $ac_arg" 3007 CC="$ac_save_CC $ac_arg"
3009 rm -f conftest.$ac_objext 3008 rm -f conftest.$ac_objext
3010if { (eval echo "$as_me:3010: \"$ac_compile\"") >&5 3009if { (eval echo "$as_me:3009: \"$ac_compile\"") >&5
3011 (eval $ac_compile) 2>&5 3010 (eval $ac_compile) 2>&5
3012 ac_status=$? 3011 ac_status=$?
3013 echo "$as_me:3013: \$? = $ac_status" >&5 3012 echo "$as_me:3012: \$? = $ac_status" >&5
3014 (exit $ac_status); } && 3013 (exit $ac_status); } &&
3015 { ac_try='test -s conftest.$ac_objext' 3014 { ac_try='test -s conftest.$ac_objext'
3016 { (eval echo "$as_me:3016: \"$ac_try\"") >&5 3015 { (eval echo "$as_me:3015: \"$ac_try\"") >&5
3017 (eval $ac_try) 2>&5 3016 (eval $ac_try) 2>&5
3018 ac_status=$? 3017 ac_status=$?
3019 echo "$as_me:3019: \$? = $ac_status" >&5 3018 echo "$as_me:3018: \$? = $ac_status" >&5
3020 (exit $ac_status); }; }; then 3019 (exit $ac_status); }; }; then
3021 ac_cv_prog_cc_stdc=$ac_arg 3020 ac_cv_prog_cc_stdc=$ac_arg
3022break 3021break
@@ -3033,15 +3032,15 @@ fi
3033 3032
3034case "x$ac_cv_prog_cc_stdc" in 3033case "x$ac_cv_prog_cc_stdc" in
3035 x|xno) 3034 x|xno)
3036 echo "$as_me:3036: result: none needed" >&5 3035 echo "$as_me:3035: result: none needed" >&5
3037echo "${ECHO_T}none needed" >&6 ;; 3036echo "${ECHO_T}none needed" >&6 ;;
3038 *) 3037 *)
3039 echo "$as_me:3039: result: $ac_cv_prog_cc_stdc" >&5 3038 echo "$as_me:3038: result: $ac_cv_prog_cc_stdc" >&5
3040echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3039echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3041 CC="$CC $ac_cv_prog_cc_stdc" ;; 3040 CC="$CC $ac_cv_prog_cc_stdc" ;;
3042esac 3041esac
3043 3042
3044echo "$as_me:3044: checking for inline" >&5 3043echo "$as_me:3043: checking for inline" >&5
3045echo $ECHO_N "checking for inline... $ECHO_C" >&6 3044echo $ECHO_N "checking for inline... $ECHO_C" >&6
3046if test "${ac_cv_c_inline+set}" = set; then 3045if test "${ac_cv_c_inline+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6 3046 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3049,7 +3048,7 @@ else
3049 ac_cv_c_inline=no 3048 ac_cv_c_inline=no
3050for ac_kw in inline __inline__ __inline; do 3049for ac_kw in inline __inline__ __inline; do
3051 cat >conftest.$ac_ext <<_ACEOF 3050 cat >conftest.$ac_ext <<_ACEOF
3052#line 3052 "configure" 3051#line 3051 "configure"
3053#include "confdefs.h" 3052#include "confdefs.h"
3054#ifndef __cplusplus 3053#ifndef __cplusplus
3055static $ac_kw int static_foo () {return 0; } 3054static $ac_kw int static_foo () {return 0; }
@@ -3058,16 +3057,16 @@ $ac_kw int foo () {return 0; }
3058 3057
3059_ACEOF 3058_ACEOF
3060rm -f conftest.$ac_objext 3059rm -f conftest.$ac_objext
3061if { (eval echo "$as_me:3061: \"$ac_compile\"") >&5 3060if { (eval echo "$as_me:3060: \"$ac_compile\"") >&5
3062 (eval $ac_compile) 2>&5 3061 (eval $ac_compile) 2>&5
3063 ac_status=$? 3062 ac_status=$?
3064 echo "$as_me:3064: \$? = $ac_status" >&5 3063 echo "$as_me:3063: \$? = $ac_status" >&5
3065 (exit $ac_status); } && 3064 (exit $ac_status); } &&
3066 { ac_try='test -s conftest.$ac_objext' 3065 { ac_try='test -s conftest.$ac_objext'
3067 { (eval echo "$as_me:3067: \"$ac_try\"") >&5 3066 { (eval echo "$as_me:3066: \"$ac_try\"") >&5
3068 (eval $ac_try) 2>&5 3067 (eval $ac_try) 2>&5
3069 ac_status=$? 3068 ac_status=$?
3070 echo "$as_me:3070: \$? = $ac_status" >&5 3069 echo "$as_me:3069: \$? = $ac_status" >&5
3071 (exit $ac_status); }; }; then 3070 (exit $ac_status); }; }; then
3072 ac_cv_c_inline=$ac_kw; break 3071 ac_cv_c_inline=$ac_kw; break
3073else 3072else
@@ -3078,7 +3077,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
3078done 3077done
3079 3078
3080fi 3079fi
3081echo "$as_me:3081: result: $ac_cv_c_inline" >&5 3080echo "$as_me:3080: result: $ac_cv_c_inline" >&5
3082echo "${ECHO_T}$ac_cv_c_inline" >&6 3081echo "${ECHO_T}$ac_cv_c_inline" >&6
3083case $ac_cv_c_inline in 3082case $ac_cv_c_inline in
3084 inline | yes) ;; 3083 inline | yes) ;;
@@ -3102,7 +3101,7 @@ case "$host" in
3102*-*-aix*) 3101*-*-aix*)
3103 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 3102 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3104 LDFLAGS="$LDFLAGS -L/usr/local/lib" 3103 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3105 echo "$as_me:3105: checking how to specify blibpath for linker ($LD)" >&5 3104 echo "$as_me:3104: checking how to specify blibpath for linker ($LD)" >&5
3106echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6 3105echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
3107 if (test -z "$blibpath"); then 3106 if (test -z "$blibpath"); then
3108 blibpath="/usr/lib:/lib:/usr/local/lib" 3107 blibpath="/usr/lib:/lib:/usr/local/lib"
@@ -3112,7 +3111,7 @@ echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
3112 if (test -z "$blibflags"); then 3111 if (test -z "$blibflags"); then
3113 LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" 3112 LDFLAGS="$saved_LDFLAGS $tryflags$blibpath"
3114 cat >conftest.$ac_ext <<_ACEOF 3113 cat >conftest.$ac_ext <<_ACEOF
3115#line 3115 "configure" 3114#line 3114 "configure"
3116#include "confdefs.h" 3115#include "confdefs.h"
3117 3116
3118int 3117int
@@ -3124,16 +3123,16 @@ main ()
3124} 3123}
3125_ACEOF 3124_ACEOF
3126rm -f conftest.$ac_objext conftest$ac_exeext 3125rm -f conftest.$ac_objext conftest$ac_exeext
3127if { (eval echo "$as_me:3127: \"$ac_link\"") >&5 3126if { (eval echo "$as_me:3126: \"$ac_link\"") >&5
3128 (eval $ac_link) 2>&5 3127 (eval $ac_link) 2>&5
3129 ac_status=$? 3128 ac_status=$?
3130 echo "$as_me:3130: \$? = $ac_status" >&5 3129 echo "$as_me:3129: \$? = $ac_status" >&5
3131 (exit $ac_status); } && 3130 (exit $ac_status); } &&
3132 { ac_try='test -s conftest$ac_exeext' 3131 { ac_try='test -s conftest$ac_exeext'
3133 { (eval echo "$as_me:3133: \"$ac_try\"") >&5 3132 { (eval echo "$as_me:3132: \"$ac_try\"") >&5
3134 (eval $ac_try) 2>&5 3133 (eval $ac_try) 2>&5
3135 ac_status=$? 3134 ac_status=$?
3136 echo "$as_me:3136: \$? = $ac_status" >&5 3135 echo "$as_me:3135: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then 3136 (exit $ac_status); }; }; then
3138 blibflags=$tryflags 3137 blibflags=$tryflags
3139else 3138else
@@ -3144,23 +3143,23 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3144 fi 3143 fi
3145 done 3144 done
3146 if (test -z "$blibflags"); then 3145 if (test -z "$blibflags"); then
3147 echo "$as_me:3147: result: not found" >&5 3146 echo "$as_me:3146: result: not found" >&5
3148echo "${ECHO_T}not found" >&6 3147echo "${ECHO_T}not found" >&6
3149 { { echo "$as_me:3149: error: *** must be able to specify blibpath on AIX - check config.log" >&5 3148 { { echo "$as_me:3148: error: *** must be able to specify blibpath on AIX - check config.log" >&5
3150echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} 3149echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;}
3151 { (exit 1); exit 1; }; } 3150 { (exit 1); exit 1; }; }
3152 else 3151 else
3153 echo "$as_me:3153: result: $blibflags" >&5 3152 echo "$as_me:3152: result: $blibflags" >&5
3154echo "${ECHO_T}$blibflags" >&6 3153echo "${ECHO_T}$blibflags" >&6
3155 fi 3154 fi
3156 LDFLAGS="$saved_LDFLAGS" 3155 LDFLAGS="$saved_LDFLAGS"
3157 echo "$as_me:3157: checking for authenticate" >&5 3156 echo "$as_me:3156: checking for authenticate" >&5
3158echo $ECHO_N "checking for authenticate... $ECHO_C" >&6 3157echo $ECHO_N "checking for authenticate... $ECHO_C" >&6
3159if test "${ac_cv_func_authenticate+set}" = set; then 3158if test "${ac_cv_func_authenticate+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6 3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3161else 3160else
3162 cat >conftest.$ac_ext <<_ACEOF 3161 cat >conftest.$ac_ext <<_ACEOF
3163#line 3163 "configure" 3162#line 3162 "configure"
3164#include "confdefs.h" 3163#include "confdefs.h"
3165/* System header to define __stub macros and hopefully few prototypes, 3164/* System header to define __stub macros and hopefully few prototypes,
3166 which can conflict with char authenticate (); below. */ 3165 which can conflict with char authenticate (); below. */
@@ -3191,16 +3190,16 @@ f = authenticate;
3191} 3190}
3192_ACEOF 3191_ACEOF
3193rm -f conftest.$ac_objext conftest$ac_exeext 3192rm -f conftest.$ac_objext conftest$ac_exeext
3194if { (eval echo "$as_me:3194: \"$ac_link\"") >&5 3193if { (eval echo "$as_me:3193: \"$ac_link\"") >&5
3195 (eval $ac_link) 2>&5 3194 (eval $ac_link) 2>&5
3196 ac_status=$? 3195 ac_status=$?
3197 echo "$as_me:3197: \$? = $ac_status" >&5 3196 echo "$as_me:3196: \$? = $ac_status" >&5
3198 (exit $ac_status); } && 3197 (exit $ac_status); } &&
3199 { ac_try='test -s conftest$ac_exeext' 3198 { ac_try='test -s conftest$ac_exeext'
3200 { (eval echo "$as_me:3200: \"$ac_try\"") >&5 3199 { (eval echo "$as_me:3199: \"$ac_try\"") >&5
3201 (eval $ac_try) 2>&5 3200 (eval $ac_try) 2>&5
3202 ac_status=$? 3201 ac_status=$?
3203 echo "$as_me:3203: \$? = $ac_status" >&5 3202 echo "$as_me:3202: \$? = $ac_status" >&5
3204 (exit $ac_status); }; }; then 3203 (exit $ac_status); }; }; then
3205 ac_cv_func_authenticate=yes 3204 ac_cv_func_authenticate=yes
3206else 3205else
@@ -3210,7 +3209,7 @@ ac_cv_func_authenticate=no
3210fi 3209fi
3211rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3210rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3212fi 3211fi
3213echo "$as_me:3213: result: $ac_cv_func_authenticate" >&5 3212echo "$as_me:3212: result: $ac_cv_func_authenticate" >&5
3214echo "${ECHO_T}$ac_cv_func_authenticate" >&6 3213echo "${ECHO_T}$ac_cv_func_authenticate" >&6
3215if test $ac_cv_func_authenticate = yes; then 3214if test $ac_cv_func_authenticate = yes; then
3216 cat >>confdefs.h <<\EOF 3215 cat >>confdefs.h <<\EOF
@@ -3218,7 +3217,7 @@ if test $ac_cv_func_authenticate = yes; then
3218EOF 3217EOF
3219 3218
3220else 3219else
3221 echo "$as_me:3221: checking for authenticate in -ls" >&5 3220 echo "$as_me:3220: checking for authenticate in -ls" >&5
3222echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6 3221echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6
3223if test "${ac_cv_lib_s_authenticate+set}" = set; then 3222if test "${ac_cv_lib_s_authenticate+set}" = set; then
3224 echo $ECHO_N "(cached) $ECHO_C" >&6 3223 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3226,7 +3225,7 @@ else
3226 ac_check_lib_save_LIBS=$LIBS 3225 ac_check_lib_save_LIBS=$LIBS
3227LIBS="-ls $LIBS" 3226LIBS="-ls $LIBS"
3228cat >conftest.$ac_ext <<_ACEOF 3227cat >conftest.$ac_ext <<_ACEOF
3229#line 3229 "configure" 3228#line 3228 "configure"
3230#include "confdefs.h" 3229#include "confdefs.h"
3231 3230
3232/* Override any gcc2 internal prototype to avoid an error. */ 3231/* Override any gcc2 internal prototype to avoid an error. */
@@ -3245,16 +3244,16 @@ authenticate ();
3245} 3244}
3246_ACEOF 3245_ACEOF
3247rm -f conftest.$ac_objext conftest$ac_exeext 3246rm -f conftest.$ac_objext conftest$ac_exeext
3248if { (eval echo "$as_me:3248: \"$ac_link\"") >&5 3247if { (eval echo "$as_me:3247: \"$ac_link\"") >&5
3249 (eval $ac_link) 2>&5 3248 (eval $ac_link) 2>&5
3250 ac_status=$? 3249 ac_status=$?
3251 echo "$as_me:3251: \$? = $ac_status" >&5 3250 echo "$as_me:3250: \$? = $ac_status" >&5
3252 (exit $ac_status); } && 3251 (exit $ac_status); } &&
3253 { ac_try='test -s conftest$ac_exeext' 3252 { ac_try='test -s conftest$ac_exeext'
3254 { (eval echo "$as_me:3254: \"$ac_try\"") >&5 3253 { (eval echo "$as_me:3253: \"$ac_try\"") >&5
3255 (eval $ac_try) 2>&5 3254 (eval $ac_try) 2>&5
3256 ac_status=$? 3255 ac_status=$?
3257 echo "$as_me:3257: \$? = $ac_status" >&5 3256 echo "$as_me:3256: \$? = $ac_status" >&5
3258 (exit $ac_status); }; }; then 3257 (exit $ac_status); }; }; then
3259 ac_cv_lib_s_authenticate=yes 3258 ac_cv_lib_s_authenticate=yes
3260else 3259else
@@ -3265,7 +3264,7 @@ fi
3265rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3264rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3266LIBS=$ac_check_lib_save_LIBS 3265LIBS=$ac_check_lib_save_LIBS
3267fi 3266fi
3268echo "$as_me:3268: result: $ac_cv_lib_s_authenticate" >&5 3267echo "$as_me:3267: result: $ac_cv_lib_s_authenticate" >&5
3269echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6 3268echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6
3270if test $ac_cv_lib_s_authenticate = yes; then 3269if test $ac_cv_lib_s_authenticate = yes; then
3271 cat >>confdefs.h <<\EOF 3270 cat >>confdefs.h <<\EOF
@@ -3278,13 +3277,13 @@ fi
3278 3277
3279fi 3278fi
3280 3279
3281 echo "$as_me:3281: checking whether loginfailed is declared" >&5 3280 echo "$as_me:3280: checking whether loginfailed is declared" >&5
3282echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6 3281echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6
3283if test "${ac_cv_have_decl_loginfailed+set}" = set; then 3282if test "${ac_cv_have_decl_loginfailed+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6 3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3285else 3284else
3286 cat >conftest.$ac_ext <<_ACEOF 3285 cat >conftest.$ac_ext <<_ACEOF
3287#line 3287 "configure" 3286#line 3286 "configure"
3288#include "confdefs.h" 3287#include "confdefs.h"
3289#include <usersec.h> 3288#include <usersec.h>
3290 3289
@@ -3300,16 +3299,16 @@ main ()
3300} 3299}
3301_ACEOF 3300_ACEOF
3302rm -f conftest.$ac_objext 3301rm -f conftest.$ac_objext
3303if { (eval echo "$as_me:3303: \"$ac_compile\"") >&5 3302if { (eval echo "$as_me:3302: \"$ac_compile\"") >&5
3304 (eval $ac_compile) 2>&5 3303 (eval $ac_compile) 2>&5
3305 ac_status=$? 3304 ac_status=$?
3306 echo "$as_me:3306: \$? = $ac_status" >&5 3305 echo "$as_me:3305: \$? = $ac_status" >&5
3307 (exit $ac_status); } && 3306 (exit $ac_status); } &&
3308 { ac_try='test -s conftest.$ac_objext' 3307 { ac_try='test -s conftest.$ac_objext'
3309 { (eval echo "$as_me:3309: \"$ac_try\"") >&5 3308 { (eval echo "$as_me:3308: \"$ac_try\"") >&5
3310 (eval $ac_try) 2>&5 3309 (eval $ac_try) 2>&5
3311 ac_status=$? 3310 ac_status=$?
3312 echo "$as_me:3312: \$? = $ac_status" >&5 3311 echo "$as_me:3311: \$? = $ac_status" >&5
3313 (exit $ac_status); }; }; then 3312 (exit $ac_status); }; }; then
3314 ac_cv_have_decl_loginfailed=yes 3313 ac_cv_have_decl_loginfailed=yes
3315else 3314else
@@ -3319,13 +3318,13 @@ ac_cv_have_decl_loginfailed=no
3319fi 3318fi
3320rm -f conftest.$ac_objext conftest.$ac_ext 3319rm -f conftest.$ac_objext conftest.$ac_ext
3321fi 3320fi
3322echo "$as_me:3322: result: $ac_cv_have_decl_loginfailed" >&5 3321echo "$as_me:3321: result: $ac_cv_have_decl_loginfailed" >&5
3323echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6 3322echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6
3324if test $ac_cv_have_decl_loginfailed = yes; then 3323if test $ac_cv_have_decl_loginfailed = yes; then
3325 echo "$as_me:3325: checking if loginfailed takes 4 arguments" >&5 3324 echo "$as_me:3324: checking if loginfailed takes 4 arguments" >&5
3326echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6 3325echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6
3327 cat >conftest.$ac_ext <<_ACEOF 3326 cat >conftest.$ac_ext <<_ACEOF
3328#line 3328 "configure" 3327#line 3327 "configure"
3329#include "confdefs.h" 3328#include "confdefs.h"
3330#include <usersec.h> 3329#include <usersec.h>
3331int 3330int
@@ -3337,18 +3336,18 @@ main ()
3337} 3336}
3338_ACEOF 3337_ACEOF
3339rm -f conftest.$ac_objext 3338rm -f conftest.$ac_objext
3340if { (eval echo "$as_me:3340: \"$ac_compile\"") >&5 3339if { (eval echo "$as_me:3339: \"$ac_compile\"") >&5
3341 (eval $ac_compile) 2>&5 3340 (eval $ac_compile) 2>&5
3342 ac_status=$? 3341 ac_status=$?
3343 echo "$as_me:3343: \$? = $ac_status" >&5 3342 echo "$as_me:3342: \$? = $ac_status" >&5
3344 (exit $ac_status); } && 3343 (exit $ac_status); } &&
3345 { ac_try='test -s conftest.$ac_objext' 3344 { ac_try='test -s conftest.$ac_objext'
3346 { (eval echo "$as_me:3346: \"$ac_try\"") >&5 3345 { (eval echo "$as_me:3345: \"$ac_try\"") >&5
3347 (eval $ac_try) 2>&5 3346 (eval $ac_try) 2>&5
3348 ac_status=$? 3347 ac_status=$?
3349 echo "$as_me:3349: \$? = $ac_status" >&5 3348 echo "$as_me:3348: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then 3349 (exit $ac_status); }; }; then
3351 echo "$as_me:3351: result: yes" >&5 3350 echo "$as_me:3350: result: yes" >&5
3352echo "${ECHO_T}yes" >&6 3351echo "${ECHO_T}yes" >&6
3353 cat >>confdefs.h <<\EOF 3352 cat >>confdefs.h <<\EOF
3354#define AIX_LOGINFAILED_4ARG 1 3353#define AIX_LOGINFAILED_4ARG 1
@@ -3357,7 +3356,7 @@ EOF
3357else 3356else
3358 echo "$as_me: failed program was:" >&5 3357 echo "$as_me: failed program was:" >&5
3359cat conftest.$ac_ext >&5 3358cat conftest.$ac_ext >&5
3360echo "$as_me:3360: result: no" >&5 3359echo "$as_me:3359: result: no" >&5
3361echo "${ECHO_T}no" >&6 3360echo "${ECHO_T}no" >&6
3362 3361
3363fi 3362fi
@@ -3367,13 +3366,13 @@ fi
3367for ac_func in setauthdb 3366for ac_func in setauthdb
3368do 3367do
3369as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3368as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3370echo "$as_me:3370: checking for $ac_func" >&5 3369echo "$as_me:3369: checking for $ac_func" >&5
3371echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3370echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3372if eval "test \"\${$as_ac_var+set}\" = set"; then 3371if eval "test \"\${$as_ac_var+set}\" = set"; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6 3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374else 3373else
3375 cat >conftest.$ac_ext <<_ACEOF 3374 cat >conftest.$ac_ext <<_ACEOF
3376#line 3376 "configure" 3375#line 3375 "configure"
3377#include "confdefs.h" 3376#include "confdefs.h"
3378/* System header to define __stub macros and hopefully few prototypes, 3377/* System header to define __stub macros and hopefully few prototypes,
3379 which can conflict with char $ac_func (); below. */ 3378 which can conflict with char $ac_func (); below. */
@@ -3404,16 +3403,16 @@ f = $ac_func;
3404} 3403}
3405_ACEOF 3404_ACEOF
3406rm -f conftest.$ac_objext conftest$ac_exeext 3405rm -f conftest.$ac_objext conftest$ac_exeext
3407if { (eval echo "$as_me:3407: \"$ac_link\"") >&5 3406if { (eval echo "$as_me:3406: \"$ac_link\"") >&5
3408 (eval $ac_link) 2>&5 3407 (eval $ac_link) 2>&5
3409 ac_status=$? 3408 ac_status=$?
3410 echo "$as_me:3410: \$? = $ac_status" >&5 3409 echo "$as_me:3409: \$? = $ac_status" >&5
3411 (exit $ac_status); } && 3410 (exit $ac_status); } &&
3412 { ac_try='test -s conftest$ac_exeext' 3411 { ac_try='test -s conftest$ac_exeext'
3413 { (eval echo "$as_me:3413: \"$ac_try\"") >&5 3412 { (eval echo "$as_me:3412: \"$ac_try\"") >&5
3414 (eval $ac_try) 2>&5 3413 (eval $ac_try) 2>&5
3415 ac_status=$? 3414 ac_status=$?
3416 echo "$as_me:3416: \$? = $ac_status" >&5 3415 echo "$as_me:3415: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then 3416 (exit $ac_status); }; }; then
3418 eval "$as_ac_var=yes" 3417 eval "$as_ac_var=yes"
3419else 3418else
@@ -3423,7 +3422,7 @@ eval "$as_ac_var=no"
3423fi 3422fi
3424rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3423rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3425fi 3424fi
3426echo "$as_me:3426: result: `eval echo '${'$as_ac_var'}'`" >&5 3425echo "$as_me:3425: result: `eval echo '${'$as_ac_var'}'`" >&5
3427echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3426echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3428if test `eval echo '${'$as_ac_var'}'` = yes; then 3427if test `eval echo '${'$as_ac_var'}'` = yes; then
3429 cat >>confdefs.h <<EOF 3428 cat >>confdefs.h <<EOF
@@ -3509,14 +3508,14 @@ EOF
3509 3508
3510 ;; 3509 ;;
3511*-*-darwin*) 3510*-*-darwin*)
3512 echo "$as_me:3512: checking if we have working getaddrinfo" >&5 3511 echo "$as_me:3511: checking if we have working getaddrinfo" >&5
3513echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6 3512echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6
3514 if test "$cross_compiling" = yes; then 3513 if test "$cross_compiling" = yes; then
3515 echo "$as_me:3515: result: assume it is working" >&5 3514 echo "$as_me:3514: result: assume it is working" >&5
3516echo "${ECHO_T}assume it is working" >&6 3515echo "${ECHO_T}assume it is working" >&6
3517else 3516else
3518 cat >conftest.$ac_ext <<_ACEOF 3517 cat >conftest.$ac_ext <<_ACEOF
3519#line 3519 "configure" 3518#line 3518 "configure"
3520#include "confdefs.h" 3519#include "confdefs.h"
3521#include <mach-o/dyld.h> 3520#include <mach-o/dyld.h>
3522main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) 3521main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
@@ -3526,23 +3525,23 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
3526} 3525}
3527_ACEOF 3526_ACEOF
3528rm -f conftest$ac_exeext 3527rm -f conftest$ac_exeext
3529if { (eval echo "$as_me:3529: \"$ac_link\"") >&5 3528if { (eval echo "$as_me:3528: \"$ac_link\"") >&5
3530 (eval $ac_link) 2>&5 3529 (eval $ac_link) 2>&5
3531 ac_status=$? 3530 ac_status=$?
3532 echo "$as_me:3532: \$? = $ac_status" >&5 3531 echo "$as_me:3531: \$? = $ac_status" >&5
3533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3534 { (eval echo "$as_me:3534: \"$ac_try\"") >&5 3533 { (eval echo "$as_me:3533: \"$ac_try\"") >&5
3535 (eval $ac_try) 2>&5 3534 (eval $ac_try) 2>&5
3536 ac_status=$? 3535 ac_status=$?
3537 echo "$as_me:3537: \$? = $ac_status" >&5 3536 echo "$as_me:3536: \$? = $ac_status" >&5
3538 (exit $ac_status); }; }; then 3537 (exit $ac_status); }; }; then
3539 echo "$as_me:3539: result: working" >&5 3538 echo "$as_me:3538: result: working" >&5
3540echo "${ECHO_T}working" >&6 3539echo "${ECHO_T}working" >&6
3541else 3540else
3542 echo "$as_me: program exited with status $ac_status" >&5 3541 echo "$as_me: program exited with status $ac_status" >&5
3543echo "$as_me: failed program was:" >&5 3542echo "$as_me: failed program was:" >&5
3544cat conftest.$ac_ext >&5 3543cat conftest.$ac_ext >&5
3545echo "$as_me:3545: result: buggy" >&5 3544echo "$as_me:3544: result: buggy" >&5
3546echo "${ECHO_T}buggy" >&6 3545echo "${ECHO_T}buggy" >&6
3547 cat >>confdefs.h <<\EOF 3546 cat >>confdefs.h <<\EOF
3548#define BROKEN_GETADDRINFO 1 3547#define BROKEN_GETADDRINFO 1
@@ -3551,18 +3550,6 @@ EOF
3551fi 3550fi
3552rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3551rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3553fi 3552fi
3554 cat >>confdefs.h <<\EOF
3555#define SETEUID_BREAKS_SETUID 1
3556EOF
3557
3558 cat >>confdefs.h <<\EOF
3559#define BROKEN_SETREUID 1
3560EOF
3561
3562 cat >>confdefs.h <<\EOF
3563#define BROKEN_SETREGID 1
3564EOF
3565
3566 ;; 3553 ;;
3567*-*-hpux10.26) 3554*-*-hpux10.26)
3568 if test -z "$GCC"; then 3555 if test -z "$GCC"; then
@@ -3604,7 +3591,7 @@ EOF
3604 3591
3605 LIBS="$LIBS -lsec -lsecpw" 3592 LIBS="$LIBS -lsec -lsecpw"
3606 3593
3607echo "$as_me:3607: checking for t_error in -lxnet" >&5 3594echo "$as_me:3594: checking for t_error in -lxnet" >&5
3608echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 3595echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3609if test "${ac_cv_lib_xnet_t_error+set}" = set; then 3596if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6 3597 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3612,7 +3599,7 @@ else
3612 ac_check_lib_save_LIBS=$LIBS 3599 ac_check_lib_save_LIBS=$LIBS
3613LIBS="-lxnet $LIBS" 3600LIBS="-lxnet $LIBS"
3614cat >conftest.$ac_ext <<_ACEOF 3601cat >conftest.$ac_ext <<_ACEOF
3615#line 3615 "configure" 3602#line 3602 "configure"
3616#include "confdefs.h" 3603#include "confdefs.h"
3617 3604
3618/* Override any gcc2 internal prototype to avoid an error. */ 3605/* Override any gcc2 internal prototype to avoid an error. */
@@ -3631,16 +3618,16 @@ t_error ();
3631} 3618}
3632_ACEOF 3619_ACEOF
3633rm -f conftest.$ac_objext conftest$ac_exeext 3620rm -f conftest.$ac_objext conftest$ac_exeext
3634if { (eval echo "$as_me:3634: \"$ac_link\"") >&5 3621if { (eval echo "$as_me:3621: \"$ac_link\"") >&5
3635 (eval $ac_link) 2>&5 3622 (eval $ac_link) 2>&5
3636 ac_status=$? 3623 ac_status=$?
3637 echo "$as_me:3637: \$? = $ac_status" >&5 3624 echo "$as_me:3624: \$? = $ac_status" >&5
3638 (exit $ac_status); } && 3625 (exit $ac_status); } &&
3639 { ac_try='test -s conftest$ac_exeext' 3626 { ac_try='test -s conftest$ac_exeext'
3640 { (eval echo "$as_me:3640: \"$ac_try\"") >&5 3627 { (eval echo "$as_me:3627: \"$ac_try\"") >&5
3641 (eval $ac_try) 2>&5 3628 (eval $ac_try) 2>&5
3642 ac_status=$? 3629 ac_status=$?
3643 echo "$as_me:3643: \$? = $ac_status" >&5 3630 echo "$as_me:3630: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then 3631 (exit $ac_status); }; }; then
3645 ac_cv_lib_xnet_t_error=yes 3632 ac_cv_lib_xnet_t_error=yes
3646else 3633else
@@ -3651,7 +3638,7 @@ fi
3651rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3638rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3652LIBS=$ac_check_lib_save_LIBS 3639LIBS=$ac_check_lib_save_LIBS
3653fi 3640fi
3654echo "$as_me:3654: result: $ac_cv_lib_xnet_t_error" >&5 3641echo "$as_me:3641: result: $ac_cv_lib_xnet_t_error" >&5
3655echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 3642echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3656if test $ac_cv_lib_xnet_t_error = yes; then 3643if test $ac_cv_lib_xnet_t_error = yes; then
3657 cat >>confdefs.h <<EOF 3644 cat >>confdefs.h <<EOF
@@ -3661,7 +3648,7 @@ EOF
3661 LIBS="-lxnet $LIBS" 3648 LIBS="-lxnet $LIBS"
3662 3649
3663else 3650else
3664 { { echo "$as_me:3664: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 3651 { { echo "$as_me:3651: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3665echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 3652echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3666 { (exit 1); exit 1; }; } 3653 { (exit 1); exit 1; }; }
3667fi 3654fi
@@ -3704,7 +3691,7 @@ EOF
3704 3691
3705 LIBS="$LIBS -lsec" 3692 LIBS="$LIBS -lsec"
3706 3693
3707echo "$as_me:3707: checking for t_error in -lxnet" >&5 3694echo "$as_me:3694: checking for t_error in -lxnet" >&5
3708echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 3695echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3709if test "${ac_cv_lib_xnet_t_error+set}" = set; then 3696if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6 3697 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3712,7 +3699,7 @@ else
3712 ac_check_lib_save_LIBS=$LIBS 3699 ac_check_lib_save_LIBS=$LIBS
3713LIBS="-lxnet $LIBS" 3700LIBS="-lxnet $LIBS"
3714cat >conftest.$ac_ext <<_ACEOF 3701cat >conftest.$ac_ext <<_ACEOF
3715#line 3715 "configure" 3702#line 3702 "configure"
3716#include "confdefs.h" 3703#include "confdefs.h"
3717 3704
3718/* Override any gcc2 internal prototype to avoid an error. */ 3705/* Override any gcc2 internal prototype to avoid an error. */
@@ -3731,16 +3718,16 @@ t_error ();
3731} 3718}
3732_ACEOF 3719_ACEOF
3733rm -f conftest.$ac_objext conftest$ac_exeext 3720rm -f conftest.$ac_objext conftest$ac_exeext
3734if { (eval echo "$as_me:3734: \"$ac_link\"") >&5 3721if { (eval echo "$as_me:3721: \"$ac_link\"") >&5
3735 (eval $ac_link) 2>&5 3722 (eval $ac_link) 2>&5
3736 ac_status=$? 3723 ac_status=$?
3737 echo "$as_me:3737: \$? = $ac_status" >&5 3724 echo "$as_me:3724: \$? = $ac_status" >&5
3738 (exit $ac_status); } && 3725 (exit $ac_status); } &&
3739 { ac_try='test -s conftest$ac_exeext' 3726 { ac_try='test -s conftest$ac_exeext'
3740 { (eval echo "$as_me:3740: \"$ac_try\"") >&5 3727 { (eval echo "$as_me:3727: \"$ac_try\"") >&5
3741 (eval $ac_try) 2>&5 3728 (eval $ac_try) 2>&5
3742 ac_status=$? 3729 ac_status=$?
3743 echo "$as_me:3743: \$? = $ac_status" >&5 3730 echo "$as_me:3730: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then 3731 (exit $ac_status); }; }; then
3745 ac_cv_lib_xnet_t_error=yes 3732 ac_cv_lib_xnet_t_error=yes
3746else 3733else
@@ -3751,7 +3738,7 @@ fi
3751rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3738rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3752LIBS=$ac_check_lib_save_LIBS 3739LIBS=$ac_check_lib_save_LIBS
3753fi 3740fi
3754echo "$as_me:3754: result: $ac_cv_lib_xnet_t_error" >&5 3741echo "$as_me:3741: result: $ac_cv_lib_xnet_t_error" >&5
3755echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 3742echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3756if test $ac_cv_lib_xnet_t_error = yes; then 3743if test $ac_cv_lib_xnet_t_error = yes; then
3757 cat >>confdefs.h <<EOF 3744 cat >>confdefs.h <<EOF
@@ -3761,7 +3748,7 @@ EOF
3761 LIBS="-lxnet $LIBS" 3748 LIBS="-lxnet $LIBS"
3762 3749
3763else 3750else
3764 { { echo "$as_me:3764: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 3751 { { echo "$as_me:3751: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3765echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 3752echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3766 { (exit 1); exit 1; }; } 3753 { (exit 1); exit 1; }; }
3767fi 3754fi
@@ -3804,7 +3791,7 @@ EOF
3804 3791
3805 LIBS="$LIBS -lsec" 3792 LIBS="$LIBS -lsec"
3806 3793
3807echo "$as_me:3807: checking for t_error in -lxnet" >&5 3794echo "$as_me:3794: checking for t_error in -lxnet" >&5
3808echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 3795echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3809if test "${ac_cv_lib_xnet_t_error+set}" = set; then 3796if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6 3797 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3812,7 +3799,7 @@ else
3812 ac_check_lib_save_LIBS=$LIBS 3799 ac_check_lib_save_LIBS=$LIBS
3813LIBS="-lxnet $LIBS" 3800LIBS="-lxnet $LIBS"
3814cat >conftest.$ac_ext <<_ACEOF 3801cat >conftest.$ac_ext <<_ACEOF
3815#line 3815 "configure" 3802#line 3802 "configure"
3816#include "confdefs.h" 3803#include "confdefs.h"
3817 3804
3818/* Override any gcc2 internal prototype to avoid an error. */ 3805/* Override any gcc2 internal prototype to avoid an error. */
@@ -3831,16 +3818,16 @@ t_error ();
3831} 3818}
3832_ACEOF 3819_ACEOF
3833rm -f conftest.$ac_objext conftest$ac_exeext 3820rm -f conftest.$ac_objext conftest$ac_exeext
3834if { (eval echo "$as_me:3834: \"$ac_link\"") >&5 3821if { (eval echo "$as_me:3821: \"$ac_link\"") >&5
3835 (eval $ac_link) 2>&5 3822 (eval $ac_link) 2>&5
3836 ac_status=$? 3823 ac_status=$?
3837 echo "$as_me:3837: \$? = $ac_status" >&5 3824 echo "$as_me:3824: \$? = $ac_status" >&5
3838 (exit $ac_status); } && 3825 (exit $ac_status); } &&
3839 { ac_try='test -s conftest$ac_exeext' 3826 { ac_try='test -s conftest$ac_exeext'
3840 { (eval echo "$as_me:3840: \"$ac_try\"") >&5 3827 { (eval echo "$as_me:3827: \"$ac_try\"") >&5
3841 (eval $ac_try) 2>&5 3828 (eval $ac_try) 2>&5
3842 ac_status=$? 3829 ac_status=$?
3843 echo "$as_me:3843: \$? = $ac_status" >&5 3830 echo "$as_me:3830: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then 3831 (exit $ac_status); }; }; then
3845 ac_cv_lib_xnet_t_error=yes 3832 ac_cv_lib_xnet_t_error=yes
3846else 3833else
@@ -3851,7 +3838,7 @@ fi
3851rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3838rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3852LIBS=$ac_check_lib_save_LIBS 3839LIBS=$ac_check_lib_save_LIBS
3853fi 3840fi
3854echo "$as_me:3854: result: $ac_cv_lib_xnet_t_error" >&5 3841echo "$as_me:3841: result: $ac_cv_lib_xnet_t_error" >&5
3855echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 3842echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3856if test $ac_cv_lib_xnet_t_error = yes; then 3843if test $ac_cv_lib_xnet_t_error = yes; then
3857 cat >>confdefs.h <<EOF 3844 cat >>confdefs.h <<EOF
@@ -3861,7 +3848,7 @@ EOF
3861 LIBS="-lxnet $LIBS" 3848 LIBS="-lxnet $LIBS"
3862 3849
3863else 3850else
3864 { { echo "$as_me:3864: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 3851 { { echo "$as_me:3851: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3865echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 3852echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3866 { (exit 1); exit 1; }; } 3853 { (exit 1); exit 1; }; }
3867fi 3854fi
@@ -3900,13 +3887,13 @@ EOF
3900#define WITH_IRIX_AUDIT 1 3887#define WITH_IRIX_AUDIT 1
3901EOF 3888EOF
3902 3889
3903 echo "$as_me:3903: checking for jlimit_startjob" >&5 3890 echo "$as_me:3890: checking for jlimit_startjob" >&5
3904echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 3891echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6
3905if test "${ac_cv_func_jlimit_startjob+set}" = set; then 3892if test "${ac_cv_func_jlimit_startjob+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6 3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3907else 3894else
3908 cat >conftest.$ac_ext <<_ACEOF 3895 cat >conftest.$ac_ext <<_ACEOF
3909#line 3909 "configure" 3896#line 3896 "configure"
3910#include "confdefs.h" 3897#include "confdefs.h"
3911/* System header to define __stub macros and hopefully few prototypes, 3898/* System header to define __stub macros and hopefully few prototypes,
3912 which can conflict with char jlimit_startjob (); below. */ 3899 which can conflict with char jlimit_startjob (); below. */
@@ -3937,16 +3924,16 @@ f = jlimit_startjob;
3937} 3924}
3938_ACEOF 3925_ACEOF
3939rm -f conftest.$ac_objext conftest$ac_exeext 3926rm -f conftest.$ac_objext conftest$ac_exeext
3940if { (eval echo "$as_me:3940: \"$ac_link\"") >&5 3927if { (eval echo "$as_me:3927: \"$ac_link\"") >&5
3941 (eval $ac_link) 2>&5 3928 (eval $ac_link) 2>&5
3942 ac_status=$? 3929 ac_status=$?
3943 echo "$as_me:3943: \$? = $ac_status" >&5 3930 echo "$as_me:3930: \$? = $ac_status" >&5
3944 (exit $ac_status); } && 3931 (exit $ac_status); } &&
3945 { ac_try='test -s conftest$ac_exeext' 3932 { ac_try='test -s conftest$ac_exeext'
3946 { (eval echo "$as_me:3946: \"$ac_try\"") >&5 3933 { (eval echo "$as_me:3933: \"$ac_try\"") >&5
3947 (eval $ac_try) 2>&5 3934 (eval $ac_try) 2>&5
3948 ac_status=$? 3935 ac_status=$?
3949 echo "$as_me:3949: \$? = $ac_status" >&5 3936 echo "$as_me:3936: \$? = $ac_status" >&5
3950 (exit $ac_status); }; }; then 3937 (exit $ac_status); }; }; then
3951 ac_cv_func_jlimit_startjob=yes 3938 ac_cv_func_jlimit_startjob=yes
3952else 3939else
@@ -3956,7 +3943,7 @@ ac_cv_func_jlimit_startjob=no
3956fi 3943fi
3957rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3944rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3958fi 3945fi
3959echo "$as_me:3959: result: $ac_cv_func_jlimit_startjob" >&5 3946echo "$as_me:3946: result: $ac_cv_func_jlimit_startjob" >&5
3960echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 3947echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
3961if test $ac_cv_func_jlimit_startjob = yes; then 3948if test $ac_cv_func_jlimit_startjob = yes; then
3962 cat >>confdefs.h <<\EOF 3949 cat >>confdefs.h <<\EOF
@@ -3970,18 +3957,6 @@ fi
3970EOF 3957EOF
3971 3958
3972 cat >>confdefs.h <<\EOF 3959 cat >>confdefs.h <<\EOF
3973#define SETEUID_BREAKS_SETUID 1
3974EOF
3975
3976 cat >>confdefs.h <<\EOF
3977#define BROKEN_SETREUID 1
3978EOF
3979
3980 cat >>confdefs.h <<\EOF
3981#define BROKEN_SETREGID 1
3982EOF
3983
3984 cat >>confdefs.h <<\EOF
3985#define WITH_ABBREV_NO_TTY 1 3960#define WITH_ABBREV_NO_TTY 1
3986EOF 3961EOF
3987 3962
@@ -4034,20 +4009,6 @@ EOF
4034*-*-freebsd*) 4009*-*-freebsd*)
4035 check_for_libcrypt_later=1 4010 check_for_libcrypt_later=1
4036 ;; 4011 ;;
4037*-*-bsdi*)
4038 cat >>confdefs.h <<\EOF
4039#define SETEUID_BREAKS_SETUID 1
4040EOF
4041
4042 cat >>confdefs.h <<\EOF
4043#define BROKEN_SETREUID 1
4044EOF
4045
4046 cat >>confdefs.h <<\EOF
4047#define BROKEN_SETREGID 1
4048EOF
4049
4050 ;;
4051*-next-*) 4012*-next-*)
4052 conf_lastlog_location="/usr/adm/lastlog" 4013 conf_lastlog_location="/usr/adm/lastlog"
4053 conf_utmp_location=/etc/utmp 4014 conf_utmp_location=/etc/utmp
@@ -4104,11 +4065,11 @@ EOF
4104 external_path_file=/etc/default/login 4065 external_path_file=/etc/default/login
4105 # hardwire lastlog location (can't detect it on some versions) 4066 # hardwire lastlog location (can't detect it on some versions)
4106 conf_lastlog_location="/var/adm/lastlog" 4067 conf_lastlog_location="/var/adm/lastlog"
4107 echo "$as_me:4107: checking for obsolete utmp and wtmp in solaris2.x" >&5 4068 echo "$as_me:4068: checking for obsolete utmp and wtmp in solaris2.x" >&5
4108echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 4069echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6
4109 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` 4070 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
4110 if test "$sol2ver" -ge 8; then 4071 if test "$sol2ver" -ge 8; then
4111 echo "$as_me:4111: result: yes" >&5 4072 echo "$as_me:4072: result: yes" >&5
4112echo "${ECHO_T}yes" >&6 4073echo "${ECHO_T}yes" >&6
4113 cat >>confdefs.h <<\EOF 4074 cat >>confdefs.h <<\EOF
4114#define DISABLE_UTMP 1 4075#define DISABLE_UTMP 1
@@ -4119,7 +4080,7 @@ EOF
4119EOF 4080EOF
4120 4081
4121 else 4082 else
4122 echo "$as_me:4122: result: no" >&5 4083 echo "$as_me:4083: result: no" >&5
4123echo "${ECHO_T}no" >&6 4084echo "${ECHO_T}no" >&6
4124 fi 4085 fi
4125 ;; 4086 ;;
@@ -4129,13 +4090,13 @@ echo "${ECHO_T}no" >&6
4129for ac_func in getpwanam 4090for ac_func in getpwanam
4130do 4091do
4131as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4092as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4132echo "$as_me:4132: checking for $ac_func" >&5 4093echo "$as_me:4093: checking for $ac_func" >&5
4133echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4094echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4134if eval "test \"\${$as_ac_var+set}\" = set"; then 4095if eval "test \"\${$as_ac_var+set}\" = set"; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6 4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4136else 4097else
4137 cat >conftest.$ac_ext <<_ACEOF 4098 cat >conftest.$ac_ext <<_ACEOF
4138#line 4138 "configure" 4099#line 4099 "configure"
4139#include "confdefs.h" 4100#include "confdefs.h"
4140/* System header to define __stub macros and hopefully few prototypes, 4101/* System header to define __stub macros and hopefully few prototypes,
4141 which can conflict with char $ac_func (); below. */ 4102 which can conflict with char $ac_func (); below. */
@@ -4166,16 +4127,16 @@ f = $ac_func;
4166} 4127}
4167_ACEOF 4128_ACEOF
4168rm -f conftest.$ac_objext conftest$ac_exeext 4129rm -f conftest.$ac_objext conftest$ac_exeext
4169if { (eval echo "$as_me:4169: \"$ac_link\"") >&5 4130if { (eval echo "$as_me:4130: \"$ac_link\"") >&5
4170 (eval $ac_link) 2>&5 4131 (eval $ac_link) 2>&5
4171 ac_status=$? 4132 ac_status=$?
4172 echo "$as_me:4172: \$? = $ac_status" >&5 4133 echo "$as_me:4133: \$? = $ac_status" >&5
4173 (exit $ac_status); } && 4134 (exit $ac_status); } &&
4174 { ac_try='test -s conftest$ac_exeext' 4135 { ac_try='test -s conftest$ac_exeext'
4175 { (eval echo "$as_me:4175: \"$ac_try\"") >&5 4136 { (eval echo "$as_me:4136: \"$ac_try\"") >&5
4176 (eval $ac_try) 2>&5 4137 (eval $ac_try) 2>&5
4177 ac_status=$? 4138 ac_status=$?
4178 echo "$as_me:4178: \$? = $ac_status" >&5 4139 echo "$as_me:4139: \$? = $ac_status" >&5
4179 (exit $ac_status); }; }; then 4140 (exit $ac_status); }; }; then
4180 eval "$as_ac_var=yes" 4141 eval "$as_ac_var=yes"
4181else 4142else
@@ -4185,7 +4146,7 @@ eval "$as_ac_var=no"
4185fi 4146fi
4186rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4147rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4187fi 4148fi
4188echo "$as_me:4188: result: `eval echo '${'$as_ac_var'}'`" >&5 4149echo "$as_me:4149: result: `eval echo '${'$as_ac_var'}'`" >&5
4189echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4150echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4190if test `eval echo '${'$as_ac_var'}'` = yes; then 4151if test `eval echo '${'$as_ac_var'}'` = yes; then
4191 cat >>confdefs.h <<EOF 4152 cat >>confdefs.h <<EOF
@@ -4219,18 +4180,6 @@ EOF
4219#define SSHD_ACQUIRES_CTTY 1 4180#define SSHD_ACQUIRES_CTTY 1
4220EOF 4181EOF
4221 4182
4222 cat >>confdefs.h <<\EOF
4223#define SETEUID_BREAKS_SETUID 1
4224EOF
4225
4226 cat >>confdefs.h <<\EOF
4227#define BROKEN_SETREUID 1
4228EOF
4229
4230 cat >>confdefs.h <<\EOF
4231#define BROKEN_SETREGID 1
4232EOF
4233
4234 ;; 4183 ;;
4235*-sni-sysv*) 4184*-sni-sysv*)
4236 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4185 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
@@ -4331,13 +4280,13 @@ EOF
4331for ac_func in getluid setluid 4280for ac_func in getluid setluid
4332do 4281do
4333as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4282as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4334echo "$as_me:4334: checking for $ac_func" >&5 4283echo "$as_me:4283: checking for $ac_func" >&5
4335echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4284echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4336if eval "test \"\${$as_ac_var+set}\" = set"; then 4285if eval "test \"\${$as_ac_var+set}\" = set"; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6 4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4338else 4287else
4339 cat >conftest.$ac_ext <<_ACEOF 4288 cat >conftest.$ac_ext <<_ACEOF
4340#line 4340 "configure" 4289#line 4289 "configure"
4341#include "confdefs.h" 4290#include "confdefs.h"
4342/* System header to define __stub macros and hopefully few prototypes, 4291/* System header to define __stub macros and hopefully few prototypes,
4343 which can conflict with char $ac_func (); below. */ 4292 which can conflict with char $ac_func (); below. */
@@ -4368,16 +4317,16 @@ f = $ac_func;
4368} 4317}
4369_ACEOF 4318_ACEOF
4370rm -f conftest.$ac_objext conftest$ac_exeext 4319rm -f conftest.$ac_objext conftest$ac_exeext
4371if { (eval echo "$as_me:4371: \"$ac_link\"") >&5 4320if { (eval echo "$as_me:4320: \"$ac_link\"") >&5
4372 (eval $ac_link) 2>&5 4321 (eval $ac_link) 2>&5
4373 ac_status=$? 4322 ac_status=$?
4374 echo "$as_me:4374: \$? = $ac_status" >&5 4323 echo "$as_me:4323: \$? = $ac_status" >&5
4375 (exit $ac_status); } && 4324 (exit $ac_status); } &&
4376 { ac_try='test -s conftest$ac_exeext' 4325 { ac_try='test -s conftest$ac_exeext'
4377 { (eval echo "$as_me:4377: \"$ac_try\"") >&5 4326 { (eval echo "$as_me:4326: \"$ac_try\"") >&5
4378 (eval $ac_try) 2>&5 4327 (eval $ac_try) 2>&5
4379 ac_status=$? 4328 ac_status=$?
4380 echo "$as_me:4380: \$? = $ac_status" >&5 4329 echo "$as_me:4329: \$? = $ac_status" >&5
4381 (exit $ac_status); }; }; then 4330 (exit $ac_status); }; }; then
4382 eval "$as_ac_var=yes" 4331 eval "$as_ac_var=yes"
4383else 4332else
@@ -4387,7 +4336,7 @@ eval "$as_ac_var=no"
4387fi 4336fi
4388rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4337rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4389fi 4338fi
4390echo "$as_me:4390: result: `eval echo '${'$as_ac_var'}'`" >&5 4339echo "$as_me:4339: result: `eval echo '${'$as_ac_var'}'`" >&5
4391echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4340echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4392if test `eval echo '${'$as_ac_var'}'` = yes; then 4341if test `eval echo '${'$as_ac_var'}'` = yes; then
4393 cat >>confdefs.h <<EOF 4342 cat >>confdefs.h <<EOF
@@ -4443,13 +4392,13 @@ EOF
4443for ac_func in getluid setluid 4392for ac_func in getluid setluid
4444do 4393do
4445as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4394as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4446echo "$as_me:4446: checking for $ac_func" >&5 4395echo "$as_me:4395: checking for $ac_func" >&5
4447echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4396echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4448if eval "test \"\${$as_ac_var+set}\" = set"; then 4397if eval "test \"\${$as_ac_var+set}\" = set"; then
4449 echo $ECHO_N "(cached) $ECHO_C" >&6 4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4450else 4399else
4451 cat >conftest.$ac_ext <<_ACEOF 4400 cat >conftest.$ac_ext <<_ACEOF
4452#line 4452 "configure" 4401#line 4401 "configure"
4453#include "confdefs.h" 4402#include "confdefs.h"
4454/* System header to define __stub macros and hopefully few prototypes, 4403/* System header to define __stub macros and hopefully few prototypes,
4455 which can conflict with char $ac_func (); below. */ 4404 which can conflict with char $ac_func (); below. */
@@ -4480,16 +4429,16 @@ f = $ac_func;
4480} 4429}
4481_ACEOF 4430_ACEOF
4482rm -f conftest.$ac_objext conftest$ac_exeext 4431rm -f conftest.$ac_objext conftest$ac_exeext
4483if { (eval echo "$as_me:4483: \"$ac_link\"") >&5 4432if { (eval echo "$as_me:4432: \"$ac_link\"") >&5
4484 (eval $ac_link) 2>&5 4433 (eval $ac_link) 2>&5
4485 ac_status=$? 4434 ac_status=$?
4486 echo "$as_me:4486: \$? = $ac_status" >&5 4435 echo "$as_me:4435: \$? = $ac_status" >&5
4487 (exit $ac_status); } && 4436 (exit $ac_status); } &&
4488 { ac_try='test -s conftest$ac_exeext' 4437 { ac_try='test -s conftest$ac_exeext'
4489 { (eval echo "$as_me:4489: \"$ac_try\"") >&5 4438 { (eval echo "$as_me:4438: \"$ac_try\"") >&5
4490 (eval $ac_try) 2>&5 4439 (eval $ac_try) 2>&5
4491 ac_status=$? 4440 ac_status=$?
4492 echo "$as_me:4492: \$? = $ac_status" >&5 4441 echo "$as_me:4441: \$? = $ac_status" >&5
4493 (exit $ac_status); }; }; then 4442 (exit $ac_status); }; }; then
4494 eval "$as_ac_var=yes" 4443 eval "$as_ac_var=yes"
4495else 4444else
@@ -4499,7 +4448,7 @@ eval "$as_ac_var=no"
4499fi 4448fi
4500rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4449rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4501fi 4450fi
4502echo "$as_me:4502: result: `eval echo '${'$as_ac_var'}'`" >&5 4451echo "$as_me:4451: result: `eval echo '${'$as_ac_var'}'`" >&5
4503echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4452echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4504if test `eval echo '${'$as_ac_var'}'` = yes; then 4453if test `eval echo '${'$as_ac_var'}'` = yes; then
4505 cat >>confdefs.h <<EOF 4454 cat >>confdefs.h <<EOF
@@ -4559,7 +4508,7 @@ EOF
4559 MANTYPE=cat 4508 MANTYPE=cat
4560 ;; 4509 ;;
4561*-dec-osf*) 4510*-dec-osf*)
4562 echo "$as_me:4562: checking for Digital Unix SIA" >&5 4511 echo "$as_me:4511: checking for Digital Unix SIA" >&5
4563echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 4512echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6
4564 no_osfsia="" 4513 no_osfsia=""
4565 4514
@@ -4568,7 +4517,7 @@ if test "${with_osfsia+set}" = set; then
4568 withval="$with_osfsia" 4517 withval="$with_osfsia"
4569 4518
4570 if test "x$withval" = "xno" ; then 4519 if test "x$withval" = "xno" ; then
4571 echo "$as_me:4571: result: disabled" >&5 4520 echo "$as_me:4520: result: disabled" >&5
4572echo "${ECHO_T}disabled" >&6 4521echo "${ECHO_T}disabled" >&6
4573 no_osfsia=1 4522 no_osfsia=1
4574 fi 4523 fi
@@ -4576,7 +4525,7 @@ echo "${ECHO_T}disabled" >&6
4576fi; 4525fi;
4577 if test -z "$no_osfsia" ; then 4526 if test -z "$no_osfsia" ; then
4578 if test -f /etc/sia/matrix.conf; then 4527 if test -f /etc/sia/matrix.conf; then
4579 echo "$as_me:4579: result: yes" >&5 4528 echo "$as_me:4528: result: yes" >&5
4580echo "${ECHO_T}yes" >&6 4529echo "${ECHO_T}yes" >&6
4581 cat >>confdefs.h <<\EOF 4530 cat >>confdefs.h <<\EOF
4582#define HAVE_OSF_SIA 1 4531#define HAVE_OSF_SIA 1
@@ -4592,7 +4541,7 @@ EOF
4592 4541
4593 LIBS="$LIBS -lsecurity -ldb -lm -laud" 4542 LIBS="$LIBS -lsecurity -ldb -lm -laud"
4594 else 4543 else
4595 echo "$as_me:4595: result: no" >&5 4544 echo "$as_me:4544: result: no" >&5
4596echo "${ECHO_T}no" >&6 4545echo "${ECHO_T}no" >&6
4597 fi 4546 fi
4598 fi 4547 fi
@@ -4605,18 +4554,6 @@ EOF
4605EOF 4554EOF
4606 4555
4607 cat >>confdefs.h <<\EOF 4556 cat >>confdefs.h <<\EOF
4608#define SETEUID_BREAKS_SETUID 1
4609EOF
4610
4611 cat >>confdefs.h <<\EOF
4612#define BROKEN_SETREUID 1
4613EOF
4614
4615 cat >>confdefs.h <<\EOF
4616#define BROKEN_SETREGID 1
4617EOF
4618
4619 cat >>confdefs.h <<\EOF
4620#define LOCKED_PASSWD_SUBSTR "Nologin" 4557#define LOCKED_PASSWD_SUBSTR "Nologin"
4621EOF 4558EOF
4622 4559
@@ -4688,15 +4625,15 @@ if test "${with_libs+set}" = set; then
4688 4625
4689fi; 4626fi;
4690 4627
4691echo "$as_me:4691: checking compiler and flags for sanity" >&5 4628echo "$as_me:4628: checking compiler and flags for sanity" >&5
4692echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 4629echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6
4693if test "$cross_compiling" = yes; then 4630if test "$cross_compiling" = yes; then
4694 { { echo "$as_me:4694: error: cannot run test program while cross compiling" >&5 4631 { { echo "$as_me:4631: error: cannot run test program while cross compiling" >&5
4695echo "$as_me: error: cannot run test program while cross compiling" >&2;} 4632echo "$as_me: error: cannot run test program while cross compiling" >&2;}
4696 { (exit 1); exit 1; }; } 4633 { (exit 1); exit 1; }; }
4697else 4634else
4698 cat >conftest.$ac_ext <<_ACEOF 4635 cat >conftest.$ac_ext <<_ACEOF
4699#line 4699 "configure" 4636#line 4636 "configure"
4700#include "confdefs.h" 4637#include "confdefs.h"
4701 4638
4702#include <stdio.h> 4639#include <stdio.h>
@@ -4704,26 +4641,26 @@ int main(){exit(0);}
4704 4641
4705_ACEOF 4642_ACEOF
4706rm -f conftest$ac_exeext 4643rm -f conftest$ac_exeext
4707if { (eval echo "$as_me:4707: \"$ac_link\"") >&5 4644if { (eval echo "$as_me:4644: \"$ac_link\"") >&5
4708 (eval $ac_link) 2>&5 4645 (eval $ac_link) 2>&5
4709 ac_status=$? 4646 ac_status=$?
4710 echo "$as_me:4710: \$? = $ac_status" >&5 4647 echo "$as_me:4647: \$? = $ac_status" >&5
4711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4712 { (eval echo "$as_me:4712: \"$ac_try\"") >&5 4649 { (eval echo "$as_me:4649: \"$ac_try\"") >&5
4713 (eval $ac_try) 2>&5 4650 (eval $ac_try) 2>&5
4714 ac_status=$? 4651 ac_status=$?
4715 echo "$as_me:4715: \$? = $ac_status" >&5 4652 echo "$as_me:4652: \$? = $ac_status" >&5
4716 (exit $ac_status); }; }; then 4653 (exit $ac_status); }; }; then
4717 echo "$as_me:4717: result: yes" >&5 4654 echo "$as_me:4654: result: yes" >&5
4718echo "${ECHO_T}yes" >&6 4655echo "${ECHO_T}yes" >&6
4719else 4656else
4720 echo "$as_me: program exited with status $ac_status" >&5 4657 echo "$as_me: program exited with status $ac_status" >&5
4721echo "$as_me: failed program was:" >&5 4658echo "$as_me: failed program was:" >&5
4722cat conftest.$ac_ext >&5 4659cat conftest.$ac_ext >&5
4723 4660
4724 echo "$as_me:4724: result: no" >&5 4661 echo "$as_me:4661: result: no" >&5
4725echo "${ECHO_T}no" >&6 4662echo "${ECHO_T}no" >&6
4726 { { echo "$as_me:4726: error: *** compiler cannot create working executables, check config.log ***" >&5 4663 { { echo "$as_me:4663: error: *** compiler cannot create working executables, check config.log ***" >&5
4727echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} 4664echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;}
4728 { (exit 1); exit 1; }; } 4665 { (exit 1); exit 1; }; }
4729 4666
@@ -4742,26 +4679,26 @@ for ac_header in bstring.h crypt.h endian.h features.h floatingpoint.h \
4742 sys/cdefs.h sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ 4679 sys/cdefs.h sys/mman.h sys/pstat.h sys/select.h sys/stat.h \
4743 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ 4680 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \
4744 sys/un.h time.h tmpdir.h ttyent.h usersec.h \ 4681 sys/un.h time.h tmpdir.h ttyent.h usersec.h \
4745 util.h utime.h utmp.h utmpx.h vis.h 4682 util.h utime.h utmp.h utmpx.h
4746do 4683do
4747as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4684as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4748echo "$as_me:4748: checking for $ac_header" >&5 4685echo "$as_me:4685: checking for $ac_header" >&5
4749echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4686echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4750if eval "test \"\${$as_ac_Header+set}\" = set"; then 4687if eval "test \"\${$as_ac_Header+set}\" = set"; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6 4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4752else 4689else
4753 cat >conftest.$ac_ext <<_ACEOF 4690 cat >conftest.$ac_ext <<_ACEOF
4754#line 4754 "configure" 4691#line 4691 "configure"
4755#include "confdefs.h" 4692#include "confdefs.h"
4756#include <$ac_header> 4693#include <$ac_header>
4757_ACEOF 4694_ACEOF
4758if { (eval echo "$as_me:4758: \"$ac_cpp conftest.$ac_ext\"") >&5 4695if { (eval echo "$as_me:4695: \"$ac_cpp conftest.$ac_ext\"") >&5
4759 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4760 ac_status=$? 4697 ac_status=$?
4761 egrep -v '^ *\+' conftest.er1 >conftest.err 4698 egrep -v '^ *\+' conftest.er1 >conftest.err
4762 rm -f conftest.er1 4699 rm -f conftest.er1
4763 cat conftest.err >&5 4700 cat conftest.err >&5
4764 echo "$as_me:4764: \$? = $ac_status" >&5 4701 echo "$as_me:4701: \$? = $ac_status" >&5
4765 (exit $ac_status); } >/dev/null; then 4702 (exit $ac_status); } >/dev/null; then
4766 if test -s conftest.err; then 4703 if test -s conftest.err; then
4767 ac_cpp_err=$ac_c_preproc_warn_flag 4704 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -4780,7 +4717,7 @@ else
4780fi 4717fi
4781rm -f conftest.err conftest.$ac_ext 4718rm -f conftest.err conftest.$ac_ext
4782fi 4719fi
4783echo "$as_me:4783: result: `eval echo '${'$as_ac_Header'}'`" >&5 4720echo "$as_me:4720: result: `eval echo '${'$as_ac_Header'}'`" >&5
4784echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4721echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4785if test `eval echo '${'$as_ac_Header'}'` = yes; then 4722if test `eval echo '${'$as_ac_Header'}'` = yes; then
4786 cat >>confdefs.h <<EOF 4723 cat >>confdefs.h <<EOF
@@ -4791,13 +4728,13 @@ fi
4791done 4728done
4792 4729
4793# Checks for libraries. 4730# Checks for libraries.
4794echo "$as_me:4794: checking for yp_match" >&5 4731echo "$as_me:4731: checking for yp_match" >&5
4795echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 4732echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
4796if test "${ac_cv_func_yp_match+set}" = set; then 4733if test "${ac_cv_func_yp_match+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6 4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4798else 4735else
4799 cat >conftest.$ac_ext <<_ACEOF 4736 cat >conftest.$ac_ext <<_ACEOF
4800#line 4800 "configure" 4737#line 4737 "configure"
4801#include "confdefs.h" 4738#include "confdefs.h"
4802/* System header to define __stub macros and hopefully few prototypes, 4739/* System header to define __stub macros and hopefully few prototypes,
4803 which can conflict with char yp_match (); below. */ 4740 which can conflict with char yp_match (); below. */
@@ -4828,16 +4765,16 @@ f = yp_match;
4828} 4765}
4829_ACEOF 4766_ACEOF
4830rm -f conftest.$ac_objext conftest$ac_exeext 4767rm -f conftest.$ac_objext conftest$ac_exeext
4831if { (eval echo "$as_me:4831: \"$ac_link\"") >&5 4768if { (eval echo "$as_me:4768: \"$ac_link\"") >&5
4832 (eval $ac_link) 2>&5 4769 (eval $ac_link) 2>&5
4833 ac_status=$? 4770 ac_status=$?
4834 echo "$as_me:4834: \$? = $ac_status" >&5 4771 echo "$as_me:4771: \$? = $ac_status" >&5
4835 (exit $ac_status); } && 4772 (exit $ac_status); } &&
4836 { ac_try='test -s conftest$ac_exeext' 4773 { ac_try='test -s conftest$ac_exeext'
4837 { (eval echo "$as_me:4837: \"$ac_try\"") >&5 4774 { (eval echo "$as_me:4774: \"$ac_try\"") >&5
4838 (eval $ac_try) 2>&5 4775 (eval $ac_try) 2>&5
4839 ac_status=$? 4776 ac_status=$?
4840 echo "$as_me:4840: \$? = $ac_status" >&5 4777 echo "$as_me:4777: \$? = $ac_status" >&5
4841 (exit $ac_status); }; }; then 4778 (exit $ac_status); }; }; then
4842 ac_cv_func_yp_match=yes 4779 ac_cv_func_yp_match=yes
4843else 4780else
@@ -4847,13 +4784,13 @@ ac_cv_func_yp_match=no
4847fi 4784fi
4848rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4785rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4849fi 4786fi
4850echo "$as_me:4850: result: $ac_cv_func_yp_match" >&5 4787echo "$as_me:4787: result: $ac_cv_func_yp_match" >&5
4851echo "${ECHO_T}$ac_cv_func_yp_match" >&6 4788echo "${ECHO_T}$ac_cv_func_yp_match" >&6
4852if test $ac_cv_func_yp_match = yes; then 4789if test $ac_cv_func_yp_match = yes; then
4853 : 4790 :
4854else 4791else
4855 4792
4856echo "$as_me:4856: checking for yp_match in -lnsl" >&5 4793echo "$as_me:4793: checking for yp_match in -lnsl" >&5
4857echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 4794echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6
4858if test "${ac_cv_lib_nsl_yp_match+set}" = set; then 4795if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
4859 echo $ECHO_N "(cached) $ECHO_C" >&6 4796 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4861,7 +4798,7 @@ else
4861 ac_check_lib_save_LIBS=$LIBS 4798 ac_check_lib_save_LIBS=$LIBS
4862LIBS="-lnsl $LIBS" 4799LIBS="-lnsl $LIBS"
4863cat >conftest.$ac_ext <<_ACEOF 4800cat >conftest.$ac_ext <<_ACEOF
4864#line 4864 "configure" 4801#line 4801 "configure"
4865#include "confdefs.h" 4802#include "confdefs.h"
4866 4803
4867/* Override any gcc2 internal prototype to avoid an error. */ 4804/* Override any gcc2 internal prototype to avoid an error. */
@@ -4880,16 +4817,16 @@ yp_match ();
4880} 4817}
4881_ACEOF 4818_ACEOF
4882rm -f conftest.$ac_objext conftest$ac_exeext 4819rm -f conftest.$ac_objext conftest$ac_exeext
4883if { (eval echo "$as_me:4883: \"$ac_link\"") >&5 4820if { (eval echo "$as_me:4820: \"$ac_link\"") >&5
4884 (eval $ac_link) 2>&5 4821 (eval $ac_link) 2>&5
4885 ac_status=$? 4822 ac_status=$?
4886 echo "$as_me:4886: \$? = $ac_status" >&5 4823 echo "$as_me:4823: \$? = $ac_status" >&5
4887 (exit $ac_status); } && 4824 (exit $ac_status); } &&
4888 { ac_try='test -s conftest$ac_exeext' 4825 { ac_try='test -s conftest$ac_exeext'
4889 { (eval echo "$as_me:4889: \"$ac_try\"") >&5 4826 { (eval echo "$as_me:4826: \"$ac_try\"") >&5
4890 (eval $ac_try) 2>&5 4827 (eval $ac_try) 2>&5
4891 ac_status=$? 4828 ac_status=$?
4892 echo "$as_me:4892: \$? = $ac_status" >&5 4829 echo "$as_me:4829: \$? = $ac_status" >&5
4893 (exit $ac_status); }; }; then 4830 (exit $ac_status); }; }; then
4894 ac_cv_lib_nsl_yp_match=yes 4831 ac_cv_lib_nsl_yp_match=yes
4895else 4832else
@@ -4900,7 +4837,7 @@ fi
4900rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4837rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4901LIBS=$ac_check_lib_save_LIBS 4838LIBS=$ac_check_lib_save_LIBS
4902fi 4839fi
4903echo "$as_me:4903: result: $ac_cv_lib_nsl_yp_match" >&5 4840echo "$as_me:4840: result: $ac_cv_lib_nsl_yp_match" >&5
4904echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 4841echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6
4905if test $ac_cv_lib_nsl_yp_match = yes; then 4842if test $ac_cv_lib_nsl_yp_match = yes; then
4906 cat >>confdefs.h <<EOF 4843 cat >>confdefs.h <<EOF
@@ -4913,13 +4850,13 @@ fi
4913 4850
4914fi 4851fi
4915 4852
4916echo "$as_me:4916: checking for setsockopt" >&5 4853echo "$as_me:4853: checking for setsockopt" >&5
4917echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 4854echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
4918if test "${ac_cv_func_setsockopt+set}" = set; then 4855if test "${ac_cv_func_setsockopt+set}" = set; then
4919 echo $ECHO_N "(cached) $ECHO_C" >&6 4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4920else 4857else
4921 cat >conftest.$ac_ext <<_ACEOF 4858 cat >conftest.$ac_ext <<_ACEOF
4922#line 4922 "configure" 4859#line 4859 "configure"
4923#include "confdefs.h" 4860#include "confdefs.h"
4924/* System header to define __stub macros and hopefully few prototypes, 4861/* System header to define __stub macros and hopefully few prototypes,
4925 which can conflict with char setsockopt (); below. */ 4862 which can conflict with char setsockopt (); below. */
@@ -4950,16 +4887,16 @@ f = setsockopt;
4950} 4887}
4951_ACEOF 4888_ACEOF
4952rm -f conftest.$ac_objext conftest$ac_exeext 4889rm -f conftest.$ac_objext conftest$ac_exeext
4953if { (eval echo "$as_me:4953: \"$ac_link\"") >&5 4890if { (eval echo "$as_me:4890: \"$ac_link\"") >&5
4954 (eval $ac_link) 2>&5 4891 (eval $ac_link) 2>&5
4955 ac_status=$? 4892 ac_status=$?
4956 echo "$as_me:4956: \$? = $ac_status" >&5 4893 echo "$as_me:4893: \$? = $ac_status" >&5
4957 (exit $ac_status); } && 4894 (exit $ac_status); } &&
4958 { ac_try='test -s conftest$ac_exeext' 4895 { ac_try='test -s conftest$ac_exeext'
4959 { (eval echo "$as_me:4959: \"$ac_try\"") >&5 4896 { (eval echo "$as_me:4896: \"$ac_try\"") >&5
4960 (eval $ac_try) 2>&5 4897 (eval $ac_try) 2>&5
4961 ac_status=$? 4898 ac_status=$?
4962 echo "$as_me:4962: \$? = $ac_status" >&5 4899 echo "$as_me:4899: \$? = $ac_status" >&5
4963 (exit $ac_status); }; }; then 4900 (exit $ac_status); }; }; then
4964 ac_cv_func_setsockopt=yes 4901 ac_cv_func_setsockopt=yes
4965else 4902else
@@ -4969,13 +4906,13 @@ ac_cv_func_setsockopt=no
4969fi 4906fi
4970rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4907rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4971fi 4908fi
4972echo "$as_me:4972: result: $ac_cv_func_setsockopt" >&5 4909echo "$as_me:4909: result: $ac_cv_func_setsockopt" >&5
4973echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 4910echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
4974if test $ac_cv_func_setsockopt = yes; then 4911if test $ac_cv_func_setsockopt = yes; then
4975 : 4912 :
4976else 4913else
4977 4914
4978echo "$as_me:4978: checking for setsockopt in -lsocket" >&5 4915echo "$as_me:4915: checking for setsockopt in -lsocket" >&5
4979echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 4916echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
4980if test "${ac_cv_lib_socket_setsockopt+set}" = set; then 4917if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6 4918 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4983,7 +4920,7 @@ else
4983 ac_check_lib_save_LIBS=$LIBS 4920 ac_check_lib_save_LIBS=$LIBS
4984LIBS="-lsocket $LIBS" 4921LIBS="-lsocket $LIBS"
4985cat >conftest.$ac_ext <<_ACEOF 4922cat >conftest.$ac_ext <<_ACEOF
4986#line 4986 "configure" 4923#line 4923 "configure"
4987#include "confdefs.h" 4924#include "confdefs.h"
4988 4925
4989/* Override any gcc2 internal prototype to avoid an error. */ 4926/* Override any gcc2 internal prototype to avoid an error. */
@@ -5002,16 +4939,16 @@ setsockopt ();
5002} 4939}
5003_ACEOF 4940_ACEOF
5004rm -f conftest.$ac_objext conftest$ac_exeext 4941rm -f conftest.$ac_objext conftest$ac_exeext
5005if { (eval echo "$as_me:5005: \"$ac_link\"") >&5 4942if { (eval echo "$as_me:4942: \"$ac_link\"") >&5
5006 (eval $ac_link) 2>&5 4943 (eval $ac_link) 2>&5
5007 ac_status=$? 4944 ac_status=$?
5008 echo "$as_me:5008: \$? = $ac_status" >&5 4945 echo "$as_me:4945: \$? = $ac_status" >&5
5009 (exit $ac_status); } && 4946 (exit $ac_status); } &&
5010 { ac_try='test -s conftest$ac_exeext' 4947 { ac_try='test -s conftest$ac_exeext'
5011 { (eval echo "$as_me:5011: \"$ac_try\"") >&5 4948 { (eval echo "$as_me:4948: \"$ac_try\"") >&5
5012 (eval $ac_try) 2>&5 4949 (eval $ac_try) 2>&5
5013 ac_status=$? 4950 ac_status=$?
5014 echo "$as_me:5014: \$? = $ac_status" >&5 4951 echo "$as_me:4951: \$? = $ac_status" >&5
5015 (exit $ac_status); }; }; then 4952 (exit $ac_status); }; }; then
5016 ac_cv_lib_socket_setsockopt=yes 4953 ac_cv_lib_socket_setsockopt=yes
5017else 4954else
@@ -5022,7 +4959,7 @@ fi
5022rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4959rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5023LIBS=$ac_check_lib_save_LIBS 4960LIBS=$ac_check_lib_save_LIBS
5024fi 4961fi
5025echo "$as_me:5025: result: $ac_cv_lib_socket_setsockopt" >&5 4962echo "$as_me:4962: result: $ac_cv_lib_socket_setsockopt" >&5
5026echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 4963echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
5027if test $ac_cv_lib_socket_setsockopt = yes; then 4964if test $ac_cv_lib_socket_setsockopt = yes; then
5028 cat >>confdefs.h <<EOF 4965 cat >>confdefs.h <<EOF
@@ -5037,7 +4974,7 @@ fi
5037 4974
5038if test "x$with_tcp_wrappers" != "xno" ; then 4975if test "x$with_tcp_wrappers" != "xno" ; then
5039 if test "x$do_sco3_extra_lib_check" = "xyes" ; then 4976 if test "x$do_sco3_extra_lib_check" = "xyes" ; then
5040 echo "$as_me:5040: checking for innetgr in -lrpc" >&5 4977 echo "$as_me:4977: checking for innetgr in -lrpc" >&5
5041echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 4978echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6
5042if test "${ac_cv_lib_rpc_innetgr+set}" = set; then 4979if test "${ac_cv_lib_rpc_innetgr+set}" = set; then
5043 echo $ECHO_N "(cached) $ECHO_C" >&6 4980 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5045,7 +4982,7 @@ else
5045 ac_check_lib_save_LIBS=$LIBS 4982 ac_check_lib_save_LIBS=$LIBS
5046LIBS="-lrpc -lyp -lrpc $LIBS" 4983LIBS="-lrpc -lyp -lrpc $LIBS"
5047cat >conftest.$ac_ext <<_ACEOF 4984cat >conftest.$ac_ext <<_ACEOF
5048#line 5048 "configure" 4985#line 4985 "configure"
5049#include "confdefs.h" 4986#include "confdefs.h"
5050 4987
5051/* Override any gcc2 internal prototype to avoid an error. */ 4988/* Override any gcc2 internal prototype to avoid an error. */
@@ -5064,16 +5001,16 @@ innetgr ();
5064} 5001}
5065_ACEOF 5002_ACEOF
5066rm -f conftest.$ac_objext conftest$ac_exeext 5003rm -f conftest.$ac_objext conftest$ac_exeext
5067if { (eval echo "$as_me:5067: \"$ac_link\"") >&5 5004if { (eval echo "$as_me:5004: \"$ac_link\"") >&5
5068 (eval $ac_link) 2>&5 5005 (eval $ac_link) 2>&5
5069 ac_status=$? 5006 ac_status=$?
5070 echo "$as_me:5070: \$? = $ac_status" >&5 5007 echo "$as_me:5007: \$? = $ac_status" >&5
5071 (exit $ac_status); } && 5008 (exit $ac_status); } &&
5072 { ac_try='test -s conftest$ac_exeext' 5009 { ac_try='test -s conftest$ac_exeext'
5073 { (eval echo "$as_me:5073: \"$ac_try\"") >&5 5010 { (eval echo "$as_me:5010: \"$ac_try\"") >&5
5074 (eval $ac_try) 2>&5 5011 (eval $ac_try) 2>&5
5075 ac_status=$? 5012 ac_status=$?
5076 echo "$as_me:5076: \$? = $ac_status" >&5 5013 echo "$as_me:5013: \$? = $ac_status" >&5
5077 (exit $ac_status); }; }; then 5014 (exit $ac_status); }; }; then
5078 ac_cv_lib_rpc_innetgr=yes 5015 ac_cv_lib_rpc_innetgr=yes
5079else 5016else
@@ -5084,7 +5021,7 @@ fi
5084rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5021rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5085LIBS=$ac_check_lib_save_LIBS 5022LIBS=$ac_check_lib_save_LIBS
5086fi 5023fi
5087echo "$as_me:5087: result: $ac_cv_lib_rpc_innetgr" >&5 5024echo "$as_me:5024: result: $ac_cv_lib_rpc_innetgr" >&5
5088echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 5025echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6
5089if test $ac_cv_lib_rpc_innetgr = yes; then 5026if test $ac_cv_lib_rpc_innetgr = yes; then
5090 LIBS="-lrpc -lyp -lrpc $LIBS" 5027 LIBS="-lrpc -lyp -lrpc $LIBS"
@@ -5096,13 +5033,13 @@ fi
5096for ac_func in dirname 5033for ac_func in dirname
5097do 5034do
5098as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5035as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5099echo "$as_me:5099: checking for $ac_func" >&5 5036echo "$as_me:5036: checking for $ac_func" >&5
5100echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5037echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5101if eval "test \"\${$as_ac_var+set}\" = set"; then 5038if eval "test \"\${$as_ac_var+set}\" = set"; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6 5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5103else 5040else
5104 cat >conftest.$ac_ext <<_ACEOF 5041 cat >conftest.$ac_ext <<_ACEOF
5105#line 5105 "configure" 5042#line 5042 "configure"
5106#include "confdefs.h" 5043#include "confdefs.h"
5107/* System header to define __stub macros and hopefully few prototypes, 5044/* System header to define __stub macros and hopefully few prototypes,
5108 which can conflict with char $ac_func (); below. */ 5045 which can conflict with char $ac_func (); below. */
@@ -5133,16 +5070,16 @@ f = $ac_func;
5133} 5070}
5134_ACEOF 5071_ACEOF
5135rm -f conftest.$ac_objext conftest$ac_exeext 5072rm -f conftest.$ac_objext conftest$ac_exeext
5136if { (eval echo "$as_me:5136: \"$ac_link\"") >&5 5073if { (eval echo "$as_me:5073: \"$ac_link\"") >&5
5137 (eval $ac_link) 2>&5 5074 (eval $ac_link) 2>&5
5138 ac_status=$? 5075 ac_status=$?
5139 echo "$as_me:5139: \$? = $ac_status" >&5 5076 echo "$as_me:5076: \$? = $ac_status" >&5
5140 (exit $ac_status); } && 5077 (exit $ac_status); } &&
5141 { ac_try='test -s conftest$ac_exeext' 5078 { ac_try='test -s conftest$ac_exeext'
5142 { (eval echo "$as_me:5142: \"$ac_try\"") >&5 5079 { (eval echo "$as_me:5079: \"$ac_try\"") >&5
5143 (eval $ac_try) 2>&5 5080 (eval $ac_try) 2>&5
5144 ac_status=$? 5081 ac_status=$?
5145 echo "$as_me:5145: \$? = $ac_status" >&5 5082 echo "$as_me:5082: \$? = $ac_status" >&5
5146 (exit $ac_status); }; }; then 5083 (exit $ac_status); }; }; then
5147 eval "$as_ac_var=yes" 5084 eval "$as_ac_var=yes"
5148else 5085else
@@ -5152,7 +5089,7 @@ eval "$as_ac_var=no"
5152fi 5089fi
5153rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5090rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5154fi 5091fi
5155echo "$as_me:5155: result: `eval echo '${'$as_ac_var'}'`" >&5 5092echo "$as_me:5092: result: `eval echo '${'$as_ac_var'}'`" >&5
5156echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5093echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5157if test `eval echo '${'$as_ac_var'}'` = yes; then 5094if test `eval echo '${'$as_ac_var'}'` = yes; then
5158 cat >>confdefs.h <<EOF 5095 cat >>confdefs.h <<EOF
@@ -5162,23 +5099,23 @@ EOF
5162for ac_header in libgen.h 5099for ac_header in libgen.h
5163do 5100do
5164as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5101as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5165echo "$as_me:5165: checking for $ac_header" >&5 5102echo "$as_me:5102: checking for $ac_header" >&5
5166echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5103echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5167if eval "test \"\${$as_ac_Header+set}\" = set"; then 5104if eval "test \"\${$as_ac_Header+set}\" = set"; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6 5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5169else 5106else
5170 cat >conftest.$ac_ext <<_ACEOF 5107 cat >conftest.$ac_ext <<_ACEOF
5171#line 5171 "configure" 5108#line 5108 "configure"
5172#include "confdefs.h" 5109#include "confdefs.h"
5173#include <$ac_header> 5110#include <$ac_header>
5174_ACEOF 5111_ACEOF
5175if { (eval echo "$as_me:5175: \"$ac_cpp conftest.$ac_ext\"") >&5 5112if { (eval echo "$as_me:5112: \"$ac_cpp conftest.$ac_ext\"") >&5
5176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5177 ac_status=$? 5114 ac_status=$?
5178 egrep -v '^ *\+' conftest.er1 >conftest.err 5115 egrep -v '^ *\+' conftest.er1 >conftest.err
5179 rm -f conftest.er1 5116 rm -f conftest.er1
5180 cat conftest.err >&5 5117 cat conftest.err >&5
5181 echo "$as_me:5181: \$? = $ac_status" >&5 5118 echo "$as_me:5118: \$? = $ac_status" >&5
5182 (exit $ac_status); } >/dev/null; then 5119 (exit $ac_status); } >/dev/null; then
5183 if test -s conftest.err; then 5120 if test -s conftest.err; then
5184 ac_cpp_err=$ac_c_preproc_warn_flag 5121 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -5197,7 +5134,7 @@ else
5197fi 5134fi
5198rm -f conftest.err conftest.$ac_ext 5135rm -f conftest.err conftest.$ac_ext
5199fi 5136fi
5200echo "$as_me:5200: result: `eval echo '${'$as_ac_Header'}'`" >&5 5137echo "$as_me:5137: result: `eval echo '${'$as_ac_Header'}'`" >&5
5201echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5138echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5202if test `eval echo '${'$as_ac_Header'}'` = yes; then 5139if test `eval echo '${'$as_ac_Header'}'` = yes; then
5203 cat >>confdefs.h <<EOF 5140 cat >>confdefs.h <<EOF
@@ -5209,7 +5146,7 @@ done
5209 5146
5210else 5147else
5211 5148
5212 echo "$as_me:5212: checking for dirname in -lgen" >&5 5149 echo "$as_me:5149: checking for dirname in -lgen" >&5
5213echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 5150echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6
5214if test "${ac_cv_lib_gen_dirname+set}" = set; then 5151if test "${ac_cv_lib_gen_dirname+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6 5152 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5217,7 +5154,7 @@ else
5217 ac_check_lib_save_LIBS=$LIBS 5154 ac_check_lib_save_LIBS=$LIBS
5218LIBS="-lgen $LIBS" 5155LIBS="-lgen $LIBS"
5219cat >conftest.$ac_ext <<_ACEOF 5156cat >conftest.$ac_ext <<_ACEOF
5220#line 5220 "configure" 5157#line 5157 "configure"
5221#include "confdefs.h" 5158#include "confdefs.h"
5222 5159
5223/* Override any gcc2 internal prototype to avoid an error. */ 5160/* Override any gcc2 internal prototype to avoid an error. */
@@ -5236,16 +5173,16 @@ dirname ();
5236} 5173}
5237_ACEOF 5174_ACEOF
5238rm -f conftest.$ac_objext conftest$ac_exeext 5175rm -f conftest.$ac_objext conftest$ac_exeext
5239if { (eval echo "$as_me:5239: \"$ac_link\"") >&5 5176if { (eval echo "$as_me:5176: \"$ac_link\"") >&5
5240 (eval $ac_link) 2>&5 5177 (eval $ac_link) 2>&5
5241 ac_status=$? 5178 ac_status=$?
5242 echo "$as_me:5242: \$? = $ac_status" >&5 5179 echo "$as_me:5179: \$? = $ac_status" >&5
5243 (exit $ac_status); } && 5180 (exit $ac_status); } &&
5244 { ac_try='test -s conftest$ac_exeext' 5181 { ac_try='test -s conftest$ac_exeext'
5245 { (eval echo "$as_me:5245: \"$ac_try\"") >&5 5182 { (eval echo "$as_me:5182: \"$ac_try\"") >&5
5246 (eval $ac_try) 2>&5 5183 (eval $ac_try) 2>&5
5247 ac_status=$? 5184 ac_status=$?
5248 echo "$as_me:5248: \$? = $ac_status" >&5 5185 echo "$as_me:5185: \$? = $ac_status" >&5
5249 (exit $ac_status); }; }; then 5186 (exit $ac_status); }; }; then
5250 ac_cv_lib_gen_dirname=yes 5187 ac_cv_lib_gen_dirname=yes
5251else 5188else
@@ -5256,11 +5193,11 @@ fi
5256rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5193rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5257LIBS=$ac_check_lib_save_LIBS 5194LIBS=$ac_check_lib_save_LIBS
5258fi 5195fi
5259echo "$as_me:5259: result: $ac_cv_lib_gen_dirname" >&5 5196echo "$as_me:5196: result: $ac_cv_lib_gen_dirname" >&5
5260echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6 5197echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6
5261if test $ac_cv_lib_gen_dirname = yes; then 5198if test $ac_cv_lib_gen_dirname = yes; then
5262 5199
5263 echo "$as_me:5263: checking for broken dirname" >&5 5200 echo "$as_me:5200: checking for broken dirname" >&5
5264echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6 5201echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6
5265if test "${ac_cv_have_broken_dirname+set}" = set; then 5202if test "${ac_cv_have_broken_dirname+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6 5203 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5269,12 +5206,12 @@ else
5269 save_LIBS="$LIBS" 5206 save_LIBS="$LIBS"
5270 LIBS="$LIBS -lgen" 5207 LIBS="$LIBS -lgen"
5271 if test "$cross_compiling" = yes; then 5208 if test "$cross_compiling" = yes; then
5272 { { echo "$as_me:5272: error: cannot run test program while cross compiling" >&5 5209 { { echo "$as_me:5209: error: cannot run test program while cross compiling" >&5
5273echo "$as_me: error: cannot run test program while cross compiling" >&2;} 5210echo "$as_me: error: cannot run test program while cross compiling" >&2;}
5274 { (exit 1); exit 1; }; } 5211 { (exit 1); exit 1; }; }
5275else 5212else
5276 cat >conftest.$ac_ext <<_ACEOF 5213 cat >conftest.$ac_ext <<_ACEOF
5277#line 5277 "configure" 5214#line 5214 "configure"
5278#include "confdefs.h" 5215#include "confdefs.h"
5279 5216
5280#include <libgen.h> 5217#include <libgen.h>
@@ -5294,15 +5231,15 @@ int main(int argc, char **argv) {
5294 5231
5295_ACEOF 5232_ACEOF
5296rm -f conftest$ac_exeext 5233rm -f conftest$ac_exeext
5297if { (eval echo "$as_me:5297: \"$ac_link\"") >&5 5234if { (eval echo "$as_me:5234: \"$ac_link\"") >&5
5298 (eval $ac_link) 2>&5 5235 (eval $ac_link) 2>&5
5299 ac_status=$? 5236 ac_status=$?
5300 echo "$as_me:5300: \$? = $ac_status" >&5 5237 echo "$as_me:5237: \$? = $ac_status" >&5
5301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5302 { (eval echo "$as_me:5302: \"$ac_try\"") >&5 5239 { (eval echo "$as_me:5239: \"$ac_try\"") >&5
5303 (eval $ac_try) 2>&5 5240 (eval $ac_try) 2>&5
5304 ac_status=$? 5241 ac_status=$?
5305 echo "$as_me:5305: \$? = $ac_status" >&5 5242 echo "$as_me:5242: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then 5243 (exit $ac_status); }; }; then
5307 ac_cv_have_broken_dirname="no" 5244 ac_cv_have_broken_dirname="no"
5308else 5245else
@@ -5317,7 +5254,7 @@ fi
5317 LIBS="$save_LIBS" 5254 LIBS="$save_LIBS"
5318 5255
5319fi 5256fi
5320echo "$as_me:5320: result: $ac_cv_have_broken_dirname" >&5 5257echo "$as_me:5257: result: $ac_cv_have_broken_dirname" >&5
5321echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6 5258echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6
5322 if test "x$ac_cv_have_broken_dirname" = "xno" ; then 5259 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
5323 LIBS="$LIBS -lgen" 5260 LIBS="$LIBS -lgen"
@@ -5328,23 +5265,23 @@ EOF
5328for ac_header in libgen.h 5265for ac_header in libgen.h
5329do 5266do
5330as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5267as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5331echo "$as_me:5331: checking for $ac_header" >&5 5268echo "$as_me:5268: checking for $ac_header" >&5
5332echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5269echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5333if eval "test \"\${$as_ac_Header+set}\" = set"; then 5270if eval "test \"\${$as_ac_Header+set}\" = set"; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6 5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5335else 5272else
5336 cat >conftest.$ac_ext <<_ACEOF 5273 cat >conftest.$ac_ext <<_ACEOF
5337#line 5337 "configure" 5274#line 5274 "configure"
5338#include "confdefs.h" 5275#include "confdefs.h"
5339#include <$ac_header> 5276#include <$ac_header>
5340_ACEOF 5277_ACEOF
5341if { (eval echo "$as_me:5341: \"$ac_cpp conftest.$ac_ext\"") >&5 5278if { (eval echo "$as_me:5278: \"$ac_cpp conftest.$ac_ext\"") >&5
5342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5343 ac_status=$? 5280 ac_status=$?
5344 egrep -v '^ *\+' conftest.er1 >conftest.err 5281 egrep -v '^ *\+' conftest.er1 >conftest.err
5345 rm -f conftest.er1 5282 rm -f conftest.er1
5346 cat conftest.err >&5 5283 cat conftest.err >&5
5347 echo "$as_me:5347: \$? = $ac_status" >&5 5284 echo "$as_me:5284: \$? = $ac_status" >&5
5348 (exit $ac_status); } >/dev/null; then 5285 (exit $ac_status); } >/dev/null; then
5349 if test -s conftest.err; then 5286 if test -s conftest.err; then
5350 ac_cpp_err=$ac_c_preproc_warn_flag 5287 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -5363,7 +5300,7 @@ else
5363fi 5300fi
5364rm -f conftest.err conftest.$ac_ext 5301rm -f conftest.err conftest.$ac_ext
5365fi 5302fi
5366echo "$as_me:5366: result: `eval echo '${'$as_ac_Header'}'`" >&5 5303echo "$as_me:5303: result: `eval echo '${'$as_ac_Header'}'`" >&5
5367echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5304echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5368if test `eval echo '${'$as_ac_Header'}'` = yes; then 5305if test `eval echo '${'$as_ac_Header'}'` = yes; then
5369 cat >>confdefs.h <<EOF 5306 cat >>confdefs.h <<EOF
@@ -5380,13 +5317,13 @@ fi
5380fi 5317fi
5381done 5318done
5382 5319
5383echo "$as_me:5383: checking for getspnam" >&5 5320echo "$as_me:5320: checking for getspnam" >&5
5384echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 5321echo $ECHO_N "checking for getspnam... $ECHO_C" >&6
5385if test "${ac_cv_func_getspnam+set}" = set; then 5322if test "${ac_cv_func_getspnam+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6 5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5387else 5324else
5388 cat >conftest.$ac_ext <<_ACEOF 5325 cat >conftest.$ac_ext <<_ACEOF
5389#line 5389 "configure" 5326#line 5326 "configure"
5390#include "confdefs.h" 5327#include "confdefs.h"
5391/* System header to define __stub macros and hopefully few prototypes, 5328/* System header to define __stub macros and hopefully few prototypes,
5392 which can conflict with char getspnam (); below. */ 5329 which can conflict with char getspnam (); below. */
@@ -5417,16 +5354,16 @@ f = getspnam;
5417} 5354}
5418_ACEOF 5355_ACEOF
5419rm -f conftest.$ac_objext conftest$ac_exeext 5356rm -f conftest.$ac_objext conftest$ac_exeext
5420if { (eval echo "$as_me:5420: \"$ac_link\"") >&5 5357if { (eval echo "$as_me:5357: \"$ac_link\"") >&5
5421 (eval $ac_link) 2>&5 5358 (eval $ac_link) 2>&5
5422 ac_status=$? 5359 ac_status=$?
5423 echo "$as_me:5423: \$? = $ac_status" >&5 5360 echo "$as_me:5360: \$? = $ac_status" >&5
5424 (exit $ac_status); } && 5361 (exit $ac_status); } &&
5425 { ac_try='test -s conftest$ac_exeext' 5362 { ac_try='test -s conftest$ac_exeext'
5426 { (eval echo "$as_me:5426: \"$ac_try\"") >&5 5363 { (eval echo "$as_me:5363: \"$ac_try\"") >&5
5427 (eval $ac_try) 2>&5 5364 (eval $ac_try) 2>&5
5428 ac_status=$? 5365 ac_status=$?
5429 echo "$as_me:5429: \$? = $ac_status" >&5 5366 echo "$as_me:5366: \$? = $ac_status" >&5
5430 (exit $ac_status); }; }; then 5367 (exit $ac_status); }; }; then
5431 ac_cv_func_getspnam=yes 5368 ac_cv_func_getspnam=yes
5432else 5369else
@@ -5436,12 +5373,12 @@ ac_cv_func_getspnam=no
5436fi 5373fi
5437rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5374rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5438fi 5375fi
5439echo "$as_me:5439: result: $ac_cv_func_getspnam" >&5 5376echo "$as_me:5376: result: $ac_cv_func_getspnam" >&5
5440echo "${ECHO_T}$ac_cv_func_getspnam" >&6 5377echo "${ECHO_T}$ac_cv_func_getspnam" >&6
5441if test $ac_cv_func_getspnam = yes; then 5378if test $ac_cv_func_getspnam = yes; then
5442 : 5379 :
5443else 5380else
5444 echo "$as_me:5444: checking for getspnam in -lgen" >&5 5381 echo "$as_me:5381: checking for getspnam in -lgen" >&5
5445echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 5382echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
5446if test "${ac_cv_lib_gen_getspnam+set}" = set; then 5383if test "${ac_cv_lib_gen_getspnam+set}" = set; then
5447 echo $ECHO_N "(cached) $ECHO_C" >&6 5384 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5449,7 +5386,7 @@ else
5449 ac_check_lib_save_LIBS=$LIBS 5386 ac_check_lib_save_LIBS=$LIBS
5450LIBS="-lgen $LIBS" 5387LIBS="-lgen $LIBS"
5451cat >conftest.$ac_ext <<_ACEOF 5388cat >conftest.$ac_ext <<_ACEOF
5452#line 5452 "configure" 5389#line 5389 "configure"
5453#include "confdefs.h" 5390#include "confdefs.h"
5454 5391
5455/* Override any gcc2 internal prototype to avoid an error. */ 5392/* Override any gcc2 internal prototype to avoid an error. */
@@ -5468,16 +5405,16 @@ getspnam ();
5468} 5405}
5469_ACEOF 5406_ACEOF
5470rm -f conftest.$ac_objext conftest$ac_exeext 5407rm -f conftest.$ac_objext conftest$ac_exeext
5471if { (eval echo "$as_me:5471: \"$ac_link\"") >&5 5408if { (eval echo "$as_me:5408: \"$ac_link\"") >&5
5472 (eval $ac_link) 2>&5 5409 (eval $ac_link) 2>&5
5473 ac_status=$? 5410 ac_status=$?
5474 echo "$as_me:5474: \$? = $ac_status" >&5 5411 echo "$as_me:5411: \$? = $ac_status" >&5
5475 (exit $ac_status); } && 5412 (exit $ac_status); } &&
5476 { ac_try='test -s conftest$ac_exeext' 5413 { ac_try='test -s conftest$ac_exeext'
5477 { (eval echo "$as_me:5477: \"$ac_try\"") >&5 5414 { (eval echo "$as_me:5414: \"$ac_try\"") >&5
5478 (eval $ac_try) 2>&5 5415 (eval $ac_try) 2>&5
5479 ac_status=$? 5416 ac_status=$?
5480 echo "$as_me:5480: \$? = $ac_status" >&5 5417 echo "$as_me:5417: \$? = $ac_status" >&5
5481 (exit $ac_status); }; }; then 5418 (exit $ac_status); }; }; then
5482 ac_cv_lib_gen_getspnam=yes 5419 ac_cv_lib_gen_getspnam=yes
5483else 5420else
@@ -5488,7 +5425,7 @@ fi
5488rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5425rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5489LIBS=$ac_check_lib_save_LIBS 5426LIBS=$ac_check_lib_save_LIBS
5490fi 5427fi
5491echo "$as_me:5491: result: $ac_cv_lib_gen_getspnam" >&5 5428echo "$as_me:5428: result: $ac_cv_lib_gen_getspnam" >&5
5492echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 5429echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
5493if test $ac_cv_lib_gen_getspnam = yes; then 5430if test $ac_cv_lib_gen_getspnam = yes; then
5494 LIBS="$LIBS -lgen" 5431 LIBS="$LIBS -lgen"
@@ -5496,7 +5433,7 @@ fi
5496 5433
5497fi 5434fi
5498 5435
5499echo "$as_me:5499: checking for library containing basename" >&5 5436echo "$as_me:5436: checking for library containing basename" >&5
5500echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6 5437echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6
5501if test "${ac_cv_search_basename+set}" = set; then 5438if test "${ac_cv_search_basename+set}" = set; then
5502 echo $ECHO_N "(cached) $ECHO_C" >&6 5439 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5504,7 +5441,7 @@ else
5504 ac_func_search_save_LIBS=$LIBS 5441 ac_func_search_save_LIBS=$LIBS
5505ac_cv_search_basename=no 5442ac_cv_search_basename=no
5506cat >conftest.$ac_ext <<_ACEOF 5443cat >conftest.$ac_ext <<_ACEOF
5507#line 5507 "configure" 5444#line 5444 "configure"
5508#include "confdefs.h" 5445#include "confdefs.h"
5509 5446
5510/* Override any gcc2 internal prototype to avoid an error. */ 5447/* Override any gcc2 internal prototype to avoid an error. */
@@ -5523,16 +5460,16 @@ basename ();
5523} 5460}
5524_ACEOF 5461_ACEOF
5525rm -f conftest.$ac_objext conftest$ac_exeext 5462rm -f conftest.$ac_objext conftest$ac_exeext
5526if { (eval echo "$as_me:5526: \"$ac_link\"") >&5 5463if { (eval echo "$as_me:5463: \"$ac_link\"") >&5
5527 (eval $ac_link) 2>&5 5464 (eval $ac_link) 2>&5
5528 ac_status=$? 5465 ac_status=$?
5529 echo "$as_me:5529: \$? = $ac_status" >&5 5466 echo "$as_me:5466: \$? = $ac_status" >&5
5530 (exit $ac_status); } && 5467 (exit $ac_status); } &&
5531 { ac_try='test -s conftest$ac_exeext' 5468 { ac_try='test -s conftest$ac_exeext'
5532 { (eval echo "$as_me:5532: \"$ac_try\"") >&5 5469 { (eval echo "$as_me:5469: \"$ac_try\"") >&5
5533 (eval $ac_try) 2>&5 5470 (eval $ac_try) 2>&5
5534 ac_status=$? 5471 ac_status=$?
5535 echo "$as_me:5535: \$? = $ac_status" >&5 5472 echo "$as_me:5472: \$? = $ac_status" >&5
5536 (exit $ac_status); }; }; then 5473 (exit $ac_status); }; }; then
5537 ac_cv_search_basename="none required" 5474 ac_cv_search_basename="none required"
5538else 5475else
@@ -5544,7 +5481,7 @@ if test "$ac_cv_search_basename" = no; then
5544 for ac_lib in gen; do 5481 for ac_lib in gen; do
5545 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5482 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5546 cat >conftest.$ac_ext <<_ACEOF 5483 cat >conftest.$ac_ext <<_ACEOF
5547#line 5547 "configure" 5484#line 5484 "configure"
5548#include "confdefs.h" 5485#include "confdefs.h"
5549 5486
5550/* Override any gcc2 internal prototype to avoid an error. */ 5487/* Override any gcc2 internal prototype to avoid an error. */
@@ -5563,16 +5500,16 @@ basename ();
5563} 5500}
5564_ACEOF 5501_ACEOF
5565rm -f conftest.$ac_objext conftest$ac_exeext 5502rm -f conftest.$ac_objext conftest$ac_exeext
5566if { (eval echo "$as_me:5566: \"$ac_link\"") >&5 5503if { (eval echo "$as_me:5503: \"$ac_link\"") >&5
5567 (eval $ac_link) 2>&5 5504 (eval $ac_link) 2>&5
5568 ac_status=$? 5505 ac_status=$?
5569 echo "$as_me:5569: \$? = $ac_status" >&5 5506 echo "$as_me:5506: \$? = $ac_status" >&5
5570 (exit $ac_status); } && 5507 (exit $ac_status); } &&
5571 { ac_try='test -s conftest$ac_exeext' 5508 { ac_try='test -s conftest$ac_exeext'
5572 { (eval echo "$as_me:5572: \"$ac_try\"") >&5 5509 { (eval echo "$as_me:5509: \"$ac_try\"") >&5
5573 (eval $ac_try) 2>&5 5510 (eval $ac_try) 2>&5
5574 ac_status=$? 5511 ac_status=$?
5575 echo "$as_me:5575: \$? = $ac_status" >&5 5512 echo "$as_me:5512: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then 5513 (exit $ac_status); }; }; then
5577 ac_cv_search_basename="-l$ac_lib" 5514 ac_cv_search_basename="-l$ac_lib"
5578break 5515break
@@ -5585,7 +5522,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5585fi 5522fi
5586LIBS=$ac_func_search_save_LIBS 5523LIBS=$ac_func_search_save_LIBS
5587fi 5524fi
5588echo "$as_me:5588: result: $ac_cv_search_basename" >&5 5525echo "$as_me:5525: result: $ac_cv_search_basename" >&5
5589echo "${ECHO_T}$ac_cv_search_basename" >&6 5526echo "${ECHO_T}$ac_cv_search_basename" >&6
5590if test "$ac_cv_search_basename" != no; then 5527if test "$ac_cv_search_basename" != no; then
5591 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" 5528 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
@@ -5613,7 +5550,7 @@ if test "${with_zlib+set}" = set; then
5613 withval="$with_zlib" 5550 withval="$with_zlib"
5614 5551
5615 if test "x$withval" = "xno" ; then 5552 if test "x$withval" = "xno" ; then
5616 { { echo "$as_me:5616: error: *** zlib is required ***" >&5 5553 { { echo "$as_me:5553: error: *** zlib is required ***" >&5
5617echo "$as_me: error: *** zlib is required ***" >&2;} 5554echo "$as_me: error: *** zlib is required ***" >&2;}
5618 { (exit 1); exit 1; }; } 5555 { (exit 1); exit 1; }; }
5619 fi 5556 fi
@@ -5638,7 +5575,7 @@ echo "$as_me: error: *** zlib is required ***" >&2;}
5638 5575
5639fi; 5576fi;
5640 5577
5641echo "$as_me:5641: checking for deflate in -lz" >&5 5578echo "$as_me:5578: checking for deflate in -lz" >&5
5642echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 5579echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
5643if test "${ac_cv_lib_z_deflate+set}" = set; then 5580if test "${ac_cv_lib_z_deflate+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6 5581 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5646,7 +5583,7 @@ else
5646 ac_check_lib_save_LIBS=$LIBS 5583 ac_check_lib_save_LIBS=$LIBS
5647LIBS="-lz $LIBS" 5584LIBS="-lz $LIBS"
5648cat >conftest.$ac_ext <<_ACEOF 5585cat >conftest.$ac_ext <<_ACEOF
5649#line 5649 "configure" 5586#line 5586 "configure"
5650#include "confdefs.h" 5587#include "confdefs.h"
5651 5588
5652/* Override any gcc2 internal prototype to avoid an error. */ 5589/* Override any gcc2 internal prototype to avoid an error. */
@@ -5665,16 +5602,16 @@ deflate ();
5665} 5602}
5666_ACEOF 5603_ACEOF
5667rm -f conftest.$ac_objext conftest$ac_exeext 5604rm -f conftest.$ac_objext conftest$ac_exeext
5668if { (eval echo "$as_me:5668: \"$ac_link\"") >&5 5605if { (eval echo "$as_me:5605: \"$ac_link\"") >&5
5669 (eval $ac_link) 2>&5 5606 (eval $ac_link) 2>&5
5670 ac_status=$? 5607 ac_status=$?
5671 echo "$as_me:5671: \$? = $ac_status" >&5 5608 echo "$as_me:5608: \$? = $ac_status" >&5
5672 (exit $ac_status); } && 5609 (exit $ac_status); } &&
5673 { ac_try='test -s conftest$ac_exeext' 5610 { ac_try='test -s conftest$ac_exeext'
5674 { (eval echo "$as_me:5674: \"$ac_try\"") >&5 5611 { (eval echo "$as_me:5611: \"$ac_try\"") >&5
5675 (eval $ac_try) 2>&5 5612 (eval $ac_try) 2>&5
5676 ac_status=$? 5613 ac_status=$?
5677 echo "$as_me:5677: \$? = $ac_status" >&5 5614 echo "$as_me:5614: \$? = $ac_status" >&5
5678 (exit $ac_status); }; }; then 5615 (exit $ac_status); }; }; then
5679 ac_cv_lib_z_deflate=yes 5616 ac_cv_lib_z_deflate=yes
5680else 5617else
@@ -5685,7 +5622,7 @@ fi
5685rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5622rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5686LIBS=$ac_check_lib_save_LIBS 5623LIBS=$ac_check_lib_save_LIBS
5687fi 5624fi
5688echo "$as_me:5688: result: $ac_cv_lib_z_deflate" >&5 5625echo "$as_me:5625: result: $ac_cv_lib_z_deflate" >&5
5689echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 5626echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
5690if test $ac_cv_lib_z_deflate = yes; then 5627if test $ac_cv_lib_z_deflate = yes; then
5691 cat >>confdefs.h <<EOF 5628 cat >>confdefs.h <<EOF
@@ -5695,18 +5632,18 @@ EOF
5695 LIBS="-lz $LIBS" 5632 LIBS="-lz $LIBS"
5696 5633
5697else 5634else
5698 { { echo "$as_me:5698: error: *** zlib missing - please install first or check config.log ***" >&5 5635 { { echo "$as_me:5635: error: *** zlib missing - please install first or check config.log ***" >&5
5699echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} 5636echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
5700 { (exit 1); exit 1; }; } 5637 { (exit 1); exit 1; }; }
5701fi 5638fi
5702 5639
5703echo "$as_me:5703: checking for strcasecmp" >&5 5640echo "$as_me:5640: checking for strcasecmp" >&5
5704echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 5641echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
5705if test "${ac_cv_func_strcasecmp+set}" = set; then 5642if test "${ac_cv_func_strcasecmp+set}" = set; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6 5643 echo $ECHO_N "(cached) $ECHO_C" >&6
5707else 5644else
5708 cat >conftest.$ac_ext <<_ACEOF 5645 cat >conftest.$ac_ext <<_ACEOF
5709#line 5709 "configure" 5646#line 5646 "configure"
5710#include "confdefs.h" 5647#include "confdefs.h"
5711/* System header to define __stub macros and hopefully few prototypes, 5648/* System header to define __stub macros and hopefully few prototypes,
5712 which can conflict with char strcasecmp (); below. */ 5649 which can conflict with char strcasecmp (); below. */
@@ -5737,16 +5674,16 @@ f = strcasecmp;
5737} 5674}
5738_ACEOF 5675_ACEOF
5739rm -f conftest.$ac_objext conftest$ac_exeext 5676rm -f conftest.$ac_objext conftest$ac_exeext
5740if { (eval echo "$as_me:5740: \"$ac_link\"") >&5 5677if { (eval echo "$as_me:5677: \"$ac_link\"") >&5
5741 (eval $ac_link) 2>&5 5678 (eval $ac_link) 2>&5
5742 ac_status=$? 5679 ac_status=$?
5743 echo "$as_me:5743: \$? = $ac_status" >&5 5680 echo "$as_me:5680: \$? = $ac_status" >&5
5744 (exit $ac_status); } && 5681 (exit $ac_status); } &&
5745 { ac_try='test -s conftest$ac_exeext' 5682 { ac_try='test -s conftest$ac_exeext'
5746 { (eval echo "$as_me:5746: \"$ac_try\"") >&5 5683 { (eval echo "$as_me:5683: \"$ac_try\"") >&5
5747 (eval $ac_try) 2>&5 5684 (eval $ac_try) 2>&5
5748 ac_status=$? 5685 ac_status=$?
5749 echo "$as_me:5749: \$? = $ac_status" >&5 5686 echo "$as_me:5686: \$? = $ac_status" >&5
5750 (exit $ac_status); }; }; then 5687 (exit $ac_status); }; }; then
5751 ac_cv_func_strcasecmp=yes 5688 ac_cv_func_strcasecmp=yes
5752else 5689else
@@ -5756,12 +5693,12 @@ ac_cv_func_strcasecmp=no
5756fi 5693fi
5757rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5694rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5758fi 5695fi
5759echo "$as_me:5759: result: $ac_cv_func_strcasecmp" >&5 5696echo "$as_me:5696: result: $ac_cv_func_strcasecmp" >&5
5760echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 5697echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
5761if test $ac_cv_func_strcasecmp = yes; then 5698if test $ac_cv_func_strcasecmp = yes; then
5762 : 5699 :
5763else 5700else
5764 echo "$as_me:5764: checking for strcasecmp in -lresolv" >&5 5701 echo "$as_me:5701: checking for strcasecmp in -lresolv" >&5
5765echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 5702echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6
5766if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then 5703if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
5767 echo $ECHO_N "(cached) $ECHO_C" >&6 5704 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5769,7 +5706,7 @@ else
5769 ac_check_lib_save_LIBS=$LIBS 5706 ac_check_lib_save_LIBS=$LIBS
5770LIBS="-lresolv $LIBS" 5707LIBS="-lresolv $LIBS"
5771cat >conftest.$ac_ext <<_ACEOF 5708cat >conftest.$ac_ext <<_ACEOF
5772#line 5772 "configure" 5709#line 5709 "configure"
5773#include "confdefs.h" 5710#include "confdefs.h"
5774 5711
5775/* Override any gcc2 internal prototype to avoid an error. */ 5712/* Override any gcc2 internal prototype to avoid an error. */
@@ -5788,16 +5725,16 @@ strcasecmp ();
5788} 5725}
5789_ACEOF 5726_ACEOF
5790rm -f conftest.$ac_objext conftest$ac_exeext 5727rm -f conftest.$ac_objext conftest$ac_exeext
5791if { (eval echo "$as_me:5791: \"$ac_link\"") >&5 5728if { (eval echo "$as_me:5728: \"$ac_link\"") >&5
5792 (eval $ac_link) 2>&5 5729 (eval $ac_link) 2>&5
5793 ac_status=$? 5730 ac_status=$?
5794 echo "$as_me:5794: \$? = $ac_status" >&5 5731 echo "$as_me:5731: \$? = $ac_status" >&5
5795 (exit $ac_status); } && 5732 (exit $ac_status); } &&
5796 { ac_try='test -s conftest$ac_exeext' 5733 { ac_try='test -s conftest$ac_exeext'
5797 { (eval echo "$as_me:5797: \"$ac_try\"") >&5 5734 { (eval echo "$as_me:5734: \"$ac_try\"") >&5
5798 (eval $ac_try) 2>&5 5735 (eval $ac_try) 2>&5
5799 ac_status=$? 5736 ac_status=$?
5800 echo "$as_me:5800: \$? = $ac_status" >&5 5737 echo "$as_me:5737: \$? = $ac_status" >&5
5801 (exit $ac_status); }; }; then 5738 (exit $ac_status); }; }; then
5802 ac_cv_lib_resolv_strcasecmp=yes 5739 ac_cv_lib_resolv_strcasecmp=yes
5803else 5740else
@@ -5808,7 +5745,7 @@ fi
5808rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5745rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5809LIBS=$ac_check_lib_save_LIBS 5746LIBS=$ac_check_lib_save_LIBS
5810fi 5747fi
5811echo "$as_me:5811: result: $ac_cv_lib_resolv_strcasecmp" >&5 5748echo "$as_me:5748: result: $ac_cv_lib_resolv_strcasecmp" >&5
5812echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 5749echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6
5813if test $ac_cv_lib_resolv_strcasecmp = yes; then 5750if test $ac_cv_lib_resolv_strcasecmp = yes; then
5814 LIBS="$LIBS -lresolv" 5751 LIBS="$LIBS -lresolv"
@@ -5816,13 +5753,13 @@ fi
5816 5753
5817fi 5754fi
5818 5755
5819echo "$as_me:5819: checking for utimes" >&5 5756echo "$as_me:5756: checking for utimes" >&5
5820echo $ECHO_N "checking for utimes... $ECHO_C" >&6 5757echo $ECHO_N "checking for utimes... $ECHO_C" >&6
5821if test "${ac_cv_func_utimes+set}" = set; then 5758if test "${ac_cv_func_utimes+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6 5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5823else 5760else
5824 cat >conftest.$ac_ext <<_ACEOF 5761 cat >conftest.$ac_ext <<_ACEOF
5825#line 5825 "configure" 5762#line 5762 "configure"
5826#include "confdefs.h" 5763#include "confdefs.h"
5827/* System header to define __stub macros and hopefully few prototypes, 5764/* System header to define __stub macros and hopefully few prototypes,
5828 which can conflict with char utimes (); below. */ 5765 which can conflict with char utimes (); below. */
@@ -5853,16 +5790,16 @@ f = utimes;
5853} 5790}
5854_ACEOF 5791_ACEOF
5855rm -f conftest.$ac_objext conftest$ac_exeext 5792rm -f conftest.$ac_objext conftest$ac_exeext
5856if { (eval echo "$as_me:5856: \"$ac_link\"") >&5 5793if { (eval echo "$as_me:5793: \"$ac_link\"") >&5
5857 (eval $ac_link) 2>&5 5794 (eval $ac_link) 2>&5
5858 ac_status=$? 5795 ac_status=$?
5859 echo "$as_me:5859: \$? = $ac_status" >&5 5796 echo "$as_me:5796: \$? = $ac_status" >&5
5860 (exit $ac_status); } && 5797 (exit $ac_status); } &&
5861 { ac_try='test -s conftest$ac_exeext' 5798 { ac_try='test -s conftest$ac_exeext'
5862 { (eval echo "$as_me:5862: \"$ac_try\"") >&5 5799 { (eval echo "$as_me:5799: \"$ac_try\"") >&5
5863 (eval $ac_try) 2>&5 5800 (eval $ac_try) 2>&5
5864 ac_status=$? 5801 ac_status=$?
5865 echo "$as_me:5865: \$? = $ac_status" >&5 5802 echo "$as_me:5802: \$? = $ac_status" >&5
5866 (exit $ac_status); }; }; then 5803 (exit $ac_status); }; }; then
5867 ac_cv_func_utimes=yes 5804 ac_cv_func_utimes=yes
5868else 5805else
@@ -5872,12 +5809,12 @@ ac_cv_func_utimes=no
5872fi 5809fi
5873rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5810rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5874fi 5811fi
5875echo "$as_me:5875: result: $ac_cv_func_utimes" >&5 5812echo "$as_me:5812: result: $ac_cv_func_utimes" >&5
5876echo "${ECHO_T}$ac_cv_func_utimes" >&6 5813echo "${ECHO_T}$ac_cv_func_utimes" >&6
5877if test $ac_cv_func_utimes = yes; then 5814if test $ac_cv_func_utimes = yes; then
5878 : 5815 :
5879else 5816else
5880 echo "$as_me:5880: checking for utimes in -lc89" >&5 5817 echo "$as_me:5817: checking for utimes in -lc89" >&5
5881echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 5818echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
5882if test "${ac_cv_lib_c89_utimes+set}" = set; then 5819if test "${ac_cv_lib_c89_utimes+set}" = set; then
5883 echo $ECHO_N "(cached) $ECHO_C" >&6 5820 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5885,7 +5822,7 @@ else
5885 ac_check_lib_save_LIBS=$LIBS 5822 ac_check_lib_save_LIBS=$LIBS
5886LIBS="-lc89 $LIBS" 5823LIBS="-lc89 $LIBS"
5887cat >conftest.$ac_ext <<_ACEOF 5824cat >conftest.$ac_ext <<_ACEOF
5888#line 5888 "configure" 5825#line 5825 "configure"
5889#include "confdefs.h" 5826#include "confdefs.h"
5890 5827
5891/* Override any gcc2 internal prototype to avoid an error. */ 5828/* Override any gcc2 internal prototype to avoid an error. */
@@ -5904,16 +5841,16 @@ utimes ();
5904} 5841}
5905_ACEOF 5842_ACEOF
5906rm -f conftest.$ac_objext conftest$ac_exeext 5843rm -f conftest.$ac_objext conftest$ac_exeext
5907if { (eval echo "$as_me:5907: \"$ac_link\"") >&5 5844if { (eval echo "$as_me:5844: \"$ac_link\"") >&5
5908 (eval $ac_link) 2>&5 5845 (eval $ac_link) 2>&5
5909 ac_status=$? 5846 ac_status=$?
5910 echo "$as_me:5910: \$? = $ac_status" >&5 5847 echo "$as_me:5847: \$? = $ac_status" >&5
5911 (exit $ac_status); } && 5848 (exit $ac_status); } &&
5912 { ac_try='test -s conftest$ac_exeext' 5849 { ac_try='test -s conftest$ac_exeext'
5913 { (eval echo "$as_me:5913: \"$ac_try\"") >&5 5850 { (eval echo "$as_me:5850: \"$ac_try\"") >&5
5914 (eval $ac_try) 2>&5 5851 (eval $ac_try) 2>&5
5915 ac_status=$? 5852 ac_status=$?
5916 echo "$as_me:5916: \$? = $ac_status" >&5 5853 echo "$as_me:5853: \$? = $ac_status" >&5
5917 (exit $ac_status); }; }; then 5854 (exit $ac_status); }; }; then
5918 ac_cv_lib_c89_utimes=yes 5855 ac_cv_lib_c89_utimes=yes
5919else 5856else
@@ -5924,7 +5861,7 @@ fi
5924rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5861rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5925LIBS=$ac_check_lib_save_LIBS 5862LIBS=$ac_check_lib_save_LIBS
5926fi 5863fi
5927echo "$as_me:5927: result: $ac_cv_lib_c89_utimes" >&5 5864echo "$as_me:5864: result: $ac_cv_lib_c89_utimes" >&5
5928echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 5865echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6
5929if test $ac_cv_lib_c89_utimes = yes; then 5866if test $ac_cv_lib_c89_utimes = yes; then
5930 cat >>confdefs.h <<\EOF 5867 cat >>confdefs.h <<\EOF
@@ -5939,23 +5876,23 @@ fi
5939for ac_header in libutil.h 5876for ac_header in libutil.h
5940do 5877do
5941as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5878as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5942echo "$as_me:5942: checking for $ac_header" >&5 5879echo "$as_me:5879: checking for $ac_header" >&5
5943echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5880echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5944if eval "test \"\${$as_ac_Header+set}\" = set"; then 5881if eval "test \"\${$as_ac_Header+set}\" = set"; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6 5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5946else 5883else
5947 cat >conftest.$ac_ext <<_ACEOF 5884 cat >conftest.$ac_ext <<_ACEOF
5948#line 5948 "configure" 5885#line 5885 "configure"
5949#include "confdefs.h" 5886#include "confdefs.h"
5950#include <$ac_header> 5887#include <$ac_header>
5951_ACEOF 5888_ACEOF
5952if { (eval echo "$as_me:5952: \"$ac_cpp conftest.$ac_ext\"") >&5 5889if { (eval echo "$as_me:5889: \"$ac_cpp conftest.$ac_ext\"") >&5
5953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5954 ac_status=$? 5891 ac_status=$?
5955 egrep -v '^ *\+' conftest.er1 >conftest.err 5892 egrep -v '^ *\+' conftest.er1 >conftest.err
5956 rm -f conftest.er1 5893 rm -f conftest.er1
5957 cat conftest.err >&5 5894 cat conftest.err >&5
5958 echo "$as_me:5958: \$? = $ac_status" >&5 5895 echo "$as_me:5895: \$? = $ac_status" >&5
5959 (exit $ac_status); } >/dev/null; then 5896 (exit $ac_status); } >/dev/null; then
5960 if test -s conftest.err; then 5897 if test -s conftest.err; then
5961 ac_cpp_err=$ac_c_preproc_warn_flag 5898 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -5974,7 +5911,7 @@ else
5974fi 5911fi
5975rm -f conftest.err conftest.$ac_ext 5912rm -f conftest.err conftest.$ac_ext
5976fi 5913fi
5977echo "$as_me:5977: result: `eval echo '${'$as_ac_Header'}'`" >&5 5914echo "$as_me:5914: result: `eval echo '${'$as_ac_Header'}'`" >&5
5978echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5915echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5979if test `eval echo '${'$as_ac_Header'}'` = yes; then 5916if test `eval echo '${'$as_ac_Header'}'` = yes; then
5980 cat >>confdefs.h <<EOF 5917 cat >>confdefs.h <<EOF
@@ -5984,7 +5921,7 @@ EOF
5984fi 5921fi
5985done 5922done
5986 5923
5987echo "$as_me:5987: checking for library containing login" >&5 5924echo "$as_me:5924: checking for library containing login" >&5
5988echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 5925echo $ECHO_N "checking for library containing login... $ECHO_C" >&6
5989if test "${ac_cv_search_login+set}" = set; then 5926if test "${ac_cv_search_login+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6 5927 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5992,7 +5929,7 @@ else
5992 ac_func_search_save_LIBS=$LIBS 5929 ac_func_search_save_LIBS=$LIBS
5993ac_cv_search_login=no 5930ac_cv_search_login=no
5994cat >conftest.$ac_ext <<_ACEOF 5931cat >conftest.$ac_ext <<_ACEOF
5995#line 5995 "configure" 5932#line 5932 "configure"
5996#include "confdefs.h" 5933#include "confdefs.h"
5997 5934
5998/* Override any gcc2 internal prototype to avoid an error. */ 5935/* Override any gcc2 internal prototype to avoid an error. */
@@ -6011,16 +5948,16 @@ login ();
6011} 5948}
6012_ACEOF 5949_ACEOF
6013rm -f conftest.$ac_objext conftest$ac_exeext 5950rm -f conftest.$ac_objext conftest$ac_exeext
6014if { (eval echo "$as_me:6014: \"$ac_link\"") >&5 5951if { (eval echo "$as_me:5951: \"$ac_link\"") >&5
6015 (eval $ac_link) 2>&5 5952 (eval $ac_link) 2>&5
6016 ac_status=$? 5953 ac_status=$?
6017 echo "$as_me:6017: \$? = $ac_status" >&5 5954 echo "$as_me:5954: \$? = $ac_status" >&5
6018 (exit $ac_status); } && 5955 (exit $ac_status); } &&
6019 { ac_try='test -s conftest$ac_exeext' 5956 { ac_try='test -s conftest$ac_exeext'
6020 { (eval echo "$as_me:6020: \"$ac_try\"") >&5 5957 { (eval echo "$as_me:5957: \"$ac_try\"") >&5
6021 (eval $ac_try) 2>&5 5958 (eval $ac_try) 2>&5
6022 ac_status=$? 5959 ac_status=$?
6023 echo "$as_me:6023: \$? = $ac_status" >&5 5960 echo "$as_me:5960: \$? = $ac_status" >&5
6024 (exit $ac_status); }; }; then 5961 (exit $ac_status); }; }; then
6025 ac_cv_search_login="none required" 5962 ac_cv_search_login="none required"
6026else 5963else
@@ -6032,7 +5969,7 @@ if test "$ac_cv_search_login" = no; then
6032 for ac_lib in util bsd; do 5969 for ac_lib in util bsd; do
6033 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6034 cat >conftest.$ac_ext <<_ACEOF 5971 cat >conftest.$ac_ext <<_ACEOF
6035#line 6035 "configure" 5972#line 5972 "configure"
6036#include "confdefs.h" 5973#include "confdefs.h"
6037 5974
6038/* Override any gcc2 internal prototype to avoid an error. */ 5975/* Override any gcc2 internal prototype to avoid an error. */
@@ -6051,16 +5988,16 @@ login ();
6051} 5988}
6052_ACEOF 5989_ACEOF
6053rm -f conftest.$ac_objext conftest$ac_exeext 5990rm -f conftest.$ac_objext conftest$ac_exeext
6054if { (eval echo "$as_me:6054: \"$ac_link\"") >&5 5991if { (eval echo "$as_me:5991: \"$ac_link\"") >&5
6055 (eval $ac_link) 2>&5 5992 (eval $ac_link) 2>&5
6056 ac_status=$? 5993 ac_status=$?
6057 echo "$as_me:6057: \$? = $ac_status" >&5 5994 echo "$as_me:5994: \$? = $ac_status" >&5
6058 (exit $ac_status); } && 5995 (exit $ac_status); } &&
6059 { ac_try='test -s conftest$ac_exeext' 5996 { ac_try='test -s conftest$ac_exeext'
6060 { (eval echo "$as_me:6060: \"$ac_try\"") >&5 5997 { (eval echo "$as_me:5997: \"$ac_try\"") >&5
6061 (eval $ac_try) 2>&5 5998 (eval $ac_try) 2>&5
6062 ac_status=$? 5999 ac_status=$?
6063 echo "$as_me:6063: \$? = $ac_status" >&5 6000 echo "$as_me:6000: \$? = $ac_status" >&5
6064 (exit $ac_status); }; }; then 6001 (exit $ac_status); }; }; then
6065 ac_cv_search_login="-l$ac_lib" 6002 ac_cv_search_login="-l$ac_lib"
6066break 6003break
@@ -6073,7 +6010,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6073fi 6010fi
6074LIBS=$ac_func_search_save_LIBS 6011LIBS=$ac_func_search_save_LIBS
6075fi 6012fi
6076echo "$as_me:6076: result: $ac_cv_search_login" >&5 6013echo "$as_me:6013: result: $ac_cv_search_login" >&5
6077echo "${ECHO_T}$ac_cv_search_login" >&6 6014echo "${ECHO_T}$ac_cv_search_login" >&6
6078if test "$ac_cv_search_login" != no; then 6015if test "$ac_cv_search_login" != no; then
6079 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" 6016 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
@@ -6086,13 +6023,13 @@ fi
6086for ac_func in logout updwtmp logwtmp 6023for ac_func in logout updwtmp logwtmp
6087do 6024do
6088as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6025as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6089echo "$as_me:6089: checking for $ac_func" >&5 6026echo "$as_me:6026: checking for $ac_func" >&5
6090echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6027echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6091if eval "test \"\${$as_ac_var+set}\" = set"; then 6028if eval "test \"\${$as_ac_var+set}\" = set"; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6 6029 echo $ECHO_N "(cached) $ECHO_C" >&6
6093else 6030else
6094 cat >conftest.$ac_ext <<_ACEOF 6031 cat >conftest.$ac_ext <<_ACEOF
6095#line 6095 "configure" 6032#line 6032 "configure"
6096#include "confdefs.h" 6033#include "confdefs.h"
6097/* System header to define __stub macros and hopefully few prototypes, 6034/* System header to define __stub macros and hopefully few prototypes,
6098 which can conflict with char $ac_func (); below. */ 6035 which can conflict with char $ac_func (); below. */
@@ -6123,16 +6060,16 @@ f = $ac_func;
6123} 6060}
6124_ACEOF 6061_ACEOF
6125rm -f conftest.$ac_objext conftest$ac_exeext 6062rm -f conftest.$ac_objext conftest$ac_exeext
6126if { (eval echo "$as_me:6126: \"$ac_link\"") >&5 6063if { (eval echo "$as_me:6063: \"$ac_link\"") >&5
6127 (eval $ac_link) 2>&5 6064 (eval $ac_link) 2>&5
6128 ac_status=$? 6065 ac_status=$?
6129 echo "$as_me:6129: \$? = $ac_status" >&5 6066 echo "$as_me:6066: \$? = $ac_status" >&5
6130 (exit $ac_status); } && 6067 (exit $ac_status); } &&
6131 { ac_try='test -s conftest$ac_exeext' 6068 { ac_try='test -s conftest$ac_exeext'
6132 { (eval echo "$as_me:6132: \"$ac_try\"") >&5 6069 { (eval echo "$as_me:6069: \"$ac_try\"") >&5
6133 (eval $ac_try) 2>&5 6070 (eval $ac_try) 2>&5
6134 ac_status=$? 6071 ac_status=$?
6135 echo "$as_me:6135: \$? = $ac_status" >&5 6072 echo "$as_me:6072: \$? = $ac_status" >&5
6136 (exit $ac_status); }; }; then 6073 (exit $ac_status); }; }; then
6137 eval "$as_ac_var=yes" 6074 eval "$as_ac_var=yes"
6138else 6075else
@@ -6142,7 +6079,7 @@ eval "$as_ac_var=no"
6142fi 6079fi
6143rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6080rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6144fi 6081fi
6145echo "$as_me:6145: result: `eval echo '${'$as_ac_var'}'`" >&5 6082echo "$as_me:6082: result: `eval echo '${'$as_ac_var'}'`" >&5
6146echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6083echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6147if test `eval echo '${'$as_ac_var'}'` = yes; then 6084if test `eval echo '${'$as_ac_var'}'` = yes; then
6148 cat >>confdefs.h <<EOF 6085 cat >>confdefs.h <<EOF
@@ -6155,13 +6092,13 @@ done
6155for ac_func in strftime 6092for ac_func in strftime
6156do 6093do
6157as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6094as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6158echo "$as_me:6158: checking for $ac_func" >&5 6095echo "$as_me:6095: checking for $ac_func" >&5
6159echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6096echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6160if eval "test \"\${$as_ac_var+set}\" = set"; then 6097if eval "test \"\${$as_ac_var+set}\" = set"; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6 6098 echo $ECHO_N "(cached) $ECHO_C" >&6
6162else 6099else
6163 cat >conftest.$ac_ext <<_ACEOF 6100 cat >conftest.$ac_ext <<_ACEOF
6164#line 6164 "configure" 6101#line 6101 "configure"
6165#include "confdefs.h" 6102#include "confdefs.h"
6166/* System header to define __stub macros and hopefully few prototypes, 6103/* System header to define __stub macros and hopefully few prototypes,
6167 which can conflict with char $ac_func (); below. */ 6104 which can conflict with char $ac_func (); below. */
@@ -6192,16 +6129,16 @@ f = $ac_func;
6192} 6129}
6193_ACEOF 6130_ACEOF
6194rm -f conftest.$ac_objext conftest$ac_exeext 6131rm -f conftest.$ac_objext conftest$ac_exeext
6195if { (eval echo "$as_me:6195: \"$ac_link\"") >&5 6132if { (eval echo "$as_me:6132: \"$ac_link\"") >&5
6196 (eval $ac_link) 2>&5 6133 (eval $ac_link) 2>&5
6197 ac_status=$? 6134 ac_status=$?
6198 echo "$as_me:6198: \$? = $ac_status" >&5 6135 echo "$as_me:6135: \$? = $ac_status" >&5
6199 (exit $ac_status); } && 6136 (exit $ac_status); } &&
6200 { ac_try='test -s conftest$ac_exeext' 6137 { ac_try='test -s conftest$ac_exeext'
6201 { (eval echo "$as_me:6201: \"$ac_try\"") >&5 6138 { (eval echo "$as_me:6138: \"$ac_try\"") >&5
6202 (eval $ac_try) 2>&5 6139 (eval $ac_try) 2>&5
6203 ac_status=$? 6140 ac_status=$?
6204 echo "$as_me:6204: \$? = $ac_status" >&5 6141 echo "$as_me:6141: \$? = $ac_status" >&5
6205 (exit $ac_status); }; }; then 6142 (exit $ac_status); }; }; then
6206 eval "$as_ac_var=yes" 6143 eval "$as_ac_var=yes"
6207else 6144else
@@ -6211,7 +6148,7 @@ eval "$as_ac_var=no"
6211fi 6148fi
6212rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6149rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6213fi 6150fi
6214echo "$as_me:6214: result: `eval echo '${'$as_ac_var'}'`" >&5 6151echo "$as_me:6151: result: `eval echo '${'$as_ac_var'}'`" >&5
6215echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6152echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6216if test `eval echo '${'$as_ac_var'}'` = yes; then 6153if test `eval echo '${'$as_ac_var'}'` = yes; then
6217 cat >>confdefs.h <<EOF 6154 cat >>confdefs.h <<EOF
@@ -6220,7 +6157,7 @@ EOF
6220 6157
6221else 6158else
6222 # strftime is in -lintl on SCO UNIX. 6159 # strftime is in -lintl on SCO UNIX.
6223echo "$as_me:6223: checking for strftime in -lintl" >&5 6160echo "$as_me:6160: checking for strftime in -lintl" >&5
6224echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 6161echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
6225if test "${ac_cv_lib_intl_strftime+set}" = set; then 6162if test "${ac_cv_lib_intl_strftime+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6 6163 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6228,7 +6165,7 @@ else
6228 ac_check_lib_save_LIBS=$LIBS 6165 ac_check_lib_save_LIBS=$LIBS
6229LIBS="-lintl $LIBS" 6166LIBS="-lintl $LIBS"
6230cat >conftest.$ac_ext <<_ACEOF 6167cat >conftest.$ac_ext <<_ACEOF
6231#line 6231 "configure" 6168#line 6168 "configure"
6232#include "confdefs.h" 6169#include "confdefs.h"
6233 6170
6234/* Override any gcc2 internal prototype to avoid an error. */ 6171/* Override any gcc2 internal prototype to avoid an error. */
@@ -6247,16 +6184,16 @@ strftime ();
6247} 6184}
6248_ACEOF 6185_ACEOF
6249rm -f conftest.$ac_objext conftest$ac_exeext 6186rm -f conftest.$ac_objext conftest$ac_exeext
6250if { (eval echo "$as_me:6250: \"$ac_link\"") >&5 6187if { (eval echo "$as_me:6187: \"$ac_link\"") >&5
6251 (eval $ac_link) 2>&5 6188 (eval $ac_link) 2>&5
6252 ac_status=$? 6189 ac_status=$?
6253 echo "$as_me:6253: \$? = $ac_status" >&5 6190 echo "$as_me:6190: \$? = $ac_status" >&5
6254 (exit $ac_status); } && 6191 (exit $ac_status); } &&
6255 { ac_try='test -s conftest$ac_exeext' 6192 { ac_try='test -s conftest$ac_exeext'
6256 { (eval echo "$as_me:6256: \"$ac_try\"") >&5 6193 { (eval echo "$as_me:6193: \"$ac_try\"") >&5
6257 (eval $ac_try) 2>&5 6194 (eval $ac_try) 2>&5
6258 ac_status=$? 6195 ac_status=$?
6259 echo "$as_me:6259: \$? = $ac_status" >&5 6196 echo "$as_me:6196: \$? = $ac_status" >&5
6260 (exit $ac_status); }; }; then 6197 (exit $ac_status); }; }; then
6261 ac_cv_lib_intl_strftime=yes 6198 ac_cv_lib_intl_strftime=yes
6262else 6199else
@@ -6267,7 +6204,7 @@ fi
6267rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6204rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6268LIBS=$ac_check_lib_save_LIBS 6205LIBS=$ac_check_lib_save_LIBS
6269fi 6206fi
6270echo "$as_me:6270: result: $ac_cv_lib_intl_strftime" >&5 6207echo "$as_me:6207: result: $ac_cv_lib_intl_strftime" >&5
6271echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 6208echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
6272if test $ac_cv_lib_intl_strftime = yes; then 6209if test $ac_cv_lib_intl_strftime = yes; then
6273 cat >>confdefs.h <<\EOF 6210 cat >>confdefs.h <<\EOF
@@ -6281,10 +6218,10 @@ fi
6281done 6218done
6282 6219
6283# Check for ALTDIRFUNC glob() extension 6220# Check for ALTDIRFUNC glob() extension
6284echo "$as_me:6284: checking for GLOB_ALTDIRFUNC support" >&5 6221echo "$as_me:6221: checking for GLOB_ALTDIRFUNC support" >&5
6285echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 6222echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6
6286cat >conftest.$ac_ext <<_ACEOF 6223cat >conftest.$ac_ext <<_ACEOF
6287#line 6287 "configure" 6224#line 6224 "configure"
6288#include "confdefs.h" 6225#include "confdefs.h"
6289 6226
6290 #include <glob.h> 6227 #include <glob.h>
@@ -6300,22 +6237,22 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6300#define GLOB_HAS_ALTDIRFUNC 1 6237#define GLOB_HAS_ALTDIRFUNC 1
6301EOF 6238EOF
6302 6239
6303 echo "$as_me:6303: result: yes" >&5 6240 echo "$as_me:6240: result: yes" >&5
6304echo "${ECHO_T}yes" >&6 6241echo "${ECHO_T}yes" >&6
6305 6242
6306else 6243else
6307 6244
6308 echo "$as_me:6308: result: no" >&5 6245 echo "$as_me:6245: result: no" >&5
6309echo "${ECHO_T}no" >&6 6246echo "${ECHO_T}no" >&6
6310 6247
6311fi 6248fi
6312rm -f conftest* 6249rm -f conftest*
6313 6250
6314# Check for g.gl_matchc glob() extension 6251# Check for g.gl_matchc glob() extension
6315echo "$as_me:6315: checking for gl_matchc field in glob_t" >&5 6252echo "$as_me:6252: checking for gl_matchc field in glob_t" >&5
6316echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 6253echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6
6317cat >conftest.$ac_ext <<_ACEOF 6254cat >conftest.$ac_ext <<_ACEOF
6318#line 6318 "configure" 6255#line 6255 "configure"
6319#include "confdefs.h" 6256#include "confdefs.h"
6320 6257
6321 #include <glob.h> 6258 #include <glob.h>
@@ -6329,26 +6266,26 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6329#define GLOB_HAS_GL_MATCHC 1 6266#define GLOB_HAS_GL_MATCHC 1
6330EOF 6267EOF
6331 6268
6332 echo "$as_me:6332: result: yes" >&5 6269 echo "$as_me:6269: result: yes" >&5
6333echo "${ECHO_T}yes" >&6 6270echo "${ECHO_T}yes" >&6
6334 6271
6335else 6272else
6336 6273
6337 echo "$as_me:6337: result: no" >&5 6274 echo "$as_me:6274: result: no" >&5
6338echo "${ECHO_T}no" >&6 6275echo "${ECHO_T}no" >&6
6339 6276
6340fi 6277fi
6341rm -f conftest* 6278rm -f conftest*
6342 6279
6343echo "$as_me:6343: checking whether struct dirent allocates space for d_name" >&5 6280echo "$as_me:6280: checking whether struct dirent allocates space for d_name" >&5
6344echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 6281echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6
6345if test "$cross_compiling" = yes; then 6282if test "$cross_compiling" = yes; then
6346 { { echo "$as_me:6346: error: cannot run test program while cross compiling" >&5 6283 { { echo "$as_me:6283: error: cannot run test program while cross compiling" >&5
6347echo "$as_me: error: cannot run test program while cross compiling" >&2;} 6284echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6348 { (exit 1); exit 1; }; } 6285 { (exit 1); exit 1; }; }
6349else 6286else
6350 cat >conftest.$ac_ext <<_ACEOF 6287 cat >conftest.$ac_ext <<_ACEOF
6351#line 6351 "configure" 6288#line 6288 "configure"
6352#include "confdefs.h" 6289#include "confdefs.h"
6353 6290
6354#include <sys/types.h> 6291#include <sys/types.h>
@@ -6357,24 +6294,24 @@ int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
6357 6294
6358_ACEOF 6295_ACEOF
6359rm -f conftest$ac_exeext 6296rm -f conftest$ac_exeext
6360if { (eval echo "$as_me:6360: \"$ac_link\"") >&5 6297if { (eval echo "$as_me:6297: \"$ac_link\"") >&5
6361 (eval $ac_link) 2>&5 6298 (eval $ac_link) 2>&5
6362 ac_status=$? 6299 ac_status=$?
6363 echo "$as_me:6363: \$? = $ac_status" >&5 6300 echo "$as_me:6300: \$? = $ac_status" >&5
6364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6365 { (eval echo "$as_me:6365: \"$ac_try\"") >&5 6302 { (eval echo "$as_me:6302: \"$ac_try\"") >&5
6366 (eval $ac_try) 2>&5 6303 (eval $ac_try) 2>&5
6367 ac_status=$? 6304 ac_status=$?
6368 echo "$as_me:6368: \$? = $ac_status" >&5 6305 echo "$as_me:6305: \$? = $ac_status" >&5
6369 (exit $ac_status); }; }; then 6306 (exit $ac_status); }; }; then
6370 echo "$as_me:6370: result: yes" >&5 6307 echo "$as_me:6307: result: yes" >&5
6371echo "${ECHO_T}yes" >&6 6308echo "${ECHO_T}yes" >&6
6372else 6309else
6373 echo "$as_me: program exited with status $ac_status" >&5 6310 echo "$as_me: program exited with status $ac_status" >&5
6374echo "$as_me: failed program was:" >&5 6311echo "$as_me: failed program was:" >&5
6375cat conftest.$ac_ext >&5 6312cat conftest.$ac_ext >&5
6376 6313
6377 echo "$as_me:6377: result: no" >&5 6314 echo "$as_me:6314: result: no" >&5
6378echo "${ECHO_T}no" >&6 6315echo "${ECHO_T}no" >&6
6379 cat >>confdefs.h <<\EOF 6316 cat >>confdefs.h <<\EOF
6380#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 6317#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
@@ -6405,15 +6342,15 @@ EOF
6405 LIBS="-lskey $LIBS" 6342 LIBS="-lskey $LIBS"
6406 SKEY_MSG="yes" 6343 SKEY_MSG="yes"
6407 6344
6408 echo "$as_me:6408: checking for s/key support" >&5 6345 echo "$as_me:6345: checking for s/key support" >&5
6409echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 6346echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
6410 if test "$cross_compiling" = yes; then 6347 if test "$cross_compiling" = yes; then
6411 { { echo "$as_me:6411: error: cannot run test program while cross compiling" >&5 6348 { { echo "$as_me:6348: error: cannot run test program while cross compiling" >&5
6412echo "$as_me: error: cannot run test program while cross compiling" >&2;} 6349echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6413 { (exit 1); exit 1; }; } 6350 { (exit 1); exit 1; }; }
6414else 6351else
6415 cat >conftest.$ac_ext <<_ACEOF 6352 cat >conftest.$ac_ext <<_ACEOF
6416#line 6416 "configure" 6353#line 6353 "configure"
6417#include "confdefs.h" 6354#include "confdefs.h"
6418 6355
6419#include <stdio.h> 6356#include <stdio.h>
@@ -6422,26 +6359,26 @@ int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
6422 6359
6423_ACEOF 6360_ACEOF
6424rm -f conftest$ac_exeext 6361rm -f conftest$ac_exeext
6425if { (eval echo "$as_me:6425: \"$ac_link\"") >&5 6362if { (eval echo "$as_me:6362: \"$ac_link\"") >&5
6426 (eval $ac_link) 2>&5 6363 (eval $ac_link) 2>&5
6427 ac_status=$? 6364 ac_status=$?
6428 echo "$as_me:6428: \$? = $ac_status" >&5 6365 echo "$as_me:6365: \$? = $ac_status" >&5
6429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6430 { (eval echo "$as_me:6430: \"$ac_try\"") >&5 6367 { (eval echo "$as_me:6367: \"$ac_try\"") >&5
6431 (eval $ac_try) 2>&5 6368 (eval $ac_try) 2>&5
6432 ac_status=$? 6369 ac_status=$?
6433 echo "$as_me:6433: \$? = $ac_status" >&5 6370 echo "$as_me:6370: \$? = $ac_status" >&5
6434 (exit $ac_status); }; }; then 6371 (exit $ac_status); }; }; then
6435 echo "$as_me:6435: result: yes" >&5 6372 echo "$as_me:6372: result: yes" >&5
6436echo "${ECHO_T}yes" >&6 6373echo "${ECHO_T}yes" >&6
6437else 6374else
6438 echo "$as_me: program exited with status $ac_status" >&5 6375 echo "$as_me: program exited with status $ac_status" >&5
6439echo "$as_me: failed program was:" >&5 6376echo "$as_me: failed program was:" >&5
6440cat conftest.$ac_ext >&5 6377cat conftest.$ac_ext >&5
6441 6378
6442 echo "$as_me:6442: result: no" >&5 6379 echo "$as_me:6379: result: no" >&5
6443echo "${ECHO_T}no" >&6 6380echo "${ECHO_T}no" >&6
6444 { { echo "$as_me:6444: error: ** Incomplete or missing s/key libraries." >&5 6381 { { echo "$as_me:6381: error: ** Incomplete or missing s/key libraries." >&5
6445echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} 6382echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
6446 { (exit 1); exit 1; }; } 6383 { (exit 1); exit 1; }; }
6447 6384
@@ -6485,10 +6422,10 @@ if test "${with_tcp_wrappers+set}" = set; then
6485 fi 6422 fi
6486 LIBWRAP="-lwrap" 6423 LIBWRAP="-lwrap"
6487 LIBS="$LIBWRAP $LIBS" 6424 LIBS="$LIBWRAP $LIBS"
6488 echo "$as_me:6488: checking for libwrap" >&5 6425 echo "$as_me:6425: checking for libwrap" >&5
6489echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 6426echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
6490 cat >conftest.$ac_ext <<_ACEOF 6427 cat >conftest.$ac_ext <<_ACEOF
6491#line 6491 "configure" 6428#line 6428 "configure"
6492#include "confdefs.h" 6429#include "confdefs.h"
6493 6430
6494#include <tcpd.h> 6431#include <tcpd.h>
@@ -6503,19 +6440,19 @@ hosts_access(0);
6503} 6440}
6504_ACEOF 6441_ACEOF
6505rm -f conftest.$ac_objext conftest$ac_exeext 6442rm -f conftest.$ac_objext conftest$ac_exeext
6506if { (eval echo "$as_me:6506: \"$ac_link\"") >&5 6443if { (eval echo "$as_me:6443: \"$ac_link\"") >&5
6507 (eval $ac_link) 2>&5 6444 (eval $ac_link) 2>&5
6508 ac_status=$? 6445 ac_status=$?
6509 echo "$as_me:6509: \$? = $ac_status" >&5 6446 echo "$as_me:6446: \$? = $ac_status" >&5
6510 (exit $ac_status); } && 6447 (exit $ac_status); } &&
6511 { ac_try='test -s conftest$ac_exeext' 6448 { ac_try='test -s conftest$ac_exeext'
6512 { (eval echo "$as_me:6512: \"$ac_try\"") >&5 6449 { (eval echo "$as_me:6449: \"$ac_try\"") >&5
6513 (eval $ac_try) 2>&5 6450 (eval $ac_try) 2>&5
6514 ac_status=$? 6451 ac_status=$?
6515 echo "$as_me:6515: \$? = $ac_status" >&5 6452 echo "$as_me:6452: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then 6453 (exit $ac_status); }; }; then
6517 6454
6518 echo "$as_me:6518: result: yes" >&5 6455 echo "$as_me:6455: result: yes" >&5
6519echo "${ECHO_T}yes" >&6 6456echo "${ECHO_T}yes" >&6
6520 cat >>confdefs.h <<\EOF 6457 cat >>confdefs.h <<\EOF
6521#define LIBWRAP 1 6458#define LIBWRAP 1
@@ -6527,7 +6464,7 @@ else
6527 echo "$as_me: failed program was:" >&5 6464 echo "$as_me: failed program was:" >&5
6528cat conftest.$ac_ext >&5 6465cat conftest.$ac_ext >&5
6529 6466
6530 { { echo "$as_me:6530: error: *** libwrap missing" >&5 6467 { { echo "$as_me:6467: error: *** libwrap missing" >&5
6531echo "$as_me: error: *** libwrap missing" >&2;} 6468echo "$as_me: error: *** libwrap missing" >&2;}
6532 { (exit 1); exit 1; }; } 6469 { (exit 1); exit 1; }; }
6533 6470
@@ -6541,7 +6478,7 @@ fi;
6541for ac_func in \ 6478for ac_func in \
6542 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \ 6479 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \
6543 bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ 6480 bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
6544 getaddrinfo getcwd getgrouplist getnameinfo getopt \ 6481 gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
6545 getpeereid _getpty getrlimit getttyent glob inet_aton \ 6482 getpeereid _getpty getrlimit getttyent glob inet_aton \
6546 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ 6483 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
6547 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ 6484 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \
@@ -6554,84 +6491,13 @@ for ac_func in \
6554 6491
6555do 6492do
6556as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6493as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6557echo "$as_me:6557: checking for $ac_func" >&5 6494echo "$as_me:6494: checking for $ac_func" >&5
6558echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6559if eval "test \"\${$as_ac_var+set}\" = set"; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6561else
6562 cat >conftest.$ac_ext <<_ACEOF
6563#line 6563 "configure"
6564#include "confdefs.h"
6565/* System header to define __stub macros and hopefully few prototypes,
6566 which can conflict with char $ac_func (); below. */
6567#include <assert.h>
6568/* Override any gcc2 internal prototype to avoid an error. */
6569#ifdef __cplusplus
6570extern "C"
6571#endif
6572/* We use char because int might match the return type of a gcc2
6573 builtin and then its argument prototype would still apply. */
6574char $ac_func ();
6575char (*f) ();
6576
6577int
6578main ()
6579{
6580/* The GNU C library defines this for functions which it implements
6581 to always fail with ENOSYS. Some functions are actually named
6582 something starting with __ and the normal name is an alias. */
6583#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6584choke me
6585#else
6586f = $ac_func;
6587#endif
6588
6589 ;
6590 return 0;
6591}
6592_ACEOF
6593rm -f conftest.$ac_objext conftest$ac_exeext
6594if { (eval echo "$as_me:6594: \"$ac_link\"") >&5
6595 (eval $ac_link) 2>&5
6596 ac_status=$?
6597 echo "$as_me:6597: \$? = $ac_status" >&5
6598 (exit $ac_status); } &&
6599 { ac_try='test -s conftest$ac_exeext'
6600 { (eval echo "$as_me:6600: \"$ac_try\"") >&5
6601 (eval $ac_try) 2>&5
6602 ac_status=$?
6603 echo "$as_me:6603: \$? = $ac_status" >&5
6604 (exit $ac_status); }; }; then
6605 eval "$as_ac_var=yes"
6606else
6607 echo "$as_me: failed program was:" >&5
6608cat conftest.$ac_ext >&5
6609eval "$as_ac_var=no"
6610fi
6611rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6612fi
6613echo "$as_me:6613: result: `eval echo '${'$as_ac_var'}'`" >&5
6614echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6615if test `eval echo '${'$as_ac_var'}'` = yes; then
6616 cat >>confdefs.h <<EOF
6617#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6618EOF
6619
6620fi
6621done
6622
6623# IRIX has a const char return value for gai_strerror()
6624
6625for ac_func in gai_strerror
6626do
6627as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6628echo "$as_me:6628: checking for $ac_func" >&5
6629echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6495echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6630if eval "test \"\${$as_ac_var+set}\" = set"; then 6496if eval "test \"\${$as_ac_var+set}\" = set"; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6 6497 echo $ECHO_N "(cached) $ECHO_C" >&6
6632else 6498else
6633 cat >conftest.$ac_ext <<_ACEOF 6499 cat >conftest.$ac_ext <<_ACEOF
6634#line 6634 "configure" 6500#line 6500 "configure"
6635#include "confdefs.h" 6501#include "confdefs.h"
6636/* System header to define __stub macros and hopefully few prototypes, 6502/* System header to define __stub macros and hopefully few prototypes,
6637 which can conflict with char $ac_func (); below. */ 6503 which can conflict with char $ac_func (); below. */
@@ -6662,16 +6528,16 @@ f = $ac_func;
6662} 6528}
6663_ACEOF 6529_ACEOF
6664rm -f conftest.$ac_objext conftest$ac_exeext 6530rm -f conftest.$ac_objext conftest$ac_exeext
6665if { (eval echo "$as_me:6665: \"$ac_link\"") >&5 6531if { (eval echo "$as_me:6531: \"$ac_link\"") >&5
6666 (eval $ac_link) 2>&5 6532 (eval $ac_link) 2>&5
6667 ac_status=$? 6533 ac_status=$?
6668 echo "$as_me:6668: \$? = $ac_status" >&5 6534 echo "$as_me:6534: \$? = $ac_status" >&5
6669 (exit $ac_status); } && 6535 (exit $ac_status); } &&
6670 { ac_try='test -s conftest$ac_exeext' 6536 { ac_try='test -s conftest$ac_exeext'
6671 { (eval echo "$as_me:6671: \"$ac_try\"") >&5 6537 { (eval echo "$as_me:6537: \"$ac_try\"") >&5
6672 (eval $ac_try) 2>&5 6538 (eval $ac_try) 2>&5
6673 ac_status=$? 6539 ac_status=$?
6674 echo "$as_me:6674: \$? = $ac_status" >&5 6540 echo "$as_me:6540: \$? = $ac_status" >&5
6675 (exit $ac_status); }; }; then 6541 (exit $ac_status); }; }; then
6676 eval "$as_ac_var=yes" 6542 eval "$as_ac_var=yes"
6677else 6543else
@@ -6681,63 +6547,17 @@ eval "$as_ac_var=no"
6681fi 6547fi
6682rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6548rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6683fi 6549fi
6684echo "$as_me:6684: result: `eval echo '${'$as_ac_var'}'`" >&5 6550echo "$as_me:6550: result: `eval echo '${'$as_ac_var'}'`" >&5
6685echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6551echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6686if test `eval echo '${'$as_ac_var'}'` = yes; then 6552if test `eval echo '${'$as_ac_var'}'` = yes; then
6687 cat >>confdefs.h <<EOF 6553 cat >>confdefs.h <<EOF
6688#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6554#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6689EOF 6555EOF
6690 6556
6691 cat >>confdefs.h <<\EOF
6692#define HAVE_GAI_STRERROR 1
6693EOF
6694
6695 cat >conftest.$ac_ext <<_ACEOF
6696#line 6696 "configure"
6697#include "confdefs.h"
6698
6699#include <sys/types.h>
6700#include <sys/socket.h>
6701#include <netdb.h>
6702
6703const char *gai_strerror(int);
6704int
6705main ()
6706{
6707
6708char *str;
6709
6710str = gai_strerror(0);
6711 ;
6712 return 0;
6713}
6714_ACEOF
6715rm -f conftest.$ac_objext
6716if { (eval echo "$as_me:6716: \"$ac_compile\"") >&5
6717 (eval $ac_compile) 2>&5
6718 ac_status=$?
6719 echo "$as_me:6719: \$? = $ac_status" >&5
6720 (exit $ac_status); } &&
6721 { ac_try='test -s conftest.$ac_objext'
6722 { (eval echo "$as_me:6722: \"$ac_try\"") >&5
6723 (eval $ac_try) 2>&5
6724 ac_status=$?
6725 echo "$as_me:6725: \$? = $ac_status" >&5
6726 (exit $ac_status); }; }; then
6727
6728cat >>confdefs.h <<\EOF
6729#define HAVE_CONST_GAI_STRERROR_PROTO 1
6730EOF
6731
6732else
6733 echo "$as_me: failed program was:" >&5
6734cat conftest.$ac_ext >&5
6735fi
6736rm -f conftest.$ac_objext conftest.$ac_ext
6737fi 6557fi
6738done 6558done
6739 6559
6740echo "$as_me:6740: checking for library containing nanosleep" >&5 6560echo "$as_me:6560: checking for library containing nanosleep" >&5
6741echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 6561echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
6742if test "${ac_cv_search_nanosleep+set}" = set; then 6562if test "${ac_cv_search_nanosleep+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6 6563 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6745,7 +6565,7 @@ else
6745 ac_func_search_save_LIBS=$LIBS 6565 ac_func_search_save_LIBS=$LIBS
6746ac_cv_search_nanosleep=no 6566ac_cv_search_nanosleep=no
6747cat >conftest.$ac_ext <<_ACEOF 6567cat >conftest.$ac_ext <<_ACEOF
6748#line 6748 "configure" 6568#line 6568 "configure"
6749#include "confdefs.h" 6569#include "confdefs.h"
6750 6570
6751/* Override any gcc2 internal prototype to avoid an error. */ 6571/* Override any gcc2 internal prototype to avoid an error. */
@@ -6764,16 +6584,16 @@ nanosleep ();
6764} 6584}
6765_ACEOF 6585_ACEOF
6766rm -f conftest.$ac_objext conftest$ac_exeext 6586rm -f conftest.$ac_objext conftest$ac_exeext
6767if { (eval echo "$as_me:6767: \"$ac_link\"") >&5 6587if { (eval echo "$as_me:6587: \"$ac_link\"") >&5
6768 (eval $ac_link) 2>&5 6588 (eval $ac_link) 2>&5
6769 ac_status=$? 6589 ac_status=$?
6770 echo "$as_me:6770: \$? = $ac_status" >&5 6590 echo "$as_me:6590: \$? = $ac_status" >&5
6771 (exit $ac_status); } && 6591 (exit $ac_status); } &&
6772 { ac_try='test -s conftest$ac_exeext' 6592 { ac_try='test -s conftest$ac_exeext'
6773 { (eval echo "$as_me:6773: \"$ac_try\"") >&5 6593 { (eval echo "$as_me:6593: \"$ac_try\"") >&5
6774 (eval $ac_try) 2>&5 6594 (eval $ac_try) 2>&5
6775 ac_status=$? 6595 ac_status=$?
6776 echo "$as_me:6776: \$? = $ac_status" >&5 6596 echo "$as_me:6596: \$? = $ac_status" >&5
6777 (exit $ac_status); }; }; then 6597 (exit $ac_status); }; }; then
6778 ac_cv_search_nanosleep="none required" 6598 ac_cv_search_nanosleep="none required"
6779else 6599else
@@ -6785,7 +6605,7 @@ if test "$ac_cv_search_nanosleep" = no; then
6785 for ac_lib in rt posix4; do 6605 for ac_lib in rt posix4; do
6786 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6606 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6787 cat >conftest.$ac_ext <<_ACEOF 6607 cat >conftest.$ac_ext <<_ACEOF
6788#line 6788 "configure" 6608#line 6608 "configure"
6789#include "confdefs.h" 6609#include "confdefs.h"
6790 6610
6791/* Override any gcc2 internal prototype to avoid an error. */ 6611/* Override any gcc2 internal prototype to avoid an error. */
@@ -6804,16 +6624,16 @@ nanosleep ();
6804} 6624}
6805_ACEOF 6625_ACEOF
6806rm -f conftest.$ac_objext conftest$ac_exeext 6626rm -f conftest.$ac_objext conftest$ac_exeext
6807if { (eval echo "$as_me:6807: \"$ac_link\"") >&5 6627if { (eval echo "$as_me:6627: \"$ac_link\"") >&5
6808 (eval $ac_link) 2>&5 6628 (eval $ac_link) 2>&5
6809 ac_status=$? 6629 ac_status=$?
6810 echo "$as_me:6810: \$? = $ac_status" >&5 6630 echo "$as_me:6630: \$? = $ac_status" >&5
6811 (exit $ac_status); } && 6631 (exit $ac_status); } &&
6812 { ac_try='test -s conftest$ac_exeext' 6632 { ac_try='test -s conftest$ac_exeext'
6813 { (eval echo "$as_me:6813: \"$ac_try\"") >&5 6633 { (eval echo "$as_me:6633: \"$ac_try\"") >&5
6814 (eval $ac_try) 2>&5 6634 (eval $ac_try) 2>&5
6815 ac_status=$? 6635 ac_status=$?
6816 echo "$as_me:6816: \$? = $ac_status" >&5 6636 echo "$as_me:6636: \$? = $ac_status" >&5
6817 (exit $ac_status); }; }; then 6637 (exit $ac_status); }; }; then
6818 ac_cv_search_nanosleep="-l$ac_lib" 6638 ac_cv_search_nanosleep="-l$ac_lib"
6819break 6639break
@@ -6826,7 +6646,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6826fi 6646fi
6827LIBS=$ac_func_search_save_LIBS 6647LIBS=$ac_func_search_save_LIBS
6828fi 6648fi
6829echo "$as_me:6829: result: $ac_cv_search_nanosleep" >&5 6649echo "$as_me:6649: result: $ac_cv_search_nanosleep" >&5
6830echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 6650echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
6831if test "$ac_cv_search_nanosleep" != no; then 6651if test "$ac_cv_search_nanosleep" != no; then
6832 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" 6652 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
@@ -6836,13 +6656,13 @@ EOF
6836 6656
6837fi 6657fi
6838 6658
6839echo "$as_me:6839: checking for ANSI C header files" >&5 6659echo "$as_me:6659: checking for ANSI C header files" >&5
6840echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6660echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6841if test "${ac_cv_header_stdc+set}" = set; then 6661if test "${ac_cv_header_stdc+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6 6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6843else 6663else
6844 cat >conftest.$ac_ext <<_ACEOF 6664 cat >conftest.$ac_ext <<_ACEOF
6845#line 6845 "configure" 6665#line 6665 "configure"
6846#include "confdefs.h" 6666#include "confdefs.h"
6847#include <stdlib.h> 6667#include <stdlib.h>
6848#include <stdarg.h> 6668#include <stdarg.h>
@@ -6850,13 +6670,13 @@ else
6850#include <float.h> 6670#include <float.h>
6851 6671
6852_ACEOF 6672_ACEOF
6853if { (eval echo "$as_me:6853: \"$ac_cpp conftest.$ac_ext\"") >&5 6673if { (eval echo "$as_me:6673: \"$ac_cpp conftest.$ac_ext\"") >&5
6854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6855 ac_status=$? 6675 ac_status=$?
6856 egrep -v '^ *\+' conftest.er1 >conftest.err 6676 egrep -v '^ *\+' conftest.er1 >conftest.err
6857 rm -f conftest.er1 6677 rm -f conftest.er1
6858 cat conftest.err >&5 6678 cat conftest.err >&5
6859 echo "$as_me:6859: \$? = $ac_status" >&5 6679 echo "$as_me:6679: \$? = $ac_status" >&5
6860 (exit $ac_status); } >/dev/null; then 6680 (exit $ac_status); } >/dev/null; then
6861 if test -s conftest.err; then 6681 if test -s conftest.err; then
6862 ac_cpp_err=$ac_c_preproc_warn_flag 6682 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -6878,7 +6698,7 @@ rm -f conftest.err conftest.$ac_ext
6878if test $ac_cv_header_stdc = yes; then 6698if test $ac_cv_header_stdc = yes; then
6879 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6880 cat >conftest.$ac_ext <<_ACEOF 6700 cat >conftest.$ac_ext <<_ACEOF
6881#line 6881 "configure" 6701#line 6701 "configure"
6882#include "confdefs.h" 6702#include "confdefs.h"
6883#include <string.h> 6703#include <string.h>
6884 6704
@@ -6896,7 +6716,7 @@ fi
6896if test $ac_cv_header_stdc = yes; then 6716if test $ac_cv_header_stdc = yes; then
6897 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6898 cat >conftest.$ac_ext <<_ACEOF 6718 cat >conftest.$ac_ext <<_ACEOF
6899#line 6899 "configure" 6719#line 6719 "configure"
6900#include "confdefs.h" 6720#include "confdefs.h"
6901#include <stdlib.h> 6721#include <stdlib.h>
6902 6722
@@ -6917,7 +6737,7 @@ if test $ac_cv_header_stdc = yes; then
6917 : 6737 :
6918else 6738else
6919 cat >conftest.$ac_ext <<_ACEOF 6739 cat >conftest.$ac_ext <<_ACEOF
6920#line 6920 "configure" 6740#line 6740 "configure"
6921#include "confdefs.h" 6741#include "confdefs.h"
6922#include <ctype.h> 6742#include <ctype.h>
6923#if ((' ' & 0x0FF) == 0x020) 6743#if ((' ' & 0x0FF) == 0x020)
@@ -6943,15 +6763,15 @@ main ()
6943} 6763}
6944_ACEOF 6764_ACEOF
6945rm -f conftest$ac_exeext 6765rm -f conftest$ac_exeext
6946if { (eval echo "$as_me:6946: \"$ac_link\"") >&5 6766if { (eval echo "$as_me:6766: \"$ac_link\"") >&5
6947 (eval $ac_link) 2>&5 6767 (eval $ac_link) 2>&5
6948 ac_status=$? 6768 ac_status=$?
6949 echo "$as_me:6949: \$? = $ac_status" >&5 6769 echo "$as_me:6769: \$? = $ac_status" >&5
6950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6951 { (eval echo "$as_me:6951: \"$ac_try\"") >&5 6771 { (eval echo "$as_me:6771: \"$ac_try\"") >&5
6952 (eval $ac_try) 2>&5 6772 (eval $ac_try) 2>&5
6953 ac_status=$? 6773 ac_status=$?
6954 echo "$as_me:6954: \$? = $ac_status" >&5 6774 echo "$as_me:6774: \$? = $ac_status" >&5
6955 (exit $ac_status); }; }; then 6775 (exit $ac_status); }; }; then
6956 : 6776 :
6957else 6777else
@@ -6964,7 +6784,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6964fi 6784fi
6965fi 6785fi
6966fi 6786fi
6967echo "$as_me:6967: result: $ac_cv_header_stdc" >&5 6787echo "$as_me:6787: result: $ac_cv_header_stdc" >&5
6968echo "${ECHO_T}$ac_cv_header_stdc" >&6 6788echo "${ECHO_T}$ac_cv_header_stdc" >&6
6969if test $ac_cv_header_stdc = yes; then 6789if test $ac_cv_header_stdc = yes; then
6970 6790
@@ -6980,28 +6800,28 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6980 inttypes.h stdint.h unistd.h 6800 inttypes.h stdint.h unistd.h
6981do 6801do
6982as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6802as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6983echo "$as_me:6983: checking for $ac_header" >&5 6803echo "$as_me:6803: checking for $ac_header" >&5
6984echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6804echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6985if eval "test \"\${$as_ac_Header+set}\" = set"; then 6805if eval "test \"\${$as_ac_Header+set}\" = set"; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6 6806 echo $ECHO_N "(cached) $ECHO_C" >&6
6987else 6807else
6988 cat >conftest.$ac_ext <<_ACEOF 6808 cat >conftest.$ac_ext <<_ACEOF
6989#line 6989 "configure" 6809#line 6809 "configure"
6990#include "confdefs.h" 6810#include "confdefs.h"
6991$ac_includes_default 6811$ac_includes_default
6992#include <$ac_header> 6812#include <$ac_header>
6993_ACEOF 6813_ACEOF
6994rm -f conftest.$ac_objext 6814rm -f conftest.$ac_objext
6995if { (eval echo "$as_me:6995: \"$ac_compile\"") >&5 6815if { (eval echo "$as_me:6815: \"$ac_compile\"") >&5
6996 (eval $ac_compile) 2>&5 6816 (eval $ac_compile) 2>&5
6997 ac_status=$? 6817 ac_status=$?
6998 echo "$as_me:6998: \$? = $ac_status" >&5 6818 echo "$as_me:6818: \$? = $ac_status" >&5
6999 (exit $ac_status); } && 6819 (exit $ac_status); } &&
7000 { ac_try='test -s conftest.$ac_objext' 6820 { ac_try='test -s conftest.$ac_objext'
7001 { (eval echo "$as_me:7001: \"$ac_try\"") >&5 6821 { (eval echo "$as_me:6821: \"$ac_try\"") >&5
7002 (eval $ac_try) 2>&5 6822 (eval $ac_try) 2>&5
7003 ac_status=$? 6823 ac_status=$?
7004 echo "$as_me:7004: \$? = $ac_status" >&5 6824 echo "$as_me:6824: \$? = $ac_status" >&5
7005 (exit $ac_status); }; }; then 6825 (exit $ac_status); }; }; then
7006 eval "$as_ac_Header=yes" 6826 eval "$as_ac_Header=yes"
7007else 6827else
@@ -7011,7 +6831,7 @@ eval "$as_ac_Header=no"
7011fi 6831fi
7012rm -f conftest.$ac_objext conftest.$ac_ext 6832rm -f conftest.$ac_objext conftest.$ac_ext
7013fi 6833fi
7014echo "$as_me:7014: result: `eval echo '${'$as_ac_Header'}'`" >&5 6834echo "$as_me:6834: result: `eval echo '${'$as_ac_Header'}'`" >&5
7015echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6835echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7016if test `eval echo '${'$as_ac_Header'}'` = yes; then 6836if test `eval echo '${'$as_ac_Header'}'` = yes; then
7017 cat >>confdefs.h <<EOF 6837 cat >>confdefs.h <<EOF
@@ -7021,13 +6841,13 @@ EOF
7021fi 6841fi
7022done 6842done
7023 6843
7024echo "$as_me:7024: checking whether strsep is declared" >&5 6844echo "$as_me:6844: checking whether strsep is declared" >&5
7025echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 6845echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
7026if test "${ac_cv_have_decl_strsep+set}" = set; then 6846if test "${ac_cv_have_decl_strsep+set}" = set; then
7027 echo $ECHO_N "(cached) $ECHO_C" >&6 6847 echo $ECHO_N "(cached) $ECHO_C" >&6
7028else 6848else
7029 cat >conftest.$ac_ext <<_ACEOF 6849 cat >conftest.$ac_ext <<_ACEOF
7030#line 7030 "configure" 6850#line 6850 "configure"
7031#include "confdefs.h" 6851#include "confdefs.h"
7032$ac_includes_default 6852$ac_includes_default
7033int 6853int
@@ -7042,16 +6862,16 @@ main ()
7042} 6862}
7043_ACEOF 6863_ACEOF
7044rm -f conftest.$ac_objext 6864rm -f conftest.$ac_objext
7045if { (eval echo "$as_me:7045: \"$ac_compile\"") >&5 6865if { (eval echo "$as_me:6865: \"$ac_compile\"") >&5
7046 (eval $ac_compile) 2>&5 6866 (eval $ac_compile) 2>&5
7047 ac_status=$? 6867 ac_status=$?
7048 echo "$as_me:7048: \$? = $ac_status" >&5 6868 echo "$as_me:6868: \$? = $ac_status" >&5
7049 (exit $ac_status); } && 6869 (exit $ac_status); } &&
7050 { ac_try='test -s conftest.$ac_objext' 6870 { ac_try='test -s conftest.$ac_objext'
7051 { (eval echo "$as_me:7051: \"$ac_try\"") >&5 6871 { (eval echo "$as_me:6871: \"$ac_try\"") >&5
7052 (eval $ac_try) 2>&5 6872 (eval $ac_try) 2>&5
7053 ac_status=$? 6873 ac_status=$?
7054 echo "$as_me:7054: \$? = $ac_status" >&5 6874 echo "$as_me:6874: \$? = $ac_status" >&5
7055 (exit $ac_status); }; }; then 6875 (exit $ac_status); }; }; then
7056 ac_cv_have_decl_strsep=yes 6876 ac_cv_have_decl_strsep=yes
7057else 6877else
@@ -7061,20 +6881,20 @@ ac_cv_have_decl_strsep=no
7061fi 6881fi
7062rm -f conftest.$ac_objext conftest.$ac_ext 6882rm -f conftest.$ac_objext conftest.$ac_ext
7063fi 6883fi
7064echo "$as_me:7064: result: $ac_cv_have_decl_strsep" >&5 6884echo "$as_me:6884: result: $ac_cv_have_decl_strsep" >&5
7065echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 6885echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6
7066if test $ac_cv_have_decl_strsep = yes; then 6886if test $ac_cv_have_decl_strsep = yes; then
7067 6887
7068for ac_func in strsep 6888for ac_func in strsep
7069do 6889do
7070as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6890as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7071echo "$as_me:7071: checking for $ac_func" >&5 6891echo "$as_me:6891: checking for $ac_func" >&5
7072echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6892echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7073if eval "test \"\${$as_ac_var+set}\" = set"; then 6893if eval "test \"\${$as_ac_var+set}\" = set"; then
7074 echo $ECHO_N "(cached) $ECHO_C" >&6 6894 echo $ECHO_N "(cached) $ECHO_C" >&6
7075else 6895else
7076 cat >conftest.$ac_ext <<_ACEOF 6896 cat >conftest.$ac_ext <<_ACEOF
7077#line 7077 "configure" 6897#line 6897 "configure"
7078#include "confdefs.h" 6898#include "confdefs.h"
7079/* System header to define __stub macros and hopefully few prototypes, 6899/* System header to define __stub macros and hopefully few prototypes,
7080 which can conflict with char $ac_func (); below. */ 6900 which can conflict with char $ac_func (); below. */
@@ -7105,16 +6925,16 @@ f = $ac_func;
7105} 6925}
7106_ACEOF 6926_ACEOF
7107rm -f conftest.$ac_objext conftest$ac_exeext 6927rm -f conftest.$ac_objext conftest$ac_exeext
7108if { (eval echo "$as_me:7108: \"$ac_link\"") >&5 6928if { (eval echo "$as_me:6928: \"$ac_link\"") >&5
7109 (eval $ac_link) 2>&5 6929 (eval $ac_link) 2>&5
7110 ac_status=$? 6930 ac_status=$?
7111 echo "$as_me:7111: \$? = $ac_status" >&5 6931 echo "$as_me:6931: \$? = $ac_status" >&5
7112 (exit $ac_status); } && 6932 (exit $ac_status); } &&
7113 { ac_try='test -s conftest$ac_exeext' 6933 { ac_try='test -s conftest$ac_exeext'
7114 { (eval echo "$as_me:7114: \"$ac_try\"") >&5 6934 { (eval echo "$as_me:6934: \"$ac_try\"") >&5
7115 (eval $ac_try) 2>&5 6935 (eval $ac_try) 2>&5
7116 ac_status=$? 6936 ac_status=$?
7117 echo "$as_me:7117: \$? = $ac_status" >&5 6937 echo "$as_me:6937: \$? = $ac_status" >&5
7118 (exit $ac_status); }; }; then 6938 (exit $ac_status); }; }; then
7119 eval "$as_ac_var=yes" 6939 eval "$as_ac_var=yes"
7120else 6940else
@@ -7124,7 +6944,7 @@ eval "$as_ac_var=no"
7124fi 6944fi
7125rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6945rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7126fi 6946fi
7127echo "$as_me:7127: result: `eval echo '${'$as_ac_var'}'`" >&5 6947echo "$as_me:6947: result: `eval echo '${'$as_ac_var'}'`" >&5
7128echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6948echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7129if test `eval echo '${'$as_ac_var'}'` = yes; then 6949if test `eval echo '${'$as_ac_var'}'` = yes; then
7130 cat >>confdefs.h <<EOF 6950 cat >>confdefs.h <<EOF
@@ -7136,13 +6956,13 @@ done
7136 6956
7137fi 6957fi
7138 6958
7139echo "$as_me:7139: checking whether getrusage is declared" >&5 6959echo "$as_me:6959: checking whether getrusage is declared" >&5
7140echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 6960echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6
7141if test "${ac_cv_have_decl_getrusage+set}" = set; then 6961if test "${ac_cv_have_decl_getrusage+set}" = set; then
7142 echo $ECHO_N "(cached) $ECHO_C" >&6 6962 echo $ECHO_N "(cached) $ECHO_C" >&6
7143else 6963else
7144 cat >conftest.$ac_ext <<_ACEOF 6964 cat >conftest.$ac_ext <<_ACEOF
7145#line 7145 "configure" 6965#line 6965 "configure"
7146#include "confdefs.h" 6966#include "confdefs.h"
7147$ac_includes_default 6967$ac_includes_default
7148int 6968int
@@ -7157,16 +6977,16 @@ main ()
7157} 6977}
7158_ACEOF 6978_ACEOF
7159rm -f conftest.$ac_objext 6979rm -f conftest.$ac_objext
7160if { (eval echo "$as_me:7160: \"$ac_compile\"") >&5 6980if { (eval echo "$as_me:6980: \"$ac_compile\"") >&5
7161 (eval $ac_compile) 2>&5 6981 (eval $ac_compile) 2>&5
7162 ac_status=$? 6982 ac_status=$?
7163 echo "$as_me:7163: \$? = $ac_status" >&5 6983 echo "$as_me:6983: \$? = $ac_status" >&5
7164 (exit $ac_status); } && 6984 (exit $ac_status); } &&
7165 { ac_try='test -s conftest.$ac_objext' 6985 { ac_try='test -s conftest.$ac_objext'
7166 { (eval echo "$as_me:7166: \"$ac_try\"") >&5 6986 { (eval echo "$as_me:6986: \"$ac_try\"") >&5
7167 (eval $ac_try) 2>&5 6987 (eval $ac_try) 2>&5
7168 ac_status=$? 6988 ac_status=$?
7169 echo "$as_me:7169: \$? = $ac_status" >&5 6989 echo "$as_me:6989: \$? = $ac_status" >&5
7170 (exit $ac_status); }; }; then 6990 (exit $ac_status); }; }; then
7171 ac_cv_have_decl_getrusage=yes 6991 ac_cv_have_decl_getrusage=yes
7172else 6992else
@@ -7176,20 +6996,20 @@ ac_cv_have_decl_getrusage=no
7176fi 6996fi
7177rm -f conftest.$ac_objext conftest.$ac_ext 6997rm -f conftest.$ac_objext conftest.$ac_ext
7178fi 6998fi
7179echo "$as_me:7179: result: $ac_cv_have_decl_getrusage" >&5 6999echo "$as_me:6999: result: $ac_cv_have_decl_getrusage" >&5
7180echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 7000echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6
7181if test $ac_cv_have_decl_getrusage = yes; then 7001if test $ac_cv_have_decl_getrusage = yes; then
7182 7002
7183for ac_func in getrusage 7003for ac_func in getrusage
7184do 7004do
7185as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7005as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7186echo "$as_me:7186: checking for $ac_func" >&5 7006echo "$as_me:7006: checking for $ac_func" >&5
7187echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7007echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7188if eval "test \"\${$as_ac_var+set}\" = set"; then 7008if eval "test \"\${$as_ac_var+set}\" = set"; then
7189 echo $ECHO_N "(cached) $ECHO_C" >&6 7009 echo $ECHO_N "(cached) $ECHO_C" >&6
7190else 7010else
7191 cat >conftest.$ac_ext <<_ACEOF 7011 cat >conftest.$ac_ext <<_ACEOF
7192#line 7192 "configure" 7012#line 7012 "configure"
7193#include "confdefs.h" 7013#include "confdefs.h"
7194/* System header to define __stub macros and hopefully few prototypes, 7014/* System header to define __stub macros and hopefully few prototypes,
7195 which can conflict with char $ac_func (); below. */ 7015 which can conflict with char $ac_func (); below. */
@@ -7220,16 +7040,16 @@ f = $ac_func;
7220} 7040}
7221_ACEOF 7041_ACEOF
7222rm -f conftest.$ac_objext conftest$ac_exeext 7042rm -f conftest.$ac_objext conftest$ac_exeext
7223if { (eval echo "$as_me:7223: \"$ac_link\"") >&5 7043if { (eval echo "$as_me:7043: \"$ac_link\"") >&5
7224 (eval $ac_link) 2>&5 7044 (eval $ac_link) 2>&5
7225 ac_status=$? 7045 ac_status=$?
7226 echo "$as_me:7226: \$? = $ac_status" >&5 7046 echo "$as_me:7046: \$? = $ac_status" >&5
7227 (exit $ac_status); } && 7047 (exit $ac_status); } &&
7228 { ac_try='test -s conftest$ac_exeext' 7048 { ac_try='test -s conftest$ac_exeext'
7229 { (eval echo "$as_me:7229: \"$ac_try\"") >&5 7049 { (eval echo "$as_me:7049: \"$ac_try\"") >&5
7230 (eval $ac_try) 2>&5 7050 (eval $ac_try) 2>&5
7231 ac_status=$? 7051 ac_status=$?
7232 echo "$as_me:7232: \$? = $ac_status" >&5 7052 echo "$as_me:7052: \$? = $ac_status" >&5
7233 (exit $ac_status); }; }; then 7053 (exit $ac_status); }; }; then
7234 eval "$as_ac_var=yes" 7054 eval "$as_ac_var=yes"
7235else 7055else
@@ -7239,7 +7059,7 @@ eval "$as_ac_var=no"
7239fi 7059fi
7240rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7060rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7241fi 7061fi
7242echo "$as_me:7242: result: `eval echo '${'$as_ac_var'}'`" >&5 7062echo "$as_me:7062: result: `eval echo '${'$as_ac_var'}'`" >&5
7243echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7063echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7244if test `eval echo '${'$as_ac_var'}'` = yes; then 7064if test `eval echo '${'$as_ac_var'}'` = yes; then
7245 cat >>confdefs.h <<EOF 7065 cat >>confdefs.h <<EOF
@@ -7251,13 +7071,13 @@ done
7251 7071
7252fi 7072fi
7253 7073
7254echo "$as_me:7254: checking whether tcsendbreak is declared" >&5 7074echo "$as_me:7074: checking whether tcsendbreak is declared" >&5
7255echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6 7075echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6
7256if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then 7076if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6 7077 echo $ECHO_N "(cached) $ECHO_C" >&6
7258else 7078else
7259 cat >conftest.$ac_ext <<_ACEOF 7079 cat >conftest.$ac_ext <<_ACEOF
7260#line 7260 "configure" 7080#line 7080 "configure"
7261#include "confdefs.h" 7081#include "confdefs.h"
7262#include <termios.h> 7082#include <termios.h>
7263 7083
@@ -7273,16 +7093,16 @@ main ()
7273} 7093}
7274_ACEOF 7094_ACEOF
7275rm -f conftest.$ac_objext 7095rm -f conftest.$ac_objext
7276if { (eval echo "$as_me:7276: \"$ac_compile\"") >&5 7096if { (eval echo "$as_me:7096: \"$ac_compile\"") >&5
7277 (eval $ac_compile) 2>&5 7097 (eval $ac_compile) 2>&5
7278 ac_status=$? 7098 ac_status=$?
7279 echo "$as_me:7279: \$? = $ac_status" >&5 7099 echo "$as_me:7099: \$? = $ac_status" >&5
7280 (exit $ac_status); } && 7100 (exit $ac_status); } &&
7281 { ac_try='test -s conftest.$ac_objext' 7101 { ac_try='test -s conftest.$ac_objext'
7282 { (eval echo "$as_me:7282: \"$ac_try\"") >&5 7102 { (eval echo "$as_me:7102: \"$ac_try\"") >&5
7283 (eval $ac_try) 2>&5 7103 (eval $ac_try) 2>&5
7284 ac_status=$? 7104 ac_status=$?
7285 echo "$as_me:7285: \$? = $ac_status" >&5 7105 echo "$as_me:7105: \$? = $ac_status" >&5
7286 (exit $ac_status); }; }; then 7106 (exit $ac_status); }; }; then
7287 ac_cv_have_decl_tcsendbreak=yes 7107 ac_cv_have_decl_tcsendbreak=yes
7288else 7108else
@@ -7292,7 +7112,7 @@ ac_cv_have_decl_tcsendbreak=no
7292fi 7112fi
7293rm -f conftest.$ac_objext conftest.$ac_ext 7113rm -f conftest.$ac_objext conftest.$ac_ext
7294fi 7114fi
7295echo "$as_me:7295: result: $ac_cv_have_decl_tcsendbreak" >&5 7115echo "$as_me:7115: result: $ac_cv_have_decl_tcsendbreak" >&5
7296echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6 7116echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6
7297if test $ac_cv_have_decl_tcsendbreak = yes; then 7117if test $ac_cv_have_decl_tcsendbreak = yes; then
7298 cat >>confdefs.h <<\EOF 7118 cat >>confdefs.h <<\EOF
@@ -7304,13 +7124,13 @@ else
7304for ac_func in tcsendbreak 7124for ac_func in tcsendbreak
7305do 7125do
7306as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7126as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7307echo "$as_me:7307: checking for $ac_func" >&5 7127echo "$as_me:7127: checking for $ac_func" >&5
7308echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7128echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7309if eval "test \"\${$as_ac_var+set}\" = set"; then 7129if eval "test \"\${$as_ac_var+set}\" = set"; then
7310 echo $ECHO_N "(cached) $ECHO_C" >&6 7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7311else 7131else
7312 cat >conftest.$ac_ext <<_ACEOF 7132 cat >conftest.$ac_ext <<_ACEOF
7313#line 7313 "configure" 7133#line 7133 "configure"
7314#include "confdefs.h" 7134#include "confdefs.h"
7315/* System header to define __stub macros and hopefully few prototypes, 7135/* System header to define __stub macros and hopefully few prototypes,
7316 which can conflict with char $ac_func (); below. */ 7136 which can conflict with char $ac_func (); below. */
@@ -7341,16 +7161,16 @@ f = $ac_func;
7341} 7161}
7342_ACEOF 7162_ACEOF
7343rm -f conftest.$ac_objext conftest$ac_exeext 7163rm -f conftest.$ac_objext conftest$ac_exeext
7344if { (eval echo "$as_me:7344: \"$ac_link\"") >&5 7164if { (eval echo "$as_me:7164: \"$ac_link\"") >&5
7345 (eval $ac_link) 2>&5 7165 (eval $ac_link) 2>&5
7346 ac_status=$? 7166 ac_status=$?
7347 echo "$as_me:7347: \$? = $ac_status" >&5 7167 echo "$as_me:7167: \$? = $ac_status" >&5
7348 (exit $ac_status); } && 7168 (exit $ac_status); } &&
7349 { ac_try='test -s conftest$ac_exeext' 7169 { ac_try='test -s conftest$ac_exeext'
7350 { (eval echo "$as_me:7350: \"$ac_try\"") >&5 7170 { (eval echo "$as_me:7170: \"$ac_try\"") >&5
7351 (eval $ac_try) 2>&5 7171 (eval $ac_try) 2>&5
7352 ac_status=$? 7172 ac_status=$?
7353 echo "$as_me:7353: \$? = $ac_status" >&5 7173 echo "$as_me:7173: \$? = $ac_status" >&5
7354 (exit $ac_status); }; }; then 7174 (exit $ac_status); }; }; then
7355 eval "$as_ac_var=yes" 7175 eval "$as_ac_var=yes"
7356else 7176else
@@ -7360,7 +7180,7 @@ eval "$as_ac_var=no"
7360fi 7180fi
7361rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7181rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7362fi 7182fi
7363echo "$as_me:7363: result: `eval echo '${'$as_ac_var'}'`" >&5 7183echo "$as_me:7183: result: `eval echo '${'$as_ac_var'}'`" >&5
7364echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7184echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7365if test `eval echo '${'$as_ac_var'}'` = yes; then 7185if test `eval echo '${'$as_ac_var'}'` = yes; then
7366 cat >>confdefs.h <<EOF 7186 cat >>confdefs.h <<EOF
@@ -7375,13 +7195,13 @@ fi
7375for ac_func in gettimeofday time 7195for ac_func in gettimeofday time
7376do 7196do
7377as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7197as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7378echo "$as_me:7378: checking for $ac_func" >&5 7198echo "$as_me:7198: checking for $ac_func" >&5
7379echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7199echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7380if eval "test \"\${$as_ac_var+set}\" = set"; then 7200if eval "test \"\${$as_ac_var+set}\" = set"; then
7381 echo $ECHO_N "(cached) $ECHO_C" >&6 7201 echo $ECHO_N "(cached) $ECHO_C" >&6
7382else 7202else
7383 cat >conftest.$ac_ext <<_ACEOF 7203 cat >conftest.$ac_ext <<_ACEOF
7384#line 7384 "configure" 7204#line 7204 "configure"
7385#include "confdefs.h" 7205#include "confdefs.h"
7386/* System header to define __stub macros and hopefully few prototypes, 7206/* System header to define __stub macros and hopefully few prototypes,
7387 which can conflict with char $ac_func (); below. */ 7207 which can conflict with char $ac_func (); below. */
@@ -7412,16 +7232,16 @@ f = $ac_func;
7412} 7232}
7413_ACEOF 7233_ACEOF
7414rm -f conftest.$ac_objext conftest$ac_exeext 7234rm -f conftest.$ac_objext conftest$ac_exeext
7415if { (eval echo "$as_me:7415: \"$ac_link\"") >&5 7235if { (eval echo "$as_me:7235: \"$ac_link\"") >&5
7416 (eval $ac_link) 2>&5 7236 (eval $ac_link) 2>&5
7417 ac_status=$? 7237 ac_status=$?
7418 echo "$as_me:7418: \$? = $ac_status" >&5 7238 echo "$as_me:7238: \$? = $ac_status" >&5
7419 (exit $ac_status); } && 7239 (exit $ac_status); } &&
7420 { ac_try='test -s conftest$ac_exeext' 7240 { ac_try='test -s conftest$ac_exeext'
7421 { (eval echo "$as_me:7421: \"$ac_try\"") >&5 7241 { (eval echo "$as_me:7241: \"$ac_try\"") >&5
7422 (eval $ac_try) 2>&5 7242 (eval $ac_try) 2>&5
7423 ac_status=$? 7243 ac_status=$?
7424 echo "$as_me:7424: \$? = $ac_status" >&5 7244 echo "$as_me:7244: \$? = $ac_status" >&5
7425 (exit $ac_status); }; }; then 7245 (exit $ac_status); }; }; then
7426 eval "$as_ac_var=yes" 7246 eval "$as_ac_var=yes"
7427else 7247else
@@ -7431,7 +7251,7 @@ eval "$as_ac_var=no"
7431fi 7251fi
7432rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7252rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7433fi 7253fi
7434echo "$as_me:7434: result: `eval echo '${'$as_ac_var'}'`" >&5 7254echo "$as_me:7254: result: `eval echo '${'$as_ac_var'}'`" >&5
7435echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7255echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7436if test `eval echo '${'$as_ac_var'}'` = yes; then 7256if test `eval echo '${'$as_ac_var'}'` = yes; then
7437 cat >>confdefs.h <<EOF 7257 cat >>confdefs.h <<EOF
@@ -7444,13 +7264,13 @@ done
7444for ac_func in endutent getutent getutid getutline pututline setutent 7264for ac_func in endutent getutent getutid getutline pututline setutent
7445do 7265do
7446as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7266as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7447echo "$as_me:7447: checking for $ac_func" >&5 7267echo "$as_me:7267: checking for $ac_func" >&5
7448echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7268echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7449if eval "test \"\${$as_ac_var+set}\" = set"; then 7269if eval "test \"\${$as_ac_var+set}\" = set"; then
7450 echo $ECHO_N "(cached) $ECHO_C" >&6 7270 echo $ECHO_N "(cached) $ECHO_C" >&6
7451else 7271else
7452 cat >conftest.$ac_ext <<_ACEOF 7272 cat >conftest.$ac_ext <<_ACEOF
7453#line 7453 "configure" 7273#line 7273 "configure"
7454#include "confdefs.h" 7274#include "confdefs.h"
7455/* System header to define __stub macros and hopefully few prototypes, 7275/* System header to define __stub macros and hopefully few prototypes,
7456 which can conflict with char $ac_func (); below. */ 7276 which can conflict with char $ac_func (); below. */
@@ -7481,16 +7301,16 @@ f = $ac_func;
7481} 7301}
7482_ACEOF 7302_ACEOF
7483rm -f conftest.$ac_objext conftest$ac_exeext 7303rm -f conftest.$ac_objext conftest$ac_exeext
7484if { (eval echo "$as_me:7484: \"$ac_link\"") >&5 7304if { (eval echo "$as_me:7304: \"$ac_link\"") >&5
7485 (eval $ac_link) 2>&5 7305 (eval $ac_link) 2>&5
7486 ac_status=$? 7306 ac_status=$?
7487 echo "$as_me:7487: \$? = $ac_status" >&5 7307 echo "$as_me:7307: \$? = $ac_status" >&5
7488 (exit $ac_status); } && 7308 (exit $ac_status); } &&
7489 { ac_try='test -s conftest$ac_exeext' 7309 { ac_try='test -s conftest$ac_exeext'
7490 { (eval echo "$as_me:7490: \"$ac_try\"") >&5 7310 { (eval echo "$as_me:7310: \"$ac_try\"") >&5
7491 (eval $ac_try) 2>&5 7311 (eval $ac_try) 2>&5
7492 ac_status=$? 7312 ac_status=$?
7493 echo "$as_me:7493: \$? = $ac_status" >&5 7313 echo "$as_me:7313: \$? = $ac_status" >&5
7494 (exit $ac_status); }; }; then 7314 (exit $ac_status); }; }; then
7495 eval "$as_ac_var=yes" 7315 eval "$as_ac_var=yes"
7496else 7316else
@@ -7500,7 +7320,7 @@ eval "$as_ac_var=no"
7500fi 7320fi
7501rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7321rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7502fi 7322fi
7503echo "$as_me:7503: result: `eval echo '${'$as_ac_var'}'`" >&5 7323echo "$as_me:7323: result: `eval echo '${'$as_ac_var'}'`" >&5
7504echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7324echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7505if test `eval echo '${'$as_ac_var'}'` = yes; then 7325if test `eval echo '${'$as_ac_var'}'` = yes; then
7506 cat >>confdefs.h <<EOF 7326 cat >>confdefs.h <<EOF
@@ -7513,13 +7333,13 @@ done
7513for ac_func in utmpname 7333for ac_func in utmpname
7514do 7334do
7515as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7335as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7516echo "$as_me:7516: checking for $ac_func" >&5 7336echo "$as_me:7336: checking for $ac_func" >&5
7517echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7337echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7518if eval "test \"\${$as_ac_var+set}\" = set"; then 7338if eval "test \"\${$as_ac_var+set}\" = set"; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6 7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7520else 7340else
7521 cat >conftest.$ac_ext <<_ACEOF 7341 cat >conftest.$ac_ext <<_ACEOF
7522#line 7522 "configure" 7342#line 7342 "configure"
7523#include "confdefs.h" 7343#include "confdefs.h"
7524/* System header to define __stub macros and hopefully few prototypes, 7344/* System header to define __stub macros and hopefully few prototypes,
7525 which can conflict with char $ac_func (); below. */ 7345 which can conflict with char $ac_func (); below. */
@@ -7550,16 +7370,16 @@ f = $ac_func;
7550} 7370}
7551_ACEOF 7371_ACEOF
7552rm -f conftest.$ac_objext conftest$ac_exeext 7372rm -f conftest.$ac_objext conftest$ac_exeext
7553if { (eval echo "$as_me:7553: \"$ac_link\"") >&5 7373if { (eval echo "$as_me:7373: \"$ac_link\"") >&5
7554 (eval $ac_link) 2>&5 7374 (eval $ac_link) 2>&5
7555 ac_status=$? 7375 ac_status=$?
7556 echo "$as_me:7556: \$? = $ac_status" >&5 7376 echo "$as_me:7376: \$? = $ac_status" >&5
7557 (exit $ac_status); } && 7377 (exit $ac_status); } &&
7558 { ac_try='test -s conftest$ac_exeext' 7378 { ac_try='test -s conftest$ac_exeext'
7559 { (eval echo "$as_me:7559: \"$ac_try\"") >&5 7379 { (eval echo "$as_me:7379: \"$ac_try\"") >&5
7560 (eval $ac_try) 2>&5 7380 (eval $ac_try) 2>&5
7561 ac_status=$? 7381 ac_status=$?
7562 echo "$as_me:7562: \$? = $ac_status" >&5 7382 echo "$as_me:7382: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then 7383 (exit $ac_status); }; }; then
7564 eval "$as_ac_var=yes" 7384 eval "$as_ac_var=yes"
7565else 7385else
@@ -7569,7 +7389,7 @@ eval "$as_ac_var=no"
7569fi 7389fi
7570rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7390rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7571fi 7391fi
7572echo "$as_me:7572: result: `eval echo '${'$as_ac_var'}'`" >&5 7392echo "$as_me:7392: result: `eval echo '${'$as_ac_var'}'`" >&5
7573echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7393echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7574if test `eval echo '${'$as_ac_var'}'` = yes; then 7394if test `eval echo '${'$as_ac_var'}'` = yes; then
7575 cat >>confdefs.h <<EOF 7395 cat >>confdefs.h <<EOF
@@ -7582,13 +7402,13 @@ done
7582for ac_func in endutxent getutxent getutxid getutxline pututxline 7402for ac_func in endutxent getutxent getutxid getutxline pututxline
7583do 7403do
7584as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7404as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7585echo "$as_me:7585: checking for $ac_func" >&5 7405echo "$as_me:7405: checking for $ac_func" >&5
7586echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7406echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7587if eval "test \"\${$as_ac_var+set}\" = set"; then 7407if eval "test \"\${$as_ac_var+set}\" = set"; then
7588 echo $ECHO_N "(cached) $ECHO_C" >&6 7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7589else 7409else
7590 cat >conftest.$ac_ext <<_ACEOF 7410 cat >conftest.$ac_ext <<_ACEOF
7591#line 7591 "configure" 7411#line 7411 "configure"
7592#include "confdefs.h" 7412#include "confdefs.h"
7593/* System header to define __stub macros and hopefully few prototypes, 7413/* System header to define __stub macros and hopefully few prototypes,
7594 which can conflict with char $ac_func (); below. */ 7414 which can conflict with char $ac_func (); below. */
@@ -7619,16 +7439,16 @@ f = $ac_func;
7619} 7439}
7620_ACEOF 7440_ACEOF
7621rm -f conftest.$ac_objext conftest$ac_exeext 7441rm -f conftest.$ac_objext conftest$ac_exeext
7622if { (eval echo "$as_me:7622: \"$ac_link\"") >&5 7442if { (eval echo "$as_me:7442: \"$ac_link\"") >&5
7623 (eval $ac_link) 2>&5 7443 (eval $ac_link) 2>&5
7624 ac_status=$? 7444 ac_status=$?
7625 echo "$as_me:7625: \$? = $ac_status" >&5 7445 echo "$as_me:7445: \$? = $ac_status" >&5
7626 (exit $ac_status); } && 7446 (exit $ac_status); } &&
7627 { ac_try='test -s conftest$ac_exeext' 7447 { ac_try='test -s conftest$ac_exeext'
7628 { (eval echo "$as_me:7628: \"$ac_try\"") >&5 7448 { (eval echo "$as_me:7448: \"$ac_try\"") >&5
7629 (eval $ac_try) 2>&5 7449 (eval $ac_try) 2>&5
7630 ac_status=$? 7450 ac_status=$?
7631 echo "$as_me:7631: \$? = $ac_status" >&5 7451 echo "$as_me:7451: \$? = $ac_status" >&5
7632 (exit $ac_status); }; }; then 7452 (exit $ac_status); }; }; then
7633 eval "$as_ac_var=yes" 7453 eval "$as_ac_var=yes"
7634else 7454else
@@ -7638,7 +7458,7 @@ eval "$as_ac_var=no"
7638fi 7458fi
7639rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7459rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7640fi 7460fi
7641echo "$as_me:7641: result: `eval echo '${'$as_ac_var'}'`" >&5 7461echo "$as_me:7461: result: `eval echo '${'$as_ac_var'}'`" >&5
7642echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7462echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7643if test `eval echo '${'$as_ac_var'}'` = yes; then 7463if test `eval echo '${'$as_ac_var'}'` = yes; then
7644 cat >>confdefs.h <<EOF 7464 cat >>confdefs.h <<EOF
@@ -7651,13 +7471,13 @@ done
7651for ac_func in setutxent utmpxname 7471for ac_func in setutxent utmpxname
7652do 7472do
7653as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7473as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7654echo "$as_me:7654: checking for $ac_func" >&5 7474echo "$as_me:7474: checking for $ac_func" >&5
7655echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7475echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7656if eval "test \"\${$as_ac_var+set}\" = set"; then 7476if eval "test \"\${$as_ac_var+set}\" = set"; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6 7477 echo $ECHO_N "(cached) $ECHO_C" >&6
7658else 7478else
7659 cat >conftest.$ac_ext <<_ACEOF 7479 cat >conftest.$ac_ext <<_ACEOF
7660#line 7660 "configure" 7480#line 7480 "configure"
7661#include "confdefs.h" 7481#include "confdefs.h"
7662/* System header to define __stub macros and hopefully few prototypes, 7482/* System header to define __stub macros and hopefully few prototypes,
7663 which can conflict with char $ac_func (); below. */ 7483 which can conflict with char $ac_func (); below. */
@@ -7688,16 +7508,16 @@ f = $ac_func;
7688} 7508}
7689_ACEOF 7509_ACEOF
7690rm -f conftest.$ac_objext conftest$ac_exeext 7510rm -f conftest.$ac_objext conftest$ac_exeext
7691if { (eval echo "$as_me:7691: \"$ac_link\"") >&5 7511if { (eval echo "$as_me:7511: \"$ac_link\"") >&5
7692 (eval $ac_link) 2>&5 7512 (eval $ac_link) 2>&5
7693 ac_status=$? 7513 ac_status=$?
7694 echo "$as_me:7694: \$? = $ac_status" >&5 7514 echo "$as_me:7514: \$? = $ac_status" >&5
7695 (exit $ac_status); } && 7515 (exit $ac_status); } &&
7696 { ac_try='test -s conftest$ac_exeext' 7516 { ac_try='test -s conftest$ac_exeext'
7697 { (eval echo "$as_me:7697: \"$ac_try\"") >&5 7517 { (eval echo "$as_me:7517: \"$ac_try\"") >&5
7698 (eval $ac_try) 2>&5 7518 (eval $ac_try) 2>&5
7699 ac_status=$? 7519 ac_status=$?
7700 echo "$as_me:7700: \$? = $ac_status" >&5 7520 echo "$as_me:7520: \$? = $ac_status" >&5
7701 (exit $ac_status); }; }; then 7521 (exit $ac_status); }; }; then
7702 eval "$as_ac_var=yes" 7522 eval "$as_ac_var=yes"
7703else 7523else
@@ -7707,7 +7527,7 @@ eval "$as_ac_var=no"
7707fi 7527fi
7708rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7528rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7709fi 7529fi
7710echo "$as_me:7710: result: `eval echo '${'$as_ac_var'}'`" >&5 7530echo "$as_me:7530: result: `eval echo '${'$as_ac_var'}'`" >&5
7711echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7531echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7712if test `eval echo '${'$as_ac_var'}'` = yes; then 7532if test `eval echo '${'$as_ac_var'}'` = yes; then
7713 cat >>confdefs.h <<EOF 7533 cat >>confdefs.h <<EOF
@@ -7717,13 +7537,13 @@ EOF
7717fi 7537fi
7718done 7538done
7719 7539
7720echo "$as_me:7720: checking for daemon" >&5 7540echo "$as_me:7540: checking for daemon" >&5
7721echo $ECHO_N "checking for daemon... $ECHO_C" >&6 7541echo $ECHO_N "checking for daemon... $ECHO_C" >&6
7722if test "${ac_cv_func_daemon+set}" = set; then 7542if test "${ac_cv_func_daemon+set}" = set; then
7723 echo $ECHO_N "(cached) $ECHO_C" >&6 7543 echo $ECHO_N "(cached) $ECHO_C" >&6
7724else 7544else
7725 cat >conftest.$ac_ext <<_ACEOF 7545 cat >conftest.$ac_ext <<_ACEOF
7726#line 7726 "configure" 7546#line 7546 "configure"
7727#include "confdefs.h" 7547#include "confdefs.h"
7728/* System header to define __stub macros and hopefully few prototypes, 7548/* System header to define __stub macros and hopefully few prototypes,
7729 which can conflict with char daemon (); below. */ 7549 which can conflict with char daemon (); below. */
@@ -7754,16 +7574,16 @@ f = daemon;
7754} 7574}
7755_ACEOF 7575_ACEOF
7756rm -f conftest.$ac_objext conftest$ac_exeext 7576rm -f conftest.$ac_objext conftest$ac_exeext
7757if { (eval echo "$as_me:7757: \"$ac_link\"") >&5 7577if { (eval echo "$as_me:7577: \"$ac_link\"") >&5
7758 (eval $ac_link) 2>&5 7578 (eval $ac_link) 2>&5
7759 ac_status=$? 7579 ac_status=$?
7760 echo "$as_me:7760: \$? = $ac_status" >&5 7580 echo "$as_me:7580: \$? = $ac_status" >&5
7761 (exit $ac_status); } && 7581 (exit $ac_status); } &&
7762 { ac_try='test -s conftest$ac_exeext' 7582 { ac_try='test -s conftest$ac_exeext'
7763 { (eval echo "$as_me:7763: \"$ac_try\"") >&5 7583 { (eval echo "$as_me:7583: \"$ac_try\"") >&5
7764 (eval $ac_try) 2>&5 7584 (eval $ac_try) 2>&5
7765 ac_status=$? 7585 ac_status=$?
7766 echo "$as_me:7766: \$? = $ac_status" >&5 7586 echo "$as_me:7586: \$? = $ac_status" >&5
7767 (exit $ac_status); }; }; then 7587 (exit $ac_status); }; }; then
7768 ac_cv_func_daemon=yes 7588 ac_cv_func_daemon=yes
7769else 7589else
@@ -7773,7 +7593,7 @@ ac_cv_func_daemon=no
7773fi 7593fi
7774rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7594rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7775fi 7595fi
7776echo "$as_me:7776: result: $ac_cv_func_daemon" >&5 7596echo "$as_me:7596: result: $ac_cv_func_daemon" >&5
7777echo "${ECHO_T}$ac_cv_func_daemon" >&6 7597echo "${ECHO_T}$ac_cv_func_daemon" >&6
7778if test $ac_cv_func_daemon = yes; then 7598if test $ac_cv_func_daemon = yes; then
7779 cat >>confdefs.h <<\EOF 7599 cat >>confdefs.h <<\EOF
@@ -7781,7 +7601,7 @@ if test $ac_cv_func_daemon = yes; then
7781EOF 7601EOF
7782 7602
7783else 7603else
7784 echo "$as_me:7784: checking for daemon in -lbsd" >&5 7604 echo "$as_me:7604: checking for daemon in -lbsd" >&5
7785echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 7605echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6
7786if test "${ac_cv_lib_bsd_daemon+set}" = set; then 7606if test "${ac_cv_lib_bsd_daemon+set}" = set; then
7787 echo $ECHO_N "(cached) $ECHO_C" >&6 7607 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7789,7 +7609,7 @@ else
7789 ac_check_lib_save_LIBS=$LIBS 7609 ac_check_lib_save_LIBS=$LIBS
7790LIBS="-lbsd $LIBS" 7610LIBS="-lbsd $LIBS"
7791cat >conftest.$ac_ext <<_ACEOF 7611cat >conftest.$ac_ext <<_ACEOF
7792#line 7792 "configure" 7612#line 7612 "configure"
7793#include "confdefs.h" 7613#include "confdefs.h"
7794 7614
7795/* Override any gcc2 internal prototype to avoid an error. */ 7615/* Override any gcc2 internal prototype to avoid an error. */
@@ -7808,16 +7628,16 @@ daemon ();
7808} 7628}
7809_ACEOF 7629_ACEOF
7810rm -f conftest.$ac_objext conftest$ac_exeext 7630rm -f conftest.$ac_objext conftest$ac_exeext
7811if { (eval echo "$as_me:7811: \"$ac_link\"") >&5 7631if { (eval echo "$as_me:7631: \"$ac_link\"") >&5
7812 (eval $ac_link) 2>&5 7632 (eval $ac_link) 2>&5
7813 ac_status=$? 7633 ac_status=$?
7814 echo "$as_me:7814: \$? = $ac_status" >&5 7634 echo "$as_me:7634: \$? = $ac_status" >&5
7815 (exit $ac_status); } && 7635 (exit $ac_status); } &&
7816 { ac_try='test -s conftest$ac_exeext' 7636 { ac_try='test -s conftest$ac_exeext'
7817 { (eval echo "$as_me:7817: \"$ac_try\"") >&5 7637 { (eval echo "$as_me:7637: \"$ac_try\"") >&5
7818 (eval $ac_try) 2>&5 7638 (eval $ac_try) 2>&5
7819 ac_status=$? 7639 ac_status=$?
7820 echo "$as_me:7820: \$? = $ac_status" >&5 7640 echo "$as_me:7640: \$? = $ac_status" >&5
7821 (exit $ac_status); }; }; then 7641 (exit $ac_status); }; }; then
7822 ac_cv_lib_bsd_daemon=yes 7642 ac_cv_lib_bsd_daemon=yes
7823else 7643else
@@ -7828,7 +7648,7 @@ fi
7828rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7648rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7829LIBS=$ac_check_lib_save_LIBS 7649LIBS=$ac_check_lib_save_LIBS
7830fi 7650fi
7831echo "$as_me:7831: result: $ac_cv_lib_bsd_daemon" >&5 7651echo "$as_me:7651: result: $ac_cv_lib_bsd_daemon" >&5
7832echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 7652echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6
7833if test $ac_cv_lib_bsd_daemon = yes; then 7653if test $ac_cv_lib_bsd_daemon = yes; then
7834 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF 7654 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF
@@ -7839,13 +7659,13 @@ fi
7839 7659
7840fi 7660fi
7841 7661
7842echo "$as_me:7842: checking for getpagesize" >&5 7662echo "$as_me:7662: checking for getpagesize" >&5
7843echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 7663echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6
7844if test "${ac_cv_func_getpagesize+set}" = set; then 7664if test "${ac_cv_func_getpagesize+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6 7665 echo $ECHO_N "(cached) $ECHO_C" >&6
7846else 7666else
7847 cat >conftest.$ac_ext <<_ACEOF 7667 cat >conftest.$ac_ext <<_ACEOF
7848#line 7848 "configure" 7668#line 7668 "configure"
7849#include "confdefs.h" 7669#include "confdefs.h"
7850/* System header to define __stub macros and hopefully few prototypes, 7670/* System header to define __stub macros and hopefully few prototypes,
7851 which can conflict with char getpagesize (); below. */ 7671 which can conflict with char getpagesize (); below. */
@@ -7876,16 +7696,16 @@ f = getpagesize;
7876} 7696}
7877_ACEOF 7697_ACEOF
7878rm -f conftest.$ac_objext conftest$ac_exeext 7698rm -f conftest.$ac_objext conftest$ac_exeext
7879if { (eval echo "$as_me:7879: \"$ac_link\"") >&5 7699if { (eval echo "$as_me:7699: \"$ac_link\"") >&5
7880 (eval $ac_link) 2>&5 7700 (eval $ac_link) 2>&5
7881 ac_status=$? 7701 ac_status=$?
7882 echo "$as_me:7882: \$? = $ac_status" >&5 7702 echo "$as_me:7702: \$? = $ac_status" >&5
7883 (exit $ac_status); } && 7703 (exit $ac_status); } &&
7884 { ac_try='test -s conftest$ac_exeext' 7704 { ac_try='test -s conftest$ac_exeext'
7885 { (eval echo "$as_me:7885: \"$ac_try\"") >&5 7705 { (eval echo "$as_me:7705: \"$ac_try\"") >&5
7886 (eval $ac_try) 2>&5 7706 (eval $ac_try) 2>&5
7887 ac_status=$? 7707 ac_status=$?
7888 echo "$as_me:7888: \$? = $ac_status" >&5 7708 echo "$as_me:7708: \$? = $ac_status" >&5
7889 (exit $ac_status); }; }; then 7709 (exit $ac_status); }; }; then
7890 ac_cv_func_getpagesize=yes 7710 ac_cv_func_getpagesize=yes
7891else 7711else
@@ -7895,7 +7715,7 @@ ac_cv_func_getpagesize=no
7895fi 7715fi
7896rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7716rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7897fi 7717fi
7898echo "$as_me:7898: result: $ac_cv_func_getpagesize" >&5 7718echo "$as_me:7718: result: $ac_cv_func_getpagesize" >&5
7899echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 7719echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
7900if test $ac_cv_func_getpagesize = yes; then 7720if test $ac_cv_func_getpagesize = yes; then
7901 cat >>confdefs.h <<\EOF 7721 cat >>confdefs.h <<\EOF
@@ -7903,7 +7723,7 @@ if test $ac_cv_func_getpagesize = yes; then
7903EOF 7723EOF
7904 7724
7905else 7725else
7906 echo "$as_me:7906: checking for getpagesize in -lucb" >&5 7726 echo "$as_me:7726: checking for getpagesize in -lucb" >&5
7907echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 7727echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6
7908if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then 7728if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6 7729 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7911,7 +7731,7 @@ else
7911 ac_check_lib_save_LIBS=$LIBS 7731 ac_check_lib_save_LIBS=$LIBS
7912LIBS="-lucb $LIBS" 7732LIBS="-lucb $LIBS"
7913cat >conftest.$ac_ext <<_ACEOF 7733cat >conftest.$ac_ext <<_ACEOF
7914#line 7914 "configure" 7734#line 7734 "configure"
7915#include "confdefs.h" 7735#include "confdefs.h"
7916 7736
7917/* Override any gcc2 internal prototype to avoid an error. */ 7737/* Override any gcc2 internal prototype to avoid an error. */
@@ -7930,16 +7750,16 @@ getpagesize ();
7930} 7750}
7931_ACEOF 7751_ACEOF
7932rm -f conftest.$ac_objext conftest$ac_exeext 7752rm -f conftest.$ac_objext conftest$ac_exeext
7933if { (eval echo "$as_me:7933: \"$ac_link\"") >&5 7753if { (eval echo "$as_me:7753: \"$ac_link\"") >&5
7934 (eval $ac_link) 2>&5 7754 (eval $ac_link) 2>&5
7935 ac_status=$? 7755 ac_status=$?
7936 echo "$as_me:7936: \$? = $ac_status" >&5 7756 echo "$as_me:7756: \$? = $ac_status" >&5
7937 (exit $ac_status); } && 7757 (exit $ac_status); } &&
7938 { ac_try='test -s conftest$ac_exeext' 7758 { ac_try='test -s conftest$ac_exeext'
7939 { (eval echo "$as_me:7939: \"$ac_try\"") >&5 7759 { (eval echo "$as_me:7759: \"$ac_try\"") >&5
7940 (eval $ac_try) 2>&5 7760 (eval $ac_try) 2>&5
7941 ac_status=$? 7761 ac_status=$?
7942 echo "$as_me:7942: \$? = $ac_status" >&5 7762 echo "$as_me:7762: \$? = $ac_status" >&5
7943 (exit $ac_status); }; }; then 7763 (exit $ac_status); }; }; then
7944 ac_cv_lib_ucb_getpagesize=yes 7764 ac_cv_lib_ucb_getpagesize=yes
7945else 7765else
@@ -7950,7 +7770,7 @@ fi
7950rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7770rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7951LIBS=$ac_check_lib_save_LIBS 7771LIBS=$ac_check_lib_save_LIBS
7952fi 7772fi
7953echo "$as_me:7953: result: $ac_cv_lib_ucb_getpagesize" >&5 7773echo "$as_me:7773: result: $ac_cv_lib_ucb_getpagesize" >&5
7954echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 7774echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6
7955if test $ac_cv_lib_ucb_getpagesize = yes; then 7775if test $ac_cv_lib_ucb_getpagesize = yes; then
7956 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF 7776 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF
@@ -7963,15 +7783,15 @@ fi
7963 7783
7964# Check for broken snprintf 7784# Check for broken snprintf
7965if test "x$ac_cv_func_snprintf" = "xyes" ; then 7785if test "x$ac_cv_func_snprintf" = "xyes" ; then
7966 echo "$as_me:7966: checking whether snprintf correctly terminates long strings" >&5 7786 echo "$as_me:7786: checking whether snprintf correctly terminates long strings" >&5
7967echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 7787echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
7968 if test "$cross_compiling" = yes; then 7788 if test "$cross_compiling" = yes; then
7969 { { echo "$as_me:7969: error: cannot run test program while cross compiling" >&5 7789 { { echo "$as_me:7789: error: cannot run test program while cross compiling" >&5
7970echo "$as_me: error: cannot run test program while cross compiling" >&2;} 7790echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7971 { (exit 1); exit 1; }; } 7791 { (exit 1); exit 1; }; }
7972else 7792else
7973 cat >conftest.$ac_ext <<_ACEOF 7793 cat >conftest.$ac_ext <<_ACEOF
7974#line 7974 "configure" 7794#line 7794 "configure"
7975#include "confdefs.h" 7795#include "confdefs.h"
7976 7796
7977#include <stdio.h> 7797#include <stdio.h>
@@ -7979,30 +7799,30 @@ int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
7979 7799
7980_ACEOF 7800_ACEOF
7981rm -f conftest$ac_exeext 7801rm -f conftest$ac_exeext
7982if { (eval echo "$as_me:7982: \"$ac_link\"") >&5 7802if { (eval echo "$as_me:7802: \"$ac_link\"") >&5
7983 (eval $ac_link) 2>&5 7803 (eval $ac_link) 2>&5
7984 ac_status=$? 7804 ac_status=$?
7985 echo "$as_me:7985: \$? = $ac_status" >&5 7805 echo "$as_me:7805: \$? = $ac_status" >&5
7986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7987 { (eval echo "$as_me:7987: \"$ac_try\"") >&5 7807 { (eval echo "$as_me:7807: \"$ac_try\"") >&5
7988 (eval $ac_try) 2>&5 7808 (eval $ac_try) 2>&5
7989 ac_status=$? 7809 ac_status=$?
7990 echo "$as_me:7990: \$? = $ac_status" >&5 7810 echo "$as_me:7810: \$? = $ac_status" >&5
7991 (exit $ac_status); }; }; then 7811 (exit $ac_status); }; }; then
7992 echo "$as_me:7992: result: yes" >&5 7812 echo "$as_me:7812: result: yes" >&5
7993echo "${ECHO_T}yes" >&6 7813echo "${ECHO_T}yes" >&6
7994else 7814else
7995 echo "$as_me: program exited with status $ac_status" >&5 7815 echo "$as_me: program exited with status $ac_status" >&5
7996echo "$as_me: failed program was:" >&5 7816echo "$as_me: failed program was:" >&5
7997cat conftest.$ac_ext >&5 7817cat conftest.$ac_ext >&5
7998 7818
7999 echo "$as_me:7999: result: no" >&5 7819 echo "$as_me:7819: result: no" >&5
8000echo "${ECHO_T}no" >&6 7820echo "${ECHO_T}no" >&6
8001 cat >>confdefs.h <<\EOF 7821 cat >>confdefs.h <<\EOF
8002#define BROKEN_SNPRINTF 1 7822#define BROKEN_SNPRINTF 1
8003EOF 7823EOF
8004 7824
8005 { echo "$as_me:8005: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 7825 { echo "$as_me:7825: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
8006echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} 7826echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
8007 7827
8008fi 7828fi
@@ -8011,11 +7831,11 @@ fi
8011fi 7831fi
8012 7832
8013if test "x$ac_cv_func_mkdtemp" = "xyes" ; then 7833if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
8014echo "$as_me:8014: checking for (overly) strict mkstemp" >&5 7834echo "$as_me:7834: checking for (overly) strict mkstemp" >&5
8015echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 7835echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6
8016if test "$cross_compiling" = yes; then 7836if test "$cross_compiling" = yes; then
8017 7837
8018 echo "$as_me:8018: result: yes" >&5 7838 echo "$as_me:7838: result: yes" >&5
8019echo "${ECHO_T}yes" >&6 7839echo "${ECHO_T}yes" >&6
8020 cat >>confdefs.h <<\EOF 7840 cat >>confdefs.h <<\EOF
8021#define HAVE_STRICT_MKSTEMP 1 7841#define HAVE_STRICT_MKSTEMP 1
@@ -8023,7 +7843,7 @@ EOF
8023 7843
8024else 7844else
8025 cat >conftest.$ac_ext <<_ACEOF 7845 cat >conftest.$ac_ext <<_ACEOF
8026#line 8026 "configure" 7846#line 7846 "configure"
8027#include "confdefs.h" 7847#include "confdefs.h"
8028 7848
8029#include <stdlib.h> 7849#include <stdlib.h>
@@ -8035,18 +7855,18 @@ unlink(template); exit(0);
8035 7855
8036_ACEOF 7856_ACEOF
8037rm -f conftest$ac_exeext 7857rm -f conftest$ac_exeext
8038if { (eval echo "$as_me:8038: \"$ac_link\"") >&5 7858if { (eval echo "$as_me:7858: \"$ac_link\"") >&5
8039 (eval $ac_link) 2>&5 7859 (eval $ac_link) 2>&5
8040 ac_status=$? 7860 ac_status=$?
8041 echo "$as_me:8041: \$? = $ac_status" >&5 7861 echo "$as_me:7861: \$? = $ac_status" >&5
8042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8043 { (eval echo "$as_me:8043: \"$ac_try\"") >&5 7863 { (eval echo "$as_me:7863: \"$ac_try\"") >&5
8044 (eval $ac_try) 2>&5 7864 (eval $ac_try) 2>&5
8045 ac_status=$? 7865 ac_status=$?
8046 echo "$as_me:8046: \$? = $ac_status" >&5 7866 echo "$as_me:7866: \$? = $ac_status" >&5
8047 (exit $ac_status); }; }; then 7867 (exit $ac_status); }; }; then
8048 7868
8049 echo "$as_me:8049: result: no" >&5 7869 echo "$as_me:7869: result: no" >&5
8050echo "${ECHO_T}no" >&6 7870echo "${ECHO_T}no" >&6
8051 7871
8052else 7872else
@@ -8054,7 +7874,7 @@ else
8054echo "$as_me: failed program was:" >&5 7874echo "$as_me: failed program was:" >&5
8055cat conftest.$ac_ext >&5 7875cat conftest.$ac_ext >&5
8056 7876
8057 echo "$as_me:8057: result: yes" >&5 7877 echo "$as_me:7877: result: yes" >&5
8058echo "${ECHO_T}yes" >&6 7878echo "${ECHO_T}yes" >&6
8059 cat >>confdefs.h <<\EOF 7879 cat >>confdefs.h <<\EOF
8060#define HAVE_STRICT_MKSTEMP 1 7880#define HAVE_STRICT_MKSTEMP 1
@@ -8066,15 +7886,15 @@ fi
8066fi 7886fi
8067 7887
8068if test ! -z "$check_for_openpty_ctty_bug"; then 7888if test ! -z "$check_for_openpty_ctty_bug"; then
8069 echo "$as_me:8069: checking if openpty correctly handles controlling tty" >&5 7889 echo "$as_me:7889: checking if openpty correctly handles controlling tty" >&5
8070echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 7890echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6
8071 if test "$cross_compiling" = yes; then 7891 if test "$cross_compiling" = yes; then
8072 { { echo "$as_me:8072: error: cannot run test program while cross compiling" >&5 7892 { { echo "$as_me:7892: error: cannot run test program while cross compiling" >&5
8073echo "$as_me: error: cannot run test program while cross compiling" >&2;} 7893echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8074 { (exit 1); exit 1; }; } 7894 { (exit 1); exit 1; }; }
8075else 7895else
8076 cat >conftest.$ac_ext <<_ACEOF 7896 cat >conftest.$ac_ext <<_ACEOF
8077#line 8077 "configure" 7897#line 7897 "configure"
8078#include "confdefs.h" 7898#include "confdefs.h"
8079 7899
8080#include <stdio.h> 7900#include <stdio.h>
@@ -8111,18 +7931,18 @@ main()
8111 7931
8112_ACEOF 7932_ACEOF
8113rm -f conftest$ac_exeext 7933rm -f conftest$ac_exeext
8114if { (eval echo "$as_me:8114: \"$ac_link\"") >&5 7934if { (eval echo "$as_me:7934: \"$ac_link\"") >&5
8115 (eval $ac_link) 2>&5 7935 (eval $ac_link) 2>&5
8116 ac_status=$? 7936 ac_status=$?
8117 echo "$as_me:8117: \$? = $ac_status" >&5 7937 echo "$as_me:7937: \$? = $ac_status" >&5
8118 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8119 { (eval echo "$as_me:8119: \"$ac_try\"") >&5 7939 { (eval echo "$as_me:7939: \"$ac_try\"") >&5
8120 (eval $ac_try) 2>&5 7940 (eval $ac_try) 2>&5
8121 ac_status=$? 7941 ac_status=$?
8122 echo "$as_me:8122: \$? = $ac_status" >&5 7942 echo "$as_me:7942: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then 7943 (exit $ac_status); }; }; then
8124 7944
8125 echo "$as_me:8125: result: yes" >&5 7945 echo "$as_me:7945: result: yes" >&5
8126echo "${ECHO_T}yes" >&6 7946echo "${ECHO_T}yes" >&6
8127 7947
8128else 7948else
@@ -8130,7 +7950,7 @@ else
8130echo "$as_me: failed program was:" >&5 7950echo "$as_me: failed program was:" >&5
8131cat conftest.$ac_ext >&5 7951cat conftest.$ac_ext >&5
8132 7952
8133 echo "$as_me:8133: result: no" >&5 7953 echo "$as_me:7953: result: no" >&5
8134echo "${ECHO_T}no" >&6 7954echo "${ECHO_T}no" >&6
8135 cat >>confdefs.h <<\EOF 7955 cat >>confdefs.h <<\EOF
8136#define SSHD_ACQUIRES_CTTY 1 7956#define SSHD_ACQUIRES_CTTY 1
@@ -8141,14 +7961,14 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8141fi 7961fi
8142fi 7962fi
8143 7963
8144echo "$as_me:8144: checking whether getpgrp takes no argument" >&5 7964echo "$as_me:7964: checking whether getpgrp takes no argument" >&5
8145echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6 7965echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6
8146if test "${ac_cv_func_getpgrp_void+set}" = set; then 7966if test "${ac_cv_func_getpgrp_void+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6 7967 echo $ECHO_N "(cached) $ECHO_C" >&6
8148else 7968else
8149 # Use it with a single arg. 7969 # Use it with a single arg.
8150cat >conftest.$ac_ext <<_ACEOF 7970cat >conftest.$ac_ext <<_ACEOF
8151#line 8151 "configure" 7971#line 7971 "configure"
8152#include "confdefs.h" 7972#include "confdefs.h"
8153$ac_includes_default 7973$ac_includes_default
8154int 7974int
@@ -8160,16 +7980,16 @@ getpgrp (0);
8160} 7980}
8161_ACEOF 7981_ACEOF
8162rm -f conftest.$ac_objext 7982rm -f conftest.$ac_objext
8163if { (eval echo "$as_me:8163: \"$ac_compile\"") >&5 7983if { (eval echo "$as_me:7983: \"$ac_compile\"") >&5
8164 (eval $ac_compile) 2>&5 7984 (eval $ac_compile) 2>&5
8165 ac_status=$? 7985 ac_status=$?
8166 echo "$as_me:8166: \$? = $ac_status" >&5 7986 echo "$as_me:7986: \$? = $ac_status" >&5
8167 (exit $ac_status); } && 7987 (exit $ac_status); } &&
8168 { ac_try='test -s conftest.$ac_objext' 7988 { ac_try='test -s conftest.$ac_objext'
8169 { (eval echo "$as_me:8169: \"$ac_try\"") >&5 7989 { (eval echo "$as_me:7989: \"$ac_try\"") >&5
8170 (eval $ac_try) 2>&5 7990 (eval $ac_try) 2>&5
8171 ac_status=$? 7991 ac_status=$?
8172 echo "$as_me:8172: \$? = $ac_status" >&5 7992 echo "$as_me:7992: \$? = $ac_status" >&5
8173 (exit $ac_status); }; }; then 7993 (exit $ac_status); }; }; then
8174 ac_func_getpgrp_1=yes 7994 ac_func_getpgrp_1=yes
8175else 7995else
@@ -8180,7 +8000,7 @@ fi
8180rm -f conftest.$ac_objext conftest.$ac_ext 8000rm -f conftest.$ac_objext conftest.$ac_ext
8181# Use it with no arg. 8001# Use it with no arg.
8182cat >conftest.$ac_ext <<_ACEOF 8002cat >conftest.$ac_ext <<_ACEOF
8183#line 8183 "configure" 8003#line 8003 "configure"
8184#include "confdefs.h" 8004#include "confdefs.h"
8185$ac_includes_default 8005$ac_includes_default
8186int 8006int
@@ -8192,16 +8012,16 @@ getpgrp ();
8192} 8012}
8193_ACEOF 8013_ACEOF
8194rm -f conftest.$ac_objext 8014rm -f conftest.$ac_objext
8195if { (eval echo "$as_me:8195: \"$ac_compile\"") >&5 8015if { (eval echo "$as_me:8015: \"$ac_compile\"") >&5
8196 (eval $ac_compile) 2>&5 8016 (eval $ac_compile) 2>&5
8197 ac_status=$? 8017 ac_status=$?
8198 echo "$as_me:8198: \$? = $ac_status" >&5 8018 echo "$as_me:8018: \$? = $ac_status" >&5
8199 (exit $ac_status); } && 8019 (exit $ac_status); } &&
8200 { ac_try='test -s conftest.$ac_objext' 8020 { ac_try='test -s conftest.$ac_objext'
8201 { (eval echo "$as_me:8201: \"$ac_try\"") >&5 8021 { (eval echo "$as_me:8021: \"$ac_try\"") >&5
8202 (eval $ac_try) 2>&5 8022 (eval $ac_try) 2>&5
8203 ac_status=$? 8023 ac_status=$?
8204 echo "$as_me:8204: \$? = $ac_status" >&5 8024 echo "$as_me:8024: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then 8025 (exit $ac_status); }; }; then
8206 ac_func_getpgrp_0=yes 8026 ac_func_getpgrp_0=yes
8207else 8027else
@@ -8215,12 +8035,12 @@ case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in
8215 yes:no) ac_cv_func_getpgrp_void=yes;; 8035 yes:no) ac_cv_func_getpgrp_void=yes;;
8216 no:yes) ac_cv_func_getpgrp_void=false;; 8036 no:yes) ac_cv_func_getpgrp_void=false;;
8217 *) if test "$cross_compiling" = yes; then 8037 *) if test "$cross_compiling" = yes; then
8218 { { echo "$as_me:8218: error: cannot check getpgrp if cross compiling" >&5 8038 { { echo "$as_me:8038: error: cannot check getpgrp if cross compiling" >&5
8219echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;} 8039echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;}
8220 { (exit 1); exit 1; }; } 8040 { (exit 1); exit 1; }; }
8221else 8041else
8222 cat >conftest.$ac_ext <<_ACEOF 8042 cat >conftest.$ac_ext <<_ACEOF
8223#line 8223 "configure" 8043#line 8043 "configure"
8224#include "confdefs.h" 8044#include "confdefs.h"
8225$ac_includes_default 8045$ac_includes_default
8226 8046
@@ -8274,15 +8094,15 @@ main ()
8274 8094
8275_ACEOF 8095_ACEOF
8276rm -f conftest$ac_exeext 8096rm -f conftest$ac_exeext
8277if { (eval echo "$as_me:8277: \"$ac_link\"") >&5 8097if { (eval echo "$as_me:8097: \"$ac_link\"") >&5
8278 (eval $ac_link) 2>&5 8098 (eval $ac_link) 2>&5
8279 ac_status=$? 8099 ac_status=$?
8280 echo "$as_me:8280: \$? = $ac_status" >&5 8100 echo "$as_me:8100: \$? = $ac_status" >&5
8281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8282 { (eval echo "$as_me:8282: \"$ac_try\"") >&5 8102 { (eval echo "$as_me:8102: \"$ac_try\"") >&5
8283 (eval $ac_try) 2>&5 8103 (eval $ac_try) 2>&5
8284 ac_status=$? 8104 ac_status=$?
8285 echo "$as_me:8285: \$? = $ac_status" >&5 8105 echo "$as_me:8105: \$? = $ac_status" >&5
8286 (exit $ac_status); }; }; then 8106 (exit $ac_status); }; }; then
8287 ac_cv_func_getpgrp_void=yes 8107 ac_cv_func_getpgrp_void=yes
8288else 8108else
@@ -8296,7 +8116,7 @@ fi;;
8296esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1 8116esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
8297 8117
8298fi 8118fi
8299echo "$as_me:8299: result: $ac_cv_func_getpgrp_void" >&5 8119echo "$as_me:8119: result: $ac_cv_func_getpgrp_void" >&5
8300echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 8120echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
8301if test $ac_cv_func_getpgrp_void = yes; then 8121if test $ac_cv_func_getpgrp_void = yes; then
8302 8122
@@ -8315,12 +8135,12 @@ if test "${with_pam+set}" = set; then
8315 8135
8316 if test "x$withval" != "xno" ; then 8136 if test "x$withval" != "xno" ; then
8317 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then 8137 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then
8318 { { echo "$as_me:8318: error: PAM headers not found" >&5 8138 { { echo "$as_me:8138: error: PAM headers not found" >&5
8319echo "$as_me: error: PAM headers not found" >&2;} 8139echo "$as_me: error: PAM headers not found" >&2;}
8320 { (exit 1); exit 1; }; } 8140 { (exit 1); exit 1; }; }
8321 fi 8141 fi
8322 8142
8323echo "$as_me:8323: checking for dlopen in -ldl" >&5 8143echo "$as_me:8143: checking for dlopen in -ldl" >&5
8324echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 8144echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8325if test "${ac_cv_lib_dl_dlopen+set}" = set; then 8145if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8326 echo $ECHO_N "(cached) $ECHO_C" >&6 8146 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8328,7 +8148,7 @@ else
8328 ac_check_lib_save_LIBS=$LIBS 8148 ac_check_lib_save_LIBS=$LIBS
8329LIBS="-ldl $LIBS" 8149LIBS="-ldl $LIBS"
8330cat >conftest.$ac_ext <<_ACEOF 8150cat >conftest.$ac_ext <<_ACEOF
8331#line 8331 "configure" 8151#line 8151 "configure"
8332#include "confdefs.h" 8152#include "confdefs.h"
8333 8153
8334/* Override any gcc2 internal prototype to avoid an error. */ 8154/* Override any gcc2 internal prototype to avoid an error. */
@@ -8347,16 +8167,16 @@ dlopen ();
8347} 8167}
8348_ACEOF 8168_ACEOF
8349rm -f conftest.$ac_objext conftest$ac_exeext 8169rm -f conftest.$ac_objext conftest$ac_exeext
8350if { (eval echo "$as_me:8350: \"$ac_link\"") >&5 8170if { (eval echo "$as_me:8170: \"$ac_link\"") >&5
8351 (eval $ac_link) 2>&5 8171 (eval $ac_link) 2>&5
8352 ac_status=$? 8172 ac_status=$?
8353 echo "$as_me:8353: \$? = $ac_status" >&5 8173 echo "$as_me:8173: \$? = $ac_status" >&5
8354 (exit $ac_status); } && 8174 (exit $ac_status); } &&
8355 { ac_try='test -s conftest$ac_exeext' 8175 { ac_try='test -s conftest$ac_exeext'
8356 { (eval echo "$as_me:8356: \"$ac_try\"") >&5 8176 { (eval echo "$as_me:8176: \"$ac_try\"") >&5
8357 (eval $ac_try) 2>&5 8177 (eval $ac_try) 2>&5
8358 ac_status=$? 8178 ac_status=$?
8359 echo "$as_me:8359: \$? = $ac_status" >&5 8179 echo "$as_me:8179: \$? = $ac_status" >&5
8360 (exit $ac_status); }; }; then 8180 (exit $ac_status); }; }; then
8361 ac_cv_lib_dl_dlopen=yes 8181 ac_cv_lib_dl_dlopen=yes
8362else 8182else
@@ -8367,7 +8187,7 @@ fi
8367rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8187rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8368LIBS=$ac_check_lib_save_LIBS 8188LIBS=$ac_check_lib_save_LIBS
8369fi 8189fi
8370echo "$as_me:8370: result: $ac_cv_lib_dl_dlopen" >&5 8190echo "$as_me:8190: result: $ac_cv_lib_dl_dlopen" >&5
8371echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 8191echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8372if test $ac_cv_lib_dl_dlopen = yes; then 8192if test $ac_cv_lib_dl_dlopen = yes; then
8373 cat >>confdefs.h <<EOF 8193 cat >>confdefs.h <<EOF
@@ -8378,7 +8198,7 @@ EOF
8378 8198
8379fi 8199fi
8380 8200
8381echo "$as_me:8381: checking for pam_set_item in -lpam" >&5 8201echo "$as_me:8201: checking for pam_set_item in -lpam" >&5
8382echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6 8202echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6
8383if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then 8203if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
8384 echo $ECHO_N "(cached) $ECHO_C" >&6 8204 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8386,7 +8206,7 @@ else
8386 ac_check_lib_save_LIBS=$LIBS 8206 ac_check_lib_save_LIBS=$LIBS
8387LIBS="-lpam $LIBS" 8207LIBS="-lpam $LIBS"
8388cat >conftest.$ac_ext <<_ACEOF 8208cat >conftest.$ac_ext <<_ACEOF
8389#line 8389 "configure" 8209#line 8209 "configure"
8390#include "confdefs.h" 8210#include "confdefs.h"
8391 8211
8392/* Override any gcc2 internal prototype to avoid an error. */ 8212/* Override any gcc2 internal prototype to avoid an error. */
@@ -8405,16 +8225,16 @@ pam_set_item ();
8405} 8225}
8406_ACEOF 8226_ACEOF
8407rm -f conftest.$ac_objext conftest$ac_exeext 8227rm -f conftest.$ac_objext conftest$ac_exeext
8408if { (eval echo "$as_me:8408: \"$ac_link\"") >&5 8228if { (eval echo "$as_me:8228: \"$ac_link\"") >&5
8409 (eval $ac_link) 2>&5 8229 (eval $ac_link) 2>&5
8410 ac_status=$? 8230 ac_status=$?
8411 echo "$as_me:8411: \$? = $ac_status" >&5 8231 echo "$as_me:8231: \$? = $ac_status" >&5
8412 (exit $ac_status); } && 8232 (exit $ac_status); } &&
8413 { ac_try='test -s conftest$ac_exeext' 8233 { ac_try='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:8414: \"$ac_try\"") >&5 8234 { (eval echo "$as_me:8234: \"$ac_try\"") >&5
8415 (eval $ac_try) 2>&5 8235 (eval $ac_try) 2>&5
8416 ac_status=$? 8236 ac_status=$?
8417 echo "$as_me:8417: \$? = $ac_status" >&5 8237 echo "$as_me:8237: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then 8238 (exit $ac_status); }; }; then
8419 ac_cv_lib_pam_pam_set_item=yes 8239 ac_cv_lib_pam_pam_set_item=yes
8420else 8240else
@@ -8425,7 +8245,7 @@ fi
8425rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8245rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8426LIBS=$ac_check_lib_save_LIBS 8246LIBS=$ac_check_lib_save_LIBS
8427fi 8247fi
8428echo "$as_me:8428: result: $ac_cv_lib_pam_pam_set_item" >&5 8248echo "$as_me:8248: result: $ac_cv_lib_pam_pam_set_item" >&5
8429echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 8249echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6
8430if test $ac_cv_lib_pam_pam_set_item = yes; then 8250if test $ac_cv_lib_pam_pam_set_item = yes; then
8431 cat >>confdefs.h <<EOF 8251 cat >>confdefs.h <<EOF
@@ -8435,7 +8255,7 @@ EOF
8435 LIBS="-lpam $LIBS" 8255 LIBS="-lpam $LIBS"
8436 8256
8437else 8257else
8438 { { echo "$as_me:8438: error: *** libpam missing" >&5 8258 { { echo "$as_me:8258: error: *** libpam missing" >&5
8439echo "$as_me: error: *** libpam missing" >&2;} 8259echo "$as_me: error: *** libpam missing" >&2;}
8440 { (exit 1); exit 1; }; } 8260 { (exit 1); exit 1; }; }
8441fi 8261fi
@@ -8443,13 +8263,13 @@ fi
8443for ac_func in pam_getenvlist 8263for ac_func in pam_getenvlist
8444do 8264do
8445as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8265as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8446echo "$as_me:8446: checking for $ac_func" >&5 8266echo "$as_me:8266: checking for $ac_func" >&5
8447echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8267echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8448if eval "test \"\${$as_ac_var+set}\" = set"; then 8268if eval "test \"\${$as_ac_var+set}\" = set"; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6 8269 echo $ECHO_N "(cached) $ECHO_C" >&6
8450else 8270else
8451 cat >conftest.$ac_ext <<_ACEOF 8271 cat >conftest.$ac_ext <<_ACEOF
8452#line 8452 "configure" 8272#line 8272 "configure"
8453#include "confdefs.h" 8273#include "confdefs.h"
8454/* System header to define __stub macros and hopefully few prototypes, 8274/* System header to define __stub macros and hopefully few prototypes,
8455 which can conflict with char $ac_func (); below. */ 8275 which can conflict with char $ac_func (); below. */
@@ -8480,16 +8300,16 @@ f = $ac_func;
8480} 8300}
8481_ACEOF 8301_ACEOF
8482rm -f conftest.$ac_objext conftest$ac_exeext 8302rm -f conftest.$ac_objext conftest$ac_exeext
8483if { (eval echo "$as_me:8483: \"$ac_link\"") >&5 8303if { (eval echo "$as_me:8303: \"$ac_link\"") >&5
8484 (eval $ac_link) 2>&5 8304 (eval $ac_link) 2>&5
8485 ac_status=$? 8305 ac_status=$?
8486 echo "$as_me:8486: \$? = $ac_status" >&5 8306 echo "$as_me:8306: \$? = $ac_status" >&5
8487 (exit $ac_status); } && 8307 (exit $ac_status); } &&
8488 { ac_try='test -s conftest$ac_exeext' 8308 { ac_try='test -s conftest$ac_exeext'
8489 { (eval echo "$as_me:8489: \"$ac_try\"") >&5 8309 { (eval echo "$as_me:8309: \"$ac_try\"") >&5
8490 (eval $ac_try) 2>&5 8310 (eval $ac_try) 2>&5
8491 ac_status=$? 8311 ac_status=$?
8492 echo "$as_me:8492: \$? = $ac_status" >&5 8312 echo "$as_me:8312: \$? = $ac_status" >&5
8493 (exit $ac_status); }; }; then 8313 (exit $ac_status); }; }; then
8494 eval "$as_ac_var=yes" 8314 eval "$as_ac_var=yes"
8495else 8315else
@@ -8499,7 +8319,7 @@ eval "$as_ac_var=no"
8499fi 8319fi
8500rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8320rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8501fi 8321fi
8502echo "$as_me:8502: result: `eval echo '${'$as_ac_var'}'`" >&5 8322echo "$as_me:8322: result: `eval echo '${'$as_ac_var'}'`" >&5
8503echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8323echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8504if test `eval echo '${'$as_ac_var'}'` = yes; then 8324if test `eval echo '${'$as_ac_var'}'` = yes; then
8505 cat >>confdefs.h <<EOF 8325 cat >>confdefs.h <<EOF
@@ -8512,13 +8332,13 @@ done
8512for ac_func in pam_putenv 8332for ac_func in pam_putenv
8513do 8333do
8514as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8334as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8515echo "$as_me:8515: checking for $ac_func" >&5 8335echo "$as_me:8335: checking for $ac_func" >&5
8516echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8336echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8517if eval "test \"\${$as_ac_var+set}\" = set"; then 8337if eval "test \"\${$as_ac_var+set}\" = set"; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6 8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8519else 8339else
8520 cat >conftest.$ac_ext <<_ACEOF 8340 cat >conftest.$ac_ext <<_ACEOF
8521#line 8521 "configure" 8341#line 8341 "configure"
8522#include "confdefs.h" 8342#include "confdefs.h"
8523/* System header to define __stub macros and hopefully few prototypes, 8343/* System header to define __stub macros and hopefully few prototypes,
8524 which can conflict with char $ac_func (); below. */ 8344 which can conflict with char $ac_func (); below. */
@@ -8549,16 +8369,16 @@ f = $ac_func;
8549} 8369}
8550_ACEOF 8370_ACEOF
8551rm -f conftest.$ac_objext conftest$ac_exeext 8371rm -f conftest.$ac_objext conftest$ac_exeext
8552if { (eval echo "$as_me:8552: \"$ac_link\"") >&5 8372if { (eval echo "$as_me:8372: \"$ac_link\"") >&5
8553 (eval $ac_link) 2>&5 8373 (eval $ac_link) 2>&5
8554 ac_status=$? 8374 ac_status=$?
8555 echo "$as_me:8555: \$? = $ac_status" >&5 8375 echo "$as_me:8375: \$? = $ac_status" >&5
8556 (exit $ac_status); } && 8376 (exit $ac_status); } &&
8557 { ac_try='test -s conftest$ac_exeext' 8377 { ac_try='test -s conftest$ac_exeext'
8558 { (eval echo "$as_me:8558: \"$ac_try\"") >&5 8378 { (eval echo "$as_me:8378: \"$ac_try\"") >&5
8559 (eval $ac_try) 2>&5 8379 (eval $ac_try) 2>&5
8560 ac_status=$? 8380 ac_status=$?
8561 echo "$as_me:8561: \$? = $ac_status" >&5 8381 echo "$as_me:8381: \$? = $ac_status" >&5
8562 (exit $ac_status); }; }; then 8382 (exit $ac_status); }; }; then
8563 eval "$as_ac_var=yes" 8383 eval "$as_ac_var=yes"
8564else 8384else
@@ -8568,7 +8388,7 @@ eval "$as_ac_var=no"
8568fi 8388fi
8569rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8389rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8570fi 8390fi
8571echo "$as_me:8571: result: `eval echo '${'$as_ac_var'}'`" >&5 8391echo "$as_me:8391: result: `eval echo '${'$as_ac_var'}'`" >&5
8572echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8392echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8573if test `eval echo '${'$as_ac_var'}'` = yes; then 8393if test `eval echo '${'$as_ac_var'}'` = yes; then
8574 cat >>confdefs.h <<EOF 8394 cat >>confdefs.h <<EOF
@@ -8598,10 +8418,10 @@ fi;
8598# Check for older PAM 8418# Check for older PAM
8599if test "x$PAM_MSG" = "xyes" ; then 8419if test "x$PAM_MSG" = "xyes" ; then
8600 # Check PAM strerror arguments (old PAM) 8420 # Check PAM strerror arguments (old PAM)
8601 echo "$as_me:8601: checking whether pam_strerror takes only one argument" >&5 8421 echo "$as_me:8421: checking whether pam_strerror takes only one argument" >&5
8602echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 8422echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6
8603 cat >conftest.$ac_ext <<_ACEOF 8423 cat >conftest.$ac_ext <<_ACEOF
8604#line 8604 "configure" 8424#line 8424 "configure"
8605#include "confdefs.h" 8425#include "confdefs.h"
8606 8426
8607#include <stdlib.h> 8427#include <stdlib.h>
@@ -8616,18 +8436,18 @@ main ()
8616} 8436}
8617_ACEOF 8437_ACEOF
8618rm -f conftest.$ac_objext 8438rm -f conftest.$ac_objext
8619if { (eval echo "$as_me:8619: \"$ac_compile\"") >&5 8439if { (eval echo "$as_me:8439: \"$ac_compile\"") >&5
8620 (eval $ac_compile) 2>&5 8440 (eval $ac_compile) 2>&5
8621 ac_status=$? 8441 ac_status=$?
8622 echo "$as_me:8622: \$? = $ac_status" >&5 8442 echo "$as_me:8442: \$? = $ac_status" >&5
8623 (exit $ac_status); } && 8443 (exit $ac_status); } &&
8624 { ac_try='test -s conftest.$ac_objext' 8444 { ac_try='test -s conftest.$ac_objext'
8625 { (eval echo "$as_me:8625: \"$ac_try\"") >&5 8445 { (eval echo "$as_me:8445: \"$ac_try\"") >&5
8626 (eval $ac_try) 2>&5 8446 (eval $ac_try) 2>&5
8627 ac_status=$? 8447 ac_status=$?
8628 echo "$as_me:8628: \$? = $ac_status" >&5 8448 echo "$as_me:8448: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then 8449 (exit $ac_status); }; }; then
8630 echo "$as_me:8630: result: no" >&5 8450 echo "$as_me:8450: result: no" >&5
8631echo "${ECHO_T}no" >&6 8451echo "${ECHO_T}no" >&6
8632else 8452else
8633 echo "$as_me: failed program was:" >&5 8453 echo "$as_me: failed program was:" >&5
@@ -8637,7 +8457,7 @@ cat conftest.$ac_ext >&5
8637#define HAVE_OLD_PAM 1 8457#define HAVE_OLD_PAM 1
8638EOF 8458EOF
8639 8459
8640 echo "$as_me:8640: result: yes" >&5 8460 echo "$as_me:8460: result: yes" >&5
8641echo "${ECHO_T}yes" >&6 8461echo "${ECHO_T}yes" >&6
8642 PAM_MSG="yes (old library)" 8462 PAM_MSG="yes (old library)"
8643 8463
@@ -8649,7 +8469,7 @@ fi
8649# because the system crypt() is more featureful. 8469# because the system crypt() is more featureful.
8650if test "x$check_for_libcrypt_before" = "x1"; then 8470if test "x$check_for_libcrypt_before" = "x1"; then
8651 8471
8652echo "$as_me:8652: checking for crypt in -lcrypt" >&5 8472echo "$as_me:8472: checking for crypt in -lcrypt" >&5
8653echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 8473echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8654if test "${ac_cv_lib_crypt_crypt+set}" = set; then 8474if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6 8475 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8657,7 +8477,7 @@ else
8657 ac_check_lib_save_LIBS=$LIBS 8477 ac_check_lib_save_LIBS=$LIBS
8658LIBS="-lcrypt $LIBS" 8478LIBS="-lcrypt $LIBS"
8659cat >conftest.$ac_ext <<_ACEOF 8479cat >conftest.$ac_ext <<_ACEOF
8660#line 8660 "configure" 8480#line 8480 "configure"
8661#include "confdefs.h" 8481#include "confdefs.h"
8662 8482
8663/* Override any gcc2 internal prototype to avoid an error. */ 8483/* Override any gcc2 internal prototype to avoid an error. */
@@ -8676,16 +8496,16 @@ crypt ();
8676} 8496}
8677_ACEOF 8497_ACEOF
8678rm -f conftest.$ac_objext conftest$ac_exeext 8498rm -f conftest.$ac_objext conftest$ac_exeext
8679if { (eval echo "$as_me:8679: \"$ac_link\"") >&5 8499if { (eval echo "$as_me:8499: \"$ac_link\"") >&5
8680 (eval $ac_link) 2>&5 8500 (eval $ac_link) 2>&5
8681 ac_status=$? 8501 ac_status=$?
8682 echo "$as_me:8682: \$? = $ac_status" >&5 8502 echo "$as_me:8502: \$? = $ac_status" >&5
8683 (exit $ac_status); } && 8503 (exit $ac_status); } &&
8684 { ac_try='test -s conftest$ac_exeext' 8504 { ac_try='test -s conftest$ac_exeext'
8685 { (eval echo "$as_me:8685: \"$ac_try\"") >&5 8505 { (eval echo "$as_me:8505: \"$ac_try\"") >&5
8686 (eval $ac_try) 2>&5 8506 (eval $ac_try) 2>&5
8687 ac_status=$? 8507 ac_status=$?
8688 echo "$as_me:8688: \$? = $ac_status" >&5 8508 echo "$as_me:8508: \$? = $ac_status" >&5
8689 (exit $ac_status); }; }; then 8509 (exit $ac_status); }; }; then
8690 ac_cv_lib_crypt_crypt=yes 8510 ac_cv_lib_crypt_crypt=yes
8691else 8511else
@@ -8696,7 +8516,7 @@ fi
8696rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8516rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8697LIBS=$ac_check_lib_save_LIBS 8517LIBS=$ac_check_lib_save_LIBS
8698fi 8518fi
8699echo "$as_me:8699: result: $ac_cv_lib_crypt_crypt" >&5 8519echo "$as_me:8519: result: $ac_cv_lib_crypt_crypt" >&5
8700echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 8520echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8701if test $ac_cv_lib_crypt_crypt = yes; then 8521if test $ac_cv_lib_crypt_crypt = yes; then
8702 cat >>confdefs.h <<EOF 8522 cat >>confdefs.h <<EOF
@@ -8741,7 +8561,7 @@ if test "${with_ssl_dir+set}" = set; then
8741fi; 8561fi;
8742LIBS="$LIBS -lcrypto" 8562LIBS="$LIBS -lcrypto"
8743cat >conftest.$ac_ext <<_ACEOF 8563cat >conftest.$ac_ext <<_ACEOF
8744#line 8744 "configure" 8564#line 8564 "configure"
8745#include "confdefs.h" 8565#include "confdefs.h"
8746 8566
8747/* Override any gcc2 internal prototype to avoid an error. */ 8567/* Override any gcc2 internal prototype to avoid an error. */
@@ -8760,16 +8580,16 @@ RAND_add ();
8760} 8580}
8761_ACEOF 8581_ACEOF
8762rm -f conftest.$ac_objext conftest$ac_exeext 8582rm -f conftest.$ac_objext conftest$ac_exeext
8763if { (eval echo "$as_me:8763: \"$ac_link\"") >&5 8583if { (eval echo "$as_me:8583: \"$ac_link\"") >&5
8764 (eval $ac_link) 2>&5 8584 (eval $ac_link) 2>&5
8765 ac_status=$? 8585 ac_status=$?
8766 echo "$as_me:8766: \$? = $ac_status" >&5 8586 echo "$as_me:8586: \$? = $ac_status" >&5
8767 (exit $ac_status); } && 8587 (exit $ac_status); } &&
8768 { ac_try='test -s conftest$ac_exeext' 8588 { ac_try='test -s conftest$ac_exeext'
8769 { (eval echo "$as_me:8769: \"$ac_try\"") >&5 8589 { (eval echo "$as_me:8589: \"$ac_try\"") >&5
8770 (eval $ac_try) 2>&5 8590 (eval $ac_try) 2>&5
8771 ac_status=$? 8591 ac_status=$?
8772 echo "$as_me:8772: \$? = $ac_status" >&5 8592 echo "$as_me:8592: \$? = $ac_status" >&5
8773 (exit $ac_status); }; }; then 8593 (exit $ac_status); }; }; then
8774 cat >>confdefs.h <<\EOF 8594 cat >>confdefs.h <<\EOF
8775#define HAVE_OPENSSL 1 8595#define HAVE_OPENSSL 1
@@ -8786,7 +8606,7 @@ cat conftest.$ac_ext >&5
8786 fi 8606 fi
8787 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" 8607 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
8788 cat >conftest.$ac_ext <<_ACEOF 8608 cat >conftest.$ac_ext <<_ACEOF
8789#line 8789 "configure" 8609#line 8609 "configure"
8790#include "confdefs.h" 8610#include "confdefs.h"
8791 8611
8792/* Override any gcc2 internal prototype to avoid an error. */ 8612/* Override any gcc2 internal prototype to avoid an error. */
@@ -8805,16 +8625,16 @@ RAND_add ();
8805} 8625}
8806_ACEOF 8626_ACEOF
8807rm -f conftest.$ac_objext conftest$ac_exeext 8627rm -f conftest.$ac_objext conftest$ac_exeext
8808if { (eval echo "$as_me:8808: \"$ac_link\"") >&5 8628if { (eval echo "$as_me:8628: \"$ac_link\"") >&5
8809 (eval $ac_link) 2>&5 8629 (eval $ac_link) 2>&5
8810 ac_status=$? 8630 ac_status=$?
8811 echo "$as_me:8811: \$? = $ac_status" >&5 8631 echo "$as_me:8631: \$? = $ac_status" >&5
8812 (exit $ac_status); } && 8632 (exit $ac_status); } &&
8813 { ac_try='test -s conftest$ac_exeext' 8633 { ac_try='test -s conftest$ac_exeext'
8814 { (eval echo "$as_me:8814: \"$ac_try\"") >&5 8634 { (eval echo "$as_me:8634: \"$ac_try\"") >&5
8815 (eval $ac_try) 2>&5 8635 (eval $ac_try) 2>&5
8816 ac_status=$? 8636 ac_status=$?
8817 echo "$as_me:8817: \$? = $ac_status" >&5 8637 echo "$as_me:8637: \$? = $ac_status" >&5
8818 (exit $ac_status); }; }; then 8638 (exit $ac_status); }; }; then
8819 cat >>confdefs.h <<\EOF 8639 cat >>confdefs.h <<\EOF
8820#define HAVE_OPENSSL 1 8640#define HAVE_OPENSSL 1
@@ -8824,7 +8644,7 @@ else
8824 echo "$as_me: failed program was:" >&5 8644 echo "$as_me: failed program was:" >&5
8825cat conftest.$ac_ext >&5 8645cat conftest.$ac_ext >&5
8826 8646
8827 { { echo "$as_me:8827: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 8647 { { echo "$as_me:8647: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
8828echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} 8648echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
8829 { (exit 1); exit 1; }; } 8649 { (exit 1); exit 1; }; }
8830 8650
@@ -8835,15 +8655,15 @@ fi
8835rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8655rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8836 8656
8837# Determine OpenSSL header version 8657# Determine OpenSSL header version
8838echo "$as_me:8838: checking OpenSSL header version" >&5 8658echo "$as_me:8658: checking OpenSSL header version" >&5
8839echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 8659echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6
8840if test "$cross_compiling" = yes; then 8660if test "$cross_compiling" = yes; then
8841 { { echo "$as_me:8841: error: cannot run test program while cross compiling" >&5 8661 { { echo "$as_me:8661: error: cannot run test program while cross compiling" >&5
8842echo "$as_me: error: cannot run test program while cross compiling" >&2;} 8662echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8843 { (exit 1); exit 1; }; } 8663 { (exit 1); exit 1; }; }
8844else 8664else
8845 cat >conftest.$ac_ext <<_ACEOF 8665 cat >conftest.$ac_ext <<_ACEOF
8846#line 8846 "configure" 8666#line 8666 "configure"
8847#include "confdefs.h" 8667#include "confdefs.h"
8848 8668
8849#include <stdio.h> 8669#include <stdio.h>
@@ -8866,19 +8686,19 @@ int main(void) {
8866 8686
8867_ACEOF 8687_ACEOF
8868rm -f conftest$ac_exeext 8688rm -f conftest$ac_exeext
8869if { (eval echo "$as_me:8869: \"$ac_link\"") >&5 8689if { (eval echo "$as_me:8689: \"$ac_link\"") >&5
8870 (eval $ac_link) 2>&5 8690 (eval $ac_link) 2>&5
8871 ac_status=$? 8691 ac_status=$?
8872 echo "$as_me:8872: \$? = $ac_status" >&5 8692 echo "$as_me:8692: \$? = $ac_status" >&5
8873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8874 { (eval echo "$as_me:8874: \"$ac_try\"") >&5 8694 { (eval echo "$as_me:8694: \"$ac_try\"") >&5
8875 (eval $ac_try) 2>&5 8695 (eval $ac_try) 2>&5
8876 ac_status=$? 8696 ac_status=$?
8877 echo "$as_me:8877: \$? = $ac_status" >&5 8697 echo "$as_me:8697: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then 8698 (exit $ac_status); }; }; then
8879 8699
8880 ssl_header_ver=`cat conftest.sslincver` 8700 ssl_header_ver=`cat conftest.sslincver`
8881 echo "$as_me:8881: result: $ssl_header_ver" >&5 8701 echo "$as_me:8701: result: $ssl_header_ver" >&5
8882echo "${ECHO_T}$ssl_header_ver" >&6 8702echo "${ECHO_T}$ssl_header_ver" >&6
8883 8703
8884else 8704else
@@ -8886,9 +8706,9 @@ else
8886echo "$as_me: failed program was:" >&5 8706echo "$as_me: failed program was:" >&5
8887cat conftest.$ac_ext >&5 8707cat conftest.$ac_ext >&5
8888 8708
8889 echo "$as_me:8889: result: not found" >&5 8709 echo "$as_me:8709: result: not found" >&5
8890echo "${ECHO_T}not found" >&6 8710echo "${ECHO_T}not found" >&6
8891 { { echo "$as_me:8891: error: OpenSSL version header not found." >&5 8711 { { echo "$as_me:8711: error: OpenSSL version header not found." >&5
8892echo "$as_me: error: OpenSSL version header not found." >&2;} 8712echo "$as_me: error: OpenSSL version header not found." >&2;}
8893 { (exit 1); exit 1; }; } 8713 { (exit 1); exit 1; }; }
8894 8714
@@ -8897,15 +8717,15 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8897fi 8717fi
8898 8718
8899# Determine OpenSSL library version 8719# Determine OpenSSL library version
8900echo "$as_me:8900: checking OpenSSL library version" >&5 8720echo "$as_me:8720: checking OpenSSL library version" >&5
8901echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 8721echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6
8902if test "$cross_compiling" = yes; then 8722if test "$cross_compiling" = yes; then
8903 { { echo "$as_me:8903: error: cannot run test program while cross compiling" >&5 8723 { { echo "$as_me:8723: error: cannot run test program while cross compiling" >&5
8904echo "$as_me: error: cannot run test program while cross compiling" >&2;} 8724echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8905 { (exit 1); exit 1; }; } 8725 { (exit 1); exit 1; }; }
8906else 8726else
8907 cat >conftest.$ac_ext <<_ACEOF 8727 cat >conftest.$ac_ext <<_ACEOF
8908#line 8908 "configure" 8728#line 8728 "configure"
8909#include "confdefs.h" 8729#include "confdefs.h"
8910 8730
8911#include <stdio.h> 8731#include <stdio.h>
@@ -8929,19 +8749,19 @@ int main(void) {
8929 8749
8930_ACEOF 8750_ACEOF
8931rm -f conftest$ac_exeext 8751rm -f conftest$ac_exeext
8932if { (eval echo "$as_me:8932: \"$ac_link\"") >&5 8752if { (eval echo "$as_me:8752: \"$ac_link\"") >&5
8933 (eval $ac_link) 2>&5 8753 (eval $ac_link) 2>&5
8934 ac_status=$? 8754 ac_status=$?
8935 echo "$as_me:8935: \$? = $ac_status" >&5 8755 echo "$as_me:8755: \$? = $ac_status" >&5
8936 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8937 { (eval echo "$as_me:8937: \"$ac_try\"") >&5 8757 { (eval echo "$as_me:8757: \"$ac_try\"") >&5
8938 (eval $ac_try) 2>&5 8758 (eval $ac_try) 2>&5
8939 ac_status=$? 8759 ac_status=$?
8940 echo "$as_me:8940: \$? = $ac_status" >&5 8760 echo "$as_me:8760: \$? = $ac_status" >&5
8941 (exit $ac_status); }; }; then 8761 (exit $ac_status); }; }; then
8942 8762
8943 ssl_library_ver=`cat conftest.ssllibver` 8763 ssl_library_ver=`cat conftest.ssllibver`
8944 echo "$as_me:8944: result: $ssl_library_ver" >&5 8764 echo "$as_me:8764: result: $ssl_library_ver" >&5
8945echo "${ECHO_T}$ssl_library_ver" >&6 8765echo "${ECHO_T}$ssl_library_ver" >&6
8946 8766
8947else 8767else
@@ -8949,9 +8769,9 @@ else
8949echo "$as_me: failed program was:" >&5 8769echo "$as_me: failed program was:" >&5
8950cat conftest.$ac_ext >&5 8770cat conftest.$ac_ext >&5
8951 8771
8952 echo "$as_me:8952: result: not found" >&5 8772 echo "$as_me:8772: result: not found" >&5
8953echo "${ECHO_T}not found" >&6 8773echo "${ECHO_T}not found" >&6
8954 { { echo "$as_me:8954: error: OpenSSL library not found." >&5 8774 { { echo "$as_me:8774: error: OpenSSL library not found." >&5
8955echo "$as_me: error: OpenSSL library not found." >&2;} 8775echo "$as_me: error: OpenSSL library not found." >&2;}
8956 { (exit 1); exit 1; }; } 8776 { (exit 1); exit 1; }; }
8957 8777
@@ -8960,15 +8780,15 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8960fi 8780fi
8961 8781
8962# Sanity check OpenSSL headers 8782# Sanity check OpenSSL headers
8963echo "$as_me:8963: checking whether OpenSSL's headers match the library" >&5 8783echo "$as_me:8783: checking whether OpenSSL's headers match the library" >&5
8964echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 8784echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6
8965if test "$cross_compiling" = yes; then 8785if test "$cross_compiling" = yes; then
8966 { { echo "$as_me:8966: error: cannot run test program while cross compiling" >&5 8786 { { echo "$as_me:8786: error: cannot run test program while cross compiling" >&5
8967echo "$as_me: error: cannot run test program while cross compiling" >&2;} 8787echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8968 { (exit 1); exit 1; }; } 8788 { (exit 1); exit 1; }; }
8969else 8789else
8970 cat >conftest.$ac_ext <<_ACEOF 8790 cat >conftest.$ac_ext <<_ACEOF
8971#line 8971 "configure" 8791#line 8791 "configure"
8972#include "confdefs.h" 8792#include "confdefs.h"
8973 8793
8974#include <string.h> 8794#include <string.h>
@@ -8977,18 +8797,18 @@ int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
8977 8797
8978_ACEOF 8798_ACEOF
8979rm -f conftest$ac_exeext 8799rm -f conftest$ac_exeext
8980if { (eval echo "$as_me:8980: \"$ac_link\"") >&5 8800if { (eval echo "$as_me:8800: \"$ac_link\"") >&5
8981 (eval $ac_link) 2>&5 8801 (eval $ac_link) 2>&5
8982 ac_status=$? 8802 ac_status=$?
8983 echo "$as_me:8983: \$? = $ac_status" >&5 8803 echo "$as_me:8803: \$? = $ac_status" >&5
8984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8985 { (eval echo "$as_me:8985: \"$ac_try\"") >&5 8805 { (eval echo "$as_me:8805: \"$ac_try\"") >&5
8986 (eval $ac_try) 2>&5 8806 (eval $ac_try) 2>&5
8987 ac_status=$? 8807 ac_status=$?
8988 echo "$as_me:8988: \$? = $ac_status" >&5 8808 echo "$as_me:8808: \$? = $ac_status" >&5
8989 (exit $ac_status); }; }; then 8809 (exit $ac_status); }; }; then
8990 8810
8991 echo "$as_me:8991: result: yes" >&5 8811 echo "$as_me:8811: result: yes" >&5
8992echo "${ECHO_T}yes" >&6 8812echo "${ECHO_T}yes" >&6
8993 8813
8994else 8814else
@@ -8996,9 +8816,9 @@ else
8996echo "$as_me: failed program was:" >&5 8816echo "$as_me: failed program was:" >&5
8997cat conftest.$ac_ext >&5 8817cat conftest.$ac_ext >&5
8998 8818
8999 echo "$as_me:8999: result: no" >&5 8819 echo "$as_me:8819: result: no" >&5
9000echo "${ECHO_T}no" >&6 8820echo "${ECHO_T}no" >&6
9001 { { echo "$as_me:9001: error: Your OpenSSL headers do not match your library. 8821 { { echo "$as_me:8821: error: Your OpenSSL headers do not match your library.
9002Check config.log for details. 8822Check config.log for details.
9003Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 8823Also see contrib/findssl.sh for help identifying header/library mismatches." >&5
9004echo "$as_me: error: Your OpenSSL headers do not match your library. 8824echo "$as_me: error: Your OpenSSL headers do not match your library.
@@ -9013,7 +8833,7 @@ fi
9013# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the 8833# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
9014# version in OpenSSL. Skip this for PAM 8834# version in OpenSSL. Skip this for PAM
9015if test "x$check_for_libcrypt_later" = "x1"; then 8835if test "x$check_for_libcrypt_later" = "x1"; then
9016 echo "$as_me:9016: checking for crypt in -lcrypt" >&5 8836 echo "$as_me:8836: checking for crypt in -lcrypt" >&5
9017echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 8837echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
9018if test "${ac_cv_lib_crypt_crypt+set}" = set; then 8838if test "${ac_cv_lib_crypt_crypt+set}" = set; then
9019 echo $ECHO_N "(cached) $ECHO_C" >&6 8839 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9021,7 +8841,7 @@ else
9021 ac_check_lib_save_LIBS=$LIBS 8841 ac_check_lib_save_LIBS=$LIBS
9022LIBS="-lcrypt $LIBS" 8842LIBS="-lcrypt $LIBS"
9023cat >conftest.$ac_ext <<_ACEOF 8843cat >conftest.$ac_ext <<_ACEOF
9024#line 9024 "configure" 8844#line 8844 "configure"
9025#include "confdefs.h" 8845#include "confdefs.h"
9026 8846
9027/* Override any gcc2 internal prototype to avoid an error. */ 8847/* Override any gcc2 internal prototype to avoid an error. */
@@ -9040,16 +8860,16 @@ crypt ();
9040} 8860}
9041_ACEOF 8861_ACEOF
9042rm -f conftest.$ac_objext conftest$ac_exeext 8862rm -f conftest.$ac_objext conftest$ac_exeext
9043if { (eval echo "$as_me:9043: \"$ac_link\"") >&5 8863if { (eval echo "$as_me:8863: \"$ac_link\"") >&5
9044 (eval $ac_link) 2>&5 8864 (eval $ac_link) 2>&5
9045 ac_status=$? 8865 ac_status=$?
9046 echo "$as_me:9046: \$? = $ac_status" >&5 8866 echo "$as_me:8866: \$? = $ac_status" >&5
9047 (exit $ac_status); } && 8867 (exit $ac_status); } &&
9048 { ac_try='test -s conftest$ac_exeext' 8868 { ac_try='test -s conftest$ac_exeext'
9049 { (eval echo "$as_me:9049: \"$ac_try\"") >&5 8869 { (eval echo "$as_me:8869: \"$ac_try\"") >&5
9050 (eval $ac_try) 2>&5 8870 (eval $ac_try) 2>&5
9051 ac_status=$? 8871 ac_status=$?
9052 echo "$as_me:9052: \$? = $ac_status" >&5 8872 echo "$as_me:8872: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then 8873 (exit $ac_status); }; }; then
9054 ac_cv_lib_crypt_crypt=yes 8874 ac_cv_lib_crypt_crypt=yes
9055else 8875else
@@ -9060,7 +8880,7 @@ fi
9060rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8880rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9061LIBS=$ac_check_lib_save_LIBS 8881LIBS=$ac_check_lib_save_LIBS
9062fi 8882fi
9063echo "$as_me:9063: result: $ac_cv_lib_crypt_crypt" >&5 8883echo "$as_me:8883: result: $ac_cv_lib_crypt_crypt" >&5
9064echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 8884echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
9065if test $ac_cv_lib_crypt_crypt = yes; then 8885if test $ac_cv_lib_crypt_crypt = yes; then
9066 LIBS="$LIBS -lcrypt" 8886 LIBS="$LIBS -lcrypt"
@@ -9071,15 +8891,15 @@ fi
9071### Configure cryptographic random number support 8891### Configure cryptographic random number support
9072 8892
9073# Check wheter OpenSSL seeds itself 8893# Check wheter OpenSSL seeds itself
9074echo "$as_me:9074: checking whether OpenSSL's PRNG is internally seeded" >&5 8894echo "$as_me:8894: checking whether OpenSSL's PRNG is internally seeded" >&5
9075echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 8895echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6
9076if test "$cross_compiling" = yes; then 8896if test "$cross_compiling" = yes; then
9077 { { echo "$as_me:9077: error: cannot run test program while cross compiling" >&5 8897 { { echo "$as_me:8897: error: cannot run test program while cross compiling" >&5
9078echo "$as_me: error: cannot run test program while cross compiling" >&2;} 8898echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9079 { (exit 1); exit 1; }; } 8899 { (exit 1); exit 1; }; }
9080else 8900else
9081 cat >conftest.$ac_ext <<_ACEOF 8901 cat >conftest.$ac_ext <<_ACEOF
9082#line 9082 "configure" 8902#line 8902 "configure"
9083#include "confdefs.h" 8903#include "confdefs.h"
9084 8904
9085#include <string.h> 8905#include <string.h>
@@ -9088,19 +8908,19 @@ int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
9088 8908
9089_ACEOF 8909_ACEOF
9090rm -f conftest$ac_exeext 8910rm -f conftest$ac_exeext
9091if { (eval echo "$as_me:9091: \"$ac_link\"") >&5 8911if { (eval echo "$as_me:8911: \"$ac_link\"") >&5
9092 (eval $ac_link) 2>&5 8912 (eval $ac_link) 2>&5
9093 ac_status=$? 8913 ac_status=$?
9094 echo "$as_me:9094: \$? = $ac_status" >&5 8914 echo "$as_me:8914: \$? = $ac_status" >&5
9095 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9096 { (eval echo "$as_me:9096: \"$ac_try\"") >&5 8916 { (eval echo "$as_me:8916: \"$ac_try\"") >&5
9097 (eval $ac_try) 2>&5 8917 (eval $ac_try) 2>&5
9098 ac_status=$? 8918 ac_status=$?
9099 echo "$as_me:9099: \$? = $ac_status" >&5 8919 echo "$as_me:8919: \$? = $ac_status" >&5
9100 (exit $ac_status); }; }; then 8920 (exit $ac_status); }; }; then
9101 8921
9102 OPENSSL_SEEDS_ITSELF=yes 8922 OPENSSL_SEEDS_ITSELF=yes
9103 echo "$as_me:9103: result: yes" >&5 8923 echo "$as_me:8923: result: yes" >&5
9104echo "${ECHO_T}yes" >&6 8924echo "${ECHO_T}yes" >&6
9105 8925
9106else 8926else
@@ -9108,7 +8928,7 @@ else
9108echo "$as_me: failed program was:" >&5 8928echo "$as_me: failed program was:" >&5
9109cat conftest.$ac_ext >&5 8929cat conftest.$ac_ext >&5
9110 8930
9111 echo "$as_me:9111: result: no" >&5 8931 echo "$as_me:8931: result: no" >&5
9112echo "${ECHO_T}no" >&6 8932echo "${ECHO_T}no" >&6
9113 # Default to use of the rand helper if OpenSSL doesn't 8933 # Default to use of the rand helper if OpenSSL doesn't
9114 # seed itself 8934 # seed itself
@@ -9128,7 +8948,7 @@ if test "${with_rand_helper+set}" = set; then
9128 # Force use of OpenSSL's internal RNG, even if 8948 # Force use of OpenSSL's internal RNG, even if
9129 # the previous test showed it to be unseeded. 8949 # the previous test showed it to be unseeded.
9130 if test -z "$OPENSSL_SEEDS_ITSELF" ; then 8950 if test -z "$OPENSSL_SEEDS_ITSELF" ; then
9131 { echo "$as_me:9131: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 8951 { echo "$as_me:8951: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
9132echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} 8952echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
9133 OPENSSL_SEEDS_ITSELF=yes 8953 OPENSSL_SEEDS_ITSELF=yes
9134 USE_RAND_HELPER="" 8954 USE_RAND_HELPER=""
@@ -9169,7 +8989,7 @@ if test "${with_prngd_port+set}" = set; then
9169 [0-9]*) 8989 [0-9]*)
9170 ;; 8990 ;;
9171 *) 8991 *)
9172 { { echo "$as_me:9172: error: You must specify a numeric port number for --with-prngd-port" >&5 8992 { { echo "$as_me:8992: error: You must specify a numeric port number for --with-prngd-port" >&5
9173echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} 8993echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
9174 { (exit 1); exit 1; }; } 8994 { (exit 1); exit 1; }; }
9175 ;; 8995 ;;
@@ -9200,7 +9020,7 @@ if test "${with_prngd_socket+set}" = set; then
9200 /*) 9020 /*)
9201 ;; 9021 ;;
9202 *) 9022 *)
9203 { { echo "$as_me:9203: error: You must specify an absolute path to the entropy socket" >&5 9023 { { echo "$as_me:9023: error: You must specify an absolute path to the entropy socket" >&5
9204echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} 9024echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
9205 { (exit 1); exit 1; }; } 9025 { (exit 1); exit 1; }; }
9206 ;; 9026 ;;
@@ -9208,12 +9028,12 @@ echo "$as_me: error: You must specify an absolute path to the entropy socket" >&
9208 9028
9209 if test ! -z "$withval" ; then 9029 if test ! -z "$withval" ; then
9210 if test ! -z "$PRNGD_PORT" ; then 9030 if test ! -z "$PRNGD_PORT" ; then
9211 { { echo "$as_me:9211: error: You may not specify both a PRNGD/EGD port and socket" >&5 9031 { { echo "$as_me:9031: error: You may not specify both a PRNGD/EGD port and socket" >&5
9212echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} 9032echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
9213 { (exit 1); exit 1; }; } 9033 { (exit 1); exit 1; }; }
9214 fi 9034 fi
9215 if test ! -r "$withval" ; then 9035 if test ! -r "$withval" ; then
9216 { echo "$as_me:9216: WARNING: Entropy socket is not readable" >&5 9036 { echo "$as_me:9036: WARNING: Entropy socket is not readable" >&5
9217echo "$as_me: WARNING: Entropy socket is not readable" >&2;} 9037echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
9218 fi 9038 fi
9219 PRNGD_SOCKET="$withval" 9039 PRNGD_SOCKET="$withval"
@@ -9227,7 +9047,7 @@ else
9227 9047
9228 # Check for existing socket only if we don't have a random device already 9048 # Check for existing socket only if we don't have a random device already
9229 if test "$USE_RAND_HELPER" = yes ; then 9049 if test "$USE_RAND_HELPER" = yes ; then
9230 echo "$as_me:9230: checking for PRNGD/EGD socket" >&5 9050 echo "$as_me:9050: checking for PRNGD/EGD socket" >&5
9231echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 9051echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6
9232 # Insert other locations here 9052 # Insert other locations here
9233 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do 9053 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
@@ -9241,10 +9061,10 @@ EOF
9241 fi 9061 fi
9242 done 9062 done
9243 if test ! -z "$PRNGD_SOCKET" ; then 9063 if test ! -z "$PRNGD_SOCKET" ; then
9244 echo "$as_me:9244: result: $PRNGD_SOCKET" >&5 9064 echo "$as_me:9064: result: $PRNGD_SOCKET" >&5
9245echo "${ECHO_T}$PRNGD_SOCKET" >&6 9065echo "${ECHO_T}$PRNGD_SOCKET" >&6
9246 else 9066 else
9247 echo "$as_me:9247: result: not found" >&5 9067 echo "$as_me:9067: result: not found" >&5
9248echo "${ECHO_T}not found" >&6 9068echo "${ECHO_T}not found" >&6
9249 fi 9069 fi
9250 fi 9070 fi
@@ -9300,7 +9120,7 @@ PATH=$PATH:/etc:$OPATH
9300 9120
9301 # Extract the first word of "ls", so it can be a program name with args. 9121 # Extract the first word of "ls", so it can be a program name with args.
9302set dummy ls; ac_word=$2 9122set dummy ls; ac_word=$2
9303echo "$as_me:9303: checking for $ac_word" >&5 9123echo "$as_me:9123: checking for $ac_word" >&5
9304echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9124echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9305if test "${ac_cv_path_PROG_LS+set}" = set; then 9125if test "${ac_cv_path_PROG_LS+set}" = set; then
9306 echo $ECHO_N "(cached) $ECHO_C" >&6 9126 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9317,7 +9137,7 @@ for ac_dir in $ac_dummy; do
9317 test -z "$ac_dir" && ac_dir=. 9137 test -z "$ac_dir" && ac_dir=.
9318 if $as_executable_p "$ac_dir/$ac_word"; then 9138 if $as_executable_p "$ac_dir/$ac_word"; then
9319 ac_cv_path_PROG_LS="$ac_dir/$ac_word" 9139 ac_cv_path_PROG_LS="$ac_dir/$ac_word"
9320 echo "$as_me:9320: found $ac_dir/$ac_word" >&5 9140 echo "$as_me:9140: found $ac_dir/$ac_word" >&5
9321 break 9141 break
9322fi 9142fi
9323done 9143done
@@ -9328,10 +9148,10 @@ fi
9328PROG_LS=$ac_cv_path_PROG_LS 9148PROG_LS=$ac_cv_path_PROG_LS
9329 9149
9330if test -n "$PROG_LS"; then 9150if test -n "$PROG_LS"; then
9331 echo "$as_me:9331: result: $PROG_LS" >&5 9151 echo "$as_me:9151: result: $PROG_LS" >&5
9332echo "${ECHO_T}$PROG_LS" >&6 9152echo "${ECHO_T}$PROG_LS" >&6
9333else 9153else
9334 echo "$as_me:9334: result: no" >&5 9154 echo "$as_me:9154: result: no" >&5
9335echo "${ECHO_T}no" >&6 9155echo "${ECHO_T}no" >&6
9336fi 9156fi
9337 9157
@@ -9341,7 +9161,7 @@ fi
9341 9161
9342 # Extract the first word of "netstat", so it can be a program name with args. 9162 # Extract the first word of "netstat", so it can be a program name with args.
9343set dummy netstat; ac_word=$2 9163set dummy netstat; ac_word=$2
9344echo "$as_me:9344: checking for $ac_word" >&5 9164echo "$as_me:9164: checking for $ac_word" >&5
9345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9165echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9346if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then 9166if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6 9167 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9358,7 +9178,7 @@ for ac_dir in $ac_dummy; do
9358 test -z "$ac_dir" && ac_dir=. 9178 test -z "$ac_dir" && ac_dir=.
9359 if $as_executable_p "$ac_dir/$ac_word"; then 9179 if $as_executable_p "$ac_dir/$ac_word"; then
9360 ac_cv_path_PROG_NETSTAT="$ac_dir/$ac_word" 9180 ac_cv_path_PROG_NETSTAT="$ac_dir/$ac_word"
9361 echo "$as_me:9361: found $ac_dir/$ac_word" >&5 9181 echo "$as_me:9181: found $ac_dir/$ac_word" >&5
9362 break 9182 break
9363fi 9183fi
9364done 9184done
@@ -9369,10 +9189,10 @@ fi
9369PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT 9189PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
9370 9190
9371if test -n "$PROG_NETSTAT"; then 9191if test -n "$PROG_NETSTAT"; then
9372 echo "$as_me:9372: result: $PROG_NETSTAT" >&5 9192 echo "$as_me:9192: result: $PROG_NETSTAT" >&5
9373echo "${ECHO_T}$PROG_NETSTAT" >&6 9193echo "${ECHO_T}$PROG_NETSTAT" >&6
9374else 9194else
9375 echo "$as_me:9375: result: no" >&5 9195 echo "$as_me:9195: result: no" >&5
9376echo "${ECHO_T}no" >&6 9196echo "${ECHO_T}no" >&6
9377fi 9197fi
9378 9198
@@ -9382,7 +9202,7 @@ fi
9382 9202
9383 # Extract the first word of "arp", so it can be a program name with args. 9203 # Extract the first word of "arp", so it can be a program name with args.
9384set dummy arp; ac_word=$2 9204set dummy arp; ac_word=$2
9385echo "$as_me:9385: checking for $ac_word" >&5 9205echo "$as_me:9205: checking for $ac_word" >&5
9386echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9206echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9387if test "${ac_cv_path_PROG_ARP+set}" = set; then 9207if test "${ac_cv_path_PROG_ARP+set}" = set; then
9388 echo $ECHO_N "(cached) $ECHO_C" >&6 9208 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9399,7 +9219,7 @@ for ac_dir in $ac_dummy; do
9399 test -z "$ac_dir" && ac_dir=. 9219 test -z "$ac_dir" && ac_dir=.
9400 if $as_executable_p "$ac_dir/$ac_word"; then 9220 if $as_executable_p "$ac_dir/$ac_word"; then
9401 ac_cv_path_PROG_ARP="$ac_dir/$ac_word" 9221 ac_cv_path_PROG_ARP="$ac_dir/$ac_word"
9402 echo "$as_me:9402: found $ac_dir/$ac_word" >&5 9222 echo "$as_me:9222: found $ac_dir/$ac_word" >&5
9403 break 9223 break
9404fi 9224fi
9405done 9225done
@@ -9410,10 +9230,10 @@ fi
9410PROG_ARP=$ac_cv_path_PROG_ARP 9230PROG_ARP=$ac_cv_path_PROG_ARP
9411 9231
9412if test -n "$PROG_ARP"; then 9232if test -n "$PROG_ARP"; then
9413 echo "$as_me:9413: result: $PROG_ARP" >&5 9233 echo "$as_me:9233: result: $PROG_ARP" >&5
9414echo "${ECHO_T}$PROG_ARP" >&6 9234echo "${ECHO_T}$PROG_ARP" >&6
9415else 9235else
9416 echo "$as_me:9416: result: no" >&5 9236 echo "$as_me:9236: result: no" >&5
9417echo "${ECHO_T}no" >&6 9237echo "${ECHO_T}no" >&6
9418fi 9238fi
9419 9239
@@ -9423,7 +9243,7 @@ fi
9423 9243
9424 # Extract the first word of "ifconfig", so it can be a program name with args. 9244 # Extract the first word of "ifconfig", so it can be a program name with args.
9425set dummy ifconfig; ac_word=$2 9245set dummy ifconfig; ac_word=$2
9426echo "$as_me:9426: checking for $ac_word" >&5 9246echo "$as_me:9246: checking for $ac_word" >&5
9427echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9247echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9428if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then 9248if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then
9429 echo $ECHO_N "(cached) $ECHO_C" >&6 9249 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9440,7 +9260,7 @@ for ac_dir in $ac_dummy; do
9440 test -z "$ac_dir" && ac_dir=. 9260 test -z "$ac_dir" && ac_dir=.
9441 if $as_executable_p "$ac_dir/$ac_word"; then 9261 if $as_executable_p "$ac_dir/$ac_word"; then
9442 ac_cv_path_PROG_IFCONFIG="$ac_dir/$ac_word" 9262 ac_cv_path_PROG_IFCONFIG="$ac_dir/$ac_word"
9443 echo "$as_me:9443: found $ac_dir/$ac_word" >&5 9263 echo "$as_me:9263: found $ac_dir/$ac_word" >&5
9444 break 9264 break
9445fi 9265fi
9446done 9266done
@@ -9451,10 +9271,10 @@ fi
9451PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG 9271PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
9452 9272
9453if test -n "$PROG_IFCONFIG"; then 9273if test -n "$PROG_IFCONFIG"; then
9454 echo "$as_me:9454: result: $PROG_IFCONFIG" >&5 9274 echo "$as_me:9274: result: $PROG_IFCONFIG" >&5
9455echo "${ECHO_T}$PROG_IFCONFIG" >&6 9275echo "${ECHO_T}$PROG_IFCONFIG" >&6
9456else 9276else
9457 echo "$as_me:9457: result: no" >&5 9277 echo "$as_me:9277: result: no" >&5
9458echo "${ECHO_T}no" >&6 9278echo "${ECHO_T}no" >&6
9459fi 9279fi
9460 9280
@@ -9464,7 +9284,7 @@ fi
9464 9284
9465 # Extract the first word of "jstat", so it can be a program name with args. 9285 # Extract the first word of "jstat", so it can be a program name with args.
9466set dummy jstat; ac_word=$2 9286set dummy jstat; ac_word=$2
9467echo "$as_me:9467: checking for $ac_word" >&5 9287echo "$as_me:9287: checking for $ac_word" >&5
9468echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9288echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9469if test "${ac_cv_path_PROG_JSTAT+set}" = set; then 9289if test "${ac_cv_path_PROG_JSTAT+set}" = set; then
9470 echo $ECHO_N "(cached) $ECHO_C" >&6 9290 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9481,7 +9301,7 @@ for ac_dir in $ac_dummy; do
9481 test -z "$ac_dir" && ac_dir=. 9301 test -z "$ac_dir" && ac_dir=.
9482 if $as_executable_p "$ac_dir/$ac_word"; then 9302 if $as_executable_p "$ac_dir/$ac_word"; then
9483 ac_cv_path_PROG_JSTAT="$ac_dir/$ac_word" 9303 ac_cv_path_PROG_JSTAT="$ac_dir/$ac_word"
9484 echo "$as_me:9484: found $ac_dir/$ac_word" >&5 9304 echo "$as_me:9304: found $ac_dir/$ac_word" >&5
9485 break 9305 break
9486fi 9306fi
9487done 9307done
@@ -9492,10 +9312,10 @@ fi
9492PROG_JSTAT=$ac_cv_path_PROG_JSTAT 9312PROG_JSTAT=$ac_cv_path_PROG_JSTAT
9493 9313
9494if test -n "$PROG_JSTAT"; then 9314if test -n "$PROG_JSTAT"; then
9495 echo "$as_me:9495: result: $PROG_JSTAT" >&5 9315 echo "$as_me:9315: result: $PROG_JSTAT" >&5
9496echo "${ECHO_T}$PROG_JSTAT" >&6 9316echo "${ECHO_T}$PROG_JSTAT" >&6
9497else 9317else
9498 echo "$as_me:9498: result: no" >&5 9318 echo "$as_me:9318: result: no" >&5
9499echo "${ECHO_T}no" >&6 9319echo "${ECHO_T}no" >&6
9500fi 9320fi
9501 9321
@@ -9505,7 +9325,7 @@ fi
9505 9325
9506 # Extract the first word of "ps", so it can be a program name with args. 9326 # Extract the first word of "ps", so it can be a program name with args.
9507set dummy ps; ac_word=$2 9327set dummy ps; ac_word=$2
9508echo "$as_me:9508: checking for $ac_word" >&5 9328echo "$as_me:9328: checking for $ac_word" >&5
9509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9329echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9510if test "${ac_cv_path_PROG_PS+set}" = set; then 9330if test "${ac_cv_path_PROG_PS+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6 9331 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9522,7 +9342,7 @@ for ac_dir in $ac_dummy; do
9522 test -z "$ac_dir" && ac_dir=. 9342 test -z "$ac_dir" && ac_dir=.
9523 if $as_executable_p "$ac_dir/$ac_word"; then 9343 if $as_executable_p "$ac_dir/$ac_word"; then
9524 ac_cv_path_PROG_PS="$ac_dir/$ac_word" 9344 ac_cv_path_PROG_PS="$ac_dir/$ac_word"
9525 echo "$as_me:9525: found $ac_dir/$ac_word" >&5 9345 echo "$as_me:9345: found $ac_dir/$ac_word" >&5
9526 break 9346 break
9527fi 9347fi
9528done 9348done
@@ -9533,10 +9353,10 @@ fi
9533PROG_PS=$ac_cv_path_PROG_PS 9353PROG_PS=$ac_cv_path_PROG_PS
9534 9354
9535if test -n "$PROG_PS"; then 9355if test -n "$PROG_PS"; then
9536 echo "$as_me:9536: result: $PROG_PS" >&5 9356 echo "$as_me:9356: result: $PROG_PS" >&5
9537echo "${ECHO_T}$PROG_PS" >&6 9357echo "${ECHO_T}$PROG_PS" >&6
9538else 9358else
9539 echo "$as_me:9539: result: no" >&5 9359 echo "$as_me:9359: result: no" >&5
9540echo "${ECHO_T}no" >&6 9360echo "${ECHO_T}no" >&6
9541fi 9361fi
9542 9362
@@ -9546,7 +9366,7 @@ fi
9546 9366
9547 # Extract the first word of "sar", so it can be a program name with args. 9367 # Extract the first word of "sar", so it can be a program name with args.
9548set dummy sar; ac_word=$2 9368set dummy sar; ac_word=$2
9549echo "$as_me:9549: checking for $ac_word" >&5 9369echo "$as_me:9369: checking for $ac_word" >&5
9550echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9370echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9551if test "${ac_cv_path_PROG_SAR+set}" = set; then 9371if test "${ac_cv_path_PROG_SAR+set}" = set; then
9552 echo $ECHO_N "(cached) $ECHO_C" >&6 9372 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9563,7 +9383,7 @@ for ac_dir in $ac_dummy; do
9563 test -z "$ac_dir" && ac_dir=. 9383 test -z "$ac_dir" && ac_dir=.
9564 if $as_executable_p "$ac_dir/$ac_word"; then 9384 if $as_executable_p "$ac_dir/$ac_word"; then
9565 ac_cv_path_PROG_SAR="$ac_dir/$ac_word" 9385 ac_cv_path_PROG_SAR="$ac_dir/$ac_word"
9566 echo "$as_me:9566: found $ac_dir/$ac_word" >&5 9386 echo "$as_me:9386: found $ac_dir/$ac_word" >&5
9567 break 9387 break
9568fi 9388fi
9569done 9389done
@@ -9574,10 +9394,10 @@ fi
9574PROG_SAR=$ac_cv_path_PROG_SAR 9394PROG_SAR=$ac_cv_path_PROG_SAR
9575 9395
9576if test -n "$PROG_SAR"; then 9396if test -n "$PROG_SAR"; then
9577 echo "$as_me:9577: result: $PROG_SAR" >&5 9397 echo "$as_me:9397: result: $PROG_SAR" >&5
9578echo "${ECHO_T}$PROG_SAR" >&6 9398echo "${ECHO_T}$PROG_SAR" >&6
9579else 9399else
9580 echo "$as_me:9580: result: no" >&5 9400 echo "$as_me:9400: result: no" >&5
9581echo "${ECHO_T}no" >&6 9401echo "${ECHO_T}no" >&6
9582fi 9402fi
9583 9403
@@ -9587,7 +9407,7 @@ fi
9587 9407
9588 # Extract the first word of "w", so it can be a program name with args. 9408 # Extract the first word of "w", so it can be a program name with args.
9589set dummy w; ac_word=$2 9409set dummy w; ac_word=$2
9590echo "$as_me:9590: checking for $ac_word" >&5 9410echo "$as_me:9410: checking for $ac_word" >&5
9591echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9411echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9592if test "${ac_cv_path_PROG_W+set}" = set; then 9412if test "${ac_cv_path_PROG_W+set}" = set; then
9593 echo $ECHO_N "(cached) $ECHO_C" >&6 9413 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9604,7 +9424,7 @@ for ac_dir in $ac_dummy; do
9604 test -z "$ac_dir" && ac_dir=. 9424 test -z "$ac_dir" && ac_dir=.
9605 if $as_executable_p "$ac_dir/$ac_word"; then 9425 if $as_executable_p "$ac_dir/$ac_word"; then
9606 ac_cv_path_PROG_W="$ac_dir/$ac_word" 9426 ac_cv_path_PROG_W="$ac_dir/$ac_word"
9607 echo "$as_me:9607: found $ac_dir/$ac_word" >&5 9427 echo "$as_me:9427: found $ac_dir/$ac_word" >&5
9608 break 9428 break
9609fi 9429fi
9610done 9430done
@@ -9615,10 +9435,10 @@ fi
9615PROG_W=$ac_cv_path_PROG_W 9435PROG_W=$ac_cv_path_PROG_W
9616 9436
9617if test -n "$PROG_W"; then 9437if test -n "$PROG_W"; then
9618 echo "$as_me:9618: result: $PROG_W" >&5 9438 echo "$as_me:9438: result: $PROG_W" >&5
9619echo "${ECHO_T}$PROG_W" >&6 9439echo "${ECHO_T}$PROG_W" >&6
9620else 9440else
9621 echo "$as_me:9621: result: no" >&5 9441 echo "$as_me:9441: result: no" >&5
9622echo "${ECHO_T}no" >&6 9442echo "${ECHO_T}no" >&6
9623fi 9443fi
9624 9444
@@ -9628,7 +9448,7 @@ fi
9628 9448
9629 # Extract the first word of "who", so it can be a program name with args. 9449 # Extract the first word of "who", so it can be a program name with args.
9630set dummy who; ac_word=$2 9450set dummy who; ac_word=$2
9631echo "$as_me:9631: checking for $ac_word" >&5 9451echo "$as_me:9451: checking for $ac_word" >&5
9632echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9452echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9633if test "${ac_cv_path_PROG_WHO+set}" = set; then 9453if test "${ac_cv_path_PROG_WHO+set}" = set; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6 9454 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9645,7 +9465,7 @@ for ac_dir in $ac_dummy; do
9645 test -z "$ac_dir" && ac_dir=. 9465 test -z "$ac_dir" && ac_dir=.
9646 if $as_executable_p "$ac_dir/$ac_word"; then 9466 if $as_executable_p "$ac_dir/$ac_word"; then
9647 ac_cv_path_PROG_WHO="$ac_dir/$ac_word" 9467 ac_cv_path_PROG_WHO="$ac_dir/$ac_word"
9648 echo "$as_me:9648: found $ac_dir/$ac_word" >&5 9468 echo "$as_me:9468: found $ac_dir/$ac_word" >&5
9649 break 9469 break
9650fi 9470fi
9651done 9471done
@@ -9656,10 +9476,10 @@ fi
9656PROG_WHO=$ac_cv_path_PROG_WHO 9476PROG_WHO=$ac_cv_path_PROG_WHO
9657 9477
9658if test -n "$PROG_WHO"; then 9478if test -n "$PROG_WHO"; then
9659 echo "$as_me:9659: result: $PROG_WHO" >&5 9479 echo "$as_me:9479: result: $PROG_WHO" >&5
9660echo "${ECHO_T}$PROG_WHO" >&6 9480echo "${ECHO_T}$PROG_WHO" >&6
9661else 9481else
9662 echo "$as_me:9662: result: no" >&5 9482 echo "$as_me:9482: result: no" >&5
9663echo "${ECHO_T}no" >&6 9483echo "${ECHO_T}no" >&6
9664fi 9484fi
9665 9485
@@ -9669,7 +9489,7 @@ fi
9669 9489
9670 # Extract the first word of "last", so it can be a program name with args. 9490 # Extract the first word of "last", so it can be a program name with args.
9671set dummy last; ac_word=$2 9491set dummy last; ac_word=$2
9672echo "$as_me:9672: checking for $ac_word" >&5 9492echo "$as_me:9492: checking for $ac_word" >&5
9673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9493echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9674if test "${ac_cv_path_PROG_LAST+set}" = set; then 9494if test "${ac_cv_path_PROG_LAST+set}" = set; then
9675 echo $ECHO_N "(cached) $ECHO_C" >&6 9495 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9686,7 +9506,7 @@ for ac_dir in $ac_dummy; do
9686 test -z "$ac_dir" && ac_dir=. 9506 test -z "$ac_dir" && ac_dir=.
9687 if $as_executable_p "$ac_dir/$ac_word"; then 9507 if $as_executable_p "$ac_dir/$ac_word"; then
9688 ac_cv_path_PROG_LAST="$ac_dir/$ac_word" 9508 ac_cv_path_PROG_LAST="$ac_dir/$ac_word"
9689 echo "$as_me:9689: found $ac_dir/$ac_word" >&5 9509 echo "$as_me:9509: found $ac_dir/$ac_word" >&5
9690 break 9510 break
9691fi 9511fi
9692done 9512done
@@ -9697,10 +9517,10 @@ fi
9697PROG_LAST=$ac_cv_path_PROG_LAST 9517PROG_LAST=$ac_cv_path_PROG_LAST
9698 9518
9699if test -n "$PROG_LAST"; then 9519if test -n "$PROG_LAST"; then
9700 echo "$as_me:9700: result: $PROG_LAST" >&5 9520 echo "$as_me:9520: result: $PROG_LAST" >&5
9701echo "${ECHO_T}$PROG_LAST" >&6 9521echo "${ECHO_T}$PROG_LAST" >&6
9702else 9522else
9703 echo "$as_me:9703: result: no" >&5 9523 echo "$as_me:9523: result: no" >&5
9704echo "${ECHO_T}no" >&6 9524echo "${ECHO_T}no" >&6
9705fi 9525fi
9706 9526
@@ -9710,7 +9530,7 @@ fi
9710 9530
9711 # Extract the first word of "lastlog", so it can be a program name with args. 9531 # Extract the first word of "lastlog", so it can be a program name with args.
9712set dummy lastlog; ac_word=$2 9532set dummy lastlog; ac_word=$2
9713echo "$as_me:9713: checking for $ac_word" >&5 9533echo "$as_me:9533: checking for $ac_word" >&5
9714echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9715if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then 9535if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6 9536 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9727,7 +9547,7 @@ for ac_dir in $ac_dummy; do
9727 test -z "$ac_dir" && ac_dir=. 9547 test -z "$ac_dir" && ac_dir=.
9728 if $as_executable_p "$ac_dir/$ac_word"; then 9548 if $as_executable_p "$ac_dir/$ac_word"; then
9729 ac_cv_path_PROG_LASTLOG="$ac_dir/$ac_word" 9549 ac_cv_path_PROG_LASTLOG="$ac_dir/$ac_word"
9730 echo "$as_me:9730: found $ac_dir/$ac_word" >&5 9550 echo "$as_me:9550: found $ac_dir/$ac_word" >&5
9731 break 9551 break
9732fi 9552fi
9733done 9553done
@@ -9738,10 +9558,10 @@ fi
9738PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG 9558PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
9739 9559
9740if test -n "$PROG_LASTLOG"; then 9560if test -n "$PROG_LASTLOG"; then
9741 echo "$as_me:9741: result: $PROG_LASTLOG" >&5 9561 echo "$as_me:9561: result: $PROG_LASTLOG" >&5
9742echo "${ECHO_T}$PROG_LASTLOG" >&6 9562echo "${ECHO_T}$PROG_LASTLOG" >&6
9743else 9563else
9744 echo "$as_me:9744: result: no" >&5 9564 echo "$as_me:9564: result: no" >&5
9745echo "${ECHO_T}no" >&6 9565echo "${ECHO_T}no" >&6
9746fi 9566fi
9747 9567
@@ -9751,7 +9571,7 @@ fi
9751 9571
9752 # Extract the first word of "df", so it can be a program name with args. 9572 # Extract the first word of "df", so it can be a program name with args.
9753set dummy df; ac_word=$2 9573set dummy df; ac_word=$2
9754echo "$as_me:9754: checking for $ac_word" >&5 9574echo "$as_me:9574: checking for $ac_word" >&5
9755echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9575echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9756if test "${ac_cv_path_PROG_DF+set}" = set; then 9576if test "${ac_cv_path_PROG_DF+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6 9577 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9768,7 +9588,7 @@ for ac_dir in $ac_dummy; do
9768 test -z "$ac_dir" && ac_dir=. 9588 test -z "$ac_dir" && ac_dir=.
9769 if $as_executable_p "$ac_dir/$ac_word"; then 9589 if $as_executable_p "$ac_dir/$ac_word"; then
9770 ac_cv_path_PROG_DF="$ac_dir/$ac_word" 9590 ac_cv_path_PROG_DF="$ac_dir/$ac_word"
9771 echo "$as_me:9771: found $ac_dir/$ac_word" >&5 9591 echo "$as_me:9591: found $ac_dir/$ac_word" >&5
9772 break 9592 break
9773fi 9593fi
9774done 9594done
@@ -9779,10 +9599,10 @@ fi
9779PROG_DF=$ac_cv_path_PROG_DF 9599PROG_DF=$ac_cv_path_PROG_DF
9780 9600
9781if test -n "$PROG_DF"; then 9601if test -n "$PROG_DF"; then
9782 echo "$as_me:9782: result: $PROG_DF" >&5 9602 echo "$as_me:9602: result: $PROG_DF" >&5
9783echo "${ECHO_T}$PROG_DF" >&6 9603echo "${ECHO_T}$PROG_DF" >&6
9784else 9604else
9785 echo "$as_me:9785: result: no" >&5 9605 echo "$as_me:9605: result: no" >&5
9786echo "${ECHO_T}no" >&6 9606echo "${ECHO_T}no" >&6
9787fi 9607fi
9788 9608
@@ -9792,7 +9612,7 @@ fi
9792 9612
9793 # Extract the first word of "vmstat", so it can be a program name with args. 9613 # Extract the first word of "vmstat", so it can be a program name with args.
9794set dummy vmstat; ac_word=$2 9614set dummy vmstat; ac_word=$2
9795echo "$as_me:9795: checking for $ac_word" >&5 9615echo "$as_me:9615: checking for $ac_word" >&5
9796echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9616echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then 9617if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6 9618 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9809,7 +9629,7 @@ for ac_dir in $ac_dummy; do
9809 test -z "$ac_dir" && ac_dir=. 9629 test -z "$ac_dir" && ac_dir=.
9810 if $as_executable_p "$ac_dir/$ac_word"; then 9630 if $as_executable_p "$ac_dir/$ac_word"; then
9811 ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word" 9631 ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word"
9812 echo "$as_me:9812: found $ac_dir/$ac_word" >&5 9632 echo "$as_me:9632: found $ac_dir/$ac_word" >&5
9813 break 9633 break
9814fi 9634fi
9815done 9635done
@@ -9820,10 +9640,10 @@ fi
9820PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT 9640PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
9821 9641
9822if test -n "$PROG_VMSTAT"; then 9642if test -n "$PROG_VMSTAT"; then
9823 echo "$as_me:9823: result: $PROG_VMSTAT" >&5 9643 echo "$as_me:9643: result: $PROG_VMSTAT" >&5
9824echo "${ECHO_T}$PROG_VMSTAT" >&6 9644echo "${ECHO_T}$PROG_VMSTAT" >&6
9825else 9645else
9826 echo "$as_me:9826: result: no" >&5 9646 echo "$as_me:9646: result: no" >&5
9827echo "${ECHO_T}no" >&6 9647echo "${ECHO_T}no" >&6
9828fi 9648fi
9829 9649
@@ -9833,7 +9653,7 @@ fi
9833 9653
9834 # Extract the first word of "uptime", so it can be a program name with args. 9654 # Extract the first word of "uptime", so it can be a program name with args.
9835set dummy uptime; ac_word=$2 9655set dummy uptime; ac_word=$2
9836echo "$as_me:9836: checking for $ac_word" >&5 9656echo "$as_me:9656: checking for $ac_word" >&5
9837echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9657echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9838if test "${ac_cv_path_PROG_UPTIME+set}" = set; then 9658if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
9839 echo $ECHO_N "(cached) $ECHO_C" >&6 9659 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9850,7 +9670,7 @@ for ac_dir in $ac_dummy; do
9850 test -z "$ac_dir" && ac_dir=. 9670 test -z "$ac_dir" && ac_dir=.
9851 if $as_executable_p "$ac_dir/$ac_word"; then 9671 if $as_executable_p "$ac_dir/$ac_word"; then
9852 ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word" 9672 ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word"
9853 echo "$as_me:9853: found $ac_dir/$ac_word" >&5 9673 echo "$as_me:9673: found $ac_dir/$ac_word" >&5
9854 break 9674 break
9855fi 9675fi
9856done 9676done
@@ -9861,10 +9681,10 @@ fi
9861PROG_UPTIME=$ac_cv_path_PROG_UPTIME 9681PROG_UPTIME=$ac_cv_path_PROG_UPTIME
9862 9682
9863if test -n "$PROG_UPTIME"; then 9683if test -n "$PROG_UPTIME"; then
9864 echo "$as_me:9864: result: $PROG_UPTIME" >&5 9684 echo "$as_me:9684: result: $PROG_UPTIME" >&5
9865echo "${ECHO_T}$PROG_UPTIME" >&6 9685echo "${ECHO_T}$PROG_UPTIME" >&6
9866else 9686else
9867 echo "$as_me:9867: result: no" >&5 9687 echo "$as_me:9687: result: no" >&5
9868echo "${ECHO_T}no" >&6 9688echo "${ECHO_T}no" >&6
9869fi 9689fi
9870 9690
@@ -9874,7 +9694,7 @@ fi
9874 9694
9875 # Extract the first word of "ipcs", so it can be a program name with args. 9695 # Extract the first word of "ipcs", so it can be a program name with args.
9876set dummy ipcs; ac_word=$2 9696set dummy ipcs; ac_word=$2
9877echo "$as_me:9877: checking for $ac_word" >&5 9697echo "$as_me:9697: checking for $ac_word" >&5
9878echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9698echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9879if test "${ac_cv_path_PROG_IPCS+set}" = set; then 9699if test "${ac_cv_path_PROG_IPCS+set}" = set; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6 9700 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9891,7 +9711,7 @@ for ac_dir in $ac_dummy; do
9891 test -z "$ac_dir" && ac_dir=. 9711 test -z "$ac_dir" && ac_dir=.
9892 if $as_executable_p "$ac_dir/$ac_word"; then 9712 if $as_executable_p "$ac_dir/$ac_word"; then
9893 ac_cv_path_PROG_IPCS="$ac_dir/$ac_word" 9713 ac_cv_path_PROG_IPCS="$ac_dir/$ac_word"
9894 echo "$as_me:9894: found $ac_dir/$ac_word" >&5 9714 echo "$as_me:9714: found $ac_dir/$ac_word" >&5
9895 break 9715 break
9896fi 9716fi
9897done 9717done
@@ -9902,10 +9722,10 @@ fi
9902PROG_IPCS=$ac_cv_path_PROG_IPCS 9722PROG_IPCS=$ac_cv_path_PROG_IPCS
9903 9723
9904if test -n "$PROG_IPCS"; then 9724if test -n "$PROG_IPCS"; then
9905 echo "$as_me:9905: result: $PROG_IPCS" >&5 9725 echo "$as_me:9725: result: $PROG_IPCS" >&5
9906echo "${ECHO_T}$PROG_IPCS" >&6 9726echo "${ECHO_T}$PROG_IPCS" >&6
9907else 9727else
9908 echo "$as_me:9908: result: no" >&5 9728 echo "$as_me:9728: result: no" >&5
9909echo "${ECHO_T}no" >&6 9729echo "${ECHO_T}no" >&6
9910fi 9730fi
9911 9731
@@ -9915,7 +9735,7 @@ fi
9915 9735
9916 # Extract the first word of "tail", so it can be a program name with args. 9736 # Extract the first word of "tail", so it can be a program name with args.
9917set dummy tail; ac_word=$2 9737set dummy tail; ac_word=$2
9918echo "$as_me:9918: checking for $ac_word" >&5 9738echo "$as_me:9738: checking for $ac_word" >&5
9919echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9739echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9920if test "${ac_cv_path_PROG_TAIL+set}" = set; then 9740if test "${ac_cv_path_PROG_TAIL+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6 9741 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9932,7 +9752,7 @@ for ac_dir in $ac_dummy; do
9932 test -z "$ac_dir" && ac_dir=. 9752 test -z "$ac_dir" && ac_dir=.
9933 if $as_executable_p "$ac_dir/$ac_word"; then 9753 if $as_executable_p "$ac_dir/$ac_word"; then
9934 ac_cv_path_PROG_TAIL="$ac_dir/$ac_word" 9754 ac_cv_path_PROG_TAIL="$ac_dir/$ac_word"
9935 echo "$as_me:9935: found $ac_dir/$ac_word" >&5 9755 echo "$as_me:9755: found $ac_dir/$ac_word" >&5
9936 break 9756 break
9937fi 9757fi
9938done 9758done
@@ -9943,10 +9763,10 @@ fi
9943PROG_TAIL=$ac_cv_path_PROG_TAIL 9763PROG_TAIL=$ac_cv_path_PROG_TAIL
9944 9764
9945if test -n "$PROG_TAIL"; then 9765if test -n "$PROG_TAIL"; then
9946 echo "$as_me:9946: result: $PROG_TAIL" >&5 9766 echo "$as_me:9766: result: $PROG_TAIL" >&5
9947echo "${ECHO_T}$PROG_TAIL" >&6 9767echo "${ECHO_T}$PROG_TAIL" >&6
9948else 9768else
9949 echo "$as_me:9949: result: no" >&5 9769 echo "$as_me:9769: result: no" >&5
9950echo "${ECHO_T}no" >&6 9770echo "${ECHO_T}no" >&6
9951fi 9771fi
9952 9772
@@ -9977,13 +9797,13 @@ if test ! -z "$SONY" ; then
9977fi 9797fi
9978 9798
9979# Checks for data types 9799# Checks for data types
9980echo "$as_me:9980: checking for char" >&5 9800echo "$as_me:9800: checking for char" >&5
9981echo $ECHO_N "checking for char... $ECHO_C" >&6 9801echo $ECHO_N "checking for char... $ECHO_C" >&6
9982if test "${ac_cv_type_char+set}" = set; then 9802if test "${ac_cv_type_char+set}" = set; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6 9803 echo $ECHO_N "(cached) $ECHO_C" >&6
9984else 9804else
9985 cat >conftest.$ac_ext <<_ACEOF 9805 cat >conftest.$ac_ext <<_ACEOF
9986#line 9986 "configure" 9806#line 9806 "configure"
9987#include "confdefs.h" 9807#include "confdefs.h"
9988$ac_includes_default 9808$ac_includes_default
9989int 9809int
@@ -9998,16 +9818,16 @@ if (sizeof (char))
9998} 9818}
9999_ACEOF 9819_ACEOF
10000rm -f conftest.$ac_objext 9820rm -f conftest.$ac_objext
10001if { (eval echo "$as_me:10001: \"$ac_compile\"") >&5 9821if { (eval echo "$as_me:9821: \"$ac_compile\"") >&5
10002 (eval $ac_compile) 2>&5 9822 (eval $ac_compile) 2>&5
10003 ac_status=$? 9823 ac_status=$?
10004 echo "$as_me:10004: \$? = $ac_status" >&5 9824 echo "$as_me:9824: \$? = $ac_status" >&5
10005 (exit $ac_status); } && 9825 (exit $ac_status); } &&
10006 { ac_try='test -s conftest.$ac_objext' 9826 { ac_try='test -s conftest.$ac_objext'
10007 { (eval echo "$as_me:10007: \"$ac_try\"") >&5 9827 { (eval echo "$as_me:9827: \"$ac_try\"") >&5
10008 (eval $ac_try) 2>&5 9828 (eval $ac_try) 2>&5
10009 ac_status=$? 9829 ac_status=$?
10010 echo "$as_me:10010: \$? = $ac_status" >&5 9830 echo "$as_me:9830: \$? = $ac_status" >&5
10011 (exit $ac_status); }; }; then 9831 (exit $ac_status); }; }; then
10012 ac_cv_type_char=yes 9832 ac_cv_type_char=yes
10013else 9833else
@@ -10017,10 +9837,10 @@ ac_cv_type_char=no
10017fi 9837fi
10018rm -f conftest.$ac_objext conftest.$ac_ext 9838rm -f conftest.$ac_objext conftest.$ac_ext
10019fi 9839fi
10020echo "$as_me:10020: result: $ac_cv_type_char" >&5 9840echo "$as_me:9840: result: $ac_cv_type_char" >&5
10021echo "${ECHO_T}$ac_cv_type_char" >&6 9841echo "${ECHO_T}$ac_cv_type_char" >&6
10022 9842
10023echo "$as_me:10023: checking size of char" >&5 9843echo "$as_me:9843: checking size of char" >&5
10024echo $ECHO_N "checking size of char... $ECHO_C" >&6 9844echo $ECHO_N "checking size of char... $ECHO_C" >&6
10025if test "${ac_cv_sizeof_char+set}" = set; then 9845if test "${ac_cv_sizeof_char+set}" = set; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6 9846 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10029,7 +9849,7 @@ else
10029 if test "$cross_compiling" = yes; then 9849 if test "$cross_compiling" = yes; then
10030 # Depending upon the size, compute the lo and hi bounds. 9850 # Depending upon the size, compute the lo and hi bounds.
10031cat >conftest.$ac_ext <<_ACEOF 9851cat >conftest.$ac_ext <<_ACEOF
10032#line 10032 "configure" 9852#line 9852 "configure"
10033#include "confdefs.h" 9853#include "confdefs.h"
10034$ac_includes_default 9854$ac_includes_default
10035int 9855int
@@ -10041,21 +9861,21 @@ int _array_ [1 - 2 * !((sizeof (char)) >= 0)]
10041} 9861}
10042_ACEOF 9862_ACEOF
10043rm -f conftest.$ac_objext 9863rm -f conftest.$ac_objext
10044if { (eval echo "$as_me:10044: \"$ac_compile\"") >&5 9864if { (eval echo "$as_me:9864: \"$ac_compile\"") >&5
10045 (eval $ac_compile) 2>&5 9865 (eval $ac_compile) 2>&5
10046 ac_status=$? 9866 ac_status=$?
10047 echo "$as_me:10047: \$? = $ac_status" >&5 9867 echo "$as_me:9867: \$? = $ac_status" >&5
10048 (exit $ac_status); } && 9868 (exit $ac_status); } &&
10049 { ac_try='test -s conftest.$ac_objext' 9869 { ac_try='test -s conftest.$ac_objext'
10050 { (eval echo "$as_me:10050: \"$ac_try\"") >&5 9870 { (eval echo "$as_me:9870: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5 9871 (eval $ac_try) 2>&5
10052 ac_status=$? 9872 ac_status=$?
10053 echo "$as_me:10053: \$? = $ac_status" >&5 9873 echo "$as_me:9873: \$? = $ac_status" >&5
10054 (exit $ac_status); }; }; then 9874 (exit $ac_status); }; }; then
10055 ac_lo=0 ac_mid=0 9875 ac_lo=0 ac_mid=0
10056 while :; do 9876 while :; do
10057 cat >conftest.$ac_ext <<_ACEOF 9877 cat >conftest.$ac_ext <<_ACEOF
10058#line 10058 "configure" 9878#line 9878 "configure"
10059#include "confdefs.h" 9879#include "confdefs.h"
10060$ac_includes_default 9880$ac_includes_default
10061int 9881int
@@ -10067,16 +9887,16 @@ int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
10067} 9887}
10068_ACEOF 9888_ACEOF
10069rm -f conftest.$ac_objext 9889rm -f conftest.$ac_objext
10070if { (eval echo "$as_me:10070: \"$ac_compile\"") >&5 9890if { (eval echo "$as_me:9890: \"$ac_compile\"") >&5
10071 (eval $ac_compile) 2>&5 9891 (eval $ac_compile) 2>&5
10072 ac_status=$? 9892 ac_status=$?
10073 echo "$as_me:10073: \$? = $ac_status" >&5 9893 echo "$as_me:9893: \$? = $ac_status" >&5
10074 (exit $ac_status); } && 9894 (exit $ac_status); } &&
10075 { ac_try='test -s conftest.$ac_objext' 9895 { ac_try='test -s conftest.$ac_objext'
10076 { (eval echo "$as_me:10076: \"$ac_try\"") >&5 9896 { (eval echo "$as_me:9896: \"$ac_try\"") >&5
10077 (eval $ac_try) 2>&5 9897 (eval $ac_try) 2>&5
10078 ac_status=$? 9898 ac_status=$?
10079 echo "$as_me:10079: \$? = $ac_status" >&5 9899 echo "$as_me:9899: \$? = $ac_status" >&5
10080 (exit $ac_status); }; }; then 9900 (exit $ac_status); }; }; then
10081 ac_hi=$ac_mid; break 9901 ac_hi=$ac_mid; break
10082else 9902else
@@ -10092,7 +9912,7 @@ cat conftest.$ac_ext >&5
10092ac_hi=-1 ac_mid=-1 9912ac_hi=-1 ac_mid=-1
10093 while :; do 9913 while :; do
10094 cat >conftest.$ac_ext <<_ACEOF 9914 cat >conftest.$ac_ext <<_ACEOF
10095#line 10095 "configure" 9915#line 9915 "configure"
10096#include "confdefs.h" 9916#include "confdefs.h"
10097$ac_includes_default 9917$ac_includes_default
10098int 9918int
@@ -10104,16 +9924,16 @@ int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)]
10104} 9924}
10105_ACEOF 9925_ACEOF
10106rm -f conftest.$ac_objext 9926rm -f conftest.$ac_objext
10107if { (eval echo "$as_me:10107: \"$ac_compile\"") >&5 9927if { (eval echo "$as_me:9927: \"$ac_compile\"") >&5
10108 (eval $ac_compile) 2>&5 9928 (eval $ac_compile) 2>&5
10109 ac_status=$? 9929 ac_status=$?
10110 echo "$as_me:10110: \$? = $ac_status" >&5 9930 echo "$as_me:9930: \$? = $ac_status" >&5
10111 (exit $ac_status); } && 9931 (exit $ac_status); } &&
10112 { ac_try='test -s conftest.$ac_objext' 9932 { ac_try='test -s conftest.$ac_objext'
10113 { (eval echo "$as_me:10113: \"$ac_try\"") >&5 9933 { (eval echo "$as_me:9933: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5 9934 (eval $ac_try) 2>&5
10115 ac_status=$? 9935 ac_status=$?
10116 echo "$as_me:10116: \$? = $ac_status" >&5 9936 echo "$as_me:9936: \$? = $ac_status" >&5
10117 (exit $ac_status); }; }; then 9937 (exit $ac_status); }; }; then
10118 ac_lo=$ac_mid; break 9938 ac_lo=$ac_mid; break
10119else 9939else
@@ -10129,7 +9949,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
10129while test "x$ac_lo" != "x$ac_hi"; do 9949while test "x$ac_lo" != "x$ac_hi"; do
10130 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 9950 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10131 cat >conftest.$ac_ext <<_ACEOF 9951 cat >conftest.$ac_ext <<_ACEOF
10132#line 10132 "configure" 9952#line 9952 "configure"
10133#include "confdefs.h" 9953#include "confdefs.h"
10134$ac_includes_default 9954$ac_includes_default
10135int 9955int
@@ -10141,16 +9961,16 @@ int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
10141} 9961}
10142_ACEOF 9962_ACEOF
10143rm -f conftest.$ac_objext 9963rm -f conftest.$ac_objext
10144if { (eval echo "$as_me:10144: \"$ac_compile\"") >&5 9964if { (eval echo "$as_me:9964: \"$ac_compile\"") >&5
10145 (eval $ac_compile) 2>&5 9965 (eval $ac_compile) 2>&5
10146 ac_status=$? 9966 ac_status=$?
10147 echo "$as_me:10147: \$? = $ac_status" >&5 9967 echo "$as_me:9967: \$? = $ac_status" >&5
10148 (exit $ac_status); } && 9968 (exit $ac_status); } &&
10149 { ac_try='test -s conftest.$ac_objext' 9969 { ac_try='test -s conftest.$ac_objext'
10150 { (eval echo "$as_me:10150: \"$ac_try\"") >&5 9970 { (eval echo "$as_me:9970: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5 9971 (eval $ac_try) 2>&5
10152 ac_status=$? 9972 ac_status=$?
10153 echo "$as_me:10153: \$? = $ac_status" >&5 9973 echo "$as_me:9973: \$? = $ac_status" >&5
10154 (exit $ac_status); }; }; then 9974 (exit $ac_status); }; }; then
10155 ac_hi=$ac_mid 9975 ac_hi=$ac_mid
10156else 9976else
@@ -10163,12 +9983,12 @@ done
10163ac_cv_sizeof_char=$ac_lo 9983ac_cv_sizeof_char=$ac_lo
10164else 9984else
10165 if test "$cross_compiling" = yes; then 9985 if test "$cross_compiling" = yes; then
10166 { { echo "$as_me:10166: error: cannot run test program while cross compiling" >&5 9986 { { echo "$as_me:9986: error: cannot run test program while cross compiling" >&5
10167echo "$as_me: error: cannot run test program while cross compiling" >&2;} 9987echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10168 { (exit 1); exit 1; }; } 9988 { (exit 1); exit 1; }; }
10169else 9989else
10170 cat >conftest.$ac_ext <<_ACEOF 9990 cat >conftest.$ac_ext <<_ACEOF
10171#line 10171 "configure" 9991#line 9991 "configure"
10172#include "confdefs.h" 9992#include "confdefs.h"
10173$ac_includes_default 9993$ac_includes_default
10174int 9994int
@@ -10184,15 +10004,15 @@ fclose (f);
10184} 10004}
10185_ACEOF 10005_ACEOF
10186rm -f conftest$ac_exeext 10006rm -f conftest$ac_exeext
10187if { (eval echo "$as_me:10187: \"$ac_link\"") >&5 10007if { (eval echo "$as_me:10007: \"$ac_link\"") >&5
10188 (eval $ac_link) 2>&5 10008 (eval $ac_link) 2>&5
10189 ac_status=$? 10009 ac_status=$?
10190 echo "$as_me:10190: \$? = $ac_status" >&5 10010 echo "$as_me:10010: \$? = $ac_status" >&5
10191 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10192 { (eval echo "$as_me:10192: \"$ac_try\"") >&5 10012 { (eval echo "$as_me:10012: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5 10013 (eval $ac_try) 2>&5
10194 ac_status=$? 10014 ac_status=$?
10195 echo "$as_me:10195: \$? = $ac_status" >&5 10015 echo "$as_me:10015: \$? = $ac_status" >&5
10196 (exit $ac_status); }; }; then 10016 (exit $ac_status); }; }; then
10197 ac_cv_sizeof_char=`cat conftest.val` 10017 ac_cv_sizeof_char=`cat conftest.val`
10198else 10018else
@@ -10208,19 +10028,19 @@ else
10208 ac_cv_sizeof_char=0 10028 ac_cv_sizeof_char=0
10209fi 10029fi
10210fi 10030fi
10211echo "$as_me:10211: result: $ac_cv_sizeof_char" >&5 10031echo "$as_me:10031: result: $ac_cv_sizeof_char" >&5
10212echo "${ECHO_T}$ac_cv_sizeof_char" >&6 10032echo "${ECHO_T}$ac_cv_sizeof_char" >&6
10213cat >>confdefs.h <<EOF 10033cat >>confdefs.h <<EOF
10214#define SIZEOF_CHAR $ac_cv_sizeof_char 10034#define SIZEOF_CHAR $ac_cv_sizeof_char
10215EOF 10035EOF
10216 10036
10217echo "$as_me:10217: checking for short int" >&5 10037echo "$as_me:10037: checking for short int" >&5
10218echo $ECHO_N "checking for short int... $ECHO_C" >&6 10038echo $ECHO_N "checking for short int... $ECHO_C" >&6
10219if test "${ac_cv_type_short_int+set}" = set; then 10039if test "${ac_cv_type_short_int+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6 10040 echo $ECHO_N "(cached) $ECHO_C" >&6
10221else 10041else
10222 cat >conftest.$ac_ext <<_ACEOF 10042 cat >conftest.$ac_ext <<_ACEOF
10223#line 10223 "configure" 10043#line 10043 "configure"
10224#include "confdefs.h" 10044#include "confdefs.h"
10225$ac_includes_default 10045$ac_includes_default
10226int 10046int
@@ -10235,16 +10055,16 @@ if (sizeof (short int))
10235} 10055}
10236_ACEOF 10056_ACEOF
10237rm -f conftest.$ac_objext 10057rm -f conftest.$ac_objext
10238if { (eval echo "$as_me:10238: \"$ac_compile\"") >&5 10058if { (eval echo "$as_me:10058: \"$ac_compile\"") >&5
10239 (eval $ac_compile) 2>&5 10059 (eval $ac_compile) 2>&5
10240 ac_status=$? 10060 ac_status=$?
10241 echo "$as_me:10241: \$? = $ac_status" >&5 10061 echo "$as_me:10061: \$? = $ac_status" >&5
10242 (exit $ac_status); } && 10062 (exit $ac_status); } &&
10243 { ac_try='test -s conftest.$ac_objext' 10063 { ac_try='test -s conftest.$ac_objext'
10244 { (eval echo "$as_me:10244: \"$ac_try\"") >&5 10064 { (eval echo "$as_me:10064: \"$ac_try\"") >&5
10245 (eval $ac_try) 2>&5 10065 (eval $ac_try) 2>&5
10246 ac_status=$? 10066 ac_status=$?
10247 echo "$as_me:10247: \$? = $ac_status" >&5 10067 echo "$as_me:10067: \$? = $ac_status" >&5
10248 (exit $ac_status); }; }; then 10068 (exit $ac_status); }; }; then
10249 ac_cv_type_short_int=yes 10069 ac_cv_type_short_int=yes
10250else 10070else
@@ -10254,10 +10074,10 @@ ac_cv_type_short_int=no
10254fi 10074fi
10255rm -f conftest.$ac_objext conftest.$ac_ext 10075rm -f conftest.$ac_objext conftest.$ac_ext
10256fi 10076fi
10257echo "$as_me:10257: result: $ac_cv_type_short_int" >&5 10077echo "$as_me:10077: result: $ac_cv_type_short_int" >&5
10258echo "${ECHO_T}$ac_cv_type_short_int" >&6 10078echo "${ECHO_T}$ac_cv_type_short_int" >&6
10259 10079
10260echo "$as_me:10260: checking size of short int" >&5 10080echo "$as_me:10080: checking size of short int" >&5
10261echo $ECHO_N "checking size of short int... $ECHO_C" >&6 10081echo $ECHO_N "checking size of short int... $ECHO_C" >&6
10262if test "${ac_cv_sizeof_short_int+set}" = set; then 10082if test "${ac_cv_sizeof_short_int+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6 10083 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10266,7 +10086,7 @@ else
10266 if test "$cross_compiling" = yes; then 10086 if test "$cross_compiling" = yes; then
10267 # Depending upon the size, compute the lo and hi bounds. 10087 # Depending upon the size, compute the lo and hi bounds.
10268cat >conftest.$ac_ext <<_ACEOF 10088cat >conftest.$ac_ext <<_ACEOF
10269#line 10269 "configure" 10089#line 10089 "configure"
10270#include "confdefs.h" 10090#include "confdefs.h"
10271$ac_includes_default 10091$ac_includes_default
10272int 10092int
@@ -10278,21 +10098,21 @@ int _array_ [1 - 2 * !((sizeof (short int)) >= 0)]
10278} 10098}
10279_ACEOF 10099_ACEOF
10280rm -f conftest.$ac_objext 10100rm -f conftest.$ac_objext
10281if { (eval echo "$as_me:10281: \"$ac_compile\"") >&5 10101if { (eval echo "$as_me:10101: \"$ac_compile\"") >&5
10282 (eval $ac_compile) 2>&5 10102 (eval $ac_compile) 2>&5
10283 ac_status=$? 10103 ac_status=$?
10284 echo "$as_me:10284: \$? = $ac_status" >&5 10104 echo "$as_me:10104: \$? = $ac_status" >&5
10285 (exit $ac_status); } && 10105 (exit $ac_status); } &&
10286 { ac_try='test -s conftest.$ac_objext' 10106 { ac_try='test -s conftest.$ac_objext'
10287 { (eval echo "$as_me:10287: \"$ac_try\"") >&5 10107 { (eval echo "$as_me:10107: \"$ac_try\"") >&5
10288 (eval $ac_try) 2>&5 10108 (eval $ac_try) 2>&5
10289 ac_status=$? 10109 ac_status=$?
10290 echo "$as_me:10290: \$? = $ac_status" >&5 10110 echo "$as_me:10110: \$? = $ac_status" >&5
10291 (exit $ac_status); }; }; then 10111 (exit $ac_status); }; }; then
10292 ac_lo=0 ac_mid=0 10112 ac_lo=0 ac_mid=0
10293 while :; do 10113 while :; do
10294 cat >conftest.$ac_ext <<_ACEOF 10114 cat >conftest.$ac_ext <<_ACEOF
10295#line 10295 "configure" 10115#line 10115 "configure"
10296#include "confdefs.h" 10116#include "confdefs.h"
10297$ac_includes_default 10117$ac_includes_default
10298int 10118int
@@ -10304,16 +10124,16 @@ int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)]
10304} 10124}
10305_ACEOF 10125_ACEOF
10306rm -f conftest.$ac_objext 10126rm -f conftest.$ac_objext
10307if { (eval echo "$as_me:10307: \"$ac_compile\"") >&5 10127if { (eval echo "$as_me:10127: \"$ac_compile\"") >&5
10308 (eval $ac_compile) 2>&5 10128 (eval $ac_compile) 2>&5
10309 ac_status=$? 10129 ac_status=$?
10310 echo "$as_me:10310: \$? = $ac_status" >&5 10130 echo "$as_me:10130: \$? = $ac_status" >&5
10311 (exit $ac_status); } && 10131 (exit $ac_status); } &&
10312 { ac_try='test -s conftest.$ac_objext' 10132 { ac_try='test -s conftest.$ac_objext'
10313 { (eval echo "$as_me:10313: \"$ac_try\"") >&5 10133 { (eval echo "$as_me:10133: \"$ac_try\"") >&5
10314 (eval $ac_try) 2>&5 10134 (eval $ac_try) 2>&5
10315 ac_status=$? 10135 ac_status=$?
10316 echo "$as_me:10316: \$? = $ac_status" >&5 10136 echo "$as_me:10136: \$? = $ac_status" >&5
10317 (exit $ac_status); }; }; then 10137 (exit $ac_status); }; }; then
10318 ac_hi=$ac_mid; break 10138 ac_hi=$ac_mid; break
10319else 10139else
@@ -10329,7 +10149,7 @@ cat conftest.$ac_ext >&5
10329ac_hi=-1 ac_mid=-1 10149ac_hi=-1 ac_mid=-1
10330 while :; do 10150 while :; do
10331 cat >conftest.$ac_ext <<_ACEOF 10151 cat >conftest.$ac_ext <<_ACEOF
10332#line 10332 "configure" 10152#line 10152 "configure"
10333#include "confdefs.h" 10153#include "confdefs.h"
10334$ac_includes_default 10154$ac_includes_default
10335int 10155int
@@ -10341,16 +10161,16 @@ int _array_ [1 - 2 * !((sizeof (short int)) >= $ac_mid)]
10341} 10161}
10342_ACEOF 10162_ACEOF
10343rm -f conftest.$ac_objext 10163rm -f conftest.$ac_objext
10344if { (eval echo "$as_me:10344: \"$ac_compile\"") >&5 10164if { (eval echo "$as_me:10164: \"$ac_compile\"") >&5
10345 (eval $ac_compile) 2>&5 10165 (eval $ac_compile) 2>&5
10346 ac_status=$? 10166 ac_status=$?
10347 echo "$as_me:10347: \$? = $ac_status" >&5 10167 echo "$as_me:10167: \$? = $ac_status" >&5
10348 (exit $ac_status); } && 10168 (exit $ac_status); } &&
10349 { ac_try='test -s conftest.$ac_objext' 10169 { ac_try='test -s conftest.$ac_objext'
10350 { (eval echo "$as_me:10350: \"$ac_try\"") >&5 10170 { (eval echo "$as_me:10170: \"$ac_try\"") >&5
10351 (eval $ac_try) 2>&5 10171 (eval $ac_try) 2>&5
10352 ac_status=$? 10172 ac_status=$?
10353 echo "$as_me:10353: \$? = $ac_status" >&5 10173 echo "$as_me:10173: \$? = $ac_status" >&5
10354 (exit $ac_status); }; }; then 10174 (exit $ac_status); }; }; then
10355 ac_lo=$ac_mid; break 10175 ac_lo=$ac_mid; break
10356else 10176else
@@ -10366,7 +10186,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
10366while test "x$ac_lo" != "x$ac_hi"; do 10186while test "x$ac_lo" != "x$ac_hi"; do
10367 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10187 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10368 cat >conftest.$ac_ext <<_ACEOF 10188 cat >conftest.$ac_ext <<_ACEOF
10369#line 10369 "configure" 10189#line 10189 "configure"
10370#include "confdefs.h" 10190#include "confdefs.h"
10371$ac_includes_default 10191$ac_includes_default
10372int 10192int
@@ -10378,16 +10198,16 @@ int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)]
10378} 10198}
10379_ACEOF 10199_ACEOF
10380rm -f conftest.$ac_objext 10200rm -f conftest.$ac_objext
10381if { (eval echo "$as_me:10381: \"$ac_compile\"") >&5 10201if { (eval echo "$as_me:10201: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5 10202 (eval $ac_compile) 2>&5
10383 ac_status=$? 10203 ac_status=$?
10384 echo "$as_me:10384: \$? = $ac_status" >&5 10204 echo "$as_me:10204: \$? = $ac_status" >&5
10385 (exit $ac_status); } && 10205 (exit $ac_status); } &&
10386 { ac_try='test -s conftest.$ac_objext' 10206 { ac_try='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:10387: \"$ac_try\"") >&5 10207 { (eval echo "$as_me:10207: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5 10208 (eval $ac_try) 2>&5
10389 ac_status=$? 10209 ac_status=$?
10390 echo "$as_me:10390: \$? = $ac_status" >&5 10210 echo "$as_me:10210: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then 10211 (exit $ac_status); }; }; then
10392 ac_hi=$ac_mid 10212 ac_hi=$ac_mid
10393else 10213else
@@ -10400,12 +10220,12 @@ done
10400ac_cv_sizeof_short_int=$ac_lo 10220ac_cv_sizeof_short_int=$ac_lo
10401else 10221else
10402 if test "$cross_compiling" = yes; then 10222 if test "$cross_compiling" = yes; then
10403 { { echo "$as_me:10403: error: cannot run test program while cross compiling" >&5 10223 { { echo "$as_me:10223: error: cannot run test program while cross compiling" >&5
10404echo "$as_me: error: cannot run test program while cross compiling" >&2;} 10224echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10405 { (exit 1); exit 1; }; } 10225 { (exit 1); exit 1; }; }
10406else 10226else
10407 cat >conftest.$ac_ext <<_ACEOF 10227 cat >conftest.$ac_ext <<_ACEOF
10408#line 10408 "configure" 10228#line 10228 "configure"
10409#include "confdefs.h" 10229#include "confdefs.h"
10410$ac_includes_default 10230$ac_includes_default
10411int 10231int
@@ -10421,15 +10241,15 @@ fclose (f);
10421} 10241}
10422_ACEOF 10242_ACEOF
10423rm -f conftest$ac_exeext 10243rm -f conftest$ac_exeext
10424if { (eval echo "$as_me:10424: \"$ac_link\"") >&5 10244if { (eval echo "$as_me:10244: \"$ac_link\"") >&5
10425 (eval $ac_link) 2>&5 10245 (eval $ac_link) 2>&5
10426 ac_status=$? 10246 ac_status=$?
10427 echo "$as_me:10427: \$? = $ac_status" >&5 10247 echo "$as_me:10247: \$? = $ac_status" >&5
10428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10429 { (eval echo "$as_me:10429: \"$ac_try\"") >&5 10249 { (eval echo "$as_me:10249: \"$ac_try\"") >&5
10430 (eval $ac_try) 2>&5 10250 (eval $ac_try) 2>&5
10431 ac_status=$? 10251 ac_status=$?
10432 echo "$as_me:10432: \$? = $ac_status" >&5 10252 echo "$as_me:10252: \$? = $ac_status" >&5
10433 (exit $ac_status); }; }; then 10253 (exit $ac_status); }; }; then
10434 ac_cv_sizeof_short_int=`cat conftest.val` 10254 ac_cv_sizeof_short_int=`cat conftest.val`
10435else 10255else
@@ -10445,19 +10265,19 @@ else
10445 ac_cv_sizeof_short_int=0 10265 ac_cv_sizeof_short_int=0
10446fi 10266fi
10447fi 10267fi
10448echo "$as_me:10448: result: $ac_cv_sizeof_short_int" >&5 10268echo "$as_me:10268: result: $ac_cv_sizeof_short_int" >&5
10449echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 10269echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
10450cat >>confdefs.h <<EOF 10270cat >>confdefs.h <<EOF
10451#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int 10271#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
10452EOF 10272EOF
10453 10273
10454echo "$as_me:10454: checking for int" >&5 10274echo "$as_me:10274: checking for int" >&5
10455echo $ECHO_N "checking for int... $ECHO_C" >&6 10275echo $ECHO_N "checking for int... $ECHO_C" >&6
10456if test "${ac_cv_type_int+set}" = set; then 10276if test "${ac_cv_type_int+set}" = set; then
10457 echo $ECHO_N "(cached) $ECHO_C" >&6 10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10458else 10278else
10459 cat >conftest.$ac_ext <<_ACEOF 10279 cat >conftest.$ac_ext <<_ACEOF
10460#line 10460 "configure" 10280#line 10280 "configure"
10461#include "confdefs.h" 10281#include "confdefs.h"
10462$ac_includes_default 10282$ac_includes_default
10463int 10283int
@@ -10472,16 +10292,16 @@ if (sizeof (int))
10472} 10292}
10473_ACEOF 10293_ACEOF
10474rm -f conftest.$ac_objext 10294rm -f conftest.$ac_objext
10475if { (eval echo "$as_me:10475: \"$ac_compile\"") >&5 10295if { (eval echo "$as_me:10295: \"$ac_compile\"") >&5
10476 (eval $ac_compile) 2>&5 10296 (eval $ac_compile) 2>&5
10477 ac_status=$? 10297 ac_status=$?
10478 echo "$as_me:10478: \$? = $ac_status" >&5 10298 echo "$as_me:10298: \$? = $ac_status" >&5
10479 (exit $ac_status); } && 10299 (exit $ac_status); } &&
10480 { ac_try='test -s conftest.$ac_objext' 10300 { ac_try='test -s conftest.$ac_objext'
10481 { (eval echo "$as_me:10481: \"$ac_try\"") >&5 10301 { (eval echo "$as_me:10301: \"$ac_try\"") >&5
10482 (eval $ac_try) 2>&5 10302 (eval $ac_try) 2>&5
10483 ac_status=$? 10303 ac_status=$?
10484 echo "$as_me:10484: \$? = $ac_status" >&5 10304 echo "$as_me:10304: \$? = $ac_status" >&5
10485 (exit $ac_status); }; }; then 10305 (exit $ac_status); }; }; then
10486 ac_cv_type_int=yes 10306 ac_cv_type_int=yes
10487else 10307else
@@ -10491,10 +10311,10 @@ ac_cv_type_int=no
10491fi 10311fi
10492rm -f conftest.$ac_objext conftest.$ac_ext 10312rm -f conftest.$ac_objext conftest.$ac_ext
10493fi 10313fi
10494echo "$as_me:10494: result: $ac_cv_type_int" >&5 10314echo "$as_me:10314: result: $ac_cv_type_int" >&5
10495echo "${ECHO_T}$ac_cv_type_int" >&6 10315echo "${ECHO_T}$ac_cv_type_int" >&6
10496 10316
10497echo "$as_me:10497: checking size of int" >&5 10317echo "$as_me:10317: checking size of int" >&5
10498echo $ECHO_N "checking size of int... $ECHO_C" >&6 10318echo $ECHO_N "checking size of int... $ECHO_C" >&6
10499if test "${ac_cv_sizeof_int+set}" = set; then 10319if test "${ac_cv_sizeof_int+set}" = set; then
10500 echo $ECHO_N "(cached) $ECHO_C" >&6 10320 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10503,7 +10323,7 @@ else
10503 if test "$cross_compiling" = yes; then 10323 if test "$cross_compiling" = yes; then
10504 # Depending upon the size, compute the lo and hi bounds. 10324 # Depending upon the size, compute the lo and hi bounds.
10505cat >conftest.$ac_ext <<_ACEOF 10325cat >conftest.$ac_ext <<_ACEOF
10506#line 10506 "configure" 10326#line 10326 "configure"
10507#include "confdefs.h" 10327#include "confdefs.h"
10508$ac_includes_default 10328$ac_includes_default
10509int 10329int
@@ -10515,21 +10335,21 @@ int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
10515} 10335}
10516_ACEOF 10336_ACEOF
10517rm -f conftest.$ac_objext 10337rm -f conftest.$ac_objext
10518if { (eval echo "$as_me:10518: \"$ac_compile\"") >&5 10338if { (eval echo "$as_me:10338: \"$ac_compile\"") >&5
10519 (eval $ac_compile) 2>&5 10339 (eval $ac_compile) 2>&5
10520 ac_status=$? 10340 ac_status=$?
10521 echo "$as_me:10521: \$? = $ac_status" >&5 10341 echo "$as_me:10341: \$? = $ac_status" >&5
10522 (exit $ac_status); } && 10342 (exit $ac_status); } &&
10523 { ac_try='test -s conftest.$ac_objext' 10343 { ac_try='test -s conftest.$ac_objext'
10524 { (eval echo "$as_me:10524: \"$ac_try\"") >&5 10344 { (eval echo "$as_me:10344: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5 10345 (eval $ac_try) 2>&5
10526 ac_status=$? 10346 ac_status=$?
10527 echo "$as_me:10527: \$? = $ac_status" >&5 10347 echo "$as_me:10347: \$? = $ac_status" >&5
10528 (exit $ac_status); }; }; then 10348 (exit $ac_status); }; }; then
10529 ac_lo=0 ac_mid=0 10349 ac_lo=0 ac_mid=0
10530 while :; do 10350 while :; do
10531 cat >conftest.$ac_ext <<_ACEOF 10351 cat >conftest.$ac_ext <<_ACEOF
10532#line 10532 "configure" 10352#line 10352 "configure"
10533#include "confdefs.h" 10353#include "confdefs.h"
10534$ac_includes_default 10354$ac_includes_default
10535int 10355int
@@ -10541,16 +10361,16 @@ int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
10541} 10361}
10542_ACEOF 10362_ACEOF
10543rm -f conftest.$ac_objext 10363rm -f conftest.$ac_objext
10544if { (eval echo "$as_me:10544: \"$ac_compile\"") >&5 10364if { (eval echo "$as_me:10364: \"$ac_compile\"") >&5
10545 (eval $ac_compile) 2>&5 10365 (eval $ac_compile) 2>&5
10546 ac_status=$? 10366 ac_status=$?
10547 echo "$as_me:10547: \$? = $ac_status" >&5 10367 echo "$as_me:10367: \$? = $ac_status" >&5
10548 (exit $ac_status); } && 10368 (exit $ac_status); } &&
10549 { ac_try='test -s conftest.$ac_objext' 10369 { ac_try='test -s conftest.$ac_objext'
10550 { (eval echo "$as_me:10550: \"$ac_try\"") >&5 10370 { (eval echo "$as_me:10370: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5 10371 (eval $ac_try) 2>&5
10552 ac_status=$? 10372 ac_status=$?
10553 echo "$as_me:10553: \$? = $ac_status" >&5 10373 echo "$as_me:10373: \$? = $ac_status" >&5
10554 (exit $ac_status); }; }; then 10374 (exit $ac_status); }; }; then
10555 ac_hi=$ac_mid; break 10375 ac_hi=$ac_mid; break
10556else 10376else
@@ -10566,7 +10386,7 @@ cat conftest.$ac_ext >&5
10566ac_hi=-1 ac_mid=-1 10386ac_hi=-1 ac_mid=-1
10567 while :; do 10387 while :; do
10568 cat >conftest.$ac_ext <<_ACEOF 10388 cat >conftest.$ac_ext <<_ACEOF
10569#line 10569 "configure" 10389#line 10389 "configure"
10570#include "confdefs.h" 10390#include "confdefs.h"
10571$ac_includes_default 10391$ac_includes_default
10572int 10392int
@@ -10578,16 +10398,16 @@ int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
10578} 10398}
10579_ACEOF 10399_ACEOF
10580rm -f conftest.$ac_objext 10400rm -f conftest.$ac_objext
10581if { (eval echo "$as_me:10581: \"$ac_compile\"") >&5 10401if { (eval echo "$as_me:10401: \"$ac_compile\"") >&5
10582 (eval $ac_compile) 2>&5 10402 (eval $ac_compile) 2>&5
10583 ac_status=$? 10403 ac_status=$?
10584 echo "$as_me:10584: \$? = $ac_status" >&5 10404 echo "$as_me:10404: \$? = $ac_status" >&5
10585 (exit $ac_status); } && 10405 (exit $ac_status); } &&
10586 { ac_try='test -s conftest.$ac_objext' 10406 { ac_try='test -s conftest.$ac_objext'
10587 { (eval echo "$as_me:10587: \"$ac_try\"") >&5 10407 { (eval echo "$as_me:10407: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5 10408 (eval $ac_try) 2>&5
10589 ac_status=$? 10409 ac_status=$?
10590 echo "$as_me:10590: \$? = $ac_status" >&5 10410 echo "$as_me:10410: \$? = $ac_status" >&5
10591 (exit $ac_status); }; }; then 10411 (exit $ac_status); }; }; then
10592 ac_lo=$ac_mid; break 10412 ac_lo=$ac_mid; break
10593else 10413else
@@ -10603,7 +10423,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
10603while test "x$ac_lo" != "x$ac_hi"; do 10423while test "x$ac_lo" != "x$ac_hi"; do
10604 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10424 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10605 cat >conftest.$ac_ext <<_ACEOF 10425 cat >conftest.$ac_ext <<_ACEOF
10606#line 10606 "configure" 10426#line 10426 "configure"
10607#include "confdefs.h" 10427#include "confdefs.h"
10608$ac_includes_default 10428$ac_includes_default
10609int 10429int
@@ -10615,16 +10435,16 @@ int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
10615} 10435}
10616_ACEOF 10436_ACEOF
10617rm -f conftest.$ac_objext 10437rm -f conftest.$ac_objext
10618if { (eval echo "$as_me:10618: \"$ac_compile\"") >&5 10438if { (eval echo "$as_me:10438: \"$ac_compile\"") >&5
10619 (eval $ac_compile) 2>&5 10439 (eval $ac_compile) 2>&5
10620 ac_status=$? 10440 ac_status=$?
10621 echo "$as_me:10621: \$? = $ac_status" >&5 10441 echo "$as_me:10441: \$? = $ac_status" >&5
10622 (exit $ac_status); } && 10442 (exit $ac_status); } &&
10623 { ac_try='test -s conftest.$ac_objext' 10443 { ac_try='test -s conftest.$ac_objext'
10624 { (eval echo "$as_me:10624: \"$ac_try\"") >&5 10444 { (eval echo "$as_me:10444: \"$ac_try\"") >&5
10625 (eval $ac_try) 2>&5 10445 (eval $ac_try) 2>&5
10626 ac_status=$? 10446 ac_status=$?
10627 echo "$as_me:10627: \$? = $ac_status" >&5 10447 echo "$as_me:10447: \$? = $ac_status" >&5
10628 (exit $ac_status); }; }; then 10448 (exit $ac_status); }; }; then
10629 ac_hi=$ac_mid 10449 ac_hi=$ac_mid
10630else 10450else
@@ -10637,12 +10457,12 @@ done
10637ac_cv_sizeof_int=$ac_lo 10457ac_cv_sizeof_int=$ac_lo
10638else 10458else
10639 if test "$cross_compiling" = yes; then 10459 if test "$cross_compiling" = yes; then
10640 { { echo "$as_me:10640: error: cannot run test program while cross compiling" >&5 10460 { { echo "$as_me:10460: error: cannot run test program while cross compiling" >&5
10641echo "$as_me: error: cannot run test program while cross compiling" >&2;} 10461echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10642 { (exit 1); exit 1; }; } 10462 { (exit 1); exit 1; }; }
10643else 10463else
10644 cat >conftest.$ac_ext <<_ACEOF 10464 cat >conftest.$ac_ext <<_ACEOF
10645#line 10645 "configure" 10465#line 10465 "configure"
10646#include "confdefs.h" 10466#include "confdefs.h"
10647$ac_includes_default 10467$ac_includes_default
10648int 10468int
@@ -10658,15 +10478,15 @@ fclose (f);
10658} 10478}
10659_ACEOF 10479_ACEOF
10660rm -f conftest$ac_exeext 10480rm -f conftest$ac_exeext
10661if { (eval echo "$as_me:10661: \"$ac_link\"") >&5 10481if { (eval echo "$as_me:10481: \"$ac_link\"") >&5
10662 (eval $ac_link) 2>&5 10482 (eval $ac_link) 2>&5
10663 ac_status=$? 10483 ac_status=$?
10664 echo "$as_me:10664: \$? = $ac_status" >&5 10484 echo "$as_me:10484: \$? = $ac_status" >&5
10665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10666 { (eval echo "$as_me:10666: \"$ac_try\"") >&5 10486 { (eval echo "$as_me:10486: \"$ac_try\"") >&5
10667 (eval $ac_try) 2>&5 10487 (eval $ac_try) 2>&5
10668 ac_status=$? 10488 ac_status=$?
10669 echo "$as_me:10669: \$? = $ac_status" >&5 10489 echo "$as_me:10489: \$? = $ac_status" >&5
10670 (exit $ac_status); }; }; then 10490 (exit $ac_status); }; }; then
10671 ac_cv_sizeof_int=`cat conftest.val` 10491 ac_cv_sizeof_int=`cat conftest.val`
10672else 10492else
@@ -10682,19 +10502,19 @@ else
10682 ac_cv_sizeof_int=0 10502 ac_cv_sizeof_int=0
10683fi 10503fi
10684fi 10504fi
10685echo "$as_me:10685: result: $ac_cv_sizeof_int" >&5 10505echo "$as_me:10505: result: $ac_cv_sizeof_int" >&5
10686echo "${ECHO_T}$ac_cv_sizeof_int" >&6 10506echo "${ECHO_T}$ac_cv_sizeof_int" >&6
10687cat >>confdefs.h <<EOF 10507cat >>confdefs.h <<EOF
10688#define SIZEOF_INT $ac_cv_sizeof_int 10508#define SIZEOF_INT $ac_cv_sizeof_int
10689EOF 10509EOF
10690 10510
10691echo "$as_me:10691: checking for long int" >&5 10511echo "$as_me:10511: checking for long int" >&5
10692echo $ECHO_N "checking for long int... $ECHO_C" >&6 10512echo $ECHO_N "checking for long int... $ECHO_C" >&6
10693if test "${ac_cv_type_long_int+set}" = set; then 10513if test "${ac_cv_type_long_int+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6 10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10695else 10515else
10696 cat >conftest.$ac_ext <<_ACEOF 10516 cat >conftest.$ac_ext <<_ACEOF
10697#line 10697 "configure" 10517#line 10517 "configure"
10698#include "confdefs.h" 10518#include "confdefs.h"
10699$ac_includes_default 10519$ac_includes_default
10700int 10520int
@@ -10709,16 +10529,16 @@ if (sizeof (long int))
10709} 10529}
10710_ACEOF 10530_ACEOF
10711rm -f conftest.$ac_objext 10531rm -f conftest.$ac_objext
10712if { (eval echo "$as_me:10712: \"$ac_compile\"") >&5 10532if { (eval echo "$as_me:10532: \"$ac_compile\"") >&5
10713 (eval $ac_compile) 2>&5 10533 (eval $ac_compile) 2>&5
10714 ac_status=$? 10534 ac_status=$?
10715 echo "$as_me:10715: \$? = $ac_status" >&5 10535 echo "$as_me:10535: \$? = $ac_status" >&5
10716 (exit $ac_status); } && 10536 (exit $ac_status); } &&
10717 { ac_try='test -s conftest.$ac_objext' 10537 { ac_try='test -s conftest.$ac_objext'
10718 { (eval echo "$as_me:10718: \"$ac_try\"") >&5 10538 { (eval echo "$as_me:10538: \"$ac_try\"") >&5
10719 (eval $ac_try) 2>&5 10539 (eval $ac_try) 2>&5
10720 ac_status=$? 10540 ac_status=$?
10721 echo "$as_me:10721: \$? = $ac_status" >&5 10541 echo "$as_me:10541: \$? = $ac_status" >&5
10722 (exit $ac_status); }; }; then 10542 (exit $ac_status); }; }; then
10723 ac_cv_type_long_int=yes 10543 ac_cv_type_long_int=yes
10724else 10544else
@@ -10728,10 +10548,10 @@ ac_cv_type_long_int=no
10728fi 10548fi
10729rm -f conftest.$ac_objext conftest.$ac_ext 10549rm -f conftest.$ac_objext conftest.$ac_ext
10730fi 10550fi
10731echo "$as_me:10731: result: $ac_cv_type_long_int" >&5 10551echo "$as_me:10551: result: $ac_cv_type_long_int" >&5
10732echo "${ECHO_T}$ac_cv_type_long_int" >&6 10552echo "${ECHO_T}$ac_cv_type_long_int" >&6
10733 10553
10734echo "$as_me:10734: checking size of long int" >&5 10554echo "$as_me:10554: checking size of long int" >&5
10735echo $ECHO_N "checking size of long int... $ECHO_C" >&6 10555echo $ECHO_N "checking size of long int... $ECHO_C" >&6
10736if test "${ac_cv_sizeof_long_int+set}" = set; then 10556if test "${ac_cv_sizeof_long_int+set}" = set; then
10737 echo $ECHO_N "(cached) $ECHO_C" >&6 10557 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10740,7 +10560,7 @@ else
10740 if test "$cross_compiling" = yes; then 10560 if test "$cross_compiling" = yes; then
10741 # Depending upon the size, compute the lo and hi bounds. 10561 # Depending upon the size, compute the lo and hi bounds.
10742cat >conftest.$ac_ext <<_ACEOF 10562cat >conftest.$ac_ext <<_ACEOF
10743#line 10743 "configure" 10563#line 10563 "configure"
10744#include "confdefs.h" 10564#include "confdefs.h"
10745$ac_includes_default 10565$ac_includes_default
10746int 10566int
@@ -10752,21 +10572,21 @@ int _array_ [1 - 2 * !((sizeof (long int)) >= 0)]
10752} 10572}
10753_ACEOF 10573_ACEOF
10754rm -f conftest.$ac_objext 10574rm -f conftest.$ac_objext
10755if { (eval echo "$as_me:10755: \"$ac_compile\"") >&5 10575if { (eval echo "$as_me:10575: \"$ac_compile\"") >&5
10756 (eval $ac_compile) 2>&5 10576 (eval $ac_compile) 2>&5
10757 ac_status=$? 10577 ac_status=$?
10758 echo "$as_me:10758: \$? = $ac_status" >&5 10578 echo "$as_me:10578: \$? = $ac_status" >&5
10759 (exit $ac_status); } && 10579 (exit $ac_status); } &&
10760 { ac_try='test -s conftest.$ac_objext' 10580 { ac_try='test -s conftest.$ac_objext'
10761 { (eval echo "$as_me:10761: \"$ac_try\"") >&5 10581 { (eval echo "$as_me:10581: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5 10582 (eval $ac_try) 2>&5
10763 ac_status=$? 10583 ac_status=$?
10764 echo "$as_me:10764: \$? = $ac_status" >&5 10584 echo "$as_me:10584: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then 10585 (exit $ac_status); }; }; then
10766 ac_lo=0 ac_mid=0 10586 ac_lo=0 ac_mid=0
10767 while :; do 10587 while :; do
10768 cat >conftest.$ac_ext <<_ACEOF 10588 cat >conftest.$ac_ext <<_ACEOF
10769#line 10769 "configure" 10589#line 10589 "configure"
10770#include "confdefs.h" 10590#include "confdefs.h"
10771$ac_includes_default 10591$ac_includes_default
10772int 10592int
@@ -10778,16 +10598,16 @@ int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)]
10778} 10598}
10779_ACEOF 10599_ACEOF
10780rm -f conftest.$ac_objext 10600rm -f conftest.$ac_objext
10781if { (eval echo "$as_me:10781: \"$ac_compile\"") >&5 10601if { (eval echo "$as_me:10601: \"$ac_compile\"") >&5
10782 (eval $ac_compile) 2>&5 10602 (eval $ac_compile) 2>&5
10783 ac_status=$? 10603 ac_status=$?
10784 echo "$as_me:10784: \$? = $ac_status" >&5 10604 echo "$as_me:10604: \$? = $ac_status" >&5
10785 (exit $ac_status); } && 10605 (exit $ac_status); } &&
10786 { ac_try='test -s conftest.$ac_objext' 10606 { ac_try='test -s conftest.$ac_objext'
10787 { (eval echo "$as_me:10787: \"$ac_try\"") >&5 10607 { (eval echo "$as_me:10607: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5 10608 (eval $ac_try) 2>&5
10789 ac_status=$? 10609 ac_status=$?
10790 echo "$as_me:10790: \$? = $ac_status" >&5 10610 echo "$as_me:10610: \$? = $ac_status" >&5
10791 (exit $ac_status); }; }; then 10611 (exit $ac_status); }; }; then
10792 ac_hi=$ac_mid; break 10612 ac_hi=$ac_mid; break
10793else 10613else
@@ -10803,7 +10623,7 @@ cat conftest.$ac_ext >&5
10803ac_hi=-1 ac_mid=-1 10623ac_hi=-1 ac_mid=-1
10804 while :; do 10624 while :; do
10805 cat >conftest.$ac_ext <<_ACEOF 10625 cat >conftest.$ac_ext <<_ACEOF
10806#line 10806 "configure" 10626#line 10626 "configure"
10807#include "confdefs.h" 10627#include "confdefs.h"
10808$ac_includes_default 10628$ac_includes_default
10809int 10629int
@@ -10815,16 +10635,16 @@ int _array_ [1 - 2 * !((sizeof (long int)) >= $ac_mid)]
10815} 10635}
10816_ACEOF 10636_ACEOF
10817rm -f conftest.$ac_objext 10637rm -f conftest.$ac_objext
10818if { (eval echo "$as_me:10818: \"$ac_compile\"") >&5 10638if { (eval echo "$as_me:10638: \"$ac_compile\"") >&5
10819 (eval $ac_compile) 2>&5 10639 (eval $ac_compile) 2>&5
10820 ac_status=$? 10640 ac_status=$?
10821 echo "$as_me:10821: \$? = $ac_status" >&5 10641 echo "$as_me:10641: \$? = $ac_status" >&5
10822 (exit $ac_status); } && 10642 (exit $ac_status); } &&
10823 { ac_try='test -s conftest.$ac_objext' 10643 { ac_try='test -s conftest.$ac_objext'
10824 { (eval echo "$as_me:10824: \"$ac_try\"") >&5 10644 { (eval echo "$as_me:10644: \"$ac_try\"") >&5
10825 (eval $ac_try) 2>&5 10645 (eval $ac_try) 2>&5
10826 ac_status=$? 10646 ac_status=$?
10827 echo "$as_me:10827: \$? = $ac_status" >&5 10647 echo "$as_me:10647: \$? = $ac_status" >&5
10828 (exit $ac_status); }; }; then 10648 (exit $ac_status); }; }; then
10829 ac_lo=$ac_mid; break 10649 ac_lo=$ac_mid; break
10830else 10650else
@@ -10840,7 +10660,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
10840while test "x$ac_lo" != "x$ac_hi"; do 10660while test "x$ac_lo" != "x$ac_hi"; do
10841 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10661 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10842 cat >conftest.$ac_ext <<_ACEOF 10662 cat >conftest.$ac_ext <<_ACEOF
10843#line 10843 "configure" 10663#line 10663 "configure"
10844#include "confdefs.h" 10664#include "confdefs.h"
10845$ac_includes_default 10665$ac_includes_default
10846int 10666int
@@ -10852,16 +10672,16 @@ int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)]
10852} 10672}
10853_ACEOF 10673_ACEOF
10854rm -f conftest.$ac_objext 10674rm -f conftest.$ac_objext
10855if { (eval echo "$as_me:10855: \"$ac_compile\"") >&5 10675if { (eval echo "$as_me:10675: \"$ac_compile\"") >&5
10856 (eval $ac_compile) 2>&5 10676 (eval $ac_compile) 2>&5
10857 ac_status=$? 10677 ac_status=$?
10858 echo "$as_me:10858: \$? = $ac_status" >&5 10678 echo "$as_me:10678: \$? = $ac_status" >&5
10859 (exit $ac_status); } && 10679 (exit $ac_status); } &&
10860 { ac_try='test -s conftest.$ac_objext' 10680 { ac_try='test -s conftest.$ac_objext'
10861 { (eval echo "$as_me:10861: \"$ac_try\"") >&5 10681 { (eval echo "$as_me:10681: \"$ac_try\"") >&5
10862 (eval $ac_try) 2>&5 10682 (eval $ac_try) 2>&5
10863 ac_status=$? 10683 ac_status=$?
10864 echo "$as_me:10864: \$? = $ac_status" >&5 10684 echo "$as_me:10684: \$? = $ac_status" >&5
10865 (exit $ac_status); }; }; then 10685 (exit $ac_status); }; }; then
10866 ac_hi=$ac_mid 10686 ac_hi=$ac_mid
10867else 10687else
@@ -10874,12 +10694,12 @@ done
10874ac_cv_sizeof_long_int=$ac_lo 10694ac_cv_sizeof_long_int=$ac_lo
10875else 10695else
10876 if test "$cross_compiling" = yes; then 10696 if test "$cross_compiling" = yes; then
10877 { { echo "$as_me:10877: error: cannot run test program while cross compiling" >&5 10697 { { echo "$as_me:10697: error: cannot run test program while cross compiling" >&5
10878echo "$as_me: error: cannot run test program while cross compiling" >&2;} 10698echo "$as_me: error: cannot run test program while cross compiling" >&2;}
10879 { (exit 1); exit 1; }; } 10699 { (exit 1); exit 1; }; }
10880else 10700else
10881 cat >conftest.$ac_ext <<_ACEOF 10701 cat >conftest.$ac_ext <<_ACEOF
10882#line 10882 "configure" 10702#line 10702 "configure"
10883#include "confdefs.h" 10703#include "confdefs.h"
10884$ac_includes_default 10704$ac_includes_default
10885int 10705int
@@ -10895,15 +10715,15 @@ fclose (f);
10895} 10715}
10896_ACEOF 10716_ACEOF
10897rm -f conftest$ac_exeext 10717rm -f conftest$ac_exeext
10898if { (eval echo "$as_me:10898: \"$ac_link\"") >&5 10718if { (eval echo "$as_me:10718: \"$ac_link\"") >&5
10899 (eval $ac_link) 2>&5 10719 (eval $ac_link) 2>&5
10900 ac_status=$? 10720 ac_status=$?
10901 echo "$as_me:10901: \$? = $ac_status" >&5 10721 echo "$as_me:10721: \$? = $ac_status" >&5
10902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10903 { (eval echo "$as_me:10903: \"$ac_try\"") >&5 10723 { (eval echo "$as_me:10723: \"$ac_try\"") >&5
10904 (eval $ac_try) 2>&5 10724 (eval $ac_try) 2>&5
10905 ac_status=$? 10725 ac_status=$?
10906 echo "$as_me:10906: \$? = $ac_status" >&5 10726 echo "$as_me:10726: \$? = $ac_status" >&5
10907 (exit $ac_status); }; }; then 10727 (exit $ac_status); }; }; then
10908 ac_cv_sizeof_long_int=`cat conftest.val` 10728 ac_cv_sizeof_long_int=`cat conftest.val`
10909else 10729else
@@ -10919,19 +10739,19 @@ else
10919 ac_cv_sizeof_long_int=0 10739 ac_cv_sizeof_long_int=0
10920fi 10740fi
10921fi 10741fi
10922echo "$as_me:10922: result: $ac_cv_sizeof_long_int" >&5 10742echo "$as_me:10742: result: $ac_cv_sizeof_long_int" >&5
10923echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 10743echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
10924cat >>confdefs.h <<EOF 10744cat >>confdefs.h <<EOF
10925#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int 10745#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
10926EOF 10746EOF
10927 10747
10928echo "$as_me:10928: checking for long long int" >&5 10748echo "$as_me:10748: checking for long long int" >&5
10929echo $ECHO_N "checking for long long int... $ECHO_C" >&6 10749echo $ECHO_N "checking for long long int... $ECHO_C" >&6
10930if test "${ac_cv_type_long_long_int+set}" = set; then 10750if test "${ac_cv_type_long_long_int+set}" = set; then
10931 echo $ECHO_N "(cached) $ECHO_C" >&6 10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10932else 10752else
10933 cat >conftest.$ac_ext <<_ACEOF 10753 cat >conftest.$ac_ext <<_ACEOF
10934#line 10934 "configure" 10754#line 10754 "configure"
10935#include "confdefs.h" 10755#include "confdefs.h"
10936$ac_includes_default 10756$ac_includes_default
10937int 10757int
@@ -10946,16 +10766,16 @@ if (sizeof (long long int))
10946} 10766}
10947_ACEOF 10767_ACEOF
10948rm -f conftest.$ac_objext 10768rm -f conftest.$ac_objext
10949if { (eval echo "$as_me:10949: \"$ac_compile\"") >&5 10769if { (eval echo "$as_me:10769: \"$ac_compile\"") >&5
10950 (eval $ac_compile) 2>&5 10770 (eval $ac_compile) 2>&5
10951 ac_status=$? 10771 ac_status=$?
10952 echo "$as_me:10952: \$? = $ac_status" >&5 10772 echo "$as_me:10772: \$? = $ac_status" >&5
10953 (exit $ac_status); } && 10773 (exit $ac_status); } &&
10954 { ac_try='test -s conftest.$ac_objext' 10774 { ac_try='test -s conftest.$ac_objext'
10955 { (eval echo "$as_me:10955: \"$ac_try\"") >&5 10775 { (eval echo "$as_me:10775: \"$ac_try\"") >&5
10956 (eval $ac_try) 2>&5 10776 (eval $ac_try) 2>&5
10957 ac_status=$? 10777 ac_status=$?
10958 echo "$as_me:10958: \$? = $ac_status" >&5 10778 echo "$as_me:10778: \$? = $ac_status" >&5
10959 (exit $ac_status); }; }; then 10779 (exit $ac_status); }; }; then
10960 ac_cv_type_long_long_int=yes 10780 ac_cv_type_long_long_int=yes
10961else 10781else
@@ -10965,10 +10785,10 @@ ac_cv_type_long_long_int=no
10965fi 10785fi
10966rm -f conftest.$ac_objext conftest.$ac_ext 10786rm -f conftest.$ac_objext conftest.$ac_ext
10967fi 10787fi
10968echo "$as_me:10968: result: $ac_cv_type_long_long_int" >&5 10788echo "$as_me:10788: result: $ac_cv_type_long_long_int" >&5
10969echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 10789echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
10970 10790
10971echo "$as_me:10971: checking size of long long int" >&5 10791echo "$as_me:10791: checking size of long long int" >&5
10972echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 10792echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
10973if test "${ac_cv_sizeof_long_long_int+set}" = set; then 10793if test "${ac_cv_sizeof_long_long_int+set}" = set; then
10974 echo $ECHO_N "(cached) $ECHO_C" >&6 10794 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10977,7 +10797,7 @@ else
10977 if test "$cross_compiling" = yes; then 10797 if test "$cross_compiling" = yes; then
10978 # Depending upon the size, compute the lo and hi bounds. 10798 # Depending upon the size, compute the lo and hi bounds.
10979cat >conftest.$ac_ext <<_ACEOF 10799cat >conftest.$ac_ext <<_ACEOF
10980#line 10980 "configure" 10800#line 10800 "configure"
10981#include "confdefs.h" 10801#include "confdefs.h"
10982$ac_includes_default 10802$ac_includes_default
10983int 10803int
@@ -10989,21 +10809,21 @@ int _array_ [1 - 2 * !((sizeof (long long int)) >= 0)]
10989} 10809}
10990_ACEOF 10810_ACEOF
10991rm -f conftest.$ac_objext 10811rm -f conftest.$ac_objext
10992if { (eval echo "$as_me:10992: \"$ac_compile\"") >&5 10812if { (eval echo "$as_me:10812: \"$ac_compile\"") >&5
10993 (eval $ac_compile) 2>&5 10813 (eval $ac_compile) 2>&5
10994 ac_status=$? 10814 ac_status=$?
10995 echo "$as_me:10995: \$? = $ac_status" >&5 10815 echo "$as_me:10815: \$? = $ac_status" >&5
10996 (exit $ac_status); } && 10816 (exit $ac_status); } &&
10997 { ac_try='test -s conftest.$ac_objext' 10817 { ac_try='test -s conftest.$ac_objext'
10998 { (eval echo "$as_me:10998: \"$ac_try\"") >&5 10818 { (eval echo "$as_me:10818: \"$ac_try\"") >&5
10999 (eval $ac_try) 2>&5 10819 (eval $ac_try) 2>&5
11000 ac_status=$? 10820 ac_status=$?
11001 echo "$as_me:11001: \$? = $ac_status" >&5 10821 echo "$as_me:10821: \$? = $ac_status" >&5
11002 (exit $ac_status); }; }; then 10822 (exit $ac_status); }; }; then
11003 ac_lo=0 ac_mid=0 10823 ac_lo=0 ac_mid=0
11004 while :; do 10824 while :; do
11005 cat >conftest.$ac_ext <<_ACEOF 10825 cat >conftest.$ac_ext <<_ACEOF
11006#line 11006 "configure" 10826#line 10826 "configure"
11007#include "confdefs.h" 10827#include "confdefs.h"
11008$ac_includes_default 10828$ac_includes_default
11009int 10829int
@@ -11015,16 +10835,16 @@ int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)]
11015} 10835}
11016_ACEOF 10836_ACEOF
11017rm -f conftest.$ac_objext 10837rm -f conftest.$ac_objext
11018if { (eval echo "$as_me:11018: \"$ac_compile\"") >&5 10838if { (eval echo "$as_me:10838: \"$ac_compile\"") >&5
11019 (eval $ac_compile) 2>&5 10839 (eval $ac_compile) 2>&5
11020 ac_status=$? 10840 ac_status=$?
11021 echo "$as_me:11021: \$? = $ac_status" >&5 10841 echo "$as_me:10841: \$? = $ac_status" >&5
11022 (exit $ac_status); } && 10842 (exit $ac_status); } &&
11023 { ac_try='test -s conftest.$ac_objext' 10843 { ac_try='test -s conftest.$ac_objext'
11024 { (eval echo "$as_me:11024: \"$ac_try\"") >&5 10844 { (eval echo "$as_me:10844: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5 10845 (eval $ac_try) 2>&5
11026 ac_status=$? 10846 ac_status=$?
11027 echo "$as_me:11027: \$? = $ac_status" >&5 10847 echo "$as_me:10847: \$? = $ac_status" >&5
11028 (exit $ac_status); }; }; then 10848 (exit $ac_status); }; }; then
11029 ac_hi=$ac_mid; break 10849 ac_hi=$ac_mid; break
11030else 10850else
@@ -11040,7 +10860,7 @@ cat conftest.$ac_ext >&5
11040ac_hi=-1 ac_mid=-1 10860ac_hi=-1 ac_mid=-1
11041 while :; do 10861 while :; do
11042 cat >conftest.$ac_ext <<_ACEOF 10862 cat >conftest.$ac_ext <<_ACEOF
11043#line 11043 "configure" 10863#line 10863 "configure"
11044#include "confdefs.h" 10864#include "confdefs.h"
11045$ac_includes_default 10865$ac_includes_default
11046int 10866int
@@ -11052,16 +10872,16 @@ int _array_ [1 - 2 * !((sizeof (long long int)) >= $ac_mid)]
11052} 10872}
11053_ACEOF 10873_ACEOF
11054rm -f conftest.$ac_objext 10874rm -f conftest.$ac_objext
11055if { (eval echo "$as_me:11055: \"$ac_compile\"") >&5 10875if { (eval echo "$as_me:10875: \"$ac_compile\"") >&5
11056 (eval $ac_compile) 2>&5 10876 (eval $ac_compile) 2>&5
11057 ac_status=$? 10877 ac_status=$?
11058 echo "$as_me:11058: \$? = $ac_status" >&5 10878 echo "$as_me:10878: \$? = $ac_status" >&5
11059 (exit $ac_status); } && 10879 (exit $ac_status); } &&
11060 { ac_try='test -s conftest.$ac_objext' 10880 { ac_try='test -s conftest.$ac_objext'
11061 { (eval echo "$as_me:11061: \"$ac_try\"") >&5 10881 { (eval echo "$as_me:10881: \"$ac_try\"") >&5
11062 (eval $ac_try) 2>&5 10882 (eval $ac_try) 2>&5
11063 ac_status=$? 10883 ac_status=$?
11064 echo "$as_me:11064: \$? = $ac_status" >&5 10884 echo "$as_me:10884: \$? = $ac_status" >&5
11065 (exit $ac_status); }; }; then 10885 (exit $ac_status); }; }; then
11066 ac_lo=$ac_mid; break 10886 ac_lo=$ac_mid; break
11067else 10887else
@@ -11077,7 +10897,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
11077while test "x$ac_lo" != "x$ac_hi"; do 10897while test "x$ac_lo" != "x$ac_hi"; do
11078 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 10898 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11079 cat >conftest.$ac_ext <<_ACEOF 10899 cat >conftest.$ac_ext <<_ACEOF
11080#line 11080 "configure" 10900#line 10900 "configure"
11081#include "confdefs.h" 10901#include "confdefs.h"
11082$ac_includes_default 10902$ac_includes_default
11083int 10903int
@@ -11089,16 +10909,16 @@ int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)]
11089} 10909}
11090_ACEOF 10910_ACEOF
11091rm -f conftest.$ac_objext 10911rm -f conftest.$ac_objext
11092if { (eval echo "$as_me:11092: \"$ac_compile\"") >&5 10912if { (eval echo "$as_me:10912: \"$ac_compile\"") >&5
11093 (eval $ac_compile) 2>&5 10913 (eval $ac_compile) 2>&5
11094 ac_status=$? 10914 ac_status=$?
11095 echo "$as_me:11095: \$? = $ac_status" >&5 10915 echo "$as_me:10915: \$? = $ac_status" >&5
11096 (exit $ac_status); } && 10916 (exit $ac_status); } &&
11097 { ac_try='test -s conftest.$ac_objext' 10917 { ac_try='test -s conftest.$ac_objext'
11098 { (eval echo "$as_me:11098: \"$ac_try\"") >&5 10918 { (eval echo "$as_me:10918: \"$ac_try\"") >&5
11099 (eval $ac_try) 2>&5 10919 (eval $ac_try) 2>&5
11100 ac_status=$? 10920 ac_status=$?
11101 echo "$as_me:11101: \$? = $ac_status" >&5 10921 echo "$as_me:10921: \$? = $ac_status" >&5
11102 (exit $ac_status); }; }; then 10922 (exit $ac_status); }; }; then
11103 ac_hi=$ac_mid 10923 ac_hi=$ac_mid
11104else 10924else
@@ -11111,12 +10931,12 @@ done
11111ac_cv_sizeof_long_long_int=$ac_lo 10931ac_cv_sizeof_long_long_int=$ac_lo
11112else 10932else
11113 if test "$cross_compiling" = yes; then 10933 if test "$cross_compiling" = yes; then
11114 { { echo "$as_me:11114: error: cannot run test program while cross compiling" >&5 10934 { { echo "$as_me:10934: error: cannot run test program while cross compiling" >&5
11115echo "$as_me: error: cannot run test program while cross compiling" >&2;} 10935echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11116 { (exit 1); exit 1; }; } 10936 { (exit 1); exit 1; }; }
11117else 10937else
11118 cat >conftest.$ac_ext <<_ACEOF 10938 cat >conftest.$ac_ext <<_ACEOF
11119#line 11119 "configure" 10939#line 10939 "configure"
11120#include "confdefs.h" 10940#include "confdefs.h"
11121$ac_includes_default 10941$ac_includes_default
11122int 10942int
@@ -11132,15 +10952,15 @@ fclose (f);
11132} 10952}
11133_ACEOF 10953_ACEOF
11134rm -f conftest$ac_exeext 10954rm -f conftest$ac_exeext
11135if { (eval echo "$as_me:11135: \"$ac_link\"") >&5 10955if { (eval echo "$as_me:10955: \"$ac_link\"") >&5
11136 (eval $ac_link) 2>&5 10956 (eval $ac_link) 2>&5
11137 ac_status=$? 10957 ac_status=$?
11138 echo "$as_me:11138: \$? = $ac_status" >&5 10958 echo "$as_me:10958: \$? = $ac_status" >&5
11139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11140 { (eval echo "$as_me:11140: \"$ac_try\"") >&5 10960 { (eval echo "$as_me:10960: \"$ac_try\"") >&5
11141 (eval $ac_try) 2>&5 10961 (eval $ac_try) 2>&5
11142 ac_status=$? 10962 ac_status=$?
11143 echo "$as_me:11143: \$? = $ac_status" >&5 10963 echo "$as_me:10963: \$? = $ac_status" >&5
11144 (exit $ac_status); }; }; then 10964 (exit $ac_status); }; }; then
11145 ac_cv_sizeof_long_long_int=`cat conftest.val` 10965 ac_cv_sizeof_long_long_int=`cat conftest.val`
11146else 10966else
@@ -11156,7 +10976,7 @@ else
11156 ac_cv_sizeof_long_long_int=0 10976 ac_cv_sizeof_long_long_int=0
11157fi 10977fi
11158fi 10978fi
11159echo "$as_me:11159: result: $ac_cv_sizeof_long_long_int" >&5 10979echo "$as_me:10979: result: $ac_cv_sizeof_long_long_int" >&5
11160echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 10980echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
11161cat >>confdefs.h <<EOF 10981cat >>confdefs.h <<EOF
11162#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int 10982#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
@@ -11168,14 +10988,14 @@ if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
11168fi 10988fi
11169 10989
11170# More checks for data types 10990# More checks for data types
11171echo "$as_me:11171: checking for u_int type" >&5 10991echo "$as_me:10991: checking for u_int type" >&5
11172echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 10992echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
11173if test "${ac_cv_have_u_int+set}" = set; then 10993if test "${ac_cv_have_u_int+set}" = set; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6 10994 echo $ECHO_N "(cached) $ECHO_C" >&6
11175else 10995else
11176 10996
11177 cat >conftest.$ac_ext <<_ACEOF 10997 cat >conftest.$ac_ext <<_ACEOF
11178#line 11178 "configure" 10998#line 10998 "configure"
11179#include "confdefs.h" 10999#include "confdefs.h"
11180 #include <sys/types.h> 11000 #include <sys/types.h>
11181int 11001int
@@ -11187,16 +11007,16 @@ main ()
11187} 11007}
11188_ACEOF 11008_ACEOF
11189rm -f conftest.$ac_objext 11009rm -f conftest.$ac_objext
11190if { (eval echo "$as_me:11190: \"$ac_compile\"") >&5 11010if { (eval echo "$as_me:11010: \"$ac_compile\"") >&5
11191 (eval $ac_compile) 2>&5 11011 (eval $ac_compile) 2>&5
11192 ac_status=$? 11012 ac_status=$?
11193 echo "$as_me:11193: \$? = $ac_status" >&5 11013 echo "$as_me:11013: \$? = $ac_status" >&5
11194 (exit $ac_status); } && 11014 (exit $ac_status); } &&
11195 { ac_try='test -s conftest.$ac_objext' 11015 { ac_try='test -s conftest.$ac_objext'
11196 { (eval echo "$as_me:11196: \"$ac_try\"") >&5 11016 { (eval echo "$as_me:11016: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5 11017 (eval $ac_try) 2>&5
11198 ac_status=$? 11018 ac_status=$?
11199 echo "$as_me:11199: \$? = $ac_status" >&5 11019 echo "$as_me:11019: \$? = $ac_status" >&5
11200 (exit $ac_status); }; }; then 11020 (exit $ac_status); }; }; then
11201 ac_cv_have_u_int="yes" 11021 ac_cv_have_u_int="yes"
11202else 11022else
@@ -11208,7 +11028,7 @@ fi
11208rm -f conftest.$ac_objext conftest.$ac_ext 11028rm -f conftest.$ac_objext conftest.$ac_ext
11209 11029
11210fi 11030fi
11211echo "$as_me:11211: result: $ac_cv_have_u_int" >&5 11031echo "$as_me:11031: result: $ac_cv_have_u_int" >&5
11212echo "${ECHO_T}$ac_cv_have_u_int" >&6 11032echo "${ECHO_T}$ac_cv_have_u_int" >&6
11213if test "x$ac_cv_have_u_int" = "xyes" ; then 11033if test "x$ac_cv_have_u_int" = "xyes" ; then
11214 cat >>confdefs.h <<\EOF 11034 cat >>confdefs.h <<\EOF
@@ -11218,14 +11038,14 @@ EOF
11218 have_u_int=1 11038 have_u_int=1
11219fi 11039fi
11220 11040
11221echo "$as_me:11221: checking for intXX_t types" >&5 11041echo "$as_me:11041: checking for intXX_t types" >&5
11222echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 11042echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
11223if test "${ac_cv_have_intxx_t+set}" = set; then 11043if test "${ac_cv_have_intxx_t+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6 11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11225else 11045else
11226 11046
11227 cat >conftest.$ac_ext <<_ACEOF 11047 cat >conftest.$ac_ext <<_ACEOF
11228#line 11228 "configure" 11048#line 11048 "configure"
11229#include "confdefs.h" 11049#include "confdefs.h"
11230 #include <sys/types.h> 11050 #include <sys/types.h>
11231int 11051int
@@ -11237,16 +11057,16 @@ main ()
11237} 11057}
11238_ACEOF 11058_ACEOF
11239rm -f conftest.$ac_objext 11059rm -f conftest.$ac_objext
11240if { (eval echo "$as_me:11240: \"$ac_compile\"") >&5 11060if { (eval echo "$as_me:11060: \"$ac_compile\"") >&5
11241 (eval $ac_compile) 2>&5 11061 (eval $ac_compile) 2>&5
11242 ac_status=$? 11062 ac_status=$?
11243 echo "$as_me:11243: \$? = $ac_status" >&5 11063 echo "$as_me:11063: \$? = $ac_status" >&5
11244 (exit $ac_status); } && 11064 (exit $ac_status); } &&
11245 { ac_try='test -s conftest.$ac_objext' 11065 { ac_try='test -s conftest.$ac_objext'
11246 { (eval echo "$as_me:11246: \"$ac_try\"") >&5 11066 { (eval echo "$as_me:11066: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5 11067 (eval $ac_try) 2>&5
11248 ac_status=$? 11068 ac_status=$?
11249 echo "$as_me:11249: \$? = $ac_status" >&5 11069 echo "$as_me:11069: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then 11070 (exit $ac_status); }; }; then
11251 ac_cv_have_intxx_t="yes" 11071 ac_cv_have_intxx_t="yes"
11252else 11072else
@@ -11258,7 +11078,7 @@ fi
11258rm -f conftest.$ac_objext conftest.$ac_ext 11078rm -f conftest.$ac_objext conftest.$ac_ext
11259 11079
11260fi 11080fi
11261echo "$as_me:11261: result: $ac_cv_have_intxx_t" >&5 11081echo "$as_me:11081: result: $ac_cv_have_intxx_t" >&5
11262echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 11082echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
11263if test "x$ac_cv_have_intxx_t" = "xyes" ; then 11083if test "x$ac_cv_have_intxx_t" = "xyes" ; then
11264 cat >>confdefs.h <<\EOF 11084 cat >>confdefs.h <<\EOF
@@ -11271,10 +11091,10 @@ fi
11271if (test -z "$have_intxx_t" && \ 11091if (test -z "$have_intxx_t" && \
11272 test "x$ac_cv_header_stdint_h" = "xyes") 11092 test "x$ac_cv_header_stdint_h" = "xyes")
11273then 11093then
11274 echo "$as_me:11274: checking for intXX_t types in stdint.h" >&5 11094 echo "$as_me:11094: checking for intXX_t types in stdint.h" >&5
11275echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 11095echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6
11276 cat >conftest.$ac_ext <<_ACEOF 11096 cat >conftest.$ac_ext <<_ACEOF
11277#line 11277 "configure" 11097#line 11097 "configure"
11278#include "confdefs.h" 11098#include "confdefs.h"
11279 #include <stdint.h> 11099 #include <stdint.h>
11280int 11100int
@@ -11286,43 +11106,43 @@ main ()
11286} 11106}
11287_ACEOF 11107_ACEOF
11288rm -f conftest.$ac_objext 11108rm -f conftest.$ac_objext
11289if { (eval echo "$as_me:11289: \"$ac_compile\"") >&5 11109if { (eval echo "$as_me:11109: \"$ac_compile\"") >&5
11290 (eval $ac_compile) 2>&5 11110 (eval $ac_compile) 2>&5
11291 ac_status=$? 11111 ac_status=$?
11292 echo "$as_me:11292: \$? = $ac_status" >&5 11112 echo "$as_me:11112: \$? = $ac_status" >&5
11293 (exit $ac_status); } && 11113 (exit $ac_status); } &&
11294 { ac_try='test -s conftest.$ac_objext' 11114 { ac_try='test -s conftest.$ac_objext'
11295 { (eval echo "$as_me:11295: \"$ac_try\"") >&5 11115 { (eval echo "$as_me:11115: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5 11116 (eval $ac_try) 2>&5
11297 ac_status=$? 11117 ac_status=$?
11298 echo "$as_me:11298: \$? = $ac_status" >&5 11118 echo "$as_me:11118: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then 11119 (exit $ac_status); }; }; then
11300 11120
11301 cat >>confdefs.h <<\EOF 11121 cat >>confdefs.h <<\EOF
11302#define HAVE_INTXX_T 1 11122#define HAVE_INTXX_T 1
11303EOF 11123EOF
11304 11124
11305 echo "$as_me:11305: result: yes" >&5 11125 echo "$as_me:11125: result: yes" >&5
11306echo "${ECHO_T}yes" >&6 11126echo "${ECHO_T}yes" >&6
11307 11127
11308else 11128else
11309 echo "$as_me: failed program was:" >&5 11129 echo "$as_me: failed program was:" >&5
11310cat conftest.$ac_ext >&5 11130cat conftest.$ac_ext >&5
11311 echo "$as_me:11311: result: no" >&5 11131 echo "$as_me:11131: result: no" >&5
11312echo "${ECHO_T}no" >&6 11132echo "${ECHO_T}no" >&6
11313 11133
11314fi 11134fi
11315rm -f conftest.$ac_objext conftest.$ac_ext 11135rm -f conftest.$ac_objext conftest.$ac_ext
11316fi 11136fi
11317 11137
11318echo "$as_me:11318: checking for int64_t type" >&5 11138echo "$as_me:11138: checking for int64_t type" >&5
11319echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 11139echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
11320if test "${ac_cv_have_int64_t+set}" = set; then 11140if test "${ac_cv_have_int64_t+set}" = set; then
11321 echo $ECHO_N "(cached) $ECHO_C" >&6 11141 echo $ECHO_N "(cached) $ECHO_C" >&6
11322else 11142else
11323 11143
11324 cat >conftest.$ac_ext <<_ACEOF 11144 cat >conftest.$ac_ext <<_ACEOF
11325#line 11325 "configure" 11145#line 11145 "configure"
11326#include "confdefs.h" 11146#include "confdefs.h"
11327 11147
11328#include <sys/types.h> 11148#include <sys/types.h>
@@ -11343,16 +11163,16 @@ main ()
11343} 11163}
11344_ACEOF 11164_ACEOF
11345rm -f conftest.$ac_objext 11165rm -f conftest.$ac_objext
11346if { (eval echo "$as_me:11346: \"$ac_compile\"") >&5 11166if { (eval echo "$as_me:11166: \"$ac_compile\"") >&5
11347 (eval $ac_compile) 2>&5 11167 (eval $ac_compile) 2>&5
11348 ac_status=$? 11168 ac_status=$?
11349 echo "$as_me:11349: \$? = $ac_status" >&5 11169 echo "$as_me:11169: \$? = $ac_status" >&5
11350 (exit $ac_status); } && 11170 (exit $ac_status); } &&
11351 { ac_try='test -s conftest.$ac_objext' 11171 { ac_try='test -s conftest.$ac_objext'
11352 { (eval echo "$as_me:11352: \"$ac_try\"") >&5 11172 { (eval echo "$as_me:11172: \"$ac_try\"") >&5
11353 (eval $ac_try) 2>&5 11173 (eval $ac_try) 2>&5
11354 ac_status=$? 11174 ac_status=$?
11355 echo "$as_me:11355: \$? = $ac_status" >&5 11175 echo "$as_me:11175: \$? = $ac_status" >&5
11356 (exit $ac_status); }; }; then 11176 (exit $ac_status); }; }; then
11357 ac_cv_have_int64_t="yes" 11177 ac_cv_have_int64_t="yes"
11358else 11178else
@@ -11364,7 +11184,7 @@ fi
11364rm -f conftest.$ac_objext conftest.$ac_ext 11184rm -f conftest.$ac_objext conftest.$ac_ext
11365 11185
11366fi 11186fi
11367echo "$as_me:11367: result: $ac_cv_have_int64_t" >&5 11187echo "$as_me:11187: result: $ac_cv_have_int64_t" >&5
11368echo "${ECHO_T}$ac_cv_have_int64_t" >&6 11188echo "${ECHO_T}$ac_cv_have_int64_t" >&6
11369if test "x$ac_cv_have_int64_t" = "xyes" ; then 11189if test "x$ac_cv_have_int64_t" = "xyes" ; then
11370 cat >>confdefs.h <<\EOF 11190 cat >>confdefs.h <<\EOF
@@ -11373,14 +11193,14 @@ EOF
11373 11193
11374fi 11194fi
11375 11195
11376echo "$as_me:11376: checking for u_intXX_t types" >&5 11196echo "$as_me:11196: checking for u_intXX_t types" >&5
11377echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 11197echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
11378if test "${ac_cv_have_u_intxx_t+set}" = set; then 11198if test "${ac_cv_have_u_intxx_t+set}" = set; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6 11199 echo $ECHO_N "(cached) $ECHO_C" >&6
11380else 11200else
11381 11201
11382 cat >conftest.$ac_ext <<_ACEOF 11202 cat >conftest.$ac_ext <<_ACEOF
11383#line 11383 "configure" 11203#line 11203 "configure"
11384#include "confdefs.h" 11204#include "confdefs.h"
11385 #include <sys/types.h> 11205 #include <sys/types.h>
11386int 11206int
@@ -11392,16 +11212,16 @@ main ()
11392} 11212}
11393_ACEOF 11213_ACEOF
11394rm -f conftest.$ac_objext 11214rm -f conftest.$ac_objext
11395if { (eval echo "$as_me:11395: \"$ac_compile\"") >&5 11215if { (eval echo "$as_me:11215: \"$ac_compile\"") >&5
11396 (eval $ac_compile) 2>&5 11216 (eval $ac_compile) 2>&5
11397 ac_status=$? 11217 ac_status=$?
11398 echo "$as_me:11398: \$? = $ac_status" >&5 11218 echo "$as_me:11218: \$? = $ac_status" >&5
11399 (exit $ac_status); } && 11219 (exit $ac_status); } &&
11400 { ac_try='test -s conftest.$ac_objext' 11220 { ac_try='test -s conftest.$ac_objext'
11401 { (eval echo "$as_me:11401: \"$ac_try\"") >&5 11221 { (eval echo "$as_me:11221: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5 11222 (eval $ac_try) 2>&5
11403 ac_status=$? 11223 ac_status=$?
11404 echo "$as_me:11404: \$? = $ac_status" >&5 11224 echo "$as_me:11224: \$? = $ac_status" >&5
11405 (exit $ac_status); }; }; then 11225 (exit $ac_status); }; }; then
11406 ac_cv_have_u_intxx_t="yes" 11226 ac_cv_have_u_intxx_t="yes"
11407else 11227else
@@ -11413,7 +11233,7 @@ fi
11413rm -f conftest.$ac_objext conftest.$ac_ext 11233rm -f conftest.$ac_objext conftest.$ac_ext
11414 11234
11415fi 11235fi
11416echo "$as_me:11416: result: $ac_cv_have_u_intxx_t" >&5 11236echo "$as_me:11236: result: $ac_cv_have_u_intxx_t" >&5
11417echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 11237echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
11418if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 11238if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
11419 cat >>confdefs.h <<\EOF 11239 cat >>confdefs.h <<\EOF
@@ -11424,10 +11244,10 @@ EOF
11424fi 11244fi
11425 11245
11426if test -z "$have_u_intxx_t" ; then 11246if test -z "$have_u_intxx_t" ; then
11427 echo "$as_me:11427: checking for u_intXX_t types in sys/socket.h" >&5 11247 echo "$as_me:11247: checking for u_intXX_t types in sys/socket.h" >&5
11428echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 11248echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6
11429 cat >conftest.$ac_ext <<_ACEOF 11249 cat >conftest.$ac_ext <<_ACEOF
11430#line 11430 "configure" 11250#line 11250 "configure"
11431#include "confdefs.h" 11251#include "confdefs.h"
11432 #include <sys/socket.h> 11252 #include <sys/socket.h>
11433int 11253int
@@ -11439,43 +11259,43 @@ main ()
11439} 11259}
11440_ACEOF 11260_ACEOF
11441rm -f conftest.$ac_objext 11261rm -f conftest.$ac_objext
11442if { (eval echo "$as_me:11442: \"$ac_compile\"") >&5 11262if { (eval echo "$as_me:11262: \"$ac_compile\"") >&5
11443 (eval $ac_compile) 2>&5 11263 (eval $ac_compile) 2>&5
11444 ac_status=$? 11264 ac_status=$?
11445 echo "$as_me:11445: \$? = $ac_status" >&5 11265 echo "$as_me:11265: \$? = $ac_status" >&5
11446 (exit $ac_status); } && 11266 (exit $ac_status); } &&
11447 { ac_try='test -s conftest.$ac_objext' 11267 { ac_try='test -s conftest.$ac_objext'
11448 { (eval echo "$as_me:11448: \"$ac_try\"") >&5 11268 { (eval echo "$as_me:11268: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5 11269 (eval $ac_try) 2>&5
11450 ac_status=$? 11270 ac_status=$?
11451 echo "$as_me:11451: \$? = $ac_status" >&5 11271 echo "$as_me:11271: \$? = $ac_status" >&5
11452 (exit $ac_status); }; }; then 11272 (exit $ac_status); }; }; then
11453 11273
11454 cat >>confdefs.h <<\EOF 11274 cat >>confdefs.h <<\EOF
11455#define HAVE_U_INTXX_T 1 11275#define HAVE_U_INTXX_T 1
11456EOF 11276EOF
11457 11277
11458 echo "$as_me:11458: result: yes" >&5 11278 echo "$as_me:11278: result: yes" >&5
11459echo "${ECHO_T}yes" >&6 11279echo "${ECHO_T}yes" >&6
11460 11280
11461else 11281else
11462 echo "$as_me: failed program was:" >&5 11282 echo "$as_me: failed program was:" >&5
11463cat conftest.$ac_ext >&5 11283cat conftest.$ac_ext >&5
11464 echo "$as_me:11464: result: no" >&5 11284 echo "$as_me:11284: result: no" >&5
11465echo "${ECHO_T}no" >&6 11285echo "${ECHO_T}no" >&6
11466 11286
11467fi 11287fi
11468rm -f conftest.$ac_objext conftest.$ac_ext 11288rm -f conftest.$ac_objext conftest.$ac_ext
11469fi 11289fi
11470 11290
11471echo "$as_me:11471: checking for u_int64_t types" >&5 11291echo "$as_me:11291: checking for u_int64_t types" >&5
11472echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 11292echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
11473if test "${ac_cv_have_u_int64_t+set}" = set; then 11293if test "${ac_cv_have_u_int64_t+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6 11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11475else 11295else
11476 11296
11477 cat >conftest.$ac_ext <<_ACEOF 11297 cat >conftest.$ac_ext <<_ACEOF
11478#line 11478 "configure" 11298#line 11298 "configure"
11479#include "confdefs.h" 11299#include "confdefs.h"
11480 #include <sys/types.h> 11300 #include <sys/types.h>
11481int 11301int
@@ -11487,16 +11307,16 @@ main ()
11487} 11307}
11488_ACEOF 11308_ACEOF
11489rm -f conftest.$ac_objext 11309rm -f conftest.$ac_objext
11490if { (eval echo "$as_me:11490: \"$ac_compile\"") >&5 11310if { (eval echo "$as_me:11310: \"$ac_compile\"") >&5
11491 (eval $ac_compile) 2>&5 11311 (eval $ac_compile) 2>&5
11492 ac_status=$? 11312 ac_status=$?
11493 echo "$as_me:11493: \$? = $ac_status" >&5 11313 echo "$as_me:11313: \$? = $ac_status" >&5
11494 (exit $ac_status); } && 11314 (exit $ac_status); } &&
11495 { ac_try='test -s conftest.$ac_objext' 11315 { ac_try='test -s conftest.$ac_objext'
11496 { (eval echo "$as_me:11496: \"$ac_try\"") >&5 11316 { (eval echo "$as_me:11316: \"$ac_try\"") >&5
11497 (eval $ac_try) 2>&5 11317 (eval $ac_try) 2>&5
11498 ac_status=$? 11318 ac_status=$?
11499 echo "$as_me:11499: \$? = $ac_status" >&5 11319 echo "$as_me:11319: \$? = $ac_status" >&5
11500 (exit $ac_status); }; }; then 11320 (exit $ac_status); }; }; then
11501 ac_cv_have_u_int64_t="yes" 11321 ac_cv_have_u_int64_t="yes"
11502else 11322else
@@ -11508,7 +11328,7 @@ fi
11508rm -f conftest.$ac_objext conftest.$ac_ext 11328rm -f conftest.$ac_objext conftest.$ac_ext
11509 11329
11510fi 11330fi
11511echo "$as_me:11511: result: $ac_cv_have_u_int64_t" >&5 11331echo "$as_me:11331: result: $ac_cv_have_u_int64_t" >&5
11512echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 11332echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
11513if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 11333if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
11514 cat >>confdefs.h <<\EOF 11334 cat >>confdefs.h <<\EOF
@@ -11519,10 +11339,10 @@ EOF
11519fi 11339fi
11520 11340
11521if test -z "$have_u_int64_t" ; then 11341if test -z "$have_u_int64_t" ; then
11522 echo "$as_me:11522: checking for u_int64_t type in sys/bitypes.h" >&5 11342 echo "$as_me:11342: checking for u_int64_t type in sys/bitypes.h" >&5
11523echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 11343echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6
11524 cat >conftest.$ac_ext <<_ACEOF 11344 cat >conftest.$ac_ext <<_ACEOF
11525#line 11525 "configure" 11345#line 11345 "configure"
11526#include "confdefs.h" 11346#include "confdefs.h"
11527 #include <sys/bitypes.h> 11347 #include <sys/bitypes.h>
11528int 11348int
@@ -11534,29 +11354,29 @@ main ()
11534} 11354}
11535_ACEOF 11355_ACEOF
11536rm -f conftest.$ac_objext 11356rm -f conftest.$ac_objext
11537if { (eval echo "$as_me:11537: \"$ac_compile\"") >&5 11357if { (eval echo "$as_me:11357: \"$ac_compile\"") >&5
11538 (eval $ac_compile) 2>&5 11358 (eval $ac_compile) 2>&5
11539 ac_status=$? 11359 ac_status=$?
11540 echo "$as_me:11540: \$? = $ac_status" >&5 11360 echo "$as_me:11360: \$? = $ac_status" >&5
11541 (exit $ac_status); } && 11361 (exit $ac_status); } &&
11542 { ac_try='test -s conftest.$ac_objext' 11362 { ac_try='test -s conftest.$ac_objext'
11543 { (eval echo "$as_me:11543: \"$ac_try\"") >&5 11363 { (eval echo "$as_me:11363: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5 11364 (eval $ac_try) 2>&5
11545 ac_status=$? 11365 ac_status=$?
11546 echo "$as_me:11546: \$? = $ac_status" >&5 11366 echo "$as_me:11366: \$? = $ac_status" >&5
11547 (exit $ac_status); }; }; then 11367 (exit $ac_status); }; }; then
11548 11368
11549 cat >>confdefs.h <<\EOF 11369 cat >>confdefs.h <<\EOF
11550#define HAVE_U_INT64_T 1 11370#define HAVE_U_INT64_T 1
11551EOF 11371EOF
11552 11372
11553 echo "$as_me:11553: result: yes" >&5 11373 echo "$as_me:11373: result: yes" >&5
11554echo "${ECHO_T}yes" >&6 11374echo "${ECHO_T}yes" >&6
11555 11375
11556else 11376else
11557 echo "$as_me: failed program was:" >&5 11377 echo "$as_me: failed program was:" >&5
11558cat conftest.$ac_ext >&5 11378cat conftest.$ac_ext >&5
11559 echo "$as_me:11559: result: no" >&5 11379 echo "$as_me:11379: result: no" >&5
11560echo "${ECHO_T}no" >&6 11380echo "${ECHO_T}no" >&6
11561 11381
11562fi 11382fi
@@ -11564,14 +11384,14 @@ rm -f conftest.$ac_objext conftest.$ac_ext
11564fi 11384fi
11565 11385
11566if test -z "$have_u_intxx_t" ; then 11386if test -z "$have_u_intxx_t" ; then
11567 echo "$as_me:11567: checking for uintXX_t types" >&5 11387 echo "$as_me:11387: checking for uintXX_t types" >&5
11568echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 11388echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
11569if test "${ac_cv_have_uintxx_t+set}" = set; then 11389if test "${ac_cv_have_uintxx_t+set}" = set; then
11570 echo $ECHO_N "(cached) $ECHO_C" >&6 11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11571else 11391else
11572 11392
11573 cat >conftest.$ac_ext <<_ACEOF 11393 cat >conftest.$ac_ext <<_ACEOF
11574#line 11574 "configure" 11394#line 11394 "configure"
11575#include "confdefs.h" 11395#include "confdefs.h"
11576 11396
11577#include <sys/types.h> 11397#include <sys/types.h>
@@ -11585,16 +11405,16 @@ main ()
11585} 11405}
11586_ACEOF 11406_ACEOF
11587rm -f conftest.$ac_objext 11407rm -f conftest.$ac_objext
11588if { (eval echo "$as_me:11588: \"$ac_compile\"") >&5 11408if { (eval echo "$as_me:11408: \"$ac_compile\"") >&5
11589 (eval $ac_compile) 2>&5 11409 (eval $ac_compile) 2>&5
11590 ac_status=$? 11410 ac_status=$?
11591 echo "$as_me:11591: \$? = $ac_status" >&5 11411 echo "$as_me:11411: \$? = $ac_status" >&5
11592 (exit $ac_status); } && 11412 (exit $ac_status); } &&
11593 { ac_try='test -s conftest.$ac_objext' 11413 { ac_try='test -s conftest.$ac_objext'
11594 { (eval echo "$as_me:11594: \"$ac_try\"") >&5 11414 { (eval echo "$as_me:11414: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5 11415 (eval $ac_try) 2>&5
11596 ac_status=$? 11416 ac_status=$?
11597 echo "$as_me:11597: \$? = $ac_status" >&5 11417 echo "$as_me:11417: \$? = $ac_status" >&5
11598 (exit $ac_status); }; }; then 11418 (exit $ac_status); }; }; then
11599 ac_cv_have_uintxx_t="yes" 11419 ac_cv_have_uintxx_t="yes"
11600else 11420else
@@ -11606,7 +11426,7 @@ fi
11606rm -f conftest.$ac_objext conftest.$ac_ext 11426rm -f conftest.$ac_objext conftest.$ac_ext
11607 11427
11608fi 11428fi
11609echo "$as_me:11609: result: $ac_cv_have_uintxx_t" >&5 11429echo "$as_me:11429: result: $ac_cv_have_uintxx_t" >&5
11610echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 11430echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
11611 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 11431 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
11612 cat >>confdefs.h <<\EOF 11432 cat >>confdefs.h <<\EOF
@@ -11617,10 +11437,10 @@ EOF
11617fi 11437fi
11618 11438
11619if test -z "$have_uintxx_t" ; then 11439if test -z "$have_uintxx_t" ; then
11620 echo "$as_me:11620: checking for uintXX_t types in stdint.h" >&5 11440 echo "$as_me:11440: checking for uintXX_t types in stdint.h" >&5
11621echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 11441echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6
11622 cat >conftest.$ac_ext <<_ACEOF 11442 cat >conftest.$ac_ext <<_ACEOF
11623#line 11623 "configure" 11443#line 11443 "configure"
11624#include "confdefs.h" 11444#include "confdefs.h"
11625 #include <stdint.h> 11445 #include <stdint.h>
11626int 11446int
@@ -11632,29 +11452,29 @@ main ()
11632} 11452}
11633_ACEOF 11453_ACEOF
11634rm -f conftest.$ac_objext 11454rm -f conftest.$ac_objext
11635if { (eval echo "$as_me:11635: \"$ac_compile\"") >&5 11455if { (eval echo "$as_me:11455: \"$ac_compile\"") >&5
11636 (eval $ac_compile) 2>&5 11456 (eval $ac_compile) 2>&5
11637 ac_status=$? 11457 ac_status=$?
11638 echo "$as_me:11638: \$? = $ac_status" >&5 11458 echo "$as_me:11458: \$? = $ac_status" >&5
11639 (exit $ac_status); } && 11459 (exit $ac_status); } &&
11640 { ac_try='test -s conftest.$ac_objext' 11460 { ac_try='test -s conftest.$ac_objext'
11641 { (eval echo "$as_me:11641: \"$ac_try\"") >&5 11461 { (eval echo "$as_me:11461: \"$ac_try\"") >&5
11642 (eval $ac_try) 2>&5 11462 (eval $ac_try) 2>&5
11643 ac_status=$? 11463 ac_status=$?
11644 echo "$as_me:11644: \$? = $ac_status" >&5 11464 echo "$as_me:11464: \$? = $ac_status" >&5
11645 (exit $ac_status); }; }; then 11465 (exit $ac_status); }; }; then
11646 11466
11647 cat >>confdefs.h <<\EOF 11467 cat >>confdefs.h <<\EOF
11648#define HAVE_UINTXX_T 1 11468#define HAVE_UINTXX_T 1
11649EOF 11469EOF
11650 11470
11651 echo "$as_me:11651: result: yes" >&5 11471 echo "$as_me:11471: result: yes" >&5
11652echo "${ECHO_T}yes" >&6 11472echo "${ECHO_T}yes" >&6
11653 11473
11654else 11474else
11655 echo "$as_me: failed program was:" >&5 11475 echo "$as_me: failed program was:" >&5
11656cat conftest.$ac_ext >&5 11476cat conftest.$ac_ext >&5
11657 echo "$as_me:11657: result: no" >&5 11477 echo "$as_me:11477: result: no" >&5
11658echo "${ECHO_T}no" >&6 11478echo "${ECHO_T}no" >&6
11659 11479
11660fi 11480fi
@@ -11664,10 +11484,10 @@ fi
11664if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ 11484if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
11665 test "x$ac_cv_header_sys_bitypes_h" = "xyes") 11485 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
11666then 11486then
11667 echo "$as_me:11667: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 11487 echo "$as_me:11487: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
11668echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 11488echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
11669 cat >conftest.$ac_ext <<_ACEOF 11489 cat >conftest.$ac_ext <<_ACEOF
11670#line 11670 "configure" 11490#line 11490 "configure"
11671#include "confdefs.h" 11491#include "confdefs.h"
11672 11492
11673#include <sys/bitypes.h> 11493#include <sys/bitypes.h>
@@ -11685,16 +11505,16 @@ main ()
11685} 11505}
11686_ACEOF 11506_ACEOF
11687rm -f conftest.$ac_objext 11507rm -f conftest.$ac_objext
11688if { (eval echo "$as_me:11688: \"$ac_compile\"") >&5 11508if { (eval echo "$as_me:11508: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>&5 11509 (eval $ac_compile) 2>&5
11690 ac_status=$? 11510 ac_status=$?
11691 echo "$as_me:11691: \$? = $ac_status" >&5 11511 echo "$as_me:11511: \$? = $ac_status" >&5
11692 (exit $ac_status); } && 11512 (exit $ac_status); } &&
11693 { ac_try='test -s conftest.$ac_objext' 11513 { ac_try='test -s conftest.$ac_objext'
11694 { (eval echo "$as_me:11694: \"$ac_try\"") >&5 11514 { (eval echo "$as_me:11514: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5 11515 (eval $ac_try) 2>&5
11696 ac_status=$? 11516 ac_status=$?
11697 echo "$as_me:11697: \$? = $ac_status" >&5 11517 echo "$as_me:11517: \$? = $ac_status" >&5
11698 (exit $ac_status); }; }; then 11518 (exit $ac_status); }; }; then
11699 11519
11700 cat >>confdefs.h <<\EOF 11520 cat >>confdefs.h <<\EOF
@@ -11705,27 +11525,27 @@ EOF
11705#define HAVE_INTXX_T 1 11525#define HAVE_INTXX_T 1
11706EOF 11526EOF
11707 11527
11708 echo "$as_me:11708: result: yes" >&5 11528 echo "$as_me:11528: result: yes" >&5
11709echo "${ECHO_T}yes" >&6 11529echo "${ECHO_T}yes" >&6
11710 11530
11711else 11531else
11712 echo "$as_me: failed program was:" >&5 11532 echo "$as_me: failed program was:" >&5
11713cat conftest.$ac_ext >&5 11533cat conftest.$ac_ext >&5
11714echo "$as_me:11714: result: no" >&5 11534echo "$as_me:11534: result: no" >&5
11715echo "${ECHO_T}no" >&6 11535echo "${ECHO_T}no" >&6
11716 11536
11717fi 11537fi
11718rm -f conftest.$ac_objext conftest.$ac_ext 11538rm -f conftest.$ac_objext conftest.$ac_ext
11719fi 11539fi
11720 11540
11721echo "$as_me:11721: checking for u_char" >&5 11541echo "$as_me:11541: checking for u_char" >&5
11722echo $ECHO_N "checking for u_char... $ECHO_C" >&6 11542echo $ECHO_N "checking for u_char... $ECHO_C" >&6
11723if test "${ac_cv_have_u_char+set}" = set; then 11543if test "${ac_cv_have_u_char+set}" = set; then
11724 echo $ECHO_N "(cached) $ECHO_C" >&6 11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11725else 11545else
11726 11546
11727 cat >conftest.$ac_ext <<_ACEOF 11547 cat >conftest.$ac_ext <<_ACEOF
11728#line 11728 "configure" 11548#line 11548 "configure"
11729#include "confdefs.h" 11549#include "confdefs.h"
11730 11550
11731#include <sys/types.h> 11551#include <sys/types.h>
@@ -11739,16 +11559,16 @@ main ()
11739} 11559}
11740_ACEOF 11560_ACEOF
11741rm -f conftest.$ac_objext 11561rm -f conftest.$ac_objext
11742if { (eval echo "$as_me:11742: \"$ac_compile\"") >&5 11562if { (eval echo "$as_me:11562: \"$ac_compile\"") >&5
11743 (eval $ac_compile) 2>&5 11563 (eval $ac_compile) 2>&5
11744 ac_status=$? 11564 ac_status=$?
11745 echo "$as_me:11745: \$? = $ac_status" >&5 11565 echo "$as_me:11565: \$? = $ac_status" >&5
11746 (exit $ac_status); } && 11566 (exit $ac_status); } &&
11747 { ac_try='test -s conftest.$ac_objext' 11567 { ac_try='test -s conftest.$ac_objext'
11748 { (eval echo "$as_me:11748: \"$ac_try\"") >&5 11568 { (eval echo "$as_me:11568: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5 11569 (eval $ac_try) 2>&5
11750 ac_status=$? 11570 ac_status=$?
11751 echo "$as_me:11751: \$? = $ac_status" >&5 11571 echo "$as_me:11571: \$? = $ac_status" >&5
11752 (exit $ac_status); }; }; then 11572 (exit $ac_status); }; }; then
11753 ac_cv_have_u_char="yes" 11573 ac_cv_have_u_char="yes"
11754else 11574else
@@ -11760,7 +11580,7 @@ fi
11760rm -f conftest.$ac_objext conftest.$ac_ext 11580rm -f conftest.$ac_objext conftest.$ac_ext
11761 11581
11762fi 11582fi
11763echo "$as_me:11763: result: $ac_cv_have_u_char" >&5 11583echo "$as_me:11583: result: $ac_cv_have_u_char" >&5
11764echo "${ECHO_T}$ac_cv_have_u_char" >&6 11584echo "${ECHO_T}$ac_cv_have_u_char" >&6
11765if test "x$ac_cv_have_u_char" = "xyes" ; then 11585if test "x$ac_cv_have_u_char" = "xyes" ; then
11766 cat >>confdefs.h <<\EOF 11586 cat >>confdefs.h <<\EOF
@@ -11769,13 +11589,13 @@ EOF
11769 11589
11770fi 11590fi
11771 11591
11772 echo "$as_me:11772: checking for socklen_t" >&5 11592 echo "$as_me:11592: checking for socklen_t" >&5
11773echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 11593echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
11774if test "${ac_cv_type_socklen_t+set}" = set; then 11594if test "${ac_cv_type_socklen_t+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6 11595 echo $ECHO_N "(cached) $ECHO_C" >&6
11776else 11596else
11777 cat >conftest.$ac_ext <<_ACEOF 11597 cat >conftest.$ac_ext <<_ACEOF
11778#line 11778 "configure" 11598#line 11598 "configure"
11779#include "confdefs.h" 11599#include "confdefs.h"
11780#include <sys/types.h> 11600#include <sys/types.h>
11781#include <sys/socket.h> 11601#include <sys/socket.h>
@@ -11792,16 +11612,16 @@ if (sizeof (socklen_t))
11792} 11612}
11793_ACEOF 11613_ACEOF
11794rm -f conftest.$ac_objext 11614rm -f conftest.$ac_objext
11795if { (eval echo "$as_me:11795: \"$ac_compile\"") >&5 11615if { (eval echo "$as_me:11615: \"$ac_compile\"") >&5
11796 (eval $ac_compile) 2>&5 11616 (eval $ac_compile) 2>&5
11797 ac_status=$? 11617 ac_status=$?
11798 echo "$as_me:11798: \$? = $ac_status" >&5 11618 echo "$as_me:11618: \$? = $ac_status" >&5
11799 (exit $ac_status); } && 11619 (exit $ac_status); } &&
11800 { ac_try='test -s conftest.$ac_objext' 11620 { ac_try='test -s conftest.$ac_objext'
11801 { (eval echo "$as_me:11801: \"$ac_try\"") >&5 11621 { (eval echo "$as_me:11621: \"$ac_try\"") >&5
11802 (eval $ac_try) 2>&5 11622 (eval $ac_try) 2>&5
11803 ac_status=$? 11623 ac_status=$?
11804 echo "$as_me:11804: \$? = $ac_status" >&5 11624 echo "$as_me:11624: \$? = $ac_status" >&5
11805 (exit $ac_status); }; }; then 11625 (exit $ac_status); }; }; then
11806 ac_cv_type_socklen_t=yes 11626 ac_cv_type_socklen_t=yes
11807else 11627else
@@ -11811,13 +11631,13 @@ ac_cv_type_socklen_t=no
11811fi 11631fi
11812rm -f conftest.$ac_objext conftest.$ac_ext 11632rm -f conftest.$ac_objext conftest.$ac_ext
11813fi 11633fi
11814echo "$as_me:11814: result: $ac_cv_type_socklen_t" >&5 11634echo "$as_me:11634: result: $ac_cv_type_socklen_t" >&5
11815echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 11635echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
11816if test $ac_cv_type_socklen_t = yes; then 11636if test $ac_cv_type_socklen_t = yes; then
11817 : 11637 :
11818else 11638else
11819 11639
11820 echo "$as_me:11820: checking for socklen_t equivalent" >&5 11640 echo "$as_me:11640: checking for socklen_t equivalent" >&5
11821echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 11641echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
11822 if test "${curl_cv_socklen_t_equiv+set}" = set; then 11642 if test "${curl_cv_socklen_t_equiv+set}" = set; then
11823 echo $ECHO_N "(cached) $ECHO_C" >&6 11643 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11829,7 +11649,7 @@ else
11829 for arg2 in "struct sockaddr" void; do 11649 for arg2 in "struct sockaddr" void; do
11830 for t in int size_t unsigned long "unsigned long"; do 11650 for t in int size_t unsigned long "unsigned long"; do
11831 cat >conftest.$ac_ext <<_ACEOF 11651 cat >conftest.$ac_ext <<_ACEOF
11832#line 11832 "configure" 11652#line 11652 "configure"
11833#include "confdefs.h" 11653#include "confdefs.h"
11834 11654
11835 #include <sys/types.h> 11655 #include <sys/types.h>
@@ -11849,16 +11669,16 @@ main ()
11849} 11669}
11850_ACEOF 11670_ACEOF
11851rm -f conftest.$ac_objext 11671rm -f conftest.$ac_objext
11852if { (eval echo "$as_me:11852: \"$ac_compile\"") >&5 11672if { (eval echo "$as_me:11672: \"$ac_compile\"") >&5
11853 (eval $ac_compile) 2>&5 11673 (eval $ac_compile) 2>&5
11854 ac_status=$? 11674 ac_status=$?
11855 echo "$as_me:11855: \$? = $ac_status" >&5 11675 echo "$as_me:11675: \$? = $ac_status" >&5
11856 (exit $ac_status); } && 11676 (exit $ac_status); } &&
11857 { ac_try='test -s conftest.$ac_objext' 11677 { ac_try='test -s conftest.$ac_objext'
11858 { (eval echo "$as_me:11858: \"$ac_try\"") >&5 11678 { (eval echo "$as_me:11678: \"$ac_try\"") >&5
11859 (eval $ac_try) 2>&5 11679 (eval $ac_try) 2>&5
11860 ac_status=$? 11680 ac_status=$?
11861 echo "$as_me:11861: \$? = $ac_status" >&5 11681 echo "$as_me:11681: \$? = $ac_status" >&5
11862 (exit $ac_status); }; }; then 11682 (exit $ac_status); }; }; then
11863 11683
11864 curl_cv_socklen_t_equiv="$t" 11684 curl_cv_socklen_t_equiv="$t"
@@ -11873,14 +11693,14 @@ rm -f conftest.$ac_objext conftest.$ac_ext
11873 done 11693 done
11874 11694
11875 if test "x$curl_cv_socklen_t_equiv" = x; then 11695 if test "x$curl_cv_socklen_t_equiv" = x; then
11876 { { echo "$as_me:11876: error: Cannot find a type to use in place of socklen_t" >&5 11696 { { echo "$as_me:11696: error: Cannot find a type to use in place of socklen_t" >&5
11877echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} 11697echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
11878 { (exit 1); exit 1; }; } 11698 { (exit 1); exit 1; }; }
11879 fi 11699 fi
11880 11700
11881fi 11701fi
11882 11702
11883 echo "$as_me:11883: result: $curl_cv_socklen_t_equiv" >&5 11703 echo "$as_me:11703: result: $curl_cv_socklen_t_equiv" >&5
11884echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 11704echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
11885 11705
11886cat >>confdefs.h <<EOF 11706cat >>confdefs.h <<EOF
@@ -11889,13 +11709,13 @@ EOF
11889 11709
11890fi 11710fi
11891 11711
11892echo "$as_me:11892: checking for sig_atomic_t" >&5 11712echo "$as_me:11712: checking for sig_atomic_t" >&5
11893echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 11713echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
11894if test "${ac_cv_type_sig_atomic_t+set}" = set; then 11714if test "${ac_cv_type_sig_atomic_t+set}" = set; then
11895 echo $ECHO_N "(cached) $ECHO_C" >&6 11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11896else 11716else
11897 cat >conftest.$ac_ext <<_ACEOF 11717 cat >conftest.$ac_ext <<_ACEOF
11898#line 11898 "configure" 11718#line 11718 "configure"
11899#include "confdefs.h" 11719#include "confdefs.h"
11900#include <signal.h> 11720#include <signal.h>
11901 11721
@@ -11911,16 +11731,16 @@ if (sizeof (sig_atomic_t))
11911} 11731}
11912_ACEOF 11732_ACEOF
11913rm -f conftest.$ac_objext 11733rm -f conftest.$ac_objext
11914if { (eval echo "$as_me:11914: \"$ac_compile\"") >&5 11734if { (eval echo "$as_me:11734: \"$ac_compile\"") >&5
11915 (eval $ac_compile) 2>&5 11735 (eval $ac_compile) 2>&5
11916 ac_status=$? 11736 ac_status=$?
11917 echo "$as_me:11917: \$? = $ac_status" >&5 11737 echo "$as_me:11737: \$? = $ac_status" >&5
11918 (exit $ac_status); } && 11738 (exit $ac_status); } &&
11919 { ac_try='test -s conftest.$ac_objext' 11739 { ac_try='test -s conftest.$ac_objext'
11920 { (eval echo "$as_me:11920: \"$ac_try\"") >&5 11740 { (eval echo "$as_me:11740: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5 11741 (eval $ac_try) 2>&5
11922 ac_status=$? 11742 ac_status=$?
11923 echo "$as_me:11923: \$? = $ac_status" >&5 11743 echo "$as_me:11743: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then 11744 (exit $ac_status); }; }; then
11925 ac_cv_type_sig_atomic_t=yes 11745 ac_cv_type_sig_atomic_t=yes
11926else 11746else
@@ -11930,7 +11750,7 @@ ac_cv_type_sig_atomic_t=no
11930fi 11750fi
11931rm -f conftest.$ac_objext conftest.$ac_ext 11751rm -f conftest.$ac_objext conftest.$ac_ext
11932fi 11752fi
11933echo "$as_me:11933: result: $ac_cv_type_sig_atomic_t" >&5 11753echo "$as_me:11753: result: $ac_cv_type_sig_atomic_t" >&5
11934echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 11754echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
11935if test $ac_cv_type_sig_atomic_t = yes; then 11755if test $ac_cv_type_sig_atomic_t = yes; then
11936 11756
@@ -11940,14 +11760,14 @@ EOF
11940 11760
11941fi 11761fi
11942 11762
11943echo "$as_me:11943: checking for size_t" >&5 11763echo "$as_me:11763: checking for size_t" >&5
11944echo $ECHO_N "checking for size_t... $ECHO_C" >&6 11764echo $ECHO_N "checking for size_t... $ECHO_C" >&6
11945if test "${ac_cv_have_size_t+set}" = set; then 11765if test "${ac_cv_have_size_t+set}" = set; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6 11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11947else 11767else
11948 11768
11949 cat >conftest.$ac_ext <<_ACEOF 11769 cat >conftest.$ac_ext <<_ACEOF
11950#line 11950 "configure" 11770#line 11770 "configure"
11951#include "confdefs.h" 11771#include "confdefs.h"
11952 11772
11953#include <sys/types.h> 11773#include <sys/types.h>
@@ -11961,16 +11781,16 @@ main ()
11961} 11781}
11962_ACEOF 11782_ACEOF
11963rm -f conftest.$ac_objext 11783rm -f conftest.$ac_objext
11964if { (eval echo "$as_me:11964: \"$ac_compile\"") >&5 11784if { (eval echo "$as_me:11784: \"$ac_compile\"") >&5
11965 (eval $ac_compile) 2>&5 11785 (eval $ac_compile) 2>&5
11966 ac_status=$? 11786 ac_status=$?
11967 echo "$as_me:11967: \$? = $ac_status" >&5 11787 echo "$as_me:11787: \$? = $ac_status" >&5
11968 (exit $ac_status); } && 11788 (exit $ac_status); } &&
11969 { ac_try='test -s conftest.$ac_objext' 11789 { ac_try='test -s conftest.$ac_objext'
11970 { (eval echo "$as_me:11970: \"$ac_try\"") >&5 11790 { (eval echo "$as_me:11790: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5 11791 (eval $ac_try) 2>&5
11972 ac_status=$? 11792 ac_status=$?
11973 echo "$as_me:11973: \$? = $ac_status" >&5 11793 echo "$as_me:11793: \$? = $ac_status" >&5
11974 (exit $ac_status); }; }; then 11794 (exit $ac_status); }; }; then
11975 ac_cv_have_size_t="yes" 11795 ac_cv_have_size_t="yes"
11976else 11796else
@@ -11982,7 +11802,7 @@ fi
11982rm -f conftest.$ac_objext conftest.$ac_ext 11802rm -f conftest.$ac_objext conftest.$ac_ext
11983 11803
11984fi 11804fi
11985echo "$as_me:11985: result: $ac_cv_have_size_t" >&5 11805echo "$as_me:11805: result: $ac_cv_have_size_t" >&5
11986echo "${ECHO_T}$ac_cv_have_size_t" >&6 11806echo "${ECHO_T}$ac_cv_have_size_t" >&6
11987if test "x$ac_cv_have_size_t" = "xyes" ; then 11807if test "x$ac_cv_have_size_t" = "xyes" ; then
11988 cat >>confdefs.h <<\EOF 11808 cat >>confdefs.h <<\EOF
@@ -11991,14 +11811,14 @@ EOF
11991 11811
11992fi 11812fi
11993 11813
11994echo "$as_me:11994: checking for ssize_t" >&5 11814echo "$as_me:11814: checking for ssize_t" >&5
11995echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 11815echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
11996if test "${ac_cv_have_ssize_t+set}" = set; then 11816if test "${ac_cv_have_ssize_t+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6 11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11998else 11818else
11999 11819
12000 cat >conftest.$ac_ext <<_ACEOF 11820 cat >conftest.$ac_ext <<_ACEOF
12001#line 12001 "configure" 11821#line 11821 "configure"
12002#include "confdefs.h" 11822#include "confdefs.h"
12003 11823
12004#include <sys/types.h> 11824#include <sys/types.h>
@@ -12012,16 +11832,16 @@ main ()
12012} 11832}
12013_ACEOF 11833_ACEOF
12014rm -f conftest.$ac_objext 11834rm -f conftest.$ac_objext
12015if { (eval echo "$as_me:12015: \"$ac_compile\"") >&5 11835if { (eval echo "$as_me:11835: \"$ac_compile\"") >&5
12016 (eval $ac_compile) 2>&5 11836 (eval $ac_compile) 2>&5
12017 ac_status=$? 11837 ac_status=$?
12018 echo "$as_me:12018: \$? = $ac_status" >&5 11838 echo "$as_me:11838: \$? = $ac_status" >&5
12019 (exit $ac_status); } && 11839 (exit $ac_status); } &&
12020 { ac_try='test -s conftest.$ac_objext' 11840 { ac_try='test -s conftest.$ac_objext'
12021 { (eval echo "$as_me:12021: \"$ac_try\"") >&5 11841 { (eval echo "$as_me:11841: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5 11842 (eval $ac_try) 2>&5
12023 ac_status=$? 11843 ac_status=$?
12024 echo "$as_me:12024: \$? = $ac_status" >&5 11844 echo "$as_me:11844: \$? = $ac_status" >&5
12025 (exit $ac_status); }; }; then 11845 (exit $ac_status); }; }; then
12026 ac_cv_have_ssize_t="yes" 11846 ac_cv_have_ssize_t="yes"
12027else 11847else
@@ -12033,7 +11853,7 @@ fi
12033rm -f conftest.$ac_objext conftest.$ac_ext 11853rm -f conftest.$ac_objext conftest.$ac_ext
12034 11854
12035fi 11855fi
12036echo "$as_me:12036: result: $ac_cv_have_ssize_t" >&5 11856echo "$as_me:11856: result: $ac_cv_have_ssize_t" >&5
12037echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 11857echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
12038if test "x$ac_cv_have_ssize_t" = "xyes" ; then 11858if test "x$ac_cv_have_ssize_t" = "xyes" ; then
12039 cat >>confdefs.h <<\EOF 11859 cat >>confdefs.h <<\EOF
@@ -12042,14 +11862,14 @@ EOF
12042 11862
12043fi 11863fi
12044 11864
12045echo "$as_me:12045: checking for clock_t" >&5 11865echo "$as_me:11865: checking for clock_t" >&5
12046echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 11866echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
12047if test "${ac_cv_have_clock_t+set}" = set; then 11867if test "${ac_cv_have_clock_t+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6 11868 echo $ECHO_N "(cached) $ECHO_C" >&6
12049else 11869else
12050 11870
12051 cat >conftest.$ac_ext <<_ACEOF 11871 cat >conftest.$ac_ext <<_ACEOF
12052#line 12052 "configure" 11872#line 11872 "configure"
12053#include "confdefs.h" 11873#include "confdefs.h"
12054 11874
12055#include <time.h> 11875#include <time.h>
@@ -12063,16 +11883,16 @@ main ()
12063} 11883}
12064_ACEOF 11884_ACEOF
12065rm -f conftest.$ac_objext 11885rm -f conftest.$ac_objext
12066if { (eval echo "$as_me:12066: \"$ac_compile\"") >&5 11886if { (eval echo "$as_me:11886: \"$ac_compile\"") >&5
12067 (eval $ac_compile) 2>&5 11887 (eval $ac_compile) 2>&5
12068 ac_status=$? 11888 ac_status=$?
12069 echo "$as_me:12069: \$? = $ac_status" >&5 11889 echo "$as_me:11889: \$? = $ac_status" >&5
12070 (exit $ac_status); } && 11890 (exit $ac_status); } &&
12071 { ac_try='test -s conftest.$ac_objext' 11891 { ac_try='test -s conftest.$ac_objext'
12072 { (eval echo "$as_me:12072: \"$ac_try\"") >&5 11892 { (eval echo "$as_me:11892: \"$ac_try\"") >&5
12073 (eval $ac_try) 2>&5 11893 (eval $ac_try) 2>&5
12074 ac_status=$? 11894 ac_status=$?
12075 echo "$as_me:12075: \$? = $ac_status" >&5 11895 echo "$as_me:11895: \$? = $ac_status" >&5
12076 (exit $ac_status); }; }; then 11896 (exit $ac_status); }; }; then
12077 ac_cv_have_clock_t="yes" 11897 ac_cv_have_clock_t="yes"
12078else 11898else
@@ -12084,7 +11904,7 @@ fi
12084rm -f conftest.$ac_objext conftest.$ac_ext 11904rm -f conftest.$ac_objext conftest.$ac_ext
12085 11905
12086fi 11906fi
12087echo "$as_me:12087: result: $ac_cv_have_clock_t" >&5 11907echo "$as_me:11907: result: $ac_cv_have_clock_t" >&5
12088echo "${ECHO_T}$ac_cv_have_clock_t" >&6 11908echo "${ECHO_T}$ac_cv_have_clock_t" >&6
12089if test "x$ac_cv_have_clock_t" = "xyes" ; then 11909if test "x$ac_cv_have_clock_t" = "xyes" ; then
12090 cat >>confdefs.h <<\EOF 11910 cat >>confdefs.h <<\EOF
@@ -12093,14 +11913,14 @@ EOF
12093 11913
12094fi 11914fi
12095 11915
12096echo "$as_me:12096: checking for sa_family_t" >&5 11916echo "$as_me:11916: checking for sa_family_t" >&5
12097echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 11917echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
12098if test "${ac_cv_have_sa_family_t+set}" = set; then 11918if test "${ac_cv_have_sa_family_t+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6 11919 echo $ECHO_N "(cached) $ECHO_C" >&6
12100else 11920else
12101 11921
12102 cat >conftest.$ac_ext <<_ACEOF 11922 cat >conftest.$ac_ext <<_ACEOF
12103#line 12103 "configure" 11923#line 11923 "configure"
12104#include "confdefs.h" 11924#include "confdefs.h"
12105 11925
12106#include <sys/types.h> 11926#include <sys/types.h>
@@ -12115,23 +11935,23 @@ main ()
12115} 11935}
12116_ACEOF 11936_ACEOF
12117rm -f conftest.$ac_objext 11937rm -f conftest.$ac_objext
12118if { (eval echo "$as_me:12118: \"$ac_compile\"") >&5 11938if { (eval echo "$as_me:11938: \"$ac_compile\"") >&5
12119 (eval $ac_compile) 2>&5 11939 (eval $ac_compile) 2>&5
12120 ac_status=$? 11940 ac_status=$?
12121 echo "$as_me:12121: \$? = $ac_status" >&5 11941 echo "$as_me:11941: \$? = $ac_status" >&5
12122 (exit $ac_status); } && 11942 (exit $ac_status); } &&
12123 { ac_try='test -s conftest.$ac_objext' 11943 { ac_try='test -s conftest.$ac_objext'
12124 { (eval echo "$as_me:12124: \"$ac_try\"") >&5 11944 { (eval echo "$as_me:11944: \"$ac_try\"") >&5
12125 (eval $ac_try) 2>&5 11945 (eval $ac_try) 2>&5
12126 ac_status=$? 11946 ac_status=$?
12127 echo "$as_me:12127: \$? = $ac_status" >&5 11947 echo "$as_me:11947: \$? = $ac_status" >&5
12128 (exit $ac_status); }; }; then 11948 (exit $ac_status); }; }; then
12129 ac_cv_have_sa_family_t="yes" 11949 ac_cv_have_sa_family_t="yes"
12130else 11950else
12131 echo "$as_me: failed program was:" >&5 11951 echo "$as_me: failed program was:" >&5
12132cat conftest.$ac_ext >&5 11952cat conftest.$ac_ext >&5
12133 cat >conftest.$ac_ext <<_ACEOF 11953 cat >conftest.$ac_ext <<_ACEOF
12134#line 12134 "configure" 11954#line 11954 "configure"
12135#include "confdefs.h" 11955#include "confdefs.h"
12136 11956
12137#include <sys/types.h> 11957#include <sys/types.h>
@@ -12147,16 +11967,16 @@ main ()
12147} 11967}
12148_ACEOF 11968_ACEOF
12149rm -f conftest.$ac_objext 11969rm -f conftest.$ac_objext
12150if { (eval echo "$as_me:12150: \"$ac_compile\"") >&5 11970if { (eval echo "$as_me:11970: \"$ac_compile\"") >&5
12151 (eval $ac_compile) 2>&5 11971 (eval $ac_compile) 2>&5
12152 ac_status=$? 11972 ac_status=$?
12153 echo "$as_me:12153: \$? = $ac_status" >&5 11973 echo "$as_me:11973: \$? = $ac_status" >&5
12154 (exit $ac_status); } && 11974 (exit $ac_status); } &&
12155 { ac_try='test -s conftest.$ac_objext' 11975 { ac_try='test -s conftest.$ac_objext'
12156 { (eval echo "$as_me:12156: \"$ac_try\"") >&5 11976 { (eval echo "$as_me:11976: \"$ac_try\"") >&5
12157 (eval $ac_try) 2>&5 11977 (eval $ac_try) 2>&5
12158 ac_status=$? 11978 ac_status=$?
12159 echo "$as_me:12159: \$? = $ac_status" >&5 11979 echo "$as_me:11979: \$? = $ac_status" >&5
12160 (exit $ac_status); }; }; then 11980 (exit $ac_status); }; }; then
12161 ac_cv_have_sa_family_t="yes" 11981 ac_cv_have_sa_family_t="yes"
12162else 11982else
@@ -12171,7 +11991,7 @@ fi
12171rm -f conftest.$ac_objext conftest.$ac_ext 11991rm -f conftest.$ac_objext conftest.$ac_ext
12172 11992
12173fi 11993fi
12174echo "$as_me:12174: result: $ac_cv_have_sa_family_t" >&5 11994echo "$as_me:11994: result: $ac_cv_have_sa_family_t" >&5
12175echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 11995echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
12176if test "x$ac_cv_have_sa_family_t" = "xyes" ; then 11996if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
12177 cat >>confdefs.h <<\EOF 11997 cat >>confdefs.h <<\EOF
@@ -12180,14 +12000,14 @@ EOF
12180 12000
12181fi 12001fi
12182 12002
12183echo "$as_me:12183: checking for pid_t" >&5 12003echo "$as_me:12003: checking for pid_t" >&5
12184echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 12004echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12185if test "${ac_cv_have_pid_t+set}" = set; then 12005if test "${ac_cv_have_pid_t+set}" = set; then
12186 echo $ECHO_N "(cached) $ECHO_C" >&6 12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12187else 12007else
12188 12008
12189 cat >conftest.$ac_ext <<_ACEOF 12009 cat >conftest.$ac_ext <<_ACEOF
12190#line 12190 "configure" 12010#line 12010 "configure"
12191#include "confdefs.h" 12011#include "confdefs.h"
12192 12012
12193#include <sys/types.h> 12013#include <sys/types.h>
@@ -12201,16 +12021,16 @@ main ()
12201} 12021}
12202_ACEOF 12022_ACEOF
12203rm -f conftest.$ac_objext 12023rm -f conftest.$ac_objext
12204if { (eval echo "$as_me:12204: \"$ac_compile\"") >&5 12024if { (eval echo "$as_me:12024: \"$ac_compile\"") >&5
12205 (eval $ac_compile) 2>&5 12025 (eval $ac_compile) 2>&5
12206 ac_status=$? 12026 ac_status=$?
12207 echo "$as_me:12207: \$? = $ac_status" >&5 12027 echo "$as_me:12027: \$? = $ac_status" >&5
12208 (exit $ac_status); } && 12028 (exit $ac_status); } &&
12209 { ac_try='test -s conftest.$ac_objext' 12029 { ac_try='test -s conftest.$ac_objext'
12210 { (eval echo "$as_me:12210: \"$ac_try\"") >&5 12030 { (eval echo "$as_me:12030: \"$ac_try\"") >&5
12211 (eval $ac_try) 2>&5 12031 (eval $ac_try) 2>&5
12212 ac_status=$? 12032 ac_status=$?
12213 echo "$as_me:12213: \$? = $ac_status" >&5 12033 echo "$as_me:12033: \$? = $ac_status" >&5
12214 (exit $ac_status); }; }; then 12034 (exit $ac_status); }; }; then
12215 ac_cv_have_pid_t="yes" 12035 ac_cv_have_pid_t="yes"
12216else 12036else
@@ -12222,7 +12042,7 @@ fi
12222rm -f conftest.$ac_objext conftest.$ac_ext 12042rm -f conftest.$ac_objext conftest.$ac_ext
12223 12043
12224fi 12044fi
12225echo "$as_me:12225: result: $ac_cv_have_pid_t" >&5 12045echo "$as_me:12045: result: $ac_cv_have_pid_t" >&5
12226echo "${ECHO_T}$ac_cv_have_pid_t" >&6 12046echo "${ECHO_T}$ac_cv_have_pid_t" >&6
12227if test "x$ac_cv_have_pid_t" = "xyes" ; then 12047if test "x$ac_cv_have_pid_t" = "xyes" ; then
12228 cat >>confdefs.h <<\EOF 12048 cat >>confdefs.h <<\EOF
@@ -12231,14 +12051,14 @@ EOF
12231 12051
12232fi 12052fi
12233 12053
12234echo "$as_me:12234: checking for mode_t" >&5 12054echo "$as_me:12054: checking for mode_t" >&5
12235echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 12055echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12236if test "${ac_cv_have_mode_t+set}" = set; then 12056if test "${ac_cv_have_mode_t+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6 12057 echo $ECHO_N "(cached) $ECHO_C" >&6
12238else 12058else
12239 12059
12240 cat >conftest.$ac_ext <<_ACEOF 12060 cat >conftest.$ac_ext <<_ACEOF
12241#line 12241 "configure" 12061#line 12061 "configure"
12242#include "confdefs.h" 12062#include "confdefs.h"
12243 12063
12244#include <sys/types.h> 12064#include <sys/types.h>
@@ -12252,16 +12072,16 @@ main ()
12252} 12072}
12253_ACEOF 12073_ACEOF
12254rm -f conftest.$ac_objext 12074rm -f conftest.$ac_objext
12255if { (eval echo "$as_me:12255: \"$ac_compile\"") >&5 12075if { (eval echo "$as_me:12075: \"$ac_compile\"") >&5
12256 (eval $ac_compile) 2>&5 12076 (eval $ac_compile) 2>&5
12257 ac_status=$? 12077 ac_status=$?
12258 echo "$as_me:12258: \$? = $ac_status" >&5 12078 echo "$as_me:12078: \$? = $ac_status" >&5
12259 (exit $ac_status); } && 12079 (exit $ac_status); } &&
12260 { ac_try='test -s conftest.$ac_objext' 12080 { ac_try='test -s conftest.$ac_objext'
12261 { (eval echo "$as_me:12261: \"$ac_try\"") >&5 12081 { (eval echo "$as_me:12081: \"$ac_try\"") >&5
12262 (eval $ac_try) 2>&5 12082 (eval $ac_try) 2>&5
12263 ac_status=$? 12083 ac_status=$?
12264 echo "$as_me:12264: \$? = $ac_status" >&5 12084 echo "$as_me:12084: \$? = $ac_status" >&5
12265 (exit $ac_status); }; }; then 12085 (exit $ac_status); }; }; then
12266 ac_cv_have_mode_t="yes" 12086 ac_cv_have_mode_t="yes"
12267else 12087else
@@ -12273,7 +12093,7 @@ fi
12273rm -f conftest.$ac_objext conftest.$ac_ext 12093rm -f conftest.$ac_objext conftest.$ac_ext
12274 12094
12275fi 12095fi
12276echo "$as_me:12276: result: $ac_cv_have_mode_t" >&5 12096echo "$as_me:12096: result: $ac_cv_have_mode_t" >&5
12277echo "${ECHO_T}$ac_cv_have_mode_t" >&6 12097echo "${ECHO_T}$ac_cv_have_mode_t" >&6
12278if test "x$ac_cv_have_mode_t" = "xyes" ; then 12098if test "x$ac_cv_have_mode_t" = "xyes" ; then
12279 cat >>confdefs.h <<\EOF 12099 cat >>confdefs.h <<\EOF
@@ -12282,14 +12102,14 @@ EOF
12282 12102
12283fi 12103fi
12284 12104
12285echo "$as_me:12285: checking for struct sockaddr_storage" >&5 12105echo "$as_me:12105: checking for struct sockaddr_storage" >&5
12286echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 12106echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
12287if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then 12107if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6 12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12289else 12109else
12290 12110
12291 cat >conftest.$ac_ext <<_ACEOF 12111 cat >conftest.$ac_ext <<_ACEOF
12292#line 12292 "configure" 12112#line 12112 "configure"
12293#include "confdefs.h" 12113#include "confdefs.h"
12294 12114
12295#include <sys/types.h> 12115#include <sys/types.h>
@@ -12304,16 +12124,16 @@ main ()
12304} 12124}
12305_ACEOF 12125_ACEOF
12306rm -f conftest.$ac_objext 12126rm -f conftest.$ac_objext
12307if { (eval echo "$as_me:12307: \"$ac_compile\"") >&5 12127if { (eval echo "$as_me:12127: \"$ac_compile\"") >&5
12308 (eval $ac_compile) 2>&5 12128 (eval $ac_compile) 2>&5
12309 ac_status=$? 12129 ac_status=$?
12310 echo "$as_me:12310: \$? = $ac_status" >&5 12130 echo "$as_me:12130: \$? = $ac_status" >&5
12311 (exit $ac_status); } && 12131 (exit $ac_status); } &&
12312 { ac_try='test -s conftest.$ac_objext' 12132 { ac_try='test -s conftest.$ac_objext'
12313 { (eval echo "$as_me:12313: \"$ac_try\"") >&5 12133 { (eval echo "$as_me:12133: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5 12134 (eval $ac_try) 2>&5
12315 ac_status=$? 12135 ac_status=$?
12316 echo "$as_me:12316: \$? = $ac_status" >&5 12136 echo "$as_me:12136: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then 12137 (exit $ac_status); }; }; then
12318 ac_cv_have_struct_sockaddr_storage="yes" 12138 ac_cv_have_struct_sockaddr_storage="yes"
12319else 12139else
@@ -12325,7 +12145,7 @@ fi
12325rm -f conftest.$ac_objext conftest.$ac_ext 12145rm -f conftest.$ac_objext conftest.$ac_ext
12326 12146
12327fi 12147fi
12328echo "$as_me:12328: result: $ac_cv_have_struct_sockaddr_storage" >&5 12148echo "$as_me:12148: result: $ac_cv_have_struct_sockaddr_storage" >&5
12329echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 12149echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
12330if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 12150if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
12331 cat >>confdefs.h <<\EOF 12151 cat >>confdefs.h <<\EOF
@@ -12334,14 +12154,14 @@ EOF
12334 12154
12335fi 12155fi
12336 12156
12337echo "$as_me:12337: checking for struct sockaddr_in6" >&5 12157echo "$as_me:12157: checking for struct sockaddr_in6" >&5
12338echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 12158echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
12339if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then 12159if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6 12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12341else 12161else
12342 12162
12343 cat >conftest.$ac_ext <<_ACEOF 12163 cat >conftest.$ac_ext <<_ACEOF
12344#line 12344 "configure" 12164#line 12164 "configure"
12345#include "confdefs.h" 12165#include "confdefs.h"
12346 12166
12347#include <sys/types.h> 12167#include <sys/types.h>
@@ -12356,16 +12176,16 @@ main ()
12356} 12176}
12357_ACEOF 12177_ACEOF
12358rm -f conftest.$ac_objext 12178rm -f conftest.$ac_objext
12359if { (eval echo "$as_me:12359: \"$ac_compile\"") >&5 12179if { (eval echo "$as_me:12179: \"$ac_compile\"") >&5
12360 (eval $ac_compile) 2>&5 12180 (eval $ac_compile) 2>&5
12361 ac_status=$? 12181 ac_status=$?
12362 echo "$as_me:12362: \$? = $ac_status" >&5 12182 echo "$as_me:12182: \$? = $ac_status" >&5
12363 (exit $ac_status); } && 12183 (exit $ac_status); } &&
12364 { ac_try='test -s conftest.$ac_objext' 12184 { ac_try='test -s conftest.$ac_objext'
12365 { (eval echo "$as_me:12365: \"$ac_try\"") >&5 12185 { (eval echo "$as_me:12185: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5 12186 (eval $ac_try) 2>&5
12367 ac_status=$? 12187 ac_status=$?
12368 echo "$as_me:12368: \$? = $ac_status" >&5 12188 echo "$as_me:12188: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then 12189 (exit $ac_status); }; }; then
12370 ac_cv_have_struct_sockaddr_in6="yes" 12190 ac_cv_have_struct_sockaddr_in6="yes"
12371else 12191else
@@ -12377,7 +12197,7 @@ fi
12377rm -f conftest.$ac_objext conftest.$ac_ext 12197rm -f conftest.$ac_objext conftest.$ac_ext
12378 12198
12379fi 12199fi
12380echo "$as_me:12380: result: $ac_cv_have_struct_sockaddr_in6" >&5 12200echo "$as_me:12200: result: $ac_cv_have_struct_sockaddr_in6" >&5
12381echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 12201echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
12382if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 12202if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
12383 cat >>confdefs.h <<\EOF 12203 cat >>confdefs.h <<\EOF
@@ -12386,14 +12206,14 @@ EOF
12386 12206
12387fi 12207fi
12388 12208
12389echo "$as_me:12389: checking for struct in6_addr" >&5 12209echo "$as_me:12209: checking for struct in6_addr" >&5
12390echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 12210echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
12391if test "${ac_cv_have_struct_in6_addr+set}" = set; then 12211if test "${ac_cv_have_struct_in6_addr+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6 12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12393else 12213else
12394 12214
12395 cat >conftest.$ac_ext <<_ACEOF 12215 cat >conftest.$ac_ext <<_ACEOF
12396#line 12396 "configure" 12216#line 12216 "configure"
12397#include "confdefs.h" 12217#include "confdefs.h"
12398 12218
12399#include <sys/types.h> 12219#include <sys/types.h>
@@ -12408,16 +12228,16 @@ main ()
12408} 12228}
12409_ACEOF 12229_ACEOF
12410rm -f conftest.$ac_objext 12230rm -f conftest.$ac_objext
12411if { (eval echo "$as_me:12411: \"$ac_compile\"") >&5 12231if { (eval echo "$as_me:12231: \"$ac_compile\"") >&5
12412 (eval $ac_compile) 2>&5 12232 (eval $ac_compile) 2>&5
12413 ac_status=$? 12233 ac_status=$?
12414 echo "$as_me:12414: \$? = $ac_status" >&5 12234 echo "$as_me:12234: \$? = $ac_status" >&5
12415 (exit $ac_status); } && 12235 (exit $ac_status); } &&
12416 { ac_try='test -s conftest.$ac_objext' 12236 { ac_try='test -s conftest.$ac_objext'
12417 { (eval echo "$as_me:12417: \"$ac_try\"") >&5 12237 { (eval echo "$as_me:12237: \"$ac_try\"") >&5
12418 (eval $ac_try) 2>&5 12238 (eval $ac_try) 2>&5
12419 ac_status=$? 12239 ac_status=$?
12420 echo "$as_me:12420: \$? = $ac_status" >&5 12240 echo "$as_me:12240: \$? = $ac_status" >&5
12421 (exit $ac_status); }; }; then 12241 (exit $ac_status); }; }; then
12422 ac_cv_have_struct_in6_addr="yes" 12242 ac_cv_have_struct_in6_addr="yes"
12423else 12243else
@@ -12429,7 +12249,7 @@ fi
12429rm -f conftest.$ac_objext conftest.$ac_ext 12249rm -f conftest.$ac_objext conftest.$ac_ext
12430 12250
12431fi 12251fi
12432echo "$as_me:12432: result: $ac_cv_have_struct_in6_addr" >&5 12252echo "$as_me:12252: result: $ac_cv_have_struct_in6_addr" >&5
12433echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 12253echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
12434if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 12254if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
12435 cat >>confdefs.h <<\EOF 12255 cat >>confdefs.h <<\EOF
@@ -12438,14 +12258,14 @@ EOF
12438 12258
12439fi 12259fi
12440 12260
12441echo "$as_me:12441: checking for struct addrinfo" >&5 12261echo "$as_me:12261: checking for struct addrinfo" >&5
12442echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 12262echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
12443if test "${ac_cv_have_struct_addrinfo+set}" = set; then 12263if test "${ac_cv_have_struct_addrinfo+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6 12264 echo $ECHO_N "(cached) $ECHO_C" >&6
12445else 12265else
12446 12266
12447 cat >conftest.$ac_ext <<_ACEOF 12267 cat >conftest.$ac_ext <<_ACEOF
12448#line 12448 "configure" 12268#line 12268 "configure"
12449#include "confdefs.h" 12269#include "confdefs.h"
12450 12270
12451#include <sys/types.h> 12271#include <sys/types.h>
@@ -12461,16 +12281,16 @@ main ()
12461} 12281}
12462_ACEOF 12282_ACEOF
12463rm -f conftest.$ac_objext 12283rm -f conftest.$ac_objext
12464if { (eval echo "$as_me:12464: \"$ac_compile\"") >&5 12284if { (eval echo "$as_me:12284: \"$ac_compile\"") >&5
12465 (eval $ac_compile) 2>&5 12285 (eval $ac_compile) 2>&5
12466 ac_status=$? 12286 ac_status=$?
12467 echo "$as_me:12467: \$? = $ac_status" >&5 12287 echo "$as_me:12287: \$? = $ac_status" >&5
12468 (exit $ac_status); } && 12288 (exit $ac_status); } &&
12469 { ac_try='test -s conftest.$ac_objext' 12289 { ac_try='test -s conftest.$ac_objext'
12470 { (eval echo "$as_me:12470: \"$ac_try\"") >&5 12290 { (eval echo "$as_me:12290: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5 12291 (eval $ac_try) 2>&5
12472 ac_status=$? 12292 ac_status=$?
12473 echo "$as_me:12473: \$? = $ac_status" >&5 12293 echo "$as_me:12293: \$? = $ac_status" >&5
12474 (exit $ac_status); }; }; then 12294 (exit $ac_status); }; }; then
12475 ac_cv_have_struct_addrinfo="yes" 12295 ac_cv_have_struct_addrinfo="yes"
12476else 12296else
@@ -12482,7 +12302,7 @@ fi
12482rm -f conftest.$ac_objext conftest.$ac_ext 12302rm -f conftest.$ac_objext conftest.$ac_ext
12483 12303
12484fi 12304fi
12485echo "$as_me:12485: result: $ac_cv_have_struct_addrinfo" >&5 12305echo "$as_me:12305: result: $ac_cv_have_struct_addrinfo" >&5
12486echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 12306echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
12487if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 12307if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
12488 cat >>confdefs.h <<\EOF 12308 cat >>confdefs.h <<\EOF
@@ -12491,14 +12311,14 @@ EOF
12491 12311
12492fi 12312fi
12493 12313
12494echo "$as_me:12494: checking for struct timeval" >&5 12314echo "$as_me:12314: checking for struct timeval" >&5
12495echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 12315echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
12496if test "${ac_cv_have_struct_timeval+set}" = set; then 12316if test "${ac_cv_have_struct_timeval+set}" = set; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6 12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12498else 12318else
12499 12319
12500 cat >conftest.$ac_ext <<_ACEOF 12320 cat >conftest.$ac_ext <<_ACEOF
12501#line 12501 "configure" 12321#line 12321 "configure"
12502#include "confdefs.h" 12322#include "confdefs.h"
12503 #include <sys/time.h> 12323 #include <sys/time.h>
12504int 12324int
@@ -12510,16 +12330,16 @@ main ()
12510} 12330}
12511_ACEOF 12331_ACEOF
12512rm -f conftest.$ac_objext 12332rm -f conftest.$ac_objext
12513if { (eval echo "$as_me:12513: \"$ac_compile\"") >&5 12333if { (eval echo "$as_me:12333: \"$ac_compile\"") >&5
12514 (eval $ac_compile) 2>&5 12334 (eval $ac_compile) 2>&5
12515 ac_status=$? 12335 ac_status=$?
12516 echo "$as_me:12516: \$? = $ac_status" >&5 12336 echo "$as_me:12336: \$? = $ac_status" >&5
12517 (exit $ac_status); } && 12337 (exit $ac_status); } &&
12518 { ac_try='test -s conftest.$ac_objext' 12338 { ac_try='test -s conftest.$ac_objext'
12519 { (eval echo "$as_me:12519: \"$ac_try\"") >&5 12339 { (eval echo "$as_me:12339: \"$ac_try\"") >&5
12520 (eval $ac_try) 2>&5 12340 (eval $ac_try) 2>&5
12521 ac_status=$? 12341 ac_status=$?
12522 echo "$as_me:12522: \$? = $ac_status" >&5 12342 echo "$as_me:12342: \$? = $ac_status" >&5
12523 (exit $ac_status); }; }; then 12343 (exit $ac_status); }; }; then
12524 ac_cv_have_struct_timeval="yes" 12344 ac_cv_have_struct_timeval="yes"
12525else 12345else
@@ -12531,7 +12351,7 @@ fi
12531rm -f conftest.$ac_objext conftest.$ac_ext 12351rm -f conftest.$ac_objext conftest.$ac_ext
12532 12352
12533fi 12353fi
12534echo "$as_me:12534: result: $ac_cv_have_struct_timeval" >&5 12354echo "$as_me:12354: result: $ac_cv_have_struct_timeval" >&5
12535echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 12355echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
12536if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 12356if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
12537 cat >>confdefs.h <<\EOF 12357 cat >>confdefs.h <<\EOF
@@ -12541,13 +12361,13 @@ EOF
12541 have_struct_timeval=1 12361 have_struct_timeval=1
12542fi 12362fi
12543 12363
12544echo "$as_me:12544: checking for struct timespec" >&5 12364echo "$as_me:12364: checking for struct timespec" >&5
12545echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 12365echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
12546if test "${ac_cv_type_struct_timespec+set}" = set; then 12366if test "${ac_cv_type_struct_timespec+set}" = set; then
12547 echo $ECHO_N "(cached) $ECHO_C" >&6 12367 echo $ECHO_N "(cached) $ECHO_C" >&6
12548else 12368else
12549 cat >conftest.$ac_ext <<_ACEOF 12369 cat >conftest.$ac_ext <<_ACEOF
12550#line 12550 "configure" 12370#line 12370 "configure"
12551#include "confdefs.h" 12371#include "confdefs.h"
12552$ac_includes_default 12372$ac_includes_default
12553int 12373int
@@ -12562,16 +12382,16 @@ if (sizeof (struct timespec))
12562} 12382}
12563_ACEOF 12383_ACEOF
12564rm -f conftest.$ac_objext 12384rm -f conftest.$ac_objext
12565if { (eval echo "$as_me:12565: \"$ac_compile\"") >&5 12385if { (eval echo "$as_me:12385: \"$ac_compile\"") >&5
12566 (eval $ac_compile) 2>&5 12386 (eval $ac_compile) 2>&5
12567 ac_status=$? 12387 ac_status=$?
12568 echo "$as_me:12568: \$? = $ac_status" >&5 12388 echo "$as_me:12388: \$? = $ac_status" >&5
12569 (exit $ac_status); } && 12389 (exit $ac_status); } &&
12570 { ac_try='test -s conftest.$ac_objext' 12390 { ac_try='test -s conftest.$ac_objext'
12571 { (eval echo "$as_me:12571: \"$ac_try\"") >&5 12391 { (eval echo "$as_me:12391: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5 12392 (eval $ac_try) 2>&5
12573 ac_status=$? 12393 ac_status=$?
12574 echo "$as_me:12574: \$? = $ac_status" >&5 12394 echo "$as_me:12394: \$? = $ac_status" >&5
12575 (exit $ac_status); }; }; then 12395 (exit $ac_status); }; }; then
12576 ac_cv_type_struct_timespec=yes 12396 ac_cv_type_struct_timespec=yes
12577else 12397else
@@ -12581,7 +12401,7 @@ ac_cv_type_struct_timespec=no
12581fi 12401fi
12582rm -f conftest.$ac_objext conftest.$ac_ext 12402rm -f conftest.$ac_objext conftest.$ac_ext
12583fi 12403fi
12584echo "$as_me:12584: result: $ac_cv_type_struct_timespec" >&5 12404echo "$as_me:12404: result: $ac_cv_type_struct_timespec" >&5
12585echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 12405echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
12586if test $ac_cv_type_struct_timespec = yes; then 12406if test $ac_cv_type_struct_timespec = yes; then
12587 12407
@@ -12601,12 +12421,12 @@ if test "x$ac_cv_have_int64_t" = "xno" -a \
12601 exit 1; 12421 exit 1;
12602else 12422else
12603 if test "$cross_compiling" = yes; then 12423 if test "$cross_compiling" = yes; then
12604 { { echo "$as_me:12604: error: cannot run test program while cross compiling" >&5 12424 { { echo "$as_me:12424: error: cannot run test program while cross compiling" >&5
12605echo "$as_me: error: cannot run test program while cross compiling" >&2;} 12425echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12606 { (exit 1); exit 1; }; } 12426 { (exit 1); exit 1; }; }
12607else 12427else
12608 cat >conftest.$ac_ext <<_ACEOF 12428 cat >conftest.$ac_ext <<_ACEOF
12609#line 12609 "configure" 12429#line 12429 "configure"
12610#include "confdefs.h" 12430#include "confdefs.h"
12611 12431
12612#include <stdio.h> 12432#include <stdio.h>
@@ -12634,15 +12454,15 @@ main() { exit(0); }
12634 12454
12635_ACEOF 12455_ACEOF
12636rm -f conftest$ac_exeext 12456rm -f conftest$ac_exeext
12637if { (eval echo "$as_me:12637: \"$ac_link\"") >&5 12457if { (eval echo "$as_me:12457: \"$ac_link\"") >&5
12638 (eval $ac_link) 2>&5 12458 (eval $ac_link) 2>&5
12639 ac_status=$? 12459 ac_status=$?
12640 echo "$as_me:12640: \$? = $ac_status" >&5 12460 echo "$as_me:12460: \$? = $ac_status" >&5
12641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12642 { (eval echo "$as_me:12642: \"$ac_try\"") >&5 12462 { (eval echo "$as_me:12462: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5 12463 (eval $ac_try) 2>&5
12644 ac_status=$? 12464 ac_status=$?
12645 echo "$as_me:12645: \$? = $ac_status" >&5 12465 echo "$as_me:12465: \$? = $ac_status" >&5
12646 (exit $ac_status); }; }; then 12466 (exit $ac_status); }; }; then
12647 true 12467 true
12648else 12468else
@@ -12661,14 +12481,14 @@ fi
12661# look for field 'ut_host' in header 'utmp.h' 12481# look for field 'ut_host' in header 'utmp.h'
12662 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 12482 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12663 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 12483 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
12664 echo "$as_me:12664: checking for ut_host field in utmp.h" >&5 12484 echo "$as_me:12484: checking for ut_host field in utmp.h" >&5
12665echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 12485echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6
12666 if eval "test \"\${$ossh_varname+set}\" = set"; then 12486 if eval "test \"\${$ossh_varname+set}\" = set"; then
12667 echo $ECHO_N "(cached) $ECHO_C" >&6 12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12668else 12488else
12669 12489
12670 cat >conftest.$ac_ext <<_ACEOF 12490 cat >conftest.$ac_ext <<_ACEOF
12671#line 12671 "configure" 12491#line 12491 "configure"
12672#include "confdefs.h" 12492#include "confdefs.h"
12673#include <utmp.h> 12493#include <utmp.h>
12674 12494
@@ -12685,7 +12505,7 @@ fi
12685 12505
12686 ossh_result=`eval 'echo $'"$ossh_varname"` 12506 ossh_result=`eval 'echo $'"$ossh_varname"`
12687 if test -n "`echo $ossh_varname`"; then 12507 if test -n "`echo $ossh_varname`"; then
12688 echo "$as_me:12688: result: $ossh_result" >&5 12508 echo "$as_me:12508: result: $ossh_result" >&5
12689echo "${ECHO_T}$ossh_result" >&6 12509echo "${ECHO_T}$ossh_result" >&6
12690 if test "x$ossh_result" = "xyes"; then 12510 if test "x$ossh_result" = "xyes"; then
12691 cat >>confdefs.h <<\EOF 12511 cat >>confdefs.h <<\EOF
@@ -12694,21 +12514,21 @@ EOF
12694 12514
12695 fi 12515 fi
12696 else 12516 else
12697 echo "$as_me:12697: result: no" >&5 12517 echo "$as_me:12517: result: no" >&5
12698echo "${ECHO_T}no" >&6 12518echo "${ECHO_T}no" >&6
12699 fi 12519 fi
12700 12520
12701# look for field 'ut_host' in header 'utmpx.h' 12521# look for field 'ut_host' in header 'utmpx.h'
12702 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 12522 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12703 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 12523 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
12704 echo "$as_me:12704: checking for ut_host field in utmpx.h" >&5 12524 echo "$as_me:12524: checking for ut_host field in utmpx.h" >&5
12705echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 12525echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6
12706 if eval "test \"\${$ossh_varname+set}\" = set"; then 12526 if eval "test \"\${$ossh_varname+set}\" = set"; then
12707 echo $ECHO_N "(cached) $ECHO_C" >&6 12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12708else 12528else
12709 12529
12710 cat >conftest.$ac_ext <<_ACEOF 12530 cat >conftest.$ac_ext <<_ACEOF
12711#line 12711 "configure" 12531#line 12531 "configure"
12712#include "confdefs.h" 12532#include "confdefs.h"
12713#include <utmpx.h> 12533#include <utmpx.h>
12714 12534
@@ -12725,7 +12545,7 @@ fi
12725 12545
12726 ossh_result=`eval 'echo $'"$ossh_varname"` 12546 ossh_result=`eval 'echo $'"$ossh_varname"`
12727 if test -n "`echo $ossh_varname`"; then 12547 if test -n "`echo $ossh_varname`"; then
12728 echo "$as_me:12728: result: $ossh_result" >&5 12548 echo "$as_me:12548: result: $ossh_result" >&5
12729echo "${ECHO_T}$ossh_result" >&6 12549echo "${ECHO_T}$ossh_result" >&6
12730 if test "x$ossh_result" = "xyes"; then 12550 if test "x$ossh_result" = "xyes"; then
12731 cat >>confdefs.h <<\EOF 12551 cat >>confdefs.h <<\EOF
@@ -12734,21 +12554,21 @@ EOF
12734 12554
12735 fi 12555 fi
12736 else 12556 else
12737 echo "$as_me:12737: result: no" >&5 12557 echo "$as_me:12557: result: no" >&5
12738echo "${ECHO_T}no" >&6 12558echo "${ECHO_T}no" >&6
12739 fi 12559 fi
12740 12560
12741# look for field 'syslen' in header 'utmpx.h' 12561# look for field 'syslen' in header 'utmpx.h'
12742 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 12562 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12743 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen 12563 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
12744 echo "$as_me:12744: checking for syslen field in utmpx.h" >&5 12564 echo "$as_me:12564: checking for syslen field in utmpx.h" >&5
12745echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 12565echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6
12746 if eval "test \"\${$ossh_varname+set}\" = set"; then 12566 if eval "test \"\${$ossh_varname+set}\" = set"; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6 12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12748else 12568else
12749 12569
12750 cat >conftest.$ac_ext <<_ACEOF 12570 cat >conftest.$ac_ext <<_ACEOF
12751#line 12751 "configure" 12571#line 12571 "configure"
12752#include "confdefs.h" 12572#include "confdefs.h"
12753#include <utmpx.h> 12573#include <utmpx.h>
12754 12574
@@ -12765,7 +12585,7 @@ fi
12765 12585
12766 ossh_result=`eval 'echo $'"$ossh_varname"` 12586 ossh_result=`eval 'echo $'"$ossh_varname"`
12767 if test -n "`echo $ossh_varname`"; then 12587 if test -n "`echo $ossh_varname`"; then
12768 echo "$as_me:12768: result: $ossh_result" >&5 12588 echo "$as_me:12588: result: $ossh_result" >&5
12769echo "${ECHO_T}$ossh_result" >&6 12589echo "${ECHO_T}$ossh_result" >&6
12770 if test "x$ossh_result" = "xyes"; then 12590 if test "x$ossh_result" = "xyes"; then
12771 cat >>confdefs.h <<\EOF 12591 cat >>confdefs.h <<\EOF
@@ -12774,21 +12594,21 @@ EOF
12774 12594
12775 fi 12595 fi
12776 else 12596 else
12777 echo "$as_me:12777: result: no" >&5 12597 echo "$as_me:12597: result: no" >&5
12778echo "${ECHO_T}no" >&6 12598echo "${ECHO_T}no" >&6
12779 fi 12599 fi
12780 12600
12781# look for field 'ut_pid' in header 'utmp.h' 12601# look for field 'ut_pid' in header 'utmp.h'
12782 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 12602 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12783 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid 12603 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
12784 echo "$as_me:12784: checking for ut_pid field in utmp.h" >&5 12604 echo "$as_me:12604: checking for ut_pid field in utmp.h" >&5
12785echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 12605echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6
12786 if eval "test \"\${$ossh_varname+set}\" = set"; then 12606 if eval "test \"\${$ossh_varname+set}\" = set"; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6 12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12788else 12608else
12789 12609
12790 cat >conftest.$ac_ext <<_ACEOF 12610 cat >conftest.$ac_ext <<_ACEOF
12791#line 12791 "configure" 12611#line 12611 "configure"
12792#include "confdefs.h" 12612#include "confdefs.h"
12793#include <utmp.h> 12613#include <utmp.h>
12794 12614
@@ -12805,7 +12625,7 @@ fi
12805 12625
12806 ossh_result=`eval 'echo $'"$ossh_varname"` 12626 ossh_result=`eval 'echo $'"$ossh_varname"`
12807 if test -n "`echo $ossh_varname`"; then 12627 if test -n "`echo $ossh_varname`"; then
12808 echo "$as_me:12808: result: $ossh_result" >&5 12628 echo "$as_me:12628: result: $ossh_result" >&5
12809echo "${ECHO_T}$ossh_result" >&6 12629echo "${ECHO_T}$ossh_result" >&6
12810 if test "x$ossh_result" = "xyes"; then 12630 if test "x$ossh_result" = "xyes"; then
12811 cat >>confdefs.h <<\EOF 12631 cat >>confdefs.h <<\EOF
@@ -12814,21 +12634,21 @@ EOF
12814 12634
12815 fi 12635 fi
12816 else 12636 else
12817 echo "$as_me:12817: result: no" >&5 12637 echo "$as_me:12637: result: no" >&5
12818echo "${ECHO_T}no" >&6 12638echo "${ECHO_T}no" >&6
12819 fi 12639 fi
12820 12640
12821# look for field 'ut_type' in header 'utmp.h' 12641# look for field 'ut_type' in header 'utmp.h'
12822 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 12642 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12823 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 12643 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
12824 echo "$as_me:12824: checking for ut_type field in utmp.h" >&5 12644 echo "$as_me:12644: checking for ut_type field in utmp.h" >&5
12825echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 12645echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6
12826 if eval "test \"\${$ossh_varname+set}\" = set"; then 12646 if eval "test \"\${$ossh_varname+set}\" = set"; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6 12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12828else 12648else
12829 12649
12830 cat >conftest.$ac_ext <<_ACEOF 12650 cat >conftest.$ac_ext <<_ACEOF
12831#line 12831 "configure" 12651#line 12651 "configure"
12832#include "confdefs.h" 12652#include "confdefs.h"
12833#include <utmp.h> 12653#include <utmp.h>
12834 12654
@@ -12845,7 +12665,7 @@ fi
12845 12665
12846 ossh_result=`eval 'echo $'"$ossh_varname"` 12666 ossh_result=`eval 'echo $'"$ossh_varname"`
12847 if test -n "`echo $ossh_varname`"; then 12667 if test -n "`echo $ossh_varname`"; then
12848 echo "$as_me:12848: result: $ossh_result" >&5 12668 echo "$as_me:12668: result: $ossh_result" >&5
12849echo "${ECHO_T}$ossh_result" >&6 12669echo "${ECHO_T}$ossh_result" >&6
12850 if test "x$ossh_result" = "xyes"; then 12670 if test "x$ossh_result" = "xyes"; then
12851 cat >>confdefs.h <<\EOF 12671 cat >>confdefs.h <<\EOF
@@ -12854,21 +12674,21 @@ EOF
12854 12674
12855 fi 12675 fi
12856 else 12676 else
12857 echo "$as_me:12857: result: no" >&5 12677 echo "$as_me:12677: result: no" >&5
12858echo "${ECHO_T}no" >&6 12678echo "${ECHO_T}no" >&6
12859 fi 12679 fi
12860 12680
12861# look for field 'ut_type' in header 'utmpx.h' 12681# look for field 'ut_type' in header 'utmpx.h'
12862 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 12682 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12863 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 12683 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
12864 echo "$as_me:12864: checking for ut_type field in utmpx.h" >&5 12684 echo "$as_me:12684: checking for ut_type field in utmpx.h" >&5
12865echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 12685echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6
12866 if eval "test \"\${$ossh_varname+set}\" = set"; then 12686 if eval "test \"\${$ossh_varname+set}\" = set"; then
12867 echo $ECHO_N "(cached) $ECHO_C" >&6 12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12868else 12688else
12869 12689
12870 cat >conftest.$ac_ext <<_ACEOF 12690 cat >conftest.$ac_ext <<_ACEOF
12871#line 12871 "configure" 12691#line 12691 "configure"
12872#include "confdefs.h" 12692#include "confdefs.h"
12873#include <utmpx.h> 12693#include <utmpx.h>
12874 12694
@@ -12885,7 +12705,7 @@ fi
12885 12705
12886 ossh_result=`eval 'echo $'"$ossh_varname"` 12706 ossh_result=`eval 'echo $'"$ossh_varname"`
12887 if test -n "`echo $ossh_varname`"; then 12707 if test -n "`echo $ossh_varname`"; then
12888 echo "$as_me:12888: result: $ossh_result" >&5 12708 echo "$as_me:12708: result: $ossh_result" >&5
12889echo "${ECHO_T}$ossh_result" >&6 12709echo "${ECHO_T}$ossh_result" >&6
12890 if test "x$ossh_result" = "xyes"; then 12710 if test "x$ossh_result" = "xyes"; then
12891 cat >>confdefs.h <<\EOF 12711 cat >>confdefs.h <<\EOF
@@ -12894,21 +12714,21 @@ EOF
12894 12714
12895 fi 12715 fi
12896 else 12716 else
12897 echo "$as_me:12897: result: no" >&5 12717 echo "$as_me:12717: result: no" >&5
12898echo "${ECHO_T}no" >&6 12718echo "${ECHO_T}no" >&6
12899 fi 12719 fi
12900 12720
12901# look for field 'ut_tv' in header 'utmp.h' 12721# look for field 'ut_tv' in header 'utmp.h'
12902 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 12722 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12903 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 12723 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
12904 echo "$as_me:12904: checking for ut_tv field in utmp.h" >&5 12724 echo "$as_me:12724: checking for ut_tv field in utmp.h" >&5
12905echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 12725echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6
12906 if eval "test \"\${$ossh_varname+set}\" = set"; then 12726 if eval "test \"\${$ossh_varname+set}\" = set"; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6 12727 echo $ECHO_N "(cached) $ECHO_C" >&6
12908else 12728else
12909 12729
12910 cat >conftest.$ac_ext <<_ACEOF 12730 cat >conftest.$ac_ext <<_ACEOF
12911#line 12911 "configure" 12731#line 12731 "configure"
12912#include "confdefs.h" 12732#include "confdefs.h"
12913#include <utmp.h> 12733#include <utmp.h>
12914 12734
@@ -12925,7 +12745,7 @@ fi
12925 12745
12926 ossh_result=`eval 'echo $'"$ossh_varname"` 12746 ossh_result=`eval 'echo $'"$ossh_varname"`
12927 if test -n "`echo $ossh_varname`"; then 12747 if test -n "`echo $ossh_varname`"; then
12928 echo "$as_me:12928: result: $ossh_result" >&5 12748 echo "$as_me:12748: result: $ossh_result" >&5
12929echo "${ECHO_T}$ossh_result" >&6 12749echo "${ECHO_T}$ossh_result" >&6
12930 if test "x$ossh_result" = "xyes"; then 12750 if test "x$ossh_result" = "xyes"; then
12931 cat >>confdefs.h <<\EOF 12751 cat >>confdefs.h <<\EOF
@@ -12934,21 +12754,21 @@ EOF
12934 12754
12935 fi 12755 fi
12936 else 12756 else
12937 echo "$as_me:12937: result: no" >&5 12757 echo "$as_me:12757: result: no" >&5
12938echo "${ECHO_T}no" >&6 12758echo "${ECHO_T}no" >&6
12939 fi 12759 fi
12940 12760
12941# look for field 'ut_id' in header 'utmp.h' 12761# look for field 'ut_id' in header 'utmp.h'
12942 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 12762 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12943 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 12763 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
12944 echo "$as_me:12944: checking for ut_id field in utmp.h" >&5 12764 echo "$as_me:12764: checking for ut_id field in utmp.h" >&5
12945echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 12765echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6
12946 if eval "test \"\${$ossh_varname+set}\" = set"; then 12766 if eval "test \"\${$ossh_varname+set}\" = set"; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6 12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12948else 12768else
12949 12769
12950 cat >conftest.$ac_ext <<_ACEOF 12770 cat >conftest.$ac_ext <<_ACEOF
12951#line 12951 "configure" 12771#line 12771 "configure"
12952#include "confdefs.h" 12772#include "confdefs.h"
12953#include <utmp.h> 12773#include <utmp.h>
12954 12774
@@ -12965,7 +12785,7 @@ fi
12965 12785
12966 ossh_result=`eval 'echo $'"$ossh_varname"` 12786 ossh_result=`eval 'echo $'"$ossh_varname"`
12967 if test -n "`echo $ossh_varname`"; then 12787 if test -n "`echo $ossh_varname`"; then
12968 echo "$as_me:12968: result: $ossh_result" >&5 12788 echo "$as_me:12788: result: $ossh_result" >&5
12969echo "${ECHO_T}$ossh_result" >&6 12789echo "${ECHO_T}$ossh_result" >&6
12970 if test "x$ossh_result" = "xyes"; then 12790 if test "x$ossh_result" = "xyes"; then
12971 cat >>confdefs.h <<\EOF 12791 cat >>confdefs.h <<\EOF
@@ -12974,21 +12794,21 @@ EOF
12974 12794
12975 fi 12795 fi
12976 else 12796 else
12977 echo "$as_me:12977: result: no" >&5 12797 echo "$as_me:12797: result: no" >&5
12978echo "${ECHO_T}no" >&6 12798echo "${ECHO_T}no" >&6
12979 fi 12799 fi
12980 12800
12981# look for field 'ut_id' in header 'utmpx.h' 12801# look for field 'ut_id' in header 'utmpx.h'
12982 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 12802 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12983 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 12803 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
12984 echo "$as_me:12984: checking for ut_id field in utmpx.h" >&5 12804 echo "$as_me:12804: checking for ut_id field in utmpx.h" >&5
12985echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 12805echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6
12986 if eval "test \"\${$ossh_varname+set}\" = set"; then 12806 if eval "test \"\${$ossh_varname+set}\" = set"; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6 12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12988else 12808else
12989 12809
12990 cat >conftest.$ac_ext <<_ACEOF 12810 cat >conftest.$ac_ext <<_ACEOF
12991#line 12991 "configure" 12811#line 12811 "configure"
12992#include "confdefs.h" 12812#include "confdefs.h"
12993#include <utmpx.h> 12813#include <utmpx.h>
12994 12814
@@ -13005,7 +12825,7 @@ fi
13005 12825
13006 ossh_result=`eval 'echo $'"$ossh_varname"` 12826 ossh_result=`eval 'echo $'"$ossh_varname"`
13007 if test -n "`echo $ossh_varname`"; then 12827 if test -n "`echo $ossh_varname`"; then
13008 echo "$as_me:13008: result: $ossh_result" >&5 12828 echo "$as_me:12828: result: $ossh_result" >&5
13009echo "${ECHO_T}$ossh_result" >&6 12829echo "${ECHO_T}$ossh_result" >&6
13010 if test "x$ossh_result" = "xyes"; then 12830 if test "x$ossh_result" = "xyes"; then
13011 cat >>confdefs.h <<\EOF 12831 cat >>confdefs.h <<\EOF
@@ -13014,21 +12834,21 @@ EOF
13014 12834
13015 fi 12835 fi
13016 else 12836 else
13017 echo "$as_me:13017: result: no" >&5 12837 echo "$as_me:12837: result: no" >&5
13018echo "${ECHO_T}no" >&6 12838echo "${ECHO_T}no" >&6
13019 fi 12839 fi
13020 12840
13021# look for field 'ut_addr' in header 'utmp.h' 12841# look for field 'ut_addr' in header 'utmp.h'
13022 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 12842 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13023 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 12843 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
13024 echo "$as_me:13024: checking for ut_addr field in utmp.h" >&5 12844 echo "$as_me:12844: checking for ut_addr field in utmp.h" >&5
13025echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 12845echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6
13026 if eval "test \"\${$ossh_varname+set}\" = set"; then 12846 if eval "test \"\${$ossh_varname+set}\" = set"; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6 12847 echo $ECHO_N "(cached) $ECHO_C" >&6
13028else 12848else
13029 12849
13030 cat >conftest.$ac_ext <<_ACEOF 12850 cat >conftest.$ac_ext <<_ACEOF
13031#line 13031 "configure" 12851#line 12851 "configure"
13032#include "confdefs.h" 12852#include "confdefs.h"
13033#include <utmp.h> 12853#include <utmp.h>
13034 12854
@@ -13045,7 +12865,7 @@ fi
13045 12865
13046 ossh_result=`eval 'echo $'"$ossh_varname"` 12866 ossh_result=`eval 'echo $'"$ossh_varname"`
13047 if test -n "`echo $ossh_varname`"; then 12867 if test -n "`echo $ossh_varname`"; then
13048 echo "$as_me:13048: result: $ossh_result" >&5 12868 echo "$as_me:12868: result: $ossh_result" >&5
13049echo "${ECHO_T}$ossh_result" >&6 12869echo "${ECHO_T}$ossh_result" >&6
13050 if test "x$ossh_result" = "xyes"; then 12870 if test "x$ossh_result" = "xyes"; then
13051 cat >>confdefs.h <<\EOF 12871 cat >>confdefs.h <<\EOF
@@ -13054,21 +12874,21 @@ EOF
13054 12874
13055 fi 12875 fi
13056 else 12876 else
13057 echo "$as_me:13057: result: no" >&5 12877 echo "$as_me:12877: result: no" >&5
13058echo "${ECHO_T}no" >&6 12878echo "${ECHO_T}no" >&6
13059 fi 12879 fi
13060 12880
13061# look for field 'ut_addr' in header 'utmpx.h' 12881# look for field 'ut_addr' in header 'utmpx.h'
13062 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 12882 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13063 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 12883 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
13064 echo "$as_me:13064: checking for ut_addr field in utmpx.h" >&5 12884 echo "$as_me:12884: checking for ut_addr field in utmpx.h" >&5
13065echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 12885echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6
13066 if eval "test \"\${$ossh_varname+set}\" = set"; then 12886 if eval "test \"\${$ossh_varname+set}\" = set"; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6 12887 echo $ECHO_N "(cached) $ECHO_C" >&6
13068else 12888else
13069 12889
13070 cat >conftest.$ac_ext <<_ACEOF 12890 cat >conftest.$ac_ext <<_ACEOF
13071#line 13071 "configure" 12891#line 12891 "configure"
13072#include "confdefs.h" 12892#include "confdefs.h"
13073#include <utmpx.h> 12893#include <utmpx.h>
13074 12894
@@ -13085,7 +12905,7 @@ fi
13085 12905
13086 ossh_result=`eval 'echo $'"$ossh_varname"` 12906 ossh_result=`eval 'echo $'"$ossh_varname"`
13087 if test -n "`echo $ossh_varname`"; then 12907 if test -n "`echo $ossh_varname`"; then
13088 echo "$as_me:13088: result: $ossh_result" >&5 12908 echo "$as_me:12908: result: $ossh_result" >&5
13089echo "${ECHO_T}$ossh_result" >&6 12909echo "${ECHO_T}$ossh_result" >&6
13090 if test "x$ossh_result" = "xyes"; then 12910 if test "x$ossh_result" = "xyes"; then
13091 cat >>confdefs.h <<\EOF 12911 cat >>confdefs.h <<\EOF
@@ -13094,21 +12914,21 @@ EOF
13094 12914
13095 fi 12915 fi
13096 else 12916 else
13097 echo "$as_me:13097: result: no" >&5 12917 echo "$as_me:12917: result: no" >&5
13098echo "${ECHO_T}no" >&6 12918echo "${ECHO_T}no" >&6
13099 fi 12919 fi
13100 12920
13101# look for field 'ut_addr_v6' in header 'utmp.h' 12921# look for field 'ut_addr_v6' in header 'utmp.h'
13102 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 12922 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13103 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 12923 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
13104 echo "$as_me:13104: checking for ut_addr_v6 field in utmp.h" >&5 12924 echo "$as_me:12924: checking for ut_addr_v6 field in utmp.h" >&5
13105echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 12925echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6
13106 if eval "test \"\${$ossh_varname+set}\" = set"; then 12926 if eval "test \"\${$ossh_varname+set}\" = set"; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6 12927 echo $ECHO_N "(cached) $ECHO_C" >&6
13108else 12928else
13109 12929
13110 cat >conftest.$ac_ext <<_ACEOF 12930 cat >conftest.$ac_ext <<_ACEOF
13111#line 13111 "configure" 12931#line 12931 "configure"
13112#include "confdefs.h" 12932#include "confdefs.h"
13113#include <utmp.h> 12933#include <utmp.h>
13114 12934
@@ -13125,7 +12945,7 @@ fi
13125 12945
13126 ossh_result=`eval 'echo $'"$ossh_varname"` 12946 ossh_result=`eval 'echo $'"$ossh_varname"`
13127 if test -n "`echo $ossh_varname`"; then 12947 if test -n "`echo $ossh_varname`"; then
13128 echo "$as_me:13128: result: $ossh_result" >&5 12948 echo "$as_me:12948: result: $ossh_result" >&5
13129echo "${ECHO_T}$ossh_result" >&6 12949echo "${ECHO_T}$ossh_result" >&6
13130 if test "x$ossh_result" = "xyes"; then 12950 if test "x$ossh_result" = "xyes"; then
13131 cat >>confdefs.h <<\EOF 12951 cat >>confdefs.h <<\EOF
@@ -13134,21 +12954,21 @@ EOF
13134 12954
13135 fi 12955 fi
13136 else 12956 else
13137 echo "$as_me:13137: result: no" >&5 12957 echo "$as_me:12957: result: no" >&5
13138echo "${ECHO_T}no" >&6 12958echo "${ECHO_T}no" >&6
13139 fi 12959 fi
13140 12960
13141# look for field 'ut_addr_v6' in header 'utmpx.h' 12961# look for field 'ut_addr_v6' in header 'utmpx.h'
13142 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 12962 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13143 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 12963 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
13144 echo "$as_me:13144: checking for ut_addr_v6 field in utmpx.h" >&5 12964 echo "$as_me:12964: checking for ut_addr_v6 field in utmpx.h" >&5
13145echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 12965echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6
13146 if eval "test \"\${$ossh_varname+set}\" = set"; then 12966 if eval "test \"\${$ossh_varname+set}\" = set"; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6 12967 echo $ECHO_N "(cached) $ECHO_C" >&6
13148else 12968else
13149 12969
13150 cat >conftest.$ac_ext <<_ACEOF 12970 cat >conftest.$ac_ext <<_ACEOF
13151#line 13151 "configure" 12971#line 12971 "configure"
13152#include "confdefs.h" 12972#include "confdefs.h"
13153#include <utmpx.h> 12973#include <utmpx.h>
13154 12974
@@ -13165,7 +12985,7 @@ fi
13165 12985
13166 ossh_result=`eval 'echo $'"$ossh_varname"` 12986 ossh_result=`eval 'echo $'"$ossh_varname"`
13167 if test -n "`echo $ossh_varname`"; then 12987 if test -n "`echo $ossh_varname`"; then
13168 echo "$as_me:13168: result: $ossh_result" >&5 12988 echo "$as_me:12988: result: $ossh_result" >&5
13169echo "${ECHO_T}$ossh_result" >&6 12989echo "${ECHO_T}$ossh_result" >&6
13170 if test "x$ossh_result" = "xyes"; then 12990 if test "x$ossh_result" = "xyes"; then
13171 cat >>confdefs.h <<\EOF 12991 cat >>confdefs.h <<\EOF
@@ -13174,21 +12994,21 @@ EOF
13174 12994
13175 fi 12995 fi
13176 else 12996 else
13177 echo "$as_me:13177: result: no" >&5 12997 echo "$as_me:12997: result: no" >&5
13178echo "${ECHO_T}no" >&6 12998echo "${ECHO_T}no" >&6
13179 fi 12999 fi
13180 13000
13181# look for field 'ut_exit' in header 'utmp.h' 13001# look for field 'ut_exit' in header 'utmp.h'
13182 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 13002 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13183 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit 13003 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
13184 echo "$as_me:13184: checking for ut_exit field in utmp.h" >&5 13004 echo "$as_me:13004: checking for ut_exit field in utmp.h" >&5
13185echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 13005echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6
13186 if eval "test \"\${$ossh_varname+set}\" = set"; then 13006 if eval "test \"\${$ossh_varname+set}\" = set"; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6 13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13188else 13008else
13189 13009
13190 cat >conftest.$ac_ext <<_ACEOF 13010 cat >conftest.$ac_ext <<_ACEOF
13191#line 13191 "configure" 13011#line 13011 "configure"
13192#include "confdefs.h" 13012#include "confdefs.h"
13193#include <utmp.h> 13013#include <utmp.h>
13194 13014
@@ -13205,7 +13025,7 @@ fi
13205 13025
13206 ossh_result=`eval 'echo $'"$ossh_varname"` 13026 ossh_result=`eval 'echo $'"$ossh_varname"`
13207 if test -n "`echo $ossh_varname`"; then 13027 if test -n "`echo $ossh_varname`"; then
13208 echo "$as_me:13208: result: $ossh_result" >&5 13028 echo "$as_me:13028: result: $ossh_result" >&5
13209echo "${ECHO_T}$ossh_result" >&6 13029echo "${ECHO_T}$ossh_result" >&6
13210 if test "x$ossh_result" = "xyes"; then 13030 if test "x$ossh_result" = "xyes"; then
13211 cat >>confdefs.h <<\EOF 13031 cat >>confdefs.h <<\EOF
@@ -13214,21 +13034,21 @@ EOF
13214 13034
13215 fi 13035 fi
13216 else 13036 else
13217 echo "$as_me:13217: result: no" >&5 13037 echo "$as_me:13037: result: no" >&5
13218echo "${ECHO_T}no" >&6 13038echo "${ECHO_T}no" >&6
13219 fi 13039 fi
13220 13040
13221# look for field 'ut_time' in header 'utmp.h' 13041# look for field 'ut_time' in header 'utmp.h'
13222 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 13042 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13223 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 13043 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
13224 echo "$as_me:13224: checking for ut_time field in utmp.h" >&5 13044 echo "$as_me:13044: checking for ut_time field in utmp.h" >&5
13225echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 13045echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6
13226 if eval "test \"\${$ossh_varname+set}\" = set"; then 13046 if eval "test \"\${$ossh_varname+set}\" = set"; then
13227 echo $ECHO_N "(cached) $ECHO_C" >&6 13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13228else 13048else
13229 13049
13230 cat >conftest.$ac_ext <<_ACEOF 13050 cat >conftest.$ac_ext <<_ACEOF
13231#line 13231 "configure" 13051#line 13051 "configure"
13232#include "confdefs.h" 13052#include "confdefs.h"
13233#include <utmp.h> 13053#include <utmp.h>
13234 13054
@@ -13245,7 +13065,7 @@ fi
13245 13065
13246 ossh_result=`eval 'echo $'"$ossh_varname"` 13066 ossh_result=`eval 'echo $'"$ossh_varname"`
13247 if test -n "`echo $ossh_varname`"; then 13067 if test -n "`echo $ossh_varname`"; then
13248 echo "$as_me:13248: result: $ossh_result" >&5 13068 echo "$as_me:13068: result: $ossh_result" >&5
13249echo "${ECHO_T}$ossh_result" >&6 13069echo "${ECHO_T}$ossh_result" >&6
13250 if test "x$ossh_result" = "xyes"; then 13070 if test "x$ossh_result" = "xyes"; then
13251 cat >>confdefs.h <<\EOF 13071 cat >>confdefs.h <<\EOF
@@ -13254,21 +13074,21 @@ EOF
13254 13074
13255 fi 13075 fi
13256 else 13076 else
13257 echo "$as_me:13257: result: no" >&5 13077 echo "$as_me:13077: result: no" >&5
13258echo "${ECHO_T}no" >&6 13078echo "${ECHO_T}no" >&6
13259 fi 13079 fi
13260 13080
13261# look for field 'ut_time' in header 'utmpx.h' 13081# look for field 'ut_time' in header 'utmpx.h'
13262 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 13082 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13263 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 13083 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
13264 echo "$as_me:13264: checking for ut_time field in utmpx.h" >&5 13084 echo "$as_me:13084: checking for ut_time field in utmpx.h" >&5
13265echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 13085echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6
13266 if eval "test \"\${$ossh_varname+set}\" = set"; then 13086 if eval "test \"\${$ossh_varname+set}\" = set"; then
13267 echo $ECHO_N "(cached) $ECHO_C" >&6 13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13268else 13088else
13269 13089
13270 cat >conftest.$ac_ext <<_ACEOF 13090 cat >conftest.$ac_ext <<_ACEOF
13271#line 13271 "configure" 13091#line 13091 "configure"
13272#include "confdefs.h" 13092#include "confdefs.h"
13273#include <utmpx.h> 13093#include <utmpx.h>
13274 13094
@@ -13285,7 +13105,7 @@ fi
13285 13105
13286 ossh_result=`eval 'echo $'"$ossh_varname"` 13106 ossh_result=`eval 'echo $'"$ossh_varname"`
13287 if test -n "`echo $ossh_varname`"; then 13107 if test -n "`echo $ossh_varname`"; then
13288 echo "$as_me:13288: result: $ossh_result" >&5 13108 echo "$as_me:13108: result: $ossh_result" >&5
13289echo "${ECHO_T}$ossh_result" >&6 13109echo "${ECHO_T}$ossh_result" >&6
13290 if test "x$ossh_result" = "xyes"; then 13110 if test "x$ossh_result" = "xyes"; then
13291 cat >>confdefs.h <<\EOF 13111 cat >>confdefs.h <<\EOF
@@ -13294,21 +13114,21 @@ EOF
13294 13114
13295 fi 13115 fi
13296 else 13116 else
13297 echo "$as_me:13297: result: no" >&5 13117 echo "$as_me:13117: result: no" >&5
13298echo "${ECHO_T}no" >&6 13118echo "${ECHO_T}no" >&6
13299 fi 13119 fi
13300 13120
13301# look for field 'ut_tv' in header 'utmpx.h' 13121# look for field 'ut_tv' in header 'utmpx.h'
13302 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 13122 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13303 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 13123 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
13304 echo "$as_me:13304: checking for ut_tv field in utmpx.h" >&5 13124 echo "$as_me:13124: checking for ut_tv field in utmpx.h" >&5
13305echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 13125echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6
13306 if eval "test \"\${$ossh_varname+set}\" = set"; then 13126 if eval "test \"\${$ossh_varname+set}\" = set"; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6 13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13308else 13128else
13309 13129
13310 cat >conftest.$ac_ext <<_ACEOF 13130 cat >conftest.$ac_ext <<_ACEOF
13311#line 13311 "configure" 13131#line 13131 "configure"
13312#include "confdefs.h" 13132#include "confdefs.h"
13313#include <utmpx.h> 13133#include <utmpx.h>
13314 13134
@@ -13325,7 +13145,7 @@ fi
13325 13145
13326 ossh_result=`eval 'echo $'"$ossh_varname"` 13146 ossh_result=`eval 'echo $'"$ossh_varname"`
13327 if test -n "`echo $ossh_varname`"; then 13147 if test -n "`echo $ossh_varname`"; then
13328 echo "$as_me:13328: result: $ossh_result" >&5 13148 echo "$as_me:13148: result: $ossh_result" >&5
13329echo "${ECHO_T}$ossh_result" >&6 13149echo "${ECHO_T}$ossh_result" >&6
13330 if test "x$ossh_result" = "xyes"; then 13150 if test "x$ossh_result" = "xyes"; then
13331 cat >>confdefs.h <<\EOF 13151 cat >>confdefs.h <<\EOF
@@ -13334,17 +13154,17 @@ EOF
13334 13154
13335 fi 13155 fi
13336 else 13156 else
13337 echo "$as_me:13337: result: no" >&5 13157 echo "$as_me:13157: result: no" >&5
13338echo "${ECHO_T}no" >&6 13158echo "${ECHO_T}no" >&6
13339 fi 13159 fi
13340 13160
13341echo "$as_me:13341: checking for struct stat.st_blksize" >&5 13161echo "$as_me:13161: checking for struct stat.st_blksize" >&5
13342echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 13162echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
13343if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then 13163if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6 13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13345else 13165else
13346 cat >conftest.$ac_ext <<_ACEOF 13166 cat >conftest.$ac_ext <<_ACEOF
13347#line 13347 "configure" 13167#line 13167 "configure"
13348#include "confdefs.h" 13168#include "confdefs.h"
13349$ac_includes_default 13169$ac_includes_default
13350int 13170int
@@ -13358,16 +13178,16 @@ return 0;
13358} 13178}
13359_ACEOF 13179_ACEOF
13360rm -f conftest.$ac_objext 13180rm -f conftest.$ac_objext
13361if { (eval echo "$as_me:13361: \"$ac_compile\"") >&5 13181if { (eval echo "$as_me:13181: \"$ac_compile\"") >&5
13362 (eval $ac_compile) 2>&5 13182 (eval $ac_compile) 2>&5
13363 ac_status=$? 13183 ac_status=$?
13364 echo "$as_me:13364: \$? = $ac_status" >&5 13184 echo "$as_me:13184: \$? = $ac_status" >&5
13365 (exit $ac_status); } && 13185 (exit $ac_status); } &&
13366 { ac_try='test -s conftest.$ac_objext' 13186 { ac_try='test -s conftest.$ac_objext'
13367 { (eval echo "$as_me:13367: \"$ac_try\"") >&5 13187 { (eval echo "$as_me:13187: \"$ac_try\"") >&5
13368 (eval $ac_try) 2>&5 13188 (eval $ac_try) 2>&5
13369 ac_status=$? 13189 ac_status=$?
13370 echo "$as_me:13370: \$? = $ac_status" >&5 13190 echo "$as_me:13190: \$? = $ac_status" >&5
13371 (exit $ac_status); }; }; then 13191 (exit $ac_status); }; }; then
13372 ac_cv_member_struct_stat_st_blksize=yes 13192 ac_cv_member_struct_stat_st_blksize=yes
13373else 13193else
@@ -13377,7 +13197,7 @@ ac_cv_member_struct_stat_st_blksize=no
13377fi 13197fi
13378rm -f conftest.$ac_objext conftest.$ac_ext 13198rm -f conftest.$ac_objext conftest.$ac_ext
13379fi 13199fi
13380echo "$as_me:13380: result: $ac_cv_member_struct_stat_st_blksize" >&5 13200echo "$as_me:13200: result: $ac_cv_member_struct_stat_st_blksize" >&5
13381echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 13201echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
13382if test $ac_cv_member_struct_stat_st_blksize = yes; then 13202if test $ac_cv_member_struct_stat_st_blksize = yes; then
13383 13203
@@ -13387,14 +13207,14 @@ EOF
13387 13207
13388fi 13208fi
13389 13209
13390echo "$as_me:13390: checking for ss_family field in struct sockaddr_storage" >&5 13210echo "$as_me:13210: checking for ss_family field in struct sockaddr_storage" >&5
13391echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 13211echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
13392if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then 13212if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6 13213 echo $ECHO_N "(cached) $ECHO_C" >&6
13394else 13214else
13395 13215
13396 cat >conftest.$ac_ext <<_ACEOF 13216 cat >conftest.$ac_ext <<_ACEOF
13397#line 13397 "configure" 13217#line 13217 "configure"
13398#include "confdefs.h" 13218#include "confdefs.h"
13399 13219
13400#include <sys/types.h> 13220#include <sys/types.h>
@@ -13409,16 +13229,16 @@ main ()
13409} 13229}
13410_ACEOF 13230_ACEOF
13411rm -f conftest.$ac_objext 13231rm -f conftest.$ac_objext
13412if { (eval echo "$as_me:13412: \"$ac_compile\"") >&5 13232if { (eval echo "$as_me:13232: \"$ac_compile\"") >&5
13413 (eval $ac_compile) 2>&5 13233 (eval $ac_compile) 2>&5
13414 ac_status=$? 13234 ac_status=$?
13415 echo "$as_me:13415: \$? = $ac_status" >&5 13235 echo "$as_me:13235: \$? = $ac_status" >&5
13416 (exit $ac_status); } && 13236 (exit $ac_status); } &&
13417 { ac_try='test -s conftest.$ac_objext' 13237 { ac_try='test -s conftest.$ac_objext'
13418 { (eval echo "$as_me:13418: \"$ac_try\"") >&5 13238 { (eval echo "$as_me:13238: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5 13239 (eval $ac_try) 2>&5
13420 ac_status=$? 13240 ac_status=$?
13421 echo "$as_me:13421: \$? = $ac_status" >&5 13241 echo "$as_me:13241: \$? = $ac_status" >&5
13422 (exit $ac_status); }; }; then 13242 (exit $ac_status); }; }; then
13423 ac_cv_have_ss_family_in_struct_ss="yes" 13243 ac_cv_have_ss_family_in_struct_ss="yes"
13424else 13244else
@@ -13429,7 +13249,7 @@ fi
13429rm -f conftest.$ac_objext conftest.$ac_ext 13249rm -f conftest.$ac_objext conftest.$ac_ext
13430 13250
13431fi 13251fi
13432echo "$as_me:13432: result: $ac_cv_have_ss_family_in_struct_ss" >&5 13252echo "$as_me:13252: result: $ac_cv_have_ss_family_in_struct_ss" >&5
13433echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 13253echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
13434if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then 13254if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
13435 cat >>confdefs.h <<\EOF 13255 cat >>confdefs.h <<\EOF
@@ -13438,14 +13258,14 @@ EOF
13438 13258
13439fi 13259fi
13440 13260
13441echo "$as_me:13441: checking for __ss_family field in struct sockaddr_storage" >&5 13261echo "$as_me:13261: checking for __ss_family field in struct sockaddr_storage" >&5
13442echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6 13262echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
13443if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then 13263if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6 13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13445else 13265else
13446 13266
13447 cat >conftest.$ac_ext <<_ACEOF 13267 cat >conftest.$ac_ext <<_ACEOF
13448#line 13448 "configure" 13268#line 13268 "configure"
13449#include "confdefs.h" 13269#include "confdefs.h"
13450 13270
13451#include <sys/types.h> 13271#include <sys/types.h>
@@ -13460,16 +13280,16 @@ main ()
13460} 13280}
13461_ACEOF 13281_ACEOF
13462rm -f conftest.$ac_objext 13282rm -f conftest.$ac_objext
13463if { (eval echo "$as_me:13463: \"$ac_compile\"") >&5 13283if { (eval echo "$as_me:13283: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>&5 13284 (eval $ac_compile) 2>&5
13465 ac_status=$? 13285 ac_status=$?
13466 echo "$as_me:13466: \$? = $ac_status" >&5 13286 echo "$as_me:13286: \$? = $ac_status" >&5
13467 (exit $ac_status); } && 13287 (exit $ac_status); } &&
13468 { ac_try='test -s conftest.$ac_objext' 13288 { ac_try='test -s conftest.$ac_objext'
13469 { (eval echo "$as_me:13469: \"$ac_try\"") >&5 13289 { (eval echo "$as_me:13289: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5 13290 (eval $ac_try) 2>&5
13471 ac_status=$? 13291 ac_status=$?
13472 echo "$as_me:13472: \$? = $ac_status" >&5 13292 echo "$as_me:13292: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then 13293 (exit $ac_status); }; }; then
13474 ac_cv_have___ss_family_in_struct_ss="yes" 13294 ac_cv_have___ss_family_in_struct_ss="yes"
13475else 13295else
@@ -13481,7 +13301,7 @@ fi
13481rm -f conftest.$ac_objext conftest.$ac_ext 13301rm -f conftest.$ac_objext conftest.$ac_ext
13482 13302
13483fi 13303fi
13484echo "$as_me:13484: result: $ac_cv_have___ss_family_in_struct_ss" >&5 13304echo "$as_me:13304: result: $ac_cv_have___ss_family_in_struct_ss" >&5
13485echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 13305echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
13486if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 13306if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
13487 cat >>confdefs.h <<\EOF 13307 cat >>confdefs.h <<\EOF
@@ -13490,14 +13310,14 @@ EOF
13490 13310
13491fi 13311fi
13492 13312
13493echo "$as_me:13493: checking for pw_class field in struct passwd" >&5 13313echo "$as_me:13313: checking for pw_class field in struct passwd" >&5
13494echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 13314echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6
13495if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then 13315if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
13496 echo $ECHO_N "(cached) $ECHO_C" >&6 13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13497else 13317else
13498 13318
13499 cat >conftest.$ac_ext <<_ACEOF 13319 cat >conftest.$ac_ext <<_ACEOF
13500#line 13500 "configure" 13320#line 13320 "configure"
13501#include "confdefs.h" 13321#include "confdefs.h"
13502 13322
13503#include <pwd.h> 13323#include <pwd.h>
@@ -13511,16 +13331,16 @@ main ()
13511} 13331}
13512_ACEOF 13332_ACEOF
13513rm -f conftest.$ac_objext 13333rm -f conftest.$ac_objext
13514if { (eval echo "$as_me:13514: \"$ac_compile\"") >&5 13334if { (eval echo "$as_me:13334: \"$ac_compile\"") >&5
13515 (eval $ac_compile) 2>&5 13335 (eval $ac_compile) 2>&5
13516 ac_status=$? 13336 ac_status=$?
13517 echo "$as_me:13517: \$? = $ac_status" >&5 13337 echo "$as_me:13337: \$? = $ac_status" >&5
13518 (exit $ac_status); } && 13338 (exit $ac_status); } &&
13519 { ac_try='test -s conftest.$ac_objext' 13339 { ac_try='test -s conftest.$ac_objext'
13520 { (eval echo "$as_me:13520: \"$ac_try\"") >&5 13340 { (eval echo "$as_me:13340: \"$ac_try\"") >&5
13521 (eval $ac_try) 2>&5 13341 (eval $ac_try) 2>&5
13522 ac_status=$? 13342 ac_status=$?
13523 echo "$as_me:13523: \$? = $ac_status" >&5 13343 echo "$as_me:13343: \$? = $ac_status" >&5
13524 (exit $ac_status); }; }; then 13344 (exit $ac_status); }; }; then
13525 ac_cv_have_pw_class_in_struct_passwd="yes" 13345 ac_cv_have_pw_class_in_struct_passwd="yes"
13526else 13346else
@@ -13532,7 +13352,7 @@ fi
13532rm -f conftest.$ac_objext conftest.$ac_ext 13352rm -f conftest.$ac_objext conftest.$ac_ext
13533 13353
13534fi 13354fi
13535echo "$as_me:13535: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 13355echo "$as_me:13355: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
13536echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 13356echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
13537if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then 13357if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
13538 cat >>confdefs.h <<\EOF 13358 cat >>confdefs.h <<\EOF
@@ -13541,14 +13361,14 @@ EOF
13541 13361
13542fi 13362fi
13543 13363
13544echo "$as_me:13544: checking for pw_expire field in struct passwd" >&5 13364echo "$as_me:13364: checking for pw_expire field in struct passwd" >&5
13545echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 13365echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6
13546if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then 13366if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6 13367 echo $ECHO_N "(cached) $ECHO_C" >&6
13548else 13368else
13549 13369
13550 cat >conftest.$ac_ext <<_ACEOF 13370 cat >conftest.$ac_ext <<_ACEOF
13551#line 13551 "configure" 13371#line 13371 "configure"
13552#include "confdefs.h" 13372#include "confdefs.h"
13553 13373
13554#include <pwd.h> 13374#include <pwd.h>
@@ -13562,16 +13382,16 @@ main ()
13562} 13382}
13563_ACEOF 13383_ACEOF
13564rm -f conftest.$ac_objext 13384rm -f conftest.$ac_objext
13565if { (eval echo "$as_me:13565: \"$ac_compile\"") >&5 13385if { (eval echo "$as_me:13385: \"$ac_compile\"") >&5
13566 (eval $ac_compile) 2>&5 13386 (eval $ac_compile) 2>&5
13567 ac_status=$? 13387 ac_status=$?
13568 echo "$as_me:13568: \$? = $ac_status" >&5 13388 echo "$as_me:13388: \$? = $ac_status" >&5
13569 (exit $ac_status); } && 13389 (exit $ac_status); } &&
13570 { ac_try='test -s conftest.$ac_objext' 13390 { ac_try='test -s conftest.$ac_objext'
13571 { (eval echo "$as_me:13571: \"$ac_try\"") >&5 13391 { (eval echo "$as_me:13391: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5 13392 (eval $ac_try) 2>&5
13573 ac_status=$? 13393 ac_status=$?
13574 echo "$as_me:13574: \$? = $ac_status" >&5 13394 echo "$as_me:13394: \$? = $ac_status" >&5
13575 (exit $ac_status); }; }; then 13395 (exit $ac_status); }; }; then
13576 ac_cv_have_pw_expire_in_struct_passwd="yes" 13396 ac_cv_have_pw_expire_in_struct_passwd="yes"
13577else 13397else
@@ -13583,7 +13403,7 @@ fi
13583rm -f conftest.$ac_objext conftest.$ac_ext 13403rm -f conftest.$ac_objext conftest.$ac_ext
13584 13404
13585fi 13405fi
13586echo "$as_me:13586: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 13406echo "$as_me:13406: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
13587echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 13407echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
13588if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then 13408if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
13589 cat >>confdefs.h <<\EOF 13409 cat >>confdefs.h <<\EOF
@@ -13592,14 +13412,14 @@ EOF
13592 13412
13593fi 13413fi
13594 13414
13595echo "$as_me:13595: checking for pw_change field in struct passwd" >&5 13415echo "$as_me:13415: checking for pw_change field in struct passwd" >&5
13596echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 13416echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6
13597if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then 13417if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6 13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13599else 13419else
13600 13420
13601 cat >conftest.$ac_ext <<_ACEOF 13421 cat >conftest.$ac_ext <<_ACEOF
13602#line 13602 "configure" 13422#line 13422 "configure"
13603#include "confdefs.h" 13423#include "confdefs.h"
13604 13424
13605#include <pwd.h> 13425#include <pwd.h>
@@ -13613,16 +13433,16 @@ main ()
13613} 13433}
13614_ACEOF 13434_ACEOF
13615rm -f conftest.$ac_objext 13435rm -f conftest.$ac_objext
13616if { (eval echo "$as_me:13616: \"$ac_compile\"") >&5 13436if { (eval echo "$as_me:13436: \"$ac_compile\"") >&5
13617 (eval $ac_compile) 2>&5 13437 (eval $ac_compile) 2>&5
13618 ac_status=$? 13438 ac_status=$?
13619 echo "$as_me:13619: \$? = $ac_status" >&5 13439 echo "$as_me:13439: \$? = $ac_status" >&5
13620 (exit $ac_status); } && 13440 (exit $ac_status); } &&
13621 { ac_try='test -s conftest.$ac_objext' 13441 { ac_try='test -s conftest.$ac_objext'
13622 { (eval echo "$as_me:13622: \"$ac_try\"") >&5 13442 { (eval echo "$as_me:13442: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5 13443 (eval $ac_try) 2>&5
13624 ac_status=$? 13444 ac_status=$?
13625 echo "$as_me:13625: \$? = $ac_status" >&5 13445 echo "$as_me:13445: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then 13446 (exit $ac_status); }; }; then
13627 ac_cv_have_pw_change_in_struct_passwd="yes" 13447 ac_cv_have_pw_change_in_struct_passwd="yes"
13628else 13448else
@@ -13634,7 +13454,7 @@ fi
13634rm -f conftest.$ac_objext conftest.$ac_ext 13454rm -f conftest.$ac_objext conftest.$ac_ext
13635 13455
13636fi 13456fi
13637echo "$as_me:13637: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 13457echo "$as_me:13457: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
13638echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 13458echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
13639if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then 13459if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
13640 cat >>confdefs.h <<\EOF 13460 cat >>confdefs.h <<\EOF
@@ -13643,19 +13463,19 @@ EOF
13643 13463
13644fi 13464fi
13645 13465
13646echo "$as_me:13646: checking for msg_accrights field in struct msghdr" >&5 13466echo "$as_me:13466: checking for msg_accrights field in struct msghdr" >&5
13647echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 13467echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6
13648if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then 13468if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
13649 echo $ECHO_N "(cached) $ECHO_C" >&6 13469 echo $ECHO_N "(cached) $ECHO_C" >&6
13650else 13470else
13651 13471
13652 if test "$cross_compiling" = yes; then 13472 if test "$cross_compiling" = yes; then
13653 { { echo "$as_me:13653: error: cannot run test program while cross compiling" >&5 13473 { { echo "$as_me:13473: error: cannot run test program while cross compiling" >&5
13654echo "$as_me: error: cannot run test program while cross compiling" >&2;} 13474echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13655 { (exit 1); exit 1; }; } 13475 { (exit 1); exit 1; }; }
13656else 13476else
13657 cat >conftest.$ac_ext <<_ACEOF 13477 cat >conftest.$ac_ext <<_ACEOF
13658#line 13658 "configure" 13478#line 13478 "configure"
13659#include "confdefs.h" 13479#include "confdefs.h"
13660 13480
13661#include <sys/types.h> 13481#include <sys/types.h>
@@ -13672,15 +13492,15 @@ exit(0);
13672 13492
13673_ACEOF 13493_ACEOF
13674rm -f conftest$ac_exeext 13494rm -f conftest$ac_exeext
13675if { (eval echo "$as_me:13675: \"$ac_link\"") >&5 13495if { (eval echo "$as_me:13495: \"$ac_link\"") >&5
13676 (eval $ac_link) 2>&5 13496 (eval $ac_link) 2>&5
13677 ac_status=$? 13497 ac_status=$?
13678 echo "$as_me:13678: \$? = $ac_status" >&5 13498 echo "$as_me:13498: \$? = $ac_status" >&5
13679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13680 { (eval echo "$as_me:13680: \"$ac_try\"") >&5 13500 { (eval echo "$as_me:13500: \"$ac_try\"") >&5
13681 (eval $ac_try) 2>&5 13501 (eval $ac_try) 2>&5
13682 ac_status=$? 13502 ac_status=$?
13683 echo "$as_me:13683: \$? = $ac_status" >&5 13503 echo "$as_me:13503: \$? = $ac_status" >&5
13684 (exit $ac_status); }; }; then 13504 (exit $ac_status); }; }; then
13685 ac_cv_have_accrights_in_msghdr="yes" 13505 ac_cv_have_accrights_in_msghdr="yes"
13686else 13506else
@@ -13694,7 +13514,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13694fi 13514fi
13695 13515
13696fi 13516fi
13697echo "$as_me:13697: result: $ac_cv_have_accrights_in_msghdr" >&5 13517echo "$as_me:13517: result: $ac_cv_have_accrights_in_msghdr" >&5
13698echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 13518echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
13699if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then 13519if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
13700 cat >>confdefs.h <<\EOF 13520 cat >>confdefs.h <<\EOF
@@ -13703,19 +13523,19 @@ EOF
13703 13523
13704fi 13524fi
13705 13525
13706echo "$as_me:13706: checking for msg_control field in struct msghdr" >&5 13526echo "$as_me:13526: checking for msg_control field in struct msghdr" >&5
13707echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 13527echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6
13708if test "${ac_cv_have_control_in_msghdr+set}" = set; then 13528if test "${ac_cv_have_control_in_msghdr+set}" = set; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6 13529 echo $ECHO_N "(cached) $ECHO_C" >&6
13710else 13530else
13711 13531
13712 if test "$cross_compiling" = yes; then 13532 if test "$cross_compiling" = yes; then
13713 { { echo "$as_me:13713: error: cannot run test program while cross compiling" >&5 13533 { { echo "$as_me:13533: error: cannot run test program while cross compiling" >&5
13714echo "$as_me: error: cannot run test program while cross compiling" >&2;} 13534echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13715 { (exit 1); exit 1; }; } 13535 { (exit 1); exit 1; }; }
13716else 13536else
13717 cat >conftest.$ac_ext <<_ACEOF 13537 cat >conftest.$ac_ext <<_ACEOF
13718#line 13718 "configure" 13538#line 13538 "configure"
13719#include "confdefs.h" 13539#include "confdefs.h"
13720 13540
13721#include <sys/types.h> 13541#include <sys/types.h>
@@ -13732,15 +13552,15 @@ exit(0);
13732 13552
13733_ACEOF 13553_ACEOF
13734rm -f conftest$ac_exeext 13554rm -f conftest$ac_exeext
13735if { (eval echo "$as_me:13735: \"$ac_link\"") >&5 13555if { (eval echo "$as_me:13555: \"$ac_link\"") >&5
13736 (eval $ac_link) 2>&5 13556 (eval $ac_link) 2>&5
13737 ac_status=$? 13557 ac_status=$?
13738 echo "$as_me:13738: \$? = $ac_status" >&5 13558 echo "$as_me:13558: \$? = $ac_status" >&5
13739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13740 { (eval echo "$as_me:13740: \"$ac_try\"") >&5 13560 { (eval echo "$as_me:13560: \"$ac_try\"") >&5
13741 (eval $ac_try) 2>&5 13561 (eval $ac_try) 2>&5
13742 ac_status=$? 13562 ac_status=$?
13743 echo "$as_me:13743: \$? = $ac_status" >&5 13563 echo "$as_me:13563: \$? = $ac_status" >&5
13744 (exit $ac_status); }; }; then 13564 (exit $ac_status); }; }; then
13745 ac_cv_have_control_in_msghdr="yes" 13565 ac_cv_have_control_in_msghdr="yes"
13746else 13566else
@@ -13754,7 +13574,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13754fi 13574fi
13755 13575
13756fi 13576fi
13757echo "$as_me:13757: result: $ac_cv_have_control_in_msghdr" >&5 13577echo "$as_me:13577: result: $ac_cv_have_control_in_msghdr" >&5
13758echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 13578echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
13759if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then 13579if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
13760 cat >>confdefs.h <<\EOF 13580 cat >>confdefs.h <<\EOF
@@ -13763,14 +13583,14 @@ EOF
13763 13583
13764fi 13584fi
13765 13585
13766echo "$as_me:13766: checking if libc defines __progname" >&5 13586echo "$as_me:13586: checking if libc defines __progname" >&5
13767echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 13587echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6
13768if test "${ac_cv_libc_defines___progname+set}" = set; then 13588if test "${ac_cv_libc_defines___progname+set}" = set; then
13769 echo $ECHO_N "(cached) $ECHO_C" >&6 13589 echo $ECHO_N "(cached) $ECHO_C" >&6
13770else 13590else
13771 13591
13772 cat >conftest.$ac_ext <<_ACEOF 13592 cat >conftest.$ac_ext <<_ACEOF
13773#line 13773 "configure" 13593#line 13593 "configure"
13774#include "confdefs.h" 13594#include "confdefs.h"
13775 13595
13776int 13596int
@@ -13782,16 +13602,16 @@ main ()
13782} 13602}
13783_ACEOF 13603_ACEOF
13784rm -f conftest.$ac_objext conftest$ac_exeext 13604rm -f conftest.$ac_objext conftest$ac_exeext
13785if { (eval echo "$as_me:13785: \"$ac_link\"") >&5 13605if { (eval echo "$as_me:13605: \"$ac_link\"") >&5
13786 (eval $ac_link) 2>&5 13606 (eval $ac_link) 2>&5
13787 ac_status=$? 13607 ac_status=$?
13788 echo "$as_me:13788: \$? = $ac_status" >&5 13608 echo "$as_me:13608: \$? = $ac_status" >&5
13789 (exit $ac_status); } && 13609 (exit $ac_status); } &&
13790 { ac_try='test -s conftest$ac_exeext' 13610 { ac_try='test -s conftest$ac_exeext'
13791 { (eval echo "$as_me:13791: \"$ac_try\"") >&5 13611 { (eval echo "$as_me:13611: \"$ac_try\"") >&5
13792 (eval $ac_try) 2>&5 13612 (eval $ac_try) 2>&5
13793 ac_status=$? 13613 ac_status=$?
13794 echo "$as_me:13794: \$? = $ac_status" >&5 13614 echo "$as_me:13614: \$? = $ac_status" >&5
13795 (exit $ac_status); }; }; then 13615 (exit $ac_status); }; }; then
13796 ac_cv_libc_defines___progname="yes" 13616 ac_cv_libc_defines___progname="yes"
13797else 13617else
@@ -13803,7 +13623,7 @@ fi
13803rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13623rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13804 13624
13805fi 13625fi
13806echo "$as_me:13806: result: $ac_cv_libc_defines___progname" >&5 13626echo "$as_me:13626: result: $ac_cv_libc_defines___progname" >&5
13807echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 13627echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
13808if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 13628if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
13809 cat >>confdefs.h <<\EOF 13629 cat >>confdefs.h <<\EOF
@@ -13812,14 +13632,14 @@ EOF
13812 13632
13813fi 13633fi
13814 13634
13815echo "$as_me:13815: checking whether $CC implements __FUNCTION__" >&5 13635echo "$as_me:13635: checking whether $CC implements __FUNCTION__" >&5
13816echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 13636echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6
13817if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then 13637if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6 13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13819else 13639else
13820 13640
13821 cat >conftest.$ac_ext <<_ACEOF 13641 cat >conftest.$ac_ext <<_ACEOF
13822#line 13822 "configure" 13642#line 13642 "configure"
13823#include "confdefs.h" 13643#include "confdefs.h"
13824 13644
13825#include <stdio.h> 13645#include <stdio.h>
@@ -13833,16 +13653,16 @@ main ()
13833} 13653}
13834_ACEOF 13654_ACEOF
13835rm -f conftest.$ac_objext conftest$ac_exeext 13655rm -f conftest.$ac_objext conftest$ac_exeext
13836if { (eval echo "$as_me:13836: \"$ac_link\"") >&5 13656if { (eval echo "$as_me:13656: \"$ac_link\"") >&5
13837 (eval $ac_link) 2>&5 13657 (eval $ac_link) 2>&5
13838 ac_status=$? 13658 ac_status=$?
13839 echo "$as_me:13839: \$? = $ac_status" >&5 13659 echo "$as_me:13659: \$? = $ac_status" >&5
13840 (exit $ac_status); } && 13660 (exit $ac_status); } &&
13841 { ac_try='test -s conftest$ac_exeext' 13661 { ac_try='test -s conftest$ac_exeext'
13842 { (eval echo "$as_me:13842: \"$ac_try\"") >&5 13662 { (eval echo "$as_me:13662: \"$ac_try\"") >&5
13843 (eval $ac_try) 2>&5 13663 (eval $ac_try) 2>&5
13844 ac_status=$? 13664 ac_status=$?
13845 echo "$as_me:13845: \$? = $ac_status" >&5 13665 echo "$as_me:13665: \$? = $ac_status" >&5
13846 (exit $ac_status); }; }; then 13666 (exit $ac_status); }; }; then
13847 ac_cv_cc_implements___FUNCTION__="yes" 13667 ac_cv_cc_implements___FUNCTION__="yes"
13848else 13668else
@@ -13854,7 +13674,7 @@ fi
13854rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13674rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13855 13675
13856fi 13676fi
13857echo "$as_me:13857: result: $ac_cv_cc_implements___FUNCTION__" >&5 13677echo "$as_me:13677: result: $ac_cv_cc_implements___FUNCTION__" >&5
13858echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 13678echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
13859if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 13679if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
13860 cat >>confdefs.h <<\EOF 13680 cat >>confdefs.h <<\EOF
@@ -13863,14 +13683,14 @@ EOF
13863 13683
13864fi 13684fi
13865 13685
13866echo "$as_me:13866: checking whether $CC implements __func__" >&5 13686echo "$as_me:13686: checking whether $CC implements __func__" >&5
13867echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 13687echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6
13868if test "${ac_cv_cc_implements___func__+set}" = set; then 13688if test "${ac_cv_cc_implements___func__+set}" = set; then
13869 echo $ECHO_N "(cached) $ECHO_C" >&6 13689 echo $ECHO_N "(cached) $ECHO_C" >&6
13870else 13690else
13871 13691
13872 cat >conftest.$ac_ext <<_ACEOF 13692 cat >conftest.$ac_ext <<_ACEOF
13873#line 13873 "configure" 13693#line 13693 "configure"
13874#include "confdefs.h" 13694#include "confdefs.h"
13875 13695
13876#include <stdio.h> 13696#include <stdio.h>
@@ -13884,16 +13704,16 @@ main ()
13884} 13704}
13885_ACEOF 13705_ACEOF
13886rm -f conftest.$ac_objext conftest$ac_exeext 13706rm -f conftest.$ac_objext conftest$ac_exeext
13887if { (eval echo "$as_me:13887: \"$ac_link\"") >&5 13707if { (eval echo "$as_me:13707: \"$ac_link\"") >&5
13888 (eval $ac_link) 2>&5 13708 (eval $ac_link) 2>&5
13889 ac_status=$? 13709 ac_status=$?
13890 echo "$as_me:13890: \$? = $ac_status" >&5 13710 echo "$as_me:13710: \$? = $ac_status" >&5
13891 (exit $ac_status); } && 13711 (exit $ac_status); } &&
13892 { ac_try='test -s conftest$ac_exeext' 13712 { ac_try='test -s conftest$ac_exeext'
13893 { (eval echo "$as_me:13893: \"$ac_try\"") >&5 13713 { (eval echo "$as_me:13713: \"$ac_try\"") >&5
13894 (eval $ac_try) 2>&5 13714 (eval $ac_try) 2>&5
13895 ac_status=$? 13715 ac_status=$?
13896 echo "$as_me:13896: \$? = $ac_status" >&5 13716 echo "$as_me:13716: \$? = $ac_status" >&5
13897 (exit $ac_status); }; }; then 13717 (exit $ac_status); }; }; then
13898 ac_cv_cc_implements___func__="yes" 13718 ac_cv_cc_implements___func__="yes"
13899else 13719else
@@ -13905,7 +13725,7 @@ fi
13905rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13725rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13906 13726
13907fi 13727fi
13908echo "$as_me:13908: result: $ac_cv_cc_implements___func__" >&5 13728echo "$as_me:13728: result: $ac_cv_cc_implements___func__" >&5
13909echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 13729echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
13910if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 13730if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
13911 cat >>confdefs.h <<\EOF 13731 cat >>confdefs.h <<\EOF
@@ -13914,14 +13734,14 @@ EOF
13914 13734
13915fi 13735fi
13916 13736
13917echo "$as_me:13917: checking whether getopt has optreset support" >&5 13737echo "$as_me:13737: checking whether getopt has optreset support" >&5
13918echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 13738echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
13919if test "${ac_cv_have_getopt_optreset+set}" = set; then 13739if test "${ac_cv_have_getopt_optreset+set}" = set; then
13920 echo $ECHO_N "(cached) $ECHO_C" >&6 13740 echo $ECHO_N "(cached) $ECHO_C" >&6
13921else 13741else
13922 13742
13923 cat >conftest.$ac_ext <<_ACEOF 13743 cat >conftest.$ac_ext <<_ACEOF
13924#line 13924 "configure" 13744#line 13744 "configure"
13925#include "confdefs.h" 13745#include "confdefs.h"
13926 13746
13927#include <getopt.h> 13747#include <getopt.h>
@@ -13935,16 +13755,16 @@ main ()
13935} 13755}
13936_ACEOF 13756_ACEOF
13937rm -f conftest.$ac_objext conftest$ac_exeext 13757rm -f conftest.$ac_objext conftest$ac_exeext
13938if { (eval echo "$as_me:13938: \"$ac_link\"") >&5 13758if { (eval echo "$as_me:13758: \"$ac_link\"") >&5
13939 (eval $ac_link) 2>&5 13759 (eval $ac_link) 2>&5
13940 ac_status=$? 13760 ac_status=$?
13941 echo "$as_me:13941: \$? = $ac_status" >&5 13761 echo "$as_me:13761: \$? = $ac_status" >&5
13942 (exit $ac_status); } && 13762 (exit $ac_status); } &&
13943 { ac_try='test -s conftest$ac_exeext' 13763 { ac_try='test -s conftest$ac_exeext'
13944 { (eval echo "$as_me:13944: \"$ac_try\"") >&5 13764 { (eval echo "$as_me:13764: \"$ac_try\"") >&5
13945 (eval $ac_try) 2>&5 13765 (eval $ac_try) 2>&5
13946 ac_status=$? 13766 ac_status=$?
13947 echo "$as_me:13947: \$? = $ac_status" >&5 13767 echo "$as_me:13767: \$? = $ac_status" >&5
13948 (exit $ac_status); }; }; then 13768 (exit $ac_status); }; }; then
13949 ac_cv_have_getopt_optreset="yes" 13769 ac_cv_have_getopt_optreset="yes"
13950else 13770else
@@ -13956,7 +13776,7 @@ fi
13956rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13776rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13957 13777
13958fi 13778fi
13959echo "$as_me:13959: result: $ac_cv_have_getopt_optreset" >&5 13779echo "$as_me:13779: result: $ac_cv_have_getopt_optreset" >&5
13960echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 13780echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
13961if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 13781if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
13962 cat >>confdefs.h <<\EOF 13782 cat >>confdefs.h <<\EOF
@@ -13965,14 +13785,14 @@ EOF
13965 13785
13966fi 13786fi
13967 13787
13968echo "$as_me:13968: checking if libc defines sys_errlist" >&5 13788echo "$as_me:13788: checking if libc defines sys_errlist" >&5
13969echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 13789echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6
13970if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then 13790if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6 13791 echo $ECHO_N "(cached) $ECHO_C" >&6
13972else 13792else
13973 13793
13974 cat >conftest.$ac_ext <<_ACEOF 13794 cat >conftest.$ac_ext <<_ACEOF
13975#line 13975 "configure" 13795#line 13795 "configure"
13976#include "confdefs.h" 13796#include "confdefs.h"
13977 13797
13978int 13798int
@@ -13984,16 +13804,16 @@ main ()
13984} 13804}
13985_ACEOF 13805_ACEOF
13986rm -f conftest.$ac_objext conftest$ac_exeext 13806rm -f conftest.$ac_objext conftest$ac_exeext
13987if { (eval echo "$as_me:13987: \"$ac_link\"") >&5 13807if { (eval echo "$as_me:13807: \"$ac_link\"") >&5
13988 (eval $ac_link) 2>&5 13808 (eval $ac_link) 2>&5
13989 ac_status=$? 13809 ac_status=$?
13990 echo "$as_me:13990: \$? = $ac_status" >&5 13810 echo "$as_me:13810: \$? = $ac_status" >&5
13991 (exit $ac_status); } && 13811 (exit $ac_status); } &&
13992 { ac_try='test -s conftest$ac_exeext' 13812 { ac_try='test -s conftest$ac_exeext'
13993 { (eval echo "$as_me:13993: \"$ac_try\"") >&5 13813 { (eval echo "$as_me:13813: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5 13814 (eval $ac_try) 2>&5
13995 ac_status=$? 13815 ac_status=$?
13996 echo "$as_me:13996: \$? = $ac_status" >&5 13816 echo "$as_me:13816: \$? = $ac_status" >&5
13997 (exit $ac_status); }; }; then 13817 (exit $ac_status); }; }; then
13998 ac_cv_libc_defines_sys_errlist="yes" 13818 ac_cv_libc_defines_sys_errlist="yes"
13999else 13819else
@@ -14005,7 +13825,7 @@ fi
14005rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13825rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14006 13826
14007fi 13827fi
14008echo "$as_me:14008: result: $ac_cv_libc_defines_sys_errlist" >&5 13828echo "$as_me:13828: result: $ac_cv_libc_defines_sys_errlist" >&5
14009echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 13829echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
14010if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 13830if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
14011 cat >>confdefs.h <<\EOF 13831 cat >>confdefs.h <<\EOF
@@ -14014,14 +13834,14 @@ EOF
14014 13834
14015fi 13835fi
14016 13836
14017echo "$as_me:14017: checking if libc defines sys_nerr" >&5 13837echo "$as_me:13837: checking if libc defines sys_nerr" >&5
14018echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 13838echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6
14019if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then 13839if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
14020 echo $ECHO_N "(cached) $ECHO_C" >&6 13840 echo $ECHO_N "(cached) $ECHO_C" >&6
14021else 13841else
14022 13842
14023 cat >conftest.$ac_ext <<_ACEOF 13843 cat >conftest.$ac_ext <<_ACEOF
14024#line 14024 "configure" 13844#line 13844 "configure"
14025#include "confdefs.h" 13845#include "confdefs.h"
14026 13846
14027int 13847int
@@ -14033,16 +13853,16 @@ main ()
14033} 13853}
14034_ACEOF 13854_ACEOF
14035rm -f conftest.$ac_objext conftest$ac_exeext 13855rm -f conftest.$ac_objext conftest$ac_exeext
14036if { (eval echo "$as_me:14036: \"$ac_link\"") >&5 13856if { (eval echo "$as_me:13856: \"$ac_link\"") >&5
14037 (eval $ac_link) 2>&5 13857 (eval $ac_link) 2>&5
14038 ac_status=$? 13858 ac_status=$?
14039 echo "$as_me:14039: \$? = $ac_status" >&5 13859 echo "$as_me:13859: \$? = $ac_status" >&5
14040 (exit $ac_status); } && 13860 (exit $ac_status); } &&
14041 { ac_try='test -s conftest$ac_exeext' 13861 { ac_try='test -s conftest$ac_exeext'
14042 { (eval echo "$as_me:14042: \"$ac_try\"") >&5 13862 { (eval echo "$as_me:13862: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5 13863 (eval $ac_try) 2>&5
14044 ac_status=$? 13864 ac_status=$?
14045 echo "$as_me:14045: \$? = $ac_status" >&5 13865 echo "$as_me:13865: \$? = $ac_status" >&5
14046 (exit $ac_status); }; }; then 13866 (exit $ac_status); }; }; then
14047 ac_cv_libc_defines_sys_nerr="yes" 13867 ac_cv_libc_defines_sys_nerr="yes"
14048else 13868else
@@ -14054,7 +13874,7 @@ fi
14054rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13874rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14055 13875
14056fi 13876fi
14057echo "$as_me:14057: result: $ac_cv_libc_defines_sys_nerr" >&5 13877echo "$as_me:13877: result: $ac_cv_libc_defines_sys_nerr" >&5
14058echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 13878echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
14059if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 13879if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
14060 cat >>confdefs.h <<\EOF 13880 cat >>confdefs.h <<\EOF
@@ -14085,23 +13905,23 @@ if test "${with_sectok+set}" = set; then
14085for ac_header in sectok.h 13905for ac_header in sectok.h
14086do 13906do
14087as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13907as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14088echo "$as_me:14088: checking for $ac_header" >&5 13908echo "$as_me:13908: checking for $ac_header" >&5
14089echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 13909echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14090if eval "test \"\${$as_ac_Header+set}\" = set"; then 13910if eval "test \"\${$as_ac_Header+set}\" = set"; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6 13911 echo $ECHO_N "(cached) $ECHO_C" >&6
14092else 13912else
14093 cat >conftest.$ac_ext <<_ACEOF 13913 cat >conftest.$ac_ext <<_ACEOF
14094#line 14094 "configure" 13914#line 13914 "configure"
14095#include "confdefs.h" 13915#include "confdefs.h"
14096#include <$ac_header> 13916#include <$ac_header>
14097_ACEOF 13917_ACEOF
14098if { (eval echo "$as_me:14098: \"$ac_cpp conftest.$ac_ext\"") >&5 13918if { (eval echo "$as_me:13918: \"$ac_cpp conftest.$ac_ext\"") >&5
14099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 13919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14100 ac_status=$? 13920 ac_status=$?
14101 egrep -v '^ *\+' conftest.er1 >conftest.err 13921 egrep -v '^ *\+' conftest.er1 >conftest.err
14102 rm -f conftest.er1 13922 rm -f conftest.er1
14103 cat conftest.err >&5 13923 cat conftest.err >&5
14104 echo "$as_me:14104: \$? = $ac_status" >&5 13924 echo "$as_me:13924: \$? = $ac_status" >&5
14105 (exit $ac_status); } >/dev/null; then 13925 (exit $ac_status); } >/dev/null; then
14106 if test -s conftest.err; then 13926 if test -s conftest.err; then
14107 ac_cpp_err=$ac_c_preproc_warn_flag 13927 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -14120,7 +13940,7 @@ else
14120fi 13940fi
14121rm -f conftest.err conftest.$ac_ext 13941rm -f conftest.err conftest.$ac_ext
14122fi 13942fi
14123echo "$as_me:14123: result: `eval echo '${'$as_ac_Header'}'`" >&5 13943echo "$as_me:13943: result: `eval echo '${'$as_ac_Header'}'`" >&5
14124echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 13944echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14125if test `eval echo '${'$as_ac_Header'}'` = yes; then 13945if test `eval echo '${'$as_ac_Header'}'` = yes; then
14126 cat >>confdefs.h <<EOF 13946 cat >>confdefs.h <<EOF
@@ -14131,12 +13951,12 @@ fi
14131done 13951done
14132 13952
14133 if test "$ac_cv_header_sectok_h" != yes; then 13953 if test "$ac_cv_header_sectok_h" != yes; then
14134 { { echo "$as_me:14134: error: Can't find sectok.h" >&5 13954 { { echo "$as_me:13954: error: Can't find sectok.h" >&5
14135echo "$as_me: error: Can't find sectok.h" >&2;} 13955echo "$as_me: error: Can't find sectok.h" >&2;}
14136 { (exit 1); exit 1; }; } 13956 { (exit 1); exit 1; }; }
14137 fi 13957 fi
14138 13958
14139echo "$as_me:14139: checking for sectok_open in -lsectok" >&5 13959echo "$as_me:13959: checking for sectok_open in -lsectok" >&5
14140echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 13960echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6
14141if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then 13961if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6 13962 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14144,7 +13964,7 @@ else
14144 ac_check_lib_save_LIBS=$LIBS 13964 ac_check_lib_save_LIBS=$LIBS
14145LIBS="-lsectok $LIBS" 13965LIBS="-lsectok $LIBS"
14146cat >conftest.$ac_ext <<_ACEOF 13966cat >conftest.$ac_ext <<_ACEOF
14147#line 14147 "configure" 13967#line 13967 "configure"
14148#include "confdefs.h" 13968#include "confdefs.h"
14149 13969
14150/* Override any gcc2 internal prototype to avoid an error. */ 13970/* Override any gcc2 internal prototype to avoid an error. */
@@ -14163,16 +13983,16 @@ sectok_open ();
14163} 13983}
14164_ACEOF 13984_ACEOF
14165rm -f conftest.$ac_objext conftest$ac_exeext 13985rm -f conftest.$ac_objext conftest$ac_exeext
14166if { (eval echo "$as_me:14166: \"$ac_link\"") >&5 13986if { (eval echo "$as_me:13986: \"$ac_link\"") >&5
14167 (eval $ac_link) 2>&5 13987 (eval $ac_link) 2>&5
14168 ac_status=$? 13988 ac_status=$?
14169 echo "$as_me:14169: \$? = $ac_status" >&5 13989 echo "$as_me:13989: \$? = $ac_status" >&5
14170 (exit $ac_status); } && 13990 (exit $ac_status); } &&
14171 { ac_try='test -s conftest$ac_exeext' 13991 { ac_try='test -s conftest$ac_exeext'
14172 { (eval echo "$as_me:14172: \"$ac_try\"") >&5 13992 { (eval echo "$as_me:13992: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5 13993 (eval $ac_try) 2>&5
14174 ac_status=$? 13994 ac_status=$?
14175 echo "$as_me:14175: \$? = $ac_status" >&5 13995 echo "$as_me:13995: \$? = $ac_status" >&5
14176 (exit $ac_status); }; }; then 13996 (exit $ac_status); }; }; then
14177 ac_cv_lib_sectok_sectok_open=yes 13997 ac_cv_lib_sectok_sectok_open=yes
14178else 13998else
@@ -14183,7 +14003,7 @@ fi
14183rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14003rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14184LIBS=$ac_check_lib_save_LIBS 14004LIBS=$ac_check_lib_save_LIBS
14185fi 14005fi
14186echo "$as_me:14186: result: $ac_cv_lib_sectok_sectok_open" >&5 14006echo "$as_me:14006: result: $ac_cv_lib_sectok_sectok_open" >&5
14187echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 14007echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6
14188if test $ac_cv_lib_sectok_sectok_open = yes; then 14008if test $ac_cv_lib_sectok_sectok_open = yes; then
14189 cat >>confdefs.h <<EOF 14009 cat >>confdefs.h <<EOF
@@ -14195,7 +14015,7 @@ EOF
14195fi 14015fi
14196 14016
14197 if test "$ac_cv_lib_sectok_sectok_open" != yes; then 14017 if test "$ac_cv_lib_sectok_sectok_open" != yes; then
14198 { { echo "$as_me:14198: error: Can't find libsectok" >&5 14018 { { echo "$as_me:14018: error: Can't find libsectok" >&5
14199echo "$as_me: error: Can't find libsectok" >&2;} 14019echo "$as_me: error: Can't find libsectok" >&2;}
14200 { (exit 1); exit 1; }; } 14020 { (exit 1); exit 1; }; }
14201 fi 14021 fi
@@ -14225,7 +14045,7 @@ if test x$opensc_config_prefix != x ; then
14225 OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config 14045 OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
14226 # Extract the first word of "opensc-config", so it can be a program name with args. 14046 # Extract the first word of "opensc-config", so it can be a program name with args.
14227set dummy opensc-config; ac_word=$2 14047set dummy opensc-config; ac_word=$2
14228echo "$as_me:14228: checking for $ac_word" >&5 14048echo "$as_me:14048: checking for $ac_word" >&5
14229echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14049echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14230if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then 14050if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
14231 echo $ECHO_N "(cached) $ECHO_C" >&6 14051 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14242,7 +14062,7 @@ for ac_dir in $ac_dummy; do
14242 test -z "$ac_dir" && ac_dir=. 14062 test -z "$ac_dir" && ac_dir=.
14243 if $as_executable_p "$ac_dir/$ac_word"; then 14063 if $as_executable_p "$ac_dir/$ac_word"; then
14244 ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word" 14064 ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word"
14245 echo "$as_me:14245: found $ac_dir/$ac_word" >&5 14065 echo "$as_me:14065: found $ac_dir/$ac_word" >&5
14246 break 14066 break
14247fi 14067fi
14248done 14068done
@@ -14254,10 +14074,10 @@ fi
14254OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG 14074OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
14255 14075
14256if test -n "$OPENSC_CONFIG"; then 14076if test -n "$OPENSC_CONFIG"; then
14257 echo "$as_me:14257: result: $OPENSC_CONFIG" >&5 14077 echo "$as_me:14077: result: $OPENSC_CONFIG" >&5
14258echo "${ECHO_T}$OPENSC_CONFIG" >&6 14078echo "${ECHO_T}$OPENSC_CONFIG" >&6
14259else 14079else
14260 echo "$as_me:14260: result: no" >&5 14080 echo "$as_me:14080: result: no" >&5
14261echo "${ECHO_T}no" >&6 14081echo "${ECHO_T}no" >&6
14262fi 14082fi
14263 14083
@@ -14291,7 +14111,7 @@ if test "${with_dns+set}" = set; then
14291#define DNS 1 14111#define DNS 1
14292EOF 14112EOF
14293 14113
14294 echo "$as_me:14294: checking for library containing getrrsetbyname" >&5 14114 echo "$as_me:14114: checking for library containing getrrsetbyname" >&5
14295echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6 14115echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6
14296if test "${ac_cv_search_getrrsetbyname+set}" = set; then 14116if test "${ac_cv_search_getrrsetbyname+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6 14117 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14299,7 +14119,7 @@ else
14299 ac_func_search_save_LIBS=$LIBS 14119 ac_func_search_save_LIBS=$LIBS
14300ac_cv_search_getrrsetbyname=no 14120ac_cv_search_getrrsetbyname=no
14301cat >conftest.$ac_ext <<_ACEOF 14121cat >conftest.$ac_ext <<_ACEOF
14302#line 14302 "configure" 14122#line 14122 "configure"
14303#include "confdefs.h" 14123#include "confdefs.h"
14304 14124
14305/* Override any gcc2 internal prototype to avoid an error. */ 14125/* Override any gcc2 internal prototype to avoid an error. */
@@ -14318,16 +14138,16 @@ getrrsetbyname ();
14318} 14138}
14319_ACEOF 14139_ACEOF
14320rm -f conftest.$ac_objext conftest$ac_exeext 14140rm -f conftest.$ac_objext conftest$ac_exeext
14321if { (eval echo "$as_me:14321: \"$ac_link\"") >&5 14141if { (eval echo "$as_me:14141: \"$ac_link\"") >&5
14322 (eval $ac_link) 2>&5 14142 (eval $ac_link) 2>&5
14323 ac_status=$? 14143 ac_status=$?
14324 echo "$as_me:14324: \$? = $ac_status" >&5 14144 echo "$as_me:14144: \$? = $ac_status" >&5
14325 (exit $ac_status); } && 14145 (exit $ac_status); } &&
14326 { ac_try='test -s conftest$ac_exeext' 14146 { ac_try='test -s conftest$ac_exeext'
14327 { (eval echo "$as_me:14327: \"$ac_try\"") >&5 14147 { (eval echo "$as_me:14147: \"$ac_try\"") >&5
14328 (eval $ac_try) 2>&5 14148 (eval $ac_try) 2>&5
14329 ac_status=$? 14149 ac_status=$?
14330 echo "$as_me:14330: \$? = $ac_status" >&5 14150 echo "$as_me:14150: \$? = $ac_status" >&5
14331 (exit $ac_status); }; }; then 14151 (exit $ac_status); }; }; then
14332 ac_cv_search_getrrsetbyname="none required" 14152 ac_cv_search_getrrsetbyname="none required"
14333else 14153else
@@ -14339,7 +14159,7 @@ if test "$ac_cv_search_getrrsetbyname" = no; then
14339 for ac_lib in resolv; do 14159 for ac_lib in resolv; do
14340 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14160 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14341 cat >conftest.$ac_ext <<_ACEOF 14161 cat >conftest.$ac_ext <<_ACEOF
14342#line 14342 "configure" 14162#line 14162 "configure"
14343#include "confdefs.h" 14163#include "confdefs.h"
14344 14164
14345/* Override any gcc2 internal prototype to avoid an error. */ 14165/* Override any gcc2 internal prototype to avoid an error. */
@@ -14358,16 +14178,16 @@ getrrsetbyname ();
14358} 14178}
14359_ACEOF 14179_ACEOF
14360rm -f conftest.$ac_objext conftest$ac_exeext 14180rm -f conftest.$ac_objext conftest$ac_exeext
14361if { (eval echo "$as_me:14361: \"$ac_link\"") >&5 14181if { (eval echo "$as_me:14181: \"$ac_link\"") >&5
14362 (eval $ac_link) 2>&5 14182 (eval $ac_link) 2>&5
14363 ac_status=$? 14183 ac_status=$?
14364 echo "$as_me:14364: \$? = $ac_status" >&5 14184 echo "$as_me:14184: \$? = $ac_status" >&5
14365 (exit $ac_status); } && 14185 (exit $ac_status); } &&
14366 { ac_try='test -s conftest$ac_exeext' 14186 { ac_try='test -s conftest$ac_exeext'
14367 { (eval echo "$as_me:14367: \"$ac_try\"") >&5 14187 { (eval echo "$as_me:14187: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5 14188 (eval $ac_try) 2>&5
14369 ac_status=$? 14189 ac_status=$?
14370 echo "$as_me:14370: \$? = $ac_status" >&5 14190 echo "$as_me:14190: \$? = $ac_status" >&5
14371 (exit $ac_status); }; }; then 14191 (exit $ac_status); }; }; then
14372 ac_cv_search_getrrsetbyname="-l$ac_lib" 14192 ac_cv_search_getrrsetbyname="-l$ac_lib"
14373break 14193break
@@ -14380,7 +14200,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14380fi 14200fi
14381LIBS=$ac_func_search_save_LIBS 14201LIBS=$ac_func_search_save_LIBS
14382fi 14202fi
14383echo "$as_me:14383: result: $ac_cv_search_getrrsetbyname" >&5 14203echo "$as_me:14203: result: $ac_cv_search_getrrsetbyname" >&5
14384echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 14204echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6
14385if test "$ac_cv_search_getrrsetbyname" != no; then 14205if test "$ac_cv_search_getrrsetbyname" != no; then
14386 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" 14206 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS"
@@ -14391,7 +14211,7 @@ EOF
14391else 14211else
14392 14212
14393 # Needed by our getrrsetbyname() 14213 # Needed by our getrrsetbyname()
14394 echo "$as_me:14394: checking for library containing res_query" >&5 14214 echo "$as_me:14214: checking for library containing res_query" >&5
14395echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6 14215echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6
14396if test "${ac_cv_search_res_query+set}" = set; then 14216if test "${ac_cv_search_res_query+set}" = set; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6 14217 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14399,7 +14219,7 @@ else
14399 ac_func_search_save_LIBS=$LIBS 14219 ac_func_search_save_LIBS=$LIBS
14400ac_cv_search_res_query=no 14220ac_cv_search_res_query=no
14401cat >conftest.$ac_ext <<_ACEOF 14221cat >conftest.$ac_ext <<_ACEOF
14402#line 14402 "configure" 14222#line 14222 "configure"
14403#include "confdefs.h" 14223#include "confdefs.h"
14404 14224
14405/* Override any gcc2 internal prototype to avoid an error. */ 14225/* Override any gcc2 internal prototype to avoid an error. */
@@ -14418,16 +14238,16 @@ res_query ();
14418} 14238}
14419_ACEOF 14239_ACEOF
14420rm -f conftest.$ac_objext conftest$ac_exeext 14240rm -f conftest.$ac_objext conftest$ac_exeext
14421if { (eval echo "$as_me:14421: \"$ac_link\"") >&5 14241if { (eval echo "$as_me:14241: \"$ac_link\"") >&5
14422 (eval $ac_link) 2>&5 14242 (eval $ac_link) 2>&5
14423 ac_status=$? 14243 ac_status=$?
14424 echo "$as_me:14424: \$? = $ac_status" >&5 14244 echo "$as_me:14244: \$? = $ac_status" >&5
14425 (exit $ac_status); } && 14245 (exit $ac_status); } &&
14426 { ac_try='test -s conftest$ac_exeext' 14246 { ac_try='test -s conftest$ac_exeext'
14427 { (eval echo "$as_me:14427: \"$ac_try\"") >&5 14247 { (eval echo "$as_me:14247: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5 14248 (eval $ac_try) 2>&5
14429 ac_status=$? 14249 ac_status=$?
14430 echo "$as_me:14430: \$? = $ac_status" >&5 14250 echo "$as_me:14250: \$? = $ac_status" >&5
14431 (exit $ac_status); }; }; then 14251 (exit $ac_status); }; }; then
14432 ac_cv_search_res_query="none required" 14252 ac_cv_search_res_query="none required"
14433else 14253else
@@ -14439,7 +14259,7 @@ if test "$ac_cv_search_res_query" = no; then
14439 for ac_lib in resolv; do 14259 for ac_lib in resolv; do
14440 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14260 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14441 cat >conftest.$ac_ext <<_ACEOF 14261 cat >conftest.$ac_ext <<_ACEOF
14442#line 14442 "configure" 14262#line 14262 "configure"
14443#include "confdefs.h" 14263#include "confdefs.h"
14444 14264
14445/* Override any gcc2 internal prototype to avoid an error. */ 14265/* Override any gcc2 internal prototype to avoid an error. */
@@ -14458,16 +14278,16 @@ res_query ();
14458} 14278}
14459_ACEOF 14279_ACEOF
14460rm -f conftest.$ac_objext conftest$ac_exeext 14280rm -f conftest.$ac_objext conftest$ac_exeext
14461if { (eval echo "$as_me:14461: \"$ac_link\"") >&5 14281if { (eval echo "$as_me:14281: \"$ac_link\"") >&5
14462 (eval $ac_link) 2>&5 14282 (eval $ac_link) 2>&5
14463 ac_status=$? 14283 ac_status=$?
14464 echo "$as_me:14464: \$? = $ac_status" >&5 14284 echo "$as_me:14284: \$? = $ac_status" >&5
14465 (exit $ac_status); } && 14285 (exit $ac_status); } &&
14466 { ac_try='test -s conftest$ac_exeext' 14286 { ac_try='test -s conftest$ac_exeext'
14467 { (eval echo "$as_me:14467: \"$ac_try\"") >&5 14287 { (eval echo "$as_me:14287: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5 14288 (eval $ac_try) 2>&5
14469 ac_status=$? 14289 ac_status=$?
14470 echo "$as_me:14470: \$? = $ac_status" >&5 14290 echo "$as_me:14290: \$? = $ac_status" >&5
14471 (exit $ac_status); }; }; then 14291 (exit $ac_status); }; }; then
14472 ac_cv_search_res_query="-l$ac_lib" 14292 ac_cv_search_res_query="-l$ac_lib"
14473break 14293break
@@ -14480,14 +14300,14 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14480fi 14300fi
14481LIBS=$ac_func_search_save_LIBS 14301LIBS=$ac_func_search_save_LIBS
14482fi 14302fi
14483echo "$as_me:14483: result: $ac_cv_search_res_query" >&5 14303echo "$as_me:14303: result: $ac_cv_search_res_query" >&5
14484echo "${ECHO_T}$ac_cv_search_res_query" >&6 14304echo "${ECHO_T}$ac_cv_search_res_query" >&6
14485if test "$ac_cv_search_res_query" != no; then 14305if test "$ac_cv_search_res_query" != no; then
14486 test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS" 14306 test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS"
14487 14307
14488fi 14308fi
14489 14309
14490 echo "$as_me:14490: checking for library containing dn_expand" >&5 14310 echo "$as_me:14310: checking for library containing dn_expand" >&5
14491echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 14311echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
14492if test "${ac_cv_search_dn_expand+set}" = set; then 14312if test "${ac_cv_search_dn_expand+set}" = set; then
14493 echo $ECHO_N "(cached) $ECHO_C" >&6 14313 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14495,7 +14315,7 @@ else
14495 ac_func_search_save_LIBS=$LIBS 14315 ac_func_search_save_LIBS=$LIBS
14496ac_cv_search_dn_expand=no 14316ac_cv_search_dn_expand=no
14497cat >conftest.$ac_ext <<_ACEOF 14317cat >conftest.$ac_ext <<_ACEOF
14498#line 14498 "configure" 14318#line 14318 "configure"
14499#include "confdefs.h" 14319#include "confdefs.h"
14500 14320
14501/* Override any gcc2 internal prototype to avoid an error. */ 14321/* Override any gcc2 internal prototype to avoid an error. */
@@ -14514,16 +14334,16 @@ dn_expand ();
14514} 14334}
14515_ACEOF 14335_ACEOF
14516rm -f conftest.$ac_objext conftest$ac_exeext 14336rm -f conftest.$ac_objext conftest$ac_exeext
14517if { (eval echo "$as_me:14517: \"$ac_link\"") >&5 14337if { (eval echo "$as_me:14337: \"$ac_link\"") >&5
14518 (eval $ac_link) 2>&5 14338 (eval $ac_link) 2>&5
14519 ac_status=$? 14339 ac_status=$?
14520 echo "$as_me:14520: \$? = $ac_status" >&5 14340 echo "$as_me:14340: \$? = $ac_status" >&5
14521 (exit $ac_status); } && 14341 (exit $ac_status); } &&
14522 { ac_try='test -s conftest$ac_exeext' 14342 { ac_try='test -s conftest$ac_exeext'
14523 { (eval echo "$as_me:14523: \"$ac_try\"") >&5 14343 { (eval echo "$as_me:14343: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5 14344 (eval $ac_try) 2>&5
14525 ac_status=$? 14345 ac_status=$?
14526 echo "$as_me:14526: \$? = $ac_status" >&5 14346 echo "$as_me:14346: \$? = $ac_status" >&5
14527 (exit $ac_status); }; }; then 14347 (exit $ac_status); }; }; then
14528 ac_cv_search_dn_expand="none required" 14348 ac_cv_search_dn_expand="none required"
14529else 14349else
@@ -14535,7 +14355,7 @@ if test "$ac_cv_search_dn_expand" = no; then
14535 for ac_lib in resolv; do 14355 for ac_lib in resolv; do
14536 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14356 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14537 cat >conftest.$ac_ext <<_ACEOF 14357 cat >conftest.$ac_ext <<_ACEOF
14538#line 14538 "configure" 14358#line 14358 "configure"
14539#include "confdefs.h" 14359#include "confdefs.h"
14540 14360
14541/* Override any gcc2 internal prototype to avoid an error. */ 14361/* Override any gcc2 internal prototype to avoid an error. */
@@ -14554,16 +14374,16 @@ dn_expand ();
14554} 14374}
14555_ACEOF 14375_ACEOF
14556rm -f conftest.$ac_objext conftest$ac_exeext 14376rm -f conftest.$ac_objext conftest$ac_exeext
14557if { (eval echo "$as_me:14557: \"$ac_link\"") >&5 14377if { (eval echo "$as_me:14377: \"$ac_link\"") >&5
14558 (eval $ac_link) 2>&5 14378 (eval $ac_link) 2>&5
14559 ac_status=$? 14379 ac_status=$?
14560 echo "$as_me:14560: \$? = $ac_status" >&5 14380 echo "$as_me:14380: \$? = $ac_status" >&5
14561 (exit $ac_status); } && 14381 (exit $ac_status); } &&
14562 { ac_try='test -s conftest$ac_exeext' 14382 { ac_try='test -s conftest$ac_exeext'
14563 { (eval echo "$as_me:14563: \"$ac_try\"") >&5 14383 { (eval echo "$as_me:14383: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5 14384 (eval $ac_try) 2>&5
14565 ac_status=$? 14385 ac_status=$?
14566 echo "$as_me:14566: \$? = $ac_status" >&5 14386 echo "$as_me:14386: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then 14387 (exit $ac_status); }; }; then
14568 ac_cv_search_dn_expand="-l$ac_lib" 14388 ac_cv_search_dn_expand="-l$ac_lib"
14569break 14389break
@@ -14576,7 +14396,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14576fi 14396fi
14577LIBS=$ac_func_search_save_LIBS 14397LIBS=$ac_func_search_save_LIBS
14578fi 14398fi
14579echo "$as_me:14579: result: $ac_cv_search_dn_expand" >&5 14399echo "$as_me:14399: result: $ac_cv_search_dn_expand" >&5
14580echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 14400echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
14581if test "$ac_cv_search_dn_expand" != no; then 14401if test "$ac_cv_search_dn_expand" != no; then
14582 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" 14402 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
@@ -14586,13 +14406,13 @@ fi
14586for ac_func in _getshort _getlong 14406for ac_func in _getshort _getlong
14587do 14407do
14588as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14408as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14589echo "$as_me:14589: checking for $ac_func" >&5 14409echo "$as_me:14409: checking for $ac_func" >&5
14590echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 14410echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14591if eval "test \"\${$as_ac_var+set}\" = set"; then 14411if eval "test \"\${$as_ac_var+set}\" = set"; then
14592 echo $ECHO_N "(cached) $ECHO_C" >&6 14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14593else 14413else
14594 cat >conftest.$ac_ext <<_ACEOF 14414 cat >conftest.$ac_ext <<_ACEOF
14595#line 14595 "configure" 14415#line 14415 "configure"
14596#include "confdefs.h" 14416#include "confdefs.h"
14597/* System header to define __stub macros and hopefully few prototypes, 14417/* System header to define __stub macros and hopefully few prototypes,
14598 which can conflict with char $ac_func (); below. */ 14418 which can conflict with char $ac_func (); below. */
@@ -14623,16 +14443,16 @@ f = $ac_func;
14623} 14443}
14624_ACEOF 14444_ACEOF
14625rm -f conftest.$ac_objext conftest$ac_exeext 14445rm -f conftest.$ac_objext conftest$ac_exeext
14626if { (eval echo "$as_me:14626: \"$ac_link\"") >&5 14446if { (eval echo "$as_me:14446: \"$ac_link\"") >&5
14627 (eval $ac_link) 2>&5 14447 (eval $ac_link) 2>&5
14628 ac_status=$? 14448 ac_status=$?
14629 echo "$as_me:14629: \$? = $ac_status" >&5 14449 echo "$as_me:14449: \$? = $ac_status" >&5
14630 (exit $ac_status); } && 14450 (exit $ac_status); } &&
14631 { ac_try='test -s conftest$ac_exeext' 14451 { ac_try='test -s conftest$ac_exeext'
14632 { (eval echo "$as_me:14632: \"$ac_try\"") >&5 14452 { (eval echo "$as_me:14452: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5 14453 (eval $ac_try) 2>&5
14634 ac_status=$? 14454 ac_status=$?
14635 echo "$as_me:14635: \$? = $ac_status" >&5 14455 echo "$as_me:14455: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then 14456 (exit $ac_status); }; }; then
14637 eval "$as_ac_var=yes" 14457 eval "$as_ac_var=yes"
14638else 14458else
@@ -14642,7 +14462,7 @@ eval "$as_ac_var=no"
14642fi 14462fi
14643rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14463rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14644fi 14464fi
14645echo "$as_me:14645: result: `eval echo '${'$as_ac_var'}'`" >&5 14465echo "$as_me:14465: result: `eval echo '${'$as_ac_var'}'`" >&5
14646echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 14466echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14647if test `eval echo '${'$as_ac_var'}'` = yes; then 14467if test `eval echo '${'$as_ac_var'}'` = yes; then
14648 cat >>confdefs.h <<EOF 14468 cat >>confdefs.h <<EOF
@@ -14652,13 +14472,13 @@ EOF
14652fi 14472fi
14653done 14473done
14654 14474
14655 echo "$as_me:14655: checking for HEADER.ad" >&5 14475 echo "$as_me:14475: checking for HEADER.ad" >&5
14656echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 14476echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6
14657if test "${ac_cv_member_HEADER_ad+set}" = set; then 14477if test "${ac_cv_member_HEADER_ad+set}" = set; then
14658 echo $ECHO_N "(cached) $ECHO_C" >&6 14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14659else 14479else
14660 cat >conftest.$ac_ext <<_ACEOF 14480 cat >conftest.$ac_ext <<_ACEOF
14661#line 14661 "configure" 14481#line 14481 "configure"
14662#include "confdefs.h" 14482#include "confdefs.h"
14663#include <arpa/nameser.h> 14483#include <arpa/nameser.h>
14664 14484
@@ -14673,16 +14493,16 @@ return 0;
14673} 14493}
14674_ACEOF 14494_ACEOF
14675rm -f conftest.$ac_objext 14495rm -f conftest.$ac_objext
14676if { (eval echo "$as_me:14676: \"$ac_compile\"") >&5 14496if { (eval echo "$as_me:14496: \"$ac_compile\"") >&5
14677 (eval $ac_compile) 2>&5 14497 (eval $ac_compile) 2>&5
14678 ac_status=$? 14498 ac_status=$?
14679 echo "$as_me:14679: \$? = $ac_status" >&5 14499 echo "$as_me:14499: \$? = $ac_status" >&5
14680 (exit $ac_status); } && 14500 (exit $ac_status); } &&
14681 { ac_try='test -s conftest.$ac_objext' 14501 { ac_try='test -s conftest.$ac_objext'
14682 { (eval echo "$as_me:14682: \"$ac_try\"") >&5 14502 { (eval echo "$as_me:14502: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5 14503 (eval $ac_try) 2>&5
14684 ac_status=$? 14504 ac_status=$?
14685 echo "$as_me:14685: \$? = $ac_status" >&5 14505 echo "$as_me:14505: \$? = $ac_status" >&5
14686 (exit $ac_status); }; }; then 14506 (exit $ac_status); }; }; then
14687 ac_cv_member_HEADER_ad=yes 14507 ac_cv_member_HEADER_ad=yes
14688else 14508else
@@ -14692,7 +14512,7 @@ ac_cv_member_HEADER_ad=no
14692fi 14512fi
14693rm -f conftest.$ac_objext conftest.$ac_ext 14513rm -f conftest.$ac_objext conftest.$ac_ext
14694fi 14514fi
14695echo "$as_me:14695: result: $ac_cv_member_HEADER_ad" >&5 14515echo "$as_me:14515: result: $ac_cv_member_HEADER_ad" >&5
14696echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 14516echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6
14697if test $ac_cv_member_HEADER_ad = yes; then 14517if test $ac_cv_member_HEADER_ad = yes; then
14698 cat >>confdefs.h <<\EOF 14518 cat >>confdefs.h <<\EOF
@@ -14727,10 +14547,10 @@ if test "${with_kerberos5+set}" = set; then
14727EOF 14547EOF
14728 14548
14729 KRB5_MSG="yes" 14549 KRB5_MSG="yes"
14730 echo "$as_me:14730: checking whether we are using Heimdal" >&5 14550 echo "$as_me:14550: checking whether we are using Heimdal" >&5
14731echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 14551echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
14732 cat >conftest.$ac_ext <<_ACEOF 14552 cat >conftest.$ac_ext <<_ACEOF
14733#line 14733 "configure" 14553#line 14553 "configure"
14734#include "confdefs.h" 14554#include "confdefs.h"
14735 #include <krb5.h> 14555 #include <krb5.h>
14736int 14556int
@@ -14742,18 +14562,18 @@ main ()
14742} 14562}
14743_ACEOF 14563_ACEOF
14744rm -f conftest.$ac_objext 14564rm -f conftest.$ac_objext
14745if { (eval echo "$as_me:14745: \"$ac_compile\"") >&5 14565if { (eval echo "$as_me:14565: \"$ac_compile\"") >&5
14746 (eval $ac_compile) 2>&5 14566 (eval $ac_compile) 2>&5
14747 ac_status=$? 14567 ac_status=$?
14748 echo "$as_me:14748: \$? = $ac_status" >&5 14568 echo "$as_me:14568: \$? = $ac_status" >&5
14749 (exit $ac_status); } && 14569 (exit $ac_status); } &&
14750 { ac_try='test -s conftest.$ac_objext' 14570 { ac_try='test -s conftest.$ac_objext'
14751 { (eval echo "$as_me:14751: \"$ac_try\"") >&5 14571 { (eval echo "$as_me:14571: \"$ac_try\"") >&5
14752 (eval $ac_try) 2>&5 14572 (eval $ac_try) 2>&5
14753 ac_status=$? 14573 ac_status=$?
14754 echo "$as_me:14754: \$? = $ac_status" >&5 14574 echo "$as_me:14574: \$? = $ac_status" >&5
14755 (exit $ac_status); }; }; then 14575 (exit $ac_status); }; }; then
14756 echo "$as_me:14756: result: yes" >&5 14576 echo "$as_me:14576: result: yes" >&5
14757echo "${ECHO_T}yes" >&6 14577echo "${ECHO_T}yes" >&6
14758 cat >>confdefs.h <<\EOF 14578 cat >>confdefs.h <<\EOF
14759#define HEIMDAL 1 14579#define HEIMDAL 1
@@ -14764,7 +14584,7 @@ EOF
14764else 14584else
14765 echo "$as_me: failed program was:" >&5 14585 echo "$as_me: failed program was:" >&5
14766cat conftest.$ac_ext >&5 14586cat conftest.$ac_ext >&5
14767 echo "$as_me:14767: result: no" >&5 14587 echo "$as_me:14587: result: no" >&5
14768echo "${ECHO_T}no" >&6 14588echo "${ECHO_T}no" >&6
14769 K5LIBS="-lkrb5 -lk5crypto -lcom_err" 14589 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
14770 14590
@@ -14776,7 +14596,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
14776 if test ! -z "$blibpath" ; then 14596 if test ! -z "$blibpath" ; then
14777 blibpath="$blibpath:${KRB5ROOT}/lib" 14597 blibpath="$blibpath:${KRB5ROOT}/lib"
14778 fi 14598 fi
14779 echo "$as_me:14779: checking for library containing dn_expand" >&5 14599 echo "$as_me:14599: checking for library containing dn_expand" >&5
14780echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 14600echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
14781if test "${ac_cv_search_dn_expand+set}" = set; then 14601if test "${ac_cv_search_dn_expand+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6 14602 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14784,7 +14604,7 @@ else
14784 ac_func_search_save_LIBS=$LIBS 14604 ac_func_search_save_LIBS=$LIBS
14785ac_cv_search_dn_expand=no 14605ac_cv_search_dn_expand=no
14786cat >conftest.$ac_ext <<_ACEOF 14606cat >conftest.$ac_ext <<_ACEOF
14787#line 14787 "configure" 14607#line 14607 "configure"
14788#include "confdefs.h" 14608#include "confdefs.h"
14789 14609
14790/* Override any gcc2 internal prototype to avoid an error. */ 14610/* Override any gcc2 internal prototype to avoid an error. */
@@ -14803,16 +14623,16 @@ dn_expand ();
14803} 14623}
14804_ACEOF 14624_ACEOF
14805rm -f conftest.$ac_objext conftest$ac_exeext 14625rm -f conftest.$ac_objext conftest$ac_exeext
14806if { (eval echo "$as_me:14806: \"$ac_link\"") >&5 14626if { (eval echo "$as_me:14626: \"$ac_link\"") >&5
14807 (eval $ac_link) 2>&5 14627 (eval $ac_link) 2>&5
14808 ac_status=$? 14628 ac_status=$?
14809 echo "$as_me:14809: \$? = $ac_status" >&5 14629 echo "$as_me:14629: \$? = $ac_status" >&5
14810 (exit $ac_status); } && 14630 (exit $ac_status); } &&
14811 { ac_try='test -s conftest$ac_exeext' 14631 { ac_try='test -s conftest$ac_exeext'
14812 { (eval echo "$as_me:14812: \"$ac_try\"") >&5 14632 { (eval echo "$as_me:14632: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5 14633 (eval $ac_try) 2>&5
14814 ac_status=$? 14634 ac_status=$?
14815 echo "$as_me:14815: \$? = $ac_status" >&5 14635 echo "$as_me:14635: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then 14636 (exit $ac_status); }; }; then
14817 ac_cv_search_dn_expand="none required" 14637 ac_cv_search_dn_expand="none required"
14818else 14638else
@@ -14824,7 +14644,7 @@ if test "$ac_cv_search_dn_expand" = no; then
14824 for ac_lib in resolv; do 14644 for ac_lib in resolv; do
14825 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 14645 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14826 cat >conftest.$ac_ext <<_ACEOF 14646 cat >conftest.$ac_ext <<_ACEOF
14827#line 14827 "configure" 14647#line 14647 "configure"
14828#include "confdefs.h" 14648#include "confdefs.h"
14829 14649
14830/* Override any gcc2 internal prototype to avoid an error. */ 14650/* Override any gcc2 internal prototype to avoid an error. */
@@ -14843,16 +14663,16 @@ dn_expand ();
14843} 14663}
14844_ACEOF 14664_ACEOF
14845rm -f conftest.$ac_objext conftest$ac_exeext 14665rm -f conftest.$ac_objext conftest$ac_exeext
14846if { (eval echo "$as_me:14846: \"$ac_link\"") >&5 14666if { (eval echo "$as_me:14666: \"$ac_link\"") >&5
14847 (eval $ac_link) 2>&5 14667 (eval $ac_link) 2>&5
14848 ac_status=$? 14668 ac_status=$?
14849 echo "$as_me:14849: \$? = $ac_status" >&5 14669 echo "$as_me:14669: \$? = $ac_status" >&5
14850 (exit $ac_status); } && 14670 (exit $ac_status); } &&
14851 { ac_try='test -s conftest$ac_exeext' 14671 { ac_try='test -s conftest$ac_exeext'
14852 { (eval echo "$as_me:14852: \"$ac_try\"") >&5 14672 { (eval echo "$as_me:14672: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5 14673 (eval $ac_try) 2>&5
14854 ac_status=$? 14674 ac_status=$?
14855 echo "$as_me:14855: \$? = $ac_status" >&5 14675 echo "$as_me:14675: \$? = $ac_status" >&5
14856 (exit $ac_status); }; }; then 14676 (exit $ac_status); }; }; then
14857 ac_cv_search_dn_expand="-l$ac_lib" 14677 ac_cv_search_dn_expand="-l$ac_lib"
14858break 14678break
@@ -14865,14 +14685,14 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14865fi 14685fi
14866LIBS=$ac_func_search_save_LIBS 14686LIBS=$ac_func_search_save_LIBS
14867fi 14687fi
14868echo "$as_me:14868: result: $ac_cv_search_dn_expand" >&5 14688echo "$as_me:14688: result: $ac_cv_search_dn_expand" >&5
14869echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 14689echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
14870if test "$ac_cv_search_dn_expand" != no; then 14690if test "$ac_cv_search_dn_expand" != no; then
14871 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" 14691 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
14872 14692
14873fi 14693fi
14874 14694
14875 echo "$as_me:14875: checking for gss_init_sec_context in -lgssapi" >&5 14695 echo "$as_me:14695: checking for gss_init_sec_context in -lgssapi" >&5
14876echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6 14696echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6
14877if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then 14697if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then
14878 echo $ECHO_N "(cached) $ECHO_C" >&6 14698 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14880,7 +14700,7 @@ else
14880 ac_check_lib_save_LIBS=$LIBS 14700 ac_check_lib_save_LIBS=$LIBS
14881LIBS="-lgssapi $K5LIBS $LIBS" 14701LIBS="-lgssapi $K5LIBS $LIBS"
14882cat >conftest.$ac_ext <<_ACEOF 14702cat >conftest.$ac_ext <<_ACEOF
14883#line 14883 "configure" 14703#line 14703 "configure"
14884#include "confdefs.h" 14704#include "confdefs.h"
14885 14705
14886/* Override any gcc2 internal prototype to avoid an error. */ 14706/* Override any gcc2 internal prototype to avoid an error. */
@@ -14899,16 +14719,16 @@ gss_init_sec_context ();
14899} 14719}
14900_ACEOF 14720_ACEOF
14901rm -f conftest.$ac_objext conftest$ac_exeext 14721rm -f conftest.$ac_objext conftest$ac_exeext
14902if { (eval echo "$as_me:14902: \"$ac_link\"") >&5 14722if { (eval echo "$as_me:14722: \"$ac_link\"") >&5
14903 (eval $ac_link) 2>&5 14723 (eval $ac_link) 2>&5
14904 ac_status=$? 14724 ac_status=$?
14905 echo "$as_me:14905: \$? = $ac_status" >&5 14725 echo "$as_me:14725: \$? = $ac_status" >&5
14906 (exit $ac_status); } && 14726 (exit $ac_status); } &&
14907 { ac_try='test -s conftest$ac_exeext' 14727 { ac_try='test -s conftest$ac_exeext'
14908 { (eval echo "$as_me:14908: \"$ac_try\"") >&5 14728 { (eval echo "$as_me:14728: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5 14729 (eval $ac_try) 2>&5
14910 ac_status=$? 14730 ac_status=$?
14911 echo "$as_me:14911: \$? = $ac_status" >&5 14731 echo "$as_me:14731: \$? = $ac_status" >&5
14912 (exit $ac_status); }; }; then 14732 (exit $ac_status); }; }; then
14913 ac_cv_lib_gssapi_gss_init_sec_context=yes 14733 ac_cv_lib_gssapi_gss_init_sec_context=yes
14914else 14734else
@@ -14919,7 +14739,7 @@ fi
14919rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14739rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14920LIBS=$ac_check_lib_save_LIBS 14740LIBS=$ac_check_lib_save_LIBS
14921fi 14741fi
14922echo "$as_me:14922: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 14742echo "$as_me:14742: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
14923echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6 14743echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6
14924if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then 14744if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then
14925 cat >>confdefs.h <<\EOF 14745 cat >>confdefs.h <<\EOF
@@ -14928,7 +14748,7 @@ EOF
14928 14748
14929 K5LIBS="-lgssapi $K5LIBS" 14749 K5LIBS="-lgssapi $K5LIBS"
14930else 14750else
14931 echo "$as_me:14931: checking for gss_init_sec_context in -lgssapi_krb5" >&5 14751 echo "$as_me:14751: checking for gss_init_sec_context in -lgssapi_krb5" >&5
14932echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6 14752echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6
14933if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then 14753if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6 14754 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14936,7 +14756,7 @@ else
14936 ac_check_lib_save_LIBS=$LIBS 14756 ac_check_lib_save_LIBS=$LIBS
14937LIBS="-lgssapi_krb5 $K5LIBS $LIBS" 14757LIBS="-lgssapi_krb5 $K5LIBS $LIBS"
14938cat >conftest.$ac_ext <<_ACEOF 14758cat >conftest.$ac_ext <<_ACEOF
14939#line 14939 "configure" 14759#line 14759 "configure"
14940#include "confdefs.h" 14760#include "confdefs.h"
14941 14761
14942/* Override any gcc2 internal prototype to avoid an error. */ 14762/* Override any gcc2 internal prototype to avoid an error. */
@@ -14955,16 +14775,16 @@ gss_init_sec_context ();
14955} 14775}
14956_ACEOF 14776_ACEOF
14957rm -f conftest.$ac_objext conftest$ac_exeext 14777rm -f conftest.$ac_objext conftest$ac_exeext
14958if { (eval echo "$as_me:14958: \"$ac_link\"") >&5 14778if { (eval echo "$as_me:14778: \"$ac_link\"") >&5
14959 (eval $ac_link) 2>&5 14779 (eval $ac_link) 2>&5
14960 ac_status=$? 14780 ac_status=$?
14961 echo "$as_me:14961: \$? = $ac_status" >&5 14781 echo "$as_me:14781: \$? = $ac_status" >&5
14962 (exit $ac_status); } && 14782 (exit $ac_status); } &&
14963 { ac_try='test -s conftest$ac_exeext' 14783 { ac_try='test -s conftest$ac_exeext'
14964 { (eval echo "$as_me:14964: \"$ac_try\"") >&5 14784 { (eval echo "$as_me:14784: \"$ac_try\"") >&5
14965 (eval $ac_try) 2>&5 14785 (eval $ac_try) 2>&5
14966 ac_status=$? 14786 ac_status=$?
14967 echo "$as_me:14967: \$? = $ac_status" >&5 14787 echo "$as_me:14787: \$? = $ac_status" >&5
14968 (exit $ac_status); }; }; then 14788 (exit $ac_status); }; }; then
14969 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes 14789 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
14970else 14790else
@@ -14975,7 +14795,7 @@ fi
14975rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 14795rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14976LIBS=$ac_check_lib_save_LIBS 14796LIBS=$ac_check_lib_save_LIBS
14977fi 14797fi
14978echo "$as_me:14978: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 14798echo "$as_me:14798: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
14979echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6 14799echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6
14980if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then 14800if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then
14981 cat >>confdefs.h <<\EOF 14801 cat >>confdefs.h <<\EOF
@@ -14984,29 +14804,29 @@ EOF
14984 14804
14985 K5LIBS="-lgssapi_krb5 $K5LIBS" 14805 K5LIBS="-lgssapi_krb5 $K5LIBS"
14986else 14806else
14987 { echo "$as_me:14987: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 14807 { echo "$as_me:14807: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
14988echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} 14808echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;}
14989fi 14809fi
14990 14810
14991fi 14811fi
14992 14812
14993 echo "$as_me:14993: checking for gssapi.h" >&5 14813 echo "$as_me:14813: checking for gssapi.h" >&5
14994echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6 14814echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
14995if test "${ac_cv_header_gssapi_h+set}" = set; then 14815if test "${ac_cv_header_gssapi_h+set}" = set; then
14996 echo $ECHO_N "(cached) $ECHO_C" >&6 14816 echo $ECHO_N "(cached) $ECHO_C" >&6
14997else 14817else
14998 cat >conftest.$ac_ext <<_ACEOF 14818 cat >conftest.$ac_ext <<_ACEOF
14999#line 14999 "configure" 14819#line 14819 "configure"
15000#include "confdefs.h" 14820#include "confdefs.h"
15001#include <gssapi.h> 14821#include <gssapi.h>
15002_ACEOF 14822_ACEOF
15003if { (eval echo "$as_me:15003: \"$ac_cpp conftest.$ac_ext\"") >&5 14823if { (eval echo "$as_me:14823: \"$ac_cpp conftest.$ac_ext\"") >&5
15004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15005 ac_status=$? 14825 ac_status=$?
15006 egrep -v '^ *\+' conftest.er1 >conftest.err 14826 egrep -v '^ *\+' conftest.er1 >conftest.err
15007 rm -f conftest.er1 14827 rm -f conftest.er1
15008 cat conftest.err >&5 14828 cat conftest.err >&5
15009 echo "$as_me:15009: \$? = $ac_status" >&5 14829 echo "$as_me:14829: \$? = $ac_status" >&5
15010 (exit $ac_status); } >/dev/null; then 14830 (exit $ac_status); } >/dev/null; then
15011 if test -s conftest.err; then 14831 if test -s conftest.err; then
15012 ac_cpp_err=$ac_c_preproc_warn_flag 14832 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -15025,7 +14845,7 @@ else
15025fi 14845fi
15026rm -f conftest.err conftest.$ac_ext 14846rm -f conftest.err conftest.$ac_ext
15027fi 14847fi
15028echo "$as_me:15028: result: $ac_cv_header_gssapi_h" >&5 14848echo "$as_me:14848: result: $ac_cv_header_gssapi_h" >&5
15029echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6 14849echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
15030if test $ac_cv_header_gssapi_h = yes; then 14850if test $ac_cv_header_gssapi_h = yes; then
15031 : 14851 :
@@ -15036,23 +14856,23 @@ else
15036for ac_header in gssapi.h 14856for ac_header in gssapi.h
15037do 14857do
15038as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 14858as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15039echo "$as_me:15039: checking for $ac_header" >&5 14859echo "$as_me:14859: checking for $ac_header" >&5
15040echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 14860echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15041if eval "test \"\${$as_ac_Header+set}\" = set"; then 14861if eval "test \"\${$as_ac_Header+set}\" = set"; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6 14862 echo $ECHO_N "(cached) $ECHO_C" >&6
15043else 14863else
15044 cat >conftest.$ac_ext <<_ACEOF 14864 cat >conftest.$ac_ext <<_ACEOF
15045#line 15045 "configure" 14865#line 14865 "configure"
15046#include "confdefs.h" 14866#include "confdefs.h"
15047#include <$ac_header> 14867#include <$ac_header>
15048_ACEOF 14868_ACEOF
15049if { (eval echo "$as_me:15049: \"$ac_cpp conftest.$ac_ext\"") >&5 14869if { (eval echo "$as_me:14869: \"$ac_cpp conftest.$ac_ext\"") >&5
15050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15051 ac_status=$? 14871 ac_status=$?
15052 egrep -v '^ *\+' conftest.er1 >conftest.err 14872 egrep -v '^ *\+' conftest.er1 >conftest.err
15053 rm -f conftest.er1 14873 rm -f conftest.er1
15054 cat conftest.err >&5 14874 cat conftest.err >&5
15055 echo "$as_me:15055: \$? = $ac_status" >&5 14875 echo "$as_me:14875: \$? = $ac_status" >&5
15056 (exit $ac_status); } >/dev/null; then 14876 (exit $ac_status); } >/dev/null; then
15057 if test -s conftest.err; then 14877 if test -s conftest.err; then
15058 ac_cpp_err=$ac_c_preproc_warn_flag 14878 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -15071,7 +14891,7 @@ else
15071fi 14891fi
15072rm -f conftest.err conftest.$ac_ext 14892rm -f conftest.err conftest.$ac_ext
15073fi 14893fi
15074echo "$as_me:15074: result: `eval echo '${'$as_ac_Header'}'`" >&5 14894echo "$as_me:14894: result: `eval echo '${'$as_ac_Header'}'`" >&5
15075echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 14895echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15076if test `eval echo '${'$as_ac_Header'}'` = yes; then 14896if test `eval echo '${'$as_ac_Header'}'` = yes; then
15077 cat >>confdefs.h <<EOF 14897 cat >>confdefs.h <<EOF
@@ -15079,7 +14899,7 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
15079EOF 14899EOF
15080 14900
15081else 14901else
15082 { echo "$as_me:15082: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 14902 { echo "$as_me:14902: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
15083echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} 14903echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;}
15084 14904
15085fi 14905fi
@@ -15089,23 +14909,23 @@ fi
15089 14909
15090 oldCPP="$CPPFLAGS" 14910 oldCPP="$CPPFLAGS"
15091 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" 14911 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi"
15092 echo "$as_me:15092: checking for gssapi_krb5.h" >&5 14912 echo "$as_me:14912: checking for gssapi_krb5.h" >&5
15093echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6 14913echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6
15094if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 14914if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6 14915 echo $ECHO_N "(cached) $ECHO_C" >&6
15096else 14916else
15097 cat >conftest.$ac_ext <<_ACEOF 14917 cat >conftest.$ac_ext <<_ACEOF
15098#line 15098 "configure" 14918#line 14918 "configure"
15099#include "confdefs.h" 14919#include "confdefs.h"
15100#include <gssapi_krb5.h> 14920#include <gssapi_krb5.h>
15101_ACEOF 14921_ACEOF
15102if { (eval echo "$as_me:15102: \"$ac_cpp conftest.$ac_ext\"") >&5 14922if { (eval echo "$as_me:14922: \"$ac_cpp conftest.$ac_ext\"") >&5
15103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 14923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15104 ac_status=$? 14924 ac_status=$?
15105 egrep -v '^ *\+' conftest.er1 >conftest.err 14925 egrep -v '^ *\+' conftest.er1 >conftest.err
15106 rm -f conftest.er1 14926 rm -f conftest.er1
15107 cat conftest.err >&5 14927 cat conftest.err >&5
15108 echo "$as_me:15108: \$? = $ac_status" >&5 14928 echo "$as_me:14928: \$? = $ac_status" >&5
15109 (exit $ac_status); } >/dev/null; then 14929 (exit $ac_status); } >/dev/null; then
15110 if test -s conftest.err; then 14930 if test -s conftest.err; then
15111 ac_cpp_err=$ac_c_preproc_warn_flag 14931 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -15124,7 +14944,7 @@ else
15124fi 14944fi
15125rm -f conftest.err conftest.$ac_ext 14945rm -f conftest.err conftest.$ac_ext
15126fi 14946fi
15127echo "$as_me:15127: result: $ac_cv_header_gssapi_krb5_h" >&5 14947echo "$as_me:14947: result: $ac_cv_header_gssapi_krb5_h" >&5
15128echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6 14948echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
15129if test $ac_cv_header_gssapi_krb5_h = yes; then 14949if test $ac_cv_header_gssapi_krb5_h = yes; then
15130 : 14950 :
@@ -15169,7 +14989,7 @@ else
15169 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" 14989 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
15170 # Extract the first word of "xauth", so it can be a program name with args. 14990 # Extract the first word of "xauth", so it can be a program name with args.
15171set dummy xauth; ac_word=$2 14991set dummy xauth; ac_word=$2
15172echo "$as_me:15172: checking for $ac_word" >&5 14992echo "$as_me:14992: checking for $ac_word" >&5
15173echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14993echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15174if test "${ac_cv_path_xauth_path+set}" = set; then 14994if test "${ac_cv_path_xauth_path+set}" = set; then
15175 echo $ECHO_N "(cached) $ECHO_C" >&6 14995 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15186,7 +15006,7 @@ for ac_dir in $ac_dummy; do
15186 test -z "$ac_dir" && ac_dir=. 15006 test -z "$ac_dir" && ac_dir=.
15187 if $as_executable_p "$ac_dir/$ac_word"; then 15007 if $as_executable_p "$ac_dir/$ac_word"; then
15188 ac_cv_path_xauth_path="$ac_dir/$ac_word" 15008 ac_cv_path_xauth_path="$ac_dir/$ac_word"
15189 echo "$as_me:15189: found $ac_dir/$ac_word" >&5 15009 echo "$as_me:15009: found $ac_dir/$ac_word" >&5
15190 break 15010 break
15191fi 15011fi
15192done 15012done
@@ -15197,10 +15017,10 @@ fi
15197xauth_path=$ac_cv_path_xauth_path 15017xauth_path=$ac_cv_path_xauth_path
15198 15018
15199if test -n "$xauth_path"; then 15019if test -n "$xauth_path"; then
15200 echo "$as_me:15200: result: $xauth_path" >&5 15020 echo "$as_me:15020: result: $xauth_path" >&5
15201echo "${ECHO_T}$xauth_path" >&6 15021echo "${ECHO_T}$xauth_path" >&6
15202else 15022else
15203 echo "$as_me:15203: result: no" >&5 15023 echo "$as_me:15023: result: no" >&5
15204echo "${ECHO_T}no" >&6 15024echo "${ECHO_T}no" >&6
15205fi 15025fi
15206 15026
@@ -15244,13 +15064,13 @@ fi
15244 15064
15245if test -z "$no_dev_ptmx" ; then 15065if test -z "$no_dev_ptmx" ; then
15246 if test "x$disable_ptmx_check" != "xyes" ; then 15066 if test "x$disable_ptmx_check" != "xyes" ; then
15247 echo "$as_me:15247: checking for \"/dev/ptmx\"" >&5 15067 echo "$as_me:15067: checking for \"/dev/ptmx\"" >&5
15248echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 15068echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
15249if test "${ac_cv_file___dev_ptmx_+set}" = set; then 15069if test "${ac_cv_file___dev_ptmx_+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6 15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15251else 15071else
15252 test "$cross_compiling" = yes && 15072 test "$cross_compiling" = yes &&
15253 { { echo "$as_me:15253: error: cannot check for file existence when cross compiling" >&5 15073 { { echo "$as_me:15073: error: cannot check for file existence when cross compiling" >&5
15254echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 15074echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15255 { (exit 1); exit 1; }; } 15075 { (exit 1); exit 1; }; }
15256if test -r ""/dev/ptmx""; then 15076if test -r ""/dev/ptmx""; then
@@ -15259,7 +15079,7 @@ else
15259 ac_cv_file___dev_ptmx_=no 15079 ac_cv_file___dev_ptmx_=no
15260fi 15080fi
15261fi 15081fi
15262echo "$as_me:15262: result: $ac_cv_file___dev_ptmx_" >&5 15082echo "$as_me:15082: result: $ac_cv_file___dev_ptmx_" >&5
15263echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 15083echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
15264if test $ac_cv_file___dev_ptmx_ = yes; then 15084if test $ac_cv_file___dev_ptmx_ = yes; then
15265 15085
@@ -15273,13 +15093,13 @@ fi
15273 15093
15274 fi 15094 fi
15275fi 15095fi
15276echo "$as_me:15276: checking for \"/dev/ptc\"" >&5 15096echo "$as_me:15096: checking for \"/dev/ptc\"" >&5
15277echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 15097echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
15278if test "${ac_cv_file___dev_ptc_+set}" = set; then 15098if test "${ac_cv_file___dev_ptc_+set}" = set; then
15279 echo $ECHO_N "(cached) $ECHO_C" >&6 15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15280else 15100else
15281 test "$cross_compiling" = yes && 15101 test "$cross_compiling" = yes &&
15282 { { echo "$as_me:15282: error: cannot check for file existence when cross compiling" >&5 15102 { { echo "$as_me:15102: error: cannot check for file existence when cross compiling" >&5
15283echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 15103echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15284 { (exit 1); exit 1; }; } 15104 { (exit 1); exit 1; }; }
15285if test -r ""/dev/ptc""; then 15105if test -r ""/dev/ptc""; then
@@ -15288,7 +15108,7 @@ else
15288 ac_cv_file___dev_ptc_=no 15108 ac_cv_file___dev_ptc_=no
15289fi 15109fi
15290fi 15110fi
15291echo "$as_me:15291: result: $ac_cv_file___dev_ptc_" >&5 15111echo "$as_me:15111: result: $ac_cv_file___dev_ptc_" >&5
15292echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 15112echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
15293if test $ac_cv_file___dev_ptc_ = yes; then 15113if test $ac_cv_file___dev_ptc_ = yes; then
15294 15114
@@ -15311,7 +15131,7 @@ if test "${with_mantype+set}" = set; then
15311 MANTYPE=$withval 15131 MANTYPE=$withval
15312 ;; 15132 ;;
15313 *) 15133 *)
15314 { { echo "$as_me:15314: error: invalid man type: $withval" >&5 15134 { { echo "$as_me:15134: error: invalid man type: $withval" >&5
15315echo "$as_me: error: invalid man type: $withval" >&2;} 15135echo "$as_me: error: invalid man type: $withval" >&2;}
15316 { (exit 1); exit 1; }; } 15136 { (exit 1); exit 1; }; }
15317 ;; 15137 ;;
@@ -15324,7 +15144,7 @@ if test -z "$MANTYPE"; then
15324do 15144do
15325 # Extract the first word of "$ac_prog", so it can be a program name with args. 15145 # Extract the first word of "$ac_prog", so it can be a program name with args.
15326set dummy $ac_prog; ac_word=$2 15146set dummy $ac_prog; ac_word=$2
15327echo "$as_me:15327: checking for $ac_word" >&5 15147echo "$as_me:15147: checking for $ac_word" >&5
15328echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 15148echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15329if test "${ac_cv_path_NROFF+set}" = set; then 15149if test "${ac_cv_path_NROFF+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6 15150 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15341,7 +15161,7 @@ for ac_dir in $ac_dummy; do
15341 test -z "$ac_dir" && ac_dir=. 15161 test -z "$ac_dir" && ac_dir=.
15342 if $as_executable_p "$ac_dir/$ac_word"; then 15162 if $as_executable_p "$ac_dir/$ac_word"; then
15343 ac_cv_path_NROFF="$ac_dir/$ac_word" 15163 ac_cv_path_NROFF="$ac_dir/$ac_word"
15344 echo "$as_me:15344: found $ac_dir/$ac_word" >&5 15164 echo "$as_me:15164: found $ac_dir/$ac_word" >&5
15345 break 15165 break
15346fi 15166fi
15347done 15167done
@@ -15352,10 +15172,10 @@ fi
15352NROFF=$ac_cv_path_NROFF 15172NROFF=$ac_cv_path_NROFF
15353 15173
15354if test -n "$NROFF"; then 15174if test -n "$NROFF"; then
15355 echo "$as_me:15355: result: $NROFF" >&5 15175 echo "$as_me:15175: result: $NROFF" >&5
15356echo "${ECHO_T}$NROFF" >&6 15176echo "${ECHO_T}$NROFF" >&6
15357else 15177else
15358 echo "$as_me:15358: result: no" >&5 15178 echo "$as_me:15178: result: no" >&5
15359echo "${ECHO_T}no" >&6 15179echo "${ECHO_T}no" >&6
15360fi 15180fi
15361 15181
@@ -15412,10 +15232,10 @@ EOF
15412fi; 15232fi;
15413 15233
15414if test -z "$disable_shadow" ; then 15234if test -z "$disable_shadow" ; then
15415 echo "$as_me:15415: checking if the systems has expire shadow information" >&5 15235 echo "$as_me:15235: checking if the systems has expire shadow information" >&5
15416echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 15236echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6
15417 cat >conftest.$ac_ext <<_ACEOF 15237 cat >conftest.$ac_ext <<_ACEOF
15418#line 15418 "configure" 15238#line 15238 "configure"
15419#include "confdefs.h" 15239#include "confdefs.h"
15420 15240
15421#include <sys/types.h> 15241#include <sys/types.h>
@@ -15431,16 +15251,16 @@ main ()
15431} 15251}
15432_ACEOF 15252_ACEOF
15433rm -f conftest.$ac_objext 15253rm -f conftest.$ac_objext
15434if { (eval echo "$as_me:15434: \"$ac_compile\"") >&5 15254if { (eval echo "$as_me:15254: \"$ac_compile\"") >&5
15435 (eval $ac_compile) 2>&5 15255 (eval $ac_compile) 2>&5
15436 ac_status=$? 15256 ac_status=$?
15437 echo "$as_me:15437: \$? = $ac_status" >&5 15257 echo "$as_me:15257: \$? = $ac_status" >&5
15438 (exit $ac_status); } && 15258 (exit $ac_status); } &&
15439 { ac_try='test -s conftest.$ac_objext' 15259 { ac_try='test -s conftest.$ac_objext'
15440 { (eval echo "$as_me:15440: \"$ac_try\"") >&5 15260 { (eval echo "$as_me:15260: \"$ac_try\"") >&5
15441 (eval $ac_try) 2>&5 15261 (eval $ac_try) 2>&5
15442 ac_status=$? 15262 ac_status=$?
15443 echo "$as_me:15443: \$? = $ac_status" >&5 15263 echo "$as_me:15263: \$? = $ac_status" >&5
15444 (exit $ac_status); }; }; then 15264 (exit $ac_status); }; }; then
15445 sp_expire_available=yes 15265 sp_expire_available=yes
15446else 15266else
@@ -15451,14 +15271,14 @@ fi
15451rm -f conftest.$ac_objext conftest.$ac_ext 15271rm -f conftest.$ac_objext conftest.$ac_ext
15452 15272
15453 if test "x$sp_expire_available" = "xyes" ; then 15273 if test "x$sp_expire_available" = "xyes" ; then
15454 echo "$as_me:15454: result: yes" >&5 15274 echo "$as_me:15274: result: yes" >&5
15455echo "${ECHO_T}yes" >&6 15275echo "${ECHO_T}yes" >&6
15456 cat >>confdefs.h <<\EOF 15276 cat >>confdefs.h <<\EOF
15457#define HAS_SHADOW_EXPIRE 1 15277#define HAS_SHADOW_EXPIRE 1
15458EOF 15278EOF
15459 15279
15460 else 15280 else
15461 echo "$as_me:15461: result: no" >&5 15281 echo "$as_me:15281: result: no" >&5
15462echo "${ECHO_T}no" >&6 15282echo "${ECHO_T}no" >&6
15463 fi 15283 fi
15464fi 15284fi
@@ -15489,19 +15309,13 @@ fi;
15489fi 15309fi
15490 15310
15491# check for /etc/default/login and use it if present. 15311# check for /etc/default/login and use it if present.
15492# Check whether --enable-etc-default-login or --disable-etc-default-login was given. 15312echo "$as_me:15312: checking for \"/etc/default/login\"" >&5
15493if test "${enable_etc_default_login+set}" = set; then
15494 enableval="$enable_etc_default_login"
15495
15496else
15497
15498echo "$as_me:15498: checking for \"/etc/default/login\"" >&5
15499echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 15313echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6
15500if test "${ac_cv_file___etc_default_login_+set}" = set; then 15314if test "${ac_cv_file___etc_default_login_+set}" = set; then
15501 echo $ECHO_N "(cached) $ECHO_C" >&6 15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15502else 15316else
15503 test "$cross_compiling" = yes && 15317 test "$cross_compiling" = yes &&
15504 { { echo "$as_me:15504: error: cannot check for file existence when cross compiling" >&5 15318 { { echo "$as_me:15318: error: cannot check for file existence when cross compiling" >&5
15505echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 15319echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15506 { (exit 1); exit 1; }; } 15320 { (exit 1); exit 1; }; }
15507if test -r ""/etc/default/login""; then 15321if test -r ""/etc/default/login""; then
@@ -15510,7 +15324,7 @@ else
15510 ac_cv_file___etc_default_login_=no 15324 ac_cv_file___etc_default_login_=no
15511fi 15325fi
15512fi 15326fi
15513echo "$as_me:15513: result: $ac_cv_file___etc_default_login_" >&5 15327echo "$as_me:15327: result: $ac_cv_file___etc_default_login_" >&5
15514echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6 15328echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6
15515if test $ac_cv_file___etc_default_login_ = yes; then 15329if test $ac_cv_file___etc_default_login_ = yes; then
15516 external_path_file=/etc/default/login 15330 external_path_file=/etc/default/login
@@ -15523,8 +15337,6 @@ EOF
15523 15337
15524fi 15338fi
15525 15339
15526fi;
15527
15528if test $ac_cv_func_login_getcapbool = "yes" -a \ 15340if test $ac_cv_func_login_getcapbool = "yes" -a \
15529 $ac_cv_header_login_cap_h = "yes" ; then 15341 $ac_cv_header_login_cap_h = "yes" ; then
15530 external_path_file=/etc/login.conf 15342 external_path_file=/etc/login.conf
@@ -15538,7 +15350,7 @@ if test "${with_default_path+set}" = set; then
15538 withval="$with_default_path" 15350 withval="$with_default_path"
15539 15351
15540 if test "x$external_path_file" = "x/etc/login.conf" ; then 15352 if test "x$external_path_file" = "x/etc/login.conf" ; then
15541 { echo "$as_me:15541: WARNING: 15353 { echo "$as_me:15353: WARNING:
15542--with-default-path=PATH has no effect on this system. 15354--with-default-path=PATH has no effect on this system.
15543Edit /etc/login.conf instead." >&5 15355Edit /etc/login.conf instead." >&5
15544echo "$as_me: WARNING: 15356echo "$as_me: WARNING:
@@ -15546,7 +15358,7 @@ echo "$as_me: WARNING:
15546Edit /etc/login.conf instead." >&2;} 15358Edit /etc/login.conf instead." >&2;}
15547 elif test "x$withval" != "xno" ; then 15359 elif test "x$withval" != "xno" ; then
15548 if test ! -z "$external_path_file" ; then 15360 if test ! -z "$external_path_file" ; then
15549 { echo "$as_me:15549: WARNING: 15361 { echo "$as_me:15361: WARNING:
15550--with-default-path=PATH will only be used if PATH is not defined in 15362--with-default-path=PATH will only be used if PATH is not defined in
15551$external_path_file ." >&5 15363$external_path_file ." >&5
15552echo "$as_me: WARNING: 15364echo "$as_me: WARNING:
@@ -15559,11 +15371,11 @@ $external_path_file ." >&2;}
15559 15371
15560else 15372else
15561 if test "x$external_path_file" = "x/etc/login.conf" ; then 15373 if test "x$external_path_file" = "x/etc/login.conf" ; then
15562 { echo "$as_me:15562: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 15374 { echo "$as_me:15374: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
15563echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} 15375echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
15564 else 15376 else
15565 if test ! -z "$external_path_file" ; then 15377 if test ! -z "$external_path_file" ; then
15566 { echo "$as_me:15566: WARNING: 15378 { echo "$as_me:15378: WARNING:
15567If PATH is defined in $external_path_file, ensure the path to scp is included, 15379If PATH is defined in $external_path_file, ensure the path to scp is included,
15568otherwise scp will not work." >&5 15380otherwise scp will not work." >&5
15569echo "$as_me: WARNING: 15381echo "$as_me: WARNING:
@@ -15575,7 +15387,7 @@ otherwise scp will not work." >&2;}
15575 15387
15576else 15388else
15577 cat >conftest.$ac_ext <<_ACEOF 15389 cat >conftest.$ac_ext <<_ACEOF
15578#line 15578 "configure" 15390#line 15390 "configure"
15579#include "confdefs.h" 15391#include "confdefs.h"
15580 15392
15581/* find out what STDPATH is */ 15393/* find out what STDPATH is */
@@ -15612,15 +15424,15 @@ main()
15612 15424
15613_ACEOF 15425_ACEOF
15614rm -f conftest$ac_exeext 15426rm -f conftest$ac_exeext
15615if { (eval echo "$as_me:15615: \"$ac_link\"") >&5 15427if { (eval echo "$as_me:15427: \"$ac_link\"") >&5
15616 (eval $ac_link) 2>&5 15428 (eval $ac_link) 2>&5
15617 ac_status=$? 15429 ac_status=$?
15618 echo "$as_me:15618: \$? = $ac_status" >&5 15430 echo "$as_me:15430: \$? = $ac_status" >&5
15619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15620 { (eval echo "$as_me:15620: \"$ac_try\"") >&5 15432 { (eval echo "$as_me:15432: \"$ac_try\"") >&5
15621 (eval $ac_try) 2>&5 15433 (eval $ac_try) 2>&5
15622 ac_status=$? 15434 ac_status=$?
15623 echo "$as_me:15623: \$? = $ac_status" >&5 15435 echo "$as_me:15435: \$? = $ac_status" >&5
15624 (exit $ac_status); }; }; then 15436 (exit $ac_status); }; }; then
15625 user_path=`cat conftest.stdpath` 15437 user_path=`cat conftest.stdpath`
15626else 15438else
@@ -15644,7 +15456,7 @@ fi
15644 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 15456 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1
15645 if test $? -ne 0 ; then 15457 if test $? -ne 0 ; then
15646 user_path=$user_path:$t_bindir 15458 user_path=$user_path:$t_bindir
15647 echo "$as_me:15647: result: Adding $t_bindir to USER_PATH so scp will work" >&5 15459 echo "$as_me:15459: result: Adding $t_bindir to USER_PATH so scp will work" >&5
15648echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 15460echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
15649 fi 15461 fi
15650 fi 15462 fi
@@ -15674,7 +15486,7 @@ EOF
15674 15486
15675fi; 15487fi;
15676 15488
15677echo "$as_me:15677: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 15489echo "$as_me:15489: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
15678echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 15490echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6
15679IPV4_IN6_HACK_MSG="no" 15491IPV4_IN6_HACK_MSG="no"
15680 15492
@@ -15683,7 +15495,7 @@ if test "${with_4in6+set}" = set; then
15683 withval="$with_4in6" 15495 withval="$with_4in6"
15684 15496
15685 if test "x$withval" != "xno" ; then 15497 if test "x$withval" != "xno" ; then
15686 echo "$as_me:15686: result: yes" >&5 15498 echo "$as_me:15498: result: yes" >&5
15687echo "${ECHO_T}yes" >&6 15499echo "${ECHO_T}yes" >&6
15688 cat >>confdefs.h <<\EOF 15500 cat >>confdefs.h <<\EOF
15689#define IPV4_IN_IPV6 1 15501#define IPV4_IN_IPV6 1
@@ -15691,14 +15503,14 @@ EOF
15691 15503
15692 IPV4_IN6_HACK_MSG="yes" 15504 IPV4_IN6_HACK_MSG="yes"
15693 else 15505 else
15694 echo "$as_me:15694: result: no" >&5 15506 echo "$as_me:15506: result: no" >&5
15695echo "${ECHO_T}no" >&6 15507echo "${ECHO_T}no" >&6
15696 fi 15508 fi
15697 15509
15698else 15510else
15699 15511
15700 if test "x$inet6_default_4in6" = "xyes"; then 15512 if test "x$inet6_default_4in6" = "xyes"; then
15701 echo "$as_me:15701: result: yes (default)" >&5 15513 echo "$as_me:15513: result: yes (default)" >&5
15702echo "${ECHO_T}yes (default)" >&6 15514echo "${ECHO_T}yes (default)" >&6
15703 cat >>confdefs.h <<\EOF 15515 cat >>confdefs.h <<\EOF
15704#define IPV4_IN_IPV6 1 15516#define IPV4_IN_IPV6 1
@@ -15706,7 +15518,7 @@ EOF
15706 15518
15707 IPV4_IN6_HACK_MSG="yes" 15519 IPV4_IN6_HACK_MSG="yes"
15708 else 15520 else
15709 echo "$as_me:15709: result: no (default)" >&5 15521 echo "$as_me:15521: result: no (default)" >&5
15710echo "${ECHO_T}no (default)" >&6 15522echo "${ECHO_T}no (default)" >&6
15711 fi 15523 fi
15712 15524
@@ -15746,7 +15558,7 @@ if test "${with_pid_dir+set}" = set; then
15746 if test "x$withval" != "xno" ; then 15558 if test "x$withval" != "xno" ; then
15747 piddir=$withval 15559 piddir=$withval
15748 if test ! -d $piddir ; then 15560 if test ! -d $piddir ; then
15749 { echo "$as_me:15749: WARNING: ** no $piddir directory on this system **" >&5 15561 { echo "$as_me:15561: WARNING: ** no $piddir directory on this system **" >&5
15750echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} 15562echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
15751 fi 15563 fi
15752 fi 15564 fi
@@ -15869,10 +15681,10 @@ EOF
15869 15681
15870fi; 15682fi;
15871 15683
15872echo "$as_me:15872: checking if your system defines LASTLOG_FILE" >&5 15684echo "$as_me:15684: checking if your system defines LASTLOG_FILE" >&5
15873echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 15685echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6
15874cat >conftest.$ac_ext <<_ACEOF 15686cat >conftest.$ac_ext <<_ACEOF
15875#line 15875 "configure" 15687#line 15687 "configure"
15876#include "confdefs.h" 15688#include "confdefs.h"
15877 15689
15878#include <sys/types.h> 15690#include <sys/types.h>
@@ -15896,29 +15708,29 @@ main ()
15896} 15708}
15897_ACEOF 15709_ACEOF
15898rm -f conftest.$ac_objext 15710rm -f conftest.$ac_objext
15899if { (eval echo "$as_me:15899: \"$ac_compile\"") >&5 15711if { (eval echo "$as_me:15711: \"$ac_compile\"") >&5
15900 (eval $ac_compile) 2>&5 15712 (eval $ac_compile) 2>&5
15901 ac_status=$? 15713 ac_status=$?
15902 echo "$as_me:15902: \$? = $ac_status" >&5 15714 echo "$as_me:15714: \$? = $ac_status" >&5
15903 (exit $ac_status); } && 15715 (exit $ac_status); } &&
15904 { ac_try='test -s conftest.$ac_objext' 15716 { ac_try='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:15905: \"$ac_try\"") >&5 15717 { (eval echo "$as_me:15717: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5 15718 (eval $ac_try) 2>&5
15907 ac_status=$? 15719 ac_status=$?
15908 echo "$as_me:15908: \$? = $ac_status" >&5 15720 echo "$as_me:15720: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then 15721 (exit $ac_status); }; }; then
15910 echo "$as_me:15910: result: yes" >&5 15722 echo "$as_me:15722: result: yes" >&5
15911echo "${ECHO_T}yes" >&6 15723echo "${ECHO_T}yes" >&6
15912else 15724else
15913 echo "$as_me: failed program was:" >&5 15725 echo "$as_me: failed program was:" >&5
15914cat conftest.$ac_ext >&5 15726cat conftest.$ac_ext >&5
15915 15727
15916 echo "$as_me:15916: result: no" >&5 15728 echo "$as_me:15728: result: no" >&5
15917echo "${ECHO_T}no" >&6 15729echo "${ECHO_T}no" >&6
15918 echo "$as_me:15918: checking if your system defines _PATH_LASTLOG" >&5 15730 echo "$as_me:15730: checking if your system defines _PATH_LASTLOG" >&5
15919echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 15731echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6
15920 cat >conftest.$ac_ext <<_ACEOF 15732 cat >conftest.$ac_ext <<_ACEOF
15921#line 15921 "configure" 15733#line 15733 "configure"
15922#include "confdefs.h" 15734#include "confdefs.h"
15923 15735
15924#include <sys/types.h> 15736#include <sys/types.h>
@@ -15939,24 +15751,24 @@ main ()
15939} 15751}
15940_ACEOF 15752_ACEOF
15941rm -f conftest.$ac_objext 15753rm -f conftest.$ac_objext
15942if { (eval echo "$as_me:15942: \"$ac_compile\"") >&5 15754if { (eval echo "$as_me:15754: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>&5 15755 (eval $ac_compile) 2>&5
15944 ac_status=$? 15756 ac_status=$?
15945 echo "$as_me:15945: \$? = $ac_status" >&5 15757 echo "$as_me:15757: \$? = $ac_status" >&5
15946 (exit $ac_status); } && 15758 (exit $ac_status); } &&
15947 { ac_try='test -s conftest.$ac_objext' 15759 { ac_try='test -s conftest.$ac_objext'
15948 { (eval echo "$as_me:15948: \"$ac_try\"") >&5 15760 { (eval echo "$as_me:15760: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5 15761 (eval $ac_try) 2>&5
15950 ac_status=$? 15762 ac_status=$?
15951 echo "$as_me:15951: \$? = $ac_status" >&5 15763 echo "$as_me:15763: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then 15764 (exit $ac_status); }; }; then
15953 echo "$as_me:15953: result: yes" >&5 15765 echo "$as_me:15765: result: yes" >&5
15954echo "${ECHO_T}yes" >&6 15766echo "${ECHO_T}yes" >&6
15955else 15767else
15956 echo "$as_me: failed program was:" >&5 15768 echo "$as_me: failed program was:" >&5
15957cat conftest.$ac_ext >&5 15769cat conftest.$ac_ext >&5
15958 15770
15959 echo "$as_me:15959: result: no" >&5 15771 echo "$as_me:15771: result: no" >&5
15960echo "${ECHO_T}no" >&6 15772echo "${ECHO_T}no" >&6
15961 system_lastlog_path=no 15773 system_lastlog_path=no
15962 15774
@@ -15974,7 +15786,7 @@ if test -z "$conf_lastlog_location"; then
15974 fi 15786 fi
15975 done 15787 done
15976 if test -z "$conf_lastlog_location"; then 15788 if test -z "$conf_lastlog_location"; then
15977 { echo "$as_me:15977: WARNING: ** Cannot find lastlog **" >&5 15789 { echo "$as_me:15789: WARNING: ** Cannot find lastlog **" >&5
15978echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} 15790echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
15979 fi 15791 fi
15980 fi 15792 fi
@@ -15987,10 +15799,10 @@ EOF
15987 15799
15988fi 15800fi
15989 15801
15990echo "$as_me:15990: checking if your system defines UTMP_FILE" >&5 15802echo "$as_me:15802: checking if your system defines UTMP_FILE" >&5
15991echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 15803echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6
15992cat >conftest.$ac_ext <<_ACEOF 15804cat >conftest.$ac_ext <<_ACEOF
15993#line 15993 "configure" 15805#line 15805 "configure"
15994#include "confdefs.h" 15806#include "confdefs.h"
15995 15807
15996#include <sys/types.h> 15808#include <sys/types.h>
@@ -16008,23 +15820,23 @@ main ()
16008} 15820}
16009_ACEOF 15821_ACEOF
16010rm -f conftest.$ac_objext 15822rm -f conftest.$ac_objext
16011if { (eval echo "$as_me:16011: \"$ac_compile\"") >&5 15823if { (eval echo "$as_me:15823: \"$ac_compile\"") >&5
16012 (eval $ac_compile) 2>&5 15824 (eval $ac_compile) 2>&5
16013 ac_status=$? 15825 ac_status=$?
16014 echo "$as_me:16014: \$? = $ac_status" >&5 15826 echo "$as_me:15826: \$? = $ac_status" >&5
16015 (exit $ac_status); } && 15827 (exit $ac_status); } &&
16016 { ac_try='test -s conftest.$ac_objext' 15828 { ac_try='test -s conftest.$ac_objext'
16017 { (eval echo "$as_me:16017: \"$ac_try\"") >&5 15829 { (eval echo "$as_me:15829: \"$ac_try\"") >&5
16018 (eval $ac_try) 2>&5 15830 (eval $ac_try) 2>&5
16019 ac_status=$? 15831 ac_status=$?
16020 echo "$as_me:16020: \$? = $ac_status" >&5 15832 echo "$as_me:15832: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then 15833 (exit $ac_status); }; }; then
16022 echo "$as_me:16022: result: yes" >&5 15834 echo "$as_me:15834: result: yes" >&5
16023echo "${ECHO_T}yes" >&6 15835echo "${ECHO_T}yes" >&6
16024else 15836else
16025 echo "$as_me: failed program was:" >&5 15837 echo "$as_me: failed program was:" >&5
16026cat conftest.$ac_ext >&5 15838cat conftest.$ac_ext >&5
16027 echo "$as_me:16027: result: no" >&5 15839 echo "$as_me:15839: result: no" >&5
16028echo "${ECHO_T}no" >&6 15840echo "${ECHO_T}no" >&6
16029 system_utmp_path=no 15841 system_utmp_path=no
16030 15842
@@ -16052,10 +15864,10 @@ EOF
16052 15864
16053fi 15865fi
16054 15866
16055echo "$as_me:16055: checking if your system defines WTMP_FILE" >&5 15867echo "$as_me:15867: checking if your system defines WTMP_FILE" >&5
16056echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 15868echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6
16057cat >conftest.$ac_ext <<_ACEOF 15869cat >conftest.$ac_ext <<_ACEOF
16058#line 16058 "configure" 15870#line 15870 "configure"
16059#include "confdefs.h" 15871#include "confdefs.h"
16060 15872
16061#include <sys/types.h> 15873#include <sys/types.h>
@@ -16073,23 +15885,23 @@ main ()
16073} 15885}
16074_ACEOF 15886_ACEOF
16075rm -f conftest.$ac_objext 15887rm -f conftest.$ac_objext
16076if { (eval echo "$as_me:16076: \"$ac_compile\"") >&5 15888if { (eval echo "$as_me:15888: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>&5 15889 (eval $ac_compile) 2>&5
16078 ac_status=$? 15890 ac_status=$?
16079 echo "$as_me:16079: \$? = $ac_status" >&5 15891 echo "$as_me:15891: \$? = $ac_status" >&5
16080 (exit $ac_status); } && 15892 (exit $ac_status); } &&
16081 { ac_try='test -s conftest.$ac_objext' 15893 { ac_try='test -s conftest.$ac_objext'
16082 { (eval echo "$as_me:16082: \"$ac_try\"") >&5 15894 { (eval echo "$as_me:15894: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5 15895 (eval $ac_try) 2>&5
16084 ac_status=$? 15896 ac_status=$?
16085 echo "$as_me:16085: \$? = $ac_status" >&5 15897 echo "$as_me:15897: \$? = $ac_status" >&5
16086 (exit $ac_status); }; }; then 15898 (exit $ac_status); }; }; then
16087 echo "$as_me:16087: result: yes" >&5 15899 echo "$as_me:15899: result: yes" >&5
16088echo "${ECHO_T}yes" >&6 15900echo "${ECHO_T}yes" >&6
16089else 15901else
16090 echo "$as_me: failed program was:" >&5 15902 echo "$as_me: failed program was:" >&5
16091cat conftest.$ac_ext >&5 15903cat conftest.$ac_ext >&5
16092 echo "$as_me:16092: result: no" >&5 15904 echo "$as_me:15904: result: no" >&5
16093echo "${ECHO_T}no" >&6 15905echo "${ECHO_T}no" >&6
16094 system_wtmp_path=no 15906 system_wtmp_path=no
16095 15907
@@ -16117,10 +15929,10 @@ EOF
16117 15929
16118fi 15930fi
16119 15931
16120echo "$as_me:16120: checking if your system defines UTMPX_FILE" >&5 15932echo "$as_me:15932: checking if your system defines UTMPX_FILE" >&5
16121echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 15933echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6
16122cat >conftest.$ac_ext <<_ACEOF 15934cat >conftest.$ac_ext <<_ACEOF
16123#line 16123 "configure" 15935#line 15935 "configure"
16124#include "confdefs.h" 15936#include "confdefs.h"
16125 15937
16126#include <sys/types.h> 15938#include <sys/types.h>
@@ -16141,23 +15953,23 @@ main ()
16141} 15953}
16142_ACEOF 15954_ACEOF
16143rm -f conftest.$ac_objext 15955rm -f conftest.$ac_objext
16144if { (eval echo "$as_me:16144: \"$ac_compile\"") >&5 15956if { (eval echo "$as_me:15956: \"$ac_compile\"") >&5
16145 (eval $ac_compile) 2>&5 15957 (eval $ac_compile) 2>&5
16146 ac_status=$? 15958 ac_status=$?
16147 echo "$as_me:16147: \$? = $ac_status" >&5 15959 echo "$as_me:15959: \$? = $ac_status" >&5
16148 (exit $ac_status); } && 15960 (exit $ac_status); } &&
16149 { ac_try='test -s conftest.$ac_objext' 15961 { ac_try='test -s conftest.$ac_objext'
16150 { (eval echo "$as_me:16150: \"$ac_try\"") >&5 15962 { (eval echo "$as_me:15962: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5 15963 (eval $ac_try) 2>&5
16152 ac_status=$? 15964 ac_status=$?
16153 echo "$as_me:16153: \$? = $ac_status" >&5 15965 echo "$as_me:15965: \$? = $ac_status" >&5
16154 (exit $ac_status); }; }; then 15966 (exit $ac_status); }; }; then
16155 echo "$as_me:16155: result: yes" >&5 15967 echo "$as_me:15967: result: yes" >&5
16156echo "${ECHO_T}yes" >&6 15968echo "${ECHO_T}yes" >&6
16157else 15969else
16158 echo "$as_me: failed program was:" >&5 15970 echo "$as_me: failed program was:" >&5
16159cat conftest.$ac_ext >&5 15971cat conftest.$ac_ext >&5
16160 echo "$as_me:16160: result: no" >&5 15972 echo "$as_me:15972: result: no" >&5
16161echo "${ECHO_T}no" >&6 15973echo "${ECHO_T}no" >&6
16162 system_utmpx_path=no 15974 system_utmpx_path=no
16163 15975
@@ -16177,10 +15989,10 @@ EOF
16177 15989
16178fi 15990fi
16179 15991
16180echo "$as_me:16180: checking if your system defines WTMPX_FILE" >&5 15992echo "$as_me:15992: checking if your system defines WTMPX_FILE" >&5
16181echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 15993echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6
16182cat >conftest.$ac_ext <<_ACEOF 15994cat >conftest.$ac_ext <<_ACEOF
16183#line 16183 "configure" 15995#line 15995 "configure"
16184#include "confdefs.h" 15996#include "confdefs.h"
16185 15997
16186#include <sys/types.h> 15998#include <sys/types.h>
@@ -16201,23 +16013,23 @@ main ()
16201} 16013}
16202_ACEOF 16014_ACEOF
16203rm -f conftest.$ac_objext 16015rm -f conftest.$ac_objext
16204if { (eval echo "$as_me:16204: \"$ac_compile\"") >&5 16016if { (eval echo "$as_me:16016: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>&5 16017 (eval $ac_compile) 2>&5
16206 ac_status=$? 16018 ac_status=$?
16207 echo "$as_me:16207: \$? = $ac_status" >&5 16019 echo "$as_me:16019: \$? = $ac_status" >&5
16208 (exit $ac_status); } && 16020 (exit $ac_status); } &&
16209 { ac_try='test -s conftest.$ac_objext' 16021 { ac_try='test -s conftest.$ac_objext'
16210 { (eval echo "$as_me:16210: \"$ac_try\"") >&5 16022 { (eval echo "$as_me:16022: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5 16023 (eval $ac_try) 2>&5
16212 ac_status=$? 16024 ac_status=$?
16213 echo "$as_me:16213: \$? = $ac_status" >&5 16025 echo "$as_me:16025: \$? = $ac_status" >&5
16214 (exit $ac_status); }; }; then 16026 (exit $ac_status); }; }; then
16215 echo "$as_me:16215: result: yes" >&5 16027 echo "$as_me:16027: result: yes" >&5
16216echo "${ECHO_T}yes" >&6 16028echo "${ECHO_T}yes" >&6
16217else 16029else
16218 echo "$as_me: failed program was:" >&5 16030 echo "$as_me: failed program was:" >&5
16219cat conftest.$ac_ext >&5 16031cat conftest.$ac_ext >&5
16220 echo "$as_me:16220: result: no" >&5 16032 echo "$as_me:16032: result: no" >&5
16221echo "${ECHO_T}no" >&6 16033echo "${ECHO_T}no" >&6
16222 system_wtmpx_path=no 16034 system_wtmpx_path=no
16223 16035
@@ -16239,7 +16051,7 @@ fi
16239 16051
16240if test ! -z "$blibpath" ; then 16052if test ! -z "$blibpath" ; then
16241 LDFLAGS="$LDFLAGS $blibflags$blibpath" 16053 LDFLAGS="$LDFLAGS $blibflags$blibpath"
16242 { echo "$as_me:16242: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 16054 { echo "$as_me:16054: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
16243echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} 16055echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;}
16244fi 16056fi
16245 16057
@@ -16331,7 +16143,7 @@ DEFS=-DHAVE_CONFIG_H
16331: ${CONFIG_STATUS=./config.status} 16143: ${CONFIG_STATUS=./config.status}
16332ac_clean_files_save=$ac_clean_files 16144ac_clean_files_save=$ac_clean_files
16333ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16145ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16334{ echo "$as_me:16334: creating $CONFIG_STATUS" >&5 16146{ echo "$as_me:16146: creating $CONFIG_STATUS" >&5
16335echo "$as_me: creating $CONFIG_STATUS" >&6;} 16147echo "$as_me: creating $CONFIG_STATUS" >&6;}
16336cat >$CONFIG_STATUS <<_ACEOF 16148cat >$CONFIG_STATUS <<_ACEOF
16337#! $SHELL 16149#! $SHELL
@@ -16504,7 +16316,7 @@ cat >>$CONFIG_STATUS <<\EOF
16504 echo "$ac_cs_version"; exit 0 ;; 16316 echo "$ac_cs_version"; exit 0 ;;
16505 --he | --h) 16317 --he | --h)
16506 # Conflict between --help and --header 16318 # Conflict between --help and --header
16507 { { echo "$as_me:16507: error: ambiguous option: $1 16319 { { echo "$as_me:16319: error: ambiguous option: $1
16508Try \`$0 --help' for more information." >&5 16320Try \`$0 --help' for more information." >&5
16509echo "$as_me: error: ambiguous option: $1 16321echo "$as_me: error: ambiguous option: $1
16510Try \`$0 --help' for more information." >&2;} 16322Try \`$0 --help' for more information." >&2;}
@@ -16523,7 +16335,7 @@ Try \`$0 --help' for more information." >&2;}
16523 ac_need_defaults=false;; 16335 ac_need_defaults=false;;
16524 16336
16525 # This is an error. 16337 # This is an error.
16526 -*) { { echo "$as_me:16526: error: unrecognized option: $1 16338 -*) { { echo "$as_me:16338: error: unrecognized option: $1
16527Try \`$0 --help' for more information." >&5 16339Try \`$0 --help' for more information." >&5
16528echo "$as_me: error: unrecognized option: $1 16340echo "$as_me: error: unrecognized option: $1
16529Try \`$0 --help' for more information." >&2;} 16341Try \`$0 --help' for more information." >&2;}
@@ -16563,7 +16375,7 @@ do
16563 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; 16375 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;;
16564 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; 16376 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
16565 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 16377 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16566 *) { { echo "$as_me:16566: error: invalid argument: $ac_config_target" >&5 16378 *) { { echo "$as_me:16378: error: invalid argument: $ac_config_target" >&5
16567echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 16379echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16568 { (exit 1); exit 1; }; };; 16380 { (exit 1); exit 1; }; };;
16569 esac 16381 esac
@@ -16819,7 +16631,7 @@ done; }
16819 esac 16631 esac
16820 16632
16821 if test x"$ac_file" != x-; then 16633 if test x"$ac_file" != x-; then
16822 { echo "$as_me:16822: creating $ac_file" >&5 16634 { echo "$as_me:16634: creating $ac_file" >&5
16823echo "$as_me: creating $ac_file" >&6;} 16635echo "$as_me: creating $ac_file" >&6;}
16824 rm -f "$ac_file" 16636 rm -f "$ac_file"
16825 fi 16637 fi
@@ -16837,7 +16649,7 @@ echo "$as_me: creating $ac_file" >&6;}
16837 -) echo $tmp/stdin ;; 16649 -) echo $tmp/stdin ;;
16838 [\\/$]*) 16650 [\\/$]*)
16839 # Absolute (can't be DOS-style, as IFS=:) 16651 # Absolute (can't be DOS-style, as IFS=:)
16840 test -f "$f" || { { echo "$as_me:16840: error: cannot find input file: $f" >&5 16652 test -f "$f" || { { echo "$as_me:16652: error: cannot find input file: $f" >&5
16841echo "$as_me: error: cannot find input file: $f" >&2;} 16653echo "$as_me: error: cannot find input file: $f" >&2;}
16842 { (exit 1); exit 1; }; } 16654 { (exit 1); exit 1; }; }
16843 echo $f;; 16655 echo $f;;
@@ -16850,7 +16662,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
16850 echo $srcdir/$f 16662 echo $srcdir/$f
16851 else 16663 else
16852 # /dev/null tree 16664 # /dev/null tree
16853 { { echo "$as_me:16853: error: cannot find input file: $f" >&5 16665 { { echo "$as_me:16665: error: cannot find input file: $f" >&5
16854echo "$as_me: error: cannot find input file: $f" >&2;} 16666echo "$as_me: error: cannot find input file: $f" >&2;}
16855 { (exit 1); exit 1; }; } 16667 { (exit 1); exit 1; }; }
16856 fi;; 16668 fi;;
@@ -16911,7 +16723,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16911 * ) ac_file_in=$ac_file.in ;; 16723 * ) ac_file_in=$ac_file.in ;;
16912 esac 16724 esac
16913 16725
16914 test x"$ac_file" != x- && { echo "$as_me:16914: creating $ac_file" >&5 16726 test x"$ac_file" != x- && { echo "$as_me:16726: creating $ac_file" >&5
16915echo "$as_me: creating $ac_file" >&6;} 16727echo "$as_me: creating $ac_file" >&6;}
16916 16728
16917 # First look for the input files in the build tree, otherwise in the 16729 # First look for the input files in the build tree, otherwise in the
@@ -16922,7 +16734,7 @@ echo "$as_me: creating $ac_file" >&6;}
16922 -) echo $tmp/stdin ;; 16734 -) echo $tmp/stdin ;;
16923 [\\/$]*) 16735 [\\/$]*)
16924 # Absolute (can't be DOS-style, as IFS=:) 16736 # Absolute (can't be DOS-style, as IFS=:)
16925 test -f "$f" || { { echo "$as_me:16925: error: cannot find input file: $f" >&5 16737 test -f "$f" || { { echo "$as_me:16737: error: cannot find input file: $f" >&5
16926echo "$as_me: error: cannot find input file: $f" >&2;} 16738echo "$as_me: error: cannot find input file: $f" >&2;}
16927 { (exit 1); exit 1; }; } 16739 { (exit 1); exit 1; }; }
16928 echo $f;; 16740 echo $f;;
@@ -16935,7 +16747,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
16935 echo $srcdir/$f 16747 echo $srcdir/$f
16936 else 16748 else
16937 # /dev/null tree 16749 # /dev/null tree
16938 { { echo "$as_me:16938: error: cannot find input file: $f" >&5 16750 { { echo "$as_me:16750: error: cannot find input file: $f" >&5
16939echo "$as_me: error: cannot find input file: $f" >&2;} 16751echo "$as_me: error: cannot find input file: $f" >&2;}
16940 { (exit 1); exit 1; }; } 16752 { (exit 1); exit 1; }; }
16941 fi;; 16753 fi;;
@@ -17052,7 +16864,7 @@ cat >>$CONFIG_STATUS <<\EOF
17052 rm -f $tmp/in 16864 rm -f $tmp/in
17053 if test x"$ac_file" != x-; then 16865 if test x"$ac_file" != x-; then
17054 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 16866 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
17055 { echo "$as_me:17055: $ac_file is unchanged" >&5 16867 { echo "$as_me:16867: $ac_file is unchanged" >&5
17056echo "$as_me: $ac_file is unchanged" >&6;} 16868echo "$as_me: $ac_file is unchanged" >&6;}
17057 else 16869 else
17058 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16870 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
diff --git a/configure.ac b/configure.ac
index 916dc1075..7ddcb777f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.154.2.11 2003/09/23 09:24:21 djm Exp $ 1# $Id: configure.ac,v 1.154.2.1 2003/09/16 05:48:15 tim Exp $
2 2
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -132,9 +132,6 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
132 [AC_MSG_RESULT(buggy) 132 [AC_MSG_RESULT(buggy)
133 AC_DEFINE(BROKEN_GETADDRINFO)], 133 AC_DEFINE(BROKEN_GETADDRINFO)],
134 [AC_MSG_RESULT(assume it is working)]) 134 [AC_MSG_RESULT(assume it is working)])
135 AC_DEFINE(SETEUID_BREAKS_SETUID)
136 AC_DEFINE(BROKEN_SETREUID)
137 AC_DEFINE(BROKEN_SETREGID)
138 ;; 135 ;;
139*-*-hpux10.26) 136*-*-hpux10.26)
140 if test -z "$GCC"; then 137 if test -z "$GCC"; then
@@ -201,9 +198,6 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
201 AC_DEFINE(WITH_IRIX_AUDIT) 198 AC_DEFINE(WITH_IRIX_AUDIT)
202 AC_CHECK_FUNC(jlimit_startjob, [AC_DEFINE(WITH_IRIX_JOBS)]) 199 AC_CHECK_FUNC(jlimit_startjob, [AC_DEFINE(WITH_IRIX_JOBS)])
203 AC_DEFINE(BROKEN_INET_NTOA) 200 AC_DEFINE(BROKEN_INET_NTOA)
204 AC_DEFINE(SETEUID_BREAKS_SETUID)
205 AC_DEFINE(BROKEN_SETREUID)
206 AC_DEFINE(BROKEN_SETREGID)
207 AC_DEFINE(WITH_ABBREV_NO_TTY) 201 AC_DEFINE(WITH_ABBREV_NO_TTY)
208 AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*") 202 AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*")
209 ;; 203 ;;
@@ -233,11 +227,6 @@ mips-sony-bsd|mips-sony-newsos4)
233*-*-freebsd*) 227*-*-freebsd*)
234 check_for_libcrypt_later=1 228 check_for_libcrypt_later=1
235 ;; 229 ;;
236*-*-bsdi*)
237 AC_DEFINE(SETEUID_BREAKS_SETUID)
238 AC_DEFINE(BROKEN_SETREUID)
239 AC_DEFINE(BROKEN_SETREGID)
240 ;;
241*-next-*) 230*-next-*)
242 conf_lastlog_location="/usr/adm/lastlog" 231 conf_lastlog_location="/usr/adm/lastlog"
243 conf_utmp_location=/etc/utmp 232 conf_utmp_location=/etc/utmp
@@ -289,9 +278,6 @@ mips-sony-bsd|mips-sony-newsos4)
289 LIBS="$LIBS -lc89" 278 LIBS="$LIBS -lc89"
290 AC_DEFINE(USE_PIPES) 279 AC_DEFINE(USE_PIPES)
291 AC_DEFINE(SSHD_ACQUIRES_CTTY) 280 AC_DEFINE(SSHD_ACQUIRES_CTTY)
292 AC_DEFINE(SETEUID_BREAKS_SETUID)
293 AC_DEFINE(BROKEN_SETREUID)
294 AC_DEFINE(BROKEN_SETREGID)
295 ;; 281 ;;
296*-sni-sysv*) 282*-sni-sysv*)
297 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 283 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
@@ -409,9 +395,6 @@ mips-sony-bsd|mips-sony-newsos4)
409 fi 395 fi
410 AC_DEFINE(DISABLE_FD_PASSING) 396 AC_DEFINE(DISABLE_FD_PASSING)
411 AC_DEFINE(BROKEN_GETADDRINFO) 397 AC_DEFINE(BROKEN_GETADDRINFO)
412 AC_DEFINE(SETEUID_BREAKS_SETUID)
413 AC_DEFINE(BROKEN_SETREUID)
414 AC_DEFINE(BROKEN_SETREGID)
415 AC_DEFINE(LOCKED_PASSWD_SUBSTR, "Nologin") 398 AC_DEFINE(LOCKED_PASSWD_SUBSTR, "Nologin")
416 ;; 399 ;;
417 400
@@ -480,7 +463,7 @@ AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \
480 sys/cdefs.h sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ 463 sys/cdefs.h sys/mman.h sys/pstat.h sys/select.h sys/stat.h \
481 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ 464 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \
482 sys/un.h time.h tmpdir.h ttyent.h usersec.h \ 465 sys/un.h time.h tmpdir.h ttyent.h usersec.h \
483 util.h utime.h utmp.h utmpx.h vis.h) 466 util.h utime.h utmp.h utmpx.h)
484 467
485# Checks for libraries. 468# Checks for libraries.
486AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match)) 469AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match))
@@ -731,7 +714,7 @@ dnl Checks for library functions. Please keep in alphabetical order
731AC_CHECK_FUNCS(\ 714AC_CHECK_FUNCS(\
732 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \ 715 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \
733 bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ 716 bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
734 getaddrinfo getcwd getgrouplist getnameinfo getopt \ 717 gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
735 getpeereid _getpty getrlimit getttyent glob inet_aton \ 718 getpeereid _getpty getrlimit getttyent glob inet_aton \
736 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ 719 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
737 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ 720 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \
@@ -743,21 +726,6 @@ AC_CHECK_FUNCS(\
743 truncate utimes vhangup vsnprintf waitpid \ 726 truncate utimes vhangup vsnprintf waitpid \
744) 727)
745 728
746# IRIX has a const char return value for gai_strerror()
747AC_CHECK_FUNCS(gai_strerror,[
748 AC_DEFINE(HAVE_GAI_STRERROR)
749 AC_TRY_COMPILE([
750#include <sys/types.h>
751#include <sys/socket.h>
752#include <netdb.h>
753
754const char *gai_strerror(int);],[
755char *str;
756
757str = gai_strerror(0);],[
758 AC_DEFINE(HAVE_CONST_GAI_STRERROR_PROTO, 1,
759 [Define if gai_strerror() returns const char *])])])
760
761AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP)) 729AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP))
762 730
763dnl Make sure prototypes are defined for these before using them. 731dnl Make sure prototypes are defined for these before using them.
@@ -2215,15 +2183,11 @@ else
2215fi 2183fi
2216 2184
2217# check for /etc/default/login and use it if present. 2185# check for /etc/default/login and use it if present.
2218AC_ARG_ENABLE(etc-default-login,
2219 [ --disable-etc-default-login Disable using PATH from /etc/default/login [no]],,
2220[
2221AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ]) 2186AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ])
2222 2187
2223if test "x$external_path_file" = "x/etc/default/login"; then 2188if test "x$external_path_file" = "x/etc/default/login"; then
2224 AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN) 2189 AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN)
2225fi 2190fi
2226])
2227 2191
2228dnl BSD systems use /etc/login.conf so --with-default-path= has no effect 2192dnl BSD systems use /etc/login.conf so --with-default-path= has no effect
2229if test $ac_cv_func_login_getcapbool = "yes" -a \ 2193if test $ac_cv_func_login_getcapbool = "yes" -a \
diff --git a/contrib/.cvsignore b/contrib/.cvsignore
new file mode 100644
index 000000000..944ad9041
--- /dev/null
+++ b/contrib/.cvsignore
@@ -0,0 +1,2 @@
1gnome-ssh-askpass1
2gnome-ssh-askpass2
diff --git a/contrib/caldera/openssh.spec b/contrib/caldera/openssh.spec
index c58b1d4ff..97d6adf51 100644
--- a/contrib/caldera/openssh.spec
+++ b/contrib/caldera/openssh.spec
@@ -17,7 +17,7 @@
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 3.7.1p2 20 %define version 3.7p1
21 %define cvs %{nil} 21 %define cvs %{nil}
22 %define release 1 22 %define release 1
23%else 23%else
@@ -364,4 +364,4 @@ fi
364* Mon Jan 01 1998 ... 364* Mon Jan 01 1998 ...
365Template Version: 1.31 365Template Version: 1.31
366 366
367$Id: openssh.spec,v 1.43.2.4 2003/09/23 09:26:52 djm Exp $ 367$Id: openssh.spec,v 1.43.2.2 2003/09/16 06:02:40 djm Exp $
diff --git a/contrib/gnome-ssh-askpass.c b/contrib/gnome-ssh-askpass.c
deleted file mode 100644
index 7cece5620..000000000
--- a/contrib/gnome-ssh-askpass.c
+++ /dev/null
@@ -1,168 +0,0 @@
1/*
2 * Copyright (c) 2000-2002 Damien Miller. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 *
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25/*
26 * This is a simple GNOME SSH passphrase grabber. To use it, set the
27 * environment variable SSH_ASKPASS to point to the location of
28 * gnome-ssh-askpass before calling "ssh-add < /dev/null".
29 *
30 * There is only two run-time options: if you set the environment variable
31 * "GNOME_SSH_ASKPASS_GRAB_SERVER=true" then gnome-ssh-askpass will grab
32 * the X server. If you set "GNOME_SSH_ASKPASS_GRAB_POINTER=true", then the
33 * pointer will be grabbed too. These may have some benefit to security if
34 * you don't trust your X server. We grab the keyboard always.
35 */
36
37/*
38 * Compile with:
39 *
40 * cc `gnome-config --cflags gnome gnomeui` \
41 * gnome-ssh-askpass.c -o gnome-ssh-askpass \
42 * `gnome-config --libs gnome gnomeui`
43 *
44 */
45
46#include <stdlib.h>
47#include <stdio.h>
48#include <string.h>
49#include <gnome.h>
50#include <X11/Xlib.h>
51#include <gdk/gdkx.h>
52
53void
54report_failed_grab (void)
55{
56 GtkWidget *err;
57
58 err = gnome_message_box_new("Could not grab keyboard or mouse.\n"
59 "A malicious client may be eavesdropping on your session.",
60 GNOME_MESSAGE_BOX_ERROR, "EXIT", NULL);
61 gtk_window_set_position(GTK_WINDOW(err), GTK_WIN_POS_CENTER);
62 gtk_object_set(GTK_OBJECT(err), "type", GTK_WINDOW_POPUP, NULL);
63
64 gnome_dialog_run_and_close(GNOME_DIALOG(err));
65}
66
67void
68passphrase_dialog(char *message)
69{
70 char *passphrase;
71 char **messages;
72 int result, i, grab_server, grab_pointer;
73 GtkWidget *dialog, *entry, *label;
74
75 grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL);
76 grab_pointer = (getenv("GNOME_SSH_ASKPASS_GRAB_POINTER") != NULL);
77
78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK,
79 GNOME_STOCK_BUTTON_CANCEL, NULL);
80
81 messages = g_strsplit(message, "\\n", 0);
82 if (messages)
83 for(i = 0; messages[i]; i++) {
84 label = gtk_label_new(messages[i]);
85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox),
86 label, FALSE, FALSE, 0);
87 }
88
89 entry = gtk_entry_new();
90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE,
91 FALSE, 0);
92 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE);
93 gtk_widget_grab_focus(entry);
94
95 /* Center window and prepare for grab */
96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL);
97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0);
98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE);
100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE);
101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)->vbox),
102 GNOME_PAD);
103 gtk_widget_show_all(dialog);
104
105 /* Grab focus */
106 if (grab_server)
107 XGrabServer(GDK_DISPLAY());
108 if (grab_pointer && gdk_pointer_grab(dialog->window, TRUE, 0,
109 NULL, NULL, GDK_CURRENT_TIME))
110 goto nograb;
111 if (gdk_keyboard_grab(dialog->window, FALSE, GDK_CURRENT_TIME))
112 goto nograbkb;
113
114 /* Make <enter> close dialog */
115 gnome_dialog_editable_enters(GNOME_DIALOG(dialog), GTK_EDITABLE(entry));
116
117 /* Run dialog */
118 result = gnome_dialog_run(GNOME_DIALOG(dialog));
119
120 /* Ungrab */
121 if (grab_server)
122 XUngrabServer(GDK_DISPLAY());
123 if (grab_pointer)
124 gdk_pointer_ungrab(GDK_CURRENT_TIME);
125 gdk_keyboard_ungrab(GDK_CURRENT_TIME);
126 gdk_flush();
127
128 /* Report passphrase if user selected OK */
129 passphrase = gtk_entry_get_text(GTK_ENTRY(entry));
130 if (result == 0)
131 puts(passphrase);
132
133 /* Zero passphrase in memory */
134 memset(passphrase, '\0', strlen(passphrase));
135 gtk_entry_set_text(GTK_ENTRY(entry), passphrase);
136
137 gnome_dialog_close(GNOME_DIALOG(dialog));
138 return;
139
140 /* At least one grab failed - ungrab what we got, and report
141 the failure to the user. Note that XGrabServer() cannot
142 fail. */
143 nograbkb:
144 gdk_pointer_ungrab(GDK_CURRENT_TIME);
145 nograb:
146 if (grab_server)
147 XUngrabServer(GDK_DISPLAY());
148 gnome_dialog_close(GNOME_DIALOG(dialog));
149
150 report_failed_grab();
151}
152
153int
154main(int argc, char **argv)
155{
156 char *message;
157
158 gnome_init("GNOME ssh-askpass", "0.1", argc, argv);
159
160 if (argc == 2)
161 message = argv[1];
162 else
163 message = "Enter your OpenSSH passphrase:";
164
165 setvbuf(stdout, 0, _IONBF, 0);
166 passphrase_dialog(message);
167 return 0;
168}
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 20ccb6fac..ce7c564c3 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -1,4 +1,4 @@
1%define ver 3.7.1p2 1%define ver 3.7p1
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 940bc4ade..ca7437bd6 100644
--- a/contrib/suse/openssh.spec
+++ b/contrib/suse/openssh.spec
@@ -1,6 +1,6 @@
1Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation 1Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation
2Name: openssh 2Name: openssh
3Version: 3.7.1p2 3Version: 3.7p1
4URL: http://www.openssh.com/ 4URL: http://www.openssh.com/
5Release: 1 5Release: 1
6Source0: openssh-%{version}.tar.gz 6Source0: openssh-%{version}.tar.gz
diff --git a/debian/.cvsignore b/debian/.cvsignore
new file mode 100644
index 000000000..907978a06
--- /dev/null
+++ b/debian/.cvsignore
@@ -0,0 +1,6 @@
1files
2ssh-askpass-gnome
3templates
4tmp
5*.debhelper
6*substvars
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 000000000..4b6875d2c
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,229 @@
1OpenSSH for Debian
2------------------
3
4Although this package is widely referred to as OpenSSH, it is actually
5a branch of an early version of ssh which has been tidied up by the
6OpenBSD folks.
7
8It has been decided that this version should have the privilege of
9carrying the ``ssh'' name in Debian, since it is the only version of
10ssh that is going to make it into Debian proper, being the only one
11that complies with the Debian Free Software Guidelines.
12
13If you were expecting to get the non-free version of ssh (1.2.27 or
14whatever) when you installed this package, then you're out of luck, as
15Debian don't ship it.
16
17=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
18
19UPGRADE ISSUES
20==============
21
22Privilege Separation
23--------------------
24
25As of 3.3, openssh has employed privilege separation to reduce the
26quantity of code that runs as root, thereby reducing the impact of
27some security holes in sshd.
28
29Unfortunately, privilege separation interacts badly with PAM. Any PAM
30session modules that need to run as root (pam_mkhomedir, for example)
31will fail, and PAM keyboard-interactive authentication won't work.
32
33Privilege separation is turned on by default, so if you decide you
34want it turned off, you need to add "UsePrivilegeSeparation no" to
35/etc/ssh/sshd_config
36
37PermitRootLogin set to yes
38--------------------------
39
40This is now the default setting (in line with upstream), and people
41who asked for an automatically-generated configuration file when
42upgrading from potato (or on a new install) will have this setting in
43their /etc/ssh/sshd_config file.
44
45Should you wish to change this setting, edit /etc/ssh/sshd_config, and
46change:
47PermitRootLogin yes
48to:
49PermitRootLogin no
50
51Having PermitRootLogin set to yes means that an attacker that knows
52the root password can ssh in directly (without having to go via a user
53account). If you set it to no, then they must compromise a normal user
54account. In the vast majority of cases, this does not give added
55security; remember that any account you su to root from is equivalent
56to root - compromising this account gives an attacker access to root
57easily. If you only ever log in as root from the physical console,
58then you probably want to set this value to no.
59
60As an aside, PermitRootLogin can also be set to "without-password" or
61"forced-commands-only" - see sshd(8) for more details.
62
63DO NOT FILE BUG REPORTS SAYING YOU THINK THIS DEFAULT IS INCORRECT!
64
65The argument above is somewhat condensed; I have had this discussion
66at great length with many people. If you think the default is
67incorrect, and feel strongly enough to want to argue with me about it,
68then send me email to matthew@debian.org. I will close bug reports
69claiming the default is incorrect.
70
71SSH now uses protocol 2 by default
72----------------------------------
73
74This means all your keyfiles you used for protocol version 1 need to
75be re-generated. The server keys are done automatically, but for RSA
76authentication, please read the ssh-keygen manpage.
77
78If you have an automatically generated configuration file, and decide
79at a later stage that you do want to support protocol version 1 (not
80recommended, but note that the ssh client shipped with Debian potato
81only supported protocol version 1), then you need to do the following:
82
83Change /etc/ssh/sshd_config such that:
84Protocol 2
85becomes:
86Protocol 2,1
87Also add the line:
88HostKey /etc/ssh/ssh_host_key
89
90If you do not already have an RSA1 host key in /etc/ssh/ssh_host_key,
91you will need to generate one. To do so, run this command as root:
92
93 ssh-keygen -f /etc/ssh/ssh_host_key -N '' -t rsa1
94
95X11 Forwarding
96--------------
97
98ssh's default for ForwardX11 has been changed to ``no'' because it has
99been pointed out that logging into remote systems administered by
100untrusted people is likely to open you up to X11 attacks, so you
101should have to actively decide that you trust the remote machine's
102root, before enabling X11. I strongly recommend that you do this on a
103machine-by-machine basis, rather than just enabling it in the default
104host settings.
105
106In order for X11 forwarding to work, you need to install xauth on the
107server. In Debian this is in the xbase-clients package.
108
109As of OpenSSH 3.1, the remote $DISPLAY uses localhost by default to reduce
110the security risks of X11 forwarding. Look up X11UseLocalhost in
111sshd_config(8) if this is a problem.
112
113Fallback to RSH
114---------------
115
116The default for this setting has been changed from Yes to No, for
117security reasons, and to stop the delay attempting to rsh to machines
118that don't offer the service. Simply switch it back on in either
119/etc/ssh/ssh_config or ~/.ssh/config for those machines that you need
120it for.
121
122Setgid ssh-agent and environment variables
123------------------------------------------
124
125As of version 1:3.5p1-1, ssh-agent is installed setgid to prevent ptrace()
126attacks retrieving private key material. This has the side-effect of causing
127glibc to remove certain environment variables which might have security
128implications for set-id programs, including LD_PRELOAD, LD_LIBRARY_PATH, and
129TMPDIR.
130
131If you need to set any of these environment variables, you will need to do
132so in the program exec()ed by ssh-agent. This may involve creating a small
133wrapper script.
134
135Symlink Hostname invocation
136---------------------------
137
138This version of ssh no longer includes support for invoking ssh with the
139hostname as the name of the file run. People wanting this support should
140use the ssh-argv0 script.
141
142=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
143
144OTHER ISSUES
145============
146
147/usr/bin/ssh not SUID
148---------------------
149
150Due to Debian bug #164325, RhostsRSAAuthentication can only be used if ssh
151is SUID. Until this is fixed, if that is a problem, use:
152
153 dpkg-statoverride
154
155or if that's also missing, use this:
156
157 chown root.root /usr/bin/ssh
158 chmod 04755 /usr/bin/ssh
159
160Authorization Forwarding
161------------------------
162
163Similarly, root on a remote server could make use of your ssh-agent
164(while you're logged into their machine) to obtain access to machines
165which trust your keys. This feature is therefore disabled by default.
166You should only re-enable it for those hosts (in your ~/.ssh/config or
167/etc/ssh/ssh_config) where you are confident that the remote machine
168is not a threat.
169
170Problems logging in with RSA authentication
171-------------------------------------------
172
173If you have trouble logging in with RSA authentication then the
174problem is probably caused by the fact that you have your home
175directory writable by group, as well as user (this is the default on
176Debian systems).
177
178Depending upon other settings on your system (i.e. other users being
179in your group) this could open a security hole, so you will need to
180make your home directory writable only by yourself. Run this command,
181as yourself:
182
183 chmod g-w ~/
184
185to remove group write permissions. If you use ssh-copy-id to install your
186keys, it does this for you.
187
188-L option of ssh nonfree
189------------------------
190
191non-free ssh supported the usage of the option -L to use a non privileged
192port for scp. This option will not be supported by scp from openssh.
193
194Please use instead scp -o "UsePrivilegedPort=no" as documented in the
195manpage to scp itself.
196
197Problem logging in because of TCP-Wrappers
198------------------------------------------
199
200ssh is compiled with support for tcp-wrappers. So if you can no longer
201log into your system, please check that /etc/hosts.allow and /etc/hosts.deny
202are configured so that ssh is not blocked.
203
204Kerberos Authentication
205-----------------------
206
207ssh is compiled without support for kerberos authentication, and there are
208no current plans to support this. Thus the KerberosAuthentication and
209KerberosTgtPassing options will not be recognised.
210
211Interoperability between scp and the ssh.com SSH server
212-------------------------------------------------------
213
214In version 2 and greater of the commercial SSH server produced by SSH
215Communications Security, scp was changed to use SFTP (SSH2's file transfer
216protocol) instead of the traditional rcp-over-ssh, thereby breaking
217compatibility. The OpenSSH developers regard this as a bug in the ssh.com
218server, and do not currently intend to change OpenSSH's scp to match.
219
220Workarounds for this problem are to install scp1 on the server (scp2 will
221fall back to it), to use sftp, or to use some other transfer mechanism such
222as rsync-over-ssh or tar-over-ssh.
223
224--
225Matthew Vernon
226<matthew@debian.org>
227and
228Colin Watson
229<cjwatson@debian.org>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..12d42598a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,1241 @@
1openssh (1:3.6.1p2-7) unstable; urgency=high
2
3 * Update debconf template translations:
4 - French (thanks, Christian Perrier; closes: #208801).
5 - Japanese (thanks, Kenshi Muto; closes: #210380).
6 * Some small improvements to the English templates courtesy of Christian
7 Perrier. I've manually unfuzzied a few translations where it was
8 obvious, on Christian's advice, but the others will have to be updated.
9 * Document how to generate an RSA1 host key (closes: #141703).
10 * Incorporate NMU fix for early buffer expansion vulnerability,
11 CAN-2003-0693 (closes: #211205). Thanks to Michael Stone.
12
13 -- Colin Watson <cjwatson@debian.org> Tue, 16 Sep 2003 14:32:28 +0100
14
15openssh (1:3.6.1p2-6.0) unstable; urgency=high
16
17 * SECURITY: fix for CAN-2003-0693, buffer allocation error
18
19 -- Michael Stone <mstone@debian.org> Tue, 16 Sep 2003 08:27:07 -0400
20
21openssh (1:3.6.1p2-6) unstable; urgency=medium
22
23 * Use a more CVS-friendly means of setting SSH_VERSION.
24 * Update Brazilian Portuguese debconf template translation (thanks, Andre
25 Luis Lopes; closes: #208036).
26 * Don't run 'sshd -t' in init script if the server isn't to be run
27 (closes: #197576).
28 * Fix login delay, spurious auth.log entry, and PermitRootLogin
29 information leakage due to PAM issues with upstream's recent security
30 update (thanks, Darren Tucker; closes: #99168, #192207, #193546).
31 * Policy version 3.6.1: recode this changelog to UTF-8.
32
33 -- Colin Watson <cjwatson@debian.org> Wed, 3 Sep 2003 19:14:02 +0100
34
35openssh (1:3.6.1p2-5) unstable; urgency=low
36
37 * Disable cmsg_type check for file descriptor passing when running on
38 Linux 2.0 (closes: #150976). Remove comments about non-functional
39 privilege separation on 2.0 from ssh/privsep_ask and ssh/privsep_tell
40 debconf questions and from README.Debian, since it should all now work.
41 * Fix "defails" typo in generated sshd_config (closes: #206484).
42 * Backport upstream patch to strip trailing whitespace (including
43 newlines) from configuration directives (closes: #192079).
44
45 -- Colin Watson <cjwatson@debian.org> Wed, 27 Aug 2003 02:19:57 +0100
46
47openssh (1:3.6.1p2-4) unstable; urgency=low
48
49 * getent can get just one key; no need to use grep (thanks, James Troup).
50 * Move /usr/local/bin to the front of the default path, following
51 /etc/login.defs (closes: #201150).
52 * Remove specifics of problematic countries from package description
53 (closes: #197040).
54 * Update Spanish debconf template translation (thanks, Carlos Valdivia
55 Yagüe; closes: #198456).
56 * Backport upstream patch to pass monitor signals through to child
57 (closes: #164797).
58
59 -- Colin Watson <cjwatson@debian.org> Sun, 27 Jul 2003 17:31:15 +0100
60
61openssh (1:3.6.1p2-3) unstable; urgency=low
62
63 * Update French debconf template translation (thanks, Christian Perrier;
64 closes: #194323).
65 * Version the adduser dependency for --no-create-home (closes: #195756).
66 * Add a version of moduli(5), namely revision 1.7 of
67 http://www.openbsd.org/cgi-bin/cvsweb/src/share/man/man5/moduli.5 with
68 '/etc/moduli' changed to '/etc/ssh/moduli' throughout (closes: #196061).
69
70 -- Colin Watson <cjwatson@debian.org> Mon, 9 Jun 2003 02:51:35 +0100
71
72openssh (1:3.6.1p2-2) unstable; urgency=low
73
74 * Force /etc/default/ssh to be non-executable, since dpkg apparently
75 doesn't deal with permissions changes on conffiles (closes: #192966).
76 * Use debconf 0.5's seen flag rather than the deprecated isdefault.
77 * Add GPL location to copyright file.
78 * Remove debian/postinst.old.
79 * Switch to po-debconf, with some careful manual use of po2debconf to
80 ensure that the source package continues to build smoothly on woody
81 (closes: #183986).
82 * Update debconf template translations:
83 - Brazilian Portugese (thanks, Andre Luis Lopes; see #183986).
84 - Japanese (thanks, Tomohiro KUBOTA; closes: #192429).
85 * Compile with -fno-builtin-log for now, otherwise gcc-3.3 complains
86 "log.h:59: warning: conflicting types for built-in function `log'". The
87 OpenSSH log() function has been renamed in upstream CVS.
88
89 -- Colin Watson <cjwatson@debian.org> Mon, 19 May 2003 01:52:38 +0100
90
91openssh (1:3.6.1p2-1) unstable; urgency=medium
92
93 * New upstream release, including fix for PAM user-discovery security hole
94 (closes: #191681).
95 * Fix ChallengeResponseAuthentication default in generated sshd_config
96 (closes: #106037).
97 * Put newlines after full stops in man page documentation for
98 ProtocolKeepAlives and SetupTimeOut.
99 * Policy version 3.5.9: support DEB_BUILD_OPTIONS=noopt, build
100 gnome-ssh-askpass with -g and -Wall flags.
101 * Really ask ssh/new_config debconf question before trying to fetch its
102 value (closes: #188721).
103 * On purge, remove only the files we know about in /etc/ssh rather than
104 the whole thing, and remove the directory if that leaves it empty
105 (closes: #176679).
106 * ssh has depended on debconf for some time now with no complaints, so:
107 - Simplify the postinst by relying on debconf being present. (The absent
108 case was buggy anyway.)
109 - Get rid of "if you have not installed debconf" text in README.Debian,
110 and generally update the "/usr/bin/ssh not SUID" entry.
111 * More README.Debian work:
112 - Reorganize into "UPGRADE ISSUES" and "OTHER ISSUES", in an effort to
113 make it easier for people to find the former. The upgrade issues
114 should probably be sorted by version somehow.
115 - Document X11UseLocalhost under "X11 Forwarding" (closes: #150913).
116 * Fix setting of IP flags for interactive sessions (upstream bug #541).
117
118 -- Colin Watson <cjwatson@debian.org> Mon, 5 May 2003 17:47:40 +0100
119
120openssh (1:3.6.1p1-1) unstable; urgency=low
121
122 * New upstream release (thanks, Laurence J. Lane).
123 * debian/control: ssh-askpass-gnome is now Section: gnome, following the
124 override file.
125
126 -- Colin Watson <cjwatson@debian.org> Wed, 2 Apr 2003 00:51:02 +0100
127
128openssh (1:3.6p1-1) unstable; urgency=low
129
130 * New upstream release.
131 - Workaround applied upstream for a bug in the interaction of glibc's
132 getaddrinfo() with the Linux 2.2 kernel (closes: #155814).
133 - As such, it should now be safe to remove --with-ipv4-default, so
134 starting sshd with -6 is no longer necessary (closes: #79861 and lots
135 of other merged bugs).
136 - ssh-copy-id prints usage when run without arguments (closes: #71376).
137 - scp exits 1 if ssh fails (closes: #138400).
138 - sshd writes to utmp's ut_addr_v6 field in IPv6 mode (closes: #167867).
139 - 'ssh-add -c' causes ssh-agent to ask the user each time a key is used
140 (closes: #109795).
141 * Install /etc/default/ssh non-executable (closes: #185537).
142
143 -- Colin Watson <cjwatson@debian.org> Mon, 31 Mar 2003 23:00:59 +0100
144
145openssh (1:3.5p1-5) unstable; urgency=low
146
147 * Add /etc/default/ssh (closes: #161049).
148 * Run the init script under 'set -e' (closes: #175010).
149 * Change the default superuser path to include /sbin, /usr/sbin, and
150 /usr/local/sbin (closes: #128235, #151267). Using login.defs would be
151 nice, but that belongs to another package. Without a defined API to
152 retrieve its settings, parsing it is off-limits.
153 * Build ssh-askpass-gnome with GNOME 2. The source package should still
154 support building on stable with GNOME 1, using the alternate
155 libgnome-dev build-dependency (thanks, Colin Walters; closes: #167582).
156
157 -- Colin Watson <cjwatson@debian.org> Sun, 9 Mar 2003 20:12:10 +0000
158
159openssh (1:3.5p1-4) unstable; urgency=low
160
161 * Point rlogin and rcp alternatives at slogin and scp respectively rather
162 than ssh (closes: #121103, #151666). Fix alternative removal to match;
163 previously it was completely wrong anyway.
164 * Find out whether /etc/ssh/sshd_not_to_be_run exists and set the debconf
165 question's default using that information, rather than using debconf as
166 a registry. Other solutions may be better in the long run, but this is
167 at least correct (thanks, Matthew Woodcraft; closes: #84725).
168 * Stop using pam_lastlog, as it doesn't currently work well as a session
169 module when privilege separation is enabled; it can usually read
170 /var/log/lastlog but can't write to it. Instead, just use sshd's
171 built-in support, already enabled by default (closes: #151297, #169938).
172 * Use 'ssh-keygen -q' rather than redirecting output to /dev/null.
173 * Add a "this may take some time" warning when creating host keys on
174 installation (part of #110094).
175 * When restarting via the init script, check for sshd_not_to_be_run after
176 stopping sshd (idea from Tomas Pospisek; closes: #149850).
177 * Append /usr/sbin:/sbin to the init script's $PATH, just in case of
178 strangeness (closes: #115138).
179 * Fix a dpkg-statoverride call to redirect stdout to /dev/null, not
180 stderr.
181 * Correct copyright file typo: "orignal" -> "original" (closes: #176490).
182 * Rebuild with libssl0.9.7 (closes: #176983).
183 * We're up to policy version 3.5.6. DEB_BUILD_OPTIONS stuff still needs to
184 be looked at.
185
186 -- Colin Watson <cjwatson@debian.org> Sat, 18 Jan 2003 01:37:23 +0000
187
188openssh (1:3.5p1-3) unstable; urgency=low
189
190 * Happy new year!
191 * Use getent rather than id to find out whether the sshd user exists
192 (closes: #150974).
193 * Remove some duplication from the postinst's ssh-keysign setuid code.
194 * Replace db_text with db_input throughout debian/config. (db_text has
195 been a compatibility wrapper since debconf 0.1.5.)
196 * Warn about PermitUserEnvironment on upgrade (closes: #167895).
197 * Use 'make install-nokeys', and disable unused debhelper commands,
198 thereby forward-porting the last pieces of Zack Weinberg's patch
199 (closes: #68341).
200 * Move the man page for gnome-ssh-askpass from the ssh package to
201 ssh-askpass-gnome (closes: #174449).
202 * Build with -DLOGIN_NO_ENDOPT, since Debian's /bin/login doesn't accept
203 '--' to terminate the list of options (closes: #171554).
204 * Add Jonathan Amery's ssh-argv0 script (closes: #111341).
205 * Update Danish debconf template (thanks, Morten Brix Pedersen;
206 closes: #174757).
207 * Document setgid ssh-agent's effect on certain environment variables in
208 README.Debian (closes: #167974).
209 * Document interoperability problems between scp and ssh.com's server in
210 README.Debian, and suggest some workarounds (closes: #174662).
211
212 -- Colin Watson <cjwatson@debian.org> Wed, 1 Jan 2003 14:18:30 +0000
213
214openssh (1:3.5p1-2) unstable; urgency=low
215
216 * Mention in the ssh package description that it provides both ssh and
217 sshd (closes: #99680).
218 * Create a system group for ssh-agent, not a user group (closes: #167669).
219
220 -- Colin Watson <cjwatson@debian.org> Mon, 4 Nov 2002 13:43:53 +0000
221
222openssh (1:3.5p1-1) unstable; urgency=low
223
224 * New upstream release.
225 - Fixes typo in ssh-add usage (closes: #152239).
226 - Fixes 'PermitRootLogin forced-commands-only' (closes: #166184).
227 - ~/.ssh/environment and environment= options in ~/.ssh/authorized_keys
228 are deprecated for security reasons and will eventually go away. For
229 now they can be re-enabled by setting 'PermitUserEnvironment yes' in
230 sshd_config.
231 - ssh-agent is installed setgid to prevent ptrace() attacks. The group
232 actually doesn't matter, as it drops privileges immediately, but to
233 avoid confusion the postinst creates a new 'ssh' group for it.
234 * Obsolete patches:
235 - Solar Designer's privsep+compression patch for Linux 2.2 (see
236 1:3.3p1-0.0woody1).
237 - Hostbased auth ssh-keysign backport (see 1:3.4p1-4).
238
239 * Remove duplicated phrase in ssh_config(5) (closes: #152404).
240 * Source the debconf confmodule at the top of the postrm rather than at
241 the bottom, to avoid making future non-idempotency problems worse (see
242 #151035).
243 * Debconf templates:
244 - Add Polish (thanks, Grzegorz Kusnierz).
245 - Update French (thanks, Denis Barbier; closes: #132509).
246 - Update Spanish (thanks, Carlos Valdivia Yagüe; closes: #164716).
247 * Write a man page for gnome-ssh-askpass, and link it to ssh-askpass.1 if
248 this is the selected ssh-askpass alternative (closes: #67775).
249
250 -- Colin Watson <cjwatson@debian.org> Sat, 26 Oct 2002 19:41:51 +0100
251
252openssh (1:3.4p1-4) unstable; urgency=low
253
254 * Allow ssh-krb5 in ssh-askpass-gnome's dependencies (closes: #129532).
255 * Restore Russia to list of countries where encryption is problematic (see
256 #148951 and http://www.average.org/freecrypto/).
257 * Drop ssh-askpass-gnome's priority to optional, per the override file.
258 * Drop the PAM special case for hurd-i386 (closes: #99157).
259 * s/dile/idle/ in ssh_config(5) (closes: #118331).
260 * Note in README.Debian that you need xauth from xbase-clients on the
261 server for X11 forwarding (closes: #140269).
262 * Use correct path to upstream README in copyright file (closes: #146037).
263 * Document the units for ProtocolKeepAlives (closes: #159479).
264 * Backport upstream patch to fix hostbased auth (closes: #117114).
265 * Add -g to CFLAGS.
266
267 -- Colin Watson <cjwatson@debian.org> Sun, 13 Oct 2002 18:58:53 +0100
268
269openssh (1:3.4p1-3) unstable; urgency=low
270
271 * Add myself to Uploaders: and begin acting as temporary maintainer, at
272 Matthew's request. (Normal service will resume in some months' time.)
273 * Add sharutils to Build-Depends (closes: #138465).
274 * Stop creating the /usr/doc/ssh symlink.
275
276 * Fix some debconf template typos (closes: #160358).
277 * Split debconf templates into one file per language.
278 * Add debconf template translations:
279 - Brazilian Portuguese (thanks, Andre Luis Lopes; closes: #106173).
280 - Danish (thanks, Claus Hindsgaul; closes: #126607).
281 - Japanese (thanks, Tomohiro KUBOTA; closes: #137427).
282 - Russian (thanks, Ilgiz Kalmetev; closes: #136610).
283 - Spanish (thanks, Carlos Valdivia Yagüe; closes: #129041).
284 * Update debconf template translations:
285 - French (thanks, Igor Genibel; closes: #151361).
286 - German (thanks, Axel Noetzold; closes: #147069).
287 * Some of these translations are fuzzy. Please send updates.
288
289 -- Colin Watson <cjwatson@debian.org> Sun, 13 Oct 2002 14:09:57 +0100
290
291openssh (1:3.4p1-2) unstable; urgency=high
292
293 * Get a security-fixed version into unstable
294 * Also tidy README.Debian up a little
295
296 -- Matthew Vernon <matthew@debian.org> Fri, 28 Jun 2002 17:20:59 +0100
297
298openssh (1:3.4p1-1) testing; urgency=high
299
300 * Extend my tendrils back into this package (Closes: #150915, #151098)
301 * thanks to the security team for their work
302 * no thanks to ISS/Theo de Raadt for their handling of these bugs
303 * save old sshd_configs to sshd_config.dpkg-old when auto-generating a
304 new one
305 * tell/ask the user about PriviledgeSeparation
306 * /etc/init.d/ssh run will now create the chroot empty dir if necessary
307 * Remove our previous statoverride on /usr/bin/ssh (only for people
308 upgrading from a version where we'd put one in ourselves!)
309 * Stop slandering Russia, since someone asked so nicely (Closes: #148951)
310 * Reduce the sleep time in /etc/init.d/ssh during a restart
311
312 -- Matthew Vernon <matthew@debian.org> Fri, 28 Jun 2002 15:52:10 +0100
313
314openssh (1:3.4p1-0.0woody1) testing-security; urgency=high
315
316 * NMU by the security team.
317 * New upstream version
318
319 -- Michael Stone <mstone@debian.org> Wed, 26 Jun 2002 15:40:38 -0400
320
321openssh (1:3.3p1-0.0woody4) testing-security; urgency=high
322
323 * NMU by the security team.
324 * fix error when /etc/ssh/sshd_config exists on new install
325 * check that user doesn't exist before running adduser
326 * use openssl internal random unconditionally
327
328 -- Michael Stone <mstone@debian.org> Tue, 25 Jun 2002 19:44:39 -0400
329
330openssh (1:3.3p1-0.0woody3) testing-security; urgency=high
331
332 * NMU by the security team.
333 * use correct home directory when sshd user is created
334
335 -- Michael Stone <mstone@debian.org> Tue, 25 Jun 2002 08:59:50 -0400
336
337openssh (1:3.3p1-0.0woody2) testing-security; urgency=high
338
339 * NMU by the security team.
340 * Fix rsa1 key creation (Closes: #150949)
341 * don't fail if sshd user removal fails
342 * depends: on adduser (Closes: #150907)
343
344 -- Michael Stone <mstone@debian.org> Tue, 25 Jun 2002 08:59:50 -0400
345
346openssh (1:3.3p1-0.0woody1) testing-security; urgency=high
347
348 * NMU by the security team.
349 * New upstream version.
350 - Enable privilege separation by default.
351 * Include patch from Solar Designer for privilege separation and
352 compression on 2.2.x kernels.
353 * Remove --disable-suid-ssh from configure.
354 * Support setuid ssh-keysign binary instead of setuid ssh client.
355 * Check sshd configuration before restarting.
356
357 -- Daniel Jacobowitz <dan@debian.org> Mon, 24 Jun 2002 13:43:44 -0400
358
359openssh (1:3.0.2p1-9) unstable; urgency=high
360
361 * Thanks to those who NMUd
362 * The only change in this version is to debian/control - I've removed
363 the bit that says you can't export it from the US - it would look
364 pretty daft to say this about a package in main! Also, it's now OK
365 to use crypto in France, so I've edited that comment slightly
366 * Correct a path in README.Debian too (Closes: #138634)
367
368 -- Matthew Vernon <matthew@debian.org> Sun, 4 Apr 2002 09:52:59 +0100
369
370openssh (1:3.0.2p1-8.3) unstable; urgency=medium
371
372 * NMU
373 * Really set urgency to medium this time (oops)
374 * Fix priority to standard per override while I'm at it
375
376 -- Aaron M. Ucko <ucko@debian.org> Sun, 24 Mar 2002 09:00:08 -0500
377
378openssh (1:3.0.2p1-8.2) unstable; urgency=low
379
380 * NMU with maintainer's permission
381 * Prepare for upcoming ssh-nonfree transitional packages per
382 <http://lists.debian.org/debian-ssh/2002/debian-ssh-200203/msg00008.html>
383 * Urgency medium because it would really be good to get this into woody
384 before it releases
385 * Fix sections to match override file
386 * Reissued due to clash with non-US -> main move
387
388 -- Aaron M. Ucko <ucko@debian.org> Sat, 23 Mar 2002 21:21:52 -0500
389
390openssh (1:3.0.2p1-8.1) unstable; urgency=low
391
392 * NMU
393 * Move from non-US to mani
394
395 -- LaMont Jones <lamont@debian.org> Thu, 21 Mar 2002 09:33:50 -0700
396
397openssh (1:3.0.2p1-8) unstable; urgency=critical
398
399 * Security fix - patch from upstream (Closes: #137209, #137210)
400 * Undo the changes in the unreleased -7, since they appear to break
401 things here. Accordingly, the code change is minimal, and I'm
402 happy to get it into testing ASAP
403
404 -- Matthew Vernon <matthew@debian.org> Thu, 7 Mar 2002 14:25:23 +0000
405
406openssh (1:3.0.2p1-7) unstable; urgency=high
407
408 * Build to support IPv6 and IPv4 by default again
409
410 -- Matthew Vernon <matthew@debian.org> Sat, 2 Mar 2002 00:25:05 +0000
411
412openssh (1:3.0.2p1-6) unstable; urgency=high
413
414 * Correct error in the clean target (Closes: #130868)
415
416 -- Matthew Vernon <matthew@debian.org> Sat, 26 Jan 2002 00:32:00 +0000
417
418openssh (1:3.0.2p1-5) unstable; urgency=medium
419
420 * Include the Debian version in our identification, to make it easier to
421 audit networks for patched versions in future
422
423 -- Matthew Vernon <matthew@debian.org> Mon, 21 Jan 2002 17:16:10 +0000
424
425openssh (1:3.0.2p1-4) unstable; urgency=medium
426
427 * If we're asked to not run sshd, stop any running sshd's first
428 (Closes: #129327)
429
430 -- Matthew Vernon <matthew@debian.org> Wed, 16 Jan 2002 21:24:16 +0000
431
432openssh (1:3.0.2p1-3) unstable; urgency=high
433
434 * Fix /etc/pam.d/ssh to not set $MAIL (Closes: #128913)
435 * Remove extra debconf suggestion (Closes: #128094)
436 * Mmm. speedy bug-fixing :-)
437
438 -- Matthew Vernon <matthew@debian.org> Sat, 12 Jan 2002 17:23:58 +0000
439
440openssh (1:3.0.2p1-2) unstable; urgency=high
441
442 * Fix postinst to not automatically overwrite sshd_config (!)
443 (Closes: #127842, #127867)
444 * Add section in README.Debian about the PermitRootLogin setting
445
446 -- Matthew Vernon <matthew@debian.org> Sat, 5 Jan 2003 05:26:30 +0000
447
448openssh (1:3.0.2p1-1) unstable; urgency=high
449
450 * Incorporate fix from Colin's NMU
451 * New upstream version (fixes the bug Wichert fixed) (Closes: #124035)
452 * Capitalise IETF (Closes: #125379)
453 * Refer to the correct sftp-server location (Closes: #126854, #126224)
454 * Do what we're asked re SetUID ssh (Closes: #124065, #124154, #123247)
455 * Ask people upgrading from potato if they want a new conffile
456 (Closes: #125642)
457 * Fix a typo in postinst (Closes: #122192, #122410, #123440)
458 * Frob the default config a little (Closes: #122284, #125827, #125696,
459 #123854)
460 * Make /etc/init.d/ssh be more clear about ssh not running (Closes:
461 #123552)
462 * Fix typo in templates file (Closes: #123411)
463
464 -- Matthew Vernon <matthew@debian.org> Fri, 4 Jan 2002 16:01:52 +0000
465
466openssh (1:3.0.1p1-1.2) unstable; urgency=high
467
468 * Non-maintainer upload
469 * Prevent local users from passing environment variables to the login
470 process when UseLogin is enabled
471
472 -- Wichert Akkerman <wakkerma@debian.org> Mon, 3 Dec 2001 19:34:45 +0100
473
474openssh (1:3.0.1p1-1.1) unstable; urgency=low
475
476 * Non-maintainer upload, at Matthew's request.
477 * Remove sa_restorer assignment to fix compilation on alpha, hppa, and
478 ia64 (closes: #122086).
479
480 -- Colin Watson <cjwatson@debian.org> Sun, 2 Dec 2001 18:54:16 +0000
481
482openssh (1:3.0.1p1-1) unstable; urgency=high
483
484 * New upstream version (Closes: #113646, #113513, #114707, #118564)
485 * Building with a libc that works (!) (Closes: #115228)
486 * Patches forward-ported are -1/-2 options for scp, the improvement to
487 'waiting for forwarded connections to terminate...'
488 * Fix /etc/init.d/ssh to stop sshd properly (Closes: #115228)
489 * /etc/ssh/sshd_config is no longer a conffile but generated in the postinst
490 * Remove suidregister leftover from postrm
491 * Mention key we are making in the postinst
492 * Default to not enable SSH protocol 1 support, since protocol 2 is
493 much safer anyway.
494 * New version of the vpn-fixes patch, from Ian Jackson
495 * New handling of -q, and added new -qq option; thanks to Jon Amery
496 * Experimental smartcard support not enabled, since I have no way of
497 testing it.
498
499 -- Matthew Vernon <matthew@debian.org> Thu, 28 Nov 2001 17:43:01 +0000
500
501openssh (1:2.9p2-6) unstable; urgency=low
502
503 * check for correct file in /etc/init.d/ssh (Closes: #110876)
504 * correct location of version 2 keys in ssh.1 (Closes: #110439)
505 * call update-alternatives --quiet (Closes: #103314)
506 * hack ssh-copy-id to chmod go-w (Closes: #95551)
507 * TEMPORARY fix to provide largefile support using a -D in the cflags
508 line. long-term, upstream will patch the autoconf stuff
509 (Closes: #106809, #111849)
510 * remove /etc/rc references in ssh-keygen.1 (Closes: #68350)
511 * scp.1 patch from Adam McKenna to document -r properly (Closes: #76054)
512 * Check for files containing a newline character (Closes: #111692)
513
514 -- Matthew Vernon <matthew@debian.org> Thu, 13 Sep 2001 16:47:36 +0100
515
516openssh (1:2.9p2-5) unstable; urgency=high
517
518 * Thanks to all the bug-fixers who helped!
519 * remove sa_restorer assignment (Closes: #102837)
520 * patch from Peter Benie to DTRT wrt X forwarding if the server refuses
521 us access (Closes: #48297)
522 * patch from upstream CVS to fix port forwarding (Closes: #107132)
523 * patch from Jonathan Amery to document ssh-keygen behaviour
524 (Closes:#106643, #107512)
525 * patch to postinst from Jonathan Amery (Closes: #106411)
526 * patch to manpage from Jonathan Amery (Closes: #107364)
527 * patch from Matthew Vernon to make -q emit fatal errors as that is the
528 documented behaviour (Closes: #64347)
529 * patch from Ian Jackson to cause us to destroy a file when we scp it
530 onto itself, rather than dumping bits of our memory into it, which was
531 a security hole (see #51955)
532 * patch from Jonathan Amery to document lack of Kerberos support
533 (Closes: #103726)
534 * patch from Matthew Vernon to make the 'waiting for connections to
535 terminate' message more helpful (Closes: #50308)
536
537 -- Matthew Vernon <matthew@debian.org> Thu, 23 Aug 2001 02:14:09 +0100
538
539openssh (1:2.9p2-4) unstable; urgency=high
540
541 * Today's build of ssh is strawberry flavoured
542 * Patch from mhp to reduce length of time sshd is stopped for (Closes: #106176)
543 * Tidy up debconf template (Closes: #106152)
544 * If called non-setuid, then setgid()'s failure should not be fatal (see
545 #105854)
546
547 -- Matthew Vernon <matthew@debian.org> Sun, 22 Jul 2001 14:19:43 +0100
548
549openssh (1:2.9p2-3) unstable; urgency=low
550
551 * Patch from yours truly to add -1 and -2 options to scp (Closes: #106061)
552 * Improve the IdentityFile section in the man page (Closes: #106038)
553
554 -- Matthew Vernon <matthew@debian.org> Sat, 21 Jul 2001 14:47:27 +0100
555
556openssh (1:2.9p2-2) unstable; urgency=low
557
558 * Document the protocol version 2 and IPV6 changes (Closes: #105845, #105868)
559 * Make PrintLastLog 'no' by default (Closes: #105893)
560
561 -- Matthew Vernon <matthew@debian.org> Thu, 19 Jul 2001 18:36:41 +0100
562
563openssh (1:2.9p2-1) unstable; urgency=low
564
565 * new (several..) upstream version (Closes: #96726, #81856, #96335)
566 * Hopefully, this will close some other bugs too
567
568 -- Matthew Vernon <matthew@debian.org> Tue, 17 Jul 2001 19:41:58 +0100
569
570openssh (1:2.5.2p2-3) unstable; urgency=low
571
572 * Taking Over this package
573 * Patches from Robert Bihlmeyer for the Hurd (Closes: #102991)
574 * Put PermitRootLogin back to yes (Closes: #67334, #67371, #78274)
575 * Don't fiddle with conf-files any more (Closes: #69501)
576
577 -- Matthew Vernon <matthew@debian.org> Tue, 03 Jul 2001 02:58:13 +0100
578
579openssh (1:2.5.2p2-2.2) unstable; urgency=low
580
581 * NMU
582 * Include Hurd compatibility patches from Robert Bihlmeyer (Closes: #76033)
583 * Patch from Richard Kettlewell for protocolkeepalives (Closes: #99273)
584 * Patch from Matthew Vernon for BannerTimeOut, batchmode, and
585 documentation for protocolkeepalives. Makes ssh more generally useful
586 for scripting uses (Closes: #82877, #99275)
587 * Set a umask, so ourpidfile isn't world-writable (closes: #100012,
588 #98286, #97391)
589
590 -- Matthew Vernon <matthew@debian.org> Thu, 28 Jun 2001 23:15:42 +0100
591
592openssh (1:2.5.2p2-2.1) unstable; urgency=low
593
594 * NMU
595 * Remove duplicate Build-Depends for libssl096-dev and change it to
596 depend on libssl-dev instaed. Also adding in virtual | real package
597 style build-deps. (Closes: #93793, #75228)
598 * Removing add-log entry (Closes: #79266)
599 * This was a pam bug from a while back (Closes: #86908, #88457, #86843)
600 * pam build-dep already exists (Closes: #93683)
601 * libgnome-dev build-dep already exists (Closes: #93694)
602 * No longer in non-free (Closes: #85401)
603 * Adding in fr debconf translations (Closes: #83783)
604 * Already suggests xbase-clients (Closes: #79741)
605 * No need to suggest libpam-pwdb anymore (Closes: #81658)
606 * Providing rsh-client (Closes: #79437)
607 * hurd patch was already applied (Closes: #76033)
608 * default set to no (Closes: #73682)
609 * Adding in a suggests for dnsutils (Closes: #93265)
610 * postinst bugs fixed (Closes: #88057, #88066, #88196, #88405, #88612)
611 (Closes: #88774, #88196, #89556, #90123, #90228, #90833, #87814, #85465)
612 * Adding in debconf dependency
613
614 -- Ivan E. Moore II <rkrusty@debian.org> Mon, 16 Apr 2001 14:11:04 +0100
615
616openssh (1:2.5.2p2-2) unstable; urgency=high
617
618 * disable the OpenSSL version check in entropy.c
619 (closes: #93581, #93588, #93590, #93614, #93619, #93635, #93648)
620
621 -- Philip Hands <phil@uk.alcove.com> Wed, 11 Apr 2001 20:30:04 +0100
622
623openssh (1:2.5.2p2-1) unstable; urgency=low
624
625 * New upstream release
626 * removed make-ssh-known-hosts, since ssh-keyscan does that job (closes: #86069, #87748)
627 * fix double space indent in german templates (closes: #89493)
628 * make postinst check for ssh_host_rsa_key
629 * get rid of the last of the misguided debian/rules NMU debris :-/
630
631 -- Philip Hands <phil@hands.com> Sat, 24 Mar 2001 20:59:33 +0000
632
633openssh (1:2.5.1p2-2) unstable; urgency=low
634
635 * rebuild with new debhelper (closes: #89558, #89536, #90225)
636 * fix broken dpkg-statoverride test in postinst
637 (closes: #89612, #90474, #90460, #89605)
638 * NMU bug fixed but not closed in last upload (closes: #88206)
639
640 -- Philip Hands <phil@hands.com> Fri, 23 Mar 2001 16:11:33 +0000
641
642openssh (1:2.5.1p2-1) unstable; urgency=high
643
644 * New upstream release
645 * fix typo in postinst (closes: #88110)
646 * revert to setting PAM service name in debian/rules, backing out last
647 NMU, which also (closes: #88101)
648 * restore the pam lastlog/motd lines, lost during the NMUs, and sshd_config
649 * restore printlastlog option patch
650 * revert to using debhelper, which had been partially disabled in NMUs
651
652 -- Philip Hands <phil@hands.com> Tue, 13 Mar 2001 01:41:34 +0000
653
654openssh (1:2.5.1p1-1.8) unstable; urgency=high
655
656 * And now the old pam-bug s/sshd/ssh in ssh.c is also fixed
657
658 -- Christian Kurz <shorty@debian.org> Thu, 1 Mar 2001 19:48:01 +0100
659
660openssh (1:2.5.1p1-1.7) unstable; urgency=high
661
662 * And now we mark the correct binary as setuid, when a user requested
663 to install it setuid.
664
665 -- Christian Kurz <shorty@debian.org> Thu, 1 Mar 2001 07:19:56 +0100
666
667openssh (1:2.5.1p1-1.6) unstable; urgency=high
668
669 * Fixes postinst to handle overrides that are already there. Damn, I
670 should have noticed the bug earlier.
671
672 -- Christian Kurz <shorty@debian.org> Wed, 28 Feb 2001 22:35:00 +0100
673
674openssh (1:2.5.1p1-1.5) unstable; urgency=high
675
676 * Rebuild ssh with pam-support.
677
678 -- Christian Kurz <shorty@debian.org> Mon, 26 Feb 2001 21:55:51 +0100
679
680openssh (1:2.5.1p1-1.4) unstable; urgency=low
681
682 * Added Build-Depends on libssl096-dev.
683 * Fixed sshd_config file to disallow root logins again.
684
685 -- Christian Kurz <shorty@debian.org> Sun, 25 Feb 2001 20:03:55 +0100
686
687openssh (1:2.5.1p1-1.3) unstable; urgency=low
688
689 * Fixed missing manpages for sftp.1 and ssh-keyscan.1
690 * Made package policy 3.5.2 compliant.
691
692 -- Christian Kurz <shorty@debian.org> Sun, 25 Feb 2001 15:46:26 +0100
693
694openssh (1:2.5.1p1-1.2) unstable; urgency=low
695
696 * Added Conflict with sftp, since we now provide our own sftp-client.
697 * Added a fix for our broken dpkg-statoverride call in the
698 2.3.0p1-13.
699 * Fixed some config pathes in the comments of sshd_config.
700 * Removed ssh-key-exchange-vulnerability-patch since it's not needed
701 anymore because upstream included the fix.
702
703 -- Christian Kurz <shorty@debian.org> Sun, 25 Feb 2001 13:46:58 +0100
704
705openssh (1:2.5.1p1-1.1) unstable; urgency=high
706
707 * Another NMU to get the new upstream version 2.5.1p1 into
708 unstable. (Closes: #87123)
709 * Corrected postinst to mark ssh as setuid. (Closes: #86391, #85766)
710 * Key Exchange patch is already included by upstream. (Closes: #86015)
711 * Upgrading should be possible now. (Closes: #85525, #85523)
712 * Added --disable-suid-ssh as compile option, so ssh won't get installed
713 suid per default.
714 * Fixed postinst to run dpkg-statoverride only, when dpkg-statoverride
715 is available and the mode of the binary should be 4755. And also added
716 suggestion for a newer dpkg.
717 (Closes: #85734, #85741, #86876)
718 * sftp and ssh-keyscan will also be included from now on. (Closes: #79994)
719 * scp now understands spaces in filenames (Closes: #53783, #58958,
720 #66723)
721 * ssh-keygen now supports showing DSA fingerprints. (Closes: #68623)
722 * ssh doesn' t show motd anymore when switch -t is used. (Closes #69035)
723 * ssh supports the usage of other dsa keys via the ssh command line
724 options. (Closes: #81250)
725 * Documentation in sshd_config fixed. (Closes: #81088)
726 * primes file included by upstream and included now. (Closes: #82101)
727 * scp now allows dots in the username. (Closes: #82477)
728 * Spelling error in ssh-copy-id.1 corrected by upstream. (Closes: #78124)
729
730 -- Christian Kurz <shorty@debian.org> Sun, 25 Feb 2001 10:06:08 +0100
731
732openssh (1:2.3.0p1-1.13) unstable; urgency=low
733
734 * Config should now also be fixed with this hopefully last NMU.
735
736 -- Christian Kurz <shorty@debian.org> Sat, 10 Feb 2001 22:56:36 +0100
737
738openssh (1:2.3.0p1-1.12) unstable; urgency=high
739
740 * Added suggest for xbase-clients to control-file. (Closes #85227)
741 * Applied patch from Markus Friedl to fix a vulnerability in
742 the rsa keyexchange.
743 * Fixed position of horizontal line. (Closes: #83613)
744 * Fixed hopefully the grep problem in the config-file. (Closes: #78802)
745 * Converted package from suidregister to dpkg-statoverride.
746
747 -- Christian Kurz <shorty@debian.org> Fri, 9 Feb 2001 19:43:55 +0100
748
749openssh (1:2.3.0p1-1.11) unstable; urgency=medium
750
751 * Fixed some typos in the german translation of the debconf
752 template.
753
754 -- Christian Kurz <shorty@debian.org> Wed, 24 Jan 2001 18:22:38 +0100
755
756openssh (1:2.3.0p1-1.10) unstable; urgency=medium
757
758 * Fixed double printing of motd. (Closes: #82618)
759
760 -- Christian Kurz <shorty@debian.org> Tue, 23 Jan 2001 21:03:43 +0100
761
762openssh (1:2.3.0p1-1.9) unstable; urgency=high
763
764 * And the next NMU which includes the patch from Andrew Bartlett
765 and Markus Friedl to fix the root privileges handling of openssh.
766 (Closes: #82657)
767
768 -- Christian Kurz <shorty@debian.org> Wed, 17 Jan 2001 22:20:54 +0100
769
770openssh (1:2.3.0p1-1.8) unstable; urgency=high
771
772 * Applied fix from Ryan Murray to allow building on other architectures
773 since the hurd patch was wrong. (Closes: #82471)
774
775 -- Christian Kurz <shorty@debian.org> Tue, 16 Jan 2001 22:45:51 +0100
776
777openssh (1:2.3.0p1-1.7) unstable; urgency=medium
778
779 * Fixed another typo on sshd_config
780
781 -- Christian Kurz <shorty@debian.org> Sun, 14 Jan 2001 19:01:31 +0100
782
783openssh (1:2.3.0p1-1.6) unstable; urgency=high
784
785 * Added Build-Dependency on groff (Closes: #81886)
786 * Added Build-Depencency on debhelper (Closes: #82072)
787 * Fixed entry for known_hosts in sshd_config (Closes: #82096)
788
789 -- Christian Kurz <shorty@debian.org> Thu, 11 Jan 2001 23:08:16 +0100
790
791openssh (1:2.3.0p1-1.5) unstable; urgency=high
792
793 * Fixed now also the problem with sshd used as default ipv4 and
794 didn't use IPv6. This should be now fixed.
795
796 -- Christian Kurz <shorty@debian.org> Thu, 11 Jan 2001 21:25:55 +0100
797
798openssh (1:2.3.0p1-1.4) unstable; urgency=high
799
800 * Fixed buggy entry in postinst.
801
802 -- Christian Kurz <shorty@debian.org> Wed, 10 Jan 2001 23:12:16 +0100
803
804openssh (1:2.3.0p1-1.3) unstable; urgency=high
805
806 * After finishing the rewrite of the rules-file I had to notice that
807 the manpage installation was broken. This should now work again.
808
809 -- Christian Kurz <shorty@debian.org> Wed, 10 Jan 2001 22:11:59 +0100
810
811openssh (1:2.3.0p1-1.2) unstable; urgency=high
812
813 * Fixed the screwed up build-dependency.
814 * Removed --with-ipv4-default to support ipv6.
815 * Changed makefile to use /etc/pam.d/ssh instead of /etc/pam.d/sshd.
816 * Fixed location to sftp-server in config.
817 * Since debian still relies on /etc/pam.d/ssh instead of moving to
818 /etc/pam.d/sshd, I had to hack ssh.h to get ssh to use this name.
819 * Fixed path to host key in sshd_config.
820
821 -- Christian Kurz <shorty@debian.org> Wed, 10 Jan 2001 08:23:47 +0100
822
823openssh (1:2.3.0p1-1.1) unstable; urgency=medium
824
825 * NMU with permission of Phil Hands.
826 * New upstream release
827 * Update Build-Depends to point to new libssl096.
828 * This upstream release doesn't leak any information depending
829 on the setting of PermitRootLogin (Closes: #59933)
830 * New upstream release contains fix against forcing a client to
831 do X/agent forwarding (Closes: #76788)
832 * Changed template to contain correct path to the documentation
833 (Closes: #67245)
834 * Added --with-4in6 switch as compile option into debian/rules.
835 * Added --with-ipv4-default as compile option into debian/rules.
836 (Closes: #75037)
837 * Changed default path to also contain /usr/local/bin and
838 /usr/X11R6/bin (Closes: #62472,#54567,#62810)
839 * Changed path to sftp-server in sshd_config to match the
840 our package (Closes: #68347)
841 * Replaced OpenBSDh with OpenBSD in the init-script.
842 * Changed location to original source in copyright.head
843 * Changed behaviour of init-script when invoked with the option
844 restart (Closes: #68706,#72560)
845 * Added a note about -L option of scp to README.Debian
846 * ssh won't print now the motd if invoked with -t option
847 (Closes: #59933)
848 * RFC.nroff.gz get's now converted into RFC.gz. (Closes: #63867)
849 * Added a note about tcp-wrapper support to README.Debian
850 (Closes: #72807,#22190)
851 * Removed two unneeded options from building process.
852 * Added sshd.pam into debian dir and install it.
853 * Commented out unnecessary call to dh_installinfo.
854 * Added a line to sshd.pam so that limits will be paid attention
855 to (Closes: #66904)
856 * Restart Option has a Timeout of 10 seconds (Closes: 51264)
857 * scp won't override files anymore (Closes: 51955)
858 * Removed pam_lastlog module, so that the lastlog is now printed
859 only once (Closes: #71742, #68335, #69592, #71495, #77781)
860 * If password is expired, openssh now forces the user to change it.
861 (Closes: #51747)
862 * scp should now have no more problems with shell-init-files that
863 produces ouput (Closes: #56280,#59873)
864 * ssh now prints the motd correctly (Closes: #66926)
865 * ssh upgrade should disable ssh daemon only if users has choosen
866 to do so (Closes: #67478)
867 * ssh can now be installed suid (Closes: #70879)
868 * Modified debian/rules to support hurd.
869
870 -- Christian Kurz <shorty@debian.org> Wed, 27 Dec 2000 20:06:57 +0100
871
872openssh (1:2.2.0p1-1.1) unstable; urgency=medium
873
874 * Non-Maintainer Upload
875 * Check for new returns in the new libc
876 (closes: #72803, #74393, #72797, #71307, #71702)
877 * Link against libssl095a (closes: #66304)
878 * Correct check for PermitRootLogin (closes: #69448)
879
880 -- Ryan Murray <rmurray@debian.org> Wed, 18 Oct 2000 00:48:18 -0700
881
882openssh (1:2.2.0p1-1) unstable; urgency=low
883
884 * New upstream release
885
886 -- Philip Hands <phil@hands.com> Mon, 11 Sep 2000 14:49:43 +0100
887
888openssh (1:2.1.1p4-3) unstable; urgency=low
889
890 * add rsh alternatives
891 * add -S option to scp (using Tommi Virtanen's patch) (closes: #63097)
892 * do the IPV4_DEFAULT thing properly this time
893
894 -- Philip Hands <phil@hands.com> Fri, 11 Aug 2000 18:14:37 +0100
895
896openssh (1:2.1.1p4-2) unstable; urgency=low
897
898 * reinstate manpage .out patch from 1:1.2.3
899 * fix typo in postinst
900 * only compile ssh with IPV4_DEFAULT
901 * apply James Troup's patch to add a -o option to scp and updated manpage
902
903 -- Philip Hands <phil@hands.com> Sun, 30 Jul 2000 00:12:49 +0100
904
905openssh (1:2.1.1p4-1) unstable; urgency=low
906
907 * New upstream release
908
909 -- Philip Hands <phil@hands.com> Sat, 29 Jul 2000 14:46:16 +0100
910
911openssh (1:1.2.3-10) unstable; urgency=low
912
913 * add version to libpam-modules dependency, because old versions of
914 pam_motd make it impossible to log in.
915
916 -- Philip Hands <phil@hands.com> Sat, 29 Jul 2000 13:28:22 +0100
917
918openssh (1:1.2.3-9) frozen unstable; urgency=low
919
920 * force location of /usr/bin/X11/xauth
921 (closes: #64424, #66437, #66859) *RC*
922 * typos in config (closes: #66779, #66780)
923 * sshd_not_to_be_run could be assumed to be true, in error, if the config
924 script died in an unusual way --- I've reversed this (closes: #66335)
925 * Apply Zack Weinberg <zack@wolery.cumb.org>'s patch to ssh-askpass-ptk
926 (closes: #65981)
927 * change default for PermitRootLogin to "no" (closes: #66406)
928
929 -- Philip Hands <phil@hands.com> Tue, 11 Jul 2000 20:51:18 +0100
930
931openssh (1:1.2.3-8) frozen unstable; urgency=low
932
933 * get rid of Provides: rsh-server (this will mean that rstartd
934 will need to change it's depends to deal with #63948, which I'm
935 reopening) (closes: #66257)
936 Given that this is also a trivial change, and is a reversal of a
937 change that was mistakenly made after the freeze, I think this should
938 also go into frozen.
939
940 -- Philip Hands <phil@hands.com> Wed, 28 Jun 2000 03:26:30 +0100
941
942openssh (1:1.2.3-7) frozen unstable; urgency=low
943
944 * check if debconf is installed before calling db_stop in postinst.
945 This is required to allow ssh to be installed when debconf is not
946 wanted, which probably makes it an RC upload (hopefully the last of
947 too many).
948
949 -- Philip Hands <phil@hands.com> Wed, 28 Jun 2000 03:19:47 +0100
950
951openssh (1:1.2.3-6) frozen unstable; urgency=low
952
953 * fixed depressing little bug involving a line wrap looking like
954 a blank line in the templates file *RC*
955 (closes: #66090, #66078, #66083, #66182)
956
957 -- Philip Hands <phil@hands.com> Mon, 26 Jun 2000 00:45:05 +0100
958
959openssh (1:1.2.3-5) frozen unstable; urgency=low
960
961 * add code to prevent UseLogin exploit, although I think our PAM
962 conditional code breaks UseLogin in a way that protects us from this
963 exploit anyway. ;-) (closes: #65495) *RC*
964 * Apply Zack Weinberg <zack@wolery.cumb.org>'s patch to fix keyboard
965 grab vulnerability in ssh-askpass-gnome (closes: #64795) *RC*
966 * stop redirection of sshd's file descriptors (introduced in 1:1.2.3-3)
967 and use db_stop in the postinst to solve that problem instead
968 (closes: #65104)
969 * add Provides: rsh-server to ssh (closes: #63948)
970 * provide config option not to run sshd
971
972 -- Philip Hands <phil@hands.com> Mon, 12 Jun 2000 23:05:11 +0100
973
974openssh (1:1.2.3-4) frozen unstable; urgency=low
975
976 * fixes #63436 which is *RC*
977 * add 10 second pause in init.d restart (closes: #63844)
978 * get rid of noenv in PAM mail line (closes: #63856)
979 * fix host key path in make-ssh-known-hosts (closes: #63713)
980 * change wording of SUID template (closes: #62788, #63436)
981
982 -- Philip Hands <phil@hands.com> Sat, 27 May 2000 11:18:06 +0100
983
984openssh (1:1.2.3-3) frozen unstable; urgency=low
985
986 * redirect sshd's file descriptors to /dev/null in init to
987 prevent debconf from locking up during installation
988 ** grave bug just submited by me **
989
990 -- Philip Hands <phil@hands.com> Thu, 20 Apr 2000 17:10:59 +0100
991
992openssh (1:1.2.3-2) frozen unstable; urgency=low
993
994 * allow user to select SUID status of /usr/bin/ssh (closes: 62462) ** RC **
995 * suggest debconf
996 * conflict with debconf{,-tiny} (<<0.2.17) so I can clean up the preinst
997
998 -- Philip Hands <phil@hands.com> Wed, 19 Apr 2000 17:49:15 +0100
999
1000openssh (1:1.2.3-1) frozen unstable; urgency=low
1001
1002 * New upstream release
1003 * patch sshd to create extra xauth key required for localhost
1004 (closes: #49944) *** RC ***
1005 * FallbacktoRsh now defaults to ``no'' to match impression
1006 given in sshd_config
1007 * stop setting suid bit on ssh (closes: #58711, #58558)
1008 This breaks Rhosts authentication (which nobody uses) and allows
1009 the LD_PRELOAD trick to get socks working, so seems like a net benefit.
1010
1011 -- Philip Hands <phil@hands.com> Thu, 13 Apr 2000 20:01:54 +0100
1012
1013openssh (1:1.2.2-1.4) frozen unstable; urgency=low
1014
1015 * Recompile for frozen, contains fix for RC bug.
1016
1017 -- Tommi Virtanen <tv@debian.org> Tue, 29 Feb 2000 22:14:58 +0200
1018
1019openssh (1:1.2.2-1.3) unstable; urgency=low
1020
1021 * Integrated man page addition for PrintLastLog.
1022 This bug was filed on "openssh", and I ended up
1023 creating my own patch for this (closes: #59054)
1024 * Improved error message when ssh_exchange_identification
1025 gets EOF (closes: #58904)
1026 * Fixed typo (your -> you're) in debian/preinst.
1027 * Added else-clauses to config to make this upgradepath possible:
1028 oldssh -> openssh preinst fails due to upgrade_to_openssh=false
1029 -> ssh-nonfree -> openssh. Without these, debconf remembered
1030 the old answer, config didn't force asking it, and preinst always
1031 aborted (closes: #56596, #57782)
1032 * Moved setting upgrade_to_openssh isdefault flag to the place
1033 where preinst would abort. This means no double question to most
1034 users, people who currently suffer from "can't upgrade" may need
1035 to run apt-get install ssh twice. Did not do the same for
1036 use_old_init_script, as the situation is a bit different, and
1037 less common (closes: #54010, #56224)
1038 * Check for existance of ssh-keygen before attempting to use it in
1039 preinst, added warning for non-existant ssh-keygen in config. This
1040 happens when the old ssh is removed (say, due to ssh-nonfree getting
1041 installed).
1042
1043 -- Tommi Virtanen <tv@debian.org> Sun, 27 Feb 2000 21:36:43 +0200
1044
1045openssh (1:1.2.2-1.2) frozen unstable; urgency=low
1046
1047 * Non-maintainer upload.
1048 * Added configuration option PrintLastLog, default off due to PAM
1049 (closes: #54007, #55042)
1050 * ssh-askpass-{gnome,ptk} now provide ssh-askpass, making ssh's
1051 Suggests: line more accurate. Also closing related bugs fixed
1052 earlier, when default ssh-askpass moved to /usr/bin.
1053 (closes: #52403, #54741, #50607, #52298, #50967, #51661)
1054 * Patched to call vhangup, with autoconf detection and all
1055 (closes: #55379)
1056 * Added --with-ipv4-default workaround to a glibc bug causing
1057 slow DNS lookups, as per UPGRADING. Use -6 to really use
1058 IPv6 addresses. (closes: #57891, #58744, #58713, #57970)
1059 * Added noenv to PAM pam_mail line. Thanks to Ben Collins.
1060 (closes: #58429)
1061 * Added the UPGRADING file to the package.
1062 * Added frozen to the changelog line and recompiled before
1063 package was installed into the archive.
1064
1065 -- Tommi Virtanen <tv@debian.org> Fri, 25 Feb 2000 22:08:57 +0200
1066
1067openssh (1:1.2.2-1.1) frozen unstable; urgency=low
1068
1069 * Non-maintainer upload.
1070 * Integrated scp pipe buffer patch from Ben Collins
1071 <benc@debian.org>, should now work even if reading
1072 a pipe gives less than fstat st_blksize bytes.
1073 Should now work on Alpha and Sparc Linux (closes: #53697, #52071)
1074 * Made ssh depend on libssl09 (>= 0.9.4-3) (closes: #51393)
1075 * Integrated patch from Ben Collins <benc@debian.org>
1076 to do full shadow account locking and expiration
1077 checking (closes: #58165, #51747)
1078
1079 -- Tommi Virtanen <tv@debian.org> Tue, 22 Feb 2000 20:46:12 +0200
1080
1081openssh (1:1.2.2-1) frozen unstable; urgency=medium
1082
1083 * New upstream release (closes: #56870, #56346)
1084 * built against new libesd (closes: #56805)
1085 * add Colin Watson <cjw44@cam.ac.uk> =NULL patch
1086 (closes: #49902, #54894)
1087 * use socketpairs as suggested by Andrew Tridgell to eliminate rsync
1088 (and other) lockups
1089 * patch SSHD_PAM_SERVICE back into auth-pam.c, again :-/
1090 (closes: #49902, #55872, #56959)
1091 * uncoment the * line in ssh_config (closes: #56444)
1092
1093 * #54894 & #49902 are release critical, so this should go in frozen
1094
1095 -- Philip Hands <phil@hands.com> Wed, 9 Feb 2000 04:52:04 +0000
1096
1097openssh (1:1.2.1pre24-1) unstable; urgency=low
1098
1099 * New upstream release
1100
1101 -- Philip Hands <phil@hands.com> Fri, 31 Dec 1999 02:47:24 +0000
1102
1103openssh (1:1.2.1pre23-1) unstable; urgency=low
1104
1105 * New upstream release
1106 * excape ? in /etc/init.d/ssh (closes: #53269)
1107
1108 -- Philip Hands <phil@hands.com> Wed, 29 Dec 1999 16:50:46 +0000
1109
1110openssh (1:1.2pre17-1) unstable; urgency=low
1111
1112 * New upstream release
1113
1114 -- Philip Hands <phil@hands.com> Thu, 9 Dec 1999 16:50:40 +0000
1115
1116openssh (1:1.2pre16-1) unstable; urgency=low
1117
1118 * New upstream release
1119 * upstream release (1.2pre14) (closes: #50299)
1120 * make ssh depend on libwrap0 (>= 7.6-1.1) (closes: #50973, #50776)
1121 * dispose of grep -q broken pipe message in config script (closes: #50855)
1122 * add make-ssh-known-hosts (closes: #50660)
1123 * add -i option to ssh-copy-id (closes: #50657)
1124 * add check for *LK* in password, indicating a locked account
1125
1126 -- Philip Hands <phil@hands.com> Wed, 8 Dec 1999 22:59:38 +0000
1127
1128openssh (1:1.2pre13-1) unstable; urgency=low
1129
1130 * New upstream release
1131 * make sshd.c use SSHD_PAM_SERVICE and define it as "ssh" in debian/rules
1132 * remove duplicate line in /etc/pam.d/ssh (closes: #50310)
1133 * mention ssh -A option in ssh.1 & ssh_config
1134 * enable forwarding to localhost in default ssh_config (closes: #50373)
1135 * tweak preinst to deal with debconf being `unpacked'
1136 * use --with-tcp-wrappers (closes: #49545)
1137
1138 -- Philip Hands <phil@hands.com> Sat, 20 Nov 1999 14:20:04 +0000
1139
1140openssh (1:1.2pre11-2) unstable; urgency=low
1141
1142 * oops, just realised that I forgot to strip out the unpleasant
1143 fiddling mentioned below (which turned not to be a fix anyway)
1144
1145 -- Philip Hands <phil@hands.com> Mon, 15 Nov 1999 01:35:23 +0000
1146
1147openssh (1:1.2pre11-1) unstable; urgency=low
1148
1149 * New upstream release (closes: #49722)
1150 * add 2>/dev/null to dispose of spurious message casused by grep -q
1151 (closes: #49876, #49604)
1152 * fix typo in debian/control (closes: #49841)
1153 * Do some unpleasant fiddling with upgraded keys in the preinst, which
1154 should make the keylength problem go away. (closes: #49676)
1155 * make pam_start in sshd use ``ssh'' as the service name (closes: #49956)
1156 * If /etc/ssh/NOSERVER exist, stop sshd from starting (closes: #47107)
1157 * apply Ben Collins <bcollins@debian.org>'s shadow patch
1158 * disable lastlogin and motd printing if using pam (closes: #49957)
1159 * add ssh-copy-id script and manpage
1160
1161 -- Philip Hands <phil@hands.com> Fri, 12 Nov 1999 01:03:38 +0000
1162
1163openssh (1:1.2pre9-1) unstable; urgency=low
1164
1165 * New upstream release
1166 * apply Chip Salzenberg <chip@valinux.com>'s SO_REUSEADDR patch
1167 to channels.c, to make forwarded ports instantly reusable
1168 * replace Pre-Depend: debconf with some check code in preinst
1169 * make the ssh-add ssh-askpass failure message more helpful
1170 * fix the ssh-agent getopts bug (closes: #49426)
1171 * fixed typo on Suggests: line (closes: #49704, #49571)
1172 * tidy up ssh package description (closes: #49642)
1173 * make ssh suid (closes: #49635)
1174 * in preinst upgrade code, ensure ssh_host_keys is mode 600 (closes: #49606)
1175 * disable agent forwarding by default, for the similar reasons as
1176 X forwarding (closes: #49586)
1177
1178 -- Philip Hands <phil@hands.com> Tue, 9 Nov 1999 09:57:47 +0000
1179
1180openssh (1:1.2pre7-4) unstable; urgency=low
1181
1182 * predepend on debconf (>= 0.2.17) should now allow preinst questions
1183
1184 -- Philip Hands <phil@hands.com> Sat, 6 Nov 1999 10:31:06 +0000
1185
1186openssh (1:1.2pre7-3) unstable; urgency=low
1187
1188 * add ssh-askpass package using Tommi Virtanen's perl-tk script
1189 * add ssh-preconfig package cludge
1190 * add usage hints to ssh-agent.1
1191
1192 -- Philip Hands <phil@hands.com> Fri, 5 Nov 1999 00:38:33 +0000
1193
1194openssh (1:1.2pre7-2) unstable; urgency=low
1195
1196 * use pam patch from Ben Collins <bcollins@debian.org>
1197 * add slogin symlink to Makefile.in
1198 * change /usr/bin/login to LOGIN_PROGRAM define of /bin/login
1199 * sort out debconf usage
1200 * patch from Tommi Virtanen <tv@debian.org>'s makes ssh-add use ssh-askpass
1201
1202 -- Philip Hands <phil@hands.com> Thu, 4 Nov 1999 11:08:54 +0000
1203
1204openssh (1:1.2pre7-1) unstable; urgency=low
1205
1206 * New upstream release
1207
1208 -- Philip Hands <phil@hands.com> Tue, 2 Nov 1999 21:02:37 +0000
1209
1210openssh (1:1.2.0.pre6db1-2) unstable; urgency=low
1211
1212 * change the binary package name to ssh (the non-free branch of ssh has
1213 been renamed to ssh-nonfree)
1214 * make pam file comply with Debian standards
1215 * use an epoch to make sure openssh supercedes ssh-nonfree
1216
1217 -- Philip Hands <phil@hands.com> Sat, 30 Oct 1999 16:26:05 +0100
1218
1219openssh (1.2pre6db1-1) unstable; urgency=low
1220
1221 * New upstream source
1222 * sshd accepts logins now!
1223
1224 -- Dan Brosemer <odin@linuxfreak.com> Fri, 29 Oct 1999 11:13:38 -0500
1225
1226openssh (1.2.0.19991028-1) unstable; urgency=low
1227
1228 * New upstream source
1229 * Added test for -lnsl to configure script
1230
1231 -- Dan Brosemer <odin@linuxfreak.com> Thu, 28 Oct 1999 18:52:09 -0500
1232
1233openssh (1.2.0.19991027-3) unstable; urgency=low
1234
1235 * Initial release
1236
1237 -- Dan Brosemer <odin@linuxfreak.com> Wed, 27 Oct 1999 19:39:46 -0500
1238
1239Local variables:
1240mode: debian-changelog
1241End:
diff --git a/debian/conffiles b/debian/conffiles
new file mode 100644
index 000000000..b5c7a47fc
--- /dev/null
+++ b/debian/conffiles
@@ -0,0 +1,5 @@
1/etc/ssh/ssh_config
2/etc/ssh/moduli
3/etc/init.d/ssh
4/etc/pam.d/ssh
5/etc/default/ssh
diff --git a/debian/config b/debian/config
new file mode 100644
index 000000000..c25f2ae3f
--- /dev/null
+++ b/debian/config
@@ -0,0 +1,100 @@
1#!/bin/sh
2
3action=$1
4version=$2
5
6if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then
7 version=1.2.27
8 cp -a /etc/ssh-nonfree /etc/ssh
9fi
10
11# Source debconf library.
12. /usr/share/debconf/confmodule
13db_version 2.0
14
15if [ -n "$version" ] && dpkg --compare-versions "$version" lt 1:3.0p1-1
16then
17 db_input medium ssh/ssh2_keys_merged
18fi
19
20if [ -e /etc/init.d/ssh ] && ! grep -q pidfile /etc/init.d/ssh
21then
22 db_fset ssh/use_old_init_script seen false
23 db_input medium ssh/use_old_init_script || true
24 db_go
25
26 db_get ssh/use_old_init_script
27 [ "$RET" = "false" ] && exit 0
28else
29 db_set ssh/use_old_init_script true
30 db_fset ssh/use_old_init_script seen true
31fi
32
33if [ -z "$version" -a ! -e /etc/ssh/sshd_config ]
34then
35 db_input medium ssh/protocol2_only || true
36fi
37
38if [ -e /etc/ssh/sshd_config ]
39then
40 if dpkg --compare-versions "$version" lt-nl 1:1.3 ;
41 then db_input medium ssh/new_config || true
42 db_go
43 db_get ssh/new_config
44 if [ "$RET" = "true" ];
45 then db_input medium ssh/protocol2_only ||true
46 db_input high ssh/privsep_ask ||true
47 else db_input high ssh/privsep_tell ||true
48 fi
49 else db_input high ssh/privsep_tell ||true
50 fi
51else db_input high ssh/privsep_tell ||true
52fi
53
54db_input medium ssh/SUID_client || true
55
56# To be correct during initial installation, this relies on the desired
57# default for run_sshd being "true".
58if [ -e /etc/ssh/sshd_not_to_be_run ]
59then
60 db_set ssh/run_sshd false
61else
62 db_set ssh/run_sshd true
63fi
64db_input medium ssh/run_sshd || true
65
66if [ -x /usr/sbin/in.telnetd ] && grep -q "^telnet\b" /etc/inetd.conf
67then
68 if ! /usr/sbin/in.telnetd -? 2>&1 | grep -q ssl 2>/dev/null
69 then
70 db_input low ssh/insecure_telnetd || true
71 fi
72fi
73
74key=/etc/ssh/ssh_host_key
75export key
76if [ -n "$version" ] && [ -f $key ] && [ ! -x /usr/bin/ssh-keygen ] &&
77 dpkg --compare-versions "$version" lt 1.2.28
78then
79 # make sure that keys get updated to get rid of IDEA; preinst
80 # actually does the work, but if the old ssh-keygen is not found,
81 # it can't do that -- thus, we tell the user that he must create
82 # a new host key.
83 echo -en '\0\0' | 3<&0 sh -c \
84 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || {
85 # this means that bytes 32&33 of the key were not both zero, in which
86 # case the key is encrypted, which we need to fix
87 db_input high ssh/encrypted_host_key_but_no_keygen || true
88 }
89fi
90
91
92db_input low ssh/forward_warning || true
93
94if dpkg --compare-versions "$version" lt-nl 1:3.5p1-3; then
95 db_input high ssh/user_environment_tell || true
96fi
97
98db_go
99
100exit 0
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..046f157e4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
1Source: openssh
2Section: net
3Priority: standard
4Maintainer: Matthew Vernon <matthew@debian.org>
5Build-Depends: libwrap0-dev | libwrap-dev, zlib1g-dev | libz-dev, libssl-dev, libpam0g-dev | libpam-dev, libgnomeui-dev (>= 2.0.0) | libgnome-dev, groff, debhelper (>=1.1.17), sharutils
6Standards-Version: 3.6.1
7Uploaders: Colin Watson <cjwatson@debian.org>
8
9Package: ssh
10Architecture: any
11Depends: ${shlibs:Depends}, ${debconf-depends}, libpam-modules (>= 0.72-9), adduser (>= 3.9)
12Conflicts: ssh-nonfree (<<2), ssh-socks, ssh2, sftp, rsh-client (<<0.16.1-1)
13Suggests: ssh-askpass, xbase-clients, dpkg (>=1.8.3.1), dnsutils
14Provides: rsh-client
15Description: Secure rlogin/rsh/rcp replacement (OpenSSH)
16 This is the portable version of OpenSSH, a free implementation of
17 the Secure Shell protocol as specified by the IETF secsh working
18 group.
19 .
20 Ssh (Secure Shell) is a program for logging into a remote machine
21 and for executing commands on a remote machine.
22 It provides secure encrypted communications between two untrusted
23 hosts over an insecure network. X11 connections and arbitrary TCP/IP
24 ports can also be forwarded over the secure channel.
25 It is intended as a replacement for rlogin, rsh and rcp, and can be
26 used to provide applications with a secure communication channel.
27 .
28 This package provides both the ssh client and the sshd server.
29 .
30 --------------------------------------------------------------------
31 .
32 In some countries it may be illegal to use any encryption at all
33 without a special permit.
34
35Package: ssh-askpass-gnome
36Section: gnome
37Priority: optional
38Architecture: any
39Depends: ${shlibs:Depends}, ssh (>=1:1.2pre7-4) | ssh-krb5
40Replaces: ssh (<< 1:3.5p1-3)
41Provides: ssh-askpass
42Description: under X, asks user for a passphrase for ssh-add
43 This has been split out of the main ssh package, so that the ssh will
44 not need to depend upon the Gnome libraries.
45 .
46 You probably want the ssh-askpass package instead, but this is
47 provided to add to your choice and/or confusion.
48
diff --git a/debian/copyright.head b/debian/copyright.head
new file mode 100644
index 000000000..6d95c8ae2
--- /dev/null
+++ b/debian/copyright.head
@@ -0,0 +1,37 @@
1This package was debianized by Philip Hands <phil@hands.com> on 31 Oct 1999
2(with help from Dan Brosemer <odin@linuxfreak.com>)
3
4It was downloaded from here:
5 ftp://ftp.fu-berlin.de/unix/security/openssh/openssh-2.3.0p1.tar.gz
6
7worldwide mirrors are listed here:
8 http://www.openssh.com/ftp.html
9
10The Debian specific parts of the package are mostly taken from the
11original ssh package, which has since been renamed as ssh-nonfree.
12
13The Debian patch is distributed under the terms of the GPL, which you
14can find in /usr/share/common-licenses/GPL.
15
16The upstream source for this package is a combination of the ssh
17branch that is being maintained by the OpenBSD team (starting from
18the last version of SSH that was distributed under a free license),
19and porting work by Damien Miller <damien@ibs.com.au> to get it
20working on Linux. Other people also contributed to this, and are
21credited in /usr/share/doc/ssh/README.
22
23Copyright:
24
25Code in helper.[ch] is Copyright Internet Business Solutions and is
26released under a X11-style license (see source file for details).
27
28(A)RC4 code in rc4.[ch] is Copyright Damien Miller. It too is under a
29X11-style license (see source file for details).
30
31make-ssh-known-hosts is Copyright Tero Kivinen <Tero.Kivinen@hut.fi>,
32and is distributed under the GPL (see source file for details).
33
34The copyright for the original SSH version follows. It has been
35modified with [comments] to reflect the changes that the OpenBSD folks
36have made:
37
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 000000000..1496845fc
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,8 @@
1usr/bin
2usr/sbin
3usr/lib
4etc/ssh
5etc/init.d
6etc/default
7usr/share/man/man1
8usr/share/man/man8
diff --git a/debian/gnome-ssh-askpass.1 b/debian/gnome-ssh-askpass.1
new file mode 100644
index 000000000..b74c410a8
--- /dev/null
+++ b/debian/gnome-ssh-askpass.1
@@ -0,0 +1,51 @@
1.TH GNOME-SSH-ASKPASS 1
2.SH NAME
3gnome\-ssh\-askpass \- prompts a user for a passphrase using GNOME
4.SH SYNOPSIS
5.B gnome\-ssh\-askpass
6.SH DESCRIPTION
7.B gnome\-ssh\-askpass
8is a GNOME-based passphrase dialog for use with OpenSSH.
9It is intended to be called by the
10.BR ssh\-add (1)
11program and not invoked directly.
12It allows
13.BR ssh\-add (1)
14to obtain a passphrase from a user, even if not connected to a terminal
15(assuming that an X display is available).
16This happens automatically in the case where
17.B ssh\-add
18is invoked from one's
19.B ~/.xsession
20or as one of the GNOME startup programs, for example.
21.PP
22In order to be called automatically by
23.BR ssh\-add ,
24.B gnome\-ssh\-askpass
25should be installed as
26.IR /usr/bin/ssh\-askpass .
27.SH "ENVIRONMENT VARIABLES"
28The following environment variables are recognized:
29.TP
30.I GNOME_SSH_ASKPASS_GRAB_SERVER
31Causes
32.B gnome\-ssh\-askpass
33to grab the X server before asking for a passphrase.
34.TP
35.I GNOME_SSH_ASKPASS_GRAB_POINTER
36Causes
37.B gnome\-ssh\-askpass
38to grab the mouse pointer using
39.IR gdk_pointer_grab ()
40before asking for a passphrase.
41.PP
42Regardless of whether either of these environment variables is set,
43.B gnome\-ssh\-askpass
44will grab the keyboard using
45.IR gdk_keyboard_grab ().
46.SH AUTHOR
47This manual page was written by Colin Watson <cjwatson@debian.org>
48for the Debian system (but may be used by others).
49It was based on that for
50.B x11\-ssh\-askpass
51by Philip Hands.
diff --git a/debian/init b/debian/init
new file mode 100644
index 000000000..641b9eff5
--- /dev/null
+++ b/debian/init
@@ -0,0 +1,75 @@
1#! /bin/sh
2set -e
3
4# /etc/init.d/ssh: start and stop the OpenBSD "secure shell(tm)" daemon
5
6test -x /usr/sbin/sshd || exit 0
7( /usr/sbin/sshd -\? 2>&1 | grep -q OpenSSH ) 2>/dev/null || exit 0
8
9if test -f /etc/default/ssh; then
10 . /etc/default/ssh
11fi
12
13check_for_no_start() {
14 # forget it if we're trying to start, and /etc/ssh/sshd_not_to_be_run exists
15 if [ -e /etc/ssh/sshd_not_to_be_run ]; then
16 echo "OpenBSD Secure Shell server not in use (/etc/ssh/sshd_not_to_be_run)"
17 exit 0
18 fi
19}
20
21check_privsep_dir() {
22 # Create the PrivSep empty dir if necessary
23 if [ ! -d /var/run/sshd ]; then
24 mkdir /var/run/sshd
25 chmod 0755 /var/run/sshd
26 fi
27}
28
29check_config() {
30 if [ ! -e /etc/ssh/sshd_not_to_be_run ]; then
31 /usr/sbin/sshd -t || exit 1
32 fi
33}
34
35export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"
36
37case "$1" in
38 start)
39 check_for_no_start
40 check_privsep_dir
41 echo -n "Starting OpenBSD Secure Shell server: sshd"
42 start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPTS
43 echo "."
44 ;;
45 stop)
46 echo -n "Stopping OpenBSD Secure Shell server: sshd"
47 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/sshd.pid
48 echo "."
49 ;;
50
51 reload|force-reload)
52 check_for_no_start
53 check_config
54 echo -n "Reloading OpenBSD Secure Shell server's configuration"
55 start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd
56 echo "."
57 ;;
58
59 restart)
60 check_config
61 echo -n "Restarting OpenBSD Secure Shell server: sshd"
62 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/sshd.pid
63 check_for_no_start
64 check_privsep_dir
65 sleep 2
66 start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPTS
67 echo "."
68 ;;
69
70 *)
71 echo "Usage: /etc/init.d/ssh {start|stop|reload|force-reload|restart}"
72 exit 1
73esac
74
75exit 0
diff --git a/debian/moduli.5 b/debian/moduli.5
new file mode 100644
index 000000000..b3997658b
--- /dev/null
+++ b/debian/moduli.5
@@ -0,0 +1,152 @@
1.\" $OpenBSD: moduli.5,v 1.7 2003/03/06 20:48:35 jmc Exp $
2.\"
3.\" Copyright 1997, 2000 William Allen Simpson <wsimpson@greendragon.com>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\" must display the following acknowledgement:
16.\" This product includes software designed by William Allen Simpson.
17.\" 4. The name of the author may not be used to endorse or promote products
18.\" derived from this software without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30.\"
31.\" Manual page, using -mandoc macros
32.\"
33.Dd July 28, 1997
34.Dt MODULI 5
35.Os
36.Sh NAME
37.Nm moduli
38.Nd system moduli file
39.Sh DESCRIPTION
40The
41.Pa /etc/ssh/moduli
42file contains the system-wide Diffie-Hellman prime moduli for
43.Xr sshd 8 .
44.Pp
45Each line in this file contains the following fields:
46Time, Type, Tests, Tries, Size, Generator, Modulus.
47The fields are separated by white space (tab or blank).
48.Pp
49.Fa Time : yyyymmddhhmmss .
50Specifies the system time that the line was appended to the file.
51The value 00000000000000 means unknown (historic).
52.\"The file is sorted in ascending order.
53.Pp
54.Fa Type : decimal .
55Specifies the internal structure of the prime modulus.
56.Pp
57.Bl -tag -width indent -offset indent -compact
58.It 0 :
59unknown;
60often learned from peer during protocol operation,
61and saved for later analysis.
62.It 1 :
63unstructured;
64a common large number.
65.It 2 :
66safe (p = 2q + 1);
67meets basic structural requirements.
68.It 3 :
69Schnorr.
70.It 4 :
71Sophie-Germaine (q = (p-1)/2);
72usually generated in the process of testing safe or strong primes.
73.It 5 :
74strong;
75useful for RSA public key generation.
76.El
77.Pp
78.Fa Tests : decimal (bit field) .
79Specifies the methods used in checking for primality.
80Usually, more than one test is used.
81.Pp
82.Bl -tag -width indent -offset indent -compact
83.It 0 :
84not tested;
85often learned from peer during protocol operation,
86and saved for later analysis.
87.It 1 :
88composite;
89failed one or more tests.
90In this case, the highest bit specifies the test that failed.
91.It 2 :
92sieve;
93checked for division by a range of smaller primes.
94.It 4 :
95Miller-Rabin.
96.It 8 :
97Jacobi.
98.It 16 :
99Elliptic Curve.
100.El
101.Pp
102.Fa Tries : decimal .
103Depends on the value of the highest valid Test bit,
104where the method specified is:
105.Pp
106.Bl -tag -width indent -offset indent -compact
107.It 0 :
108not tested
109(always zero).
110.It 1 :
111composite
112(irrelevant).
113.It 2 :
114sieve;
115number of primes sieved.
116Commonly on the order of 32,000,000.
117.It 4 :
118Miller-Rabin;
119number of M-R iterations.
120Commonly on the order of 32 to 64.
121.It 8 :
122Jacobi;
123unknown
124(always zero).
125.It 16 :
126Elliptic Curve;
127unused
128(always zero).
129.El
130.Pp
131.Fa Size : decimal .
132Specifies the number of significant bits.
133.Pp
134.Fa Generator : hex string .
135Specifies the best generator for a Diffie-Hellman exchange.
1360 = unknown or variable,
1372, 3, 5, etc.
138.Pp
139.Fa Modulus : hex string .
140The prime modulus.
141.Pp
142The file is searched for moduli that meet the appropriate
143Time, Size and Generator criteria.
144When more than one meet the criteria,
145the selection should be weighted toward newer moduli,
146without completely disqualifying older moduli.
147.Sh FILES
148.Bl -tag -width /etc/ssh/moduli -compact
149.It Pa /etc/ssh/moduli
150.El
151.Sh SEE ALSO
152.Xr sshd 8
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 000000000..302e5538b
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
[type: gettext/rfc822deb] templates.master
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644
index 000000000..56b157d18
--- /dev/null
+++ b/debian/po/da.po
@@ -0,0 +1,376 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14#, fuzzy
15msgid ""
16msgstr ""
17"Project-Id-Version: PACKAGE VERSION\n"
18"Report-Msgid-Bugs-To: \n"
19"POT-Creation-Date: 2003-09-12 21:03+0100\n"
20"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
21"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
22"Language-Team: LANGUAGE <LL@li.org>\n"
23"MIME-Version: 1.0\n"
24"Content-Type: text/plain; charset=ISO-8859-1\n"
25"Content-Transfer-Encoding: 8bit\n"
26
27#. Description
28#: ../templates.master:3
29msgid "Privilege separation"
30msgstr "Privilegie adskillelse"
31
32#. Description
33#: ../templates.master:3
34#, fuzzy
35msgid ""
36"Privilege separation is turned on by default, so if you decide you want it "
37"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
38"sshd_config."
39msgstr ""
40"Privilegie adskillelse er slået til som standard, så hvis du beslutter at "
41"slå det fra, skal du bruge \"UsePrivilegeSeparation no\" i /etc/ssh/"
42"sshd_config."
43
44#. Description
45#: ../templates.master:19
46msgid "Enable Privilege separation"
47msgstr "Aktiver Privilegie adskillelse"
48
49#. Description
50#: ../templates.master:19
51msgid ""
52"This version of OpenSSH contains the new privilege separation option. This "
53"significantly reduces the quantity of code that runs as root, and therefore "
54"reduces the impact of security holes in sshd."
55msgstr ""
56"Denne version af OpenSSH indeholder den nye privilegie adskillelses "
57"mulighed. Det reducerer markant mængden af kode der kører som root, og "
58"derfor reducerer det impakten på sikkerheds huller i sshd."
59
60#. Description
61#: ../templates.master:19
62msgid ""
63"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
64"session modules that need to run as root (pam_mkhomedir, for example) will "
65"fail, and PAM keyboard-interactive authentication won't work."
66msgstr ""
67"Desværre, arbejder det ikke godt sammen med PAM. Ethvert PAM session modul "
68"der skal køres som root (pam_mkhomedir, f.eks.) vil fejle, og PAM tastatur-"
69"interaktive autentifikationer vil ikke virke."
70
71#. Description
72#: ../templates.master:19
73#, fuzzy
74msgid ""
75"Since you've opted to have me generate an sshd_config file for you, you can "
76"choose whether or not to have privilege separation turned on or not. Unless "
77"you know you need to use PAM features that won't work with this option, you "
78"should enable it."
79msgstr ""
80"Siden du har bedt mig om at lave en sshd_config fil til dig, kan du vælge om "
81"du vil have privilegie adskillelse slået til eller ej. Medmindre du kører "
82"2.0 (i hvilket tilfælde du *skal* sige nej her, ellers vil din sshd slet "
83"ikke starte) eller ved at du skal bruge PAM funktioner som ikke vil virke "
84"med dette tilvalg, skal du sige ja her."
85
86#. Description
87#: ../templates.master:36
88msgid "Generate new configuration file"
89msgstr "Opret ny konfigurations fil"
90
91#. Description
92#: ../templates.master:36
93msgid ""
94"This version of OpenSSH has a considerably changed configuration file from "
95"the version shipped in Debian 'Potato', which you appear to be upgrading "
96"from. I can now generate you a new configuration file (/etc/ssh/sshd."
97"config), which will work with the new server version, but will not contain "
98"any customisations you made with the old version."
99msgstr ""
100"Denne version af OpenSSH har en betydeligt ændret konfigurations fil fra den "
101"version der kom med Debian 'Potato', som du ser ud til at opgradere fra. Jeg "
102"kan nu oprette en ny konfigurations fil (//etc/ssh/sshd.config), som vil "
103"virke med den nye server version, men det vil ikke beholde eventuelle "
104"ændringer du lavede med den gamle version."
105
106#. Description
107#: ../templates.master:36
108msgid ""
109"Please note that this new configuration file will set the value of "
110"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
111"ssh directly in as root). It is the opinion of the maintainer that this is "
112"the correct default (see README.Debian for more details), but you can always "
113"edit sshd_config and set it to no if you wish."
114msgstr ""
115"Venligst bemærk at den nye konfigurations fil vil sætte værdien af "
116"'PermitRootLogin' til ja (som betyder at alle der kender roots password, kan "
117"tilgå maskinen via ssh direkte). Det er vedligeholderens mening, at det er "
118"den korrekte standard-værdi (se README.Debian for flere detaljer), men du "
119"kan altid redigere sshd_config og slå det fra, hvis du ønsker."
120
121#. Description
122#: ../templates.master:36
123msgid ""
124"It is strongly recommended that you let me generate a new configuration file "
125"for you."
126msgstr ""
127"Du rådes stærkt til at lade mig genere en ny konfigurations fil for dig."
128
129#. Description
130#: ../templates.master:55
131msgid "Allow SSH protocol 2 only"
132msgstr "Tillad kun SSH protokol 2"
133
134#. Description
135#: ../templates.master:55
136msgid ""
137"This version of OpenSSH supports version 2 of the ssh protocol, which is "
138"much more secure. Disabling ssh 1 is encouraged, however this will slow "
139"things down on low end machines and might prevent older clients from "
140"connecting (the ssh client shipped with \"potato\" is affected)."
141msgstr ""
142"Denne udgave af OpenSSH understøtter version 2 af ssh-protokollen, som er "
143"betydeligt mere sikker. Det anbefales af deaktivere version 1. Dog kan det "
144"sløve langsomme maskiner, og forhindre ældre klienter i at opnå forbindelse "
145"(ssh klienten der kommer med \"potato\" er en af dem)."
146
147#. Description
148#: ../templates.master:55
149msgid ""
150"Also please note that keys used for protocol 1 are different so you will not "
151"be able to use them if you only allow protocol 2 connections."
152msgstr ""
153"Du skal også bemærke at de nøgler som bliver anvendt til protokol 1 er "
154"forskellige, så du vil ikke ævre i stand til at bruge dem, hvis du kun "
155"tillader protokol 2 forbindelser."
156
157#. Description
158#: ../templates.master:55
159msgid ""
160"If you later change your mind about this setting, README.Debian has "
161"instructions on what to do to your sshd_config file."
162msgstr ""
163"Hvis du senere ændrer din mening om denne indstilling, har README.Debian "
164"instruktioner på hvad du skal gøre ved din sshd_config fil."
165
166#. Description
167#: ../templates.master:69
168msgid "ssh2 keys merged in configuration files"
169msgstr "ssh2-nøgler flettet i opsætningsfilerne"
170
171#. Description
172#: ../templates.master:69
173msgid ""
174"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
175"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
176"needed. They will still be read in order to maintain backwards compatibility"
177msgstr ""
178"Siden version 3 har OpenSSH ikke længere separate filer for ssh1- og ssh2-"
179"nøgler. Det betyder, at filerne authorized_keys2 og known_hosts2 ikke "
180"længere er nødvendige. De vil stadig dog stadig blive læst for "
181"bagudkompatilitetens skyld."
182
183#. Description
184#: ../templates.master:78
185msgid "Do you want to continue (and risk killing active ssh sessions)?"
186msgstr "Vil du fortsætte (og risikere at afbryde aktive ssh-forbindelser)?"
187
188#. Description
189#: ../templates.master:78
190msgid ""
191"The version of /etc/init.d/ssh that you have installed, is likely to kill "
192"all running sshd instances. If you are doing this upgrade via an ssh "
193"session, that would be a Bad Thing(tm)."
194msgstr ""
195"Den udgave af /etc/init.d/ssh, du har installeret, vil sandsynligvis afbryde "
196"alle sshd-dæmoner. Det vil være en rigtigt dårlig idé, hvis du er ved at "
197"opgradering via en ssh-forbindelse."
198
199#. Description
200#: ../templates.master:78
201msgid ""
202"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
203"daemon line in the stop section of the file."
204msgstr ""
205"Du kan afhjælpe dette ved at tilføje \"--pidfile /var/run/sshd.pid\" til "
206"'start-stop-daemon'-linjen i stop-afsnittet af filen."
207
208#. Description
209#: ../templates.master:88
210msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
211msgstr ""
212"BEMÆRK: Videregivelse af X11 og adgangkontrol er som standard deaktiveret."
213
214#. Description
215#: ../templates.master:88
216#, fuzzy
217msgid ""
218"For security reasons, the Debian version of ssh has ForwardX11 and "
219"ForwardAgent set to ``off'' by default."
220msgstr ""
221"Af sikkerhedsgrunde har Debianudgaven af ssh sat ForwardX11 og ForwardAgent "
222"til 'off' som standard."
223
224#. Description
225#: ../templates.master:88
226#, fuzzy
227msgid ""
228"You can enable it for servers you trust, either in one of the configuration "
229"files, or with the -X command line option."
230msgstr ""
231"Du kan aktivere dem for servere, du stoler på i en af opsætningsfilerne "
232"eller med kommandolinjetilvalget '-X'."
233
234#. Description
235#: ../templates.master:88
236msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
237msgstr ""
238
239#. Description
240#: ../templates.master:99
241msgid "Warning: rsh-server is installed --- probably not a good idea"
242msgstr "Advarsel: rsh-serveren er installeret --- sikkert ikke en god idé"
243
244#. Description
245#: ../templates.master:99
246msgid ""
247"having rsh-server installed undermines the security that you were probably "
248"wanting to obtain by installing ssh. I'd advise you to remove that package."
249msgstr ""
250"Den sikkerhed, du nok ønskede at opnå ved at installere ssh undermineres "
251"ved, at du har rsh-server installeret. Jeg vil råde dig til at fjerne pakken "
252"rsh-server."
253
254#. Description
255#: ../templates.master:106
256msgid "Warning: telnetd is installed --- probably not a good idea"
257msgstr "Advarsel: telnetd er installeret --- sikkert ikke en god idé"
258
259#. Description
260#: ../templates.master:106
261msgid ""
262"I'd advise you to either remove the telnetd package (if you don't actually "
263"need to offer telnet access) or install telnetd-ssl so that there is at "
264"least some chance that telnet sessions will not be sending unencrypted login/"
265"password and session information over the network."
266msgstr ""
267"Jeg vil råde dig til enten at fjerne pakken telnetd (hvis du i virkeligheden "
268"ikke har brug for at tilbyde telnet-adgang) eller installere telnetd-ssl, så "
269"der i det mindste er en mulighed for, at telnet-sessioner ikke sender "
270"adgangskoder og sessions-oplysninger ukrypteret over netværket."
271
272#. Description
273#: ../templates.master:114
274msgid "Warning: you must create a new host key"
275msgstr "Advarsel: du skal oprette en ny værtsnøgle"
276
277#. Description
278#: ../templates.master:114
279#, fuzzy
280msgid ""
281"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
282"not handle this host key file, and I can't find the ssh-keygen utility from "
283"the old (non-free) SSH installation."
284msgstr ""
285"Der ligger en gammel, IDEA-krypteret /etc/ssh/ssh_host_key. OpenSSH kan ikke "
286"håndtere sådan en værtsnøglefil, og jeg kan ikke finde værktøjet ssh-keygen "
287"fra den gamle (ikke-frie, 'non-free') SSH-installation."
288
289#. Description
290#: ../templates.master:114
291msgid "You will need to generate a new host key."
292msgstr ""
293
294#. Description
295#: ../templates.master:124
296msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
297msgstr "Vil du have, at /usr/bin/ssh-keysign bliver installeret 'SUID root'?"
298
299#. Description
300#: ../templates.master:124
301msgid ""
302"You have the option of installing the ssh-keysign helper with the SUID bit "
303"set."
304msgstr ""
305"Du har mulighed for at installere ssh-keysign hjælperen med SUID-flaget sat."
306
307#. Description
308#: ../templates.master:124
309msgid ""
310"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
311"based authentication."
312msgstr ""
313"Hvis du gør ssh-keysign SUID, vil du blive i stand til at benytte SSH "
314"protokol 2's værtsnavn-baserede autentifikation."
315
316#. Description
317#: ../templates.master:124
318msgid ""
319"If in doubt, I suggest you install it with SUID. If it causes problems you "
320"can change your mind later by running: dpkg-reconfigure ssh"
321msgstr ""
322"Hvis du er i tvivl, vil jeg råde dig til at installere den med SUID. Hvis "
323"det skaber problemer, kan du ændre det tilbage igen ved at køre: dpkg-"
324"reconfigure ssh"
325
326#. Description
327#: ../templates.master:137
328msgid "Do you want to run the sshd server?"
329msgstr "Vil du køre sshd-serveren?"
330
331#. Description
332#: ../templates.master:137
333msgid "This package contains both the ssh client, and the sshd server."
334msgstr "Denne pakke indeholder både ssh-klienten og sshd-serveren."
335
336#. Description
337#: ../templates.master:137
338msgid ""
339"Normally the sshd Secure Shell Server will be run to allow remote logins via "
340"ssh."
341msgstr ""
342"Normalt vil sshd sikker skalserver ('Secure Shell Server') blive aktiveret "
343"og tillade fjerne brugere i at logge på via ssh."
344
345#. Description
346#: ../templates.master:137
347msgid ""
348"If you are only interested in using the ssh client for outbound connections "
349"on this machine, and don't want to log into it at all using ssh, then you "
350"can disable sshd here."
351msgstr ""
352"Hvis du udelukkende er interesseret i at bruge ssh-klienten til udgående "
353"forbindelser fra denne maskine, og ikke ønsker at tilgå denne maskine udefra "
354"via ssh, kan du nu deaktivere sshd."
355
356#. Description
357#: ../templates.master:149
358msgid "Environment options on keys have been deprecated"
359msgstr ""
360
361#. Description
362#: ../templates.master:149
363msgid ""
364"This version of OpenSSH disables the environment option for public keys by "
365"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
366"are using this option in an authorized_keys file, beware that the keys in "
367"question will no longer work until the option is removed."
368msgstr ""
369
370#. Description
371#: ../templates.master:149
372msgid ""
373"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
374"sshd_config after the upgrade is complete, taking note of the warning in the "
375"sshd_config(5) manual page."
376msgstr ""
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644
index 000000000..c97b14e22
--- /dev/null
+++ b/debian/po/de.po
@@ -0,0 +1,327 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14#, fuzzy
15msgid ""
16msgstr ""
17"Project-Id-Version: PACKAGE VERSION\n"
18"Report-Msgid-Bugs-To: \n"
19"POT-Creation-Date: 2003-09-12 21:03+0100\n"
20"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
21"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
22"Language-Team: LANGUAGE <LL@li.org>\n"
23"MIME-Version: 1.0\n"
24"Content-Type: text/plain; charset=ISO-8859-15\n"
25"Content-Transfer-Encoding: 8bit\n"
26
27#. Description
28#: ../templates.master:3
29msgid "Privilege separation"
30msgstr ""
31
32#. Description
33#: ../templates.master:3
34msgid ""
35"Privilege separation is turned on by default, so if you decide you want it "
36"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
37"sshd_config."
38msgstr ""
39
40#. Description
41#: ../templates.master:19
42msgid "Enable Privilege separation"
43msgstr ""
44
45#. Description
46#: ../templates.master:19
47msgid ""
48"This version of OpenSSH contains the new privilege separation option. This "
49"significantly reduces the quantity of code that runs as root, and therefore "
50"reduces the impact of security holes in sshd."
51msgstr ""
52
53#. Description
54#: ../templates.master:19
55msgid ""
56"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
57"session modules that need to run as root (pam_mkhomedir, for example) will "
58"fail, and PAM keyboard-interactive authentication won't work."
59msgstr ""
60
61#. Description
62#: ../templates.master:19
63msgid ""
64"Since you've opted to have me generate an sshd_config file for you, you can "
65"choose whether or not to have privilege separation turned on or not. Unless "
66"you know you need to use PAM features that won't work with this option, you "
67"should enable it."
68msgstr ""
69
70#. Description
71#: ../templates.master:36
72msgid "Generate new configuration file"
73msgstr ""
74
75#. Description
76#: ../templates.master:36
77msgid ""
78"This version of OpenSSH has a considerably changed configuration file from "
79"the version shipped in Debian 'Potato', which you appear to be upgrading "
80"from. I can now generate you a new configuration file (/etc/ssh/sshd."
81"config), which will work with the new server version, but will not contain "
82"any customisations you made with the old version."
83msgstr ""
84
85#. Description
86#: ../templates.master:36
87msgid ""
88"Please note that this new configuration file will set the value of "
89"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
90"ssh directly in as root). It is the opinion of the maintainer that this is "
91"the correct default (see README.Debian for more details), but you can always "
92"edit sshd_config and set it to no if you wish."
93msgstr ""
94
95#. Description
96#: ../templates.master:36
97msgid ""
98"It is strongly recommended that you let me generate a new configuration file "
99"for you."
100msgstr ""
101
102#. Description
103#: ../templates.master:55
104msgid "Allow SSH protocol 2 only"
105msgstr ""
106
107#. Description
108#: ../templates.master:55
109msgid ""
110"This version of OpenSSH supports version 2 of the ssh protocol, which is "
111"much more secure. Disabling ssh 1 is encouraged, however this will slow "
112"things down on low end machines and might prevent older clients from "
113"connecting (the ssh client shipped with \"potato\" is affected)."
114msgstr ""
115
116#. Description
117#: ../templates.master:55
118msgid ""
119"Also please note that keys used for protocol 1 are different so you will not "
120"be able to use them if you only allow protocol 2 connections."
121msgstr ""
122
123#. Description
124#: ../templates.master:55
125msgid ""
126"If you later change your mind about this setting, README.Debian has "
127"instructions on what to do to your sshd_config file."
128msgstr ""
129
130#. Description
131#: ../templates.master:69
132msgid "ssh2 keys merged in configuration files"
133msgstr ""
134
135#. Description
136#: ../templates.master:69
137msgid ""
138"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
139"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
140"needed. They will still be read in order to maintain backwards compatibility"
141msgstr ""
142
143#. Description
144#: ../templates.master:78
145msgid "Do you want to continue (and risk killing active ssh sessions)?"
146msgstr "Wollen Sie weitermachen (und das Killen der Session riskieren)?"
147
148#. Description
149#: ../templates.master:78
150msgid ""
151"The version of /etc/init.d/ssh that you have installed, is likely to kill "
152"all running sshd instances. If you are doing this upgrade via an ssh "
153"session, that would be a Bad Thing(tm)."
154msgstr ""
155"Die Version von /etc/init.d/ssh, die Sie installiert haben, wird vermutlich "
156"Ihre aktiven ssh-Instanzen killen. Wenn Sie das Upgrade via ssh erledigen, "
157"dann ist das ein Problem."
158
159#. Description
160#: ../templates.master:78
161msgid ""
162"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
163"daemon line in the stop section of the file."
164msgstr ""
165"Sie können das Problem beheben, indem sie \"--pidfile /var/run/sshd.pid\" an "
166"die start-stop-daemon Zeile in dem Bereich stop der Datei /etc/init.d/ssh "
167"ergänzen."
168
169#. Description
170#: ../templates.master:88
171msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
172msgstr "HINWEIS: Forwarden von X11 und Authorisierung ist abgeschaltet."
173
174#. Description
175#: ../templates.master:88
176msgid ""
177"For security reasons, the Debian version of ssh has ForwardX11 and "
178"ForwardAgent set to ``off'' by default."
179msgstr ""
180"Aus Sicherheitsgründen sind die Debian Pakete von ssh ForwardX11 und "
181"ForwardAgent auf \"off\" gesetzt."
182
183#. Description
184#: ../templates.master:88
185msgid ""
186"You can enable it for servers you trust, either in one of the configuration "
187"files, or with the -X command line option."
188msgstr ""
189"Sie können dies für Server, denen Sie trauen, entweder per Eintrag in die "
190"Konfigurations Dateien oder per Kommando-Zeilen Option -X ändern."
191
192#. Description
193#: ../templates.master:88
194msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
195msgstr ""
196"Weitere Details koennen Sie in /usr/share/doc/ssh/README.Debian finden."
197
198#. Description
199#: ../templates.master:99
200msgid "Warning: rsh-server is installed --- probably not a good idea"
201msgstr "Warnung: rsh-server ist installiert --- möglicherweise"
202
203#. Description
204#: ../templates.master:99
205msgid ""
206"having rsh-server installed undermines the security that you were probably "
207"wanting to obtain by installing ssh. I'd advise you to remove that package."
208msgstr ""
209"ist es eine schlechte Idee, den rsh-server installiert zu haben, da er die "
210"Sicherheit untergräbt. Wir empfehlen, das Paket zu entfernen."
211
212#. Description
213#: ../templates.master:106
214msgid "Warning: telnetd is installed --- probably not a good idea"
215msgstr "Warnung: telnetd ist installiert --- schlechte Idee"
216
217#. Description
218#: ../templates.master:106
219msgid ""
220"I'd advise you to either remove the telnetd package (if you don't actually "
221"need to offer telnet access) or install telnetd-ssl so that there is at "
222"least some chance that telnet sessions will not be sending unencrypted login/"
223"password and session information over the network."
224msgstr ""
225"Wir empfehlen das telnetd Paket zu entfernen (falls Sie keinen telnet Zugang "
226"anbieten) oder telnetd-ssl zu installieren, so daß Sie verhindern können, "
227"daß Login und Password unverschlüsselt durch das Netz gesendet werden."
228
229#. Description
230#: ../templates.master:114
231msgid "Warning: you must create a new host key"
232msgstr "Warnung: Sie müssen einen neuen Host Key erzeugen"
233
234#. Description
235#: ../templates.master:114
236#, fuzzy
237msgid ""
238"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
239"not handle this host key file, and I can't find the ssh-keygen utility from "
240"the old (non-free) SSH installation."
241msgstr ""
242"Es existiert eine alte Variante von /etc/ssh/ssh_host_key welche per IDEA "
243"verschlüsselt ist. OpenSSH kann eine solche Host Key Datei nicht lesen und "
244"ssh-keygen von der alten (nicht-freien) ssh Installation kann nicht gefunden "
245"werden."
246
247#. Description
248#: ../templates.master:114
249msgid "You will need to generate a new host key."
250msgstr ""
251
252#. Description
253#: ../templates.master:124
254msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
255msgstr ""
256
257#. Description
258#: ../templates.master:124
259msgid ""
260"You have the option of installing the ssh-keysign helper with the SUID bit "
261"set."
262msgstr ""
263
264#. Description
265#: ../templates.master:124
266msgid ""
267"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
268"based authentication."
269msgstr ""
270
271#. Description
272#: ../templates.master:124
273msgid ""
274"If in doubt, I suggest you install it with SUID. If it causes problems you "
275"can change your mind later by running: dpkg-reconfigure ssh"
276msgstr ""
277
278#. Description
279#: ../templates.master:137
280msgid "Do you want to run the sshd server?"
281msgstr "Möchten Sie den sshd Server starten?"
282
283#. Description
284#: ../templates.master:137
285msgid "This package contains both the ssh client, and the sshd server."
286msgstr "Das Paket enthält sowohl den Client als auch den sshd Server."
287
288#. Description
289#: ../templates.master:137
290msgid ""
291"Normally the sshd Secure Shell Server will be run to allow remote logins via "
292"ssh."
293msgstr ""
294"Normal wird der sshd Secure Shell Server für Remote Logins per ssh gestartet."
295
296#. Description
297#: ../templates.master:137
298msgid ""
299"If you are only interested in using the ssh client for outbound connections "
300"on this machine, and don't want to log into it at all using ssh, then you "
301"can disable sshd here."
302msgstr ""
303"Wenn Sie nur den ssh client nutzen wollen, um sich mit anderen Rechnern zu "
304"verbinden und sich nicht per ssh in diesen Computer einloggen wollen, dann "
305"können Sie hier den sshd abschalten."
306
307#. Description
308#: ../templates.master:149
309msgid "Environment options on keys have been deprecated"
310msgstr ""
311
312#. Description
313#: ../templates.master:149
314msgid ""
315"This version of OpenSSH disables the environment option for public keys by "
316"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
317"are using this option in an authorized_keys file, beware that the keys in "
318"question will no longer work until the option is removed."
319msgstr ""
320
321#. Description
322#: ../templates.master:149
323msgid ""
324"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
325"sshd_config after the upgrade is complete, taking note of the warning in the "
326"sshd_config(5) manual page."
327msgstr ""
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644
index 000000000..844c43598
--- /dev/null
+++ b/debian/po/es.po
@@ -0,0 +1,392 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14# Carlos Valdivia Yagüe <valyag@dat,etsit.upm.es>, 2003
15#
16msgid ""
17msgstr ""
18"Project-Id-Version: openssh 3.6.1p2-3\n"
19"Report-Msgid-Bugs-To: \n"
20"POT-Creation-Date: 2003-09-12 21:03+0100\n"
21"PO-Revision-Date: 2003-06-21 15:30+0200\n"
22"Last-Translator: Carlos Valdivia Yagüe <valyag@dat.etsit.upm.es>\n"
23"Language-Team: Debian L10n Spanish <debian-l10n-spanish@lists.debian.org>\n"
24"MIME-Version: 1.0\n"
25"Content-Type: text/plain; charset=ISO-8859-15\n"
26"Content-Transfer-Encoding: 8bit\n"
27
28#. Description
29#: ../templates.master:3
30msgid "Privilege separation"
31msgstr "Separación de privilegios"
32
33#. Description
34#: ../templates.master:3
35msgid ""
36"Privilege separation is turned on by default, so if you decide you want it "
37"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
38"sshd_config."
39msgstr ""
40"La separación de privilegios está activa por defecto, por lo que si decide "
41"desactivarla, tiene que añadir \"UsePrivilegeSeparation no\" al fichero /etc/"
42"ssh/sshd_config."
43
44#. Description
45#: ../templates.master:19
46msgid "Enable Privilege separation"
47msgstr "Activar separación de privilegios"
48
49#. Description
50#: ../templates.master:19
51msgid ""
52"This version of OpenSSH contains the new privilege separation option. This "
53"significantly reduces the quantity of code that runs as root, and therefore "
54"reduces the impact of security holes in sshd."
55msgstr ""
56"Esta versión de OpenSSH incluye una nueva opción de separación de "
57"privilegios que reduce significativamente la cantidad de código que se "
58"ejecuta como root, por lo que reduce el impacto de posibles agujeros de "
59"seguridad en sshd."
60
61#. Description
62#: ../templates.master:19
63msgid ""
64"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
65"session modules that need to run as root (pam_mkhomedir, for example) will "
66"fail, and PAM keyboard-interactive authentication won't work."
67msgstr ""
68"Desafortunadamente, la separación de privilegios no funciona correctamente "
69"con PAM. Cualquier módulo PAM que necesite ejecutarse como root (como, por "
70"ejemplo, pam_mkhomedir) y la autentificación interactiva PAM con teclado no "
71"funcionarán."
72
73#. Description
74#: ../templates.master:19
75#, fuzzy
76msgid ""
77"Since you've opted to have me generate an sshd_config file for you, you can "
78"choose whether or not to have privilege separation turned on or not. Unless "
79"you know you need to use PAM features that won't work with this option, you "
80"should enable it."
81msgstr ""
82"Puesto que ha elegido crear automáticamente el fichero sshd_config, puede "
83"decidir ahora si quiere activar la opción de separación de privilegios. A "
84"menos que utilice la versión 2.0 (en cuyo caso debe responer no aquí o sshd "
85"no arrancará) o sepa que necesita usar ciertas características de PAM que "
86"funcionan con esta opción, debería responder sí a esta pregunta."
87
88#. Description
89#: ../templates.master:36
90msgid "Generate new configuration file"
91msgstr "Generar un nuevo fichero de configuración"
92
93#. Description
94#: ../templates.master:36
95msgid ""
96"This version of OpenSSH has a considerably changed configuration file from "
97"the version shipped in Debian 'Potato', which you appear to be upgrading "
98"from. I can now generate you a new configuration file (/etc/ssh/sshd."
99"config), which will work with the new server version, but will not contain "
100"any customisations you made with the old version."
101msgstr ""
102"Esta versión de OpenSSH tiene un fichero de configuración considerablemente "
103"diferente del incluido en Debian Potato, que es la versión desde la que "
104"parece estar actualizando. Puede crear automáticamente un nuevo fichero de "
105"configuración (/etc/ssh/sshd_config), que funcionará con la nueva versión "
106"del servidor, pero no incuirá las modificaciones que hiciera en la versión "
107"antigua."
108
109#. Description
110#: ../templates.master:36
111msgid ""
112"Please note that this new configuration file will set the value of "
113"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
114"ssh directly in as root). It is the opinion of the maintainer that this is "
115"the correct default (see README.Debian for more details), but you can always "
116"edit sshd_config and set it to no if you wish."
117msgstr ""
118"Además, recuerde que este nuevo fichero de configuración dirá sí en la "
119"opción 'PermitRootLogin', por lo que cualquiera que conozca la contraseña de "
120"root podrá entrar mediante ssh directamente como root. En opinión del "
121"mantenedor ésta es la opción predeterminada más adecuada (puede leer README."
122"Debian si quiere conocer más detalles), pero siempre puede editar "
123"sshd_config y poner no si lo desea."
124
125#. Description
126#: ../templates.master:36
127msgid ""
128"It is strongly recommended that you let me generate a new configuration file "
129"for you."
130msgstr ""
131"Es muy recomendable que permita que se genere un nuevo fichero de "
132"configuración ahora."
133
134#. Description
135#: ../templates.master:55
136msgid "Allow SSH protocol 2 only"
137msgstr "Permitir sólo la versión 2 del protocolo SSH"
138
139#. Description
140#: ../templates.master:55
141msgid ""
142"This version of OpenSSH supports version 2 of the ssh protocol, which is "
143"much more secure. Disabling ssh 1 is encouraged, however this will slow "
144"things down on low end machines and might prevent older clients from "
145"connecting (the ssh client shipped with \"potato\" is affected)."
146msgstr ""
147"Esta versión de OpenSSH soporta la versión 2 del protocolo ssh, que es mucho "
148"más segura que la anterior. Se recomienda desactivar la versión 1, aunque "
149"funcionará más lento en máquinas modestas y puede impedir que se conecten "
150"clientes antiguos, como, por ejemplo, el incluido en \"potato\"."
151
152#. Description
153#: ../templates.master:55
154msgid ""
155"Also please note that keys used for protocol 1 are different so you will not "
156"be able to use them if you only allow protocol 2 connections."
157msgstr ""
158"También tenga en cuenta que las claves utilizadas para el protocolo 1 son "
159"diferentes, por lo que no podrá usarlas si únicamente permite conexiones "
160"mediante la versión 2 del protocolo."
161
162#. Description
163#: ../templates.master:55
164msgid ""
165"If you later change your mind about this setting, README.Debian has "
166"instructions on what to do to your sshd_config file."
167msgstr ""
168"Si más tarde cambia de opinión, el fichero README.Debian contiene "
169"instrucciones sobre cómo modificar en el fichero sshd_config."
170
171#. Description
172#: ../templates.master:69
173msgid "ssh2 keys merged in configuration files"
174msgstr "Las claves ssh2 ya se incluyen en los ficheros de configuración"
175
176#. Description
177#: ../templates.master:69
178msgid ""
179"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
180"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
181"needed. They will still be read in order to maintain backwards compatibility"
182msgstr ""
183"A partir de la versión 3, OpenSSH ya no utiliza ficheros diferentes para las "
184"claves ssh1 y ssh2. Esto quiere decir que ya no son necesarios los ficheros "
185"authorized_keys2 y known_hosts2, aunque aún se seguirán leyendo para "
186"mantener compatibilidad hacia atrás."
187
188#. Description
189#: ../templates.master:78
190msgid "Do you want to continue (and risk killing active ssh sessions)?"
191msgstr "¿Desea continuar, aún a riesgo de matar las sesiones ssh activas?"
192
193#. Description
194#: ../templates.master:78
195msgid ""
196"The version of /etc/init.d/ssh that you have installed, is likely to kill "
197"all running sshd instances. If you are doing this upgrade via an ssh "
198"session, that would be a Bad Thing(tm)."
199msgstr ""
200"La versión de /etc/init.d/ssh que tiene instalada es muy probable que mate "
201"el demonio ssh. Si está actualizando a través de una sesión ssh, puede que "
202"no sea muy buena idea."
203
204#. Description
205#: ../templates.master:78
206msgid ""
207"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
208"daemon line in the stop section of the file."
209msgstr ""
210"Puede arreglarlo añadiendo \"--pidfile /var/run/sshd.pid\" a la línea 'start-"
211"stop-daemon', en la sección 'stop' del fichero."
212
213#. Description
214#: ../templates.master:88
215msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
216msgstr "NOTA: Reenvío de X11 y Autorización desactivadas por defecto."
217
218#. Description
219#: ../templates.master:88
220msgid ""
221"For security reasons, the Debian version of ssh has ForwardX11 and "
222"ForwardAgent set to ``off'' by default."
223msgstr ""
224"Por razones de seguridad, la versión de ssh de Debian tiene por defecto "
225"ForwardX11 y ForwardAgent desactivadas."
226
227#. Description
228#: ../templates.master:88
229msgid ""
230"You can enable it for servers you trust, either in one of the configuration "
231"files, or with the -X command line option."
232msgstr ""
233"Puede activar estas opciones para los servidores en los que confíe, en los "
234"ficheros de configuración o con la opción -X en línea de comandos."
235
236#. Description
237#: ../templates.master:88
238msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
239msgstr "Puede encontrar más detalles en /usr/share/doc/ssh/README.Debian."
240
241#. Description
242#: ../templates.master:99
243msgid "Warning: rsh-server is installed --- probably not a good idea"
244msgstr "Aviso: tiene rsh-server instalado"
245
246#. Description
247#: ../templates.master:99
248msgid ""
249"having rsh-server installed undermines the security that you were probably "
250"wanting to obtain by installing ssh. I'd advise you to remove that package."
251msgstr ""
252"Tener rsh-server instalado representa un menoscabo de la seguridad que "
253"probablemente desea obtener instalando ssh. Es muy aconsejable que borre ese "
254"paquete."
255
256#. Description
257#: ../templates.master:106
258msgid "Warning: telnetd is installed --- probably not a good idea"
259msgstr "Aviso: tiene telnetd instalado"
260
261#. Description
262#: ../templates.master:106
263msgid ""
264"I'd advise you to either remove the telnetd package (if you don't actually "
265"need to offer telnet access) or install telnetd-ssl so that there is at "
266"least some chance that telnet sessions will not be sending unencrypted login/"
267"password and session information over the network."
268msgstr ""
269"Es muy aconsejable que borre el paquete telnetd si no necesita realmente "
270"ofrecer acceso mediante telnet o instalar telnetd-ssl para que las "
271"contraseñas, nombres de usuario y demás información de las sesiones telnet "
272"no viajen sin cifrar por la red."
273
274#. Description
275#: ../templates.master:114
276msgid "Warning: you must create a new host key"
277msgstr "Aviso: debe crear una nueva clave para su servidor"
278
279#. Description
280#: ../templates.master:114
281msgid ""
282"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
283"not handle this host key file, and I can't find the ssh-keygen utility from "
284"the old (non-free) SSH installation."
285msgstr ""
286"Su sistema tiene un /etc/ssh/ssh_host_key antiguo, que usa cifrado IDEA. "
287"OpenSSH no puede manejar este fichero de claves y tampoco se encuentra la "
288"utilidad ssh-keygen incluida en el paquete ssh no libre."
289
290#. Description
291#: ../templates.master:114
292msgid "You will need to generate a new host key."
293msgstr "Necesitará generar una nueva clave para su servidor."
294
295#. Description
296#: ../templates.master:124
297msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
298msgstr "¿Quiere instalar /usr/lib/ssh-keysign SUID root?"
299
300#. Description
301#: ../templates.master:124
302msgid ""
303"You have the option of installing the ssh-keysign helper with the SUID bit "
304"set."
305msgstr ""
306"Puede instalar ssh-keysign con el bit SUID (se ejecutará con privilegios de "
307"root)."
308
309#. Description
310#: ../templates.master:124
311msgid ""
312"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
313"based authentication."
314msgstr ""
315"Si hace ssh-keysign SUID, podrá usar la autentificiación basada en servidor "
316"de la versión 2 del protocolo SSH."
317
318#. Description
319#: ../templates.master:124
320msgid ""
321"If in doubt, I suggest you install it with SUID. If it causes problems you "
322"can change your mind later by running: dpkg-reconfigure ssh"
323msgstr ""
324"Si duda, se recomienda que lo instale SUID. Si le causa problemas puede "
325"cambiar de opinión posteriormente ejecutando «dpkg-reconfigure ssh»."
326
327#. Description
328#: ../templates.master:137
329msgid "Do you want to run the sshd server?"
330msgstr "¿Quiere ejecutar el servidor sshd?"
331
332#. Description
333#: ../templates.master:137
334msgid "This package contains both the ssh client, and the sshd server."
335msgstr "Este paquete contiene el cliente ssh y el servidor sshd."
336
337#. Description
338#: ../templates.master:137
339msgid ""
340"Normally the sshd Secure Shell Server will be run to allow remote logins via "
341"ssh."
342msgstr ""
343"Generalmente, el servidor de ssh (Secure Shell Server) se ejecuta para "
344"permitir el acceso remoto mediante ssh."
345
346#. Description
347#: ../templates.master:137
348msgid ""
349"If you are only interested in using the ssh client for outbound connections "
350"on this machine, and don't want to log into it at all using ssh, then you "
351"can disable sshd here."
352msgstr ""
353"Si sólo está interesado en usar el cliente ssh en conexiones salientes del "
354"sistema y no quiere acceder a él mediante ssh, entonces puede desactivar "
355"sshd."
356
357#. Description
358#: ../templates.master:149
359msgid "Environment options on keys have been deprecated"
360msgstr "Las opciones de entorno para las claves, en desuso"
361
362#. Description
363#: ../templates.master:149
364msgid ""
365"This version of OpenSSH disables the environment option for public keys by "
366"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
367"are using this option in an authorized_keys file, beware that the keys in "
368"question will no longer work until the option is removed."
369msgstr ""
370"Esta versión de OpenSSH tiene desactivada por defecto la opción de entorno "
371"para las claves públicas, para evitar ciertos ataques (por ejemplo, basados "
372"en LD_PRELOAD). Si utiliza esta opción en un fichero authorized_keys, las "
373"claves implicadas no funcionarán hasta que borre la opción."
374
375#. Description
376#: ../templates.master:149
377msgid ""
378"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
379"sshd_config after the upgrade is complete, taking note of the warning in the "
380"sshd_config(5) manual page."
381msgstr ""
382"Para volver a activar esta opción, escriba \"PermitUserEnvironment yes\" en /"
383"etc/ssh/sshd_config al terminar la actualización, teniendo en cuenta el "
384"aviso de la página de manual de sshd_config(5)."
385
386#~ msgid ""
387#~ "NB! If you are running a 2.0 series Linux kernel, then privilege "
388#~ "separation will not work at all, and your sshd will fail to start unless "
389#~ "you explicitly turn privilege separation off."
390#~ msgstr ""
391#~ "Nota: Si utiliza un núcleo Linux 2.0, la separación de privilegios "
392#~ "fallará estrepitosamente y sshd no funcionará a no ser que la desactive."
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644
index 000000000..178c833d5
--- /dev/null
+++ b/debian/po/fr.po
@@ -0,0 +1,405 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14msgid ""
15msgstr ""
16"Project-Id-Version: openssh 3.6.1p2-5\n"
17"Report-Msgid-Bugs-To: \n"
18"POT-Creation-Date: 2003-09-12 21:03+0100\n"
19"PO-Revision-Date: 2003-05-22 10:34+0200\n"
20"Last-Translator: Denis Barbier <barbier@debian.org>\n"
21"Language-Team: French <Debian-l10n-french@lists.debian.org>\n"
22"MIME-Version: 1.0\n"
23"Content-Type: text/plain; charset=ISO-8859-15\n"
24"Content-Transfer-Encoding: 8bit\n"
25
26#. Description
27#: ../templates.master:3
28msgid "Privilege separation"
29msgstr "Séparation des privilèges"
30
31#. Description
32#: ../templates.master:3
33msgid ""
34"Privilege separation is turned on by default, so if you decide you want it "
35"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
36"sshd_config."
37msgstr ""
38"La séparation des privilèges est activée par défaut ; si vous souhaitez la "
39"désactiver, vous devez ajouter « UsePrivilegeSeparation no » dans /etc/ssh/"
40"sshd_config."
41
42#. Description
43#: ../templates.master:19
44msgid "Enable Privilege separation"
45msgstr "Activer la séparation des privilèges"
46
47#. Description
48#: ../templates.master:19
49msgid ""
50"This version of OpenSSH contains the new privilege separation option. This "
51"significantly reduces the quantity of code that runs as root, and therefore "
52"reduces the impact of security holes in sshd."
53msgstr ""
54"Cette version d'OpenSSH est livrée avec la nouvelle option de séparation des "
55"privilèges. Cela réduit de manière significative la quantité de code "
56"s'exécutant en tant que super-utilisateur, et donc réduit l'impact des trous "
57"de sécurité dans sshd."
58
59#. Description
60#: ../templates.master:19
61msgid ""
62"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
63"session modules that need to run as root (pam_mkhomedir, for example) will "
64"fail, and PAM keyboard-interactive authentication won't work."
65msgstr ""
66"Malheureusement, la séparation des privilèges interagit mal avec PAM. Tous "
67"les modules de session PAM qui doivent être exécutés en tant que super-"
68"utilisateur (pam_mkhomedir, par exemple) ne s'exécuteront pas, et "
69"l'authentification interactive au clavier ne fonctionnera pas."
70
71#. Description
72#: ../templates.master:19
73msgid ""
74"Since you've opted to have me generate an sshd_config file for you, you can "
75"choose whether or not to have privilege separation turned on or not. Unless "
76"you know you need to use PAM features that won't work with this option, you "
77"should enable it."
78msgstr ""
79"Comme vous souhaitez que le fichier de configuration sshd_config soit généré "
80"à votre place, vous pouvez choisir d'activer ou non l'option de séparation "
81"des privilèges. Si vous êtes sûr d'avoir besoin de fonctionnalités PAM, cela "
82"ne fonctionnera pas si cette option est activée. Dans le cas contraire vous "
83"devriez l'activer."
84
85#. Description
86#: ../templates.master:36
87msgid "Generate new configuration file"
88msgstr "Créer un nouveau fichier de configuration"
89
90#. Description
91#: ../templates.master:36
92msgid ""
93"This version of OpenSSH has a considerably changed configuration file from "
94"the version shipped in Debian 'Potato', which you appear to be upgrading "
95"from. I can now generate you a new configuration file (/etc/ssh/sshd."
96"config), which will work with the new server version, but will not contain "
97"any customisations you made with the old version."
98msgstr ""
99"Cette version d'OpenSSH utilise un fichier de configuration qui a énormément "
100"changé depuis la version contenue dans la distribution Debian « Potato », "
101"depuis laquelle vous semblez faire une mise à jour. Je peux générer "
102"maintenant pour vous un nouveau fichier de configuration (/etc/ssh/sshd."
103"config) qui marchera avec la nouvelle version du serveur, mais ne contiendra "
104"aucun des réglages que vous avez faits sur l'ancienne version."
105
106#. Description
107#: ../templates.master:36
108msgid ""
109"Please note that this new configuration file will set the value of "
110"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
111"ssh directly in as root). It is the opinion of the maintainer that this is "
112"the correct default (see README.Debian for more details), but you can always "
113"edit sshd_config and set it to no if you wish."
114msgstr ""
115"Veuillez noter que ce nouveau fichier de configuration positionnera la "
116"valeur de « PermitRootLogin » à « yes » (ce qui signifie que quiconque "
117"connaissant le mot de passe du super-utilisateur peut se connecter en tant "
118"que tel sur la machine). Le responsable du paquet pense que c'est là un "
119"comportement par défaut normal (lisez README.Debian pour plus "
120"d'informations), mais vous pouvez toujours éditer le fichier sshd_config et "
121"changer cela."
122
123#. Description
124#: ../templates.master:36
125msgid ""
126"It is strongly recommended that you let me generate a new configuration file "
127"for you."
128msgstr ""
129"Il est fortement recommandé que vous me laissiez générer le nouveau fichier "
130"de configuration."
131
132#. Description
133#: ../templates.master:55
134msgid "Allow SSH protocol 2 only"
135msgstr "Autoriser la version 2 du protocole SSH uniquement"
136
137#. Description
138#: ../templates.master:55
139msgid ""
140"This version of OpenSSH supports version 2 of the ssh protocol, which is "
141"much more secure. Disabling ssh 1 is encouraged, however this will slow "
142"things down on low end machines and might prevent older clients from "
143"connecting (the ssh client shipped with \"potato\" is affected)."
144msgstr ""
145"Cette version d'OpenSSH connaît la version 2 du protocole ssh, qui est bien "
146"plus sûre. Désactiver ssh 1 est une bonne chose, cependant cela peut "
147"ralentir les machines peu puissantes et pourrait empêcher ceux qui utilisent "
148"de vieilles versions de la partie cliente de se connecter (le client ssh de "
149"la distribution Debian « Potato » en fait partie)."
150
151#. Description
152#: ../templates.master:55
153msgid ""
154"Also please note that keys used for protocol 1 are different so you will not "
155"be able to use them if you only allow protocol 2 connections."
156msgstr ""
157"De plus, les clés utilisées par la version 1 du protocole sont différentes "
158"et vous ne pourrez pas les utiliser si vous n'autorisez que les connexions "
159"utilisant la version 2 du protocole."
160
161#. Description
162#: ../templates.master:55
163msgid ""
164"If you later change your mind about this setting, README.Debian has "
165"instructions on what to do to your sshd_config file."
166msgstr ""
167"Si vous changez d'avis ultérieurement et décidez de modifier ce réglage, les "
168"instructions fournies dans le fichier README.Debian vous indiquent comment "
169"modifier le fichier sshd_config."
170
171#. Description
172#: ../templates.master:69
173msgid "ssh2 keys merged in configuration files"
174msgstr "Clés pour ssh2 fusionnées dans les fichiers de configuration"
175
176#. Description
177#: ../templates.master:69
178msgid ""
179"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
180"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
181"needed. They will still be read in order to maintain backwards compatibility"
182msgstr ""
183"OpenSSH, depuis sa version 3, n'utilise plus de fichiers distincts pour les "
184"clés ssh1 et ssh2. Cela signifie que les fichiers authorized_keys2 et "
185"known_hosts2 ne sont plus utiles. Ils seront néanmoins lus afin de préserver "
186"la compatibilité descendante."
187
188#. Description
189#: ../templates.master:78
190msgid "Do you want to continue (and risk killing active ssh sessions)?"
191msgstr ""
192"Voulez-vous continuer (et risquer de rompre les sessions ssh actives) ?"
193
194#. Description
195#: ../templates.master:78
196msgid ""
197"The version of /etc/init.d/ssh that you have installed, is likely to kill "
198"all running sshd instances. If you are doing this upgrade via an ssh "
199"session, that would be a Bad Thing(tm)."
200msgstr ""
201"La version de /etc/init.d/ssh que vous venez d'installer va "
202"vraisemblablement tuer toutes les instances de sshd en cours. Si vous étiez "
203"en train de faire cette mise à niveau à l'aide de ssh, ce serait regrettable."
204
205#. Description
206#: ../templates.master:78
207msgid ""
208"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
209"daemon line in the stop section of the file."
210msgstr ""
211"Vous pouvez corriger cela en ajoutant dans /etc/init.d/ssh « --pidfile /var/"
212"run/sshd.pid » à la ligne « start-stop-daemon » dans la section « stop » du "
213"fichier."
214
215#. Description
216#: ../templates.master:88
217msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
218msgstr ""
219"NOTE : suivi de session X11 et d'agent d'autorisation désactivés par défaut."
220
221#. Description
222#: ../templates.master:88
223msgid ""
224"For security reasons, the Debian version of ssh has ForwardX11 and "
225"ForwardAgent set to ``off'' by default."
226msgstr ""
227"Pour des raisons de sécurité, la version Debian de ssh positionne les "
228"options ForwardX11 et ForwardAgent à « Off » par défaut."
229
230#. Description
231#: ../templates.master:88
232msgid ""
233"You can enable it for servers you trust, either in one of the configuration "
234"files, or with the -X command line option."
235msgstr ""
236"Vous pouvez activer ces options pour les serveurs en qui vous avez "
237"confiance, soit dans un des fichiers de configuration, soit avec l'option -X "
238"de la ligne de commande."
239
240#. Description
241#: ../templates.master:88
242msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
243msgstr ""
244"Vous trouverez plus d'informations dans /usr/share/doc/ssh/README.Debian."
245
246#. Description
247#: ../templates.master:99
248msgid "Warning: rsh-server is installed --- probably not a good idea"
249msgstr ""
250"Attention : rsh-server est installé -- ce n'est probablement pas une bonne "
251"idée"
252
253#. Description
254#: ../templates.master:99
255msgid ""
256"having rsh-server installed undermines the security that you were probably "
257"wanting to obtain by installing ssh. I'd advise you to remove that package."
258msgstr ""
259"Avoir un serveur rsh installé affaiblit la sécurité que vous vouliez "
260"probablement obtenir en installant ssh. Je vous conseille de supprimer ce "
261"paquet."
262
263#. Description
264#: ../templates.master:106
265msgid "Warning: telnetd is installed --- probably not a good idea"
266msgstr ""
267"Attention : telnetd est installé -- ce n'est probablement pas une bonne idée"
268
269#. Description
270#: ../templates.master:106
271msgid ""
272"I'd advise you to either remove the telnetd package (if you don't actually "
273"need to offer telnet access) or install telnetd-ssl so that there is at "
274"least some chance that telnet sessions will not be sending unencrypted login/"
275"password and session information over the network."
276msgstr ""
277"Je vous conseille soit d'enlever le paquet telnetd (si ce service n'est pas "
278"nécessaire), soit de le remplacer par le paquet telnetd-ssl pour qu'il y ait "
279"au moins une chance que les sessions telnet soient chiffrées et que les mots "
280"de passe et noms d'utilisateurs ne passent pas en clair sur le réseau."
281
282#. Description
283#: ../templates.master:114
284msgid "Warning: you must create a new host key"
285msgstr "Attention : vous devez créer une nouvelle clé d'hôte"
286
287#. Description
288#: ../templates.master:114
289msgid ""
290"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
291"not handle this host key file, and I can't find the ssh-keygen utility from "
292"the old (non-free) SSH installation."
293msgstr ""
294"Il existe un vieux /etc/ssh/ssh_host_key qui est chiffré avec IDEA. OpenSSH "
295"ne peut utiliser ce fichier de clé, et je ne peux trouver l'utilitaire ssh-"
296"keygen de l'installation précédente (non libre) de SSH."
297
298#. Description
299#: ../templates.master:114
300msgid "You will need to generate a new host key."
301msgstr "Vous aurez besoin de générer une nouvelle clé d'hôte."
302
303#. Description
304#: ../templates.master:124
305msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
306msgstr ""
307"Voulez-vous que /usr/lib/ssh-keysign soit installé avec le bit SETUID "
308"activé ?"
309
310#. Description
311#: ../templates.master:124
312msgid ""
313"You have the option of installing the ssh-keysign helper with the SUID bit "
314"set."
315msgstr ""
316"Vous avez la possibilité d'installer ssh-keysign avec le bit SETUID activé."
317
318#. Description
319#: ../templates.master:124
320msgid ""
321"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
322"based authentication."
323msgstr ""
324"Si vous mettez ssh-keysign avec le bit SETUID, vous permettrez "
325"l'authentification basée sur les hôtes, disponible dans la version 2 du "
326"protocole SSH."
327
328#. Description
329#: ../templates.master:124
330msgid ""
331"If in doubt, I suggest you install it with SUID. If it causes problems you "
332"can change your mind later by running: dpkg-reconfigure ssh"
333msgstr ""
334"Dans le doute, je vous suggère de l'installer avec le bit SETUID activé. Si "
335"cela vous pose des problèmes, vous pourrez revenir sur votre décision avec "
336"« dpkg-reconfigure ssh »."
337
338#. Description
339#: ../templates.master:137
340msgid "Do you want to run the sshd server?"
341msgstr "Voulez-vous utiliser le serveur sshd ?"
342
343#. Description
344#: ../templates.master:137
345msgid "This package contains both the ssh client, and the sshd server."
346msgstr "Ce paquet contient à la fois le client ssh et le serveur sshd."
347
348#. Description
349#: ../templates.master:137
350msgid ""
351"Normally the sshd Secure Shell Server will be run to allow remote logins via "
352"ssh."
353msgstr ""
354"Normalement le serveur sshd est lancé pour permettre les connexions "
355"distantes via ssh."
356
357#. Description
358#: ../templates.master:137
359msgid ""
360"If you are only interested in using the ssh client for outbound connections "
361"on this machine, and don't want to log into it at all using ssh, then you "
362"can disable sshd here."
363msgstr ""
364"Si vous désirez seulement utiliser le client ssh pour des connexions vers "
365"l'extérieur, ou si vous ne voulez pas vous connecter sur cette machine via "
366"ssh, vous pouvez désactiver sshd maintenant."
367
368#. Description
369#: ../templates.master:149
370msgid "Environment options on keys have been deprecated"
371msgstr "Les options d'environnement sur les clés sont déconseillées"
372
373#. Description
374#: ../templates.master:149
375msgid ""
376"This version of OpenSSH disables the environment option for public keys by "
377"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
378"are using this option in an authorized_keys file, beware that the keys in "
379"question will no longer work until the option is removed."
380msgstr ""
381"Dans cette version d'OpenSSH, l'option d'environnement est, par défaut, "
382"désactivée pour les clés publiques. Cela est destiné à la prévention de "
383"certaines attaques (par exemple, LD_PRELOAD). Si vous utilisez cette option "
384"dans un fichier « authorized_keys », sachez que les clés concernées ne "
385"fonctionneront plus tant que l'option ne sera pas retirée."
386
387#. Description
388#: ../templates.master:149
389msgid ""
390"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
391"sshd_config after the upgrade is complete, taking note of the warning in the "
392"sshd_config(5) manual page."
393msgstr ""
394"Pour la réactiver, veuillez indiquer «PermitUserEnvironment yes » dans /etc/"
395"ssh/sshd_config lorsque la mise à niveau est terminée. Veuillez tenir compte "
396"de l'avertissement donné dans la page de manuel sshd_config(5)."
397
398#~ msgid ""
399#~ "NB! If you are running a 2.0 series Linux kernel, then privilege "
400#~ "separation will not work at all, and your sshd will fail to start unless "
401#~ "you explicitly turn privilege separation off."
402#~ msgstr ""
403#~ "N. B. ! Si vous avez un noyau Linux de la série des 2.0, la séparation "
404#~ "des privilèges ne fonctionne pas, et votre démon sshd ne se lancera que "
405#~ "si vous avez explicitement désactivé la séparation des privilèges."
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644
index 000000000..444e29217
--- /dev/null
+++ b/debian/po/ja.po
@@ -0,0 +1,372 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14msgid ""
15msgstr ""
16"Project-Id-Version: PACKAGE VERSION\n"
17"Report-Msgid-Bugs-To: \n"
18"POT-Creation-Date: 2003-09-12 21:03+0100\n"
19"PO-Revision-Date: 2003-09-11 13:11+0900\n"
20"Last-Translator: Kenshi Muto <kmuto@debian.org>\n"
21"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
22"MIME-Version: 1.0\n"
23"Content-Type: text/plain; charset=EUC-JP\n"
24"Content-Transfer-Encoding: 8bit\n"
25
26#. Description
27#: ../templates.master:3
28msgid "Privilege separation"
29msgstr "Æø¢¤ÎʬΥ"
30
31#. Description
32#: ../templates.master:3
33msgid ""
34"Privilege separation is turned on by default, so if you decide you want it "
35"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
36"sshd_config."
37msgstr ""
38"Æø¢Ê¬Î¥¤Ï¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£Ìµ¸ú¤Ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢/etc/ssh/"
39"sshd_conf ¤Ë¡ÖUsePrivilegeSeparation no¡×¤È¤¤¤¦¹Ô¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£"
40
41#. Description
42#: ../templates.master:19
43msgid "Enable Privilege separation"
44msgstr "Æø¢Ê¬Î¥¤òÍ­¸ú¤Ë¤¹¤ë"
45
46#. Description
47#: ../templates.master:19
48msgid ""
49"This version of OpenSSH contains the new privilege separation option. This "
50"significantly reduces the quantity of code that runs as root, and therefore "
51"reduces the impact of security holes in sshd."
52msgstr ""
53"ËܥС¼¥¸¥ç¥ó¤Î OpenSSH ¤Ï¡¢¿·¤·¤¤Æø¢Ê¬Î¥¥ª¥×¥·¥ç¥ó¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ë"
54"¤è¤Ã¤Æ¡¢root ¸¢¸Â¤Ç¼Â¹Ô¤µ¤ì¤ë¥³¡¼¥É¤ÎÎ̤òÂçÉý¤Ë¸º¤é¤¹¤³¤È¤¬¤Ç¤­¡¢sshd ¤Î¥»"
55"¥­¥å¥ê¥Æ¥£¥Û¡¼¥ë¤Î±Æ¶Á¤ò¸º¤é¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
56
57#. Description
58#: ../templates.master:19
59msgid ""
60"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
61"session modules that need to run as root (pam_mkhomedir, for example) will "
62"fail, and PAM keyboard-interactive authentication won't work."
63msgstr ""
64"»ÄÇ°¤Ê¤³¤È¤Ë¡¢Æø¢Ê¬Î¥¤Ï PAM ¤Ë°­±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£root ¤Ç¼Â¹Ô¤µ¤ì¤ë¤¹¤Ù¤Æ¤Î "
65"PAM ¥»¥Ã¥·¥ç¥ó¥â¥¸¥å¡¼¥ë (¤¿¤È¤¨¤Ð pam_mkhomedir) ¤ÏÆ°¤«¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£¤Þ¤¿¡¢"
66"PAM ¥­¡¼¥Ü¡¼¥ÉÂÐÏÃŪǧ¾Ú¤âÆ°ºî¤·¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£"
67
68#. Description
69#: ../templates.master:19
70#, fuzzy
71msgid ""
72"Since you've opted to have me generate an sshd_config file for you, you can "
73"choose whether or not to have privilege separation turned on or not. Unless "
74"you know you need to use PAM features that won't work with this option, you "
75"should enable it."
76msgstr ""
77"sshd_config ¥Õ¥¡¥¤¥ë¤ò¼«Æ°À¸À®¤¹¤ë¤³¤È¤òÁªÂò¤·¤¿¤Î¤Ç¡¢ ¤³¤³¤ÇÆø¢Ê¬Î¥¤òÍ­¸ú¤Ë"
78"¤¹¤ë¤«¤·¤Ê¤¤¤«¤òÁªÂò¤Ç¤­¤Þ¤¹¡£PAM ¤Îµ¡Ç½¤Î¤¦¤ÁÆø¢Ê¬Î¥¤È¶¦Â¸¤Ç¤­¤Ê¤¤µ¡Ç½¤ò»È"
79"¤¤¤¿¤¤¾ì¹ç°Ê³°¤Ï¡¢¡Ö¤Ï¤¤¡×¤òÁª¤Ö¤Ù¤­¤Ç¤¹¡£"
80
81#. Description
82#: ../templates.master:36
83msgid "Generate new configuration file"
84msgstr "¿·¤·¤¤ÀßÄê¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹"
85
86#. Description
87#: ../templates.master:36
88msgid ""
89"This version of OpenSSH has a considerably changed configuration file from "
90"the version shipped in Debian 'Potato', which you appear to be upgrading "
91"from. I can now generate you a new configuration file (/etc/ssh/sshd."
92"config), which will work with the new server version, but will not contain "
93"any customisations you made with the old version."
94msgstr ""
95"OpenSSH ¤Î¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢Debian 'Potato' ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥Ð¡¼¥¸¥ç¥ó (¤¤¤Þ¡¢"
96"¤½¤Î¥Ð¡¼¥¸¥ç¥ó¤«¤é¤Î¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤ò»î¤ß¤Æ¤¤¤ë¤È¤³¤í) ¤«¤é¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤¬"
97"ÂçÉý¤ËÊѲ½¤·¤Æ¤¤¤Þ¤¹¡£¤¤¤Þ¡¢¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Î¥µ¡¼¥Ð¤Ç»È¤¦¤³¤È¤¬¤Ç¤­¤ë¿·¤·¤¤"
98"ÀßÄê¥Õ¥¡¥¤¥ë (/etc/ssh/sshd/config) ¤ò¼«Æ°À¸À®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢¤½¤Î¥Õ¥¡"
99"¥¤¥ë¤Ï¡¢¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¤¢¤Ê¤¿¤ÎÀßÄ꤬¤Þ¤Ã¤¿¤¯´Þ¤Þ¤ì¤Þ"
100"¤»¤ó¡£"
101
102#. Description
103#: ../templates.master:36
104msgid ""
105"Please note that this new configuration file will set the value of "
106"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
107"ssh directly in as root). It is the opinion of the maintainer that this is "
108"the correct default (see README.Debian for more details), but you can always "
109"edit sshd_config and set it to no if you wish."
110msgstr ""
111"¤³¤Î¿·¤·¤¤ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢¡ÖPermitRootLogin¡×¤ò¡Öyes¡×¤ËÀßÄꤷ¤Þ¤¹ (¤Ä¤Þ¤ê¡¢"
112"root ¤Î¥Ñ¥¹¥ï¡¼¥É¤òÃΤäƤ¤¤ë¿Í¤Ê¤éï¤Ç¤âľÀÜ¥í¥°¥¤¥ó¤Ç¤­¤Þ¤¹)¡£¤³¤ì¤Ç¤è¤¤¡¢"
113"¤È¤¤¤¦¤Î¤¬¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î¥á¥ó¥Æ¥Ê¤Î°Õ¸«¤Ç¤¹¤¬ (¾Ü¤·¤¯¤Ï README.Debian ¤òÆɤó"
114"¤Ç¤¯¤À¤µ¤¤)¡¢sshd_config ¤òÊÔ½¸¤·¤Æ¡Öno¡×¤ËÀßÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£"
115
116#. Description
117#: ../templates.master:36
118msgid ""
119"It is strongly recommended that you let me generate a new configuration file "
120"for you."
121msgstr "¿·¤·¤¤ÀßÄê¥Õ¥¡¥¤¥ë¤ò¼«Æ°À¸À®¤¹¤ë¤³¤È¤ò¶¯¤¯¤ª´«¤á¤·¤Þ¤¹¡£"
122
123#. Description
124#: ../templates.master:55
125msgid "Allow SSH protocol 2 only"
126msgstr "SSH ¥×¥í¥È¥³¥ë 2 ¤Î¤ß¤òµö²Ä¤·¤Þ¤¹"
127
128#. Description
129#: ../templates.master:55
130msgid ""
131"This version of OpenSSH supports version 2 of the ssh protocol, which is "
132"much more secure. Disabling ssh 1 is encouraged, however this will slow "
133"things down on low end machines and might prevent older clients from "
134"connecting (the ssh client shipped with \"potato\" is affected)."
135msgstr ""
136"OpenSSH ¤Î¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢¤º¤Ã¤È°ÂÁ´¤Ê¡¢ssh ¥×¥í¥È¥³¥ë¤Î¥Ð¡¼¥¸¥ç¥ó 2 ¤ò¥µ"
137"¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ssh 1 ¤ò¶Ø»ß¤¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¤¬¡¢ÃÙ¤¤¥Þ¥·¥ó¤Ç¤ÏÆ°ºî¤¬"
138"ÃÙ¤¯¤Ê¤Ã¤¿¤ê¡¢¸Å¤¤¥¯¥é¥¤¥¢¥ó¥È¤«¤éÀܳ¤Ç¤­¤Ê¤¯¤Ê¤Ã¤¿¤ê¤·¤Þ¤¹ (\"potato\" ¤Î "
139"ssh ¥¯¥é¥¤¥¢¥ó¥È¤âÀܳ¤Ç¤­¤Ê¤¯¤Ê¤ê¤Þ¤¹)¡£"
140
141#. Description
142#: ../templates.master:55
143msgid ""
144"Also please note that keys used for protocol 1 are different so you will not "
145"be able to use them if you only allow protocol 2 connections."
146msgstr ""
147"¤Þ¤¿¡¢¥×¥í¥È¥³¥ë 1 ¤Ç»È¤¦¥­¡¼¤Ï°Û¤Ê¤ë¤¿¤á¡¢¥×¥í¥È¥³¥ë 2 ¤òÍ­¸ú¤Ë¤·¤¿¤À¤±¤Ç¤Ï"
148"¤½¤Î¥­¡¼¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£"
149
150#. Description
151#: ../templates.master:55
152msgid ""
153"If you later change your mind about this setting, README.Debian has "
154"instructions on what to do to your sshd_config file."
155msgstr ""
156"¤â¤·º£¸å¤¢¤Ê¤¿¤¬¹Í¤¨¤òÊѤ¨¤¿¤é¡¢README.Debian ¤òÆɤà¤È sshd_config ¤ò¤É¤Î¤è¤¦"
157"¤ËÊѹ¹¤·¤¿¤é¤è¤¤¤«¤¬Ê¬¤«¤ê¤Þ¤¹¡£"
158
159#. Description
160#: ../templates.master:69
161msgid "ssh2 keys merged in configuration files"
162msgstr "ssh2 ¥­¡¼¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤ËÅý¹ç¤µ¤ì¤Þ¤¹"
163
164#. Description
165#: ../templates.master:69
166msgid ""
167"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
168"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
169"needed. They will still be read in order to maintain backwards compatibility"
170msgstr ""
171"OpenSSH ¤Î¥Ð¡¼¥¸¥ç¥ó 3 ¤Ï¡¢ssh1 ¤È ssh2 ¤Î¥­¡¼¤Ë¸ÄÊ̤Υե¡¥¤¥ë¤ò»È¤¤¤Þ¤»¤ó¡£"
172"¤Ä¤Þ¤ê¡¢authorized_keys2 ¥Õ¥¡¥¤¥ë¤È known_hosts2 ¥Õ¥¡¥¤¥ë¤Ï¤â¤Ï¤äÉÔÍפȤʤê¤Þ"
173"¤·¤¿¡£¸åÊý¸ß´¹À­¤òÊݤĤ¿¤á¤Ë¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤¬É¬ÍפǤ¹¡£"
174
175#. Description
176#: ../templates.master:78
177msgid "Do you want to continue (and risk killing active ssh sessions)?"
178msgstr "³¤±¤Æ¤è¤¤¤Ç¤¹¤« (ÀܳÃæ¤Î ssh ¥»¥Ã¥·¥ç¥ó¤¬ÀÚ¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó)"
179
180#. Description
181#: ../templates.master:78
182msgid ""
183"The version of /etc/init.d/ssh that you have installed, is likely to kill "
184"all running sshd instances. If you are doing this upgrade via an ssh "
185"session, that would be a Bad Thing(tm)."
186msgstr ""
187"¤¤¤Þ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿ /etc/init.d/ssh ¤Ï¡¢¤ª¤½¤é¤¯¼Â¹ÔÃæ¤Î sshd ¤ò¤¹¤Ù¤ÆÄä»ß¤µ"
188"¤»¤Þ¤¹¡£¤³¤Î¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤ò ssh ¥»¥Ã¥·¥ç¥ó¤òÍѤ¤¤Æ¹Ô¤¦¤Î¤Ï´Ö°ã¤Ã¤¿¤ä¤ê¤«¤¿"
189"¤Ç¤¹¡£"
190
191#. Description
192#: ../templates.master:78
193msgid ""
194"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
195"daemon line in the stop section of the file."
196msgstr ""
197"¤³¤Î¾õ¶·¤ò½¤Àµ¤¹¤ë¤Ë¤Ï¡¢/etc/init.d/ssh ¤Î stop ¥»¥¯¥·¥ç¥ó¤Î start-stop-"
198"daemon ¤Î¹Ô¤Ë¡Ö--pidfile /var/run/sshd.pid¡×¤ÈÄɲä·¤Þ¤¹¡£"
199
200#. Description
201#: ../templates.master:88
202msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
203msgstr "Ãí°Õ: X11 ¤Èǧ¾Ú¤Î¥Õ¥©¥ï¡¼¥Ç¥£¥ó¥°¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¶Ø»ß¤µ¤ì¤Þ¤¹"
204
205#. Description
206#: ../templates.master:88
207msgid ""
208"For security reasons, the Debian version of ssh has ForwardX11 and "
209"ForwardAgent set to ``off'' by default."
210msgstr ""
211"¥»¥­¥å¥ê¥Æ¥£¾å¤ÎÍýͳ¤«¤é¡¢Debian ¤Î ssh ¤Ç¤Ï ForwardX11 ¤È ForwardAgent ¤Ï¥Ç"
212"¥Õ¥©¥ë¥È¤Ç¤Ï¡Öoff¡×¤ËÀßÄꤵ¤ì¤Þ¤¹¡£"
213
214#. Description
215#: ../templates.master:88
216msgid ""
217"You can enable it for servers you trust, either in one of the configuration "
218"files, or with the -X command line option."
219msgstr ""
220"ÀßÄê¥Õ¥¡¥¤¥ë¤ò»È¤Ã¤¿¤ê¡¢-X ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤¿¤ê¤¹¤ë¤³¤È¤Ç¡¢¿®ÍÑ"
221"¤Ç¤­¤ë¥µ¡¼¥Ð¤ËÂФ·¤Æµö²Ä¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
222
223#. Description
224#: ../templates.master:88
225msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
226msgstr "¾ÜºÙ¤Ï /usr/share/doc/ssh/README.Debian ¤òÆɤó¤Ç¤¯¤À¤µ¤¤¡£"
227
228#. Description
229#: ../templates.master:99
230msgid "Warning: rsh-server is installed --- probably not a good idea"
231msgstr ""
232"·Ù¹ð: rsh-server ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤¿¤Ö¤óÎɤ¤¹Í¤¨¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó"
233
234#. Description
235#: ../templates.master:99
236msgid ""
237"having rsh-server installed undermines the security that you were probably "
238"wanting to obtain by installing ssh. I'd advise you to remove that package."
239msgstr ""
240"rsh-server ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤È¡¢¤¢¤Ê¤¿¤¬ ssh ¤Ë¤è¤Ã¤ÆÆÀ¤¿¤¤¤È»×¤Ã¤Æ¤¤"
241"¤ë¤Ç¤¢¤í¤¦¥»¥­¥å¥ê¥Æ¥£¤¬Â»¤Ê¤ï¤ì¤Þ¤¹¡£¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³"
242"¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£"
243
244#. Description
245#: ../templates.master:106
246msgid "Warning: telnetd is installed --- probably not a good idea"
247msgstr "·Ù¹ð: telnetd ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤¿¤Ö¤óÎɤ¤¹Í¤¨¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó"
248
249#. Description
250#: ../templates.master:106
251msgid ""
252"I'd advise you to either remove the telnetd package (if you don't actually "
253"need to offer telnet access) or install telnetd-ssl so that there is at "
254"least some chance that telnet sessions will not be sending unencrypted login/"
255"password and session information over the network."
256msgstr ""
257"(¤â¤· telnet ¥¢¥¯¥»¥¹¤òÄ󶡤·¤¿¤¤¤È»×¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¤·¤¿¤é) telnetd ¥Ñ¥Ã¥±¡¼¥¸"
258"¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤«¡¢¤Þ¤¿¤Ï¡¢telnetd-ssh ¥Ñ¥Ã¥±¡¼¥¸¤ò ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¾¯"
259"¤Ê¤¯¤È¤â¥Í¥Ã¥È¥ï¡¼¥¯¾å¤ò°Å¹æ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶Ì¾¤ä¥Ñ¥¹¥ï¡¼¥É¤ä¥»¥Ã¥·¥ç¥ó¾ð"
260"Êó¤¬Î®¤ì¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£"
261
262#. Description
263#: ../templates.master:114
264msgid "Warning: you must create a new host key"
265msgstr "·Ù¹ð: ¿·¤·¤¤¥Û¥¹¥È¥­¡¼¤òºî¤é¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó"
266
267#. Description
268#: ../templates.master:114
269msgid ""
270"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
271"not handle this host key file, and I can't find the ssh-keygen utility from "
272"the old (non-free) SSH installation."
273msgstr ""
274"IDEA ¤Ç°Å¹æ²½¤µ¤ì¤¿¸Å¤¤¥­¡¼¤¬ /etc/ssh/ssh_host_key ¤Ë¤¢¤ê¤Þ¤¹¡£ OpenSSH ¤Ï¤³"
275"¤Î¥Û¥¹¥È¥­¡¼¥Õ¥¡¥¤¥ë¤ò°·¤¨¤Þ¤»¤ó¡£¤Þ¤¿¡¢º£¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¸Å¤¤ (¥Õ¥ê¡¼"
276"¤Ç¤Ï¤Ê¤¤) SSH ¤Ë¤Ï ssh-keygen ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó¡£"
277
278#. Description
279#: ../templates.master:114
280msgid "You will need to generate a new host key."
281msgstr "¿·¤·¤¤¥Û¥¹¥È¥­¡¼¤òºî¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£"
282
283#. Description
284#: ../templates.master:124
285msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
286msgstr "/usr/bin/ssh-keysign ¤ò SUID root ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¤«?"
287
288#. Description
289#: ../templates.master:124
290msgid ""
291"You have the option of installing the ssh-keysign helper with the SUID bit "
292"set."
293msgstr ""
294"ssh-keysign ¥Ø¥ë¥Ñ¡¼¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëºÝ¡¢SUID ¥Ó¥Ã¥È¤òÀßÄꤹ¤ë¤«¤·¤Ê¤¤¤«¤òÁª"
295"¤Ö¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
296
297#. Description
298#: ../templates.master:124
299msgid ""
300"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
301"based authentication."
302msgstr ""
303"ssh-keysign ¤ò SUID ¤ËÀßÄꤷ¤¿¾ì¹ç¡¢SSH ¥×¥í¥È¥³¥ë 2 ¤Î¥Û¥¹¥È¤Ë´ð¤Å¤¯Ç§¾Ú¤ò»È"
304"¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
305
306#. Description
307#: ../templates.master:124
308msgid ""
309"If in doubt, I suggest you install it with SUID. If it causes problems you "
310"can change your mind later by running: dpkg-reconfigure ssh"
311msgstr ""
312"¤è¤¯Ê¬¤«¤é¤Ê¤¤¾ì¹ç¤Ï¡¢SUID ¤òÍ­¸ú¤Ë¤¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£¤â¤· ÌäÂ꤬µ¯¤³¤ì"
313"¤Ð¡¢dpkg-reconfigure ssh ¤ò¼Â¹Ô¤¹¤ë¤³¤È¤ÇÀßÄê¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£"
314
315#. Description
316#: ../templates.master:137
317msgid "Do you want to run the sshd server?"
318msgstr "sshd ¥µ¡¼¥Ð¤ò¼Â¹Ô¤·¤Þ¤¹¤«?"
319
320#. Description
321#: ../templates.master:137
322msgid "This package contains both the ssh client, and the sshd server."
323msgstr "¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢ssh ¥¯¥é¥¤¥¢¥ó¥È¤È sshd ¥µ¡¼¥Ð¤ÎξÊý¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£"
324
325#. Description
326#: ../templates.master:137
327msgid ""
328"Normally the sshd Secure Shell Server will be run to allow remote logins via "
329"ssh."
330msgstr ""
331"Ä̾sshd ¥»¥­¥å¥¢¥·¥§¥ë¥µ¡¼¥Ð¤Ï¡¢ssh ¤òÍѤ¤¤¿¥ê¥â¡¼¥È¤«¤é¤Î¥í¥°¥¤¥ó¤ò²Äǽ¤Ë"
332"¤¹¤ë¤¿¤á¤Ë¼Â¹Ô¤·¤Þ¤¹¡£"
333
334#. Description
335#: ../templates.master:137
336msgid ""
337"If you are only interested in using the ssh client for outbound connections "
338"on this machine, and don't want to log into it at all using ssh, then you "
339"can disable sshd here."
340msgstr ""
341"¤â¤· ssh ¥¯¥é¥¤¥¢¥ó¥È¤ò»È¤Ã¤Æ¤³¤Î¥Þ¥·¥ó¤«¤é¾¥Þ¥·¥ó¤Ø¤ÈÀܳ¤¹¤ë¤À¤±¤Ç¡¢¤³¤Î¥Þ"
342"¥·¥ó¤Ø¤È ssh ¤ò»È¤Ã¤Æ¥í¥°¥¤¥ó¤·¤Ê¤¤¤Î¤Ç¤·¤¿¤é¡¢¤³¤³¤Ç sshd ¤ò¼Â¹Ô¤·¤Ê¤¤¤Ç¤ª¤­"
343"¤Þ¤¹¡£"
344
345#. Description
346#: ../templates.master:149
347msgid "Environment options on keys have been deprecated"
348msgstr "¸°¤Î´Ä¶­¥ª¥×¥·¥ç¥ó¤Ï̵¸ú¤ËÀßÄꤵ¤ì¤Þ¤·¤¿"
349
350#. Description
351#: ../templates.master:149
352msgid ""
353"This version of OpenSSH disables the environment option for public keys by "
354"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
355"are using this option in an authorized_keys file, beware that the keys in "
356"question will no longer work until the option is removed."
357msgstr ""
358"ËܥС¼¥¸¥ç¥ó¤Î OpenSSH ¤Ï¡¢¸ø³«¸°¤Î´Ä¶­¥ª¥×¥·¥ç¥ó¤ò¥Ç¥Õ¥©¥ë¥È¤Ç̵¸ú¤ËÀßÄꤷ¤Æ"
359"¤¤¤Þ¤¹¡£LD_PRELOAD ¤Ê¤É¤Î¹¶·â¤òÈò¤±¤ë¤¿¤á¤Ç¤¹¡£¤â¤· authorized_keys ¥Õ¥¡¥¤¥ë"
360"¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò½üµî¤·¤Ê¤¤¸Â¤ê¤Ï¤½¤Î¸°¤Ï"
361"ÍøÍѤǤ­¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£"
362
363#. Description
364#: ../templates.master:149
365msgid ""
366"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
367"sshd_config after the upgrade is complete, taking note of the warning in the "
368"sshd_config(5) manual page."
369msgstr ""
370"¤³¤Î¥ª¥×¥·¥ç¥ó¤òºÆ¤ÓÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É½ªÎ»¸å¤Ë¡¢sshd_config(5) ¥Þ"
371"¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Î·Ù¹ð»ö¹à¤òÆɤó¤Ç¡¢ /etc/ssh/sshd_config ¥Õ¥¡¥¤¥ë¤Ë"
372"¡ÖPermitUserEnvironment yes¡×¤ÈÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£"
diff --git a/debian/po/pl.po b/debian/po/pl.po
new file mode 100644
index 000000000..853144294
--- /dev/null
+++ b/debian/po/pl.po
@@ -0,0 +1,388 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14#, fuzzy
15msgid ""
16msgstr ""
17"Project-Id-Version: PACKAGE VERSION\n"
18"Report-Msgid-Bugs-To: \n"
19"POT-Creation-Date: 2003-09-12 21:03+0100\n"
20"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
21"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
22"Language-Team: LANGUAGE <LL@li.org>\n"
23"MIME-Version: 1.0\n"
24"Content-Type: text/plain; charset=ISO-8859-2\n"
25"Content-Transfer-Encoding: 8bit\n"
26
27#. Description
28#: ../templates.master:3
29msgid "Privilege separation"
30msgstr "Separacja uprawnieñ"
31
32#. Description
33#: ../templates.master:3
34msgid ""
35"Privilege separation is turned on by default, so if you decide you want it "
36"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
37"sshd_config."
38msgstr ""
39"Separacja uprawnieñ jest domy¶lnie w³±czona, wiêc je¶li zdecydujesz siê j± "
40"wy³±czyæ, musisz dodaæ \"UsePrivilegeSeparation no\" do pliku /etc/ssh/"
41"sshd_config."
42
43#. Description
44#: ../templates.master:19
45msgid "Enable Privilege separation"
46msgstr "W³±czenie separacji uprawnieñ"
47
48#. Description
49#: ../templates.master:19
50msgid ""
51"This version of OpenSSH contains the new privilege separation option. This "
52"significantly reduces the quantity of code that runs as root, and therefore "
53"reduces the impact of security holes in sshd."
54msgstr ""
55"Ta wersja OpenSSH zawiera now± opcjê separacji uprawnieñ. Znacz±co zmniejsza "
56"ona ilo¶æ kodu, który jest uruchamiany jako root i co za tym idzie redukuje "
57"efekty luk bezpieczeñstwa w sshd."
58
59#. Description
60#: ../templates.master:19
61msgid ""
62"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
63"session modules that need to run as root (pam_mkhomedir, for example) will "
64"fail, and PAM keyboard-interactive authentication won't work."
65msgstr ""
66"Niestety separacja uprawnieñ ¼le reaguje z PAMem. Jakikolwiek modu³ sesji "
67"PAM, który musi byæ uruchamiany jako root (pam_mkhomedir, na przyk³ad) "
68"zawiedzie. Nie bêdzie dzia³aæ równie¿ interaktywna autentykacja z klawiatury "
69"(keyboard-interactive authentication)."
70
71#. Description
72#: ../templates.master:19
73#, fuzzy
74msgid ""
75"Since you've opted to have me generate an sshd_config file for you, you can "
76"choose whether or not to have privilege separation turned on or not. Unless "
77"you know you need to use PAM features that won't work with this option, you "
78"should enable it."
79msgstr ""
80"Zdecydowa³e¶ siê na to abym wygenerowa³ dla ciebie plik sshd_config, i "
81"mo¿esz wybraæ czy chcesz w³±czyæ Separacjê Uprawnieñ, czy te¿ nie. Je¶li nie "
82"u¿ywasz j±dra z serii 2.0 (w którym to przypadku *musisz* odpowiedzieæ tutaj "
83"'nie' albo sshd w ogóle nie ruszy) i je¶li nie musisz korzystaæ z mo¿liwo¶ci "
84"PAMa, które nie bêd± dzia³a³y z t± opcj±, powiniene¶ odpowiedzieæ tutaj "
85"'tak'."
86
87#. Description
88#: ../templates.master:36
89msgid "Generate new configuration file"
90msgstr "Wygeneruj nowy plik konfiguracyjny"
91
92#. Description
93#: ../templates.master:36
94msgid ""
95"This version of OpenSSH has a considerably changed configuration file from "
96"the version shipped in Debian 'Potato', which you appear to be upgrading "
97"from. I can now generate you a new configuration file (/etc/ssh/sshd."
98"config), which will work with the new server version, but will not contain "
99"any customisations you made with the old version."
100msgstr ""
101"W tej wersji OpenSSH zmieni³ siê plik konfiguracyjny w stosunku do wersji "
102"dostarczanej z Debianem 'Potato', któr± zdajesz siê aktualizowaæ. Mogê teraz "
103"wygenerowaæ nowy plik konfiguracyjny (/etc/ssh/sshd.config), który bêdzie "
104"dzia³a³ z now± wersj± serwera, ale nie bêdzie zawiera³ ¿adnych dokonanych "
105"przez ciebie w starej wersji zmian."
106
107#. Description
108#: ../templates.master:36
109msgid ""
110"Please note that this new configuration file will set the value of "
111"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
112"ssh directly in as root). It is the opinion of the maintainer that this is "
113"the correct default (see README.Debian for more details), but you can always "
114"edit sshd_config and set it to no if you wish."
115msgstr ""
116"Zauwa¿ proszê, ¿e nowy plik konfiguracyjny bêdzie ustawia³ warto¶æ opcji "
117"'PermitRootLogin' na 'tak' (co oznacza, ¿e ka¿dy kto zna has³o root'a mo¿e "
118"zdalnie zalogowaæ siê przez ssh jako root). W opinii opiekuna pakietu to "
119"jest poprawna warto¶æ domy¶lna (szczegó³y w README.Debian), ale mo¿esz sobie "
120"wyedytowaæ sshd_config i ustawiæ tê opcjê na 'nie' je¶li siê z t± opini± nie "
121"zgadzasz."
122
123#. Description
124#: ../templates.master:36
125msgid ""
126"It is strongly recommended that you let me generate a new configuration file "
127"for you."
128msgstr ""
129"Jest bardzo wskazane aby¶ pozwoli³ mi wygenerowaæ nowy plik konfiguracyjny."
130
131#. Description
132#: ../templates.master:55
133msgid "Allow SSH protocol 2 only"
134msgstr "Zezwalaj wy³±cznie na wersjê 2 protoko³u SSH"
135
136#. Description
137#: ../templates.master:55
138msgid ""
139"This version of OpenSSH supports version 2 of the ssh protocol, which is "
140"much more secure. Disabling ssh 1 is encouraged, however this will slow "
141"things down on low end machines and might prevent older clients from "
142"connecting (the ssh client shipped with \"potato\" is affected)."
143msgstr ""
144"Ta wersja OpenSSH wspiera drug± wersjê protoko³u ssh, która jest znacznie "
145"bardziej bezpieczna. Wy³±czenie ssh 1 jest zalecane, choæ spowalnia to "
146"dzia³anie na starych maszynach i mo¿e uniemo¿liwiæ po³±czenie starszym "
147"wersjom klientów (dotyczy to np. klienta ssh do³±czanego do \"potato\")."
148
149#. Description
150#: ../templates.master:55
151msgid ""
152"Also please note that keys used for protocol 1 are different so you will not "
153"be able to use them if you only allow protocol 2 connections."
154msgstr ""
155"Ponadto, zauwa¿ proszê, ¿e klucze u¿ywane przez protokó³ 1 s± inne, wiêc nie "
156"bêdziesz móg³ ich u¿ywaæ je¶li zezwolisz na korzystanie wy³±cznie z wersji 2 "
157"protoko³u."
158
159#. Description
160#: ../templates.master:55
161msgid ""
162"If you later change your mind about this setting, README.Debian has "
163"instructions on what to do to your sshd_config file."
164msgstr ""
165"Je¶li pó¼niej zmienisz zdanie co do tego ustawienia, to instrukcje co "
166"zmieniæ w sshd_config znajduj± siê w README.Debian."
167
168#. Description
169#: ../templates.master:69
170msgid "ssh2 keys merged in configuration files"
171msgstr "klucze ssh2 w³±czone do plików konfiguracyjnych"
172
173#. Description
174#: ../templates.master:69
175msgid ""
176"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
177"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
178"needed. They will still be read in order to maintain backwards compatibility"
179msgstr ""
180"Pocz±wszy od wersji 3 OpenSSH nie u¿ywa ju¿ osobnych plików dla kluczy ssh1 "
181"i ssh2. Oznacza to, ¿e pliki authorized_keys2 i known_hosts2 nie s± ju¿ "
182"potrzebne. Bêd± one jednak odczytywane aby zachowaæ wsteczn± kompatybilno¶æ."
183
184#. Description
185#: ../templates.master:78
186#, fuzzy
187msgid "Do you want to continue (and risk killing active ssh sessions)?"
188msgstr "Czy chcesz kontynuowaæ (i ryzykowaæ zabicie aktywnych sesji ssh) ?"
189
190#. Description
191#: ../templates.master:78
192msgid ""
193"The version of /etc/init.d/ssh that you have installed, is likely to kill "
194"all running sshd instances. If you are doing this upgrade via an ssh "
195"session, that would be a Bad Thing(tm)."
196msgstr ""
197"Zainstalowana w³a¶nie wersja /etc/init.d/ssh mo¿e zabiæ wszystkie dzia³aj±ce "
198"obecnie kopie sshd. Je¶li robisz ten upgrade via ssh, to by³aby Z³a Rzecz"
199"(tm)."
200
201#. Description
202#: ../templates.master:78
203msgid ""
204"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
205"daemon line in the stop section of the file."
206msgstr ""
207"Mo¿esz to naprawiæ dodaj±c \"--pidfile /var/run/sshd.pid\" do linijki start-"
208"stop-daemon w sekcji stop tego pliku."
209
210#. Description
211#: ../templates.master:88
212msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
213msgstr ""
214"UWAGA: Przekazywanie (forwarding) X11 i Autoryzacji jest domy¶lnie wy³±czone."
215
216#. Description
217#: ../templates.master:88
218msgid ""
219"For security reasons, the Debian version of ssh has ForwardX11 and "
220"ForwardAgent set to ``off'' by default."
221msgstr ""
222"Ze wzglêdów bezpieczeñstwa Debianowa wersja ssh ma ForwardX11 i ForwardAgent "
223"ustawione domy¶lnie na 'off'."
224
225#. Description
226#: ../templates.master:88
227msgid ""
228"You can enable it for servers you trust, either in one of the configuration "
229"files, or with the -X command line option."
230msgstr ""
231"Dla zaufanych serwerów mo¿esz w³±czyæ te opcje w pliku konfiguracyjnym lub "
232"przy pomocy opcji -X z linii komend."
233
234#. Description
235#: ../templates.master:88
236msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
237msgstr "Wiêcej szczegó³ów znajdziesz w /usr/share/doc/ssh/README.Debian."
238
239#. Description
240#: ../templates.master:99
241msgid "Warning: rsh-server is installed --- probably not a good idea"
242msgstr ""
243"Uwaga: serwer rsh jest zainstalowany --- prawdopodobnie nienajlepszy pomys³"
244
245#. Description
246#: ../templates.master:99
247msgid ""
248"having rsh-server installed undermines the security that you were probably "
249"wanting to obtain by installing ssh. I'd advise you to remove that package."
250msgstr ""
251"Posiadanie zainstalowanego serwera rsh podminowuje zabezpieczenia, które "
252"prawdopodobnie starasz siê uzyskaæ instaluj±c ssh. Radzi³bym usun±æ ten "
253"pakiet."
254
255#. Description
256#: ../templates.master:106
257msgid "Warning: telnetd is installed --- probably not a good idea"
258msgstr ""
259"Uwaga: telnetd jest zainstalowany --- prawdopodobnie nienajlepszy pomys³"
260
261#. Description
262#: ../templates.master:106
263msgid ""
264"I'd advise you to either remove the telnetd package (if you don't actually "
265"need to offer telnet access) or install telnetd-ssl so that there is at "
266"least some chance that telnet sessions will not be sending unencrypted login/"
267"password and session information over the network."
268msgstr ""
269"Radzi³bym albo usun±æ pakiet telnetd (je¶li nie potrzebujesz koniecznie "
270"udostêpniaæ telnet'a) albo zainstalowaæ telnetd-ssl aby by³a choæ szansza, "
271"¿e sesje telnet nie bêd± przesy³aæ niezaszyfrowanego loginu/has³a oraz "
272"danych sesji przez sieæ."
273
274#. Description
275#: ../templates.master:114
276msgid "Warning: you must create a new host key"
277msgstr "Uwaga: musisz utworzyæ nowy klucz hosta"
278
279#. Description
280#: ../templates.master:114
281msgid ""
282"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
283"not handle this host key file, and I can't find the ssh-keygen utility from "
284"the old (non-free) SSH installation."
285msgstr ""
286"Istnieje stary /etc/ssh/ssh_host_key, który jest zaszyfrowany przez IDEA. "
287"OpenSSH nie umie korzystaæ z tak zaszyfrowanego klucza, a nie mo¿e znale¼æ "
288"polecenia ssh-keygen ze starego SSH (non-free)."
289
290#. Description
291#: ../templates.master:114
292msgid "You will need to generate a new host key."
293msgstr "Bêdziesz musia³ wygenerowaæ nowy klucz hosta."
294
295#. Description
296#: ../templates.master:124
297msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
298msgstr "Czy chcesz aby /usr/lib/ssh-keysign by³ zainstalowany jako SUID root?"
299
300#. Description
301#: ../templates.master:124
302msgid ""
303"You have the option of installing the ssh-keysign helper with the SUID bit "
304"set."
305msgstr ""
306"Masz mo¿liwo¶æ zainstalowania pomocniczego programu ssh-keysign z w³±czonym "
307"bitem SETUID."
308
309#. Description
310#: ../templates.master:124
311msgid ""
312"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
313"based authentication."
314msgstr ""
315"Je¶li uczynisz ssh-keysign SUIDowym, bêdziesz móg³ u¿ywaæ opartej na hostach "
316"autentykacji drugiej wersji protoko³u SSH."
317
318#. Description
319#: ../templates.master:124
320msgid ""
321"If in doubt, I suggest you install it with SUID. If it causes problems you "
322"can change your mind later by running: dpkg-reconfigure ssh"
323msgstr ""
324"Je¶li masz w±tpliwo¶ci, radzê zainstalowaæ go z SUIDem. Je¶li to sprawia "
325"problemy, mo¿esz zmieniæ swoje zdanie uruchamiaj±c pó¼niej polecenie: dpkg-"
326"reconfigure ssh"
327
328#. Description
329#: ../templates.master:137
330#, fuzzy
331msgid "Do you want to run the sshd server?"
332msgstr "Czy chcesz uruchamiaæ serwer sshd ?"
333
334#. Description
335#: ../templates.master:137
336msgid "This package contains both the ssh client, and the sshd server."
337msgstr "Ten pakiet zawiera zarówno klienta ssh, jak i serwer sshd."
338
339#. Description
340#: ../templates.master:137
341msgid ""
342"Normally the sshd Secure Shell Server will be run to allow remote logins via "
343"ssh."
344msgstr ""
345"Normalnie serwer sshd (Secure Shell Server) bêdzie uruchomiony aby umo¿liwiæ "
346"zdalny dostêp przez ssh."
347
348#. Description
349#: ../templates.master:137
350msgid ""
351"If you are only interested in using the ssh client for outbound connections "
352"on this machine, and don't want to log into it at all using ssh, then you "
353"can disable sshd here."
354msgstr ""
355"Je¶li jeste¶ zainteresowny u¿ywaniem wy³±cznie klienta ssh dla po³±czeñ "
356"wychodz±cych z tej maszyny, i nie chcesz siê na ni± logowaæ przy pomocy ssh, "
357"to mo¿esz teraz wy³±czyæ serwer sshd."
358
359#. Description
360#: ../templates.master:149
361msgid "Environment options on keys have been deprecated"
362msgstr ""
363
364#. Description
365#: ../templates.master:149
366msgid ""
367"This version of OpenSSH disables the environment option for public keys by "
368"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
369"are using this option in an authorized_keys file, beware that the keys in "
370"question will no longer work until the option is removed."
371msgstr ""
372
373#. Description
374#: ../templates.master:149
375msgid ""
376"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
377"sshd_config after the upgrade is complete, taking note of the warning in the "
378"sshd_config(5) manual page."
379msgstr ""
380
381#~ msgid ""
382#~ "NB! If you are running a 2.0 series Linux kernel, then privilege "
383#~ "separation will not work at all, and your sshd will fail to start unless "
384#~ "you explicitly turn privilege separation off."
385#~ msgstr ""
386#~ "UWAGA! Je¿eli u¿ywasz j±dra Linux'a z serii 2.0, to separacja uprawnieñ w "
387#~ "ogóle nie bêdzie dzia³aæ i sshd nie wystartuje dopóki w³asnorêcznie nie "
388#~ "wy³±czysz separacji uprawnieñ w /etc/ssh/sshd_config."
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644
index 000000000..9ac5f81ae
--- /dev/null
+++ b/debian/po/pt_BR.po
@@ -0,0 +1,402 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14msgid ""
15msgstr ""
16"Project-Id-Version: openssh-3.6.1p2-5\n"
17"Report-Msgid-Bugs-To: \n"
18"POT-Creation-Date: 2003-09-12 21:03+0100\n"
19"PO-Revision-Date: 2003-03-08 16:56+0300\n"
20"Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
21"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
22"MIME-Version: 1.0\n"
23"Content-Type: text/plain; charset=ISO-8859-1\n"
24"Content-Transfer-Encoding: 8bit\n"
25
26#. Description
27#: ../templates.master:3
28msgid "Privilege separation"
29msgstr "Separação de Previlégios"
30
31#. Description
32#: ../templates.master:3
33msgid ""
34"Privilege separation is turned on by default, so if you decide you want it "
35"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
36"sshd_config."
37msgstr ""
38"A separação de previlégios está habilitado por padrão, portanto caso você "
39"decida que deseja desabilitá-la você precisará adicionar a linha "
40"\"UsePrivilegeSeparation no\" ao arquivo /etc/ssh/sshd_config."
41
42#. Description
43#: ../templates.master:19
44msgid "Enable Privilege separation"
45msgstr "Habilitar Separação de Privilégios"
46
47#. Description
48#: ../templates.master:19
49msgid ""
50"This version of OpenSSH contains the new privilege separation option. This "
51"significantly reduces the quantity of code that runs as root, and therefore "
52"reduces the impact of security holes in sshd."
53msgstr ""
54"Esta versão do OpenSSH contém a nova opção de separação de privilégios. Esta "
55"opção reduz significativamente a quantidade de código que é executada como "
56"root e portanto reduz o impacto de falhas de segurança no sshd."
57
58#. Description
59#: ../templates.master:19
60msgid ""
61"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
62"session modules that need to run as root (pam_mkhomedir, for example) will "
63"fail, and PAM keyboard-interactive authentication won't work."
64msgstr ""
65"Infelizmente, a separação de privilégios interage de maneira ruim com o PAM. "
66"Quaisquer módulos de sessão PAM que precisem ser executados como root "
67"(pam_mkhomedir, por exemplo) irão falhar e autenticação interativa com "
68"teclado do PAM não funcionará."
69
70#. Description
71#: ../templates.master:19
72#, fuzzy
73msgid ""
74"Since you've opted to have me generate an sshd_config file for you, you can "
75"choose whether or not to have privilege separation turned on or not. Unless "
76"you know you need to use PAM features that won't work with this option, you "
77"should enable it."
78msgstr ""
79"Uma vez que você optou por permitir que o debconf gere o arquivo sshd_config "
80"para você, é possível escolher se você deseja ter ou não o recurso de "
81"Separação de Privilégios habilitado. A menos que você saiba que utiliza "
82"recursos PAM que não funcionarão com esta opção, você deve responder "
83"positivamente aqui."
84
85#. Description
86#: ../templates.master:36
87msgid "Generate new configuration file"
88msgstr "Gerar novo arquivo de configuração"
89
90#. Description
91#: ../templates.master:36
92msgid ""
93"This version of OpenSSH has a considerably changed configuration file from "
94"the version shipped in Debian 'Potato', which you appear to be upgrading "
95"from. I can now generate you a new configuration file (/etc/ssh/sshd."
96"config), which will work with the new server version, but will not contain "
97"any customisations you made with the old version."
98msgstr ""
99"Esta versão do OpenSSH possui um arquivo de configuração consideravelmente "
100"diferente da versão fornecida com o Debian 'Potato' (Debian versão 2.2), a "
101"versão do Debian da qual você parece estar atualizando. Esse assistente de "
102"confgiuração inicial pode agora gerar um novo arquivo de configuração (/etc/"
103"ssh/sshd_config) que irá funcionar com o nova versão do servidor sshd mas "
104"não irá conter nenhuma personalização que você possa ter feito na versão "
105"anterior."
106
107#. Description
108#: ../templates.master:36
109msgid ""
110"Please note that this new configuration file will set the value of "
111"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
112"ssh directly in as root). It is the opinion of the maintainer that this is "
113"the correct default (see README.Debian for more details), but you can always "
114"edit sshd_config and set it to no if you wish."
115msgstr ""
116"Por favor note que este novo arquivo de configuração irá definir o valor da "
117"opção 'PermitRootLogin' para \"yes\" (o que significa que qualquer pessoa "
118"que conheça a senha de root poderá conectar via ssh diretamente como root no "
119"servidor onde este pacote esta sendo instalado). A opinião do mantenedor do "
120"pacote é que esse é o comportamente padrão correto (consulte o arquivo "
121"README.Debian deste pacote para maiores detalhes), mas você poderá sempre "
122"editar o arquivo sshd_config e definir esta opção para \"no\" caso você não "
123"concorde com o mantenedor do OpenSSH."
124
125#. Description
126#: ../templates.master:36
127msgid ""
128"It is strongly recommended that you let me generate a new configuration file "
129"for you."
130msgstr ""
131"É fortemente recomendado que você permita que o novo arquivo de configuração "
132"será gerado automaticamente para você."
133
134#. Description
135#: ../templates.master:55
136msgid "Allow SSH protocol 2 only"
137msgstr "Permitir somente protocolo SSH versão 2"
138
139#. Description
140#: ../templates.master:55
141msgid ""
142"This version of OpenSSH supports version 2 of the ssh protocol, which is "
143"much more secure. Disabling ssh 1 is encouraged, however this will slow "
144"things down on low end machines and might prevent older clients from "
145"connecting (the ssh client shipped with \"potato\" is affected)."
146msgstr ""
147"Esta versão do OpenSSH suporta a versão 2 do protocolo ssh, a qual é muito "
148"mais segura que a versão anterior. É recomendado desabilitar o suporte ao "
149"protocolo ssh versão 1, porém isto fará com que conexões fiquem mais lentas "
150"em máquinas mais antigas e pode impedir que clientes antigos consigam se "
151"conectar (o cliente ssh fornecido com a versão do Debian 2.2 \"potato\" é "
152"afetada.)"
153
154#. Description
155#: ../templates.master:55
156msgid ""
157"Also please note that keys used for protocol 1 are different so you will not "
158"be able to use them if you only allow protocol 2 connections."
159msgstr ""
160"Por favor note também que as chaves usadas para o protocolo 1 são diferentes "
161"portanto você não poderá usá-las caso você somente permita conexões usando o "
162"protocolo 2."
163
164#. Description
165#: ../templates.master:55
166msgid ""
167"If you later change your mind about this setting, README.Debian has "
168"instructions on what to do to your sshd_config file."
169msgstr ""
170"Caso você posteriormente mude de idéia sobre esta configuração, o arquivo "
171"README.Debian deste pacote possui instruções sobre o que mudar em seu "
172"arquivo de configuração sshd_config."
173
174#. Description
175#: ../templates.master:69
176msgid "ssh2 keys merged in configuration files"
177msgstr "Chaves ssh2 incluídas nos arquivos de configuração"
178
179#. Description
180#: ../templates.master:69
181msgid ""
182"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
183"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
184"needed. They will still be read in order to maintain backwards compatibility"
185msgstr ""
186"A partir do versão 3 o OpenSSH não usa mais arquivos separados para as "
187"chaves ssh1 e ssh2. Isto significa que os arquivos \"authorized_keys2\" e "
188"\"know_hosts2\" não são mais necessários. Os mesmos continuarão a ser lidos "
189"para manter a compatibilidade com versões anteriores."
190
191#. Description
192#: ../templates.master:78
193#, fuzzy
194msgid "Do you want to continue (and risk killing active ssh sessions)?"
195msgstr "Deseja continuar (e arriscar acabar com sessões ssh ativas) ?"
196
197#. Description
198#: ../templates.master:78
199msgid ""
200"The version of /etc/init.d/ssh that you have installed, is likely to kill "
201"all running sshd instances. If you are doing this upgrade via an ssh "
202"session, that would be a Bad Thing(tm)."
203msgstr ""
204"A versão de /etc/init.d/ssh que você possui instalada está prestes a matar "
205"todas as instâncias sshd sendo executadas. Se você está fazendo esta "
206"atualização através de uma sessão ssh, isto seria uma Coisa Ruim(tm)."
207
208#. Description
209#: ../templates.master:78
210msgid ""
211"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
212"daemon line in the stop section of the file."
213msgstr ""
214"Você pode corrigir isto adicionando \"--pidfile /var/run/sshd.pid\" na linha "
215"start-stop-daemon na seção stop deste arquivo."
216
217#. Description
218#: ../templates.master:88
219msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
220msgstr "NOTA: Encaminhamento de X11 e Autorização desabilitados por padrão."
221
222#. Description
223#: ../templates.master:88
224msgid ""
225"For security reasons, the Debian version of ssh has ForwardX11 and "
226"ForwardAgent set to ``off'' by default."
227msgstr ""
228"Por razôes de segurança, a versão Debian do ssh tem as opções ForwardX11 e "
229"ForwardAgent definidas como ``off'' por padrão."
230
231#. Description
232#: ../templates.master:88
233msgid ""
234"You can enable it for servers you trust, either in one of the configuration "
235"files, or with the -X command line option."
236msgstr ""
237"Você pode habilitar isso para servidores que você confia, ou em um dos "
238"arquivos de configuração, ou com a opção de linha de comando -X."
239
240#. Description
241#: ../templates.master:88
242msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
243msgstr ""
244"Maiores detalhes podem ser encontrados em /usr/share/doc/ssh/README.Debian."
245
246#. Description
247#: ../templates.master:99
248msgid "Warning: rsh-server is installed --- probably not a good idea"
249msgstr "Aviso: rsh-server está instalado --- provavelmente não é uma boa idéia"
250
251#. Description
252#: ../templates.master:99
253msgid ""
254"having rsh-server installed undermines the security that you were probably "
255"wanting to obtain by installing ssh. I'd advise you to remove that package."
256msgstr ""
257"Possuir o rsh-server instalado minará a segurança que você estava "
258"provavelmente querendo obter instalando o ssh. Eu recomendaria a você "
259"remover este pacote."
260
261#. Description
262#: ../templates.master:106
263msgid "Warning: telnetd is installed --- probably not a good idea"
264msgstr "Aviso: telnetd está instalado --- provavelmente não é uma boa idéia"
265
266#. Description
267#: ../templates.master:106
268msgid ""
269"I'd advise you to either remove the telnetd package (if you don't actually "
270"need to offer telnet access) or install telnetd-ssl so that there is at "
271"least some chance that telnet sessions will not be sending unencrypted login/"
272"password and session information over the network."
273msgstr ""
274"Eu recomendaria a você ou remover o pacote telnetd (se você atualmente não "
275"precisa oferecer acesso telnet) ou instalar telnetd-ssl. Assim existe pelo "
276"menos uma chance das sessões telnet não enviarem login/senha não encriptados "
277"e informações de sessão através da rede."
278
279#. Description
280#: ../templates.master:114
281msgid "Warning: you must create a new host key"
282msgstr "Aviso: você deve criar uma nova host key"
283
284#. Description
285#: ../templates.master:114
286msgid ""
287"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
288"not handle this host key file, and I can't find the ssh-keygen utility from "
289"the old (non-free) SSH installation."
290msgstr ""
291"Existe uma antiga /etc/ssh/ssh_host_key, a qual é encriptada usando IDEA. O "
292"OpenSSH não pode gerenciar este arquivo host key e eu não consigo encontrar "
293"o utilitário ssh-keygen da antiga (non-free) instalação SSH."
294
295#. Description
296#: ../templates.master:114
297msgid "You will need to generate a new host key."
298msgstr "Você precisará gerar uma nova host key."
299
300#. Description
301#: ../templates.master:124
302msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
303msgstr "Deseja que que /usr/lib/ssh-keysign seja instalado SUID root ?"
304
305#. Description
306#: ../templates.master:124
307msgid ""
308"You have the option of installing the ssh-keysign helper with the SUID bit "
309"set."
310msgstr ""
311"Existe a opção de instalar o cliente auxiliar ssh-keysign com o bit SUID "
312"definido."
313
314#. Description
315#: ../templates.master:124
316msgid ""
317"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
318"based authentication."
319msgstr ""
320"Caso você instale o ssh-keysign com o bit SUID ativado, você será capaz de "
321"usar a autenticação baseada em host do protocolo SSH 2."
322
323#. Description
324#: ../templates.master:124
325msgid ""
326"If in doubt, I suggest you install it with SUID. If it causes problems you "
327"can change your mind later by running: dpkg-reconfigure ssh"
328msgstr ""
329"Caso esteja em dúvida, é sugerido que você instale com o bit SUID ativado. "
330"Caso isso cause problemas e você mude de idéia posteriormente execute o "
331"comando : dpkg-reconfigure ssh"
332
333#. Description
334#: ../templates.master:137
335#, fuzzy
336msgid "Do you want to run the sshd server?"
337msgstr "Você quer executar o servidor sshd ?"
338
339#. Description
340#: ../templates.master:137
341msgid "This package contains both the ssh client, and the sshd server."
342msgstr "Este pacote contém ambos o cliente ssh e o servidor sshd."
343
344#. Description
345#: ../templates.master:137
346msgid ""
347"Normally the sshd Secure Shell Server will be run to allow remote logins via "
348"ssh."
349msgstr ""
350"Normalmente o sshd Secure Shell Server será executado para permitir logins "
351"remotos via ssh."
352
353#. Description
354#: ../templates.master:137
355msgid ""
356"If you are only interested in using the ssh client for outbound connections "
357"on this machine, and don't want to log into it at all using ssh, then you "
358"can disable sshd here."
359msgstr ""
360"Se você está interessado somente em usar o cliente ssh para conexões para "
361"fora desta máquina, e não quer logar na mesma usando ssh, então você pode "
362"desabilitar o sshd aqui."
363
364#. Description
365#: ../templates.master:149
366msgid "Environment options on keys have been deprecated"
367msgstr "Opções ed ambiente sobre chaves estão obsoletas"
368
369#. Description
370#: ../templates.master:149
371msgid ""
372"This version of OpenSSH disables the environment option for public keys by "
373"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
374"are using this option in an authorized_keys file, beware that the keys in "
375"question will no longer work until the option is removed."
376msgstr ""
377"Esta versão do OpenSSH desabilita a opção de ambiente para chaves públicas "
378"por padrão par evitar certos ataques (por exemplo, LD_PRELOAD). Caso você "
379"esteja usando esta opção em um arquivo authorized_keys, tenha cuidado pois "
380"as chaves em questão não irão mais funcionar até que esta opção seja "
381"removida."
382
383#. Description
384#: ../templates.master:149
385msgid ""
386"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
387"sshd_config after the upgrade is complete, taking note of the warning in the "
388"sshd_config(5) manual page."
389msgstr ""
390"Para reabilitar esta opção, defina a opção \"PermitUserEnvironment yes\" no "
391"arquivo /et/ssh/sshd_config depois da a atualização terminar, atentando para "
392"o aviso na página de manual do sshd_config(5)."
393
394#~ msgid ""
395#~ "NB! If you are running a 2.0 series Linux kernel, then privilege "
396#~ "separation will not work at all, and your sshd will fail to start unless "
397#~ "you explicitly turn privilege separation off."
398#~ msgstr ""
399#~ "NB ! Caso você esteja executando um kernel Linux da séria 2.0 o recurso "
400#~ "de separação de privilégios não funcionará e seu daemon sshd irá falhar "
401#~ "ao iniciar a menos que você explicitamente desabilite o recurso de "
402#~ "separação de privilégios."
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644
index 000000000..ddb40af47
--- /dev/null
+++ b/debian/po/ru.po
@@ -0,0 +1,339 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14#, fuzzy
15msgid ""
16msgstr ""
17"Project-Id-Version: PACKAGE VERSION\n"
18"Report-Msgid-Bugs-To: \n"
19"POT-Creation-Date: 2003-09-12 21:03+0100\n"
20"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
21"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
22"Language-Team: LANGUAGE <LL@li.org>\n"
23"MIME-Version: 1.0\n"
24"Content-Type: text/plain; charset=KOI8-R\n"
25"Content-Transfer-Encoding: 8bit\n"
26
27#. Description
28#: ../templates.master:3
29msgid "Privilege separation"
30msgstr ""
31
32#. Description
33#: ../templates.master:3
34msgid ""
35"Privilege separation is turned on by default, so if you decide you want it "
36"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
37"sshd_config."
38msgstr ""
39
40#. Description
41#: ../templates.master:19
42msgid "Enable Privilege separation"
43msgstr ""
44
45#. Description
46#: ../templates.master:19
47msgid ""
48"This version of OpenSSH contains the new privilege separation option. This "
49"significantly reduces the quantity of code that runs as root, and therefore "
50"reduces the impact of security holes in sshd."
51msgstr ""
52
53#. Description
54#: ../templates.master:19
55msgid ""
56"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
57"session modules that need to run as root (pam_mkhomedir, for example) will "
58"fail, and PAM keyboard-interactive authentication won't work."
59msgstr ""
60
61#. Description
62#: ../templates.master:19
63msgid ""
64"Since you've opted to have me generate an sshd_config file for you, you can "
65"choose whether or not to have privilege separation turned on or not. Unless "
66"you know you need to use PAM features that won't work with this option, you "
67"should enable it."
68msgstr ""
69
70#. Description
71#: ../templates.master:36
72msgid "Generate new configuration file"
73msgstr ""
74
75#. Description
76#: ../templates.master:36
77msgid ""
78"This version of OpenSSH has a considerably changed configuration file from "
79"the version shipped in Debian 'Potato', which you appear to be upgrading "
80"from. I can now generate you a new configuration file (/etc/ssh/sshd."
81"config), which will work with the new server version, but will not contain "
82"any customisations you made with the old version."
83msgstr ""
84
85#. Description
86#: ../templates.master:36
87msgid ""
88"Please note that this new configuration file will set the value of "
89"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
90"ssh directly in as root). It is the opinion of the maintainer that this is "
91"the correct default (see README.Debian for more details), but you can always "
92"edit sshd_config and set it to no if you wish."
93msgstr ""
94
95#. Description
96#: ../templates.master:36
97msgid ""
98"It is strongly recommended that you let me generate a new configuration file "
99"for you."
100msgstr ""
101
102#. Description
103#: ../templates.master:55
104msgid "Allow SSH protocol 2 only"
105msgstr ""
106
107#. Description
108#: ../templates.master:55
109msgid ""
110"This version of OpenSSH supports version 2 of the ssh protocol, which is "
111"much more secure. Disabling ssh 1 is encouraged, however this will slow "
112"things down on low end machines and might prevent older clients from "
113"connecting (the ssh client shipped with \"potato\" is affected)."
114msgstr ""
115
116#. Description
117#: ../templates.master:55
118msgid ""
119"Also please note that keys used for protocol 1 are different so you will not "
120"be able to use them if you only allow protocol 2 connections."
121msgstr ""
122
123#. Description
124#: ../templates.master:55
125msgid ""
126"If you later change your mind about this setting, README.Debian has "
127"instructions on what to do to your sshd_config file."
128msgstr ""
129
130#. Description
131#: ../templates.master:69
132msgid "ssh2 keys merged in configuration files"
133msgstr ""
134
135#. Description
136#: ../templates.master:69
137msgid ""
138"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
139"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
140"needed. They will still be read in order to maintain backwards compatibility"
141msgstr ""
142
143#. Description
144#: ../templates.master:78
145msgid "Do you want to continue (and risk killing active ssh sessions)?"
146msgstr "÷Ù ÈÏÔÉÔÅ ÐÒÏÄÏÌÖÉÔØ (ÒÉÓËÕÑ ÐÏÔÅÒÑÔØ ÁËÔÉ×ÎÙÅ ssh-ÓÏÅÄÉÎÅÎÉÑ)?"
147
148#. Description
149#: ../templates.master:78
150msgid ""
151"The version of /etc/init.d/ssh that you have installed, is likely to kill "
152"all running sshd instances. If you are doing this upgrade via an ssh "
153"session, that would be a Bad Thing(tm)."
154msgstr ""
155"÷ÅÒÓÉÑ /etc/init.d/ssh, ËÏÔÏÒÕÀ ×Ù ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÅ, ÍÏÖÅÔ ÕÂÉÔØ ×ÓÅ "
156"ÚÁÐÕÝÅÎÎÙÅ ÐÒÏÃÅÓÓÙ ssh. åÓÌÉ ×Ù ÏÓÕÝÅÓÔ×ÌÑÅÔÅ ÜÔÏ ÏÂÎÏ×ÌÅÎÉÅ ÞÅÒÅÚ ssh "
157"ÓÅÓÓÉÀ, ÔÏ ÜÔÏ ðÌÏÈÁÑ ÷ÅÝØ (tm)."
158
159#. Description
160#: ../templates.master:78
161msgid ""
162"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
163"daemon line in the stop section of the file."
164msgstr ""
165"üÔÏ ÍÏÖÎÏ ÉÓÐÒÁ×ÉÔØ ÄÏÂÁ×ÌÅÎÉÅÍ \"--pidfile /var/run/sshd.pid\" × ÓÔÒÏËÅ "
166"start-stop-daemon × ÒÁÚÄÅÌÅ stop ÜÔÏÇÏ ÆÁÊÌÁ."
167
168#. Description
169#: ../templates.master:88
170msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
171msgstr "ðòéíåþáîéå: æÏÒ×ÁÒÄÉÎÇ X11 É Authorization ÚÁÐÒÅÝÅÎ ÐÏ ÕÍÏÌÞÁÎÉÀ."
172
173#. Description
174#: ../templates.master:88
175msgid ""
176"For security reasons, the Debian version of ssh has ForwardX11 and "
177"ForwardAgent set to ``off'' by default."
178msgstr ""
179"ðÏ ÐÒÉÞÉÎÁÍ ÂÅÚÏÐÁÓÎÏÓÔÉ, × ×ÅÒÓÉÉ ÄÌÑ Debian ssh ÉÍÅÅÔ ForwardX11 É "
180"ForwardAgent ÕÓÔÁÎÏ×ÌÅÎÎÙÍÉ × ``off'' ÐÏ ÕÍÏÌÞÁÎÉÀ."
181
182#. Description
183#: ../templates.master:88
184msgid ""
185"You can enable it for servers you trust, either in one of the configuration "
186"files, or with the -X command line option."
187msgstr ""
188"÷Ù ÍÏÖÅÔÅ ÒÁÚÒÅÛÉÔØ ÉÈ ÄÌÑ ÓÅÒ×ÅÒÏ×, ËÏÔÏÒÙÍ ÄÏ×ÅÒÑÅÔÅ ÌÉÂÏ × ÏÄÎÏÍ ÉÚ "
189"ÎÁÓÔÒÏÅÞÎÙÈ ÆÁÊÌÏ×, ÉÌÉ ÐÁÒÁÍÅÔÒÏÍ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ -X."
190
191#. Description
192#: ../templates.master:88
193msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
194msgstr ""
195"äÏÐÏÌÎÉÔÅÌØÕÀ ÉÎÆÏÒÍÁÃÉÀ ÍÏÖÎÏ ÎÁÊÔÉ × /usr/share/doc/ssh/README.Debian"
196
197#. Description
198#: ../templates.master:99
199msgid "Warning: rsh-server is installed --- probably not a good idea"
200msgstr "ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÕÓÔÁÎÏ×ÌÅÎ rsh-server --- ×ÉÄÉÍÏ, ÎÅ ÏÞÅÎØ ÈÏÒÏÛÏ"
201
202#. Description
203#: ../templates.master:99
204msgid ""
205"having rsh-server installed undermines the security that you were probably "
206"wanting to obtain by installing ssh. I'd advise you to remove that package."
207msgstr ""
208"õÓÔÁÎÏ×ÌÅÎÎÙÊ rsh-server ÓÎÉÖÁÅÔ ÂÅÚÏÐÁÓÎÏÓÔØ, ËÏÔÏÒÕÀ ×Ù ×ÅÒÏÑÔÎÏ "
209"ÈÏÔÉÔÅ ÐÏ×ÙÓÉÔØ ÕÓÔÁÎÁ×ÌÉ×ÁÑ ssh. òÅËÏÍÅÎÄÕÅÔÓÑ ÕÄÁÌÉÔØ ÜÔÏÔ ÐÁËÅÔ."
210
211#. Description
212#: ../templates.master:106
213msgid "Warning: telnetd is installed --- probably not a good idea"
214msgstr "ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÕÓÔÁÎÏ×ÌÅÎ telnetd --- ×ÉÄÉÍÏ, ÎÅ ÏÞÅÎØ ÈÏÒÏÛÏ"
215
216#. Description
217#: ../templates.master:106
218msgid ""
219"I'd advise you to either remove the telnetd package (if you don't actually "
220"need to offer telnet access) or install telnetd-ssl so that there is at "
221"least some chance that telnet sessions will not be sending unencrypted login/"
222"password and session information over the network."
223msgstr ""
224"ñ ÒÅËÏÍÅÎÄÏ×ÁÌ ÂÙ ×ÁÍ ÕÄÁÌÉÔØ ÐÁËÅÔ telnetd (ÅÓÌÉ ×ÁÍ ÄÅÊÓÔ×ÉÔÅÌØÎÏ ÎÅ ÎÕÖÅÎ "
225"ÄÏÓÔÕÐ telnet) ÉÌÉ ÕÓÔÁÎÏ×ÉÔØ telnet-ssl, ÞÔÏÂÙ ÉÍÅÔØ ÈÏÔÑ ÂÙ "
226"×ÏÚÍÏÖÎÏÓÔØ ÎÅ ÐÅÒÅÄÁ×ÁÔØ ÐÏ ÓÅÔÉ ÎÅÚÁÛÉÆÒÏ×ÁÎÎÙÅ ÉÍÅÎÁ É ÐÁÒÏÌÉ "
227"ÐÏÌØÚÏ×ÁÔÅÌÅÊ É ÐÒÏÞÕÀ ÉÎÆÏÒÍÁÃÉÀ × telnet-ÓÅÓÓÉÑÈ."
228
229#. Description
230#: ../templates.master:114
231msgid "Warning: you must create a new host key"
232msgstr "ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: ×Ù ÄÏÌÖÎÙ ÓÏÚÄÁÔØ ÎÏ×ÙÊ ËÌÀÞ ÍÁÛÉÎÙ."
233
234#. Description
235#: ../templates.master:114
236msgid ""
237"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
238"not handle this host key file, and I can't find the ssh-keygen utility from "
239"the old (non-free) SSH installation."
240msgstr ""
241"åÓÔØ ÓÔÁÒÙÊ /etc/ssh/ssh_host_key, ËÏÔÏÒÙÊ ÚÁÛÉÆÒÏ×ÁÎ IDEA. OpenSSH ÎÅ "
242"ÍÏÖÅÔ ÒÁÂÏÔÁÔØ Ó ÜÔÉÍ ËÌÀÞÏÍ ÍÁÛÉÎÙ, É Ñ ÎÅ ÍÏÇÕ ÎÁÊÔÉ ÕÔÉÌÉÔÕ ssh-"
243"keygen ÏÔ ÓÔÁÒÏÊ (ÎÅÓ×ÏÂÏÄÎÏÊ) ÉÎÓÔÁÌÌÑÃÉÉ SSH."
244
245#. Description
246#: ../templates.master:114
247msgid "You will need to generate a new host key."
248msgstr "÷ÁÍ ÎÁÄÏ ÂÕÄÅÔ ÓÇÅÎÅÒÉÒÏ×ÁÔØ ÎÏ×ÙÊ ËÌÀÞ ÈÏÓÔÁ."
249
250#. Description
251#: ../templates.master:124
252#, fuzzy
253msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
254msgstr "èÏÔÉÔÅ ÕÓÔÁÎÏ×ÉÔØ /usr/bin/ssh ËÁË SUID root?"
255
256#. Description
257#: ../templates.master:124
258#, fuzzy
259msgid ""
260"You have the option of installing the ssh-keysign helper with the SUID bit "
261"set."
262msgstr ""
263"÷Ù ÉÍÅÅÔÅ ×ÏÚÍÏÖÎÏÓÔØ ÕÓÔÁÎÏ×ÉÔØ /usr/bin/ssh Ó ÕÓÔÁÎÏ×ÌÅÎÎÙÍ ÂÉÔÏÍ SUID."
264
265#. Description
266#: ../templates.master:124
267#, fuzzy
268msgid ""
269"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
270"based authentication."
271msgstr ""
272"åÓÌÉ ×Ù ÄÅÌÁÅÔÅ ssh SUID, ÔÏ ×Ù ÓÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÁÕÔÅÎÔÉÆÉËÁÃÉÀ "
273"Rhosts/RhostsRSA, ÎÏ ÎÅ ÓÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ socks ÞÅÒÅÚ LD_PRELOAD. üÔÏ "
274"ÔÒÁÄÉÃÉÏÎÎÏÅ ÐÏ×ÅÄÅÎÉÅ."
275
276#. Description
277#: ../templates.master:124
278#, fuzzy
279msgid ""
280"If in doubt, I suggest you install it with SUID. If it causes problems you "
281"can change your mind later by running: dpkg-reconfigure ssh"
282msgstr ""
283"åÓÌÉ ×Ù ÓÄÅÌÁÅÔÅ ssh SUID, ÔÏ ×Ù ÓÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ socks, ÎÏ ÚÁÔÏ "
284"ÁÕÔÅÎÔÉÆÉËÁÃÉÑ Rhosts/RhostsRSA ÎÅ ÂÕÄÅÔ ÒÁÂÏÔÁÔØ, ÞÔÏ ÍÏÖÅÔ ÓÄÅÌÁÔØ "
285"ÎÅ×ÏÚÍÏÖÎÙÍ ×ÁÛÕ ÒÅÇÉÓÔÒÁÃÉÀ ÎÁ ÕÄÁÌÅÎÎÙÈ ÓÉÓÔÅÍÁÈ. ôÁËÖÅ ÜÔÏ ÏÚÎÁÞÁÅÔ ÞÔÏ "
286"ÎÏÍÅÒ ÉÓÔÏÞÎÉËÏ×ÏÇÏ ÐÏÒÔÁ ÂÕÄÅÔ ÂÏÌØÛÅ 1024, ÞÔÏ ÍÏÖÅÔ ÎÅ ÎÁÒÕÛÉÔØ ÒÁÂÏÔÕ "
287"ÕÓÔÁÎÏ×ÌÅÎÎÙÈ ×ÁÍÉ ÐÒÁ×ÉÌ ÆÁÊÒ×ÏÌÁ."
288
289#. Description
290#: ../templates.master:137
291msgid "Do you want to run the sshd server?"
292msgstr "èÏÔÉÔÅ ÚÁÐÕÓÔÉÔØ ÓÅÒ×ÅÒ sshd?"
293
294#. Description
295#: ../templates.master:137
296msgid "This package contains both the ssh client, and the sshd server."
297msgstr "üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ É ssh-ËÌÉÅÎÔ, É ssh-ÓÅÒ×ÅÒ."
298
299#. Description
300#: ../templates.master:137
301msgid ""
302"Normally the sshd Secure Shell Server will be run to allow remote logins via "
303"ssh."
304msgstr ""
305"ïÂÙÞÎÏ sshd Secure Shell Server ÚÁÐÕÓËÁÅÔÓÑ ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ×ÈÏÄÁ × "
306"ÒÅÇÉÓÔÒÁÃÉÉ × ÓÉÓÔÅÍÅ ÞÅÒÅÚ ssh."
307
308#. Description
309#: ../templates.master:137
310msgid ""
311"If you are only interested in using the ssh client for outbound connections "
312"on this machine, and don't want to log into it at all using ssh, then you "
313"can disable sshd here."
314msgstr ""
315"åÓÌÉ ×ÁÓ ÉÎÔÅÒÅÓÕÅÔ ÔÏÌØËÏ ÉÓÐÏÌØÚÏ×ÁÎÉÅ ssh-ËÌÉÅÎÔÁ ÄÌÑ ÉÓÈÏÄÑÝÉÈ "
316"ÓÏÅÄÉÎÅÎÉÊ Ó ÜÔÏÊ ÍÁÛÉÎÙ, É ×Ù ÎÅ ÈÏÔÉÔÅ ×ÈÏÄÉÔØ × ÅÅ ÓÉÓÔÅÍÕ ÞÅÒÅÚ ssh, "
317"ÔÏ ×Ù ÍÏÖÅÔÅ ÓÅÊÞÁÓ ÚÁÐÒÅÔÉÔØ sshd."
318
319#. Description
320#: ../templates.master:149
321msgid "Environment options on keys have been deprecated"
322msgstr ""
323
324#. Description
325#: ../templates.master:149
326msgid ""
327"This version of OpenSSH disables the environment option for public keys by "
328"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
329"are using this option in an authorized_keys file, beware that the keys in "
330"question will no longer work until the option is removed."
331msgstr ""
332
333#. Description
334#: ../templates.master:149
335msgid ""
336"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
337"sshd_config after the upgrade is complete, taking note of the warning in the "
338"sshd_config(5) manual page."
339msgstr ""
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 000000000..6d22b7ce4
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,302 @@
1#
2# Translators, if you are not familiar with the PO format, gettext
3# documentation is worth reading, especially sections dedicated to
4# this format, e.g. by running:
5# info -n '(gettext)PO Files'
6# info -n '(gettext)Header Entry'
7#
8# Some information specific to po-debconf are available at
9# /usr/share/doc/po-debconf/README-trans
10# or http://www.debian.org/intl/l10n/po-debconf/README-trans
11#
12# Developers do not need to manually edit POT or PO files.
13#
14#, fuzzy
15msgid ""
16msgstr ""
17"Project-Id-Version: PACKAGE VERSION\n"
18"Report-Msgid-Bugs-To: \n"
19"POT-Creation-Date: 2003-09-12 21:03+0100\n"
20"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
21"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
22"Language-Team: LANGUAGE <LL@li.org>\n"
23"MIME-Version: 1.0\n"
24"Content-Type: text/plain; charset=CHARSET\n"
25"Content-Transfer-Encoding: 8bit\n"
26
27#. Description
28#: ../templates.master:3
29msgid "Privilege separation"
30msgstr ""
31
32#. Description
33#: ../templates.master:3
34msgid ""
35"Privilege separation is turned on by default, so if you decide you want it "
36"turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/"
37"sshd_config."
38msgstr ""
39
40#. Description
41#: ../templates.master:19
42msgid "Enable Privilege separation"
43msgstr ""
44
45#. Description
46#: ../templates.master:19
47msgid ""
48"This version of OpenSSH contains the new privilege separation option. This "
49"significantly reduces the quantity of code that runs as root, and therefore "
50"reduces the impact of security holes in sshd."
51msgstr ""
52
53#. Description
54#: ../templates.master:19
55msgid ""
56"Unfortunately, privilege separation interacts badly with PAM. Any PAM "
57"session modules that need to run as root (pam_mkhomedir, for example) will "
58"fail, and PAM keyboard-interactive authentication won't work."
59msgstr ""
60
61#. Description
62#: ../templates.master:19
63msgid ""
64"Since you've opted to have me generate an sshd_config file for you, you can "
65"choose whether or not to have privilege separation turned on or not. Unless "
66"you know you need to use PAM features that won't work with this option, you "
67"should enable it."
68msgstr ""
69
70#. Description
71#: ../templates.master:36
72msgid "Generate new configuration file"
73msgstr ""
74
75#. Description
76#: ../templates.master:36
77msgid ""
78"This version of OpenSSH has a considerably changed configuration file from "
79"the version shipped in Debian 'Potato', which you appear to be upgrading "
80"from. I can now generate you a new configuration file (/etc/ssh/sshd."
81"config), which will work with the new server version, but will not contain "
82"any customisations you made with the old version."
83msgstr ""
84
85#. Description
86#: ../templates.master:36
87msgid ""
88"Please note that this new configuration file will set the value of "
89"'PermitRootLogin' to yes (meaning that anyone knowing the root password can "
90"ssh directly in as root). It is the opinion of the maintainer that this is "
91"the correct default (see README.Debian for more details), but you can always "
92"edit sshd_config and set it to no if you wish."
93msgstr ""
94
95#. Description
96#: ../templates.master:36
97msgid ""
98"It is strongly recommended that you let me generate a new configuration file "
99"for you."
100msgstr ""
101
102#. Description
103#: ../templates.master:55
104msgid "Allow SSH protocol 2 only"
105msgstr ""
106
107#. Description
108#: ../templates.master:55
109msgid ""
110"This version of OpenSSH supports version 2 of the ssh protocol, which is "
111"much more secure. Disabling ssh 1 is encouraged, however this will slow "
112"things down on low end machines and might prevent older clients from "
113"connecting (the ssh client shipped with \"potato\" is affected)."
114msgstr ""
115
116#. Description
117#: ../templates.master:55
118msgid ""
119"Also please note that keys used for protocol 1 are different so you will not "
120"be able to use them if you only allow protocol 2 connections."
121msgstr ""
122
123#. Description
124#: ../templates.master:55
125msgid ""
126"If you later change your mind about this setting, README.Debian has "
127"instructions on what to do to your sshd_config file."
128msgstr ""
129
130#. Description
131#: ../templates.master:69
132msgid "ssh2 keys merged in configuration files"
133msgstr ""
134
135#. Description
136#: ../templates.master:69
137msgid ""
138"As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 "
139"keys. This means the authorized_keys2 and known_hosts2 files are no longer "
140"needed. They will still be read in order to maintain backwards compatibility"
141msgstr ""
142
143#. Description
144#: ../templates.master:78
145msgid "Do you want to continue (and risk killing active ssh sessions)?"
146msgstr ""
147
148#. Description
149#: ../templates.master:78
150msgid ""
151"The version of /etc/init.d/ssh that you have installed, is likely to kill "
152"all running sshd instances. If you are doing this upgrade via an ssh "
153"session, that would be a Bad Thing(tm)."
154msgstr ""
155
156#. Description
157#: ../templates.master:78
158msgid ""
159"You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-"
160"daemon line in the stop section of the file."
161msgstr ""
162
163#. Description
164#: ../templates.master:88
165msgid "NOTE: Forwarding of X11 and Authorization disabled by default."
166msgstr ""
167
168#. Description
169#: ../templates.master:88
170msgid ""
171"For security reasons, the Debian version of ssh has ForwardX11 and "
172"ForwardAgent set to ``off'' by default."
173msgstr ""
174
175#. Description
176#: ../templates.master:88
177msgid ""
178"You can enable it for servers you trust, either in one of the configuration "
179"files, or with the -X command line option."
180msgstr ""
181
182#. Description
183#: ../templates.master:88
184msgid "More details can be found in /usr/share/doc/ssh/README.Debian"
185msgstr ""
186
187#. Description
188#: ../templates.master:99
189msgid "Warning: rsh-server is installed --- probably not a good idea"
190msgstr ""
191
192#. Description
193#: ../templates.master:99
194msgid ""
195"having rsh-server installed undermines the security that you were probably "
196"wanting to obtain by installing ssh. I'd advise you to remove that package."
197msgstr ""
198
199#. Description
200#: ../templates.master:106
201msgid "Warning: telnetd is installed --- probably not a good idea"
202msgstr ""
203
204#. Description
205#: ../templates.master:106
206msgid ""
207"I'd advise you to either remove the telnetd package (if you don't actually "
208"need to offer telnet access) or install telnetd-ssl so that there is at "
209"least some chance that telnet sessions will not be sending unencrypted login/"
210"password and session information over the network."
211msgstr ""
212
213#. Description
214#: ../templates.master:114
215msgid "Warning: you must create a new host key"
216msgstr ""
217
218#. Description
219#: ../templates.master:114
220msgid ""
221"There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can "
222"not handle this host key file, and I can't find the ssh-keygen utility from "
223"the old (non-free) SSH installation."
224msgstr ""
225
226#. Description
227#: ../templates.master:114
228msgid "You will need to generate a new host key."
229msgstr ""
230
231#. Description
232#: ../templates.master:124
233msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?"
234msgstr ""
235
236#. Description
237#: ../templates.master:124
238msgid ""
239"You have the option of installing the ssh-keysign helper with the SUID bit "
240"set."
241msgstr ""
242
243#. Description
244#: ../templates.master:124
245msgid ""
246"If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-"
247"based authentication."
248msgstr ""
249
250#. Description
251#: ../templates.master:124
252msgid ""
253"If in doubt, I suggest you install it with SUID. If it causes problems you "
254"can change your mind later by running: dpkg-reconfigure ssh"
255msgstr ""
256
257#. Description
258#: ../templates.master:137
259msgid "Do you want to run the sshd server?"
260msgstr ""
261
262#. Description
263#: ../templates.master:137
264msgid "This package contains both the ssh client, and the sshd server."
265msgstr ""
266
267#. Description
268#: ../templates.master:137
269msgid ""
270"Normally the sshd Secure Shell Server will be run to allow remote logins via "
271"ssh."
272msgstr ""
273
274#. Description
275#: ../templates.master:137
276msgid ""
277"If you are only interested in using the ssh client for outbound connections "
278"on this machine, and don't want to log into it at all using ssh, then you "
279"can disable sshd here."
280msgstr ""
281
282#. Description
283#: ../templates.master:149
284msgid "Environment options on keys have been deprecated"
285msgstr ""
286
287#. Description
288#: ../templates.master:149
289msgid ""
290"This version of OpenSSH disables the environment option for public keys by "
291"default, in order to avoid certain attacks (for example, LD_PRELOAD). If you "
292"are using this option in an authorized_keys file, beware that the keys in "
293"question will no longer work until the option is removed."
294msgstr ""
295
296#. Description
297#: ../templates.master:149
298msgid ""
299"To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/"
300"sshd_config after the upgrade is complete, taking note of the warning in the "
301"sshd_config(5) manual page."
302msgstr ""
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 000000000..af0f8a21c
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,329 @@
1#!/bin/sh -e
2
3action="$1"
4oldversion="$2"
5
6. /usr/share/debconf/confmodule
7db_version 2.0
8
9umask 022
10
11if [ "$action" != configure ]
12 then
13 exit 0
14fi
15
16
17
18check_idea_key() {
19 #check for old host_key files using IDEA, which openssh does not support
20 if [ -f /etc/ssh/ssh_host_key ] ; then
21 if ssh-keygen -p -N '' -f /etc/ssh/ssh_host_key 2>&1 | \
22 grep -q 'unknown cipher' 2>/dev/null ; then
23 mv /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.old
24 mv /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_key.pub.old
25 fi
26 fi
27}
28
29
30create_key() {
31 local msg="$1"
32 shift
33 local file="$1"
34 shift
35
36 if [ ! -f "$file" ] ; then
37 echo -n $msg
38 ssh-keygen -q -f "$file" -N '' "$@"
39 echo
40 fi
41}
42
43
44create_keys() {
45 db_get ssh/protocol2_only
46 if [ "$RET" = "false" ] ; then
47 create_key "Creating SSH1 key; this may take some time ..." \
48 /etc/ssh/ssh_host_key -t rsa1
49 fi
50
51 create_key "Creating SSH2 RSA key; this may take some time ..." \
52 /etc/ssh/ssh_host_rsa_key -t rsa
53 create_key "Creating SSH2 DSA key; this may take some time ..." \
54 /etc/ssh/ssh_host_dsa_key -t dsa
55}
56
57
58create_sshdconfig() {
59 if [ -e /etc/ssh/sshd_config ] ; then
60 if dpkg --compare-versions "$oldversion" lt-nl 1:1.3 ; then
61 db_get ssh/new_config
62 if [ "$RET" = "false" ] ; then return 0; fi
63 else return 0
64 fi
65 fi
66
67 #Preserve old sshd_config before generating a new one
68 if [ -e /etc/ssh/sshd_config ] ; then
69 mv /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-old
70 fi
71
72 cat <<EOF > /etc/ssh/sshd_config
73# Package generated configuration file
74# See the sshd(8) manpage for details
75
76# What ports, IPs and protocols we listen for
77Port 22
78# Use these options to restrict which interfaces/protocols sshd will bind to
79#ListenAddress ::
80#ListenAddress 0.0.0.0
81EOF
82 db_get ssh/protocol2_only
83if [ "$RET" = "false" ]; then
84 cat <<EOF >> /etc/ssh/sshd_config
85Protocol 2,1
86# HostKeys for protocol version 1
87HostKey /etc/ssh/ssh_host_key
88# HostKeys for protocol version 2
89HostKey /etc/ssh/ssh_host_rsa_key
90HostKey /etc/ssh/ssh_host_dsa_key
91EOF
92else
93 cat <<EOF >> /etc/ssh/sshd_config
94Protocol 2
95# HostKeys for protocol version 2
96HostKey /etc/ssh/ssh_host_rsa_key
97HostKey /etc/ssh/ssh_host_dsa_key
98EOF
99fi
100
101db_get ssh/privsep_ask
102if [ "$RET" = "false" ]; then
103 cat <<EOF >> /etc/ssh/sshd_config
104#Explicitly set PrivSep off, as requested
105UsePrivilegeSeparation no
106
107# Use PAM authentication via keyboard-interactive so PAM modules can
108# properly interface with the user
109PAMAuthenticationViaKbdInt yes
110EOF
111else
112 cat <<EOF >> /etc/ssh/sshd_config
113#Privilege Separation is turned on for security
114UsePrivilegeSeparation yes
115
116# ...but breaks Pam auth via kbdint, so we have to turn it off
117# Use PAM authentication via keyboard-interactive so PAM modules can
118# properly interface with the user (off due to PrivSep)
119PAMAuthenticationViaKbdInt no
120EOF
121fi
122
123 cat <<EOF >> /etc/ssh/sshd_config
124# Lifetime and size of ephemeral version 1 server key
125KeyRegenerationInterval 3600
126ServerKeyBits 768
127
128# Logging
129SyslogFacility AUTH
130LogLevel INFO
131
132# Authentication:
133LoginGraceTime 600
134PermitRootLogin yes
135StrictModes yes
136
137RSAAuthentication yes
138PubkeyAuthentication yes
139#AuthorizedKeysFile %h/.ssh/authorized_keys
140
141# rhosts authentication should not be used
142RhostsAuthentication no
143# Don't read the user's ~/.rhosts and ~/.shosts files
144IgnoreRhosts yes
145# For this to work you will also need host keys in /etc/ssh_known_hosts
146RhostsRSAAuthentication no
147# similar for protocol version 2
148HostbasedAuthentication no
149# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
150#IgnoreUserKnownHosts yes
151
152# To enable empty passwords, change to yes (NOT RECOMMENDED)
153PermitEmptyPasswords no
154
155# Change to no to disable s/key passwords
156#ChallengeResponseAuthentication yes
157
158# To disable tunneled clear text passwords, change to no here!
159PasswordAuthentication yes
160
161
162# To change Kerberos options
163#KerberosAuthentication no
164#KerberosOrLocalPasswd yes
165#AFSTokenPassing no
166#KerberosTicketCleanup no
167
168# Kerberos TGT Passing does only work with the AFS kaserver
169#KerberosTgtPassing yes
170
171X11Forwarding no
172X11DisplayOffset 10
173PrintMotd no
174PrintLastLog yes
175KeepAlive yes
176#UseLogin no
177
178#MaxStartups 10:30:60
179#Banner /etc/issue.net
180#ReverseMappingCheck yes
181
182Subsystem sftp /usr/lib/sftp-server
183
184EOF
185}
186
187
188fix_rsh_diversion() {
189# get rid of mistaken rsh diversion (circa 1.2.27-1)
190
191 if [ -L /usr/bin/rsh ] &&
192 dpkg-divert --list '/usr/bin/rsh.real/rsh' | grep -q ' ssh$' ; then
193 for cmd in rlogin rsh rcp ; do
194 [ -L /usr/bin/$cmd ] && rm /usr/bin/$cmd
195 dpkg-divert --package ssh --remove --rename \
196 --divert /usr/bin/rsh.real/$cmd /usr/bin/$cmd
197
198 [ -L /usr/man/man1/$cmd.1.gz ] && rm /usr/man/man1/$$cmd.1.gz
199 dpkg-divert --package ssh --remove --rename \
200 --divert /usr/man/man1/$cmd.real.1.gz /usr/man/man1/$cmd.1.gz
201 done
202
203 rmdir /usr/bin/rsh.real
204 fi
205}
206
207
208fix_statoverride() {
209# Remove an erronous override for sshd (we should have overridden ssh)
210 if [ -x /usr/sbin/dpkg-statoverride ]; then
211 if dpkg-statoverride --list /usr/sbin/sshd >/dev/null ; then
212 dpkg-statoverride --remove /usr/sbin/sshd
213 fi
214 fi
215}
216
217
218create_alternatives() {
219# Create alternatives for the various r* tools.
220# Make sure we don't change existing alternatives that a user might have
221# changed, but clean up after some old alternatives that mistakenly pointed
222# rlogin and rcp to ssh.
223 update-alternatives --quiet --remove rlogin /usr/bin/ssh
224 update-alternatives --quiet --remove rcp /usr/bin/ssh
225 for cmd in rsh rlogin rcp; do
226 scmd="s${cmd#r}"
227 if ! update-alternatives --display "$cmd" | \
228 grep -q "$scmd"; then
229 update-alternatives --quiet --install "/usr/bin/$cmd" "$cmd" "/usr/bin/$scmd" 20 \
230 --slave "/usr/share/man/man1/$cmd.1.gz" "$cmd.1.gz" "/usr/share/man/man1/$scmd.1.gz"
231 fi
232 done
233}
234
235setup_sshd_user() {
236 if ! getent passwd sshd >/dev/null; then
237 adduser --quiet --system --no-create-home --home /var/run/sshd sshd
238 fi
239}
240
241set_sshd_permissions() {
242 if dpkg --compare-versions "$oldversion" lt-nl 1:3.4p1-1 ; then
243 if [ -x /usr/sbin/dpkg-statoverride ] ; then
244 if dpkg-statoverride --list /usr/bin/ssh >/dev/null; then
245 dpkg-statoverride --remove /usr/bin/ssh >/dev/null
246 fi
247 fi
248 fi
249
250 if [ ! -x /usr/sbin/dpkg-statoverride ] || \
251 ! dpkg-statoverride --list /usr/lib/ssh-keysign >/dev/null ; then
252 db_get ssh/SUID_client
253 if [ "$RET" = "false" ] ; then
254 chmod 0755 /usr/lib/ssh-keysign
255 elif [ "$RET" = "true" ] ; then
256 chmod 4755 /usr/lib/ssh-keysign
257 fi
258 fi
259}
260
261
262fix_ssh_group() {
263 # Try to remove non-system group mistakenly created by 1:3.5p1-1.
264 # set_ssh_agent_permissions() below will re-create it properly.
265 if getent group ssh >/dev/null; then
266 delgroup --quiet ssh || true
267 fi
268}
269
270
271set_ssh_agent_permissions() {
272 if ! getent group ssh >/dev/null; then
273 addgroup --system --quiet ssh
274 fi
275 if ! [ -x /usr/sbin/dpkg-statoverride ] || \
276 ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null ; then
277 chgrp ssh /usr/bin/ssh-agent
278 chmod 2755 /usr/bin/ssh-agent
279 fi
280}
281
282
283fix_conffile_permissions() {
284 # Clean up after executable /etc/default/ssh in 1:3.5p1-5. dpkg
285 # doesn't do this for us; see bug #192981.
286 chmod 644 /etc/default/ssh
287}
288
289setup_startup() {
290 db_get ssh/run_sshd
291 if [ "$RET" = "false" ] ; then
292 /etc/init.d/ssh stop 2>&1 >/dev/null
293 touch /etc/ssh/sshd_not_to_be_run
294 else
295 rm -f /etc/ssh/sshd_not_to_be_run 2>/dev/null
296 fi
297}
298
299
300setup_init() {
301 if [ -e /etc/init.d/ssh ]; then
302 update-rc.d ssh defaults >/dev/null
303 /etc/init.d/ssh restart
304 fi
305}
306
307check_idea_key
308create_keys
309create_sshdconfig
310fix_rsh_diversion
311fix_statoverride
312create_alternatives
313setup_sshd_user
314set_sshd_permissions
315if [ "$2" = "1:3.5p1-1" ]; then
316 fix_ssh_group
317fi
318set_ssh_agent_permissions
319if dpkg --compare-versions "$2" lt 1:3.6.1p2-2; then
320 fix_conffile_permissions
321fi
322setup_startup
323setup_init
324
325
326db_stop
327
328exit 0
329
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 000000000..73eeeb463
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,30 @@
1#!/bin/sh -e
2
3#DEBHELPER#
4
5if [ "$1" = "purge" ]
6then
7 # Remove all non-conffiles that ssh might create, so that we can
8 # smoothly remove /etc/ssh if and only if the user hasn't dropped some
9 # other files in there. Conffiles have already been removed at this
10 # point.
11 rm -f /etc/ssh/moduli /etc/ssh/primes
12 rm -f /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub
13 rm -f /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub
14 rm -f /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub
15 rm -f /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2
16 rm -f /etc/ssh/sshd_config
17 rm -f /etc/ssh/sshd_not_to_be_run
18 rmdir --ignore-fail-on-non-empty /etc/ssh
19fi
20
21if [ "$1" = "purge" ] ; then
22 update-rc.d ssh remove >/dev/null
23fi
24
25if [ "$1" = "purge" ] ; then
26 deluser --quiet sshd > /dev/null || true
27 delgroup --quiet ssh > /dev/null || true
28fi
29
30exit 0
diff --git a/debian/preinst b/debian/preinst
new file mode 100644
index 000000000..320d4df2a
--- /dev/null
+++ b/debian/preinst
@@ -0,0 +1,79 @@
1#!/bin/sh -e
2
3action=$1
4version=$2
5
6if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then
7 version=1.2.27
8fi
9
10if [ "$action" = upgrade -o "$action" = install ]
11then
12 # check if debconf is missing
13 if ! test -f /usr/share/debconf/confmodule
14 then
15 cat <<EOF
16
17WARNING: ssh's pre-configuration script relies on debconf to tell you
18about some problems that might prevent you from logging in if you are
19upgrading from the old, Non-free version of ssh.
20
21If this is a new installation, you don't need to worry about this.
22Just go ahead and install ssh (make sure to read .../ssh/README.Debian).
23
24If you are upgrading, but you have alternative ways of logging into
25the machine (i.e. you're sitting in front of it, or you have telnetd
26running), then you also don't need to worry too much, because you can
27fix it up afterwards if there's a problem.
28
29If you're upgrading from an older (non-free) version of ssh, and ssh
30is the only way you have to access this machine, then you should
31probably abort the installation of ssh, install debconf, and then
32retry the installation of ssh.
33
34EOF
35 echo -n "Do you want to install SSH anyway [yN]: "
36 read input
37 expr "$input" : '[Yy]' >/dev/null || exit 1
38
39 # work around for missing debconf
40 db_get() { : ; }
41 RET=true
42 if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then
43 cp -a /etc/ssh-nonfree /etc/ssh
44 fi
45 else
46 # Source debconf library.
47 . /usr/share/debconf/confmodule
48 db_version 2.0
49 fi
50
51 db_get ssh/use_old_init_script
52 if [ "$RET" = "false" ]; then
53 echo "ssh config: Aborting because ssh/use_old_init_script = false" >&2
54 exit 1
55 fi
56
57 # deal with upgrading from pre-OpenSSH versions
58 key=/etc/ssh/ssh_host_key
59 export key
60 if [ -n "$version" ] && [ -x /usr/bin/ssh-keygen ] && [ -f $key ] &&
61 dpkg --compare-versions "$version" lt 1.2.28
62 then
63 # make sure that keys get updated to get rid of IDEA
64 #
65 # N.B. this only works because we've still got the old
66 # nonfree ssh-keygen at this point
67 #
68 # First, check if we need to bother
69 echo -en '\0\0' | 3<&0 sh -c \
70 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || {
71 # this means that bytes 32&33 of the key were not both zero, in which
72 # case the key is encrypted, which we need to fix
73 chmod 600 $key
74 ssh-keygen -u -f $key >/dev/null
75 }
76 fi
77fi
78
79#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 000000000..8ed7e07ec
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,44 @@
1#! /bin/sh
2# prerm script for ssh
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <prerm> `remove'
10# * <old-prerm> `upgrade' <new-version>
11# * <new-prerm> `failed-upgrade' <old-version>
12# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13# * <deconfigured's-prerm> `deconfigure' `in-favour'
14# <package-being-installed> <version> `removing'
15# <conflicting-package> <version>
16# for details, see /usr/share/doc/packaging-manual/
17
18case "$1" in
19 remove|deconfigure)
20 update-alternatives --quiet --remove rsh /usr/bin/ssh
21 update-alternatives --quiet --remove rlogin /usr/bin/slogin
22 update-alternatives --quiet --remove rcp /usr/bin/scp
23 if [ -e /etc/init.d/ssh ]; then
24 /etc/init.d/ssh stop
25 fi
26# install-info --quiet --remove /usr/info/ssh-askpass.info.gz
27 ;;
28 upgrade)
29# install-info --quiet --remove /usr/info/ssh-askpass.info.gz
30 ;;
31 failed-upgrade)
32 ;;
33 *)
34 echo "prerm called with unknown argument \`$1'" >&2
35 exit 0
36 ;;
37esac
38
39# dh_installdeb will replace this with shell code automatically
40# generated by other debhelper scripts.
41
42#DEBHELPER#
43
44exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 000000000..ec594ecb0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,130 @@
1#!/usr/bin/make -f
2
3# Uncomment this to turn on verbose mode.
4# export DH_VERBOSE=1
5
6# This is the debhelper compatability version to use.
7export DH_COMPAT=1
8
9# This has to be exported to make some magic below work.
10export DH_OPTIONS
11
12ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
13OPTFLAGS := -O2
14else
15OPTFLAGS := -O0
16endif
17
18#PKG_VER = $(shell perl -e 'print <> =~ /\((.*)\)/' debian/changelog)
19
20ifeq (,$(wildcard /usr/bin/po2debconf))
21PO2DEBCONF := no
22MINDEBCONFVER := 0.5
23else
24PO2DEBCONF := yes
25MINDEBCONFVER := 1.2.0
26endif
27
28# Change the version string to include the Debian version
29SSH_VERSION := $(shell sed -e '/define/!d; s/.*\"\(.*\)\".*/\1/; q' <version.h) Debian $(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p')
30
31build: build-stamp
32build-stamp:
33 dh_testdir
34 ./configure --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/lib --mandir=/usr/share/man --with-tcp-wrappers --with-xauth=/usr/bin/X11/xauth --with-default-path=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin --with-superuser-path=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin --with-pam --with-4in6 \
35 --with-privsep-path=/var/run/sshd --without-rand-helper
36 $(MAKE) -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass' CFLAGS='$(OPTFLAGS) -g -Wall -fno-builtin-log -DLOGIN_PROGRAM=\"/bin/login\" -DLOGIN_NO_ENDOPT -DSSHD_PAM_SERVICE=\"ssh\" -D__FILE_OFFSET_BITS=64 -DHAVE_MMAP_ANON_SHARED -DSSH_VERSION="\"$(SSH_VERSION)\""' \
37 SSH_KEYSIGN='/usr/lib/ssh-keysign'
38 # Support building on Debian 3.0 (with GNOME 1.4) and later.
39 if [ -f /usr/include/libgnomeui-2.0/gnome.h ]; then \
40 $(MAKE) -C contrib gnome-ssh-askpass2 CC='gcc $(OPTFLAGS) -g -Wall'; \
41 elif [ -f /usr/include/gnome-1.0/gnome.h ]; then \
42 $(MAKE) -C contrib gnome-ssh-askpass1 CC='gcc $(OPTFLAGS) -g -Wall'; \
43 fi
44
45 touch build-stamp
46
47clean:
48 dh_testdir
49 rm -f build-stamp
50 -$(MAKE) -i distclean
51 -$(MAKE) -C contrib clean
52 rm -f config.log
53ifeq ($(PO2DEBCONF),yes)
54 # Hack for woody compatibility. This makes sure that the
55 # debian/templates file shipped in the source package doesn't
56 # specify encodings, which woody's debconf can't handle. If building
57 # on a system with po-debconf installed (conveniently debhelper (>=
58 # 4.1.16) depends on it), the binary-arch target will generate a
59 # better version for sarge.
60 echo 1 > debian/po/output
61 po2debconf debian/templates.master > debian/templates
62 rm -f debian/po/output
63endif
64 dh_clean
65
66install: DH_OPTIONS=
67install: build
68 dh_testdir
69 dh_testroot
70 dh_clean -k
71 dh_installdirs
72
73 # Add here commands to install the package into debian/tmp.
74 $(MAKE) DESTDIR=`pwd`/debian/tmp install-nokeys
75
76 rm -f debian/tmp/etc/ssh/sshd_config
77 #Temporary hack: remove /usr/share/Ssh.bin, since we have no smartcard support anyway.
78 rm -f debian/tmp/usr/share/Ssh.bin
79
80 install -m 755 contrib/ssh-copy-id debian/tmp/usr/bin/ssh-copy-id
81 install -m 644 -c contrib/ssh-copy-id.1 debian/tmp/usr/share/man/man1/ssh-copy-id.1
82 install -m 644 debian/moduli.5 debian/tmp/usr/share/man/man5/moduli.5
83
84 if [ -f contrib/gnome-ssh-askpass2 ]; then \
85 install -s -o root -g root -m 755 contrib/gnome-ssh-askpass2 debian/ssh-askpass-gnome/usr/lib/ssh/gnome-ssh-askpass; \
86 elif [ -f contrib/gnome-ssh-askpass1 ]; then \
87 install -s -o root -g root -m 755 contrib/gnome-ssh-askpass1 debian/ssh-askpass-gnome/usr/lib/ssh/gnome-ssh-askpass; \
88 fi
89 install -m 644 debian/gnome-ssh-askpass.1 debian/ssh-askpass-gnome/usr/share/man/man1/gnome-ssh-askpass.1
90
91 install -m 755 debian/ssh-argv0 debian/tmp/usr/bin/ssh-argv0
92 install -m 644 debian/ssh-argv0.1 debian/tmp/usr/share/man/man1/ssh-argv0.1
93
94 install -o root -g root debian/init debian/tmp/etc/init.d/ssh
95 install -o root -g root -m 644 debian/ssh.default debian/tmp/etc/default/ssh
96
97 install -o root -g root -m 755 -d debian/tmp/var/run/sshd
98
99# Build architecture-independent files here.
100binary-indep: build install
101 # nothing to do
102
103# Build architecture-dependent files here.
104binary-arch: build install
105 dh_testdir
106 dh_testroot
107ifeq ($(PO2DEBCONF),yes)
108 po2debconf -e utf8 debian/templates.master > debian/templates
109endif
110 dh_installdebconf
111 dh_installdocs OVERVIEW README
112 cat debian/copyright.head LICENCE > debian/tmp/usr/share/doc/ssh/copyright
113 nroff RFC.nroff > debian/tmp/usr/share/doc/ssh/RFC
114 gzip -9 debian/tmp/usr/share/doc/ssh/RFC
115 rm -rf debian/tmp/usr/share/doc/ssh/RFC.nroff.gz
116 dh_installpam
117 dh_installchangelogs ChangeLog
118 dh_strip
119 dh_compress
120 dh_fixperms
121 dh_installdeb
122 test ! -e debian/tmp/etc/ssh/ssh_prng_cmds \
123 || echo "/etc/ssh/ssh_prng_cmds" >> debian/tmp/DEBIAN/conffiles
124 dh_shlibdeps
125 dh_gencontrol -- -V'debconf-depends=debconf (>= $(MINDEBCONFVER))'
126 dh_md5sums
127 dh_builddeb
128
129binary: binary-indep binary-arch
130.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/ssh-argv0 b/debian/ssh-argv0
new file mode 100644
index 000000000..67599aec2
--- /dev/null
+++ b/debian/ssh-argv0
@@ -0,0 +1,30 @@
1#! /bin/sh -e
2
3# Copyright (c) 2001 Jonathan Amery.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8# 1. Redistributions of source code must retain the above copyright
9# notice, this list of conditions and the following disclaimer.
10# 2. Redistributions in binary form must reproduce the above copyright
11# notice, this list of conditions and the following disclaimer in the
12# documentation and/or other materials provided with the distribution.
13#
14# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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.
24
25if [ "${0##*/}" = "ssh-argv0" ]
26then
27 echo 'ssh-argv0: This script should not be run like this, see ssh-argv0(1) for details' 1>&2
28 exit 1
29fi
30exec ssh "${0##*/}" "$@"
diff --git a/debian/ssh-argv0.1 b/debian/ssh-argv0.1
new file mode 100644
index 000000000..a36a63d40
--- /dev/null
+++ b/debian/ssh-argv0.1
@@ -0,0 +1,64 @@
1.Dd September 7, 2001
2.Dt SSH-ARGV0 1
3.Os Debian Project
4.Sh NAME
5.Nm ssh-argv0
6.Nd replaces the old ssh command-name as hostname handling
7.Sh SYNOPSIS
8.Ar hostname | user@hostname
9.Op Fl l Ar login_name
10.Op Ar command
11.Pp
12.Ar hostname | user@hostname
13.Op Fl afgknqstvxACNTX1246
14.Op Fl b Ar bind_address
15.Op Fl c Ar cipher_spec
16.Op Fl e Ar escape_char
17.Op Fl i Ar identity_file
18.Op Fl l Ar login_name
19.Op Fl m Ar mac_spec
20.Op Fl o Ar option
21.Op Fl p Ar port
22.Op Fl F Ar configfile
23.Oo Fl L Xo
24.Sm off
25.Ar port :
26.Ar host :
27.Ar hostport
28.Sm on
29.Xc
30.Oc
31.Oo Fl R Xo
32.Sm off
33.Ar port :
34.Ar host :
35.Ar hostport
36.Sm on
37.Xc
38.Oc
39.Op Fl D Ar port
40.Op Ar command
41.Sh DESCRIPTION
42.Nm
43replaces the old ssh command-name as hostname handling.
44If you link to this script with a hostname then executing the link is
45equivalent to having executed ssh with that hostname as an argument.
46All other arguments are passed to ssh and will be processed normally.
47.Sh OPTIONS
48See
49.Xr ssh 1 .
50.Sh FILES
51See
52.Xr ssh 1 .
53.Sh AUTHORS
54OpenSSH is a derivative of the original and free
55ssh 1.2.12 release by Tatu Ylonen.
56Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
57Theo de Raadt and Dug Song
58removed many bugs, re-added newer features and
59created OpenSSH.
60Markus Friedl contributed the support for SSH
61protocol versions 1.5 and 2.0.
62Jonathan Amery wrote this ssh-argv0 script and the associated documentation.
63.Sh SEE ALSO
64.Xr ssh 1
diff --git a/debian/ssh-askpass-gnome.copyright b/debian/ssh-askpass-gnome.copyright
new file mode 100644
index 000000000..4a71dda00
--- /dev/null
+++ b/debian/ssh-askpass-gnome.copyright
@@ -0,0 +1,44 @@
1This package contains a Gnome based implementation of ssh-askpass
2written by Damien Miller.
3
4It is split out from the main package to isolate the dependency on the
5Gnome and X11 libraries.
6
7It was packaged for Debian by Philip Hands <phil@hands.com>.
8
9Copyright:
10
11/*
12**
13** GNOME ssh passphrase requestor
14**
15** Damien Miller <djm@ibs.com.au>
16**
17** Copyright 1999 Internet Business Solutions
18**
19** Permission is hereby granted, free of charge, to any person
20** obtaining a copy of this software and associated documentation
21** files (the "Software"), to deal in the Software without
22** restriction, including without limitation the rights to use, copy,
23** modify, merge, publish, distribute, sublicense, and/or sell copies
24** of the Software, and to permit persons to whom the Software is
25** furnished to do so, subject to the following conditions:
26**
27** The above copyright notice and this permission notice shall be
28** included in all copies or substantial portions of the Software.
29**
30** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
31** KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
32** WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
33** AND NONINFRINGEMENT. IN NO EVENT SHALL DAMIEN MILLER OR INTERNET
34** BUSINESS SOLUTIONS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
36** ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
37** OR OTHER DEALINGS IN THE SOFTWARE.
38**
39** Except as contained in this notice, the name of Internet Business
40** Solutions shall not be used in advertising or otherwise to promote
41** the sale, use or other dealings in this Software without prior
42** written authorization from Internet Business Solutions.
43**
44*/
diff --git a/debian/ssh-askpass-gnome.dirs b/debian/ssh-askpass-gnome.dirs
new file mode 100644
index 000000000..4d0ee7a32
--- /dev/null
+++ b/debian/ssh-askpass-gnome.dirs
@@ -0,0 +1,2 @@
1usr/lib/ssh
2usr/share/man/man1
diff --git a/debian/ssh-askpass-gnome.postinst b/debian/ssh-askpass-gnome.postinst
new file mode 100644
index 000000000..7441cca29
--- /dev/null
+++ b/debian/ssh-askpass-gnome.postinst
@@ -0,0 +1,53 @@
1#! /bin/sh
2# postinst script for ssh-askpass-gnome
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
14# <failed-install-package> <version> `removing'
15# <conflicting-package> <version>
16# for details, see /usr/share/doc/packaging-manual/
17#
18# quoting from the policy:
19# Any necessary prompting should almost always be confined to the
20# post-installation script, and should be protected with a conditional
21# so that unnecessary prompting doesn't happen if a package's
22# installation fails and the `postinst' is called with `abort-upgrade',
23# `abort-remove' or `abort-deconfigure'.
24
25case "$1" in
26 configure)
27 update-alternatives --quiet \
28 --install /usr/bin/ssh-askpass ssh-askpass \
29 /usr/lib/ssh/gnome-ssh-askpass 30 \
30 --slave /usr/share/man/man1/ssh-askpass.1.gz \
31 ssh-askpass.1.gz /usr/share/man/man1/gnome-ssh-askpass.1.gz
32
33
34 ;;
35
36 abort-upgrade|abort-remove|abort-deconfigure)
37
38 ;;
39
40 *)
41 echo "postinst called with unknown argument \`$1'" >&2
42 exit 0
43 ;;
44esac
45
46# dh_installdeb will replace this with shell code automatically
47# generated by other debhelper scripts.
48
49#DEBHELPER#
50
51exit 0
52
53
diff --git a/debian/ssh-askpass-gnome.prerm b/debian/ssh-askpass-gnome.prerm
new file mode 100644
index 000000000..6f3f5756d
--- /dev/null
+++ b/debian/ssh-askpass-gnome.prerm
@@ -0,0 +1,41 @@
1#! /bin/sh
2# prerm script for ssh-askpass-gnome
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <prerm> `remove'
10# * <old-prerm> `upgrade' <new-version>
11# * <new-prerm> `failed-upgrade' <old-version>
12# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13# * <deconfigured's-prerm> `deconfigure' `in-favour'
14# <package-being-installed> <version> `removing'
15# <conflicting-package> <version>
16# for details, see /usr/share/doc/packaging-manual/
17
18case "$1" in
19 remove|deconfigure)
20 update-alternatives --quiet --remove ssh-askpass /usr/lib/ssh/gnome-ssh-askpass
21# install-info --quiet --remove /usr/info/ssh-askpass.info.gz
22 ;;
23 upgrade)
24# install-info --quiet --remove /usr/info/ssh-askpass.info.gz
25 ;;
26 failed-upgrade)
27 ;;
28 *)
29 echo "prerm called with unknown argument \`$1'" >&2
30 exit 0
31 ;;
32esac
33
34# dh_installdeb will replace this with shell code automatically
35# generated by other debhelper scripts.
36
37#DEBHELPER#
38
39exit 0
40
41
diff --git a/debian/ssh.default b/debian/ssh.default
new file mode 100644
index 000000000..aa03c4e07
--- /dev/null
+++ b/debian/ssh.default
@@ -0,0 +1,5 @@
1# Default settings for ssh. This file is sourced by /bin/sh from
2# /etc/init.d/ssh.
3
4# Options to pass to sshd
5SSHD_OPTS=
diff --git a/debian/ssh.pam b/debian/ssh.pam
new file mode 100644
index 000000000..f6fbd3ebc
--- /dev/null
+++ b/debian/ssh.pam
@@ -0,0 +1,21 @@
1#%PAM-1.0
2auth required pam_nologin.so
3auth required pam_unix.so
4auth required pam_env.so # [1]
5
6account required pam_unix.so
7
8session required pam_unix.so
9session optional pam_motd.so # [1]
10session optional pam_mail.so standard noenv # [1]
11session required pam_limits.so
12
13password required pam_unix.so
14
15# Alternate strength checking for password. Note that this
16# requires the libpam-cracklib package to be installed.
17# You will need to comment out the password line above and
18# uncomment the next two in order to use this.
19#
20# password required pam_cracklib.so retry=3 minlen=6 difok=3
21# password required pam_unix.so use_authtok nullok md5
diff --git a/debian/templates.master b/debian/templates.master
new file mode 100644
index 000000000..4d60e95da
--- /dev/null
+++ b/debian/templates.master
@@ -0,0 +1,157 @@
1Template: ssh/privsep_tell
2Type: note
3_Description: Privilege separation
4 This version of OpenSSH contains the new privilege separation option. This
5 significantly reduces the quantity of code that runs as root, and
6 therefore reduces the impact of security holes in sshd.
7 .
8 Unfortunately, privilege separation interacts badly with PAM. Any PAM
9 session modules that need to run as root (pam_mkhomedir, for example) will
10 fail, and PAM keyboard-interactive authentication won't work.
11 .
12 Privilege separation is turned on by default, so if you decide you want it
13 turned off, you need to add "UsePrivilegeSeparation no" to
14 /etc/ssh/sshd_config.
15
16Template: ssh/privsep_ask
17Type: boolean
18Default: true
19_Description: Enable Privilege separation
20 This version of OpenSSH contains the new privilege separation option. This
21 significantly reduces the quantity of code that runs as root, and
22 therefore reduces the impact of security holes in sshd.
23 .
24 Unfortunately, privilege separation interacts badly with PAM. Any PAM
25 session modules that need to run as root (pam_mkhomedir, for example) will
26 fail, and PAM keyboard-interactive authentication won't work.
27 .
28 Since you've opted to have me generate an sshd_config file for you, you
29 can choose whether or not to have privilege separation turned on or not.
30 Unless you know you need to use PAM features that won't work with this
31 option, you should enable it.
32
33Template: ssh/new_config
34Type: boolean
35Default: true
36_Description: Generate new configuration file
37 This version of OpenSSH has a considerably changed configuration file from
38 the version shipped in Debian 'Potato', which you appear to be upgrading
39 from. I can now generate you a new configuration file
40 (/etc/ssh/sshd.config), which will work with the new server version, but
41 will not contain any customisations you made with the old version.
42 .
43 Please note that this new configuration file will set the value of
44 'PermitRootLogin' to yes (meaning that anyone knowing the root password
45 can ssh directly in as root). It is the opinion of the maintainer that
46 this is the correct default (see README.Debian for more details), but you
47 can always edit sshd_config and set it to no if you wish.
48 .
49 It is strongly recommended that you let me generate a new configuration
50 file for you.
51
52Template: ssh/protocol2_only
53Type: boolean
54Default: true
55_Description: Allow SSH protocol 2 only
56 This version of OpenSSH supports version 2 of the ssh protocol, which is
57 much more secure. Disabling ssh 1 is encouraged, however this will slow
58 things down on low end machines and might prevent older clients from
59 connecting (the ssh client shipped with "potato" is affected).
60 .
61 Also please note that keys used for protocol 1 are different so you will
62 not be able to use them if you only allow protocol 2 connections.
63 .
64 If you later change your mind about this setting, README.Debian has
65 instructions on what to do to your sshd_config file.
66
67Template: ssh/ssh2_keys_merged
68Type: note
69_Description: ssh2 keys merged in configuration files
70 As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2
71 keys. This means the authorized_keys2 and known_hosts2 files are no longer
72 needed. They will still be read in order to maintain backwards
73 compatibility
74
75Template: ssh/use_old_init_script
76Type: boolean
77Default: false
78_Description: Do you want to continue (and risk killing active ssh sessions)?
79 The version of /etc/init.d/ssh that you have installed, is likely to kill
80 all running sshd instances. If you are doing this upgrade via an ssh
81 session, that would be a Bad Thing(tm).
82 .
83 You can fix this by adding "--pidfile /var/run/sshd.pid" to the
84 start-stop-daemon line in the stop section of the file.
85
86Template: ssh/forward_warning
87Type: note
88_Description: NOTE: Forwarding of X11 and Authorization disabled by default.
89 For security reasons, the Debian version of ssh has ForwardX11 and
90 ForwardAgent set to ``off'' by default.
91 .
92 You can enable it for servers you trust, either in one of the
93 configuration files, or with the -X command line option.
94 .
95 More details can be found in /usr/share/doc/ssh/README.Debian
96
97Template: ssh/insecure_rshd
98Type: note
99_Description: Warning: rsh-server is installed --- probably not a good idea
100 having rsh-server installed undermines the security that you were probably
101 wanting to obtain by installing ssh. I'd advise you to remove that
102 package.
103
104Template: ssh/insecure_telnetd
105Type: note
106_Description: Warning: telnetd is installed --- probably not a good idea
107 I'd advise you to either remove the telnetd package (if you don't actually
108 need to offer telnet access) or install telnetd-ssl so that there is at
109 least some chance that telnet sessions will not be sending unencrypted
110 login/password and session information over the network.
111
112Template: ssh/encrypted_host_key_but_no_keygen
113Type: note
114_Description: Warning: you must create a new host key
115 There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH
116 can not handle this host key file, and I can't find the ssh-keygen utility
117 from the old (non-free) SSH installation.
118 .
119 You will need to generate a new host key.
120
121Template: ssh/SUID_client
122Type: boolean
123Default: true
124_Description: Do you want /usr/lib/ssh-keysign to be installed SUID root?
125 You have the option of installing the ssh-keysign helper with the SUID bit
126 set.
127 .
128 If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2
129 host-based authentication.
130 .
131 If in doubt, I suggest you install it with SUID. If it causes problems
132 you can change your mind later by running: dpkg-reconfigure ssh
133
134Template: ssh/run_sshd
135Type: boolean
136Default: true
137_Description: Do you want to run the sshd server?
138 This package contains both the ssh client, and the sshd server.
139 .
140 Normally the sshd Secure Shell Server will be run to allow remote logins
141 via ssh.
142 .
143 If you are only interested in using the ssh client for outbound
144 connections on this machine, and don't want to log into it at all using
145 ssh, then you can disable sshd here.
146
147Template: ssh/user_environment_tell
148Type: note
149_Description: Environment options on keys have been deprecated
150 This version of OpenSSH disables the environment option for public keys by
151 default, in order to avoid certain attacks (for example, LD_PRELOAD). If
152 you are using this option in an authorized_keys file, beware that the keys
153 in question will no longer work until the option is removed.
154 .
155 To re-enable this option, set "PermitUserEnvironment yes" in
156 /etc/ssh/sshd_config after the upgrade is complete, taking note of the
157 warning in the sshd_config(5) manual page.
diff --git a/entropy.c b/entropy.c
index 216879786..d7c7fdf6e 100644
--- a/entropy.c
+++ b/entropy.c
@@ -136,6 +136,8 @@ seed_rng(void)
136void 136void
137init_rng(void) 137init_rng(void)
138{ 138{
139#if defined (DISABLED_BY_DEBIAN)
140 /* drow: Is this check still too strict for Debian? */
139 /* 141 /*
140 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status 142 * OpenSSL version numbers: MNNFFPPS: major minor fix patch status
141 * We match major, minor, fix and status (not patch) 143 * We match major, minor, fix and status (not patch)
@@ -143,6 +145,7 @@ init_rng(void)
143 if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) 145 if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L)
144 fatal("OpenSSL version mismatch. Built against %lx, you " 146 fatal("OpenSSL version mismatch. Built against %lx, you "
145 "have %lx", OPENSSL_VERSION_NUMBER, SSLeay()); 147 "have %lx", OPENSSL_VERSION_NUMBER, SSLeay());
148#endif
146 149
147#ifndef OPENSSL_PRNG_ONLY 150#ifndef OPENSSL_PRNG_ONLY
148 if ((original_uid = getuid()) == -1) 151 if ((original_uid = getuid()) == -1)
diff --git a/log.c b/log.c
index 9bce2555b..45affca13 100644
--- a/log.c
+++ b/log.c
@@ -79,8 +79,9 @@ static struct {
79 LogLevel val; 79 LogLevel val;
80} log_levels[] = 80} log_levels[] =
81{ 81{
82 { "QUIET", SYSLOG_LEVEL_QUIET }, 82 { "SILENT", SYSLOG_LEVEL_SILENT },
83 { "FATAL", SYSLOG_LEVEL_FATAL }, 83 { "FATAL", SYSLOG_LEVEL_FATAL },
84 { "QUIET", SYSLOG_LEVEL_QUIET },
84 { "ERROR", SYSLOG_LEVEL_ERROR }, 85 { "ERROR", SYSLOG_LEVEL_ERROR },
85 { "INFO", SYSLOG_LEVEL_INFO }, 86 { "INFO", SYSLOG_LEVEL_INFO },
86 { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, 87 { "VERBOSE", SYSLOG_LEVEL_VERBOSE },
@@ -270,8 +271,9 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
270 argv0 = av0; 271 argv0 = av0;
271 272
272 switch (level) { 273 switch (level) {
273 case SYSLOG_LEVEL_QUIET: 274 case SYSLOG_LEVEL_SILENT:
274 case SYSLOG_LEVEL_FATAL: 275 case SYSLOG_LEVEL_FATAL:
276 case SYSLOG_LEVEL_QUIET:
275 case SYSLOG_LEVEL_ERROR: 277 case SYSLOG_LEVEL_ERROR:
276 case SYSLOG_LEVEL_INFO: 278 case SYSLOG_LEVEL_INFO:
277 case SYSLOG_LEVEL_VERBOSE: 279 case SYSLOG_LEVEL_VERBOSE:
diff --git a/log.h b/log.h
index c3666818f..5c0402b52 100644
--- a/log.h
+++ b/log.h
@@ -37,8 +37,9 @@ typedef enum {
37} SyslogFacility; 37} SyslogFacility;
38 38
39typedef enum { 39typedef enum {
40 SYSLOG_LEVEL_QUIET, 40 SYSLOG_LEVEL_SILENT,
41 SYSLOG_LEVEL_FATAL, 41 SYSLOG_LEVEL_FATAL,
42 SYSLOG_LEVEL_QUIET,
42 SYSLOG_LEVEL_ERROR, 43 SYSLOG_LEVEL_ERROR,
43 SYSLOG_LEVEL_INFO, 44 SYSLOG_LEVEL_INFO,
44 SYSLOG_LEVEL_VERBOSE, 45 SYSLOG_LEVEL_VERBOSE,
diff --git a/mdoc2man.pl b/mdoc2man.pl
deleted file mode 100644
index 928fc5d7a..000000000
--- a/mdoc2man.pl
+++ /dev/null
@@ -1,592 +0,0 @@
1#!/usr/bin/perl
2###
3### Quick usage: mdoc2man.pl < mdoc_manpage.8 > man_manpage.8
4###
5###
6### Copyright (c) 2001 University of Illinois Board of Trustees
7### Copyright (c) 2001 Mark D. Roth
8### All rights reserved.
9###
10### Redistribution and use in source and binary forms, with or without
11### modification, are permitted provided that the following conditions
12### are met:
13### 1. Redistributions of source code must retain the above copyright
14### notice, this list of conditions and the following disclaimer.
15### 2. Redistributions in binary form must reproduce the above copyright
16### notice, this list of conditions and the following disclaimer in the
17### documentation and/or other materials provided with the distribution.
18### 3. All advertising materials mentioning features or use of this software
19### must display the following acknowledgement:
20### This product includes software developed by the University of
21### Illinois at Urbana, and their contributors.
22### 4. The University nor the names of their
23### contributors may be used to endorse or promote products derived from
24### this software without specific prior written permission.
25###
26### THIS SOFTWARE IS PROVIDED BY THE TRUSTEES AND CONTRIBUTORS ``AS IS'' AND
27### ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28### IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29### ARE DISCLAIMED. IN NO EVENT SHALL THE TRUSTEES OR CONTRIBUTORS BE LIABLE
30### FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31### DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32### OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33### HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34### LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35### OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36### SUCH DAMAGE.
37###
38
39use strict;
40
41my ($name, $date, $id);
42my ($line);
43my ($optlist, $oldoptlist, $nospace, $enum, $synopsis);
44my ($reference, $block, $ext, $extopt, $literal);
45my (@refauthors, $reftitle, $refissue, $refdate, $refopt);
46
47
48$optlist = 0; ### 1 = bullet, 2 = enum, 3 = tag, 4 = item
49$oldoptlist = 0;
50$nospace = 0;
51$synopsis = 0;
52$reference = 0;
53$block = 0;
54$ext = 0;
55$extopt = 0;
56$literal = 0;
57
58while ($line = <STDIN>)
59{
60 if ($line !~ /^\./)
61 {
62 print $line;
63 print ".br\n"
64 if ($literal);
65 next;
66 }
67
68 $line =~ s/^\.//;
69
70 next
71 if ($line =~ m/\\"/);
72
73 $line = ParseMacro($line);
74 print($line)
75 if (defined $line);
76}
77
78
79
80sub ParseMacro # ($line)
81{
82 my ($line) = @_;
83 my (@words, $retval, $option, $parens);
84
85 @words = split(/\s+/, $line);
86 $retval = '';
87 $option = 0;
88 $parens = 0;
89
90# print('@words = ', scalar(@words), ': ', join(' ', @words), "\n");
91
92 while ($_ = shift @words)
93 {
94# print "WORD: $_\n";
95
96 next
97 if (/^(Li|Pf)$/);
98
99 if (/^Xo$/)
100 {
101 $ext = 1;
102 $retval .= ' '
103 if ($retval ne '' && $retval !~ m/[\n ]$/);
104 next;
105 }
106
107 if (/^Xc$/)
108 {
109 $ext = 0;
110 $retval .= "\n"
111 if (! $extopt);
112 last;
113 }
114
115 if (/^Bd$/)
116 {
117 $literal = 1
118 if ($words[0] eq '-literal');
119 $retval .= "\n";
120 last;
121 }
122
123 if (/^Ed$/)
124 {
125 $literal = 0;
126 last;
127 }
128
129 if (/^Ns$/)
130 {
131 $nospace = 1
132 if (! $nospace);
133 $retval =~ s/ $//;
134 next;
135 }
136
137 if (/^No$/)
138 {
139 $retval =~ s/ $//;
140 $retval .= shift @words;
141 next;
142 }
143
144 if (/^Dq$/)
145 {
146 $retval .= '``';
147 do
148 {
149 $retval .= (shift @words) . ' ';
150 }
151 while (@words > 0 && $words[0] !~ m/^[\.,]/);
152 $retval =~ s/ $//;
153 $retval .= '\'\'';
154 $nospace = 1
155 if (! $nospace && $words[0] =~ m/^[\.,]/);
156 next;
157 }
158
159 if (/^(Sq|Ql)$/)
160 {
161 $retval .= '`' . (shift @words) . '\'';
162 $nospace = 1
163 if (! $nospace && $words[0] =~ m/^[\.,]/);
164 next;
165 }
166
167# if (/^Ic$/)
168# {
169# $retval .= '\\fB' . shift(@words) . '\\fP';
170# next;
171# }
172
173 if (/^Oo$/)
174 {
175# $retval .= "[\\c\n";
176 $extopt = 1;
177 $nospace = 1
178 if (! $nospace);
179 $retval .= '[';
180 next;
181 }
182
183 if (/^Oc$/)
184 {
185 $extopt = 0;
186 $retval .= ']';
187 next;
188 }
189
190 $retval .= ' '
191 if (! $nospace && $retval ne '' && $retval !~ m/[\n ]$/);
192 $nospace = 0
193 if ($nospace == 1);
194
195 if (/^Dd$/)
196 {
197 $date = join(' ', @words);
198 return undef;
199 }
200
201 if (/^Dt$/)
202 {
203 $id = join(' ', @words);
204 return undef;
205 }
206
207 if (/^Os$/)
208 {
209 $retval .= '.TH '
210 . $id
211 . " \"$date\" \""
212 . join(' ', @words)
213 . "\"";
214 last;
215 }
216
217 if (/^Sh$/)
218 {
219 $retval .= '.SH';
220 if ($words[0] eq 'SYNOPSIS')
221 {
222 $synopsis = 1;
223 }
224 else
225 {
226 $synopsis = 0;
227 }
228 next;
229 }
230
231 if (/^Xr$/)
232 {
233 $retval .= '\\fB' . (shift @words) .
234 '\\fP(' . (shift @words) . ')'
235 . (shift @words);
236 last;
237 }
238
239 if (/^Rs/)
240 {
241 @refauthors = ();
242 $reftitle = '';
243 $refissue = '';
244 $refdate = '';
245 $refopt = '';
246 $reference = 1;
247 last;
248 }
249
250 if (/^Re/)
251 {
252 $retval .= "\n";
253
254 # authors
255 while (scalar(@refauthors) > 1)
256 {
257 $retval .= shift(@refauthors) . ', ';
258 }
259 $retval .= 'and '
260 if ($retval ne '');
261 $retval .= shift(@refauthors);
262
263 # title
264 $retval .= ', \\fI' . $reftitle . '\\fP';
265
266 # issue
267 $retval .= ', ' . $refissue
268 if ($refissue ne '');
269
270 # date
271 $retval .= ', ' . $refdate
272 if ($refdate ne '');
273
274 # optional info
275 $retval .= ', ' . $refopt
276 if ($refopt ne '');
277
278 $retval .= ".\n";
279
280 $reference = 0;
281 last;
282 }
283
284 if ($reference)
285 {
286 if (/^%A$/)
287 {
288 unshift(@refauthors, join(' ', @words));
289 last;
290 }
291
292 if (/^%T$/)
293 {
294 $reftitle = join(' ', @words);
295 $reftitle =~ s/^"//;
296 $reftitle =~ s/"$//;
297 last;
298 }
299
300 if (/^%N$/)
301 {
302 $refissue = join(' ', @words);
303 last;
304 }
305
306 if (/^%D$/)
307 {
308 $refdate = join(' ', @words);
309 last;
310 }
311
312 if (/^%O$/)
313 {
314 $refopt = join(' ', @words);
315 last;
316 }
317 }
318
319 if (/^Nm$/)
320 {
321 my $n = $name;
322 $n = shift @words
323 if (@words > 0);
324 $name = $n unless $name;
325 $retval .= ".br\n"
326 if ($synopsis);
327 $retval .= "\\fB$n\\fP";
328 $nospace = 1
329 if (! $nospace && $words[0] =~ m/^[\.,]/);
330 next;
331 }
332
333 if (/^Nd$/)
334 {
335 $retval .= '\\-';
336 next;
337 }
338
339 if (/^Fl$/)
340 {
341 $retval .= '\\fB\\-' . (shift @words) . '\\fP';
342 $nospace = 1
343 if (! $nospace && $words[0] =~ m/^[\.,]/);
344 next;
345 }
346
347 if (/^Ar$/)
348 {
349 $retval .= '\\fI';
350 if (! defined $words[0])
351 {
352 $retval .= 'file ...\\fP';
353 }
354 else
355 {
356 $retval .= shift(@words) . '\\fP';
357 while ($words[0] eq '|')
358 {
359 $retval .= ' ' . shift(@words);
360 $retval .= ' \\fI' . shift(@words);
361 $retval .= '\\fP';
362 }
363 }
364 $nospace = 1
365 if (! $nospace && $words[0] =~ m/^[\.,]/);
366 next;
367 }
368
369 if (/^Cm$/)
370 {
371 $retval .= '\\fB' . (shift @words) . '\\fP';
372 while ($words[0] =~ m/^[\.,:)]$/)
373 {
374 $retval .= shift(@words);
375 }
376 next;
377 }
378
379 if (/^Op$/)
380 {
381 $option = 1;
382 $nospace = 1
383 if (! $nospace);
384 $retval .= '[';
385# my $tmp = pop(@words);
386# $tmp .= ']';
387# push(@words, $tmp);
388 next;
389 }
390
391 if (/^Pp$/)
392 {
393 $retval .= "\n";
394 next;
395 }
396
397 if (/^Ss$/)
398 {
399 $retval .= '.SS';
400 next;
401 }
402
403 if (/^Pa$/ && ! $option)
404 {
405 $retval .= '\\fI';
406 $retval .= '\\&'
407 if ($words[0] =~ m/^\./);
408 $retval .= (shift @words) . '\\fP';
409 while ($words[0] =~ m/^[\.,:;)]$/)
410 {
411 $retval .= shift(@words);
412 }
413# $nospace = 1
414# if (! $nospace && $words[0] =~ m/^[\.,:)]/);
415 next;
416 }
417
418 if (/^Dv$/)
419 {
420 $retval .= '.BR';
421 next;
422 }
423
424 if (/^(Em|Ev)$/)
425 {
426 $retval .= '.IR';
427 next;
428 }
429
430 if (/^Pq$/)
431 {
432 $retval .= '(';
433 $nospace = 1;
434 $parens = 1;
435 next;
436 }
437
438 if (/^(S[xy])$/)
439 {
440 $retval .= '.B ' . join(' ', @words);
441 last;
442 }
443
444 if (/^Ic$/)
445 {
446 $retval .= '\\fB';
447 while (defined $words[0]
448 && $words[0] !~ m/^[\.,]/)
449 {
450 if ($words[0] eq 'Op')
451 {
452 shift(@words);
453 $retval .= '[';
454 my $tmp = pop(@words);
455 $tmp .= ']';
456 push(@words, $tmp);
457 next;
458 }
459 if ($words[0] eq 'Ar')
460 {
461 shift @words;
462 $retval .= '\\fI';
463 $retval .= shift @words;
464 $retval .= '\\fP';
465 }
466 else
467 {
468 $retval .= shift @words;
469 }
470 $retval .= ' '
471 if (! $nospace);
472 }
473 $retval =~ s/ $//;
474 $retval .= '\\fP';
475 $retval .= shift @words
476 if (defined $words[0]);
477 last;
478 }
479
480 if (/^Bl$/)
481 {
482 $oldoptlist = $optlist;
483 if ($words[0] eq '-bullet')
484 {
485 $optlist = 1;
486 }
487 elsif ($words[0] eq '-enum')
488 {
489 $optlist = 2;
490 $enum = 0;
491 }
492 elsif ($words[0] eq '-tag')
493 {
494 $optlist = 3;
495 }
496 elsif ($words[0] eq '-item')
497 {
498 $optlist = 4;
499 }
500 last;
501 }
502
503 if (/^El$/)
504 {
505 $optlist = $oldoptlist;
506 next;
507 }
508
509 if ($optlist && /^It$/)
510 {
511 if ($optlist == 1)
512 {
513 # bullets
514 $retval .= '.IP \\(bu';
515 next;
516 }
517
518 if ($optlist == 2)
519 {
520 # enum
521 $retval .= '.IP ' . (++$enum) . '.';
522 next;
523 }
524
525 if ($optlist == 3)
526 {
527 # tags
528 $retval .= ".TP\n";
529 if ($words[0] =~ m/^(Pa|Ev)$/)
530 {
531 shift @words;
532 $retval .= '.B';
533 }
534 next;
535 }
536
537 if ($optlist == 4)
538 {
539 # item
540 $retval .= ".IP\n";
541 next;
542 }
543
544 next;
545 }
546
547 if (/^Sm$/)
548 {
549 if ($words[0] eq 'off')
550 {
551 $nospace = 2;
552 }
553 elsif ($words[0] eq 'on')
554 {
555# $retval .= "\n";
556 $nospace = 0;
557 }
558 shift @words;
559 next;
560 }
561
562 $retval .= "$_";
563 }
564
565 return undef
566 if ($retval eq '.');
567
568 $retval =~ s/^\.([^a-zA-Z])/$1/;
569# $retval =~ s/ $//;
570
571 $retval .= ')'
572 if ($parens == 1);
573
574 $retval .= ']'
575 if ($option == 1);
576
577# $retval .= ' '
578# if ($nospace && $retval ne '' && $retval !~ m/\n$/);
579
580# $retval .= ' '
581# if ($extended && $retval !~ m/ $/);
582
583 $retval .= ' '
584 if ($ext && ! $extopt && $retval !~ m/ $/);
585
586 $retval .= "\n"
587 if (! $ext && ! $extopt && $retval ne '' && $retval !~ m/\n$/);
588
589 return $retval;
590}
591
592
diff --git a/misc.c b/misc.c
index ac616de02..c457a952c 100644
--- a/misc.c
+++ b/misc.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: misc.c,v 1.22 2003/09/18 08:49:45 markus Exp $"); 26RCSID("$OpenBSD: misc.c,v 1.21 2003/04/12 10:15:36 markus Exp $");
27 27
28#include "misc.h" 28#include "misc.h"
29#include "log.h" 29#include "log.h"
@@ -308,21 +308,18 @@ addargs(arglist *args, char *fmt, ...)
308{ 308{
309 va_list ap; 309 va_list ap;
310 char buf[1024]; 310 char buf[1024];
311 int nalloc;
312 311
313 va_start(ap, fmt); 312 va_start(ap, fmt);
314 vsnprintf(buf, sizeof(buf), fmt, ap); 313 vsnprintf(buf, sizeof(buf), fmt, ap);
315 va_end(ap); 314 va_end(ap);
316 315
317 nalloc = args->nalloc;
318 if (args->list == NULL) { 316 if (args->list == NULL) {
319 nalloc = 32; 317 args->nalloc = 32;
320 args->num = 0; 318 args->num = 0;
321 } else if (args->num+2 >= nalloc) 319 } else if (args->num+2 >= args->nalloc)
322 nalloc *= 2; 320 args->nalloc *= 2;
323 321
324 args->list = xrealloc(args->list, nalloc * sizeof(char *)); 322 args->list = xrealloc(args->list, args->nalloc * sizeof(char *));
325 args->nalloc = nalloc;
326 args->list[args->num++] = xstrdup(buf); 323 args->list[args->num++] = xstrdup(buf);
327 args->list[args->num] = NULL; 324 args->list[args->num] = NULL;
328} 325}
diff --git a/monitor_fdpass.c b/monitor_fdpass.c
index 22b7882bd..6508c9e47 100644
--- a/monitor_fdpass.c
+++ b/monitor_fdpass.c
@@ -27,10 +27,34 @@
27RCSID("$OpenBSD: monitor_fdpass.c,v 1.4 2002/06/26 14:50:04 deraadt Exp $"); 27RCSID("$OpenBSD: monitor_fdpass.c,v 1.4 2002/06/26 14:50:04 deraadt Exp $");
28 28
29#include <sys/uio.h> 29#include <sys/uio.h>
30#include <sys/utsname.h>
30 31
31#include "log.h" 32#include "log.h"
32#include "monitor_fdpass.h" 33#include "monitor_fdpass.h"
33 34
35static int
36cmsg_type_is_broken(void)
37{
38 static int broken_cmsg_type = -1;
39
40 if (broken_cmsg_type != -1)
41 return broken_cmsg_type;
42 else {
43 struct utsname uts;
44 /* If uname() fails, play safe and assume that cmsg_type
45 * isn't broken.
46 */
47 if (!uname(&uts) &&
48 strcmp(uts.sysname, "Linux") == 0 &&
49 strncmp(uts.release, "2.0.", 4) == 0)
50 broken_cmsg_type = 1;
51 else
52 broken_cmsg_type = 0;
53 }
54
55 return broken_cmsg_type;
56}
57
34void 58void
35mm_send_fd(int socket, int fd) 59mm_send_fd(int socket, int fd)
36{ 60{
@@ -113,11 +137,9 @@ mm_receive_fd(int socket)
113 fatal("%s: no fd", __func__); 137 fatal("%s: no fd", __func__);
114#else 138#else
115 cmsg = CMSG_FIRSTHDR(&msg); 139 cmsg = CMSG_FIRSTHDR(&msg);
116#ifndef BROKEN_CMSG_TYPE 140 if (!cmsg_type_is_broken() && cmsg->cmsg_type != SCM_RIGHTS)
117 if (cmsg->cmsg_type != SCM_RIGHTS)
118 fatal("%s: expected type %d got %d", __func__, 141 fatal("%s: expected type %d got %d", __func__,
119 SCM_RIGHTS, cmsg->cmsg_type); 142 SCM_RIGHTS, cmsg->cmsg_type);
120#endif
121 fd = (*(int *)CMSG_DATA(cmsg)); 143 fd = (*(int *)CMSG_DATA(cmsg));
122#endif 144#endif
123 return fd; 145 return fd;
diff --git a/openbsd-compat/basename.h b/openbsd-compat/basename.h
deleted file mode 100644
index a8bd6c17c..000000000
--- a/openbsd-compat/basename.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: basename.h,v 1.3 2003/02/25 03:32:16 djm Exp $ */
2
3#ifndef _BASENAME_H
4#define _BASENAME_H
5#include "config.h"
6
7#if !defined(HAVE_BASENAME)
8
9char *basename(const char *path);
10
11#endif /* !defined(HAVE_BASENAME) */
12#endif /* _BASENAME_H */
diff --git a/openbsd-compat/bindresvport.h b/openbsd-compat/bindresvport.h
deleted file mode 100644
index b42f46983..000000000
--- a/openbsd-compat/bindresvport.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: bindresvport.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_BINDRESVPORT_H
4#define _BSD_BINDRESVPORT_H
5
6#include "config.h"
7
8#ifndef HAVE_BINDRESVPORT_SA
9int bindresvport_sa(int sd, struct sockaddr *sa);
10#endif /* !HAVE_BINDRESVPORT_SA */
11
12#endif /* _BSD_BINDRESVPORT_H */
diff --git a/openbsd-compat/bsd-arc4random.h b/openbsd-compat/bsd-arc4random.h
deleted file mode 100644
index 7af757b2d..000000000
--- a/openbsd-compat/bsd-arc4random.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/*
2 * Copyright (c) 1999-2000 Damien Miller. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 *
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25/* $Id: bsd-arc4random.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
26
27#ifndef _BSD_ARC4RANDOM_H
28#define _BSD_ARC4RANDOM_H
29
30#include "config.h"
31
32#ifndef HAVE_ARC4RANDOM
33unsigned int arc4random(void);
34void arc4random_stir(void);
35#endif /* !HAVE_ARC4RANDOM */
36
37#endif /* _BSD_ARC4RANDOM_H */
diff --git a/openbsd-compat/bsd-getpeereid.h b/openbsd-compat/bsd-getpeereid.h
deleted file mode 100644
index 2e9f077f9..000000000
--- a/openbsd-compat/bsd-getpeereid.h
+++ /dev/null
@@ -1,14 +0,0 @@
1/* $Id: bsd-getpeereid.h,v 1.1 2002/09/12 00:33:02 djm Exp $ */
2
3#ifndef _BSD_GETPEEREID_H
4#define _BSD_GETPEEREID_H
5
6#include "config.h"
7
8#include <sys/types.h> /* For uid_t, gid_t */
9
10#ifndef HAVE_GETPEEREID
11int getpeereid(int , uid_t *, gid_t *);
12#endif /* HAVE_GETPEEREID */
13
14#endif /* _BSD_GETPEEREID_H */
diff --git a/openbsd-compat/bsd-snprintf.h b/openbsd-compat/bsd-snprintf.h
deleted file mode 100644
index 002b764e3..000000000
--- a/openbsd-compat/bsd-snprintf.h
+++ /dev/null
@@ -1,19 +0,0 @@
1/* $Id: bsd-snprintf.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_SNPRINTF_H
4#define _BSD_SNPRINTF_H
5
6#include "config.h"
7
8#include <sys/types.h> /* For size_t */
9
10#ifndef HAVE_SNPRINTF
11int snprintf(char *str, size_t count, const char *fmt, ...);
12#endif /* !HAVE_SNPRINTF */
13
14#ifndef HAVE_VSNPRINTF
15int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
16#endif /* !HAVE_SNPRINTF */
17
18
19#endif /* _BSD_SNPRINTF_H */
diff --git a/openbsd-compat/daemon.h b/openbsd-compat/daemon.h
deleted file mode 100644
index 95a077359..000000000
--- a/openbsd-compat/daemon.h
+++ /dev/null
@@ -1,11 +0,0 @@
1/* $Id: daemon.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_DAEMON_H
4#define _BSD_DAEMON_H
5
6#include "config.h"
7#ifndef HAVE_DAEMON
8int daemon(int nochdir, int noclose);
9#endif /* !HAVE_DAEMON */
10
11#endif /* _BSD_DAEMON_H */
diff --git a/openbsd-compat/dirname.h b/openbsd-compat/dirname.h
deleted file mode 100644
index 1d61dd06c..000000000
--- a/openbsd-compat/dirname.h
+++ /dev/null
@@ -1,5 +0,0 @@
1#ifndef HAVE_DIRNAME
2
3char *dirname(const char *path);
4
5#endif
diff --git a/openbsd-compat/fake-gai-errnos.h b/openbsd-compat/fake-gai-errnos.h
deleted file mode 100644
index 5edc31b59..000000000
--- a/openbsd-compat/fake-gai-errnos.h
+++ /dev/null
@@ -1,14 +0,0 @@
1/*
2 * fake library for ssh
3 *
4 * This file is included in getaddrinfo.c and getnameinfo.c.
5 * See getaddrinfo.c and getnameinfo.c.
6 */
7
8/* $Id: fake-gai-errnos.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
9
10/* for old netdb.h */
11#ifndef EAI_NODATA
12#define EAI_NODATA 1
13#define EAI_MEMORY 2
14#endif
diff --git a/openbsd-compat/fake-getaddrinfo.c b/openbsd-compat/fake-getaddrinfo.c
deleted file mode 100644
index e63bda970..000000000
--- a/openbsd-compat/fake-getaddrinfo.c
+++ /dev/null
@@ -1,135 +0,0 @@
1/*
2 * fake library for ssh
3 *
4 * This file includes getaddrinfo(), freeaddrinfo() and gai_strerror().
5 * These funtions are defined in rfc2133.
6 *
7 * But these functions are not implemented correctly. The minimum subset
8 * is implemented for ssh use only. For exapmle, this routine assumes
9 * that ai_family is AF_INET. Don't use it for another purpose.
10 */
11
12#include "includes.h"
13#include "ssh.h"
14
15RCSID("$Id: fake-getaddrinfo.c,v 1.5 2003/03/24 02:35:59 djm Exp $");
16
17#ifndef HAVE_GAI_STRERROR
18char *gai_strerror(int ecode)
19{
20 switch (ecode) {
21 case EAI_NODATA:
22 return "no address associated with hostname.";
23 case EAI_MEMORY:
24 return "memory allocation failure.";
25 default:
26 return "unknown error.";
27 }
28}
29#endif /* !HAVE_GAI_STRERROR */
30
31#ifndef HAVE_FREEADDRINFO
32void freeaddrinfo(struct addrinfo *ai)
33{
34 struct addrinfo *next;
35
36 do {
37 next = ai->ai_next;
38 free(ai);
39 } while (NULL != (ai = next));
40}
41#endif /* !HAVE_FREEADDRINFO */
42
43#ifndef HAVE_GETADDRINFO
44static struct addrinfo *malloc_ai(int port, u_long addr)
45{
46 struct addrinfo *ai;
47
48 ai = malloc(sizeof(struct addrinfo) + sizeof(struct sockaddr_in));
49 if (ai == NULL)
50 return(NULL);
51
52 memset(ai, 0, sizeof(struct addrinfo) + sizeof(struct sockaddr_in));
53
54 ai->ai_addr = (struct sockaddr *)(ai + 1);
55 /* XXX -- ssh doesn't use sa_len */
56 ai->ai_addrlen = sizeof(struct sockaddr_in);
57 ai->ai_addr->sa_family = ai->ai_family = AF_INET;
58
59 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port;
60 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr;
61
62 return(ai);
63}
64
65int getaddrinfo(const char *hostname, const char *servname,
66 const struct addrinfo *hints, struct addrinfo **res)
67{
68 struct addrinfo *cur, *prev = NULL;
69 struct hostent *hp;
70 struct servent *sp;
71 struct in_addr in;
72 int i;
73 long int port;
74 u_long addr;
75
76 port = 0;
77 if (servname != NULL) {
78 char *cp;
79
80 port = strtol(servname, &cp, 10);
81 if (port > 0 && port <= 65535 && *cp == '\0')
82 port = htons(port);
83 else if ((sp = getservbyname(servname, NULL)) != NULL)
84 port = sp->s_port;
85 else
86 port = 0;
87 }
88
89 if (hints && hints->ai_flags & AI_PASSIVE) {
90 addr = htonl(0x00000000);
91 if (hostname && inet_aton(hostname, &in) != 0)
92 addr = in.s_addr;
93 if (NULL != (*res = malloc_ai(port, addr)))
94 return 0;
95 else
96 return EAI_MEMORY;
97 }
98
99 if (!hostname) {
100 if (NULL != (*res = malloc_ai(port, htonl(0x7f000001))))
101 return 0;
102 else
103 return EAI_MEMORY;
104 }
105
106 if (inet_aton(hostname, &in)) {
107 if (NULL != (*res = malloc_ai(port, in.s_addr)))
108 return 0;
109 else
110 return EAI_MEMORY;
111 }
112
113 hp = gethostbyname(hostname);
114 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) {
115 for (i = 0; hp->h_addr_list[i]; i++) {
116 cur = malloc_ai(port, ((struct in_addr *)hp->h_addr_list[i])->s_addr);
117 if (cur == NULL) {
118 if (*res)
119 freeaddrinfo(*res);
120 return EAI_MEMORY;
121 }
122
123 if (prev)
124 prev->ai_next = cur;
125 else
126 *res = cur;
127
128 prev = cur;
129 }
130 return 0;
131 }
132
133 return EAI_NODATA;
134}
135#endif /* !HAVE_GETADDRINFO */
diff --git a/openbsd-compat/fake-getaddrinfo.h b/openbsd-compat/fake-getaddrinfo.h
deleted file mode 100644
index 6943378e9..000000000
--- a/openbsd-compat/fake-getaddrinfo.h
+++ /dev/null
@@ -1,47 +0,0 @@
1/* $Id: fake-getaddrinfo.h,v 1.4 2003/02/24 01:35:09 djm Exp $ */
2
3#ifndef _FAKE_GETADDRINFO_H
4#define _FAKE_GETADDRINFO_H
5
6#include "config.h"
7
8#include "fake-gai-errnos.h"
9
10#ifndef AI_PASSIVE
11# define AI_PASSIVE 1
12# define AI_CANONNAME 2
13#endif
14
15#ifndef NI_NUMERICHOST
16# define NI_NUMERICHOST 2
17# define NI_NAMEREQD 4
18# define NI_NUMERICSERV 8
19#endif
20
21#ifndef HAVE_STRUCT_ADDRINFO
22struct addrinfo {
23 int ai_flags; /* AI_PASSIVE, AI_CANONNAME */
24 int ai_family; /* PF_xxx */
25 int ai_socktype; /* SOCK_xxx */
26 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */
27 size_t ai_addrlen; /* length of ai_addr */
28 char *ai_canonname; /* canonical name for hostname */
29 struct sockaddr *ai_addr; /* binary address */
30 struct addrinfo *ai_next; /* next structure in linked list */
31};
32#endif /* !HAVE_STRUCT_ADDRINFO */
33
34#ifndef HAVE_GETADDRINFO
35int getaddrinfo(const char *hostname, const char *servname,
36 const struct addrinfo *hints, struct addrinfo **res);
37#endif /* !HAVE_GETADDRINFO */
38
39#ifndef HAVE_GAI_STRERROR
40char *gai_strerror(int ecode);
41#endif /* !HAVE_GAI_STRERROR */
42
43#ifndef HAVE_FREEADDRINFO
44void freeaddrinfo(struct addrinfo *ai);
45#endif /* !HAVE_FREEADDRINFO */
46
47#endif /* _FAKE_GETADDRINFO_H */
diff --git a/openbsd-compat/fake-getnameinfo.c b/openbsd-compat/fake-getnameinfo.c
deleted file mode 100644
index e255ed333..000000000
--- a/openbsd-compat/fake-getnameinfo.c
+++ /dev/null
@@ -1,55 +0,0 @@
1/*
2 * fake library for ssh
3 *
4 * This file includes getnameinfo().
5 * These funtions are defined in rfc2133.
6 *
7 * But these functions are not implemented correctly. The minimum subset
8 * is implemented for ssh use only. For exapmle, this routine assumes
9 * that ai_family is AF_INET. Don't use it for another purpose.
10 */
11
12#include "includes.h"
13#include "ssh.h"
14
15RCSID("$Id: fake-getnameinfo.c,v 1.2 2001/02/09 01:55:36 djm Exp $");
16
17#ifndef HAVE_GETNAMEINFO
18int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
19 size_t hostlen, char *serv, size_t servlen, int flags)
20{
21 struct sockaddr_in *sin = (struct sockaddr_in *)sa;
22 struct hostent *hp;
23 char tmpserv[16];
24
25 if (serv) {
26 snprintf(tmpserv, sizeof(tmpserv), "%d", ntohs(sin->sin_port));
27 if (strlen(tmpserv) >= servlen)
28 return EAI_MEMORY;
29 else
30 strcpy(serv, tmpserv);
31 }
32
33 if (host) {
34 if (flags & NI_NUMERICHOST) {
35 if (strlen(inet_ntoa(sin->sin_addr)) >= hostlen)
36 return EAI_MEMORY;
37
38 strcpy(host, inet_ntoa(sin->sin_addr));
39 return 0;
40 } else {
41 hp = gethostbyaddr((char *)&sin->sin_addr,
42 sizeof(struct in_addr), AF_INET);
43 if (hp == NULL)
44 return EAI_NODATA;
45
46 if (strlen(hp->h_name) >= hostlen)
47 return EAI_MEMORY;
48
49 strcpy(host, hp->h_name);
50 return 0;
51 }
52 }
53 return 0;
54}
55#endif /* !HAVE_GETNAMEINFO */
diff --git a/openbsd-compat/fake-getnameinfo.h b/openbsd-compat/fake-getnameinfo.h
deleted file mode 100644
index c9b7908aa..000000000
--- a/openbsd-compat/fake-getnameinfo.h
+++ /dev/null
@@ -1,20 +0,0 @@
1/* $Id: fake-getnameinfo.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _FAKE_GETNAMEINFO_H
4#define _FAKE_GETNAMEINFO_H
5
6#include "config.h"
7
8#ifndef HAVE_GETNAMEINFO
9int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
10 size_t hostlen, char *serv, size_t servlen, int flags);
11#endif /* !HAVE_GETNAMEINFO */
12
13#ifndef NI_MAXSERV
14# define NI_MAXSERV 32
15#endif /* !NI_MAXSERV */
16#ifndef NI_MAXHOST
17# define NI_MAXHOST 1025
18#endif /* !NI_MAXHOST */
19
20#endif /* _FAKE_GETNAMEINFO_H */
diff --git a/openbsd-compat/fake-queue.h b/openbsd-compat/fake-queue.h
deleted file mode 100644
index 176fe3174..000000000
--- a/openbsd-compat/fake-queue.h
+++ /dev/null
@@ -1,584 +0,0 @@
1/* $OpenBSD: queue.h,v 1.22 2001/06/23 04:39:35 angelos Exp $ */
2/* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */
3
4/*
5 * Copyright (c) 1991, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
16 * 3. All advertising materials mentioning features or use of this software
17 * must display the following acknowledgement:
18 * This product includes software developed by the University of
19 * California, Berkeley and its contributors.
20 * 4. Neither the name of the University nor the names of its contributors
21 * may be used to endorse or promote products derived from this software
22 * without specific prior written permission.
23 *
24 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)queue.h 8.5 (Berkeley) 8/20/94
37 */
38
39#ifndef _FAKE_QUEUE_H_
40#define _FAKE_QUEUE_H_
41
42/*
43 * Ignore all <sys/queue.h> since older platforms have broken/incomplete
44 * <sys/queue.h> that are too hard to work around.
45 */
46#undef SLIST_HEAD
47#undef SLIST_HEAD_INITIALIZER
48#undef SLIST_ENTRY
49#undef SLIST_FIRST
50#undef SLIST_END
51#undef SLIST_EMPTY
52#undef SLIST_NEXT
53#undef SLIST_FOREACH
54#undef SLIST_INIT
55#undef SLIST_INSERT_AFTER
56#undef SLIST_INSERT_HEAD
57#undef SLIST_REMOVE_HEAD
58#undef SLIST_REMOVE
59#undef LIST_HEAD
60#undef LIST_HEAD_INITIALIZER
61#undef LIST_ENTRY
62#undef LIST_FIRST
63#undef LIST_END
64#undef LIST_EMPTY
65#undef LIST_NEXT
66#undef LIST_FOREACH
67#undef LIST_INIT
68#undef LIST_INSERT_AFTER
69#undef LIST_INSERT_BEFORE
70#undef LIST_INSERT_HEAD
71#undef LIST_REMOVE
72#undef LIST_REPLACE
73#undef SIMPLEQ_HEAD
74#undef SIMPLEQ_HEAD_INITIALIZER
75#undef SIMPLEQ_ENTRY
76#undef SIMPLEQ_FIRST
77#undef SIMPLEQ_END
78#undef SIMPLEQ_EMPTY
79#undef SIMPLEQ_NEXT
80#undef SIMPLEQ_FOREACH
81#undef SIMPLEQ_INIT
82#undef SIMPLEQ_INSERT_HEAD
83#undef SIMPLEQ_INSERT_TAIL
84#undef SIMPLEQ_INSERT_AFTER
85#undef SIMPLEQ_REMOVE_HEAD
86#undef TAILQ_HEAD
87#undef TAILQ_HEAD_INITIALIZER
88#undef TAILQ_ENTRY
89#undef TAILQ_FIRST
90#undef TAILQ_END
91#undef TAILQ_NEXT
92#undef TAILQ_LAST
93#undef TAILQ_PREV
94#undef TAILQ_EMPTY
95#undef TAILQ_FOREACH
96#undef TAILQ_FOREACH_REVERSE
97#undef TAILQ_INIT
98#undef TAILQ_INSERT_HEAD
99#undef TAILQ_INSERT_TAIL
100#undef TAILQ_INSERT_AFTER
101#undef TAILQ_INSERT_BEFORE
102#undef TAILQ_REMOVE
103#undef TAILQ_REPLACE
104#undef CIRCLEQ_HEAD
105#undef CIRCLEQ_HEAD_INITIALIZER
106#undef CIRCLEQ_ENTRY
107#undef CIRCLEQ_FIRST
108#undef CIRCLEQ_LAST
109#undef CIRCLEQ_END
110#undef CIRCLEQ_NEXT
111#undef CIRCLEQ_PREV
112#undef CIRCLEQ_EMPTY
113#undef CIRCLEQ_FOREACH
114#undef CIRCLEQ_FOREACH_REVERSE
115#undef CIRCLEQ_INIT
116#undef CIRCLEQ_INSERT_AFTER
117#undef CIRCLEQ_INSERT_BEFORE
118#undef CIRCLEQ_INSERT_HEAD
119#undef CIRCLEQ_INSERT_TAIL
120#undef CIRCLEQ_REMOVE
121#undef CIRCLEQ_REPLACE
122
123/*
124 * This file defines five types of data structures: singly-linked lists,
125 * lists, simple queues, tail queues, and circular queues.
126 *
127 *
128 * A singly-linked list is headed by a single forward pointer. The elements
129 * are singly linked for minimum space and pointer manipulation overhead at
130 * the expense of O(n) removal for arbitrary elements. New elements can be
131 * added to the list after an existing element or at the head of the list.
132 * Elements being removed from the head of the list should use the explicit
133 * macro for this purpose for optimum efficiency. A singly-linked list may
134 * only be traversed in the forward direction. Singly-linked lists are ideal
135 * for applications with large datasets and few or no removals or for
136 * implementing a LIFO queue.
137 *
138 * A list is headed by a single forward pointer (or an array of forward
139 * pointers for a hash table header). The elements are doubly linked
140 * so that an arbitrary element can be removed without a need to
141 * traverse the list. New elements can be added to the list before
142 * or after an existing element or at the head of the list. A list
143 * may only be traversed in the forward direction.
144 *
145 * A simple queue is headed by a pair of pointers, one the head of the
146 * list and the other to the tail of the list. The elements are singly
147 * linked to save space, so elements can only be removed from the
148 * head of the list. New elements can be added to the list before or after
149 * an existing element, at the head of the list, or at the end of the
150 * list. A simple queue may only be traversed in the forward direction.
151 *
152 * A tail queue is headed by a pair of pointers, one to the head of the
153 * list and the other to the tail of the list. The elements are doubly
154 * linked so that an arbitrary element can be removed without a need to
155 * traverse the list. New elements can be added to the list before or
156 * after an existing element, at the head of the list, or at the end of
157 * the list. A tail queue may be traversed in either direction.
158 *
159 * A circle queue is headed by a pair of pointers, one to the head of the
160 * list and the other to the tail of the list. The elements are doubly
161 * linked so that an arbitrary element can be removed without a need to
162 * traverse the list. New elements can be added to the list before or after
163 * an existing element, at the head of the list, or at the end of the list.
164 * A circle queue may be traversed in either direction, but has a more
165 * complex end of list detection.
166 *
167 * For details on the use of these macros, see the queue(3) manual page.
168 */
169
170/*
171 * Singly-linked List definitions.
172 */
173#define SLIST_HEAD(name, type) \
174struct name { \
175 struct type *slh_first; /* first element */ \
176}
177
178#define SLIST_HEAD_INITIALIZER(head) \
179 { NULL }
180
181#define SLIST_ENTRY(type) \
182struct { \
183 struct type *sle_next; /* next element */ \
184}
185
186/*
187 * Singly-linked List access methods.
188 */
189#define SLIST_FIRST(head) ((head)->slh_first)
190#define SLIST_END(head) NULL
191#define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head))
192#define SLIST_NEXT(elm, field) ((elm)->field.sle_next)
193
194#define SLIST_FOREACH(var, head, field) \
195 for((var) = SLIST_FIRST(head); \
196 (var) != SLIST_END(head); \
197 (var) = SLIST_NEXT(var, field))
198
199/*
200 * Singly-linked List functions.
201 */
202#define SLIST_INIT(head) { \
203 SLIST_FIRST(head) = SLIST_END(head); \
204}
205
206#define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
207 (elm)->field.sle_next = (slistelm)->field.sle_next; \
208 (slistelm)->field.sle_next = (elm); \
209} while (0)
210
211#define SLIST_INSERT_HEAD(head, elm, field) do { \
212 (elm)->field.sle_next = (head)->slh_first; \
213 (head)->slh_first = (elm); \
214} while (0)
215
216#define SLIST_REMOVE_HEAD(head, field) do { \
217 (head)->slh_first = (head)->slh_first->field.sle_next; \
218} while (0)
219
220#define SLIST_REMOVE(head, elm, type, field) do { \
221 if ((head)->slh_first == (elm)) { \
222 SLIST_REMOVE_HEAD((head), field); \
223 } \
224 else { \
225 struct type *curelm = (head)->slh_first; \
226 while( curelm->field.sle_next != (elm) ) \
227 curelm = curelm->field.sle_next; \
228 curelm->field.sle_next = \
229 curelm->field.sle_next->field.sle_next; \
230 } \
231} while (0)
232
233/*
234 * List definitions.
235 */
236#define LIST_HEAD(name, type) \
237struct name { \
238 struct type *lh_first; /* first element */ \
239}
240
241#define LIST_HEAD_INITIALIZER(head) \
242 { NULL }
243
244#define LIST_ENTRY(type) \
245struct { \
246 struct type *le_next; /* next element */ \
247 struct type **le_prev; /* address of previous next element */ \
248}
249
250/*
251 * List access methods
252 */
253#define LIST_FIRST(head) ((head)->lh_first)
254#define LIST_END(head) NULL
255#define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))
256#define LIST_NEXT(elm, field) ((elm)->field.le_next)
257
258#define LIST_FOREACH(var, head, field) \
259 for((var) = LIST_FIRST(head); \
260 (var)!= LIST_END(head); \
261 (var) = LIST_NEXT(var, field))
262
263/*
264 * List functions.
265 */
266#define LIST_INIT(head) do { \
267 LIST_FIRST(head) = LIST_END(head); \
268} while (0)
269
270#define LIST_INSERT_AFTER(listelm, elm, field) do { \
271 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \
272 (listelm)->field.le_next->field.le_prev = \
273 &(elm)->field.le_next; \
274 (listelm)->field.le_next = (elm); \
275 (elm)->field.le_prev = &(listelm)->field.le_next; \
276} while (0)
277
278#define LIST_INSERT_BEFORE(listelm, elm, field) do { \
279 (elm)->field.le_prev = (listelm)->field.le_prev; \
280 (elm)->field.le_next = (listelm); \
281 *(listelm)->field.le_prev = (elm); \
282 (listelm)->field.le_prev = &(elm)->field.le_next; \
283} while (0)
284
285#define LIST_INSERT_HEAD(head, elm, field) do { \
286 if (((elm)->field.le_next = (head)->lh_first) != NULL) \
287 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\
288 (head)->lh_first = (elm); \
289 (elm)->field.le_prev = &(head)->lh_first; \
290} while (0)
291
292#define LIST_REMOVE(elm, field) do { \
293 if ((elm)->field.le_next != NULL) \
294 (elm)->field.le_next->field.le_prev = \
295 (elm)->field.le_prev; \
296 *(elm)->field.le_prev = (elm)->field.le_next; \
297} while (0)
298
299#define LIST_REPLACE(elm, elm2, field) do { \
300 if (((elm2)->field.le_next = (elm)->field.le_next) != NULL) \
301 (elm2)->field.le_next->field.le_prev = \
302 &(elm2)->field.le_next; \
303 (elm2)->field.le_prev = (elm)->field.le_prev; \
304 *(elm2)->field.le_prev = (elm2); \
305} while (0)
306
307/*
308 * Simple queue definitions.
309 */
310#define SIMPLEQ_HEAD(name, type) \
311struct name { \
312 struct type *sqh_first; /* first element */ \
313 struct type **sqh_last; /* addr of last next element */ \
314}
315
316#define SIMPLEQ_HEAD_INITIALIZER(head) \
317 { NULL, &(head).sqh_first }
318
319#define SIMPLEQ_ENTRY(type) \
320struct { \
321 struct type *sqe_next; /* next element */ \
322}
323
324/*
325 * Simple queue access methods.
326 */
327#define SIMPLEQ_FIRST(head) ((head)->sqh_first)
328#define SIMPLEQ_END(head) NULL
329#define SIMPLEQ_EMPTY(head) (SIMPLEQ_FIRST(head) == SIMPLEQ_END(head))
330#define SIMPLEQ_NEXT(elm, field) ((elm)->field.sqe_next)
331
332#define SIMPLEQ_FOREACH(var, head, field) \
333 for((var) = SIMPLEQ_FIRST(head); \
334 (var) != SIMPLEQ_END(head); \
335 (var) = SIMPLEQ_NEXT(var, field))
336
337/*
338 * Simple queue functions.
339 */
340#define SIMPLEQ_INIT(head) do { \
341 (head)->sqh_first = NULL; \
342 (head)->sqh_last = &(head)->sqh_first; \
343} while (0)
344
345#define SIMPLEQ_INSERT_HEAD(head, elm, field) do { \
346 if (((elm)->field.sqe_next = (head)->sqh_first) == NULL) \
347 (head)->sqh_last = &(elm)->field.sqe_next; \
348 (head)->sqh_first = (elm); \
349} while (0)
350
351#define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \
352 (elm)->field.sqe_next = NULL; \
353 *(head)->sqh_last = (elm); \
354 (head)->sqh_last = &(elm)->field.sqe_next; \
355} while (0)
356
357#define SIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
358 if (((elm)->field.sqe_next = (listelm)->field.sqe_next) == NULL)\
359 (head)->sqh_last = &(elm)->field.sqe_next; \
360 (listelm)->field.sqe_next = (elm); \
361} while (0)
362
363#define SIMPLEQ_REMOVE_HEAD(head, elm, field) do { \
364 if (((head)->sqh_first = (elm)->field.sqe_next) == NULL) \
365 (head)->sqh_last = &(head)->sqh_first; \
366} while (0)
367
368/*
369 * Tail queue definitions.
370 */
371#define TAILQ_HEAD(name, type) \
372struct name { \
373 struct type *tqh_first; /* first element */ \
374 struct type **tqh_last; /* addr of last next element */ \
375}
376
377#define TAILQ_HEAD_INITIALIZER(head) \
378 { NULL, &(head).tqh_first }
379
380#define TAILQ_ENTRY(type) \
381struct { \
382 struct type *tqe_next; /* next element */ \
383 struct type **tqe_prev; /* address of previous next element */ \
384}
385
386/*
387 * tail queue access methods
388 */
389#define TAILQ_FIRST(head) ((head)->tqh_first)
390#define TAILQ_END(head) NULL
391#define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
392#define TAILQ_LAST(head, headname) \
393 (*(((struct headname *)((head)->tqh_last))->tqh_last))
394/* XXX */
395#define TAILQ_PREV(elm, headname, field) \
396 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
397#define TAILQ_EMPTY(head) \
398 (TAILQ_FIRST(head) == TAILQ_END(head))
399
400#define TAILQ_FOREACH(var, head, field) \
401 for((var) = TAILQ_FIRST(head); \
402 (var) != TAILQ_END(head); \
403 (var) = TAILQ_NEXT(var, field))
404
405#define TAILQ_FOREACH_REVERSE(var, head, field, headname) \
406 for((var) = TAILQ_LAST(head, headname); \
407 (var) != TAILQ_END(head); \
408 (var) = TAILQ_PREV(var, headname, field))
409
410/*
411 * Tail queue functions.
412 */
413#define TAILQ_INIT(head) do { \
414 (head)->tqh_first = NULL; \
415 (head)->tqh_last = &(head)->tqh_first; \
416} while (0)
417
418#define TAILQ_INSERT_HEAD(head, elm, field) do { \
419 if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \
420 (head)->tqh_first->field.tqe_prev = \
421 &(elm)->field.tqe_next; \
422 else \
423 (head)->tqh_last = &(elm)->field.tqe_next; \
424 (head)->tqh_first = (elm); \
425 (elm)->field.tqe_prev = &(head)->tqh_first; \
426} while (0)
427
428#define TAILQ_INSERT_TAIL(head, elm, field) do { \
429 (elm)->field.tqe_next = NULL; \
430 (elm)->field.tqe_prev = (head)->tqh_last; \
431 *(head)->tqh_last = (elm); \
432 (head)->tqh_last = &(elm)->field.tqe_next; \
433} while (0)
434
435#define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \
436 if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\
437 (elm)->field.tqe_next->field.tqe_prev = \
438 &(elm)->field.tqe_next; \
439 else \
440 (head)->tqh_last = &(elm)->field.tqe_next; \
441 (listelm)->field.tqe_next = (elm); \
442 (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \
443} while (0)
444
445#define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \
446 (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \
447 (elm)->field.tqe_next = (listelm); \
448 *(listelm)->field.tqe_prev = (elm); \
449 (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \
450} while (0)
451
452#define TAILQ_REMOVE(head, elm, field) do { \
453 if (((elm)->field.tqe_next) != NULL) \
454 (elm)->field.tqe_next->field.tqe_prev = \
455 (elm)->field.tqe_prev; \
456 else \
457 (head)->tqh_last = (elm)->field.tqe_prev; \
458 *(elm)->field.tqe_prev = (elm)->field.tqe_next; \
459} while (0)
460
461#define TAILQ_REPLACE(head, elm, elm2, field) do { \
462 if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \
463 (elm2)->field.tqe_next->field.tqe_prev = \
464 &(elm2)->field.tqe_next; \
465 else \
466 (head)->tqh_last = &(elm2)->field.tqe_next; \
467 (elm2)->field.tqe_prev = (elm)->field.tqe_prev; \
468 *(elm2)->field.tqe_prev = (elm2); \
469} while (0)
470
471/*
472 * Circular queue definitions.
473 */
474#define CIRCLEQ_HEAD(name, type) \
475struct name { \
476 struct type *cqh_first; /* first element */ \
477 struct type *cqh_last; /* last element */ \
478}
479
480#define CIRCLEQ_HEAD_INITIALIZER(head) \
481 { CIRCLEQ_END(&head), CIRCLEQ_END(&head) }
482
483#define CIRCLEQ_ENTRY(type) \
484struct { \
485 struct type *cqe_next; /* next element */ \
486 struct type *cqe_prev; /* previous element */ \
487}
488
489/*
490 * Circular queue access methods
491 */
492#define CIRCLEQ_FIRST(head) ((head)->cqh_first)
493#define CIRCLEQ_LAST(head) ((head)->cqh_last)
494#define CIRCLEQ_END(head) ((void *)(head))
495#define CIRCLEQ_NEXT(elm, field) ((elm)->field.cqe_next)
496#define CIRCLEQ_PREV(elm, field) ((elm)->field.cqe_prev)
497#define CIRCLEQ_EMPTY(head) \
498 (CIRCLEQ_FIRST(head) == CIRCLEQ_END(head))
499
500#define CIRCLEQ_FOREACH(var, head, field) \
501 for((var) = CIRCLEQ_FIRST(head); \
502 (var) != CIRCLEQ_END(head); \
503 (var) = CIRCLEQ_NEXT(var, field))
504
505#define CIRCLEQ_FOREACH_REVERSE(var, head, field) \
506 for((var) = CIRCLEQ_LAST(head); \
507 (var) != CIRCLEQ_END(head); \
508 (var) = CIRCLEQ_PREV(var, field))
509
510/*
511 * Circular queue functions.
512 */
513#define CIRCLEQ_INIT(head) do { \
514 (head)->cqh_first = CIRCLEQ_END(head); \
515 (head)->cqh_last = CIRCLEQ_END(head); \
516} while (0)
517
518#define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \
519 (elm)->field.cqe_next = (listelm)->field.cqe_next; \
520 (elm)->field.cqe_prev = (listelm); \
521 if ((listelm)->field.cqe_next == CIRCLEQ_END(head)) \
522 (head)->cqh_last = (elm); \
523 else \
524 (listelm)->field.cqe_next->field.cqe_prev = (elm); \
525 (listelm)->field.cqe_next = (elm); \
526} while (0)
527
528#define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \
529 (elm)->field.cqe_next = (listelm); \
530 (elm)->field.cqe_prev = (listelm)->field.cqe_prev; \
531 if ((listelm)->field.cqe_prev == CIRCLEQ_END(head)) \
532 (head)->cqh_first = (elm); \
533 else \
534 (listelm)->field.cqe_prev->field.cqe_next = (elm); \
535 (listelm)->field.cqe_prev = (elm); \
536} while (0)
537
538#define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \
539 (elm)->field.cqe_next = (head)->cqh_first; \
540 (elm)->field.cqe_prev = CIRCLEQ_END(head); \
541 if ((head)->cqh_last == CIRCLEQ_END(head)) \
542 (head)->cqh_last = (elm); \
543 else \
544 (head)->cqh_first->field.cqe_prev = (elm); \
545 (head)->cqh_first = (elm); \
546} while (0)
547
548#define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \
549 (elm)->field.cqe_next = CIRCLEQ_END(head); \
550 (elm)->field.cqe_prev = (head)->cqh_last; \
551 if ((head)->cqh_first == CIRCLEQ_END(head)) \
552 (head)->cqh_first = (elm); \
553 else \
554 (head)->cqh_last->field.cqe_next = (elm); \
555 (head)->cqh_last = (elm); \
556} while (0)
557
558#define CIRCLEQ_REMOVE(head, elm, field) do { \
559 if ((elm)->field.cqe_next == CIRCLEQ_END(head)) \
560 (head)->cqh_last = (elm)->field.cqe_prev; \
561 else \
562 (elm)->field.cqe_next->field.cqe_prev = \
563 (elm)->field.cqe_prev; \
564 if ((elm)->field.cqe_prev == CIRCLEQ_END(head)) \
565 (head)->cqh_first = (elm)->field.cqe_next; \
566 else \
567 (elm)->field.cqe_prev->field.cqe_next = \
568 (elm)->field.cqe_next; \
569} while (0)
570
571#define CIRCLEQ_REPLACE(head, elm, elm2, field) do { \
572 if (((elm2)->field.cqe_next = (elm)->field.cqe_next) == \
573 CIRCLEQ_END(head)) \
574 (head).cqh_last = (elm2); \
575 else \
576 (elm2)->field.cqe_next->field.cqe_prev = (elm2); \
577 if (((elm2)->field.cqe_prev = (elm)->field.cqe_prev) == \
578 CIRCLEQ_END(head)) \
579 (head).cqh_first = (elm2); \
580 else \
581 (elm2)->field.cqe_prev->field.cqe_next = (elm2); \
582} while (0)
583
584#endif /* !_FAKE_QUEUE_H_ */
diff --git a/openbsd-compat/fake-rfc2553.c b/openbsd-compat/fake-rfc2553.c
index b0cc69bd7..f44924836 100644
--- a/openbsd-compat/fake-rfc2553.c
+++ b/openbsd-compat/fake-rfc2553.c
@@ -37,7 +37,7 @@
37 37
38#include "includes.h" 38#include "includes.h"
39 39
40RCSID("$Id: fake-rfc2553.c,v 1.4.2.1 2003/09/22 02:09:18 dtucker Exp $"); 40RCSID("$Id: fake-rfc2553.c,v 1.4 2003/06/13 22:43:23 djm Exp $");
41 41
42#ifndef HAVE_GETNAMEINFO 42#ifndef HAVE_GETNAMEINFO
43int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, 43int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
@@ -77,11 +77,7 @@ int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
77#endif /* !HAVE_GETNAMEINFO */ 77#endif /* !HAVE_GETNAMEINFO */
78 78
79#ifndef HAVE_GAI_STRERROR 79#ifndef HAVE_GAI_STRERROR
80#ifdef HAVE_CONST_GAI_STRERROR_PROTO
81const char *
82#else
83char * 80char *
84#endif
85gai_strerror(int err) 81gai_strerror(int err)
86{ 82{
87 switch (err) { 83 switch (err) {
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h
index 2d5439296..b70b928f8 100644
--- a/openbsd-compat/fake-rfc2553.h
+++ b/openbsd-compat/fake-rfc2553.h
@@ -1,4 +1,4 @@
1/* $Id: fake-rfc2553.h,v 1.6.2.1 2003/09/22 02:09:18 dtucker Exp $ */ 1/* $Id: fake-rfc2553.h,v 1.6 2003/08/29 16:59:52 mouring Exp $ */
2 2
3/* 3/*
4 * Copyright (C) 2000-2003 Damien Miller. All rights reserved. 4 * Copyright (C) 2000-2003 Damien Miller. All rights reserved.
@@ -137,7 +137,7 @@ int getaddrinfo(const char *, const char *,
137 const struct addrinfo *, struct addrinfo **); 137 const struct addrinfo *, struct addrinfo **);
138#endif /* !HAVE_GETADDRINFO */ 138#endif /* !HAVE_GETADDRINFO */
139 139
140#if !defined(HAVE_GAI_STRERROR) && !defined(HAVE_CONST_GAI_STRERROR_PROTO) 140#ifndef HAVE_GAI_STRERROR
141char *gai_strerror(int); 141char *gai_strerror(int);
142#endif /* !HAVE_GAI_STRERROR */ 142#endif /* !HAVE_GAI_STRERROR */
143 143
diff --git a/openbsd-compat/fake-socket.h b/openbsd-compat/fake-socket.h
deleted file mode 100644
index f364797fa..000000000
--- a/openbsd-compat/fake-socket.h
+++ /dev/null
@@ -1,47 +0,0 @@
1/* $Id: fake-socket.h,v 1.3 2002/04/12 03:35:40 tim Exp $ */
2
3#ifndef _FAKE_SOCKET_H
4#define _FAKE_SOCKET_H
5
6#include "includes.h"
7#include "sys/types.h"
8
9#ifndef HAVE_STRUCT_SOCKADDR_STORAGE
10# define _SS_MAXSIZE 128 /* Implementation specific max size */
11# define _SS_PADSIZE (_SS_MAXSIZE - sizeof (struct sockaddr))
12
13struct sockaddr_storage {
14 struct sockaddr ss_sa;
15 char __ss_pad2[_SS_PADSIZE];
16};
17# define ss_family ss_sa.sa_family
18#endif /* !HAVE_STRUCT_SOCKADDR_STORAGE */
19
20#ifndef IN6_IS_ADDR_LOOPBACK
21# define IN6_IS_ADDR_LOOPBACK(a) \
22 (((u_int32_t *) (a))[0] == 0 && ((u_int32_t *) (a))[1] == 0 && \
23 ((u_int32_t *) (a))[2] == 0 && ((u_int32_t *) (a))[3] == htonl (1))
24#endif /* !IN6_IS_ADDR_LOOPBACK */
25
26#ifndef HAVE_STRUCT_IN6_ADDR
27struct in6_addr {
28 u_int8_t s6_addr[16];
29};
30#endif /* !HAVE_STRUCT_IN6_ADDR */
31
32#ifndef HAVE_STRUCT_SOCKADDR_IN6
33struct sockaddr_in6 {
34 unsigned short sin6_family;
35 u_int16_t sin6_port;
36 u_int32_t sin6_flowinfo;
37 struct in6_addr sin6_addr;
38};
39#endif /* !HAVE_STRUCT_SOCKADDR_IN6 */
40
41#ifndef AF_INET6
42/* Define it to something that should never appear */
43#define AF_INET6 AF_MAX
44#endif
45
46#endif /* !_FAKE_SOCKET_H */
47
diff --git a/openbsd-compat/getcwd.h b/openbsd-compat/getcwd.h
deleted file mode 100644
index 1137b3ed5..000000000
--- a/openbsd-compat/getcwd.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: getcwd.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_GETCWD_H
4#define _BSD_GETCWD_H
5#include "config.h"
6
7#if !defined(HAVE_GETCWD)
8
9char *getcwd(char *pt, size_t size);
10
11#endif /* !defined(HAVE_GETCWD) */
12#endif /* _BSD_GETCWD_H */
diff --git a/openbsd-compat/getgrouplist.h b/openbsd-compat/getgrouplist.h
deleted file mode 100644
index 27a9703f2..000000000
--- a/openbsd-compat/getgrouplist.h
+++ /dev/null
@@ -1,16 +0,0 @@
1/* $Id: getgrouplist.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_GETGROUPLIST_H
4#define _BSD_GETGROUPLIST_H
5
6#include "config.h"
7
8#ifndef HAVE_GETGROUPLIST
9
10#include <grp.h>
11
12int getgrouplist(const char *, gid_t, gid_t *, int *);
13
14#endif
15
16#endif
diff --git a/openbsd-compat/getopt.h b/openbsd-compat/getopt.h
deleted file mode 100644
index 9abdae8e9..000000000
--- a/openbsd-compat/getopt.h
+++ /dev/null
@@ -1,14 +0,0 @@
1/* $Id: getopt.h,v 1.4 2001/09/18 05:05:21 djm Exp $ */
2
3#ifndef _BSDGETOPT_H
4#define _BSDGETOPT_H
5
6#include "config.h"
7
8#if !defined(HAVE_GETOPT) || !defined(HAVE_GETOPT_OPTRESET)
9
10int BSDgetopt(int argc, char * const *argv, const char *opts);
11
12#endif
13
14#endif /* _BSDGETOPT_H */
diff --git a/openbsd-compat/inet_aton.h b/openbsd-compat/inet_aton.h
deleted file mode 100644
index 9b59cb908..000000000
--- a/openbsd-compat/inet_aton.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: inet_aton.h,v 1.4 2001/07/16 02:07:51 tim Exp $ */
2
3#ifndef _BSD_INET_ATON_H
4#define _BSD_INET_ATON_H
5
6#include "config.h"
7
8#ifndef HAVE_INET_ATON
9int inet_aton(const char *cp, struct in_addr *addr);
10#endif /* HAVE_INET_ATON */
11
12#endif /* _BSD_INET_ATON_H */
diff --git a/openbsd-compat/inet_ntoa.c b/openbsd-compat/inet_ntoa.c
index f9fdc9ee5..e0384491d 100644
--- a/openbsd-compat/inet_ntoa.c
+++ b/openbsd-compat/inet_ntoa.c
@@ -43,6 +43,7 @@ static char rcsid[] = "$OpenBSD: inet_ntoa.c,v 1.4 2003/06/02 20:18:35 millert E
43#include <netinet/in.h> 43#include <netinet/in.h>
44#include <arpa/inet.h> 44#include <arpa/inet.h>
45#include <stdio.h> 45#include <stdio.h>
46#include "inet_ntoa.h"
46 47
47char *inet_ntoa(struct in_addr in) 48char *inet_ntoa(struct in_addr in)
48{ 49{
diff --git a/openbsd-compat/inet_ntoa.h b/openbsd-compat/inet_ntoa.h
deleted file mode 100644
index 85bc3d6fe..000000000
--- a/openbsd-compat/inet_ntoa.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: inet_ntoa.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_INET_NTOA_H
4#define _BSD_INET_NTOA_H
5
6#include "config.h"
7
8#if defined(BROKEN_INET_NTOA) || !defined(HAVE_INET_NTOA)
9char *inet_ntoa(struct in_addr in);
10#endif /* defined(BROKEN_INET_NTOA) || !defined(HAVE_INET_NTOA) */
11
12#endif /* _BSD_INET_NTOA_H */
diff --git a/openbsd-compat/inet_ntop.h b/openbsd-compat/inet_ntop.h
deleted file mode 100644
index c774df95c..000000000
--- a/openbsd-compat/inet_ntop.h
+++ /dev/null
@@ -1,13 +0,0 @@
1/* $Id: inet_ntop.h,v 1.4 2001/08/09 00:56:53 mouring Exp $ */
2
3#ifndef _BSD_INET_NTOP_H
4#define _BSD_INET_NTOP_H
5
6#include "config.h"
7
8#ifndef HAVE_INET_NTOP
9const char *
10inet_ntop(int af, const void *src, char *dst, size_t size);
11#endif /* !HAVE_INET_NTOP */
12
13#endif /* _BSD_INET_NTOP_H */
diff --git a/openbsd-compat/mktemp.h b/openbsd-compat/mktemp.h
deleted file mode 100644
index 505ca6a1f..000000000
--- a/openbsd-compat/mktemp.h
+++ /dev/null
@@ -1,13 +0,0 @@
1/* $Id: mktemp.h,v 1.3 2003/01/07 04:18:33 djm Exp $ */
2
3#ifndef _BSD_MKTEMP_H
4#define _BSD_MKTEMP_H
5
6#include "config.h"
7#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP)
8int mkstemps(char *path, int slen);
9int mkstemp(char *path);
10char *mkdtemp(char *path);
11#endif /* !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) */
12
13#endif /* _BSD_MKTEMP_H */
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 9fbcce936..7a981634b 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -27,12 +27,11 @@
27#include "ssh.h" 27#include "ssh.h"
28#include "log.h" 28#include "log.h"
29#include "servconf.h" 29#include "servconf.h"
30#include "canohost.h"
31#include "xmalloc.h"
32 30
33#ifdef _AIX 31#ifdef _AIX
34 32
35#include <uinfo.h> 33#include <uinfo.h>
34#include <../xmalloc.h>
36#include "port-aix.h" 35#include "port-aix.h"
37 36
38extern ServerOptions options; 37extern ServerOptions options;
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index 94c8c5119..09e7f9e97 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -1,4 +1,4 @@
1/* $Id: port-aix.h,v 1.14.2.1 2003/09/19 10:46:22 dtucker Exp $ */ 1/* $Id: port-aix.h,v 1.14 2003/08/29 16:59:52 mouring Exp $ */
2 2
3/* 3/*
4 * 4 *
@@ -30,10 +30,10 @@
30#ifdef WITH_AIXAUTHENTICATE 30#ifdef WITH_AIXAUTHENTICATE
31# include <login.h> 31# include <login.h>
32# include <userpw.h> 32# include <userpw.h>
33# if defined(HAVE_SYS_AUDIT_H) && defined(AIX_LOGINFAILED_4ARG) 33# include <usersec.h>
34# ifdef HAVE_SYS_AUDIT_H
34# include <sys/audit.h> 35# include <sys/audit.h>
35# endif 36# endif
36# include <usersec.h>
37#endif 37#endif
38 38
39/* Some versions define r_type in the above headers, which causes a conflict */ 39/* Some versions define r_type in the above headers, which causes a conflict */
diff --git a/openbsd-compat/realpath.h b/openbsd-compat/realpath.h
deleted file mode 100644
index 25e4075d7..000000000
--- a/openbsd-compat/realpath.h
+++ /dev/null
@@ -1,13 +0,0 @@
1/* $Id: realpath.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_REALPATH_H
4#define _BSD_REALPATH_H
5
6#include "config.h"
7
8#if !defined(HAVE_REALPATH) || defined(BROKEN_REALPATH)
9
10char *realpath(const char *path, char *resolved);
11
12#endif /* !defined(HAVE_REALPATH) || defined(BROKEN_REALPATH) */
13#endif /* _BSD_REALPATH_H */
diff --git a/openbsd-compat/rresvport.h b/openbsd-compat/rresvport.h
deleted file mode 100644
index a52e4515b..000000000
--- a/openbsd-compat/rresvport.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: rresvport.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_RRESVPORT_H
4#define _BSD_RRESVPORT_H
5
6#include "config.h"
7
8#ifndef HAVE_RRESVPORT_AF
9int rresvport_af(int *alport, sa_family_t af);
10#endif /* !HAVE_RRESVPORT_AF */
11
12#endif /* _BSD_RRESVPORT_H */
diff --git a/openbsd-compat/setenv.h b/openbsd-compat/setenv.h
deleted file mode 100644
index 77256d802..000000000
--- a/openbsd-compat/setenv.h
+++ /dev/null
@@ -1,14 +0,0 @@
1/* $Id: setenv.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_SETENV_H
4#define _BSD_SETENV_H
5
6#include "config.h"
7
8#ifndef HAVE_SETENV
9
10int setenv(register const char *name, register const char *value, int rewrite);
11
12#endif /* !HAVE_SETENV */
13
14#endif /* _BSD_SETENV_H */
diff --git a/openbsd-compat/setproctitle.h b/openbsd-compat/setproctitle.h
deleted file mode 100644
index 48d26c6ea..000000000
--- a/openbsd-compat/setproctitle.h
+++ /dev/null
@@ -1,13 +0,0 @@
1/* $Id: setproctitle.h,v 1.3 2003/01/09 22:53:13 djm Exp $ */
2
3#ifndef _BSD_SETPROCTITLE_H
4#define _BSD_SETPROCTITLE_H
5
6#include "config.h"
7
8#ifndef HAVE_SETPROCTITLE
9void setproctitle(const char *fmt, ...);
10void compat_init_setproctitle(int argc, char *argv[]);
11#endif
12
13#endif /* _BSD_SETPROCTITLE_H */
diff --git a/openbsd-compat/strlcat.h b/openbsd-compat/strlcat.h
deleted file mode 100644
index 753668563..000000000
--- a/openbsd-compat/strlcat.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: strlcat.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_STRLCAT_H
4#define _BSD_STRLCAT_H
5
6#include "config.h"
7#ifndef HAVE_STRLCAT
8#include <sys/types.h>
9size_t strlcat(char *dst, const char *src, size_t siz);
10#endif /* !HAVE_STRLCAT */
11
12#endif /* _BSD_STRLCAT_H */
diff --git a/openbsd-compat/strlcpy.h b/openbsd-compat/strlcpy.h
deleted file mode 100644
index 3b137670d..000000000
--- a/openbsd-compat/strlcpy.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: strlcpy.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_STRLCPY_H
4#define _BSD_STRLCPY_H
5
6#include "config.h"
7#ifndef HAVE_STRLCPY
8#include <sys/types.h>
9size_t strlcpy(char *dst, const char *src, size_t siz);
10#endif /* !HAVE_STRLCPY */
11
12#endif /* _BSD_STRLCPY_H */
diff --git a/openbsd-compat/strmode.h b/openbsd-compat/strmode.h
deleted file mode 100644
index 64f7c8aae..000000000
--- a/openbsd-compat/strmode.h
+++ /dev/null
@@ -1,7 +0,0 @@
1/* $Id: strmode.h,v 1.3 2001/06/09 02:22:17 mouring Exp $ */
2
3#ifndef HAVE_STRMODE
4
5void strmode(register mode_t mode, register char *p);
6
7#endif
diff --git a/openbsd-compat/strsep.h b/openbsd-compat/strsep.h
deleted file mode 100644
index 6ed810ac1..000000000
--- a/openbsd-compat/strsep.h
+++ /dev/null
@@ -1,12 +0,0 @@
1/* $Id: strsep.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
3#ifndef _BSD_STRSEP_H
4#define _BSD_STRSEP_H
5
6#include "config.h"
7
8#ifndef HAVE_STRSEP
9char *strsep(char **stringp, const char *delim);
10#endif /* HAVE_STRSEP */
11
12#endif /* _BSD_STRSEP_H */
diff --git a/openbsd-compat/tree.h b/openbsd-compat/tree.h
deleted file mode 100644
index 30b4a8561..000000000
--- a/openbsd-compat/tree.h
+++ /dev/null
@@ -1,667 +0,0 @@
1/*
2 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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.
24 */
25
26#ifndef _SYS_TREE_H_
27#define _SYS_TREE_H_
28
29/*
30 * This file defines data structures for different types of trees:
31 * splay trees and red-black trees.
32 *
33 * A splay tree is a self-organizing data structure. Every operation
34 * on the tree causes a splay to happen. The splay moves the requested
35 * node to the root of the tree and partly rebalances it.
36 *
37 * This has the benefit that request locality causes faster lookups as
38 * the requested nodes move to the top of the tree. On the other hand,
39 * every lookup causes memory writes.
40 *
41 * The Balance Theorem bounds the total access time for m operations
42 * and n inserts on an initially empty tree as O((m + n)lg n). The
43 * amortized cost for a sequence of m accesses to a splay tree is O(lg n);
44 *
45 * A red-black tree is a binary search tree with the node color as an
46 * extra attribute. It fulfills a set of conditions:
47 * - every search path from the root to a leaf consists of the
48 * same number of black nodes,
49 * - each red node (except for the root) has a black parent,
50 * - each leaf node is black.
51 *
52 * Every operation on a red-black tree is bounded as O(lg n).
53 * The maximum height of a red-black tree is 2lg (n+1).
54 */
55
56#define SPLAY_HEAD(name, type) \
57struct name { \
58 struct type *sph_root; /* root of the tree */ \
59}
60
61#define SPLAY_INITIALIZER(root) \
62 { NULL }
63
64#define SPLAY_INIT(root) do { \
65 (root)->sph_root = NULL; \
66} while (0)
67
68#define SPLAY_ENTRY(type) \
69struct { \
70 struct type *spe_left; /* left element */ \
71 struct type *spe_right; /* right element */ \
72}
73
74#define SPLAY_LEFT(elm, field) (elm)->field.spe_left
75#define SPLAY_RIGHT(elm, field) (elm)->field.spe_right
76#define SPLAY_ROOT(head) (head)->sph_root
77#define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL)
78
79/* SPLAY_ROTATE_{LEFT,RIGHT} expect that tmp hold SPLAY_{RIGHT,LEFT} */
80#define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \
81 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
82 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
83 (head)->sph_root = tmp; \
84} while (0)
85
86#define SPLAY_ROTATE_LEFT(head, tmp, field) do { \
87 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
88 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
89 (head)->sph_root = tmp; \
90} while (0)
91
92#define SPLAY_LINKLEFT(head, tmp, field) do { \
93 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
94 tmp = (head)->sph_root; \
95 (head)->sph_root = SPLAY_LEFT((head)->sph_root, field); \
96} while (0)
97
98#define SPLAY_LINKRIGHT(head, tmp, field) do { \
99 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
100 tmp = (head)->sph_root; \
101 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \
102} while (0)
103
104#define SPLAY_ASSEMBLE(head, node, left, right, field) do { \
105 SPLAY_RIGHT(left, field) = SPLAY_LEFT((head)->sph_root, field); \
106 SPLAY_LEFT(right, field) = SPLAY_RIGHT((head)->sph_root, field);\
107 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(node, field); \
108 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(node, field); \
109} while (0)
110
111/* Generates prototypes and inline functions */
112
113#define SPLAY_PROTOTYPE(name, type, field, cmp) \
114void name##_SPLAY(struct name *, struct type *); \
115void name##_SPLAY_MINMAX(struct name *, int); \
116 \
117static __inline void \
118name##_SPLAY_INSERT(struct name *head, struct type *elm) \
119{ \
120 if (SPLAY_EMPTY(head)) { \
121 SPLAY_LEFT(elm, field) = SPLAY_RIGHT(elm, field) = NULL; \
122 } else { \
123 int __comp; \
124 name##_SPLAY(head, elm); \
125 __comp = (cmp)(elm, (head)->sph_root); \
126 if(__comp < 0) { \
127 SPLAY_LEFT(elm, field) = SPLAY_LEFT((head)->sph_root, field);\
128 SPLAY_RIGHT(elm, field) = (head)->sph_root; \
129 SPLAY_LEFT((head)->sph_root, field) = NULL; \
130 } else if (__comp > 0) { \
131 SPLAY_RIGHT(elm, field) = SPLAY_RIGHT((head)->sph_root, field);\
132 SPLAY_LEFT(elm, field) = (head)->sph_root; \
133 SPLAY_RIGHT((head)->sph_root, field) = NULL; \
134 } else \
135 return; \
136 } \
137 (head)->sph_root = (elm); \
138} \
139 \
140static __inline void \
141name##_SPLAY_REMOVE(struct name *head, struct type *elm) \
142{ \
143 struct type *__tmp; \
144 if (SPLAY_EMPTY(head)) \
145 return; \
146 name##_SPLAY(head, elm); \
147 if ((cmp)(elm, (head)->sph_root) == 0) { \
148 if (SPLAY_LEFT((head)->sph_root, field) == NULL) { \
149 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field);\
150 } else { \
151 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
152 (head)->sph_root = SPLAY_LEFT((head)->sph_root, field);\
153 name##_SPLAY(head, elm); \
154 SPLAY_RIGHT((head)->sph_root, field) = __tmp; \
155 } \
156 } \
157} \
158 \
159/* Finds the node with the same key as elm */ \
160static __inline struct type * \
161name##_SPLAY_FIND(struct name *head, struct type *elm) \
162{ \
163 if (SPLAY_EMPTY(head)) \
164 return(NULL); \
165 name##_SPLAY(head, elm); \
166 if ((cmp)(elm, (head)->sph_root) == 0) \
167 return (head->sph_root); \
168 return (NULL); \
169} \
170 \
171static __inline struct type * \
172name##_SPLAY_NEXT(struct name *head, struct type *elm) \
173{ \
174 name##_SPLAY(head, elm); \
175 if (SPLAY_RIGHT(elm, field) != NULL) { \
176 elm = SPLAY_RIGHT(elm, field); \
177 while (SPLAY_LEFT(elm, field) != NULL) { \
178 elm = SPLAY_LEFT(elm, field); \
179 } \
180 } else \
181 elm = NULL; \
182 return (elm); \
183} \
184 \
185static __inline struct type * \
186name##_SPLAY_MIN_MAX(struct name *head, int val) \
187{ \
188 name##_SPLAY_MINMAX(head, val); \
189 return (SPLAY_ROOT(head)); \
190}
191
192/* Main splay operation.
193 * Moves node close to the key of elm to top
194 */
195#define SPLAY_GENERATE(name, type, field, cmp) \
196void name##_SPLAY(struct name *head, struct type *elm) \
197{ \
198 struct type __node, *__left, *__right, *__tmp; \
199 int __comp; \
200\
201 SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\
202 __left = __right = &__node; \
203\
204 while ((__comp = (cmp)(elm, (head)->sph_root))) { \
205 if (__comp < 0) { \
206 __tmp = SPLAY_LEFT((head)->sph_root, field); \
207 if (__tmp == NULL) \
208 break; \
209 if ((cmp)(elm, __tmp) < 0){ \
210 SPLAY_ROTATE_RIGHT(head, __tmp, field); \
211 if (SPLAY_LEFT((head)->sph_root, field) == NULL)\
212 break; \
213 } \
214 SPLAY_LINKLEFT(head, __right, field); \
215 } else if (__comp > 0) { \
216 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
217 if (__tmp == NULL) \
218 break; \
219 if ((cmp)(elm, __tmp) > 0){ \
220 SPLAY_ROTATE_LEFT(head, __tmp, field); \
221 if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\
222 break; \
223 } \
224 SPLAY_LINKRIGHT(head, __left, field); \
225 } \
226 } \
227 SPLAY_ASSEMBLE(head, &__node, __left, __right, field); \
228} \
229 \
230/* Splay with either the minimum or the maximum element \
231 * Used to find minimum or maximum element in tree. \
232 */ \
233void name##_SPLAY_MINMAX(struct name *head, int __comp) \
234{ \
235 struct type __node, *__left, *__right, *__tmp; \
236\
237 SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\
238 __left = __right = &__node; \
239\
240 while (1) { \
241 if (__comp < 0) { \
242 __tmp = SPLAY_LEFT((head)->sph_root, field); \
243 if (__tmp == NULL) \
244 break; \
245 if (__comp < 0){ \
246 SPLAY_ROTATE_RIGHT(head, __tmp, field); \
247 if (SPLAY_LEFT((head)->sph_root, field) == NULL)\
248 break; \
249 } \
250 SPLAY_LINKLEFT(head, __right, field); \
251 } else if (__comp > 0) { \
252 __tmp = SPLAY_RIGHT((head)->sph_root, field); \
253 if (__tmp == NULL) \
254 break; \
255 if (__comp > 0) { \
256 SPLAY_ROTATE_LEFT(head, __tmp, field); \
257 if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\
258 break; \
259 } \
260 SPLAY_LINKRIGHT(head, __left, field); \
261 } \
262 } \
263 SPLAY_ASSEMBLE(head, &__node, __left, __right, field); \
264}
265
266#define SPLAY_NEGINF -1
267#define SPLAY_INF 1
268
269#define SPLAY_INSERT(name, x, y) name##_SPLAY_INSERT(x, y)
270#define SPLAY_REMOVE(name, x, y) name##_SPLAY_REMOVE(x, y)
271#define SPLAY_FIND(name, x, y) name##_SPLAY_FIND(x, y)
272#define SPLAY_NEXT(name, x, y) name##_SPLAY_NEXT(x, y)
273#define SPLAY_MIN(name, x) (SPLAY_EMPTY(x) ? NULL \
274 : name##_SPLAY_MIN_MAX(x, SPLAY_NEGINF))
275#define SPLAY_MAX(name, x) (SPLAY_EMPTY(x) ? NULL \
276 : name##_SPLAY_MIN_MAX(x, SPLAY_INF))
277
278#define SPLAY_FOREACH(x, name, head) \
279 for ((x) = SPLAY_MIN(name, head); \
280 (x) != NULL; \
281 (x) = SPLAY_NEXT(name, head, x))
282
283/* Macros that define a red-back tree */
284#define RB_HEAD(name, type) \
285struct name { \
286 struct type *rbh_root; /* root of the tree */ \
287}
288
289#define RB_INITIALIZER(root) \
290 { NULL }
291
292#define RB_INIT(root) do { \
293 (root)->rbh_root = NULL; \
294} while (0)
295
296#define RB_BLACK 0
297#define RB_RED 1
298#define RB_ENTRY(type) \
299struct { \
300 struct type *rbe_left; /* left element */ \
301 struct type *rbe_right; /* right element */ \
302 struct type *rbe_parent; /* parent element */ \
303 int rbe_color; /* node color */ \
304}
305
306#define RB_LEFT(elm, field) (elm)->field.rbe_left
307#define RB_RIGHT(elm, field) (elm)->field.rbe_right
308#define RB_PARENT(elm, field) (elm)->field.rbe_parent
309#define RB_COLOR(elm, field) (elm)->field.rbe_color
310#define RB_ROOT(head) (head)->rbh_root
311#define RB_EMPTY(head) (RB_ROOT(head) == NULL)
312
313#define RB_SET(elm, parent, field) do { \
314 RB_PARENT(elm, field) = parent; \
315 RB_LEFT(elm, field) = RB_RIGHT(elm, field) = NULL; \
316 RB_COLOR(elm, field) = RB_RED; \
317} while (0)
318
319#define RB_SET_BLACKRED(black, red, field) do { \
320 RB_COLOR(black, field) = RB_BLACK; \
321 RB_COLOR(red, field) = RB_RED; \
322} while (0)
323
324#ifndef RB_AUGMENT
325#define RB_AUGMENT(x)
326#endif
327
328#define RB_ROTATE_LEFT(head, elm, tmp, field) do { \
329 (tmp) = RB_RIGHT(elm, field); \
330 if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field))) { \
331 RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \
332 } \
333 RB_AUGMENT(elm); \
334 if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field))) { \
335 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \
336 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \
337 else \
338 RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \
339 RB_AUGMENT(RB_PARENT(elm, field)); \
340 } else \
341 (head)->rbh_root = (tmp); \
342 RB_LEFT(tmp, field) = (elm); \
343 RB_PARENT(elm, field) = (tmp); \
344 RB_AUGMENT(tmp); \
345} while (0)
346
347#define RB_ROTATE_RIGHT(head, elm, tmp, field) do { \
348 (tmp) = RB_LEFT(elm, field); \
349 if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field))) { \
350 RB_PARENT(RB_RIGHT(tmp, field), field) = (elm); \
351 } \
352 RB_AUGMENT(elm); \
353 if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field))) { \
354 if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \
355 RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \
356 else \
357 RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \
358 RB_AUGMENT(RB_PARENT(elm, field)); \
359 } else \
360 (head)->rbh_root = (tmp); \
361 RB_RIGHT(tmp, field) = (elm); \
362 RB_PARENT(elm, field) = (tmp); \
363 RB_AUGMENT(tmp); \
364} while (0)
365
366/* Generates prototypes and inline functions */
367#define RB_PROTOTYPE(name, type, field, cmp) \
368void name##_RB_INSERT_COLOR(struct name *, struct type *); \
369void name##_RB_REMOVE_COLOR(struct name *, struct type *, struct type *);\
370void name##_RB_REMOVE(struct name *, struct type *); \
371struct type *name##_RB_INSERT(struct name *, struct type *); \
372struct type *name##_RB_FIND(struct name *, struct type *); \
373struct type *name##_RB_NEXT(struct name *, struct type *); \
374struct type *name##_RB_MINMAX(struct name *, int); \
375 \
376
377/* Main rb operation.
378 * Moves node close to the key of elm to top
379 */
380#define RB_GENERATE(name, type, field, cmp) \
381void \
382name##_RB_INSERT_COLOR(struct name *head, struct type *elm) \
383{ \
384 struct type *parent, *gparent, *tmp; \
385 while ((parent = RB_PARENT(elm, field)) && \
386 RB_COLOR(parent, field) == RB_RED) { \
387 gparent = RB_PARENT(parent, field); \
388 if (parent == RB_LEFT(gparent, field)) { \
389 tmp = RB_RIGHT(gparent, field); \
390 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \
391 RB_COLOR(tmp, field) = RB_BLACK; \
392 RB_SET_BLACKRED(parent, gparent, field);\
393 elm = gparent; \
394 continue; \
395 } \
396 if (RB_RIGHT(parent, field) == elm) { \
397 RB_ROTATE_LEFT(head, parent, tmp, field);\
398 tmp = parent; \
399 parent = elm; \
400 elm = tmp; \
401 } \
402 RB_SET_BLACKRED(parent, gparent, field); \
403 RB_ROTATE_RIGHT(head, gparent, tmp, field); \
404 } else { \
405 tmp = RB_LEFT(gparent, field); \
406 if (tmp && RB_COLOR(tmp, field) == RB_RED) { \
407 RB_COLOR(tmp, field) = RB_BLACK; \
408 RB_SET_BLACKRED(parent, gparent, field);\
409 elm = gparent; \
410 continue; \
411 } \
412 if (RB_LEFT(parent, field) == elm) { \
413 RB_ROTATE_RIGHT(head, parent, tmp, field);\
414 tmp = parent; \
415 parent = elm; \
416 elm = tmp; \
417 } \
418 RB_SET_BLACKRED(parent, gparent, field); \
419 RB_ROTATE_LEFT(head, gparent, tmp, field); \
420 } \
421 } \
422 RB_COLOR(head->rbh_root, field) = RB_BLACK; \
423} \
424 \
425void \
426name##_RB_REMOVE_COLOR(struct name *head, struct type *parent, struct type *elm) \
427{ \
428 struct type *tmp; \
429 while ((elm == NULL || RB_COLOR(elm, field) == RB_BLACK) && \
430 elm != RB_ROOT(head)) { \
431 if (RB_LEFT(parent, field) == elm) { \
432 tmp = RB_RIGHT(parent, field); \
433 if (RB_COLOR(tmp, field) == RB_RED) { \
434 RB_SET_BLACKRED(tmp, parent, field); \
435 RB_ROTATE_LEFT(head, parent, tmp, field);\
436 tmp = RB_RIGHT(parent, field); \
437 } \
438 if ((RB_LEFT(tmp, field) == NULL || \
439 RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) &&\
440 (RB_RIGHT(tmp, field) == NULL || \
441 RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK)) {\
442 RB_COLOR(tmp, field) = RB_RED; \
443 elm = parent; \
444 parent = RB_PARENT(elm, field); \
445 } else { \
446 if (RB_RIGHT(tmp, field) == NULL || \
447 RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK) {\
448 struct type *oleft; \
449 if ((oleft = RB_LEFT(tmp, field)))\
450 RB_COLOR(oleft, field) = RB_BLACK;\
451 RB_COLOR(tmp, field) = RB_RED; \
452 RB_ROTATE_RIGHT(head, tmp, oleft, field);\
453 tmp = RB_RIGHT(parent, field); \
454 } \
455 RB_COLOR(tmp, field) = RB_COLOR(parent, field);\
456 RB_COLOR(parent, field) = RB_BLACK; \
457 if (RB_RIGHT(tmp, field)) \
458 RB_COLOR(RB_RIGHT(tmp, field), field) = RB_BLACK;\
459 RB_ROTATE_LEFT(head, parent, tmp, field);\
460 elm = RB_ROOT(head); \
461 break; \
462 } \
463 } else { \
464 tmp = RB_LEFT(parent, field); \
465 if (RB_COLOR(tmp, field) == RB_RED) { \
466 RB_SET_BLACKRED(tmp, parent, field); \
467 RB_ROTATE_RIGHT(head, parent, tmp, field);\
468 tmp = RB_LEFT(parent, field); \
469 } \
470 if ((RB_LEFT(tmp, field) == NULL || \
471 RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) &&\
472 (RB_RIGHT(tmp, field) == NULL || \
473 RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK)) {\
474 RB_COLOR(tmp, field) = RB_RED; \
475 elm = parent; \
476 parent = RB_PARENT(elm, field); \
477 } else { \
478 if (RB_LEFT(tmp, field) == NULL || \
479 RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) {\
480 struct type *oright; \
481 if ((oright = RB_RIGHT(tmp, field)))\
482 RB_COLOR(oright, field) = RB_BLACK;\
483 RB_COLOR(tmp, field) = RB_RED; \
484 RB_ROTATE_LEFT(head, tmp, oright, field);\
485 tmp = RB_LEFT(parent, field); \
486 } \
487 RB_COLOR(tmp, field) = RB_COLOR(parent, field);\
488 RB_COLOR(parent, field) = RB_BLACK; \
489 if (RB_LEFT(tmp, field)) \
490 RB_COLOR(RB_LEFT(tmp, field), field) = RB_BLACK;\
491 RB_ROTATE_RIGHT(head, parent, tmp, field);\
492 elm = RB_ROOT(head); \
493 break; \
494 } \
495 } \
496 } \
497 if (elm) \
498 RB_COLOR(elm, field) = RB_BLACK; \
499} \
500 \
501void \
502name##_RB_REMOVE(struct name *head, struct type *elm) \
503{ \
504 struct type *child, *parent; \
505 int color; \
506 if (RB_LEFT(elm, field) == NULL) \
507 child = RB_RIGHT(elm, field); \
508 else if (RB_RIGHT(elm, field) == NULL) \
509 child = RB_LEFT(elm, field); \
510 else { \
511 struct type *old = elm, *left; \
512 elm = RB_RIGHT(elm, field); \
513 while ((left = RB_LEFT(elm, field))) \
514 elm = left; \
515 child = RB_RIGHT(elm, field); \
516 parent = RB_PARENT(elm, field); \
517 color = RB_COLOR(elm, field); \
518 if (child) \
519 RB_PARENT(child, field) = parent; \
520 if (parent) { \
521 if (RB_LEFT(parent, field) == elm) \
522 RB_LEFT(parent, field) = child; \
523 else \
524 RB_RIGHT(parent, field) = child; \
525 RB_AUGMENT(parent); \
526 } else \
527 RB_ROOT(head) = child; \
528 if (RB_PARENT(elm, field) == old) \
529 parent = elm; \
530 (elm)->field = (old)->field; \
531 if (RB_PARENT(old, field)) { \
532 if (RB_LEFT(RB_PARENT(old, field), field) == old)\
533 RB_LEFT(RB_PARENT(old, field), field) = elm;\
534 else \
535 RB_RIGHT(RB_PARENT(old, field), field) = elm;\
536 RB_AUGMENT(RB_PARENT(old, field)); \
537 } else \
538 RB_ROOT(head) = elm; \
539 RB_PARENT(RB_LEFT(old, field), field) = elm; \
540 if (RB_RIGHT(old, field)) \
541 RB_PARENT(RB_RIGHT(old, field), field) = elm; \
542 if (parent) { \
543 left = parent; \
544 do { \
545 RB_AUGMENT(left); \
546 } while ((left = RB_PARENT(left, field))); \
547 } \
548 goto color; \
549 } \
550 parent = RB_PARENT(elm, field); \
551 color = RB_COLOR(elm, field); \
552 if (child) \
553 RB_PARENT(child, field) = parent; \
554 if (parent) { \
555 if (RB_LEFT(parent, field) == elm) \
556 RB_LEFT(parent, field) = child; \
557 else \
558 RB_RIGHT(parent, field) = child; \
559 RB_AUGMENT(parent); \
560 } else \
561 RB_ROOT(head) = child; \
562color: \
563 if (color == RB_BLACK) \
564 name##_RB_REMOVE_COLOR(head, parent, child); \
565} \
566 \
567/* Inserts a node into the RB tree */ \
568struct type * \
569name##_RB_INSERT(struct name *head, struct type *elm) \
570{ \
571 struct type *tmp; \
572 struct type *parent = NULL; \
573 int comp = 0; \
574 tmp = RB_ROOT(head); \
575 while (tmp) { \
576 parent = tmp; \
577 comp = (cmp)(elm, parent); \
578 if (comp < 0) \
579 tmp = RB_LEFT(tmp, field); \
580 else if (comp > 0) \
581 tmp = RB_RIGHT(tmp, field); \
582 else \
583 return (tmp); \
584 } \
585 RB_SET(elm, parent, field); \
586 if (parent != NULL) { \
587 if (comp < 0) \
588 RB_LEFT(parent, field) = elm; \
589 else \
590 RB_RIGHT(parent, field) = elm; \
591 RB_AUGMENT(parent); \
592 } else \
593 RB_ROOT(head) = elm; \
594 name##_RB_INSERT_COLOR(head, elm); \
595 return (NULL); \
596} \
597 \
598/* Finds the node with the same key as elm */ \
599struct type * \
600name##_RB_FIND(struct name *head, struct type *elm) \
601{ \
602 struct type *tmp = RB_ROOT(head); \
603 int comp; \
604 while (tmp) { \
605 comp = cmp(elm, tmp); \
606 if (comp < 0) \
607 tmp = RB_LEFT(tmp, field); \
608 else if (comp > 0) \
609 tmp = RB_RIGHT(tmp, field); \
610 else \
611 return (tmp); \
612 } \
613 return (NULL); \
614} \
615 \
616struct type * \
617name##_RB_NEXT(struct name *head, struct type *elm) \
618{ \
619 if (RB_RIGHT(elm, field)) { \
620 elm = RB_RIGHT(elm, field); \
621 while (RB_LEFT(elm, field)) \
622 elm = RB_LEFT(elm, field); \
623 } else { \
624 if (RB_PARENT(elm, field) && \
625 (elm == RB_LEFT(RB_PARENT(elm, field), field))) \
626 elm = RB_PARENT(elm, field); \
627 else { \
628 while (RB_PARENT(elm, field) && \
629 (elm == RB_RIGHT(RB_PARENT(elm, field), field)))\
630 elm = RB_PARENT(elm, field); \
631 elm = RB_PARENT(elm, field); \
632 } \
633 } \
634 return (elm); \
635} \
636 \
637struct type * \
638name##_RB_MINMAX(struct name *head, int val) \
639{ \
640 struct type *tmp = RB_ROOT(head); \
641 struct type *parent = NULL; \
642 while (tmp) { \
643 parent = tmp; \
644 if (val < 0) \
645 tmp = RB_LEFT(tmp, field); \
646 else \
647 tmp = RB_RIGHT(tmp, field); \
648 } \
649 return (parent); \
650}
651
652#define RB_NEGINF -1
653#define RB_INF 1
654
655#define RB_INSERT(name, x, y) name##_RB_INSERT(x, y)
656#define RB_REMOVE(name, x, y) name##_RB_REMOVE(x, y)
657#define RB_FIND(name, x, y) name##_RB_FIND(x, y)
658#define RB_NEXT(name, x, y) name##_RB_NEXT(x, y)
659#define RB_MIN(name, x) name##_RB_MINMAX(x, RB_NEGINF)
660#define RB_MAX(name, x) name##_RB_MINMAX(x, RB_INF)
661
662#define RB_FOREACH(x, name, head) \
663 for ((x) = RB_MIN(name, head); \
664 (x) != NULL; \
665 (x) = name##_RB_NEXT(head, x))
666
667#endif /* _SYS_TREE_H_ */
diff --git a/openbsd-compat/xmmap.h b/openbsd-compat/xmmap.h
deleted file mode 100644
index c0fa04aca..000000000
--- a/openbsd-compat/xmmap.h
+++ /dev/null
@@ -1,23 +0,0 @@
1/*
2 * Redistribution and use in source and binary forms, with or without
3 * modification, are permitted provided that the following conditions
4 * are met:
5 * 1. Redistributions of source code must retain the above copyright
6 * notice, this list of conditions and the following disclaimer.
7 * 2. Redistributions in binary form must reproduce the above copyright
8 * notice, this list of conditions and the following disclaimer in the
9 * documentation and/or other materials provided with the distribution.
10 *
11 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
12 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
13 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
14 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
15 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
16 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
17 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
18 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
20 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21 */
22
23void *xmmap(size_t size);
diff --git a/packet.c b/packet.c
index 02b629f30..fd436d56f 100644
--- a/packet.c
+++ b/packet.c
@@ -79,6 +79,8 @@ RCSID("$OpenBSD: packet.c,v 1.110 2003/09/19 09:02:02 markus Exp $");
79static int connection_in = -1; 79static int connection_in = -1;
80static int connection_out = -1; 80static int connection_out = -1;
81 81
82static int setup_timeout = -1;
83
82/* Protocol flags for the remote side. */ 84/* Protocol flags for the remote side. */
83static u_int remote_protocol_flags = 0; 85static u_int remote_protocol_flags = 0;
84 86
@@ -146,7 +148,7 @@ TAILQ_HEAD(, packet) outgoing;
146 * packet_set_encryption_key is called. 148 * packet_set_encryption_key is called.
147 */ 149 */
148void 150void
149packet_set_connection(int fd_in, int fd_out) 151packet_set_connection(int fd_in, int fd_out, int new_setup_timeout)
150{ 152{
151 Cipher *none = cipher_by_name("none"); 153 Cipher *none = cipher_by_name("none");
152 154
@@ -154,6 +156,7 @@ packet_set_connection(int fd_in, int fd_out)
154 fatal("packet_set_connection: cannot load cipher 'none'"); 156 fatal("packet_set_connection: cannot load cipher 'none'");
155 connection_in = fd_in; 157 connection_in = fd_in;
156 connection_out = fd_out; 158 connection_out = fd_out;
159 setup_timeout = new_setup_timeout;
157 cipher_init(&send_context, none, "", 0, NULL, 0, CIPHER_ENCRYPT); 160 cipher_init(&send_context, none, "", 0, NULL, 0, CIPHER_ENCRYPT);
158 cipher_init(&receive_context, none, "", 0, NULL, 0, CIPHER_DECRYPT); 161 cipher_init(&receive_context, none, "", 0, NULL, 0, CIPHER_DECRYPT);
159 newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL; 162 newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL;
@@ -830,6 +833,7 @@ packet_read_seqnr(u_int32_t *seqnr_p)
830 int type, len; 833 int type, len;
831 fd_set *setp; 834 fd_set *setp;
832 char buf[8192]; 835 char buf[8192];
836 struct timeval tv, *tvp;
833 DBG(debug("packet_read()")); 837 DBG(debug("packet_read()"));
834 838
835 setp = (fd_set *)xmalloc(howmany(connection_in+1, NFDBITS) * 839 setp = (fd_set *)xmalloc(howmany(connection_in+1, NFDBITS) *
@@ -861,11 +865,21 @@ packet_read_seqnr(u_int32_t *seqnr_p)
861 sizeof(fd_mask)); 865 sizeof(fd_mask));
862 FD_SET(connection_in, setp); 866 FD_SET(connection_in, setp);
863 867
868 if (setup_timeout > 0) {
869 tvp = &tv;
870 tv.tv_sec = setup_timeout;
871 tv.tv_usec = 0;
872 } else
873 tvp = 0;
874
864 /* Wait for some data to arrive. */ 875 /* Wait for some data to arrive. */
865 while (select(connection_in + 1, setp, NULL, NULL, NULL) == -1 && 876 while (select(connection_in + 1, setp, NULL, NULL, tvp) == -1 &&
866 (errno == EAGAIN || errno == EINTR)) 877 (errno == EAGAIN || errno == EINTR))
867 ; 878 ;
868 879
880 if (!FD_ISSET(connection_in, setp))
881 fatal("packet_read: Setup timeout expired, giving up");
882
869 /* Read data from the socket. */ 883 /* Read data from the socket. */
870 len = read(connection_in, buf, sizeof(buf)); 884 len = read(connection_in, buf, sizeof(buf));
871 if (len == 0) { 885 if (len == 0) {
diff --git a/packet.h b/packet.h
index 7732fafb7..676ed8aaa 100644
--- a/packet.h
+++ b/packet.h
@@ -18,7 +18,7 @@
18 18
19#include <openssl/bn.h> 19#include <openssl/bn.h>
20 20
21void packet_set_connection(int, int); 21void packet_set_connection(int, int, int);
22void packet_set_nonblocking(void); 22void packet_set_nonblocking(void);
23int packet_get_connection_in(void); 23int packet_get_connection_in(void);
24int packet_get_connection_out(void); 24int packet_get_connection_out(void);
diff --git a/radix.c b/radix.c
deleted file mode 100644
index c680d6bf3..000000000
--- a/radix.c
+++ /dev/null
@@ -1,158 +0,0 @@
1/*
2 * Copyright (c) 1999 Dug Song. All rights reserved.
3 * Copyright (c) 2002 Markus Friedl. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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.
24 */
25
26#include "includes.h"
27#include "uuencode.h"
28
29RCSID("$OpenBSD: radix.c,v 1.22 2002/09/09 14:54:15 markus Exp $");
30
31#ifdef AFS
32#include <krb.h>
33
34#include <radix.h>
35#include "bufaux.h"
36
37int
38creds_to_radix(CREDENTIALS *creds, u_char *buf, size_t buflen)
39{
40 Buffer b;
41 int ret;
42
43 buffer_init(&b);
44
45 buffer_put_char(&b, 1); /* version */
46
47 buffer_append(&b, creds->service, strlen(creds->service));
48 buffer_put_char(&b, '\0');
49 buffer_append(&b, creds->instance, strlen(creds->instance));
50 buffer_put_char(&b, '\0');
51 buffer_append(&b, creds->realm, strlen(creds->realm));
52 buffer_put_char(&b, '\0');
53 buffer_append(&b, creds->pname, strlen(creds->pname));
54 buffer_put_char(&b, '\0');
55 buffer_append(&b, creds->pinst, strlen(creds->pinst));
56 buffer_put_char(&b, '\0');
57
58 /* Null string to repeat the realm. */
59 buffer_put_char(&b, '\0');
60
61 buffer_put_int(&b, creds->issue_date);
62 buffer_put_int(&b, krb_life_to_time(creds->issue_date,
63 creds->lifetime));
64 buffer_append(&b, creds->session, sizeof(creds->session));
65 buffer_put_short(&b, creds->kvno);
66
67 /* 32 bit size + data */
68 buffer_put_string(&b, creds->ticket_st.dat, creds->ticket_st.length);
69
70 ret = uuencode(buffer_ptr(&b), buffer_len(&b), (char *)buf, buflen);
71
72 buffer_free(&b);
73 return ret;
74}
75
76#define GETSTRING(b, t, tlen) \
77 do { \
78 int i, found = 0; \
79 for (i = 0; i < tlen; i++) { \
80 if (buffer_len(b) == 0) \
81 goto done; \
82 t[i] = buffer_get_char(b); \
83 if (t[i] == '\0') { \
84 found = 1; \
85 break; \
86 } \
87 } \
88 if (!found) \
89 goto done; \
90 } while(0)
91
92int
93radix_to_creds(const char *buf, CREDENTIALS *creds)
94{
95 Buffer b;
96 u_char *space;
97 char c, version, *p;
98 u_int endTime, len;
99 int blen, ret;
100
101 ret = 0;
102 blen = strlen(buf);
103
104 /* sanity check for size */
105 if (blen > 8192)
106 return 0;
107
108 buffer_init(&b);
109 space = buffer_append_space(&b, blen);
110
111 /* check version and length! */
112 len = uudecode(buf, space, blen);
113 if (len < 1)
114 goto done;
115
116 version = buffer_get_char(&b);
117
118 GETSTRING(&b, creds->service, sizeof creds->service);
119 GETSTRING(&b, creds->instance, sizeof creds->instance);
120 GETSTRING(&b, creds->realm, sizeof creds->realm);
121 GETSTRING(&b, creds->pname, sizeof creds->pname);
122 GETSTRING(&b, creds->pinst, sizeof creds->pinst);
123
124 if (buffer_len(&b) == 0)
125 goto done;
126
127 /* Ignore possibly different realm. */
128 while (buffer_len(&b) > 0 && (c = buffer_get_char(&b)) != '\0')
129 ;
130
131 if (buffer_len(&b) == 0)
132 goto done;
133
134 creds->issue_date = buffer_get_int(&b);
135
136 endTime = buffer_get_int(&b);
137 creds->lifetime = krb_time_to_life(creds->issue_date, endTime);
138
139 len = buffer_len(&b);
140 if (len < sizeof(creds->session))
141 goto done;
142 memcpy(&creds->session, buffer_ptr(&b), sizeof(creds->session));
143 buffer_consume(&b, sizeof(creds->session));
144
145 creds->kvno = buffer_get_short(&b);
146
147 p = buffer_get_string(&b, &len);
148 if (len < 0 || len > sizeof(creds->ticket_st.dat))
149 goto done;
150 memcpy(&creds->ticket_st.dat, p, len);
151 creds->ticket_st.length = len;
152
153 ret = 1;
154done:
155 buffer_free(&b);
156 return ret;
157}
158#endif /* AFS */
diff --git a/radix.h b/radix.h
deleted file mode 100644
index e94e4acc6..000000000
--- a/radix.h
+++ /dev/null
@@ -1,28 +0,0 @@
1/* $OpenBSD: radix.h,v 1.4 2001/06/26 17:27:24 markus Exp $ */
2
3/*
4 * Copyright (c) 1999 Dug Song. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27int creds_to_radix(CREDENTIALS *, u_char *, size_t);
28int radix_to_creds(const char *, CREDENTIALS *);
diff --git a/readconf.c b/readconf.c
index 13987ffa7..0a1788ba0 100644
--- a/readconf.c
+++ b/readconf.c
@@ -79,6 +79,8 @@ RCSID("$OpenBSD: readconf.c,v 1.121 2003/09/01 18:15:50 markus Exp $");
79 RhostsRSAAuthentication yes 79 RhostsRSAAuthentication yes
80 StrictHostKeyChecking yes 80 StrictHostKeyChecking yes
81 KeepAlives no 81 KeepAlives no
82 ProtocolKeepAlives 0
83 SetupTimeOut 0
82 IdentityFile ~/.ssh/identity 84 IdentityFile ~/.ssh/identity
83 Port 22 85 Port 22
84 EscapeChar ~ 86 EscapeChar ~
@@ -105,6 +107,7 @@ typedef enum {
105 oClearAllForwardings, oNoHostAuthenticationForLocalhost, 107 oClearAllForwardings, oNoHostAuthenticationForLocalhost,
106 oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, 108 oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout,
107 oAddressFamily, oGssAuthentication, oGssDelegateCreds, 109 oAddressFamily, oGssAuthentication, oGssDelegateCreds,
110 oProtocolKeepAlives, oSetupTimeOut,
108 oDeprecated, oUnsupported 111 oDeprecated, oUnsupported
109} OpCodes; 112} OpCodes;
110 113
@@ -191,6 +194,8 @@ static struct {
191 { "rekeylimit", oRekeyLimit }, 194 { "rekeylimit", oRekeyLimit },
192 { "connecttimeout", oConnectTimeout }, 195 { "connecttimeout", oConnectTimeout },
193 { "addressfamily", oAddressFamily }, 196 { "addressfamily", oAddressFamily },
197 { "protocolkeepalives", oProtocolKeepAlives },
198 { "setuptimeout", oSetupTimeOut },
194 { NULL, oBadOption } 199 { NULL, oBadOption }
195}; 200};
196 201
@@ -433,6 +438,14 @@ parse_flag:
433 intptr = &options->no_host_authentication_for_localhost; 438 intptr = &options->no_host_authentication_for_localhost;
434 goto parse_flag; 439 goto parse_flag;
435 440
441 case oProtocolKeepAlives:
442 intptr = &options->protocolkeepalives;
443 goto parse_int;
444
445 case oSetupTimeOut:
446 intptr = &options->setuptimeout;
447 goto parse_int;
448
436 case oNumberOfPasswordPrompts: 449 case oNumberOfPasswordPrompts:
437 intptr = &options->number_of_password_prompts; 450 intptr = &options->number_of_password_prompts;
438 goto parse_int; 451 goto parse_int;
@@ -824,6 +837,8 @@ initialize_options(Options * options)
824 options->strict_host_key_checking = -1; 837 options->strict_host_key_checking = -1;
825 options->compression = -1; 838 options->compression = -1;
826 options->keepalives = -1; 839 options->keepalives = -1;
840 options->protocolkeepalives = -1;
841 options->setuptimeout = -1;
827 options->compression_level = -1; 842 options->compression_level = -1;
828 options->port = -1; 843 options->port = -1;
829 options->address_family = -1; 844 options->address_family = -1;
@@ -906,6 +921,14 @@ fill_default_options(Options * options)
906 options->compression = 0; 921 options->compression = 0;
907 if (options->keepalives == -1) 922 if (options->keepalives == -1)
908 options->keepalives = 1; 923 options->keepalives = 1;
924 if (options->protocolkeepalives == -1){
925 if (options->batch_mode == 1) /*in batch mode, default is 5mins */
926 options->protocolkeepalives = 300;
927 else options->protocolkeepalives = 0;}
928 if (options->setuptimeout == -1){
929 if (options->batch_mode == 1) /*in batch mode, default is 5mins */
930 options->setuptimeout = 300;
931 else options->setuptimeout = 0;}
909 if (options->compression_level == -1) 932 if (options->compression_level == -1)
910 options->compression_level = 6; 933 options->compression_level = 6;
911 if (options->port == -1) 934 if (options->port == -1)
diff --git a/readconf.h b/readconf.h
index 60287f710..56cbec539 100644
--- a/readconf.h
+++ b/readconf.h
@@ -53,6 +53,8 @@ typedef struct {
53 int compression_level; /* Compression level 1 (fast) to 9 53 int compression_level; /* Compression level 1 (fast) to 9
54 * (best). */ 54 * (best). */
55 int keepalives; /* Set SO_KEEPALIVE. */ 55 int keepalives; /* Set SO_KEEPALIVE. */
56 int protocolkeepalives; /* ssh-level keepalives */
57 int setuptimeout; /* timeout in the protocol banner exchange */
56 LogLevel log_level; /* Level for logging. */ 58 LogLevel log_level; /* Level for logging. */
57 59
58 int port; /* Port to connect. */ 60 int port; /* Port to connect. */
diff --git a/regress/authorized_keys_root b/regress/authorized_keys_root
deleted file mode 100644
index 328537120..000000000
--- a/regress/authorized_keys_root
+++ /dev/null
@@ -1,2 +0,0 @@
1ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAt6ttBacbgvLPsF1VWWfT51t55/5Mj62Xp8EaoH5SNSaLiGIgrrja077lKEept75U4uKFUYU5JJX9GPE9A7Y43LXv+/A6Jm4rEj/U0s4H8tf0UmzVC3t6xh0sRK0hYVNILyoHnIAgdY8CmOiybw7p6DxJY8MRAehD3n9+kFcachU= root@xenon
21024 35 132789427207755621599908461558918671787816692978751485815532032934821830960131244604702969298486352138126114080367609979552547448841583955126231410604842765726397407176910594168641969541792069550006878863592030567875913190224374005367884774859544943329148178663694126456638431428703289837638970464685771819219 root@xenon
diff --git a/regress/copy.1 b/regress/copy.1
deleted file mode 100755
index 92d4d20f9..000000000
--- a/regress/copy.1
+++ /dev/null
Binary files differ
diff --git a/regress/copy.2 b/regress/copy.2
deleted file mode 100755
index 92d4d20f9..000000000
--- a/regress/copy.2
+++ /dev/null
Binary files differ
diff --git a/scard/.cvsignore b/scard/.cvsignore
index 5349d34ae..f3c7a7c5d 100644
--- a/scard/.cvsignore
+++ b/scard/.cvsignore
@@ -1,2 +1 @@
1Makefile Makefile
2Ssh.bin
diff --git a/scp.0 b/scp.0
index 8f4e813a4..2ebff48d0 100644
--- a/scp.0
+++ b/scp.0
@@ -1,4 +1,4 @@
1SCP(1) OpenBSD Reference Manual SCP(1) 1SCP(1) BSD General Commands Manual SCP(1)
2 2
3NAME 3NAME
4 scp - secure copy (remote file copy program) 4 scp - secure copy (remote file copy program)
@@ -41,8 +41,8 @@ DESCRIPTION
41 about their progress. This is helpful in debugging connection, 41 about their progress. This is helpful in debugging connection,
42 authentication, and configuration problems. 42 authentication, and configuration problems.
43 43
44 -B Selects batch mode (prevents asking for passwords or passphras- 44 -B Selects batch mode (prevents asking for passwords or
45 es). 45 passphrases).
46 46
47 -q Disables the progress meter. 47 -q Disables the progress meter.
48 48
@@ -55,7 +55,7 @@ DESCRIPTION
55 55
56 -P port 56 -P port
57 Specifies the port to connect to on the remote host. Note that 57 Specifies the port to connect to on the remote host. Note that
58 this option is written with a capital `P', because -p is already 58 this option is written with a capital M-bM-^@M-^XPM-bM-^@M-^Y, because -p is already
59 reserved for preserving the times and modes of the file in 59 reserved for preserving the times and modes of the file in
60 rcp(1). 60 rcp(1).
61 61
@@ -88,7 +88,7 @@ HISTORY
88 the University of California. 88 the University of California.
89 89
90AUTHORS 90AUTHORS
91 Timo Rinne <tri@iki.fi> and 91 Timo Rinne M-bM-^LM-)tri@iki.fiM-bM-^LM-* and
92 Tatu Ylonen <ylo@cs.hut.fi> 92 Tatu Ylonen M-bM-^LM-)ylo@cs.hut.fiM-bM-^LM-*
93 93
94OpenBSD 3.4 September 25, 1999 2 94BSD September 25, 1999 BSD
diff --git a/servconf.c b/servconf.c
index 58f49a2f4..71e28b3cb 100644
--- a/servconf.c
+++ b/servconf.c
@@ -110,7 +110,7 @@ fill_default_server_options(ServerOptions *options)
110{ 110{
111 /* Portable-specific options */ 111 /* Portable-specific options */
112 if (options->use_pam == -1) 112 if (options->use_pam == -1)
113 options->use_pam = 0; 113 options->use_pam = 1;
114 114
115 /* Standard Options */ 115 /* Standard Options */
116 if (options->protocol == SSH_PROTO_UNKNOWN) 116 if (options->protocol == SSH_PROTO_UNKNOWN)
diff --git a/serverloop.c b/serverloop.c
index a95390273..6dbb4fd12 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -610,7 +610,7 @@ server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg)
610 if (!channel_still_open()) 610 if (!channel_still_open())
611 break; 611 break;
612 if (!waiting_termination) { 612 if (!waiting_termination) {
613 const char *s = "Waiting for forwarded connections to terminate...\r\n"; 613 const char *s = "Waiting for forwarded connections to terminate... (press ~& to background)\r\n";
614 char *cp; 614 char *cp;
615 waiting_termination = 1; 615 waiting_termination = 1;
616 buffer_append(&stderr_buffer, s, strlen(s)); 616 buffer_append(&stderr_buffer, s, strlen(s));
diff --git a/session.c b/session.c
index 2898ac518..4497f5c0b 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.164 2003/09/18 08:49:45 markus Exp $"); 36RCSID("$OpenBSD: session.c,v 1.163 2003/08/31 13:29:05 markus Exp $");
37 37
38#include "ssh.h" 38#include "ssh.h"
39#include "ssh1.h" 39#include "ssh1.h"
@@ -798,9 +798,8 @@ void
798child_set_env(char ***envp, u_int *envsizep, const char *name, 798child_set_env(char ***envp, u_int *envsizep, const char *name,
799 const char *value) 799 const char *value)
800{ 800{
801 char **env;
802 u_int envsize;
803 u_int i, namelen; 801 u_int i, namelen;
802 char **env;
804 803
805 /* 804 /*
806 * If we're passed an uninitialized list, allocate a single null 805 * If we're passed an uninitialized list, allocate a single null
@@ -827,13 +826,12 @@ child_set_env(char ***envp, u_int *envsizep, const char *name,
827 xfree(env[i]); 826 xfree(env[i]);
828 } else { 827 } else {
829 /* New variable. Expand if necessary. */ 828 /* New variable. Expand if necessary. */
830 envsize = *envsizep; 829 if (i >= (*envsizep) - 1) {
831 if (i >= envsize - 1) { 830 if (*envsizep >= 1000)
832 if (envsize >= 1000) 831 fatal("child_set_env: too many env vars,"
833 fatal("child_set_env: too many env vars"); 832 " skipping: %.100s", name);
834 envsize += 50; 833 (*envsizep) += 50;
835 env = (*envp) = xrealloc(env, envsize * sizeof(char *)); 834 env = (*envp) = xrealloc(env, (*envsizep) * sizeof(char *));
836 *envsizep = envsize;
837 } 835 }
838 /* Need to set the NULL pointer at end of array beyond the new slot. */ 836 /* Need to set the NULL pointer at end of array beyond the new slot. */
839 env[i + 1] = NULL; 837 env[i + 1] = NULL;
@@ -914,7 +912,8 @@ static void
914read_etc_default_login(char ***env, u_int *envsize, uid_t uid) 912read_etc_default_login(char ***env, u_int *envsize, uid_t uid)
915{ 913{
916 char **tmpenv = NULL, *var; 914 char **tmpenv = NULL, *var;
917 u_int i, tmpenvsize = 0; 915 u_int i;
916 size_t tmpenvsize = 0;
918 mode_t mask; 917 mode_t mask;
919 918
920 /* 919 /*
@@ -924,9 +923,6 @@ read_etc_default_login(char ***env, u_int *envsize, uid_t uid)
924 */ 923 */
925 read_environment_file(&tmpenv, &tmpenvsize, "/etc/default/login"); 924 read_environment_file(&tmpenv, &tmpenvsize, "/etc/default/login");
926 925
927 if (tmpenv == NULL)
928 return;
929
930 if (uid == 0) 926 if (uid == 0)
931 var = child_get_env(tmpenv, "SUPATH"); 927 var = child_get_env(tmpenv, "SUPATH");
932 else 928 else
diff --git a/sftp-int.c b/sftp-int.c
index c93eaabff..94299aa43 100644
--- a/sftp-int.c
+++ b/sftp-int.c
@@ -351,7 +351,6 @@ get_pathname(const char **cpp, char **path)
351 for (i = j = 0; i <= strlen(cp); i++) { 351 for (i = j = 0; i <= strlen(cp); i++) {
352 if (cp[i] == quot) { /* Found quote */ 352 if (cp[i] == quot) { /* Found quote */
353 (*path)[j] = '\0'; 353 (*path)[j] = '\0';
354 i++;
355 break; 354 break;
356 } 355 }
357 if (cp[i] == '\0') { /* End of string */ 356 if (cp[i] == '\0') { /* End of string */
diff --git a/sftp-server.0 b/sftp-server.0
index 3d3154ebb..fc57814f5 100644
--- a/sftp-server.0
+++ b/sftp-server.0
@@ -1,4 +1,4 @@
1SFTP-SERVER(8) OpenBSD System Manager's Manual SFTP-SERVER(8) 1SFTP-SERVER(8) BSD System ManagerM-bM-^@M-^Ys Manual SFTP-SERVER(8)
2 2
3NAME 3NAME
4 sftp-server - SFTP server subsystem 4 sftp-server - SFTP server subsystem
@@ -8,20 +8,20 @@ SYNOPSIS
8 8
9DESCRIPTION 9DESCRIPTION
10 sftp-server is a program that speaks the server side of SFTP protocol to 10 sftp-server is a program that speaks the server side of SFTP protocol to
11 stdout and expects client requests from stdin. sftp-server is not in- 11 stdout and expects client requests from stdin. sftp-server is not
12 tended to be called directly, but from sshd(8) using the Subsystem op- 12 intended to be called directly, but from sshd(8) using the Subsystem
13 tion. See sshd(8) for more information. 13 option. See sshd(8) for more information.
14 14
15SEE ALSO 15SEE ALSO
16 sftp(1), ssh(1), sshd(8) 16 sftp(1), ssh(1), sshd(8)
17 17
18 T. Ylonen, and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- 18 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-
19 filexfer-00.txt, January 2001, work in progress material. 19 filexfer-00.txt, January 2001, work in progress material.
20 20
21AUTHORS 21AUTHORS
22 Markus Friedl <markus@openbsd.org> 22 Markus Friedl M-bM-^LM-)markus@openbsd.orgM-bM-^LM-*
23 23
24HISTORY 24HISTORY
25 sftp-server first appeared in OpenBSD 2.8 . 25 sftp-server first appeared in OpenBSD 2.8 .
26 26
27OpenBSD 3.4 August 30, 2000 1 27BSD August 30, 2000 BSD
diff --git a/sftp.0 b/sftp.0
index c3ae0096f..b72ea4700 100644
--- a/sftp.0
+++ b/sftp.0
@@ -1,4 +1,4 @@
1SFTP(1) OpenBSD Reference Manual SFTP(1) 1SFTP(1) BSD General Commands Manual SFTP(1)
2 2
3NAME 3NAME
4 sftp - secure file transfer program 4 sftp - secure file transfer program
@@ -15,8 +15,8 @@ DESCRIPTION
15 sftp is an interactive file transfer program, similar to ftp(1), which 15 sftp is an interactive file transfer program, similar to ftp(1), which
16 performs all operations over an encrypted ssh(1) transport. It may also 16 performs all operations over an encrypted ssh(1) transport. It may also
17 use many features of ssh, such as public key authentication and compres- 17 use many features of ssh, such as public key authentication and compres-
18 sion. sftp connects and logs into the specified host, then enters an in- 18 sion. sftp connects and logs into the specified host, then enters an
19 teractive command mode. 19 interactive command mode.
20 20
21 The second usage format will retrieve files automatically if a non-inter- 21 The second usage format will retrieve files automatically if a non-inter-
22 active authentication method is used; otherwise it will do so after suc- 22 active authentication method is used; otherwise it will do so after suc-
@@ -31,13 +31,13 @@ DESCRIPTION
31 sshd(8) and ssh-keygen(1) for details). The options are as follows: 31 sshd(8) and ssh-keygen(1) for details). The options are as follows:
32 32
33 -b batchfile 33 -b batchfile
34 Batch mode reads a series of commands from an input batchfile in- 34 Batch mode reads a series of commands from an input batchfile
35 stead of stdin. Since it lacks user interaction it should be 35 instead of stdin. Since it lacks user interaction it should be
36 used in conjunction with non-interactive authentication. sftp 36 used in conjunction with non-interactive authentication. sftp
37 will abort if any of the following commands fail: get, put, 37 will abort if any of the following commands fail: get, put,
38 rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, chgrp, 38 rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, chgrp,
39 lpwd and lmkdir. Termination on error can be suppressed on a 39 lpwd and lmkdir. Termination on error can be suppressed on a
40 command by command basis by prefixing the command with a `-' 40 command by command basis by prefixing the command with a M-bM-^@M-^X-M-bM-^@M-^Y
41 character (for example, -rm /tmp/blah*). 41 character (for example, -rm /tmp/blah*).
42 42
43 -o ssh_option 43 -o ssh_option
@@ -59,7 +59,7 @@ DESCRIPTION
59 files. Larger buffers require fewer round trips at the cost of 59 files. Larger buffers require fewer round trips at the cost of
60 higher memory consumption. The default is 32768 bytes. 60 higher memory consumption. The default is 32768 bytes.
61 61
62 -C Enables compression (via ssh's -C flag). 62 -C Enables compression (via sshM-bM-^@M-^Ys -C flag).
63 63
64 -F ssh_config 64 -F ssh_config
65 Specifies an alternative per-user configuration file for ssh(1). 65 Specifies an alternative per-user configuration file for ssh(1).
@@ -82,8 +82,8 @@ DESCRIPTION
82 82
83INTERACTIVE COMMANDS 83INTERACTIVE COMMANDS
84 Once in interactive mode, sftp understands a set of commands similar to 84 Once in interactive mode, sftp understands a set of commands similar to
85 those of ftp(1). Commands are case insensitive and pathnames may be en- 85 those of ftp(1). Commands are case insensitive and pathnames may be
86 closed in quotes if they contain spaces. 86 enclosed in quotes if they contain spaces.
87 87
88 bye Quit sftp. 88 bye Quit sftp.
89 89
@@ -108,7 +108,7 @@ INTERACTIVE COMMANDS
108 Retrieve the remote-path and store it on the local machine. If 108 Retrieve the remote-path and store it on the local machine. If
109 the local path name is not specified, it is given the same name 109 the local path name is not specified, it is given the same name
110 it has on the remote machine. If the -P flag is specified, then 110 it has on the remote machine. If the -P flag is specified, then
111 the file's full permission and access time are copied too. 111 the fileM-bM-^@M-^Ys full permission and access time are copied too.
112 112
113 help Display help text. 113 help Display help text.
114 114
@@ -140,10 +140,10 @@ INTERACTIVE COMMANDS
140 Toggle display of progress meter. 140 Toggle display of progress meter.
141 141
142 put [flags] local-path [remote-path] 142 put [flags] local-path [remote-path]
143 Upload local-path and store it on the remote machine. If the re- 143 Upload local-path and store it on the remote machine. If the
144 mote path name is not specified, it is given the same name it has 144 remote path name is not specified, it is given the same name it
145 on the local machine. If the -P flag is specified, then the 145 has on the local machine. If the -P flag is specified, then the
146 file's full permission and access time are copied too. 146 fileM-bM-^@M-^Ys full permission and access time are copied too.
147 147
148 pwd Display remote working directory. 148 pwd Display remote working directory.
149 149
@@ -175,7 +175,7 @@ SEE ALSO
175 scp(1), ssh(1), ssh-add(1), ssh-keygen(1), ssh_config(5), sftp-server(8), 175 scp(1), ssh(1), ssh-add(1), ssh-keygen(1), ssh_config(5), sftp-server(8),
176 sshd(8) 176 sshd(8)
177 177
178 T. Ylonen, and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- 178 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-
179 filexfer-00.txt, January 2001, work in progress material. 179 filexfer-00.txt, January 2001, work in progress material.
180 180
181OpenBSD 3.4 February 4, 2001 3 181BSD February 4, 2001 BSD
diff --git a/ssh-add.0 b/ssh-add.0
index dfeffe154..95929d4d3 100644
--- a/ssh-add.0
+++ b/ssh-add.0
@@ -1,4 +1,4 @@
1SSH-ADD(1) OpenBSD Reference Manual SSH-ADD(1) 1SSH-ADD(1) BSD General Commands Manual SSH-ADD(1)
2 2
3NAME 3NAME
4 ssh-add - adds RSA or DSA identities to the authentication agent 4 ssh-add - adds RSA or DSA identities to the authentication agent
@@ -9,12 +9,12 @@ SYNOPSIS
9 ssh-add -e reader 9 ssh-add -e reader
10 10
11DESCRIPTION 11DESCRIPTION
12 ssh-add adds RSA or DSA identities to the authentication agent, ssh- 12 ssh-add adds RSA or DSA identities to the authentication agent,
13 agent(1). When run without arguments, it adds the files 13 ssh-agent(1). When run without arguments, it adds the files
14 $HOME/.ssh/id_rsa, $HOME/.ssh/id_dsa and $HOME/.ssh/identity. Alterna- 14 $HOME/.ssh/id_rsa, $HOME/.ssh/id_dsa and $HOME/.ssh/identity. Alterna-
15 tive file names can be given on the command line. If any file requires a 15 tive file names can be given on the command line. If any file requires a
16 passphrase, ssh-add asks for the passphrase from the user. The 16 passphrase, ssh-add asks for the passphrase from the user. The
17 passphrase is read from the user's tty. ssh-add retries the last 17 passphrase is read from the userM-bM-^@M-^Ys tty. ssh-add retries the last
18 passphrase if multiple identity files are given. 18 passphrase if multiple identity files are given.
19 19
20 The authentication agent must be running and must be an ancestor of the 20 The authentication agent must be running and must be an ancestor of the
@@ -99,4 +99,4 @@ AUTHORS
99 ated OpenSSH. Markus Friedl contributed the support for SSH protocol 99 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
100 versions 1.5 and 2.0. 100 versions 1.5 and 2.0.
101 101
102OpenBSD 3.4 September 25, 1999 2 102BSD September 25, 1999 BSD
diff --git a/ssh-agent.0 b/ssh-agent.0
index 147f91e76..990cbc29b 100644
--- a/ssh-agent.0
+++ b/ssh-agent.0
@@ -1,4 +1,4 @@
1SSH-AGENT(1) OpenBSD Reference Manual SSH-AGENT(1) 1SSH-AGENT(1) BSD General Commands Manual SSH-AGENT(1)
2 2
3NAME 3NAME
4 ssh-agent - authentication agent 4 ssh-agent - authentication agent
@@ -18,14 +18,14 @@ DESCRIPTION
18 The options are as follows: 18 The options are as follows:
19 19
20 -a bind_address 20 -a bind_address
21 Bind the agent to the unix-domain socket bind_address. The de- 21 Bind the agent to the unix-domain socket bind_address. The
22 fault is /tmp/ssh-XXXXXXXX/agent.<ppid>. 22 default is /tmp/ssh-XXXXXXXX/agent.<ppid>.
23 23
24 -c Generate C-shell commands on stdout. This is the default if 24 -c Generate C-shell commands on stdout. This is the default if
25 SHELL looks like it's a csh style of shell. 25 SHELL looks like itM-bM-^@M-^Ys a csh style of shell.
26 26
27 -s Generate Bourne shell commands on stdout. This is the default if 27 -s Generate Bourne shell commands on stdout. This is the default if
28 SHELL does not look like it's a csh style of shell. 28 SHELL does not look like itM-bM-^@M-^Ys a csh style of shell.
29 29
30 -k Kill the current agent (given by the SSH_AGENT_PID environment 30 -k Kill the current agent (given by the SSH_AGENT_PID environment
31 variable). 31 variable).
@@ -34,8 +34,8 @@ DESCRIPTION
34 Set a default value for the maximum lifetime of identities added 34 Set a default value for the maximum lifetime of identities added
35 to the agent. The lifetime may be specified in seconds or in a 35 to the agent. The lifetime may be specified in seconds or in a
36 time format specified in sshd(8). A lifetime specified for an 36 time format specified in sshd(8). A lifetime specified for an
37 identity with ssh-add(1) overrides this value. Without this op- 37 identity with ssh-add(1) overrides this value. Without this
38 tion the default maximum lifetime is forever. 38 option the default maximum lifetime is forever.
39 39
40 -d Debug mode. When this option is specified ssh-agent will not 40 -d Debug mode. When this option is specified ssh-agent will not
41 fork. 41 fork.
@@ -53,7 +53,7 @@ DESCRIPTION
53 these identities. ssh-add -l displays the identities currently held by 53 these identities. ssh-add -l displays the identities currently held by
54 the agent. 54 the agent.
55 55
56 The idea is that the agent is run in the user's local PC, laptop, or ter- 56 The idea is that the agent is run in the userM-bM-^@M-^Ys local PC, laptop, or ter-
57 minal. Authentication data need not be stored on any other machine, and 57 minal. Authentication data need not be stored on any other machine, and
58 authentication passphrases never go over the network. However, the con- 58 authentication passphrases never go over the network. However, the con-
59 nection to the agent is forwarded over SSH remote logins, and the user 59 nection to the agent is forwarded over SSH remote logins, and the user
@@ -67,17 +67,17 @@ DESCRIPTION
67 looks at these variables and uses them to establish a connection to the 67 looks at these variables and uses them to establish a connection to the
68 agent. 68 agent.
69 69
70 The agent will never send a private key over its request channel. In- 70 The agent will never send a private key over its request channel.
71 stead, operations that require a private key will be performed by the 71 Instead, operations that require a private key will be performed by the
72 agent, and the result will be returned to the requester. This way, pri- 72 agent, and the result will be returned to the requester. This way, pri-
73 vate keys are not exposed to clients using the agent. 73 vate keys are not exposed to clients using the agent.
74 74
75 A unix-domain socket is created and the name of this socket is stored in 75 A unix-domain socket is created and the name of this socket is stored in
76 the SSH_AUTH_SOCK environment variable. The socket is made accessible 76 the SSH_AUTH_SOCK environment variable. The socket is made accessible
77 only to the current user. This method is easily abused by root or anoth- 77 only to the current user. This method is easily abused by root or
78 er instance of the same user. 78 another instance of the same user.
79 79
80 The SSH_AGENT_PID environment variable holds the agent's process ID. 80 The SSH_AGENT_PID environment variable holds the agentM-bM-^@M-^Ys process ID.
81 81
82 The agent exits automatically when the command given on the command line 82 The agent exits automatically when the command given on the command line
83 terminates. 83 terminates.
@@ -111,4 +111,4 @@ AUTHORS
111 ated OpenSSH. Markus Friedl contributed the support for SSH protocol 111 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
112 versions 1.5 and 2.0. 112 versions 1.5 and 2.0.
113 113
114OpenBSD 3.4 September 25, 1999 2 114BSD September 25, 1999 BSD
diff --git a/ssh-agent.c b/ssh-agent.c
index e1e6cae9b..c05c61468 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -35,7 +35,7 @@
35 35
36#include "includes.h" 36#include "includes.h"
37#include "openbsd-compat/sys-queue.h" 37#include "openbsd-compat/sys-queue.h"
38RCSID("$OpenBSD: ssh-agent.c,v 1.112 2003/09/18 08:49:45 markus Exp $"); 38RCSID("$OpenBSD: ssh-agent.c,v 1.111 2003/06/12 19:12:03 markus Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41#include <openssl/md5.h> 41#include <openssl/md5.h>
@@ -784,7 +784,7 @@ process_message(SocketEntry *e)
784static void 784static void
785new_socket(sock_type type, int fd) 785new_socket(sock_type type, int fd)
786{ 786{
787 u_int i, old_alloc, new_alloc; 787 u_int i, old_alloc;
788 788
789 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) 789 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0)
790 error("fcntl O_NONBLOCK: %s", strerror(errno)); 790 error("fcntl O_NONBLOCK: %s", strerror(errno));
@@ -795,26 +795,25 @@ new_socket(sock_type type, int fd)
795 for (i = 0; i < sockets_alloc; i++) 795 for (i = 0; i < sockets_alloc; i++)
796 if (sockets[i].type == AUTH_UNUSED) { 796 if (sockets[i].type == AUTH_UNUSED) {
797 sockets[i].fd = fd; 797 sockets[i].fd = fd;
798 sockets[i].type = type;
798 buffer_init(&sockets[i].input); 799 buffer_init(&sockets[i].input);
799 buffer_init(&sockets[i].output); 800 buffer_init(&sockets[i].output);
800 buffer_init(&sockets[i].request); 801 buffer_init(&sockets[i].request);
801 sockets[i].type = type;
802 return; 802 return;
803 } 803 }
804 old_alloc = sockets_alloc; 804 old_alloc = sockets_alloc;
805 new_alloc = sockets_alloc + 10; 805 sockets_alloc += 10;
806 if (sockets) 806 if (sockets)
807 sockets = xrealloc(sockets, new_alloc * sizeof(sockets[0])); 807 sockets = xrealloc(sockets, sockets_alloc * sizeof(sockets[0]));
808 else 808 else
809 sockets = xmalloc(new_alloc * sizeof(sockets[0])); 809 sockets = xmalloc(sockets_alloc * sizeof(sockets[0]));
810 for (i = old_alloc; i < new_alloc; i++) 810 for (i = old_alloc; i < sockets_alloc; i++)
811 sockets[i].type = AUTH_UNUSED; 811 sockets[i].type = AUTH_UNUSED;
812 sockets_alloc = new_alloc; 812 sockets[old_alloc].type = type;
813 sockets[old_alloc].fd = fd; 813 sockets[old_alloc].fd = fd;
814 buffer_init(&sockets[old_alloc].input); 814 buffer_init(&sockets[old_alloc].input);
815 buffer_init(&sockets[old_alloc].output); 815 buffer_init(&sockets[old_alloc].output);
816 buffer_init(&sockets[old_alloc].request); 816 buffer_init(&sockets[old_alloc].request);
817 sockets[old_alloc].type = type;
818} 817}
819 818
820static int 819static int
diff --git a/ssh-dss.h b/ssh-dss.h
deleted file mode 100644
index 94961b1e8..000000000
--- a/ssh-dss.h
+++ /dev/null
@@ -1,32 +0,0 @@
1/* $OpenBSD: ssh-dss.h,v 1.6 2002/02/24 19:14:59 markus Exp $ */
2
3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26#ifndef DSA_H
27#define DSA_H
28
29int ssh_dss_sign(Key *, u_char **, u_int *, u_char *, u_int);
30int ssh_dss_verify(Key *, u_char *, u_int, u_char *, u_int);
31
32#endif
diff --git a/ssh-keygen.0 b/ssh-keygen.0
index ff3848cfd..2db957554 100644
--- a/ssh-keygen.0
+++ b/ssh-keygen.0
@@ -1,4 +1,4 @@
1SSH-KEYGEN(1) OpenBSD Reference Manual SSH-KEYGEN(1) 1SSH-KEYGEN(1) BSD General Commands Manual SSH-KEYGEN(1)
2 2
3NAME 3NAME
4 ssh-keygen - authentication key generation, management and conversion 4 ssh-keygen - authentication key generation, management and conversion
@@ -35,17 +35,17 @@ DESCRIPTION
35 35
36 Normally this program generates the key and asks for a file in which to 36 Normally this program generates the key and asks for a file in which to
37 store the private key. The public key is stored in a file with the same 37 store the private key. The public key is stored in a file with the same
38 name but ``.pub'' appended. The program also asks for a passphrase. The 38 name but M-bM-^@M-^\.pubM-bM-^@M-^] appended. The program also asks for a passphrase. The
39 passphrase may be empty to indicate no passphrase (host keys must have an 39 passphrase may be empty to indicate no passphrase (host keys must have an
40 empty passphrase), or it may be a string of arbitrary length. A 40 empty passphrase), or it may be a string of arbitrary length. A
41 passphrase is similar to a password, except it can be a phrase with a se- 41 passphrase is similar to a password, except it can be a phrase with a
42 ries of words, punctuation, numbers, whitespace, or any string of charac- 42 series of words, punctuation, numbers, whitespace, or any string of char-
43 ters you want. Good passphrases are 10-30 characters long, are not sim- 43 acters you want. Good passphrases are 10-30 characters long, are not
44 ple sentences or otherwise easily guessable (English prose has only 1-2 44 simple sentences or otherwise easily guessable (English prose has only
45 bits of entropy per character, and provides very bad passphrases), and 45 1-2 bits of entropy per character, and provides very bad passphrases),
46 contain a mix of upper and lowercase letters, numbers, and non-alphanu- 46 and contain a mix of upper and lowercase letters, numbers, and non-
47 meric characters. The passphrase can be changed later by using the -p 47 alphanumeric characters. The passphrase can be changed later by using
48 option. 48 the -p option.
49 49
50 There is no way to recover a lost passphrase. If the passphrase is lost 50 There is no way to recover a lost passphrase. If the passphrase is lost
51 or forgotten, a new key must be generated and copied to the corresponding 51 or forgotten, a new key must be generated and copied to the corresponding
@@ -54,8 +54,8 @@ DESCRIPTION
54 For RSA1 keys, there is also a comment field in the key file that is only 54 For RSA1 keys, there is also a comment field in the key file that is only
55 for convenience to the user to help identify the key. The comment can 55 for convenience to the user to help identify the key. The comment can
56 tell what the key is for, or whatever is useful. The comment is initial- 56 tell what the key is for, or whatever is useful. The comment is initial-
57 ized to ``user@host'' when the key is created, but can be changed using 57 ized to M-bM-^@M-^\user@hostM-bM-^@M-^] when the key is created, but can be changed using the
58 the -c option. 58 -c option.
59 59
60 After a key is generated, instructions below detail where the keys should 60 After a key is generated, instructions below detail where the keys should
61 be placed to be activated. 61 be placed to be activated.
@@ -77,7 +77,7 @@ DESCRIPTION
77 the passphrase if the key has one, and for the new comment. 77 the passphrase if the key has one, and for the new comment.
78 78
79 -e This option will read a private or public OpenSSH key file and 79 -e This option will read a private or public OpenSSH key file and
80 print the key in a `SECSH Public Key File Format' to stdout. 80 print the key in a M-bM-^@M-^XSECSH Public Key File FormatM-bM-^@M-^Y to stdout.
81 This option allows exporting keys for use by several commercial 81 This option allows exporting keys for use by several commercial
82 SSH implementations. 82 SSH implementations.
83 83
@@ -88,8 +88,8 @@ DESCRIPTION
88 88
89 -i This option will read an unencrypted private (or public) key file 89 -i This option will read an unencrypted private (or public) key file
90 in SSH2-compatible format and print an OpenSSH compatible private 90 in SSH2-compatible format and print an OpenSSH compatible private
91 (or public) key to stdout. ssh-keygen also reads the `SECSH 91 (or public) key to stdout. ssh-keygen also reads the M-bM-^@M-^XSECSH
92 Public Key File Format'. This option allows importing keys from 92 Public Key File FormatM-bM-^@M-^Y. This option allows importing keys from
93 several commercial SSH implementations. 93 several commercial SSH implementations.
94 94
95 -l Show fingerprint of specified public key file. Private RSA1 keys 95 -l Show fingerprint of specified public key file. Private RSA1 keys
@@ -108,8 +108,8 @@ DESCRIPTION
108 108
109 -t type 109 -t type
110 Specifies the type of the key to create. The possible values are 110 Specifies the type of the key to create. The possible values are
111 ``rsa1'' for protocol version 1 and ``rsa'' or ``dsa'' for proto- 111 M-bM-^@M-^\rsa1M-bM-^@M-^] for protocol version 1 and M-bM-^@M-^\rsaM-bM-^@M-^] or M-bM-^@M-^\dsaM-bM-^@M-^] for protocol
112 col version 2. 112 version 2.
113 113
114 -B Show the bubblebabble digest of specified private or public key 114 -B Show the bubblebabble digest of specified private or public key
115 file. 115 file.
@@ -155,9 +155,9 @@ DESCRIPTION
155MODULI GENERATION 155MODULI GENERATION
156 ssh-keygen may be used to generate groups for the Diffie-Hellman Group 156 ssh-keygen may be used to generate groups for the Diffie-Hellman Group
157 Exchange (DH-GEX) protocol. Generating these groups is a two-step pro- 157 Exchange (DH-GEX) protocol. Generating these groups is a two-step pro-
158 cess: first, candidate primes are generated using a fast, but memory in- 158 cess: first, candidate primes are generated using a fast, but memory
159 tensive process. These candidate primes are then tested for suitability 159 intensive process. These candidate primes are then tested for suitabil-
160 (a CPU-intensive process). 160 ity (a CPU-intensive process).
161 161
162 Generation of primes is performed using the -G option. The desired 162 Generation of primes is performed using the -G option. The desired
163 length of the primes may be specified by the -b option. For example: 163 length of the primes may be specified by the -b option. For example:
@@ -188,8 +188,8 @@ MODULI GENERATION
188FILES 188FILES
189 $HOME/.ssh/identity 189 $HOME/.ssh/identity
190 Contains the protocol version 1 RSA authentication identity of 190 Contains the protocol version 1 RSA authentication identity of
191 the user. This file should not be readable by anyone but the us- 191 the user. This file should not be readable by anyone but the
192 er. It is possible to specify a passphrase when generating the 192 user. It is possible to specify a passphrase when generating the
193 key; that passphrase will be used to encrypt the private part of 193 key; that passphrase will be used to encrypt the private part of
194 this file using 3DES. This file is not automatically accessed by 194 this file using 3DES. This file is not automatically accessed by
195 ssh-keygen but it is offered as the default file for the private 195 ssh-keygen but it is offered as the default file for the private
@@ -204,8 +204,8 @@ FILES
204 204
205 $HOME/.ssh/id_dsa 205 $HOME/.ssh/id_dsa
206 Contains the protocol version 2 DSA authentication identity of 206 Contains the protocol version 2 DSA authentication identity of
207 the user. This file should not be readable by anyone but the us- 207 the user. This file should not be readable by anyone but the
208 er. It is possible to specify a passphrase when generating the 208 user. It is possible to specify a passphrase when generating the
209 key; that passphrase will be used to encrypt the private part of 209 key; that passphrase will be used to encrypt the private part of
210 this file using 3DES. This file is not automatically accessed by 210 this file using 3DES. This file is not automatically accessed by
211 ssh-keygen but it is offered as the default file for the private 211 ssh-keygen but it is offered as the default file for the private
@@ -220,8 +220,8 @@ FILES
220 220
221 $HOME/.ssh/id_rsa 221 $HOME/.ssh/id_rsa
222 Contains the protocol version 2 RSA authentication identity of 222 Contains the protocol version 2 RSA authentication identity of
223 the user. This file should not be readable by anyone but the us- 223 the user. This file should not be readable by anyone but the
224 er. It is possible to specify a passphrase when generating the 224 user. It is possible to specify a passphrase when generating the
225 key; that passphrase will be used to encrypt the private part of 225 key; that passphrase will be used to encrypt the private part of
226 this file using 3DES. This file is not automatically accessed by 226 this file using 3DES. This file is not automatically accessed by
227 ssh-keygen but it is offered as the default file for the private 227 ssh-keygen but it is offered as the default file for the private
@@ -241,14 +241,14 @@ FILES
241SEE ALSO 241SEE ALSO
242 ssh(1), ssh-add(1), ssh-agent(1), moduli(5), sshd(8) 242 ssh(1), ssh-add(1), ssh-agent(1), moduli(5), sshd(8)
243 243
244 J. Galbraith, and R. Thayer, SECSH Public Key File Format, draft-ietf- 244 J. Galbraith and R. Thayer, SECSH Public Key File Format, draft-ietf-
245 secsh-publickeyfile-01.txt, March 2001, work in progress material. 245 secsh-publickeyfile-01.txt, March 2001, work in progress material.
246 246
247AUTHORS 247AUTHORS
248 OpenSSH is a derivative of the original and free ssh 1.2.12 release by 248 OpenSSH is a derivative of the original and free ssh 1.2.12 release by
249 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo 249 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo
250 de Raadt and Dug Song removed many bugs, re-added newer features and 250 de Raadt and Dug Song removed many bugs, re-added newer features and cre-
251 created OpenSSH. Markus Friedl contributed the support for SSH protocol 251 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
252 versions 1.5 and 2.0. 252 versions 1.5 and 2.0.
253 253
254OpenBSD 3.4 September 25, 1999 4 254BSD September 25, 1999 BSD
diff --git a/ssh-keyscan.0 b/ssh-keyscan.0
index 67dbc1152..23d9f943c 100644
--- a/ssh-keyscan.0
+++ b/ssh-keyscan.0
@@ -1,4 +1,4 @@
1SSH-KEYSCAN(1) OpenBSD Reference Manual SSH-KEYSCAN(1) 1SSH-KEYSCAN(1) BSD General Commands Manual SSH-KEYSCAN(1)
2 2
3NAME 3NAME
4 ssh-keyscan - gather ssh public keys 4 ssh-keyscan - gather ssh public keys
@@ -29,15 +29,14 @@ DESCRIPTION
29 Set the timeout for connection attempts. If timeout seconds have 29 Set the timeout for connection attempts. If timeout seconds have
30 elapsed since a connection was initiated to a host or since the 30 elapsed since a connection was initiated to a host or since the
31 last time anything was read from that host, then the connection 31 last time anything was read from that host, then the connection
32 is closed and the host in question considered unavailable. De- 32 is closed and the host in question considered unavailable.
33 fault is 5 seconds. 33 Default is 5 seconds.
34 34
35 -t type 35 -t type
36 Specifies the type of the key to fetch from the scanned hosts. 36 Specifies the type of the key to fetch from the scanned hosts.
37 The possible values are ``rsa1'' for protocol version 1 and 37 The possible values are M-bM-^@M-^\rsa1M-bM-^@M-^] for protocol version 1 and M-bM-^@M-^\rsaM-bM-^@M-^]
38 ``rsa'' or ``dsa'' for protocol version 2. Multiple values may 38 or M-bM-^@M-^\dsaM-bM-^@M-^] for protocol version 2. Multiple values may be speci-
39 be specified by separating them with commas. The default is 39 fied by separating them with commas. The default is M-bM-^@M-^\rsa1M-bM-^@M-^].
40 ``rsa1''.
41 40
42 -f filename 41 -f filename
43 Read hosts or addrlist namelist pairs from this file, one per 42 Read hosts or addrlist namelist pairs from this file, one per
@@ -54,9 +53,9 @@ DESCRIPTION
54SECURITY 53SECURITY
55 If a ssh_known_hosts file is constructed using ssh-keyscan without veri- 54 If a ssh_known_hosts file is constructed using ssh-keyscan without veri-
56 fying the keys, users will be vulnerable to attacks. On the other hand, 55 fying the keys, users will be vulnerable to attacks. On the other hand,
57 if the security model allows such a risk, ssh-keyscan can help in the de- 56 if the security model allows such a risk, ssh-keyscan can help in the
58 tection of tampered keyfiles or man in the middle attacks which have be- 57 detection of tampered keyfiles or man in the middle attacks which have
59 gun after the ssh_known_hosts file was created. 58 begun after the ssh_known_hosts file was created.
60 59
61FILES 60FILES
62 Input format: 61 Input format:
@@ -71,7 +70,7 @@ FILES
71 70
72 host-or-namelist keytype base64-encoded-key 71 host-or-namelist keytype base64-encoded-key
73 72
74 Where keytype is either ``ssh-rsa'' or ``ssh-dss''. 73 Where keytype is either M-bM-^@M-^\ssh-rsaM-bM-^@M-^] or M-bM-^@M-^\ssh-dssM-bM-^@M-^].
75 74
76 /etc/ssh/ssh_known_hosts 75 /etc/ssh/ssh_known_hosts
77 76
@@ -90,8 +89,8 @@ SEE ALSO
90 ssh(1), sshd(8) 89 ssh(1), sshd(8)
91 90
92AUTHORS 91AUTHORS
93 David Mazieres <dm@lcs.mit.edu> wrote the initial version, and 92 David Mazieres M-bM-^LM-)dm@lcs.mit.eduM-bM-^LM-* wrote the initial version, and
94 Wayne Davison <wayned@users.sourceforge.net> added support for protocol 93 Wayne Davison M-bM-^LM-)wayned@users.sourceforge.netM-bM-^LM-* added support for protocol
95 version 2. 94 version 2.
96 95
97BUGS 96BUGS
@@ -100,4 +99,4 @@ BUGS
100 This is because it opens a connection to the ssh port, reads the public 99 This is because it opens a connection to the ssh port, reads the public
101 key, and drops the connection as soon as it gets the key. 100 key, and drops the connection as soon as it gets the key.
102 101
103OpenBSD 3.4 January 1, 1996 2 102BSD January 1, 1996 BSD
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 9fa8aaebc..e541b4709 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -345,7 +345,7 @@ keygrab_ssh2(con *c)
345{ 345{
346 int j; 346 int j;
347 347
348 packet_set_connection(c->c_fd, c->c_fd); 348 packet_set_connection(c->c_fd, c->c_fd, timeout);
349 enable_compat20(); 349 enable_compat20();
350 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA? 350 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA?
351 "ssh-dss": "ssh-rsa"; 351 "ssh-dss": "ssh-rsa";
diff --git a/ssh-keysign.0 b/ssh-keysign.0
index 22fdc7d7a..5e9c6f9c7 100644
--- a/ssh-keysign.0
+++ b/ssh-keysign.0
@@ -1,4 +1,4 @@
1SSH-KEYSIGN(8) OpenBSD System Manager's Manual SSH-KEYSIGN(8) 1SSH-KEYSIGN(8) BSD System ManagerM-bM-^@M-^Ys Manual SSH-KEYSIGN(8)
2 2
3NAME 3NAME
4 ssh-keysign - ssh helper program for hostbased authentication 4 ssh-keysign - ssh helper program for hostbased authentication
@@ -13,7 +13,7 @@ DESCRIPTION
13 13
14 ssh-keysign is disabled by default and can only be enabled in the global 14 ssh-keysign is disabled by default and can only be enabled in the global
15 client configuration file /etc/ssh/ssh_config by setting EnableSSHKeysign 15 client configuration file /etc/ssh/ssh_config by setting EnableSSHKeysign
16 to ``yes''. 16 to M-bM-^@M-^\yesM-bM-^@M-^].
17 17
18 ssh-keysign is not intended to be invoked by the user, but from ssh(1). 18 ssh-keysign is not intended to be invoked by the user, but from ssh(1).
19 See ssh(1) and sshd(8) for more information about hostbased authentica- 19 See ssh(1) and sshd(8) for more information about hostbased authentica-
@@ -37,6 +37,6 @@ HISTORY
37 ssh-keysign first appeared in OpenBSD 3.2. 37 ssh-keysign first appeared in OpenBSD 3.2.
38 38
39AUTHORS 39AUTHORS
40 Markus Friedl <markus@openbsd.org> 40 Markus Friedl M-bM-^LM-)markus@openbsd.orgM-bM-^LM-*
41 41
42OpenBSD 3.4 May 24, 2002 1 42BSD May 24, 2002 BSD
diff --git a/ssh-rsa.h b/ssh-rsa.h
deleted file mode 100644
index 7177a3f92..000000000
--- a/ssh-rsa.h
+++ /dev/null
@@ -1,32 +0,0 @@
1/* $OpenBSD: ssh-rsa.h,v 1.6 2002/02/24 19:14:59 markus Exp $ */
2
3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26#ifndef SSH_RSA_H
27#define SSH_RSA_H
28
29int ssh_rsa_sign(Key *, u_char **, u_int *, u_char *, u_int);
30int ssh_rsa_verify(Key *, u_char *, u_int, u_char *, u_int);
31
32#endif
diff --git a/ssh.0 b/ssh.0
index 50e6020d1..972ac45c7 100644
--- a/ssh.0
+++ b/ssh.0
@@ -1,4 +1,4 @@
1SSH(1) OpenBSD Reference Manual SSH(1) 1SSH(1) BSD General Commands Manual SSH(1)
2 2
3NAME 3NAME
4 ssh - OpenSSH SSH client (remote login program) 4 ssh - OpenSSH SSH client (remote login program)
@@ -14,20 +14,19 @@ SYNOPSIS
14DESCRIPTION 14DESCRIPTION
15 ssh (SSH client) is a program for logging into a remote machine and for 15 ssh (SSH client) is a program for logging into a remote machine and for
16 executing commands on a remote machine. It is intended to replace rlogin 16 executing commands on a remote machine. It is intended to replace rlogin
17 and rsh, and provide secure encrypted communications between two untrust- 17 and rsh, and provide secure encrypted communications between two
18 ed hosts over an insecure network. X11 connections and arbitrary TCP/IP 18 untrusted hosts over an insecure network. X11 connections and arbitrary
19 ports can also be forwarded over the secure channel. 19 TCP/IP ports can also be forwarded over the secure channel.
20 20
21 ssh connects and logs into the specified hostname. The user must prove 21 ssh connects and logs into the specified hostname. The user must prove
22 his/her identity to the remote machine using one of several methods de- 22 his/her identity to the remote machine using one of several methods
23 pending on the protocol version used: 23 depending on the protocol version used:
24 24
25 SSH protocol version 1 25 SSH protocol version 1
26
27 First, if the machine the user logs in from is listed in /etc/hosts.equiv 26 First, if the machine the user logs in from is listed in /etc/hosts.equiv
28 or /etc/shosts.equiv on the remote machine, and the user names are the 27 or /etc/shosts.equiv on the remote machine, and the user names are the
29 same on both sides, the user is immediately permitted to log in. Second, 28 same on both sides, the user is immediately permitted to log in. Second,
30 if .rhosts or .shosts exists in the user's home directory on the remote 29 if .rhosts or .shosts exists in the userM-bM-^@M-^Ys home directory on the remote
31 machine and contains a line containing the name of the client machine and 30 machine and contains a line containing the name of the client machine and
32 the name of the user on that machine, the user is permitted to log in. 31 the name of the user on that machine, the user is permitted to log in.
33 This form of authentication alone is normally not allowed by the server 32 This form of authentication alone is normally not allowed by the server
@@ -36,7 +35,7 @@ DESCRIPTION
36 The second authentication method is the rhosts or hosts.equiv method com- 35 The second authentication method is the rhosts or hosts.equiv method com-
37 bined with RSA-based host authentication. It means that if the login 36 bined with RSA-based host authentication. It means that if the login
38 would be permitted by $HOME/.rhosts, $HOME/.shosts, /etc/hosts.equiv, or 37 would be permitted by $HOME/.rhosts, $HOME/.shosts, /etc/hosts.equiv, or
39 /etc/shosts.equiv, and if additionally the server can verify the client's 38 /etc/shosts.equiv, and if additionally the server can verify the clientM-bM-^@M-^Ys
40 host key (see /etc/ssh/ssh_known_hosts and $HOME/.ssh/known_hosts in the 39 host key (see /etc/ssh/ssh_known_hosts and $HOME/.ssh/known_hosts in the
41 FILES section), only then login is permitted. This authentication method 40 FILES section), only then login is permitted. This authentication method
42 closes security holes due to IP spoofing, DNS spoofing and routing spoof- 41 closes security holes due to IP spoofing, DNS spoofing and routing spoof-
@@ -56,15 +55,15 @@ DESCRIPTION
56 which key pair it would like to use for authentication. The server 55 which key pair it would like to use for authentication. The server
57 checks if this key is permitted, and if so, sends the user (actually the 56 checks if this key is permitted, and if so, sends the user (actually the
58 ssh program running on behalf of the user) a challenge, a random number, 57 ssh program running on behalf of the user) a challenge, a random number,
59 encrypted by the user's public key. The challenge can only be decrypted 58 encrypted by the userM-bM-^@M-^Ys public key. The challenge can only be decrypted
60 using the proper private key. The user's client then decrypts the chal- 59 using the proper private key. The userM-bM-^@M-^Ys client then decrypts the chal-
61 lenge using the private key, proving that he/she knows the private key 60 lenge using the private key, proving that he/she knows the private key
62 but without disclosing it to the server. 61 but without disclosing it to the server.
63 62
64 ssh implements the RSA authentication protocol automatically. The user 63 ssh implements the RSA authentication protocol automatically. The user
65 creates his/her RSA key pair by running ssh-keygen(1). This stores the 64 creates his/her RSA key pair by running ssh-keygen(1). This stores the
66 private key in $HOME/.ssh/identity and the public key in 65 private key in $HOME/.ssh/identity and the public key in
67 $HOME/.ssh/identity.pub in the user's home directory. The user should 66 $HOME/.ssh/identity.pub in the userM-bM-^@M-^Ys home directory. The user should
68 then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home 67 then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home
69 directory on the remote machine (the authorized_keys file corresponds to 68 directory on the remote machine (the authorized_keys file corresponds to
70 the conventional $HOME/.rhosts file, and has one key per line, though the 69 the conventional $HOME/.rhosts file, and has one key per line, though the
@@ -81,7 +80,6 @@ DESCRIPTION
81 someone listening on the network. 80 someone listening on the network.
82 81
83 SSH protocol version 2 82 SSH protocol version 2
84
85 When a user connects using protocol version 2 similar authentication 83 When a user connects using protocol version 2 similar authentication
86 methods are available. Using the default values for 84 methods are available. Using the default values for
87 PreferredAuthentications, the client will try to authenticate first using 85 PreferredAuthentications, the client will try to authenticate first using
@@ -96,11 +94,11 @@ DESCRIPTION
96 server checks whether the matching public key is listed in 94 server checks whether the matching public key is listed in
97 $HOME/.ssh/authorized_keys and grants access if both the key is found and 95 $HOME/.ssh/authorized_keys and grants access if both the key is found and
98 the signature is correct. The session identifier is derived from a 96 the signature is correct. The session identifier is derived from a
99 shared Diffie-Hellman value and is only known to the client and the serv- 97 shared Diffie-Hellman value and is only known to the client and the
100 er. 98 server.
101 99
102 If public key authentication fails or is not available a password can be 100 If public key authentication fails or is not available a password can be
103 sent encrypted to the remote host for proving the user's identity. 101 sent encrypted to the remote host for proving the userM-bM-^@M-^Ys identity.
104 102
105 Additionally, ssh supports hostbased or challenge response authentica- 103 Additionally, ssh supports hostbased or challenge response authentica-
106 tion. 104 tion.
@@ -111,9 +109,8 @@ DESCRIPTION
111 ensuring the integrity of the connection. 109 ensuring the integrity of the connection.
112 110
113 Login session and remote execution 111 Login session and remote execution
114 112 When the userM-bM-^@M-^Ys identity has been accepted by the server, the server
115 When the user's identity has been accepted by the server, the server ei- 113 either executes the given command, or logs into the machine and gives the
116 ther executes the given command, or logs into the machine and gives the
117 user a normal shell on the remote machine. All communication with the 114 user a normal shell on the remote machine. All communication with the
118 remote command or shell will be automatically encrypted. 115 remote command or shell will be automatically encrypted.
119 116
@@ -122,15 +119,14 @@ DESCRIPTION
122 119
123 If no pseudo tty has been allocated, the session is transparent and can 120 If no pseudo tty has been allocated, the session is transparent and can
124 be used to reliably transfer binary data. On most systems, setting the 121 be used to reliably transfer binary data. On most systems, setting the
125 escape character to ``none'' will also make the session transparent even 122 escape character to M-bM-^@M-^\noneM-bM-^@M-^] will also make the session transparent even if
126 if a tty is used. 123 a tty is used.
127 124
128 The session terminates when the command or shell on the remote machine 125 The session terminates when the command or shell on the remote machine
129 exits and all X11 and TCP/IP connections have been closed. The exit sta- 126 exits and all X11 and TCP/IP connections have been closed. The exit sta-
130 tus of the remote program is returned as the exit status of ssh. 127 tus of the remote program is returned as the exit status of ssh.
131 128
132 Escape Characters 129 Escape Characters
133
134 When a pseudo terminal has been requested, ssh supports a number of func- 130 When a pseudo terminal has been requested, ssh supports a number of func-
135 tions through the use of an escape character. 131 tions through the use of an escape character.
136 132
@@ -140,7 +136,7 @@ DESCRIPTION
140 ter can be changed in configuration files using the EscapeChar configura- 136 ter can be changed in configuration files using the EscapeChar configura-
141 tion directive or on the command line by the -e option. 137 tion directive or on the command line by the -e option.
142 138
143 The supported escapes (assuming the default `~') are: 139 The supported escapes (assuming the default M-bM-^@M-^X~M-bM-^@M-^Y) are:
144 140
145 ~. Disconnect 141 ~. Disconnect
146 142
@@ -163,20 +159,19 @@ DESCRIPTION
163 version 2 and if the peer supports it) 159 version 2 and if the peer supports it)
164 160
165 X11 and TCP forwarding 161 X11 and TCP forwarding
166 162 If the ForwardX11 variable is set to M-bM-^@M-^\yesM-bM-^@M-^] (or, see the description of
167 If the ForwardX11 variable is set to ``yes'' (or, see the description of
168 the -X and -x options described later) and the user is using X11 (the 163 the -X and -x options described later) and the user is using X11 (the
169 DISPLAY environment variable is set), the connection to the X11 display 164 DISPLAY environment variable is set), the connection to the X11 display
170 is automatically forwarded to the remote side in such a way that any X11 165 is automatically forwarded to the remote side in such a way that any X11
171 programs started from the shell (or command) will go through the encrypt- 166 programs started from the shell (or command) will go through the
172 ed channel, and the connection to the real X server will be made from the 167 encrypted channel, and the connection to the real X server will be made
173 local machine. The user should not manually set DISPLAY. Forwarding of 168 from the local machine. The user should not manually set DISPLAY. For-
174 X11 connections can be configured on the command line or in configuration 169 warding of X11 connections can be configured on the command line or in
175 files. 170 configuration files.
176 171
177 The DISPLAY value set by ssh will point to the server machine, but with a 172 The DISPLAY value set by ssh will point to the server machine, but with a
178 display number greater than zero. This is normal, and happens because 173 display number greater than zero. This is normal, and happens because
179 ssh creates a ``proxy'' X server on the server machine for forwarding the 174 ssh creates a M-bM-^@M-^\proxyM-bM-^@M-^] X server on the server machine for forwarding the
180 connections over the encrypted channel. 175 connections over the encrypted channel.
181 176
182 ssh will also automatically set up Xauthority data on the server machine. 177 ssh will also automatically set up Xauthority data on the server machine.
@@ -186,10 +181,10 @@ DESCRIPTION
186 is opened. The real authentication cookie is never sent to the server 181 is opened. The real authentication cookie is never sent to the server
187 machine (and no cookies are sent in the plain). 182 machine (and no cookies are sent in the plain).
188 183
189 If the ForwardAgent variable is set to ``yes'' (or, see the description 184 If the ForwardAgent variable is set to M-bM-^@M-^\yesM-bM-^@M-^] (or, see the description of
190 of the -A and -a options described later) and the user is using an au- 185 the -A and -a options described later) and the user is using an authenti-
191 thentication agent, the connection to the agent is automatically forward- 186 cation agent, the connection to the agent is automatically forwarded to
192 ed to the remote side. 187 the remote side.
193 188
194 Forwarding of arbitrary TCP/IP connections over the secure channel can be 189 Forwarding of arbitrary TCP/IP connections over the secure channel can be
195 specified either on the command line or in a configuration file. One 190 specified either on the command line or in a configuration file. One
@@ -197,14 +192,13 @@ DESCRIPTION
197 electronic purse; another is going through firewalls. 192 electronic purse; another is going through firewalls.
198 193
199 Server authentication 194 Server authentication
200
201 ssh automatically maintains and checks a database containing identifica- 195 ssh automatically maintains and checks a database containing identifica-
202 tions for all hosts it has ever been used with. Host keys are stored in 196 tions for all hosts it has ever been used with. Host keys are stored in
203 $HOME/.ssh/known_hosts in the user's home directory. Additionally, the 197 $HOME/.ssh/known_hosts in the userM-bM-^@M-^Ys home directory. Additionally, the
204 file /etc/ssh/ssh_known_hosts is automatically checked for known hosts. 198 file /etc/ssh/ssh_known_hosts is automatically checked for known hosts.
205 Any new hosts are automatically added to the user's file. If a host's 199 Any new hosts are automatically added to the userM-bM-^@M-^Ys file. If a hostM-bM-^@M-^Ys
206 identification ever changes, ssh warns about this and disables password 200 identification ever changes, ssh warns about this and disables password
207 authentication to prevent a trojan horse from getting the user's pass- 201 authentication to prevent a trojan horse from getting the userM-bM-^@M-^Ys pass-
208 word. Another purpose of this mechanism is to prevent man-in-the-middle 202 word. Another purpose of this mechanism is to prevent man-in-the-middle
209 attacks which could otherwise be used to circumvent the encryption. The 203 attacks which could otherwise be used to circumvent the encryption. The
210 StrictHostKeyChecking option can be used to prevent logins to machines 204 StrictHostKeyChecking option can be used to prevent logins to machines
@@ -220,7 +214,7 @@ DESCRIPTION
220 214
221 Agent forwarding should be enabled with caution. Users with the 215 Agent forwarding should be enabled with caution. Users with the
222 ability to bypass file permissions on the remote host (for the 216 ability to bypass file permissions on the remote host (for the
223 agent's Unix-domain socket) can access the local agent through 217 agentM-bM-^@M-^Ys Unix-domain socket) can access the local agent through
224 the forwarded connection. An attacker cannot obtain key material 218 the forwarded connection. An attacker cannot obtain key material
225 from the agent, however they can perform operations on the keys 219 from the agent, however they can perform operations on the keys
226 that enable them to authenticate using the identities loaded into 220 that enable them to authenticate using the identities loaded into
@@ -246,19 +240,19 @@ DESCRIPTION
246 more information. 240 more information.
247 241
248 -e ch|^ch|none 242 -e ch|^ch|none
249 Sets the escape character for sessions with a pty (default: `~'). 243 Sets the escape character for sessions with a pty (default: M-bM-^@M-^X~M-bM-^@M-^Y).
250 The escape character is only recognized at the beginning of a 244 The escape character is only recognized at the beginning of a
251 line. The escape character followed by a dot (`.') closes the 245 line. The escape character followed by a dot (M-bM-^@M-^X.M-bM-^@M-^Y) closes the
252 connection, followed by control-Z suspends the connection, and 246 connection, followed by control-Z suspends the connection, and
253 followed by itself sends the escape character once. Setting the 247 followed by itself sends the escape character once. Setting the
254 character to ``none'' disables any escapes and makes the session 248 character to M-bM-^@M-^\noneM-bM-^@M-^] disables any escapes and makes the session
255 fully transparent. 249 fully transparent.
256 250
257 -f Requests ssh to go to background just before command execution. 251 -f Requests ssh to go to background just before command execution.
258 This is useful if ssh is going to ask for passwords or passphras- 252 This is useful if ssh is going to ask for passwords or
259 es, but the user wants it in the background. This implies -n. 253 passphrases, but the user wants it in the background. This
260 The recommended way to start X11 programs at a remote site is 254 implies -n. The recommended way to start X11 programs at a
261 with something like ssh -f host xterm. 255 remote site is with something like ssh -f host xterm.
262 256
263 -g Allows remote hosts to connect to local forwarded ports. 257 -g Allows remote hosts to connect to local forwarded ports.
264 258
@@ -266,15 +260,15 @@ DESCRIPTION
266 Selects a file from which the identity (private key) for RSA or 260 Selects a file from which the identity (private key) for RSA or
267 DSA authentication is read. The default is $HOME/.ssh/identity 261 DSA authentication is read. The default is $HOME/.ssh/identity
268 for protocol version 1, and $HOME/.ssh/id_rsa and 262 for protocol version 1, and $HOME/.ssh/id_rsa and
269 $HOME/.ssh/id_dsa for protocol version 2. Identity files may al- 263 $HOME/.ssh/id_dsa for protocol version 2. Identity files may
270 so be specified on a per-host basis in the configuration file. 264 also be specified on a per-host basis in the configuration file.
271 It is possible to have multiple -i options (and multiple identi- 265 It is possible to have multiple -i options (and multiple identi-
272 ties specified in configuration files). 266 ties specified in configuration files).
273 267
274 -I smartcard_device 268 -I smartcard_device
275 Specifies which smartcard device to use. The argument is the de- 269 Specifies which smartcard device to use. The argument is the
276 vice ssh should use to communicate with a smartcard used for 270 device ssh should use to communicate with a smartcard used for
277 storing the user's private RSA key. 271 storing the userM-bM-^@M-^Ys private RSA key.
278 272
279 -k Disables forwarding of Kerberos tickets. This may also be speci- 273 -k Disables forwarding of Kerberos tickets. This may also be speci-
280 fied on a per-host basis in the configuration file. 274 fied on a per-host basis in the configuration file.
@@ -290,12 +284,13 @@ DESCRIPTION
290 284
291 -n Redirects stdin from /dev/null (actually, prevents reading from 285 -n Redirects stdin from /dev/null (actually, prevents reading from
292 stdin). This must be used when ssh is run in the background. A 286 stdin). This must be used when ssh is run in the background. A
293 common trick is to use this to run X11 programs on a remote ma- 287 common trick is to use this to run X11 programs on a remote
294 chine. For example, ssh -n shadows.cs.hut.fi emacs & will start 288 machine. For example, ssh -n shadows.cs.hut.fi emacs & will
295 an emacs on shadows.cs.hut.fi, and the X11 connection will be au- 289 start an emacs on shadows.cs.hut.fi, and the X11 connection will
296 tomatically forwarded over an encrypted channel. The ssh program 290 be automatically forwarded over an encrypted channel. The ssh
297 will be put in the background. (This does not work if ssh needs 291 program will be put in the background. (This does not work if
298 to ask for a password or passphrase; see also the -f option.) 292 ssh needs to ask for a password or passphrase; see also the -f
293 option.)
299 294
300 -N Do not execute a remote command. This is useful for just for- 295 -N Do not execute a remote command. This is useful for just for-
301 warding ports (protocol version 2 only). 296 warding ports (protocol version 2 only).
@@ -313,10 +308,10 @@ DESCRIPTION
313 suppressed. 308 suppressed.
314 309
315 -s May be used to request invocation of a subsystem on the remote 310 -s May be used to request invocation of a subsystem on the remote
316 system. Subsystems are a feature of the SSH2 protocol which fa- 311 system. Subsystems are a feature of the SSH2 protocol which
317 cilitate the use of SSH as a secure transport for other applica- 312 facilitate the use of SSH as a secure transport for other appli-
318 tions (eg. sftp). The subsystem is specified as the remote com- 313 cations (eg. sftp). The subsystem is specified as the remote
319 mand. 314 command.
320 315
321 -t Force pseudo-tty allocation. This can be used to execute arbi- 316 -t Force pseudo-tty allocation. This can be used to execute arbi-
322 trary screen-based programs on a remote machine, which can be 317 trary screen-based programs on a remote machine, which can be
@@ -339,15 +334,15 @@ DESCRIPTION
339 334
340 X11 forwarding should be enabled with caution. Users with the 335 X11 forwarding should be enabled with caution. Users with the
341 ability to bypass file permissions on the remote host (for the 336 ability to bypass file permissions on the remote host (for the
342 user's X authorization database) can access the local X11 display 337 userM-bM-^@M-^Ys X authorization database) can access the local X11 display
343 through the forwarded connection. An attacker may then be able 338 through the forwarded connection. An attacker may then be able
344 to perform activities such as keystroke monitoring. 339 to perform activities such as keystroke monitoring.
345 340
346 -C Requests compression of all data (including stdin, stdout, 341 -C Requests compression of all data (including stdin, stdout,
347 stderr, and data for forwarded X11 and TCP/IP connections). The 342 stderr, and data for forwarded X11 and TCP/IP connections). The
348 compression algorithm is the same used by gzip(1), and the 343 compression algorithm is the same used by gzip(1), and the
349 ``level'' can be controlled by the CompressionLevel option for 344 M-bM-^@M-^\levelM-bM-^@M-^] can be controlled by the CompressionLevel option for pro-
350 protocol version 1. Compression is desirable on modem lines and 345 tocol version 1. Compression is desirable on modem lines and
351 other slow connections, but will only slow down things on fast 346 other slow connections, but will only slow down things on fast
352 networks. The default value can be set on a host-by-host basis 347 networks. The default value can be set on a host-by-host basis
353 in the configuration files; see the Compression option. 348 in the configuration files; see the Compression option.
@@ -382,7 +377,7 @@ DESCRIPTION
382 syntax: port/host/hostport 377 syntax: port/host/hostport
383 378
384 -D port 379 -D port
385 Specifies a local ``dynamic'' application-level port forwarding. 380 Specifies a local M-bM-^@M-^\dynamicM-bM-^@M-^] application-level port forwarding.
386 This works by allocating a socket to listen to port on the local 381 This works by allocating a socket to listen to port on the local
387 side, and whenever a connection is made to this port, the connec- 382 side, and whenever a connection is made to this port, the connec-
388 tion is forwarded over the secure channel, and the application 383 tion is forwarded over the secure channel, and the application
@@ -411,20 +406,20 @@ ENVIRONMENT
411 DISPLAY 406 DISPLAY
412 The DISPLAY variable indicates the location of the X11 server. 407 The DISPLAY variable indicates the location of the X11 server.
413 It is automatically set by ssh to point to a value of the form 408 It is automatically set by ssh to point to a value of the form
414 ``hostname:n'' where hostname indicates the host where the shell 409 M-bM-^@M-^\hostname:nM-bM-^@M-^] where hostname indicates the host where the shell
415 runs, and n is an integer >= 1. ssh uses this special value to 410 runs, and n is an integer >= 1. ssh uses this special value to
416 forward X11 connections over the secure channel. The user should 411 forward X11 connections over the secure channel. The user should
417 normally not set DISPLAY explicitly, as that will render the X11 412 normally not set DISPLAY explicitly, as that will render the X11
418 connection insecure (and will require the user to manually copy 413 connection insecure (and will require the user to manually copy
419 any required authorization cookies). 414 any required authorization cookies).
420 415
421 HOME Set to the path of the user's home directory. 416 HOME Set to the path of the userM-bM-^@M-^Ys home directory.
422 417
423 LOGNAME 418 LOGNAME
424 Synonym for USER; set for compatibility with systems that use 419 Synonym for USER; set for compatibility with systems that use
425 this variable. 420 this variable.
426 421
427 MAIL Set to the path of the user's mailbox. 422 MAIL Set to the path of the userM-bM-^@M-^Ys mailbox.
428 423
429 PATH Set to the default PATH, as specified when compiling ssh. 424 PATH Set to the default PATH, as specified when compiling ssh.
430 425
@@ -453,9 +448,9 @@ ENVIRONMENT
453 ments. 448 ments.
454 449
455 SSH_TTY 450 SSH_TTY
456 This is set to the name of the tty (path to the device) associat- 451 This is set to the name of the tty (path to the device) associ-
457 ed with the current shell or command. If the current session has 452 ated with the current shell or command. If the current session
458 no tty, this variable is not set. 453 has no tty, this variable is not set.
459 454
460 TZ The timezone variable is set to indicate the present timezone if 455 TZ The timezone variable is set to indicate the present timezone if
461 it was set when the daemon was started (i.e., the daemon passes 456 it was set when the daemon was started (i.e., the daemon passes
@@ -464,9 +459,9 @@ ENVIRONMENT
464 USER Set to the name of the user logging in. 459 USER Set to the name of the user logging in.
465 460
466 Additionally, ssh reads $HOME/.ssh/environment, and adds lines of the 461 Additionally, ssh reads $HOME/.ssh/environment, and adds lines of the
467 format ``VARNAME=value'' to the environment if the file exists and if 462 format M-bM-^@M-^\VARNAME=valueM-bM-^@M-^] to the environment if the file exists and if users
468 users are allowed to change their environment. See the 463 are allowed to change their environment. See the PermitUserEnvironment
469 PermitUserEnvironment option in sshd_config(5). 464 option in sshd_config(5).
470 465
471FILES 466FILES
472 $HOME/.ssh/known_hosts 467 $HOME/.ssh/known_hosts
@@ -524,8 +519,8 @@ FILES
524 by sshd(8) to verify the client host when logging in; other names 519 by sshd(8) to verify the client host when logging in; other names
525 are needed because ssh does not convert the user-supplied name to 520 are needed because ssh does not convert the user-supplied name to
526 a canonical name before checking the key, because someone with 521 a canonical name before checking the key, because someone with
527 access to the name servers would then be able to fool host au- 522 access to the name servers would then be able to fool host
528 thentication. 523 authentication.
529 524
530 /etc/ssh/ssh_config 525 /etc/ssh/ssh_config
531 Systemwide configuration file. The file format and configuration 526 Systemwide configuration file. The file format and configuration
@@ -549,16 +544,16 @@ FILES
549 Each line of the file contains a host name (in the canonical form 544 Each line of the file contains a host name (in the canonical form
550 returned by name servers), and then a user name on that host, 545 returned by name servers), and then a user name on that host,
551 separated by a space. On some machines this file may need to be 546 separated by a space. On some machines this file may need to be
552 world-readable if the user's home directory is on a NFS parti- 547 world-readable if the userM-bM-^@M-^Ys home directory is on a NFS parti-
553 tion, because sshd(8) reads it as root. Additionally, this file 548 tion, because sshd(8) reads it as root. Additionally, this file
554 must be owned by the user, and must not have write permissions 549 must be owned by the user, and must not have write permissions
555 for anyone else. The recommended permission for most machines is 550 for anyone else. The recommended permission for most machines is
556 read/write for the user, and not accessible by others. 551 read/write for the user, and not accessible by others.
557 552
558 Note that by default sshd(8) will be installed so that it re- 553 Note that by default sshd(8) will be installed so that it
559 quires successful RSA host authentication before permitting 554 requires successful RSA host authentication before permitting
560 .rhosts authentication. If the server machine does not have the 555 .rhosts authentication. If the server machine does not have the
561 client's host key in /etc/ssh/ssh_known_hosts, it can be stored 556 clientM-bM-^@M-^Ys host key in /etc/ssh/ssh_known_hosts, it can be stored
562 in $HOME/.ssh/known_hosts. The easiest way to do this is to con- 557 in $HOME/.ssh/known_hosts. The easiest way to do this is to con-
563 nect back to the client from the server machine using ssh; this 558 nect back to the client from the server machine using ssh; this
564 will automatically add the host key to $HOME/.ssh/known_hosts. 559 will automatically add the host key to $HOME/.ssh/known_hosts.
@@ -573,8 +568,8 @@ FILES
573 canonical hosts names, one per line (the full format is described 568 canonical hosts names, one per line (the full format is described
574 on the sshd(8) manual page). If the client host is found in this 569 on the sshd(8) manual page). If the client host is found in this
575 file, login is automatically permitted provided client and server 570 file, login is automatically permitted provided client and server
576 user names are the same. Additionally, successful RSA host au- 571 user names are the same. Additionally, successful RSA host
577 thentication is normally required. This file should only be 572 authentication is normally required. This file should only be
578 writable by root. 573 writable by root.
579 574
580 /etc/shosts.equiv 575 /etc/shosts.equiv
@@ -584,12 +579,12 @@ FILES
584 579
585 /etc/ssh/sshrc 580 /etc/ssh/sshrc
586 Commands in this file are executed by ssh when the user logs in 581 Commands in this file are executed by ssh when the user logs in
587 just before the user's shell (or command) is started. See the 582 just before the userM-bM-^@M-^Ys shell (or command) is started. See the
588 sshd(8) manual page for more information. 583 sshd(8) manual page for more information.
589 584
590 $HOME/.ssh/rc 585 $HOME/.ssh/rc
591 Commands in this file are executed by ssh when the user logs in 586 Commands in this file are executed by ssh when the user logs in
592 just before the user's shell (or command) is started. See the 587 just before the userM-bM-^@M-^Ys shell (or command) is started. See the
593 sshd(8) manual page for more information. 588 sshd(8) manual page for more information.
594 589
595 $HOME/.ssh/environment 590 $HOME/.ssh/environment
@@ -611,8 +606,8 @@ SEE ALSO
611AUTHORS 606AUTHORS
612 OpenSSH is a derivative of the original and free ssh 1.2.12 release by 607 OpenSSH is a derivative of the original and free ssh 1.2.12 release by
613 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo 608 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo
614 de Raadt and Dug Song removed many bugs, re-added newer features and 609 de Raadt and Dug Song removed many bugs, re-added newer features and cre-
615 created OpenSSH. Markus Friedl contributed the support for SSH protocol 610 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
616 versions 1.5 and 2.0. 611 versions 1.5 and 2.0.
617 612
618OpenBSD 3.4 September 25, 1999 10 613BSD September 25, 1999 BSD
diff --git a/ssh.1 b/ssh.1
index c81cb42c6..3fbd954e8 100644
--- a/ssh.1
+++ b/ssh.1
@@ -541,6 +541,10 @@ per-host basis in the configuration file.
541.It Fl q 541.It Fl q
542Quiet mode. 542Quiet mode.
543Causes all warning and diagnostic messages to be suppressed. 543Causes all warning and diagnostic messages to be suppressed.
544Only fatal errors are displayed.
545If a second
546.Fl q
547is given then even fatal errors are suppressed.
544.It Fl s 548.It Fl s
545May be used to request invocation of a subsystem on the remote system. 549May be used to request invocation of a subsystem on the remote system.
546Subsystems are a feature of the SSH2 protocol which facilitate the use 550Subsystems are a feature of the SSH2 protocol which facilitate the use
@@ -971,6 +975,7 @@ if an error occurred.
971.Xr sftp 1 , 975.Xr sftp 1 ,
972.Xr ssh-add 1 , 976.Xr ssh-add 1 ,
973.Xr ssh-agent 1 , 977.Xr ssh-agent 1 ,
978.Xr ssh-argv0 1 ,
974.Xr ssh-keygen 1 , 979.Xr ssh-keygen 1 ,
975.Xr telnet 1 , 980.Xr telnet 1 ,
976.Xr ssh_config 5 , 981.Xr ssh_config 5 ,
diff --git a/ssh.c b/ssh.c
index 35418f693..ca279fbb8 100644
--- a/ssh.c
+++ b/ssh.c
@@ -352,7 +352,12 @@ again:
352 exit(0); 352 exit(0);
353 break; 353 break;
354 case 'q': 354 case 'q':
355 options.log_level = SYSLOG_LEVEL_QUIET; 355 if (options.log_level == SYSLOG_LEVEL_QUIET) {
356 options.log_level = SYSLOG_LEVEL_SILENT;
357 }
358 else if (options.log_level != SYSLOG_LEVEL_SILENT) {
359 options.log_level = SYSLOG_LEVEL_QUIET;
360 }
356 break; 361 break;
357 case 'e': 362 case 'e':
358 if (optarg[0] == '^' && optarg[2] == 0 && 363 if (optarg[0] == '^' && optarg[2] == 0 &&
diff --git a/ssh_config.0 b/ssh_config.0
index 8c84502cb..a8687ffc2 100644
--- a/ssh_config.0
+++ b/ssh_config.0
@@ -1,4 +1,4 @@
1SSH_CONFIG(5) OpenBSD Programmer's Manual SSH_CONFIG(5) 1SSH_CONFIG(5) BSD File Formats Manual SSH_CONFIG(5)
2 2
3NAME 3NAME
4 ssh_config - OpenSSH SSH client configuration files 4 ssh_config - OpenSSH SSH client configuration files
@@ -11,11 +11,11 @@ DESCRIPTION
11 ssh obtains configuration data from the following sources in the follow- 11 ssh obtains configuration data from the following sources in the follow-
12 ing order: 12 ing order:
13 1. command-line options 13 1. command-line options
14 2. user's configuration file ($HOME/.ssh/config) 14 2. userM-bM-^@M-^Ys configuration file ($HOME/.ssh/config)
15 3. system-wide configuration file (/etc/ssh/ssh_config) 15 3. system-wide configuration file (/etc/ssh/ssh_config)
16 16
17 For each parameter, the first obtained value will be used. The configu- 17 For each parameter, the first obtained value will be used. The configu-
18 ration files contain sections bracketed by ``Host'' specifications, and 18 ration files contain sections bracketed by M-bM-^@M-^\HostM-bM-^@M-^] specifications, and
19 that section is only applied for hosts that match one of the patterns 19 that section is only applied for hosts that match one of the patterns
20 given in the specification. The matched host name is the one given on 20 given in the specification. The matched host name is the one given on
21 the command line. 21 the command line.
@@ -26,11 +26,11 @@ DESCRIPTION
26 26
27 The configuration file has the following format: 27 The configuration file has the following format:
28 28
29 Empty lines and lines starting with `#' are comments. 29 Empty lines and lines starting with M-bM-^@M-^X#M-bM-^@M-^Y are comments.
30 30
31 Otherwise a line is of the format ``keyword arguments''. Configuration 31 Otherwise a line is of the format M-bM-^@M-^\keyword argumentsM-bM-^@M-^]. Configuration
32 options may be separated by whitespace or optional whitespace and exactly 32 options may be separated by whitespace or optional whitespace and exactly
33 one `='; the latter format is useful to avoid the need to quote whites- 33 one M-bM-^@M-^X=M-bM-^@M-^Y; the latter format is useful to avoid the need to quote whites-
34 pace when specifying configuration options using the ssh, scp and sftp -o 34 pace when specifying configuration options using the ssh, scp and sftp -o
35 option. 35 option.
36 36
@@ -39,54 +39,54 @@ DESCRIPTION
39 39
40 Host Restricts the following declarations (up to the next Host key- 40 Host Restricts the following declarations (up to the next Host key-
41 word) to be only for those hosts that match one of the patterns 41 word) to be only for those hosts that match one of the patterns
42 given after the keyword. `*' and `?' can be used as wildcards in 42 given after the keyword. M-bM-^@M-^X*M-bM-^@M-^Y and M-bM-^@M-^X?M-bM-^@M-^Y can be used as wildcards in
43 the patterns. A single `*' as a pattern can be used to provide 43 the patterns. A single M-bM-^@M-^X*M-bM-^@M-^Y as a pattern can be used to provide
44 global defaults for all hosts. The host is the hostname argument 44 global defaults for all hosts. The host is the hostname argument
45 given on the command line (i.e., the name is not converted to a 45 given on the command line (i.e., the name is not converted to a
46 canonicalized host name before matching). 46 canonicalized host name before matching).
47 47
48 AddressFamily 48 AddressFamily
49 Specifies which address family to use when connecting. Valid ar- 49 Specifies which address family to use when connecting. Valid
50 guments are ``any'', ``inet'' (Use IPv4 only) or ``inet6'' (Use 50 arguments are M-bM-^@M-^\anyM-bM-^@M-^], M-bM-^@M-^\inetM-bM-^@M-^] (Use IPv4 only) or M-bM-^@M-^\inet6M-bM-^@M-^] (Use IPv6
51 IPv6 only.) 51 only.)
52 52
53 BatchMode 53 BatchMode
54 If set to ``yes'', passphrase/password querying will be disabled. 54 If set to M-bM-^@M-^\yesM-bM-^@M-^], passphrase/password querying will be disabled.
55 This option is useful in scripts and other batch jobs where no 55 This option is useful in scripts and other batch jobs where no
56 user is present to supply the password. The argument must be 56 user is present to supply the password. The argument must be
57 ``yes'' or ``no''. The default is ``no''. 57 M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^].
58 58
59 BindAddress 59 BindAddress
60 Specify the interface to transmit from on machines with multiple 60 Specify the interface to transmit from on machines with multiple
61 interfaces or aliased addresses. Note that this option does not 61 interfaces or aliased addresses. Note that this option does not
62 work if UsePrivilegedPort is set to ``yes''. 62 work if UsePrivilegedPort is set to M-bM-^@M-^\yesM-bM-^@M-^].
63 63
64 ChallengeResponseAuthentication 64 ChallengeResponseAuthentication
65 Specifies whether to use challenge response authentication. The 65 Specifies whether to use challenge response authentication. The
66 argument to this keyword must be ``yes'' or ``no''. The default 66 argument to this keyword must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is
67 is ``yes''. 67 M-bM-^@M-^\yesM-bM-^@M-^].
68 68
69 CheckHostIP 69 CheckHostIP
70 If this flag is set to ``yes'', ssh will additionally check the 70 If this flag is set to M-bM-^@M-^\yesM-bM-^@M-^], ssh will additionally check the
71 host IP address in the known_hosts file. This allows ssh to de- 71 host IP address in the known_hosts file. This allows ssh to
72 tect if a host key changed due to DNS spoofing. If the option is 72 detect if a host key changed due to DNS spoofing. If the option
73 set to ``no'', the check will not be executed. The default is 73 is set to M-bM-^@M-^\noM-bM-^@M-^], the check will not be executed. The default is
74 ``yes''. 74 M-bM-^@M-^\yesM-bM-^@M-^].
75 75
76 Cipher Specifies the cipher to use for encrypting the session in proto- 76 Cipher Specifies the cipher to use for encrypting the session in proto-
77 col version 1. Currently, ``blowfish'', ``3des'', and ``des'' 77 col version 1. Currently, M-bM-^@M-^\blowfishM-bM-^@M-^], M-bM-^@M-^\3desM-bM-^@M-^], and M-bM-^@M-^\desM-bM-^@M-^] are sup-
78 are supported. des is only supported in the ssh client for in- 78 ported. des is only supported in the ssh client for interoper-
79 teroperability with legacy protocol 1 implementations that do not 79 ability with legacy protocol 1 implementations that do not sup-
80 support the 3des cipher. Its use is strongly discouraged due to 80 port the 3des cipher. Its use is strongly discouraged due to
81 cryptographic weaknesses. The default is ``3des''. 81 cryptographic weaknesses. The default is M-bM-^@M-^\3desM-bM-^@M-^].
82 82
83 Ciphers 83 Ciphers
84 Specifies the ciphers allowed for protocol version 2 in order of 84 Specifies the ciphers allowed for protocol version 2 in order of
85 preference. Multiple ciphers must be comma-separated. The de- 85 preference. Multiple ciphers must be comma-separated. The
86 fault is 86 default is
87 87
88 ``aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour, 88 M-bM-^@M-^XM-bM-^@M-^Xaes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
89 aes192-cbc,aes256-cbc'' 89 aes192-cbc,aes256-cbcM-bM-^@M-^YM-bM-^@M-^Y
90 90
91 ClearAllForwardings 91 ClearAllForwardings
92 Specifies that all local, remote and dynamic port forwardings 92 Specifies that all local, remote and dynamic port forwardings
@@ -94,11 +94,11 @@ DESCRIPTION
94 cleared. This option is primarily useful when used from the ssh 94 cleared. This option is primarily useful when used from the ssh
95 command line to clear port forwardings set in configuration 95 command line to clear port forwardings set in configuration
96 files, and is automatically set by scp(1) and sftp(1). The argu- 96 files, and is automatically set by scp(1) and sftp(1). The argu-
97 ment must be ``yes'' or ``no''. The default is ``no''. 97 ment must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^].
98 98
99 Compression 99 Compression
100 Specifies whether to use compression. The argument must be 100 Specifies whether to use compression. The argument must be M-bM-^@M-^\yesM-bM-^@M-^]
101 ``yes'' or ``no''. The default is ``no''. 101 or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^].
102 102
103 CompressionLevel 103 CompressionLevel
104 Specifies the compression level to use if compression is enabled. 104 Specifies the compression level to use if compression is enabled.
@@ -108,61 +108,61 @@ DESCRIPTION
108 option applies to protocol version 1 only. 108 option applies to protocol version 1 only.
109 109
110 ConnectionAttempts 110 ConnectionAttempts
111 Specifies the number of tries (one per second) to make before ex- 111 Specifies the number of tries (one per second) to make before
112 iting. The argument must be an integer. This may be useful in 112 exiting. The argument must be an integer. This may be useful in
113 scripts if the connection sometimes fails. The default is 1. 113 scripts if the connection sometimes fails. The default is 1.
114 114
115 ConnectTimeout 115 ConnectTimeout
116 Specifies the timeout (in seconds) used when connecting to the 116 Specifies the timeout (in seconds) used when connecting to the
117 ssh server, instead of using the default system TCP timeout. 117 ssh server, instead of using the default system TCP timeout.
118 This value is used only when the target is down or really un- 118 This value is used only when the target is down or really
119 reachable, not when it refuses the connection. 119 unreachable, not when it refuses the connection.
120 120
121 DynamicForward 121 DynamicForward
122 Specifies that a TCP/IP port on the local machine be forwarded 122 Specifies that a TCP/IP port on the local machine be forwarded
123 over the secure channel, and the application protocol is then 123 over the secure channel, and the application protocol is then
124 used to determine where to connect to from the remote machine. 124 used to determine where to connect to from the remote machine.
125 The argument must be a port number. Currently the SOCKS4 and 125 The argument must be a port number. Currently the SOCKS4 and
126 SOCKS5 protocols are supported, and ssh will act as a SOCKS serv- 126 SOCKS5 protocols are supported, and ssh will act as a SOCKS
127 er. Multiple forwardings may be specified, and additional for- 127 server. Multiple forwardings may be specified, and additional
128 wardings can be given on the command line. Only the superuser 128 forwardings can be given on the command line. Only the superuser
129 can forward privileged ports. 129 can forward privileged ports.
130 130
131 EnableSSHKeysign 131 EnableSSHKeysign
132 Setting this option to ``yes'' in the global client configuration 132 Setting this option to M-bM-^@M-^\yesM-bM-^@M-^] in the global client configuration
133 file /etc/ssh/ssh_config enables the use of the helper program 133 file /etc/ssh/ssh_config enables the use of the helper program
134 ssh-keysign(8) during HostbasedAuthentication. The argument must 134 ssh-keysign(8) during HostbasedAuthentication. The argument must
135 be ``yes'' or ``no''. The default is ``no''. See ssh-keysign(8) 135 be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^]. See ssh-keysign(8) for
136 for more information. 136 more information.
137 137
138 EscapeChar 138 EscapeChar
139 Sets the escape character (default: `~'). The escape character 139 Sets the escape character (default: M-bM-^@M-^X~M-bM-^@M-^Y). The escape character
140 can also be set on the command line. The argument should be a 140 can also be set on the command line. The argument should be a
141 single character, `^' followed by a letter, or ``none'' to dis- 141 single character, M-bM-^@M-^X^M-bM-^@M-^Y followed by a letter, or M-bM-^@M-^\noneM-bM-^@M-^] to disable
142 able the escape character entirely (making the connection trans- 142 the escape character entirely (making the connection transparent
143 parent for binary data). 143 for binary data).
144 144
145 ForwardAgent 145 ForwardAgent
146 Specifies whether the connection to the authentication agent (if 146 Specifies whether the connection to the authentication agent (if
147 any) will be forwarded to the remote machine. The argument must 147 any) will be forwarded to the remote machine. The argument must
148 be ``yes'' or ``no''. The default is ``no''. 148 be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^].
149 149
150 Agent forwarding should be enabled with caution. Users with the 150 Agent forwarding should be enabled with caution. Users with the
151 ability to bypass file permissions on the remote host (for the 151 ability to bypass file permissions on the remote host (for the
152 agent's Unix-domain socket) can access the local agent through 152 agentM-bM-^@M-^Ys Unix-domain socket) can access the local agent through
153 the forwarded connection. An attacker cannot obtain key material 153 the forwarded connection. An attacker cannot obtain key material
154 from the agent, however they can perform operations on the keys 154 from the agent, however they can perform operations on the keys
155 that enable them to authenticate using the identities loaded into 155 that enable them to authenticate using the identities loaded into
156 the agent. 156 the agent.
157 157
158 ForwardX11 158 ForwardX11
159 Specifies whether X11 connections will be automatically redirect- 159 Specifies whether X11 connections will be automatically redi-
160 ed over the secure channel and DISPLAY set. The argument must be 160 rected over the secure channel and DISPLAY set. The argument
161 ``yes'' or ``no''. The default is ``no''. 161 must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^].
162 162
163 X11 forwarding should be enabled with caution. Users with the 163 X11 forwarding should be enabled with caution. Users with the
164 ability to bypass file permissions on the remote host (for the 164 ability to bypass file permissions on the remote host (for the
165 user's X authorization database) can access the local X11 display 165 userM-bM-^@M-^Ys X authorization database) can access the local X11 display
166 through the forwarded connection. An attacker may then be able 166 through the forwarded connection. An attacker may then be able
167 to perform activities such as keystroke monitoring. 167 to perform activities such as keystroke monitoring.
168 168
@@ -171,35 +171,34 @@ DESCRIPTION
171 forwarded ports. By default, ssh binds local port forwardings to 171 forwarded ports. By default, ssh binds local port forwardings to
172 the loopback address. This prevents other remote hosts from con- 172 the loopback address. This prevents other remote hosts from con-
173 necting to forwarded ports. GatewayPorts can be used to specify 173 necting to forwarded ports. GatewayPorts can be used to specify
174 that ssh should bind local port forwardings to the wildcard ad- 174 that ssh should bind local port forwardings to the wildcard
175 dress, thus allowing remote hosts to connect to forwarded ports. 175 address, thus allowing remote hosts to connect to forwarded
176 The argument must be ``yes'' or ``no''. The default is ``no''. 176 ports. The argument must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^].
177 177
178 GlobalKnownHostsFile 178 GlobalKnownHostsFile
179 Specifies a file to use for the global host key database instead 179 Specifies a file to use for the global host key database instead
180 of /etc/ssh/ssh_known_hosts. 180 of /etc/ssh/ssh_known_hosts.
181 181
182 GSSAPIAuthentication 182 GSSAPIAuthentication
183 Specifies whether authentication based on GSSAPI may be used, ei- 183 Specifies whether authentication based on GSSAPI may be used,
184 ther using the result of a successful key exchange, or using GSS- 184 either using the result of a successful key exchange, or using
185 API user authentication. The default is ``yes''. Note that this 185 GSSAPI user authentication. The default is M-bM-^@M-^\yesM-bM-^@M-^]. Note that
186 option applies to protocol version 2 only. 186 this option applies to protocol version 2 only.
187 187
188 GSSAPIDelegateCredentials 188 GSSAPIDelegateCredentials
189 Forward (delegate) credentials to the server. The default is 189 Forward (delegate) credentials to the server. The default is
190 ``no''. Note that this option applies to protocol version 2 on- 190 M-bM-^@M-^\noM-bM-^@M-^]. Note that this option applies to protocol version 2 only.
191 ly.
192 191
193 HostbasedAuthentication 192 HostbasedAuthentication
194 Specifies whether to try rhosts based authentication with public 193 Specifies whether to try rhosts based authentication with public
195 key authentication. The argument must be ``yes'' or ``no''. The 194 key authentication. The argument must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The
196 default is ``no''. This option applies to protocol version 2 on- 195 default is M-bM-^@M-^\noM-bM-^@M-^]. This option applies to protocol version 2 only
197 ly and is similar to RhostsRSAAuthentication. 196 and is similar to RhostsRSAAuthentication.
198 197
199 HostKeyAlgorithms 198 HostKeyAlgorithms
200 Specifies the protocol version 2 host key algorithms that the 199 Specifies the protocol version 2 host key algorithms that the
201 client wants to use in order of preference. The default for this 200 client wants to use in order of preference. The default for this
202 option is: ``ssh-rsa,ssh-dss''. 201 option is: M-bM-^@M-^\ssh-rsa,ssh-dssM-bM-^@M-^].
203 202
204 HostKeyAlias 203 HostKeyAlias
205 Specifies an alias that should be used instead of the real host 204 Specifies an alias that should be used instead of the real host
@@ -215,13 +214,13 @@ DESCRIPTION
215 tions). 214 tions).
216 215
217 IdentityFile 216 IdentityFile
218 Specifies a file from which the user's RSA or DSA authentication 217 Specifies a file from which the userM-bM-^@M-^Ys RSA or DSA authentication
219 identity is read. The default is $HOME/.ssh/identity for proto- 218 identity is read. The default is $HOME/.ssh/identity for proto-
220 col version 1, and $HOME/.ssh/id_rsa and $HOME/.ssh/id_dsa for 219 col version 1, and $HOME/.ssh/id_rsa and $HOME/.ssh/id_dsa for
221 protocol version 2. Additionally, any identities represented by 220 protocol version 2. Additionally, any identities represented by
222 the authentication agent will be used for authentication. The 221 the authentication agent will be used for authentication. The
223 file name may use the tilde syntax to refer to a user's home di- 222 file name may use the tilde syntax to refer to a userM-bM-^@M-^Ys home
224 rectory. It is possible to have multiple identity files speci- 223 directory. It is possible to have multiple identity files speci-
225 fied in configuration files; all these identities will be tried 224 fied in configuration files; all these identities will be tried
226 in sequence. 225 in sequence.
227 226
@@ -232,11 +231,11 @@ DESCRIPTION
232 this means that connections will die if the route is down tem- 231 this means that connections will die if the route is down tem-
233 porarily, and some people find it annoying. 232 porarily, and some people find it annoying.
234 233
235 The default is ``yes'' (to send keepalives), and the client will 234 The default is M-bM-^@M-^\yesM-bM-^@M-^] (to send keepalives), and the client will
236 notice if the network goes down or the remote host dies. This is 235 notice if the network goes down or the remote host dies. This is
237 important in scripts, and many users want it too. 236 important in scripts, and many users want it too.
238 237
239 To disable keepalives, the value should be set to ``no''. 238 To disable keepalives, the value should be set to M-bM-^@M-^\noM-bM-^@M-^].
240 239
241 LocalForward 240 LocalForward
242 Specifies that a TCP/IP port on the local machine be forwarded 241 Specifies that a TCP/IP port on the local machine be forwarded
@@ -254,20 +253,20 @@ DESCRIPTION
254 DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify 253 DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify
255 higher levels of verbose output. 254 higher levels of verbose output.
256 255
257 MACs Specifies the MAC (message authentication code) algorithms in or- 256 MACs Specifies the MAC (message authentication code) algorithms in
258 der of preference. The MAC algorithm is used in protocol version 257 order of preference. The MAC algorithm is used in protocol ver-
259 2 for data integrity protection. Multiple algorithms must be 258 sion 2 for data integrity protection. Multiple algorithms must
260 comma-separated. The default is ``hmac-md5,hmac-sha1,hmac- 259 be comma-separated. The default is
261 ripemd160,hmac-sha1-96,hmac-md5-96''. 260 M-bM-^@M-^\hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96M-bM-^@M-^].
262 261
263 NoHostAuthenticationForLocalhost 262 NoHostAuthenticationForLocalhost
264 This option can be used if the home directory is shared across 263 This option can be used if the home directory is shared across
265 machines. In this case localhost will refer to a different ma- 264 machines. In this case localhost will refer to a different
266 chine on each of the machines and the user will get many warnings 265 machine on each of the machines and the user will get many warn-
267 about changed host keys. However, this option disables host au- 266 ings about changed host keys. However, this option disables host
268 thentication for localhost. The argument to this keyword must be 267 authentication for localhost. The argument to this keyword must
269 ``yes'' or ``no''. The default is to check the host key for lo- 268 be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is to check the host key for
270 calhost. 269 localhost.
271 270
272 NumberOfPasswordPrompts 271 NumberOfPasswordPrompts
273 Specifies the number of password prompts before giving up. The 272 Specifies the number of password prompts before giving up. The
@@ -275,44 +274,43 @@ DESCRIPTION
275 274
276 PasswordAuthentication 275 PasswordAuthentication
277 Specifies whether to use password authentication. The argument 276 Specifies whether to use password authentication. The argument
278 to this keyword must be ``yes'' or ``no''. The default is 277 to this keyword must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\yesM-bM-^@M-^].
279 ``yes''.
280 278
281 Port Specifies the port number to connect on the remote host. Default 279 Port Specifies the port number to connect on the remote host. Default
282 is 22. 280 is 22.
283 281
284 PreferredAuthentications 282 PreferredAuthentications
285 Specifies the order in which the client should try protocol 2 au- 283 Specifies the order in which the client should try protocol 2
286 thentication methods. This allows a client to prefer one method 284 authentication methods. This allows a client to prefer one
287 (e.g. keyboard-interactive) over another method (e.g. password) 285 method (e.g. keyboard-interactive) over another method (e.g.
288 The default for this option is: ``hostbased,publickey,keyboard- 286 password) The default for this option is:
289 interactive,password''. 287 M-bM-^@M-^\hostbased,publickey,keyboard-interactive,passwordM-bM-^@M-^].
290 288
291 Protocol 289 Protocol
292 Specifies the protocol versions ssh should support in order of 290 Specifies the protocol versions ssh should support in order of
293 preference. The possible values are ``1'' and ``2''. Multiple 291 preference. The possible values are M-bM-^@M-^\1M-bM-^@M-^] and M-bM-^@M-^\2M-bM-^@M-^]. Multiple ver-
294 versions must be comma-separated. The default is ``2,1''. This 292 sions must be comma-separated. The default is M-bM-^@M-^\2,1M-bM-^@M-^]. This means
295 means that ssh tries version 2 and falls back to version 1 if 293 that ssh tries version 2 and falls back to version 1 if version 2
296 version 2 is not available. 294 is not available.
297 295
298 ProxyCommand 296 ProxyCommand
299 Specifies the command to use to connect to the server. The com- 297 Specifies the command to use to connect to the server. The com-
300 mand string extends to the end of the line, and is executed with 298 mand string extends to the end of the line, and is executed with
301 /bin/sh. In the command string, `%h' will be substituted by the 299 /bin/sh. In the command string, M-bM-^@M-^X%hM-bM-^@M-^Y will be substituted by the
302 host name to connect and `%p' by the port. The command can be 300 host name to connect and M-bM-^@M-^X%pM-bM-^@M-^Y by the port. The command can be
303 basically anything, and should read from its standard input and 301 basically anything, and should read from its standard input and
304 write to its standard output. It should eventually connect an 302 write to its standard output. It should eventually connect an
305 sshd(8) server running on some machine, or execute sshd -i some- 303 sshd(8) server running on some machine, or execute sshd -i some-
306 where. Host key management will be done using the HostName of 304 where. Host key management will be done using the HostName of
307 the host being connected (defaulting to the name typed by the us- 305 the host being connected (defaulting to the name typed by the
308 er). Setting the command to ``none'' disables this option en- 306 user). Setting the command to M-bM-^@M-^\noneM-bM-^@M-^] disables this option
309 tirely. Note that CheckHostIP is not available for connects with 307 entirely. Note that CheckHostIP is not available for connects
310 a proxy command. 308 with a proxy command.
311 309
312 PubkeyAuthentication 310 PubkeyAuthentication
313 Specifies whether to try public key authentication. The argument 311 Specifies whether to try public key authentication. The argument
314 to this keyword must be ``yes'' or ``no''. The default is 312 to this keyword must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\yesM-bM-^@M-^].
315 ``yes''. This option applies to protocol version 2 only. 313 This option applies to protocol version 2 only.
316 314
317 RemoteForward 315 RemoteForward
318 Specifies that a TCP/IP port on the remote machine be forwarded 316 Specifies that a TCP/IP port on the remote machine be forwarded
@@ -325,46 +323,45 @@ DESCRIPTION
325 323
326 RhostsRSAAuthentication 324 RhostsRSAAuthentication
327 Specifies whether to try rhosts based authentication with RSA 325 Specifies whether to try rhosts based authentication with RSA
328 host authentication. The argument must be ``yes'' or ``no''. 326 host authentication. The argument must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The
329 The default is ``no''. This option applies to protocol version 1 327 default is M-bM-^@M-^\noM-bM-^@M-^]. This option applies to protocol version 1 only
330 only and requires ssh to be setuid root. 328 and requires ssh to be setuid root.
331 329
332 RSAAuthentication 330 RSAAuthentication
333 Specifies whether to try RSA authentication. The argument to 331 Specifies whether to try RSA authentication. The argument to
334 this keyword must be ``yes'' or ``no''. RSA authentication will 332 this keyword must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. RSA authentication will only
335 only be attempted if the identity file exists, or an authentica- 333 be attempted if the identity file exists, or an authentication
336 tion agent is running. The default is ``yes''. Note that this 334 agent is running. The default is M-bM-^@M-^\yesM-bM-^@M-^]. Note that this option
337 option applies to protocol version 1 only. 335 applies to protocol version 1 only.
338 336
339 SmartcardDevice 337 SmartcardDevice
340 Specifies which smartcard device to use. The argument to this 338 Specifies which smartcard device to use. The argument to this
341 keyword is the device ssh should use to communicate with a smart- 339 keyword is the device ssh should use to communicate with a smart-
342 card used for storing the user's private RSA key. By default, no 340 card used for storing the userM-bM-^@M-^Ys private RSA key. By default, no
343 device is specified and smartcard support is not activated. 341 device is specified and smartcard support is not activated.
344 342
345 StrictHostKeyChecking 343 StrictHostKeyChecking
346 If this flag is set to ``yes'', ssh will never automatically add 344 If this flag is set to M-bM-^@M-^\yesM-bM-^@M-^], ssh will never automatically add
347 host keys to the $HOME/.ssh/known_hosts file, and refuses to con- 345 host keys to the $HOME/.ssh/known_hosts file, and refuses to con-
348 nect to hosts whose host key has changed. This provides maximum 346 nect to hosts whose host key has changed. This provides maximum
349 protection against trojan horse attacks, however, can be annoying 347 protection against trojan horse attacks, however, can be annoying
350 when the /etc/ssh/ssh_known_hosts file is poorly maintained, or 348 when the /etc/ssh/ssh_known_hosts file is poorly maintained, or
351 connections to new hosts are frequently made. This option forces 349 connections to new hosts are frequently made. This option forces
352 the user to manually add all new hosts. If this flag is set to 350 the user to manually add all new hosts. If this flag is set to
353 ``no'', ssh will automatically add new host keys to the user 351 M-bM-^@M-^\noM-bM-^@M-^], ssh will automatically add new host keys to the user known
354 known hosts files. If this flag is set to ``ask'', new host keys 352 hosts files. If this flag is set to M-bM-^@M-^\askM-bM-^@M-^], new host keys will be
355 will be added to the user known host files only after the user 353 added to the user known host files only after the user has con-
356 has confirmed that is what they really want to do, and ssh will 354 firmed that is what they really want to do, and ssh will refuse
357 refuse to connect to hosts whose host key has changed. The host 355 to connect to hosts whose host key has changed. The host keys of
358 keys of known hosts will be verified automatically in all cases. 356 known hosts will be verified automatically in all cases. The
359 The argument must be ``yes'', ``no'' or ``ask''. The default is 357 argument must be M-bM-^@M-^\yesM-bM-^@M-^], M-bM-^@M-^\noM-bM-^@M-^] or M-bM-^@M-^\askM-bM-^@M-^]. The default is M-bM-^@M-^\askM-bM-^@M-^].
360 ``ask''.
361 358
362 UsePrivilegedPort 359 UsePrivilegedPort
363 Specifies whether to use a privileged port for outgoing connec- 360 Specifies whether to use a privileged port for outgoing connec-
364 tions. The argument must be ``yes'' or ``no''. The default is 361 tions. The argument must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^].
365 ``no''. If set to ``yes'' ssh must be setuid root. Note that 362 If set to M-bM-^@M-^\yesM-bM-^@M-^] ssh must be setuid root. Note that this option
366 this option must be set to ``yes'' for RhostsRSAAuthentication 363 must be set to M-bM-^@M-^\yesM-bM-^@M-^] for RhostsRSAAuthentication with older
367 with older servers. 364 servers.
368 365
369 User Specifies the user to log in as. This can be useful when a dif- 366 User Specifies the user to log in as. This can be useful when a dif-
370 ferent user name is used on different machines. This saves the 367 ferent user name is used on different machines. This saves the
@@ -377,7 +374,7 @@ DESCRIPTION
377 374
378 VerifyHostKeyDNS 375 VerifyHostKeyDNS
379 Specifies whether to verify the remote key using DNS and SSHFP 376 Specifies whether to verify the remote key using DNS and SSHFP
380 resource records. The default is ``no''. Note that this option 377 resource records. The default is M-bM-^@M-^\noM-bM-^@M-^]. Note that this option
381 applies to protocol version 2 only. 378 applies to protocol version 2 only.
382 379
383 XAuthLocation 380 XAuthLocation
@@ -389,12 +386,12 @@ FILES
389 This is the per-user configuration file. The format of this file 386 This is the per-user configuration file. The format of this file
390 is described above. This file is used by the ssh client. This 387 is described above. This file is used by the ssh client. This
391 file does not usually contain any sensitive information, but the 388 file does not usually contain any sensitive information, but the
392 recommended permissions are read/write for the user, and not ac- 389 recommended permissions are read/write for the user, and not
393 cessible by others. 390 accessible by others.
394 391
395 /etc/ssh/ssh_config 392 /etc/ssh/ssh_config
396 Systemwide configuration file. This file provides defaults for 393 Systemwide configuration file. This file provides defaults for
397 those values that are not specified in the user's configuration 394 those values that are not specified in the userM-bM-^@M-^Ys configuration
398 file, and for those users who do not have a configuration file. 395 file, and for those users who do not have a configuration file.
399 This file must be world-readable. 396 This file must be world-readable.
400 397
@@ -408,4 +405,4 @@ AUTHORS
408 ated OpenSSH. Markus Friedl contributed the support for SSH protocol 405 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
409 versions 1.5 and 2.0. 406 versions 1.5 and 2.0.
410 407
411OpenBSD 3.4 September 25, 1999 7 408BSD September 25, 1999 BSD
diff --git a/ssh_config.5 b/ssh_config.5
index 7a435a90e..2ca7ce02f 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -127,8 +127,15 @@ Valid arguments are
127If set to 127If set to
128.Dq yes , 128.Dq yes ,
129passphrase/password querying will be disabled. 129passphrase/password querying will be disabled.
130In addition, the
131.Cm ProtocolKeepAlives
132and
133.Cm SetupTimeOut
134options will both be set to 300 seconds by default.
130This option is useful in scripts and other batch jobs where no user 135This option is useful in scripts and other batch jobs where no user
131is present to supply the password. 136is present to supply the password,
137and where it is desirable to detect a
138broken network swiftly.
132The argument must be 139The argument must be
133.Dq yes 140.Dq yes
134or 141or
@@ -395,6 +402,12 @@ Specifies whether the system should send TCP keepalive messages to the
395other side. 402other side.
396If they are sent, death of the connection or crash of one 403If they are sent, death of the connection or crash of one
397of the machines will be properly noticed. 404of the machines will be properly noticed.
405This option only uses TCP keepalives (as opposed to using ssh level
406keepalives), so takes a long time to notice when the connection dies.
407As such, you probably want
408the
409.Cm ProtocolKeepAlives
410option as well.
398However, this means that 411However, this means that
399connections will die if the route is down temporarily, and some people 412connections will die if the route is down temporarily, and some people
400find it annoying. 413find it annoying.
@@ -482,6 +495,14 @@ This means that
482.Nm ssh 495.Nm ssh
483tries version 2 and falls back to version 1 496tries version 2 and falls back to version 1
484if version 2 is not available. 497if version 2 is not available.
498.It Cm ProtocolKeepAlives
499Specifies the interval in seconds at which IGNORE packets will be sent to
500the server during idle periods.
501Use this option in scripts to detect when the network fails.
502The argument must be an integer.
503The default is 0 (disabled), or 300 if the
504.Cm BatchMode
505option is set.
485.It Cm ProxyCommand 506.It Cm ProxyCommand
486Specifies the command to use to connect to the server. 507Specifies the command to use to connect to the server.
487The command 508The command
@@ -553,6 +574,22 @@ running.
553The default is 574The default is
554.Dq yes . 575.Dq yes .
555Note that this option applies to protocol version 1 only. 576Note that this option applies to protocol version 1 only.
577.It Cm SetupTimeOut
578Normally,
579.Nm ssh
580blocks indefinitely whilst waiting to receive the ssh banner and other
581setup protocol from the server, during the session setup.
582This can cause
583.Nm ssh
584to hang under certain circumstances.
585If this option is set,
586.Nm ssh
587will give up if no data from the server is received for the specified
588number of seconds.
589The argument must be an integer.
590The default is 0 (disabled), or 300 if
591.Cm BatchMode
592is set.
556.It Cm SmartcardDevice 593.It Cm SmartcardDevice
557Specifies which smartcard device to use. 594Specifies which smartcard device to use.
558The argument to this keyword is the device 595The argument to this keyword is the device
diff --git a/sshconnect.c b/sshconnect.c
index f29ac8088..5c56f3178 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -55,6 +55,13 @@ extern pid_t proxy_command_pid;
55#define INET6_ADDRSTRLEN 46 55#define INET6_ADDRSTRLEN 46
56#endif 56#endif
57 57
58static sig_atomic_t banner_timedout;
59
60static void banner_alarm_catch (int signum)
61{
62 banner_timedout = 1;
63}
64
58static int show_other_keys(const char *, Key *); 65static int show_other_keys(const char *, Key *);
59 66
60/* 67/*
@@ -161,7 +168,7 @@ ssh_proxy_connect(const char *host, u_short port, const char *proxy_command)
161 buffer_free(&command); 168 buffer_free(&command);
162 169
163 /* Set the connection file descriptors. */ 170 /* Set the connection file descriptors. */
164 packet_set_connection(pout[0], pin[1]); 171 packet_set_connection(pout[0], pin[1], options.setuptimeout);
165 172
166 /* Indicate OK return */ 173 /* Indicate OK return */
167 return 0; 174 return 0;
@@ -425,7 +432,7 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
425 error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno)); 432 error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno));
426 433
427 /* Set the connection. */ 434 /* Set the connection. */
428 packet_set_connection(sock, sock); 435 packet_set_connection(sock, sock, options.setuptimeout);
429 436
430 return 0; 437 return 0;
431} 438}
@@ -442,24 +449,41 @@ ssh_exchange_identification(void)
442 int connection_in = packet_get_connection_in(); 449 int connection_in = packet_get_connection_in();
443 int connection_out = packet_get_connection_out(); 450 int connection_out = packet_get_connection_out();
444 int minor1 = PROTOCOL_MINOR_1; 451 int minor1 = PROTOCOL_MINOR_1;
452 struct sigaction sa, osa;
445 453
446 /* Read other side\'s version identification. */ 454 /* Read other side's version identification.
455 * If SetupTimeOut has been set, give up after
456 * the specified amount of time
457 */
458 if(options.setuptimeout > 0){
459 memset(&sa, 0, sizeof(sa));
460 sa.sa_handler = banner_alarm_catch;
461 /*throw away any pending alarms, since we'd block otherwise*/
462 alarm(0);
463 sigaction(SIGALRM, &sa, &osa);
464 alarm(options.setuptimeout);
465 }
447 for (;;) { 466 for (;;) {
448 for (i = 0; i < sizeof(buf) - 1; i++) { 467 for (i = 0; i < sizeof(buf) - 1; ) {
449 int len = atomicio(read, connection_in, &buf[i], 1); 468 int len = read(connection_in, &buf[i], 1);
450 if (len < 0) 469 if (banner_timedout)
470 fatal("ssh_exchange_identification: Timeout waiting for version information.");
471 if (len < 0) {
472 if (errno == EINTR)
473 continue;
451 fatal("ssh_exchange_identification: read: %.100s", strerror(errno)); 474 fatal("ssh_exchange_identification: read: %.100s", strerror(errno));
475 }
452 if (len != 1) 476 if (len != 1)
453 fatal("ssh_exchange_identification: Connection closed by remote host"); 477 fatal("ssh_exchange_identification: Connection closed by remote host");
454 if (buf[i] == '\r') {
455 buf[i] = '\n';
456 buf[i + 1] = 0;
457 continue; /**XXX wait for \n */
458 }
459 if (buf[i] == '\n') { 478 if (buf[i] == '\n') {
460 buf[i + 1] = 0; 479 buf[i + 1] = 0;
461 break; 480 break;
462 } 481 }
482 if (buf[i] == '\r') {
483 buf[i] = '\n';
484 buf[i + 1] = 0; /**XXX wait for \n */
485 }
486 i++;
463 } 487 }
464 buf[sizeof(buf) - 1] = 0; 488 buf[sizeof(buf) - 1] = 0;
465 if (strncmp(buf, "SSH-", 4) == 0) 489 if (strncmp(buf, "SSH-", 4) == 0)
@@ -468,6 +492,14 @@ ssh_exchange_identification(void)
468 } 492 }
469 server_version_string = xstrdup(buf); 493 server_version_string = xstrdup(buf);
470 494
495 /* If SetupTimeOut has been set, unset the alarm now, and
496 * put the correct handler for SIGALRM back.
497 */
498 if (options.setuptimeout > 0) {
499 alarm(0);
500 sigaction(SIGALRM,&osa,NULL);
501 }
502
471 /* 503 /*
472 * Check that the versions match. In future this might accept 504 * Check that the versions match. In future this might accept
473 * several versions and set appropriate flags to handle them. 505 * several versions and set appropriate flags to handle them.
diff --git a/sshd.0 b/sshd.0
index 60be52888..937e35906 100644
--- a/sshd.0
+++ b/sshd.0
@@ -1,4 +1,4 @@
1SSHD(8) OpenBSD System Manager's Manual SSHD(8) 1SSHD(8) BSD System ManagerM-bM-^@M-^Ys Manual SSHD(8)
2 2
3NAME 3NAME
4 sshd - OpenSSH SSH daemon 4 sshd - OpenSSH SSH daemon
@@ -14,25 +14,24 @@ DESCRIPTION
14 intended to be as easy to install and use as possible. 14 intended to be as easy to install and use as possible.
15 15
16 sshd is the daemon that listens for connections from clients. It is nor- 16 sshd is the daemon that listens for connections from clients. It is nor-
17 mally started at boot from /etc/rc. It forks a new daemon for each in- 17 mally started at boot from /etc/rc. It forks a new daemon for each
18 coming connection. The forked daemons handle key exchange, encryption, 18 incoming connection. The forked daemons handle key exchange, encryption,
19 authentication, command execution, and data exchange. This implementa- 19 authentication, command execution, and data exchange. This implementa-
20 tion of sshd supports both SSH protocol version 1 and 2 simultaneously. 20 tion of sshd supports both SSH protocol version 1 and 2 simultaneously.
21 sshd works as follows: 21 sshd works as follows:
22 22
23 SSH protocol version 1 23 SSH protocol version 1
24
25 Each host has a host-specific RSA key (normally 1024 bits) used to iden- 24 Each host has a host-specific RSA key (normally 1024 bits) used to iden-
26 tify the host. Additionally, when the daemon starts, it generates a 25 tify the host. Additionally, when the daemon starts, it generates a
27 server RSA key (normally 768 bits). This key is normally regenerated ev- 26 server RSA key (normally 768 bits). This key is normally regenerated
28 ery hour if it has been used, and is never stored on disk. 27 every hour if it has been used, and is never stored on disk.
29 28
30 Whenever a client connects, the daemon responds with its public host and 29 Whenever a client connects, the daemon responds with its public host and
31 server keys. The client compares the RSA host key against its own 30 server keys. The client compares the RSA host key against its own
32 database to verify that it has not changed. The client then generates a 31 database to verify that it has not changed. The client then generates a
33 256 bit random number. It encrypts this random number using both the 32 256 bit random number. It encrypts this random number using both the
34 host key and the server key, and sends the encrypted number to the serv- 33 host key and the server key, and sends the encrypted number to the
35 er. Both sides then use this random number as a session key which is 34 server. Both sides then use this random number as a session key which is
36 used to encrypt all further communications in the session. The rest of 35 used to encrypt all further communications in the session. The rest of
37 the session is encrypted using a conventional cipher, currently Blowfish 36 the session is encrypted using a conventional cipher, currently Blowfish
38 or 3DES, with 3DES being used by default. The client selects the encryp- 37 or 3DES, with 3DES being used by default. The client selects the encryp-
@@ -40,19 +39,19 @@ DESCRIPTION
40 39
41 Next, the server and the client enter an authentication dialog. The 40 Next, the server and the client enter an authentication dialog. The
42 client tries to authenticate itself using .rhosts authentication, .rhosts 41 client tries to authenticate itself using .rhosts authentication, .rhosts
43 authentication combined with RSA host authentication, RSA challenge-re- 42 authentication combined with RSA host authentication, RSA challenge-
44 sponse authentication, or password based authentication. 43 response authentication, or password based authentication.
45 44
46 Regardless of the authentication type, the account is checked to ensure 45 Regardless of the authentication type, the account is checked to ensure
47 that it is accessible. An account is not accessible if it is locked, 46 that it is accessible. An account is not accessible if it is locked,
48 listed in DenyUsers or its group is listed in DenyGroups . The defini- 47 listed in DenyUsers or its group is listed in DenyGroups . The defini-
49 tion of a locked account is system dependant. Some platforms have their 48 tion of a locked account is system dependant. Some platforms have their
50 own account database (eg AIX) and some modify the passwd field ( `*LK*' 49 own account database (eg AIX) and some modify the passwd field ( M-bM-^@M-^X*LK*M-bM-^@M-^Y
51 on Solaris, `*' on HP-UX, containing `Nologin' on Tru64 and a leading 50 on Solaris, M-bM-^@M-^X*M-bM-^@M-^Y on HP-UX, containing M-bM-^@M-^XNologinM-bM-^@M-^Y on Tru64 and a leading
52 `!!' on Linux). If there is a requirement to disable password authenti- 51 M-bM-^@M-^X!!M-bM-^@M-^Y on Linux). If there is a requirement to disable password authenti-
53 cation for the account while allowing still public-key, then the passwd 52 cation for the account while allowing still public-key, then the passwd
54 field should be set to something other than these values (eg `NP' or 53 field should be set to something other than these values (eg M-bM-^@M-^XNPM-bM-^@M-^Y or
55 `*NP*' ). 54 M-bM-^@M-^X*NP*M-bM-^@M-^Y ).
56 55
57 Rhosts authentication is normally disabled because it is fundamentally 56 Rhosts authentication is normally disabled because it is fundamentally
58 insecure, but can be enabled in the server configuration file if desired. 57 insecure, but can be enabled in the server configuration file if desired.
@@ -60,7 +59,6 @@ DESCRIPTION
60 abled (thus completely disabling rlogin and rsh into the machine). 59 abled (thus completely disabling rlogin and rsh into the machine).
61 60
62 SSH protocol version 2 61 SSH protocol version 2
63
64 Version 2 works similarly: Each host has a host-specific key (RSA or DSA) 62 Version 2 works similarly: Each host has a host-specific key (RSA or DSA)
65 used to identify the host. However, when the daemon starts, it does not 63 used to identify the host. However, when the daemon starts, it does not
66 generate a server key. Forward security is provided through a Diffie- 64 generate a server key. Forward security is provided through a Diffie-
@@ -69,9 +67,10 @@ DESCRIPTION
69 67
70 The rest of the session is encrypted using a symmetric cipher, currently 68 The rest of the session is encrypted using a symmetric cipher, currently
71 128 bit AES, Blowfish, 3DES, CAST128, Arcfour, 192 bit AES, or 256 bit 69 128 bit AES, Blowfish, 3DES, CAST128, Arcfour, 192 bit AES, or 256 bit
72 AES. The client selects the encryption algorithm to use from those of- 70 AES. The client selects the encryption algorithm to use from those
73 fered by the server. Additionally, session integrity is provided through 71 offered by the server. Additionally, session integrity is provided
74 a cryptographic message authentication code (hmac-sha1 or hmac-md5). 72 through a cryptographic message authentication code (hmac-sha1 or hmac-
73 md5).
75 74
76 Protocol version 2 provides a public key based user (PubkeyAuthentica- 75 Protocol version 2 provides a public key based user (PubkeyAuthentica-
77 tion) or client host (HostbasedAuthentication) authentication method, 76 tion) or client host (HostbasedAuthentication) authentication method,
@@ -79,7 +78,6 @@ DESCRIPTION
79 ods. 78 ods.
80 79
81 Command execution and data forwarding 80 Command execution and data forwarding
82
83 If the client successfully authenticates itself, a dialog for preparing 81 If the client successfully authenticates itself, a dialog for preparing
84 the session is entered. At this time the client may request things like 82 the session is entered. At this time the client may request things like
85 allocating a pseudo-tty, forwarding X11 connections, forwarding TCP/IP 83 allocating a pseudo-tty, forwarding X11 connections, forwarding TCP/IP
@@ -112,8 +110,8 @@ DESCRIPTION
112 -d Debug mode. The server sends verbose debug output to the system 110 -d Debug mode. The server sends verbose debug output to the system
113 log, and does not put itself in the background. The server also 111 log, and does not put itself in the background. The server also
114 will not fork and will only process one connection. This option 112 will not fork and will only process one connection. This option
115 is only intended for debugging for the server. Multiple -d op- 113 is only intended for debugging for the server. Multiple -d
116 tions increase the debugging level. Maximum is 3. 114 options increase the debugging level. Maximum is 3.
117 115
118 -e When this option is specified, sshd will send the output to the 116 -e When this option is specified, sshd will send the output to the
119 standard error instead of the system log. 117 standard error instead of the system log.
@@ -124,10 +122,10 @@ DESCRIPTION
124 figuration file. 122 figuration file.
125 123
126 -g login_grace_time 124 -g login_grace_time
127 Gives the grace time for clients to authenticate themselves (de- 125 Gives the grace time for clients to authenticate themselves
128 fault 120 seconds). If the client fails to authenticate the user 126 (default 120 seconds). If the client fails to authenticate the
129 within this many seconds, the server disconnects and exits. A 127 user within this many seconds, the server disconnects and exits.
130 value of zero indicates no limit. 128 A value of zero indicates no limit.
131 129
132 -h host_key_file 130 -h host_key_file
133 Specifies a file from which a host key is read. This option must 131 Specifies a file from which a host key is read. This option must
@@ -141,9 +139,9 @@ DESCRIPTION
141 -i Specifies that sshd is being run from inetd(8). sshd is normally 139 -i Specifies that sshd is being run from inetd(8). sshd is normally
142 not run from inetd because it needs to generate the server key 140 not run from inetd because it needs to generate the server key
143 before it can respond to the client, and this may take tens of 141 before it can respond to the client, and this may take tens of
144 seconds. Clients would have to wait too long if the key was re- 142 seconds. Clients would have to wait too long if the key was
145 generated every time. However, with small key sizes (e.g., 512) 143 regenerated every time. However, with small key sizes (e.g.,
146 using sshd from inetd may be feasible. 144 512) using sshd from inetd may be feasible.
147 145
148 -k key_gen_time 146 -k key_gen_time
149 Specifies how often the ephemeral protocol version 1 server key 147 Specifies how often the ephemeral protocol version 1 server key
@@ -165,8 +163,8 @@ DESCRIPTION
165 fied in the configuration file are ignored when a command-line 163 fied in the configuration file are ignored when a command-line
166 port is specified. 164 port is specified.
167 165
168 -q Quiet mode. Nothing is sent to the system log. Normally the be- 166 -q Quiet mode. Nothing is sent to the system log. Normally the
169 ginning, authentication, and termination of each connection is 167 beginning, authentication, and termination of each connection is
170 logged. 168 logged.
171 169
172 -t Test mode. Only check the validity of the configuration file and 170 -t Test mode. Only check the validity of the configuration file and
@@ -181,10 +179,10 @@ DESCRIPTION
181 indicates that only dotted decimal addresses should be put into 179 indicates that only dotted decimal addresses should be put into
182 the utmp file. -u0 may also be used to prevent sshd from making 180 the utmp file. -u0 may also be used to prevent sshd from making
183 DNS requests unless the authentication mechanism or configuration 181 DNS requests unless the authentication mechanism or configuration
184 requires it. Authentication mechanisms that may require DNS in- 182 requires it. Authentication mechanisms that may require DNS
185 clude RhostsRSAAuthentication, HostbasedAuthentication and using 183 include RhostsRSAAuthentication, HostbasedAuthentication and
186 a from="pattern-list" option in a key file. Configuration op- 184 using a from="pattern-list" option in a key file. Configuration
187 tions that require DNS include using a USER@HOST pattern in 185 options that require DNS include using a USER@HOST pattern in
188 AllowUsers or DenyUsers. 186 AllowUsers or DenyUsers.
189 187
190 -D When this option is specified sshd will not detach and does not 188 -D When this option is specified sshd will not detach and does not
@@ -216,18 +214,18 @@ LOGIN PROCESS
216 214
217 5. Sets up basic environment. 215 5. Sets up basic environment.
218 216
219 6. Reads $HOME/.ssh/environment if it exists and users are al- 217 6. Reads $HOME/.ssh/environment if it exists and users are
220 lowed to change their environment. See the 218 allowed to change their environment. See the
221 PermitUserEnvironment option in sshd_config(5). 219 PermitUserEnvironment option in sshd_config(5).
222 220
223 7. Changes to user's home directory. 221 7. Changes to userM-bM-^@M-^Ys home directory.
224 222
225 8. If $HOME/.ssh/rc exists, runs it; else if /etc/ssh/sshrc ex- 223 8. If $HOME/.ssh/rc exists, runs it; else if /etc/ssh/sshrc
226 ists, runs it; otherwise runs xauth. The ``rc'' files are 224 exists, runs it; otherwise runs xauth. The M-bM-^@M-^\rcM-bM-^@M-^] files are
227 given the X11 authentication protocol and cookie in standard 225 given the X11 authentication protocol and cookie in standard
228 input. 226 input.
229 227
230 9. Runs user's shell or command. 228 9. Runs userM-bM-^@M-^Ys shell or command.
231 229
232AUTHORIZED_KEYS FILE FORMAT 230AUTHORIZED_KEYS FILE FORMAT
233 $HOME/.ssh/authorized_keys is the default file that lists the public keys 231 $HOME/.ssh/authorized_keys is the default file that lists the public keys
@@ -236,7 +234,7 @@ AUTHORIZED_KEYS FILE FORMAT
236 AuthorizedKeysFile may be used to specify an alternative file. 234 AuthorizedKeysFile may be used to specify an alternative file.
237 235
238 Each line of the file contains one key (empty lines and lines starting 236 Each line of the file contains one key (empty lines and lines starting
239 with a `#' are ignored as comments). Each RSA public key consists of the 237 with a M-bM-^@M-^X#M-bM-^@M-^Y are ignored as comments). Each RSA public key consists of the
240 following fields, separated by spaces: options, bits, exponent, modulus, 238 following fields, separated by spaces: options, bits, exponent, modulus,
241 comment. Each protocol version 2 public key consists of: options, key- 239 comment. Each protocol version 2 public key consists of: options, key-
242 type, base64 encoded key, comment. The options field is optional; its 240 type, base64 encoded key, comment. The options field is optional; its
@@ -244,11 +242,11 @@ AUTHORIZED_KEYS FILE FORMAT
244 (the options field never starts with a number). The bits, exponent, mod- 242 (the options field never starts with a number). The bits, exponent, mod-
245 ulus and comment fields give the RSA key for protocol version 1; the com- 243 ulus and comment fields give the RSA key for protocol version 1; the com-
246 ment field is not used for anything (but may be convenient for the user 244 ment field is not used for anything (but may be convenient for the user
247 to identify the key). For protocol version 2 the keytype is ``ssh-dss'' 245 to identify the key). For protocol version 2 the keytype is M-bM-^@M-^\ssh-dssM-bM-^@M-^] or
248 or ``ssh-rsa''. 246 M-bM-^@M-^\ssh-rsaM-bM-^@M-^].
249 247
250 Note that lines in this file are usually several hundred bytes long (be- 248 Note that lines in this file are usually several hundred bytes long
251 cause of the size of the public key encoding). You don't want to type 249 (because of the size of the public key encoding). You donM-bM-^@M-^Yt want to type
252 them in; instead, copy the identity.pub, id_dsa.pub or the id_rsa.pub 250 them in; instead, copy the identity.pub, id_dsa.pub or the id_rsa.pub
253 file and edit it. 251 file and edit it.
254 252
@@ -263,31 +261,31 @@ AUTHORIZED_KEYS FILE FORMAT
263 from="pattern-list" 261 from="pattern-list"
264 Specifies that in addition to public key authentication, the 262 Specifies that in addition to public key authentication, the
265 canonical name of the remote host must be present in the comma- 263 canonical name of the remote host must be present in the comma-
266 separated list of patterns (`*' and `?' serve as wildcards). The 264 separated list of patterns (M-bM-^@M-^X*M-bM-^@M-^Y and M-bM-^@M-^X?M-bM-^@M-^Y serve as wildcards). The
267 list may also contain patterns negated by prefixing them with 265 list may also contain patterns negated by prefixing them with
268 `!'; if the canonical host name matches a negated pattern, the 266 M-bM-^@M-^X!M-bM-^@M-^Y; if the canonical host name matches a negated pattern, the
269 key is not accepted. The purpose of this option is to optionally 267 key is not accepted. The purpose of this option is to optionally
270 increase security: public key authentication by itself does not 268 increase security: public key authentication by itself does not
271 trust the network or name servers or anything (but the key); how- 269 trust the network or name servers or anything (but the key); how-
272 ever, if somebody somehow steals the key, the key permits an in- 270 ever, if somebody somehow steals the key, the key permits an
273 truder to log in from anywhere in the world. This additional op- 271 intruder to log in from anywhere in the world. This additional
274 tion makes using a stolen key more difficult (name servers and/or 272 option makes using a stolen key more difficult (name servers
275 routers would have to be compromised in addition to just the 273 and/or routers would have to be compromised in addition to just
276 key). 274 the key).
277 275
278 command="command" 276 command="command"
279 Specifies that the command is executed whenever this key is used 277 Specifies that the command is executed whenever this key is used
280 for authentication. The command supplied by the user (if any) is 278 for authentication. The command supplied by the user (if any) is
281 ignored. The command is run on a pty if the client requests a 279 ignored. The command is run on a pty if the client requests a
282 pty; otherwise it is run without a tty. If an 8-bit clean chan- 280 pty; otherwise it is run without a tty. If an 8-bit clean chan-
283 nel is required, one must not request a pty or should specify no- 281 nel is required, one must not request a pty or should specify
284 pty. A quote may be included in the command by quoting it with a 282 no-pty. A quote may be included in the command by quoting it
285 backslash. This option might be useful to restrict certain pub- 283 with a backslash. This option might be useful to restrict cer-
286 lic keys to perform just a specific operation. An example might 284 tain public keys to perform just a specific operation. An exam-
287 be a key that permits remote backups but nothing else. Note that 285 ple might be a key that permits remote backups but nothing else.
288 the client may specify TCP/IP and/or X11 forwarding unless they 286 Note that the client may specify TCP/IP and/or X11 forwarding
289 are explicitly prohibited. Note that this option applies to 287 unless they are explicitly prohibited. Note that this option
290 shell, command or subsystem execution. 288 applies to shell, command or subsystem execution.
291 289
292 environment="NAME=value" 290 environment="NAME=value"
293 Specifies that the string is to be added to the environment when 291 Specifies that the string is to be added to the environment when
@@ -299,8 +297,8 @@ AUTHORIZED_KEYS FILE FORMAT
299 297
300 no-port-forwarding 298 no-port-forwarding
301 Forbids TCP/IP forwarding when this key is used for authentica- 299 Forbids TCP/IP forwarding when this key is used for authentica-
302 tion. Any port forward requests by the client will return an er- 300 tion. Any port forward requests by the client will return an
303 ror. This might be used, e.g., in connection with the command 301 error. This might be used, e.g., in connection with the command
304 option. 302 option.
305 303
306 no-X11-forwarding 304 no-X11-forwarding
@@ -314,45 +312,45 @@ AUTHORIZED_KEYS FILE FORMAT
314 no-pty Prevents tty allocation (a request to allocate a pty will fail). 312 no-pty Prevents tty allocation (a request to allocate a pty will fail).
315 313
316 permitopen="host:port" 314 permitopen="host:port"
317 Limit local ``ssh -L'' port forwarding such that it may only con- 315 Limit local M-bM-^@M-^XM-bM-^@M-^Xssh -LM-bM-^@M-^YM-bM-^@M-^Y port forwarding such that it may only con-
318 nect to the specified host and port. IPv6 addresses can be spec- 316 nect to the specified host and port. IPv6 addresses can be spec-
319 ified with an alternative syntax: host/port. Multiple permitopen 317 ified with an alternative syntax: host/port. Multiple permitopen
320 options may be applied separated by commas. No pattern matching 318 options may be applied separated by commas. No pattern matching
321 is performed on the specified hostnames, they must be literal do- 319 is performed on the specified hostnames, they must be literal
322 mains or addresses. 320 domains or addresses.
323 321
324 Examples 322 Examples
325 1024 33 12121...312314325 ylo@foo.bar 323 1024 33 12121...312314325 ylo@foo.bar
326 324
327 from="*.niksula.hut.fi,!pc.niksula.hut.fi" 1024 35 23...2334 ylo@niksula 325 from="*.niksula.hut.fi,!pc.niksula.hut.fi" 1024 35 23...2334 ylo@niksula
328 326
329 command="dump /home",no-pty,no-port-forwarding 1024 33 23...2323 back- 327 command="dump /home",no-pty,no-port-forwarding 1024 33 23...2323
330 up.hut.fi 328 backup.hut.fi
331 329
332 permitopen="10.2.1.55:80",permitopen="10.2.1.56:25" 1024 33 23...2323 330 permitopen="10.2.1.55:80",permitopen="10.2.1.56:25" 1024 33 23...2323
333 331
334SSH_KNOWN_HOSTS FILE FORMAT 332SSH_KNOWN_HOSTS FILE FORMAT
335 The /etc/ssh/ssh_known_hosts and $HOME/.ssh/known_hosts files contain 333 The /etc/ssh/ssh_known_hosts and $HOME/.ssh/known_hosts files contain
336 host public keys for all known hosts. The global file should be prepared 334 host public keys for all known hosts. The global file should be prepared
337 by the administrator (optional), and the per-user file is maintained au- 335 by the administrator (optional), and the per-user file is maintained
338 tomatically: whenever the user connects from an unknown host its key is 336 automatically: whenever the user connects from an unknown host its key is
339 added to the per-user file. 337 added to the per-user file.
340 338
341 Each line in these files contains the following fields: hostnames, bits, 339 Each line in these files contains the following fields: hostnames, bits,
342 exponent, modulus, comment. The fields are separated by spaces. 340 exponent, modulus, comment. The fields are separated by spaces.
343 341
344 Hostnames is a comma-separated list of patterns (`*' and `?' act as wild- 342 Hostnames is a comma-separated list of patterns (M-bM-^@M-^X*M-bM-^@M-^Y and M-bM-^@M-^X?M-bM-^@M-^Y act as wild-
345 cards); each pattern in turn is matched against the canonical host name 343 cards); each pattern in turn is matched against the canonical host name
346 (when authenticating a client) or against the user-supplied name (when 344 (when authenticating a client) or against the user-supplied name (when
347 authenticating a server). A pattern may also be preceded by `!' to indi- 345 authenticating a server). A pattern may also be preceded by M-bM-^@M-^X!M-bM-^@M-^Y to indi-
348 cate negation: if the host name matches a negated pattern, it is not ac- 346 cate negation: if the host name matches a negated pattern, it is not
349 cepted (by that line) even if it matched another pattern on the line. 347 accepted (by that line) even if it matched another pattern on the line.
350 348
351 Bits, exponent, and modulus are taken directly from the RSA host key; 349 Bits, exponent, and modulus are taken directly from the RSA host key;
352 they can be obtained, e.g., from /etc/ssh/ssh_host_key.pub. The optional 350 they can be obtained, e.g., from /etc/ssh/ssh_host_key.pub. The optional
353 comment field continues to the end of the line, and is not used. 351 comment field continues to the end of the line, and is not used.
354 352
355 Lines starting with `#' and empty lines are ignored as comments. 353 Lines starting with M-bM-^@M-^X#M-bM-^@M-^Y and empty lines are ignored as comments.
356 354
357 When performing host authentication, authentication is accepted if any 355 When performing host authentication, authentication is accepted if any
358 matching line has the proper key. It is thus permissible (but not recom- 356 matching line has the proper key. It is thus permissible (but not recom-
@@ -363,12 +361,11 @@ SSH_KNOWN_HOSTS FILE FORMAT
363 be found from either file. 361 be found from either file.
364 362
365 Note that the lines in these files are typically hundreds of characters 363 Note that the lines in these files are typically hundreds of characters
366 long, and you definitely don't want to type in the host keys by hand. 364 long, and you definitely donM-bM-^@M-^Yt want to type in the host keys by hand.
367 Rather, generate them by a script or by taking /etc/ssh/ssh_host_key.pub 365 Rather, generate them by a script or by taking /etc/ssh/ssh_host_key.pub
368 and adding the host names at the front. 366 and adding the host names at the front.
369 367
370 Examples 368 Examples
371
372 closenet,...,130.233.208.41 1024 37 159...93 closenet.hut.fi 369 closenet,...,130.233.208.41 1024 37 159...93 closenet.hut.fi
373 cvs.openbsd.org,199.185.137.3 ssh-rsa AAAA1234.....= 370 cvs.openbsd.org,199.185.137.3 ssh-rsa AAAA1234.....=
374 371
@@ -412,11 +409,11 @@ FILES
412 409
413 $HOME/.ssh/authorized_keys 410 $HOME/.ssh/authorized_keys
414 Lists the public keys (RSA or DSA) that can be used to log into 411 Lists the public keys (RSA or DSA) that can be used to log into
415 the user's account. This file must be readable by root (which 412 the userM-bM-^@M-^Ys account. This file must be readable by root (which
416 may on some machines imply it being world-readable if the user's 413 may on some machines imply it being world-readable if the userM-bM-^@M-^Ys
417 home directory resides on an NFS volume). It is recommended that 414 home directory resides on an NFS volume). It is recommended that
418 it not be accessible by others. The format of this file is de- 415 it not be accessible by others. The format of this file is
419 scribed above. Users will place the contents of their 416 described above. Users will place the contents of their
420 identity.pub, id_dsa.pub and/or id_rsa.pub files into this file, 417 identity.pub, id_dsa.pub and/or id_rsa.pub files into this file,
421 as described in ssh-keygen(1). 418 as described in ssh-keygen(1).
422 419
@@ -437,8 +434,8 @@ FILES
437 world-readable. 434 world-readable.
438 435
439 /etc/hosts.allow, /etc/hosts.deny 436 /etc/hosts.allow, /etc/hosts.deny
440 Access controls that should be enforced by tcp-wrappers are de- 437 Access controls that should be enforced by tcp-wrappers are
441 fined here. Further details are described in hosts_access(5). 438 defined here. Further details are described in hosts_access(5).
442 439
443 $HOME/.rhosts 440 $HOME/.rhosts
444 This file contains host-username pairs, separated by a space, one 441 This file contains host-username pairs, separated by a space, one
@@ -463,21 +460,22 @@ FILES
463 they have the same user name on both machines. The host name may 460 they have the same user name on both machines. The host name may
464 also be followed by a user name; such users are permitted to log 461 also be followed by a user name; such users are permitted to log
465 in as any user on this machine (except root). Additionally, the 462 in as any user on this machine (except root). Additionally, the
466 syntax ``+@group'' can be used to specify netgroups. Negated en- 463 syntax M-bM-^@M-^\+@groupM-bM-^@M-^] can be used to specify netgroups. Negated
467 tries start with `-'. 464 entries start with M-bM-^@M-^X-M-bM-^@M-^Y.
468 465
469 If the client host/user is successfully matched in this file, lo- 466 If the client host/user is successfully matched in this file,
470 gin is automatically permitted provided the client and server us- 467 login is automatically permitted provided the client and server
471 er names are the same. Additionally, successful RSA host authen- 468 user names are the same. Additionally, successful RSA host
472 tication is normally required. This file must be writable only 469 authentication is normally required. This file must be writable
473 by root; it is recommended that it be world-readable. 470 only by root; it is recommended that it be world-readable.
474 471
475 Warning: It is almost never a good idea to use user names in 472 Warning: It is almost never a good idea to use user names in
476 hosts.equiv. Beware that it really means that the named user(s) 473 hosts.equiv. Beware that it really means that the named user(s)
477 can log in as anybody, which includes bin, daemon, adm, and other 474 can log in as anybody, which includes bin, daemon, adm, and other
478 accounts that own critical binaries and directories. Using a us- 475 accounts that own critical binaries and directories. Using a
479 er name practically grants the user root access. The only valid 476 user name practically grants the user root access. The only
480 use for user names that I can think of is in negative entries. 477 valid use for user names that I can think of is in negative
478 entries.
481 479
482 Note that this warning also applies to rsh/rlogin. 480 Note that this warning also applies to rsh/rlogin.
483 481
@@ -489,33 +487,33 @@ FILES
489 $HOME/.ssh/environment 487 $HOME/.ssh/environment
490 This file is read into the environment at login (if it exists). 488 This file is read into the environment at login (if it exists).
491 It can only contain empty lines, comment lines (that start with 489 It can only contain empty lines, comment lines (that start with
492 `#'), and assignment lines of the form name=value. The file 490 M-bM-^@M-^X#M-bM-^@M-^Y), and assignment lines of the form name=value. The file
493 should be writable only by the user; it need not be readable by 491 should be writable only by the user; it need not be readable by
494 anyone else. Environment processing is disabled by default and 492 anyone else. Environment processing is disabled by default and
495 is controlled via the PermitUserEnvironment option. 493 is controlled via the PermitUserEnvironment option.
496 494
497 $HOME/.ssh/rc 495 $HOME/.ssh/rc
498 If this file exists, it is run with /bin/sh after reading the en- 496 If this file exists, it is run with /bin/sh after reading the
499 vironment files but before starting the user's shell or command. 497 environment files but before starting the userM-bM-^@M-^Ys shell or com-
500 It must not produce any output on stdout; stderr must be used in- 498 mand. It must not produce any output on stdout; stderr must be
501 stead. If X11 forwarding is in use, it will receive the "proto 499 used instead. If X11 forwarding is in use, it will receive the
502 cookie" pair in its standard input (and DISPLAY in its environ- 500 "proto cookie" pair in its standard input (and DISPLAY in its
503 ment). The script must call xauth(1) because sshd will not run 501 environment). The script must call xauth(1) because sshd will
504 xauth automatically to add X11 cookies. 502 not run xauth automatically to add X11 cookies.
505 503
506 The primary purpose of this file is to run any initialization 504 The primary purpose of this file is to run any initialization
507 routines which may be needed before the user's home directory be- 505 routines which may be needed before the userM-bM-^@M-^Ys home directory
508 comes accessible; AFS is a particular example of such an environ- 506 becomes accessible; AFS is a particular example of such an envi-
509 ment. 507 ronment.
510 508
511 This file will probably contain some initialization code followed 509 This file will probably contain some initialization code followed
512 by something similar to: 510 by something similar to:
513 511
514 if read proto cookie && [ -n "$DISPLAY" ]; then 512 if read proto cookie && [ -n "$DISPLAY" ]; then
515 if [ `echo $DISPLAY | cut -c1-10` = 'localhost:' ]; then 513 if [ M-bM-^@M-^Xecho $DISPLAY | cut -c1-10M-bM-^@M-^X = M-bM-^@M-^Ylocalhost:M-bM-^@M-^Y ]; then
516 # X11UseLocalhost=yes 514 # X11UseLocalhost=yes
517 echo add unix:`echo $DISPLAY | 515 echo add unix:M-bM-^@M-^Xecho $DISPLAY |
518 cut -c11-` $proto $cookie 516 cut -c11-M-bM-^@M-^X $proto $cookie
519 else 517 else
520 # X11UseLocalhost=no 518 # X11UseLocalhost=no
521 echo add $DISPLAY $proto $cookie 519 echo add $DISPLAY $proto $cookie
@@ -548,9 +546,9 @@ SEE ALSO
548AUTHORS 546AUTHORS
549 OpenSSH is a derivative of the original and free ssh 1.2.12 release by 547 OpenSSH is a derivative of the original and free ssh 1.2.12 release by
550 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo 548 Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo
551 de Raadt and Dug Song removed many bugs, re-added newer features and 549 de Raadt and Dug Song removed many bugs, re-added newer features and cre-
552 created OpenSSH. Markus Friedl contributed the support for SSH protocol 550 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
553 versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support 551 versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support
554 for privilege separation. 552 for privilege separation.
555 553
556OpenBSD 3.4 September 25, 1999 9 554BSD September 25, 1999 BSD
diff --git a/sshd.8 b/sshd.8
index 0eeea6666..27b1a3cf6 100644
--- a/sshd.8
+++ b/sshd.8
@@ -284,9 +284,12 @@ Ports specified in the configuration file are ignored when a
284command-line port is specified. 284command-line port is specified.
285.It Fl q 285.It Fl q
286Quiet mode. 286Quiet mode.
287Nothing is sent to the system log. 287Only fatal errors are sent to the system log.
288Normally the beginning, 288Normally the beginning,
289authentication, and termination of each connection is logged. 289authentication, and termination of each connection is logged.
290If a second
291.Fl q
292is given then nothing is sent to the system log.
290.It Fl t 293.It Fl t
291Test mode. 294Test mode.
292Only check the validity of the configuration file and sanity of the keys. 295Only check the validity of the configuration file and sanity of the keys.
@@ -615,7 +618,7 @@ really used for anything; they are provided for the convenience of
615the user so their contents can be copied to known hosts files. 618the user so their contents can be copied to known hosts files.
616These files are created using 619These files are created using
617.Xr ssh-keygen 1 . 620.Xr ssh-keygen 1 .
618.It Pa /etc/moduli 621.It Pa /etc/ssh/moduli
619Contains Diffie-Hellman groups used for the "Diffie-Hellman Group Exchange". 622Contains Diffie-Hellman groups used for the "Diffie-Hellman Group Exchange".
620The file format is described in 623The file format is described in
621.Xr moduli 5 . 624.Xr moduli 5 .
diff --git a/sshd.c b/sshd.c
index 47df9caf1..92fab6ccd 100644
--- a/sshd.c
+++ b/sshd.c
@@ -870,7 +870,12 @@ main(int ac, char **av)
870 /* ignored */ 870 /* ignored */
871 break; 871 break;
872 case 'q': 872 case 'q':
873 options.log_level = SYSLOG_LEVEL_QUIET; 873 if (options.log_level == SYSLOG_LEVEL_QUIET) {
874 options.log_level = SYSLOG_LEVEL_SILENT;
875 }
876 else if (options.log_level != SYSLOG_LEVEL_SILENT) {
877 options.log_level = SYSLOG_LEVEL_QUIET;
878 }
874 break; 879 break;
875 case 'b': 880 case 'b':
876 options.server_key_bits = atoi(optarg); 881 options.server_key_bits = atoi(optarg);
@@ -1164,7 +1169,7 @@ main(int ac, char **av)
1164 1169
1165 /* Bind the socket to the desired port. */ 1170 /* Bind the socket to the desired port. */
1166 if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) { 1171 if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) {
1167 if (!ai->ai_next) 1172 if (!num_listen_socks && !ai->ai_next)
1168 error("Bind to port %s on %s failed: %.200s.", 1173 error("Bind to port %s on %s failed: %.200s.",
1169 strport, ntop, strerror(errno)); 1174 strport, ntop, strerror(errno));
1170 close(listen_sock); 1175 close(listen_sock);
@@ -1424,7 +1429,7 @@ main(int ac, char **av)
1424 * Register our connection. This turns encryption off because we do 1429 * Register our connection. This turns encryption off because we do
1425 * not have a key. 1430 * not have a key.
1426 */ 1431 */
1427 packet_set_connection(sock_in, sock_out); 1432 packet_set_connection(sock_in, sock_out, -1);
1428 1433
1429 remote_port = get_remote_port(); 1434 remote_port = get_remote_port();
1430 remote_ip = get_remote_ipaddr(); 1435 remote_ip = get_remote_ipaddr();
diff --git a/sshd_config.0 b/sshd_config.0
index 643db2640..bc266317f 100644
--- a/sshd_config.0
+++ b/sshd_config.0
@@ -1,4 +1,4 @@
1SSHD_CONFIG(5) OpenBSD Programmer's Manual SSHD_CONFIG(5) 1SSHD_CONFIG(5) BSD File Formats Manual SSHD_CONFIG(5)
2 2
3NAME 3NAME
4 sshd_config - OpenSSH SSH daemon configuration file 4 sshd_config - OpenSSH SSH daemon configuration file
@@ -9,7 +9,7 @@ SYNOPSIS
9DESCRIPTION 9DESCRIPTION
10 sshd reads configuration data from /etc/ssh/sshd_config (or the file 10 sshd reads configuration data from /etc/ssh/sshd_config (or the file
11 specified with -f on the command line). The file contains keyword-argu- 11 specified with -f on the command line). The file contains keyword-argu-
12 ment pairs, one per line. Lines starting with `#' and empty lines are 12 ment pairs, one per line. Lines starting with M-bM-^@M-^X#M-bM-^@M-^Y and empty lines are
13 interpreted as comments. 13 interpreted as comments.
14 14
15 The possible keywords and their meanings are as follows (note that key- 15 The possible keywords and their meanings are as follows (note that key-
@@ -19,36 +19,36 @@ DESCRIPTION
19 This keyword can be followed by a list of group name patterns, 19 This keyword can be followed by a list of group name patterns,
20 separated by spaces. If specified, login is allowed only for 20 separated by spaces. If specified, login is allowed only for
21 users whose primary group or supplementary group list matches one 21 users whose primary group or supplementary group list matches one
22 of the patterns. `*' and `?' can be used as wildcards in the 22 of the patterns. M-bM-^@M-^X*M-bM-^@M-^Y and M-bM-^@M-^X?M-bM-^@M-^Y can be used as wildcards in the
23 patterns. Only group names are valid; a numerical group ID is 23 patterns. Only group names are valid; a numerical group ID is
24 not recognized. By default, login is allowed for all groups. 24 not recognized. By default, login is allowed for all groups.
25 25
26 AllowTcpForwarding 26 AllowTcpForwarding
27 Specifies whether TCP forwarding is permitted. The default is 27 Specifies whether TCP forwarding is permitted. The default is
28 ``yes''. Note that disabling TCP forwarding does not improve se- 28 M-bM-^@M-^\yesM-bM-^@M-^]. Note that disabling TCP forwarding does not improve secu-
29 curity unless users are also denied shell access, as they can al- 29 rity unless users are also denied shell access, as they can
30 ways install their own forwarders. 30 always install their own forwarders.
31 31
32 AllowUsers 32 AllowUsers
33 This keyword can be followed by a list of user name patterns, 33 This keyword can be followed by a list of user name patterns,
34 separated by spaces. If specified, login is allowed only for us- 34 separated by spaces. If specified, login is allowed only for
35 er names that match one of the patterns. `*' and `?' can be used 35 user names that match one of the patterns. M-bM-^@M-^X*M-bM-^@M-^Y and M-bM-^@M-^X?M-bM-^@M-^Y can be
36 as wildcards in the patterns. Only user names are valid; a nu- 36 used as wildcards in the patterns. Only user names are valid; a
37 merical user ID is not recognized. By default, login is allowed 37 numerical user ID is not recognized. By default, login is
38 for all users. If the pattern takes the form USER@HOST then USER 38 allowed for all users. If the pattern takes the form USER@HOST
39 and HOST are separately checked, restricting logins to particular 39 then USER and HOST are separately checked, restricting logins to
40 users from particular hosts. 40 particular users from particular hosts.
41 41
42 AuthorizedKeysFile 42 AuthorizedKeysFile
43 Specifies the file that contains the public keys that can be used 43 Specifies the file that contains the public keys that can be used
44 for user authentication. AuthorizedKeysFile may contain tokens 44 for user authentication. AuthorizedKeysFile may contain tokens
45 of the form %T which are substituted during connection set-up. 45 of the form %T which are substituted during connection set-up.
46 The following tokens are defined: %% is replaced by a literal 46 The following tokens are defined: %% is replaced by a literal
47 '%', %h is replaced by the home directory of the user being au- 47 M-bM-^@M-^Y%M-bM-^@M-^Y, %h is replaced by the home directory of the user being
48 thenticated and %u is replaced by the username of that user. Af- 48 authenticated and %u is replaced by the username of that user.
49 ter expansion, AuthorizedKeysFile is taken to be an absolute path 49 After expansion, AuthorizedKeysFile is taken to be an absolute
50 or one relative to the user's home directory. The default is 50 path or one relative to the userM-bM-^@M-^Ys home directory. The default
51 ``.ssh/authorized_keys''. 51 is M-bM-^@M-^\.ssh/authorized_keysM-bM-^@M-^].
52 52
53 Banner In some jurisdictions, sending a warning message before authenti- 53 Banner In some jurisdictions, sending a warning message before authenti-
54 cation may be relevant for getting legal protection. The con- 54 cation may be relevant for getting legal protection. The con-
@@ -59,14 +59,14 @@ DESCRIPTION
59 ChallengeResponseAuthentication 59 ChallengeResponseAuthentication
60 Specifies whether challenge response authentication is allowed. 60 Specifies whether challenge response authentication is allowed.
61 All authentication styles from login.conf(5) are supported. The 61 All authentication styles from login.conf(5) are supported. The
62 default is ``yes''. 62 default is M-bM-^@M-^\yesM-bM-^@M-^].
63 63
64 Ciphers 64 Ciphers
65 Specifies the ciphers allowed for protocol version 2. Multiple 65 Specifies the ciphers allowed for protocol version 2. Multiple
66 ciphers must be comma-separated. The default is 66 ciphers must be comma-separated. The default is
67 67
68 ``aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour, 68 M-bM-^@M-^XM-bM-^@M-^Xaes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
69 aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr'' 69 aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctrM-bM-^@M-^YM-bM-^@M-^Y
70 70
71 ClientAliveInterval 71 ClientAliveInterval
72 Sets a timeout interval in seconds after which if no data has 72 Sets a timeout interval in seconds after which if no data has
@@ -78,8 +78,8 @@ DESCRIPTION
78 ClientAliveCountMax 78 ClientAliveCountMax
79 Sets the number of client alive messages (see above) which may be 79 Sets the number of client alive messages (see above) which may be
80 sent without sshd receiving any messages back from the client. 80 sent without sshd receiving any messages back from the client.
81 If this threshold is reached while client alive messages are be- 81 If this threshold is reached while client alive messages are
82 ing sent, sshd will disconnect the client, terminating the ses- 82 being sent, sshd will disconnect the client, terminating the ses-
83 sion. It is important to note that the use of client alive mes- 83 sion. It is important to note that the use of client alive mes-
84 sages is very different from KeepAlive (below). The client alive 84 sages is very different from KeepAlive (below). The client alive
85 messages are sent through the encrypted channel and therefore 85 messages are sent through the encrypted channel and therefore
@@ -94,20 +94,20 @@ DESCRIPTION
94 94
95 Compression 95 Compression
96 Specifies whether compression is allowed. The argument must be 96 Specifies whether compression is allowed. The argument must be
97 ``yes'' or ``no''. The default is ``yes''. 97 M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\yesM-bM-^@M-^].
98 98
99 DenyGroups 99 DenyGroups
100 This keyword can be followed by a list of group name patterns, 100 This keyword can be followed by a list of group name patterns,
101 separated by spaces. Login is disallowed for users whose primary 101 separated by spaces. Login is disallowed for users whose primary
102 group or supplementary group list matches one of the patterns. 102 group or supplementary group list matches one of the patterns.
103 `*' and `?' can be used as wildcards in the patterns. Only group 103 M-bM-^@M-^X*M-bM-^@M-^Y and M-bM-^@M-^X?M-bM-^@M-^Y can be used as wildcards in the patterns. Only group
104 names are valid; a numerical group ID is not recognized. By de- 104 names are valid; a numerical group ID is not recognized. By
105 fault, login is allowed for all groups. 105 default, login is allowed for all groups.
106 106
107 DenyUsers 107 DenyUsers
108 This keyword can be followed by a list of user name patterns, 108 This keyword can be followed by a list of user name patterns,
109 separated by spaces. Login is disallowed for user names that 109 separated by spaces. Login is disallowed for user names that
110 match one of the patterns. `*' and `?' can be used as wildcards 110 match one of the patterns. M-bM-^@M-^X*M-bM-^@M-^Y and M-bM-^@M-^X?M-bM-^@M-^Y can be used as wildcards
111 in the patterns. Only user names are valid; a numerical user ID 111 in the patterns. Only user names are valid; a numerical user ID
112 is not recognized. By default, login is allowed for all users. 112 is not recognized. By default, login is allowed for all users.
113 If the pattern takes the form USER@HOST then USER and HOST are 113 If the pattern takes the form USER@HOST then USER and HOST are
@@ -121,25 +121,25 @@ DESCRIPTION
121 hosts from connecting to forwarded ports. GatewayPorts can be 121 hosts from connecting to forwarded ports. GatewayPorts can be
122 used to specify that sshd should bind remote port forwardings to 122 used to specify that sshd should bind remote port forwardings to
123 the wildcard address, thus allowing remote hosts to connect to 123 the wildcard address, thus allowing remote hosts to connect to
124 forwarded ports. The argument must be ``yes'' or ``no''. The 124 forwarded ports. The argument must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The
125 default is ``no''. 125 default is M-bM-^@M-^\noM-bM-^@M-^].
126 126
127 GSSAPIAuthentication 127 GSSAPIAuthentication
128 Specifies whether user authentication based on GSSAPI is allowed. 128 Specifies whether user authentication based on GSSAPI is allowed.
129 The default is ``no''. Note that this option applies to protocol 129 The default is M-bM-^@M-^\noM-bM-^@M-^]. Note that this option applies to protocol
130 version 2 only. 130 version 2 only.
131 131
132 GSSAPICleanupCredentials 132 GSSAPICleanupCredentials
133 Specifies whether to automatically destroy the user's credentials 133 Specifies whether to automatically destroy the userM-bM-^@M-^Ys credentials
134 cache on logout. The default is ``yes''. Note that this option 134 cache on logout. The default is M-bM-^@M-^\yesM-bM-^@M-^]. Note that this option
135 applies to protocol version 2 only. 135 applies to protocol version 2 only.
136 136
137 HostbasedAuthentication 137 HostbasedAuthentication
138 Specifies whether rhosts or /etc/hosts.equiv authentication to- 138 Specifies whether rhosts or /etc/hosts.equiv authentication
139 gether with successful public key client host authentication is 139 together with successful public key client host authentication is
140 allowed (hostbased authentication). This option is similar to 140 allowed (hostbased authentication). This option is similar to
141 RhostsRSAAuthentication and applies to protocol version 2 only. 141 RhostsRSAAuthentication and applies to protocol version 2 only.
142 The default is ``no''. 142 The default is M-bM-^@M-^\noM-bM-^@M-^].
143 143
144 HostKey 144 HostKey
145 Specifies a file containing a private host key used by SSH. The 145 Specifies a file containing a private host key used by SSH. The
@@ -147,20 +147,20 @@ DESCRIPTION
147 /etc/ssh/ssh_host_rsa_key and /etc/ssh/ssh_host_dsa_key for pro- 147 /etc/ssh/ssh_host_rsa_key and /etc/ssh/ssh_host_dsa_key for pro-
148 tocol version 2. Note that sshd will refuse to use a file if it 148 tocol version 2. Note that sshd will refuse to use a file if it
149 is group/world-accessible. It is possible to have multiple host 149 is group/world-accessible. It is possible to have multiple host
150 key files. ``rsa1'' keys are used for version 1 and ``dsa'' or 150 key files. M-bM-^@M-^\rsa1M-bM-^@M-^] keys are used for version 1 and M-bM-^@M-^\dsaM-bM-^@M-^] or M-bM-^@M-^\rsaM-bM-^@M-^]
151 ``rsa'' are used for version 2 of the SSH protocol. 151 are used for version 2 of the SSH protocol.
152 152
153 IgnoreRhosts 153 IgnoreRhosts
154 Specifies that .rhosts and .shosts files will not be used in 154 Specifies that .rhosts and .shosts files will not be used in
155 RhostsRSAAuthentication or HostbasedAuthentication. 155 RhostsRSAAuthentication or HostbasedAuthentication.
156 156
157 /etc/hosts.equiv and /etc/shosts.equiv are still used. The de- 157 /etc/hosts.equiv and /etc/shosts.equiv are still used. The
158 fault is ``yes''. 158 default is M-bM-^@M-^\yesM-bM-^@M-^].
159 159
160 IgnoreUserKnownHosts 160 IgnoreUserKnownHosts
161 Specifies whether sshd should ignore the user's 161 Specifies whether sshd should ignore the userM-bM-^@M-^Ys
162 $HOME/.ssh/known_hosts during RhostsRSAAuthentication or 162 $HOME/.ssh/known_hosts during RhostsRSAAuthentication or
163 HostbasedAuthentication. The default is ``no''. 163 HostbasedAuthentication. The default is M-bM-^@M-^\noM-bM-^@M-^].
164 164
165 KeepAlive 165 KeepAlive
166 Specifies whether the system should send TCP keepalive messages 166 Specifies whether the system should send TCP keepalive messages
@@ -169,29 +169,29 @@ DESCRIPTION
169 this means that connections will die if the route is down tem- 169 this means that connections will die if the route is down tem-
170 porarily, and some people find it annoying. On the other hand, 170 porarily, and some people find it annoying. On the other hand,
171 if keepalives are not sent, sessions may hang indefinitely on the 171 if keepalives are not sent, sessions may hang indefinitely on the
172 server, leaving ``ghost'' users and consuming server resources. 172 server, leaving M-bM-^@M-^\ghostM-bM-^@M-^] users and consuming server resources.
173 173
174 The default is ``yes'' (to send keepalives), and the server will 174 The default is M-bM-^@M-^\yesM-bM-^@M-^] (to send keepalives), and the server will
175 notice if the network goes down or the client host crashes. This 175 notice if the network goes down or the client host crashes. This
176 avoids infinitely hanging sessions. 176 avoids infinitely hanging sessions.
177 177
178 To disable keepalives, the value should be set to ``no''. 178 To disable keepalives, the value should be set to M-bM-^@M-^\noM-bM-^@M-^].
179 179
180 KerberosAuthentication 180 KerberosAuthentication
181 Specifies whether the password provided by the user for 181 Specifies whether the password provided by the user for
182 PasswordAuthentication will be validated through the Kerberos 182 PasswordAuthentication will be validated through the Kerberos
183 KDC. To use this option, the server needs a Kerberos servtab 183 KDC. To use this option, the server needs a Kerberos servtab
184 which allows the verification of the KDC's identity. Default is 184 which allows the verification of the KDCM-bM-^@M-^Ys identity. Default is
185 ``no''. 185 M-bM-^@M-^\noM-bM-^@M-^].
186 186
187 KerberosOrLocalPasswd 187 KerberosOrLocalPasswd
188 If set then if password authentication through Kerberos fails 188 If set then if password authentication through Kerberos fails
189 then the password will be validated via any additional local 189 then the password will be validated via any additional local
190 mechanism such as /etc/passwd. Default is ``yes''. 190 mechanism such as /etc/passwd. Default is M-bM-^@M-^\yesM-bM-^@M-^].
191 191
192 KerberosTicketCleanup 192 KerberosTicketCleanup
193 Specifies whether to automatically destroy the user's ticket 193 Specifies whether to automatically destroy the userM-bM-^@M-^Ys ticket
194 cache file on logout. Default is ``yes''. 194 cache file on logout. Default is M-bM-^@M-^\yesM-bM-^@M-^].
195 195
196 KeyRegenerationInterval 196 KeyRegenerationInterval
197 In protocol version 1, the ephemeral server key is automatically 197 In protocol version 1, the ephemeral server key is automatically
@@ -230,55 +230,55 @@ DESCRIPTION
230 230
231 MACs Specifies the available MAC (message authentication code) algo- 231 MACs Specifies the available MAC (message authentication code) algo-
232 rithms. The MAC algorithm is used in protocol version 2 for data 232 rithms. The MAC algorithm is used in protocol version 2 for data
233 integrity protection. Multiple algorithms must be comma-separat- 233 integrity protection. Multiple algorithms must be comma-sepa-
234 ed. The default is ``hmac-md5,hmac-sha1,hmac-ripemd160,hmac- 234 rated. The default is
235 sha1-96,hmac-md5-96''. 235 M-bM-^@M-^\hmac-md5,hmac-sha1,hmac-ripemd160,hmac-sha1-96,hmac-md5-96M-bM-^@M-^].
236 236
237 MaxStartups 237 MaxStartups
238 Specifies the maximum number of concurrent unauthenticated con- 238 Specifies the maximum number of concurrent unauthenticated con-
239 nections to the sshd daemon. Additional connections will be 239 nections to the sshd daemon. Additional connections will be
240 dropped until authentication succeeds or the LoginGraceTime ex- 240 dropped until authentication succeeds or the LoginGraceTime
241 pires for a connection. The default is 10. 241 expires for a connection. The default is 10.
242 242
243 Alternatively, random early drop can be enabled by specifying the 243 Alternatively, random early drop can be enabled by specifying the
244 three colon separated values ``start:rate:full'' (e.g., 244 three colon separated values M-bM-^@M-^\start:rate:fullM-bM-^@M-^] (e.g.,
245 "10:30:60"). sshd will refuse connection attempts with a proba- 245 "10:30:60"). sshd will refuse connection attempts with a proba-
246 bility of ``rate/100'' (30%) if there are currently ``start'' 246 bility of M-bM-^@M-^\rate/100M-bM-^@M-^] (30%) if there are currently M-bM-^@M-^\startM-bM-^@M-^] (10)
247 (10) unauthenticated connections. The probability increases lin- 247 unauthenticated connections. The probability increases linearly
248 early and all connection attempts are refused if the number of 248 and all connection attempts are refused if the number of unau-
249 unauthenticated connections reaches ``full'' (60). 249 thenticated connections reaches M-bM-^@M-^\fullM-bM-^@M-^] (60).
250 250
251 PasswordAuthentication 251 PasswordAuthentication
252 Specifies whether password authentication is allowed. The de- 252 Specifies whether password authentication is allowed. The
253 fault is ``yes''. 253 default is M-bM-^@M-^\yesM-bM-^@M-^].
254 254
255 PermitEmptyPasswords 255 PermitEmptyPasswords
256 When password authentication is allowed, it specifies whether the 256 When password authentication is allowed, it specifies whether the
257 server allows login to accounts with empty password strings. The 257 server allows login to accounts with empty password strings. The
258 default is ``no''. 258 default is M-bM-^@M-^\noM-bM-^@M-^].
259 259
260 PermitRootLogin 260 PermitRootLogin
261 Specifies whether root can login using ssh(1). The argument must 261 Specifies whether root can login using ssh(1). The argument must
262 be ``yes'', ``without-password'', ``forced-commands-only'' or 262 be M-bM-^@M-^\yesM-bM-^@M-^], M-bM-^@M-^\without-passwordM-bM-^@M-^], M-bM-^@M-^\forced-commands-onlyM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^].
263 ``no''. The default is ``yes''. 263 The default is M-bM-^@M-^\yesM-bM-^@M-^].
264 264
265 If this option is set to ``without-password'' password authenti- 265 If this option is set to M-bM-^@M-^\without-passwordM-bM-^@M-^] password authentica-
266 cation is disabled for root. 266 tion is disabled for root.
267 267
268 If this option is set to ``forced-commands-only'' root login with 268 If this option is set to M-bM-^@M-^\forced-commands-onlyM-bM-^@M-^] root login with
269 public key authentication will be allowed, but only if the 269 public key authentication will be allowed, but only if the
270 command option has been specified (which may be useful for taking 270 command option has been specified (which may be useful for taking
271 remote backups even if root login is normally not allowed). All 271 remote backups even if root login is normally not allowed). All
272 other authentication methods are disabled for root. 272 other authentication methods are disabled for root.
273 273
274 If this option is set to ``no'' root is not allowed to login. 274 If this option is set to M-bM-^@M-^\noM-bM-^@M-^] root is not allowed to login.
275 275
276 PermitUserEnvironment 276 PermitUserEnvironment
277 Specifies whether ~/.ssh/environment and environment= options in 277 Specifies whether ~/.ssh/environment and environment= options in
278 ~/.ssh/authorized_keys are processed by sshd. The default is 278 ~/.ssh/authorized_keys are processed by sshd. The default is
279 ``no''. Enabling environment processing may enable users to by- 279 M-bM-^@M-^\noM-bM-^@M-^]. Enabling environment processing may enable users to bypass
280 pass access restrictions in some configurations using mechanisms 280 access restrictions in some configurations using mechanisms such
281 such as LD_PRELOAD. 281 as LD_PRELOAD.
282 282
283 PidFile 283 PidFile
284 Specifies the file that contains the process ID of the sshd dae- 284 Specifies the file that contains the process ID of the sshd dae-
@@ -290,39 +290,38 @@ DESCRIPTION
290 290
291 PrintLastLog 291 PrintLastLog
292 Specifies whether sshd should print the date and time when the 292 Specifies whether sshd should print the date and time when the
293 user last logged in. The default is ``yes''. 293 user last logged in. The default is M-bM-^@M-^\yesM-bM-^@M-^].
294 294
295 PrintMotd 295 PrintMotd
296 Specifies whether sshd should print /etc/motd when a user logs in 296 Specifies whether sshd should print /etc/motd when a user logs in
297 interactively. (On some systems it is also printed by the shell, 297 interactively. (On some systems it is also printed by the shell,
298 /etc/profile, or equivalent.) The default is ``yes''. 298 /etc/profile, or equivalent.) The default is M-bM-^@M-^\yesM-bM-^@M-^].
299 299
300 Protocol 300 Protocol
301 Specifies the protocol versions sshd supports. The possible val- 301 Specifies the protocol versions sshd supports. The possible val-
302 ues are ``1'' and ``2''. Multiple versions must be comma-sepa- 302 ues are M-bM-^@M-^\1M-bM-^@M-^] and M-bM-^@M-^\2M-bM-^@M-^]. Multiple versions must be comma-separated.
303 rated. The default is ``2,1''. Note that the order of the pro- 303 The default is M-bM-^@M-^\2,1M-bM-^@M-^]. Note that the order of the protocol list
304 tocol list does not indicate preference, because the client se- 304 does not indicate preference, because the client selects among
305 lects among multiple protocol versions offered by the server. 305 multiple protocol versions offered by the server. Specifying
306 Specifying ``2,1'' is identical to ``1,2''. 306 M-bM-^@M-^\2,1M-bM-^@M-^] is identical to M-bM-^@M-^\1,2M-bM-^@M-^].
307 307
308 PubkeyAuthentication 308 PubkeyAuthentication
309 Specifies whether public key authentication is allowed. The de- 309 Specifies whether public key authentication is allowed. The
310 fault is ``yes''. Note that this option applies to protocol ver- 310 default is M-bM-^@M-^\yesM-bM-^@M-^]. Note that this option applies to protocol ver-
311 sion 2 only. RhostsRSAAuthentication should be used instead, be- 311 sion 2 only. RhostsRSAAuthentication should be used instead,
312 cause it performs RSA-based host authentication in addition to 312 because it performs RSA-based host authentication in addition to
313 normal rhosts or /etc/hosts.equiv authentication. The default is 313 normal rhosts or /etc/hosts.equiv authentication. The default is
314 ``no''. This option applies to protocol version 1 only. 314 M-bM-^@M-^\noM-bM-^@M-^]. This option applies to protocol version 1 only.
315 315
316 RhostsRSAAuthentication 316 RhostsRSAAuthentication
317 Specifies whether rhosts or /etc/hosts.equiv authentication to- 317 Specifies whether rhosts or /etc/hosts.equiv authentication
318 gether with successful RSA host authentication is allowed. The 318 together with successful RSA host authentication is allowed. The
319 default is ``no''. This option applies to protocol version 1 on- 319 default is M-bM-^@M-^\noM-bM-^@M-^]. This option applies to protocol version 1 only.
320 ly.
321 320
322 RSAAuthentication 321 RSAAuthentication
323 Specifies whether pure RSA authentication is allowed. The de- 322 Specifies whether pure RSA authentication is allowed. The
324 fault is ``yes''. This option applies to protocol version 1 on- 323 default is M-bM-^@M-^\yesM-bM-^@M-^]. This option applies to protocol version 1
325 ly. 324 only.
326 325
327 ServerKeyBits 326 ServerKeyBits
328 Defines the number of bits in the ephemeral protocol version 1 327 Defines the number of bits in the ephemeral protocol version 1
@@ -330,34 +329,34 @@ DESCRIPTION
330 329
331 StrictModes 330 StrictModes
332 Specifies whether sshd should check file modes and ownership of 331 Specifies whether sshd should check file modes and ownership of
333 the user's files and home directory before accepting login. This 332 the userM-bM-^@M-^Ys files and home directory before accepting login. This
334 is normally desirable because novices sometimes accidentally 333 is normally desirable because novices sometimes accidentally
335 leave their directory or files world-writable. The default is 334 leave their directory or files world-writable. The default is
336 ``yes''. 335 M-bM-^@M-^\yesM-bM-^@M-^].
337 336
338 Subsystem 337 Subsystem
339 Configures an external subsystem (e.g., file transfer daemon). 338 Configures an external subsystem (e.g., file transfer daemon).
340 Arguments should be a subsystem name and a command to execute up- 339 Arguments should be a subsystem name and a command to execute
341 on subsystem request. The command sftp-server(8) implements the 340 upon subsystem request. The command sftp-server(8) implements
342 ``sftp'' file transfer subsystem. By default no subsystems are 341 the M-bM-^@M-^\sftpM-bM-^@M-^] file transfer subsystem. By default no subsystems are
343 defined. Note that this option applies to protocol version 2 on- 342 defined. Note that this option applies to protocol version 2
344 ly. 343 only.
345 344
346 SyslogFacility 345 SyslogFacility
347 Gives the facility code that is used when logging messages from 346 Gives the facility code that is used when logging messages from
348 sshd. The possible values are: DAEMON, USER, AUTH, LOCAL0, LO- 347 sshd. The possible values are: DAEMON, USER, AUTH, LOCAL0,
349 CAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. The de- 348 LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. The
350 fault is AUTH. 349 default is AUTH.
351 350
352 UseDNS Specifies whether sshd should lookup the remote host name and 351 UseDNS Specifies whether sshd should lookup the remote host name and
353 check that the resolved host name for the remote IP address maps 352 check that the resolved host name for the remote IP address maps
354 back to the very same IP address. The default is ``yes''. 353 back to the very same IP address. The default is M-bM-^@M-^\yesM-bM-^@M-^].
355 354
356 UseLogin 355 UseLogin
357 Specifies whether login(1) is used for interactive login ses- 356 Specifies whether login(1) is used for interactive login ses-
358 sions. The default is ``no''. Note that login(1) is never used 357 sions. The default is M-bM-^@M-^\noM-bM-^@M-^]. Note that login(1) is never used
359 for remote command execution. Note also, that if this is en- 358 for remote command execution. Note also, that if this is
360 abled, X11Forwarding will be disabled because login(1) does not 359 enabled, X11Forwarding will be disabled because login(1) does not
361 know how to handle xauth(1) cookies. If UsePrivilegeSeparation 360 know how to handle xauth(1) cookies. If UsePrivilegeSeparation
362 is specified, it will be disabled after authentication. 361 is specified, it will be disabled after authentication.
363 362
@@ -367,35 +366,35 @@ DESCRIPTION
367 to run sshd as a non-root user. 366 to run sshd as a non-root user.
368 367
369 UsePrivilegeSeparation 368 UsePrivilegeSeparation
370 Specifies whether sshd separates privileges by creating an un- 369 Specifies whether sshd separates privileges by creating an
371 privileged child process to deal with incoming network traffic. 370 unprivileged child process to deal with incoming network traffic.
372 After successful authentication, another process will be created 371 After successful authentication, another process will be created
373 that has the privilege of the authenticated user. The goal of 372 that has the privilege of the authenticated user. The goal of
374 privilege separation is to prevent privilege escalation by con- 373 privilege separation is to prevent privilege escalation by con-
375 taining any corruption within the unprivileged processes. The 374 taining any corruption within the unprivileged processes. The
376 default is ``yes''. 375 default is M-bM-^@M-^\yesM-bM-^@M-^].
377 376
378 X11DisplayOffset 377 X11DisplayOffset
379 Specifies the first display number available for sshd's X11 for- 378 Specifies the first display number available for sshdM-bM-^@M-^Ys X11 for-
380 warding. This prevents sshd from interfering with real X11 379 warding. This prevents sshd from interfering with real X11
381 servers. The default is 10. 380 servers. The default is 10.
382 381
383 X11Forwarding 382 X11Forwarding
384 Specifies whether X11 forwarding is permitted. The argument must 383 Specifies whether X11 forwarding is permitted. The argument must
385 be ``yes'' or ``no''. The default is ``no''. 384 be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default is M-bM-^@M-^\noM-bM-^@M-^].
386 385
387 When X11 forwarding is enabled, there may be additional exposure 386 When X11 forwarding is enabled, there may be additional exposure
388 to the server and to client displays if the sshd proxy display is 387 to the server and to client displays if the sshd proxy display is
389 configured to listen on the wildcard address (see X11UseLocalhost 388 configured to listen on the wildcard address (see X11UseLocalhost
390 below), however this is not the default. Additionally, the au- 389 below), however this is not the default. Additionally, the
391 thentication spoofing and authentication data verification and 390 authentication spoofing and authentication data verification and
392 substitution occur on the client side. The security risk of us- 391 substitution occur on the client side. The security risk of
393 ing X11 forwarding is that the client's X11 display server may be 392 using X11 forwarding is that the clientM-bM-^@M-^Ys X11 display server may
394 exposed to attack when the ssh client requests forwarding (see 393 be exposed to attack when the ssh client requests forwarding (see
395 the warnings for ForwardX11 in ssh_config(5)). A system adminis- 394 the warnings for ForwardX11 in ssh_config(5)). A system adminis-
396 trator may have a stance in which they want to protect clients 395 trator may have a stance in which they want to protect clients
397 that may expose themselves to attack by unwittingly requesting 396 that may expose themselves to attack by unwittingly requesting
398 X11 forwarding, which can warrant a ``no'' setting. 397 X11 forwarding, which can warrant a M-bM-^@M-^\noM-bM-^@M-^] setting.
399 398
400 Note that disabling X11 forwarding does not prevent users from 399 Note that disabling X11 forwarding does not prevent users from
401 forwarding X11 traffic, as users can always install their own 400 forwarding X11 traffic, as users can always install their own
@@ -407,12 +406,12 @@ DESCRIPTION
407 the loopback address or to the wildcard address. By default, 406 the loopback address or to the wildcard address. By default,
408 sshd binds the forwarding server to the loopback address and sets 407 sshd binds the forwarding server to the loopback address and sets
409 the hostname part of the DISPLAY environment variable to 408 the hostname part of the DISPLAY environment variable to
410 ``localhost''. This prevents remote hosts from connecting to the 409 M-bM-^@M-^\localhostM-bM-^@M-^]. This prevents remote hosts from connecting to the
411 proxy display. However, some older X11 clients may not function 410 proxy display. However, some older X11 clients may not function
412 with this configuration. X11UseLocalhost may be set to ``no'' to 411 with this configuration. X11UseLocalhost may be set to M-bM-^@M-^\noM-bM-^@M-^] to
413 specify that the forwarding server should be bound to the wild- 412 specify that the forwarding server should be bound to the wild-
414 card address. The argument must be ``yes'' or ``no''. The de- 413 card address. The argument must be M-bM-^@M-^\yesM-bM-^@M-^] or M-bM-^@M-^\noM-bM-^@M-^]. The default
415 fault is ``yes''. 414 is M-bM-^@M-^\yesM-bM-^@M-^].
416 415
417 XAuthLocation 416 XAuthLocation
418 Specifies the full pathname of the xauth(1) program. The default 417 Specifies the full pathname of the xauth(1) program. The default
@@ -457,4 +456,4 @@ AUTHORS
457 versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support 456 versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support
458 for privilege separation. 457 for privilege separation.
459 458
460OpenBSD 3.4 September 25, 1999 7 459BSD September 25, 1999 BSD
diff --git a/uidswap.c b/uidswap.c
index 9e161d0f0..3f13f9bf4 100644
--- a/uidswap.c
+++ b/uidswap.c
@@ -191,12 +191,10 @@ permanently_set_uid(struct passwd *pw)
191 (u_int)pw->pw_gid); 191 (u_int)pw->pw_gid);
192 } 192 }
193 193
194#ifndef HAVE_CYGWIN
195 /* Try restoration of UID if changed (test clearing of saved uid) */ 194 /* Try restoration of UID if changed (test clearing of saved uid) */
196 if (old_uid != pw->pw_uid && 195 if (old_uid != pw->pw_uid &&
197 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) 196 (setuid(old_uid) != -1 || seteuid(old_uid) != -1))
198 fatal("%s: was able to restore old [e]uid", __func__); 197 fatal("%s: was able to restore old [e]uid", __func__);
199#endif
200 198
201 /* Verify UID drop was successful */ 199 /* Verify UID drop was successful */
202 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) { 200 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) {
diff --git a/version.h b/version.h
index 0a98e4290..93e6a0b7c 100644
--- a/version.h
+++ b/version.h
@@ -1,3 +1,5 @@
1/* $OpenBSD: version.h,v 1.39 2003/09/16 21:02:40 markus Exp $ */ 1/* $OpenBSD: version.h,v 1.39 2003/09/16 21:02:40 markus Exp $ */
2 2
3#ifndef SSH_VERSION
3#define SSH_VERSION "OpenSSH_3.7.1p2" 4#define SSH_VERSION "OpenSSH_3.7.1p2"
5#endif /* SSH_VERSION */