diff options
72 files changed, 2496 insertions, 4699 deletions
@@ -1,3 +1,192 @@ | |||
1 | 20040418 | ||
2 | - (dtucker) [auth-pam.c] Log username and source host for failed PAM | ||
3 | authentication attempts. With & ok djm@ | ||
4 | - (djm) [openbsd-compat/bsd-cygwin_util.c] Recent versions of Cygwin allow | ||
5 | change of user context without a password, so relax auth method | ||
6 | restrictions; from vinschen AT redhat.com; ok dtucker@ | ||
7 | - Release 3.8.1p1 | ||
8 | |||
9 | 20040416 | ||
10 | - (dtucker) [regress/sftp-cmds.sh] Skip quoting test on Cygwin, since | ||
11 | FAT/NTFS does not permit quotes in filenames. From vinschen at redhat.com | ||
12 | - (djm) [auth-krb5.c auth.h session.c] Explicitly refer to Kerberos ccache | ||
13 | file using FILE: method, fixes problems on Mac OSX. | ||
14 | Patch from simon@sxw.org.uk; ok dtucker@ | ||
15 | - (tim) [configure.ac] Set SETEUID_BREAKS_SETUID, BROKEN_SETREUID and | ||
16 | BROKEN_SETREGID for SCO OpenServer 3 | ||
17 | |||
18 | 20040412 | ||
19 | - (dtucker) [sshd_config.5] Add PermitRootLogin without-password warning | ||
20 | from bug #701 (text from jfh at cise.ufl.edu). | ||
21 | - (dtucker) [acconfig.h configure.ac defines.h] Bug #673: check for 4-arg | ||
22 | skeychallenge(), eg on NetBSD. ok mouring@ | ||
23 | - (dtucker) [auth-skey.c defines.h monitor.c] Make skeychallenge explicitly | ||
24 | 4-arg, with compatibility for 3-arg versions. From djm@, ok me. | ||
25 | - (djm) [configure.ac] Fix detection of libwrap on OpenBSD; ok dtucker@ | ||
26 | |||
27 | 20040408 | ||
28 | - (dtucker) [loginrec.c] Use UT_LINESIZE if available, prevents truncating | ||
29 | pty name on Linux 2.6.x systems. Patch from jpe at eisenmenger.org. | ||
30 | - (bal) [monitor.c monitor_wrap.c] Second try. Put the zlib.h headers | ||
31 | back and #undef TARGET_OS_MAC instead. (Bug report pending with Apple) | ||
32 | - (dtucker) [defines.h loginrec.c] Define UT_LINESIZE if not defined and | ||
33 | simplify loginrec.c. ok tim@ | ||
34 | - (bal) [monitor.c monitor_wrap.c] Ok.. Last time. Promise. Tim suggested | ||
35 | limiting scope and dtucker@ agreed. | ||
36 | |||
37 | 20040407 | ||
38 | - (dtucker) [session.c] Flush stdout after displaying loginmsg. From | ||
39 | f_mohr at yahoo.de. | ||
40 | - (bal) [acconfig.h auth-krb5.c configure.ac gss-serv-krb5.c] Check to see | ||
41 | if Krb5 library exports krb5_init_etc() since some OSes (like MacOS/X) | ||
42 | are starting to restrict it as internal since it is not needed by | ||
43 | developers any more. (Patch based on Apple tree) | ||
44 | - (bal) [monitor.c monitor_wrap.c] monitor_wrap.c] moved zlib.h higher since | ||
45 | krb5 on MacOS/X conflicts. There may be a better solution, but this will | ||
46 | work for now. | ||
47 | |||
48 | 20040406 | ||
49 | - (dtucker) [acconfig.h configure.ac defines.h] Bug #820: don't use | ||
50 | updwtmpx() on IRIX since it seems to clobber utmp. ok djm@ | ||
51 | - (dtucker) [configure.ac] Bug #816, #748 (again): Attempt to detect | ||
52 | broken getaddrinfo and friends on HP-UX. ok djm@ | ||
53 | |||
54 | 20040330 | ||
55 | - (dtucker) [configure.ac] Bug #811: Use "!" for LOCKED_PASSWD_PREFIX on | ||
56 | Linuxes, since that's what many use. ok djm@ | ||
57 | - (dtucker) [auth-pam.c] rename the_authctxt to sshpam_authctxt in auth-pam.c | ||
58 | to reduce potential confusion with the one in sshd.c. ok djm@ | ||
59 | - (djm) Bug #825: Fix ip_options_check() for mapped IPv4/IPv6 connection; | ||
60 | with & ok dtucker@ | ||
61 | |||
62 | 20040327 | ||
63 | - (dtucker) [session.c] Bug #817: Clear loginmsg after fork to prevent | ||
64 | duplicate login messages for mutli-session logins. ok djm@ | ||
65 | |||
66 | 20040322 | ||
67 | - (djm) [sshd.c] Drop supplemental groups if started as root | ||
68 | - (djm) OpenBSD CVS Sync | ||
69 | - markus@cvs.openbsd.org 2004/03/09 22:11:05 | ||
70 | [ssh.c] | ||
71 | increase x11 cookie lifetime to 20 minutes; ok djm | ||
72 | - markus@cvs.openbsd.org 2004/03/10 09:45:06 | ||
73 | [ssh.c] | ||
74 | trim usage to match ssh(1) and look more like unix. ok djm@ | ||
75 | - markus@cvs.openbsd.org 2004/03/11 08:36:26 | ||
76 | [sshd.c] | ||
77 | trim usage; ok deraadt | ||
78 | - markus@cvs.openbsd.org 2004/03/11 10:21:17 | ||
79 | [ssh.c sshd.c] | ||
80 | ssh, sshd: sync version output, ok djm | ||
81 | - markus@cvs.openbsd.org 2004/03/20 10:40:59 | ||
82 | [version.h] | ||
83 | 3.8.1 | ||
84 | - (djm) Crank RPM spec versions | ||
85 | |||
86 | 20040311 | ||
87 | - (djm) [configure.ac] Add standard license to configure.ac; ok ben, dtucker | ||
88 | |||
89 | 20040310 | ||
90 | - (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #812: #undef getaddrinfo | ||
91 | before redefining it, silences warnings on Tru64. | ||
92 | |||
93 | 20040308 | ||
94 | - (dtucker) [sshd.c] Back out rev 1.270 as it caused problems on some | ||
95 | platforms (eg SCO, HP-UX) with logging in the wrong TZ. ok djm@ | ||
96 | - (dtucker) [configure.ac sshd.c openbsd-compat/bsd-misc.h | ||
97 | openbsd-compat/setenv.c] Unset KRB5CCNAME on AIX to prevent it from being | ||
98 | inherited by the child. ok djm@ | ||
99 | - (dtucker) [auth-pam.c auth-pam.h auth1.c auth2.c monitor.c monitor_wrap.c | ||
100 | monitor_wrap.h] Bug #808: Ensure force_pwchange is correctly initialized | ||
101 | even if keyboard-interactive is not used by the client. Prevents | ||
102 | segfaults in some cases where the user's password is expired (note this | ||
103 | is not considered a security exposure). ok djm@ | ||
104 | - (djm) OpenBSD CVS Sync | ||
105 | - markus@cvs.openbsd.org 2004/03/03 06:47:52 | ||
106 | [sshd.c] | ||
107 | change proctiltle after accept(2); ok henning, deraadt, djm | ||
108 | - djm@cvs.openbsd.org 2004/03/03 09:30:42 | ||
109 | [sftp-client.c] | ||
110 | Don't print duplicate messages when progressmeter is off | ||
111 | Spotted by job317 AT mailvault.com; ok markus@ | ||
112 | - djm@cvs.openbsd.org 2004/03/03 09:31:20 | ||
113 | [sftp.c] | ||
114 | Fix initialisation of progress meter; ok markus@ | ||
115 | - markus@cvs.openbsd.org 2004/03/05 10:53:58 | ||
116 | [readconf.c readconf.h scp.1 sftp.1 ssh.1 ssh_config.5 sshconnect2.c] | ||
117 | add IdentitiesOnly; ok djm@, pb@ | ||
118 | - djm@cvs.openbsd.org 2004/03/08 09:38:05 | ||
119 | [ssh-keyscan.c] | ||
120 | explicitly initialise remote_major and remote_minor. | ||
121 | from cjwatson AT debian.org; ok markus@ | ||
122 | - dtucker@cvs.openbsd.org 2004/03/08 10:18:57 | ||
123 | [sshd_config.5] | ||
124 | Document KerberosGetAFSToken; ok markus@ | ||
125 | - (tim) [regress/README.regress] Document ssh-rand-helper issue. ok bal | ||
126 | |||
127 | 20040307 | ||
128 | - (tim) [regress/login-timeout.sh] fix building outside of source tree. | ||
129 | |||
130 | 20040304 | ||
131 | - (dtucker) [auth-pam.c] Don't try to export PAM when compiled with | ||
132 | -DUSE_POSIX_THREADS. From antoine.verheijen at ualbert ca. ok djm@ | ||
133 | - (dtucker) [auth-pam.c] Reset signal status when starting pam auth thread, | ||
134 | prevent hanging during PAM keyboard-interactive authentications. ok djm@ | ||
135 | - (dtucker) [auth-passwd.c auth-sia.c auth-sia.h defines.h | ||
136 | openbsd-compat/xcrypt.c] Bug #802: Fix build error on Tru64 when | ||
137 | configured --with-osfsia. ok djm@ | ||
138 | |||
139 | 20040303 | ||
140 | - (djm) [configure.ac ssh-agent.c] Use prctl to prevent ptrace on ssh-agent | ||
141 | ok dtucker | ||
142 | |||
143 | 20040229 | ||
144 | - (tim) [configure.ac] Put back bits mistakenly removed from Rev 1.188 | ||
145 | |||
146 | 20040229 | ||
147 | - (dtucker) OpenBSD CVS Sync | ||
148 | - djm@cvs.openbsd.org 2004/02/25 00:22:45 | ||
149 | [sshd.c] | ||
150 | typo in comment | ||
151 | - dtucker@cvs.openbsd.org 2004/02/27 22:42:47 | ||
152 | [dh.c] | ||
153 | Prevent sshd from sending DH groups with a primitive generator of zero or | ||
154 | one, even if they are listed in /etc/moduli. ok markus@ | ||
155 | - dtucker@cvs.openbsd.org 2004/02/27 22:44:56 | ||
156 | [dh.c] | ||
157 | Make /etc/moduli line buffer big enough for 8kbit primes, in case anyone | ||
158 | ever uses one. ok markus@ | ||
159 | - dtucker@cvs.openbsd.org 2004/02/27 22:49:27 | ||
160 | [dh.c] | ||
161 | Reset bit counter at the right time, fixes debug output in the case where | ||
162 | the DH group is rejected. ok markus@ | ||
163 | - dtucker@cvs.openbsd.org 2004/02/17 08:23:20 | ||
164 | [regress/Makefile regress/login-timeout.sh] | ||
165 | Add regression test for LoginGraceTime; ok markus@ | ||
166 | - markus@cvs.openbsd.org 2004/02/24 16:56:30 | ||
167 | [regress/test-exec.sh] | ||
168 | allow arguments in ${TEST_SSH_XXX} | ||
169 | - markus@cvs.openbsd.org 2004/02/24 17:06:52 | ||
170 | [regress/ssh-com-client.sh regress/ssh-com-keygen.sh | ||
171 | regress/ssh-com-sftp.sh regress/ssh-com.sh] | ||
172 | test against recent ssh.com releases | ||
173 | - dtucker@cvs.openbsd.org 2004/02/28 12:16:57 | ||
174 | [regress/dynamic-forward.sh] | ||
175 | Make dynamic-forward understand nc's new output. ok markus@ | ||
176 | - dtucker@cvs.openbsd.org 2004/02/28 13:44:45 | ||
177 | [regress/try-ciphers.sh] | ||
178 | Test acss too; ok markus@ | ||
179 | - (dtucker) [regress/try-ciphers.sh] Skip acss if not compiled in (eg if we | ||
180 | built with openssl < 0.9.7) | ||
181 | |||
182 | 20040226 | ||
183 | - (bal) KNF our sshlogin.c even if the code looks nothing like upstream | ||
184 | code due to diversity issues. | ||
185 | |||
186 | 20040225 | ||
187 | - (djm) Trim ChangeLog | ||
188 | - (djm) Don't specify path to PAM modules in Redhat sshd.pam; from Fedora | ||
189 | |||
1 | 20040224 | 190 | 20040224 |
2 | - (dtucker) OpenBSD CVS Sync | 191 | - (dtucker) OpenBSD CVS Sync |
3 | - markus@cvs.openbsd.org 2004/02/19 21:15:04 | 192 | - markus@cvs.openbsd.org 2004/02/19 21:15:04 |
@@ -794,1139 +983,4 @@ | |||
794 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 983 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
795 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 984 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
796 | 985 | ||
797 | 20030919 | 986 | $Id: ChangeLog,v 1.3316.2.1 2004/04/18 12:51:12 djm Exp $ |
798 | - (djm) Bug #683: Remove reference to --with-ipv4-default from INSTALL; | ||
799 | djast AT cs.toronto.edu | ||
800 | - (djm) Bug #661: Remove duplicate check for basename; from | ||
801 | bugzilla-openssh AT thewrittenword.com | ||
802 | - (djm) Bug #641: Allow RedHat RPM building without GTK-2; Patch from | ||
803 | jason AT devrandom.org | ||
804 | - (djm) Bug #646: Fix location of x11-ssh-askpass; Jim | ||
805 | - (dtucker) [openbsd-compat/port-aix.h] Bug #640: Don't include audit.h | ||
806 | unless required. Reorder to reduce warnings. | ||
807 | - (dtucker) [session.c] Bug #643: Fix size_t -> u_int and fix null deref | ||
808 | when /etc/default/login doesn't exist or isn't readable. Fixes from | ||
809 | jparsons-lists at saffron.net and georg.oppenberg at deu mci com. | ||
810 | - (dtucker) [acconfig.h] Updated basename test needs HAVE_BASENAME | ||
811 | |||
812 | 20030918 | ||
813 | - (djm) Bug #652: Fix empty password auth | ||
814 | |||
815 | 20030917 | ||
816 | - (djm) Sync with V_3_7 branch | ||
817 | - (djm) OpenBSD Sync | ||
818 | - markus@cvs.openbsd.org 2003/09/16 21:02:40 | ||
819 | [buffer.c channels.c version.h] | ||
820 | more malloc/fatal fixes; ok millert/deraadt; ghudson at MIT.EDU | ||
821 | - (djm) Crank RPM spec file versions | ||
822 | - (tim) [openbsd-compat/inet_ntoa.c] 20030917 "Sync with V_3_7 branch" undid | ||
823 | 20030916 "Missed dead header in inet_ntoa.c" | ||
824 | |||
825 | 20030916 | ||
826 | - (dtucker) [acconfig.h configure.ac defines.h session.c] Bug #252: Retrieve | ||
827 | PATH (or SUPATH) and UMASK from /etc/default/login on platforms that have it | ||
828 | (eg Solaris, Reliant Unix). Patch from Robert.Dahlem at siemens.com. | ||
829 | ok djm@ | ||
830 | - (bal) OpenBSD Sync | ||
831 | - deraadt@cvs.openbsd.org 2003/09/16 03:03:47 | ||
832 | [buffer.c] | ||
833 | do not expand buffer before attempting to reallocate it; markus ok | ||
834 | - (tim) [configure.ac] Fix portability issues. | ||
835 | - (bal) Missed dead header in inet_ntoa.c | ||
836 | |||
837 | 20030914 | ||
838 | - (dtucker) [Makefile regress/Makefile] Fix portability issues preventing | ||
839 | the regression tests from running with Solaris' make. Patch from Brian | ||
840 | Poole (raj at cerias.purdue.edu). | ||
841 | - (dtucker) [regress/Makefile] AIX's make doesn't like " +=", so replace | ||
842 | with vanilla "=". | ||
843 | |||
844 | 20030913 | ||
845 | - (dtucker) [regress/agent-timeout.sh] Timeout of 5 sec is borderline for | ||
846 | slower hosts, increase to 10 sec. | ||
847 | - (dtucker) [auth-passwd.c] On AIX, call setauthdb() before loginsuccess(), | ||
848 | required to correctly reset failed login count when using a password | ||
849 | registry other than "files" (eg LDAP, see bug #543). | ||
850 | - (tim) [configure.ac] define WITH_ABBREV_NO_TTY for SCO. | ||
851 | Report by Roger Cornelius. | ||
852 | - (dtucker) [auth-pam.c] Use SSHD_PAM_SERVICE for PAM service name, patch | ||
853 | from cjwatson at debian.org. | ||
854 | |||
855 | 20030912 | ||
856 | - (tim) [regress/agent-ptrace.sh] sh doesn't like "if ! shell_function; then". | ||
857 | - (tim) [Makefile.in] only mkdir regress if it does not exist. | ||
858 | - (tim) [regress/yes-head.sh] shell portability fix. | ||
859 | |||
860 | 20030911 | ||
861 | - (dtucker) [configure.ac] Bug #588, #615: Move other libgen tests to after | ||
862 | the dirname test, to allow a broken dirname to be detected correctly. | ||
863 | Based partially on patch supplied by alex.kiernan at thus.net. ok djm@ | ||
864 | - (tim) [configure.ac] Move libgen tests to before libwrap to unbreak | ||
865 | UnixWare 2.03 using --with-tcp-wrappers. | ||
866 | - (tim) [configure.ac] Prefer setuid/setgid on UnixWare and Open Server. | ||
867 | - (tim) [regress/agent-ptrace.sh regress/dynamic-forward.sh | ||
868 | regress/sftp-cmds.sh regress/stderr-after-eof.sh regress/test-exec.sh] | ||
869 | no longer depends on which(1). patch by dtucker@ | ||
870 | |||
871 | 20030910 | ||
872 | - (dtucker) [configure.ac] Bug #636: Add support for Cray's new X1 machine. | ||
873 | Patch from wendyp at cray.com. | ||
874 | - (dtucker) [configure.ac] Part of bug #615: tcsendbreak might be a macro. | ||
875 | - (dtucker) [regressh/yes-head.sh] Some platforms (eg Solaris) don't have | ||
876 | "yes". | ||
877 | |||
878 | 20030909 | ||
879 | - (tim) [regress/Makefile] Fixes for building outside of a read-only | ||
880 | source tree. | ||
881 | - (tim) [regress/agent-timeout.sh] s/TIMEOUT/SSHAGENT_TIMEOUT/ Fixes conflict | ||
882 | with shell read-only variable. | ||
883 | - (tim) [regress/sftp-badcmds.sh regress/sftp-cmds.sh] Fix errors like | ||
884 | UX:rm: ERROR: Cannot remove '.' or '..' | ||
885 | |||
886 | 20030908 | ||
887 | - (tim) [configure.ac openbsd-compat/getrrsetbyname.c] wrap _getshort and | ||
888 | _getlong in #ifndef | ||
889 | - (tim) [configure.ac acconfig.h openbsd-compat/getrrsetbyname.c] test for | ||
890 | HEADER.ad in arpa/nameser.h | ||
891 | - (tim) [ssh-keygen.c] s/PATH_MAX/MAXPATHLEN/ ok mouring@ | ||
892 | |||
893 | 20030907 | ||
894 | - (dtucker) [agent-ptrace.sh dynamic-forward.sh (all regress/)] | ||
895 | Put "which" inside quotes. | ||
896 | - (dtucker) [dynamic-forward.sh forwarding.sh sftp-batch.sh (all regress/)] | ||
897 | Add ${EXEEXT}: required to work on Cygwin. | ||
898 | - (dtucker) [regress/sftp-batch.sh] Make temporary batch file name more | ||
899 | distinctive, so "rm ${BATCH}.*" doesn't match the script itself. | ||
900 | - (dtucker) [regress/sftp-cmds.sh] Skip quoted file test on Cygwin. | ||
901 | - (dtucker) [openbsd-compat/xcrypt.c] #elsif -> #elif | ||
902 | - (dtucker) [acconfig.h] Typo. | ||
903 | - (dtucker) [CREDITS Makefile.in configure.ac mdoc2man.awk mdoc2man.pl] | ||
904 | Replace mdoc2man.pl with mdoc2man.awk, provided by Peter Stuge. | ||
905 | |||
906 | 20030906 | ||
907 | - (dtucker) [acconfig.h configure.ac uidswap.c] Prefer setuid/setgid on AIX. | ||
908 | |||
909 | 20030905 | ||
910 | - (dtucker) [Makefile.in] Add distclean target for regress/, fix clean target. | ||
911 | |||
912 | 20030904 | ||
913 | - (dtucker) Portablize regression tests. Parts contributed by Roumen | ||
914 | Petrov, David M. Williams and Corinna Vinschen. | ||
915 | - [Makefile.in] Add "make tests" target and "make clean" hooks. | ||
916 | - [regress/agent-getpeereid.sh] Skip test on platforms that don't support | ||
917 | getpeereid. | ||
918 | - [regress/agent-ptrace.sh] Skip tests if platform doesn't support it or | ||
919 | gdb cannot be found. | ||
920 | - [regress/reconfigure/sh] Make path to sshd fully qualified if required. | ||
921 | - [regress/rekey.sh] Remove dependence on /dev/zero (not all platforms have | ||
922 | it). The sparse file will take less disk space too. | ||
923 | - [regress/sftp-cmds.sh] Ensure files used for test are readable. | ||
924 | - [regress/stderr-after-eof.sh] Search for a usable checksum program. | ||
925 | - [regress/sftp-badcmds.sh regress/sftp-cmds.sh regress/sftp.sh | ||
926 | regress/ssh-com-client.sh regress/ssh-com-sftp.sh regress/stderr-data.sh | ||
927 | regress/transfer.sh] Use ${EXEEXT} where appropriate. | ||
928 | - [regress/sftp.sh regress/ssh-com-sftp.sh] Remove dependency on /dev/stdin. | ||
929 | - [regress/agent-ptrace.sh regress/agent-timeout.sh] | ||
930 | "grep -q" -> "grep >/dev/null" | ||
931 | - [regress/agent.sh regress/proto-version.sh regress/ssh-com.sh | ||
932 | regress/test-exec.sh] Handle different ways of echoing without newlines. | ||
933 | - [regress/dynamic-forward.sh] Some "which" programs output on stderr. | ||
934 | - [regress/sftp-cmds.sh] Use portable "test" option. | ||
935 | - [regress/test-exec.sh] Use sudo, search for "whoami" equivalent, always | ||
936 | use Strictmodes no, wait longer for sshd startup. | ||
937 | - [regress/Makefile] Remove BSDisms. | ||
938 | - [regress/README.regress] Add a basic readme. | ||
939 | - [Makefile.in regress/agent-getpeereid.sh] config.h is now in $BUILDDIR | ||
940 | not $OBJ. | ||
941 | - [Makefile.in regress/agent-ptrace] Fix minor regress issues on Cygwin. | ||
942 | |||
943 | 20030903 | ||
944 | - (djm) OpenBSD CVS Sync | ||
945 | - markus@cvs.openbsd.org 2003/08/26 09:58:43 | ||
946 | [auth-passwd.c auth.c auth.h auth1.c auth2-none.c auth2-passwd.c] | ||
947 | [auth2.c monitor.c] | ||
948 | fix passwd auth for 'username leaks via timing'; with djm@, original | ||
949 | patches from solar | ||
950 | - markus@cvs.openbsd.org 2003/08/28 12:54:34 | ||
951 | [auth.h] | ||
952 | remove kerberos support from ssh1, since it has been replaced with GSSAPI; | ||
953 | but keep kerberos passwd auth for ssh1 and 2; ok djm, hin, henning, ... | ||
954 | - markus@cvs.openbsd.org 2003/09/02 16:40:29 | ||
955 | [version.h] | ||
956 | enter 3.7 | ||
957 | - jmc@cvs.openbsd.org 2003/09/02 18:50:06 | ||
958 | [sftp.1 ssh_config.5] | ||
959 | escape punctuation; | ||
960 | ok deraadt@ | ||
961 | |||
962 | 20030902 | ||
963 | - (djm) OpenBSD CVS Sync | ||
964 | - deraadt@cvs.openbsd.org 2003/08/24 17:36:51 | ||
965 | [auth2-gss.c] | ||
966 | 64 bit cleanups; markus ok | ||
967 | - markus@cvs.openbsd.org 2003/08/28 12:54:34 | ||
968 | [auth-krb5.c auth.h auth1.c monitor.c monitor.h monitor_wrap.c] | ||
969 | [monitor_wrap.h readconf.c servconf.c session.c ssh_config.5] | ||
970 | [sshconnect1.c sshd.c sshd_config sshd_config.5] | ||
971 | remove kerberos support from ssh1, since it has been replaced with GSSAPI; | ||
972 | but keep kerberos passwd auth for ssh1 and 2; ok djm, hin, henning, ... | ||
973 | - markus@cvs.openbsd.org 2003/08/29 10:03:15 | ||
974 | [compat.c compat.h] | ||
975 | SSH_BUG_K5USER is unused; ok henning@ | ||
976 | - markus@cvs.openbsd.org 2003/08/29 10:04:36 | ||
977 | [channels.c nchan.c] | ||
978 | be less chatty; debug -> debug2, cleanup; ok henning@ | ||
979 | - markus@cvs.openbsd.org 2003/08/31 10:26:04 | ||
980 | [progressmeter.c] | ||
981 | pass file_size + 1 to snprintf: fixes printing of truncated | ||
982 | file names; fix based on patch/report from sturm@; | ||
983 | - markus@cvs.openbsd.org 2003/08/31 12:14:22 | ||
984 | [progressmeter.c] | ||
985 | do write to buf[-1] | ||
986 | - markus@cvs.openbsd.org 2003/08/31 13:29:05 | ||
987 | [session.c] | ||
988 | call ssh_gssapi_storecreds conditionally from do_exec(); | ||
989 | with sxw@inf.ed.ac.uk | ||
990 | - markus@cvs.openbsd.org 2003/08/31 13:30:18 | ||
991 | [gss-serv.c] | ||
992 | correct string termination in parse_ename(); sxw@inf.ed.ac.uk | ||
993 | - markus@cvs.openbsd.org 2003/08/31 13:31:57 | ||
994 | [gss-serv.c] | ||
995 | whitspace KNF | ||
996 | - markus@cvs.openbsd.org 2003/09/01 09:50:04 | ||
997 | [sshd_config.5] | ||
998 | gss kex is not supported; sxw@inf.ed.ac.uk | ||
999 | - markus@cvs.openbsd.org 2003/09/01 12:50:46 | ||
1000 | [readconf.c] | ||
1001 | rm gssapidelegatecreds alias; never supported before | ||
1002 | - markus@cvs.openbsd.org 2003/09/01 13:52:18 | ||
1003 | [ssh.h] | ||
1004 | rm whitespace | ||
1005 | - markus@cvs.openbsd.org 2003/09/01 18:15:50 | ||
1006 | [readconf.c readconf.h servconf.c servconf.h ssh.c] | ||
1007 | remove unused kerberos code; ok henning@ | ||
1008 | - markus@cvs.openbsd.org 2003/09/01 20:44:54 | ||
1009 | [auth2-gss.c] | ||
1010 | fix leak | ||
1011 | - (djm) Don't initialise pam_conv structures inline. Avoids HP/UX compiler | ||
1012 | error. Part of Bug #423, patch from michael_steffens AT hp.com | ||
1013 | - (djm) Bug #423: reorder setting of PAM_TTY and calling of PAM session | ||
1014 | management (now done in do_setusercontext). Largely from | ||
1015 | michael_steffens AT hp.com | ||
1016 | - (djm) Fix openbsd-compat/ again - remove references to strl(cpy|cat).h | ||
1017 | |||
1018 | 20030829 | ||
1019 | - (bal) openbsd-compat/ clean up. Considate headers, add in Id on our | ||
1020 | files, and added missing license to header. | ||
1021 | |||
1022 | 20030826 | ||
1023 | - (djm) Bug #629: Mark ssh_config option "pamauthenticationviakbdint" | ||
1024 | as deprecated. Remove mention from README.privsep. Patch from | ||
1025 | aet AT cc.hut.fi | ||
1026 | - (dtucker) OpenBSD CVS Sync | ||
1027 | - markus@cvs.openbsd.org 2003/08/22 10:56:09 | ||
1028 | [auth2.c auth2-gss.c auth.h compat.c compat.h gss-genr.c gss-serv-krb5.c | ||
1029 | gss-serv.c monitor.c monitor.h monitor_wrap.c monitor_wrap.h readconf.c | ||
1030 | readconf.h servconf.c servconf.h session.c session.h ssh-gss.h | ||
1031 | ssh_config.5 sshconnect2.c sshd_config sshd_config.5] | ||
1032 | support GSS API user authentication; patches from Simon Wilkinson, | ||
1033 | stripped down and tested by Jakob and myself. | ||
1034 | - markus@cvs.openbsd.org 2003/08/22 13:20:03 | ||
1035 | [sshconnect2.c] | ||
1036 | remove support for "kerberos-2@ssh.com" | ||
1037 | - markus@cvs.openbsd.org 2003/08/22 13:22:27 | ||
1038 | [auth2.c] (auth2-krb5.c removed) | ||
1039 | nuke "kerberos-2@ssh.com" | ||
1040 | - markus@cvs.openbsd.org 2003/08/22 20:55:06 | ||
1041 | [LICENCE] | ||
1042 | add Simon Wilkinson | ||
1043 | - deraadt@cvs.openbsd.org 2003/08/24 17:36:52 | ||
1044 | [monitor.c monitor_wrap.c sshconnect2.c] | ||
1045 | 64 bit cleanups; markus ok | ||
1046 | - fgsch@cvs.openbsd.org 2003/08/25 08:13:09 | ||
1047 | [sftp-int.c] | ||
1048 | fix div by zero when listing for filename lengths longer than width. | ||
1049 | markus@ ok. | ||
1050 | - djm@cvs.openbsd.org 2003/08/25 10:33:33 | ||
1051 | [sshconnect2.c] | ||
1052 | fprintf->logit to silence login banner with "ssh -q"; ok markus@ | ||
1053 | - (dtucker) [Makefile.in acconfig.h auth-krb5.c auth-pam.c auth-pam.h | ||
1054 | configure.ac defines.h gss-serv-krb5.c session.c ssh-gss.h sshconnect1.c | ||
1055 | sshconnect2.c] Add Portable GSSAPI support, patch by Simon Wilkinson. | ||
1056 | - (dtucker) [Makefile.in] Remove auth2-krb5. | ||
1057 | - (dtucker) [contrib/aix/inventory.sh] Add public domain notice. ok mouring@ | ||
1058 | (the original author) | ||
1059 | - (dtucker) [auth.c] Do not check for locked accounts when PAM is enabled. | ||
1060 | |||
1061 | 20030825 | ||
1062 | - (djm) Bug #621: Select OpenSC keys by usage attributes. Patch from | ||
1063 | larsch@trustcenter.de | ||
1064 | - (bal) openbsd-compat/ OpenBSD updates. Mostly licensing, ansifications | ||
1065 | and minor fixes. OK djm@ | ||
1066 | - (bal) redo how we handle 'mysignal()'. Move it to | ||
1067 | openbsd-compat/bsd-misc.c, s/mysignal/signal/ and #define signal to | ||
1068 | be our 'mysignal' by default. OK djm@ | ||
1069 | - (dtucker) [acconfig.h auth.c configure.ac sshd.8] Bug #422 again: deny | ||
1070 | any access to locked accounts. ok djm@ | ||
1071 | - (djm) Bug #564: Perform PAM account checks for all authentications when | ||
1072 | UsePAM=yes; ok dtucker | ||
1073 | - (dtucker) [configure.ac] Bug #533, #551: define BROKEN_GETADDRINFO on | ||
1074 | Tru64, solves getnameinfo and "bad addr or host" errors. ok djm@ | ||
1075 | - (dtucker) [README buildbff.sh inventory.sh] (all in contrib/aix) | ||
1076 | Update package builder: correctly handle config variables, use lsuser | ||
1077 | rather than /etc/passwd, fix typos, add Id's. | ||
1078 | |||
1079 | 20030822 | ||
1080 | - (djm) s/get_progname/ssh_get_progname/g to avoid conflict with Heimdal | ||
1081 | -lbroken; ok dtucker | ||
1082 | - (dtucker) [contrib/cygwin/ssh-user-config] Put keys in authorized_keys | ||
1083 | rather that authorized_keys2. Patch from vinschen@redhat.com. | ||
1084 | |||
1085 | 20030821 | ||
1086 | - (dtucker) OpenBSD CVS Sync | ||
1087 | - markus@cvs.openbsd.org 2003/08/14 16:08:58 | ||
1088 | [ssh-keygen.c] | ||
1089 | exit after primetest, ok djm@ | ||
1090 | - (dtucker) [defines.h] Put CMSG_DATA, CMSG_FIRSTHDR with other CMSG* macros, | ||
1091 | change CMSG_DATA to use __CMSG_ALIGN (and thus work properly), reformat for | ||
1092 | consistency. | ||
1093 | - (dtucker) [configure.ac] Move openpty/ctty test outside of case statement | ||
1094 | and after normal openpty test. | ||
1095 | |||
1096 | 20030813 | ||
1097 | - (dtucker) [session.c] Remove #ifdef TIOCSBRK kludge. | ||
1098 | - (dtucker) OpenBSD CVS Sync | ||
1099 | - markus@cvs.openbsd.org 2003/08/13 08:33:02 | ||
1100 | [session.c] | ||
1101 | use more portable tcsendbreak(3) and ignore break_length; | ||
1102 | ok deraadt, millert | ||
1103 | - markus@cvs.openbsd.org 2003/08/13 08:46:31 | ||
1104 | [auth1.c readconf.c readconf.h servconf.c servconf.h ssh.c ssh_config | ||
1105 | ssh_config.5 sshconnect1.c sshd.8 sshd.c sshd_config sshd_config.5] | ||
1106 | remove RhostsAuthentication; suggested by djm@ before; ok djm@, deraadt@, | ||
1107 | fgsch@, miod@, henning@, jakob@ and others | ||
1108 | - markus@cvs.openbsd.org 2003/08/13 09:07:10 | ||
1109 | [readconf.c ssh.c] | ||
1110 | socks4->socks, since with support both 4 and 5; dtucker@zip.com.au | ||
1111 | - (dtucker) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] | ||
1112 | Add a tcsendbreak function for platforms that don't have one, based on the | ||
1113 | one from OpenBSD. | ||
1114 | |||
1115 | 20030811 | ||
1116 | - (dtucker) OpenBSD CVS Sync | ||
1117 | (thanks to Simon Wilkinson for help with this -dt) | ||
1118 | - markus@cvs.openbsd.org 2003/07/16 15:02:06 | ||
1119 | [auth-krb5.c] | ||
1120 | mcc -> fcc; from Love Hörnquist Åstrand <lha@it.su.se> | ||
1121 | otherwise the kerberos credentinal is stored in a memory cache | ||
1122 | in the privileged sshd. ok jabob@, hin@ (some time ago) | ||
1123 | - (dtucker) [openbsd-compat/xcrypt.c] Remove Cygwin #ifdef block (duplicate | ||
1124 | in bsd-cygwin_util.h). | ||
1125 | |||
1126 | 20030808 | ||
1127 | - (dtucker) [openbsd-compat/fake-rfc2553.h] Older Linuxes have AI_PASSIVE and | ||
1128 | AI_CANONNAME in netdb.h but not AI_NUMERICHOST, so check each definition | ||
1129 | separately before defining them. | ||
1130 | - (dtucker) [auth-pam.c] Don't set PAM_TTY if tty is null. ok djm@ | ||
1131 | |||
1132 | 20030807 | ||
1133 | - (dtucker) [session.c] Have session_break_req not attempt to send a break | ||
1134 | if TIOCSBRK and TIOCCBRK are not defined (eg Cygwin). | ||
1135 | - (dtucker) [canohost.c] Bug #336: Only check ip options if IP_OPTIONS is | ||
1136 | defined (fixes compile error on really old Linuxes). | ||
1137 | - (dtucker) [defines.h] Bug #336: Add CMSG_DATA and CMSG_FIRSTHDR macros if | ||
1138 | not already defined (eg Linux with some versions of libc5), based on those | ||
1139 | from OpenBSD. | ||
1140 | - (dtucker) [openbsd-compat/bsd-cygwin_util.c openbsd-compat/bsd-cygwin_util.h] | ||
1141 | Remove incorrect filenames from comments (file names are in Id tags). | ||
1142 | - (dtucker) [session.c openbsd-compat/bsd-cygwin_util.h] Move Cygwin | ||
1143 | specific defines and includes to bsd-cygwin_util.h. Fixes build error too. | ||
1144 | |||
1145 | 20030802 | ||
1146 | - (dtucker) [monitor.h monitor_wrap.h] Remove excess ident tags. | ||
1147 | - (dtucker) OpenBSD CVS Sync | ||
1148 | - markus@cvs.openbsd.org 2003/07/22 13:35:22 | ||
1149 | [auth1.c auth.h auth-passwd.c monitor.c monitor.h monitor_wrap.c | ||
1150 | monitor_wrap.h readconf.c readconf.h servconf.c servconf.h session.c ssh.1 | ||
1151 | ssh.c ssh_config.5 sshconnect1.c sshd.c sshd_config.5 ssh.h] | ||
1152 | remove (already disabled) KRB4/AFS support, re-enable -k in ssh(1); | ||
1153 | test+ok henning@ | ||
1154 | - (dtucker) [Makefile.in acconfig.h configure.ac] Remove KRB4/AFS support. | ||
1155 | - (dtucker) [auth-krb4.c radix.c radix.h] Remove KRB4/AFS specific files. | ||
1156 | - (dtucker) OpenBSD CVS Sync | ||
1157 | - markus@cvs.openbsd.org 2003/07/23 07:42:43 | ||
1158 | [sshd_config] | ||
1159 | remove AFS; itojun@ | ||
1160 | - djm@cvs.openbsd.org 2003/07/28 09:49:56 | ||
1161 | [ssh-keygen.1 ssh-keygen.c] | ||
1162 | Support for generating Diffie-Hellman groups (/etc/moduli) from ssh-keygen. | ||
1163 | Based on code from Phil Karn, William Allen Simpson and Niels Provos. | ||
1164 | ok markus@, thanks jmc@ | ||
1165 | - markus@cvs.openbsd.org 2003/07/29 18:24:00 | ||
1166 | [LICENCE progressmeter.c] | ||
1167 | replace 4 clause BSD licensed progressmeter code with a replacement | ||
1168 | from Nils Nordman and myself; ok deraadt@ | ||
1169 | (copied from OpenBSD an re-applied portable changes) | ||
1170 | - markus@cvs.openbsd.org 2003/07/29 18:26:46 | ||
1171 | [progressmeter.c] | ||
1172 | fix length for "- stalled -" (included with previous import) | ||
1173 | - markus@cvs.openbsd.org 2003/07/30 07:44:14 | ||
1174 | [progressmeter.c] | ||
1175 | use only 4 digits in format_size (included with previous import) | ||
1176 | - markus@cvs.openbsd.org 2003/07/30 07:53:27 | ||
1177 | [progressmeter.c] | ||
1178 | whitespace (included with previous import) | ||
1179 | - markus@cvs.openbsd.org 2003/07/31 09:21:02 | ||
1180 | [auth2-none.c] | ||
1181 | check whether passwd auth is allowd, similar to proto 1; rob@pitman.co.za | ||
1182 | ok henning | ||
1183 | - avsm@cvs.openbsd.org 2003/07/31 15:50:16 | ||
1184 | [atomicio.c] | ||
1185 | correct comment: atomicio takes vwrite, not write; deraadt@ ok | ||
1186 | - markus@cvs.openbsd.org 2003/07/31 22:34:03 | ||
1187 | [progressmeter.c] | ||
1188 | print rate similar old version; round instead truncate; | ||
1189 | (included in previous progressmeter.c commit) | ||
1190 | - (dtucker) [openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h] | ||
1191 | Add a tcgetpgrp function. | ||
1192 | - (dtucker) [Makefile.in moduli.c moduli.h] Add new files and to Makefile. | ||
1193 | - (dtucker) [openbsd-compat/bsd-misc.c] Fix cut-and-paste bug in tcgetpgrp. | ||
1194 | |||
1195 | 20030730 | ||
1196 | - (djm) [auth-pam.c] Don't use crappy APIs like sprintf. Thanks bal | ||
1197 | |||
1198 | 20030726 | ||
1199 | - (dtucker) [openbsd-compat/xcrypt.c] Fix typo: DISABLED_SHADOW -> | ||
1200 | DISABLE_SHADOW. Fixes HP-UX compile error. | ||
1201 | |||
1202 | 20030724 | ||
1203 | - (bal) [auth-passwd.c openbsd-compat/Makefile.in openbsd-compat/xcrypt.c | ||
1204 | openbsd-compat/xcrypt.h] Split off encryption into xcrypt() interface, | ||
1205 | and isolate shadow password functions. Tested in Solaris, but should | ||
1206 | not break other platforms too badly (except maybe HP =). Also brings | ||
1207 | auth-passwd.c into full sync with OpenBSD tree. | ||
1208 | |||
1209 | 20030723 | ||
1210 | - (dtucker) [configure.ac] Back out change for bug #620. | ||
1211 | |||
1212 | 20030719 | ||
1213 | - (dtucker) [configure.ac] Bug #620: Define BROKEN_GETADDRINFO for | ||
1214 | Solaris/x86. Patch from jrhett at isite.net. | ||
1215 | - (dtucker) OpenBSD CVS Sync | ||
1216 | - markus@cvs.openbsd.org 2003/07/14 12:36:37 | ||
1217 | [sshd.c] | ||
1218 | remove undocumented -V option. would be only useful if openssh is used | ||
1219 | as ssh v1 server for ssh.com's ssh v2. | ||
1220 | - markus@cvs.openbsd.org 2003/07/16 10:34:53 | ||
1221 | [ssh.c sshd.c] | ||
1222 | don't exit on multiple -v or -d; ok deraadt@ | ||
1223 | - markus@cvs.openbsd.org 2003/07/16 10:36:28 | ||
1224 | [sshtty.c] | ||
1225 | clear IUCLC in enter_raw_mode; from rob@pitman.co.za; ok deraadt@, fgs@ | ||
1226 | - deraadt@cvs.openbsd.org 2003/07/18 01:54:25 | ||
1227 | [scp.c] | ||
1228 | userid is unsigned, but well, force it anyways; andrushock@korovino.net | ||
1229 | - djm@cvs.openbsd.org 2003/07/19 00:45:53 | ||
1230 | [sftp-int.c] | ||
1231 | fix sftp filename parsing for arguments with escaped quotes. bz #517; | ||
1232 | ok markus | ||
1233 | - djm@cvs.openbsd.org 2003/07/19 00:46:31 | ||
1234 | [regress/sftp-cmds.sh] | ||
1235 | regress test for sftp arguments with escaped quotes; ok markus | ||
1236 | |||
1237 | 20030714 | ||
1238 | - (dtucker) [acconfig.h configure.ac port-aix.c] Older AIXes don't declare | ||
1239 | loginfailed at all, so assume 3-arg loginfailed if not declared. | ||
1240 | - (dtucker) [port-aix.h] Work around name collision on AIX for r_type by | ||
1241 | undef'ing it. | ||
1242 | - (dtucker) Bug #543: [configure.ac port-aix.c port-aix.h] | ||
1243 | Call setauthdb() before loginfailed(), which may load password registry- | ||
1244 | specific functions. Based on patch by cawlfiel at us.ibm.com. | ||
1245 | - (dtucker) [port-aix.h] Fix prototypes. | ||
1246 | - (dtucker) OpenBSD CVS Sync | ||
1247 | - avsm@cvs.openbsd.org 2003/07/09 13:58:19 | ||
1248 | [key.c] | ||
1249 | minor tweak: when generating the hex fingerprint, give strlcat the full | ||
1250 | bound to the buffer, and add a comment below explaining why the | ||
1251 | zero-termination is one less than the bound. markus@ ok | ||
1252 | - markus@cvs.openbsd.org 2003/07/10 14:42:28 | ||
1253 | [packet.c] | ||
1254 | the 2^(blocksize*2) rekeying limit is too expensive for 3DES, | ||
1255 | blowfish, etc, so enforce a 1GB limit for small blocksizes. | ||
1256 | - markus@cvs.openbsd.org 2003/07/10 20:05:55 | ||
1257 | [sftp.c] | ||
1258 | sync usage with manpage, add missing -R | ||
1259 | |||
1260 | 20030708 | ||
1261 | - (dtucker) [acconfig.h auth-passwd.c configure.ac session.c port-aix.[ch]] | ||
1262 | Include AIX headers for authentication functions and make calls match | ||
1263 | prototypes. Test for and handle 3-arg and 4-arg variants of loginfailed. | ||
1264 | - (dtucker) [session.c] Check return value of setpcred(). | ||
1265 | - (dtucker) [auth-passwd.c auth.c session.c sshd.c port-aix.c port-aix.h] | ||
1266 | Convert aixloginmsg into platform-independant Buffer loginmsg. | ||
1267 | |||
1268 | 20030707 | ||
1269 | - (dtucker) [configure.ac] Bug #600: Check that getrusage is declared before | ||
1270 | searching libraries for it. Fixes build errors on NCR MP-RAS. | ||
1271 | |||
1272 | 20030706 | ||
1273 | - (dtucker) [ssh-rand-helper.c loginrec.c] | ||
1274 | Apply atomicio typing change to these too. | ||
1275 | |||
1276 | 20030703 | ||
1277 | - (dtucker) OpenBSD CVS Sync | ||
1278 | - djm@cvs.openbsd.org 2003/06/28 07:48:10 | ||
1279 | [sshd.c] | ||
1280 | report pidfile creation errors, based on patch from Roumen Petrov; | ||
1281 | ok markus@ | ||
1282 | - deraadt@cvs.openbsd.org 2003/06/28 16:23:06 | ||
1283 | [atomicio.c atomicio.h authfd.c clientloop.c monitor_wrap.c msg.c | ||
1284 | progressmeter.c scp.c sftp-client.c ssh-keyscan.c ssh.h sshconnect.c | ||
1285 | sshd.c] | ||
1286 | deal with typing of write vs read in atomicio | ||
1287 | - markus@cvs.openbsd.org 2003/06/29 12:44:38 | ||
1288 | [sshconnect.c] | ||
1289 | memset 0, not \0; andrushock@korovino.net | ||
1290 | - markus@cvs.openbsd.org 2003/07/02 12:56:34 | ||
1291 | [channels.c] | ||
1292 | deny dynamic forwarding with -R for v1, too; ok djm@ | ||
1293 | - markus@cvs.openbsd.org 2003/07/02 14:51:16 | ||
1294 | [channels.c ssh.1 ssh_config.5] | ||
1295 | (re)add socks5 suppport to -D; ok djm@ | ||
1296 | now ssh(1) can act both as a socks 4 and socks 5 server and | ||
1297 | dynamically forward ports. | ||
1298 | - markus@cvs.openbsd.org 2003/07/02 20:37:48 | ||
1299 | [ssh.c] | ||
1300 | convert hostkeyalias to lowercase, otherwise uppercase aliases will | ||
1301 | not match at all; ok henning@ | ||
1302 | - markus@cvs.openbsd.org 2003/07/03 08:21:46 | ||
1303 | [regress/dynamic-forward.sh] | ||
1304 | add socks5; speedup; reformat; based on patch from dtucker@zip.com.au | ||
1305 | - markus@cvs.openbsd.org 2003/07/03 08:24:13 | ||
1306 | [regress/Makefile] | ||
1307 | enable tests for dynamic fwd via socks (-D), uses nc(1) | ||
1308 | - djm@cvs.openbsd.org 2003/07/03 08:09:06 | ||
1309 | [readconf.c readconf.h ssh-keysign.c ssh.c] | ||
1310 | fix AddressFamily option in config file, from brent@graveland.net; | ||
1311 | ok markus@ | ||
1312 | |||
1313 | 20030630 | ||
1314 | - (djm) Search for support functions necessary to build our | ||
1315 | getrrsetbyname() replacement. Patch from Roumen Petrov | ||
1316 | |||
1317 | 20030629 | ||
1318 | - (dtucker) [includes.h] Bug #602: move #include of netdb.h to after in.h | ||
1319 | (fixes compiler warnings on Solaris 2.5.1). | ||
1320 | - (dtucker) [configure.ac] Add sanity test after system-dependant compiler | ||
1321 | flag modifications. | ||
1322 | |||
1323 | 20030628 | ||
1324 | - (djm) Bug #591: use PKCS#15 private key label as a comment in case | ||
1325 | of OpenSC. Report and patch from larsch@trustcenter.de | ||
1326 | - (djm) Bug #593: Sanity check OpenSC card reader number; patch from | ||
1327 | aj@dungeon.inka.de | ||
1328 | - (dtucker) OpenBSD CVS Sync | ||
1329 | - markus@cvs.openbsd.org 2003/06/23 09:02:44 | ||
1330 | [ssh_config.5] | ||
1331 | document EnableSSHKeysign; bugzilla #599; ok deraadt@, jmc@ | ||
1332 | - markus@cvs.openbsd.org 2003/06/24 08:23:46 | ||
1333 | [auth2-hostbased.c auth2-pubkey.c auth2.c channels.c key.c key.h | ||
1334 | monitor.c packet.c packet.h serverloop.c sshconnect2.c sshd.c] | ||
1335 | int -> u_int; ok djm@, deraadt@, mouring@ | ||
1336 | - miod@cvs.openbsd.org 2003/06/25 22:39:36 | ||
1337 | [sftp-server.c] | ||
1338 | Typo police: attribute is better written with an 'r'. | ||
1339 | - markus@cvs.openbsd.org 2003/06/26 20:08:33 | ||
1340 | [readconf.c] | ||
1341 | do not dump core for 'ssh -o proxycommand host'; ok deraadt@ | ||
1342 | - (dtucker) [regress/dynamic-forward.sh] Import new regression test. | ||
1343 | - (dtucker) [configure.ac] Bug #570: Have ./configure --enable-FEATURE | ||
1344 | actually enable the feature, for those normally disabled. Patch by | ||
1345 | openssh (at) roumenpetrov.info. | ||
1346 | |||
1347 | 20030624 | ||
1348 | - (dtucker) Have configure refer the user to config.log and | ||
1349 | contrib/findssl.sh for OpenSSL header/library mismatches. | ||
1350 | |||
1351 | 20030622 | ||
1352 | - (dtucker) OpenBSD CVS Sync | ||
1353 | - markus@cvs.openbsd.org 2003/06/21 09:14:05 | ||
1354 | [regress/reconfigure.sh] | ||
1355 | missing $SUDO; from dtucker@zip.com.au | ||
1356 | - markus@cvs.openbsd.org 2003/06/18 11:28:11 | ||
1357 | [ssh-rsa.c] | ||
1358 | backout last change, since it violates pkcs#1 | ||
1359 | switch to share/misc/license.template | ||
1360 | - djm@cvs.openbsd.org 2003/06/20 05:47:58 | ||
1361 | [sshd_config.5] | ||
1362 | sync description of protocol 2 cipher proposal; ok markus | ||
1363 | - djm@cvs.openbsd.org 2003/06/20 05:48:21 | ||
1364 | [sshd_config] | ||
1365 | sync some implemented options; ok markus@ | ||
1366 | - (dtucker) [regress/authorized_keys_root] Remove temp data file from CVS. | ||
1367 | - (dtucker) [openbsd-compat/setproctitle.c] Ensure SPT_TYPE is defined before | ||
1368 | testing its value. | ||
1369 | |||
1370 | 20030618 | ||
1371 | - (djm) OpenBSD CVS Sync | ||
1372 | - markus@cvs.openbsd.org 2003/06/12 07:57:38 | ||
1373 | [monitor.c sshlogin.c sshpty.c] | ||
1374 | typos; dtucker at zip.com.au | ||
1375 | - djm@cvs.openbsd.org 2003/06/12 12:22:47 | ||
1376 | [LICENCE] | ||
1377 | mention more copyright holders; ok markus@ | ||
1378 | - nino@cvs.openbsd.org 2003/06/12 15:34:09 | ||
1379 | [scp.c] | ||
1380 | Typo. Ok markus@. | ||
1381 | - markus@cvs.openbsd.org 2003/06/12 19:12:03 | ||
1382 | [scard.c scard.h ssh-agent.c ssh.c] | ||
1383 | add sc_get_key_label; larsch at trustcenter.de; bugzilla#591 | ||
1384 | - markus@cvs.openbsd.org 2003/06/16 08:22:35 | ||
1385 | [ssh-rsa.c] | ||
1386 | make sure the signature has at least the expected length (don't | ||
1387 | insist on len == hlen + oidlen, since this breaks some smartcards) | ||
1388 | bugzilla #592; ok djm@ | ||
1389 | - markus@cvs.openbsd.org 2003/06/16 10:22:45 | ||
1390 | [ssh-add.c] | ||
1391 | print out key comment on each prompt; make ssh-askpass more useable; ok djm@ | ||
1392 | - markus@cvs.openbsd.org 2003/06/17 18:14:23 | ||
1393 | [cipher-ctr.c] | ||
1394 | use license from /usr/share/misc/license.template for new code | ||
1395 | - (dtucker) [reconfigure.sh rekey.sh sftp-badcmds.sh] | ||
1396 | Import new regression tests from OpenBSD | ||
1397 | - (dtucker) [regress/copy.1 regress/copy.2] Remove temp data files from CVS. | ||
1398 | - (dtucker) OpenBSD CVS Sync (regress/) | ||
1399 | - markus@cvs.openbsd.org 2003/04/02 12:21:13 | ||
1400 | [Makefile] | ||
1401 | enable rekey test | ||
1402 | - djm@cvs.openbsd.org 2003/04/04 09:34:22 | ||
1403 | [Makefile sftp-cmds.sh] | ||
1404 | More regression tests, including recent directory rename bug; ok markus@ | ||
1405 | - markus@cvs.openbsd.org 2003/05/14 22:08:27 | ||
1406 | [ssh-com-client.sh ssh-com-keygen.sh ssh-com-sftp.sh ssh-com.sh] | ||
1407 | test against some new commerical versions | ||
1408 | - mouring@cvs.openbsd.org 2003/05/15 04:07:12 | ||
1409 | [sftp-cmds.sh] | ||
1410 | Advanced put/get testing for sftp. OK @djm | ||
1411 | - markus@cvs.openbsd.org 2003/06/12 15:40:01 | ||
1412 | [try-ciphers.sh] | ||
1413 | add ctr | ||
1414 | - markus@cvs.openbsd.org 2003/06/12 15:43:32 | ||
1415 | [Makefile] | ||
1416 | test -HUP; dtucker at zip.com.au | ||
1417 | |||
1418 | 20030614 | ||
1419 | - (djm) Update license on fake-rfc2553.[ch]; ok itojun@ | ||
1420 | |||
1421 | 20030611 | ||
1422 | - (djm) Mention portable copyright holders in LICENSE | ||
1423 | - (djm) Put licenses on substantial header files | ||
1424 | - (djm) Sync LICENSE against OpenBSD | ||
1425 | - (djm) OpenBSD CVS Sync | ||
1426 | - jmc@cvs.openbsd.org 2003/06/10 09:12:11 | ||
1427 | [scp.1 sftp-server.8 ssh.1 ssh-add.1 ssh-agent.1 ssh_config.5] | ||
1428 | [sshd.8 sshd_config.5 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8] | ||
1429 | - section reorder | ||
1430 | - COMPATIBILITY merge | ||
1431 | - macro cleanup | ||
1432 | - kill whitespace at EOL | ||
1433 | - new sentence, new line | ||
1434 | ssh pages ok markus@ | ||
1435 | - deraadt@cvs.openbsd.org 2003/06/10 22:20:52 | ||
1436 | [packet.c progressmeter.c] | ||
1437 | mostly ansi cleanup; pval ok | ||
1438 | - jakob@cvs.openbsd.org 2003/06/11 10:16:16 | ||
1439 | [sshconnect.c] | ||
1440 | clean up check_host_key() and improve SSHFP feedback. ok markus@ | ||
1441 | - jakob@cvs.openbsd.org 2003/06/11 10:18:47 | ||
1442 | [dns.c] | ||
1443 | sync with check_host_key() change | ||
1444 | - djm@cvs.openbsd.org 2003/06/11 11:18:38 | ||
1445 | [authfd.c authfd.h ssh-add.c ssh-agent.c] | ||
1446 | make agent constraints (lifetime, confirm) work with smartcard keys; | ||
1447 | ok markus@ | ||
1448 | |||
1449 | |||
1450 | 20030609 | ||
1451 | - (djm) Sync README.smartcard with OpenBSD -current | ||
1452 | - (djm) Re-merge OpenSC info into README.smartcard | ||
1453 | |||
1454 | 20030606 | ||
1455 | - (dtucker) [uidswap.c] Fix setreuid and add missing args to fatal(). ok djm@ | ||
1456 | |||
1457 | 20030605 | ||
1458 | - (djm) Support AI_NUMERICHOST in fake-getaddrinfo.c. Needed for recent | ||
1459 | canohost.c changes. | ||
1460 | - (djm) Implement paranoid priv dropping checks, based on: | ||
1461 | "SetUID demystified" - Hao Chen, David Wagner and Drew Dean | ||
1462 | Proceedings of USENIX Security Symposium 2002 | ||
1463 | - (djm) Don't use xmalloc() or pull in toplevel headers in fake-* code | ||
1464 | - (djm) Merge all the openbsd/fake-* into fake-rfc2553.[ch] | ||
1465 | - (djm) Bug #588 - Add scard-opensc.o back to Makefile.in | ||
1466 | Patch from larsch@trustcenter.de | ||
1467 | - (djm) Bug #589 - scard-opensc: load only keys with a private keys | ||
1468 | Patch from larsch@trustcenter.de | ||
1469 | - (dtucker) Add includes.h to fake-rfc2553.c so it will build. | ||
1470 | - (dtucker) Define EAI_NONAME in fake-rfc2553.h (used by fake-rfc2553.c). | ||
1471 | |||
1472 | 20030604 | ||
1473 | - (djm) Bug #573 - Remove unneeded Krb headers and compat goop. Patch from | ||
1474 | simon@sxw.org.uk (Also matches a change in OpenBSD a while ago) | ||
1475 | - (djm) Bug #577 - wrong flag in scard-opensc.c sc_private_decrypt. | ||
1476 | Patch from larsch@trustcenter.de; ok markus@ | ||
1477 | - (djm) Bug #584: scard-opensc.c doesn't work without PIN. Patch from | ||
1478 | larsch@trustcenter.de; ok markus@ | ||
1479 | - (djm) OpenBSD CVS Sync | ||
1480 | - djm@cvs.openbsd.org 2003/06/04 08:25:18 | ||
1481 | [sshconnect.c] | ||
1482 | disable challenge/response and keyboard-interactive auth methods | ||
1483 | upon hostkey mismatch. based on patch from fcusack AT fcusack.com. | ||
1484 | bz #580; ok markus@ | ||
1485 | - djm@cvs.openbsd.org 2003/06/04 10:23:48 | ||
1486 | [sshd.c] | ||
1487 | remove duplicated group-dropping code; ok markus@ | ||
1488 | - djm@cvs.openbsd.org 2003/06/04 12:03:59 | ||
1489 | [serverloop.c] | ||
1490 | remove bitrotten commet; ok markus@ | ||
1491 | - djm@cvs.openbsd.org 2003/06/04 12:18:49 | ||
1492 | [scp.c] | ||
1493 | ansify; ok markus@ | ||
1494 | - djm@cvs.openbsd.org 2003/06/04 12:40:39 | ||
1495 | [scp.c] | ||
1496 | kill ssh process upon receipt of signal, bz #241. | ||
1497 | based on patch from esb AT hawaii.edu; ok markus@ | ||
1498 | - djm@cvs.openbsd.org 2003/06/04 12:41:22 | ||
1499 | [sftp.c] | ||
1500 | kill ssh process on receipt of signal; ok markus@ | ||
1501 | - (djm) Update to fix of bug #584: lock card before return. | ||
1502 | From larsch@trustcenter.de | ||
1503 | - (djm) Always use mysignal() for SIGALRM | ||
1504 | |||
1505 | 20030603 | ||
1506 | - (djm) Replace setproctitle replacement with code derived from | ||
1507 | UCB sendmail | ||
1508 | - (djm) OpenBSD CVS Sync | ||
1509 | - markus@cvs.openbsd.org 2003/06/02 09:17:34 | ||
1510 | [auth2-hostbased.c auth.c auth-options.c auth-rhosts.c auth-rh-rsa.c] | ||
1511 | [canohost.c monitor.c servconf.c servconf.h session.c sshd_config] | ||
1512 | [sshd_config.5] | ||
1513 | deprecate VerifyReverseMapping since it's dangerous if combined | ||
1514 | with IP based access control as noted by Mike Harding; replace with | ||
1515 | a UseDNS option, UseDNS is on by default and includes the | ||
1516 | VerifyReverseMapping check; with itojun@, provos@, jakob@ and deraadt@ | ||
1517 | ok deraadt@, djm@ | ||
1518 | - millert@cvs.openbsd.org 2003/06/03 02:56:16 | ||
1519 | [scp.c] | ||
1520 | Remove the advertising clause in the UCB license which Berkeley | ||
1521 | rescinded 22 July 1999. Proofed by myself and Theo. | ||
1522 | - (djm) Fix portable-specific uses of verify_reverse_mapping too | ||
1523 | - (djm) Sync openbsd-compat with OpenBSD CVS. | ||
1524 | - No more 4-term BSD licenses in linked code | ||
1525 | - (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping. | ||
1526 | |||
1527 | 20030602 | ||
1528 | - (djm) Fix segv from bad reordering in auth-pam.c | ||
1529 | - (djm) Always use saved_argv in sshd.c as compat_init_setproctitle may | ||
1530 | clobber | ||
1531 | - (tim) openbsd-compat/xmmap.[ch] License clarifications. Add missing | ||
1532 | CVS ID. | ||
1533 | - (djm) Remove "noip6" option from RedHat spec file. This may now be | ||
1534 | set at runtime using AddressFamily option. | ||
1535 | - (djm) Fix use of macro before #define in cipher-aes.c | ||
1536 | - (djm) Sync license on openbsd-compat/bindresvport.c with OpenBSD CVS | ||
1537 | - (djm) OpenBSD CVS Sync | ||
1538 | - djm@cvs.openbsd.org 2003/05/26 12:54:40 | ||
1539 | [sshconnect.c] | ||
1540 | fix format strings; ok markus@ | ||
1541 | - deraadt@cvs.openbsd.org 2003/05/29 16:58:45 | ||
1542 | [sshd.c uidswap.c] | ||
1543 | seteuid and setegid; markus ok | ||
1544 | - jakob@cvs.openbsd.org 2003/06/02 08:31:10 | ||
1545 | [ssh_config.5] | ||
1546 | VerifyHostKeyDNS is v2 only. ok markus@ | ||
1547 | |||
1548 | 20030530 | ||
1549 | - (dtucker) Add missing semicolon in md5crypt.c, patch from openssh at | ||
1550 | roumenpetrov.info | ||
1551 | - (dtucker) Define SSHD_ACQUIRES_CTTY for NCR MP-RAS and Reliant Unix. | ||
1552 | |||
1553 | 20030526 | ||
1554 | - (djm) Avoid auth2-chall.c warning when compiling without | ||
1555 | PAM, BSD_AUTH and SKEY | ||
1556 | |||
1557 | 20030525 | ||
1558 | - (djm) OpenBSD CVS Sync | ||
1559 | - djm@cvs.openbsd.org 2003/05/24 09:02:22 | ||
1560 | [log.c] | ||
1561 | pass logged data through strnvis; ok markus | ||
1562 | - djm@cvs.openbsd.org 2003/05/24 09:30:40 | ||
1563 | [authfile.c monitor.c sftp-common.c sshpty.c] | ||
1564 | cast some types for printing; ok markus@ | ||
1565 | |||
1566 | 20030524 | ||
1567 | - (dtucker) Correct --osfsia in INSTALL. Patch by skeleten at shillest.net | ||
1568 | |||
1569 | 20030523 | ||
1570 | - (djm) Use VIS_SAFE on logged strings rather than default strnvis | ||
1571 | encoding (which encodes many more characters) | ||
1572 | - OpenBSD CVS Sync | ||
1573 | - jmc@cvs.openbsd.org 2003/05/20 12:03:35 | ||
1574 | [sftp.1] | ||
1575 | - new sentence, new line | ||
1576 | - added .Xr's | ||
1577 | - typos | ||
1578 | ok djm@ | ||
1579 | - jmc@cvs.openbsd.org 2003/05/20 12:09:31 | ||
1580 | [ssh.1 ssh_config.5 sshd.8 sshd_config.5 ssh-keygen.1] | ||
1581 | new sentence, new line | ||
1582 | - djm@cvs.openbsd.org 2003/05/23 08:29:30 | ||
1583 | [sshconnect.c] | ||
1584 | fix leak; ok markus@ | ||
1585 | |||
1586 | 20030520 | ||
1587 | - (djm) OpenBSD CVS Sync | ||
1588 | - deraadt@cvs.openbsd.org 2003/05/18 23:22:01 | ||
1589 | [log.c] | ||
1590 | use syslog_r() in a signal handler called place; markus ok | ||
1591 | - (djm) Configure logic to detect syslog_r and friends | ||
1592 | |||
1593 | 20030519 | ||
1594 | - (djm) Sync auth-pam.h with what we actually implement | ||
1595 | |||
1596 | 20030518 | ||
1597 | - (djm) Return of the dreaded PAM_TTY_KLUDGE, which went missing in | ||
1598 | recent merge | ||
1599 | - (djm) OpenBSD CVS Sync | ||
1600 | - djm@cvs.openbsd.org 2003/05/16 03:27:12 | ||
1601 | [readconf.c ssh_config ssh_config.5 ssh-keysign.c] | ||
1602 | add AddressFamily option to ssh_config (like -4, -6 on commandline). | ||
1603 | Portable bug #534; ok markus@ | ||
1604 | - itojun@cvs.openbsd.org 2003/05/17 03:25:58 | ||
1605 | [auth-rhosts.c] | ||
1606 | just in case, put numbers to sscanf %s arg. | ||
1607 | - markus@cvs.openbsd.org 2003/05/17 04:27:52 | ||
1608 | [cipher.c cipher-ctr.c myproposal.h] | ||
1609 | experimental support for aes-ctr modes from | ||
1610 | http://www.ietf.org/internet-drafts/draft-ietf-secsh-newmodes-00.txt | ||
1611 | ok djm@ | ||
1612 | - (djm) Remove IPv4 by default hack now that we can specify AF in config | ||
1613 | - (djm) Tidy and trim TODO | ||
1614 | - (djm) Sync openbsd-compat/ with OpenBSD CVS head | ||
1615 | - (djm) Big KNF on openbsd-compat/ | ||
1616 | - (djm) KNF on md5crypt.[ch] | ||
1617 | - (djm) KNF on auth-sia.[ch] | ||
1618 | |||
1619 | 20030517 | ||
1620 | - (bal) strcat -> strlcat on openbsd-compat/realpath.c (rev 1.8 OpenBSD) | ||
1621 | |||
1622 | 20030516 | ||
1623 | - (djm) OpenBSD CVS Sync | ||
1624 | - djm@cvs.openbsd.org 2003/05/15 13:52:10 | ||
1625 | [ssh.c] | ||
1626 | Make "ssh -V" print the OpenSSL version in a human readable form. Patch | ||
1627 | from Craig Leres (mindrot at ee.lbl.gov); ok markus@ | ||
1628 | - jakob@cvs.openbsd.org 2003/05/15 14:02:47 | ||
1629 | [readconf.c servconf.c] | ||
1630 | warn for unsupported config option. ok markus@ | ||
1631 | - markus@cvs.openbsd.org 2003/05/15 14:09:21 | ||
1632 | [auth2-krb5.c] | ||
1633 | fix 64bit issue; report itojun@ | ||
1634 | - djm@cvs.openbsd.org 2003/05/15 14:55:25 | ||
1635 | [readconf.c readconf.h ssh_config ssh_config.5 sshconnect.c] | ||
1636 | add a ConnectTimeout option to ssh, based on patch from | ||
1637 | Jean-Charles Longuet (jclonguet at free.fr); portable #207 ok markus@ | ||
1638 | - (djm) Add warning for UsePAM when built without PAM support | ||
1639 | - (djm) A few type mismatch fixes from Bug #565 | ||
1640 | - (djm) Guard free_pam_environment against NULL argument. Works around | ||
1641 | HP/UX PAM problems debugged by dtucker | ||
1642 | |||
1643 | 20030515 | ||
1644 | - (djm) OpenBSD CVS Sync | ||
1645 | - jmc@cvs.openbsd.org 2003/05/14 13:11:56 | ||
1646 | [ssh-agent.1] | ||
1647 | setup -> set up; | ||
1648 | from wiz@netbsd | ||
1649 | - jakob@cvs.openbsd.org 2003/05/14 18:16:20 | ||
1650 | [key.c key.h readconf.c readconf.h ssh_config.5 sshconnect.c] | ||
1651 | [dns.c dns.h README.dns ssh-keygen.1 ssh-keygen.c] | ||
1652 | add experimental support for verifying hos keys using DNS as described | ||
1653 | in draft-ietf-secsh-dns-xx.txt. more information in README.dns. | ||
1654 | ok markus@ and henning@ | ||
1655 | - markus@cvs.openbsd.org 2003/05/14 22:24:42 | ||
1656 | [clientloop.c session.c ssh.1] | ||
1657 | allow to send a BREAK to the remote system; ok various | ||
1658 | - markus@cvs.openbsd.org 2003/05/15 00:28:28 | ||
1659 | [sshconnect2.c] | ||
1660 | cleanup unregister of per-method packet handlers; ok djm@ | ||
1661 | - jakob@cvs.openbsd.org 2003/05/15 01:48:10 | ||
1662 | [readconf.c readconf.h servconf.c servconf.h] | ||
1663 | always parse kerberos options. ok djm@ markus@ | ||
1664 | - jakob@cvs.openbsd.org 2003/05/15 02:27:15 | ||
1665 | [dns.c] | ||
1666 | add missing freerrset | ||
1667 | - markus@cvs.openbsd.org 2003/05/15 03:08:29 | ||
1668 | [cipher.c cipher-bf1.c cipher-aes.c cipher-3des1.c] | ||
1669 | split out custom EVP ciphers | ||
1670 | - djm@cvs.openbsd.org 2003/05/15 03:10:52 | ||
1671 | [ssh-keygen.c] | ||
1672 | avoid warning; ok jakob@ | ||
1673 | - mouring@cvs.openbsd.org 2003/05/15 03:39:07 | ||
1674 | [sftp-int.c] | ||
1675 | Make put/get (globed and nonglobed) code more consistant. OK djm@ | ||
1676 | - mouring@cvs.openbsd.org 2003/05/15 03:43:59 | ||
1677 | [sftp-int.c sftp.c] | ||
1678 | Teach ls how to display multiple column display and allow users | ||
1679 | to return to single column format via 'ls -1'. OK @djm | ||
1680 | - jakob@cvs.openbsd.org 2003/05/15 04:08:44 | ||
1681 | [readconf.c servconf.c] | ||
1682 | disable kerberos when not supported. ok markus@ | ||
1683 | - markus@cvs.openbsd.org 2003/05/15 04:08:41 | ||
1684 | [ssh.1] | ||
1685 | ~B is ssh2 only | ||
1686 | - (djm) Always parse UsePAM | ||
1687 | - (djm) Configure glue for DNS support (code doesn't work in portable yet) | ||
1688 | - (djm) Import getrrsetbyname() function from OpenBSD libc (for DNS support) | ||
1689 | - (djm) Tidy Makefile clean targets | ||
1690 | - (djm) Adapt README.dns for portable | ||
1691 | - (djm) Avoid uuencode.c warnings | ||
1692 | - (djm) Enable UsePAM when built --with-pam | ||
1693 | - (djm) Only build getrrsetbyname replacement when using --with-dns | ||
1694 | - (djm) Bug #529: sshd doesn't work correctly after SIGHUP (copy argv | ||
1695 | correctly) | ||
1696 | - (djm) Bug #444: Wrong paths after reconfigure | ||
1697 | - (dtucker) HP-UX needs to include <sys/strtio.h> for TIOCSBRK | ||
1698 | |||
1699 | 20030514 | ||
1700 | - (djm) Bug #117: Don't lie to PAM about username | ||
1701 | - (djm) RCSID sync w/ OpenBSD | ||
1702 | - (djm) OpenBSD CVS Sync | ||
1703 | - djm@cvs.openbsd.org 2003/04/09 12:00:37 | ||
1704 | [readconf.c] | ||
1705 | strip trailing whitespace from config lines before parsing. | ||
1706 | Fixes bz 528; ok markus@ | ||
1707 | - markus@cvs.openbsd.org 2003/04/12 10:13:57 | ||
1708 | [cipher.c] | ||
1709 | hide cipher details; ok djm@ | ||
1710 | - markus@cvs.openbsd.org 2003/04/12 10:15:36 | ||
1711 | [misc.c] | ||
1712 | debug->debug2 | ||
1713 | - naddy@cvs.openbsd.org 2003/04/12 11:40:15 | ||
1714 | [ssh.1] | ||
1715 | document -V switch, fix wording; ok markus@ | ||
1716 | - markus@cvs.openbsd.org 2003/04/14 14:17:50 | ||
1717 | [channels.c sshconnect.c sshd.c ssh-keyscan.c] | ||
1718 | avoid hardcoded SOCK_xx; with itojun@; should allow ssh over SCTP | ||
1719 | - mouring@cvs.openbsd.org 2003/04/14 21:31:27 | ||
1720 | [sftp-int.c] | ||
1721 | Missing globfree(&g) in process_put() spotted by Vince Brimhall | ||
1722 | <VBrimhall@novell.com>. ok@ Theo | ||
1723 | - markus@cvs.openbsd.org 2003/04/16 14:35:27 | ||
1724 | [auth.h] | ||
1725 | document struct Authctxt; with solar | ||
1726 | - deraadt@cvs.openbsd.org 2003/04/26 04:29:49 | ||
1727 | [ssh-keyscan.c] | ||
1728 | -t in usage(); rogier@quaak.org | ||
1729 | - mouring@cvs.openbsd.org 2003/04/30 01:16:20 | ||
1730 | [sshd.8 sshd_config.5] | ||
1731 | Escape ?, * and ! in .Ql for nroff compatibility. OpenSSH Portable | ||
1732 | Bug #550 and * escaping suggested by jmc@. | ||
1733 | - david@cvs.openbsd.org 2003/04/30 20:41:07 | ||
1734 | [sshd.8] | ||
1735 | fix invalid .Pf macro usage introduced in previous commit | ||
1736 | ok jmc@ mouring@ | ||
1737 | - markus@cvs.openbsd.org 2003/05/11 16:56:48 | ||
1738 | [authfile.c ssh-keygen.c] | ||
1739 | change key_load_public to try to read a public from: | ||
1740 | rsa1 private or rsa1 public and ssh2 keys. | ||
1741 | this makes ssh-keygen -e fail for ssh1 keys more gracefully | ||
1742 | for example; report from itojun (netbsd pr 20550). | ||
1743 | - markus@cvs.openbsd.org 2003/05/11 20:30:25 | ||
1744 | [channels.c clientloop.c serverloop.c session.c ssh.c] | ||
1745 | make channel_new() strdup the 'remote_name' (not the caller); ok theo | ||
1746 | - markus@cvs.openbsd.org 2003/05/12 16:55:37 | ||
1747 | [sshconnect2.c] | ||
1748 | for pubkey authentication try the user keys in the following order: | ||
1749 | 1. agent keys that are found in the config file | ||
1750 | 2. other agent keys | ||
1751 | 3. keys that are only listed in the config file | ||
1752 | this helps when an agent has many keys, where the server might | ||
1753 | close the connection before the correct key is used. report & ok pb@ | ||
1754 | - markus@cvs.openbsd.org 2003/05/12 18:35:18 | ||
1755 | [ssh-keyscan.1] | ||
1756 | typo: DSA keys are of type ssh-dss; Brian Poole | ||
1757 | - markus@cvs.openbsd.org 2003/05/14 00:52:59 | ||
1758 | [ssh2.h] | ||
1759 | ranges for per auth method messages | ||
1760 | - djm@cvs.openbsd.org 2003/05/14 01:00:44 | ||
1761 | [sftp.1] | ||
1762 | emphasise the batchmode functionality and make reference to pubkey auth, | ||
1763 | both of which are FAQs; ok markus@ | ||
1764 | - markus@cvs.openbsd.org 2003/05/14 02:15:47 | ||
1765 | [auth2.c monitor.c sshconnect2.c auth2-krb5.c] | ||
1766 | implement kerberos over ssh2 ("kerberos-2@ssh.com"); tested with jakob@ | ||
1767 | server interops with commercial client; ok jakob@ djm@ | ||
1768 | - jmc@cvs.openbsd.org 2003/05/14 08:25:39 | ||
1769 | [sftp.1] | ||
1770 | - better formatting in SYNOPSIS | ||
1771 | - whitespace at EOL | ||
1772 | ok djm@ | ||
1773 | - markus@cvs.openbsd.org 2003/05/14 08:57:49 | ||
1774 | [monitor.c] | ||
1775 | http://bugzilla.mindrot.org/show_bug.cgi?id=560 | ||
1776 | Privsep child continues to run after monitor killed. | ||
1777 | Pass monitor signals through to child; Darren Tucker | ||
1778 | - (djm) Make portable build with MIT krb5 (some issues remain) | ||
1779 | - (djm) Add new UsePAM configuration directive to allow runtime control | ||
1780 | over usage of PAM. This allows non-root use of sshd when built with | ||
1781 | --with-pam | ||
1782 | - (djm) Die screaming if start_pam() is called when UsePAM=no | ||
1783 | - (djm) Avoid KrbV leak for MIT Kerberos | ||
1784 | - (dtucker) Set ai_socktype and ai_protocol in fake-getaddrinfo.c. ok djm@ | ||
1785 | - (djm) Bug #258: sscanf("[0-9]") -> sscanf("[0123456789]") for portability | ||
1786 | |||
1787 | 20030512 | ||
1788 | - (djm) Redhat spec: Don't install profile.d scripts when not | ||
1789 | building with GNOME/GTK askpass (patch from bet@rahul.net) | ||
1790 | |||
1791 | 20030510 | ||
1792 | - (dtucker) Bug #318: Create ssh_prng_cmds.out during "make" rather than | ||
1793 | "make install". Patch by roth@feep.net. | ||
1794 | - (dtucker) Bug #536: Test for and work around openpty/controlling tty | ||
1795 | problem on Linux (fixes "could not set controlling tty" errors). | ||
1796 | - (djm) Merge FreeBSD PAM code: replaces PAM password auth kludge with | ||
1797 | proper challenge-response module | ||
1798 | - (djm) 2-clause license on loginrec.c, with permission from | ||
1799 | andre@ae-35.com | ||
1800 | |||
1801 | 20030504 | ||
1802 | - (dtucker) Bug #497: Move #include of bsd-cygwin_util.h to openbsd-compat.h. | ||
1803 | Patch from vinschen@redhat.com. | ||
1804 | |||
1805 | 20030503 | ||
1806 | - (dtucker) Add missing "void" to record_failed_login in bsd-cray.c. Noted | ||
1807 | by wendyp@cray.com. | ||
1808 | |||
1809 | 20030502 | ||
1810 | - (dtucker) Bug #544: ignore invalid cmsg_type on Linux 2.0 kernels, | ||
1811 | privsep should now work. | ||
1812 | - (dtucker) Move handling of bad password authentications into a platform | ||
1813 | specific record_failed_login() function (affects AIX & Unicos). ok mouring@ | ||
1814 | |||
1815 | 20030429 | ||
1816 | - (djm) Add back radix.o (used by AFS support), after it went missing from | ||
1817 | Makefile many moons ago | ||
1818 | - (djm) Apply "owl-always-auth" patch from Openwall/Solar Designer | ||
1819 | - (djm) Fix blibpath specification for AIX/gcc | ||
1820 | - (djm) Some systems have basename in -lgen. Fix from ayamura@ayamura.org | ||
1821 | |||
1822 | 20030428 | ||
1823 | - (bal) [defines.h progressmeter.c scp.c] Some more culling of non 64bit | ||
1824 | hacked code. | ||
1825 | |||
1826 | 20030427 | ||
1827 | - (bal) Bug #541: return; was dropped by mistake. Reported by | ||
1828 | furrier@iglou.com | ||
1829 | - (bal) Since we don't support platforms lacking u_int_64. We may | ||
1830 | as well clean out some of those evil #ifdefs | ||
1831 | - (bal) auth1.c minor resync while looking at the code. | ||
1832 | - (bal) auth2.c same changed as above. | ||
1833 | |||
1834 | 20030409 | ||
1835 | - (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report | ||
1836 | from matth@eecs.berkeley.edu | ||
1837 | - (djm) Make the spec work with Redhat 9.0 (which renames sharutils) | ||
1838 | - (djm) OpenBSD CVS Sync | ||
1839 | - markus@cvs.openbsd.org 2003/04/02 09:48:07 | ||
1840 | [clientloop.c monitor.c monitor_wrap.c packet.c packet.h readconf.c] | ||
1841 | [readconf.h serverloop.c sshconnect2.c] | ||
1842 | reapply rekeying chage, tested by henning@, ok djm@ | ||
1843 | - markus@cvs.openbsd.org 2003/04/02 14:36:26 | ||
1844 | [ssh-keysign.c] | ||
1845 | potential segfault if KEY_UNSPEC; cjwatson@debian.org; bug #526 | ||
1846 | - itojun@cvs.openbsd.org 2003/04/03 07:25:27 | ||
1847 | [progressmeter.c] | ||
1848 | $OpenBSD$ | ||
1849 | - itojun@cvs.openbsd.org 2003/04/03 10:17:35 | ||
1850 | [progressmeter.c] | ||
1851 | remove $OpenBSD$, as other *.c does not have it. | ||
1852 | - markus@cvs.openbsd.org 2003/04/07 08:29:57 | ||
1853 | [monitor_wrap.c] | ||
1854 | typo: get correct counters; introduced during rekeying change. | ||
1855 | - millert@cvs.openbsd.org 2003/04/07 21:58:05 | ||
1856 | [progressmeter.c] | ||
1857 | The UCB copyright here is incorrect. This code did not originate | ||
1858 | at UCB, it was written by Luke Mewburn. Updated the copyright at | ||
1859 | the author's request. markus@ OK | ||
1860 | - itojun@cvs.openbsd.org 2003/04/08 20:21:29 | ||
1861 | [*.c *.h] | ||
1862 | rename log() into logit() to avoid name conflict. markus ok, from | ||
1863 | netbsd | ||
1864 | - (djm) XXX - Performed locally using: | ||
1865 | "perl -p -i -e 's/(\s|^)log\(/$1logit\(/g' *.c *.h" | ||
1866 | - hin@cvs.openbsd.org 2003/04/09 08:23:52 | ||
1867 | [servconf.c] | ||
1868 | Don't include <krb.h> when compiling with Kerberos 5 support | ||
1869 | - (djm) Fix up missing include for packet.c | ||
1870 | - (djm) Fix missed log => logit occurance (reference by function pointer) | ||
1871 | |||
1872 | 20030402 | ||
1873 | - (bal) if IP_TOS is not found or broken don't try to compile in | ||
1874 | packet_set_tos() function call. bug #527 | ||
1875 | |||
1876 | 20030401 | ||
1877 | - (djm) OpenBSD CVS Sync | ||
1878 | - jmc@cvs.openbsd.org 2003/03/28 10:11:43 | ||
1879 | [scp.1 sftp.1 ssh.1 ssh-add.1 ssh-agent.1 ssh_config.5 sshd_config.5] | ||
1880 | [ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8] | ||
1881 | - killed whitespace | ||
1882 | - new sentence new line | ||
1883 | - .Bk for arguments | ||
1884 | ok markus@ | ||
1885 | - markus@cvs.openbsd.org 2003/04/01 10:10:23 | ||
1886 | [clientloop.c monitor.c monitor_wrap.c packet.c packet.h readconf.c] | ||
1887 | [readconf.h serverloop.c sshconnect2.c] | ||
1888 | rekeying bugfixes and automatic rekeying: | ||
1889 | * both client and server rekey _automatically_ | ||
1890 | (a) after 2^31 packets, because after 2^32 packets | ||
1891 | the sequence number for packets wraps | ||
1892 | (b) after 2^(blocksize_in_bits/4) blocks | ||
1893 | (see: draft-ietf-secsh-newmodes-00.txt) | ||
1894 | (a) and (b) are _enabled_ by default, and only disabled for known | ||
1895 | openssh versions, that don't support rekeying properly. | ||
1896 | * client option 'RekeyLimit' | ||
1897 | * do not reply to requests during rekeying | ||
1898 | - markus@cvs.openbsd.org 2003/04/01 10:22:21 | ||
1899 | [clientloop.c monitor.c monitor_wrap.c packet.c packet.h readconf.c] | ||
1900 | [readconf.h serverloop.c sshconnect2.c] | ||
1901 | backout rekeying changes (for 3.6.1) | ||
1902 | - markus@cvs.openbsd.org 2003/04/01 10:31:26 | ||
1903 | [compat.c compat.h kex.c] | ||
1904 | bugfix causes stalled connections for ssh.com < 3.0; noticed by ho@; | ||
1905 | tested by ho@ and myself | ||
1906 | - markus@cvs.openbsd.org 2003/04/01 10:56:46 | ||
1907 | [version.h] | ||
1908 | 3.6.1 | ||
1909 | - (djm) Crank spec file versions | ||
1910 | - (djm) Release 3.6.1p1 | ||
1911 | |||
1912 | 20030326 | ||
1913 | - (djm) OpenBSD CVS Sync | ||
1914 | - deraadt@cvs.openbsd.org 2003/03/26 04:02:51 | ||
1915 | [sftp-server.c] | ||
1916 | one last fix to the tree: race fix broke stuff; pr 3169; | ||
1917 | srp@srparish.net, help from djm | ||
1918 | |||
1919 | 20030325 | ||
1920 | - (djm) Fix getpeerid support for 64 bit BE systems. From | ||
1921 | Arnd Bergmann <arndb@de.ibm.com> | ||
1922 | |||
1923 | 20030324 | ||
1924 | - (djm) OpenBSD CVS Sync | ||
1925 | - markus@cvs.openbsd.org 2003/03/23 19:02:00 | ||
1926 | [monitor.c] | ||
1927 | unbreak rekeying for privsep; ok millert@ | ||
1928 | - Release 3.6p1 | ||
1929 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | ||
1930 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | ||
1931 | |||
1932 | $Id: ChangeLog,v 1.3257 2004/02/24 06:13:28 djm Exp $ | ||
@@ -1,5 +1,4 @@ | |||
1 | See: | 1 | See http://www.openssh.com/txt/release-3.8.1 for the release notes. |
2 | http://www.openssh.com/txt/release-3.8 for the release notes. | ||
3 | 2 | ||
4 | - A Japanese translation of this document and of the OpenSSH FAQ is | 3 | - A Japanese translation of this document and of the OpenSSH FAQ is |
5 | - available at http://www.unixuser.org/~haruyama/security/openssh/index.html | 4 | - available at http://www.unixuser.org/~haruyama/security/openssh/index.html |
@@ -66,4 +65,4 @@ References - | |||
66 | [6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9 | 65 | [6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9 |
67 | [7] http://www.openssh.com/faq.html | 66 | [7] http://www.openssh.com/faq.html |
68 | 67 | ||
69 | $Id: README,v 1.53 2004/02/24 05:13:24 dtucker Exp $ | 68 | $Id: README,v 1.54 2004/04/18 10:32:56 djm Exp $ |
diff --git a/RFC.nroff b/RFC.nroff deleted file mode 100644 index d6baed652..000000000 --- a/RFC.nroff +++ /dev/null | |||
@@ -1,1780 +0,0 @@ | |||
1 | .\" -*- nroff -*- | ||
2 | .\" | ||
3 | .\" $OpenBSD: RFC.nroff,v 1.2 2000/10/16 09:38:44 djm Exp $ | ||
4 | .\" | ||
5 | .pl 10.0i | ||
6 | .po 0 | ||
7 | .ll 7.2i | ||
8 | .lt 7.2i | ||
9 | .nr LL 7.2i | ||
10 | .nr LT 7.2i | ||
11 | .ds LF Ylonen | ||
12 | .ds RF FORMFEED[Page %] | ||
13 | .ds CF | ||
14 | .ds LH Internet-Draft | ||
15 | .ds RH 15 November 1995 | ||
16 | .ds CH SSH (Secure Shell) Remote Login Protocol | ||
17 | .na | ||
18 | .hy 0 | ||
19 | .in 0 | ||
20 | Network Working Group T. Ylonen | ||
21 | Internet-Draft Helsinki University of Technology | ||
22 | draft-ylonen-ssh-protocol-00.txt 15 November 1995 | ||
23 | Expires: 15 May 1996 | ||
24 | |||
25 | .in 3 | ||
26 | |||
27 | .ce | ||
28 | The SSH (Secure Shell) Remote Login Protocol | ||
29 | |||
30 | .ti 0 | ||
31 | Status of This Memo | ||
32 | |||
33 | This document is an Internet-Draft. Internet-Drafts are working | ||
34 | documents of the Internet Engineering Task Force (IETF), its areas, | ||
35 | and its working groups. Note that other groups may also distribute | ||
36 | working documents as Internet-Drafts. | ||
37 | |||
38 | Internet-Drafts are draft documents valid for a maximum of six | ||
39 | months and may be updated, replaced, or obsoleted by other docu- | ||
40 | ments at any time. It is inappropriate to use Internet-Drafts as | ||
41 | reference material or to cite them other than as ``work in pro- | ||
42 | gress.'' | ||
43 | |||
44 | To learn the current status of any Internet-Draft, please check the | ||
45 | ``1id-abstracts.txt'' listing contained in the Internet- Drafts Shadow | ||
46 | Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe), | ||
47 | munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or | ||
48 | ftp.isi.edu (US West Coast). | ||
49 | |||
50 | The distribution of this memo is unlimited. | ||
51 | |||
52 | .ti 0 | ||
53 | Introduction | ||
54 | |||
55 | SSH (Secure Shell) is a program to log into another computer over a | ||
56 | network, to execute commands in a remote machine, and to move files | ||
57 | from one machine to another. It provides strong authentication and | ||
58 | secure communications over insecure networks. Its features include | ||
59 | the following: | ||
60 | .IP o | ||
61 | Closes several security holes (e.g., IP, routing, and DNS spoofing). | ||
62 | New authentication methods: .rhosts together with RSA [RSA] based host | ||
63 | authentication, and pure RSA authentication. | ||
64 | .IP o | ||
65 | All communications are automatically and transparently encrypted. | ||
66 | Encryption is also used to protect integrity. | ||
67 | .IP o | ||
68 | X11 connection forwarding provides secure X11 sessions. | ||
69 | .IP o | ||
70 | Arbitrary TCP/IP ports can be redirected over the encrypted channel | ||
71 | in both directions. | ||
72 | .IP o | ||
73 | Client RSA-authenticates the server machine in the beginning of every | ||
74 | connection to prevent trojan horses (by routing or DNS spoofing) and | ||
75 | man-in-the-middle attacks, and the server RSA-authenticates the client | ||
76 | machine before accepting .rhosts or /etc/hosts.equiv authentication | ||
77 | (to prevent DNS, routing, or IP spoofing). | ||
78 | .IP o | ||
79 | An authentication agent, running in the user's local workstation or | ||
80 | laptop, can be used to hold the user's RSA authentication keys. | ||
81 | .RT | ||
82 | |||
83 | The goal has been to make the software as easy to use as possible for | ||
84 | ordinary users. The protocol has been designed to be as secure as | ||
85 | possible while making it possible to create implementations that | ||
86 | are easy to use and install. The sample implementation has a number | ||
87 | of convenient features that are not described in this document as they | ||
88 | are not relevant for the protocol. | ||
89 | |||
90 | |||
91 | .ti 0 | ||
92 | Overview of the Protocol | ||
93 | |||
94 | The software consists of a server program running on a server machine, | ||
95 | and a client program running on a client machine (plus a few auxiliary | ||
96 | programs). The machines are connected by an insecure IP [RFC0791] | ||
97 | network (that can be monitored, tampered with, and spoofed by hostile | ||
98 | parties). | ||
99 | |||
100 | A connection is always initiated by the client side. The server | ||
101 | listens on a specific port waiting for connections. Many clients may | ||
102 | connect to the same server machine. | ||
103 | |||
104 | The client and the server are connected via a TCP/IP [RFC0793] socket | ||
105 | that is used for bidirectional communication. Other types of | ||
106 | transport can be used but are currently not defined. | ||
107 | |||
108 | When the client connects the server, the server accepts the connection | ||
109 | and responds by sending back its version identification string. The | ||
110 | client parses the server's identification, and sends its own | ||
111 | identification. The purpose of the identification strings is to | ||
112 | validate that the connection was to the correct port, declare the | ||
113 | protocol version number used, and to declare the software version used | ||
114 | on each side (for debugging purposes). The identification strings are | ||
115 | human-readable. If either side fails to understand or support the | ||
116 | other side's version, it closes the connection. | ||
117 | |||
118 | After the protocol identification phase, both sides switch to a packet | ||
119 | based binary protocol. The server starts by sending its host key | ||
120 | (every host has an RSA key used to authenticate the host), server key | ||
121 | (an RSA key regenerated every hour), and other information to the | ||
122 | client. The client then generates a 256 bit session key, encrypts it | ||
123 | using both RSA keys (see below for details), and sends the encrypted | ||
124 | session key and selected cipher type to the server. Both sides then | ||
125 | turn on encryption using the selected algorithm and key. The server | ||
126 | sends an encrypted confirmation message to the client. | ||
127 | |||
128 | The client then authenticates itself using any of a number of | ||
129 | authentication methods. The currently supported authentication | ||
130 | methods are .rhosts or /etc/hosts.equiv authentication (disabled by | ||
131 | default), the same with RSA-based host authentication, RSA | ||
132 | authentication, and password authentication. | ||
133 | |||
134 | After successful authentication, the client makes a number of requests | ||
135 | to prepare for the session. Typical requests include allocating a | ||
136 | pseudo tty, starting X11 [X11] or TCP/IP port forwarding, starting | ||
137 | authentication agent forwarding, and executing the shell or a command. | ||
138 | |||
139 | When a shell or command is executed, the connection enters interactive | ||
140 | session mode. In this mode, data is passed in both directions, | ||
141 | new forwarded connections may be opened, etc. The interactive session | ||
142 | normally terminates when the server sends the exit status of the | ||
143 | program to the client. | ||
144 | |||
145 | |||
146 | The protocol makes several reservations for future extensibility. | ||
147 | First of all, the initial protocol identification messages include the | ||
148 | protocol version number. Second, the first packet by both sides | ||
149 | includes a protocol flags field, which can be used to agree on | ||
150 | extensions in a compatible manner. Third, the authentication and | ||
151 | session preparation phases work so that the client sends requests to | ||
152 | the server, and the server responds with success or failure. If the | ||
153 | client sends a request that the server does not support, the server | ||
154 | simply returns failure for it. This permits compatible addition of | ||
155 | new authentication methods and preparation operations. The | ||
156 | interactive session phase, on the other hand, works asynchronously and | ||
157 | does not permit the use of any extensions (because there is no easy | ||
158 | and reliable way to signal rejection to the other side and problems | ||
159 | would be hard to debug). Any compatible extensions to this phase must | ||
160 | be agreed upon during any of the earlier phases. | ||
161 | |||
162 | .ti 0 | ||
163 | The Binary Packet Protocol | ||
164 | |||
165 | After the protocol identification strings, both sides only send | ||
166 | specially formatted packets. The packet layout is as follows: | ||
167 | .IP o | ||
168 | Packet length: 32 bit unsigned integer, coded as four 8-bit bytes, msb | ||
169 | first. Gives the length of the packet, not including the length field | ||
170 | and padding. The maximum length of a packet (not including the length | ||
171 | field and padding) is 262144 bytes. | ||
172 | .IP o | ||
173 | Padding: 1-8 bytes of random data (or zeroes if not encrypting). The | ||
174 | amount of padding is (8 - (length % 8)) bytes (where % stands for the | ||
175 | modulo operator). The rationale for always having some random padding | ||
176 | at the beginning of each packet is to make known plaintext attacks | ||
177 | more difficult. | ||
178 | .IP o | ||
179 | Packet type: 8-bit unsigned byte. The value 255 is reserved for | ||
180 | future extension. | ||
181 | .IP o | ||
182 | Data: binary data bytes, depending on the packet type. The number of | ||
183 | data bytes is the "length" field minus 5. | ||
184 | .IP o | ||
185 | Check bytes: 32-bit crc, four 8-bit bytes, msb first. The crc is the | ||
186 | Cyclic Redundancy Check, with the polynomial 0xedb88320, of the | ||
187 | Padding, Packet type, and Data fields. The crc is computed before | ||
188 | any encryption. | ||
189 | .RT | ||
190 | |||
191 | The packet, except for the length field, may be encrypted using any of | ||
192 | a number of algorithms. The length of the encrypted part (Padding + | ||
193 | Type + Data + Check) is always a multiple of 8 bytes. Typically the | ||
194 | cipher is used in a chained mode, with all packets chained together as | ||
195 | if it was a single data stream (the length field is never included in | ||
196 | the encryption process). Details of encryption are described below. | ||
197 | |||
198 | When the session starts, encryption is turned off. Encryption is | ||
199 | enabled after the client has sent the session key. The encryption | ||
200 | algorithm to use is selected by the client. | ||
201 | |||
202 | |||
203 | .ti 0 | ||
204 | Packet Compression | ||
205 | |||
206 | If compression is supported (it is an optional feature, see | ||
207 | SSH_CMSG_REQUEST_COMPRESSION below), the packet type and data fields | ||
208 | of the packet are compressed using the gzip deflate algorithm [GZIP]. | ||
209 | If compression is in effect, the packet length field indicates the | ||
210 | length of the compressed data, plus 4 for the crc. The amount of | ||
211 | padding is computed from the compressed data, so that the amount of | ||
212 | data to be encrypted becomes a multiple of 8 bytes. | ||
213 | |||
214 | When compressing, the packets (type + data portions) in each direction | ||
215 | are compressed as if they formed a continuous data stream, with only the | ||
216 | current compression block flushed between packets. This corresponds | ||
217 | to the GNU ZLIB library Z_PARTIAL_FLUSH option. The compression | ||
218 | dictionary is not flushed between packets. The two directions are | ||
219 | compressed independently of each other. | ||
220 | |||
221 | |||
222 | .ti 0 | ||
223 | Packet Encryption | ||
224 | |||
225 | The protocol supports several encryption methods. During session | ||
226 | initialization, the server sends a bitmask of all encryption methods | ||
227 | that it supports, and the client selects one of these methods. The | ||
228 | client also generates a 256-bit random session key (32 8-bit bytes) and | ||
229 | sends it to the server. | ||
230 | |||
231 | The encryption methods supported by the current implementation, and | ||
232 | their codes are: | ||
233 | .TS | ||
234 | center; | ||
235 | l r l. | ||
236 | SSH_CIPHER_NONE 0 No encryption | ||
237 | SSH_CIPHER_IDEA 1 IDEA in CFB mode | ||
238 | SSH_CIPHER_DES 2 DES in CBC mode | ||
239 | SSH_CIPHER_3DES 3 Triple-DES in CBC mode | ||
240 | SSH_CIPHER_TSS 4 An experimental stream cipher | ||
241 | SSH_CIPHER_RC4 5 RC4 | ||
242 | .TE | ||
243 | |||
244 | All implementations are required to support SSH_CIPHER_DES and | ||
245 | SSH_CIPHER_3DES. Supporting SSH_CIPHER_IDEA, SSH_CIPHER_RC4, and | ||
246 | SSH_CIPHER_NONE is recommended. Support for SSH_CIPHER_TSS is | ||
247 | optional (and it is not described in this document). Other ciphers | ||
248 | may be added at a later time; support for them is optional. | ||
249 | |||
250 | For encryption, the encrypted portion of the packet is considered a | ||
251 | linear byte stream. The length of the stream is always a multiple of | ||
252 | 8. The encrypted portions of consecutive packets (in the same | ||
253 | direction) are encrypted as if they were a continuous buffer (that is, | ||
254 | any initialization vectors are passed from the previous packet to the | ||
255 | next packet). Data in each direction is encrypted independently. | ||
256 | .IP SSH_CIPHER_DES | ||
257 | The key is taken from the first 8 bytes of the session key. The least | ||
258 | significant bit of each byte is ignored. This results in 56 bits of | ||
259 | key data. DES [DES] is used in CBC mode. The iv (initialization vector) is | ||
260 | initialized to all zeroes. | ||
261 | .IP SSH_CIPHER_3DES | ||
262 | The variant of triple-DES used here works as follows: there are three | ||
263 | independent DES-CBC ciphers, with independent initialization vectors. | ||
264 | The data (the whole encrypted data stream) is first encrypted with the | ||
265 | first cipher, then decrypted with the second cipher, and finally | ||
266 | encrypted with the third cipher. All these operations are performed | ||
267 | in CBC mode. | ||
268 | |||
269 | The key for the first cipher is taken from the first 8 bytes of the | ||
270 | session key; the key for the next cipher from the next 8 bytes, and | ||
271 | the key for the third cipher from the following 8 bytes. All three | ||
272 | initialization vectors are initialized to zero. | ||
273 | |||
274 | (Note: the variant of 3DES used here differs from some other | ||
275 | descriptions.) | ||
276 | .IP SSH_CIPHER_IDEA | ||
277 | The key is taken from the first 16 bytes of the session key. IDEA | ||
278 | [IDEA] is used in CFB mode. The initialization vector is initialized | ||
279 | to all zeroes. | ||
280 | .IP SSH_CIPHER_TSS | ||
281 | All 32 bytes of the session key are used as the key. | ||
282 | |||
283 | There is no reference available for the TSS algorithm; it is currently | ||
284 | only documented in the sample implementation source code. The | ||
285 | security of this cipher is unknown (but it is quite fast). The cipher | ||
286 | is basically a stream cipher that uses MD5 as a random number | ||
287 | generator and takes feedback from the data. | ||
288 | .IP SSH_CIPHER_RC4 | ||
289 | The first 16 bytes of the session key are used as the key for the | ||
290 | server to client direction. The remaining 16 bytes are used as the | ||
291 | key for the client to server direction. This gives independent | ||
292 | 128-bit keys for each direction. | ||
293 | |||
294 | This algorithm is the alleged RC4 cipher posted to the Usenet in 1995. | ||
295 | It is widely believed to be equivalent with the original RSADSI RC4 | ||
296 | cipher. This is a very fast algorithm. | ||
297 | .RT | ||
298 | |||
299 | |||
300 | .ti 0 | ||
301 | Data Type Encodings | ||
302 | |||
303 | The Data field of each packet contains data encoded as described in | ||
304 | this section. There may be several data items; each item is coded as | ||
305 | described here, and their representations are concatenated together | ||
306 | (without any alignment or padding). | ||
307 | |||
308 | Each data type is stored as follows: | ||
309 | .IP "8-bit byte" | ||
310 | The byte is stored directly as a single byte. | ||
311 | .IP "32-bit unsigned integer" | ||
312 | Stored in 4 bytes, msb first. | ||
313 | .IP "Arbitrary length binary string" | ||
314 | First 4 bytes are the length of the string, msb first (not including | ||
315 | the length itself). The following "length" bytes are the string | ||
316 | value. There are no terminating null characters. | ||
317 | .IP "Multiple-precision integer" | ||
318 | First 2 bytes are the number of bits in the integer, msb first (for | ||
319 | example, the value 0x00012345 would have 17 bits). The value zero has | ||
320 | zero bits. It is permissible that the number of bits be larger than the | ||
321 | real number of bits. | ||
322 | |||
323 | The number of bits is followed by (bits + 7) / 8 bytes of binary data, | ||
324 | msb first, giving the value of the integer. | ||
325 | .RT | ||
326 | |||
327 | |||
328 | .ti 0 | ||
329 | TCP/IP Port Number and Other Options | ||
330 | |||
331 | The server listens for connections on TCP/IP port 22. | ||
332 | |||
333 | The client may connect the server from any port. However, if the | ||
334 | client wishes to use any form of .rhosts or /etc/hosts.equiv | ||
335 | authentication, it must connect from a privileged port (less than | ||
336 | 1024). | ||
337 | |||
338 | For the IP Type of Service field [RFC0791], it is recommended that | ||
339 | interactive sessions (those having a user terminal or forwarding X11 | ||
340 | connections) use the IPTOS_LOWDELAY, and non-interactive connections | ||
341 | use IPTOS_THROUGHPUT. | ||
342 | |||
343 | It is recommended that keepalives are used, because otherwise programs | ||
344 | on the server may never notice if the other end of the connection is | ||
345 | rebooted. | ||
346 | |||
347 | |||
348 | .ti 0 | ||
349 | Protocol Version Identification | ||
350 | |||
351 | After the socket is opened, the server sends an identification string, | ||
352 | which is of the form | ||
353 | "SSH-<protocolmajor>.<protocolminor>-<version>\\n", where | ||
354 | <protocolmajor> and <protocolminor> are integers and specify the | ||
355 | protocol version number (not software distribution version). | ||
356 | <version> is server side software version string (max 40 characters); | ||
357 | it is not interpreted by the remote side but may be useful for | ||
358 | debugging. | ||
359 | |||
360 | The client parses the server's string, and sends a corresponding | ||
361 | string with its own information in response. If the server has lower | ||
362 | version number, and the client contains special code to emulate it, | ||
363 | the client responds with the lower number; otherwise it responds with | ||
364 | its own number. The server then compares the version number the | ||
365 | client sent with its own, and determines whether they can work | ||
366 | together. The server either disconnects, or sends the first packet | ||
367 | using the binary packet protocol and both sides start working | ||
368 | according to the lower of the protocol versions. | ||
369 | |||
370 | By convention, changes which keep the protocol compatible with | ||
371 | previous versions keep the same major protocol version; changes that | ||
372 | are not compatible increment the major version (which will hopefully | ||
373 | never happen). The version described in this document is 1.3. | ||
374 | |||
375 | The client will | ||
376 | |||
377 | .ti 0 | ||
378 | Key Exchange and Server Host Authentication | ||
379 | |||
380 | The first message sent by the server using the packet protocol is | ||
381 | SSH_SMSG_PUBLIC_KEY. It declares the server's host key, server public | ||
382 | key, supported ciphers, supported authentication methods, and flags | ||
383 | for protocol extensions. It also contains a 64-bit random number | ||
384 | (cookie) that must be returned in the client's reply (to make IP | ||
385 | spoofing more difficult). No encryption is used for this message. | ||
386 | |||
387 | Both sides compute a session id as follows. The modulus of the server | ||
388 | key is interpreted as a byte string (without explicit length field, | ||
389 | with minimum length able to hold the whole value), most significant | ||
390 | byte first. This string is concatenated with the server host key | ||
391 | interpreted the same way. Additionally, the cookie is concatenated | ||
392 | with this. Both sides compute MD5 of the resulting string. The | ||
393 | resulting 16 bytes (128 bits) are stored by both parties and are | ||
394 | called the session id. | ||
395 | |||
396 | The client responds with a SSH_CMSG_SESSION_KEY message, which | ||
397 | contains the selected cipher type, a copy of the 64-bit cookie sent by | ||
398 | the server, client's protocol flags, and a session key encrypted | ||
399 | with both the server's host key and server key. No encryption is used | ||
400 | for this message. | ||
401 | |||
402 | The session key is 32 8-bit bytes (a total of 256 random bits | ||
403 | generated by the client). The client first xors the 16 bytes of the | ||
404 | session id with the first 16 bytes of the session key. The resulting | ||
405 | string is then encrypted using the smaller key (one with smaller | ||
406 | modulus), and the result is then encrypted using the other key. The | ||
407 | number of bits in the public modulus of the two keys must differ by at | ||
408 | least 128 bits. | ||
409 | |||
410 | At each encryption step, a multiple-precision integer is constructed | ||
411 | from the data to be encrypted as follows (the integer is here | ||
412 | interpreted as a sequence of bytes, msb first; the number of bytes is | ||
413 | the number of bytes needed to represent the modulus). | ||
414 | |||
415 | The most significant byte (which is only partial as the value must be | ||
416 | less than the public modulus, which is never a power of two) is zero. | ||
417 | |||
418 | The next byte contains the value 2 (which stands for public-key | ||
419 | encrypted data in the PKCS standard [PKCS#1]). Then, there are | ||
420 | non-zero random bytes to fill any unused space, a zero byte, and the | ||
421 | data to be encrypted in the least significant bytes, the last byte of | ||
422 | the data in the least significant byte. | ||
423 | |||
424 | This algorithm is used twice. First, it is used to encrypt the 32 | ||
425 | random bytes generated by the client to be used as the session key | ||
426 | (xored by the session id). This value is converted to an integer as | ||
427 | described above, and encrypted with RSA using the key with the smaller | ||
428 | modulus. The resulting integer is converted to a byte stream, msb | ||
429 | first. This byte stream is padded and encrypted identically using the | ||
430 | key with the larger modulus. | ||
431 | |||
432 | After the client has sent the session key, it starts to use the | ||
433 | selected algorithm and key for decrypting any received packets, and | ||
434 | for encrypting any sent packets. Separate ciphers are used for | ||
435 | different directions (that is, both directions have separate | ||
436 | initialization vectors or other state for the ciphers). | ||
437 | |||
438 | When the server has received the session key message, and has turned | ||
439 | on encryption, it sends a SSH_SMSG_SUCCESS message to the client. | ||
440 | |||
441 | The recommended size of the host key is 1024 bits, and 768 bits for | ||
442 | the server key. The minimum size is 512 bits for the smaller key. | ||
443 | |||
444 | |||
445 | .ti 0 | ||
446 | Declaring the User Name | ||
447 | |||
448 | The client then sends a SSH_CMSG_USER message to the server. This | ||
449 | message specifies the user name to log in as. | ||
450 | |||
451 | The server validates that such a user exists, checks whether | ||
452 | authentication is needed, and responds with either SSH_SMSG_SUCCESS or | ||
453 | SSH_SMSG_FAILURE. SSH_SMSG_SUCCESS indicates that no authentication | ||
454 | is needed for this user (no password), and authentication phase has | ||
455 | now been completed. SSH_SMSG_FAILURE indicates that authentication is | ||
456 | needed (or the user does not exist). | ||
457 | |||
458 | If the user does not exist, it is recommended that this returns | ||
459 | failure, but the server keeps reading messages from the client, and | ||
460 | responds to any messages (except SSH_MSG_DISCONNECT, SSH_MSG_IGNORE, | ||
461 | and SSH_MSG_DEBUG) with SSH_SMSG_FAILURE. This way the client cannot | ||
462 | be certain whether the user exists. | ||
463 | |||
464 | |||
465 | .ti 0 | ||
466 | Authentication Phase | ||
467 | |||
468 | Provided the server didn't immediately accept the login, an | ||
469 | authentication exchange begins. The client sends messages to the | ||
470 | server requesting different types of authentication in arbitrary order as | ||
471 | many times as desired (however, the server may close the connection | ||
472 | after a timeout). The server always responds with SSH_SMSG_SUCCESS if | ||
473 | it has accepted the authentication, and with SSH_SMSG_FAILURE if it has | ||
474 | denied authentication with the requested method or it does not | ||
475 | recognize the message. Some authentication methods cause an exchange | ||
476 | of further messages before the final result is sent. The | ||
477 | authentication phase ends when the server responds with success. | ||
478 | |||
479 | The recommended value for the authentication timeout (timeout before | ||
480 | disconnecting if no successful authentication has been made) is 5 | ||
481 | minutes. | ||
482 | |||
483 | The following authentication methods are currently supported: | ||
484 | .TS | ||
485 | center; | ||
486 | l r l. | ||
487 | SSH_AUTH_RHOSTS 1 .rhosts or /etc/hosts.equiv | ||
488 | SSH_AUTH_RSA 2 pure RSA authentication | ||
489 | SSH_AUTH_PASSWORD 3 password authentication | ||
490 | SSH_AUTH_RHOSTS_RSA 4 .rhosts with RSA host authentication | ||
491 | .TE | ||
492 | .IP SSH_AUTH_RHOSTS | ||
493 | |||
494 | This is the authentication method used by rlogin and rsh [RFC1282]. | ||
495 | |||
496 | The client sends SSH_CMSG_AUTH_RHOSTS with the client-side user name | ||
497 | as an argument. | ||
498 | |||
499 | The server checks whether to permit authentication. On UNIX systems, | ||
500 | this is usually done by checking /etc/hosts.equiv, and .rhosts in the | ||
501 | user's home directory. The connection must come from a privileged | ||
502 | port. | ||
503 | |||
504 | It is recommended that the server checks that there are no IP options | ||
505 | (such as source routing) specified for the socket before accepting | ||
506 | this type of authentication. The client host name should be | ||
507 | reverse-mapped and then forward mapped to ensure that it has the | ||
508 | proper IP-address. | ||
509 | |||
510 | This authentication method trusts the remote host (root on the remote | ||
511 | host can pretend to be any other user on that host), the name | ||
512 | services, and partially the network: anyone who can see packets coming | ||
513 | out from the server machine can do IP-spoofing and pretend to be any | ||
514 | machine; however, the protocol prevents blind IP-spoofing (which used | ||
515 | to be possible with rlogin). | ||
516 | |||
517 | Many sites probably want to disable this authentication method because | ||
518 | of the fundamental insecurity of conventional .rhosts or | ||
519 | /etc/hosts.equiv authentication when faced with spoofing. It is | ||
520 | recommended that this method not be supported by the server by | ||
521 | default. | ||
522 | .IP SSH_AUTH_RHOSTS_RSA | ||
523 | |||
524 | In addition to conventional .rhosts and hosts.equiv authentication, | ||
525 | this method additionally requires that the client host be | ||
526 | authenticated using RSA. | ||
527 | |||
528 | The client sends SSH_CMSG_AUTH_RHOSTS_RSA specifying the client-side | ||
529 | user name, and the public host key of the client host. | ||
530 | |||
531 | The server first checks if normal .rhosts or /etc/hosts.equiv | ||
532 | authentication would be accepted, and if not, responds with | ||
533 | SSH_SMSG_FAILURE. Otherwise, it checks whether it knows the host key | ||
534 | for the client machine (using the same name for the host that was used | ||
535 | for checking the .rhosts and /etc/hosts.equiv files). If it does not | ||
536 | know the RSA key for the client, access is denied and SSH_SMSG_FAILURE | ||
537 | is sent. | ||
538 | |||
539 | If the server knows the host key of the client machine, it verifies | ||
540 | that the given host key matches that known for the client. If not, | ||
541 | access is denied and SSH_SMSG_FAILURE is sent. | ||
542 | |||
543 | The server then sends a SSH_SMSG_AUTH_RSA_CHALLENGE message containing | ||
544 | an encrypted challenge for the client. The challenge is 32 8-bit | ||
545 | random bytes (256 bits). When encrypted, the highest (partial) byte | ||
546 | is left as zero, the next byte contains the value 2, the following are | ||
547 | non-zero random bytes, followed by a zero byte, and the challenge put | ||
548 | in the remaining bytes. This is then encrypted using RSA with the | ||
549 | client host's public key. (The padding and encryption algorithm is | ||
550 | the same as that used for the session key.) | ||
551 | |||
552 | The client decrypts the challenge using its private host key, | ||
553 | concatenates this with the session id, and computes an MD5 checksum | ||
554 | of the resulting 48 bytes. The MD5 output is returned as 16 bytes in | ||
555 | a SSH_CMSG_AUTH_RSA_RESPONSE message. (MD5 is used to deter chosen | ||
556 | plaintext attacks against RSA; the session id binds it to a specific | ||
557 | session). | ||
558 | |||
559 | The server verifies that the MD5 of the decrypted challenge returned by | ||
560 | the client matches that of the original value, and sends SSH_SMSG_SUCCESS if | ||
561 | so. Otherwise it sends SSH_SMSG_FAILURE and refuses the | ||
562 | authentication attempt. | ||
563 | |||
564 | This authentication method trusts the client side machine in that root | ||
565 | on that machine can pretend to be any user on that machine. | ||
566 | Additionally, it trusts the client host key. The name and/or IP | ||
567 | address of the client host is only used to select the public host key. | ||
568 | The same host name is used when scanning .rhosts or /etc/hosts.equiv | ||
569 | and when selecting the host key. It would in principle be possible to | ||
570 | eliminate the host name entirely and substitute it directly by the | ||
571 | host key. IP and/or DNS [RFC1034] spoofing can only be used | ||
572 | to pretend to be a host for which the attacker has the private host | ||
573 | key. | ||
574 | .IP SSH_AUTH_RSA | ||
575 | |||
576 | The idea behind RSA authentication is that the server recognizes the | ||
577 | public key offered by the client, generates a random challenge, and | ||
578 | encrypts the challenge with the public key. The client must then | ||
579 | prove that it has the corresponding private key by decrypting the | ||
580 | challenge. | ||
581 | |||
582 | The client sends SSH_CMSG_AUTH_RSA with public key modulus (n) as an | ||
583 | argument. | ||
584 | |||
585 | The server may respond immediately with SSH_SMSG_FAILURE if it does | ||
586 | not permit authentication with this key. Otherwise it generates a | ||
587 | challenge, encrypts it using the user's public key (stored on the | ||
588 | server and identified using the modulus), and sends | ||
589 | SSH_SMSG_AUTH_RSA_CHALLENGE with the challenge (mp-int) as an | ||
590 | argument. | ||
591 | |||
592 | The challenge is 32 8-bit random bytes (256 bits). When encrypted, | ||
593 | the highest (partial) byte is left as zero, the next byte contains the | ||
594 | value 2, the following are non-zero random bytes, followed by a zero | ||
595 | byte, and the challenge put in the remaining bytes. This is then | ||
596 | encrypted with the public key. (The padding and encryption algorithm | ||
597 | is the same as that used for the session key.) | ||
598 | |||
599 | The client decrypts the challenge using its private key, concatenates | ||
600 | it with the session id, and computes an MD5 checksum of the resulting | ||
601 | 48 bytes. The MD5 output is returned as 16 bytes in a | ||
602 | SSH_CMSG_AUTH_RSA_RESPONSE message. (Note that the MD5 is necessary | ||
603 | to avoid chosen plaintext attacks against RSA; the session id binds it | ||
604 | to a specific session.) | ||
605 | |||
606 | The server verifies that the MD5 of the decrypted challenge returned | ||
607 | by the client matches that of the original value, and sends | ||
608 | SSH_SMSG_SUCCESS if so. Otherwise it sends SSH_SMSG_FAILURE and | ||
609 | refuses the authentication attempt. | ||
610 | |||
611 | This authentication method does not trust the remote host, the | ||
612 | network, name services, or anything else. Authentication is based | ||
613 | solely on the possession of the private identification keys. Anyone | ||
614 | in possession of the private keys can log in, but nobody else. | ||
615 | |||
616 | The server may have additional requirements for a successful | ||
617 | authentiation. For example, to limit damage due to a compromised RSA | ||
618 | key, a server might restrict access to a limited set of hosts. | ||
619 | .IP SSH_AUTH_PASSWORD | ||
620 | |||
621 | The client sends a SSH_CMSG_AUTH_PASSWORD message with the plain text | ||
622 | password. (Note that even though the password is plain text inside | ||
623 | the message, it is normally encrypted by the packet mechanism.) | ||
624 | |||
625 | The server verifies the password, and sends SSH_SMSG_SUCCESS if | ||
626 | authentication was accepted and SSH_SMSG_FAILURE otherwise. | ||
627 | |||
628 | Note that the password is read from the user by the client; the user | ||
629 | never interacts with a login program. | ||
630 | |||
631 | This authentication method does not trust the remote host, the | ||
632 | network, name services or anything else. Authentication is based | ||
633 | solely on the possession of the password. Anyone in possession of the | ||
634 | password can log in, but nobody else. | ||
635 | .RT | ||
636 | |||
637 | .ti 0 | ||
638 | Preparatory Operations | ||
639 | |||
640 | After successful authentication, the server waits for a request from | ||
641 | the client, processes the request, and responds with SSH_SMSG_SUCCESS | ||
642 | whenever a request has been successfully processed. If it receives a | ||
643 | message that it does not recognize or it fails to honor a request, it | ||
644 | returns SSH_SMSG_FAILURE. It is expected that new message types might | ||
645 | be added to this phase in future. | ||
646 | |||
647 | The following messages are currently defined for this phase. | ||
648 | .IP SSH_CMSG_REQUEST_COMPRESSION | ||
649 | Requests that compression be enabled for this session. A | ||
650 | gzip-compatible compression level (1-9) is passed as an argument. | ||
651 | .IP SSH_CMSG_REQUEST_PTY | ||
652 | Requests that a pseudo terminal device be allocated for this session. | ||
653 | The user terminal type and terminal modes are supplied as arguments. | ||
654 | .IP SSH_CMSG_X11_REQUEST_FORWARDING | ||
655 | Requests forwarding of X11 connections from the remote machine to the | ||
656 | local machine over the secure channel. Causes an internet-domain | ||
657 | socket to be allocated and the DISPLAY variable to be set on the server. | ||
658 | X11 authentication data is automatically passed to the server, and the | ||
659 | client may implement spoofing of authentication data for added | ||
660 | security. The authentication data is passed as arguments. | ||
661 | .IP SSH_CMSG_PORT_FORWARD_REQUEST | ||
662 | Requests forwarding of a TCP/IP port on the server host over the | ||
663 | secure channel. What happens is that whenever a connection is made to | ||
664 | the port on the server, a connection will be made from the client end | ||
665 | to the specified host/port. Any user can forward unprivileged ports; | ||
666 | only the root can forward privileged ports (as determined by | ||
667 | authentication done earlier). | ||
668 | .IP SSH_CMSG_AGENT_REQUEST_FORWARDING | ||
669 | Requests forwarding of the connection to the authentication agent. | ||
670 | .IP SSH_CMSG_EXEC_SHELL | ||
671 | Starts a shell (command interpreter) for the user, and moves into | ||
672 | interactive session mode. | ||
673 | .IP SSH_CMSG_EXEC_CMD | ||
674 | Executes the given command (actually "<shell> -c <command>" or | ||
675 | equivalent) for the user, and moves into interactive session mode. | ||
676 | .RT | ||
677 | |||
678 | |||
679 | .ti 0 | ||
680 | Interactive Session and Exchange of Data | ||
681 | |||
682 | During the interactive session, any data written by the shell or | ||
683 | command running on the server machine is forwarded to stdin or | ||
684 | stderr on the client machine, and any input available from stdin on | ||
685 | the client machine is forwarded to the program on the server machine. | ||
686 | |||
687 | All exchange is asynchronous; either side can send at any time, and | ||
688 | there are no acknowledgements (TCP/IP already provides reliable | ||
689 | transport, and the packet protocol protects against tampering or IP | ||
690 | spoofing). | ||
691 | |||
692 | When the client receives EOF from its standard input, it will send | ||
693 | SSH_CMSG_EOF; however, this in no way terminates the exchange. The | ||
694 | exchange terminates and interactive mode is left when the server sends | ||
695 | SSH_SMSG_EXITSTATUS to indicate that the client program has | ||
696 | terminated. Alternatively, either side may disconnect at any time by | ||
697 | sending SSH_MSG_DISCONNECT or closing the connection. | ||
698 | |||
699 | The server may send any of the following messages: | ||
700 | .IP SSH_SMSG_STDOUT_DATA | ||
701 | Data written to stdout by the program running on the server. The data | ||
702 | is passed as a string argument. The client writes this data to | ||
703 | stdout. | ||
704 | .IP SSH_SMSG_STDERR_DATA | ||
705 | Data written to stderr by the program running on the server. The data | ||
706 | is passed as a string argument. The client writes this data to | ||
707 | stderr. (Note that if the program is running on a tty, it is not | ||
708 | possible to separate stdout and stderr data, and all data will be sent | ||
709 | as stdout data.) | ||
710 | .IP SSH_SMSG_EXITSTATUS | ||
711 | Indicates that the shell or command has exited. Exit status is passed | ||
712 | as an integer argument. This message causes termination of the | ||
713 | interactive session. | ||
714 | .IP SSH_SMSG_AGENT_OPEN | ||
715 | Indicates that someone on the server side is requesting a connection | ||
716 | to the authentication agent. The server-side channel number is passed | ||
717 | as an argument. The client must respond with either | ||
718 | SSH_CHANNEL_OPEN_CONFIRMATION or SSH_CHANNEL_OPEN_FAILURE. | ||
719 | .IP SSH_SMSG_X11_OPEN | ||
720 | Indicates that a connection has been made to the X11 socket on the | ||
721 | server side and should be forwarded to the real X server. An integer | ||
722 | argument indicates the channel number allocated for this connection on | ||
723 | the server side. The client should send back either | ||
724 | SSH_MSG_CHANNEL_OPEN_CONFIRMATION or SSH_MSG_CHANNEL_OPEN_FAILURE with | ||
725 | the same server side channel number. | ||
726 | .IP SSH_MSG_PORT_OPEN | ||
727 | Indicates that a connection has been made to a port on the server side | ||
728 | for which forwarding has been requested. Arguments are server side | ||
729 | channel number, host name to connect to, and port to connect to. The | ||
730 | client should send back either | ||
731 | SSH_MSG_CHANNEL_OPEN_CONFIRMATION or SSH_MSG_CHANNEL_OPEN_FAILURE with | ||
732 | the same server side channel number. | ||
733 | .IP SSH_MSG_CHANNEL_OPEN_CONFIRMATION | ||
734 | This is sent by the server to indicate that it has opened a connection | ||
735 | as requested in a previous message. The first argument indicates the | ||
736 | client side channel number, and the second argument is the channel number | ||
737 | that the server has allocated for this connection. | ||
738 | .IP SSH_MSG_CHANNEL_OPEN_FAILURE | ||
739 | This is sent by the server to indicate that it failed to open a | ||
740 | connection as requested in a previous message. The client-side | ||
741 | channel number is passed as an argument. The client will close the | ||
742 | descriptor associated with the channel and free the channel. | ||
743 | .IP SSH_MSG_CHANNEL_DATA | ||
744 | This packet contains data for a channel from the server. The first | ||
745 | argument is the client-side channel number, and the second argument (a | ||
746 | string) is the data. | ||
747 | .IP SSH_MSG_CHANNEL_CLOSE | ||
748 | This is sent by the server to indicate that whoever was in the other | ||
749 | end of the channel has closed it. The argument is the client side channel | ||
750 | number. The client will let all buffered data in the channel to | ||
751 | drain, and when ready, will close the socket, free the channel, and | ||
752 | send the server a SSH_MSG_CHANNEL_CLOSE_CONFIRMATION message for the | ||
753 | channel. | ||
754 | .IP SSH_MSG_CHANNEL_CLOSE_CONFIRMATION | ||
755 | This is send by the server to indicate that a channel previously | ||
756 | closed by the client has now been closed on the server side as well. | ||
757 | The argument indicates the client channel number. The client frees | ||
758 | the channel. | ||
759 | .RT | ||
760 | |||
761 | The client may send any of the following messages: | ||
762 | .IP SSH_CMSG_STDIN_DATA | ||
763 | This is data to be sent as input to the program running on the server. | ||
764 | The data is passed as a string. | ||
765 | .IP SSH_CMSG_EOF | ||
766 | Indicates that the client has encountered EOF while reading standard | ||
767 | input. The server will allow any buffered input data to drain, and | ||
768 | will then close the input to the program. | ||
769 | .IP SSH_CMSG_WINDOW_SIZE | ||
770 | Indicates that window size on the client has been changed. The server | ||
771 | updates the window size of the tty and causes SIGWINCH to be sent to | ||
772 | the program. The new window size is passed as four integer arguments: | ||
773 | row, col, xpixel, ypixel. | ||
774 | .IP SSH_MSG_PORT_OPEN | ||
775 | Indicates that a connection has been made to a port on the client side | ||
776 | for which forwarding has been requested. Arguments are client side | ||
777 | channel number, host name to connect to, and port to connect to. The | ||
778 | server should send back either SSH_MSG_CHANNEL_OPEN_CONFIRMATION or | ||
779 | SSH_MSG_CHANNEL_OPEN_FAILURE with the same client side channel number. | ||
780 | .IP SSH_MSG_CHANNEL_OPEN_CONFIRMATION | ||
781 | This is sent by the client to indicate that it has opened a connection | ||
782 | as requested in a previous message. The first argument indicates the | ||
783 | server side channel number, and the second argument is the channel | ||
784 | number that the client has allocated for this connection. | ||
785 | .IP SSH_MSG_CHANNEL_OPEN_FAILURE | ||
786 | This is sent by the client to indicate that it failed to open a | ||
787 | connection as requested in a previous message. The server side | ||
788 | channel number is passed as an argument. The server will close the | ||
789 | descriptor associated with the channel and free the channel. | ||
790 | .IP SSH_MSG_CHANNEL_DATA | ||
791 | This packet contains data for a channel from the client. The first | ||
792 | argument is the server side channel number, and the second argument (a | ||
793 | string) is the data. | ||
794 | .IP SSH_MSG_CHANNEL_CLOSE | ||
795 | This is sent by the client to indicate that whoever was in the other | ||
796 | end of the channel has closed it. The argument is the server channel | ||
797 | number. The server will allow buffered data to drain, and when ready, | ||
798 | will close the socket, free the channel, and send the client a | ||
799 | SSH_MSG_CHANNEL_CLOSE_CONFIRMATION message for the channel. | ||
800 | .IP SSH_MSG_CHANNEL_CLOSE_CONFIRMATION | ||
801 | This is send by the client to indicate that a channel previously | ||
802 | closed by the server has now been closed on the client side as well. | ||
803 | The argument indicates the server channel number. The server frees | ||
804 | the channel. | ||
805 | .RT | ||
806 | |||
807 | Any unsupported messages during interactive mode cause the connection | ||
808 | to be terminated with SSH_MSG_DISCONNECT and an error message. | ||
809 | Compatible protocol upgrades should agree about any extensions during | ||
810 | the preparation phase or earlier. | ||
811 | |||
812 | |||
813 | .ti 0 | ||
814 | Termination of the Connection | ||
815 | |||
816 | Normal termination of the connection is always initiated by the server | ||
817 | by sending SSH_SMSG_EXITSTATUS after the program has exited. The | ||
818 | client responds to this message by sending SSH_CMSG_EXIT_CONFIRMATION | ||
819 | and closes the socket; the server then closes the socket. There are | ||
820 | two purposes for the confirmation: some systems may lose previously | ||
821 | sent data when the socket is closed, and closing the client side first | ||
822 | causes any TCP/IP TIME_WAIT [RFC0793] waits to occur on the client side, not | ||
823 | consuming server resources. | ||
824 | |||
825 | If the program terminates due to a signal, the server will send | ||
826 | SSH_MSG_DISCONNECT with an appropriate message. If the connection is | ||
827 | closed, all file descriptors to the program will be closed and the | ||
828 | server will exit. If the program runs on a tty, the kernel sends it | ||
829 | the SIGHUP signal when the pty master side is closed. | ||
830 | |||
831 | .ti 0 | ||
832 | Protocol Flags | ||
833 | |||
834 | Both the server and the client pass 32 bits of protocol flags to the | ||
835 | other side. The flags are intended for compatible protocol extension; | ||
836 | the server first announces which added capabilities it supports, and | ||
837 | the client then sends the capabilities that it supports. | ||
838 | |||
839 | The following flags are currently defined (the values are bit masks): | ||
840 | .IP "1 SSH_PROTOFLAG_SCREEN_NUMBER" | ||
841 | This flag can only be sent by the client. It indicates that the X11 | ||
842 | forwarding requests it sends will include the screen number. | ||
843 | .IP "2 SSH_PROTOFLAG_HOST_IN_FWD_OPEN" | ||
844 | If both sides specify this flag, SSH_SMSG_X11_OPEN and | ||
845 | SSH_MSG_PORT_OPEN messages will contain an additional field containing | ||
846 | a description of the host at the other end of the connection. | ||
847 | .RT | ||
848 | |||
849 | .ti 0 | ||
850 | Detailed Description of Packet Types and Formats | ||
851 | |||
852 | The supported packet types and the corresponding message numbers are | ||
853 | given in the following table. Messages with _MSG_ in their name may | ||
854 | be sent by either side. Messages with _CMSG_ are only sent by the | ||
855 | client, and messages with _SMSG_ only by the server. | ||
856 | |||
857 | A packet may contain additional data after the arguments specified | ||
858 | below. Any such data should be ignored by the receiver. However, it | ||
859 | is recommended that no such data be stored without good reason. (This | ||
860 | helps build compatible extensions.) | ||
861 | .IP "0 SSH_MSG_NONE" | ||
862 | This code is reserved. This message type is never sent. | ||
863 | .IP "1 SSH_MSG_DISCONNECT" | ||
864 | .TS | ||
865 | ; | ||
866 | l l. | ||
867 | string Cause of disconnection | ||
868 | .TE | ||
869 | This message may be sent by either party at any time. It causes the | ||
870 | immediate disconnection of the connection. The message is intended to | ||
871 | be displayed to a human, and describes the reason for disconnection. | ||
872 | .IP "2 SSH_SMSG_PUBLIC_KEY" | ||
873 | .TS | ||
874 | ; | ||
875 | l l. | ||
876 | 8 bytes anti_spoofing_cookie | ||
877 | 32-bit int server_key_bits | ||
878 | mp-int server_key_public_exponent | ||
879 | mp-int server_key_public_modulus | ||
880 | 32-bit int host_key_bits | ||
881 | mp-int host_key_public_exponent | ||
882 | mp-int host_key_public_modulus | ||
883 | 32-bit int protocol_flags | ||
884 | 32-bit int supported_ciphers_mask | ||
885 | 32-bit int supported_authentications_mask | ||
886 | .TE | ||
887 | Sent as the first message by the server. This message gives the | ||
888 | server's host key, server key, protocol flags (intended for compatible | ||
889 | protocol extension), supported_ciphers_mask (which is the | ||
890 | bitwise or of (1 << cipher_number), where << is the left shift | ||
891 | operator, for all supported ciphers), and | ||
892 | supported_authentications_mask (which is the bitwise or of (1 << | ||
893 | authentication_type) for all supported authentication types). The | ||
894 | anti_spoofing_cookie is 64 random bytes, and must be sent back | ||
895 | verbatim by the client in its reply. It is used to make IP-spoofing | ||
896 | more difficult (encryption and host keys are the real defense against | ||
897 | spoofing). | ||
898 | .IP "3 SSH_CMSG_SESSION_KEY" | ||
899 | .TS | ||
900 | ; | ||
901 | l l. | ||
902 | 1 byte cipher_type (must be one of the supported values) | ||
903 | 8 bytes anti_spoofing_cookie (must match data sent by the server) | ||
904 | mp-int double-encrypted session key | ||
905 | 32-bit int protocol_flags | ||
906 | .TE | ||
907 | Sent by the client as the first message in the session. Selects the | ||
908 | cipher to use, and sends the encrypted session key to the server. The | ||
909 | anti_spoofing_cookie must be the same bytes that were sent by the | ||
910 | server. Protocol_flags is intended for negotiating compatible | ||
911 | protocol extensions. | ||
912 | .IP "4 SSH_CMSG_USER" | ||
913 | .TS | ||
914 | ; | ||
915 | l l. | ||
916 | string user login name on server | ||
917 | .TE | ||
918 | Sent by the client to begin authentication. Specifies the user name | ||
919 | on the server to log in as. The server responds with SSH_SMSG_SUCCESS | ||
920 | if no authentication is needed for this user, or SSH_SMSG_FAILURE if | ||
921 | authentication is needed (or the user does not exist). [Note to the | ||
922 | implementator: the user name is of arbitrary size. The implementation | ||
923 | must be careful not to overflow internal buffers.] | ||
924 | .IP "5 SSH_CMSG_AUTH_RHOSTS" | ||
925 | .TS | ||
926 | ; | ||
927 | l l. | ||
928 | string client-side user name | ||
929 | .TE | ||
930 | Requests authentication using /etc/hosts.equiv and .rhosts (or | ||
931 | equivalent mechanisms). This authentication method is normally | ||
932 | disabled in the server because it is not secure (but this is the | ||
933 | method used by rsh and rlogin). The server responds with | ||
934 | SSH_SMSG_SUCCESS if authentication was successful, and | ||
935 | SSH_SMSG_FAILURE if access was not granted. The server should check | ||
936 | that the client side port number is less than 1024 (a privileged | ||
937 | port), and immediately reject authentication if it is not. Supporting | ||
938 | this authentication method is optional. This method should normally | ||
939 | not be enabled in the server because it is not safe. (However, not | ||
940 | enabling this only helps if rlogind and rshd are disabled.) | ||
941 | .IP "6 SSH_CMSG_AUTH_RSA" | ||
942 | .TS | ||
943 | ; | ||
944 | l l. | ||
945 | mp-int identity_public_modulus | ||
946 | .TE | ||
947 | Requests authentication using pure RSA authentication. The server | ||
948 | checks if the given key is permitted to log in, and if so, responds | ||
949 | with SSH_SMSG_AUTH_RSA_CHALLENGE. Otherwise, it responds with | ||
950 | SSH_SMSG_FAILURE. The client often tries several different keys in | ||
951 | sequence until one supported by the server is found. Authentication | ||
952 | is accepted if the client gives the correct response to the challenge. | ||
953 | The server is free to add other criteria for authentication, such as a | ||
954 | requirement that the connection must come from a certain host. Such | ||
955 | additions are not visible at the protocol level. Supporting this | ||
956 | authentication method is optional but recommended. | ||
957 | .IP "7 SSH_SMSG_AUTH_RSA_CHALLENGE" | ||
958 | .TS | ||
959 | ; | ||
960 | l l. | ||
961 | mp-int encrypted challenge | ||
962 | .TE | ||
963 | Presents an RSA authentication challenge to the client. The challenge | ||
964 | is a 256-bit random value encrypted as described elsewhere in this | ||
965 | document. The client must decrypt the challenge using the RSA private | ||
966 | key, compute MD5 of the challenge plus session id, and send back the | ||
967 | resulting 16 bytes using SSH_CMSG_AUTH_RSA_RESPONSE. | ||
968 | .IP "8 SSH_CMSG_AUTH_RSA_RESPONSE" | ||
969 | .TS | ||
970 | ; | ||
971 | l l. | ||
972 | 16 bytes MD5 of decrypted challenge | ||
973 | .TE | ||
974 | This message is sent by the client in response to an RSA challenge. | ||
975 | The MD5 checksum is returned instead of the decrypted challenge to | ||
976 | deter known-plaintext attacks against the RSA key. The server | ||
977 | responds to this message with either SSH_SMSG_SUCCESS or | ||
978 | SSH_SMSG_FAILURE. | ||
979 | .IP "9 SSH_CMSG_AUTH_PASSWORD" | ||
980 | .TS | ||
981 | ; | ||
982 | l l. | ||
983 | string plain text password | ||
984 | .TE | ||
985 | Requests password authentication using the given password. Note that | ||
986 | even though the password is plain text inside the packet, the whole | ||
987 | packet is normally encrypted by the packet layer. It would not be | ||
988 | possible for the client to perform password encryption/hashing, | ||
989 | because it cannot know which kind of encryption/hashing, if any, the | ||
990 | server uses. The server responds to this message with | ||
991 | SSH_SMSG_SUCCESS or SSH_SMSG_FAILURE. | ||
992 | .IP "10 SSH_CMSG_REQUEST_PTY" | ||
993 | .TS | ||
994 | ; | ||
995 | l l. | ||
996 | string TERM environment variable value (e.g. vt100) | ||
997 | 32-bit int terminal height, rows (e.g., 24) | ||
998 | 32-bit int terminal width, columns (e.g., 80) | ||
999 | 32-bit int terminal width, pixels (0 if no graphics) (e.g., 480) | ||
1000 | 32-bit int terminal height, pixels (0 if no graphics) (e.g., 640) | ||
1001 | n bytes tty modes encoded in binary | ||
1002 | .TE | ||
1003 | Requests a pseudo-terminal to be allocated for this command. This | ||
1004 | message can be used regardless of whether the session will later | ||
1005 | execute the shell or a command. If a pty has been requested with this | ||
1006 | message, the shell or command will run on a pty. Otherwise it will | ||
1007 | communicate with the server using pipes, sockets or some other similar | ||
1008 | mechanism. | ||
1009 | |||
1010 | The terminal type gives the type of the user's terminal. In the UNIX | ||
1011 | environment it is passed to the shell or command in the TERM | ||
1012 | environment variable. | ||
1013 | |||
1014 | The width and height values give the initial size of the user's | ||
1015 | terminal or window. All values can be zero if not supported by the | ||
1016 | operating system. The server will pass these values to the kernel if | ||
1017 | supported. | ||
1018 | |||
1019 | Terminal modes are encoded into a byte stream in a portable format. | ||
1020 | The exact format is described later in this document. | ||
1021 | |||
1022 | The server responds to the request with either SSH_SMSG_SUCCESS or | ||
1023 | SSH_SMSG_FAILURE. If the server does not have the concept of pseudo | ||
1024 | terminals, it should return success if it is possible to execute a | ||
1025 | shell or a command so that it looks to the client as if it was running | ||
1026 | on a pseudo terminal. | ||
1027 | .IP "11 SSH_CMSG_WINDOW_SIZE" | ||
1028 | .TS | ||
1029 | ; | ||
1030 | l l. | ||
1031 | 32-bit int terminal height, rows | ||
1032 | 32-bit int terminal width, columns | ||
1033 | 32-bit int terminal width, pixels | ||
1034 | 32-bit int terminal height, pixels | ||
1035 | .TE | ||
1036 | This message can only be sent by the client during the interactive | ||
1037 | session. This indicates that the size of the user's window has | ||
1038 | changed, and provides the new size. The server will update the | ||
1039 | kernel's notion of the window size, and a SIGWINCH signal or | ||
1040 | equivalent will be sent to the shell or command (if supported by the | ||
1041 | operating system). | ||
1042 | .IP "12 SSH_CMSG_EXEC_SHELL" | ||
1043 | |||
1044 | (no arguments) | ||
1045 | |||
1046 | Starts a shell (command interpreter), and enters interactive session | ||
1047 | mode. | ||
1048 | .IP "13 SSH_CMSG_EXEC_CMD" | ||
1049 | .TS | ||
1050 | ; | ||
1051 | l l. | ||
1052 | string command to execute | ||
1053 | .TE | ||
1054 | Starts executing the given command, and enters interactive session | ||
1055 | mode. On UNIX, the command is run as "<shell> -c <command>", where | ||
1056 | <shell> is the user's login shell. | ||
1057 | .IP "14 SSH_SMSG_SUCCESS" | ||
1058 | |||
1059 | (no arguments) | ||
1060 | |||
1061 | This message is sent by the server in response to the session key, a | ||
1062 | successful authentication request, and a successfully completed | ||
1063 | preparatory operation. | ||
1064 | .IP "15 SSH_SMSG_FAILURE" | ||
1065 | |||
1066 | (no arguments) | ||
1067 | |||
1068 | This message is sent by the server in response to a failed | ||
1069 | authentication operation to indicate that the user has not yet been | ||
1070 | successfully authenticated, and in response to a failed preparatory | ||
1071 | operation. This is also sent in response to an authentication or | ||
1072 | preparatory operation request that is not recognized or supported. | ||
1073 | .IP "16 SSH_CMSG_STDIN_DATA" | ||
1074 | .TS | ||
1075 | ; | ||
1076 | l l. | ||
1077 | string data | ||
1078 | .TE | ||
1079 | Delivers data from the client to be supplied as input to the shell or | ||
1080 | program running on the server side. This message can only be used in | ||
1081 | the interactive session mode. No acknowledgement is sent for this | ||
1082 | message. | ||
1083 | .IP "17 SSH_SMSG_STDOUT_DATA" | ||
1084 | .TS | ||
1085 | ; | ||
1086 | l l. | ||
1087 | string data | ||
1088 | .TE | ||
1089 | Delivers data from the server that was read from the standard output of | ||
1090 | the shell or program running on the server side. This message can | ||
1091 | only be used in the interactive session mode. No acknowledgement is | ||
1092 | sent for this message. | ||
1093 | .IP "18 SSH_SMSG_STDERR_DATA" | ||
1094 | .TS | ||
1095 | ; | ||
1096 | l l. | ||
1097 | string data | ||
1098 | .TE | ||
1099 | Delivers data from the server that was read from the standard error of | ||
1100 | the shell or program running on the server side. This message can | ||
1101 | only be used in the interactive session mode. No acknowledgement is | ||
1102 | sent for this message. | ||
1103 | .IP "19 SSH_CMSG_EOF" | ||
1104 | |||
1105 | (no arguments) | ||
1106 | |||
1107 | This message is sent by the client to indicate that EOF has been | ||
1108 | reached on the input. Upon receiving this message, and after all | ||
1109 | buffered input data has been sent to the shell or program, the server | ||
1110 | will close the input file descriptor to the program. This message can | ||
1111 | only be used in the interactive session mode. No acknowledgement is | ||
1112 | sent for this message. | ||
1113 | .IP "20 SSH_SMSG_EXITSTATUS" | ||
1114 | .TS | ||
1115 | ; | ||
1116 | l l. | ||
1117 | 32-bit int exit status of the command | ||
1118 | .TE | ||
1119 | Returns the exit status of the shell or program after it has exited. | ||
1120 | The client should respond with SSH_CMSG_EXIT_CONFIRMATION when it has | ||
1121 | received this message. This will be the last message sent by the | ||
1122 | server. If the program being executed dies with a signal instead of | ||
1123 | exiting normally, the server should terminate the session with | ||
1124 | SSH_MSG_DISCONNECT (which can be used to pass a human-readable string | ||
1125 | indicating that the program died due to a signal) instead of using | ||
1126 | this message. | ||
1127 | .IP "21 SSH_MSG_CHANNEL_OPEN_CONFIRMATION" | ||
1128 | .TS | ||
1129 | ; | ||
1130 | l l. | ||
1131 | 32-bit int remote_channel | ||
1132 | 32-bit int local_channel | ||
1133 | .TE | ||
1134 | This is sent in response to any channel open request if the channel | ||
1135 | has been successfully opened. Remote_channel is the channel number | ||
1136 | received in the initial open request; local_channel is the channel | ||
1137 | number the side sending this message has allocated for the channel. | ||
1138 | Data can be transmitted on the channel after this message. | ||
1139 | .IP "22 SSH_MSG_CHANNEL_OPEN_FAILURE" | ||
1140 | .TS | ||
1141 | ; | ||
1142 | l l. | ||
1143 | 32-bit int remote_channel | ||
1144 | .TE | ||
1145 | This message indicates that an earlier channel open request by the | ||
1146 | other side has failed or has been denied. Remote_channel is the | ||
1147 | channel number given in the original request. | ||
1148 | .IP "23 SSH_MSG_CHANNEL_DATA" | ||
1149 | .TS | ||
1150 | ; | ||
1151 | l l. | ||
1152 | 32-bit int remote_channel | ||
1153 | string data | ||
1154 | .TE | ||
1155 | Data is transmitted in a channel in these messages. A channel is | ||
1156 | bidirectional, and both sides can send these messages. There is no | ||
1157 | acknowledgement for these messages. It is possible that either side | ||
1158 | receives these messages after it has sent SSH_MSG_CHANNEL_CLOSE for | ||
1159 | the channel. These messages cannot be received after the party has | ||
1160 | sent or received SSH_MSG_CHANNEL_CLOSE_CONFIRMATION. | ||
1161 | .IP "24 SSH_MSG_CHANNEL_CLOSE" | ||
1162 | .TS | ||
1163 | ; | ||
1164 | l l. | ||
1165 | 32-bit int remote_channel | ||
1166 | .TE | ||
1167 | When a channel is closed at one end of the connection, that side sends | ||
1168 | this message. Upon receiving this message, the channel should be | ||
1169 | closed. When this message is received, if the channel is already | ||
1170 | closed (the receiving side has sent this message for the same channel | ||
1171 | earlier), the channel is freed and no further action is taken; | ||
1172 | otherwise the channel is freed and SSH_MSG_CHANNEL_CLOSE_CONFIRMATION | ||
1173 | is sent in response. (It is possible that the channel is closed | ||
1174 | simultaneously at both ends.) | ||
1175 | .IP "25 SSH_MSG_CHANNEL_CLOSE_CONFIRMATION" | ||
1176 | .TS | ||
1177 | ; | ||
1178 | l l. | ||
1179 | 32-bit int remote_channel | ||
1180 | .TE | ||
1181 | This message is sent in response to SSH_MSG_CHANNEL_CLOSE unless the | ||
1182 | channel was already closed. When this message is sent or received, | ||
1183 | the channel is freed. | ||
1184 | .IP "26 (OBSOLETED; was unix-domain X11 forwarding) | ||
1185 | .IP "27 SSH_SMSG_X11_OPEN" | ||
1186 | .TS | ||
1187 | ; | ||
1188 | l l. | ||
1189 | 32-bit int local_channel | ||
1190 | string originator_string (see below) | ||
1191 | .TE | ||
1192 | This message can be sent by the server during the interactive session | ||
1193 | mode to indicate that a client has connected the fake X server. | ||
1194 | Local_channel is the channel number that the server has allocated for | ||
1195 | the connection. The client should try to open a connection to the | ||
1196 | real X server, and respond with SSH_MSG_CHANNEL_OPEN_CONFIRMATION or | ||
1197 | SSH_MSG_CHANNEL_OPEN_FAILURE. | ||
1198 | |||
1199 | The field originator_string is present if both sides | ||
1200 | specified SSH_PROTOFLAG_HOST_IN_FWD_OPEN in the protocol flags. It | ||
1201 | contains a description of the host originating the connection. | ||
1202 | .IP "28 SSH_CMSG_PORT_FORWARD_REQUEST" | ||
1203 | .TS | ||
1204 | ; | ||
1205 | l l. | ||
1206 | 32-bit int server_port | ||
1207 | string host_to_connect | ||
1208 | 32-bit int port_to_connect | ||
1209 | .TE | ||
1210 | Sent by the client in the preparatory phase, this message requests | ||
1211 | that server_port on the server machine be forwarded over the secure | ||
1212 | channel to the client machine, and from there to the specified host | ||
1213 | and port. The server should start listening on the port, and send | ||
1214 | SSH_MSG_PORT_OPEN whenever a connection is made to it. Supporting | ||
1215 | this message is optional, and the server is free to reject any forward | ||
1216 | request. For example, it is highly recommended that unless the user | ||
1217 | has been authenticated as root, forwarding any privileged port numbers | ||
1218 | (below 1024) is denied. | ||
1219 | .IP "29 SSH_MSG_PORT_OPEN" | ||
1220 | .TS | ||
1221 | ; | ||
1222 | l l. | ||
1223 | 32-bit int local_channel | ||
1224 | string host_name | ||
1225 | 32-bit int port | ||
1226 | string originator_string (see below) | ||
1227 | .TE | ||
1228 | Sent by either party in interactive session mode, this message | ||
1229 | indicates that a connection has been opened to a forwarded TCP/IP | ||
1230 | port. Local_channel is the channel number that the sending party has | ||
1231 | allocated for the connection. Host_name is the host the connection | ||
1232 | should be be forwarded to, and the port is the port on that host to | ||
1233 | connect. The receiving party should open the connection, and respond | ||
1234 | with SSH_MSG_CHANNEL_OPEN_CONFIRMATION or | ||
1235 | SSH_MSG_CHANNEL_OPEN_FAILURE. It is recommended that the receiving | ||
1236 | side check the host_name and port for validity to avoid compromising | ||
1237 | local security by compromised remote side software. Particularly, it | ||
1238 | is recommended that the client permit connections only to those ports | ||
1239 | for which it has requested forwarding with SSH_CMSG_PORT_FORWARD_REQUEST. | ||
1240 | |||
1241 | The field originator_string is present if both sides | ||
1242 | specified SSH_PROTOFLAG_HOST_IN_FWD_OPEN in the protocol flags. It | ||
1243 | contains a description of the host originating the connection. | ||
1244 | .IP "30 SSH_CMSG_AGENT_REQUEST_FORWARDING" | ||
1245 | |||
1246 | (no arguments) | ||
1247 | |||
1248 | Requests that the connection to the authentication agent be forwarded | ||
1249 | over the secure channel. The method used by clients to contact the | ||
1250 | authentication agent within each machine is implementation and machine | ||
1251 | dependent. If the server accepts this request, it should arrange that | ||
1252 | any clients run from this session will actually contact the server | ||
1253 | program when they try to contact the authentication agent. The server | ||
1254 | should then send a SSH_SMSG_AGENT_OPEN to open a channel to the agent, | ||
1255 | and the client should forward the connection to the real | ||
1256 | authentication agent. Supporting this message is optional. | ||
1257 | .IP "31 SSH_SMSG_AGENT_OPEN" | ||
1258 | .TS | ||
1259 | ; | ||
1260 | l l. | ||
1261 | 32-bit int local_channel | ||
1262 | .TE | ||
1263 | Sent by the server in interactive session mode, this message requests | ||
1264 | opening a channel to the authentication agent. The client should open | ||
1265 | a channel, and respond with either SSH_MSG_CHANNEL_OPEN_CONFIRMATION | ||
1266 | or SSH_MSG_CHANNEL_OPEN_FAILURE. | ||
1267 | .IP "32 SSH_MSG_IGNORE" | ||
1268 | .TS | ||
1269 | ; | ||
1270 | l l. | ||
1271 | string data | ||
1272 | .TE | ||
1273 | Either party may send this message at any time. This message, and the | ||
1274 | argument string, is silently ignored. This message might be used in | ||
1275 | some implementations to make traffic analysis more difficult. This | ||
1276 | message is not currently sent by the implementation, but all | ||
1277 | implementations are required to recognize and ignore it. | ||
1278 | .IP "33 SSH_CMSG_EXIT_CONFIRMATION" | ||
1279 | |||
1280 | (no arguments) | ||
1281 | |||
1282 | Sent by the client in response to SSH_SMSG_EXITSTATUS. This is the | ||
1283 | last message sent by the client. | ||
1284 | .IP "34 SSH_CMSG_X11_REQUEST_FORWARDING" | ||
1285 | .TS | ||
1286 | ; | ||
1287 | l l. | ||
1288 | string x11_authentication_protocol | ||
1289 | string x11_authentication_data | ||
1290 | 32-bit int screen number (if SSH_PROTOFLAG_SCREEN_NUMBER) | ||
1291 | .TE | ||
1292 | Sent by the client during the preparatory phase, this message requests | ||
1293 | that the server create a fake X11 display and set the DISPLAY | ||
1294 | environment variable accordingly. An internet-domain display is | ||
1295 | preferable. The given authentication protocol and the associated data | ||
1296 | should be recorded by the server so that it is used as authentication | ||
1297 | on connections (e.g., in .Xauthority). The authentication protocol | ||
1298 | must be one of the supported X11 authentication protocols, e.g., | ||
1299 | "MIT-MAGIC-COOKIE-1". Authentication data must be a lowercase hex | ||
1300 | string of even length. Its interpretation is protocol dependent. | ||
1301 | The data is in a format that can be used with e.g. the xauth program. | ||
1302 | Supporting this message is optional. | ||
1303 | |||
1304 | The client is permitted (and recommended) to generate fake | ||
1305 | authentication information and send fake information to the server. | ||
1306 | This way, a corrupt server will not have access to the user's terminal | ||
1307 | after the connection has terminated. The correct authorization codes | ||
1308 | will also not be left hanging around in files on the server (many | ||
1309 | users keep the same X session for months, thus protecting the | ||
1310 | authorization data becomes important). | ||
1311 | |||
1312 | X11 authentication spoofing works by initially sending fake (random) | ||
1313 | authentication data to the server, and interpreting the first packet | ||
1314 | sent by the X11 client after the connection has been opened. The | ||
1315 | first packet contains the client's authentication. If the packet | ||
1316 | contains the correct fake data, it is replaced by the client by the | ||
1317 | correct authentication data, and then sent to the X server. | ||
1318 | .IP "35 SSH_CMSG_AUTH_RHOSTS_RSA" | ||
1319 | .TS | ||
1320 | ; | ||
1321 | l l. | ||
1322 | string clint-side user name | ||
1323 | 32-bit int client_host_key_bits | ||
1324 | mp-int client_host_key_public_exponent | ||
1325 | mp-int client_host_key_public_modulus | ||
1326 | .TE | ||
1327 | Requests authentication using /etc/hosts.equiv and .rhosts (or | ||
1328 | equivalent) together with RSA host authentication. The server should | ||
1329 | check that the client side port number is less than 1024 (a privileged | ||
1330 | port), and immediately reject authentication if it is not. The server | ||
1331 | responds with SSH_SMSG_FAILURE or SSH_SMSG_AUTH_RSA_CHALLENGE. The | ||
1332 | client must respond to the challenge with the proper | ||
1333 | SSH_CMSG_AUTH_RSA_RESPONSE. The server then responds with success if | ||
1334 | access was granted, or failure if the client gave a wrong response. | ||
1335 | Supporting this authentication method is optional but recommended in | ||
1336 | most environments. | ||
1337 | .IP "36 SSH_MSG_DEBUG" | ||
1338 | .TS | ||
1339 | ; | ||
1340 | l l. | ||
1341 | string debugging message sent to the other side | ||
1342 | .TE | ||
1343 | This message may be sent by either party at any time. It is used to | ||
1344 | send debugging messages that may be informative to the user in | ||
1345 | solving various problems. For example, if authentication fails | ||
1346 | because of some configuration error (e.g., incorrect permissions for | ||
1347 | some file), it can be very helpful for the user to make the cause of | ||
1348 | failure available. On the other hand, one should not make too much | ||
1349 | information available for security reasons. It is recommended that | ||
1350 | the client provides an option to display the debugging information | ||
1351 | sent by the sender (the user probably does not want to see it by default). | ||
1352 | The server can log debugging data sent by the client (if any). Either | ||
1353 | party is free to ignore any received debugging data. Every | ||
1354 | implementation must be able to receive this message, but no | ||
1355 | implementation is required to send these. | ||
1356 | .IP "37 SSH_CMSG_REQUEST_COMPRESSION" | ||
1357 | .TS | ||
1358 | ; | ||
1359 | l l. | ||
1360 | 32-bit int gzip compression level (1-9) | ||
1361 | .TE | ||
1362 | This message can be sent by the client in the preparatory operations | ||
1363 | phase. The server responds with SSH_SMSG_FAILURE if it does not | ||
1364 | support compression or does not want to compress; it responds with | ||
1365 | SSH_SMSG_SUCCESS if it accepted the compression request. In the | ||
1366 | latter case the response to this packet will still be uncompressed, | ||
1367 | but all further packets in either direction will be compressed by gzip. | ||
1368 | .RT | ||
1369 | |||
1370 | |||
1371 | .ti 0 | ||
1372 | Encoding of Terminal Modes | ||
1373 | |||
1374 | Terminal modes (as passed in SSH_CMSG_REQUEST_PTY) are encoded into a | ||
1375 | byte stream. It is intended that the coding be portable across | ||
1376 | different environments. | ||
1377 | |||
1378 | The tty mode description is a stream of bytes. The stream consists of | ||
1379 | opcode-argument pairs. It is terminated by opcode TTY_OP_END (0). | ||
1380 | Opcodes 1-127 have one-byte arguments. Opcodes 128-159 have 32-bit | ||
1381 | integer arguments (stored msb first). Opcodes 160-255 are not yet | ||
1382 | defined, and cause parsing to stop (they should only be used after any | ||
1383 | other data). | ||
1384 | |||
1385 | The client puts in the stream any modes it knows about, and the server | ||
1386 | ignores any modes it does not know about. This allows some degree of | ||
1387 | machine-independence, at least between systems that use a POSIX-like | ||
1388 | [POSIX] tty interface. The protocol can support other systems as | ||
1389 | well, but the client may need to fill reasonable values for a number | ||
1390 | of parameters so the server pty gets set to a reasonable mode (the | ||
1391 | server leaves all unspecified mode bits in their default values, and | ||
1392 | only some combinations make sense). | ||
1393 | |||
1394 | The following opcodes have been defined. The naming of opcodes mostly | ||
1395 | follows the POSIX terminal mode flags. | ||
1396 | .IP "0 TTY_OP_END" | ||
1397 | Indicates end of options. | ||
1398 | .IP "1 VINTR" | ||
1399 | Interrupt character; 255 if none. Similarly for the other characters. | ||
1400 | Not all of these characters are supported on all systems. | ||
1401 | .IP "2 VQUIT" | ||
1402 | The quit character (sends SIGQUIT signal on UNIX systems). | ||
1403 | .IP "3 VERASE" | ||
1404 | Erase the character to left of the cursor. | ||
1405 | .IP "4 VKILL" | ||
1406 | Kill the current input line. | ||
1407 | .IP "5 VEOF " | ||
1408 | End-of-file character (sends EOF from the terminal). | ||
1409 | .IP "6 VEOL " | ||
1410 | End-of-line character in addition to carriage return and/or linefeed. | ||
1411 | .IP "7 VEOL2" | ||
1412 | Additional end-of-line character. | ||
1413 | .IP "8 VSTART" | ||
1414 | Continues paused output (normally ^Q). | ||
1415 | .IP "9 VSTOP" | ||
1416 | Pauses output (^S). | ||
1417 | .IP "10 VSUSP" | ||
1418 | Suspends the current program. | ||
1419 | .IP "11 VDSUSP" | ||
1420 | Another suspend character. | ||
1421 | .IP "12 VREPRINT" | ||
1422 | Reprints the current input line. | ||
1423 | .IP "13 VWERASE" | ||
1424 | Erases a word left of cursor. | ||
1425 | .IP "14 VLNEXT" | ||
1426 | More special input characters; these are probably not supported on | ||
1427 | most systems. | ||
1428 | .IP "15 VFLUSH" | ||
1429 | .IP "16 VSWTCH" | ||
1430 | .IP "17 VSTATUS" | ||
1431 | .IP "18 VDISCARD" | ||
1432 | |||
1433 | .IP "30 IGNPAR" | ||
1434 | The ignore parity flag. The next byte should be 0 if this flag is not | ||
1435 | set, and 1 if it is set. | ||
1436 | .IP "31 PARMRK" | ||
1437 | More flags. The exact definitions can be found in the POSIX standard. | ||
1438 | .IP "32 INPCK" | ||
1439 | .IP "33 ISTRIP" | ||
1440 | .IP "34 INLCR" | ||
1441 | .IP "35 IGNCR" | ||
1442 | .IP "36 ICRNL" | ||
1443 | .IP "37 IUCLC" | ||
1444 | .IP "38 IXON" | ||
1445 | .IP "39 IXANY" | ||
1446 | .IP "40 IXOFF" | ||
1447 | .IP "41 IMAXBEL" | ||
1448 | |||
1449 | .IP "50 ISIG" | ||
1450 | .IP "51 ICANON" | ||
1451 | .IP "52 XCASE" | ||
1452 | .IP "53 ECHO" | ||
1453 | .IP "54 ECHOE" | ||
1454 | .IP "55 ECHOK" | ||
1455 | .IP "56 ECHONL" | ||
1456 | .IP "57 NOFLSH" | ||
1457 | .IP "58 TOSTOP" | ||
1458 | .IP "59 IEXTEN" | ||
1459 | .IP "60 ECHOCTL" | ||
1460 | .IP "61 ECHOKE" | ||
1461 | .IP "62 PENDIN" | ||
1462 | |||
1463 | .IP "70 OPOST" | ||
1464 | .IP "71 OLCUC" | ||
1465 | .IP "72 ONLCR" | ||
1466 | .IP "73 OCRNL" | ||
1467 | .IP "74 ONOCR" | ||
1468 | .IP "75 ONLRET" | ||
1469 | |||
1470 | .IP "90 CS7" | ||
1471 | .IP "91 CS8" | ||
1472 | .IP "92 PARENB" | ||
1473 | .IP "93 PARODD" | ||
1474 | |||
1475 | .IP "192 TTY_OP_ISPEED" | ||
1476 | Specifies the input baud rate in bits per second. | ||
1477 | .IP "193 TTY_OP_OSPEED" | ||
1478 | Specifies the output baud rate in bits per second. | ||
1479 | .RT | ||
1480 | |||
1481 | |||
1482 | .ti 0 | ||
1483 | The Authentication Agent Protocol | ||
1484 | |||
1485 | The authentication agent is a program that can be used to hold RSA | ||
1486 | authentication keys for the user (in future, it might hold data for | ||
1487 | other authentication types as well). An authorized program can send | ||
1488 | requests to the agent to generate a proper response to an RSA | ||
1489 | challenge. How the connection is made to the agent (or its | ||
1490 | representative) inside a host and how access control is done inside a | ||
1491 | host is implementation-dependent; however, how it is forwarded and how | ||
1492 | one interacts with it is specified in this protocol. The connection | ||
1493 | to the agent is normally automatically forwarded over the secure | ||
1494 | channel. | ||
1495 | |||
1496 | A program that wishes to use the agent first opens a connection to its | ||
1497 | local representative (typically, the agent itself or an SSH server). | ||
1498 | It then writes a request to the connection, and waits for response. | ||
1499 | It is recommended that at least five minutes of timeout are provided | ||
1500 | waiting for the agent to respond to an authentication challenge (this | ||
1501 | gives sufficient time for the user to cut-and-paste the challenge to a | ||
1502 | separate machine, perform the computation there, and cut-and-paste the | ||
1503 | result back if so desired). | ||
1504 | |||
1505 | Messages sent to and by the agent are in the following format: | ||
1506 | .TS | ||
1507 | ; | ||
1508 | l l. | ||
1509 | 4 bytes Length, msb first. Does not include length itself. | ||
1510 | 1 byte Packet type. The value 255 is reserved for future extensions. | ||
1511 | data Any data, depending on packet type. Encoding as in the ssh packet | ||
1512 | protocol. | ||
1513 | .TE | ||
1514 | |||
1515 | The following message types are currently defined: | ||
1516 | .IP "1 SSH_AGENTC_REQUEST_RSA_IDENTITIES" | ||
1517 | |||
1518 | (no arguments) | ||
1519 | |||
1520 | Requests the agent to send a list of all RSA keys for which it can | ||
1521 | answer a challenge. | ||
1522 | .IP "2 SSH_AGENT_RSA_IDENTITIES_ANSWER" | ||
1523 | .TS | ||
1524 | ; | ||
1525 | l l. | ||
1526 | 32-bit int howmany | ||
1527 | howmany times: | ||
1528 | 32-bit int bits | ||
1529 | mp-int public exponent | ||
1530 | mp-int public modulus | ||
1531 | string comment | ||
1532 | .TE | ||
1533 | The agent sends this message in response to the to | ||
1534 | SSH_AGENTC_REQUEST_RSA_IDENTITIES. The answer lists all RSA keys for | ||
1535 | which the agent can answer a challenge. The comment field is intended | ||
1536 | to help identify each key; it may be printed by an application to | ||
1537 | indicate which key is being used. If the agent is not holding any | ||
1538 | keys, howmany will be zero. | ||
1539 | .IP "3 SSH_AGENTC_RSA_CHALLENGE | ||
1540 | .TS | ||
1541 | ; | ||
1542 | l l. | ||
1543 | 32-bit int bits | ||
1544 | mp-int public exponent | ||
1545 | mp-int public modulus | ||
1546 | mp-int challenge | ||
1547 | 16 bytes session_id | ||
1548 | 32-bit int response_type | ||
1549 | .TE | ||
1550 | Requests RSA decryption of random challenge to authenticate the other | ||
1551 | side. The challenge will be decrypted with the RSA private key | ||
1552 | corresponding to the given public key. | ||
1553 | |||
1554 | The decrypted challenge must contain a zero in the highest (partial) | ||
1555 | byte, 2 in the next byte, followed by non-zero random bytes, a zero | ||
1556 | byte, and then the real challenge value in the lowermost bytes. The | ||
1557 | real challenge must be 32 8-bit bytes (256 bits). | ||
1558 | |||
1559 | Response_type indicates the format of the response to be returned. | ||
1560 | Currently the only supported value is 1, which means to compute MD5 of | ||
1561 | the real challenge plus session id, and return the resulting 16 bytes | ||
1562 | in a SSH_AGENT_RSA_RESPONSE message. | ||
1563 | .IP "4 SSH_AGENT_RSA_RESPONSE" | ||
1564 | .TS | ||
1565 | ; | ||
1566 | l l. | ||
1567 | 16 bytes MD5 of decrypted challenge | ||
1568 | .TE | ||
1569 | Answers an RSA authentication challenge. The response is 16 bytes: | ||
1570 | the MD5 checksum of the 32-byte challenge. | ||
1571 | .IP "5 SSH_AGENT_FAILURE" | ||
1572 | |||
1573 | (no arguments) | ||
1574 | |||
1575 | This message is sent whenever the agent fails to answer a request | ||
1576 | properly. For example, if the agent cannot answer a challenge (e.g., | ||
1577 | no longer has the proper key), it can respond with this. The agent | ||
1578 | also responds with this message if it receives a message it does not | ||
1579 | recognize. | ||
1580 | .IP "6 SSH_AGENT_SUCCESS" | ||
1581 | |||
1582 | (no arguments) | ||
1583 | |||
1584 | This message is sent by the agent as a response to certain requests | ||
1585 | that do not otherwise cause a message be sent. Currently, this is | ||
1586 | only sent in response to SSH_AGENTC_ADD_RSA_IDENTITY and | ||
1587 | SSH_AGENTC_REMOVE_RSA_IDENTITY. | ||
1588 | .IP "7 SSH_AGENTC_ADD_RSA_IDENTITY" | ||
1589 | .TS | ||
1590 | ; | ||
1591 | l l. | ||
1592 | 32-bit int bits | ||
1593 | mp-int public modulus | ||
1594 | mp-int public exponent | ||
1595 | mp-int private exponent | ||
1596 | mp-int multiplicative inverse of p mod q | ||
1597 | mp-int p | ||
1598 | mp-int q | ||
1599 | string comment | ||
1600 | .TE | ||
1601 | Registers an RSA key with the agent. After this request, the agent can | ||
1602 | use this RSA key to answer requests. The agent responds with | ||
1603 | SSH_AGENT_SUCCESS or SSH_AGENT_FAILURE. | ||
1604 | .IP "8 SSH_AGENT_REMOVE_RSA_IDENTITY" | ||
1605 | .TS | ||
1606 | ; | ||
1607 | l l. | ||
1608 | 32-bit int bits | ||
1609 | mp-int public exponent | ||
1610 | mp-int public modulus | ||
1611 | .TE | ||
1612 | Removes an RSA key from the agent. The agent will no longer accept | ||
1613 | challenges for this key and will not list it as a supported identity. | ||
1614 | The agent responds with SSH_AGENT_SUCCESS or SSH_AGENT_FAILURE. | ||
1615 | .RT | ||
1616 | |||
1617 | If the agent receives a message that it does not understand, it | ||
1618 | responds with SSH_AGENT_FAILURE. This permits compatible future | ||
1619 | extensions. | ||
1620 | |||
1621 | It is possible that several clients have a connection open to the | ||
1622 | authentication agent simultaneously. Each client will use a separate | ||
1623 | connection (thus, any SSH connection can have multiple agent | ||
1624 | connections active simultaneously). | ||
1625 | |||
1626 | |||
1627 | .ti 0 | ||
1628 | References | ||
1629 | |||
1630 | .IP "[DES] " | ||
1631 | FIPS PUB 46-1: Data Encryption Standard. National Bureau of | ||
1632 | Standards, January 1988. FIPS PUB 81: DES Modes of Operation. | ||
1633 | National Bureau of Standards, December 1980. Bruce Schneier: Applied | ||
1634 | Cryptography. John Wiley & Sons, 1994. J. Seberry and J. Pieprzyk: | ||
1635 | Cryptography: An Introduction to Computer Security. Prentice-Hall, | ||
1636 | 1989. | ||
1637 | .IP "[GZIP] " | ||
1638 | The GNU GZIP program; available for anonymous ftp at prep.ai.mit.edu. | ||
1639 | Please let me know if you know a paper describing the algorithm. | ||
1640 | .IP "[IDEA] " | ||
1641 | Xuejia Lai: On the Design and Security of Block Ciphers, ETH Series in | ||
1642 | Information Processing, vol. 1, Hartung-Gorre Verlag, Konstanz, | ||
1643 | Switzerland, 1992. Bruce Schneier: Applied Cryptography, John Wiley & | ||
1644 | Sons, 1994. See also the following patents: PCT/CH91/00117, EP 0 482 | ||
1645 | 154 B1, US Pat. 5,214,703. | ||
1646 | .IP [PKCS#1] | ||
1647 | PKCS #1: RSA Encryption Standard. Version 1.5, RSA Laboratories, | ||
1648 | November 1993. Available for anonymous ftp at ftp.rsa.com. | ||
1649 | .IP [POSIX] | ||
1650 | Portable Operating System Interface (POSIX) - Part 1: Application | ||
1651 | Program Interface (API) [C language], ISO/IEC 9945-1, IEEE Std 1003.1, | ||
1652 | 1990. | ||
1653 | .IP [RFC0791] | ||
1654 | J. Postel: Internet Protocol, RFC 791, USC/ISI, September 1981. | ||
1655 | .IP [RFC0793] | ||
1656 | J. Postel: Transmission Control Protocol, RFC 793, USC/ISI, September | ||
1657 | 1981. | ||
1658 | .IP [RFC1034] | ||
1659 | P. Mockapetris: Domain Names - Concepts and Facilities, RFC 1034, | ||
1660 | USC/ISI, November 1987. | ||
1661 | .IP [RFC1282] | ||
1662 | B. Kantor: BSD Rlogin, RFC 1258, UCSD, December 1991. | ||
1663 | .IP "[RSA] " | ||
1664 | Bruce Schneier: Applied Cryptography. John Wiley & Sons, 1994. See | ||
1665 | also R. Rivest, A. Shamir, and L. M. Adleman: Cryptographic | ||
1666 | Communications System and Method. US Patent 4,405,829, 1983. | ||
1667 | .IP "[X11] " | ||
1668 | R. Scheifler: X Window System Protocol, X Consortium Standard, Version | ||
1669 | 11, Release 6. Massachusetts Institute of Technology, Laboratory of | ||
1670 | Computer Science, 1994. | ||
1671 | .RT | ||
1672 | |||
1673 | |||
1674 | .ti 0 | ||
1675 | Security Considerations | ||
1676 | |||
1677 | This protocol deals with the very issue of user authentication and | ||
1678 | security. | ||
1679 | |||
1680 | First of all, as an implementation issue, the server program will have | ||
1681 | to run as root (or equivalent) on the server machine. This is because | ||
1682 | the server program will need be able to change to an arbitrary user | ||
1683 | id. The server must also be able to create a privileged TCP/IP port. | ||
1684 | |||
1685 | The client program will need to run as root if any variant of .rhosts | ||
1686 | authentication is to be used. This is because the client program will | ||
1687 | need to create a privileged port. The client host key is also usually | ||
1688 | stored in a file which is readable by root only. The client needs the | ||
1689 | host key in .rhosts authentication only. Root privileges can be | ||
1690 | dropped as soon as the privileged port has been created and the host | ||
1691 | key has been read. | ||
1692 | |||
1693 | The SSH protocol offers major security advantages over existing telnet | ||
1694 | and rlogin protocols. | ||
1695 | .IP o | ||
1696 | IP spoofing is restricted to closing a connection (by encryption, host | ||
1697 | keys, and the special random cookie). If encryption is not used, IP | ||
1698 | spoofing is possible for those who can hear packets going out from the | ||
1699 | server. | ||
1700 | .IP o | ||
1701 | DNS spoofing is made ineffective (by host keys). | ||
1702 | .IP o | ||
1703 | Routing spoofing is made ineffective (by host keys). | ||
1704 | .IP o | ||
1705 | All data is encrypted with strong algorithms to make eavesdropping as | ||
1706 | difficult as possible. This includes encrypting any authentication | ||
1707 | information such as passwords. The information for decrypting session | ||
1708 | keys is destroyed every hour. | ||
1709 | .IP o | ||
1710 | Strong authentication methods: .rhosts combined with RSA host | ||
1711 | authentication, and pure RSA authentication. | ||
1712 | .IP o | ||
1713 | X11 connections and arbitrary TCP/IP ports can be forwarded securely. | ||
1714 | .IP o | ||
1715 | Man-in-the-middle attacks are deterred by using the server host key to | ||
1716 | encrypt the session key. | ||
1717 | .IP o | ||
1718 | Trojan horses to catch a password by routing manipulation are deterred | ||
1719 | by checking that the host key of the server machine matches that | ||
1720 | stored on the client host. | ||
1721 | .RT | ||
1722 | |||
1723 | The security of SSH against man-in-the-middle attacks and the security | ||
1724 | of the new form of .rhosts authentication, as well as server host | ||
1725 | validation, depends on the integrity of the host key and the files | ||
1726 | containing known host keys. | ||
1727 | |||
1728 | The host key is normally stored in a root-readable file. If the host | ||
1729 | key is compromised, it permits attackers to use IP, DNS and routing | ||
1730 | spoofing as with current rlogin and rsh. It should never be any worse | ||
1731 | than the current situation. | ||
1732 | |||
1733 | The files containing known host keys are not sensitive. However, if an | ||
1734 | attacker gets to modify the known host key files, it has the same | ||
1735 | consequences as a compromised host key, because the attacker can then | ||
1736 | change the recorded host key. | ||
1737 | |||
1738 | The security improvements obtained by this protocol for X11 are of | ||
1739 | particular significance. Previously, there has been no way to protect | ||
1740 | data communicated between an X server and a client running on a remote | ||
1741 | machine. By creating a fake display on the server, and forwarding all | ||
1742 | X11 requests over the secure channel, SSH can be used to run any X11 | ||
1743 | applications securely without any cooperation with the vendors of the | ||
1744 | X server or the application. | ||
1745 | |||
1746 | Finally, the security of this program relies on the strength of the | ||
1747 | underlying cryptographic algorithms. The RSA algorithm is used for | ||
1748 | authentication key exchange. It is widely believed to be secure. Of | ||
1749 | the algorithms used to encrypt the session, DES has a rather small key | ||
1750 | these days, probably permitting governments and organized criminals to | ||
1751 | break it in very short time with specialized hardware. 3DES is | ||
1752 | probably safe (but slower). IDEA is widely believed to be secure. | ||
1753 | People have varying degrees of confidence in the other algorithms. | ||
1754 | This program is not secure if used with no encryption at all. | ||
1755 | |||
1756 | |||
1757 | .ti 0 | ||
1758 | Additional Information | ||
1759 | |||
1760 | Additional information (especially on the implementation and mailing | ||
1761 | lists) is available via WWW at http://www.cs.hut.fi/ssh. | ||
1762 | |||
1763 | Comments should be sent to Tatu Ylonen <ylo@cs.hut.fi> or the SSH | ||
1764 | Mailing List <ssh@clinet.fi>. | ||
1765 | |||
1766 | .ti 0 | ||
1767 | Author's Address | ||
1768 | |||
1769 | .TS | ||
1770 | ; | ||
1771 | l. | ||
1772 | Tatu Ylonen | ||
1773 | Helsinki University of Technology | ||
1774 | Otakaari 1 | ||
1775 | FIN-02150 Espoo, Finland | ||
1776 | |||
1777 | Phone: +358-0-451-3374 | ||
1778 | Fax: +358-0-451-3293 | ||
1779 | EMail: ylo@cs.hut.fi | ||
1780 | .TE | ||
diff --git a/acconfig.h b/acconfig.h index 62252d760..f14353519 100644 --- a/acconfig.h +++ b/acconfig.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: acconfig.h,v 1.173 2004/02/06 05:24:31 dtucker Exp $ */ | 1 | /* $Id: acconfig.h,v 1.177 2004/04/15 23:22:40 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -131,6 +131,9 @@ | |||
131 | /* Define if your AIX loginfailed() function takes 4 arguments (AIX >= 5.2) */ | 131 | /* Define if your AIX loginfailed() function takes 4 arguments (AIX >= 5.2) */ |
132 | #undef AIX_LOGINFAILED_4ARG | 132 | #undef AIX_LOGINFAILED_4ARG |
133 | 133 | ||
134 | /* Define if your skeychallenge() function takes 4 arguments (eg NetBSD) */ | ||
135 | #undef SKEYCHALLENGE_4ARG | ||
136 | |||
134 | /* Define if you have/want arrays (cluster-wide session managment, not C arrays) */ | 137 | /* Define if you have/want arrays (cluster-wide session managment, not C arrays) */ |
135 | #undef WITH_IRIX_ARRAY | 138 | #undef WITH_IRIX_ARRAY |
136 | 139 | ||
@@ -202,6 +205,9 @@ | |||
202 | /* Define if you don't want to use lastlog in session.c */ | 205 | /* Define if you don't want to use lastlog in session.c */ |
203 | #undef NO_SSH_LASTLOG | 206 | #undef NO_SSH_LASTLOG |
204 | 207 | ||
208 | /* Define if have krb5_init_ets */ | ||
209 | #undef KRB5_INIT_ETS | ||
210 | |||
205 | /* Define if you don't want to use utmp */ | 211 | /* Define if you don't want to use utmp */ |
206 | #undef DISABLE_UTMP | 212 | #undef DISABLE_UTMP |
207 | 213 | ||
@@ -347,6 +353,9 @@ | |||
347 | /* getaddrinfo is broken (if present) */ | 353 | /* getaddrinfo is broken (if present) */ |
348 | #undef BROKEN_GETADDRINFO | 354 | #undef BROKEN_GETADDRINFO |
349 | 355 | ||
356 | /* updwtmpx is broken (if present) */ | ||
357 | #undef BROKEN_UPDWTMPX | ||
358 | |||
350 | /* Workaround more Linux IPv6 quirks */ | 359 | /* Workaround more Linux IPv6 quirks */ |
351 | #undef DONT_TRY_OTHER_AF | 360 | #undef DONT_TRY_OTHER_AF |
352 | 361 | ||
diff --git a/auth-krb5.c b/auth-krb5.c index 859492478..a728ebac1 100644 --- a/auth-krb5.c +++ b/auth-krb5.c | |||
@@ -54,7 +54,9 @@ krb5_init(void *context) | |||
54 | problem = krb5_init_context(&authctxt->krb5_ctx); | 54 | problem = krb5_init_context(&authctxt->krb5_ctx); |
55 | if (problem) | 55 | if (problem) |
56 | return (problem); | 56 | return (problem); |
57 | #ifdef KRB5_INIT_ETS | ||
57 | krb5_init_ets(authctxt->krb5_ctx); | 58 | krb5_init_ets(authctxt->krb5_ctx); |
59 | #endif | ||
58 | } | 60 | } |
59 | return (0); | 61 | return (0); |
60 | } | 62 | } |
@@ -70,6 +72,7 @@ auth_krb5_password(Authctxt *authctxt, const char *password) | |||
70 | #endif | 72 | #endif |
71 | krb5_error_code problem; | 73 | krb5_error_code problem; |
72 | krb5_ccache ccache = NULL; | 74 | krb5_ccache ccache = NULL; |
75 | int len; | ||
73 | 76 | ||
74 | if (!authctxt->valid) | 77 | if (!authctxt->valid) |
75 | return (0); | 78 | return (0); |
@@ -175,6 +178,11 @@ auth_krb5_password(Authctxt *authctxt, const char *password) | |||
175 | 178 | ||
176 | authctxt->krb5_ticket_file = (char *)krb5_cc_get_name(authctxt->krb5_ctx, authctxt->krb5_fwd_ccache); | 179 | authctxt->krb5_ticket_file = (char *)krb5_cc_get_name(authctxt->krb5_ctx, authctxt->krb5_fwd_ccache); |
177 | 180 | ||
181 | len = strlen(authctxt->krb5_ticket_file) + 6; | ||
182 | authctxt->krb5_ccname = xmalloc(len); | ||
183 | snprintf(authctxt->krb5_ccname, len, "FILE:%s", | ||
184 | authctxt->krb5_ticket_file); | ||
185 | |||
178 | out: | 186 | out: |
179 | restore_uid(); | 187 | restore_uid(); |
180 | 188 | ||
diff --git a/auth-pam.c b/auth-pam.c index d3186372e..36dbb7e15 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" |
34 | RCSID("$Id: auth-pam.c,v 1.95 2004/02/17 12:20:08 dtucker Exp $"); | 34 | RCSID("$Id: auth-pam.c,v 1.100 2004/04/18 01:00:26 dtucker Exp $"); |
35 | 35 | ||
36 | #ifdef USE_PAM | 36 | #ifdef USE_PAM |
37 | #if defined(HAVE_SECURITY_PAM_APPL_H) | 37 | #if defined(HAVE_SECURITY_PAM_APPL_H) |
@@ -58,6 +58,7 @@ RCSID("$Id: auth-pam.c,v 1.95 2004/02/17 12:20:08 dtucker Exp $"); | |||
58 | extern ServerOptions options; | 58 | extern ServerOptions options; |
59 | extern Buffer loginmsg; | 59 | extern Buffer loginmsg; |
60 | extern int compat20; | 60 | extern int compat20; |
61 | extern u_int utmp_len; | ||
61 | 62 | ||
62 | #ifdef USE_POSIX_THREADS | 63 | #ifdef USE_POSIX_THREADS |
63 | #include <pthread.h> | 64 | #include <pthread.h> |
@@ -160,7 +161,7 @@ static int sshpam_session_open = 0; | |||
160 | static int sshpam_cred_established = 0; | 161 | static int sshpam_cred_established = 0; |
161 | static int sshpam_account_status = -1; | 162 | static int sshpam_account_status = -1; |
162 | static char **sshpam_env = NULL; | 163 | static char **sshpam_env = NULL; |
163 | static Authctxt *the_authctxt = NULL; | 164 | static Authctxt *sshpam_authctxt = NULL; |
164 | 165 | ||
165 | /* Some PAM implementations don't implement this */ | 166 | /* Some PAM implementations don't implement this */ |
166 | #ifndef HAVE_PAM_GETENVLIST | 167 | #ifndef HAVE_PAM_GETENVLIST |
@@ -180,9 +181,9 @@ void | |||
180 | pam_password_change_required(int reqd) | 181 | pam_password_change_required(int reqd) |
181 | { | 182 | { |
182 | debug3("%s %d", __func__, reqd); | 183 | debug3("%s %d", __func__, reqd); |
183 | if (the_authctxt == NULL) | 184 | if (sshpam_authctxt == NULL) |
184 | fatal("%s: PAM authctxt not initialized", __func__); | 185 | fatal("%s: PAM authctxt not initialized", __func__); |
185 | the_authctxt->force_pwchange = reqd; | 186 | sshpam_authctxt->force_pwchange = reqd; |
186 | if (reqd) { | 187 | if (reqd) { |
187 | no_port_forwarding_flag |= 2; | 188 | no_port_forwarding_flag |= 2; |
188 | no_agent_forwarding_flag |= 2; | 189 | no_agent_forwarding_flag |= 2; |
@@ -204,6 +205,7 @@ import_environments(Buffer *b) | |||
204 | 205 | ||
205 | debug3("PAM: %s entering", __func__); | 206 | debug3("PAM: %s entering", __func__); |
206 | 207 | ||
208 | #ifndef USE_POSIX_THREADS | ||
207 | /* Import variables set by do_pam_account */ | 209 | /* Import variables set by do_pam_account */ |
208 | sshpam_account_status = buffer_get_int(b); | 210 | sshpam_account_status = buffer_get_int(b); |
209 | pam_password_change_required(buffer_get_int(b)); | 211 | pam_password_change_required(buffer_get_int(b)); |
@@ -231,6 +233,7 @@ import_environments(Buffer *b) | |||
231 | } | 233 | } |
232 | #endif | 234 | #endif |
233 | } | 235 | } |
236 | #endif | ||
234 | } | 237 | } |
235 | 238 | ||
236 | /* | 239 | /* |
@@ -339,7 +342,7 @@ sshpam_thread(void *ctxtp) | |||
339 | sshpam_conv.conv = sshpam_thread_conv; | 342 | sshpam_conv.conv = sshpam_thread_conv; |
340 | sshpam_conv.appdata_ptr = ctxt; | 343 | sshpam_conv.appdata_ptr = ctxt; |
341 | 344 | ||
342 | if (the_authctxt == NULL) | 345 | if (sshpam_authctxt == NULL) |
343 | fatal("%s: PAM authctxt not initialized", __func__); | 346 | fatal("%s: PAM authctxt not initialized", __func__); |
344 | 347 | ||
345 | buffer_init(&buffer); | 348 | buffer_init(&buffer); |
@@ -354,7 +357,7 @@ sshpam_thread(void *ctxtp) | |||
354 | if (compat20) { | 357 | if (compat20) { |
355 | if (!do_pam_account()) | 358 | if (!do_pam_account()) |
356 | goto auth_fail; | 359 | goto auth_fail; |
357 | if (the_authctxt->force_pwchange) { | 360 | if (sshpam_authctxt->force_pwchange) { |
358 | sshpam_err = pam_chauthtok(sshpam_handle, | 361 | sshpam_err = pam_chauthtok(sshpam_handle, |
359 | PAM_CHANGE_EXPIRED_AUTHTOK); | 362 | PAM_CHANGE_EXPIRED_AUTHTOK); |
360 | if (sshpam_err != PAM_SUCCESS) | 363 | if (sshpam_err != PAM_SUCCESS) |
@@ -368,7 +371,7 @@ sshpam_thread(void *ctxtp) | |||
368 | #ifndef USE_POSIX_THREADS | 371 | #ifndef USE_POSIX_THREADS |
369 | /* Export variables set by do_pam_account */ | 372 | /* Export variables set by do_pam_account */ |
370 | buffer_put_int(&buffer, sshpam_account_status); | 373 | buffer_put_int(&buffer, sshpam_account_status); |
371 | buffer_put_int(&buffer, the_authctxt->force_pwchange); | 374 | buffer_put_int(&buffer, sshpam_authctxt->force_pwchange); |
372 | 375 | ||
373 | /* Export any environment strings set in child */ | 376 | /* Export any environment strings set in child */ |
374 | for(i = 0; environ[i] != NULL; i++) | 377 | for(i = 0; environ[i] != NULL; i++) |
@@ -451,7 +454,6 @@ sshpam_cleanup(void) | |||
451 | static int | 454 | static int |
452 | sshpam_init(Authctxt *authctxt) | 455 | sshpam_init(Authctxt *authctxt) |
453 | { | 456 | { |
454 | extern u_int utmp_len; | ||
455 | extern char *__progname; | 457 | extern char *__progname; |
456 | const char *pam_rhost, *pam_user, *user = authctxt->user; | 458 | const char *pam_rhost, *pam_user, *user = authctxt->user; |
457 | 459 | ||
@@ -467,7 +469,7 @@ sshpam_init(Authctxt *authctxt) | |||
467 | debug("PAM: initializing for \"%s\"", user); | 469 | debug("PAM: initializing for \"%s\"", user); |
468 | sshpam_err = | 470 | sshpam_err = |
469 | pam_start(SSHD_PAM_SERVICE, user, &null_conv, &sshpam_handle); | 471 | pam_start(SSHD_PAM_SERVICE, user, &null_conv, &sshpam_handle); |
470 | the_authctxt = authctxt; | 472 | sshpam_authctxt = authctxt; |
471 | 473 | ||
472 | if (sshpam_err != PAM_SUCCESS) { | 474 | if (sshpam_err != PAM_SUCCESS) { |
473 | pam_end(sshpam_handle, sshpam_err); | 475 | pam_end(sshpam_handle, sshpam_err); |
@@ -597,7 +599,10 @@ sshpam_query(void *ctx, char **name, char **info, | |||
597 | xfree(msg); | 599 | xfree(msg); |
598 | return (0); | 600 | return (0); |
599 | } | 601 | } |
600 | error("PAM: %s", msg); | 602 | error("PAM: %s for %s%.100s from %.100s", msg, |
603 | sshpam_authctxt->valid ? "" : "illegal user ", | ||
604 | sshpam_authctxt->user, | ||
605 | get_remote_name_or_ip(utmp_len, options.use_dns)); | ||
601 | /* FALLTHROUGH */ | 606 | /* FALLTHROUGH */ |
602 | default: | 607 | default: |
603 | *num = 0; | 608 | *num = 0; |
diff --git a/auth-pam.h b/auth-pam.h index f3aad063b..1b3706e07 100644 --- a/auth-pam.h +++ b/auth-pam.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: auth-pam.h,v 1.24 2004/02/10 02:23:29 dtucker Exp $ */ | 1 | /* $Id: auth-pam.h,v 1.25 2004/03/08 12:04:07 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2000 Damien Miller. All rights reserved. |
diff --git a/auth-passwd.c b/auth-passwd.c index b9679abd0..beaf0fa6c 100644 --- a/auth-passwd.c +++ b/auth-passwd.c | |||
@@ -73,13 +73,6 @@ auth_password(Authctxt *authctxt, const char *password) | |||
73 | if (*password == '\0' && options.permit_empty_passwd == 0) | 73 | if (*password == '\0' && options.permit_empty_passwd == 0) |
74 | return 0; | 74 | return 0; |
75 | 75 | ||
76 | #if defined(HAVE_OSF_SIA) | ||
77 | /* | ||
78 | * XXX: any reason this is before krb? could be moved to | ||
79 | * sys_auth_passwd()? -dt | ||
80 | */ | ||
81 | return auth_sia_password(authctxt, password) && ok; | ||
82 | #endif | ||
83 | #ifdef KRB5 | 76 | #ifdef KRB5 |
84 | if (options.kerberos_authentication == 1) { | 77 | if (options.kerberos_authentication == 1) { |
85 | int ret = auth_krb5_password(authctxt, password); | 78 | int ret = auth_krb5_password(authctxt, password); |
diff --git a/auth-sia.c b/auth-sia.c index cd2dcb840..63f55d07f 100644 --- a/auth-sia.c +++ b/auth-sia.c | |||
@@ -47,7 +47,7 @@ extern int saved_argc; | |||
47 | extern char **saved_argv; | 47 | extern char **saved_argv; |
48 | 48 | ||
49 | int | 49 | int |
50 | auth_sia_password(Authctxt *authctxt, char *pass) | 50 | sys_auth_passwd(Authctxt *authctxt, char *pass) |
51 | { | 51 | { |
52 | int ret; | 52 | int ret; |
53 | SIAENTITY *ent = NULL; | 53 | SIAENTITY *ent = NULL; |
diff --git a/auth-sia.h b/auth-sia.h index 38164ff81..ca55e913e 100644 --- a/auth-sia.h +++ b/auth-sia.h | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #ifdef HAVE_OSF_SIA | 27 | #ifdef HAVE_OSF_SIA |
28 | 28 | ||
29 | int auth_sia_password(Authctxt *, char *); | 29 | int sys_auth_passwd(Authctxt *, char *); |
30 | void session_setup_sia(struct passwd *, char *); | 30 | void session_setup_sia(struct passwd *, char *); |
31 | 31 | ||
32 | #endif /* HAVE_OSF_SIA */ | 32 | #endif /* HAVE_OSF_SIA */ |
diff --git a/auth-skey.c b/auth-skey.c index f9ea03fd1..ac1af69ed 100644 --- a/auth-skey.c +++ b/auth-skey.c | |||
@@ -47,7 +47,8 @@ skey_query(void *ctx, char **name, char **infotxt, | |||
47 | int len; | 47 | int len; |
48 | struct skey skey; | 48 | struct skey skey; |
49 | 49 | ||
50 | if (skeychallenge(&skey, authctxt->user, challenge) == -1) | 50 | if (_compat_skeychallenge(&skey, authctxt->user, challenge, |
51 | sizeof(challenge)) == -1) | ||
51 | return -1; | 52 | return -1; |
52 | 53 | ||
53 | *name = xstrdup(""); | 54 | *name = xstrdup(""); |
@@ -66,6 +66,7 @@ struct Authctxt { | |||
66 | krb5_ccache krb5_fwd_ccache; | 66 | krb5_ccache krb5_fwd_ccache; |
67 | krb5_principal krb5_user; | 67 | krb5_principal krb5_user; |
68 | char *krb5_ticket_file; | 68 | char *krb5_ticket_file; |
69 | char *krb5_ccname; | ||
69 | #endif | 70 | #endif |
70 | void *methoddata; | 71 | void *methoddata; |
71 | }; | 72 | }; |
diff --git a/canohost.c b/canohost.c index f5145922e..a0067afc1 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -44,6 +44,9 @@ get_remote_hostname(int socket, int use_dns) | |||
44 | cleanup_exit(255); | 44 | cleanup_exit(255); |
45 | } | 45 | } |
46 | 46 | ||
47 | if (from.ss_family == AF_INET) | ||
48 | check_ip_options(socket, ntop); | ||
49 | |||
47 | ipv64_normalise_mapped(&from, &fromlen); | 50 | ipv64_normalise_mapped(&from, &fromlen); |
48 | 51 | ||
49 | if (from.ss_family == AF_INET6) | 52 | if (from.ss_family == AF_INET6) |
@@ -56,9 +59,6 @@ get_remote_hostname(int socket, int use_dns) | |||
56 | if (!use_dns) | 59 | if (!use_dns) |
57 | return xstrdup(ntop); | 60 | return xstrdup(ntop); |
58 | 61 | ||
59 | if (from.ss_family == AF_INET) | ||
60 | check_ip_options(socket, ntop); | ||
61 | |||
62 | debug3("Trying to reverse map address %.100s.", ntop); | 62 | debug3("Trying to reverse map address %.100s.", ntop); |
63 | /* Map the IP address to a host name. */ | 63 | /* Map the IP address to a host name. */ |
64 | if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), | 64 | if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name), |
diff --git a/config.h.in b/config.h.in index 32622dc5f..06471531e 100644 --- a/config.h.in +++ b/config.h.in | |||
@@ -1,5 +1,5 @@ | |||
1 | /* config.h.in. Generated automatically from configure.ac by autoheader. */ | 1 | /* config.h.in. Generated automatically from configure.ac by autoheader. */ |
2 | /* $Id: acconfig.h,v 1.173 2004/02/06 05:24:31 dtucker Exp $ */ | 2 | /* $Id: acconfig.h,v 1.177 2004/04/15 23:22:40 dtucker Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 5 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -132,6 +132,9 @@ | |||
132 | /* Define if your AIX loginfailed() function takes 4 arguments (AIX >= 5.2) */ | 132 | /* Define if your AIX loginfailed() function takes 4 arguments (AIX >= 5.2) */ |
133 | #undef AIX_LOGINFAILED_4ARG | 133 | #undef AIX_LOGINFAILED_4ARG |
134 | 134 | ||
135 | /* Define if your skeychallenge() function takes 4 arguments (eg NetBSD) */ | ||
136 | #undef SKEYCHALLENGE_4ARG | ||
137 | |||
135 | /* Define if you have/want arrays (cluster-wide session managment, not C arrays) */ | 138 | /* Define if you have/want arrays (cluster-wide session managment, not C arrays) */ |
136 | #undef WITH_IRIX_ARRAY | 139 | #undef WITH_IRIX_ARRAY |
137 | 140 | ||
@@ -203,6 +206,9 @@ | |||
203 | /* Define if you don't want to use lastlog in session.c */ | 206 | /* Define if you don't want to use lastlog in session.c */ |
204 | #undef NO_SSH_LASTLOG | 207 | #undef NO_SSH_LASTLOG |
205 | 208 | ||
209 | /* Define if have krb5_init_ets */ | ||
210 | #undef KRB5_INIT_ETS | ||
211 | |||
206 | /* Define if you don't want to use utmp */ | 212 | /* Define if you don't want to use utmp */ |
207 | #undef DISABLE_UTMP | 213 | #undef DISABLE_UTMP |
208 | 214 | ||
@@ -348,6 +354,9 @@ | |||
348 | /* getaddrinfo is broken (if present) */ | 354 | /* getaddrinfo is broken (if present) */ |
349 | #undef BROKEN_GETADDRINFO | 355 | #undef BROKEN_GETADDRINFO |
350 | 356 | ||
357 | /* updwtmpx is broken (if present) */ | ||
358 | #undef BROKEN_UPDWTMPX | ||
359 | |||
351 | /* Workaround more Linux IPv6 quirks */ | 360 | /* Workaround more Linux IPv6 quirks */ |
352 | #undef DONT_TRY_OTHER_AF | 361 | #undef DONT_TRY_OTHER_AF |
353 | 362 | ||
@@ -708,6 +717,9 @@ | |||
708 | /* Define if you have the <paths.h> header file. */ | 717 | /* Define if you have the <paths.h> header file. */ |
709 | #undef HAVE_PATHS_H | 718 | #undef HAVE_PATHS_H |
710 | 719 | ||
720 | /* Define if you have the `prctl' function. */ | ||
721 | #undef HAVE_PRCTL | ||
722 | |||
711 | /* Define if you have the `pstat' function. */ | 723 | /* Define if you have the `pstat' function. */ |
712 | #undef HAVE_PSTAT | 724 | #undef HAVE_PSTAT |
713 | 725 | ||
@@ -885,6 +897,9 @@ | |||
885 | /* Define if you have the <sys/mman.h> header file. */ | 897 | /* Define if you have the <sys/mman.h> header file. */ |
886 | #undef HAVE_SYS_MMAN_H | 898 | #undef HAVE_SYS_MMAN_H |
887 | 899 | ||
900 | /* Define if you have the <sys/prctl.h> header file. */ | ||
901 | #undef HAVE_SYS_PRCTL_H | ||
902 | |||
888 | /* Define if you have the <sys/pstat.h> header file. */ | 903 | /* Define if you have the <sys/pstat.h> header file. */ |
889 | #undef HAVE_SYS_PSTAT_H | 904 | #undef HAVE_SYS_PSTAT_H |
890 | 905 | ||
@@ -945,6 +960,9 @@ | |||
945 | /* Define if you have the <unistd.h> header file. */ | 960 | /* Define if you have the <unistd.h> header file. */ |
946 | #undef HAVE_UNISTD_H | 961 | #undef HAVE_UNISTD_H |
947 | 962 | ||
963 | /* Define if you have the `unsetenv' function. */ | ||
964 | #undef HAVE_UNSETENV | ||
965 | |||
948 | /* Define if you have the `updwtmp' function. */ | 966 | /* Define if you have the `updwtmp' function. */ |
949 | #undef HAVE_UPDWTMP | 967 | #undef HAVE_UPDWTMP |
950 | 968 | ||
@@ -3853,16 +3853,10 @@ EOF | |||
3853 | #define SPT_TYPE SPT_PSTAT | 3853 | #define SPT_TYPE SPT_PSTAT |
3854 | EOF | 3854 | EOF |
3855 | 3855 | ||
3856 | case "$host" in | 3856 | check_for_hpux_broken_getaddrinfo=1 |
3857 | *-*-hpux11.11*) | ||
3858 | cat >>confdefs.h <<\EOF | ||
3859 | #define BROKEN_GETADDRINFO 1 | ||
3860 | EOF | ||
3861 | ;; | ||
3862 | esac | ||
3863 | LIBS="$LIBS -lsec" | 3857 | LIBS="$LIBS -lsec" |
3864 | 3858 | ||
3865 | echo "$as_me:3865: checking for t_error in -lxnet" >&5 | 3859 | echo "$as_me:3859: checking for t_error in -lxnet" >&5 |
3866 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | 3860 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 |
3867 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | 3861 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then |
3868 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3862 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3870,7 +3864,7 @@ else | |||
3870 | ac_check_lib_save_LIBS=$LIBS | 3864 | ac_check_lib_save_LIBS=$LIBS |
3871 | LIBS="-lxnet $LIBS" | 3865 | LIBS="-lxnet $LIBS" |
3872 | cat >conftest.$ac_ext <<_ACEOF | 3866 | cat >conftest.$ac_ext <<_ACEOF |
3873 | #line 3873 "configure" | 3867 | #line 3867 "configure" |
3874 | #include "confdefs.h" | 3868 | #include "confdefs.h" |
3875 | 3869 | ||
3876 | /* Override any gcc2 internal prototype to avoid an error. */ | 3870 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -3889,16 +3883,16 @@ t_error (); | |||
3889 | } | 3883 | } |
3890 | _ACEOF | 3884 | _ACEOF |
3891 | rm -f conftest.$ac_objext conftest$ac_exeext | 3885 | rm -f conftest.$ac_objext conftest$ac_exeext |
3892 | if { (eval echo "$as_me:3892: \"$ac_link\"") >&5 | 3886 | if { (eval echo "$as_me:3886: \"$ac_link\"") >&5 |
3893 | (eval $ac_link) 2>&5 | 3887 | (eval $ac_link) 2>&5 |
3894 | ac_status=$? | 3888 | ac_status=$? |
3895 | echo "$as_me:3895: \$? = $ac_status" >&5 | 3889 | echo "$as_me:3889: \$? = $ac_status" >&5 |
3896 | (exit $ac_status); } && | 3890 | (exit $ac_status); } && |
3897 | { ac_try='test -s conftest$ac_exeext' | 3891 | { ac_try='test -s conftest$ac_exeext' |
3898 | { (eval echo "$as_me:3898: \"$ac_try\"") >&5 | 3892 | { (eval echo "$as_me:3892: \"$ac_try\"") >&5 |
3899 | (eval $ac_try) 2>&5 | 3893 | (eval $ac_try) 2>&5 |
3900 | ac_status=$? | 3894 | ac_status=$? |
3901 | echo "$as_me:3901: \$? = $ac_status" >&5 | 3895 | echo "$as_me:3895: \$? = $ac_status" >&5 |
3902 | (exit $ac_status); }; }; then | 3896 | (exit $ac_status); }; }; then |
3903 | ac_cv_lib_xnet_t_error=yes | 3897 | ac_cv_lib_xnet_t_error=yes |
3904 | else | 3898 | else |
@@ -3909,7 +3903,7 @@ fi | |||
3909 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3903 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3910 | LIBS=$ac_check_lib_save_LIBS | 3904 | LIBS=$ac_check_lib_save_LIBS |
3911 | fi | 3905 | fi |
3912 | echo "$as_me:3912: result: $ac_cv_lib_xnet_t_error" >&5 | 3906 | echo "$as_me:3906: result: $ac_cv_lib_xnet_t_error" >&5 |
3913 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | 3907 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 |
3914 | if test $ac_cv_lib_xnet_t_error = yes; then | 3908 | if test $ac_cv_lib_xnet_t_error = yes; then |
3915 | cat >>confdefs.h <<EOF | 3909 | cat >>confdefs.h <<EOF |
@@ -3919,7 +3913,7 @@ EOF | |||
3919 | LIBS="-lxnet $LIBS" | 3913 | LIBS="-lxnet $LIBS" |
3920 | 3914 | ||
3921 | else | 3915 | else |
3922 | { { echo "$as_me:3922: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | 3916 | { { echo "$as_me:3916: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 |
3923 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | 3917 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} |
3924 | { (exit 1); exit 1; }; } | 3918 | { (exit 1); exit 1; }; } |
3925 | fi | 3919 | fi |
@@ -3966,13 +3960,13 @@ EOF | |||
3966 | #define WITH_IRIX_AUDIT 1 | 3960 | #define WITH_IRIX_AUDIT 1 |
3967 | EOF | 3961 | EOF |
3968 | 3962 | ||
3969 | echo "$as_me:3969: checking for jlimit_startjob" >&5 | 3963 | echo "$as_me:3963: checking for jlimit_startjob" >&5 |
3970 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 | 3964 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 |
3971 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then | 3965 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then |
3972 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3973 | else | 3967 | else |
3974 | cat >conftest.$ac_ext <<_ACEOF | 3968 | cat >conftest.$ac_ext <<_ACEOF |
3975 | #line 3975 "configure" | 3969 | #line 3969 "configure" |
3976 | #include "confdefs.h" | 3970 | #include "confdefs.h" |
3977 | /* System header to define __stub macros and hopefully few prototypes, | 3971 | /* System header to define __stub macros and hopefully few prototypes, |
3978 | which can conflict with char jlimit_startjob (); below. */ | 3972 | which can conflict with char jlimit_startjob (); below. */ |
@@ -4003,16 +3997,16 @@ f = jlimit_startjob; | |||
4003 | } | 3997 | } |
4004 | _ACEOF | 3998 | _ACEOF |
4005 | rm -f conftest.$ac_objext conftest$ac_exeext | 3999 | rm -f conftest.$ac_objext conftest$ac_exeext |
4006 | if { (eval echo "$as_me:4006: \"$ac_link\"") >&5 | 4000 | if { (eval echo "$as_me:4000: \"$ac_link\"") >&5 |
4007 | (eval $ac_link) 2>&5 | 4001 | (eval $ac_link) 2>&5 |
4008 | ac_status=$? | 4002 | ac_status=$? |
4009 | echo "$as_me:4009: \$? = $ac_status" >&5 | 4003 | echo "$as_me:4003: \$? = $ac_status" >&5 |
4010 | (exit $ac_status); } && | 4004 | (exit $ac_status); } && |
4011 | { ac_try='test -s conftest$ac_exeext' | 4005 | { ac_try='test -s conftest$ac_exeext' |
4012 | { (eval echo "$as_me:4012: \"$ac_try\"") >&5 | 4006 | { (eval echo "$as_me:4006: \"$ac_try\"") >&5 |
4013 | (eval $ac_try) 2>&5 | 4007 | (eval $ac_try) 2>&5 |
4014 | ac_status=$? | 4008 | ac_status=$? |
4015 | echo "$as_me:4015: \$? = $ac_status" >&5 | 4009 | echo "$as_me:4009: \$? = $ac_status" >&5 |
4016 | (exit $ac_status); }; }; then | 4010 | (exit $ac_status); }; }; then |
4017 | ac_cv_func_jlimit_startjob=yes | 4011 | ac_cv_func_jlimit_startjob=yes |
4018 | else | 4012 | else |
@@ -4022,7 +4016,7 @@ ac_cv_func_jlimit_startjob=no | |||
4022 | fi | 4016 | fi |
4023 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4017 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4024 | fi | 4018 | fi |
4025 | echo "$as_me:4025: result: $ac_cv_func_jlimit_startjob" >&5 | 4019 | echo "$as_me:4019: result: $ac_cv_func_jlimit_startjob" >&5 |
4026 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 | 4020 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 |
4027 | if test $ac_cv_func_jlimit_startjob = yes; then | 4021 | if test $ac_cv_func_jlimit_startjob = yes; then |
4028 | cat >>confdefs.h <<\EOF | 4022 | cat >>confdefs.h <<\EOF |
@@ -4048,6 +4042,10 @@ EOF | |||
4048 | EOF | 4042 | EOF |
4049 | 4043 | ||
4050 | cat >>confdefs.h <<\EOF | 4044 | cat >>confdefs.h <<\EOF |
4045 | #define BROKEN_UPDWTMPX 1 | ||
4046 | EOF | ||
4047 | |||
4048 | cat >>confdefs.h <<\EOF | ||
4051 | #define WITH_ABBREV_NO_TTY 1 | 4049 | #define WITH_ABBREV_NO_TTY 1 |
4052 | EOF | 4050 | EOF |
4053 | 4051 | ||
@@ -4069,7 +4067,7 @@ EOF | |||
4069 | EOF | 4067 | EOF |
4070 | 4068 | ||
4071 | cat >>confdefs.h <<\EOF | 4069 | cat >>confdefs.h <<\EOF |
4072 | #define LOCKED_PASSWD_PREFIX "!!" | 4070 | #define LOCKED_PASSWD_PREFIX "!" |
4073 | EOF | 4071 | EOF |
4074 | 4072 | ||
4075 | cat >>confdefs.h <<\EOF | 4073 | cat >>confdefs.h <<\EOF |
@@ -4139,6 +4137,9 @@ EOF | |||
4139 | 4137 | ||
4140 | ;; | 4138 | ;; |
4141 | *-*-solaris*) | 4139 | *-*-solaris*) |
4140 | if test "x$withval" != "xno" ; then | ||
4141 | need_dash_r=1 | ||
4142 | fi | ||
4142 | cat >>confdefs.h <<\EOF | 4143 | cat >>confdefs.h <<\EOF |
4143 | #define PAM_SUN_CODEBASE 1 | 4144 | #define PAM_SUN_CODEBASE 1 |
4144 | EOF | 4145 | EOF |
@@ -4167,11 +4168,11 @@ EOF | |||
4167 | external_path_file=/etc/default/login | 4168 | external_path_file=/etc/default/login |
4168 | # hardwire lastlog location (can't detect it on some versions) | 4169 | # hardwire lastlog location (can't detect it on some versions) |
4169 | conf_lastlog_location="/var/adm/lastlog" | 4170 | conf_lastlog_location="/var/adm/lastlog" |
4170 | echo "$as_me:4170: checking for obsolete utmp and wtmp in solaris2.x" >&5 | 4171 | echo "$as_me:4171: checking for obsolete utmp and wtmp in solaris2.x" >&5 |
4171 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 | 4172 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 |
4172 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` | 4173 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` |
4173 | if test "$sol2ver" -ge 8; then | 4174 | if test "$sol2ver" -ge 8; then |
4174 | echo "$as_me:4174: result: yes" >&5 | 4175 | echo "$as_me:4175: result: yes" >&5 |
4175 | echo "${ECHO_T}yes" >&6 | 4176 | echo "${ECHO_T}yes" >&6 |
4176 | cat >>confdefs.h <<\EOF | 4177 | cat >>confdefs.h <<\EOF |
4177 | #define DISABLE_UTMP 1 | 4178 | #define DISABLE_UTMP 1 |
@@ -4182,7 +4183,7 @@ EOF | |||
4182 | EOF | 4183 | EOF |
4183 | 4184 | ||
4184 | else | 4185 | else |
4185 | echo "$as_me:4185: result: no" >&5 | 4186 | echo "$as_me:4186: result: no" >&5 |
4186 | echo "${ECHO_T}no" >&6 | 4187 | echo "${ECHO_T}no" >&6 |
4187 | fi | 4188 | fi |
4188 | ;; | 4189 | ;; |
@@ -4192,13 +4193,13 @@ echo "${ECHO_T}no" >&6 | |||
4192 | for ac_func in getpwanam | 4193 | for ac_func in getpwanam |
4193 | do | 4194 | do |
4194 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4195 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4195 | echo "$as_me:4195: checking for $ac_func" >&5 | 4196 | echo "$as_me:4196: checking for $ac_func" >&5 |
4196 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 4197 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4197 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 4198 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
4198 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4199 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4199 | else | 4200 | else |
4200 | cat >conftest.$ac_ext <<_ACEOF | 4201 | cat >conftest.$ac_ext <<_ACEOF |
4201 | #line 4201 "configure" | 4202 | #line 4202 "configure" |
4202 | #include "confdefs.h" | 4203 | #include "confdefs.h" |
4203 | /* System header to define __stub macros and hopefully few prototypes, | 4204 | /* System header to define __stub macros and hopefully few prototypes, |
4204 | which can conflict with char $ac_func (); below. */ | 4205 | which can conflict with char $ac_func (); below. */ |
@@ -4229,16 +4230,16 @@ f = $ac_func; | |||
4229 | } | 4230 | } |
4230 | _ACEOF | 4231 | _ACEOF |
4231 | rm -f conftest.$ac_objext conftest$ac_exeext | 4232 | rm -f conftest.$ac_objext conftest$ac_exeext |
4232 | if { (eval echo "$as_me:4232: \"$ac_link\"") >&5 | 4233 | if { (eval echo "$as_me:4233: \"$ac_link\"") >&5 |
4233 | (eval $ac_link) 2>&5 | 4234 | (eval $ac_link) 2>&5 |
4234 | ac_status=$? | 4235 | ac_status=$? |
4235 | echo "$as_me:4235: \$? = $ac_status" >&5 | 4236 | echo "$as_me:4236: \$? = $ac_status" >&5 |
4236 | (exit $ac_status); } && | 4237 | (exit $ac_status); } && |
4237 | { ac_try='test -s conftest$ac_exeext' | 4238 | { ac_try='test -s conftest$ac_exeext' |
4238 | { (eval echo "$as_me:4238: \"$ac_try\"") >&5 | 4239 | { (eval echo "$as_me:4239: \"$ac_try\"") >&5 |
4239 | (eval $ac_try) 2>&5 | 4240 | (eval $ac_try) 2>&5 |
4240 | ac_status=$? | 4241 | ac_status=$? |
4241 | echo "$as_me:4241: \$? = $ac_status" >&5 | 4242 | echo "$as_me:4242: \$? = $ac_status" >&5 |
4242 | (exit $ac_status); }; }; then | 4243 | (exit $ac_status); }; }; then |
4243 | eval "$as_ac_var=yes" | 4244 | eval "$as_ac_var=yes" |
4244 | else | 4245 | else |
@@ -4248,7 +4249,7 @@ eval "$as_ac_var=no" | |||
4248 | fi | 4249 | fi |
4249 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4250 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4250 | fi | 4251 | fi |
4251 | echo "$as_me:4251: result: `eval echo '${'$as_ac_var'}'`" >&5 | 4252 | echo "$as_me:4252: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4252 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 4253 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4253 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 4254 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
4254 | cat >>confdefs.h <<EOF | 4255 | cat >>confdefs.h <<EOF |
@@ -4296,7 +4297,7 @@ EOF | |||
4296 | *-sni-sysv*) | 4297 | *-sni-sysv*) |
4297 | # /usr/ucblib MUST NOT be searched on ReliantUNIX | 4298 | # /usr/ucblib MUST NOT be searched on ReliantUNIX |
4298 | 4299 | ||
4299 | echo "$as_me:4299: checking for dlsym in -ldl" >&5 | 4300 | echo "$as_me:4300: checking for dlsym in -ldl" >&5 |
4300 | echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 | 4301 | echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 |
4301 | if test "${ac_cv_lib_dl_dlsym+set}" = set; then | 4302 | if test "${ac_cv_lib_dl_dlsym+set}" = set; then |
4302 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4303 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -4304,7 +4305,7 @@ else | |||
4304 | ac_check_lib_save_LIBS=$LIBS | 4305 | ac_check_lib_save_LIBS=$LIBS |
4305 | LIBS="-ldl $LIBS" | 4306 | LIBS="-ldl $LIBS" |
4306 | cat >conftest.$ac_ext <<_ACEOF | 4307 | cat >conftest.$ac_ext <<_ACEOF |
4307 | #line 4307 "configure" | 4308 | #line 4308 "configure" |
4308 | #include "confdefs.h" | 4309 | #include "confdefs.h" |
4309 | 4310 | ||
4310 | /* Override any gcc2 internal prototype to avoid an error. */ | 4311 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -4323,16 +4324,16 @@ dlsym (); | |||
4323 | } | 4324 | } |
4324 | _ACEOF | 4325 | _ACEOF |
4325 | rm -f conftest.$ac_objext conftest$ac_exeext | 4326 | rm -f conftest.$ac_objext conftest$ac_exeext |
4326 | if { (eval echo "$as_me:4326: \"$ac_link\"") >&5 | 4327 | if { (eval echo "$as_me:4327: \"$ac_link\"") >&5 |
4327 | (eval $ac_link) 2>&5 | 4328 | (eval $ac_link) 2>&5 |
4328 | ac_status=$? | 4329 | ac_status=$? |
4329 | echo "$as_me:4329: \$? = $ac_status" >&5 | 4330 | echo "$as_me:4330: \$? = $ac_status" >&5 |
4330 | (exit $ac_status); } && | 4331 | (exit $ac_status); } && |
4331 | { ac_try='test -s conftest$ac_exeext' | 4332 | { ac_try='test -s conftest$ac_exeext' |
4332 | { (eval echo "$as_me:4332: \"$ac_try\"") >&5 | 4333 | { (eval echo "$as_me:4333: \"$ac_try\"") >&5 |
4333 | (eval $ac_try) 2>&5 | 4334 | (eval $ac_try) 2>&5 |
4334 | ac_status=$? | 4335 | ac_status=$? |
4335 | echo "$as_me:4335: \$? = $ac_status" >&5 | 4336 | echo "$as_me:4336: \$? = $ac_status" >&5 |
4336 | (exit $ac_status); }; }; then | 4337 | (exit $ac_status); }; }; then |
4337 | ac_cv_lib_dl_dlsym=yes | 4338 | ac_cv_lib_dl_dlsym=yes |
4338 | else | 4339 | else |
@@ -4343,7 +4344,7 @@ fi | |||
4343 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4344 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4344 | LIBS=$ac_check_lib_save_LIBS | 4345 | LIBS=$ac_check_lib_save_LIBS |
4345 | fi | 4346 | fi |
4346 | echo "$as_me:4346: result: $ac_cv_lib_dl_dlsym" >&5 | 4347 | echo "$as_me:4347: result: $ac_cv_lib_dl_dlsym" >&5 |
4347 | echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 | 4348 | echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 |
4348 | if test $ac_cv_lib_dl_dlsym = yes; then | 4349 | if test $ac_cv_lib_dl_dlsym = yes; then |
4349 | cat >>confdefs.h <<EOF | 4350 | cat >>confdefs.h <<EOF |
@@ -4448,19 +4449,31 @@ EOF | |||
4448 | EOF | 4449 | EOF |
4449 | 4450 | ||
4450 | cat >>confdefs.h <<\EOF | 4451 | cat >>confdefs.h <<\EOF |
4452 | #define SETEUID_BREAKS_SETUID 1 | ||
4453 | EOF | ||
4454 | |||
4455 | cat >>confdefs.h <<\EOF | ||
4456 | #define BROKEN_SETREUID 1 | ||
4457 | EOF | ||
4458 | |||
4459 | cat >>confdefs.h <<\EOF | ||
4460 | #define BROKEN_SETREGID 1 | ||
4461 | EOF | ||
4462 | |||
4463 | cat >>confdefs.h <<\EOF | ||
4451 | #define WITH_ABBREV_NO_TTY 1 | 4464 | #define WITH_ABBREV_NO_TTY 1 |
4452 | EOF | 4465 | EOF |
4453 | 4466 | ||
4454 | for ac_func in getluid setluid | 4467 | for ac_func in getluid setluid |
4455 | do | 4468 | do |
4456 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4469 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4457 | echo "$as_me:4457: checking for $ac_func" >&5 | 4470 | echo "$as_me:4470: checking for $ac_func" >&5 |
4458 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 4471 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4459 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 4472 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
4460 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4473 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4461 | else | 4474 | else |
4462 | cat >conftest.$ac_ext <<_ACEOF | 4475 | cat >conftest.$ac_ext <<_ACEOF |
4463 | #line 4463 "configure" | 4476 | #line 4476 "configure" |
4464 | #include "confdefs.h" | 4477 | #include "confdefs.h" |
4465 | /* System header to define __stub macros and hopefully few prototypes, | 4478 | /* System header to define __stub macros and hopefully few prototypes, |
4466 | which can conflict with char $ac_func (); below. */ | 4479 | which can conflict with char $ac_func (); below. */ |
@@ -4491,16 +4504,16 @@ f = $ac_func; | |||
4491 | } | 4504 | } |
4492 | _ACEOF | 4505 | _ACEOF |
4493 | rm -f conftest.$ac_objext conftest$ac_exeext | 4506 | rm -f conftest.$ac_objext conftest$ac_exeext |
4494 | if { (eval echo "$as_me:4494: \"$ac_link\"") >&5 | 4507 | if { (eval echo "$as_me:4507: \"$ac_link\"") >&5 |
4495 | (eval $ac_link) 2>&5 | 4508 | (eval $ac_link) 2>&5 |
4496 | ac_status=$? | 4509 | ac_status=$? |
4497 | echo "$as_me:4497: \$? = $ac_status" >&5 | 4510 | echo "$as_me:4510: \$? = $ac_status" >&5 |
4498 | (exit $ac_status); } && | 4511 | (exit $ac_status); } && |
4499 | { ac_try='test -s conftest$ac_exeext' | 4512 | { ac_try='test -s conftest$ac_exeext' |
4500 | { (eval echo "$as_me:4500: \"$ac_try\"") >&5 | 4513 | { (eval echo "$as_me:4513: \"$ac_try\"") >&5 |
4501 | (eval $ac_try) 2>&5 | 4514 | (eval $ac_try) 2>&5 |
4502 | ac_status=$? | 4515 | ac_status=$? |
4503 | echo "$as_me:4503: \$? = $ac_status" >&5 | 4516 | echo "$as_me:4516: \$? = $ac_status" >&5 |
4504 | (exit $ac_status); }; }; then | 4517 | (exit $ac_status); }; }; then |
4505 | eval "$as_ac_var=yes" | 4518 | eval "$as_ac_var=yes" |
4506 | else | 4519 | else |
@@ -4510,7 +4523,7 @@ eval "$as_ac_var=no" | |||
4510 | fi | 4523 | fi |
4511 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4524 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4512 | fi | 4525 | fi |
4513 | echo "$as_me:4513: result: `eval echo '${'$as_ac_var'}'`" >&5 | 4526 | echo "$as_me:4526: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4514 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 4527 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4515 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 4528 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
4516 | cat >>confdefs.h <<EOF | 4529 | cat >>confdefs.h <<EOF |
@@ -4564,13 +4577,13 @@ EOF | |||
4564 | for ac_func in getluid setluid | 4577 | for ac_func in getluid setluid |
4565 | do | 4578 | do |
4566 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4579 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4567 | echo "$as_me:4567: checking for $ac_func" >&5 | 4580 | echo "$as_me:4580: checking for $ac_func" >&5 |
4568 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 4581 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4569 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 4582 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
4570 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4583 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4571 | else | 4584 | else |
4572 | cat >conftest.$ac_ext <<_ACEOF | 4585 | cat >conftest.$ac_ext <<_ACEOF |
4573 | #line 4573 "configure" | 4586 | #line 4586 "configure" |
4574 | #include "confdefs.h" | 4587 | #include "confdefs.h" |
4575 | /* System header to define __stub macros and hopefully few prototypes, | 4588 | /* System header to define __stub macros and hopefully few prototypes, |
4576 | which can conflict with char $ac_func (); below. */ | 4589 | which can conflict with char $ac_func (); below. */ |
@@ -4601,16 +4614,16 @@ f = $ac_func; | |||
4601 | } | 4614 | } |
4602 | _ACEOF | 4615 | _ACEOF |
4603 | rm -f conftest.$ac_objext conftest$ac_exeext | 4616 | rm -f conftest.$ac_objext conftest$ac_exeext |
4604 | if { (eval echo "$as_me:4604: \"$ac_link\"") >&5 | 4617 | if { (eval echo "$as_me:4617: \"$ac_link\"") >&5 |
4605 | (eval $ac_link) 2>&5 | 4618 | (eval $ac_link) 2>&5 |
4606 | ac_status=$? | 4619 | ac_status=$? |
4607 | echo "$as_me:4607: \$? = $ac_status" >&5 | 4620 | echo "$as_me:4620: \$? = $ac_status" >&5 |
4608 | (exit $ac_status); } && | 4621 | (exit $ac_status); } && |
4609 | { ac_try='test -s conftest$ac_exeext' | 4622 | { ac_try='test -s conftest$ac_exeext' |
4610 | { (eval echo "$as_me:4610: \"$ac_try\"") >&5 | 4623 | { (eval echo "$as_me:4623: \"$ac_try\"") >&5 |
4611 | (eval $ac_try) 2>&5 | 4624 | (eval $ac_try) 2>&5 |
4612 | ac_status=$? | 4625 | ac_status=$? |
4613 | echo "$as_me:4613: \$? = $ac_status" >&5 | 4626 | echo "$as_me:4626: \$? = $ac_status" >&5 |
4614 | (exit $ac_status); }; }; then | 4627 | (exit $ac_status); }; }; then |
4615 | eval "$as_ac_var=yes" | 4628 | eval "$as_ac_var=yes" |
4616 | else | 4629 | else |
@@ -4620,7 +4633,7 @@ eval "$as_ac_var=no" | |||
4620 | fi | 4633 | fi |
4621 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4634 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4622 | fi | 4635 | fi |
4623 | echo "$as_me:4623: result: `eval echo '${'$as_ac_var'}'`" >&5 | 4636 | echo "$as_me:4636: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4624 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 4637 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4625 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 4638 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
4626 | cat >>confdefs.h <<EOF | 4639 | cat >>confdefs.h <<EOF |
@@ -4720,7 +4733,7 @@ EOF | |||
4720 | MANTYPE=cat | 4733 | MANTYPE=cat |
4721 | ;; | 4734 | ;; |
4722 | *-dec-osf*) | 4735 | *-dec-osf*) |
4723 | echo "$as_me:4723: checking for Digital Unix SIA" >&5 | 4736 | echo "$as_me:4736: checking for Digital Unix SIA" >&5 |
4724 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 | 4737 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 |
4725 | no_osfsia="" | 4738 | no_osfsia="" |
4726 | 4739 | ||
@@ -4729,7 +4742,7 @@ if test "${with_osfsia+set}" = set; then | |||
4729 | withval="$with_osfsia" | 4742 | withval="$with_osfsia" |
4730 | 4743 | ||
4731 | if test "x$withval" = "xno" ; then | 4744 | if test "x$withval" = "xno" ; then |
4732 | echo "$as_me:4732: result: disabled" >&5 | 4745 | echo "$as_me:4745: result: disabled" >&5 |
4733 | echo "${ECHO_T}disabled" >&6 | 4746 | echo "${ECHO_T}disabled" >&6 |
4734 | no_osfsia=1 | 4747 | no_osfsia=1 |
4735 | fi | 4748 | fi |
@@ -4737,7 +4750,7 @@ echo "${ECHO_T}disabled" >&6 | |||
4737 | fi; | 4750 | fi; |
4738 | if test -z "$no_osfsia" ; then | 4751 | if test -z "$no_osfsia" ; then |
4739 | if test -f /etc/sia/matrix.conf; then | 4752 | if test -f /etc/sia/matrix.conf; then |
4740 | echo "$as_me:4740: result: yes" >&5 | 4753 | echo "$as_me:4753: result: yes" >&5 |
4741 | echo "${ECHO_T}yes" >&6 | 4754 | echo "${ECHO_T}yes" >&6 |
4742 | cat >>confdefs.h <<\EOF | 4755 | cat >>confdefs.h <<\EOF |
4743 | #define HAVE_OSF_SIA 1 | 4756 | #define HAVE_OSF_SIA 1 |
@@ -4753,7 +4766,7 @@ EOF | |||
4753 | 4766 | ||
4754 | LIBS="$LIBS -lsecurity -ldb -lm -laud" | 4767 | LIBS="$LIBS -lsecurity -ldb -lm -laud" |
4755 | else | 4768 | else |
4756 | echo "$as_me:4756: result: no" >&5 | 4769 | echo "$as_me:4769: result: no" >&5 |
4757 | echo "${ECHO_T}no" >&6 | 4770 | echo "${ECHO_T}no" >&6 |
4758 | cat >>confdefs.h <<\EOF | 4771 | cat >>confdefs.h <<\EOF |
4759 | #define LOCKED_PASSWD_SUBSTR "Nologin" | 4772 | #define LOCKED_PASSWD_SUBSTR "Nologin" |
@@ -4845,15 +4858,15 @@ if test "${with_libs+set}" = set; then | |||
4845 | 4858 | ||
4846 | fi; | 4859 | fi; |
4847 | 4860 | ||
4848 | echo "$as_me:4848: checking compiler and flags for sanity" >&5 | 4861 | echo "$as_me:4861: checking compiler and flags for sanity" >&5 |
4849 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 | 4862 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 |
4850 | if test "$cross_compiling" = yes; then | 4863 | if test "$cross_compiling" = yes; then |
4851 | { { echo "$as_me:4851: error: cannot run test program while cross compiling" >&5 | 4864 | { { echo "$as_me:4864: error: cannot run test program while cross compiling" >&5 |
4852 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 4865 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
4853 | { (exit 1); exit 1; }; } | 4866 | { (exit 1); exit 1; }; } |
4854 | else | 4867 | else |
4855 | cat >conftest.$ac_ext <<_ACEOF | 4868 | cat >conftest.$ac_ext <<_ACEOF |
4856 | #line 4856 "configure" | 4869 | #line 4869 "configure" |
4857 | #include "confdefs.h" | 4870 | #include "confdefs.h" |
4858 | 4871 | ||
4859 | #include <stdio.h> | 4872 | #include <stdio.h> |
@@ -4861,26 +4874,26 @@ int main(){exit(0);} | |||
4861 | 4874 | ||
4862 | _ACEOF | 4875 | _ACEOF |
4863 | rm -f conftest$ac_exeext | 4876 | rm -f conftest$ac_exeext |
4864 | if { (eval echo "$as_me:4864: \"$ac_link\"") >&5 | 4877 | if { (eval echo "$as_me:4877: \"$ac_link\"") >&5 |
4865 | (eval $ac_link) 2>&5 | 4878 | (eval $ac_link) 2>&5 |
4866 | ac_status=$? | 4879 | ac_status=$? |
4867 | echo "$as_me:4867: \$? = $ac_status" >&5 | 4880 | echo "$as_me:4880: \$? = $ac_status" >&5 |
4868 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 4881 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4869 | { (eval echo "$as_me:4869: \"$ac_try\"") >&5 | 4882 | { (eval echo "$as_me:4882: \"$ac_try\"") >&5 |
4870 | (eval $ac_try) 2>&5 | 4883 | (eval $ac_try) 2>&5 |
4871 | ac_status=$? | 4884 | ac_status=$? |
4872 | echo "$as_me:4872: \$? = $ac_status" >&5 | 4885 | echo "$as_me:4885: \$? = $ac_status" >&5 |
4873 | (exit $ac_status); }; }; then | 4886 | (exit $ac_status); }; }; then |
4874 | echo "$as_me:4874: result: yes" >&5 | 4887 | echo "$as_me:4887: result: yes" >&5 |
4875 | echo "${ECHO_T}yes" >&6 | 4888 | echo "${ECHO_T}yes" >&6 |
4876 | else | 4889 | else |
4877 | echo "$as_me: program exited with status $ac_status" >&5 | 4890 | echo "$as_me: program exited with status $ac_status" >&5 |
4878 | echo "$as_me: failed program was:" >&5 | 4891 | echo "$as_me: failed program was:" >&5 |
4879 | cat conftest.$ac_ext >&5 | 4892 | cat conftest.$ac_ext >&5 |
4880 | 4893 | ||
4881 | echo "$as_me:4881: result: no" >&5 | 4894 | echo "$as_me:4894: result: no" >&5 |
4882 | echo "${ECHO_T}no" >&6 | 4895 | echo "${ECHO_T}no" >&6 |
4883 | { { echo "$as_me:4883: error: *** compiler cannot create working executables, check config.log ***" >&5 | 4896 | { { echo "$as_me:4896: error: *** compiler cannot create working executables, check config.log ***" >&5 |
4884 | echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} | 4897 | echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} |
4885 | { (exit 1); exit 1; }; } | 4898 | { (exit 1); exit 1; }; } |
4886 | 4899 | ||
@@ -4896,29 +4909,29 @@ for ac_header in bstring.h crypt.h endian.h features.h floatingpoint.h \ | |||
4896 | netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ | 4909 | netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ |
4897 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | 4910 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ |
4898 | strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ | 4911 | strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ |
4899 | sys/cdefs.h sys/mman.h sys/pstat.h sys/ptms.h sys/select.h sys/stat.h \ | 4912 | sys/cdefs.h sys/mman.h sys/prctl.h sys/pstat.h sys/ptms.h \ |
4900 | sys/stream.h sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ | 4913 | sys/select.h sys/stat.h sys/stream.h sys/stropts.h \ |
4901 | sys/un.h time.h tmpdir.h ttyent.h usersec.h \ | 4914 | sys/sysmacros.h sys/time.h sys/timers.h sys/un.h time.h tmpdir.h \ |
4902 | util.h utime.h utmp.h utmpx.h vis.h | 4915 | ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h |
4903 | do | 4916 | do |
4904 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4917 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4905 | echo "$as_me:4905: checking for $ac_header" >&5 | 4918 | echo "$as_me:4918: checking for $ac_header" >&5 |
4906 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 4919 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4907 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 4920 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4908 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4921 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4909 | else | 4922 | else |
4910 | cat >conftest.$ac_ext <<_ACEOF | 4923 | cat >conftest.$ac_ext <<_ACEOF |
4911 | #line 4911 "configure" | 4924 | #line 4924 "configure" |
4912 | #include "confdefs.h" | 4925 | #include "confdefs.h" |
4913 | #include <$ac_header> | 4926 | #include <$ac_header> |
4914 | _ACEOF | 4927 | _ACEOF |
4915 | if { (eval echo "$as_me:4915: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4928 | if { (eval echo "$as_me:4928: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4916 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4929 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4917 | ac_status=$? | 4930 | ac_status=$? |
4918 | egrep -v '^ *\+' conftest.er1 >conftest.err | 4931 | egrep -v '^ *\+' conftest.er1 >conftest.err |
4919 | rm -f conftest.er1 | 4932 | rm -f conftest.er1 |
4920 | cat conftest.err >&5 | 4933 | cat conftest.err >&5 |
4921 | echo "$as_me:4921: \$? = $ac_status" >&5 | 4934 | echo "$as_me:4934: \$? = $ac_status" >&5 |
4922 | (exit $ac_status); } >/dev/null; then | 4935 | (exit $ac_status); } >/dev/null; then |
4923 | if test -s conftest.err; then | 4936 | if test -s conftest.err; then |
4924 | ac_cpp_err=$ac_c_preproc_warn_flag | 4937 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -4937,7 +4950,7 @@ else | |||
4937 | fi | 4950 | fi |
4938 | rm -f conftest.err conftest.$ac_ext | 4951 | rm -f conftest.err conftest.$ac_ext |
4939 | fi | 4952 | fi |
4940 | echo "$as_me:4940: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 4953 | echo "$as_me:4953: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4941 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 4954 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4942 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 4955 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4943 | cat >>confdefs.h <<EOF | 4956 | cat >>confdefs.h <<EOF |
@@ -4948,13 +4961,13 @@ fi | |||
4948 | done | 4961 | done |
4949 | 4962 | ||
4950 | # Checks for libraries. | 4963 | # Checks for libraries. |
4951 | echo "$as_me:4951: checking for yp_match" >&5 | 4964 | echo "$as_me:4964: checking for yp_match" >&5 |
4952 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 | 4965 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 |
4953 | if test "${ac_cv_func_yp_match+set}" = set; then | 4966 | if test "${ac_cv_func_yp_match+set}" = set; then |
4954 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4955 | else | 4968 | else |
4956 | cat >conftest.$ac_ext <<_ACEOF | 4969 | cat >conftest.$ac_ext <<_ACEOF |
4957 | #line 4957 "configure" | 4970 | #line 4970 "configure" |
4958 | #include "confdefs.h" | 4971 | #include "confdefs.h" |
4959 | /* System header to define __stub macros and hopefully few prototypes, | 4972 | /* System header to define __stub macros and hopefully few prototypes, |
4960 | which can conflict with char yp_match (); below. */ | 4973 | which can conflict with char yp_match (); below. */ |
@@ -4985,16 +4998,16 @@ f = yp_match; | |||
4985 | } | 4998 | } |
4986 | _ACEOF | 4999 | _ACEOF |
4987 | rm -f conftest.$ac_objext conftest$ac_exeext | 5000 | rm -f conftest.$ac_objext conftest$ac_exeext |
4988 | if { (eval echo "$as_me:4988: \"$ac_link\"") >&5 | 5001 | if { (eval echo "$as_me:5001: \"$ac_link\"") >&5 |
4989 | (eval $ac_link) 2>&5 | 5002 | (eval $ac_link) 2>&5 |
4990 | ac_status=$? | 5003 | ac_status=$? |
4991 | echo "$as_me:4991: \$? = $ac_status" >&5 | 5004 | echo "$as_me:5004: \$? = $ac_status" >&5 |
4992 | (exit $ac_status); } && | 5005 | (exit $ac_status); } && |
4993 | { ac_try='test -s conftest$ac_exeext' | 5006 | { ac_try='test -s conftest$ac_exeext' |
4994 | { (eval echo "$as_me:4994: \"$ac_try\"") >&5 | 5007 | { (eval echo "$as_me:5007: \"$ac_try\"") >&5 |
4995 | (eval $ac_try) 2>&5 | 5008 | (eval $ac_try) 2>&5 |
4996 | ac_status=$? | 5009 | ac_status=$? |
4997 | echo "$as_me:4997: \$? = $ac_status" >&5 | 5010 | echo "$as_me:5010: \$? = $ac_status" >&5 |
4998 | (exit $ac_status); }; }; then | 5011 | (exit $ac_status); }; }; then |
4999 | ac_cv_func_yp_match=yes | 5012 | ac_cv_func_yp_match=yes |
5000 | else | 5013 | else |
@@ -5004,13 +5017,13 @@ ac_cv_func_yp_match=no | |||
5004 | fi | 5017 | fi |
5005 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5018 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5006 | fi | 5019 | fi |
5007 | echo "$as_me:5007: result: $ac_cv_func_yp_match" >&5 | 5020 | echo "$as_me:5020: result: $ac_cv_func_yp_match" >&5 |
5008 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6 | 5021 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6 |
5009 | if test $ac_cv_func_yp_match = yes; then | 5022 | if test $ac_cv_func_yp_match = yes; then |
5010 | : | 5023 | : |
5011 | else | 5024 | else |
5012 | 5025 | ||
5013 | echo "$as_me:5013: checking for yp_match in -lnsl" >&5 | 5026 | echo "$as_me:5026: checking for yp_match in -lnsl" >&5 |
5014 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 | 5027 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 |
5015 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then | 5028 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then |
5016 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5029 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5018,7 +5031,7 @@ else | |||
5018 | ac_check_lib_save_LIBS=$LIBS | 5031 | ac_check_lib_save_LIBS=$LIBS |
5019 | LIBS="-lnsl $LIBS" | 5032 | LIBS="-lnsl $LIBS" |
5020 | cat >conftest.$ac_ext <<_ACEOF | 5033 | cat >conftest.$ac_ext <<_ACEOF |
5021 | #line 5021 "configure" | 5034 | #line 5034 "configure" |
5022 | #include "confdefs.h" | 5035 | #include "confdefs.h" |
5023 | 5036 | ||
5024 | /* Override any gcc2 internal prototype to avoid an error. */ | 5037 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5037,16 +5050,16 @@ yp_match (); | |||
5037 | } | 5050 | } |
5038 | _ACEOF | 5051 | _ACEOF |
5039 | rm -f conftest.$ac_objext conftest$ac_exeext | 5052 | rm -f conftest.$ac_objext conftest$ac_exeext |
5040 | if { (eval echo "$as_me:5040: \"$ac_link\"") >&5 | 5053 | if { (eval echo "$as_me:5053: \"$ac_link\"") >&5 |
5041 | (eval $ac_link) 2>&5 | 5054 | (eval $ac_link) 2>&5 |
5042 | ac_status=$? | 5055 | ac_status=$? |
5043 | echo "$as_me:5043: \$? = $ac_status" >&5 | 5056 | echo "$as_me:5056: \$? = $ac_status" >&5 |
5044 | (exit $ac_status); } && | 5057 | (exit $ac_status); } && |
5045 | { ac_try='test -s conftest$ac_exeext' | 5058 | { ac_try='test -s conftest$ac_exeext' |
5046 | { (eval echo "$as_me:5046: \"$ac_try\"") >&5 | 5059 | { (eval echo "$as_me:5059: \"$ac_try\"") >&5 |
5047 | (eval $ac_try) 2>&5 | 5060 | (eval $ac_try) 2>&5 |
5048 | ac_status=$? | 5061 | ac_status=$? |
5049 | echo "$as_me:5049: \$? = $ac_status" >&5 | 5062 | echo "$as_me:5062: \$? = $ac_status" >&5 |
5050 | (exit $ac_status); }; }; then | 5063 | (exit $ac_status); }; }; then |
5051 | ac_cv_lib_nsl_yp_match=yes | 5064 | ac_cv_lib_nsl_yp_match=yes |
5052 | else | 5065 | else |
@@ -5057,7 +5070,7 @@ fi | |||
5057 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5070 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5058 | LIBS=$ac_check_lib_save_LIBS | 5071 | LIBS=$ac_check_lib_save_LIBS |
5059 | fi | 5072 | fi |
5060 | echo "$as_me:5060: result: $ac_cv_lib_nsl_yp_match" >&5 | 5073 | echo "$as_me:5073: result: $ac_cv_lib_nsl_yp_match" >&5 |
5061 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 | 5074 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 |
5062 | if test $ac_cv_lib_nsl_yp_match = yes; then | 5075 | if test $ac_cv_lib_nsl_yp_match = yes; then |
5063 | cat >>confdefs.h <<EOF | 5076 | cat >>confdefs.h <<EOF |
@@ -5070,13 +5083,13 @@ fi | |||
5070 | 5083 | ||
5071 | fi | 5084 | fi |
5072 | 5085 | ||
5073 | echo "$as_me:5073: checking for setsockopt" >&5 | 5086 | echo "$as_me:5086: checking for setsockopt" >&5 |
5074 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 | 5087 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 |
5075 | if test "${ac_cv_func_setsockopt+set}" = set; then | 5088 | if test "${ac_cv_func_setsockopt+set}" = set; then |
5076 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5089 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5077 | else | 5090 | else |
5078 | cat >conftest.$ac_ext <<_ACEOF | 5091 | cat >conftest.$ac_ext <<_ACEOF |
5079 | #line 5079 "configure" | 5092 | #line 5092 "configure" |
5080 | #include "confdefs.h" | 5093 | #include "confdefs.h" |
5081 | /* System header to define __stub macros and hopefully few prototypes, | 5094 | /* System header to define __stub macros and hopefully few prototypes, |
5082 | which can conflict with char setsockopt (); below. */ | 5095 | which can conflict with char setsockopt (); below. */ |
@@ -5107,16 +5120,16 @@ f = setsockopt; | |||
5107 | } | 5120 | } |
5108 | _ACEOF | 5121 | _ACEOF |
5109 | rm -f conftest.$ac_objext conftest$ac_exeext | 5122 | rm -f conftest.$ac_objext conftest$ac_exeext |
5110 | if { (eval echo "$as_me:5110: \"$ac_link\"") >&5 | 5123 | if { (eval echo "$as_me:5123: \"$ac_link\"") >&5 |
5111 | (eval $ac_link) 2>&5 | 5124 | (eval $ac_link) 2>&5 |
5112 | ac_status=$? | 5125 | ac_status=$? |
5113 | echo "$as_me:5113: \$? = $ac_status" >&5 | 5126 | echo "$as_me:5126: \$? = $ac_status" >&5 |
5114 | (exit $ac_status); } && | 5127 | (exit $ac_status); } && |
5115 | { ac_try='test -s conftest$ac_exeext' | 5128 | { ac_try='test -s conftest$ac_exeext' |
5116 | { (eval echo "$as_me:5116: \"$ac_try\"") >&5 | 5129 | { (eval echo "$as_me:5129: \"$ac_try\"") >&5 |
5117 | (eval $ac_try) 2>&5 | 5130 | (eval $ac_try) 2>&5 |
5118 | ac_status=$? | 5131 | ac_status=$? |
5119 | echo "$as_me:5119: \$? = $ac_status" >&5 | 5132 | echo "$as_me:5132: \$? = $ac_status" >&5 |
5120 | (exit $ac_status); }; }; then | 5133 | (exit $ac_status); }; }; then |
5121 | ac_cv_func_setsockopt=yes | 5134 | ac_cv_func_setsockopt=yes |
5122 | else | 5135 | else |
@@ -5126,13 +5139,13 @@ ac_cv_func_setsockopt=no | |||
5126 | fi | 5139 | fi |
5127 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5140 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5128 | fi | 5141 | fi |
5129 | echo "$as_me:5129: result: $ac_cv_func_setsockopt" >&5 | 5142 | echo "$as_me:5142: result: $ac_cv_func_setsockopt" >&5 |
5130 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 | 5143 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 |
5131 | if test $ac_cv_func_setsockopt = yes; then | 5144 | if test $ac_cv_func_setsockopt = yes; then |
5132 | : | 5145 | : |
5133 | else | 5146 | else |
5134 | 5147 | ||
5135 | echo "$as_me:5135: checking for setsockopt in -lsocket" >&5 | 5148 | echo "$as_me:5148: checking for setsockopt in -lsocket" >&5 |
5136 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 | 5149 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 |
5137 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then | 5150 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then |
5138 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5151 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5140,7 +5153,7 @@ else | |||
5140 | ac_check_lib_save_LIBS=$LIBS | 5153 | ac_check_lib_save_LIBS=$LIBS |
5141 | LIBS="-lsocket $LIBS" | 5154 | LIBS="-lsocket $LIBS" |
5142 | cat >conftest.$ac_ext <<_ACEOF | 5155 | cat >conftest.$ac_ext <<_ACEOF |
5143 | #line 5143 "configure" | 5156 | #line 5156 "configure" |
5144 | #include "confdefs.h" | 5157 | #include "confdefs.h" |
5145 | 5158 | ||
5146 | /* Override any gcc2 internal prototype to avoid an error. */ | 5159 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5159,16 +5172,16 @@ setsockopt (); | |||
5159 | } | 5172 | } |
5160 | _ACEOF | 5173 | _ACEOF |
5161 | rm -f conftest.$ac_objext conftest$ac_exeext | 5174 | rm -f conftest.$ac_objext conftest$ac_exeext |
5162 | if { (eval echo "$as_me:5162: \"$ac_link\"") >&5 | 5175 | if { (eval echo "$as_me:5175: \"$ac_link\"") >&5 |
5163 | (eval $ac_link) 2>&5 | 5176 | (eval $ac_link) 2>&5 |
5164 | ac_status=$? | 5177 | ac_status=$? |
5165 | echo "$as_me:5165: \$? = $ac_status" >&5 | 5178 | echo "$as_me:5178: \$? = $ac_status" >&5 |
5166 | (exit $ac_status); } && | 5179 | (exit $ac_status); } && |
5167 | { ac_try='test -s conftest$ac_exeext' | 5180 | { ac_try='test -s conftest$ac_exeext' |
5168 | { (eval echo "$as_me:5168: \"$ac_try\"") >&5 | 5181 | { (eval echo "$as_me:5181: \"$ac_try\"") >&5 |
5169 | (eval $ac_try) 2>&5 | 5182 | (eval $ac_try) 2>&5 |
5170 | ac_status=$? | 5183 | ac_status=$? |
5171 | echo "$as_me:5171: \$? = $ac_status" >&5 | 5184 | echo "$as_me:5184: \$? = $ac_status" >&5 |
5172 | (exit $ac_status); }; }; then | 5185 | (exit $ac_status); }; }; then |
5173 | ac_cv_lib_socket_setsockopt=yes | 5186 | ac_cv_lib_socket_setsockopt=yes |
5174 | else | 5187 | else |
@@ -5179,7 +5192,7 @@ fi | |||
5179 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5192 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5180 | LIBS=$ac_check_lib_save_LIBS | 5193 | LIBS=$ac_check_lib_save_LIBS |
5181 | fi | 5194 | fi |
5182 | echo "$as_me:5182: result: $ac_cv_lib_socket_setsockopt" >&5 | 5195 | echo "$as_me:5195: result: $ac_cv_lib_socket_setsockopt" >&5 |
5183 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 | 5196 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 |
5184 | if test $ac_cv_lib_socket_setsockopt = yes; then | 5197 | if test $ac_cv_lib_socket_setsockopt = yes; then |
5185 | cat >>confdefs.h <<EOF | 5198 | cat >>confdefs.h <<EOF |
@@ -5194,7 +5207,7 @@ fi | |||
5194 | 5207 | ||
5195 | if test "x$with_tcp_wrappers" != "xno" ; then | 5208 | if test "x$with_tcp_wrappers" != "xno" ; then |
5196 | if test "x$do_sco3_extra_lib_check" = "xyes" ; then | 5209 | if test "x$do_sco3_extra_lib_check" = "xyes" ; then |
5197 | echo "$as_me:5197: checking for innetgr in -lrpc" >&5 | 5210 | echo "$as_me:5210: checking for innetgr in -lrpc" >&5 |
5198 | echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 | 5211 | echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 |
5199 | if test "${ac_cv_lib_rpc_innetgr+set}" = set; then | 5212 | if test "${ac_cv_lib_rpc_innetgr+set}" = set; then |
5200 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5213 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5202,7 +5215,7 @@ else | |||
5202 | ac_check_lib_save_LIBS=$LIBS | 5215 | ac_check_lib_save_LIBS=$LIBS |
5203 | LIBS="-lrpc -lyp -lrpc $LIBS" | 5216 | LIBS="-lrpc -lyp -lrpc $LIBS" |
5204 | cat >conftest.$ac_ext <<_ACEOF | 5217 | cat >conftest.$ac_ext <<_ACEOF |
5205 | #line 5205 "configure" | 5218 | #line 5218 "configure" |
5206 | #include "confdefs.h" | 5219 | #include "confdefs.h" |
5207 | 5220 | ||
5208 | /* Override any gcc2 internal prototype to avoid an error. */ | 5221 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5221,16 +5234,16 @@ innetgr (); | |||
5221 | } | 5234 | } |
5222 | _ACEOF | 5235 | _ACEOF |
5223 | rm -f conftest.$ac_objext conftest$ac_exeext | 5236 | rm -f conftest.$ac_objext conftest$ac_exeext |
5224 | if { (eval echo "$as_me:5224: \"$ac_link\"") >&5 | 5237 | if { (eval echo "$as_me:5237: \"$ac_link\"") >&5 |
5225 | (eval $ac_link) 2>&5 | 5238 | (eval $ac_link) 2>&5 |
5226 | ac_status=$? | 5239 | ac_status=$? |
5227 | echo "$as_me:5227: \$? = $ac_status" >&5 | 5240 | echo "$as_me:5240: \$? = $ac_status" >&5 |
5228 | (exit $ac_status); } && | 5241 | (exit $ac_status); } && |
5229 | { ac_try='test -s conftest$ac_exeext' | 5242 | { ac_try='test -s conftest$ac_exeext' |
5230 | { (eval echo "$as_me:5230: \"$ac_try\"") >&5 | 5243 | { (eval echo "$as_me:5243: \"$ac_try\"") >&5 |
5231 | (eval $ac_try) 2>&5 | 5244 | (eval $ac_try) 2>&5 |
5232 | ac_status=$? | 5245 | ac_status=$? |
5233 | echo "$as_me:5233: \$? = $ac_status" >&5 | 5246 | echo "$as_me:5246: \$? = $ac_status" >&5 |
5234 | (exit $ac_status); }; }; then | 5247 | (exit $ac_status); }; }; then |
5235 | ac_cv_lib_rpc_innetgr=yes | 5248 | ac_cv_lib_rpc_innetgr=yes |
5236 | else | 5249 | else |
@@ -5241,7 +5254,7 @@ fi | |||
5241 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5254 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5242 | LIBS=$ac_check_lib_save_LIBS | 5255 | LIBS=$ac_check_lib_save_LIBS |
5243 | fi | 5256 | fi |
5244 | echo "$as_me:5244: result: $ac_cv_lib_rpc_innetgr" >&5 | 5257 | echo "$as_me:5257: result: $ac_cv_lib_rpc_innetgr" >&5 |
5245 | echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 | 5258 | echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 |
5246 | if test $ac_cv_lib_rpc_innetgr = yes; then | 5259 | if test $ac_cv_lib_rpc_innetgr = yes; then |
5247 | LIBS="-lrpc -lyp -lrpc $LIBS" | 5260 | LIBS="-lrpc -lyp -lrpc $LIBS" |
@@ -5253,13 +5266,13 @@ fi | |||
5253 | for ac_func in dirname | 5266 | for ac_func in dirname |
5254 | do | 5267 | do |
5255 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 5268 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5256 | echo "$as_me:5256: checking for $ac_func" >&5 | 5269 | echo "$as_me:5269: checking for $ac_func" >&5 |
5257 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 5270 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
5258 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 5271 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
5259 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5272 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5260 | else | 5273 | else |
5261 | cat >conftest.$ac_ext <<_ACEOF | 5274 | cat >conftest.$ac_ext <<_ACEOF |
5262 | #line 5262 "configure" | 5275 | #line 5275 "configure" |
5263 | #include "confdefs.h" | 5276 | #include "confdefs.h" |
5264 | /* System header to define __stub macros and hopefully few prototypes, | 5277 | /* System header to define __stub macros and hopefully few prototypes, |
5265 | which can conflict with char $ac_func (); below. */ | 5278 | which can conflict with char $ac_func (); below. */ |
@@ -5290,16 +5303,16 @@ f = $ac_func; | |||
5290 | } | 5303 | } |
5291 | _ACEOF | 5304 | _ACEOF |
5292 | rm -f conftest.$ac_objext conftest$ac_exeext | 5305 | rm -f conftest.$ac_objext conftest$ac_exeext |
5293 | if { (eval echo "$as_me:5293: \"$ac_link\"") >&5 | 5306 | if { (eval echo "$as_me:5306: \"$ac_link\"") >&5 |
5294 | (eval $ac_link) 2>&5 | 5307 | (eval $ac_link) 2>&5 |
5295 | ac_status=$? | 5308 | ac_status=$? |
5296 | echo "$as_me:5296: \$? = $ac_status" >&5 | 5309 | echo "$as_me:5309: \$? = $ac_status" >&5 |
5297 | (exit $ac_status); } && | 5310 | (exit $ac_status); } && |
5298 | { ac_try='test -s conftest$ac_exeext' | 5311 | { ac_try='test -s conftest$ac_exeext' |
5299 | { (eval echo "$as_me:5299: \"$ac_try\"") >&5 | 5312 | { (eval echo "$as_me:5312: \"$ac_try\"") >&5 |
5300 | (eval $ac_try) 2>&5 | 5313 | (eval $ac_try) 2>&5 |
5301 | ac_status=$? | 5314 | ac_status=$? |
5302 | echo "$as_me:5302: \$? = $ac_status" >&5 | 5315 | echo "$as_me:5315: \$? = $ac_status" >&5 |
5303 | (exit $ac_status); }; }; then | 5316 | (exit $ac_status); }; }; then |
5304 | eval "$as_ac_var=yes" | 5317 | eval "$as_ac_var=yes" |
5305 | else | 5318 | else |
@@ -5309,7 +5322,7 @@ eval "$as_ac_var=no" | |||
5309 | fi | 5322 | fi |
5310 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5323 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5311 | fi | 5324 | fi |
5312 | echo "$as_me:5312: result: `eval echo '${'$as_ac_var'}'`" >&5 | 5325 | echo "$as_me:5325: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5313 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 5326 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5314 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 5327 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
5315 | cat >>confdefs.h <<EOF | 5328 | cat >>confdefs.h <<EOF |
@@ -5319,23 +5332,23 @@ EOF | |||
5319 | for ac_header in libgen.h | 5332 | for ac_header in libgen.h |
5320 | do | 5333 | do |
5321 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5334 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5322 | echo "$as_me:5322: checking for $ac_header" >&5 | 5335 | echo "$as_me:5335: checking for $ac_header" >&5 |
5323 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 5336 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5324 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5337 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5325 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5338 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5326 | else | 5339 | else |
5327 | cat >conftest.$ac_ext <<_ACEOF | 5340 | cat >conftest.$ac_ext <<_ACEOF |
5328 | #line 5328 "configure" | 5341 | #line 5341 "configure" |
5329 | #include "confdefs.h" | 5342 | #include "confdefs.h" |
5330 | #include <$ac_header> | 5343 | #include <$ac_header> |
5331 | _ACEOF | 5344 | _ACEOF |
5332 | if { (eval echo "$as_me:5332: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5345 | if { (eval echo "$as_me:5345: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5333 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5346 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5334 | ac_status=$? | 5347 | ac_status=$? |
5335 | egrep -v '^ *\+' conftest.er1 >conftest.err | 5348 | egrep -v '^ *\+' conftest.er1 >conftest.err |
5336 | rm -f conftest.er1 | 5349 | rm -f conftest.er1 |
5337 | cat conftest.err >&5 | 5350 | cat conftest.err >&5 |
5338 | echo "$as_me:5338: \$? = $ac_status" >&5 | 5351 | echo "$as_me:5351: \$? = $ac_status" >&5 |
5339 | (exit $ac_status); } >/dev/null; then | 5352 | (exit $ac_status); } >/dev/null; then |
5340 | if test -s conftest.err; then | 5353 | if test -s conftest.err; then |
5341 | ac_cpp_err=$ac_c_preproc_warn_flag | 5354 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -5354,7 +5367,7 @@ else | |||
5354 | fi | 5367 | fi |
5355 | rm -f conftest.err conftest.$ac_ext | 5368 | rm -f conftest.err conftest.$ac_ext |
5356 | fi | 5369 | fi |
5357 | echo "$as_me:5357: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 5370 | echo "$as_me:5370: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5358 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 5371 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5359 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5372 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5360 | cat >>confdefs.h <<EOF | 5373 | cat >>confdefs.h <<EOF |
@@ -5366,7 +5379,7 @@ done | |||
5366 | 5379 | ||
5367 | else | 5380 | else |
5368 | 5381 | ||
5369 | echo "$as_me:5369: checking for dirname in -lgen" >&5 | 5382 | echo "$as_me:5382: checking for dirname in -lgen" >&5 |
5370 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 | 5383 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 |
5371 | if test "${ac_cv_lib_gen_dirname+set}" = set; then | 5384 | if test "${ac_cv_lib_gen_dirname+set}" = set; then |
5372 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5385 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5374,7 +5387,7 @@ else | |||
5374 | ac_check_lib_save_LIBS=$LIBS | 5387 | ac_check_lib_save_LIBS=$LIBS |
5375 | LIBS="-lgen $LIBS" | 5388 | LIBS="-lgen $LIBS" |
5376 | cat >conftest.$ac_ext <<_ACEOF | 5389 | cat >conftest.$ac_ext <<_ACEOF |
5377 | #line 5377 "configure" | 5390 | #line 5390 "configure" |
5378 | #include "confdefs.h" | 5391 | #include "confdefs.h" |
5379 | 5392 | ||
5380 | /* Override any gcc2 internal prototype to avoid an error. */ | 5393 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5393,16 +5406,16 @@ dirname (); | |||
5393 | } | 5406 | } |
5394 | _ACEOF | 5407 | _ACEOF |
5395 | rm -f conftest.$ac_objext conftest$ac_exeext | 5408 | rm -f conftest.$ac_objext conftest$ac_exeext |
5396 | if { (eval echo "$as_me:5396: \"$ac_link\"") >&5 | 5409 | if { (eval echo "$as_me:5409: \"$ac_link\"") >&5 |
5397 | (eval $ac_link) 2>&5 | 5410 | (eval $ac_link) 2>&5 |
5398 | ac_status=$? | 5411 | ac_status=$? |
5399 | echo "$as_me:5399: \$? = $ac_status" >&5 | 5412 | echo "$as_me:5412: \$? = $ac_status" >&5 |
5400 | (exit $ac_status); } && | 5413 | (exit $ac_status); } && |
5401 | { ac_try='test -s conftest$ac_exeext' | 5414 | { ac_try='test -s conftest$ac_exeext' |
5402 | { (eval echo "$as_me:5402: \"$ac_try\"") >&5 | 5415 | { (eval echo "$as_me:5415: \"$ac_try\"") >&5 |
5403 | (eval $ac_try) 2>&5 | 5416 | (eval $ac_try) 2>&5 |
5404 | ac_status=$? | 5417 | ac_status=$? |
5405 | echo "$as_me:5405: \$? = $ac_status" >&5 | 5418 | echo "$as_me:5418: \$? = $ac_status" >&5 |
5406 | (exit $ac_status); }; }; then | 5419 | (exit $ac_status); }; }; then |
5407 | ac_cv_lib_gen_dirname=yes | 5420 | ac_cv_lib_gen_dirname=yes |
5408 | else | 5421 | else |
@@ -5413,11 +5426,11 @@ fi | |||
5413 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5426 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5414 | LIBS=$ac_check_lib_save_LIBS | 5427 | LIBS=$ac_check_lib_save_LIBS |
5415 | fi | 5428 | fi |
5416 | echo "$as_me:5416: result: $ac_cv_lib_gen_dirname" >&5 | 5429 | echo "$as_me:5429: result: $ac_cv_lib_gen_dirname" >&5 |
5417 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6 | 5430 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6 |
5418 | if test $ac_cv_lib_gen_dirname = yes; then | 5431 | if test $ac_cv_lib_gen_dirname = yes; then |
5419 | 5432 | ||
5420 | echo "$as_me:5420: checking for broken dirname" >&5 | 5433 | echo "$as_me:5433: checking for broken dirname" >&5 |
5421 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6 | 5434 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6 |
5422 | if test "${ac_cv_have_broken_dirname+set}" = set; then | 5435 | if test "${ac_cv_have_broken_dirname+set}" = set; then |
5423 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5436 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5426,12 +5439,12 @@ else | |||
5426 | save_LIBS="$LIBS" | 5439 | save_LIBS="$LIBS" |
5427 | LIBS="$LIBS -lgen" | 5440 | LIBS="$LIBS -lgen" |
5428 | if test "$cross_compiling" = yes; then | 5441 | if test "$cross_compiling" = yes; then |
5429 | { { echo "$as_me:5429: error: cannot run test program while cross compiling" >&5 | 5442 | { { echo "$as_me:5442: error: cannot run test program while cross compiling" >&5 |
5430 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 5443 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
5431 | { (exit 1); exit 1; }; } | 5444 | { (exit 1); exit 1; }; } |
5432 | else | 5445 | else |
5433 | cat >conftest.$ac_ext <<_ACEOF | 5446 | cat >conftest.$ac_ext <<_ACEOF |
5434 | #line 5434 "configure" | 5447 | #line 5447 "configure" |
5435 | #include "confdefs.h" | 5448 | #include "confdefs.h" |
5436 | 5449 | ||
5437 | #include <libgen.h> | 5450 | #include <libgen.h> |
@@ -5451,15 +5464,15 @@ int main(int argc, char **argv) { | |||
5451 | 5464 | ||
5452 | _ACEOF | 5465 | _ACEOF |
5453 | rm -f conftest$ac_exeext | 5466 | rm -f conftest$ac_exeext |
5454 | if { (eval echo "$as_me:5454: \"$ac_link\"") >&5 | 5467 | if { (eval echo "$as_me:5467: \"$ac_link\"") >&5 |
5455 | (eval $ac_link) 2>&5 | 5468 | (eval $ac_link) 2>&5 |
5456 | ac_status=$? | 5469 | ac_status=$? |
5457 | echo "$as_me:5457: \$? = $ac_status" >&5 | 5470 | echo "$as_me:5470: \$? = $ac_status" >&5 |
5458 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 5471 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5459 | { (eval echo "$as_me:5459: \"$ac_try\"") >&5 | 5472 | { (eval echo "$as_me:5472: \"$ac_try\"") >&5 |
5460 | (eval $ac_try) 2>&5 | 5473 | (eval $ac_try) 2>&5 |
5461 | ac_status=$? | 5474 | ac_status=$? |
5462 | echo "$as_me:5462: \$? = $ac_status" >&5 | 5475 | echo "$as_me:5475: \$? = $ac_status" >&5 |
5463 | (exit $ac_status); }; }; then | 5476 | (exit $ac_status); }; }; then |
5464 | ac_cv_have_broken_dirname="no" | 5477 | ac_cv_have_broken_dirname="no" |
5465 | else | 5478 | else |
@@ -5474,7 +5487,7 @@ fi | |||
5474 | LIBS="$save_LIBS" | 5487 | LIBS="$save_LIBS" |
5475 | 5488 | ||
5476 | fi | 5489 | fi |
5477 | echo "$as_me:5477: result: $ac_cv_have_broken_dirname" >&5 | 5490 | echo "$as_me:5490: result: $ac_cv_have_broken_dirname" >&5 |
5478 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6 | 5491 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6 |
5479 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | 5492 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then |
5480 | LIBS="$LIBS -lgen" | 5493 | LIBS="$LIBS -lgen" |
@@ -5485,23 +5498,23 @@ EOF | |||
5485 | for ac_header in libgen.h | 5498 | for ac_header in libgen.h |
5486 | do | 5499 | do |
5487 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5500 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5488 | echo "$as_me:5488: checking for $ac_header" >&5 | 5501 | echo "$as_me:5501: checking for $ac_header" >&5 |
5489 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 5502 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5490 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5503 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5491 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5504 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5492 | else | 5505 | else |
5493 | cat >conftest.$ac_ext <<_ACEOF | 5506 | cat >conftest.$ac_ext <<_ACEOF |
5494 | #line 5494 "configure" | 5507 | #line 5507 "configure" |
5495 | #include "confdefs.h" | 5508 | #include "confdefs.h" |
5496 | #include <$ac_header> | 5509 | #include <$ac_header> |
5497 | _ACEOF | 5510 | _ACEOF |
5498 | if { (eval echo "$as_me:5498: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5511 | if { (eval echo "$as_me:5511: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5499 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5512 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5500 | ac_status=$? | 5513 | ac_status=$? |
5501 | egrep -v '^ *\+' conftest.er1 >conftest.err | 5514 | egrep -v '^ *\+' conftest.er1 >conftest.err |
5502 | rm -f conftest.er1 | 5515 | rm -f conftest.er1 |
5503 | cat conftest.err >&5 | 5516 | cat conftest.err >&5 |
5504 | echo "$as_me:5504: \$? = $ac_status" >&5 | 5517 | echo "$as_me:5517: \$? = $ac_status" >&5 |
5505 | (exit $ac_status); } >/dev/null; then | 5518 | (exit $ac_status); } >/dev/null; then |
5506 | if test -s conftest.err; then | 5519 | if test -s conftest.err; then |
5507 | ac_cpp_err=$ac_c_preproc_warn_flag | 5520 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -5520,7 +5533,7 @@ else | |||
5520 | fi | 5533 | fi |
5521 | rm -f conftest.err conftest.$ac_ext | 5534 | rm -f conftest.err conftest.$ac_ext |
5522 | fi | 5535 | fi |
5523 | echo "$as_me:5523: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 5536 | echo "$as_me:5536: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5524 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 5537 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5525 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5538 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5526 | cat >>confdefs.h <<EOF | 5539 | cat >>confdefs.h <<EOF |
@@ -5537,13 +5550,13 @@ fi | |||
5537 | fi | 5550 | fi |
5538 | done | 5551 | done |
5539 | 5552 | ||
5540 | echo "$as_me:5540: checking for getspnam" >&5 | 5553 | echo "$as_me:5553: checking for getspnam" >&5 |
5541 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 | 5554 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 |
5542 | if test "${ac_cv_func_getspnam+set}" = set; then | 5555 | if test "${ac_cv_func_getspnam+set}" = set; then |
5543 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5556 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5544 | else | 5557 | else |
5545 | cat >conftest.$ac_ext <<_ACEOF | 5558 | cat >conftest.$ac_ext <<_ACEOF |
5546 | #line 5546 "configure" | 5559 | #line 5559 "configure" |
5547 | #include "confdefs.h" | 5560 | #include "confdefs.h" |
5548 | /* System header to define __stub macros and hopefully few prototypes, | 5561 | /* System header to define __stub macros and hopefully few prototypes, |
5549 | which can conflict with char getspnam (); below. */ | 5562 | which can conflict with char getspnam (); below. */ |
@@ -5574,16 +5587,16 @@ f = getspnam; | |||
5574 | } | 5587 | } |
5575 | _ACEOF | 5588 | _ACEOF |
5576 | rm -f conftest.$ac_objext conftest$ac_exeext | 5589 | rm -f conftest.$ac_objext conftest$ac_exeext |
5577 | if { (eval echo "$as_me:5577: \"$ac_link\"") >&5 | 5590 | if { (eval echo "$as_me:5590: \"$ac_link\"") >&5 |
5578 | (eval $ac_link) 2>&5 | 5591 | (eval $ac_link) 2>&5 |
5579 | ac_status=$? | 5592 | ac_status=$? |
5580 | echo "$as_me:5580: \$? = $ac_status" >&5 | 5593 | echo "$as_me:5593: \$? = $ac_status" >&5 |
5581 | (exit $ac_status); } && | 5594 | (exit $ac_status); } && |
5582 | { ac_try='test -s conftest$ac_exeext' | 5595 | { ac_try='test -s conftest$ac_exeext' |
5583 | { (eval echo "$as_me:5583: \"$ac_try\"") >&5 | 5596 | { (eval echo "$as_me:5596: \"$ac_try\"") >&5 |
5584 | (eval $ac_try) 2>&5 | 5597 | (eval $ac_try) 2>&5 |
5585 | ac_status=$? | 5598 | ac_status=$? |
5586 | echo "$as_me:5586: \$? = $ac_status" >&5 | 5599 | echo "$as_me:5599: \$? = $ac_status" >&5 |
5587 | (exit $ac_status); }; }; then | 5600 | (exit $ac_status); }; }; then |
5588 | ac_cv_func_getspnam=yes | 5601 | ac_cv_func_getspnam=yes |
5589 | else | 5602 | else |
@@ -5593,12 +5606,12 @@ ac_cv_func_getspnam=no | |||
5593 | fi | 5606 | fi |
5594 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5607 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5595 | fi | 5608 | fi |
5596 | echo "$as_me:5596: result: $ac_cv_func_getspnam" >&5 | 5609 | echo "$as_me:5609: result: $ac_cv_func_getspnam" >&5 |
5597 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6 | 5610 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6 |
5598 | if test $ac_cv_func_getspnam = yes; then | 5611 | if test $ac_cv_func_getspnam = yes; then |
5599 | : | 5612 | : |
5600 | else | 5613 | else |
5601 | echo "$as_me:5601: checking for getspnam in -lgen" >&5 | 5614 | echo "$as_me:5614: checking for getspnam in -lgen" >&5 |
5602 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 | 5615 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 |
5603 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then | 5616 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
5604 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5617 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5606,7 +5619,7 @@ else | |||
5606 | ac_check_lib_save_LIBS=$LIBS | 5619 | ac_check_lib_save_LIBS=$LIBS |
5607 | LIBS="-lgen $LIBS" | 5620 | LIBS="-lgen $LIBS" |
5608 | cat >conftest.$ac_ext <<_ACEOF | 5621 | cat >conftest.$ac_ext <<_ACEOF |
5609 | #line 5609 "configure" | 5622 | #line 5622 "configure" |
5610 | #include "confdefs.h" | 5623 | #include "confdefs.h" |
5611 | 5624 | ||
5612 | /* Override any gcc2 internal prototype to avoid an error. */ | 5625 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5625,16 +5638,16 @@ getspnam (); | |||
5625 | } | 5638 | } |
5626 | _ACEOF | 5639 | _ACEOF |
5627 | rm -f conftest.$ac_objext conftest$ac_exeext | 5640 | rm -f conftest.$ac_objext conftest$ac_exeext |
5628 | if { (eval echo "$as_me:5628: \"$ac_link\"") >&5 | 5641 | if { (eval echo "$as_me:5641: \"$ac_link\"") >&5 |
5629 | (eval $ac_link) 2>&5 | 5642 | (eval $ac_link) 2>&5 |
5630 | ac_status=$? | 5643 | ac_status=$? |
5631 | echo "$as_me:5631: \$? = $ac_status" >&5 | 5644 | echo "$as_me:5644: \$? = $ac_status" >&5 |
5632 | (exit $ac_status); } && | 5645 | (exit $ac_status); } && |
5633 | { ac_try='test -s conftest$ac_exeext' | 5646 | { ac_try='test -s conftest$ac_exeext' |
5634 | { (eval echo "$as_me:5634: \"$ac_try\"") >&5 | 5647 | { (eval echo "$as_me:5647: \"$ac_try\"") >&5 |
5635 | (eval $ac_try) 2>&5 | 5648 | (eval $ac_try) 2>&5 |
5636 | ac_status=$? | 5649 | ac_status=$? |
5637 | echo "$as_me:5637: \$? = $ac_status" >&5 | 5650 | echo "$as_me:5650: \$? = $ac_status" >&5 |
5638 | (exit $ac_status); }; }; then | 5651 | (exit $ac_status); }; }; then |
5639 | ac_cv_lib_gen_getspnam=yes | 5652 | ac_cv_lib_gen_getspnam=yes |
5640 | else | 5653 | else |
@@ -5645,7 +5658,7 @@ fi | |||
5645 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5658 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5646 | LIBS=$ac_check_lib_save_LIBS | 5659 | LIBS=$ac_check_lib_save_LIBS |
5647 | fi | 5660 | fi |
5648 | echo "$as_me:5648: result: $ac_cv_lib_gen_getspnam" >&5 | 5661 | echo "$as_me:5661: result: $ac_cv_lib_gen_getspnam" >&5 |
5649 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 | 5662 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 |
5650 | if test $ac_cv_lib_gen_getspnam = yes; then | 5663 | if test $ac_cv_lib_gen_getspnam = yes; then |
5651 | LIBS="$LIBS -lgen" | 5664 | LIBS="$LIBS -lgen" |
@@ -5653,7 +5666,7 @@ fi | |||
5653 | 5666 | ||
5654 | fi | 5667 | fi |
5655 | 5668 | ||
5656 | echo "$as_me:5656: checking for library containing basename" >&5 | 5669 | echo "$as_me:5669: checking for library containing basename" >&5 |
5657 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6 | 5670 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6 |
5658 | if test "${ac_cv_search_basename+set}" = set; then | 5671 | if test "${ac_cv_search_basename+set}" = set; then |
5659 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5672 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5661,7 +5674,7 @@ else | |||
5661 | ac_func_search_save_LIBS=$LIBS | 5674 | ac_func_search_save_LIBS=$LIBS |
5662 | ac_cv_search_basename=no | 5675 | ac_cv_search_basename=no |
5663 | cat >conftest.$ac_ext <<_ACEOF | 5676 | cat >conftest.$ac_ext <<_ACEOF |
5664 | #line 5664 "configure" | 5677 | #line 5677 "configure" |
5665 | #include "confdefs.h" | 5678 | #include "confdefs.h" |
5666 | 5679 | ||
5667 | /* Override any gcc2 internal prototype to avoid an error. */ | 5680 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5680,16 +5693,16 @@ basename (); | |||
5680 | } | 5693 | } |
5681 | _ACEOF | 5694 | _ACEOF |
5682 | rm -f conftest.$ac_objext conftest$ac_exeext | 5695 | rm -f conftest.$ac_objext conftest$ac_exeext |
5683 | if { (eval echo "$as_me:5683: \"$ac_link\"") >&5 | 5696 | if { (eval echo "$as_me:5696: \"$ac_link\"") >&5 |
5684 | (eval $ac_link) 2>&5 | 5697 | (eval $ac_link) 2>&5 |
5685 | ac_status=$? | 5698 | ac_status=$? |
5686 | echo "$as_me:5686: \$? = $ac_status" >&5 | 5699 | echo "$as_me:5699: \$? = $ac_status" >&5 |
5687 | (exit $ac_status); } && | 5700 | (exit $ac_status); } && |
5688 | { ac_try='test -s conftest$ac_exeext' | 5701 | { ac_try='test -s conftest$ac_exeext' |
5689 | { (eval echo "$as_me:5689: \"$ac_try\"") >&5 | 5702 | { (eval echo "$as_me:5702: \"$ac_try\"") >&5 |
5690 | (eval $ac_try) 2>&5 | 5703 | (eval $ac_try) 2>&5 |
5691 | ac_status=$? | 5704 | ac_status=$? |
5692 | echo "$as_me:5692: \$? = $ac_status" >&5 | 5705 | echo "$as_me:5705: \$? = $ac_status" >&5 |
5693 | (exit $ac_status); }; }; then | 5706 | (exit $ac_status); }; }; then |
5694 | ac_cv_search_basename="none required" | 5707 | ac_cv_search_basename="none required" |
5695 | else | 5708 | else |
@@ -5701,7 +5714,7 @@ if test "$ac_cv_search_basename" = no; then | |||
5701 | for ac_lib in gen; do | 5714 | for ac_lib in gen; do |
5702 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 5715 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
5703 | cat >conftest.$ac_ext <<_ACEOF | 5716 | cat >conftest.$ac_ext <<_ACEOF |
5704 | #line 5704 "configure" | 5717 | #line 5717 "configure" |
5705 | #include "confdefs.h" | 5718 | #include "confdefs.h" |
5706 | 5719 | ||
5707 | /* Override any gcc2 internal prototype to avoid an error. */ | 5720 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5720,16 +5733,16 @@ basename (); | |||
5720 | } | 5733 | } |
5721 | _ACEOF | 5734 | _ACEOF |
5722 | rm -f conftest.$ac_objext conftest$ac_exeext | 5735 | rm -f conftest.$ac_objext conftest$ac_exeext |
5723 | if { (eval echo "$as_me:5723: \"$ac_link\"") >&5 | 5736 | if { (eval echo "$as_me:5736: \"$ac_link\"") >&5 |
5724 | (eval $ac_link) 2>&5 | 5737 | (eval $ac_link) 2>&5 |
5725 | ac_status=$? | 5738 | ac_status=$? |
5726 | echo "$as_me:5726: \$? = $ac_status" >&5 | 5739 | echo "$as_me:5739: \$? = $ac_status" >&5 |
5727 | (exit $ac_status); } && | 5740 | (exit $ac_status); } && |
5728 | { ac_try='test -s conftest$ac_exeext' | 5741 | { ac_try='test -s conftest$ac_exeext' |
5729 | { (eval echo "$as_me:5729: \"$ac_try\"") >&5 | 5742 | { (eval echo "$as_me:5742: \"$ac_try\"") >&5 |
5730 | (eval $ac_try) 2>&5 | 5743 | (eval $ac_try) 2>&5 |
5731 | ac_status=$? | 5744 | ac_status=$? |
5732 | echo "$as_me:5732: \$? = $ac_status" >&5 | 5745 | echo "$as_me:5745: \$? = $ac_status" >&5 |
5733 | (exit $ac_status); }; }; then | 5746 | (exit $ac_status); }; }; then |
5734 | ac_cv_search_basename="-l$ac_lib" | 5747 | ac_cv_search_basename="-l$ac_lib" |
5735 | break | 5748 | break |
@@ -5742,7 +5755,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
5742 | fi | 5755 | fi |
5743 | LIBS=$ac_func_search_save_LIBS | 5756 | LIBS=$ac_func_search_save_LIBS |
5744 | fi | 5757 | fi |
5745 | echo "$as_me:5745: result: $ac_cv_search_basename" >&5 | 5758 | echo "$as_me:5758: result: $ac_cv_search_basename" >&5 |
5746 | echo "${ECHO_T}$ac_cv_search_basename" >&6 | 5759 | echo "${ECHO_T}$ac_cv_search_basename" >&6 |
5747 | if test "$ac_cv_search_basename" != no; then | 5760 | if test "$ac_cv_search_basename" != no; then |
5748 | test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" | 5761 | test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" |
@@ -5757,7 +5770,7 @@ if test "${with_zlib+set}" = set; then | |||
5757 | withval="$with_zlib" | 5770 | withval="$with_zlib" |
5758 | 5771 | ||
5759 | if test "x$withval" = "xno" ; then | 5772 | if test "x$withval" = "xno" ; then |
5760 | { { echo "$as_me:5760: error: *** zlib is required ***" >&5 | 5773 | { { echo "$as_me:5773: error: *** zlib is required ***" >&5 |
5761 | echo "$as_me: error: *** zlib is required ***" >&2;} | 5774 | echo "$as_me: error: *** zlib is required ***" >&2;} |
5762 | { (exit 1); exit 1; }; } | 5775 | { (exit 1); exit 1; }; } |
5763 | fi | 5776 | fi |
@@ -5782,7 +5795,7 @@ echo "$as_me: error: *** zlib is required ***" >&2;} | |||
5782 | 5795 | ||
5783 | fi; | 5796 | fi; |
5784 | 5797 | ||
5785 | echo "$as_me:5785: checking for deflate in -lz" >&5 | 5798 | echo "$as_me:5798: checking for deflate in -lz" >&5 |
5786 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 | 5799 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 |
5787 | if test "${ac_cv_lib_z_deflate+set}" = set; then | 5800 | if test "${ac_cv_lib_z_deflate+set}" = set; then |
5788 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5801 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5790,7 +5803,7 @@ else | |||
5790 | ac_check_lib_save_LIBS=$LIBS | 5803 | ac_check_lib_save_LIBS=$LIBS |
5791 | LIBS="-lz $LIBS" | 5804 | LIBS="-lz $LIBS" |
5792 | cat >conftest.$ac_ext <<_ACEOF | 5805 | cat >conftest.$ac_ext <<_ACEOF |
5793 | #line 5793 "configure" | 5806 | #line 5806 "configure" |
5794 | #include "confdefs.h" | 5807 | #include "confdefs.h" |
5795 | 5808 | ||
5796 | /* Override any gcc2 internal prototype to avoid an error. */ | 5809 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5809,16 +5822,16 @@ deflate (); | |||
5809 | } | 5822 | } |
5810 | _ACEOF | 5823 | _ACEOF |
5811 | rm -f conftest.$ac_objext conftest$ac_exeext | 5824 | rm -f conftest.$ac_objext conftest$ac_exeext |
5812 | if { (eval echo "$as_me:5812: \"$ac_link\"") >&5 | 5825 | if { (eval echo "$as_me:5825: \"$ac_link\"") >&5 |
5813 | (eval $ac_link) 2>&5 | 5826 | (eval $ac_link) 2>&5 |
5814 | ac_status=$? | 5827 | ac_status=$? |
5815 | echo "$as_me:5815: \$? = $ac_status" >&5 | 5828 | echo "$as_me:5828: \$? = $ac_status" >&5 |
5816 | (exit $ac_status); } && | 5829 | (exit $ac_status); } && |
5817 | { ac_try='test -s conftest$ac_exeext' | 5830 | { ac_try='test -s conftest$ac_exeext' |
5818 | { (eval echo "$as_me:5818: \"$ac_try\"") >&5 | 5831 | { (eval echo "$as_me:5831: \"$ac_try\"") >&5 |
5819 | (eval $ac_try) 2>&5 | 5832 | (eval $ac_try) 2>&5 |
5820 | ac_status=$? | 5833 | ac_status=$? |
5821 | echo "$as_me:5821: \$? = $ac_status" >&5 | 5834 | echo "$as_me:5834: \$? = $ac_status" >&5 |
5822 | (exit $ac_status); }; }; then | 5835 | (exit $ac_status); }; }; then |
5823 | ac_cv_lib_z_deflate=yes | 5836 | ac_cv_lib_z_deflate=yes |
5824 | else | 5837 | else |
@@ -5829,7 +5842,7 @@ fi | |||
5829 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5842 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5830 | LIBS=$ac_check_lib_save_LIBS | 5843 | LIBS=$ac_check_lib_save_LIBS |
5831 | fi | 5844 | fi |
5832 | echo "$as_me:5832: result: $ac_cv_lib_z_deflate" >&5 | 5845 | echo "$as_me:5845: result: $ac_cv_lib_z_deflate" >&5 |
5833 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 | 5846 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 |
5834 | if test $ac_cv_lib_z_deflate = yes; then | 5847 | if test $ac_cv_lib_z_deflate = yes; then |
5835 | cat >>confdefs.h <<EOF | 5848 | cat >>confdefs.h <<EOF |
@@ -5851,7 +5864,7 @@ else | |||
5851 | CPPFLAGS="-I/usr/local/include ${saved_CPPFLAGS}" | 5864 | CPPFLAGS="-I/usr/local/include ${saved_CPPFLAGS}" |
5852 | LIBS="$LIBS -lz" | 5865 | LIBS="$LIBS -lz" |
5853 | cat >conftest.$ac_ext <<_ACEOF | 5866 | cat >conftest.$ac_ext <<_ACEOF |
5854 | #line 5854 "configure" | 5867 | #line 5867 "configure" |
5855 | #include "confdefs.h" | 5868 | #include "confdefs.h" |
5856 | 5869 | ||
5857 | /* Override any gcc2 internal prototype to avoid an error. */ | 5870 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -5870,16 +5883,16 @@ deflate (); | |||
5870 | } | 5883 | } |
5871 | _ACEOF | 5884 | _ACEOF |
5872 | rm -f conftest.$ac_objext conftest$ac_exeext | 5885 | rm -f conftest.$ac_objext conftest$ac_exeext |
5873 | if { (eval echo "$as_me:5873: \"$ac_link\"") >&5 | 5886 | if { (eval echo "$as_me:5886: \"$ac_link\"") >&5 |
5874 | (eval $ac_link) 2>&5 | 5887 | (eval $ac_link) 2>&5 |
5875 | ac_status=$? | 5888 | ac_status=$? |
5876 | echo "$as_me:5876: \$? = $ac_status" >&5 | 5889 | echo "$as_me:5889: \$? = $ac_status" >&5 |
5877 | (exit $ac_status); } && | 5890 | (exit $ac_status); } && |
5878 | { ac_try='test -s conftest$ac_exeext' | 5891 | { ac_try='test -s conftest$ac_exeext' |
5879 | { (eval echo "$as_me:5879: \"$ac_try\"") >&5 | 5892 | { (eval echo "$as_me:5892: \"$ac_try\"") >&5 |
5880 | (eval $ac_try) 2>&5 | 5893 | (eval $ac_try) 2>&5 |
5881 | ac_status=$? | 5894 | ac_status=$? |
5882 | echo "$as_me:5882: \$? = $ac_status" >&5 | 5895 | echo "$as_me:5895: \$? = $ac_status" >&5 |
5883 | (exit $ac_status); }; }; then | 5896 | (exit $ac_status); }; }; then |
5884 | cat >>confdefs.h <<\EOF | 5897 | cat >>confdefs.h <<\EOF |
5885 | #define HAVE_LIBZ 1 | 5898 | #define HAVE_LIBZ 1 |
@@ -5889,7 +5902,7 @@ else | |||
5889 | echo "$as_me: failed program was:" >&5 | 5902 | echo "$as_me: failed program was:" >&5 |
5890 | cat conftest.$ac_ext >&5 | 5903 | cat conftest.$ac_ext >&5 |
5891 | 5904 | ||
5892 | { { echo "$as_me:5892: error: *** zlib missing - please install first or check config.log ***" >&5 | 5905 | { { echo "$as_me:5905: error: *** zlib missing - please install first or check config.log ***" >&5 |
5893 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} | 5906 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} |
5894 | { (exit 1); exit 1; }; } | 5907 | { (exit 1); exit 1; }; } |
5895 | 5908 | ||
@@ -5898,23 +5911,23 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
5898 | 5911 | ||
5899 | fi | 5912 | fi |
5900 | 5913 | ||
5901 | echo "$as_me:5901: checking for zlib.h" >&5 | 5914 | echo "$as_me:5914: checking for zlib.h" >&5 |
5902 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | 5915 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
5903 | if test "${ac_cv_header_zlib_h+set}" = set; then | 5916 | if test "${ac_cv_header_zlib_h+set}" = set; then |
5904 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5917 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5905 | else | 5918 | else |
5906 | cat >conftest.$ac_ext <<_ACEOF | 5919 | cat >conftest.$ac_ext <<_ACEOF |
5907 | #line 5907 "configure" | 5920 | #line 5920 "configure" |
5908 | #include "confdefs.h" | 5921 | #include "confdefs.h" |
5909 | #include <zlib.h> | 5922 | #include <zlib.h> |
5910 | _ACEOF | 5923 | _ACEOF |
5911 | if { (eval echo "$as_me:5911: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5924 | if { (eval echo "$as_me:5924: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5912 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5925 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5913 | ac_status=$? | 5926 | ac_status=$? |
5914 | egrep -v '^ *\+' conftest.er1 >conftest.err | 5927 | egrep -v '^ *\+' conftest.er1 >conftest.err |
5915 | rm -f conftest.er1 | 5928 | rm -f conftest.er1 |
5916 | cat conftest.err >&5 | 5929 | cat conftest.err >&5 |
5917 | echo "$as_me:5917: \$? = $ac_status" >&5 | 5930 | echo "$as_me:5930: \$? = $ac_status" >&5 |
5918 | (exit $ac_status); } >/dev/null; then | 5931 | (exit $ac_status); } >/dev/null; then |
5919 | if test -s conftest.err; then | 5932 | if test -s conftest.err; then |
5920 | ac_cpp_err=$ac_c_preproc_warn_flag | 5933 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -5933,12 +5946,12 @@ else | |||
5933 | fi | 5946 | fi |
5934 | rm -f conftest.err conftest.$ac_ext | 5947 | rm -f conftest.err conftest.$ac_ext |
5935 | fi | 5948 | fi |
5936 | echo "$as_me:5936: result: $ac_cv_header_zlib_h" >&5 | 5949 | echo "$as_me:5949: result: $ac_cv_header_zlib_h" >&5 |
5937 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | 5950 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
5938 | if test $ac_cv_header_zlib_h = yes; then | 5951 | if test $ac_cv_header_zlib_h = yes; then |
5939 | : | 5952 | : |
5940 | else | 5953 | else |
5941 | { { echo "$as_me:5941: error: *** zlib.h missing - please install first or check config.log ***" >&5 | 5954 | { { echo "$as_me:5954: error: *** zlib.h missing - please install first or check config.log ***" >&5 |
5942 | echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;} | 5955 | echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;} |
5943 | { (exit 1); exit 1; }; } | 5956 | { (exit 1); exit 1; }; } |
5944 | fi | 5957 | fi |
@@ -5952,15 +5965,15 @@ if test "${with_zlib_version_check+set}" = set; then | |||
5952 | 5965 | ||
5953 | fi; | 5966 | fi; |
5954 | 5967 | ||
5955 | echo "$as_me:5955: checking for zlib 1.1.4 or greater" >&5 | 5968 | echo "$as_me:5968: checking for zlib 1.1.4 or greater" >&5 |
5956 | echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6 | 5969 | echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6 |
5957 | if test "$cross_compiling" = yes; then | 5970 | if test "$cross_compiling" = yes; then |
5958 | { { echo "$as_me:5958: error: cannot run test program while cross compiling" >&5 | 5971 | { { echo "$as_me:5971: error: cannot run test program while cross compiling" >&5 |
5959 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 5972 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
5960 | { (exit 1); exit 1; }; } | 5973 | { (exit 1); exit 1; }; } |
5961 | else | 5974 | else |
5962 | cat >conftest.$ac_ext <<_ACEOF | 5975 | cat >conftest.$ac_ext <<_ACEOF |
5963 | #line 5963 "configure" | 5976 | #line 5976 "configure" |
5964 | #include "confdefs.h" | 5977 | #include "confdefs.h" |
5965 | 5978 | ||
5966 | #include <zlib.h> | 5979 | #include <zlib.h> |
@@ -5977,26 +5990,26 @@ int main() | |||
5977 | 5990 | ||
5978 | _ACEOF | 5991 | _ACEOF |
5979 | rm -f conftest$ac_exeext | 5992 | rm -f conftest$ac_exeext |
5980 | if { (eval echo "$as_me:5980: \"$ac_link\"") >&5 | 5993 | if { (eval echo "$as_me:5993: \"$ac_link\"") >&5 |
5981 | (eval $ac_link) 2>&5 | 5994 | (eval $ac_link) 2>&5 |
5982 | ac_status=$? | 5995 | ac_status=$? |
5983 | echo "$as_me:5983: \$? = $ac_status" >&5 | 5996 | echo "$as_me:5996: \$? = $ac_status" >&5 |
5984 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 5997 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5985 | { (eval echo "$as_me:5985: \"$ac_try\"") >&5 | 5998 | { (eval echo "$as_me:5998: \"$ac_try\"") >&5 |
5986 | (eval $ac_try) 2>&5 | 5999 | (eval $ac_try) 2>&5 |
5987 | ac_status=$? | 6000 | ac_status=$? |
5988 | echo "$as_me:5988: \$? = $ac_status" >&5 | 6001 | echo "$as_me:6001: \$? = $ac_status" >&5 |
5989 | (exit $ac_status); }; }; then | 6002 | (exit $ac_status); }; }; then |
5990 | echo "$as_me:5990: result: yes" >&5 | 6003 | echo "$as_me:6003: result: yes" >&5 |
5991 | echo "${ECHO_T}yes" >&6 | 6004 | echo "${ECHO_T}yes" >&6 |
5992 | else | 6005 | else |
5993 | echo "$as_me: program exited with status $ac_status" >&5 | 6006 | echo "$as_me: program exited with status $ac_status" >&5 |
5994 | echo "$as_me: failed program was:" >&5 | 6007 | echo "$as_me: failed program was:" >&5 |
5995 | cat conftest.$ac_ext >&5 | 6008 | cat conftest.$ac_ext >&5 |
5996 | echo "$as_me:5996: result: no" >&5 | 6009 | echo "$as_me:6009: result: no" >&5 |
5997 | echo "${ECHO_T}no" >&6 | 6010 | echo "${ECHO_T}no" >&6 |
5998 | if test -z "$zlib_check_nonfatal" ; then | 6011 | if test -z "$zlib_check_nonfatal" ; then |
5999 | { { echo "$as_me:5999: error: *** zlib too old - check config.log *** | 6012 | { { echo "$as_me:6012: error: *** zlib too old - check config.log *** |
6000 | Your reported zlib version has known security problems. It's possible your | 6013 | Your reported zlib version has known security problems. It's possible your |
6001 | vendor has fixed these problems without changing the version number. If you | 6014 | vendor has fixed these problems without changing the version number. If you |
6002 | are sure this is the case, you can disable the check by running | 6015 | are sure this is the case, you can disable the check by running |
@@ -6010,7 +6023,7 @@ are sure this is the case, you can disable the check by running | |||
6010 | If you are in doubt, upgrade zlib to version 1.1.4 or greater." >&2;} | 6023 | If you are in doubt, upgrade zlib to version 1.1.4 or greater." >&2;} |
6011 | { (exit 1); exit 1; }; } | 6024 | { (exit 1); exit 1; }; } |
6012 | else | 6025 | else |
6013 | { echo "$as_me:6013: WARNING: zlib version may have security problems" >&5 | 6026 | { echo "$as_me:6026: WARNING: zlib version may have security problems" >&5 |
6014 | echo "$as_me: WARNING: zlib version may have security problems" >&2;} | 6027 | echo "$as_me: WARNING: zlib version may have security problems" >&2;} |
6015 | fi | 6028 | fi |
6016 | 6029 | ||
@@ -6018,13 +6031,13 @@ fi | |||
6018 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6031 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6019 | fi | 6032 | fi |
6020 | 6033 | ||
6021 | echo "$as_me:6021: checking for strcasecmp" >&5 | 6034 | echo "$as_me:6034: checking for strcasecmp" >&5 |
6022 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 | 6035 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 |
6023 | if test "${ac_cv_func_strcasecmp+set}" = set; then | 6036 | if test "${ac_cv_func_strcasecmp+set}" = set; then |
6024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6037 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6025 | else | 6038 | else |
6026 | cat >conftest.$ac_ext <<_ACEOF | 6039 | cat >conftest.$ac_ext <<_ACEOF |
6027 | #line 6027 "configure" | 6040 | #line 6040 "configure" |
6028 | #include "confdefs.h" | 6041 | #include "confdefs.h" |
6029 | /* System header to define __stub macros and hopefully few prototypes, | 6042 | /* System header to define __stub macros and hopefully few prototypes, |
6030 | which can conflict with char strcasecmp (); below. */ | 6043 | which can conflict with char strcasecmp (); below. */ |
@@ -6055,16 +6068,16 @@ f = strcasecmp; | |||
6055 | } | 6068 | } |
6056 | _ACEOF | 6069 | _ACEOF |
6057 | rm -f conftest.$ac_objext conftest$ac_exeext | 6070 | rm -f conftest.$ac_objext conftest$ac_exeext |
6058 | if { (eval echo "$as_me:6058: \"$ac_link\"") >&5 | 6071 | if { (eval echo "$as_me:6071: \"$ac_link\"") >&5 |
6059 | (eval $ac_link) 2>&5 | 6072 | (eval $ac_link) 2>&5 |
6060 | ac_status=$? | 6073 | ac_status=$? |
6061 | echo "$as_me:6061: \$? = $ac_status" >&5 | 6074 | echo "$as_me:6074: \$? = $ac_status" >&5 |
6062 | (exit $ac_status); } && | 6075 | (exit $ac_status); } && |
6063 | { ac_try='test -s conftest$ac_exeext' | 6076 | { ac_try='test -s conftest$ac_exeext' |
6064 | { (eval echo "$as_me:6064: \"$ac_try\"") >&5 | 6077 | { (eval echo "$as_me:6077: \"$ac_try\"") >&5 |
6065 | (eval $ac_try) 2>&5 | 6078 | (eval $ac_try) 2>&5 |
6066 | ac_status=$? | 6079 | ac_status=$? |
6067 | echo "$as_me:6067: \$? = $ac_status" >&5 | 6080 | echo "$as_me:6080: \$? = $ac_status" >&5 |
6068 | (exit $ac_status); }; }; then | 6081 | (exit $ac_status); }; }; then |
6069 | ac_cv_func_strcasecmp=yes | 6082 | ac_cv_func_strcasecmp=yes |
6070 | else | 6083 | else |
@@ -6074,12 +6087,12 @@ ac_cv_func_strcasecmp=no | |||
6074 | fi | 6087 | fi |
6075 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6088 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6076 | fi | 6089 | fi |
6077 | echo "$as_me:6077: result: $ac_cv_func_strcasecmp" >&5 | 6090 | echo "$as_me:6090: result: $ac_cv_func_strcasecmp" >&5 |
6078 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 | 6091 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 |
6079 | if test $ac_cv_func_strcasecmp = yes; then | 6092 | if test $ac_cv_func_strcasecmp = yes; then |
6080 | : | 6093 | : |
6081 | else | 6094 | else |
6082 | echo "$as_me:6082: checking for strcasecmp in -lresolv" >&5 | 6095 | echo "$as_me:6095: checking for strcasecmp in -lresolv" >&5 |
6083 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 | 6096 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 |
6084 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then | 6097 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then |
6085 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6098 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -6087,7 +6100,7 @@ else | |||
6087 | ac_check_lib_save_LIBS=$LIBS | 6100 | ac_check_lib_save_LIBS=$LIBS |
6088 | LIBS="-lresolv $LIBS" | 6101 | LIBS="-lresolv $LIBS" |
6089 | cat >conftest.$ac_ext <<_ACEOF | 6102 | cat >conftest.$ac_ext <<_ACEOF |
6090 | #line 6090 "configure" | 6103 | #line 6103 "configure" |
6091 | #include "confdefs.h" | 6104 | #include "confdefs.h" |
6092 | 6105 | ||
6093 | /* Override any gcc2 internal prototype to avoid an error. */ | 6106 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -6106,16 +6119,16 @@ strcasecmp (); | |||
6106 | } | 6119 | } |
6107 | _ACEOF | 6120 | _ACEOF |
6108 | rm -f conftest.$ac_objext conftest$ac_exeext | 6121 | rm -f conftest.$ac_objext conftest$ac_exeext |
6109 | if { (eval echo "$as_me:6109: \"$ac_link\"") >&5 | 6122 | if { (eval echo "$as_me:6122: \"$ac_link\"") >&5 |
6110 | (eval $ac_link) 2>&5 | 6123 | (eval $ac_link) 2>&5 |
6111 | ac_status=$? | 6124 | ac_status=$? |
6112 | echo "$as_me:6112: \$? = $ac_status" >&5 | 6125 | echo "$as_me:6125: \$? = $ac_status" >&5 |
6113 | (exit $ac_status); } && | 6126 | (exit $ac_status); } && |
6114 | { ac_try='test -s conftest$ac_exeext' | 6127 | { ac_try='test -s conftest$ac_exeext' |
6115 | { (eval echo "$as_me:6115: \"$ac_try\"") >&5 | 6128 | { (eval echo "$as_me:6128: \"$ac_try\"") >&5 |
6116 | (eval $ac_try) 2>&5 | 6129 | (eval $ac_try) 2>&5 |
6117 | ac_status=$? | 6130 | ac_status=$? |
6118 | echo "$as_me:6118: \$? = $ac_status" >&5 | 6131 | echo "$as_me:6131: \$? = $ac_status" >&5 |
6119 | (exit $ac_status); }; }; then | 6132 | (exit $ac_status); }; }; then |
6120 | ac_cv_lib_resolv_strcasecmp=yes | 6133 | ac_cv_lib_resolv_strcasecmp=yes |
6121 | else | 6134 | else |
@@ -6126,7 +6139,7 @@ fi | |||
6126 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6139 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6127 | LIBS=$ac_check_lib_save_LIBS | 6140 | LIBS=$ac_check_lib_save_LIBS |
6128 | fi | 6141 | fi |
6129 | echo "$as_me:6129: result: $ac_cv_lib_resolv_strcasecmp" >&5 | 6142 | echo "$as_me:6142: result: $ac_cv_lib_resolv_strcasecmp" >&5 |
6130 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 | 6143 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 |
6131 | if test $ac_cv_lib_resolv_strcasecmp = yes; then | 6144 | if test $ac_cv_lib_resolv_strcasecmp = yes; then |
6132 | LIBS="$LIBS -lresolv" | 6145 | LIBS="$LIBS -lresolv" |
@@ -6134,13 +6147,13 @@ fi | |||
6134 | 6147 | ||
6135 | fi | 6148 | fi |
6136 | 6149 | ||
6137 | echo "$as_me:6137: checking for utimes" >&5 | 6150 | echo "$as_me:6150: checking for utimes" >&5 |
6138 | echo $ECHO_N "checking for utimes... $ECHO_C" >&6 | 6151 | echo $ECHO_N "checking for utimes... $ECHO_C" >&6 |
6139 | if test "${ac_cv_func_utimes+set}" = set; then | 6152 | if test "${ac_cv_func_utimes+set}" = set; then |
6140 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6153 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6141 | else | 6154 | else |
6142 | cat >conftest.$ac_ext <<_ACEOF | 6155 | cat >conftest.$ac_ext <<_ACEOF |
6143 | #line 6143 "configure" | 6156 | #line 6156 "configure" |
6144 | #include "confdefs.h" | 6157 | #include "confdefs.h" |
6145 | /* System header to define __stub macros and hopefully few prototypes, | 6158 | /* System header to define __stub macros and hopefully few prototypes, |
6146 | which can conflict with char utimes (); below. */ | 6159 | which can conflict with char utimes (); below. */ |
@@ -6171,16 +6184,16 @@ f = utimes; | |||
6171 | } | 6184 | } |
6172 | _ACEOF | 6185 | _ACEOF |
6173 | rm -f conftest.$ac_objext conftest$ac_exeext | 6186 | rm -f conftest.$ac_objext conftest$ac_exeext |
6174 | if { (eval echo "$as_me:6174: \"$ac_link\"") >&5 | 6187 | if { (eval echo "$as_me:6187: \"$ac_link\"") >&5 |
6175 | (eval $ac_link) 2>&5 | 6188 | (eval $ac_link) 2>&5 |
6176 | ac_status=$? | 6189 | ac_status=$? |
6177 | echo "$as_me:6177: \$? = $ac_status" >&5 | 6190 | echo "$as_me:6190: \$? = $ac_status" >&5 |
6178 | (exit $ac_status); } && | 6191 | (exit $ac_status); } && |
6179 | { ac_try='test -s conftest$ac_exeext' | 6192 | { ac_try='test -s conftest$ac_exeext' |
6180 | { (eval echo "$as_me:6180: \"$ac_try\"") >&5 | 6193 | { (eval echo "$as_me:6193: \"$ac_try\"") >&5 |
6181 | (eval $ac_try) 2>&5 | 6194 | (eval $ac_try) 2>&5 |
6182 | ac_status=$? | 6195 | ac_status=$? |
6183 | echo "$as_me:6183: \$? = $ac_status" >&5 | 6196 | echo "$as_me:6196: \$? = $ac_status" >&5 |
6184 | (exit $ac_status); }; }; then | 6197 | (exit $ac_status); }; }; then |
6185 | ac_cv_func_utimes=yes | 6198 | ac_cv_func_utimes=yes |
6186 | else | 6199 | else |
@@ -6190,12 +6203,12 @@ ac_cv_func_utimes=no | |||
6190 | fi | 6203 | fi |
6191 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6204 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6192 | fi | 6205 | fi |
6193 | echo "$as_me:6193: result: $ac_cv_func_utimes" >&5 | 6206 | echo "$as_me:6206: result: $ac_cv_func_utimes" >&5 |
6194 | echo "${ECHO_T}$ac_cv_func_utimes" >&6 | 6207 | echo "${ECHO_T}$ac_cv_func_utimes" >&6 |
6195 | if test $ac_cv_func_utimes = yes; then | 6208 | if test $ac_cv_func_utimes = yes; then |
6196 | : | 6209 | : |
6197 | else | 6210 | else |
6198 | echo "$as_me:6198: checking for utimes in -lc89" >&5 | 6211 | echo "$as_me:6211: checking for utimes in -lc89" >&5 |
6199 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 | 6212 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 |
6200 | if test "${ac_cv_lib_c89_utimes+set}" = set; then | 6213 | if test "${ac_cv_lib_c89_utimes+set}" = set; then |
6201 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6214 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -6203,7 +6216,7 @@ else | |||
6203 | ac_check_lib_save_LIBS=$LIBS | 6216 | ac_check_lib_save_LIBS=$LIBS |
6204 | LIBS="-lc89 $LIBS" | 6217 | LIBS="-lc89 $LIBS" |
6205 | cat >conftest.$ac_ext <<_ACEOF | 6218 | cat >conftest.$ac_ext <<_ACEOF |
6206 | #line 6206 "configure" | 6219 | #line 6219 "configure" |
6207 | #include "confdefs.h" | 6220 | #include "confdefs.h" |
6208 | 6221 | ||
6209 | /* Override any gcc2 internal prototype to avoid an error. */ | 6222 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -6222,16 +6235,16 @@ utimes (); | |||
6222 | } | 6235 | } |
6223 | _ACEOF | 6236 | _ACEOF |
6224 | rm -f conftest.$ac_objext conftest$ac_exeext | 6237 | rm -f conftest.$ac_objext conftest$ac_exeext |
6225 | if { (eval echo "$as_me:6225: \"$ac_link\"") >&5 | 6238 | if { (eval echo "$as_me:6238: \"$ac_link\"") >&5 |
6226 | (eval $ac_link) 2>&5 | 6239 | (eval $ac_link) 2>&5 |
6227 | ac_status=$? | 6240 | ac_status=$? |
6228 | echo "$as_me:6228: \$? = $ac_status" >&5 | 6241 | echo "$as_me:6241: \$? = $ac_status" >&5 |
6229 | (exit $ac_status); } && | 6242 | (exit $ac_status); } && |
6230 | { ac_try='test -s conftest$ac_exeext' | 6243 | { ac_try='test -s conftest$ac_exeext' |
6231 | { (eval echo "$as_me:6231: \"$ac_try\"") >&5 | 6244 | { (eval echo "$as_me:6244: \"$ac_try\"") >&5 |
6232 | (eval $ac_try) 2>&5 | 6245 | (eval $ac_try) 2>&5 |
6233 | ac_status=$? | 6246 | ac_status=$? |
6234 | echo "$as_me:6234: \$? = $ac_status" >&5 | 6247 | echo "$as_me:6247: \$? = $ac_status" >&5 |
6235 | (exit $ac_status); }; }; then | 6248 | (exit $ac_status); }; }; then |
6236 | ac_cv_lib_c89_utimes=yes | 6249 | ac_cv_lib_c89_utimes=yes |
6237 | else | 6250 | else |
@@ -6242,7 +6255,7 @@ fi | |||
6242 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6255 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6243 | LIBS=$ac_check_lib_save_LIBS | 6256 | LIBS=$ac_check_lib_save_LIBS |
6244 | fi | 6257 | fi |
6245 | echo "$as_me:6245: result: $ac_cv_lib_c89_utimes" >&5 | 6258 | echo "$as_me:6258: result: $ac_cv_lib_c89_utimes" >&5 |
6246 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 | 6259 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 |
6247 | if test $ac_cv_lib_c89_utimes = yes; then | 6260 | if test $ac_cv_lib_c89_utimes = yes; then |
6248 | cat >>confdefs.h <<\EOF | 6261 | cat >>confdefs.h <<\EOF |
@@ -6257,23 +6270,23 @@ fi | |||
6257 | for ac_header in libutil.h | 6270 | for ac_header in libutil.h |
6258 | do | 6271 | do |
6259 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6272 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6260 | echo "$as_me:6260: checking for $ac_header" >&5 | 6273 | echo "$as_me:6273: checking for $ac_header" >&5 |
6261 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6274 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6262 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6275 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6263 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6276 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6264 | else | 6277 | else |
6265 | cat >conftest.$ac_ext <<_ACEOF | 6278 | cat >conftest.$ac_ext <<_ACEOF |
6266 | #line 6266 "configure" | 6279 | #line 6279 "configure" |
6267 | #include "confdefs.h" | 6280 | #include "confdefs.h" |
6268 | #include <$ac_header> | 6281 | #include <$ac_header> |
6269 | _ACEOF | 6282 | _ACEOF |
6270 | if { (eval echo "$as_me:6270: \"$ac_cpp conftest.$ac_ext\"") >&5 | 6283 | if { (eval echo "$as_me:6283: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6271 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6284 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6272 | ac_status=$? | 6285 | ac_status=$? |
6273 | egrep -v '^ *\+' conftest.er1 >conftest.err | 6286 | egrep -v '^ *\+' conftest.er1 >conftest.err |
6274 | rm -f conftest.er1 | 6287 | rm -f conftest.er1 |
6275 | cat conftest.err >&5 | 6288 | cat conftest.err >&5 |
6276 | echo "$as_me:6276: \$? = $ac_status" >&5 | 6289 | echo "$as_me:6289: \$? = $ac_status" >&5 |
6277 | (exit $ac_status); } >/dev/null; then | 6290 | (exit $ac_status); } >/dev/null; then |
6278 | if test -s conftest.err; then | 6291 | if test -s conftest.err; then |
6279 | ac_cpp_err=$ac_c_preproc_warn_flag | 6292 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -6292,7 +6305,7 @@ else | |||
6292 | fi | 6305 | fi |
6293 | rm -f conftest.err conftest.$ac_ext | 6306 | rm -f conftest.err conftest.$ac_ext |
6294 | fi | 6307 | fi |
6295 | echo "$as_me:6295: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6308 | echo "$as_me:6308: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6296 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6309 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6297 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6310 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6298 | cat >>confdefs.h <<EOF | 6311 | cat >>confdefs.h <<EOF |
@@ -6302,7 +6315,7 @@ EOF | |||
6302 | fi | 6315 | fi |
6303 | done | 6316 | done |
6304 | 6317 | ||
6305 | echo "$as_me:6305: checking for library containing login" >&5 | 6318 | echo "$as_me:6318: checking for library containing login" >&5 |
6306 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 | 6319 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 |
6307 | if test "${ac_cv_search_login+set}" = set; then | 6320 | if test "${ac_cv_search_login+set}" = set; then |
6308 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6321 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -6310,7 +6323,7 @@ else | |||
6310 | ac_func_search_save_LIBS=$LIBS | 6323 | ac_func_search_save_LIBS=$LIBS |
6311 | ac_cv_search_login=no | 6324 | ac_cv_search_login=no |
6312 | cat >conftest.$ac_ext <<_ACEOF | 6325 | cat >conftest.$ac_ext <<_ACEOF |
6313 | #line 6313 "configure" | 6326 | #line 6326 "configure" |
6314 | #include "confdefs.h" | 6327 | #include "confdefs.h" |
6315 | 6328 | ||
6316 | /* Override any gcc2 internal prototype to avoid an error. */ | 6329 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -6329,16 +6342,16 @@ login (); | |||
6329 | } | 6342 | } |
6330 | _ACEOF | 6343 | _ACEOF |
6331 | rm -f conftest.$ac_objext conftest$ac_exeext | 6344 | rm -f conftest.$ac_objext conftest$ac_exeext |
6332 | if { (eval echo "$as_me:6332: \"$ac_link\"") >&5 | 6345 | if { (eval echo "$as_me:6345: \"$ac_link\"") >&5 |
6333 | (eval $ac_link) 2>&5 | 6346 | (eval $ac_link) 2>&5 |
6334 | ac_status=$? | 6347 | ac_status=$? |
6335 | echo "$as_me:6335: \$? = $ac_status" >&5 | 6348 | echo "$as_me:6348: \$? = $ac_status" >&5 |
6336 | (exit $ac_status); } && | 6349 | (exit $ac_status); } && |
6337 | { ac_try='test -s conftest$ac_exeext' | 6350 | { ac_try='test -s conftest$ac_exeext' |
6338 | { (eval echo "$as_me:6338: \"$ac_try\"") >&5 | 6351 | { (eval echo "$as_me:6351: \"$ac_try\"") >&5 |
6339 | (eval $ac_try) 2>&5 | 6352 | (eval $ac_try) 2>&5 |
6340 | ac_status=$? | 6353 | ac_status=$? |
6341 | echo "$as_me:6341: \$? = $ac_status" >&5 | 6354 | echo "$as_me:6354: \$? = $ac_status" >&5 |
6342 | (exit $ac_status); }; }; then | 6355 | (exit $ac_status); }; }; then |
6343 | ac_cv_search_login="none required" | 6356 | ac_cv_search_login="none required" |
6344 | else | 6357 | else |
@@ -6350,7 +6363,7 @@ if test "$ac_cv_search_login" = no; then | |||
6350 | for ac_lib in util bsd; do | 6363 | for ac_lib in util bsd; do |
6351 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 6364 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
6352 | cat >conftest.$ac_ext <<_ACEOF | 6365 | cat >conftest.$ac_ext <<_ACEOF |
6353 | #line 6353 "configure" | 6366 | #line 6366 "configure" |
6354 | #include "confdefs.h" | 6367 | #include "confdefs.h" |
6355 | 6368 | ||
6356 | /* Override any gcc2 internal prototype to avoid an error. */ | 6369 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -6369,16 +6382,16 @@ login (); | |||
6369 | } | 6382 | } |
6370 | _ACEOF | 6383 | _ACEOF |
6371 | rm -f conftest.$ac_objext conftest$ac_exeext | 6384 | rm -f conftest.$ac_objext conftest$ac_exeext |
6372 | if { (eval echo "$as_me:6372: \"$ac_link\"") >&5 | 6385 | if { (eval echo "$as_me:6385: \"$ac_link\"") >&5 |
6373 | (eval $ac_link) 2>&5 | 6386 | (eval $ac_link) 2>&5 |
6374 | ac_status=$? | 6387 | ac_status=$? |
6375 | echo "$as_me:6375: \$? = $ac_status" >&5 | 6388 | echo "$as_me:6388: \$? = $ac_status" >&5 |
6376 | (exit $ac_status); } && | 6389 | (exit $ac_status); } && |
6377 | { ac_try='test -s conftest$ac_exeext' | 6390 | { ac_try='test -s conftest$ac_exeext' |
6378 | { (eval echo "$as_me:6378: \"$ac_try\"") >&5 | 6391 | { (eval echo "$as_me:6391: \"$ac_try\"") >&5 |
6379 | (eval $ac_try) 2>&5 | 6392 | (eval $ac_try) 2>&5 |
6380 | ac_status=$? | 6393 | ac_status=$? |
6381 | echo "$as_me:6381: \$? = $ac_status" >&5 | 6394 | echo "$as_me:6394: \$? = $ac_status" >&5 |
6382 | (exit $ac_status); }; }; then | 6395 | (exit $ac_status); }; }; then |
6383 | ac_cv_search_login="-l$ac_lib" | 6396 | ac_cv_search_login="-l$ac_lib" |
6384 | break | 6397 | break |
@@ -6391,7 +6404,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
6391 | fi | 6404 | fi |
6392 | LIBS=$ac_func_search_save_LIBS | 6405 | LIBS=$ac_func_search_save_LIBS |
6393 | fi | 6406 | fi |
6394 | echo "$as_me:6394: result: $ac_cv_search_login" >&5 | 6407 | echo "$as_me:6407: result: $ac_cv_search_login" >&5 |
6395 | echo "${ECHO_T}$ac_cv_search_login" >&6 | 6408 | echo "${ECHO_T}$ac_cv_search_login" >&6 |
6396 | if test "$ac_cv_search_login" != no; then | 6409 | if test "$ac_cv_search_login" != no; then |
6397 | test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" | 6410 | test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" |
@@ -6404,13 +6417,13 @@ fi | |||
6404 | for ac_func in logout updwtmp logwtmp | 6417 | for ac_func in logout updwtmp logwtmp |
6405 | do | 6418 | do |
6406 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6419 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6407 | echo "$as_me:6407: checking for $ac_func" >&5 | 6420 | echo "$as_me:6420: checking for $ac_func" >&5 |
6408 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6421 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6409 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 6422 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
6410 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6423 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6411 | else | 6424 | else |
6412 | cat >conftest.$ac_ext <<_ACEOF | 6425 | cat >conftest.$ac_ext <<_ACEOF |
6413 | #line 6413 "configure" | 6426 | #line 6426 "configure" |
6414 | #include "confdefs.h" | 6427 | #include "confdefs.h" |
6415 | /* System header to define __stub macros and hopefully few prototypes, | 6428 | /* System header to define __stub macros and hopefully few prototypes, |
6416 | which can conflict with char $ac_func (); below. */ | 6429 | which can conflict with char $ac_func (); below. */ |
@@ -6441,16 +6454,16 @@ f = $ac_func; | |||
6441 | } | 6454 | } |
6442 | _ACEOF | 6455 | _ACEOF |
6443 | rm -f conftest.$ac_objext conftest$ac_exeext | 6456 | rm -f conftest.$ac_objext conftest$ac_exeext |
6444 | if { (eval echo "$as_me:6444: \"$ac_link\"") >&5 | 6457 | if { (eval echo "$as_me:6457: \"$ac_link\"") >&5 |
6445 | (eval $ac_link) 2>&5 | 6458 | (eval $ac_link) 2>&5 |
6446 | ac_status=$? | 6459 | ac_status=$? |
6447 | echo "$as_me:6447: \$? = $ac_status" >&5 | 6460 | echo "$as_me:6460: \$? = $ac_status" >&5 |
6448 | (exit $ac_status); } && | 6461 | (exit $ac_status); } && |
6449 | { ac_try='test -s conftest$ac_exeext' | 6462 | { ac_try='test -s conftest$ac_exeext' |
6450 | { (eval echo "$as_me:6450: \"$ac_try\"") >&5 | 6463 | { (eval echo "$as_me:6463: \"$ac_try\"") >&5 |
6451 | (eval $ac_try) 2>&5 | 6464 | (eval $ac_try) 2>&5 |
6452 | ac_status=$? | 6465 | ac_status=$? |
6453 | echo "$as_me:6453: \$? = $ac_status" >&5 | 6466 | echo "$as_me:6466: \$? = $ac_status" >&5 |
6454 | (exit $ac_status); }; }; then | 6467 | (exit $ac_status); }; }; then |
6455 | eval "$as_ac_var=yes" | 6468 | eval "$as_ac_var=yes" |
6456 | else | 6469 | else |
@@ -6460,7 +6473,7 @@ eval "$as_ac_var=no" | |||
6460 | fi | 6473 | fi |
6461 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6474 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6462 | fi | 6475 | fi |
6463 | echo "$as_me:6463: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6476 | echo "$as_me:6476: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6464 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6477 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6465 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 6478 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
6466 | cat >>confdefs.h <<EOF | 6479 | cat >>confdefs.h <<EOF |
@@ -6473,13 +6486,13 @@ done | |||
6473 | for ac_func in strftime | 6486 | for ac_func in strftime |
6474 | do | 6487 | do |
6475 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6488 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6476 | echo "$as_me:6476: checking for $ac_func" >&5 | 6489 | echo "$as_me:6489: checking for $ac_func" >&5 |
6477 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6490 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6478 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 6491 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
6479 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6492 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6480 | else | 6493 | else |
6481 | cat >conftest.$ac_ext <<_ACEOF | 6494 | cat >conftest.$ac_ext <<_ACEOF |
6482 | #line 6482 "configure" | 6495 | #line 6495 "configure" |
6483 | #include "confdefs.h" | 6496 | #include "confdefs.h" |
6484 | /* System header to define __stub macros and hopefully few prototypes, | 6497 | /* System header to define __stub macros and hopefully few prototypes, |
6485 | which can conflict with char $ac_func (); below. */ | 6498 | which can conflict with char $ac_func (); below. */ |
@@ -6510,16 +6523,16 @@ f = $ac_func; | |||
6510 | } | 6523 | } |
6511 | _ACEOF | 6524 | _ACEOF |
6512 | rm -f conftest.$ac_objext conftest$ac_exeext | 6525 | rm -f conftest.$ac_objext conftest$ac_exeext |
6513 | if { (eval echo "$as_me:6513: \"$ac_link\"") >&5 | 6526 | if { (eval echo "$as_me:6526: \"$ac_link\"") >&5 |
6514 | (eval $ac_link) 2>&5 | 6527 | (eval $ac_link) 2>&5 |
6515 | ac_status=$? | 6528 | ac_status=$? |
6516 | echo "$as_me:6516: \$? = $ac_status" >&5 | 6529 | echo "$as_me:6529: \$? = $ac_status" >&5 |
6517 | (exit $ac_status); } && | 6530 | (exit $ac_status); } && |
6518 | { ac_try='test -s conftest$ac_exeext' | 6531 | { ac_try='test -s conftest$ac_exeext' |
6519 | { (eval echo "$as_me:6519: \"$ac_try\"") >&5 | 6532 | { (eval echo "$as_me:6532: \"$ac_try\"") >&5 |
6520 | (eval $ac_try) 2>&5 | 6533 | (eval $ac_try) 2>&5 |
6521 | ac_status=$? | 6534 | ac_status=$? |
6522 | echo "$as_me:6522: \$? = $ac_status" >&5 | 6535 | echo "$as_me:6535: \$? = $ac_status" >&5 |
6523 | (exit $ac_status); }; }; then | 6536 | (exit $ac_status); }; }; then |
6524 | eval "$as_ac_var=yes" | 6537 | eval "$as_ac_var=yes" |
6525 | else | 6538 | else |
@@ -6529,7 +6542,7 @@ eval "$as_ac_var=no" | |||
6529 | fi | 6542 | fi |
6530 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6543 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6531 | fi | 6544 | fi |
6532 | echo "$as_me:6532: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6545 | echo "$as_me:6545: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6533 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6546 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6534 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 6547 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
6535 | cat >>confdefs.h <<EOF | 6548 | cat >>confdefs.h <<EOF |
@@ -6538,7 +6551,7 @@ EOF | |||
6538 | 6551 | ||
6539 | else | 6552 | else |
6540 | # strftime is in -lintl on SCO UNIX. | 6553 | # strftime is in -lintl on SCO UNIX. |
6541 | echo "$as_me:6541: checking for strftime in -lintl" >&5 | 6554 | echo "$as_me:6554: checking for strftime in -lintl" >&5 |
6542 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | 6555 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 |
6543 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 6556 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
6544 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6557 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -6546,7 +6559,7 @@ else | |||
6546 | ac_check_lib_save_LIBS=$LIBS | 6559 | ac_check_lib_save_LIBS=$LIBS |
6547 | LIBS="-lintl $LIBS" | 6560 | LIBS="-lintl $LIBS" |
6548 | cat >conftest.$ac_ext <<_ACEOF | 6561 | cat >conftest.$ac_ext <<_ACEOF |
6549 | #line 6549 "configure" | 6562 | #line 6562 "configure" |
6550 | #include "confdefs.h" | 6563 | #include "confdefs.h" |
6551 | 6564 | ||
6552 | /* Override any gcc2 internal prototype to avoid an error. */ | 6565 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -6565,16 +6578,16 @@ strftime (); | |||
6565 | } | 6578 | } |
6566 | _ACEOF | 6579 | _ACEOF |
6567 | rm -f conftest.$ac_objext conftest$ac_exeext | 6580 | rm -f conftest.$ac_objext conftest$ac_exeext |
6568 | if { (eval echo "$as_me:6568: \"$ac_link\"") >&5 | 6581 | if { (eval echo "$as_me:6581: \"$ac_link\"") >&5 |
6569 | (eval $ac_link) 2>&5 | 6582 | (eval $ac_link) 2>&5 |
6570 | ac_status=$? | 6583 | ac_status=$? |
6571 | echo "$as_me:6571: \$? = $ac_status" >&5 | 6584 | echo "$as_me:6584: \$? = $ac_status" >&5 |
6572 | (exit $ac_status); } && | 6585 | (exit $ac_status); } && |
6573 | { ac_try='test -s conftest$ac_exeext' | 6586 | { ac_try='test -s conftest$ac_exeext' |
6574 | { (eval echo "$as_me:6574: \"$ac_try\"") >&5 | 6587 | { (eval echo "$as_me:6587: \"$ac_try\"") >&5 |
6575 | (eval $ac_try) 2>&5 | 6588 | (eval $ac_try) 2>&5 |
6576 | ac_status=$? | 6589 | ac_status=$? |
6577 | echo "$as_me:6577: \$? = $ac_status" >&5 | 6590 | echo "$as_me:6590: \$? = $ac_status" >&5 |
6578 | (exit $ac_status); }; }; then | 6591 | (exit $ac_status); }; }; then |
6579 | ac_cv_lib_intl_strftime=yes | 6592 | ac_cv_lib_intl_strftime=yes |
6580 | else | 6593 | else |
@@ -6585,7 +6598,7 @@ fi | |||
6585 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6598 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6586 | LIBS=$ac_check_lib_save_LIBS | 6599 | LIBS=$ac_check_lib_save_LIBS |
6587 | fi | 6600 | fi |
6588 | echo "$as_me:6588: result: $ac_cv_lib_intl_strftime" >&5 | 6601 | echo "$as_me:6601: result: $ac_cv_lib_intl_strftime" >&5 |
6589 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | 6602 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 |
6590 | if test $ac_cv_lib_intl_strftime = yes; then | 6603 | if test $ac_cv_lib_intl_strftime = yes; then |
6591 | cat >>confdefs.h <<\EOF | 6604 | cat >>confdefs.h <<\EOF |
@@ -6599,10 +6612,10 @@ fi | |||
6599 | done | 6612 | done |
6600 | 6613 | ||
6601 | # Check for ALTDIRFUNC glob() extension | 6614 | # Check for ALTDIRFUNC glob() extension |
6602 | echo "$as_me:6602: checking for GLOB_ALTDIRFUNC support" >&5 | 6615 | echo "$as_me:6615: checking for GLOB_ALTDIRFUNC support" >&5 |
6603 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 | 6616 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 |
6604 | cat >conftest.$ac_ext <<_ACEOF | 6617 | cat >conftest.$ac_ext <<_ACEOF |
6605 | #line 6605 "configure" | 6618 | #line 6618 "configure" |
6606 | #include "confdefs.h" | 6619 | #include "confdefs.h" |
6607 | 6620 | ||
6608 | #include <glob.h> | 6621 | #include <glob.h> |
@@ -6618,22 +6631,22 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |||
6618 | #define GLOB_HAS_ALTDIRFUNC 1 | 6631 | #define GLOB_HAS_ALTDIRFUNC 1 |
6619 | EOF | 6632 | EOF |
6620 | 6633 | ||
6621 | echo "$as_me:6621: result: yes" >&5 | 6634 | echo "$as_me:6634: result: yes" >&5 |
6622 | echo "${ECHO_T}yes" >&6 | 6635 | echo "${ECHO_T}yes" >&6 |
6623 | 6636 | ||
6624 | else | 6637 | else |
6625 | 6638 | ||
6626 | echo "$as_me:6626: result: no" >&5 | 6639 | echo "$as_me:6639: result: no" >&5 |
6627 | echo "${ECHO_T}no" >&6 | 6640 | echo "${ECHO_T}no" >&6 |
6628 | 6641 | ||
6629 | fi | 6642 | fi |
6630 | rm -f conftest* | 6643 | rm -f conftest* |
6631 | 6644 | ||
6632 | # Check for g.gl_matchc glob() extension | 6645 | # Check for g.gl_matchc glob() extension |
6633 | echo "$as_me:6633: checking for gl_matchc field in glob_t" >&5 | 6646 | echo "$as_me:6646: checking for gl_matchc field in glob_t" >&5 |
6634 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 | 6647 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 |
6635 | cat >conftest.$ac_ext <<_ACEOF | 6648 | cat >conftest.$ac_ext <<_ACEOF |
6636 | #line 6636 "configure" | 6649 | #line 6649 "configure" |
6637 | #include "confdefs.h" | 6650 | #include "confdefs.h" |
6638 | 6651 | ||
6639 | #include <glob.h> | 6652 | #include <glob.h> |
@@ -6647,26 +6660,26 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |||
6647 | #define GLOB_HAS_GL_MATCHC 1 | 6660 | #define GLOB_HAS_GL_MATCHC 1 |
6648 | EOF | 6661 | EOF |
6649 | 6662 | ||
6650 | echo "$as_me:6650: result: yes" >&5 | 6663 | echo "$as_me:6663: result: yes" >&5 |
6651 | echo "${ECHO_T}yes" >&6 | 6664 | echo "${ECHO_T}yes" >&6 |
6652 | 6665 | ||
6653 | else | 6666 | else |
6654 | 6667 | ||
6655 | echo "$as_me:6655: result: no" >&5 | 6668 | echo "$as_me:6668: result: no" >&5 |
6656 | echo "${ECHO_T}no" >&6 | 6669 | echo "${ECHO_T}no" >&6 |
6657 | 6670 | ||
6658 | fi | 6671 | fi |
6659 | rm -f conftest* | 6672 | rm -f conftest* |
6660 | 6673 | ||
6661 | echo "$as_me:6661: checking whether struct dirent allocates space for d_name" >&5 | 6674 | echo "$as_me:6674: checking whether struct dirent allocates space for d_name" >&5 |
6662 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 | 6675 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 |
6663 | if test "$cross_compiling" = yes; then | 6676 | if test "$cross_compiling" = yes; then |
6664 | { { echo "$as_me:6664: error: cannot run test program while cross compiling" >&5 | 6677 | { { echo "$as_me:6677: error: cannot run test program while cross compiling" >&5 |
6665 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 6678 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
6666 | { (exit 1); exit 1; }; } | 6679 | { (exit 1); exit 1; }; } |
6667 | else | 6680 | else |
6668 | cat >conftest.$ac_ext <<_ACEOF | 6681 | cat >conftest.$ac_ext <<_ACEOF |
6669 | #line 6669 "configure" | 6682 | #line 6682 "configure" |
6670 | #include "confdefs.h" | 6683 | #include "confdefs.h" |
6671 | 6684 | ||
6672 | #include <sys/types.h> | 6685 | #include <sys/types.h> |
@@ -6675,24 +6688,24 @@ int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));} | |||
6675 | 6688 | ||
6676 | _ACEOF | 6689 | _ACEOF |
6677 | rm -f conftest$ac_exeext | 6690 | rm -f conftest$ac_exeext |
6678 | if { (eval echo "$as_me:6678: \"$ac_link\"") >&5 | 6691 | if { (eval echo "$as_me:6691: \"$ac_link\"") >&5 |
6679 | (eval $ac_link) 2>&5 | 6692 | (eval $ac_link) 2>&5 |
6680 | ac_status=$? | 6693 | ac_status=$? |
6681 | echo "$as_me:6681: \$? = $ac_status" >&5 | 6694 | echo "$as_me:6694: \$? = $ac_status" >&5 |
6682 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6695 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6683 | { (eval echo "$as_me:6683: \"$ac_try\"") >&5 | 6696 | { (eval echo "$as_me:6696: \"$ac_try\"") >&5 |
6684 | (eval $ac_try) 2>&5 | 6697 | (eval $ac_try) 2>&5 |
6685 | ac_status=$? | 6698 | ac_status=$? |
6686 | echo "$as_me:6686: \$? = $ac_status" >&5 | 6699 | echo "$as_me:6699: \$? = $ac_status" >&5 |
6687 | (exit $ac_status); }; }; then | 6700 | (exit $ac_status); }; }; then |
6688 | echo "$as_me:6688: result: yes" >&5 | 6701 | echo "$as_me:6701: result: yes" >&5 |
6689 | echo "${ECHO_T}yes" >&6 | 6702 | echo "${ECHO_T}yes" >&6 |
6690 | else | 6703 | else |
6691 | echo "$as_me: program exited with status $ac_status" >&5 | 6704 | echo "$as_me: program exited with status $ac_status" >&5 |
6692 | echo "$as_me: failed program was:" >&5 | 6705 | echo "$as_me: failed program was:" >&5 |
6693 | cat conftest.$ac_ext >&5 | 6706 | cat conftest.$ac_ext >&5 |
6694 | 6707 | ||
6695 | echo "$as_me:6695: result: no" >&5 | 6708 | echo "$as_me:6708: result: no" >&5 |
6696 | echo "${ECHO_T}no" >&6 | 6709 | echo "${ECHO_T}no" >&6 |
6697 | cat >>confdefs.h <<\EOF | 6710 | cat >>confdefs.h <<\EOF |
6698 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | 6711 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 |
@@ -6723,15 +6736,15 @@ EOF | |||
6723 | LIBS="-lskey $LIBS" | 6736 | LIBS="-lskey $LIBS" |
6724 | SKEY_MSG="yes" | 6737 | SKEY_MSG="yes" |
6725 | 6738 | ||
6726 | echo "$as_me:6726: checking for s/key support" >&5 | 6739 | echo "$as_me:6739: checking for s/key support" >&5 |
6727 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 | 6740 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 |
6728 | if test "$cross_compiling" = yes; then | 6741 | if test "$cross_compiling" = yes; then |
6729 | { { echo "$as_me:6729: error: cannot run test program while cross compiling" >&5 | 6742 | { { echo "$as_me:6742: error: cannot run test program while cross compiling" >&5 |
6730 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 6743 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
6731 | { (exit 1); exit 1; }; } | 6744 | { (exit 1); exit 1; }; } |
6732 | else | 6745 | else |
6733 | cat >conftest.$ac_ext <<_ACEOF | 6746 | cat >conftest.$ac_ext <<_ACEOF |
6734 | #line 6734 "configure" | 6747 | #line 6747 "configure" |
6735 | #include "confdefs.h" | 6748 | #include "confdefs.h" |
6736 | 6749 | ||
6737 | #include <stdio.h> | 6750 | #include <stdio.h> |
@@ -6740,32 +6753,73 @@ int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } | |||
6740 | 6753 | ||
6741 | _ACEOF | 6754 | _ACEOF |
6742 | rm -f conftest$ac_exeext | 6755 | rm -f conftest$ac_exeext |
6743 | if { (eval echo "$as_me:6743: \"$ac_link\"") >&5 | 6756 | if { (eval echo "$as_me:6756: \"$ac_link\"") >&5 |
6744 | (eval $ac_link) 2>&5 | 6757 | (eval $ac_link) 2>&5 |
6745 | ac_status=$? | 6758 | ac_status=$? |
6746 | echo "$as_me:6746: \$? = $ac_status" >&5 | 6759 | echo "$as_me:6759: \$? = $ac_status" >&5 |
6747 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6760 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6748 | { (eval echo "$as_me:6748: \"$ac_try\"") >&5 | 6761 | { (eval echo "$as_me:6761: \"$ac_try\"") >&5 |
6749 | (eval $ac_try) 2>&5 | 6762 | (eval $ac_try) 2>&5 |
6750 | ac_status=$? | 6763 | ac_status=$? |
6751 | echo "$as_me:6751: \$? = $ac_status" >&5 | 6764 | echo "$as_me:6764: \$? = $ac_status" >&5 |
6752 | (exit $ac_status); }; }; then | 6765 | (exit $ac_status); }; }; then |
6753 | echo "$as_me:6753: result: yes" >&5 | 6766 | echo "$as_me:6766: result: yes" >&5 |
6754 | echo "${ECHO_T}yes" >&6 | 6767 | echo "${ECHO_T}yes" >&6 |
6755 | else | 6768 | else |
6756 | echo "$as_me: program exited with status $ac_status" >&5 | 6769 | echo "$as_me: program exited with status $ac_status" >&5 |
6757 | echo "$as_me: failed program was:" >&5 | 6770 | echo "$as_me: failed program was:" >&5 |
6758 | cat conftest.$ac_ext >&5 | 6771 | cat conftest.$ac_ext >&5 |
6759 | 6772 | ||
6760 | echo "$as_me:6760: result: no" >&5 | 6773 | echo "$as_me:6773: result: no" >&5 |
6761 | echo "${ECHO_T}no" >&6 | 6774 | echo "${ECHO_T}no" >&6 |
6762 | { { echo "$as_me:6762: error: ** Incomplete or missing s/key libraries." >&5 | 6775 | { { echo "$as_me:6775: error: ** Incomplete or missing s/key libraries." >&5 |
6763 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} | 6776 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} |
6764 | { (exit 1); exit 1; }; } | 6777 | { (exit 1); exit 1; }; } |
6765 | 6778 | ||
6766 | fi | 6779 | fi |
6767 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6780 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6768 | fi | 6781 | fi |
6782 | echo "$as_me:6782: checking if skeychallenge takes 4 arguments" >&5 | ||
6783 | echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6 | ||
6784 | cat >conftest.$ac_ext <<_ACEOF | ||
6785 | #line 6785 "configure" | ||
6786 | #include "confdefs.h" | ||
6787 | #include <stdio.h> | ||
6788 | #include <skey.h> | ||
6789 | int | ||
6790 | main () | ||
6791 | { | ||
6792 | (void)skeychallenge(NULL,"name","",0); | ||
6793 | ; | ||
6794 | return 0; | ||
6795 | } | ||
6796 | _ACEOF | ||
6797 | rm -f conftest.$ac_objext | ||
6798 | if { (eval echo "$as_me:6798: \"$ac_compile\"") >&5 | ||
6799 | (eval $ac_compile) 2>&5 | ||
6800 | ac_status=$? | ||
6801 | echo "$as_me:6801: \$? = $ac_status" >&5 | ||
6802 | (exit $ac_status); } && | ||
6803 | { ac_try='test -s conftest.$ac_objext' | ||
6804 | { (eval echo "$as_me:6804: \"$ac_try\"") >&5 | ||
6805 | (eval $ac_try) 2>&5 | ||
6806 | ac_status=$? | ||
6807 | echo "$as_me:6807: \$? = $ac_status" >&5 | ||
6808 | (exit $ac_status); }; }; then | ||
6809 | echo "$as_me:6809: result: yes" >&5 | ||
6810 | echo "${ECHO_T}yes" >&6 | ||
6811 | cat >>confdefs.h <<\EOF | ||
6812 | #define SKEYCHALLENGE_4ARG 1 | ||
6813 | EOF | ||
6814 | |||
6815 | else | ||
6816 | echo "$as_me: failed program was:" >&5 | ||
6817 | cat conftest.$ac_ext >&5 | ||
6818 | echo "$as_me:6818: result: no" >&5 | ||
6819 | echo "${ECHO_T}no" >&6 | ||
6820 | |||
6821 | fi | ||
6822 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
6769 | fi | 6823 | fi |
6770 | 6824 | ||
6771 | fi; | 6825 | fi; |
@@ -6803,12 +6857,15 @@ if test "${with_tcp_wrappers+set}" = set; then | |||
6803 | fi | 6857 | fi |
6804 | LIBWRAP="-lwrap" | 6858 | LIBWRAP="-lwrap" |
6805 | LIBS="$LIBWRAP $LIBS" | 6859 | LIBS="$LIBWRAP $LIBS" |
6806 | echo "$as_me:6806: checking for libwrap" >&5 | 6860 | echo "$as_me:6860: checking for libwrap" >&5 |
6807 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 | 6861 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 |
6808 | cat >conftest.$ac_ext <<_ACEOF | 6862 | cat >conftest.$ac_ext <<_ACEOF |
6809 | #line 6809 "configure" | 6863 | #line 6863 "configure" |
6810 | #include "confdefs.h" | 6864 | #include "confdefs.h" |
6811 | 6865 | ||
6866 | #include <sys/types.h> | ||
6867 | #include <sys/socket.h> | ||
6868 | #include <netinet/in.h> | ||
6812 | #include <tcpd.h> | 6869 | #include <tcpd.h> |
6813 | int deny_severity = 0, allow_severity = 0; | 6870 | int deny_severity = 0, allow_severity = 0; |
6814 | 6871 | ||
@@ -6821,19 +6878,19 @@ hosts_access(0); | |||
6821 | } | 6878 | } |
6822 | _ACEOF | 6879 | _ACEOF |
6823 | rm -f conftest.$ac_objext conftest$ac_exeext | 6880 | rm -f conftest.$ac_objext conftest$ac_exeext |
6824 | if { (eval echo "$as_me:6824: \"$ac_link\"") >&5 | 6881 | if { (eval echo "$as_me:6881: \"$ac_link\"") >&5 |
6825 | (eval $ac_link) 2>&5 | 6882 | (eval $ac_link) 2>&5 |
6826 | ac_status=$? | 6883 | ac_status=$? |
6827 | echo "$as_me:6827: \$? = $ac_status" >&5 | 6884 | echo "$as_me:6884: \$? = $ac_status" >&5 |
6828 | (exit $ac_status); } && | 6885 | (exit $ac_status); } && |
6829 | { ac_try='test -s conftest$ac_exeext' | 6886 | { ac_try='test -s conftest$ac_exeext' |
6830 | { (eval echo "$as_me:6830: \"$ac_try\"") >&5 | 6887 | { (eval echo "$as_me:6887: \"$ac_try\"") >&5 |
6831 | (eval $ac_try) 2>&5 | 6888 | (eval $ac_try) 2>&5 |
6832 | ac_status=$? | 6889 | ac_status=$? |
6833 | echo "$as_me:6833: \$? = $ac_status" >&5 | 6890 | echo "$as_me:6890: \$? = $ac_status" >&5 |
6834 | (exit $ac_status); }; }; then | 6891 | (exit $ac_status); }; }; then |
6835 | 6892 | ||
6836 | echo "$as_me:6836: result: yes" >&5 | 6893 | echo "$as_me:6893: result: yes" >&5 |
6837 | echo "${ECHO_T}yes" >&6 | 6894 | echo "${ECHO_T}yes" >&6 |
6838 | cat >>confdefs.h <<\EOF | 6895 | cat >>confdefs.h <<\EOF |
6839 | #define LIBWRAP 1 | 6896 | #define LIBWRAP 1 |
@@ -6845,7 +6902,7 @@ else | |||
6845 | echo "$as_me: failed program was:" >&5 | 6902 | echo "$as_me: failed program was:" >&5 |
6846 | cat conftest.$ac_ext >&5 | 6903 | cat conftest.$ac_ext >&5 |
6847 | 6904 | ||
6848 | { { echo "$as_me:6848: error: *** libwrap missing" >&5 | 6905 | { { echo "$as_me:6905: error: *** libwrap missing" >&5 |
6849 | echo "$as_me: error: *** libwrap missing" >&2;} | 6906 | echo "$as_me: error: *** libwrap missing" >&2;} |
6850 | { (exit 1); exit 1; }; } | 6907 | { (exit 1); exit 1; }; } |
6851 | 6908 | ||
@@ -6863,22 +6920,22 @@ for ac_func in \ | |||
6863 | getpeereid _getpty getrlimit getttyent glob inet_aton \ | 6920 | getpeereid _getpty getrlimit getttyent glob inet_aton \ |
6864 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | 6921 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ |
6865 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ | 6922 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ |
6866 | pstat readpassphrase realpath recvmsg rresvport_af sendmsg \ | 6923 | pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \ |
6867 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ | 6924 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ |
6868 | setproctitle setregid setreuid setrlimit \ | 6925 | setproctitle setregid setreuid setrlimit \ |
6869 | setsid setvbuf sigaction sigvec snprintf socketpair strerror \ | 6926 | setsid setvbuf sigaction sigvec snprintf socketpair strerror \ |
6870 | strlcat strlcpy strmode strnvis strtoul sysconf tcgetpgrp \ | 6927 | strlcat strlcpy strmode strnvis strtoul sysconf tcgetpgrp \ |
6871 | truncate updwtmpx utimes vhangup vsnprintf waitpid \ | 6928 | truncate unsetenv updwtmpx utimes vhangup vsnprintf waitpid \ |
6872 | 6929 | ||
6873 | do | 6930 | do |
6874 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6931 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6875 | echo "$as_me:6875: checking for $ac_func" >&5 | 6932 | echo "$as_me:6932: checking for $ac_func" >&5 |
6876 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6933 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6877 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 6934 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
6878 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6935 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6879 | else | 6936 | else |
6880 | cat >conftest.$ac_ext <<_ACEOF | 6937 | cat >conftest.$ac_ext <<_ACEOF |
6881 | #line 6881 "configure" | 6938 | #line 6938 "configure" |
6882 | #include "confdefs.h" | 6939 | #include "confdefs.h" |
6883 | /* System header to define __stub macros and hopefully few prototypes, | 6940 | /* System header to define __stub macros and hopefully few prototypes, |
6884 | which can conflict with char $ac_func (); below. */ | 6941 | which can conflict with char $ac_func (); below. */ |
@@ -6909,16 +6966,16 @@ f = $ac_func; | |||
6909 | } | 6966 | } |
6910 | _ACEOF | 6967 | _ACEOF |
6911 | rm -f conftest.$ac_objext conftest$ac_exeext | 6968 | rm -f conftest.$ac_objext conftest$ac_exeext |
6912 | if { (eval echo "$as_me:6912: \"$ac_link\"") >&5 | 6969 | if { (eval echo "$as_me:6969: \"$ac_link\"") >&5 |
6913 | (eval $ac_link) 2>&5 | 6970 | (eval $ac_link) 2>&5 |
6914 | ac_status=$? | 6971 | ac_status=$? |
6915 | echo "$as_me:6915: \$? = $ac_status" >&5 | 6972 | echo "$as_me:6972: \$? = $ac_status" >&5 |
6916 | (exit $ac_status); } && | 6973 | (exit $ac_status); } && |
6917 | { ac_try='test -s conftest$ac_exeext' | 6974 | { ac_try='test -s conftest$ac_exeext' |
6918 | { (eval echo "$as_me:6918: \"$ac_try\"") >&5 | 6975 | { (eval echo "$as_me:6975: \"$ac_try\"") >&5 |
6919 | (eval $ac_try) 2>&5 | 6976 | (eval $ac_try) 2>&5 |
6920 | ac_status=$? | 6977 | ac_status=$? |
6921 | echo "$as_me:6921: \$? = $ac_status" >&5 | 6978 | echo "$as_me:6978: \$? = $ac_status" >&5 |
6922 | (exit $ac_status); }; }; then | 6979 | (exit $ac_status); }; }; then |
6923 | eval "$as_ac_var=yes" | 6980 | eval "$as_ac_var=yes" |
6924 | else | 6981 | else |
@@ -6928,7 +6985,7 @@ eval "$as_ac_var=no" | |||
6928 | fi | 6985 | fi |
6929 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6986 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6930 | fi | 6987 | fi |
6931 | echo "$as_me:6931: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6988 | echo "$as_me:6988: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6932 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6989 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6933 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 6990 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
6934 | cat >>confdefs.h <<EOF | 6991 | cat >>confdefs.h <<EOF |
@@ -6943,13 +7000,13 @@ done | |||
6943 | for ac_func in gai_strerror | 7000 | for ac_func in gai_strerror |
6944 | do | 7001 | do |
6945 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7002 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6946 | echo "$as_me:6946: checking for $ac_func" >&5 | 7003 | echo "$as_me:7003: checking for $ac_func" >&5 |
6947 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7004 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6948 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7005 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
6949 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7006 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6950 | else | 7007 | else |
6951 | cat >conftest.$ac_ext <<_ACEOF | 7008 | cat >conftest.$ac_ext <<_ACEOF |
6952 | #line 6952 "configure" | 7009 | #line 7009 "configure" |
6953 | #include "confdefs.h" | 7010 | #include "confdefs.h" |
6954 | /* System header to define __stub macros and hopefully few prototypes, | 7011 | /* System header to define __stub macros and hopefully few prototypes, |
6955 | which can conflict with char $ac_func (); below. */ | 7012 | which can conflict with char $ac_func (); below. */ |
@@ -6980,16 +7037,16 @@ f = $ac_func; | |||
6980 | } | 7037 | } |
6981 | _ACEOF | 7038 | _ACEOF |
6982 | rm -f conftest.$ac_objext conftest$ac_exeext | 7039 | rm -f conftest.$ac_objext conftest$ac_exeext |
6983 | if { (eval echo "$as_me:6983: \"$ac_link\"") >&5 | 7040 | if { (eval echo "$as_me:7040: \"$ac_link\"") >&5 |
6984 | (eval $ac_link) 2>&5 | 7041 | (eval $ac_link) 2>&5 |
6985 | ac_status=$? | 7042 | ac_status=$? |
6986 | echo "$as_me:6986: \$? = $ac_status" >&5 | 7043 | echo "$as_me:7043: \$? = $ac_status" >&5 |
6987 | (exit $ac_status); } && | 7044 | (exit $ac_status); } && |
6988 | { ac_try='test -s conftest$ac_exeext' | 7045 | { ac_try='test -s conftest$ac_exeext' |
6989 | { (eval echo "$as_me:6989: \"$ac_try\"") >&5 | 7046 | { (eval echo "$as_me:7046: \"$ac_try\"") >&5 |
6990 | (eval $ac_try) 2>&5 | 7047 | (eval $ac_try) 2>&5 |
6991 | ac_status=$? | 7048 | ac_status=$? |
6992 | echo "$as_me:6992: \$? = $ac_status" >&5 | 7049 | echo "$as_me:7049: \$? = $ac_status" >&5 |
6993 | (exit $ac_status); }; }; then | 7050 | (exit $ac_status); }; }; then |
6994 | eval "$as_ac_var=yes" | 7051 | eval "$as_ac_var=yes" |
6995 | else | 7052 | else |
@@ -6999,7 +7056,7 @@ eval "$as_ac_var=no" | |||
6999 | fi | 7056 | fi |
7000 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7057 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7001 | fi | 7058 | fi |
7002 | echo "$as_me:7002: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7059 | echo "$as_me:7059: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7003 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7060 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7004 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7061 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7005 | cat >>confdefs.h <<EOF | 7062 | cat >>confdefs.h <<EOF |
@@ -7011,7 +7068,7 @@ EOF | |||
7011 | EOF | 7068 | EOF |
7012 | 7069 | ||
7013 | cat >conftest.$ac_ext <<_ACEOF | 7070 | cat >conftest.$ac_ext <<_ACEOF |
7014 | #line 7014 "configure" | 7071 | #line 7071 "configure" |
7015 | #include "confdefs.h" | 7072 | #include "confdefs.h" |
7016 | 7073 | ||
7017 | #include <sys/types.h> | 7074 | #include <sys/types.h> |
@@ -7031,16 +7088,16 @@ str = gai_strerror(0); | |||
7031 | } | 7088 | } |
7032 | _ACEOF | 7089 | _ACEOF |
7033 | rm -f conftest.$ac_objext | 7090 | rm -f conftest.$ac_objext |
7034 | if { (eval echo "$as_me:7034: \"$ac_compile\"") >&5 | 7091 | if { (eval echo "$as_me:7091: \"$ac_compile\"") >&5 |
7035 | (eval $ac_compile) 2>&5 | 7092 | (eval $ac_compile) 2>&5 |
7036 | ac_status=$? | 7093 | ac_status=$? |
7037 | echo "$as_me:7037: \$? = $ac_status" >&5 | 7094 | echo "$as_me:7094: \$? = $ac_status" >&5 |
7038 | (exit $ac_status); } && | 7095 | (exit $ac_status); } && |
7039 | { ac_try='test -s conftest.$ac_objext' | 7096 | { ac_try='test -s conftest.$ac_objext' |
7040 | { (eval echo "$as_me:7040: \"$ac_try\"") >&5 | 7097 | { (eval echo "$as_me:7097: \"$ac_try\"") >&5 |
7041 | (eval $ac_try) 2>&5 | 7098 | (eval $ac_try) 2>&5 |
7042 | ac_status=$? | 7099 | ac_status=$? |
7043 | echo "$as_me:7043: \$? = $ac_status" >&5 | 7100 | echo "$as_me:7100: \$? = $ac_status" >&5 |
7044 | (exit $ac_status); }; }; then | 7101 | (exit $ac_status); }; }; then |
7045 | 7102 | ||
7046 | cat >>confdefs.h <<\EOF | 7103 | cat >>confdefs.h <<\EOF |
@@ -7055,7 +7112,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
7055 | fi | 7112 | fi |
7056 | done | 7113 | done |
7057 | 7114 | ||
7058 | echo "$as_me:7058: checking for library containing nanosleep" >&5 | 7115 | echo "$as_me:7115: checking for library containing nanosleep" >&5 |
7059 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 | 7116 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 |
7060 | if test "${ac_cv_search_nanosleep+set}" = set; then | 7117 | if test "${ac_cv_search_nanosleep+set}" = set; then |
7061 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7118 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -7063,7 +7120,7 @@ else | |||
7063 | ac_func_search_save_LIBS=$LIBS | 7120 | ac_func_search_save_LIBS=$LIBS |
7064 | ac_cv_search_nanosleep=no | 7121 | ac_cv_search_nanosleep=no |
7065 | cat >conftest.$ac_ext <<_ACEOF | 7122 | cat >conftest.$ac_ext <<_ACEOF |
7066 | #line 7066 "configure" | 7123 | #line 7123 "configure" |
7067 | #include "confdefs.h" | 7124 | #include "confdefs.h" |
7068 | 7125 | ||
7069 | /* Override any gcc2 internal prototype to avoid an error. */ | 7126 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -7082,16 +7139,16 @@ nanosleep (); | |||
7082 | } | 7139 | } |
7083 | _ACEOF | 7140 | _ACEOF |
7084 | rm -f conftest.$ac_objext conftest$ac_exeext | 7141 | rm -f conftest.$ac_objext conftest$ac_exeext |
7085 | if { (eval echo "$as_me:7085: \"$ac_link\"") >&5 | 7142 | if { (eval echo "$as_me:7142: \"$ac_link\"") >&5 |
7086 | (eval $ac_link) 2>&5 | 7143 | (eval $ac_link) 2>&5 |
7087 | ac_status=$? | 7144 | ac_status=$? |
7088 | echo "$as_me:7088: \$? = $ac_status" >&5 | 7145 | echo "$as_me:7145: \$? = $ac_status" >&5 |
7089 | (exit $ac_status); } && | 7146 | (exit $ac_status); } && |
7090 | { ac_try='test -s conftest$ac_exeext' | 7147 | { ac_try='test -s conftest$ac_exeext' |
7091 | { (eval echo "$as_me:7091: \"$ac_try\"") >&5 | 7148 | { (eval echo "$as_me:7148: \"$ac_try\"") >&5 |
7092 | (eval $ac_try) 2>&5 | 7149 | (eval $ac_try) 2>&5 |
7093 | ac_status=$? | 7150 | ac_status=$? |
7094 | echo "$as_me:7094: \$? = $ac_status" >&5 | 7151 | echo "$as_me:7151: \$? = $ac_status" >&5 |
7095 | (exit $ac_status); }; }; then | 7152 | (exit $ac_status); }; }; then |
7096 | ac_cv_search_nanosleep="none required" | 7153 | ac_cv_search_nanosleep="none required" |
7097 | else | 7154 | else |
@@ -7103,7 +7160,7 @@ if test "$ac_cv_search_nanosleep" = no; then | |||
7103 | for ac_lib in rt posix4; do | 7160 | for ac_lib in rt posix4; do |
7104 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 7161 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
7105 | cat >conftest.$ac_ext <<_ACEOF | 7162 | cat >conftest.$ac_ext <<_ACEOF |
7106 | #line 7106 "configure" | 7163 | #line 7163 "configure" |
7107 | #include "confdefs.h" | 7164 | #include "confdefs.h" |
7108 | 7165 | ||
7109 | /* Override any gcc2 internal prototype to avoid an error. */ | 7166 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -7122,16 +7179,16 @@ nanosleep (); | |||
7122 | } | 7179 | } |
7123 | _ACEOF | 7180 | _ACEOF |
7124 | rm -f conftest.$ac_objext conftest$ac_exeext | 7181 | rm -f conftest.$ac_objext conftest$ac_exeext |
7125 | if { (eval echo "$as_me:7125: \"$ac_link\"") >&5 | 7182 | if { (eval echo "$as_me:7182: \"$ac_link\"") >&5 |
7126 | (eval $ac_link) 2>&5 | 7183 | (eval $ac_link) 2>&5 |
7127 | ac_status=$? | 7184 | ac_status=$? |
7128 | echo "$as_me:7128: \$? = $ac_status" >&5 | 7185 | echo "$as_me:7185: \$? = $ac_status" >&5 |
7129 | (exit $ac_status); } && | 7186 | (exit $ac_status); } && |
7130 | { ac_try='test -s conftest$ac_exeext' | 7187 | { ac_try='test -s conftest$ac_exeext' |
7131 | { (eval echo "$as_me:7131: \"$ac_try\"") >&5 | 7188 | { (eval echo "$as_me:7188: \"$ac_try\"") >&5 |
7132 | (eval $ac_try) 2>&5 | 7189 | (eval $ac_try) 2>&5 |
7133 | ac_status=$? | 7190 | ac_status=$? |
7134 | echo "$as_me:7134: \$? = $ac_status" >&5 | 7191 | echo "$as_me:7191: \$? = $ac_status" >&5 |
7135 | (exit $ac_status); }; }; then | 7192 | (exit $ac_status); }; }; then |
7136 | ac_cv_search_nanosleep="-l$ac_lib" | 7193 | ac_cv_search_nanosleep="-l$ac_lib" |
7137 | break | 7194 | break |
@@ -7144,7 +7201,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
7144 | fi | 7201 | fi |
7145 | LIBS=$ac_func_search_save_LIBS | 7202 | LIBS=$ac_func_search_save_LIBS |
7146 | fi | 7203 | fi |
7147 | echo "$as_me:7147: result: $ac_cv_search_nanosleep" >&5 | 7204 | echo "$as_me:7204: result: $ac_cv_search_nanosleep" >&5 |
7148 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 | 7205 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 |
7149 | if test "$ac_cv_search_nanosleep" != no; then | 7206 | if test "$ac_cv_search_nanosleep" != no; then |
7150 | test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" | 7207 | test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" |
@@ -7154,13 +7211,13 @@ EOF | |||
7154 | 7211 | ||
7155 | fi | 7212 | fi |
7156 | 7213 | ||
7157 | echo "$as_me:7157: checking for ANSI C header files" >&5 | 7214 | echo "$as_me:7214: checking for ANSI C header files" >&5 |
7158 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 7215 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
7159 | if test "${ac_cv_header_stdc+set}" = set; then | 7216 | if test "${ac_cv_header_stdc+set}" = set; then |
7160 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7217 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7161 | else | 7218 | else |
7162 | cat >conftest.$ac_ext <<_ACEOF | 7219 | cat >conftest.$ac_ext <<_ACEOF |
7163 | #line 7163 "configure" | 7220 | #line 7220 "configure" |
7164 | #include "confdefs.h" | 7221 | #include "confdefs.h" |
7165 | #include <stdlib.h> | 7222 | #include <stdlib.h> |
7166 | #include <stdarg.h> | 7223 | #include <stdarg.h> |
@@ -7168,13 +7225,13 @@ else | |||
7168 | #include <float.h> | 7225 | #include <float.h> |
7169 | 7226 | ||
7170 | _ACEOF | 7227 | _ACEOF |
7171 | if { (eval echo "$as_me:7171: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7228 | if { (eval echo "$as_me:7228: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7172 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7229 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7173 | ac_status=$? | 7230 | ac_status=$? |
7174 | egrep -v '^ *\+' conftest.er1 >conftest.err | 7231 | egrep -v '^ *\+' conftest.er1 >conftest.err |
7175 | rm -f conftest.er1 | 7232 | rm -f conftest.er1 |
7176 | cat conftest.err >&5 | 7233 | cat conftest.err >&5 |
7177 | echo "$as_me:7177: \$? = $ac_status" >&5 | 7234 | echo "$as_me:7234: \$? = $ac_status" >&5 |
7178 | (exit $ac_status); } >/dev/null; then | 7235 | (exit $ac_status); } >/dev/null; then |
7179 | if test -s conftest.err; then | 7236 | if test -s conftest.err; then |
7180 | ac_cpp_err=$ac_c_preproc_warn_flag | 7237 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -7196,7 +7253,7 @@ rm -f conftest.err conftest.$ac_ext | |||
7196 | if test $ac_cv_header_stdc = yes; then | 7253 | if test $ac_cv_header_stdc = yes; then |
7197 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 7254 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7198 | cat >conftest.$ac_ext <<_ACEOF | 7255 | cat >conftest.$ac_ext <<_ACEOF |
7199 | #line 7199 "configure" | 7256 | #line 7256 "configure" |
7200 | #include "confdefs.h" | 7257 | #include "confdefs.h" |
7201 | #include <string.h> | 7258 | #include <string.h> |
7202 | 7259 | ||
@@ -7214,7 +7271,7 @@ fi | |||
7214 | if test $ac_cv_header_stdc = yes; then | 7271 | if test $ac_cv_header_stdc = yes; then |
7215 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 7272 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
7216 | cat >conftest.$ac_ext <<_ACEOF | 7273 | cat >conftest.$ac_ext <<_ACEOF |
7217 | #line 7217 "configure" | 7274 | #line 7274 "configure" |
7218 | #include "confdefs.h" | 7275 | #include "confdefs.h" |
7219 | #include <stdlib.h> | 7276 | #include <stdlib.h> |
7220 | 7277 | ||
@@ -7235,7 +7292,7 @@ if test $ac_cv_header_stdc = yes; then | |||
7235 | : | 7292 | : |
7236 | else | 7293 | else |
7237 | cat >conftest.$ac_ext <<_ACEOF | 7294 | cat >conftest.$ac_ext <<_ACEOF |
7238 | #line 7238 "configure" | 7295 | #line 7295 "configure" |
7239 | #include "confdefs.h" | 7296 | #include "confdefs.h" |
7240 | #include <ctype.h> | 7297 | #include <ctype.h> |
7241 | #if ((' ' & 0x0FF) == 0x020) | 7298 | #if ((' ' & 0x0FF) == 0x020) |
@@ -7261,15 +7318,15 @@ main () | |||
7261 | } | 7318 | } |
7262 | _ACEOF | 7319 | _ACEOF |
7263 | rm -f conftest$ac_exeext | 7320 | rm -f conftest$ac_exeext |
7264 | if { (eval echo "$as_me:7264: \"$ac_link\"") >&5 | 7321 | if { (eval echo "$as_me:7321: \"$ac_link\"") >&5 |
7265 | (eval $ac_link) 2>&5 | 7322 | (eval $ac_link) 2>&5 |
7266 | ac_status=$? | 7323 | ac_status=$? |
7267 | echo "$as_me:7267: \$? = $ac_status" >&5 | 7324 | echo "$as_me:7324: \$? = $ac_status" >&5 |
7268 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 7325 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7269 | { (eval echo "$as_me:7269: \"$ac_try\"") >&5 | 7326 | { (eval echo "$as_me:7326: \"$ac_try\"") >&5 |
7270 | (eval $ac_try) 2>&5 | 7327 | (eval $ac_try) 2>&5 |
7271 | ac_status=$? | 7328 | ac_status=$? |
7272 | echo "$as_me:7272: \$? = $ac_status" >&5 | 7329 | echo "$as_me:7329: \$? = $ac_status" >&5 |
7273 | (exit $ac_status); }; }; then | 7330 | (exit $ac_status); }; }; then |
7274 | : | 7331 | : |
7275 | else | 7332 | else |
@@ -7282,7 +7339,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |||
7282 | fi | 7339 | fi |
7283 | fi | 7340 | fi |
7284 | fi | 7341 | fi |
7285 | echo "$as_me:7285: result: $ac_cv_header_stdc" >&5 | 7342 | echo "$as_me:7342: result: $ac_cv_header_stdc" >&5 |
7286 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 7343 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
7287 | if test $ac_cv_header_stdc = yes; then | 7344 | if test $ac_cv_header_stdc = yes; then |
7288 | 7345 | ||
@@ -7298,28 +7355,28 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |||
7298 | inttypes.h stdint.h unistd.h | 7355 | inttypes.h stdint.h unistd.h |
7299 | do | 7356 | do |
7300 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7357 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7301 | echo "$as_me:7301: checking for $ac_header" >&5 | 7358 | echo "$as_me:7358: checking for $ac_header" >&5 |
7302 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 7359 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7303 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7360 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7304 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7361 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7305 | else | 7362 | else |
7306 | cat >conftest.$ac_ext <<_ACEOF | 7363 | cat >conftest.$ac_ext <<_ACEOF |
7307 | #line 7307 "configure" | 7364 | #line 7364 "configure" |
7308 | #include "confdefs.h" | 7365 | #include "confdefs.h" |
7309 | $ac_includes_default | 7366 | $ac_includes_default |
7310 | #include <$ac_header> | 7367 | #include <$ac_header> |
7311 | _ACEOF | 7368 | _ACEOF |
7312 | rm -f conftest.$ac_objext | 7369 | rm -f conftest.$ac_objext |
7313 | if { (eval echo "$as_me:7313: \"$ac_compile\"") >&5 | 7370 | if { (eval echo "$as_me:7370: \"$ac_compile\"") >&5 |
7314 | (eval $ac_compile) 2>&5 | 7371 | (eval $ac_compile) 2>&5 |
7315 | ac_status=$? | 7372 | ac_status=$? |
7316 | echo "$as_me:7316: \$? = $ac_status" >&5 | 7373 | echo "$as_me:7373: \$? = $ac_status" >&5 |
7317 | (exit $ac_status); } && | 7374 | (exit $ac_status); } && |
7318 | { ac_try='test -s conftest.$ac_objext' | 7375 | { ac_try='test -s conftest.$ac_objext' |
7319 | { (eval echo "$as_me:7319: \"$ac_try\"") >&5 | 7376 | { (eval echo "$as_me:7376: \"$ac_try\"") >&5 |
7320 | (eval $ac_try) 2>&5 | 7377 | (eval $ac_try) 2>&5 |
7321 | ac_status=$? | 7378 | ac_status=$? |
7322 | echo "$as_me:7322: \$? = $ac_status" >&5 | 7379 | echo "$as_me:7379: \$? = $ac_status" >&5 |
7323 | (exit $ac_status); }; }; then | 7380 | (exit $ac_status); }; }; then |
7324 | eval "$as_ac_Header=yes" | 7381 | eval "$as_ac_Header=yes" |
7325 | else | 7382 | else |
@@ -7329,7 +7386,7 @@ eval "$as_ac_Header=no" | |||
7329 | fi | 7386 | fi |
7330 | rm -f conftest.$ac_objext conftest.$ac_ext | 7387 | rm -f conftest.$ac_objext conftest.$ac_ext |
7331 | fi | 7388 | fi |
7332 | echo "$as_me:7332: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7389 | echo "$as_me:7389: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7333 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7390 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7334 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 7391 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7335 | cat >>confdefs.h <<EOF | 7392 | cat >>confdefs.h <<EOF |
@@ -7339,13 +7396,13 @@ EOF | |||
7339 | fi | 7396 | fi |
7340 | done | 7397 | done |
7341 | 7398 | ||
7342 | echo "$as_me:7342: checking whether strsep is declared" >&5 | 7399 | echo "$as_me:7399: checking whether strsep is declared" >&5 |
7343 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 | 7400 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 |
7344 | if test "${ac_cv_have_decl_strsep+set}" = set; then | 7401 | if test "${ac_cv_have_decl_strsep+set}" = set; then |
7345 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7402 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7346 | else | 7403 | else |
7347 | cat >conftest.$ac_ext <<_ACEOF | 7404 | cat >conftest.$ac_ext <<_ACEOF |
7348 | #line 7348 "configure" | 7405 | #line 7405 "configure" |
7349 | #include "confdefs.h" | 7406 | #include "confdefs.h" |
7350 | $ac_includes_default | 7407 | $ac_includes_default |
7351 | int | 7408 | int |
@@ -7360,16 +7417,16 @@ main () | |||
7360 | } | 7417 | } |
7361 | _ACEOF | 7418 | _ACEOF |
7362 | rm -f conftest.$ac_objext | 7419 | rm -f conftest.$ac_objext |
7363 | if { (eval echo "$as_me:7363: \"$ac_compile\"") >&5 | 7420 | if { (eval echo "$as_me:7420: \"$ac_compile\"") >&5 |
7364 | (eval $ac_compile) 2>&5 | 7421 | (eval $ac_compile) 2>&5 |
7365 | ac_status=$? | 7422 | ac_status=$? |
7366 | echo "$as_me:7366: \$? = $ac_status" >&5 | 7423 | echo "$as_me:7423: \$? = $ac_status" >&5 |
7367 | (exit $ac_status); } && | 7424 | (exit $ac_status); } && |
7368 | { ac_try='test -s conftest.$ac_objext' | 7425 | { ac_try='test -s conftest.$ac_objext' |
7369 | { (eval echo "$as_me:7369: \"$ac_try\"") >&5 | 7426 | { (eval echo "$as_me:7426: \"$ac_try\"") >&5 |
7370 | (eval $ac_try) 2>&5 | 7427 | (eval $ac_try) 2>&5 |
7371 | ac_status=$? | 7428 | ac_status=$? |
7372 | echo "$as_me:7372: \$? = $ac_status" >&5 | 7429 | echo "$as_me:7429: \$? = $ac_status" >&5 |
7373 | (exit $ac_status); }; }; then | 7430 | (exit $ac_status); }; }; then |
7374 | ac_cv_have_decl_strsep=yes | 7431 | ac_cv_have_decl_strsep=yes |
7375 | else | 7432 | else |
@@ -7379,20 +7436,20 @@ ac_cv_have_decl_strsep=no | |||
7379 | fi | 7436 | fi |
7380 | rm -f conftest.$ac_objext conftest.$ac_ext | 7437 | rm -f conftest.$ac_objext conftest.$ac_ext |
7381 | fi | 7438 | fi |
7382 | echo "$as_me:7382: result: $ac_cv_have_decl_strsep" >&5 | 7439 | echo "$as_me:7439: result: $ac_cv_have_decl_strsep" >&5 |
7383 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 | 7440 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 |
7384 | if test $ac_cv_have_decl_strsep = yes; then | 7441 | if test $ac_cv_have_decl_strsep = yes; then |
7385 | 7442 | ||
7386 | for ac_func in strsep | 7443 | for ac_func in strsep |
7387 | do | 7444 | do |
7388 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7445 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7389 | echo "$as_me:7389: checking for $ac_func" >&5 | 7446 | echo "$as_me:7446: checking for $ac_func" >&5 |
7390 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7447 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7391 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7448 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7392 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7449 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7393 | else | 7450 | else |
7394 | cat >conftest.$ac_ext <<_ACEOF | 7451 | cat >conftest.$ac_ext <<_ACEOF |
7395 | #line 7395 "configure" | 7452 | #line 7452 "configure" |
7396 | #include "confdefs.h" | 7453 | #include "confdefs.h" |
7397 | /* System header to define __stub macros and hopefully few prototypes, | 7454 | /* System header to define __stub macros and hopefully few prototypes, |
7398 | which can conflict with char $ac_func (); below. */ | 7455 | which can conflict with char $ac_func (); below. */ |
@@ -7423,16 +7480,16 @@ f = $ac_func; | |||
7423 | } | 7480 | } |
7424 | _ACEOF | 7481 | _ACEOF |
7425 | rm -f conftest.$ac_objext conftest$ac_exeext | 7482 | rm -f conftest.$ac_objext conftest$ac_exeext |
7426 | if { (eval echo "$as_me:7426: \"$ac_link\"") >&5 | 7483 | if { (eval echo "$as_me:7483: \"$ac_link\"") >&5 |
7427 | (eval $ac_link) 2>&5 | 7484 | (eval $ac_link) 2>&5 |
7428 | ac_status=$? | 7485 | ac_status=$? |
7429 | echo "$as_me:7429: \$? = $ac_status" >&5 | 7486 | echo "$as_me:7486: \$? = $ac_status" >&5 |
7430 | (exit $ac_status); } && | 7487 | (exit $ac_status); } && |
7431 | { ac_try='test -s conftest$ac_exeext' | 7488 | { ac_try='test -s conftest$ac_exeext' |
7432 | { (eval echo "$as_me:7432: \"$ac_try\"") >&5 | 7489 | { (eval echo "$as_me:7489: \"$ac_try\"") >&5 |
7433 | (eval $ac_try) 2>&5 | 7490 | (eval $ac_try) 2>&5 |
7434 | ac_status=$? | 7491 | ac_status=$? |
7435 | echo "$as_me:7435: \$? = $ac_status" >&5 | 7492 | echo "$as_me:7492: \$? = $ac_status" >&5 |
7436 | (exit $ac_status); }; }; then | 7493 | (exit $ac_status); }; }; then |
7437 | eval "$as_ac_var=yes" | 7494 | eval "$as_ac_var=yes" |
7438 | else | 7495 | else |
@@ -7442,7 +7499,7 @@ eval "$as_ac_var=no" | |||
7442 | fi | 7499 | fi |
7443 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7500 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7444 | fi | 7501 | fi |
7445 | echo "$as_me:7445: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7502 | echo "$as_me:7502: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7446 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7503 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7447 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7504 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7448 | cat >>confdefs.h <<EOF | 7505 | cat >>confdefs.h <<EOF |
@@ -7454,13 +7511,13 @@ done | |||
7454 | 7511 | ||
7455 | fi | 7512 | fi |
7456 | 7513 | ||
7457 | echo "$as_me:7457: checking whether getrusage is declared" >&5 | 7514 | echo "$as_me:7514: checking whether getrusage is declared" >&5 |
7458 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 | 7515 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 |
7459 | if test "${ac_cv_have_decl_getrusage+set}" = set; then | 7516 | if test "${ac_cv_have_decl_getrusage+set}" = set; then |
7460 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7461 | else | 7518 | else |
7462 | cat >conftest.$ac_ext <<_ACEOF | 7519 | cat >conftest.$ac_ext <<_ACEOF |
7463 | #line 7463 "configure" | 7520 | #line 7520 "configure" |
7464 | #include "confdefs.h" | 7521 | #include "confdefs.h" |
7465 | $ac_includes_default | 7522 | $ac_includes_default |
7466 | int | 7523 | int |
@@ -7475,16 +7532,16 @@ main () | |||
7475 | } | 7532 | } |
7476 | _ACEOF | 7533 | _ACEOF |
7477 | rm -f conftest.$ac_objext | 7534 | rm -f conftest.$ac_objext |
7478 | if { (eval echo "$as_me:7478: \"$ac_compile\"") >&5 | 7535 | if { (eval echo "$as_me:7535: \"$ac_compile\"") >&5 |
7479 | (eval $ac_compile) 2>&5 | 7536 | (eval $ac_compile) 2>&5 |
7480 | ac_status=$? | 7537 | ac_status=$? |
7481 | echo "$as_me:7481: \$? = $ac_status" >&5 | 7538 | echo "$as_me:7538: \$? = $ac_status" >&5 |
7482 | (exit $ac_status); } && | 7539 | (exit $ac_status); } && |
7483 | { ac_try='test -s conftest.$ac_objext' | 7540 | { ac_try='test -s conftest.$ac_objext' |
7484 | { (eval echo "$as_me:7484: \"$ac_try\"") >&5 | 7541 | { (eval echo "$as_me:7541: \"$ac_try\"") >&5 |
7485 | (eval $ac_try) 2>&5 | 7542 | (eval $ac_try) 2>&5 |
7486 | ac_status=$? | 7543 | ac_status=$? |
7487 | echo "$as_me:7487: \$? = $ac_status" >&5 | 7544 | echo "$as_me:7544: \$? = $ac_status" >&5 |
7488 | (exit $ac_status); }; }; then | 7545 | (exit $ac_status); }; }; then |
7489 | ac_cv_have_decl_getrusage=yes | 7546 | ac_cv_have_decl_getrusage=yes |
7490 | else | 7547 | else |
@@ -7494,20 +7551,20 @@ ac_cv_have_decl_getrusage=no | |||
7494 | fi | 7551 | fi |
7495 | rm -f conftest.$ac_objext conftest.$ac_ext | 7552 | rm -f conftest.$ac_objext conftest.$ac_ext |
7496 | fi | 7553 | fi |
7497 | echo "$as_me:7497: result: $ac_cv_have_decl_getrusage" >&5 | 7554 | echo "$as_me:7554: result: $ac_cv_have_decl_getrusage" >&5 |
7498 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 | 7555 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 |
7499 | if test $ac_cv_have_decl_getrusage = yes; then | 7556 | if test $ac_cv_have_decl_getrusage = yes; then |
7500 | 7557 | ||
7501 | for ac_func in getrusage | 7558 | for ac_func in getrusage |
7502 | do | 7559 | do |
7503 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7560 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7504 | echo "$as_me:7504: checking for $ac_func" >&5 | 7561 | echo "$as_me:7561: checking for $ac_func" >&5 |
7505 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7562 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7506 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7563 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7507 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7564 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7508 | else | 7565 | else |
7509 | cat >conftest.$ac_ext <<_ACEOF | 7566 | cat >conftest.$ac_ext <<_ACEOF |
7510 | #line 7510 "configure" | 7567 | #line 7567 "configure" |
7511 | #include "confdefs.h" | 7568 | #include "confdefs.h" |
7512 | /* System header to define __stub macros and hopefully few prototypes, | 7569 | /* System header to define __stub macros and hopefully few prototypes, |
7513 | which can conflict with char $ac_func (); below. */ | 7570 | which can conflict with char $ac_func (); below. */ |
@@ -7538,16 +7595,16 @@ f = $ac_func; | |||
7538 | } | 7595 | } |
7539 | _ACEOF | 7596 | _ACEOF |
7540 | rm -f conftest.$ac_objext conftest$ac_exeext | 7597 | rm -f conftest.$ac_objext conftest$ac_exeext |
7541 | if { (eval echo "$as_me:7541: \"$ac_link\"") >&5 | 7598 | if { (eval echo "$as_me:7598: \"$ac_link\"") >&5 |
7542 | (eval $ac_link) 2>&5 | 7599 | (eval $ac_link) 2>&5 |
7543 | ac_status=$? | 7600 | ac_status=$? |
7544 | echo "$as_me:7544: \$? = $ac_status" >&5 | 7601 | echo "$as_me:7601: \$? = $ac_status" >&5 |
7545 | (exit $ac_status); } && | 7602 | (exit $ac_status); } && |
7546 | { ac_try='test -s conftest$ac_exeext' | 7603 | { ac_try='test -s conftest$ac_exeext' |
7547 | { (eval echo "$as_me:7547: \"$ac_try\"") >&5 | 7604 | { (eval echo "$as_me:7604: \"$ac_try\"") >&5 |
7548 | (eval $ac_try) 2>&5 | 7605 | (eval $ac_try) 2>&5 |
7549 | ac_status=$? | 7606 | ac_status=$? |
7550 | echo "$as_me:7550: \$? = $ac_status" >&5 | 7607 | echo "$as_me:7607: \$? = $ac_status" >&5 |
7551 | (exit $ac_status); }; }; then | 7608 | (exit $ac_status); }; }; then |
7552 | eval "$as_ac_var=yes" | 7609 | eval "$as_ac_var=yes" |
7553 | else | 7610 | else |
@@ -7557,7 +7614,7 @@ eval "$as_ac_var=no" | |||
7557 | fi | 7614 | fi |
7558 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7615 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7559 | fi | 7616 | fi |
7560 | echo "$as_me:7560: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7617 | echo "$as_me:7617: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7561 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7618 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7562 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7619 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7563 | cat >>confdefs.h <<EOF | 7620 | cat >>confdefs.h <<EOF |
@@ -7569,13 +7626,13 @@ done | |||
7569 | 7626 | ||
7570 | fi | 7627 | fi |
7571 | 7628 | ||
7572 | echo "$as_me:7572: checking whether tcsendbreak is declared" >&5 | 7629 | echo "$as_me:7629: checking whether tcsendbreak is declared" >&5 |
7573 | echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6 | 7630 | echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6 |
7574 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then | 7631 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then |
7575 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7576 | else | 7633 | else |
7577 | cat >conftest.$ac_ext <<_ACEOF | 7634 | cat >conftest.$ac_ext <<_ACEOF |
7578 | #line 7578 "configure" | 7635 | #line 7635 "configure" |
7579 | #include "confdefs.h" | 7636 | #include "confdefs.h" |
7580 | #include <termios.h> | 7637 | #include <termios.h> |
7581 | 7638 | ||
@@ -7591,16 +7648,16 @@ main () | |||
7591 | } | 7648 | } |
7592 | _ACEOF | 7649 | _ACEOF |
7593 | rm -f conftest.$ac_objext | 7650 | rm -f conftest.$ac_objext |
7594 | if { (eval echo "$as_me:7594: \"$ac_compile\"") >&5 | 7651 | if { (eval echo "$as_me:7651: \"$ac_compile\"") >&5 |
7595 | (eval $ac_compile) 2>&5 | 7652 | (eval $ac_compile) 2>&5 |
7596 | ac_status=$? | 7653 | ac_status=$? |
7597 | echo "$as_me:7597: \$? = $ac_status" >&5 | 7654 | echo "$as_me:7654: \$? = $ac_status" >&5 |
7598 | (exit $ac_status); } && | 7655 | (exit $ac_status); } && |
7599 | { ac_try='test -s conftest.$ac_objext' | 7656 | { ac_try='test -s conftest.$ac_objext' |
7600 | { (eval echo "$as_me:7600: \"$ac_try\"") >&5 | 7657 | { (eval echo "$as_me:7657: \"$ac_try\"") >&5 |
7601 | (eval $ac_try) 2>&5 | 7658 | (eval $ac_try) 2>&5 |
7602 | ac_status=$? | 7659 | ac_status=$? |
7603 | echo "$as_me:7603: \$? = $ac_status" >&5 | 7660 | echo "$as_me:7660: \$? = $ac_status" >&5 |
7604 | (exit $ac_status); }; }; then | 7661 | (exit $ac_status); }; }; then |
7605 | ac_cv_have_decl_tcsendbreak=yes | 7662 | ac_cv_have_decl_tcsendbreak=yes |
7606 | else | 7663 | else |
@@ -7610,7 +7667,7 @@ ac_cv_have_decl_tcsendbreak=no | |||
7610 | fi | 7667 | fi |
7611 | rm -f conftest.$ac_objext conftest.$ac_ext | 7668 | rm -f conftest.$ac_objext conftest.$ac_ext |
7612 | fi | 7669 | fi |
7613 | echo "$as_me:7613: result: $ac_cv_have_decl_tcsendbreak" >&5 | 7670 | echo "$as_me:7670: result: $ac_cv_have_decl_tcsendbreak" >&5 |
7614 | echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6 | 7671 | echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6 |
7615 | if test $ac_cv_have_decl_tcsendbreak = yes; then | 7672 | if test $ac_cv_have_decl_tcsendbreak = yes; then |
7616 | cat >>confdefs.h <<\EOF | 7673 | cat >>confdefs.h <<\EOF |
@@ -7622,13 +7679,13 @@ else | |||
7622 | for ac_func in tcsendbreak | 7679 | for ac_func in tcsendbreak |
7623 | do | 7680 | do |
7624 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7681 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7625 | echo "$as_me:7625: checking for $ac_func" >&5 | 7682 | echo "$as_me:7682: checking for $ac_func" >&5 |
7626 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7683 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7627 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7684 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7628 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7685 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7629 | else | 7686 | else |
7630 | cat >conftest.$ac_ext <<_ACEOF | 7687 | cat >conftest.$ac_ext <<_ACEOF |
7631 | #line 7631 "configure" | 7688 | #line 7688 "configure" |
7632 | #include "confdefs.h" | 7689 | #include "confdefs.h" |
7633 | /* System header to define __stub macros and hopefully few prototypes, | 7690 | /* System header to define __stub macros and hopefully few prototypes, |
7634 | which can conflict with char $ac_func (); below. */ | 7691 | which can conflict with char $ac_func (); below. */ |
@@ -7659,16 +7716,16 @@ f = $ac_func; | |||
7659 | } | 7716 | } |
7660 | _ACEOF | 7717 | _ACEOF |
7661 | rm -f conftest.$ac_objext conftest$ac_exeext | 7718 | rm -f conftest.$ac_objext conftest$ac_exeext |
7662 | if { (eval echo "$as_me:7662: \"$ac_link\"") >&5 | 7719 | if { (eval echo "$as_me:7719: \"$ac_link\"") >&5 |
7663 | (eval $ac_link) 2>&5 | 7720 | (eval $ac_link) 2>&5 |
7664 | ac_status=$? | 7721 | ac_status=$? |
7665 | echo "$as_me:7665: \$? = $ac_status" >&5 | 7722 | echo "$as_me:7722: \$? = $ac_status" >&5 |
7666 | (exit $ac_status); } && | 7723 | (exit $ac_status); } && |
7667 | { ac_try='test -s conftest$ac_exeext' | 7724 | { ac_try='test -s conftest$ac_exeext' |
7668 | { (eval echo "$as_me:7668: \"$ac_try\"") >&5 | 7725 | { (eval echo "$as_me:7725: \"$ac_try\"") >&5 |
7669 | (eval $ac_try) 2>&5 | 7726 | (eval $ac_try) 2>&5 |
7670 | ac_status=$? | 7727 | ac_status=$? |
7671 | echo "$as_me:7671: \$? = $ac_status" >&5 | 7728 | echo "$as_me:7728: \$? = $ac_status" >&5 |
7672 | (exit $ac_status); }; }; then | 7729 | (exit $ac_status); }; }; then |
7673 | eval "$as_ac_var=yes" | 7730 | eval "$as_ac_var=yes" |
7674 | else | 7731 | else |
@@ -7678,7 +7735,7 @@ eval "$as_ac_var=no" | |||
7678 | fi | 7735 | fi |
7679 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7736 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7680 | fi | 7737 | fi |
7681 | echo "$as_me:7681: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7738 | echo "$as_me:7738: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7682 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7739 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7683 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7740 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7684 | cat >>confdefs.h <<EOF | 7741 | cat >>confdefs.h <<EOF |
@@ -7693,13 +7750,13 @@ fi | |||
7693 | for ac_func in setresuid | 7750 | for ac_func in setresuid |
7694 | do | 7751 | do |
7695 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7752 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7696 | echo "$as_me:7696: checking for $ac_func" >&5 | 7753 | echo "$as_me:7753: checking for $ac_func" >&5 |
7697 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7754 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7698 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7755 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7699 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7756 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7700 | else | 7757 | else |
7701 | cat >conftest.$ac_ext <<_ACEOF | 7758 | cat >conftest.$ac_ext <<_ACEOF |
7702 | #line 7702 "configure" | 7759 | #line 7759 "configure" |
7703 | #include "confdefs.h" | 7760 | #include "confdefs.h" |
7704 | /* System header to define __stub macros and hopefully few prototypes, | 7761 | /* System header to define __stub macros and hopefully few prototypes, |
7705 | which can conflict with char $ac_func (); below. */ | 7762 | which can conflict with char $ac_func (); below. */ |
@@ -7730,16 +7787,16 @@ f = $ac_func; | |||
7730 | } | 7787 | } |
7731 | _ACEOF | 7788 | _ACEOF |
7732 | rm -f conftest.$ac_objext conftest$ac_exeext | 7789 | rm -f conftest.$ac_objext conftest$ac_exeext |
7733 | if { (eval echo "$as_me:7733: \"$ac_link\"") >&5 | 7790 | if { (eval echo "$as_me:7790: \"$ac_link\"") >&5 |
7734 | (eval $ac_link) 2>&5 | 7791 | (eval $ac_link) 2>&5 |
7735 | ac_status=$? | 7792 | ac_status=$? |
7736 | echo "$as_me:7736: \$? = $ac_status" >&5 | 7793 | echo "$as_me:7793: \$? = $ac_status" >&5 |
7737 | (exit $ac_status); } && | 7794 | (exit $ac_status); } && |
7738 | { ac_try='test -s conftest$ac_exeext' | 7795 | { ac_try='test -s conftest$ac_exeext' |
7739 | { (eval echo "$as_me:7739: \"$ac_try\"") >&5 | 7796 | { (eval echo "$as_me:7796: \"$ac_try\"") >&5 |
7740 | (eval $ac_try) 2>&5 | 7797 | (eval $ac_try) 2>&5 |
7741 | ac_status=$? | 7798 | ac_status=$? |
7742 | echo "$as_me:7742: \$? = $ac_status" >&5 | 7799 | echo "$as_me:7799: \$? = $ac_status" >&5 |
7743 | (exit $ac_status); }; }; then | 7800 | (exit $ac_status); }; }; then |
7744 | eval "$as_ac_var=yes" | 7801 | eval "$as_ac_var=yes" |
7745 | else | 7802 | else |
@@ -7749,22 +7806,22 @@ eval "$as_ac_var=no" | |||
7749 | fi | 7806 | fi |
7750 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7807 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7751 | fi | 7808 | fi |
7752 | echo "$as_me:7752: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7809 | echo "$as_me:7809: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7753 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7810 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7754 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7811 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7755 | cat >>confdefs.h <<EOF | 7812 | cat >>confdefs.h <<EOF |
7756 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7813 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7757 | EOF | 7814 | EOF |
7758 | 7815 | ||
7759 | echo "$as_me:7759: checking if setresuid seems to work" >&5 | 7816 | echo "$as_me:7816: checking if setresuid seems to work" >&5 |
7760 | echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6 | 7817 | echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6 |
7761 | if test "$cross_compiling" = yes; then | 7818 | if test "$cross_compiling" = yes; then |
7762 | { { echo "$as_me:7762: error: cannot run test program while cross compiling" >&5 | 7819 | { { echo "$as_me:7819: error: cannot run test program while cross compiling" >&5 |
7763 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 7820 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
7764 | { (exit 1); exit 1; }; } | 7821 | { (exit 1); exit 1; }; } |
7765 | else | 7822 | else |
7766 | cat >conftest.$ac_ext <<_ACEOF | 7823 | cat >conftest.$ac_ext <<_ACEOF |
7767 | #line 7767 "configure" | 7824 | #line 7824 "configure" |
7768 | #include "confdefs.h" | 7825 | #include "confdefs.h" |
7769 | 7826 | ||
7770 | #include <stdlib.h> | 7827 | #include <stdlib.h> |
@@ -7773,17 +7830,17 @@ int main(){errno=0; setresuid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} | |||
7773 | 7830 | ||
7774 | _ACEOF | 7831 | _ACEOF |
7775 | rm -f conftest$ac_exeext | 7832 | rm -f conftest$ac_exeext |
7776 | if { (eval echo "$as_me:7776: \"$ac_link\"") >&5 | 7833 | if { (eval echo "$as_me:7833: \"$ac_link\"") >&5 |
7777 | (eval $ac_link) 2>&5 | 7834 | (eval $ac_link) 2>&5 |
7778 | ac_status=$? | 7835 | ac_status=$? |
7779 | echo "$as_me:7779: \$? = $ac_status" >&5 | 7836 | echo "$as_me:7836: \$? = $ac_status" >&5 |
7780 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 7837 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7781 | { (eval echo "$as_me:7781: \"$ac_try\"") >&5 | 7838 | { (eval echo "$as_me:7838: \"$ac_try\"") >&5 |
7782 | (eval $ac_try) 2>&5 | 7839 | (eval $ac_try) 2>&5 |
7783 | ac_status=$? | 7840 | ac_status=$? |
7784 | echo "$as_me:7784: \$? = $ac_status" >&5 | 7841 | echo "$as_me:7841: \$? = $ac_status" >&5 |
7785 | (exit $ac_status); }; }; then | 7842 | (exit $ac_status); }; }; then |
7786 | echo "$as_me:7786: result: yes" >&5 | 7843 | echo "$as_me:7843: result: yes" >&5 |
7787 | echo "${ECHO_T}yes" >&6 | 7844 | echo "${ECHO_T}yes" >&6 |
7788 | else | 7845 | else |
7789 | echo "$as_me: program exited with status $ac_status" >&5 | 7846 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -7793,7 +7850,7 @@ cat >>confdefs.h <<\EOF | |||
7793 | #define BROKEN_SETRESUID 1 | 7850 | #define BROKEN_SETRESUID 1 |
7794 | EOF | 7851 | EOF |
7795 | 7852 | ||
7796 | echo "$as_me:7796: result: not implemented" >&5 | 7853 | echo "$as_me:7853: result: not implemented" >&5 |
7797 | echo "${ECHO_T}not implemented" >&6 | 7854 | echo "${ECHO_T}not implemented" >&6 |
7798 | 7855 | ||
7799 | fi | 7856 | fi |
@@ -7806,13 +7863,13 @@ done | |||
7806 | for ac_func in setresgid | 7863 | for ac_func in setresgid |
7807 | do | 7864 | do |
7808 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7865 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7809 | echo "$as_me:7809: checking for $ac_func" >&5 | 7866 | echo "$as_me:7866: checking for $ac_func" >&5 |
7810 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7867 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7811 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7868 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7812 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7869 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7813 | else | 7870 | else |
7814 | cat >conftest.$ac_ext <<_ACEOF | 7871 | cat >conftest.$ac_ext <<_ACEOF |
7815 | #line 7815 "configure" | 7872 | #line 7872 "configure" |
7816 | #include "confdefs.h" | 7873 | #include "confdefs.h" |
7817 | /* System header to define __stub macros and hopefully few prototypes, | 7874 | /* System header to define __stub macros and hopefully few prototypes, |
7818 | which can conflict with char $ac_func (); below. */ | 7875 | which can conflict with char $ac_func (); below. */ |
@@ -7843,16 +7900,16 @@ f = $ac_func; | |||
7843 | } | 7900 | } |
7844 | _ACEOF | 7901 | _ACEOF |
7845 | rm -f conftest.$ac_objext conftest$ac_exeext | 7902 | rm -f conftest.$ac_objext conftest$ac_exeext |
7846 | if { (eval echo "$as_me:7846: \"$ac_link\"") >&5 | 7903 | if { (eval echo "$as_me:7903: \"$ac_link\"") >&5 |
7847 | (eval $ac_link) 2>&5 | 7904 | (eval $ac_link) 2>&5 |
7848 | ac_status=$? | 7905 | ac_status=$? |
7849 | echo "$as_me:7849: \$? = $ac_status" >&5 | 7906 | echo "$as_me:7906: \$? = $ac_status" >&5 |
7850 | (exit $ac_status); } && | 7907 | (exit $ac_status); } && |
7851 | { ac_try='test -s conftest$ac_exeext' | 7908 | { ac_try='test -s conftest$ac_exeext' |
7852 | { (eval echo "$as_me:7852: \"$ac_try\"") >&5 | 7909 | { (eval echo "$as_me:7909: \"$ac_try\"") >&5 |
7853 | (eval $ac_try) 2>&5 | 7910 | (eval $ac_try) 2>&5 |
7854 | ac_status=$? | 7911 | ac_status=$? |
7855 | echo "$as_me:7855: \$? = $ac_status" >&5 | 7912 | echo "$as_me:7912: \$? = $ac_status" >&5 |
7856 | (exit $ac_status); }; }; then | 7913 | (exit $ac_status); }; }; then |
7857 | eval "$as_ac_var=yes" | 7914 | eval "$as_ac_var=yes" |
7858 | else | 7915 | else |
@@ -7862,22 +7919,22 @@ eval "$as_ac_var=no" | |||
7862 | fi | 7919 | fi |
7863 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7920 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7864 | fi | 7921 | fi |
7865 | echo "$as_me:7865: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7922 | echo "$as_me:7922: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7866 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7923 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7867 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7924 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7868 | cat >>confdefs.h <<EOF | 7925 | cat >>confdefs.h <<EOF |
7869 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7926 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7870 | EOF | 7927 | EOF |
7871 | 7928 | ||
7872 | echo "$as_me:7872: checking if setresgid seems to work" >&5 | 7929 | echo "$as_me:7929: checking if setresgid seems to work" >&5 |
7873 | echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6 | 7930 | echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6 |
7874 | if test "$cross_compiling" = yes; then | 7931 | if test "$cross_compiling" = yes; then |
7875 | { { echo "$as_me:7875: error: cannot run test program while cross compiling" >&5 | 7932 | { { echo "$as_me:7932: error: cannot run test program while cross compiling" >&5 |
7876 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 7933 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
7877 | { (exit 1); exit 1; }; } | 7934 | { (exit 1); exit 1; }; } |
7878 | else | 7935 | else |
7879 | cat >conftest.$ac_ext <<_ACEOF | 7936 | cat >conftest.$ac_ext <<_ACEOF |
7880 | #line 7880 "configure" | 7937 | #line 7937 "configure" |
7881 | #include "confdefs.h" | 7938 | #include "confdefs.h" |
7882 | 7939 | ||
7883 | #include <stdlib.h> | 7940 | #include <stdlib.h> |
@@ -7886,17 +7943,17 @@ int main(){errno=0; setresgid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} | |||
7886 | 7943 | ||
7887 | _ACEOF | 7944 | _ACEOF |
7888 | rm -f conftest$ac_exeext | 7945 | rm -f conftest$ac_exeext |
7889 | if { (eval echo "$as_me:7889: \"$ac_link\"") >&5 | 7946 | if { (eval echo "$as_me:7946: \"$ac_link\"") >&5 |
7890 | (eval $ac_link) 2>&5 | 7947 | (eval $ac_link) 2>&5 |
7891 | ac_status=$? | 7948 | ac_status=$? |
7892 | echo "$as_me:7892: \$? = $ac_status" >&5 | 7949 | echo "$as_me:7949: \$? = $ac_status" >&5 |
7893 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 7950 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7894 | { (eval echo "$as_me:7894: \"$ac_try\"") >&5 | 7951 | { (eval echo "$as_me:7951: \"$ac_try\"") >&5 |
7895 | (eval $ac_try) 2>&5 | 7952 | (eval $ac_try) 2>&5 |
7896 | ac_status=$? | 7953 | ac_status=$? |
7897 | echo "$as_me:7897: \$? = $ac_status" >&5 | 7954 | echo "$as_me:7954: \$? = $ac_status" >&5 |
7898 | (exit $ac_status); }; }; then | 7955 | (exit $ac_status); }; }; then |
7899 | echo "$as_me:7899: result: yes" >&5 | 7956 | echo "$as_me:7956: result: yes" >&5 |
7900 | echo "${ECHO_T}yes" >&6 | 7957 | echo "${ECHO_T}yes" >&6 |
7901 | else | 7958 | else |
7902 | echo "$as_me: program exited with status $ac_status" >&5 | 7959 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -7906,7 +7963,7 @@ cat >>confdefs.h <<\EOF | |||
7906 | #define BROKEN_SETRESGID 1 | 7963 | #define BROKEN_SETRESGID 1 |
7907 | EOF | 7964 | EOF |
7908 | 7965 | ||
7909 | echo "$as_me:7909: result: not implemented" >&5 | 7966 | echo "$as_me:7966: result: not implemented" >&5 |
7910 | echo "${ECHO_T}not implemented" >&6 | 7967 | echo "${ECHO_T}not implemented" >&6 |
7911 | 7968 | ||
7912 | fi | 7969 | fi |
@@ -7919,13 +7976,13 @@ done | |||
7919 | for ac_func in gettimeofday time | 7976 | for ac_func in gettimeofday time |
7920 | do | 7977 | do |
7921 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7978 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7922 | echo "$as_me:7922: checking for $ac_func" >&5 | 7979 | echo "$as_me:7979: checking for $ac_func" >&5 |
7923 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7980 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7924 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7981 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7925 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7982 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7926 | else | 7983 | else |
7927 | cat >conftest.$ac_ext <<_ACEOF | 7984 | cat >conftest.$ac_ext <<_ACEOF |
7928 | #line 7928 "configure" | 7985 | #line 7985 "configure" |
7929 | #include "confdefs.h" | 7986 | #include "confdefs.h" |
7930 | /* System header to define __stub macros and hopefully few prototypes, | 7987 | /* System header to define __stub macros and hopefully few prototypes, |
7931 | which can conflict with char $ac_func (); below. */ | 7988 | which can conflict with char $ac_func (); below. */ |
@@ -7956,16 +8013,16 @@ f = $ac_func; | |||
7956 | } | 8013 | } |
7957 | _ACEOF | 8014 | _ACEOF |
7958 | rm -f conftest.$ac_objext conftest$ac_exeext | 8015 | rm -f conftest.$ac_objext conftest$ac_exeext |
7959 | if { (eval echo "$as_me:7959: \"$ac_link\"") >&5 | 8016 | if { (eval echo "$as_me:8016: \"$ac_link\"") >&5 |
7960 | (eval $ac_link) 2>&5 | 8017 | (eval $ac_link) 2>&5 |
7961 | ac_status=$? | 8018 | ac_status=$? |
7962 | echo "$as_me:7962: \$? = $ac_status" >&5 | 8019 | echo "$as_me:8019: \$? = $ac_status" >&5 |
7963 | (exit $ac_status); } && | 8020 | (exit $ac_status); } && |
7964 | { ac_try='test -s conftest$ac_exeext' | 8021 | { ac_try='test -s conftest$ac_exeext' |
7965 | { (eval echo "$as_me:7965: \"$ac_try\"") >&5 | 8022 | { (eval echo "$as_me:8022: \"$ac_try\"") >&5 |
7966 | (eval $ac_try) 2>&5 | 8023 | (eval $ac_try) 2>&5 |
7967 | ac_status=$? | 8024 | ac_status=$? |
7968 | echo "$as_me:7968: \$? = $ac_status" >&5 | 8025 | echo "$as_me:8025: \$? = $ac_status" >&5 |
7969 | (exit $ac_status); }; }; then | 8026 | (exit $ac_status); }; }; then |
7970 | eval "$as_ac_var=yes" | 8027 | eval "$as_ac_var=yes" |
7971 | else | 8028 | else |
@@ -7975,7 +8032,7 @@ eval "$as_ac_var=no" | |||
7975 | fi | 8032 | fi |
7976 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8033 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7977 | fi | 8034 | fi |
7978 | echo "$as_me:7978: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8035 | echo "$as_me:8035: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7979 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8036 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7980 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 8037 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7981 | cat >>confdefs.h <<EOF | 8038 | cat >>confdefs.h <<EOF |
@@ -7988,13 +8045,13 @@ done | |||
7988 | for ac_func in endutent getutent getutid getutline pututline setutent | 8045 | for ac_func in endutent getutent getutid getutline pututline setutent |
7989 | do | 8046 | do |
7990 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8047 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7991 | echo "$as_me:7991: checking for $ac_func" >&5 | 8048 | echo "$as_me:8048: checking for $ac_func" >&5 |
7992 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8049 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7993 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 8050 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7994 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8051 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7995 | else | 8052 | else |
7996 | cat >conftest.$ac_ext <<_ACEOF | 8053 | cat >conftest.$ac_ext <<_ACEOF |
7997 | #line 7997 "configure" | 8054 | #line 8054 "configure" |
7998 | #include "confdefs.h" | 8055 | #include "confdefs.h" |
7999 | /* System header to define __stub macros and hopefully few prototypes, | 8056 | /* System header to define __stub macros and hopefully few prototypes, |
8000 | which can conflict with char $ac_func (); below. */ | 8057 | which can conflict with char $ac_func (); below. */ |
@@ -8025,16 +8082,16 @@ f = $ac_func; | |||
8025 | } | 8082 | } |
8026 | _ACEOF | 8083 | _ACEOF |
8027 | rm -f conftest.$ac_objext conftest$ac_exeext | 8084 | rm -f conftest.$ac_objext conftest$ac_exeext |
8028 | if { (eval echo "$as_me:8028: \"$ac_link\"") >&5 | 8085 | if { (eval echo "$as_me:8085: \"$ac_link\"") >&5 |
8029 | (eval $ac_link) 2>&5 | 8086 | (eval $ac_link) 2>&5 |
8030 | ac_status=$? | 8087 | ac_status=$? |
8031 | echo "$as_me:8031: \$? = $ac_status" >&5 | 8088 | echo "$as_me:8088: \$? = $ac_status" >&5 |
8032 | (exit $ac_status); } && | 8089 | (exit $ac_status); } && |
8033 | { ac_try='test -s conftest$ac_exeext' | 8090 | { ac_try='test -s conftest$ac_exeext' |
8034 | { (eval echo "$as_me:8034: \"$ac_try\"") >&5 | 8091 | { (eval echo "$as_me:8091: \"$ac_try\"") >&5 |
8035 | (eval $ac_try) 2>&5 | 8092 | (eval $ac_try) 2>&5 |
8036 | ac_status=$? | 8093 | ac_status=$? |
8037 | echo "$as_me:8037: \$? = $ac_status" >&5 | 8094 | echo "$as_me:8094: \$? = $ac_status" >&5 |
8038 | (exit $ac_status); }; }; then | 8095 | (exit $ac_status); }; }; then |
8039 | eval "$as_ac_var=yes" | 8096 | eval "$as_ac_var=yes" |
8040 | else | 8097 | else |
@@ -8044,7 +8101,7 @@ eval "$as_ac_var=no" | |||
8044 | fi | 8101 | fi |
8045 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8102 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8046 | fi | 8103 | fi |
8047 | echo "$as_me:8047: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8104 | echo "$as_me:8104: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8048 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8105 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8049 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 8106 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8050 | cat >>confdefs.h <<EOF | 8107 | cat >>confdefs.h <<EOF |
@@ -8057,13 +8114,13 @@ done | |||
8057 | for ac_func in utmpname | 8114 | for ac_func in utmpname |
8058 | do | 8115 | do |
8059 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8116 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8060 | echo "$as_me:8060: checking for $ac_func" >&5 | 8117 | echo "$as_me:8117: checking for $ac_func" >&5 |
8061 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8118 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8062 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 8119 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8063 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8120 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8064 | else | 8121 | else |
8065 | cat >conftest.$ac_ext <<_ACEOF | 8122 | cat >conftest.$ac_ext <<_ACEOF |
8066 | #line 8066 "configure" | 8123 | #line 8123 "configure" |
8067 | #include "confdefs.h" | 8124 | #include "confdefs.h" |
8068 | /* System header to define __stub macros and hopefully few prototypes, | 8125 | /* System header to define __stub macros and hopefully few prototypes, |
8069 | which can conflict with char $ac_func (); below. */ | 8126 | which can conflict with char $ac_func (); below. */ |
@@ -8094,16 +8151,16 @@ f = $ac_func; | |||
8094 | } | 8151 | } |
8095 | _ACEOF | 8152 | _ACEOF |
8096 | rm -f conftest.$ac_objext conftest$ac_exeext | 8153 | rm -f conftest.$ac_objext conftest$ac_exeext |
8097 | if { (eval echo "$as_me:8097: \"$ac_link\"") >&5 | 8154 | if { (eval echo "$as_me:8154: \"$ac_link\"") >&5 |
8098 | (eval $ac_link) 2>&5 | 8155 | (eval $ac_link) 2>&5 |
8099 | ac_status=$? | 8156 | ac_status=$? |
8100 | echo "$as_me:8100: \$? = $ac_status" >&5 | 8157 | echo "$as_me:8157: \$? = $ac_status" >&5 |
8101 | (exit $ac_status); } && | 8158 | (exit $ac_status); } && |
8102 | { ac_try='test -s conftest$ac_exeext' | 8159 | { ac_try='test -s conftest$ac_exeext' |
8103 | { (eval echo "$as_me:8103: \"$ac_try\"") >&5 | 8160 | { (eval echo "$as_me:8160: \"$ac_try\"") >&5 |
8104 | (eval $ac_try) 2>&5 | 8161 | (eval $ac_try) 2>&5 |
8105 | ac_status=$? | 8162 | ac_status=$? |
8106 | echo "$as_me:8106: \$? = $ac_status" >&5 | 8163 | echo "$as_me:8163: \$? = $ac_status" >&5 |
8107 | (exit $ac_status); }; }; then | 8164 | (exit $ac_status); }; }; then |
8108 | eval "$as_ac_var=yes" | 8165 | eval "$as_ac_var=yes" |
8109 | else | 8166 | else |
@@ -8113,7 +8170,7 @@ eval "$as_ac_var=no" | |||
8113 | fi | 8170 | fi |
8114 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8171 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8115 | fi | 8172 | fi |
8116 | echo "$as_me:8116: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8173 | echo "$as_me:8173: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8117 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8174 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8118 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 8175 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8119 | cat >>confdefs.h <<EOF | 8176 | cat >>confdefs.h <<EOF |
@@ -8126,13 +8183,13 @@ done | |||
8126 | for ac_func in endutxent getutxent getutxid getutxline pututxline | 8183 | for ac_func in endutxent getutxent getutxid getutxline pututxline |
8127 | do | 8184 | do |
8128 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8185 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8129 | echo "$as_me:8129: checking for $ac_func" >&5 | 8186 | echo "$as_me:8186: checking for $ac_func" >&5 |
8130 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8187 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8131 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 8188 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8132 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8189 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8133 | else | 8190 | else |
8134 | cat >conftest.$ac_ext <<_ACEOF | 8191 | cat >conftest.$ac_ext <<_ACEOF |
8135 | #line 8135 "configure" | 8192 | #line 8192 "configure" |
8136 | #include "confdefs.h" | 8193 | #include "confdefs.h" |
8137 | /* System header to define __stub macros and hopefully few prototypes, | 8194 | /* System header to define __stub macros and hopefully few prototypes, |
8138 | which can conflict with char $ac_func (); below. */ | 8195 | which can conflict with char $ac_func (); below. */ |
@@ -8163,16 +8220,16 @@ f = $ac_func; | |||
8163 | } | 8220 | } |
8164 | _ACEOF | 8221 | _ACEOF |
8165 | rm -f conftest.$ac_objext conftest$ac_exeext | 8222 | rm -f conftest.$ac_objext conftest$ac_exeext |
8166 | if { (eval echo "$as_me:8166: \"$ac_link\"") >&5 | 8223 | if { (eval echo "$as_me:8223: \"$ac_link\"") >&5 |
8167 | (eval $ac_link) 2>&5 | 8224 | (eval $ac_link) 2>&5 |
8168 | ac_status=$? | 8225 | ac_status=$? |
8169 | echo "$as_me:8169: \$? = $ac_status" >&5 | 8226 | echo "$as_me:8226: \$? = $ac_status" >&5 |
8170 | (exit $ac_status); } && | 8227 | (exit $ac_status); } && |
8171 | { ac_try='test -s conftest$ac_exeext' | 8228 | { ac_try='test -s conftest$ac_exeext' |
8172 | { (eval echo "$as_me:8172: \"$ac_try\"") >&5 | 8229 | { (eval echo "$as_me:8229: \"$ac_try\"") >&5 |
8173 | (eval $ac_try) 2>&5 | 8230 | (eval $ac_try) 2>&5 |
8174 | ac_status=$? | 8231 | ac_status=$? |
8175 | echo "$as_me:8175: \$? = $ac_status" >&5 | 8232 | echo "$as_me:8232: \$? = $ac_status" >&5 |
8176 | (exit $ac_status); }; }; then | 8233 | (exit $ac_status); }; }; then |
8177 | eval "$as_ac_var=yes" | 8234 | eval "$as_ac_var=yes" |
8178 | else | 8235 | else |
@@ -8182,7 +8239,7 @@ eval "$as_ac_var=no" | |||
8182 | fi | 8239 | fi |
8183 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8240 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8184 | fi | 8241 | fi |
8185 | echo "$as_me:8185: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8242 | echo "$as_me:8242: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8186 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8243 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8187 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 8244 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8188 | cat >>confdefs.h <<EOF | 8245 | cat >>confdefs.h <<EOF |
@@ -8195,13 +8252,13 @@ done | |||
8195 | for ac_func in setutxent utmpxname | 8252 | for ac_func in setutxent utmpxname |
8196 | do | 8253 | do |
8197 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8254 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8198 | echo "$as_me:8198: checking for $ac_func" >&5 | 8255 | echo "$as_me:8255: checking for $ac_func" >&5 |
8199 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8256 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8200 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 8257 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8201 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8258 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8202 | else | 8259 | else |
8203 | cat >conftest.$ac_ext <<_ACEOF | 8260 | cat >conftest.$ac_ext <<_ACEOF |
8204 | #line 8204 "configure" | 8261 | #line 8261 "configure" |
8205 | #include "confdefs.h" | 8262 | #include "confdefs.h" |
8206 | /* System header to define __stub macros and hopefully few prototypes, | 8263 | /* System header to define __stub macros and hopefully few prototypes, |
8207 | which can conflict with char $ac_func (); below. */ | 8264 | which can conflict with char $ac_func (); below. */ |
@@ -8232,16 +8289,16 @@ f = $ac_func; | |||
8232 | } | 8289 | } |
8233 | _ACEOF | 8290 | _ACEOF |
8234 | rm -f conftest.$ac_objext conftest$ac_exeext | 8291 | rm -f conftest.$ac_objext conftest$ac_exeext |
8235 | if { (eval echo "$as_me:8235: \"$ac_link\"") >&5 | 8292 | if { (eval echo "$as_me:8292: \"$ac_link\"") >&5 |
8236 | (eval $ac_link) 2>&5 | 8293 | (eval $ac_link) 2>&5 |
8237 | ac_status=$? | 8294 | ac_status=$? |
8238 | echo "$as_me:8238: \$? = $ac_status" >&5 | 8295 | echo "$as_me:8295: \$? = $ac_status" >&5 |
8239 | (exit $ac_status); } && | 8296 | (exit $ac_status); } && |
8240 | { ac_try='test -s conftest$ac_exeext' | 8297 | { ac_try='test -s conftest$ac_exeext' |
8241 | { (eval echo "$as_me:8241: \"$ac_try\"") >&5 | 8298 | { (eval echo "$as_me:8298: \"$ac_try\"") >&5 |
8242 | (eval $ac_try) 2>&5 | 8299 | (eval $ac_try) 2>&5 |
8243 | ac_status=$? | 8300 | ac_status=$? |
8244 | echo "$as_me:8244: \$? = $ac_status" >&5 | 8301 | echo "$as_me:8301: \$? = $ac_status" >&5 |
8245 | (exit $ac_status); }; }; then | 8302 | (exit $ac_status); }; }; then |
8246 | eval "$as_ac_var=yes" | 8303 | eval "$as_ac_var=yes" |
8247 | else | 8304 | else |
@@ -8251,7 +8308,7 @@ eval "$as_ac_var=no" | |||
8251 | fi | 8308 | fi |
8252 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8309 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8253 | fi | 8310 | fi |
8254 | echo "$as_me:8254: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8311 | echo "$as_me:8311: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8255 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8312 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8256 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 8313 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8257 | cat >>confdefs.h <<EOF | 8314 | cat >>confdefs.h <<EOF |
@@ -8261,13 +8318,13 @@ EOF | |||
8261 | fi | 8318 | fi |
8262 | done | 8319 | done |
8263 | 8320 | ||
8264 | echo "$as_me:8264: checking for daemon" >&5 | 8321 | echo "$as_me:8321: checking for daemon" >&5 |
8265 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6 | 8322 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6 |
8266 | if test "${ac_cv_func_daemon+set}" = set; then | 8323 | if test "${ac_cv_func_daemon+set}" = set; then |
8267 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8324 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8268 | else | 8325 | else |
8269 | cat >conftest.$ac_ext <<_ACEOF | 8326 | cat >conftest.$ac_ext <<_ACEOF |
8270 | #line 8270 "configure" | 8327 | #line 8327 "configure" |
8271 | #include "confdefs.h" | 8328 | #include "confdefs.h" |
8272 | /* System header to define __stub macros and hopefully few prototypes, | 8329 | /* System header to define __stub macros and hopefully few prototypes, |
8273 | which can conflict with char daemon (); below. */ | 8330 | which can conflict with char daemon (); below. */ |
@@ -8298,16 +8355,16 @@ f = daemon; | |||
8298 | } | 8355 | } |
8299 | _ACEOF | 8356 | _ACEOF |
8300 | rm -f conftest.$ac_objext conftest$ac_exeext | 8357 | rm -f conftest.$ac_objext conftest$ac_exeext |
8301 | if { (eval echo "$as_me:8301: \"$ac_link\"") >&5 | 8358 | if { (eval echo "$as_me:8358: \"$ac_link\"") >&5 |
8302 | (eval $ac_link) 2>&5 | 8359 | (eval $ac_link) 2>&5 |
8303 | ac_status=$? | 8360 | ac_status=$? |
8304 | echo "$as_me:8304: \$? = $ac_status" >&5 | 8361 | echo "$as_me:8361: \$? = $ac_status" >&5 |
8305 | (exit $ac_status); } && | 8362 | (exit $ac_status); } && |
8306 | { ac_try='test -s conftest$ac_exeext' | 8363 | { ac_try='test -s conftest$ac_exeext' |
8307 | { (eval echo "$as_me:8307: \"$ac_try\"") >&5 | 8364 | { (eval echo "$as_me:8364: \"$ac_try\"") >&5 |
8308 | (eval $ac_try) 2>&5 | 8365 | (eval $ac_try) 2>&5 |
8309 | ac_status=$? | 8366 | ac_status=$? |
8310 | echo "$as_me:8310: \$? = $ac_status" >&5 | 8367 | echo "$as_me:8367: \$? = $ac_status" >&5 |
8311 | (exit $ac_status); }; }; then | 8368 | (exit $ac_status); }; }; then |
8312 | ac_cv_func_daemon=yes | 8369 | ac_cv_func_daemon=yes |
8313 | else | 8370 | else |
@@ -8317,7 +8374,7 @@ ac_cv_func_daemon=no | |||
8317 | fi | 8374 | fi |
8318 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8375 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8319 | fi | 8376 | fi |
8320 | echo "$as_me:8320: result: $ac_cv_func_daemon" >&5 | 8377 | echo "$as_me:8377: result: $ac_cv_func_daemon" >&5 |
8321 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 | 8378 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 |
8322 | if test $ac_cv_func_daemon = yes; then | 8379 | if test $ac_cv_func_daemon = yes; then |
8323 | cat >>confdefs.h <<\EOF | 8380 | cat >>confdefs.h <<\EOF |
@@ -8325,7 +8382,7 @@ if test $ac_cv_func_daemon = yes; then | |||
8325 | EOF | 8382 | EOF |
8326 | 8383 | ||
8327 | else | 8384 | else |
8328 | echo "$as_me:8328: checking for daemon in -lbsd" >&5 | 8385 | echo "$as_me:8385: checking for daemon in -lbsd" >&5 |
8329 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 | 8386 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 |
8330 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then | 8387 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then |
8331 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8388 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -8333,7 +8390,7 @@ else | |||
8333 | ac_check_lib_save_LIBS=$LIBS | 8390 | ac_check_lib_save_LIBS=$LIBS |
8334 | LIBS="-lbsd $LIBS" | 8391 | LIBS="-lbsd $LIBS" |
8335 | cat >conftest.$ac_ext <<_ACEOF | 8392 | cat >conftest.$ac_ext <<_ACEOF |
8336 | #line 8336 "configure" | 8393 | #line 8393 "configure" |
8337 | #include "confdefs.h" | 8394 | #include "confdefs.h" |
8338 | 8395 | ||
8339 | /* Override any gcc2 internal prototype to avoid an error. */ | 8396 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -8352,16 +8409,16 @@ daemon (); | |||
8352 | } | 8409 | } |
8353 | _ACEOF | 8410 | _ACEOF |
8354 | rm -f conftest.$ac_objext conftest$ac_exeext | 8411 | rm -f conftest.$ac_objext conftest$ac_exeext |
8355 | if { (eval echo "$as_me:8355: \"$ac_link\"") >&5 | 8412 | if { (eval echo "$as_me:8412: \"$ac_link\"") >&5 |
8356 | (eval $ac_link) 2>&5 | 8413 | (eval $ac_link) 2>&5 |
8357 | ac_status=$? | 8414 | ac_status=$? |
8358 | echo "$as_me:8358: \$? = $ac_status" >&5 | 8415 | echo "$as_me:8415: \$? = $ac_status" >&5 |
8359 | (exit $ac_status); } && | 8416 | (exit $ac_status); } && |
8360 | { ac_try='test -s conftest$ac_exeext' | 8417 | { ac_try='test -s conftest$ac_exeext' |
8361 | { (eval echo "$as_me:8361: \"$ac_try\"") >&5 | 8418 | { (eval echo "$as_me:8418: \"$ac_try\"") >&5 |
8362 | (eval $ac_try) 2>&5 | 8419 | (eval $ac_try) 2>&5 |
8363 | ac_status=$? | 8420 | ac_status=$? |
8364 | echo "$as_me:8364: \$? = $ac_status" >&5 | 8421 | echo "$as_me:8421: \$? = $ac_status" >&5 |
8365 | (exit $ac_status); }; }; then | 8422 | (exit $ac_status); }; }; then |
8366 | ac_cv_lib_bsd_daemon=yes | 8423 | ac_cv_lib_bsd_daemon=yes |
8367 | else | 8424 | else |
@@ -8372,7 +8429,7 @@ fi | |||
8372 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8429 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8373 | LIBS=$ac_check_lib_save_LIBS | 8430 | LIBS=$ac_check_lib_save_LIBS |
8374 | fi | 8431 | fi |
8375 | echo "$as_me:8375: result: $ac_cv_lib_bsd_daemon" >&5 | 8432 | echo "$as_me:8432: result: $ac_cv_lib_bsd_daemon" >&5 |
8376 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 | 8433 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 |
8377 | if test $ac_cv_lib_bsd_daemon = yes; then | 8434 | if test $ac_cv_lib_bsd_daemon = yes; then |
8378 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF | 8435 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF |
@@ -8383,13 +8440,13 @@ fi | |||
8383 | 8440 | ||
8384 | fi | 8441 | fi |
8385 | 8442 | ||
8386 | echo "$as_me:8386: checking for getpagesize" >&5 | 8443 | echo "$as_me:8443: checking for getpagesize" >&5 |
8387 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 | 8444 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 |
8388 | if test "${ac_cv_func_getpagesize+set}" = set; then | 8445 | if test "${ac_cv_func_getpagesize+set}" = set; then |
8389 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8446 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8390 | else | 8447 | else |
8391 | cat >conftest.$ac_ext <<_ACEOF | 8448 | cat >conftest.$ac_ext <<_ACEOF |
8392 | #line 8392 "configure" | 8449 | #line 8449 "configure" |
8393 | #include "confdefs.h" | 8450 | #include "confdefs.h" |
8394 | /* System header to define __stub macros and hopefully few prototypes, | 8451 | /* System header to define __stub macros and hopefully few prototypes, |
8395 | which can conflict with char getpagesize (); below. */ | 8452 | which can conflict with char getpagesize (); below. */ |
@@ -8420,16 +8477,16 @@ f = getpagesize; | |||
8420 | } | 8477 | } |
8421 | _ACEOF | 8478 | _ACEOF |
8422 | rm -f conftest.$ac_objext conftest$ac_exeext | 8479 | rm -f conftest.$ac_objext conftest$ac_exeext |
8423 | if { (eval echo "$as_me:8423: \"$ac_link\"") >&5 | 8480 | if { (eval echo "$as_me:8480: \"$ac_link\"") >&5 |
8424 | (eval $ac_link) 2>&5 | 8481 | (eval $ac_link) 2>&5 |
8425 | ac_status=$? | 8482 | ac_status=$? |
8426 | echo "$as_me:8426: \$? = $ac_status" >&5 | 8483 | echo "$as_me:8483: \$? = $ac_status" >&5 |
8427 | (exit $ac_status); } && | 8484 | (exit $ac_status); } && |
8428 | { ac_try='test -s conftest$ac_exeext' | 8485 | { ac_try='test -s conftest$ac_exeext' |
8429 | { (eval echo "$as_me:8429: \"$ac_try\"") >&5 | 8486 | { (eval echo "$as_me:8486: \"$ac_try\"") >&5 |
8430 | (eval $ac_try) 2>&5 | 8487 | (eval $ac_try) 2>&5 |
8431 | ac_status=$? | 8488 | ac_status=$? |
8432 | echo "$as_me:8432: \$? = $ac_status" >&5 | 8489 | echo "$as_me:8489: \$? = $ac_status" >&5 |
8433 | (exit $ac_status); }; }; then | 8490 | (exit $ac_status); }; }; then |
8434 | ac_cv_func_getpagesize=yes | 8491 | ac_cv_func_getpagesize=yes |
8435 | else | 8492 | else |
@@ -8439,7 +8496,7 @@ ac_cv_func_getpagesize=no | |||
8439 | fi | 8496 | fi |
8440 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8497 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8441 | fi | 8498 | fi |
8442 | echo "$as_me:8442: result: $ac_cv_func_getpagesize" >&5 | 8499 | echo "$as_me:8499: result: $ac_cv_func_getpagesize" >&5 |
8443 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 | 8500 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 |
8444 | if test $ac_cv_func_getpagesize = yes; then | 8501 | if test $ac_cv_func_getpagesize = yes; then |
8445 | cat >>confdefs.h <<\EOF | 8502 | cat >>confdefs.h <<\EOF |
@@ -8447,7 +8504,7 @@ if test $ac_cv_func_getpagesize = yes; then | |||
8447 | EOF | 8504 | EOF |
8448 | 8505 | ||
8449 | else | 8506 | else |
8450 | echo "$as_me:8450: checking for getpagesize in -lucb" >&5 | 8507 | echo "$as_me:8507: checking for getpagesize in -lucb" >&5 |
8451 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 | 8508 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 |
8452 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then | 8509 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then |
8453 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8510 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -8455,7 +8512,7 @@ else | |||
8455 | ac_check_lib_save_LIBS=$LIBS | 8512 | ac_check_lib_save_LIBS=$LIBS |
8456 | LIBS="-lucb $LIBS" | 8513 | LIBS="-lucb $LIBS" |
8457 | cat >conftest.$ac_ext <<_ACEOF | 8514 | cat >conftest.$ac_ext <<_ACEOF |
8458 | #line 8458 "configure" | 8515 | #line 8515 "configure" |
8459 | #include "confdefs.h" | 8516 | #include "confdefs.h" |
8460 | 8517 | ||
8461 | /* Override any gcc2 internal prototype to avoid an error. */ | 8518 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -8474,16 +8531,16 @@ getpagesize (); | |||
8474 | } | 8531 | } |
8475 | _ACEOF | 8532 | _ACEOF |
8476 | rm -f conftest.$ac_objext conftest$ac_exeext | 8533 | rm -f conftest.$ac_objext conftest$ac_exeext |
8477 | if { (eval echo "$as_me:8477: \"$ac_link\"") >&5 | 8534 | if { (eval echo "$as_me:8534: \"$ac_link\"") >&5 |
8478 | (eval $ac_link) 2>&5 | 8535 | (eval $ac_link) 2>&5 |
8479 | ac_status=$? | 8536 | ac_status=$? |
8480 | echo "$as_me:8480: \$? = $ac_status" >&5 | 8537 | echo "$as_me:8537: \$? = $ac_status" >&5 |
8481 | (exit $ac_status); } && | 8538 | (exit $ac_status); } && |
8482 | { ac_try='test -s conftest$ac_exeext' | 8539 | { ac_try='test -s conftest$ac_exeext' |
8483 | { (eval echo "$as_me:8483: \"$ac_try\"") >&5 | 8540 | { (eval echo "$as_me:8540: \"$ac_try\"") >&5 |
8484 | (eval $ac_try) 2>&5 | 8541 | (eval $ac_try) 2>&5 |
8485 | ac_status=$? | 8542 | ac_status=$? |
8486 | echo "$as_me:8486: \$? = $ac_status" >&5 | 8543 | echo "$as_me:8543: \$? = $ac_status" >&5 |
8487 | (exit $ac_status); }; }; then | 8544 | (exit $ac_status); }; }; then |
8488 | ac_cv_lib_ucb_getpagesize=yes | 8545 | ac_cv_lib_ucb_getpagesize=yes |
8489 | else | 8546 | else |
@@ -8494,7 +8551,7 @@ fi | |||
8494 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8551 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8495 | LIBS=$ac_check_lib_save_LIBS | 8552 | LIBS=$ac_check_lib_save_LIBS |
8496 | fi | 8553 | fi |
8497 | echo "$as_me:8497: result: $ac_cv_lib_ucb_getpagesize" >&5 | 8554 | echo "$as_me:8554: result: $ac_cv_lib_ucb_getpagesize" >&5 |
8498 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 | 8555 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 |
8499 | if test $ac_cv_lib_ucb_getpagesize = yes; then | 8556 | if test $ac_cv_lib_ucb_getpagesize = yes; then |
8500 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF | 8557 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF |
@@ -8507,15 +8564,15 @@ fi | |||
8507 | 8564 | ||
8508 | # Check for broken snprintf | 8565 | # Check for broken snprintf |
8509 | if test "x$ac_cv_func_snprintf" = "xyes" ; then | 8566 | if test "x$ac_cv_func_snprintf" = "xyes" ; then |
8510 | echo "$as_me:8510: checking whether snprintf correctly terminates long strings" >&5 | 8567 | echo "$as_me:8567: checking whether snprintf correctly terminates long strings" >&5 |
8511 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 | 8568 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 |
8512 | if test "$cross_compiling" = yes; then | 8569 | if test "$cross_compiling" = yes; then |
8513 | { { echo "$as_me:8513: error: cannot run test program while cross compiling" >&5 | 8570 | { { echo "$as_me:8570: error: cannot run test program while cross compiling" >&5 |
8514 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 8571 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
8515 | { (exit 1); exit 1; }; } | 8572 | { (exit 1); exit 1; }; } |
8516 | else | 8573 | else |
8517 | cat >conftest.$ac_ext <<_ACEOF | 8574 | cat >conftest.$ac_ext <<_ACEOF |
8518 | #line 8518 "configure" | 8575 | #line 8575 "configure" |
8519 | #include "confdefs.h" | 8576 | #include "confdefs.h" |
8520 | 8577 | ||
8521 | #include <stdio.h> | 8578 | #include <stdio.h> |
@@ -8523,30 +8580,30 @@ int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} | |||
8523 | 8580 | ||
8524 | _ACEOF | 8581 | _ACEOF |
8525 | rm -f conftest$ac_exeext | 8582 | rm -f conftest$ac_exeext |
8526 | if { (eval echo "$as_me:8526: \"$ac_link\"") >&5 | 8583 | if { (eval echo "$as_me:8583: \"$ac_link\"") >&5 |
8527 | (eval $ac_link) 2>&5 | 8584 | (eval $ac_link) 2>&5 |
8528 | ac_status=$? | 8585 | ac_status=$? |
8529 | echo "$as_me:8529: \$? = $ac_status" >&5 | 8586 | echo "$as_me:8586: \$? = $ac_status" >&5 |
8530 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8587 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8531 | { (eval echo "$as_me:8531: \"$ac_try\"") >&5 | 8588 | { (eval echo "$as_me:8588: \"$ac_try\"") >&5 |
8532 | (eval $ac_try) 2>&5 | 8589 | (eval $ac_try) 2>&5 |
8533 | ac_status=$? | 8590 | ac_status=$? |
8534 | echo "$as_me:8534: \$? = $ac_status" >&5 | 8591 | echo "$as_me:8591: \$? = $ac_status" >&5 |
8535 | (exit $ac_status); }; }; then | 8592 | (exit $ac_status); }; }; then |
8536 | echo "$as_me:8536: result: yes" >&5 | 8593 | echo "$as_me:8593: result: yes" >&5 |
8537 | echo "${ECHO_T}yes" >&6 | 8594 | echo "${ECHO_T}yes" >&6 |
8538 | else | 8595 | else |
8539 | echo "$as_me: program exited with status $ac_status" >&5 | 8596 | echo "$as_me: program exited with status $ac_status" >&5 |
8540 | echo "$as_me: failed program was:" >&5 | 8597 | echo "$as_me: failed program was:" >&5 |
8541 | cat conftest.$ac_ext >&5 | 8598 | cat conftest.$ac_ext >&5 |
8542 | 8599 | ||
8543 | echo "$as_me:8543: result: no" >&5 | 8600 | echo "$as_me:8600: result: no" >&5 |
8544 | echo "${ECHO_T}no" >&6 | 8601 | echo "${ECHO_T}no" >&6 |
8545 | cat >>confdefs.h <<\EOF | 8602 | cat >>confdefs.h <<\EOF |
8546 | #define BROKEN_SNPRINTF 1 | 8603 | #define BROKEN_SNPRINTF 1 |
8547 | EOF | 8604 | EOF |
8548 | 8605 | ||
8549 | { echo "$as_me:8549: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 | 8606 | { echo "$as_me:8606: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 |
8550 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} | 8607 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} |
8551 | 8608 | ||
8552 | fi | 8609 | fi |
@@ -8555,11 +8612,11 @@ fi | |||
8555 | fi | 8612 | fi |
8556 | 8613 | ||
8557 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then | 8614 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then |
8558 | echo "$as_me:8558: checking for (overly) strict mkstemp" >&5 | 8615 | echo "$as_me:8615: checking for (overly) strict mkstemp" >&5 |
8559 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 | 8616 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 |
8560 | if test "$cross_compiling" = yes; then | 8617 | if test "$cross_compiling" = yes; then |
8561 | 8618 | ||
8562 | echo "$as_me:8562: result: yes" >&5 | 8619 | echo "$as_me:8619: result: yes" >&5 |
8563 | echo "${ECHO_T}yes" >&6 | 8620 | echo "${ECHO_T}yes" >&6 |
8564 | cat >>confdefs.h <<\EOF | 8621 | cat >>confdefs.h <<\EOF |
8565 | #define HAVE_STRICT_MKSTEMP 1 | 8622 | #define HAVE_STRICT_MKSTEMP 1 |
@@ -8567,7 +8624,7 @@ EOF | |||
8567 | 8624 | ||
8568 | else | 8625 | else |
8569 | cat >conftest.$ac_ext <<_ACEOF | 8626 | cat >conftest.$ac_ext <<_ACEOF |
8570 | #line 8570 "configure" | 8627 | #line 8627 "configure" |
8571 | #include "confdefs.h" | 8628 | #include "confdefs.h" |
8572 | 8629 | ||
8573 | #include <stdlib.h> | 8630 | #include <stdlib.h> |
@@ -8579,18 +8636,18 @@ unlink(template); exit(0); | |||
8579 | 8636 | ||
8580 | _ACEOF | 8637 | _ACEOF |
8581 | rm -f conftest$ac_exeext | 8638 | rm -f conftest$ac_exeext |
8582 | if { (eval echo "$as_me:8582: \"$ac_link\"") >&5 | 8639 | if { (eval echo "$as_me:8639: \"$ac_link\"") >&5 |
8583 | (eval $ac_link) 2>&5 | 8640 | (eval $ac_link) 2>&5 |
8584 | ac_status=$? | 8641 | ac_status=$? |
8585 | echo "$as_me:8585: \$? = $ac_status" >&5 | 8642 | echo "$as_me:8642: \$? = $ac_status" >&5 |
8586 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8643 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8587 | { (eval echo "$as_me:8587: \"$ac_try\"") >&5 | 8644 | { (eval echo "$as_me:8644: \"$ac_try\"") >&5 |
8588 | (eval $ac_try) 2>&5 | 8645 | (eval $ac_try) 2>&5 |
8589 | ac_status=$? | 8646 | ac_status=$? |
8590 | echo "$as_me:8590: \$? = $ac_status" >&5 | 8647 | echo "$as_me:8647: \$? = $ac_status" >&5 |
8591 | (exit $ac_status); }; }; then | 8648 | (exit $ac_status); }; }; then |
8592 | 8649 | ||
8593 | echo "$as_me:8593: result: no" >&5 | 8650 | echo "$as_me:8650: result: no" >&5 |
8594 | echo "${ECHO_T}no" >&6 | 8651 | echo "${ECHO_T}no" >&6 |
8595 | 8652 | ||
8596 | else | 8653 | else |
@@ -8598,7 +8655,7 @@ else | |||
8598 | echo "$as_me: failed program was:" >&5 | 8655 | echo "$as_me: failed program was:" >&5 |
8599 | cat conftest.$ac_ext >&5 | 8656 | cat conftest.$ac_ext >&5 |
8600 | 8657 | ||
8601 | echo "$as_me:8601: result: yes" >&5 | 8658 | echo "$as_me:8658: result: yes" >&5 |
8602 | echo "${ECHO_T}yes" >&6 | 8659 | echo "${ECHO_T}yes" >&6 |
8603 | cat >>confdefs.h <<\EOF | 8660 | cat >>confdefs.h <<\EOF |
8604 | #define HAVE_STRICT_MKSTEMP 1 | 8661 | #define HAVE_STRICT_MKSTEMP 1 |
@@ -8610,15 +8667,15 @@ fi | |||
8610 | fi | 8667 | fi |
8611 | 8668 | ||
8612 | if test ! -z "$check_for_openpty_ctty_bug"; then | 8669 | if test ! -z "$check_for_openpty_ctty_bug"; then |
8613 | echo "$as_me:8613: checking if openpty correctly handles controlling tty" >&5 | 8670 | echo "$as_me:8670: checking if openpty correctly handles controlling tty" >&5 |
8614 | echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 | 8671 | echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 |
8615 | if test "$cross_compiling" = yes; then | 8672 | if test "$cross_compiling" = yes; then |
8616 | { { echo "$as_me:8616: error: cannot run test program while cross compiling" >&5 | 8673 | { { echo "$as_me:8673: error: cannot run test program while cross compiling" >&5 |
8617 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 8674 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
8618 | { (exit 1); exit 1; }; } | 8675 | { (exit 1); exit 1; }; } |
8619 | else | 8676 | else |
8620 | cat >conftest.$ac_ext <<_ACEOF | 8677 | cat >conftest.$ac_ext <<_ACEOF |
8621 | #line 8621 "configure" | 8678 | #line 8678 "configure" |
8622 | #include "confdefs.h" | 8679 | #include "confdefs.h" |
8623 | 8680 | ||
8624 | #include <stdio.h> | 8681 | #include <stdio.h> |
@@ -8655,18 +8712,18 @@ main() | |||
8655 | 8712 | ||
8656 | _ACEOF | 8713 | _ACEOF |
8657 | rm -f conftest$ac_exeext | 8714 | rm -f conftest$ac_exeext |
8658 | if { (eval echo "$as_me:8658: \"$ac_link\"") >&5 | 8715 | if { (eval echo "$as_me:8715: \"$ac_link\"") >&5 |
8659 | (eval $ac_link) 2>&5 | 8716 | (eval $ac_link) 2>&5 |
8660 | ac_status=$? | 8717 | ac_status=$? |
8661 | echo "$as_me:8661: \$? = $ac_status" >&5 | 8718 | echo "$as_me:8718: \$? = $ac_status" >&5 |
8662 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8719 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8663 | { (eval echo "$as_me:8663: \"$ac_try\"") >&5 | 8720 | { (eval echo "$as_me:8720: \"$ac_try\"") >&5 |
8664 | (eval $ac_try) 2>&5 | 8721 | (eval $ac_try) 2>&5 |
8665 | ac_status=$? | 8722 | ac_status=$? |
8666 | echo "$as_me:8666: \$? = $ac_status" >&5 | 8723 | echo "$as_me:8723: \$? = $ac_status" >&5 |
8667 | (exit $ac_status); }; }; then | 8724 | (exit $ac_status); }; }; then |
8668 | 8725 | ||
8669 | echo "$as_me:8669: result: yes" >&5 | 8726 | echo "$as_me:8726: result: yes" >&5 |
8670 | echo "${ECHO_T}yes" >&6 | 8727 | echo "${ECHO_T}yes" >&6 |
8671 | 8728 | ||
8672 | else | 8729 | else |
@@ -8674,7 +8731,7 @@ else | |||
8674 | echo "$as_me: failed program was:" >&5 | 8731 | echo "$as_me: failed program was:" >&5 |
8675 | cat conftest.$ac_ext >&5 | 8732 | cat conftest.$ac_ext >&5 |
8676 | 8733 | ||
8677 | echo "$as_me:8677: result: no" >&5 | 8734 | echo "$as_me:8734: result: no" >&5 |
8678 | echo "${ECHO_T}no" >&6 | 8735 | echo "${ECHO_T}no" >&6 |
8679 | cat >>confdefs.h <<\EOF | 8736 | cat >>confdefs.h <<\EOF |
8680 | #define SSHD_ACQUIRES_CTTY 1 | 8737 | #define SSHD_ACQUIRES_CTTY 1 |
@@ -8685,14 +8742,112 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |||
8685 | fi | 8742 | fi |
8686 | fi | 8743 | fi |
8687 | 8744 | ||
8688 | echo "$as_me:8688: checking whether getpgrp takes no argument" >&5 | 8745 | if test "x$ac_cv_func_getaddrinfo" = "xyes" -a "x$check_for_hpux_broken_getaddrinfo" = "x1"; then |
8746 | echo "$as_me:8746: checking if getaddrinfo seems to work" >&5 | ||
8747 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 | ||
8748 | if test "$cross_compiling" = yes; then | ||
8749 | { { echo "$as_me:8749: error: cannot run test program while cross compiling" >&5 | ||
8750 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
8751 | { (exit 1); exit 1; }; } | ||
8752 | else | ||
8753 | cat >conftest.$ac_ext <<_ACEOF | ||
8754 | #line 8754 "configure" | ||
8755 | #include "confdefs.h" | ||
8756 | |||
8757 | #include <stdio.h> | ||
8758 | #include <sys/socket.h> | ||
8759 | #include <netdb.h> | ||
8760 | #include <errno.h> | ||
8761 | #include <netinet/in.h> | ||
8762 | |||
8763 | #define TEST_PORT "2222" | ||
8764 | |||
8765 | int | ||
8766 | main(void) | ||
8767 | { | ||
8768 | int err, sock; | ||
8769 | struct addrinfo *gai_ai, *ai, hints; | ||
8770 | char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL; | ||
8771 | |||
8772 | memset(&hints, 0, sizeof(hints)); | ||
8773 | hints.ai_family = PF_UNSPEC; | ||
8774 | hints.ai_socktype = SOCK_STREAM; | ||
8775 | hints.ai_flags = AI_PASSIVE; | ||
8776 | |||
8777 | err = getaddrinfo(name, TEST_PORT, &hints, &gai_ai); | ||
8778 | if (err != 0) { | ||
8779 | fprintf(stderr, "getaddrinfo failed (%s)", gai_strerror(err)); | ||
8780 | exit(1); | ||
8781 | } | ||
8782 | |||
8783 | for (ai = gai_ai; ai != NULL; ai = ai->ai_next) { | ||
8784 | if (ai->ai_family != AF_INET6) | ||
8785 | continue; | ||
8786 | |||
8787 | err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, | ||
8788 | sizeof(ntop), strport, sizeof(strport), | ||
8789 | NI_NUMERICHOST|NI_NUMERICSERV); | ||
8790 | |||
8791 | if (err != 0) { | ||
8792 | if (err == EAI_SYSTEM) | ||
8793 | perror("getnameinfo EAI_SYSTEM"); | ||
8794 | else | ||
8795 | fprintf(stderr, "getnameinfo failed: %s\n", | ||
8796 | gai_strerror(err)); | ||
8797 | exit(2); | ||
8798 | } | ||
8799 | |||
8800 | sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); | ||
8801 | if (sock < 0) | ||
8802 | perror("socket"); | ||
8803 | if (bind(sock, ai->ai_addr, ai->ai_addrlen) < 0) { | ||
8804 | if (errno == EBADF) | ||
8805 | exit(3); | ||
8806 | } | ||
8807 | } | ||
8808 | exit(0); | ||
8809 | } | ||
8810 | |||
8811 | _ACEOF | ||
8812 | rm -f conftest$ac_exeext | ||
8813 | if { (eval echo "$as_me:8813: \"$ac_link\"") >&5 | ||
8814 | (eval $ac_link) 2>&5 | ||
8815 | ac_status=$? | ||
8816 | echo "$as_me:8816: \$? = $ac_status" >&5 | ||
8817 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8818 | { (eval echo "$as_me:8818: \"$ac_try\"") >&5 | ||
8819 | (eval $ac_try) 2>&5 | ||
8820 | ac_status=$? | ||
8821 | echo "$as_me:8821: \$? = $ac_status" >&5 | ||
8822 | (exit $ac_status); }; }; then | ||
8823 | |||
8824 | echo "$as_me:8824: result: yes" >&5 | ||
8825 | echo "${ECHO_T}yes" >&6 | ||
8826 | |||
8827 | else | ||
8828 | echo "$as_me: program exited with status $ac_status" >&5 | ||
8829 | echo "$as_me: failed program was:" >&5 | ||
8830 | cat conftest.$ac_ext >&5 | ||
8831 | |||
8832 | echo "$as_me:8832: result: no" >&5 | ||
8833 | echo "${ECHO_T}no" >&6 | ||
8834 | cat >>confdefs.h <<\EOF | ||
8835 | #define BROKEN_GETADDRINFO 1 | ||
8836 | EOF | ||
8837 | |||
8838 | fi | ||
8839 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8840 | fi | ||
8841 | fi | ||
8842 | |||
8843 | echo "$as_me:8843: checking whether getpgrp takes no argument" >&5 | ||
8689 | echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6 | 8844 | echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6 |
8690 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | 8845 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
8691 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8846 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8692 | else | 8847 | else |
8693 | # Use it with a single arg. | 8848 | # Use it with a single arg. |
8694 | cat >conftest.$ac_ext <<_ACEOF | 8849 | cat >conftest.$ac_ext <<_ACEOF |
8695 | #line 8695 "configure" | 8850 | #line 8850 "configure" |
8696 | #include "confdefs.h" | 8851 | #include "confdefs.h" |
8697 | $ac_includes_default | 8852 | $ac_includes_default |
8698 | int | 8853 | int |
@@ -8704,16 +8859,16 @@ getpgrp (0); | |||
8704 | } | 8859 | } |
8705 | _ACEOF | 8860 | _ACEOF |
8706 | rm -f conftest.$ac_objext | 8861 | rm -f conftest.$ac_objext |
8707 | if { (eval echo "$as_me:8707: \"$ac_compile\"") >&5 | 8862 | if { (eval echo "$as_me:8862: \"$ac_compile\"") >&5 |
8708 | (eval $ac_compile) 2>&5 | 8863 | (eval $ac_compile) 2>&5 |
8709 | ac_status=$? | 8864 | ac_status=$? |
8710 | echo "$as_me:8710: \$? = $ac_status" >&5 | 8865 | echo "$as_me:8865: \$? = $ac_status" >&5 |
8711 | (exit $ac_status); } && | 8866 | (exit $ac_status); } && |
8712 | { ac_try='test -s conftest.$ac_objext' | 8867 | { ac_try='test -s conftest.$ac_objext' |
8713 | { (eval echo "$as_me:8713: \"$ac_try\"") >&5 | 8868 | { (eval echo "$as_me:8868: \"$ac_try\"") >&5 |
8714 | (eval $ac_try) 2>&5 | 8869 | (eval $ac_try) 2>&5 |
8715 | ac_status=$? | 8870 | ac_status=$? |
8716 | echo "$as_me:8716: \$? = $ac_status" >&5 | 8871 | echo "$as_me:8871: \$? = $ac_status" >&5 |
8717 | (exit $ac_status); }; }; then | 8872 | (exit $ac_status); }; }; then |
8718 | ac_func_getpgrp_1=yes | 8873 | ac_func_getpgrp_1=yes |
8719 | else | 8874 | else |
@@ -8724,7 +8879,7 @@ fi | |||
8724 | rm -f conftest.$ac_objext conftest.$ac_ext | 8879 | rm -f conftest.$ac_objext conftest.$ac_ext |
8725 | # Use it with no arg. | 8880 | # Use it with no arg. |
8726 | cat >conftest.$ac_ext <<_ACEOF | 8881 | cat >conftest.$ac_ext <<_ACEOF |
8727 | #line 8727 "configure" | 8882 | #line 8882 "configure" |
8728 | #include "confdefs.h" | 8883 | #include "confdefs.h" |
8729 | $ac_includes_default | 8884 | $ac_includes_default |
8730 | int | 8885 | int |
@@ -8736,16 +8891,16 @@ getpgrp (); | |||
8736 | } | 8891 | } |
8737 | _ACEOF | 8892 | _ACEOF |
8738 | rm -f conftest.$ac_objext | 8893 | rm -f conftest.$ac_objext |
8739 | if { (eval echo "$as_me:8739: \"$ac_compile\"") >&5 | 8894 | if { (eval echo "$as_me:8894: \"$ac_compile\"") >&5 |
8740 | (eval $ac_compile) 2>&5 | 8895 | (eval $ac_compile) 2>&5 |
8741 | ac_status=$? | 8896 | ac_status=$? |
8742 | echo "$as_me:8742: \$? = $ac_status" >&5 | 8897 | echo "$as_me:8897: \$? = $ac_status" >&5 |
8743 | (exit $ac_status); } && | 8898 | (exit $ac_status); } && |
8744 | { ac_try='test -s conftest.$ac_objext' | 8899 | { ac_try='test -s conftest.$ac_objext' |
8745 | { (eval echo "$as_me:8745: \"$ac_try\"") >&5 | 8900 | { (eval echo "$as_me:8900: \"$ac_try\"") >&5 |
8746 | (eval $ac_try) 2>&5 | 8901 | (eval $ac_try) 2>&5 |
8747 | ac_status=$? | 8902 | ac_status=$? |
8748 | echo "$as_me:8748: \$? = $ac_status" >&5 | 8903 | echo "$as_me:8903: \$? = $ac_status" >&5 |
8749 | (exit $ac_status); }; }; then | 8904 | (exit $ac_status); }; }; then |
8750 | ac_func_getpgrp_0=yes | 8905 | ac_func_getpgrp_0=yes |
8751 | else | 8906 | else |
@@ -8759,12 +8914,12 @@ case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in | |||
8759 | yes:no) ac_cv_func_getpgrp_void=yes;; | 8914 | yes:no) ac_cv_func_getpgrp_void=yes;; |
8760 | no:yes) ac_cv_func_getpgrp_void=false;; | 8915 | no:yes) ac_cv_func_getpgrp_void=false;; |
8761 | *) if test "$cross_compiling" = yes; then | 8916 | *) if test "$cross_compiling" = yes; then |
8762 | { { echo "$as_me:8762: error: cannot check getpgrp if cross compiling" >&5 | 8917 | { { echo "$as_me:8917: error: cannot check getpgrp if cross compiling" >&5 |
8763 | echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;} | 8918 | echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;} |
8764 | { (exit 1); exit 1; }; } | 8919 | { (exit 1); exit 1; }; } |
8765 | else | 8920 | else |
8766 | cat >conftest.$ac_ext <<_ACEOF | 8921 | cat >conftest.$ac_ext <<_ACEOF |
8767 | #line 8767 "configure" | 8922 | #line 8922 "configure" |
8768 | #include "confdefs.h" | 8923 | #include "confdefs.h" |
8769 | $ac_includes_default | 8924 | $ac_includes_default |
8770 | 8925 | ||
@@ -8818,15 +8973,15 @@ main () | |||
8818 | 8973 | ||
8819 | _ACEOF | 8974 | _ACEOF |
8820 | rm -f conftest$ac_exeext | 8975 | rm -f conftest$ac_exeext |
8821 | if { (eval echo "$as_me:8821: \"$ac_link\"") >&5 | 8976 | if { (eval echo "$as_me:8976: \"$ac_link\"") >&5 |
8822 | (eval $ac_link) 2>&5 | 8977 | (eval $ac_link) 2>&5 |
8823 | ac_status=$? | 8978 | ac_status=$? |
8824 | echo "$as_me:8824: \$? = $ac_status" >&5 | 8979 | echo "$as_me:8979: \$? = $ac_status" >&5 |
8825 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8980 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8826 | { (eval echo "$as_me:8826: \"$ac_try\"") >&5 | 8981 | { (eval echo "$as_me:8981: \"$ac_try\"") >&5 |
8827 | (eval $ac_try) 2>&5 | 8982 | (eval $ac_try) 2>&5 |
8828 | ac_status=$? | 8983 | ac_status=$? |
8829 | echo "$as_me:8829: \$? = $ac_status" >&5 | 8984 | echo "$as_me:8984: \$? = $ac_status" >&5 |
8830 | (exit $ac_status); }; }; then | 8985 | (exit $ac_status); }; }; then |
8831 | ac_cv_func_getpgrp_void=yes | 8986 | ac_cv_func_getpgrp_void=yes |
8832 | else | 8987 | else |
@@ -8840,7 +8995,7 @@ fi;; | |||
8840 | esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1 | 8995 | esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1 |
8841 | 8996 | ||
8842 | fi | 8997 | fi |
8843 | echo "$as_me:8843: result: $ac_cv_func_getpgrp_void" >&5 | 8998 | echo "$as_me:8998: result: $ac_cv_func_getpgrp_void" >&5 |
8844 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 | 8999 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 |
8845 | if test $ac_cv_func_getpgrp_void = yes; then | 9000 | if test $ac_cv_func_getpgrp_void = yes; then |
8846 | 9001 | ||
@@ -8860,12 +9015,12 @@ if test "${with_pam+set}" = set; then | |||
8860 | if test "x$withval" != "xno" ; then | 9015 | if test "x$withval" != "xno" ; then |
8861 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ | 9016 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ |
8862 | test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then | 9017 | test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then |
8863 | { { echo "$as_me:8863: error: PAM headers not found" >&5 | 9018 | { { echo "$as_me:9018: error: PAM headers not found" >&5 |
8864 | echo "$as_me: error: PAM headers not found" >&2;} | 9019 | echo "$as_me: error: PAM headers not found" >&2;} |
8865 | { (exit 1); exit 1; }; } | 9020 | { (exit 1); exit 1; }; } |
8866 | fi | 9021 | fi |
8867 | 9022 | ||
8868 | echo "$as_me:8868: checking for dlopen in -ldl" >&5 | 9023 | echo "$as_me:9023: checking for dlopen in -ldl" >&5 |
8869 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 9024 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
8870 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 9025 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
8871 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9026 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -8873,7 +9028,7 @@ else | |||
8873 | ac_check_lib_save_LIBS=$LIBS | 9028 | ac_check_lib_save_LIBS=$LIBS |
8874 | LIBS="-ldl $LIBS" | 9029 | LIBS="-ldl $LIBS" |
8875 | cat >conftest.$ac_ext <<_ACEOF | 9030 | cat >conftest.$ac_ext <<_ACEOF |
8876 | #line 8876 "configure" | 9031 | #line 9031 "configure" |
8877 | #include "confdefs.h" | 9032 | #include "confdefs.h" |
8878 | 9033 | ||
8879 | /* Override any gcc2 internal prototype to avoid an error. */ | 9034 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -8892,16 +9047,16 @@ dlopen (); | |||
8892 | } | 9047 | } |
8893 | _ACEOF | 9048 | _ACEOF |
8894 | rm -f conftest.$ac_objext conftest$ac_exeext | 9049 | rm -f conftest.$ac_objext conftest$ac_exeext |
8895 | if { (eval echo "$as_me:8895: \"$ac_link\"") >&5 | 9050 | if { (eval echo "$as_me:9050: \"$ac_link\"") >&5 |
8896 | (eval $ac_link) 2>&5 | 9051 | (eval $ac_link) 2>&5 |
8897 | ac_status=$? | 9052 | ac_status=$? |
8898 | echo "$as_me:8898: \$? = $ac_status" >&5 | 9053 | echo "$as_me:9053: \$? = $ac_status" >&5 |
8899 | (exit $ac_status); } && | 9054 | (exit $ac_status); } && |
8900 | { ac_try='test -s conftest$ac_exeext' | 9055 | { ac_try='test -s conftest$ac_exeext' |
8901 | { (eval echo "$as_me:8901: \"$ac_try\"") >&5 | 9056 | { (eval echo "$as_me:9056: \"$ac_try\"") >&5 |
8902 | (eval $ac_try) 2>&5 | 9057 | (eval $ac_try) 2>&5 |
8903 | ac_status=$? | 9058 | ac_status=$? |
8904 | echo "$as_me:8904: \$? = $ac_status" >&5 | 9059 | echo "$as_me:9059: \$? = $ac_status" >&5 |
8905 | (exit $ac_status); }; }; then | 9060 | (exit $ac_status); }; }; then |
8906 | ac_cv_lib_dl_dlopen=yes | 9061 | ac_cv_lib_dl_dlopen=yes |
8907 | else | 9062 | else |
@@ -8912,7 +9067,7 @@ fi | |||
8912 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9067 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8913 | LIBS=$ac_check_lib_save_LIBS | 9068 | LIBS=$ac_check_lib_save_LIBS |
8914 | fi | 9069 | fi |
8915 | echo "$as_me:8915: result: $ac_cv_lib_dl_dlopen" >&5 | 9070 | echo "$as_me:9070: result: $ac_cv_lib_dl_dlopen" >&5 |
8916 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 9071 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
8917 | if test $ac_cv_lib_dl_dlopen = yes; then | 9072 | if test $ac_cv_lib_dl_dlopen = yes; then |
8918 | cat >>confdefs.h <<EOF | 9073 | cat >>confdefs.h <<EOF |
@@ -8923,7 +9078,7 @@ EOF | |||
8923 | 9078 | ||
8924 | fi | 9079 | fi |
8925 | 9080 | ||
8926 | echo "$as_me:8926: checking for pam_set_item in -lpam" >&5 | 9081 | echo "$as_me:9081: checking for pam_set_item in -lpam" >&5 |
8927 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6 | 9082 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6 |
8928 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then | 9083 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then |
8929 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9084 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -8931,7 +9086,7 @@ else | |||
8931 | ac_check_lib_save_LIBS=$LIBS | 9086 | ac_check_lib_save_LIBS=$LIBS |
8932 | LIBS="-lpam $LIBS" | 9087 | LIBS="-lpam $LIBS" |
8933 | cat >conftest.$ac_ext <<_ACEOF | 9088 | cat >conftest.$ac_ext <<_ACEOF |
8934 | #line 8934 "configure" | 9089 | #line 9089 "configure" |
8935 | #include "confdefs.h" | 9090 | #include "confdefs.h" |
8936 | 9091 | ||
8937 | /* Override any gcc2 internal prototype to avoid an error. */ | 9092 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -8950,16 +9105,16 @@ pam_set_item (); | |||
8950 | } | 9105 | } |
8951 | _ACEOF | 9106 | _ACEOF |
8952 | rm -f conftest.$ac_objext conftest$ac_exeext | 9107 | rm -f conftest.$ac_objext conftest$ac_exeext |
8953 | if { (eval echo "$as_me:8953: \"$ac_link\"") >&5 | 9108 | if { (eval echo "$as_me:9108: \"$ac_link\"") >&5 |
8954 | (eval $ac_link) 2>&5 | 9109 | (eval $ac_link) 2>&5 |
8955 | ac_status=$? | 9110 | ac_status=$? |
8956 | echo "$as_me:8956: \$? = $ac_status" >&5 | 9111 | echo "$as_me:9111: \$? = $ac_status" >&5 |
8957 | (exit $ac_status); } && | 9112 | (exit $ac_status); } && |
8958 | { ac_try='test -s conftest$ac_exeext' | 9113 | { ac_try='test -s conftest$ac_exeext' |
8959 | { (eval echo "$as_me:8959: \"$ac_try\"") >&5 | 9114 | { (eval echo "$as_me:9114: \"$ac_try\"") >&5 |
8960 | (eval $ac_try) 2>&5 | 9115 | (eval $ac_try) 2>&5 |
8961 | ac_status=$? | 9116 | ac_status=$? |
8962 | echo "$as_me:8962: \$? = $ac_status" >&5 | 9117 | echo "$as_me:9117: \$? = $ac_status" >&5 |
8963 | (exit $ac_status); }; }; then | 9118 | (exit $ac_status); }; }; then |
8964 | ac_cv_lib_pam_pam_set_item=yes | 9119 | ac_cv_lib_pam_pam_set_item=yes |
8965 | else | 9120 | else |
@@ -8970,7 +9125,7 @@ fi | |||
8970 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9125 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8971 | LIBS=$ac_check_lib_save_LIBS | 9126 | LIBS=$ac_check_lib_save_LIBS |
8972 | fi | 9127 | fi |
8973 | echo "$as_me:8973: result: $ac_cv_lib_pam_pam_set_item" >&5 | 9128 | echo "$as_me:9128: result: $ac_cv_lib_pam_pam_set_item" >&5 |
8974 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 | 9129 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 |
8975 | if test $ac_cv_lib_pam_pam_set_item = yes; then | 9130 | if test $ac_cv_lib_pam_pam_set_item = yes; then |
8976 | cat >>confdefs.h <<EOF | 9131 | cat >>confdefs.h <<EOF |
@@ -8980,7 +9135,7 @@ EOF | |||
8980 | LIBS="-lpam $LIBS" | 9135 | LIBS="-lpam $LIBS" |
8981 | 9136 | ||
8982 | else | 9137 | else |
8983 | { { echo "$as_me:8983: error: *** libpam missing" >&5 | 9138 | { { echo "$as_me:9138: error: *** libpam missing" >&5 |
8984 | echo "$as_me: error: *** libpam missing" >&2;} | 9139 | echo "$as_me: error: *** libpam missing" >&2;} |
8985 | { (exit 1); exit 1; }; } | 9140 | { (exit 1); exit 1; }; } |
8986 | fi | 9141 | fi |
@@ -8988,13 +9143,13 @@ fi | |||
8988 | for ac_func in pam_getenvlist | 9143 | for ac_func in pam_getenvlist |
8989 | do | 9144 | do |
8990 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9145 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8991 | echo "$as_me:8991: checking for $ac_func" >&5 | 9146 | echo "$as_me:9146: checking for $ac_func" >&5 |
8992 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9147 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8993 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 9148 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8994 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8995 | else | 9150 | else |
8996 | cat >conftest.$ac_ext <<_ACEOF | 9151 | cat >conftest.$ac_ext <<_ACEOF |
8997 | #line 8997 "configure" | 9152 | #line 9152 "configure" |
8998 | #include "confdefs.h" | 9153 | #include "confdefs.h" |
8999 | /* System header to define __stub macros and hopefully few prototypes, | 9154 | /* System header to define __stub macros and hopefully few prototypes, |
9000 | which can conflict with char $ac_func (); below. */ | 9155 | which can conflict with char $ac_func (); below. */ |
@@ -9025,16 +9180,16 @@ f = $ac_func; | |||
9025 | } | 9180 | } |
9026 | _ACEOF | 9181 | _ACEOF |
9027 | rm -f conftest.$ac_objext conftest$ac_exeext | 9182 | rm -f conftest.$ac_objext conftest$ac_exeext |
9028 | if { (eval echo "$as_me:9028: \"$ac_link\"") >&5 | 9183 | if { (eval echo "$as_me:9183: \"$ac_link\"") >&5 |
9029 | (eval $ac_link) 2>&5 | 9184 | (eval $ac_link) 2>&5 |
9030 | ac_status=$? | 9185 | ac_status=$? |
9031 | echo "$as_me:9031: \$? = $ac_status" >&5 | 9186 | echo "$as_me:9186: \$? = $ac_status" >&5 |
9032 | (exit $ac_status); } && | 9187 | (exit $ac_status); } && |
9033 | { ac_try='test -s conftest$ac_exeext' | 9188 | { ac_try='test -s conftest$ac_exeext' |
9034 | { (eval echo "$as_me:9034: \"$ac_try\"") >&5 | 9189 | { (eval echo "$as_me:9189: \"$ac_try\"") >&5 |
9035 | (eval $ac_try) 2>&5 | 9190 | (eval $ac_try) 2>&5 |
9036 | ac_status=$? | 9191 | ac_status=$? |
9037 | echo "$as_me:9037: \$? = $ac_status" >&5 | 9192 | echo "$as_me:9192: \$? = $ac_status" >&5 |
9038 | (exit $ac_status); }; }; then | 9193 | (exit $ac_status); }; }; then |
9039 | eval "$as_ac_var=yes" | 9194 | eval "$as_ac_var=yes" |
9040 | else | 9195 | else |
@@ -9044,7 +9199,7 @@ eval "$as_ac_var=no" | |||
9044 | fi | 9199 | fi |
9045 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9200 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9046 | fi | 9201 | fi |
9047 | echo "$as_me:9047: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9202 | echo "$as_me:9202: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9048 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9203 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9049 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 9204 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9050 | cat >>confdefs.h <<EOF | 9205 | cat >>confdefs.h <<EOF |
@@ -9057,13 +9212,13 @@ done | |||
9057 | for ac_func in pam_putenv | 9212 | for ac_func in pam_putenv |
9058 | do | 9213 | do |
9059 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9214 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9060 | echo "$as_me:9060: checking for $ac_func" >&5 | 9215 | echo "$as_me:9215: checking for $ac_func" >&5 |
9061 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9216 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9062 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 9217 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
9063 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9064 | else | 9219 | else |
9065 | cat >conftest.$ac_ext <<_ACEOF | 9220 | cat >conftest.$ac_ext <<_ACEOF |
9066 | #line 9066 "configure" | 9221 | #line 9221 "configure" |
9067 | #include "confdefs.h" | 9222 | #include "confdefs.h" |
9068 | /* System header to define __stub macros and hopefully few prototypes, | 9223 | /* System header to define __stub macros and hopefully few prototypes, |
9069 | which can conflict with char $ac_func (); below. */ | 9224 | which can conflict with char $ac_func (); below. */ |
@@ -9094,16 +9249,16 @@ f = $ac_func; | |||
9094 | } | 9249 | } |
9095 | _ACEOF | 9250 | _ACEOF |
9096 | rm -f conftest.$ac_objext conftest$ac_exeext | 9251 | rm -f conftest.$ac_objext conftest$ac_exeext |
9097 | if { (eval echo "$as_me:9097: \"$ac_link\"") >&5 | 9252 | if { (eval echo "$as_me:9252: \"$ac_link\"") >&5 |
9098 | (eval $ac_link) 2>&5 | 9253 | (eval $ac_link) 2>&5 |
9099 | ac_status=$? | 9254 | ac_status=$? |
9100 | echo "$as_me:9100: \$? = $ac_status" >&5 | 9255 | echo "$as_me:9255: \$? = $ac_status" >&5 |
9101 | (exit $ac_status); } && | 9256 | (exit $ac_status); } && |
9102 | { ac_try='test -s conftest$ac_exeext' | 9257 | { ac_try='test -s conftest$ac_exeext' |
9103 | { (eval echo "$as_me:9103: \"$ac_try\"") >&5 | 9258 | { (eval echo "$as_me:9258: \"$ac_try\"") >&5 |
9104 | (eval $ac_try) 2>&5 | 9259 | (eval $ac_try) 2>&5 |
9105 | ac_status=$? | 9260 | ac_status=$? |
9106 | echo "$as_me:9106: \$? = $ac_status" >&5 | 9261 | echo "$as_me:9261: \$? = $ac_status" >&5 |
9107 | (exit $ac_status); }; }; then | 9262 | (exit $ac_status); }; }; then |
9108 | eval "$as_ac_var=yes" | 9263 | eval "$as_ac_var=yes" |
9109 | else | 9264 | else |
@@ -9113,7 +9268,7 @@ eval "$as_ac_var=no" | |||
9113 | fi | 9268 | fi |
9114 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9269 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9115 | fi | 9270 | fi |
9116 | echo "$as_me:9116: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9271 | echo "$as_me:9271: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9117 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9272 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9118 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 9273 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9119 | cat >>confdefs.h <<EOF | 9274 | cat >>confdefs.h <<EOF |
@@ -9142,10 +9297,10 @@ fi; | |||
9142 | # Check for older PAM | 9297 | # Check for older PAM |
9143 | if test "x$PAM_MSG" = "xyes" ; then | 9298 | if test "x$PAM_MSG" = "xyes" ; then |
9144 | # Check PAM strerror arguments (old PAM) | 9299 | # Check PAM strerror arguments (old PAM) |
9145 | echo "$as_me:9145: checking whether pam_strerror takes only one argument" >&5 | 9300 | echo "$as_me:9300: checking whether pam_strerror takes only one argument" >&5 |
9146 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 | 9301 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 |
9147 | cat >conftest.$ac_ext <<_ACEOF | 9302 | cat >conftest.$ac_ext <<_ACEOF |
9148 | #line 9148 "configure" | 9303 | #line 9303 "configure" |
9149 | #include "confdefs.h" | 9304 | #include "confdefs.h" |
9150 | 9305 | ||
9151 | #include <stdlib.h> | 9306 | #include <stdlib.h> |
@@ -9164,18 +9319,18 @@ main () | |||
9164 | } | 9319 | } |
9165 | _ACEOF | 9320 | _ACEOF |
9166 | rm -f conftest.$ac_objext | 9321 | rm -f conftest.$ac_objext |
9167 | if { (eval echo "$as_me:9167: \"$ac_compile\"") >&5 | 9322 | if { (eval echo "$as_me:9322: \"$ac_compile\"") >&5 |
9168 | (eval $ac_compile) 2>&5 | 9323 | (eval $ac_compile) 2>&5 |
9169 | ac_status=$? | 9324 | ac_status=$? |
9170 | echo "$as_me:9170: \$? = $ac_status" >&5 | 9325 | echo "$as_me:9325: \$? = $ac_status" >&5 |
9171 | (exit $ac_status); } && | 9326 | (exit $ac_status); } && |
9172 | { ac_try='test -s conftest.$ac_objext' | 9327 | { ac_try='test -s conftest.$ac_objext' |
9173 | { (eval echo "$as_me:9173: \"$ac_try\"") >&5 | 9328 | { (eval echo "$as_me:9328: \"$ac_try\"") >&5 |
9174 | (eval $ac_try) 2>&5 | 9329 | (eval $ac_try) 2>&5 |
9175 | ac_status=$? | 9330 | ac_status=$? |
9176 | echo "$as_me:9176: \$? = $ac_status" >&5 | 9331 | echo "$as_me:9331: \$? = $ac_status" >&5 |
9177 | (exit $ac_status); }; }; then | 9332 | (exit $ac_status); }; }; then |
9178 | echo "$as_me:9178: result: no" >&5 | 9333 | echo "$as_me:9333: result: no" >&5 |
9179 | echo "${ECHO_T}no" >&6 | 9334 | echo "${ECHO_T}no" >&6 |
9180 | else | 9335 | else |
9181 | echo "$as_me: failed program was:" >&5 | 9336 | echo "$as_me: failed program was:" >&5 |
@@ -9185,7 +9340,7 @@ cat conftest.$ac_ext >&5 | |||
9185 | #define HAVE_OLD_PAM 1 | 9340 | #define HAVE_OLD_PAM 1 |
9186 | EOF | 9341 | EOF |
9187 | 9342 | ||
9188 | echo "$as_me:9188: result: yes" >&5 | 9343 | echo "$as_me:9343: result: yes" >&5 |
9189 | echo "${ECHO_T}yes" >&6 | 9344 | echo "${ECHO_T}yes" >&6 |
9190 | PAM_MSG="yes (old library)" | 9345 | PAM_MSG="yes (old library)" |
9191 | 9346 | ||
@@ -9225,7 +9380,7 @@ if test "${with_ssl_dir+set}" = set; then | |||
9225 | fi; | 9380 | fi; |
9226 | LIBS="-lcrypto $LIBS" | 9381 | LIBS="-lcrypto $LIBS" |
9227 | cat >conftest.$ac_ext <<_ACEOF | 9382 | cat >conftest.$ac_ext <<_ACEOF |
9228 | #line 9228 "configure" | 9383 | #line 9383 "configure" |
9229 | #include "confdefs.h" | 9384 | #include "confdefs.h" |
9230 | 9385 | ||
9231 | /* Override any gcc2 internal prototype to avoid an error. */ | 9386 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -9244,16 +9399,16 @@ RAND_add (); | |||
9244 | } | 9399 | } |
9245 | _ACEOF | 9400 | _ACEOF |
9246 | rm -f conftest.$ac_objext conftest$ac_exeext | 9401 | rm -f conftest.$ac_objext conftest$ac_exeext |
9247 | if { (eval echo "$as_me:9247: \"$ac_link\"") >&5 | 9402 | if { (eval echo "$as_me:9402: \"$ac_link\"") >&5 |
9248 | (eval $ac_link) 2>&5 | 9403 | (eval $ac_link) 2>&5 |
9249 | ac_status=$? | 9404 | ac_status=$? |
9250 | echo "$as_me:9250: \$? = $ac_status" >&5 | 9405 | echo "$as_me:9405: \$? = $ac_status" >&5 |
9251 | (exit $ac_status); } && | 9406 | (exit $ac_status); } && |
9252 | { ac_try='test -s conftest$ac_exeext' | 9407 | { ac_try='test -s conftest$ac_exeext' |
9253 | { (eval echo "$as_me:9253: \"$ac_try\"") >&5 | 9408 | { (eval echo "$as_me:9408: \"$ac_try\"") >&5 |
9254 | (eval $ac_try) 2>&5 | 9409 | (eval $ac_try) 2>&5 |
9255 | ac_status=$? | 9410 | ac_status=$? |
9256 | echo "$as_me:9256: \$? = $ac_status" >&5 | 9411 | echo "$as_me:9411: \$? = $ac_status" >&5 |
9257 | (exit $ac_status); }; }; then | 9412 | (exit $ac_status); }; }; then |
9258 | cat >>confdefs.h <<\EOF | 9413 | cat >>confdefs.h <<\EOF |
9259 | #define HAVE_OPENSSL 1 | 9414 | #define HAVE_OPENSSL 1 |
@@ -9270,7 +9425,7 @@ cat conftest.$ac_ext >&5 | |||
9270 | fi | 9425 | fi |
9271 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" | 9426 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" |
9272 | cat >conftest.$ac_ext <<_ACEOF | 9427 | cat >conftest.$ac_ext <<_ACEOF |
9273 | #line 9273 "configure" | 9428 | #line 9428 "configure" |
9274 | #include "confdefs.h" | 9429 | #include "confdefs.h" |
9275 | 9430 | ||
9276 | /* Override any gcc2 internal prototype to avoid an error. */ | 9431 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -9289,16 +9444,16 @@ RAND_add (); | |||
9289 | } | 9444 | } |
9290 | _ACEOF | 9445 | _ACEOF |
9291 | rm -f conftest.$ac_objext conftest$ac_exeext | 9446 | rm -f conftest.$ac_objext conftest$ac_exeext |
9292 | if { (eval echo "$as_me:9292: \"$ac_link\"") >&5 | 9447 | if { (eval echo "$as_me:9447: \"$ac_link\"") >&5 |
9293 | (eval $ac_link) 2>&5 | 9448 | (eval $ac_link) 2>&5 |
9294 | ac_status=$? | 9449 | ac_status=$? |
9295 | echo "$as_me:9295: \$? = $ac_status" >&5 | 9450 | echo "$as_me:9450: \$? = $ac_status" >&5 |
9296 | (exit $ac_status); } && | 9451 | (exit $ac_status); } && |
9297 | { ac_try='test -s conftest$ac_exeext' | 9452 | { ac_try='test -s conftest$ac_exeext' |
9298 | { (eval echo "$as_me:9298: \"$ac_try\"") >&5 | 9453 | { (eval echo "$as_me:9453: \"$ac_try\"") >&5 |
9299 | (eval $ac_try) 2>&5 | 9454 | (eval $ac_try) 2>&5 |
9300 | ac_status=$? | 9455 | ac_status=$? |
9301 | echo "$as_me:9301: \$? = $ac_status" >&5 | 9456 | echo "$as_me:9456: \$? = $ac_status" >&5 |
9302 | (exit $ac_status); }; }; then | 9457 | (exit $ac_status); }; }; then |
9303 | cat >>confdefs.h <<\EOF | 9458 | cat >>confdefs.h <<\EOF |
9304 | #define HAVE_OPENSSL 1 | 9459 | #define HAVE_OPENSSL 1 |
@@ -9308,7 +9463,7 @@ else | |||
9308 | echo "$as_me: failed program was:" >&5 | 9463 | echo "$as_me: failed program was:" >&5 |
9309 | cat conftest.$ac_ext >&5 | 9464 | cat conftest.$ac_ext >&5 |
9310 | 9465 | ||
9311 | { { echo "$as_me:9311: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 | 9466 | { { echo "$as_me:9466: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 |
9312 | echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} | 9467 | echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} |
9313 | { (exit 1); exit 1; }; } | 9468 | { (exit 1); exit 1; }; } |
9314 | 9469 | ||
@@ -9319,15 +9474,15 @@ fi | |||
9319 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9474 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9320 | 9475 | ||
9321 | # Determine OpenSSL header version | 9476 | # Determine OpenSSL header version |
9322 | echo "$as_me:9322: checking OpenSSL header version" >&5 | 9477 | echo "$as_me:9477: checking OpenSSL header version" >&5 |
9323 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 | 9478 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 |
9324 | if test "$cross_compiling" = yes; then | 9479 | if test "$cross_compiling" = yes; then |
9325 | { { echo "$as_me:9325: error: cannot run test program while cross compiling" >&5 | 9480 | { { echo "$as_me:9480: error: cannot run test program while cross compiling" >&5 |
9326 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 9481 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
9327 | { (exit 1); exit 1; }; } | 9482 | { (exit 1); exit 1; }; } |
9328 | else | 9483 | else |
9329 | cat >conftest.$ac_ext <<_ACEOF | 9484 | cat >conftest.$ac_ext <<_ACEOF |
9330 | #line 9330 "configure" | 9485 | #line 9485 "configure" |
9331 | #include "confdefs.h" | 9486 | #include "confdefs.h" |
9332 | 9487 | ||
9333 | #include <stdio.h> | 9488 | #include <stdio.h> |
@@ -9350,19 +9505,19 @@ int main(void) { | |||
9350 | 9505 | ||
9351 | _ACEOF | 9506 | _ACEOF |
9352 | rm -f conftest$ac_exeext | 9507 | rm -f conftest$ac_exeext |
9353 | if { (eval echo "$as_me:9353: \"$ac_link\"") >&5 | 9508 | if { (eval echo "$as_me:9508: \"$ac_link\"") >&5 |
9354 | (eval $ac_link) 2>&5 | 9509 | (eval $ac_link) 2>&5 |
9355 | ac_status=$? | 9510 | ac_status=$? |
9356 | echo "$as_me:9356: \$? = $ac_status" >&5 | 9511 | echo "$as_me:9511: \$? = $ac_status" >&5 |
9357 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 9512 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9358 | { (eval echo "$as_me:9358: \"$ac_try\"") >&5 | 9513 | { (eval echo "$as_me:9513: \"$ac_try\"") >&5 |
9359 | (eval $ac_try) 2>&5 | 9514 | (eval $ac_try) 2>&5 |
9360 | ac_status=$? | 9515 | ac_status=$? |
9361 | echo "$as_me:9361: \$? = $ac_status" >&5 | 9516 | echo "$as_me:9516: \$? = $ac_status" >&5 |
9362 | (exit $ac_status); }; }; then | 9517 | (exit $ac_status); }; }; then |
9363 | 9518 | ||
9364 | ssl_header_ver=`cat conftest.sslincver` | 9519 | ssl_header_ver=`cat conftest.sslincver` |
9365 | echo "$as_me:9365: result: $ssl_header_ver" >&5 | 9520 | echo "$as_me:9520: result: $ssl_header_ver" >&5 |
9366 | echo "${ECHO_T}$ssl_header_ver" >&6 | 9521 | echo "${ECHO_T}$ssl_header_ver" >&6 |
9367 | 9522 | ||
9368 | else | 9523 | else |
@@ -9370,9 +9525,9 @@ else | |||
9370 | echo "$as_me: failed program was:" >&5 | 9525 | echo "$as_me: failed program was:" >&5 |
9371 | cat conftest.$ac_ext >&5 | 9526 | cat conftest.$ac_ext >&5 |
9372 | 9527 | ||
9373 | echo "$as_me:9373: result: not found" >&5 | 9528 | echo "$as_me:9528: result: not found" >&5 |
9374 | echo "${ECHO_T}not found" >&6 | 9529 | echo "${ECHO_T}not found" >&6 |
9375 | { { echo "$as_me:9375: error: OpenSSL version header not found." >&5 | 9530 | { { echo "$as_me:9530: error: OpenSSL version header not found." >&5 |
9376 | echo "$as_me: error: OpenSSL version header not found." >&2;} | 9531 | echo "$as_me: error: OpenSSL version header not found." >&2;} |
9377 | { (exit 1); exit 1; }; } | 9532 | { (exit 1); exit 1; }; } |
9378 | 9533 | ||
@@ -9381,15 +9536,15 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |||
9381 | fi | 9536 | fi |
9382 | 9537 | ||
9383 | # Determine OpenSSL library version | 9538 | # Determine OpenSSL library version |
9384 | echo "$as_me:9384: checking OpenSSL library version" >&5 | 9539 | echo "$as_me:9539: checking OpenSSL library version" >&5 |
9385 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 | 9540 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 |
9386 | if test "$cross_compiling" = yes; then | 9541 | if test "$cross_compiling" = yes; then |
9387 | { { echo "$as_me:9387: error: cannot run test program while cross compiling" >&5 | 9542 | { { echo "$as_me:9542: error: cannot run test program while cross compiling" >&5 |
9388 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 9543 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
9389 | { (exit 1); exit 1; }; } | 9544 | { (exit 1); exit 1; }; } |
9390 | else | 9545 | else |
9391 | cat >conftest.$ac_ext <<_ACEOF | 9546 | cat >conftest.$ac_ext <<_ACEOF |
9392 | #line 9392 "configure" | 9547 | #line 9547 "configure" |
9393 | #include "confdefs.h" | 9548 | #include "confdefs.h" |
9394 | 9549 | ||
9395 | #include <stdio.h> | 9550 | #include <stdio.h> |
@@ -9413,19 +9568,19 @@ int main(void) { | |||
9413 | 9568 | ||
9414 | _ACEOF | 9569 | _ACEOF |
9415 | rm -f conftest$ac_exeext | 9570 | rm -f conftest$ac_exeext |
9416 | if { (eval echo "$as_me:9416: \"$ac_link\"") >&5 | 9571 | if { (eval echo "$as_me:9571: \"$ac_link\"") >&5 |
9417 | (eval $ac_link) 2>&5 | 9572 | (eval $ac_link) 2>&5 |
9418 | ac_status=$? | 9573 | ac_status=$? |
9419 | echo "$as_me:9419: \$? = $ac_status" >&5 | 9574 | echo "$as_me:9574: \$? = $ac_status" >&5 |
9420 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 9575 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9421 | { (eval echo "$as_me:9421: \"$ac_try\"") >&5 | 9576 | { (eval echo "$as_me:9576: \"$ac_try\"") >&5 |
9422 | (eval $ac_try) 2>&5 | 9577 | (eval $ac_try) 2>&5 |
9423 | ac_status=$? | 9578 | ac_status=$? |
9424 | echo "$as_me:9424: \$? = $ac_status" >&5 | 9579 | echo "$as_me:9579: \$? = $ac_status" >&5 |
9425 | (exit $ac_status); }; }; then | 9580 | (exit $ac_status); }; }; then |
9426 | 9581 | ||
9427 | ssl_library_ver=`cat conftest.ssllibver` | 9582 | ssl_library_ver=`cat conftest.ssllibver` |
9428 | echo "$as_me:9428: result: $ssl_library_ver" >&5 | 9583 | echo "$as_me:9583: result: $ssl_library_ver" >&5 |
9429 | echo "${ECHO_T}$ssl_library_ver" >&6 | 9584 | echo "${ECHO_T}$ssl_library_ver" >&6 |
9430 | 9585 | ||
9431 | else | 9586 | else |
@@ -9433,9 +9588,9 @@ else | |||
9433 | echo "$as_me: failed program was:" >&5 | 9588 | echo "$as_me: failed program was:" >&5 |
9434 | cat conftest.$ac_ext >&5 | 9589 | cat conftest.$ac_ext >&5 |
9435 | 9590 | ||
9436 | echo "$as_me:9436: result: not found" >&5 | 9591 | echo "$as_me:9591: result: not found" >&5 |
9437 | echo "${ECHO_T}not found" >&6 | 9592 | echo "${ECHO_T}not found" >&6 |
9438 | { { echo "$as_me:9438: error: OpenSSL library not found." >&5 | 9593 | { { echo "$as_me:9593: error: OpenSSL library not found." >&5 |
9439 | echo "$as_me: error: OpenSSL library not found." >&2;} | 9594 | echo "$as_me: error: OpenSSL library not found." >&2;} |
9440 | { (exit 1); exit 1; }; } | 9595 | { (exit 1); exit 1; }; } |
9441 | 9596 | ||
@@ -9444,15 +9599,15 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |||
9444 | fi | 9599 | fi |
9445 | 9600 | ||
9446 | # Sanity check OpenSSL headers | 9601 | # Sanity check OpenSSL headers |
9447 | echo "$as_me:9447: checking whether OpenSSL's headers match the library" >&5 | 9602 | echo "$as_me:9602: checking whether OpenSSL's headers match the library" >&5 |
9448 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 | 9603 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 |
9449 | if test "$cross_compiling" = yes; then | 9604 | if test "$cross_compiling" = yes; then |
9450 | { { echo "$as_me:9450: error: cannot run test program while cross compiling" >&5 | 9605 | { { echo "$as_me:9605: error: cannot run test program while cross compiling" >&5 |
9451 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 9606 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
9452 | { (exit 1); exit 1; }; } | 9607 | { (exit 1); exit 1; }; } |
9453 | else | 9608 | else |
9454 | cat >conftest.$ac_ext <<_ACEOF | 9609 | cat >conftest.$ac_ext <<_ACEOF |
9455 | #line 9455 "configure" | 9610 | #line 9610 "configure" |
9456 | #include "confdefs.h" | 9611 | #include "confdefs.h" |
9457 | 9612 | ||
9458 | #include <string.h> | 9613 | #include <string.h> |
@@ -9461,18 +9616,18 @@ int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); } | |||
9461 | 9616 | ||
9462 | _ACEOF | 9617 | _ACEOF |
9463 | rm -f conftest$ac_exeext | 9618 | rm -f conftest$ac_exeext |
9464 | if { (eval echo "$as_me:9464: \"$ac_link\"") >&5 | 9619 | if { (eval echo "$as_me:9619: \"$ac_link\"") >&5 |
9465 | (eval $ac_link) 2>&5 | 9620 | (eval $ac_link) 2>&5 |
9466 | ac_status=$? | 9621 | ac_status=$? |
9467 | echo "$as_me:9467: \$? = $ac_status" >&5 | 9622 | echo "$as_me:9622: \$? = $ac_status" >&5 |
9468 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 9623 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9469 | { (eval echo "$as_me:9469: \"$ac_try\"") >&5 | 9624 | { (eval echo "$as_me:9624: \"$ac_try\"") >&5 |
9470 | (eval $ac_try) 2>&5 | 9625 | (eval $ac_try) 2>&5 |
9471 | ac_status=$? | 9626 | ac_status=$? |
9472 | echo "$as_me:9472: \$? = $ac_status" >&5 | 9627 | echo "$as_me:9627: \$? = $ac_status" >&5 |
9473 | (exit $ac_status); }; }; then | 9628 | (exit $ac_status); }; }; then |
9474 | 9629 | ||
9475 | echo "$as_me:9475: result: yes" >&5 | 9630 | echo "$as_me:9630: result: yes" >&5 |
9476 | echo "${ECHO_T}yes" >&6 | 9631 | echo "${ECHO_T}yes" >&6 |
9477 | 9632 | ||
9478 | else | 9633 | else |
@@ -9480,9 +9635,9 @@ else | |||
9480 | echo "$as_me: failed program was:" >&5 | 9635 | echo "$as_me: failed program was:" >&5 |
9481 | cat conftest.$ac_ext >&5 | 9636 | cat conftest.$ac_ext >&5 |
9482 | 9637 | ||
9483 | echo "$as_me:9483: result: no" >&5 | 9638 | echo "$as_me:9638: result: no" >&5 |
9484 | echo "${ECHO_T}no" >&6 | 9639 | echo "${ECHO_T}no" >&6 |
9485 | { { echo "$as_me:9485: error: Your OpenSSL headers do not match your library. | 9640 | { { echo "$as_me:9640: error: Your OpenSSL headers do not match your library. |
9486 | Check config.log for details. | 9641 | Check config.log for details. |
9487 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 | 9642 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 |
9488 | echo "$as_me: error: Your OpenSSL headers do not match your library. | 9643 | echo "$as_me: error: Your OpenSSL headers do not match your library. |
@@ -9498,7 +9653,7 @@ fi | |||
9498 | # because the system crypt() is more featureful. | 9653 | # because the system crypt() is more featureful. |
9499 | if test "x$check_for_libcrypt_before" = "x1"; then | 9654 | if test "x$check_for_libcrypt_before" = "x1"; then |
9500 | 9655 | ||
9501 | echo "$as_me:9501: checking for crypt in -lcrypt" >&5 | 9656 | echo "$as_me:9656: checking for crypt in -lcrypt" >&5 |
9502 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | 9657 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
9503 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 9658 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
9504 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9659 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9506,7 +9661,7 @@ else | |||
9506 | ac_check_lib_save_LIBS=$LIBS | 9661 | ac_check_lib_save_LIBS=$LIBS |
9507 | LIBS="-lcrypt $LIBS" | 9662 | LIBS="-lcrypt $LIBS" |
9508 | cat >conftest.$ac_ext <<_ACEOF | 9663 | cat >conftest.$ac_ext <<_ACEOF |
9509 | #line 9509 "configure" | 9664 | #line 9664 "configure" |
9510 | #include "confdefs.h" | 9665 | #include "confdefs.h" |
9511 | 9666 | ||
9512 | /* Override any gcc2 internal prototype to avoid an error. */ | 9667 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -9525,16 +9680,16 @@ crypt (); | |||
9525 | } | 9680 | } |
9526 | _ACEOF | 9681 | _ACEOF |
9527 | rm -f conftest.$ac_objext conftest$ac_exeext | 9682 | rm -f conftest.$ac_objext conftest$ac_exeext |
9528 | if { (eval echo "$as_me:9528: \"$ac_link\"") >&5 | 9683 | if { (eval echo "$as_me:9683: \"$ac_link\"") >&5 |
9529 | (eval $ac_link) 2>&5 | 9684 | (eval $ac_link) 2>&5 |
9530 | ac_status=$? | 9685 | ac_status=$? |
9531 | echo "$as_me:9531: \$? = $ac_status" >&5 | 9686 | echo "$as_me:9686: \$? = $ac_status" >&5 |
9532 | (exit $ac_status); } && | 9687 | (exit $ac_status); } && |
9533 | { ac_try='test -s conftest$ac_exeext' | 9688 | { ac_try='test -s conftest$ac_exeext' |
9534 | { (eval echo "$as_me:9534: \"$ac_try\"") >&5 | 9689 | { (eval echo "$as_me:9689: \"$ac_try\"") >&5 |
9535 | (eval $ac_try) 2>&5 | 9690 | (eval $ac_try) 2>&5 |
9536 | ac_status=$? | 9691 | ac_status=$? |
9537 | echo "$as_me:9537: \$? = $ac_status" >&5 | 9692 | echo "$as_me:9692: \$? = $ac_status" >&5 |
9538 | (exit $ac_status); }; }; then | 9693 | (exit $ac_status); }; }; then |
9539 | ac_cv_lib_crypt_crypt=yes | 9694 | ac_cv_lib_crypt_crypt=yes |
9540 | else | 9695 | else |
@@ -9545,7 +9700,7 @@ fi | |||
9545 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9700 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9546 | LIBS=$ac_check_lib_save_LIBS | 9701 | LIBS=$ac_check_lib_save_LIBS |
9547 | fi | 9702 | fi |
9548 | echo "$as_me:9548: result: $ac_cv_lib_crypt_crypt" >&5 | 9703 | echo "$as_me:9703: result: $ac_cv_lib_crypt_crypt" >&5 |
9549 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | 9704 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
9550 | if test $ac_cv_lib_crypt_crypt = yes; then | 9705 | if test $ac_cv_lib_crypt_crypt = yes; then |
9551 | cat >>confdefs.h <<EOF | 9706 | cat >>confdefs.h <<EOF |
@@ -9561,7 +9716,7 @@ fi | |||
9561 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the | 9716 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the |
9562 | # version in OpenSSL. | 9717 | # version in OpenSSL. |
9563 | if test "x$check_for_libcrypt_later" = "x1"; then | 9718 | if test "x$check_for_libcrypt_later" = "x1"; then |
9564 | echo "$as_me:9564: checking for crypt in -lcrypt" >&5 | 9719 | echo "$as_me:9719: checking for crypt in -lcrypt" >&5 |
9565 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | 9720 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
9566 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 9721 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
9567 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9722 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9569,7 +9724,7 @@ else | |||
9569 | ac_check_lib_save_LIBS=$LIBS | 9724 | ac_check_lib_save_LIBS=$LIBS |
9570 | LIBS="-lcrypt $LIBS" | 9725 | LIBS="-lcrypt $LIBS" |
9571 | cat >conftest.$ac_ext <<_ACEOF | 9726 | cat >conftest.$ac_ext <<_ACEOF |
9572 | #line 9572 "configure" | 9727 | #line 9727 "configure" |
9573 | #include "confdefs.h" | 9728 | #include "confdefs.h" |
9574 | 9729 | ||
9575 | /* Override any gcc2 internal prototype to avoid an error. */ | 9730 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -9588,16 +9743,16 @@ crypt (); | |||
9588 | } | 9743 | } |
9589 | _ACEOF | 9744 | _ACEOF |
9590 | rm -f conftest.$ac_objext conftest$ac_exeext | 9745 | rm -f conftest.$ac_objext conftest$ac_exeext |
9591 | if { (eval echo "$as_me:9591: \"$ac_link\"") >&5 | 9746 | if { (eval echo "$as_me:9746: \"$ac_link\"") >&5 |
9592 | (eval $ac_link) 2>&5 | 9747 | (eval $ac_link) 2>&5 |
9593 | ac_status=$? | 9748 | ac_status=$? |
9594 | echo "$as_me:9594: \$? = $ac_status" >&5 | 9749 | echo "$as_me:9749: \$? = $ac_status" >&5 |
9595 | (exit $ac_status); } && | 9750 | (exit $ac_status); } && |
9596 | { ac_try='test -s conftest$ac_exeext' | 9751 | { ac_try='test -s conftest$ac_exeext' |
9597 | { (eval echo "$as_me:9597: \"$ac_try\"") >&5 | 9752 | { (eval echo "$as_me:9752: \"$ac_try\"") >&5 |
9598 | (eval $ac_try) 2>&5 | 9753 | (eval $ac_try) 2>&5 |
9599 | ac_status=$? | 9754 | ac_status=$? |
9600 | echo "$as_me:9600: \$? = $ac_status" >&5 | 9755 | echo "$as_me:9755: \$? = $ac_status" >&5 |
9601 | (exit $ac_status); }; }; then | 9756 | (exit $ac_status); }; }; then |
9602 | ac_cv_lib_crypt_crypt=yes | 9757 | ac_cv_lib_crypt_crypt=yes |
9603 | else | 9758 | else |
@@ -9608,7 +9763,7 @@ fi | |||
9608 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 9763 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9609 | LIBS=$ac_check_lib_save_LIBS | 9764 | LIBS=$ac_check_lib_save_LIBS |
9610 | fi | 9765 | fi |
9611 | echo "$as_me:9611: result: $ac_cv_lib_crypt_crypt" >&5 | 9766 | echo "$as_me:9766: result: $ac_cv_lib_crypt_crypt" >&5 |
9612 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | 9767 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
9613 | if test $ac_cv_lib_crypt_crypt = yes; then | 9768 | if test $ac_cv_lib_crypt_crypt = yes; then |
9614 | LIBS="$LIBS -lcrypt" | 9769 | LIBS="$LIBS -lcrypt" |
@@ -9619,15 +9774,15 @@ fi | |||
9619 | ### Configure cryptographic random number support | 9774 | ### Configure cryptographic random number support |
9620 | 9775 | ||
9621 | # Check wheter OpenSSL seeds itself | 9776 | # Check wheter OpenSSL seeds itself |
9622 | echo "$as_me:9622: checking whether OpenSSL's PRNG is internally seeded" >&5 | 9777 | echo "$as_me:9777: checking whether OpenSSL's PRNG is internally seeded" >&5 |
9623 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 | 9778 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 |
9624 | if test "$cross_compiling" = yes; then | 9779 | if test "$cross_compiling" = yes; then |
9625 | { { echo "$as_me:9625: error: cannot run test program while cross compiling" >&5 | 9780 | { { echo "$as_me:9780: error: cannot run test program while cross compiling" >&5 |
9626 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 9781 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
9627 | { (exit 1); exit 1; }; } | 9782 | { (exit 1); exit 1; }; } |
9628 | else | 9783 | else |
9629 | cat >conftest.$ac_ext <<_ACEOF | 9784 | cat >conftest.$ac_ext <<_ACEOF |
9630 | #line 9630 "configure" | 9785 | #line 9785 "configure" |
9631 | #include "confdefs.h" | 9786 | #include "confdefs.h" |
9632 | 9787 | ||
9633 | #include <string.h> | 9788 | #include <string.h> |
@@ -9636,19 +9791,19 @@ int main(void) { exit(RAND_status() == 1 ? 0 : 1); } | |||
9636 | 9791 | ||
9637 | _ACEOF | 9792 | _ACEOF |
9638 | rm -f conftest$ac_exeext | 9793 | rm -f conftest$ac_exeext |
9639 | if { (eval echo "$as_me:9639: \"$ac_link\"") >&5 | 9794 | if { (eval echo "$as_me:9794: \"$ac_link\"") >&5 |
9640 | (eval $ac_link) 2>&5 | 9795 | (eval $ac_link) 2>&5 |
9641 | ac_status=$? | 9796 | ac_status=$? |
9642 | echo "$as_me:9642: \$? = $ac_status" >&5 | 9797 | echo "$as_me:9797: \$? = $ac_status" >&5 |
9643 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 9798 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9644 | { (eval echo "$as_me:9644: \"$ac_try\"") >&5 | 9799 | { (eval echo "$as_me:9799: \"$ac_try\"") >&5 |
9645 | (eval $ac_try) 2>&5 | 9800 | (eval $ac_try) 2>&5 |
9646 | ac_status=$? | 9801 | ac_status=$? |
9647 | echo "$as_me:9647: \$? = $ac_status" >&5 | 9802 | echo "$as_me:9802: \$? = $ac_status" >&5 |
9648 | (exit $ac_status); }; }; then | 9803 | (exit $ac_status); }; }; then |
9649 | 9804 | ||
9650 | OPENSSL_SEEDS_ITSELF=yes | 9805 | OPENSSL_SEEDS_ITSELF=yes |
9651 | echo "$as_me:9651: result: yes" >&5 | 9806 | echo "$as_me:9806: result: yes" >&5 |
9652 | echo "${ECHO_T}yes" >&6 | 9807 | echo "${ECHO_T}yes" >&6 |
9653 | 9808 | ||
9654 | else | 9809 | else |
@@ -9656,7 +9811,7 @@ else | |||
9656 | echo "$as_me: failed program was:" >&5 | 9811 | echo "$as_me: failed program was:" >&5 |
9657 | cat conftest.$ac_ext >&5 | 9812 | cat conftest.$ac_ext >&5 |
9658 | 9813 | ||
9659 | echo "$as_me:9659: result: no" >&5 | 9814 | echo "$as_me:9814: result: no" >&5 |
9660 | echo "${ECHO_T}no" >&6 | 9815 | echo "${ECHO_T}no" >&6 |
9661 | # Default to use of the rand helper if OpenSSL doesn't | 9816 | # Default to use of the rand helper if OpenSSL doesn't |
9662 | # seed itself | 9817 | # seed itself |
@@ -9676,7 +9831,7 @@ if test "${with_rand_helper+set}" = set; then | |||
9676 | # Force use of OpenSSL's internal RNG, even if | 9831 | # Force use of OpenSSL's internal RNG, even if |
9677 | # the previous test showed it to be unseeded. | 9832 | # the previous test showed it to be unseeded. |
9678 | if test -z "$OPENSSL_SEEDS_ITSELF" ; then | 9833 | if test -z "$OPENSSL_SEEDS_ITSELF" ; then |
9679 | { echo "$as_me:9679: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 | 9834 | { echo "$as_me:9834: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 |
9680 | echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} | 9835 | echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} |
9681 | OPENSSL_SEEDS_ITSELF=yes | 9836 | OPENSSL_SEEDS_ITSELF=yes |
9682 | USE_RAND_HELPER="" | 9837 | USE_RAND_HELPER="" |
@@ -9717,7 +9872,7 @@ if test "${with_prngd_port+set}" = set; then | |||
9717 | [0-9]*) | 9872 | [0-9]*) |
9718 | ;; | 9873 | ;; |
9719 | *) | 9874 | *) |
9720 | { { echo "$as_me:9720: error: You must specify a numeric port number for --with-prngd-port" >&5 | 9875 | { { echo "$as_me:9875: error: You must specify a numeric port number for --with-prngd-port" >&5 |
9721 | echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} | 9876 | echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} |
9722 | { (exit 1); exit 1; }; } | 9877 | { (exit 1); exit 1; }; } |
9723 | ;; | 9878 | ;; |
@@ -9748,7 +9903,7 @@ if test "${with_prngd_socket+set}" = set; then | |||
9748 | /*) | 9903 | /*) |
9749 | ;; | 9904 | ;; |
9750 | *) | 9905 | *) |
9751 | { { echo "$as_me:9751: error: You must specify an absolute path to the entropy socket" >&5 | 9906 | { { echo "$as_me:9906: error: You must specify an absolute path to the entropy socket" >&5 |
9752 | echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} | 9907 | echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} |
9753 | { (exit 1); exit 1; }; } | 9908 | { (exit 1); exit 1; }; } |
9754 | ;; | 9909 | ;; |
@@ -9756,12 +9911,12 @@ echo "$as_me: error: You must specify an absolute path to the entropy socket" >& | |||
9756 | 9911 | ||
9757 | if test ! -z "$withval" ; then | 9912 | if test ! -z "$withval" ; then |
9758 | if test ! -z "$PRNGD_PORT" ; then | 9913 | if test ! -z "$PRNGD_PORT" ; then |
9759 | { { echo "$as_me:9759: error: You may not specify both a PRNGD/EGD port and socket" >&5 | 9914 | { { echo "$as_me:9914: error: You may not specify both a PRNGD/EGD port and socket" >&5 |
9760 | echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} | 9915 | echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} |
9761 | { (exit 1); exit 1; }; } | 9916 | { (exit 1); exit 1; }; } |
9762 | fi | 9917 | fi |
9763 | if test ! -r "$withval" ; then | 9918 | if test ! -r "$withval" ; then |
9764 | { echo "$as_me:9764: WARNING: Entropy socket is not readable" >&5 | 9919 | { echo "$as_me:9919: WARNING: Entropy socket is not readable" >&5 |
9765 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} | 9920 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} |
9766 | fi | 9921 | fi |
9767 | PRNGD_SOCKET="$withval" | 9922 | PRNGD_SOCKET="$withval" |
@@ -9775,7 +9930,7 @@ else | |||
9775 | 9930 | ||
9776 | # Check for existing socket only if we don't have a random device already | 9931 | # Check for existing socket only if we don't have a random device already |
9777 | if test "$USE_RAND_HELPER" = yes ; then | 9932 | if test "$USE_RAND_HELPER" = yes ; then |
9778 | echo "$as_me:9778: checking for PRNGD/EGD socket" >&5 | 9933 | echo "$as_me:9933: checking for PRNGD/EGD socket" >&5 |
9779 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 | 9934 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 |
9780 | # Insert other locations here | 9935 | # Insert other locations here |
9781 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do | 9936 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do |
@@ -9789,10 +9944,10 @@ EOF | |||
9789 | fi | 9944 | fi |
9790 | done | 9945 | done |
9791 | if test ! -z "$PRNGD_SOCKET" ; then | 9946 | if test ! -z "$PRNGD_SOCKET" ; then |
9792 | echo "$as_me:9792: result: $PRNGD_SOCKET" >&5 | 9947 | echo "$as_me:9947: result: $PRNGD_SOCKET" >&5 |
9793 | echo "${ECHO_T}$PRNGD_SOCKET" >&6 | 9948 | echo "${ECHO_T}$PRNGD_SOCKET" >&6 |
9794 | else | 9949 | else |
9795 | echo "$as_me:9795: result: not found" >&5 | 9950 | echo "$as_me:9950: result: not found" >&5 |
9796 | echo "${ECHO_T}not found" >&6 | 9951 | echo "${ECHO_T}not found" >&6 |
9797 | fi | 9952 | fi |
9798 | fi | 9953 | fi |
@@ -9848,7 +10003,7 @@ PATH=$PATH:/etc:$OPATH | |||
9848 | 10003 | ||
9849 | # Extract the first word of "ls", so it can be a program name with args. | 10004 | # Extract the first word of "ls", so it can be a program name with args. |
9850 | set dummy ls; ac_word=$2 | 10005 | set dummy ls; ac_word=$2 |
9851 | echo "$as_me:9851: checking for $ac_word" >&5 | 10006 | echo "$as_me:10006: checking for $ac_word" >&5 |
9852 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10007 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
9853 | if test "${ac_cv_path_PROG_LS+set}" = set; then | 10008 | if test "${ac_cv_path_PROG_LS+set}" = set; then |
9854 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10009 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9865,7 +10020,7 @@ for ac_dir in $ac_dummy; do | |||
9865 | test -z "$ac_dir" && ac_dir=. | 10020 | test -z "$ac_dir" && ac_dir=. |
9866 | if $as_executable_p "$ac_dir/$ac_word"; then | 10021 | if $as_executable_p "$ac_dir/$ac_word"; then |
9867 | ac_cv_path_PROG_LS="$ac_dir/$ac_word" | 10022 | ac_cv_path_PROG_LS="$ac_dir/$ac_word" |
9868 | echo "$as_me:9868: found $ac_dir/$ac_word" >&5 | 10023 | echo "$as_me:10023: found $ac_dir/$ac_word" >&5 |
9869 | break | 10024 | break |
9870 | fi | 10025 | fi |
9871 | done | 10026 | done |
@@ -9876,10 +10031,10 @@ fi | |||
9876 | PROG_LS=$ac_cv_path_PROG_LS | 10031 | PROG_LS=$ac_cv_path_PROG_LS |
9877 | 10032 | ||
9878 | if test -n "$PROG_LS"; then | 10033 | if test -n "$PROG_LS"; then |
9879 | echo "$as_me:9879: result: $PROG_LS" >&5 | 10034 | echo "$as_me:10034: result: $PROG_LS" >&5 |
9880 | echo "${ECHO_T}$PROG_LS" >&6 | 10035 | echo "${ECHO_T}$PROG_LS" >&6 |
9881 | else | 10036 | else |
9882 | echo "$as_me:9882: result: no" >&5 | 10037 | echo "$as_me:10037: result: no" >&5 |
9883 | echo "${ECHO_T}no" >&6 | 10038 | echo "${ECHO_T}no" >&6 |
9884 | fi | 10039 | fi |
9885 | 10040 | ||
@@ -9889,7 +10044,7 @@ fi | |||
9889 | 10044 | ||
9890 | # Extract the first word of "netstat", so it can be a program name with args. | 10045 | # Extract the first word of "netstat", so it can be a program name with args. |
9891 | set dummy netstat; ac_word=$2 | 10046 | set dummy netstat; ac_word=$2 |
9892 | echo "$as_me:9892: checking for $ac_word" >&5 | 10047 | echo "$as_me:10047: checking for $ac_word" >&5 |
9893 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10048 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
9894 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then | 10049 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then |
9895 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9906,7 +10061,7 @@ for ac_dir in $ac_dummy; do | |||
9906 | test -z "$ac_dir" && ac_dir=. | 10061 | test -z "$ac_dir" && ac_dir=. |
9907 | if $as_executable_p "$ac_dir/$ac_word"; then | 10062 | if $as_executable_p "$ac_dir/$ac_word"; then |
9908 | ac_cv_path_PROG_NETSTAT="$ac_dir/$ac_word" | 10063 | ac_cv_path_PROG_NETSTAT="$ac_dir/$ac_word" |
9909 | echo "$as_me:9909: found $ac_dir/$ac_word" >&5 | 10064 | echo "$as_me:10064: found $ac_dir/$ac_word" >&5 |
9910 | break | 10065 | break |
9911 | fi | 10066 | fi |
9912 | done | 10067 | done |
@@ -9917,10 +10072,10 @@ fi | |||
9917 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT | 10072 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT |
9918 | 10073 | ||
9919 | if test -n "$PROG_NETSTAT"; then | 10074 | if test -n "$PROG_NETSTAT"; then |
9920 | echo "$as_me:9920: result: $PROG_NETSTAT" >&5 | 10075 | echo "$as_me:10075: result: $PROG_NETSTAT" >&5 |
9921 | echo "${ECHO_T}$PROG_NETSTAT" >&6 | 10076 | echo "${ECHO_T}$PROG_NETSTAT" >&6 |
9922 | else | 10077 | else |
9923 | echo "$as_me:9923: result: no" >&5 | 10078 | echo "$as_me:10078: result: no" >&5 |
9924 | echo "${ECHO_T}no" >&6 | 10079 | echo "${ECHO_T}no" >&6 |
9925 | fi | 10080 | fi |
9926 | 10081 | ||
@@ -9930,7 +10085,7 @@ fi | |||
9930 | 10085 | ||
9931 | # Extract the first word of "arp", so it can be a program name with args. | 10086 | # Extract the first word of "arp", so it can be a program name with args. |
9932 | set dummy arp; ac_word=$2 | 10087 | set dummy arp; ac_word=$2 |
9933 | echo "$as_me:9933: checking for $ac_word" >&5 | 10088 | echo "$as_me:10088: checking for $ac_word" >&5 |
9934 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10089 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
9935 | if test "${ac_cv_path_PROG_ARP+set}" = set; then | 10090 | if test "${ac_cv_path_PROG_ARP+set}" = set; then |
9936 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10091 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9947,7 +10102,7 @@ for ac_dir in $ac_dummy; do | |||
9947 | test -z "$ac_dir" && ac_dir=. | 10102 | test -z "$ac_dir" && ac_dir=. |
9948 | if $as_executable_p "$ac_dir/$ac_word"; then | 10103 | if $as_executable_p "$ac_dir/$ac_word"; then |
9949 | ac_cv_path_PROG_ARP="$ac_dir/$ac_word" | 10104 | ac_cv_path_PROG_ARP="$ac_dir/$ac_word" |
9950 | echo "$as_me:9950: found $ac_dir/$ac_word" >&5 | 10105 | echo "$as_me:10105: found $ac_dir/$ac_word" >&5 |
9951 | break | 10106 | break |
9952 | fi | 10107 | fi |
9953 | done | 10108 | done |
@@ -9958,10 +10113,10 @@ fi | |||
9958 | PROG_ARP=$ac_cv_path_PROG_ARP | 10113 | PROG_ARP=$ac_cv_path_PROG_ARP |
9959 | 10114 | ||
9960 | if test -n "$PROG_ARP"; then | 10115 | if test -n "$PROG_ARP"; then |
9961 | echo "$as_me:9961: result: $PROG_ARP" >&5 | 10116 | echo "$as_me:10116: result: $PROG_ARP" >&5 |
9962 | echo "${ECHO_T}$PROG_ARP" >&6 | 10117 | echo "${ECHO_T}$PROG_ARP" >&6 |
9963 | else | 10118 | else |
9964 | echo "$as_me:9964: result: no" >&5 | 10119 | echo "$as_me:10119: result: no" >&5 |
9965 | echo "${ECHO_T}no" >&6 | 10120 | echo "${ECHO_T}no" >&6 |
9966 | fi | 10121 | fi |
9967 | 10122 | ||
@@ -9971,7 +10126,7 @@ fi | |||
9971 | 10126 | ||
9972 | # Extract the first word of "ifconfig", so it can be a program name with args. | 10127 | # Extract the first word of "ifconfig", so it can be a program name with args. |
9973 | set dummy ifconfig; ac_word=$2 | 10128 | set dummy ifconfig; ac_word=$2 |
9974 | echo "$as_me:9974: checking for $ac_word" >&5 | 10129 | echo "$as_me:10129: checking for $ac_word" >&5 |
9975 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10130 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
9976 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then | 10131 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then |
9977 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10132 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9988,7 +10143,7 @@ for ac_dir in $ac_dummy; do | |||
9988 | test -z "$ac_dir" && ac_dir=. | 10143 | test -z "$ac_dir" && ac_dir=. |
9989 | if $as_executable_p "$ac_dir/$ac_word"; then | 10144 | if $as_executable_p "$ac_dir/$ac_word"; then |
9990 | ac_cv_path_PROG_IFCONFIG="$ac_dir/$ac_word" | 10145 | ac_cv_path_PROG_IFCONFIG="$ac_dir/$ac_word" |
9991 | echo "$as_me:9991: found $ac_dir/$ac_word" >&5 | 10146 | echo "$as_me:10146: found $ac_dir/$ac_word" >&5 |
9992 | break | 10147 | break |
9993 | fi | 10148 | fi |
9994 | done | 10149 | done |
@@ -9999,10 +10154,10 @@ fi | |||
9999 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG | 10154 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG |
10000 | 10155 | ||
10001 | if test -n "$PROG_IFCONFIG"; then | 10156 | if test -n "$PROG_IFCONFIG"; then |
10002 | echo "$as_me:10002: result: $PROG_IFCONFIG" >&5 | 10157 | echo "$as_me:10157: result: $PROG_IFCONFIG" >&5 |
10003 | echo "${ECHO_T}$PROG_IFCONFIG" >&6 | 10158 | echo "${ECHO_T}$PROG_IFCONFIG" >&6 |
10004 | else | 10159 | else |
10005 | echo "$as_me:10005: result: no" >&5 | 10160 | echo "$as_me:10160: result: no" >&5 |
10006 | echo "${ECHO_T}no" >&6 | 10161 | echo "${ECHO_T}no" >&6 |
10007 | fi | 10162 | fi |
10008 | 10163 | ||
@@ -10012,7 +10167,7 @@ fi | |||
10012 | 10167 | ||
10013 | # Extract the first word of "jstat", so it can be a program name with args. | 10168 | # Extract the first word of "jstat", so it can be a program name with args. |
10014 | set dummy jstat; ac_word=$2 | 10169 | set dummy jstat; ac_word=$2 |
10015 | echo "$as_me:10015: checking for $ac_word" >&5 | 10170 | echo "$as_me:10170: checking for $ac_word" >&5 |
10016 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10171 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10017 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then | 10172 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then |
10018 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10173 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10029,7 +10184,7 @@ for ac_dir in $ac_dummy; do | |||
10029 | test -z "$ac_dir" && ac_dir=. | 10184 | test -z "$ac_dir" && ac_dir=. |
10030 | if $as_executable_p "$ac_dir/$ac_word"; then | 10185 | if $as_executable_p "$ac_dir/$ac_word"; then |
10031 | ac_cv_path_PROG_JSTAT="$ac_dir/$ac_word" | 10186 | ac_cv_path_PROG_JSTAT="$ac_dir/$ac_word" |
10032 | echo "$as_me:10032: found $ac_dir/$ac_word" >&5 | 10187 | echo "$as_me:10187: found $ac_dir/$ac_word" >&5 |
10033 | break | 10188 | break |
10034 | fi | 10189 | fi |
10035 | done | 10190 | done |
@@ -10040,10 +10195,10 @@ fi | |||
10040 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT | 10195 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT |
10041 | 10196 | ||
10042 | if test -n "$PROG_JSTAT"; then | 10197 | if test -n "$PROG_JSTAT"; then |
10043 | echo "$as_me:10043: result: $PROG_JSTAT" >&5 | 10198 | echo "$as_me:10198: result: $PROG_JSTAT" >&5 |
10044 | echo "${ECHO_T}$PROG_JSTAT" >&6 | 10199 | echo "${ECHO_T}$PROG_JSTAT" >&6 |
10045 | else | 10200 | else |
10046 | echo "$as_me:10046: result: no" >&5 | 10201 | echo "$as_me:10201: result: no" >&5 |
10047 | echo "${ECHO_T}no" >&6 | 10202 | echo "${ECHO_T}no" >&6 |
10048 | fi | 10203 | fi |
10049 | 10204 | ||
@@ -10053,7 +10208,7 @@ fi | |||
10053 | 10208 | ||
10054 | # Extract the first word of "ps", so it can be a program name with args. | 10209 | # Extract the first word of "ps", so it can be a program name with args. |
10055 | set dummy ps; ac_word=$2 | 10210 | set dummy ps; ac_word=$2 |
10056 | echo "$as_me:10056: checking for $ac_word" >&5 | 10211 | echo "$as_me:10211: checking for $ac_word" >&5 |
10057 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10212 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10058 | if test "${ac_cv_path_PROG_PS+set}" = set; then | 10213 | if test "${ac_cv_path_PROG_PS+set}" = set; then |
10059 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10214 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10070,7 +10225,7 @@ for ac_dir in $ac_dummy; do | |||
10070 | test -z "$ac_dir" && ac_dir=. | 10225 | test -z "$ac_dir" && ac_dir=. |
10071 | if $as_executable_p "$ac_dir/$ac_word"; then | 10226 | if $as_executable_p "$ac_dir/$ac_word"; then |
10072 | ac_cv_path_PROG_PS="$ac_dir/$ac_word" | 10227 | ac_cv_path_PROG_PS="$ac_dir/$ac_word" |
10073 | echo "$as_me:10073: found $ac_dir/$ac_word" >&5 | 10228 | echo "$as_me:10228: found $ac_dir/$ac_word" >&5 |
10074 | break | 10229 | break |
10075 | fi | 10230 | fi |
10076 | done | 10231 | done |
@@ -10081,10 +10236,10 @@ fi | |||
10081 | PROG_PS=$ac_cv_path_PROG_PS | 10236 | PROG_PS=$ac_cv_path_PROG_PS |
10082 | 10237 | ||
10083 | if test -n "$PROG_PS"; then | 10238 | if test -n "$PROG_PS"; then |
10084 | echo "$as_me:10084: result: $PROG_PS" >&5 | 10239 | echo "$as_me:10239: result: $PROG_PS" >&5 |
10085 | echo "${ECHO_T}$PROG_PS" >&6 | 10240 | echo "${ECHO_T}$PROG_PS" >&6 |
10086 | else | 10241 | else |
10087 | echo "$as_me:10087: result: no" >&5 | 10242 | echo "$as_me:10242: result: no" >&5 |
10088 | echo "${ECHO_T}no" >&6 | 10243 | echo "${ECHO_T}no" >&6 |
10089 | fi | 10244 | fi |
10090 | 10245 | ||
@@ -10094,7 +10249,7 @@ fi | |||
10094 | 10249 | ||
10095 | # Extract the first word of "sar", so it can be a program name with args. | 10250 | # Extract the first word of "sar", so it can be a program name with args. |
10096 | set dummy sar; ac_word=$2 | 10251 | set dummy sar; ac_word=$2 |
10097 | echo "$as_me:10097: checking for $ac_word" >&5 | 10252 | echo "$as_me:10252: checking for $ac_word" >&5 |
10098 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10253 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10099 | if test "${ac_cv_path_PROG_SAR+set}" = set; then | 10254 | if test "${ac_cv_path_PROG_SAR+set}" = set; then |
10100 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10255 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10111,7 +10266,7 @@ for ac_dir in $ac_dummy; do | |||
10111 | test -z "$ac_dir" && ac_dir=. | 10266 | test -z "$ac_dir" && ac_dir=. |
10112 | if $as_executable_p "$ac_dir/$ac_word"; then | 10267 | if $as_executable_p "$ac_dir/$ac_word"; then |
10113 | ac_cv_path_PROG_SAR="$ac_dir/$ac_word" | 10268 | ac_cv_path_PROG_SAR="$ac_dir/$ac_word" |
10114 | echo "$as_me:10114: found $ac_dir/$ac_word" >&5 | 10269 | echo "$as_me:10269: found $ac_dir/$ac_word" >&5 |
10115 | break | 10270 | break |
10116 | fi | 10271 | fi |
10117 | done | 10272 | done |
@@ -10122,10 +10277,10 @@ fi | |||
10122 | PROG_SAR=$ac_cv_path_PROG_SAR | 10277 | PROG_SAR=$ac_cv_path_PROG_SAR |
10123 | 10278 | ||
10124 | if test -n "$PROG_SAR"; then | 10279 | if test -n "$PROG_SAR"; then |
10125 | echo "$as_me:10125: result: $PROG_SAR" >&5 | 10280 | echo "$as_me:10280: result: $PROG_SAR" >&5 |
10126 | echo "${ECHO_T}$PROG_SAR" >&6 | 10281 | echo "${ECHO_T}$PROG_SAR" >&6 |
10127 | else | 10282 | else |
10128 | echo "$as_me:10128: result: no" >&5 | 10283 | echo "$as_me:10283: result: no" >&5 |
10129 | echo "${ECHO_T}no" >&6 | 10284 | echo "${ECHO_T}no" >&6 |
10130 | fi | 10285 | fi |
10131 | 10286 | ||
@@ -10135,7 +10290,7 @@ fi | |||
10135 | 10290 | ||
10136 | # Extract the first word of "w", so it can be a program name with args. | 10291 | # Extract the first word of "w", so it can be a program name with args. |
10137 | set dummy w; ac_word=$2 | 10292 | set dummy w; ac_word=$2 |
10138 | echo "$as_me:10138: checking for $ac_word" >&5 | 10293 | echo "$as_me:10293: checking for $ac_word" >&5 |
10139 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10294 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10140 | if test "${ac_cv_path_PROG_W+set}" = set; then | 10295 | if test "${ac_cv_path_PROG_W+set}" = set; then |
10141 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10296 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10152,7 +10307,7 @@ for ac_dir in $ac_dummy; do | |||
10152 | test -z "$ac_dir" && ac_dir=. | 10307 | test -z "$ac_dir" && ac_dir=. |
10153 | if $as_executable_p "$ac_dir/$ac_word"; then | 10308 | if $as_executable_p "$ac_dir/$ac_word"; then |
10154 | ac_cv_path_PROG_W="$ac_dir/$ac_word" | 10309 | ac_cv_path_PROG_W="$ac_dir/$ac_word" |
10155 | echo "$as_me:10155: found $ac_dir/$ac_word" >&5 | 10310 | echo "$as_me:10310: found $ac_dir/$ac_word" >&5 |
10156 | break | 10311 | break |
10157 | fi | 10312 | fi |
10158 | done | 10313 | done |
@@ -10163,10 +10318,10 @@ fi | |||
10163 | PROG_W=$ac_cv_path_PROG_W | 10318 | PROG_W=$ac_cv_path_PROG_W |
10164 | 10319 | ||
10165 | if test -n "$PROG_W"; then | 10320 | if test -n "$PROG_W"; then |
10166 | echo "$as_me:10166: result: $PROG_W" >&5 | 10321 | echo "$as_me:10321: result: $PROG_W" >&5 |
10167 | echo "${ECHO_T}$PROG_W" >&6 | 10322 | echo "${ECHO_T}$PROG_W" >&6 |
10168 | else | 10323 | else |
10169 | echo "$as_me:10169: result: no" >&5 | 10324 | echo "$as_me:10324: result: no" >&5 |
10170 | echo "${ECHO_T}no" >&6 | 10325 | echo "${ECHO_T}no" >&6 |
10171 | fi | 10326 | fi |
10172 | 10327 | ||
@@ -10176,7 +10331,7 @@ fi | |||
10176 | 10331 | ||
10177 | # Extract the first word of "who", so it can be a program name with args. | 10332 | # Extract the first word of "who", so it can be a program name with args. |
10178 | set dummy who; ac_word=$2 | 10333 | set dummy who; ac_word=$2 |
10179 | echo "$as_me:10179: checking for $ac_word" >&5 | 10334 | echo "$as_me:10334: checking for $ac_word" >&5 |
10180 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10335 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10181 | if test "${ac_cv_path_PROG_WHO+set}" = set; then | 10336 | if test "${ac_cv_path_PROG_WHO+set}" = set; then |
10182 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10337 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10193,7 +10348,7 @@ for ac_dir in $ac_dummy; do | |||
10193 | test -z "$ac_dir" && ac_dir=. | 10348 | test -z "$ac_dir" && ac_dir=. |
10194 | if $as_executable_p "$ac_dir/$ac_word"; then | 10349 | if $as_executable_p "$ac_dir/$ac_word"; then |
10195 | ac_cv_path_PROG_WHO="$ac_dir/$ac_word" | 10350 | ac_cv_path_PROG_WHO="$ac_dir/$ac_word" |
10196 | echo "$as_me:10196: found $ac_dir/$ac_word" >&5 | 10351 | echo "$as_me:10351: found $ac_dir/$ac_word" >&5 |
10197 | break | 10352 | break |
10198 | fi | 10353 | fi |
10199 | done | 10354 | done |
@@ -10204,10 +10359,10 @@ fi | |||
10204 | PROG_WHO=$ac_cv_path_PROG_WHO | 10359 | PROG_WHO=$ac_cv_path_PROG_WHO |
10205 | 10360 | ||
10206 | if test -n "$PROG_WHO"; then | 10361 | if test -n "$PROG_WHO"; then |
10207 | echo "$as_me:10207: result: $PROG_WHO" >&5 | 10362 | echo "$as_me:10362: result: $PROG_WHO" >&5 |
10208 | echo "${ECHO_T}$PROG_WHO" >&6 | 10363 | echo "${ECHO_T}$PROG_WHO" >&6 |
10209 | else | 10364 | else |
10210 | echo "$as_me:10210: result: no" >&5 | 10365 | echo "$as_me:10365: result: no" >&5 |
10211 | echo "${ECHO_T}no" >&6 | 10366 | echo "${ECHO_T}no" >&6 |
10212 | fi | 10367 | fi |
10213 | 10368 | ||
@@ -10217,7 +10372,7 @@ fi | |||
10217 | 10372 | ||
10218 | # Extract the first word of "last", so it can be a program name with args. | 10373 | # Extract the first word of "last", so it can be a program name with args. |
10219 | set dummy last; ac_word=$2 | 10374 | set dummy last; ac_word=$2 |
10220 | echo "$as_me:10220: checking for $ac_word" >&5 | 10375 | echo "$as_me:10375: checking for $ac_word" >&5 |
10221 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10376 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10222 | if test "${ac_cv_path_PROG_LAST+set}" = set; then | 10377 | if test "${ac_cv_path_PROG_LAST+set}" = set; then |
10223 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10378 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10234,7 +10389,7 @@ for ac_dir in $ac_dummy; do | |||
10234 | test -z "$ac_dir" && ac_dir=. | 10389 | test -z "$ac_dir" && ac_dir=. |
10235 | if $as_executable_p "$ac_dir/$ac_word"; then | 10390 | if $as_executable_p "$ac_dir/$ac_word"; then |
10236 | ac_cv_path_PROG_LAST="$ac_dir/$ac_word" | 10391 | ac_cv_path_PROG_LAST="$ac_dir/$ac_word" |
10237 | echo "$as_me:10237: found $ac_dir/$ac_word" >&5 | 10392 | echo "$as_me:10392: found $ac_dir/$ac_word" >&5 |
10238 | break | 10393 | break |
10239 | fi | 10394 | fi |
10240 | done | 10395 | done |
@@ -10245,10 +10400,10 @@ fi | |||
10245 | PROG_LAST=$ac_cv_path_PROG_LAST | 10400 | PROG_LAST=$ac_cv_path_PROG_LAST |
10246 | 10401 | ||
10247 | if test -n "$PROG_LAST"; then | 10402 | if test -n "$PROG_LAST"; then |
10248 | echo "$as_me:10248: result: $PROG_LAST" >&5 | 10403 | echo "$as_me:10403: result: $PROG_LAST" >&5 |
10249 | echo "${ECHO_T}$PROG_LAST" >&6 | 10404 | echo "${ECHO_T}$PROG_LAST" >&6 |
10250 | else | 10405 | else |
10251 | echo "$as_me:10251: result: no" >&5 | 10406 | echo "$as_me:10406: result: no" >&5 |
10252 | echo "${ECHO_T}no" >&6 | 10407 | echo "${ECHO_T}no" >&6 |
10253 | fi | 10408 | fi |
10254 | 10409 | ||
@@ -10258,7 +10413,7 @@ fi | |||
10258 | 10413 | ||
10259 | # Extract the first word of "lastlog", so it can be a program name with args. | 10414 | # Extract the first word of "lastlog", so it can be a program name with args. |
10260 | set dummy lastlog; ac_word=$2 | 10415 | set dummy lastlog; ac_word=$2 |
10261 | echo "$as_me:10261: checking for $ac_word" >&5 | 10416 | echo "$as_me:10416: checking for $ac_word" >&5 |
10262 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10417 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10263 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then | 10418 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then |
10264 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10419 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10275,7 +10430,7 @@ for ac_dir in $ac_dummy; do | |||
10275 | test -z "$ac_dir" && ac_dir=. | 10430 | test -z "$ac_dir" && ac_dir=. |
10276 | if $as_executable_p "$ac_dir/$ac_word"; then | 10431 | if $as_executable_p "$ac_dir/$ac_word"; then |
10277 | ac_cv_path_PROG_LASTLOG="$ac_dir/$ac_word" | 10432 | ac_cv_path_PROG_LASTLOG="$ac_dir/$ac_word" |
10278 | echo "$as_me:10278: found $ac_dir/$ac_word" >&5 | 10433 | echo "$as_me:10433: found $ac_dir/$ac_word" >&5 |
10279 | break | 10434 | break |
10280 | fi | 10435 | fi |
10281 | done | 10436 | done |
@@ -10286,10 +10441,10 @@ fi | |||
10286 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG | 10441 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG |
10287 | 10442 | ||
10288 | if test -n "$PROG_LASTLOG"; then | 10443 | if test -n "$PROG_LASTLOG"; then |
10289 | echo "$as_me:10289: result: $PROG_LASTLOG" >&5 | 10444 | echo "$as_me:10444: result: $PROG_LASTLOG" >&5 |
10290 | echo "${ECHO_T}$PROG_LASTLOG" >&6 | 10445 | echo "${ECHO_T}$PROG_LASTLOG" >&6 |
10291 | else | 10446 | else |
10292 | echo "$as_me:10292: result: no" >&5 | 10447 | echo "$as_me:10447: result: no" >&5 |
10293 | echo "${ECHO_T}no" >&6 | 10448 | echo "${ECHO_T}no" >&6 |
10294 | fi | 10449 | fi |
10295 | 10450 | ||
@@ -10299,7 +10454,7 @@ fi | |||
10299 | 10454 | ||
10300 | # Extract the first word of "df", so it can be a program name with args. | 10455 | # Extract the first word of "df", so it can be a program name with args. |
10301 | set dummy df; ac_word=$2 | 10456 | set dummy df; ac_word=$2 |
10302 | echo "$as_me:10302: checking for $ac_word" >&5 | 10457 | echo "$as_me:10457: checking for $ac_word" >&5 |
10303 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10458 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10304 | if test "${ac_cv_path_PROG_DF+set}" = set; then | 10459 | if test "${ac_cv_path_PROG_DF+set}" = set; then |
10305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10460 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10316,7 +10471,7 @@ for ac_dir in $ac_dummy; do | |||
10316 | test -z "$ac_dir" && ac_dir=. | 10471 | test -z "$ac_dir" && ac_dir=. |
10317 | if $as_executable_p "$ac_dir/$ac_word"; then | 10472 | if $as_executable_p "$ac_dir/$ac_word"; then |
10318 | ac_cv_path_PROG_DF="$ac_dir/$ac_word" | 10473 | ac_cv_path_PROG_DF="$ac_dir/$ac_word" |
10319 | echo "$as_me:10319: found $ac_dir/$ac_word" >&5 | 10474 | echo "$as_me:10474: found $ac_dir/$ac_word" >&5 |
10320 | break | 10475 | break |
10321 | fi | 10476 | fi |
10322 | done | 10477 | done |
@@ -10327,10 +10482,10 @@ fi | |||
10327 | PROG_DF=$ac_cv_path_PROG_DF | 10482 | PROG_DF=$ac_cv_path_PROG_DF |
10328 | 10483 | ||
10329 | if test -n "$PROG_DF"; then | 10484 | if test -n "$PROG_DF"; then |
10330 | echo "$as_me:10330: result: $PROG_DF" >&5 | 10485 | echo "$as_me:10485: result: $PROG_DF" >&5 |
10331 | echo "${ECHO_T}$PROG_DF" >&6 | 10486 | echo "${ECHO_T}$PROG_DF" >&6 |
10332 | else | 10487 | else |
10333 | echo "$as_me:10333: result: no" >&5 | 10488 | echo "$as_me:10488: result: no" >&5 |
10334 | echo "${ECHO_T}no" >&6 | 10489 | echo "${ECHO_T}no" >&6 |
10335 | fi | 10490 | fi |
10336 | 10491 | ||
@@ -10340,7 +10495,7 @@ fi | |||
10340 | 10495 | ||
10341 | # Extract the first word of "vmstat", so it can be a program name with args. | 10496 | # Extract the first word of "vmstat", so it can be a program name with args. |
10342 | set dummy vmstat; ac_word=$2 | 10497 | set dummy vmstat; ac_word=$2 |
10343 | echo "$as_me:10343: checking for $ac_word" >&5 | 10498 | echo "$as_me:10498: checking for $ac_word" >&5 |
10344 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10499 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10345 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then | 10500 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then |
10346 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10501 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10357,7 +10512,7 @@ for ac_dir in $ac_dummy; do | |||
10357 | test -z "$ac_dir" && ac_dir=. | 10512 | test -z "$ac_dir" && ac_dir=. |
10358 | if $as_executable_p "$ac_dir/$ac_word"; then | 10513 | if $as_executable_p "$ac_dir/$ac_word"; then |
10359 | ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word" | 10514 | ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word" |
10360 | echo "$as_me:10360: found $ac_dir/$ac_word" >&5 | 10515 | echo "$as_me:10515: found $ac_dir/$ac_word" >&5 |
10361 | break | 10516 | break |
10362 | fi | 10517 | fi |
10363 | done | 10518 | done |
@@ -10368,10 +10523,10 @@ fi | |||
10368 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT | 10523 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT |
10369 | 10524 | ||
10370 | if test -n "$PROG_VMSTAT"; then | 10525 | if test -n "$PROG_VMSTAT"; then |
10371 | echo "$as_me:10371: result: $PROG_VMSTAT" >&5 | 10526 | echo "$as_me:10526: result: $PROG_VMSTAT" >&5 |
10372 | echo "${ECHO_T}$PROG_VMSTAT" >&6 | 10527 | echo "${ECHO_T}$PROG_VMSTAT" >&6 |
10373 | else | 10528 | else |
10374 | echo "$as_me:10374: result: no" >&5 | 10529 | echo "$as_me:10529: result: no" >&5 |
10375 | echo "${ECHO_T}no" >&6 | 10530 | echo "${ECHO_T}no" >&6 |
10376 | fi | 10531 | fi |
10377 | 10532 | ||
@@ -10381,7 +10536,7 @@ fi | |||
10381 | 10536 | ||
10382 | # Extract the first word of "uptime", so it can be a program name with args. | 10537 | # Extract the first word of "uptime", so it can be a program name with args. |
10383 | set dummy uptime; ac_word=$2 | 10538 | set dummy uptime; ac_word=$2 |
10384 | echo "$as_me:10384: checking for $ac_word" >&5 | 10539 | echo "$as_me:10539: checking for $ac_word" >&5 |
10385 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10540 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10386 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then | 10541 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then |
10387 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10542 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10398,7 +10553,7 @@ for ac_dir in $ac_dummy; do | |||
10398 | test -z "$ac_dir" && ac_dir=. | 10553 | test -z "$ac_dir" && ac_dir=. |
10399 | if $as_executable_p "$ac_dir/$ac_word"; then | 10554 | if $as_executable_p "$ac_dir/$ac_word"; then |
10400 | ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word" | 10555 | ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word" |
10401 | echo "$as_me:10401: found $ac_dir/$ac_word" >&5 | 10556 | echo "$as_me:10556: found $ac_dir/$ac_word" >&5 |
10402 | break | 10557 | break |
10403 | fi | 10558 | fi |
10404 | done | 10559 | done |
@@ -10409,10 +10564,10 @@ fi | |||
10409 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME | 10564 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME |
10410 | 10565 | ||
10411 | if test -n "$PROG_UPTIME"; then | 10566 | if test -n "$PROG_UPTIME"; then |
10412 | echo "$as_me:10412: result: $PROG_UPTIME" >&5 | 10567 | echo "$as_me:10567: result: $PROG_UPTIME" >&5 |
10413 | echo "${ECHO_T}$PROG_UPTIME" >&6 | 10568 | echo "${ECHO_T}$PROG_UPTIME" >&6 |
10414 | else | 10569 | else |
10415 | echo "$as_me:10415: result: no" >&5 | 10570 | echo "$as_me:10570: result: no" >&5 |
10416 | echo "${ECHO_T}no" >&6 | 10571 | echo "${ECHO_T}no" >&6 |
10417 | fi | 10572 | fi |
10418 | 10573 | ||
@@ -10422,7 +10577,7 @@ fi | |||
10422 | 10577 | ||
10423 | # Extract the first word of "ipcs", so it can be a program name with args. | 10578 | # Extract the first word of "ipcs", so it can be a program name with args. |
10424 | set dummy ipcs; ac_word=$2 | 10579 | set dummy ipcs; ac_word=$2 |
10425 | echo "$as_me:10425: checking for $ac_word" >&5 | 10580 | echo "$as_me:10580: checking for $ac_word" >&5 |
10426 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10581 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10427 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then | 10582 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then |
10428 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10583 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10439,7 +10594,7 @@ for ac_dir in $ac_dummy; do | |||
10439 | test -z "$ac_dir" && ac_dir=. | 10594 | test -z "$ac_dir" && ac_dir=. |
10440 | if $as_executable_p "$ac_dir/$ac_word"; then | 10595 | if $as_executable_p "$ac_dir/$ac_word"; then |
10441 | ac_cv_path_PROG_IPCS="$ac_dir/$ac_word" | 10596 | ac_cv_path_PROG_IPCS="$ac_dir/$ac_word" |
10442 | echo "$as_me:10442: found $ac_dir/$ac_word" >&5 | 10597 | echo "$as_me:10597: found $ac_dir/$ac_word" >&5 |
10443 | break | 10598 | break |
10444 | fi | 10599 | fi |
10445 | done | 10600 | done |
@@ -10450,10 +10605,10 @@ fi | |||
10450 | PROG_IPCS=$ac_cv_path_PROG_IPCS | 10605 | PROG_IPCS=$ac_cv_path_PROG_IPCS |
10451 | 10606 | ||
10452 | if test -n "$PROG_IPCS"; then | 10607 | if test -n "$PROG_IPCS"; then |
10453 | echo "$as_me:10453: result: $PROG_IPCS" >&5 | 10608 | echo "$as_me:10608: result: $PROG_IPCS" >&5 |
10454 | echo "${ECHO_T}$PROG_IPCS" >&6 | 10609 | echo "${ECHO_T}$PROG_IPCS" >&6 |
10455 | else | 10610 | else |
10456 | echo "$as_me:10456: result: no" >&5 | 10611 | echo "$as_me:10611: result: no" >&5 |
10457 | echo "${ECHO_T}no" >&6 | 10612 | echo "${ECHO_T}no" >&6 |
10458 | fi | 10613 | fi |
10459 | 10614 | ||
@@ -10463,7 +10618,7 @@ fi | |||
10463 | 10618 | ||
10464 | # Extract the first word of "tail", so it can be a program name with args. | 10619 | # Extract the first word of "tail", so it can be a program name with args. |
10465 | set dummy tail; ac_word=$2 | 10620 | set dummy tail; ac_word=$2 |
10466 | echo "$as_me:10466: checking for $ac_word" >&5 | 10621 | echo "$as_me:10621: checking for $ac_word" >&5 |
10467 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10622 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10468 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then | 10623 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then |
10469 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10624 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10480,7 +10635,7 @@ for ac_dir in $ac_dummy; do | |||
10480 | test -z "$ac_dir" && ac_dir=. | 10635 | test -z "$ac_dir" && ac_dir=. |
10481 | if $as_executable_p "$ac_dir/$ac_word"; then | 10636 | if $as_executable_p "$ac_dir/$ac_word"; then |
10482 | ac_cv_path_PROG_TAIL="$ac_dir/$ac_word" | 10637 | ac_cv_path_PROG_TAIL="$ac_dir/$ac_word" |
10483 | echo "$as_me:10483: found $ac_dir/$ac_word" >&5 | 10638 | echo "$as_me:10638: found $ac_dir/$ac_word" >&5 |
10484 | break | 10639 | break |
10485 | fi | 10640 | fi |
10486 | done | 10641 | done |
@@ -10491,10 +10646,10 @@ fi | |||
10491 | PROG_TAIL=$ac_cv_path_PROG_TAIL | 10646 | PROG_TAIL=$ac_cv_path_PROG_TAIL |
10492 | 10647 | ||
10493 | if test -n "$PROG_TAIL"; then | 10648 | if test -n "$PROG_TAIL"; then |
10494 | echo "$as_me:10494: result: $PROG_TAIL" >&5 | 10649 | echo "$as_me:10649: result: $PROG_TAIL" >&5 |
10495 | echo "${ECHO_T}$PROG_TAIL" >&6 | 10650 | echo "${ECHO_T}$PROG_TAIL" >&6 |
10496 | else | 10651 | else |
10497 | echo "$as_me:10497: result: no" >&5 | 10652 | echo "$as_me:10652: result: no" >&5 |
10498 | echo "${ECHO_T}no" >&6 | 10653 | echo "${ECHO_T}no" >&6 |
10499 | fi | 10654 | fi |
10500 | 10655 | ||
@@ -10525,13 +10680,13 @@ if test ! -z "$SONY" ; then | |||
10525 | fi | 10680 | fi |
10526 | 10681 | ||
10527 | # Checks for data types | 10682 | # Checks for data types |
10528 | echo "$as_me:10528: checking for char" >&5 | 10683 | echo "$as_me:10683: checking for char" >&5 |
10529 | echo $ECHO_N "checking for char... $ECHO_C" >&6 | 10684 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
10530 | if test "${ac_cv_type_char+set}" = set; then | 10685 | if test "${ac_cv_type_char+set}" = set; then |
10531 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10686 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10532 | else | 10687 | else |
10533 | cat >conftest.$ac_ext <<_ACEOF | 10688 | cat >conftest.$ac_ext <<_ACEOF |
10534 | #line 10534 "configure" | 10689 | #line 10689 "configure" |
10535 | #include "confdefs.h" | 10690 | #include "confdefs.h" |
10536 | $ac_includes_default | 10691 | $ac_includes_default |
10537 | int | 10692 | int |
@@ -10546,16 +10701,16 @@ if (sizeof (char)) | |||
10546 | } | 10701 | } |
10547 | _ACEOF | 10702 | _ACEOF |
10548 | rm -f conftest.$ac_objext | 10703 | rm -f conftest.$ac_objext |
10549 | if { (eval echo "$as_me:10549: \"$ac_compile\"") >&5 | 10704 | if { (eval echo "$as_me:10704: \"$ac_compile\"") >&5 |
10550 | (eval $ac_compile) 2>&5 | 10705 | (eval $ac_compile) 2>&5 |
10551 | ac_status=$? | 10706 | ac_status=$? |
10552 | echo "$as_me:10552: \$? = $ac_status" >&5 | 10707 | echo "$as_me:10707: \$? = $ac_status" >&5 |
10553 | (exit $ac_status); } && | 10708 | (exit $ac_status); } && |
10554 | { ac_try='test -s conftest.$ac_objext' | 10709 | { ac_try='test -s conftest.$ac_objext' |
10555 | { (eval echo "$as_me:10555: \"$ac_try\"") >&5 | 10710 | { (eval echo "$as_me:10710: \"$ac_try\"") >&5 |
10556 | (eval $ac_try) 2>&5 | 10711 | (eval $ac_try) 2>&5 |
10557 | ac_status=$? | 10712 | ac_status=$? |
10558 | echo "$as_me:10558: \$? = $ac_status" >&5 | 10713 | echo "$as_me:10713: \$? = $ac_status" >&5 |
10559 | (exit $ac_status); }; }; then | 10714 | (exit $ac_status); }; }; then |
10560 | ac_cv_type_char=yes | 10715 | ac_cv_type_char=yes |
10561 | else | 10716 | else |
@@ -10565,10 +10720,10 @@ ac_cv_type_char=no | |||
10565 | fi | 10720 | fi |
10566 | rm -f conftest.$ac_objext conftest.$ac_ext | 10721 | rm -f conftest.$ac_objext conftest.$ac_ext |
10567 | fi | 10722 | fi |
10568 | echo "$as_me:10568: result: $ac_cv_type_char" >&5 | 10723 | echo "$as_me:10723: result: $ac_cv_type_char" >&5 |
10569 | echo "${ECHO_T}$ac_cv_type_char" >&6 | 10724 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
10570 | 10725 | ||
10571 | echo "$as_me:10571: checking size of char" >&5 | 10726 | echo "$as_me:10726: checking size of char" >&5 |
10572 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 | 10727 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
10573 | if test "${ac_cv_sizeof_char+set}" = set; then | 10728 | if test "${ac_cv_sizeof_char+set}" = set; then |
10574 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10729 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10577,7 +10732,7 @@ else | |||
10577 | if test "$cross_compiling" = yes; then | 10732 | if test "$cross_compiling" = yes; then |
10578 | # Depending upon the size, compute the lo and hi bounds. | 10733 | # Depending upon the size, compute the lo and hi bounds. |
10579 | cat >conftest.$ac_ext <<_ACEOF | 10734 | cat >conftest.$ac_ext <<_ACEOF |
10580 | #line 10580 "configure" | 10735 | #line 10735 "configure" |
10581 | #include "confdefs.h" | 10736 | #include "confdefs.h" |
10582 | $ac_includes_default | 10737 | $ac_includes_default |
10583 | int | 10738 | int |
@@ -10589,21 +10744,21 @@ int _array_ [1 - 2 * !((sizeof (char)) >= 0)] | |||
10589 | } | 10744 | } |
10590 | _ACEOF | 10745 | _ACEOF |
10591 | rm -f conftest.$ac_objext | 10746 | rm -f conftest.$ac_objext |
10592 | if { (eval echo "$as_me:10592: \"$ac_compile\"") >&5 | 10747 | if { (eval echo "$as_me:10747: \"$ac_compile\"") >&5 |
10593 | (eval $ac_compile) 2>&5 | 10748 | (eval $ac_compile) 2>&5 |
10594 | ac_status=$? | 10749 | ac_status=$? |
10595 | echo "$as_me:10595: \$? = $ac_status" >&5 | 10750 | echo "$as_me:10750: \$? = $ac_status" >&5 |
10596 | (exit $ac_status); } && | 10751 | (exit $ac_status); } && |
10597 | { ac_try='test -s conftest.$ac_objext' | 10752 | { ac_try='test -s conftest.$ac_objext' |
10598 | { (eval echo "$as_me:10598: \"$ac_try\"") >&5 | 10753 | { (eval echo "$as_me:10753: \"$ac_try\"") >&5 |
10599 | (eval $ac_try) 2>&5 | 10754 | (eval $ac_try) 2>&5 |
10600 | ac_status=$? | 10755 | ac_status=$? |
10601 | echo "$as_me:10601: \$? = $ac_status" >&5 | 10756 | echo "$as_me:10756: \$? = $ac_status" >&5 |
10602 | (exit $ac_status); }; }; then | 10757 | (exit $ac_status); }; }; then |
10603 | ac_lo=0 ac_mid=0 | 10758 | ac_lo=0 ac_mid=0 |
10604 | while :; do | 10759 | while :; do |
10605 | cat >conftest.$ac_ext <<_ACEOF | 10760 | cat >conftest.$ac_ext <<_ACEOF |
10606 | #line 10606 "configure" | 10761 | #line 10761 "configure" |
10607 | #include "confdefs.h" | 10762 | #include "confdefs.h" |
10608 | $ac_includes_default | 10763 | $ac_includes_default |
10609 | int | 10764 | int |
@@ -10615,16 +10770,16 @@ int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] | |||
10615 | } | 10770 | } |
10616 | _ACEOF | 10771 | _ACEOF |
10617 | rm -f conftest.$ac_objext | 10772 | rm -f conftest.$ac_objext |
10618 | if { (eval echo "$as_me:10618: \"$ac_compile\"") >&5 | 10773 | if { (eval echo "$as_me:10773: \"$ac_compile\"") >&5 |
10619 | (eval $ac_compile) 2>&5 | 10774 | (eval $ac_compile) 2>&5 |
10620 | ac_status=$? | 10775 | ac_status=$? |
10621 | echo "$as_me:10621: \$? = $ac_status" >&5 | 10776 | echo "$as_me:10776: \$? = $ac_status" >&5 |
10622 | (exit $ac_status); } && | 10777 | (exit $ac_status); } && |
10623 | { ac_try='test -s conftest.$ac_objext' | 10778 | { ac_try='test -s conftest.$ac_objext' |
10624 | { (eval echo "$as_me:10624: \"$ac_try\"") >&5 | 10779 | { (eval echo "$as_me:10779: \"$ac_try\"") >&5 |
10625 | (eval $ac_try) 2>&5 | 10780 | (eval $ac_try) 2>&5 |
10626 | ac_status=$? | 10781 | ac_status=$? |
10627 | echo "$as_me:10627: \$? = $ac_status" >&5 | 10782 | echo "$as_me:10782: \$? = $ac_status" >&5 |
10628 | (exit $ac_status); }; }; then | 10783 | (exit $ac_status); }; }; then |
10629 | ac_hi=$ac_mid; break | 10784 | ac_hi=$ac_mid; break |
10630 | else | 10785 | else |
@@ -10640,7 +10795,7 @@ cat conftest.$ac_ext >&5 | |||
10640 | ac_hi=-1 ac_mid=-1 | 10795 | ac_hi=-1 ac_mid=-1 |
10641 | while :; do | 10796 | while :; do |
10642 | cat >conftest.$ac_ext <<_ACEOF | 10797 | cat >conftest.$ac_ext <<_ACEOF |
10643 | #line 10643 "configure" | 10798 | #line 10798 "configure" |
10644 | #include "confdefs.h" | 10799 | #include "confdefs.h" |
10645 | $ac_includes_default | 10800 | $ac_includes_default |
10646 | int | 10801 | int |
@@ -10652,16 +10807,16 @@ int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)] | |||
10652 | } | 10807 | } |
10653 | _ACEOF | 10808 | _ACEOF |
10654 | rm -f conftest.$ac_objext | 10809 | rm -f conftest.$ac_objext |
10655 | if { (eval echo "$as_me:10655: \"$ac_compile\"") >&5 | 10810 | if { (eval echo "$as_me:10810: \"$ac_compile\"") >&5 |
10656 | (eval $ac_compile) 2>&5 | 10811 | (eval $ac_compile) 2>&5 |
10657 | ac_status=$? | 10812 | ac_status=$? |
10658 | echo "$as_me:10658: \$? = $ac_status" >&5 | 10813 | echo "$as_me:10813: \$? = $ac_status" >&5 |
10659 | (exit $ac_status); } && | 10814 | (exit $ac_status); } && |
10660 | { ac_try='test -s conftest.$ac_objext' | 10815 | { ac_try='test -s conftest.$ac_objext' |
10661 | { (eval echo "$as_me:10661: \"$ac_try\"") >&5 | 10816 | { (eval echo "$as_me:10816: \"$ac_try\"") >&5 |
10662 | (eval $ac_try) 2>&5 | 10817 | (eval $ac_try) 2>&5 |
10663 | ac_status=$? | 10818 | ac_status=$? |
10664 | echo "$as_me:10664: \$? = $ac_status" >&5 | 10819 | echo "$as_me:10819: \$? = $ac_status" >&5 |
10665 | (exit $ac_status); }; }; then | 10820 | (exit $ac_status); }; }; then |
10666 | ac_lo=$ac_mid; break | 10821 | ac_lo=$ac_mid; break |
10667 | else | 10822 | else |
@@ -10677,7 +10832,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
10677 | while test "x$ac_lo" != "x$ac_hi"; do | 10832 | while test "x$ac_lo" != "x$ac_hi"; do |
10678 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 10833 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
10679 | cat >conftest.$ac_ext <<_ACEOF | 10834 | cat >conftest.$ac_ext <<_ACEOF |
10680 | #line 10680 "configure" | 10835 | #line 10835 "configure" |
10681 | #include "confdefs.h" | 10836 | #include "confdefs.h" |
10682 | $ac_includes_default | 10837 | $ac_includes_default |
10683 | int | 10838 | int |
@@ -10689,16 +10844,16 @@ int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] | |||
10689 | } | 10844 | } |
10690 | _ACEOF | 10845 | _ACEOF |
10691 | rm -f conftest.$ac_objext | 10846 | rm -f conftest.$ac_objext |
10692 | if { (eval echo "$as_me:10692: \"$ac_compile\"") >&5 | 10847 | if { (eval echo "$as_me:10847: \"$ac_compile\"") >&5 |
10693 | (eval $ac_compile) 2>&5 | 10848 | (eval $ac_compile) 2>&5 |
10694 | ac_status=$? | 10849 | ac_status=$? |
10695 | echo "$as_me:10695: \$? = $ac_status" >&5 | 10850 | echo "$as_me:10850: \$? = $ac_status" >&5 |
10696 | (exit $ac_status); } && | 10851 | (exit $ac_status); } && |
10697 | { ac_try='test -s conftest.$ac_objext' | 10852 | { ac_try='test -s conftest.$ac_objext' |
10698 | { (eval echo "$as_me:10698: \"$ac_try\"") >&5 | 10853 | { (eval echo "$as_me:10853: \"$ac_try\"") >&5 |
10699 | (eval $ac_try) 2>&5 | 10854 | (eval $ac_try) 2>&5 |
10700 | ac_status=$? | 10855 | ac_status=$? |
10701 | echo "$as_me:10701: \$? = $ac_status" >&5 | 10856 | echo "$as_me:10856: \$? = $ac_status" >&5 |
10702 | (exit $ac_status); }; }; then | 10857 | (exit $ac_status); }; }; then |
10703 | ac_hi=$ac_mid | 10858 | ac_hi=$ac_mid |
10704 | else | 10859 | else |
@@ -10711,12 +10866,12 @@ done | |||
10711 | ac_cv_sizeof_char=$ac_lo | 10866 | ac_cv_sizeof_char=$ac_lo |
10712 | else | 10867 | else |
10713 | if test "$cross_compiling" = yes; then | 10868 | if test "$cross_compiling" = yes; then |
10714 | { { echo "$as_me:10714: error: cannot run test program while cross compiling" >&5 | 10869 | { { echo "$as_me:10869: error: cannot run test program while cross compiling" >&5 |
10715 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 10870 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
10716 | { (exit 1); exit 1; }; } | 10871 | { (exit 1); exit 1; }; } |
10717 | else | 10872 | else |
10718 | cat >conftest.$ac_ext <<_ACEOF | 10873 | cat >conftest.$ac_ext <<_ACEOF |
10719 | #line 10719 "configure" | 10874 | #line 10874 "configure" |
10720 | #include "confdefs.h" | 10875 | #include "confdefs.h" |
10721 | $ac_includes_default | 10876 | $ac_includes_default |
10722 | int | 10877 | int |
@@ -10732,15 +10887,15 @@ fclose (f); | |||
10732 | } | 10887 | } |
10733 | _ACEOF | 10888 | _ACEOF |
10734 | rm -f conftest$ac_exeext | 10889 | rm -f conftest$ac_exeext |
10735 | if { (eval echo "$as_me:10735: \"$ac_link\"") >&5 | 10890 | if { (eval echo "$as_me:10890: \"$ac_link\"") >&5 |
10736 | (eval $ac_link) 2>&5 | 10891 | (eval $ac_link) 2>&5 |
10737 | ac_status=$? | 10892 | ac_status=$? |
10738 | echo "$as_me:10738: \$? = $ac_status" >&5 | 10893 | echo "$as_me:10893: \$? = $ac_status" >&5 |
10739 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 10894 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10740 | { (eval echo "$as_me:10740: \"$ac_try\"") >&5 | 10895 | { (eval echo "$as_me:10895: \"$ac_try\"") >&5 |
10741 | (eval $ac_try) 2>&5 | 10896 | (eval $ac_try) 2>&5 |
10742 | ac_status=$? | 10897 | ac_status=$? |
10743 | echo "$as_me:10743: \$? = $ac_status" >&5 | 10898 | echo "$as_me:10898: \$? = $ac_status" >&5 |
10744 | (exit $ac_status); }; }; then | 10899 | (exit $ac_status); }; }; then |
10745 | ac_cv_sizeof_char=`cat conftest.val` | 10900 | ac_cv_sizeof_char=`cat conftest.val` |
10746 | else | 10901 | else |
@@ -10756,19 +10911,19 @@ else | |||
10756 | ac_cv_sizeof_char=0 | 10911 | ac_cv_sizeof_char=0 |
10757 | fi | 10912 | fi |
10758 | fi | 10913 | fi |
10759 | echo "$as_me:10759: result: $ac_cv_sizeof_char" >&5 | 10914 | echo "$as_me:10914: result: $ac_cv_sizeof_char" >&5 |
10760 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 | 10915 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
10761 | cat >>confdefs.h <<EOF | 10916 | cat >>confdefs.h <<EOF |
10762 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 10917 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
10763 | EOF | 10918 | EOF |
10764 | 10919 | ||
10765 | echo "$as_me:10765: checking for short int" >&5 | 10920 | echo "$as_me:10920: checking for short int" >&5 |
10766 | echo $ECHO_N "checking for short int... $ECHO_C" >&6 | 10921 | echo $ECHO_N "checking for short int... $ECHO_C" >&6 |
10767 | if test "${ac_cv_type_short_int+set}" = set; then | 10922 | if test "${ac_cv_type_short_int+set}" = set; then |
10768 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10923 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10769 | else | 10924 | else |
10770 | cat >conftest.$ac_ext <<_ACEOF | 10925 | cat >conftest.$ac_ext <<_ACEOF |
10771 | #line 10771 "configure" | 10926 | #line 10926 "configure" |
10772 | #include "confdefs.h" | 10927 | #include "confdefs.h" |
10773 | $ac_includes_default | 10928 | $ac_includes_default |
10774 | int | 10929 | int |
@@ -10783,16 +10938,16 @@ if (sizeof (short int)) | |||
10783 | } | 10938 | } |
10784 | _ACEOF | 10939 | _ACEOF |
10785 | rm -f conftest.$ac_objext | 10940 | rm -f conftest.$ac_objext |
10786 | if { (eval echo "$as_me:10786: \"$ac_compile\"") >&5 | 10941 | if { (eval echo "$as_me:10941: \"$ac_compile\"") >&5 |
10787 | (eval $ac_compile) 2>&5 | 10942 | (eval $ac_compile) 2>&5 |
10788 | ac_status=$? | 10943 | ac_status=$? |
10789 | echo "$as_me:10789: \$? = $ac_status" >&5 | 10944 | echo "$as_me:10944: \$? = $ac_status" >&5 |
10790 | (exit $ac_status); } && | 10945 | (exit $ac_status); } && |
10791 | { ac_try='test -s conftest.$ac_objext' | 10946 | { ac_try='test -s conftest.$ac_objext' |
10792 | { (eval echo "$as_me:10792: \"$ac_try\"") >&5 | 10947 | { (eval echo "$as_me:10947: \"$ac_try\"") >&5 |
10793 | (eval $ac_try) 2>&5 | 10948 | (eval $ac_try) 2>&5 |
10794 | ac_status=$? | 10949 | ac_status=$? |
10795 | echo "$as_me:10795: \$? = $ac_status" >&5 | 10950 | echo "$as_me:10950: \$? = $ac_status" >&5 |
10796 | (exit $ac_status); }; }; then | 10951 | (exit $ac_status); }; }; then |
10797 | ac_cv_type_short_int=yes | 10952 | ac_cv_type_short_int=yes |
10798 | else | 10953 | else |
@@ -10802,10 +10957,10 @@ ac_cv_type_short_int=no | |||
10802 | fi | 10957 | fi |
10803 | rm -f conftest.$ac_objext conftest.$ac_ext | 10958 | rm -f conftest.$ac_objext conftest.$ac_ext |
10804 | fi | 10959 | fi |
10805 | echo "$as_me:10805: result: $ac_cv_type_short_int" >&5 | 10960 | echo "$as_me:10960: result: $ac_cv_type_short_int" >&5 |
10806 | echo "${ECHO_T}$ac_cv_type_short_int" >&6 | 10961 | echo "${ECHO_T}$ac_cv_type_short_int" >&6 |
10807 | 10962 | ||
10808 | echo "$as_me:10808: checking size of short int" >&5 | 10963 | echo "$as_me:10963: checking size of short int" >&5 |
10809 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6 | 10964 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6 |
10810 | if test "${ac_cv_sizeof_short_int+set}" = set; then | 10965 | if test "${ac_cv_sizeof_short_int+set}" = set; then |
10811 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10814,7 +10969,7 @@ else | |||
10814 | if test "$cross_compiling" = yes; then | 10969 | if test "$cross_compiling" = yes; then |
10815 | # Depending upon the size, compute the lo and hi bounds. | 10970 | # Depending upon the size, compute the lo and hi bounds. |
10816 | cat >conftest.$ac_ext <<_ACEOF | 10971 | cat >conftest.$ac_ext <<_ACEOF |
10817 | #line 10817 "configure" | 10972 | #line 10972 "configure" |
10818 | #include "confdefs.h" | 10973 | #include "confdefs.h" |
10819 | $ac_includes_default | 10974 | $ac_includes_default |
10820 | int | 10975 | int |
@@ -10826,21 +10981,21 @@ int _array_ [1 - 2 * !((sizeof (short int)) >= 0)] | |||
10826 | } | 10981 | } |
10827 | _ACEOF | 10982 | _ACEOF |
10828 | rm -f conftest.$ac_objext | 10983 | rm -f conftest.$ac_objext |
10829 | if { (eval echo "$as_me:10829: \"$ac_compile\"") >&5 | 10984 | if { (eval echo "$as_me:10984: \"$ac_compile\"") >&5 |
10830 | (eval $ac_compile) 2>&5 | 10985 | (eval $ac_compile) 2>&5 |
10831 | ac_status=$? | 10986 | ac_status=$? |
10832 | echo "$as_me:10832: \$? = $ac_status" >&5 | 10987 | echo "$as_me:10987: \$? = $ac_status" >&5 |
10833 | (exit $ac_status); } && | 10988 | (exit $ac_status); } && |
10834 | { ac_try='test -s conftest.$ac_objext' | 10989 | { ac_try='test -s conftest.$ac_objext' |
10835 | { (eval echo "$as_me:10835: \"$ac_try\"") >&5 | 10990 | { (eval echo "$as_me:10990: \"$ac_try\"") >&5 |
10836 | (eval $ac_try) 2>&5 | 10991 | (eval $ac_try) 2>&5 |
10837 | ac_status=$? | 10992 | ac_status=$? |
10838 | echo "$as_me:10838: \$? = $ac_status" >&5 | 10993 | echo "$as_me:10993: \$? = $ac_status" >&5 |
10839 | (exit $ac_status); }; }; then | 10994 | (exit $ac_status); }; }; then |
10840 | ac_lo=0 ac_mid=0 | 10995 | ac_lo=0 ac_mid=0 |
10841 | while :; do | 10996 | while :; do |
10842 | cat >conftest.$ac_ext <<_ACEOF | 10997 | cat >conftest.$ac_ext <<_ACEOF |
10843 | #line 10843 "configure" | 10998 | #line 10998 "configure" |
10844 | #include "confdefs.h" | 10999 | #include "confdefs.h" |
10845 | $ac_includes_default | 11000 | $ac_includes_default |
10846 | int | 11001 | int |
@@ -10852,16 +11007,16 @@ int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)] | |||
10852 | } | 11007 | } |
10853 | _ACEOF | 11008 | _ACEOF |
10854 | rm -f conftest.$ac_objext | 11009 | rm -f conftest.$ac_objext |
10855 | if { (eval echo "$as_me:10855: \"$ac_compile\"") >&5 | 11010 | if { (eval echo "$as_me:11010: \"$ac_compile\"") >&5 |
10856 | (eval $ac_compile) 2>&5 | 11011 | (eval $ac_compile) 2>&5 |
10857 | ac_status=$? | 11012 | ac_status=$? |
10858 | echo "$as_me:10858: \$? = $ac_status" >&5 | 11013 | echo "$as_me:11013: \$? = $ac_status" >&5 |
10859 | (exit $ac_status); } && | 11014 | (exit $ac_status); } && |
10860 | { ac_try='test -s conftest.$ac_objext' | 11015 | { ac_try='test -s conftest.$ac_objext' |
10861 | { (eval echo "$as_me:10861: \"$ac_try\"") >&5 | 11016 | { (eval echo "$as_me:11016: \"$ac_try\"") >&5 |
10862 | (eval $ac_try) 2>&5 | 11017 | (eval $ac_try) 2>&5 |
10863 | ac_status=$? | 11018 | ac_status=$? |
10864 | echo "$as_me:10864: \$? = $ac_status" >&5 | 11019 | echo "$as_me:11019: \$? = $ac_status" >&5 |
10865 | (exit $ac_status); }; }; then | 11020 | (exit $ac_status); }; }; then |
10866 | ac_hi=$ac_mid; break | 11021 | ac_hi=$ac_mid; break |
10867 | else | 11022 | else |
@@ -10877,7 +11032,7 @@ cat conftest.$ac_ext >&5 | |||
10877 | ac_hi=-1 ac_mid=-1 | 11032 | ac_hi=-1 ac_mid=-1 |
10878 | while :; do | 11033 | while :; do |
10879 | cat >conftest.$ac_ext <<_ACEOF | 11034 | cat >conftest.$ac_ext <<_ACEOF |
10880 | #line 10880 "configure" | 11035 | #line 11035 "configure" |
10881 | #include "confdefs.h" | 11036 | #include "confdefs.h" |
10882 | $ac_includes_default | 11037 | $ac_includes_default |
10883 | int | 11038 | int |
@@ -10889,16 +11044,16 @@ int _array_ [1 - 2 * !((sizeof (short int)) >= $ac_mid)] | |||
10889 | } | 11044 | } |
10890 | _ACEOF | 11045 | _ACEOF |
10891 | rm -f conftest.$ac_objext | 11046 | rm -f conftest.$ac_objext |
10892 | if { (eval echo "$as_me:10892: \"$ac_compile\"") >&5 | 11047 | if { (eval echo "$as_me:11047: \"$ac_compile\"") >&5 |
10893 | (eval $ac_compile) 2>&5 | 11048 | (eval $ac_compile) 2>&5 |
10894 | ac_status=$? | 11049 | ac_status=$? |
10895 | echo "$as_me:10895: \$? = $ac_status" >&5 | 11050 | echo "$as_me:11050: \$? = $ac_status" >&5 |
10896 | (exit $ac_status); } && | 11051 | (exit $ac_status); } && |
10897 | { ac_try='test -s conftest.$ac_objext' | 11052 | { ac_try='test -s conftest.$ac_objext' |
10898 | { (eval echo "$as_me:10898: \"$ac_try\"") >&5 | 11053 | { (eval echo "$as_me:11053: \"$ac_try\"") >&5 |
10899 | (eval $ac_try) 2>&5 | 11054 | (eval $ac_try) 2>&5 |
10900 | ac_status=$? | 11055 | ac_status=$? |
10901 | echo "$as_me:10901: \$? = $ac_status" >&5 | 11056 | echo "$as_me:11056: \$? = $ac_status" >&5 |
10902 | (exit $ac_status); }; }; then | 11057 | (exit $ac_status); }; }; then |
10903 | ac_lo=$ac_mid; break | 11058 | ac_lo=$ac_mid; break |
10904 | else | 11059 | else |
@@ -10914,7 +11069,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
10914 | while test "x$ac_lo" != "x$ac_hi"; do | 11069 | while test "x$ac_lo" != "x$ac_hi"; do |
10915 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 11070 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
10916 | cat >conftest.$ac_ext <<_ACEOF | 11071 | cat >conftest.$ac_ext <<_ACEOF |
10917 | #line 10917 "configure" | 11072 | #line 11072 "configure" |
10918 | #include "confdefs.h" | 11073 | #include "confdefs.h" |
10919 | $ac_includes_default | 11074 | $ac_includes_default |
10920 | int | 11075 | int |
@@ -10926,16 +11081,16 @@ int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)] | |||
10926 | } | 11081 | } |
10927 | _ACEOF | 11082 | _ACEOF |
10928 | rm -f conftest.$ac_objext | 11083 | rm -f conftest.$ac_objext |
10929 | if { (eval echo "$as_me:10929: \"$ac_compile\"") >&5 | 11084 | if { (eval echo "$as_me:11084: \"$ac_compile\"") >&5 |
10930 | (eval $ac_compile) 2>&5 | 11085 | (eval $ac_compile) 2>&5 |
10931 | ac_status=$? | 11086 | ac_status=$? |
10932 | echo "$as_me:10932: \$? = $ac_status" >&5 | 11087 | echo "$as_me:11087: \$? = $ac_status" >&5 |
10933 | (exit $ac_status); } && | 11088 | (exit $ac_status); } && |
10934 | { ac_try='test -s conftest.$ac_objext' | 11089 | { ac_try='test -s conftest.$ac_objext' |
10935 | { (eval echo "$as_me:10935: \"$ac_try\"") >&5 | 11090 | { (eval echo "$as_me:11090: \"$ac_try\"") >&5 |
10936 | (eval $ac_try) 2>&5 | 11091 | (eval $ac_try) 2>&5 |
10937 | ac_status=$? | 11092 | ac_status=$? |
10938 | echo "$as_me:10938: \$? = $ac_status" >&5 | 11093 | echo "$as_me:11093: \$? = $ac_status" >&5 |
10939 | (exit $ac_status); }; }; then | 11094 | (exit $ac_status); }; }; then |
10940 | ac_hi=$ac_mid | 11095 | ac_hi=$ac_mid |
10941 | else | 11096 | else |
@@ -10948,12 +11103,12 @@ done | |||
10948 | ac_cv_sizeof_short_int=$ac_lo | 11103 | ac_cv_sizeof_short_int=$ac_lo |
10949 | else | 11104 | else |
10950 | if test "$cross_compiling" = yes; then | 11105 | if test "$cross_compiling" = yes; then |
10951 | { { echo "$as_me:10951: error: cannot run test program while cross compiling" >&5 | 11106 | { { echo "$as_me:11106: error: cannot run test program while cross compiling" >&5 |
10952 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 11107 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
10953 | { (exit 1); exit 1; }; } | 11108 | { (exit 1); exit 1; }; } |
10954 | else | 11109 | else |
10955 | cat >conftest.$ac_ext <<_ACEOF | 11110 | cat >conftest.$ac_ext <<_ACEOF |
10956 | #line 10956 "configure" | 11111 | #line 11111 "configure" |
10957 | #include "confdefs.h" | 11112 | #include "confdefs.h" |
10958 | $ac_includes_default | 11113 | $ac_includes_default |
10959 | int | 11114 | int |
@@ -10969,15 +11124,15 @@ fclose (f); | |||
10969 | } | 11124 | } |
10970 | _ACEOF | 11125 | _ACEOF |
10971 | rm -f conftest$ac_exeext | 11126 | rm -f conftest$ac_exeext |
10972 | if { (eval echo "$as_me:10972: \"$ac_link\"") >&5 | 11127 | if { (eval echo "$as_me:11127: \"$ac_link\"") >&5 |
10973 | (eval $ac_link) 2>&5 | 11128 | (eval $ac_link) 2>&5 |
10974 | ac_status=$? | 11129 | ac_status=$? |
10975 | echo "$as_me:10975: \$? = $ac_status" >&5 | 11130 | echo "$as_me:11130: \$? = $ac_status" >&5 |
10976 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11131 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10977 | { (eval echo "$as_me:10977: \"$ac_try\"") >&5 | 11132 | { (eval echo "$as_me:11132: \"$ac_try\"") >&5 |
10978 | (eval $ac_try) 2>&5 | 11133 | (eval $ac_try) 2>&5 |
10979 | ac_status=$? | 11134 | ac_status=$? |
10980 | echo "$as_me:10980: \$? = $ac_status" >&5 | 11135 | echo "$as_me:11135: \$? = $ac_status" >&5 |
10981 | (exit $ac_status); }; }; then | 11136 | (exit $ac_status); }; }; then |
10982 | ac_cv_sizeof_short_int=`cat conftest.val` | 11137 | ac_cv_sizeof_short_int=`cat conftest.val` |
10983 | else | 11138 | else |
@@ -10993,19 +11148,19 @@ else | |||
10993 | ac_cv_sizeof_short_int=0 | 11148 | ac_cv_sizeof_short_int=0 |
10994 | fi | 11149 | fi |
10995 | fi | 11150 | fi |
10996 | echo "$as_me:10996: result: $ac_cv_sizeof_short_int" >&5 | 11151 | echo "$as_me:11151: result: $ac_cv_sizeof_short_int" >&5 |
10997 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 | 11152 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 |
10998 | cat >>confdefs.h <<EOF | 11153 | cat >>confdefs.h <<EOF |
10999 | #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int | 11154 | #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int |
11000 | EOF | 11155 | EOF |
11001 | 11156 | ||
11002 | echo "$as_me:11002: checking for int" >&5 | 11157 | echo "$as_me:11157: checking for int" >&5 |
11003 | echo $ECHO_N "checking for int... $ECHO_C" >&6 | 11158 | echo $ECHO_N "checking for int... $ECHO_C" >&6 |
11004 | if test "${ac_cv_type_int+set}" = set; then | 11159 | if test "${ac_cv_type_int+set}" = set; then |
11005 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11160 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11006 | else | 11161 | else |
11007 | cat >conftest.$ac_ext <<_ACEOF | 11162 | cat >conftest.$ac_ext <<_ACEOF |
11008 | #line 11008 "configure" | 11163 | #line 11163 "configure" |
11009 | #include "confdefs.h" | 11164 | #include "confdefs.h" |
11010 | $ac_includes_default | 11165 | $ac_includes_default |
11011 | int | 11166 | int |
@@ -11020,16 +11175,16 @@ if (sizeof (int)) | |||
11020 | } | 11175 | } |
11021 | _ACEOF | 11176 | _ACEOF |
11022 | rm -f conftest.$ac_objext | 11177 | rm -f conftest.$ac_objext |
11023 | if { (eval echo "$as_me:11023: \"$ac_compile\"") >&5 | 11178 | if { (eval echo "$as_me:11178: \"$ac_compile\"") >&5 |
11024 | (eval $ac_compile) 2>&5 | 11179 | (eval $ac_compile) 2>&5 |
11025 | ac_status=$? | 11180 | ac_status=$? |
11026 | echo "$as_me:11026: \$? = $ac_status" >&5 | 11181 | echo "$as_me:11181: \$? = $ac_status" >&5 |
11027 | (exit $ac_status); } && | 11182 | (exit $ac_status); } && |
11028 | { ac_try='test -s conftest.$ac_objext' | 11183 | { ac_try='test -s conftest.$ac_objext' |
11029 | { (eval echo "$as_me:11029: \"$ac_try\"") >&5 | 11184 | { (eval echo "$as_me:11184: \"$ac_try\"") >&5 |
11030 | (eval $ac_try) 2>&5 | 11185 | (eval $ac_try) 2>&5 |
11031 | ac_status=$? | 11186 | ac_status=$? |
11032 | echo "$as_me:11032: \$? = $ac_status" >&5 | 11187 | echo "$as_me:11187: \$? = $ac_status" >&5 |
11033 | (exit $ac_status); }; }; then | 11188 | (exit $ac_status); }; }; then |
11034 | ac_cv_type_int=yes | 11189 | ac_cv_type_int=yes |
11035 | else | 11190 | else |
@@ -11039,10 +11194,10 @@ ac_cv_type_int=no | |||
11039 | fi | 11194 | fi |
11040 | rm -f conftest.$ac_objext conftest.$ac_ext | 11195 | rm -f conftest.$ac_objext conftest.$ac_ext |
11041 | fi | 11196 | fi |
11042 | echo "$as_me:11042: result: $ac_cv_type_int" >&5 | 11197 | echo "$as_me:11197: result: $ac_cv_type_int" >&5 |
11043 | echo "${ECHO_T}$ac_cv_type_int" >&6 | 11198 | echo "${ECHO_T}$ac_cv_type_int" >&6 |
11044 | 11199 | ||
11045 | echo "$as_me:11045: checking size of int" >&5 | 11200 | echo "$as_me:11200: checking size of int" >&5 |
11046 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 | 11201 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
11047 | if test "${ac_cv_sizeof_int+set}" = set; then | 11202 | if test "${ac_cv_sizeof_int+set}" = set; then |
11048 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11203 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -11051,7 +11206,7 @@ else | |||
11051 | if test "$cross_compiling" = yes; then | 11206 | if test "$cross_compiling" = yes; then |
11052 | # Depending upon the size, compute the lo and hi bounds. | 11207 | # Depending upon the size, compute the lo and hi bounds. |
11053 | cat >conftest.$ac_ext <<_ACEOF | 11208 | cat >conftest.$ac_ext <<_ACEOF |
11054 | #line 11054 "configure" | 11209 | #line 11209 "configure" |
11055 | #include "confdefs.h" | 11210 | #include "confdefs.h" |
11056 | $ac_includes_default | 11211 | $ac_includes_default |
11057 | int | 11212 | int |
@@ -11063,21 +11218,21 @@ int _array_ [1 - 2 * !((sizeof (int)) >= 0)] | |||
11063 | } | 11218 | } |
11064 | _ACEOF | 11219 | _ACEOF |
11065 | rm -f conftest.$ac_objext | 11220 | rm -f conftest.$ac_objext |
11066 | if { (eval echo "$as_me:11066: \"$ac_compile\"") >&5 | 11221 | if { (eval echo "$as_me:11221: \"$ac_compile\"") >&5 |
11067 | (eval $ac_compile) 2>&5 | 11222 | (eval $ac_compile) 2>&5 |
11068 | ac_status=$? | 11223 | ac_status=$? |
11069 | echo "$as_me:11069: \$? = $ac_status" >&5 | 11224 | echo "$as_me:11224: \$? = $ac_status" >&5 |
11070 | (exit $ac_status); } && | 11225 | (exit $ac_status); } && |
11071 | { ac_try='test -s conftest.$ac_objext' | 11226 | { ac_try='test -s conftest.$ac_objext' |
11072 | { (eval echo "$as_me:11072: \"$ac_try\"") >&5 | 11227 | { (eval echo "$as_me:11227: \"$ac_try\"") >&5 |
11073 | (eval $ac_try) 2>&5 | 11228 | (eval $ac_try) 2>&5 |
11074 | ac_status=$? | 11229 | ac_status=$? |
11075 | echo "$as_me:11075: \$? = $ac_status" >&5 | 11230 | echo "$as_me:11230: \$? = $ac_status" >&5 |
11076 | (exit $ac_status); }; }; then | 11231 | (exit $ac_status); }; }; then |
11077 | ac_lo=0 ac_mid=0 | 11232 | ac_lo=0 ac_mid=0 |
11078 | while :; do | 11233 | while :; do |
11079 | cat >conftest.$ac_ext <<_ACEOF | 11234 | cat >conftest.$ac_ext <<_ACEOF |
11080 | #line 11080 "configure" | 11235 | #line 11235 "configure" |
11081 | #include "confdefs.h" | 11236 | #include "confdefs.h" |
11082 | $ac_includes_default | 11237 | $ac_includes_default |
11083 | int | 11238 | int |
@@ -11089,16 +11244,16 @@ int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] | |||
11089 | } | 11244 | } |
11090 | _ACEOF | 11245 | _ACEOF |
11091 | rm -f conftest.$ac_objext | 11246 | rm -f conftest.$ac_objext |
11092 | if { (eval echo "$as_me:11092: \"$ac_compile\"") >&5 | 11247 | if { (eval echo "$as_me:11247: \"$ac_compile\"") >&5 |
11093 | (eval $ac_compile) 2>&5 | 11248 | (eval $ac_compile) 2>&5 |
11094 | ac_status=$? | 11249 | ac_status=$? |
11095 | echo "$as_me:11095: \$? = $ac_status" >&5 | 11250 | echo "$as_me:11250: \$? = $ac_status" >&5 |
11096 | (exit $ac_status); } && | 11251 | (exit $ac_status); } && |
11097 | { ac_try='test -s conftest.$ac_objext' | 11252 | { ac_try='test -s conftest.$ac_objext' |
11098 | { (eval echo "$as_me:11098: \"$ac_try\"") >&5 | 11253 | { (eval echo "$as_me:11253: \"$ac_try\"") >&5 |
11099 | (eval $ac_try) 2>&5 | 11254 | (eval $ac_try) 2>&5 |
11100 | ac_status=$? | 11255 | ac_status=$? |
11101 | echo "$as_me:11101: \$? = $ac_status" >&5 | 11256 | echo "$as_me:11256: \$? = $ac_status" >&5 |
11102 | (exit $ac_status); }; }; then | 11257 | (exit $ac_status); }; }; then |
11103 | ac_hi=$ac_mid; break | 11258 | ac_hi=$ac_mid; break |
11104 | else | 11259 | else |
@@ -11114,7 +11269,7 @@ cat conftest.$ac_ext >&5 | |||
11114 | ac_hi=-1 ac_mid=-1 | 11269 | ac_hi=-1 ac_mid=-1 |
11115 | while :; do | 11270 | while :; do |
11116 | cat >conftest.$ac_ext <<_ACEOF | 11271 | cat >conftest.$ac_ext <<_ACEOF |
11117 | #line 11117 "configure" | 11272 | #line 11272 "configure" |
11118 | #include "confdefs.h" | 11273 | #include "confdefs.h" |
11119 | $ac_includes_default | 11274 | $ac_includes_default |
11120 | int | 11275 | int |
@@ -11126,16 +11281,16 @@ int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)] | |||
11126 | } | 11281 | } |
11127 | _ACEOF | 11282 | _ACEOF |
11128 | rm -f conftest.$ac_objext | 11283 | rm -f conftest.$ac_objext |
11129 | if { (eval echo "$as_me:11129: \"$ac_compile\"") >&5 | 11284 | if { (eval echo "$as_me:11284: \"$ac_compile\"") >&5 |
11130 | (eval $ac_compile) 2>&5 | 11285 | (eval $ac_compile) 2>&5 |
11131 | ac_status=$? | 11286 | ac_status=$? |
11132 | echo "$as_me:11132: \$? = $ac_status" >&5 | 11287 | echo "$as_me:11287: \$? = $ac_status" >&5 |
11133 | (exit $ac_status); } && | 11288 | (exit $ac_status); } && |
11134 | { ac_try='test -s conftest.$ac_objext' | 11289 | { ac_try='test -s conftest.$ac_objext' |
11135 | { (eval echo "$as_me:11135: \"$ac_try\"") >&5 | 11290 | { (eval echo "$as_me:11290: \"$ac_try\"") >&5 |
11136 | (eval $ac_try) 2>&5 | 11291 | (eval $ac_try) 2>&5 |
11137 | ac_status=$? | 11292 | ac_status=$? |
11138 | echo "$as_me:11138: \$? = $ac_status" >&5 | 11293 | echo "$as_me:11293: \$? = $ac_status" >&5 |
11139 | (exit $ac_status); }; }; then | 11294 | (exit $ac_status); }; }; then |
11140 | ac_lo=$ac_mid; break | 11295 | ac_lo=$ac_mid; break |
11141 | else | 11296 | else |
@@ -11151,7 +11306,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
11151 | while test "x$ac_lo" != "x$ac_hi"; do | 11306 | while test "x$ac_lo" != "x$ac_hi"; do |
11152 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 11307 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
11153 | cat >conftest.$ac_ext <<_ACEOF | 11308 | cat >conftest.$ac_ext <<_ACEOF |
11154 | #line 11154 "configure" | 11309 | #line 11309 "configure" |
11155 | #include "confdefs.h" | 11310 | #include "confdefs.h" |
11156 | $ac_includes_default | 11311 | $ac_includes_default |
11157 | int | 11312 | int |
@@ -11163,16 +11318,16 @@ int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] | |||
11163 | } | 11318 | } |
11164 | _ACEOF | 11319 | _ACEOF |
11165 | rm -f conftest.$ac_objext | 11320 | rm -f conftest.$ac_objext |
11166 | if { (eval echo "$as_me:11166: \"$ac_compile\"") >&5 | 11321 | if { (eval echo "$as_me:11321: \"$ac_compile\"") >&5 |
11167 | (eval $ac_compile) 2>&5 | 11322 | (eval $ac_compile) 2>&5 |
11168 | ac_status=$? | 11323 | ac_status=$? |
11169 | echo "$as_me:11169: \$? = $ac_status" >&5 | 11324 | echo "$as_me:11324: \$? = $ac_status" >&5 |
11170 | (exit $ac_status); } && | 11325 | (exit $ac_status); } && |
11171 | { ac_try='test -s conftest.$ac_objext' | 11326 | { ac_try='test -s conftest.$ac_objext' |
11172 | { (eval echo "$as_me:11172: \"$ac_try\"") >&5 | 11327 | { (eval echo "$as_me:11327: \"$ac_try\"") >&5 |
11173 | (eval $ac_try) 2>&5 | 11328 | (eval $ac_try) 2>&5 |
11174 | ac_status=$? | 11329 | ac_status=$? |
11175 | echo "$as_me:11175: \$? = $ac_status" >&5 | 11330 | echo "$as_me:11330: \$? = $ac_status" >&5 |
11176 | (exit $ac_status); }; }; then | 11331 | (exit $ac_status); }; }; then |
11177 | ac_hi=$ac_mid | 11332 | ac_hi=$ac_mid |
11178 | else | 11333 | else |
@@ -11185,12 +11340,12 @@ done | |||
11185 | ac_cv_sizeof_int=$ac_lo | 11340 | ac_cv_sizeof_int=$ac_lo |
11186 | else | 11341 | else |
11187 | if test "$cross_compiling" = yes; then | 11342 | if test "$cross_compiling" = yes; then |
11188 | { { echo "$as_me:11188: error: cannot run test program while cross compiling" >&5 | 11343 | { { echo "$as_me:11343: error: cannot run test program while cross compiling" >&5 |
11189 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 11344 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
11190 | { (exit 1); exit 1; }; } | 11345 | { (exit 1); exit 1; }; } |
11191 | else | 11346 | else |
11192 | cat >conftest.$ac_ext <<_ACEOF | 11347 | cat >conftest.$ac_ext <<_ACEOF |
11193 | #line 11193 "configure" | 11348 | #line 11348 "configure" |
11194 | #include "confdefs.h" | 11349 | #include "confdefs.h" |
11195 | $ac_includes_default | 11350 | $ac_includes_default |
11196 | int | 11351 | int |
@@ -11206,15 +11361,15 @@ fclose (f); | |||
11206 | } | 11361 | } |
11207 | _ACEOF | 11362 | _ACEOF |
11208 | rm -f conftest$ac_exeext | 11363 | rm -f conftest$ac_exeext |
11209 | if { (eval echo "$as_me:11209: \"$ac_link\"") >&5 | 11364 | if { (eval echo "$as_me:11364: \"$ac_link\"") >&5 |
11210 | (eval $ac_link) 2>&5 | 11365 | (eval $ac_link) 2>&5 |
11211 | ac_status=$? | 11366 | ac_status=$? |
11212 | echo "$as_me:11212: \$? = $ac_status" >&5 | 11367 | echo "$as_me:11367: \$? = $ac_status" >&5 |
11213 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11368 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11214 | { (eval echo "$as_me:11214: \"$ac_try\"") >&5 | 11369 | { (eval echo "$as_me:11369: \"$ac_try\"") >&5 |
11215 | (eval $ac_try) 2>&5 | 11370 | (eval $ac_try) 2>&5 |
11216 | ac_status=$? | 11371 | ac_status=$? |
11217 | echo "$as_me:11217: \$? = $ac_status" >&5 | 11372 | echo "$as_me:11372: \$? = $ac_status" >&5 |
11218 | (exit $ac_status); }; }; then | 11373 | (exit $ac_status); }; }; then |
11219 | ac_cv_sizeof_int=`cat conftest.val` | 11374 | ac_cv_sizeof_int=`cat conftest.val` |
11220 | else | 11375 | else |
@@ -11230,19 +11385,19 @@ else | |||
11230 | ac_cv_sizeof_int=0 | 11385 | ac_cv_sizeof_int=0 |
11231 | fi | 11386 | fi |
11232 | fi | 11387 | fi |
11233 | echo "$as_me:11233: result: $ac_cv_sizeof_int" >&5 | 11388 | echo "$as_me:11388: result: $ac_cv_sizeof_int" >&5 |
11234 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 | 11389 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
11235 | cat >>confdefs.h <<EOF | 11390 | cat >>confdefs.h <<EOF |
11236 | #define SIZEOF_INT $ac_cv_sizeof_int | 11391 | #define SIZEOF_INT $ac_cv_sizeof_int |
11237 | EOF | 11392 | EOF |
11238 | 11393 | ||
11239 | echo "$as_me:11239: checking for long int" >&5 | 11394 | echo "$as_me:11394: checking for long int" >&5 |
11240 | echo $ECHO_N "checking for long int... $ECHO_C" >&6 | 11395 | echo $ECHO_N "checking for long int... $ECHO_C" >&6 |
11241 | if test "${ac_cv_type_long_int+set}" = set; then | 11396 | if test "${ac_cv_type_long_int+set}" = set; then |
11242 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11397 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11243 | else | 11398 | else |
11244 | cat >conftest.$ac_ext <<_ACEOF | 11399 | cat >conftest.$ac_ext <<_ACEOF |
11245 | #line 11245 "configure" | 11400 | #line 11400 "configure" |
11246 | #include "confdefs.h" | 11401 | #include "confdefs.h" |
11247 | $ac_includes_default | 11402 | $ac_includes_default |
11248 | int | 11403 | int |
@@ -11257,16 +11412,16 @@ if (sizeof (long int)) | |||
11257 | } | 11412 | } |
11258 | _ACEOF | 11413 | _ACEOF |
11259 | rm -f conftest.$ac_objext | 11414 | rm -f conftest.$ac_objext |
11260 | if { (eval echo "$as_me:11260: \"$ac_compile\"") >&5 | 11415 | if { (eval echo "$as_me:11415: \"$ac_compile\"") >&5 |
11261 | (eval $ac_compile) 2>&5 | 11416 | (eval $ac_compile) 2>&5 |
11262 | ac_status=$? | 11417 | ac_status=$? |
11263 | echo "$as_me:11263: \$? = $ac_status" >&5 | 11418 | echo "$as_me:11418: \$? = $ac_status" >&5 |
11264 | (exit $ac_status); } && | 11419 | (exit $ac_status); } && |
11265 | { ac_try='test -s conftest.$ac_objext' | 11420 | { ac_try='test -s conftest.$ac_objext' |
11266 | { (eval echo "$as_me:11266: \"$ac_try\"") >&5 | 11421 | { (eval echo "$as_me:11421: \"$ac_try\"") >&5 |
11267 | (eval $ac_try) 2>&5 | 11422 | (eval $ac_try) 2>&5 |
11268 | ac_status=$? | 11423 | ac_status=$? |
11269 | echo "$as_me:11269: \$? = $ac_status" >&5 | 11424 | echo "$as_me:11424: \$? = $ac_status" >&5 |
11270 | (exit $ac_status); }; }; then | 11425 | (exit $ac_status); }; }; then |
11271 | ac_cv_type_long_int=yes | 11426 | ac_cv_type_long_int=yes |
11272 | else | 11427 | else |
@@ -11276,10 +11431,10 @@ ac_cv_type_long_int=no | |||
11276 | fi | 11431 | fi |
11277 | rm -f conftest.$ac_objext conftest.$ac_ext | 11432 | rm -f conftest.$ac_objext conftest.$ac_ext |
11278 | fi | 11433 | fi |
11279 | echo "$as_me:11279: result: $ac_cv_type_long_int" >&5 | 11434 | echo "$as_me:11434: result: $ac_cv_type_long_int" >&5 |
11280 | echo "${ECHO_T}$ac_cv_type_long_int" >&6 | 11435 | echo "${ECHO_T}$ac_cv_type_long_int" >&6 |
11281 | 11436 | ||
11282 | echo "$as_me:11282: checking size of long int" >&5 | 11437 | echo "$as_me:11437: checking size of long int" >&5 |
11283 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6 | 11438 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6 |
11284 | if test "${ac_cv_sizeof_long_int+set}" = set; then | 11439 | if test "${ac_cv_sizeof_long_int+set}" = set; then |
11285 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11440 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -11288,7 +11443,7 @@ else | |||
11288 | if test "$cross_compiling" = yes; then | 11443 | if test "$cross_compiling" = yes; then |
11289 | # Depending upon the size, compute the lo and hi bounds. | 11444 | # Depending upon the size, compute the lo and hi bounds. |
11290 | cat >conftest.$ac_ext <<_ACEOF | 11445 | cat >conftest.$ac_ext <<_ACEOF |
11291 | #line 11291 "configure" | 11446 | #line 11446 "configure" |
11292 | #include "confdefs.h" | 11447 | #include "confdefs.h" |
11293 | $ac_includes_default | 11448 | $ac_includes_default |
11294 | int | 11449 | int |
@@ -11300,21 +11455,21 @@ int _array_ [1 - 2 * !((sizeof (long int)) >= 0)] | |||
11300 | } | 11455 | } |
11301 | _ACEOF | 11456 | _ACEOF |
11302 | rm -f conftest.$ac_objext | 11457 | rm -f conftest.$ac_objext |
11303 | if { (eval echo "$as_me:11303: \"$ac_compile\"") >&5 | 11458 | if { (eval echo "$as_me:11458: \"$ac_compile\"") >&5 |
11304 | (eval $ac_compile) 2>&5 | 11459 | (eval $ac_compile) 2>&5 |
11305 | ac_status=$? | 11460 | ac_status=$? |
11306 | echo "$as_me:11306: \$? = $ac_status" >&5 | 11461 | echo "$as_me:11461: \$? = $ac_status" >&5 |
11307 | (exit $ac_status); } && | 11462 | (exit $ac_status); } && |
11308 | { ac_try='test -s conftest.$ac_objext' | 11463 | { ac_try='test -s conftest.$ac_objext' |
11309 | { (eval echo "$as_me:11309: \"$ac_try\"") >&5 | 11464 | { (eval echo "$as_me:11464: \"$ac_try\"") >&5 |
11310 | (eval $ac_try) 2>&5 | 11465 | (eval $ac_try) 2>&5 |
11311 | ac_status=$? | 11466 | ac_status=$? |
11312 | echo "$as_me:11312: \$? = $ac_status" >&5 | 11467 | echo "$as_me:11467: \$? = $ac_status" >&5 |
11313 | (exit $ac_status); }; }; then | 11468 | (exit $ac_status); }; }; then |
11314 | ac_lo=0 ac_mid=0 | 11469 | ac_lo=0 ac_mid=0 |
11315 | while :; do | 11470 | while :; do |
11316 | cat >conftest.$ac_ext <<_ACEOF | 11471 | cat >conftest.$ac_ext <<_ACEOF |
11317 | #line 11317 "configure" | 11472 | #line 11472 "configure" |
11318 | #include "confdefs.h" | 11473 | #include "confdefs.h" |
11319 | $ac_includes_default | 11474 | $ac_includes_default |
11320 | int | 11475 | int |
@@ -11326,16 +11481,16 @@ int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)] | |||
11326 | } | 11481 | } |
11327 | _ACEOF | 11482 | _ACEOF |
11328 | rm -f conftest.$ac_objext | 11483 | rm -f conftest.$ac_objext |
11329 | if { (eval echo "$as_me:11329: \"$ac_compile\"") >&5 | 11484 | if { (eval echo "$as_me:11484: \"$ac_compile\"") >&5 |
11330 | (eval $ac_compile) 2>&5 | 11485 | (eval $ac_compile) 2>&5 |
11331 | ac_status=$? | 11486 | ac_status=$? |
11332 | echo "$as_me:11332: \$? = $ac_status" >&5 | 11487 | echo "$as_me:11487: \$? = $ac_status" >&5 |
11333 | (exit $ac_status); } && | 11488 | (exit $ac_status); } && |
11334 | { ac_try='test -s conftest.$ac_objext' | 11489 | { ac_try='test -s conftest.$ac_objext' |
11335 | { (eval echo "$as_me:11335: \"$ac_try\"") >&5 | 11490 | { (eval echo "$as_me:11490: \"$ac_try\"") >&5 |
11336 | (eval $ac_try) 2>&5 | 11491 | (eval $ac_try) 2>&5 |
11337 | ac_status=$? | 11492 | ac_status=$? |
11338 | echo "$as_me:11338: \$? = $ac_status" >&5 | 11493 | echo "$as_me:11493: \$? = $ac_status" >&5 |
11339 | (exit $ac_status); }; }; then | 11494 | (exit $ac_status); }; }; then |
11340 | ac_hi=$ac_mid; break | 11495 | ac_hi=$ac_mid; break |
11341 | else | 11496 | else |
@@ -11351,7 +11506,7 @@ cat conftest.$ac_ext >&5 | |||
11351 | ac_hi=-1 ac_mid=-1 | 11506 | ac_hi=-1 ac_mid=-1 |
11352 | while :; do | 11507 | while :; do |
11353 | cat >conftest.$ac_ext <<_ACEOF | 11508 | cat >conftest.$ac_ext <<_ACEOF |
11354 | #line 11354 "configure" | 11509 | #line 11509 "configure" |
11355 | #include "confdefs.h" | 11510 | #include "confdefs.h" |
11356 | $ac_includes_default | 11511 | $ac_includes_default |
11357 | int | 11512 | int |
@@ -11363,16 +11518,16 @@ int _array_ [1 - 2 * !((sizeof (long int)) >= $ac_mid)] | |||
11363 | } | 11518 | } |
11364 | _ACEOF | 11519 | _ACEOF |
11365 | rm -f conftest.$ac_objext | 11520 | rm -f conftest.$ac_objext |
11366 | if { (eval echo "$as_me:11366: \"$ac_compile\"") >&5 | 11521 | if { (eval echo "$as_me:11521: \"$ac_compile\"") >&5 |
11367 | (eval $ac_compile) 2>&5 | 11522 | (eval $ac_compile) 2>&5 |
11368 | ac_status=$? | 11523 | ac_status=$? |
11369 | echo "$as_me:11369: \$? = $ac_status" >&5 | 11524 | echo "$as_me:11524: \$? = $ac_status" >&5 |
11370 | (exit $ac_status); } && | 11525 | (exit $ac_status); } && |
11371 | { ac_try='test -s conftest.$ac_objext' | 11526 | { ac_try='test -s conftest.$ac_objext' |
11372 | { (eval echo "$as_me:11372: \"$ac_try\"") >&5 | 11527 | { (eval echo "$as_me:11527: \"$ac_try\"") >&5 |
11373 | (eval $ac_try) 2>&5 | 11528 | (eval $ac_try) 2>&5 |
11374 | ac_status=$? | 11529 | ac_status=$? |
11375 | echo "$as_me:11375: \$? = $ac_status" >&5 | 11530 | echo "$as_me:11530: \$? = $ac_status" >&5 |
11376 | (exit $ac_status); }; }; then | 11531 | (exit $ac_status); }; }; then |
11377 | ac_lo=$ac_mid; break | 11532 | ac_lo=$ac_mid; break |
11378 | else | 11533 | else |
@@ -11388,7 +11543,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
11388 | while test "x$ac_lo" != "x$ac_hi"; do | 11543 | while test "x$ac_lo" != "x$ac_hi"; do |
11389 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 11544 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
11390 | cat >conftest.$ac_ext <<_ACEOF | 11545 | cat >conftest.$ac_ext <<_ACEOF |
11391 | #line 11391 "configure" | 11546 | #line 11546 "configure" |
11392 | #include "confdefs.h" | 11547 | #include "confdefs.h" |
11393 | $ac_includes_default | 11548 | $ac_includes_default |
11394 | int | 11549 | int |
@@ -11400,16 +11555,16 @@ int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)] | |||
11400 | } | 11555 | } |
11401 | _ACEOF | 11556 | _ACEOF |
11402 | rm -f conftest.$ac_objext | 11557 | rm -f conftest.$ac_objext |
11403 | if { (eval echo "$as_me:11403: \"$ac_compile\"") >&5 | 11558 | if { (eval echo "$as_me:11558: \"$ac_compile\"") >&5 |
11404 | (eval $ac_compile) 2>&5 | 11559 | (eval $ac_compile) 2>&5 |
11405 | ac_status=$? | 11560 | ac_status=$? |
11406 | echo "$as_me:11406: \$? = $ac_status" >&5 | 11561 | echo "$as_me:11561: \$? = $ac_status" >&5 |
11407 | (exit $ac_status); } && | 11562 | (exit $ac_status); } && |
11408 | { ac_try='test -s conftest.$ac_objext' | 11563 | { ac_try='test -s conftest.$ac_objext' |
11409 | { (eval echo "$as_me:11409: \"$ac_try\"") >&5 | 11564 | { (eval echo "$as_me:11564: \"$ac_try\"") >&5 |
11410 | (eval $ac_try) 2>&5 | 11565 | (eval $ac_try) 2>&5 |
11411 | ac_status=$? | 11566 | ac_status=$? |
11412 | echo "$as_me:11412: \$? = $ac_status" >&5 | 11567 | echo "$as_me:11567: \$? = $ac_status" >&5 |
11413 | (exit $ac_status); }; }; then | 11568 | (exit $ac_status); }; }; then |
11414 | ac_hi=$ac_mid | 11569 | ac_hi=$ac_mid |
11415 | else | 11570 | else |
@@ -11422,12 +11577,12 @@ done | |||
11422 | ac_cv_sizeof_long_int=$ac_lo | 11577 | ac_cv_sizeof_long_int=$ac_lo |
11423 | else | 11578 | else |
11424 | if test "$cross_compiling" = yes; then | 11579 | if test "$cross_compiling" = yes; then |
11425 | { { echo "$as_me:11425: error: cannot run test program while cross compiling" >&5 | 11580 | { { echo "$as_me:11580: error: cannot run test program while cross compiling" >&5 |
11426 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 11581 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
11427 | { (exit 1); exit 1; }; } | 11582 | { (exit 1); exit 1; }; } |
11428 | else | 11583 | else |
11429 | cat >conftest.$ac_ext <<_ACEOF | 11584 | cat >conftest.$ac_ext <<_ACEOF |
11430 | #line 11430 "configure" | 11585 | #line 11585 "configure" |
11431 | #include "confdefs.h" | 11586 | #include "confdefs.h" |
11432 | $ac_includes_default | 11587 | $ac_includes_default |
11433 | int | 11588 | int |
@@ -11443,15 +11598,15 @@ fclose (f); | |||
11443 | } | 11598 | } |
11444 | _ACEOF | 11599 | _ACEOF |
11445 | rm -f conftest$ac_exeext | 11600 | rm -f conftest$ac_exeext |
11446 | if { (eval echo "$as_me:11446: \"$ac_link\"") >&5 | 11601 | if { (eval echo "$as_me:11601: \"$ac_link\"") >&5 |
11447 | (eval $ac_link) 2>&5 | 11602 | (eval $ac_link) 2>&5 |
11448 | ac_status=$? | 11603 | ac_status=$? |
11449 | echo "$as_me:11449: \$? = $ac_status" >&5 | 11604 | echo "$as_me:11604: \$? = $ac_status" >&5 |
11450 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11605 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11451 | { (eval echo "$as_me:11451: \"$ac_try\"") >&5 | 11606 | { (eval echo "$as_me:11606: \"$ac_try\"") >&5 |
11452 | (eval $ac_try) 2>&5 | 11607 | (eval $ac_try) 2>&5 |
11453 | ac_status=$? | 11608 | ac_status=$? |
11454 | echo "$as_me:11454: \$? = $ac_status" >&5 | 11609 | echo "$as_me:11609: \$? = $ac_status" >&5 |
11455 | (exit $ac_status); }; }; then | 11610 | (exit $ac_status); }; }; then |
11456 | ac_cv_sizeof_long_int=`cat conftest.val` | 11611 | ac_cv_sizeof_long_int=`cat conftest.val` |
11457 | else | 11612 | else |
@@ -11467,19 +11622,19 @@ else | |||
11467 | ac_cv_sizeof_long_int=0 | 11622 | ac_cv_sizeof_long_int=0 |
11468 | fi | 11623 | fi |
11469 | fi | 11624 | fi |
11470 | echo "$as_me:11470: result: $ac_cv_sizeof_long_int" >&5 | 11625 | echo "$as_me:11625: result: $ac_cv_sizeof_long_int" >&5 |
11471 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 | 11626 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 |
11472 | cat >>confdefs.h <<EOF | 11627 | cat >>confdefs.h <<EOF |
11473 | #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int | 11628 | #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int |
11474 | EOF | 11629 | EOF |
11475 | 11630 | ||
11476 | echo "$as_me:11476: checking for long long int" >&5 | 11631 | echo "$as_me:11631: checking for long long int" >&5 |
11477 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6 | 11632 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6 |
11478 | if test "${ac_cv_type_long_long_int+set}" = set; then | 11633 | if test "${ac_cv_type_long_long_int+set}" = set; then |
11479 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11634 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11480 | else | 11635 | else |
11481 | cat >conftest.$ac_ext <<_ACEOF | 11636 | cat >conftest.$ac_ext <<_ACEOF |
11482 | #line 11482 "configure" | 11637 | #line 11637 "configure" |
11483 | #include "confdefs.h" | 11638 | #include "confdefs.h" |
11484 | $ac_includes_default | 11639 | $ac_includes_default |
11485 | int | 11640 | int |
@@ -11494,16 +11649,16 @@ if (sizeof (long long int)) | |||
11494 | } | 11649 | } |
11495 | _ACEOF | 11650 | _ACEOF |
11496 | rm -f conftest.$ac_objext | 11651 | rm -f conftest.$ac_objext |
11497 | if { (eval echo "$as_me:11497: \"$ac_compile\"") >&5 | 11652 | if { (eval echo "$as_me:11652: \"$ac_compile\"") >&5 |
11498 | (eval $ac_compile) 2>&5 | 11653 | (eval $ac_compile) 2>&5 |
11499 | ac_status=$? | 11654 | ac_status=$? |
11500 | echo "$as_me:11500: \$? = $ac_status" >&5 | 11655 | echo "$as_me:11655: \$? = $ac_status" >&5 |
11501 | (exit $ac_status); } && | 11656 | (exit $ac_status); } && |
11502 | { ac_try='test -s conftest.$ac_objext' | 11657 | { ac_try='test -s conftest.$ac_objext' |
11503 | { (eval echo "$as_me:11503: \"$ac_try\"") >&5 | 11658 | { (eval echo "$as_me:11658: \"$ac_try\"") >&5 |
11504 | (eval $ac_try) 2>&5 | 11659 | (eval $ac_try) 2>&5 |
11505 | ac_status=$? | 11660 | ac_status=$? |
11506 | echo "$as_me:11506: \$? = $ac_status" >&5 | 11661 | echo "$as_me:11661: \$? = $ac_status" >&5 |
11507 | (exit $ac_status); }; }; then | 11662 | (exit $ac_status); }; }; then |
11508 | ac_cv_type_long_long_int=yes | 11663 | ac_cv_type_long_long_int=yes |
11509 | else | 11664 | else |
@@ -11513,10 +11668,10 @@ ac_cv_type_long_long_int=no | |||
11513 | fi | 11668 | fi |
11514 | rm -f conftest.$ac_objext conftest.$ac_ext | 11669 | rm -f conftest.$ac_objext conftest.$ac_ext |
11515 | fi | 11670 | fi |
11516 | echo "$as_me:11516: result: $ac_cv_type_long_long_int" >&5 | 11671 | echo "$as_me:11671: result: $ac_cv_type_long_long_int" >&5 |
11517 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 | 11672 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 |
11518 | 11673 | ||
11519 | echo "$as_me:11519: checking size of long long int" >&5 | 11674 | echo "$as_me:11674: checking size of long long int" >&5 |
11520 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 | 11675 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 |
11521 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then | 11676 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then |
11522 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11677 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -11525,7 +11680,7 @@ else | |||
11525 | if test "$cross_compiling" = yes; then | 11680 | if test "$cross_compiling" = yes; then |
11526 | # Depending upon the size, compute the lo and hi bounds. | 11681 | # Depending upon the size, compute the lo and hi bounds. |
11527 | cat >conftest.$ac_ext <<_ACEOF | 11682 | cat >conftest.$ac_ext <<_ACEOF |
11528 | #line 11528 "configure" | 11683 | #line 11683 "configure" |
11529 | #include "confdefs.h" | 11684 | #include "confdefs.h" |
11530 | $ac_includes_default | 11685 | $ac_includes_default |
11531 | int | 11686 | int |
@@ -11537,21 +11692,21 @@ int _array_ [1 - 2 * !((sizeof (long long int)) >= 0)] | |||
11537 | } | 11692 | } |
11538 | _ACEOF | 11693 | _ACEOF |
11539 | rm -f conftest.$ac_objext | 11694 | rm -f conftest.$ac_objext |
11540 | if { (eval echo "$as_me:11540: \"$ac_compile\"") >&5 | 11695 | if { (eval echo "$as_me:11695: \"$ac_compile\"") >&5 |
11541 | (eval $ac_compile) 2>&5 | 11696 | (eval $ac_compile) 2>&5 |
11542 | ac_status=$? | 11697 | ac_status=$? |
11543 | echo "$as_me:11543: \$? = $ac_status" >&5 | 11698 | echo "$as_me:11698: \$? = $ac_status" >&5 |
11544 | (exit $ac_status); } && | 11699 | (exit $ac_status); } && |
11545 | { ac_try='test -s conftest.$ac_objext' | 11700 | { ac_try='test -s conftest.$ac_objext' |
11546 | { (eval echo "$as_me:11546: \"$ac_try\"") >&5 | 11701 | { (eval echo "$as_me:11701: \"$ac_try\"") >&5 |
11547 | (eval $ac_try) 2>&5 | 11702 | (eval $ac_try) 2>&5 |
11548 | ac_status=$? | 11703 | ac_status=$? |
11549 | echo "$as_me:11549: \$? = $ac_status" >&5 | 11704 | echo "$as_me:11704: \$? = $ac_status" >&5 |
11550 | (exit $ac_status); }; }; then | 11705 | (exit $ac_status); }; }; then |
11551 | ac_lo=0 ac_mid=0 | 11706 | ac_lo=0 ac_mid=0 |
11552 | while :; do | 11707 | while :; do |
11553 | cat >conftest.$ac_ext <<_ACEOF | 11708 | cat >conftest.$ac_ext <<_ACEOF |
11554 | #line 11554 "configure" | 11709 | #line 11709 "configure" |
11555 | #include "confdefs.h" | 11710 | #include "confdefs.h" |
11556 | $ac_includes_default | 11711 | $ac_includes_default |
11557 | int | 11712 | int |
@@ -11563,16 +11718,16 @@ int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)] | |||
11563 | } | 11718 | } |
11564 | _ACEOF | 11719 | _ACEOF |
11565 | rm -f conftest.$ac_objext | 11720 | rm -f conftest.$ac_objext |
11566 | if { (eval echo "$as_me:11566: \"$ac_compile\"") >&5 | 11721 | if { (eval echo "$as_me:11721: \"$ac_compile\"") >&5 |
11567 | (eval $ac_compile) 2>&5 | 11722 | (eval $ac_compile) 2>&5 |
11568 | ac_status=$? | 11723 | ac_status=$? |
11569 | echo "$as_me:11569: \$? = $ac_status" >&5 | 11724 | echo "$as_me:11724: \$? = $ac_status" >&5 |
11570 | (exit $ac_status); } && | 11725 | (exit $ac_status); } && |
11571 | { ac_try='test -s conftest.$ac_objext' | 11726 | { ac_try='test -s conftest.$ac_objext' |
11572 | { (eval echo "$as_me:11572: \"$ac_try\"") >&5 | 11727 | { (eval echo "$as_me:11727: \"$ac_try\"") >&5 |
11573 | (eval $ac_try) 2>&5 | 11728 | (eval $ac_try) 2>&5 |
11574 | ac_status=$? | 11729 | ac_status=$? |
11575 | echo "$as_me:11575: \$? = $ac_status" >&5 | 11730 | echo "$as_me:11730: \$? = $ac_status" >&5 |
11576 | (exit $ac_status); }; }; then | 11731 | (exit $ac_status); }; }; then |
11577 | ac_hi=$ac_mid; break | 11732 | ac_hi=$ac_mid; break |
11578 | else | 11733 | else |
@@ -11588,7 +11743,7 @@ cat conftest.$ac_ext >&5 | |||
11588 | ac_hi=-1 ac_mid=-1 | 11743 | ac_hi=-1 ac_mid=-1 |
11589 | while :; do | 11744 | while :; do |
11590 | cat >conftest.$ac_ext <<_ACEOF | 11745 | cat >conftest.$ac_ext <<_ACEOF |
11591 | #line 11591 "configure" | 11746 | #line 11746 "configure" |
11592 | #include "confdefs.h" | 11747 | #include "confdefs.h" |
11593 | $ac_includes_default | 11748 | $ac_includes_default |
11594 | int | 11749 | int |
@@ -11600,16 +11755,16 @@ int _array_ [1 - 2 * !((sizeof (long long int)) >= $ac_mid)] | |||
11600 | } | 11755 | } |
11601 | _ACEOF | 11756 | _ACEOF |
11602 | rm -f conftest.$ac_objext | 11757 | rm -f conftest.$ac_objext |
11603 | if { (eval echo "$as_me:11603: \"$ac_compile\"") >&5 | 11758 | if { (eval echo "$as_me:11758: \"$ac_compile\"") >&5 |
11604 | (eval $ac_compile) 2>&5 | 11759 | (eval $ac_compile) 2>&5 |
11605 | ac_status=$? | 11760 | ac_status=$? |
11606 | echo "$as_me:11606: \$? = $ac_status" >&5 | 11761 | echo "$as_me:11761: \$? = $ac_status" >&5 |
11607 | (exit $ac_status); } && | 11762 | (exit $ac_status); } && |
11608 | { ac_try='test -s conftest.$ac_objext' | 11763 | { ac_try='test -s conftest.$ac_objext' |
11609 | { (eval echo "$as_me:11609: \"$ac_try\"") >&5 | 11764 | { (eval echo "$as_me:11764: \"$ac_try\"") >&5 |
11610 | (eval $ac_try) 2>&5 | 11765 | (eval $ac_try) 2>&5 |
11611 | ac_status=$? | 11766 | ac_status=$? |
11612 | echo "$as_me:11612: \$? = $ac_status" >&5 | 11767 | echo "$as_me:11767: \$? = $ac_status" >&5 |
11613 | (exit $ac_status); }; }; then | 11768 | (exit $ac_status); }; }; then |
11614 | ac_lo=$ac_mid; break | 11769 | ac_lo=$ac_mid; break |
11615 | else | 11770 | else |
@@ -11625,7 +11780,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
11625 | while test "x$ac_lo" != "x$ac_hi"; do | 11780 | while test "x$ac_lo" != "x$ac_hi"; do |
11626 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 11781 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
11627 | cat >conftest.$ac_ext <<_ACEOF | 11782 | cat >conftest.$ac_ext <<_ACEOF |
11628 | #line 11628 "configure" | 11783 | #line 11783 "configure" |
11629 | #include "confdefs.h" | 11784 | #include "confdefs.h" |
11630 | $ac_includes_default | 11785 | $ac_includes_default |
11631 | int | 11786 | int |
@@ -11637,16 +11792,16 @@ int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)] | |||
11637 | } | 11792 | } |
11638 | _ACEOF | 11793 | _ACEOF |
11639 | rm -f conftest.$ac_objext | 11794 | rm -f conftest.$ac_objext |
11640 | if { (eval echo "$as_me:11640: \"$ac_compile\"") >&5 | 11795 | if { (eval echo "$as_me:11795: \"$ac_compile\"") >&5 |
11641 | (eval $ac_compile) 2>&5 | 11796 | (eval $ac_compile) 2>&5 |
11642 | ac_status=$? | 11797 | ac_status=$? |
11643 | echo "$as_me:11643: \$? = $ac_status" >&5 | 11798 | echo "$as_me:11798: \$? = $ac_status" >&5 |
11644 | (exit $ac_status); } && | 11799 | (exit $ac_status); } && |
11645 | { ac_try='test -s conftest.$ac_objext' | 11800 | { ac_try='test -s conftest.$ac_objext' |
11646 | { (eval echo "$as_me:11646: \"$ac_try\"") >&5 | 11801 | { (eval echo "$as_me:11801: \"$ac_try\"") >&5 |
11647 | (eval $ac_try) 2>&5 | 11802 | (eval $ac_try) 2>&5 |
11648 | ac_status=$? | 11803 | ac_status=$? |
11649 | echo "$as_me:11649: \$? = $ac_status" >&5 | 11804 | echo "$as_me:11804: \$? = $ac_status" >&5 |
11650 | (exit $ac_status); }; }; then | 11805 | (exit $ac_status); }; }; then |
11651 | ac_hi=$ac_mid | 11806 | ac_hi=$ac_mid |
11652 | else | 11807 | else |
@@ -11659,12 +11814,12 @@ done | |||
11659 | ac_cv_sizeof_long_long_int=$ac_lo | 11814 | ac_cv_sizeof_long_long_int=$ac_lo |
11660 | else | 11815 | else |
11661 | if test "$cross_compiling" = yes; then | 11816 | if test "$cross_compiling" = yes; then |
11662 | { { echo "$as_me:11662: error: cannot run test program while cross compiling" >&5 | 11817 | { { echo "$as_me:11817: error: cannot run test program while cross compiling" >&5 |
11663 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 11818 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
11664 | { (exit 1); exit 1; }; } | 11819 | { (exit 1); exit 1; }; } |
11665 | else | 11820 | else |
11666 | cat >conftest.$ac_ext <<_ACEOF | 11821 | cat >conftest.$ac_ext <<_ACEOF |
11667 | #line 11667 "configure" | 11822 | #line 11822 "configure" |
11668 | #include "confdefs.h" | 11823 | #include "confdefs.h" |
11669 | $ac_includes_default | 11824 | $ac_includes_default |
11670 | int | 11825 | int |
@@ -11680,15 +11835,15 @@ fclose (f); | |||
11680 | } | 11835 | } |
11681 | _ACEOF | 11836 | _ACEOF |
11682 | rm -f conftest$ac_exeext | 11837 | rm -f conftest$ac_exeext |
11683 | if { (eval echo "$as_me:11683: \"$ac_link\"") >&5 | 11838 | if { (eval echo "$as_me:11838: \"$ac_link\"") >&5 |
11684 | (eval $ac_link) 2>&5 | 11839 | (eval $ac_link) 2>&5 |
11685 | ac_status=$? | 11840 | ac_status=$? |
11686 | echo "$as_me:11686: \$? = $ac_status" >&5 | 11841 | echo "$as_me:11841: \$? = $ac_status" >&5 |
11687 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11842 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11688 | { (eval echo "$as_me:11688: \"$ac_try\"") >&5 | 11843 | { (eval echo "$as_me:11843: \"$ac_try\"") >&5 |
11689 | (eval $ac_try) 2>&5 | 11844 | (eval $ac_try) 2>&5 |
11690 | ac_status=$? | 11845 | ac_status=$? |
11691 | echo "$as_me:11691: \$? = $ac_status" >&5 | 11846 | echo "$as_me:11846: \$? = $ac_status" >&5 |
11692 | (exit $ac_status); }; }; then | 11847 | (exit $ac_status); }; }; then |
11693 | ac_cv_sizeof_long_long_int=`cat conftest.val` | 11848 | ac_cv_sizeof_long_long_int=`cat conftest.val` |
11694 | else | 11849 | else |
@@ -11704,7 +11859,7 @@ else | |||
11704 | ac_cv_sizeof_long_long_int=0 | 11859 | ac_cv_sizeof_long_long_int=0 |
11705 | fi | 11860 | fi |
11706 | fi | 11861 | fi |
11707 | echo "$as_me:11707: result: $ac_cv_sizeof_long_long_int" >&5 | 11862 | echo "$as_me:11862: result: $ac_cv_sizeof_long_long_int" >&5 |
11708 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 | 11863 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 |
11709 | cat >>confdefs.h <<EOF | 11864 | cat >>confdefs.h <<EOF |
11710 | #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int | 11865 | #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int |
@@ -11716,14 +11871,14 @@ if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then | |||
11716 | fi | 11871 | fi |
11717 | 11872 | ||
11718 | # More checks for data types | 11873 | # More checks for data types |
11719 | echo "$as_me:11719: checking for u_int type" >&5 | 11874 | echo "$as_me:11874: checking for u_int type" >&5 |
11720 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 | 11875 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 |
11721 | if test "${ac_cv_have_u_int+set}" = set; then | 11876 | if test "${ac_cv_have_u_int+set}" = set; then |
11722 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11877 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11723 | else | 11878 | else |
11724 | 11879 | ||
11725 | cat >conftest.$ac_ext <<_ACEOF | 11880 | cat >conftest.$ac_ext <<_ACEOF |
11726 | #line 11726 "configure" | 11881 | #line 11881 "configure" |
11727 | #include "confdefs.h" | 11882 | #include "confdefs.h" |
11728 | #include <sys/types.h> | 11883 | #include <sys/types.h> |
11729 | int | 11884 | int |
@@ -11735,16 +11890,16 @@ main () | |||
11735 | } | 11890 | } |
11736 | _ACEOF | 11891 | _ACEOF |
11737 | rm -f conftest.$ac_objext | 11892 | rm -f conftest.$ac_objext |
11738 | if { (eval echo "$as_me:11738: \"$ac_compile\"") >&5 | 11893 | if { (eval echo "$as_me:11893: \"$ac_compile\"") >&5 |
11739 | (eval $ac_compile) 2>&5 | 11894 | (eval $ac_compile) 2>&5 |
11740 | ac_status=$? | 11895 | ac_status=$? |
11741 | echo "$as_me:11741: \$? = $ac_status" >&5 | 11896 | echo "$as_me:11896: \$? = $ac_status" >&5 |
11742 | (exit $ac_status); } && | 11897 | (exit $ac_status); } && |
11743 | { ac_try='test -s conftest.$ac_objext' | 11898 | { ac_try='test -s conftest.$ac_objext' |
11744 | { (eval echo "$as_me:11744: \"$ac_try\"") >&5 | 11899 | { (eval echo "$as_me:11899: \"$ac_try\"") >&5 |
11745 | (eval $ac_try) 2>&5 | 11900 | (eval $ac_try) 2>&5 |
11746 | ac_status=$? | 11901 | ac_status=$? |
11747 | echo "$as_me:11747: \$? = $ac_status" >&5 | 11902 | echo "$as_me:11902: \$? = $ac_status" >&5 |
11748 | (exit $ac_status); }; }; then | 11903 | (exit $ac_status); }; }; then |
11749 | ac_cv_have_u_int="yes" | 11904 | ac_cv_have_u_int="yes" |
11750 | else | 11905 | else |
@@ -11756,7 +11911,7 @@ fi | |||
11756 | rm -f conftest.$ac_objext conftest.$ac_ext | 11911 | rm -f conftest.$ac_objext conftest.$ac_ext |
11757 | 11912 | ||
11758 | fi | 11913 | fi |
11759 | echo "$as_me:11759: result: $ac_cv_have_u_int" >&5 | 11914 | echo "$as_me:11914: result: $ac_cv_have_u_int" >&5 |
11760 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 | 11915 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 |
11761 | if test "x$ac_cv_have_u_int" = "xyes" ; then | 11916 | if test "x$ac_cv_have_u_int" = "xyes" ; then |
11762 | cat >>confdefs.h <<\EOF | 11917 | cat >>confdefs.h <<\EOF |
@@ -11766,14 +11921,14 @@ EOF | |||
11766 | have_u_int=1 | 11921 | have_u_int=1 |
11767 | fi | 11922 | fi |
11768 | 11923 | ||
11769 | echo "$as_me:11769: checking for intXX_t types" >&5 | 11924 | echo "$as_me:11924: checking for intXX_t types" >&5 |
11770 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 | 11925 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 |
11771 | if test "${ac_cv_have_intxx_t+set}" = set; then | 11926 | if test "${ac_cv_have_intxx_t+set}" = set; then |
11772 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11773 | else | 11928 | else |
11774 | 11929 | ||
11775 | cat >conftest.$ac_ext <<_ACEOF | 11930 | cat >conftest.$ac_ext <<_ACEOF |
11776 | #line 11776 "configure" | 11931 | #line 11931 "configure" |
11777 | #include "confdefs.h" | 11932 | #include "confdefs.h" |
11778 | #include <sys/types.h> | 11933 | #include <sys/types.h> |
11779 | int | 11934 | int |
@@ -11785,16 +11940,16 @@ main () | |||
11785 | } | 11940 | } |
11786 | _ACEOF | 11941 | _ACEOF |
11787 | rm -f conftest.$ac_objext | 11942 | rm -f conftest.$ac_objext |
11788 | if { (eval echo "$as_me:11788: \"$ac_compile\"") >&5 | 11943 | if { (eval echo "$as_me:11943: \"$ac_compile\"") >&5 |
11789 | (eval $ac_compile) 2>&5 | 11944 | (eval $ac_compile) 2>&5 |
11790 | ac_status=$? | 11945 | ac_status=$? |
11791 | echo "$as_me:11791: \$? = $ac_status" >&5 | 11946 | echo "$as_me:11946: \$? = $ac_status" >&5 |
11792 | (exit $ac_status); } && | 11947 | (exit $ac_status); } && |
11793 | { ac_try='test -s conftest.$ac_objext' | 11948 | { ac_try='test -s conftest.$ac_objext' |
11794 | { (eval echo "$as_me:11794: \"$ac_try\"") >&5 | 11949 | { (eval echo "$as_me:11949: \"$ac_try\"") >&5 |
11795 | (eval $ac_try) 2>&5 | 11950 | (eval $ac_try) 2>&5 |
11796 | ac_status=$? | 11951 | ac_status=$? |
11797 | echo "$as_me:11797: \$? = $ac_status" >&5 | 11952 | echo "$as_me:11952: \$? = $ac_status" >&5 |
11798 | (exit $ac_status); }; }; then | 11953 | (exit $ac_status); }; }; then |
11799 | ac_cv_have_intxx_t="yes" | 11954 | ac_cv_have_intxx_t="yes" |
11800 | else | 11955 | else |
@@ -11806,7 +11961,7 @@ fi | |||
11806 | rm -f conftest.$ac_objext conftest.$ac_ext | 11961 | rm -f conftest.$ac_objext conftest.$ac_ext |
11807 | 11962 | ||
11808 | fi | 11963 | fi |
11809 | echo "$as_me:11809: result: $ac_cv_have_intxx_t" >&5 | 11964 | echo "$as_me:11964: result: $ac_cv_have_intxx_t" >&5 |
11810 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 | 11965 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 |
11811 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | 11966 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then |
11812 | cat >>confdefs.h <<\EOF | 11967 | cat >>confdefs.h <<\EOF |
@@ -11819,10 +11974,10 @@ fi | |||
11819 | if (test -z "$have_intxx_t" && \ | 11974 | if (test -z "$have_intxx_t" && \ |
11820 | test "x$ac_cv_header_stdint_h" = "xyes") | 11975 | test "x$ac_cv_header_stdint_h" = "xyes") |
11821 | then | 11976 | then |
11822 | echo "$as_me:11822: checking for intXX_t types in stdint.h" >&5 | 11977 | echo "$as_me:11977: checking for intXX_t types in stdint.h" >&5 |
11823 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 | 11978 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 |
11824 | cat >conftest.$ac_ext <<_ACEOF | 11979 | cat >conftest.$ac_ext <<_ACEOF |
11825 | #line 11825 "configure" | 11980 | #line 11980 "configure" |
11826 | #include "confdefs.h" | 11981 | #include "confdefs.h" |
11827 | #include <stdint.h> | 11982 | #include <stdint.h> |
11828 | int | 11983 | int |
@@ -11834,43 +11989,43 @@ main () | |||
11834 | } | 11989 | } |
11835 | _ACEOF | 11990 | _ACEOF |
11836 | rm -f conftest.$ac_objext | 11991 | rm -f conftest.$ac_objext |
11837 | if { (eval echo "$as_me:11837: \"$ac_compile\"") >&5 | 11992 | if { (eval echo "$as_me:11992: \"$ac_compile\"") >&5 |
11838 | (eval $ac_compile) 2>&5 | 11993 | (eval $ac_compile) 2>&5 |
11839 | ac_status=$? | 11994 | ac_status=$? |
11840 | echo "$as_me:11840: \$? = $ac_status" >&5 | 11995 | echo "$as_me:11995: \$? = $ac_status" >&5 |
11841 | (exit $ac_status); } && | 11996 | (exit $ac_status); } && |
11842 | { ac_try='test -s conftest.$ac_objext' | 11997 | { ac_try='test -s conftest.$ac_objext' |
11843 | { (eval echo "$as_me:11843: \"$ac_try\"") >&5 | 11998 | { (eval echo "$as_me:11998: \"$ac_try\"") >&5 |
11844 | (eval $ac_try) 2>&5 | 11999 | (eval $ac_try) 2>&5 |
11845 | ac_status=$? | 12000 | ac_status=$? |
11846 | echo "$as_me:11846: \$? = $ac_status" >&5 | 12001 | echo "$as_me:12001: \$? = $ac_status" >&5 |
11847 | (exit $ac_status); }; }; then | 12002 | (exit $ac_status); }; }; then |
11848 | 12003 | ||
11849 | cat >>confdefs.h <<\EOF | 12004 | cat >>confdefs.h <<\EOF |
11850 | #define HAVE_INTXX_T 1 | 12005 | #define HAVE_INTXX_T 1 |
11851 | EOF | 12006 | EOF |
11852 | 12007 | ||
11853 | echo "$as_me:11853: result: yes" >&5 | 12008 | echo "$as_me:12008: result: yes" >&5 |
11854 | echo "${ECHO_T}yes" >&6 | 12009 | echo "${ECHO_T}yes" >&6 |
11855 | 12010 | ||
11856 | else | 12011 | else |
11857 | echo "$as_me: failed program was:" >&5 | 12012 | echo "$as_me: failed program was:" >&5 |
11858 | cat conftest.$ac_ext >&5 | 12013 | cat conftest.$ac_ext >&5 |
11859 | echo "$as_me:11859: result: no" >&5 | 12014 | echo "$as_me:12014: result: no" >&5 |
11860 | echo "${ECHO_T}no" >&6 | 12015 | echo "${ECHO_T}no" >&6 |
11861 | 12016 | ||
11862 | fi | 12017 | fi |
11863 | rm -f conftest.$ac_objext conftest.$ac_ext | 12018 | rm -f conftest.$ac_objext conftest.$ac_ext |
11864 | fi | 12019 | fi |
11865 | 12020 | ||
11866 | echo "$as_me:11866: checking for int64_t type" >&5 | 12021 | echo "$as_me:12021: checking for int64_t type" >&5 |
11867 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 | 12022 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 |
11868 | if test "${ac_cv_have_int64_t+set}" = set; then | 12023 | if test "${ac_cv_have_int64_t+set}" = set; then |
11869 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12024 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11870 | else | 12025 | else |
11871 | 12026 | ||
11872 | cat >conftest.$ac_ext <<_ACEOF | 12027 | cat >conftest.$ac_ext <<_ACEOF |
11873 | #line 11873 "configure" | 12028 | #line 12028 "configure" |
11874 | #include "confdefs.h" | 12029 | #include "confdefs.h" |
11875 | 12030 | ||
11876 | #include <sys/types.h> | 12031 | #include <sys/types.h> |
@@ -11891,16 +12046,16 @@ main () | |||
11891 | } | 12046 | } |
11892 | _ACEOF | 12047 | _ACEOF |
11893 | rm -f conftest.$ac_objext | 12048 | rm -f conftest.$ac_objext |
11894 | if { (eval echo "$as_me:11894: \"$ac_compile\"") >&5 | 12049 | if { (eval echo "$as_me:12049: \"$ac_compile\"") >&5 |
11895 | (eval $ac_compile) 2>&5 | 12050 | (eval $ac_compile) 2>&5 |
11896 | ac_status=$? | 12051 | ac_status=$? |
11897 | echo "$as_me:11897: \$? = $ac_status" >&5 | 12052 | echo "$as_me:12052: \$? = $ac_status" >&5 |
11898 | (exit $ac_status); } && | 12053 | (exit $ac_status); } && |
11899 | { ac_try='test -s conftest.$ac_objext' | 12054 | { ac_try='test -s conftest.$ac_objext' |
11900 | { (eval echo "$as_me:11900: \"$ac_try\"") >&5 | 12055 | { (eval echo "$as_me:12055: \"$ac_try\"") >&5 |
11901 | (eval $ac_try) 2>&5 | 12056 | (eval $ac_try) 2>&5 |
11902 | ac_status=$? | 12057 | ac_status=$? |
11903 | echo "$as_me:11903: \$? = $ac_status" >&5 | 12058 | echo "$as_me:12058: \$? = $ac_status" >&5 |
11904 | (exit $ac_status); }; }; then | 12059 | (exit $ac_status); }; }; then |
11905 | ac_cv_have_int64_t="yes" | 12060 | ac_cv_have_int64_t="yes" |
11906 | else | 12061 | else |
@@ -11912,7 +12067,7 @@ fi | |||
11912 | rm -f conftest.$ac_objext conftest.$ac_ext | 12067 | rm -f conftest.$ac_objext conftest.$ac_ext |
11913 | 12068 | ||
11914 | fi | 12069 | fi |
11915 | echo "$as_me:11915: result: $ac_cv_have_int64_t" >&5 | 12070 | echo "$as_me:12070: result: $ac_cv_have_int64_t" >&5 |
11916 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 | 12071 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 |
11917 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | 12072 | if test "x$ac_cv_have_int64_t" = "xyes" ; then |
11918 | cat >>confdefs.h <<\EOF | 12073 | cat >>confdefs.h <<\EOF |
@@ -11921,14 +12076,14 @@ EOF | |||
11921 | 12076 | ||
11922 | fi | 12077 | fi |
11923 | 12078 | ||
11924 | echo "$as_me:11924: checking for u_intXX_t types" >&5 | 12079 | echo "$as_me:12079: checking for u_intXX_t types" >&5 |
11925 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 | 12080 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 |
11926 | if test "${ac_cv_have_u_intxx_t+set}" = set; then | 12081 | if test "${ac_cv_have_u_intxx_t+set}" = set; then |
11927 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12082 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11928 | else | 12083 | else |
11929 | 12084 | ||
11930 | cat >conftest.$ac_ext <<_ACEOF | 12085 | cat >conftest.$ac_ext <<_ACEOF |
11931 | #line 11931 "configure" | 12086 | #line 12086 "configure" |
11932 | #include "confdefs.h" | 12087 | #include "confdefs.h" |
11933 | #include <sys/types.h> | 12088 | #include <sys/types.h> |
11934 | int | 12089 | int |
@@ -11940,16 +12095,16 @@ main () | |||
11940 | } | 12095 | } |
11941 | _ACEOF | 12096 | _ACEOF |
11942 | rm -f conftest.$ac_objext | 12097 | rm -f conftest.$ac_objext |
11943 | if { (eval echo "$as_me:11943: \"$ac_compile\"") >&5 | 12098 | if { (eval echo "$as_me:12098: \"$ac_compile\"") >&5 |
11944 | (eval $ac_compile) 2>&5 | 12099 | (eval $ac_compile) 2>&5 |
11945 | ac_status=$? | 12100 | ac_status=$? |
11946 | echo "$as_me:11946: \$? = $ac_status" >&5 | 12101 | echo "$as_me:12101: \$? = $ac_status" >&5 |
11947 | (exit $ac_status); } && | 12102 | (exit $ac_status); } && |
11948 | { ac_try='test -s conftest.$ac_objext' | 12103 | { ac_try='test -s conftest.$ac_objext' |
11949 | { (eval echo "$as_me:11949: \"$ac_try\"") >&5 | 12104 | { (eval echo "$as_me:12104: \"$ac_try\"") >&5 |
11950 | (eval $ac_try) 2>&5 | 12105 | (eval $ac_try) 2>&5 |
11951 | ac_status=$? | 12106 | ac_status=$? |
11952 | echo "$as_me:11952: \$? = $ac_status" >&5 | 12107 | echo "$as_me:12107: \$? = $ac_status" >&5 |
11953 | (exit $ac_status); }; }; then | 12108 | (exit $ac_status); }; }; then |
11954 | ac_cv_have_u_intxx_t="yes" | 12109 | ac_cv_have_u_intxx_t="yes" |
11955 | else | 12110 | else |
@@ -11961,7 +12116,7 @@ fi | |||
11961 | rm -f conftest.$ac_objext conftest.$ac_ext | 12116 | rm -f conftest.$ac_objext conftest.$ac_ext |
11962 | 12117 | ||
11963 | fi | 12118 | fi |
11964 | echo "$as_me:11964: result: $ac_cv_have_u_intxx_t" >&5 | 12119 | echo "$as_me:12119: result: $ac_cv_have_u_intxx_t" >&5 |
11965 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 | 12120 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 |
11966 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | 12121 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then |
11967 | cat >>confdefs.h <<\EOF | 12122 | cat >>confdefs.h <<\EOF |
@@ -11972,10 +12127,10 @@ EOF | |||
11972 | fi | 12127 | fi |
11973 | 12128 | ||
11974 | if test -z "$have_u_intxx_t" ; then | 12129 | if test -z "$have_u_intxx_t" ; then |
11975 | echo "$as_me:11975: checking for u_intXX_t types in sys/socket.h" >&5 | 12130 | echo "$as_me:12130: checking for u_intXX_t types in sys/socket.h" >&5 |
11976 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 | 12131 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 |
11977 | cat >conftest.$ac_ext <<_ACEOF | 12132 | cat >conftest.$ac_ext <<_ACEOF |
11978 | #line 11978 "configure" | 12133 | #line 12133 "configure" |
11979 | #include "confdefs.h" | 12134 | #include "confdefs.h" |
11980 | #include <sys/socket.h> | 12135 | #include <sys/socket.h> |
11981 | int | 12136 | int |
@@ -11987,43 +12142,43 @@ main () | |||
11987 | } | 12142 | } |
11988 | _ACEOF | 12143 | _ACEOF |
11989 | rm -f conftest.$ac_objext | 12144 | rm -f conftest.$ac_objext |
11990 | if { (eval echo "$as_me:11990: \"$ac_compile\"") >&5 | 12145 | if { (eval echo "$as_me:12145: \"$ac_compile\"") >&5 |
11991 | (eval $ac_compile) 2>&5 | 12146 | (eval $ac_compile) 2>&5 |
11992 | ac_status=$? | 12147 | ac_status=$? |
11993 | echo "$as_me:11993: \$? = $ac_status" >&5 | 12148 | echo "$as_me:12148: \$? = $ac_status" >&5 |
11994 | (exit $ac_status); } && | 12149 | (exit $ac_status); } && |
11995 | { ac_try='test -s conftest.$ac_objext' | 12150 | { ac_try='test -s conftest.$ac_objext' |
11996 | { (eval echo "$as_me:11996: \"$ac_try\"") >&5 | 12151 | { (eval echo "$as_me:12151: \"$ac_try\"") >&5 |
11997 | (eval $ac_try) 2>&5 | 12152 | (eval $ac_try) 2>&5 |
11998 | ac_status=$? | 12153 | ac_status=$? |
11999 | echo "$as_me:11999: \$? = $ac_status" >&5 | 12154 | echo "$as_me:12154: \$? = $ac_status" >&5 |
12000 | (exit $ac_status); }; }; then | 12155 | (exit $ac_status); }; }; then |
12001 | 12156 | ||
12002 | cat >>confdefs.h <<\EOF | 12157 | cat >>confdefs.h <<\EOF |
12003 | #define HAVE_U_INTXX_T 1 | 12158 | #define HAVE_U_INTXX_T 1 |
12004 | EOF | 12159 | EOF |
12005 | 12160 | ||
12006 | echo "$as_me:12006: result: yes" >&5 | 12161 | echo "$as_me:12161: result: yes" >&5 |
12007 | echo "${ECHO_T}yes" >&6 | 12162 | echo "${ECHO_T}yes" >&6 |
12008 | 12163 | ||
12009 | else | 12164 | else |
12010 | echo "$as_me: failed program was:" >&5 | 12165 | echo "$as_me: failed program was:" >&5 |
12011 | cat conftest.$ac_ext >&5 | 12166 | cat conftest.$ac_ext >&5 |
12012 | echo "$as_me:12012: result: no" >&5 | 12167 | echo "$as_me:12167: result: no" >&5 |
12013 | echo "${ECHO_T}no" >&6 | 12168 | echo "${ECHO_T}no" >&6 |
12014 | 12169 | ||
12015 | fi | 12170 | fi |
12016 | rm -f conftest.$ac_objext conftest.$ac_ext | 12171 | rm -f conftest.$ac_objext conftest.$ac_ext |
12017 | fi | 12172 | fi |
12018 | 12173 | ||
12019 | echo "$as_me:12019: checking for u_int64_t types" >&5 | 12174 | echo "$as_me:12174: checking for u_int64_t types" >&5 |
12020 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 | 12175 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 |
12021 | if test "${ac_cv_have_u_int64_t+set}" = set; then | 12176 | if test "${ac_cv_have_u_int64_t+set}" = set; then |
12022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12023 | else | 12178 | else |
12024 | 12179 | ||
12025 | cat >conftest.$ac_ext <<_ACEOF | 12180 | cat >conftest.$ac_ext <<_ACEOF |
12026 | #line 12026 "configure" | 12181 | #line 12181 "configure" |
12027 | #include "confdefs.h" | 12182 | #include "confdefs.h" |
12028 | #include <sys/types.h> | 12183 | #include <sys/types.h> |
12029 | int | 12184 | int |
@@ -12035,16 +12190,16 @@ main () | |||
12035 | } | 12190 | } |
12036 | _ACEOF | 12191 | _ACEOF |
12037 | rm -f conftest.$ac_objext | 12192 | rm -f conftest.$ac_objext |
12038 | if { (eval echo "$as_me:12038: \"$ac_compile\"") >&5 | 12193 | if { (eval echo "$as_me:12193: \"$ac_compile\"") >&5 |
12039 | (eval $ac_compile) 2>&5 | 12194 | (eval $ac_compile) 2>&5 |
12040 | ac_status=$? | 12195 | ac_status=$? |
12041 | echo "$as_me:12041: \$? = $ac_status" >&5 | 12196 | echo "$as_me:12196: \$? = $ac_status" >&5 |
12042 | (exit $ac_status); } && | 12197 | (exit $ac_status); } && |
12043 | { ac_try='test -s conftest.$ac_objext' | 12198 | { ac_try='test -s conftest.$ac_objext' |
12044 | { (eval echo "$as_me:12044: \"$ac_try\"") >&5 | 12199 | { (eval echo "$as_me:12199: \"$ac_try\"") >&5 |
12045 | (eval $ac_try) 2>&5 | 12200 | (eval $ac_try) 2>&5 |
12046 | ac_status=$? | 12201 | ac_status=$? |
12047 | echo "$as_me:12047: \$? = $ac_status" >&5 | 12202 | echo "$as_me:12202: \$? = $ac_status" >&5 |
12048 | (exit $ac_status); }; }; then | 12203 | (exit $ac_status); }; }; then |
12049 | ac_cv_have_u_int64_t="yes" | 12204 | ac_cv_have_u_int64_t="yes" |
12050 | else | 12205 | else |
@@ -12056,7 +12211,7 @@ fi | |||
12056 | rm -f conftest.$ac_objext conftest.$ac_ext | 12211 | rm -f conftest.$ac_objext conftest.$ac_ext |
12057 | 12212 | ||
12058 | fi | 12213 | fi |
12059 | echo "$as_me:12059: result: $ac_cv_have_u_int64_t" >&5 | 12214 | echo "$as_me:12214: result: $ac_cv_have_u_int64_t" >&5 |
12060 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 | 12215 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 |
12061 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | 12216 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then |
12062 | cat >>confdefs.h <<\EOF | 12217 | cat >>confdefs.h <<\EOF |
@@ -12067,10 +12222,10 @@ EOF | |||
12067 | fi | 12222 | fi |
12068 | 12223 | ||
12069 | if test -z "$have_u_int64_t" ; then | 12224 | if test -z "$have_u_int64_t" ; then |
12070 | echo "$as_me:12070: checking for u_int64_t type in sys/bitypes.h" >&5 | 12225 | echo "$as_me:12225: checking for u_int64_t type in sys/bitypes.h" >&5 |
12071 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 | 12226 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 |
12072 | cat >conftest.$ac_ext <<_ACEOF | 12227 | cat >conftest.$ac_ext <<_ACEOF |
12073 | #line 12073 "configure" | 12228 | #line 12228 "configure" |
12074 | #include "confdefs.h" | 12229 | #include "confdefs.h" |
12075 | #include <sys/bitypes.h> | 12230 | #include <sys/bitypes.h> |
12076 | int | 12231 | int |
@@ -12082,29 +12237,29 @@ main () | |||
12082 | } | 12237 | } |
12083 | _ACEOF | 12238 | _ACEOF |
12084 | rm -f conftest.$ac_objext | 12239 | rm -f conftest.$ac_objext |
12085 | if { (eval echo "$as_me:12085: \"$ac_compile\"") >&5 | 12240 | if { (eval echo "$as_me:12240: \"$ac_compile\"") >&5 |
12086 | (eval $ac_compile) 2>&5 | 12241 | (eval $ac_compile) 2>&5 |
12087 | ac_status=$? | 12242 | ac_status=$? |
12088 | echo "$as_me:12088: \$? = $ac_status" >&5 | 12243 | echo "$as_me:12243: \$? = $ac_status" >&5 |
12089 | (exit $ac_status); } && | 12244 | (exit $ac_status); } && |
12090 | { ac_try='test -s conftest.$ac_objext' | 12245 | { ac_try='test -s conftest.$ac_objext' |
12091 | { (eval echo "$as_me:12091: \"$ac_try\"") >&5 | 12246 | { (eval echo "$as_me:12246: \"$ac_try\"") >&5 |
12092 | (eval $ac_try) 2>&5 | 12247 | (eval $ac_try) 2>&5 |
12093 | ac_status=$? | 12248 | ac_status=$? |
12094 | echo "$as_me:12094: \$? = $ac_status" >&5 | 12249 | echo "$as_me:12249: \$? = $ac_status" >&5 |
12095 | (exit $ac_status); }; }; then | 12250 | (exit $ac_status); }; }; then |
12096 | 12251 | ||
12097 | cat >>confdefs.h <<\EOF | 12252 | cat >>confdefs.h <<\EOF |
12098 | #define HAVE_U_INT64_T 1 | 12253 | #define HAVE_U_INT64_T 1 |
12099 | EOF | 12254 | EOF |
12100 | 12255 | ||
12101 | echo "$as_me:12101: result: yes" >&5 | 12256 | echo "$as_me:12256: result: yes" >&5 |
12102 | echo "${ECHO_T}yes" >&6 | 12257 | echo "${ECHO_T}yes" >&6 |
12103 | 12258 | ||
12104 | else | 12259 | else |
12105 | echo "$as_me: failed program was:" >&5 | 12260 | echo "$as_me: failed program was:" >&5 |
12106 | cat conftest.$ac_ext >&5 | 12261 | cat conftest.$ac_ext >&5 |
12107 | echo "$as_me:12107: result: no" >&5 | 12262 | echo "$as_me:12262: result: no" >&5 |
12108 | echo "${ECHO_T}no" >&6 | 12263 | echo "${ECHO_T}no" >&6 |
12109 | 12264 | ||
12110 | fi | 12265 | fi |
@@ -12112,14 +12267,14 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
12112 | fi | 12267 | fi |
12113 | 12268 | ||
12114 | if test -z "$have_u_intxx_t" ; then | 12269 | if test -z "$have_u_intxx_t" ; then |
12115 | echo "$as_me:12115: checking for uintXX_t types" >&5 | 12270 | echo "$as_me:12270: checking for uintXX_t types" >&5 |
12116 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 | 12271 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 |
12117 | if test "${ac_cv_have_uintxx_t+set}" = set; then | 12272 | if test "${ac_cv_have_uintxx_t+set}" = set; then |
12118 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12273 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12119 | else | 12274 | else |
12120 | 12275 | ||
12121 | cat >conftest.$ac_ext <<_ACEOF | 12276 | cat >conftest.$ac_ext <<_ACEOF |
12122 | #line 12122 "configure" | 12277 | #line 12277 "configure" |
12123 | #include "confdefs.h" | 12278 | #include "confdefs.h" |
12124 | 12279 | ||
12125 | #include <sys/types.h> | 12280 | #include <sys/types.h> |
@@ -12133,16 +12288,16 @@ main () | |||
12133 | } | 12288 | } |
12134 | _ACEOF | 12289 | _ACEOF |
12135 | rm -f conftest.$ac_objext | 12290 | rm -f conftest.$ac_objext |
12136 | if { (eval echo "$as_me:12136: \"$ac_compile\"") >&5 | 12291 | if { (eval echo "$as_me:12291: \"$ac_compile\"") >&5 |
12137 | (eval $ac_compile) 2>&5 | 12292 | (eval $ac_compile) 2>&5 |
12138 | ac_status=$? | 12293 | ac_status=$? |
12139 | echo "$as_me:12139: \$? = $ac_status" >&5 | 12294 | echo "$as_me:12294: \$? = $ac_status" >&5 |
12140 | (exit $ac_status); } && | 12295 | (exit $ac_status); } && |
12141 | { ac_try='test -s conftest.$ac_objext' | 12296 | { ac_try='test -s conftest.$ac_objext' |
12142 | { (eval echo "$as_me:12142: \"$ac_try\"") >&5 | 12297 | { (eval echo "$as_me:12297: \"$ac_try\"") >&5 |
12143 | (eval $ac_try) 2>&5 | 12298 | (eval $ac_try) 2>&5 |
12144 | ac_status=$? | 12299 | ac_status=$? |
12145 | echo "$as_me:12145: \$? = $ac_status" >&5 | 12300 | echo "$as_me:12300: \$? = $ac_status" >&5 |
12146 | (exit $ac_status); }; }; then | 12301 | (exit $ac_status); }; }; then |
12147 | ac_cv_have_uintxx_t="yes" | 12302 | ac_cv_have_uintxx_t="yes" |
12148 | else | 12303 | else |
@@ -12154,7 +12309,7 @@ fi | |||
12154 | rm -f conftest.$ac_objext conftest.$ac_ext | 12309 | rm -f conftest.$ac_objext conftest.$ac_ext |
12155 | 12310 | ||
12156 | fi | 12311 | fi |
12157 | echo "$as_me:12157: result: $ac_cv_have_uintxx_t" >&5 | 12312 | echo "$as_me:12312: result: $ac_cv_have_uintxx_t" >&5 |
12158 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 | 12313 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 |
12159 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then | 12314 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then |
12160 | cat >>confdefs.h <<\EOF | 12315 | cat >>confdefs.h <<\EOF |
@@ -12165,10 +12320,10 @@ EOF | |||
12165 | fi | 12320 | fi |
12166 | 12321 | ||
12167 | if test -z "$have_uintxx_t" ; then | 12322 | if test -z "$have_uintxx_t" ; then |
12168 | echo "$as_me:12168: checking for uintXX_t types in stdint.h" >&5 | 12323 | echo "$as_me:12323: checking for uintXX_t types in stdint.h" >&5 |
12169 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 | 12324 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 |
12170 | cat >conftest.$ac_ext <<_ACEOF | 12325 | cat >conftest.$ac_ext <<_ACEOF |
12171 | #line 12171 "configure" | 12326 | #line 12326 "configure" |
12172 | #include "confdefs.h" | 12327 | #include "confdefs.h" |
12173 | #include <stdint.h> | 12328 | #include <stdint.h> |
12174 | int | 12329 | int |
@@ -12180,29 +12335,29 @@ main () | |||
12180 | } | 12335 | } |
12181 | _ACEOF | 12336 | _ACEOF |
12182 | rm -f conftest.$ac_objext | 12337 | rm -f conftest.$ac_objext |
12183 | if { (eval echo "$as_me:12183: \"$ac_compile\"") >&5 | 12338 | if { (eval echo "$as_me:12338: \"$ac_compile\"") >&5 |
12184 | (eval $ac_compile) 2>&5 | 12339 | (eval $ac_compile) 2>&5 |
12185 | ac_status=$? | 12340 | ac_status=$? |
12186 | echo "$as_me:12186: \$? = $ac_status" >&5 | 12341 | echo "$as_me:12341: \$? = $ac_status" >&5 |
12187 | (exit $ac_status); } && | 12342 | (exit $ac_status); } && |
12188 | { ac_try='test -s conftest.$ac_objext' | 12343 | { ac_try='test -s conftest.$ac_objext' |
12189 | { (eval echo "$as_me:12189: \"$ac_try\"") >&5 | 12344 | { (eval echo "$as_me:12344: \"$ac_try\"") >&5 |
12190 | (eval $ac_try) 2>&5 | 12345 | (eval $ac_try) 2>&5 |
12191 | ac_status=$? | 12346 | ac_status=$? |
12192 | echo "$as_me:12192: \$? = $ac_status" >&5 | 12347 | echo "$as_me:12347: \$? = $ac_status" >&5 |
12193 | (exit $ac_status); }; }; then | 12348 | (exit $ac_status); }; }; then |
12194 | 12349 | ||
12195 | cat >>confdefs.h <<\EOF | 12350 | cat >>confdefs.h <<\EOF |
12196 | #define HAVE_UINTXX_T 1 | 12351 | #define HAVE_UINTXX_T 1 |
12197 | EOF | 12352 | EOF |
12198 | 12353 | ||
12199 | echo "$as_me:12199: result: yes" >&5 | 12354 | echo "$as_me:12354: result: yes" >&5 |
12200 | echo "${ECHO_T}yes" >&6 | 12355 | echo "${ECHO_T}yes" >&6 |
12201 | 12356 | ||
12202 | else | 12357 | else |
12203 | echo "$as_me: failed program was:" >&5 | 12358 | echo "$as_me: failed program was:" >&5 |
12204 | cat conftest.$ac_ext >&5 | 12359 | cat conftest.$ac_ext >&5 |
12205 | echo "$as_me:12205: result: no" >&5 | 12360 | echo "$as_me:12360: result: no" >&5 |
12206 | echo "${ECHO_T}no" >&6 | 12361 | echo "${ECHO_T}no" >&6 |
12207 | 12362 | ||
12208 | fi | 12363 | fi |
@@ -12212,10 +12367,10 @@ fi | |||
12212 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | 12367 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ |
12213 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | 12368 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") |
12214 | then | 12369 | then |
12215 | echo "$as_me:12215: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 | 12370 | echo "$as_me:12370: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 |
12216 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 | 12371 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 |
12217 | cat >conftest.$ac_ext <<_ACEOF | 12372 | cat >conftest.$ac_ext <<_ACEOF |
12218 | #line 12218 "configure" | 12373 | #line 12373 "configure" |
12219 | #include "confdefs.h" | 12374 | #include "confdefs.h" |
12220 | 12375 | ||
12221 | #include <sys/bitypes.h> | 12376 | #include <sys/bitypes.h> |
@@ -12233,16 +12388,16 @@ main () | |||
12233 | } | 12388 | } |
12234 | _ACEOF | 12389 | _ACEOF |
12235 | rm -f conftest.$ac_objext | 12390 | rm -f conftest.$ac_objext |
12236 | if { (eval echo "$as_me:12236: \"$ac_compile\"") >&5 | 12391 | if { (eval echo "$as_me:12391: \"$ac_compile\"") >&5 |
12237 | (eval $ac_compile) 2>&5 | 12392 | (eval $ac_compile) 2>&5 |
12238 | ac_status=$? | 12393 | ac_status=$? |
12239 | echo "$as_me:12239: \$? = $ac_status" >&5 | 12394 | echo "$as_me:12394: \$? = $ac_status" >&5 |
12240 | (exit $ac_status); } && | 12395 | (exit $ac_status); } && |
12241 | { ac_try='test -s conftest.$ac_objext' | 12396 | { ac_try='test -s conftest.$ac_objext' |
12242 | { (eval echo "$as_me:12242: \"$ac_try\"") >&5 | 12397 | { (eval echo "$as_me:12397: \"$ac_try\"") >&5 |
12243 | (eval $ac_try) 2>&5 | 12398 | (eval $ac_try) 2>&5 |
12244 | ac_status=$? | 12399 | ac_status=$? |
12245 | echo "$as_me:12245: \$? = $ac_status" >&5 | 12400 | echo "$as_me:12400: \$? = $ac_status" >&5 |
12246 | (exit $ac_status); }; }; then | 12401 | (exit $ac_status); }; }; then |
12247 | 12402 | ||
12248 | cat >>confdefs.h <<\EOF | 12403 | cat >>confdefs.h <<\EOF |
@@ -12253,27 +12408,27 @@ EOF | |||
12253 | #define HAVE_INTXX_T 1 | 12408 | #define HAVE_INTXX_T 1 |
12254 | EOF | 12409 | EOF |
12255 | 12410 | ||
12256 | echo "$as_me:12256: result: yes" >&5 | 12411 | echo "$as_me:12411: result: yes" >&5 |
12257 | echo "${ECHO_T}yes" >&6 | 12412 | echo "${ECHO_T}yes" >&6 |
12258 | 12413 | ||
12259 | else | 12414 | else |
12260 | echo "$as_me: failed program was:" >&5 | 12415 | echo "$as_me: failed program was:" >&5 |
12261 | cat conftest.$ac_ext >&5 | 12416 | cat conftest.$ac_ext >&5 |
12262 | echo "$as_me:12262: result: no" >&5 | 12417 | echo "$as_me:12417: result: no" >&5 |
12263 | echo "${ECHO_T}no" >&6 | 12418 | echo "${ECHO_T}no" >&6 |
12264 | 12419 | ||
12265 | fi | 12420 | fi |
12266 | rm -f conftest.$ac_objext conftest.$ac_ext | 12421 | rm -f conftest.$ac_objext conftest.$ac_ext |
12267 | fi | 12422 | fi |
12268 | 12423 | ||
12269 | echo "$as_me:12269: checking for u_char" >&5 | 12424 | echo "$as_me:12424: checking for u_char" >&5 |
12270 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 | 12425 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 |
12271 | if test "${ac_cv_have_u_char+set}" = set; then | 12426 | if test "${ac_cv_have_u_char+set}" = set; then |
12272 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12427 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12273 | else | 12428 | else |
12274 | 12429 | ||
12275 | cat >conftest.$ac_ext <<_ACEOF | 12430 | cat >conftest.$ac_ext <<_ACEOF |
12276 | #line 12276 "configure" | 12431 | #line 12431 "configure" |
12277 | #include "confdefs.h" | 12432 | #include "confdefs.h" |
12278 | 12433 | ||
12279 | #include <sys/types.h> | 12434 | #include <sys/types.h> |
@@ -12287,16 +12442,16 @@ main () | |||
12287 | } | 12442 | } |
12288 | _ACEOF | 12443 | _ACEOF |
12289 | rm -f conftest.$ac_objext | 12444 | rm -f conftest.$ac_objext |
12290 | if { (eval echo "$as_me:12290: \"$ac_compile\"") >&5 | 12445 | if { (eval echo "$as_me:12445: \"$ac_compile\"") >&5 |
12291 | (eval $ac_compile) 2>&5 | 12446 | (eval $ac_compile) 2>&5 |
12292 | ac_status=$? | 12447 | ac_status=$? |
12293 | echo "$as_me:12293: \$? = $ac_status" >&5 | 12448 | echo "$as_me:12448: \$? = $ac_status" >&5 |
12294 | (exit $ac_status); } && | 12449 | (exit $ac_status); } && |
12295 | { ac_try='test -s conftest.$ac_objext' | 12450 | { ac_try='test -s conftest.$ac_objext' |
12296 | { (eval echo "$as_me:12296: \"$ac_try\"") >&5 | 12451 | { (eval echo "$as_me:12451: \"$ac_try\"") >&5 |
12297 | (eval $ac_try) 2>&5 | 12452 | (eval $ac_try) 2>&5 |
12298 | ac_status=$? | 12453 | ac_status=$? |
12299 | echo "$as_me:12299: \$? = $ac_status" >&5 | 12454 | echo "$as_me:12454: \$? = $ac_status" >&5 |
12300 | (exit $ac_status); }; }; then | 12455 | (exit $ac_status); }; }; then |
12301 | ac_cv_have_u_char="yes" | 12456 | ac_cv_have_u_char="yes" |
12302 | else | 12457 | else |
@@ -12308,7 +12463,7 @@ fi | |||
12308 | rm -f conftest.$ac_objext conftest.$ac_ext | 12463 | rm -f conftest.$ac_objext conftest.$ac_ext |
12309 | 12464 | ||
12310 | fi | 12465 | fi |
12311 | echo "$as_me:12311: result: $ac_cv_have_u_char" >&5 | 12466 | echo "$as_me:12466: result: $ac_cv_have_u_char" >&5 |
12312 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 | 12467 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 |
12313 | if test "x$ac_cv_have_u_char" = "xyes" ; then | 12468 | if test "x$ac_cv_have_u_char" = "xyes" ; then |
12314 | cat >>confdefs.h <<\EOF | 12469 | cat >>confdefs.h <<\EOF |
@@ -12317,13 +12472,13 @@ EOF | |||
12317 | 12472 | ||
12318 | fi | 12473 | fi |
12319 | 12474 | ||
12320 | echo "$as_me:12320: checking for socklen_t" >&5 | 12475 | echo "$as_me:12475: checking for socklen_t" >&5 |
12321 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 | 12476 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
12322 | if test "${ac_cv_type_socklen_t+set}" = set; then | 12477 | if test "${ac_cv_type_socklen_t+set}" = set; then |
12323 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12478 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12324 | else | 12479 | else |
12325 | cat >conftest.$ac_ext <<_ACEOF | 12480 | cat >conftest.$ac_ext <<_ACEOF |
12326 | #line 12326 "configure" | 12481 | #line 12481 "configure" |
12327 | #include "confdefs.h" | 12482 | #include "confdefs.h" |
12328 | #include <sys/types.h> | 12483 | #include <sys/types.h> |
12329 | #include <sys/socket.h> | 12484 | #include <sys/socket.h> |
@@ -12340,16 +12495,16 @@ if (sizeof (socklen_t)) | |||
12340 | } | 12495 | } |
12341 | _ACEOF | 12496 | _ACEOF |
12342 | rm -f conftest.$ac_objext | 12497 | rm -f conftest.$ac_objext |
12343 | if { (eval echo "$as_me:12343: \"$ac_compile\"") >&5 | 12498 | if { (eval echo "$as_me:12498: \"$ac_compile\"") >&5 |
12344 | (eval $ac_compile) 2>&5 | 12499 | (eval $ac_compile) 2>&5 |
12345 | ac_status=$? | 12500 | ac_status=$? |
12346 | echo "$as_me:12346: \$? = $ac_status" >&5 | 12501 | echo "$as_me:12501: \$? = $ac_status" >&5 |
12347 | (exit $ac_status); } && | 12502 | (exit $ac_status); } && |
12348 | { ac_try='test -s conftest.$ac_objext' | 12503 | { ac_try='test -s conftest.$ac_objext' |
12349 | { (eval echo "$as_me:12349: \"$ac_try\"") >&5 | 12504 | { (eval echo "$as_me:12504: \"$ac_try\"") >&5 |
12350 | (eval $ac_try) 2>&5 | 12505 | (eval $ac_try) 2>&5 |
12351 | ac_status=$? | 12506 | ac_status=$? |
12352 | echo "$as_me:12352: \$? = $ac_status" >&5 | 12507 | echo "$as_me:12507: \$? = $ac_status" >&5 |
12353 | (exit $ac_status); }; }; then | 12508 | (exit $ac_status); }; }; then |
12354 | ac_cv_type_socklen_t=yes | 12509 | ac_cv_type_socklen_t=yes |
12355 | else | 12510 | else |
@@ -12359,13 +12514,13 @@ ac_cv_type_socklen_t=no | |||
12359 | fi | 12514 | fi |
12360 | rm -f conftest.$ac_objext conftest.$ac_ext | 12515 | rm -f conftest.$ac_objext conftest.$ac_ext |
12361 | fi | 12516 | fi |
12362 | echo "$as_me:12362: result: $ac_cv_type_socklen_t" >&5 | 12517 | echo "$as_me:12517: result: $ac_cv_type_socklen_t" >&5 |
12363 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 | 12518 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
12364 | if test $ac_cv_type_socklen_t = yes; then | 12519 | if test $ac_cv_type_socklen_t = yes; then |
12365 | : | 12520 | : |
12366 | else | 12521 | else |
12367 | 12522 | ||
12368 | echo "$as_me:12368: checking for socklen_t equivalent" >&5 | 12523 | echo "$as_me:12523: checking for socklen_t equivalent" >&5 |
12369 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 | 12524 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 |
12370 | if test "${curl_cv_socklen_t_equiv+set}" = set; then | 12525 | if test "${curl_cv_socklen_t_equiv+set}" = set; then |
12371 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12526 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -12377,7 +12532,7 @@ else | |||
12377 | for arg2 in "struct sockaddr" void; do | 12532 | for arg2 in "struct sockaddr" void; do |
12378 | for t in int size_t unsigned long "unsigned long"; do | 12533 | for t in int size_t unsigned long "unsigned long"; do |
12379 | cat >conftest.$ac_ext <<_ACEOF | 12534 | cat >conftest.$ac_ext <<_ACEOF |
12380 | #line 12380 "configure" | 12535 | #line 12535 "configure" |
12381 | #include "confdefs.h" | 12536 | #include "confdefs.h" |
12382 | 12537 | ||
12383 | #include <sys/types.h> | 12538 | #include <sys/types.h> |
@@ -12397,16 +12552,16 @@ main () | |||
12397 | } | 12552 | } |
12398 | _ACEOF | 12553 | _ACEOF |
12399 | rm -f conftest.$ac_objext | 12554 | rm -f conftest.$ac_objext |
12400 | if { (eval echo "$as_me:12400: \"$ac_compile\"") >&5 | 12555 | if { (eval echo "$as_me:12555: \"$ac_compile\"") >&5 |
12401 | (eval $ac_compile) 2>&5 | 12556 | (eval $ac_compile) 2>&5 |
12402 | ac_status=$? | 12557 | ac_status=$? |
12403 | echo "$as_me:12403: \$? = $ac_status" >&5 | 12558 | echo "$as_me:12558: \$? = $ac_status" >&5 |
12404 | (exit $ac_status); } && | 12559 | (exit $ac_status); } && |
12405 | { ac_try='test -s conftest.$ac_objext' | 12560 | { ac_try='test -s conftest.$ac_objext' |
12406 | { (eval echo "$as_me:12406: \"$ac_try\"") >&5 | 12561 | { (eval echo "$as_me:12561: \"$ac_try\"") >&5 |
12407 | (eval $ac_try) 2>&5 | 12562 | (eval $ac_try) 2>&5 |
12408 | ac_status=$? | 12563 | ac_status=$? |
12409 | echo "$as_me:12409: \$? = $ac_status" >&5 | 12564 | echo "$as_me:12564: \$? = $ac_status" >&5 |
12410 | (exit $ac_status); }; }; then | 12565 | (exit $ac_status); }; }; then |
12411 | 12566 | ||
12412 | curl_cv_socklen_t_equiv="$t" | 12567 | curl_cv_socklen_t_equiv="$t" |
@@ -12421,14 +12576,14 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
12421 | done | 12576 | done |
12422 | 12577 | ||
12423 | if test "x$curl_cv_socklen_t_equiv" = x; then | 12578 | if test "x$curl_cv_socklen_t_equiv" = x; then |
12424 | { { echo "$as_me:12424: error: Cannot find a type to use in place of socklen_t" >&5 | 12579 | { { echo "$as_me:12579: error: Cannot find a type to use in place of socklen_t" >&5 |
12425 | echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} | 12580 | echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} |
12426 | { (exit 1); exit 1; }; } | 12581 | { (exit 1); exit 1; }; } |
12427 | fi | 12582 | fi |
12428 | 12583 | ||
12429 | fi | 12584 | fi |
12430 | 12585 | ||
12431 | echo "$as_me:12431: result: $curl_cv_socklen_t_equiv" >&5 | 12586 | echo "$as_me:12586: result: $curl_cv_socklen_t_equiv" >&5 |
12432 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 | 12587 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 |
12433 | 12588 | ||
12434 | cat >>confdefs.h <<EOF | 12589 | cat >>confdefs.h <<EOF |
@@ -12437,13 +12592,13 @@ EOF | |||
12437 | 12592 | ||
12438 | fi | 12593 | fi |
12439 | 12594 | ||
12440 | echo "$as_me:12440: checking for sig_atomic_t" >&5 | 12595 | echo "$as_me:12595: checking for sig_atomic_t" >&5 |
12441 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 | 12596 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 |
12442 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then | 12597 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then |
12443 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12598 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12444 | else | 12599 | else |
12445 | cat >conftest.$ac_ext <<_ACEOF | 12600 | cat >conftest.$ac_ext <<_ACEOF |
12446 | #line 12446 "configure" | 12601 | #line 12601 "configure" |
12447 | #include "confdefs.h" | 12602 | #include "confdefs.h" |
12448 | #include <signal.h> | 12603 | #include <signal.h> |
12449 | 12604 | ||
@@ -12459,16 +12614,16 @@ if (sizeof (sig_atomic_t)) | |||
12459 | } | 12614 | } |
12460 | _ACEOF | 12615 | _ACEOF |
12461 | rm -f conftest.$ac_objext | 12616 | rm -f conftest.$ac_objext |
12462 | if { (eval echo "$as_me:12462: \"$ac_compile\"") >&5 | 12617 | if { (eval echo "$as_me:12617: \"$ac_compile\"") >&5 |
12463 | (eval $ac_compile) 2>&5 | 12618 | (eval $ac_compile) 2>&5 |
12464 | ac_status=$? | 12619 | ac_status=$? |
12465 | echo "$as_me:12465: \$? = $ac_status" >&5 | 12620 | echo "$as_me:12620: \$? = $ac_status" >&5 |
12466 | (exit $ac_status); } && | 12621 | (exit $ac_status); } && |
12467 | { ac_try='test -s conftest.$ac_objext' | 12622 | { ac_try='test -s conftest.$ac_objext' |
12468 | { (eval echo "$as_me:12468: \"$ac_try\"") >&5 | 12623 | { (eval echo "$as_me:12623: \"$ac_try\"") >&5 |
12469 | (eval $ac_try) 2>&5 | 12624 | (eval $ac_try) 2>&5 |
12470 | ac_status=$? | 12625 | ac_status=$? |
12471 | echo "$as_me:12471: \$? = $ac_status" >&5 | 12626 | echo "$as_me:12626: \$? = $ac_status" >&5 |
12472 | (exit $ac_status); }; }; then | 12627 | (exit $ac_status); }; }; then |
12473 | ac_cv_type_sig_atomic_t=yes | 12628 | ac_cv_type_sig_atomic_t=yes |
12474 | else | 12629 | else |
@@ -12478,7 +12633,7 @@ ac_cv_type_sig_atomic_t=no | |||
12478 | fi | 12633 | fi |
12479 | rm -f conftest.$ac_objext conftest.$ac_ext | 12634 | rm -f conftest.$ac_objext conftest.$ac_ext |
12480 | fi | 12635 | fi |
12481 | echo "$as_me:12481: result: $ac_cv_type_sig_atomic_t" >&5 | 12636 | echo "$as_me:12636: result: $ac_cv_type_sig_atomic_t" >&5 |
12482 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 | 12637 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 |
12483 | if test $ac_cv_type_sig_atomic_t = yes; then | 12638 | if test $ac_cv_type_sig_atomic_t = yes; then |
12484 | 12639 | ||
@@ -12488,14 +12643,14 @@ EOF | |||
12488 | 12643 | ||
12489 | fi | 12644 | fi |
12490 | 12645 | ||
12491 | echo "$as_me:12491: checking for size_t" >&5 | 12646 | echo "$as_me:12646: checking for size_t" >&5 |
12492 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 12647 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
12493 | if test "${ac_cv_have_size_t+set}" = set; then | 12648 | if test "${ac_cv_have_size_t+set}" = set; then |
12494 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12649 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12495 | else | 12650 | else |
12496 | 12651 | ||
12497 | cat >conftest.$ac_ext <<_ACEOF | 12652 | cat >conftest.$ac_ext <<_ACEOF |
12498 | #line 12498 "configure" | 12653 | #line 12653 "configure" |
12499 | #include "confdefs.h" | 12654 | #include "confdefs.h" |
12500 | 12655 | ||
12501 | #include <sys/types.h> | 12656 | #include <sys/types.h> |
@@ -12509,16 +12664,16 @@ main () | |||
12509 | } | 12664 | } |
12510 | _ACEOF | 12665 | _ACEOF |
12511 | rm -f conftest.$ac_objext | 12666 | rm -f conftest.$ac_objext |
12512 | if { (eval echo "$as_me:12512: \"$ac_compile\"") >&5 | 12667 | if { (eval echo "$as_me:12667: \"$ac_compile\"") >&5 |
12513 | (eval $ac_compile) 2>&5 | 12668 | (eval $ac_compile) 2>&5 |
12514 | ac_status=$? | 12669 | ac_status=$? |
12515 | echo "$as_me:12515: \$? = $ac_status" >&5 | 12670 | echo "$as_me:12670: \$? = $ac_status" >&5 |
12516 | (exit $ac_status); } && | 12671 | (exit $ac_status); } && |
12517 | { ac_try='test -s conftest.$ac_objext' | 12672 | { ac_try='test -s conftest.$ac_objext' |
12518 | { (eval echo "$as_me:12518: \"$ac_try\"") >&5 | 12673 | { (eval echo "$as_me:12673: \"$ac_try\"") >&5 |
12519 | (eval $ac_try) 2>&5 | 12674 | (eval $ac_try) 2>&5 |
12520 | ac_status=$? | 12675 | ac_status=$? |
12521 | echo "$as_me:12521: \$? = $ac_status" >&5 | 12676 | echo "$as_me:12676: \$? = $ac_status" >&5 |
12522 | (exit $ac_status); }; }; then | 12677 | (exit $ac_status); }; }; then |
12523 | ac_cv_have_size_t="yes" | 12678 | ac_cv_have_size_t="yes" |
12524 | else | 12679 | else |
@@ -12530,7 +12685,7 @@ fi | |||
12530 | rm -f conftest.$ac_objext conftest.$ac_ext | 12685 | rm -f conftest.$ac_objext conftest.$ac_ext |
12531 | 12686 | ||
12532 | fi | 12687 | fi |
12533 | echo "$as_me:12533: result: $ac_cv_have_size_t" >&5 | 12688 | echo "$as_me:12688: result: $ac_cv_have_size_t" >&5 |
12534 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 | 12689 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 |
12535 | if test "x$ac_cv_have_size_t" = "xyes" ; then | 12690 | if test "x$ac_cv_have_size_t" = "xyes" ; then |
12536 | cat >>confdefs.h <<\EOF | 12691 | cat >>confdefs.h <<\EOF |
@@ -12539,14 +12694,14 @@ EOF | |||
12539 | 12694 | ||
12540 | fi | 12695 | fi |
12541 | 12696 | ||
12542 | echo "$as_me:12542: checking for ssize_t" >&5 | 12697 | echo "$as_me:12697: checking for ssize_t" >&5 |
12543 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 | 12698 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 |
12544 | if test "${ac_cv_have_ssize_t+set}" = set; then | 12699 | if test "${ac_cv_have_ssize_t+set}" = set; then |
12545 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12546 | else | 12701 | else |
12547 | 12702 | ||
12548 | cat >conftest.$ac_ext <<_ACEOF | 12703 | cat >conftest.$ac_ext <<_ACEOF |
12549 | #line 12549 "configure" | 12704 | #line 12704 "configure" |
12550 | #include "confdefs.h" | 12705 | #include "confdefs.h" |
12551 | 12706 | ||
12552 | #include <sys/types.h> | 12707 | #include <sys/types.h> |
@@ -12560,16 +12715,16 @@ main () | |||
12560 | } | 12715 | } |
12561 | _ACEOF | 12716 | _ACEOF |
12562 | rm -f conftest.$ac_objext | 12717 | rm -f conftest.$ac_objext |
12563 | if { (eval echo "$as_me:12563: \"$ac_compile\"") >&5 | 12718 | if { (eval echo "$as_me:12718: \"$ac_compile\"") >&5 |
12564 | (eval $ac_compile) 2>&5 | 12719 | (eval $ac_compile) 2>&5 |
12565 | ac_status=$? | 12720 | ac_status=$? |
12566 | echo "$as_me:12566: \$? = $ac_status" >&5 | 12721 | echo "$as_me:12721: \$? = $ac_status" >&5 |
12567 | (exit $ac_status); } && | 12722 | (exit $ac_status); } && |
12568 | { ac_try='test -s conftest.$ac_objext' | 12723 | { ac_try='test -s conftest.$ac_objext' |
12569 | { (eval echo "$as_me:12569: \"$ac_try\"") >&5 | 12724 | { (eval echo "$as_me:12724: \"$ac_try\"") >&5 |
12570 | (eval $ac_try) 2>&5 | 12725 | (eval $ac_try) 2>&5 |
12571 | ac_status=$? | 12726 | ac_status=$? |
12572 | echo "$as_me:12572: \$? = $ac_status" >&5 | 12727 | echo "$as_me:12727: \$? = $ac_status" >&5 |
12573 | (exit $ac_status); }; }; then | 12728 | (exit $ac_status); }; }; then |
12574 | ac_cv_have_ssize_t="yes" | 12729 | ac_cv_have_ssize_t="yes" |
12575 | else | 12730 | else |
@@ -12581,7 +12736,7 @@ fi | |||
12581 | rm -f conftest.$ac_objext conftest.$ac_ext | 12736 | rm -f conftest.$ac_objext conftest.$ac_ext |
12582 | 12737 | ||
12583 | fi | 12738 | fi |
12584 | echo "$as_me:12584: result: $ac_cv_have_ssize_t" >&5 | 12739 | echo "$as_me:12739: result: $ac_cv_have_ssize_t" >&5 |
12585 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 | 12740 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 |
12586 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | 12741 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then |
12587 | cat >>confdefs.h <<\EOF | 12742 | cat >>confdefs.h <<\EOF |
@@ -12590,14 +12745,14 @@ EOF | |||
12590 | 12745 | ||
12591 | fi | 12746 | fi |
12592 | 12747 | ||
12593 | echo "$as_me:12593: checking for clock_t" >&5 | 12748 | echo "$as_me:12748: checking for clock_t" >&5 |
12594 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 | 12749 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 |
12595 | if test "${ac_cv_have_clock_t+set}" = set; then | 12750 | if test "${ac_cv_have_clock_t+set}" = set; then |
12596 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12751 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12597 | else | 12752 | else |
12598 | 12753 | ||
12599 | cat >conftest.$ac_ext <<_ACEOF | 12754 | cat >conftest.$ac_ext <<_ACEOF |
12600 | #line 12600 "configure" | 12755 | #line 12755 "configure" |
12601 | #include "confdefs.h" | 12756 | #include "confdefs.h" |
12602 | 12757 | ||
12603 | #include <time.h> | 12758 | #include <time.h> |
@@ -12611,16 +12766,16 @@ main () | |||
12611 | } | 12766 | } |
12612 | _ACEOF | 12767 | _ACEOF |
12613 | rm -f conftest.$ac_objext | 12768 | rm -f conftest.$ac_objext |
12614 | if { (eval echo "$as_me:12614: \"$ac_compile\"") >&5 | 12769 | if { (eval echo "$as_me:12769: \"$ac_compile\"") >&5 |
12615 | (eval $ac_compile) 2>&5 | 12770 | (eval $ac_compile) 2>&5 |
12616 | ac_status=$? | 12771 | ac_status=$? |
12617 | echo "$as_me:12617: \$? = $ac_status" >&5 | 12772 | echo "$as_me:12772: \$? = $ac_status" >&5 |
12618 | (exit $ac_status); } && | 12773 | (exit $ac_status); } && |
12619 | { ac_try='test -s conftest.$ac_objext' | 12774 | { ac_try='test -s conftest.$ac_objext' |
12620 | { (eval echo "$as_me:12620: \"$ac_try\"") >&5 | 12775 | { (eval echo "$as_me:12775: \"$ac_try\"") >&5 |
12621 | (eval $ac_try) 2>&5 | 12776 | (eval $ac_try) 2>&5 |
12622 | ac_status=$? | 12777 | ac_status=$? |
12623 | echo "$as_me:12623: \$? = $ac_status" >&5 | 12778 | echo "$as_me:12778: \$? = $ac_status" >&5 |
12624 | (exit $ac_status); }; }; then | 12779 | (exit $ac_status); }; }; then |
12625 | ac_cv_have_clock_t="yes" | 12780 | ac_cv_have_clock_t="yes" |
12626 | else | 12781 | else |
@@ -12632,7 +12787,7 @@ fi | |||
12632 | rm -f conftest.$ac_objext conftest.$ac_ext | 12787 | rm -f conftest.$ac_objext conftest.$ac_ext |
12633 | 12788 | ||
12634 | fi | 12789 | fi |
12635 | echo "$as_me:12635: result: $ac_cv_have_clock_t" >&5 | 12790 | echo "$as_me:12790: result: $ac_cv_have_clock_t" >&5 |
12636 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 | 12791 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 |
12637 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | 12792 | if test "x$ac_cv_have_clock_t" = "xyes" ; then |
12638 | cat >>confdefs.h <<\EOF | 12793 | cat >>confdefs.h <<\EOF |
@@ -12641,14 +12796,14 @@ EOF | |||
12641 | 12796 | ||
12642 | fi | 12797 | fi |
12643 | 12798 | ||
12644 | echo "$as_me:12644: checking for sa_family_t" >&5 | 12799 | echo "$as_me:12799: checking for sa_family_t" >&5 |
12645 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 | 12800 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 |
12646 | if test "${ac_cv_have_sa_family_t+set}" = set; then | 12801 | if test "${ac_cv_have_sa_family_t+set}" = set; then |
12647 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12802 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12648 | else | 12803 | else |
12649 | 12804 | ||
12650 | cat >conftest.$ac_ext <<_ACEOF | 12805 | cat >conftest.$ac_ext <<_ACEOF |
12651 | #line 12651 "configure" | 12806 | #line 12806 "configure" |
12652 | #include "confdefs.h" | 12807 | #include "confdefs.h" |
12653 | 12808 | ||
12654 | #include <sys/types.h> | 12809 | #include <sys/types.h> |
@@ -12663,23 +12818,23 @@ main () | |||
12663 | } | 12818 | } |
12664 | _ACEOF | 12819 | _ACEOF |
12665 | rm -f conftest.$ac_objext | 12820 | rm -f conftest.$ac_objext |
12666 | if { (eval echo "$as_me:12666: \"$ac_compile\"") >&5 | 12821 | if { (eval echo "$as_me:12821: \"$ac_compile\"") >&5 |
12667 | (eval $ac_compile) 2>&5 | 12822 | (eval $ac_compile) 2>&5 |
12668 | ac_status=$? | 12823 | ac_status=$? |
12669 | echo "$as_me:12669: \$? = $ac_status" >&5 | 12824 | echo "$as_me:12824: \$? = $ac_status" >&5 |
12670 | (exit $ac_status); } && | 12825 | (exit $ac_status); } && |
12671 | { ac_try='test -s conftest.$ac_objext' | 12826 | { ac_try='test -s conftest.$ac_objext' |
12672 | { (eval echo "$as_me:12672: \"$ac_try\"") >&5 | 12827 | { (eval echo "$as_me:12827: \"$ac_try\"") >&5 |
12673 | (eval $ac_try) 2>&5 | 12828 | (eval $ac_try) 2>&5 |
12674 | ac_status=$? | 12829 | ac_status=$? |
12675 | echo "$as_me:12675: \$? = $ac_status" >&5 | 12830 | echo "$as_me:12830: \$? = $ac_status" >&5 |
12676 | (exit $ac_status); }; }; then | 12831 | (exit $ac_status); }; }; then |
12677 | ac_cv_have_sa_family_t="yes" | 12832 | ac_cv_have_sa_family_t="yes" |
12678 | else | 12833 | else |
12679 | echo "$as_me: failed program was:" >&5 | 12834 | echo "$as_me: failed program was:" >&5 |
12680 | cat conftest.$ac_ext >&5 | 12835 | cat conftest.$ac_ext >&5 |
12681 | cat >conftest.$ac_ext <<_ACEOF | 12836 | cat >conftest.$ac_ext <<_ACEOF |
12682 | #line 12682 "configure" | 12837 | #line 12837 "configure" |
12683 | #include "confdefs.h" | 12838 | #include "confdefs.h" |
12684 | 12839 | ||
12685 | #include <sys/types.h> | 12840 | #include <sys/types.h> |
@@ -12695,16 +12850,16 @@ main () | |||
12695 | } | 12850 | } |
12696 | _ACEOF | 12851 | _ACEOF |
12697 | rm -f conftest.$ac_objext | 12852 | rm -f conftest.$ac_objext |
12698 | if { (eval echo "$as_me:12698: \"$ac_compile\"") >&5 | 12853 | if { (eval echo "$as_me:12853: \"$ac_compile\"") >&5 |
12699 | (eval $ac_compile) 2>&5 | 12854 | (eval $ac_compile) 2>&5 |
12700 | ac_status=$? | 12855 | ac_status=$? |
12701 | echo "$as_me:12701: \$? = $ac_status" >&5 | 12856 | echo "$as_me:12856: \$? = $ac_status" >&5 |
12702 | (exit $ac_status); } && | 12857 | (exit $ac_status); } && |
12703 | { ac_try='test -s conftest.$ac_objext' | 12858 | { ac_try='test -s conftest.$ac_objext' |
12704 | { (eval echo "$as_me:12704: \"$ac_try\"") >&5 | 12859 | { (eval echo "$as_me:12859: \"$ac_try\"") >&5 |
12705 | (eval $ac_try) 2>&5 | 12860 | (eval $ac_try) 2>&5 |
12706 | ac_status=$? | 12861 | ac_status=$? |
12707 | echo "$as_me:12707: \$? = $ac_status" >&5 | 12862 | echo "$as_me:12862: \$? = $ac_status" >&5 |
12708 | (exit $ac_status); }; }; then | 12863 | (exit $ac_status); }; }; then |
12709 | ac_cv_have_sa_family_t="yes" | 12864 | ac_cv_have_sa_family_t="yes" |
12710 | else | 12865 | else |
@@ -12719,7 +12874,7 @@ fi | |||
12719 | rm -f conftest.$ac_objext conftest.$ac_ext | 12874 | rm -f conftest.$ac_objext conftest.$ac_ext |
12720 | 12875 | ||
12721 | fi | 12876 | fi |
12722 | echo "$as_me:12722: result: $ac_cv_have_sa_family_t" >&5 | 12877 | echo "$as_me:12877: result: $ac_cv_have_sa_family_t" >&5 |
12723 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 | 12878 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 |
12724 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | 12879 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then |
12725 | cat >>confdefs.h <<\EOF | 12880 | cat >>confdefs.h <<\EOF |
@@ -12728,14 +12883,14 @@ EOF | |||
12728 | 12883 | ||
12729 | fi | 12884 | fi |
12730 | 12885 | ||
12731 | echo "$as_me:12731: checking for pid_t" >&5 | 12886 | echo "$as_me:12886: checking for pid_t" >&5 |
12732 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 12887 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
12733 | if test "${ac_cv_have_pid_t+set}" = set; then | 12888 | if test "${ac_cv_have_pid_t+set}" = set; then |
12734 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12889 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12735 | else | 12890 | else |
12736 | 12891 | ||
12737 | cat >conftest.$ac_ext <<_ACEOF | 12892 | cat >conftest.$ac_ext <<_ACEOF |
12738 | #line 12738 "configure" | 12893 | #line 12893 "configure" |
12739 | #include "confdefs.h" | 12894 | #include "confdefs.h" |
12740 | 12895 | ||
12741 | #include <sys/types.h> | 12896 | #include <sys/types.h> |
@@ -12749,16 +12904,16 @@ main () | |||
12749 | } | 12904 | } |
12750 | _ACEOF | 12905 | _ACEOF |
12751 | rm -f conftest.$ac_objext | 12906 | rm -f conftest.$ac_objext |
12752 | if { (eval echo "$as_me:12752: \"$ac_compile\"") >&5 | 12907 | if { (eval echo "$as_me:12907: \"$ac_compile\"") >&5 |
12753 | (eval $ac_compile) 2>&5 | 12908 | (eval $ac_compile) 2>&5 |
12754 | ac_status=$? | 12909 | ac_status=$? |
12755 | echo "$as_me:12755: \$? = $ac_status" >&5 | 12910 | echo "$as_me:12910: \$? = $ac_status" >&5 |
12756 | (exit $ac_status); } && | 12911 | (exit $ac_status); } && |
12757 | { ac_try='test -s conftest.$ac_objext' | 12912 | { ac_try='test -s conftest.$ac_objext' |
12758 | { (eval echo "$as_me:12758: \"$ac_try\"") >&5 | 12913 | { (eval echo "$as_me:12913: \"$ac_try\"") >&5 |
12759 | (eval $ac_try) 2>&5 | 12914 | (eval $ac_try) 2>&5 |
12760 | ac_status=$? | 12915 | ac_status=$? |
12761 | echo "$as_me:12761: \$? = $ac_status" >&5 | 12916 | echo "$as_me:12916: \$? = $ac_status" >&5 |
12762 | (exit $ac_status); }; }; then | 12917 | (exit $ac_status); }; }; then |
12763 | ac_cv_have_pid_t="yes" | 12918 | ac_cv_have_pid_t="yes" |
12764 | else | 12919 | else |
@@ -12770,7 +12925,7 @@ fi | |||
12770 | rm -f conftest.$ac_objext conftest.$ac_ext | 12925 | rm -f conftest.$ac_objext conftest.$ac_ext |
12771 | 12926 | ||
12772 | fi | 12927 | fi |
12773 | echo "$as_me:12773: result: $ac_cv_have_pid_t" >&5 | 12928 | echo "$as_me:12928: result: $ac_cv_have_pid_t" >&5 |
12774 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 | 12929 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 |
12775 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | 12930 | if test "x$ac_cv_have_pid_t" = "xyes" ; then |
12776 | cat >>confdefs.h <<\EOF | 12931 | cat >>confdefs.h <<\EOF |
@@ -12779,14 +12934,14 @@ EOF | |||
12779 | 12934 | ||
12780 | fi | 12935 | fi |
12781 | 12936 | ||
12782 | echo "$as_me:12782: checking for mode_t" >&5 | 12937 | echo "$as_me:12937: checking for mode_t" >&5 |
12783 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 | 12938 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 |
12784 | if test "${ac_cv_have_mode_t+set}" = set; then | 12939 | if test "${ac_cv_have_mode_t+set}" = set; then |
12785 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12940 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12786 | else | 12941 | else |
12787 | 12942 | ||
12788 | cat >conftest.$ac_ext <<_ACEOF | 12943 | cat >conftest.$ac_ext <<_ACEOF |
12789 | #line 12789 "configure" | 12944 | #line 12944 "configure" |
12790 | #include "confdefs.h" | 12945 | #include "confdefs.h" |
12791 | 12946 | ||
12792 | #include <sys/types.h> | 12947 | #include <sys/types.h> |
@@ -12800,16 +12955,16 @@ main () | |||
12800 | } | 12955 | } |
12801 | _ACEOF | 12956 | _ACEOF |
12802 | rm -f conftest.$ac_objext | 12957 | rm -f conftest.$ac_objext |
12803 | if { (eval echo "$as_me:12803: \"$ac_compile\"") >&5 | 12958 | if { (eval echo "$as_me:12958: \"$ac_compile\"") >&5 |
12804 | (eval $ac_compile) 2>&5 | 12959 | (eval $ac_compile) 2>&5 |
12805 | ac_status=$? | 12960 | ac_status=$? |
12806 | echo "$as_me:12806: \$? = $ac_status" >&5 | 12961 | echo "$as_me:12961: \$? = $ac_status" >&5 |
12807 | (exit $ac_status); } && | 12962 | (exit $ac_status); } && |
12808 | { ac_try='test -s conftest.$ac_objext' | 12963 | { ac_try='test -s conftest.$ac_objext' |
12809 | { (eval echo "$as_me:12809: \"$ac_try\"") >&5 | 12964 | { (eval echo "$as_me:12964: \"$ac_try\"") >&5 |
12810 | (eval $ac_try) 2>&5 | 12965 | (eval $ac_try) 2>&5 |
12811 | ac_status=$? | 12966 | ac_status=$? |
12812 | echo "$as_me:12812: \$? = $ac_status" >&5 | 12967 | echo "$as_me:12967: \$? = $ac_status" >&5 |
12813 | (exit $ac_status); }; }; then | 12968 | (exit $ac_status); }; }; then |
12814 | ac_cv_have_mode_t="yes" | 12969 | ac_cv_have_mode_t="yes" |
12815 | else | 12970 | else |
@@ -12821,7 +12976,7 @@ fi | |||
12821 | rm -f conftest.$ac_objext conftest.$ac_ext | 12976 | rm -f conftest.$ac_objext conftest.$ac_ext |
12822 | 12977 | ||
12823 | fi | 12978 | fi |
12824 | echo "$as_me:12824: result: $ac_cv_have_mode_t" >&5 | 12979 | echo "$as_me:12979: result: $ac_cv_have_mode_t" >&5 |
12825 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 | 12980 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 |
12826 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | 12981 | if test "x$ac_cv_have_mode_t" = "xyes" ; then |
12827 | cat >>confdefs.h <<\EOF | 12982 | cat >>confdefs.h <<\EOF |
@@ -12830,14 +12985,14 @@ EOF | |||
12830 | 12985 | ||
12831 | fi | 12986 | fi |
12832 | 12987 | ||
12833 | echo "$as_me:12833: checking for struct sockaddr_storage" >&5 | 12988 | echo "$as_me:12988: checking for struct sockaddr_storage" >&5 |
12834 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 | 12989 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 |
12835 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then | 12990 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then |
12836 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12991 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12837 | else | 12992 | else |
12838 | 12993 | ||
12839 | cat >conftest.$ac_ext <<_ACEOF | 12994 | cat >conftest.$ac_ext <<_ACEOF |
12840 | #line 12840 "configure" | 12995 | #line 12995 "configure" |
12841 | #include "confdefs.h" | 12996 | #include "confdefs.h" |
12842 | 12997 | ||
12843 | #include <sys/types.h> | 12998 | #include <sys/types.h> |
@@ -12852,16 +13007,16 @@ main () | |||
12852 | } | 13007 | } |
12853 | _ACEOF | 13008 | _ACEOF |
12854 | rm -f conftest.$ac_objext | 13009 | rm -f conftest.$ac_objext |
12855 | if { (eval echo "$as_me:12855: \"$ac_compile\"") >&5 | 13010 | if { (eval echo "$as_me:13010: \"$ac_compile\"") >&5 |
12856 | (eval $ac_compile) 2>&5 | 13011 | (eval $ac_compile) 2>&5 |
12857 | ac_status=$? | 13012 | ac_status=$? |
12858 | echo "$as_me:12858: \$? = $ac_status" >&5 | 13013 | echo "$as_me:13013: \$? = $ac_status" >&5 |
12859 | (exit $ac_status); } && | 13014 | (exit $ac_status); } && |
12860 | { ac_try='test -s conftest.$ac_objext' | 13015 | { ac_try='test -s conftest.$ac_objext' |
12861 | { (eval echo "$as_me:12861: \"$ac_try\"") >&5 | 13016 | { (eval echo "$as_me:13016: \"$ac_try\"") >&5 |
12862 | (eval $ac_try) 2>&5 | 13017 | (eval $ac_try) 2>&5 |
12863 | ac_status=$? | 13018 | ac_status=$? |
12864 | echo "$as_me:12864: \$? = $ac_status" >&5 | 13019 | echo "$as_me:13019: \$? = $ac_status" >&5 |
12865 | (exit $ac_status); }; }; then | 13020 | (exit $ac_status); }; }; then |
12866 | ac_cv_have_struct_sockaddr_storage="yes" | 13021 | ac_cv_have_struct_sockaddr_storage="yes" |
12867 | else | 13022 | else |
@@ -12873,7 +13028,7 @@ fi | |||
12873 | rm -f conftest.$ac_objext conftest.$ac_ext | 13028 | rm -f conftest.$ac_objext conftest.$ac_ext |
12874 | 13029 | ||
12875 | fi | 13030 | fi |
12876 | echo "$as_me:12876: result: $ac_cv_have_struct_sockaddr_storage" >&5 | 13031 | echo "$as_me:13031: result: $ac_cv_have_struct_sockaddr_storage" >&5 |
12877 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 | 13032 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 |
12878 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | 13033 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then |
12879 | cat >>confdefs.h <<\EOF | 13034 | cat >>confdefs.h <<\EOF |
@@ -12882,14 +13037,14 @@ EOF | |||
12882 | 13037 | ||
12883 | fi | 13038 | fi |
12884 | 13039 | ||
12885 | echo "$as_me:12885: checking for struct sockaddr_in6" >&5 | 13040 | echo "$as_me:13040: checking for struct sockaddr_in6" >&5 |
12886 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 | 13041 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 |
12887 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then | 13042 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then |
12888 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13043 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12889 | else | 13044 | else |
12890 | 13045 | ||
12891 | cat >conftest.$ac_ext <<_ACEOF | 13046 | cat >conftest.$ac_ext <<_ACEOF |
12892 | #line 12892 "configure" | 13047 | #line 13047 "configure" |
12893 | #include "confdefs.h" | 13048 | #include "confdefs.h" |
12894 | 13049 | ||
12895 | #include <sys/types.h> | 13050 | #include <sys/types.h> |
@@ -12904,16 +13059,16 @@ main () | |||
12904 | } | 13059 | } |
12905 | _ACEOF | 13060 | _ACEOF |
12906 | rm -f conftest.$ac_objext | 13061 | rm -f conftest.$ac_objext |
12907 | if { (eval echo "$as_me:12907: \"$ac_compile\"") >&5 | 13062 | if { (eval echo "$as_me:13062: \"$ac_compile\"") >&5 |
12908 | (eval $ac_compile) 2>&5 | 13063 | (eval $ac_compile) 2>&5 |
12909 | ac_status=$? | 13064 | ac_status=$? |
12910 | echo "$as_me:12910: \$? = $ac_status" >&5 | 13065 | echo "$as_me:13065: \$? = $ac_status" >&5 |
12911 | (exit $ac_status); } && | 13066 | (exit $ac_status); } && |
12912 | { ac_try='test -s conftest.$ac_objext' | 13067 | { ac_try='test -s conftest.$ac_objext' |
12913 | { (eval echo "$as_me:12913: \"$ac_try\"") >&5 | 13068 | { (eval echo "$as_me:13068: \"$ac_try\"") >&5 |
12914 | (eval $ac_try) 2>&5 | 13069 | (eval $ac_try) 2>&5 |
12915 | ac_status=$? | 13070 | ac_status=$? |
12916 | echo "$as_me:12916: \$? = $ac_status" >&5 | 13071 | echo "$as_me:13071: \$? = $ac_status" >&5 |
12917 | (exit $ac_status); }; }; then | 13072 | (exit $ac_status); }; }; then |
12918 | ac_cv_have_struct_sockaddr_in6="yes" | 13073 | ac_cv_have_struct_sockaddr_in6="yes" |
12919 | else | 13074 | else |
@@ -12925,7 +13080,7 @@ fi | |||
12925 | rm -f conftest.$ac_objext conftest.$ac_ext | 13080 | rm -f conftest.$ac_objext conftest.$ac_ext |
12926 | 13081 | ||
12927 | fi | 13082 | fi |
12928 | echo "$as_me:12928: result: $ac_cv_have_struct_sockaddr_in6" >&5 | 13083 | echo "$as_me:13083: result: $ac_cv_have_struct_sockaddr_in6" >&5 |
12929 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 | 13084 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 |
12930 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | 13085 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then |
12931 | cat >>confdefs.h <<\EOF | 13086 | cat >>confdefs.h <<\EOF |
@@ -12934,14 +13089,14 @@ EOF | |||
12934 | 13089 | ||
12935 | fi | 13090 | fi |
12936 | 13091 | ||
12937 | echo "$as_me:12937: checking for struct in6_addr" >&5 | 13092 | echo "$as_me:13092: checking for struct in6_addr" >&5 |
12938 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 | 13093 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 |
12939 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then | 13094 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then |
12940 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13095 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12941 | else | 13096 | else |
12942 | 13097 | ||
12943 | cat >conftest.$ac_ext <<_ACEOF | 13098 | cat >conftest.$ac_ext <<_ACEOF |
12944 | #line 12944 "configure" | 13099 | #line 13099 "configure" |
12945 | #include "confdefs.h" | 13100 | #include "confdefs.h" |
12946 | 13101 | ||
12947 | #include <sys/types.h> | 13102 | #include <sys/types.h> |
@@ -12956,16 +13111,16 @@ main () | |||
12956 | } | 13111 | } |
12957 | _ACEOF | 13112 | _ACEOF |
12958 | rm -f conftest.$ac_objext | 13113 | rm -f conftest.$ac_objext |
12959 | if { (eval echo "$as_me:12959: \"$ac_compile\"") >&5 | 13114 | if { (eval echo "$as_me:13114: \"$ac_compile\"") >&5 |
12960 | (eval $ac_compile) 2>&5 | 13115 | (eval $ac_compile) 2>&5 |
12961 | ac_status=$? | 13116 | ac_status=$? |
12962 | echo "$as_me:12962: \$? = $ac_status" >&5 | 13117 | echo "$as_me:13117: \$? = $ac_status" >&5 |
12963 | (exit $ac_status); } && | 13118 | (exit $ac_status); } && |
12964 | { ac_try='test -s conftest.$ac_objext' | 13119 | { ac_try='test -s conftest.$ac_objext' |
12965 | { (eval echo "$as_me:12965: \"$ac_try\"") >&5 | 13120 | { (eval echo "$as_me:13120: \"$ac_try\"") >&5 |
12966 | (eval $ac_try) 2>&5 | 13121 | (eval $ac_try) 2>&5 |
12967 | ac_status=$? | 13122 | ac_status=$? |
12968 | echo "$as_me:12968: \$? = $ac_status" >&5 | 13123 | echo "$as_me:13123: \$? = $ac_status" >&5 |
12969 | (exit $ac_status); }; }; then | 13124 | (exit $ac_status); }; }; then |
12970 | ac_cv_have_struct_in6_addr="yes" | 13125 | ac_cv_have_struct_in6_addr="yes" |
12971 | else | 13126 | else |
@@ -12977,7 +13132,7 @@ fi | |||
12977 | rm -f conftest.$ac_objext conftest.$ac_ext | 13132 | rm -f conftest.$ac_objext conftest.$ac_ext |
12978 | 13133 | ||
12979 | fi | 13134 | fi |
12980 | echo "$as_me:12980: result: $ac_cv_have_struct_in6_addr" >&5 | 13135 | echo "$as_me:13135: result: $ac_cv_have_struct_in6_addr" >&5 |
12981 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 | 13136 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 |
12982 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | 13137 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then |
12983 | cat >>confdefs.h <<\EOF | 13138 | cat >>confdefs.h <<\EOF |
@@ -12986,14 +13141,14 @@ EOF | |||
12986 | 13141 | ||
12987 | fi | 13142 | fi |
12988 | 13143 | ||
12989 | echo "$as_me:12989: checking for struct addrinfo" >&5 | 13144 | echo "$as_me:13144: checking for struct addrinfo" >&5 |
12990 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 | 13145 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 |
12991 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then | 13146 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then |
12992 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13147 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12993 | else | 13148 | else |
12994 | 13149 | ||
12995 | cat >conftest.$ac_ext <<_ACEOF | 13150 | cat >conftest.$ac_ext <<_ACEOF |
12996 | #line 12996 "configure" | 13151 | #line 13151 "configure" |
12997 | #include "confdefs.h" | 13152 | #include "confdefs.h" |
12998 | 13153 | ||
12999 | #include <sys/types.h> | 13154 | #include <sys/types.h> |
@@ -13009,16 +13164,16 @@ main () | |||
13009 | } | 13164 | } |
13010 | _ACEOF | 13165 | _ACEOF |
13011 | rm -f conftest.$ac_objext | 13166 | rm -f conftest.$ac_objext |
13012 | if { (eval echo "$as_me:13012: \"$ac_compile\"") >&5 | 13167 | if { (eval echo "$as_me:13167: \"$ac_compile\"") >&5 |
13013 | (eval $ac_compile) 2>&5 | 13168 | (eval $ac_compile) 2>&5 |
13014 | ac_status=$? | 13169 | ac_status=$? |
13015 | echo "$as_me:13015: \$? = $ac_status" >&5 | 13170 | echo "$as_me:13170: \$? = $ac_status" >&5 |
13016 | (exit $ac_status); } && | 13171 | (exit $ac_status); } && |
13017 | { ac_try='test -s conftest.$ac_objext' | 13172 | { ac_try='test -s conftest.$ac_objext' |
13018 | { (eval echo "$as_me:13018: \"$ac_try\"") >&5 | 13173 | { (eval echo "$as_me:13173: \"$ac_try\"") >&5 |
13019 | (eval $ac_try) 2>&5 | 13174 | (eval $ac_try) 2>&5 |
13020 | ac_status=$? | 13175 | ac_status=$? |
13021 | echo "$as_me:13021: \$? = $ac_status" >&5 | 13176 | echo "$as_me:13176: \$? = $ac_status" >&5 |
13022 | (exit $ac_status); }; }; then | 13177 | (exit $ac_status); }; }; then |
13023 | ac_cv_have_struct_addrinfo="yes" | 13178 | ac_cv_have_struct_addrinfo="yes" |
13024 | else | 13179 | else |
@@ -13030,7 +13185,7 @@ fi | |||
13030 | rm -f conftest.$ac_objext conftest.$ac_ext | 13185 | rm -f conftest.$ac_objext conftest.$ac_ext |
13031 | 13186 | ||
13032 | fi | 13187 | fi |
13033 | echo "$as_me:13033: result: $ac_cv_have_struct_addrinfo" >&5 | 13188 | echo "$as_me:13188: result: $ac_cv_have_struct_addrinfo" >&5 |
13034 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 | 13189 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 |
13035 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | 13190 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then |
13036 | cat >>confdefs.h <<\EOF | 13191 | cat >>confdefs.h <<\EOF |
@@ -13039,14 +13194,14 @@ EOF | |||
13039 | 13194 | ||
13040 | fi | 13195 | fi |
13041 | 13196 | ||
13042 | echo "$as_me:13042: checking for struct timeval" >&5 | 13197 | echo "$as_me:13197: checking for struct timeval" >&5 |
13043 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | 13198 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 |
13044 | if test "${ac_cv_have_struct_timeval+set}" = set; then | 13199 | if test "${ac_cv_have_struct_timeval+set}" = set; then |
13045 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13200 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13046 | else | 13201 | else |
13047 | 13202 | ||
13048 | cat >conftest.$ac_ext <<_ACEOF | 13203 | cat >conftest.$ac_ext <<_ACEOF |
13049 | #line 13049 "configure" | 13204 | #line 13204 "configure" |
13050 | #include "confdefs.h" | 13205 | #include "confdefs.h" |
13051 | #include <sys/time.h> | 13206 | #include <sys/time.h> |
13052 | int | 13207 | int |
@@ -13058,16 +13213,16 @@ main () | |||
13058 | } | 13213 | } |
13059 | _ACEOF | 13214 | _ACEOF |
13060 | rm -f conftest.$ac_objext | 13215 | rm -f conftest.$ac_objext |
13061 | if { (eval echo "$as_me:13061: \"$ac_compile\"") >&5 | 13216 | if { (eval echo "$as_me:13216: \"$ac_compile\"") >&5 |
13062 | (eval $ac_compile) 2>&5 | 13217 | (eval $ac_compile) 2>&5 |
13063 | ac_status=$? | 13218 | ac_status=$? |
13064 | echo "$as_me:13064: \$? = $ac_status" >&5 | 13219 | echo "$as_me:13219: \$? = $ac_status" >&5 |
13065 | (exit $ac_status); } && | 13220 | (exit $ac_status); } && |
13066 | { ac_try='test -s conftest.$ac_objext' | 13221 | { ac_try='test -s conftest.$ac_objext' |
13067 | { (eval echo "$as_me:13067: \"$ac_try\"") >&5 | 13222 | { (eval echo "$as_me:13222: \"$ac_try\"") >&5 |
13068 | (eval $ac_try) 2>&5 | 13223 | (eval $ac_try) 2>&5 |
13069 | ac_status=$? | 13224 | ac_status=$? |
13070 | echo "$as_me:13070: \$? = $ac_status" >&5 | 13225 | echo "$as_me:13225: \$? = $ac_status" >&5 |
13071 | (exit $ac_status); }; }; then | 13226 | (exit $ac_status); }; }; then |
13072 | ac_cv_have_struct_timeval="yes" | 13227 | ac_cv_have_struct_timeval="yes" |
13073 | else | 13228 | else |
@@ -13079,7 +13234,7 @@ fi | |||
13079 | rm -f conftest.$ac_objext conftest.$ac_ext | 13234 | rm -f conftest.$ac_objext conftest.$ac_ext |
13080 | 13235 | ||
13081 | fi | 13236 | fi |
13082 | echo "$as_me:13082: result: $ac_cv_have_struct_timeval" >&5 | 13237 | echo "$as_me:13237: result: $ac_cv_have_struct_timeval" >&5 |
13083 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 | 13238 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 |
13084 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | 13239 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then |
13085 | cat >>confdefs.h <<\EOF | 13240 | cat >>confdefs.h <<\EOF |
@@ -13089,13 +13244,13 @@ EOF | |||
13089 | have_struct_timeval=1 | 13244 | have_struct_timeval=1 |
13090 | fi | 13245 | fi |
13091 | 13246 | ||
13092 | echo "$as_me:13092: checking for struct timespec" >&5 | 13247 | echo "$as_me:13247: checking for struct timespec" >&5 |
13093 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 | 13248 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 |
13094 | if test "${ac_cv_type_struct_timespec+set}" = set; then | 13249 | if test "${ac_cv_type_struct_timespec+set}" = set; then |
13095 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13250 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13096 | else | 13251 | else |
13097 | cat >conftest.$ac_ext <<_ACEOF | 13252 | cat >conftest.$ac_ext <<_ACEOF |
13098 | #line 13098 "configure" | 13253 | #line 13253 "configure" |
13099 | #include "confdefs.h" | 13254 | #include "confdefs.h" |
13100 | $ac_includes_default | 13255 | $ac_includes_default |
13101 | int | 13256 | int |
@@ -13110,16 +13265,16 @@ if (sizeof (struct timespec)) | |||
13110 | } | 13265 | } |
13111 | _ACEOF | 13266 | _ACEOF |
13112 | rm -f conftest.$ac_objext | 13267 | rm -f conftest.$ac_objext |
13113 | if { (eval echo "$as_me:13113: \"$ac_compile\"") >&5 | 13268 | if { (eval echo "$as_me:13268: \"$ac_compile\"") >&5 |
13114 | (eval $ac_compile) 2>&5 | 13269 | (eval $ac_compile) 2>&5 |
13115 | ac_status=$? | 13270 | ac_status=$? |
13116 | echo "$as_me:13116: \$? = $ac_status" >&5 | 13271 | echo "$as_me:13271: \$? = $ac_status" >&5 |
13117 | (exit $ac_status); } && | 13272 | (exit $ac_status); } && |
13118 | { ac_try='test -s conftest.$ac_objext' | 13273 | { ac_try='test -s conftest.$ac_objext' |
13119 | { (eval echo "$as_me:13119: \"$ac_try\"") >&5 | 13274 | { (eval echo "$as_me:13274: \"$ac_try\"") >&5 |
13120 | (eval $ac_try) 2>&5 | 13275 | (eval $ac_try) 2>&5 |
13121 | ac_status=$? | 13276 | ac_status=$? |
13122 | echo "$as_me:13122: \$? = $ac_status" >&5 | 13277 | echo "$as_me:13277: \$? = $ac_status" >&5 |
13123 | (exit $ac_status); }; }; then | 13278 | (exit $ac_status); }; }; then |
13124 | ac_cv_type_struct_timespec=yes | 13279 | ac_cv_type_struct_timespec=yes |
13125 | else | 13280 | else |
@@ -13129,7 +13284,7 @@ ac_cv_type_struct_timespec=no | |||
13129 | fi | 13284 | fi |
13130 | rm -f conftest.$ac_objext conftest.$ac_ext | 13285 | rm -f conftest.$ac_objext conftest.$ac_ext |
13131 | fi | 13286 | fi |
13132 | echo "$as_me:13132: result: $ac_cv_type_struct_timespec" >&5 | 13287 | echo "$as_me:13287: result: $ac_cv_type_struct_timespec" >&5 |
13133 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 | 13288 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 |
13134 | if test $ac_cv_type_struct_timespec = yes; then | 13289 | if test $ac_cv_type_struct_timespec = yes; then |
13135 | 13290 | ||
@@ -13149,12 +13304,12 @@ if test "x$ac_cv_have_int64_t" = "xno" -a \ | |||
13149 | exit 1; | 13304 | exit 1; |
13150 | else | 13305 | else |
13151 | if test "$cross_compiling" = yes; then | 13306 | if test "$cross_compiling" = yes; then |
13152 | { { echo "$as_me:13152: error: cannot run test program while cross compiling" >&5 | 13307 | { { echo "$as_me:13307: error: cannot run test program while cross compiling" >&5 |
13153 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 13308 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
13154 | { (exit 1); exit 1; }; } | 13309 | { (exit 1); exit 1; }; } |
13155 | else | 13310 | else |
13156 | cat >conftest.$ac_ext <<_ACEOF | 13311 | cat >conftest.$ac_ext <<_ACEOF |
13157 | #line 13157 "configure" | 13312 | #line 13312 "configure" |
13158 | #include "confdefs.h" | 13313 | #include "confdefs.h" |
13159 | 13314 | ||
13160 | #include <stdio.h> | 13315 | #include <stdio.h> |
@@ -13182,15 +13337,15 @@ main() { exit(0); } | |||
13182 | 13337 | ||
13183 | _ACEOF | 13338 | _ACEOF |
13184 | rm -f conftest$ac_exeext | 13339 | rm -f conftest$ac_exeext |
13185 | if { (eval echo "$as_me:13185: \"$ac_link\"") >&5 | 13340 | if { (eval echo "$as_me:13340: \"$ac_link\"") >&5 |
13186 | (eval $ac_link) 2>&5 | 13341 | (eval $ac_link) 2>&5 |
13187 | ac_status=$? | 13342 | ac_status=$? |
13188 | echo "$as_me:13188: \$? = $ac_status" >&5 | 13343 | echo "$as_me:13343: \$? = $ac_status" >&5 |
13189 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 13344 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13190 | { (eval echo "$as_me:13190: \"$ac_try\"") >&5 | 13345 | { (eval echo "$as_me:13345: \"$ac_try\"") >&5 |
13191 | (eval $ac_try) 2>&5 | 13346 | (eval $ac_try) 2>&5 |
13192 | ac_status=$? | 13347 | ac_status=$? |
13193 | echo "$as_me:13193: \$? = $ac_status" >&5 | 13348 | echo "$as_me:13348: \$? = $ac_status" >&5 |
13194 | (exit $ac_status); }; }; then | 13349 | (exit $ac_status); }; }; then |
13195 | true | 13350 | true |
13196 | else | 13351 | else |
@@ -13209,14 +13364,14 @@ fi | |||
13209 | # look for field 'ut_host' in header 'utmp.h' | 13364 | # look for field 'ut_host' in header 'utmp.h' |
13210 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13365 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13211 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 13366 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
13212 | echo "$as_me:13212: checking for ut_host field in utmp.h" >&5 | 13367 | echo "$as_me:13367: checking for ut_host field in utmp.h" >&5 |
13213 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 | 13368 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 |
13214 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13369 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13215 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13370 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13216 | else | 13371 | else |
13217 | 13372 | ||
13218 | cat >conftest.$ac_ext <<_ACEOF | 13373 | cat >conftest.$ac_ext <<_ACEOF |
13219 | #line 13219 "configure" | 13374 | #line 13374 "configure" |
13220 | #include "confdefs.h" | 13375 | #include "confdefs.h" |
13221 | #include <utmp.h> | 13376 | #include <utmp.h> |
13222 | 13377 | ||
@@ -13233,7 +13388,7 @@ fi | |||
13233 | 13388 | ||
13234 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13389 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13235 | if test -n "`echo $ossh_varname`"; then | 13390 | if test -n "`echo $ossh_varname`"; then |
13236 | echo "$as_me:13236: result: $ossh_result" >&5 | 13391 | echo "$as_me:13391: result: $ossh_result" >&5 |
13237 | echo "${ECHO_T}$ossh_result" >&6 | 13392 | echo "${ECHO_T}$ossh_result" >&6 |
13238 | if test "x$ossh_result" = "xyes"; then | 13393 | if test "x$ossh_result" = "xyes"; then |
13239 | cat >>confdefs.h <<\EOF | 13394 | cat >>confdefs.h <<\EOF |
@@ -13242,21 +13397,21 @@ EOF | |||
13242 | 13397 | ||
13243 | fi | 13398 | fi |
13244 | else | 13399 | else |
13245 | echo "$as_me:13245: result: no" >&5 | 13400 | echo "$as_me:13400: result: no" >&5 |
13246 | echo "${ECHO_T}no" >&6 | 13401 | echo "${ECHO_T}no" >&6 |
13247 | fi | 13402 | fi |
13248 | 13403 | ||
13249 | # look for field 'ut_host' in header 'utmpx.h' | 13404 | # look for field 'ut_host' in header 'utmpx.h' |
13250 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13405 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
13251 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 13406 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
13252 | echo "$as_me:13252: checking for ut_host field in utmpx.h" >&5 | 13407 | echo "$as_me:13407: checking for ut_host field in utmpx.h" >&5 |
13253 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 | 13408 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 |
13254 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13409 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13255 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13410 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13256 | else | 13411 | else |
13257 | 13412 | ||
13258 | cat >conftest.$ac_ext <<_ACEOF | 13413 | cat >conftest.$ac_ext <<_ACEOF |
13259 | #line 13259 "configure" | 13414 | #line 13414 "configure" |
13260 | #include "confdefs.h" | 13415 | #include "confdefs.h" |
13261 | #include <utmpx.h> | 13416 | #include <utmpx.h> |
13262 | 13417 | ||
@@ -13273,7 +13428,7 @@ fi | |||
13273 | 13428 | ||
13274 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13429 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13275 | if test -n "`echo $ossh_varname`"; then | 13430 | if test -n "`echo $ossh_varname`"; then |
13276 | echo "$as_me:13276: result: $ossh_result" >&5 | 13431 | echo "$as_me:13431: result: $ossh_result" >&5 |
13277 | echo "${ECHO_T}$ossh_result" >&6 | 13432 | echo "${ECHO_T}$ossh_result" >&6 |
13278 | if test "x$ossh_result" = "xyes"; then | 13433 | if test "x$ossh_result" = "xyes"; then |
13279 | cat >>confdefs.h <<\EOF | 13434 | cat >>confdefs.h <<\EOF |
@@ -13282,21 +13437,21 @@ EOF | |||
13282 | 13437 | ||
13283 | fi | 13438 | fi |
13284 | else | 13439 | else |
13285 | echo "$as_me:13285: result: no" >&5 | 13440 | echo "$as_me:13440: result: no" >&5 |
13286 | echo "${ECHO_T}no" >&6 | 13441 | echo "${ECHO_T}no" >&6 |
13287 | fi | 13442 | fi |
13288 | 13443 | ||
13289 | # look for field 'syslen' in header 'utmpx.h' | 13444 | # look for field 'syslen' in header 'utmpx.h' |
13290 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13445 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
13291 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen | 13446 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen |
13292 | echo "$as_me:13292: checking for syslen field in utmpx.h" >&5 | 13447 | echo "$as_me:13447: checking for syslen field in utmpx.h" >&5 |
13293 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 | 13448 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 |
13294 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13449 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13295 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13450 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13296 | else | 13451 | else |
13297 | 13452 | ||
13298 | cat >conftest.$ac_ext <<_ACEOF | 13453 | cat >conftest.$ac_ext <<_ACEOF |
13299 | #line 13299 "configure" | 13454 | #line 13454 "configure" |
13300 | #include "confdefs.h" | 13455 | #include "confdefs.h" |
13301 | #include <utmpx.h> | 13456 | #include <utmpx.h> |
13302 | 13457 | ||
@@ -13313,7 +13468,7 @@ fi | |||
13313 | 13468 | ||
13314 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13469 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13315 | if test -n "`echo $ossh_varname`"; then | 13470 | if test -n "`echo $ossh_varname`"; then |
13316 | echo "$as_me:13316: result: $ossh_result" >&5 | 13471 | echo "$as_me:13471: result: $ossh_result" >&5 |
13317 | echo "${ECHO_T}$ossh_result" >&6 | 13472 | echo "${ECHO_T}$ossh_result" >&6 |
13318 | if test "x$ossh_result" = "xyes"; then | 13473 | if test "x$ossh_result" = "xyes"; then |
13319 | cat >>confdefs.h <<\EOF | 13474 | cat >>confdefs.h <<\EOF |
@@ -13322,21 +13477,21 @@ EOF | |||
13322 | 13477 | ||
13323 | fi | 13478 | fi |
13324 | else | 13479 | else |
13325 | echo "$as_me:13325: result: no" >&5 | 13480 | echo "$as_me:13480: result: no" >&5 |
13326 | echo "${ECHO_T}no" >&6 | 13481 | echo "${ECHO_T}no" >&6 |
13327 | fi | 13482 | fi |
13328 | 13483 | ||
13329 | # look for field 'ut_pid' in header 'utmp.h' | 13484 | # look for field 'ut_pid' in header 'utmp.h' |
13330 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13485 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13331 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid | 13486 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid |
13332 | echo "$as_me:13332: checking for ut_pid field in utmp.h" >&5 | 13487 | echo "$as_me:13487: checking for ut_pid field in utmp.h" >&5 |
13333 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 | 13488 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 |
13334 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13489 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13335 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13490 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13336 | else | 13491 | else |
13337 | 13492 | ||
13338 | cat >conftest.$ac_ext <<_ACEOF | 13493 | cat >conftest.$ac_ext <<_ACEOF |
13339 | #line 13339 "configure" | 13494 | #line 13494 "configure" |
13340 | #include "confdefs.h" | 13495 | #include "confdefs.h" |
13341 | #include <utmp.h> | 13496 | #include <utmp.h> |
13342 | 13497 | ||
@@ -13353,7 +13508,7 @@ fi | |||
13353 | 13508 | ||
13354 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13509 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13355 | if test -n "`echo $ossh_varname`"; then | 13510 | if test -n "`echo $ossh_varname`"; then |
13356 | echo "$as_me:13356: result: $ossh_result" >&5 | 13511 | echo "$as_me:13511: result: $ossh_result" >&5 |
13357 | echo "${ECHO_T}$ossh_result" >&6 | 13512 | echo "${ECHO_T}$ossh_result" >&6 |
13358 | if test "x$ossh_result" = "xyes"; then | 13513 | if test "x$ossh_result" = "xyes"; then |
13359 | cat >>confdefs.h <<\EOF | 13514 | cat >>confdefs.h <<\EOF |
@@ -13362,21 +13517,21 @@ EOF | |||
13362 | 13517 | ||
13363 | fi | 13518 | fi |
13364 | else | 13519 | else |
13365 | echo "$as_me:13365: result: no" >&5 | 13520 | echo "$as_me:13520: result: no" >&5 |
13366 | echo "${ECHO_T}no" >&6 | 13521 | echo "${ECHO_T}no" >&6 |
13367 | fi | 13522 | fi |
13368 | 13523 | ||
13369 | # look for field 'ut_type' in header 'utmp.h' | 13524 | # look for field 'ut_type' in header 'utmp.h' |
13370 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13525 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13371 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 13526 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
13372 | echo "$as_me:13372: checking for ut_type field in utmp.h" >&5 | 13527 | echo "$as_me:13527: checking for ut_type field in utmp.h" >&5 |
13373 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 | 13528 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 |
13374 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13529 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13375 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13530 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13376 | else | 13531 | else |
13377 | 13532 | ||
13378 | cat >conftest.$ac_ext <<_ACEOF | 13533 | cat >conftest.$ac_ext <<_ACEOF |
13379 | #line 13379 "configure" | 13534 | #line 13534 "configure" |
13380 | #include "confdefs.h" | 13535 | #include "confdefs.h" |
13381 | #include <utmp.h> | 13536 | #include <utmp.h> |
13382 | 13537 | ||
@@ -13393,7 +13548,7 @@ fi | |||
13393 | 13548 | ||
13394 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13549 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13395 | if test -n "`echo $ossh_varname`"; then | 13550 | if test -n "`echo $ossh_varname`"; then |
13396 | echo "$as_me:13396: result: $ossh_result" >&5 | 13551 | echo "$as_me:13551: result: $ossh_result" >&5 |
13397 | echo "${ECHO_T}$ossh_result" >&6 | 13552 | echo "${ECHO_T}$ossh_result" >&6 |
13398 | if test "x$ossh_result" = "xyes"; then | 13553 | if test "x$ossh_result" = "xyes"; then |
13399 | cat >>confdefs.h <<\EOF | 13554 | cat >>confdefs.h <<\EOF |
@@ -13402,21 +13557,21 @@ EOF | |||
13402 | 13557 | ||
13403 | fi | 13558 | fi |
13404 | else | 13559 | else |
13405 | echo "$as_me:13405: result: no" >&5 | 13560 | echo "$as_me:13560: result: no" >&5 |
13406 | echo "${ECHO_T}no" >&6 | 13561 | echo "${ECHO_T}no" >&6 |
13407 | fi | 13562 | fi |
13408 | 13563 | ||
13409 | # look for field 'ut_type' in header 'utmpx.h' | 13564 | # look for field 'ut_type' in header 'utmpx.h' |
13410 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13565 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
13411 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 13566 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
13412 | echo "$as_me:13412: checking for ut_type field in utmpx.h" >&5 | 13567 | echo "$as_me:13567: checking for ut_type field in utmpx.h" >&5 |
13413 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 | 13568 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 |
13414 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13569 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13415 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13570 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13416 | else | 13571 | else |
13417 | 13572 | ||
13418 | cat >conftest.$ac_ext <<_ACEOF | 13573 | cat >conftest.$ac_ext <<_ACEOF |
13419 | #line 13419 "configure" | 13574 | #line 13574 "configure" |
13420 | #include "confdefs.h" | 13575 | #include "confdefs.h" |
13421 | #include <utmpx.h> | 13576 | #include <utmpx.h> |
13422 | 13577 | ||
@@ -13433,7 +13588,7 @@ fi | |||
13433 | 13588 | ||
13434 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13589 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13435 | if test -n "`echo $ossh_varname`"; then | 13590 | if test -n "`echo $ossh_varname`"; then |
13436 | echo "$as_me:13436: result: $ossh_result" >&5 | 13591 | echo "$as_me:13591: result: $ossh_result" >&5 |
13437 | echo "${ECHO_T}$ossh_result" >&6 | 13592 | echo "${ECHO_T}$ossh_result" >&6 |
13438 | if test "x$ossh_result" = "xyes"; then | 13593 | if test "x$ossh_result" = "xyes"; then |
13439 | cat >>confdefs.h <<\EOF | 13594 | cat >>confdefs.h <<\EOF |
@@ -13442,21 +13597,21 @@ EOF | |||
13442 | 13597 | ||
13443 | fi | 13598 | fi |
13444 | else | 13599 | else |
13445 | echo "$as_me:13445: result: no" >&5 | 13600 | echo "$as_me:13600: result: no" >&5 |
13446 | echo "${ECHO_T}no" >&6 | 13601 | echo "${ECHO_T}no" >&6 |
13447 | fi | 13602 | fi |
13448 | 13603 | ||
13449 | # look for field 'ut_tv' in header 'utmp.h' | 13604 | # look for field 'ut_tv' in header 'utmp.h' |
13450 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13605 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13451 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 13606 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
13452 | echo "$as_me:13452: checking for ut_tv field in utmp.h" >&5 | 13607 | echo "$as_me:13607: checking for ut_tv field in utmp.h" >&5 |
13453 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 | 13608 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 |
13454 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13609 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13455 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13610 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13456 | else | 13611 | else |
13457 | 13612 | ||
13458 | cat >conftest.$ac_ext <<_ACEOF | 13613 | cat >conftest.$ac_ext <<_ACEOF |
13459 | #line 13459 "configure" | 13614 | #line 13614 "configure" |
13460 | #include "confdefs.h" | 13615 | #include "confdefs.h" |
13461 | #include <utmp.h> | 13616 | #include <utmp.h> |
13462 | 13617 | ||
@@ -13473,7 +13628,7 @@ fi | |||
13473 | 13628 | ||
13474 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13629 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13475 | if test -n "`echo $ossh_varname`"; then | 13630 | if test -n "`echo $ossh_varname`"; then |
13476 | echo "$as_me:13476: result: $ossh_result" >&5 | 13631 | echo "$as_me:13631: result: $ossh_result" >&5 |
13477 | echo "${ECHO_T}$ossh_result" >&6 | 13632 | echo "${ECHO_T}$ossh_result" >&6 |
13478 | if test "x$ossh_result" = "xyes"; then | 13633 | if test "x$ossh_result" = "xyes"; then |
13479 | cat >>confdefs.h <<\EOF | 13634 | cat >>confdefs.h <<\EOF |
@@ -13482,21 +13637,21 @@ EOF | |||
13482 | 13637 | ||
13483 | fi | 13638 | fi |
13484 | else | 13639 | else |
13485 | echo "$as_me:13485: result: no" >&5 | 13640 | echo "$as_me:13640: result: no" >&5 |
13486 | echo "${ECHO_T}no" >&6 | 13641 | echo "${ECHO_T}no" >&6 |
13487 | fi | 13642 | fi |
13488 | 13643 | ||
13489 | # look for field 'ut_id' in header 'utmp.h' | 13644 | # look for field 'ut_id' in header 'utmp.h' |
13490 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13645 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13491 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 13646 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
13492 | echo "$as_me:13492: checking for ut_id field in utmp.h" >&5 | 13647 | echo "$as_me:13647: checking for ut_id field in utmp.h" >&5 |
13493 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 | 13648 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 |
13494 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13649 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13495 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13650 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13496 | else | 13651 | else |
13497 | 13652 | ||
13498 | cat >conftest.$ac_ext <<_ACEOF | 13653 | cat >conftest.$ac_ext <<_ACEOF |
13499 | #line 13499 "configure" | 13654 | #line 13654 "configure" |
13500 | #include "confdefs.h" | 13655 | #include "confdefs.h" |
13501 | #include <utmp.h> | 13656 | #include <utmp.h> |
13502 | 13657 | ||
@@ -13513,7 +13668,7 @@ fi | |||
13513 | 13668 | ||
13514 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13669 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13515 | if test -n "`echo $ossh_varname`"; then | 13670 | if test -n "`echo $ossh_varname`"; then |
13516 | echo "$as_me:13516: result: $ossh_result" >&5 | 13671 | echo "$as_me:13671: result: $ossh_result" >&5 |
13517 | echo "${ECHO_T}$ossh_result" >&6 | 13672 | echo "${ECHO_T}$ossh_result" >&6 |
13518 | if test "x$ossh_result" = "xyes"; then | 13673 | if test "x$ossh_result" = "xyes"; then |
13519 | cat >>confdefs.h <<\EOF | 13674 | cat >>confdefs.h <<\EOF |
@@ -13522,21 +13677,21 @@ EOF | |||
13522 | 13677 | ||
13523 | fi | 13678 | fi |
13524 | else | 13679 | else |
13525 | echo "$as_me:13525: result: no" >&5 | 13680 | echo "$as_me:13680: result: no" >&5 |
13526 | echo "${ECHO_T}no" >&6 | 13681 | echo "${ECHO_T}no" >&6 |
13527 | fi | 13682 | fi |
13528 | 13683 | ||
13529 | # look for field 'ut_id' in header 'utmpx.h' | 13684 | # look for field 'ut_id' in header 'utmpx.h' |
13530 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13685 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
13531 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 13686 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
13532 | echo "$as_me:13532: checking for ut_id field in utmpx.h" >&5 | 13687 | echo "$as_me:13687: checking for ut_id field in utmpx.h" >&5 |
13533 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 | 13688 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 |
13534 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13689 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13535 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13690 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13536 | else | 13691 | else |
13537 | 13692 | ||
13538 | cat >conftest.$ac_ext <<_ACEOF | 13693 | cat >conftest.$ac_ext <<_ACEOF |
13539 | #line 13539 "configure" | 13694 | #line 13694 "configure" |
13540 | #include "confdefs.h" | 13695 | #include "confdefs.h" |
13541 | #include <utmpx.h> | 13696 | #include <utmpx.h> |
13542 | 13697 | ||
@@ -13553,7 +13708,7 @@ fi | |||
13553 | 13708 | ||
13554 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13709 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13555 | if test -n "`echo $ossh_varname`"; then | 13710 | if test -n "`echo $ossh_varname`"; then |
13556 | echo "$as_me:13556: result: $ossh_result" >&5 | 13711 | echo "$as_me:13711: result: $ossh_result" >&5 |
13557 | echo "${ECHO_T}$ossh_result" >&6 | 13712 | echo "${ECHO_T}$ossh_result" >&6 |
13558 | if test "x$ossh_result" = "xyes"; then | 13713 | if test "x$ossh_result" = "xyes"; then |
13559 | cat >>confdefs.h <<\EOF | 13714 | cat >>confdefs.h <<\EOF |
@@ -13562,21 +13717,21 @@ EOF | |||
13562 | 13717 | ||
13563 | fi | 13718 | fi |
13564 | else | 13719 | else |
13565 | echo "$as_me:13565: result: no" >&5 | 13720 | echo "$as_me:13720: result: no" >&5 |
13566 | echo "${ECHO_T}no" >&6 | 13721 | echo "${ECHO_T}no" >&6 |
13567 | fi | 13722 | fi |
13568 | 13723 | ||
13569 | # look for field 'ut_addr' in header 'utmp.h' | 13724 | # look for field 'ut_addr' in header 'utmp.h' |
13570 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13725 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13571 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 13726 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
13572 | echo "$as_me:13572: checking for ut_addr field in utmp.h" >&5 | 13727 | echo "$as_me:13727: checking for ut_addr field in utmp.h" >&5 |
13573 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 | 13728 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 |
13574 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13729 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13575 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13730 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13576 | else | 13731 | else |
13577 | 13732 | ||
13578 | cat >conftest.$ac_ext <<_ACEOF | 13733 | cat >conftest.$ac_ext <<_ACEOF |
13579 | #line 13579 "configure" | 13734 | #line 13734 "configure" |
13580 | #include "confdefs.h" | 13735 | #include "confdefs.h" |
13581 | #include <utmp.h> | 13736 | #include <utmp.h> |
13582 | 13737 | ||
@@ -13593,7 +13748,7 @@ fi | |||
13593 | 13748 | ||
13594 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13749 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13595 | if test -n "`echo $ossh_varname`"; then | 13750 | if test -n "`echo $ossh_varname`"; then |
13596 | echo "$as_me:13596: result: $ossh_result" >&5 | 13751 | echo "$as_me:13751: result: $ossh_result" >&5 |
13597 | echo "${ECHO_T}$ossh_result" >&6 | 13752 | echo "${ECHO_T}$ossh_result" >&6 |
13598 | if test "x$ossh_result" = "xyes"; then | 13753 | if test "x$ossh_result" = "xyes"; then |
13599 | cat >>confdefs.h <<\EOF | 13754 | cat >>confdefs.h <<\EOF |
@@ -13602,21 +13757,21 @@ EOF | |||
13602 | 13757 | ||
13603 | fi | 13758 | fi |
13604 | else | 13759 | else |
13605 | echo "$as_me:13605: result: no" >&5 | 13760 | echo "$as_me:13760: result: no" >&5 |
13606 | echo "${ECHO_T}no" >&6 | 13761 | echo "${ECHO_T}no" >&6 |
13607 | fi | 13762 | fi |
13608 | 13763 | ||
13609 | # look for field 'ut_addr' in header 'utmpx.h' | 13764 | # look for field 'ut_addr' in header 'utmpx.h' |
13610 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13765 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
13611 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 13766 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
13612 | echo "$as_me:13612: checking for ut_addr field in utmpx.h" >&5 | 13767 | echo "$as_me:13767: checking for ut_addr field in utmpx.h" >&5 |
13613 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 | 13768 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 |
13614 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13769 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13615 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13770 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13616 | else | 13771 | else |
13617 | 13772 | ||
13618 | cat >conftest.$ac_ext <<_ACEOF | 13773 | cat >conftest.$ac_ext <<_ACEOF |
13619 | #line 13619 "configure" | 13774 | #line 13774 "configure" |
13620 | #include "confdefs.h" | 13775 | #include "confdefs.h" |
13621 | #include <utmpx.h> | 13776 | #include <utmpx.h> |
13622 | 13777 | ||
@@ -13633,7 +13788,7 @@ fi | |||
13633 | 13788 | ||
13634 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13789 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13635 | if test -n "`echo $ossh_varname`"; then | 13790 | if test -n "`echo $ossh_varname`"; then |
13636 | echo "$as_me:13636: result: $ossh_result" >&5 | 13791 | echo "$as_me:13791: result: $ossh_result" >&5 |
13637 | echo "${ECHO_T}$ossh_result" >&6 | 13792 | echo "${ECHO_T}$ossh_result" >&6 |
13638 | if test "x$ossh_result" = "xyes"; then | 13793 | if test "x$ossh_result" = "xyes"; then |
13639 | cat >>confdefs.h <<\EOF | 13794 | cat >>confdefs.h <<\EOF |
@@ -13642,21 +13797,21 @@ EOF | |||
13642 | 13797 | ||
13643 | fi | 13798 | fi |
13644 | else | 13799 | else |
13645 | echo "$as_me:13645: result: no" >&5 | 13800 | echo "$as_me:13800: result: no" >&5 |
13646 | echo "${ECHO_T}no" >&6 | 13801 | echo "${ECHO_T}no" >&6 |
13647 | fi | 13802 | fi |
13648 | 13803 | ||
13649 | # look for field 'ut_addr_v6' in header 'utmp.h' | 13804 | # look for field 'ut_addr_v6' in header 'utmp.h' |
13650 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13805 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13651 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 13806 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 |
13652 | echo "$as_me:13652: checking for ut_addr_v6 field in utmp.h" >&5 | 13807 | echo "$as_me:13807: checking for ut_addr_v6 field in utmp.h" >&5 |
13653 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 | 13808 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 |
13654 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13809 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13655 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13810 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13656 | else | 13811 | else |
13657 | 13812 | ||
13658 | cat >conftest.$ac_ext <<_ACEOF | 13813 | cat >conftest.$ac_ext <<_ACEOF |
13659 | #line 13659 "configure" | 13814 | #line 13814 "configure" |
13660 | #include "confdefs.h" | 13815 | #include "confdefs.h" |
13661 | #include <utmp.h> | 13816 | #include <utmp.h> |
13662 | 13817 | ||
@@ -13673,7 +13828,7 @@ fi | |||
13673 | 13828 | ||
13674 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13829 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13675 | if test -n "`echo $ossh_varname`"; then | 13830 | if test -n "`echo $ossh_varname`"; then |
13676 | echo "$as_me:13676: result: $ossh_result" >&5 | 13831 | echo "$as_me:13831: result: $ossh_result" >&5 |
13677 | echo "${ECHO_T}$ossh_result" >&6 | 13832 | echo "${ECHO_T}$ossh_result" >&6 |
13678 | if test "x$ossh_result" = "xyes"; then | 13833 | if test "x$ossh_result" = "xyes"; then |
13679 | cat >>confdefs.h <<\EOF | 13834 | cat >>confdefs.h <<\EOF |
@@ -13682,21 +13837,21 @@ EOF | |||
13682 | 13837 | ||
13683 | fi | 13838 | fi |
13684 | else | 13839 | else |
13685 | echo "$as_me:13685: result: no" >&5 | 13840 | echo "$as_me:13840: result: no" >&5 |
13686 | echo "${ECHO_T}no" >&6 | 13841 | echo "${ECHO_T}no" >&6 |
13687 | fi | 13842 | fi |
13688 | 13843 | ||
13689 | # look for field 'ut_addr_v6' in header 'utmpx.h' | 13844 | # look for field 'ut_addr_v6' in header 'utmpx.h' |
13690 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13845 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
13691 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 13846 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 |
13692 | echo "$as_me:13692: checking for ut_addr_v6 field in utmpx.h" >&5 | 13847 | echo "$as_me:13847: checking for ut_addr_v6 field in utmpx.h" >&5 |
13693 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 | 13848 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 |
13694 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13849 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13695 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13850 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13696 | else | 13851 | else |
13697 | 13852 | ||
13698 | cat >conftest.$ac_ext <<_ACEOF | 13853 | cat >conftest.$ac_ext <<_ACEOF |
13699 | #line 13699 "configure" | 13854 | #line 13854 "configure" |
13700 | #include "confdefs.h" | 13855 | #include "confdefs.h" |
13701 | #include <utmpx.h> | 13856 | #include <utmpx.h> |
13702 | 13857 | ||
@@ -13713,7 +13868,7 @@ fi | |||
13713 | 13868 | ||
13714 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13869 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13715 | if test -n "`echo $ossh_varname`"; then | 13870 | if test -n "`echo $ossh_varname`"; then |
13716 | echo "$as_me:13716: result: $ossh_result" >&5 | 13871 | echo "$as_me:13871: result: $ossh_result" >&5 |
13717 | echo "${ECHO_T}$ossh_result" >&6 | 13872 | echo "${ECHO_T}$ossh_result" >&6 |
13718 | if test "x$ossh_result" = "xyes"; then | 13873 | if test "x$ossh_result" = "xyes"; then |
13719 | cat >>confdefs.h <<\EOF | 13874 | cat >>confdefs.h <<\EOF |
@@ -13722,21 +13877,21 @@ EOF | |||
13722 | 13877 | ||
13723 | fi | 13878 | fi |
13724 | else | 13879 | else |
13725 | echo "$as_me:13725: result: no" >&5 | 13880 | echo "$as_me:13880: result: no" >&5 |
13726 | echo "${ECHO_T}no" >&6 | 13881 | echo "${ECHO_T}no" >&6 |
13727 | fi | 13882 | fi |
13728 | 13883 | ||
13729 | # look for field 'ut_exit' in header 'utmp.h' | 13884 | # look for field 'ut_exit' in header 'utmp.h' |
13730 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13885 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13731 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit | 13886 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit |
13732 | echo "$as_me:13732: checking for ut_exit field in utmp.h" >&5 | 13887 | echo "$as_me:13887: checking for ut_exit field in utmp.h" >&5 |
13733 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 | 13888 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 |
13734 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13889 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13735 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13890 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13736 | else | 13891 | else |
13737 | 13892 | ||
13738 | cat >conftest.$ac_ext <<_ACEOF | 13893 | cat >conftest.$ac_ext <<_ACEOF |
13739 | #line 13739 "configure" | 13894 | #line 13894 "configure" |
13740 | #include "confdefs.h" | 13895 | #include "confdefs.h" |
13741 | #include <utmp.h> | 13896 | #include <utmp.h> |
13742 | 13897 | ||
@@ -13753,7 +13908,7 @@ fi | |||
13753 | 13908 | ||
13754 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13909 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13755 | if test -n "`echo $ossh_varname`"; then | 13910 | if test -n "`echo $ossh_varname`"; then |
13756 | echo "$as_me:13756: result: $ossh_result" >&5 | 13911 | echo "$as_me:13911: result: $ossh_result" >&5 |
13757 | echo "${ECHO_T}$ossh_result" >&6 | 13912 | echo "${ECHO_T}$ossh_result" >&6 |
13758 | if test "x$ossh_result" = "xyes"; then | 13913 | if test "x$ossh_result" = "xyes"; then |
13759 | cat >>confdefs.h <<\EOF | 13914 | cat >>confdefs.h <<\EOF |
@@ -13762,21 +13917,21 @@ EOF | |||
13762 | 13917 | ||
13763 | fi | 13918 | fi |
13764 | else | 13919 | else |
13765 | echo "$as_me:13765: result: no" >&5 | 13920 | echo "$as_me:13920: result: no" >&5 |
13766 | echo "${ECHO_T}no" >&6 | 13921 | echo "${ECHO_T}no" >&6 |
13767 | fi | 13922 | fi |
13768 | 13923 | ||
13769 | # look for field 'ut_time' in header 'utmp.h' | 13924 | # look for field 'ut_time' in header 'utmp.h' |
13770 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13925 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
13771 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 13926 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
13772 | echo "$as_me:13772: checking for ut_time field in utmp.h" >&5 | 13927 | echo "$as_me:13927: checking for ut_time field in utmp.h" >&5 |
13773 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 | 13928 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 |
13774 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13929 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13775 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13930 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13776 | else | 13931 | else |
13777 | 13932 | ||
13778 | cat >conftest.$ac_ext <<_ACEOF | 13933 | cat >conftest.$ac_ext <<_ACEOF |
13779 | #line 13779 "configure" | 13934 | #line 13934 "configure" |
13780 | #include "confdefs.h" | 13935 | #include "confdefs.h" |
13781 | #include <utmp.h> | 13936 | #include <utmp.h> |
13782 | 13937 | ||
@@ -13793,7 +13948,7 @@ fi | |||
13793 | 13948 | ||
13794 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13949 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13795 | if test -n "`echo $ossh_varname`"; then | 13950 | if test -n "`echo $ossh_varname`"; then |
13796 | echo "$as_me:13796: result: $ossh_result" >&5 | 13951 | echo "$as_me:13951: result: $ossh_result" >&5 |
13797 | echo "${ECHO_T}$ossh_result" >&6 | 13952 | echo "${ECHO_T}$ossh_result" >&6 |
13798 | if test "x$ossh_result" = "xyes"; then | 13953 | if test "x$ossh_result" = "xyes"; then |
13799 | cat >>confdefs.h <<\EOF | 13954 | cat >>confdefs.h <<\EOF |
@@ -13802,21 +13957,21 @@ EOF | |||
13802 | 13957 | ||
13803 | fi | 13958 | fi |
13804 | else | 13959 | else |
13805 | echo "$as_me:13805: result: no" >&5 | 13960 | echo "$as_me:13960: result: no" >&5 |
13806 | echo "${ECHO_T}no" >&6 | 13961 | echo "${ECHO_T}no" >&6 |
13807 | fi | 13962 | fi |
13808 | 13963 | ||
13809 | # look for field 'ut_time' in header 'utmpx.h' | 13964 | # look for field 'ut_time' in header 'utmpx.h' |
13810 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13965 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
13811 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 13966 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
13812 | echo "$as_me:13812: checking for ut_time field in utmpx.h" >&5 | 13967 | echo "$as_me:13967: checking for ut_time field in utmpx.h" >&5 |
13813 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 | 13968 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 |
13814 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13969 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13815 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13970 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13816 | else | 13971 | else |
13817 | 13972 | ||
13818 | cat >conftest.$ac_ext <<_ACEOF | 13973 | cat >conftest.$ac_ext <<_ACEOF |
13819 | #line 13819 "configure" | 13974 | #line 13974 "configure" |
13820 | #include "confdefs.h" | 13975 | #include "confdefs.h" |
13821 | #include <utmpx.h> | 13976 | #include <utmpx.h> |
13822 | 13977 | ||
@@ -13833,7 +13988,7 @@ fi | |||
13833 | 13988 | ||
13834 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13989 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13835 | if test -n "`echo $ossh_varname`"; then | 13990 | if test -n "`echo $ossh_varname`"; then |
13836 | echo "$as_me:13836: result: $ossh_result" >&5 | 13991 | echo "$as_me:13991: result: $ossh_result" >&5 |
13837 | echo "${ECHO_T}$ossh_result" >&6 | 13992 | echo "${ECHO_T}$ossh_result" >&6 |
13838 | if test "x$ossh_result" = "xyes"; then | 13993 | if test "x$ossh_result" = "xyes"; then |
13839 | cat >>confdefs.h <<\EOF | 13994 | cat >>confdefs.h <<\EOF |
@@ -13842,21 +13997,21 @@ EOF | |||
13842 | 13997 | ||
13843 | fi | 13998 | fi |
13844 | else | 13999 | else |
13845 | echo "$as_me:13845: result: no" >&5 | 14000 | echo "$as_me:14000: result: no" >&5 |
13846 | echo "${ECHO_T}no" >&6 | 14001 | echo "${ECHO_T}no" >&6 |
13847 | fi | 14002 | fi |
13848 | 14003 | ||
13849 | # look for field 'ut_tv' in header 'utmpx.h' | 14004 | # look for field 'ut_tv' in header 'utmpx.h' |
13850 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 14005 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
13851 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 14006 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
13852 | echo "$as_me:13852: checking for ut_tv field in utmpx.h" >&5 | 14007 | echo "$as_me:14007: checking for ut_tv field in utmpx.h" >&5 |
13853 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 | 14008 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 |
13854 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 14009 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
13855 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14010 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13856 | else | 14011 | else |
13857 | 14012 | ||
13858 | cat >conftest.$ac_ext <<_ACEOF | 14013 | cat >conftest.$ac_ext <<_ACEOF |
13859 | #line 13859 "configure" | 14014 | #line 14014 "configure" |
13860 | #include "confdefs.h" | 14015 | #include "confdefs.h" |
13861 | #include <utmpx.h> | 14016 | #include <utmpx.h> |
13862 | 14017 | ||
@@ -13873,7 +14028,7 @@ fi | |||
13873 | 14028 | ||
13874 | ossh_result=`eval 'echo $'"$ossh_varname"` | 14029 | ossh_result=`eval 'echo $'"$ossh_varname"` |
13875 | if test -n "`echo $ossh_varname`"; then | 14030 | if test -n "`echo $ossh_varname`"; then |
13876 | echo "$as_me:13876: result: $ossh_result" >&5 | 14031 | echo "$as_me:14031: result: $ossh_result" >&5 |
13877 | echo "${ECHO_T}$ossh_result" >&6 | 14032 | echo "${ECHO_T}$ossh_result" >&6 |
13878 | if test "x$ossh_result" = "xyes"; then | 14033 | if test "x$ossh_result" = "xyes"; then |
13879 | cat >>confdefs.h <<\EOF | 14034 | cat >>confdefs.h <<\EOF |
@@ -13882,17 +14037,17 @@ EOF | |||
13882 | 14037 | ||
13883 | fi | 14038 | fi |
13884 | else | 14039 | else |
13885 | echo "$as_me:13885: result: no" >&5 | 14040 | echo "$as_me:14040: result: no" >&5 |
13886 | echo "${ECHO_T}no" >&6 | 14041 | echo "${ECHO_T}no" >&6 |
13887 | fi | 14042 | fi |
13888 | 14043 | ||
13889 | echo "$as_me:13889: checking for struct stat.st_blksize" >&5 | 14044 | echo "$as_me:14044: checking for struct stat.st_blksize" >&5 |
13890 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 | 14045 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 |
13891 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then | 14046 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then |
13892 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14047 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13893 | else | 14048 | else |
13894 | cat >conftest.$ac_ext <<_ACEOF | 14049 | cat >conftest.$ac_ext <<_ACEOF |
13895 | #line 13895 "configure" | 14050 | #line 14050 "configure" |
13896 | #include "confdefs.h" | 14051 | #include "confdefs.h" |
13897 | $ac_includes_default | 14052 | $ac_includes_default |
13898 | int | 14053 | int |
@@ -13906,16 +14061,16 @@ return 0; | |||
13906 | } | 14061 | } |
13907 | _ACEOF | 14062 | _ACEOF |
13908 | rm -f conftest.$ac_objext | 14063 | rm -f conftest.$ac_objext |
13909 | if { (eval echo "$as_me:13909: \"$ac_compile\"") >&5 | 14064 | if { (eval echo "$as_me:14064: \"$ac_compile\"") >&5 |
13910 | (eval $ac_compile) 2>&5 | 14065 | (eval $ac_compile) 2>&5 |
13911 | ac_status=$? | 14066 | ac_status=$? |
13912 | echo "$as_me:13912: \$? = $ac_status" >&5 | 14067 | echo "$as_me:14067: \$? = $ac_status" >&5 |
13913 | (exit $ac_status); } && | 14068 | (exit $ac_status); } && |
13914 | { ac_try='test -s conftest.$ac_objext' | 14069 | { ac_try='test -s conftest.$ac_objext' |
13915 | { (eval echo "$as_me:13915: \"$ac_try\"") >&5 | 14070 | { (eval echo "$as_me:14070: \"$ac_try\"") >&5 |
13916 | (eval $ac_try) 2>&5 | 14071 | (eval $ac_try) 2>&5 |
13917 | ac_status=$? | 14072 | ac_status=$? |
13918 | echo "$as_me:13918: \$? = $ac_status" >&5 | 14073 | echo "$as_me:14073: \$? = $ac_status" >&5 |
13919 | (exit $ac_status); }; }; then | 14074 | (exit $ac_status); }; }; then |
13920 | ac_cv_member_struct_stat_st_blksize=yes | 14075 | ac_cv_member_struct_stat_st_blksize=yes |
13921 | else | 14076 | else |
@@ -13925,7 +14080,7 @@ ac_cv_member_struct_stat_st_blksize=no | |||
13925 | fi | 14080 | fi |
13926 | rm -f conftest.$ac_objext conftest.$ac_ext | 14081 | rm -f conftest.$ac_objext conftest.$ac_ext |
13927 | fi | 14082 | fi |
13928 | echo "$as_me:13928: result: $ac_cv_member_struct_stat_st_blksize" >&5 | 14083 | echo "$as_me:14083: result: $ac_cv_member_struct_stat_st_blksize" >&5 |
13929 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 | 14084 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 |
13930 | if test $ac_cv_member_struct_stat_st_blksize = yes; then | 14085 | if test $ac_cv_member_struct_stat_st_blksize = yes; then |
13931 | 14086 | ||
@@ -13935,14 +14090,14 @@ EOF | |||
13935 | 14090 | ||
13936 | fi | 14091 | fi |
13937 | 14092 | ||
13938 | echo "$as_me:13938: checking for ss_family field in struct sockaddr_storage" >&5 | 14093 | echo "$as_me:14093: checking for ss_family field in struct sockaddr_storage" >&5 |
13939 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | 14094 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 |
13940 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then | 14095 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then |
13941 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14096 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13942 | else | 14097 | else |
13943 | 14098 | ||
13944 | cat >conftest.$ac_ext <<_ACEOF | 14099 | cat >conftest.$ac_ext <<_ACEOF |
13945 | #line 13945 "configure" | 14100 | #line 14100 "configure" |
13946 | #include "confdefs.h" | 14101 | #include "confdefs.h" |
13947 | 14102 | ||
13948 | #include <sys/types.h> | 14103 | #include <sys/types.h> |
@@ -13957,16 +14112,16 @@ main () | |||
13957 | } | 14112 | } |
13958 | _ACEOF | 14113 | _ACEOF |
13959 | rm -f conftest.$ac_objext | 14114 | rm -f conftest.$ac_objext |
13960 | if { (eval echo "$as_me:13960: \"$ac_compile\"") >&5 | 14115 | if { (eval echo "$as_me:14115: \"$ac_compile\"") >&5 |
13961 | (eval $ac_compile) 2>&5 | 14116 | (eval $ac_compile) 2>&5 |
13962 | ac_status=$? | 14117 | ac_status=$? |
13963 | echo "$as_me:13963: \$? = $ac_status" >&5 | 14118 | echo "$as_me:14118: \$? = $ac_status" >&5 |
13964 | (exit $ac_status); } && | 14119 | (exit $ac_status); } && |
13965 | { ac_try='test -s conftest.$ac_objext' | 14120 | { ac_try='test -s conftest.$ac_objext' |
13966 | { (eval echo "$as_me:13966: \"$ac_try\"") >&5 | 14121 | { (eval echo "$as_me:14121: \"$ac_try\"") >&5 |
13967 | (eval $ac_try) 2>&5 | 14122 | (eval $ac_try) 2>&5 |
13968 | ac_status=$? | 14123 | ac_status=$? |
13969 | echo "$as_me:13969: \$? = $ac_status" >&5 | 14124 | echo "$as_me:14124: \$? = $ac_status" >&5 |
13970 | (exit $ac_status); }; }; then | 14125 | (exit $ac_status); }; }; then |
13971 | ac_cv_have_ss_family_in_struct_ss="yes" | 14126 | ac_cv_have_ss_family_in_struct_ss="yes" |
13972 | else | 14127 | else |
@@ -13977,7 +14132,7 @@ fi | |||
13977 | rm -f conftest.$ac_objext conftest.$ac_ext | 14132 | rm -f conftest.$ac_objext conftest.$ac_ext |
13978 | 14133 | ||
13979 | fi | 14134 | fi |
13980 | echo "$as_me:13980: result: $ac_cv_have_ss_family_in_struct_ss" >&5 | 14135 | echo "$as_me:14135: result: $ac_cv_have_ss_family_in_struct_ss" >&5 |
13981 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 | 14136 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 |
13982 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then | 14137 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then |
13983 | cat >>confdefs.h <<\EOF | 14138 | cat >>confdefs.h <<\EOF |
@@ -13986,14 +14141,14 @@ EOF | |||
13986 | 14141 | ||
13987 | fi | 14142 | fi |
13988 | 14143 | ||
13989 | echo "$as_me:13989: checking for __ss_family field in struct sockaddr_storage" >&5 | 14144 | echo "$as_me:14144: checking for __ss_family field in struct sockaddr_storage" >&5 |
13990 | echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | 14145 | echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6 |
13991 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then | 14146 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then |
13992 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14147 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13993 | else | 14148 | else |
13994 | 14149 | ||
13995 | cat >conftest.$ac_ext <<_ACEOF | 14150 | cat >conftest.$ac_ext <<_ACEOF |
13996 | #line 13996 "configure" | 14151 | #line 14151 "configure" |
13997 | #include "confdefs.h" | 14152 | #include "confdefs.h" |
13998 | 14153 | ||
13999 | #include <sys/types.h> | 14154 | #include <sys/types.h> |
@@ -14008,16 +14163,16 @@ main () | |||
14008 | } | 14163 | } |
14009 | _ACEOF | 14164 | _ACEOF |
14010 | rm -f conftest.$ac_objext | 14165 | rm -f conftest.$ac_objext |
14011 | if { (eval echo "$as_me:14011: \"$ac_compile\"") >&5 | 14166 | if { (eval echo "$as_me:14166: \"$ac_compile\"") >&5 |
14012 | (eval $ac_compile) 2>&5 | 14167 | (eval $ac_compile) 2>&5 |
14013 | ac_status=$? | 14168 | ac_status=$? |
14014 | echo "$as_me:14014: \$? = $ac_status" >&5 | 14169 | echo "$as_me:14169: \$? = $ac_status" >&5 |
14015 | (exit $ac_status); } && | 14170 | (exit $ac_status); } && |
14016 | { ac_try='test -s conftest.$ac_objext' | 14171 | { ac_try='test -s conftest.$ac_objext' |
14017 | { (eval echo "$as_me:14017: \"$ac_try\"") >&5 | 14172 | { (eval echo "$as_me:14172: \"$ac_try\"") >&5 |
14018 | (eval $ac_try) 2>&5 | 14173 | (eval $ac_try) 2>&5 |
14019 | ac_status=$? | 14174 | ac_status=$? |
14020 | echo "$as_me:14020: \$? = $ac_status" >&5 | 14175 | echo "$as_me:14175: \$? = $ac_status" >&5 |
14021 | (exit $ac_status); }; }; then | 14176 | (exit $ac_status); }; }; then |
14022 | ac_cv_have___ss_family_in_struct_ss="yes" | 14177 | ac_cv_have___ss_family_in_struct_ss="yes" |
14023 | else | 14178 | else |
@@ -14029,7 +14184,7 @@ fi | |||
14029 | rm -f conftest.$ac_objext conftest.$ac_ext | 14184 | rm -f conftest.$ac_objext conftest.$ac_ext |
14030 | 14185 | ||
14031 | fi | 14186 | fi |
14032 | echo "$as_me:14032: result: $ac_cv_have___ss_family_in_struct_ss" >&5 | 14187 | echo "$as_me:14187: result: $ac_cv_have___ss_family_in_struct_ss" >&5 |
14033 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 | 14188 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 |
14034 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then | 14189 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then |
14035 | cat >>confdefs.h <<\EOF | 14190 | cat >>confdefs.h <<\EOF |
@@ -14038,14 +14193,14 @@ EOF | |||
14038 | 14193 | ||
14039 | fi | 14194 | fi |
14040 | 14195 | ||
14041 | echo "$as_me:14041: checking for pw_class field in struct passwd" >&5 | 14196 | echo "$as_me:14196: checking for pw_class field in struct passwd" >&5 |
14042 | echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 | 14197 | echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 |
14043 | if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then | 14198 | if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then |
14044 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14199 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14045 | else | 14200 | else |
14046 | 14201 | ||
14047 | cat >conftest.$ac_ext <<_ACEOF | 14202 | cat >conftest.$ac_ext <<_ACEOF |
14048 | #line 14048 "configure" | 14203 | #line 14203 "configure" |
14049 | #include "confdefs.h" | 14204 | #include "confdefs.h" |
14050 | 14205 | ||
14051 | #include <pwd.h> | 14206 | #include <pwd.h> |
@@ -14059,16 +14214,16 @@ main () | |||
14059 | } | 14214 | } |
14060 | _ACEOF | 14215 | _ACEOF |
14061 | rm -f conftest.$ac_objext | 14216 | rm -f conftest.$ac_objext |
14062 | if { (eval echo "$as_me:14062: \"$ac_compile\"") >&5 | 14217 | if { (eval echo "$as_me:14217: \"$ac_compile\"") >&5 |
14063 | (eval $ac_compile) 2>&5 | 14218 | (eval $ac_compile) 2>&5 |
14064 | ac_status=$? | 14219 | ac_status=$? |
14065 | echo "$as_me:14065: \$? = $ac_status" >&5 | 14220 | echo "$as_me:14220: \$? = $ac_status" >&5 |
14066 | (exit $ac_status); } && | 14221 | (exit $ac_status); } && |
14067 | { ac_try='test -s conftest.$ac_objext' | 14222 | { ac_try='test -s conftest.$ac_objext' |
14068 | { (eval echo "$as_me:14068: \"$ac_try\"") >&5 | 14223 | { (eval echo "$as_me:14223: \"$ac_try\"") >&5 |
14069 | (eval $ac_try) 2>&5 | 14224 | (eval $ac_try) 2>&5 |
14070 | ac_status=$? | 14225 | ac_status=$? |
14071 | echo "$as_me:14071: \$? = $ac_status" >&5 | 14226 | echo "$as_me:14226: \$? = $ac_status" >&5 |
14072 | (exit $ac_status); }; }; then | 14227 | (exit $ac_status); }; }; then |
14073 | ac_cv_have_pw_class_in_struct_passwd="yes" | 14228 | ac_cv_have_pw_class_in_struct_passwd="yes" |
14074 | else | 14229 | else |
@@ -14080,7 +14235,7 @@ fi | |||
14080 | rm -f conftest.$ac_objext conftest.$ac_ext | 14235 | rm -f conftest.$ac_objext conftest.$ac_ext |
14081 | 14236 | ||
14082 | fi | 14237 | fi |
14083 | echo "$as_me:14083: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 | 14238 | echo "$as_me:14238: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 |
14084 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 | 14239 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 |
14085 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then | 14240 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then |
14086 | cat >>confdefs.h <<\EOF | 14241 | cat >>confdefs.h <<\EOF |
@@ -14089,14 +14244,14 @@ EOF | |||
14089 | 14244 | ||
14090 | fi | 14245 | fi |
14091 | 14246 | ||
14092 | echo "$as_me:14092: checking for pw_expire field in struct passwd" >&5 | 14247 | echo "$as_me:14247: checking for pw_expire field in struct passwd" >&5 |
14093 | echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 | 14248 | echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 |
14094 | if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then | 14249 | if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then |
14095 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14250 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14096 | else | 14251 | else |
14097 | 14252 | ||
14098 | cat >conftest.$ac_ext <<_ACEOF | 14253 | cat >conftest.$ac_ext <<_ACEOF |
14099 | #line 14099 "configure" | 14254 | #line 14254 "configure" |
14100 | #include "confdefs.h" | 14255 | #include "confdefs.h" |
14101 | 14256 | ||
14102 | #include <pwd.h> | 14257 | #include <pwd.h> |
@@ -14110,16 +14265,16 @@ main () | |||
14110 | } | 14265 | } |
14111 | _ACEOF | 14266 | _ACEOF |
14112 | rm -f conftest.$ac_objext | 14267 | rm -f conftest.$ac_objext |
14113 | if { (eval echo "$as_me:14113: \"$ac_compile\"") >&5 | 14268 | if { (eval echo "$as_me:14268: \"$ac_compile\"") >&5 |
14114 | (eval $ac_compile) 2>&5 | 14269 | (eval $ac_compile) 2>&5 |
14115 | ac_status=$? | 14270 | ac_status=$? |
14116 | echo "$as_me:14116: \$? = $ac_status" >&5 | 14271 | echo "$as_me:14271: \$? = $ac_status" >&5 |
14117 | (exit $ac_status); } && | 14272 | (exit $ac_status); } && |
14118 | { ac_try='test -s conftest.$ac_objext' | 14273 | { ac_try='test -s conftest.$ac_objext' |
14119 | { (eval echo "$as_me:14119: \"$ac_try\"") >&5 | 14274 | { (eval echo "$as_me:14274: \"$ac_try\"") >&5 |
14120 | (eval $ac_try) 2>&5 | 14275 | (eval $ac_try) 2>&5 |
14121 | ac_status=$? | 14276 | ac_status=$? |
14122 | echo "$as_me:14122: \$? = $ac_status" >&5 | 14277 | echo "$as_me:14277: \$? = $ac_status" >&5 |
14123 | (exit $ac_status); }; }; then | 14278 | (exit $ac_status); }; }; then |
14124 | ac_cv_have_pw_expire_in_struct_passwd="yes" | 14279 | ac_cv_have_pw_expire_in_struct_passwd="yes" |
14125 | else | 14280 | else |
@@ -14131,7 +14286,7 @@ fi | |||
14131 | rm -f conftest.$ac_objext conftest.$ac_ext | 14286 | rm -f conftest.$ac_objext conftest.$ac_ext |
14132 | 14287 | ||
14133 | fi | 14288 | fi |
14134 | echo "$as_me:14134: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 | 14289 | echo "$as_me:14289: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 |
14135 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 | 14290 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 |
14136 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then | 14291 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then |
14137 | cat >>confdefs.h <<\EOF | 14292 | cat >>confdefs.h <<\EOF |
@@ -14140,14 +14295,14 @@ EOF | |||
14140 | 14295 | ||
14141 | fi | 14296 | fi |
14142 | 14297 | ||
14143 | echo "$as_me:14143: checking for pw_change field in struct passwd" >&5 | 14298 | echo "$as_me:14298: checking for pw_change field in struct passwd" >&5 |
14144 | echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 | 14299 | echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 |
14145 | if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then | 14300 | if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then |
14146 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14301 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14147 | else | 14302 | else |
14148 | 14303 | ||
14149 | cat >conftest.$ac_ext <<_ACEOF | 14304 | cat >conftest.$ac_ext <<_ACEOF |
14150 | #line 14150 "configure" | 14305 | #line 14305 "configure" |
14151 | #include "confdefs.h" | 14306 | #include "confdefs.h" |
14152 | 14307 | ||
14153 | #include <pwd.h> | 14308 | #include <pwd.h> |
@@ -14161,16 +14316,16 @@ main () | |||
14161 | } | 14316 | } |
14162 | _ACEOF | 14317 | _ACEOF |
14163 | rm -f conftest.$ac_objext | 14318 | rm -f conftest.$ac_objext |
14164 | if { (eval echo "$as_me:14164: \"$ac_compile\"") >&5 | 14319 | if { (eval echo "$as_me:14319: \"$ac_compile\"") >&5 |
14165 | (eval $ac_compile) 2>&5 | 14320 | (eval $ac_compile) 2>&5 |
14166 | ac_status=$? | 14321 | ac_status=$? |
14167 | echo "$as_me:14167: \$? = $ac_status" >&5 | 14322 | echo "$as_me:14322: \$? = $ac_status" >&5 |
14168 | (exit $ac_status); } && | 14323 | (exit $ac_status); } && |
14169 | { ac_try='test -s conftest.$ac_objext' | 14324 | { ac_try='test -s conftest.$ac_objext' |
14170 | { (eval echo "$as_me:14170: \"$ac_try\"") >&5 | 14325 | { (eval echo "$as_me:14325: \"$ac_try\"") >&5 |
14171 | (eval $ac_try) 2>&5 | 14326 | (eval $ac_try) 2>&5 |
14172 | ac_status=$? | 14327 | ac_status=$? |
14173 | echo "$as_me:14173: \$? = $ac_status" >&5 | 14328 | echo "$as_me:14328: \$? = $ac_status" >&5 |
14174 | (exit $ac_status); }; }; then | 14329 | (exit $ac_status); }; }; then |
14175 | ac_cv_have_pw_change_in_struct_passwd="yes" | 14330 | ac_cv_have_pw_change_in_struct_passwd="yes" |
14176 | else | 14331 | else |
@@ -14182,7 +14337,7 @@ fi | |||
14182 | rm -f conftest.$ac_objext conftest.$ac_ext | 14337 | rm -f conftest.$ac_objext conftest.$ac_ext |
14183 | 14338 | ||
14184 | fi | 14339 | fi |
14185 | echo "$as_me:14185: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 | 14340 | echo "$as_me:14340: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 |
14186 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 | 14341 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 |
14187 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then | 14342 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then |
14188 | cat >>confdefs.h <<\EOF | 14343 | cat >>confdefs.h <<\EOF |
@@ -14191,19 +14346,19 @@ EOF | |||
14191 | 14346 | ||
14192 | fi | 14347 | fi |
14193 | 14348 | ||
14194 | echo "$as_me:14194: checking for msg_accrights field in struct msghdr" >&5 | 14349 | echo "$as_me:14349: checking for msg_accrights field in struct msghdr" >&5 |
14195 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 | 14350 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 |
14196 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then | 14351 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then |
14197 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14352 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14198 | else | 14353 | else |
14199 | 14354 | ||
14200 | if test "$cross_compiling" = yes; then | 14355 | if test "$cross_compiling" = yes; then |
14201 | { { echo "$as_me:14201: error: cannot run test program while cross compiling" >&5 | 14356 | { { echo "$as_me:14356: error: cannot run test program while cross compiling" >&5 |
14202 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 14357 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
14203 | { (exit 1); exit 1; }; } | 14358 | { (exit 1); exit 1; }; } |
14204 | else | 14359 | else |
14205 | cat >conftest.$ac_ext <<_ACEOF | 14360 | cat >conftest.$ac_ext <<_ACEOF |
14206 | #line 14206 "configure" | 14361 | #line 14361 "configure" |
14207 | #include "confdefs.h" | 14362 | #include "confdefs.h" |
14208 | 14363 | ||
14209 | #include <sys/types.h> | 14364 | #include <sys/types.h> |
@@ -14220,15 +14375,15 @@ exit(0); | |||
14220 | 14375 | ||
14221 | _ACEOF | 14376 | _ACEOF |
14222 | rm -f conftest$ac_exeext | 14377 | rm -f conftest$ac_exeext |
14223 | if { (eval echo "$as_me:14223: \"$ac_link\"") >&5 | 14378 | if { (eval echo "$as_me:14378: \"$ac_link\"") >&5 |
14224 | (eval $ac_link) 2>&5 | 14379 | (eval $ac_link) 2>&5 |
14225 | ac_status=$? | 14380 | ac_status=$? |
14226 | echo "$as_me:14226: \$? = $ac_status" >&5 | 14381 | echo "$as_me:14381: \$? = $ac_status" >&5 |
14227 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 14382 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14228 | { (eval echo "$as_me:14228: \"$ac_try\"") >&5 | 14383 | { (eval echo "$as_me:14383: \"$ac_try\"") >&5 |
14229 | (eval $ac_try) 2>&5 | 14384 | (eval $ac_try) 2>&5 |
14230 | ac_status=$? | 14385 | ac_status=$? |
14231 | echo "$as_me:14231: \$? = $ac_status" >&5 | 14386 | echo "$as_me:14386: \$? = $ac_status" >&5 |
14232 | (exit $ac_status); }; }; then | 14387 | (exit $ac_status); }; }; then |
14233 | ac_cv_have_accrights_in_msghdr="yes" | 14388 | ac_cv_have_accrights_in_msghdr="yes" |
14234 | else | 14389 | else |
@@ -14242,7 +14397,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |||
14242 | fi | 14397 | fi |
14243 | 14398 | ||
14244 | fi | 14399 | fi |
14245 | echo "$as_me:14245: result: $ac_cv_have_accrights_in_msghdr" >&5 | 14400 | echo "$as_me:14400: result: $ac_cv_have_accrights_in_msghdr" >&5 |
14246 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 | 14401 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 |
14247 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | 14402 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then |
14248 | cat >>confdefs.h <<\EOF | 14403 | cat >>confdefs.h <<\EOF |
@@ -14251,19 +14406,19 @@ EOF | |||
14251 | 14406 | ||
14252 | fi | 14407 | fi |
14253 | 14408 | ||
14254 | echo "$as_me:14254: checking for msg_control field in struct msghdr" >&5 | 14409 | echo "$as_me:14409: checking for msg_control field in struct msghdr" >&5 |
14255 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 | 14410 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 |
14256 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then | 14411 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then |
14257 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14412 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14258 | else | 14413 | else |
14259 | 14414 | ||
14260 | if test "$cross_compiling" = yes; then | 14415 | if test "$cross_compiling" = yes; then |
14261 | { { echo "$as_me:14261: error: cannot run test program while cross compiling" >&5 | 14416 | { { echo "$as_me:14416: error: cannot run test program while cross compiling" >&5 |
14262 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 14417 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
14263 | { (exit 1); exit 1; }; } | 14418 | { (exit 1); exit 1; }; } |
14264 | else | 14419 | else |
14265 | cat >conftest.$ac_ext <<_ACEOF | 14420 | cat >conftest.$ac_ext <<_ACEOF |
14266 | #line 14266 "configure" | 14421 | #line 14421 "configure" |
14267 | #include "confdefs.h" | 14422 | #include "confdefs.h" |
14268 | 14423 | ||
14269 | #include <sys/types.h> | 14424 | #include <sys/types.h> |
@@ -14280,15 +14435,15 @@ exit(0); | |||
14280 | 14435 | ||
14281 | _ACEOF | 14436 | _ACEOF |
14282 | rm -f conftest$ac_exeext | 14437 | rm -f conftest$ac_exeext |
14283 | if { (eval echo "$as_me:14283: \"$ac_link\"") >&5 | 14438 | if { (eval echo "$as_me:14438: \"$ac_link\"") >&5 |
14284 | (eval $ac_link) 2>&5 | 14439 | (eval $ac_link) 2>&5 |
14285 | ac_status=$? | 14440 | ac_status=$? |
14286 | echo "$as_me:14286: \$? = $ac_status" >&5 | 14441 | echo "$as_me:14441: \$? = $ac_status" >&5 |
14287 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 14442 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14288 | { (eval echo "$as_me:14288: \"$ac_try\"") >&5 | 14443 | { (eval echo "$as_me:14443: \"$ac_try\"") >&5 |
14289 | (eval $ac_try) 2>&5 | 14444 | (eval $ac_try) 2>&5 |
14290 | ac_status=$? | 14445 | ac_status=$? |
14291 | echo "$as_me:14291: \$? = $ac_status" >&5 | 14446 | echo "$as_me:14446: \$? = $ac_status" >&5 |
14292 | (exit $ac_status); }; }; then | 14447 | (exit $ac_status); }; }; then |
14293 | ac_cv_have_control_in_msghdr="yes" | 14448 | ac_cv_have_control_in_msghdr="yes" |
14294 | else | 14449 | else |
@@ -14302,7 +14457,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |||
14302 | fi | 14457 | fi |
14303 | 14458 | ||
14304 | fi | 14459 | fi |
14305 | echo "$as_me:14305: result: $ac_cv_have_control_in_msghdr" >&5 | 14460 | echo "$as_me:14460: result: $ac_cv_have_control_in_msghdr" >&5 |
14306 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 | 14461 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 |
14307 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | 14462 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then |
14308 | cat >>confdefs.h <<\EOF | 14463 | cat >>confdefs.h <<\EOF |
@@ -14311,14 +14466,14 @@ EOF | |||
14311 | 14466 | ||
14312 | fi | 14467 | fi |
14313 | 14468 | ||
14314 | echo "$as_me:14314: checking if libc defines __progname" >&5 | 14469 | echo "$as_me:14469: checking if libc defines __progname" >&5 |
14315 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 | 14470 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 |
14316 | if test "${ac_cv_libc_defines___progname+set}" = set; then | 14471 | if test "${ac_cv_libc_defines___progname+set}" = set; then |
14317 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14472 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14318 | else | 14473 | else |
14319 | 14474 | ||
14320 | cat >conftest.$ac_ext <<_ACEOF | 14475 | cat >conftest.$ac_ext <<_ACEOF |
14321 | #line 14321 "configure" | 14476 | #line 14476 "configure" |
14322 | #include "confdefs.h" | 14477 | #include "confdefs.h" |
14323 | 14478 | ||
14324 | int | 14479 | int |
@@ -14330,16 +14485,16 @@ main () | |||
14330 | } | 14485 | } |
14331 | _ACEOF | 14486 | _ACEOF |
14332 | rm -f conftest.$ac_objext conftest$ac_exeext | 14487 | rm -f conftest.$ac_objext conftest$ac_exeext |
14333 | if { (eval echo "$as_me:14333: \"$ac_link\"") >&5 | 14488 | if { (eval echo "$as_me:14488: \"$ac_link\"") >&5 |
14334 | (eval $ac_link) 2>&5 | 14489 | (eval $ac_link) 2>&5 |
14335 | ac_status=$? | 14490 | ac_status=$? |
14336 | echo "$as_me:14336: \$? = $ac_status" >&5 | 14491 | echo "$as_me:14491: \$? = $ac_status" >&5 |
14337 | (exit $ac_status); } && | 14492 | (exit $ac_status); } && |
14338 | { ac_try='test -s conftest$ac_exeext' | 14493 | { ac_try='test -s conftest$ac_exeext' |
14339 | { (eval echo "$as_me:14339: \"$ac_try\"") >&5 | 14494 | { (eval echo "$as_me:14494: \"$ac_try\"") >&5 |
14340 | (eval $ac_try) 2>&5 | 14495 | (eval $ac_try) 2>&5 |
14341 | ac_status=$? | 14496 | ac_status=$? |
14342 | echo "$as_me:14342: \$? = $ac_status" >&5 | 14497 | echo "$as_me:14497: \$? = $ac_status" >&5 |
14343 | (exit $ac_status); }; }; then | 14498 | (exit $ac_status); }; }; then |
14344 | ac_cv_libc_defines___progname="yes" | 14499 | ac_cv_libc_defines___progname="yes" |
14345 | else | 14500 | else |
@@ -14351,7 +14506,7 @@ fi | |||
14351 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14506 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14352 | 14507 | ||
14353 | fi | 14508 | fi |
14354 | echo "$as_me:14354: result: $ac_cv_libc_defines___progname" >&5 | 14509 | echo "$as_me:14509: result: $ac_cv_libc_defines___progname" >&5 |
14355 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 | 14510 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 |
14356 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | 14511 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then |
14357 | cat >>confdefs.h <<\EOF | 14512 | cat >>confdefs.h <<\EOF |
@@ -14360,14 +14515,14 @@ EOF | |||
14360 | 14515 | ||
14361 | fi | 14516 | fi |
14362 | 14517 | ||
14363 | echo "$as_me:14363: checking whether $CC implements __FUNCTION__" >&5 | 14518 | echo "$as_me:14518: checking whether $CC implements __FUNCTION__" >&5 |
14364 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 | 14519 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 |
14365 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then | 14520 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then |
14366 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14521 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14367 | else | 14522 | else |
14368 | 14523 | ||
14369 | cat >conftest.$ac_ext <<_ACEOF | 14524 | cat >conftest.$ac_ext <<_ACEOF |
14370 | #line 14370 "configure" | 14525 | #line 14525 "configure" |
14371 | #include "confdefs.h" | 14526 | #include "confdefs.h" |
14372 | 14527 | ||
14373 | #include <stdio.h> | 14528 | #include <stdio.h> |
@@ -14381,16 +14536,16 @@ main () | |||
14381 | } | 14536 | } |
14382 | _ACEOF | 14537 | _ACEOF |
14383 | rm -f conftest.$ac_objext conftest$ac_exeext | 14538 | rm -f conftest.$ac_objext conftest$ac_exeext |
14384 | if { (eval echo "$as_me:14384: \"$ac_link\"") >&5 | 14539 | if { (eval echo "$as_me:14539: \"$ac_link\"") >&5 |
14385 | (eval $ac_link) 2>&5 | 14540 | (eval $ac_link) 2>&5 |
14386 | ac_status=$? | 14541 | ac_status=$? |
14387 | echo "$as_me:14387: \$? = $ac_status" >&5 | 14542 | echo "$as_me:14542: \$? = $ac_status" >&5 |
14388 | (exit $ac_status); } && | 14543 | (exit $ac_status); } && |
14389 | { ac_try='test -s conftest$ac_exeext' | 14544 | { ac_try='test -s conftest$ac_exeext' |
14390 | { (eval echo "$as_me:14390: \"$ac_try\"") >&5 | 14545 | { (eval echo "$as_me:14545: \"$ac_try\"") >&5 |
14391 | (eval $ac_try) 2>&5 | 14546 | (eval $ac_try) 2>&5 |
14392 | ac_status=$? | 14547 | ac_status=$? |
14393 | echo "$as_me:14393: \$? = $ac_status" >&5 | 14548 | echo "$as_me:14548: \$? = $ac_status" >&5 |
14394 | (exit $ac_status); }; }; then | 14549 | (exit $ac_status); }; }; then |
14395 | ac_cv_cc_implements___FUNCTION__="yes" | 14550 | ac_cv_cc_implements___FUNCTION__="yes" |
14396 | else | 14551 | else |
@@ -14402,7 +14557,7 @@ fi | |||
14402 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14557 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14403 | 14558 | ||
14404 | fi | 14559 | fi |
14405 | echo "$as_me:14405: result: $ac_cv_cc_implements___FUNCTION__" >&5 | 14560 | echo "$as_me:14560: result: $ac_cv_cc_implements___FUNCTION__" >&5 |
14406 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 | 14561 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 |
14407 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | 14562 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then |
14408 | cat >>confdefs.h <<\EOF | 14563 | cat >>confdefs.h <<\EOF |
@@ -14411,14 +14566,14 @@ EOF | |||
14411 | 14566 | ||
14412 | fi | 14567 | fi |
14413 | 14568 | ||
14414 | echo "$as_me:14414: checking whether $CC implements __func__" >&5 | 14569 | echo "$as_me:14569: checking whether $CC implements __func__" >&5 |
14415 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 | 14570 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 |
14416 | if test "${ac_cv_cc_implements___func__+set}" = set; then | 14571 | if test "${ac_cv_cc_implements___func__+set}" = set; then |
14417 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14572 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14418 | else | 14573 | else |
14419 | 14574 | ||
14420 | cat >conftest.$ac_ext <<_ACEOF | 14575 | cat >conftest.$ac_ext <<_ACEOF |
14421 | #line 14421 "configure" | 14576 | #line 14576 "configure" |
14422 | #include "confdefs.h" | 14577 | #include "confdefs.h" |
14423 | 14578 | ||
14424 | #include <stdio.h> | 14579 | #include <stdio.h> |
@@ -14432,16 +14587,16 @@ main () | |||
14432 | } | 14587 | } |
14433 | _ACEOF | 14588 | _ACEOF |
14434 | rm -f conftest.$ac_objext conftest$ac_exeext | 14589 | rm -f conftest.$ac_objext conftest$ac_exeext |
14435 | if { (eval echo "$as_me:14435: \"$ac_link\"") >&5 | 14590 | if { (eval echo "$as_me:14590: \"$ac_link\"") >&5 |
14436 | (eval $ac_link) 2>&5 | 14591 | (eval $ac_link) 2>&5 |
14437 | ac_status=$? | 14592 | ac_status=$? |
14438 | echo "$as_me:14438: \$? = $ac_status" >&5 | 14593 | echo "$as_me:14593: \$? = $ac_status" >&5 |
14439 | (exit $ac_status); } && | 14594 | (exit $ac_status); } && |
14440 | { ac_try='test -s conftest$ac_exeext' | 14595 | { ac_try='test -s conftest$ac_exeext' |
14441 | { (eval echo "$as_me:14441: \"$ac_try\"") >&5 | 14596 | { (eval echo "$as_me:14596: \"$ac_try\"") >&5 |
14442 | (eval $ac_try) 2>&5 | 14597 | (eval $ac_try) 2>&5 |
14443 | ac_status=$? | 14598 | ac_status=$? |
14444 | echo "$as_me:14444: \$? = $ac_status" >&5 | 14599 | echo "$as_me:14599: \$? = $ac_status" >&5 |
14445 | (exit $ac_status); }; }; then | 14600 | (exit $ac_status); }; }; then |
14446 | ac_cv_cc_implements___func__="yes" | 14601 | ac_cv_cc_implements___func__="yes" |
14447 | else | 14602 | else |
@@ -14453,7 +14608,7 @@ fi | |||
14453 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14608 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14454 | 14609 | ||
14455 | fi | 14610 | fi |
14456 | echo "$as_me:14456: result: $ac_cv_cc_implements___func__" >&5 | 14611 | echo "$as_me:14611: result: $ac_cv_cc_implements___func__" >&5 |
14457 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 | 14612 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 |
14458 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | 14613 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then |
14459 | cat >>confdefs.h <<\EOF | 14614 | cat >>confdefs.h <<\EOF |
@@ -14462,14 +14617,14 @@ EOF | |||
14462 | 14617 | ||
14463 | fi | 14618 | fi |
14464 | 14619 | ||
14465 | echo "$as_me:14465: checking whether getopt has optreset support" >&5 | 14620 | echo "$as_me:14620: checking whether getopt has optreset support" >&5 |
14466 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 | 14621 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 |
14467 | if test "${ac_cv_have_getopt_optreset+set}" = set; then | 14622 | if test "${ac_cv_have_getopt_optreset+set}" = set; then |
14468 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14623 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14469 | else | 14624 | else |
14470 | 14625 | ||
14471 | cat >conftest.$ac_ext <<_ACEOF | 14626 | cat >conftest.$ac_ext <<_ACEOF |
14472 | #line 14472 "configure" | 14627 | #line 14627 "configure" |
14473 | #include "confdefs.h" | 14628 | #include "confdefs.h" |
14474 | 14629 | ||
14475 | #include <getopt.h> | 14630 | #include <getopt.h> |
@@ -14483,16 +14638,16 @@ main () | |||
14483 | } | 14638 | } |
14484 | _ACEOF | 14639 | _ACEOF |
14485 | rm -f conftest.$ac_objext conftest$ac_exeext | 14640 | rm -f conftest.$ac_objext conftest$ac_exeext |
14486 | if { (eval echo "$as_me:14486: \"$ac_link\"") >&5 | 14641 | if { (eval echo "$as_me:14641: \"$ac_link\"") >&5 |
14487 | (eval $ac_link) 2>&5 | 14642 | (eval $ac_link) 2>&5 |
14488 | ac_status=$? | 14643 | ac_status=$? |
14489 | echo "$as_me:14489: \$? = $ac_status" >&5 | 14644 | echo "$as_me:14644: \$? = $ac_status" >&5 |
14490 | (exit $ac_status); } && | 14645 | (exit $ac_status); } && |
14491 | { ac_try='test -s conftest$ac_exeext' | 14646 | { ac_try='test -s conftest$ac_exeext' |
14492 | { (eval echo "$as_me:14492: \"$ac_try\"") >&5 | 14647 | { (eval echo "$as_me:14647: \"$ac_try\"") >&5 |
14493 | (eval $ac_try) 2>&5 | 14648 | (eval $ac_try) 2>&5 |
14494 | ac_status=$? | 14649 | ac_status=$? |
14495 | echo "$as_me:14495: \$? = $ac_status" >&5 | 14650 | echo "$as_me:14650: \$? = $ac_status" >&5 |
14496 | (exit $ac_status); }; }; then | 14651 | (exit $ac_status); }; }; then |
14497 | ac_cv_have_getopt_optreset="yes" | 14652 | ac_cv_have_getopt_optreset="yes" |
14498 | else | 14653 | else |
@@ -14504,7 +14659,7 @@ fi | |||
14504 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14659 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14505 | 14660 | ||
14506 | fi | 14661 | fi |
14507 | echo "$as_me:14507: result: $ac_cv_have_getopt_optreset" >&5 | 14662 | echo "$as_me:14662: result: $ac_cv_have_getopt_optreset" >&5 |
14508 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 | 14663 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 |
14509 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | 14664 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then |
14510 | cat >>confdefs.h <<\EOF | 14665 | cat >>confdefs.h <<\EOF |
@@ -14513,14 +14668,14 @@ EOF | |||
14513 | 14668 | ||
14514 | fi | 14669 | fi |
14515 | 14670 | ||
14516 | echo "$as_me:14516: checking if libc defines sys_errlist" >&5 | 14671 | echo "$as_me:14671: checking if libc defines sys_errlist" >&5 |
14517 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 | 14672 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 |
14518 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then | 14673 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then |
14519 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14674 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14520 | else | 14675 | else |
14521 | 14676 | ||
14522 | cat >conftest.$ac_ext <<_ACEOF | 14677 | cat >conftest.$ac_ext <<_ACEOF |
14523 | #line 14523 "configure" | 14678 | #line 14678 "configure" |
14524 | #include "confdefs.h" | 14679 | #include "confdefs.h" |
14525 | 14680 | ||
14526 | int | 14681 | int |
@@ -14532,16 +14687,16 @@ main () | |||
14532 | } | 14687 | } |
14533 | _ACEOF | 14688 | _ACEOF |
14534 | rm -f conftest.$ac_objext conftest$ac_exeext | 14689 | rm -f conftest.$ac_objext conftest$ac_exeext |
14535 | if { (eval echo "$as_me:14535: \"$ac_link\"") >&5 | 14690 | if { (eval echo "$as_me:14690: \"$ac_link\"") >&5 |
14536 | (eval $ac_link) 2>&5 | 14691 | (eval $ac_link) 2>&5 |
14537 | ac_status=$? | 14692 | ac_status=$? |
14538 | echo "$as_me:14538: \$? = $ac_status" >&5 | 14693 | echo "$as_me:14693: \$? = $ac_status" >&5 |
14539 | (exit $ac_status); } && | 14694 | (exit $ac_status); } && |
14540 | { ac_try='test -s conftest$ac_exeext' | 14695 | { ac_try='test -s conftest$ac_exeext' |
14541 | { (eval echo "$as_me:14541: \"$ac_try\"") >&5 | 14696 | { (eval echo "$as_me:14696: \"$ac_try\"") >&5 |
14542 | (eval $ac_try) 2>&5 | 14697 | (eval $ac_try) 2>&5 |
14543 | ac_status=$? | 14698 | ac_status=$? |
14544 | echo "$as_me:14544: \$? = $ac_status" >&5 | 14699 | echo "$as_me:14699: \$? = $ac_status" >&5 |
14545 | (exit $ac_status); }; }; then | 14700 | (exit $ac_status); }; }; then |
14546 | ac_cv_libc_defines_sys_errlist="yes" | 14701 | ac_cv_libc_defines_sys_errlist="yes" |
14547 | else | 14702 | else |
@@ -14553,7 +14708,7 @@ fi | |||
14553 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14708 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14554 | 14709 | ||
14555 | fi | 14710 | fi |
14556 | echo "$as_me:14556: result: $ac_cv_libc_defines_sys_errlist" >&5 | 14711 | echo "$as_me:14711: result: $ac_cv_libc_defines_sys_errlist" >&5 |
14557 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 | 14712 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 |
14558 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | 14713 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then |
14559 | cat >>confdefs.h <<\EOF | 14714 | cat >>confdefs.h <<\EOF |
@@ -14562,14 +14717,14 @@ EOF | |||
14562 | 14717 | ||
14563 | fi | 14718 | fi |
14564 | 14719 | ||
14565 | echo "$as_me:14565: checking if libc defines sys_nerr" >&5 | 14720 | echo "$as_me:14720: checking if libc defines sys_nerr" >&5 |
14566 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 | 14721 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 |
14567 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then | 14722 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then |
14568 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14569 | else | 14724 | else |
14570 | 14725 | ||
14571 | cat >conftest.$ac_ext <<_ACEOF | 14726 | cat >conftest.$ac_ext <<_ACEOF |
14572 | #line 14572 "configure" | 14727 | #line 14727 "configure" |
14573 | #include "confdefs.h" | 14728 | #include "confdefs.h" |
14574 | 14729 | ||
14575 | int | 14730 | int |
@@ -14581,16 +14736,16 @@ main () | |||
14581 | } | 14736 | } |
14582 | _ACEOF | 14737 | _ACEOF |
14583 | rm -f conftest.$ac_objext conftest$ac_exeext | 14738 | rm -f conftest.$ac_objext conftest$ac_exeext |
14584 | if { (eval echo "$as_me:14584: \"$ac_link\"") >&5 | 14739 | if { (eval echo "$as_me:14739: \"$ac_link\"") >&5 |
14585 | (eval $ac_link) 2>&5 | 14740 | (eval $ac_link) 2>&5 |
14586 | ac_status=$? | 14741 | ac_status=$? |
14587 | echo "$as_me:14587: \$? = $ac_status" >&5 | 14742 | echo "$as_me:14742: \$? = $ac_status" >&5 |
14588 | (exit $ac_status); } && | 14743 | (exit $ac_status); } && |
14589 | { ac_try='test -s conftest$ac_exeext' | 14744 | { ac_try='test -s conftest$ac_exeext' |
14590 | { (eval echo "$as_me:14590: \"$ac_try\"") >&5 | 14745 | { (eval echo "$as_me:14745: \"$ac_try\"") >&5 |
14591 | (eval $ac_try) 2>&5 | 14746 | (eval $ac_try) 2>&5 |
14592 | ac_status=$? | 14747 | ac_status=$? |
14593 | echo "$as_me:14593: \$? = $ac_status" >&5 | 14748 | echo "$as_me:14748: \$? = $ac_status" >&5 |
14594 | (exit $ac_status); }; }; then | 14749 | (exit $ac_status); }; }; then |
14595 | ac_cv_libc_defines_sys_nerr="yes" | 14750 | ac_cv_libc_defines_sys_nerr="yes" |
14596 | else | 14751 | else |
@@ -14602,7 +14757,7 @@ fi | |||
14602 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14757 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14603 | 14758 | ||
14604 | fi | 14759 | fi |
14605 | echo "$as_me:14605: result: $ac_cv_libc_defines_sys_nerr" >&5 | 14760 | echo "$as_me:14760: result: $ac_cv_libc_defines_sys_nerr" >&5 |
14606 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 | 14761 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 |
14607 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | 14762 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then |
14608 | cat >>confdefs.h <<\EOF | 14763 | cat >>confdefs.h <<\EOF |
@@ -14633,23 +14788,23 @@ if test "${with_sectok+set}" = set; then | |||
14633 | for ac_header in sectok.h | 14788 | for ac_header in sectok.h |
14634 | do | 14789 | do |
14635 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14790 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14636 | echo "$as_me:14636: checking for $ac_header" >&5 | 14791 | echo "$as_me:14791: checking for $ac_header" >&5 |
14637 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 14792 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
14638 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14793 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
14639 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14794 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14640 | else | 14795 | else |
14641 | cat >conftest.$ac_ext <<_ACEOF | 14796 | cat >conftest.$ac_ext <<_ACEOF |
14642 | #line 14642 "configure" | 14797 | #line 14797 "configure" |
14643 | #include "confdefs.h" | 14798 | #include "confdefs.h" |
14644 | #include <$ac_header> | 14799 | #include <$ac_header> |
14645 | _ACEOF | 14800 | _ACEOF |
14646 | if { (eval echo "$as_me:14646: \"$ac_cpp conftest.$ac_ext\"") >&5 | 14801 | if { (eval echo "$as_me:14801: \"$ac_cpp conftest.$ac_ext\"") >&5 |
14647 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 14802 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
14648 | ac_status=$? | 14803 | ac_status=$? |
14649 | egrep -v '^ *\+' conftest.er1 >conftest.err | 14804 | egrep -v '^ *\+' conftest.er1 >conftest.err |
14650 | rm -f conftest.er1 | 14805 | rm -f conftest.er1 |
14651 | cat conftest.err >&5 | 14806 | cat conftest.err >&5 |
14652 | echo "$as_me:14652: \$? = $ac_status" >&5 | 14807 | echo "$as_me:14807: \$? = $ac_status" >&5 |
14653 | (exit $ac_status); } >/dev/null; then | 14808 | (exit $ac_status); } >/dev/null; then |
14654 | if test -s conftest.err; then | 14809 | if test -s conftest.err; then |
14655 | ac_cpp_err=$ac_c_preproc_warn_flag | 14810 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -14668,7 +14823,7 @@ else | |||
14668 | fi | 14823 | fi |
14669 | rm -f conftest.err conftest.$ac_ext | 14824 | rm -f conftest.err conftest.$ac_ext |
14670 | fi | 14825 | fi |
14671 | echo "$as_me:14671: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14826 | echo "$as_me:14826: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
14672 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 14827 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
14673 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 14828 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14674 | cat >>confdefs.h <<EOF | 14829 | cat >>confdefs.h <<EOF |
@@ -14679,12 +14834,12 @@ fi | |||
14679 | done | 14834 | done |
14680 | 14835 | ||
14681 | if test "$ac_cv_header_sectok_h" != yes; then | 14836 | if test "$ac_cv_header_sectok_h" != yes; then |
14682 | { { echo "$as_me:14682: error: Can't find sectok.h" >&5 | 14837 | { { echo "$as_me:14837: error: Can't find sectok.h" >&5 |
14683 | echo "$as_me: error: Can't find sectok.h" >&2;} | 14838 | echo "$as_me: error: Can't find sectok.h" >&2;} |
14684 | { (exit 1); exit 1; }; } | 14839 | { (exit 1); exit 1; }; } |
14685 | fi | 14840 | fi |
14686 | 14841 | ||
14687 | echo "$as_me:14687: checking for sectok_open in -lsectok" >&5 | 14842 | echo "$as_me:14842: checking for sectok_open in -lsectok" >&5 |
14688 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 | 14843 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 |
14689 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then | 14844 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then |
14690 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14845 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -14692,7 +14847,7 @@ else | |||
14692 | ac_check_lib_save_LIBS=$LIBS | 14847 | ac_check_lib_save_LIBS=$LIBS |
14693 | LIBS="-lsectok $LIBS" | 14848 | LIBS="-lsectok $LIBS" |
14694 | cat >conftest.$ac_ext <<_ACEOF | 14849 | cat >conftest.$ac_ext <<_ACEOF |
14695 | #line 14695 "configure" | 14850 | #line 14850 "configure" |
14696 | #include "confdefs.h" | 14851 | #include "confdefs.h" |
14697 | 14852 | ||
14698 | /* Override any gcc2 internal prototype to avoid an error. */ | 14853 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -14711,16 +14866,16 @@ sectok_open (); | |||
14711 | } | 14866 | } |
14712 | _ACEOF | 14867 | _ACEOF |
14713 | rm -f conftest.$ac_objext conftest$ac_exeext | 14868 | rm -f conftest.$ac_objext conftest$ac_exeext |
14714 | if { (eval echo "$as_me:14714: \"$ac_link\"") >&5 | 14869 | if { (eval echo "$as_me:14869: \"$ac_link\"") >&5 |
14715 | (eval $ac_link) 2>&5 | 14870 | (eval $ac_link) 2>&5 |
14716 | ac_status=$? | 14871 | ac_status=$? |
14717 | echo "$as_me:14717: \$? = $ac_status" >&5 | 14872 | echo "$as_me:14872: \$? = $ac_status" >&5 |
14718 | (exit $ac_status); } && | 14873 | (exit $ac_status); } && |
14719 | { ac_try='test -s conftest$ac_exeext' | 14874 | { ac_try='test -s conftest$ac_exeext' |
14720 | { (eval echo "$as_me:14720: \"$ac_try\"") >&5 | 14875 | { (eval echo "$as_me:14875: \"$ac_try\"") >&5 |
14721 | (eval $ac_try) 2>&5 | 14876 | (eval $ac_try) 2>&5 |
14722 | ac_status=$? | 14877 | ac_status=$? |
14723 | echo "$as_me:14723: \$? = $ac_status" >&5 | 14878 | echo "$as_me:14878: \$? = $ac_status" >&5 |
14724 | (exit $ac_status); }; }; then | 14879 | (exit $ac_status); }; }; then |
14725 | ac_cv_lib_sectok_sectok_open=yes | 14880 | ac_cv_lib_sectok_sectok_open=yes |
14726 | else | 14881 | else |
@@ -14731,7 +14886,7 @@ fi | |||
14731 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14886 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
14732 | LIBS=$ac_check_lib_save_LIBS | 14887 | LIBS=$ac_check_lib_save_LIBS |
14733 | fi | 14888 | fi |
14734 | echo "$as_me:14734: result: $ac_cv_lib_sectok_sectok_open" >&5 | 14889 | echo "$as_me:14889: result: $ac_cv_lib_sectok_sectok_open" >&5 |
14735 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 | 14890 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 |
14736 | if test $ac_cv_lib_sectok_sectok_open = yes; then | 14891 | if test $ac_cv_lib_sectok_sectok_open = yes; then |
14737 | cat >>confdefs.h <<EOF | 14892 | cat >>confdefs.h <<EOF |
@@ -14743,7 +14898,7 @@ EOF | |||
14743 | fi | 14898 | fi |
14744 | 14899 | ||
14745 | if test "$ac_cv_lib_sectok_sectok_open" != yes; then | 14900 | if test "$ac_cv_lib_sectok_sectok_open" != yes; then |
14746 | { { echo "$as_me:14746: error: Can't find libsectok" >&5 | 14901 | { { echo "$as_me:14901: error: Can't find libsectok" >&5 |
14747 | echo "$as_me: error: Can't find libsectok" >&2;} | 14902 | echo "$as_me: error: Can't find libsectok" >&2;} |
14748 | { (exit 1); exit 1; }; } | 14903 | { (exit 1); exit 1; }; } |
14749 | fi | 14904 | fi |
@@ -14773,7 +14928,7 @@ if test x$opensc_config_prefix != x ; then | |||
14773 | OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config | 14928 | OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config |
14774 | # Extract the first word of "opensc-config", so it can be a program name with args. | 14929 | # Extract the first word of "opensc-config", so it can be a program name with args. |
14775 | set dummy opensc-config; ac_word=$2 | 14930 | set dummy opensc-config; ac_word=$2 |
14776 | echo "$as_me:14776: checking for $ac_word" >&5 | 14931 | echo "$as_me:14931: checking for $ac_word" >&5 |
14777 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 14932 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
14778 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then | 14933 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then |
14779 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14934 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -14790,7 +14945,7 @@ for ac_dir in $ac_dummy; do | |||
14790 | test -z "$ac_dir" && ac_dir=. | 14945 | test -z "$ac_dir" && ac_dir=. |
14791 | if $as_executable_p "$ac_dir/$ac_word"; then | 14946 | if $as_executable_p "$ac_dir/$ac_word"; then |
14792 | ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word" | 14947 | ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word" |
14793 | echo "$as_me:14793: found $ac_dir/$ac_word" >&5 | 14948 | echo "$as_me:14948: found $ac_dir/$ac_word" >&5 |
14794 | break | 14949 | break |
14795 | fi | 14950 | fi |
14796 | done | 14951 | done |
@@ -14802,10 +14957,10 @@ fi | |||
14802 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG | 14957 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG |
14803 | 14958 | ||
14804 | if test -n "$OPENSC_CONFIG"; then | 14959 | if test -n "$OPENSC_CONFIG"; then |
14805 | echo "$as_me:14805: result: $OPENSC_CONFIG" >&5 | 14960 | echo "$as_me:14960: result: $OPENSC_CONFIG" >&5 |
14806 | echo "${ECHO_T}$OPENSC_CONFIG" >&6 | 14961 | echo "${ECHO_T}$OPENSC_CONFIG" >&6 |
14807 | else | 14962 | else |
14808 | echo "$as_me:14808: result: no" >&5 | 14963 | echo "$as_me:14963: result: no" >&5 |
14809 | echo "${ECHO_T}no" >&6 | 14964 | echo "${ECHO_T}no" >&6 |
14810 | fi | 14965 | fi |
14811 | 14966 | ||
@@ -14827,7 +14982,7 @@ EOF | |||
14827 | fi | 14982 | fi |
14828 | 14983 | ||
14829 | # Check libraries needed by DNS fingerprint support | 14984 | # Check libraries needed by DNS fingerprint support |
14830 | echo "$as_me:14830: checking for library containing getrrsetbyname" >&5 | 14985 | echo "$as_me:14985: checking for library containing getrrsetbyname" >&5 |
14831 | echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6 | 14986 | echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6 |
14832 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then | 14987 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then |
14833 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14988 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -14835,7 +14990,7 @@ else | |||
14835 | ac_func_search_save_LIBS=$LIBS | 14990 | ac_func_search_save_LIBS=$LIBS |
14836 | ac_cv_search_getrrsetbyname=no | 14991 | ac_cv_search_getrrsetbyname=no |
14837 | cat >conftest.$ac_ext <<_ACEOF | 14992 | cat >conftest.$ac_ext <<_ACEOF |
14838 | #line 14838 "configure" | 14993 | #line 14993 "configure" |
14839 | #include "confdefs.h" | 14994 | #include "confdefs.h" |
14840 | 14995 | ||
14841 | /* Override any gcc2 internal prototype to avoid an error. */ | 14996 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -14854,16 +15009,16 @@ getrrsetbyname (); | |||
14854 | } | 15009 | } |
14855 | _ACEOF | 15010 | _ACEOF |
14856 | rm -f conftest.$ac_objext conftest$ac_exeext | 15011 | rm -f conftest.$ac_objext conftest$ac_exeext |
14857 | if { (eval echo "$as_me:14857: \"$ac_link\"") >&5 | 15012 | if { (eval echo "$as_me:15012: \"$ac_link\"") >&5 |
14858 | (eval $ac_link) 2>&5 | 15013 | (eval $ac_link) 2>&5 |
14859 | ac_status=$? | 15014 | ac_status=$? |
14860 | echo "$as_me:14860: \$? = $ac_status" >&5 | 15015 | echo "$as_me:15015: \$? = $ac_status" >&5 |
14861 | (exit $ac_status); } && | 15016 | (exit $ac_status); } && |
14862 | { ac_try='test -s conftest$ac_exeext' | 15017 | { ac_try='test -s conftest$ac_exeext' |
14863 | { (eval echo "$as_me:14863: \"$ac_try\"") >&5 | 15018 | { (eval echo "$as_me:15018: \"$ac_try\"") >&5 |
14864 | (eval $ac_try) 2>&5 | 15019 | (eval $ac_try) 2>&5 |
14865 | ac_status=$? | 15020 | ac_status=$? |
14866 | echo "$as_me:14866: \$? = $ac_status" >&5 | 15021 | echo "$as_me:15021: \$? = $ac_status" >&5 |
14867 | (exit $ac_status); }; }; then | 15022 | (exit $ac_status); }; }; then |
14868 | ac_cv_search_getrrsetbyname="none required" | 15023 | ac_cv_search_getrrsetbyname="none required" |
14869 | else | 15024 | else |
@@ -14875,7 +15030,7 @@ if test "$ac_cv_search_getrrsetbyname" = no; then | |||
14875 | for ac_lib in resolv; do | 15030 | for ac_lib in resolv; do |
14876 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 15031 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14877 | cat >conftest.$ac_ext <<_ACEOF | 15032 | cat >conftest.$ac_ext <<_ACEOF |
14878 | #line 14878 "configure" | 15033 | #line 15033 "configure" |
14879 | #include "confdefs.h" | 15034 | #include "confdefs.h" |
14880 | 15035 | ||
14881 | /* Override any gcc2 internal prototype to avoid an error. */ | 15036 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -14894,16 +15049,16 @@ getrrsetbyname (); | |||
14894 | } | 15049 | } |
14895 | _ACEOF | 15050 | _ACEOF |
14896 | rm -f conftest.$ac_objext conftest$ac_exeext | 15051 | rm -f conftest.$ac_objext conftest$ac_exeext |
14897 | if { (eval echo "$as_me:14897: \"$ac_link\"") >&5 | 15052 | if { (eval echo "$as_me:15052: \"$ac_link\"") >&5 |
14898 | (eval $ac_link) 2>&5 | 15053 | (eval $ac_link) 2>&5 |
14899 | ac_status=$? | 15054 | ac_status=$? |
14900 | echo "$as_me:14900: \$? = $ac_status" >&5 | 15055 | echo "$as_me:15055: \$? = $ac_status" >&5 |
14901 | (exit $ac_status); } && | 15056 | (exit $ac_status); } && |
14902 | { ac_try='test -s conftest$ac_exeext' | 15057 | { ac_try='test -s conftest$ac_exeext' |
14903 | { (eval echo "$as_me:14903: \"$ac_try\"") >&5 | 15058 | { (eval echo "$as_me:15058: \"$ac_try\"") >&5 |
14904 | (eval $ac_try) 2>&5 | 15059 | (eval $ac_try) 2>&5 |
14905 | ac_status=$? | 15060 | ac_status=$? |
14906 | echo "$as_me:14906: \$? = $ac_status" >&5 | 15061 | echo "$as_me:15061: \$? = $ac_status" >&5 |
14907 | (exit $ac_status); }; }; then | 15062 | (exit $ac_status); }; }; then |
14908 | ac_cv_search_getrrsetbyname="-l$ac_lib" | 15063 | ac_cv_search_getrrsetbyname="-l$ac_lib" |
14909 | break | 15064 | break |
@@ -14916,7 +15071,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
14916 | fi | 15071 | fi |
14917 | LIBS=$ac_func_search_save_LIBS | 15072 | LIBS=$ac_func_search_save_LIBS |
14918 | fi | 15073 | fi |
14919 | echo "$as_me:14919: result: $ac_cv_search_getrrsetbyname" >&5 | 15074 | echo "$as_me:15074: result: $ac_cv_search_getrrsetbyname" >&5 |
14920 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 | 15075 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 |
14921 | if test "$ac_cv_search_getrrsetbyname" != no; then | 15076 | if test "$ac_cv_search_getrrsetbyname" != no; then |
14922 | test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" | 15077 | test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" |
@@ -14927,7 +15082,7 @@ EOF | |||
14927 | else | 15082 | else |
14928 | 15083 | ||
14929 | # Needed by our getrrsetbyname() | 15084 | # Needed by our getrrsetbyname() |
14930 | echo "$as_me:14930: checking for library containing res_query" >&5 | 15085 | echo "$as_me:15085: checking for library containing res_query" >&5 |
14931 | echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6 | 15086 | echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6 |
14932 | if test "${ac_cv_search_res_query+set}" = set; then | 15087 | if test "${ac_cv_search_res_query+set}" = set; then |
14933 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15088 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -14935,7 +15090,7 @@ else | |||
14935 | ac_func_search_save_LIBS=$LIBS | 15090 | ac_func_search_save_LIBS=$LIBS |
14936 | ac_cv_search_res_query=no | 15091 | ac_cv_search_res_query=no |
14937 | cat >conftest.$ac_ext <<_ACEOF | 15092 | cat >conftest.$ac_ext <<_ACEOF |
14938 | #line 14938 "configure" | 15093 | #line 15093 "configure" |
14939 | #include "confdefs.h" | 15094 | #include "confdefs.h" |
14940 | 15095 | ||
14941 | /* Override any gcc2 internal prototype to avoid an error. */ | 15096 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -14954,16 +15109,16 @@ res_query (); | |||
14954 | } | 15109 | } |
14955 | _ACEOF | 15110 | _ACEOF |
14956 | rm -f conftest.$ac_objext conftest$ac_exeext | 15111 | rm -f conftest.$ac_objext conftest$ac_exeext |
14957 | if { (eval echo "$as_me:14957: \"$ac_link\"") >&5 | 15112 | if { (eval echo "$as_me:15112: \"$ac_link\"") >&5 |
14958 | (eval $ac_link) 2>&5 | 15113 | (eval $ac_link) 2>&5 |
14959 | ac_status=$? | 15114 | ac_status=$? |
14960 | echo "$as_me:14960: \$? = $ac_status" >&5 | 15115 | echo "$as_me:15115: \$? = $ac_status" >&5 |
14961 | (exit $ac_status); } && | 15116 | (exit $ac_status); } && |
14962 | { ac_try='test -s conftest$ac_exeext' | 15117 | { ac_try='test -s conftest$ac_exeext' |
14963 | { (eval echo "$as_me:14963: \"$ac_try\"") >&5 | 15118 | { (eval echo "$as_me:15118: \"$ac_try\"") >&5 |
14964 | (eval $ac_try) 2>&5 | 15119 | (eval $ac_try) 2>&5 |
14965 | ac_status=$? | 15120 | ac_status=$? |
14966 | echo "$as_me:14966: \$? = $ac_status" >&5 | 15121 | echo "$as_me:15121: \$? = $ac_status" >&5 |
14967 | (exit $ac_status); }; }; then | 15122 | (exit $ac_status); }; }; then |
14968 | ac_cv_search_res_query="none required" | 15123 | ac_cv_search_res_query="none required" |
14969 | else | 15124 | else |
@@ -14975,7 +15130,7 @@ if test "$ac_cv_search_res_query" = no; then | |||
14975 | for ac_lib in resolv; do | 15130 | for ac_lib in resolv; do |
14976 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 15131 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14977 | cat >conftest.$ac_ext <<_ACEOF | 15132 | cat >conftest.$ac_ext <<_ACEOF |
14978 | #line 14978 "configure" | 15133 | #line 15133 "configure" |
14979 | #include "confdefs.h" | 15134 | #include "confdefs.h" |
14980 | 15135 | ||
14981 | /* Override any gcc2 internal prototype to avoid an error. */ | 15136 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -14994,16 +15149,16 @@ res_query (); | |||
14994 | } | 15149 | } |
14995 | _ACEOF | 15150 | _ACEOF |
14996 | rm -f conftest.$ac_objext conftest$ac_exeext | 15151 | rm -f conftest.$ac_objext conftest$ac_exeext |
14997 | if { (eval echo "$as_me:14997: \"$ac_link\"") >&5 | 15152 | if { (eval echo "$as_me:15152: \"$ac_link\"") >&5 |
14998 | (eval $ac_link) 2>&5 | 15153 | (eval $ac_link) 2>&5 |
14999 | ac_status=$? | 15154 | ac_status=$? |
15000 | echo "$as_me:15000: \$? = $ac_status" >&5 | 15155 | echo "$as_me:15155: \$? = $ac_status" >&5 |
15001 | (exit $ac_status); } && | 15156 | (exit $ac_status); } && |
15002 | { ac_try='test -s conftest$ac_exeext' | 15157 | { ac_try='test -s conftest$ac_exeext' |
15003 | { (eval echo "$as_me:15003: \"$ac_try\"") >&5 | 15158 | { (eval echo "$as_me:15158: \"$ac_try\"") >&5 |
15004 | (eval $ac_try) 2>&5 | 15159 | (eval $ac_try) 2>&5 |
15005 | ac_status=$? | 15160 | ac_status=$? |
15006 | echo "$as_me:15006: \$? = $ac_status" >&5 | 15161 | echo "$as_me:15161: \$? = $ac_status" >&5 |
15007 | (exit $ac_status); }; }; then | 15162 | (exit $ac_status); }; }; then |
15008 | ac_cv_search_res_query="-l$ac_lib" | 15163 | ac_cv_search_res_query="-l$ac_lib" |
15009 | break | 15164 | break |
@@ -15016,14 +15171,14 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
15016 | fi | 15171 | fi |
15017 | LIBS=$ac_func_search_save_LIBS | 15172 | LIBS=$ac_func_search_save_LIBS |
15018 | fi | 15173 | fi |
15019 | echo "$as_me:15019: result: $ac_cv_search_res_query" >&5 | 15174 | echo "$as_me:15174: result: $ac_cv_search_res_query" >&5 |
15020 | echo "${ECHO_T}$ac_cv_search_res_query" >&6 | 15175 | echo "${ECHO_T}$ac_cv_search_res_query" >&6 |
15021 | if test "$ac_cv_search_res_query" != no; then | 15176 | if test "$ac_cv_search_res_query" != no; then |
15022 | test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS" | 15177 | test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS" |
15023 | 15178 | ||
15024 | fi | 15179 | fi |
15025 | 15180 | ||
15026 | echo "$as_me:15026: checking for library containing dn_expand" >&5 | 15181 | echo "$as_me:15181: checking for library containing dn_expand" >&5 |
15027 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 | 15182 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 |
15028 | if test "${ac_cv_search_dn_expand+set}" = set; then | 15183 | if test "${ac_cv_search_dn_expand+set}" = set; then |
15029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -15031,7 +15186,7 @@ else | |||
15031 | ac_func_search_save_LIBS=$LIBS | 15186 | ac_func_search_save_LIBS=$LIBS |
15032 | ac_cv_search_dn_expand=no | 15187 | ac_cv_search_dn_expand=no |
15033 | cat >conftest.$ac_ext <<_ACEOF | 15188 | cat >conftest.$ac_ext <<_ACEOF |
15034 | #line 15034 "configure" | 15189 | #line 15189 "configure" |
15035 | #include "confdefs.h" | 15190 | #include "confdefs.h" |
15036 | 15191 | ||
15037 | /* Override any gcc2 internal prototype to avoid an error. */ | 15192 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -15050,16 +15205,16 @@ dn_expand (); | |||
15050 | } | 15205 | } |
15051 | _ACEOF | 15206 | _ACEOF |
15052 | rm -f conftest.$ac_objext conftest$ac_exeext | 15207 | rm -f conftest.$ac_objext conftest$ac_exeext |
15053 | if { (eval echo "$as_me:15053: \"$ac_link\"") >&5 | 15208 | if { (eval echo "$as_me:15208: \"$ac_link\"") >&5 |
15054 | (eval $ac_link) 2>&5 | 15209 | (eval $ac_link) 2>&5 |
15055 | ac_status=$? | 15210 | ac_status=$? |
15056 | echo "$as_me:15056: \$? = $ac_status" >&5 | 15211 | echo "$as_me:15211: \$? = $ac_status" >&5 |
15057 | (exit $ac_status); } && | 15212 | (exit $ac_status); } && |
15058 | { ac_try='test -s conftest$ac_exeext' | 15213 | { ac_try='test -s conftest$ac_exeext' |
15059 | { (eval echo "$as_me:15059: \"$ac_try\"") >&5 | 15214 | { (eval echo "$as_me:15214: \"$ac_try\"") >&5 |
15060 | (eval $ac_try) 2>&5 | 15215 | (eval $ac_try) 2>&5 |
15061 | ac_status=$? | 15216 | ac_status=$? |
15062 | echo "$as_me:15062: \$? = $ac_status" >&5 | 15217 | echo "$as_me:15217: \$? = $ac_status" >&5 |
15063 | (exit $ac_status); }; }; then | 15218 | (exit $ac_status); }; }; then |
15064 | ac_cv_search_dn_expand="none required" | 15219 | ac_cv_search_dn_expand="none required" |
15065 | else | 15220 | else |
@@ -15071,7 +15226,7 @@ if test "$ac_cv_search_dn_expand" = no; then | |||
15071 | for ac_lib in resolv; do | 15226 | for ac_lib in resolv; do |
15072 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 15227 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
15073 | cat >conftest.$ac_ext <<_ACEOF | 15228 | cat >conftest.$ac_ext <<_ACEOF |
15074 | #line 15074 "configure" | 15229 | #line 15229 "configure" |
15075 | #include "confdefs.h" | 15230 | #include "confdefs.h" |
15076 | 15231 | ||
15077 | /* Override any gcc2 internal prototype to avoid an error. */ | 15232 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -15090,16 +15245,16 @@ dn_expand (); | |||
15090 | } | 15245 | } |
15091 | _ACEOF | 15246 | _ACEOF |
15092 | rm -f conftest.$ac_objext conftest$ac_exeext | 15247 | rm -f conftest.$ac_objext conftest$ac_exeext |
15093 | if { (eval echo "$as_me:15093: \"$ac_link\"") >&5 | 15248 | if { (eval echo "$as_me:15248: \"$ac_link\"") >&5 |
15094 | (eval $ac_link) 2>&5 | 15249 | (eval $ac_link) 2>&5 |
15095 | ac_status=$? | 15250 | ac_status=$? |
15096 | echo "$as_me:15096: \$? = $ac_status" >&5 | 15251 | echo "$as_me:15251: \$? = $ac_status" >&5 |
15097 | (exit $ac_status); } && | 15252 | (exit $ac_status); } && |
15098 | { ac_try='test -s conftest$ac_exeext' | 15253 | { ac_try='test -s conftest$ac_exeext' |
15099 | { (eval echo "$as_me:15099: \"$ac_try\"") >&5 | 15254 | { (eval echo "$as_me:15254: \"$ac_try\"") >&5 |
15100 | (eval $ac_try) 2>&5 | 15255 | (eval $ac_try) 2>&5 |
15101 | ac_status=$? | 15256 | ac_status=$? |
15102 | echo "$as_me:15102: \$? = $ac_status" >&5 | 15257 | echo "$as_me:15257: \$? = $ac_status" >&5 |
15103 | (exit $ac_status); }; }; then | 15258 | (exit $ac_status); }; }; then |
15104 | ac_cv_search_dn_expand="-l$ac_lib" | 15259 | ac_cv_search_dn_expand="-l$ac_lib" |
15105 | break | 15260 | break |
@@ -15112,7 +15267,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
15112 | fi | 15267 | fi |
15113 | LIBS=$ac_func_search_save_LIBS | 15268 | LIBS=$ac_func_search_save_LIBS |
15114 | fi | 15269 | fi |
15115 | echo "$as_me:15115: result: $ac_cv_search_dn_expand" >&5 | 15270 | echo "$as_me:15270: result: $ac_cv_search_dn_expand" >&5 |
15116 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 | 15271 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 |
15117 | if test "$ac_cv_search_dn_expand" != no; then | 15272 | if test "$ac_cv_search_dn_expand" != no; then |
15118 | test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" | 15273 | test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" |
@@ -15122,13 +15277,13 @@ fi | |||
15122 | for ac_func in _getshort _getlong | 15277 | for ac_func in _getshort _getlong |
15123 | do | 15278 | do |
15124 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15279 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
15125 | echo "$as_me:15125: checking for $ac_func" >&5 | 15280 | echo "$as_me:15280: checking for $ac_func" >&5 |
15126 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 15281 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
15127 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 15282 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
15128 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15283 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15129 | else | 15284 | else |
15130 | cat >conftest.$ac_ext <<_ACEOF | 15285 | cat >conftest.$ac_ext <<_ACEOF |
15131 | #line 15131 "configure" | 15286 | #line 15286 "configure" |
15132 | #include "confdefs.h" | 15287 | #include "confdefs.h" |
15133 | /* System header to define __stub macros and hopefully few prototypes, | 15288 | /* System header to define __stub macros and hopefully few prototypes, |
15134 | which can conflict with char $ac_func (); below. */ | 15289 | which can conflict with char $ac_func (); below. */ |
@@ -15159,16 +15314,16 @@ f = $ac_func; | |||
15159 | } | 15314 | } |
15160 | _ACEOF | 15315 | _ACEOF |
15161 | rm -f conftest.$ac_objext conftest$ac_exeext | 15316 | rm -f conftest.$ac_objext conftest$ac_exeext |
15162 | if { (eval echo "$as_me:15162: \"$ac_link\"") >&5 | 15317 | if { (eval echo "$as_me:15317: \"$ac_link\"") >&5 |
15163 | (eval $ac_link) 2>&5 | 15318 | (eval $ac_link) 2>&5 |
15164 | ac_status=$? | 15319 | ac_status=$? |
15165 | echo "$as_me:15165: \$? = $ac_status" >&5 | 15320 | echo "$as_me:15320: \$? = $ac_status" >&5 |
15166 | (exit $ac_status); } && | 15321 | (exit $ac_status); } && |
15167 | { ac_try='test -s conftest$ac_exeext' | 15322 | { ac_try='test -s conftest$ac_exeext' |
15168 | { (eval echo "$as_me:15168: \"$ac_try\"") >&5 | 15323 | { (eval echo "$as_me:15323: \"$ac_try\"") >&5 |
15169 | (eval $ac_try) 2>&5 | 15324 | (eval $ac_try) 2>&5 |
15170 | ac_status=$? | 15325 | ac_status=$? |
15171 | echo "$as_me:15171: \$? = $ac_status" >&5 | 15326 | echo "$as_me:15326: \$? = $ac_status" >&5 |
15172 | (exit $ac_status); }; }; then | 15327 | (exit $ac_status); }; }; then |
15173 | eval "$as_ac_var=yes" | 15328 | eval "$as_ac_var=yes" |
15174 | else | 15329 | else |
@@ -15178,7 +15333,7 @@ eval "$as_ac_var=no" | |||
15178 | fi | 15333 | fi |
15179 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 15334 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15180 | fi | 15335 | fi |
15181 | echo "$as_me:15181: result: `eval echo '${'$as_ac_var'}'`" >&5 | 15336 | echo "$as_me:15336: result: `eval echo '${'$as_ac_var'}'`" >&5 |
15182 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 15337 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
15183 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15338 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
15184 | cat >>confdefs.h <<EOF | 15339 | cat >>confdefs.h <<EOF |
@@ -15188,13 +15343,13 @@ EOF | |||
15188 | fi | 15343 | fi |
15189 | done | 15344 | done |
15190 | 15345 | ||
15191 | echo "$as_me:15191: checking for HEADER.ad" >&5 | 15346 | echo "$as_me:15346: checking for HEADER.ad" >&5 |
15192 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 | 15347 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 |
15193 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | 15348 | if test "${ac_cv_member_HEADER_ad+set}" = set; then |
15194 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15349 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15195 | else | 15350 | else |
15196 | cat >conftest.$ac_ext <<_ACEOF | 15351 | cat >conftest.$ac_ext <<_ACEOF |
15197 | #line 15197 "configure" | 15352 | #line 15352 "configure" |
15198 | #include "confdefs.h" | 15353 | #include "confdefs.h" |
15199 | #include <arpa/nameser.h> | 15354 | #include <arpa/nameser.h> |
15200 | 15355 | ||
@@ -15209,16 +15364,16 @@ return 0; | |||
15209 | } | 15364 | } |
15210 | _ACEOF | 15365 | _ACEOF |
15211 | rm -f conftest.$ac_objext | 15366 | rm -f conftest.$ac_objext |
15212 | if { (eval echo "$as_me:15212: \"$ac_compile\"") >&5 | 15367 | if { (eval echo "$as_me:15367: \"$ac_compile\"") >&5 |
15213 | (eval $ac_compile) 2>&5 | 15368 | (eval $ac_compile) 2>&5 |
15214 | ac_status=$? | 15369 | ac_status=$? |
15215 | echo "$as_me:15215: \$? = $ac_status" >&5 | 15370 | echo "$as_me:15370: \$? = $ac_status" >&5 |
15216 | (exit $ac_status); } && | 15371 | (exit $ac_status); } && |
15217 | { ac_try='test -s conftest.$ac_objext' | 15372 | { ac_try='test -s conftest.$ac_objext' |
15218 | { (eval echo "$as_me:15218: \"$ac_try\"") >&5 | 15373 | { (eval echo "$as_me:15373: \"$ac_try\"") >&5 |
15219 | (eval $ac_try) 2>&5 | 15374 | (eval $ac_try) 2>&5 |
15220 | ac_status=$? | 15375 | ac_status=$? |
15221 | echo "$as_me:15221: \$? = $ac_status" >&5 | 15376 | echo "$as_me:15376: \$? = $ac_status" >&5 |
15222 | (exit $ac_status); }; }; then | 15377 | (exit $ac_status); }; }; then |
15223 | ac_cv_member_HEADER_ad=yes | 15378 | ac_cv_member_HEADER_ad=yes |
15224 | else | 15379 | else |
@@ -15228,7 +15383,7 @@ ac_cv_member_HEADER_ad=no | |||
15228 | fi | 15383 | fi |
15229 | rm -f conftest.$ac_objext conftest.$ac_ext | 15384 | rm -f conftest.$ac_objext conftest.$ac_ext |
15230 | fi | 15385 | fi |
15231 | echo "$as_me:15231: result: $ac_cv_member_HEADER_ad" >&5 | 15386 | echo "$as_me:15386: result: $ac_cv_member_HEADER_ad" >&5 |
15232 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 | 15387 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 |
15233 | if test $ac_cv_member_HEADER_ad = yes; then | 15388 | if test $ac_cv_member_HEADER_ad = yes; then |
15234 | cat >>confdefs.h <<\EOF | 15389 | cat >>confdefs.h <<\EOF |
@@ -15258,17 +15413,17 @@ EOF | |||
15258 | 15413 | ||
15259 | KRB5_MSG="yes" | 15414 | KRB5_MSG="yes" |
15260 | 15415 | ||
15261 | echo "$as_me:15261: checking for krb5-config" >&5 | 15416 | echo "$as_me:15416: checking for krb5-config" >&5 |
15262 | echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6 | 15417 | echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6 |
15263 | if test -x $KRB5ROOT/bin/krb5-config ; then | 15418 | if test -x $KRB5ROOT/bin/krb5-config ; then |
15264 | KRB5CONF=$KRB5ROOT/bin/krb5-config | 15419 | KRB5CONF=$KRB5ROOT/bin/krb5-config |
15265 | echo "$as_me:15265: result: $KRB5CONF" >&5 | 15420 | echo "$as_me:15420: result: $KRB5CONF" >&5 |
15266 | echo "${ECHO_T}$KRB5CONF" >&6 | 15421 | echo "${ECHO_T}$KRB5CONF" >&6 |
15267 | 15422 | ||
15268 | echo "$as_me:15268: checking for gssapi support" >&5 | 15423 | echo "$as_me:15423: checking for gssapi support" >&5 |
15269 | echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6 | 15424 | echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6 |
15270 | if $KRB5CONF | grep gssapi >/dev/null ; then | 15425 | if $KRB5CONF | grep gssapi >/dev/null ; then |
15271 | echo "$as_me:15271: result: yes" >&5 | 15426 | echo "$as_me:15426: result: yes" >&5 |
15272 | echo "${ECHO_T}yes" >&6 | 15427 | echo "${ECHO_T}yes" >&6 |
15273 | cat >>confdefs.h <<\EOF | 15428 | cat >>confdefs.h <<\EOF |
15274 | #define GSSAPI 1 | 15429 | #define GSSAPI 1 |
@@ -15276,17 +15431,17 @@ EOF | |||
15276 | 15431 | ||
15277 | k5confopts=gssapi | 15432 | k5confopts=gssapi |
15278 | else | 15433 | else |
15279 | echo "$as_me:15279: result: no" >&5 | 15434 | echo "$as_me:15434: result: no" >&5 |
15280 | echo "${ECHO_T}no" >&6 | 15435 | echo "${ECHO_T}no" >&6 |
15281 | k5confopts="" | 15436 | k5confopts="" |
15282 | fi | 15437 | fi |
15283 | K5CFLAGS="`$KRB5CONF --cflags $k5confopts`" | 15438 | K5CFLAGS="`$KRB5CONF --cflags $k5confopts`" |
15284 | K5LIBS="`$KRB5CONF --libs $k5confopts`" | 15439 | K5LIBS="`$KRB5CONF --libs $k5confopts`" |
15285 | CPPFLAGS="$CPPFLAGS $K5CFLAGS" | 15440 | CPPFLAGS="$CPPFLAGS $K5CFLAGS" |
15286 | echo "$as_me:15286: checking whether we are using Heimdal" >&5 | 15441 | echo "$as_me:15441: checking whether we are using Heimdal" >&5 |
15287 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 | 15442 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 |
15288 | cat >conftest.$ac_ext <<_ACEOF | 15443 | cat >conftest.$ac_ext <<_ACEOF |
15289 | #line 15289 "configure" | 15444 | #line 15444 "configure" |
15290 | #include "confdefs.h" | 15445 | #include "confdefs.h" |
15291 | #include <krb5.h> | 15446 | #include <krb5.h> |
15292 | int | 15447 | int |
@@ -15298,18 +15453,18 @@ main () | |||
15298 | } | 15453 | } |
15299 | _ACEOF | 15454 | _ACEOF |
15300 | rm -f conftest.$ac_objext | 15455 | rm -f conftest.$ac_objext |
15301 | if { (eval echo "$as_me:15301: \"$ac_compile\"") >&5 | 15456 | if { (eval echo "$as_me:15456: \"$ac_compile\"") >&5 |
15302 | (eval $ac_compile) 2>&5 | 15457 | (eval $ac_compile) 2>&5 |
15303 | ac_status=$? | 15458 | ac_status=$? |
15304 | echo "$as_me:15304: \$? = $ac_status" >&5 | 15459 | echo "$as_me:15459: \$? = $ac_status" >&5 |
15305 | (exit $ac_status); } && | 15460 | (exit $ac_status); } && |
15306 | { ac_try='test -s conftest.$ac_objext' | 15461 | { ac_try='test -s conftest.$ac_objext' |
15307 | { (eval echo "$as_me:15307: \"$ac_try\"") >&5 | 15462 | { (eval echo "$as_me:15462: \"$ac_try\"") >&5 |
15308 | (eval $ac_try) 2>&5 | 15463 | (eval $ac_try) 2>&5 |
15309 | ac_status=$? | 15464 | ac_status=$? |
15310 | echo "$as_me:15310: \$? = $ac_status" >&5 | 15465 | echo "$as_me:15465: \$? = $ac_status" >&5 |
15311 | (exit $ac_status); }; }; then | 15466 | (exit $ac_status); }; }; then |
15312 | echo "$as_me:15312: result: yes" >&5 | 15467 | echo "$as_me:15467: result: yes" >&5 |
15313 | echo "${ECHO_T}yes" >&6 | 15468 | echo "${ECHO_T}yes" >&6 |
15314 | cat >>confdefs.h <<\EOF | 15469 | cat >>confdefs.h <<\EOF |
15315 | #define HEIMDAL 1 | 15470 | #define HEIMDAL 1 |
@@ -15318,20 +15473,20 @@ EOF | |||
15318 | else | 15473 | else |
15319 | echo "$as_me: failed program was:" >&5 | 15474 | echo "$as_me: failed program was:" >&5 |
15320 | cat conftest.$ac_ext >&5 | 15475 | cat conftest.$ac_ext >&5 |
15321 | echo "$as_me:15321: result: no" >&5 | 15476 | echo "$as_me:15476: result: no" >&5 |
15322 | echo "${ECHO_T}no" >&6 | 15477 | echo "${ECHO_T}no" >&6 |
15323 | 15478 | ||
15324 | fi | 15479 | fi |
15325 | rm -f conftest.$ac_objext conftest.$ac_ext | 15480 | rm -f conftest.$ac_objext conftest.$ac_ext |
15326 | else | 15481 | else |
15327 | echo "$as_me:15327: result: no" >&5 | 15482 | echo "$as_me:15482: result: no" >&5 |
15328 | echo "${ECHO_T}no" >&6 | 15483 | echo "${ECHO_T}no" >&6 |
15329 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" | 15484 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" |
15330 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" | 15485 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" |
15331 | echo "$as_me:15331: checking whether we are using Heimdal" >&5 | 15486 | echo "$as_me:15486: checking whether we are using Heimdal" >&5 |
15332 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 | 15487 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 |
15333 | cat >conftest.$ac_ext <<_ACEOF | 15488 | cat >conftest.$ac_ext <<_ACEOF |
15334 | #line 15334 "configure" | 15489 | #line 15489 "configure" |
15335 | #include "confdefs.h" | 15490 | #include "confdefs.h" |
15336 | #include <krb5.h> | 15491 | #include <krb5.h> |
15337 | int | 15492 | int |
@@ -15343,18 +15498,18 @@ main () | |||
15343 | } | 15498 | } |
15344 | _ACEOF | 15499 | _ACEOF |
15345 | rm -f conftest.$ac_objext | 15500 | rm -f conftest.$ac_objext |
15346 | if { (eval echo "$as_me:15346: \"$ac_compile\"") >&5 | 15501 | if { (eval echo "$as_me:15501: \"$ac_compile\"") >&5 |
15347 | (eval $ac_compile) 2>&5 | 15502 | (eval $ac_compile) 2>&5 |
15348 | ac_status=$? | 15503 | ac_status=$? |
15349 | echo "$as_me:15349: \$? = $ac_status" >&5 | 15504 | echo "$as_me:15504: \$? = $ac_status" >&5 |
15350 | (exit $ac_status); } && | 15505 | (exit $ac_status); } && |
15351 | { ac_try='test -s conftest.$ac_objext' | 15506 | { ac_try='test -s conftest.$ac_objext' |
15352 | { (eval echo "$as_me:15352: \"$ac_try\"") >&5 | 15507 | { (eval echo "$as_me:15507: \"$ac_try\"") >&5 |
15353 | (eval $ac_try) 2>&5 | 15508 | (eval $ac_try) 2>&5 |
15354 | ac_status=$? | 15509 | ac_status=$? |
15355 | echo "$as_me:15355: \$? = $ac_status" >&5 | 15510 | echo "$as_me:15510: \$? = $ac_status" >&5 |
15356 | (exit $ac_status); }; }; then | 15511 | (exit $ac_status); }; }; then |
15357 | echo "$as_me:15357: result: yes" >&5 | 15512 | echo "$as_me:15512: result: yes" >&5 |
15358 | echo "${ECHO_T}yes" >&6 | 15513 | echo "${ECHO_T}yes" >&6 |
15359 | cat >>confdefs.h <<\EOF | 15514 | cat >>confdefs.h <<\EOF |
15360 | #define HEIMDAL 1 | 15515 | #define HEIMDAL 1 |
@@ -15365,13 +15520,13 @@ EOF | |||
15365 | else | 15520 | else |
15366 | echo "$as_me: failed program was:" >&5 | 15521 | echo "$as_me: failed program was:" >&5 |
15367 | cat conftest.$ac_ext >&5 | 15522 | cat conftest.$ac_ext >&5 |
15368 | echo "$as_me:15368: result: no" >&5 | 15523 | echo "$as_me:15523: result: no" >&5 |
15369 | echo "${ECHO_T}no" >&6 | 15524 | echo "${ECHO_T}no" >&6 |
15370 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" | 15525 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" |
15371 | 15526 | ||
15372 | fi | 15527 | fi |
15373 | rm -f conftest.$ac_objext conftest.$ac_ext | 15528 | rm -f conftest.$ac_objext conftest.$ac_ext |
15374 | echo "$as_me:15374: checking for library containing dn_expand" >&5 | 15529 | echo "$as_me:15529: checking for library containing dn_expand" >&5 |
15375 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 | 15530 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 |
15376 | if test "${ac_cv_search_dn_expand+set}" = set; then | 15531 | if test "${ac_cv_search_dn_expand+set}" = set; then |
15377 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15532 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -15379,7 +15534,7 @@ else | |||
15379 | ac_func_search_save_LIBS=$LIBS | 15534 | ac_func_search_save_LIBS=$LIBS |
15380 | ac_cv_search_dn_expand=no | 15535 | ac_cv_search_dn_expand=no |
15381 | cat >conftest.$ac_ext <<_ACEOF | 15536 | cat >conftest.$ac_ext <<_ACEOF |
15382 | #line 15382 "configure" | 15537 | #line 15537 "configure" |
15383 | #include "confdefs.h" | 15538 | #include "confdefs.h" |
15384 | 15539 | ||
15385 | /* Override any gcc2 internal prototype to avoid an error. */ | 15540 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -15398,16 +15553,16 @@ dn_expand (); | |||
15398 | } | 15553 | } |
15399 | _ACEOF | 15554 | _ACEOF |
15400 | rm -f conftest.$ac_objext conftest$ac_exeext | 15555 | rm -f conftest.$ac_objext conftest$ac_exeext |
15401 | if { (eval echo "$as_me:15401: \"$ac_link\"") >&5 | 15556 | if { (eval echo "$as_me:15556: \"$ac_link\"") >&5 |
15402 | (eval $ac_link) 2>&5 | 15557 | (eval $ac_link) 2>&5 |
15403 | ac_status=$? | 15558 | ac_status=$? |
15404 | echo "$as_me:15404: \$? = $ac_status" >&5 | 15559 | echo "$as_me:15559: \$? = $ac_status" >&5 |
15405 | (exit $ac_status); } && | 15560 | (exit $ac_status); } && |
15406 | { ac_try='test -s conftest$ac_exeext' | 15561 | { ac_try='test -s conftest$ac_exeext' |
15407 | { (eval echo "$as_me:15407: \"$ac_try\"") >&5 | 15562 | { (eval echo "$as_me:15562: \"$ac_try\"") >&5 |
15408 | (eval $ac_try) 2>&5 | 15563 | (eval $ac_try) 2>&5 |
15409 | ac_status=$? | 15564 | ac_status=$? |
15410 | echo "$as_me:15410: \$? = $ac_status" >&5 | 15565 | echo "$as_me:15565: \$? = $ac_status" >&5 |
15411 | (exit $ac_status); }; }; then | 15566 | (exit $ac_status); }; }; then |
15412 | ac_cv_search_dn_expand="none required" | 15567 | ac_cv_search_dn_expand="none required" |
15413 | else | 15568 | else |
@@ -15419,7 +15574,7 @@ if test "$ac_cv_search_dn_expand" = no; then | |||
15419 | for ac_lib in resolv; do | 15574 | for ac_lib in resolv; do |
15420 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 15575 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
15421 | cat >conftest.$ac_ext <<_ACEOF | 15576 | cat >conftest.$ac_ext <<_ACEOF |
15422 | #line 15422 "configure" | 15577 | #line 15577 "configure" |
15423 | #include "confdefs.h" | 15578 | #include "confdefs.h" |
15424 | 15579 | ||
15425 | /* Override any gcc2 internal prototype to avoid an error. */ | 15580 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -15438,16 +15593,16 @@ dn_expand (); | |||
15438 | } | 15593 | } |
15439 | _ACEOF | 15594 | _ACEOF |
15440 | rm -f conftest.$ac_objext conftest$ac_exeext | 15595 | rm -f conftest.$ac_objext conftest$ac_exeext |
15441 | if { (eval echo "$as_me:15441: \"$ac_link\"") >&5 | 15596 | if { (eval echo "$as_me:15596: \"$ac_link\"") >&5 |
15442 | (eval $ac_link) 2>&5 | 15597 | (eval $ac_link) 2>&5 |
15443 | ac_status=$? | 15598 | ac_status=$? |
15444 | echo "$as_me:15444: \$? = $ac_status" >&5 | 15599 | echo "$as_me:15599: \$? = $ac_status" >&5 |
15445 | (exit $ac_status); } && | 15600 | (exit $ac_status); } && |
15446 | { ac_try='test -s conftest$ac_exeext' | 15601 | { ac_try='test -s conftest$ac_exeext' |
15447 | { (eval echo "$as_me:15447: \"$ac_try\"") >&5 | 15602 | { (eval echo "$as_me:15602: \"$ac_try\"") >&5 |
15448 | (eval $ac_try) 2>&5 | 15603 | (eval $ac_try) 2>&5 |
15449 | ac_status=$? | 15604 | ac_status=$? |
15450 | echo "$as_me:15450: \$? = $ac_status" >&5 | 15605 | echo "$as_me:15605: \$? = $ac_status" >&5 |
15451 | (exit $ac_status); }; }; then | 15606 | (exit $ac_status); }; }; then |
15452 | ac_cv_search_dn_expand="-l$ac_lib" | 15607 | ac_cv_search_dn_expand="-l$ac_lib" |
15453 | break | 15608 | break |
@@ -15460,14 +15615,14 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
15460 | fi | 15615 | fi |
15461 | LIBS=$ac_func_search_save_LIBS | 15616 | LIBS=$ac_func_search_save_LIBS |
15462 | fi | 15617 | fi |
15463 | echo "$as_me:15463: result: $ac_cv_search_dn_expand" >&5 | 15618 | echo "$as_me:15618: result: $ac_cv_search_dn_expand" >&5 |
15464 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 | 15619 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 |
15465 | if test "$ac_cv_search_dn_expand" != no; then | 15620 | if test "$ac_cv_search_dn_expand" != no; then |
15466 | test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" | 15621 | test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" |
15467 | 15622 | ||
15468 | fi | 15623 | fi |
15469 | 15624 | ||
15470 | echo "$as_me:15470: checking for gss_init_sec_context in -lgssapi" >&5 | 15625 | echo "$as_me:15625: checking for gss_init_sec_context in -lgssapi" >&5 |
15471 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6 | 15626 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6 |
15472 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then | 15627 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then |
15473 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15628 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -15475,7 +15630,7 @@ else | |||
15475 | ac_check_lib_save_LIBS=$LIBS | 15630 | ac_check_lib_save_LIBS=$LIBS |
15476 | LIBS="-lgssapi $K5LIBS $LIBS" | 15631 | LIBS="-lgssapi $K5LIBS $LIBS" |
15477 | cat >conftest.$ac_ext <<_ACEOF | 15632 | cat >conftest.$ac_ext <<_ACEOF |
15478 | #line 15478 "configure" | 15633 | #line 15633 "configure" |
15479 | #include "confdefs.h" | 15634 | #include "confdefs.h" |
15480 | 15635 | ||
15481 | /* Override any gcc2 internal prototype to avoid an error. */ | 15636 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -15494,16 +15649,16 @@ gss_init_sec_context (); | |||
15494 | } | 15649 | } |
15495 | _ACEOF | 15650 | _ACEOF |
15496 | rm -f conftest.$ac_objext conftest$ac_exeext | 15651 | rm -f conftest.$ac_objext conftest$ac_exeext |
15497 | if { (eval echo "$as_me:15497: \"$ac_link\"") >&5 | 15652 | if { (eval echo "$as_me:15652: \"$ac_link\"") >&5 |
15498 | (eval $ac_link) 2>&5 | 15653 | (eval $ac_link) 2>&5 |
15499 | ac_status=$? | 15654 | ac_status=$? |
15500 | echo "$as_me:15500: \$? = $ac_status" >&5 | 15655 | echo "$as_me:15655: \$? = $ac_status" >&5 |
15501 | (exit $ac_status); } && | 15656 | (exit $ac_status); } && |
15502 | { ac_try='test -s conftest$ac_exeext' | 15657 | { ac_try='test -s conftest$ac_exeext' |
15503 | { (eval echo "$as_me:15503: \"$ac_try\"") >&5 | 15658 | { (eval echo "$as_me:15658: \"$ac_try\"") >&5 |
15504 | (eval $ac_try) 2>&5 | 15659 | (eval $ac_try) 2>&5 |
15505 | ac_status=$? | 15660 | ac_status=$? |
15506 | echo "$as_me:15506: \$? = $ac_status" >&5 | 15661 | echo "$as_me:15661: \$? = $ac_status" >&5 |
15507 | (exit $ac_status); }; }; then | 15662 | (exit $ac_status); }; }; then |
15508 | ac_cv_lib_gssapi_gss_init_sec_context=yes | 15663 | ac_cv_lib_gssapi_gss_init_sec_context=yes |
15509 | else | 15664 | else |
@@ -15514,7 +15669,7 @@ fi | |||
15514 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 15669 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15515 | LIBS=$ac_check_lib_save_LIBS | 15670 | LIBS=$ac_check_lib_save_LIBS |
15516 | fi | 15671 | fi |
15517 | echo "$as_me:15517: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 | 15672 | echo "$as_me:15672: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 |
15518 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6 | 15673 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6 |
15519 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then | 15674 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then |
15520 | cat >>confdefs.h <<\EOF | 15675 | cat >>confdefs.h <<\EOF |
@@ -15523,7 +15678,7 @@ EOF | |||
15523 | 15678 | ||
15524 | K5LIBS="-lgssapi $K5LIBS" | 15679 | K5LIBS="-lgssapi $K5LIBS" |
15525 | else | 15680 | else |
15526 | echo "$as_me:15526: checking for gss_init_sec_context in -lgssapi_krb5" >&5 | 15681 | echo "$as_me:15681: checking for gss_init_sec_context in -lgssapi_krb5" >&5 |
15527 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6 | 15682 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6 |
15528 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then | 15683 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then |
15529 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15684 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -15531,7 +15686,7 @@ else | |||
15531 | ac_check_lib_save_LIBS=$LIBS | 15686 | ac_check_lib_save_LIBS=$LIBS |
15532 | LIBS="-lgssapi_krb5 $K5LIBS $LIBS" | 15687 | LIBS="-lgssapi_krb5 $K5LIBS $LIBS" |
15533 | cat >conftest.$ac_ext <<_ACEOF | 15688 | cat >conftest.$ac_ext <<_ACEOF |
15534 | #line 15534 "configure" | 15689 | #line 15689 "configure" |
15535 | #include "confdefs.h" | 15690 | #include "confdefs.h" |
15536 | 15691 | ||
15537 | /* Override any gcc2 internal prototype to avoid an error. */ | 15692 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -15550,16 +15705,16 @@ gss_init_sec_context (); | |||
15550 | } | 15705 | } |
15551 | _ACEOF | 15706 | _ACEOF |
15552 | rm -f conftest.$ac_objext conftest$ac_exeext | 15707 | rm -f conftest.$ac_objext conftest$ac_exeext |
15553 | if { (eval echo "$as_me:15553: \"$ac_link\"") >&5 | 15708 | if { (eval echo "$as_me:15708: \"$ac_link\"") >&5 |
15554 | (eval $ac_link) 2>&5 | 15709 | (eval $ac_link) 2>&5 |
15555 | ac_status=$? | 15710 | ac_status=$? |
15556 | echo "$as_me:15556: \$? = $ac_status" >&5 | 15711 | echo "$as_me:15711: \$? = $ac_status" >&5 |
15557 | (exit $ac_status); } && | 15712 | (exit $ac_status); } && |
15558 | { ac_try='test -s conftest$ac_exeext' | 15713 | { ac_try='test -s conftest$ac_exeext' |
15559 | { (eval echo "$as_me:15559: \"$ac_try\"") >&5 | 15714 | { (eval echo "$as_me:15714: \"$ac_try\"") >&5 |
15560 | (eval $ac_try) 2>&5 | 15715 | (eval $ac_try) 2>&5 |
15561 | ac_status=$? | 15716 | ac_status=$? |
15562 | echo "$as_me:15562: \$? = $ac_status" >&5 | 15717 | echo "$as_me:15717: \$? = $ac_status" >&5 |
15563 | (exit $ac_status); }; }; then | 15718 | (exit $ac_status); }; }; then |
15564 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes | 15719 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes |
15565 | else | 15720 | else |
@@ -15570,7 +15725,7 @@ fi | |||
15570 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 15725 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15571 | LIBS=$ac_check_lib_save_LIBS | 15726 | LIBS=$ac_check_lib_save_LIBS |
15572 | fi | 15727 | fi |
15573 | echo "$as_me:15573: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 | 15728 | echo "$as_me:15728: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 |
15574 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6 | 15729 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6 |
15575 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then | 15730 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then |
15576 | cat >>confdefs.h <<\EOF | 15731 | cat >>confdefs.h <<\EOF |
@@ -15579,29 +15734,29 @@ EOF | |||
15579 | 15734 | ||
15580 | K5LIBS="-lgssapi_krb5 $K5LIBS" | 15735 | K5LIBS="-lgssapi_krb5 $K5LIBS" |
15581 | else | 15736 | else |
15582 | { echo "$as_me:15582: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 | 15737 | { echo "$as_me:15737: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 |
15583 | echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} | 15738 | echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} |
15584 | fi | 15739 | fi |
15585 | 15740 | ||
15586 | fi | 15741 | fi |
15587 | 15742 | ||
15588 | echo "$as_me:15588: checking for gssapi.h" >&5 | 15743 | echo "$as_me:15743: checking for gssapi.h" >&5 |
15589 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6 | 15744 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6 |
15590 | if test "${ac_cv_header_gssapi_h+set}" = set; then | 15745 | if test "${ac_cv_header_gssapi_h+set}" = set; then |
15591 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15746 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15592 | else | 15747 | else |
15593 | cat >conftest.$ac_ext <<_ACEOF | 15748 | cat >conftest.$ac_ext <<_ACEOF |
15594 | #line 15594 "configure" | 15749 | #line 15749 "configure" |
15595 | #include "confdefs.h" | 15750 | #include "confdefs.h" |
15596 | #include <gssapi.h> | 15751 | #include <gssapi.h> |
15597 | _ACEOF | 15752 | _ACEOF |
15598 | if { (eval echo "$as_me:15598: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15753 | if { (eval echo "$as_me:15753: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15599 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15754 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15600 | ac_status=$? | 15755 | ac_status=$? |
15601 | egrep -v '^ *\+' conftest.er1 >conftest.err | 15756 | egrep -v '^ *\+' conftest.er1 >conftest.err |
15602 | rm -f conftest.er1 | 15757 | rm -f conftest.er1 |
15603 | cat conftest.err >&5 | 15758 | cat conftest.err >&5 |
15604 | echo "$as_me:15604: \$? = $ac_status" >&5 | 15759 | echo "$as_me:15759: \$? = $ac_status" >&5 |
15605 | (exit $ac_status); } >/dev/null; then | 15760 | (exit $ac_status); } >/dev/null; then |
15606 | if test -s conftest.err; then | 15761 | if test -s conftest.err; then |
15607 | ac_cpp_err=$ac_c_preproc_warn_flag | 15762 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -15620,7 +15775,7 @@ else | |||
15620 | fi | 15775 | fi |
15621 | rm -f conftest.err conftest.$ac_ext | 15776 | rm -f conftest.err conftest.$ac_ext |
15622 | fi | 15777 | fi |
15623 | echo "$as_me:15623: result: $ac_cv_header_gssapi_h" >&5 | 15778 | echo "$as_me:15778: result: $ac_cv_header_gssapi_h" >&5 |
15624 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6 | 15779 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6 |
15625 | if test $ac_cv_header_gssapi_h = yes; then | 15780 | if test $ac_cv_header_gssapi_h = yes; then |
15626 | : | 15781 | : |
@@ -15631,23 +15786,23 @@ else | |||
15631 | for ac_header in gssapi.h | 15786 | for ac_header in gssapi.h |
15632 | do | 15787 | do |
15633 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 15788 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15634 | echo "$as_me:15634: checking for $ac_header" >&5 | 15789 | echo "$as_me:15789: checking for $ac_header" >&5 |
15635 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 15790 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
15636 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 15791 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
15637 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15792 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15638 | else | 15793 | else |
15639 | cat >conftest.$ac_ext <<_ACEOF | 15794 | cat >conftest.$ac_ext <<_ACEOF |
15640 | #line 15640 "configure" | 15795 | #line 15795 "configure" |
15641 | #include "confdefs.h" | 15796 | #include "confdefs.h" |
15642 | #include <$ac_header> | 15797 | #include <$ac_header> |
15643 | _ACEOF | 15798 | _ACEOF |
15644 | if { (eval echo "$as_me:15644: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15799 | if { (eval echo "$as_me:15799: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15645 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15800 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15646 | ac_status=$? | 15801 | ac_status=$? |
15647 | egrep -v '^ *\+' conftest.er1 >conftest.err | 15802 | egrep -v '^ *\+' conftest.er1 >conftest.err |
15648 | rm -f conftest.er1 | 15803 | rm -f conftest.er1 |
15649 | cat conftest.err >&5 | 15804 | cat conftest.err >&5 |
15650 | echo "$as_me:15650: \$? = $ac_status" >&5 | 15805 | echo "$as_me:15805: \$? = $ac_status" >&5 |
15651 | (exit $ac_status); } >/dev/null; then | 15806 | (exit $ac_status); } >/dev/null; then |
15652 | if test -s conftest.err; then | 15807 | if test -s conftest.err; then |
15653 | ac_cpp_err=$ac_c_preproc_warn_flag | 15808 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -15666,7 +15821,7 @@ else | |||
15666 | fi | 15821 | fi |
15667 | rm -f conftest.err conftest.$ac_ext | 15822 | rm -f conftest.err conftest.$ac_ext |
15668 | fi | 15823 | fi |
15669 | echo "$as_me:15669: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 15824 | echo "$as_me:15824: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
15670 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 15825 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
15671 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 15826 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15672 | cat >>confdefs.h <<EOF | 15827 | cat >>confdefs.h <<EOF |
@@ -15674,7 +15829,7 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then | |||
15674 | EOF | 15829 | EOF |
15675 | 15830 | ||
15676 | else | 15831 | else |
15677 | { echo "$as_me:15677: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 | 15832 | { echo "$as_me:15832: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 |
15678 | echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} | 15833 | echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} |
15679 | 15834 | ||
15680 | fi | 15835 | fi |
@@ -15684,23 +15839,23 @@ fi | |||
15684 | 15839 | ||
15685 | oldCPP="$CPPFLAGS" | 15840 | oldCPP="$CPPFLAGS" |
15686 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" | 15841 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" |
15687 | echo "$as_me:15687: checking for gssapi_krb5.h" >&5 | 15842 | echo "$as_me:15842: checking for gssapi_krb5.h" >&5 |
15688 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6 | 15843 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6 |
15689 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | 15844 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then |
15690 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15845 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15691 | else | 15846 | else |
15692 | cat >conftest.$ac_ext <<_ACEOF | 15847 | cat >conftest.$ac_ext <<_ACEOF |
15693 | #line 15693 "configure" | 15848 | #line 15848 "configure" |
15694 | #include "confdefs.h" | 15849 | #include "confdefs.h" |
15695 | #include <gssapi_krb5.h> | 15850 | #include <gssapi_krb5.h> |
15696 | _ACEOF | 15851 | _ACEOF |
15697 | if { (eval echo "$as_me:15697: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15852 | if { (eval echo "$as_me:15852: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15698 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15853 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15699 | ac_status=$? | 15854 | ac_status=$? |
15700 | egrep -v '^ *\+' conftest.er1 >conftest.err | 15855 | egrep -v '^ *\+' conftest.er1 >conftest.err |
15701 | rm -f conftest.er1 | 15856 | rm -f conftest.er1 |
15702 | cat conftest.err >&5 | 15857 | cat conftest.err >&5 |
15703 | echo "$as_me:15703: \$? = $ac_status" >&5 | 15858 | echo "$as_me:15858: \$? = $ac_status" >&5 |
15704 | (exit $ac_status); } >/dev/null; then | 15859 | (exit $ac_status); } >/dev/null; then |
15705 | if test -s conftest.err; then | 15860 | if test -s conftest.err; then |
15706 | ac_cpp_err=$ac_c_preproc_warn_flag | 15861 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -15719,7 +15874,7 @@ else | |||
15719 | fi | 15874 | fi |
15720 | rm -f conftest.err conftest.$ac_ext | 15875 | rm -f conftest.err conftest.$ac_ext |
15721 | fi | 15876 | fi |
15722 | echo "$as_me:15722: result: $ac_cv_header_gssapi_krb5_h" >&5 | 15877 | echo "$as_me:15877: result: $ac_cv_header_gssapi_krb5_h" >&5 |
15723 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6 | 15878 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6 |
15724 | if test $ac_cv_header_gssapi_krb5_h = yes; then | 15879 | if test $ac_cv_header_gssapi_krb5_h = yes; then |
15725 | : | 15880 | : |
@@ -15739,23 +15894,23 @@ fi | |||
15739 | for ac_header in gssapi.h gssapi/gssapi.h | 15894 | for ac_header in gssapi.h gssapi/gssapi.h |
15740 | do | 15895 | do |
15741 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 15896 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15742 | echo "$as_me:15742: checking for $ac_header" >&5 | 15897 | echo "$as_me:15897: checking for $ac_header" >&5 |
15743 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 15898 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
15744 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 15899 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
15745 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15900 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15746 | else | 15901 | else |
15747 | cat >conftest.$ac_ext <<_ACEOF | 15902 | cat >conftest.$ac_ext <<_ACEOF |
15748 | #line 15748 "configure" | 15903 | #line 15903 "configure" |
15749 | #include "confdefs.h" | 15904 | #include "confdefs.h" |
15750 | #include <$ac_header> | 15905 | #include <$ac_header> |
15751 | _ACEOF | 15906 | _ACEOF |
15752 | if { (eval echo "$as_me:15752: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15907 | if { (eval echo "$as_me:15907: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15753 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15908 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15754 | ac_status=$? | 15909 | ac_status=$? |
15755 | egrep -v '^ *\+' conftest.er1 >conftest.err | 15910 | egrep -v '^ *\+' conftest.er1 >conftest.err |
15756 | rm -f conftest.er1 | 15911 | rm -f conftest.er1 |
15757 | cat conftest.err >&5 | 15912 | cat conftest.err >&5 |
15758 | echo "$as_me:15758: \$? = $ac_status" >&5 | 15913 | echo "$as_me:15913: \$? = $ac_status" >&5 |
15759 | (exit $ac_status); } >/dev/null; then | 15914 | (exit $ac_status); } >/dev/null; then |
15760 | if test -s conftest.err; then | 15915 | if test -s conftest.err; then |
15761 | ac_cpp_err=$ac_c_preproc_warn_flag | 15916 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -15774,7 +15929,7 @@ else | |||
15774 | fi | 15929 | fi |
15775 | rm -f conftest.err conftest.$ac_ext | 15930 | rm -f conftest.err conftest.$ac_ext |
15776 | fi | 15931 | fi |
15777 | echo "$as_me:15777: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 15932 | echo "$as_me:15932: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
15778 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 15933 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
15779 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 15934 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15780 | cat >>confdefs.h <<EOF | 15935 | cat >>confdefs.h <<EOF |
@@ -15787,23 +15942,23 @@ done | |||
15787 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h | 15942 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h |
15788 | do | 15943 | do |
15789 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 15944 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15790 | echo "$as_me:15790: checking for $ac_header" >&5 | 15945 | echo "$as_me:15945: checking for $ac_header" >&5 |
15791 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 15946 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
15792 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 15947 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
15793 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15948 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15794 | else | 15949 | else |
15795 | cat >conftest.$ac_ext <<_ACEOF | 15950 | cat >conftest.$ac_ext <<_ACEOF |
15796 | #line 15796 "configure" | 15951 | #line 15951 "configure" |
15797 | #include "confdefs.h" | 15952 | #include "confdefs.h" |
15798 | #include <$ac_header> | 15953 | #include <$ac_header> |
15799 | _ACEOF | 15954 | _ACEOF |
15800 | if { (eval echo "$as_me:15800: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15955 | if { (eval echo "$as_me:15955: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15801 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15956 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15802 | ac_status=$? | 15957 | ac_status=$? |
15803 | egrep -v '^ *\+' conftest.er1 >conftest.err | 15958 | egrep -v '^ *\+' conftest.er1 >conftest.err |
15804 | rm -f conftest.er1 | 15959 | rm -f conftest.er1 |
15805 | cat conftest.err >&5 | 15960 | cat conftest.err >&5 |
15806 | echo "$as_me:15806: \$? = $ac_status" >&5 | 15961 | echo "$as_me:15961: \$? = $ac_status" >&5 |
15807 | (exit $ac_status); } >/dev/null; then | 15962 | (exit $ac_status); } >/dev/null; then |
15808 | if test -s conftest.err; then | 15963 | if test -s conftest.err; then |
15809 | ac_cpp_err=$ac_c_preproc_warn_flag | 15964 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -15822,7 +15977,7 @@ else | |||
15822 | fi | 15977 | fi |
15823 | rm -f conftest.err conftest.$ac_ext | 15978 | rm -f conftest.err conftest.$ac_ext |
15824 | fi | 15979 | fi |
15825 | echo "$as_me:15825: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 15980 | echo "$as_me:15980: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
15826 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 15981 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
15827 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 15982 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15828 | cat >>confdefs.h <<EOF | 15983 | cat >>confdefs.h <<EOF |
@@ -15835,23 +15990,23 @@ done | |||
15835 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h | 15990 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h |
15836 | do | 15991 | do |
15837 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 15992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15838 | echo "$as_me:15838: checking for $ac_header" >&5 | 15993 | echo "$as_me:15993: checking for $ac_header" >&5 |
15839 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 15994 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
15840 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 15995 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
15841 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15996 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15842 | else | 15997 | else |
15843 | cat >conftest.$ac_ext <<_ACEOF | 15998 | cat >conftest.$ac_ext <<_ACEOF |
15844 | #line 15844 "configure" | 15999 | #line 15999 "configure" |
15845 | #include "confdefs.h" | 16000 | #include "confdefs.h" |
15846 | #include <$ac_header> | 16001 | #include <$ac_header> |
15847 | _ACEOF | 16002 | _ACEOF |
15848 | if { (eval echo "$as_me:15848: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16003 | if { (eval echo "$as_me:16003: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15849 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16004 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15850 | ac_status=$? | 16005 | ac_status=$? |
15851 | egrep -v '^ *\+' conftest.er1 >conftest.err | 16006 | egrep -v '^ *\+' conftest.er1 >conftest.err |
15852 | rm -f conftest.er1 | 16007 | rm -f conftest.er1 |
15853 | cat conftest.err >&5 | 16008 | cat conftest.err >&5 |
15854 | echo "$as_me:15854: \$? = $ac_status" >&5 | 16009 | echo "$as_me:16009: \$? = $ac_status" >&5 |
15855 | (exit $ac_status); } >/dev/null; then | 16010 | (exit $ac_status); } >/dev/null; then |
15856 | if test -s conftest.err; then | 16011 | if test -s conftest.err; then |
15857 | ac_cpp_err=$ac_c_preproc_warn_flag | 16012 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -15870,7 +16025,7 @@ else | |||
15870 | fi | 16025 | fi |
15871 | rm -f conftest.err conftest.$ac_ext | 16026 | rm -f conftest.err conftest.$ac_ext |
15872 | fi | 16027 | fi |
15873 | echo "$as_me:15873: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 16028 | echo "$as_me:16028: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
15874 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 16029 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
15875 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 16030 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15876 | cat >>confdefs.h <<EOF | 16031 | cat >>confdefs.h <<EOF |
@@ -15881,7 +16036,7 @@ fi | |||
15881 | done | 16036 | done |
15882 | 16037 | ||
15883 | LIBS="$LIBS $K5LIBS" | 16038 | LIBS="$LIBS $K5LIBS" |
15884 | echo "$as_me:15884: checking for library containing k_hasafs" >&5 | 16039 | echo "$as_me:16039: checking for library containing k_hasafs" >&5 |
15885 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 | 16040 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 |
15886 | if test "${ac_cv_search_k_hasafs+set}" = set; then | 16041 | if test "${ac_cv_search_k_hasafs+set}" = set; then |
15887 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16042 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -15889,7 +16044,7 @@ else | |||
15889 | ac_func_search_save_LIBS=$LIBS | 16044 | ac_func_search_save_LIBS=$LIBS |
15890 | ac_cv_search_k_hasafs=no | 16045 | ac_cv_search_k_hasafs=no |
15891 | cat >conftest.$ac_ext <<_ACEOF | 16046 | cat >conftest.$ac_ext <<_ACEOF |
15892 | #line 15892 "configure" | 16047 | #line 16047 "configure" |
15893 | #include "confdefs.h" | 16048 | #include "confdefs.h" |
15894 | 16049 | ||
15895 | /* Override any gcc2 internal prototype to avoid an error. */ | 16050 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -15908,16 +16063,16 @@ k_hasafs (); | |||
15908 | } | 16063 | } |
15909 | _ACEOF | 16064 | _ACEOF |
15910 | rm -f conftest.$ac_objext conftest$ac_exeext | 16065 | rm -f conftest.$ac_objext conftest$ac_exeext |
15911 | if { (eval echo "$as_me:15911: \"$ac_link\"") >&5 | 16066 | if { (eval echo "$as_me:16066: \"$ac_link\"") >&5 |
15912 | (eval $ac_link) 2>&5 | 16067 | (eval $ac_link) 2>&5 |
15913 | ac_status=$? | 16068 | ac_status=$? |
15914 | echo "$as_me:15914: \$? = $ac_status" >&5 | 16069 | echo "$as_me:16069: \$? = $ac_status" >&5 |
15915 | (exit $ac_status); } && | 16070 | (exit $ac_status); } && |
15916 | { ac_try='test -s conftest$ac_exeext' | 16071 | { ac_try='test -s conftest$ac_exeext' |
15917 | { (eval echo "$as_me:15917: \"$ac_try\"") >&5 | 16072 | { (eval echo "$as_me:16072: \"$ac_try\"") >&5 |
15918 | (eval $ac_try) 2>&5 | 16073 | (eval $ac_try) 2>&5 |
15919 | ac_status=$? | 16074 | ac_status=$? |
15920 | echo "$as_me:15920: \$? = $ac_status" >&5 | 16075 | echo "$as_me:16075: \$? = $ac_status" >&5 |
15921 | (exit $ac_status); }; }; then | 16076 | (exit $ac_status); }; }; then |
15922 | ac_cv_search_k_hasafs="none required" | 16077 | ac_cv_search_k_hasafs="none required" |
15923 | else | 16078 | else |
@@ -15929,7 +16084,7 @@ if test "$ac_cv_search_k_hasafs" = no; then | |||
15929 | for ac_lib in kafs; do | 16084 | for ac_lib in kafs; do |
15930 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 16085 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
15931 | cat >conftest.$ac_ext <<_ACEOF | 16086 | cat >conftest.$ac_ext <<_ACEOF |
15932 | #line 15932 "configure" | 16087 | #line 16087 "configure" |
15933 | #include "confdefs.h" | 16088 | #include "confdefs.h" |
15934 | 16089 | ||
15935 | /* Override any gcc2 internal prototype to avoid an error. */ | 16090 | /* Override any gcc2 internal prototype to avoid an error. */ |
@@ -15948,16 +16103,16 @@ k_hasafs (); | |||
15948 | } | 16103 | } |
15949 | _ACEOF | 16104 | _ACEOF |
15950 | rm -f conftest.$ac_objext conftest$ac_exeext | 16105 | rm -f conftest.$ac_objext conftest$ac_exeext |
15951 | if { (eval echo "$as_me:15951: \"$ac_link\"") >&5 | 16106 | if { (eval echo "$as_me:16106: \"$ac_link\"") >&5 |
15952 | (eval $ac_link) 2>&5 | 16107 | (eval $ac_link) 2>&5 |
15953 | ac_status=$? | 16108 | ac_status=$? |
15954 | echo "$as_me:15954: \$? = $ac_status" >&5 | 16109 | echo "$as_me:16109: \$? = $ac_status" >&5 |
15955 | (exit $ac_status); } && | 16110 | (exit $ac_status); } && |
15956 | { ac_try='test -s conftest$ac_exeext' | 16111 | { ac_try='test -s conftest$ac_exeext' |
15957 | { (eval echo "$as_me:15957: \"$ac_try\"") >&5 | 16112 | { (eval echo "$as_me:16112: \"$ac_try\"") >&5 |
15958 | (eval $ac_try) 2>&5 | 16113 | (eval $ac_try) 2>&5 |
15959 | ac_status=$? | 16114 | ac_status=$? |
15960 | echo "$as_me:15960: \$? = $ac_status" >&5 | 16115 | echo "$as_me:16115: \$? = $ac_status" >&5 |
15961 | (exit $ac_status); }; }; then | 16116 | (exit $ac_status); }; }; then |
15962 | ac_cv_search_k_hasafs="-l$ac_lib" | 16117 | ac_cv_search_k_hasafs="-l$ac_lib" |
15963 | break | 16118 | break |
@@ -15970,7 +16125,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
15970 | fi | 16125 | fi |
15971 | LIBS=$ac_func_search_save_LIBS | 16126 | LIBS=$ac_func_search_save_LIBS |
15972 | fi | 16127 | fi |
15973 | echo "$as_me:15973: result: $ac_cv_search_k_hasafs" >&5 | 16128 | echo "$as_me:16128: result: $ac_cv_search_k_hasafs" >&5 |
15974 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 | 16129 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 |
15975 | if test "$ac_cv_search_k_hasafs" != no; then | 16130 | if test "$ac_cv_search_k_hasafs" != no; then |
15976 | test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS" | 16131 | test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS" |
@@ -15980,6 +16135,105 @@ EOF | |||
15980 | 16135 | ||
15981 | fi | 16136 | fi |
15982 | 16137 | ||
16138 | echo "$as_me:16138: checking for library containing krb5_init_ets" >&5 | ||
16139 | echo $ECHO_N "checking for library containing krb5_init_ets... $ECHO_C" >&6 | ||
16140 | if test "${ac_cv_search_krb5_init_ets+set}" = set; then | ||
16141 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16142 | else | ||
16143 | ac_func_search_save_LIBS=$LIBS | ||
16144 | ac_cv_search_krb5_init_ets=no | ||
16145 | cat >conftest.$ac_ext <<_ACEOF | ||
16146 | #line 16146 "configure" | ||
16147 | #include "confdefs.h" | ||
16148 | |||
16149 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
16150 | #ifdef __cplusplus | ||
16151 | extern "C" | ||
16152 | #endif | ||
16153 | /* We use char because int might match the return type of a gcc2 | ||
16154 | builtin and then its argument prototype would still apply. */ | ||
16155 | char krb5_init_ets (); | ||
16156 | int | ||
16157 | main () | ||
16158 | { | ||
16159 | krb5_init_ets (); | ||
16160 | ; | ||
16161 | return 0; | ||
16162 | } | ||
16163 | _ACEOF | ||
16164 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16165 | if { (eval echo "$as_me:16165: \"$ac_link\"") >&5 | ||
16166 | (eval $ac_link) 2>&5 | ||
16167 | ac_status=$? | ||
16168 | echo "$as_me:16168: \$? = $ac_status" >&5 | ||
16169 | (exit $ac_status); } && | ||
16170 | { ac_try='test -s conftest$ac_exeext' | ||
16171 | { (eval echo "$as_me:16171: \"$ac_try\"") >&5 | ||
16172 | (eval $ac_try) 2>&5 | ||
16173 | ac_status=$? | ||
16174 | echo "$as_me:16174: \$? = $ac_status" >&5 | ||
16175 | (exit $ac_status); }; }; then | ||
16176 | ac_cv_search_krb5_init_ets="none required" | ||
16177 | else | ||
16178 | echo "$as_me: failed program was:" >&5 | ||
16179 | cat conftest.$ac_ext >&5 | ||
16180 | fi | ||
16181 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16182 | if test "$ac_cv_search_krb5_init_ets" = no; then | ||
16183 | for ac_lib in $K5LIBS; do | ||
16184 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
16185 | cat >conftest.$ac_ext <<_ACEOF | ||
16186 | #line 16186 "configure" | ||
16187 | #include "confdefs.h" | ||
16188 | |||
16189 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
16190 | #ifdef __cplusplus | ||
16191 | extern "C" | ||
16192 | #endif | ||
16193 | /* We use char because int might match the return type of a gcc2 | ||
16194 | builtin and then its argument prototype would still apply. */ | ||
16195 | char krb5_init_ets (); | ||
16196 | int | ||
16197 | main () | ||
16198 | { | ||
16199 | krb5_init_ets (); | ||
16200 | ; | ||
16201 | return 0; | ||
16202 | } | ||
16203 | _ACEOF | ||
16204 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16205 | if { (eval echo "$as_me:16205: \"$ac_link\"") >&5 | ||
16206 | (eval $ac_link) 2>&5 | ||
16207 | ac_status=$? | ||
16208 | echo "$as_me:16208: \$? = $ac_status" >&5 | ||
16209 | (exit $ac_status); } && | ||
16210 | { ac_try='test -s conftest$ac_exeext' | ||
16211 | { (eval echo "$as_me:16211: \"$ac_try\"") >&5 | ||
16212 | (eval $ac_try) 2>&5 | ||
16213 | ac_status=$? | ||
16214 | echo "$as_me:16214: \$? = $ac_status" >&5 | ||
16215 | (exit $ac_status); }; }; then | ||
16216 | ac_cv_search_krb5_init_ets="-l$ac_lib" | ||
16217 | break | ||
16218 | else | ||
16219 | echo "$as_me: failed program was:" >&5 | ||
16220 | cat conftest.$ac_ext >&5 | ||
16221 | fi | ||
16222 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16223 | done | ||
16224 | fi | ||
16225 | LIBS=$ac_func_search_save_LIBS | ||
16226 | fi | ||
16227 | echo "$as_me:16227: result: $ac_cv_search_krb5_init_ets" >&5 | ||
16228 | echo "${ECHO_T}$ac_cv_search_krb5_init_ets" >&6 | ||
16229 | if test "$ac_cv_search_krb5_init_ets" != no; then | ||
16230 | test "$ac_cv_search_krb5_init_ets" = "none required" || LIBS="$ac_cv_search_krb5_init_ets $LIBS" | ||
16231 | cat >>confdefs.h <<\EOF | ||
16232 | #define KRB5_INIT_ETS 1 | ||
16233 | EOF | ||
16234 | |||
16235 | fi | ||
16236 | |||
15983 | fi; | 16237 | fi; |
15984 | 16238 | ||
15985 | # Looking for programs, paths and files | 16239 | # Looking for programs, paths and files |
@@ -16013,7 +16267,7 @@ else | |||
16013 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" | 16267 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" |
16014 | # Extract the first word of "xauth", so it can be a program name with args. | 16268 | # Extract the first word of "xauth", so it can be a program name with args. |
16015 | set dummy xauth; ac_word=$2 | 16269 | set dummy xauth; ac_word=$2 |
16016 | echo "$as_me:16016: checking for $ac_word" >&5 | 16270 | echo "$as_me:16270: checking for $ac_word" >&5 |
16017 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 16271 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
16018 | if test "${ac_cv_path_xauth_path+set}" = set; then | 16272 | if test "${ac_cv_path_xauth_path+set}" = set; then |
16019 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16273 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -16030,7 +16284,7 @@ for ac_dir in $ac_dummy; do | |||
16030 | test -z "$ac_dir" && ac_dir=. | 16284 | test -z "$ac_dir" && ac_dir=. |
16031 | if $as_executable_p "$ac_dir/$ac_word"; then | 16285 | if $as_executable_p "$ac_dir/$ac_word"; then |
16032 | ac_cv_path_xauth_path="$ac_dir/$ac_word" | 16286 | ac_cv_path_xauth_path="$ac_dir/$ac_word" |
16033 | echo "$as_me:16033: found $ac_dir/$ac_word" >&5 | 16287 | echo "$as_me:16287: found $ac_dir/$ac_word" >&5 |
16034 | break | 16288 | break |
16035 | fi | 16289 | fi |
16036 | done | 16290 | done |
@@ -16041,10 +16295,10 @@ fi | |||
16041 | xauth_path=$ac_cv_path_xauth_path | 16295 | xauth_path=$ac_cv_path_xauth_path |
16042 | 16296 | ||
16043 | if test -n "$xauth_path"; then | 16297 | if test -n "$xauth_path"; then |
16044 | echo "$as_me:16044: result: $xauth_path" >&5 | 16298 | echo "$as_me:16298: result: $xauth_path" >&5 |
16045 | echo "${ECHO_T}$xauth_path" >&6 | 16299 | echo "${ECHO_T}$xauth_path" >&6 |
16046 | else | 16300 | else |
16047 | echo "$as_me:16047: result: no" >&5 | 16301 | echo "$as_me:16301: result: no" >&5 |
16048 | echo "${ECHO_T}no" >&6 | 16302 | echo "${ECHO_T}no" >&6 |
16049 | fi | 16303 | fi |
16050 | 16304 | ||
@@ -16088,13 +16342,13 @@ fi | |||
16088 | 16342 | ||
16089 | if test -z "$no_dev_ptmx" ; then | 16343 | if test -z "$no_dev_ptmx" ; then |
16090 | if test "x$disable_ptmx_check" != "xyes" ; then | 16344 | if test "x$disable_ptmx_check" != "xyes" ; then |
16091 | echo "$as_me:16091: checking for \"/dev/ptmx\"" >&5 | 16345 | echo "$as_me:16345: checking for \"/dev/ptmx\"" >&5 |
16092 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 | 16346 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 |
16093 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then | 16347 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then |
16094 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16348 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16095 | else | 16349 | else |
16096 | test "$cross_compiling" = yes && | 16350 | test "$cross_compiling" = yes && |
16097 | { { echo "$as_me:16097: error: cannot check for file existence when cross compiling" >&5 | 16351 | { { echo "$as_me:16351: error: cannot check for file existence when cross compiling" >&5 |
16098 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | 16352 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
16099 | { (exit 1); exit 1; }; } | 16353 | { (exit 1); exit 1; }; } |
16100 | if test -r ""/dev/ptmx""; then | 16354 | if test -r ""/dev/ptmx""; then |
@@ -16103,7 +16357,7 @@ else | |||
16103 | ac_cv_file___dev_ptmx_=no | 16357 | ac_cv_file___dev_ptmx_=no |
16104 | fi | 16358 | fi |
16105 | fi | 16359 | fi |
16106 | echo "$as_me:16106: result: $ac_cv_file___dev_ptmx_" >&5 | 16360 | echo "$as_me:16360: result: $ac_cv_file___dev_ptmx_" >&5 |
16107 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 | 16361 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 |
16108 | if test $ac_cv_file___dev_ptmx_ = yes; then | 16362 | if test $ac_cv_file___dev_ptmx_ = yes; then |
16109 | 16363 | ||
@@ -16117,13 +16371,13 @@ fi | |||
16117 | 16371 | ||
16118 | fi | 16372 | fi |
16119 | fi | 16373 | fi |
16120 | echo "$as_me:16120: checking for \"/dev/ptc\"" >&5 | 16374 | echo "$as_me:16374: checking for \"/dev/ptc\"" >&5 |
16121 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 | 16375 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 |
16122 | if test "${ac_cv_file___dev_ptc_+set}" = set; then | 16376 | if test "${ac_cv_file___dev_ptc_+set}" = set; then |
16123 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16377 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16124 | else | 16378 | else |
16125 | test "$cross_compiling" = yes && | 16379 | test "$cross_compiling" = yes && |
16126 | { { echo "$as_me:16126: error: cannot check for file existence when cross compiling" >&5 | 16380 | { { echo "$as_me:16380: error: cannot check for file existence when cross compiling" >&5 |
16127 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | 16381 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
16128 | { (exit 1); exit 1; }; } | 16382 | { (exit 1); exit 1; }; } |
16129 | if test -r ""/dev/ptc""; then | 16383 | if test -r ""/dev/ptc""; then |
@@ -16132,7 +16386,7 @@ else | |||
16132 | ac_cv_file___dev_ptc_=no | 16386 | ac_cv_file___dev_ptc_=no |
16133 | fi | 16387 | fi |
16134 | fi | 16388 | fi |
16135 | echo "$as_me:16135: result: $ac_cv_file___dev_ptc_" >&5 | 16389 | echo "$as_me:16389: result: $ac_cv_file___dev_ptc_" >&5 |
16136 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 | 16390 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 |
16137 | if test $ac_cv_file___dev_ptc_ = yes; then | 16391 | if test $ac_cv_file___dev_ptc_ = yes; then |
16138 | 16392 | ||
@@ -16155,7 +16409,7 @@ if test "${with_mantype+set}" = set; then | |||
16155 | MANTYPE=$withval | 16409 | MANTYPE=$withval |
16156 | ;; | 16410 | ;; |
16157 | *) | 16411 | *) |
16158 | { { echo "$as_me:16158: error: invalid man type: $withval" >&5 | 16412 | { { echo "$as_me:16412: error: invalid man type: $withval" >&5 |
16159 | echo "$as_me: error: invalid man type: $withval" >&2;} | 16413 | echo "$as_me: error: invalid man type: $withval" >&2;} |
16160 | { (exit 1); exit 1; }; } | 16414 | { (exit 1); exit 1; }; } |
16161 | ;; | 16415 | ;; |
@@ -16168,7 +16422,7 @@ if test -z "$MANTYPE"; then | |||
16168 | do | 16422 | do |
16169 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 16423 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
16170 | set dummy $ac_prog; ac_word=$2 | 16424 | set dummy $ac_prog; ac_word=$2 |
16171 | echo "$as_me:16171: checking for $ac_word" >&5 | 16425 | echo "$as_me:16425: checking for $ac_word" >&5 |
16172 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 16426 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
16173 | if test "${ac_cv_path_NROFF+set}" = set; then | 16427 | if test "${ac_cv_path_NROFF+set}" = set; then |
16174 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16428 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -16185,7 +16439,7 @@ for ac_dir in $ac_dummy; do | |||
16185 | test -z "$ac_dir" && ac_dir=. | 16439 | test -z "$ac_dir" && ac_dir=. |
16186 | if $as_executable_p "$ac_dir/$ac_word"; then | 16440 | if $as_executable_p "$ac_dir/$ac_word"; then |
16187 | ac_cv_path_NROFF="$ac_dir/$ac_word" | 16441 | ac_cv_path_NROFF="$ac_dir/$ac_word" |
16188 | echo "$as_me:16188: found $ac_dir/$ac_word" >&5 | 16442 | echo "$as_me:16442: found $ac_dir/$ac_word" >&5 |
16189 | break | 16443 | break |
16190 | fi | 16444 | fi |
16191 | done | 16445 | done |
@@ -16196,10 +16450,10 @@ fi | |||
16196 | NROFF=$ac_cv_path_NROFF | 16450 | NROFF=$ac_cv_path_NROFF |
16197 | 16451 | ||
16198 | if test -n "$NROFF"; then | 16452 | if test -n "$NROFF"; then |
16199 | echo "$as_me:16199: result: $NROFF" >&5 | 16453 | echo "$as_me:16453: result: $NROFF" >&5 |
16200 | echo "${ECHO_T}$NROFF" >&6 | 16454 | echo "${ECHO_T}$NROFF" >&6 |
16201 | else | 16455 | else |
16202 | echo "$as_me:16202: result: no" >&5 | 16456 | echo "$as_me:16456: result: no" >&5 |
16203 | echo "${ECHO_T}no" >&6 | 16457 | echo "${ECHO_T}no" >&6 |
16204 | fi | 16458 | fi |
16205 | 16459 | ||
@@ -16256,10 +16510,10 @@ EOF | |||
16256 | fi; | 16510 | fi; |
16257 | 16511 | ||
16258 | if test -z "$disable_shadow" ; then | 16512 | if test -z "$disable_shadow" ; then |
16259 | echo "$as_me:16259: checking if the systems has expire shadow information" >&5 | 16513 | echo "$as_me:16513: checking if the systems has expire shadow information" >&5 |
16260 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 | 16514 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 |
16261 | cat >conftest.$ac_ext <<_ACEOF | 16515 | cat >conftest.$ac_ext <<_ACEOF |
16262 | #line 16262 "configure" | 16516 | #line 16516 "configure" |
16263 | #include "confdefs.h" | 16517 | #include "confdefs.h" |
16264 | 16518 | ||
16265 | #include <sys/types.h> | 16519 | #include <sys/types.h> |
@@ -16275,16 +16529,16 @@ main () | |||
16275 | } | 16529 | } |
16276 | _ACEOF | 16530 | _ACEOF |
16277 | rm -f conftest.$ac_objext | 16531 | rm -f conftest.$ac_objext |
16278 | if { (eval echo "$as_me:16278: \"$ac_compile\"") >&5 | 16532 | if { (eval echo "$as_me:16532: \"$ac_compile\"") >&5 |
16279 | (eval $ac_compile) 2>&5 | 16533 | (eval $ac_compile) 2>&5 |
16280 | ac_status=$? | 16534 | ac_status=$? |
16281 | echo "$as_me:16281: \$? = $ac_status" >&5 | 16535 | echo "$as_me:16535: \$? = $ac_status" >&5 |
16282 | (exit $ac_status); } && | 16536 | (exit $ac_status); } && |
16283 | { ac_try='test -s conftest.$ac_objext' | 16537 | { ac_try='test -s conftest.$ac_objext' |
16284 | { (eval echo "$as_me:16284: \"$ac_try\"") >&5 | 16538 | { (eval echo "$as_me:16538: \"$ac_try\"") >&5 |
16285 | (eval $ac_try) 2>&5 | 16539 | (eval $ac_try) 2>&5 |
16286 | ac_status=$? | 16540 | ac_status=$? |
16287 | echo "$as_me:16287: \$? = $ac_status" >&5 | 16541 | echo "$as_me:16541: \$? = $ac_status" >&5 |
16288 | (exit $ac_status); }; }; then | 16542 | (exit $ac_status); }; }; then |
16289 | sp_expire_available=yes | 16543 | sp_expire_available=yes |
16290 | else | 16544 | else |
@@ -16295,14 +16549,14 @@ fi | |||
16295 | rm -f conftest.$ac_objext conftest.$ac_ext | 16549 | rm -f conftest.$ac_objext conftest.$ac_ext |
16296 | 16550 | ||
16297 | if test "x$sp_expire_available" = "xyes" ; then | 16551 | if test "x$sp_expire_available" = "xyes" ; then |
16298 | echo "$as_me:16298: result: yes" >&5 | 16552 | echo "$as_me:16552: result: yes" >&5 |
16299 | echo "${ECHO_T}yes" >&6 | 16553 | echo "${ECHO_T}yes" >&6 |
16300 | cat >>confdefs.h <<\EOF | 16554 | cat >>confdefs.h <<\EOF |
16301 | #define HAS_SHADOW_EXPIRE 1 | 16555 | #define HAS_SHADOW_EXPIRE 1 |
16302 | EOF | 16556 | EOF |
16303 | 16557 | ||
16304 | else | 16558 | else |
16305 | echo "$as_me:16305: result: no" >&5 | 16559 | echo "$as_me:16559: result: no" >&5 |
16306 | echo "${ECHO_T}no" >&6 | 16560 | echo "${ECHO_T}no" >&6 |
16307 | fi | 16561 | fi |
16308 | fi | 16562 | fi |
@@ -16339,13 +16593,13 @@ if test "${enable_etc_default_login+set}" = set; then | |||
16339 | 16593 | ||
16340 | else | 16594 | else |
16341 | 16595 | ||
16342 | echo "$as_me:16342: checking for \"/etc/default/login\"" >&5 | 16596 | echo "$as_me:16596: checking for \"/etc/default/login\"" >&5 |
16343 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 | 16597 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 |
16344 | if test "${ac_cv_file___etc_default_login_+set}" = set; then | 16598 | if test "${ac_cv_file___etc_default_login_+set}" = set; then |
16345 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16599 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16346 | else | 16600 | else |
16347 | test "$cross_compiling" = yes && | 16601 | test "$cross_compiling" = yes && |
16348 | { { echo "$as_me:16348: error: cannot check for file existence when cross compiling" >&5 | 16602 | { { echo "$as_me:16602: error: cannot check for file existence when cross compiling" >&5 |
16349 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | 16603 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
16350 | { (exit 1); exit 1; }; } | 16604 | { (exit 1); exit 1; }; } |
16351 | if test -r ""/etc/default/login""; then | 16605 | if test -r ""/etc/default/login""; then |
@@ -16354,7 +16608,7 @@ else | |||
16354 | ac_cv_file___etc_default_login_=no | 16608 | ac_cv_file___etc_default_login_=no |
16355 | fi | 16609 | fi |
16356 | fi | 16610 | fi |
16357 | echo "$as_me:16357: result: $ac_cv_file___etc_default_login_" >&5 | 16611 | echo "$as_me:16611: result: $ac_cv_file___etc_default_login_" >&5 |
16358 | echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6 | 16612 | echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6 |
16359 | if test $ac_cv_file___etc_default_login_ = yes; then | 16613 | if test $ac_cv_file___etc_default_login_ = yes; then |
16360 | external_path_file=/etc/default/login | 16614 | external_path_file=/etc/default/login |
@@ -16382,7 +16636,7 @@ if test "${with_default_path+set}" = set; then | |||
16382 | withval="$with_default_path" | 16636 | withval="$with_default_path" |
16383 | 16637 | ||
16384 | if test "x$external_path_file" = "x/etc/login.conf" ; then | 16638 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
16385 | { echo "$as_me:16385: WARNING: | 16639 | { echo "$as_me:16639: WARNING: |
16386 | --with-default-path=PATH has no effect on this system. | 16640 | --with-default-path=PATH has no effect on this system. |
16387 | Edit /etc/login.conf instead." >&5 | 16641 | Edit /etc/login.conf instead." >&5 |
16388 | echo "$as_me: WARNING: | 16642 | echo "$as_me: WARNING: |
@@ -16390,7 +16644,7 @@ echo "$as_me: WARNING: | |||
16390 | Edit /etc/login.conf instead." >&2;} | 16644 | Edit /etc/login.conf instead." >&2;} |
16391 | elif test "x$withval" != "xno" ; then | 16645 | elif test "x$withval" != "xno" ; then |
16392 | if test ! -z "$external_path_file" ; then | 16646 | if test ! -z "$external_path_file" ; then |
16393 | { echo "$as_me:16393: WARNING: | 16647 | { echo "$as_me:16647: WARNING: |
16394 | --with-default-path=PATH will only be used if PATH is not defined in | 16648 | --with-default-path=PATH will only be used if PATH is not defined in |
16395 | $external_path_file ." >&5 | 16649 | $external_path_file ." >&5 |
16396 | echo "$as_me: WARNING: | 16650 | echo "$as_me: WARNING: |
@@ -16403,11 +16657,11 @@ $external_path_file ." >&2;} | |||
16403 | 16657 | ||
16404 | else | 16658 | else |
16405 | if test "x$external_path_file" = "x/etc/login.conf" ; then | 16659 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
16406 | { echo "$as_me:16406: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 | 16660 | { echo "$as_me:16660: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 |
16407 | echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} | 16661 | echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} |
16408 | else | 16662 | else |
16409 | if test ! -z "$external_path_file" ; then | 16663 | if test ! -z "$external_path_file" ; then |
16410 | { echo "$as_me:16410: WARNING: | 16664 | { echo "$as_me:16664: WARNING: |
16411 | If PATH is defined in $external_path_file, ensure the path to scp is included, | 16665 | If PATH is defined in $external_path_file, ensure the path to scp is included, |
16412 | otherwise scp will not work." >&5 | 16666 | otherwise scp will not work." >&5 |
16413 | echo "$as_me: WARNING: | 16667 | echo "$as_me: WARNING: |
@@ -16419,7 +16673,7 @@ otherwise scp will not work." >&2;} | |||
16419 | 16673 | ||
16420 | else | 16674 | else |
16421 | cat >conftest.$ac_ext <<_ACEOF | 16675 | cat >conftest.$ac_ext <<_ACEOF |
16422 | #line 16422 "configure" | 16676 | #line 16676 "configure" |
16423 | #include "confdefs.h" | 16677 | #include "confdefs.h" |
16424 | 16678 | ||
16425 | /* find out what STDPATH is */ | 16679 | /* find out what STDPATH is */ |
@@ -16456,15 +16710,15 @@ main() | |||
16456 | 16710 | ||
16457 | _ACEOF | 16711 | _ACEOF |
16458 | rm -f conftest$ac_exeext | 16712 | rm -f conftest$ac_exeext |
16459 | if { (eval echo "$as_me:16459: \"$ac_link\"") >&5 | 16713 | if { (eval echo "$as_me:16713: \"$ac_link\"") >&5 |
16460 | (eval $ac_link) 2>&5 | 16714 | (eval $ac_link) 2>&5 |
16461 | ac_status=$? | 16715 | ac_status=$? |
16462 | echo "$as_me:16462: \$? = $ac_status" >&5 | 16716 | echo "$as_me:16716: \$? = $ac_status" >&5 |
16463 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 16717 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
16464 | { (eval echo "$as_me:16464: \"$ac_try\"") >&5 | 16718 | { (eval echo "$as_me:16718: \"$ac_try\"") >&5 |
16465 | (eval $ac_try) 2>&5 | 16719 | (eval $ac_try) 2>&5 |
16466 | ac_status=$? | 16720 | ac_status=$? |
16467 | echo "$as_me:16467: \$? = $ac_status" >&5 | 16721 | echo "$as_me:16721: \$? = $ac_status" >&5 |
16468 | (exit $ac_status); }; }; then | 16722 | (exit $ac_status); }; }; then |
16469 | user_path=`cat conftest.stdpath` | 16723 | user_path=`cat conftest.stdpath` |
16470 | else | 16724 | else |
@@ -16488,7 +16742,7 @@ fi | |||
16488 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 | 16742 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 |
16489 | if test $? -ne 0 ; then | 16743 | if test $? -ne 0 ; then |
16490 | user_path=$user_path:$t_bindir | 16744 | user_path=$user_path:$t_bindir |
16491 | echo "$as_me:16491: result: Adding $t_bindir to USER_PATH so scp will work" >&5 | 16745 | echo "$as_me:16745: result: Adding $t_bindir to USER_PATH so scp will work" >&5 |
16492 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 | 16746 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 |
16493 | fi | 16747 | fi |
16494 | fi | 16748 | fi |
@@ -16518,7 +16772,7 @@ EOF | |||
16518 | 16772 | ||
16519 | fi; | 16773 | fi; |
16520 | 16774 | ||
16521 | echo "$as_me:16521: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 | 16775 | echo "$as_me:16775: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 |
16522 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 | 16776 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 |
16523 | IPV4_IN6_HACK_MSG="no" | 16777 | IPV4_IN6_HACK_MSG="no" |
16524 | 16778 | ||
@@ -16527,7 +16781,7 @@ if test "${with_4in6+set}" = set; then | |||
16527 | withval="$with_4in6" | 16781 | withval="$with_4in6" |
16528 | 16782 | ||
16529 | if test "x$withval" != "xno" ; then | 16783 | if test "x$withval" != "xno" ; then |
16530 | echo "$as_me:16530: result: yes" >&5 | 16784 | echo "$as_me:16784: result: yes" >&5 |
16531 | echo "${ECHO_T}yes" >&6 | 16785 | echo "${ECHO_T}yes" >&6 |
16532 | cat >>confdefs.h <<\EOF | 16786 | cat >>confdefs.h <<\EOF |
16533 | #define IPV4_IN_IPV6 1 | 16787 | #define IPV4_IN_IPV6 1 |
@@ -16535,14 +16789,14 @@ EOF | |||
16535 | 16789 | ||
16536 | IPV4_IN6_HACK_MSG="yes" | 16790 | IPV4_IN6_HACK_MSG="yes" |
16537 | else | 16791 | else |
16538 | echo "$as_me:16538: result: no" >&5 | 16792 | echo "$as_me:16792: result: no" >&5 |
16539 | echo "${ECHO_T}no" >&6 | 16793 | echo "${ECHO_T}no" >&6 |
16540 | fi | 16794 | fi |
16541 | 16795 | ||
16542 | else | 16796 | else |
16543 | 16797 | ||
16544 | if test "x$inet6_default_4in6" = "xyes"; then | 16798 | if test "x$inet6_default_4in6" = "xyes"; then |
16545 | echo "$as_me:16545: result: yes (default)" >&5 | 16799 | echo "$as_me:16799: result: yes (default)" >&5 |
16546 | echo "${ECHO_T}yes (default)" >&6 | 16800 | echo "${ECHO_T}yes (default)" >&6 |
16547 | cat >>confdefs.h <<\EOF | 16801 | cat >>confdefs.h <<\EOF |
16548 | #define IPV4_IN_IPV6 1 | 16802 | #define IPV4_IN_IPV6 1 |
@@ -16550,7 +16804,7 @@ EOF | |||
16550 | 16804 | ||
16551 | IPV4_IN6_HACK_MSG="yes" | 16805 | IPV4_IN6_HACK_MSG="yes" |
16552 | else | 16806 | else |
16553 | echo "$as_me:16553: result: no (default)" >&5 | 16807 | echo "$as_me:16807: result: no (default)" >&5 |
16554 | echo "${ECHO_T}no (default)" >&6 | 16808 | echo "${ECHO_T}no (default)" >&6 |
16555 | fi | 16809 | fi |
16556 | 16810 | ||
@@ -16590,7 +16844,7 @@ if test "${with_pid_dir+set}" = set; then | |||
16590 | if test "x$withval" != "xno" ; then | 16844 | if test "x$withval" != "xno" ; then |
16591 | piddir=$withval | 16845 | piddir=$withval |
16592 | if test ! -d $piddir ; then | 16846 | if test ! -d $piddir ; then |
16593 | { echo "$as_me:16593: WARNING: ** no $piddir directory on this system **" >&5 | 16847 | { echo "$as_me:16847: WARNING: ** no $piddir directory on this system **" >&5 |
16594 | echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} | 16848 | echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} |
16595 | fi | 16849 | fi |
16596 | fi | 16850 | fi |
@@ -16713,10 +16967,10 @@ EOF | |||
16713 | 16967 | ||
16714 | fi; | 16968 | fi; |
16715 | 16969 | ||
16716 | echo "$as_me:16716: checking if your system defines LASTLOG_FILE" >&5 | 16970 | echo "$as_me:16970: checking if your system defines LASTLOG_FILE" >&5 |
16717 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 | 16971 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 |
16718 | cat >conftest.$ac_ext <<_ACEOF | 16972 | cat >conftest.$ac_ext <<_ACEOF |
16719 | #line 16719 "configure" | 16973 | #line 16973 "configure" |
16720 | #include "confdefs.h" | 16974 | #include "confdefs.h" |
16721 | 16975 | ||
16722 | #include <sys/types.h> | 16976 | #include <sys/types.h> |
@@ -16740,29 +16994,29 @@ main () | |||
16740 | } | 16994 | } |
16741 | _ACEOF | 16995 | _ACEOF |
16742 | rm -f conftest.$ac_objext | 16996 | rm -f conftest.$ac_objext |
16743 | if { (eval echo "$as_me:16743: \"$ac_compile\"") >&5 | 16997 | if { (eval echo "$as_me:16997: \"$ac_compile\"") >&5 |
16744 | (eval $ac_compile) 2>&5 | 16998 | (eval $ac_compile) 2>&5 |
16745 | ac_status=$? | 16999 | ac_status=$? |
16746 | echo "$as_me:16746: \$? = $ac_status" >&5 | 17000 | echo "$as_me:17000: \$? = $ac_status" >&5 |
16747 | (exit $ac_status); } && | 17001 | (exit $ac_status); } && |
16748 | { ac_try='test -s conftest.$ac_objext' | 17002 | { ac_try='test -s conftest.$ac_objext' |
16749 | { (eval echo "$as_me:16749: \"$ac_try\"") >&5 | 17003 | { (eval echo "$as_me:17003: \"$ac_try\"") >&5 |
16750 | (eval $ac_try) 2>&5 | 17004 | (eval $ac_try) 2>&5 |
16751 | ac_status=$? | 17005 | ac_status=$? |
16752 | echo "$as_me:16752: \$? = $ac_status" >&5 | 17006 | echo "$as_me:17006: \$? = $ac_status" >&5 |
16753 | (exit $ac_status); }; }; then | 17007 | (exit $ac_status); }; }; then |
16754 | echo "$as_me:16754: result: yes" >&5 | 17008 | echo "$as_me:17008: result: yes" >&5 |
16755 | echo "${ECHO_T}yes" >&6 | 17009 | echo "${ECHO_T}yes" >&6 |
16756 | else | 17010 | else |
16757 | echo "$as_me: failed program was:" >&5 | 17011 | echo "$as_me: failed program was:" >&5 |
16758 | cat conftest.$ac_ext >&5 | 17012 | cat conftest.$ac_ext >&5 |
16759 | 17013 | ||
16760 | echo "$as_me:16760: result: no" >&5 | 17014 | echo "$as_me:17014: result: no" >&5 |
16761 | echo "${ECHO_T}no" >&6 | 17015 | echo "${ECHO_T}no" >&6 |
16762 | echo "$as_me:16762: checking if your system defines _PATH_LASTLOG" >&5 | 17016 | echo "$as_me:17016: checking if your system defines _PATH_LASTLOG" >&5 |
16763 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 | 17017 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 |
16764 | cat >conftest.$ac_ext <<_ACEOF | 17018 | cat >conftest.$ac_ext <<_ACEOF |
16765 | #line 16765 "configure" | 17019 | #line 17019 "configure" |
16766 | #include "confdefs.h" | 17020 | #include "confdefs.h" |
16767 | 17021 | ||
16768 | #include <sys/types.h> | 17022 | #include <sys/types.h> |
@@ -16783,24 +17037,24 @@ main () | |||
16783 | } | 17037 | } |
16784 | _ACEOF | 17038 | _ACEOF |
16785 | rm -f conftest.$ac_objext | 17039 | rm -f conftest.$ac_objext |
16786 | if { (eval echo "$as_me:16786: \"$ac_compile\"") >&5 | 17040 | if { (eval echo "$as_me:17040: \"$ac_compile\"") >&5 |
16787 | (eval $ac_compile) 2>&5 | 17041 | (eval $ac_compile) 2>&5 |
16788 | ac_status=$? | 17042 | ac_status=$? |
16789 | echo "$as_me:16789: \$? = $ac_status" >&5 | 17043 | echo "$as_me:17043: \$? = $ac_status" >&5 |
16790 | (exit $ac_status); } && | 17044 | (exit $ac_status); } && |
16791 | { ac_try='test -s conftest.$ac_objext' | 17045 | { ac_try='test -s conftest.$ac_objext' |
16792 | { (eval echo "$as_me:16792: \"$ac_try\"") >&5 | 17046 | { (eval echo "$as_me:17046: \"$ac_try\"") >&5 |
16793 | (eval $ac_try) 2>&5 | 17047 | (eval $ac_try) 2>&5 |
16794 | ac_status=$? | 17048 | ac_status=$? |
16795 | echo "$as_me:16795: \$? = $ac_status" >&5 | 17049 | echo "$as_me:17049: \$? = $ac_status" >&5 |
16796 | (exit $ac_status); }; }; then | 17050 | (exit $ac_status); }; }; then |
16797 | echo "$as_me:16797: result: yes" >&5 | 17051 | echo "$as_me:17051: result: yes" >&5 |
16798 | echo "${ECHO_T}yes" >&6 | 17052 | echo "${ECHO_T}yes" >&6 |
16799 | else | 17053 | else |
16800 | echo "$as_me: failed program was:" >&5 | 17054 | echo "$as_me: failed program was:" >&5 |
16801 | cat conftest.$ac_ext >&5 | 17055 | cat conftest.$ac_ext >&5 |
16802 | 17056 | ||
16803 | echo "$as_me:16803: result: no" >&5 | 17057 | echo "$as_me:17057: result: no" >&5 |
16804 | echo "${ECHO_T}no" >&6 | 17058 | echo "${ECHO_T}no" >&6 |
16805 | system_lastlog_path=no | 17059 | system_lastlog_path=no |
16806 | 17060 | ||
@@ -16818,7 +17072,7 @@ if test -z "$conf_lastlog_location"; then | |||
16818 | fi | 17072 | fi |
16819 | done | 17073 | done |
16820 | if test -z "$conf_lastlog_location"; then | 17074 | if test -z "$conf_lastlog_location"; then |
16821 | { echo "$as_me:16821: WARNING: ** Cannot find lastlog **" >&5 | 17075 | { echo "$as_me:17075: WARNING: ** Cannot find lastlog **" >&5 |
16822 | echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} | 17076 | echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} |
16823 | fi | 17077 | fi |
16824 | fi | 17078 | fi |
@@ -16831,10 +17085,10 @@ EOF | |||
16831 | 17085 | ||
16832 | fi | 17086 | fi |
16833 | 17087 | ||
16834 | echo "$as_me:16834: checking if your system defines UTMP_FILE" >&5 | 17088 | echo "$as_me:17088: checking if your system defines UTMP_FILE" >&5 |
16835 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 | 17089 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 |
16836 | cat >conftest.$ac_ext <<_ACEOF | 17090 | cat >conftest.$ac_ext <<_ACEOF |
16837 | #line 16837 "configure" | 17091 | #line 17091 "configure" |
16838 | #include "confdefs.h" | 17092 | #include "confdefs.h" |
16839 | 17093 | ||
16840 | #include <sys/types.h> | 17094 | #include <sys/types.h> |
@@ -16852,23 +17106,23 @@ main () | |||
16852 | } | 17106 | } |
16853 | _ACEOF | 17107 | _ACEOF |
16854 | rm -f conftest.$ac_objext | 17108 | rm -f conftest.$ac_objext |
16855 | if { (eval echo "$as_me:16855: \"$ac_compile\"") >&5 | 17109 | if { (eval echo "$as_me:17109: \"$ac_compile\"") >&5 |
16856 | (eval $ac_compile) 2>&5 | 17110 | (eval $ac_compile) 2>&5 |
16857 | ac_status=$? | 17111 | ac_status=$? |
16858 | echo "$as_me:16858: \$? = $ac_status" >&5 | 17112 | echo "$as_me:17112: \$? = $ac_status" >&5 |
16859 | (exit $ac_status); } && | 17113 | (exit $ac_status); } && |
16860 | { ac_try='test -s conftest.$ac_objext' | 17114 | { ac_try='test -s conftest.$ac_objext' |
16861 | { (eval echo "$as_me:16861: \"$ac_try\"") >&5 | 17115 | { (eval echo "$as_me:17115: \"$ac_try\"") >&5 |
16862 | (eval $ac_try) 2>&5 | 17116 | (eval $ac_try) 2>&5 |
16863 | ac_status=$? | 17117 | ac_status=$? |
16864 | echo "$as_me:16864: \$? = $ac_status" >&5 | 17118 | echo "$as_me:17118: \$? = $ac_status" >&5 |
16865 | (exit $ac_status); }; }; then | 17119 | (exit $ac_status); }; }; then |
16866 | echo "$as_me:16866: result: yes" >&5 | 17120 | echo "$as_me:17120: result: yes" >&5 |
16867 | echo "${ECHO_T}yes" >&6 | 17121 | echo "${ECHO_T}yes" >&6 |
16868 | else | 17122 | else |
16869 | echo "$as_me: failed program was:" >&5 | 17123 | echo "$as_me: failed program was:" >&5 |
16870 | cat conftest.$ac_ext >&5 | 17124 | cat conftest.$ac_ext >&5 |
16871 | echo "$as_me:16871: result: no" >&5 | 17125 | echo "$as_me:17125: result: no" >&5 |
16872 | echo "${ECHO_T}no" >&6 | 17126 | echo "${ECHO_T}no" >&6 |
16873 | system_utmp_path=no | 17127 | system_utmp_path=no |
16874 | 17128 | ||
@@ -16896,10 +17150,10 @@ EOF | |||
16896 | 17150 | ||
16897 | fi | 17151 | fi |
16898 | 17152 | ||
16899 | echo "$as_me:16899: checking if your system defines WTMP_FILE" >&5 | 17153 | echo "$as_me:17153: checking if your system defines WTMP_FILE" >&5 |
16900 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 | 17154 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 |
16901 | cat >conftest.$ac_ext <<_ACEOF | 17155 | cat >conftest.$ac_ext <<_ACEOF |
16902 | #line 16902 "configure" | 17156 | #line 17156 "configure" |
16903 | #include "confdefs.h" | 17157 | #include "confdefs.h" |
16904 | 17158 | ||
16905 | #include <sys/types.h> | 17159 | #include <sys/types.h> |
@@ -16917,23 +17171,23 @@ main () | |||
16917 | } | 17171 | } |
16918 | _ACEOF | 17172 | _ACEOF |
16919 | rm -f conftest.$ac_objext | 17173 | rm -f conftest.$ac_objext |
16920 | if { (eval echo "$as_me:16920: \"$ac_compile\"") >&5 | 17174 | if { (eval echo "$as_me:17174: \"$ac_compile\"") >&5 |
16921 | (eval $ac_compile) 2>&5 | 17175 | (eval $ac_compile) 2>&5 |
16922 | ac_status=$? | 17176 | ac_status=$? |
16923 | echo "$as_me:16923: \$? = $ac_status" >&5 | 17177 | echo "$as_me:17177: \$? = $ac_status" >&5 |
16924 | (exit $ac_status); } && | 17178 | (exit $ac_status); } && |
16925 | { ac_try='test -s conftest.$ac_objext' | 17179 | { ac_try='test -s conftest.$ac_objext' |
16926 | { (eval echo "$as_me:16926: \"$ac_try\"") >&5 | 17180 | { (eval echo "$as_me:17180: \"$ac_try\"") >&5 |
16927 | (eval $ac_try) 2>&5 | 17181 | (eval $ac_try) 2>&5 |
16928 | ac_status=$? | 17182 | ac_status=$? |
16929 | echo "$as_me:16929: \$? = $ac_status" >&5 | 17183 | echo "$as_me:17183: \$? = $ac_status" >&5 |
16930 | (exit $ac_status); }; }; then | 17184 | (exit $ac_status); }; }; then |
16931 | echo "$as_me:16931: result: yes" >&5 | 17185 | echo "$as_me:17185: result: yes" >&5 |
16932 | echo "${ECHO_T}yes" >&6 | 17186 | echo "${ECHO_T}yes" >&6 |
16933 | else | 17187 | else |
16934 | echo "$as_me: failed program was:" >&5 | 17188 | echo "$as_me: failed program was:" >&5 |
16935 | cat conftest.$ac_ext >&5 | 17189 | cat conftest.$ac_ext >&5 |
16936 | echo "$as_me:16936: result: no" >&5 | 17190 | echo "$as_me:17190: result: no" >&5 |
16937 | echo "${ECHO_T}no" >&6 | 17191 | echo "${ECHO_T}no" >&6 |
16938 | system_wtmp_path=no | 17192 | system_wtmp_path=no |
16939 | 17193 | ||
@@ -16961,10 +17215,10 @@ EOF | |||
16961 | 17215 | ||
16962 | fi | 17216 | fi |
16963 | 17217 | ||
16964 | echo "$as_me:16964: checking if your system defines UTMPX_FILE" >&5 | 17218 | echo "$as_me:17218: checking if your system defines UTMPX_FILE" >&5 |
16965 | echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 | 17219 | echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 |
16966 | cat >conftest.$ac_ext <<_ACEOF | 17220 | cat >conftest.$ac_ext <<_ACEOF |
16967 | #line 16967 "configure" | 17221 | #line 17221 "configure" |
16968 | #include "confdefs.h" | 17222 | #include "confdefs.h" |
16969 | 17223 | ||
16970 | #include <sys/types.h> | 17224 | #include <sys/types.h> |
@@ -16985,23 +17239,23 @@ main () | |||
16985 | } | 17239 | } |
16986 | _ACEOF | 17240 | _ACEOF |
16987 | rm -f conftest.$ac_objext | 17241 | rm -f conftest.$ac_objext |
16988 | if { (eval echo "$as_me:16988: \"$ac_compile\"") >&5 | 17242 | if { (eval echo "$as_me:17242: \"$ac_compile\"") >&5 |
16989 | (eval $ac_compile) 2>&5 | 17243 | (eval $ac_compile) 2>&5 |
16990 | ac_status=$? | 17244 | ac_status=$? |
16991 | echo "$as_me:16991: \$? = $ac_status" >&5 | 17245 | echo "$as_me:17245: \$? = $ac_status" >&5 |
16992 | (exit $ac_status); } && | 17246 | (exit $ac_status); } && |
16993 | { ac_try='test -s conftest.$ac_objext' | 17247 | { ac_try='test -s conftest.$ac_objext' |
16994 | { (eval echo "$as_me:16994: \"$ac_try\"") >&5 | 17248 | { (eval echo "$as_me:17248: \"$ac_try\"") >&5 |
16995 | (eval $ac_try) 2>&5 | 17249 | (eval $ac_try) 2>&5 |
16996 | ac_status=$? | 17250 | ac_status=$? |
16997 | echo "$as_me:16997: \$? = $ac_status" >&5 | 17251 | echo "$as_me:17251: \$? = $ac_status" >&5 |
16998 | (exit $ac_status); }; }; then | 17252 | (exit $ac_status); }; }; then |
16999 | echo "$as_me:16999: result: yes" >&5 | 17253 | echo "$as_me:17253: result: yes" >&5 |
17000 | echo "${ECHO_T}yes" >&6 | 17254 | echo "${ECHO_T}yes" >&6 |
17001 | else | 17255 | else |
17002 | echo "$as_me: failed program was:" >&5 | 17256 | echo "$as_me: failed program was:" >&5 |
17003 | cat conftest.$ac_ext >&5 | 17257 | cat conftest.$ac_ext >&5 |
17004 | echo "$as_me:17004: result: no" >&5 | 17258 | echo "$as_me:17258: result: no" >&5 |
17005 | echo "${ECHO_T}no" >&6 | 17259 | echo "${ECHO_T}no" >&6 |
17006 | system_utmpx_path=no | 17260 | system_utmpx_path=no |
17007 | 17261 | ||
@@ -17021,10 +17275,10 @@ EOF | |||
17021 | 17275 | ||
17022 | fi | 17276 | fi |
17023 | 17277 | ||
17024 | echo "$as_me:17024: checking if your system defines WTMPX_FILE" >&5 | 17278 | echo "$as_me:17278: checking if your system defines WTMPX_FILE" >&5 |
17025 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 | 17279 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 |
17026 | cat >conftest.$ac_ext <<_ACEOF | 17280 | cat >conftest.$ac_ext <<_ACEOF |
17027 | #line 17027 "configure" | 17281 | #line 17281 "configure" |
17028 | #include "confdefs.h" | 17282 | #include "confdefs.h" |
17029 | 17283 | ||
17030 | #include <sys/types.h> | 17284 | #include <sys/types.h> |
@@ -17045,23 +17299,23 @@ main () | |||
17045 | } | 17299 | } |
17046 | _ACEOF | 17300 | _ACEOF |
17047 | rm -f conftest.$ac_objext | 17301 | rm -f conftest.$ac_objext |
17048 | if { (eval echo "$as_me:17048: \"$ac_compile\"") >&5 | 17302 | if { (eval echo "$as_me:17302: \"$ac_compile\"") >&5 |
17049 | (eval $ac_compile) 2>&5 | 17303 | (eval $ac_compile) 2>&5 |
17050 | ac_status=$? | 17304 | ac_status=$? |
17051 | echo "$as_me:17051: \$? = $ac_status" >&5 | 17305 | echo "$as_me:17305: \$? = $ac_status" >&5 |
17052 | (exit $ac_status); } && | 17306 | (exit $ac_status); } && |
17053 | { ac_try='test -s conftest.$ac_objext' | 17307 | { ac_try='test -s conftest.$ac_objext' |
17054 | { (eval echo "$as_me:17054: \"$ac_try\"") >&5 | 17308 | { (eval echo "$as_me:17308: \"$ac_try\"") >&5 |
17055 | (eval $ac_try) 2>&5 | 17309 | (eval $ac_try) 2>&5 |
17056 | ac_status=$? | 17310 | ac_status=$? |
17057 | echo "$as_me:17057: \$? = $ac_status" >&5 | 17311 | echo "$as_me:17311: \$? = $ac_status" >&5 |
17058 | (exit $ac_status); }; }; then | 17312 | (exit $ac_status); }; }; then |
17059 | echo "$as_me:17059: result: yes" >&5 | 17313 | echo "$as_me:17313: result: yes" >&5 |
17060 | echo "${ECHO_T}yes" >&6 | 17314 | echo "${ECHO_T}yes" >&6 |
17061 | else | 17315 | else |
17062 | echo "$as_me: failed program was:" >&5 | 17316 | echo "$as_me: failed program was:" >&5 |
17063 | cat conftest.$ac_ext >&5 | 17317 | cat conftest.$ac_ext >&5 |
17064 | echo "$as_me:17064: result: no" >&5 | 17318 | echo "$as_me:17318: result: no" >&5 |
17065 | echo "${ECHO_T}no" >&6 | 17319 | echo "${ECHO_T}no" >&6 |
17066 | system_wtmpx_path=no | 17320 | system_wtmpx_path=no |
17067 | 17321 | ||
@@ -17083,7 +17337,7 @@ fi | |||
17083 | 17337 | ||
17084 | if test ! -z "$blibpath" ; then | 17338 | if test ! -z "$blibpath" ; then |
17085 | LDFLAGS="$LDFLAGS $blibflags$blibpath" | 17339 | LDFLAGS="$LDFLAGS $blibflags$blibpath" |
17086 | { echo "$as_me:17086: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 | 17340 | { echo "$as_me:17340: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 |
17087 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} | 17341 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} |
17088 | fi | 17342 | fi |
17089 | 17343 | ||
@@ -17175,7 +17429,7 @@ DEFS=-DHAVE_CONFIG_H | |||
17175 | : ${CONFIG_STATUS=./config.status} | 17429 | : ${CONFIG_STATUS=./config.status} |
17176 | ac_clean_files_save=$ac_clean_files | 17430 | ac_clean_files_save=$ac_clean_files |
17177 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 17431 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
17178 | { echo "$as_me:17178: creating $CONFIG_STATUS" >&5 | 17432 | { echo "$as_me:17432: creating $CONFIG_STATUS" >&5 |
17179 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 17433 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
17180 | cat >$CONFIG_STATUS <<_ACEOF | 17434 | cat >$CONFIG_STATUS <<_ACEOF |
17181 | #! $SHELL | 17435 | #! $SHELL |
@@ -17348,7 +17602,7 @@ cat >>$CONFIG_STATUS <<\EOF | |||
17348 | echo "$ac_cs_version"; exit 0 ;; | 17602 | echo "$ac_cs_version"; exit 0 ;; |
17349 | --he | --h) | 17603 | --he | --h) |
17350 | # Conflict between --help and --header | 17604 | # Conflict between --help and --header |
17351 | { { echo "$as_me:17351: error: ambiguous option: $1 | 17605 | { { echo "$as_me:17605: error: ambiguous option: $1 |
17352 | Try \`$0 --help' for more information." >&5 | 17606 | Try \`$0 --help' for more information." >&5 |
17353 | echo "$as_me: error: ambiguous option: $1 | 17607 | echo "$as_me: error: ambiguous option: $1 |
17354 | Try \`$0 --help' for more information." >&2;} | 17608 | Try \`$0 --help' for more information." >&2;} |
@@ -17367,7 +17621,7 @@ Try \`$0 --help' for more information." >&2;} | |||
17367 | ac_need_defaults=false;; | 17621 | ac_need_defaults=false;; |
17368 | 17622 | ||
17369 | # This is an error. | 17623 | # This is an error. |
17370 | -*) { { echo "$as_me:17370: error: unrecognized option: $1 | 17624 | -*) { { echo "$as_me:17624: error: unrecognized option: $1 |
17371 | Try \`$0 --help' for more information." >&5 | 17625 | Try \`$0 --help' for more information." >&5 |
17372 | echo "$as_me: error: unrecognized option: $1 | 17626 | echo "$as_me: error: unrecognized option: $1 |
17373 | Try \`$0 --help' for more information." >&2;} | 17627 | Try \`$0 --help' for more information." >&2;} |
@@ -17407,7 +17661,7 @@ do | |||
17407 | "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; | 17661 | "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; |
17408 | "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; | 17662 | "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; |
17409 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 17663 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
17410 | *) { { echo "$as_me:17410: error: invalid argument: $ac_config_target" >&5 | 17664 | *) { { echo "$as_me:17664: error: invalid argument: $ac_config_target" >&5 |
17411 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 17665 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
17412 | { (exit 1); exit 1; }; };; | 17666 | { (exit 1); exit 1; }; };; |
17413 | esac | 17667 | esac |
@@ -17664,7 +17918,7 @@ done; } | |||
17664 | esac | 17918 | esac |
17665 | 17919 | ||
17666 | if test x"$ac_file" != x-; then | 17920 | if test x"$ac_file" != x-; then |
17667 | { echo "$as_me:17667: creating $ac_file" >&5 | 17921 | { echo "$as_me:17921: creating $ac_file" >&5 |
17668 | echo "$as_me: creating $ac_file" >&6;} | 17922 | echo "$as_me: creating $ac_file" >&6;} |
17669 | rm -f "$ac_file" | 17923 | rm -f "$ac_file" |
17670 | fi | 17924 | fi |
@@ -17682,7 +17936,7 @@ echo "$as_me: creating $ac_file" >&6;} | |||
17682 | -) echo $tmp/stdin ;; | 17936 | -) echo $tmp/stdin ;; |
17683 | [\\/$]*) | 17937 | [\\/$]*) |
17684 | # Absolute (can't be DOS-style, as IFS=:) | 17938 | # Absolute (can't be DOS-style, as IFS=:) |
17685 | test -f "$f" || { { echo "$as_me:17685: error: cannot find input file: $f" >&5 | 17939 | test -f "$f" || { { echo "$as_me:17939: error: cannot find input file: $f" >&5 |
17686 | echo "$as_me: error: cannot find input file: $f" >&2;} | 17940 | echo "$as_me: error: cannot find input file: $f" >&2;} |
17687 | { (exit 1); exit 1; }; } | 17941 | { (exit 1); exit 1; }; } |
17688 | echo $f;; | 17942 | echo $f;; |
@@ -17695,7 +17949,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} | |||
17695 | echo $srcdir/$f | 17949 | echo $srcdir/$f |
17696 | else | 17950 | else |
17697 | # /dev/null tree | 17951 | # /dev/null tree |
17698 | { { echo "$as_me:17698: error: cannot find input file: $f" >&5 | 17952 | { { echo "$as_me:17952: error: cannot find input file: $f" >&5 |
17699 | echo "$as_me: error: cannot find input file: $f" >&2;} | 17953 | echo "$as_me: error: cannot find input file: $f" >&2;} |
17700 | { (exit 1); exit 1; }; } | 17954 | { (exit 1); exit 1; }; } |
17701 | fi;; | 17955 | fi;; |
@@ -17756,7 +18010,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | |||
17756 | * ) ac_file_in=$ac_file.in ;; | 18010 | * ) ac_file_in=$ac_file.in ;; |
17757 | esac | 18011 | esac |
17758 | 18012 | ||
17759 | test x"$ac_file" != x- && { echo "$as_me:17759: creating $ac_file" >&5 | 18013 | test x"$ac_file" != x- && { echo "$as_me:18013: creating $ac_file" >&5 |
17760 | echo "$as_me: creating $ac_file" >&6;} | 18014 | echo "$as_me: creating $ac_file" >&6;} |
17761 | 18015 | ||
17762 | # First look for the input files in the build tree, otherwise in the | 18016 | # First look for the input files in the build tree, otherwise in the |
@@ -17767,7 +18021,7 @@ echo "$as_me: creating $ac_file" >&6;} | |||
17767 | -) echo $tmp/stdin ;; | 18021 | -) echo $tmp/stdin ;; |
17768 | [\\/$]*) | 18022 | [\\/$]*) |
17769 | # Absolute (can't be DOS-style, as IFS=:) | 18023 | # Absolute (can't be DOS-style, as IFS=:) |
17770 | test -f "$f" || { { echo "$as_me:17770: error: cannot find input file: $f" >&5 | 18024 | test -f "$f" || { { echo "$as_me:18024: error: cannot find input file: $f" >&5 |
17771 | echo "$as_me: error: cannot find input file: $f" >&2;} | 18025 | echo "$as_me: error: cannot find input file: $f" >&2;} |
17772 | { (exit 1); exit 1; }; } | 18026 | { (exit 1); exit 1; }; } |
17773 | echo $f;; | 18027 | echo $f;; |
@@ -17780,7 +18034,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} | |||
17780 | echo $srcdir/$f | 18034 | echo $srcdir/$f |
17781 | else | 18035 | else |
17782 | # /dev/null tree | 18036 | # /dev/null tree |
17783 | { { echo "$as_me:17783: error: cannot find input file: $f" >&5 | 18037 | { { echo "$as_me:18037: error: cannot find input file: $f" >&5 |
17784 | echo "$as_me: error: cannot find input file: $f" >&2;} | 18038 | echo "$as_me: error: cannot find input file: $f" >&2;} |
17785 | { (exit 1); exit 1; }; } | 18039 | { (exit 1); exit 1; }; } |
17786 | fi;; | 18040 | fi;; |
@@ -17810,7 +18064,7 @@ s/[\\&,]/\\&/g | |||
17810 | s,[\\$`],\\&,g | 18064 | s,[\\$`],\\&,g |
17811 | t clear | 18065 | t clear |
17812 | : clear | 18066 | : clear |
17813 | s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp | 18067 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
17814 | t end | 18068 | t end |
17815 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 18069 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
17816 | : end | 18070 | : end |
@@ -17897,7 +18151,7 @@ cat >>$CONFIG_STATUS <<\EOF | |||
17897 | rm -f $tmp/in | 18151 | rm -f $tmp/in |
17898 | if test x"$ac_file" != x-; then | 18152 | if test x"$ac_file" != x-; then |
17899 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 18153 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
17900 | { echo "$as_me:17900: $ac_file is unchanged" >&5 | 18154 | { echo "$as_me:18154: $ac_file is unchanged" >&5 |
17901 | echo "$as_me: $ac_file is unchanged" >&6;} | 18155 | echo "$as_me: $ac_file is unchanged" >&6;} |
17902 | else | 18156 | else |
17903 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 18157 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
diff --git a/configure.ac b/configure.ac index 836e31730..6ba4d244a 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,18 @@ | |||
1 | # $Id: configure.ac,v 1.202 2004/02/24 05:47:04 tim Exp $ | 1 | # $Id: configure.ac,v 1.214 2004/04/17 03:03:07 tim Exp $ |
2 | # | ||
3 | # Copyright (c) 1999-2004 Damien Miller | ||
4 | # | ||
5 | # Permission to use, copy, modify, and distribute this software for any | ||
6 | # purpose with or without fee is hereby granted, provided that the above | ||
7 | # copyright notice and this permission notice appear in all copies. | ||
8 | # | ||
9 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
10 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
11 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
12 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
13 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
14 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
2 | 16 | ||
3 | AC_INIT | 17 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 18 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -195,10 +209,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
195 | AC_DEFINE(DISABLE_UTMP) | 209 | AC_DEFINE(DISABLE_UTMP) |
196 | AC_DEFINE(LOCKED_PASSWD_STRING, "*") | 210 | AC_DEFINE(LOCKED_PASSWD_STRING, "*") |
197 | AC_DEFINE(SPT_TYPE,SPT_PSTAT) | 211 | AC_DEFINE(SPT_TYPE,SPT_PSTAT) |
198 | case "$host" in | 212 | check_for_hpux_broken_getaddrinfo=1 |
199 | *-*-hpux11.11*) | ||
200 | AC_DEFINE(BROKEN_GETADDRINFO);; | ||
201 | esac | ||
202 | LIBS="$LIBS -lsec" | 213 | LIBS="$LIBS -lsec" |
203 | AC_CHECK_LIB(xnet, t_error, ,AC_MSG_ERROR([*** -lxnet needed on HP-UX - check config.log ***])) | 214 | AC_CHECK_LIB(xnet, t_error, ,AC_MSG_ERROR([*** -lxnet needed on HP-UX - check config.log ***])) |
204 | ;; | 215 | ;; |
@@ -221,6 +232,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
221 | AC_DEFINE(SETEUID_BREAKS_SETUID) | 232 | AC_DEFINE(SETEUID_BREAKS_SETUID) |
222 | AC_DEFINE(BROKEN_SETREUID) | 233 | AC_DEFINE(BROKEN_SETREUID) |
223 | AC_DEFINE(BROKEN_SETREGID) | 234 | AC_DEFINE(BROKEN_SETREGID) |
235 | AC_DEFINE(BROKEN_UPDWTMPX) | ||
224 | AC_DEFINE(WITH_ABBREV_NO_TTY) | 236 | AC_DEFINE(WITH_ABBREV_NO_TTY) |
225 | AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*") | 237 | AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*") |
226 | ;; | 238 | ;; |
@@ -230,7 +242,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
230 | check_for_openpty_ctty_bug=1 | 242 | check_for_openpty_ctty_bug=1 |
231 | AC_DEFINE(DONT_TRY_OTHER_AF) | 243 | AC_DEFINE(DONT_TRY_OTHER_AF) |
232 | AC_DEFINE(PAM_TTY_KLUDGE) | 244 | AC_DEFINE(PAM_TTY_KLUDGE) |
233 | AC_DEFINE(LOCKED_PASSWD_PREFIX, "!!") | 245 | AC_DEFINE(LOCKED_PASSWD_PREFIX, "!") |
234 | AC_DEFINE(SPT_TYPE,SPT_REUSEARGV) | 246 | AC_DEFINE(SPT_TYPE,SPT_REUSEARGV) |
235 | inet6_default_4in6=yes | 247 | inet6_default_4in6=yes |
236 | case `uname -r` in | 248 | case `uname -r` in |
@@ -268,6 +280,9 @@ mips-sony-bsd|mips-sony-newsos4) | |||
268 | AC_DEFINE(BROKEN_SAVED_UIDS) | 280 | AC_DEFINE(BROKEN_SAVED_UIDS) |
269 | ;; | 281 | ;; |
270 | *-*-solaris*) | 282 | *-*-solaris*) |
283 | if test "x$withval" != "xno" ; then | ||
284 | need_dash_r=1 | ||
285 | fi | ||
271 | AC_DEFINE(PAM_SUN_CODEBASE) | 286 | AC_DEFINE(PAM_SUN_CODEBASE) |
272 | AC_DEFINE(LOGIN_NEEDS_UTMPX) | 287 | AC_DEFINE(LOGIN_NEEDS_UTMPX) |
273 | AC_DEFINE(LOGIN_NEEDS_TERM) | 288 | AC_DEFINE(LOGIN_NEEDS_TERM) |
@@ -344,6 +359,9 @@ mips-sony-bsd|mips-sony-newsos4) | |||
344 | AC_DEFINE(HAVE_SECUREWARE) | 359 | AC_DEFINE(HAVE_SECUREWARE) |
345 | AC_DEFINE(DISABLE_SHADOW) | 360 | AC_DEFINE(DISABLE_SHADOW) |
346 | AC_DEFINE(BROKEN_SAVED_UIDS) | 361 | AC_DEFINE(BROKEN_SAVED_UIDS) |
362 | AC_DEFINE(SETEUID_BREAKS_SETUID) | ||
363 | AC_DEFINE(BROKEN_SETREUID) | ||
364 | AC_DEFINE(BROKEN_SETREGID) | ||
347 | AC_DEFINE(WITH_ABBREV_NO_TTY) | 365 | AC_DEFINE(WITH_ABBREV_NO_TTY) |
348 | AC_CHECK_FUNCS(getluid setluid) | 366 | AC_CHECK_FUNCS(getluid setluid) |
349 | MANTYPE=man | 367 | MANTYPE=man |
@@ -491,10 +509,10 @@ AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \ | |||
491 | netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ | 509 | netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ |
492 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | 510 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ |
493 | strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ | 511 | strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ |
494 | sys/cdefs.h sys/mman.h sys/pstat.h sys/ptms.h sys/select.h sys/stat.h \ | 512 | sys/cdefs.h sys/mman.h sys/prctl.h sys/pstat.h sys/ptms.h \ |
495 | sys/stream.h sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ | 513 | sys/select.h sys/stat.h sys/stream.h sys/stropts.h \ |
496 | sys/un.h time.h tmpdir.h ttyent.h usersec.h \ | 514 | sys/sysmacros.h sys/time.h sys/timers.h sys/un.h time.h tmpdir.h \ |
497 | util.h utime.h utmp.h utmpx.h vis.h) | 515 | ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h) |
498 | 516 | ||
499 | # Checks for libraries. | 517 | # Checks for libraries. |
500 | AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match)) | 518 | AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match)) |
@@ -728,6 +746,15 @@ int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } | |||
728 | AC_MSG_RESULT(no) | 746 | AC_MSG_RESULT(no) |
729 | AC_MSG_ERROR([** Incomplete or missing s/key libraries.]) | 747 | AC_MSG_ERROR([** Incomplete or missing s/key libraries.]) |
730 | ]) | 748 | ]) |
749 | AC_MSG_CHECKING(if skeychallenge takes 4 arguments) | ||
750 | AC_TRY_COMPILE( | ||
751 | [#include <stdio.h> | ||
752 | #include <skey.h>], | ||
753 | [(void)skeychallenge(NULL,"name","",0);], | ||
754 | [AC_MSG_RESULT(yes) | ||
755 | AC_DEFINE(SKEYCHALLENGE_4ARG)], | ||
756 | [AC_MSG_RESULT(no)] | ||
757 | ) | ||
731 | fi | 758 | fi |
732 | ] | 759 | ] |
733 | ) | 760 | ) |
@@ -767,6 +794,9 @@ AC_ARG_WITH(tcp-wrappers, | |||
767 | AC_MSG_CHECKING(for libwrap) | 794 | AC_MSG_CHECKING(for libwrap) |
768 | AC_TRY_LINK( | 795 | AC_TRY_LINK( |
769 | [ | 796 | [ |
797 | #include <sys/types.h> | ||
798 | #include <sys/socket.h> | ||
799 | #include <netinet/in.h> | ||
770 | #include <tcpd.h> | 800 | #include <tcpd.h> |
771 | int deny_severity = 0, allow_severity = 0; | 801 | int deny_severity = 0, allow_severity = 0; |
772 | ], | 802 | ], |
@@ -794,12 +824,12 @@ AC_CHECK_FUNCS(\ | |||
794 | getpeereid _getpty getrlimit getttyent glob inet_aton \ | 824 | getpeereid _getpty getrlimit getttyent glob inet_aton \ |
795 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | 825 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ |
796 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ | 826 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ |
797 | pstat readpassphrase realpath recvmsg rresvport_af sendmsg \ | 827 | pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \ |
798 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ | 828 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ |
799 | setproctitle setregid setreuid setrlimit \ | 829 | setproctitle setregid setreuid setrlimit \ |
800 | setsid setvbuf sigaction sigvec snprintf socketpair strerror \ | 830 | setsid setvbuf sigaction sigvec snprintf socketpair strerror \ |
801 | strlcat strlcpy strmode strnvis strtoul sysconf tcgetpgrp \ | 831 | strlcat strlcpy strmode strnvis strtoul sysconf tcgetpgrp \ |
802 | truncate updwtmpx utimes vhangup vsnprintf waitpid \ | 832 | truncate unsetenv updwtmpx utimes vhangup vsnprintf waitpid \ |
803 | ) | 833 | ) |
804 | 834 | ||
805 | # IRIX has a const char return value for gai_strerror() | 835 | # IRIX has a const char return value for gai_strerror() |
@@ -967,6 +997,74 @@ main() | |||
967 | ) | 997 | ) |
968 | fi | 998 | fi |
969 | 999 | ||
1000 | if test "x$ac_cv_func_getaddrinfo" = "xyes" -a "x$check_for_hpux_broken_getaddrinfo" = "x1"; then | ||
1001 | AC_MSG_CHECKING(if getaddrinfo seems to work) | ||
1002 | AC_TRY_RUN( | ||
1003 | [ | ||
1004 | #include <stdio.h> | ||
1005 | #include <sys/socket.h> | ||
1006 | #include <netdb.h> | ||
1007 | #include <errno.h> | ||
1008 | #include <netinet/in.h> | ||
1009 | |||
1010 | #define TEST_PORT "2222" | ||
1011 | |||
1012 | int | ||
1013 | main(void) | ||
1014 | { | ||
1015 | int err, sock; | ||
1016 | struct addrinfo *gai_ai, *ai, hints; | ||
1017 | char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL; | ||
1018 | |||
1019 | memset(&hints, 0, sizeof(hints)); | ||
1020 | hints.ai_family = PF_UNSPEC; | ||
1021 | hints.ai_socktype = SOCK_STREAM; | ||
1022 | hints.ai_flags = AI_PASSIVE; | ||
1023 | |||
1024 | err = getaddrinfo(name, TEST_PORT, &hints, &gai_ai); | ||
1025 | if (err != 0) { | ||
1026 | fprintf(stderr, "getaddrinfo failed (%s)", gai_strerror(err)); | ||
1027 | exit(1); | ||
1028 | } | ||
1029 | |||
1030 | for (ai = gai_ai; ai != NULL; ai = ai->ai_next) { | ||
1031 | if (ai->ai_family != AF_INET6) | ||
1032 | continue; | ||
1033 | |||
1034 | err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop, | ||
1035 | sizeof(ntop), strport, sizeof(strport), | ||
1036 | NI_NUMERICHOST|NI_NUMERICSERV); | ||
1037 | |||
1038 | if (err != 0) { | ||
1039 | if (err == EAI_SYSTEM) | ||
1040 | perror("getnameinfo EAI_SYSTEM"); | ||
1041 | else | ||
1042 | fprintf(stderr, "getnameinfo failed: %s\n", | ||
1043 | gai_strerror(err)); | ||
1044 | exit(2); | ||
1045 | } | ||
1046 | |||
1047 | sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); | ||
1048 | if (sock < 0) | ||
1049 | perror("socket"); | ||
1050 | if (bind(sock, ai->ai_addr, ai->ai_addrlen) < 0) { | ||
1051 | if (errno == EBADF) | ||
1052 | exit(3); | ||
1053 | } | ||
1054 | } | ||
1055 | exit(0); | ||
1056 | } | ||
1057 | ], | ||
1058 | [ | ||
1059 | AC_MSG_RESULT(yes) | ||
1060 | ], | ||
1061 | [ | ||
1062 | AC_MSG_RESULT(no) | ||
1063 | AC_DEFINE(BROKEN_GETADDRINFO) | ||
1064 | ] | ||
1065 | ) | ||
1066 | fi | ||
1067 | |||
970 | AC_FUNC_GETPGRP | 1068 | AC_FUNC_GETPGRP |
971 | 1069 | ||
972 | # Check for PAM libs | 1070 | # Check for PAM libs |
@@ -2157,6 +2255,7 @@ AC_ARG_WITH(kerberos5, | |||
2157 | 2255 | ||
2158 | LIBS="$LIBS $K5LIBS" | 2256 | LIBS="$LIBS $K5LIBS" |
2159 | AC_SEARCH_LIBS(k_hasafs, kafs, AC_DEFINE(USE_AFS)) | 2257 | AC_SEARCH_LIBS(k_hasafs, kafs, AC_DEFINE(USE_AFS)) |
2258 | AC_SEARCH_LIBS(krb5_init_ets, $K5LIBS, AC_DEFINE(KRB5_INIT_ETS)) | ||
2160 | ] | 2259 | ] |
2161 | ) | 2260 | ) |
2162 | 2261 | ||
diff --git a/contrib/caldera/openssh.spec b/contrib/caldera/openssh.spec index 599244b5d..e690f102f 100644 --- a/contrib/caldera/openssh.spec +++ b/contrib/caldera/openssh.spec | |||
@@ -17,11 +17,11 @@ | |||
17 | #old cvs stuff. please update before use. may be deprecated. | 17 | #old cvs stuff. please update before use. may be deprecated. |
18 | %define use_stable 1 | 18 | %define use_stable 1 |
19 | %if %{use_stable} | 19 | %if %{use_stable} |
20 | %define version 3.8p1 | 20 | %define version 3.8.1p1 |
21 | %define cvs %{nil} | 21 | %define cvs %{nil} |
22 | %define release 1 | 22 | %define release 1 |
23 | %else | 23 | %else |
24 | %define version 3.8p1 | 24 | %define version 3.8.1p1 |
25 | %define cvs cvs20011009 | 25 | %define cvs cvs20011009 |
26 | %define release 0r1 | 26 | %define release 0r1 |
27 | %endif | 27 | %endif |
@@ -363,4 +363,4 @@ fi | |||
363 | * Mon Jan 01 1998 ... | 363 | * Mon Jan 01 1998 ... |
364 | Template Version: 1.31 | 364 | Template Version: 1.31 |
365 | 365 | ||
366 | $Id: openssh.spec,v 1.48 2004/02/24 05:00:04 djm Exp $ | 366 | $Id: openssh.spec,v 1.49 2004/03/21 22:40:04 djm Exp $ |
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index 05750e3a9..b7470092b 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec | |||
@@ -1,4 +1,4 @@ | |||
1 | %define ver 3.8p1 | 1 | %define ver 3.8.1p1 |
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/redhat/sshd.pam b/contrib/redhat/sshd.pam index d2ab073fc..24f3b4651 100644 --- a/contrib/redhat/sshd.pam +++ b/contrib/redhat/sshd.pam | |||
@@ -1,8 +1,8 @@ | |||
1 | #%PAM-1.0 | 1 | #%PAM-1.0 |
2 | auth required /lib/security/pam_stack.so service=system-auth | 2 | auth required pam_stack.so service=system-auth |
3 | auth required /lib/security/pam_nologin.so | 3 | auth required pam_nologin.so |
4 | account required /lib/security/pam_stack.so service=system-auth | 4 | account required pam_stack.so service=system-auth |
5 | password required /lib/security/pam_stack.so service=system-auth | 5 | password required pam_stack.so service=system-auth |
6 | session required /lib/security/pam_stack.so service=system-auth | 6 | session required pam_stack.so service=system-auth |
7 | session required /lib/security/pam_limits.so | 7 | session required pam_limits.so |
8 | session optional /lib/security/pam_console.so | 8 | session optional pam_console.so |
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec index 7eb71adf4..2b43d0368 100644 --- a/contrib/suse/openssh.spec +++ b/contrib/suse/openssh.spec | |||
@@ -1,6 +1,6 @@ | |||
1 | Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation | 1 | Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation |
2 | Name: openssh | 2 | Name: openssh |
3 | Version: 3.8p1 | 3 | Version: 3.8.1p1 |
4 | URL: http://www.openssh.com/ | 4 | URL: http://www.openssh.com/ |
5 | Release: 1 | 5 | Release: 1 |
6 | Source0: openssh-%{version}.tar.gz | 6 | Source0: openssh-%{version}.tar.gz |
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.110 2004/02/10 02:01:14 dtucker Exp $ */ | 28 | /* $Id: defines.h,v 1.115 2004/04/14 07:24:30 dtucker Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -507,6 +507,10 @@ struct winsize { | |||
507 | # undef HAVE_GAI_STRERROR | 507 | # undef HAVE_GAI_STRERROR |
508 | #endif | 508 | #endif |
509 | 509 | ||
510 | #if defined(BROKEN_UPDWTMPX) && defined(HAVE_UPDWTMPX) | ||
511 | # undef HAVE_UPDWTMPX | ||
512 | #endif | ||
513 | |||
510 | #if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) | 514 | #if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) |
511 | # define memmove(s1, s2, n) bcopy((s2), (s1), (n)) | 515 | # define memmove(s1, s2, n) bcopy((s2), (s1), (n)) |
512 | #endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */ | 516 | #endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */ |
@@ -534,6 +538,12 @@ struct winsize { | |||
534 | # define krb5_get_err_text(context,code) error_message(code) | 538 | # define krb5_get_err_text(context,code) error_message(code) |
535 | #endif | 539 | #endif |
536 | 540 | ||
541 | #if defined(SKEYCHALLENGE_4ARG) | ||
542 | # define _compat_skeychallenge(a,b,c,d) skeychallenge(a,b,c,d) | ||
543 | #else | ||
544 | # define _compat_skeychallenge(a,b,c,d) skeychallenge(a,b,c) | ||
545 | #endif | ||
546 | |||
537 | /* Maximum number of file descriptors available */ | 547 | /* Maximum number of file descriptors available */ |
538 | #ifdef HAVE_SYSCONF | 548 | #ifdef HAVE_SYSCONF |
539 | # define SSH_SYSFDMAX sysconf(_SC_OPEN_MAX) | 549 | # define SSH_SYSFDMAX sysconf(_SC_OPEN_MAX) |
@@ -611,11 +621,22 @@ struct winsize { | |||
611 | 621 | ||
612 | #endif | 622 | #endif |
613 | 623 | ||
624 | #ifndef UT_LINESIZE | ||
625 | # define UT_LINESIZE 8 | ||
626 | #endif | ||
627 | |||
614 | /* I hope that the presence of LASTLOG_FILE is enough to detect this */ | 628 | /* I hope that the presence of LASTLOG_FILE is enough to detect this */ |
615 | #if defined(LASTLOG_FILE) && !defined(DISABLE_LASTLOG) | 629 | #if defined(LASTLOG_FILE) && !defined(DISABLE_LASTLOG) |
616 | # define USE_LASTLOG | 630 | # define USE_LASTLOG |
617 | #endif | 631 | #endif |
618 | 632 | ||
633 | #ifdef HAVE_OSF_SIA | ||
634 | # ifdef USE_SHADOW | ||
635 | # undef USE_SHADOW | ||
636 | # endif | ||
637 | # define CUSTOM_SYS_AUTH_PASSWD 1 | ||
638 | #endif | ||
639 | |||
619 | /** end of login recorder definitions */ | 640 | /** end of login recorder definitions */ |
620 | 641 | ||
621 | #endif /* _DEFINES_H */ | 642 | #endif /* _DEFINES_H */ |
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: dh.c,v 1.26 2003/12/16 15:51:54 markus Exp $"); | 26 | RCSID("$OpenBSD: dh.c,v 1.29 2004/02/27 22:49:27 dtucker Exp $"); |
27 | 27 | ||
28 | #include "xmalloc.h" | 28 | #include "xmalloc.h" |
29 | 29 | ||
@@ -91,6 +91,9 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg) | |||
91 | if (BN_num_bits(dhg->p) != dhg->size) | 91 | if (BN_num_bits(dhg->p) != dhg->size) |
92 | goto failclean; | 92 | goto failclean; |
93 | 93 | ||
94 | if (BN_is_zero(dhg->g) || BN_is_one(dhg->g)) | ||
95 | goto failclean; | ||
96 | |||
94 | return (1); | 97 | return (1); |
95 | 98 | ||
96 | failclean: | 99 | failclean: |
@@ -105,7 +108,7 @@ DH * | |||
105 | choose_dh(int min, int wantbits, int max) | 108 | choose_dh(int min, int wantbits, int max) |
106 | { | 109 | { |
107 | FILE *f; | 110 | FILE *f; |
108 | char line[2048]; | 111 | char line[4096]; |
109 | int best, bestcount, which; | 112 | int best, bestcount, which; |
110 | int linenum; | 113 | int linenum; |
111 | struct dhgroup dhg; | 114 | struct dhgroup dhg; |
@@ -194,7 +197,7 @@ dh_pub_is_valid(DH *dh, BIGNUM *dh_pub) | |||
194 | void | 197 | void |
195 | dh_gen_key(DH *dh, int need) | 198 | dh_gen_key(DH *dh, int need) |
196 | { | 199 | { |
197 | int i, bits_set = 0, tries = 0; | 200 | int i, bits_set, tries = 0; |
198 | 201 | ||
199 | if (dh->p == NULL) | 202 | if (dh->p == NULL) |
200 | fatal("dh_gen_key: dh->p == NULL"); | 203 | fatal("dh_gen_key: dh->p == NULL"); |
@@ -211,7 +214,7 @@ dh_gen_key(DH *dh, int need) | |||
211 | fatal("dh_gen_key: BN_rand failed"); | 214 | fatal("dh_gen_key: BN_rand failed"); |
212 | if (DH_generate_key(dh) == 0) | 215 | if (DH_generate_key(dh) == 0) |
213 | fatal("DH_generate_key"); | 216 | fatal("DH_generate_key"); |
214 | for (i = 0; i <= BN_num_bits(dh->priv_key); i++) | 217 | for (i = 0, bits_set = 0; i <= BN_num_bits(dh->priv_key); i++) |
215 | if (BN_is_bit_set(dh->priv_key, i)) | 218 | if (BN_is_bit_set(dh->priv_key, i)) |
216 | bits_set++; | 219 | bits_set++; |
217 | debug2("dh_gen_key: priv key bits set: %d/%d", | 220 | debug2("dh_gen_key: priv key bits set: %d/%d", |
diff --git a/gss-serv-krb5.c b/gss-serv-krb5.c index 8ba3e7182..4e3598ead 100644 --- a/gss-serv-krb5.c +++ b/gss-serv-krb5.c | |||
@@ -65,7 +65,9 @@ ssh_gssapi_krb5_init() | |||
65 | logit("Cannot initialize krb5 context"); | 65 | logit("Cannot initialize krb5 context"); |
66 | return 0; | 66 | return 0; |
67 | } | 67 | } |
68 | #ifdef KRB5_INIT_ETS | ||
68 | krb5_init_ets(krb_context); | 69 | krb5_init_ets(krb_context); |
70 | #endif | ||
69 | 71 | ||
70 | return 1; | 72 | return 1; |
71 | } | 73 | } |
diff --git a/loginrec.c b/loginrec.c index 71dbaea15..b74d412e6 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -158,7 +158,7 @@ | |||
158 | #include "log.h" | 158 | #include "log.h" |
159 | #include "atomicio.h" | 159 | #include "atomicio.h" |
160 | 160 | ||
161 | RCSID("$Id: loginrec.c,v 1.54 2004/02/10 05:49:35 dtucker Exp $"); | 161 | RCSID("$Id: loginrec.c,v 1.56 2004/04/08 06:16:06 dtucker Exp $"); |
162 | 162 | ||
163 | #ifdef HAVE_UTIL_H | 163 | #ifdef HAVE_UTIL_H |
164 | # include <util.h> | 164 | # include <util.h> |
@@ -1354,7 +1354,7 @@ static int | |||
1354 | syslogin_perform_logout(struct logininfo *li) | 1354 | syslogin_perform_logout(struct logininfo *li) |
1355 | { | 1355 | { |
1356 | # ifdef HAVE_LOGOUT | 1356 | # ifdef HAVE_LOGOUT |
1357 | char line[8]; | 1357 | char line[UT_LINESIZE]; |
1358 | 1358 | ||
1359 | (void)line_stripname(line, li->line, sizeof(line)); | 1359 | (void)line_stripname(line, li->line, sizeof(line)); |
1360 | 1360 | ||
@@ -37,7 +37,13 @@ RCSID("$OpenBSD: monitor.c,v 1.55 2004/02/05 05:37:17 dtucker Exp $"); | |||
37 | #include "auth.h" | 37 | #include "auth.h" |
38 | #include "kex.h" | 38 | #include "kex.h" |
39 | #include "dh.h" | 39 | #include "dh.h" |
40 | #ifdef TARGET_OS_MAC /* XXX Broken krb5 headers on Mac */ | ||
41 | #undef TARGET_OS_MAC | ||
40 | #include "zlib.h" | 42 | #include "zlib.h" |
43 | #define TARGET_OS_MAC 1 | ||
44 | #else | ||
45 | #include "zlib.h" | ||
46 | #endif | ||
41 | #include "packet.h" | 47 | #include "packet.h" |
42 | #include "auth-options.h" | 48 | #include "auth-options.h" |
43 | #include "sshpty.h" | 49 | #include "sshpty.h" |
@@ -738,7 +744,8 @@ mm_answer_skeyquery(int socket, Buffer *m) | |||
738 | char challenge[1024]; | 744 | char challenge[1024]; |
739 | u_int success; | 745 | u_int success; |
740 | 746 | ||
741 | success = skeychallenge(&skey, authctxt->user, challenge) < 0 ? 0 : 1; | 747 | success = _compat_skeychallenge(&skey, authctxt->user, challenge, |
748 | sizeof(challenge)) < 0 ? 0 : 1; | ||
742 | 749 | ||
743 | buffer_clear(m); | 750 | buffer_clear(m); |
744 | buffer_put_int(m, success); | 751 | buffer_put_int(m, success); |
diff --git a/monitor_wrap.c b/monitor_wrap.c index b1b1c3a61..ee2dc2027 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c | |||
@@ -40,7 +40,13 @@ RCSID("$OpenBSD: monitor_wrap.c,v 1.35 2003/11/17 11:06:07 markus Exp $"); | |||
40 | #include "packet.h" | 40 | #include "packet.h" |
41 | #include "mac.h" | 41 | #include "mac.h" |
42 | #include "log.h" | 42 | #include "log.h" |
43 | #ifdef TARGET_OS_MAC /* XXX Broken krb5 headers on Mac */ | ||
44 | #undef TARGET_OS_MAC | ||
43 | #include "zlib.h" | 45 | #include "zlib.h" |
46 | #define TARGET_OS_MAC 1 | ||
47 | #else | ||
48 | #include "zlib.h" | ||
49 | #endif | ||
44 | #include "monitor.h" | 50 | #include "monitor.h" |
45 | #include "monitor_wrap.h" | 51 | #include "monitor_wrap.h" |
46 | #include "xmalloc.h" | 52 | #include "xmalloc.h" |
diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c index a87cf3c97..92cdba6e0 100644 --- a/openbsd-compat/bsd-cygwin_util.c +++ b/openbsd-compat/bsd-cygwin_util.c | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | #include "includes.h" | 30 | #include "includes.h" |
31 | 31 | ||
32 | RCSID("$Id: bsd-cygwin_util.c,v 1.11 2003/08/07 06:23:43 dtucker Exp $"); | 32 | RCSID("$Id: bsd-cygwin_util.c,v 1.12 2004/04/18 11:15:45 djm Exp $"); |
33 | 33 | ||
34 | #ifdef HAVE_CYGWIN | 34 | #ifdef HAVE_CYGWIN |
35 | 35 | ||
@@ -77,6 +77,7 @@ binary_pipe(int fd[2]) | |||
77 | 77 | ||
78 | #define HAS_CREATE_TOKEN 1 | 78 | #define HAS_CREATE_TOKEN 1 |
79 | #define HAS_NTSEC_BY_DEFAULT 2 | 79 | #define HAS_NTSEC_BY_DEFAULT 2 |
80 | #define HAS_CREATE_TOKEN_WO_NTSEC 3 | ||
80 | 81 | ||
81 | static int | 82 | static int |
82 | has_capability(int what) | 83 | has_capability(int what) |
@@ -84,6 +85,7 @@ has_capability(int what) | |||
84 | static int inited; | 85 | static int inited; |
85 | static int has_create_token; | 86 | static int has_create_token; |
86 | static int has_ntsec_by_default; | 87 | static int has_ntsec_by_default; |
88 | static int has_create_token_wo_ntsec; | ||
87 | 89 | ||
88 | /* | 90 | /* |
89 | * has_capability() basically calls uname() and checks if | 91 | * has_capability() basically calls uname() and checks if |
@@ -113,6 +115,9 @@ has_capability(int what) | |||
113 | has_create_token = 1; | 115 | has_create_token = 1; |
114 | if (api_major_version > 0 || api_minor_version >= 56) | 116 | if (api_major_version > 0 || api_minor_version >= 56) |
115 | has_ntsec_by_default = 1; | 117 | has_ntsec_by_default = 1; |
118 | if (major_high > 1 || | ||
119 | (major_high == 1 && major_low >= 5)) | ||
120 | has_create_token_wo_ntsec = 1; | ||
116 | inited = 1; | 121 | inited = 1; |
117 | } | 122 | } |
118 | } | 123 | } |
@@ -121,6 +126,8 @@ has_capability(int what) | |||
121 | return (has_create_token); | 126 | return (has_create_token); |
122 | case HAS_NTSEC_BY_DEFAULT: | 127 | case HAS_NTSEC_BY_DEFAULT: |
123 | return (has_ntsec_by_default); | 128 | return (has_ntsec_by_default); |
129 | case HAS_CREATE_TOKEN_WO_NTSEC: | ||
130 | return (has_create_token_wo_ntsec); | ||
124 | } | 131 | } |
125 | return (0); | 132 | return (0); |
126 | } | 133 | } |
@@ -151,7 +158,8 @@ check_nt_auth(int pwd_authenticated, struct passwd *pw) | |||
151 | if (has_capability(HAS_CREATE_TOKEN) && | 158 | if (has_capability(HAS_CREATE_TOKEN) && |
152 | (ntsec_on(cygwin) || | 159 | (ntsec_on(cygwin) || |
153 | (has_capability(HAS_NTSEC_BY_DEFAULT) && | 160 | (has_capability(HAS_NTSEC_BY_DEFAULT) && |
154 | !ntsec_off(cygwin)))) | 161 | !ntsec_off(cygwin)) || |
162 | has_capability(HAS_CREATE_TOKEN_WO_NTSEC))) | ||
155 | has_create_token = 1; | 163 | has_create_token = 1; |
156 | } | 164 | } |
157 | if (has_create_token < 1 && | 165 | if (has_create_token < 1 && |
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index c8073942c..009739b14 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: bsd-misc.h,v 1.14 2004/02/17 05:49:55 djm Exp $ */ | 1 | /* $Id: bsd-misc.h,v 1.15 2004/03/08 11:59:03 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org> | 4 | * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org> |
@@ -89,6 +89,10 @@ pid_t tcgetpgrp(int); | |||
89 | int tcsendbreak(int, int); | 89 | int tcsendbreak(int, int); |
90 | #endif | 90 | #endif |
91 | 91 | ||
92 | #ifndef HAVE_UNSETENV | ||
93 | void unsetenv(const char *); | ||
94 | #endif | ||
95 | |||
92 | /* wrapper for signal interface */ | 96 | /* wrapper for signal interface */ |
93 | typedef void (*mysig_t)(int); | 97 | typedef void (*mysig_t)(int); |
94 | mysig_t mysignal(int sig, mysig_t act); | 98 | mysig_t mysignal(int sig, mysig_t act); |
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h index eb88605fa..baea07038 100644 --- a/openbsd-compat/fake-rfc2553.h +++ b/openbsd-compat/fake-rfc2553.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: fake-rfc2553.h,v 1.8 2004/02/10 02:05:41 dtucker Exp $ */ | 1 | /* $Id: fake-rfc2553.h,v 1.9 2004/03/10 10:06:33 dtucker 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. |
@@ -133,6 +133,9 @@ struct addrinfo { | |||
133 | #endif /* !HAVE_STRUCT_ADDRINFO */ | 133 | #endif /* !HAVE_STRUCT_ADDRINFO */ |
134 | 134 | ||
135 | #ifndef HAVE_GETADDRINFO | 135 | #ifndef HAVE_GETADDRINFO |
136 | #ifdef getaddrinfo | ||
137 | # undef getaddrinfo | ||
138 | #endif | ||
136 | #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) | 139 | #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) |
137 | int getaddrinfo(const char *, const char *, | 140 | int getaddrinfo(const char *, const char *, |
138 | const struct addrinfo *, struct addrinfo **); | 141 | const struct addrinfo *, struct addrinfo **); |
diff --git a/openbsd-compat/setenv.c b/openbsd-compat/setenv.c index b7ba0ce83..c3a86c651 100644 --- a/openbsd-compat/setenv.c +++ b/openbsd-compat/setenv.c | |||
@@ -30,7 +30,7 @@ | |||
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include "includes.h" | 32 | #include "includes.h" |
33 | #ifndef HAVE_SETENV | 33 | #if !defined(HAVE_SETENV) || !defined(HAVE_UNSETENV) |
34 | 34 | ||
35 | #if defined(LIBC_SCCS) && !defined(lint) | 35 | #if defined(LIBC_SCCS) && !defined(lint) |
36 | static char *rcsid = "$OpenBSD: setenv.c,v 1.6 2003/06/02 20:18:38 millert Exp $"; | 36 | static char *rcsid = "$OpenBSD: setenv.c,v 1.6 2003/06/02 20:18:38 millert Exp $"; |
@@ -77,6 +77,7 @@ __findenv(name, offset) | |||
77 | return (NULL); | 77 | return (NULL); |
78 | } | 78 | } |
79 | 79 | ||
80 | #ifndef HAVE_SETENV | ||
80 | /* | 81 | /* |
81 | * setenv -- | 82 | * setenv -- |
82 | * Set the value of the environmental variable "name" to be | 83 | * Set the value of the environmental variable "name" to be |
@@ -138,7 +139,9 @@ setenv(name, value, rewrite) | |||
138 | ; | 139 | ; |
139 | return (0); | 140 | return (0); |
140 | } | 141 | } |
142 | #endif /* HAVE_SETENV */ | ||
141 | 143 | ||
144 | #ifndef HAVE_UNSETENV | ||
142 | /* | 145 | /* |
143 | * unsetenv(name) -- | 146 | * unsetenv(name) -- |
144 | * Delete environmental variable "name". | 147 | * Delete environmental variable "name". |
@@ -157,5 +160,6 @@ unsetenv(name) | |||
157 | if (!(*P = *(P + 1))) | 160 | if (!(*P = *(P + 1))) |
158 | break; | 161 | break; |
159 | } | 162 | } |
163 | #endif /* HAVE_UNSETENV */ | ||
160 | 164 | ||
161 | #endif /* HAVE_SETENV */ | 165 | #endif /* !defined(HAVE_SETENV) || !defined(HAVE_UNSETENV) */ |
diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c index a0fe6c620..c3cea3c86 100644 --- a/openbsd-compat/xcrypt.c +++ b/openbsd-compat/xcrypt.c | |||
@@ -24,8 +24,6 @@ | |||
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | 26 | ||
27 | #if !defined(HAVE_OSF_SIA) | ||
28 | |||
29 | # ifdef HAVE_CRYPT_H | 27 | # ifdef HAVE_CRYPT_H |
30 | # include <crypt.h> | 28 | # include <crypt.h> |
31 | # endif | 29 | # endif |
@@ -108,5 +106,3 @@ shadow_pw(struct passwd *pw) | |||
108 | 106 | ||
109 | return pw_password; | 107 | return pw_password; |
110 | } | 108 | } |
111 | |||
112 | #endif /* !defined(HAVE_OSF_SIA) */ | ||
diff --git a/readconf.c b/readconf.c index dfd83c1b9..2b8ff58d6 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: readconf.c,v 1.127 2003/12/16 15:49:51 markus Exp $"); | 15 | RCSID("$OpenBSD: readconf.c,v 1.128 2004/03/05 10:53:58 markus Exp $"); |
16 | 16 | ||
17 | #include "ssh.h" | 17 | #include "ssh.h" |
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
@@ -105,7 +105,7 @@ typedef enum { | |||
105 | oClearAllForwardings, oNoHostAuthenticationForLocalhost, | 105 | oClearAllForwardings, oNoHostAuthenticationForLocalhost, |
106 | oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, | 106 | oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout, |
107 | oAddressFamily, oGssAuthentication, oGssDelegateCreds, | 107 | oAddressFamily, oGssAuthentication, oGssDelegateCreds, |
108 | oServerAliveInterval, oServerAliveCountMax, | 108 | oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, |
109 | oProtocolKeepAlives, oSetupTimeOut, | 109 | oProtocolKeepAlives, oSetupTimeOut, |
110 | oDeprecated, oUnsupported | 110 | oDeprecated, oUnsupported |
111 | } OpCodes; | 111 | } OpCodes; |
@@ -148,6 +148,7 @@ static struct { | |||
148 | { "usersh", oDeprecated }, | 148 | { "usersh", oDeprecated }, |
149 | { "identityfile", oIdentityFile }, | 149 | { "identityfile", oIdentityFile }, |
150 | { "identityfile2", oIdentityFile }, /* alias */ | 150 | { "identityfile2", oIdentityFile }, /* alias */ |
151 | { "identitiesonly", oIdentitiesOnly }, | ||
151 | { "hostname", oHostName }, | 152 | { "hostname", oHostName }, |
152 | { "hostkeyalias", oHostKeyAlias }, | 153 | { "hostkeyalias", oHostKeyAlias }, |
153 | { "proxycommand", oProxyCommand }, | 154 | { "proxycommand", oProxyCommand }, |
@@ -739,6 +740,10 @@ parse_int: | |||
739 | intptr = &options->enable_ssh_keysign; | 740 | intptr = &options->enable_ssh_keysign; |
740 | goto parse_flag; | 741 | goto parse_flag; |
741 | 742 | ||
743 | case oIdentitiesOnly: | ||
744 | intptr = &options->identities_only; | ||
745 | goto parse_flag; | ||
746 | |||
742 | case oServerAliveInterval: | 747 | case oServerAliveInterval: |
743 | case oProtocolKeepAlives: /* Debian-specific compatibility alias */ | 748 | case oProtocolKeepAlives: /* Debian-specific compatibility alias */ |
744 | intptr = &options->server_alive_interval; | 749 | intptr = &options->server_alive_interval; |
@@ -878,6 +883,7 @@ initialize_options(Options * options) | |||
878 | options->smartcard_device = NULL; | 883 | options->smartcard_device = NULL; |
879 | options->enable_ssh_keysign = - 1; | 884 | options->enable_ssh_keysign = - 1; |
880 | options->no_host_authentication_for_localhost = - 1; | 885 | options->no_host_authentication_for_localhost = - 1; |
886 | options->identities_only = - 1; | ||
881 | options->rekey_limit = - 1; | 887 | options->rekey_limit = - 1; |
882 | options->verify_host_key_dns = -1; | 888 | options->verify_host_key_dns = -1; |
883 | options->server_alive_interval = -1; | 889 | options->server_alive_interval = -1; |
@@ -990,6 +996,8 @@ fill_default_options(Options * options) | |||
990 | clear_forwardings(options); | 996 | clear_forwardings(options); |
991 | if (options->no_host_authentication_for_localhost == - 1) | 997 | if (options->no_host_authentication_for_localhost == - 1) |
992 | options->no_host_authentication_for_localhost = 0; | 998 | options->no_host_authentication_for_localhost = 0; |
999 | if (options->identities_only == -1) | ||
1000 | options->identities_only = 0; | ||
993 | if (options->enable_ssh_keysign == -1) | 1001 | if (options->enable_ssh_keysign == -1) |
994 | options->enable_ssh_keysign = 0; | 1002 | options->enable_ssh_keysign = 0; |
995 | if (options->rekey_limit == -1) | 1003 | if (options->rekey_limit == -1) |
diff --git a/readconf.h b/readconf.h index 8521f85ac..97b6c2be4 100644 --- a/readconf.h +++ b/readconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.h,v 1.59 2003/12/16 15:49:51 markus Exp $ */ | 1 | /* $OpenBSD: readconf.h,v 1.60 2004/03/05 10:53:58 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -101,6 +101,7 @@ typedef struct { | |||
101 | int enable_ssh_keysign; | 101 | int enable_ssh_keysign; |
102 | int rekey_limit; | 102 | int rekey_limit; |
103 | int no_host_authentication_for_localhost; | 103 | int no_host_authentication_for_localhost; |
104 | int identities_only; | ||
104 | int server_alive_interval; | 105 | int server_alive_interval; |
105 | int server_alive_count_max; | 106 | int server_alive_count_max; |
106 | } Options; | 107 | } Options; |
diff --git a/regress/Makefile b/regress/Makefile index 76e28d36d..cf65b3630 100644 --- a/regress/Makefile +++ b/regress/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.26 2003/10/11 11:49:49 dtucker Exp $ | 1 | # $OpenBSD: Makefile,v 1.27 2004/02/17 08:23:20 dtucker Exp $ |
2 | 2 | ||
3 | REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t-exec | 3 | REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t-exec |
4 | tests: $(REGRESS_TARGETS) | 4 | tests: $(REGRESS_TARGETS) |
@@ -21,6 +21,7 @@ LTESTS= connect \ | |||
21 | broken-pipe \ | 21 | broken-pipe \ |
22 | try-ciphers \ | 22 | try-ciphers \ |
23 | yes-head \ | 23 | yes-head \ |
24 | login-timeout \ | ||
24 | agent \ | 25 | agent \ |
25 | agent-getpeereid \ | 26 | agent-getpeereid \ |
26 | agent-timeout \ | 27 | agent-timeout \ |
diff --git a/regress/README.regress b/regress/README.regress index b479c6c07..6ff032b68 100644 --- a/regress/README.regress +++ b/regress/README.regress | |||
@@ -90,5 +90,8 @@ Known Issues. | |||
90 | fail (because it's not a tcp socket) and will be identified as | 90 | fail (because it's not a tcp socket) and will be identified as |
91 | "unknown", which is then checked against tcpwrappers. | 91 | "unknown", which is then checked against tcpwrappers. |
92 | 92 | ||
93 | - If your build requires ssh-rand-helper regress tests will fail | ||
94 | unless ssh-rand-helper is in pre-installed (the path to | ||
95 | ssh-rand-helper is hard coded). | ||
93 | 96 | ||
94 | $Id: README.regress,v 1.3 2004/01/28 01:26:14 dtucker Exp $ | 97 | $Id: README.regress,v 1.4 2004/03/08 20:12:18 tim Exp $ |
diff --git a/regress/dynamic-forward.sh b/regress/dynamic-forward.sh index 2b0b825d0..3a6e5c1ef 100644 --- a/regress/dynamic-forward.sh +++ b/regress/dynamic-forward.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: dynamic-forward.sh,v 1.2 2003/07/03 08:21:46 markus Exp $ | 1 | # $OpenBSD: dynamic-forward.sh,v 1.3 2004/02/28 12:16:57 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="dynamic forwarding" | 4 | tid="dynamic forwarding" |
@@ -7,7 +7,7 @@ PORT=4242 | |||
7 | FWDPORT=4243 | 7 | FWDPORT=4243 |
8 | DATA=/bin/ls${EXEEXT} | 8 | DATA=/bin/ls${EXEEXT} |
9 | 9 | ||
10 | if have_prog nc && nc -h 2>&1 | grep "x proxy address" >/dev/null; then | 10 | if have_prog nc && nc -h 2>&1 | grep "proxy address" >/dev/null; then |
11 | proxycmd="nc -x 127.0.0.1:$FWDPORT -X" | 11 | proxycmd="nc -x 127.0.0.1:$FWDPORT -X" |
12 | elif have_prog connect; then | 12 | elif have_prog connect; then |
13 | proxycmd="connect -S 127.0.0.1:$FWDPORT -" | 13 | proxycmd="connect -S 127.0.0.1:$FWDPORT -" |
diff --git a/regress/login-timeout.sh b/regress/login-timeout.sh new file mode 100644 index 000000000..dfc6e6b44 --- /dev/null +++ b/regress/login-timeout.sh | |||
@@ -0,0 +1,29 @@ | |||
1 | # $OpenBSD: login-timeout.sh,v 1.1 2004/02/17 08:23:20 dtucker Exp $ | ||
2 | # Placed in the Public Domain. | ||
3 | |||
4 | tid="connect after login grace timeout" | ||
5 | |||
6 | trace "test login grace with privsep" | ||
7 | echo "LoginGraceTime 10s" >> $OBJ/sshd_config | ||
8 | echo "MaxStartups 1" >> $OBJ/sshd_config | ||
9 | start_sshd | ||
10 | |||
11 | (echo SSH-2.0-fake; sleep 60) | telnet localhost ${PORT} >/dev/null 2>&1 & | ||
12 | sleep 15 | ||
13 | ${SSH} -F $OBJ/ssh_config somehost true | ||
14 | if [ $? -ne 0 ]; then | ||
15 | fail "ssh connect after login grace timeout failed with privsep" | ||
16 | fi | ||
17 | |||
18 | kill `cat $PIDFILE` | ||
19 | |||
20 | trace "test login grace without privsep" | ||
21 | echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config | ||
22 | start_sshd | ||
23 | |||
24 | (echo SSH-2.0-fake; sleep 60) | telnet localhost ${PORT} >/dev/null 2>&1 & | ||
25 | sleep 15 | ||
26 | ${SSH} -F $OBJ/ssh_config somehost true | ||
27 | if [ $? -ne 0 ]; then | ||
28 | fail "ssh connect after login grace timeout failed without privsep" | ||
29 | fi | ||
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh index 3669b19ff..31b21d1f2 100644 --- a/regress/sftp-cmds.sh +++ b/regress/sftp-cmds.sh | |||
@@ -85,6 +85,7 @@ echo "get \"$DATA\" $COPY" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ | |||
85 | || fail "get failed" | 85 | || fail "get failed" |
86 | cmp $DATA ${COPY} || fail "corrupted copy after get" | 86 | cmp $DATA ${COPY} || fail "corrupted copy after get" |
87 | 87 | ||
88 | if [ "$os" != "cygwin" ]; then | ||
88 | rm -f ${QUOTECOPY} | 89 | rm -f ${QUOTECOPY} |
89 | cp $DATA ${QUOTECOPY} | 90 | cp $DATA ${QUOTECOPY} |
90 | verbose "$tid: get filename with quotes" | 91 | verbose "$tid: get filename with quotes" |
@@ -92,6 +93,7 @@ echo "get \"$QUOTECOPY_ARG\" ${COPY}" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 | |||
92 | || fail "put failed" | 93 | || fail "put failed" |
93 | cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes" | 94 | cmp ${COPY} ${QUOTECOPY} || fail "corrupted copy after get with quotes" |
94 | rm -f ${QUOTECOPY} ${COPY} | 95 | rm -f ${QUOTECOPY} ${COPY} |
96 | fi | ||
95 | 97 | ||
96 | rm -f ${COPY}.dd/* | 98 | rm -f ${COPY}.dd/* |
97 | verbose "$tid: get to directory" | 99 | verbose "$tid: get to directory" |
diff --git a/regress/ssh-com-client.sh b/regress/ssh-com-client.sh index fc953228e..324a0a723 100644 --- a/regress/ssh-com-client.sh +++ b/regress/ssh-com-client.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: ssh-com-client.sh,v 1.5 2003/05/14 22:08:27 markus Exp $ | 1 | # $OpenBSD: ssh-com-client.sh,v 1.6 2004/02/24 17:06:52 markus Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="connect with ssh.com client" | 4 | tid="connect with ssh.com client" |
@@ -19,6 +19,9 @@ VERSIONS=" | |||
19 | 3.2.0 | 19 | 3.2.0 |
20 | 3.2.2 | 20 | 3.2.2 |
21 | 3.2.3 | 21 | 3.2.3 |
22 | 3.2.5 | ||
23 | 3.2.9 | ||
24 | 3.2.9.1 | ||
22 | 3.3.0" | 25 | 3.3.0" |
23 | 26 | ||
24 | # 2.0.10 2.0.12 2.0.13 don't like the test setup | 27 | # 2.0.10 2.0.12 2.0.13 don't like the test setup |
diff --git a/regress/ssh-com-keygen.sh b/regress/ssh-com-keygen.sh index dbe9b0a6b..29b02d946 100644 --- a/regress/ssh-com-keygen.sh +++ b/regress/ssh-com-keygen.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: ssh-com-keygen.sh,v 1.3 2003/05/14 22:08:27 markus Exp $ | 1 | # $OpenBSD: ssh-com-keygen.sh,v 1.4 2004/02/24 17:06:52 markus Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="ssh.com key import" | 4 | tid="ssh.com key import" |
@@ -22,6 +22,9 @@ VERSIONS=" | |||
22 | 3.2.0 | 22 | 3.2.0 |
23 | 3.2.2 | 23 | 3.2.2 |
24 | 3.2.3 | 24 | 3.2.3 |
25 | 3.2.5 | ||
26 | 3.2.9 | ||
27 | 3.2.9.1 | ||
25 | 3.3.0" | 28 | 3.3.0" |
26 | 29 | ||
27 | COMPRV=${OBJ}/comkey | 30 | COMPRV=${OBJ}/comkey |
diff --git a/regress/ssh-com-sftp.sh b/regress/ssh-com-sftp.sh index 6ca7dad51..936b4cca7 100644 --- a/regress/ssh-com-sftp.sh +++ b/regress/ssh-com-sftp.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: ssh-com-sftp.sh,v 1.4 2003/05/14 22:08:27 markus Exp $ | 1 | # $OpenBSD: ssh-com-sftp.sh,v 1.5 2004/02/24 17:06:52 markus Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="basic sftp put/get with ssh.com server" | 4 | tid="basic sftp put/get with ssh.com server" |
@@ -35,6 +35,9 @@ VERSIONS=" | |||
35 | 3.2.0 | 35 | 3.2.0 |
36 | 3.2.2 | 36 | 3.2.2 |
37 | 3.2.3 | 37 | 3.2.3 |
38 | 3.2.5 | ||
39 | 3.2.9 | ||
40 | 3.2.9.1 | ||
38 | 3.3.0" | 41 | 3.3.0" |
39 | 42 | ||
40 | # go for it | 43 | # go for it |
diff --git a/regress/ssh-com.sh b/regress/ssh-com.sh index c3715a242..7bcd85b65 100644 --- a/regress/ssh-com.sh +++ b/regress/ssh-com.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: ssh-com.sh,v 1.6 2003/11/07 10:16:44 jmc Exp $ | 1 | # $OpenBSD: ssh-com.sh,v 1.7 2004/02/24 17:06:52 markus Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="connect to ssh.com server" | 4 | tid="connect to ssh.com server" |
@@ -20,6 +20,9 @@ VERSIONS=" | |||
20 | 3.2.0 | 20 | 3.2.0 |
21 | 3.2.2 | 21 | 3.2.2 |
22 | 3.2.3 | 22 | 3.2.3 |
23 | 3.2.5 | ||
24 | 3.2.9 | ||
25 | 3.2.9.1 | ||
23 | 3.3.0" | 26 | 3.3.0" |
24 | # 2.0.10 does not support UserConfigDirectory | 27 | # 2.0.10 does not support UserConfigDirectory |
25 | # 2.3.1 requires a config in $HOME/.ssh2 | 28 | # 2.3.1 requires a config in $HOME/.ssh2 |
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 98851dc97..986d99287 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: test-exec.sh,v 1.14 2002/04/15 15:19:48 markus Exp $ | 1 | # $OpenBSD: test-exec.sh,v 1.15 2004/02/24 16:56:30 markus Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | PORT=4242 | 4 | PORT=4242 |
@@ -49,28 +49,28 @@ SFTP=sftp | |||
49 | SFTPSERVER=/usr/libexec/openssh/sftp-server | 49 | SFTPSERVER=/usr/libexec/openssh/sftp-server |
50 | 50 | ||
51 | if [ "x$TEST_SSH_SSH" != "x" ]; then | 51 | if [ "x$TEST_SSH_SSH" != "x" ]; then |
52 | SSH=${TEST_SSH_SSH} | 52 | SSH="${TEST_SSH_SSH}" |
53 | fi | 53 | fi |
54 | if [ "x$TEST_SSH_SSHD" != "x" ]; then | 54 | if [ "x$TEST_SSH_SSHD" != "x" ]; then |
55 | SSHD=${TEST_SSH_SSHD} | 55 | SSHD="${TEST_SSH_SSHD}" |
56 | fi | 56 | fi |
57 | if [ "x$TEST_SSH_SSHAGENT" != "x" ]; then | 57 | if [ "x$TEST_SSH_SSHAGENT" != "x" ]; then |
58 | SSHAGENT=${TEST_SSH_SSHAGENT} | 58 | SSHAGENT="${TEST_SSH_SSHAGENT}" |
59 | fi | 59 | fi |
60 | if [ "x$TEST_SSH_SSHADD" != "x" ]; then | 60 | if [ "x$TEST_SSH_SSHADD" != "x" ]; then |
61 | SSHADD=${TEST_SSH_SSHADD} | 61 | SSHADD="${TEST_SSH_SSHADD}" |
62 | fi | 62 | fi |
63 | if [ "x$TEST_SSH_SSHKEYGEN" != "x" ]; then | 63 | if [ "x$TEST_SSH_SSHKEYGEN" != "x" ]; then |
64 | SSHKEYGEN=${TEST_SSH_SSHKEYGEN} | 64 | SSHKEYGEN="${TEST_SSH_SSHKEYGEN}" |
65 | fi | 65 | fi |
66 | if [ "x$TEST_SSH_SSHKEYSCAN" != "x" ]; then | 66 | if [ "x$TEST_SSH_SSHKEYSCAN" != "x" ]; then |
67 | SSHKEYSCAN=${TEST_SSH_SSHKEYSCAN} | 67 | SSHKEYSCAN="${TEST_SSH_SSHKEYSCAN}" |
68 | fi | 68 | fi |
69 | if [ "x$TEST_SSH_SFTP" != "x" ]; then | 69 | if [ "x$TEST_SSH_SFTP" != "x" ]; then |
70 | SFTP=${TEST_SSH_SFTP} | 70 | SFTP="${TEST_SSH_SFTP}" |
71 | fi | 71 | fi |
72 | if [ "x$TEST_SSH_SFTPSERVER" != "x" ]; then | 72 | if [ "x$TEST_SSH_SFTPSERVER" != "x" ]; then |
73 | SFTPSERVER=${TEST_SSH_SFTPSERVER} | 73 | SFTPSERVER="${TEST_SSH_SFTPSERVER}" |
74 | fi | 74 | fi |
75 | 75 | ||
76 | # these should be used in tests | 76 | # these should be used in tests |
diff --git a/regress/try-ciphers.sh b/regress/try-ciphers.sh index 2c727f66c..15827e250 100644 --- a/regress/try-ciphers.sh +++ b/regress/try-ciphers.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: try-ciphers.sh,v 1.8 2003/06/12 15:40:01 markus Exp $ | 1 | # $OpenBSD: try-ciphers.sh,v 1.9 2004/02/28 13:44:45 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="try ciphers" | 4 | tid="try ciphers" |
@@ -28,3 +28,19 @@ for c in $ciphers; do | |||
28 | fail "ssh -1 failed with cipher $c" | 28 | fail "ssh -1 failed with cipher $c" |
29 | fi | 29 | fi |
30 | done | 30 | done |
31 | |||
32 | if ! ${SSH} -oCiphers=acss@openssh.org 2>&1 | grep "Bad SSH2 cipher" >/dev/null | ||
33 | then | ||
34 | |||
35 | echo "Ciphers acss@openssh.org" >> $OBJ/sshd_proxy | ||
36 | c=acss@openssh.org | ||
37 | for m in $macs; do | ||
38 | trace "proto 2 $c mac $m" | ||
39 | verbose "test $tid: proto 2 cipher $c mac $m" | ||
40 | ${SSH} -F $OBJ/ssh_proxy -2 -m $m -c $c somehost true | ||
41 | if [ $? -ne 0 ]; then | ||
42 | fail "ssh -2 failed with mac $m cipher $c" | ||
43 | fi | ||
44 | done | ||
45 | |||
46 | fi | ||
@@ -77,6 +77,7 @@ DESCRIPTION | |||
77 | HostKeyAlias | 77 | HostKeyAlias |
78 | HostName | 78 | HostName |
79 | IdentityFile | 79 | IdentityFile |
80 | IdentitiesOnly | ||
80 | LogLevel | 81 | LogLevel |
81 | MACs | 82 | MACs |
82 | NoHostAuthenticationForLocalhost | 83 | NoHostAuthenticationForLocalhost |
@@ -135,4 +136,4 @@ AUTHORS | |||
135 | Timo Rinne <tri@iki.fi> | 136 | Timo Rinne <tri@iki.fi> |
136 | Tatu Ylonen <ylo@cs.hut.fi> | 137 | Tatu Ylonen <ylo@cs.hut.fi> |
137 | 138 | ||
138 | OpenBSD 3.4 September 25, 1999 3 | 139 | OpenBSD 3.5 September 25, 1999 3 |
@@ -9,7 +9,7 @@ | |||
9 | .\" | 9 | .\" |
10 | .\" Created: Sun May 7 00:14:37 1995 ylo | 10 | .\" Created: Sun May 7 00:14:37 1995 ylo |
11 | .\" | 11 | .\" |
12 | .\" $OpenBSD: scp.1,v 1.32 2003/12/16 15:49:51 markus Exp $ | 12 | .\" $OpenBSD: scp.1,v 1.33 2004/03/05 10:53:58 markus Exp $ |
13 | .\" | 13 | .\" |
14 | .Dd September 25, 1999 | 14 | .Dd September 25, 1999 |
15 | .Dt SCP 1 | 15 | .Dt SCP 1 |
@@ -137,6 +137,7 @@ For full details of the options listed below, and their possible values, see | |||
137 | .It HostKeyAlias | 137 | .It HostKeyAlias |
138 | .It HostName | 138 | .It HostName |
139 | .It IdentityFile | 139 | .It IdentityFile |
140 | .It IdentitiesOnly | ||
140 | .It LogLevel | 141 | .It LogLevel |
141 | .It MACs | 142 | .It MACs |
142 | .It NoHostAuthenticationForLocalhost | 143 | .It NoHostAuthenticationForLocalhost |
@@ -201,6 +201,7 @@ display_loginmsg(void) | |||
201 | printf("%s\n", (char *)buffer_ptr(&loginmsg)); | 201 | printf("%s\n", (char *)buffer_ptr(&loginmsg)); |
202 | buffer_clear(&loginmsg); | 202 | buffer_clear(&loginmsg); |
203 | } | 203 | } |
204 | fflush(stdout); | ||
204 | } | 205 | } |
205 | 206 | ||
206 | void | 207 | void |
@@ -492,6 +493,13 @@ do_exec_no_pty(Session *s, const char *command) | |||
492 | close(err[0]); | 493 | close(err[0]); |
493 | 494 | ||
494 | /* | 495 | /* |
496 | * Clear loginmsg, since it's the child's responsibility to display | ||
497 | * it to the user, otherwise multiple sessions may accumulate | ||
498 | * multiple copies of the login messages. | ||
499 | */ | ||
500 | buffer_clear(&loginmsg); | ||
501 | |||
502 | /* | ||
495 | * Enter the interactive session. Note: server_loop must be able to | 503 | * Enter the interactive session. Note: server_loop must be able to |
496 | * handle the case that fdin and fdout are the same. | 504 | * handle the case that fdin and fdout are the same. |
497 | */ | 505 | */ |
@@ -1085,9 +1093,9 @@ do_setup_env(Session *s, const char *shell) | |||
1085 | } | 1093 | } |
1086 | #endif | 1094 | #endif |
1087 | #ifdef KRB5 | 1095 | #ifdef KRB5 |
1088 | if (s->authctxt->krb5_ticket_file) | 1096 | if (s->authctxt->krb5_ccname) |
1089 | child_set_env(&env, &envsize, "KRB5CCNAME", | 1097 | child_set_env(&env, &envsize, "KRB5CCNAME", |
1090 | s->authctxt->krb5_ticket_file); | 1098 | s->authctxt->krb5_ccname); |
1091 | #endif | 1099 | #endif |
1092 | #ifdef USE_PAM | 1100 | #ifdef USE_PAM |
1093 | /* | 1101 | /* |
diff --git a/sftp-client.c b/sftp-client.c index 81c5dd497..781d9827a 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -20,7 +20,7 @@ | |||
20 | /* XXX: copy between two remote sites */ | 20 | /* XXX: copy between two remote sites */ |
21 | 21 | ||
22 | #include "includes.h" | 22 | #include "includes.h" |
23 | RCSID("$OpenBSD: sftp-client.c,v 1.46 2004/02/17 05:39:51 djm Exp $"); | 23 | RCSID("$OpenBSD: sftp-client.c,v 1.47 2004/03/03 09:30:42 djm Exp $"); |
24 | 24 | ||
25 | #include "openbsd-compat/sys-queue.h" | 25 | #include "openbsd-compat/sys-queue.h" |
26 | 26 | ||
@@ -805,13 +805,8 @@ do_download(struct sftp_conn *conn, char *remote_path, char *local_path, | |||
805 | max_req = 1; | 805 | max_req = 1; |
806 | progress_counter = 0; | 806 | progress_counter = 0; |
807 | 807 | ||
808 | if (showprogress) { | 808 | if (showprogress && size != 0) |
809 | if (size) | 809 | start_progress_meter(remote_path, size, &progress_counter); |
810 | start_progress_meter(remote_path, size, | ||
811 | &progress_counter); | ||
812 | else | ||
813 | printf("Fetching %s to %s\n", remote_path, local_path); | ||
814 | } | ||
815 | 810 | ||
816 | while (num_req > 0 || max_req > 0) { | 811 | while (num_req > 0 || max_req > 0) { |
817 | char *data; | 812 | char *data; |
@@ -1036,8 +1031,6 @@ do_upload(struct sftp_conn *conn, char *local_path, char *remote_path, | |||
1036 | offset = 0; | 1031 | offset = 0; |
1037 | if (showprogress) | 1032 | if (showprogress) |
1038 | start_progress_meter(local_path, sb.st_size, &offset); | 1033 | start_progress_meter(local_path, sb.st_size, &offset); |
1039 | else | ||
1040 | printf("Uploading %s to %s\n", local_path, remote_path); | ||
1041 | 1034 | ||
1042 | for (;;) { | 1035 | for (;;) { |
1043 | int len; | 1036 | int len; |
diff --git a/sftp-server.0 b/sftp-server.0 index dad6bda73..b18c84c3a 100644 --- a/sftp-server.0 +++ b/sftp-server.0 | |||
@@ -15,7 +15,7 @@ DESCRIPTION | |||
15 | SEE ALSO | 15 | SEE ALSO |
16 | sftp(1), ssh(1), sshd_config(5), sshd(8) | 16 | sftp(1), ssh(1), sshd_config(5), 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 | ||
21 | AUTHORS | 21 | AUTHORS |
@@ -24,4 +24,4 @@ AUTHORS | |||
24 | HISTORY | 24 | HISTORY |
25 | sftp-server first appeared in OpenBSD 2.8 . | 25 | sftp-server first appeared in OpenBSD 2.8 . |
26 | 26 | ||
27 | OpenBSD 3.4 August 30, 2000 1 | 27 | OpenBSD 3.5 August 30, 2000 1 |
@@ -82,6 +82,7 @@ DESCRIPTION | |||
82 | HostKeyAlias | 82 | HostKeyAlias |
83 | HostName | 83 | HostName |
84 | IdentityFile | 84 | IdentityFile |
85 | IdentitiesOnly | ||
85 | LogLevel | 86 | LogLevel |
86 | MACs | 87 | MACs |
87 | NoHostAuthenticationForLocalhost | 88 | NoHostAuthenticationForLocalhost |
@@ -214,7 +215,7 @@ SEE ALSO | |||
214 | ftp(1), scp(1), ssh(1), ssh-add(1), ssh-keygen(1), ssh_config(5), | 215 | ftp(1), scp(1), ssh(1), ssh-add(1), ssh-keygen(1), ssh_config(5), |
215 | sftp-server(8), sshd(8) | 216 | sftp-server(8), sshd(8) |
216 | 217 | ||
217 | T. Ylonen, and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- | 218 | T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- |
218 | filexfer-00.txt, January 2001, work in progress material. | 219 | filexfer-00.txt, January 2001, work in progress material. |
219 | 220 | ||
220 | OpenBSD 3.4 February 4, 2001 4 | 221 | OpenBSD 3.5 February 4, 2001 4 |
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: sftp.1,v 1.51 2004/01/13 12:17:33 jmc Exp $ | 1 | .\" $OpenBSD: sftp.1,v 1.52 2004/03/05 10:53:58 markus Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. | 3 | .\" Copyright (c) 2001 Damien Miller. All rights reserved. |
4 | .\" | 4 | .\" |
@@ -163,6 +163,7 @@ For full details of the options listed below, and their possible values, see | |||
163 | .It HostKeyAlias | 163 | .It HostKeyAlias |
164 | .It HostName | 164 | .It HostName |
165 | .It IdentityFile | 165 | .It IdentityFile |
166 | .It IdentitiesOnly | ||
166 | .It LogLevel | 167 | .It LogLevel |
167 | .It MACs | 168 | .It MACs |
168 | .It NoHostAuthenticationForLocalhost | 169 | .It NoHostAuthenticationForLocalhost |
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | RCSID("$OpenBSD: sftp.c,v 1.44 2004/02/17 11:03:08 djm Exp $"); | 19 | RCSID("$OpenBSD: sftp.c,v 1.45 2004/03/03 09:31:20 djm Exp $"); |
20 | 20 | ||
21 | #include "buffer.h" | 21 | #include "buffer.h" |
22 | #include "xmalloc.h" | 22 | #include "xmalloc.h" |
@@ -44,7 +44,7 @@ size_t num_requests = 16; | |||
44 | static pid_t sshpid = -1; | 44 | static pid_t sshpid = -1; |
45 | 45 | ||
46 | /* This is set to 0 if the progressmeter is not desired. */ | 46 | /* This is set to 0 if the progressmeter is not desired. */ |
47 | int showprogress; | 47 | int showprogress = 1; |
48 | 48 | ||
49 | int remote_glob(struct sftp_conn *, const char *, int, | 49 | int remote_glob(struct sftp_conn *, const char *, int, |
50 | int (*)(const char *, int), glob_t *); /* proto for sftp-glob.c */ | 50 | int (*)(const char *, int), glob_t *); /* proto for sftp-glob.c */ |
@@ -1357,6 +1357,9 @@ main(int argc, char **argv) | |||
1357 | } | 1357 | } |
1358 | } | 1358 | } |
1359 | 1359 | ||
1360 | if (!isatty(STDERR_FILENO)) | ||
1361 | showprogress = 0; | ||
1362 | |||
1360 | log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1); | 1363 | log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1); |
1361 | 1364 | ||
1362 | if (sftp_direct == NULL) { | 1365 | if (sftp_direct == NULL) { |
@@ -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 | ||
102 | OpenBSD 3.4 September 25, 1999 2 | 102 | OpenBSD 3.5 September 25, 1999 2 |
diff --git a/ssh-agent.0 b/ssh-agent.0 index 990cbc29b..8967f76a9 100644 --- a/ssh-agent.0 +++ b/ssh-agent.0 | |||
@@ -1,4 +1,4 @@ | |||
1 | SSH-AGENT(1) BSD General Commands Manual SSH-AGENT(1) | 1 | SSH-AGENT(1) OpenBSD Reference Manual SSH-AGENT(1) |
2 | 2 | ||
3 | NAME | 3 | NAME |
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 | 21 | Bind the agent to the unix-domain socket bind_address. The de- |
22 | default is /tmp/ssh-XXXXXXXX/agent.<ppid>. | 22 | fault 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 itM-bM-^@M-^Ys a csh style of shell. | 25 | SHELL looks like it's 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 itM-bM-^@M-^Ys a csh style of shell. | 28 | SHELL does not look like it's 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 | 37 | identity with ssh-add(1) overrides this value. Without this op- |
38 | option the default maximum lifetime is forever. | 38 | tion 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 userM-bM-^@M-^Ys local PC, laptop, or ter- | 56 | The idea is that the agent is run in the user's 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. | 70 | The agent will never send a private key over its request channel. In- |
71 | Instead, operations that require a private key will be performed by the | 71 | stead, 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 | 77 | only to the current user. This method is easily abused by root or anoth- |
78 | another instance of the same user. | 78 | er instance of the same user. |
79 | 79 | ||
80 | The SSH_AGENT_PID environment variable holds the agentM-bM-^@M-^Ys process ID. | 80 | The SSH_AGENT_PID environment variable holds the agent's 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 | ||
114 | BSD September 25, 1999 BSD | 114 | OpenBSD 3.5 September 25, 1999 2 |
diff --git a/ssh-agent.c b/ssh-agent.c index e5232fc9b..f5fce6b2a 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -57,6 +57,10 @@ RCSID("$OpenBSD: ssh-agent.c,v 1.117 2003/12/02 17:01:15 markus Exp $"); | |||
57 | #include "scard.h" | 57 | #include "scard.h" |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | #if defined(HAVE_SYS_PRCTL_H) | ||
61 | #include <sys/prctl.h> /* For prctl() and PR_SET_DUMPABLE */ | ||
62 | #endif | ||
63 | |||
60 | typedef enum { | 64 | typedef enum { |
61 | AUTH_UNUSED, | 65 | AUTH_UNUSED, |
62 | AUTH_SOCKET, | 66 | AUTH_SOCKET, |
@@ -1023,6 +1027,11 @@ main(int ac, char **av) | |||
1023 | setegid(getgid()); | 1027 | setegid(getgid()); |
1024 | setgid(getgid()); | 1028 | setgid(getgid()); |
1025 | 1029 | ||
1030 | #if defined(HAVE_PRCTL) && defined(PR_SET_DUMPABLE) | ||
1031 | /* Disable ptrace on Linux without sgid bit */ | ||
1032 | prctl(PR_SET_DUMPABLE, 0); | ||
1033 | #endif | ||
1034 | |||
1026 | SSLeay_add_all_algorithms(); | 1035 | SSLeay_add_all_algorithms(); |
1027 | 1036 | ||
1028 | __progname = ssh_get_progname(av[0]); | 1037 | __progname = ssh_get_progname(av[0]); |
diff --git a/ssh-keygen.0 b/ssh-keygen.0 index d4fcc682b..0ca92abc7 100644 --- a/ssh-keygen.0 +++ b/ssh-keygen.0 | |||
@@ -247,7 +247,7 @@ FILES | |||
247 | SEE ALSO | 247 | SEE ALSO |
248 | ssh(1), ssh-add(1), ssh-agent(1), moduli(5), sshd(8) | 248 | ssh(1), ssh-add(1), ssh-agent(1), moduli(5), sshd(8) |
249 | 249 | ||
250 | J. Galbraith, and R. Thayer, SECSH Public Key File Format, draft-ietf- | 250 | J. Galbraith and R. Thayer, SECSH Public Key File Format, draft-ietf- |
251 | secsh-publickeyfile-01.txt, March 2001, work in progress material. | 251 | secsh-publickeyfile-01.txt, March 2001, work in progress material. |
252 | 252 | ||
253 | AUTHORS | 253 | AUTHORS |
@@ -257,4 +257,4 @@ AUTHORS | |||
257 | created OpenSSH. Markus Friedl contributed the support for SSH protocol | 257 | created OpenSSH. Markus Friedl contributed the support for SSH protocol |
258 | versions 1.5 and 2.0. | 258 | versions 1.5 and 2.0. |
259 | 259 | ||
260 | OpenBSD 3.4 September 25, 1999 4 | 260 | OpenBSD 3.5 September 25, 1999 4 |
diff --git a/ssh-keyscan.0 b/ssh-keyscan.0 index 23d9f943c..c1334378f 100644 --- a/ssh-keyscan.0 +++ b/ssh-keyscan.0 | |||
@@ -1,4 +1,4 @@ | |||
1 | SSH-KEYSCAN(1) BSD General Commands Manual SSH-KEYSCAN(1) | 1 | SSH-KEYSCAN(1) OpenBSD Reference Manual SSH-KEYSCAN(1) |
2 | 2 | ||
3 | NAME | 3 | NAME |
4 | ssh-keyscan - gather ssh public keys | 4 | ssh-keyscan - gather ssh public keys |
@@ -29,14 +29,15 @@ 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. | 32 | is closed and the host in question considered unavailable. De- |
33 | Default is 5 seconds. | 33 | fault 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 M-bM-^@M-^\rsa1M-bM-^@M-^] for protocol version 1 and M-bM-^@M-^\rsaM-bM-^@M-^] | 37 | The possible values are ``rsa1'' for protocol version 1 and |
38 | or M-bM-^@M-^\dsaM-bM-^@M-^] for protocol version 2. Multiple values may be speci- | 38 | ``rsa'' or ``dsa'' for protocol version 2. Multiple values may |
39 | fied by separating them with commas. The default is M-bM-^@M-^\rsa1M-bM-^@M-^]. | 39 | be specified by separating them with commas. The default is |
40 | ``rsa1''. | ||
40 | 41 | ||
41 | -f filename | 42 | -f filename |
42 | Read hosts or addrlist namelist pairs from this file, one per | 43 | Read hosts or addrlist namelist pairs from this file, one per |
@@ -53,9 +54,9 @@ DESCRIPTION | |||
53 | SECURITY | 54 | SECURITY |
54 | If a ssh_known_hosts file is constructed using ssh-keyscan without veri- | 55 | If a ssh_known_hosts file is constructed using ssh-keyscan without veri- |
55 | fying the keys, users will be vulnerable to attacks. On the other hand, | 56 | fying the keys, users will be vulnerable to attacks. On the other hand, |
56 | if the security model allows such a risk, ssh-keyscan can help in the | 57 | if the security model allows such a risk, ssh-keyscan can help in the de- |
57 | detection of tampered keyfiles or man in the middle attacks which have | 58 | tection of tampered keyfiles or man in the middle attacks which have be- |
58 | begun after the ssh_known_hosts file was created. | 59 | gun after the ssh_known_hosts file was created. |
59 | 60 | ||
60 | FILES | 61 | FILES |
61 | Input format: | 62 | Input format: |
@@ -70,7 +71,7 @@ FILES | |||
70 | 71 | ||
71 | host-or-namelist keytype base64-encoded-key | 72 | host-or-namelist keytype base64-encoded-key |
72 | 73 | ||
73 | Where keytype is either M-bM-^@M-^\ssh-rsaM-bM-^@M-^] or M-bM-^@M-^\ssh-dssM-bM-^@M-^]. | 74 | Where keytype is either ``ssh-rsa'' or ``ssh-dss''. |
74 | 75 | ||
75 | /etc/ssh/ssh_known_hosts | 76 | /etc/ssh/ssh_known_hosts |
76 | 77 | ||
@@ -89,8 +90,8 @@ SEE ALSO | |||
89 | ssh(1), sshd(8) | 90 | ssh(1), sshd(8) |
90 | 91 | ||
91 | AUTHORS | 92 | AUTHORS |
92 | David Mazieres M-bM-^LM-)dm@lcs.mit.eduM-bM-^LM-* wrote the initial version, and | 93 | David Mazieres <dm@lcs.mit.edu> wrote the initial version, and |
93 | Wayne Davison M-bM-^LM-)wayned@users.sourceforge.netM-bM-^LM-* added support for protocol | 94 | Wayne Davison <wayned@users.sourceforge.net> added support for protocol |
94 | version 2. | 95 | version 2. |
95 | 96 | ||
96 | BUGS | 97 | BUGS |
@@ -99,4 +100,4 @@ BUGS | |||
99 | This is because it opens a connection to the ssh port, reads the public | 100 | This is because it opens a connection to the ssh port, reads the public |
100 | key, and drops the connection as soon as it gets the key. | 101 | key, and drops the connection as soon as it gets the key. |
101 | 102 | ||
102 | BSD January 1, 1996 BSD | 103 | OpenBSD 3.5 January 1, 1996 2 |
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 6fc624c63..770409b86 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -7,7 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "includes.h" | 9 | #include "includes.h" |
10 | RCSID("$OpenBSD: ssh-keyscan.c,v 1.46 2003/11/23 23:17:34 djm Exp $"); | 10 | RCSID("$OpenBSD: ssh-keyscan.c,v 1.47 2004/03/08 09:38:05 djm Exp $"); |
11 | 11 | ||
12 | #include "openbsd-compat/sys-queue.h" | 12 | #include "openbsd-compat/sys-queue.h" |
13 | 13 | ||
@@ -489,7 +489,7 @@ conrecycle(int s) | |||
489 | static void | 489 | static void |
490 | congreet(int s) | 490 | congreet(int s) |
491 | { | 491 | { |
492 | int remote_major, remote_minor, n = 0; | 492 | int remote_major = 0, remote_minor = 0, n = 0; |
493 | char buf[256], *cp; | 493 | char buf[256], *cp; |
494 | char remote_version[sizeof buf]; | 494 | char remote_version[sizeof buf]; |
495 | size_t bufsiz; | 495 | size_t bufsiz; |
diff --git a/ssh-keysign.0 b/ssh-keysign.0 index 5e9c6f9c7..950a21b88 100644 --- a/ssh-keysign.0 +++ b/ssh-keysign.0 | |||
@@ -1,4 +1,4 @@ | |||
1 | SSH-KEYSIGN(8) BSD System ManagerM-bM-^@M-^Ys Manual SSH-KEYSIGN(8) | 1 | SSH-KEYSIGN(8) OpenBSD System Manager's Manual SSH-KEYSIGN(8) |
2 | 2 | ||
3 | NAME | 3 | NAME |
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 M-bM-^@M-^\yesM-bM-^@M-^]. | 16 | to ``yes''. |
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 | ||
39 | AUTHORS | 39 | AUTHORS |
40 | Markus Friedl M-bM-^LM-)markus@openbsd.orgM-bM-^LM-* | 40 | Markus Friedl <markus@openbsd.org> |
41 | 41 | ||
42 | BSD May 24, 2002 BSD | 42 | OpenBSD 3.5 May 24, 2002 1 |
diff --git a/ssh-rand-helper.0 b/ssh-rand-helper.0 index 885bf19df..2020359f9 100644 --- a/ssh-rand-helper.0 +++ b/ssh-rand-helper.0 | |||
@@ -46,4 +46,4 @@ AUTHORS | |||
46 | SEE ALSO | 46 | SEE ALSO |
47 | ssh(1), ssh-add(1), ssh-keygen(1), sshd(8) | 47 | ssh(1), ssh-add(1), ssh-keygen(1), sshd(8) |
48 | 48 | ||
49 | OpenBSD 3.4 April 14, 2002 1 | 49 | OpenBSD 3.5 April 14, 2002 1 |
@@ -374,6 +374,7 @@ DESCRIPTION | |||
374 | HostKeyAlias | 374 | HostKeyAlias |
375 | HostName | 375 | HostName |
376 | IdentityFile | 376 | IdentityFile |
377 | IdentitiesOnly | ||
377 | LocalForward | 378 | LocalForward |
378 | LogLevel | 379 | LogLevel |
379 | MACs | 380 | MACs |
@@ -665,4 +666,4 @@ AUTHORS | |||
665 | created OpenSSH. Markus Friedl contributed the support for SSH protocol | 666 | created OpenSSH. Markus Friedl contributed the support for SSH protocol |
666 | versions 1.5 and 2.0. | 667 | versions 1.5 and 2.0. |
667 | 668 | ||
668 | OpenBSD 3.4 September 25, 1999 11 | 669 | OpenBSD 3.5 September 25, 1999 11 |
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh.1,v 1.181 2003/12/16 15:49:51 markus Exp $ | 37 | .\" $OpenBSD: ssh.1,v 1.182 2004/03/05 10:53:58 markus Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH 1 | 39 | .Dt SSH 1 |
40 | .Os | 40 | .Os |
@@ -634,6 +634,7 @@ For full details of the options listed below, and their possible values, see | |||
634 | .It HostKeyAlias | 634 | .It HostKeyAlias |
635 | .It HostName | 635 | .It HostName |
636 | .It IdentityFile | 636 | .It IdentityFile |
637 | .It IdentitiesOnly | ||
637 | .It LocalForward | 638 | .It LocalForward |
638 | .It LogLevel | 639 | .It LogLevel |
639 | .It MACs | 640 | .It MACs |
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.206 2003/12/16 15:49:51 markus Exp $"); | 43 | RCSID("$OpenBSD: ssh.c,v 1.209 2004/03/11 10:21:17 markus Exp $"); |
44 | 44 | ||
45 | #include <openssl/evp.h> | 45 | #include <openssl/evp.h> |
46 | #include <openssl/err.h> | 46 | #include <openssl/err.h> |
@@ -146,49 +146,12 @@ pid_t proxy_command_pid = 0; | |||
146 | static void | 146 | static void |
147 | usage(void) | 147 | usage(void) |
148 | { | 148 | { |
149 | fprintf(stderr, "Usage: %s [options] host [command]\n", __progname); | 149 | fprintf(stderr, |
150 | fprintf(stderr, "Options:\n"); | 150 | "usage: ssh [-1246AaCfghkNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n" |
151 | fprintf(stderr, " -l user Log in using this user name.\n"); | 151 | " [-D port] [-e escape_char] [-F configfile] [-i identity_file]\n" |
152 | fprintf(stderr, " -n Redirect input from " _PATH_DEVNULL ".\n"); | 152 | " [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option]\n" |
153 | fprintf(stderr, " -F config Config file (default: ~/%s).\n", | 153 | " [-p port] [-R port:host:hostport] [user@]hostname [command]\n" |
154 | _PATH_SSH_USER_CONFFILE); | 154 | ); |
155 | fprintf(stderr, " -A Enable authentication agent forwarding.\n"); | ||
156 | fprintf(stderr, " -a Disable authentication agent forwarding (default).\n"); | ||
157 | fprintf(stderr, " -X Enable X11 connection forwarding.\n"); | ||
158 | fprintf(stderr, " -Y Enable trusted X11 connection forwarding.\n"); | ||
159 | fprintf(stderr, " -x Disable X11 connection forwarding (default).\n"); | ||
160 | fprintf(stderr, " -i file Identity for public key authentication " | ||
161 | "(default: ~/.ssh/identity)\n"); | ||
162 | #ifdef SMARTCARD | ||
163 | fprintf(stderr, " -I reader Set smartcard reader.\n"); | ||
164 | #endif | ||
165 | fprintf(stderr, " -t Tty; allocate a tty even if command is given.\n"); | ||
166 | fprintf(stderr, " -T Do not allocate a tty.\n"); | ||
167 | fprintf(stderr, " -v Verbose; display verbose debugging messages.\n"); | ||
168 | fprintf(stderr, " Multiple -v increases verbosity.\n"); | ||
169 | fprintf(stderr, " -V Display version number only.\n"); | ||
170 | fprintf(stderr, " -q Quiet; don't display any warning messages.\n"); | ||
171 | fprintf(stderr, " -f Fork into background after authentication.\n"); | ||
172 | fprintf(stderr, " -e char Set escape character; ``none'' = disable (default: ~).\n"); | ||
173 | |||
174 | fprintf(stderr, " -c cipher Select encryption algorithm\n"); | ||
175 | fprintf(stderr, " -m macs Specify MAC algorithms for protocol version 2.\n"); | ||
176 | fprintf(stderr, " -p port Connect to this port. Server must be on the same port.\n"); | ||
177 | fprintf(stderr, " -L listen-port:host:port Forward local port to remote address\n"); | ||
178 | fprintf(stderr, " -R listen-port:host:port Forward remote port to local address\n"); | ||
179 | fprintf(stderr, " These cause %s to listen for connections on a port, and\n", __progname); | ||
180 | fprintf(stderr, " forward them to the other side by connecting to host:port.\n"); | ||
181 | fprintf(stderr, " -D port Enable dynamic application-level port forwarding.\n"); | ||
182 | fprintf(stderr, " -C Enable compression.\n"); | ||
183 | fprintf(stderr, " -N Do not execute a shell or command.\n"); | ||
184 | fprintf(stderr, " -g Allow remote hosts to connect to forwarded ports.\n"); | ||
185 | fprintf(stderr, " -1 Force protocol version 1.\n"); | ||
186 | fprintf(stderr, " -2 Force protocol version 2.\n"); | ||
187 | fprintf(stderr, " -4 Use IPv4 only.\n"); | ||
188 | fprintf(stderr, " -6 Use IPv6 only.\n"); | ||
189 | fprintf(stderr, " -o 'option' Process the option as if it was read from a configuration file.\n"); | ||
190 | fprintf(stderr, " -s Invoke command (mandatory) as SSH2 subsystem.\n"); | ||
191 | fprintf(stderr, " -b addr Local IP address.\n"); | ||
192 | exit(1); | 155 | exit(1); |
193 | } | 156 | } |
194 | 157 | ||
@@ -347,12 +310,8 @@ again: | |||
347 | } | 310 | } |
348 | /* fallthrough */ | 311 | /* fallthrough */ |
349 | case 'V': | 312 | case 'V': |
350 | fprintf(stderr, | 313 | fprintf(stderr, "%s, %s\n", |
351 | "%s, SSH protocols %d.%d/%d.%d, %s\n", | 314 | SSH_VERSION, SSLeay_version(SSLEAY_VERSION)); |
352 | SSH_VERSION, | ||
353 | PROTOCOL_MAJOR_1, PROTOCOL_MINOR_1, | ||
354 | PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, | ||
355 | SSLeay_version(SSLEAY_VERSION)); | ||
356 | if (opt == 'V') | 315 | if (opt == 'V') |
357 | exit(0); | 316 | exit(0); |
358 | break; | 317 | break; |
@@ -782,7 +741,7 @@ x11_get_proto(char **_proto, char **_data) | |||
782 | xauthdir); | 741 | xauthdir); |
783 | snprintf(cmd, sizeof(cmd), | 742 | snprintf(cmd, sizeof(cmd), |
784 | "%s -f %s generate %s " SSH_X11_PROTO | 743 | "%s -f %s generate %s " SSH_X11_PROTO |
785 | " untrusted timeout 120 2>" _PATH_DEVNULL, | 744 | " untrusted timeout 1200 2>" _PATH_DEVNULL, |
786 | options.xauth_location, xauthfile, display); | 745 | options.xauth_location, xauthfile, display); |
787 | debug2("x11_get_proto: %s", cmd); | 746 | debug2("x11_get_proto: %s", cmd); |
788 | if (system(cmd) == 0) | 747 | if (system(cmd) == 0) |
diff --git a/ssh_config.0 b/ssh_config.0 index 40e9d3001..4be1d7f3f 100644 --- a/ssh_config.0 +++ b/ssh_config.0 | |||
@@ -238,6 +238,14 @@ DESCRIPTION | |||
238 | fied in configuration files; all these identities will be tried | 238 | fied in configuration files; all these identities will be tried |
239 | in sequence. | 239 | in sequence. |
240 | 240 | ||
241 | IdentitiesOnly | ||
242 | Specifies that ssh should only use the authentication identity | ||
243 | files configured in the ssh_config files, even if the ssh-agent | ||
244 | offers more identities. The argument to this keyword must be | ||
245 | ``yes'' or ``no''. This option is intented for situations where | ||
246 | ssh-agent offers many different identities. The default is | ||
247 | ``no''. | ||
248 | |||
241 | LocalForward | 249 | LocalForward |
242 | Specifies that a TCP/IP port on the local machine be forwarded | 250 | Specifies that a TCP/IP port on the local machine be forwarded |
243 | over the secure channel to the specified host and port from the | 251 | over the secure channel to the specified host and port from the |
@@ -454,4 +462,4 @@ AUTHORS | |||
454 | ated OpenSSH. Markus Friedl contributed the support for SSH protocol | 462 | ated OpenSSH. Markus Friedl contributed the support for SSH protocol |
455 | versions 1.5 and 2.0. | 463 | versions 1.5 and 2.0. |
456 | 464 | ||
457 | OpenBSD 3.4 September 25, 1999 7 | 465 | OpenBSD 3.5 September 25, 1999 8 |
diff --git a/ssh_config.5 b/ssh_config.5 index e4a59a2ad..0fd3ea5f8 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh_config.5,v 1.28 2003/12/16 15:49:51 markus Exp $ | 37 | .\" $OpenBSD: ssh_config.5,v 1.29 2004/03/05 10:53:58 markus Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH_CONFIG 5 | 39 | .Dt SSH_CONFIG 5 |
40 | .Os | 40 | .Os |
@@ -414,6 +414,24 @@ syntax to refer to a user's home directory. | |||
414 | It is possible to have | 414 | It is possible to have |
415 | multiple identity files specified in configuration files; all these | 415 | multiple identity files specified in configuration files; all these |
416 | identities will be tried in sequence. | 416 | identities will be tried in sequence. |
417 | .It Cm IdentitiesOnly | ||
418 | Specifies that | ||
419 | .Nm ssh | ||
420 | should only use the authentication identity files configured in the | ||
421 | .Nm | ||
422 | files, | ||
423 | even if the | ||
424 | .Nm ssh-agent | ||
425 | offers more identities. | ||
426 | The argument to this keyword must be | ||
427 | .Dq yes | ||
428 | or | ||
429 | .Dq no . | ||
430 | This option is intented for situations where | ||
431 | .Nm ssh-agent | ||
432 | offers many different identities. | ||
433 | The default is | ||
434 | .Dq no . | ||
417 | .It Cm LocalForward | 435 | .It Cm LocalForward |
418 | Specifies that a TCP/IP port on the local machine be forwarded over | 436 | Specifies that a TCP/IP port on the local machine be forwarded over |
419 | the secure channel to the specified host and port from the remote machine. | 437 | the secure channel to the specified host and port from the remote machine. |
diff --git a/sshconnect2.c b/sshconnect2.c index 3a218113c..c261dfd18 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.134 2004/01/19 21:25:15 markus Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.135 2004/03/05 10:53:58 markus Exp $"); |
27 | 27 | ||
28 | #include "openbsd-compat/sys-queue.h" | 28 | #include "openbsd-compat/sys-queue.h" |
29 | 29 | ||
@@ -1044,7 +1044,7 @@ pubkey_prepare(Authctxt *authctxt) | |||
1044 | break; | 1044 | break; |
1045 | } | 1045 | } |
1046 | } | 1046 | } |
1047 | if (!found) { | 1047 | if (!found && !options.identities_only) { |
1048 | id = xmalloc(sizeof(*id)); | 1048 | id = xmalloc(sizeof(*id)); |
1049 | memset(id, 0, sizeof(*id)); | 1049 | memset(id, 0, sizeof(*id)); |
1050 | id->key = key; | 1050 | id->key = key; |
@@ -552,4 +552,4 @@ AUTHORS | |||
552 | versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support | 552 | versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support |
553 | for privilege separation. | 553 | for privilege separation. |
554 | 554 | ||
555 | OpenBSD 3.4 September 25, 1999 9 | 555 | OpenBSD 3.5 September 25, 1999 9 |
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.286 2004/02/23 12:02:33 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.290 2004/03/11 10:21:17 markus Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -101,7 +101,6 @@ extern char *__progname; | |||
101 | #else | 101 | #else |
102 | char *__progname; | 102 | char *__progname; |
103 | #endif | 103 | #endif |
104 | extern char **environ; | ||
105 | 104 | ||
106 | /* Server configuration options. */ | 105 | /* Server configuration options. */ |
107 | ServerOptions options; | 106 | ServerOptions options; |
@@ -568,7 +567,7 @@ privsep_preauth_child(void) | |||
568 | debug3("privsep user:group %u:%u", (u_int)pw->pw_uid, | 567 | debug3("privsep user:group %u:%u", (u_int)pw->pw_uid, |
569 | (u_int)pw->pw_gid); | 568 | (u_int)pw->pw_gid); |
570 | #if 0 | 569 | #if 0 |
571 | /* XXX not ready, to heavy after chroot */ | 570 | /* XXX not ready, too heavy after chroot */ |
572 | do_setusercontext(pw); | 571 | do_setusercontext(pw); |
573 | #else | 572 | #else |
574 | gidset[0] = pw->pw_gid; | 573 | gidset[0] = pw->pw_gid; |
@@ -764,26 +763,12 @@ drop_connection(int startups) | |||
764 | static void | 763 | static void |
765 | usage(void) | 764 | usage(void) |
766 | { | 765 | { |
767 | fprintf(stderr, "sshd version %s, %s\n", | 766 | fprintf(stderr, "%s, %s\n", |
768 | SSH_VERSION, SSLeay_version(SSLEAY_VERSION)); | 767 | SSH_VERSION, SSLeay_version(SSLEAY_VERSION)); |
769 | fprintf(stderr, "Usage: %s [options]\n", __progname); | 768 | fprintf(stderr, |
770 | fprintf(stderr, "Options:\n"); | 769 | "usage: sshd [-46Ddeiqt] [-b bits] [-f config_file] [-g login_grace_time]\n" |
771 | fprintf(stderr, " -f file Configuration file (default %s)\n", _PATH_SERVER_CONFIG_FILE); | 770 | " [-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]\n" |
772 | fprintf(stderr, " -d Debugging mode (multiple -d means more debugging)\n"); | 771 | ); |
773 | fprintf(stderr, " -i Started from inetd\n"); | ||
774 | fprintf(stderr, " -D Do not fork into daemon mode\n"); | ||
775 | fprintf(stderr, " -t Only test configuration file and keys\n"); | ||
776 | fprintf(stderr, " -q Quiet (no logging)\n"); | ||
777 | fprintf(stderr, " -p port Listen on the specified port (default: 22)\n"); | ||
778 | fprintf(stderr, " -k seconds Regenerate server key every this many seconds (default: 3600)\n"); | ||
779 | fprintf(stderr, " -g seconds Grace period for authentication (default: 600)\n"); | ||
780 | fprintf(stderr, " -b bits Size of server RSA key (default: 768 bits)\n"); | ||
781 | fprintf(stderr, " -h file File from which to read host key (default: %s)\n", | ||
782 | _PATH_HOST_KEY_FILE); | ||
783 | fprintf(stderr, " -u len Maximum hostname length for utmp recording\n"); | ||
784 | fprintf(stderr, " -4 Use IPv4 only\n"); | ||
785 | fprintf(stderr, " -6 Use IPv6 only\n"); | ||
786 | fprintf(stderr, " -o option Process the option as if it was read from a configuration file.\n"); | ||
787 | exit(1); | 772 | exit(1); |
788 | } | 773 | } |
789 | 774 | ||
@@ -832,6 +817,9 @@ main(int ac, char **av) | |||
832 | av = saved_argv; | 817 | av = saved_argv; |
833 | #endif | 818 | #endif |
834 | 819 | ||
820 | if (geteuid() == 0 && setgroups(0, NULL) == -1) | ||
821 | debug("setgroups(): %.200s", strerror(errno)); | ||
822 | |||
835 | /* Initialize configuration options to their default values. */ | 823 | /* Initialize configuration options to their default values. */ |
836 | initialize_server_options(&options); | 824 | initialize_server_options(&options); |
837 | 825 | ||
@@ -945,6 +933,13 @@ main(int ac, char **av) | |||
945 | SYSLOG_FACILITY_AUTH : options.log_facility, | 933 | SYSLOG_FACILITY_AUTH : options.log_facility, |
946 | log_stderr || !inetd_flag); | 934 | log_stderr || !inetd_flag); |
947 | 935 | ||
936 | #ifdef _AIX | ||
937 | /* | ||
938 | * Unset KRB5CCNAME, otherwise the user's session may inherit it from | ||
939 | * root's environment | ||
940 | */ | ||
941 | unsetenv("KRB5CCNAME"); | ||
942 | #endif /* _AIX */ | ||
948 | #ifdef _UNICOS | 943 | #ifdef _UNICOS |
949 | /* Cray can define user privs drop all prives now! | 944 | /* Cray can define user privs drop all prives now! |
950 | * Not needed on PRIV_SU systems! | 945 | * Not needed on PRIV_SU systems! |
@@ -1111,11 +1106,6 @@ main(int ac, char **av) | |||
1111 | unmounted if desired. */ | 1106 | unmounted if desired. */ |
1112 | chdir("/"); | 1107 | chdir("/"); |
1113 | 1108 | ||
1114 | #ifndef HAVE_CYGWIN | ||
1115 | /* Clear environment */ | ||
1116 | environ[0] = NULL; | ||
1117 | #endif | ||
1118 | |||
1119 | /* ignore SIGPIPE */ | 1109 | /* ignore SIGPIPE */ |
1120 | signal(SIGPIPE, SIG_IGN); | 1110 | signal(SIGPIPE, SIG_IGN); |
1121 | 1111 | ||
@@ -1394,6 +1384,7 @@ main(int ac, char **av) | |||
1394 | } | 1384 | } |
1395 | 1385 | ||
1396 | /* This is the child processing a new connection. */ | 1386 | /* This is the child processing a new connection. */ |
1387 | setproctitle("%s", "[accepted]"); | ||
1397 | 1388 | ||
1398 | /* | 1389 | /* |
1399 | * Create a new session and process group since the 4.4BSD | 1390 | * Create a new session and process group since the 4.4BSD |
diff --git a/sshd_config.0 b/sshd_config.0 index 981e91042..8a922666e 100644 --- a/sshd_config.0 +++ b/sshd_config.0 | |||
@@ -169,6 +169,11 @@ DESCRIPTION | |||
169 | which allows the verification of the KDC's identity. Default is | 169 | which allows the verification of the KDC's identity. Default is |
170 | ``no''. | 170 | ``no''. |
171 | 171 | ||
172 | KerberosGetAFSToken | ||
173 | If AFS is active and the user has a Kerberos 5 TGT, attempt to | ||
174 | aquire an AFS token before accessing the user's home directory. | ||
175 | Default is ``no''. | ||
176 | |||
172 | KerberosOrLocalPasswd | 177 | KerberosOrLocalPasswd |
173 | If set then if password authentication through Kerberos fails | 178 | If set then if password authentication through Kerberos fails |
174 | then the password will be validated via any additional local | 179 | then the password will be validated via any additional local |
@@ -248,7 +253,9 @@ DESCRIPTION | |||
248 | ``no''. The default is ``yes''. | 253 | ``no''. The default is ``yes''. |
249 | 254 | ||
250 | If this option is set to ``without-password'' password authenti- | 255 | If this option is set to ``without-password'' password authenti- |
251 | cation is disabled for root. | 256 | cation is disabled for root. Note that other authentication |
257 | methods (e.g., keyboard-interactive/PAM) may still allow root to | ||
258 | login using a password. | ||
252 | 259 | ||
253 | If this option is set to ``forced-commands-only'' root login with | 260 | If this option is set to ``forced-commands-only'' root login with |
254 | public key authentication will be allowed, but only if the | 261 | public key authentication will be allowed, but only if the |
@@ -456,4 +463,4 @@ AUTHORS | |||
456 | versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support | 463 | versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support |
457 | for privilege separation. | 464 | for privilege separation. |
458 | 465 | ||
459 | OpenBSD 3.4 September 25, 1999 7 | 466 | OpenBSD 3.5 September 25, 1999 8 |
diff --git a/sshd_config.5 b/sshd_config.5 index 41228248c..e15a225f2 100644 --- a/sshd_config.5 +++ b/sshd_config.5 | |||
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: sshd_config.5,v 1.28 2004/02/17 19:35:21 jmc Exp $ | 37 | .\" $OpenBSD: sshd_config.5,v 1.29 2004/03/08 10:18:57 dtucker Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSHD_CONFIG 5 | 39 | .Dt SSHD_CONFIG 5 |
40 | .Os | 40 | .Os |
@@ -300,6 +300,11 @@ To use this option, the server needs a | |||
300 | Kerberos servtab which allows the verification of the KDC's identity. | 300 | Kerberos servtab which allows the verification of the KDC's identity. |
301 | Default is | 301 | Default is |
302 | .Dq no . | 302 | .Dq no . |
303 | .It Cm KerberosGetAFSToken | ||
304 | If AFS is active and the user has a Kerberos 5 TGT, attempt to aquire | ||
305 | an AFS token before accessing the user's home directory. | ||
306 | Default is | ||
307 | .Dq no . | ||
303 | .It Cm KerberosOrLocalPasswd | 308 | .It Cm KerberosOrLocalPasswd |
304 | If set then if password authentication through Kerberos fails then | 309 | If set then if password authentication through Kerberos fails then |
305 | the password will be validated via any additional local mechanism | 310 | the password will be validated via any additional local mechanism |
@@ -429,7 +434,9 @@ The default is | |||
429 | .Pp | 434 | .Pp |
430 | If this option is set to | 435 | If this option is set to |
431 | .Dq without-password | 436 | .Dq without-password |
432 | password authentication is disabled for root. | 437 | password authentication is disabled for root. Note that other authentication |
438 | methods (e.g., keyboard-interactive/PAM) may still allow root to login using | ||
439 | a password. | ||
433 | .Pp | 440 | .Pp |
434 | If this option is set to | 441 | If this option is set to |
435 | .Dq forced-commands-only | 442 | .Dq forced-commands-only |
diff --git a/sshlogin.c b/sshlogin.c index 36b648934..e1cc4cc82 100644 --- a/sshlogin.c +++ b/sshlogin.c | |||
@@ -52,11 +52,11 @@ u_long | |||
52 | get_last_login_time(uid_t uid, const char *logname, | 52 | get_last_login_time(uid_t uid, const char *logname, |
53 | char *buf, u_int bufsize) | 53 | char *buf, u_int bufsize) |
54 | { | 54 | { |
55 | struct logininfo li; | 55 | struct logininfo li; |
56 | 56 | ||
57 | login_get_lastlog(&li, uid); | 57 | login_get_lastlog(&li, uid); |
58 | strlcpy(buf, li.hostname, bufsize); | 58 | strlcpy(buf, li.hostname, bufsize); |
59 | return li.tv_sec; | 59 | return li.tv_sec; |
60 | } | 60 | } |
61 | 61 | ||
62 | /* | 62 | /* |
@@ -67,12 +67,12 @@ void | |||
67 | record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid, | 67 | record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid, |
68 | const char *host, struct sockaddr * addr, socklen_t addrlen) | 68 | const char *host, struct sockaddr * addr, socklen_t addrlen) |
69 | { | 69 | { |
70 | struct logininfo *li; | 70 | struct logininfo *li; |
71 | 71 | ||
72 | li = login_alloc_entry(pid, user, host, ttyname); | 72 | li = login_alloc_entry(pid, user, host, ttyname); |
73 | login_set_addr(li, addr, addrlen); | 73 | login_set_addr(li, addr, addrlen); |
74 | login_login(li); | 74 | login_login(li); |
75 | login_free_entry(li); | 75 | login_free_entry(li); |
76 | } | 76 | } |
77 | 77 | ||
78 | #ifdef LOGIN_NEEDS_UTMPX | 78 | #ifdef LOGIN_NEEDS_UTMPX |
@@ -80,12 +80,12 @@ void | |||
80 | record_utmp_only(pid_t pid, const char *ttyname, const char *user, | 80 | record_utmp_only(pid_t pid, const char *ttyname, const char *user, |
81 | const char *host, struct sockaddr * addr, socklen_t addrlen) | 81 | const char *host, struct sockaddr * addr, socklen_t addrlen) |
82 | { | 82 | { |
83 | struct logininfo *li; | 83 | struct logininfo *li; |
84 | 84 | ||
85 | li = login_alloc_entry(pid, user, host, ttyname); | 85 | li = login_alloc_entry(pid, user, host, ttyname); |
86 | login_set_addr(li, addr, addrlen); | 86 | login_set_addr(li, addr, addrlen); |
87 | login_utmp_only(li); | 87 | login_utmp_only(li); |
88 | login_free_entry(li); | 88 | login_free_entry(li); |
89 | } | 89 | } |
90 | #endif | 90 | #endif |
91 | 91 | ||
@@ -93,9 +93,9 @@ record_utmp_only(pid_t pid, const char *ttyname, const char *user, | |||
93 | void | 93 | void |
94 | record_logout(pid_t pid, const char *ttyname, const char *user) | 94 | record_logout(pid_t pid, const char *ttyname, const char *user) |
95 | { | 95 | { |
96 | struct logininfo *li; | 96 | struct logininfo *li; |
97 | 97 | ||
98 | li = login_alloc_entry(pid, user, NULL, ttyname); | 98 | li = login_alloc_entry(pid, user, NULL, ttyname); |
99 | login_logout(li); | 99 | login_logout(li); |
100 | login_free_entry(li); | 100 | login_free_entry(li); |
101 | } | 101 | } |
@@ -1,5 +1,5 @@ | |||
1 | /* $OpenBSD: version.h,v 1.40 2004/02/23 15:16:46 markus Exp $ */ | 1 | /* $OpenBSD: version.h,v 1.41 2004/03/20 10:40:59 markus Exp $ */ |
2 | 2 | ||
3 | #ifndef SSH_VERSION | 3 | #ifndef SSH_VERSION |
4 | #define SSH_VERSION "OpenSSH_3.8p1" | 4 | #define SSH_VERSION "OpenSSH_3.8.1p1" |
5 | #endif /* SSH_VERSION */ | 5 | #endif /* SSH_VERSION */ |