diff options
70 files changed, 6580 insertions, 20928 deletions
diff --git a/.cvsignore b/.cvsignore index 12de9ef50..765a101b7 100644 --- a/.cvsignore +++ b/.cvsignore | |||
@@ -8,8 +8,6 @@ ssh-keysign | |||
8 | ssh-agent | 8 | ssh-agent |
9 | sftp-server | 9 | sftp-server |
10 | sftp | 10 | sftp |
11 | configure | ||
12 | config.h.in | ||
13 | config.h | 11 | config.h |
14 | config.status | 12 | config.status |
15 | config.cache | 13 | config.cache |
@@ -18,7 +16,6 @@ stamp-h.in | |||
18 | Makefile | 16 | Makefile |
19 | ssh_prng_cmds | 17 | ssh_prng_cmds |
20 | *.out | 18 | *.out |
21 | *.0 | ||
22 | buildit.sh | 19 | buildit.sh |
23 | autom4te.cache | ||
24 | ssh-rand-helper | 20 | ssh-rand-helper |
21 | build-stamp | ||
diff --git a/auth-passwd.c b/auth-passwd.c index 62ea3a52d..2307c1e5e 100644 --- a/auth-passwd.c +++ b/auth-passwd.c | |||
@@ -125,6 +125,14 @@ auth_password(Authctxt *authctxt, const char *password) | |||
125 | ok = 0; | 125 | ok = 0; |
126 | 126 | ||
127 | #if defined(USE_PAM) | 127 | #if defined(USE_PAM) |
128 | /* | ||
129 | * If the user logging in is root and RootLogin=no, always attempt | ||
130 | * an invalid root login to prevent leaking timing information | ||
131 | */ | ||
132 | if (pw && pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES) { | ||
133 | auth_pam_password(authctxt, "\b\n\r\177INCORRECT"); | ||
134 | return 0; | ||
135 | } | ||
128 | return auth_pam_password(authctxt, password) && ok; | 136 | return auth_pam_password(authctxt, password) && ok; |
129 | #elif defined(HAVE_OSF_SIA) | 137 | #elif defined(HAVE_OSF_SIA) |
130 | if (!ok) | 138 | if (!ok) |
@@ -80,7 +80,7 @@ do_authloop(Authctxt *authctxt) | |||
80 | authctxt->valid ? "" : "illegal user ", authctxt->user); | 80 | authctxt->valid ? "" : "illegal user ", authctxt->user); |
81 | 81 | ||
82 | /* If the user has no password, accept authentication immediately. */ | 82 | /* If the user has no password, accept authentication immediately. */ |
83 | if (options.password_authentication && | 83 | if (options.password_authentication && options.permit_empty_passwd && |
84 | #if defined(KRB4) || defined(KRB5) | 84 | #if defined(KRB4) || defined(KRB5) |
85 | (!options.kerberos_authentication || options.kerberos_or_local_passwd) && | 85 | (!options.kerberos_authentication || options.kerberos_or_local_passwd) && |
86 | #endif | 86 | #endif |
diff --git a/auth2-none.c b/auth2-none.c index 692a2961f..46a4c617e 100644 --- a/auth2-none.c +++ b/auth2-none.c | |||
@@ -100,6 +100,8 @@ userauth_none(Authctxt *authctxt) | |||
100 | if (check_nt_auth(1, authctxt->pw) == 0) | 100 | if (check_nt_auth(1, authctxt->pw) == 0) |
101 | return(0); | 101 | return(0); |
102 | #endif | 102 | #endif |
103 | if (options.permit_empty_passwd == 0) | ||
104 | return 0; | ||
103 | return PRIVSEP(auth_password(authctxt, "")) && authctxt->valid; | 105 | return PRIVSEP(auth_password(authctxt, "")) && authctxt->valid; |
104 | } | 106 | } |
105 | 107 | ||
diff --git a/autom4te-2.53.cache/output.0 b/autom4te-2.53.cache/output.0 deleted file mode 100644 index 74f5afd76..000000000 --- a/autom4te-2.53.cache/output.0 +++ /dev/null | |||
@@ -1,18359 +0,0 @@ | |||
1 | @%:@! /bin/sh | ||
2 | @%:@ Guess values for system-dependent variables and create Makefiles. | ||
3 | @%:@ Generated by GNU Autoconf 2.53. | ||
4 | @%:@ | ||
5 | @%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | ||
6 | @%:@ Free Software Foundation, Inc. | ||
7 | @%:@ This configure script is free software; the Free Software Foundation | ||
8 | @%:@ gives unlimited permission to copy, distribute and modify it. | ||
9 | |||
10 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
11 | as_expr=expr | ||
12 | else | ||
13 | as_expr=false | ||
14 | fi | ||
15 | |||
16 | |||
17 | ## --------------------- ## | ||
18 | ## M4sh Initialization. ## | ||
19 | ## --------------------- ## | ||
20 | |||
21 | # Be Bourne compatible | ||
22 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
23 | emulate sh | ||
24 | NULLCMD=: | ||
25 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
26 | set -o posix | ||
27 | fi | ||
28 | |||
29 | # NLS nuisances. | ||
30 | # Support unset when possible. | ||
31 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | ||
32 | as_unset=unset | ||
33 | else | ||
34 | as_unset=false | ||
35 | fi | ||
36 | |||
37 | (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | ||
38 | { $as_unset LANG || test "${LANG+set}" != set; } || | ||
39 | { LANG=C; export LANG; } | ||
40 | (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | ||
41 | { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | ||
42 | { LC_ALL=C; export LC_ALL; } | ||
43 | (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | ||
44 | { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | ||
45 | { LC_TIME=C; export LC_TIME; } | ||
46 | (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | ||
47 | { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | ||
48 | { LC_CTYPE=C; export LC_CTYPE; } | ||
49 | (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | ||
50 | { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | ||
51 | { LANGUAGE=C; export LANGUAGE; } | ||
52 | (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | ||
53 | { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | ||
54 | { LC_COLLATE=C; export LC_COLLATE; } | ||
55 | (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | ||
56 | { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | ||
57 | { LC_NUMERIC=C; export LC_NUMERIC; } | ||
58 | (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | ||
59 | { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | ||
60 | { LC_MESSAGES=C; export LC_MESSAGES; } | ||
61 | |||
62 | |||
63 | # Name of the executable. | ||
64 | as_me=`(basename "$0") 2>/dev/null || | ||
65 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
66 | X"$0" : 'X\(//\)$' \| \ | ||
67 | X"$0" : 'X\(/\)$' \| \ | ||
68 | . : '\(.\)' 2>/dev/null || | ||
69 | echo X/"$0" | | ||
70 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
71 | /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
72 | /^X\/\(\/\).*/{ s//\1/; q; } | ||
73 | s/.*/./; q'` | ||
74 | |||
75 | # PATH needs CR, and LINENO needs CR and PATH. | ||
76 | # Avoid depending upon Character Ranges. | ||
77 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
78 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
79 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
80 | as_cr_digits='0123456789' | ||
81 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
82 | |||
83 | # The user is always right. | ||
84 | if test "${PATH_SEPARATOR+set}" != set; then | ||
85 | echo "#! /bin/sh" >conftest.sh | ||
86 | echo "exit 0" >>conftest.sh | ||
87 | chmod +x conftest.sh | ||
88 | if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | ||
89 | PATH_SEPARATOR=';' | ||
90 | else | ||
91 | PATH_SEPARATOR=: | ||
92 | fi | ||
93 | rm -f conftest.sh | ||
94 | fi | ||
95 | |||
96 | |||
97 | as_lineno_1=$LINENO | ||
98 | as_lineno_2=$LINENO | ||
99 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
100 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
101 | test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
102 | # Find who we are. Look in the path if we contain no path at all | ||
103 | # relative or not. | ||
104 | case $0 in | ||
105 | *[\\/]* ) as_myself=$0 ;; | ||
106 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
107 | for as_dir in $PATH | ||
108 | do | ||
109 | IFS=$as_save_IFS | ||
110 | test -z "$as_dir" && as_dir=. | ||
111 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
112 | done | ||
113 | |||
114 | ;; | ||
115 | esac | ||
116 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
117 | # in which case we are not to be found in the path. | ||
118 | if test "x$as_myself" = x; then | ||
119 | as_myself=$0 | ||
120 | fi | ||
121 | if test ! -f "$as_myself"; then | ||
122 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | ||
123 | { (exit 1); exit 1; }; } | ||
124 | fi | ||
125 | case $CONFIG_SHELL in | ||
126 | '') | ||
127 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
128 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
129 | do | ||
130 | IFS=$as_save_IFS | ||
131 | test -z "$as_dir" && as_dir=. | ||
132 | for as_base in sh bash ksh sh5; do | ||
133 | case $as_dir in | ||
134 | /*) | ||
135 | if ("$as_dir/$as_base" -c ' | ||
136 | as_lineno_1=$LINENO | ||
137 | as_lineno_2=$LINENO | ||
138 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
139 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
140 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
141 | CONFIG_SHELL=$as_dir/$as_base | ||
142 | export CONFIG_SHELL | ||
143 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
144 | fi;; | ||
145 | esac | ||
146 | done | ||
147 | done | ||
148 | ;; | ||
149 | esac | ||
150 | |||
151 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
152 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
153 | # line-number line before each line; the second 'sed' does the real | ||
154 | # work. The second script uses 'N' to pair each line-number line | ||
155 | # with the numbered line, and appends trailing '-' during | ||
156 | # substitution so that $LINENO is not a special case at line end. | ||
157 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
158 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
159 | sed '=' <$as_myself | | ||
160 | sed ' | ||
161 | N | ||
162 | s,$,-, | ||
163 | : loop | ||
164 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
165 | t loop | ||
166 | s,-$,, | ||
167 | s,^['$as_cr_digits']*\n,, | ||
168 | ' >$as_me.lineno && | ||
169 | chmod +x $as_me.lineno || | ||
170 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
171 | { (exit 1); exit 1; }; } | ||
172 | |||
173 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
174 | # (the dirname of $[0] is not the place where we might find the | ||
175 | # original and so on. Autoconf is especially sensible to this). | ||
176 | . ./$as_me.lineno | ||
177 | # Exit status is that of the last command. | ||
178 | exit | ||
179 | } | ||
180 | |||
181 | |||
182 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
183 | *c*,-n*) ECHO_N= ECHO_C=' | ||
184 | ' ECHO_T=' ' ;; | ||
185 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
186 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
187 | esac | ||
188 | |||
189 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
190 | as_expr=expr | ||
191 | else | ||
192 | as_expr=false | ||
193 | fi | ||
194 | |||
195 | rm -f conf$$ conf$$.exe conf$$.file | ||
196 | echo >conf$$.file | ||
197 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
198 | # We could just check for DJGPP; but this test a) works b) is more generic | ||
199 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
200 | if test -f conf$$.exe; then | ||
201 | # Don't use ln at all; we don't have any links | ||
202 | as_ln_s='cp -p' | ||
203 | else | ||
204 | as_ln_s='ln -s' | ||
205 | fi | ||
206 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
207 | as_ln_s=ln | ||
208 | else | ||
209 | as_ln_s='cp -p' | ||
210 | fi | ||
211 | rm -f conf$$ conf$$.exe conf$$.file | ||
212 | |||
213 | as_executable_p="test -f" | ||
214 | |||
215 | # Sed expression to map a string onto a valid CPP name. | ||
216 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | ||
217 | |||
218 | # Sed expression to map a string onto a valid variable name. | ||
219 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | ||
220 | |||
221 | |||
222 | # IFS | ||
223 | # We need space, tab and new line, in precisely that order. | ||
224 | as_nl=' | ||
225 | ' | ||
226 | IFS=" $as_nl" | ||
227 | |||
228 | # CDPATH. | ||
229 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | ||
230 | |||
231 | |||
232 | # Name of the host. | ||
233 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
234 | # so uname gets run too. | ||
235 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
236 | |||
237 | exec 6>&1 | ||
238 | |||
239 | # | ||
240 | # Initializations. | ||
241 | # | ||
242 | ac_default_prefix=/usr/local | ||
243 | cross_compiling=no | ||
244 | subdirs= | ||
245 | MFLAGS= | ||
246 | MAKEFLAGS= | ||
247 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
248 | |||
249 | # Maximum number of lines to put in a shell here document. | ||
250 | # This variable seems obsolete. It should probably be removed, and | ||
251 | # only ac_max_sed_lines should be used. | ||
252 | : ${ac_max_here_lines=38} | ||
253 | |||
254 | # Identity of this package. | ||
255 | PACKAGE_NAME= | ||
256 | PACKAGE_TARNAME= | ||
257 | PACKAGE_VERSION= | ||
258 | PACKAGE_STRING= | ||
259 | PACKAGE_BUGREPORT= | ||
260 | |||
261 | ac_unique_file="ssh.c" | ||
262 | # Factoring default headers for most tests. | ||
263 | ac_includes_default="\ | ||
264 | #include <stdio.h> | ||
265 | #if HAVE_SYS_TYPES_H | ||
266 | # include <sys/types.h> | ||
267 | #endif | ||
268 | #if HAVE_SYS_STAT_H | ||
269 | # include <sys/stat.h> | ||
270 | #endif | ||
271 | #if STDC_HEADERS | ||
272 | # include <stdlib.h> | ||
273 | # include <stddef.h> | ||
274 | #else | ||
275 | # if HAVE_STDLIB_H | ||
276 | # include <stdlib.h> | ||
277 | # endif | ||
278 | #endif | ||
279 | #if HAVE_STRING_H | ||
280 | # if !STDC_HEADERS && HAVE_MEMORY_H | ||
281 | # include <memory.h> | ||
282 | # endif | ||
283 | # include <string.h> | ||
284 | #endif | ||
285 | #if HAVE_STRINGS_H | ||
286 | # include <strings.h> | ||
287 | #endif | ||
288 | #if HAVE_INTTYPES_H | ||
289 | # include <inttypes.h> | ||
290 | #else | ||
291 | # if HAVE_STDINT_H | ||
292 | # include <stdint.h> | ||
293 | # endif | ||
294 | #endif | ||
295 | #if HAVE_UNISTD_H | ||
296 | # include <unistd.h> | ||
297 | #endif" | ||
298 | |||
299 | |||
300 | # Initialize some variables set by options. | ||
301 | ac_init_help= | ||
302 | ac_init_version=false | ||
303 | # The variables have the same names as the options, with | ||
304 | # dashes changed to underlines. | ||
305 | cache_file=/dev/null | ||
306 | exec_prefix=NONE | ||
307 | no_create= | ||
308 | no_recursion= | ||
309 | prefix=NONE | ||
310 | program_prefix=NONE | ||
311 | program_suffix=NONE | ||
312 | program_transform_name=s,x,x, | ||
313 | silent= | ||
314 | site= | ||
315 | srcdir= | ||
316 | verbose= | ||
317 | x_includes=NONE | ||
318 | x_libraries=NONE | ||
319 | |||
320 | # Installation directory options. | ||
321 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
322 | # and all the variables that are supposed to be based on exec_prefix | ||
323 | # by default will actually change. | ||
324 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
325 | bindir='${exec_prefix}/bin' | ||
326 | sbindir='${exec_prefix}/sbin' | ||
327 | libexecdir='${exec_prefix}/libexec' | ||
328 | datadir='${prefix}/share' | ||
329 | sysconfdir='${prefix}/etc' | ||
330 | sharedstatedir='${prefix}/com' | ||
331 | localstatedir='${prefix}/var' | ||
332 | libdir='${exec_prefix}/lib' | ||
333 | includedir='${prefix}/include' | ||
334 | oldincludedir='/usr/include' | ||
335 | infodir='${prefix}/info' | ||
336 | mandir='${prefix}/man' | ||
337 | |||
338 | ac_prev= | ||
339 | for ac_option | ||
340 | do | ||
341 | # If the previous option needs an argument, assign it. | ||
342 | if test -n "$ac_prev"; then | ||
343 | eval "$ac_prev=\$ac_option" | ||
344 | ac_prev= | ||
345 | continue | ||
346 | fi | ||
347 | |||
348 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | ||
349 | |||
350 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
351 | |||
352 | case $ac_option in | ||
353 | |||
354 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
355 | ac_prev=bindir ;; | ||
356 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
357 | bindir=$ac_optarg ;; | ||
358 | |||
359 | -build | --build | --buil | --bui | --bu) | ||
360 | ac_prev=build_alias ;; | ||
361 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
362 | build_alias=$ac_optarg ;; | ||
363 | |||
364 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
365 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
366 | ac_prev=cache_file ;; | ||
367 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
368 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
369 | cache_file=$ac_optarg ;; | ||
370 | |||
371 | --config-cache | -C) | ||
372 | cache_file=config.cache ;; | ||
373 | |||
374 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | ||
375 | ac_prev=datadir ;; | ||
376 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | ||
377 | | --da=*) | ||
378 | datadir=$ac_optarg ;; | ||
379 | |||
380 | -disable-* | --disable-*) | ||
381 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
382 | # Reject names that are not valid shell variable names. | ||
383 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
384 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
385 | { (exit 1); exit 1; }; } | ||
386 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
387 | eval "enable_$ac_feature=no" ;; | ||
388 | |||
389 | -enable-* | --enable-*) | ||
390 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
391 | # Reject names that are not valid shell variable names. | ||
392 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
393 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
394 | { (exit 1); exit 1; }; } | ||
395 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
396 | case $ac_option in | ||
397 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
398 | *) ac_optarg=yes ;; | ||
399 | esac | ||
400 | eval "enable_$ac_feature='$ac_optarg'" ;; | ||
401 | |||
402 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
403 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
404 | | --exec | --exe | --ex) | ||
405 | ac_prev=exec_prefix ;; | ||
406 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
407 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
408 | | --exec=* | --exe=* | --ex=*) | ||
409 | exec_prefix=$ac_optarg ;; | ||
410 | |||
411 | -gas | --gas | --ga | --g) | ||
412 | # Obsolete; use --with-gas. | ||
413 | with_gas=yes ;; | ||
414 | |||
415 | -help | --help | --hel | --he | -h) | ||
416 | ac_init_help=long ;; | ||
417 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
418 | ac_init_help=recursive ;; | ||
419 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
420 | ac_init_help=short ;; | ||
421 | |||
422 | -host | --host | --hos | --ho) | ||
423 | ac_prev=host_alias ;; | ||
424 | -host=* | --host=* | --hos=* | --ho=*) | ||
425 | host_alias=$ac_optarg ;; | ||
426 | |||
427 | -includedir | --includedir | --includedi | --included | --include \ | ||
428 | | --includ | --inclu | --incl | --inc) | ||
429 | ac_prev=includedir ;; | ||
430 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
431 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
432 | includedir=$ac_optarg ;; | ||
433 | |||
434 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
435 | ac_prev=infodir ;; | ||
436 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
437 | infodir=$ac_optarg ;; | ||
438 | |||
439 | -libdir | --libdir | --libdi | --libd) | ||
440 | ac_prev=libdir ;; | ||
441 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
442 | libdir=$ac_optarg ;; | ||
443 | |||
444 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
445 | | --libexe | --libex | --libe) | ||
446 | ac_prev=libexecdir ;; | ||
447 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
448 | | --libexe=* | --libex=* | --libe=*) | ||
449 | libexecdir=$ac_optarg ;; | ||
450 | |||
451 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
452 | | --localstate | --localstat | --localsta | --localst \ | ||
453 | | --locals | --local | --loca | --loc | --lo) | ||
454 | ac_prev=localstatedir ;; | ||
455 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
456 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | ||
457 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
458 | localstatedir=$ac_optarg ;; | ||
459 | |||
460 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
461 | ac_prev=mandir ;; | ||
462 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
463 | mandir=$ac_optarg ;; | ||
464 | |||
465 | -nfp | --nfp | --nf) | ||
466 | # Obsolete; use --without-fp. | ||
467 | with_fp=no ;; | ||
468 | |||
469 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
470 | | --no-cr | --no-c | -n) | ||
471 | no_create=yes ;; | ||
472 | |||
473 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
474 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
475 | no_recursion=yes ;; | ||
476 | |||
477 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
478 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
479 | | --oldin | --oldi | --old | --ol | --o) | ||
480 | ac_prev=oldincludedir ;; | ||
481 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
482 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
483 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
484 | oldincludedir=$ac_optarg ;; | ||
485 | |||
486 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
487 | ac_prev=prefix ;; | ||
488 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
489 | prefix=$ac_optarg ;; | ||
490 | |||
491 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
492 | | --program-pre | --program-pr | --program-p) | ||
493 | ac_prev=program_prefix ;; | ||
494 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
495 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
496 | program_prefix=$ac_optarg ;; | ||
497 | |||
498 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
499 | | --program-suf | --program-su | --program-s) | ||
500 | ac_prev=program_suffix ;; | ||
501 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
502 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
503 | program_suffix=$ac_optarg ;; | ||
504 | |||
505 | -program-transform-name | --program-transform-name \ | ||
506 | | --program-transform-nam | --program-transform-na \ | ||
507 | | --program-transform-n | --program-transform- \ | ||
508 | | --program-transform | --program-transfor \ | ||
509 | | --program-transfo | --program-transf \ | ||
510 | | --program-trans | --program-tran \ | ||
511 | | --progr-tra | --program-tr | --program-t) | ||
512 | ac_prev=program_transform_name ;; | ||
513 | -program-transform-name=* | --program-transform-name=* \ | ||
514 | | --program-transform-nam=* | --program-transform-na=* \ | ||
515 | | --program-transform-n=* | --program-transform-=* \ | ||
516 | | --program-transform=* | --program-transfor=* \ | ||
517 | | --program-transfo=* | --program-transf=* \ | ||
518 | | --program-trans=* | --program-tran=* \ | ||
519 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
520 | program_transform_name=$ac_optarg ;; | ||
521 | |||
522 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
523 | | -silent | --silent | --silen | --sile | --sil) | ||
524 | silent=yes ;; | ||
525 | |||
526 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
527 | ac_prev=sbindir ;; | ||
528 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
529 | | --sbi=* | --sb=*) | ||
530 | sbindir=$ac_optarg ;; | ||
531 | |||
532 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
533 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
534 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
535 | | --sha | --sh) | ||
536 | ac_prev=sharedstatedir ;; | ||
537 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
538 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
539 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
540 | | --sha=* | --sh=*) | ||
541 | sharedstatedir=$ac_optarg ;; | ||
542 | |||
543 | -site | --site | --sit) | ||
544 | ac_prev=site ;; | ||
545 | -site=* | --site=* | --sit=*) | ||
546 | site=$ac_optarg ;; | ||
547 | |||
548 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
549 | ac_prev=srcdir ;; | ||
550 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
551 | srcdir=$ac_optarg ;; | ||
552 | |||
553 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
554 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
555 | ac_prev=sysconfdir ;; | ||
556 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
557 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
558 | sysconfdir=$ac_optarg ;; | ||
559 | |||
560 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
561 | ac_prev=target_alias ;; | ||
562 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
563 | target_alias=$ac_optarg ;; | ||
564 | |||
565 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
566 | verbose=yes ;; | ||
567 | |||
568 | -version | --version | --versio | --versi | --vers | -V) | ||
569 | ac_init_version=: ;; | ||
570 | |||
571 | -with-* | --with-*) | ||
572 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
573 | # Reject names that are not valid shell variable names. | ||
574 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
575 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
576 | { (exit 1); exit 1; }; } | ||
577 | ac_package=`echo $ac_package| sed 's/-/_/g'` | ||
578 | case $ac_option in | ||
579 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
580 | *) ac_optarg=yes ;; | ||
581 | esac | ||
582 | eval "with_$ac_package='$ac_optarg'" ;; | ||
583 | |||
584 | -without-* | --without-*) | ||
585 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
586 | # Reject names that are not valid shell variable names. | ||
587 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
588 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
589 | { (exit 1); exit 1; }; } | ||
590 | ac_package=`echo $ac_package | sed 's/-/_/g'` | ||
591 | eval "with_$ac_package=no" ;; | ||
592 | |||
593 | --x) | ||
594 | # Obsolete; use --with-x. | ||
595 | with_x=yes ;; | ||
596 | |||
597 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
598 | | --x-incl | --x-inc | --x-in | --x-i) | ||
599 | ac_prev=x_includes ;; | ||
600 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
601 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
602 | x_includes=$ac_optarg ;; | ||
603 | |||
604 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
605 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
606 | ac_prev=x_libraries ;; | ||
607 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
608 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
609 | x_libraries=$ac_optarg ;; | ||
610 | |||
611 | -*) { echo "$as_me: error: unrecognized option: $ac_option | ||
612 | Try \`$0 --help' for more information." >&2 | ||
613 | { (exit 1); exit 1; }; } | ||
614 | ;; | ||
615 | |||
616 | *=*) | ||
617 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
618 | # Reject names that are not valid shell variable names. | ||
619 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | ||
620 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | ||
621 | { (exit 1); exit 1; }; } | ||
622 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | ||
623 | eval "$ac_envvar='$ac_optarg'" | ||
624 | export $ac_envvar ;; | ||
625 | |||
626 | *) | ||
627 | # FIXME: should be removed in autoconf 3.0. | ||
628 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
629 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
630 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
631 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
632 | ;; | ||
633 | |||
634 | esac | ||
635 | done | ||
636 | |||
637 | if test -n "$ac_prev"; then | ||
638 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
639 | { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
640 | { (exit 1); exit 1; }; } | ||
641 | fi | ||
642 | |||
643 | # Be sure to have absolute paths. | ||
644 | for ac_var in exec_prefix prefix | ||
645 | do | ||
646 | eval ac_val=$`echo $ac_var` | ||
647 | case $ac_val in | ||
648 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
649 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
650 | { (exit 1); exit 1; }; };; | ||
651 | esac | ||
652 | done | ||
653 | |||
654 | # Be sure to have absolute paths. | ||
655 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
656 | localstatedir libdir includedir oldincludedir infodir mandir | ||
657 | do | ||
658 | eval ac_val=$`echo $ac_var` | ||
659 | case $ac_val in | ||
660 | [\\/$]* | ?:[\\/]* ) ;; | ||
661 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
662 | { (exit 1); exit 1; }; };; | ||
663 | esac | ||
664 | done | ||
665 | |||
666 | # There might be people who depend on the old broken behavior: `$host' | ||
667 | # used to hold the argument of --host etc. | ||
668 | # FIXME: To remove some day. | ||
669 | build=$build_alias | ||
670 | host=$host_alias | ||
671 | target=$target_alias | ||
672 | |||
673 | # FIXME: To remove some day. | ||
674 | if test "x$host_alias" != x; then | ||
675 | if test "x$build_alias" = x; then | ||
676 | cross_compiling=maybe | ||
677 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
678 | If a cross compiler is detected then cross compile mode will be used." >&2 | ||
679 | elif test "x$build_alias" != "x$host_alias"; then | ||
680 | cross_compiling=yes | ||
681 | fi | ||
682 | fi | ||
683 | |||
684 | ac_tool_prefix= | ||
685 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
686 | |||
687 | test "$silent" = yes && exec 6>/dev/null | ||
688 | |||
689 | |||
690 | # Find the source files, if location was not specified. | ||
691 | if test -z "$srcdir"; then | ||
692 | ac_srcdir_defaulted=yes | ||
693 | # Try the directory containing this script, then its parent. | ||
694 | ac_confdir=`(dirname "$0") 2>/dev/null || | ||
695 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
696 | X"$0" : 'X\(//\)[^/]' \| \ | ||
697 | X"$0" : 'X\(//\)$' \| \ | ||
698 | X"$0" : 'X\(/\)' \| \ | ||
699 | . : '\(.\)' 2>/dev/null || | ||
700 | echo X"$0" | | ||
701 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
702 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
703 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
704 | /^X\(\/\).*/{ s//\1/; q; } | ||
705 | s/.*/./; q'` | ||
706 | srcdir=$ac_confdir | ||
707 | if test ! -r $srcdir/$ac_unique_file; then | ||
708 | srcdir=.. | ||
709 | fi | ||
710 | else | ||
711 | ac_srcdir_defaulted=no | ||
712 | fi | ||
713 | if test ! -r $srcdir/$ac_unique_file; then | ||
714 | if test "$ac_srcdir_defaulted" = yes; then | ||
715 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | ||
716 | { (exit 1); exit 1; }; } | ||
717 | else | ||
718 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
719 | { (exit 1); exit 1; }; } | ||
720 | fi | ||
721 | fi | ||
722 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | ||
723 | ac_env_build_alias_set=${build_alias+set} | ||
724 | ac_env_build_alias_value=$build_alias | ||
725 | ac_cv_env_build_alias_set=${build_alias+set} | ||
726 | ac_cv_env_build_alias_value=$build_alias | ||
727 | ac_env_host_alias_set=${host_alias+set} | ||
728 | ac_env_host_alias_value=$host_alias | ||
729 | ac_cv_env_host_alias_set=${host_alias+set} | ||
730 | ac_cv_env_host_alias_value=$host_alias | ||
731 | ac_env_target_alias_set=${target_alias+set} | ||
732 | ac_env_target_alias_value=$target_alias | ||
733 | ac_cv_env_target_alias_set=${target_alias+set} | ||
734 | ac_cv_env_target_alias_value=$target_alias | ||
735 | ac_env_CC_set=${CC+set} | ||
736 | ac_env_CC_value=$CC | ||
737 | ac_cv_env_CC_set=${CC+set} | ||
738 | ac_cv_env_CC_value=$CC | ||
739 | ac_env_CFLAGS_set=${CFLAGS+set} | ||
740 | ac_env_CFLAGS_value=$CFLAGS | ||
741 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
742 | ac_cv_env_CFLAGS_value=$CFLAGS | ||
743 | ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
744 | ac_env_LDFLAGS_value=$LDFLAGS | ||
745 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
746 | ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
747 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
748 | ac_env_CPPFLAGS_value=$CPPFLAGS | ||
749 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
750 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
751 | ac_env_CPP_set=${CPP+set} | ||
752 | ac_env_CPP_value=$CPP | ||
753 | ac_cv_env_CPP_set=${CPP+set} | ||
754 | ac_cv_env_CPP_value=$CPP | ||
755 | |||
756 | # | ||
757 | # Report the --help message. | ||
758 | # | ||
759 | if test "$ac_init_help" = "long"; then | ||
760 | # Omit some internal or obsolete options to make the list less imposing. | ||
761 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
762 | cat <<_ACEOF | ||
763 | \`configure' configures this package to adapt to many kinds of systems. | ||
764 | |||
765 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
766 | |||
767 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
768 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
769 | |||
770 | Defaults for the options are specified in brackets. | ||
771 | |||
772 | Configuration: | ||
773 | -h, --help display this help and exit | ||
774 | --help=short display options specific to this package | ||
775 | --help=recursive display the short help of all the included packages | ||
776 | -V, --version display version information and exit | ||
777 | -q, --quiet, --silent do not print \`checking...' messages | ||
778 | --cache-file=FILE cache test results in FILE [disabled] | ||
779 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
780 | -n, --no-create do not create output files | ||
781 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
782 | |||
783 | _ACEOF | ||
784 | |||
785 | cat <<_ACEOF | ||
786 | Installation directories: | ||
787 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
788 | [$ac_default_prefix] | ||
789 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
790 | [PREFIX] | ||
791 | |||
792 | By default, \`make install' will install all the files in | ||
793 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
794 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
795 | for instance \`--prefix=\$HOME'. | ||
796 | |||
797 | For better control, use the options below. | ||
798 | |||
799 | Fine tuning of the installation directories: | ||
800 | --bindir=DIR user executables [EPREFIX/bin] | ||
801 | --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
802 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
803 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
804 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
805 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
806 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
807 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
808 | --includedir=DIR C header files [PREFIX/include] | ||
809 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
810 | --infodir=DIR info documentation [PREFIX/info] | ||
811 | --mandir=DIR man documentation [PREFIX/man] | ||
812 | _ACEOF | ||
813 | |||
814 | cat <<\_ACEOF | ||
815 | |||
816 | System types: | ||
817 | --build=BUILD configure for building on BUILD [guessed] | ||
818 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | ||
819 | _ACEOF | ||
820 | fi | ||
821 | |||
822 | if test -n "$ac_init_help"; then | ||
823 | |||
824 | cat <<\_ACEOF | ||
825 | |||
826 | Optional Features: | ||
827 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
828 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
829 | --disable-largefile omit support for large files | ||
830 | --disable-strip Disable calling strip(1) on install | ||
831 | --disable-lastlog disable use of lastlog even if detected no | ||
832 | --disable-utmp disable use of utmp even if detected no | ||
833 | --disable-utmpx disable use of utmpx even if detected no | ||
834 | --disable-wtmp disable use of wtmp even if detected no | ||
835 | --disable-wtmpx disable use of wtmpx even if detected no | ||
836 | --disable-libutil disable use of libutil (login() etc.) no | ||
837 | --disable-pututline disable use of pututline() etc. (uwtmp) no | ||
838 | --disable-pututxline disable use of pututxline() etc. (uwtmpx) no | ||
839 | |||
840 | Optional Packages: | ||
841 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
842 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
843 | --with-osfsia Enable Digital Unix SIA | ||
844 | --with-cflags Specify additional flags to pass to compiler | ||
845 | --with-cppflags Specify additional flags to pass to preprocessor | ||
846 | --with-ldflags Specify additional flags to pass to linker | ||
847 | --with-libs Specify additional libraries to link with | ||
848 | --without-rpath Disable auto-added -R linker paths | ||
849 | --with-zlib=PATH Use zlib in PATH | ||
850 | --with-skey[=PATH] Enable S/Key support | ||
851 | (optionally in PATH) | ||
852 | --with-tcp-wrappers[=PATH] Enable tcpwrappers support | ||
853 | (optionally in PATH) | ||
854 | --with-pam Enable PAM support | ||
855 | --with-ssl-dir=PATH Specify path to OpenSSL installation | ||
856 | --with-rand-helper Use subprocess to gather strong randomness | ||
857 | --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT | ||
858 | --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool) | ||
859 | --with-entropy-timeout Specify entropy gathering command timeout (msec) | ||
860 | --with-privsep-user=user Specify non-privileged user for privilege separation | ||
861 | --with-sectok Enable smartcard support using libsectok | ||
862 | --with-opensc=PFX Enable smartcard support using OpenSC | ||
863 | --with-kerberos5=PATH Enable Kerberos 5 support | ||
864 | --with-kerberos4=PATH Enable Kerberos 4 support | ||
865 | --with-afs=PATH Enable AFS support | ||
866 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) | ||
867 | --with-xauth=PATH Specify path to xauth program | ||
868 | --with-mantype=man|cat|doc Set man page type | ||
869 | --with-md5-passwords Enable use of MD5 passwords | ||
870 | --without-shadow Disable shadow password support | ||
871 | --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY | ||
872 | --with-default-path= Specify default \$PATH environment for server | ||
873 | --with-superuser-path= Specify different path for super-user | ||
874 | --with-ipv4-default Use IPv4 by connections unless '-6' specified | ||
875 | --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses | ||
876 | --with-bsd-auth Enable BSD auth support | ||
877 | --with-pid-dir=PATH Specify location of ssh.pid file | ||
878 | --with-lastlog=FILE|DIR specify lastlog location common locations | ||
879 | |||
880 | Some influential environment variables: | ||
881 | CC C compiler command | ||
882 | CFLAGS C compiler flags | ||
883 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
884 | nonstandard directory <lib dir> | ||
885 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
886 | headers in a nonstandard directory <include dir> | ||
887 | CPP C preprocessor | ||
888 | |||
889 | Use these variables to override the choices made by `configure' or to help | ||
890 | it to find libraries and programs with nonstandard names/locations. | ||
891 | |||
892 | _ACEOF | ||
893 | fi | ||
894 | |||
895 | if test "$ac_init_help" = "recursive"; then | ||
896 | # If there are subdirs, report their specific --help. | ||
897 | ac_popdir=`pwd` | ||
898 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
899 | test -d $ac_dir || continue | ||
900 | ac_builddir=. | ||
901 | |||
902 | if test "$ac_dir" != .; then | ||
903 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
904 | # A "../" for each directory in $ac_dir_suffix. | ||
905 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
906 | else | ||
907 | ac_dir_suffix= ac_top_builddir= | ||
908 | fi | ||
909 | |||
910 | case $srcdir in | ||
911 | .) # No --srcdir option. We are building in place. | ||
912 | ac_srcdir=. | ||
913 | if test -z "$ac_top_builddir"; then | ||
914 | ac_top_srcdir=. | ||
915 | else | ||
916 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
917 | fi ;; | ||
918 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
919 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
920 | ac_top_srcdir=$srcdir ;; | ||
921 | *) # Relative path. | ||
922 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
923 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
924 | esac | ||
925 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | ||
926 | # absolute. | ||
927 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | ||
928 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | ||
929 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | ||
930 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | ||
931 | |||
932 | cd $ac_dir | ||
933 | # Check for guested configure; otherwise get Cygnus style configure. | ||
934 | if test -f $ac_srcdir/configure.gnu; then | ||
935 | echo | ||
936 | $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
937 | elif test -f $ac_srcdir/configure; then | ||
938 | echo | ||
939 | $SHELL $ac_srcdir/configure --help=recursive | ||
940 | elif test -f $ac_srcdir/configure.ac || | ||
941 | test -f $ac_srcdir/configure.in; then | ||
942 | echo | ||
943 | $ac_configure --help | ||
944 | else | ||
945 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
946 | fi | ||
947 | cd $ac_popdir | ||
948 | done | ||
949 | fi | ||
950 | |||
951 | test -n "$ac_init_help" && exit 0 | ||
952 | if $ac_init_version; then | ||
953 | cat <<\_ACEOF | ||
954 | |||
955 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | ||
956 | Free Software Foundation, Inc. | ||
957 | This configure script is free software; the Free Software Foundation | ||
958 | gives unlimited permission to copy, distribute and modify it. | ||
959 | _ACEOF | ||
960 | exit 0 | ||
961 | fi | ||
962 | exec 5>config.log | ||
963 | cat >&5 <<_ACEOF | ||
964 | This file contains any messages produced by compilers while | ||
965 | running configure, to aid debugging if configure makes a mistake. | ||
966 | |||
967 | It was created by $as_me, which was | ||
968 | generated by GNU Autoconf 2.53. Invocation command line was | ||
969 | |||
970 | $ $0 $@ | ||
971 | |||
972 | _ACEOF | ||
973 | { | ||
974 | cat <<_ASUNAME | ||
975 | @%:@@%:@ --------- @%:@@%:@ | ||
976 | @%:@@%:@ Platform. @%:@@%:@ | ||
977 | @%:@@%:@ --------- @%:@@%:@ | ||
978 | |||
979 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
980 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
981 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
982 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
983 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
984 | |||
985 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
986 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
987 | |||
988 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
989 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
990 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
991 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | ||
992 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
993 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
994 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
995 | |||
996 | _ASUNAME | ||
997 | |||
998 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
999 | for as_dir in $PATH | ||
1000 | do | ||
1001 | IFS=$as_save_IFS | ||
1002 | test -z "$as_dir" && as_dir=. | ||
1003 | echo "PATH: $as_dir" | ||
1004 | done | ||
1005 | |||
1006 | } >&5 | ||
1007 | |||
1008 | cat >&5 <<_ACEOF | ||
1009 | |||
1010 | |||
1011 | @%:@@%:@ ----------- @%:@@%:@ | ||
1012 | @%:@@%:@ Core tests. @%:@@%:@ | ||
1013 | @%:@@%:@ ----------- @%:@@%:@ | ||
1014 | |||
1015 | _ACEOF | ||
1016 | |||
1017 | |||
1018 | # Keep a trace of the command line. | ||
1019 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
1020 | # Also quote any args containing shell meta-characters. | ||
1021 | ac_configure_args= | ||
1022 | ac_sep= | ||
1023 | for ac_arg | ||
1024 | do | ||
1025 | case $ac_arg in | ||
1026 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
1027 | | --no-cr | --no-c | -n ) continue ;; | ||
1028 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
1029 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
1030 | continue ;; | ||
1031 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1032 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1033 | esac | ||
1034 | case " $ac_configure_args " in | ||
1035 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
1036 | *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ||
1037 | ac_sep=" " ;; | ||
1038 | esac | ||
1039 | # Get rid of the leading space. | ||
1040 | done | ||
1041 | |||
1042 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
1043 | # config.log. We remove comments because anyway the quotes in there | ||
1044 | # would cause problems or look ugly. | ||
1045 | # WARNING: Be sure not to use single quotes in there, as some shells, | ||
1046 | # such as our DU 5.0 friend, will then `close' the trap. | ||
1047 | trap 'exit_status=$? | ||
1048 | # Save into config.log some information that might help in debugging. | ||
1049 | { | ||
1050 | echo | ||
1051 | cat <<\_ASBOX | ||
1052 | @%:@@%:@ ---------------- @%:@@%:@ | ||
1053 | @%:@@%:@ Cache variables. @%:@@%:@ | ||
1054 | @%:@@%:@ ---------------- @%:@@%:@ | ||
1055 | _ASBOX | ||
1056 | echo | ||
1057 | # The following way of writing the cache mishandles newlines in values, | ||
1058 | { | ||
1059 | (set) 2>&1 | | ||
1060 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | ||
1061 | *ac_space=\ *) | ||
1062 | sed -n \ | ||
1063 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | ||
1064 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | ||
1065 | ;; | ||
1066 | *) | ||
1067 | sed -n \ | ||
1068 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
1069 | ;; | ||
1070 | esac; | ||
1071 | } | ||
1072 | echo | ||
1073 | if test -s confdefs.h; then | ||
1074 | cat <<\_ASBOX | ||
1075 | @%:@@%:@ ----------- @%:@@%:@ | ||
1076 | @%:@@%:@ confdefs.h. @%:@@%:@ | ||
1077 | @%:@@%:@ ----------- @%:@@%:@ | ||
1078 | _ASBOX | ||
1079 | echo | ||
1080 | sed "/^$/d" confdefs.h | ||
1081 | echo | ||
1082 | fi | ||
1083 | test "$ac_signal" != 0 && | ||
1084 | echo "$as_me: caught signal $ac_signal" | ||
1085 | echo "$as_me: exit $exit_status" | ||
1086 | } >&5 | ||
1087 | rm -f core core.* *.core && | ||
1088 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | ||
1089 | exit $exit_status | ||
1090 | ' 0 | ||
1091 | for ac_signal in 1 2 13 15; do | ||
1092 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1093 | done | ||
1094 | ac_signal=0 | ||
1095 | |||
1096 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1097 | rm -rf conftest* confdefs.h | ||
1098 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
1099 | echo >confdefs.h | ||
1100 | |||
1101 | # Predefined preprocessor variables. | ||
1102 | |||
1103 | cat >>confdefs.h <<_ACEOF | ||
1104 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" | ||
1105 | _ACEOF | ||
1106 | |||
1107 | |||
1108 | cat >>confdefs.h <<_ACEOF | ||
1109 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1110 | _ACEOF | ||
1111 | |||
1112 | |||
1113 | cat >>confdefs.h <<_ACEOF | ||
1114 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1115 | _ACEOF | ||
1116 | |||
1117 | |||
1118 | cat >>confdefs.h <<_ACEOF | ||
1119 | @%:@define PACKAGE_STRING "$PACKAGE_STRING" | ||
1120 | _ACEOF | ||
1121 | |||
1122 | |||
1123 | cat >>confdefs.h <<_ACEOF | ||
1124 | @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1125 | _ACEOF | ||
1126 | |||
1127 | |||
1128 | # Let the site file select an alternate cache file if it wants to. | ||
1129 | # Prefer explicitly selected file to automatically selected ones. | ||
1130 | if test -z "$CONFIG_SITE"; then | ||
1131 | if test "x$prefix" != xNONE; then | ||
1132 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | ||
1133 | else | ||
1134 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
1135 | fi | ||
1136 | fi | ||
1137 | for ac_site_file in $CONFIG_SITE; do | ||
1138 | if test -r "$ac_site_file"; then | ||
1139 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | ||
1140 | echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1141 | sed 's/^/| /' "$ac_site_file" >&5 | ||
1142 | . "$ac_site_file" | ||
1143 | fi | ||
1144 | done | ||
1145 | |||
1146 | if test -r "$cache_file"; then | ||
1147 | # Some versions of bash will fail to source /dev/null (special | ||
1148 | # files actually), so we avoid doing that. | ||
1149 | if test -f "$cache_file"; then | ||
1150 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | ||
1151 | echo "$as_me: loading cache $cache_file" >&6;} | ||
1152 | case $cache_file in | ||
1153 | [\\/]* | ?:[\\/]* ) . $cache_file;; | ||
1154 | *) . ./$cache_file;; | ||
1155 | esac | ||
1156 | fi | ||
1157 | else | ||
1158 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
1159 | echo "$as_me: creating cache $cache_file" >&6;} | ||
1160 | >$cache_file | ||
1161 | fi | ||
1162 | |||
1163 | # Check that the precious variables saved in the cache have kept the same | ||
1164 | # value. | ||
1165 | ac_cache_corrupted=false | ||
1166 | for ac_var in `(set) 2>&1 | | ||
1167 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
1168 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
1169 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
1170 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | ||
1171 | eval ac_new_val="\$ac_env_${ac_var}_value" | ||
1172 | case $ac_old_set,$ac_new_set in | ||
1173 | set,) | ||
1174 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
1175 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
1176 | ac_cache_corrupted=: ;; | ||
1177 | ,set) | ||
1178 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
1179 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
1180 | ac_cache_corrupted=: ;; | ||
1181 | ,);; | ||
1182 | *) | ||
1183 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
1184 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | ||
1185 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
1186 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | ||
1187 | echo "$as_me: former value: $ac_old_val" >&2;} | ||
1188 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | ||
1189 | echo "$as_me: current value: $ac_new_val" >&2;} | ||
1190 | ac_cache_corrupted=: | ||
1191 | fi;; | ||
1192 | esac | ||
1193 | # Pass precious variables to config.status. | ||
1194 | if test "$ac_new_set" = set; then | ||
1195 | case $ac_new_val in | ||
1196 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1197 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1198 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
1199 | esac | ||
1200 | case " $ac_configure_args " in | ||
1201 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
1202 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
1203 | esac | ||
1204 | fi | ||
1205 | done | ||
1206 | if $ac_cache_corrupted; then | ||
1207 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
1208 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
1209 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
1210 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
1211 | { (exit 1); exit 1; }; } | ||
1212 | fi | ||
1213 | |||
1214 | ac_ext=c | ||
1215 | ac_cpp='$CPP $CPPFLAGS' | ||
1216 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1217 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1218 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1219 | |||
1220 | |||
1221 | |||
1222 | |||
1223 | |||
1224 | |||
1225 | |||
1226 | |||
1227 | |||
1228 | |||
1229 | |||
1230 | |||
1231 | |||
1232 | |||
1233 | |||
1234 | |||
1235 | |||
1236 | |||
1237 | |||
1238 | |||
1239 | ac_config_headers="$ac_config_headers config.h" | ||
1240 | |||
1241 | ac_ext=c | ||
1242 | ac_cpp='$CPP $CPPFLAGS' | ||
1243 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1244 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1245 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1246 | if test -n "$ac_tool_prefix"; then | ||
1247 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
1248 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
1249 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1250 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1251 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1252 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1253 | else | ||
1254 | if test -n "$CC"; then | ||
1255 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1256 | else | ||
1257 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1258 | for as_dir in $PATH | ||
1259 | do | ||
1260 | IFS=$as_save_IFS | ||
1261 | test -z "$as_dir" && as_dir=. | ||
1262 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1263 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1264 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
1265 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1266 | break 2 | ||
1267 | fi | ||
1268 | done | ||
1269 | done | ||
1270 | |||
1271 | fi | ||
1272 | fi | ||
1273 | CC=$ac_cv_prog_CC | ||
1274 | if test -n "$CC"; then | ||
1275 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1276 | echo "${ECHO_T}$CC" >&6 | ||
1277 | else | ||
1278 | echo "$as_me:$LINENO: result: no" >&5 | ||
1279 | echo "${ECHO_T}no" >&6 | ||
1280 | fi | ||
1281 | |||
1282 | fi | ||
1283 | if test -z "$ac_cv_prog_CC"; then | ||
1284 | ac_ct_CC=$CC | ||
1285 | # Extract the first word of "gcc", so it can be a program name with args. | ||
1286 | set dummy gcc; ac_word=$2 | ||
1287 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1288 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1289 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1290 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1291 | else | ||
1292 | if test -n "$ac_ct_CC"; then | ||
1293 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1294 | else | ||
1295 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1296 | for as_dir in $PATH | ||
1297 | do | ||
1298 | IFS=$as_save_IFS | ||
1299 | test -z "$as_dir" && as_dir=. | ||
1300 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1301 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1302 | ac_cv_prog_ac_ct_CC="gcc" | ||
1303 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1304 | break 2 | ||
1305 | fi | ||
1306 | done | ||
1307 | done | ||
1308 | |||
1309 | fi | ||
1310 | fi | ||
1311 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1312 | if test -n "$ac_ct_CC"; then | ||
1313 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1314 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1315 | else | ||
1316 | echo "$as_me:$LINENO: result: no" >&5 | ||
1317 | echo "${ECHO_T}no" >&6 | ||
1318 | fi | ||
1319 | |||
1320 | CC=$ac_ct_CC | ||
1321 | else | ||
1322 | CC="$ac_cv_prog_CC" | ||
1323 | fi | ||
1324 | |||
1325 | if test -z "$CC"; then | ||
1326 | if test -n "$ac_tool_prefix"; then | ||
1327 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
1328 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
1329 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1330 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1331 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1332 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1333 | else | ||
1334 | if test -n "$CC"; then | ||
1335 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1336 | else | ||
1337 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1338 | for as_dir in $PATH | ||
1339 | do | ||
1340 | IFS=$as_save_IFS | ||
1341 | test -z "$as_dir" && as_dir=. | ||
1342 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1343 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1344 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
1345 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1346 | break 2 | ||
1347 | fi | ||
1348 | done | ||
1349 | done | ||
1350 | |||
1351 | fi | ||
1352 | fi | ||
1353 | CC=$ac_cv_prog_CC | ||
1354 | if test -n "$CC"; then | ||
1355 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1356 | echo "${ECHO_T}$CC" >&6 | ||
1357 | else | ||
1358 | echo "$as_me:$LINENO: result: no" >&5 | ||
1359 | echo "${ECHO_T}no" >&6 | ||
1360 | fi | ||
1361 | |||
1362 | fi | ||
1363 | if test -z "$ac_cv_prog_CC"; then | ||
1364 | ac_ct_CC=$CC | ||
1365 | # Extract the first word of "cc", so it can be a program name with args. | ||
1366 | set dummy cc; ac_word=$2 | ||
1367 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1368 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1369 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1370 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1371 | else | ||
1372 | if test -n "$ac_ct_CC"; then | ||
1373 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1374 | else | ||
1375 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1376 | for as_dir in $PATH | ||
1377 | do | ||
1378 | IFS=$as_save_IFS | ||
1379 | test -z "$as_dir" && as_dir=. | ||
1380 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1381 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1382 | ac_cv_prog_ac_ct_CC="cc" | ||
1383 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1384 | break 2 | ||
1385 | fi | ||
1386 | done | ||
1387 | done | ||
1388 | |||
1389 | fi | ||
1390 | fi | ||
1391 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1392 | if test -n "$ac_ct_CC"; then | ||
1393 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1394 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1395 | else | ||
1396 | echo "$as_me:$LINENO: result: no" >&5 | ||
1397 | echo "${ECHO_T}no" >&6 | ||
1398 | fi | ||
1399 | |||
1400 | CC=$ac_ct_CC | ||
1401 | else | ||
1402 | CC="$ac_cv_prog_CC" | ||
1403 | fi | ||
1404 | |||
1405 | fi | ||
1406 | if test -z "$CC"; then | ||
1407 | # Extract the first word of "cc", so it can be a program name with args. | ||
1408 | set dummy cc; ac_word=$2 | ||
1409 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1410 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1411 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1412 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1413 | else | ||
1414 | if test -n "$CC"; then | ||
1415 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1416 | else | ||
1417 | ac_prog_rejected=no | ||
1418 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1419 | for as_dir in $PATH | ||
1420 | do | ||
1421 | IFS=$as_save_IFS | ||
1422 | test -z "$as_dir" && as_dir=. | ||
1423 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1424 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1425 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
1426 | ac_prog_rejected=yes | ||
1427 | continue | ||
1428 | fi | ||
1429 | ac_cv_prog_CC="cc" | ||
1430 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1431 | break 2 | ||
1432 | fi | ||
1433 | done | ||
1434 | done | ||
1435 | |||
1436 | if test $ac_prog_rejected = yes; then | ||
1437 | # We found a bogon in the path, so make sure we never use it. | ||
1438 | set dummy $ac_cv_prog_CC | ||
1439 | shift | ||
1440 | if test $@%:@ != 0; then | ||
1441 | # We chose a different compiler from the bogus one. | ||
1442 | # However, it has the same basename, so the bogon will be chosen | ||
1443 | # first if we set CC to just the basename; use the full file name. | ||
1444 | shift | ||
1445 | set dummy "$as_dir/$ac_word" ${1+"$@"} | ||
1446 | shift | ||
1447 | ac_cv_prog_CC="$@" | ||
1448 | fi | ||
1449 | fi | ||
1450 | fi | ||
1451 | fi | ||
1452 | CC=$ac_cv_prog_CC | ||
1453 | if test -n "$CC"; then | ||
1454 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1455 | echo "${ECHO_T}$CC" >&6 | ||
1456 | else | ||
1457 | echo "$as_me:$LINENO: result: no" >&5 | ||
1458 | echo "${ECHO_T}no" >&6 | ||
1459 | fi | ||
1460 | |||
1461 | fi | ||
1462 | if test -z "$CC"; then | ||
1463 | if test -n "$ac_tool_prefix"; then | ||
1464 | for ac_prog in cl | ||
1465 | do | ||
1466 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
1467 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
1468 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1469 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1470 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1471 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1472 | else | ||
1473 | if test -n "$CC"; then | ||
1474 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1475 | else | ||
1476 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1477 | for as_dir in $PATH | ||
1478 | do | ||
1479 | IFS=$as_save_IFS | ||
1480 | test -z "$as_dir" && as_dir=. | ||
1481 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1482 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1483 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
1484 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1485 | break 2 | ||
1486 | fi | ||
1487 | done | ||
1488 | done | ||
1489 | |||
1490 | fi | ||
1491 | fi | ||
1492 | CC=$ac_cv_prog_CC | ||
1493 | if test -n "$CC"; then | ||
1494 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1495 | echo "${ECHO_T}$CC" >&6 | ||
1496 | else | ||
1497 | echo "$as_me:$LINENO: result: no" >&5 | ||
1498 | echo "${ECHO_T}no" >&6 | ||
1499 | fi | ||
1500 | |||
1501 | test -n "$CC" && break | ||
1502 | done | ||
1503 | fi | ||
1504 | if test -z "$CC"; then | ||
1505 | ac_ct_CC=$CC | ||
1506 | for ac_prog in cl | ||
1507 | do | ||
1508 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
1509 | set dummy $ac_prog; ac_word=$2 | ||
1510 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1511 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1512 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1513 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1514 | else | ||
1515 | if test -n "$ac_ct_CC"; then | ||
1516 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1517 | else | ||
1518 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1519 | for as_dir in $PATH | ||
1520 | do | ||
1521 | IFS=$as_save_IFS | ||
1522 | test -z "$as_dir" && as_dir=. | ||
1523 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1524 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1525 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
1526 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1527 | break 2 | ||
1528 | fi | ||
1529 | done | ||
1530 | done | ||
1531 | |||
1532 | fi | ||
1533 | fi | ||
1534 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1535 | if test -n "$ac_ct_CC"; then | ||
1536 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1537 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1538 | else | ||
1539 | echo "$as_me:$LINENO: result: no" >&5 | ||
1540 | echo "${ECHO_T}no" >&6 | ||
1541 | fi | ||
1542 | |||
1543 | test -n "$ac_ct_CC" && break | ||
1544 | done | ||
1545 | |||
1546 | CC=$ac_ct_CC | ||
1547 | fi | ||
1548 | |||
1549 | fi | ||
1550 | |||
1551 | |||
1552 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 | ||
1553 | echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} | ||
1554 | { (exit 1); exit 1; }; } | ||
1555 | |||
1556 | # Provide some information about the compiler. | ||
1557 | echo "$as_me:$LINENO:" \ | ||
1558 | "checking for C compiler version" >&5 | ||
1559 | ac_compiler=`set X $ac_compile; echo $2` | ||
1560 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
1561 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | ||
1562 | ac_status=$? | ||
1563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1564 | (exit $ac_status); } | ||
1565 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | ||
1566 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | ||
1567 | ac_status=$? | ||
1568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1569 | (exit $ac_status); } | ||
1570 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | ||
1571 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | ||
1572 | ac_status=$? | ||
1573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1574 | (exit $ac_status); } | ||
1575 | |||
1576 | cat >conftest.$ac_ext <<_ACEOF | ||
1577 | #line $LINENO "configure" | ||
1578 | #include "confdefs.h" | ||
1579 | |||
1580 | #ifdef F77_DUMMY_MAIN | ||
1581 | # ifdef __cplusplus | ||
1582 | extern "C" | ||
1583 | # endif | ||
1584 | int F77_DUMMY_MAIN() { return 1; } | ||
1585 | #endif | ||
1586 | int | ||
1587 | main () | ||
1588 | { | ||
1589 | |||
1590 | ; | ||
1591 | return 0; | ||
1592 | } | ||
1593 | _ACEOF | ||
1594 | ac_clean_files_save=$ac_clean_files | ||
1595 | ac_clean_files="$ac_clean_files a.out a.exe" | ||
1596 | # Try to create an executable without -o first, disregard a.out. | ||
1597 | # It will help us diagnose broken compilers, and finding out an intuition | ||
1598 | # of exeext. | ||
1599 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 | ||
1600 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | ||
1601 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
1602 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | ||
1603 | (eval $ac_link_default) 2>&5 | ||
1604 | ac_status=$? | ||
1605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1606 | (exit $ac_status); }; then | ||
1607 | # Find the output, starting from the most likely. This scheme is | ||
1608 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | ||
1609 | # resort. | ||
1610 | |||
1611 | # Be careful to initialize this variable, since it used to be cached. | ||
1612 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | ||
1613 | ac_cv_exeext= | ||
1614 | for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; | ||
1615 | ls a.out conftest 2>/dev/null; | ||
1616 | ls a.* conftest.* 2>/dev/null`; do | ||
1617 | case $ac_file in | ||
1618 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; | ||
1619 | a.out ) # We found the default executable, but exeext='' is most | ||
1620 | # certainly right. | ||
1621 | break;; | ||
1622 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
1623 | # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | ||
1624 | export ac_cv_exeext | ||
1625 | break;; | ||
1626 | * ) break;; | ||
1627 | esac | ||
1628 | done | ||
1629 | else | ||
1630 | echo "$as_me: failed program was:" >&5 | ||
1631 | cat conftest.$ac_ext >&5 | ||
1632 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 | ||
1633 | echo "$as_me: error: C compiler cannot create executables" >&2;} | ||
1634 | { (exit 77); exit 77; }; } | ||
1635 | fi | ||
1636 | |||
1637 | ac_exeext=$ac_cv_exeext | ||
1638 | echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
1639 | echo "${ECHO_T}$ac_file" >&6 | ||
1640 | |||
1641 | # Check the compiler produces executables we can run. If not, either | ||
1642 | # the compiler is broken, or we cross compile. | ||
1643 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
1644 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | ||
1645 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
1646 | # If not cross compiling, check that we can run a simple program. | ||
1647 | if test "$cross_compiling" != yes; then | ||
1648 | if { ac_try='./$ac_file' | ||
1649 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1650 | (eval $ac_try) 2>&5 | ||
1651 | ac_status=$? | ||
1652 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1653 | (exit $ac_status); }; }; then | ||
1654 | cross_compiling=no | ||
1655 | else | ||
1656 | if test "$cross_compiling" = maybe; then | ||
1657 | cross_compiling=yes | ||
1658 | else | ||
1659 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
1660 | If you meant to cross compile, use \`--host'." >&5 | ||
1661 | echo "$as_me: error: cannot run C compiled programs. | ||
1662 | If you meant to cross compile, use \`--host'." >&2;} | ||
1663 | { (exit 1); exit 1; }; } | ||
1664 | fi | ||
1665 | fi | ||
1666 | fi | ||
1667 | echo "$as_me:$LINENO: result: yes" >&5 | ||
1668 | echo "${ECHO_T}yes" >&6 | ||
1669 | |||
1670 | rm -f a.out a.exe conftest$ac_cv_exeext | ||
1671 | ac_clean_files=$ac_clean_files_save | ||
1672 | # Check the compiler produces executables we can run. If not, either | ||
1673 | # the compiler is broken, or we cross compile. | ||
1674 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
1675 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | ||
1676 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
1677 | echo "${ECHO_T}$cross_compiling" >&6 | ||
1678 | |||
1679 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
1680 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | ||
1681 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
1682 | (eval $ac_link) 2>&5 | ||
1683 | ac_status=$? | ||
1684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1685 | (exit $ac_status); }; then | ||
1686 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
1687 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
1688 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
1689 | # `rm'. | ||
1690 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | ||
1691 | case $ac_file in | ||
1692 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | ||
1693 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
1694 | export ac_cv_exeext | ||
1695 | break;; | ||
1696 | * ) break;; | ||
1697 | esac | ||
1698 | done | ||
1699 | else | ||
1700 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 | ||
1701 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} | ||
1702 | { (exit 1); exit 1; }; } | ||
1703 | fi | ||
1704 | |||
1705 | rm -f conftest$ac_cv_exeext | ||
1706 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
1707 | echo "${ECHO_T}$ac_cv_exeext" >&6 | ||
1708 | |||
1709 | rm -f conftest.$ac_ext | ||
1710 | EXEEXT=$ac_cv_exeext | ||
1711 | ac_exeext=$EXEEXT | ||
1712 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
1713 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | ||
1714 | if test "${ac_cv_objext+set}" = set; then | ||
1715 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1716 | else | ||
1717 | cat >conftest.$ac_ext <<_ACEOF | ||
1718 | #line $LINENO "configure" | ||
1719 | #include "confdefs.h" | ||
1720 | |||
1721 | #ifdef F77_DUMMY_MAIN | ||
1722 | # ifdef __cplusplus | ||
1723 | extern "C" | ||
1724 | # endif | ||
1725 | int F77_DUMMY_MAIN() { return 1; } | ||
1726 | #endif | ||
1727 | int | ||
1728 | main () | ||
1729 | { | ||
1730 | |||
1731 | ; | ||
1732 | return 0; | ||
1733 | } | ||
1734 | _ACEOF | ||
1735 | rm -f conftest.o conftest.obj | ||
1736 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1737 | (eval $ac_compile) 2>&5 | ||
1738 | ac_status=$? | ||
1739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1740 | (exit $ac_status); }; then | ||
1741 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | ||
1742 | case $ac_file in | ||
1743 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | ||
1744 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
1745 | break;; | ||
1746 | esac | ||
1747 | done | ||
1748 | else | ||
1749 | echo "$as_me: failed program was:" >&5 | ||
1750 | cat conftest.$ac_ext >&5 | ||
1751 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 | ||
1752 | echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} | ||
1753 | { (exit 1); exit 1; }; } | ||
1754 | fi | ||
1755 | |||
1756 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
1757 | fi | ||
1758 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
1759 | echo "${ECHO_T}$ac_cv_objext" >&6 | ||
1760 | OBJEXT=$ac_cv_objext | ||
1761 | ac_objext=$OBJEXT | ||
1762 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
1763 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | ||
1764 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
1765 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1766 | else | ||
1767 | cat >conftest.$ac_ext <<_ACEOF | ||
1768 | #line $LINENO "configure" | ||
1769 | #include "confdefs.h" | ||
1770 | |||
1771 | #ifdef F77_DUMMY_MAIN | ||
1772 | # ifdef __cplusplus | ||
1773 | extern "C" | ||
1774 | # endif | ||
1775 | int F77_DUMMY_MAIN() { return 1; } | ||
1776 | #endif | ||
1777 | int | ||
1778 | main () | ||
1779 | { | ||
1780 | #ifndef __GNUC__ | ||
1781 | choke me | ||
1782 | #endif | ||
1783 | |||
1784 | ; | ||
1785 | return 0; | ||
1786 | } | ||
1787 | _ACEOF | ||
1788 | rm -f conftest.$ac_objext | ||
1789 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1790 | (eval $ac_compile) 2>&5 | ||
1791 | ac_status=$? | ||
1792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1793 | (exit $ac_status); } && | ||
1794 | { ac_try='test -s conftest.$ac_objext' | ||
1795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1796 | (eval $ac_try) 2>&5 | ||
1797 | ac_status=$? | ||
1798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1799 | (exit $ac_status); }; }; then | ||
1800 | ac_compiler_gnu=yes | ||
1801 | else | ||
1802 | echo "$as_me: failed program was:" >&5 | ||
1803 | cat conftest.$ac_ext >&5 | ||
1804 | ac_compiler_gnu=no | ||
1805 | fi | ||
1806 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
1807 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
1808 | |||
1809 | fi | ||
1810 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
1811 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | ||
1812 | GCC=`test $ac_compiler_gnu = yes && echo yes` | ||
1813 | ac_test_CFLAGS=${CFLAGS+set} | ||
1814 | ac_save_CFLAGS=$CFLAGS | ||
1815 | CFLAGS="-g" | ||
1816 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
1817 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
1818 | if test "${ac_cv_prog_cc_g+set}" = set; then | ||
1819 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1820 | else | ||
1821 | cat >conftest.$ac_ext <<_ACEOF | ||
1822 | #line $LINENO "configure" | ||
1823 | #include "confdefs.h" | ||
1824 | |||
1825 | #ifdef F77_DUMMY_MAIN | ||
1826 | # ifdef __cplusplus | ||
1827 | extern "C" | ||
1828 | # endif | ||
1829 | int F77_DUMMY_MAIN() { return 1; } | ||
1830 | #endif | ||
1831 | int | ||
1832 | main () | ||
1833 | { | ||
1834 | |||
1835 | ; | ||
1836 | return 0; | ||
1837 | } | ||
1838 | _ACEOF | ||
1839 | rm -f conftest.$ac_objext | ||
1840 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1841 | (eval $ac_compile) 2>&5 | ||
1842 | ac_status=$? | ||
1843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1844 | (exit $ac_status); } && | ||
1845 | { ac_try='test -s conftest.$ac_objext' | ||
1846 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1847 | (eval $ac_try) 2>&5 | ||
1848 | ac_status=$? | ||
1849 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1850 | (exit $ac_status); }; }; then | ||
1851 | ac_cv_prog_cc_g=yes | ||
1852 | else | ||
1853 | echo "$as_me: failed program was:" >&5 | ||
1854 | cat conftest.$ac_ext >&5 | ||
1855 | ac_cv_prog_cc_g=no | ||
1856 | fi | ||
1857 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
1858 | fi | ||
1859 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
1860 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | ||
1861 | if test "$ac_test_CFLAGS" = set; then | ||
1862 | CFLAGS=$ac_save_CFLAGS | ||
1863 | elif test $ac_cv_prog_cc_g = yes; then | ||
1864 | if test "$GCC" = yes; then | ||
1865 | CFLAGS="-g -O2" | ||
1866 | else | ||
1867 | CFLAGS="-g" | ||
1868 | fi | ||
1869 | else | ||
1870 | if test "$GCC" = yes; then | ||
1871 | CFLAGS="-O2" | ||
1872 | else | ||
1873 | CFLAGS= | ||
1874 | fi | ||
1875 | fi | ||
1876 | # Some people use a C++ compiler to compile C. Since we use `exit', | ||
1877 | # in C++ we need to declare it. In case someone uses the same compiler | ||
1878 | # for both compiling C and C++ we need to have the C++ compiler decide | ||
1879 | # the declaration of exit, since it's the most demanding environment. | ||
1880 | cat >conftest.$ac_ext <<_ACEOF | ||
1881 | @%:@ifndef __cplusplus | ||
1882 | choke me | ||
1883 | @%:@endif | ||
1884 | _ACEOF | ||
1885 | rm -f conftest.$ac_objext | ||
1886 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1887 | (eval $ac_compile) 2>&5 | ||
1888 | ac_status=$? | ||
1889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1890 | (exit $ac_status); } && | ||
1891 | { ac_try='test -s conftest.$ac_objext' | ||
1892 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1893 | (eval $ac_try) 2>&5 | ||
1894 | ac_status=$? | ||
1895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1896 | (exit $ac_status); }; }; then | ||
1897 | for ac_declaration in \ | ||
1898 | ''\ | ||
1899 | '#include <stdlib.h>' \ | ||
1900 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
1901 | 'extern "C" void std::exit (int); using std::exit;' \ | ||
1902 | 'extern "C" void exit (int) throw ();' \ | ||
1903 | 'extern "C" void exit (int);' \ | ||
1904 | 'void exit (int);' | ||
1905 | do | ||
1906 | cat >conftest.$ac_ext <<_ACEOF | ||
1907 | #line $LINENO "configure" | ||
1908 | #include "confdefs.h" | ||
1909 | @%:@include <stdlib.h> | ||
1910 | $ac_declaration | ||
1911 | #ifdef F77_DUMMY_MAIN | ||
1912 | # ifdef __cplusplus | ||
1913 | extern "C" | ||
1914 | # endif | ||
1915 | int F77_DUMMY_MAIN() { return 1; } | ||
1916 | #endif | ||
1917 | int | ||
1918 | main () | ||
1919 | { | ||
1920 | exit (42); | ||
1921 | ; | ||
1922 | return 0; | ||
1923 | } | ||
1924 | _ACEOF | ||
1925 | rm -f conftest.$ac_objext | ||
1926 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1927 | (eval $ac_compile) 2>&5 | ||
1928 | ac_status=$? | ||
1929 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1930 | (exit $ac_status); } && | ||
1931 | { ac_try='test -s conftest.$ac_objext' | ||
1932 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1933 | (eval $ac_try) 2>&5 | ||
1934 | ac_status=$? | ||
1935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1936 | (exit $ac_status); }; }; then | ||
1937 | : | ||
1938 | else | ||
1939 | echo "$as_me: failed program was:" >&5 | ||
1940 | cat conftest.$ac_ext >&5 | ||
1941 | continue | ||
1942 | fi | ||
1943 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
1944 | cat >conftest.$ac_ext <<_ACEOF | ||
1945 | #line $LINENO "configure" | ||
1946 | #include "confdefs.h" | ||
1947 | $ac_declaration | ||
1948 | #ifdef F77_DUMMY_MAIN | ||
1949 | # ifdef __cplusplus | ||
1950 | extern "C" | ||
1951 | # endif | ||
1952 | int F77_DUMMY_MAIN() { return 1; } | ||
1953 | #endif | ||
1954 | int | ||
1955 | main () | ||
1956 | { | ||
1957 | exit (42); | ||
1958 | ; | ||
1959 | return 0; | ||
1960 | } | ||
1961 | _ACEOF | ||
1962 | rm -f conftest.$ac_objext | ||
1963 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1964 | (eval $ac_compile) 2>&5 | ||
1965 | ac_status=$? | ||
1966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1967 | (exit $ac_status); } && | ||
1968 | { ac_try='test -s conftest.$ac_objext' | ||
1969 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1970 | (eval $ac_try) 2>&5 | ||
1971 | ac_status=$? | ||
1972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1973 | (exit $ac_status); }; }; then | ||
1974 | break | ||
1975 | else | ||
1976 | echo "$as_me: failed program was:" >&5 | ||
1977 | cat conftest.$ac_ext >&5 | ||
1978 | fi | ||
1979 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
1980 | done | ||
1981 | rm -f conftest* | ||
1982 | if test -n "$ac_declaration"; then | ||
1983 | echo '#ifdef __cplusplus' >>confdefs.h | ||
1984 | echo $ac_declaration >>confdefs.h | ||
1985 | echo '#endif' >>confdefs.h | ||
1986 | fi | ||
1987 | |||
1988 | else | ||
1989 | echo "$as_me: failed program was:" >&5 | ||
1990 | cat conftest.$ac_ext >&5 | ||
1991 | fi | ||
1992 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
1993 | ac_ext=c | ||
1994 | ac_cpp='$CPP $CPPFLAGS' | ||
1995 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1996 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1997 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1998 | |||
1999 | ac_aux_dir= | ||
2000 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | ||
2001 | if test -f $ac_dir/install-sh; then | ||
2002 | ac_aux_dir=$ac_dir | ||
2003 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
2004 | break | ||
2005 | elif test -f $ac_dir/install.sh; then | ||
2006 | ac_aux_dir=$ac_dir | ||
2007 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
2008 | break | ||
2009 | elif test -f $ac_dir/shtool; then | ||
2010 | ac_aux_dir=$ac_dir | ||
2011 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
2012 | break | ||
2013 | fi | ||
2014 | done | ||
2015 | if test -z "$ac_aux_dir"; then | ||
2016 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | ||
2017 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | ||
2018 | { (exit 1); exit 1; }; } | ||
2019 | fi | ||
2020 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | ||
2021 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
2022 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
2023 | |||
2024 | # Make sure we can run config.sub. | ||
2025 | $ac_config_sub sun4 >/dev/null 2>&1 || | ||
2026 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | ||
2027 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | ||
2028 | { (exit 1); exit 1; }; } | ||
2029 | |||
2030 | echo "$as_me:$LINENO: checking build system type" >&5 | ||
2031 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | ||
2032 | if test "${ac_cv_build+set}" = set; then | ||
2033 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2034 | else | ||
2035 | ac_cv_build_alias=$build_alias | ||
2036 | test -z "$ac_cv_build_alias" && | ||
2037 | ac_cv_build_alias=`$ac_config_guess` | ||
2038 | test -z "$ac_cv_build_alias" && | ||
2039 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | ||
2040 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
2041 | { (exit 1); exit 1; }; } | ||
2042 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | ||
2043 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | ||
2044 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | ||
2045 | { (exit 1); exit 1; }; } | ||
2046 | |||
2047 | fi | ||
2048 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | ||
2049 | echo "${ECHO_T}$ac_cv_build" >&6 | ||
2050 | build=$ac_cv_build | ||
2051 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
2052 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
2053 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
2054 | |||
2055 | |||
2056 | echo "$as_me:$LINENO: checking host system type" >&5 | ||
2057 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | ||
2058 | if test "${ac_cv_host+set}" = set; then | ||
2059 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2060 | else | ||
2061 | ac_cv_host_alias=$host_alias | ||
2062 | test -z "$ac_cv_host_alias" && | ||
2063 | ac_cv_host_alias=$ac_cv_build_alias | ||
2064 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | ||
2065 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | ||
2066 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | ||
2067 | { (exit 1); exit 1; }; } | ||
2068 | |||
2069 | fi | ||
2070 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | ||
2071 | echo "${ECHO_T}$ac_cv_host" >&6 | ||
2072 | host=$ac_cv_host | ||
2073 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
2074 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
2075 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
2076 | |||
2077 | |||
2078 | |||
2079 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | ||
2080 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | ||
2081 | if test "${ac_cv_c_bigendian+set}" = set; then | ||
2082 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2083 | else | ||
2084 | # See if sys/param.h defines the BYTE_ORDER macro. | ||
2085 | cat >conftest.$ac_ext <<_ACEOF | ||
2086 | #line $LINENO "configure" | ||
2087 | #include "confdefs.h" | ||
2088 | #include <sys/types.h> | ||
2089 | #include <sys/param.h> | ||
2090 | |||
2091 | #ifdef F77_DUMMY_MAIN | ||
2092 | # ifdef __cplusplus | ||
2093 | extern "C" | ||
2094 | # endif | ||
2095 | int F77_DUMMY_MAIN() { return 1; } | ||
2096 | #endif | ||
2097 | int | ||
2098 | main () | ||
2099 | { | ||
2100 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | ||
2101 | bogus endian macros | ||
2102 | #endif | ||
2103 | |||
2104 | ; | ||
2105 | return 0; | ||
2106 | } | ||
2107 | _ACEOF | ||
2108 | rm -f conftest.$ac_objext | ||
2109 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2110 | (eval $ac_compile) 2>&5 | ||
2111 | ac_status=$? | ||
2112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2113 | (exit $ac_status); } && | ||
2114 | { ac_try='test -s conftest.$ac_objext' | ||
2115 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2116 | (eval $ac_try) 2>&5 | ||
2117 | ac_status=$? | ||
2118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2119 | (exit $ac_status); }; }; then | ||
2120 | # It does; now see whether it defined to BIG_ENDIAN or not. | ||
2121 | cat >conftest.$ac_ext <<_ACEOF | ||
2122 | #line $LINENO "configure" | ||
2123 | #include "confdefs.h" | ||
2124 | #include <sys/types.h> | ||
2125 | #include <sys/param.h> | ||
2126 | |||
2127 | #ifdef F77_DUMMY_MAIN | ||
2128 | # ifdef __cplusplus | ||
2129 | extern "C" | ||
2130 | # endif | ||
2131 | int F77_DUMMY_MAIN() { return 1; } | ||
2132 | #endif | ||
2133 | int | ||
2134 | main () | ||
2135 | { | ||
2136 | #if BYTE_ORDER != BIG_ENDIAN | ||
2137 | not big endian | ||
2138 | #endif | ||
2139 | |||
2140 | ; | ||
2141 | return 0; | ||
2142 | } | ||
2143 | _ACEOF | ||
2144 | rm -f conftest.$ac_objext | ||
2145 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2146 | (eval $ac_compile) 2>&5 | ||
2147 | ac_status=$? | ||
2148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2149 | (exit $ac_status); } && | ||
2150 | { ac_try='test -s conftest.$ac_objext' | ||
2151 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2152 | (eval $ac_try) 2>&5 | ||
2153 | ac_status=$? | ||
2154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2155 | (exit $ac_status); }; }; then | ||
2156 | ac_cv_c_bigendian=yes | ||
2157 | else | ||
2158 | echo "$as_me: failed program was:" >&5 | ||
2159 | cat conftest.$ac_ext >&5 | ||
2160 | ac_cv_c_bigendian=no | ||
2161 | fi | ||
2162 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2163 | else | ||
2164 | echo "$as_me: failed program was:" >&5 | ||
2165 | cat conftest.$ac_ext >&5 | ||
2166 | # It does not; compile a test program. | ||
2167 | if test "$cross_compiling" = yes; then | ||
2168 | # try to guess the endianess by grep'ing values into an object file | ||
2169 | ac_cv_c_bigendian=unknown | ||
2170 | cat >conftest.$ac_ext <<_ACEOF | ||
2171 | #line $LINENO "configure" | ||
2172 | #include "confdefs.h" | ||
2173 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | ||
2174 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | ||
2175 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | ||
2176 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | ||
2177 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | ||
2178 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | ||
2179 | #ifdef F77_DUMMY_MAIN | ||
2180 | # ifdef __cplusplus | ||
2181 | extern "C" | ||
2182 | # endif | ||
2183 | int F77_DUMMY_MAIN() { return 1; } | ||
2184 | #endif | ||
2185 | int | ||
2186 | main () | ||
2187 | { | ||
2188 | _ascii (); _ebcdic (); | ||
2189 | ; | ||
2190 | return 0; | ||
2191 | } | ||
2192 | _ACEOF | ||
2193 | rm -f conftest.$ac_objext | ||
2194 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2195 | (eval $ac_compile) 2>&5 | ||
2196 | ac_status=$? | ||
2197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2198 | (exit $ac_status); } && | ||
2199 | { ac_try='test -s conftest.$ac_objext' | ||
2200 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2201 | (eval $ac_try) 2>&5 | ||
2202 | ac_status=$? | ||
2203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2204 | (exit $ac_status); }; }; then | ||
2205 | if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | ||
2206 | ac_cv_c_bigendian=yes | ||
2207 | fi | ||
2208 | if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | ||
2209 | if test "$ac_cv_c_bigendian" = unknown; then | ||
2210 | ac_cv_c_bigendian=no | ||
2211 | else | ||
2212 | # finding both strings is unlikely to happen, but who knows? | ||
2213 | ac_cv_c_bigendian=unknown | ||
2214 | fi | ||
2215 | fi | ||
2216 | else | ||
2217 | echo "$as_me: failed program was:" >&5 | ||
2218 | cat conftest.$ac_ext >&5 | ||
2219 | fi | ||
2220 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2221 | else | ||
2222 | cat >conftest.$ac_ext <<_ACEOF | ||
2223 | #line $LINENO "configure" | ||
2224 | #include "confdefs.h" | ||
2225 | int | ||
2226 | main () | ||
2227 | { | ||
2228 | /* Are we little or big endian? From Harbison&Steele. */ | ||
2229 | union | ||
2230 | { | ||
2231 | long l; | ||
2232 | char c[sizeof (long)]; | ||
2233 | } u; | ||
2234 | u.l = 1; | ||
2235 | exit (u.c[sizeof (long) - 1] == 1); | ||
2236 | } | ||
2237 | _ACEOF | ||
2238 | rm -f conftest$ac_exeext | ||
2239 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2240 | (eval $ac_link) 2>&5 | ||
2241 | ac_status=$? | ||
2242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2243 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
2244 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2245 | (eval $ac_try) 2>&5 | ||
2246 | ac_status=$? | ||
2247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2248 | (exit $ac_status); }; }; then | ||
2249 | ac_cv_c_bigendian=no | ||
2250 | else | ||
2251 | echo "$as_me: program exited with status $ac_status" >&5 | ||
2252 | echo "$as_me: failed program was:" >&5 | ||
2253 | cat conftest.$ac_ext >&5 | ||
2254 | ( exit $ac_status ) | ||
2255 | ac_cv_c_bigendian=yes | ||
2256 | fi | ||
2257 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
2258 | fi | ||
2259 | fi | ||
2260 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2261 | fi | ||
2262 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | ||
2263 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | ||
2264 | case $ac_cv_c_bigendian in | ||
2265 | yes) | ||
2266 | |||
2267 | cat >>confdefs.h <<\_ACEOF | ||
2268 | @%:@define WORDS_BIGENDIAN 1 | ||
2269 | _ACEOF | ||
2270 | ;; | ||
2271 | no) | ||
2272 | ;; | ||
2273 | *) | ||
2274 | { { echo "$as_me:$LINENO: error: unknown endianess | ||
2275 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | ||
2276 | echo "$as_me: error: unknown endianess | ||
2277 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | ||
2278 | { (exit 1); exit 1; }; } ;; | ||
2279 | esac | ||
2280 | |||
2281 | |||
2282 | # Checks for programs. | ||
2283 | ac_ext=c | ||
2284 | ac_cpp='$CPP $CPPFLAGS' | ||
2285 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2286 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2287 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2288 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
2289 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | ||
2290 | # On Suns, sometimes $CPP names a directory. | ||
2291 | if test -n "$CPP" && test -d "$CPP"; then | ||
2292 | CPP= | ||
2293 | fi | ||
2294 | if test -z "$CPP"; then | ||
2295 | if test "${ac_cv_prog_CPP+set}" = set; then | ||
2296 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2297 | else | ||
2298 | # Double quotes because CPP needs to be expanded | ||
2299 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
2300 | do | ||
2301 | ac_preproc_ok=false | ||
2302 | for ac_c_preproc_warn_flag in '' yes | ||
2303 | do | ||
2304 | # Use a header file that comes with gcc, so configuring glibc | ||
2305 | # with a fresh cross-compiler works. | ||
2306 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2307 | # not just through cpp. "Syntax error" is here to catch this case. | ||
2308 | cat >conftest.$ac_ext <<_ACEOF | ||
2309 | #line $LINENO "configure" | ||
2310 | #include "confdefs.h" | ||
2311 | @%:@include <assert.h> | ||
2312 | Syntax error | ||
2313 | _ACEOF | ||
2314 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2315 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2316 | ac_status=$? | ||
2317 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
2318 | rm -f conftest.er1 | ||
2319 | cat conftest.err >&5 | ||
2320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2321 | (exit $ac_status); } >/dev/null; then | ||
2322 | if test -s conftest.err; then | ||
2323 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
2324 | else | ||
2325 | ac_cpp_err= | ||
2326 | fi | ||
2327 | else | ||
2328 | ac_cpp_err=yes | ||
2329 | fi | ||
2330 | if test -z "$ac_cpp_err"; then | ||
2331 | : | ||
2332 | else | ||
2333 | echo "$as_me: failed program was:" >&5 | ||
2334 | cat conftest.$ac_ext >&5 | ||
2335 | # Broken: fails on valid input. | ||
2336 | continue | ||
2337 | fi | ||
2338 | rm -f conftest.err conftest.$ac_ext | ||
2339 | |||
2340 | # OK, works on sane cases. Now check whether non-existent headers | ||
2341 | # can be detected and how. | ||
2342 | cat >conftest.$ac_ext <<_ACEOF | ||
2343 | #line $LINENO "configure" | ||
2344 | #include "confdefs.h" | ||
2345 | @%:@include <ac_nonexistent.h> | ||
2346 | _ACEOF | ||
2347 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2348 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2349 | ac_status=$? | ||
2350 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
2351 | rm -f conftest.er1 | ||
2352 | cat conftest.err >&5 | ||
2353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2354 | (exit $ac_status); } >/dev/null; then | ||
2355 | if test -s conftest.err; then | ||
2356 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
2357 | else | ||
2358 | ac_cpp_err= | ||
2359 | fi | ||
2360 | else | ||
2361 | ac_cpp_err=yes | ||
2362 | fi | ||
2363 | if test -z "$ac_cpp_err"; then | ||
2364 | # Broken: success on invalid input. | ||
2365 | continue | ||
2366 | else | ||
2367 | echo "$as_me: failed program was:" >&5 | ||
2368 | cat conftest.$ac_ext >&5 | ||
2369 | # Passes both tests. | ||
2370 | ac_preproc_ok=: | ||
2371 | break | ||
2372 | fi | ||
2373 | rm -f conftest.err conftest.$ac_ext | ||
2374 | |||
2375 | done | ||
2376 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2377 | rm -f conftest.err conftest.$ac_ext | ||
2378 | if $ac_preproc_ok; then | ||
2379 | break | ||
2380 | fi | ||
2381 | |||
2382 | done | ||
2383 | ac_cv_prog_CPP=$CPP | ||
2384 | |||
2385 | fi | ||
2386 | CPP=$ac_cv_prog_CPP | ||
2387 | else | ||
2388 | ac_cv_prog_CPP=$CPP | ||
2389 | fi | ||
2390 | echo "$as_me:$LINENO: result: $CPP" >&5 | ||
2391 | echo "${ECHO_T}$CPP" >&6 | ||
2392 | ac_preproc_ok=false | ||
2393 | for ac_c_preproc_warn_flag in '' yes | ||
2394 | do | ||
2395 | # Use a header file that comes with gcc, so configuring glibc | ||
2396 | # with a fresh cross-compiler works. | ||
2397 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2398 | # not just through cpp. "Syntax error" is here to catch this case. | ||
2399 | cat >conftest.$ac_ext <<_ACEOF | ||
2400 | #line $LINENO "configure" | ||
2401 | #include "confdefs.h" | ||
2402 | @%:@include <assert.h> | ||
2403 | Syntax error | ||
2404 | _ACEOF | ||
2405 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2406 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2407 | ac_status=$? | ||
2408 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
2409 | rm -f conftest.er1 | ||
2410 | cat conftest.err >&5 | ||
2411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2412 | (exit $ac_status); } >/dev/null; then | ||
2413 | if test -s conftest.err; then | ||
2414 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
2415 | else | ||
2416 | ac_cpp_err= | ||
2417 | fi | ||
2418 | else | ||
2419 | ac_cpp_err=yes | ||
2420 | fi | ||
2421 | if test -z "$ac_cpp_err"; then | ||
2422 | : | ||
2423 | else | ||
2424 | echo "$as_me: failed program was:" >&5 | ||
2425 | cat conftest.$ac_ext >&5 | ||
2426 | # Broken: fails on valid input. | ||
2427 | continue | ||
2428 | fi | ||
2429 | rm -f conftest.err conftest.$ac_ext | ||
2430 | |||
2431 | # OK, works on sane cases. Now check whether non-existent headers | ||
2432 | # can be detected and how. | ||
2433 | cat >conftest.$ac_ext <<_ACEOF | ||
2434 | #line $LINENO "configure" | ||
2435 | #include "confdefs.h" | ||
2436 | @%:@include <ac_nonexistent.h> | ||
2437 | _ACEOF | ||
2438 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2439 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2440 | ac_status=$? | ||
2441 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
2442 | rm -f conftest.er1 | ||
2443 | cat conftest.err >&5 | ||
2444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2445 | (exit $ac_status); } >/dev/null; then | ||
2446 | if test -s conftest.err; then | ||
2447 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
2448 | else | ||
2449 | ac_cpp_err= | ||
2450 | fi | ||
2451 | else | ||
2452 | ac_cpp_err=yes | ||
2453 | fi | ||
2454 | if test -z "$ac_cpp_err"; then | ||
2455 | # Broken: success on invalid input. | ||
2456 | continue | ||
2457 | else | ||
2458 | echo "$as_me: failed program was:" >&5 | ||
2459 | cat conftest.$ac_ext >&5 | ||
2460 | # Passes both tests. | ||
2461 | ac_preproc_ok=: | ||
2462 | break | ||
2463 | fi | ||
2464 | rm -f conftest.err conftest.$ac_ext | ||
2465 | |||
2466 | done | ||
2467 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2468 | rm -f conftest.err conftest.$ac_ext | ||
2469 | if $ac_preproc_ok; then | ||
2470 | : | ||
2471 | else | ||
2472 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | ||
2473 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | ||
2474 | { (exit 1); exit 1; }; } | ||
2475 | fi | ||
2476 | |||
2477 | ac_ext=c | ||
2478 | ac_cpp='$CPP $CPPFLAGS' | ||
2479 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2480 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2481 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2482 | |||
2483 | if test -n "$ac_tool_prefix"; then | ||
2484 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||
2485 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||
2486 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2487 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2488 | if test "${ac_cv_prog_RANLIB+set}" = set; then | ||
2489 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2490 | else | ||
2491 | if test -n "$RANLIB"; then | ||
2492 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | ||
2493 | else | ||
2494 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2495 | for as_dir in $PATH | ||
2496 | do | ||
2497 | IFS=$as_save_IFS | ||
2498 | test -z "$as_dir" && as_dir=. | ||
2499 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2500 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2501 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | ||
2502 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2503 | break 2 | ||
2504 | fi | ||
2505 | done | ||
2506 | done | ||
2507 | |||
2508 | fi | ||
2509 | fi | ||
2510 | RANLIB=$ac_cv_prog_RANLIB | ||
2511 | if test -n "$RANLIB"; then | ||
2512 | echo "$as_me:$LINENO: result: $RANLIB" >&5 | ||
2513 | echo "${ECHO_T}$RANLIB" >&6 | ||
2514 | else | ||
2515 | echo "$as_me:$LINENO: result: no" >&5 | ||
2516 | echo "${ECHO_T}no" >&6 | ||
2517 | fi | ||
2518 | |||
2519 | fi | ||
2520 | if test -z "$ac_cv_prog_RANLIB"; then | ||
2521 | ac_ct_RANLIB=$RANLIB | ||
2522 | # Extract the first word of "ranlib", so it can be a program name with args. | ||
2523 | set dummy ranlib; ac_word=$2 | ||
2524 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2525 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2526 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | ||
2527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2528 | else | ||
2529 | if test -n "$ac_ct_RANLIB"; then | ||
2530 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | ||
2531 | else | ||
2532 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2533 | for as_dir in $PATH | ||
2534 | do | ||
2535 | IFS=$as_save_IFS | ||
2536 | test -z "$as_dir" && as_dir=. | ||
2537 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2538 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2539 | ac_cv_prog_ac_ct_RANLIB="ranlib" | ||
2540 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2541 | break 2 | ||
2542 | fi | ||
2543 | done | ||
2544 | done | ||
2545 | |||
2546 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | ||
2547 | fi | ||
2548 | fi | ||
2549 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | ||
2550 | if test -n "$ac_ct_RANLIB"; then | ||
2551 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | ||
2552 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | ||
2553 | else | ||
2554 | echo "$as_me:$LINENO: result: no" >&5 | ||
2555 | echo "${ECHO_T}no" >&6 | ||
2556 | fi | ||
2557 | |||
2558 | RANLIB=$ac_ct_RANLIB | ||
2559 | else | ||
2560 | RANLIB="$ac_cv_prog_RANLIB" | ||
2561 | fi | ||
2562 | |||
2563 | # Find a good install program. We prefer a C program (faster), | ||
2564 | # so one script is as good as another. But avoid the broken or | ||
2565 | # incompatible versions: | ||
2566 | # SysV /etc/install, /usr/sbin/install | ||
2567 | # SunOS /usr/etc/install | ||
2568 | # IRIX /sbin/install | ||
2569 | # AIX /bin/install | ||
2570 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
2571 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
2572 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
2573 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
2574 | # ./install, which can be erroneously created by make from ./install.sh. | ||
2575 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
2576 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | ||
2577 | if test -z "$INSTALL"; then | ||
2578 | if test "${ac_cv_path_install+set}" = set; then | ||
2579 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2580 | else | ||
2581 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2582 | for as_dir in $PATH | ||
2583 | do | ||
2584 | IFS=$as_save_IFS | ||
2585 | test -z "$as_dir" && as_dir=. | ||
2586 | # Account for people who put trailing slashes in PATH elements. | ||
2587 | case $as_dir/ in | ||
2588 | ./ | .// | /cC/* | \ | ||
2589 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
2590 | /usr/ucb/* ) ;; | ||
2591 | *) | ||
2592 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
2593 | # Don't use installbsd from OSF since it installs stuff as root | ||
2594 | # by default. | ||
2595 | for ac_prog in ginstall scoinst install; do | ||
2596 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2597 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
2598 | if test $ac_prog = install && | ||
2599 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
2600 | # AIX install. It has an incompatible calling convention. | ||
2601 | : | ||
2602 | elif test $ac_prog = install && | ||
2603 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
2604 | # program-specific install script used by HP pwplus--don't use. | ||
2605 | : | ||
2606 | else | ||
2607 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
2608 | break 3 | ||
2609 | fi | ||
2610 | fi | ||
2611 | done | ||
2612 | done | ||
2613 | ;; | ||
2614 | esac | ||
2615 | done | ||
2616 | |||
2617 | |||
2618 | fi | ||
2619 | if test "${ac_cv_path_install+set}" = set; then | ||
2620 | INSTALL=$ac_cv_path_install | ||
2621 | else | ||
2622 | # As a last resort, use the slow shell script. We don't cache a | ||
2623 | # path for INSTALL within a source directory, because that will | ||
2624 | # break other packages using the cache if that directory is | ||
2625 | # removed, or if the path is relative. | ||
2626 | INSTALL=$ac_install_sh | ||
2627 | fi | ||
2628 | fi | ||
2629 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
2630 | echo "${ECHO_T}$INSTALL" >&6 | ||
2631 | |||
2632 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
2633 | # It thinks the first close brace ends the variable substitution. | ||
2634 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
2635 | |||
2636 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
2637 | |||
2638 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
2639 | |||
2640 | # Extract the first word of "ar", so it can be a program name with args. | ||
2641 | set dummy ar; ac_word=$2 | ||
2642 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2643 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2644 | if test "${ac_cv_path_AR+set}" = set; then | ||
2645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2646 | else | ||
2647 | case $AR in | ||
2648 | [\\/]* | ?:[\\/]*) | ||
2649 | ac_cv_path_AR="$AR" # Let the user override the test with a path. | ||
2650 | ;; | ||
2651 | *) | ||
2652 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2653 | for as_dir in $PATH | ||
2654 | do | ||
2655 | IFS=$as_save_IFS | ||
2656 | test -z "$as_dir" && as_dir=. | ||
2657 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2658 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2659 | ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | ||
2660 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2661 | break 2 | ||
2662 | fi | ||
2663 | done | ||
2664 | done | ||
2665 | |||
2666 | ;; | ||
2667 | esac | ||
2668 | fi | ||
2669 | AR=$ac_cv_path_AR | ||
2670 | |||
2671 | if test -n "$AR"; then | ||
2672 | echo "$as_me:$LINENO: result: $AR" >&5 | ||
2673 | echo "${ECHO_T}$AR" >&6 | ||
2674 | else | ||
2675 | echo "$as_me:$LINENO: result: no" >&5 | ||
2676 | echo "${ECHO_T}no" >&6 | ||
2677 | fi | ||
2678 | |||
2679 | for ac_prog in perl5 perl | ||
2680 | do | ||
2681 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2682 | set dummy $ac_prog; ac_word=$2 | ||
2683 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2684 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2685 | if test "${ac_cv_path_PERL+set}" = set; then | ||
2686 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2687 | else | ||
2688 | case $PERL in | ||
2689 | [\\/]* | ?:[\\/]*) | ||
2690 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | ||
2691 | ;; | ||
2692 | *) | ||
2693 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2694 | for as_dir in $PATH | ||
2695 | do | ||
2696 | IFS=$as_save_IFS | ||
2697 | test -z "$as_dir" && as_dir=. | ||
2698 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2699 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2700 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | ||
2701 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2702 | break 2 | ||
2703 | fi | ||
2704 | done | ||
2705 | done | ||
2706 | |||
2707 | ;; | ||
2708 | esac | ||
2709 | fi | ||
2710 | PERL=$ac_cv_path_PERL | ||
2711 | |||
2712 | if test -n "$PERL"; then | ||
2713 | echo "$as_me:$LINENO: result: $PERL" >&5 | ||
2714 | echo "${ECHO_T}$PERL" >&6 | ||
2715 | else | ||
2716 | echo "$as_me:$LINENO: result: no" >&5 | ||
2717 | echo "${ECHO_T}no" >&6 | ||
2718 | fi | ||
2719 | |||
2720 | test -n "$PERL" && break | ||
2721 | done | ||
2722 | |||
2723 | # Extract the first word of "sed", so it can be a program name with args. | ||
2724 | set dummy sed; ac_word=$2 | ||
2725 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2726 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2727 | if test "${ac_cv_path_SED+set}" = set; then | ||
2728 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2729 | else | ||
2730 | case $SED in | ||
2731 | [\\/]* | ?:[\\/]*) | ||
2732 | ac_cv_path_SED="$SED" # Let the user override the test with a path. | ||
2733 | ;; | ||
2734 | *) | ||
2735 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2736 | for as_dir in $PATH | ||
2737 | do | ||
2738 | IFS=$as_save_IFS | ||
2739 | test -z "$as_dir" && as_dir=. | ||
2740 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2741 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2742 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | ||
2743 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2744 | break 2 | ||
2745 | fi | ||
2746 | done | ||
2747 | done | ||
2748 | |||
2749 | ;; | ||
2750 | esac | ||
2751 | fi | ||
2752 | SED=$ac_cv_path_SED | ||
2753 | |||
2754 | if test -n "$SED"; then | ||
2755 | echo "$as_me:$LINENO: result: $SED" >&5 | ||
2756 | echo "${ECHO_T}$SED" >&6 | ||
2757 | else | ||
2758 | echo "$as_me:$LINENO: result: no" >&5 | ||
2759 | echo "${ECHO_T}no" >&6 | ||
2760 | fi | ||
2761 | |||
2762 | |||
2763 | # Extract the first word of "ent", so it can be a program name with args. | ||
2764 | set dummy ent; ac_word=$2 | ||
2765 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2766 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2767 | if test "${ac_cv_path_ENT+set}" = set; then | ||
2768 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2769 | else | ||
2770 | case $ENT in | ||
2771 | [\\/]* | ?:[\\/]*) | ||
2772 | ac_cv_path_ENT="$ENT" # Let the user override the test with a path. | ||
2773 | ;; | ||
2774 | *) | ||
2775 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2776 | for as_dir in $PATH | ||
2777 | do | ||
2778 | IFS=$as_save_IFS | ||
2779 | test -z "$as_dir" && as_dir=. | ||
2780 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2781 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2782 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" | ||
2783 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2784 | break 2 | ||
2785 | fi | ||
2786 | done | ||
2787 | done | ||
2788 | |||
2789 | ;; | ||
2790 | esac | ||
2791 | fi | ||
2792 | ENT=$ac_cv_path_ENT | ||
2793 | |||
2794 | if test -n "$ENT"; then | ||
2795 | echo "$as_me:$LINENO: result: $ENT" >&5 | ||
2796 | echo "${ECHO_T}$ENT" >&6 | ||
2797 | else | ||
2798 | echo "$as_me:$LINENO: result: no" >&5 | ||
2799 | echo "${ECHO_T}no" >&6 | ||
2800 | fi | ||
2801 | |||
2802 | |||
2803 | # Extract the first word of "bash", so it can be a program name with args. | ||
2804 | set dummy bash; ac_word=$2 | ||
2805 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2806 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2807 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | ||
2808 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2809 | else | ||
2810 | case $TEST_MINUS_S_SH in | ||
2811 | [\\/]* | ?:[\\/]*) | ||
2812 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | ||
2813 | ;; | ||
2814 | *) | ||
2815 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2816 | for as_dir in $PATH | ||
2817 | do | ||
2818 | IFS=$as_save_IFS | ||
2819 | test -z "$as_dir" && as_dir=. | ||
2820 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2821 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2822 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | ||
2823 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2824 | break 2 | ||
2825 | fi | ||
2826 | done | ||
2827 | done | ||
2828 | |||
2829 | ;; | ||
2830 | esac | ||
2831 | fi | ||
2832 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | ||
2833 | |||
2834 | if test -n "$TEST_MINUS_S_SH"; then | ||
2835 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | ||
2836 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | ||
2837 | else | ||
2838 | echo "$as_me:$LINENO: result: no" >&5 | ||
2839 | echo "${ECHO_T}no" >&6 | ||
2840 | fi | ||
2841 | |||
2842 | # Extract the first word of "ksh", so it can be a program name with args. | ||
2843 | set dummy ksh; ac_word=$2 | ||
2844 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2845 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2846 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | ||
2847 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2848 | else | ||
2849 | case $TEST_MINUS_S_SH in | ||
2850 | [\\/]* | ?:[\\/]*) | ||
2851 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | ||
2852 | ;; | ||
2853 | *) | ||
2854 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2855 | for as_dir in $PATH | ||
2856 | do | ||
2857 | IFS=$as_save_IFS | ||
2858 | test -z "$as_dir" && as_dir=. | ||
2859 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2860 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2861 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | ||
2862 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2863 | break 2 | ||
2864 | fi | ||
2865 | done | ||
2866 | done | ||
2867 | |||
2868 | ;; | ||
2869 | esac | ||
2870 | fi | ||
2871 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | ||
2872 | |||
2873 | if test -n "$TEST_MINUS_S_SH"; then | ||
2874 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | ||
2875 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | ||
2876 | else | ||
2877 | echo "$as_me:$LINENO: result: no" >&5 | ||
2878 | echo "${ECHO_T}no" >&6 | ||
2879 | fi | ||
2880 | |||
2881 | # Extract the first word of "sh", so it can be a program name with args. | ||
2882 | set dummy sh; ac_word=$2 | ||
2883 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2884 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2885 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | ||
2886 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2887 | else | ||
2888 | case $TEST_MINUS_S_SH in | ||
2889 | [\\/]* | ?:[\\/]*) | ||
2890 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | ||
2891 | ;; | ||
2892 | *) | ||
2893 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2894 | for as_dir in $PATH | ||
2895 | do | ||
2896 | IFS=$as_save_IFS | ||
2897 | test -z "$as_dir" && as_dir=. | ||
2898 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2899 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2900 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | ||
2901 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2902 | break 2 | ||
2903 | fi | ||
2904 | done | ||
2905 | done | ||
2906 | |||
2907 | ;; | ||
2908 | esac | ||
2909 | fi | ||
2910 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | ||
2911 | |||
2912 | if test -n "$TEST_MINUS_S_SH"; then | ||
2913 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | ||
2914 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | ||
2915 | else | ||
2916 | echo "$as_me:$LINENO: result: no" >&5 | ||
2917 | echo "${ECHO_T}no" >&6 | ||
2918 | fi | ||
2919 | |||
2920 | # Extract the first word of "sh", so it can be a program name with args. | ||
2921 | set dummy sh; ac_word=$2 | ||
2922 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2923 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2924 | if test "${ac_cv_path_SH+set}" = set; then | ||
2925 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2926 | else | ||
2927 | case $SH in | ||
2928 | [\\/]* | ?:[\\/]*) | ||
2929 | ac_cv_path_SH="$SH" # Let the user override the test with a path. | ||
2930 | ;; | ||
2931 | *) | ||
2932 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2933 | for as_dir in $PATH | ||
2934 | do | ||
2935 | IFS=$as_save_IFS | ||
2936 | test -z "$as_dir" && as_dir=. | ||
2937 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2938 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2939 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" | ||
2940 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2941 | break 2 | ||
2942 | fi | ||
2943 | done | ||
2944 | done | ||
2945 | |||
2946 | ;; | ||
2947 | esac | ||
2948 | fi | ||
2949 | SH=$ac_cv_path_SH | ||
2950 | |||
2951 | if test -n "$SH"; then | ||
2952 | echo "$as_me:$LINENO: result: $SH" >&5 | ||
2953 | echo "${ECHO_T}$SH" >&6 | ||
2954 | else | ||
2955 | echo "$as_me:$LINENO: result: no" >&5 | ||
2956 | echo "${ECHO_T}no" >&6 | ||
2957 | fi | ||
2958 | |||
2959 | |||
2960 | # System features | ||
2961 | # Check whether --enable-largefile or --disable-largefile was given. | ||
2962 | if test "${enable_largefile+set}" = set; then | ||
2963 | enableval="$enable_largefile" | ||
2964 | |||
2965 | fi; | ||
2966 | if test "$enable_largefile" != no; then | ||
2967 | |||
2968 | echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | ||
2969 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 | ||
2970 | if test "${ac_cv_sys_largefile_CC+set}" = set; then | ||
2971 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2972 | else | ||
2973 | ac_cv_sys_largefile_CC=no | ||
2974 | if test "$GCC" != yes; then | ||
2975 | ac_save_CC=$CC | ||
2976 | while :; do | ||
2977 | # IRIX 6.2 and later do not support large files by default, | ||
2978 | # so use the C compiler's -n32 option if that helps. | ||
2979 | cat >conftest.$ac_ext <<_ACEOF | ||
2980 | #line $LINENO "configure" | ||
2981 | #include "confdefs.h" | ||
2982 | @%:@include <sys/types.h> | ||
2983 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
2984 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
2985 | since some C++ compilers masquerading as C compilers | ||
2986 | incorrectly reject 9223372036854775807. */ | ||
2987 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
2988 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
2989 | && LARGE_OFF_T % 2147483647 == 1) | ||
2990 | ? 1 : -1]; | ||
2991 | #ifdef F77_DUMMY_MAIN | ||
2992 | # ifdef __cplusplus | ||
2993 | extern "C" | ||
2994 | # endif | ||
2995 | int F77_DUMMY_MAIN() { return 1; } | ||
2996 | #endif | ||
2997 | int | ||
2998 | main () | ||
2999 | { | ||
3000 | |||
3001 | ; | ||
3002 | return 0; | ||
3003 | } | ||
3004 | _ACEOF | ||
3005 | rm -f conftest.$ac_objext | ||
3006 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3007 | (eval $ac_compile) 2>&5 | ||
3008 | ac_status=$? | ||
3009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3010 | (exit $ac_status); } && | ||
3011 | { ac_try='test -s conftest.$ac_objext' | ||
3012 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3013 | (eval $ac_try) 2>&5 | ||
3014 | ac_status=$? | ||
3015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3016 | (exit $ac_status); }; }; then | ||
3017 | break | ||
3018 | else | ||
3019 | echo "$as_me: failed program was:" >&5 | ||
3020 | cat conftest.$ac_ext >&5 | ||
3021 | fi | ||
3022 | rm -f conftest.$ac_objext | ||
3023 | CC="$CC -n32" | ||
3024 | rm -f conftest.$ac_objext | ||
3025 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3026 | (eval $ac_compile) 2>&5 | ||
3027 | ac_status=$? | ||
3028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3029 | (exit $ac_status); } && | ||
3030 | { ac_try='test -s conftest.$ac_objext' | ||
3031 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3032 | (eval $ac_try) 2>&5 | ||
3033 | ac_status=$? | ||
3034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3035 | (exit $ac_status); }; }; then | ||
3036 | ac_cv_sys_largefile_CC=' -n32'; break | ||
3037 | else | ||
3038 | echo "$as_me: failed program was:" >&5 | ||
3039 | cat conftest.$ac_ext >&5 | ||
3040 | fi | ||
3041 | rm -f conftest.$ac_objext | ||
3042 | break | ||
3043 | done | ||
3044 | CC=$ac_save_CC | ||
3045 | rm -f conftest.$ac_ext | ||
3046 | fi | ||
3047 | fi | ||
3048 | echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | ||
3049 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 | ||
3050 | if test "$ac_cv_sys_largefile_CC" != no; then | ||
3051 | CC=$CC$ac_cv_sys_largefile_CC | ||
3052 | fi | ||
3053 | |||
3054 | echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | ||
3055 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | ||
3056 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then | ||
3057 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3058 | else | ||
3059 | while :; do | ||
3060 | ac_cv_sys_file_offset_bits=no | ||
3061 | cat >conftest.$ac_ext <<_ACEOF | ||
3062 | #line $LINENO "configure" | ||
3063 | #include "confdefs.h" | ||
3064 | @%:@include <sys/types.h> | ||
3065 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3066 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3067 | since some C++ compilers masquerading as C compilers | ||
3068 | incorrectly reject 9223372036854775807. */ | ||
3069 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3070 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3071 | && LARGE_OFF_T % 2147483647 == 1) | ||
3072 | ? 1 : -1]; | ||
3073 | #ifdef F77_DUMMY_MAIN | ||
3074 | # ifdef __cplusplus | ||
3075 | extern "C" | ||
3076 | # endif | ||
3077 | int F77_DUMMY_MAIN() { return 1; } | ||
3078 | #endif | ||
3079 | int | ||
3080 | main () | ||
3081 | { | ||
3082 | |||
3083 | ; | ||
3084 | return 0; | ||
3085 | } | ||
3086 | _ACEOF | ||
3087 | rm -f conftest.$ac_objext | ||
3088 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3089 | (eval $ac_compile) 2>&5 | ||
3090 | ac_status=$? | ||
3091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3092 | (exit $ac_status); } && | ||
3093 | { ac_try='test -s conftest.$ac_objext' | ||
3094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3095 | (eval $ac_try) 2>&5 | ||
3096 | ac_status=$? | ||
3097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3098 | (exit $ac_status); }; }; then | ||
3099 | break | ||
3100 | else | ||
3101 | echo "$as_me: failed program was:" >&5 | ||
3102 | cat conftest.$ac_ext >&5 | ||
3103 | fi | ||
3104 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3105 | cat >conftest.$ac_ext <<_ACEOF | ||
3106 | #line $LINENO "configure" | ||
3107 | #include "confdefs.h" | ||
3108 | @%:@define _FILE_OFFSET_BITS 64 | ||
3109 | @%:@include <sys/types.h> | ||
3110 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3111 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3112 | since some C++ compilers masquerading as C compilers | ||
3113 | incorrectly reject 9223372036854775807. */ | ||
3114 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3115 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3116 | && LARGE_OFF_T % 2147483647 == 1) | ||
3117 | ? 1 : -1]; | ||
3118 | #ifdef F77_DUMMY_MAIN | ||
3119 | # ifdef __cplusplus | ||
3120 | extern "C" | ||
3121 | # endif | ||
3122 | int F77_DUMMY_MAIN() { return 1; } | ||
3123 | #endif | ||
3124 | int | ||
3125 | main () | ||
3126 | { | ||
3127 | |||
3128 | ; | ||
3129 | return 0; | ||
3130 | } | ||
3131 | _ACEOF | ||
3132 | rm -f conftest.$ac_objext | ||
3133 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3134 | (eval $ac_compile) 2>&5 | ||
3135 | ac_status=$? | ||
3136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3137 | (exit $ac_status); } && | ||
3138 | { ac_try='test -s conftest.$ac_objext' | ||
3139 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3140 | (eval $ac_try) 2>&5 | ||
3141 | ac_status=$? | ||
3142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3143 | (exit $ac_status); }; }; then | ||
3144 | ac_cv_sys_file_offset_bits=64; break | ||
3145 | else | ||
3146 | echo "$as_me: failed program was:" >&5 | ||
3147 | cat conftest.$ac_ext >&5 | ||
3148 | fi | ||
3149 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3150 | break | ||
3151 | done | ||
3152 | fi | ||
3153 | echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | ||
3154 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | ||
3155 | if test "$ac_cv_sys_file_offset_bits" != no; then | ||
3156 | |||
3157 | cat >>confdefs.h <<_ACEOF | ||
3158 | @%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | ||
3159 | _ACEOF | ||
3160 | |||
3161 | fi | ||
3162 | rm -f conftest* | ||
3163 | echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | ||
3164 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | ||
3165 | if test "${ac_cv_sys_large_files+set}" = set; then | ||
3166 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3167 | else | ||
3168 | while :; do | ||
3169 | ac_cv_sys_large_files=no | ||
3170 | cat >conftest.$ac_ext <<_ACEOF | ||
3171 | #line $LINENO "configure" | ||
3172 | #include "confdefs.h" | ||
3173 | @%:@include <sys/types.h> | ||
3174 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3175 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3176 | since some C++ compilers masquerading as C compilers | ||
3177 | incorrectly reject 9223372036854775807. */ | ||
3178 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3179 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3180 | && LARGE_OFF_T % 2147483647 == 1) | ||
3181 | ? 1 : -1]; | ||
3182 | #ifdef F77_DUMMY_MAIN | ||
3183 | # ifdef __cplusplus | ||
3184 | extern "C" | ||
3185 | # endif | ||
3186 | int F77_DUMMY_MAIN() { return 1; } | ||
3187 | #endif | ||
3188 | int | ||
3189 | main () | ||
3190 | { | ||
3191 | |||
3192 | ; | ||
3193 | return 0; | ||
3194 | } | ||
3195 | _ACEOF | ||
3196 | rm -f conftest.$ac_objext | ||
3197 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3198 | (eval $ac_compile) 2>&5 | ||
3199 | ac_status=$? | ||
3200 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3201 | (exit $ac_status); } && | ||
3202 | { ac_try='test -s conftest.$ac_objext' | ||
3203 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3204 | (eval $ac_try) 2>&5 | ||
3205 | ac_status=$? | ||
3206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3207 | (exit $ac_status); }; }; then | ||
3208 | break | ||
3209 | else | ||
3210 | echo "$as_me: failed program was:" >&5 | ||
3211 | cat conftest.$ac_ext >&5 | ||
3212 | fi | ||
3213 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3214 | cat >conftest.$ac_ext <<_ACEOF | ||
3215 | #line $LINENO "configure" | ||
3216 | #include "confdefs.h" | ||
3217 | @%:@define _LARGE_FILES 1 | ||
3218 | @%:@include <sys/types.h> | ||
3219 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3220 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3221 | since some C++ compilers masquerading as C compilers | ||
3222 | incorrectly reject 9223372036854775807. */ | ||
3223 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3224 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3225 | && LARGE_OFF_T % 2147483647 == 1) | ||
3226 | ? 1 : -1]; | ||
3227 | #ifdef F77_DUMMY_MAIN | ||
3228 | # ifdef __cplusplus | ||
3229 | extern "C" | ||
3230 | # endif | ||
3231 | int F77_DUMMY_MAIN() { return 1; } | ||
3232 | #endif | ||
3233 | int | ||
3234 | main () | ||
3235 | { | ||
3236 | |||
3237 | ; | ||
3238 | return 0; | ||
3239 | } | ||
3240 | _ACEOF | ||
3241 | rm -f conftest.$ac_objext | ||
3242 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3243 | (eval $ac_compile) 2>&5 | ||
3244 | ac_status=$? | ||
3245 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3246 | (exit $ac_status); } && | ||
3247 | { ac_try='test -s conftest.$ac_objext' | ||
3248 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3249 | (eval $ac_try) 2>&5 | ||
3250 | ac_status=$? | ||
3251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3252 | (exit $ac_status); }; }; then | ||
3253 | ac_cv_sys_large_files=1; break | ||
3254 | else | ||
3255 | echo "$as_me: failed program was:" >&5 | ||
3256 | cat conftest.$ac_ext >&5 | ||
3257 | fi | ||
3258 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3259 | break | ||
3260 | done | ||
3261 | fi | ||
3262 | echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | ||
3263 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | ||
3264 | if test "$ac_cv_sys_large_files" != no; then | ||
3265 | |||
3266 | cat >>confdefs.h <<_ACEOF | ||
3267 | @%:@define _LARGE_FILES $ac_cv_sys_large_files | ||
3268 | _ACEOF | ||
3269 | |||
3270 | fi | ||
3271 | rm -f conftest* | ||
3272 | fi | ||
3273 | |||
3274 | |||
3275 | if test -z "$AR" ; then | ||
3276 | { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 | ||
3277 | echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} | ||
3278 | { (exit 1); exit 1; }; } | ||
3279 | fi | ||
3280 | |||
3281 | # Use LOGIN_PROGRAM from environment if possible | ||
3282 | if test ! -z "$LOGIN_PROGRAM" ; then | ||
3283 | cat >>confdefs.h <<_ACEOF | ||
3284 | @%:@define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" | ||
3285 | _ACEOF | ||
3286 | |||
3287 | else | ||
3288 | # Search for login | ||
3289 | # Extract the first word of "login", so it can be a program name with args. | ||
3290 | set dummy login; ac_word=$2 | ||
3291 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3292 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3293 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then | ||
3294 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3295 | else | ||
3296 | case $LOGIN_PROGRAM_FALLBACK in | ||
3297 | [\\/]* | ?:[\\/]*) | ||
3298 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path. | ||
3299 | ;; | ||
3300 | *) | ||
3301 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3302 | for as_dir in $PATH | ||
3303 | do | ||
3304 | IFS=$as_save_IFS | ||
3305 | test -z "$as_dir" && as_dir=. | ||
3306 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3307 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3308 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" | ||
3309 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3310 | break 2 | ||
3311 | fi | ||
3312 | done | ||
3313 | done | ||
3314 | |||
3315 | ;; | ||
3316 | esac | ||
3317 | fi | ||
3318 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK | ||
3319 | |||
3320 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then | ||
3321 | echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5 | ||
3322 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6 | ||
3323 | else | ||
3324 | echo "$as_me:$LINENO: result: no" >&5 | ||
3325 | echo "${ECHO_T}no" >&6 | ||
3326 | fi | ||
3327 | |||
3328 | if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then | ||
3329 | cat >>confdefs.h <<_ACEOF | ||
3330 | @%:@define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" | ||
3331 | _ACEOF | ||
3332 | |||
3333 | fi | ||
3334 | fi | ||
3335 | |||
3336 | if test -z "$LD" ; then | ||
3337 | LD=$CC | ||
3338 | fi | ||
3339 | |||
3340 | |||
3341 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | ||
3342 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
3343 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
3344 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3345 | else | ||
3346 | ac_cv_prog_cc_stdc=no | ||
3347 | ac_save_CC=$CC | ||
3348 | cat >conftest.$ac_ext <<_ACEOF | ||
3349 | #line $LINENO "configure" | ||
3350 | #include "confdefs.h" | ||
3351 | #include <stdarg.h> | ||
3352 | #include <stdio.h> | ||
3353 | #include <sys/types.h> | ||
3354 | #include <sys/stat.h> | ||
3355 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
3356 | struct buf { int x; }; | ||
3357 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
3358 | static char *e (p, i) | ||
3359 | char **p; | ||
3360 | int i; | ||
3361 | { | ||
3362 | return p[i]; | ||
3363 | } | ||
3364 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
3365 | { | ||
3366 | char *s; | ||
3367 | va_list v; | ||
3368 | va_start (v,p); | ||
3369 | s = g (p, va_arg (v,int)); | ||
3370 | va_end (v); | ||
3371 | return s; | ||
3372 | } | ||
3373 | int test (int i, double x); | ||
3374 | struct s1 {int (*f) (int a);}; | ||
3375 | struct s2 {int (*f) (double a);}; | ||
3376 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
3377 | int argc; | ||
3378 | char **argv; | ||
3379 | #ifdef F77_DUMMY_MAIN | ||
3380 | # ifdef __cplusplus | ||
3381 | extern "C" | ||
3382 | # endif | ||
3383 | int F77_DUMMY_MAIN() { return 1; } | ||
3384 | #endif | ||
3385 | int | ||
3386 | main () | ||
3387 | { | ||
3388 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
3389 | ; | ||
3390 | return 0; | ||
3391 | } | ||
3392 | _ACEOF | ||
3393 | # Don't try gcc -ansi; that turns off useful extensions and | ||
3394 | # breaks some systems' header files. | ||
3395 | # AIX -qlanglvl=ansi | ||
3396 | # Ultrix and OSF/1 -std1 | ||
3397 | # HP-UX 10.20 and later -Ae | ||
3398 | # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
3399 | # SVR4 -Xc -D__EXTENSIONS__ | ||
3400 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
3401 | do | ||
3402 | CC="$ac_save_CC $ac_arg" | ||
3403 | rm -f conftest.$ac_objext | ||
3404 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3405 | (eval $ac_compile) 2>&5 | ||
3406 | ac_status=$? | ||
3407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3408 | (exit $ac_status); } && | ||
3409 | { ac_try='test -s conftest.$ac_objext' | ||
3410 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3411 | (eval $ac_try) 2>&5 | ||
3412 | ac_status=$? | ||
3413 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3414 | (exit $ac_status); }; }; then | ||
3415 | ac_cv_prog_cc_stdc=$ac_arg | ||
3416 | break | ||
3417 | else | ||
3418 | echo "$as_me: failed program was:" >&5 | ||
3419 | cat conftest.$ac_ext >&5 | ||
3420 | fi | ||
3421 | rm -f conftest.$ac_objext | ||
3422 | done | ||
3423 | rm -f conftest.$ac_ext conftest.$ac_objext | ||
3424 | CC=$ac_save_CC | ||
3425 | |||
3426 | fi | ||
3427 | |||
3428 | case "x$ac_cv_prog_cc_stdc" in | ||
3429 | x|xno) | ||
3430 | echo "$as_me:$LINENO: result: none needed" >&5 | ||
3431 | echo "${ECHO_T}none needed" >&6 ;; | ||
3432 | *) | ||
3433 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | ||
3434 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
3435 | CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
3436 | esac | ||
3437 | |||
3438 | echo "$as_me:$LINENO: checking for inline" >&5 | ||
3439 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | ||
3440 | if test "${ac_cv_c_inline+set}" = set; then | ||
3441 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3442 | else | ||
3443 | ac_cv_c_inline=no | ||
3444 | for ac_kw in inline __inline__ __inline; do | ||
3445 | cat >conftest.$ac_ext <<_ACEOF | ||
3446 | #line $LINENO "configure" | ||
3447 | #include "confdefs.h" | ||
3448 | #ifndef __cplusplus | ||
3449 | static $ac_kw int static_foo () {return 0; } | ||
3450 | $ac_kw int foo () {return 0; } | ||
3451 | #endif | ||
3452 | |||
3453 | _ACEOF | ||
3454 | rm -f conftest.$ac_objext | ||
3455 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3456 | (eval $ac_compile) 2>&5 | ||
3457 | ac_status=$? | ||
3458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3459 | (exit $ac_status); } && | ||
3460 | { ac_try='test -s conftest.$ac_objext' | ||
3461 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3462 | (eval $ac_try) 2>&5 | ||
3463 | ac_status=$? | ||
3464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3465 | (exit $ac_status); }; }; then | ||
3466 | ac_cv_c_inline=$ac_kw; break | ||
3467 | else | ||
3468 | echo "$as_me: failed program was:" >&5 | ||
3469 | cat conftest.$ac_ext >&5 | ||
3470 | fi | ||
3471 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3472 | done | ||
3473 | |||
3474 | fi | ||
3475 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | ||
3476 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | ||
3477 | case $ac_cv_c_inline in | ||
3478 | inline | yes) ;; | ||
3479 | no) | ||
3480 | cat >>confdefs.h <<\_ACEOF | ||
3481 | @%:@define inline | ||
3482 | _ACEOF | ||
3483 | ;; | ||
3484 | *) cat >>confdefs.h <<_ACEOF | ||
3485 | @%:@define inline $ac_cv_c_inline | ||
3486 | _ACEOF | ||
3487 | ;; | ||
3488 | esac | ||
3489 | |||
3490 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | ||
3491 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" | ||
3492 | fi | ||
3493 | |||
3494 | # Check for some target-specific stuff | ||
3495 | case "$host" in | ||
3496 | *-*-aix*) | ||
3497 | AFS_LIBS="-lld" | ||
3498 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
3499 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
3500 | if (test "$LD" != "gcc" && test -z "$blibpath"); then | ||
3501 | echo "$as_me:$LINENO: checking if linkage editor ($LD) accepts -blibpath" >&5 | ||
3502 | echo $ECHO_N "checking if linkage editor ($LD) accepts -blibpath... $ECHO_C" >&6 | ||
3503 | saved_LDFLAGS="$LDFLAGS" | ||
3504 | LDFLAGS="$LDFLAGS -blibpath:/usr/lib:/lib:/usr/local/lib" | ||
3505 | cat >conftest.$ac_ext <<_ACEOF | ||
3506 | #line $LINENO "configure" | ||
3507 | #include "confdefs.h" | ||
3508 | |||
3509 | #ifdef F77_DUMMY_MAIN | ||
3510 | # ifdef __cplusplus | ||
3511 | extern "C" | ||
3512 | # endif | ||
3513 | int F77_DUMMY_MAIN() { return 1; } | ||
3514 | #endif | ||
3515 | int | ||
3516 | main () | ||
3517 | { | ||
3518 | |||
3519 | ; | ||
3520 | return 0; | ||
3521 | } | ||
3522 | _ACEOF | ||
3523 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3524 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3525 | (eval $ac_link) 2>&5 | ||
3526 | ac_status=$? | ||
3527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3528 | (exit $ac_status); } && | ||
3529 | { ac_try='test -s conftest$ac_exeext' | ||
3530 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3531 | (eval $ac_try) 2>&5 | ||
3532 | ac_status=$? | ||
3533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3534 | (exit $ac_status); }; }; then | ||
3535 | |||
3536 | echo "$as_me:$LINENO: result: yes" >&5 | ||
3537 | echo "${ECHO_T}yes" >&6 | ||
3538 | blibpath="/usr/lib:/lib:/usr/local/lib" | ||
3539 | |||
3540 | else | ||
3541 | echo "$as_me: failed program was:" >&5 | ||
3542 | cat conftest.$ac_ext >&5 | ||
3543 | echo "$as_me:$LINENO: result: no" >&5 | ||
3544 | echo "${ECHO_T}no" >&6 | ||
3545 | |||
3546 | fi | ||
3547 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3548 | LDFLAGS="$saved_LDFLAGS" | ||
3549 | fi | ||
3550 | echo "$as_me:$LINENO: checking for authenticate" >&5 | ||
3551 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6 | ||
3552 | if test "${ac_cv_func_authenticate+set}" = set; then | ||
3553 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3554 | else | ||
3555 | cat >conftest.$ac_ext <<_ACEOF | ||
3556 | #line $LINENO "configure" | ||
3557 | #include "confdefs.h" | ||
3558 | /* System header to define __stub macros and hopefully few prototypes, | ||
3559 | which can conflict with char authenticate (); below. */ | ||
3560 | #include <assert.h> | ||
3561 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
3562 | #ifdef __cplusplus | ||
3563 | extern "C" | ||
3564 | #endif | ||
3565 | /* We use char because int might match the return type of a gcc2 | ||
3566 | builtin and then its argument prototype would still apply. */ | ||
3567 | char authenticate (); | ||
3568 | char (*f) (); | ||
3569 | |||
3570 | #ifdef F77_DUMMY_MAIN | ||
3571 | # ifdef __cplusplus | ||
3572 | extern "C" | ||
3573 | # endif | ||
3574 | int F77_DUMMY_MAIN() { return 1; } | ||
3575 | #endif | ||
3576 | int | ||
3577 | main () | ||
3578 | { | ||
3579 | /* The GNU C library defines this for functions which it implements | ||
3580 | to always fail with ENOSYS. Some functions are actually named | ||
3581 | something starting with __ and the normal name is an alias. */ | ||
3582 | #if defined (__stub_authenticate) || defined (__stub___authenticate) | ||
3583 | choke me | ||
3584 | #else | ||
3585 | f = authenticate; | ||
3586 | #endif | ||
3587 | |||
3588 | ; | ||
3589 | return 0; | ||
3590 | } | ||
3591 | _ACEOF | ||
3592 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3593 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3594 | (eval $ac_link) 2>&5 | ||
3595 | ac_status=$? | ||
3596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3597 | (exit $ac_status); } && | ||
3598 | { ac_try='test -s conftest$ac_exeext' | ||
3599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3600 | (eval $ac_try) 2>&5 | ||
3601 | ac_status=$? | ||
3602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3603 | (exit $ac_status); }; }; then | ||
3604 | ac_cv_func_authenticate=yes | ||
3605 | else | ||
3606 | echo "$as_me: failed program was:" >&5 | ||
3607 | cat conftest.$ac_ext >&5 | ||
3608 | ac_cv_func_authenticate=no | ||
3609 | fi | ||
3610 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3611 | fi | ||
3612 | echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 | ||
3613 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6 | ||
3614 | if test $ac_cv_func_authenticate = yes; then | ||
3615 | cat >>confdefs.h <<\_ACEOF | ||
3616 | @%:@define WITH_AIXAUTHENTICATE 1 | ||
3617 | _ACEOF | ||
3618 | |||
3619 | else | ||
3620 | echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 | ||
3621 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6 | ||
3622 | if test "${ac_cv_lib_s_authenticate+set}" = set; then | ||
3623 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3624 | else | ||
3625 | ac_check_lib_save_LIBS=$LIBS | ||
3626 | LIBS="-ls $LIBS" | ||
3627 | cat >conftest.$ac_ext <<_ACEOF | ||
3628 | #line $LINENO "configure" | ||
3629 | #include "confdefs.h" | ||
3630 | |||
3631 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
3632 | #ifdef __cplusplus | ||
3633 | extern "C" | ||
3634 | #endif | ||
3635 | /* We use char because int might match the return type of a gcc2 | ||
3636 | builtin and then its argument prototype would still apply. */ | ||
3637 | char authenticate (); | ||
3638 | #ifdef F77_DUMMY_MAIN | ||
3639 | # ifdef __cplusplus | ||
3640 | extern "C" | ||
3641 | # endif | ||
3642 | int F77_DUMMY_MAIN() { return 1; } | ||
3643 | #endif | ||
3644 | int | ||
3645 | main () | ||
3646 | { | ||
3647 | authenticate (); | ||
3648 | ; | ||
3649 | return 0; | ||
3650 | } | ||
3651 | _ACEOF | ||
3652 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3653 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3654 | (eval $ac_link) 2>&5 | ||
3655 | ac_status=$? | ||
3656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3657 | (exit $ac_status); } && | ||
3658 | { ac_try='test -s conftest$ac_exeext' | ||
3659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3660 | (eval $ac_try) 2>&5 | ||
3661 | ac_status=$? | ||
3662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3663 | (exit $ac_status); }; }; then | ||
3664 | ac_cv_lib_s_authenticate=yes | ||
3665 | else | ||
3666 | echo "$as_me: failed program was:" >&5 | ||
3667 | cat conftest.$ac_ext >&5 | ||
3668 | ac_cv_lib_s_authenticate=no | ||
3669 | fi | ||
3670 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3671 | LIBS=$ac_check_lib_save_LIBS | ||
3672 | fi | ||
3673 | echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5 | ||
3674 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6 | ||
3675 | if test $ac_cv_lib_s_authenticate = yes; then | ||
3676 | cat >>confdefs.h <<\_ACEOF | ||
3677 | @%:@define WITH_AIXAUTHENTICATE 1 | ||
3678 | _ACEOF | ||
3679 | |||
3680 | LIBS="$LIBS -ls" | ||
3681 | |||
3682 | fi | ||
3683 | |||
3684 | |||
3685 | fi | ||
3686 | |||
3687 | cat >>confdefs.h <<\_ACEOF | ||
3688 | @%:@define BROKEN_GETADDRINFO 1 | ||
3689 | _ACEOF | ||
3690 | |||
3691 | cat >>confdefs.h <<\_ACEOF | ||
3692 | @%:@define BROKEN_REALPATH 1 | ||
3693 | _ACEOF | ||
3694 | |||
3695 | cat >>confdefs.h <<\_ACEOF | ||
3696 | @%:@define DISABLE_LASTLOG 1 | ||
3697 | _ACEOF | ||
3698 | |||
3699 | cat >>confdefs.h <<\_ACEOF | ||
3700 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
3701 | _ACEOF | ||
3702 | |||
3703 | cat >>confdefs.h <<\_ACEOF | ||
3704 | @%:@define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV | ||
3705 | _ACEOF | ||
3706 | |||
3707 | cat >>confdefs.h <<\_ACEOF | ||
3708 | @%:@define SETPROCTITLE_PS_PADDING '\0' | ||
3709 | _ACEOF | ||
3710 | |||
3711 | ;; | ||
3712 | *-*-cygwin*) | ||
3713 | check_for_libcrypt_later=1 | ||
3714 | LIBS="$LIBS /usr/lib/textmode.o" | ||
3715 | cat >>confdefs.h <<\_ACEOF | ||
3716 | @%:@define HAVE_CYGWIN 1 | ||
3717 | _ACEOF | ||
3718 | |||
3719 | cat >>confdefs.h <<\_ACEOF | ||
3720 | @%:@define USE_PIPES 1 | ||
3721 | _ACEOF | ||
3722 | |||
3723 | cat >>confdefs.h <<\_ACEOF | ||
3724 | @%:@define DISABLE_SHADOW 1 | ||
3725 | _ACEOF | ||
3726 | |||
3727 | cat >>confdefs.h <<\_ACEOF | ||
3728 | @%:@define IPV4_DEFAULT 1 | ||
3729 | _ACEOF | ||
3730 | |||
3731 | cat >>confdefs.h <<\_ACEOF | ||
3732 | @%:@define IP_TOS_IS_BROKEN 1 | ||
3733 | _ACEOF | ||
3734 | |||
3735 | cat >>confdefs.h <<\_ACEOF | ||
3736 | @%:@define NO_X11_UNIX_SOCKETS 1 | ||
3737 | _ACEOF | ||
3738 | |||
3739 | cat >>confdefs.h <<\_ACEOF | ||
3740 | @%:@define NO_IPPORT_RESERVED_CONCEPT 1 | ||
3741 | _ACEOF | ||
3742 | |||
3743 | cat >>confdefs.h <<\_ACEOF | ||
3744 | @%:@define DISABLE_FD_PASSING 1 | ||
3745 | _ACEOF | ||
3746 | |||
3747 | cat >>confdefs.h <<\_ACEOF | ||
3748 | @%:@define SETGROUPS_NOOP 1 | ||
3749 | _ACEOF | ||
3750 | |||
3751 | ;; | ||
3752 | *-*-dgux*) | ||
3753 | cat >>confdefs.h <<\_ACEOF | ||
3754 | @%:@define IP_TOS_IS_BROKEN 1 | ||
3755 | _ACEOF | ||
3756 | |||
3757 | ;; | ||
3758 | *-*-darwin*) | ||
3759 | echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5 | ||
3760 | echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6 | ||
3761 | if test "$cross_compiling" = yes; then | ||
3762 | echo "$as_me:$LINENO: result: assume it is working" >&5 | ||
3763 | echo "${ECHO_T}assume it is working" >&6 | ||
3764 | else | ||
3765 | cat >conftest.$ac_ext <<_ACEOF | ||
3766 | #line $LINENO "configure" | ||
3767 | #include "confdefs.h" | ||
3768 | #include <mach-o/dyld.h> | ||
3769 | main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | ||
3770 | exit(0); | ||
3771 | else | ||
3772 | exit(1); | ||
3773 | } | ||
3774 | _ACEOF | ||
3775 | rm -f conftest$ac_exeext | ||
3776 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3777 | (eval $ac_link) 2>&5 | ||
3778 | ac_status=$? | ||
3779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3780 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3781 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3782 | (eval $ac_try) 2>&5 | ||
3783 | ac_status=$? | ||
3784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3785 | (exit $ac_status); }; }; then | ||
3786 | echo "$as_me:$LINENO: result: working" >&5 | ||
3787 | echo "${ECHO_T}working" >&6 | ||
3788 | else | ||
3789 | echo "$as_me: program exited with status $ac_status" >&5 | ||
3790 | echo "$as_me: failed program was:" >&5 | ||
3791 | cat conftest.$ac_ext >&5 | ||
3792 | ( exit $ac_status ) | ||
3793 | echo "$as_me:$LINENO: result: buggy" >&5 | ||
3794 | echo "${ECHO_T}buggy" >&6 | ||
3795 | cat >>confdefs.h <<\_ACEOF | ||
3796 | @%:@define BROKEN_GETADDRINFO 1 | ||
3797 | _ACEOF | ||
3798 | |||
3799 | fi | ||
3800 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
3801 | fi | ||
3802 | ;; | ||
3803 | *-*-hpux10.26) | ||
3804 | if test -z "$GCC"; then | ||
3805 | CFLAGS="$CFLAGS -Ae" | ||
3806 | fi | ||
3807 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
3808 | IPADDR_IN_DISPLAY=yes | ||
3809 | cat >>confdefs.h <<\_ACEOF | ||
3810 | @%:@define HAVE_SECUREWARE 1 | ||
3811 | _ACEOF | ||
3812 | |||
3813 | cat >>confdefs.h <<\_ACEOF | ||
3814 | @%:@define USE_PIPES 1 | ||
3815 | _ACEOF | ||
3816 | |||
3817 | cat >>confdefs.h <<\_ACEOF | ||
3818 | @%:@define LOGIN_NO_ENDOPT 1 | ||
3819 | _ACEOF | ||
3820 | |||
3821 | cat >>confdefs.h <<\_ACEOF | ||
3822 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
3823 | _ACEOF | ||
3824 | |||
3825 | cat >>confdefs.h <<\_ACEOF | ||
3826 | @%:@define DISABLE_SHADOW 1 | ||
3827 | _ACEOF | ||
3828 | |||
3829 | cat >>confdefs.h <<\_ACEOF | ||
3830 | @%:@define DISABLE_UTMP 1 | ||
3831 | _ACEOF | ||
3832 | |||
3833 | cat >>confdefs.h <<\_ACEOF | ||
3834 | @%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT | ||
3835 | _ACEOF | ||
3836 | |||
3837 | LIBS="$LIBS -lsec -lsecpw" | ||
3838 | |||
3839 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
3840 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
3841 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
3842 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3843 | else | ||
3844 | ac_check_lib_save_LIBS=$LIBS | ||
3845 | LIBS="-lxnet $LIBS" | ||
3846 | cat >conftest.$ac_ext <<_ACEOF | ||
3847 | #line $LINENO "configure" | ||
3848 | #include "confdefs.h" | ||
3849 | |||
3850 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
3851 | #ifdef __cplusplus | ||
3852 | extern "C" | ||
3853 | #endif | ||
3854 | /* We use char because int might match the return type of a gcc2 | ||
3855 | builtin and then its argument prototype would still apply. */ | ||
3856 | char t_error (); | ||
3857 | #ifdef F77_DUMMY_MAIN | ||
3858 | # ifdef __cplusplus | ||
3859 | extern "C" | ||
3860 | # endif | ||
3861 | int F77_DUMMY_MAIN() { return 1; } | ||
3862 | #endif | ||
3863 | int | ||
3864 | main () | ||
3865 | { | ||
3866 | t_error (); | ||
3867 | ; | ||
3868 | return 0; | ||
3869 | } | ||
3870 | _ACEOF | ||
3871 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3872 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3873 | (eval $ac_link) 2>&5 | ||
3874 | ac_status=$? | ||
3875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3876 | (exit $ac_status); } && | ||
3877 | { ac_try='test -s conftest$ac_exeext' | ||
3878 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3879 | (eval $ac_try) 2>&5 | ||
3880 | ac_status=$? | ||
3881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3882 | (exit $ac_status); }; }; then | ||
3883 | ac_cv_lib_xnet_t_error=yes | ||
3884 | else | ||
3885 | echo "$as_me: failed program was:" >&5 | ||
3886 | cat conftest.$ac_ext >&5 | ||
3887 | ac_cv_lib_xnet_t_error=no | ||
3888 | fi | ||
3889 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3890 | LIBS=$ac_check_lib_save_LIBS | ||
3891 | fi | ||
3892 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
3893 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
3894 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
3895 | cat >>confdefs.h <<_ACEOF | ||
3896 | @%:@define HAVE_LIBXNET 1 | ||
3897 | _ACEOF | ||
3898 | |||
3899 | LIBS="-lxnet $LIBS" | ||
3900 | |||
3901 | else | ||
3902 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
3903 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
3904 | { (exit 1); exit 1; }; } | ||
3905 | fi | ||
3906 | |||
3907 | disable_ptmx_check=yes | ||
3908 | ;; | ||
3909 | *-*-hpux10*) | ||
3910 | if test -z "$GCC"; then | ||
3911 | CFLAGS="$CFLAGS -Ae" | ||
3912 | fi | ||
3913 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
3914 | IPADDR_IN_DISPLAY=yes | ||
3915 | cat >>confdefs.h <<\_ACEOF | ||
3916 | @%:@define USE_PIPES 1 | ||
3917 | _ACEOF | ||
3918 | |||
3919 | cat >>confdefs.h <<\_ACEOF | ||
3920 | @%:@define LOGIN_NO_ENDOPT 1 | ||
3921 | _ACEOF | ||
3922 | |||
3923 | cat >>confdefs.h <<\_ACEOF | ||
3924 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
3925 | _ACEOF | ||
3926 | |||
3927 | cat >>confdefs.h <<\_ACEOF | ||
3928 | @%:@define DISABLE_SHADOW 1 | ||
3929 | _ACEOF | ||
3930 | |||
3931 | cat >>confdefs.h <<\_ACEOF | ||
3932 | @%:@define DISABLE_UTMP 1 | ||
3933 | _ACEOF | ||
3934 | |||
3935 | cat >>confdefs.h <<\_ACEOF | ||
3936 | @%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT | ||
3937 | _ACEOF | ||
3938 | |||
3939 | LIBS="$LIBS -lsec" | ||
3940 | |||
3941 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
3942 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
3943 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
3944 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3945 | else | ||
3946 | ac_check_lib_save_LIBS=$LIBS | ||
3947 | LIBS="-lxnet $LIBS" | ||
3948 | cat >conftest.$ac_ext <<_ACEOF | ||
3949 | #line $LINENO "configure" | ||
3950 | #include "confdefs.h" | ||
3951 | |||
3952 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
3953 | #ifdef __cplusplus | ||
3954 | extern "C" | ||
3955 | #endif | ||
3956 | /* We use char because int might match the return type of a gcc2 | ||
3957 | builtin and then its argument prototype would still apply. */ | ||
3958 | char t_error (); | ||
3959 | #ifdef F77_DUMMY_MAIN | ||
3960 | # ifdef __cplusplus | ||
3961 | extern "C" | ||
3962 | # endif | ||
3963 | int F77_DUMMY_MAIN() { return 1; } | ||
3964 | #endif | ||
3965 | int | ||
3966 | main () | ||
3967 | { | ||
3968 | t_error (); | ||
3969 | ; | ||
3970 | return 0; | ||
3971 | } | ||
3972 | _ACEOF | ||
3973 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3974 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3975 | (eval $ac_link) 2>&5 | ||
3976 | ac_status=$? | ||
3977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3978 | (exit $ac_status); } && | ||
3979 | { ac_try='test -s conftest$ac_exeext' | ||
3980 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3981 | (eval $ac_try) 2>&5 | ||
3982 | ac_status=$? | ||
3983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3984 | (exit $ac_status); }; }; then | ||
3985 | ac_cv_lib_xnet_t_error=yes | ||
3986 | else | ||
3987 | echo "$as_me: failed program was:" >&5 | ||
3988 | cat conftest.$ac_ext >&5 | ||
3989 | ac_cv_lib_xnet_t_error=no | ||
3990 | fi | ||
3991 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3992 | LIBS=$ac_check_lib_save_LIBS | ||
3993 | fi | ||
3994 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
3995 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
3996 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
3997 | cat >>confdefs.h <<_ACEOF | ||
3998 | @%:@define HAVE_LIBXNET 1 | ||
3999 | _ACEOF | ||
4000 | |||
4001 | LIBS="-lxnet $LIBS" | ||
4002 | |||
4003 | else | ||
4004 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
4005 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
4006 | { (exit 1); exit 1; }; } | ||
4007 | fi | ||
4008 | |||
4009 | ;; | ||
4010 | *-*-hpux11*) | ||
4011 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
4012 | IPADDR_IN_DISPLAY=yes | ||
4013 | cat >>confdefs.h <<\_ACEOF | ||
4014 | @%:@define PAM_SUN_CODEBASE 1 | ||
4015 | _ACEOF | ||
4016 | |||
4017 | cat >>confdefs.h <<\_ACEOF | ||
4018 | @%:@define USE_PIPES 1 | ||
4019 | _ACEOF | ||
4020 | |||
4021 | cat >>confdefs.h <<\_ACEOF | ||
4022 | @%:@define LOGIN_NO_ENDOPT 1 | ||
4023 | _ACEOF | ||
4024 | |||
4025 | cat >>confdefs.h <<\_ACEOF | ||
4026 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
4027 | _ACEOF | ||
4028 | |||
4029 | cat >>confdefs.h <<\_ACEOF | ||
4030 | @%:@define DISABLE_SHADOW 1 | ||
4031 | _ACEOF | ||
4032 | |||
4033 | cat >>confdefs.h <<\_ACEOF | ||
4034 | @%:@define DISABLE_UTMP 1 | ||
4035 | _ACEOF | ||
4036 | |||
4037 | cat >>confdefs.h <<\_ACEOF | ||
4038 | @%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT | ||
4039 | _ACEOF | ||
4040 | |||
4041 | LIBS="$LIBS -lsec" | ||
4042 | |||
4043 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
4044 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
4045 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
4046 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4047 | else | ||
4048 | ac_check_lib_save_LIBS=$LIBS | ||
4049 | LIBS="-lxnet $LIBS" | ||
4050 | cat >conftest.$ac_ext <<_ACEOF | ||
4051 | #line $LINENO "configure" | ||
4052 | #include "confdefs.h" | ||
4053 | |||
4054 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4055 | #ifdef __cplusplus | ||
4056 | extern "C" | ||
4057 | #endif | ||
4058 | /* We use char because int might match the return type of a gcc2 | ||
4059 | builtin and then its argument prototype would still apply. */ | ||
4060 | char t_error (); | ||
4061 | #ifdef F77_DUMMY_MAIN | ||
4062 | # ifdef __cplusplus | ||
4063 | extern "C" | ||
4064 | # endif | ||
4065 | int F77_DUMMY_MAIN() { return 1; } | ||
4066 | #endif | ||
4067 | int | ||
4068 | main () | ||
4069 | { | ||
4070 | t_error (); | ||
4071 | ; | ||
4072 | return 0; | ||
4073 | } | ||
4074 | _ACEOF | ||
4075 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4076 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4077 | (eval $ac_link) 2>&5 | ||
4078 | ac_status=$? | ||
4079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4080 | (exit $ac_status); } && | ||
4081 | { ac_try='test -s conftest$ac_exeext' | ||
4082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4083 | (eval $ac_try) 2>&5 | ||
4084 | ac_status=$? | ||
4085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4086 | (exit $ac_status); }; }; then | ||
4087 | ac_cv_lib_xnet_t_error=yes | ||
4088 | else | ||
4089 | echo "$as_me: failed program was:" >&5 | ||
4090 | cat conftest.$ac_ext >&5 | ||
4091 | ac_cv_lib_xnet_t_error=no | ||
4092 | fi | ||
4093 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4094 | LIBS=$ac_check_lib_save_LIBS | ||
4095 | fi | ||
4096 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
4097 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
4098 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
4099 | cat >>confdefs.h <<_ACEOF | ||
4100 | @%:@define HAVE_LIBXNET 1 | ||
4101 | _ACEOF | ||
4102 | |||
4103 | LIBS="-lxnet $LIBS" | ||
4104 | |||
4105 | else | ||
4106 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
4107 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
4108 | { (exit 1); exit 1; }; } | ||
4109 | fi | ||
4110 | |||
4111 | ;; | ||
4112 | *-*-irix5*) | ||
4113 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4114 | LDFLAGS="$LDFLAGS" | ||
4115 | PATH="$PATH:/usr/etc" | ||
4116 | cat >>confdefs.h <<\_ACEOF | ||
4117 | @%:@define BROKEN_INET_NTOA 1 | ||
4118 | _ACEOF | ||
4119 | |||
4120 | cat >>confdefs.h <<\_ACEOF | ||
4121 | @%:@define WITH_ABBREV_NO_TTY 1 | ||
4122 | _ACEOF | ||
4123 | |||
4124 | ;; | ||
4125 | *-*-irix6*) | ||
4126 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4127 | LDFLAGS="$LDFLAGS" | ||
4128 | PATH="$PATH:/usr/etc" | ||
4129 | cat >>confdefs.h <<\_ACEOF | ||
4130 | @%:@define WITH_IRIX_ARRAY 1 | ||
4131 | _ACEOF | ||
4132 | |||
4133 | cat >>confdefs.h <<\_ACEOF | ||
4134 | @%:@define WITH_IRIX_PROJECT 1 | ||
4135 | _ACEOF | ||
4136 | |||
4137 | cat >>confdefs.h <<\_ACEOF | ||
4138 | @%:@define WITH_IRIX_AUDIT 1 | ||
4139 | _ACEOF | ||
4140 | |||
4141 | echo "$as_me:$LINENO: checking for jlimit_startjob" >&5 | ||
4142 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 | ||
4143 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then | ||
4144 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4145 | else | ||
4146 | cat >conftest.$ac_ext <<_ACEOF | ||
4147 | #line $LINENO "configure" | ||
4148 | #include "confdefs.h" | ||
4149 | /* System header to define __stub macros and hopefully few prototypes, | ||
4150 | which can conflict with char jlimit_startjob (); below. */ | ||
4151 | #include <assert.h> | ||
4152 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4153 | #ifdef __cplusplus | ||
4154 | extern "C" | ||
4155 | #endif | ||
4156 | /* We use char because int might match the return type of a gcc2 | ||
4157 | builtin and then its argument prototype would still apply. */ | ||
4158 | char jlimit_startjob (); | ||
4159 | char (*f) (); | ||
4160 | |||
4161 | #ifdef F77_DUMMY_MAIN | ||
4162 | # ifdef __cplusplus | ||
4163 | extern "C" | ||
4164 | # endif | ||
4165 | int F77_DUMMY_MAIN() { return 1; } | ||
4166 | #endif | ||
4167 | int | ||
4168 | main () | ||
4169 | { | ||
4170 | /* The GNU C library defines this for functions which it implements | ||
4171 | to always fail with ENOSYS. Some functions are actually named | ||
4172 | something starting with __ and the normal name is an alias. */ | ||
4173 | #if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob) | ||
4174 | choke me | ||
4175 | #else | ||
4176 | f = jlimit_startjob; | ||
4177 | #endif | ||
4178 | |||
4179 | ; | ||
4180 | return 0; | ||
4181 | } | ||
4182 | _ACEOF | ||
4183 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4184 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4185 | (eval $ac_link) 2>&5 | ||
4186 | ac_status=$? | ||
4187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4188 | (exit $ac_status); } && | ||
4189 | { ac_try='test -s conftest$ac_exeext' | ||
4190 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4191 | (eval $ac_try) 2>&5 | ||
4192 | ac_status=$? | ||
4193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4194 | (exit $ac_status); }; }; then | ||
4195 | ac_cv_func_jlimit_startjob=yes | ||
4196 | else | ||
4197 | echo "$as_me: failed program was:" >&5 | ||
4198 | cat conftest.$ac_ext >&5 | ||
4199 | ac_cv_func_jlimit_startjob=no | ||
4200 | fi | ||
4201 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4202 | fi | ||
4203 | echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 | ||
4204 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 | ||
4205 | if test $ac_cv_func_jlimit_startjob = yes; then | ||
4206 | cat >>confdefs.h <<\_ACEOF | ||
4207 | @%:@define WITH_IRIX_JOBS 1 | ||
4208 | _ACEOF | ||
4209 | |||
4210 | fi | ||
4211 | |||
4212 | cat >>confdefs.h <<\_ACEOF | ||
4213 | @%:@define BROKEN_INET_NTOA 1 | ||
4214 | _ACEOF | ||
4215 | |||
4216 | cat >>confdefs.h <<\_ACEOF | ||
4217 | @%:@define WITH_ABBREV_NO_TTY 1 | ||
4218 | _ACEOF | ||
4219 | |||
4220 | ;; | ||
4221 | *-*-linux*) | ||
4222 | no_dev_ptmx=1 | ||
4223 | check_for_libcrypt_later=1 | ||
4224 | cat >>confdefs.h <<\_ACEOF | ||
4225 | @%:@define DONT_TRY_OTHER_AF 1 | ||
4226 | _ACEOF | ||
4227 | |||
4228 | cat >>confdefs.h <<\_ACEOF | ||
4229 | @%:@define PAM_TTY_KLUDGE 1 | ||
4230 | _ACEOF | ||
4231 | |||
4232 | cat >>confdefs.h <<\_ACEOF | ||
4233 | @%:@define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV | ||
4234 | _ACEOF | ||
4235 | |||
4236 | cat >>confdefs.h <<\_ACEOF | ||
4237 | @%:@define SETPROCTITLE_PS_PADDING '\0' | ||
4238 | _ACEOF | ||
4239 | |||
4240 | inet6_default_4in6=yes | ||
4241 | ;; | ||
4242 | mips-sony-bsd|mips-sony-newsos4) | ||
4243 | cat >>confdefs.h <<\_ACEOF | ||
4244 | @%:@define HAVE_NEWS4 1 | ||
4245 | _ACEOF | ||
4246 | |||
4247 | SONY=1 | ||
4248 | ;; | ||
4249 | *-*-netbsd*) | ||
4250 | check_for_libcrypt_before=1 | ||
4251 | need_dash_r=1 | ||
4252 | ;; | ||
4253 | *-*-freebsd*) | ||
4254 | check_for_libcrypt_later=1 | ||
4255 | ;; | ||
4256 | *-next-*) | ||
4257 | conf_lastlog_location="/usr/adm/lastlog" | ||
4258 | conf_utmp_location=/etc/utmp | ||
4259 | conf_wtmp_location=/usr/adm/wtmp | ||
4260 | MAIL=/usr/spool/mail | ||
4261 | cat >>confdefs.h <<\_ACEOF | ||
4262 | @%:@define HAVE_NEXT 1 | ||
4263 | _ACEOF | ||
4264 | |||
4265 | cat >>confdefs.h <<\_ACEOF | ||
4266 | @%:@define BROKEN_REALPATH 1 | ||
4267 | _ACEOF | ||
4268 | |||
4269 | cat >>confdefs.h <<\_ACEOF | ||
4270 | @%:@define USE_PIPES 1 | ||
4271 | _ACEOF | ||
4272 | |||
4273 | cat >>confdefs.h <<\_ACEOF | ||
4274 | @%:@define BROKEN_SAVED_UIDS 1 | ||
4275 | _ACEOF | ||
4276 | |||
4277 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4278 | CFLAGS="$CFLAGS" | ||
4279 | ;; | ||
4280 | *-*-solaris*) | ||
4281 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4282 | LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" | ||
4283 | need_dash_r=1 | ||
4284 | cat >>confdefs.h <<\_ACEOF | ||
4285 | @%:@define PAM_SUN_CODEBASE 1 | ||
4286 | _ACEOF | ||
4287 | |||
4288 | cat >>confdefs.h <<\_ACEOF | ||
4289 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
4290 | _ACEOF | ||
4291 | |||
4292 | cat >>confdefs.h <<\_ACEOF | ||
4293 | @%:@define LOGIN_NEEDS_TERM 1 | ||
4294 | _ACEOF | ||
4295 | |||
4296 | cat >>confdefs.h <<\_ACEOF | ||
4297 | @%:@define PAM_TTY_KLUDGE 1 | ||
4298 | _ACEOF | ||
4299 | |||
4300 | cat >>confdefs.h <<\_ACEOF | ||
4301 | @%:@define STREAMS_PUSH_ACQUIRES_CTTY 1 | ||
4302 | _ACEOF | ||
4303 | |||
4304 | # hardwire lastlog location (can't detect it on some versions) | ||
4305 | conf_lastlog_location="/var/adm/lastlog" | ||
4306 | echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 | ||
4307 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 | ||
4308 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` | ||
4309 | if test "$sol2ver" -ge 8; then | ||
4310 | echo "$as_me:$LINENO: result: yes" >&5 | ||
4311 | echo "${ECHO_T}yes" >&6 | ||
4312 | cat >>confdefs.h <<\_ACEOF | ||
4313 | @%:@define DISABLE_UTMP 1 | ||
4314 | _ACEOF | ||
4315 | |||
4316 | cat >>confdefs.h <<\_ACEOF | ||
4317 | @%:@define DISABLE_WTMP 1 | ||
4318 | _ACEOF | ||
4319 | |||
4320 | else | ||
4321 | echo "$as_me:$LINENO: result: no" >&5 | ||
4322 | echo "${ECHO_T}no" >&6 | ||
4323 | fi | ||
4324 | ;; | ||
4325 | *-*-sunos4*) | ||
4326 | CPPFLAGS="$CPPFLAGS -DSUNOS4" | ||
4327 | |||
4328 | for ac_func in getpwanam | ||
4329 | do | ||
4330 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
4331 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
4332 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
4333 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
4334 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4335 | else | ||
4336 | cat >conftest.$ac_ext <<_ACEOF | ||
4337 | #line $LINENO "configure" | ||
4338 | #include "confdefs.h" | ||
4339 | /* System header to define __stub macros and hopefully few prototypes, | ||
4340 | which can conflict with char $ac_func (); below. */ | ||
4341 | #include <assert.h> | ||
4342 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4343 | #ifdef __cplusplus | ||
4344 | extern "C" | ||
4345 | #endif | ||
4346 | /* We use char because int might match the return type of a gcc2 | ||
4347 | builtin and then its argument prototype would still apply. */ | ||
4348 | char $ac_func (); | ||
4349 | char (*f) (); | ||
4350 | |||
4351 | #ifdef F77_DUMMY_MAIN | ||
4352 | # ifdef __cplusplus | ||
4353 | extern "C" | ||
4354 | # endif | ||
4355 | int F77_DUMMY_MAIN() { return 1; } | ||
4356 | #endif | ||
4357 | int | ||
4358 | main () | ||
4359 | { | ||
4360 | /* The GNU C library defines this for functions which it implements | ||
4361 | to always fail with ENOSYS. Some functions are actually named | ||
4362 | something starting with __ and the normal name is an alias. */ | ||
4363 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
4364 | choke me | ||
4365 | #else | ||
4366 | f = $ac_func; | ||
4367 | #endif | ||
4368 | |||
4369 | ; | ||
4370 | return 0; | ||
4371 | } | ||
4372 | _ACEOF | ||
4373 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4374 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4375 | (eval $ac_link) 2>&5 | ||
4376 | ac_status=$? | ||
4377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4378 | (exit $ac_status); } && | ||
4379 | { ac_try='test -s conftest$ac_exeext' | ||
4380 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4381 | (eval $ac_try) 2>&5 | ||
4382 | ac_status=$? | ||
4383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4384 | (exit $ac_status); }; }; then | ||
4385 | eval "$as_ac_var=yes" | ||
4386 | else | ||
4387 | echo "$as_me: failed program was:" >&5 | ||
4388 | cat conftest.$ac_ext >&5 | ||
4389 | eval "$as_ac_var=no" | ||
4390 | fi | ||
4391 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4392 | fi | ||
4393 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
4394 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
4395 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
4396 | cat >>confdefs.h <<_ACEOF | ||
4397 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
4398 | _ACEOF | ||
4399 | |||
4400 | fi | ||
4401 | done | ||
4402 | |||
4403 | cat >>confdefs.h <<\_ACEOF | ||
4404 | @%:@define PAM_SUN_CODEBASE 1 | ||
4405 | _ACEOF | ||
4406 | |||
4407 | conf_utmp_location=/etc/utmp | ||
4408 | conf_wtmp_location=/var/adm/wtmp | ||
4409 | conf_lastlog_location=/var/adm/lastlog | ||
4410 | cat >>confdefs.h <<\_ACEOF | ||
4411 | @%:@define USE_PIPES 1 | ||
4412 | _ACEOF | ||
4413 | |||
4414 | ;; | ||
4415 | *-ncr-sysv*) | ||
4416 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4417 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4418 | LIBS="$LIBS -lc89" | ||
4419 | cat >>confdefs.h <<\_ACEOF | ||
4420 | @%:@define USE_PIPES 1 | ||
4421 | _ACEOF | ||
4422 | |||
4423 | ;; | ||
4424 | *-sni-sysv*) | ||
4425 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4426 | # /usr/ucblib MUST NOT be searched on ReliantUNIX | ||
4427 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4428 | IPADDR_IN_DISPLAY=yes | ||
4429 | cat >>confdefs.h <<\_ACEOF | ||
4430 | @%:@define USE_PIPES 1 | ||
4431 | _ACEOF | ||
4432 | |||
4433 | cat >>confdefs.h <<\_ACEOF | ||
4434 | @%:@define IP_TOS_IS_BROKEN 1 | ||
4435 | _ACEOF | ||
4436 | |||
4437 | # /usr/ucblib/libucb.a no longer needed on ReliantUNIX | ||
4438 | # Attention: always take care to bind libsocket and libnsl before libc, | ||
4439 | # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog | ||
4440 | ;; | ||
4441 | *-*-sysv4.2*) | ||
4442 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4443 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4444 | cat >>confdefs.h <<\_ACEOF | ||
4445 | @%:@define USE_PIPES 1 | ||
4446 | _ACEOF | ||
4447 | |||
4448 | ;; | ||
4449 | *-*-sysv5*) | ||
4450 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4451 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4452 | cat >>confdefs.h <<\_ACEOF | ||
4453 | @%:@define USE_PIPES 1 | ||
4454 | _ACEOF | ||
4455 | |||
4456 | ;; | ||
4457 | *-*-sysv*) | ||
4458 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4459 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4460 | ;; | ||
4461 | *-*-sco3.2v4*) | ||
4462 | CPPFLAGS="$CPPFLAGS -Dftruncate=chsize -I/usr/local/include" | ||
4463 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4464 | LIBS="$LIBS -los -lprot -lx -ltinfo -lm" | ||
4465 | RANLIB=true | ||
4466 | no_dev_ptmx=1 | ||
4467 | cat >>confdefs.h <<\_ACEOF | ||
4468 | @%:@define BROKEN_SYS_TERMIO_H 1 | ||
4469 | _ACEOF | ||
4470 | |||
4471 | cat >>confdefs.h <<\_ACEOF | ||
4472 | @%:@define USE_PIPES 1 | ||
4473 | _ACEOF | ||
4474 | |||
4475 | cat >>confdefs.h <<\_ACEOF | ||
4476 | @%:@define HAVE_SECUREWARE 1 | ||
4477 | _ACEOF | ||
4478 | |||
4479 | cat >>confdefs.h <<\_ACEOF | ||
4480 | @%:@define DISABLE_SHADOW 1 | ||
4481 | _ACEOF | ||
4482 | |||
4483 | cat >>confdefs.h <<\_ACEOF | ||
4484 | @%:@define BROKEN_SAVED_UIDS 1 | ||
4485 | _ACEOF | ||
4486 | |||
4487 | |||
4488 | |||
4489 | for ac_func in getluid setluid | ||
4490 | do | ||
4491 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
4492 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
4493 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
4494 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
4495 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4496 | else | ||
4497 | cat >conftest.$ac_ext <<_ACEOF | ||
4498 | #line $LINENO "configure" | ||
4499 | #include "confdefs.h" | ||
4500 | /* System header to define __stub macros and hopefully few prototypes, | ||
4501 | which can conflict with char $ac_func (); below. */ | ||
4502 | #include <assert.h> | ||
4503 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4504 | #ifdef __cplusplus | ||
4505 | extern "C" | ||
4506 | #endif | ||
4507 | /* We use char because int might match the return type of a gcc2 | ||
4508 | builtin and then its argument prototype would still apply. */ | ||
4509 | char $ac_func (); | ||
4510 | char (*f) (); | ||
4511 | |||
4512 | #ifdef F77_DUMMY_MAIN | ||
4513 | # ifdef __cplusplus | ||
4514 | extern "C" | ||
4515 | # endif | ||
4516 | int F77_DUMMY_MAIN() { return 1; } | ||
4517 | #endif | ||
4518 | int | ||
4519 | main () | ||
4520 | { | ||
4521 | /* The GNU C library defines this for functions which it implements | ||
4522 | to always fail with ENOSYS. Some functions are actually named | ||
4523 | something starting with __ and the normal name is an alias. */ | ||
4524 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
4525 | choke me | ||
4526 | #else | ||
4527 | f = $ac_func; | ||
4528 | #endif | ||
4529 | |||
4530 | ; | ||
4531 | return 0; | ||
4532 | } | ||
4533 | _ACEOF | ||
4534 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4535 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4536 | (eval $ac_link) 2>&5 | ||
4537 | ac_status=$? | ||
4538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4539 | (exit $ac_status); } && | ||
4540 | { ac_try='test -s conftest$ac_exeext' | ||
4541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4542 | (eval $ac_try) 2>&5 | ||
4543 | ac_status=$? | ||
4544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4545 | (exit $ac_status); }; }; then | ||
4546 | eval "$as_ac_var=yes" | ||
4547 | else | ||
4548 | echo "$as_me: failed program was:" >&5 | ||
4549 | cat conftest.$ac_ext >&5 | ||
4550 | eval "$as_ac_var=no" | ||
4551 | fi | ||
4552 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4553 | fi | ||
4554 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
4555 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
4556 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
4557 | cat >>confdefs.h <<_ACEOF | ||
4558 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
4559 | _ACEOF | ||
4560 | |||
4561 | fi | ||
4562 | done | ||
4563 | |||
4564 | MANTYPE=man | ||
4565 | do_sco3_extra_lib_check=yes | ||
4566 | ;; | ||
4567 | *-*-sco3.2v5*) | ||
4568 | if test -z "$GCC"; then | ||
4569 | CFLAGS="$CFLAGS -belf" | ||
4570 | fi | ||
4571 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4572 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4573 | LIBS="$LIBS -lprot -lx -ltinfo -lm" | ||
4574 | no_dev_ptmx=1 | ||
4575 | cat >>confdefs.h <<\_ACEOF | ||
4576 | @%:@define USE_PIPES 1 | ||
4577 | _ACEOF | ||
4578 | |||
4579 | cat >>confdefs.h <<\_ACEOF | ||
4580 | @%:@define HAVE_SECUREWARE 1 | ||
4581 | _ACEOF | ||
4582 | |||
4583 | cat >>confdefs.h <<\_ACEOF | ||
4584 | @%:@define DISABLE_SHADOW 1 | ||
4585 | _ACEOF | ||
4586 | |||
4587 | cat >>confdefs.h <<\_ACEOF | ||
4588 | @%:@define DISABLE_FD_PASSING 1 | ||
4589 | _ACEOF | ||
4590 | |||
4591 | |||
4592 | |||
4593 | for ac_func in getluid setluid | ||
4594 | do | ||
4595 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
4596 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
4597 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
4598 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
4599 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4600 | else | ||
4601 | cat >conftest.$ac_ext <<_ACEOF | ||
4602 | #line $LINENO "configure" | ||
4603 | #include "confdefs.h" | ||
4604 | /* System header to define __stub macros and hopefully few prototypes, | ||
4605 | which can conflict with char $ac_func (); below. */ | ||
4606 | #include <assert.h> | ||
4607 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4608 | #ifdef __cplusplus | ||
4609 | extern "C" | ||
4610 | #endif | ||
4611 | /* We use char because int might match the return type of a gcc2 | ||
4612 | builtin and then its argument prototype would still apply. */ | ||
4613 | char $ac_func (); | ||
4614 | char (*f) (); | ||
4615 | |||
4616 | #ifdef F77_DUMMY_MAIN | ||
4617 | # ifdef __cplusplus | ||
4618 | extern "C" | ||
4619 | # endif | ||
4620 | int F77_DUMMY_MAIN() { return 1; } | ||
4621 | #endif | ||
4622 | int | ||
4623 | main () | ||
4624 | { | ||
4625 | /* The GNU C library defines this for functions which it implements | ||
4626 | to always fail with ENOSYS. Some functions are actually named | ||
4627 | something starting with __ and the normal name is an alias. */ | ||
4628 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
4629 | choke me | ||
4630 | #else | ||
4631 | f = $ac_func; | ||
4632 | #endif | ||
4633 | |||
4634 | ; | ||
4635 | return 0; | ||
4636 | } | ||
4637 | _ACEOF | ||
4638 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4639 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4640 | (eval $ac_link) 2>&5 | ||
4641 | ac_status=$? | ||
4642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4643 | (exit $ac_status); } && | ||
4644 | { ac_try='test -s conftest$ac_exeext' | ||
4645 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4646 | (eval $ac_try) 2>&5 | ||
4647 | ac_status=$? | ||
4648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4649 | (exit $ac_status); }; }; then | ||
4650 | eval "$as_ac_var=yes" | ||
4651 | else | ||
4652 | echo "$as_me: failed program was:" >&5 | ||
4653 | cat conftest.$ac_ext >&5 | ||
4654 | eval "$as_ac_var=no" | ||
4655 | fi | ||
4656 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4657 | fi | ||
4658 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
4659 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
4660 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
4661 | cat >>confdefs.h <<_ACEOF | ||
4662 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
4663 | _ACEOF | ||
4664 | |||
4665 | fi | ||
4666 | done | ||
4667 | |||
4668 | MANTYPE=man | ||
4669 | ;; | ||
4670 | *-*-unicosmk*) | ||
4671 | cat >>confdefs.h <<\_ACEOF | ||
4672 | @%:@define USE_PIPES 1 | ||
4673 | _ACEOF | ||
4674 | |||
4675 | cat >>confdefs.h <<\_ACEOF | ||
4676 | @%:@define DISABLE_FD_PASSING 1 | ||
4677 | _ACEOF | ||
4678 | |||
4679 | LDFLAGS="$LDFLAGS" | ||
4680 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | ||
4681 | MANTYPE=cat | ||
4682 | ;; | ||
4683 | *-*-unicos*) | ||
4684 | cat >>confdefs.h <<\_ACEOF | ||
4685 | @%:@define USE_PIPES 1 | ||
4686 | _ACEOF | ||
4687 | |||
4688 | cat >>confdefs.h <<\_ACEOF | ||
4689 | @%:@define DISABLE_FD_PASSING 1 | ||
4690 | _ACEOF | ||
4691 | |||
4692 | cat >>confdefs.h <<\_ACEOF | ||
4693 | @%:@define NO_SSH_LASTLOG 1 | ||
4694 | _ACEOF | ||
4695 | |||
4696 | LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" | ||
4697 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | ||
4698 | MANTYPE=cat | ||
4699 | ;; | ||
4700 | *-dec-osf*) | ||
4701 | echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 | ||
4702 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 | ||
4703 | no_osfsia="" | ||
4704 | |||
4705 | # Check whether --with-osfsia or --without-osfsia was given. | ||
4706 | if test "${with_osfsia+set}" = set; then | ||
4707 | withval="$with_osfsia" | ||
4708 | |||
4709 | if test "x$withval" = "xno" ; then | ||
4710 | echo "$as_me:$LINENO: result: disabled" >&5 | ||
4711 | echo "${ECHO_T}disabled" >&6 | ||
4712 | no_osfsia=1 | ||
4713 | fi | ||
4714 | |||
4715 | fi; | ||
4716 | if test -z "$no_osfsia" ; then | ||
4717 | if test -f /etc/sia/matrix.conf; then | ||
4718 | echo "$as_me:$LINENO: result: yes" >&5 | ||
4719 | echo "${ECHO_T}yes" >&6 | ||
4720 | cat >>confdefs.h <<\_ACEOF | ||
4721 | @%:@define HAVE_OSF_SIA 1 | ||
4722 | _ACEOF | ||
4723 | |||
4724 | cat >>confdefs.h <<\_ACEOF | ||
4725 | @%:@define DISABLE_LOGIN 1 | ||
4726 | _ACEOF | ||
4727 | |||
4728 | cat >>confdefs.h <<\_ACEOF | ||
4729 | @%:@define DISABLE_FD_PASSING 1 | ||
4730 | _ACEOF | ||
4731 | |||
4732 | LIBS="$LIBS -lsecurity -ldb -lm -laud" | ||
4733 | else | ||
4734 | echo "$as_me:$LINENO: result: no" >&5 | ||
4735 | echo "${ECHO_T}no" >&6 | ||
4736 | fi | ||
4737 | fi | ||
4738 | cat >>confdefs.h <<\_ACEOF | ||
4739 | @%:@define DISABLE_FD_PASSING 1 | ||
4740 | _ACEOF | ||
4741 | |||
4742 | ;; | ||
4743 | |||
4744 | *-*-nto-qnx) | ||
4745 | cat >>confdefs.h <<\_ACEOF | ||
4746 | @%:@define USE_PIPES 1 | ||
4747 | _ACEOF | ||
4748 | |||
4749 | cat >>confdefs.h <<\_ACEOF | ||
4750 | @%:@define NO_X11_UNIX_SOCKETS 1 | ||
4751 | _ACEOF | ||
4752 | |||
4753 | cat >>confdefs.h <<\_ACEOF | ||
4754 | @%:@define MISSING_NFDBITS 1 | ||
4755 | _ACEOF | ||
4756 | |||
4757 | cat >>confdefs.h <<\_ACEOF | ||
4758 | @%:@define MISSING_HOWMANY 1 | ||
4759 | _ACEOF | ||
4760 | |||
4761 | cat >>confdefs.h <<\_ACEOF | ||
4762 | @%:@define MISSING_FD_MASK 1 | ||
4763 | _ACEOF | ||
4764 | |||
4765 | ;; | ||
4766 | esac | ||
4767 | |||
4768 | # Allow user to specify flags | ||
4769 | |||
4770 | # Check whether --with-cflags or --without-cflags was given. | ||
4771 | if test "${with_cflags+set}" = set; then | ||
4772 | withval="$with_cflags" | ||
4773 | |||
4774 | if test "x$withval" != "xno" ; then | ||
4775 | CFLAGS="$CFLAGS $withval" | ||
4776 | fi | ||
4777 | |||
4778 | |||
4779 | fi; | ||
4780 | |||
4781 | # Check whether --with-cppflags or --without-cppflags was given. | ||
4782 | if test "${with_cppflags+set}" = set; then | ||
4783 | withval="$with_cppflags" | ||
4784 | |||
4785 | if test "x$withval" != "xno"; then | ||
4786 | CPPFLAGS="$CPPFLAGS $withval" | ||
4787 | fi | ||
4788 | |||
4789 | |||
4790 | fi; | ||
4791 | |||
4792 | # Check whether --with-ldflags or --without-ldflags was given. | ||
4793 | if test "${with_ldflags+set}" = set; then | ||
4794 | withval="$with_ldflags" | ||
4795 | |||
4796 | if test "x$withval" != "xno" ; then | ||
4797 | LDFLAGS="$LDFLAGS $withval" | ||
4798 | fi | ||
4799 | |||
4800 | |||
4801 | fi; | ||
4802 | |||
4803 | # Check whether --with-libs or --without-libs was given. | ||
4804 | if test "${with_libs+set}" = set; then | ||
4805 | withval="$with_libs" | ||
4806 | |||
4807 | if test "x$withval" != "xno" ; then | ||
4808 | LIBS="$LIBS $withval" | ||
4809 | fi | ||
4810 | |||
4811 | |||
4812 | fi; | ||
4813 | |||
4814 | # Checks for header files. | ||
4815 | |||
4816 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
4817 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
4818 | if test "${ac_cv_header_stdc+set}" = set; then | ||
4819 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4820 | else | ||
4821 | cat >conftest.$ac_ext <<_ACEOF | ||
4822 | #line $LINENO "configure" | ||
4823 | #include "confdefs.h" | ||
4824 | #include <stdlib.h> | ||
4825 | #include <stdarg.h> | ||
4826 | #include <string.h> | ||
4827 | #include <float.h> | ||
4828 | |||
4829 | _ACEOF | ||
4830 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
4831 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
4832 | ac_status=$? | ||
4833 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
4834 | rm -f conftest.er1 | ||
4835 | cat conftest.err >&5 | ||
4836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4837 | (exit $ac_status); } >/dev/null; then | ||
4838 | if test -s conftest.err; then | ||
4839 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
4840 | else | ||
4841 | ac_cpp_err= | ||
4842 | fi | ||
4843 | else | ||
4844 | ac_cpp_err=yes | ||
4845 | fi | ||
4846 | if test -z "$ac_cpp_err"; then | ||
4847 | ac_cv_header_stdc=yes | ||
4848 | else | ||
4849 | echo "$as_me: failed program was:" >&5 | ||
4850 | cat conftest.$ac_ext >&5 | ||
4851 | ac_cv_header_stdc=no | ||
4852 | fi | ||
4853 | rm -f conftest.err conftest.$ac_ext | ||
4854 | |||
4855 | if test $ac_cv_header_stdc = yes; then | ||
4856 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
4857 | cat >conftest.$ac_ext <<_ACEOF | ||
4858 | #line $LINENO "configure" | ||
4859 | #include "confdefs.h" | ||
4860 | #include <string.h> | ||
4861 | |||
4862 | _ACEOF | ||
4863 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4864 | egrep "memchr" >/dev/null 2>&1; then | ||
4865 | : | ||
4866 | else | ||
4867 | ac_cv_header_stdc=no | ||
4868 | fi | ||
4869 | rm -f conftest* | ||
4870 | |||
4871 | fi | ||
4872 | |||
4873 | if test $ac_cv_header_stdc = yes; then | ||
4874 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
4875 | cat >conftest.$ac_ext <<_ACEOF | ||
4876 | #line $LINENO "configure" | ||
4877 | #include "confdefs.h" | ||
4878 | #include <stdlib.h> | ||
4879 | |||
4880 | _ACEOF | ||
4881 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
4882 | egrep "free" >/dev/null 2>&1; then | ||
4883 | : | ||
4884 | else | ||
4885 | ac_cv_header_stdc=no | ||
4886 | fi | ||
4887 | rm -f conftest* | ||
4888 | |||
4889 | fi | ||
4890 | |||
4891 | if test $ac_cv_header_stdc = yes; then | ||
4892 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
4893 | if test "$cross_compiling" = yes; then | ||
4894 | : | ||
4895 | else | ||
4896 | cat >conftest.$ac_ext <<_ACEOF | ||
4897 | #line $LINENO "configure" | ||
4898 | #include "confdefs.h" | ||
4899 | #include <ctype.h> | ||
4900 | #if ((' ' & 0x0FF) == 0x020) | ||
4901 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
4902 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
4903 | #else | ||
4904 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | ||
4905 | || ('j' <= (c) && (c) <= 'r') \ | ||
4906 | || ('s' <= (c) && (c) <= 'z')) | ||
4907 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
4908 | #endif | ||
4909 | |||
4910 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
4911 | int | ||
4912 | main () | ||
4913 | { | ||
4914 | int i; | ||
4915 | for (i = 0; i < 256; i++) | ||
4916 | if (XOR (islower (i), ISLOWER (i)) | ||
4917 | || toupper (i) != TOUPPER (i)) | ||
4918 | exit(2); | ||
4919 | exit (0); | ||
4920 | } | ||
4921 | _ACEOF | ||
4922 | rm -f conftest$ac_exeext | ||
4923 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4924 | (eval $ac_link) 2>&5 | ||
4925 | ac_status=$? | ||
4926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4927 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
4928 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4929 | (eval $ac_try) 2>&5 | ||
4930 | ac_status=$? | ||
4931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4932 | (exit $ac_status); }; }; then | ||
4933 | : | ||
4934 | else | ||
4935 | echo "$as_me: program exited with status $ac_status" >&5 | ||
4936 | echo "$as_me: failed program was:" >&5 | ||
4937 | cat conftest.$ac_ext >&5 | ||
4938 | ( exit $ac_status ) | ||
4939 | ac_cv_header_stdc=no | ||
4940 | fi | ||
4941 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
4942 | fi | ||
4943 | fi | ||
4944 | fi | ||
4945 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
4946 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
4947 | if test $ac_cv_header_stdc = yes; then | ||
4948 | |||
4949 | cat >>confdefs.h <<\_ACEOF | ||
4950 | @%:@define STDC_HEADERS 1 | ||
4951 | _ACEOF | ||
4952 | |||
4953 | fi | ||
4954 | |||
4955 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
4956 | |||
4957 | |||
4958 | |||
4959 | |||
4960 | |||
4961 | |||
4962 | |||
4963 | |||
4964 | |||
4965 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
4966 | inttypes.h stdint.h unistd.h | ||
4967 | do | ||
4968 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
4969 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
4970 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
4971 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
4972 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4973 | else | ||
4974 | cat >conftest.$ac_ext <<_ACEOF | ||
4975 | #line $LINENO "configure" | ||
4976 | #include "confdefs.h" | ||
4977 | $ac_includes_default | ||
4978 | |||
4979 | @%:@include <$ac_header> | ||
4980 | _ACEOF | ||
4981 | rm -f conftest.$ac_objext | ||
4982 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
4983 | (eval $ac_compile) 2>&5 | ||
4984 | ac_status=$? | ||
4985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4986 | (exit $ac_status); } && | ||
4987 | { ac_try='test -s conftest.$ac_objext' | ||
4988 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4989 | (eval $ac_try) 2>&5 | ||
4990 | ac_status=$? | ||
4991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4992 | (exit $ac_status); }; }; then | ||
4993 | eval "$as_ac_Header=yes" | ||
4994 | else | ||
4995 | echo "$as_me: failed program was:" >&5 | ||
4996 | cat conftest.$ac_ext >&5 | ||
4997 | eval "$as_ac_Header=no" | ||
4998 | fi | ||
4999 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
5000 | fi | ||
5001 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
5002 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
5003 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5004 | cat >>confdefs.h <<_ACEOF | ||
5005 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5006 | _ACEOF | ||
5007 | |||
5008 | fi | ||
5009 | |||
5010 | done | ||
5011 | |||
5012 | |||
5013 | |||
5014 | |||
5015 | |||
5016 | |||
5017 | |||
5018 | |||
5019 | |||
5020 | |||
5021 | |||
5022 | |||
5023 | |||
5024 | |||
5025 | |||
5026 | |||
5027 | |||
5028 | |||
5029 | |||
5030 | |||
5031 | |||
5032 | |||
5033 | |||
5034 | |||
5035 | |||
5036 | |||
5037 | |||
5038 | |||
5039 | |||
5040 | |||
5041 | |||
5042 | |||
5043 | |||
5044 | |||
5045 | |||
5046 | |||
5047 | |||
5048 | |||
5049 | |||
5050 | |||
5051 | |||
5052 | |||
5053 | |||
5054 | |||
5055 | |||
5056 | |||
5057 | |||
5058 | for ac_header in bstring.h crypt.h endian.h floatingpoint.h \ | ||
5059 | getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \ | ||
5060 | login_cap.h maillock.h netdb.h netgroup.h \ | ||
5061 | netinet/in_systm.h paths.h pty.h readpassphrase.h \ | ||
5062 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | ||
5063 | strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ | ||
5064 | sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ | ||
5065 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ | ||
5066 | sys/un.h time.h tmpdir.h ttyent.h usersec.h \ | ||
5067 | util.h utime.h utmp.h utmpx.h | ||
5068 | do | ||
5069 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5070 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5071 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5072 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5073 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5074 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5075 | fi | ||
5076 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
5077 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
5078 | else | ||
5079 | # Is the header compilable? | ||
5080 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
5081 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
5082 | cat >conftest.$ac_ext <<_ACEOF | ||
5083 | #line $LINENO "configure" | ||
5084 | #include "confdefs.h" | ||
5085 | $ac_includes_default | ||
5086 | @%:@include <$ac_header> | ||
5087 | _ACEOF | ||
5088 | rm -f conftest.$ac_objext | ||
5089 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5090 | (eval $ac_compile) 2>&5 | ||
5091 | ac_status=$? | ||
5092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5093 | (exit $ac_status); } && | ||
5094 | { ac_try='test -s conftest.$ac_objext' | ||
5095 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5096 | (eval $ac_try) 2>&5 | ||
5097 | ac_status=$? | ||
5098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5099 | (exit $ac_status); }; }; then | ||
5100 | ac_header_compiler=yes | ||
5101 | else | ||
5102 | echo "$as_me: failed program was:" >&5 | ||
5103 | cat conftest.$ac_ext >&5 | ||
5104 | ac_header_compiler=no | ||
5105 | fi | ||
5106 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
5107 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
5108 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
5109 | |||
5110 | # Is the header present? | ||
5111 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
5112 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
5113 | cat >conftest.$ac_ext <<_ACEOF | ||
5114 | #line $LINENO "configure" | ||
5115 | #include "confdefs.h" | ||
5116 | @%:@include <$ac_header> | ||
5117 | _ACEOF | ||
5118 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
5119 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
5120 | ac_status=$? | ||
5121 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
5122 | rm -f conftest.er1 | ||
5123 | cat conftest.err >&5 | ||
5124 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5125 | (exit $ac_status); } >/dev/null; then | ||
5126 | if test -s conftest.err; then | ||
5127 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
5128 | else | ||
5129 | ac_cpp_err= | ||
5130 | fi | ||
5131 | else | ||
5132 | ac_cpp_err=yes | ||
5133 | fi | ||
5134 | if test -z "$ac_cpp_err"; then | ||
5135 | ac_header_preproc=yes | ||
5136 | else | ||
5137 | echo "$as_me: failed program was:" >&5 | ||
5138 | cat conftest.$ac_ext >&5 | ||
5139 | ac_header_preproc=no | ||
5140 | fi | ||
5141 | rm -f conftest.err conftest.$ac_ext | ||
5142 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
5143 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
5144 | |||
5145 | # So? What about this header? | ||
5146 | case $ac_header_compiler:$ac_header_preproc in | ||
5147 | yes:no ) | ||
5148 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
5149 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
5150 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
5151 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
5152 | no:yes ) | ||
5153 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
5154 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
5155 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
5156 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
5157 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
5158 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
5159 | esac | ||
5160 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5161 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5162 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5163 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5164 | else | ||
5165 | eval "$as_ac_Header=$ac_header_preproc" | ||
5166 | fi | ||
5167 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
5168 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
5169 | |||
5170 | fi | ||
5171 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5172 | cat >>confdefs.h <<_ACEOF | ||
5173 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5174 | _ACEOF | ||
5175 | |||
5176 | fi | ||
5177 | |||
5178 | done | ||
5179 | |||
5180 | |||
5181 | # Checks for libraries. | ||
5182 | echo "$as_me:$LINENO: checking for yp_match" >&5 | ||
5183 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 | ||
5184 | if test "${ac_cv_func_yp_match+set}" = set; then | ||
5185 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5186 | else | ||
5187 | cat >conftest.$ac_ext <<_ACEOF | ||
5188 | #line $LINENO "configure" | ||
5189 | #include "confdefs.h" | ||
5190 | /* System header to define __stub macros and hopefully few prototypes, | ||
5191 | which can conflict with char yp_match (); below. */ | ||
5192 | #include <assert.h> | ||
5193 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5194 | #ifdef __cplusplus | ||
5195 | extern "C" | ||
5196 | #endif | ||
5197 | /* We use char because int might match the return type of a gcc2 | ||
5198 | builtin and then its argument prototype would still apply. */ | ||
5199 | char yp_match (); | ||
5200 | char (*f) (); | ||
5201 | |||
5202 | #ifdef F77_DUMMY_MAIN | ||
5203 | # ifdef __cplusplus | ||
5204 | extern "C" | ||
5205 | # endif | ||
5206 | int F77_DUMMY_MAIN() { return 1; } | ||
5207 | #endif | ||
5208 | int | ||
5209 | main () | ||
5210 | { | ||
5211 | /* The GNU C library defines this for functions which it implements | ||
5212 | to always fail with ENOSYS. Some functions are actually named | ||
5213 | something starting with __ and the normal name is an alias. */ | ||
5214 | #if defined (__stub_yp_match) || defined (__stub___yp_match) | ||
5215 | choke me | ||
5216 | #else | ||
5217 | f = yp_match; | ||
5218 | #endif | ||
5219 | |||
5220 | ; | ||
5221 | return 0; | ||
5222 | } | ||
5223 | _ACEOF | ||
5224 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5225 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5226 | (eval $ac_link) 2>&5 | ||
5227 | ac_status=$? | ||
5228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5229 | (exit $ac_status); } && | ||
5230 | { ac_try='test -s conftest$ac_exeext' | ||
5231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5232 | (eval $ac_try) 2>&5 | ||
5233 | ac_status=$? | ||
5234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5235 | (exit $ac_status); }; }; then | ||
5236 | ac_cv_func_yp_match=yes | ||
5237 | else | ||
5238 | echo "$as_me: failed program was:" >&5 | ||
5239 | cat conftest.$ac_ext >&5 | ||
5240 | ac_cv_func_yp_match=no | ||
5241 | fi | ||
5242 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5243 | fi | ||
5244 | echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5 | ||
5245 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6 | ||
5246 | if test $ac_cv_func_yp_match = yes; then | ||
5247 | : | ||
5248 | else | ||
5249 | |||
5250 | echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5 | ||
5251 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 | ||
5252 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then | ||
5253 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5254 | else | ||
5255 | ac_check_lib_save_LIBS=$LIBS | ||
5256 | LIBS="-lnsl $LIBS" | ||
5257 | cat >conftest.$ac_ext <<_ACEOF | ||
5258 | #line $LINENO "configure" | ||
5259 | #include "confdefs.h" | ||
5260 | |||
5261 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5262 | #ifdef __cplusplus | ||
5263 | extern "C" | ||
5264 | #endif | ||
5265 | /* We use char because int might match the return type of a gcc2 | ||
5266 | builtin and then its argument prototype would still apply. */ | ||
5267 | char yp_match (); | ||
5268 | #ifdef F77_DUMMY_MAIN | ||
5269 | # ifdef __cplusplus | ||
5270 | extern "C" | ||
5271 | # endif | ||
5272 | int F77_DUMMY_MAIN() { return 1; } | ||
5273 | #endif | ||
5274 | int | ||
5275 | main () | ||
5276 | { | ||
5277 | yp_match (); | ||
5278 | ; | ||
5279 | return 0; | ||
5280 | } | ||
5281 | _ACEOF | ||
5282 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5283 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5284 | (eval $ac_link) 2>&5 | ||
5285 | ac_status=$? | ||
5286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5287 | (exit $ac_status); } && | ||
5288 | { ac_try='test -s conftest$ac_exeext' | ||
5289 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5290 | (eval $ac_try) 2>&5 | ||
5291 | ac_status=$? | ||
5292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5293 | (exit $ac_status); }; }; then | ||
5294 | ac_cv_lib_nsl_yp_match=yes | ||
5295 | else | ||
5296 | echo "$as_me: failed program was:" >&5 | ||
5297 | cat conftest.$ac_ext >&5 | ||
5298 | ac_cv_lib_nsl_yp_match=no | ||
5299 | fi | ||
5300 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5301 | LIBS=$ac_check_lib_save_LIBS | ||
5302 | fi | ||
5303 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5 | ||
5304 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 | ||
5305 | if test $ac_cv_lib_nsl_yp_match = yes; then | ||
5306 | cat >>confdefs.h <<_ACEOF | ||
5307 | @%:@define HAVE_LIBNSL 1 | ||
5308 | _ACEOF | ||
5309 | |||
5310 | LIBS="-lnsl $LIBS" | ||
5311 | |||
5312 | fi | ||
5313 | |||
5314 | fi | ||
5315 | |||
5316 | echo "$as_me:$LINENO: checking for setsockopt" >&5 | ||
5317 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 | ||
5318 | if test "${ac_cv_func_setsockopt+set}" = set; then | ||
5319 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5320 | else | ||
5321 | cat >conftest.$ac_ext <<_ACEOF | ||
5322 | #line $LINENO "configure" | ||
5323 | #include "confdefs.h" | ||
5324 | /* System header to define __stub macros and hopefully few prototypes, | ||
5325 | which can conflict with char setsockopt (); below. */ | ||
5326 | #include <assert.h> | ||
5327 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5328 | #ifdef __cplusplus | ||
5329 | extern "C" | ||
5330 | #endif | ||
5331 | /* We use char because int might match the return type of a gcc2 | ||
5332 | builtin and then its argument prototype would still apply. */ | ||
5333 | char setsockopt (); | ||
5334 | char (*f) (); | ||
5335 | |||
5336 | #ifdef F77_DUMMY_MAIN | ||
5337 | # ifdef __cplusplus | ||
5338 | extern "C" | ||
5339 | # endif | ||
5340 | int F77_DUMMY_MAIN() { return 1; } | ||
5341 | #endif | ||
5342 | int | ||
5343 | main () | ||
5344 | { | ||
5345 | /* The GNU C library defines this for functions which it implements | ||
5346 | to always fail with ENOSYS. Some functions are actually named | ||
5347 | something starting with __ and the normal name is an alias. */ | ||
5348 | #if defined (__stub_setsockopt) || defined (__stub___setsockopt) | ||
5349 | choke me | ||
5350 | #else | ||
5351 | f = setsockopt; | ||
5352 | #endif | ||
5353 | |||
5354 | ; | ||
5355 | return 0; | ||
5356 | } | ||
5357 | _ACEOF | ||
5358 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5359 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5360 | (eval $ac_link) 2>&5 | ||
5361 | ac_status=$? | ||
5362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5363 | (exit $ac_status); } && | ||
5364 | { ac_try='test -s conftest$ac_exeext' | ||
5365 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5366 | (eval $ac_try) 2>&5 | ||
5367 | ac_status=$? | ||
5368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5369 | (exit $ac_status); }; }; then | ||
5370 | ac_cv_func_setsockopt=yes | ||
5371 | else | ||
5372 | echo "$as_me: failed program was:" >&5 | ||
5373 | cat conftest.$ac_ext >&5 | ||
5374 | ac_cv_func_setsockopt=no | ||
5375 | fi | ||
5376 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5377 | fi | ||
5378 | echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 | ||
5379 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 | ||
5380 | if test $ac_cv_func_setsockopt = yes; then | ||
5381 | : | ||
5382 | else | ||
5383 | |||
5384 | echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 | ||
5385 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 | ||
5386 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then | ||
5387 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5388 | else | ||
5389 | ac_check_lib_save_LIBS=$LIBS | ||
5390 | LIBS="-lsocket $LIBS" | ||
5391 | cat >conftest.$ac_ext <<_ACEOF | ||
5392 | #line $LINENO "configure" | ||
5393 | #include "confdefs.h" | ||
5394 | |||
5395 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5396 | #ifdef __cplusplus | ||
5397 | extern "C" | ||
5398 | #endif | ||
5399 | /* We use char because int might match the return type of a gcc2 | ||
5400 | builtin and then its argument prototype would still apply. */ | ||
5401 | char setsockopt (); | ||
5402 | #ifdef F77_DUMMY_MAIN | ||
5403 | # ifdef __cplusplus | ||
5404 | extern "C" | ||
5405 | # endif | ||
5406 | int F77_DUMMY_MAIN() { return 1; } | ||
5407 | #endif | ||
5408 | int | ||
5409 | main () | ||
5410 | { | ||
5411 | setsockopt (); | ||
5412 | ; | ||
5413 | return 0; | ||
5414 | } | ||
5415 | _ACEOF | ||
5416 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5417 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5418 | (eval $ac_link) 2>&5 | ||
5419 | ac_status=$? | ||
5420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5421 | (exit $ac_status); } && | ||
5422 | { ac_try='test -s conftest$ac_exeext' | ||
5423 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5424 | (eval $ac_try) 2>&5 | ||
5425 | ac_status=$? | ||
5426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5427 | (exit $ac_status); }; }; then | ||
5428 | ac_cv_lib_socket_setsockopt=yes | ||
5429 | else | ||
5430 | echo "$as_me: failed program was:" >&5 | ||
5431 | cat conftest.$ac_ext >&5 | ||
5432 | ac_cv_lib_socket_setsockopt=no | ||
5433 | fi | ||
5434 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5435 | LIBS=$ac_check_lib_save_LIBS | ||
5436 | fi | ||
5437 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 | ||
5438 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 | ||
5439 | if test $ac_cv_lib_socket_setsockopt = yes; then | ||
5440 | cat >>confdefs.h <<_ACEOF | ||
5441 | @%:@define HAVE_LIBSOCKET 1 | ||
5442 | _ACEOF | ||
5443 | |||
5444 | LIBS="-lsocket $LIBS" | ||
5445 | |||
5446 | fi | ||
5447 | |||
5448 | fi | ||
5449 | |||
5450 | |||
5451 | if test "x$with_tcp_wrappers" != "xno" ; then | ||
5452 | if test "x$do_sco3_extra_lib_check" = "xyes" ; then | ||
5453 | echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5 | ||
5454 | echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 | ||
5455 | if test "${ac_cv_lib_rpc_innetgr+set}" = set; then | ||
5456 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5457 | else | ||
5458 | ac_check_lib_save_LIBS=$LIBS | ||
5459 | LIBS="-lrpc -lyp -lrpc $LIBS" | ||
5460 | cat >conftest.$ac_ext <<_ACEOF | ||
5461 | #line $LINENO "configure" | ||
5462 | #include "confdefs.h" | ||
5463 | |||
5464 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5465 | #ifdef __cplusplus | ||
5466 | extern "C" | ||
5467 | #endif | ||
5468 | /* We use char because int might match the return type of a gcc2 | ||
5469 | builtin and then its argument prototype would still apply. */ | ||
5470 | char innetgr (); | ||
5471 | #ifdef F77_DUMMY_MAIN | ||
5472 | # ifdef __cplusplus | ||
5473 | extern "C" | ||
5474 | # endif | ||
5475 | int F77_DUMMY_MAIN() { return 1; } | ||
5476 | #endif | ||
5477 | int | ||
5478 | main () | ||
5479 | { | ||
5480 | innetgr (); | ||
5481 | ; | ||
5482 | return 0; | ||
5483 | } | ||
5484 | _ACEOF | ||
5485 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5486 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5487 | (eval $ac_link) 2>&5 | ||
5488 | ac_status=$? | ||
5489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5490 | (exit $ac_status); } && | ||
5491 | { ac_try='test -s conftest$ac_exeext' | ||
5492 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5493 | (eval $ac_try) 2>&5 | ||
5494 | ac_status=$? | ||
5495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5496 | (exit $ac_status); }; }; then | ||
5497 | ac_cv_lib_rpc_innetgr=yes | ||
5498 | else | ||
5499 | echo "$as_me: failed program was:" >&5 | ||
5500 | cat conftest.$ac_ext >&5 | ||
5501 | ac_cv_lib_rpc_innetgr=no | ||
5502 | fi | ||
5503 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5504 | LIBS=$ac_check_lib_save_LIBS | ||
5505 | fi | ||
5506 | echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5 | ||
5507 | echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 | ||
5508 | if test $ac_cv_lib_rpc_innetgr = yes; then | ||
5509 | LIBS="-lrpc -lyp -lrpc $LIBS" | ||
5510 | fi | ||
5511 | |||
5512 | fi | ||
5513 | fi | ||
5514 | |||
5515 | echo "$as_me:$LINENO: checking for getspnam" >&5 | ||
5516 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 | ||
5517 | if test "${ac_cv_func_getspnam+set}" = set; then | ||
5518 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5519 | else | ||
5520 | cat >conftest.$ac_ext <<_ACEOF | ||
5521 | #line $LINENO "configure" | ||
5522 | #include "confdefs.h" | ||
5523 | /* System header to define __stub macros and hopefully few prototypes, | ||
5524 | which can conflict with char getspnam (); below. */ | ||
5525 | #include <assert.h> | ||
5526 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5527 | #ifdef __cplusplus | ||
5528 | extern "C" | ||
5529 | #endif | ||
5530 | /* We use char because int might match the return type of a gcc2 | ||
5531 | builtin and then its argument prototype would still apply. */ | ||
5532 | char getspnam (); | ||
5533 | char (*f) (); | ||
5534 | |||
5535 | #ifdef F77_DUMMY_MAIN | ||
5536 | # ifdef __cplusplus | ||
5537 | extern "C" | ||
5538 | # endif | ||
5539 | int F77_DUMMY_MAIN() { return 1; } | ||
5540 | #endif | ||
5541 | int | ||
5542 | main () | ||
5543 | { | ||
5544 | /* The GNU C library defines this for functions which it implements | ||
5545 | to always fail with ENOSYS. Some functions are actually named | ||
5546 | something starting with __ and the normal name is an alias. */ | ||
5547 | #if defined (__stub_getspnam) || defined (__stub___getspnam) | ||
5548 | choke me | ||
5549 | #else | ||
5550 | f = getspnam; | ||
5551 | #endif | ||
5552 | |||
5553 | ; | ||
5554 | return 0; | ||
5555 | } | ||
5556 | _ACEOF | ||
5557 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5558 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5559 | (eval $ac_link) 2>&5 | ||
5560 | ac_status=$? | ||
5561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5562 | (exit $ac_status); } && | ||
5563 | { ac_try='test -s conftest$ac_exeext' | ||
5564 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5565 | (eval $ac_try) 2>&5 | ||
5566 | ac_status=$? | ||
5567 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5568 | (exit $ac_status); }; }; then | ||
5569 | ac_cv_func_getspnam=yes | ||
5570 | else | ||
5571 | echo "$as_me: failed program was:" >&5 | ||
5572 | cat conftest.$ac_ext >&5 | ||
5573 | ac_cv_func_getspnam=no | ||
5574 | fi | ||
5575 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5576 | fi | ||
5577 | echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 | ||
5578 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6 | ||
5579 | if test $ac_cv_func_getspnam = yes; then | ||
5580 | : | ||
5581 | else | ||
5582 | echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 | ||
5583 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 | ||
5584 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then | ||
5585 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5586 | else | ||
5587 | ac_check_lib_save_LIBS=$LIBS | ||
5588 | LIBS="-lgen $LIBS" | ||
5589 | cat >conftest.$ac_ext <<_ACEOF | ||
5590 | #line $LINENO "configure" | ||
5591 | #include "confdefs.h" | ||
5592 | |||
5593 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5594 | #ifdef __cplusplus | ||
5595 | extern "C" | ||
5596 | #endif | ||
5597 | /* We use char because int might match the return type of a gcc2 | ||
5598 | builtin and then its argument prototype would still apply. */ | ||
5599 | char getspnam (); | ||
5600 | #ifdef F77_DUMMY_MAIN | ||
5601 | # ifdef __cplusplus | ||
5602 | extern "C" | ||
5603 | # endif | ||
5604 | int F77_DUMMY_MAIN() { return 1; } | ||
5605 | #endif | ||
5606 | int | ||
5607 | main () | ||
5608 | { | ||
5609 | getspnam (); | ||
5610 | ; | ||
5611 | return 0; | ||
5612 | } | ||
5613 | _ACEOF | ||
5614 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5615 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5616 | (eval $ac_link) 2>&5 | ||
5617 | ac_status=$? | ||
5618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5619 | (exit $ac_status); } && | ||
5620 | { ac_try='test -s conftest$ac_exeext' | ||
5621 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5622 | (eval $ac_try) 2>&5 | ||
5623 | ac_status=$? | ||
5624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5625 | (exit $ac_status); }; }; then | ||
5626 | ac_cv_lib_gen_getspnam=yes | ||
5627 | else | ||
5628 | echo "$as_me: failed program was:" >&5 | ||
5629 | cat conftest.$ac_ext >&5 | ||
5630 | ac_cv_lib_gen_getspnam=no | ||
5631 | fi | ||
5632 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5633 | LIBS=$ac_check_lib_save_LIBS | ||
5634 | fi | ||
5635 | echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 | ||
5636 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 | ||
5637 | if test $ac_cv_lib_gen_getspnam = yes; then | ||
5638 | LIBS="$LIBS -lgen" | ||
5639 | fi | ||
5640 | |||
5641 | fi | ||
5642 | |||
5643 | |||
5644 | |||
5645 | # Check whether --with-rpath or --without-rpath was given. | ||
5646 | if test "${with_rpath+set}" = set; then | ||
5647 | withval="$with_rpath" | ||
5648 | |||
5649 | if test "x$withval" = "xno" ; then | ||
5650 | need_dash_r="" | ||
5651 | fi | ||
5652 | if test "x$withval" = "xyes" ; then | ||
5653 | need_dash_r=1 | ||
5654 | fi | ||
5655 | |||
5656 | |||
5657 | fi; | ||
5658 | |||
5659 | |||
5660 | # Check whether --with-zlib or --without-zlib was given. | ||
5661 | if test "${with_zlib+set}" = set; then | ||
5662 | withval="$with_zlib" | ||
5663 | |||
5664 | if test "x$withval" = "xno" ; then | ||
5665 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 | ||
5666 | echo "$as_me: error: *** zlib is required ***" >&2;} | ||
5667 | { (exit 1); exit 1; }; } | ||
5668 | fi | ||
5669 | if test -d "$withval/lib"; then | ||
5670 | if test -n "${need_dash_r}"; then | ||
5671 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | ||
5672 | else | ||
5673 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | ||
5674 | fi | ||
5675 | else | ||
5676 | if test -n "${need_dash_r}"; then | ||
5677 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | ||
5678 | else | ||
5679 | LDFLAGS="-L${withval} ${LDFLAGS}" | ||
5680 | fi | ||
5681 | fi | ||
5682 | if test -d "$withval/include"; then | ||
5683 | CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | ||
5684 | else | ||
5685 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | ||
5686 | fi | ||
5687 | |||
5688 | |||
5689 | fi; | ||
5690 | |||
5691 | |||
5692 | echo "$as_me:$LINENO: checking for deflate in -lz" >&5 | ||
5693 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 | ||
5694 | if test "${ac_cv_lib_z_deflate+set}" = set; then | ||
5695 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5696 | else | ||
5697 | ac_check_lib_save_LIBS=$LIBS | ||
5698 | LIBS="-lz $LIBS" | ||
5699 | cat >conftest.$ac_ext <<_ACEOF | ||
5700 | #line $LINENO "configure" | ||
5701 | #include "confdefs.h" | ||
5702 | |||
5703 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5704 | #ifdef __cplusplus | ||
5705 | extern "C" | ||
5706 | #endif | ||
5707 | /* We use char because int might match the return type of a gcc2 | ||
5708 | builtin and then its argument prototype would still apply. */ | ||
5709 | char deflate (); | ||
5710 | #ifdef F77_DUMMY_MAIN | ||
5711 | # ifdef __cplusplus | ||
5712 | extern "C" | ||
5713 | # endif | ||
5714 | int F77_DUMMY_MAIN() { return 1; } | ||
5715 | #endif | ||
5716 | int | ||
5717 | main () | ||
5718 | { | ||
5719 | deflate (); | ||
5720 | ; | ||
5721 | return 0; | ||
5722 | } | ||
5723 | _ACEOF | ||
5724 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5725 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5726 | (eval $ac_link) 2>&5 | ||
5727 | ac_status=$? | ||
5728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5729 | (exit $ac_status); } && | ||
5730 | { ac_try='test -s conftest$ac_exeext' | ||
5731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5732 | (eval $ac_try) 2>&5 | ||
5733 | ac_status=$? | ||
5734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5735 | (exit $ac_status); }; }; then | ||
5736 | ac_cv_lib_z_deflate=yes | ||
5737 | else | ||
5738 | echo "$as_me: failed program was:" >&5 | ||
5739 | cat conftest.$ac_ext >&5 | ||
5740 | ac_cv_lib_z_deflate=no | ||
5741 | fi | ||
5742 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5743 | LIBS=$ac_check_lib_save_LIBS | ||
5744 | fi | ||
5745 | echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 | ||
5746 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 | ||
5747 | if test $ac_cv_lib_z_deflate = yes; then | ||
5748 | cat >>confdefs.h <<_ACEOF | ||
5749 | @%:@define HAVE_LIBZ 1 | ||
5750 | _ACEOF | ||
5751 | |||
5752 | LIBS="-lz $LIBS" | ||
5753 | |||
5754 | else | ||
5755 | { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 | ||
5756 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} | ||
5757 | { (exit 1); exit 1; }; } | ||
5758 | fi | ||
5759 | |||
5760 | |||
5761 | echo "$as_me:$LINENO: checking for strcasecmp" >&5 | ||
5762 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 | ||
5763 | if test "${ac_cv_func_strcasecmp+set}" = set; then | ||
5764 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5765 | else | ||
5766 | cat >conftest.$ac_ext <<_ACEOF | ||
5767 | #line $LINENO "configure" | ||
5768 | #include "confdefs.h" | ||
5769 | /* System header to define __stub macros and hopefully few prototypes, | ||
5770 | which can conflict with char strcasecmp (); below. */ | ||
5771 | #include <assert.h> | ||
5772 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5773 | #ifdef __cplusplus | ||
5774 | extern "C" | ||
5775 | #endif | ||
5776 | /* We use char because int might match the return type of a gcc2 | ||
5777 | builtin and then its argument prototype would still apply. */ | ||
5778 | char strcasecmp (); | ||
5779 | char (*f) (); | ||
5780 | |||
5781 | #ifdef F77_DUMMY_MAIN | ||
5782 | # ifdef __cplusplus | ||
5783 | extern "C" | ||
5784 | # endif | ||
5785 | int F77_DUMMY_MAIN() { return 1; } | ||
5786 | #endif | ||
5787 | int | ||
5788 | main () | ||
5789 | { | ||
5790 | /* The GNU C library defines this for functions which it implements | ||
5791 | to always fail with ENOSYS. Some functions are actually named | ||
5792 | something starting with __ and the normal name is an alias. */ | ||
5793 | #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) | ||
5794 | choke me | ||
5795 | #else | ||
5796 | f = strcasecmp; | ||
5797 | #endif | ||
5798 | |||
5799 | ; | ||
5800 | return 0; | ||
5801 | } | ||
5802 | _ACEOF | ||
5803 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5804 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5805 | (eval $ac_link) 2>&5 | ||
5806 | ac_status=$? | ||
5807 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5808 | (exit $ac_status); } && | ||
5809 | { ac_try='test -s conftest$ac_exeext' | ||
5810 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5811 | (eval $ac_try) 2>&5 | ||
5812 | ac_status=$? | ||
5813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5814 | (exit $ac_status); }; }; then | ||
5815 | ac_cv_func_strcasecmp=yes | ||
5816 | else | ||
5817 | echo "$as_me: failed program was:" >&5 | ||
5818 | cat conftest.$ac_ext >&5 | ||
5819 | ac_cv_func_strcasecmp=no | ||
5820 | fi | ||
5821 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5822 | fi | ||
5823 | echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 | ||
5824 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 | ||
5825 | if test $ac_cv_func_strcasecmp = yes; then | ||
5826 | : | ||
5827 | else | ||
5828 | echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 | ||
5829 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 | ||
5830 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then | ||
5831 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5832 | else | ||
5833 | ac_check_lib_save_LIBS=$LIBS | ||
5834 | LIBS="-lresolv $LIBS" | ||
5835 | cat >conftest.$ac_ext <<_ACEOF | ||
5836 | #line $LINENO "configure" | ||
5837 | #include "confdefs.h" | ||
5838 | |||
5839 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5840 | #ifdef __cplusplus | ||
5841 | extern "C" | ||
5842 | #endif | ||
5843 | /* We use char because int might match the return type of a gcc2 | ||
5844 | builtin and then its argument prototype would still apply. */ | ||
5845 | char strcasecmp (); | ||
5846 | #ifdef F77_DUMMY_MAIN | ||
5847 | # ifdef __cplusplus | ||
5848 | extern "C" | ||
5849 | # endif | ||
5850 | int F77_DUMMY_MAIN() { return 1; } | ||
5851 | #endif | ||
5852 | int | ||
5853 | main () | ||
5854 | { | ||
5855 | strcasecmp (); | ||
5856 | ; | ||
5857 | return 0; | ||
5858 | } | ||
5859 | _ACEOF | ||
5860 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5861 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5862 | (eval $ac_link) 2>&5 | ||
5863 | ac_status=$? | ||
5864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5865 | (exit $ac_status); } && | ||
5866 | { ac_try='test -s conftest$ac_exeext' | ||
5867 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5868 | (eval $ac_try) 2>&5 | ||
5869 | ac_status=$? | ||
5870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5871 | (exit $ac_status); }; }; then | ||
5872 | ac_cv_lib_resolv_strcasecmp=yes | ||
5873 | else | ||
5874 | echo "$as_me: failed program was:" >&5 | ||
5875 | cat conftest.$ac_ext >&5 | ||
5876 | ac_cv_lib_resolv_strcasecmp=no | ||
5877 | fi | ||
5878 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5879 | LIBS=$ac_check_lib_save_LIBS | ||
5880 | fi | ||
5881 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 | ||
5882 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 | ||
5883 | if test $ac_cv_lib_resolv_strcasecmp = yes; then | ||
5884 | LIBS="$LIBS -lresolv" | ||
5885 | fi | ||
5886 | |||
5887 | |||
5888 | fi | ||
5889 | |||
5890 | echo "$as_me:$LINENO: checking for utimes" >&5 | ||
5891 | echo $ECHO_N "checking for utimes... $ECHO_C" >&6 | ||
5892 | if test "${ac_cv_func_utimes+set}" = set; then | ||
5893 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5894 | else | ||
5895 | cat >conftest.$ac_ext <<_ACEOF | ||
5896 | #line $LINENO "configure" | ||
5897 | #include "confdefs.h" | ||
5898 | /* System header to define __stub macros and hopefully few prototypes, | ||
5899 | which can conflict with char utimes (); below. */ | ||
5900 | #include <assert.h> | ||
5901 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5902 | #ifdef __cplusplus | ||
5903 | extern "C" | ||
5904 | #endif | ||
5905 | /* We use char because int might match the return type of a gcc2 | ||
5906 | builtin and then its argument prototype would still apply. */ | ||
5907 | char utimes (); | ||
5908 | char (*f) (); | ||
5909 | |||
5910 | #ifdef F77_DUMMY_MAIN | ||
5911 | # ifdef __cplusplus | ||
5912 | extern "C" | ||
5913 | # endif | ||
5914 | int F77_DUMMY_MAIN() { return 1; } | ||
5915 | #endif | ||
5916 | int | ||
5917 | main () | ||
5918 | { | ||
5919 | /* The GNU C library defines this for functions which it implements | ||
5920 | to always fail with ENOSYS. Some functions are actually named | ||
5921 | something starting with __ and the normal name is an alias. */ | ||
5922 | #if defined (__stub_utimes) || defined (__stub___utimes) | ||
5923 | choke me | ||
5924 | #else | ||
5925 | f = utimes; | ||
5926 | #endif | ||
5927 | |||
5928 | ; | ||
5929 | return 0; | ||
5930 | } | ||
5931 | _ACEOF | ||
5932 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5933 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5934 | (eval $ac_link) 2>&5 | ||
5935 | ac_status=$? | ||
5936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5937 | (exit $ac_status); } && | ||
5938 | { ac_try='test -s conftest$ac_exeext' | ||
5939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5940 | (eval $ac_try) 2>&5 | ||
5941 | ac_status=$? | ||
5942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5943 | (exit $ac_status); }; }; then | ||
5944 | ac_cv_func_utimes=yes | ||
5945 | else | ||
5946 | echo "$as_me: failed program was:" >&5 | ||
5947 | cat conftest.$ac_ext >&5 | ||
5948 | ac_cv_func_utimes=no | ||
5949 | fi | ||
5950 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5951 | fi | ||
5952 | echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5 | ||
5953 | echo "${ECHO_T}$ac_cv_func_utimes" >&6 | ||
5954 | if test $ac_cv_func_utimes = yes; then | ||
5955 | : | ||
5956 | else | ||
5957 | echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 | ||
5958 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 | ||
5959 | if test "${ac_cv_lib_c89_utimes+set}" = set; then | ||
5960 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5961 | else | ||
5962 | ac_check_lib_save_LIBS=$LIBS | ||
5963 | LIBS="-lc89 $LIBS" | ||
5964 | cat >conftest.$ac_ext <<_ACEOF | ||
5965 | #line $LINENO "configure" | ||
5966 | #include "confdefs.h" | ||
5967 | |||
5968 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5969 | #ifdef __cplusplus | ||
5970 | extern "C" | ||
5971 | #endif | ||
5972 | /* We use char because int might match the return type of a gcc2 | ||
5973 | builtin and then its argument prototype would still apply. */ | ||
5974 | char utimes (); | ||
5975 | #ifdef F77_DUMMY_MAIN | ||
5976 | # ifdef __cplusplus | ||
5977 | extern "C" | ||
5978 | # endif | ||
5979 | int F77_DUMMY_MAIN() { return 1; } | ||
5980 | #endif | ||
5981 | int | ||
5982 | main () | ||
5983 | { | ||
5984 | utimes (); | ||
5985 | ; | ||
5986 | return 0; | ||
5987 | } | ||
5988 | _ACEOF | ||
5989 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5990 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5991 | (eval $ac_link) 2>&5 | ||
5992 | ac_status=$? | ||
5993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5994 | (exit $ac_status); } && | ||
5995 | { ac_try='test -s conftest$ac_exeext' | ||
5996 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5997 | (eval $ac_try) 2>&5 | ||
5998 | ac_status=$? | ||
5999 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6000 | (exit $ac_status); }; }; then | ||
6001 | ac_cv_lib_c89_utimes=yes | ||
6002 | else | ||
6003 | echo "$as_me: failed program was:" >&5 | ||
6004 | cat conftest.$ac_ext >&5 | ||
6005 | ac_cv_lib_c89_utimes=no | ||
6006 | fi | ||
6007 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6008 | LIBS=$ac_check_lib_save_LIBS | ||
6009 | fi | ||
6010 | echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 | ||
6011 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 | ||
6012 | if test $ac_cv_lib_c89_utimes = yes; then | ||
6013 | cat >>confdefs.h <<\_ACEOF | ||
6014 | @%:@define HAVE_UTIMES 1 | ||
6015 | _ACEOF | ||
6016 | |||
6017 | LIBS="$LIBS -lc89" | ||
6018 | fi | ||
6019 | |||
6020 | |||
6021 | fi | ||
6022 | |||
6023 | |||
6024 | |||
6025 | for ac_header in libutil.h | ||
6026 | do | ||
6027 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
6028 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6029 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6030 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
6031 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6032 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6033 | fi | ||
6034 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6035 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6036 | else | ||
6037 | # Is the header compilable? | ||
6038 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
6039 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
6040 | cat >conftest.$ac_ext <<_ACEOF | ||
6041 | #line $LINENO "configure" | ||
6042 | #include "confdefs.h" | ||
6043 | $ac_includes_default | ||
6044 | @%:@include <$ac_header> | ||
6045 | _ACEOF | ||
6046 | rm -f conftest.$ac_objext | ||
6047 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
6048 | (eval $ac_compile) 2>&5 | ||
6049 | ac_status=$? | ||
6050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6051 | (exit $ac_status); } && | ||
6052 | { ac_try='test -s conftest.$ac_objext' | ||
6053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6054 | (eval $ac_try) 2>&5 | ||
6055 | ac_status=$? | ||
6056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6057 | (exit $ac_status); }; }; then | ||
6058 | ac_header_compiler=yes | ||
6059 | else | ||
6060 | echo "$as_me: failed program was:" >&5 | ||
6061 | cat conftest.$ac_ext >&5 | ||
6062 | ac_header_compiler=no | ||
6063 | fi | ||
6064 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
6065 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
6066 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
6067 | |||
6068 | # Is the header present? | ||
6069 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
6070 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
6071 | cat >conftest.$ac_ext <<_ACEOF | ||
6072 | #line $LINENO "configure" | ||
6073 | #include "confdefs.h" | ||
6074 | @%:@include <$ac_header> | ||
6075 | _ACEOF | ||
6076 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
6077 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
6078 | ac_status=$? | ||
6079 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
6080 | rm -f conftest.er1 | ||
6081 | cat conftest.err >&5 | ||
6082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6083 | (exit $ac_status); } >/dev/null; then | ||
6084 | if test -s conftest.err; then | ||
6085 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
6086 | else | ||
6087 | ac_cpp_err= | ||
6088 | fi | ||
6089 | else | ||
6090 | ac_cpp_err=yes | ||
6091 | fi | ||
6092 | if test -z "$ac_cpp_err"; then | ||
6093 | ac_header_preproc=yes | ||
6094 | else | ||
6095 | echo "$as_me: failed program was:" >&5 | ||
6096 | cat conftest.$ac_ext >&5 | ||
6097 | ac_header_preproc=no | ||
6098 | fi | ||
6099 | rm -f conftest.err conftest.$ac_ext | ||
6100 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
6101 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
6102 | |||
6103 | # So? What about this header? | ||
6104 | case $ac_header_compiler:$ac_header_preproc in | ||
6105 | yes:no ) | ||
6106 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
6107 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
6108 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
6109 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
6110 | no:yes ) | ||
6111 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
6112 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
6113 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
6114 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
6115 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
6116 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
6117 | esac | ||
6118 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6119 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
6120 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6121 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6122 | else | ||
6123 | eval "$as_ac_Header=$ac_header_preproc" | ||
6124 | fi | ||
6125 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6126 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6127 | |||
6128 | fi | ||
6129 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6130 | cat >>confdefs.h <<_ACEOF | ||
6131 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
6132 | _ACEOF | ||
6133 | |||
6134 | fi | ||
6135 | |||
6136 | done | ||
6137 | |||
6138 | echo "$as_me:$LINENO: checking for library containing login" >&5 | ||
6139 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 | ||
6140 | if test "${ac_cv_search_login+set}" = set; then | ||
6141 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6142 | else | ||
6143 | ac_func_search_save_LIBS=$LIBS | ||
6144 | ac_cv_search_login=no | ||
6145 | cat >conftest.$ac_ext <<_ACEOF | ||
6146 | #line $LINENO "configure" | ||
6147 | #include "confdefs.h" | ||
6148 | |||
6149 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6150 | #ifdef __cplusplus | ||
6151 | extern "C" | ||
6152 | #endif | ||
6153 | /* We use char because int might match the return type of a gcc2 | ||
6154 | builtin and then its argument prototype would still apply. */ | ||
6155 | char login (); | ||
6156 | #ifdef F77_DUMMY_MAIN | ||
6157 | # ifdef __cplusplus | ||
6158 | extern "C" | ||
6159 | # endif | ||
6160 | int F77_DUMMY_MAIN() { return 1; } | ||
6161 | #endif | ||
6162 | int | ||
6163 | main () | ||
6164 | { | ||
6165 | login (); | ||
6166 | ; | ||
6167 | return 0; | ||
6168 | } | ||
6169 | _ACEOF | ||
6170 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6171 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6172 | (eval $ac_link) 2>&5 | ||
6173 | ac_status=$? | ||
6174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6175 | (exit $ac_status); } && | ||
6176 | { ac_try='test -s conftest$ac_exeext' | ||
6177 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6178 | (eval $ac_try) 2>&5 | ||
6179 | ac_status=$? | ||
6180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6181 | (exit $ac_status); }; }; then | ||
6182 | ac_cv_search_login="none required" | ||
6183 | else | ||
6184 | echo "$as_me: failed program was:" >&5 | ||
6185 | cat conftest.$ac_ext >&5 | ||
6186 | fi | ||
6187 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6188 | if test "$ac_cv_search_login" = no; then | ||
6189 | for ac_lib in util bsd; do | ||
6190 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
6191 | cat >conftest.$ac_ext <<_ACEOF | ||
6192 | #line $LINENO "configure" | ||
6193 | #include "confdefs.h" | ||
6194 | |||
6195 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6196 | #ifdef __cplusplus | ||
6197 | extern "C" | ||
6198 | #endif | ||
6199 | /* We use char because int might match the return type of a gcc2 | ||
6200 | builtin and then its argument prototype would still apply. */ | ||
6201 | char login (); | ||
6202 | #ifdef F77_DUMMY_MAIN | ||
6203 | # ifdef __cplusplus | ||
6204 | extern "C" | ||
6205 | # endif | ||
6206 | int F77_DUMMY_MAIN() { return 1; } | ||
6207 | #endif | ||
6208 | int | ||
6209 | main () | ||
6210 | { | ||
6211 | login (); | ||
6212 | ; | ||
6213 | return 0; | ||
6214 | } | ||
6215 | _ACEOF | ||
6216 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6217 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6218 | (eval $ac_link) 2>&5 | ||
6219 | ac_status=$? | ||
6220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6221 | (exit $ac_status); } && | ||
6222 | { ac_try='test -s conftest$ac_exeext' | ||
6223 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6224 | (eval $ac_try) 2>&5 | ||
6225 | ac_status=$? | ||
6226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6227 | (exit $ac_status); }; }; then | ||
6228 | ac_cv_search_login="-l$ac_lib" | ||
6229 | break | ||
6230 | else | ||
6231 | echo "$as_me: failed program was:" >&5 | ||
6232 | cat conftest.$ac_ext >&5 | ||
6233 | fi | ||
6234 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6235 | done | ||
6236 | fi | ||
6237 | LIBS=$ac_func_search_save_LIBS | ||
6238 | fi | ||
6239 | echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 | ||
6240 | echo "${ECHO_T}$ac_cv_search_login" >&6 | ||
6241 | if test "$ac_cv_search_login" != no; then | ||
6242 | test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" | ||
6243 | cat >>confdefs.h <<\_ACEOF | ||
6244 | @%:@define HAVE_LOGIN 1 | ||
6245 | _ACEOF | ||
6246 | |||
6247 | fi | ||
6248 | |||
6249 | |||
6250 | |||
6251 | |||
6252 | for ac_func in logout updwtmp logwtmp | ||
6253 | do | ||
6254 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
6255 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
6256 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
6257 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
6258 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6259 | else | ||
6260 | cat >conftest.$ac_ext <<_ACEOF | ||
6261 | #line $LINENO "configure" | ||
6262 | #include "confdefs.h" | ||
6263 | /* System header to define __stub macros and hopefully few prototypes, | ||
6264 | which can conflict with char $ac_func (); below. */ | ||
6265 | #include <assert.h> | ||
6266 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6267 | #ifdef __cplusplus | ||
6268 | extern "C" | ||
6269 | #endif | ||
6270 | /* We use char because int might match the return type of a gcc2 | ||
6271 | builtin and then its argument prototype would still apply. */ | ||
6272 | char $ac_func (); | ||
6273 | char (*f) (); | ||
6274 | |||
6275 | #ifdef F77_DUMMY_MAIN | ||
6276 | # ifdef __cplusplus | ||
6277 | extern "C" | ||
6278 | # endif | ||
6279 | int F77_DUMMY_MAIN() { return 1; } | ||
6280 | #endif | ||
6281 | int | ||
6282 | main () | ||
6283 | { | ||
6284 | /* The GNU C library defines this for functions which it implements | ||
6285 | to always fail with ENOSYS. Some functions are actually named | ||
6286 | something starting with __ and the normal name is an alias. */ | ||
6287 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
6288 | choke me | ||
6289 | #else | ||
6290 | f = $ac_func; | ||
6291 | #endif | ||
6292 | |||
6293 | ; | ||
6294 | return 0; | ||
6295 | } | ||
6296 | _ACEOF | ||
6297 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6298 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6299 | (eval $ac_link) 2>&5 | ||
6300 | ac_status=$? | ||
6301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6302 | (exit $ac_status); } && | ||
6303 | { ac_try='test -s conftest$ac_exeext' | ||
6304 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6305 | (eval $ac_try) 2>&5 | ||
6306 | ac_status=$? | ||
6307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6308 | (exit $ac_status); }; }; then | ||
6309 | eval "$as_ac_var=yes" | ||
6310 | else | ||
6311 | echo "$as_me: failed program was:" >&5 | ||
6312 | cat conftest.$ac_ext >&5 | ||
6313 | eval "$as_ac_var=no" | ||
6314 | fi | ||
6315 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6316 | fi | ||
6317 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
6318 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
6319 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
6320 | cat >>confdefs.h <<_ACEOF | ||
6321 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
6322 | _ACEOF | ||
6323 | |||
6324 | fi | ||
6325 | done | ||
6326 | |||
6327 | |||
6328 | |||
6329 | for ac_func in strftime | ||
6330 | do | ||
6331 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
6332 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
6333 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
6334 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
6335 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6336 | else | ||
6337 | cat >conftest.$ac_ext <<_ACEOF | ||
6338 | #line $LINENO "configure" | ||
6339 | #include "confdefs.h" | ||
6340 | /* System header to define __stub macros and hopefully few prototypes, | ||
6341 | which can conflict with char $ac_func (); below. */ | ||
6342 | #include <assert.h> | ||
6343 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6344 | #ifdef __cplusplus | ||
6345 | extern "C" | ||
6346 | #endif | ||
6347 | /* We use char because int might match the return type of a gcc2 | ||
6348 | builtin and then its argument prototype would still apply. */ | ||
6349 | char $ac_func (); | ||
6350 | char (*f) (); | ||
6351 | |||
6352 | #ifdef F77_DUMMY_MAIN | ||
6353 | # ifdef __cplusplus | ||
6354 | extern "C" | ||
6355 | # endif | ||
6356 | int F77_DUMMY_MAIN() { return 1; } | ||
6357 | #endif | ||
6358 | int | ||
6359 | main () | ||
6360 | { | ||
6361 | /* The GNU C library defines this for functions which it implements | ||
6362 | to always fail with ENOSYS. Some functions are actually named | ||
6363 | something starting with __ and the normal name is an alias. */ | ||
6364 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
6365 | choke me | ||
6366 | #else | ||
6367 | f = $ac_func; | ||
6368 | #endif | ||
6369 | |||
6370 | ; | ||
6371 | return 0; | ||
6372 | } | ||
6373 | _ACEOF | ||
6374 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6375 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6376 | (eval $ac_link) 2>&5 | ||
6377 | ac_status=$? | ||
6378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6379 | (exit $ac_status); } && | ||
6380 | { ac_try='test -s conftest$ac_exeext' | ||
6381 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6382 | (eval $ac_try) 2>&5 | ||
6383 | ac_status=$? | ||
6384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6385 | (exit $ac_status); }; }; then | ||
6386 | eval "$as_ac_var=yes" | ||
6387 | else | ||
6388 | echo "$as_me: failed program was:" >&5 | ||
6389 | cat conftest.$ac_ext >&5 | ||
6390 | eval "$as_ac_var=no" | ||
6391 | fi | ||
6392 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6393 | fi | ||
6394 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
6395 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
6396 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
6397 | cat >>confdefs.h <<_ACEOF | ||
6398 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
6399 | _ACEOF | ||
6400 | |||
6401 | else | ||
6402 | # strftime is in -lintl on SCO UNIX. | ||
6403 | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | ||
6404 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | ||
6405 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | ||
6406 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6407 | else | ||
6408 | ac_check_lib_save_LIBS=$LIBS | ||
6409 | LIBS="-lintl $LIBS" | ||
6410 | cat >conftest.$ac_ext <<_ACEOF | ||
6411 | #line $LINENO "configure" | ||
6412 | #include "confdefs.h" | ||
6413 | |||
6414 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6415 | #ifdef __cplusplus | ||
6416 | extern "C" | ||
6417 | #endif | ||
6418 | /* We use char because int might match the return type of a gcc2 | ||
6419 | builtin and then its argument prototype would still apply. */ | ||
6420 | char strftime (); | ||
6421 | #ifdef F77_DUMMY_MAIN | ||
6422 | # ifdef __cplusplus | ||
6423 | extern "C" | ||
6424 | # endif | ||
6425 | int F77_DUMMY_MAIN() { return 1; } | ||
6426 | #endif | ||
6427 | int | ||
6428 | main () | ||
6429 | { | ||
6430 | strftime (); | ||
6431 | ; | ||
6432 | return 0; | ||
6433 | } | ||
6434 | _ACEOF | ||
6435 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6436 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6437 | (eval $ac_link) 2>&5 | ||
6438 | ac_status=$? | ||
6439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6440 | (exit $ac_status); } && | ||
6441 | { ac_try='test -s conftest$ac_exeext' | ||
6442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6443 | (eval $ac_try) 2>&5 | ||
6444 | ac_status=$? | ||
6445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6446 | (exit $ac_status); }; }; then | ||
6447 | ac_cv_lib_intl_strftime=yes | ||
6448 | else | ||
6449 | echo "$as_me: failed program was:" >&5 | ||
6450 | cat conftest.$ac_ext >&5 | ||
6451 | ac_cv_lib_intl_strftime=no | ||
6452 | fi | ||
6453 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6454 | LIBS=$ac_check_lib_save_LIBS | ||
6455 | fi | ||
6456 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | ||
6457 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | ||
6458 | if test $ac_cv_lib_intl_strftime = yes; then | ||
6459 | cat >>confdefs.h <<\_ACEOF | ||
6460 | @%:@define HAVE_STRFTIME 1 | ||
6461 | _ACEOF | ||
6462 | |||
6463 | LIBS="-lintl $LIBS" | ||
6464 | fi | ||
6465 | |||
6466 | fi | ||
6467 | done | ||
6468 | |||
6469 | |||
6470 | # Check for ALTDIRFUNC glob() extension | ||
6471 | echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 | ||
6472 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 | ||
6473 | cat >conftest.$ac_ext <<_ACEOF | ||
6474 | #line $LINENO "configure" | ||
6475 | #include "confdefs.h" | ||
6476 | |||
6477 | #include <glob.h> | ||
6478 | #ifdef GLOB_ALTDIRFUNC | ||
6479 | FOUNDIT | ||
6480 | #endif | ||
6481 | |||
6482 | _ACEOF | ||
6483 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
6484 | egrep "FOUNDIT" >/dev/null 2>&1; then | ||
6485 | |||
6486 | cat >>confdefs.h <<\_ACEOF | ||
6487 | @%:@define GLOB_HAS_ALTDIRFUNC 1 | ||
6488 | _ACEOF | ||
6489 | |||
6490 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6491 | echo "${ECHO_T}yes" >&6 | ||
6492 | |||
6493 | else | ||
6494 | |||
6495 | echo "$as_me:$LINENO: result: no" >&5 | ||
6496 | echo "${ECHO_T}no" >&6 | ||
6497 | |||
6498 | |||
6499 | fi | ||
6500 | rm -f conftest* | ||
6501 | |||
6502 | |||
6503 | # Check for g.gl_matchc glob() extension | ||
6504 | echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 | ||
6505 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 | ||
6506 | cat >conftest.$ac_ext <<_ACEOF | ||
6507 | #line $LINENO "configure" | ||
6508 | #include "confdefs.h" | ||
6509 | |||
6510 | #include <glob.h> | ||
6511 | int main(void){glob_t g; g.gl_matchc = 1;} | ||
6512 | |||
6513 | _ACEOF | ||
6514 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
6515 | egrep "FOUNDIT" >/dev/null 2>&1; then | ||
6516 | |||
6517 | cat >>confdefs.h <<\_ACEOF | ||
6518 | @%:@define GLOB_HAS_GL_MATCHC 1 | ||
6519 | _ACEOF | ||
6520 | |||
6521 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6522 | echo "${ECHO_T}yes" >&6 | ||
6523 | |||
6524 | else | ||
6525 | |||
6526 | echo "$as_me:$LINENO: result: no" >&5 | ||
6527 | echo "${ECHO_T}no" >&6 | ||
6528 | |||
6529 | |||
6530 | fi | ||
6531 | rm -f conftest* | ||
6532 | |||
6533 | |||
6534 | echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 | ||
6535 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 | ||
6536 | if test "$cross_compiling" = yes; then | ||
6537 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
6538 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
6539 | { (exit 1); exit 1; }; } | ||
6540 | else | ||
6541 | cat >conftest.$ac_ext <<_ACEOF | ||
6542 | #line $LINENO "configure" | ||
6543 | #include "confdefs.h" | ||
6544 | |||
6545 | #include <sys/types.h> | ||
6546 | #include <dirent.h> | ||
6547 | int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));} | ||
6548 | |||
6549 | _ACEOF | ||
6550 | rm -f conftest$ac_exeext | ||
6551 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6552 | (eval $ac_link) 2>&5 | ||
6553 | ac_status=$? | ||
6554 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6555 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
6556 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6557 | (eval $ac_try) 2>&5 | ||
6558 | ac_status=$? | ||
6559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6560 | (exit $ac_status); }; }; then | ||
6561 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6562 | echo "${ECHO_T}yes" >&6 | ||
6563 | else | ||
6564 | echo "$as_me: program exited with status $ac_status" >&5 | ||
6565 | echo "$as_me: failed program was:" >&5 | ||
6566 | cat conftest.$ac_ext >&5 | ||
6567 | ( exit $ac_status ) | ||
6568 | |||
6569 | echo "$as_me:$LINENO: result: no" >&5 | ||
6570 | echo "${ECHO_T}no" >&6 | ||
6571 | cat >>confdefs.h <<\_ACEOF | ||
6572 | @%:@define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | ||
6573 | _ACEOF | ||
6574 | |||
6575 | |||
6576 | |||
6577 | fi | ||
6578 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
6579 | fi | ||
6580 | |||
6581 | # Check whether user wants S/Key support | ||
6582 | SKEY_MSG="no" | ||
6583 | |||
6584 | # Check whether --with-skey or --without-skey was given. | ||
6585 | if test "${with_skey+set}" = set; then | ||
6586 | withval="$with_skey" | ||
6587 | |||
6588 | if test "x$withval" != "xno" ; then | ||
6589 | |||
6590 | if test "x$withval" != "xyes" ; then | ||
6591 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | ||
6592 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
6593 | fi | ||
6594 | |||
6595 | cat >>confdefs.h <<\_ACEOF | ||
6596 | @%:@define SKEY 1 | ||
6597 | _ACEOF | ||
6598 | |||
6599 | LIBS="-lskey $LIBS" | ||
6600 | SKEY_MSG="yes" | ||
6601 | |||
6602 | echo "$as_me:$LINENO: checking for s/key support" >&5 | ||
6603 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 | ||
6604 | if test "$cross_compiling" = yes; then | ||
6605 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
6606 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
6607 | { (exit 1); exit 1; }; } | ||
6608 | else | ||
6609 | cat >conftest.$ac_ext <<_ACEOF | ||
6610 | #line $LINENO "configure" | ||
6611 | #include "confdefs.h" | ||
6612 | |||
6613 | #include <stdio.h> | ||
6614 | #include <skey.h> | ||
6615 | int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } | ||
6616 | |||
6617 | _ACEOF | ||
6618 | rm -f conftest$ac_exeext | ||
6619 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6620 | (eval $ac_link) 2>&5 | ||
6621 | ac_status=$? | ||
6622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6623 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
6624 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6625 | (eval $ac_try) 2>&5 | ||
6626 | ac_status=$? | ||
6627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6628 | (exit $ac_status); }; }; then | ||
6629 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6630 | echo "${ECHO_T}yes" >&6 | ||
6631 | else | ||
6632 | echo "$as_me: program exited with status $ac_status" >&5 | ||
6633 | echo "$as_me: failed program was:" >&5 | ||
6634 | cat conftest.$ac_ext >&5 | ||
6635 | ( exit $ac_status ) | ||
6636 | |||
6637 | echo "$as_me:$LINENO: result: no" >&5 | ||
6638 | echo "${ECHO_T}no" >&6 | ||
6639 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 | ||
6640 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} | ||
6641 | { (exit 1); exit 1; }; } | ||
6642 | |||
6643 | fi | ||
6644 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
6645 | fi | ||
6646 | fi | ||
6647 | |||
6648 | |||
6649 | fi; | ||
6650 | |||
6651 | # Check whether user wants TCP wrappers support | ||
6652 | TCPW_MSG="no" | ||
6653 | |||
6654 | # Check whether --with-tcp-wrappers or --without-tcp-wrappers was given. | ||
6655 | if test "${with_tcp_wrappers+set}" = set; then | ||
6656 | withval="$with_tcp_wrappers" | ||
6657 | |||
6658 | if test "x$withval" != "xno" ; then | ||
6659 | saved_LIBS="$LIBS" | ||
6660 | saved_LDFLAGS="$LDFLAGS" | ||
6661 | saved_CPPFLAGS="$CPPFLAGS" | ||
6662 | if test -n "${withval}" -a "${withval}" != "yes"; then | ||
6663 | if test -d "${withval}/lib"; then | ||
6664 | if test -n "${need_dash_r}"; then | ||
6665 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | ||
6666 | else | ||
6667 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | ||
6668 | fi | ||
6669 | else | ||
6670 | if test -n "${need_dash_r}"; then | ||
6671 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | ||
6672 | else | ||
6673 | LDFLAGS="-L${withval} ${LDFLAGS}" | ||
6674 | fi | ||
6675 | fi | ||
6676 | if test -d "${withval}/include"; then | ||
6677 | CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | ||
6678 | else | ||
6679 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | ||
6680 | fi | ||
6681 | fi | ||
6682 | LIBWRAP="-lwrap" | ||
6683 | LIBS="$LIBWRAP $LIBS" | ||
6684 | echo "$as_me:$LINENO: checking for libwrap" >&5 | ||
6685 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 | ||
6686 | cat >conftest.$ac_ext <<_ACEOF | ||
6687 | #line $LINENO "configure" | ||
6688 | #include "confdefs.h" | ||
6689 | |||
6690 | #include <tcpd.h> | ||
6691 | int deny_severity = 0, allow_severity = 0; | ||
6692 | |||
6693 | #ifdef F77_DUMMY_MAIN | ||
6694 | # ifdef __cplusplus | ||
6695 | extern "C" | ||
6696 | # endif | ||
6697 | int F77_DUMMY_MAIN() { return 1; } | ||
6698 | #endif | ||
6699 | int | ||
6700 | main () | ||
6701 | { | ||
6702 | hosts_access(0); | ||
6703 | ; | ||
6704 | return 0; | ||
6705 | } | ||
6706 | _ACEOF | ||
6707 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6708 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6709 | (eval $ac_link) 2>&5 | ||
6710 | ac_status=$? | ||
6711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6712 | (exit $ac_status); } && | ||
6713 | { ac_try='test -s conftest$ac_exeext' | ||
6714 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6715 | (eval $ac_try) 2>&5 | ||
6716 | ac_status=$? | ||
6717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6718 | (exit $ac_status); }; }; then | ||
6719 | |||
6720 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6721 | echo "${ECHO_T}yes" >&6 | ||
6722 | cat >>confdefs.h <<\_ACEOF | ||
6723 | @%:@define LIBWRAP 1 | ||
6724 | _ACEOF | ||
6725 | |||
6726 | |||
6727 | TCPW_MSG="yes" | ||
6728 | |||
6729 | else | ||
6730 | echo "$as_me: failed program was:" >&5 | ||
6731 | cat conftest.$ac_ext >&5 | ||
6732 | |||
6733 | { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5 | ||
6734 | echo "$as_me: error: *** libwrap missing" >&2;} | ||
6735 | { (exit 1); exit 1; }; } | ||
6736 | |||
6737 | |||
6738 | fi | ||
6739 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6740 | LIBS="$saved_LIBS" | ||
6741 | fi | ||
6742 | |||
6743 | |||
6744 | fi; | ||
6745 | |||
6746 | |||
6747 | |||
6748 | |||
6749 | |||
6750 | |||
6751 | |||
6752 | |||
6753 | |||
6754 | |||
6755 | |||
6756 | |||
6757 | |||
6758 | |||
6759 | |||
6760 | |||
6761 | |||
6762 | |||
6763 | |||
6764 | |||
6765 | |||
6766 | |||
6767 | |||
6768 | |||
6769 | |||
6770 | |||
6771 | |||
6772 | |||
6773 | |||
6774 | |||
6775 | |||
6776 | |||
6777 | |||
6778 | |||
6779 | |||
6780 | |||
6781 | |||
6782 | |||
6783 | |||
6784 | |||
6785 | |||
6786 | |||
6787 | |||
6788 | |||
6789 | |||
6790 | |||
6791 | |||
6792 | |||
6793 | |||
6794 | |||
6795 | |||
6796 | |||
6797 | |||
6798 | |||
6799 | |||
6800 | |||
6801 | |||
6802 | |||
6803 | |||
6804 | |||
6805 | |||
6806 | |||
6807 | |||
6808 | |||
6809 | |||
6810 | |||
6811 | |||
6812 | |||
6813 | |||
6814 | |||
6815 | |||
6816 | |||
6817 | |||
6818 | |||
6819 | for ac_func in \ | ||
6820 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \ | ||
6821 | bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ | ||
6822 | gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \ | ||
6823 | getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \ | ||
6824 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | ||
6825 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \ | ||
6826 | readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \ | ||
6827 | setegid setenv seteuid setgroups setlogin setpcred setproctitle \ | ||
6828 | setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \ | ||
6829 | snprintf socketpair strerror strlcat strlcpy strmode strnvis \ | ||
6830 | sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \ | ||
6831 | |||
6832 | do | ||
6833 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
6834 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
6835 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
6836 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
6837 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6838 | else | ||
6839 | cat >conftest.$ac_ext <<_ACEOF | ||
6840 | #line $LINENO "configure" | ||
6841 | #include "confdefs.h" | ||
6842 | /* System header to define __stub macros and hopefully few prototypes, | ||
6843 | which can conflict with char $ac_func (); below. */ | ||
6844 | #include <assert.h> | ||
6845 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6846 | #ifdef __cplusplus | ||
6847 | extern "C" | ||
6848 | #endif | ||
6849 | /* We use char because int might match the return type of a gcc2 | ||
6850 | builtin and then its argument prototype would still apply. */ | ||
6851 | char $ac_func (); | ||
6852 | char (*f) (); | ||
6853 | |||
6854 | #ifdef F77_DUMMY_MAIN | ||
6855 | # ifdef __cplusplus | ||
6856 | extern "C" | ||
6857 | # endif | ||
6858 | int F77_DUMMY_MAIN() { return 1; } | ||
6859 | #endif | ||
6860 | int | ||
6861 | main () | ||
6862 | { | ||
6863 | /* The GNU C library defines this for functions which it implements | ||
6864 | to always fail with ENOSYS. Some functions are actually named | ||
6865 | something starting with __ and the normal name is an alias. */ | ||
6866 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
6867 | choke me | ||
6868 | #else | ||
6869 | f = $ac_func; | ||
6870 | #endif | ||
6871 | |||
6872 | ; | ||
6873 | return 0; | ||
6874 | } | ||
6875 | _ACEOF | ||
6876 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6877 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6878 | (eval $ac_link) 2>&5 | ||
6879 | ac_status=$? | ||
6880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6881 | (exit $ac_status); } && | ||
6882 | { ac_try='test -s conftest$ac_exeext' | ||
6883 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6884 | (eval $ac_try) 2>&5 | ||
6885 | ac_status=$? | ||
6886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6887 | (exit $ac_status); }; }; then | ||
6888 | eval "$as_ac_var=yes" | ||
6889 | else | ||
6890 | echo "$as_me: failed program was:" >&5 | ||
6891 | cat conftest.$ac_ext >&5 | ||
6892 | eval "$as_ac_var=no" | ||
6893 | fi | ||
6894 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6895 | fi | ||
6896 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
6897 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
6898 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
6899 | cat >>confdefs.h <<_ACEOF | ||
6900 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
6901 | _ACEOF | ||
6902 | |||
6903 | fi | ||
6904 | done | ||
6905 | |||
6906 | |||
6907 | echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 | ||
6908 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 | ||
6909 | if test "${ac_cv_search_nanosleep+set}" = set; then | ||
6910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6911 | else | ||
6912 | ac_func_search_save_LIBS=$LIBS | ||
6913 | ac_cv_search_nanosleep=no | ||
6914 | cat >conftest.$ac_ext <<_ACEOF | ||
6915 | #line $LINENO "configure" | ||
6916 | #include "confdefs.h" | ||
6917 | |||
6918 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6919 | #ifdef __cplusplus | ||
6920 | extern "C" | ||
6921 | #endif | ||
6922 | /* We use char because int might match the return type of a gcc2 | ||
6923 | builtin and then its argument prototype would still apply. */ | ||
6924 | char nanosleep (); | ||
6925 | #ifdef F77_DUMMY_MAIN | ||
6926 | # ifdef __cplusplus | ||
6927 | extern "C" | ||
6928 | # endif | ||
6929 | int F77_DUMMY_MAIN() { return 1; } | ||
6930 | #endif | ||
6931 | int | ||
6932 | main () | ||
6933 | { | ||
6934 | nanosleep (); | ||
6935 | ; | ||
6936 | return 0; | ||
6937 | } | ||
6938 | _ACEOF | ||
6939 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6940 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6941 | (eval $ac_link) 2>&5 | ||
6942 | ac_status=$? | ||
6943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6944 | (exit $ac_status); } && | ||
6945 | { ac_try='test -s conftest$ac_exeext' | ||
6946 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6947 | (eval $ac_try) 2>&5 | ||
6948 | ac_status=$? | ||
6949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6950 | (exit $ac_status); }; }; then | ||
6951 | ac_cv_search_nanosleep="none required" | ||
6952 | else | ||
6953 | echo "$as_me: failed program was:" >&5 | ||
6954 | cat conftest.$ac_ext >&5 | ||
6955 | fi | ||
6956 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6957 | if test "$ac_cv_search_nanosleep" = no; then | ||
6958 | for ac_lib in rt posix4; do | ||
6959 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
6960 | cat >conftest.$ac_ext <<_ACEOF | ||
6961 | #line $LINENO "configure" | ||
6962 | #include "confdefs.h" | ||
6963 | |||
6964 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6965 | #ifdef __cplusplus | ||
6966 | extern "C" | ||
6967 | #endif | ||
6968 | /* We use char because int might match the return type of a gcc2 | ||
6969 | builtin and then its argument prototype would still apply. */ | ||
6970 | char nanosleep (); | ||
6971 | #ifdef F77_DUMMY_MAIN | ||
6972 | # ifdef __cplusplus | ||
6973 | extern "C" | ||
6974 | # endif | ||
6975 | int F77_DUMMY_MAIN() { return 1; } | ||
6976 | #endif | ||
6977 | int | ||
6978 | main () | ||
6979 | { | ||
6980 | nanosleep (); | ||
6981 | ; | ||
6982 | return 0; | ||
6983 | } | ||
6984 | _ACEOF | ||
6985 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6986 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6987 | (eval $ac_link) 2>&5 | ||
6988 | ac_status=$? | ||
6989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6990 | (exit $ac_status); } && | ||
6991 | { ac_try='test -s conftest$ac_exeext' | ||
6992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6993 | (eval $ac_try) 2>&5 | ||
6994 | ac_status=$? | ||
6995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6996 | (exit $ac_status); }; }; then | ||
6997 | ac_cv_search_nanosleep="-l$ac_lib" | ||
6998 | break | ||
6999 | else | ||
7000 | echo "$as_me: failed program was:" >&5 | ||
7001 | cat conftest.$ac_ext >&5 | ||
7002 | fi | ||
7003 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7004 | done | ||
7005 | fi | ||
7006 | LIBS=$ac_func_search_save_LIBS | ||
7007 | fi | ||
7008 | echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 | ||
7009 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 | ||
7010 | if test "$ac_cv_search_nanosleep" != no; then | ||
7011 | test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" | ||
7012 | cat >>confdefs.h <<\_ACEOF | ||
7013 | @%:@define HAVE_NANOSLEEP 1 | ||
7014 | _ACEOF | ||
7015 | |||
7016 | fi | ||
7017 | |||
7018 | |||
7019 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 | ||
7020 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 | ||
7021 | if test "${ac_cv_have_decl_strsep+set}" = set; then | ||
7022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7023 | else | ||
7024 | cat >conftest.$ac_ext <<_ACEOF | ||
7025 | #line $LINENO "configure" | ||
7026 | #include "confdefs.h" | ||
7027 | $ac_includes_default | ||
7028 | #ifdef F77_DUMMY_MAIN | ||
7029 | # ifdef __cplusplus | ||
7030 | extern "C" | ||
7031 | # endif | ||
7032 | int F77_DUMMY_MAIN() { return 1; } | ||
7033 | #endif | ||
7034 | int | ||
7035 | main () | ||
7036 | { | ||
7037 | #ifndef strsep | ||
7038 | char *p = (char *) strsep; | ||
7039 | #endif | ||
7040 | |||
7041 | ; | ||
7042 | return 0; | ||
7043 | } | ||
7044 | _ACEOF | ||
7045 | rm -f conftest.$ac_objext | ||
7046 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7047 | (eval $ac_compile) 2>&5 | ||
7048 | ac_status=$? | ||
7049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7050 | (exit $ac_status); } && | ||
7051 | { ac_try='test -s conftest.$ac_objext' | ||
7052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7053 | (eval $ac_try) 2>&5 | ||
7054 | ac_status=$? | ||
7055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7056 | (exit $ac_status); }; }; then | ||
7057 | ac_cv_have_decl_strsep=yes | ||
7058 | else | ||
7059 | echo "$as_me: failed program was:" >&5 | ||
7060 | cat conftest.$ac_ext >&5 | ||
7061 | ac_cv_have_decl_strsep=no | ||
7062 | fi | ||
7063 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
7064 | fi | ||
7065 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | ||
7066 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 | ||
7067 | if test $ac_cv_have_decl_strsep = yes; then | ||
7068 | |||
7069 | for ac_func in strsep | ||
7070 | do | ||
7071 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7072 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7073 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7074 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7075 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7076 | else | ||
7077 | cat >conftest.$ac_ext <<_ACEOF | ||
7078 | #line $LINENO "configure" | ||
7079 | #include "confdefs.h" | ||
7080 | /* System header to define __stub macros and hopefully few prototypes, | ||
7081 | which can conflict with char $ac_func (); below. */ | ||
7082 | #include <assert.h> | ||
7083 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7084 | #ifdef __cplusplus | ||
7085 | extern "C" | ||
7086 | #endif | ||
7087 | /* We use char because int might match the return type of a gcc2 | ||
7088 | builtin and then its argument prototype would still apply. */ | ||
7089 | char $ac_func (); | ||
7090 | char (*f) (); | ||
7091 | |||
7092 | #ifdef F77_DUMMY_MAIN | ||
7093 | # ifdef __cplusplus | ||
7094 | extern "C" | ||
7095 | # endif | ||
7096 | int F77_DUMMY_MAIN() { return 1; } | ||
7097 | #endif | ||
7098 | int | ||
7099 | main () | ||
7100 | { | ||
7101 | /* The GNU C library defines this for functions which it implements | ||
7102 | to always fail with ENOSYS. Some functions are actually named | ||
7103 | something starting with __ and the normal name is an alias. */ | ||
7104 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7105 | choke me | ||
7106 | #else | ||
7107 | f = $ac_func; | ||
7108 | #endif | ||
7109 | |||
7110 | ; | ||
7111 | return 0; | ||
7112 | } | ||
7113 | _ACEOF | ||
7114 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7115 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7116 | (eval $ac_link) 2>&5 | ||
7117 | ac_status=$? | ||
7118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7119 | (exit $ac_status); } && | ||
7120 | { ac_try='test -s conftest$ac_exeext' | ||
7121 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7122 | (eval $ac_try) 2>&5 | ||
7123 | ac_status=$? | ||
7124 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7125 | (exit $ac_status); }; }; then | ||
7126 | eval "$as_ac_var=yes" | ||
7127 | else | ||
7128 | echo "$as_me: failed program was:" >&5 | ||
7129 | cat conftest.$ac_ext >&5 | ||
7130 | eval "$as_ac_var=no" | ||
7131 | fi | ||
7132 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7133 | fi | ||
7134 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7135 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7136 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7137 | cat >>confdefs.h <<_ACEOF | ||
7138 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7139 | _ACEOF | ||
7140 | |||
7141 | fi | ||
7142 | done | ||
7143 | |||
7144 | fi | ||
7145 | |||
7146 | |||
7147 | |||
7148 | for ac_func in dirname | ||
7149 | do | ||
7150 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7151 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7152 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7153 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7154 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7155 | else | ||
7156 | cat >conftest.$ac_ext <<_ACEOF | ||
7157 | #line $LINENO "configure" | ||
7158 | #include "confdefs.h" | ||
7159 | /* System header to define __stub macros and hopefully few prototypes, | ||
7160 | which can conflict with char $ac_func (); below. */ | ||
7161 | #include <assert.h> | ||
7162 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7163 | #ifdef __cplusplus | ||
7164 | extern "C" | ||
7165 | #endif | ||
7166 | /* We use char because int might match the return type of a gcc2 | ||
7167 | builtin and then its argument prototype would still apply. */ | ||
7168 | char $ac_func (); | ||
7169 | char (*f) (); | ||
7170 | |||
7171 | #ifdef F77_DUMMY_MAIN | ||
7172 | # ifdef __cplusplus | ||
7173 | extern "C" | ||
7174 | # endif | ||
7175 | int F77_DUMMY_MAIN() { return 1; } | ||
7176 | #endif | ||
7177 | int | ||
7178 | main () | ||
7179 | { | ||
7180 | /* The GNU C library defines this for functions which it implements | ||
7181 | to always fail with ENOSYS. Some functions are actually named | ||
7182 | something starting with __ and the normal name is an alias. */ | ||
7183 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7184 | choke me | ||
7185 | #else | ||
7186 | f = $ac_func; | ||
7187 | #endif | ||
7188 | |||
7189 | ; | ||
7190 | return 0; | ||
7191 | } | ||
7192 | _ACEOF | ||
7193 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7194 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7195 | (eval $ac_link) 2>&5 | ||
7196 | ac_status=$? | ||
7197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7198 | (exit $ac_status); } && | ||
7199 | { ac_try='test -s conftest$ac_exeext' | ||
7200 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7201 | (eval $ac_try) 2>&5 | ||
7202 | ac_status=$? | ||
7203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7204 | (exit $ac_status); }; }; then | ||
7205 | eval "$as_ac_var=yes" | ||
7206 | else | ||
7207 | echo "$as_me: failed program was:" >&5 | ||
7208 | cat conftest.$ac_ext >&5 | ||
7209 | eval "$as_ac_var=no" | ||
7210 | fi | ||
7211 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7212 | fi | ||
7213 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7214 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7215 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7216 | cat >>confdefs.h <<_ACEOF | ||
7217 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7218 | _ACEOF | ||
7219 | |||
7220 | for ac_header in libgen.h | ||
7221 | do | ||
7222 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
7223 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7224 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7225 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7226 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7227 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7228 | fi | ||
7229 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7230 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7231 | else | ||
7232 | # Is the header compilable? | ||
7233 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
7234 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
7235 | cat >conftest.$ac_ext <<_ACEOF | ||
7236 | #line $LINENO "configure" | ||
7237 | #include "confdefs.h" | ||
7238 | $ac_includes_default | ||
7239 | @%:@include <$ac_header> | ||
7240 | _ACEOF | ||
7241 | rm -f conftest.$ac_objext | ||
7242 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7243 | (eval $ac_compile) 2>&5 | ||
7244 | ac_status=$? | ||
7245 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7246 | (exit $ac_status); } && | ||
7247 | { ac_try='test -s conftest.$ac_objext' | ||
7248 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7249 | (eval $ac_try) 2>&5 | ||
7250 | ac_status=$? | ||
7251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7252 | (exit $ac_status); }; }; then | ||
7253 | ac_header_compiler=yes | ||
7254 | else | ||
7255 | echo "$as_me: failed program was:" >&5 | ||
7256 | cat conftest.$ac_ext >&5 | ||
7257 | ac_header_compiler=no | ||
7258 | fi | ||
7259 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
7260 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
7261 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
7262 | |||
7263 | # Is the header present? | ||
7264 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
7265 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
7266 | cat >conftest.$ac_ext <<_ACEOF | ||
7267 | #line $LINENO "configure" | ||
7268 | #include "confdefs.h" | ||
7269 | @%:@include <$ac_header> | ||
7270 | _ACEOF | ||
7271 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7272 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7273 | ac_status=$? | ||
7274 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
7275 | rm -f conftest.er1 | ||
7276 | cat conftest.err >&5 | ||
7277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7278 | (exit $ac_status); } >/dev/null; then | ||
7279 | if test -s conftest.err; then | ||
7280 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
7281 | else | ||
7282 | ac_cpp_err= | ||
7283 | fi | ||
7284 | else | ||
7285 | ac_cpp_err=yes | ||
7286 | fi | ||
7287 | if test -z "$ac_cpp_err"; then | ||
7288 | ac_header_preproc=yes | ||
7289 | else | ||
7290 | echo "$as_me: failed program was:" >&5 | ||
7291 | cat conftest.$ac_ext >&5 | ||
7292 | ac_header_preproc=no | ||
7293 | fi | ||
7294 | rm -f conftest.err conftest.$ac_ext | ||
7295 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
7296 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
7297 | |||
7298 | # So? What about this header? | ||
7299 | case $ac_header_compiler:$ac_header_preproc in | ||
7300 | yes:no ) | ||
7301 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
7302 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
7303 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7304 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
7305 | no:yes ) | ||
7306 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
7307 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
7308 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
7309 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
7310 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7311 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
7312 | esac | ||
7313 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7314 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7315 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7316 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7317 | else | ||
7318 | eval "$as_ac_Header=$ac_header_preproc" | ||
7319 | fi | ||
7320 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7321 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7322 | |||
7323 | fi | ||
7324 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7325 | cat >>confdefs.h <<_ACEOF | ||
7326 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
7327 | _ACEOF | ||
7328 | |||
7329 | fi | ||
7330 | |||
7331 | done | ||
7332 | |||
7333 | else | ||
7334 | |||
7335 | echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 | ||
7336 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 | ||
7337 | if test "${ac_cv_lib_gen_dirname+set}" = set; then | ||
7338 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7339 | else | ||
7340 | ac_check_lib_save_LIBS=$LIBS | ||
7341 | LIBS="-lgen $LIBS" | ||
7342 | cat >conftest.$ac_ext <<_ACEOF | ||
7343 | #line $LINENO "configure" | ||
7344 | #include "confdefs.h" | ||
7345 | |||
7346 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7347 | #ifdef __cplusplus | ||
7348 | extern "C" | ||
7349 | #endif | ||
7350 | /* We use char because int might match the return type of a gcc2 | ||
7351 | builtin and then its argument prototype would still apply. */ | ||
7352 | char dirname (); | ||
7353 | #ifdef F77_DUMMY_MAIN | ||
7354 | # ifdef __cplusplus | ||
7355 | extern "C" | ||
7356 | # endif | ||
7357 | int F77_DUMMY_MAIN() { return 1; } | ||
7358 | #endif | ||
7359 | int | ||
7360 | main () | ||
7361 | { | ||
7362 | dirname (); | ||
7363 | ; | ||
7364 | return 0; | ||
7365 | } | ||
7366 | _ACEOF | ||
7367 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7368 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7369 | (eval $ac_link) 2>&5 | ||
7370 | ac_status=$? | ||
7371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7372 | (exit $ac_status); } && | ||
7373 | { ac_try='test -s conftest$ac_exeext' | ||
7374 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7375 | (eval $ac_try) 2>&5 | ||
7376 | ac_status=$? | ||
7377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7378 | (exit $ac_status); }; }; then | ||
7379 | ac_cv_lib_gen_dirname=yes | ||
7380 | else | ||
7381 | echo "$as_me: failed program was:" >&5 | ||
7382 | cat conftest.$ac_ext >&5 | ||
7383 | ac_cv_lib_gen_dirname=no | ||
7384 | fi | ||
7385 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7386 | LIBS=$ac_check_lib_save_LIBS | ||
7387 | fi | ||
7388 | echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 | ||
7389 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6 | ||
7390 | if test $ac_cv_lib_gen_dirname = yes; then | ||
7391 | |||
7392 | echo "$as_me:$LINENO: checking for broken dirname" >&5 | ||
7393 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6 | ||
7394 | if test "${ac_cv_have_broken_dirname+set}" = set; then | ||
7395 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7396 | else | ||
7397 | |||
7398 | save_LIBS="$LIBS" | ||
7399 | LIBS="$LIBS -lgen" | ||
7400 | if test "$cross_compiling" = yes; then | ||
7401 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
7402 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
7403 | { (exit 1); exit 1; }; } | ||
7404 | else | ||
7405 | cat >conftest.$ac_ext <<_ACEOF | ||
7406 | #line $LINENO "configure" | ||
7407 | #include "confdefs.h" | ||
7408 | |||
7409 | #include <libgen.h> | ||
7410 | #include <string.h> | ||
7411 | |||
7412 | int main(int argc, char **argv) { | ||
7413 | char *s, buf[32]; | ||
7414 | |||
7415 | strncpy(buf,"/etc", 32); | ||
7416 | s = dirname(buf); | ||
7417 | if (!s || strncmp(s, "/", 32) != 0) { | ||
7418 | exit(1); | ||
7419 | } else { | ||
7420 | exit(0); | ||
7421 | } | ||
7422 | } | ||
7423 | |||
7424 | _ACEOF | ||
7425 | rm -f conftest$ac_exeext | ||
7426 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7427 | (eval $ac_link) 2>&5 | ||
7428 | ac_status=$? | ||
7429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7430 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
7431 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7432 | (eval $ac_try) 2>&5 | ||
7433 | ac_status=$? | ||
7434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7435 | (exit $ac_status); }; }; then | ||
7436 | ac_cv_have_broken_dirname="no" | ||
7437 | else | ||
7438 | echo "$as_me: program exited with status $ac_status" >&5 | ||
7439 | echo "$as_me: failed program was:" >&5 | ||
7440 | cat conftest.$ac_ext >&5 | ||
7441 | ( exit $ac_status ) | ||
7442 | ac_cv_have_broken_dirname="yes" | ||
7443 | |||
7444 | fi | ||
7445 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
7446 | fi | ||
7447 | LIBS="$save_LIBS" | ||
7448 | |||
7449 | fi | ||
7450 | echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5 | ||
7451 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6 | ||
7452 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | ||
7453 | LIBS="$LIBS -lgen" | ||
7454 | cat >>confdefs.h <<\_ACEOF | ||
7455 | @%:@define HAVE_DIRNAME 1 | ||
7456 | _ACEOF | ||
7457 | |||
7458 | |||
7459 | for ac_header in libgen.h | ||
7460 | do | ||
7461 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
7462 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7463 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7464 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7465 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7466 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7467 | fi | ||
7468 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7469 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7470 | else | ||
7471 | # Is the header compilable? | ||
7472 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
7473 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
7474 | cat >conftest.$ac_ext <<_ACEOF | ||
7475 | #line $LINENO "configure" | ||
7476 | #include "confdefs.h" | ||
7477 | $ac_includes_default | ||
7478 | @%:@include <$ac_header> | ||
7479 | _ACEOF | ||
7480 | rm -f conftest.$ac_objext | ||
7481 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7482 | (eval $ac_compile) 2>&5 | ||
7483 | ac_status=$? | ||
7484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7485 | (exit $ac_status); } && | ||
7486 | { ac_try='test -s conftest.$ac_objext' | ||
7487 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7488 | (eval $ac_try) 2>&5 | ||
7489 | ac_status=$? | ||
7490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7491 | (exit $ac_status); }; }; then | ||
7492 | ac_header_compiler=yes | ||
7493 | else | ||
7494 | echo "$as_me: failed program was:" >&5 | ||
7495 | cat conftest.$ac_ext >&5 | ||
7496 | ac_header_compiler=no | ||
7497 | fi | ||
7498 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
7499 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
7500 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
7501 | |||
7502 | # Is the header present? | ||
7503 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
7504 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
7505 | cat >conftest.$ac_ext <<_ACEOF | ||
7506 | #line $LINENO "configure" | ||
7507 | #include "confdefs.h" | ||
7508 | @%:@include <$ac_header> | ||
7509 | _ACEOF | ||
7510 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7511 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7512 | ac_status=$? | ||
7513 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
7514 | rm -f conftest.er1 | ||
7515 | cat conftest.err >&5 | ||
7516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7517 | (exit $ac_status); } >/dev/null; then | ||
7518 | if test -s conftest.err; then | ||
7519 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
7520 | else | ||
7521 | ac_cpp_err= | ||
7522 | fi | ||
7523 | else | ||
7524 | ac_cpp_err=yes | ||
7525 | fi | ||
7526 | if test -z "$ac_cpp_err"; then | ||
7527 | ac_header_preproc=yes | ||
7528 | else | ||
7529 | echo "$as_me: failed program was:" >&5 | ||
7530 | cat conftest.$ac_ext >&5 | ||
7531 | ac_header_preproc=no | ||
7532 | fi | ||
7533 | rm -f conftest.err conftest.$ac_ext | ||
7534 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
7535 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
7536 | |||
7537 | # So? What about this header? | ||
7538 | case $ac_header_compiler:$ac_header_preproc in | ||
7539 | yes:no ) | ||
7540 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
7541 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
7542 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7543 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
7544 | no:yes ) | ||
7545 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
7546 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
7547 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
7548 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
7549 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7550 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
7551 | esac | ||
7552 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7553 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7554 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7555 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7556 | else | ||
7557 | eval "$as_ac_Header=$ac_header_preproc" | ||
7558 | fi | ||
7559 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7560 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7561 | |||
7562 | fi | ||
7563 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7564 | cat >>confdefs.h <<_ACEOF | ||
7565 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
7566 | _ACEOF | ||
7567 | |||
7568 | fi | ||
7569 | |||
7570 | done | ||
7571 | |||
7572 | fi | ||
7573 | |||
7574 | fi | ||
7575 | |||
7576 | |||
7577 | fi | ||
7578 | done | ||
7579 | |||
7580 | |||
7581 | |||
7582 | |||
7583 | for ac_func in gettimeofday time | ||
7584 | do | ||
7585 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7586 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7587 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7588 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7589 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7590 | else | ||
7591 | cat >conftest.$ac_ext <<_ACEOF | ||
7592 | #line $LINENO "configure" | ||
7593 | #include "confdefs.h" | ||
7594 | /* System header to define __stub macros and hopefully few prototypes, | ||
7595 | which can conflict with char $ac_func (); below. */ | ||
7596 | #include <assert.h> | ||
7597 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7598 | #ifdef __cplusplus | ||
7599 | extern "C" | ||
7600 | #endif | ||
7601 | /* We use char because int might match the return type of a gcc2 | ||
7602 | builtin and then its argument prototype would still apply. */ | ||
7603 | char $ac_func (); | ||
7604 | char (*f) (); | ||
7605 | |||
7606 | #ifdef F77_DUMMY_MAIN | ||
7607 | # ifdef __cplusplus | ||
7608 | extern "C" | ||
7609 | # endif | ||
7610 | int F77_DUMMY_MAIN() { return 1; } | ||
7611 | #endif | ||
7612 | int | ||
7613 | main () | ||
7614 | { | ||
7615 | /* The GNU C library defines this for functions which it implements | ||
7616 | to always fail with ENOSYS. Some functions are actually named | ||
7617 | something starting with __ and the normal name is an alias. */ | ||
7618 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7619 | choke me | ||
7620 | #else | ||
7621 | f = $ac_func; | ||
7622 | #endif | ||
7623 | |||
7624 | ; | ||
7625 | return 0; | ||
7626 | } | ||
7627 | _ACEOF | ||
7628 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7629 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7630 | (eval $ac_link) 2>&5 | ||
7631 | ac_status=$? | ||
7632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7633 | (exit $ac_status); } && | ||
7634 | { ac_try='test -s conftest$ac_exeext' | ||
7635 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7636 | (eval $ac_try) 2>&5 | ||
7637 | ac_status=$? | ||
7638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7639 | (exit $ac_status); }; }; then | ||
7640 | eval "$as_ac_var=yes" | ||
7641 | else | ||
7642 | echo "$as_me: failed program was:" >&5 | ||
7643 | cat conftest.$ac_ext >&5 | ||
7644 | eval "$as_ac_var=no" | ||
7645 | fi | ||
7646 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7647 | fi | ||
7648 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7649 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7650 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7651 | cat >>confdefs.h <<_ACEOF | ||
7652 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7653 | _ACEOF | ||
7654 | |||
7655 | fi | ||
7656 | done | ||
7657 | |||
7658 | |||
7659 | |||
7660 | |||
7661 | |||
7662 | |||
7663 | |||
7664 | for ac_func in endutent getutent getutid getutline pututline setutent | ||
7665 | do | ||
7666 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7667 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7668 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7669 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7670 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7671 | else | ||
7672 | cat >conftest.$ac_ext <<_ACEOF | ||
7673 | #line $LINENO "configure" | ||
7674 | #include "confdefs.h" | ||
7675 | /* System header to define __stub macros and hopefully few prototypes, | ||
7676 | which can conflict with char $ac_func (); below. */ | ||
7677 | #include <assert.h> | ||
7678 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7679 | #ifdef __cplusplus | ||
7680 | extern "C" | ||
7681 | #endif | ||
7682 | /* We use char because int might match the return type of a gcc2 | ||
7683 | builtin and then its argument prototype would still apply. */ | ||
7684 | char $ac_func (); | ||
7685 | char (*f) (); | ||
7686 | |||
7687 | #ifdef F77_DUMMY_MAIN | ||
7688 | # ifdef __cplusplus | ||
7689 | extern "C" | ||
7690 | # endif | ||
7691 | int F77_DUMMY_MAIN() { return 1; } | ||
7692 | #endif | ||
7693 | int | ||
7694 | main () | ||
7695 | { | ||
7696 | /* The GNU C library defines this for functions which it implements | ||
7697 | to always fail with ENOSYS. Some functions are actually named | ||
7698 | something starting with __ and the normal name is an alias. */ | ||
7699 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7700 | choke me | ||
7701 | #else | ||
7702 | f = $ac_func; | ||
7703 | #endif | ||
7704 | |||
7705 | ; | ||
7706 | return 0; | ||
7707 | } | ||
7708 | _ACEOF | ||
7709 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7710 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7711 | (eval $ac_link) 2>&5 | ||
7712 | ac_status=$? | ||
7713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7714 | (exit $ac_status); } && | ||
7715 | { ac_try='test -s conftest$ac_exeext' | ||
7716 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7717 | (eval $ac_try) 2>&5 | ||
7718 | ac_status=$? | ||
7719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7720 | (exit $ac_status); }; }; then | ||
7721 | eval "$as_ac_var=yes" | ||
7722 | else | ||
7723 | echo "$as_me: failed program was:" >&5 | ||
7724 | cat conftest.$ac_ext >&5 | ||
7725 | eval "$as_ac_var=no" | ||
7726 | fi | ||
7727 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7728 | fi | ||
7729 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7730 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7731 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7732 | cat >>confdefs.h <<_ACEOF | ||
7733 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7734 | _ACEOF | ||
7735 | |||
7736 | fi | ||
7737 | done | ||
7738 | |||
7739 | |||
7740 | for ac_func in utmpname | ||
7741 | do | ||
7742 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7743 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7744 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7745 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7746 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7747 | else | ||
7748 | cat >conftest.$ac_ext <<_ACEOF | ||
7749 | #line $LINENO "configure" | ||
7750 | #include "confdefs.h" | ||
7751 | /* System header to define __stub macros and hopefully few prototypes, | ||
7752 | which can conflict with char $ac_func (); below. */ | ||
7753 | #include <assert.h> | ||
7754 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7755 | #ifdef __cplusplus | ||
7756 | extern "C" | ||
7757 | #endif | ||
7758 | /* We use char because int might match the return type of a gcc2 | ||
7759 | builtin and then its argument prototype would still apply. */ | ||
7760 | char $ac_func (); | ||
7761 | char (*f) (); | ||
7762 | |||
7763 | #ifdef F77_DUMMY_MAIN | ||
7764 | # ifdef __cplusplus | ||
7765 | extern "C" | ||
7766 | # endif | ||
7767 | int F77_DUMMY_MAIN() { return 1; } | ||
7768 | #endif | ||
7769 | int | ||
7770 | main () | ||
7771 | { | ||
7772 | /* The GNU C library defines this for functions which it implements | ||
7773 | to always fail with ENOSYS. Some functions are actually named | ||
7774 | something starting with __ and the normal name is an alias. */ | ||
7775 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7776 | choke me | ||
7777 | #else | ||
7778 | f = $ac_func; | ||
7779 | #endif | ||
7780 | |||
7781 | ; | ||
7782 | return 0; | ||
7783 | } | ||
7784 | _ACEOF | ||
7785 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7786 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7787 | (eval $ac_link) 2>&5 | ||
7788 | ac_status=$? | ||
7789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7790 | (exit $ac_status); } && | ||
7791 | { ac_try='test -s conftest$ac_exeext' | ||
7792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7793 | (eval $ac_try) 2>&5 | ||
7794 | ac_status=$? | ||
7795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7796 | (exit $ac_status); }; }; then | ||
7797 | eval "$as_ac_var=yes" | ||
7798 | else | ||
7799 | echo "$as_me: failed program was:" >&5 | ||
7800 | cat conftest.$ac_ext >&5 | ||
7801 | eval "$as_ac_var=no" | ||
7802 | fi | ||
7803 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7804 | fi | ||
7805 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7806 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7807 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7808 | cat >>confdefs.h <<_ACEOF | ||
7809 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7810 | _ACEOF | ||
7811 | |||
7812 | fi | ||
7813 | done | ||
7814 | |||
7815 | |||
7816 | |||
7817 | |||
7818 | |||
7819 | |||
7820 | for ac_func in endutxent getutxent getutxid getutxline pututxline | ||
7821 | do | ||
7822 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7823 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7824 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7825 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7826 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7827 | else | ||
7828 | cat >conftest.$ac_ext <<_ACEOF | ||
7829 | #line $LINENO "configure" | ||
7830 | #include "confdefs.h" | ||
7831 | /* System header to define __stub macros and hopefully few prototypes, | ||
7832 | which can conflict with char $ac_func (); below. */ | ||
7833 | #include <assert.h> | ||
7834 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7835 | #ifdef __cplusplus | ||
7836 | extern "C" | ||
7837 | #endif | ||
7838 | /* We use char because int might match the return type of a gcc2 | ||
7839 | builtin and then its argument prototype would still apply. */ | ||
7840 | char $ac_func (); | ||
7841 | char (*f) (); | ||
7842 | |||
7843 | #ifdef F77_DUMMY_MAIN | ||
7844 | # ifdef __cplusplus | ||
7845 | extern "C" | ||
7846 | # endif | ||
7847 | int F77_DUMMY_MAIN() { return 1; } | ||
7848 | #endif | ||
7849 | int | ||
7850 | main () | ||
7851 | { | ||
7852 | /* The GNU C library defines this for functions which it implements | ||
7853 | to always fail with ENOSYS. Some functions are actually named | ||
7854 | something starting with __ and the normal name is an alias. */ | ||
7855 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7856 | choke me | ||
7857 | #else | ||
7858 | f = $ac_func; | ||
7859 | #endif | ||
7860 | |||
7861 | ; | ||
7862 | return 0; | ||
7863 | } | ||
7864 | _ACEOF | ||
7865 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7866 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7867 | (eval $ac_link) 2>&5 | ||
7868 | ac_status=$? | ||
7869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7870 | (exit $ac_status); } && | ||
7871 | { ac_try='test -s conftest$ac_exeext' | ||
7872 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7873 | (eval $ac_try) 2>&5 | ||
7874 | ac_status=$? | ||
7875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7876 | (exit $ac_status); }; }; then | ||
7877 | eval "$as_ac_var=yes" | ||
7878 | else | ||
7879 | echo "$as_me: failed program was:" >&5 | ||
7880 | cat conftest.$ac_ext >&5 | ||
7881 | eval "$as_ac_var=no" | ||
7882 | fi | ||
7883 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7884 | fi | ||
7885 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7886 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7887 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7888 | cat >>confdefs.h <<_ACEOF | ||
7889 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7890 | _ACEOF | ||
7891 | |||
7892 | fi | ||
7893 | done | ||
7894 | |||
7895 | |||
7896 | |||
7897 | for ac_func in setutxent utmpxname | ||
7898 | do | ||
7899 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7900 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7901 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7902 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7903 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7904 | else | ||
7905 | cat >conftest.$ac_ext <<_ACEOF | ||
7906 | #line $LINENO "configure" | ||
7907 | #include "confdefs.h" | ||
7908 | /* System header to define __stub macros and hopefully few prototypes, | ||
7909 | which can conflict with char $ac_func (); below. */ | ||
7910 | #include <assert.h> | ||
7911 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7912 | #ifdef __cplusplus | ||
7913 | extern "C" | ||
7914 | #endif | ||
7915 | /* We use char because int might match the return type of a gcc2 | ||
7916 | builtin and then its argument prototype would still apply. */ | ||
7917 | char $ac_func (); | ||
7918 | char (*f) (); | ||
7919 | |||
7920 | #ifdef F77_DUMMY_MAIN | ||
7921 | # ifdef __cplusplus | ||
7922 | extern "C" | ||
7923 | # endif | ||
7924 | int F77_DUMMY_MAIN() { return 1; } | ||
7925 | #endif | ||
7926 | int | ||
7927 | main () | ||
7928 | { | ||
7929 | /* The GNU C library defines this for functions which it implements | ||
7930 | to always fail with ENOSYS. Some functions are actually named | ||
7931 | something starting with __ and the normal name is an alias. */ | ||
7932 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7933 | choke me | ||
7934 | #else | ||
7935 | f = $ac_func; | ||
7936 | #endif | ||
7937 | |||
7938 | ; | ||
7939 | return 0; | ||
7940 | } | ||
7941 | _ACEOF | ||
7942 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7943 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7944 | (eval $ac_link) 2>&5 | ||
7945 | ac_status=$? | ||
7946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7947 | (exit $ac_status); } && | ||
7948 | { ac_try='test -s conftest$ac_exeext' | ||
7949 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7950 | (eval $ac_try) 2>&5 | ||
7951 | ac_status=$? | ||
7952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7953 | (exit $ac_status); }; }; then | ||
7954 | eval "$as_ac_var=yes" | ||
7955 | else | ||
7956 | echo "$as_me: failed program was:" >&5 | ||
7957 | cat conftest.$ac_ext >&5 | ||
7958 | eval "$as_ac_var=no" | ||
7959 | fi | ||
7960 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7961 | fi | ||
7962 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7963 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7964 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7965 | cat >>confdefs.h <<_ACEOF | ||
7966 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7967 | _ACEOF | ||
7968 | |||
7969 | fi | ||
7970 | done | ||
7971 | |||
7972 | |||
7973 | echo "$as_me:$LINENO: checking for daemon" >&5 | ||
7974 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6 | ||
7975 | if test "${ac_cv_func_daemon+set}" = set; then | ||
7976 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7977 | else | ||
7978 | cat >conftest.$ac_ext <<_ACEOF | ||
7979 | #line $LINENO "configure" | ||
7980 | #include "confdefs.h" | ||
7981 | /* System header to define __stub macros and hopefully few prototypes, | ||
7982 | which can conflict with char daemon (); below. */ | ||
7983 | #include <assert.h> | ||
7984 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7985 | #ifdef __cplusplus | ||
7986 | extern "C" | ||
7987 | #endif | ||
7988 | /* We use char because int might match the return type of a gcc2 | ||
7989 | builtin and then its argument prototype would still apply. */ | ||
7990 | char daemon (); | ||
7991 | char (*f) (); | ||
7992 | |||
7993 | #ifdef F77_DUMMY_MAIN | ||
7994 | # ifdef __cplusplus | ||
7995 | extern "C" | ||
7996 | # endif | ||
7997 | int F77_DUMMY_MAIN() { return 1; } | ||
7998 | #endif | ||
7999 | int | ||
8000 | main () | ||
8001 | { | ||
8002 | /* The GNU C library defines this for functions which it implements | ||
8003 | to always fail with ENOSYS. Some functions are actually named | ||
8004 | something starting with __ and the normal name is an alias. */ | ||
8005 | #if defined (__stub_daemon) || defined (__stub___daemon) | ||
8006 | choke me | ||
8007 | #else | ||
8008 | f = daemon; | ||
8009 | #endif | ||
8010 | |||
8011 | ; | ||
8012 | return 0; | ||
8013 | } | ||
8014 | _ACEOF | ||
8015 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8016 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8017 | (eval $ac_link) 2>&5 | ||
8018 | ac_status=$? | ||
8019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8020 | (exit $ac_status); } && | ||
8021 | { ac_try='test -s conftest$ac_exeext' | ||
8022 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8023 | (eval $ac_try) 2>&5 | ||
8024 | ac_status=$? | ||
8025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8026 | (exit $ac_status); }; }; then | ||
8027 | ac_cv_func_daemon=yes | ||
8028 | else | ||
8029 | echo "$as_me: failed program was:" >&5 | ||
8030 | cat conftest.$ac_ext >&5 | ||
8031 | ac_cv_func_daemon=no | ||
8032 | fi | ||
8033 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8034 | fi | ||
8035 | echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 | ||
8036 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 | ||
8037 | if test $ac_cv_func_daemon = yes; then | ||
8038 | cat >>confdefs.h <<\_ACEOF | ||
8039 | @%:@define HAVE_DAEMON 1 | ||
8040 | _ACEOF | ||
8041 | |||
8042 | else | ||
8043 | echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 | ||
8044 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 | ||
8045 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then | ||
8046 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8047 | else | ||
8048 | ac_check_lib_save_LIBS=$LIBS | ||
8049 | LIBS="-lbsd $LIBS" | ||
8050 | cat >conftest.$ac_ext <<_ACEOF | ||
8051 | #line $LINENO "configure" | ||
8052 | #include "confdefs.h" | ||
8053 | |||
8054 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8055 | #ifdef __cplusplus | ||
8056 | extern "C" | ||
8057 | #endif | ||
8058 | /* We use char because int might match the return type of a gcc2 | ||
8059 | builtin and then its argument prototype would still apply. */ | ||
8060 | char daemon (); | ||
8061 | #ifdef F77_DUMMY_MAIN | ||
8062 | # ifdef __cplusplus | ||
8063 | extern "C" | ||
8064 | # endif | ||
8065 | int F77_DUMMY_MAIN() { return 1; } | ||
8066 | #endif | ||
8067 | int | ||
8068 | main () | ||
8069 | { | ||
8070 | daemon (); | ||
8071 | ; | ||
8072 | return 0; | ||
8073 | } | ||
8074 | _ACEOF | ||
8075 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8076 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8077 | (eval $ac_link) 2>&5 | ||
8078 | ac_status=$? | ||
8079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8080 | (exit $ac_status); } && | ||
8081 | { ac_try='test -s conftest$ac_exeext' | ||
8082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8083 | (eval $ac_try) 2>&5 | ||
8084 | ac_status=$? | ||
8085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8086 | (exit $ac_status); }; }; then | ||
8087 | ac_cv_lib_bsd_daemon=yes | ||
8088 | else | ||
8089 | echo "$as_me: failed program was:" >&5 | ||
8090 | cat conftest.$ac_ext >&5 | ||
8091 | ac_cv_lib_bsd_daemon=no | ||
8092 | fi | ||
8093 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8094 | LIBS=$ac_check_lib_save_LIBS | ||
8095 | fi | ||
8096 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 | ||
8097 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 | ||
8098 | if test $ac_cv_lib_bsd_daemon = yes; then | ||
8099 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF | ||
8100 | @%:@define HAVE_DAEMON 1 | ||
8101 | _ACEOF | ||
8102 | |||
8103 | fi | ||
8104 | |||
8105 | |||
8106 | fi | ||
8107 | |||
8108 | |||
8109 | echo "$as_me:$LINENO: checking for getpagesize" >&5 | ||
8110 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 | ||
8111 | if test "${ac_cv_func_getpagesize+set}" = set; then | ||
8112 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8113 | else | ||
8114 | cat >conftest.$ac_ext <<_ACEOF | ||
8115 | #line $LINENO "configure" | ||
8116 | #include "confdefs.h" | ||
8117 | /* System header to define __stub macros and hopefully few prototypes, | ||
8118 | which can conflict with char getpagesize (); below. */ | ||
8119 | #include <assert.h> | ||
8120 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8121 | #ifdef __cplusplus | ||
8122 | extern "C" | ||
8123 | #endif | ||
8124 | /* We use char because int might match the return type of a gcc2 | ||
8125 | builtin and then its argument prototype would still apply. */ | ||
8126 | char getpagesize (); | ||
8127 | char (*f) (); | ||
8128 | |||
8129 | #ifdef F77_DUMMY_MAIN | ||
8130 | # ifdef __cplusplus | ||
8131 | extern "C" | ||
8132 | # endif | ||
8133 | int F77_DUMMY_MAIN() { return 1; } | ||
8134 | #endif | ||
8135 | int | ||
8136 | main () | ||
8137 | { | ||
8138 | /* The GNU C library defines this for functions which it implements | ||
8139 | to always fail with ENOSYS. Some functions are actually named | ||
8140 | something starting with __ and the normal name is an alias. */ | ||
8141 | #if defined (__stub_getpagesize) || defined (__stub___getpagesize) | ||
8142 | choke me | ||
8143 | #else | ||
8144 | f = getpagesize; | ||
8145 | #endif | ||
8146 | |||
8147 | ; | ||
8148 | return 0; | ||
8149 | } | ||
8150 | _ACEOF | ||
8151 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8152 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8153 | (eval $ac_link) 2>&5 | ||
8154 | ac_status=$? | ||
8155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8156 | (exit $ac_status); } && | ||
8157 | { ac_try='test -s conftest$ac_exeext' | ||
8158 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8159 | (eval $ac_try) 2>&5 | ||
8160 | ac_status=$? | ||
8161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8162 | (exit $ac_status); }; }; then | ||
8163 | ac_cv_func_getpagesize=yes | ||
8164 | else | ||
8165 | echo "$as_me: failed program was:" >&5 | ||
8166 | cat conftest.$ac_ext >&5 | ||
8167 | ac_cv_func_getpagesize=no | ||
8168 | fi | ||
8169 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8170 | fi | ||
8171 | echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 | ||
8172 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 | ||
8173 | if test $ac_cv_func_getpagesize = yes; then | ||
8174 | cat >>confdefs.h <<\_ACEOF | ||
8175 | @%:@define HAVE_GETPAGESIZE 1 | ||
8176 | _ACEOF | ||
8177 | |||
8178 | else | ||
8179 | echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 | ||
8180 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 | ||
8181 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then | ||
8182 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8183 | else | ||
8184 | ac_check_lib_save_LIBS=$LIBS | ||
8185 | LIBS="-lucb $LIBS" | ||
8186 | cat >conftest.$ac_ext <<_ACEOF | ||
8187 | #line $LINENO "configure" | ||
8188 | #include "confdefs.h" | ||
8189 | |||
8190 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8191 | #ifdef __cplusplus | ||
8192 | extern "C" | ||
8193 | #endif | ||
8194 | /* We use char because int might match the return type of a gcc2 | ||
8195 | builtin and then its argument prototype would still apply. */ | ||
8196 | char getpagesize (); | ||
8197 | #ifdef F77_DUMMY_MAIN | ||
8198 | # ifdef __cplusplus | ||
8199 | extern "C" | ||
8200 | # endif | ||
8201 | int F77_DUMMY_MAIN() { return 1; } | ||
8202 | #endif | ||
8203 | int | ||
8204 | main () | ||
8205 | { | ||
8206 | getpagesize (); | ||
8207 | ; | ||
8208 | return 0; | ||
8209 | } | ||
8210 | _ACEOF | ||
8211 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8212 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8213 | (eval $ac_link) 2>&5 | ||
8214 | ac_status=$? | ||
8215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8216 | (exit $ac_status); } && | ||
8217 | { ac_try='test -s conftest$ac_exeext' | ||
8218 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8219 | (eval $ac_try) 2>&5 | ||
8220 | ac_status=$? | ||
8221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8222 | (exit $ac_status); }; }; then | ||
8223 | ac_cv_lib_ucb_getpagesize=yes | ||
8224 | else | ||
8225 | echo "$as_me: failed program was:" >&5 | ||
8226 | cat conftest.$ac_ext >&5 | ||
8227 | ac_cv_lib_ucb_getpagesize=no | ||
8228 | fi | ||
8229 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8230 | LIBS=$ac_check_lib_save_LIBS | ||
8231 | fi | ||
8232 | echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 | ||
8233 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 | ||
8234 | if test $ac_cv_lib_ucb_getpagesize = yes; then | ||
8235 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF | ||
8236 | @%:@define HAVE_GETPAGESIZE 1 | ||
8237 | _ACEOF | ||
8238 | |||
8239 | fi | ||
8240 | |||
8241 | |||
8242 | fi | ||
8243 | |||
8244 | |||
8245 | # Check for broken snprintf | ||
8246 | if test "x$ac_cv_func_snprintf" = "xyes" ; then | ||
8247 | echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 | ||
8248 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 | ||
8249 | if test "$cross_compiling" = yes; then | ||
8250 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
8251 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
8252 | { (exit 1); exit 1; }; } | ||
8253 | else | ||
8254 | cat >conftest.$ac_ext <<_ACEOF | ||
8255 | #line $LINENO "configure" | ||
8256 | #include "confdefs.h" | ||
8257 | |||
8258 | #include <stdio.h> | ||
8259 | int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} | ||
8260 | |||
8261 | _ACEOF | ||
8262 | rm -f conftest$ac_exeext | ||
8263 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8264 | (eval $ac_link) 2>&5 | ||
8265 | ac_status=$? | ||
8266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8267 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8268 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8269 | (eval $ac_try) 2>&5 | ||
8270 | ac_status=$? | ||
8271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8272 | (exit $ac_status); }; }; then | ||
8273 | echo "$as_me:$LINENO: result: yes" >&5 | ||
8274 | echo "${ECHO_T}yes" >&6 | ||
8275 | else | ||
8276 | echo "$as_me: program exited with status $ac_status" >&5 | ||
8277 | echo "$as_me: failed program was:" >&5 | ||
8278 | cat conftest.$ac_ext >&5 | ||
8279 | ( exit $ac_status ) | ||
8280 | |||
8281 | echo "$as_me:$LINENO: result: no" >&5 | ||
8282 | echo "${ECHO_T}no" >&6 | ||
8283 | cat >>confdefs.h <<\_ACEOF | ||
8284 | @%:@define BROKEN_SNPRINTF 1 | ||
8285 | _ACEOF | ||
8286 | |||
8287 | { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 | ||
8288 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} | ||
8289 | |||
8290 | |||
8291 | fi | ||
8292 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8293 | fi | ||
8294 | fi | ||
8295 | |||
8296 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then | ||
8297 | echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 | ||
8298 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 | ||
8299 | if test "$cross_compiling" = yes; then | ||
8300 | |||
8301 | echo "$as_me:$LINENO: result: yes" >&5 | ||
8302 | echo "${ECHO_T}yes" >&6 | ||
8303 | cat >>confdefs.h <<\_ACEOF | ||
8304 | @%:@define HAVE_STRICT_MKSTEMP 1 | ||
8305 | _ACEOF | ||
8306 | |||
8307 | |||
8308 | |||
8309 | else | ||
8310 | cat >conftest.$ac_ext <<_ACEOF | ||
8311 | #line $LINENO "configure" | ||
8312 | #include "confdefs.h" | ||
8313 | |||
8314 | #include <stdlib.h> | ||
8315 | main() { char template[]="conftest.mkstemp-test"; | ||
8316 | if (mkstemp(template) == -1) | ||
8317 | exit(1); | ||
8318 | unlink(template); exit(0); | ||
8319 | } | ||
8320 | |||
8321 | _ACEOF | ||
8322 | rm -f conftest$ac_exeext | ||
8323 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8324 | (eval $ac_link) 2>&5 | ||
8325 | ac_status=$? | ||
8326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8327 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8328 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8329 | (eval $ac_try) 2>&5 | ||
8330 | ac_status=$? | ||
8331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8332 | (exit $ac_status); }; }; then | ||
8333 | |||
8334 | echo "$as_me:$LINENO: result: no" >&5 | ||
8335 | echo "${ECHO_T}no" >&6 | ||
8336 | |||
8337 | else | ||
8338 | echo "$as_me: program exited with status $ac_status" >&5 | ||
8339 | echo "$as_me: failed program was:" >&5 | ||
8340 | cat conftest.$ac_ext >&5 | ||
8341 | ( exit $ac_status ) | ||
8342 | |||
8343 | echo "$as_me:$LINENO: result: yes" >&5 | ||
8344 | echo "${ECHO_T}yes" >&6 | ||
8345 | cat >>confdefs.h <<\_ACEOF | ||
8346 | @%:@define HAVE_STRICT_MKSTEMP 1 | ||
8347 | _ACEOF | ||
8348 | |||
8349 | |||
8350 | fi | ||
8351 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8352 | fi | ||
8353 | fi | ||
8354 | |||
8355 | echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | ||
8356 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 | ||
8357 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | ||
8358 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8359 | else | ||
8360 | # Use it with a single arg. | ||
8361 | cat >conftest.$ac_ext <<_ACEOF | ||
8362 | #line $LINENO "configure" | ||
8363 | #include "confdefs.h" | ||
8364 | $ac_includes_default | ||
8365 | #ifdef F77_DUMMY_MAIN | ||
8366 | # ifdef __cplusplus | ||
8367 | extern "C" | ||
8368 | # endif | ||
8369 | int F77_DUMMY_MAIN() { return 1; } | ||
8370 | #endif | ||
8371 | int | ||
8372 | main () | ||
8373 | { | ||
8374 | getpgrp (0); | ||
8375 | ; | ||
8376 | return 0; | ||
8377 | } | ||
8378 | _ACEOF | ||
8379 | rm -f conftest.$ac_objext | ||
8380 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8381 | (eval $ac_compile) 2>&5 | ||
8382 | ac_status=$? | ||
8383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8384 | (exit $ac_status); } && | ||
8385 | { ac_try='test -s conftest.$ac_objext' | ||
8386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8387 | (eval $ac_try) 2>&5 | ||
8388 | ac_status=$? | ||
8389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8390 | (exit $ac_status); }; }; then | ||
8391 | ac_cv_func_getpgrp_void=no | ||
8392 | else | ||
8393 | echo "$as_me: failed program was:" >&5 | ||
8394 | cat conftest.$ac_ext >&5 | ||
8395 | ac_cv_func_getpgrp_void=yes | ||
8396 | fi | ||
8397 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
8398 | |||
8399 | fi | ||
8400 | echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | ||
8401 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 | ||
8402 | if test $ac_cv_func_getpgrp_void = yes; then | ||
8403 | |||
8404 | cat >>confdefs.h <<\_ACEOF | ||
8405 | @%:@define GETPGRP_VOID 1 | ||
8406 | _ACEOF | ||
8407 | |||
8408 | fi | ||
8409 | |||
8410 | |||
8411 | # Check for PAM libs | ||
8412 | PAM_MSG="no" | ||
8413 | |||
8414 | # Check whether --with-pam or --without-pam was given. | ||
8415 | if test "${with_pam+set}" = set; then | ||
8416 | withval="$with_pam" | ||
8417 | |||
8418 | if test "x$withval" != "xno" ; then | ||
8419 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then | ||
8420 | { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 | ||
8421 | echo "$as_me: error: PAM headers not found" >&2;} | ||
8422 | { (exit 1); exit 1; }; } | ||
8423 | fi | ||
8424 | |||
8425 | |||
8426 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | ||
8427 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | ||
8428 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | ||
8429 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8430 | else | ||
8431 | ac_check_lib_save_LIBS=$LIBS | ||
8432 | LIBS="-ldl $LIBS" | ||
8433 | cat >conftest.$ac_ext <<_ACEOF | ||
8434 | #line $LINENO "configure" | ||
8435 | #include "confdefs.h" | ||
8436 | |||
8437 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8438 | #ifdef __cplusplus | ||
8439 | extern "C" | ||
8440 | #endif | ||
8441 | /* We use char because int might match the return type of a gcc2 | ||
8442 | builtin and then its argument prototype would still apply. */ | ||
8443 | char dlopen (); | ||
8444 | #ifdef F77_DUMMY_MAIN | ||
8445 | # ifdef __cplusplus | ||
8446 | extern "C" | ||
8447 | # endif | ||
8448 | int F77_DUMMY_MAIN() { return 1; } | ||
8449 | #endif | ||
8450 | int | ||
8451 | main () | ||
8452 | { | ||
8453 | dlopen (); | ||
8454 | ; | ||
8455 | return 0; | ||
8456 | } | ||
8457 | _ACEOF | ||
8458 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8459 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8460 | (eval $ac_link) 2>&5 | ||
8461 | ac_status=$? | ||
8462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8463 | (exit $ac_status); } && | ||
8464 | { ac_try='test -s conftest$ac_exeext' | ||
8465 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8466 | (eval $ac_try) 2>&5 | ||
8467 | ac_status=$? | ||
8468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8469 | (exit $ac_status); }; }; then | ||
8470 | ac_cv_lib_dl_dlopen=yes | ||
8471 | else | ||
8472 | echo "$as_me: failed program was:" >&5 | ||
8473 | cat conftest.$ac_ext >&5 | ||
8474 | ac_cv_lib_dl_dlopen=no | ||
8475 | fi | ||
8476 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8477 | LIBS=$ac_check_lib_save_LIBS | ||
8478 | fi | ||
8479 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | ||
8480 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | ||
8481 | if test $ac_cv_lib_dl_dlopen = yes; then | ||
8482 | cat >>confdefs.h <<_ACEOF | ||
8483 | @%:@define HAVE_LIBDL 1 | ||
8484 | _ACEOF | ||
8485 | |||
8486 | LIBS="-ldl $LIBS" | ||
8487 | |||
8488 | fi | ||
8489 | |||
8490 | |||
8491 | echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 | ||
8492 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6 | ||
8493 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then | ||
8494 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8495 | else | ||
8496 | ac_check_lib_save_LIBS=$LIBS | ||
8497 | LIBS="-lpam $LIBS" | ||
8498 | cat >conftest.$ac_ext <<_ACEOF | ||
8499 | #line $LINENO "configure" | ||
8500 | #include "confdefs.h" | ||
8501 | |||
8502 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8503 | #ifdef __cplusplus | ||
8504 | extern "C" | ||
8505 | #endif | ||
8506 | /* We use char because int might match the return type of a gcc2 | ||
8507 | builtin and then its argument prototype would still apply. */ | ||
8508 | char pam_set_item (); | ||
8509 | #ifdef F77_DUMMY_MAIN | ||
8510 | # ifdef __cplusplus | ||
8511 | extern "C" | ||
8512 | # endif | ||
8513 | int F77_DUMMY_MAIN() { return 1; } | ||
8514 | #endif | ||
8515 | int | ||
8516 | main () | ||
8517 | { | ||
8518 | pam_set_item (); | ||
8519 | ; | ||
8520 | return 0; | ||
8521 | } | ||
8522 | _ACEOF | ||
8523 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8524 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8525 | (eval $ac_link) 2>&5 | ||
8526 | ac_status=$? | ||
8527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8528 | (exit $ac_status); } && | ||
8529 | { ac_try='test -s conftest$ac_exeext' | ||
8530 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8531 | (eval $ac_try) 2>&5 | ||
8532 | ac_status=$? | ||
8533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8534 | (exit $ac_status); }; }; then | ||
8535 | ac_cv_lib_pam_pam_set_item=yes | ||
8536 | else | ||
8537 | echo "$as_me: failed program was:" >&5 | ||
8538 | cat conftest.$ac_ext >&5 | ||
8539 | ac_cv_lib_pam_pam_set_item=no | ||
8540 | fi | ||
8541 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8542 | LIBS=$ac_check_lib_save_LIBS | ||
8543 | fi | ||
8544 | echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 | ||
8545 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 | ||
8546 | if test $ac_cv_lib_pam_pam_set_item = yes; then | ||
8547 | cat >>confdefs.h <<_ACEOF | ||
8548 | @%:@define HAVE_LIBPAM 1 | ||
8549 | _ACEOF | ||
8550 | |||
8551 | LIBS="-lpam $LIBS" | ||
8552 | |||
8553 | else | ||
8554 | { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | ||
8555 | echo "$as_me: error: *** libpam missing" >&2;} | ||
8556 | { (exit 1); exit 1; }; } | ||
8557 | fi | ||
8558 | |||
8559 | |||
8560 | for ac_func in pam_getenvlist | ||
8561 | do | ||
8562 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8563 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8564 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8565 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8566 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8567 | else | ||
8568 | cat >conftest.$ac_ext <<_ACEOF | ||
8569 | #line $LINENO "configure" | ||
8570 | #include "confdefs.h" | ||
8571 | /* System header to define __stub macros and hopefully few prototypes, | ||
8572 | which can conflict with char $ac_func (); below. */ | ||
8573 | #include <assert.h> | ||
8574 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8575 | #ifdef __cplusplus | ||
8576 | extern "C" | ||
8577 | #endif | ||
8578 | /* We use char because int might match the return type of a gcc2 | ||
8579 | builtin and then its argument prototype would still apply. */ | ||
8580 | char $ac_func (); | ||
8581 | char (*f) (); | ||
8582 | |||
8583 | #ifdef F77_DUMMY_MAIN | ||
8584 | # ifdef __cplusplus | ||
8585 | extern "C" | ||
8586 | # endif | ||
8587 | int F77_DUMMY_MAIN() { return 1; } | ||
8588 | #endif | ||
8589 | int | ||
8590 | main () | ||
8591 | { | ||
8592 | /* The GNU C library defines this for functions which it implements | ||
8593 | to always fail with ENOSYS. Some functions are actually named | ||
8594 | something starting with __ and the normal name is an alias. */ | ||
8595 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8596 | choke me | ||
8597 | #else | ||
8598 | f = $ac_func; | ||
8599 | #endif | ||
8600 | |||
8601 | ; | ||
8602 | return 0; | ||
8603 | } | ||
8604 | _ACEOF | ||
8605 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8606 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8607 | (eval $ac_link) 2>&5 | ||
8608 | ac_status=$? | ||
8609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8610 | (exit $ac_status); } && | ||
8611 | { ac_try='test -s conftest$ac_exeext' | ||
8612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8613 | (eval $ac_try) 2>&5 | ||
8614 | ac_status=$? | ||
8615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8616 | (exit $ac_status); }; }; then | ||
8617 | eval "$as_ac_var=yes" | ||
8618 | else | ||
8619 | echo "$as_me: failed program was:" >&5 | ||
8620 | cat conftest.$ac_ext >&5 | ||
8621 | eval "$as_ac_var=no" | ||
8622 | fi | ||
8623 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8624 | fi | ||
8625 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8626 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8627 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8628 | cat >>confdefs.h <<_ACEOF | ||
8629 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8630 | _ACEOF | ||
8631 | |||
8632 | fi | ||
8633 | done | ||
8634 | |||
8635 | |||
8636 | disable_shadow=yes | ||
8637 | PAM_MSG="yes" | ||
8638 | |||
8639 | cat >>confdefs.h <<\_ACEOF | ||
8640 | @%:@define USE_PAM 1 | ||
8641 | _ACEOF | ||
8642 | |||
8643 | if test $ac_cv_lib_dl_dlopen = yes; then | ||
8644 | LIBPAM="-lpam -ldl" | ||
8645 | else | ||
8646 | LIBPAM="-lpam" | ||
8647 | fi | ||
8648 | |||
8649 | fi | ||
8650 | |||
8651 | |||
8652 | fi; | ||
8653 | |||
8654 | # Check for older PAM | ||
8655 | if test "x$PAM_MSG" = "xyes" ; then | ||
8656 | # Check PAM strerror arguments (old PAM) | ||
8657 | echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 | ||
8658 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 | ||
8659 | cat >conftest.$ac_ext <<_ACEOF | ||
8660 | #line $LINENO "configure" | ||
8661 | #include "confdefs.h" | ||
8662 | |||
8663 | #include <stdlib.h> | ||
8664 | #include <security/pam_appl.h> | ||
8665 | |||
8666 | #ifdef F77_DUMMY_MAIN | ||
8667 | # ifdef __cplusplus | ||
8668 | extern "C" | ||
8669 | # endif | ||
8670 | int F77_DUMMY_MAIN() { return 1; } | ||
8671 | #endif | ||
8672 | int | ||
8673 | main () | ||
8674 | { | ||
8675 | (void)pam_strerror((pam_handle_t *)NULL, -1); | ||
8676 | ; | ||
8677 | return 0; | ||
8678 | } | ||
8679 | _ACEOF | ||
8680 | rm -f conftest.$ac_objext | ||
8681 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8682 | (eval $ac_compile) 2>&5 | ||
8683 | ac_status=$? | ||
8684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8685 | (exit $ac_status); } && | ||
8686 | { ac_try='test -s conftest.$ac_objext' | ||
8687 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8688 | (eval $ac_try) 2>&5 | ||
8689 | ac_status=$? | ||
8690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8691 | (exit $ac_status); }; }; then | ||
8692 | echo "$as_me:$LINENO: result: no" >&5 | ||
8693 | echo "${ECHO_T}no" >&6 | ||
8694 | else | ||
8695 | echo "$as_me: failed program was:" >&5 | ||
8696 | cat conftest.$ac_ext >&5 | ||
8697 | |||
8698 | cat >>confdefs.h <<\_ACEOF | ||
8699 | @%:@define HAVE_OLD_PAM 1 | ||
8700 | _ACEOF | ||
8701 | |||
8702 | echo "$as_me:$LINENO: result: yes" >&5 | ||
8703 | echo "${ECHO_T}yes" >&6 | ||
8704 | PAM_MSG="yes (old library)" | ||
8705 | |||
8706 | |||
8707 | fi | ||
8708 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
8709 | fi | ||
8710 | |||
8711 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, | ||
8712 | # because the system crypt() is more featureful. | ||
8713 | if test "x$check_for_libcrypt_before" = "x1"; then | ||
8714 | |||
8715 | echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | ||
8716 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | ||
8717 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | ||
8718 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8719 | else | ||
8720 | ac_check_lib_save_LIBS=$LIBS | ||
8721 | LIBS="-lcrypt $LIBS" | ||
8722 | cat >conftest.$ac_ext <<_ACEOF | ||
8723 | #line $LINENO "configure" | ||
8724 | #include "confdefs.h" | ||
8725 | |||
8726 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8727 | #ifdef __cplusplus | ||
8728 | extern "C" | ||
8729 | #endif | ||
8730 | /* We use char because int might match the return type of a gcc2 | ||
8731 | builtin and then its argument prototype would still apply. */ | ||
8732 | char crypt (); | ||
8733 | #ifdef F77_DUMMY_MAIN | ||
8734 | # ifdef __cplusplus | ||
8735 | extern "C" | ||
8736 | # endif | ||
8737 | int F77_DUMMY_MAIN() { return 1; } | ||
8738 | #endif | ||
8739 | int | ||
8740 | main () | ||
8741 | { | ||
8742 | crypt (); | ||
8743 | ; | ||
8744 | return 0; | ||
8745 | } | ||
8746 | _ACEOF | ||
8747 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8748 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8749 | (eval $ac_link) 2>&5 | ||
8750 | ac_status=$? | ||
8751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8752 | (exit $ac_status); } && | ||
8753 | { ac_try='test -s conftest$ac_exeext' | ||
8754 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8755 | (eval $ac_try) 2>&5 | ||
8756 | ac_status=$? | ||
8757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8758 | (exit $ac_status); }; }; then | ||
8759 | ac_cv_lib_crypt_crypt=yes | ||
8760 | else | ||
8761 | echo "$as_me: failed program was:" >&5 | ||
8762 | cat conftest.$ac_ext >&5 | ||
8763 | ac_cv_lib_crypt_crypt=no | ||
8764 | fi | ||
8765 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8766 | LIBS=$ac_check_lib_save_LIBS | ||
8767 | fi | ||
8768 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | ||
8769 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | ||
8770 | if test $ac_cv_lib_crypt_crypt = yes; then | ||
8771 | cat >>confdefs.h <<_ACEOF | ||
8772 | @%:@define HAVE_LIBCRYPT 1 | ||
8773 | _ACEOF | ||
8774 | |||
8775 | LIBS="-lcrypt $LIBS" | ||
8776 | |||
8777 | fi | ||
8778 | |||
8779 | fi | ||
8780 | |||
8781 | # Search for OpenSSL | ||
8782 | saved_CPPFLAGS="$CPPFLAGS" | ||
8783 | saved_LDFLAGS="$LDFLAGS" | ||
8784 | |||
8785 | # Check whether --with-ssl-dir or --without-ssl-dir was given. | ||
8786 | if test "${with_ssl_dir+set}" = set; then | ||
8787 | withval="$with_ssl_dir" | ||
8788 | |||
8789 | if test "x$withval" != "xno" ; then | ||
8790 | if test -d "$withval/lib"; then | ||
8791 | if test -n "${need_dash_r}"; then | ||
8792 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | ||
8793 | else | ||
8794 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | ||
8795 | fi | ||
8796 | else | ||
8797 | if test -n "${need_dash_r}"; then | ||
8798 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | ||
8799 | else | ||
8800 | LDFLAGS="-L${withval} ${LDFLAGS}" | ||
8801 | fi | ||
8802 | fi | ||
8803 | if test -d "$withval/include"; then | ||
8804 | CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | ||
8805 | else | ||
8806 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | ||
8807 | fi | ||
8808 | fi | ||
8809 | |||
8810 | |||
8811 | fi; | ||
8812 | LIBS="$LIBS -lcrypto" | ||
8813 | cat >conftest.$ac_ext <<_ACEOF | ||
8814 | #line $LINENO "configure" | ||
8815 | #include "confdefs.h" | ||
8816 | |||
8817 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8818 | #ifdef __cplusplus | ||
8819 | extern "C" | ||
8820 | #endif | ||
8821 | /* We use char because int might match the return type of a gcc2 | ||
8822 | builtin and then its argument prototype would still apply. */ | ||
8823 | char RAND_add (); | ||
8824 | #ifdef F77_DUMMY_MAIN | ||
8825 | # ifdef __cplusplus | ||
8826 | extern "C" | ||
8827 | # endif | ||
8828 | int F77_DUMMY_MAIN() { return 1; } | ||
8829 | #endif | ||
8830 | int | ||
8831 | main () | ||
8832 | { | ||
8833 | RAND_add (); | ||
8834 | ; | ||
8835 | return 0; | ||
8836 | } | ||
8837 | _ACEOF | ||
8838 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8839 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8840 | (eval $ac_link) 2>&5 | ||
8841 | ac_status=$? | ||
8842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8843 | (exit $ac_status); } && | ||
8844 | { ac_try='test -s conftest$ac_exeext' | ||
8845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8846 | (eval $ac_try) 2>&5 | ||
8847 | ac_status=$? | ||
8848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8849 | (exit $ac_status); }; }; then | ||
8850 | cat >>confdefs.h <<\_ACEOF | ||
8851 | @%:@define HAVE_OPENSSL 1 | ||
8852 | _ACEOF | ||
8853 | |||
8854 | else | ||
8855 | echo "$as_me: failed program was:" >&5 | ||
8856 | cat conftest.$ac_ext >&5 | ||
8857 | |||
8858 | if test -n "${need_dash_r}"; then | ||
8859 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" | ||
8860 | else | ||
8861 | LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" | ||
8862 | fi | ||
8863 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" | ||
8864 | cat >conftest.$ac_ext <<_ACEOF | ||
8865 | #line $LINENO "configure" | ||
8866 | #include "confdefs.h" | ||
8867 | |||
8868 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8869 | #ifdef __cplusplus | ||
8870 | extern "C" | ||
8871 | #endif | ||
8872 | /* We use char because int might match the return type of a gcc2 | ||
8873 | builtin and then its argument prototype would still apply. */ | ||
8874 | char RAND_add (); | ||
8875 | #ifdef F77_DUMMY_MAIN | ||
8876 | # ifdef __cplusplus | ||
8877 | extern "C" | ||
8878 | # endif | ||
8879 | int F77_DUMMY_MAIN() { return 1; } | ||
8880 | #endif | ||
8881 | int | ||
8882 | main () | ||
8883 | { | ||
8884 | RAND_add (); | ||
8885 | ; | ||
8886 | return 0; | ||
8887 | } | ||
8888 | _ACEOF | ||
8889 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8890 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8891 | (eval $ac_link) 2>&5 | ||
8892 | ac_status=$? | ||
8893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8894 | (exit $ac_status); } && | ||
8895 | { ac_try='test -s conftest$ac_exeext' | ||
8896 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8897 | (eval $ac_try) 2>&5 | ||
8898 | ac_status=$? | ||
8899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8900 | (exit $ac_status); }; }; then | ||
8901 | cat >>confdefs.h <<\_ACEOF | ||
8902 | @%:@define HAVE_OPENSSL 1 | ||
8903 | _ACEOF | ||
8904 | |||
8905 | else | ||
8906 | echo "$as_me: failed program was:" >&5 | ||
8907 | cat conftest.$ac_ext >&5 | ||
8908 | |||
8909 | { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 | ||
8910 | echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} | ||
8911 | { (exit 1); exit 1; }; } | ||
8912 | |||
8913 | |||
8914 | fi | ||
8915 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8916 | |||
8917 | |||
8918 | fi | ||
8919 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8920 | |||
8921 | # Determine OpenSSL header version | ||
8922 | echo "$as_me:$LINENO: checking OpenSSL header version" >&5 | ||
8923 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 | ||
8924 | if test "$cross_compiling" = yes; then | ||
8925 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
8926 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
8927 | { (exit 1); exit 1; }; } | ||
8928 | else | ||
8929 | cat >conftest.$ac_ext <<_ACEOF | ||
8930 | #line $LINENO "configure" | ||
8931 | #include "confdefs.h" | ||
8932 | |||
8933 | #include <stdio.h> | ||
8934 | #include <string.h> | ||
8935 | #include <openssl/opensslv.h> | ||
8936 | #define DATA "conftest.sslincver" | ||
8937 | int main(void) { | ||
8938 | FILE *fd; | ||
8939 | int rc; | ||
8940 | |||
8941 | fd = fopen(DATA,"w"); | ||
8942 | if(fd == NULL) | ||
8943 | exit(1); | ||
8944 | |||
8945 | if ((rc = fprintf(fd ,"%x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) | ||
8946 | exit(1); | ||
8947 | |||
8948 | exit(0); | ||
8949 | } | ||
8950 | |||
8951 | _ACEOF | ||
8952 | rm -f conftest$ac_exeext | ||
8953 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8954 | (eval $ac_link) 2>&5 | ||
8955 | ac_status=$? | ||
8956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8957 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8958 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8959 | (eval $ac_try) 2>&5 | ||
8960 | ac_status=$? | ||
8961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8962 | (exit $ac_status); }; }; then | ||
8963 | |||
8964 | ssl_header_ver=`cat conftest.sslincver` | ||
8965 | echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 | ||
8966 | echo "${ECHO_T}$ssl_header_ver" >&6 | ||
8967 | |||
8968 | else | ||
8969 | echo "$as_me: program exited with status $ac_status" >&5 | ||
8970 | echo "$as_me: failed program was:" >&5 | ||
8971 | cat conftest.$ac_ext >&5 | ||
8972 | ( exit $ac_status ) | ||
8973 | |||
8974 | echo "$as_me:$LINENO: result: not found" >&5 | ||
8975 | echo "${ECHO_T}not found" >&6 | ||
8976 | { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 | ||
8977 | echo "$as_me: error: OpenSSL version header not found." >&2;} | ||
8978 | { (exit 1); exit 1; }; } | ||
8979 | |||
8980 | |||
8981 | fi | ||
8982 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8983 | fi | ||
8984 | |||
8985 | # Determine OpenSSL library version | ||
8986 | echo "$as_me:$LINENO: checking OpenSSL library version" >&5 | ||
8987 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 | ||
8988 | if test "$cross_compiling" = yes; then | ||
8989 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
8990 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
8991 | { (exit 1); exit 1; }; } | ||
8992 | else | ||
8993 | cat >conftest.$ac_ext <<_ACEOF | ||
8994 | #line $LINENO "configure" | ||
8995 | #include "confdefs.h" | ||
8996 | |||
8997 | #include <stdio.h> | ||
8998 | #include <string.h> | ||
8999 | #include <openssl/opensslv.h> | ||
9000 | #include <openssl/crypto.h> | ||
9001 | #define DATA "conftest.ssllibver" | ||
9002 | int main(void) { | ||
9003 | FILE *fd; | ||
9004 | int rc; | ||
9005 | |||
9006 | fd = fopen(DATA,"w"); | ||
9007 | if(fd == NULL) | ||
9008 | exit(1); | ||
9009 | |||
9010 | if ((rc = fprintf(fd ,"%x (%s)\n", SSLeay(), SSLeay_version(SSLEAY_VERSION))) <0) | ||
9011 | exit(1); | ||
9012 | |||
9013 | exit(0); | ||
9014 | } | ||
9015 | |||
9016 | _ACEOF | ||
9017 | rm -f conftest$ac_exeext | ||
9018 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9019 | (eval $ac_link) 2>&5 | ||
9020 | ac_status=$? | ||
9021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9022 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9023 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9024 | (eval $ac_try) 2>&5 | ||
9025 | ac_status=$? | ||
9026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9027 | (exit $ac_status); }; }; then | ||
9028 | |||
9029 | ssl_library_ver=`cat conftest.ssllibver` | ||
9030 | echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 | ||
9031 | echo "${ECHO_T}$ssl_library_ver" >&6 | ||
9032 | |||
9033 | else | ||
9034 | echo "$as_me: program exited with status $ac_status" >&5 | ||
9035 | echo "$as_me: failed program was:" >&5 | ||
9036 | cat conftest.$ac_ext >&5 | ||
9037 | ( exit $ac_status ) | ||
9038 | |||
9039 | echo "$as_me:$LINENO: result: not found" >&5 | ||
9040 | echo "${ECHO_T}not found" >&6 | ||
9041 | { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 | ||
9042 | echo "$as_me: error: OpenSSL library not found." >&2;} | ||
9043 | { (exit 1); exit 1; }; } | ||
9044 | |||
9045 | |||
9046 | fi | ||
9047 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9048 | fi | ||
9049 | |||
9050 | # Sanity check OpenSSL headers | ||
9051 | echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 | ||
9052 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 | ||
9053 | if test "$cross_compiling" = yes; then | ||
9054 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
9055 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
9056 | { (exit 1); exit 1; }; } | ||
9057 | else | ||
9058 | cat >conftest.$ac_ext <<_ACEOF | ||
9059 | #line $LINENO "configure" | ||
9060 | #include "confdefs.h" | ||
9061 | |||
9062 | #include <string.h> | ||
9063 | #include <openssl/opensslv.h> | ||
9064 | int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); } | ||
9065 | |||
9066 | _ACEOF | ||
9067 | rm -f conftest$ac_exeext | ||
9068 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9069 | (eval $ac_link) 2>&5 | ||
9070 | ac_status=$? | ||
9071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9072 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9073 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9074 | (eval $ac_try) 2>&5 | ||
9075 | ac_status=$? | ||
9076 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9077 | (exit $ac_status); }; }; then | ||
9078 | |||
9079 | echo "$as_me:$LINENO: result: yes" >&5 | ||
9080 | echo "${ECHO_T}yes" >&6 | ||
9081 | |||
9082 | else | ||
9083 | echo "$as_me: program exited with status $ac_status" >&5 | ||
9084 | echo "$as_me: failed program was:" >&5 | ||
9085 | cat conftest.$ac_ext >&5 | ||
9086 | ( exit $ac_status ) | ||
9087 | |||
9088 | echo "$as_me:$LINENO: result: no" >&5 | ||
9089 | echo "${ECHO_T}no" >&6 | ||
9090 | { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library" >&5 | ||
9091 | echo "$as_me: error: Your OpenSSL headers do not match your library" >&2;} | ||
9092 | { (exit 1); exit 1; }; } | ||
9093 | |||
9094 | |||
9095 | fi | ||
9096 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9097 | fi | ||
9098 | |||
9099 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the | ||
9100 | # version in OpenSSL. Skip this for PAM | ||
9101 | if test "x$PAM_MSG" = "xno" -a "x$check_for_libcrypt_later" = "x1"; then | ||
9102 | echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | ||
9103 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | ||
9104 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | ||
9105 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9106 | else | ||
9107 | ac_check_lib_save_LIBS=$LIBS | ||
9108 | LIBS="-lcrypt $LIBS" | ||
9109 | cat >conftest.$ac_ext <<_ACEOF | ||
9110 | #line $LINENO "configure" | ||
9111 | #include "confdefs.h" | ||
9112 | |||
9113 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9114 | #ifdef __cplusplus | ||
9115 | extern "C" | ||
9116 | #endif | ||
9117 | /* We use char because int might match the return type of a gcc2 | ||
9118 | builtin and then its argument prototype would still apply. */ | ||
9119 | char crypt (); | ||
9120 | #ifdef F77_DUMMY_MAIN | ||
9121 | # ifdef __cplusplus | ||
9122 | extern "C" | ||
9123 | # endif | ||
9124 | int F77_DUMMY_MAIN() { return 1; } | ||
9125 | #endif | ||
9126 | int | ||
9127 | main () | ||
9128 | { | ||
9129 | crypt (); | ||
9130 | ; | ||
9131 | return 0; | ||
9132 | } | ||
9133 | _ACEOF | ||
9134 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9135 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9136 | (eval $ac_link) 2>&5 | ||
9137 | ac_status=$? | ||
9138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9139 | (exit $ac_status); } && | ||
9140 | { ac_try='test -s conftest$ac_exeext' | ||
9141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9142 | (eval $ac_try) 2>&5 | ||
9143 | ac_status=$? | ||
9144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9145 | (exit $ac_status); }; }; then | ||
9146 | ac_cv_lib_crypt_crypt=yes | ||
9147 | else | ||
9148 | echo "$as_me: failed program was:" >&5 | ||
9149 | cat conftest.$ac_ext >&5 | ||
9150 | ac_cv_lib_crypt_crypt=no | ||
9151 | fi | ||
9152 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
9153 | LIBS=$ac_check_lib_save_LIBS | ||
9154 | fi | ||
9155 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | ||
9156 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | ||
9157 | if test $ac_cv_lib_crypt_crypt = yes; then | ||
9158 | LIBS="$LIBS -lcrypt" | ||
9159 | fi | ||
9160 | |||
9161 | fi | ||
9162 | |||
9163 | |||
9164 | ### Configure cryptographic random number support | ||
9165 | |||
9166 | # Check wheter OpenSSL seeds itself | ||
9167 | echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 | ||
9168 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 | ||
9169 | if test "$cross_compiling" = yes; then | ||
9170 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
9171 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
9172 | { (exit 1); exit 1; }; } | ||
9173 | else | ||
9174 | cat >conftest.$ac_ext <<_ACEOF | ||
9175 | #line $LINENO "configure" | ||
9176 | #include "confdefs.h" | ||
9177 | |||
9178 | #include <string.h> | ||
9179 | #include <openssl/rand.h> | ||
9180 | int main(void) { exit(RAND_status() == 1 ? 0 : 1); } | ||
9181 | |||
9182 | _ACEOF | ||
9183 | rm -f conftest$ac_exeext | ||
9184 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9185 | (eval $ac_link) 2>&5 | ||
9186 | ac_status=$? | ||
9187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9188 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9189 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9190 | (eval $ac_try) 2>&5 | ||
9191 | ac_status=$? | ||
9192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9193 | (exit $ac_status); }; }; then | ||
9194 | |||
9195 | OPENSSL_SEEDS_ITSELF=yes | ||
9196 | echo "$as_me:$LINENO: result: yes" >&5 | ||
9197 | echo "${ECHO_T}yes" >&6 | ||
9198 | |||
9199 | else | ||
9200 | echo "$as_me: program exited with status $ac_status" >&5 | ||
9201 | echo "$as_me: failed program was:" >&5 | ||
9202 | cat conftest.$ac_ext >&5 | ||
9203 | ( exit $ac_status ) | ||
9204 | |||
9205 | echo "$as_me:$LINENO: result: no" >&5 | ||
9206 | echo "${ECHO_T}no" >&6 | ||
9207 | # Default to use of the rand helper if OpenSSL doesn't | ||
9208 | # seed itself | ||
9209 | USE_RAND_HELPER=yes | ||
9210 | |||
9211 | |||
9212 | fi | ||
9213 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9214 | fi | ||
9215 | |||
9216 | |||
9217 | # Do we want to force the use of the rand helper? | ||
9218 | |||
9219 | # Check whether --with-rand-helper or --without-rand-helper was given. | ||
9220 | if test "${with_rand_helper+set}" = set; then | ||
9221 | withval="$with_rand_helper" | ||
9222 | |||
9223 | if test "x$withval" = "xno" ; then | ||
9224 | # Force use of OpenSSL's internal RNG, even if | ||
9225 | # the previous test showed it to be unseeded. | ||
9226 | if test -z "$OPENSSL_SEEDS_ITSELF" ; then | ||
9227 | { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 | ||
9228 | echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} | ||
9229 | OPENSSL_SEEDS_ITSELF=yes | ||
9230 | USE_RAND_HELPER="" | ||
9231 | fi | ||
9232 | else | ||
9233 | USE_RAND_HELPER=yes | ||
9234 | fi | ||
9235 | |||
9236 | fi; | ||
9237 | |||
9238 | # Which randomness source do we use? | ||
9239 | if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then | ||
9240 | # OpenSSL only | ||
9241 | cat >>confdefs.h <<\_ACEOF | ||
9242 | @%:@define OPENSSL_PRNG_ONLY 1 | ||
9243 | _ACEOF | ||
9244 | |||
9245 | RAND_MSG="OpenSSL internal ONLY" | ||
9246 | INSTALL_SSH_RAND_HELPER="" | ||
9247 | elif test ! -z "$USE_RAND_HELPER" ; then | ||
9248 | # install rand helper | ||
9249 | RAND_MSG="ssh-rand-helper" | ||
9250 | INSTALL_SSH_RAND_HELPER="yes" | ||
9251 | fi | ||
9252 | |||
9253 | |||
9254 | ### Configuration of ssh-rand-helper | ||
9255 | |||
9256 | # PRNGD TCP socket | ||
9257 | |||
9258 | # Check whether --with-prngd-port or --without-prngd-port was given. | ||
9259 | if test "${with_prngd_port+set}" = set; then | ||
9260 | withval="$with_prngd_port" | ||
9261 | |||
9262 | case "$withval" in | ||
9263 | no) | ||
9264 | withval="" | ||
9265 | ;; | ||
9266 | [0-9]*) | ||
9267 | ;; | ||
9268 | *) | ||
9269 | { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5 | ||
9270 | echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} | ||
9271 | { (exit 1); exit 1; }; } | ||
9272 | ;; | ||
9273 | esac | ||
9274 | if test ! -z "$withval" ; then | ||
9275 | PRNGD_PORT="$withval" | ||
9276 | cat >>confdefs.h <<_ACEOF | ||
9277 | @%:@define PRNGD_PORT $PRNGD_PORT | ||
9278 | _ACEOF | ||
9279 | |||
9280 | fi | ||
9281 | |||
9282 | |||
9283 | fi; | ||
9284 | |||
9285 | # PRNGD Unix domain socket | ||
9286 | |||
9287 | # Check whether --with-prngd-socket or --without-prngd-socket was given. | ||
9288 | if test "${with_prngd_socket+set}" = set; then | ||
9289 | withval="$with_prngd_socket" | ||
9290 | |||
9291 | case "$withval" in | ||
9292 | yes) | ||
9293 | withval="/var/run/egd-pool" | ||
9294 | ;; | ||
9295 | no) | ||
9296 | withval="" | ||
9297 | ;; | ||
9298 | /*) | ||
9299 | ;; | ||
9300 | *) | ||
9301 | { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5 | ||
9302 | echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} | ||
9303 | { (exit 1); exit 1; }; } | ||
9304 | ;; | ||
9305 | esac | ||
9306 | |||
9307 | if test ! -z "$withval" ; then | ||
9308 | if test ! -z "$PRNGD_PORT" ; then | ||
9309 | { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5 | ||
9310 | echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} | ||
9311 | { (exit 1); exit 1; }; } | ||
9312 | fi | ||
9313 | if test ! -r "$withval" ; then | ||
9314 | { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5 | ||
9315 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} | ||
9316 | fi | ||
9317 | PRNGD_SOCKET="$withval" | ||
9318 | cat >>confdefs.h <<_ACEOF | ||
9319 | @%:@define PRNGD_SOCKET "$PRNGD_SOCKET" | ||
9320 | _ACEOF | ||
9321 | |||
9322 | fi | ||
9323 | |||
9324 | else | ||
9325 | |||
9326 | # Check for existing socket only if we don't have a random device already | ||
9327 | if test "$USE_RAND_HELPER" = yes ; then | ||
9328 | echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 | ||
9329 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 | ||
9330 | # Insert other locations here | ||
9331 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do | ||
9332 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then | ||
9333 | PRNGD_SOCKET="$sock" | ||
9334 | cat >>confdefs.h <<_ACEOF | ||
9335 | @%:@define PRNGD_SOCKET "$PRNGD_SOCKET" | ||
9336 | _ACEOF | ||
9337 | |||
9338 | break; | ||
9339 | fi | ||
9340 | done | ||
9341 | if test ! -z "$PRNGD_SOCKET" ; then | ||
9342 | echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 | ||
9343 | echo "${ECHO_T}$PRNGD_SOCKET" >&6 | ||
9344 | else | ||
9345 | echo "$as_me:$LINENO: result: not found" >&5 | ||
9346 | echo "${ECHO_T}not found" >&6 | ||
9347 | fi | ||
9348 | fi | ||
9349 | |||
9350 | |||
9351 | fi; | ||
9352 | |||
9353 | # Change default command timeout for hashing entropy source | ||
9354 | entropy_timeout=200 | ||
9355 | |||
9356 | # Check whether --with-entropy-timeout or --without-entropy-timeout was given. | ||
9357 | if test "${with_entropy_timeout+set}" = set; then | ||
9358 | withval="$with_entropy_timeout" | ||
9359 | |||
9360 | if test "x$withval" != "xno" ; then | ||
9361 | entropy_timeout=$withval | ||
9362 | fi | ||
9363 | |||
9364 | |||
9365 | fi; | ||
9366 | cat >>confdefs.h <<_ACEOF | ||
9367 | @%:@define ENTROPY_TIMEOUT_MSEC $entropy_timeout | ||
9368 | _ACEOF | ||
9369 | |||
9370 | |||
9371 | SSH_PRIVSEP_USER=sshd | ||
9372 | |||
9373 | # Check whether --with-privsep-user or --without-privsep-user was given. | ||
9374 | if test "${with_privsep_user+set}" = set; then | ||
9375 | withval="$with_privsep_user" | ||
9376 | |||
9377 | if test -n "$withval"; then | ||
9378 | SSH_PRIVSEP_USER=$withval | ||
9379 | fi | ||
9380 | |||
9381 | |||
9382 | fi; | ||
9383 | cat >>confdefs.h <<_ACEOF | ||
9384 | @%:@define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" | ||
9385 | _ACEOF | ||
9386 | |||
9387 | |||
9388 | |||
9389 | # We do this little dance with the search path to insure | ||
9390 | # that programs that we select for use by installed programs | ||
9391 | # (which may be run by the super-user) come from trusted | ||
9392 | # locations before they come from the user's private area. | ||
9393 | # This should help avoid accidentally configuring some | ||
9394 | # random version of a program in someone's personal bin. | ||
9395 | |||
9396 | OPATH=$PATH | ||
9397 | PATH=/bin:/usr/bin | ||
9398 | test -h /bin 2> /dev/null && PATH=/usr/bin | ||
9399 | test -d /sbin && PATH=$PATH:/sbin | ||
9400 | test -d /usr/sbin && PATH=$PATH:/usr/sbin | ||
9401 | PATH=$PATH:/etc:$OPATH | ||
9402 | |||
9403 | # These programs are used by the command hashing source to gather entropy | ||
9404 | |||
9405 | # Extract the first word of "ls", so it can be a program name with args. | ||
9406 | set dummy ls; ac_word=$2 | ||
9407 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9408 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9409 | if test "${ac_cv_path_PROG_LS+set}" = set; then | ||
9410 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9411 | else | ||
9412 | case $PROG_LS in | ||
9413 | [\\/]* | ?:[\\/]*) | ||
9414 | ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path. | ||
9415 | ;; | ||
9416 | *) | ||
9417 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9418 | for as_dir in $PATH | ||
9419 | do | ||
9420 | IFS=$as_save_IFS | ||
9421 | test -z "$as_dir" && as_dir=. | ||
9422 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9423 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9424 | ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext" | ||
9425 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9426 | break 2 | ||
9427 | fi | ||
9428 | done | ||
9429 | done | ||
9430 | |||
9431 | ;; | ||
9432 | esac | ||
9433 | fi | ||
9434 | PROG_LS=$ac_cv_path_PROG_LS | ||
9435 | |||
9436 | if test -n "$PROG_LS"; then | ||
9437 | echo "$as_me:$LINENO: result: $PROG_LS" >&5 | ||
9438 | echo "${ECHO_T}$PROG_LS" >&6 | ||
9439 | else | ||
9440 | echo "$as_me:$LINENO: result: no" >&5 | ||
9441 | echo "${ECHO_T}no" >&6 | ||
9442 | fi | ||
9443 | |||
9444 | if test -z "$PROG_LS" ; then | ||
9445 | PROG_LS="undef" | ||
9446 | fi | ||
9447 | |||
9448 | |||
9449 | |||
9450 | # Extract the first word of "netstat", so it can be a program name with args. | ||
9451 | set dummy netstat; ac_word=$2 | ||
9452 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9453 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9454 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then | ||
9455 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9456 | else | ||
9457 | case $PROG_NETSTAT in | ||
9458 | [\\/]* | ?:[\\/]*) | ||
9459 | ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path. | ||
9460 | ;; | ||
9461 | *) | ||
9462 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9463 | for as_dir in $PATH | ||
9464 | do | ||
9465 | IFS=$as_save_IFS | ||
9466 | test -z "$as_dir" && as_dir=. | ||
9467 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9468 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9469 | ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
9470 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9471 | break 2 | ||
9472 | fi | ||
9473 | done | ||
9474 | done | ||
9475 | |||
9476 | ;; | ||
9477 | esac | ||
9478 | fi | ||
9479 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT | ||
9480 | |||
9481 | if test -n "$PROG_NETSTAT"; then | ||
9482 | echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 | ||
9483 | echo "${ECHO_T}$PROG_NETSTAT" >&6 | ||
9484 | else | ||
9485 | echo "$as_me:$LINENO: result: no" >&5 | ||
9486 | echo "${ECHO_T}no" >&6 | ||
9487 | fi | ||
9488 | |||
9489 | if test -z "$PROG_NETSTAT" ; then | ||
9490 | PROG_NETSTAT="undef" | ||
9491 | fi | ||
9492 | |||
9493 | |||
9494 | |||
9495 | # Extract the first word of "arp", so it can be a program name with args. | ||
9496 | set dummy arp; ac_word=$2 | ||
9497 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9498 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9499 | if test "${ac_cv_path_PROG_ARP+set}" = set; then | ||
9500 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9501 | else | ||
9502 | case $PROG_ARP in | ||
9503 | [\\/]* | ?:[\\/]*) | ||
9504 | ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path. | ||
9505 | ;; | ||
9506 | *) | ||
9507 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9508 | for as_dir in $PATH | ||
9509 | do | ||
9510 | IFS=$as_save_IFS | ||
9511 | test -z "$as_dir" && as_dir=. | ||
9512 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9513 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9514 | ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext" | ||
9515 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9516 | break 2 | ||
9517 | fi | ||
9518 | done | ||
9519 | done | ||
9520 | |||
9521 | ;; | ||
9522 | esac | ||
9523 | fi | ||
9524 | PROG_ARP=$ac_cv_path_PROG_ARP | ||
9525 | |||
9526 | if test -n "$PROG_ARP"; then | ||
9527 | echo "$as_me:$LINENO: result: $PROG_ARP" >&5 | ||
9528 | echo "${ECHO_T}$PROG_ARP" >&6 | ||
9529 | else | ||
9530 | echo "$as_me:$LINENO: result: no" >&5 | ||
9531 | echo "${ECHO_T}no" >&6 | ||
9532 | fi | ||
9533 | |||
9534 | if test -z "$PROG_ARP" ; then | ||
9535 | PROG_ARP="undef" | ||
9536 | fi | ||
9537 | |||
9538 | |||
9539 | |||
9540 | # Extract the first word of "ifconfig", so it can be a program name with args. | ||
9541 | set dummy ifconfig; ac_word=$2 | ||
9542 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9543 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9544 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then | ||
9545 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9546 | else | ||
9547 | case $PROG_IFCONFIG in | ||
9548 | [\\/]* | ?:[\\/]*) | ||
9549 | ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path. | ||
9550 | ;; | ||
9551 | *) | ||
9552 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9553 | for as_dir in $PATH | ||
9554 | do | ||
9555 | IFS=$as_save_IFS | ||
9556 | test -z "$as_dir" && as_dir=. | ||
9557 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9558 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9559 | ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
9560 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9561 | break 2 | ||
9562 | fi | ||
9563 | done | ||
9564 | done | ||
9565 | |||
9566 | ;; | ||
9567 | esac | ||
9568 | fi | ||
9569 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG | ||
9570 | |||
9571 | if test -n "$PROG_IFCONFIG"; then | ||
9572 | echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 | ||
9573 | echo "${ECHO_T}$PROG_IFCONFIG" >&6 | ||
9574 | else | ||
9575 | echo "$as_me:$LINENO: result: no" >&5 | ||
9576 | echo "${ECHO_T}no" >&6 | ||
9577 | fi | ||
9578 | |||
9579 | if test -z "$PROG_IFCONFIG" ; then | ||
9580 | PROG_IFCONFIG="undef" | ||
9581 | fi | ||
9582 | |||
9583 | |||
9584 | |||
9585 | # Extract the first word of "jstat", so it can be a program name with args. | ||
9586 | set dummy jstat; ac_word=$2 | ||
9587 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9588 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9589 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then | ||
9590 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9591 | else | ||
9592 | case $PROG_JSTAT in | ||
9593 | [\\/]* | ?:[\\/]*) | ||
9594 | ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path. | ||
9595 | ;; | ||
9596 | *) | ||
9597 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9598 | for as_dir in $PATH | ||
9599 | do | ||
9600 | IFS=$as_save_IFS | ||
9601 | test -z "$as_dir" && as_dir=. | ||
9602 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9603 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9604 | ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
9605 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9606 | break 2 | ||
9607 | fi | ||
9608 | done | ||
9609 | done | ||
9610 | |||
9611 | ;; | ||
9612 | esac | ||
9613 | fi | ||
9614 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT | ||
9615 | |||
9616 | if test -n "$PROG_JSTAT"; then | ||
9617 | echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 | ||
9618 | echo "${ECHO_T}$PROG_JSTAT" >&6 | ||
9619 | else | ||
9620 | echo "$as_me:$LINENO: result: no" >&5 | ||
9621 | echo "${ECHO_T}no" >&6 | ||
9622 | fi | ||
9623 | |||
9624 | if test -z "$PROG_JSTAT" ; then | ||
9625 | PROG_JSTAT="undef" | ||
9626 | fi | ||
9627 | |||
9628 | |||
9629 | |||
9630 | # Extract the first word of "ps", so it can be a program name with args. | ||
9631 | set dummy ps; ac_word=$2 | ||
9632 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9633 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9634 | if test "${ac_cv_path_PROG_PS+set}" = set; then | ||
9635 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9636 | else | ||
9637 | case $PROG_PS in | ||
9638 | [\\/]* | ?:[\\/]*) | ||
9639 | ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path. | ||
9640 | ;; | ||
9641 | *) | ||
9642 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9643 | for as_dir in $PATH | ||
9644 | do | ||
9645 | IFS=$as_save_IFS | ||
9646 | test -z "$as_dir" && as_dir=. | ||
9647 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9648 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9649 | ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext" | ||
9650 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9651 | break 2 | ||
9652 | fi | ||
9653 | done | ||
9654 | done | ||
9655 | |||
9656 | ;; | ||
9657 | esac | ||
9658 | fi | ||
9659 | PROG_PS=$ac_cv_path_PROG_PS | ||
9660 | |||
9661 | if test -n "$PROG_PS"; then | ||
9662 | echo "$as_me:$LINENO: result: $PROG_PS" >&5 | ||
9663 | echo "${ECHO_T}$PROG_PS" >&6 | ||
9664 | else | ||
9665 | echo "$as_me:$LINENO: result: no" >&5 | ||
9666 | echo "${ECHO_T}no" >&6 | ||
9667 | fi | ||
9668 | |||
9669 | if test -z "$PROG_PS" ; then | ||
9670 | PROG_PS="undef" | ||
9671 | fi | ||
9672 | |||
9673 | |||
9674 | |||
9675 | # Extract the first word of "sar", so it can be a program name with args. | ||
9676 | set dummy sar; ac_word=$2 | ||
9677 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9678 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9679 | if test "${ac_cv_path_PROG_SAR+set}" = set; then | ||
9680 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9681 | else | ||
9682 | case $PROG_SAR in | ||
9683 | [\\/]* | ?:[\\/]*) | ||
9684 | ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path. | ||
9685 | ;; | ||
9686 | *) | ||
9687 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9688 | for as_dir in $PATH | ||
9689 | do | ||
9690 | IFS=$as_save_IFS | ||
9691 | test -z "$as_dir" && as_dir=. | ||
9692 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9693 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9694 | ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext" | ||
9695 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9696 | break 2 | ||
9697 | fi | ||
9698 | done | ||
9699 | done | ||
9700 | |||
9701 | ;; | ||
9702 | esac | ||
9703 | fi | ||
9704 | PROG_SAR=$ac_cv_path_PROG_SAR | ||
9705 | |||
9706 | if test -n "$PROG_SAR"; then | ||
9707 | echo "$as_me:$LINENO: result: $PROG_SAR" >&5 | ||
9708 | echo "${ECHO_T}$PROG_SAR" >&6 | ||
9709 | else | ||
9710 | echo "$as_me:$LINENO: result: no" >&5 | ||
9711 | echo "${ECHO_T}no" >&6 | ||
9712 | fi | ||
9713 | |||
9714 | if test -z "$PROG_SAR" ; then | ||
9715 | PROG_SAR="undef" | ||
9716 | fi | ||
9717 | |||
9718 | |||
9719 | |||
9720 | # Extract the first word of "w", so it can be a program name with args. | ||
9721 | set dummy w; ac_word=$2 | ||
9722 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9723 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9724 | if test "${ac_cv_path_PROG_W+set}" = set; then | ||
9725 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9726 | else | ||
9727 | case $PROG_W in | ||
9728 | [\\/]* | ?:[\\/]*) | ||
9729 | ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path. | ||
9730 | ;; | ||
9731 | *) | ||
9732 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9733 | for as_dir in $PATH | ||
9734 | do | ||
9735 | IFS=$as_save_IFS | ||
9736 | test -z "$as_dir" && as_dir=. | ||
9737 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9738 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9739 | ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext" | ||
9740 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9741 | break 2 | ||
9742 | fi | ||
9743 | done | ||
9744 | done | ||
9745 | |||
9746 | ;; | ||
9747 | esac | ||
9748 | fi | ||
9749 | PROG_W=$ac_cv_path_PROG_W | ||
9750 | |||
9751 | if test -n "$PROG_W"; then | ||
9752 | echo "$as_me:$LINENO: result: $PROG_W" >&5 | ||
9753 | echo "${ECHO_T}$PROG_W" >&6 | ||
9754 | else | ||
9755 | echo "$as_me:$LINENO: result: no" >&5 | ||
9756 | echo "${ECHO_T}no" >&6 | ||
9757 | fi | ||
9758 | |||
9759 | if test -z "$PROG_W" ; then | ||
9760 | PROG_W="undef" | ||
9761 | fi | ||
9762 | |||
9763 | |||
9764 | |||
9765 | # Extract the first word of "who", so it can be a program name with args. | ||
9766 | set dummy who; ac_word=$2 | ||
9767 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9768 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9769 | if test "${ac_cv_path_PROG_WHO+set}" = set; then | ||
9770 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9771 | else | ||
9772 | case $PROG_WHO in | ||
9773 | [\\/]* | ?:[\\/]*) | ||
9774 | ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path. | ||
9775 | ;; | ||
9776 | *) | ||
9777 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9778 | for as_dir in $PATH | ||
9779 | do | ||
9780 | IFS=$as_save_IFS | ||
9781 | test -z "$as_dir" && as_dir=. | ||
9782 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9783 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9784 | ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext" | ||
9785 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9786 | break 2 | ||
9787 | fi | ||
9788 | done | ||
9789 | done | ||
9790 | |||
9791 | ;; | ||
9792 | esac | ||
9793 | fi | ||
9794 | PROG_WHO=$ac_cv_path_PROG_WHO | ||
9795 | |||
9796 | if test -n "$PROG_WHO"; then | ||
9797 | echo "$as_me:$LINENO: result: $PROG_WHO" >&5 | ||
9798 | echo "${ECHO_T}$PROG_WHO" >&6 | ||
9799 | else | ||
9800 | echo "$as_me:$LINENO: result: no" >&5 | ||
9801 | echo "${ECHO_T}no" >&6 | ||
9802 | fi | ||
9803 | |||
9804 | if test -z "$PROG_WHO" ; then | ||
9805 | PROG_WHO="undef" | ||
9806 | fi | ||
9807 | |||
9808 | |||
9809 | |||
9810 | # Extract the first word of "last", so it can be a program name with args. | ||
9811 | set dummy last; ac_word=$2 | ||
9812 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9813 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9814 | if test "${ac_cv_path_PROG_LAST+set}" = set; then | ||
9815 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9816 | else | ||
9817 | case $PROG_LAST in | ||
9818 | [\\/]* | ?:[\\/]*) | ||
9819 | ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path. | ||
9820 | ;; | ||
9821 | *) | ||
9822 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9823 | for as_dir in $PATH | ||
9824 | do | ||
9825 | IFS=$as_save_IFS | ||
9826 | test -z "$as_dir" && as_dir=. | ||
9827 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9828 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9829 | ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext" | ||
9830 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9831 | break 2 | ||
9832 | fi | ||
9833 | done | ||
9834 | done | ||
9835 | |||
9836 | ;; | ||
9837 | esac | ||
9838 | fi | ||
9839 | PROG_LAST=$ac_cv_path_PROG_LAST | ||
9840 | |||
9841 | if test -n "$PROG_LAST"; then | ||
9842 | echo "$as_me:$LINENO: result: $PROG_LAST" >&5 | ||
9843 | echo "${ECHO_T}$PROG_LAST" >&6 | ||
9844 | else | ||
9845 | echo "$as_me:$LINENO: result: no" >&5 | ||
9846 | echo "${ECHO_T}no" >&6 | ||
9847 | fi | ||
9848 | |||
9849 | if test -z "$PROG_LAST" ; then | ||
9850 | PROG_LAST="undef" | ||
9851 | fi | ||
9852 | |||
9853 | |||
9854 | |||
9855 | # Extract the first word of "lastlog", so it can be a program name with args. | ||
9856 | set dummy lastlog; ac_word=$2 | ||
9857 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9858 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9859 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then | ||
9860 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9861 | else | ||
9862 | case $PROG_LASTLOG in | ||
9863 | [\\/]* | ?:[\\/]*) | ||
9864 | ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path. | ||
9865 | ;; | ||
9866 | *) | ||
9867 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9868 | for as_dir in $PATH | ||
9869 | do | ||
9870 | IFS=$as_save_IFS | ||
9871 | test -z "$as_dir" && as_dir=. | ||
9872 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9873 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9874 | ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext" | ||
9875 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9876 | break 2 | ||
9877 | fi | ||
9878 | done | ||
9879 | done | ||
9880 | |||
9881 | ;; | ||
9882 | esac | ||
9883 | fi | ||
9884 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG | ||
9885 | |||
9886 | if test -n "$PROG_LASTLOG"; then | ||
9887 | echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 | ||
9888 | echo "${ECHO_T}$PROG_LASTLOG" >&6 | ||
9889 | else | ||
9890 | echo "$as_me:$LINENO: result: no" >&5 | ||
9891 | echo "${ECHO_T}no" >&6 | ||
9892 | fi | ||
9893 | |||
9894 | if test -z "$PROG_LASTLOG" ; then | ||
9895 | PROG_LASTLOG="undef" | ||
9896 | fi | ||
9897 | |||
9898 | |||
9899 | |||
9900 | # Extract the first word of "df", so it can be a program name with args. | ||
9901 | set dummy df; ac_word=$2 | ||
9902 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9903 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9904 | if test "${ac_cv_path_PROG_DF+set}" = set; then | ||
9905 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9906 | else | ||
9907 | case $PROG_DF in | ||
9908 | [\\/]* | ?:[\\/]*) | ||
9909 | ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path. | ||
9910 | ;; | ||
9911 | *) | ||
9912 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9913 | for as_dir in $PATH | ||
9914 | do | ||
9915 | IFS=$as_save_IFS | ||
9916 | test -z "$as_dir" && as_dir=. | ||
9917 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9918 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9919 | ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext" | ||
9920 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9921 | break 2 | ||
9922 | fi | ||
9923 | done | ||
9924 | done | ||
9925 | |||
9926 | ;; | ||
9927 | esac | ||
9928 | fi | ||
9929 | PROG_DF=$ac_cv_path_PROG_DF | ||
9930 | |||
9931 | if test -n "$PROG_DF"; then | ||
9932 | echo "$as_me:$LINENO: result: $PROG_DF" >&5 | ||
9933 | echo "${ECHO_T}$PROG_DF" >&6 | ||
9934 | else | ||
9935 | echo "$as_me:$LINENO: result: no" >&5 | ||
9936 | echo "${ECHO_T}no" >&6 | ||
9937 | fi | ||
9938 | |||
9939 | if test -z "$PROG_DF" ; then | ||
9940 | PROG_DF="undef" | ||
9941 | fi | ||
9942 | |||
9943 | |||
9944 | |||
9945 | # Extract the first word of "vmstat", so it can be a program name with args. | ||
9946 | set dummy vmstat; ac_word=$2 | ||
9947 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9948 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9949 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then | ||
9950 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9951 | else | ||
9952 | case $PROG_VMSTAT in | ||
9953 | [\\/]* | ?:[\\/]*) | ||
9954 | ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path. | ||
9955 | ;; | ||
9956 | *) | ||
9957 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
9958 | for as_dir in $PATH | ||
9959 | do | ||
9960 | IFS=$as_save_IFS | ||
9961 | test -z "$as_dir" && as_dir=. | ||
9962 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
9963 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
9964 | ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
9965 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
9966 | break 2 | ||
9967 | fi | ||
9968 | done | ||
9969 | done | ||
9970 | |||
9971 | ;; | ||
9972 | esac | ||
9973 | fi | ||
9974 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT | ||
9975 | |||
9976 | if test -n "$PROG_VMSTAT"; then | ||
9977 | echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 | ||
9978 | echo "${ECHO_T}$PROG_VMSTAT" >&6 | ||
9979 | else | ||
9980 | echo "$as_me:$LINENO: result: no" >&5 | ||
9981 | echo "${ECHO_T}no" >&6 | ||
9982 | fi | ||
9983 | |||
9984 | if test -z "$PROG_VMSTAT" ; then | ||
9985 | PROG_VMSTAT="undef" | ||
9986 | fi | ||
9987 | |||
9988 | |||
9989 | |||
9990 | # Extract the first word of "uptime", so it can be a program name with args. | ||
9991 | set dummy uptime; ac_word=$2 | ||
9992 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
9993 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
9994 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then | ||
9995 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9996 | else | ||
9997 | case $PROG_UPTIME in | ||
9998 | [\\/]* | ?:[\\/]*) | ||
9999 | ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path. | ||
10000 | ;; | ||
10001 | *) | ||
10002 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10003 | for as_dir in $PATH | ||
10004 | do | ||
10005 | IFS=$as_save_IFS | ||
10006 | test -z "$as_dir" && as_dir=. | ||
10007 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10008 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10009 | ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext" | ||
10010 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10011 | break 2 | ||
10012 | fi | ||
10013 | done | ||
10014 | done | ||
10015 | |||
10016 | ;; | ||
10017 | esac | ||
10018 | fi | ||
10019 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME | ||
10020 | |||
10021 | if test -n "$PROG_UPTIME"; then | ||
10022 | echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 | ||
10023 | echo "${ECHO_T}$PROG_UPTIME" >&6 | ||
10024 | else | ||
10025 | echo "$as_me:$LINENO: result: no" >&5 | ||
10026 | echo "${ECHO_T}no" >&6 | ||
10027 | fi | ||
10028 | |||
10029 | if test -z "$PROG_UPTIME" ; then | ||
10030 | PROG_UPTIME="undef" | ||
10031 | fi | ||
10032 | |||
10033 | |||
10034 | |||
10035 | # Extract the first word of "ipcs", so it can be a program name with args. | ||
10036 | set dummy ipcs; ac_word=$2 | ||
10037 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10038 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10039 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then | ||
10040 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10041 | else | ||
10042 | case $PROG_IPCS in | ||
10043 | [\\/]* | ?:[\\/]*) | ||
10044 | ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path. | ||
10045 | ;; | ||
10046 | *) | ||
10047 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10048 | for as_dir in $PATH | ||
10049 | do | ||
10050 | IFS=$as_save_IFS | ||
10051 | test -z "$as_dir" && as_dir=. | ||
10052 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10053 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10054 | ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext" | ||
10055 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10056 | break 2 | ||
10057 | fi | ||
10058 | done | ||
10059 | done | ||
10060 | |||
10061 | ;; | ||
10062 | esac | ||
10063 | fi | ||
10064 | PROG_IPCS=$ac_cv_path_PROG_IPCS | ||
10065 | |||
10066 | if test -n "$PROG_IPCS"; then | ||
10067 | echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 | ||
10068 | echo "${ECHO_T}$PROG_IPCS" >&6 | ||
10069 | else | ||
10070 | echo "$as_me:$LINENO: result: no" >&5 | ||
10071 | echo "${ECHO_T}no" >&6 | ||
10072 | fi | ||
10073 | |||
10074 | if test -z "$PROG_IPCS" ; then | ||
10075 | PROG_IPCS="undef" | ||
10076 | fi | ||
10077 | |||
10078 | |||
10079 | |||
10080 | # Extract the first word of "tail", so it can be a program name with args. | ||
10081 | set dummy tail; ac_word=$2 | ||
10082 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10083 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10084 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then | ||
10085 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10086 | else | ||
10087 | case $PROG_TAIL in | ||
10088 | [\\/]* | ?:[\\/]*) | ||
10089 | ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path. | ||
10090 | ;; | ||
10091 | *) | ||
10092 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10093 | for as_dir in $PATH | ||
10094 | do | ||
10095 | IFS=$as_save_IFS | ||
10096 | test -z "$as_dir" && as_dir=. | ||
10097 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10098 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10099 | ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext" | ||
10100 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10101 | break 2 | ||
10102 | fi | ||
10103 | done | ||
10104 | done | ||
10105 | |||
10106 | ;; | ||
10107 | esac | ||
10108 | fi | ||
10109 | PROG_TAIL=$ac_cv_path_PROG_TAIL | ||
10110 | |||
10111 | if test -n "$PROG_TAIL"; then | ||
10112 | echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 | ||
10113 | echo "${ECHO_T}$PROG_TAIL" >&6 | ||
10114 | else | ||
10115 | echo "$as_me:$LINENO: result: no" >&5 | ||
10116 | echo "${ECHO_T}no" >&6 | ||
10117 | fi | ||
10118 | |||
10119 | if test -z "$PROG_TAIL" ; then | ||
10120 | PROG_TAIL="undef" | ||
10121 | fi | ||
10122 | |||
10123 | |||
10124 | # restore PATH | ||
10125 | PATH=$OPATH | ||
10126 | |||
10127 | # Where does ssh-rand-helper get its randomness from? | ||
10128 | INSTALL_SSH_PRNG_CMDS="" | ||
10129 | if test ! -z "$INSTALL_SSH_RAND_HELPER" ; then | ||
10130 | if test ! -z "$PRNGD_PORT" ; then | ||
10131 | RAND_HELPER_MSG="TCP localhost:$PRNGD_PORT" | ||
10132 | elif test ! -z "$PRNGD_SOCKET" ; then | ||
10133 | RAND_HELPER_MSG="Unix domain socket \"$PRNGD_SOCKET\"" | ||
10134 | else | ||
10135 | RAND_HELPER_MSG="Command hashing (timeout $entropy_timeout)" | ||
10136 | RAND_HELPER_CMDHASH=yes | ||
10137 | INSTALL_SSH_PRNG_CMDS="yes" | ||
10138 | fi | ||
10139 | fi | ||
10140 | |||
10141 | |||
10142 | |||
10143 | # Cheap hack to ensure NEWS-OS libraries are arranged right. | ||
10144 | if test ! -z "$SONY" ; then | ||
10145 | LIBS="$LIBS -liberty"; | ||
10146 | fi | ||
10147 | |||
10148 | # Checks for data types | ||
10149 | echo "$as_me:$LINENO: checking for char" >&5 | ||
10150 | echo $ECHO_N "checking for char... $ECHO_C" >&6 | ||
10151 | if test "${ac_cv_type_char+set}" = set; then | ||
10152 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10153 | else | ||
10154 | cat >conftest.$ac_ext <<_ACEOF | ||
10155 | #line $LINENO "configure" | ||
10156 | #include "confdefs.h" | ||
10157 | $ac_includes_default | ||
10158 | #ifdef F77_DUMMY_MAIN | ||
10159 | # ifdef __cplusplus | ||
10160 | extern "C" | ||
10161 | # endif | ||
10162 | int F77_DUMMY_MAIN() { return 1; } | ||
10163 | #endif | ||
10164 | int | ||
10165 | main () | ||
10166 | { | ||
10167 | if ((char *) 0) | ||
10168 | return 0; | ||
10169 | if (sizeof (char)) | ||
10170 | return 0; | ||
10171 | ; | ||
10172 | return 0; | ||
10173 | } | ||
10174 | _ACEOF | ||
10175 | rm -f conftest.$ac_objext | ||
10176 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10177 | (eval $ac_compile) 2>&5 | ||
10178 | ac_status=$? | ||
10179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10180 | (exit $ac_status); } && | ||
10181 | { ac_try='test -s conftest.$ac_objext' | ||
10182 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10183 | (eval $ac_try) 2>&5 | ||
10184 | ac_status=$? | ||
10185 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10186 | (exit $ac_status); }; }; then | ||
10187 | ac_cv_type_char=yes | ||
10188 | else | ||
10189 | echo "$as_me: failed program was:" >&5 | ||
10190 | cat conftest.$ac_ext >&5 | ||
10191 | ac_cv_type_char=no | ||
10192 | fi | ||
10193 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10194 | fi | ||
10195 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 | ||
10196 | echo "${ECHO_T}$ac_cv_type_char" >&6 | ||
10197 | |||
10198 | echo "$as_me:$LINENO: checking size of char" >&5 | ||
10199 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 | ||
10200 | if test "${ac_cv_sizeof_char+set}" = set; then | ||
10201 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10202 | else | ||
10203 | if test "$ac_cv_type_char" = yes; then | ||
10204 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
10205 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
10206 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
10207 | # This bug is HP SR number 8606223364. | ||
10208 | if test "$cross_compiling" = yes; then | ||
10209 | # Depending upon the size, compute the lo and hi bounds. | ||
10210 | cat >conftest.$ac_ext <<_ACEOF | ||
10211 | #line $LINENO "configure" | ||
10212 | #include "confdefs.h" | ||
10213 | $ac_includes_default | ||
10214 | #ifdef F77_DUMMY_MAIN | ||
10215 | # ifdef __cplusplus | ||
10216 | extern "C" | ||
10217 | # endif | ||
10218 | int F77_DUMMY_MAIN() { return 1; } | ||
10219 | #endif | ||
10220 | int | ||
10221 | main () | ||
10222 | { | ||
10223 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= 0)@:>@; | ||
10224 | test_array @<:@0@:>@ = 0 | ||
10225 | |||
10226 | ; | ||
10227 | return 0; | ||
10228 | } | ||
10229 | _ACEOF | ||
10230 | rm -f conftest.$ac_objext | ||
10231 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10232 | (eval $ac_compile) 2>&5 | ||
10233 | ac_status=$? | ||
10234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10235 | (exit $ac_status); } && | ||
10236 | { ac_try='test -s conftest.$ac_objext' | ||
10237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10238 | (eval $ac_try) 2>&5 | ||
10239 | ac_status=$? | ||
10240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10241 | (exit $ac_status); }; }; then | ||
10242 | ac_lo=0 ac_mid=0 | ||
10243 | while :; do | ||
10244 | cat >conftest.$ac_ext <<_ACEOF | ||
10245 | #line $LINENO "configure" | ||
10246 | #include "confdefs.h" | ||
10247 | $ac_includes_default | ||
10248 | #ifdef F77_DUMMY_MAIN | ||
10249 | # ifdef __cplusplus | ||
10250 | extern "C" | ||
10251 | # endif | ||
10252 | int F77_DUMMY_MAIN() { return 1; } | ||
10253 | #endif | ||
10254 | int | ||
10255 | main () | ||
10256 | { | ||
10257 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)@:>@; | ||
10258 | test_array @<:@0@:>@ = 0 | ||
10259 | |||
10260 | ; | ||
10261 | return 0; | ||
10262 | } | ||
10263 | _ACEOF | ||
10264 | rm -f conftest.$ac_objext | ||
10265 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10266 | (eval $ac_compile) 2>&5 | ||
10267 | ac_status=$? | ||
10268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10269 | (exit $ac_status); } && | ||
10270 | { ac_try='test -s conftest.$ac_objext' | ||
10271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10272 | (eval $ac_try) 2>&5 | ||
10273 | ac_status=$? | ||
10274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10275 | (exit $ac_status); }; }; then | ||
10276 | ac_hi=$ac_mid; break | ||
10277 | else | ||
10278 | echo "$as_me: failed program was:" >&5 | ||
10279 | cat conftest.$ac_ext >&5 | ||
10280 | ac_lo=`expr $ac_mid + 1` | ||
10281 | if test $ac_lo -le $ac_mid; then | ||
10282 | ac_lo= ac_hi= | ||
10283 | break | ||
10284 | fi | ||
10285 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
10286 | fi | ||
10287 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10288 | done | ||
10289 | else | ||
10290 | echo "$as_me: failed program was:" >&5 | ||
10291 | cat conftest.$ac_ext >&5 | ||
10292 | cat >conftest.$ac_ext <<_ACEOF | ||
10293 | #line $LINENO "configure" | ||
10294 | #include "confdefs.h" | ||
10295 | $ac_includes_default | ||
10296 | #ifdef F77_DUMMY_MAIN | ||
10297 | # ifdef __cplusplus | ||
10298 | extern "C" | ||
10299 | # endif | ||
10300 | int F77_DUMMY_MAIN() { return 1; } | ||
10301 | #endif | ||
10302 | int | ||
10303 | main () | ||
10304 | { | ||
10305 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) < 0)@:>@; | ||
10306 | test_array @<:@0@:>@ = 0 | ||
10307 | |||
10308 | ; | ||
10309 | return 0; | ||
10310 | } | ||
10311 | _ACEOF | ||
10312 | rm -f conftest.$ac_objext | ||
10313 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10314 | (eval $ac_compile) 2>&5 | ||
10315 | ac_status=$? | ||
10316 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10317 | (exit $ac_status); } && | ||
10318 | { ac_try='test -s conftest.$ac_objext' | ||
10319 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10320 | (eval $ac_try) 2>&5 | ||
10321 | ac_status=$? | ||
10322 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10323 | (exit $ac_status); }; }; then | ||
10324 | ac_hi=-1 ac_mid=-1 | ||
10325 | while :; do | ||
10326 | cat >conftest.$ac_ext <<_ACEOF | ||
10327 | #line $LINENO "configure" | ||
10328 | #include "confdefs.h" | ||
10329 | $ac_includes_default | ||
10330 | #ifdef F77_DUMMY_MAIN | ||
10331 | # ifdef __cplusplus | ||
10332 | extern "C" | ||
10333 | # endif | ||
10334 | int F77_DUMMY_MAIN() { return 1; } | ||
10335 | #endif | ||
10336 | int | ||
10337 | main () | ||
10338 | { | ||
10339 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)@:>@; | ||
10340 | test_array @<:@0@:>@ = 0 | ||
10341 | |||
10342 | ; | ||
10343 | return 0; | ||
10344 | } | ||
10345 | _ACEOF | ||
10346 | rm -f conftest.$ac_objext | ||
10347 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10348 | (eval $ac_compile) 2>&5 | ||
10349 | ac_status=$? | ||
10350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10351 | (exit $ac_status); } && | ||
10352 | { ac_try='test -s conftest.$ac_objext' | ||
10353 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10354 | (eval $ac_try) 2>&5 | ||
10355 | ac_status=$? | ||
10356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10357 | (exit $ac_status); }; }; then | ||
10358 | ac_lo=$ac_mid; break | ||
10359 | else | ||
10360 | echo "$as_me: failed program was:" >&5 | ||
10361 | cat conftest.$ac_ext >&5 | ||
10362 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
10363 | if test $ac_mid -le $ac_hi; then | ||
10364 | ac_lo= ac_hi= | ||
10365 | break | ||
10366 | fi | ||
10367 | ac_mid=`expr 2 '*' $ac_mid` | ||
10368 | fi | ||
10369 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10370 | done | ||
10371 | else | ||
10372 | echo "$as_me: failed program was:" >&5 | ||
10373 | cat conftest.$ac_ext >&5 | ||
10374 | ac_lo= ac_hi= | ||
10375 | fi | ||
10376 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10377 | fi | ||
10378 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10379 | # Binary search between lo and hi bounds. | ||
10380 | while test "x$ac_lo" != "x$ac_hi"; do | ||
10381 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
10382 | cat >conftest.$ac_ext <<_ACEOF | ||
10383 | #line $LINENO "configure" | ||
10384 | #include "confdefs.h" | ||
10385 | $ac_includes_default | ||
10386 | #ifdef F77_DUMMY_MAIN | ||
10387 | # ifdef __cplusplus | ||
10388 | extern "C" | ||
10389 | # endif | ||
10390 | int F77_DUMMY_MAIN() { return 1; } | ||
10391 | #endif | ||
10392 | int | ||
10393 | main () | ||
10394 | { | ||
10395 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)@:>@; | ||
10396 | test_array @<:@0@:>@ = 0 | ||
10397 | |||
10398 | ; | ||
10399 | return 0; | ||
10400 | } | ||
10401 | _ACEOF | ||
10402 | rm -f conftest.$ac_objext | ||
10403 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10404 | (eval $ac_compile) 2>&5 | ||
10405 | ac_status=$? | ||
10406 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10407 | (exit $ac_status); } && | ||
10408 | { ac_try='test -s conftest.$ac_objext' | ||
10409 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10410 | (eval $ac_try) 2>&5 | ||
10411 | ac_status=$? | ||
10412 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10413 | (exit $ac_status); }; }; then | ||
10414 | ac_hi=$ac_mid | ||
10415 | else | ||
10416 | echo "$as_me: failed program was:" >&5 | ||
10417 | cat conftest.$ac_ext >&5 | ||
10418 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
10419 | fi | ||
10420 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10421 | done | ||
10422 | case $ac_lo in | ||
10423 | ?*) ac_cv_sizeof_char=$ac_lo;; | ||
10424 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5 | ||
10425 | echo "$as_me: error: cannot compute sizeof (char), 77" >&2;} | ||
10426 | { (exit 1); exit 1; }; } ;; | ||
10427 | esac | ||
10428 | else | ||
10429 | if test "$cross_compiling" = yes; then | ||
10430 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
10431 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
10432 | { (exit 1); exit 1; }; } | ||
10433 | else | ||
10434 | cat >conftest.$ac_ext <<_ACEOF | ||
10435 | #line $LINENO "configure" | ||
10436 | #include "confdefs.h" | ||
10437 | $ac_includes_default | ||
10438 | long longval () { return (long) (sizeof (char)); } | ||
10439 | unsigned long ulongval () { return (long) (sizeof (char)); } | ||
10440 | @%:@include <stdio.h> | ||
10441 | @%:@include <stdlib.h> | ||
10442 | #ifdef F77_DUMMY_MAIN | ||
10443 | # ifdef __cplusplus | ||
10444 | extern "C" | ||
10445 | # endif | ||
10446 | int F77_DUMMY_MAIN() { return 1; } | ||
10447 | #endif | ||
10448 | int | ||
10449 | main () | ||
10450 | { | ||
10451 | |||
10452 | FILE *f = fopen ("conftest.val", "w"); | ||
10453 | if (! f) | ||
10454 | exit (1); | ||
10455 | if (((long) (sizeof (char))) < 0) | ||
10456 | { | ||
10457 | long i = longval (); | ||
10458 | if (i != ((long) (sizeof (char)))) | ||
10459 | exit (1); | ||
10460 | fprintf (f, "%ld\n", i); | ||
10461 | } | ||
10462 | else | ||
10463 | { | ||
10464 | unsigned long i = ulongval (); | ||
10465 | if (i != ((long) (sizeof (char)))) | ||
10466 | exit (1); | ||
10467 | fprintf (f, "%lu\n", i); | ||
10468 | } | ||
10469 | exit (ferror (f) || fclose (f) != 0); | ||
10470 | |||
10471 | ; | ||
10472 | return 0; | ||
10473 | } | ||
10474 | _ACEOF | ||
10475 | rm -f conftest$ac_exeext | ||
10476 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
10477 | (eval $ac_link) 2>&5 | ||
10478 | ac_status=$? | ||
10479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10480 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
10481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10482 | (eval $ac_try) 2>&5 | ||
10483 | ac_status=$? | ||
10484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10485 | (exit $ac_status); }; }; then | ||
10486 | ac_cv_sizeof_char=`cat conftest.val` | ||
10487 | else | ||
10488 | echo "$as_me: program exited with status $ac_status" >&5 | ||
10489 | echo "$as_me: failed program was:" >&5 | ||
10490 | cat conftest.$ac_ext >&5 | ||
10491 | ( exit $ac_status ) | ||
10492 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5 | ||
10493 | echo "$as_me: error: cannot compute sizeof (char), 77" >&2;} | ||
10494 | { (exit 1); exit 1; }; } | ||
10495 | fi | ||
10496 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
10497 | fi | ||
10498 | fi | ||
10499 | rm -f conftest.val | ||
10500 | else | ||
10501 | ac_cv_sizeof_char=0 | ||
10502 | fi | ||
10503 | fi | ||
10504 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 | ||
10505 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 | ||
10506 | cat >>confdefs.h <<_ACEOF | ||
10507 | @%:@define SIZEOF_CHAR $ac_cv_sizeof_char | ||
10508 | _ACEOF | ||
10509 | |||
10510 | |||
10511 | echo "$as_me:$LINENO: checking for short int" >&5 | ||
10512 | echo $ECHO_N "checking for short int... $ECHO_C" >&6 | ||
10513 | if test "${ac_cv_type_short_int+set}" = set; then | ||
10514 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10515 | else | ||
10516 | cat >conftest.$ac_ext <<_ACEOF | ||
10517 | #line $LINENO "configure" | ||
10518 | #include "confdefs.h" | ||
10519 | $ac_includes_default | ||
10520 | #ifdef F77_DUMMY_MAIN | ||
10521 | # ifdef __cplusplus | ||
10522 | extern "C" | ||
10523 | # endif | ||
10524 | int F77_DUMMY_MAIN() { return 1; } | ||
10525 | #endif | ||
10526 | int | ||
10527 | main () | ||
10528 | { | ||
10529 | if ((short int *) 0) | ||
10530 | return 0; | ||
10531 | if (sizeof (short int)) | ||
10532 | return 0; | ||
10533 | ; | ||
10534 | return 0; | ||
10535 | } | ||
10536 | _ACEOF | ||
10537 | rm -f conftest.$ac_objext | ||
10538 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10539 | (eval $ac_compile) 2>&5 | ||
10540 | ac_status=$? | ||
10541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10542 | (exit $ac_status); } && | ||
10543 | { ac_try='test -s conftest.$ac_objext' | ||
10544 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10545 | (eval $ac_try) 2>&5 | ||
10546 | ac_status=$? | ||
10547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10548 | (exit $ac_status); }; }; then | ||
10549 | ac_cv_type_short_int=yes | ||
10550 | else | ||
10551 | echo "$as_me: failed program was:" >&5 | ||
10552 | cat conftest.$ac_ext >&5 | ||
10553 | ac_cv_type_short_int=no | ||
10554 | fi | ||
10555 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10556 | fi | ||
10557 | echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5 | ||
10558 | echo "${ECHO_T}$ac_cv_type_short_int" >&6 | ||
10559 | |||
10560 | echo "$as_me:$LINENO: checking size of short int" >&5 | ||
10561 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6 | ||
10562 | if test "${ac_cv_sizeof_short_int+set}" = set; then | ||
10563 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10564 | else | ||
10565 | if test "$ac_cv_type_short_int" = yes; then | ||
10566 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
10567 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
10568 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
10569 | # This bug is HP SR number 8606223364. | ||
10570 | if test "$cross_compiling" = yes; then | ||
10571 | # Depending upon the size, compute the lo and hi bounds. | ||
10572 | cat >conftest.$ac_ext <<_ACEOF | ||
10573 | #line $LINENO "configure" | ||
10574 | #include "confdefs.h" | ||
10575 | $ac_includes_default | ||
10576 | #ifdef F77_DUMMY_MAIN | ||
10577 | # ifdef __cplusplus | ||
10578 | extern "C" | ||
10579 | # endif | ||
10580 | int F77_DUMMY_MAIN() { return 1; } | ||
10581 | #endif | ||
10582 | int | ||
10583 | main () | ||
10584 | { | ||
10585 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >= 0)@:>@; | ||
10586 | test_array @<:@0@:>@ = 0 | ||
10587 | |||
10588 | ; | ||
10589 | return 0; | ||
10590 | } | ||
10591 | _ACEOF | ||
10592 | rm -f conftest.$ac_objext | ||
10593 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10594 | (eval $ac_compile) 2>&5 | ||
10595 | ac_status=$? | ||
10596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10597 | (exit $ac_status); } && | ||
10598 | { ac_try='test -s conftest.$ac_objext' | ||
10599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10600 | (eval $ac_try) 2>&5 | ||
10601 | ac_status=$? | ||
10602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10603 | (exit $ac_status); }; }; then | ||
10604 | ac_lo=0 ac_mid=0 | ||
10605 | while :; do | ||
10606 | cat >conftest.$ac_ext <<_ACEOF | ||
10607 | #line $LINENO "configure" | ||
10608 | #include "confdefs.h" | ||
10609 | $ac_includes_default | ||
10610 | #ifdef F77_DUMMY_MAIN | ||
10611 | # ifdef __cplusplus | ||
10612 | extern "C" | ||
10613 | # endif | ||
10614 | int F77_DUMMY_MAIN() { return 1; } | ||
10615 | #endif | ||
10616 | int | ||
10617 | main () | ||
10618 | { | ||
10619 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)@:>@; | ||
10620 | test_array @<:@0@:>@ = 0 | ||
10621 | |||
10622 | ; | ||
10623 | return 0; | ||
10624 | } | ||
10625 | _ACEOF | ||
10626 | rm -f conftest.$ac_objext | ||
10627 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10628 | (eval $ac_compile) 2>&5 | ||
10629 | ac_status=$? | ||
10630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10631 | (exit $ac_status); } && | ||
10632 | { ac_try='test -s conftest.$ac_objext' | ||
10633 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10634 | (eval $ac_try) 2>&5 | ||
10635 | ac_status=$? | ||
10636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10637 | (exit $ac_status); }; }; then | ||
10638 | ac_hi=$ac_mid; break | ||
10639 | else | ||
10640 | echo "$as_me: failed program was:" >&5 | ||
10641 | cat conftest.$ac_ext >&5 | ||
10642 | ac_lo=`expr $ac_mid + 1` | ||
10643 | if test $ac_lo -le $ac_mid; then | ||
10644 | ac_lo= ac_hi= | ||
10645 | break | ||
10646 | fi | ||
10647 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
10648 | fi | ||
10649 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10650 | done | ||
10651 | else | ||
10652 | echo "$as_me: failed program was:" >&5 | ||
10653 | cat conftest.$ac_ext >&5 | ||
10654 | cat >conftest.$ac_ext <<_ACEOF | ||
10655 | #line $LINENO "configure" | ||
10656 | #include "confdefs.h" | ||
10657 | $ac_includes_default | ||
10658 | #ifdef F77_DUMMY_MAIN | ||
10659 | # ifdef __cplusplus | ||
10660 | extern "C" | ||
10661 | # endif | ||
10662 | int F77_DUMMY_MAIN() { return 1; } | ||
10663 | #endif | ||
10664 | int | ||
10665 | main () | ||
10666 | { | ||
10667 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) < 0)@:>@; | ||
10668 | test_array @<:@0@:>@ = 0 | ||
10669 | |||
10670 | ; | ||
10671 | return 0; | ||
10672 | } | ||
10673 | _ACEOF | ||
10674 | rm -f conftest.$ac_objext | ||
10675 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10676 | (eval $ac_compile) 2>&5 | ||
10677 | ac_status=$? | ||
10678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10679 | (exit $ac_status); } && | ||
10680 | { ac_try='test -s conftest.$ac_objext' | ||
10681 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10682 | (eval $ac_try) 2>&5 | ||
10683 | ac_status=$? | ||
10684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10685 | (exit $ac_status); }; }; then | ||
10686 | ac_hi=-1 ac_mid=-1 | ||
10687 | while :; do | ||
10688 | cat >conftest.$ac_ext <<_ACEOF | ||
10689 | #line $LINENO "configure" | ||
10690 | #include "confdefs.h" | ||
10691 | $ac_includes_default | ||
10692 | #ifdef F77_DUMMY_MAIN | ||
10693 | # ifdef __cplusplus | ||
10694 | extern "C" | ||
10695 | # endif | ||
10696 | int F77_DUMMY_MAIN() { return 1; } | ||
10697 | #endif | ||
10698 | int | ||
10699 | main () | ||
10700 | { | ||
10701 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)@:>@; | ||
10702 | test_array @<:@0@:>@ = 0 | ||
10703 | |||
10704 | ; | ||
10705 | return 0; | ||
10706 | } | ||
10707 | _ACEOF | ||
10708 | rm -f conftest.$ac_objext | ||
10709 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10710 | (eval $ac_compile) 2>&5 | ||
10711 | ac_status=$? | ||
10712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10713 | (exit $ac_status); } && | ||
10714 | { ac_try='test -s conftest.$ac_objext' | ||
10715 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10716 | (eval $ac_try) 2>&5 | ||
10717 | ac_status=$? | ||
10718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10719 | (exit $ac_status); }; }; then | ||
10720 | ac_lo=$ac_mid; break | ||
10721 | else | ||
10722 | echo "$as_me: failed program was:" >&5 | ||
10723 | cat conftest.$ac_ext >&5 | ||
10724 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
10725 | if test $ac_mid -le $ac_hi; then | ||
10726 | ac_lo= ac_hi= | ||
10727 | break | ||
10728 | fi | ||
10729 | ac_mid=`expr 2 '*' $ac_mid` | ||
10730 | fi | ||
10731 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10732 | done | ||
10733 | else | ||
10734 | echo "$as_me: failed program was:" >&5 | ||
10735 | cat conftest.$ac_ext >&5 | ||
10736 | ac_lo= ac_hi= | ||
10737 | fi | ||
10738 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10739 | fi | ||
10740 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10741 | # Binary search between lo and hi bounds. | ||
10742 | while test "x$ac_lo" != "x$ac_hi"; do | ||
10743 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
10744 | cat >conftest.$ac_ext <<_ACEOF | ||
10745 | #line $LINENO "configure" | ||
10746 | #include "confdefs.h" | ||
10747 | $ac_includes_default | ||
10748 | #ifdef F77_DUMMY_MAIN | ||
10749 | # ifdef __cplusplus | ||
10750 | extern "C" | ||
10751 | # endif | ||
10752 | int F77_DUMMY_MAIN() { return 1; } | ||
10753 | #endif | ||
10754 | int | ||
10755 | main () | ||
10756 | { | ||
10757 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)@:>@; | ||
10758 | test_array @<:@0@:>@ = 0 | ||
10759 | |||
10760 | ; | ||
10761 | return 0; | ||
10762 | } | ||
10763 | _ACEOF | ||
10764 | rm -f conftest.$ac_objext | ||
10765 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10766 | (eval $ac_compile) 2>&5 | ||
10767 | ac_status=$? | ||
10768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10769 | (exit $ac_status); } && | ||
10770 | { ac_try='test -s conftest.$ac_objext' | ||
10771 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10772 | (eval $ac_try) 2>&5 | ||
10773 | ac_status=$? | ||
10774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10775 | (exit $ac_status); }; }; then | ||
10776 | ac_hi=$ac_mid | ||
10777 | else | ||
10778 | echo "$as_me: failed program was:" >&5 | ||
10779 | cat conftest.$ac_ext >&5 | ||
10780 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
10781 | fi | ||
10782 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10783 | done | ||
10784 | case $ac_lo in | ||
10785 | ?*) ac_cv_sizeof_short_int=$ac_lo;; | ||
10786 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77" >&5 | ||
10787 | echo "$as_me: error: cannot compute sizeof (short int), 77" >&2;} | ||
10788 | { (exit 1); exit 1; }; } ;; | ||
10789 | esac | ||
10790 | else | ||
10791 | if test "$cross_compiling" = yes; then | ||
10792 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
10793 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
10794 | { (exit 1); exit 1; }; } | ||
10795 | else | ||
10796 | cat >conftest.$ac_ext <<_ACEOF | ||
10797 | #line $LINENO "configure" | ||
10798 | #include "confdefs.h" | ||
10799 | $ac_includes_default | ||
10800 | long longval () { return (long) (sizeof (short int)); } | ||
10801 | unsigned long ulongval () { return (long) (sizeof (short int)); } | ||
10802 | @%:@include <stdio.h> | ||
10803 | @%:@include <stdlib.h> | ||
10804 | #ifdef F77_DUMMY_MAIN | ||
10805 | # ifdef __cplusplus | ||
10806 | extern "C" | ||
10807 | # endif | ||
10808 | int F77_DUMMY_MAIN() { return 1; } | ||
10809 | #endif | ||
10810 | int | ||
10811 | main () | ||
10812 | { | ||
10813 | |||
10814 | FILE *f = fopen ("conftest.val", "w"); | ||
10815 | if (! f) | ||
10816 | exit (1); | ||
10817 | if (((long) (sizeof (short int))) < 0) | ||
10818 | { | ||
10819 | long i = longval (); | ||
10820 | if (i != ((long) (sizeof (short int)))) | ||
10821 | exit (1); | ||
10822 | fprintf (f, "%ld\n", i); | ||
10823 | } | ||
10824 | else | ||
10825 | { | ||
10826 | unsigned long i = ulongval (); | ||
10827 | if (i != ((long) (sizeof (short int)))) | ||
10828 | exit (1); | ||
10829 | fprintf (f, "%lu\n", i); | ||
10830 | } | ||
10831 | exit (ferror (f) || fclose (f) != 0); | ||
10832 | |||
10833 | ; | ||
10834 | return 0; | ||
10835 | } | ||
10836 | _ACEOF | ||
10837 | rm -f conftest$ac_exeext | ||
10838 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
10839 | (eval $ac_link) 2>&5 | ||
10840 | ac_status=$? | ||
10841 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10842 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
10843 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10844 | (eval $ac_try) 2>&5 | ||
10845 | ac_status=$? | ||
10846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10847 | (exit $ac_status); }; }; then | ||
10848 | ac_cv_sizeof_short_int=`cat conftest.val` | ||
10849 | else | ||
10850 | echo "$as_me: program exited with status $ac_status" >&5 | ||
10851 | echo "$as_me: failed program was:" >&5 | ||
10852 | cat conftest.$ac_ext >&5 | ||
10853 | ( exit $ac_status ) | ||
10854 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77" >&5 | ||
10855 | echo "$as_me: error: cannot compute sizeof (short int), 77" >&2;} | ||
10856 | { (exit 1); exit 1; }; } | ||
10857 | fi | ||
10858 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
10859 | fi | ||
10860 | fi | ||
10861 | rm -f conftest.val | ||
10862 | else | ||
10863 | ac_cv_sizeof_short_int=0 | ||
10864 | fi | ||
10865 | fi | ||
10866 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 | ||
10867 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 | ||
10868 | cat >>confdefs.h <<_ACEOF | ||
10869 | @%:@define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int | ||
10870 | _ACEOF | ||
10871 | |||
10872 | |||
10873 | echo "$as_me:$LINENO: checking for int" >&5 | ||
10874 | echo $ECHO_N "checking for int... $ECHO_C" >&6 | ||
10875 | if test "${ac_cv_type_int+set}" = set; then | ||
10876 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10877 | else | ||
10878 | cat >conftest.$ac_ext <<_ACEOF | ||
10879 | #line $LINENO "configure" | ||
10880 | #include "confdefs.h" | ||
10881 | $ac_includes_default | ||
10882 | #ifdef F77_DUMMY_MAIN | ||
10883 | # ifdef __cplusplus | ||
10884 | extern "C" | ||
10885 | # endif | ||
10886 | int F77_DUMMY_MAIN() { return 1; } | ||
10887 | #endif | ||
10888 | int | ||
10889 | main () | ||
10890 | { | ||
10891 | if ((int *) 0) | ||
10892 | return 0; | ||
10893 | if (sizeof (int)) | ||
10894 | return 0; | ||
10895 | ; | ||
10896 | return 0; | ||
10897 | } | ||
10898 | _ACEOF | ||
10899 | rm -f conftest.$ac_objext | ||
10900 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10901 | (eval $ac_compile) 2>&5 | ||
10902 | ac_status=$? | ||
10903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10904 | (exit $ac_status); } && | ||
10905 | { ac_try='test -s conftest.$ac_objext' | ||
10906 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10907 | (eval $ac_try) 2>&5 | ||
10908 | ac_status=$? | ||
10909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10910 | (exit $ac_status); }; }; then | ||
10911 | ac_cv_type_int=yes | ||
10912 | else | ||
10913 | echo "$as_me: failed program was:" >&5 | ||
10914 | cat conftest.$ac_ext >&5 | ||
10915 | ac_cv_type_int=no | ||
10916 | fi | ||
10917 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10918 | fi | ||
10919 | echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | ||
10920 | echo "${ECHO_T}$ac_cv_type_int" >&6 | ||
10921 | |||
10922 | echo "$as_me:$LINENO: checking size of int" >&5 | ||
10923 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 | ||
10924 | if test "${ac_cv_sizeof_int+set}" = set; then | ||
10925 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10926 | else | ||
10927 | if test "$ac_cv_type_int" = yes; then | ||
10928 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
10929 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
10930 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
10931 | # This bug is HP SR number 8606223364. | ||
10932 | if test "$cross_compiling" = yes; then | ||
10933 | # Depending upon the size, compute the lo and hi bounds. | ||
10934 | cat >conftest.$ac_ext <<_ACEOF | ||
10935 | #line $LINENO "configure" | ||
10936 | #include "confdefs.h" | ||
10937 | $ac_includes_default | ||
10938 | #ifdef F77_DUMMY_MAIN | ||
10939 | # ifdef __cplusplus | ||
10940 | extern "C" | ||
10941 | # endif | ||
10942 | int F77_DUMMY_MAIN() { return 1; } | ||
10943 | #endif | ||
10944 | int | ||
10945 | main () | ||
10946 | { | ||
10947 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= 0)@:>@; | ||
10948 | test_array @<:@0@:>@ = 0 | ||
10949 | |||
10950 | ; | ||
10951 | return 0; | ||
10952 | } | ||
10953 | _ACEOF | ||
10954 | rm -f conftest.$ac_objext | ||
10955 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10956 | (eval $ac_compile) 2>&5 | ||
10957 | ac_status=$? | ||
10958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10959 | (exit $ac_status); } && | ||
10960 | { ac_try='test -s conftest.$ac_objext' | ||
10961 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10962 | (eval $ac_try) 2>&5 | ||
10963 | ac_status=$? | ||
10964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10965 | (exit $ac_status); }; }; then | ||
10966 | ac_lo=0 ac_mid=0 | ||
10967 | while :; do | ||
10968 | cat >conftest.$ac_ext <<_ACEOF | ||
10969 | #line $LINENO "configure" | ||
10970 | #include "confdefs.h" | ||
10971 | $ac_includes_default | ||
10972 | #ifdef F77_DUMMY_MAIN | ||
10973 | # ifdef __cplusplus | ||
10974 | extern "C" | ||
10975 | # endif | ||
10976 | int F77_DUMMY_MAIN() { return 1; } | ||
10977 | #endif | ||
10978 | int | ||
10979 | main () | ||
10980 | { | ||
10981 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@; | ||
10982 | test_array @<:@0@:>@ = 0 | ||
10983 | |||
10984 | ; | ||
10985 | return 0; | ||
10986 | } | ||
10987 | _ACEOF | ||
10988 | rm -f conftest.$ac_objext | ||
10989 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10990 | (eval $ac_compile) 2>&5 | ||
10991 | ac_status=$? | ||
10992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10993 | (exit $ac_status); } && | ||
10994 | { ac_try='test -s conftest.$ac_objext' | ||
10995 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10996 | (eval $ac_try) 2>&5 | ||
10997 | ac_status=$? | ||
10998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10999 | (exit $ac_status); }; }; then | ||
11000 | ac_hi=$ac_mid; break | ||
11001 | else | ||
11002 | echo "$as_me: failed program was:" >&5 | ||
11003 | cat conftest.$ac_ext >&5 | ||
11004 | ac_lo=`expr $ac_mid + 1` | ||
11005 | if test $ac_lo -le $ac_mid; then | ||
11006 | ac_lo= ac_hi= | ||
11007 | break | ||
11008 | fi | ||
11009 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
11010 | fi | ||
11011 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11012 | done | ||
11013 | else | ||
11014 | echo "$as_me: failed program was:" >&5 | ||
11015 | cat conftest.$ac_ext >&5 | ||
11016 | cat >conftest.$ac_ext <<_ACEOF | ||
11017 | #line $LINENO "configure" | ||
11018 | #include "confdefs.h" | ||
11019 | $ac_includes_default | ||
11020 | #ifdef F77_DUMMY_MAIN | ||
11021 | # ifdef __cplusplus | ||
11022 | extern "C" | ||
11023 | # endif | ||
11024 | int F77_DUMMY_MAIN() { return 1; } | ||
11025 | #endif | ||
11026 | int | ||
11027 | main () | ||
11028 | { | ||
11029 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) < 0)@:>@; | ||
11030 | test_array @<:@0@:>@ = 0 | ||
11031 | |||
11032 | ; | ||
11033 | return 0; | ||
11034 | } | ||
11035 | _ACEOF | ||
11036 | rm -f conftest.$ac_objext | ||
11037 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11038 | (eval $ac_compile) 2>&5 | ||
11039 | ac_status=$? | ||
11040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11041 | (exit $ac_status); } && | ||
11042 | { ac_try='test -s conftest.$ac_objext' | ||
11043 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11044 | (eval $ac_try) 2>&5 | ||
11045 | ac_status=$? | ||
11046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11047 | (exit $ac_status); }; }; then | ||
11048 | ac_hi=-1 ac_mid=-1 | ||
11049 | while :; do | ||
11050 | cat >conftest.$ac_ext <<_ACEOF | ||
11051 | #line $LINENO "configure" | ||
11052 | #include "confdefs.h" | ||
11053 | $ac_includes_default | ||
11054 | #ifdef F77_DUMMY_MAIN | ||
11055 | # ifdef __cplusplus | ||
11056 | extern "C" | ||
11057 | # endif | ||
11058 | int F77_DUMMY_MAIN() { return 1; } | ||
11059 | #endif | ||
11060 | int | ||
11061 | main () | ||
11062 | { | ||
11063 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)@:>@; | ||
11064 | test_array @<:@0@:>@ = 0 | ||
11065 | |||
11066 | ; | ||
11067 | return 0; | ||
11068 | } | ||
11069 | _ACEOF | ||
11070 | rm -f conftest.$ac_objext | ||
11071 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11072 | (eval $ac_compile) 2>&5 | ||
11073 | ac_status=$? | ||
11074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11075 | (exit $ac_status); } && | ||
11076 | { ac_try='test -s conftest.$ac_objext' | ||
11077 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11078 | (eval $ac_try) 2>&5 | ||
11079 | ac_status=$? | ||
11080 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11081 | (exit $ac_status); }; }; then | ||
11082 | ac_lo=$ac_mid; break | ||
11083 | else | ||
11084 | echo "$as_me: failed program was:" >&5 | ||
11085 | cat conftest.$ac_ext >&5 | ||
11086 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
11087 | if test $ac_mid -le $ac_hi; then | ||
11088 | ac_lo= ac_hi= | ||
11089 | break | ||
11090 | fi | ||
11091 | ac_mid=`expr 2 '*' $ac_mid` | ||
11092 | fi | ||
11093 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11094 | done | ||
11095 | else | ||
11096 | echo "$as_me: failed program was:" >&5 | ||
11097 | cat conftest.$ac_ext >&5 | ||
11098 | ac_lo= ac_hi= | ||
11099 | fi | ||
11100 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11101 | fi | ||
11102 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11103 | # Binary search between lo and hi bounds. | ||
11104 | while test "x$ac_lo" != "x$ac_hi"; do | ||
11105 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
11106 | cat >conftest.$ac_ext <<_ACEOF | ||
11107 | #line $LINENO "configure" | ||
11108 | #include "confdefs.h" | ||
11109 | $ac_includes_default | ||
11110 | #ifdef F77_DUMMY_MAIN | ||
11111 | # ifdef __cplusplus | ||
11112 | extern "C" | ||
11113 | # endif | ||
11114 | int F77_DUMMY_MAIN() { return 1; } | ||
11115 | #endif | ||
11116 | int | ||
11117 | main () | ||
11118 | { | ||
11119 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@; | ||
11120 | test_array @<:@0@:>@ = 0 | ||
11121 | |||
11122 | ; | ||
11123 | return 0; | ||
11124 | } | ||
11125 | _ACEOF | ||
11126 | rm -f conftest.$ac_objext | ||
11127 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11128 | (eval $ac_compile) 2>&5 | ||
11129 | ac_status=$? | ||
11130 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11131 | (exit $ac_status); } && | ||
11132 | { ac_try='test -s conftest.$ac_objext' | ||
11133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11134 | (eval $ac_try) 2>&5 | ||
11135 | ac_status=$? | ||
11136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11137 | (exit $ac_status); }; }; then | ||
11138 | ac_hi=$ac_mid | ||
11139 | else | ||
11140 | echo "$as_me: failed program was:" >&5 | ||
11141 | cat conftest.$ac_ext >&5 | ||
11142 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11143 | fi | ||
11144 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11145 | done | ||
11146 | case $ac_lo in | ||
11147 | ?*) ac_cv_sizeof_int=$ac_lo;; | ||
11148 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5 | ||
11149 | echo "$as_me: error: cannot compute sizeof (int), 77" >&2;} | ||
11150 | { (exit 1); exit 1; }; } ;; | ||
11151 | esac | ||
11152 | else | ||
11153 | if test "$cross_compiling" = yes; then | ||
11154 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
11155 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
11156 | { (exit 1); exit 1; }; } | ||
11157 | else | ||
11158 | cat >conftest.$ac_ext <<_ACEOF | ||
11159 | #line $LINENO "configure" | ||
11160 | #include "confdefs.h" | ||
11161 | $ac_includes_default | ||
11162 | long longval () { return (long) (sizeof (int)); } | ||
11163 | unsigned long ulongval () { return (long) (sizeof (int)); } | ||
11164 | @%:@include <stdio.h> | ||
11165 | @%:@include <stdlib.h> | ||
11166 | #ifdef F77_DUMMY_MAIN | ||
11167 | # ifdef __cplusplus | ||
11168 | extern "C" | ||
11169 | # endif | ||
11170 | int F77_DUMMY_MAIN() { return 1; } | ||
11171 | #endif | ||
11172 | int | ||
11173 | main () | ||
11174 | { | ||
11175 | |||
11176 | FILE *f = fopen ("conftest.val", "w"); | ||
11177 | if (! f) | ||
11178 | exit (1); | ||
11179 | if (((long) (sizeof (int))) < 0) | ||
11180 | { | ||
11181 | long i = longval (); | ||
11182 | if (i != ((long) (sizeof (int)))) | ||
11183 | exit (1); | ||
11184 | fprintf (f, "%ld\n", i); | ||
11185 | } | ||
11186 | else | ||
11187 | { | ||
11188 | unsigned long i = ulongval (); | ||
11189 | if (i != ((long) (sizeof (int)))) | ||
11190 | exit (1); | ||
11191 | fprintf (f, "%lu\n", i); | ||
11192 | } | ||
11193 | exit (ferror (f) || fclose (f) != 0); | ||
11194 | |||
11195 | ; | ||
11196 | return 0; | ||
11197 | } | ||
11198 | _ACEOF | ||
11199 | rm -f conftest$ac_exeext | ||
11200 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
11201 | (eval $ac_link) 2>&5 | ||
11202 | ac_status=$? | ||
11203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11204 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
11205 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11206 | (eval $ac_try) 2>&5 | ||
11207 | ac_status=$? | ||
11208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11209 | (exit $ac_status); }; }; then | ||
11210 | ac_cv_sizeof_int=`cat conftest.val` | ||
11211 | else | ||
11212 | echo "$as_me: program exited with status $ac_status" >&5 | ||
11213 | echo "$as_me: failed program was:" >&5 | ||
11214 | cat conftest.$ac_ext >&5 | ||
11215 | ( exit $ac_status ) | ||
11216 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5 | ||
11217 | echo "$as_me: error: cannot compute sizeof (int), 77" >&2;} | ||
11218 | { (exit 1); exit 1; }; } | ||
11219 | fi | ||
11220 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
11221 | fi | ||
11222 | fi | ||
11223 | rm -f conftest.val | ||
11224 | else | ||
11225 | ac_cv_sizeof_int=0 | ||
11226 | fi | ||
11227 | fi | ||
11228 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 | ||
11229 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 | ||
11230 | cat >>confdefs.h <<_ACEOF | ||
11231 | @%:@define SIZEOF_INT $ac_cv_sizeof_int | ||
11232 | _ACEOF | ||
11233 | |||
11234 | |||
11235 | echo "$as_me:$LINENO: checking for long int" >&5 | ||
11236 | echo $ECHO_N "checking for long int... $ECHO_C" >&6 | ||
11237 | if test "${ac_cv_type_long_int+set}" = set; then | ||
11238 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11239 | else | ||
11240 | cat >conftest.$ac_ext <<_ACEOF | ||
11241 | #line $LINENO "configure" | ||
11242 | #include "confdefs.h" | ||
11243 | $ac_includes_default | ||
11244 | #ifdef F77_DUMMY_MAIN | ||
11245 | # ifdef __cplusplus | ||
11246 | extern "C" | ||
11247 | # endif | ||
11248 | int F77_DUMMY_MAIN() { return 1; } | ||
11249 | #endif | ||
11250 | int | ||
11251 | main () | ||
11252 | { | ||
11253 | if ((long int *) 0) | ||
11254 | return 0; | ||
11255 | if (sizeof (long int)) | ||
11256 | return 0; | ||
11257 | ; | ||
11258 | return 0; | ||
11259 | } | ||
11260 | _ACEOF | ||
11261 | rm -f conftest.$ac_objext | ||
11262 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11263 | (eval $ac_compile) 2>&5 | ||
11264 | ac_status=$? | ||
11265 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11266 | (exit $ac_status); } && | ||
11267 | { ac_try='test -s conftest.$ac_objext' | ||
11268 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11269 | (eval $ac_try) 2>&5 | ||
11270 | ac_status=$? | ||
11271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11272 | (exit $ac_status); }; }; then | ||
11273 | ac_cv_type_long_int=yes | ||
11274 | else | ||
11275 | echo "$as_me: failed program was:" >&5 | ||
11276 | cat conftest.$ac_ext >&5 | ||
11277 | ac_cv_type_long_int=no | ||
11278 | fi | ||
11279 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11280 | fi | ||
11281 | echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 | ||
11282 | echo "${ECHO_T}$ac_cv_type_long_int" >&6 | ||
11283 | |||
11284 | echo "$as_me:$LINENO: checking size of long int" >&5 | ||
11285 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6 | ||
11286 | if test "${ac_cv_sizeof_long_int+set}" = set; then | ||
11287 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11288 | else | ||
11289 | if test "$ac_cv_type_long_int" = yes; then | ||
11290 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
11291 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
11292 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
11293 | # This bug is HP SR number 8606223364. | ||
11294 | if test "$cross_compiling" = yes; then | ||
11295 | # Depending upon the size, compute the lo and hi bounds. | ||
11296 | cat >conftest.$ac_ext <<_ACEOF | ||
11297 | #line $LINENO "configure" | ||
11298 | #include "confdefs.h" | ||
11299 | $ac_includes_default | ||
11300 | #ifdef F77_DUMMY_MAIN | ||
11301 | # ifdef __cplusplus | ||
11302 | extern "C" | ||
11303 | # endif | ||
11304 | int F77_DUMMY_MAIN() { return 1; } | ||
11305 | #endif | ||
11306 | int | ||
11307 | main () | ||
11308 | { | ||
11309 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= 0)@:>@; | ||
11310 | test_array @<:@0@:>@ = 0 | ||
11311 | |||
11312 | ; | ||
11313 | return 0; | ||
11314 | } | ||
11315 | _ACEOF | ||
11316 | rm -f conftest.$ac_objext | ||
11317 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11318 | (eval $ac_compile) 2>&5 | ||
11319 | ac_status=$? | ||
11320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11321 | (exit $ac_status); } && | ||
11322 | { ac_try='test -s conftest.$ac_objext' | ||
11323 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11324 | (eval $ac_try) 2>&5 | ||
11325 | ac_status=$? | ||
11326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11327 | (exit $ac_status); }; }; then | ||
11328 | ac_lo=0 ac_mid=0 | ||
11329 | while :; do | ||
11330 | cat >conftest.$ac_ext <<_ACEOF | ||
11331 | #line $LINENO "configure" | ||
11332 | #include "confdefs.h" | ||
11333 | $ac_includes_default | ||
11334 | #ifdef F77_DUMMY_MAIN | ||
11335 | # ifdef __cplusplus | ||
11336 | extern "C" | ||
11337 | # endif | ||
11338 | int F77_DUMMY_MAIN() { return 1; } | ||
11339 | #endif | ||
11340 | int | ||
11341 | main () | ||
11342 | { | ||
11343 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@; | ||
11344 | test_array @<:@0@:>@ = 0 | ||
11345 | |||
11346 | ; | ||
11347 | return 0; | ||
11348 | } | ||
11349 | _ACEOF | ||
11350 | rm -f conftest.$ac_objext | ||
11351 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11352 | (eval $ac_compile) 2>&5 | ||
11353 | ac_status=$? | ||
11354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11355 | (exit $ac_status); } && | ||
11356 | { ac_try='test -s conftest.$ac_objext' | ||
11357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11358 | (eval $ac_try) 2>&5 | ||
11359 | ac_status=$? | ||
11360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11361 | (exit $ac_status); }; }; then | ||
11362 | ac_hi=$ac_mid; break | ||
11363 | else | ||
11364 | echo "$as_me: failed program was:" >&5 | ||
11365 | cat conftest.$ac_ext >&5 | ||
11366 | ac_lo=`expr $ac_mid + 1` | ||
11367 | if test $ac_lo -le $ac_mid; then | ||
11368 | ac_lo= ac_hi= | ||
11369 | break | ||
11370 | fi | ||
11371 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
11372 | fi | ||
11373 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11374 | done | ||
11375 | else | ||
11376 | echo "$as_me: failed program was:" >&5 | ||
11377 | cat conftest.$ac_ext >&5 | ||
11378 | cat >conftest.$ac_ext <<_ACEOF | ||
11379 | #line $LINENO "configure" | ||
11380 | #include "confdefs.h" | ||
11381 | $ac_includes_default | ||
11382 | #ifdef F77_DUMMY_MAIN | ||
11383 | # ifdef __cplusplus | ||
11384 | extern "C" | ||
11385 | # endif | ||
11386 | int F77_DUMMY_MAIN() { return 1; } | ||
11387 | #endif | ||
11388 | int | ||
11389 | main () | ||
11390 | { | ||
11391 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) < 0)@:>@; | ||
11392 | test_array @<:@0@:>@ = 0 | ||
11393 | |||
11394 | ; | ||
11395 | return 0; | ||
11396 | } | ||
11397 | _ACEOF | ||
11398 | rm -f conftest.$ac_objext | ||
11399 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11400 | (eval $ac_compile) 2>&5 | ||
11401 | ac_status=$? | ||
11402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11403 | (exit $ac_status); } && | ||
11404 | { ac_try='test -s conftest.$ac_objext' | ||
11405 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11406 | (eval $ac_try) 2>&5 | ||
11407 | ac_status=$? | ||
11408 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11409 | (exit $ac_status); }; }; then | ||
11410 | ac_hi=-1 ac_mid=-1 | ||
11411 | while :; do | ||
11412 | cat >conftest.$ac_ext <<_ACEOF | ||
11413 | #line $LINENO "configure" | ||
11414 | #include "confdefs.h" | ||
11415 | $ac_includes_default | ||
11416 | #ifdef F77_DUMMY_MAIN | ||
11417 | # ifdef __cplusplus | ||
11418 | extern "C" | ||
11419 | # endif | ||
11420 | int F77_DUMMY_MAIN() { return 1; } | ||
11421 | #endif | ||
11422 | int | ||
11423 | main () | ||
11424 | { | ||
11425 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)@:>@; | ||
11426 | test_array @<:@0@:>@ = 0 | ||
11427 | |||
11428 | ; | ||
11429 | return 0; | ||
11430 | } | ||
11431 | _ACEOF | ||
11432 | rm -f conftest.$ac_objext | ||
11433 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11434 | (eval $ac_compile) 2>&5 | ||
11435 | ac_status=$? | ||
11436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11437 | (exit $ac_status); } && | ||
11438 | { ac_try='test -s conftest.$ac_objext' | ||
11439 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11440 | (eval $ac_try) 2>&5 | ||
11441 | ac_status=$? | ||
11442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11443 | (exit $ac_status); }; }; then | ||
11444 | ac_lo=$ac_mid; break | ||
11445 | else | ||
11446 | echo "$as_me: failed program was:" >&5 | ||
11447 | cat conftest.$ac_ext >&5 | ||
11448 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
11449 | if test $ac_mid -le $ac_hi; then | ||
11450 | ac_lo= ac_hi= | ||
11451 | break | ||
11452 | fi | ||
11453 | ac_mid=`expr 2 '*' $ac_mid` | ||
11454 | fi | ||
11455 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11456 | done | ||
11457 | else | ||
11458 | echo "$as_me: failed program was:" >&5 | ||
11459 | cat conftest.$ac_ext >&5 | ||
11460 | ac_lo= ac_hi= | ||
11461 | fi | ||
11462 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11463 | fi | ||
11464 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11465 | # Binary search between lo and hi bounds. | ||
11466 | while test "x$ac_lo" != "x$ac_hi"; do | ||
11467 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
11468 | cat >conftest.$ac_ext <<_ACEOF | ||
11469 | #line $LINENO "configure" | ||
11470 | #include "confdefs.h" | ||
11471 | $ac_includes_default | ||
11472 | #ifdef F77_DUMMY_MAIN | ||
11473 | # ifdef __cplusplus | ||
11474 | extern "C" | ||
11475 | # endif | ||
11476 | int F77_DUMMY_MAIN() { return 1; } | ||
11477 | #endif | ||
11478 | int | ||
11479 | main () | ||
11480 | { | ||
11481 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@; | ||
11482 | test_array @<:@0@:>@ = 0 | ||
11483 | |||
11484 | ; | ||
11485 | return 0; | ||
11486 | } | ||
11487 | _ACEOF | ||
11488 | rm -f conftest.$ac_objext | ||
11489 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11490 | (eval $ac_compile) 2>&5 | ||
11491 | ac_status=$? | ||
11492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11493 | (exit $ac_status); } && | ||
11494 | { ac_try='test -s conftest.$ac_objext' | ||
11495 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11496 | (eval $ac_try) 2>&5 | ||
11497 | ac_status=$? | ||
11498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11499 | (exit $ac_status); }; }; then | ||
11500 | ac_hi=$ac_mid | ||
11501 | else | ||
11502 | echo "$as_me: failed program was:" >&5 | ||
11503 | cat conftest.$ac_ext >&5 | ||
11504 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11505 | fi | ||
11506 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11507 | done | ||
11508 | case $ac_lo in | ||
11509 | ?*) ac_cv_sizeof_long_int=$ac_lo;; | ||
11510 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77" >&5 | ||
11511 | echo "$as_me: error: cannot compute sizeof (long int), 77" >&2;} | ||
11512 | { (exit 1); exit 1; }; } ;; | ||
11513 | esac | ||
11514 | else | ||
11515 | if test "$cross_compiling" = yes; then | ||
11516 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
11517 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
11518 | { (exit 1); exit 1; }; } | ||
11519 | else | ||
11520 | cat >conftest.$ac_ext <<_ACEOF | ||
11521 | #line $LINENO "configure" | ||
11522 | #include "confdefs.h" | ||
11523 | $ac_includes_default | ||
11524 | long longval () { return (long) (sizeof (long int)); } | ||
11525 | unsigned long ulongval () { return (long) (sizeof (long int)); } | ||
11526 | @%:@include <stdio.h> | ||
11527 | @%:@include <stdlib.h> | ||
11528 | #ifdef F77_DUMMY_MAIN | ||
11529 | # ifdef __cplusplus | ||
11530 | extern "C" | ||
11531 | # endif | ||
11532 | int F77_DUMMY_MAIN() { return 1; } | ||
11533 | #endif | ||
11534 | int | ||
11535 | main () | ||
11536 | { | ||
11537 | |||
11538 | FILE *f = fopen ("conftest.val", "w"); | ||
11539 | if (! f) | ||
11540 | exit (1); | ||
11541 | if (((long) (sizeof (long int))) < 0) | ||
11542 | { | ||
11543 | long i = longval (); | ||
11544 | if (i != ((long) (sizeof (long int)))) | ||
11545 | exit (1); | ||
11546 | fprintf (f, "%ld\n", i); | ||
11547 | } | ||
11548 | else | ||
11549 | { | ||
11550 | unsigned long i = ulongval (); | ||
11551 | if (i != ((long) (sizeof (long int)))) | ||
11552 | exit (1); | ||
11553 | fprintf (f, "%lu\n", i); | ||
11554 | } | ||
11555 | exit (ferror (f) || fclose (f) != 0); | ||
11556 | |||
11557 | ; | ||
11558 | return 0; | ||
11559 | } | ||
11560 | _ACEOF | ||
11561 | rm -f conftest$ac_exeext | ||
11562 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
11563 | (eval $ac_link) 2>&5 | ||
11564 | ac_status=$? | ||
11565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11566 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
11567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11568 | (eval $ac_try) 2>&5 | ||
11569 | ac_status=$? | ||
11570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11571 | (exit $ac_status); }; }; then | ||
11572 | ac_cv_sizeof_long_int=`cat conftest.val` | ||
11573 | else | ||
11574 | echo "$as_me: program exited with status $ac_status" >&5 | ||
11575 | echo "$as_me: failed program was:" >&5 | ||
11576 | cat conftest.$ac_ext >&5 | ||
11577 | ( exit $ac_status ) | ||
11578 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77" >&5 | ||
11579 | echo "$as_me: error: cannot compute sizeof (long int), 77" >&2;} | ||
11580 | { (exit 1); exit 1; }; } | ||
11581 | fi | ||
11582 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
11583 | fi | ||
11584 | fi | ||
11585 | rm -f conftest.val | ||
11586 | else | ||
11587 | ac_cv_sizeof_long_int=0 | ||
11588 | fi | ||
11589 | fi | ||
11590 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 | ||
11591 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 | ||
11592 | cat >>confdefs.h <<_ACEOF | ||
11593 | @%:@define SIZEOF_LONG_INT $ac_cv_sizeof_long_int | ||
11594 | _ACEOF | ||
11595 | |||
11596 | |||
11597 | echo "$as_me:$LINENO: checking for long long int" >&5 | ||
11598 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6 | ||
11599 | if test "${ac_cv_type_long_long_int+set}" = set; then | ||
11600 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11601 | else | ||
11602 | cat >conftest.$ac_ext <<_ACEOF | ||
11603 | #line $LINENO "configure" | ||
11604 | #include "confdefs.h" | ||
11605 | $ac_includes_default | ||
11606 | #ifdef F77_DUMMY_MAIN | ||
11607 | # ifdef __cplusplus | ||
11608 | extern "C" | ||
11609 | # endif | ||
11610 | int F77_DUMMY_MAIN() { return 1; } | ||
11611 | #endif | ||
11612 | int | ||
11613 | main () | ||
11614 | { | ||
11615 | if ((long long int *) 0) | ||
11616 | return 0; | ||
11617 | if (sizeof (long long int)) | ||
11618 | return 0; | ||
11619 | ; | ||
11620 | return 0; | ||
11621 | } | ||
11622 | _ACEOF | ||
11623 | rm -f conftest.$ac_objext | ||
11624 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11625 | (eval $ac_compile) 2>&5 | ||
11626 | ac_status=$? | ||
11627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11628 | (exit $ac_status); } && | ||
11629 | { ac_try='test -s conftest.$ac_objext' | ||
11630 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11631 | (eval $ac_try) 2>&5 | ||
11632 | ac_status=$? | ||
11633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11634 | (exit $ac_status); }; }; then | ||
11635 | ac_cv_type_long_long_int=yes | ||
11636 | else | ||
11637 | echo "$as_me: failed program was:" >&5 | ||
11638 | cat conftest.$ac_ext >&5 | ||
11639 | ac_cv_type_long_long_int=no | ||
11640 | fi | ||
11641 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11642 | fi | ||
11643 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 | ||
11644 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 | ||
11645 | |||
11646 | echo "$as_me:$LINENO: checking size of long long int" >&5 | ||
11647 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 | ||
11648 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then | ||
11649 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11650 | else | ||
11651 | if test "$ac_cv_type_long_long_int" = yes; then | ||
11652 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
11653 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
11654 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
11655 | # This bug is HP SR number 8606223364. | ||
11656 | if test "$cross_compiling" = yes; then | ||
11657 | # Depending upon the size, compute the lo and hi bounds. | ||
11658 | cat >conftest.$ac_ext <<_ACEOF | ||
11659 | #line $LINENO "configure" | ||
11660 | #include "confdefs.h" | ||
11661 | $ac_includes_default | ||
11662 | #ifdef F77_DUMMY_MAIN | ||
11663 | # ifdef __cplusplus | ||
11664 | extern "C" | ||
11665 | # endif | ||
11666 | int F77_DUMMY_MAIN() { return 1; } | ||
11667 | #endif | ||
11668 | int | ||
11669 | main () | ||
11670 | { | ||
11671 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >= 0)@:>@; | ||
11672 | test_array @<:@0@:>@ = 0 | ||
11673 | |||
11674 | ; | ||
11675 | return 0; | ||
11676 | } | ||
11677 | _ACEOF | ||
11678 | rm -f conftest.$ac_objext | ||
11679 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11680 | (eval $ac_compile) 2>&5 | ||
11681 | ac_status=$? | ||
11682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11683 | (exit $ac_status); } && | ||
11684 | { ac_try='test -s conftest.$ac_objext' | ||
11685 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11686 | (eval $ac_try) 2>&5 | ||
11687 | ac_status=$? | ||
11688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11689 | (exit $ac_status); }; }; then | ||
11690 | ac_lo=0 ac_mid=0 | ||
11691 | while :; do | ||
11692 | cat >conftest.$ac_ext <<_ACEOF | ||
11693 | #line $LINENO "configure" | ||
11694 | #include "confdefs.h" | ||
11695 | $ac_includes_default | ||
11696 | #ifdef F77_DUMMY_MAIN | ||
11697 | # ifdef __cplusplus | ||
11698 | extern "C" | ||
11699 | # endif | ||
11700 | int F77_DUMMY_MAIN() { return 1; } | ||
11701 | #endif | ||
11702 | int | ||
11703 | main () | ||
11704 | { | ||
11705 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)@:>@; | ||
11706 | test_array @<:@0@:>@ = 0 | ||
11707 | |||
11708 | ; | ||
11709 | return 0; | ||
11710 | } | ||
11711 | _ACEOF | ||
11712 | rm -f conftest.$ac_objext | ||
11713 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11714 | (eval $ac_compile) 2>&5 | ||
11715 | ac_status=$? | ||
11716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11717 | (exit $ac_status); } && | ||
11718 | { ac_try='test -s conftest.$ac_objext' | ||
11719 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11720 | (eval $ac_try) 2>&5 | ||
11721 | ac_status=$? | ||
11722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11723 | (exit $ac_status); }; }; then | ||
11724 | ac_hi=$ac_mid; break | ||
11725 | else | ||
11726 | echo "$as_me: failed program was:" >&5 | ||
11727 | cat conftest.$ac_ext >&5 | ||
11728 | ac_lo=`expr $ac_mid + 1` | ||
11729 | if test $ac_lo -le $ac_mid; then | ||
11730 | ac_lo= ac_hi= | ||
11731 | break | ||
11732 | fi | ||
11733 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
11734 | fi | ||
11735 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11736 | done | ||
11737 | else | ||
11738 | echo "$as_me: failed program was:" >&5 | ||
11739 | cat conftest.$ac_ext >&5 | ||
11740 | cat >conftest.$ac_ext <<_ACEOF | ||
11741 | #line $LINENO "configure" | ||
11742 | #include "confdefs.h" | ||
11743 | $ac_includes_default | ||
11744 | #ifdef F77_DUMMY_MAIN | ||
11745 | # ifdef __cplusplus | ||
11746 | extern "C" | ||
11747 | # endif | ||
11748 | int F77_DUMMY_MAIN() { return 1; } | ||
11749 | #endif | ||
11750 | int | ||
11751 | main () | ||
11752 | { | ||
11753 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) < 0)@:>@; | ||
11754 | test_array @<:@0@:>@ = 0 | ||
11755 | |||
11756 | ; | ||
11757 | return 0; | ||
11758 | } | ||
11759 | _ACEOF | ||
11760 | rm -f conftest.$ac_objext | ||
11761 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11762 | (eval $ac_compile) 2>&5 | ||
11763 | ac_status=$? | ||
11764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11765 | (exit $ac_status); } && | ||
11766 | { ac_try='test -s conftest.$ac_objext' | ||
11767 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11768 | (eval $ac_try) 2>&5 | ||
11769 | ac_status=$? | ||
11770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11771 | (exit $ac_status); }; }; then | ||
11772 | ac_hi=-1 ac_mid=-1 | ||
11773 | while :; do | ||
11774 | cat >conftest.$ac_ext <<_ACEOF | ||
11775 | #line $LINENO "configure" | ||
11776 | #include "confdefs.h" | ||
11777 | $ac_includes_default | ||
11778 | #ifdef F77_DUMMY_MAIN | ||
11779 | # ifdef __cplusplus | ||
11780 | extern "C" | ||
11781 | # endif | ||
11782 | int F77_DUMMY_MAIN() { return 1; } | ||
11783 | #endif | ||
11784 | int | ||
11785 | main () | ||
11786 | { | ||
11787 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)@:>@; | ||
11788 | test_array @<:@0@:>@ = 0 | ||
11789 | |||
11790 | ; | ||
11791 | return 0; | ||
11792 | } | ||
11793 | _ACEOF | ||
11794 | rm -f conftest.$ac_objext | ||
11795 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11796 | (eval $ac_compile) 2>&5 | ||
11797 | ac_status=$? | ||
11798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11799 | (exit $ac_status); } && | ||
11800 | { ac_try='test -s conftest.$ac_objext' | ||
11801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11802 | (eval $ac_try) 2>&5 | ||
11803 | ac_status=$? | ||
11804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11805 | (exit $ac_status); }; }; then | ||
11806 | ac_lo=$ac_mid; break | ||
11807 | else | ||
11808 | echo "$as_me: failed program was:" >&5 | ||
11809 | cat conftest.$ac_ext >&5 | ||
11810 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
11811 | if test $ac_mid -le $ac_hi; then | ||
11812 | ac_lo= ac_hi= | ||
11813 | break | ||
11814 | fi | ||
11815 | ac_mid=`expr 2 '*' $ac_mid` | ||
11816 | fi | ||
11817 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11818 | done | ||
11819 | else | ||
11820 | echo "$as_me: failed program was:" >&5 | ||
11821 | cat conftest.$ac_ext >&5 | ||
11822 | ac_lo= ac_hi= | ||
11823 | fi | ||
11824 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11825 | fi | ||
11826 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11827 | # Binary search between lo and hi bounds. | ||
11828 | while test "x$ac_lo" != "x$ac_hi"; do | ||
11829 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
11830 | cat >conftest.$ac_ext <<_ACEOF | ||
11831 | #line $LINENO "configure" | ||
11832 | #include "confdefs.h" | ||
11833 | $ac_includes_default | ||
11834 | #ifdef F77_DUMMY_MAIN | ||
11835 | # ifdef __cplusplus | ||
11836 | extern "C" | ||
11837 | # endif | ||
11838 | int F77_DUMMY_MAIN() { return 1; } | ||
11839 | #endif | ||
11840 | int | ||
11841 | main () | ||
11842 | { | ||
11843 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)@:>@; | ||
11844 | test_array @<:@0@:>@ = 0 | ||
11845 | |||
11846 | ; | ||
11847 | return 0; | ||
11848 | } | ||
11849 | _ACEOF | ||
11850 | rm -f conftest.$ac_objext | ||
11851 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11852 | (eval $ac_compile) 2>&5 | ||
11853 | ac_status=$? | ||
11854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11855 | (exit $ac_status); } && | ||
11856 | { ac_try='test -s conftest.$ac_objext' | ||
11857 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11858 | (eval $ac_try) 2>&5 | ||
11859 | ac_status=$? | ||
11860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11861 | (exit $ac_status); }; }; then | ||
11862 | ac_hi=$ac_mid | ||
11863 | else | ||
11864 | echo "$as_me: failed program was:" >&5 | ||
11865 | cat conftest.$ac_ext >&5 | ||
11866 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11867 | fi | ||
11868 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11869 | done | ||
11870 | case $ac_lo in | ||
11871 | ?*) ac_cv_sizeof_long_long_int=$ac_lo;; | ||
11872 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77" >&5 | ||
11873 | echo "$as_me: error: cannot compute sizeof (long long int), 77" >&2;} | ||
11874 | { (exit 1); exit 1; }; } ;; | ||
11875 | esac | ||
11876 | else | ||
11877 | if test "$cross_compiling" = yes; then | ||
11878 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
11879 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
11880 | { (exit 1); exit 1; }; } | ||
11881 | else | ||
11882 | cat >conftest.$ac_ext <<_ACEOF | ||
11883 | #line $LINENO "configure" | ||
11884 | #include "confdefs.h" | ||
11885 | $ac_includes_default | ||
11886 | long longval () { return (long) (sizeof (long long int)); } | ||
11887 | unsigned long ulongval () { return (long) (sizeof (long long int)); } | ||
11888 | @%:@include <stdio.h> | ||
11889 | @%:@include <stdlib.h> | ||
11890 | #ifdef F77_DUMMY_MAIN | ||
11891 | # ifdef __cplusplus | ||
11892 | extern "C" | ||
11893 | # endif | ||
11894 | int F77_DUMMY_MAIN() { return 1; } | ||
11895 | #endif | ||
11896 | int | ||
11897 | main () | ||
11898 | { | ||
11899 | |||
11900 | FILE *f = fopen ("conftest.val", "w"); | ||
11901 | if (! f) | ||
11902 | exit (1); | ||
11903 | if (((long) (sizeof (long long int))) < 0) | ||
11904 | { | ||
11905 | long i = longval (); | ||
11906 | if (i != ((long) (sizeof (long long int)))) | ||
11907 | exit (1); | ||
11908 | fprintf (f, "%ld\n", i); | ||
11909 | } | ||
11910 | else | ||
11911 | { | ||
11912 | unsigned long i = ulongval (); | ||
11913 | if (i != ((long) (sizeof (long long int)))) | ||
11914 | exit (1); | ||
11915 | fprintf (f, "%lu\n", i); | ||
11916 | } | ||
11917 | exit (ferror (f) || fclose (f) != 0); | ||
11918 | |||
11919 | ; | ||
11920 | return 0; | ||
11921 | } | ||
11922 | _ACEOF | ||
11923 | rm -f conftest$ac_exeext | ||
11924 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
11925 | (eval $ac_link) 2>&5 | ||
11926 | ac_status=$? | ||
11927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11928 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
11929 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11930 | (eval $ac_try) 2>&5 | ||
11931 | ac_status=$? | ||
11932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11933 | (exit $ac_status); }; }; then | ||
11934 | ac_cv_sizeof_long_long_int=`cat conftest.val` | ||
11935 | else | ||
11936 | echo "$as_me: program exited with status $ac_status" >&5 | ||
11937 | echo "$as_me: failed program was:" >&5 | ||
11938 | cat conftest.$ac_ext >&5 | ||
11939 | ( exit $ac_status ) | ||
11940 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77" >&5 | ||
11941 | echo "$as_me: error: cannot compute sizeof (long long int), 77" >&2;} | ||
11942 | { (exit 1); exit 1; }; } | ||
11943 | fi | ||
11944 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
11945 | fi | ||
11946 | fi | ||
11947 | rm -f conftest.val | ||
11948 | else | ||
11949 | ac_cv_sizeof_long_long_int=0 | ||
11950 | fi | ||
11951 | fi | ||
11952 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 | ||
11953 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 | ||
11954 | cat >>confdefs.h <<_ACEOF | ||
11955 | @%:@define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int | ||
11956 | _ACEOF | ||
11957 | |||
11958 | |||
11959 | |||
11960 | # Sanity check long long for some platforms (AIX) | ||
11961 | if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then | ||
11962 | ac_cv_sizeof_long_long_int=0 | ||
11963 | fi | ||
11964 | |||
11965 | # More checks for data types | ||
11966 | echo "$as_me:$LINENO: checking for u_int type" >&5 | ||
11967 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 | ||
11968 | if test "${ac_cv_have_u_int+set}" = set; then | ||
11969 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11970 | else | ||
11971 | |||
11972 | cat >conftest.$ac_ext <<_ACEOF | ||
11973 | #line $LINENO "configure" | ||
11974 | #include "confdefs.h" | ||
11975 | #include <sys/types.h> | ||
11976 | #ifdef F77_DUMMY_MAIN | ||
11977 | # ifdef __cplusplus | ||
11978 | extern "C" | ||
11979 | # endif | ||
11980 | int F77_DUMMY_MAIN() { return 1; } | ||
11981 | #endif | ||
11982 | int | ||
11983 | main () | ||
11984 | { | ||
11985 | u_int a; a = 1; | ||
11986 | ; | ||
11987 | return 0; | ||
11988 | } | ||
11989 | _ACEOF | ||
11990 | rm -f conftest.$ac_objext | ||
11991 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11992 | (eval $ac_compile) 2>&5 | ||
11993 | ac_status=$? | ||
11994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11995 | (exit $ac_status); } && | ||
11996 | { ac_try='test -s conftest.$ac_objext' | ||
11997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11998 | (eval $ac_try) 2>&5 | ||
11999 | ac_status=$? | ||
12000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12001 | (exit $ac_status); }; }; then | ||
12002 | ac_cv_have_u_int="yes" | ||
12003 | else | ||
12004 | echo "$as_me: failed program was:" >&5 | ||
12005 | cat conftest.$ac_ext >&5 | ||
12006 | ac_cv_have_u_int="no" | ||
12007 | |||
12008 | fi | ||
12009 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12010 | |||
12011 | fi | ||
12012 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 | ||
12013 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 | ||
12014 | if test "x$ac_cv_have_u_int" = "xyes" ; then | ||
12015 | cat >>confdefs.h <<\_ACEOF | ||
12016 | @%:@define HAVE_U_INT 1 | ||
12017 | _ACEOF | ||
12018 | |||
12019 | have_u_int=1 | ||
12020 | fi | ||
12021 | |||
12022 | echo "$as_me:$LINENO: checking for intXX_t types" >&5 | ||
12023 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 | ||
12024 | if test "${ac_cv_have_intxx_t+set}" = set; then | ||
12025 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12026 | else | ||
12027 | |||
12028 | cat >conftest.$ac_ext <<_ACEOF | ||
12029 | #line $LINENO "configure" | ||
12030 | #include "confdefs.h" | ||
12031 | #include <sys/types.h> | ||
12032 | #ifdef F77_DUMMY_MAIN | ||
12033 | # ifdef __cplusplus | ||
12034 | extern "C" | ||
12035 | # endif | ||
12036 | int F77_DUMMY_MAIN() { return 1; } | ||
12037 | #endif | ||
12038 | int | ||
12039 | main () | ||
12040 | { | ||
12041 | int8_t a; int16_t b; int32_t c; a = b = c = 1; | ||
12042 | ; | ||
12043 | return 0; | ||
12044 | } | ||
12045 | _ACEOF | ||
12046 | rm -f conftest.$ac_objext | ||
12047 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12048 | (eval $ac_compile) 2>&5 | ||
12049 | ac_status=$? | ||
12050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12051 | (exit $ac_status); } && | ||
12052 | { ac_try='test -s conftest.$ac_objext' | ||
12053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12054 | (eval $ac_try) 2>&5 | ||
12055 | ac_status=$? | ||
12056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12057 | (exit $ac_status); }; }; then | ||
12058 | ac_cv_have_intxx_t="yes" | ||
12059 | else | ||
12060 | echo "$as_me: failed program was:" >&5 | ||
12061 | cat conftest.$ac_ext >&5 | ||
12062 | ac_cv_have_intxx_t="no" | ||
12063 | |||
12064 | fi | ||
12065 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12066 | |||
12067 | fi | ||
12068 | echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 | ||
12069 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 | ||
12070 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | ||
12071 | cat >>confdefs.h <<\_ACEOF | ||
12072 | @%:@define HAVE_INTXX_T 1 | ||
12073 | _ACEOF | ||
12074 | |||
12075 | have_intxx_t=1 | ||
12076 | fi | ||
12077 | |||
12078 | if (test -z "$have_intxx_t" && \ | ||
12079 | test "x$ac_cv_header_stdint_h" = "xyes") | ||
12080 | then | ||
12081 | echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 | ||
12082 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 | ||
12083 | cat >conftest.$ac_ext <<_ACEOF | ||
12084 | #line $LINENO "configure" | ||
12085 | #include "confdefs.h" | ||
12086 | #include <stdint.h> | ||
12087 | #ifdef F77_DUMMY_MAIN | ||
12088 | # ifdef __cplusplus | ||
12089 | extern "C" | ||
12090 | # endif | ||
12091 | int F77_DUMMY_MAIN() { return 1; } | ||
12092 | #endif | ||
12093 | int | ||
12094 | main () | ||
12095 | { | ||
12096 | int8_t a; int16_t b; int32_t c; a = b = c = 1; | ||
12097 | ; | ||
12098 | return 0; | ||
12099 | } | ||
12100 | _ACEOF | ||
12101 | rm -f conftest.$ac_objext | ||
12102 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12103 | (eval $ac_compile) 2>&5 | ||
12104 | ac_status=$? | ||
12105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12106 | (exit $ac_status); } && | ||
12107 | { ac_try='test -s conftest.$ac_objext' | ||
12108 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12109 | (eval $ac_try) 2>&5 | ||
12110 | ac_status=$? | ||
12111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12112 | (exit $ac_status); }; }; then | ||
12113 | |||
12114 | cat >>confdefs.h <<\_ACEOF | ||
12115 | @%:@define HAVE_INTXX_T 1 | ||
12116 | _ACEOF | ||
12117 | |||
12118 | echo "$as_me:$LINENO: result: yes" >&5 | ||
12119 | echo "${ECHO_T}yes" >&6 | ||
12120 | |||
12121 | else | ||
12122 | echo "$as_me: failed program was:" >&5 | ||
12123 | cat conftest.$ac_ext >&5 | ||
12124 | echo "$as_me:$LINENO: result: no" >&5 | ||
12125 | echo "${ECHO_T}no" >&6 | ||
12126 | |||
12127 | fi | ||
12128 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12129 | fi | ||
12130 | |||
12131 | echo "$as_me:$LINENO: checking for int64_t type" >&5 | ||
12132 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 | ||
12133 | if test "${ac_cv_have_int64_t+set}" = set; then | ||
12134 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12135 | else | ||
12136 | |||
12137 | cat >conftest.$ac_ext <<_ACEOF | ||
12138 | #line $LINENO "configure" | ||
12139 | #include "confdefs.h" | ||
12140 | |||
12141 | #include <sys/types.h> | ||
12142 | #ifdef HAVE_STDINT_H | ||
12143 | # include <stdint.h> | ||
12144 | #endif | ||
12145 | #include <sys/socket.h> | ||
12146 | #ifdef HAVE_SYS_BITYPES_H | ||
12147 | # include <sys/bitypes.h> | ||
12148 | #endif | ||
12149 | |||
12150 | #ifdef F77_DUMMY_MAIN | ||
12151 | # ifdef __cplusplus | ||
12152 | extern "C" | ||
12153 | # endif | ||
12154 | int F77_DUMMY_MAIN() { return 1; } | ||
12155 | #endif | ||
12156 | int | ||
12157 | main () | ||
12158 | { | ||
12159 | int64_t a; a = 1; | ||
12160 | ; | ||
12161 | return 0; | ||
12162 | } | ||
12163 | _ACEOF | ||
12164 | rm -f conftest.$ac_objext | ||
12165 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12166 | (eval $ac_compile) 2>&5 | ||
12167 | ac_status=$? | ||
12168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12169 | (exit $ac_status); } && | ||
12170 | { ac_try='test -s conftest.$ac_objext' | ||
12171 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12172 | (eval $ac_try) 2>&5 | ||
12173 | ac_status=$? | ||
12174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12175 | (exit $ac_status); }; }; then | ||
12176 | ac_cv_have_int64_t="yes" | ||
12177 | else | ||
12178 | echo "$as_me: failed program was:" >&5 | ||
12179 | cat conftest.$ac_ext >&5 | ||
12180 | ac_cv_have_int64_t="no" | ||
12181 | |||
12182 | fi | ||
12183 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12184 | |||
12185 | fi | ||
12186 | echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 | ||
12187 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 | ||
12188 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | ||
12189 | cat >>confdefs.h <<\_ACEOF | ||
12190 | @%:@define HAVE_INT64_T 1 | ||
12191 | _ACEOF | ||
12192 | |||
12193 | fi | ||
12194 | |||
12195 | echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 | ||
12196 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 | ||
12197 | if test "${ac_cv_have_u_intxx_t+set}" = set; then | ||
12198 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12199 | else | ||
12200 | |||
12201 | cat >conftest.$ac_ext <<_ACEOF | ||
12202 | #line $LINENO "configure" | ||
12203 | #include "confdefs.h" | ||
12204 | #include <sys/types.h> | ||
12205 | #ifdef F77_DUMMY_MAIN | ||
12206 | # ifdef __cplusplus | ||
12207 | extern "C" | ||
12208 | # endif | ||
12209 | int F77_DUMMY_MAIN() { return 1; } | ||
12210 | #endif | ||
12211 | int | ||
12212 | main () | ||
12213 | { | ||
12214 | u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1; | ||
12215 | ; | ||
12216 | return 0; | ||
12217 | } | ||
12218 | _ACEOF | ||
12219 | rm -f conftest.$ac_objext | ||
12220 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12221 | (eval $ac_compile) 2>&5 | ||
12222 | ac_status=$? | ||
12223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12224 | (exit $ac_status); } && | ||
12225 | { ac_try='test -s conftest.$ac_objext' | ||
12226 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12227 | (eval $ac_try) 2>&5 | ||
12228 | ac_status=$? | ||
12229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12230 | (exit $ac_status); }; }; then | ||
12231 | ac_cv_have_u_intxx_t="yes" | ||
12232 | else | ||
12233 | echo "$as_me: failed program was:" >&5 | ||
12234 | cat conftest.$ac_ext >&5 | ||
12235 | ac_cv_have_u_intxx_t="no" | ||
12236 | |||
12237 | fi | ||
12238 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12239 | |||
12240 | fi | ||
12241 | echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 | ||
12242 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 | ||
12243 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | ||
12244 | cat >>confdefs.h <<\_ACEOF | ||
12245 | @%:@define HAVE_U_INTXX_T 1 | ||
12246 | _ACEOF | ||
12247 | |||
12248 | have_u_intxx_t=1 | ||
12249 | fi | ||
12250 | |||
12251 | if test -z "$have_u_intxx_t" ; then | ||
12252 | echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 | ||
12253 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 | ||
12254 | cat >conftest.$ac_ext <<_ACEOF | ||
12255 | #line $LINENO "configure" | ||
12256 | #include "confdefs.h" | ||
12257 | #include <sys/socket.h> | ||
12258 | #ifdef F77_DUMMY_MAIN | ||
12259 | # ifdef __cplusplus | ||
12260 | extern "C" | ||
12261 | # endif | ||
12262 | int F77_DUMMY_MAIN() { return 1; } | ||
12263 | #endif | ||
12264 | int | ||
12265 | main () | ||
12266 | { | ||
12267 | u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1; | ||
12268 | ; | ||
12269 | return 0; | ||
12270 | } | ||
12271 | _ACEOF | ||
12272 | rm -f conftest.$ac_objext | ||
12273 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12274 | (eval $ac_compile) 2>&5 | ||
12275 | ac_status=$? | ||
12276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12277 | (exit $ac_status); } && | ||
12278 | { ac_try='test -s conftest.$ac_objext' | ||
12279 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12280 | (eval $ac_try) 2>&5 | ||
12281 | ac_status=$? | ||
12282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12283 | (exit $ac_status); }; }; then | ||
12284 | |||
12285 | cat >>confdefs.h <<\_ACEOF | ||
12286 | @%:@define HAVE_U_INTXX_T 1 | ||
12287 | _ACEOF | ||
12288 | |||
12289 | echo "$as_me:$LINENO: result: yes" >&5 | ||
12290 | echo "${ECHO_T}yes" >&6 | ||
12291 | |||
12292 | else | ||
12293 | echo "$as_me: failed program was:" >&5 | ||
12294 | cat conftest.$ac_ext >&5 | ||
12295 | echo "$as_me:$LINENO: result: no" >&5 | ||
12296 | echo "${ECHO_T}no" >&6 | ||
12297 | |||
12298 | fi | ||
12299 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12300 | fi | ||
12301 | |||
12302 | echo "$as_me:$LINENO: checking for u_int64_t types" >&5 | ||
12303 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 | ||
12304 | if test "${ac_cv_have_u_int64_t+set}" = set; then | ||
12305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12306 | else | ||
12307 | |||
12308 | cat >conftest.$ac_ext <<_ACEOF | ||
12309 | #line $LINENO "configure" | ||
12310 | #include "confdefs.h" | ||
12311 | #include <sys/types.h> | ||
12312 | #ifdef F77_DUMMY_MAIN | ||
12313 | # ifdef __cplusplus | ||
12314 | extern "C" | ||
12315 | # endif | ||
12316 | int F77_DUMMY_MAIN() { return 1; } | ||
12317 | #endif | ||
12318 | int | ||
12319 | main () | ||
12320 | { | ||
12321 | u_int64_t a; a = 1; | ||
12322 | ; | ||
12323 | return 0; | ||
12324 | } | ||
12325 | _ACEOF | ||
12326 | rm -f conftest.$ac_objext | ||
12327 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12328 | (eval $ac_compile) 2>&5 | ||
12329 | ac_status=$? | ||
12330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12331 | (exit $ac_status); } && | ||
12332 | { ac_try='test -s conftest.$ac_objext' | ||
12333 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12334 | (eval $ac_try) 2>&5 | ||
12335 | ac_status=$? | ||
12336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12337 | (exit $ac_status); }; }; then | ||
12338 | ac_cv_have_u_int64_t="yes" | ||
12339 | else | ||
12340 | echo "$as_me: failed program was:" >&5 | ||
12341 | cat conftest.$ac_ext >&5 | ||
12342 | ac_cv_have_u_int64_t="no" | ||
12343 | |||
12344 | fi | ||
12345 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12346 | |||
12347 | fi | ||
12348 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 | ||
12349 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 | ||
12350 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | ||
12351 | cat >>confdefs.h <<\_ACEOF | ||
12352 | @%:@define HAVE_U_INT64_T 1 | ||
12353 | _ACEOF | ||
12354 | |||
12355 | have_u_int64_t=1 | ||
12356 | fi | ||
12357 | |||
12358 | if test -z "$have_u_int64_t" ; then | ||
12359 | echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 | ||
12360 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 | ||
12361 | cat >conftest.$ac_ext <<_ACEOF | ||
12362 | #line $LINENO "configure" | ||
12363 | #include "confdefs.h" | ||
12364 | #include <sys/bitypes.h> | ||
12365 | #ifdef F77_DUMMY_MAIN | ||
12366 | # ifdef __cplusplus | ||
12367 | extern "C" | ||
12368 | # endif | ||
12369 | int F77_DUMMY_MAIN() { return 1; } | ||
12370 | #endif | ||
12371 | int | ||
12372 | main () | ||
12373 | { | ||
12374 | u_int64_t a; a = 1 | ||
12375 | ; | ||
12376 | return 0; | ||
12377 | } | ||
12378 | _ACEOF | ||
12379 | rm -f conftest.$ac_objext | ||
12380 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12381 | (eval $ac_compile) 2>&5 | ||
12382 | ac_status=$? | ||
12383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12384 | (exit $ac_status); } && | ||
12385 | { ac_try='test -s conftest.$ac_objext' | ||
12386 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12387 | (eval $ac_try) 2>&5 | ||
12388 | ac_status=$? | ||
12389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12390 | (exit $ac_status); }; }; then | ||
12391 | |||
12392 | cat >>confdefs.h <<\_ACEOF | ||
12393 | @%:@define HAVE_U_INT64_T 1 | ||
12394 | _ACEOF | ||
12395 | |||
12396 | echo "$as_me:$LINENO: result: yes" >&5 | ||
12397 | echo "${ECHO_T}yes" >&6 | ||
12398 | |||
12399 | else | ||
12400 | echo "$as_me: failed program was:" >&5 | ||
12401 | cat conftest.$ac_ext >&5 | ||
12402 | echo "$as_me:$LINENO: result: no" >&5 | ||
12403 | echo "${ECHO_T}no" >&6 | ||
12404 | |||
12405 | fi | ||
12406 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12407 | fi | ||
12408 | |||
12409 | if test -z "$have_u_intxx_t" ; then | ||
12410 | echo "$as_me:$LINENO: checking for uintXX_t types" >&5 | ||
12411 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 | ||
12412 | if test "${ac_cv_have_uintxx_t+set}" = set; then | ||
12413 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12414 | else | ||
12415 | |||
12416 | cat >conftest.$ac_ext <<_ACEOF | ||
12417 | #line $LINENO "configure" | ||
12418 | #include "confdefs.h" | ||
12419 | |||
12420 | #include <sys/types.h> | ||
12421 | |||
12422 | #ifdef F77_DUMMY_MAIN | ||
12423 | # ifdef __cplusplus | ||
12424 | extern "C" | ||
12425 | # endif | ||
12426 | int F77_DUMMY_MAIN() { return 1; } | ||
12427 | #endif | ||
12428 | int | ||
12429 | main () | ||
12430 | { | ||
12431 | uint8_t a; uint16_t b; uint32_t c; a = b = c = 1; | ||
12432 | ; | ||
12433 | return 0; | ||
12434 | } | ||
12435 | _ACEOF | ||
12436 | rm -f conftest.$ac_objext | ||
12437 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12438 | (eval $ac_compile) 2>&5 | ||
12439 | ac_status=$? | ||
12440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12441 | (exit $ac_status); } && | ||
12442 | { ac_try='test -s conftest.$ac_objext' | ||
12443 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12444 | (eval $ac_try) 2>&5 | ||
12445 | ac_status=$? | ||
12446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12447 | (exit $ac_status); }; }; then | ||
12448 | ac_cv_have_uintxx_t="yes" | ||
12449 | else | ||
12450 | echo "$as_me: failed program was:" >&5 | ||
12451 | cat conftest.$ac_ext >&5 | ||
12452 | ac_cv_have_uintxx_t="no" | ||
12453 | |||
12454 | fi | ||
12455 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12456 | |||
12457 | fi | ||
12458 | echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 | ||
12459 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 | ||
12460 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then | ||
12461 | cat >>confdefs.h <<\_ACEOF | ||
12462 | @%:@define HAVE_UINTXX_T 1 | ||
12463 | _ACEOF | ||
12464 | |||
12465 | fi | ||
12466 | fi | ||
12467 | |||
12468 | if test -z "$have_uintxx_t" ; then | ||
12469 | echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 | ||
12470 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 | ||
12471 | cat >conftest.$ac_ext <<_ACEOF | ||
12472 | #line $LINENO "configure" | ||
12473 | #include "confdefs.h" | ||
12474 | #include <stdint.h> | ||
12475 | #ifdef F77_DUMMY_MAIN | ||
12476 | # ifdef __cplusplus | ||
12477 | extern "C" | ||
12478 | # endif | ||
12479 | int F77_DUMMY_MAIN() { return 1; } | ||
12480 | #endif | ||
12481 | int | ||
12482 | main () | ||
12483 | { | ||
12484 | uint8_t a; uint16_t b; uint32_t c; a = b = c = 1; | ||
12485 | ; | ||
12486 | return 0; | ||
12487 | } | ||
12488 | _ACEOF | ||
12489 | rm -f conftest.$ac_objext | ||
12490 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12491 | (eval $ac_compile) 2>&5 | ||
12492 | ac_status=$? | ||
12493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12494 | (exit $ac_status); } && | ||
12495 | { ac_try='test -s conftest.$ac_objext' | ||
12496 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12497 | (eval $ac_try) 2>&5 | ||
12498 | ac_status=$? | ||
12499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12500 | (exit $ac_status); }; }; then | ||
12501 | |||
12502 | cat >>confdefs.h <<\_ACEOF | ||
12503 | @%:@define HAVE_UINTXX_T 1 | ||
12504 | _ACEOF | ||
12505 | |||
12506 | echo "$as_me:$LINENO: result: yes" >&5 | ||
12507 | echo "${ECHO_T}yes" >&6 | ||
12508 | |||
12509 | else | ||
12510 | echo "$as_me: failed program was:" >&5 | ||
12511 | cat conftest.$ac_ext >&5 | ||
12512 | echo "$as_me:$LINENO: result: no" >&5 | ||
12513 | echo "${ECHO_T}no" >&6 | ||
12514 | |||
12515 | fi | ||
12516 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12517 | fi | ||
12518 | |||
12519 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | ||
12520 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | ||
12521 | then | ||
12522 | echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 | ||
12523 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 | ||
12524 | cat >conftest.$ac_ext <<_ACEOF | ||
12525 | #line $LINENO "configure" | ||
12526 | #include "confdefs.h" | ||
12527 | |||
12528 | #include <sys/bitypes.h> | ||
12529 | |||
12530 | #ifdef F77_DUMMY_MAIN | ||
12531 | # ifdef __cplusplus | ||
12532 | extern "C" | ||
12533 | # endif | ||
12534 | int F77_DUMMY_MAIN() { return 1; } | ||
12535 | #endif | ||
12536 | int | ||
12537 | main () | ||
12538 | { | ||
12539 | |||
12540 | int8_t a; int16_t b; int32_t c; | ||
12541 | u_int8_t e; u_int16_t f; u_int32_t g; | ||
12542 | a = b = c = e = f = g = 1; | ||
12543 | |||
12544 | ; | ||
12545 | return 0; | ||
12546 | } | ||
12547 | _ACEOF | ||
12548 | rm -f conftest.$ac_objext | ||
12549 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12550 | (eval $ac_compile) 2>&5 | ||
12551 | ac_status=$? | ||
12552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12553 | (exit $ac_status); } && | ||
12554 | { ac_try='test -s conftest.$ac_objext' | ||
12555 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12556 | (eval $ac_try) 2>&5 | ||
12557 | ac_status=$? | ||
12558 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12559 | (exit $ac_status); }; }; then | ||
12560 | |||
12561 | cat >>confdefs.h <<\_ACEOF | ||
12562 | @%:@define HAVE_U_INTXX_T 1 | ||
12563 | _ACEOF | ||
12564 | |||
12565 | cat >>confdefs.h <<\_ACEOF | ||
12566 | @%:@define HAVE_INTXX_T 1 | ||
12567 | _ACEOF | ||
12568 | |||
12569 | echo "$as_me:$LINENO: result: yes" >&5 | ||
12570 | echo "${ECHO_T}yes" >&6 | ||
12571 | |||
12572 | else | ||
12573 | echo "$as_me: failed program was:" >&5 | ||
12574 | cat conftest.$ac_ext >&5 | ||
12575 | echo "$as_me:$LINENO: result: no" >&5 | ||
12576 | echo "${ECHO_T}no" >&6 | ||
12577 | |||
12578 | fi | ||
12579 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12580 | fi | ||
12581 | |||
12582 | |||
12583 | echo "$as_me:$LINENO: checking for u_char" >&5 | ||
12584 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 | ||
12585 | if test "${ac_cv_have_u_char+set}" = set; then | ||
12586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12587 | else | ||
12588 | |||
12589 | cat >conftest.$ac_ext <<_ACEOF | ||
12590 | #line $LINENO "configure" | ||
12591 | #include "confdefs.h" | ||
12592 | |||
12593 | #include <sys/types.h> | ||
12594 | |||
12595 | #ifdef F77_DUMMY_MAIN | ||
12596 | # ifdef __cplusplus | ||
12597 | extern "C" | ||
12598 | # endif | ||
12599 | int F77_DUMMY_MAIN() { return 1; } | ||
12600 | #endif | ||
12601 | int | ||
12602 | main () | ||
12603 | { | ||
12604 | u_char foo; foo = 125; | ||
12605 | ; | ||
12606 | return 0; | ||
12607 | } | ||
12608 | _ACEOF | ||
12609 | rm -f conftest.$ac_objext | ||
12610 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12611 | (eval $ac_compile) 2>&5 | ||
12612 | ac_status=$? | ||
12613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12614 | (exit $ac_status); } && | ||
12615 | { ac_try='test -s conftest.$ac_objext' | ||
12616 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12617 | (eval $ac_try) 2>&5 | ||
12618 | ac_status=$? | ||
12619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12620 | (exit $ac_status); }; }; then | ||
12621 | ac_cv_have_u_char="yes" | ||
12622 | else | ||
12623 | echo "$as_me: failed program was:" >&5 | ||
12624 | cat conftest.$ac_ext >&5 | ||
12625 | ac_cv_have_u_char="no" | ||
12626 | |||
12627 | fi | ||
12628 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12629 | |||
12630 | fi | ||
12631 | echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 | ||
12632 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 | ||
12633 | if test "x$ac_cv_have_u_char" = "xyes" ; then | ||
12634 | cat >>confdefs.h <<\_ACEOF | ||
12635 | @%:@define HAVE_U_CHAR 1 | ||
12636 | _ACEOF | ||
12637 | |||
12638 | fi | ||
12639 | |||
12640 | |||
12641 | echo "$as_me:$LINENO: checking for socklen_t" >&5 | ||
12642 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 | ||
12643 | if test "${ac_cv_type_socklen_t+set}" = set; then | ||
12644 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12645 | else | ||
12646 | cat >conftest.$ac_ext <<_ACEOF | ||
12647 | #line $LINENO "configure" | ||
12648 | #include "confdefs.h" | ||
12649 | #include <sys/types.h> | ||
12650 | #include <sys/socket.h> | ||
12651 | |||
12652 | #ifdef F77_DUMMY_MAIN | ||
12653 | # ifdef __cplusplus | ||
12654 | extern "C" | ||
12655 | # endif | ||
12656 | int F77_DUMMY_MAIN() { return 1; } | ||
12657 | #endif | ||
12658 | int | ||
12659 | main () | ||
12660 | { | ||
12661 | if ((socklen_t *) 0) | ||
12662 | return 0; | ||
12663 | if (sizeof (socklen_t)) | ||
12664 | return 0; | ||
12665 | ; | ||
12666 | return 0; | ||
12667 | } | ||
12668 | _ACEOF | ||
12669 | rm -f conftest.$ac_objext | ||
12670 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12671 | (eval $ac_compile) 2>&5 | ||
12672 | ac_status=$? | ||
12673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12674 | (exit $ac_status); } && | ||
12675 | { ac_try='test -s conftest.$ac_objext' | ||
12676 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12677 | (eval $ac_try) 2>&5 | ||
12678 | ac_status=$? | ||
12679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12680 | (exit $ac_status); }; }; then | ||
12681 | ac_cv_type_socklen_t=yes | ||
12682 | else | ||
12683 | echo "$as_me: failed program was:" >&5 | ||
12684 | cat conftest.$ac_ext >&5 | ||
12685 | ac_cv_type_socklen_t=no | ||
12686 | fi | ||
12687 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12688 | fi | ||
12689 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 | ||
12690 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 | ||
12691 | if test $ac_cv_type_socklen_t = yes; then | ||
12692 | : | ||
12693 | else | ||
12694 | |||
12695 | echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 | ||
12696 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 | ||
12697 | if test "${curl_cv_socklen_t_equiv+set}" = set; then | ||
12698 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12699 | else | ||
12700 | |||
12701 | # Systems have either "struct sockaddr *" or | ||
12702 | # "void *" as the second argument to getpeername | ||
12703 | curl_cv_socklen_t_equiv= | ||
12704 | for arg2 in "struct sockaddr" void; do | ||
12705 | for t in int size_t unsigned long "unsigned long"; do | ||
12706 | cat >conftest.$ac_ext <<_ACEOF | ||
12707 | #line $LINENO "configure" | ||
12708 | #include "confdefs.h" | ||
12709 | |||
12710 | #include <sys/types.h> | ||
12711 | #include <sys/socket.h> | ||
12712 | |||
12713 | int getpeername (int, $arg2 *, $t *); | ||
12714 | |||
12715 | #ifdef F77_DUMMY_MAIN | ||
12716 | # ifdef __cplusplus | ||
12717 | extern "C" | ||
12718 | # endif | ||
12719 | int F77_DUMMY_MAIN() { return 1; } | ||
12720 | #endif | ||
12721 | int | ||
12722 | main () | ||
12723 | { | ||
12724 | |||
12725 | $t len; | ||
12726 | getpeername(0,0,&len); | ||
12727 | |||
12728 | ; | ||
12729 | return 0; | ||
12730 | } | ||
12731 | _ACEOF | ||
12732 | rm -f conftest.$ac_objext | ||
12733 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12734 | (eval $ac_compile) 2>&5 | ||
12735 | ac_status=$? | ||
12736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12737 | (exit $ac_status); } && | ||
12738 | { ac_try='test -s conftest.$ac_objext' | ||
12739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12740 | (eval $ac_try) 2>&5 | ||
12741 | ac_status=$? | ||
12742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12743 | (exit $ac_status); }; }; then | ||
12744 | |||
12745 | curl_cv_socklen_t_equiv="$t" | ||
12746 | break | ||
12747 | |||
12748 | else | ||
12749 | echo "$as_me: failed program was:" >&5 | ||
12750 | cat conftest.$ac_ext >&5 | ||
12751 | fi | ||
12752 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12753 | done | ||
12754 | done | ||
12755 | |||
12756 | if test "x$curl_cv_socklen_t_equiv" = x; then | ||
12757 | { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5 | ||
12758 | echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} | ||
12759 | { (exit 1); exit 1; }; } | ||
12760 | fi | ||
12761 | |||
12762 | fi | ||
12763 | |||
12764 | echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 | ||
12765 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 | ||
12766 | |||
12767 | cat >>confdefs.h <<_ACEOF | ||
12768 | @%:@define socklen_t $curl_cv_socklen_t_equiv | ||
12769 | _ACEOF | ||
12770 | |||
12771 | fi | ||
12772 | |||
12773 | |||
12774 | |||
12775 | echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 | ||
12776 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 | ||
12777 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then | ||
12778 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12779 | else | ||
12780 | cat >conftest.$ac_ext <<_ACEOF | ||
12781 | #line $LINENO "configure" | ||
12782 | #include "confdefs.h" | ||
12783 | #include <signal.h> | ||
12784 | |||
12785 | #ifdef F77_DUMMY_MAIN | ||
12786 | # ifdef __cplusplus | ||
12787 | extern "C" | ||
12788 | # endif | ||
12789 | int F77_DUMMY_MAIN() { return 1; } | ||
12790 | #endif | ||
12791 | int | ||
12792 | main () | ||
12793 | { | ||
12794 | if ((sig_atomic_t *) 0) | ||
12795 | return 0; | ||
12796 | if (sizeof (sig_atomic_t)) | ||
12797 | return 0; | ||
12798 | ; | ||
12799 | return 0; | ||
12800 | } | ||
12801 | _ACEOF | ||
12802 | rm -f conftest.$ac_objext | ||
12803 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12804 | (eval $ac_compile) 2>&5 | ||
12805 | ac_status=$? | ||
12806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12807 | (exit $ac_status); } && | ||
12808 | { ac_try='test -s conftest.$ac_objext' | ||
12809 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12810 | (eval $ac_try) 2>&5 | ||
12811 | ac_status=$? | ||
12812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12813 | (exit $ac_status); }; }; then | ||
12814 | ac_cv_type_sig_atomic_t=yes | ||
12815 | else | ||
12816 | echo "$as_me: failed program was:" >&5 | ||
12817 | cat conftest.$ac_ext >&5 | ||
12818 | ac_cv_type_sig_atomic_t=no | ||
12819 | fi | ||
12820 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12821 | fi | ||
12822 | echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 | ||
12823 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 | ||
12824 | if test $ac_cv_type_sig_atomic_t = yes; then | ||
12825 | |||
12826 | cat >>confdefs.h <<_ACEOF | ||
12827 | @%:@define HAVE_SIG_ATOMIC_T 1 | ||
12828 | _ACEOF | ||
12829 | |||
12830 | |||
12831 | fi | ||
12832 | |||
12833 | |||
12834 | echo "$as_me:$LINENO: checking for size_t" >&5 | ||
12835 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | ||
12836 | if test "${ac_cv_have_size_t+set}" = set; then | ||
12837 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12838 | else | ||
12839 | |||
12840 | cat >conftest.$ac_ext <<_ACEOF | ||
12841 | #line $LINENO "configure" | ||
12842 | #include "confdefs.h" | ||
12843 | |||
12844 | #include <sys/types.h> | ||
12845 | |||
12846 | #ifdef F77_DUMMY_MAIN | ||
12847 | # ifdef __cplusplus | ||
12848 | extern "C" | ||
12849 | # endif | ||
12850 | int F77_DUMMY_MAIN() { return 1; } | ||
12851 | #endif | ||
12852 | int | ||
12853 | main () | ||
12854 | { | ||
12855 | size_t foo; foo = 1235; | ||
12856 | ; | ||
12857 | return 0; | ||
12858 | } | ||
12859 | _ACEOF | ||
12860 | rm -f conftest.$ac_objext | ||
12861 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12862 | (eval $ac_compile) 2>&5 | ||
12863 | ac_status=$? | ||
12864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12865 | (exit $ac_status); } && | ||
12866 | { ac_try='test -s conftest.$ac_objext' | ||
12867 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12868 | (eval $ac_try) 2>&5 | ||
12869 | ac_status=$? | ||
12870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12871 | (exit $ac_status); }; }; then | ||
12872 | ac_cv_have_size_t="yes" | ||
12873 | else | ||
12874 | echo "$as_me: failed program was:" >&5 | ||
12875 | cat conftest.$ac_ext >&5 | ||
12876 | ac_cv_have_size_t="no" | ||
12877 | |||
12878 | fi | ||
12879 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12880 | |||
12881 | fi | ||
12882 | echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 | ||
12883 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 | ||
12884 | if test "x$ac_cv_have_size_t" = "xyes" ; then | ||
12885 | cat >>confdefs.h <<\_ACEOF | ||
12886 | @%:@define HAVE_SIZE_T 1 | ||
12887 | _ACEOF | ||
12888 | |||
12889 | fi | ||
12890 | |||
12891 | echo "$as_me:$LINENO: checking for ssize_t" >&5 | ||
12892 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 | ||
12893 | if test "${ac_cv_have_ssize_t+set}" = set; then | ||
12894 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12895 | else | ||
12896 | |||
12897 | cat >conftest.$ac_ext <<_ACEOF | ||
12898 | #line $LINENO "configure" | ||
12899 | #include "confdefs.h" | ||
12900 | |||
12901 | #include <sys/types.h> | ||
12902 | |||
12903 | #ifdef F77_DUMMY_MAIN | ||
12904 | # ifdef __cplusplus | ||
12905 | extern "C" | ||
12906 | # endif | ||
12907 | int F77_DUMMY_MAIN() { return 1; } | ||
12908 | #endif | ||
12909 | int | ||
12910 | main () | ||
12911 | { | ||
12912 | ssize_t foo; foo = 1235; | ||
12913 | ; | ||
12914 | return 0; | ||
12915 | } | ||
12916 | _ACEOF | ||
12917 | rm -f conftest.$ac_objext | ||
12918 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12919 | (eval $ac_compile) 2>&5 | ||
12920 | ac_status=$? | ||
12921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12922 | (exit $ac_status); } && | ||
12923 | { ac_try='test -s conftest.$ac_objext' | ||
12924 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12925 | (eval $ac_try) 2>&5 | ||
12926 | ac_status=$? | ||
12927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12928 | (exit $ac_status); }; }; then | ||
12929 | ac_cv_have_ssize_t="yes" | ||
12930 | else | ||
12931 | echo "$as_me: failed program was:" >&5 | ||
12932 | cat conftest.$ac_ext >&5 | ||
12933 | ac_cv_have_ssize_t="no" | ||
12934 | |||
12935 | fi | ||
12936 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12937 | |||
12938 | fi | ||
12939 | echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 | ||
12940 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 | ||
12941 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | ||
12942 | cat >>confdefs.h <<\_ACEOF | ||
12943 | @%:@define HAVE_SSIZE_T 1 | ||
12944 | _ACEOF | ||
12945 | |||
12946 | fi | ||
12947 | |||
12948 | echo "$as_me:$LINENO: checking for clock_t" >&5 | ||
12949 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 | ||
12950 | if test "${ac_cv_have_clock_t+set}" = set; then | ||
12951 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12952 | else | ||
12953 | |||
12954 | cat >conftest.$ac_ext <<_ACEOF | ||
12955 | #line $LINENO "configure" | ||
12956 | #include "confdefs.h" | ||
12957 | |||
12958 | #include <time.h> | ||
12959 | |||
12960 | #ifdef F77_DUMMY_MAIN | ||
12961 | # ifdef __cplusplus | ||
12962 | extern "C" | ||
12963 | # endif | ||
12964 | int F77_DUMMY_MAIN() { return 1; } | ||
12965 | #endif | ||
12966 | int | ||
12967 | main () | ||
12968 | { | ||
12969 | clock_t foo; foo = 1235; | ||
12970 | ; | ||
12971 | return 0; | ||
12972 | } | ||
12973 | _ACEOF | ||
12974 | rm -f conftest.$ac_objext | ||
12975 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12976 | (eval $ac_compile) 2>&5 | ||
12977 | ac_status=$? | ||
12978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12979 | (exit $ac_status); } && | ||
12980 | { ac_try='test -s conftest.$ac_objext' | ||
12981 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12982 | (eval $ac_try) 2>&5 | ||
12983 | ac_status=$? | ||
12984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12985 | (exit $ac_status); }; }; then | ||
12986 | ac_cv_have_clock_t="yes" | ||
12987 | else | ||
12988 | echo "$as_me: failed program was:" >&5 | ||
12989 | cat conftest.$ac_ext >&5 | ||
12990 | ac_cv_have_clock_t="no" | ||
12991 | |||
12992 | fi | ||
12993 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12994 | |||
12995 | fi | ||
12996 | echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 | ||
12997 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 | ||
12998 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | ||
12999 | cat >>confdefs.h <<\_ACEOF | ||
13000 | @%:@define HAVE_CLOCK_T 1 | ||
13001 | _ACEOF | ||
13002 | |||
13003 | fi | ||
13004 | |||
13005 | echo "$as_me:$LINENO: checking for sa_family_t" >&5 | ||
13006 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 | ||
13007 | if test "${ac_cv_have_sa_family_t+set}" = set; then | ||
13008 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13009 | else | ||
13010 | |||
13011 | cat >conftest.$ac_ext <<_ACEOF | ||
13012 | #line $LINENO "configure" | ||
13013 | #include "confdefs.h" | ||
13014 | |||
13015 | #include <sys/types.h> | ||
13016 | #include <sys/socket.h> | ||
13017 | |||
13018 | #ifdef F77_DUMMY_MAIN | ||
13019 | # ifdef __cplusplus | ||
13020 | extern "C" | ||
13021 | # endif | ||
13022 | int F77_DUMMY_MAIN() { return 1; } | ||
13023 | #endif | ||
13024 | int | ||
13025 | main () | ||
13026 | { | ||
13027 | sa_family_t foo; foo = 1235; | ||
13028 | ; | ||
13029 | return 0; | ||
13030 | } | ||
13031 | _ACEOF | ||
13032 | rm -f conftest.$ac_objext | ||
13033 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13034 | (eval $ac_compile) 2>&5 | ||
13035 | ac_status=$? | ||
13036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13037 | (exit $ac_status); } && | ||
13038 | { ac_try='test -s conftest.$ac_objext' | ||
13039 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13040 | (eval $ac_try) 2>&5 | ||
13041 | ac_status=$? | ||
13042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13043 | (exit $ac_status); }; }; then | ||
13044 | ac_cv_have_sa_family_t="yes" | ||
13045 | else | ||
13046 | echo "$as_me: failed program was:" >&5 | ||
13047 | cat conftest.$ac_ext >&5 | ||
13048 | cat >conftest.$ac_ext <<_ACEOF | ||
13049 | #line $LINENO "configure" | ||
13050 | #include "confdefs.h" | ||
13051 | |||
13052 | #include <sys/types.h> | ||
13053 | #include <sys/socket.h> | ||
13054 | #include <netinet/in.h> | ||
13055 | |||
13056 | #ifdef F77_DUMMY_MAIN | ||
13057 | # ifdef __cplusplus | ||
13058 | extern "C" | ||
13059 | # endif | ||
13060 | int F77_DUMMY_MAIN() { return 1; } | ||
13061 | #endif | ||
13062 | int | ||
13063 | main () | ||
13064 | { | ||
13065 | sa_family_t foo; foo = 1235; | ||
13066 | ; | ||
13067 | return 0; | ||
13068 | } | ||
13069 | _ACEOF | ||
13070 | rm -f conftest.$ac_objext | ||
13071 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13072 | (eval $ac_compile) 2>&5 | ||
13073 | ac_status=$? | ||
13074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13075 | (exit $ac_status); } && | ||
13076 | { ac_try='test -s conftest.$ac_objext' | ||
13077 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13078 | (eval $ac_try) 2>&5 | ||
13079 | ac_status=$? | ||
13080 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13081 | (exit $ac_status); }; }; then | ||
13082 | ac_cv_have_sa_family_t="yes" | ||
13083 | else | ||
13084 | echo "$as_me: failed program was:" >&5 | ||
13085 | cat conftest.$ac_ext >&5 | ||
13086 | ac_cv_have_sa_family_t="no" | ||
13087 | |||
13088 | fi | ||
13089 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13090 | |||
13091 | fi | ||
13092 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13093 | |||
13094 | fi | ||
13095 | echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 | ||
13096 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 | ||
13097 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | ||
13098 | cat >>confdefs.h <<\_ACEOF | ||
13099 | @%:@define HAVE_SA_FAMILY_T 1 | ||
13100 | _ACEOF | ||
13101 | |||
13102 | fi | ||
13103 | |||
13104 | echo "$as_me:$LINENO: checking for pid_t" >&5 | ||
13105 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | ||
13106 | if test "${ac_cv_have_pid_t+set}" = set; then | ||
13107 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13108 | else | ||
13109 | |||
13110 | cat >conftest.$ac_ext <<_ACEOF | ||
13111 | #line $LINENO "configure" | ||
13112 | #include "confdefs.h" | ||
13113 | |||
13114 | #include <sys/types.h> | ||
13115 | |||
13116 | #ifdef F77_DUMMY_MAIN | ||
13117 | # ifdef __cplusplus | ||
13118 | extern "C" | ||
13119 | # endif | ||
13120 | int F77_DUMMY_MAIN() { return 1; } | ||
13121 | #endif | ||
13122 | int | ||
13123 | main () | ||
13124 | { | ||
13125 | pid_t foo; foo = 1235; | ||
13126 | ; | ||
13127 | return 0; | ||
13128 | } | ||
13129 | _ACEOF | ||
13130 | rm -f conftest.$ac_objext | ||
13131 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13132 | (eval $ac_compile) 2>&5 | ||
13133 | ac_status=$? | ||
13134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13135 | (exit $ac_status); } && | ||
13136 | { ac_try='test -s conftest.$ac_objext' | ||
13137 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13138 | (eval $ac_try) 2>&5 | ||
13139 | ac_status=$? | ||
13140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13141 | (exit $ac_status); }; }; then | ||
13142 | ac_cv_have_pid_t="yes" | ||
13143 | else | ||
13144 | echo "$as_me: failed program was:" >&5 | ||
13145 | cat conftest.$ac_ext >&5 | ||
13146 | ac_cv_have_pid_t="no" | ||
13147 | |||
13148 | fi | ||
13149 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13150 | |||
13151 | fi | ||
13152 | echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 | ||
13153 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 | ||
13154 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | ||
13155 | cat >>confdefs.h <<\_ACEOF | ||
13156 | @%:@define HAVE_PID_T 1 | ||
13157 | _ACEOF | ||
13158 | |||
13159 | fi | ||
13160 | |||
13161 | echo "$as_me:$LINENO: checking for mode_t" >&5 | ||
13162 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 | ||
13163 | if test "${ac_cv_have_mode_t+set}" = set; then | ||
13164 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13165 | else | ||
13166 | |||
13167 | cat >conftest.$ac_ext <<_ACEOF | ||
13168 | #line $LINENO "configure" | ||
13169 | #include "confdefs.h" | ||
13170 | |||
13171 | #include <sys/types.h> | ||
13172 | |||
13173 | #ifdef F77_DUMMY_MAIN | ||
13174 | # ifdef __cplusplus | ||
13175 | extern "C" | ||
13176 | # endif | ||
13177 | int F77_DUMMY_MAIN() { return 1; } | ||
13178 | #endif | ||
13179 | int | ||
13180 | main () | ||
13181 | { | ||
13182 | mode_t foo; foo = 1235; | ||
13183 | ; | ||
13184 | return 0; | ||
13185 | } | ||
13186 | _ACEOF | ||
13187 | rm -f conftest.$ac_objext | ||
13188 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13189 | (eval $ac_compile) 2>&5 | ||
13190 | ac_status=$? | ||
13191 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13192 | (exit $ac_status); } && | ||
13193 | { ac_try='test -s conftest.$ac_objext' | ||
13194 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13195 | (eval $ac_try) 2>&5 | ||
13196 | ac_status=$? | ||
13197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13198 | (exit $ac_status); }; }; then | ||
13199 | ac_cv_have_mode_t="yes" | ||
13200 | else | ||
13201 | echo "$as_me: failed program was:" >&5 | ||
13202 | cat conftest.$ac_ext >&5 | ||
13203 | ac_cv_have_mode_t="no" | ||
13204 | |||
13205 | fi | ||
13206 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13207 | |||
13208 | fi | ||
13209 | echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 | ||
13210 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 | ||
13211 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | ||
13212 | cat >>confdefs.h <<\_ACEOF | ||
13213 | @%:@define HAVE_MODE_T 1 | ||
13214 | _ACEOF | ||
13215 | |||
13216 | fi | ||
13217 | |||
13218 | |||
13219 | echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 | ||
13220 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 | ||
13221 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then | ||
13222 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13223 | else | ||
13224 | |||
13225 | cat >conftest.$ac_ext <<_ACEOF | ||
13226 | #line $LINENO "configure" | ||
13227 | #include "confdefs.h" | ||
13228 | |||
13229 | #include <sys/types.h> | ||
13230 | #include <sys/socket.h> | ||
13231 | |||
13232 | #ifdef F77_DUMMY_MAIN | ||
13233 | # ifdef __cplusplus | ||
13234 | extern "C" | ||
13235 | # endif | ||
13236 | int F77_DUMMY_MAIN() { return 1; } | ||
13237 | #endif | ||
13238 | int | ||
13239 | main () | ||
13240 | { | ||
13241 | struct sockaddr_storage s; | ||
13242 | ; | ||
13243 | return 0; | ||
13244 | } | ||
13245 | _ACEOF | ||
13246 | rm -f conftest.$ac_objext | ||
13247 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13248 | (eval $ac_compile) 2>&5 | ||
13249 | ac_status=$? | ||
13250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13251 | (exit $ac_status); } && | ||
13252 | { ac_try='test -s conftest.$ac_objext' | ||
13253 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13254 | (eval $ac_try) 2>&5 | ||
13255 | ac_status=$? | ||
13256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13257 | (exit $ac_status); }; }; then | ||
13258 | ac_cv_have_struct_sockaddr_storage="yes" | ||
13259 | else | ||
13260 | echo "$as_me: failed program was:" >&5 | ||
13261 | cat conftest.$ac_ext >&5 | ||
13262 | ac_cv_have_struct_sockaddr_storage="no" | ||
13263 | |||
13264 | fi | ||
13265 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13266 | |||
13267 | fi | ||
13268 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 | ||
13269 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 | ||
13270 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | ||
13271 | cat >>confdefs.h <<\_ACEOF | ||
13272 | @%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1 | ||
13273 | _ACEOF | ||
13274 | |||
13275 | fi | ||
13276 | |||
13277 | echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 | ||
13278 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 | ||
13279 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then | ||
13280 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13281 | else | ||
13282 | |||
13283 | cat >conftest.$ac_ext <<_ACEOF | ||
13284 | #line $LINENO "configure" | ||
13285 | #include "confdefs.h" | ||
13286 | |||
13287 | #include <sys/types.h> | ||
13288 | #include <netinet/in.h> | ||
13289 | |||
13290 | #ifdef F77_DUMMY_MAIN | ||
13291 | # ifdef __cplusplus | ||
13292 | extern "C" | ||
13293 | # endif | ||
13294 | int F77_DUMMY_MAIN() { return 1; } | ||
13295 | #endif | ||
13296 | int | ||
13297 | main () | ||
13298 | { | ||
13299 | struct sockaddr_in6 s; s.sin6_family = 0; | ||
13300 | ; | ||
13301 | return 0; | ||
13302 | } | ||
13303 | _ACEOF | ||
13304 | rm -f conftest.$ac_objext | ||
13305 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13306 | (eval $ac_compile) 2>&5 | ||
13307 | ac_status=$? | ||
13308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13309 | (exit $ac_status); } && | ||
13310 | { ac_try='test -s conftest.$ac_objext' | ||
13311 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13312 | (eval $ac_try) 2>&5 | ||
13313 | ac_status=$? | ||
13314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13315 | (exit $ac_status); }; }; then | ||
13316 | ac_cv_have_struct_sockaddr_in6="yes" | ||
13317 | else | ||
13318 | echo "$as_me: failed program was:" >&5 | ||
13319 | cat conftest.$ac_ext >&5 | ||
13320 | ac_cv_have_struct_sockaddr_in6="no" | ||
13321 | |||
13322 | fi | ||
13323 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13324 | |||
13325 | fi | ||
13326 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 | ||
13327 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 | ||
13328 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | ||
13329 | cat >>confdefs.h <<\_ACEOF | ||
13330 | @%:@define HAVE_STRUCT_SOCKADDR_IN6 1 | ||
13331 | _ACEOF | ||
13332 | |||
13333 | fi | ||
13334 | |||
13335 | echo "$as_me:$LINENO: checking for struct in6_addr" >&5 | ||
13336 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 | ||
13337 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then | ||
13338 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13339 | else | ||
13340 | |||
13341 | cat >conftest.$ac_ext <<_ACEOF | ||
13342 | #line $LINENO "configure" | ||
13343 | #include "confdefs.h" | ||
13344 | |||
13345 | #include <sys/types.h> | ||
13346 | #include <netinet/in.h> | ||
13347 | |||
13348 | #ifdef F77_DUMMY_MAIN | ||
13349 | # ifdef __cplusplus | ||
13350 | extern "C" | ||
13351 | # endif | ||
13352 | int F77_DUMMY_MAIN() { return 1; } | ||
13353 | #endif | ||
13354 | int | ||
13355 | main () | ||
13356 | { | ||
13357 | struct in6_addr s; s.s6_addr[0] = 0; | ||
13358 | ; | ||
13359 | return 0; | ||
13360 | } | ||
13361 | _ACEOF | ||
13362 | rm -f conftest.$ac_objext | ||
13363 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13364 | (eval $ac_compile) 2>&5 | ||
13365 | ac_status=$? | ||
13366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13367 | (exit $ac_status); } && | ||
13368 | { ac_try='test -s conftest.$ac_objext' | ||
13369 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13370 | (eval $ac_try) 2>&5 | ||
13371 | ac_status=$? | ||
13372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13373 | (exit $ac_status); }; }; then | ||
13374 | ac_cv_have_struct_in6_addr="yes" | ||
13375 | else | ||
13376 | echo "$as_me: failed program was:" >&5 | ||
13377 | cat conftest.$ac_ext >&5 | ||
13378 | ac_cv_have_struct_in6_addr="no" | ||
13379 | |||
13380 | fi | ||
13381 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13382 | |||
13383 | fi | ||
13384 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 | ||
13385 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 | ||
13386 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | ||
13387 | cat >>confdefs.h <<\_ACEOF | ||
13388 | @%:@define HAVE_STRUCT_IN6_ADDR 1 | ||
13389 | _ACEOF | ||
13390 | |||
13391 | fi | ||
13392 | |||
13393 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 | ||
13394 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 | ||
13395 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then | ||
13396 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13397 | else | ||
13398 | |||
13399 | cat >conftest.$ac_ext <<_ACEOF | ||
13400 | #line $LINENO "configure" | ||
13401 | #include "confdefs.h" | ||
13402 | |||
13403 | #include <sys/types.h> | ||
13404 | #include <sys/socket.h> | ||
13405 | #include <netdb.h> | ||
13406 | |||
13407 | #ifdef F77_DUMMY_MAIN | ||
13408 | # ifdef __cplusplus | ||
13409 | extern "C" | ||
13410 | # endif | ||
13411 | int F77_DUMMY_MAIN() { return 1; } | ||
13412 | #endif | ||
13413 | int | ||
13414 | main () | ||
13415 | { | ||
13416 | struct addrinfo s; s.ai_flags = AI_PASSIVE; | ||
13417 | ; | ||
13418 | return 0; | ||
13419 | } | ||
13420 | _ACEOF | ||
13421 | rm -f conftest.$ac_objext | ||
13422 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13423 | (eval $ac_compile) 2>&5 | ||
13424 | ac_status=$? | ||
13425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13426 | (exit $ac_status); } && | ||
13427 | { ac_try='test -s conftest.$ac_objext' | ||
13428 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13429 | (eval $ac_try) 2>&5 | ||
13430 | ac_status=$? | ||
13431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13432 | (exit $ac_status); }; }; then | ||
13433 | ac_cv_have_struct_addrinfo="yes" | ||
13434 | else | ||
13435 | echo "$as_me: failed program was:" >&5 | ||
13436 | cat conftest.$ac_ext >&5 | ||
13437 | ac_cv_have_struct_addrinfo="no" | ||
13438 | |||
13439 | fi | ||
13440 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13441 | |||
13442 | fi | ||
13443 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 | ||
13444 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 | ||
13445 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | ||
13446 | cat >>confdefs.h <<\_ACEOF | ||
13447 | @%:@define HAVE_STRUCT_ADDRINFO 1 | ||
13448 | _ACEOF | ||
13449 | |||
13450 | fi | ||
13451 | |||
13452 | echo "$as_me:$LINENO: checking for struct timeval" >&5 | ||
13453 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | ||
13454 | if test "${ac_cv_have_struct_timeval+set}" = set; then | ||
13455 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13456 | else | ||
13457 | |||
13458 | cat >conftest.$ac_ext <<_ACEOF | ||
13459 | #line $LINENO "configure" | ||
13460 | #include "confdefs.h" | ||
13461 | #include <sys/time.h> | ||
13462 | #ifdef F77_DUMMY_MAIN | ||
13463 | # ifdef __cplusplus | ||
13464 | extern "C" | ||
13465 | # endif | ||
13466 | int F77_DUMMY_MAIN() { return 1; } | ||
13467 | #endif | ||
13468 | int | ||
13469 | main () | ||
13470 | { | ||
13471 | struct timeval tv; tv.tv_sec = 1; | ||
13472 | ; | ||
13473 | return 0; | ||
13474 | } | ||
13475 | _ACEOF | ||
13476 | rm -f conftest.$ac_objext | ||
13477 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13478 | (eval $ac_compile) 2>&5 | ||
13479 | ac_status=$? | ||
13480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13481 | (exit $ac_status); } && | ||
13482 | { ac_try='test -s conftest.$ac_objext' | ||
13483 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13484 | (eval $ac_try) 2>&5 | ||
13485 | ac_status=$? | ||
13486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13487 | (exit $ac_status); }; }; then | ||
13488 | ac_cv_have_struct_timeval="yes" | ||
13489 | else | ||
13490 | echo "$as_me: failed program was:" >&5 | ||
13491 | cat conftest.$ac_ext >&5 | ||
13492 | ac_cv_have_struct_timeval="no" | ||
13493 | |||
13494 | fi | ||
13495 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13496 | |||
13497 | fi | ||
13498 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 | ||
13499 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 | ||
13500 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | ||
13501 | cat >>confdefs.h <<\_ACEOF | ||
13502 | @%:@define HAVE_STRUCT_TIMEVAL 1 | ||
13503 | _ACEOF | ||
13504 | |||
13505 | have_struct_timeval=1 | ||
13506 | fi | ||
13507 | |||
13508 | echo "$as_me:$LINENO: checking for struct timespec" >&5 | ||
13509 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 | ||
13510 | if test "${ac_cv_type_struct_timespec+set}" = set; then | ||
13511 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13512 | else | ||
13513 | cat >conftest.$ac_ext <<_ACEOF | ||
13514 | #line $LINENO "configure" | ||
13515 | #include "confdefs.h" | ||
13516 | $ac_includes_default | ||
13517 | #ifdef F77_DUMMY_MAIN | ||
13518 | # ifdef __cplusplus | ||
13519 | extern "C" | ||
13520 | # endif | ||
13521 | int F77_DUMMY_MAIN() { return 1; } | ||
13522 | #endif | ||
13523 | int | ||
13524 | main () | ||
13525 | { | ||
13526 | if ((struct timespec *) 0) | ||
13527 | return 0; | ||
13528 | if (sizeof (struct timespec)) | ||
13529 | return 0; | ||
13530 | ; | ||
13531 | return 0; | ||
13532 | } | ||
13533 | _ACEOF | ||
13534 | rm -f conftest.$ac_objext | ||
13535 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13536 | (eval $ac_compile) 2>&5 | ||
13537 | ac_status=$? | ||
13538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13539 | (exit $ac_status); } && | ||
13540 | { ac_try='test -s conftest.$ac_objext' | ||
13541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13542 | (eval $ac_try) 2>&5 | ||
13543 | ac_status=$? | ||
13544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13545 | (exit $ac_status); }; }; then | ||
13546 | ac_cv_type_struct_timespec=yes | ||
13547 | else | ||
13548 | echo "$as_me: failed program was:" >&5 | ||
13549 | cat conftest.$ac_ext >&5 | ||
13550 | ac_cv_type_struct_timespec=no | ||
13551 | fi | ||
13552 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13553 | fi | ||
13554 | echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 | ||
13555 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 | ||
13556 | if test $ac_cv_type_struct_timespec = yes; then | ||
13557 | |||
13558 | cat >>confdefs.h <<_ACEOF | ||
13559 | @%:@define HAVE_STRUCT_TIMESPEC 1 | ||
13560 | _ACEOF | ||
13561 | |||
13562 | |||
13563 | fi | ||
13564 | |||
13565 | |||
13566 | # We need int64_t or else certian parts of the compile will fail. | ||
13567 | if test "x$ac_cv_have_int64_t" = "xno" -a \ | ||
13568 | "x$ac_cv_sizeof_long_int" != "x8" -a \ | ||
13569 | "x$ac_cv_sizeof_long_long_int" = "x0" ; then | ||
13570 | echo "OpenSSH requires int64_t support. Contact your vendor or install" | ||
13571 | echo "an alternative compiler (I.E., GCC) before continuing." | ||
13572 | echo "" | ||
13573 | exit 1; | ||
13574 | else | ||
13575 | if test "$cross_compiling" = yes; then | ||
13576 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
13577 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
13578 | { (exit 1); exit 1; }; } | ||
13579 | else | ||
13580 | cat >conftest.$ac_ext <<_ACEOF | ||
13581 | #line $LINENO "configure" | ||
13582 | #include "confdefs.h" | ||
13583 | |||
13584 | #include <stdio.h> | ||
13585 | #include <string.h> | ||
13586 | #ifdef HAVE_SNPRINTF | ||
13587 | main() | ||
13588 | { | ||
13589 | char buf[50]; | ||
13590 | char expected_out[50]; | ||
13591 | int mazsize = 50 ; | ||
13592 | #if (SIZEOF_LONG_INT == 8) | ||
13593 | long int num = 0x7fffffffffffffff; | ||
13594 | #else | ||
13595 | long long num = 0x7fffffffffffffffll; | ||
13596 | #endif | ||
13597 | strcpy(expected_out, "9223372036854775807"); | ||
13598 | snprintf(buf, mazsize, "%lld", num); | ||
13599 | if(strcmp(buf, expected_out) != 0) | ||
13600 | exit(1); | ||
13601 | exit(0); | ||
13602 | } | ||
13603 | #else | ||
13604 | main() { exit(0); } | ||
13605 | #endif | ||
13606 | |||
13607 | _ACEOF | ||
13608 | rm -f conftest$ac_exeext | ||
13609 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
13610 | (eval $ac_link) 2>&5 | ||
13611 | ac_status=$? | ||
13612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13613 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
13614 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13615 | (eval $ac_try) 2>&5 | ||
13616 | ac_status=$? | ||
13617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13618 | (exit $ac_status); }; }; then | ||
13619 | true | ||
13620 | else | ||
13621 | echo "$as_me: program exited with status $ac_status" >&5 | ||
13622 | echo "$as_me: failed program was:" >&5 | ||
13623 | cat conftest.$ac_ext >&5 | ||
13624 | ( exit $ac_status ) | ||
13625 | cat >>confdefs.h <<\_ACEOF | ||
13626 | @%:@define BROKEN_SNPRINTF 1 | ||
13627 | _ACEOF | ||
13628 | |||
13629 | |||
13630 | fi | ||
13631 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
13632 | fi | ||
13633 | fi | ||
13634 | |||
13635 | |||
13636 | # look for field 'ut_host' in header 'utmp.h' | ||
13637 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
13638 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | ||
13639 | echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 | ||
13640 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 | ||
13641 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13642 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13643 | else | ||
13644 | |||
13645 | cat >conftest.$ac_ext <<_ACEOF | ||
13646 | #line $LINENO "configure" | ||
13647 | #include "confdefs.h" | ||
13648 | #include <utmp.h> | ||
13649 | |||
13650 | _ACEOF | ||
13651 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13652 | egrep "ut_host" >/dev/null 2>&1; then | ||
13653 | eval "$ossh_varname=yes" | ||
13654 | else | ||
13655 | eval "$ossh_varname=no" | ||
13656 | fi | ||
13657 | rm -f conftest* | ||
13658 | |||
13659 | fi | ||
13660 | |||
13661 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13662 | if test -n "`echo $ossh_varname`"; then | ||
13663 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13664 | echo "${ECHO_T}$ossh_result" >&6 | ||
13665 | if test "x$ossh_result" = "xyes"; then | ||
13666 | cat >>confdefs.h <<\_ACEOF | ||
13667 | @%:@define HAVE_HOST_IN_UTMP 1 | ||
13668 | _ACEOF | ||
13669 | |||
13670 | fi | ||
13671 | else | ||
13672 | echo "$as_me:$LINENO: result: no" >&5 | ||
13673 | echo "${ECHO_T}no" >&6 | ||
13674 | fi | ||
13675 | |||
13676 | |||
13677 | # look for field 'ut_host' in header 'utmpx.h' | ||
13678 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
13679 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | ||
13680 | echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 | ||
13681 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 | ||
13682 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13683 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13684 | else | ||
13685 | |||
13686 | cat >conftest.$ac_ext <<_ACEOF | ||
13687 | #line $LINENO "configure" | ||
13688 | #include "confdefs.h" | ||
13689 | #include <utmpx.h> | ||
13690 | |||
13691 | _ACEOF | ||
13692 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13693 | egrep "ut_host" >/dev/null 2>&1; then | ||
13694 | eval "$ossh_varname=yes" | ||
13695 | else | ||
13696 | eval "$ossh_varname=no" | ||
13697 | fi | ||
13698 | rm -f conftest* | ||
13699 | |||
13700 | fi | ||
13701 | |||
13702 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13703 | if test -n "`echo $ossh_varname`"; then | ||
13704 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13705 | echo "${ECHO_T}$ossh_result" >&6 | ||
13706 | if test "x$ossh_result" = "xyes"; then | ||
13707 | cat >>confdefs.h <<\_ACEOF | ||
13708 | @%:@define HAVE_HOST_IN_UTMPX 1 | ||
13709 | _ACEOF | ||
13710 | |||
13711 | fi | ||
13712 | else | ||
13713 | echo "$as_me:$LINENO: result: no" >&5 | ||
13714 | echo "${ECHO_T}no" >&6 | ||
13715 | fi | ||
13716 | |||
13717 | |||
13718 | # look for field 'syslen' in header 'utmpx.h' | ||
13719 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
13720 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen | ||
13721 | echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 | ||
13722 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 | ||
13723 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13724 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13725 | else | ||
13726 | |||
13727 | cat >conftest.$ac_ext <<_ACEOF | ||
13728 | #line $LINENO "configure" | ||
13729 | #include "confdefs.h" | ||
13730 | #include <utmpx.h> | ||
13731 | |||
13732 | _ACEOF | ||
13733 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13734 | egrep "syslen" >/dev/null 2>&1; then | ||
13735 | eval "$ossh_varname=yes" | ||
13736 | else | ||
13737 | eval "$ossh_varname=no" | ||
13738 | fi | ||
13739 | rm -f conftest* | ||
13740 | |||
13741 | fi | ||
13742 | |||
13743 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13744 | if test -n "`echo $ossh_varname`"; then | ||
13745 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13746 | echo "${ECHO_T}$ossh_result" >&6 | ||
13747 | if test "x$ossh_result" = "xyes"; then | ||
13748 | cat >>confdefs.h <<\_ACEOF | ||
13749 | @%:@define HAVE_SYSLEN_IN_UTMPX 1 | ||
13750 | _ACEOF | ||
13751 | |||
13752 | fi | ||
13753 | else | ||
13754 | echo "$as_me:$LINENO: result: no" >&5 | ||
13755 | echo "${ECHO_T}no" >&6 | ||
13756 | fi | ||
13757 | |||
13758 | |||
13759 | # look for field 'ut_pid' in header 'utmp.h' | ||
13760 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
13761 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid | ||
13762 | echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 | ||
13763 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 | ||
13764 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13765 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13766 | else | ||
13767 | |||
13768 | cat >conftest.$ac_ext <<_ACEOF | ||
13769 | #line $LINENO "configure" | ||
13770 | #include "confdefs.h" | ||
13771 | #include <utmp.h> | ||
13772 | |||
13773 | _ACEOF | ||
13774 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13775 | egrep "ut_pid" >/dev/null 2>&1; then | ||
13776 | eval "$ossh_varname=yes" | ||
13777 | else | ||
13778 | eval "$ossh_varname=no" | ||
13779 | fi | ||
13780 | rm -f conftest* | ||
13781 | |||
13782 | fi | ||
13783 | |||
13784 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13785 | if test -n "`echo $ossh_varname`"; then | ||
13786 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13787 | echo "${ECHO_T}$ossh_result" >&6 | ||
13788 | if test "x$ossh_result" = "xyes"; then | ||
13789 | cat >>confdefs.h <<\_ACEOF | ||
13790 | @%:@define HAVE_PID_IN_UTMP 1 | ||
13791 | _ACEOF | ||
13792 | |||
13793 | fi | ||
13794 | else | ||
13795 | echo "$as_me:$LINENO: result: no" >&5 | ||
13796 | echo "${ECHO_T}no" >&6 | ||
13797 | fi | ||
13798 | |||
13799 | |||
13800 | # look for field 'ut_type' in header 'utmp.h' | ||
13801 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
13802 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | ||
13803 | echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 | ||
13804 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 | ||
13805 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13806 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13807 | else | ||
13808 | |||
13809 | cat >conftest.$ac_ext <<_ACEOF | ||
13810 | #line $LINENO "configure" | ||
13811 | #include "confdefs.h" | ||
13812 | #include <utmp.h> | ||
13813 | |||
13814 | _ACEOF | ||
13815 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13816 | egrep "ut_type" >/dev/null 2>&1; then | ||
13817 | eval "$ossh_varname=yes" | ||
13818 | else | ||
13819 | eval "$ossh_varname=no" | ||
13820 | fi | ||
13821 | rm -f conftest* | ||
13822 | |||
13823 | fi | ||
13824 | |||
13825 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13826 | if test -n "`echo $ossh_varname`"; then | ||
13827 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13828 | echo "${ECHO_T}$ossh_result" >&6 | ||
13829 | if test "x$ossh_result" = "xyes"; then | ||
13830 | cat >>confdefs.h <<\_ACEOF | ||
13831 | @%:@define HAVE_TYPE_IN_UTMP 1 | ||
13832 | _ACEOF | ||
13833 | |||
13834 | fi | ||
13835 | else | ||
13836 | echo "$as_me:$LINENO: result: no" >&5 | ||
13837 | echo "${ECHO_T}no" >&6 | ||
13838 | fi | ||
13839 | |||
13840 | |||
13841 | # look for field 'ut_type' in header 'utmpx.h' | ||
13842 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
13843 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | ||
13844 | echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 | ||
13845 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 | ||
13846 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13847 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13848 | else | ||
13849 | |||
13850 | cat >conftest.$ac_ext <<_ACEOF | ||
13851 | #line $LINENO "configure" | ||
13852 | #include "confdefs.h" | ||
13853 | #include <utmpx.h> | ||
13854 | |||
13855 | _ACEOF | ||
13856 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13857 | egrep "ut_type" >/dev/null 2>&1; then | ||
13858 | eval "$ossh_varname=yes" | ||
13859 | else | ||
13860 | eval "$ossh_varname=no" | ||
13861 | fi | ||
13862 | rm -f conftest* | ||
13863 | |||
13864 | fi | ||
13865 | |||
13866 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13867 | if test -n "`echo $ossh_varname`"; then | ||
13868 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13869 | echo "${ECHO_T}$ossh_result" >&6 | ||
13870 | if test "x$ossh_result" = "xyes"; then | ||
13871 | cat >>confdefs.h <<\_ACEOF | ||
13872 | @%:@define HAVE_TYPE_IN_UTMPX 1 | ||
13873 | _ACEOF | ||
13874 | |||
13875 | fi | ||
13876 | else | ||
13877 | echo "$as_me:$LINENO: result: no" >&5 | ||
13878 | echo "${ECHO_T}no" >&6 | ||
13879 | fi | ||
13880 | |||
13881 | |||
13882 | # look for field 'ut_tv' in header 'utmp.h' | ||
13883 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
13884 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | ||
13885 | echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 | ||
13886 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 | ||
13887 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13888 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13889 | else | ||
13890 | |||
13891 | cat >conftest.$ac_ext <<_ACEOF | ||
13892 | #line $LINENO "configure" | ||
13893 | #include "confdefs.h" | ||
13894 | #include <utmp.h> | ||
13895 | |||
13896 | _ACEOF | ||
13897 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13898 | egrep "ut_tv" >/dev/null 2>&1; then | ||
13899 | eval "$ossh_varname=yes" | ||
13900 | else | ||
13901 | eval "$ossh_varname=no" | ||
13902 | fi | ||
13903 | rm -f conftest* | ||
13904 | |||
13905 | fi | ||
13906 | |||
13907 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13908 | if test -n "`echo $ossh_varname`"; then | ||
13909 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13910 | echo "${ECHO_T}$ossh_result" >&6 | ||
13911 | if test "x$ossh_result" = "xyes"; then | ||
13912 | cat >>confdefs.h <<\_ACEOF | ||
13913 | @%:@define HAVE_TV_IN_UTMP 1 | ||
13914 | _ACEOF | ||
13915 | |||
13916 | fi | ||
13917 | else | ||
13918 | echo "$as_me:$LINENO: result: no" >&5 | ||
13919 | echo "${ECHO_T}no" >&6 | ||
13920 | fi | ||
13921 | |||
13922 | |||
13923 | # look for field 'ut_id' in header 'utmp.h' | ||
13924 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
13925 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | ||
13926 | echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 | ||
13927 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 | ||
13928 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13929 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13930 | else | ||
13931 | |||
13932 | cat >conftest.$ac_ext <<_ACEOF | ||
13933 | #line $LINENO "configure" | ||
13934 | #include "confdefs.h" | ||
13935 | #include <utmp.h> | ||
13936 | |||
13937 | _ACEOF | ||
13938 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13939 | egrep "ut_id" >/dev/null 2>&1; then | ||
13940 | eval "$ossh_varname=yes" | ||
13941 | else | ||
13942 | eval "$ossh_varname=no" | ||
13943 | fi | ||
13944 | rm -f conftest* | ||
13945 | |||
13946 | fi | ||
13947 | |||
13948 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13949 | if test -n "`echo $ossh_varname`"; then | ||
13950 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13951 | echo "${ECHO_T}$ossh_result" >&6 | ||
13952 | if test "x$ossh_result" = "xyes"; then | ||
13953 | cat >>confdefs.h <<\_ACEOF | ||
13954 | @%:@define HAVE_ID_IN_UTMP 1 | ||
13955 | _ACEOF | ||
13956 | |||
13957 | fi | ||
13958 | else | ||
13959 | echo "$as_me:$LINENO: result: no" >&5 | ||
13960 | echo "${ECHO_T}no" >&6 | ||
13961 | fi | ||
13962 | |||
13963 | |||
13964 | # look for field 'ut_id' in header 'utmpx.h' | ||
13965 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
13966 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | ||
13967 | echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 | ||
13968 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 | ||
13969 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
13970 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13971 | else | ||
13972 | |||
13973 | cat >conftest.$ac_ext <<_ACEOF | ||
13974 | #line $LINENO "configure" | ||
13975 | #include "confdefs.h" | ||
13976 | #include <utmpx.h> | ||
13977 | |||
13978 | _ACEOF | ||
13979 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
13980 | egrep "ut_id" >/dev/null 2>&1; then | ||
13981 | eval "$ossh_varname=yes" | ||
13982 | else | ||
13983 | eval "$ossh_varname=no" | ||
13984 | fi | ||
13985 | rm -f conftest* | ||
13986 | |||
13987 | fi | ||
13988 | |||
13989 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
13990 | if test -n "`echo $ossh_varname`"; then | ||
13991 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
13992 | echo "${ECHO_T}$ossh_result" >&6 | ||
13993 | if test "x$ossh_result" = "xyes"; then | ||
13994 | cat >>confdefs.h <<\_ACEOF | ||
13995 | @%:@define HAVE_ID_IN_UTMPX 1 | ||
13996 | _ACEOF | ||
13997 | |||
13998 | fi | ||
13999 | else | ||
14000 | echo "$as_me:$LINENO: result: no" >&5 | ||
14001 | echo "${ECHO_T}no" >&6 | ||
14002 | fi | ||
14003 | |||
14004 | |||
14005 | # look for field 'ut_addr' in header 'utmp.h' | ||
14006 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14007 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | ||
14008 | echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 | ||
14009 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 | ||
14010 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14011 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14012 | else | ||
14013 | |||
14014 | cat >conftest.$ac_ext <<_ACEOF | ||
14015 | #line $LINENO "configure" | ||
14016 | #include "confdefs.h" | ||
14017 | #include <utmp.h> | ||
14018 | |||
14019 | _ACEOF | ||
14020 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14021 | egrep "ut_addr" >/dev/null 2>&1; then | ||
14022 | eval "$ossh_varname=yes" | ||
14023 | else | ||
14024 | eval "$ossh_varname=no" | ||
14025 | fi | ||
14026 | rm -f conftest* | ||
14027 | |||
14028 | fi | ||
14029 | |||
14030 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14031 | if test -n "`echo $ossh_varname`"; then | ||
14032 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14033 | echo "${ECHO_T}$ossh_result" >&6 | ||
14034 | if test "x$ossh_result" = "xyes"; then | ||
14035 | cat >>confdefs.h <<\_ACEOF | ||
14036 | @%:@define HAVE_ADDR_IN_UTMP 1 | ||
14037 | _ACEOF | ||
14038 | |||
14039 | fi | ||
14040 | else | ||
14041 | echo "$as_me:$LINENO: result: no" >&5 | ||
14042 | echo "${ECHO_T}no" >&6 | ||
14043 | fi | ||
14044 | |||
14045 | |||
14046 | # look for field 'ut_addr' in header 'utmpx.h' | ||
14047 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14048 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | ||
14049 | echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 | ||
14050 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 | ||
14051 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14052 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14053 | else | ||
14054 | |||
14055 | cat >conftest.$ac_ext <<_ACEOF | ||
14056 | #line $LINENO "configure" | ||
14057 | #include "confdefs.h" | ||
14058 | #include <utmpx.h> | ||
14059 | |||
14060 | _ACEOF | ||
14061 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14062 | egrep "ut_addr" >/dev/null 2>&1; then | ||
14063 | eval "$ossh_varname=yes" | ||
14064 | else | ||
14065 | eval "$ossh_varname=no" | ||
14066 | fi | ||
14067 | rm -f conftest* | ||
14068 | |||
14069 | fi | ||
14070 | |||
14071 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14072 | if test -n "`echo $ossh_varname`"; then | ||
14073 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14074 | echo "${ECHO_T}$ossh_result" >&6 | ||
14075 | if test "x$ossh_result" = "xyes"; then | ||
14076 | cat >>confdefs.h <<\_ACEOF | ||
14077 | @%:@define HAVE_ADDR_IN_UTMPX 1 | ||
14078 | _ACEOF | ||
14079 | |||
14080 | fi | ||
14081 | else | ||
14082 | echo "$as_me:$LINENO: result: no" >&5 | ||
14083 | echo "${ECHO_T}no" >&6 | ||
14084 | fi | ||
14085 | |||
14086 | |||
14087 | # look for field 'ut_addr_v6' in header 'utmp.h' | ||
14088 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14089 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | ||
14090 | echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5 | ||
14091 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 | ||
14092 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14093 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14094 | else | ||
14095 | |||
14096 | cat >conftest.$ac_ext <<_ACEOF | ||
14097 | #line $LINENO "configure" | ||
14098 | #include "confdefs.h" | ||
14099 | #include <utmp.h> | ||
14100 | |||
14101 | _ACEOF | ||
14102 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14103 | egrep "ut_addr_v6" >/dev/null 2>&1; then | ||
14104 | eval "$ossh_varname=yes" | ||
14105 | else | ||
14106 | eval "$ossh_varname=no" | ||
14107 | fi | ||
14108 | rm -f conftest* | ||
14109 | |||
14110 | fi | ||
14111 | |||
14112 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14113 | if test -n "`echo $ossh_varname`"; then | ||
14114 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14115 | echo "${ECHO_T}$ossh_result" >&6 | ||
14116 | if test "x$ossh_result" = "xyes"; then | ||
14117 | cat >>confdefs.h <<\_ACEOF | ||
14118 | @%:@define HAVE_ADDR_V6_IN_UTMP 1 | ||
14119 | _ACEOF | ||
14120 | |||
14121 | fi | ||
14122 | else | ||
14123 | echo "$as_me:$LINENO: result: no" >&5 | ||
14124 | echo "${ECHO_T}no" >&6 | ||
14125 | fi | ||
14126 | |||
14127 | |||
14128 | # look for field 'ut_addr_v6' in header 'utmpx.h' | ||
14129 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14130 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | ||
14131 | echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5 | ||
14132 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 | ||
14133 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14134 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14135 | else | ||
14136 | |||
14137 | cat >conftest.$ac_ext <<_ACEOF | ||
14138 | #line $LINENO "configure" | ||
14139 | #include "confdefs.h" | ||
14140 | #include <utmpx.h> | ||
14141 | |||
14142 | _ACEOF | ||
14143 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14144 | egrep "ut_addr_v6" >/dev/null 2>&1; then | ||
14145 | eval "$ossh_varname=yes" | ||
14146 | else | ||
14147 | eval "$ossh_varname=no" | ||
14148 | fi | ||
14149 | rm -f conftest* | ||
14150 | |||
14151 | fi | ||
14152 | |||
14153 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14154 | if test -n "`echo $ossh_varname`"; then | ||
14155 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14156 | echo "${ECHO_T}$ossh_result" >&6 | ||
14157 | if test "x$ossh_result" = "xyes"; then | ||
14158 | cat >>confdefs.h <<\_ACEOF | ||
14159 | @%:@define HAVE_ADDR_V6_IN_UTMPX 1 | ||
14160 | _ACEOF | ||
14161 | |||
14162 | fi | ||
14163 | else | ||
14164 | echo "$as_me:$LINENO: result: no" >&5 | ||
14165 | echo "${ECHO_T}no" >&6 | ||
14166 | fi | ||
14167 | |||
14168 | |||
14169 | # look for field 'ut_exit' in header 'utmp.h' | ||
14170 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14171 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit | ||
14172 | echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 | ||
14173 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 | ||
14174 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14176 | else | ||
14177 | |||
14178 | cat >conftest.$ac_ext <<_ACEOF | ||
14179 | #line $LINENO "configure" | ||
14180 | #include "confdefs.h" | ||
14181 | #include <utmp.h> | ||
14182 | |||
14183 | _ACEOF | ||
14184 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14185 | egrep "ut_exit" >/dev/null 2>&1; then | ||
14186 | eval "$ossh_varname=yes" | ||
14187 | else | ||
14188 | eval "$ossh_varname=no" | ||
14189 | fi | ||
14190 | rm -f conftest* | ||
14191 | |||
14192 | fi | ||
14193 | |||
14194 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14195 | if test -n "`echo $ossh_varname`"; then | ||
14196 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14197 | echo "${ECHO_T}$ossh_result" >&6 | ||
14198 | if test "x$ossh_result" = "xyes"; then | ||
14199 | cat >>confdefs.h <<\_ACEOF | ||
14200 | @%:@define HAVE_EXIT_IN_UTMP 1 | ||
14201 | _ACEOF | ||
14202 | |||
14203 | fi | ||
14204 | else | ||
14205 | echo "$as_me:$LINENO: result: no" >&5 | ||
14206 | echo "${ECHO_T}no" >&6 | ||
14207 | fi | ||
14208 | |||
14209 | |||
14210 | # look for field 'ut_time' in header 'utmp.h' | ||
14211 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14212 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | ||
14213 | echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 | ||
14214 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 | ||
14215 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14216 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14217 | else | ||
14218 | |||
14219 | cat >conftest.$ac_ext <<_ACEOF | ||
14220 | #line $LINENO "configure" | ||
14221 | #include "confdefs.h" | ||
14222 | #include <utmp.h> | ||
14223 | |||
14224 | _ACEOF | ||
14225 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14226 | egrep "ut_time" >/dev/null 2>&1; then | ||
14227 | eval "$ossh_varname=yes" | ||
14228 | else | ||
14229 | eval "$ossh_varname=no" | ||
14230 | fi | ||
14231 | rm -f conftest* | ||
14232 | |||
14233 | fi | ||
14234 | |||
14235 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14236 | if test -n "`echo $ossh_varname`"; then | ||
14237 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14238 | echo "${ECHO_T}$ossh_result" >&6 | ||
14239 | if test "x$ossh_result" = "xyes"; then | ||
14240 | cat >>confdefs.h <<\_ACEOF | ||
14241 | @%:@define HAVE_TIME_IN_UTMP 1 | ||
14242 | _ACEOF | ||
14243 | |||
14244 | fi | ||
14245 | else | ||
14246 | echo "$as_me:$LINENO: result: no" >&5 | ||
14247 | echo "${ECHO_T}no" >&6 | ||
14248 | fi | ||
14249 | |||
14250 | |||
14251 | # look for field 'ut_time' in header 'utmpx.h' | ||
14252 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14253 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | ||
14254 | echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 | ||
14255 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 | ||
14256 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14257 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14258 | else | ||
14259 | |||
14260 | cat >conftest.$ac_ext <<_ACEOF | ||
14261 | #line $LINENO "configure" | ||
14262 | #include "confdefs.h" | ||
14263 | #include <utmpx.h> | ||
14264 | |||
14265 | _ACEOF | ||
14266 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14267 | egrep "ut_time" >/dev/null 2>&1; then | ||
14268 | eval "$ossh_varname=yes" | ||
14269 | else | ||
14270 | eval "$ossh_varname=no" | ||
14271 | fi | ||
14272 | rm -f conftest* | ||
14273 | |||
14274 | fi | ||
14275 | |||
14276 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14277 | if test -n "`echo $ossh_varname`"; then | ||
14278 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14279 | echo "${ECHO_T}$ossh_result" >&6 | ||
14280 | if test "x$ossh_result" = "xyes"; then | ||
14281 | cat >>confdefs.h <<\_ACEOF | ||
14282 | @%:@define HAVE_TIME_IN_UTMPX 1 | ||
14283 | _ACEOF | ||
14284 | |||
14285 | fi | ||
14286 | else | ||
14287 | echo "$as_me:$LINENO: result: no" >&5 | ||
14288 | echo "${ECHO_T}no" >&6 | ||
14289 | fi | ||
14290 | |||
14291 | |||
14292 | # look for field 'ut_tv' in header 'utmpx.h' | ||
14293 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14294 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | ||
14295 | echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 | ||
14296 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 | ||
14297 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14298 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14299 | else | ||
14300 | |||
14301 | cat >conftest.$ac_ext <<_ACEOF | ||
14302 | #line $LINENO "configure" | ||
14303 | #include "confdefs.h" | ||
14304 | #include <utmpx.h> | ||
14305 | |||
14306 | _ACEOF | ||
14307 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14308 | egrep "ut_tv" >/dev/null 2>&1; then | ||
14309 | eval "$ossh_varname=yes" | ||
14310 | else | ||
14311 | eval "$ossh_varname=no" | ||
14312 | fi | ||
14313 | rm -f conftest* | ||
14314 | |||
14315 | fi | ||
14316 | |||
14317 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14318 | if test -n "`echo $ossh_varname`"; then | ||
14319 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14320 | echo "${ECHO_T}$ossh_result" >&6 | ||
14321 | if test "x$ossh_result" = "xyes"; then | ||
14322 | cat >>confdefs.h <<\_ACEOF | ||
14323 | @%:@define HAVE_TV_IN_UTMPX 1 | ||
14324 | _ACEOF | ||
14325 | |||
14326 | fi | ||
14327 | else | ||
14328 | echo "$as_me:$LINENO: result: no" >&5 | ||
14329 | echo "${ECHO_T}no" >&6 | ||
14330 | fi | ||
14331 | |||
14332 | |||
14333 | echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 | ||
14334 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 | ||
14335 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then | ||
14336 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14337 | else | ||
14338 | cat >conftest.$ac_ext <<_ACEOF | ||
14339 | #line $LINENO "configure" | ||
14340 | #include "confdefs.h" | ||
14341 | $ac_includes_default | ||
14342 | #ifdef F77_DUMMY_MAIN | ||
14343 | # ifdef __cplusplus | ||
14344 | extern "C" | ||
14345 | # endif | ||
14346 | int F77_DUMMY_MAIN() { return 1; } | ||
14347 | #endif | ||
14348 | int | ||
14349 | main () | ||
14350 | { | ||
14351 | static struct stat ac_aggr; | ||
14352 | if (ac_aggr.st_blksize) | ||
14353 | return 0; | ||
14354 | ; | ||
14355 | return 0; | ||
14356 | } | ||
14357 | _ACEOF | ||
14358 | rm -f conftest.$ac_objext | ||
14359 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14360 | (eval $ac_compile) 2>&5 | ||
14361 | ac_status=$? | ||
14362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14363 | (exit $ac_status); } && | ||
14364 | { ac_try='test -s conftest.$ac_objext' | ||
14365 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14366 | (eval $ac_try) 2>&5 | ||
14367 | ac_status=$? | ||
14368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14369 | (exit $ac_status); }; }; then | ||
14370 | ac_cv_member_struct_stat_st_blksize=yes | ||
14371 | else | ||
14372 | echo "$as_me: failed program was:" >&5 | ||
14373 | cat conftest.$ac_ext >&5 | ||
14374 | ac_cv_member_struct_stat_st_blksize=no | ||
14375 | fi | ||
14376 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14377 | fi | ||
14378 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 | ||
14379 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 | ||
14380 | if test $ac_cv_member_struct_stat_st_blksize = yes; then | ||
14381 | |||
14382 | cat >>confdefs.h <<_ACEOF | ||
14383 | @%:@define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | ||
14384 | _ACEOF | ||
14385 | |||
14386 | |||
14387 | fi | ||
14388 | |||
14389 | |||
14390 | echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 | ||
14391 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | ||
14392 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then | ||
14393 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14394 | else | ||
14395 | |||
14396 | cat >conftest.$ac_ext <<_ACEOF | ||
14397 | #line $LINENO "configure" | ||
14398 | #include "confdefs.h" | ||
14399 | |||
14400 | #include <sys/types.h> | ||
14401 | #include <sys/socket.h> | ||
14402 | |||
14403 | #ifdef F77_DUMMY_MAIN | ||
14404 | # ifdef __cplusplus | ||
14405 | extern "C" | ||
14406 | # endif | ||
14407 | int F77_DUMMY_MAIN() { return 1; } | ||
14408 | #endif | ||
14409 | int | ||
14410 | main () | ||
14411 | { | ||
14412 | struct sockaddr_storage s; s.ss_family = 1; | ||
14413 | ; | ||
14414 | return 0; | ||
14415 | } | ||
14416 | _ACEOF | ||
14417 | rm -f conftest.$ac_objext | ||
14418 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14419 | (eval $ac_compile) 2>&5 | ||
14420 | ac_status=$? | ||
14421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14422 | (exit $ac_status); } && | ||
14423 | { ac_try='test -s conftest.$ac_objext' | ||
14424 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14425 | (eval $ac_try) 2>&5 | ||
14426 | ac_status=$? | ||
14427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14428 | (exit $ac_status); }; }; then | ||
14429 | ac_cv_have_ss_family_in_struct_ss="yes" | ||
14430 | else | ||
14431 | echo "$as_me: failed program was:" >&5 | ||
14432 | cat conftest.$ac_ext >&5 | ||
14433 | ac_cv_have_ss_family_in_struct_ss="no" | ||
14434 | fi | ||
14435 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14436 | |||
14437 | fi | ||
14438 | echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 | ||
14439 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 | ||
14440 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then | ||
14441 | cat >>confdefs.h <<\_ACEOF | ||
14442 | @%:@define HAVE_SS_FAMILY_IN_SS 1 | ||
14443 | _ACEOF | ||
14444 | |||
14445 | fi | ||
14446 | |||
14447 | echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 | ||
14448 | echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | ||
14449 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then | ||
14450 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14451 | else | ||
14452 | |||
14453 | cat >conftest.$ac_ext <<_ACEOF | ||
14454 | #line $LINENO "configure" | ||
14455 | #include "confdefs.h" | ||
14456 | |||
14457 | #include <sys/types.h> | ||
14458 | #include <sys/socket.h> | ||
14459 | |||
14460 | #ifdef F77_DUMMY_MAIN | ||
14461 | # ifdef __cplusplus | ||
14462 | extern "C" | ||
14463 | # endif | ||
14464 | int F77_DUMMY_MAIN() { return 1; } | ||
14465 | #endif | ||
14466 | int | ||
14467 | main () | ||
14468 | { | ||
14469 | struct sockaddr_storage s; s.__ss_family = 1; | ||
14470 | ; | ||
14471 | return 0; | ||
14472 | } | ||
14473 | _ACEOF | ||
14474 | rm -f conftest.$ac_objext | ||
14475 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14476 | (eval $ac_compile) 2>&5 | ||
14477 | ac_status=$? | ||
14478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14479 | (exit $ac_status); } && | ||
14480 | { ac_try='test -s conftest.$ac_objext' | ||
14481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14482 | (eval $ac_try) 2>&5 | ||
14483 | ac_status=$? | ||
14484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14485 | (exit $ac_status); }; }; then | ||
14486 | ac_cv_have___ss_family_in_struct_ss="yes" | ||
14487 | else | ||
14488 | echo "$as_me: failed program was:" >&5 | ||
14489 | cat conftest.$ac_ext >&5 | ||
14490 | ac_cv_have___ss_family_in_struct_ss="no" | ||
14491 | |||
14492 | fi | ||
14493 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14494 | |||
14495 | fi | ||
14496 | echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 | ||
14497 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 | ||
14498 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then | ||
14499 | cat >>confdefs.h <<\_ACEOF | ||
14500 | @%:@define HAVE___SS_FAMILY_IN_SS 1 | ||
14501 | _ACEOF | ||
14502 | |||
14503 | fi | ||
14504 | |||
14505 | echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5 | ||
14506 | echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 | ||
14507 | if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then | ||
14508 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14509 | else | ||
14510 | |||
14511 | cat >conftest.$ac_ext <<_ACEOF | ||
14512 | #line $LINENO "configure" | ||
14513 | #include "confdefs.h" | ||
14514 | |||
14515 | #include <pwd.h> | ||
14516 | |||
14517 | #ifdef F77_DUMMY_MAIN | ||
14518 | # ifdef __cplusplus | ||
14519 | extern "C" | ||
14520 | # endif | ||
14521 | int F77_DUMMY_MAIN() { return 1; } | ||
14522 | #endif | ||
14523 | int | ||
14524 | main () | ||
14525 | { | ||
14526 | struct passwd p; p.pw_class = 0; | ||
14527 | ; | ||
14528 | return 0; | ||
14529 | } | ||
14530 | _ACEOF | ||
14531 | rm -f conftest.$ac_objext | ||
14532 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14533 | (eval $ac_compile) 2>&5 | ||
14534 | ac_status=$? | ||
14535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14536 | (exit $ac_status); } && | ||
14537 | { ac_try='test -s conftest.$ac_objext' | ||
14538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14539 | (eval $ac_try) 2>&5 | ||
14540 | ac_status=$? | ||
14541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14542 | (exit $ac_status); }; }; then | ||
14543 | ac_cv_have_pw_class_in_struct_passwd="yes" | ||
14544 | else | ||
14545 | echo "$as_me: failed program was:" >&5 | ||
14546 | cat conftest.$ac_ext >&5 | ||
14547 | ac_cv_have_pw_class_in_struct_passwd="no" | ||
14548 | |||
14549 | fi | ||
14550 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14551 | |||
14552 | fi | ||
14553 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 | ||
14554 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 | ||
14555 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then | ||
14556 | cat >>confdefs.h <<\_ACEOF | ||
14557 | @%:@define HAVE_PW_CLASS_IN_PASSWD 1 | ||
14558 | _ACEOF | ||
14559 | |||
14560 | fi | ||
14561 | |||
14562 | echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5 | ||
14563 | echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 | ||
14564 | if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then | ||
14565 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14566 | else | ||
14567 | |||
14568 | cat >conftest.$ac_ext <<_ACEOF | ||
14569 | #line $LINENO "configure" | ||
14570 | #include "confdefs.h" | ||
14571 | |||
14572 | #include <pwd.h> | ||
14573 | |||
14574 | #ifdef F77_DUMMY_MAIN | ||
14575 | # ifdef __cplusplus | ||
14576 | extern "C" | ||
14577 | # endif | ||
14578 | int F77_DUMMY_MAIN() { return 1; } | ||
14579 | #endif | ||
14580 | int | ||
14581 | main () | ||
14582 | { | ||
14583 | struct passwd p; p.pw_expire = 0; | ||
14584 | ; | ||
14585 | return 0; | ||
14586 | } | ||
14587 | _ACEOF | ||
14588 | rm -f conftest.$ac_objext | ||
14589 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14590 | (eval $ac_compile) 2>&5 | ||
14591 | ac_status=$? | ||
14592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14593 | (exit $ac_status); } && | ||
14594 | { ac_try='test -s conftest.$ac_objext' | ||
14595 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14596 | (eval $ac_try) 2>&5 | ||
14597 | ac_status=$? | ||
14598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14599 | (exit $ac_status); }; }; then | ||
14600 | ac_cv_have_pw_expire_in_struct_passwd="yes" | ||
14601 | else | ||
14602 | echo "$as_me: failed program was:" >&5 | ||
14603 | cat conftest.$ac_ext >&5 | ||
14604 | ac_cv_have_pw_expire_in_struct_passwd="no" | ||
14605 | |||
14606 | fi | ||
14607 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14608 | |||
14609 | fi | ||
14610 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 | ||
14611 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 | ||
14612 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then | ||
14613 | cat >>confdefs.h <<\_ACEOF | ||
14614 | @%:@define HAVE_PW_EXPIRE_IN_PASSWD 1 | ||
14615 | _ACEOF | ||
14616 | |||
14617 | fi | ||
14618 | |||
14619 | echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5 | ||
14620 | echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 | ||
14621 | if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then | ||
14622 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14623 | else | ||
14624 | |||
14625 | cat >conftest.$ac_ext <<_ACEOF | ||
14626 | #line $LINENO "configure" | ||
14627 | #include "confdefs.h" | ||
14628 | |||
14629 | #include <pwd.h> | ||
14630 | |||
14631 | #ifdef F77_DUMMY_MAIN | ||
14632 | # ifdef __cplusplus | ||
14633 | extern "C" | ||
14634 | # endif | ||
14635 | int F77_DUMMY_MAIN() { return 1; } | ||
14636 | #endif | ||
14637 | int | ||
14638 | main () | ||
14639 | { | ||
14640 | struct passwd p; p.pw_change = 0; | ||
14641 | ; | ||
14642 | return 0; | ||
14643 | } | ||
14644 | _ACEOF | ||
14645 | rm -f conftest.$ac_objext | ||
14646 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14647 | (eval $ac_compile) 2>&5 | ||
14648 | ac_status=$? | ||
14649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14650 | (exit $ac_status); } && | ||
14651 | { ac_try='test -s conftest.$ac_objext' | ||
14652 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14653 | (eval $ac_try) 2>&5 | ||
14654 | ac_status=$? | ||
14655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14656 | (exit $ac_status); }; }; then | ||
14657 | ac_cv_have_pw_change_in_struct_passwd="yes" | ||
14658 | else | ||
14659 | echo "$as_me: failed program was:" >&5 | ||
14660 | cat conftest.$ac_ext >&5 | ||
14661 | ac_cv_have_pw_change_in_struct_passwd="no" | ||
14662 | |||
14663 | fi | ||
14664 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14665 | |||
14666 | fi | ||
14667 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 | ||
14668 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 | ||
14669 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then | ||
14670 | cat >>confdefs.h <<\_ACEOF | ||
14671 | @%:@define HAVE_PW_CHANGE_IN_PASSWD 1 | ||
14672 | _ACEOF | ||
14673 | |||
14674 | fi | ||
14675 | |||
14676 | echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 | ||
14677 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 | ||
14678 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then | ||
14679 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14680 | else | ||
14681 | |||
14682 | if test "$cross_compiling" = yes; then | ||
14683 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
14684 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
14685 | { (exit 1); exit 1; }; } | ||
14686 | else | ||
14687 | cat >conftest.$ac_ext <<_ACEOF | ||
14688 | #line $LINENO "configure" | ||
14689 | #include "confdefs.h" | ||
14690 | |||
14691 | #include <sys/types.h> | ||
14692 | #include <sys/socket.h> | ||
14693 | #include <sys/uio.h> | ||
14694 | int main() { | ||
14695 | #ifdef msg_accrights | ||
14696 | exit(1); | ||
14697 | #endif | ||
14698 | struct msghdr m; | ||
14699 | m.msg_accrights = 0; | ||
14700 | exit(0); | ||
14701 | } | ||
14702 | |||
14703 | _ACEOF | ||
14704 | rm -f conftest$ac_exeext | ||
14705 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14706 | (eval $ac_link) 2>&5 | ||
14707 | ac_status=$? | ||
14708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14709 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
14710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14711 | (eval $ac_try) 2>&5 | ||
14712 | ac_status=$? | ||
14713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14714 | (exit $ac_status); }; }; then | ||
14715 | ac_cv_have_accrights_in_msghdr="yes" | ||
14716 | else | ||
14717 | echo "$as_me: program exited with status $ac_status" >&5 | ||
14718 | echo "$as_me: failed program was:" >&5 | ||
14719 | cat conftest.$ac_ext >&5 | ||
14720 | ( exit $ac_status ) | ||
14721 | ac_cv_have_accrights_in_msghdr="no" | ||
14722 | |||
14723 | fi | ||
14724 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
14725 | fi | ||
14726 | |||
14727 | fi | ||
14728 | echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 | ||
14729 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 | ||
14730 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | ||
14731 | cat >>confdefs.h <<\_ACEOF | ||
14732 | @%:@define HAVE_ACCRIGHTS_IN_MSGHDR 1 | ||
14733 | _ACEOF | ||
14734 | |||
14735 | fi | ||
14736 | |||
14737 | echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 | ||
14738 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 | ||
14739 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then | ||
14740 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14741 | else | ||
14742 | |||
14743 | if test "$cross_compiling" = yes; then | ||
14744 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | ||
14745 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
14746 | { (exit 1); exit 1; }; } | ||
14747 | else | ||
14748 | cat >conftest.$ac_ext <<_ACEOF | ||
14749 | #line $LINENO "configure" | ||
14750 | #include "confdefs.h" | ||
14751 | |||
14752 | #include <sys/types.h> | ||
14753 | #include <sys/socket.h> | ||
14754 | #include <sys/uio.h> | ||
14755 | int main() { | ||
14756 | #ifdef msg_control | ||
14757 | exit(1); | ||
14758 | #endif | ||
14759 | struct msghdr m; | ||
14760 | m.msg_control = 0; | ||
14761 | exit(0); | ||
14762 | } | ||
14763 | |||
14764 | _ACEOF | ||
14765 | rm -f conftest$ac_exeext | ||
14766 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14767 | (eval $ac_link) 2>&5 | ||
14768 | ac_status=$? | ||
14769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14770 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
14771 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14772 | (eval $ac_try) 2>&5 | ||
14773 | ac_status=$? | ||
14774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14775 | (exit $ac_status); }; }; then | ||
14776 | ac_cv_have_control_in_msghdr="yes" | ||
14777 | else | ||
14778 | echo "$as_me: program exited with status $ac_status" >&5 | ||
14779 | echo "$as_me: failed program was:" >&5 | ||
14780 | cat conftest.$ac_ext >&5 | ||
14781 | ( exit $ac_status ) | ||
14782 | ac_cv_have_control_in_msghdr="no" | ||
14783 | |||
14784 | fi | ||
14785 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
14786 | fi | ||
14787 | |||
14788 | fi | ||
14789 | echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 | ||
14790 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 | ||
14791 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | ||
14792 | cat >>confdefs.h <<\_ACEOF | ||
14793 | @%:@define HAVE_CONTROL_IN_MSGHDR 1 | ||
14794 | _ACEOF | ||
14795 | |||
14796 | fi | ||
14797 | |||
14798 | echo "$as_me:$LINENO: checking if libc defines __progname" >&5 | ||
14799 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 | ||
14800 | if test "${ac_cv_libc_defines___progname+set}" = set; then | ||
14801 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14802 | else | ||
14803 | |||
14804 | cat >conftest.$ac_ext <<_ACEOF | ||
14805 | #line $LINENO "configure" | ||
14806 | #include "confdefs.h" | ||
14807 | |||
14808 | #ifdef F77_DUMMY_MAIN | ||
14809 | # ifdef __cplusplus | ||
14810 | extern "C" | ||
14811 | # endif | ||
14812 | int F77_DUMMY_MAIN() { return 1; } | ||
14813 | #endif | ||
14814 | int | ||
14815 | main () | ||
14816 | { | ||
14817 | extern char *__progname; printf("%s", __progname); | ||
14818 | ; | ||
14819 | return 0; | ||
14820 | } | ||
14821 | _ACEOF | ||
14822 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14823 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14824 | (eval $ac_link) 2>&5 | ||
14825 | ac_status=$? | ||
14826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14827 | (exit $ac_status); } && | ||
14828 | { ac_try='test -s conftest$ac_exeext' | ||
14829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14830 | (eval $ac_try) 2>&5 | ||
14831 | ac_status=$? | ||
14832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14833 | (exit $ac_status); }; }; then | ||
14834 | ac_cv_libc_defines___progname="yes" | ||
14835 | else | ||
14836 | echo "$as_me: failed program was:" >&5 | ||
14837 | cat conftest.$ac_ext >&5 | ||
14838 | ac_cv_libc_defines___progname="no" | ||
14839 | |||
14840 | fi | ||
14841 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
14842 | |||
14843 | fi | ||
14844 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 | ||
14845 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 | ||
14846 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | ||
14847 | cat >>confdefs.h <<\_ACEOF | ||
14848 | @%:@define HAVE___PROGNAME 1 | ||
14849 | _ACEOF | ||
14850 | |||
14851 | fi | ||
14852 | |||
14853 | echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 | ||
14854 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 | ||
14855 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then | ||
14856 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14857 | else | ||
14858 | |||
14859 | cat >conftest.$ac_ext <<_ACEOF | ||
14860 | #line $LINENO "configure" | ||
14861 | #include "confdefs.h" | ||
14862 | |||
14863 | #include <stdio.h> | ||
14864 | |||
14865 | #ifdef F77_DUMMY_MAIN | ||
14866 | # ifdef __cplusplus | ||
14867 | extern "C" | ||
14868 | # endif | ||
14869 | int F77_DUMMY_MAIN() { return 1; } | ||
14870 | #endif | ||
14871 | int | ||
14872 | main () | ||
14873 | { | ||
14874 | printf("%s", __FUNCTION__); | ||
14875 | ; | ||
14876 | return 0; | ||
14877 | } | ||
14878 | _ACEOF | ||
14879 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14880 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14881 | (eval $ac_link) 2>&5 | ||
14882 | ac_status=$? | ||
14883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14884 | (exit $ac_status); } && | ||
14885 | { ac_try='test -s conftest$ac_exeext' | ||
14886 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14887 | (eval $ac_try) 2>&5 | ||
14888 | ac_status=$? | ||
14889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14890 | (exit $ac_status); }; }; then | ||
14891 | ac_cv_cc_implements___FUNCTION__="yes" | ||
14892 | else | ||
14893 | echo "$as_me: failed program was:" >&5 | ||
14894 | cat conftest.$ac_ext >&5 | ||
14895 | ac_cv_cc_implements___FUNCTION__="no" | ||
14896 | |||
14897 | fi | ||
14898 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
14899 | |||
14900 | fi | ||
14901 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 | ||
14902 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 | ||
14903 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | ||
14904 | cat >>confdefs.h <<\_ACEOF | ||
14905 | @%:@define HAVE___FUNCTION__ 1 | ||
14906 | _ACEOF | ||
14907 | |||
14908 | fi | ||
14909 | |||
14910 | echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 | ||
14911 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 | ||
14912 | if test "${ac_cv_cc_implements___func__+set}" = set; then | ||
14913 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14914 | else | ||
14915 | |||
14916 | cat >conftest.$ac_ext <<_ACEOF | ||
14917 | #line $LINENO "configure" | ||
14918 | #include "confdefs.h" | ||
14919 | |||
14920 | #include <stdio.h> | ||
14921 | |||
14922 | #ifdef F77_DUMMY_MAIN | ||
14923 | # ifdef __cplusplus | ||
14924 | extern "C" | ||
14925 | # endif | ||
14926 | int F77_DUMMY_MAIN() { return 1; } | ||
14927 | #endif | ||
14928 | int | ||
14929 | main () | ||
14930 | { | ||
14931 | printf("%s", __func__); | ||
14932 | ; | ||
14933 | return 0; | ||
14934 | } | ||
14935 | _ACEOF | ||
14936 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14937 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14938 | (eval $ac_link) 2>&5 | ||
14939 | ac_status=$? | ||
14940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14941 | (exit $ac_status); } && | ||
14942 | { ac_try='test -s conftest$ac_exeext' | ||
14943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14944 | (eval $ac_try) 2>&5 | ||
14945 | ac_status=$? | ||
14946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14947 | (exit $ac_status); }; }; then | ||
14948 | ac_cv_cc_implements___func__="yes" | ||
14949 | else | ||
14950 | echo "$as_me: failed program was:" >&5 | ||
14951 | cat conftest.$ac_ext >&5 | ||
14952 | ac_cv_cc_implements___func__="no" | ||
14953 | |||
14954 | fi | ||
14955 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
14956 | |||
14957 | fi | ||
14958 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 | ||
14959 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 | ||
14960 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | ||
14961 | cat >>confdefs.h <<\_ACEOF | ||
14962 | @%:@define HAVE___func__ 1 | ||
14963 | _ACEOF | ||
14964 | |||
14965 | fi | ||
14966 | |||
14967 | echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 | ||
14968 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 | ||
14969 | if test "${ac_cv_have_getopt_optreset+set}" = set; then | ||
14970 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14971 | else | ||
14972 | |||
14973 | cat >conftest.$ac_ext <<_ACEOF | ||
14974 | #line $LINENO "configure" | ||
14975 | #include "confdefs.h" | ||
14976 | |||
14977 | #include <getopt.h> | ||
14978 | |||
14979 | #ifdef F77_DUMMY_MAIN | ||
14980 | # ifdef __cplusplus | ||
14981 | extern "C" | ||
14982 | # endif | ||
14983 | int F77_DUMMY_MAIN() { return 1; } | ||
14984 | #endif | ||
14985 | int | ||
14986 | main () | ||
14987 | { | ||
14988 | extern int optreset; optreset = 0; | ||
14989 | ; | ||
14990 | return 0; | ||
14991 | } | ||
14992 | _ACEOF | ||
14993 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14994 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14995 | (eval $ac_link) 2>&5 | ||
14996 | ac_status=$? | ||
14997 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14998 | (exit $ac_status); } && | ||
14999 | { ac_try='test -s conftest$ac_exeext' | ||
15000 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15001 | (eval $ac_try) 2>&5 | ||
15002 | ac_status=$? | ||
15003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15004 | (exit $ac_status); }; }; then | ||
15005 | ac_cv_have_getopt_optreset="yes" | ||
15006 | else | ||
15007 | echo "$as_me: failed program was:" >&5 | ||
15008 | cat conftest.$ac_ext >&5 | ||
15009 | ac_cv_have_getopt_optreset="no" | ||
15010 | |||
15011 | fi | ||
15012 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15013 | |||
15014 | fi | ||
15015 | echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 | ||
15016 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 | ||
15017 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | ||
15018 | cat >>confdefs.h <<\_ACEOF | ||
15019 | @%:@define HAVE_GETOPT_OPTRESET 1 | ||
15020 | _ACEOF | ||
15021 | |||
15022 | fi | ||
15023 | |||
15024 | echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 | ||
15025 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 | ||
15026 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then | ||
15027 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15028 | else | ||
15029 | |||
15030 | cat >conftest.$ac_ext <<_ACEOF | ||
15031 | #line $LINENO "configure" | ||
15032 | #include "confdefs.h" | ||
15033 | |||
15034 | #ifdef F77_DUMMY_MAIN | ||
15035 | # ifdef __cplusplus | ||
15036 | extern "C" | ||
15037 | # endif | ||
15038 | int F77_DUMMY_MAIN() { return 1; } | ||
15039 | #endif | ||
15040 | int | ||
15041 | main () | ||
15042 | { | ||
15043 | extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]); | ||
15044 | ; | ||
15045 | return 0; | ||
15046 | } | ||
15047 | _ACEOF | ||
15048 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15049 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15050 | (eval $ac_link) 2>&5 | ||
15051 | ac_status=$? | ||
15052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15053 | (exit $ac_status); } && | ||
15054 | { ac_try='test -s conftest$ac_exeext' | ||
15055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15056 | (eval $ac_try) 2>&5 | ||
15057 | ac_status=$? | ||
15058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15059 | (exit $ac_status); }; }; then | ||
15060 | ac_cv_libc_defines_sys_errlist="yes" | ||
15061 | else | ||
15062 | echo "$as_me: failed program was:" >&5 | ||
15063 | cat conftest.$ac_ext >&5 | ||
15064 | ac_cv_libc_defines_sys_errlist="no" | ||
15065 | |||
15066 | fi | ||
15067 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15068 | |||
15069 | fi | ||
15070 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 | ||
15071 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 | ||
15072 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | ||
15073 | cat >>confdefs.h <<\_ACEOF | ||
15074 | @%:@define HAVE_SYS_ERRLIST 1 | ||
15075 | _ACEOF | ||
15076 | |||
15077 | fi | ||
15078 | |||
15079 | |||
15080 | echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 | ||
15081 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 | ||
15082 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then | ||
15083 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15084 | else | ||
15085 | |||
15086 | cat >conftest.$ac_ext <<_ACEOF | ||
15087 | #line $LINENO "configure" | ||
15088 | #include "confdefs.h" | ||
15089 | |||
15090 | #ifdef F77_DUMMY_MAIN | ||
15091 | # ifdef __cplusplus | ||
15092 | extern "C" | ||
15093 | # endif | ||
15094 | int F77_DUMMY_MAIN() { return 1; } | ||
15095 | #endif | ||
15096 | int | ||
15097 | main () | ||
15098 | { | ||
15099 | extern int sys_nerr; printf("%i", sys_nerr); | ||
15100 | ; | ||
15101 | return 0; | ||
15102 | } | ||
15103 | _ACEOF | ||
15104 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15105 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15106 | (eval $ac_link) 2>&5 | ||
15107 | ac_status=$? | ||
15108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15109 | (exit $ac_status); } && | ||
15110 | { ac_try='test -s conftest$ac_exeext' | ||
15111 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15112 | (eval $ac_try) 2>&5 | ||
15113 | ac_status=$? | ||
15114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15115 | (exit $ac_status); }; }; then | ||
15116 | ac_cv_libc_defines_sys_nerr="yes" | ||
15117 | else | ||
15118 | echo "$as_me: failed program was:" >&5 | ||
15119 | cat conftest.$ac_ext >&5 | ||
15120 | ac_cv_libc_defines_sys_nerr="no" | ||
15121 | |||
15122 | fi | ||
15123 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15124 | |||
15125 | fi | ||
15126 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 | ||
15127 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 | ||
15128 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | ||
15129 | cat >>confdefs.h <<\_ACEOF | ||
15130 | @%:@define HAVE_SYS_NERR 1 | ||
15131 | _ACEOF | ||
15132 | |||
15133 | fi | ||
15134 | |||
15135 | SCARD_MSG="no" | ||
15136 | |||
15137 | # Check whether user wants sectok support | ||
15138 | |||
15139 | # Check whether --with-sectok or --without-sectok was given. | ||
15140 | if test "${with_sectok+set}" = set; then | ||
15141 | withval="$with_sectok" | ||
15142 | |||
15143 | if test "x$withval" != "xno" ; then | ||
15144 | if test "x$withval" != "xyes" ; then | ||
15145 | CPPFLAGS="$CPPFLAGS -I${withval}" | ||
15146 | LDFLAGS="$LDFLAGS -L${withval}" | ||
15147 | if test ! -z "$need_dash_r" ; then | ||
15148 | LDFLAGS="$LDFLAGS -R${withval}" | ||
15149 | fi | ||
15150 | if test ! -z "$blibpath" ; then | ||
15151 | blibpath="$blibpath:${withval}" | ||
15152 | fi | ||
15153 | fi | ||
15154 | |||
15155 | for ac_header in sectok.h | ||
15156 | do | ||
15157 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
15158 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15159 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15160 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
15161 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15162 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15163 | fi | ||
15164 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
15165 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
15166 | else | ||
15167 | # Is the header compilable? | ||
15168 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
15169 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
15170 | cat >conftest.$ac_ext <<_ACEOF | ||
15171 | #line $LINENO "configure" | ||
15172 | #include "confdefs.h" | ||
15173 | $ac_includes_default | ||
15174 | @%:@include <$ac_header> | ||
15175 | _ACEOF | ||
15176 | rm -f conftest.$ac_objext | ||
15177 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15178 | (eval $ac_compile) 2>&5 | ||
15179 | ac_status=$? | ||
15180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15181 | (exit $ac_status); } && | ||
15182 | { ac_try='test -s conftest.$ac_objext' | ||
15183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15184 | (eval $ac_try) 2>&5 | ||
15185 | ac_status=$? | ||
15186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15187 | (exit $ac_status); }; }; then | ||
15188 | ac_header_compiler=yes | ||
15189 | else | ||
15190 | echo "$as_me: failed program was:" >&5 | ||
15191 | cat conftest.$ac_ext >&5 | ||
15192 | ac_header_compiler=no | ||
15193 | fi | ||
15194 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15195 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
15196 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
15197 | |||
15198 | # Is the header present? | ||
15199 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
15200 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
15201 | cat >conftest.$ac_ext <<_ACEOF | ||
15202 | #line $LINENO "configure" | ||
15203 | #include "confdefs.h" | ||
15204 | @%:@include <$ac_header> | ||
15205 | _ACEOF | ||
15206 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
15207 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
15208 | ac_status=$? | ||
15209 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
15210 | rm -f conftest.er1 | ||
15211 | cat conftest.err >&5 | ||
15212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15213 | (exit $ac_status); } >/dev/null; then | ||
15214 | if test -s conftest.err; then | ||
15215 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
15216 | else | ||
15217 | ac_cpp_err= | ||
15218 | fi | ||
15219 | else | ||
15220 | ac_cpp_err=yes | ||
15221 | fi | ||
15222 | if test -z "$ac_cpp_err"; then | ||
15223 | ac_header_preproc=yes | ||
15224 | else | ||
15225 | echo "$as_me: failed program was:" >&5 | ||
15226 | cat conftest.$ac_ext >&5 | ||
15227 | ac_header_preproc=no | ||
15228 | fi | ||
15229 | rm -f conftest.err conftest.$ac_ext | ||
15230 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
15231 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
15232 | |||
15233 | # So? What about this header? | ||
15234 | case $ac_header_compiler:$ac_header_preproc in | ||
15235 | yes:no ) | ||
15236 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
15237 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
15238 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
15239 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
15240 | no:yes ) | ||
15241 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
15242 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
15243 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
15244 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
15245 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
15246 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
15247 | esac | ||
15248 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15249 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
15250 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15251 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15252 | else | ||
15253 | eval "$as_ac_Header=$ac_header_preproc" | ||
15254 | fi | ||
15255 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
15256 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
15257 | |||
15258 | fi | ||
15259 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
15260 | cat >>confdefs.h <<_ACEOF | ||
15261 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
15262 | _ACEOF | ||
15263 | |||
15264 | fi | ||
15265 | |||
15266 | done | ||
15267 | |||
15268 | if test "$ac_cv_header_sectok_h" != yes; then | ||
15269 | { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5 | ||
15270 | echo "$as_me: error: Can't find sectok.h" >&2;} | ||
15271 | { (exit 1); exit 1; }; } | ||
15272 | fi | ||
15273 | |||
15274 | echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5 | ||
15275 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 | ||
15276 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then | ||
15277 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15278 | else | ||
15279 | ac_check_lib_save_LIBS=$LIBS | ||
15280 | LIBS="-lsectok $LIBS" | ||
15281 | cat >conftest.$ac_ext <<_ACEOF | ||
15282 | #line $LINENO "configure" | ||
15283 | #include "confdefs.h" | ||
15284 | |||
15285 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
15286 | #ifdef __cplusplus | ||
15287 | extern "C" | ||
15288 | #endif | ||
15289 | /* We use char because int might match the return type of a gcc2 | ||
15290 | builtin and then its argument prototype would still apply. */ | ||
15291 | char sectok_open (); | ||
15292 | #ifdef F77_DUMMY_MAIN | ||
15293 | # ifdef __cplusplus | ||
15294 | extern "C" | ||
15295 | # endif | ||
15296 | int F77_DUMMY_MAIN() { return 1; } | ||
15297 | #endif | ||
15298 | int | ||
15299 | main () | ||
15300 | { | ||
15301 | sectok_open (); | ||
15302 | ; | ||
15303 | return 0; | ||
15304 | } | ||
15305 | _ACEOF | ||
15306 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15307 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15308 | (eval $ac_link) 2>&5 | ||
15309 | ac_status=$? | ||
15310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15311 | (exit $ac_status); } && | ||
15312 | { ac_try='test -s conftest$ac_exeext' | ||
15313 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15314 | (eval $ac_try) 2>&5 | ||
15315 | ac_status=$? | ||
15316 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15317 | (exit $ac_status); }; }; then | ||
15318 | ac_cv_lib_sectok_sectok_open=yes | ||
15319 | else | ||
15320 | echo "$as_me: failed program was:" >&5 | ||
15321 | cat conftest.$ac_ext >&5 | ||
15322 | ac_cv_lib_sectok_sectok_open=no | ||
15323 | fi | ||
15324 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15325 | LIBS=$ac_check_lib_save_LIBS | ||
15326 | fi | ||
15327 | echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5 | ||
15328 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 | ||
15329 | if test $ac_cv_lib_sectok_sectok_open = yes; then | ||
15330 | cat >>confdefs.h <<_ACEOF | ||
15331 | @%:@define HAVE_LIBSECTOK 1 | ||
15332 | _ACEOF | ||
15333 | |||
15334 | LIBS="-lsectok $LIBS" | ||
15335 | |||
15336 | fi | ||
15337 | |||
15338 | if test "$ac_cv_lib_sectok_sectok_open" != yes; then | ||
15339 | { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5 | ||
15340 | echo "$as_me: error: Can't find libsectok" >&2;} | ||
15341 | { (exit 1); exit 1; }; } | ||
15342 | fi | ||
15343 | cat >>confdefs.h <<\_ACEOF | ||
15344 | @%:@define SMARTCARD 1 | ||
15345 | _ACEOF | ||
15346 | |||
15347 | cat >>confdefs.h <<\_ACEOF | ||
15348 | @%:@define USE_SECTOK 1 | ||
15349 | _ACEOF | ||
15350 | |||
15351 | SCARD_MSG="yes, using sectok" | ||
15352 | fi | ||
15353 | |||
15354 | |||
15355 | fi; | ||
15356 | |||
15357 | # Check whether user wants OpenSC support | ||
15358 | |||
15359 | # Check whether --with-opensc or --without-opensc was given. | ||
15360 | if test "${with_opensc+set}" = set; then | ||
15361 | withval="$with_opensc" | ||
15362 | opensc_config_prefix="$withval" | ||
15363 | else | ||
15364 | opensc_config_prefix="" | ||
15365 | fi; | ||
15366 | if test x$opensc_config_prefix != x ; then | ||
15367 | OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config | ||
15368 | # Extract the first word of "opensc-config", so it can be a program name with args. | ||
15369 | set dummy opensc-config; ac_word=$2 | ||
15370 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
15371 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
15372 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then | ||
15373 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15374 | else | ||
15375 | case $OPENSC_CONFIG in | ||
15376 | [\\/]* | ?:[\\/]*) | ||
15377 | ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path. | ||
15378 | ;; | ||
15379 | *) | ||
15380 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
15381 | for as_dir in $PATH | ||
15382 | do | ||
15383 | IFS=$as_save_IFS | ||
15384 | test -z "$as_dir" && as_dir=. | ||
15385 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
15386 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
15387 | ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
15388 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
15389 | break 2 | ||
15390 | fi | ||
15391 | done | ||
15392 | done | ||
15393 | |||
15394 | test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no" | ||
15395 | ;; | ||
15396 | esac | ||
15397 | fi | ||
15398 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG | ||
15399 | |||
15400 | if test -n "$OPENSC_CONFIG"; then | ||
15401 | echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 | ||
15402 | echo "${ECHO_T}$OPENSC_CONFIG" >&6 | ||
15403 | else | ||
15404 | echo "$as_me:$LINENO: result: no" >&5 | ||
15405 | echo "${ECHO_T}no" >&6 | ||
15406 | fi | ||
15407 | |||
15408 | if test "$OPENSC_CONFIG" != "no"; then | ||
15409 | LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags` | ||
15410 | LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` | ||
15411 | CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" | ||
15412 | LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" | ||
15413 | cat >>confdefs.h <<\_ACEOF | ||
15414 | @%:@define SMARTCARD 1 | ||
15415 | _ACEOF | ||
15416 | |||
15417 | cat >>confdefs.h <<\_ACEOF | ||
15418 | @%:@define USE_OPENSC 1 | ||
15419 | _ACEOF | ||
15420 | |||
15421 | SCARD_MSG="yes, using OpenSC" | ||
15422 | fi | ||
15423 | fi | ||
15424 | |||
15425 | # Check whether user wants Kerberos 5 support | ||
15426 | KRB5_MSG="no" | ||
15427 | |||
15428 | # Check whether --with-kerberos5 or --without-kerberos5 was given. | ||
15429 | if test "${with_kerberos5+set}" = set; then | ||
15430 | withval="$with_kerberos5" | ||
15431 | |||
15432 | if test "x$withval" != "xno" ; then | ||
15433 | if test "x$withval" = "xyes" ; then | ||
15434 | KRB5ROOT="/usr/local" | ||
15435 | else | ||
15436 | KRB5ROOT=${withval} | ||
15437 | fi | ||
15438 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" | ||
15439 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" | ||
15440 | cat >>confdefs.h <<\_ACEOF | ||
15441 | @%:@define KRB5 1 | ||
15442 | _ACEOF | ||
15443 | |||
15444 | KRB5_MSG="yes" | ||
15445 | echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 | ||
15446 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 | ||
15447 | cat >conftest.$ac_ext <<_ACEOF | ||
15448 | #line $LINENO "configure" | ||
15449 | #include "confdefs.h" | ||
15450 | #include <krb5.h> | ||
15451 | #ifdef F77_DUMMY_MAIN | ||
15452 | # ifdef __cplusplus | ||
15453 | extern "C" | ||
15454 | # endif | ||
15455 | int F77_DUMMY_MAIN() { return 1; } | ||
15456 | #endif | ||
15457 | int | ||
15458 | main () | ||
15459 | { | ||
15460 | char *tmp = heimdal_version; | ||
15461 | ; | ||
15462 | return 0; | ||
15463 | } | ||
15464 | _ACEOF | ||
15465 | rm -f conftest.$ac_objext | ||
15466 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15467 | (eval $ac_compile) 2>&5 | ||
15468 | ac_status=$? | ||
15469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15470 | (exit $ac_status); } && | ||
15471 | { ac_try='test -s conftest.$ac_objext' | ||
15472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15473 | (eval $ac_try) 2>&5 | ||
15474 | ac_status=$? | ||
15475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15476 | (exit $ac_status); }; }; then | ||
15477 | echo "$as_me:$LINENO: result: yes" >&5 | ||
15478 | echo "${ECHO_T}yes" >&6 | ||
15479 | cat >>confdefs.h <<\_ACEOF | ||
15480 | @%:@define HEIMDAL 1 | ||
15481 | _ACEOF | ||
15482 | |||
15483 | K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken" | ||
15484 | |||
15485 | else | ||
15486 | echo "$as_me: failed program was:" >&5 | ||
15487 | cat conftest.$ac_ext >&5 | ||
15488 | echo "$as_me:$LINENO: result: no" >&5 | ||
15489 | echo "${ECHO_T}no" >&6 | ||
15490 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" | ||
15491 | |||
15492 | |||
15493 | fi | ||
15494 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15495 | if test ! -z "$need_dash_r" ; then | ||
15496 | LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib" | ||
15497 | fi | ||
15498 | if test ! -z "$blibpath" ; then | ||
15499 | blibpath="$blibpath:${KRB5ROOT}/lib" | ||
15500 | fi | ||
15501 | |||
15502 | echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5 | ||
15503 | echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6 | ||
15504 | if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then | ||
15505 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15506 | else | ||
15507 | ac_check_lib_save_LIBS=$LIBS | ||
15508 | LIBS="-lresolv $LIBS" | ||
15509 | cat >conftest.$ac_ext <<_ACEOF | ||
15510 | #line $LINENO "configure" | ||
15511 | #include "confdefs.h" | ||
15512 | |||
15513 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
15514 | #ifdef __cplusplus | ||
15515 | extern "C" | ||
15516 | #endif | ||
15517 | /* We use char because int might match the return type of a gcc2 | ||
15518 | builtin and then its argument prototype would still apply. */ | ||
15519 | char dn_expand (); | ||
15520 | #ifdef F77_DUMMY_MAIN | ||
15521 | # ifdef __cplusplus | ||
15522 | extern "C" | ||
15523 | # endif | ||
15524 | int F77_DUMMY_MAIN() { return 1; } | ||
15525 | #endif | ||
15526 | int | ||
15527 | main () | ||
15528 | { | ||
15529 | dn_expand (); | ||
15530 | ; | ||
15531 | return 0; | ||
15532 | } | ||
15533 | _ACEOF | ||
15534 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15535 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15536 | (eval $ac_link) 2>&5 | ||
15537 | ac_status=$? | ||
15538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15539 | (exit $ac_status); } && | ||
15540 | { ac_try='test -s conftest$ac_exeext' | ||
15541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15542 | (eval $ac_try) 2>&5 | ||
15543 | ac_status=$? | ||
15544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15545 | (exit $ac_status); }; }; then | ||
15546 | ac_cv_lib_resolv_dn_expand=yes | ||
15547 | else | ||
15548 | echo "$as_me: failed program was:" >&5 | ||
15549 | cat conftest.$ac_ext >&5 | ||
15550 | ac_cv_lib_resolv_dn_expand=no | ||
15551 | fi | ||
15552 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15553 | LIBS=$ac_check_lib_save_LIBS | ||
15554 | fi | ||
15555 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5 | ||
15556 | echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6 | ||
15557 | if test $ac_cv_lib_resolv_dn_expand = yes; then | ||
15558 | cat >>confdefs.h <<_ACEOF | ||
15559 | @%:@define HAVE_LIBRESOLV 1 | ||
15560 | _ACEOF | ||
15561 | |||
15562 | LIBS="-lresolv $LIBS" | ||
15563 | |||
15564 | fi | ||
15565 | |||
15566 | |||
15567 | KRB5=yes | ||
15568 | fi | ||
15569 | |||
15570 | |||
15571 | fi; | ||
15572 | # Check whether user wants Kerberos 4 support | ||
15573 | KRB4_MSG="no" | ||
15574 | |||
15575 | # Check whether --with-kerberos4 or --without-kerberos4 was given. | ||
15576 | if test "${with_kerberos4+set}" = set; then | ||
15577 | withval="$with_kerberos4" | ||
15578 | |||
15579 | if test "x$withval" != "xno" ; then | ||
15580 | if test "x$withval" != "xyes" ; then | ||
15581 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | ||
15582 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
15583 | if test ! -z "$need_dash_r" ; then | ||
15584 | LDFLAGS="$LDFLAGS -R${withval}/lib" | ||
15585 | fi | ||
15586 | if test ! -z "$blibpath" ; then | ||
15587 | blibpath="$blibpath:${withval}/lib" | ||
15588 | fi | ||
15589 | else | ||
15590 | if test -d /usr/include/kerberosIV ; then | ||
15591 | CPPFLAGS="$CPPFLAGS -I/usr/include/kerberosIV" | ||
15592 | fi | ||
15593 | fi | ||
15594 | |||
15595 | |||
15596 | for ac_header in krb.h | ||
15597 | do | ||
15598 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
15599 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15600 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15601 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
15602 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15603 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15604 | fi | ||
15605 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
15606 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
15607 | else | ||
15608 | # Is the header compilable? | ||
15609 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
15610 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
15611 | cat >conftest.$ac_ext <<_ACEOF | ||
15612 | #line $LINENO "configure" | ||
15613 | #include "confdefs.h" | ||
15614 | $ac_includes_default | ||
15615 | @%:@include <$ac_header> | ||
15616 | _ACEOF | ||
15617 | rm -f conftest.$ac_objext | ||
15618 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15619 | (eval $ac_compile) 2>&5 | ||
15620 | ac_status=$? | ||
15621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15622 | (exit $ac_status); } && | ||
15623 | { ac_try='test -s conftest.$ac_objext' | ||
15624 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15625 | (eval $ac_try) 2>&5 | ||
15626 | ac_status=$? | ||
15627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15628 | (exit $ac_status); }; }; then | ||
15629 | ac_header_compiler=yes | ||
15630 | else | ||
15631 | echo "$as_me: failed program was:" >&5 | ||
15632 | cat conftest.$ac_ext >&5 | ||
15633 | ac_header_compiler=no | ||
15634 | fi | ||
15635 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15636 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
15637 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
15638 | |||
15639 | # Is the header present? | ||
15640 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
15641 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
15642 | cat >conftest.$ac_ext <<_ACEOF | ||
15643 | #line $LINENO "configure" | ||
15644 | #include "confdefs.h" | ||
15645 | @%:@include <$ac_header> | ||
15646 | _ACEOF | ||
15647 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
15648 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
15649 | ac_status=$? | ||
15650 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
15651 | rm -f conftest.er1 | ||
15652 | cat conftest.err >&5 | ||
15653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15654 | (exit $ac_status); } >/dev/null; then | ||
15655 | if test -s conftest.err; then | ||
15656 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
15657 | else | ||
15658 | ac_cpp_err= | ||
15659 | fi | ||
15660 | else | ||
15661 | ac_cpp_err=yes | ||
15662 | fi | ||
15663 | if test -z "$ac_cpp_err"; then | ||
15664 | ac_header_preproc=yes | ||
15665 | else | ||
15666 | echo "$as_me: failed program was:" >&5 | ||
15667 | cat conftest.$ac_ext >&5 | ||
15668 | ac_header_preproc=no | ||
15669 | fi | ||
15670 | rm -f conftest.err conftest.$ac_ext | ||
15671 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
15672 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
15673 | |||
15674 | # So? What about this header? | ||
15675 | case $ac_header_compiler:$ac_header_preproc in | ||
15676 | yes:no ) | ||
15677 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
15678 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
15679 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
15680 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
15681 | no:yes ) | ||
15682 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
15683 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
15684 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
15685 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
15686 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
15687 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
15688 | esac | ||
15689 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15690 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
15691 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15692 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15693 | else | ||
15694 | eval "$as_ac_Header=$ac_header_preproc" | ||
15695 | fi | ||
15696 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
15697 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
15698 | |||
15699 | fi | ||
15700 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
15701 | cat >>confdefs.h <<_ACEOF | ||
15702 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
15703 | _ACEOF | ||
15704 | |||
15705 | fi | ||
15706 | |||
15707 | done | ||
15708 | |||
15709 | if test "$ac_cv_header_krb_h" != yes; then | ||
15710 | { echo "$as_me:$LINENO: WARNING: Cannot find krb.h, build may fail" >&5 | ||
15711 | echo "$as_me: WARNING: Cannot find krb.h, build may fail" >&2;} | ||
15712 | fi | ||
15713 | |||
15714 | echo "$as_me:$LINENO: checking for main in -lkrb" >&5 | ||
15715 | echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6 | ||
15716 | if test "${ac_cv_lib_krb_main+set}" = set; then | ||
15717 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15718 | else | ||
15719 | ac_check_lib_save_LIBS=$LIBS | ||
15720 | LIBS="-lkrb $LIBS" | ||
15721 | cat >conftest.$ac_ext <<_ACEOF | ||
15722 | #line $LINENO "configure" | ||
15723 | #include "confdefs.h" | ||
15724 | |||
15725 | |||
15726 | #ifdef F77_DUMMY_MAIN | ||
15727 | # ifdef __cplusplus | ||
15728 | extern "C" | ||
15729 | # endif | ||
15730 | int F77_DUMMY_MAIN() { return 1; } | ||
15731 | #endif | ||
15732 | int | ||
15733 | main () | ||
15734 | { | ||
15735 | main (); | ||
15736 | ; | ||
15737 | return 0; | ||
15738 | } | ||
15739 | _ACEOF | ||
15740 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15741 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15742 | (eval $ac_link) 2>&5 | ||
15743 | ac_status=$? | ||
15744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15745 | (exit $ac_status); } && | ||
15746 | { ac_try='test -s conftest$ac_exeext' | ||
15747 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15748 | (eval $ac_try) 2>&5 | ||
15749 | ac_status=$? | ||
15750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15751 | (exit $ac_status); }; }; then | ||
15752 | ac_cv_lib_krb_main=yes | ||
15753 | else | ||
15754 | echo "$as_me: failed program was:" >&5 | ||
15755 | cat conftest.$ac_ext >&5 | ||
15756 | ac_cv_lib_krb_main=no | ||
15757 | fi | ||
15758 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15759 | LIBS=$ac_check_lib_save_LIBS | ||
15760 | fi | ||
15761 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5 | ||
15762 | echo "${ECHO_T}$ac_cv_lib_krb_main" >&6 | ||
15763 | if test $ac_cv_lib_krb_main = yes; then | ||
15764 | cat >>confdefs.h <<_ACEOF | ||
15765 | @%:@define HAVE_LIBKRB 1 | ||
15766 | _ACEOF | ||
15767 | |||
15768 | LIBS="-lkrb $LIBS" | ||
15769 | |||
15770 | fi | ||
15771 | |||
15772 | if test "$ac_cv_lib_krb_main" != yes; then | ||
15773 | |||
15774 | echo "$as_me:$LINENO: checking for main in -lkrb4" >&5 | ||
15775 | echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6 | ||
15776 | if test "${ac_cv_lib_krb4_main+set}" = set; then | ||
15777 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15778 | else | ||
15779 | ac_check_lib_save_LIBS=$LIBS | ||
15780 | LIBS="-lkrb4 $LIBS" | ||
15781 | cat >conftest.$ac_ext <<_ACEOF | ||
15782 | #line $LINENO "configure" | ||
15783 | #include "confdefs.h" | ||
15784 | |||
15785 | |||
15786 | #ifdef F77_DUMMY_MAIN | ||
15787 | # ifdef __cplusplus | ||
15788 | extern "C" | ||
15789 | # endif | ||
15790 | int F77_DUMMY_MAIN() { return 1; } | ||
15791 | #endif | ||
15792 | int | ||
15793 | main () | ||
15794 | { | ||
15795 | main (); | ||
15796 | ; | ||
15797 | return 0; | ||
15798 | } | ||
15799 | _ACEOF | ||
15800 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15801 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15802 | (eval $ac_link) 2>&5 | ||
15803 | ac_status=$? | ||
15804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15805 | (exit $ac_status); } && | ||
15806 | { ac_try='test -s conftest$ac_exeext' | ||
15807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15808 | (eval $ac_try) 2>&5 | ||
15809 | ac_status=$? | ||
15810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15811 | (exit $ac_status); }; }; then | ||
15812 | ac_cv_lib_krb4_main=yes | ||
15813 | else | ||
15814 | echo "$as_me: failed program was:" >&5 | ||
15815 | cat conftest.$ac_ext >&5 | ||
15816 | ac_cv_lib_krb4_main=no | ||
15817 | fi | ||
15818 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15819 | LIBS=$ac_check_lib_save_LIBS | ||
15820 | fi | ||
15821 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5 | ||
15822 | echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6 | ||
15823 | if test $ac_cv_lib_krb4_main = yes; then | ||
15824 | cat >>confdefs.h <<_ACEOF | ||
15825 | @%:@define HAVE_LIBKRB4 1 | ||
15826 | _ACEOF | ||
15827 | |||
15828 | LIBS="-lkrb4 $LIBS" | ||
15829 | |||
15830 | fi | ||
15831 | |||
15832 | if test "$ac_cv_lib_krb4_main" != yes; then | ||
15833 | { echo "$as_me:$LINENO: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&5 | ||
15834 | echo "$as_me: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&2;} | ||
15835 | else | ||
15836 | KLIBS="-lkrb4" | ||
15837 | fi | ||
15838 | else | ||
15839 | KLIBS="-lkrb" | ||
15840 | fi | ||
15841 | |||
15842 | echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | ||
15843 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 | ||
15844 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | ||
15845 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15846 | else | ||
15847 | ac_check_lib_save_LIBS=$LIBS | ||
15848 | LIBS="-ldes $LIBS" | ||
15849 | cat >conftest.$ac_ext <<_ACEOF | ||
15850 | #line $LINENO "configure" | ||
15851 | #include "confdefs.h" | ||
15852 | |||
15853 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
15854 | #ifdef __cplusplus | ||
15855 | extern "C" | ||
15856 | #endif | ||
15857 | /* We use char because int might match the return type of a gcc2 | ||
15858 | builtin and then its argument prototype would still apply. */ | ||
15859 | char des_cbc_encrypt (); | ||
15860 | #ifdef F77_DUMMY_MAIN | ||
15861 | # ifdef __cplusplus | ||
15862 | extern "C" | ||
15863 | # endif | ||
15864 | int F77_DUMMY_MAIN() { return 1; } | ||
15865 | #endif | ||
15866 | int | ||
15867 | main () | ||
15868 | { | ||
15869 | des_cbc_encrypt (); | ||
15870 | ; | ||
15871 | return 0; | ||
15872 | } | ||
15873 | _ACEOF | ||
15874 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15875 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15876 | (eval $ac_link) 2>&5 | ||
15877 | ac_status=$? | ||
15878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15879 | (exit $ac_status); } && | ||
15880 | { ac_try='test -s conftest$ac_exeext' | ||
15881 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15882 | (eval $ac_try) 2>&5 | ||
15883 | ac_status=$? | ||
15884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15885 | (exit $ac_status); }; }; then | ||
15886 | ac_cv_lib_des_des_cbc_encrypt=yes | ||
15887 | else | ||
15888 | echo "$as_me: failed program was:" >&5 | ||
15889 | cat conftest.$ac_ext >&5 | ||
15890 | ac_cv_lib_des_des_cbc_encrypt=no | ||
15891 | fi | ||
15892 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15893 | LIBS=$ac_check_lib_save_LIBS | ||
15894 | fi | ||
15895 | echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | ||
15896 | echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 | ||
15897 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | ||
15898 | cat >>confdefs.h <<_ACEOF | ||
15899 | @%:@define HAVE_LIBDES 1 | ||
15900 | _ACEOF | ||
15901 | |||
15902 | LIBS="-ldes $LIBS" | ||
15903 | |||
15904 | fi | ||
15905 | |||
15906 | if test "$ac_cv_lib_des_des_cbc_encrypt" != yes; then | ||
15907 | |||
15908 | echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | ||
15909 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 | ||
15910 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | ||
15911 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15912 | else | ||
15913 | ac_check_lib_save_LIBS=$LIBS | ||
15914 | LIBS="-ldes425 $LIBS" | ||
15915 | cat >conftest.$ac_ext <<_ACEOF | ||
15916 | #line $LINENO "configure" | ||
15917 | #include "confdefs.h" | ||
15918 | |||
15919 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
15920 | #ifdef __cplusplus | ||
15921 | extern "C" | ||
15922 | #endif | ||
15923 | /* We use char because int might match the return type of a gcc2 | ||
15924 | builtin and then its argument prototype would still apply. */ | ||
15925 | char des_cbc_encrypt (); | ||
15926 | #ifdef F77_DUMMY_MAIN | ||
15927 | # ifdef __cplusplus | ||
15928 | extern "C" | ||
15929 | # endif | ||
15930 | int F77_DUMMY_MAIN() { return 1; } | ||
15931 | #endif | ||
15932 | int | ||
15933 | main () | ||
15934 | { | ||
15935 | des_cbc_encrypt (); | ||
15936 | ; | ||
15937 | return 0; | ||
15938 | } | ||
15939 | _ACEOF | ||
15940 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15941 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15942 | (eval $ac_link) 2>&5 | ||
15943 | ac_status=$? | ||
15944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15945 | (exit $ac_status); } && | ||
15946 | { ac_try='test -s conftest$ac_exeext' | ||
15947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15948 | (eval $ac_try) 2>&5 | ||
15949 | ac_status=$? | ||
15950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15951 | (exit $ac_status); }; }; then | ||
15952 | ac_cv_lib_des425_des_cbc_encrypt=yes | ||
15953 | else | ||
15954 | echo "$as_me: failed program was:" >&5 | ||
15955 | cat conftest.$ac_ext >&5 | ||
15956 | ac_cv_lib_des425_des_cbc_encrypt=no | ||
15957 | fi | ||
15958 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15959 | LIBS=$ac_check_lib_save_LIBS | ||
15960 | fi | ||
15961 | echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | ||
15962 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 | ||
15963 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | ||
15964 | cat >>confdefs.h <<_ACEOF | ||
15965 | @%:@define HAVE_LIBDES425 1 | ||
15966 | _ACEOF | ||
15967 | |||
15968 | LIBS="-ldes425 $LIBS" | ||
15969 | |||
15970 | fi | ||
15971 | |||
15972 | if test "$ac_cv_lib_des425_des_cbc_encrypt" != yes; then | ||
15973 | { echo "$as_me:$LINENO: WARNING: Cannot find libdes nor libdes425, build may fail" >&5 | ||
15974 | echo "$as_me: WARNING: Cannot find libdes nor libdes425, build may fail" >&2;} | ||
15975 | else | ||
15976 | KLIBS="-ldes425" | ||
15977 | fi | ||
15978 | else | ||
15979 | KLIBS="-ldes" | ||
15980 | fi | ||
15981 | |||
15982 | echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5 | ||
15983 | echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6 | ||
15984 | if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then | ||
15985 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15986 | else | ||
15987 | ac_check_lib_save_LIBS=$LIBS | ||
15988 | LIBS="-lresolv $LIBS" | ||
15989 | cat >conftest.$ac_ext <<_ACEOF | ||
15990 | #line $LINENO "configure" | ||
15991 | #include "confdefs.h" | ||
15992 | |||
15993 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
15994 | #ifdef __cplusplus | ||
15995 | extern "C" | ||
15996 | #endif | ||
15997 | /* We use char because int might match the return type of a gcc2 | ||
15998 | builtin and then its argument prototype would still apply. */ | ||
15999 | char dn_expand (); | ||
16000 | #ifdef F77_DUMMY_MAIN | ||
16001 | # ifdef __cplusplus | ||
16002 | extern "C" | ||
16003 | # endif | ||
16004 | int F77_DUMMY_MAIN() { return 1; } | ||
16005 | #endif | ||
16006 | int | ||
16007 | main () | ||
16008 | { | ||
16009 | dn_expand (); | ||
16010 | ; | ||
16011 | return 0; | ||
16012 | } | ||
16013 | _ACEOF | ||
16014 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16015 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16016 | (eval $ac_link) 2>&5 | ||
16017 | ac_status=$? | ||
16018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16019 | (exit $ac_status); } && | ||
16020 | { ac_try='test -s conftest$ac_exeext' | ||
16021 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16022 | (eval $ac_try) 2>&5 | ||
16023 | ac_status=$? | ||
16024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16025 | (exit $ac_status); }; }; then | ||
16026 | ac_cv_lib_resolv_dn_expand=yes | ||
16027 | else | ||
16028 | echo "$as_me: failed program was:" >&5 | ||
16029 | cat conftest.$ac_ext >&5 | ||
16030 | ac_cv_lib_resolv_dn_expand=no | ||
16031 | fi | ||
16032 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16033 | LIBS=$ac_check_lib_save_LIBS | ||
16034 | fi | ||
16035 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5 | ||
16036 | echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6 | ||
16037 | if test $ac_cv_lib_resolv_dn_expand = yes; then | ||
16038 | cat >>confdefs.h <<_ACEOF | ||
16039 | @%:@define HAVE_LIBRESOLV 1 | ||
16040 | _ACEOF | ||
16041 | |||
16042 | LIBS="-lresolv $LIBS" | ||
16043 | |||
16044 | fi | ||
16045 | |||
16046 | KRB4=yes | ||
16047 | KRB4_MSG="yes" | ||
16048 | cat >>confdefs.h <<\_ACEOF | ||
16049 | @%:@define KRB4 1 | ||
16050 | _ACEOF | ||
16051 | |||
16052 | fi | ||
16053 | |||
16054 | |||
16055 | fi; | ||
16056 | |||
16057 | # Check whether user wants AFS support | ||
16058 | AFS_MSG="no" | ||
16059 | |||
16060 | # Check whether --with-afs or --without-afs was given. | ||
16061 | if test "${with_afs+set}" = set; then | ||
16062 | withval="$with_afs" | ||
16063 | |||
16064 | if test "x$withval" != "xno" ; then | ||
16065 | |||
16066 | if test "x$withval" != "xyes" ; then | ||
16067 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | ||
16068 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
16069 | fi | ||
16070 | |||
16071 | if test -z "$KRB4" ; then | ||
16072 | { echo "$as_me:$LINENO: WARNING: AFS requires Kerberos IV support, build may fail" >&5 | ||
16073 | echo "$as_me: WARNING: AFS requires Kerberos IV support, build may fail" >&2;} | ||
16074 | fi | ||
16075 | |||
16076 | LIBS="-lkafs $LIBS" | ||
16077 | if test ! -z "$AFS_LIBS" ; then | ||
16078 | LIBS="$LIBS $AFS_LIBS" | ||
16079 | fi | ||
16080 | cat >>confdefs.h <<\_ACEOF | ||
16081 | @%:@define AFS 1 | ||
16082 | _ACEOF | ||
16083 | |||
16084 | AFS_MSG="yes" | ||
16085 | fi | ||
16086 | |||
16087 | |||
16088 | fi; | ||
16089 | LIBS="$LIBS $KLIBS $K5LIBS" | ||
16090 | |||
16091 | # Looking for programs, paths and files | ||
16092 | |||
16093 | PRIVSEP_PATH=/var/empty | ||
16094 | |||
16095 | # Check whether --with-privsep-path or --without-privsep-path was given. | ||
16096 | if test "${with_privsep_path+set}" = set; then | ||
16097 | withval="$with_privsep_path" | ||
16098 | |||
16099 | if test "x$withval" != "$no" ; then | ||
16100 | PRIVSEP_PATH=$withval | ||
16101 | fi | ||
16102 | |||
16103 | |||
16104 | fi; | ||
16105 | |||
16106 | |||
16107 | |||
16108 | # Check whether --with-xauth or --without-xauth was given. | ||
16109 | if test "${with_xauth+set}" = set; then | ||
16110 | withval="$with_xauth" | ||
16111 | |||
16112 | if test "x$withval" != "xno" ; then | ||
16113 | xauth_path=$withval | ||
16114 | fi | ||
16115 | |||
16116 | else | ||
16117 | |||
16118 | TestPath="$PATH" | ||
16119 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/X/bin" | ||
16120 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/bin/X11" | ||
16121 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/X11R6/bin" | ||
16122 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" | ||
16123 | # Extract the first word of "xauth", so it can be a program name with args. | ||
16124 | set dummy xauth; ac_word=$2 | ||
16125 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
16126 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
16127 | if test "${ac_cv_path_xauth_path+set}" = set; then | ||
16128 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16129 | else | ||
16130 | case $xauth_path in | ||
16131 | [\\/]* | ?:[\\/]*) | ||
16132 | ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path. | ||
16133 | ;; | ||
16134 | *) | ||
16135 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
16136 | for as_dir in $TestPath | ||
16137 | do | ||
16138 | IFS=$as_save_IFS | ||
16139 | test -z "$as_dir" && as_dir=. | ||
16140 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
16141 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
16142 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" | ||
16143 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
16144 | break 2 | ||
16145 | fi | ||
16146 | done | ||
16147 | done | ||
16148 | |||
16149 | ;; | ||
16150 | esac | ||
16151 | fi | ||
16152 | xauth_path=$ac_cv_path_xauth_path | ||
16153 | |||
16154 | if test -n "$xauth_path"; then | ||
16155 | echo "$as_me:$LINENO: result: $xauth_path" >&5 | ||
16156 | echo "${ECHO_T}$xauth_path" >&6 | ||
16157 | else | ||
16158 | echo "$as_me:$LINENO: result: no" >&5 | ||
16159 | echo "${ECHO_T}no" >&6 | ||
16160 | fi | ||
16161 | |||
16162 | if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then | ||
16163 | xauth_path="/usr/openwin/bin/xauth" | ||
16164 | fi | ||
16165 | |||
16166 | |||
16167 | fi; | ||
16168 | |||
16169 | STRIP_OPT=-s | ||
16170 | # Check whether --enable-strip or --disable-strip was given. | ||
16171 | if test "${enable_strip+set}" = set; then | ||
16172 | enableval="$enable_strip" | ||
16173 | |||
16174 | if test "x$enableval" = "xno" ; then | ||
16175 | STRIP_OPT= | ||
16176 | fi | ||
16177 | |||
16178 | |||
16179 | fi; | ||
16180 | |||
16181 | |||
16182 | if test -z "$xauth_path" ; then | ||
16183 | XAUTH_PATH="undefined" | ||
16184 | |||
16185 | else | ||
16186 | cat >>confdefs.h <<_ACEOF | ||
16187 | @%:@define XAUTH_PATH "$xauth_path" | ||
16188 | _ACEOF | ||
16189 | |||
16190 | XAUTH_PATH=$xauth_path | ||
16191 | |||
16192 | fi | ||
16193 | |||
16194 | # Check for mail directory (last resort if we cannot get it from headers) | ||
16195 | if test ! -z "$MAIL" ; then | ||
16196 | maildir=`dirname $MAIL` | ||
16197 | cat >>confdefs.h <<_ACEOF | ||
16198 | @%:@define MAIL_DIRECTORY "$maildir" | ||
16199 | _ACEOF | ||
16200 | |||
16201 | fi | ||
16202 | |||
16203 | if test -z "$no_dev_ptmx" ; then | ||
16204 | if test "x$disable_ptmx_check" != "xyes" ; then | ||
16205 | echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 | ||
16206 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 | ||
16207 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then | ||
16208 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16209 | else | ||
16210 | test "$cross_compiling" = yes && | ||
16211 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | ||
16212 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
16213 | { (exit 1); exit 1; }; } | ||
16214 | if test -r ""/dev/ptmx""; then | ||
16215 | ac_cv_file___dev_ptmx_=yes | ||
16216 | else | ||
16217 | ac_cv_file___dev_ptmx_=no | ||
16218 | fi | ||
16219 | fi | ||
16220 | echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 | ||
16221 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 | ||
16222 | if test $ac_cv_file___dev_ptmx_ = yes; then | ||
16223 | |||
16224 | cat >>confdefs.h <<_ACEOF | ||
16225 | @%:@define HAVE_DEV_PTMX 1 | ||
16226 | _ACEOF | ||
16227 | |||
16228 | have_dev_ptmx=1 | ||
16229 | |||
16230 | |||
16231 | fi | ||
16232 | |||
16233 | fi | ||
16234 | fi | ||
16235 | echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 | ||
16236 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 | ||
16237 | if test "${ac_cv_file___dev_ptc_+set}" = set; then | ||
16238 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16239 | else | ||
16240 | test "$cross_compiling" = yes && | ||
16241 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | ||
16242 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
16243 | { (exit 1); exit 1; }; } | ||
16244 | if test -r ""/dev/ptc""; then | ||
16245 | ac_cv_file___dev_ptc_=yes | ||
16246 | else | ||
16247 | ac_cv_file___dev_ptc_=no | ||
16248 | fi | ||
16249 | fi | ||
16250 | echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 | ||
16251 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 | ||
16252 | if test $ac_cv_file___dev_ptc_ = yes; then | ||
16253 | |||
16254 | cat >>confdefs.h <<_ACEOF | ||
16255 | @%:@define HAVE_DEV_PTS_AND_PTC 1 | ||
16256 | _ACEOF | ||
16257 | |||
16258 | have_dev_ptc=1 | ||
16259 | |||
16260 | |||
16261 | fi | ||
16262 | |||
16263 | |||
16264 | # Options from here on. Some of these are preset by platform above | ||
16265 | |||
16266 | # Check whether --with-mantype or --without-mantype was given. | ||
16267 | if test "${with_mantype+set}" = set; then | ||
16268 | withval="$with_mantype" | ||
16269 | |||
16270 | case "$withval" in | ||
16271 | man|cat|doc) | ||
16272 | MANTYPE=$withval | ||
16273 | ;; | ||
16274 | *) | ||
16275 | { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5 | ||
16276 | echo "$as_me: error: invalid man type: $withval" >&2;} | ||
16277 | { (exit 1); exit 1; }; } | ||
16278 | ;; | ||
16279 | esac | ||
16280 | |||
16281 | |||
16282 | fi; | ||
16283 | if test -z "$MANTYPE"; then | ||
16284 | TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb" | ||
16285 | for ac_prog in nroff awf | ||
16286 | do | ||
16287 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
16288 | set dummy $ac_prog; ac_word=$2 | ||
16289 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
16290 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
16291 | if test "${ac_cv_path_NROFF+set}" = set; then | ||
16292 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16293 | else | ||
16294 | case $NROFF in | ||
16295 | [\\/]* | ?:[\\/]*) | ||
16296 | ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. | ||
16297 | ;; | ||
16298 | *) | ||
16299 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
16300 | for as_dir in $TestPath | ||
16301 | do | ||
16302 | IFS=$as_save_IFS | ||
16303 | test -z "$as_dir" && as_dir=. | ||
16304 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
16305 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
16306 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" | ||
16307 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
16308 | break 2 | ||
16309 | fi | ||
16310 | done | ||
16311 | done | ||
16312 | |||
16313 | ;; | ||
16314 | esac | ||
16315 | fi | ||
16316 | NROFF=$ac_cv_path_NROFF | ||
16317 | |||
16318 | if test -n "$NROFF"; then | ||
16319 | echo "$as_me:$LINENO: result: $NROFF" >&5 | ||
16320 | echo "${ECHO_T}$NROFF" >&6 | ||
16321 | else | ||
16322 | echo "$as_me:$LINENO: result: no" >&5 | ||
16323 | echo "${ECHO_T}no" >&6 | ||
16324 | fi | ||
16325 | |||
16326 | test -n "$NROFF" && break | ||
16327 | done | ||
16328 | test -n "$NROFF" || NROFF="/bin/false" | ||
16329 | |||
16330 | if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then | ||
16331 | MANTYPE=doc | ||
16332 | elif ${NROFF} -man ${srcdir}/ssh.1 >/dev/null 2>&1; then | ||
16333 | MANTYPE=man | ||
16334 | else | ||
16335 | MANTYPE=cat | ||
16336 | fi | ||
16337 | fi | ||
16338 | |||
16339 | if test "$MANTYPE" = "doc"; then | ||
16340 | mansubdir=man; | ||
16341 | else | ||
16342 | mansubdir=$MANTYPE; | ||
16343 | fi | ||
16344 | |||
16345 | |||
16346 | # Check whether to enable MD5 passwords | ||
16347 | MD5_MSG="no" | ||
16348 | |||
16349 | # Check whether --with-md5-passwords or --without-md5-passwords was given. | ||
16350 | if test "${with_md5_passwords+set}" = set; then | ||
16351 | withval="$with_md5_passwords" | ||
16352 | |||
16353 | if test "x$withval" != "xno" ; then | ||
16354 | cat >>confdefs.h <<\_ACEOF | ||
16355 | @%:@define HAVE_MD5_PASSWORDS 1 | ||
16356 | _ACEOF | ||
16357 | |||
16358 | MD5_MSG="yes" | ||
16359 | fi | ||
16360 | |||
16361 | |||
16362 | fi; | ||
16363 | |||
16364 | # Whether to disable shadow password support | ||
16365 | |||
16366 | # Check whether --with-shadow or --without-shadow was given. | ||
16367 | if test "${with_shadow+set}" = set; then | ||
16368 | withval="$with_shadow" | ||
16369 | |||
16370 | if test "x$withval" = "xno" ; then | ||
16371 | cat >>confdefs.h <<\_ACEOF | ||
16372 | @%:@define DISABLE_SHADOW 1 | ||
16373 | _ACEOF | ||
16374 | |||
16375 | disable_shadow=yes | ||
16376 | fi | ||
16377 | |||
16378 | |||
16379 | fi; | ||
16380 | |||
16381 | if test -z "$disable_shadow" ; then | ||
16382 | echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 | ||
16383 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 | ||
16384 | cat >conftest.$ac_ext <<_ACEOF | ||
16385 | #line $LINENO "configure" | ||
16386 | #include "confdefs.h" | ||
16387 | |||
16388 | #include <sys/types.h> | ||
16389 | #include <shadow.h> | ||
16390 | struct spwd sp; | ||
16391 | |||
16392 | #ifdef F77_DUMMY_MAIN | ||
16393 | # ifdef __cplusplus | ||
16394 | extern "C" | ||
16395 | # endif | ||
16396 | int F77_DUMMY_MAIN() { return 1; } | ||
16397 | #endif | ||
16398 | int | ||
16399 | main () | ||
16400 | { | ||
16401 | sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; | ||
16402 | ; | ||
16403 | return 0; | ||
16404 | } | ||
16405 | _ACEOF | ||
16406 | rm -f conftest.$ac_objext | ||
16407 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
16408 | (eval $ac_compile) 2>&5 | ||
16409 | ac_status=$? | ||
16410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16411 | (exit $ac_status); } && | ||
16412 | { ac_try='test -s conftest.$ac_objext' | ||
16413 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16414 | (eval $ac_try) 2>&5 | ||
16415 | ac_status=$? | ||
16416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16417 | (exit $ac_status); }; }; then | ||
16418 | sp_expire_available=yes | ||
16419 | else | ||
16420 | echo "$as_me: failed program was:" >&5 | ||
16421 | cat conftest.$ac_ext >&5 | ||
16422 | |||
16423 | |||
16424 | fi | ||
16425 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
16426 | |||
16427 | if test "x$sp_expire_available" = "xyes" ; then | ||
16428 | echo "$as_me:$LINENO: result: yes" >&5 | ||
16429 | echo "${ECHO_T}yes" >&6 | ||
16430 | cat >>confdefs.h <<\_ACEOF | ||
16431 | @%:@define HAS_SHADOW_EXPIRE 1 | ||
16432 | _ACEOF | ||
16433 | |||
16434 | else | ||
16435 | echo "$as_me:$LINENO: result: no" >&5 | ||
16436 | echo "${ECHO_T}no" >&6 | ||
16437 | fi | ||
16438 | fi | ||
16439 | |||
16440 | # Use ip address instead of hostname in $DISPLAY | ||
16441 | if test ! -z "$IPADDR_IN_DISPLAY" ; then | ||
16442 | DISPLAY_HACK_MSG="yes" | ||
16443 | cat >>confdefs.h <<\_ACEOF | ||
16444 | @%:@define IPADDR_IN_DISPLAY 1 | ||
16445 | _ACEOF | ||
16446 | |||
16447 | else | ||
16448 | DISPLAY_HACK_MSG="no" | ||
16449 | |||
16450 | # Check whether --with-ipaddr-display or --without-ipaddr-display was given. | ||
16451 | if test "${with_ipaddr_display+set}" = set; then | ||
16452 | withval="$with_ipaddr_display" | ||
16453 | |||
16454 | if test "x$withval" != "xno" ; then | ||
16455 | cat >>confdefs.h <<\_ACEOF | ||
16456 | @%:@define IPADDR_IN_DISPLAY 1 | ||
16457 | _ACEOF | ||
16458 | |||
16459 | DISPLAY_HACK_MSG="yes" | ||
16460 | fi | ||
16461 | |||
16462 | |||
16463 | fi; | ||
16464 | fi | ||
16465 | |||
16466 | if test $ac_cv_func_login_getcapbool = "yes" -a \ | ||
16467 | $ac_cv_header_login_cap_h = "yes" ; then | ||
16468 | USES_LOGIN_CONF=yes | ||
16469 | fi | ||
16470 | # Whether to mess with the default path | ||
16471 | SERVER_PATH_MSG="(default)" | ||
16472 | |||
16473 | # Check whether --with-default-path or --without-default-path was given. | ||
16474 | if test "${with_default_path+set}" = set; then | ||
16475 | withval="$with_default_path" | ||
16476 | |||
16477 | if test "$USES_LOGIN_CONF" = "yes" ; then | ||
16478 | { echo "$as_me:$LINENO: WARNING: | ||
16479 | --with-default-path=PATH has no effect on this system. | ||
16480 | Edit /etc/login.conf instead." >&5 | ||
16481 | echo "$as_me: WARNING: | ||
16482 | --with-default-path=PATH has no effect on this system. | ||
16483 | Edit /etc/login.conf instead." >&2;} | ||
16484 | elif test "x$withval" != "xno" ; then | ||
16485 | user_path="$withval" | ||
16486 | SERVER_PATH_MSG="$withval" | ||
16487 | fi | ||
16488 | |||
16489 | else | ||
16490 | if test "$USES_LOGIN_CONF" = "yes" ; then | ||
16491 | { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 | ||
16492 | echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} | ||
16493 | else | ||
16494 | if test "$cross_compiling" = yes; then | ||
16495 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | ||
16496 | |||
16497 | else | ||
16498 | cat >conftest.$ac_ext <<_ACEOF | ||
16499 | #line $LINENO "configure" | ||
16500 | #include "confdefs.h" | ||
16501 | |||
16502 | /* find out what STDPATH is */ | ||
16503 | #include <stdio.h> | ||
16504 | #ifdef HAVE_PATHS_H | ||
16505 | # include <paths.h> | ||
16506 | #endif | ||
16507 | #ifndef _PATH_STDPATH | ||
16508 | # ifdef _PATH_USERPATH /* Irix */ | ||
16509 | # define _PATH_STDPATH _PATH_USERPATH | ||
16510 | # else | ||
16511 | # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" | ||
16512 | # endif | ||
16513 | #endif | ||
16514 | #include <sys/types.h> | ||
16515 | #include <sys/stat.h> | ||
16516 | #include <fcntl.h> | ||
16517 | #define DATA "conftest.stdpath" | ||
16518 | |||
16519 | main() | ||
16520 | { | ||
16521 | FILE *fd; | ||
16522 | int rc; | ||
16523 | |||
16524 | fd = fopen(DATA,"w"); | ||
16525 | if(fd == NULL) | ||
16526 | exit(1); | ||
16527 | |||
16528 | if ((rc = fprintf(fd,"%s", _PATH_STDPATH)) < 0) | ||
16529 | exit(1); | ||
16530 | |||
16531 | exit(0); | ||
16532 | } | ||
16533 | |||
16534 | _ACEOF | ||
16535 | rm -f conftest$ac_exeext | ||
16536 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16537 | (eval $ac_link) 2>&5 | ||
16538 | ac_status=$? | ||
16539 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16540 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
16541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16542 | (eval $ac_try) 2>&5 | ||
16543 | ac_status=$? | ||
16544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16545 | (exit $ac_status); }; }; then | ||
16546 | user_path=`cat conftest.stdpath` | ||
16547 | else | ||
16548 | echo "$as_me: program exited with status $ac_status" >&5 | ||
16549 | echo "$as_me: failed program was:" >&5 | ||
16550 | cat conftest.$ac_ext >&5 | ||
16551 | ( exit $ac_status ) | ||
16552 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | ||
16553 | fi | ||
16554 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
16555 | fi | ||
16556 | # make sure $bindir is in USER_PATH so scp will work | ||
16557 | t_bindir=`eval echo ${bindir}` | ||
16558 | case $t_bindir in | ||
16559 | NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;; | ||
16560 | esac | ||
16561 | case $t_bindir in | ||
16562 | NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$ac_default_prefix~"` ;; | ||
16563 | esac | ||
16564 | echo $user_path | grep ":$t_bindir" > /dev/null 2>&1 | ||
16565 | if test $? -ne 0 ; then | ||
16566 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 | ||
16567 | if test $? -ne 0 ; then | ||
16568 | user_path=$user_path:$t_bindir | ||
16569 | echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 | ||
16570 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 | ||
16571 | fi | ||
16572 | fi | ||
16573 | fi | ||
16574 | |||
16575 | fi; | ||
16576 | if test "$USES_LOGIN_CONF" != "yes" ; then | ||
16577 | cat >>confdefs.h <<_ACEOF | ||
16578 | @%:@define USER_PATH "$user_path" | ||
16579 | _ACEOF | ||
16580 | |||
16581 | |||
16582 | fi | ||
16583 | |||
16584 | # Set superuser path separately to user path | ||
16585 | |||
16586 | # Check whether --with-superuser-path or --without-superuser-path was given. | ||
16587 | if test "${with_superuser_path+set}" = set; then | ||
16588 | withval="$with_superuser_path" | ||
16589 | |||
16590 | if test "x$withval" != "xno" ; then | ||
16591 | cat >>confdefs.h <<_ACEOF | ||
16592 | @%:@define SUPERUSER_PATH "$withval" | ||
16593 | _ACEOF | ||
16594 | |||
16595 | superuser_path=$withval | ||
16596 | fi | ||
16597 | |||
16598 | |||
16599 | fi; | ||
16600 | |||
16601 | |||
16602 | # Whether to force IPv4 by default (needed on broken glibc Linux) | ||
16603 | IPV4_HACK_MSG="no" | ||
16604 | |||
16605 | # Check whether --with-ipv4-default or --without-ipv4-default was given. | ||
16606 | if test "${with_ipv4_default+set}" = set; then | ||
16607 | withval="$with_ipv4_default" | ||
16608 | |||
16609 | if test "x$withval" != "xno" ; then | ||
16610 | cat >>confdefs.h <<\_ACEOF | ||
16611 | @%:@define IPV4_DEFAULT 1 | ||
16612 | _ACEOF | ||
16613 | |||
16614 | IPV4_HACK_MSG="yes" | ||
16615 | fi | ||
16616 | |||
16617 | |||
16618 | fi; | ||
16619 | |||
16620 | echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 | ||
16621 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 | ||
16622 | IPV4_IN6_HACK_MSG="no" | ||
16623 | |||
16624 | # Check whether --with-4in6 or --without-4in6 was given. | ||
16625 | if test "${with_4in6+set}" = set; then | ||
16626 | withval="$with_4in6" | ||
16627 | |||
16628 | if test "x$withval" != "xno" ; then | ||
16629 | echo "$as_me:$LINENO: result: yes" >&5 | ||
16630 | echo "${ECHO_T}yes" >&6 | ||
16631 | cat >>confdefs.h <<\_ACEOF | ||
16632 | @%:@define IPV4_IN_IPV6 1 | ||
16633 | _ACEOF | ||
16634 | |||
16635 | IPV4_IN6_HACK_MSG="yes" | ||
16636 | else | ||
16637 | echo "$as_me:$LINENO: result: no" >&5 | ||
16638 | echo "${ECHO_T}no" >&6 | ||
16639 | fi | ||
16640 | |||
16641 | else | ||
16642 | |||
16643 | if test "x$inet6_default_4in6" = "xyes"; then | ||
16644 | echo "$as_me:$LINENO: result: yes (default)" >&5 | ||
16645 | echo "${ECHO_T}yes (default)" >&6 | ||
16646 | cat >>confdefs.h <<\_ACEOF | ||
16647 | @%:@define IPV4_IN_IPV6 1 | ||
16648 | _ACEOF | ||
16649 | |||
16650 | IPV4_IN6_HACK_MSG="yes" | ||
16651 | else | ||
16652 | echo "$as_me:$LINENO: result: no (default)" >&5 | ||
16653 | echo "${ECHO_T}no (default)" >&6 | ||
16654 | fi | ||
16655 | |||
16656 | |||
16657 | fi; | ||
16658 | |||
16659 | # Whether to enable BSD auth support | ||
16660 | BSD_AUTH_MSG=no | ||
16661 | |||
16662 | # Check whether --with-bsd-auth or --without-bsd-auth was given. | ||
16663 | if test "${with_bsd_auth+set}" = set; then | ||
16664 | withval="$with_bsd_auth" | ||
16665 | |||
16666 | if test "x$withval" != "xno" ; then | ||
16667 | cat >>confdefs.h <<\_ACEOF | ||
16668 | @%:@define BSD_AUTH 1 | ||
16669 | _ACEOF | ||
16670 | |||
16671 | BSD_AUTH_MSG=yes | ||
16672 | fi | ||
16673 | |||
16674 | |||
16675 | fi; | ||
16676 | |||
16677 | # Where to place sshd.pid | ||
16678 | piddir=/var/run | ||
16679 | # make sure the directory exists | ||
16680 | if test ! -d $piddir ; then | ||
16681 | piddir=`eval echo ${sysconfdir}` | ||
16682 | case $piddir in | ||
16683 | NONE/*) piddir=`echo $piddir | sed "s~NONE~$ac_default_prefix~"` ;; | ||
16684 | esac | ||
16685 | fi | ||
16686 | |||
16687 | |||
16688 | # Check whether --with-pid-dir or --without-pid-dir was given. | ||
16689 | if test "${with_pid_dir+set}" = set; then | ||
16690 | withval="$with_pid_dir" | ||
16691 | |||
16692 | if test "x$withval" != "xno" ; then | ||
16693 | piddir=$withval | ||
16694 | if test ! -d $piddir ; then | ||
16695 | { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 | ||
16696 | echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} | ||
16697 | fi | ||
16698 | fi | ||
16699 | |||
16700 | |||
16701 | fi; | ||
16702 | |||
16703 | cat >>confdefs.h <<_ACEOF | ||
16704 | @%:@define _PATH_SSH_PIDDIR "$piddir" | ||
16705 | _ACEOF | ||
16706 | |||
16707 | |||
16708 | |||
16709 | # Check whether --enable-lastlog or --disable-lastlog was given. | ||
16710 | if test "${enable_lastlog+set}" = set; then | ||
16711 | enableval="$enable_lastlog" | ||
16712 | cat >>confdefs.h <<\_ACEOF | ||
16713 | @%:@define DISABLE_LASTLOG 1 | ||
16714 | _ACEOF | ||
16715 | |||
16716 | |||
16717 | fi; | ||
16718 | # Check whether --enable-utmp or --disable-utmp was given. | ||
16719 | if test "${enable_utmp+set}" = set; then | ||
16720 | enableval="$enable_utmp" | ||
16721 | cat >>confdefs.h <<\_ACEOF | ||
16722 | @%:@define DISABLE_UTMP 1 | ||
16723 | _ACEOF | ||
16724 | |||
16725 | |||
16726 | fi; | ||
16727 | # Check whether --enable-utmpx or --disable-utmpx was given. | ||
16728 | if test "${enable_utmpx+set}" = set; then | ||
16729 | enableval="$enable_utmpx" | ||
16730 | cat >>confdefs.h <<\_ACEOF | ||
16731 | @%:@define DISABLE_UTMPX 1 | ||
16732 | _ACEOF | ||
16733 | |||
16734 | |||
16735 | fi; | ||
16736 | # Check whether --enable-wtmp or --disable-wtmp was given. | ||
16737 | if test "${enable_wtmp+set}" = set; then | ||
16738 | enableval="$enable_wtmp" | ||
16739 | cat >>confdefs.h <<\_ACEOF | ||
16740 | @%:@define DISABLE_WTMP 1 | ||
16741 | _ACEOF | ||
16742 | |||
16743 | |||
16744 | fi; | ||
16745 | # Check whether --enable-wtmpx or --disable-wtmpx was given. | ||
16746 | if test "${enable_wtmpx+set}" = set; then | ||
16747 | enableval="$enable_wtmpx" | ||
16748 | cat >>confdefs.h <<\_ACEOF | ||
16749 | @%:@define DISABLE_WTMPX 1 | ||
16750 | _ACEOF | ||
16751 | |||
16752 | |||
16753 | fi; | ||
16754 | # Check whether --enable-libutil or --disable-libutil was given. | ||
16755 | if test "${enable_libutil+set}" = set; then | ||
16756 | enableval="$enable_libutil" | ||
16757 | cat >>confdefs.h <<\_ACEOF | ||
16758 | @%:@define DISABLE_LOGIN 1 | ||
16759 | _ACEOF | ||
16760 | |||
16761 | |||
16762 | fi; | ||
16763 | # Check whether --enable-pututline or --disable-pututline was given. | ||
16764 | if test "${enable_pututline+set}" = set; then | ||
16765 | enableval="$enable_pututline" | ||
16766 | cat >>confdefs.h <<\_ACEOF | ||
16767 | @%:@define DISABLE_PUTUTLINE 1 | ||
16768 | _ACEOF | ||
16769 | |||
16770 | |||
16771 | fi; | ||
16772 | # Check whether --enable-pututxline or --disable-pututxline was given. | ||
16773 | if test "${enable_pututxline+set}" = set; then | ||
16774 | enableval="$enable_pututxline" | ||
16775 | cat >>confdefs.h <<\_ACEOF | ||
16776 | @%:@define DISABLE_PUTUTXLINE 1 | ||
16777 | _ACEOF | ||
16778 | |||
16779 | |||
16780 | fi; | ||
16781 | |||
16782 | # Check whether --with-lastlog or --without-lastlog was given. | ||
16783 | if test "${with_lastlog+set}" = set; then | ||
16784 | withval="$with_lastlog" | ||
16785 | |||
16786 | if test "x$withval" = "xno" ; then | ||
16787 | cat >>confdefs.h <<\_ACEOF | ||
16788 | @%:@define DISABLE_LASTLOG 1 | ||
16789 | _ACEOF | ||
16790 | |||
16791 | else | ||
16792 | conf_lastlog_location=$withval | ||
16793 | fi | ||
16794 | |||
16795 | |||
16796 | fi; | ||
16797 | |||
16798 | |||
16799 | echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5 | ||
16800 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 | ||
16801 | cat >conftest.$ac_ext <<_ACEOF | ||
16802 | #line $LINENO "configure" | ||
16803 | #include "confdefs.h" | ||
16804 | |||
16805 | #include <sys/types.h> | ||
16806 | #include <utmp.h> | ||
16807 | #ifdef HAVE_LASTLOG_H | ||
16808 | # include <lastlog.h> | ||
16809 | #endif | ||
16810 | #ifdef HAVE_PATHS_H | ||
16811 | # include <paths.h> | ||
16812 | #endif | ||
16813 | #ifdef HAVE_LOGIN_H | ||
16814 | # include <login.h> | ||
16815 | #endif | ||
16816 | |||
16817 | #ifdef F77_DUMMY_MAIN | ||
16818 | # ifdef __cplusplus | ||
16819 | extern "C" | ||
16820 | # endif | ||
16821 | int F77_DUMMY_MAIN() { return 1; } | ||
16822 | #endif | ||
16823 | int | ||
16824 | main () | ||
16825 | { | ||
16826 | char *lastlog = LASTLOG_FILE; | ||
16827 | ; | ||
16828 | return 0; | ||
16829 | } | ||
16830 | _ACEOF | ||
16831 | rm -f conftest.$ac_objext | ||
16832 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
16833 | (eval $ac_compile) 2>&5 | ||
16834 | ac_status=$? | ||
16835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16836 | (exit $ac_status); } && | ||
16837 | { ac_try='test -s conftest.$ac_objext' | ||
16838 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16839 | (eval $ac_try) 2>&5 | ||
16840 | ac_status=$? | ||
16841 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16842 | (exit $ac_status); }; }; then | ||
16843 | echo "$as_me:$LINENO: result: yes" >&5 | ||
16844 | echo "${ECHO_T}yes" >&6 | ||
16845 | else | ||
16846 | echo "$as_me: failed program was:" >&5 | ||
16847 | cat conftest.$ac_ext >&5 | ||
16848 | |||
16849 | echo "$as_me:$LINENO: result: no" >&5 | ||
16850 | echo "${ECHO_T}no" >&6 | ||
16851 | echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 | ||
16852 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 | ||
16853 | cat >conftest.$ac_ext <<_ACEOF | ||
16854 | #line $LINENO "configure" | ||
16855 | #include "confdefs.h" | ||
16856 | |||
16857 | #include <sys/types.h> | ||
16858 | #include <utmp.h> | ||
16859 | #ifdef HAVE_LASTLOG_H | ||
16860 | # include <lastlog.h> | ||
16861 | #endif | ||
16862 | #ifdef HAVE_PATHS_H | ||
16863 | # include <paths.h> | ||
16864 | #endif | ||
16865 | |||
16866 | #ifdef F77_DUMMY_MAIN | ||
16867 | # ifdef __cplusplus | ||
16868 | extern "C" | ||
16869 | # endif | ||
16870 | int F77_DUMMY_MAIN() { return 1; } | ||
16871 | #endif | ||
16872 | int | ||
16873 | main () | ||
16874 | { | ||
16875 | char *lastlog = _PATH_LASTLOG; | ||
16876 | ; | ||
16877 | return 0; | ||
16878 | } | ||
16879 | _ACEOF | ||
16880 | rm -f conftest.$ac_objext | ||
16881 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
16882 | (eval $ac_compile) 2>&5 | ||
16883 | ac_status=$? | ||
16884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16885 | (exit $ac_status); } && | ||
16886 | { ac_try='test -s conftest.$ac_objext' | ||
16887 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16888 | (eval $ac_try) 2>&5 | ||
16889 | ac_status=$? | ||
16890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16891 | (exit $ac_status); }; }; then | ||
16892 | echo "$as_me:$LINENO: result: yes" >&5 | ||
16893 | echo "${ECHO_T}yes" >&6 | ||
16894 | else | ||
16895 | echo "$as_me: failed program was:" >&5 | ||
16896 | cat conftest.$ac_ext >&5 | ||
16897 | |||
16898 | echo "$as_me:$LINENO: result: no" >&5 | ||
16899 | echo "${ECHO_T}no" >&6 | ||
16900 | system_lastlog_path=no | ||
16901 | |||
16902 | fi | ||
16903 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
16904 | |||
16905 | |||
16906 | fi | ||
16907 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
16908 | |||
16909 | if test -z "$conf_lastlog_location"; then | ||
16910 | if test x"$system_lastlog_path" = x"no" ; then | ||
16911 | for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do | ||
16912 | if (test -d "$f" || test -f "$f") ; then | ||
16913 | conf_lastlog_location=$f | ||
16914 | fi | ||
16915 | done | ||
16916 | if test -z "$conf_lastlog_location"; then | ||
16917 | { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5 | ||
16918 | echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} | ||
16919 | fi | ||
16920 | fi | ||
16921 | fi | ||
16922 | |||
16923 | if test -n "$conf_lastlog_location"; then | ||
16924 | cat >>confdefs.h <<_ACEOF | ||
16925 | @%:@define CONF_LASTLOG_FILE "$conf_lastlog_location" | ||
16926 | _ACEOF | ||
16927 | |||
16928 | fi | ||
16929 | |||
16930 | echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 | ||
16931 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 | ||
16932 | cat >conftest.$ac_ext <<_ACEOF | ||
16933 | #line $LINENO "configure" | ||
16934 | #include "confdefs.h" | ||
16935 | |||
16936 | #include <sys/types.h> | ||
16937 | #include <utmp.h> | ||
16938 | #ifdef HAVE_PATHS_H | ||
16939 | # include <paths.h> | ||
16940 | #endif | ||
16941 | |||
16942 | #ifdef F77_DUMMY_MAIN | ||
16943 | # ifdef __cplusplus | ||
16944 | extern "C" | ||
16945 | # endif | ||
16946 | int F77_DUMMY_MAIN() { return 1; } | ||
16947 | #endif | ||
16948 | int | ||
16949 | main () | ||
16950 | { | ||
16951 | char *utmp = UTMP_FILE; | ||
16952 | ; | ||
16953 | return 0; | ||
16954 | } | ||
16955 | _ACEOF | ||
16956 | rm -f conftest.$ac_objext | ||
16957 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
16958 | (eval $ac_compile) 2>&5 | ||
16959 | ac_status=$? | ||
16960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16961 | (exit $ac_status); } && | ||
16962 | { ac_try='test -s conftest.$ac_objext' | ||
16963 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16964 | (eval $ac_try) 2>&5 | ||
16965 | ac_status=$? | ||
16966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16967 | (exit $ac_status); }; }; then | ||
16968 | echo "$as_me:$LINENO: result: yes" >&5 | ||
16969 | echo "${ECHO_T}yes" >&6 | ||
16970 | else | ||
16971 | echo "$as_me: failed program was:" >&5 | ||
16972 | cat conftest.$ac_ext >&5 | ||
16973 | echo "$as_me:$LINENO: result: no" >&5 | ||
16974 | echo "${ECHO_T}no" >&6 | ||
16975 | system_utmp_path=no | ||
16976 | |||
16977 | fi | ||
16978 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
16979 | if test -z "$conf_utmp_location"; then | ||
16980 | if test x"$system_utmp_path" = x"no" ; then | ||
16981 | for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do | ||
16982 | if test -f $f ; then | ||
16983 | conf_utmp_location=$f | ||
16984 | fi | ||
16985 | done | ||
16986 | if test -z "$conf_utmp_location"; then | ||
16987 | cat >>confdefs.h <<\_ACEOF | ||
16988 | @%:@define DISABLE_UTMP 1 | ||
16989 | _ACEOF | ||
16990 | |||
16991 | fi | ||
16992 | fi | ||
16993 | fi | ||
16994 | if test -n "$conf_utmp_location"; then | ||
16995 | cat >>confdefs.h <<_ACEOF | ||
16996 | @%:@define CONF_UTMP_FILE "$conf_utmp_location" | ||
16997 | _ACEOF | ||
16998 | |||
16999 | fi | ||
17000 | |||
17001 | echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 | ||
17002 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 | ||
17003 | cat >conftest.$ac_ext <<_ACEOF | ||
17004 | #line $LINENO "configure" | ||
17005 | #include "confdefs.h" | ||
17006 | |||
17007 | #include <sys/types.h> | ||
17008 | #include <utmp.h> | ||
17009 | #ifdef HAVE_PATHS_H | ||
17010 | # include <paths.h> | ||
17011 | #endif | ||
17012 | |||
17013 | #ifdef F77_DUMMY_MAIN | ||
17014 | # ifdef __cplusplus | ||
17015 | extern "C" | ||
17016 | # endif | ||
17017 | int F77_DUMMY_MAIN() { return 1; } | ||
17018 | #endif | ||
17019 | int | ||
17020 | main () | ||
17021 | { | ||
17022 | char *wtmp = WTMP_FILE; | ||
17023 | ; | ||
17024 | return 0; | ||
17025 | } | ||
17026 | _ACEOF | ||
17027 | rm -f conftest.$ac_objext | ||
17028 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17029 | (eval $ac_compile) 2>&5 | ||
17030 | ac_status=$? | ||
17031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17032 | (exit $ac_status); } && | ||
17033 | { ac_try='test -s conftest.$ac_objext' | ||
17034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17035 | (eval $ac_try) 2>&5 | ||
17036 | ac_status=$? | ||
17037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17038 | (exit $ac_status); }; }; then | ||
17039 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17040 | echo "${ECHO_T}yes" >&6 | ||
17041 | else | ||
17042 | echo "$as_me: failed program was:" >&5 | ||
17043 | cat conftest.$ac_ext >&5 | ||
17044 | echo "$as_me:$LINENO: result: no" >&5 | ||
17045 | echo "${ECHO_T}no" >&6 | ||
17046 | system_wtmp_path=no | ||
17047 | |||
17048 | fi | ||
17049 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17050 | if test -z "$conf_wtmp_location"; then | ||
17051 | if test x"$system_wtmp_path" = x"no" ; then | ||
17052 | for f in /usr/adm/wtmp /var/log/wtmp; do | ||
17053 | if test -f $f ; then | ||
17054 | conf_wtmp_location=$f | ||
17055 | fi | ||
17056 | done | ||
17057 | if test -z "$conf_wtmp_location"; then | ||
17058 | cat >>confdefs.h <<\_ACEOF | ||
17059 | @%:@define DISABLE_WTMP 1 | ||
17060 | _ACEOF | ||
17061 | |||
17062 | fi | ||
17063 | fi | ||
17064 | fi | ||
17065 | if test -n "$conf_wtmp_location"; then | ||
17066 | cat >>confdefs.h <<_ACEOF | ||
17067 | @%:@define CONF_WTMP_FILE "$conf_wtmp_location" | ||
17068 | _ACEOF | ||
17069 | |||
17070 | fi | ||
17071 | |||
17072 | |||
17073 | echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5 | ||
17074 | echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 | ||
17075 | cat >conftest.$ac_ext <<_ACEOF | ||
17076 | #line $LINENO "configure" | ||
17077 | #include "confdefs.h" | ||
17078 | |||
17079 | #include <sys/types.h> | ||
17080 | #include <utmp.h> | ||
17081 | #ifdef HAVE_UTMPX_H | ||
17082 | #include <utmpx.h> | ||
17083 | #endif | ||
17084 | #ifdef HAVE_PATHS_H | ||
17085 | # include <paths.h> | ||
17086 | #endif | ||
17087 | |||
17088 | #ifdef F77_DUMMY_MAIN | ||
17089 | # ifdef __cplusplus | ||
17090 | extern "C" | ||
17091 | # endif | ||
17092 | int F77_DUMMY_MAIN() { return 1; } | ||
17093 | #endif | ||
17094 | int | ||
17095 | main () | ||
17096 | { | ||
17097 | char *utmpx = UTMPX_FILE; | ||
17098 | ; | ||
17099 | return 0; | ||
17100 | } | ||
17101 | _ACEOF | ||
17102 | rm -f conftest.$ac_objext | ||
17103 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17104 | (eval $ac_compile) 2>&5 | ||
17105 | ac_status=$? | ||
17106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17107 | (exit $ac_status); } && | ||
17108 | { ac_try='test -s conftest.$ac_objext' | ||
17109 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17110 | (eval $ac_try) 2>&5 | ||
17111 | ac_status=$? | ||
17112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17113 | (exit $ac_status); }; }; then | ||
17114 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17115 | echo "${ECHO_T}yes" >&6 | ||
17116 | else | ||
17117 | echo "$as_me: failed program was:" >&5 | ||
17118 | cat conftest.$ac_ext >&5 | ||
17119 | echo "$as_me:$LINENO: result: no" >&5 | ||
17120 | echo "${ECHO_T}no" >&6 | ||
17121 | system_utmpx_path=no | ||
17122 | |||
17123 | fi | ||
17124 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17125 | if test -z "$conf_utmpx_location"; then | ||
17126 | if test x"$system_utmpx_path" = x"no" ; then | ||
17127 | cat >>confdefs.h <<\_ACEOF | ||
17128 | @%:@define DISABLE_UTMPX 1 | ||
17129 | _ACEOF | ||
17130 | |||
17131 | fi | ||
17132 | else | ||
17133 | cat >>confdefs.h <<_ACEOF | ||
17134 | @%:@define CONF_UTMPX_FILE "$conf_utmpx_location" | ||
17135 | _ACEOF | ||
17136 | |||
17137 | fi | ||
17138 | |||
17139 | echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 | ||
17140 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 | ||
17141 | cat >conftest.$ac_ext <<_ACEOF | ||
17142 | #line $LINENO "configure" | ||
17143 | #include "confdefs.h" | ||
17144 | |||
17145 | #include <sys/types.h> | ||
17146 | #include <utmp.h> | ||
17147 | #ifdef HAVE_UTMPX_H | ||
17148 | #include <utmpx.h> | ||
17149 | #endif | ||
17150 | #ifdef HAVE_PATHS_H | ||
17151 | # include <paths.h> | ||
17152 | #endif | ||
17153 | |||
17154 | #ifdef F77_DUMMY_MAIN | ||
17155 | # ifdef __cplusplus | ||
17156 | extern "C" | ||
17157 | # endif | ||
17158 | int F77_DUMMY_MAIN() { return 1; } | ||
17159 | #endif | ||
17160 | int | ||
17161 | main () | ||
17162 | { | ||
17163 | char *wtmpx = WTMPX_FILE; | ||
17164 | ; | ||
17165 | return 0; | ||
17166 | } | ||
17167 | _ACEOF | ||
17168 | rm -f conftest.$ac_objext | ||
17169 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17170 | (eval $ac_compile) 2>&5 | ||
17171 | ac_status=$? | ||
17172 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17173 | (exit $ac_status); } && | ||
17174 | { ac_try='test -s conftest.$ac_objext' | ||
17175 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17176 | (eval $ac_try) 2>&5 | ||
17177 | ac_status=$? | ||
17178 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17179 | (exit $ac_status); }; }; then | ||
17180 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17181 | echo "${ECHO_T}yes" >&6 | ||
17182 | else | ||
17183 | echo "$as_me: failed program was:" >&5 | ||
17184 | cat conftest.$ac_ext >&5 | ||
17185 | echo "$as_me:$LINENO: result: no" >&5 | ||
17186 | echo "${ECHO_T}no" >&6 | ||
17187 | system_wtmpx_path=no | ||
17188 | |||
17189 | fi | ||
17190 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17191 | if test -z "$conf_wtmpx_location"; then | ||
17192 | if test x"$system_wtmpx_path" = x"no" ; then | ||
17193 | cat >>confdefs.h <<\_ACEOF | ||
17194 | @%:@define DISABLE_WTMPX 1 | ||
17195 | _ACEOF | ||
17196 | |||
17197 | fi | ||
17198 | else | ||
17199 | cat >>confdefs.h <<_ACEOF | ||
17200 | @%:@define CONF_WTMPX_FILE "$conf_wtmpx_location" | ||
17201 | _ACEOF | ||
17202 | |||
17203 | fi | ||
17204 | |||
17205 | |||
17206 | if test ! -z "$blibpath" ; then | ||
17207 | LDFLAGS="$LDFLAGS -blibpath:$blibpath" | ||
17208 | { echo "$as_me:$LINENO: WARNING: Please check and edit -blibpath in LDFLAGS in Makefile" >&5 | ||
17209 | echo "$as_me: WARNING: Please check and edit -blibpath in LDFLAGS in Makefile" >&2;} | ||
17210 | fi | ||
17211 | |||
17212 | if test "$PAM_MSG" = yes ; then | ||
17213 | LIBS=`echo $LIBS | sed 's/-lpam //'` | ||
17214 | fi | ||
17215 | if test "$ac_cv_lib_pam_pam_set_item" = yes ; then | ||
17216 | LIBS=`echo $LIBS | sed 's/-ldl //'` | ||
17217 | fi | ||
17218 | |||
17219 | |||
17220 | ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds" | ||
17221 | |||
17222 | cat >confcache <<\_ACEOF | ||
17223 | # This file is a shell script that caches the results of configure | ||
17224 | # tests run on this system so they can be shared between configure | ||
17225 | # scripts and configure runs, see configure's option --config-cache. | ||
17226 | # It is not useful on other systems. If it contains results you don't | ||
17227 | # want to keep, you may remove or edit it. | ||
17228 | # | ||
17229 | # config.status only pays attention to the cache file if you give it | ||
17230 | # the --recheck option to rerun configure. | ||
17231 | # | ||
17232 | # `ac_cv_env_foo' variables (set or unset) will be overriden when | ||
17233 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
17234 | # following values. | ||
17235 | |||
17236 | _ACEOF | ||
17237 | |||
17238 | # The following way of writing the cache mishandles newlines in values, | ||
17239 | # but we know of no workaround that is simple, portable, and efficient. | ||
17240 | # So, don't put newlines in cache variables' values. | ||
17241 | # Ultrix sh set writes to stderr and can't be redirected directly, | ||
17242 | # and sets the high bit in the cache file unless we assign to the vars. | ||
17243 | { | ||
17244 | (set) 2>&1 | | ||
17245 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | ||
17246 | *ac_space=\ *) | ||
17247 | # `set' does not quote correctly, so add quotes (double-quote | ||
17248 | # substitution turns \\\\ into \\, and sed turns \\ into \). | ||
17249 | sed -n \ | ||
17250 | "s/'/'\\\\''/g; | ||
17251 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
17252 | ;; | ||
17253 | *) | ||
17254 | # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
17255 | sed -n \ | ||
17256 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
17257 | ;; | ||
17258 | esac; | ||
17259 | } | | ||
17260 | sed ' | ||
17261 | t clear | ||
17262 | : clear | ||
17263 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
17264 | t end | ||
17265 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
17266 | : end' >>confcache | ||
17267 | if cmp -s $cache_file confcache; then :; else | ||
17268 | if test -w $cache_file; then | ||
17269 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | ||
17270 | cat confcache >$cache_file | ||
17271 | else | ||
17272 | echo "not updating unwritable cache $cache_file" | ||
17273 | fi | ||
17274 | fi | ||
17275 | rm -f confcache | ||
17276 | |||
17277 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
17278 | # Let make expand exec_prefix. | ||
17279 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
17280 | |||
17281 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
17282 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
17283 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
17284 | # (actually we leave an empty line to preserve line numbers). | ||
17285 | if test "x$srcdir" = x.; then | ||
17286 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
17287 | s/:*\$(srcdir):*/:/; | ||
17288 | s/:*\${srcdir}:*/:/; | ||
17289 | s/:*@srcdir@:*/:/; | ||
17290 | s/^\([^=]*=[ ]*\):*/\1/; | ||
17291 | s/:*$//; | ||
17292 | s/^[^=]*=[ ]*$//; | ||
17293 | }' | ||
17294 | fi | ||
17295 | |||
17296 | DEFS=-DHAVE_CONFIG_H | ||
17297 | |||
17298 | |||
17299 | : ${CONFIG_STATUS=./config.status} | ||
17300 | ac_clean_files_save=$ac_clean_files | ||
17301 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
17302 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | ||
17303 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
17304 | cat >$CONFIG_STATUS <<_ACEOF | ||
17305 | #! $SHELL | ||
17306 | # Generated by $as_me. | ||
17307 | # Run this file to recreate the current configuration. | ||
17308 | # Compiler output produced by configure, useful for debugging | ||
17309 | # configure, is in config.log if it exists. | ||
17310 | |||
17311 | debug=false | ||
17312 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
17313 | _ACEOF | ||
17314 | |||
17315 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
17316 | |||
17317 | ## --------------------- ## | ||
17318 | ## M4sh Initialization. ## | ||
17319 | ## --------------------- ## | ||
17320 | |||
17321 | # Be Bourne compatible | ||
17322 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
17323 | emulate sh | ||
17324 | NULLCMD=: | ||
17325 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
17326 | set -o posix | ||
17327 | fi | ||
17328 | |||
17329 | # NLS nuisances. | ||
17330 | # Support unset when possible. | ||
17331 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | ||
17332 | as_unset=unset | ||
17333 | else | ||
17334 | as_unset=false | ||
17335 | fi | ||
17336 | |||
17337 | (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | ||
17338 | { $as_unset LANG || test "${LANG+set}" != set; } || | ||
17339 | { LANG=C; export LANG; } | ||
17340 | (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | ||
17341 | { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | ||
17342 | { LC_ALL=C; export LC_ALL; } | ||
17343 | (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | ||
17344 | { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | ||
17345 | { LC_TIME=C; export LC_TIME; } | ||
17346 | (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | ||
17347 | { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | ||
17348 | { LC_CTYPE=C; export LC_CTYPE; } | ||
17349 | (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | ||
17350 | { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | ||
17351 | { LANGUAGE=C; export LANGUAGE; } | ||
17352 | (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | ||
17353 | { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | ||
17354 | { LC_COLLATE=C; export LC_COLLATE; } | ||
17355 | (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | ||
17356 | { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | ||
17357 | { LC_NUMERIC=C; export LC_NUMERIC; } | ||
17358 | (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | ||
17359 | { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | ||
17360 | { LC_MESSAGES=C; export LC_MESSAGES; } | ||
17361 | |||
17362 | |||
17363 | # Name of the executable. | ||
17364 | as_me=`(basename "$0") 2>/dev/null || | ||
17365 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
17366 | X"$0" : 'X\(//\)$' \| \ | ||
17367 | X"$0" : 'X\(/\)$' \| \ | ||
17368 | . : '\(.\)' 2>/dev/null || | ||
17369 | echo X/"$0" | | ||
17370 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
17371 | /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
17372 | /^X\/\(\/\).*/{ s//\1/; q; } | ||
17373 | s/.*/./; q'` | ||
17374 | |||
17375 | # PATH needs CR, and LINENO needs CR and PATH. | ||
17376 | # Avoid depending upon Character Ranges. | ||
17377 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
17378 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
17379 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
17380 | as_cr_digits='0123456789' | ||
17381 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
17382 | |||
17383 | # The user is always right. | ||
17384 | if test "${PATH_SEPARATOR+set}" != set; then | ||
17385 | echo "#! /bin/sh" >conftest.sh | ||
17386 | echo "exit 0" >>conftest.sh | ||
17387 | chmod +x conftest.sh | ||
17388 | if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | ||
17389 | PATH_SEPARATOR=';' | ||
17390 | else | ||
17391 | PATH_SEPARATOR=: | ||
17392 | fi | ||
17393 | rm -f conftest.sh | ||
17394 | fi | ||
17395 | |||
17396 | |||
17397 | as_lineno_1=$LINENO | ||
17398 | as_lineno_2=$LINENO | ||
17399 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
17400 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
17401 | test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
17402 | # Find who we are. Look in the path if we contain no path at all | ||
17403 | # relative or not. | ||
17404 | case $0 in | ||
17405 | *[\\/]* ) as_myself=$0 ;; | ||
17406 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
17407 | for as_dir in $PATH | ||
17408 | do | ||
17409 | IFS=$as_save_IFS | ||
17410 | test -z "$as_dir" && as_dir=. | ||
17411 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
17412 | done | ||
17413 | |||
17414 | ;; | ||
17415 | esac | ||
17416 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
17417 | # in which case we are not to be found in the path. | ||
17418 | if test "x$as_myself" = x; then | ||
17419 | as_myself=$0 | ||
17420 | fi | ||
17421 | if test ! -f "$as_myself"; then | ||
17422 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | ||
17423 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | ||
17424 | { (exit 1); exit 1; }; } | ||
17425 | fi | ||
17426 | case $CONFIG_SHELL in | ||
17427 | '') | ||
17428 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
17429 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
17430 | do | ||
17431 | IFS=$as_save_IFS | ||
17432 | test -z "$as_dir" && as_dir=. | ||
17433 | for as_base in sh bash ksh sh5; do | ||
17434 | case $as_dir in | ||
17435 | /*) | ||
17436 | if ("$as_dir/$as_base" -c ' | ||
17437 | as_lineno_1=$LINENO | ||
17438 | as_lineno_2=$LINENO | ||
17439 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
17440 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
17441 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
17442 | CONFIG_SHELL=$as_dir/$as_base | ||
17443 | export CONFIG_SHELL | ||
17444 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
17445 | fi;; | ||
17446 | esac | ||
17447 | done | ||
17448 | done | ||
17449 | ;; | ||
17450 | esac | ||
17451 | |||
17452 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
17453 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
17454 | # line-number line before each line; the second 'sed' does the real | ||
17455 | # work. The second script uses 'N' to pair each line-number line | ||
17456 | # with the numbered line, and appends trailing '-' during | ||
17457 | # substitution so that $LINENO is not a special case at line end. | ||
17458 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
17459 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
17460 | sed '=' <$as_myself | | ||
17461 | sed ' | ||
17462 | N | ||
17463 | s,$,-, | ||
17464 | : loop | ||
17465 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
17466 | t loop | ||
17467 | s,-$,, | ||
17468 | s,^['$as_cr_digits']*\n,, | ||
17469 | ' >$as_me.lineno && | ||
17470 | chmod +x $as_me.lineno || | ||
17471 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | ||
17472 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | ||
17473 | { (exit 1); exit 1; }; } | ||
17474 | |||
17475 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
17476 | # (the dirname of $[0] is not the place where we might find the | ||
17477 | # original and so on. Autoconf is especially sensible to this). | ||
17478 | . ./$as_me.lineno | ||
17479 | # Exit status is that of the last command. | ||
17480 | exit | ||
17481 | } | ||
17482 | |||
17483 | |||
17484 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
17485 | *c*,-n*) ECHO_N= ECHO_C=' | ||
17486 | ' ECHO_T=' ' ;; | ||
17487 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
17488 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
17489 | esac | ||
17490 | |||
17491 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
17492 | as_expr=expr | ||
17493 | else | ||
17494 | as_expr=false | ||
17495 | fi | ||
17496 | |||
17497 | rm -f conf$$ conf$$.exe conf$$.file | ||
17498 | echo >conf$$.file | ||
17499 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
17500 | # We could just check for DJGPP; but this test a) works b) is more generic | ||
17501 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
17502 | if test -f conf$$.exe; then | ||
17503 | # Don't use ln at all; we don't have any links | ||
17504 | as_ln_s='cp -p' | ||
17505 | else | ||
17506 | as_ln_s='ln -s' | ||
17507 | fi | ||
17508 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
17509 | as_ln_s=ln | ||
17510 | else | ||
17511 | as_ln_s='cp -p' | ||
17512 | fi | ||
17513 | rm -f conf$$ conf$$.exe conf$$.file | ||
17514 | |||
17515 | as_executable_p="test -f" | ||
17516 | |||
17517 | # Sed expression to map a string onto a valid CPP name. | ||
17518 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | ||
17519 | |||
17520 | # Sed expression to map a string onto a valid variable name. | ||
17521 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | ||
17522 | |||
17523 | |||
17524 | # IFS | ||
17525 | # We need space, tab and new line, in precisely that order. | ||
17526 | as_nl=' | ||
17527 | ' | ||
17528 | IFS=" $as_nl" | ||
17529 | |||
17530 | # CDPATH. | ||
17531 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | ||
17532 | |||
17533 | exec 6>&1 | ||
17534 | |||
17535 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | ||
17536 | # report actual input values of CONFIG_FILES etc. instead of their | ||
17537 | # values after options handling. Logging --version etc. is OK. | ||
17538 | exec 5>>config.log | ||
17539 | { | ||
17540 | echo | ||
17541 | sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX | ||
17542 | @%:@@%:@ Running $as_me. @%:@@%:@ | ||
17543 | _ASBOX | ||
17544 | } >&5 | ||
17545 | cat >&5 <<_CSEOF | ||
17546 | |||
17547 | This file was extended by $as_me, which was | ||
17548 | generated by GNU Autoconf 2.53. Invocation command line was | ||
17549 | |||
17550 | CONFIG_FILES = $CONFIG_FILES | ||
17551 | CONFIG_HEADERS = $CONFIG_HEADERS | ||
17552 | CONFIG_LINKS = $CONFIG_LINKS | ||
17553 | CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
17554 | $ $0 $@ | ||
17555 | |||
17556 | _CSEOF | ||
17557 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | ||
17558 | echo >&5 | ||
17559 | _ACEOF | ||
17560 | |||
17561 | # Files that config.status was made for. | ||
17562 | if test -n "$ac_config_files"; then | ||
17563 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | ||
17564 | fi | ||
17565 | |||
17566 | if test -n "$ac_config_headers"; then | ||
17567 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | ||
17568 | fi | ||
17569 | |||
17570 | if test -n "$ac_config_links"; then | ||
17571 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | ||
17572 | fi | ||
17573 | |||
17574 | if test -n "$ac_config_commands"; then | ||
17575 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | ||
17576 | fi | ||
17577 | |||
17578 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
17579 | |||
17580 | ac_cs_usage="\ | ||
17581 | \`$as_me' instantiates files from templates according to the | ||
17582 | current configuration. | ||
17583 | |||
17584 | Usage: $0 [OPTIONS] [FILE]... | ||
17585 | |||
17586 | -h, --help print this help, then exit | ||
17587 | -V, --version print version number, then exit | ||
17588 | -d, --debug don't remove temporary files | ||
17589 | --recheck update $as_me by reconfiguring in the same conditions | ||
17590 | --file=FILE[:TEMPLATE] | ||
17591 | instantiate the configuration file FILE | ||
17592 | --header=FILE[:TEMPLATE] | ||
17593 | instantiate the configuration header FILE | ||
17594 | |||
17595 | Configuration files: | ||
17596 | $config_files | ||
17597 | |||
17598 | Configuration headers: | ||
17599 | $config_headers | ||
17600 | |||
17601 | Report bugs to <bug-autoconf@gnu.org>." | ||
17602 | _ACEOF | ||
17603 | |||
17604 | cat >>$CONFIG_STATUS <<_ACEOF | ||
17605 | ac_cs_version="\\ | ||
17606 | config.status | ||
17607 | configured by $0, generated by GNU Autoconf 2.53, | ||
17608 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | ||
17609 | |||
17610 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | ||
17611 | Free Software Foundation, Inc. | ||
17612 | This config.status script is free software; the Free Software Foundation | ||
17613 | gives unlimited permission to copy, distribute and modify it." | ||
17614 | srcdir=$srcdir | ||
17615 | INSTALL="$INSTALL" | ||
17616 | _ACEOF | ||
17617 | |||
17618 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
17619 | # If no file are specified by the user, then we need to provide default | ||
17620 | # value. By we need to know if files were specified by the user. | ||
17621 | ac_need_defaults=: | ||
17622 | while test $# != 0 | ||
17623 | do | ||
17624 | case $1 in | ||
17625 | --*=*) | ||
17626 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | ||
17627 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | ||
17628 | shift | ||
17629 | set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | ||
17630 | shift | ||
17631 | ;; | ||
17632 | -*);; | ||
17633 | *) # This is not an option, so the user has probably given explicit | ||
17634 | # arguments. | ||
17635 | ac_need_defaults=false;; | ||
17636 | esac | ||
17637 | |||
17638 | case $1 in | ||
17639 | # Handling of the options. | ||
17640 | _ACEOF | ||
17641 | cat >>$CONFIG_STATUS <<_ACEOF | ||
17642 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
17643 | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | ||
17644 | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | ||
17645 | _ACEOF | ||
17646 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
17647 | --version | --vers* | -V ) | ||
17648 | echo "$ac_cs_version"; exit 0 ;; | ||
17649 | --he | --h) | ||
17650 | # Conflict between --help and --header | ||
17651 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 | ||
17652 | Try \`$0 --help' for more information." >&5 | ||
17653 | echo "$as_me: error: ambiguous option: $1 | ||
17654 | Try \`$0 --help' for more information." >&2;} | ||
17655 | { (exit 1); exit 1; }; };; | ||
17656 | --help | --hel | -h ) | ||
17657 | echo "$ac_cs_usage"; exit 0 ;; | ||
17658 | --debug | --d* | -d ) | ||
17659 | debug=: ;; | ||
17660 | --file | --fil | --fi | --f ) | ||
17661 | shift | ||
17662 | CONFIG_FILES="$CONFIG_FILES $1" | ||
17663 | ac_need_defaults=false;; | ||
17664 | --header | --heade | --head | --hea ) | ||
17665 | shift | ||
17666 | CONFIG_HEADERS="$CONFIG_HEADERS $1" | ||
17667 | ac_need_defaults=false;; | ||
17668 | |||
17669 | # This is an error. | ||
17670 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | ||
17671 | Try \`$0 --help' for more information." >&5 | ||
17672 | echo "$as_me: error: unrecognized option: $1 | ||
17673 | Try \`$0 --help' for more information." >&2;} | ||
17674 | { (exit 1); exit 1; }; } ;; | ||
17675 | |||
17676 | *) ac_config_targets="$ac_config_targets $1" ;; | ||
17677 | |||
17678 | esac | ||
17679 | shift | ||
17680 | done | ||
17681 | |||
17682 | _ACEOF | ||
17683 | |||
17684 | |||
17685 | |||
17686 | |||
17687 | |||
17688 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
17689 | for ac_config_target in $ac_config_targets | ||
17690 | do | ||
17691 | case "$ac_config_target" in | ||
17692 | # Handling of arguments. | ||
17693 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
17694 | "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;; | ||
17695 | "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; | ||
17696 | "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; | ||
17697 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | ||
17698 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | ||
17699 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
17700 | { (exit 1); exit 1; }; };; | ||
17701 | esac | ||
17702 | done | ||
17703 | |||
17704 | # If the user did not use the arguments to specify the items to instantiate, | ||
17705 | # then the envvar interface is used. Set only those that are not. | ||
17706 | # We use the long form for the default assignment because of an extremely | ||
17707 | # bizarre bug on SunOS 4.1.3. | ||
17708 | if $ac_need_defaults; then | ||
17709 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
17710 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | ||
17711 | fi | ||
17712 | |||
17713 | # Create a temporary directory, and hook for its removal unless debugging. | ||
17714 | $debug || | ||
17715 | { | ||
17716 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | ||
17717 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | ||
17718 | } | ||
17719 | |||
17720 | # Create a (secure) tmp directory for tmp files. | ||
17721 | : ${TMPDIR=/tmp} | ||
17722 | { | ||
17723 | tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | ||
17724 | test -n "$tmp" && test -d "$tmp" | ||
17725 | } || | ||
17726 | { | ||
17727 | tmp=$TMPDIR/cs$$-$RANDOM | ||
17728 | (umask 077 && mkdir $tmp) | ||
17729 | } || | ||
17730 | { | ||
17731 | echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | ||
17732 | { (exit 1); exit 1; } | ||
17733 | } | ||
17734 | |||
17735 | _ACEOF | ||
17736 | |||
17737 | cat >>$CONFIG_STATUS <<_ACEOF | ||
17738 | |||
17739 | # | ||
17740 | # CONFIG_FILES section. | ||
17741 | # | ||
17742 | |||
17743 | # No need to generate the scripts if there are no CONFIG_FILES. | ||
17744 | # This happens for instance when ./config.status config.h | ||
17745 | if test -n "\$CONFIG_FILES"; then | ||
17746 | # Protect against being on the right side of a sed subst in config.status. | ||
17747 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | ||
17748 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | ||
17749 | s,@SHELL@,$SHELL,;t t | ||
17750 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | ||
17751 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | ||
17752 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | ||
17753 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | ||
17754 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | ||
17755 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | ||
17756 | s,@exec_prefix@,$exec_prefix,;t t | ||
17757 | s,@prefix@,$prefix,;t t | ||
17758 | s,@program_transform_name@,$program_transform_name,;t t | ||
17759 | s,@bindir@,$bindir,;t t | ||
17760 | s,@sbindir@,$sbindir,;t t | ||
17761 | s,@libexecdir@,$libexecdir,;t t | ||
17762 | s,@datadir@,$datadir,;t t | ||
17763 | s,@sysconfdir@,$sysconfdir,;t t | ||
17764 | s,@sharedstatedir@,$sharedstatedir,;t t | ||
17765 | s,@localstatedir@,$localstatedir,;t t | ||
17766 | s,@libdir@,$libdir,;t t | ||
17767 | s,@includedir@,$includedir,;t t | ||
17768 | s,@oldincludedir@,$oldincludedir,;t t | ||
17769 | s,@infodir@,$infodir,;t t | ||
17770 | s,@mandir@,$mandir,;t t | ||
17771 | s,@build_alias@,$build_alias,;t t | ||
17772 | s,@host_alias@,$host_alias,;t t | ||
17773 | s,@target_alias@,$target_alias,;t t | ||
17774 | s,@DEFS@,$DEFS,;t t | ||
17775 | s,@ECHO_C@,$ECHO_C,;t t | ||
17776 | s,@ECHO_N@,$ECHO_N,;t t | ||
17777 | s,@ECHO_T@,$ECHO_T,;t t | ||
17778 | s,@LIBS@,$LIBS,;t t | ||
17779 | s,@CC@,$CC,;t t | ||
17780 | s,@CFLAGS@,$CFLAGS,;t t | ||
17781 | s,@LDFLAGS@,$LDFLAGS,;t t | ||
17782 | s,@CPPFLAGS@,$CPPFLAGS,;t t | ||
17783 | s,@ac_ct_CC@,$ac_ct_CC,;t t | ||
17784 | s,@EXEEXT@,$EXEEXT,;t t | ||
17785 | s,@OBJEXT@,$OBJEXT,;t t | ||
17786 | s,@build@,$build,;t t | ||
17787 | s,@build_cpu@,$build_cpu,;t t | ||
17788 | s,@build_vendor@,$build_vendor,;t t | ||
17789 | s,@build_os@,$build_os,;t t | ||
17790 | s,@host@,$host,;t t | ||
17791 | s,@host_cpu@,$host_cpu,;t t | ||
17792 | s,@host_vendor@,$host_vendor,;t t | ||
17793 | s,@host_os@,$host_os,;t t | ||
17794 | s,@CPP@,$CPP,;t t | ||
17795 | s,@RANLIB@,$RANLIB,;t t | ||
17796 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | ||
17797 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | ||
17798 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | ||
17799 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | ||
17800 | s,@AR@,$AR,;t t | ||
17801 | s,@PERL@,$PERL,;t t | ||
17802 | s,@SED@,$SED,;t t | ||
17803 | s,@ENT@,$ENT,;t t | ||
17804 | s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t | ||
17805 | s,@SH@,$SH,;t t | ||
17806 | s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t | ||
17807 | s,@LD@,$LD,;t t | ||
17808 | s,@LIBWRAP@,$LIBWRAP,;t t | ||
17809 | s,@LIBPAM@,$LIBPAM,;t t | ||
17810 | s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t | ||
17811 | s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t | ||
17812 | s,@PROG_LS@,$PROG_LS,;t t | ||
17813 | s,@PROG_NETSTAT@,$PROG_NETSTAT,;t t | ||
17814 | s,@PROG_ARP@,$PROG_ARP,;t t | ||
17815 | s,@PROG_IFCONFIG@,$PROG_IFCONFIG,;t t | ||
17816 | s,@PROG_JSTAT@,$PROG_JSTAT,;t t | ||
17817 | s,@PROG_PS@,$PROG_PS,;t t | ||
17818 | s,@PROG_SAR@,$PROG_SAR,;t t | ||
17819 | s,@PROG_W@,$PROG_W,;t t | ||
17820 | s,@PROG_WHO@,$PROG_WHO,;t t | ||
17821 | s,@PROG_LAST@,$PROG_LAST,;t t | ||
17822 | s,@PROG_LASTLOG@,$PROG_LASTLOG,;t t | ||
17823 | s,@PROG_DF@,$PROG_DF,;t t | ||
17824 | s,@PROG_VMSTAT@,$PROG_VMSTAT,;t t | ||
17825 | s,@PROG_UPTIME@,$PROG_UPTIME,;t t | ||
17826 | s,@PROG_IPCS@,$PROG_IPCS,;t t | ||
17827 | s,@PROG_TAIL@,$PROG_TAIL,;t t | ||
17828 | s,@INSTALL_SSH_PRNG_CMDS@,$INSTALL_SSH_PRNG_CMDS,;t t | ||
17829 | s,@OPENSC_CONFIG@,$OPENSC_CONFIG,;t t | ||
17830 | s,@PRIVSEP_PATH@,$PRIVSEP_PATH,;t t | ||
17831 | s,@xauth_path@,$xauth_path,;t t | ||
17832 | s,@STRIP_OPT@,$STRIP_OPT,;t t | ||
17833 | s,@XAUTH_PATH@,$XAUTH_PATH,;t t | ||
17834 | s,@NROFF@,$NROFF,;t t | ||
17835 | s,@MANTYPE@,$MANTYPE,;t t | ||
17836 | s,@mansubdir@,$mansubdir,;t t | ||
17837 | s,@user_path@,$user_path,;t t | ||
17838 | s,@piddir@,$piddir,;t t | ||
17839 | CEOF | ||
17840 | |||
17841 | _ACEOF | ||
17842 | |||
17843 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
17844 | # Split the substitutions into bite-sized pieces for seds with | ||
17845 | # small command number limits, like on Digital OSF/1 and HP-UX. | ||
17846 | ac_max_sed_lines=48 | ||
17847 | ac_sed_frag=1 # Number of current file. | ||
17848 | ac_beg=1 # First line for current file. | ||
17849 | ac_end=$ac_max_sed_lines # Line after last line for current file. | ||
17850 | ac_more_lines=: | ||
17851 | ac_sed_cmds= | ||
17852 | while $ac_more_lines; do | ||
17853 | if test $ac_beg -gt 1; then | ||
17854 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
17855 | else | ||
17856 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
17857 | fi | ||
17858 | if test ! -s $tmp/subs.frag; then | ||
17859 | ac_more_lines=false | ||
17860 | else | ||
17861 | # The purpose of the label and of the branching condition is to | ||
17862 | # speed up the sed processing (if there are no `@' at all, there | ||
17863 | # is no need to browse any of the substitutions). | ||
17864 | # These are the two extra sed commands mentioned above. | ||
17865 | (echo ':t | ||
17866 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | ||
17867 | if test -z "$ac_sed_cmds"; then | ||
17868 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ||
17869 | else | ||
17870 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ||
17871 | fi | ||
17872 | ac_sed_frag=`expr $ac_sed_frag + 1` | ||
17873 | ac_beg=$ac_end | ||
17874 | ac_end=`expr $ac_end + $ac_max_sed_lines` | ||
17875 | fi | ||
17876 | done | ||
17877 | if test -z "$ac_sed_cmds"; then | ||
17878 | ac_sed_cmds=cat | ||
17879 | fi | ||
17880 | fi # test -n "$CONFIG_FILES" | ||
17881 | |||
17882 | _ACEOF | ||
17883 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
17884 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | ||
17885 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
17886 | case $ac_file in | ||
17887 | - | *:- | *:-:* ) # input from stdin | ||
17888 | cat >$tmp/stdin | ||
17889 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
17890 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
17891 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
17892 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
17893 | * ) ac_file_in=$ac_file.in ;; | ||
17894 | esac | ||
17895 | |||
17896 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | ||
17897 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
17898 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
17899 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
17900 | X"$ac_file" : 'X\(//\)$' \| \ | ||
17901 | X"$ac_file" : 'X\(/\)' \| \ | ||
17902 | . : '\(.\)' 2>/dev/null || | ||
17903 | echo X"$ac_file" | | ||
17904 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
17905 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
17906 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
17907 | /^X\(\/\).*/{ s//\1/; q; } | ||
17908 | s/.*/./; q'` | ||
17909 | { case "$ac_dir" in | ||
17910 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; | ||
17911 | *) as_incr_dir=.;; | ||
17912 | esac | ||
17913 | as_dummy="$ac_dir" | ||
17914 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | ||
17915 | case $as_mkdir_dir in | ||
17916 | # Skip DOS drivespec | ||
17917 | ?:) as_incr_dir=$as_mkdir_dir ;; | ||
17918 | *) | ||
17919 | as_incr_dir=$as_incr_dir/$as_mkdir_dir | ||
17920 | test -d "$as_incr_dir" || | ||
17921 | mkdir "$as_incr_dir" || | ||
17922 | { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | ||
17923 | echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | ||
17924 | { (exit 1); exit 1; }; } | ||
17925 | ;; | ||
17926 | esac | ||
17927 | done; } | ||
17928 | |||
17929 | ac_builddir=. | ||
17930 | |||
17931 | if test "$ac_dir" != .; then | ||
17932 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
17933 | # A "../" for each directory in $ac_dir_suffix. | ||
17934 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
17935 | else | ||
17936 | ac_dir_suffix= ac_top_builddir= | ||
17937 | fi | ||
17938 | |||
17939 | case $srcdir in | ||
17940 | .) # No --srcdir option. We are building in place. | ||
17941 | ac_srcdir=. | ||
17942 | if test -z "$ac_top_builddir"; then | ||
17943 | ac_top_srcdir=. | ||
17944 | else | ||
17945 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
17946 | fi ;; | ||
17947 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
17948 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
17949 | ac_top_srcdir=$srcdir ;; | ||
17950 | *) # Relative path. | ||
17951 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
17952 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
17953 | esac | ||
17954 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | ||
17955 | # absolute. | ||
17956 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | ||
17957 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | ||
17958 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | ||
17959 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | ||
17960 | |||
17961 | |||
17962 | case $INSTALL in | ||
17963 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
17964 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | ||
17965 | esac | ||
17966 | |||
17967 | if test x"$ac_file" != x-; then | ||
17968 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
17969 | echo "$as_me: creating $ac_file" >&6;} | ||
17970 | rm -f "$ac_file" | ||
17971 | fi | ||
17972 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
17973 | # use $as_me), people would be surprised to read: | ||
17974 | # /* config.h. Generated by config.status. */ | ||
17975 | if test x"$ac_file" = x-; then | ||
17976 | configure_input= | ||
17977 | else | ||
17978 | configure_input="$ac_file. " | ||
17979 | fi | ||
17980 | configure_input=$configure_input"Generated from `echo $ac_file_in | | ||
17981 | sed 's,.*/,,'` by configure." | ||
17982 | |||
17983 | # First look for the input files in the build tree, otherwise in the | ||
17984 | # src tree. | ||
17985 | ac_file_inputs=`IFS=: | ||
17986 | for f in $ac_file_in; do | ||
17987 | case $f in | ||
17988 | -) echo $tmp/stdin ;; | ||
17989 | [\\/$]*) | ||
17990 | # Absolute (can't be DOS-style, as IFS=:) | ||
17991 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
17992 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
17993 | { (exit 1); exit 1; }; } | ||
17994 | echo $f;; | ||
17995 | *) # Relative | ||
17996 | if test -f "$f"; then | ||
17997 | # Build tree | ||
17998 | echo $f | ||
17999 | elif test -f "$srcdir/$f"; then | ||
18000 | # Source tree | ||
18001 | echo $srcdir/$f | ||
18002 | else | ||
18003 | # /dev/null tree | ||
18004 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
18005 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
18006 | { (exit 1); exit 1; }; } | ||
18007 | fi;; | ||
18008 | esac | ||
18009 | done` || { (exit 1); exit 1; } | ||
18010 | _ACEOF | ||
18011 | cat >>$CONFIG_STATUS <<_ACEOF | ||
18012 | sed "$ac_vpsub | ||
18013 | $extrasub | ||
18014 | _ACEOF | ||
18015 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18016 | :t | ||
18017 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
18018 | s,@configure_input@,$configure_input,;t t | ||
18019 | s,@srcdir@,$ac_srcdir,;t t | ||
18020 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | ||
18021 | s,@top_srcdir@,$ac_top_srcdir,;t t | ||
18022 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | ||
18023 | s,@builddir@,$ac_builddir,;t t | ||
18024 | s,@abs_builddir@,$ac_abs_builddir,;t t | ||
18025 | s,@top_builddir@,$ac_top_builddir,;t t | ||
18026 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | ||
18027 | s,@INSTALL@,$ac_INSTALL,;t t | ||
18028 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | ||
18029 | rm -f $tmp/stdin | ||
18030 | if test x"$ac_file" != x-; then | ||
18031 | mv $tmp/out $ac_file | ||
18032 | else | ||
18033 | cat $tmp/out | ||
18034 | rm -f $tmp/out | ||
18035 | fi | ||
18036 | |||
18037 | done | ||
18038 | _ACEOF | ||
18039 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18040 | |||
18041 | # | ||
18042 | # CONFIG_HEADER section. | ||
18043 | # | ||
18044 | |||
18045 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | ||
18046 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | ||
18047 | # | ||
18048 | # ac_d sets the value in "#define NAME VALUE" lines. | ||
18049 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | ||
18050 | ac_dB='[ ].*$,\1#\2' | ||
18051 | ac_dC=' ' | ||
18052 | ac_dD=',;t' | ||
18053 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | ||
18054 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | ||
18055 | ac_uB='$,\1#\2define\3' | ||
18056 | ac_uC=' ' | ||
18057 | ac_uD=',;t' | ||
18058 | |||
18059 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | ||
18060 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
18061 | case $ac_file in | ||
18062 | - | *:- | *:-:* ) # input from stdin | ||
18063 | cat >$tmp/stdin | ||
18064 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
18065 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
18066 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
18067 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
18068 | * ) ac_file_in=$ac_file.in ;; | ||
18069 | esac | ||
18070 | |||
18071 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
18072 | echo "$as_me: creating $ac_file" >&6;} | ||
18073 | |||
18074 | # First look for the input files in the build tree, otherwise in the | ||
18075 | # src tree. | ||
18076 | ac_file_inputs=`IFS=: | ||
18077 | for f in $ac_file_in; do | ||
18078 | case $f in | ||
18079 | -) echo $tmp/stdin ;; | ||
18080 | [\\/$]*) | ||
18081 | # Absolute (can't be DOS-style, as IFS=:) | ||
18082 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
18083 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
18084 | { (exit 1); exit 1; }; } | ||
18085 | echo $f;; | ||
18086 | *) # Relative | ||
18087 | if test -f "$f"; then | ||
18088 | # Build tree | ||
18089 | echo $f | ||
18090 | elif test -f "$srcdir/$f"; then | ||
18091 | # Source tree | ||
18092 | echo $srcdir/$f | ||
18093 | else | ||
18094 | # /dev/null tree | ||
18095 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
18096 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
18097 | { (exit 1); exit 1; }; } | ||
18098 | fi;; | ||
18099 | esac | ||
18100 | done` || { (exit 1); exit 1; } | ||
18101 | # Remove the trailing spaces. | ||
18102 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | ||
18103 | |||
18104 | _ACEOF | ||
18105 | |||
18106 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | ||
18107 | # `conftest.undefs', that substitutes the proper values into | ||
18108 | # config.h.in to produce config.h. The first handles `#define' | ||
18109 | # templates, and the second `#undef' templates. | ||
18110 | # And first: Protect against being on the right side of a sed subst in | ||
18111 | # config.status. Protect against being in an unquoted here document | ||
18112 | # in config.status. | ||
18113 | rm -f conftest.defines conftest.undefs | ||
18114 | # Using a here document instead of a string reduces the quoting nightmare. | ||
18115 | # Putting comments in sed scripts is not portable. | ||
18116 | # | ||
18117 | # `end' is used to avoid that the second main sed command (meant for | ||
18118 | # 0-ary CPP macros) applies to n-ary macro definitions. | ||
18119 | # See the Autoconf documentation for `clear'. | ||
18120 | cat >confdef2sed.sed <<\_ACEOF | ||
18121 | s/[\\&,]/\\&/g | ||
18122 | s,[\\$`],\\&,g | ||
18123 | t clear | ||
18124 | : clear | ||
18125 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | ||
18126 | t end | ||
18127 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | ||
18128 | : end | ||
18129 | _ACEOF | ||
18130 | # If some macros were called several times there might be several times | ||
18131 | # the same #defines, which is useless. Nevertheless, we may not want to | ||
18132 | # sort them, since we want the *last* AC-DEFINE to be honored. | ||
18133 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | ||
18134 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | ||
18135 | rm -f confdef2sed.sed | ||
18136 | |||
18137 | # This sed command replaces #undef with comments. This is necessary, for | ||
18138 | # example, in the case of _POSIX_SOURCE, which is predefined and required | ||
18139 | # on some systems where configure will not decide to define it. | ||
18140 | cat >>conftest.undefs <<\_ACEOF | ||
18141 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | ||
18142 | _ACEOF | ||
18143 | |||
18144 | # Break up conftest.defines because some shells have a limit on the size | ||
18145 | # of here documents, and old seds have small limits too (100 cmds). | ||
18146 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | ||
18147 | echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | ||
18148 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | ||
18149 | echo ' :' >>$CONFIG_STATUS | ||
18150 | rm -f conftest.tail | ||
18151 | while grep . conftest.defines >/dev/null | ||
18152 | do | ||
18153 | # Write a limited-size here document to $tmp/defines.sed. | ||
18154 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | ||
18155 | # Speed up: don't consider the non `#define' lines. | ||
18156 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | ||
18157 | # Work around the forget-to-reset-the-flag bug. | ||
18158 | echo 't clr' >>$CONFIG_STATUS | ||
18159 | echo ': clr' >>$CONFIG_STATUS | ||
18160 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | ||
18161 | echo 'CEOF | ||
18162 | sed -f $tmp/defines.sed $tmp/in >$tmp/out | ||
18163 | rm -f $tmp/in | ||
18164 | mv $tmp/out $tmp/in | ||
18165 | ' >>$CONFIG_STATUS | ||
18166 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | ||
18167 | rm -f conftest.defines | ||
18168 | mv conftest.tail conftest.defines | ||
18169 | done | ||
18170 | rm -f conftest.defines | ||
18171 | echo ' fi # egrep' >>$CONFIG_STATUS | ||
18172 | echo >>$CONFIG_STATUS | ||
18173 | |||
18174 | # Break up conftest.undefs because some shells have a limit on the size | ||
18175 | # of here documents, and old seds have small limits too (100 cmds). | ||
18176 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | ||
18177 | rm -f conftest.tail | ||
18178 | while grep . conftest.undefs >/dev/null | ||
18179 | do | ||
18180 | # Write a limited-size here document to $tmp/undefs.sed. | ||
18181 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | ||
18182 | # Speed up: don't consider the non `#undef' | ||
18183 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | ||
18184 | # Work around the forget-to-reset-the-flag bug. | ||
18185 | echo 't clr' >>$CONFIG_STATUS | ||
18186 | echo ': clr' >>$CONFIG_STATUS | ||
18187 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | ||
18188 | echo 'CEOF | ||
18189 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out | ||
18190 | rm -f $tmp/in | ||
18191 | mv $tmp/out $tmp/in | ||
18192 | ' >>$CONFIG_STATUS | ||
18193 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | ||
18194 | rm -f conftest.undefs | ||
18195 | mv conftest.tail conftest.undefs | ||
18196 | done | ||
18197 | rm -f conftest.undefs | ||
18198 | |||
18199 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18200 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
18201 | # use $as_me), people would be surprised to read: | ||
18202 | # /* config.h. Generated by config.status. */ | ||
18203 | if test x"$ac_file" = x-; then | ||
18204 | echo "/* Generated by configure. */" >$tmp/config.h | ||
18205 | else | ||
18206 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | ||
18207 | fi | ||
18208 | cat $tmp/in >>$tmp/config.h | ||
18209 | rm -f $tmp/in | ||
18210 | if test x"$ac_file" != x-; then | ||
18211 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | ||
18212 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | ||
18213 | echo "$as_me: $ac_file is unchanged" >&6;} | ||
18214 | else | ||
18215 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
18216 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
18217 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
18218 | X"$ac_file" : 'X\(//\)$' \| \ | ||
18219 | X"$ac_file" : 'X\(/\)' \| \ | ||
18220 | . : '\(.\)' 2>/dev/null || | ||
18221 | echo X"$ac_file" | | ||
18222 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
18223 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
18224 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
18225 | /^X\(\/\).*/{ s//\1/; q; } | ||
18226 | s/.*/./; q'` | ||
18227 | { case "$ac_dir" in | ||
18228 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; | ||
18229 | *) as_incr_dir=.;; | ||
18230 | esac | ||
18231 | as_dummy="$ac_dir" | ||
18232 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | ||
18233 | case $as_mkdir_dir in | ||
18234 | # Skip DOS drivespec | ||
18235 | ?:) as_incr_dir=$as_mkdir_dir ;; | ||
18236 | *) | ||
18237 | as_incr_dir=$as_incr_dir/$as_mkdir_dir | ||
18238 | test -d "$as_incr_dir" || | ||
18239 | mkdir "$as_incr_dir" || | ||
18240 | { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | ||
18241 | echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | ||
18242 | { (exit 1); exit 1; }; } | ||
18243 | ;; | ||
18244 | esac | ||
18245 | done; } | ||
18246 | |||
18247 | rm -f $ac_file | ||
18248 | mv $tmp/config.h $ac_file | ||
18249 | fi | ||
18250 | else | ||
18251 | cat $tmp/config.h | ||
18252 | rm -f $tmp/config.h | ||
18253 | fi | ||
18254 | done | ||
18255 | _ACEOF | ||
18256 | |||
18257 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18258 | |||
18259 | { (exit 0); exit 0; } | ||
18260 | _ACEOF | ||
18261 | chmod +x $CONFIG_STATUS | ||
18262 | ac_clean_files=$ac_clean_files_save | ||
18263 | |||
18264 | |||
18265 | # configure is writing to config.log, and then calls config.status. | ||
18266 | # config.status does its own redirection, appending to config.log. | ||
18267 | # Unfortunately, on DOS this fails, as config.log is still kept open | ||
18268 | # by configure, so config.status won't be able to write to it; its | ||
18269 | # output is simply discarded. So we exec the FD to /dev/null, | ||
18270 | # effectively closing config.log, so it can be properly (re)opened and | ||
18271 | # appended to by config.status. When coming back to configure, we | ||
18272 | # need to make the FD available again. | ||
18273 | if test "$no_create" != yes; then | ||
18274 | ac_cs_success=: | ||
18275 | exec 5>/dev/null | ||
18276 | $SHELL $CONFIG_STATUS || ac_cs_success=false | ||
18277 | exec 5>>config.log | ||
18278 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
18279 | # would make configure fail if this is the last instruction. | ||
18280 | $ac_cs_success || { (exit 1); exit 1; } | ||
18281 | fi | ||
18282 | |||
18283 | |||
18284 | # Print summary of options | ||
18285 | |||
18286 | # Someone please show me a better way :) | ||
18287 | A=`eval echo ${prefix}` ; A=`eval echo ${A}` | ||
18288 | B=`eval echo ${bindir}` ; B=`eval echo ${B}` | ||
18289 | C=`eval echo ${sbindir}` ; C=`eval echo ${C}` | ||
18290 | D=`eval echo ${sysconfdir}` ; D=`eval echo ${D}` | ||
18291 | E=`eval echo ${libexecdir}/ssh-askpass` ; E=`eval echo ${E}` | ||
18292 | F=`eval echo ${mandir}/${mansubdir}X` ; F=`eval echo ${F}` | ||
18293 | G=`eval echo ${piddir}` ; G=`eval echo ${G}` | ||
18294 | H=`eval echo ${PRIVSEP_PATH}` ; H=`eval echo ${H}` | ||
18295 | I=`eval echo ${user_path}` ; I=`eval echo ${I}` | ||
18296 | J=`eval echo ${superuser_path}` ; J=`eval echo ${J}` | ||
18297 | |||
18298 | echo "" | ||
18299 | echo "OpenSSH has been configured with the following options:" | ||
18300 | echo " User binaries: $B" | ||
18301 | echo " System binaries: $C" | ||
18302 | echo " Configuration files: $D" | ||
18303 | echo " Askpass program: $E" | ||
18304 | echo " Manual pages: $F" | ||
18305 | echo " PID file: $G" | ||
18306 | echo " Privilege separation chroot path: $H" | ||
18307 | if test "$USES_LOGIN_CONF" = "yes" ; then | ||
18308 | echo " At runtime, sshd will use the path defined in /etc/login.conf" | ||
18309 | else | ||
18310 | echo " sshd default user PATH: $I" | ||
18311 | fi | ||
18312 | if test ! -z "$superuser_path" ; then | ||
18313 | echo " sshd superuser user PATH: $J" | ||
18314 | fi | ||
18315 | echo " Manpage format: $MANTYPE" | ||
18316 | echo " PAM support: ${PAM_MSG}" | ||
18317 | echo " KerberosIV support: $KRB4_MSG" | ||
18318 | echo " KerberosV support: $KRB5_MSG" | ||
18319 | echo " Smartcard support: $SCARD_MSG" | ||
18320 | echo " AFS support: $AFS_MSG" | ||
18321 | echo " S/KEY support: $SKEY_MSG" | ||
18322 | echo " TCP Wrappers support: $TCPW_MSG" | ||
18323 | echo " MD5 password support: $MD5_MSG" | ||
18324 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | ||
18325 | echo " Use IPv4 by default hack: $IPV4_HACK_MSG" | ||
18326 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | ||
18327 | echo " BSD Auth support: $BSD_AUTH_MSG" | ||
18328 | echo " Random number source: $RAND_MSG" | ||
18329 | if test ! -z "$USE_RAND_HELPER" ; then | ||
18330 | echo " ssh-rand-helper collects from: $RAND_HELPER_MSG" | ||
18331 | fi | ||
18332 | |||
18333 | echo "" | ||
18334 | |||
18335 | echo " Host: ${host}" | ||
18336 | echo " Compiler: ${CC}" | ||
18337 | echo " Compiler flags: ${CFLAGS}" | ||
18338 | echo "Preprocessor flags: ${CPPFLAGS}" | ||
18339 | echo " Linker flags: ${LDFLAGS}" | ||
18340 | echo " Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}" | ||
18341 | |||
18342 | echo "" | ||
18343 | |||
18344 | if test "x$PAM_MSG" = "xyes" ; then | ||
18345 | echo "PAM is enabled. You may need to install a PAM control file " | ||
18346 | echo "for sshd, otherwise password authentication may fail. " | ||
18347 | echo "Example PAM control files can be found in the contrib/ " | ||
18348 | echo "subdirectory" | ||
18349 | echo "" | ||
18350 | fi | ||
18351 | |||
18352 | if test ! -z "$RAND_HELPER_CMDHASH" ; then | ||
18353 | echo "WARNING: you are using the builtin random number collection " | ||
18354 | echo "service. Please read WARNING.RNG and request that your OS " | ||
18355 | echo "vendor includes kernel-based random number collection in " | ||
18356 | echo "future versions of your OS." | ||
18357 | echo "" | ||
18358 | fi | ||
18359 | |||
diff --git a/autom4te-2.53.cache/requests b/autom4te-2.53.cache/requests deleted file mode 100644 index 17e72cec4..000000000 --- a/autom4te-2.53.cache/requests +++ /dev/null | |||
@@ -1,96 +0,0 @@ | |||
1 | # This file was created by autom4te-2.53. | ||
2 | # It contains the lists of macros which have been traced. | ||
3 | # It can be safely removed. | ||
4 | |||
5 | @request = ( | ||
6 | bless( [ | ||
7 | '0', | ||
8 | 1, | ||
9 | [ | ||
10 | '/usr/share/autoconf' | ||
11 | ], | ||
12 | [ | ||
13 | '--reload-state=/usr/share/autoconf/autoconf/autoconf.m4f', | ||
14 | 'aclocal.m4', | ||
15 | 'configure.ac' | ||
16 | ], | ||
17 | { | ||
18 | 'm4_pattern_forbid' => 1, | ||
19 | 'AC_TYPE_OFF_T' => 1, | ||
20 | 'AC_PROG_LIBTOOL' => 1, | ||
21 | 'AC_FUNC_STAT' => 1, | ||
22 | 'AC_HEADER_TIME' => 1, | ||
23 | 'AC_FUNC_WAIT3' => 1, | ||
24 | 'AC_STRUCT_TM' => 1, | ||
25 | 'AC_FUNC_LSTAT' => 1, | ||
26 | 'AC_TYPE_MODE_T' => 1, | ||
27 | 'AC_FUNC_STRTOD' => 1, | ||
28 | 'AC_CHECK_HEADERS' => 1, | ||
29 | 'AC_PROG_CXX' => 1, | ||
30 | 'AC_PATH_X' => 1, | ||
31 | 'AC_PROG_AWK' => 1, | ||
32 | 'AC_HEADER_STDC' => 1, | ||
33 | 'AC_HEADER_MAJOR' => 1, | ||
34 | 'AC_FUNC_ERROR_AT_LINE' => 1, | ||
35 | 'AC_PROG_GCC_TRADITIONAL' => 1, | ||
36 | 'AC_LIBSOURCE' => 1, | ||
37 | 'AC_STRUCT_ST_BLOCKS' => 1, | ||
38 | 'AC_TYPE_SIGNAL' => 1, | ||
39 | 'AC_TYPE_UID_T' => 1, | ||
40 | 'AC_PROG_MAKE_SET' => 1, | ||
41 | 'm4_pattern_allow' => 1, | ||
42 | 'AC_DEFINE_TRACE_LITERAL' => 1, | ||
43 | 'AM_PROG_LIBTOOL' => 1, | ||
44 | 'AC_FUNC_STRERROR_R' => 1, | ||
45 | 'AC_PROG_CC' => 1, | ||
46 | 'AC_DECL_SYS_SIGLIST' => 1, | ||
47 | 'AC_FUNC_FORK' => 1, | ||
48 | 'AC_FUNC_VPRINTF' => 1, | ||
49 | 'AC_FUNC_STRCOLL' => 1, | ||
50 | 'AC_PROG_YACC' => 1, | ||
51 | 'AC_INIT' => 1, | ||
52 | 'AC_STRUCT_TIMEZONE' => 1, | ||
53 | 'AC_FUNC_CHOWN' => 1, | ||
54 | 'AC_SUBST' => 1, | ||
55 | 'AC_FUNC_ALLOCA' => 1, | ||
56 | 'AC_FUNC_GETPGRP' => 1, | ||
57 | 'AC_PROG_RANLIB' => 1, | ||
58 | 'AC_FUNC_SETPGRP' => 1, | ||
59 | 'AC_CONFIG_SUBDIRS' => 1, | ||
60 | 'AC_FUNC_MMAP' => 1, | ||
61 | 'AC_TYPE_SIZE_T' => 1, | ||
62 | 'AC_CHECK_TYPES' => 1, | ||
63 | 'AC_FUNC_UTIME_NULL' => 1, | ||
64 | 'AC_FUNC_STRFTIME' => 1, | ||
65 | 'AC_HEADER_STAT' => 1, | ||
66 | 'AC_C_INLINE' => 1, | ||
67 | 'AC_PROG_CPP' => 1, | ||
68 | 'AC_C_CONST' => 1, | ||
69 | 'AC_PROG_LEX' => 1, | ||
70 | 'AC_TYPE_PID_T' => 1, | ||
71 | 'AC_CONFIG_FILES' => 1, | ||
72 | 'include' => 1, | ||
73 | 'AC_FUNC_SETVBUF_REVERSED' => 1, | ||
74 | 'AC_FUNC_FNMATCH' => 1, | ||
75 | 'AC_PROG_INSTALL' => 1, | ||
76 | 'AM_GNU_GETTEXT' => 1, | ||
77 | 'AC_FUNC_OBSTACK' => 1, | ||
78 | 'AC_CHECK_LIB' => 1, | ||
79 | 'AC_FUNC_MALLOC' => 1, | ||
80 | 'AC_FUNC_GETGROUPS' => 1, | ||
81 | 'AC_FUNC_GETLOADAVG' => 1, | ||
82 | 'AH_OUTPUT' => 1, | ||
83 | 'AC_FUNC_FSEEKO' => 1, | ||
84 | 'AC_FUNC_MKTIME' => 1, | ||
85 | 'AM_CONDITIONAL' => 1, | ||
86 | 'AC_CONFIG_HEADERS' => 1, | ||
87 | 'AC_HEADER_SYS_WAIT' => 1, | ||
88 | 'AC_PROG_LN_S' => 1, | ||
89 | 'AC_FUNC_MEMCMP' => 1, | ||
90 | 'm4_include' => 1, | ||
91 | 'AC_HEADER_DIRENT' => 1, | ||
92 | 'AC_CHECK_FUNCS' => 1 | ||
93 | } | ||
94 | ], 'Request' ) | ||
95 | ); | ||
96 | |||
diff --git a/autom4te-2.53.cache/traces.0 b/autom4te-2.53.cache/traces.0 deleted file mode 100644 index c928d0c58..000000000 --- a/autom4te-2.53.cache/traces.0 +++ /dev/null | |||
@@ -1,941 +0,0 @@ | |||
1 | m4trace:configure.ac:3: -1- AC_INIT | ||
2 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) | ||
3 | m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_]) | ||
4 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS']) | ||
5 | m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$]) | ||
6 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_]) | ||
7 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$]) | ||
8 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_]) | ||
9 | m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) | ||
10 | m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR]) | ||
11 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) | ||
12 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) | ||
13 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) | ||
14 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) | ||
15 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) | ||
16 | m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE]) | ||
17 | m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE]) | ||
18 | m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,]) | ||
19 | m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) | ||
20 | m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) | ||
21 | m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) | ||
22 | m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${prefix}/share']) | ||
23 | m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) | ||
24 | m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) | ||
25 | m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var']) | ||
26 | m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) | ||
27 | m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include']) | ||
28 | m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include']) | ||
29 | m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${prefix}/info']) | ||
30 | m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${prefix}/man']) | ||
31 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) | ||
32 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ | ||
33 | #undef PACKAGE_NAME]) | ||
34 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) | ||
35 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ | ||
36 | #undef PACKAGE_TARNAME]) | ||
37 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) | ||
38 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ | ||
39 | #undef PACKAGE_VERSION]) | ||
40 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) | ||
41 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ | ||
42 | #undef PACKAGE_STRING]) | ||
43 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) | ||
44 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ | ||
45 | #undef PACKAGE_BUGREPORT]) | ||
46 | m4trace:configure.ac:3: -1- AC_SUBST([build_alias]) | ||
47 | m4trace:configure.ac:3: -1- AC_SUBST([host_alias]) | ||
48 | m4trace:configure.ac:3: -1- AC_SUBST([target_alias]) | ||
49 | m4trace:configure.ac:3: -1- AC_SUBST([DEFS]) | ||
50 | m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C]) | ||
51 | m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N]) | ||
52 | m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T]) | ||
53 | m4trace:configure.ac:3: -1- AC_SUBST([LIBS]) | ||
54 | m4trace:configure.ac:6: -1- AC_CONFIG_HEADERS([config.h]) | ||
55 | m4trace:configure.ac:7: -1- AC_PROG_CC | ||
56 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
57 | m4trace:configure.ac:7: -1- AC_SUBST([CFLAGS]) | ||
58 | m4trace:configure.ac:7: -1- AC_SUBST([LDFLAGS]) | ||
59 | m4trace:configure.ac:7: -1- AC_SUBST([CPPFLAGS]) | ||
60 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
61 | m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC]) | ||
62 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
63 | m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC]) | ||
64 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
65 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
66 | m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC]) | ||
67 | m4trace:configure.ac:7: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) | ||
68 | m4trace:configure.ac:7: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) | ||
69 | m4trace:configure.ac:8: -1- AC_SUBST([build], [$ac_cv_build]) | ||
70 | m4trace:configure.ac:8: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`]) | ||
71 | m4trace:configure.ac:8: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`]) | ||
72 | m4trace:configure.ac:8: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`]) | ||
73 | m4trace:configure.ac:8: -1- AC_SUBST([host], [$ac_cv_host]) | ||
74 | m4trace:configure.ac:8: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`]) | ||
75 | m4trace:configure.ac:8: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`]) | ||
76 | m4trace:configure.ac:8: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`]) | ||
77 | m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN]) | ||
78 | m4trace:configure.ac:9: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define to 1 if your processor stores words with the most significant byte | ||
79 | first (like Motorola and SPARC, unlike Intel and VAX). */ | ||
80 | #undef WORDS_BIGENDIAN]) | ||
81 | m4trace:configure.ac:12: -1- AC_PROG_CPP | ||
82 | m4trace:configure.ac:12: -1- AC_SUBST([CPP]) | ||
83 | m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS]) | ||
84 | m4trace:configure.ac:12: -1- AC_SUBST([CPP]) | ||
85 | m4trace:configure.ac:13: -1- AC_PROG_RANLIB | ||
86 | m4trace:configure.ac:13: -1- AC_SUBST([RANLIB]) | ||
87 | m4trace:configure.ac:13: -1- AC_SUBST([ac_ct_RANLIB]) | ||
88 | m4trace:configure.ac:14: -1- AC_PROG_INSTALL | ||
89 | m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_PROGRAM]) | ||
90 | m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_SCRIPT]) | ||
91 | m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_DATA]) | ||
92 | m4trace:configure.ac:15: -1- AC_SUBST([AR], [$ac_cv_path_AR]) | ||
93 | m4trace:configure.ac:16: -1- AC_SUBST([PERL], [$ac_cv_path_PERL]) | ||
94 | m4trace:configure.ac:17: -1- AC_SUBST([SED], [$ac_cv_path_SED]) | ||
95 | m4trace:configure.ac:18: -1- AC_SUBST([PERL]) | ||
96 | m4trace:configure.ac:19: -1- AC_SUBST([ENT], [$ac_cv_path_ENT]) | ||
97 | m4trace:configure.ac:20: -1- AC_SUBST([ENT]) | ||
98 | m4trace:configure.ac:21: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH]) | ||
99 | m4trace:configure.ac:22: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH]) | ||
100 | m4trace:configure.ac:23: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH]) | ||
101 | m4trace:configure.ac:24: -1- AC_SUBST([SH], [$ac_cv_path_SH]) | ||
102 | m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) | ||
103 | m4trace:configure.ac:27: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ | ||
104 | #undef _FILE_OFFSET_BITS]) | ||
105 | m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) | ||
106 | m4trace:configure.ac:27: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ | ||
107 | #undef _LARGE_FILES]) | ||
108 | m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_PROGRAM_FALLBACK]) | ||
109 | m4trace:configure.ac:38: -1- AC_SUBST([LOGIN_PROGRAM_FALLBACK], [$ac_cv_path_LOGIN_PROGRAM_FALLBACK]) | ||
110 | m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_PROGRAM_FALLBACK]) | ||
111 | m4trace:configure.ac:47: -1- AC_SUBST([LD]) | ||
112 | m4trace:configure.ac:49: -1- AC_C_INLINE | ||
113 | m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([inline]) | ||
114 | m4trace:configure.ac:49: -1- AH_OUTPUT([inline], [/* Define as \`__inline' if that's what the C compiler calls it, or to nothing | ||
115 | if it is not supported. */ | ||
116 | #undef inline]) | ||
117 | m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([inline]) | ||
118 | m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([WITH_AIXAUTHENTICATE]) | ||
119 | m4trace:configure.ac:79: -1- AC_CHECK_LIB([s], [authenticate], [ AC_DEFINE(WITH_AIXAUTHENTICATE) | ||
120 | LIBS="$LIBS -ls" | ||
121 | ]) | ||
122 | m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([WITH_AIXAUTHENTICATE]) | ||
123 | m4trace:configure.ac:80: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_GETADDRINFO]) | ||
124 | m4trace:configure.ac:81: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALPATH]) | ||
125 | m4trace:configure.ac:83: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG]) | ||
126 | m4trace:configure.ac:84: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
127 | m4trace:configure.ac:85: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
128 | m4trace:configure.ac:86: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_PS_PADDING]) | ||
129 | m4trace:configure.ac:91: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CYGWIN]) | ||
130 | m4trace:configure.ac:92: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
131 | m4trace:configure.ac:93: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
132 | m4trace:configure.ac:94: -1- AC_DEFINE_TRACE_LITERAL([IPV4_DEFAULT]) | ||
133 | m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN]) | ||
134 | m4trace:configure.ac:96: -1- AC_DEFINE_TRACE_LITERAL([NO_X11_UNIX_SOCKETS]) | ||
135 | m4trace:configure.ac:97: -1- AC_DEFINE_TRACE_LITERAL([NO_IPPORT_RESERVED_CONCEPT]) | ||
136 | m4trace:configure.ac:98: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
137 | m4trace:configure.ac:99: -1- AC_DEFINE_TRACE_LITERAL([SETGROUPS_NOOP]) | ||
138 | m4trace:configure.ac:102: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN]) | ||
139 | m4trace:configure.ac:114: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_GETADDRINFO]) | ||
140 | m4trace:configure.ac:122: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE]) | ||
141 | m4trace:configure.ac:123: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
142 | m4trace:configure.ac:124: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT]) | ||
143 | m4trace:configure.ac:125: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
144 | m4trace:configure.ac:126: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
145 | m4trace:configure.ac:127: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
146 | m4trace:configure.ac:128: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
147 | m4trace:configure.ac:130: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
148 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
149 | { (exit 1); exit 1; }; }]) | ||
150 | m4trace:configure.ac:130: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the \`xnet' library (-lxnet). */ | ||
151 | #undef HAVE_LIBXNET]) | ||
152 | m4trace:configure.ac:130: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET]) | ||
153 | m4trace:configure.ac:139: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
154 | m4trace:configure.ac:140: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT]) | ||
155 | m4trace:configure.ac:141: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
156 | m4trace:configure.ac:142: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
157 | m4trace:configure.ac:143: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
158 | m4trace:configure.ac:144: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
159 | m4trace:configure.ac:146: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
160 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
161 | { (exit 1); exit 1; }; }]) | ||
162 | m4trace:configure.ac:146: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the \`xnet' library (-lxnet). */ | ||
163 | #undef HAVE_LIBXNET]) | ||
164 | m4trace:configure.ac:146: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET]) | ||
165 | m4trace:configure.ac:151: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE]) | ||
166 | m4trace:configure.ac:152: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
167 | m4trace:configure.ac:153: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT]) | ||
168 | m4trace:configure.ac:154: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
169 | m4trace:configure.ac:155: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
170 | m4trace:configure.ac:156: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
171 | m4trace:configure.ac:157: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
172 | m4trace:configure.ac:159: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
173 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
174 | { (exit 1); exit 1; }; }]) | ||
175 | m4trace:configure.ac:159: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the \`xnet' library (-lxnet). */ | ||
176 | #undef HAVE_LIBXNET]) | ||
177 | m4trace:configure.ac:159: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET]) | ||
178 | m4trace:configure.ac:165: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_INET_NTOA]) | ||
179 | m4trace:configure.ac:166: -1- AC_DEFINE_TRACE_LITERAL([WITH_ABBREV_NO_TTY]) | ||
180 | m4trace:configure.ac:172: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_ARRAY]) | ||
181 | m4trace:configure.ac:173: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_PROJECT]) | ||
182 | m4trace:configure.ac:174: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_AUDIT]) | ||
183 | m4trace:configure.ac:175: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_JOBS]) | ||
184 | m4trace:configure.ac:176: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_INET_NTOA]) | ||
185 | m4trace:configure.ac:177: -1- AC_DEFINE_TRACE_LITERAL([WITH_ABBREV_NO_TTY]) | ||
186 | m4trace:configure.ac:182: -1- AC_DEFINE_TRACE_LITERAL([DONT_TRY_OTHER_AF]) | ||
187 | m4trace:configure.ac:183: -1- AC_DEFINE_TRACE_LITERAL([PAM_TTY_KLUDGE]) | ||
188 | m4trace:configure.ac:184: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
189 | m4trace:configure.ac:185: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_PS_PADDING]) | ||
190 | m4trace:configure.ac:189: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEWS4]) | ||
191 | m4trace:configure.ac:204: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEXT]) | ||
192 | m4trace:configure.ac:205: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALPATH]) | ||
193 | m4trace:configure.ac:206: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
194 | m4trace:configure.ac:207: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SAVED_UIDS]) | ||
195 | m4trace:configure.ac:215: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE]) | ||
196 | m4trace:configure.ac:216: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
197 | m4trace:configure.ac:217: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_TERM]) | ||
198 | m4trace:configure.ac:218: -1- AC_DEFINE_TRACE_LITERAL([PAM_TTY_KLUDGE]) | ||
199 | m4trace:configure.ac:219: -1- AC_DEFINE_TRACE_LITERAL([STREAMS_PUSH_ACQUIRES_CTTY]) | ||
200 | m4trace:configure.ac:226: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
201 | m4trace:configure.ac:227: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP]) | ||
202 | m4trace:configure.ac:234: -1- AC_CHECK_FUNCS([getpwanam]) | ||
203 | m4trace:configure.ac:234: -1- AH_OUTPUT([HAVE_GETPWANAM], [/* Define to 1 if you have the \`getpwanam' function. */ | ||
204 | #undef HAVE_GETPWANAM]) | ||
205 | m4trace:configure.ac:235: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE]) | ||
206 | m4trace:configure.ac:239: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
207 | m4trace:configure.ac:245: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
208 | m4trace:configure.ac:252: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
209 | m4trace:configure.ac:253: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN]) | ||
210 | m4trace:configure.ac:261: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
211 | m4trace:configure.ac:266: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
212 | m4trace:configure.ac:278: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SYS_TERMIO_H]) | ||
213 | m4trace:configure.ac:279: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
214 | m4trace:configure.ac:280: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE]) | ||
215 | m4trace:configure.ac:281: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
216 | m4trace:configure.ac:282: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SAVED_UIDS]) | ||
217 | m4trace:configure.ac:283: -1- AC_CHECK_FUNCS([getluid setluid]) | ||
218 | m4trace:configure.ac:283: -1- AH_OUTPUT([HAVE_GETLUID], [/* Define to 1 if you have the \`getluid' function. */ | ||
219 | #undef HAVE_GETLUID]) | ||
220 | m4trace:configure.ac:283: -1- AH_OUTPUT([HAVE_SETLUID], [/* Define to 1 if you have the \`setluid' function. */ | ||
221 | #undef HAVE_SETLUID]) | ||
222 | m4trace:configure.ac:295: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
223 | m4trace:configure.ac:296: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE]) | ||
224 | m4trace:configure.ac:297: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
225 | m4trace:configure.ac:298: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
226 | m4trace:configure.ac:299: -1- AC_CHECK_FUNCS([getluid setluid]) | ||
227 | m4trace:configure.ac:299: -1- AH_OUTPUT([HAVE_GETLUID], [/* Define to 1 if you have the \`getluid' function. */ | ||
228 | #undef HAVE_GETLUID]) | ||
229 | m4trace:configure.ac:299: -1- AH_OUTPUT([HAVE_SETLUID], [/* Define to 1 if you have the \`setluid' function. */ | ||
230 | #undef HAVE_SETLUID]) | ||
231 | m4trace:configure.ac:303: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
232 | m4trace:configure.ac:304: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
233 | m4trace:configure.ac:310: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
234 | m4trace:configure.ac:311: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
235 | m4trace:configure.ac:312: -1- AC_DEFINE_TRACE_LITERAL([NO_SSH_LASTLOG]) | ||
236 | m4trace:configure.ac:332: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSF_SIA]) | ||
237 | m4trace:configure.ac:333: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LOGIN]) | ||
238 | m4trace:configure.ac:334: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
239 | m4trace:configure.ac:340: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
240 | m4trace:configure.ac:344: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
241 | m4trace:configure.ac:345: -1- AC_DEFINE_TRACE_LITERAL([NO_X11_UNIX_SOCKETS]) | ||
242 | m4trace:configure.ac:346: -1- AC_DEFINE_TRACE_LITERAL([MISSING_NFDBITS]) | ||
243 | m4trace:configure.ac:347: -1- AC_DEFINE_TRACE_LITERAL([MISSING_HOWMANY]) | ||
244 | m4trace:configure.ac:348: -1- AC_DEFINE_TRACE_LITERAL([MISSING_FD_MASK]) | ||
245 | m4trace:configure.ac:396: -1- AC_CHECK_HEADERS([bstring.h crypt.h endian.h floatingpoint.h \ | ||
246 | getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \ | ||
247 | login_cap.h maillock.h netdb.h netgroup.h \ | ||
248 | netinet/in_systm.h paths.h pty.h readpassphrase.h \ | ||
249 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | ||
250 | strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ | ||
251 | sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ | ||
252 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ | ||
253 | sys/un.h time.h tmpdir.h ttyent.h usersec.h \ | ||
254 | util.h utime.h utmp.h utmpx.h]) | ||
255 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_BSTRING_H], [/* Define to 1 if you have the <bstring.h> header file. */ | ||
256 | #undef HAVE_BSTRING_H]) | ||
257 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */ | ||
258 | #undef HAVE_CRYPT_H]) | ||
259 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_ENDIAN_H], [/* Define to 1 if you have the <endian.h> header file. */ | ||
260 | #undef HAVE_ENDIAN_H]) | ||
261 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_FLOATINGPOINT_H], [/* Define to 1 if you have the <floatingpoint.h> header file. */ | ||
262 | #undef HAVE_FLOATINGPOINT_H]) | ||
263 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */ | ||
264 | #undef HAVE_GETOPT_H]) | ||
265 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_GLOB_H], [/* Define to 1 if you have the <glob.h> header file. */ | ||
266 | #undef HAVE_GLOB_H]) | ||
267 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_IA_H], [/* Define to 1 if you have the <ia.h> header file. */ | ||
268 | #undef HAVE_IA_H]) | ||
269 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LASTLOG_H], [/* Define to 1 if you have the <lastlog.h> header file. */ | ||
270 | #undef HAVE_LASTLOG_H]) | ||
271 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */ | ||
272 | #undef HAVE_LIBGEN_H]) | ||
273 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */ | ||
274 | #undef HAVE_LIMITS_H]) | ||
275 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LOGIN_H], [/* Define to 1 if you have the <login.h> header file. */ | ||
276 | #undef HAVE_LOGIN_H]) | ||
277 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_LOGIN_CAP_H], [/* Define to 1 if you have the <login_cap.h> header file. */ | ||
278 | #undef HAVE_LOGIN_CAP_H]) | ||
279 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */ | ||
280 | #undef HAVE_MAILLOCK_H]) | ||
281 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */ | ||
282 | #undef HAVE_NETDB_H]) | ||
283 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_NETGROUP_H], [/* Define to 1 if you have the <netgroup.h> header file. */ | ||
284 | #undef HAVE_NETGROUP_H]) | ||
285 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */ | ||
286 | #undef HAVE_NETINET_IN_SYSTM_H]) | ||
287 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */ | ||
288 | #undef HAVE_PATHS_H]) | ||
289 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */ | ||
290 | #undef HAVE_PTY_H]) | ||
291 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_READPASSPHRASE_H], [/* Define to 1 if you have the <readpassphrase.h> header file. */ | ||
292 | #undef HAVE_READPASSPHRASE_H]) | ||
293 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_RPC_TYPES_H], [/* Define to 1 if you have the <rpc/types.h> header file. */ | ||
294 | #undef HAVE_RPC_TYPES_H]) | ||
295 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SECURITY_PAM_APPL_H], [/* Define to 1 if you have the <security/pam_appl.h> header file. */ | ||
296 | #undef HAVE_SECURITY_PAM_APPL_H]) | ||
297 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */ | ||
298 | #undef HAVE_SHADOW_H]) | ||
299 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */ | ||
300 | #undef HAVE_STDDEF_H]) | ||
301 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ | ||
302 | #undef HAVE_STDINT_H]) | ||
303 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ | ||
304 | #undef HAVE_STRINGS_H]) | ||
305 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */ | ||
306 | #undef HAVE_SYS_BITYPES_H]) | ||
307 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_BSDTTY_H], [/* Define to 1 if you have the <sys/bsdtty.h> header file. */ | ||
308 | #undef HAVE_SYS_BSDTTY_H]) | ||
309 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_CDEFS_H], [/* Define to 1 if you have the <sys/cdefs.h> header file. */ | ||
310 | #undef HAVE_SYS_CDEFS_H]) | ||
311 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */ | ||
312 | #undef HAVE_SYS_MMAN_H]) | ||
313 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_PSTAT_H], [/* Define to 1 if you have the <sys/pstat.h> header file. */ | ||
314 | #undef HAVE_SYS_PSTAT_H]) | ||
315 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */ | ||
316 | #undef HAVE_SYS_SELECT_H]) | ||
317 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
318 | #undef HAVE_SYS_STAT_H]) | ||
319 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */ | ||
320 | #undef HAVE_SYS_STROPTS_H]) | ||
321 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_SYSMACROS_H], [/* Define to 1 if you have the <sys/sysmacros.h> header file. */ | ||
322 | #undef HAVE_SYS_SYSMACROS_H]) | ||
323 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */ | ||
324 | #undef HAVE_SYS_TIME_H]) | ||
325 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_TIMERS_H], [/* Define to 1 if you have the <sys/timers.h> header file. */ | ||
326 | #undef HAVE_SYS_TIMERS_H]) | ||
327 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */ | ||
328 | #undef HAVE_SYS_UN_H]) | ||
329 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */ | ||
330 | #undef HAVE_TIME_H]) | ||
331 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */ | ||
332 | #undef HAVE_TMPDIR_H]) | ||
333 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_TTYENT_H], [/* Define to 1 if you have the <ttyent.h> header file. */ | ||
334 | #undef HAVE_TTYENT_H]) | ||
335 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */ | ||
336 | #undef HAVE_USERSEC_H]) | ||
337 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */ | ||
338 | #undef HAVE_UTIL_H]) | ||
339 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the <utime.h> header file. */ | ||
340 | #undef HAVE_UTIME_H]) | ||
341 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */ | ||
342 | #undef HAVE_UTMP_H]) | ||
343 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */ | ||
344 | #undef HAVE_UTMPX_H]) | ||
345 | m4trace:configure.ac:396: -1- AC_HEADER_STDC | ||
346 | m4trace:configure.ac:396: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) | ||
347 | m4trace:configure.ac:396: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ | ||
348 | #undef STDC_HEADERS]) | ||
349 | m4trace:configure.ac:396: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
350 | inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default]) | ||
351 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ | ||
352 | #undef HAVE_SYS_TYPES_H]) | ||
353 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
354 | #undef HAVE_SYS_STAT_H]) | ||
355 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ | ||
356 | #undef HAVE_STDLIB_H]) | ||
357 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ | ||
358 | #undef HAVE_STRING_H]) | ||
359 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */ | ||
360 | #undef HAVE_MEMORY_H]) | ||
361 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ | ||
362 | #undef HAVE_STRINGS_H]) | ||
363 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */ | ||
364 | #undef HAVE_INTTYPES_H]) | ||
365 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ | ||
366 | #undef HAVE_STDINT_H]) | ||
367 | m4trace:configure.ac:396: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ | ||
368 | #undef HAVE_UNISTD_H]) | ||
369 | m4trace:configure.ac:399: -2- AC_CHECK_LIB([nsl], [yp_match]) | ||
370 | m4trace:configure.ac:399: -2- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the \`nsl' library (-lnsl). */ | ||
371 | #undef HAVE_LIBNSL]) | ||
372 | m4trace:configure.ac:399: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL]) | ||
373 | m4trace:configure.ac:400: -2- AC_CHECK_LIB([socket], [setsockopt]) | ||
374 | m4trace:configure.ac:400: -2- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the \`socket' library (-lsocket). */ | ||
375 | #undef HAVE_LIBSOCKET]) | ||
376 | m4trace:configure.ac:400: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET]) | ||
377 | m4trace:configure.ac:405: -1- AC_CHECK_LIB([rpc], [innetgr], [LIBS="-lrpc -lyp -lrpc $LIBS" ], [], [-lyp -lrpc]) | ||
378 | m4trace:configure.ac:410: -2- AC_CHECK_LIB([gen], [getspnam], [LIBS="$LIBS -lgen"]) | ||
379 | m4trace:configure.ac:452: -1- AC_CHECK_LIB([z], [deflate], [], [{ { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 | ||
380 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} | ||
381 | { (exit 1); exit 1; }; }]) | ||
382 | m4trace:configure.ac:452: -1- AH_OUTPUT([HAVE_LIBZ], [/* Define to 1 if you have the \`z' library (-lz). */ | ||
383 | #undef HAVE_LIBZ]) | ||
384 | m4trace:configure.ac:452: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ]) | ||
385 | m4trace:configure.ac:457: -1- AC_CHECK_LIB([resolv], [strcasecmp], [LIBS="$LIBS -lresolv"]) | ||
386 | m4trace:configure.ac:461: -1- AC_CHECK_LIB([c89], [utimes], [AC_DEFINE(HAVE_UTIMES) | ||
387 | LIBS="$LIBS -lc89"]) | ||
388 | m4trace:configure.ac:461: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTIMES]) | ||
389 | m4trace:configure.ac:464: -1- AC_CHECK_HEADERS([libutil.h]) | ||
390 | m4trace:configure.ac:464: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */ | ||
391 | #undef HAVE_LIBUTIL_H]) | ||
392 | m4trace:configure.ac:465: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOGIN]) | ||
393 | m4trace:configure.ac:466: -1- AC_CHECK_FUNCS([logout updwtmp logwtmp]) | ||
394 | m4trace:configure.ac:466: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the \`logout' function. */ | ||
395 | #undef HAVE_LOGOUT]) | ||
396 | m4trace:configure.ac:466: -1- AH_OUTPUT([HAVE_UPDWTMP], [/* Define to 1 if you have the \`updwtmp' function. */ | ||
397 | #undef HAVE_UPDWTMP]) | ||
398 | m4trace:configure.ac:466: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the \`logwtmp' function. */ | ||
399 | #undef HAVE_LOGWTMP]) | ||
400 | m4trace:configure.ac:468: -1- AC_FUNC_STRFTIME | ||
401 | m4trace:configure.ac:468: -1- AC_CHECK_FUNCS([strftime], [], [# strftime is in -lintl on SCO UNIX. | ||
402 | AC_CHECK_LIB(intl, strftime, | ||
403 | [AC_DEFINE(HAVE_STRFTIME) | ||
404 | LIBS="-lintl $LIBS"])]) | ||
405 | m4trace:configure.ac:468: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define to 1 if you have the \`strftime' function. */ | ||
406 | #undef HAVE_STRFTIME]) | ||
407 | m4trace:configure.ac:468: -1- AC_CHECK_LIB([intl], [strftime], [AC_DEFINE(HAVE_STRFTIME) | ||
408 | LIBS="-lintl $LIBS"]) | ||
409 | m4trace:configure.ac:468: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME]) | ||
410 | m4trace:configure.ac:486: -1- AC_DEFINE_TRACE_LITERAL([GLOB_HAS_ALTDIRFUNC]) | ||
411 | m4trace:configure.ac:502: -1- AC_DEFINE_TRACE_LITERAL([GLOB_HAS_GL_MATCHC]) | ||
412 | m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_ONE_BYTE_DIRENT_D_NAME]) | ||
413 | m4trace:configure.ac:549: -1- AC_DEFINE_TRACE_LITERAL([SKEY]) | ||
414 | m4trace:configure.ac:603: -1- AC_DEFINE_TRACE_LITERAL([LIBWRAP]) | ||
415 | m4trace:configure.ac:603: -1- AC_SUBST([LIBWRAP]) | ||
416 | m4trace:configure.ac:618: -1- AC_CHECK_FUNCS([\ | ||
417 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \ | ||
418 | bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ | ||
419 | gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \ | ||
420 | getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \ | ||
421 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | ||
422 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \ | ||
423 | readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \ | ||
424 | setegid setenv seteuid setgroups setlogin setpcred setproctitle \ | ||
425 | setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \ | ||
426 | snprintf socketpair strerror strlcat strlcpy strmode strnvis \ | ||
427 | sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \ | ||
428 | ]) | ||
429 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_ARC4RANDOM], [/* Define to 1 if you have the \`arc4random' function. */ | ||
430 | #undef HAVE_ARC4RANDOM]) | ||
431 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE___B64_NTOP], [/* Define to 1 if you have the \`__b64_ntop' function. */ | ||
432 | #undef HAVE___B64_NTOP]) | ||
433 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_B64_NTOP], [/* Define to 1 if you have the \`b64_ntop' function. */ | ||
434 | #undef HAVE_B64_NTOP]) | ||
435 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE___B64_PTON], [/* Define to 1 if you have the \`__b64_pton' function. */ | ||
436 | #undef HAVE___B64_PTON]) | ||
437 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_B64_PTON], [/* Define to 1 if you have the \`b64_pton' function. */ | ||
438 | #undef HAVE_B64_PTON]) | ||
439 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the \`basename' function. */ | ||
440 | #undef HAVE_BASENAME]) | ||
441 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_BCOPY], [/* Define to 1 if you have the \`bcopy' function. */ | ||
442 | #undef HAVE_BCOPY]) | ||
443 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_BINDRESVPORT_SA], [/* Define to 1 if you have the \`bindresvport_sa' function. */ | ||
444 | #undef HAVE_BINDRESVPORT_SA]) | ||
445 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_CLOCK], [/* Define to 1 if you have the \`clock' function. */ | ||
446 | #undef HAVE_CLOCK]) | ||
447 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the \`fchmod' function. */ | ||
448 | #undef HAVE_FCHMOD]) | ||
449 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define to 1 if you have the \`fchown' function. */ | ||
450 | #undef HAVE_FCHOWN]) | ||
451 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the \`freeaddrinfo' function. */ | ||
452 | #undef HAVE_FREEADDRINFO]) | ||
453 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_FUTIMES], [/* Define to 1 if you have the \`futimes' function. */ | ||
454 | #undef HAVE_FUTIMES]) | ||
455 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the \`gai_strerror' function. */ | ||
456 | #undef HAVE_GAI_STRERROR]) | ||
457 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the \`getaddrinfo' function. */ | ||
458 | #undef HAVE_GETADDRINFO]) | ||
459 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the \`getcwd' function. */ | ||
460 | #undef HAVE_GETCWD]) | ||
461 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETGROUPLIST], [/* Define to 1 if you have the \`getgrouplist' function. */ | ||
462 | #undef HAVE_GETGROUPLIST]) | ||
463 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the \`getnameinfo' function. */ | ||
464 | #undef HAVE_GETNAMEINFO]) | ||
465 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define to 1 if you have the \`getopt' function. */ | ||
466 | #undef HAVE_GETOPT]) | ||
467 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETPEEREID], [/* Define to 1 if you have the \`getpeereid' function. */ | ||
468 | #undef HAVE_GETPEEREID]) | ||
469 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the \`_getpty' function. */ | ||
470 | #undef HAVE__GETPTY]) | ||
471 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the \`getrlimit' function. */ | ||
472 | #undef HAVE_GETRLIMIT]) | ||
473 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETRUSAGE], [/* Define to 1 if you have the \`getrusage' function. */ | ||
474 | #undef HAVE_GETRUSAGE]) | ||
475 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GETTTYENT], [/* Define to 1 if you have the \`getttyent' function. */ | ||
476 | #undef HAVE_GETTTYENT]) | ||
477 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_GLOB], [/* Define to 1 if you have the \`glob' function. */ | ||
478 | #undef HAVE_GLOB]) | ||
479 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_INET_ATON], [/* Define to 1 if you have the \`inet_aton' function. */ | ||
480 | #undef HAVE_INET_ATON]) | ||
481 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_INET_NTOA], [/* Define to 1 if you have the \`inet_ntoa' function. */ | ||
482 | #undef HAVE_INET_NTOA]) | ||
483 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the \`inet_ntop' function. */ | ||
484 | #undef HAVE_INET_NTOP]) | ||
485 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define to 1 if you have the \`innetgr' function. */ | ||
486 | #undef HAVE_INNETGR]) | ||
487 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_LOGIN_GETCAPBOOL], [/* Define to 1 if you have the \`login_getcapbool' function. */ | ||
488 | #undef HAVE_LOGIN_GETCAPBOOL]) | ||
489 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_MD5_CRYPT], [/* Define to 1 if you have the \`md5_crypt' function. */ | ||
490 | #undef HAVE_MD5_CRYPT]) | ||
491 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the \`memmove' function. */ | ||
492 | #undef HAVE_MEMMOVE]) | ||
493 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_MKDTEMP], [/* Define to 1 if you have the \`mkdtemp' function. */ | ||
494 | #undef HAVE_MKDTEMP]) | ||
495 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have the \`mmap' function. */ | ||
496 | #undef HAVE_MMAP]) | ||
497 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_NGETADDRINFO], [/* Define to 1 if you have the \`ngetaddrinfo' function. */ | ||
498 | #undef HAVE_NGETADDRINFO]) | ||
499 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_NSLEEP], [/* Define to 1 if you have the \`nsleep' function. */ | ||
500 | #undef HAVE_NSLEEP]) | ||
501 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_OGETADDRINFO], [/* Define to 1 if you have the \`ogetaddrinfo' function. */ | ||
502 | #undef HAVE_OGETADDRINFO]) | ||
503 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the \`openpty' function. */ | ||
504 | #undef HAVE_OPENPTY]) | ||
505 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_PSTAT], [/* Define to 1 if you have the \`pstat' function. */ | ||
506 | #undef HAVE_PSTAT]) | ||
507 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_READPASSPHRASE], [/* Define to 1 if you have the \`readpassphrase' function. */ | ||
508 | #undef HAVE_READPASSPHRASE]) | ||
509 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the \`realpath' function. */ | ||
510 | #undef HAVE_REALPATH]) | ||
511 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define to 1 if you have the \`recvmsg' function. */ | ||
512 | #undef HAVE_RECVMSG]) | ||
513 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_RRESVPORT_AF], [/* Define to 1 if you have the \`rresvport_af' function. */ | ||
514 | #undef HAVE_RRESVPORT_AF]) | ||
515 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the \`sendmsg' function. */ | ||
516 | #undef HAVE_SENDMSG]) | ||
517 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETDTABLESIZE], [/* Define to 1 if you have the \`setdtablesize' function. */ | ||
518 | #undef HAVE_SETDTABLESIZE]) | ||
519 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define to 1 if you have the \`setegid' function. */ | ||
520 | #undef HAVE_SETEGID]) | ||
521 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the \`setenv' function. */ | ||
522 | #undef HAVE_SETENV]) | ||
523 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define to 1 if you have the \`seteuid' function. */ | ||
524 | #undef HAVE_SETEUID]) | ||
525 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETGROUPS], [/* Define to 1 if you have the \`setgroups' function. */ | ||
526 | #undef HAVE_SETGROUPS]) | ||
527 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the \`setlogin' function. */ | ||
528 | #undef HAVE_SETLOGIN]) | ||
529 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the \`setpcred' function. */ | ||
530 | #undef HAVE_SETPCRED]) | ||
531 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the \`setproctitle' function. */ | ||
532 | #undef HAVE_SETPROCTITLE]) | ||
533 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the \`setresgid' function. */ | ||
534 | #undef HAVE_SETRESGID]) | ||
535 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the \`setreuid' function. */ | ||
536 | #undef HAVE_SETREUID]) | ||
537 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the \`setrlimit' function. */ | ||
538 | #undef HAVE_SETRLIMIT]) | ||
539 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the \`setsid' function. */ | ||
540 | #undef HAVE_SETSID]) | ||
541 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SETVBUF], [/* Define to 1 if you have the \`setvbuf' function. */ | ||
542 | #undef HAVE_SETVBUF]) | ||
543 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the \`sigaction' function. */ | ||
544 | #undef HAVE_SIGACTION]) | ||
545 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SIGVEC], [/* Define to 1 if you have the \`sigvec' function. */ | ||
546 | #undef HAVE_SIGVEC]) | ||
547 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the \`snprintf' function. */ | ||
548 | #undef HAVE_SNPRINTF]) | ||
549 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SOCKETPAIR], [/* Define to 1 if you have the \`socketpair' function. */ | ||
550 | #undef HAVE_SOCKETPAIR]) | ||
551 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the \`strerror' function. */ | ||
552 | #undef HAVE_STRERROR]) | ||
553 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define to 1 if you have the \`strlcat' function. */ | ||
554 | #undef HAVE_STRLCAT]) | ||
555 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define to 1 if you have the \`strlcpy' function. */ | ||
556 | #undef HAVE_STRLCPY]) | ||
557 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRMODE], [/* Define to 1 if you have the \`strmode' function. */ | ||
558 | #undef HAVE_STRMODE]) | ||
559 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_STRNVIS], [/* Define to 1 if you have the \`strnvis' function. */ | ||
560 | #undef HAVE_STRNVIS]) | ||
561 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the \`sysconf' function. */ | ||
562 | #undef HAVE_SYSCONF]) | ||
563 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_TCGETPGRP], [/* Define to 1 if you have the \`tcgetpgrp' function. */ | ||
564 | #undef HAVE_TCGETPGRP]) | ||
565 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_TRUNCATE], [/* Define to 1 if you have the \`truncate' function. */ | ||
566 | #undef HAVE_TRUNCATE]) | ||
567 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_UTIMES], [/* Define to 1 if you have the \`utimes' function. */ | ||
568 | #undef HAVE_UTIMES]) | ||
569 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the \`vhangup' function. */ | ||
570 | #undef HAVE_VHANGUP]) | ||
571 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* Define to 1 if you have the \`vsnprintf' function. */ | ||
572 | #undef HAVE_VSNPRINTF]) | ||
573 | m4trace:configure.ac:618: -1- AH_OUTPUT([HAVE_WAITPID], [/* Define to 1 if you have the \`waitpid' function. */ | ||
574 | #undef HAVE_WAITPID]) | ||
575 | m4trace:configure.ac:620: -2- AC_DEFINE_TRACE_LITERAL([HAVE_NANOSLEEP]) | ||
576 | m4trace:configure.ac:623: -1- AC_CHECK_FUNCS([strsep]) | ||
577 | m4trace:configure.ac:623: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define to 1 if you have the \`strsep' function. */ | ||
578 | #undef HAVE_STRSEP]) | ||
579 | m4trace:configure.ac:660: -1- AC_CHECK_FUNCS([dirname], [AC_CHECK_HEADERS(libgen.h) ], [ | ||
580 | AC_CHECK_LIB(gen, dirname,[ | ||
581 | AC_CACHE_CHECK([for broken dirname], | ||
582 | ac_cv_have_broken_dirname, [ | ||
583 | save_LIBS="$LIBS" | ||
584 | LIBS="$LIBS -lgen" | ||
585 | AC_TRY_RUN( | ||
586 | [ | ||
587 | #include <libgen.h> | ||
588 | #include <string.h> | ||
589 | |||
590 | int main(int argc, char **argv) { | ||
591 | char *s, buf[32]; | ||
592 | |||
593 | strncpy(buf,"/etc", 32); | ||
594 | s = dirname(buf); | ||
595 | if (!s || strncmp(s, "/", 32) != 0) { | ||
596 | exit(1); | ||
597 | } else { | ||
598 | exit(0); | ||
599 | } | ||
600 | } | ||
601 | ], | ||
602 | [ ac_cv_have_broken_dirname="no" ], | ||
603 | [ ac_cv_have_broken_dirname="yes" ] | ||
604 | ) | ||
605 | LIBS="$save_LIBS" | ||
606 | ]) | ||
607 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | ||
608 | LIBS="$LIBS -lgen" | ||
609 | AC_DEFINE(HAVE_DIRNAME) | ||
610 | AC_CHECK_HEADERS(libgen.h) | ||
611 | fi | ||
612 | ]) | ||
613 | ]) | ||
614 | m4trace:configure.ac:660: -1- AH_OUTPUT([HAVE_DIRNAME], [/* Define to 1 if you have the \`dirname' function. */ | ||
615 | #undef HAVE_DIRNAME]) | ||
616 | m4trace:configure.ac:660: -1- AC_CHECK_HEADERS([libgen.h]) | ||
617 | m4trace:configure.ac:660: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */ | ||
618 | #undef HAVE_LIBGEN_H]) | ||
619 | m4trace:configure.ac:660: -1- AC_CHECK_LIB([gen], [dirname], [ | ||
620 | AC_CACHE_CHECK([for broken dirname], | ||
621 | ac_cv_have_broken_dirname, [ | ||
622 | save_LIBS="$LIBS" | ||
623 | LIBS="$LIBS -lgen" | ||
624 | AC_TRY_RUN( | ||
625 | [ | ||
626 | #include <libgen.h> | ||
627 | #include <string.h> | ||
628 | |||
629 | int main(int argc, char **argv) { | ||
630 | char *s, buf[32]; | ||
631 | |||
632 | strncpy(buf,"/etc", 32); | ||
633 | s = dirname(buf); | ||
634 | if (!s || strncmp(s, "/", 32) != 0) { | ||
635 | exit(1); | ||
636 | } else { | ||
637 | exit(0); | ||
638 | } | ||
639 | } | ||
640 | ], | ||
641 | [ ac_cv_have_broken_dirname="no" ], | ||
642 | [ ac_cv_have_broken_dirname="yes" ] | ||
643 | ) | ||
644 | LIBS="$save_LIBS" | ||
645 | ]) | ||
646 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | ||
647 | LIBS="$LIBS -lgen" | ||
648 | AC_DEFINE(HAVE_DIRNAME) | ||
649 | AC_CHECK_HEADERS(libgen.h) | ||
650 | fi | ||
651 | ]) | ||
652 | m4trace:configure.ac:660: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRNAME]) | ||
653 | m4trace:configure.ac:660: -1- AC_CHECK_HEADERS([libgen.h]) | ||
654 | m4trace:configure.ac:660: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */ | ||
655 | #undef HAVE_LIBGEN_H]) | ||
656 | m4trace:configure.ac:663: -1- AC_CHECK_FUNCS([gettimeofday time]) | ||
657 | m4trace:configure.ac:663: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the \`gettimeofday' function. */ | ||
658 | #undef HAVE_GETTIMEOFDAY]) | ||
659 | m4trace:configure.ac:663: -1- AH_OUTPUT([HAVE_TIME], [/* Define to 1 if you have the \`time' function. */ | ||
660 | #undef HAVE_TIME]) | ||
661 | m4trace:configure.ac:665: -1- AC_CHECK_FUNCS([endutent getutent getutid getutline pututline setutent]) | ||
662 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_ENDUTENT], [/* Define to 1 if you have the \`endutent' function. */ | ||
663 | #undef HAVE_ENDUTENT]) | ||
664 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_GETUTENT], [/* Define to 1 if you have the \`getutent' function. */ | ||
665 | #undef HAVE_GETUTENT]) | ||
666 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_GETUTID], [/* Define to 1 if you have the \`getutid' function. */ | ||
667 | #undef HAVE_GETUTID]) | ||
668 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_GETUTLINE], [/* Define to 1 if you have the \`getutline' function. */ | ||
669 | #undef HAVE_GETUTLINE]) | ||
670 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_PUTUTLINE], [/* Define to 1 if you have the \`pututline' function. */ | ||
671 | #undef HAVE_PUTUTLINE]) | ||
672 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the \`setutent' function. */ | ||
673 | #undef HAVE_SETUTENT]) | ||
674 | m4trace:configure.ac:666: -1- AC_CHECK_FUNCS([utmpname]) | ||
675 | m4trace:configure.ac:666: -1- AH_OUTPUT([HAVE_UTMPNAME], [/* Define to 1 if you have the \`utmpname' function. */ | ||
676 | #undef HAVE_UTMPNAME]) | ||
677 | m4trace:configure.ac:668: -1- AC_CHECK_FUNCS([endutxent getutxent getutxid getutxline pututxline ]) | ||
678 | m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_ENDUTXENT], [/* Define to 1 if you have the \`endutxent' function. */ | ||
679 | #undef HAVE_ENDUTXENT]) | ||
680 | m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_GETUTXENT], [/* Define to 1 if you have the \`getutxent' function. */ | ||
681 | #undef HAVE_GETUTXENT]) | ||
682 | m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_GETUTXID], [/* Define to 1 if you have the \`getutxid' function. */ | ||
683 | #undef HAVE_GETUTXID]) | ||
684 | m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_GETUTXLINE], [/* Define to 1 if you have the \`getutxline' function. */ | ||
685 | #undef HAVE_GETUTXLINE]) | ||
686 | m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_PUTUTXLINE], [/* Define to 1 if you have the \`pututxline' function. */ | ||
687 | #undef HAVE_PUTUTXLINE]) | ||
688 | m4trace:configure.ac:669: -1- AC_CHECK_FUNCS([setutxent utmpxname]) | ||
689 | m4trace:configure.ac:669: -1- AH_OUTPUT([HAVE_SETUTXENT], [/* Define to 1 if you have the \`setutxent' function. */ | ||
690 | #undef HAVE_SETUTXENT]) | ||
691 | m4trace:configure.ac:669: -1- AH_OUTPUT([HAVE_UTMPXNAME], [/* Define to 1 if you have the \`utmpxname' function. */ | ||
692 | #undef HAVE_UTMPXNAME]) | ||
693 | m4trace:configure.ac:674: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON]) | ||
694 | m4trace:configure.ac:674: -1- AC_CHECK_LIB([bsd], [daemon], [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_DAEMON)]) | ||
695 | m4trace:configure.ac:674: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON]) | ||
696 | m4trace:configure.ac:679: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE]) | ||
697 | m4trace:configure.ac:679: -1- AC_CHECK_LIB([ucb], [getpagesize], [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)]) | ||
698 | m4trace:configure.ac:679: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE]) | ||
699 | m4trace:configure.ac:695: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SNPRINTF]) | ||
700 | m4trace:configure.ac:721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICT_MKSTEMP]) | ||
701 | m4trace:configure.ac:721: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICT_MKSTEMP]) | ||
702 | m4trace:configure.ac:724: -1- AC_FUNC_GETPGRP | ||
703 | m4trace:configure.ac:724: -1- AC_DEFINE_TRACE_LITERAL([GETPGRP_VOID]) | ||
704 | m4trace:configure.ac:724: -1- AH_OUTPUT([GETPGRP_VOID], [/* Define to 1 if the \`getpgrp' function requires zero arguments. */ | ||
705 | #undef GETPGRP_VOID]) | ||
706 | m4trace:configure.ac:752: -1- AC_CHECK_LIB([dl], [dlopen], [], []) | ||
707 | m4trace:configure.ac:752: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the \`dl' library (-ldl). */ | ||
708 | #undef HAVE_LIBDL]) | ||
709 | m4trace:configure.ac:752: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL]) | ||
710 | m4trace:configure.ac:752: -1- AC_CHECK_LIB([pam], [pam_set_item], [], [{ { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | ||
711 | echo "$as_me: error: *** libpam missing" >&2;} | ||
712 | { (exit 1); exit 1; }; }]) | ||
713 | m4trace:configure.ac:752: -1- AH_OUTPUT([HAVE_LIBPAM], [/* Define to 1 if you have the \`pam' library (-lpam). */ | ||
714 | #undef HAVE_LIBPAM]) | ||
715 | m4trace:configure.ac:752: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPAM]) | ||
716 | m4trace:configure.ac:752: -1- AC_CHECK_FUNCS([pam_getenvlist]) | ||
717 | m4trace:configure.ac:752: -1- AH_OUTPUT([HAVE_PAM_GETENVLIST], [/* Define to 1 if you have the \`pam_getenvlist' function. */ | ||
718 | #undef HAVE_PAM_GETENVLIST]) | ||
719 | m4trace:configure.ac:752: -1- AC_DEFINE_TRACE_LITERAL([USE_PAM]) | ||
720 | m4trace:configure.ac:752: -1- AC_SUBST([LIBPAM]) | ||
721 | m4trace:configure.ac:770: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_PAM]) | ||
722 | m4trace:configure.ac:776: -1- AC_CHECK_LIB([crypt], [crypt]) | ||
723 | m4trace:configure.ac:776: -1- AH_OUTPUT([HAVE_LIBCRYPT], [/* Define to 1 if you have the \`crypt' library (-lcrypt). */ | ||
724 | #undef HAVE_LIBCRYPT]) | ||
725 | m4trace:configure.ac:776: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCRYPT]) | ||
726 | m4trace:configure.ac:808: -2- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL]) | ||
727 | m4trace:configure.ac:823: -2- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL]) | ||
728 | m4trace:configure.ac:910: -1- AC_CHECK_LIB([crypt], [crypt], [LIBS="$LIBS -lcrypt"]) | ||
729 | m4trace:configure.ac:958: -1- AC_DEFINE_TRACE_LITERAL([OPENSSL_PRNG_ONLY]) | ||
730 | m4trace:configure.ac:966: -1- AC_SUBST([INSTALL_SSH_RAND_HELPER]) | ||
731 | m4trace:configure.ac:989: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_PORT]) | ||
732 | m4trace:configure.ac:1039: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_SOCKET]) | ||
733 | m4trace:configure.ac:1039: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_SOCKET]) | ||
734 | m4trace:configure.ac:1051: -1- AC_DEFINE_TRACE_LITERAL([ENTROPY_TIMEOUT_MSEC]) | ||
735 | m4trace:configure.ac:1062: -1- AC_DEFINE_TRACE_LITERAL([SSH_PRIVSEP_USER]) | ||
736 | m4trace:configure.ac:1063: -1- AC_SUBST([SSH_PRIVSEP_USER]) | ||
737 | m4trace:configure.ac:1080: -1- AC_SUBST([PROG_LS], [$ac_cv_path_PROG_LS]) | ||
738 | m4trace:configure.ac:1080: -1- AC_SUBST([PROG_LS]) | ||
739 | m4trace:configure.ac:1081: -1- AC_SUBST([PROG_NETSTAT], [$ac_cv_path_PROG_NETSTAT]) | ||
740 | m4trace:configure.ac:1081: -1- AC_SUBST([PROG_NETSTAT]) | ||
741 | m4trace:configure.ac:1082: -1- AC_SUBST([PROG_ARP], [$ac_cv_path_PROG_ARP]) | ||
742 | m4trace:configure.ac:1082: -1- AC_SUBST([PROG_ARP]) | ||
743 | m4trace:configure.ac:1083: -1- AC_SUBST([PROG_IFCONFIG], [$ac_cv_path_PROG_IFCONFIG]) | ||
744 | m4trace:configure.ac:1083: -1- AC_SUBST([PROG_IFCONFIG]) | ||
745 | m4trace:configure.ac:1084: -1- AC_SUBST([PROG_JSTAT], [$ac_cv_path_PROG_JSTAT]) | ||
746 | m4trace:configure.ac:1084: -1- AC_SUBST([PROG_JSTAT]) | ||
747 | m4trace:configure.ac:1085: -1- AC_SUBST([PROG_PS], [$ac_cv_path_PROG_PS]) | ||
748 | m4trace:configure.ac:1085: -1- AC_SUBST([PROG_PS]) | ||
749 | m4trace:configure.ac:1086: -1- AC_SUBST([PROG_SAR], [$ac_cv_path_PROG_SAR]) | ||
750 | m4trace:configure.ac:1086: -1- AC_SUBST([PROG_SAR]) | ||
751 | m4trace:configure.ac:1087: -1- AC_SUBST([PROG_W], [$ac_cv_path_PROG_W]) | ||
752 | m4trace:configure.ac:1087: -1- AC_SUBST([PROG_W]) | ||
753 | m4trace:configure.ac:1088: -1- AC_SUBST([PROG_WHO], [$ac_cv_path_PROG_WHO]) | ||
754 | m4trace:configure.ac:1088: -1- AC_SUBST([PROG_WHO]) | ||
755 | m4trace:configure.ac:1089: -1- AC_SUBST([PROG_LAST], [$ac_cv_path_PROG_LAST]) | ||
756 | m4trace:configure.ac:1089: -1- AC_SUBST([PROG_LAST]) | ||
757 | m4trace:configure.ac:1090: -1- AC_SUBST([PROG_LASTLOG], [$ac_cv_path_PROG_LASTLOG]) | ||
758 | m4trace:configure.ac:1090: -1- AC_SUBST([PROG_LASTLOG]) | ||
759 | m4trace:configure.ac:1091: -1- AC_SUBST([PROG_DF], [$ac_cv_path_PROG_DF]) | ||
760 | m4trace:configure.ac:1091: -1- AC_SUBST([PROG_DF]) | ||
761 | m4trace:configure.ac:1092: -1- AC_SUBST([PROG_VMSTAT], [$ac_cv_path_PROG_VMSTAT]) | ||
762 | m4trace:configure.ac:1092: -1- AC_SUBST([PROG_VMSTAT]) | ||
763 | m4trace:configure.ac:1093: -1- AC_SUBST([PROG_UPTIME], [$ac_cv_path_PROG_UPTIME]) | ||
764 | m4trace:configure.ac:1093: -1- AC_SUBST([PROG_UPTIME]) | ||
765 | m4trace:configure.ac:1094: -1- AC_SUBST([PROG_IPCS], [$ac_cv_path_PROG_IPCS]) | ||
766 | m4trace:configure.ac:1094: -1- AC_SUBST([PROG_IPCS]) | ||
767 | m4trace:configure.ac:1095: -1- AC_SUBST([PROG_TAIL], [$ac_cv_path_PROG_TAIL]) | ||
768 | m4trace:configure.ac:1095: -1- AC_SUBST([PROG_TAIL]) | ||
769 | m4trace:configure.ac:1112: -1- AC_SUBST([INSTALL_SSH_PRNG_CMDS]) | ||
770 | m4trace:configure.ac:1121: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CHAR]) | ||
771 | m4trace:configure.ac:1121: -1- AH_OUTPUT([SIZEOF_CHAR], [/* The size of a \`char', as computed by sizeof. */ | ||
772 | #undef SIZEOF_CHAR]) | ||
773 | m4trace:configure.ac:1122: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SHORT_INT]) | ||
774 | m4trace:configure.ac:1122: -1- AH_OUTPUT([SIZEOF_SHORT_INT], [/* The size of a \`short int', as computed by sizeof. */ | ||
775 | #undef SIZEOF_SHORT_INT]) | ||
776 | m4trace:configure.ac:1123: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT]) | ||
777 | m4trace:configure.ac:1123: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of a \`int', as computed by sizeof. */ | ||
778 | #undef SIZEOF_INT]) | ||
779 | m4trace:configure.ac:1124: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_INT]) | ||
780 | m4trace:configure.ac:1124: -1- AH_OUTPUT([SIZEOF_LONG_INT], [/* The size of a \`long int', as computed by sizeof. */ | ||
781 | #undef SIZEOF_LONG_INT]) | ||
782 | m4trace:configure.ac:1125: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG_INT]) | ||
783 | m4trace:configure.ac:1125: -1- AH_OUTPUT([SIZEOF_LONG_LONG_INT], [/* The size of a \`long long int', as computed by sizeof. */ | ||
784 | #undef SIZEOF_LONG_LONG_INT]) | ||
785 | m4trace:configure.ac:1142: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT]) | ||
786 | m4trace:configure.ac:1155: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T]) | ||
787 | m4trace:configure.ac:1171: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T]) | ||
788 | m4trace:configure.ac:1192: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT64_T]) | ||
789 | m4trace:configure.ac:1204: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T]) | ||
790 | m4trace:configure.ac:1218: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T]) | ||
791 | m4trace:configure.ac:1230: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T]) | ||
792 | m4trace:configure.ac:1244: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T]) | ||
793 | m4trace:configure.ac:1259: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINTXX_T]) | ||
794 | m4trace:configure.ac:1273: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINTXX_T]) | ||
795 | m4trace:configure.ac:1295: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T]) | ||
796 | m4trace:configure.ac:1295: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T]) | ||
797 | m4trace:configure.ac:1310: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_CHAR]) | ||
798 | m4trace:configure.ac:1313: -1- AC_DEFINE_TRACE_LITERAL([socklen_t]) | ||
799 | m4trace:configure.ac:1313: -1- AH_OUTPUT([socklen_t], [/* type to use in place of socklen_t if not defined */ | ||
800 | #undef socklen_t]) | ||
801 | m4trace:configure.ac:1315: -1- AC_CHECK_TYPES([sig_atomic_t], [], [], [#include <signal.h>]) | ||
802 | m4trace:configure.ac:1315: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIG_ATOMIC_T]) | ||
803 | m4trace:configure.ac:1315: -1- AH_OUTPUT([HAVE_SIG_ATOMIC_T], [/* Define to 1 if the system has the type \`sig_atomic_t'. */ | ||
804 | #undef HAVE_SIG_ATOMIC_T]) | ||
805 | m4trace:configure.ac:1328: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIZE_T]) | ||
806 | m4trace:configure.ac:1342: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSIZE_T]) | ||
807 | m4trace:configure.ac:1356: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_T]) | ||
808 | m4trace:configure.ac:1381: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T]) | ||
809 | m4trace:configure.ac:1395: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PID_T]) | ||
810 | m4trace:configure.ac:1409: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MODE_T]) | ||
811 | m4trace:configure.ac:1425: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE]) | ||
812 | m4trace:configure.ac:1440: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_IN6]) | ||
813 | m4trace:configure.ac:1455: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IN6_ADDR]) | ||
814 | m4trace:configure.ac:1471: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO]) | ||
815 | m4trace:configure.ac:1483: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMEVAL]) | ||
816 | m4trace:configure.ac:1487: -1- AC_CHECK_TYPES([struct timespec]) | ||
817 | m4trace:configure.ac:1487: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMESPEC]) | ||
818 | m4trace:configure.ac:1487: -1- AH_OUTPUT([HAVE_STRUCT_TIMESPEC], [/* Define to 1 if the system has the type \`struct timespec'. */ | ||
819 | #undef HAVE_STRUCT_TIMESPEC]) | ||
820 | m4trace:configure.ac:1524: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SNPRINTF]) | ||
821 | m4trace:configure.ac:1528: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HOST_IN_UTMP]) | ||
822 | m4trace:configure.ac:1529: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HOST_IN_UTMPX]) | ||
823 | m4trace:configure.ac:1530: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSLEN_IN_UTMPX]) | ||
824 | m4trace:configure.ac:1531: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PID_IN_UTMP]) | ||
825 | m4trace:configure.ac:1532: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TYPE_IN_UTMP]) | ||
826 | m4trace:configure.ac:1533: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TYPE_IN_UTMPX]) | ||
827 | m4trace:configure.ac:1534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TV_IN_UTMP]) | ||
828 | m4trace:configure.ac:1535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ID_IN_UTMP]) | ||
829 | m4trace:configure.ac:1536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ID_IN_UTMPX]) | ||
830 | m4trace:configure.ac:1537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_IN_UTMP]) | ||
831 | m4trace:configure.ac:1538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_IN_UTMPX]) | ||
832 | m4trace:configure.ac:1539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_V6_IN_UTMP]) | ||
833 | m4trace:configure.ac:1540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_V6_IN_UTMPX]) | ||
834 | m4trace:configure.ac:1541: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EXIT_IN_UTMP]) | ||
835 | m4trace:configure.ac:1542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_IN_UTMP]) | ||
836 | m4trace:configure.ac:1543: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_IN_UTMPX]) | ||
837 | m4trace:configure.ac:1544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TV_IN_UTMPX]) | ||
838 | m4trace:configure.ac:1546: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_BLKSIZE]) | ||
839 | m4trace:configure.ac:1546: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_BLKSIZE], [/* Define to 1 if \`st_blksize' is member of \`struct stat'. */ | ||
840 | #undef HAVE_STRUCT_STAT_ST_BLKSIZE]) | ||
841 | m4trace:configure.ac:1561: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SS_FAMILY_IN_SS]) | ||
842 | m4trace:configure.ac:1577: -1- AC_DEFINE_TRACE_LITERAL([HAVE___SS_FAMILY_IN_SS]) | ||
843 | m4trace:configure.ac:1592: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_CLASS_IN_PASSWD]) | ||
844 | m4trace:configure.ac:1607: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_EXPIRE_IN_PASSWD]) | ||
845 | m4trace:configure.ac:1622: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_CHANGE_IN_PASSWD]) | ||
846 | m4trace:configure.ac:1647: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACCRIGHTS_IN_MSGHDR]) | ||
847 | m4trace:configure.ac:1671: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CONTROL_IN_MSGHDR]) | ||
848 | m4trace:configure.ac:1682: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME]) | ||
849 | m4trace:configure.ac:1695: -1- AC_DEFINE_TRACE_LITERAL([HAVE___FUNCTION__]) | ||
850 | m4trace:configure.ac:1708: -1- AC_DEFINE_TRACE_LITERAL([HAVE___func__]) | ||
851 | m4trace:configure.ac:1723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_OPTRESET]) | ||
852 | m4trace:configure.ac:1734: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_ERRLIST]) | ||
853 | m4trace:configure.ac:1746: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_NERR]) | ||
854 | m4trace:configure.ac:1779: -1- AC_CHECK_HEADERS([sectok.h]) | ||
855 | m4trace:configure.ac:1779: -1- AH_OUTPUT([HAVE_SECTOK_H], [/* Define to 1 if you have the <sectok.h> header file. */ | ||
856 | #undef HAVE_SECTOK_H]) | ||
857 | m4trace:configure.ac:1779: -1- AC_CHECK_LIB([sectok], [sectok_open]) | ||
858 | m4trace:configure.ac:1779: -1- AH_OUTPUT([HAVE_LIBSECTOK], [/* Define to 1 if you have the \`sectok' library (-lsectok). */ | ||
859 | #undef HAVE_LIBSECTOK]) | ||
860 | m4trace:configure.ac:1779: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSECTOK]) | ||
861 | m4trace:configure.ac:1779: -1- AC_DEFINE_TRACE_LITERAL([SMARTCARD]) | ||
862 | m4trace:configure.ac:1779: -1- AC_DEFINE_TRACE_LITERAL([USE_SECTOK]) | ||
863 | m4trace:configure.ac:1788: -1- AC_SUBST([OPENSC_CONFIG], [$ac_cv_path_OPENSC_CONFIG]) | ||
864 | m4trace:configure.ac:1794: -1- AC_DEFINE_TRACE_LITERAL([SMARTCARD]) | ||
865 | m4trace:configure.ac:1795: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSC]) | ||
866 | m4trace:configure.ac:1837: -1- AC_DEFINE_TRACE_LITERAL([KRB5]) | ||
867 | m4trace:configure.ac:1837: -1- AC_DEFINE_TRACE_LITERAL([HEIMDAL]) | ||
868 | m4trace:configure.ac:1837: -1- AC_CHECK_LIB([resolv], [dn_expand], [], []) | ||
869 | m4trace:configure.ac:1837: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the \`resolv' library (-lresolv). */ | ||
870 | #undef HAVE_LIBRESOLV]) | ||
871 | m4trace:configure.ac:1837: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV]) | ||
872 | m4trace:configure.ac:1891: -1- AC_CHECK_HEADERS([krb.h]) | ||
873 | m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_KRB_H], [/* Define to 1 if you have the <krb.h> header file. */ | ||
874 | #undef HAVE_KRB_H]) | ||
875 | m4trace:configure.ac:1891: -1- AC_CHECK_LIB([krb], [main]) | ||
876 | m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBKRB], [/* Define to 1 if you have the \`krb' library (-lkrb). */ | ||
877 | #undef HAVE_LIBKRB]) | ||
878 | m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKRB]) | ||
879 | m4trace:configure.ac:1891: -1- AC_CHECK_LIB([krb4], [main]) | ||
880 | m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBKRB4], [/* Define to 1 if you have the \`krb4' library (-lkrb4). */ | ||
881 | #undef HAVE_LIBKRB4]) | ||
882 | m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKRB4]) | ||
883 | m4trace:configure.ac:1891: -1- AC_CHECK_LIB([des], [des_cbc_encrypt]) | ||
884 | m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBDES], [/* Define to 1 if you have the \`des' library (-ldes). */ | ||
885 | #undef HAVE_LIBDES]) | ||
886 | m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDES]) | ||
887 | m4trace:configure.ac:1891: -1- AC_CHECK_LIB([des425], [des_cbc_encrypt]) | ||
888 | m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBDES425], [/* Define to 1 if you have the \`des425' library (-ldes425). */ | ||
889 | #undef HAVE_LIBDES425]) | ||
890 | m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDES425]) | ||
891 | m4trace:configure.ac:1891: -1- AC_CHECK_LIB([resolv], [dn_expand], [], []) | ||
892 | m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the \`resolv' library (-lresolv). */ | ||
893 | #undef HAVE_LIBRESOLV]) | ||
894 | m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV]) | ||
895 | m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([KRB4]) | ||
896 | m4trace:configure.ac:1917: -1- AC_DEFINE_TRACE_LITERAL([AFS]) | ||
897 | m4trace:configure.ac:1931: -1- AC_SUBST([PRIVSEP_PATH]) | ||
898 | m4trace:configure.ac:1951: -1- AC_SUBST([xauth_path], [$ac_cv_path_xauth_path]) | ||
899 | m4trace:configure.ac:1962: -1- AC_SUBST([STRIP_OPT]) | ||
900 | m4trace:configure.ac:1966: -1- AC_SUBST([XAUTH_PATH]) | ||
901 | m4trace:configure.ac:1968: -1- AC_DEFINE_TRACE_LITERAL([XAUTH_PATH]) | ||
902 | m4trace:configure.ac:1970: -1- AC_SUBST([XAUTH_PATH]) | ||
903 | m4trace:configure.ac:1976: -1- AC_DEFINE_TRACE_LITERAL([MAIL_DIRECTORY]) | ||
904 | m4trace:configure.ac:1986: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEV_PTMX]) | ||
905 | m4trace:configure.ac:1994: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEV_PTS_AND_PTC]) | ||
906 | m4trace:configure.ac:2012: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF]) | ||
907 | m4trace:configure.ac:2021: -1- AC_SUBST([MANTYPE]) | ||
908 | m4trace:configure.ac:2027: -1- AC_SUBST([mansubdir]) | ||
909 | m4trace:configure.ac:2039: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MD5_PASSWORDS]) | ||
910 | m4trace:configure.ac:2050: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
911 | m4trace:configure.ac:2065: -1- AC_DEFINE_TRACE_LITERAL([HAS_SHADOW_EXPIRE]) | ||
912 | m4trace:configure.ac:2074: -1- AC_DEFINE_TRACE_LITERAL([IPADDR_IN_DISPLAY]) | ||
913 | m4trace:configure.ac:2085: -1- AC_DEFINE_TRACE_LITERAL([IPADDR_IN_DISPLAY]) | ||
914 | m4trace:configure.ac:2166: -1- AC_DEFINE_TRACE_LITERAL([USER_PATH]) | ||
915 | m4trace:configure.ac:2167: -1- AC_SUBST([user_path]) | ||
916 | m4trace:configure.ac:2179: -1- AC_DEFINE_TRACE_LITERAL([SUPERUSER_PATH]) | ||
917 | m4trace:configure.ac:2192: -1- AC_DEFINE_TRACE_LITERAL([IPV4_DEFAULT]) | ||
918 | m4trace:configure.ac:2215: -1- AC_DEFINE_TRACE_LITERAL([IPV4_IN_IPV6]) | ||
919 | m4trace:configure.ac:2215: -1- AC_DEFINE_TRACE_LITERAL([IPV4_IN_IPV6]) | ||
920 | m4trace:configure.ac:2227: -1- AC_DEFINE_TRACE_LITERAL([BSD_AUTH]) | ||
921 | m4trace:configure.ac:2251: -1- AC_DEFINE_TRACE_LITERAL([_PATH_SSH_PIDDIR]) | ||
922 | m4trace:configure.ac:2252: -1- AC_SUBST([piddir]) | ||
923 | m4trace:configure.ac:2258: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG]) | ||
924 | m4trace:configure.ac:2262: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
925 | m4trace:configure.ac:2266: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMPX]) | ||
926 | m4trace:configure.ac:2270: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP]) | ||
927 | m4trace:configure.ac:2274: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMPX]) | ||
928 | m4trace:configure.ac:2278: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LOGIN]) | ||
929 | m4trace:configure.ac:2282: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_PUTUTLINE]) | ||
930 | m4trace:configure.ac:2286: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_PUTUTXLINE]) | ||
931 | m4trace:configure.ac:2296: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG]) | ||
932 | m4trace:configure.ac:2358: -1- AC_DEFINE_TRACE_LITERAL([CONF_LASTLOG_FILE]) | ||
933 | m4trace:configure.ac:2383: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
934 | m4trace:configure.ac:2388: -1- AC_DEFINE_TRACE_LITERAL([CONF_UTMP_FILE]) | ||
935 | m4trace:configure.ac:2413: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP]) | ||
936 | m4trace:configure.ac:2418: -1- AC_DEFINE_TRACE_LITERAL([CONF_WTMP_FILE]) | ||
937 | m4trace:configure.ac:2443: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMPX]) | ||
938 | m4trace:configure.ac:2446: -1- AC_DEFINE_TRACE_LITERAL([CONF_UTMPX_FILE]) | ||
939 | m4trace:configure.ac:2468: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMPX]) | ||
940 | m4trace:configure.ac:2471: -1- AC_DEFINE_TRACE_LITERAL([CONF_WTMPX_FILE]) | ||
941 | m4trace:configure.ac:2489: -1- AC_CONFIG_FILES([Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds]) | ||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: buffer.c,v 1.16 2002/06/26 08:54:18 markus Exp $"); | 15 | RCSID("$OpenBSD: buffer.c,v 1.18 2003/09/16 21:02:39 markus Exp $"); |
16 | 16 | ||
17 | #include "xmalloc.h" | 17 | #include "xmalloc.h" |
18 | #include "buffer.h" | 18 | #include "buffer.h" |
@@ -23,8 +23,11 @@ RCSID("$OpenBSD: buffer.c,v 1.16 2002/06/26 08:54:18 markus Exp $"); | |||
23 | void | 23 | void |
24 | buffer_init(Buffer *buffer) | 24 | buffer_init(Buffer *buffer) |
25 | { | 25 | { |
26 | buffer->alloc = 4096; | 26 | const u_int len = 4096; |
27 | buffer->buf = xmalloc(buffer->alloc); | 27 | |
28 | buffer->alloc = 0; | ||
29 | buffer->buf = xmalloc(len); | ||
30 | buffer->alloc = len; | ||
28 | buffer->offset = 0; | 31 | buffer->offset = 0; |
29 | buffer->end = 0; | 32 | buffer->end = 0; |
30 | } | 33 | } |
@@ -34,8 +37,10 @@ buffer_init(Buffer *buffer) | |||
34 | void | 37 | void |
35 | buffer_free(Buffer *buffer) | 38 | buffer_free(Buffer *buffer) |
36 | { | 39 | { |
37 | memset(buffer->buf, 0, buffer->alloc); | 40 | if (buffer->alloc > 0) { |
38 | xfree(buffer->buf); | 41 | memset(buffer->buf, 0, buffer->alloc); |
42 | xfree(buffer->buf); | ||
43 | } | ||
39 | } | 44 | } |
40 | 45 | ||
41 | /* | 46 | /* |
@@ -69,6 +74,7 @@ buffer_append(Buffer *buffer, const void *data, u_int len) | |||
69 | void * | 74 | void * |
70 | buffer_append_space(Buffer *buffer, u_int len) | 75 | buffer_append_space(Buffer *buffer, u_int len) |
71 | { | 76 | { |
77 | u_int newlen; | ||
72 | void *p; | 78 | void *p; |
73 | 79 | ||
74 | if (len > 0x100000) | 80 | if (len > 0x100000) |
@@ -98,11 +104,12 @@ restart: | |||
98 | goto restart; | 104 | goto restart; |
99 | } | 105 | } |
100 | /* Increase the size of the buffer and retry. */ | 106 | /* Increase the size of the buffer and retry. */ |
101 | buffer->alloc += len + 32768; | 107 | newlen = buffer->alloc + len + 32768; |
102 | if (buffer->alloc > 0xa00000) | 108 | if (newlen > 0xa00000) |
103 | fatal("buffer_append_space: alloc %u not supported", | 109 | fatal("buffer_append_space: alloc %u not supported", |
104 | buffer->alloc); | 110 | newlen); |
105 | buffer->buf = xrealloc(buffer->buf, buffer->alloc); | 111 | buffer->buf = xrealloc(buffer->buf, newlen); |
112 | buffer->alloc = newlen; | ||
106 | goto restart; | 113 | goto restart; |
107 | /* NOTREACHED */ | 114 | /* NOTREACHED */ |
108 | } | 115 | } |
diff --git a/channels.c b/channels.c index 1937b0244..218744d1a 100644 --- a/channels.c +++ b/channels.c | |||
@@ -229,12 +229,13 @@ channel_new(char *ctype, int type, int rfd, int wfd, int efd, | |||
229 | if (found == -1) { | 229 | if (found == -1) { |
230 | /* There are no free slots. Take last+1 slot and expand the array. */ | 230 | /* There are no free slots. Take last+1 slot and expand the array. */ |
231 | found = channels_alloc; | 231 | found = channels_alloc; |
232 | channels_alloc += 10; | ||
233 | if (channels_alloc > 10000) | 232 | if (channels_alloc > 10000) |
234 | fatal("channel_new: internal error: channels_alloc %d " | 233 | fatal("channel_new: internal error: channels_alloc %d " |
235 | "too big.", channels_alloc); | 234 | "too big.", channels_alloc); |
235 | channels = xrealloc(channels, | ||
236 | (channels_alloc + 10) * sizeof(Channel *)); | ||
237 | channels_alloc += 10; | ||
236 | debug2("channel: expanding %d", channels_alloc); | 238 | debug2("channel: expanding %d", channels_alloc); |
237 | channels = xrealloc(channels, channels_alloc * sizeof(Channel *)); | ||
238 | for (i = found; i < channels_alloc; i++) | 239 | for (i = found; i < channels_alloc; i++) |
239 | channels[i] = NULL; | 240 | channels[i] = NULL; |
240 | } | 241 | } |
diff --git a/clientloop.c b/clientloop.c index af207c070..9549dadd4 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -317,10 +317,14 @@ client_check_window_change(void) | |||
317 | * one of the file descriptors). | 317 | * one of the file descriptors). |
318 | */ | 318 | */ |
319 | 319 | ||
320 | static void | 320 | static int |
321 | client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, | 321 | client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, |
322 | int *maxfdp, int *nallocp, int rekeying) | 322 | int *maxfdp, int *nallocp, int rekeying) |
323 | { | 323 | { |
324 | struct timeval tv, *tvp; | ||
325 | int n; | ||
326 | extern Options options; | ||
327 | |||
324 | /* Add any selections by the channel mechanism. */ | 328 | /* Add any selections by the channel mechanism. */ |
325 | channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, rekeying); | 329 | channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, rekeying); |
326 | 330 | ||
@@ -349,7 +353,7 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, | |||
349 | /* clear mask since we did not call select() */ | 353 | /* clear mask since we did not call select() */ |
350 | memset(*readsetp, 0, *nallocp); | 354 | memset(*readsetp, 0, *nallocp); |
351 | memset(*writesetp, 0, *nallocp); | 355 | memset(*writesetp, 0, *nallocp); |
352 | return; | 356 | return 0; |
353 | } else { | 357 | } else { |
354 | FD_SET(connection_in, *readsetp); | 358 | FD_SET(connection_in, *readsetp); |
355 | } | 359 | } |
@@ -368,7 +372,21 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, | |||
368 | * SSH_MSG_IGNORE packet when the timeout expires. | 372 | * SSH_MSG_IGNORE packet when the timeout expires. |
369 | */ | 373 | */ |
370 | 374 | ||
371 | if (select((*maxfdp)+1, *readsetp, *writesetp, NULL, NULL) < 0) { | 375 | /* |
376 | * We don't do the 'random' bit, but we want periodic ignored | ||
377 | * message anyway, so as to notice when the other ends TCP | ||
378 | * has given up during an outage. | ||
379 | */ | ||
380 | |||
381 | if (options.protocolkeepalives > 0) { | ||
382 | tvp = &tv; | ||
383 | tv.tv_sec = options.protocolkeepalives; | ||
384 | tv.tv_usec = 0; | ||
385 | } else | ||
386 | tvp = 0; | ||
387 | |||
388 | n = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp); | ||
389 | if (n < 0) { | ||
372 | char buf[100]; | 390 | char buf[100]; |
373 | 391 | ||
374 | /* | 392 | /* |
@@ -380,12 +398,13 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, | |||
380 | memset(*writesetp, 0, *nallocp); | 398 | memset(*writesetp, 0, *nallocp); |
381 | 399 | ||
382 | if (errno == EINTR) | 400 | if (errno == EINTR) |
383 | return; | 401 | return 0; |
384 | /* Note: we might still have data in the buffers. */ | 402 | /* Note: we might still have data in the buffers. */ |
385 | snprintf(buf, sizeof buf, "select: %s\r\n", strerror(errno)); | 403 | snprintf(buf, sizeof buf, "select: %s\r\n", strerror(errno)); |
386 | buffer_append(&stderr_buffer, buf, strlen(buf)); | 404 | buffer_append(&stderr_buffer, buf, strlen(buf)); |
387 | quit_pending = 1; | 405 | quit_pending = 1; |
388 | } | 406 | } |
407 | return n == 0; | ||
389 | } | 408 | } |
390 | 409 | ||
391 | static void | 410 | static void |
@@ -846,6 +865,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
846 | { | 865 | { |
847 | fd_set *readset = NULL, *writeset = NULL; | 866 | fd_set *readset = NULL, *writeset = NULL; |
848 | double start_time, total_time; | 867 | double start_time, total_time; |
868 | int timed_out; | ||
849 | int max_fd = 0, max_fd2 = 0, len, rekeying = 0, nalloc = 0; | 869 | int max_fd = 0, max_fd2 = 0, len, rekeying = 0, nalloc = 0; |
850 | char buf[100]; | 870 | char buf[100]; |
851 | 871 | ||
@@ -959,7 +979,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
959 | * available on one of the descriptors). | 979 | * available on one of the descriptors). |
960 | */ | 980 | */ |
961 | max_fd2 = max_fd; | 981 | max_fd2 = max_fd; |
962 | client_wait_until_can_do_something(&readset, &writeset, | 982 | timed_out = client_wait_until_can_do_something(&readset, &writeset, |
963 | &max_fd2, &nalloc, rekeying); | 983 | &max_fd2, &nalloc, rekeying); |
964 | 984 | ||
965 | if (quit_pending) | 985 | if (quit_pending) |
@@ -983,6 +1003,21 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
983 | if (quit_pending) | 1003 | if (quit_pending) |
984 | break; | 1004 | break; |
985 | 1005 | ||
1006 | if(timed_out) { | ||
1007 | /* | ||
1008 | * Nothing is happening, so synthesize some | ||
1009 | * bogus activity | ||
1010 | */ | ||
1011 | packet_start(compat20 | ||
1012 | ? SSH2_MSG_IGNORE | ||
1013 | : SSH_MSG_IGNORE); | ||
1014 | packet_put_cstring(""); | ||
1015 | packet_send(); | ||
1016 | if (FD_ISSET(connection_out, writeset)) | ||
1017 | packet_write_poll(); | ||
1018 | continue; | ||
1019 | } | ||
1020 | |||
986 | if (!compat20) { | 1021 | if (!compat20) { |
987 | /* Buffer data from stdin */ | 1022 | /* Buffer data from stdin */ |
988 | client_process_input(readset); | 1023 | client_process_input(readset); |
diff --git a/contrib/.cvsignore b/contrib/.cvsignore new file mode 100644 index 000000000..944ad9041 --- /dev/null +++ b/contrib/.cvsignore | |||
@@ -0,0 +1,2 @@ | |||
1 | gnome-ssh-askpass1 | ||
2 | gnome-ssh-askpass2 | ||
diff --git a/contrib/gnome-ssh-askpass.c b/contrib/gnome-ssh-askpass.c deleted file mode 100644 index 7cece5620..000000000 --- a/contrib/gnome-ssh-askpass.c +++ /dev/null | |||
@@ -1,168 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2000-2002 Damien Miller. All rights reserved. | ||
3 | * | ||
4 | * Redistribution and use in source and binary forms, with or without | ||
5 | * modification, are permitted provided that the following conditions | ||
6 | * are met: | ||
7 | * 1. Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * 2. Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * | ||
13 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
14 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
15 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
16 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
17 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
18 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
19 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
20 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
21 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
23 | */ | ||
24 | |||
25 | /* | ||
26 | * This is a simple GNOME SSH passphrase grabber. To use it, set the | ||
27 | * environment variable SSH_ASKPASS to point to the location of | ||
28 | * gnome-ssh-askpass before calling "ssh-add < /dev/null". | ||
29 | * | ||
30 | * There is only two run-time options: if you set the environment variable | ||
31 | * "GNOME_SSH_ASKPASS_GRAB_SERVER=true" then gnome-ssh-askpass will grab | ||
32 | * the X server. If you set "GNOME_SSH_ASKPASS_GRAB_POINTER=true", then the | ||
33 | * pointer will be grabbed too. These may have some benefit to security if | ||
34 | * you don't trust your X server. We grab the keyboard always. | ||
35 | */ | ||
36 | |||
37 | /* | ||
38 | * Compile with: | ||
39 | * | ||
40 | * cc `gnome-config --cflags gnome gnomeui` \ | ||
41 | * gnome-ssh-askpass.c -o gnome-ssh-askpass \ | ||
42 | * `gnome-config --libs gnome gnomeui` | ||
43 | * | ||
44 | */ | ||
45 | |||
46 | #include <stdlib.h> | ||
47 | #include <stdio.h> | ||
48 | #include <string.h> | ||
49 | #include <gnome.h> | ||
50 | #include <X11/Xlib.h> | ||
51 | #include <gdk/gdkx.h> | ||
52 | |||
53 | void | ||
54 | report_failed_grab (void) | ||
55 | { | ||
56 | GtkWidget *err; | ||
57 | |||
58 | err = gnome_message_box_new("Could not grab keyboard or mouse.\n" | ||
59 | "A malicious client may be eavesdropping on your session.", | ||
60 | GNOME_MESSAGE_BOX_ERROR, "EXIT", NULL); | ||
61 | gtk_window_set_position(GTK_WINDOW(err), GTK_WIN_POS_CENTER); | ||
62 | gtk_object_set(GTK_OBJECT(err), "type", GTK_WINDOW_POPUP, NULL); | ||
63 | |||
64 | gnome_dialog_run_and_close(GNOME_DIALOG(err)); | ||
65 | } | ||
66 | |||
67 | void | ||
68 | passphrase_dialog(char *message) | ||
69 | { | ||
70 | char *passphrase; | ||
71 | char **messages; | ||
72 | int result, i, grab_server, grab_pointer; | ||
73 | GtkWidget *dialog, *entry, *label; | ||
74 | |||
75 | grab_server = (getenv("GNOME_SSH_ASKPASS_GRAB_SERVER") != NULL); | ||
76 | grab_pointer = (getenv("GNOME_SSH_ASKPASS_GRAB_POINTER") != NULL); | ||
77 | |||
78 | dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK, | ||
79 | GNOME_STOCK_BUTTON_CANCEL, NULL); | ||
80 | |||
81 | messages = g_strsplit(message, "\\n", 0); | ||
82 | if (messages) | ||
83 | for(i = 0; messages[i]; i++) { | ||
84 | label = gtk_label_new(messages[i]); | ||
85 | gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), | ||
86 | label, FALSE, FALSE, 0); | ||
87 | } | ||
88 | |||
89 | entry = gtk_entry_new(); | ||
90 | gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE, | ||
91 | FALSE, 0); | ||
92 | gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); | ||
93 | gtk_widget_grab_focus(entry); | ||
94 | |||
95 | /* Center window and prepare for grab */ | ||
96 | gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL); | ||
97 | gnome_dialog_set_default(GNOME_DIALOG(dialog), 0); | ||
98 | gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); | ||
99 | gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE); | ||
100 | gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE); | ||
101 | gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)->vbox), | ||
102 | GNOME_PAD); | ||
103 | gtk_widget_show_all(dialog); | ||
104 | |||
105 | /* Grab focus */ | ||
106 | if (grab_server) | ||
107 | XGrabServer(GDK_DISPLAY()); | ||
108 | if (grab_pointer && gdk_pointer_grab(dialog->window, TRUE, 0, | ||
109 | NULL, NULL, GDK_CURRENT_TIME)) | ||
110 | goto nograb; | ||
111 | if (gdk_keyboard_grab(dialog->window, FALSE, GDK_CURRENT_TIME)) | ||
112 | goto nograbkb; | ||
113 | |||
114 | /* Make <enter> close dialog */ | ||
115 | gnome_dialog_editable_enters(GNOME_DIALOG(dialog), GTK_EDITABLE(entry)); | ||
116 | |||
117 | /* Run dialog */ | ||
118 | result = gnome_dialog_run(GNOME_DIALOG(dialog)); | ||
119 | |||
120 | /* Ungrab */ | ||
121 | if (grab_server) | ||
122 | XUngrabServer(GDK_DISPLAY()); | ||
123 | if (grab_pointer) | ||
124 | gdk_pointer_ungrab(GDK_CURRENT_TIME); | ||
125 | gdk_keyboard_ungrab(GDK_CURRENT_TIME); | ||
126 | gdk_flush(); | ||
127 | |||
128 | /* Report passphrase if user selected OK */ | ||
129 | passphrase = gtk_entry_get_text(GTK_ENTRY(entry)); | ||
130 | if (result == 0) | ||
131 | puts(passphrase); | ||
132 | |||
133 | /* Zero passphrase in memory */ | ||
134 | memset(passphrase, '\0', strlen(passphrase)); | ||
135 | gtk_entry_set_text(GTK_ENTRY(entry), passphrase); | ||
136 | |||
137 | gnome_dialog_close(GNOME_DIALOG(dialog)); | ||
138 | return; | ||
139 | |||
140 | /* At least one grab failed - ungrab what we got, and report | ||
141 | the failure to the user. Note that XGrabServer() cannot | ||
142 | fail. */ | ||
143 | nograbkb: | ||
144 | gdk_pointer_ungrab(GDK_CURRENT_TIME); | ||
145 | nograb: | ||
146 | if (grab_server) | ||
147 | XUngrabServer(GDK_DISPLAY()); | ||
148 | gnome_dialog_close(GNOME_DIALOG(dialog)); | ||
149 | |||
150 | report_failed_grab(); | ||
151 | } | ||
152 | |||
153 | int | ||
154 | main(int argc, char **argv) | ||
155 | { | ||
156 | char *message; | ||
157 | |||
158 | gnome_init("GNOME ssh-askpass", "0.1", argc, argv); | ||
159 | |||
160 | if (argc == 2) | ||
161 | message = argv[1]; | ||
162 | else | ||
163 | message = "Enter your OpenSSH passphrase:"; | ||
164 | |||
165 | setvbuf(stdout, 0, _IONBF, 0); | ||
166 | passphrase_dialog(message); | ||
167 | return 0; | ||
168 | } | ||
diff --git a/debian/.cvsignore b/debian/.cvsignore new file mode 100644 index 000000000..907978a06 --- /dev/null +++ b/debian/.cvsignore | |||
@@ -0,0 +1,6 @@ | |||
1 | files | ||
2 | ssh-askpass-gnome | ||
3 | templates | ||
4 | tmp | ||
5 | *.debhelper | ||
6 | *substvars | ||
diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 000000000..ca928f9f0 --- /dev/null +++ b/debian/README.Debian | |||
@@ -0,0 +1,226 @@ | |||
1 | OpenSSH for Debian | ||
2 | ------------------ | ||
3 | |||
4 | Although this package is widely referred to as OpenSSH, it is actually | ||
5 | a branch of an early version of ssh which has been tidied up by the | ||
6 | OpenBSD folks. | ||
7 | |||
8 | It has been decided that this version should have the privilege of | ||
9 | carrying the ``ssh'' name in Debian, since it is the only version of | ||
10 | ssh that is going to make it into Debian proper, being the only one | ||
11 | that complies with the Debian Free Software Guidelines. | ||
12 | |||
13 | If you were expecting to get the non-free version of ssh (1.2.27 or | ||
14 | whatever) when you installed this package, then you're out of luck, as | ||
15 | Debian don't ship it. | ||
16 | |||
17 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | ||
18 | |||
19 | UPGRADE ISSUES | ||
20 | ============== | ||
21 | |||
22 | Privilege Separation | ||
23 | -------------------- | ||
24 | |||
25 | As of 3.3, openssh has employed privilege separation to reduce the | ||
26 | quantity of code that runs as root, thereby reducing the impact of | ||
27 | some security holes in sshd. | ||
28 | |||
29 | Unfortunately, privilege separation interacts badly with PAM. Any PAM | ||
30 | session modules that need to run as root (pam_mkhomedir, for example) | ||
31 | will fail, and PAM keyboard-interactive authentication won't work. | ||
32 | |||
33 | Privilege separation is turned on by default, so if you decide you | ||
34 | want it turned off, you need to add "UsePrivilegeSeparation no" to | ||
35 | /etc/ssh/sshd_config | ||
36 | |||
37 | PermitRootLogin set to yes | ||
38 | -------------------------- | ||
39 | |||
40 | This is now the default setting (in line with upstream), and people | ||
41 | who asked for an automatically-generated configuration file when | ||
42 | upgrading from potato (or on a new install) will have this setting in | ||
43 | their /etc/ssh/sshd_config file. | ||
44 | |||
45 | Should you wish to change this setting, edit /etc/ssh/sshd_config, and | ||
46 | change: | ||
47 | PermitRootLogin yes | ||
48 | to: | ||
49 | PermitRootLogin no | ||
50 | |||
51 | Having PermitRootLogin set to yes means that an attacker that knows | ||
52 | the root password can ssh in directly (without having to go via a user | ||
53 | account). If you set it to no, then they must compromise a normal user | ||
54 | account. In the vast majority of cases, this does not give added | ||
55 | security; remember that any account you su to root from is equivalent | ||
56 | to root - compromising this account gives an attacker access to root | ||
57 | easily. If you only ever log in as root from the physical console, | ||
58 | then you probably want to set this value to no. | ||
59 | |||
60 | As an aside, PermitRootLogin can also be set to "without-password" or | ||
61 | "forced-commands-only" - see sshd(8) for more details. | ||
62 | |||
63 | DO NOT FILE BUG REPORTS SAYING YOU THINK THIS DEFAULT IS INCORRECT! | ||
64 | |||
65 | The argument above is somewhat condensed; I have had this discussion | ||
66 | at great length with many people. If you think the default is | ||
67 | incorrect, and feel strongly enough to want to argue with me about it, | ||
68 | then send me email to matthew@debian.org. I will close bug reports | ||
69 | claiming the default is incorrect. | ||
70 | |||
71 | SSH now uses protocol 2 by default | ||
72 | ---------------------------------- | ||
73 | |||
74 | This means all your keyfiles you used for protocol version 1 need to | ||
75 | be re-generated. The server keys are done automatically, but for RSA | ||
76 | authentication, please read the ssh-keygen manpage. | ||
77 | |||
78 | If you have an automatically generated configuration file, and decide | ||
79 | at a later stage that you do want to support protocol version 1 (not | ||
80 | recommended, but note that the ssh client shipped with Debian potato | ||
81 | only supported protocol version 1), then you need to do the following: | ||
82 | |||
83 | Change /etc/ssh/sshd_config such that: | ||
84 | Protocol 2 | ||
85 | becomes: | ||
86 | Protocol 2,1 | ||
87 | Also add the line: | ||
88 | HostKey /etc/ssh/ssh_host_key | ||
89 | |||
90 | (you may need to generate a host key if you do not already have one) | ||
91 | |||
92 | X11 Forwarding | ||
93 | -------------- | ||
94 | |||
95 | ssh's default for ForwardX11 has been changed to ``no'' because it has | ||
96 | been pointed out that logging into remote systems administered by | ||
97 | untrusted people is likely to open you up to X11 attacks, so you | ||
98 | should have to actively decide that you trust the remote machine's | ||
99 | root, before enabling X11. I strongly recommend that you do this on a | ||
100 | machine-by-machine basis, rather than just enabling it in the default | ||
101 | host settings. | ||
102 | |||
103 | In order for X11 forwarding to work, you need to install xauth on the | ||
104 | server. In Debian this is in the xbase-clients package. | ||
105 | |||
106 | As of OpenSSH 3.1, the remote $DISPLAY uses localhost by default to reduce | ||
107 | the security risks of X11 forwarding. Look up X11UseLocalhost in | ||
108 | sshd_config(8) if this is a problem. | ||
109 | |||
110 | Fallback to RSH | ||
111 | --------------- | ||
112 | |||
113 | The default for this setting has been changed from Yes to No, for | ||
114 | security reasons, and to stop the delay attempting to rsh to machines | ||
115 | that don't offer the service. Simply switch it back on in either | ||
116 | /etc/ssh/ssh_config or ~/.ssh/config for those machines that you need | ||
117 | it for. | ||
118 | |||
119 | Setgid ssh-agent and environment variables | ||
120 | ------------------------------------------ | ||
121 | |||
122 | As of version 1:3.5p1-1, ssh-agent is installed setgid to prevent ptrace() | ||
123 | attacks retrieving private key material. This has the side-effect of causing | ||
124 | glibc to remove certain environment variables which might have security | ||
125 | implications for set-id programs, including LD_PRELOAD, LD_LIBRARY_PATH, and | ||
126 | TMPDIR. | ||
127 | |||
128 | If you need to set any of these environment variables, you will need to do | ||
129 | so in the program exec()ed by ssh-agent. This may involve creating a small | ||
130 | wrapper script. | ||
131 | |||
132 | Symlink Hostname invocation | ||
133 | --------------------------- | ||
134 | |||
135 | This version of ssh no longer includes support for invoking ssh with the | ||
136 | hostname as the name of the file run. People wanting this support should | ||
137 | use the ssh-argv0 script. | ||
138 | |||
139 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | ||
140 | |||
141 | OTHER ISSUES | ||
142 | ============ | ||
143 | |||
144 | /usr/bin/ssh not SUID | ||
145 | --------------------- | ||
146 | |||
147 | Due to Debian bug #164325, RhostsRSAAuthentication can only be used if ssh | ||
148 | is SUID. Until this is fixed, if that is a problem, use: | ||
149 | |||
150 | dpkg-statoverride | ||
151 | |||
152 | or if that's also missing, use this: | ||
153 | |||
154 | chown root.root /usr/bin/ssh | ||
155 | chmod 04755 /usr/bin/ssh | ||
156 | |||
157 | Authorization Forwarding | ||
158 | ------------------------ | ||
159 | |||
160 | Similarly, root on a remote server could make use of your ssh-agent | ||
161 | (while you're logged into their machine) to obtain access to machines | ||
162 | which trust your keys. This feature is therefore disabled by default. | ||
163 | You should only re-enable it for those hosts (in your ~/.ssh/config or | ||
164 | /etc/ssh/ssh_config) where you are confident that the remote machine | ||
165 | is not a threat. | ||
166 | |||
167 | Problems logging in with RSA authentication | ||
168 | ------------------------------------------- | ||
169 | |||
170 | If you have trouble logging in with RSA authentication then the | ||
171 | problem is probably caused by the fact that you have your home | ||
172 | directory writable by group, as well as user (this is the default on | ||
173 | Debian systems). | ||
174 | |||
175 | Depending upon other settings on your system (i.e. other users being | ||
176 | in your group) this could open a security hole, so you will need to | ||
177 | make your home directory writable only by yourself. Run this command, | ||
178 | as yourself: | ||
179 | |||
180 | chmod g-w ~/ | ||
181 | |||
182 | to remove group write permissions. If you use ssh-copy-id to install your | ||
183 | keys, it does this for you. | ||
184 | |||
185 | -L option of ssh nonfree | ||
186 | ------------------------ | ||
187 | |||
188 | non-free ssh supported the usage of the option -L to use a non privileged | ||
189 | port for scp. This option will not be supported by scp from openssh. | ||
190 | |||
191 | Please use instead scp -o "UsePrivilegedPort=no" as documented in the | ||
192 | manpage to scp itself. | ||
193 | |||
194 | Problem logging in because of TCP-Wrappers | ||
195 | ------------------------------------------ | ||
196 | |||
197 | ssh is compiled with support for tcp-wrappers. So if you can no longer | ||
198 | log into your system, please check that /etc/hosts.allow and /etc/hosts.deny | ||
199 | are configured so that ssh is not blocked. | ||
200 | |||
201 | Kerberos Authentication | ||
202 | ----------------------- | ||
203 | |||
204 | ssh is compiled without support for kerberos authentication, and there are | ||
205 | no current plans to support this. Thus the KerberosAuthentication and | ||
206 | KerberosTgtPassing options will not be recognised. | ||
207 | |||
208 | Interoperability between scp and the ssh.com SSH server | ||
209 | ------------------------------------------------------- | ||
210 | |||
211 | In version 2 and greater of the commercial SSH server produced by SSH | ||
212 | Communications Security, scp was changed to use SFTP (SSH2's file transfer | ||
213 | protocol) instead of the traditional rcp-over-ssh, thereby breaking | ||
214 | compatibility. The OpenSSH developers regard this as a bug in the ssh.com | ||
215 | server, and do not currently intend to change OpenSSH's scp to match. | ||
216 | |||
217 | Workarounds for this problem are to install scp1 on the server (scp2 will | ||
218 | fall back to it), to use sftp, or to use some other transfer mechanism such | ||
219 | as rsync-over-ssh or tar-over-ssh. | ||
220 | |||
221 | -- | ||
222 | Matthew Vernon | ||
223 | <matthew@debian.org> | ||
224 | and | ||
225 | Colin Watson | ||
226 | <cjwatson@debian.org> | ||
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..9a61869a6 --- /dev/null +++ b/debian/changelog | |||
@@ -0,0 +1,1248 @@ | |||
1 | openssh (1:3.6.1p2-8) unstable; urgency=high | ||
2 | |||
3 | * Merge more buffer allocation fixes from new upstream version 3.7.1p1 | ||
4 | (closes: #211324). | ||
5 | |||
6 | -- Colin Watson <cjwatson@debian.org> Wed, 17 Sep 2003 03:07:19 +0100 | ||
7 | |||
8 | openssh (1:3.6.1p2-7) unstable; urgency=high | ||
9 | |||
10 | * Update debconf template translations: | ||
11 | - French (thanks, Christian Perrier; closes: #208801). | ||
12 | - Japanese (thanks, Kenshi Muto; closes: #210380). | ||
13 | * Some small improvements to the English templates courtesy of Christian | ||
14 | Perrier. I've manually unfuzzied a few translations where it was | ||
15 | obvious, on Christian's advice, but the others will have to be updated. | ||
16 | * Document how to generate an RSA1 host key (closes: #141703). | ||
17 | * Incorporate NMU fix for early buffer expansion vulnerability, | ||
18 | CAN-2003-0693 (closes: #211205). Thanks to Michael Stone. | ||
19 | |||
20 | -- Colin Watson <cjwatson@debian.org> Tue, 16 Sep 2003 14:32:28 +0100 | ||
21 | |||
22 | openssh (1:3.6.1p2-6.0) unstable; urgency=high | ||
23 | |||
24 | * SECURITY: fix for CAN-2003-0693, buffer allocation error | ||
25 | |||
26 | -- Michael Stone <mstone@debian.org> Tue, 16 Sep 2003 08:27:07 -0400 | ||
27 | |||
28 | openssh (1:3.6.1p2-6) unstable; urgency=medium | ||
29 | |||
30 | * Use a more CVS-friendly means of setting SSH_VERSION. | ||
31 | * Update Brazilian Portuguese debconf template translation (thanks, Andre | ||
32 | Luis Lopes; closes: #208036). | ||
33 | * Don't run 'sshd -t' in init script if the server isn't to be run | ||
34 | (closes: #197576). | ||
35 | * Fix login delay, spurious auth.log entry, and PermitRootLogin | ||
36 | information leakage due to PAM issues with upstream's recent security | ||
37 | update (thanks, Darren Tucker; closes: #99168, #192207, #193546). | ||
38 | * Policy version 3.6.1: recode this changelog to UTF-8. | ||
39 | |||
40 | -- Colin Watson <cjwatson@debian.org> Wed, 3 Sep 2003 19:14:02 +0100 | ||
41 | |||
42 | openssh (1:3.6.1p2-5) unstable; urgency=low | ||
43 | |||
44 | * Disable cmsg_type check for file descriptor passing when running on | ||
45 | Linux 2.0 (closes: #150976). Remove comments about non-functional | ||
46 | privilege separation on 2.0 from ssh/privsep_ask and ssh/privsep_tell | ||
47 | debconf questions and from README.Debian, since it should all now work. | ||
48 | * Fix "defails" typo in generated sshd_config (closes: #206484). | ||
49 | * Backport upstream patch to strip trailing whitespace (including | ||
50 | newlines) from configuration directives (closes: #192079). | ||
51 | |||
52 | -- Colin Watson <cjwatson@debian.org> Wed, 27 Aug 2003 02:19:57 +0100 | ||
53 | |||
54 | openssh (1:3.6.1p2-4) unstable; urgency=low | ||
55 | |||
56 | * getent can get just one key; no need to use grep (thanks, James Troup). | ||
57 | * Move /usr/local/bin to the front of the default path, following | ||
58 | /etc/login.defs (closes: #201150). | ||
59 | * Remove specifics of problematic countries from package description | ||
60 | (closes: #197040). | ||
61 | * Update Spanish debconf template translation (thanks, Carlos Valdivia | ||
62 | Yagüe; closes: #198456). | ||
63 | * Backport upstream patch to pass monitor signals through to child | ||
64 | (closes: #164797). | ||
65 | |||
66 | -- Colin Watson <cjwatson@debian.org> Sun, 27 Jul 2003 17:31:15 +0100 | ||
67 | |||
68 | openssh (1:3.6.1p2-3) unstable; urgency=low | ||
69 | |||
70 | * Update French debconf template translation (thanks, Christian Perrier; | ||
71 | closes: #194323). | ||
72 | * Version the adduser dependency for --no-create-home (closes: #195756). | ||
73 | * Add a version of moduli(5), namely revision 1.7 of | ||
74 | http://www.openbsd.org/cgi-bin/cvsweb/src/share/man/man5/moduli.5 with | ||
75 | '/etc/moduli' changed to '/etc/ssh/moduli' throughout (closes: #196061). | ||
76 | |||
77 | -- Colin Watson <cjwatson@debian.org> Mon, 9 Jun 2003 02:51:35 +0100 | ||
78 | |||
79 | openssh (1:3.6.1p2-2) unstable; urgency=low | ||
80 | |||
81 | * Force /etc/default/ssh to be non-executable, since dpkg apparently | ||
82 | doesn't deal with permissions changes on conffiles (closes: #192966). | ||
83 | * Use debconf 0.5's seen flag rather than the deprecated isdefault. | ||
84 | * Add GPL location to copyright file. | ||
85 | * Remove debian/postinst.old. | ||
86 | * Switch to po-debconf, with some careful manual use of po2debconf to | ||
87 | ensure that the source package continues to build smoothly on woody | ||
88 | (closes: #183986). | ||
89 | * Update debconf template translations: | ||
90 | - Brazilian Portugese (thanks, Andre Luis Lopes; see #183986). | ||
91 | - Japanese (thanks, Tomohiro KUBOTA; closes: #192429). | ||
92 | * Compile with -fno-builtin-log for now, otherwise gcc-3.3 complains | ||
93 | "log.h:59: warning: conflicting types for built-in function `log'". The | ||
94 | OpenSSH log() function has been renamed in upstream CVS. | ||
95 | |||
96 | -- Colin Watson <cjwatson@debian.org> Mon, 19 May 2003 01:52:38 +0100 | ||
97 | |||
98 | openssh (1:3.6.1p2-1) unstable; urgency=medium | ||
99 | |||
100 | * New upstream release, including fix for PAM user-discovery security hole | ||
101 | (closes: #191681). | ||
102 | * Fix ChallengeResponseAuthentication default in generated sshd_config | ||
103 | (closes: #106037). | ||
104 | * Put newlines after full stops in man page documentation for | ||
105 | ProtocolKeepAlives and SetupTimeOut. | ||
106 | * Policy version 3.5.9: support DEB_BUILD_OPTIONS=noopt, build | ||
107 | gnome-ssh-askpass with -g and -Wall flags. | ||
108 | * Really ask ssh/new_config debconf question before trying to fetch its | ||
109 | value (closes: #188721). | ||
110 | * On purge, remove only the files we know about in /etc/ssh rather than | ||
111 | the whole thing, and remove the directory if that leaves it empty | ||
112 | (closes: #176679). | ||
113 | * ssh has depended on debconf for some time now with no complaints, so: | ||
114 | - Simplify the postinst by relying on debconf being present. (The absent | ||
115 | case was buggy anyway.) | ||
116 | - Get rid of "if you have not installed debconf" text in README.Debian, | ||
117 | and generally update the "/usr/bin/ssh not SUID" entry. | ||
118 | * More README.Debian work: | ||
119 | - Reorganize into "UPGRADE ISSUES" and "OTHER ISSUES", in an effort to | ||
120 | make it easier for people to find the former. The upgrade issues | ||
121 | should probably be sorted by version somehow. | ||
122 | - Document X11UseLocalhost under "X11 Forwarding" (closes: #150913). | ||
123 | * Fix setting of IP flags for interactive sessions (upstream bug #541). | ||
124 | |||
125 | -- Colin Watson <cjwatson@debian.org> Mon, 5 May 2003 17:47:40 +0100 | ||
126 | |||
127 | openssh (1:3.6.1p1-1) unstable; urgency=low | ||
128 | |||
129 | * New upstream release (thanks, Laurence J. Lane). | ||
130 | * debian/control: ssh-askpass-gnome is now Section: gnome, following the | ||
131 | override file. | ||
132 | |||
133 | -- Colin Watson <cjwatson@debian.org> Wed, 2 Apr 2003 00:51:02 +0100 | ||
134 | |||
135 | openssh (1:3.6p1-1) unstable; urgency=low | ||
136 | |||
137 | * New upstream release. | ||
138 | - Workaround applied upstream for a bug in the interaction of glibc's | ||
139 | getaddrinfo() with the Linux 2.2 kernel (closes: #155814). | ||
140 | - As such, it should now be safe to remove --with-ipv4-default, so | ||
141 | starting sshd with -6 is no longer necessary (closes: #79861 and lots | ||
142 | of other merged bugs). | ||
143 | - ssh-copy-id prints usage when run without arguments (closes: #71376). | ||
144 | - scp exits 1 if ssh fails (closes: #138400). | ||
145 | - sshd writes to utmp's ut_addr_v6 field in IPv6 mode (closes: #167867). | ||
146 | - 'ssh-add -c' causes ssh-agent to ask the user each time a key is used | ||
147 | (closes: #109795). | ||
148 | * Install /etc/default/ssh non-executable (closes: #185537). | ||
149 | |||
150 | -- Colin Watson <cjwatson@debian.org> Mon, 31 Mar 2003 23:00:59 +0100 | ||
151 | |||
152 | openssh (1:3.5p1-5) unstable; urgency=low | ||
153 | |||
154 | * Add /etc/default/ssh (closes: #161049). | ||
155 | * Run the init script under 'set -e' (closes: #175010). | ||
156 | * Change the default superuser path to include /sbin, /usr/sbin, and | ||
157 | /usr/local/sbin (closes: #128235, #151267). Using login.defs would be | ||
158 | nice, but that belongs to another package. Without a defined API to | ||
159 | retrieve its settings, parsing it is off-limits. | ||
160 | * Build ssh-askpass-gnome with GNOME 2. The source package should still | ||
161 | support building on stable with GNOME 1, using the alternate | ||
162 | libgnome-dev build-dependency (thanks, Colin Walters; closes: #167582). | ||
163 | |||
164 | -- Colin Watson <cjwatson@debian.org> Sun, 9 Mar 2003 20:12:10 +0000 | ||
165 | |||
166 | openssh (1:3.5p1-4) unstable; urgency=low | ||
167 | |||
168 | * Point rlogin and rcp alternatives at slogin and scp respectively rather | ||
169 | than ssh (closes: #121103, #151666). Fix alternative removal to match; | ||
170 | previously it was completely wrong anyway. | ||
171 | * Find out whether /etc/ssh/sshd_not_to_be_run exists and set the debconf | ||
172 | question's default using that information, rather than using debconf as | ||
173 | a registry. Other solutions may be better in the long run, but this is | ||
174 | at least correct (thanks, Matthew Woodcraft; closes: #84725). | ||
175 | * Stop using pam_lastlog, as it doesn't currently work well as a session | ||
176 | module when privilege separation is enabled; it can usually read | ||
177 | /var/log/lastlog but can't write to it. Instead, just use sshd's | ||
178 | built-in support, already enabled by default (closes: #151297, #169938). | ||
179 | * Use 'ssh-keygen -q' rather than redirecting output to /dev/null. | ||
180 | * Add a "this may take some time" warning when creating host keys on | ||
181 | installation (part of #110094). | ||
182 | * When restarting via the init script, check for sshd_not_to_be_run after | ||
183 | stopping sshd (idea from Tomas Pospisek; closes: #149850). | ||
184 | * Append /usr/sbin:/sbin to the init script's $PATH, just in case of | ||
185 | strangeness (closes: #115138). | ||
186 | * Fix a dpkg-statoverride call to redirect stdout to /dev/null, not | ||
187 | stderr. | ||
188 | * Correct copyright file typo: "orignal" -> "original" (closes: #176490). | ||
189 | * Rebuild with libssl0.9.7 (closes: #176983). | ||
190 | * We're up to policy version 3.5.6. DEB_BUILD_OPTIONS stuff still needs to | ||
191 | be looked at. | ||
192 | |||
193 | -- Colin Watson <cjwatson@debian.org> Sat, 18 Jan 2003 01:37:23 +0000 | ||
194 | |||
195 | openssh (1:3.5p1-3) unstable; urgency=low | ||
196 | |||
197 | * Happy new year! | ||
198 | * Use getent rather than id to find out whether the sshd user exists | ||
199 | (closes: #150974). | ||
200 | * Remove some duplication from the postinst's ssh-keysign setuid code. | ||
201 | * Replace db_text with db_input throughout debian/config. (db_text has | ||
202 | been a compatibility wrapper since debconf 0.1.5.) | ||
203 | * Warn about PermitUserEnvironment on upgrade (closes: #167895). | ||
204 | * Use 'make install-nokeys', and disable unused debhelper commands, | ||
205 | thereby forward-porting the last pieces of Zack Weinberg's patch | ||
206 | (closes: #68341). | ||
207 | * Move the man page for gnome-ssh-askpass from the ssh package to | ||
208 | ssh-askpass-gnome (closes: #174449). | ||
209 | * Build with -DLOGIN_NO_ENDOPT, since Debian's /bin/login doesn't accept | ||
210 | '--' to terminate the list of options (closes: #171554). | ||
211 | * Add Jonathan Amery's ssh-argv0 script (closes: #111341). | ||
212 | * Update Danish debconf template (thanks, Morten Brix Pedersen; | ||
213 | closes: #174757). | ||
214 | * Document setgid ssh-agent's effect on certain environment variables in | ||
215 | README.Debian (closes: #167974). | ||
216 | * Document interoperability problems between scp and ssh.com's server in | ||
217 | README.Debian, and suggest some workarounds (closes: #174662). | ||
218 | |||
219 | -- Colin Watson <cjwatson@debian.org> Wed, 1 Jan 2003 14:18:30 +0000 | ||
220 | |||
221 | openssh (1:3.5p1-2) unstable; urgency=low | ||
222 | |||
223 | * Mention in the ssh package description that it provides both ssh and | ||
224 | sshd (closes: #99680). | ||
225 | * Create a system group for ssh-agent, not a user group (closes: #167669). | ||
226 | |||
227 | -- Colin Watson <cjwatson@debian.org> Mon, 4 Nov 2002 13:43:53 +0000 | ||
228 | |||
229 | openssh (1:3.5p1-1) unstable; urgency=low | ||
230 | |||
231 | * New upstream release. | ||
232 | - Fixes typo in ssh-add usage (closes: #152239). | ||
233 | - Fixes 'PermitRootLogin forced-commands-only' (closes: #166184). | ||
234 | - ~/.ssh/environment and environment= options in ~/.ssh/authorized_keys | ||
235 | are deprecated for security reasons and will eventually go away. For | ||
236 | now they can be re-enabled by setting 'PermitUserEnvironment yes' in | ||
237 | sshd_config. | ||
238 | - ssh-agent is installed setgid to prevent ptrace() attacks. The group | ||
239 | actually doesn't matter, as it drops privileges immediately, but to | ||
240 | avoid confusion the postinst creates a new 'ssh' group for it. | ||
241 | * Obsolete patches: | ||
242 | - Solar Designer's privsep+compression patch for Linux 2.2 (see | ||
243 | 1:3.3p1-0.0woody1). | ||
244 | - Hostbased auth ssh-keysign backport (see 1:3.4p1-4). | ||
245 | |||
246 | * Remove duplicated phrase in ssh_config(5) (closes: #152404). | ||
247 | * Source the debconf confmodule at the top of the postrm rather than at | ||
248 | the bottom, to avoid making future non-idempotency problems worse (see | ||
249 | #151035). | ||
250 | * Debconf templates: | ||
251 | - Add Polish (thanks, Grzegorz Kusnierz). | ||
252 | - Update French (thanks, Denis Barbier; closes: #132509). | ||
253 | - Update Spanish (thanks, Carlos Valdivia Yagüe; closes: #164716). | ||
254 | * Write a man page for gnome-ssh-askpass, and link it to ssh-askpass.1 if | ||
255 | this is the selected ssh-askpass alternative (closes: #67775). | ||
256 | |||
257 | -- Colin Watson <cjwatson@debian.org> Sat, 26 Oct 2002 19:41:51 +0100 | ||
258 | |||
259 | openssh (1:3.4p1-4) unstable; urgency=low | ||
260 | |||
261 | * Allow ssh-krb5 in ssh-askpass-gnome's dependencies (closes: #129532). | ||
262 | * Restore Russia to list of countries where encryption is problematic (see | ||
263 | #148951 and http://www.average.org/freecrypto/). | ||
264 | * Drop ssh-askpass-gnome's priority to optional, per the override file. | ||
265 | * Drop the PAM special case for hurd-i386 (closes: #99157). | ||
266 | * s/dile/idle/ in ssh_config(5) (closes: #118331). | ||
267 | * Note in README.Debian that you need xauth from xbase-clients on the | ||
268 | server for X11 forwarding (closes: #140269). | ||
269 | * Use correct path to upstream README in copyright file (closes: #146037). | ||
270 | * Document the units for ProtocolKeepAlives (closes: #159479). | ||
271 | * Backport upstream patch to fix hostbased auth (closes: #117114). | ||
272 | * Add -g to CFLAGS. | ||
273 | |||
274 | -- Colin Watson <cjwatson@debian.org> Sun, 13 Oct 2002 18:58:53 +0100 | ||
275 | |||
276 | openssh (1:3.4p1-3) unstable; urgency=low | ||
277 | |||
278 | * Add myself to Uploaders: and begin acting as temporary maintainer, at | ||
279 | Matthew's request. (Normal service will resume in some months' time.) | ||
280 | * Add sharutils to Build-Depends (closes: #138465). | ||
281 | * Stop creating the /usr/doc/ssh symlink. | ||
282 | |||
283 | * Fix some debconf template typos (closes: #160358). | ||
284 | * Split debconf templates into one file per language. | ||
285 | * Add debconf template translations: | ||
286 | - Brazilian Portuguese (thanks, Andre Luis Lopes; closes: #106173). | ||
287 | - Danish (thanks, Claus Hindsgaul; closes: #126607). | ||
288 | - Japanese (thanks, Tomohiro KUBOTA; closes: #137427). | ||
289 | - Russian (thanks, Ilgiz Kalmetev; closes: #136610). | ||
290 | - Spanish (thanks, Carlos Valdivia Yagüe; closes: #129041). | ||
291 | * Update debconf template translations: | ||
292 | - French (thanks, Igor Genibel; closes: #151361). | ||
293 | - German (thanks, Axel Noetzold; closes: #147069). | ||
294 | * Some of these translations are fuzzy. Please send updates. | ||
295 | |||
296 | -- Colin Watson <cjwatson@debian.org> Sun, 13 Oct 2002 14:09:57 +0100 | ||
297 | |||
298 | openssh (1:3.4p1-2) unstable; urgency=high | ||
299 | |||
300 | * Get a security-fixed version into unstable | ||
301 | * Also tidy README.Debian up a little | ||
302 | |||
303 | -- Matthew Vernon <matthew@debian.org> Fri, 28 Jun 2002 17:20:59 +0100 | ||
304 | |||
305 | openssh (1:3.4p1-1) testing; urgency=high | ||
306 | |||
307 | * Extend my tendrils back into this package (Closes: #150915, #151098) | ||
308 | * thanks to the security team for their work | ||
309 | * no thanks to ISS/Theo de Raadt for their handling of these bugs | ||
310 | * save old sshd_configs to sshd_config.dpkg-old when auto-generating a | ||
311 | new one | ||
312 | * tell/ask the user about PriviledgeSeparation | ||
313 | * /etc/init.d/ssh run will now create the chroot empty dir if necessary | ||
314 | * Remove our previous statoverride on /usr/bin/ssh (only for people | ||
315 | upgrading from a version where we'd put one in ourselves!) | ||
316 | * Stop slandering Russia, since someone asked so nicely (Closes: #148951) | ||
317 | * Reduce the sleep time in /etc/init.d/ssh during a restart | ||
318 | |||
319 | -- Matthew Vernon <matthew@debian.org> Fri, 28 Jun 2002 15:52:10 +0100 | ||
320 | |||
321 | openssh (1:3.4p1-0.0woody1) testing-security; urgency=high | ||
322 | |||
323 | * NMU by the security team. | ||
324 | * New upstream version | ||
325 | |||
326 | -- Michael Stone <mstone@debian.org> Wed, 26 Jun 2002 15:40:38 -0400 | ||
327 | |||
328 | openssh (1:3.3p1-0.0woody4) testing-security; urgency=high | ||
329 | |||
330 | * NMU by the security team. | ||
331 | * fix error when /etc/ssh/sshd_config exists on new install | ||
332 | * check that user doesn't exist before running adduser | ||
333 | * use openssl internal random unconditionally | ||
334 | |||
335 | -- Michael Stone <mstone@debian.org> Tue, 25 Jun 2002 19:44:39 -0400 | ||
336 | |||
337 | openssh (1:3.3p1-0.0woody3) testing-security; urgency=high | ||
338 | |||
339 | * NMU by the security team. | ||
340 | * use correct home directory when sshd user is created | ||
341 | |||
342 | -- Michael Stone <mstone@debian.org> Tue, 25 Jun 2002 08:59:50 -0400 | ||
343 | |||
344 | openssh (1:3.3p1-0.0woody2) testing-security; urgency=high | ||
345 | |||
346 | * NMU by the security team. | ||
347 | * Fix rsa1 key creation (Closes: #150949) | ||
348 | * don't fail if sshd user removal fails | ||
349 | * depends: on adduser (Closes: #150907) | ||
350 | |||
351 | -- Michael Stone <mstone@debian.org> Tue, 25 Jun 2002 08:59:50 -0400 | ||
352 | |||
353 | openssh (1:3.3p1-0.0woody1) testing-security; urgency=high | ||
354 | |||
355 | * NMU by the security team. | ||
356 | * New upstream version. | ||
357 | - Enable privilege separation by default. | ||
358 | * Include patch from Solar Designer for privilege separation and | ||
359 | compression on 2.2.x kernels. | ||
360 | * Remove --disable-suid-ssh from configure. | ||
361 | * Support setuid ssh-keysign binary instead of setuid ssh client. | ||
362 | * Check sshd configuration before restarting. | ||
363 | |||
364 | -- Daniel Jacobowitz <dan@debian.org> Mon, 24 Jun 2002 13:43:44 -0400 | ||
365 | |||
366 | openssh (1:3.0.2p1-9) unstable; urgency=high | ||
367 | |||
368 | * Thanks to those who NMUd | ||
369 | * The only change in this version is to debian/control - I've removed | ||
370 | the bit that says you can't export it from the US - it would look | ||
371 | pretty daft to say this about a package in main! Also, it's now OK | ||
372 | to use crypto in France, so I've edited that comment slightly | ||
373 | * Correct a path in README.Debian too (Closes: #138634) | ||
374 | |||
375 | -- Matthew Vernon <matthew@debian.org> Sun, 4 Apr 2002 09:52:59 +0100 | ||
376 | |||
377 | openssh (1:3.0.2p1-8.3) unstable; urgency=medium | ||
378 | |||
379 | * NMU | ||
380 | * Really set urgency to medium this time (oops) | ||
381 | * Fix priority to standard per override while I'm at it | ||
382 | |||
383 | -- Aaron M. Ucko <ucko@debian.org> Sun, 24 Mar 2002 09:00:08 -0500 | ||
384 | |||
385 | openssh (1:3.0.2p1-8.2) unstable; urgency=low | ||
386 | |||
387 | * NMU with maintainer's permission | ||
388 | * Prepare for upcoming ssh-nonfree transitional packages per | ||
389 | <http://lists.debian.org/debian-ssh/2002/debian-ssh-200203/msg00008.html> | ||
390 | * Urgency medium because it would really be good to get this into woody | ||
391 | before it releases | ||
392 | * Fix sections to match override file | ||
393 | * Reissued due to clash with non-US -> main move | ||
394 | |||
395 | -- Aaron M. Ucko <ucko@debian.org> Sat, 23 Mar 2002 21:21:52 -0500 | ||
396 | |||
397 | openssh (1:3.0.2p1-8.1) unstable; urgency=low | ||
398 | |||
399 | * NMU | ||
400 | * Move from non-US to mani | ||
401 | |||
402 | -- LaMont Jones <lamont@debian.org> Thu, 21 Mar 2002 09:33:50 -0700 | ||
403 | |||
404 | openssh (1:3.0.2p1-8) unstable; urgency=critical | ||
405 | |||
406 | * Security fix - patch from upstream (Closes: #137209, #137210) | ||
407 | * Undo the changes in the unreleased -7, since they appear to break | ||
408 | things here. Accordingly, the code change is minimal, and I'm | ||
409 | happy to get it into testing ASAP | ||
410 | |||
411 | -- Matthew Vernon <matthew@debian.org> Thu, 7 Mar 2002 14:25:23 +0000 | ||
412 | |||
413 | openssh (1:3.0.2p1-7) unstable; urgency=high | ||
414 | |||
415 | * Build to support IPv6 and IPv4 by default again | ||
416 | |||
417 | -- Matthew Vernon <matthew@debian.org> Sat, 2 Mar 2002 00:25:05 +0000 | ||
418 | |||
419 | openssh (1:3.0.2p1-6) unstable; urgency=high | ||
420 | |||
421 | * Correct error in the clean target (Closes: #130868) | ||
422 | |||
423 | -- Matthew Vernon <matthew@debian.org> Sat, 26 Jan 2002 00:32:00 +0000 | ||
424 | |||
425 | openssh (1:3.0.2p1-5) unstable; urgency=medium | ||
426 | |||
427 | * Include the Debian version in our identification, to make it easier to | ||
428 | audit networks for patched versions in future | ||
429 | |||
430 | -- Matthew Vernon <matthew@debian.org> Mon, 21 Jan 2002 17:16:10 +0000 | ||
431 | |||
432 | openssh (1:3.0.2p1-4) unstable; urgency=medium | ||
433 | |||
434 | * If we're asked to not run sshd, stop any running sshd's first | ||
435 | (Closes: #129327) | ||
436 | |||
437 | -- Matthew Vernon <matthew@debian.org> Wed, 16 Jan 2002 21:24:16 +0000 | ||
438 | |||
439 | openssh (1:3.0.2p1-3) unstable; urgency=high | ||
440 | |||
441 | * Fix /etc/pam.d/ssh to not set $MAIL (Closes: #128913) | ||
442 | * Remove extra debconf suggestion (Closes: #128094) | ||
443 | * Mmm. speedy bug-fixing :-) | ||
444 | |||
445 | -- Matthew Vernon <matthew@debian.org> Sat, 12 Jan 2002 17:23:58 +0000 | ||
446 | |||
447 | openssh (1:3.0.2p1-2) unstable; urgency=high | ||
448 | |||
449 | * Fix postinst to not automatically overwrite sshd_config (!) | ||
450 | (Closes: #127842, #127867) | ||
451 | * Add section in README.Debian about the PermitRootLogin setting | ||
452 | |||
453 | -- Matthew Vernon <matthew@debian.org> Sat, 5 Jan 2003 05:26:30 +0000 | ||
454 | |||
455 | openssh (1:3.0.2p1-1) unstable; urgency=high | ||
456 | |||
457 | * Incorporate fix from Colin's NMU | ||
458 | * New upstream version (fixes the bug Wichert fixed) (Closes: #124035) | ||
459 | * Capitalise IETF (Closes: #125379) | ||
460 | * Refer to the correct sftp-server location (Closes: #126854, #126224) | ||
461 | * Do what we're asked re SetUID ssh (Closes: #124065, #124154, #123247) | ||
462 | * Ask people upgrading from potato if they want a new conffile | ||
463 | (Closes: #125642) | ||
464 | * Fix a typo in postinst (Closes: #122192, #122410, #123440) | ||
465 | * Frob the default config a little (Closes: #122284, #125827, #125696, | ||
466 | #123854) | ||
467 | * Make /etc/init.d/ssh be more clear about ssh not running (Closes: | ||
468 | #123552) | ||
469 | * Fix typo in templates file (Closes: #123411) | ||
470 | |||
471 | -- Matthew Vernon <matthew@debian.org> Fri, 4 Jan 2002 16:01:52 +0000 | ||
472 | |||
473 | openssh (1:3.0.1p1-1.2) unstable; urgency=high | ||
474 | |||
475 | * Non-maintainer upload | ||
476 | * Prevent local users from passing environment variables to the login | ||
477 | process when UseLogin is enabled | ||
478 | |||
479 | -- Wichert Akkerman <wakkerma@debian.org> Mon, 3 Dec 2001 19:34:45 +0100 | ||
480 | |||
481 | openssh (1:3.0.1p1-1.1) unstable; urgency=low | ||
482 | |||
483 | * Non-maintainer upload, at Matthew's request. | ||
484 | * Remove sa_restorer assignment to fix compilation on alpha, hppa, and | ||
485 | ia64 (closes: #122086). | ||
486 | |||
487 | -- Colin Watson <cjwatson@debian.org> Sun, 2 Dec 2001 18:54:16 +0000 | ||
488 | |||
489 | openssh (1:3.0.1p1-1) unstable; urgency=high | ||
490 | |||
491 | * New upstream version (Closes: #113646, #113513, #114707, #118564) | ||
492 | * Building with a libc that works (!) (Closes: #115228) | ||
493 | * Patches forward-ported are -1/-2 options for scp, the improvement to | ||
494 | 'waiting for forwarded connections to terminate...' | ||
495 | * Fix /etc/init.d/ssh to stop sshd properly (Closes: #115228) | ||
496 | * /etc/ssh/sshd_config is no longer a conffile but generated in the postinst | ||
497 | * Remove suidregister leftover from postrm | ||
498 | * Mention key we are making in the postinst | ||
499 | * Default to not enable SSH protocol 1 support, since protocol 2 is | ||
500 | much safer anyway. | ||
501 | * New version of the vpn-fixes patch, from Ian Jackson | ||
502 | * New handling of -q, and added new -qq option; thanks to Jon Amery | ||
503 | * Experimental smartcard support not enabled, since I have no way of | ||
504 | testing it. | ||
505 | |||
506 | -- Matthew Vernon <matthew@debian.org> Thu, 28 Nov 2001 17:43:01 +0000 | ||
507 | |||
508 | openssh (1:2.9p2-6) unstable; urgency=low | ||
509 | |||
510 | * check for correct file in /etc/init.d/ssh (Closes: #110876) | ||
511 | * correct location of version 2 keys in ssh.1 (Closes: #110439) | ||
512 | * call update-alternatives --quiet (Closes: #103314) | ||
513 | * hack ssh-copy-id to chmod go-w (Closes: #95551) | ||
514 | * TEMPORARY fix to provide largefile support using a -D in the cflags | ||
515 | line. long-term, upstream will patch the autoconf stuff | ||
516 | (Closes: #106809, #111849) | ||
517 | * remove /etc/rc references in ssh-keygen.1 (Closes: #68350) | ||
518 | * scp.1 patch from Adam McKenna to document -r properly (Closes: #76054) | ||
519 | * Check for files containing a newline character (Closes: #111692) | ||
520 | |||
521 | -- Matthew Vernon <matthew@debian.org> Thu, 13 Sep 2001 16:47:36 +0100 | ||
522 | |||
523 | openssh (1:2.9p2-5) unstable; urgency=high | ||
524 | |||
525 | * Thanks to all the bug-fixers who helped! | ||
526 | * remove sa_restorer assignment (Closes: #102837) | ||
527 | * patch from Peter Benie to DTRT wrt X forwarding if the server refuses | ||
528 | us access (Closes: #48297) | ||
529 | * patch from upstream CVS to fix port forwarding (Closes: #107132) | ||
530 | * patch from Jonathan Amery to document ssh-keygen behaviour | ||
531 | (Closes:#106643, #107512) | ||
532 | * patch to postinst from Jonathan Amery (Closes: #106411) | ||
533 | * patch to manpage from Jonathan Amery (Closes: #107364) | ||
534 | * patch from Matthew Vernon to make -q emit fatal errors as that is the | ||
535 | documented behaviour (Closes: #64347) | ||
536 | * patch from Ian Jackson to cause us to destroy a file when we scp it | ||
537 | onto itself, rather than dumping bits of our memory into it, which was | ||
538 | a security hole (see #51955) | ||
539 | * patch from Jonathan Amery to document lack of Kerberos support | ||
540 | (Closes: #103726) | ||
541 | * patch from Matthew Vernon to make the 'waiting for connections to | ||
542 | terminate' message more helpful (Closes: #50308) | ||
543 | |||
544 | -- Matthew Vernon <matthew@debian.org> Thu, 23 Aug 2001 02:14:09 +0100 | ||
545 | |||
546 | openssh (1:2.9p2-4) unstable; urgency=high | ||
547 | |||
548 | * Today's build of ssh is strawberry flavoured | ||
549 | * Patch from mhp to reduce length of time sshd is stopped for (Closes: #106176) | ||
550 | * Tidy up debconf template (Closes: #106152) | ||
551 | * If called non-setuid, then setgid()'s failure should not be fatal (see | ||
552 | #105854) | ||
553 | |||
554 | -- Matthew Vernon <matthew@debian.org> Sun, 22 Jul 2001 14:19:43 +0100 | ||
555 | |||
556 | openssh (1:2.9p2-3) unstable; urgency=low | ||
557 | |||
558 | * Patch from yours truly to add -1 and -2 options to scp (Closes: #106061) | ||
559 | * Improve the IdentityFile section in the man page (Closes: #106038) | ||
560 | |||
561 | -- Matthew Vernon <matthew@debian.org> Sat, 21 Jul 2001 14:47:27 +0100 | ||
562 | |||
563 | openssh (1:2.9p2-2) unstable; urgency=low | ||
564 | |||
565 | * Document the protocol version 2 and IPV6 changes (Closes: #105845, #105868) | ||
566 | * Make PrintLastLog 'no' by default (Closes: #105893) | ||
567 | |||
568 | -- Matthew Vernon <matthew@debian.org> Thu, 19 Jul 2001 18:36:41 +0100 | ||
569 | |||
570 | openssh (1:2.9p2-1) unstable; urgency=low | ||
571 | |||
572 | * new (several..) upstream version (Closes: #96726, #81856, #96335) | ||
573 | * Hopefully, this will close some other bugs too | ||
574 | |||
575 | -- Matthew Vernon <matthew@debian.org> Tue, 17 Jul 2001 19:41:58 +0100 | ||
576 | |||
577 | openssh (1:2.5.2p2-3) unstable; urgency=low | ||
578 | |||
579 | * Taking Over this package | ||
580 | * Patches from Robert Bihlmeyer for the Hurd (Closes: #102991) | ||
581 | * Put PermitRootLogin back to yes (Closes: #67334, #67371, #78274) | ||
582 | * Don't fiddle with conf-files any more (Closes: #69501) | ||
583 | |||
584 | -- Matthew Vernon <matthew@debian.org> Tue, 03 Jul 2001 02:58:13 +0100 | ||
585 | |||
586 | openssh (1:2.5.2p2-2.2) unstable; urgency=low | ||
587 | |||
588 | * NMU | ||
589 | * Include Hurd compatibility patches from Robert Bihlmeyer (Closes: #76033) | ||
590 | * Patch from Richard Kettlewell for protocolkeepalives (Closes: #99273) | ||
591 | * Patch from Matthew Vernon for BannerTimeOut, batchmode, and | ||
592 | documentation for protocolkeepalives. Makes ssh more generally useful | ||
593 | for scripting uses (Closes: #82877, #99275) | ||
594 | * Set a umask, so ourpidfile isn't world-writable (closes: #100012, | ||
595 | #98286, #97391) | ||
596 | |||
597 | -- Matthew Vernon <matthew@debian.org> Thu, 28 Jun 2001 23:15:42 +0100 | ||
598 | |||
599 | openssh (1:2.5.2p2-2.1) unstable; urgency=low | ||
600 | |||
601 | * NMU | ||
602 | * Remove duplicate Build-Depends for libssl096-dev and change it to | ||
603 | depend on libssl-dev instaed. Also adding in virtual | real package | ||
604 | style build-deps. (Closes: #93793, #75228) | ||
605 | * Removing add-log entry (Closes: #79266) | ||
606 | * This was a pam bug from a while back (Closes: #86908, #88457, #86843) | ||
607 | * pam build-dep already exists (Closes: #93683) | ||
608 | * libgnome-dev build-dep already exists (Closes: #93694) | ||
609 | * No longer in non-free (Closes: #85401) | ||
610 | * Adding in fr debconf translations (Closes: #83783) | ||
611 | * Already suggests xbase-clients (Closes: #79741) | ||
612 | * No need to suggest libpam-pwdb anymore (Closes: #81658) | ||
613 | * Providing rsh-client (Closes: #79437) | ||
614 | * hurd patch was already applied (Closes: #76033) | ||
615 | * default set to no (Closes: #73682) | ||
616 | * Adding in a suggests for dnsutils (Closes: #93265) | ||
617 | * postinst bugs fixed (Closes: #88057, #88066, #88196, #88405, #88612) | ||
618 | (Closes: #88774, #88196, #89556, #90123, #90228, #90833, #87814, #85465) | ||
619 | * Adding in debconf dependency | ||
620 | |||
621 | -- Ivan E. Moore II <rkrusty@debian.org> Mon, 16 Apr 2001 14:11:04 +0100 | ||
622 | |||
623 | openssh (1:2.5.2p2-2) unstable; urgency=high | ||
624 | |||
625 | * disable the OpenSSL version check in entropy.c | ||
626 | (closes: #93581, #93588, #93590, #93614, #93619, #93635, #93648) | ||
627 | |||
628 | -- Philip Hands <phil@uk.alcove.com> Wed, 11 Apr 2001 20:30:04 +0100 | ||
629 | |||
630 | openssh (1:2.5.2p2-1) unstable; urgency=low | ||
631 | |||
632 | * New upstream release | ||
633 | * removed make-ssh-known-hosts, since ssh-keyscan does that job (closes: #86069, #87748) | ||
634 | * fix double space indent in german templates (closes: #89493) | ||
635 | * make postinst check for ssh_host_rsa_key | ||
636 | * get rid of the last of the misguided debian/rules NMU debris :-/ | ||
637 | |||
638 | -- Philip Hands <phil@hands.com> Sat, 24 Mar 2001 20:59:33 +0000 | ||
639 | |||
640 | openssh (1:2.5.1p2-2) unstable; urgency=low | ||
641 | |||
642 | * rebuild with new debhelper (closes: #89558, #89536, #90225) | ||
643 | * fix broken dpkg-statoverride test in postinst | ||
644 | (closes: #89612, #90474, #90460, #89605) | ||
645 | * NMU bug fixed but not closed in last upload (closes: #88206) | ||
646 | |||
647 | -- Philip Hands <phil@hands.com> Fri, 23 Mar 2001 16:11:33 +0000 | ||
648 | |||
649 | openssh (1:2.5.1p2-1) unstable; urgency=high | ||
650 | |||
651 | * New upstream release | ||
652 | * fix typo in postinst (closes: #88110) | ||
653 | * revert to setting PAM service name in debian/rules, backing out last | ||
654 | NMU, which also (closes: #88101) | ||
655 | * restore the pam lastlog/motd lines, lost during the NMUs, and sshd_config | ||
656 | * restore printlastlog option patch | ||
657 | * revert to using debhelper, which had been partially disabled in NMUs | ||
658 | |||
659 | -- Philip Hands <phil@hands.com> Tue, 13 Mar 2001 01:41:34 +0000 | ||
660 | |||
661 | openssh (1:2.5.1p1-1.8) unstable; urgency=high | ||
662 | |||
663 | * And now the old pam-bug s/sshd/ssh in ssh.c is also fixed | ||
664 | |||
665 | -- Christian Kurz <shorty@debian.org> Thu, 1 Mar 2001 19:48:01 +0100 | ||
666 | |||
667 | openssh (1:2.5.1p1-1.7) unstable; urgency=high | ||
668 | |||
669 | * And now we mark the correct binary as setuid, when a user requested | ||
670 | to install it setuid. | ||
671 | |||
672 | -- Christian Kurz <shorty@debian.org> Thu, 1 Mar 2001 07:19:56 +0100 | ||
673 | |||
674 | openssh (1:2.5.1p1-1.6) unstable; urgency=high | ||
675 | |||
676 | * Fixes postinst to handle overrides that are already there. Damn, I | ||
677 | should have noticed the bug earlier. | ||
678 | |||
679 | -- Christian Kurz <shorty@debian.org> Wed, 28 Feb 2001 22:35:00 +0100 | ||
680 | |||
681 | openssh (1:2.5.1p1-1.5) unstable; urgency=high | ||
682 | |||
683 | * Rebuild ssh with pam-support. | ||
684 | |||
685 | -- Christian Kurz <shorty@debian.org> Mon, 26 Feb 2001 21:55:51 +0100 | ||
686 | |||
687 | openssh (1:2.5.1p1-1.4) unstable; urgency=low | ||
688 | |||
689 | * Added Build-Depends on libssl096-dev. | ||
690 | * Fixed sshd_config file to disallow root logins again. | ||
691 | |||
692 | -- Christian Kurz <shorty@debian.org> Sun, 25 Feb 2001 20:03:55 +0100 | ||
693 | |||
694 | openssh (1:2.5.1p1-1.3) unstable; urgency=low | ||
695 | |||
696 | * Fixed missing manpages for sftp.1 and ssh-keyscan.1 | ||
697 | * Made package policy 3.5.2 compliant. | ||
698 | |||
699 | -- Christian Kurz <shorty@debian.org> Sun, 25 Feb 2001 15:46:26 +0100 | ||
700 | |||
701 | openssh (1:2.5.1p1-1.2) unstable; urgency=low | ||
702 | |||
703 | * Added Conflict with sftp, since we now provide our own sftp-client. | ||
704 | * Added a fix for our broken dpkg-statoverride call in the | ||
705 | 2.3.0p1-13. | ||
706 | * Fixed some config pathes in the comments of sshd_config. | ||
707 | * Removed ssh-key-exchange-vulnerability-patch since it's not needed | ||
708 | anymore because upstream included the fix. | ||
709 | |||
710 | -- Christian Kurz <shorty@debian.org> Sun, 25 Feb 2001 13:46:58 +0100 | ||
711 | |||
712 | openssh (1:2.5.1p1-1.1) unstable; urgency=high | ||
713 | |||
714 | * Another NMU to get the new upstream version 2.5.1p1 into | ||
715 | unstable. (Closes: #87123) | ||
716 | * Corrected postinst to mark ssh as setuid. (Closes: #86391, #85766) | ||
717 | * Key Exchange patch is already included by upstream. (Closes: #86015) | ||
718 | * Upgrading should be possible now. (Closes: #85525, #85523) | ||
719 | * Added --disable-suid-ssh as compile option, so ssh won't get installed | ||
720 | suid per default. | ||
721 | * Fixed postinst to run dpkg-statoverride only, when dpkg-statoverride | ||
722 | is available and the mode of the binary should be 4755. And also added | ||
723 | suggestion for a newer dpkg. | ||
724 | (Closes: #85734, #85741, #86876) | ||
725 | * sftp and ssh-keyscan will also be included from now on. (Closes: #79994) | ||
726 | * scp now understands spaces in filenames (Closes: #53783, #58958, | ||
727 | #66723) | ||
728 | * ssh-keygen now supports showing DSA fingerprints. (Closes: #68623) | ||
729 | * ssh doesn' t show motd anymore when switch -t is used. (Closes #69035) | ||
730 | * ssh supports the usage of other dsa keys via the ssh command line | ||
731 | options. (Closes: #81250) | ||
732 | * Documentation in sshd_config fixed. (Closes: #81088) | ||
733 | * primes file included by upstream and included now. (Closes: #82101) | ||
734 | * scp now allows dots in the username. (Closes: #82477) | ||
735 | * Spelling error in ssh-copy-id.1 corrected by upstream. (Closes: #78124) | ||
736 | |||
737 | -- Christian Kurz <shorty@debian.org> Sun, 25 Feb 2001 10:06:08 +0100 | ||
738 | |||
739 | openssh (1:2.3.0p1-1.13) unstable; urgency=low | ||
740 | |||
741 | * Config should now also be fixed with this hopefully last NMU. | ||
742 | |||
743 | -- Christian Kurz <shorty@debian.org> Sat, 10 Feb 2001 22:56:36 +0100 | ||
744 | |||
745 | openssh (1:2.3.0p1-1.12) unstable; urgency=high | ||
746 | |||
747 | * Added suggest for xbase-clients to control-file. (Closes #85227) | ||
748 | * Applied patch from Markus Friedl to fix a vulnerability in | ||
749 | the rsa keyexchange. | ||
750 | * Fixed position of horizontal line. (Closes: #83613) | ||
751 | * Fixed hopefully the grep problem in the config-file. (Closes: #78802) | ||
752 | * Converted package from suidregister to dpkg-statoverride. | ||
753 | |||
754 | -- Christian Kurz <shorty@debian.org> Fri, 9 Feb 2001 19:43:55 +0100 | ||
755 | |||
756 | openssh (1:2.3.0p1-1.11) unstable; urgency=medium | ||
757 | |||
758 | * Fixed some typos in the german translation of the debconf | ||
759 | template. | ||
760 | |||
761 | -- Christian Kurz <shorty@debian.org> Wed, 24 Jan 2001 18:22:38 +0100 | ||
762 | |||
763 | openssh (1:2.3.0p1-1.10) unstable; urgency=medium | ||
764 | |||
765 | * Fixed double printing of motd. (Closes: #82618) | ||
766 | |||
767 | -- Christian Kurz <shorty@debian.org> Tue, 23 Jan 2001 21:03:43 +0100 | ||
768 | |||
769 | openssh (1:2.3.0p1-1.9) unstable; urgency=high | ||
770 | |||
771 | * And the next NMU which includes the patch from Andrew Bartlett | ||
772 | and Markus Friedl to fix the root privileges handling of openssh. | ||
773 | (Closes: #82657) | ||
774 | |||
775 | -- Christian Kurz <shorty@debian.org> Wed, 17 Jan 2001 22:20:54 +0100 | ||
776 | |||
777 | openssh (1:2.3.0p1-1.8) unstable; urgency=high | ||
778 | |||
779 | * Applied fix from Ryan Murray to allow building on other architectures | ||
780 | since the hurd patch was wrong. (Closes: #82471) | ||
781 | |||
782 | -- Christian Kurz <shorty@debian.org> Tue, 16 Jan 2001 22:45:51 +0100 | ||
783 | |||
784 | openssh (1:2.3.0p1-1.7) unstable; urgency=medium | ||
785 | |||
786 | * Fixed another typo on sshd_config | ||
787 | |||
788 | -- Christian Kurz <shorty@debian.org> Sun, 14 Jan 2001 19:01:31 +0100 | ||
789 | |||
790 | openssh (1:2.3.0p1-1.6) unstable; urgency=high | ||
791 | |||
792 | * Added Build-Dependency on groff (Closes: #81886) | ||
793 | * Added Build-Depencency on debhelper (Closes: #82072) | ||
794 | * Fixed entry for known_hosts in sshd_config (Closes: #82096) | ||
795 | |||
796 | -- Christian Kurz <shorty@debian.org> Thu, 11 Jan 2001 23:08:16 +0100 | ||
797 | |||
798 | openssh (1:2.3.0p1-1.5) unstable; urgency=high | ||
799 | |||
800 | * Fixed now also the problem with sshd used as default ipv4 and | ||
801 | didn't use IPv6. This should be now fixed. | ||
802 | |||
803 | -- Christian Kurz <shorty@debian.org> Thu, 11 Jan 2001 21:25:55 +0100 | ||
804 | |||
805 | openssh (1:2.3.0p1-1.4) unstable; urgency=high | ||
806 | |||
807 | * Fixed buggy entry in postinst. | ||
808 | |||
809 | -- Christian Kurz <shorty@debian.org> Wed, 10 Jan 2001 23:12:16 +0100 | ||
810 | |||
811 | openssh (1:2.3.0p1-1.3) unstable; urgency=high | ||
812 | |||
813 | * After finishing the rewrite of the rules-file I had to notice that | ||
814 | the manpage installation was broken. This should now work again. | ||
815 | |||
816 | -- Christian Kurz <shorty@debian.org> Wed, 10 Jan 2001 22:11:59 +0100 | ||
817 | |||
818 | openssh (1:2.3.0p1-1.2) unstable; urgency=high | ||
819 | |||
820 | * Fixed the screwed up build-dependency. | ||
821 | * Removed --with-ipv4-default to support ipv6. | ||
822 | * Changed makefile to use /etc/pam.d/ssh instead of /etc/pam.d/sshd. | ||
823 | * Fixed location to sftp-server in config. | ||
824 | * Since debian still relies on /etc/pam.d/ssh instead of moving to | ||
825 | /etc/pam.d/sshd, I had to hack ssh.h to get ssh to use this name. | ||
826 | * Fixed path to host key in sshd_config. | ||
827 | |||
828 | -- Christian Kurz <shorty@debian.org> Wed, 10 Jan 2001 08:23:47 +0100 | ||
829 | |||
830 | openssh (1:2.3.0p1-1.1) unstable; urgency=medium | ||
831 | |||
832 | * NMU with permission of Phil Hands. | ||
833 | * New upstream release | ||
834 | * Update Build-Depends to point to new libssl096. | ||
835 | * This upstream release doesn't leak any information depending | ||
836 | on the setting of PermitRootLogin (Closes: #59933) | ||
837 | * New upstream release contains fix against forcing a client to | ||
838 | do X/agent forwarding (Closes: #76788) | ||
839 | * Changed template to contain correct path to the documentation | ||
840 | (Closes: #67245) | ||
841 | * Added --with-4in6 switch as compile option into debian/rules. | ||
842 | * Added --with-ipv4-default as compile option into debian/rules. | ||
843 | (Closes: #75037) | ||
844 | * Changed default path to also contain /usr/local/bin and | ||
845 | /usr/X11R6/bin (Closes: #62472,#54567,#62810) | ||
846 | * Changed path to sftp-server in sshd_config to match the | ||
847 | our package (Closes: #68347) | ||
848 | * Replaced OpenBSDh with OpenBSD in the init-script. | ||
849 | * Changed location to original source in copyright.head | ||
850 | * Changed behaviour of init-script when invoked with the option | ||
851 | restart (Closes: #68706,#72560) | ||
852 | * Added a note about -L option of scp to README.Debian | ||
853 | * ssh won't print now the motd if invoked with -t option | ||
854 | (Closes: #59933) | ||
855 | * RFC.nroff.gz get's now converted into RFC.gz. (Closes: #63867) | ||
856 | * Added a note about tcp-wrapper support to README.Debian | ||
857 | (Closes: #72807,#22190) | ||
858 | * Removed two unneeded options from building process. | ||
859 | * Added sshd.pam into debian dir and install it. | ||
860 | * Commented out unnecessary call to dh_installinfo. | ||
861 | * Added a line to sshd.pam so that limits will be paid attention | ||
862 | to (Closes: #66904) | ||
863 | * Restart Option has a Timeout of 10 seconds (Closes: 51264) | ||
864 | * scp won't override files anymore (Closes: 51955) | ||
865 | * Removed pam_lastlog module, so that the lastlog is now printed | ||
866 | only once (Closes: #71742, #68335, #69592, #71495, #77781) | ||
867 | * If password is expired, openssh now forces the user to change it. | ||
868 | (Closes: #51747) | ||
869 | * scp should now have no more problems with shell-init-files that | ||
870 | produces ouput (Closes: #56280,#59873) | ||
871 | * ssh now prints the motd correctly (Closes: #66926) | ||
872 | * ssh upgrade should disable ssh daemon only if users has choosen | ||
873 | to do so (Closes: #67478) | ||
874 | * ssh can now be installed suid (Closes: #70879) | ||
875 | * Modified debian/rules to support hurd. | ||
876 | |||
877 | -- Christian Kurz <shorty@debian.org> Wed, 27 Dec 2000 20:06:57 +0100 | ||
878 | |||
879 | openssh (1:2.2.0p1-1.1) unstable; urgency=medium | ||
880 | |||
881 | * Non-Maintainer Upload | ||
882 | * Check for new returns in the new libc | ||
883 | (closes: #72803, #74393, #72797, #71307, #71702) | ||
884 | * Link against libssl095a (closes: #66304) | ||
885 | * Correct check for PermitRootLogin (closes: #69448) | ||
886 | |||
887 | -- Ryan Murray <rmurray@debian.org> Wed, 18 Oct 2000 00:48:18 -0700 | ||
888 | |||
889 | openssh (1:2.2.0p1-1) unstable; urgency=low | ||
890 | |||
891 | * New upstream release | ||
892 | |||
893 | -- Philip Hands <phil@hands.com> Mon, 11 Sep 2000 14:49:43 +0100 | ||
894 | |||
895 | openssh (1:2.1.1p4-3) unstable; urgency=low | ||
896 | |||
897 | * add rsh alternatives | ||
898 | * add -S option to scp (using Tommi Virtanen's patch) (closes: #63097) | ||
899 | * do the IPV4_DEFAULT thing properly this time | ||
900 | |||
901 | -- Philip Hands <phil@hands.com> Fri, 11 Aug 2000 18:14:37 +0100 | ||
902 | |||
903 | openssh (1:2.1.1p4-2) unstable; urgency=low | ||
904 | |||
905 | * reinstate manpage .out patch from 1:1.2.3 | ||
906 | * fix typo in postinst | ||
907 | * only compile ssh with IPV4_DEFAULT | ||
908 | * apply James Troup's patch to add a -o option to scp and updated manpage | ||
909 | |||
910 | -- Philip Hands <phil@hands.com> Sun, 30 Jul 2000 00:12:49 +0100 | ||
911 | |||
912 | openssh (1:2.1.1p4-1) unstable; urgency=low | ||
913 | |||
914 | * New upstream release | ||
915 | |||
916 | -- Philip Hands <phil@hands.com> Sat, 29 Jul 2000 14:46:16 +0100 | ||
917 | |||
918 | openssh (1:1.2.3-10) unstable; urgency=low | ||
919 | |||
920 | * add version to libpam-modules dependency, because old versions of | ||
921 | pam_motd make it impossible to log in. | ||
922 | |||
923 | -- Philip Hands <phil@hands.com> Sat, 29 Jul 2000 13:28:22 +0100 | ||
924 | |||
925 | openssh (1:1.2.3-9) frozen unstable; urgency=low | ||
926 | |||
927 | * force location of /usr/bin/X11/xauth | ||
928 | (closes: #64424, #66437, #66859) *RC* | ||
929 | * typos in config (closes: #66779, #66780) | ||
930 | * sshd_not_to_be_run could be assumed to be true, in error, if the config | ||
931 | script died in an unusual way --- I've reversed this (closes: #66335) | ||
932 | * Apply Zack Weinberg <zack@wolery.cumb.org>'s patch to ssh-askpass-ptk | ||
933 | (closes: #65981) | ||
934 | * change default for PermitRootLogin to "no" (closes: #66406) | ||
935 | |||
936 | -- Philip Hands <phil@hands.com> Tue, 11 Jul 2000 20:51:18 +0100 | ||
937 | |||
938 | openssh (1:1.2.3-8) frozen unstable; urgency=low | ||
939 | |||
940 | * get rid of Provides: rsh-server (this will mean that rstartd | ||
941 | will need to change it's depends to deal with #63948, which I'm | ||
942 | reopening) (closes: #66257) | ||
943 | Given that this is also a trivial change, and is a reversal of a | ||
944 | change that was mistakenly made after the freeze, I think this should | ||
945 | also go into frozen. | ||
946 | |||
947 | -- Philip Hands <phil@hands.com> Wed, 28 Jun 2000 03:26:30 +0100 | ||
948 | |||
949 | openssh (1:1.2.3-7) frozen unstable; urgency=low | ||
950 | |||
951 | * check if debconf is installed before calling db_stop in postinst. | ||
952 | This is required to allow ssh to be installed when debconf is not | ||
953 | wanted, which probably makes it an RC upload (hopefully the last of | ||
954 | too many). | ||
955 | |||
956 | -- Philip Hands <phil@hands.com> Wed, 28 Jun 2000 03:19:47 +0100 | ||
957 | |||
958 | openssh (1:1.2.3-6) frozen unstable; urgency=low | ||
959 | |||
960 | * fixed depressing little bug involving a line wrap looking like | ||
961 | a blank line in the templates file *RC* | ||
962 | (closes: #66090, #66078, #66083, #66182) | ||
963 | |||
964 | -- Philip Hands <phil@hands.com> Mon, 26 Jun 2000 00:45:05 +0100 | ||
965 | |||
966 | openssh (1:1.2.3-5) frozen unstable; urgency=low | ||
967 | |||
968 | * add code to prevent UseLogin exploit, although I think our PAM | ||
969 | conditional code breaks UseLogin in a way that protects us from this | ||
970 | exploit anyway. ;-) (closes: #65495) *RC* | ||
971 | * Apply Zack Weinberg <zack@wolery.cumb.org>'s patch to fix keyboard | ||
972 | grab vulnerability in ssh-askpass-gnome (closes: #64795) *RC* | ||
973 | * stop redirection of sshd's file descriptors (introduced in 1:1.2.3-3) | ||
974 | and use db_stop in the postinst to solve that problem instead | ||
975 | (closes: #65104) | ||
976 | * add Provides: rsh-server to ssh (closes: #63948) | ||
977 | * provide config option not to run sshd | ||
978 | |||
979 | -- Philip Hands <phil@hands.com> Mon, 12 Jun 2000 23:05:11 +0100 | ||
980 | |||
981 | openssh (1:1.2.3-4) frozen unstable; urgency=low | ||
982 | |||
983 | * fixes #63436 which is *RC* | ||
984 | * add 10 second pause in init.d restart (closes: #63844) | ||
985 | * get rid of noenv in PAM mail line (closes: #63856) | ||
986 | * fix host key path in make-ssh-known-hosts (closes: #63713) | ||
987 | * change wording of SUID template (closes: #62788, #63436) | ||
988 | |||
989 | -- Philip Hands <phil@hands.com> Sat, 27 May 2000 11:18:06 +0100 | ||
990 | |||
991 | openssh (1:1.2.3-3) frozen unstable; urgency=low | ||
992 | |||
993 | * redirect sshd's file descriptors to /dev/null in init to | ||
994 | prevent debconf from locking up during installation | ||
995 | ** grave bug just submited by me ** | ||
996 | |||
997 | -- Philip Hands <phil@hands.com> Thu, 20 Apr 2000 17:10:59 +0100 | ||
998 | |||
999 | openssh (1:1.2.3-2) frozen unstable; urgency=low | ||
1000 | |||
1001 | * allow user to select SUID status of /usr/bin/ssh (closes: 62462) ** RC ** | ||
1002 | * suggest debconf | ||
1003 | * conflict with debconf{,-tiny} (<<0.2.17) so I can clean up the preinst | ||
1004 | |||
1005 | -- Philip Hands <phil@hands.com> Wed, 19 Apr 2000 17:49:15 +0100 | ||
1006 | |||
1007 | openssh (1:1.2.3-1) frozen unstable; urgency=low | ||
1008 | |||
1009 | * New upstream release | ||
1010 | * patch sshd to create extra xauth key required for localhost | ||
1011 | (closes: #49944) *** RC *** | ||
1012 | * FallbacktoRsh now defaults to ``no'' to match impression | ||
1013 | given in sshd_config | ||
1014 | * stop setting suid bit on ssh (closes: #58711, #58558) | ||
1015 | This breaks Rhosts authentication (which nobody uses) and allows | ||
1016 | the LD_PRELOAD trick to get socks working, so seems like a net benefit. | ||
1017 | |||
1018 | -- Philip Hands <phil@hands.com> Thu, 13 Apr 2000 20:01:54 +0100 | ||
1019 | |||
1020 | openssh (1:1.2.2-1.4) frozen unstable; urgency=low | ||
1021 | |||
1022 | * Recompile for frozen, contains fix for RC bug. | ||
1023 | |||
1024 | -- Tommi Virtanen <tv@debian.org> Tue, 29 Feb 2000 22:14:58 +0200 | ||
1025 | |||
1026 | openssh (1:1.2.2-1.3) unstable; urgency=low | ||
1027 | |||
1028 | * Integrated man page addition for PrintLastLog. | ||
1029 | This bug was filed on "openssh", and I ended up | ||
1030 | creating my own patch for this (closes: #59054) | ||
1031 | * Improved error message when ssh_exchange_identification | ||
1032 | gets EOF (closes: #58904) | ||
1033 | * Fixed typo (your -> you're) in debian/preinst. | ||
1034 | * Added else-clauses to config to make this upgradepath possible: | ||
1035 | oldssh -> openssh preinst fails due to upgrade_to_openssh=false | ||
1036 | -> ssh-nonfree -> openssh. Without these, debconf remembered | ||
1037 | the old answer, config didn't force asking it, and preinst always | ||
1038 | aborted (closes: #56596, #57782) | ||
1039 | * Moved setting upgrade_to_openssh isdefault flag to the place | ||
1040 | where preinst would abort. This means no double question to most | ||
1041 | users, people who currently suffer from "can't upgrade" may need | ||
1042 | to run apt-get install ssh twice. Did not do the same for | ||
1043 | use_old_init_script, as the situation is a bit different, and | ||
1044 | less common (closes: #54010, #56224) | ||
1045 | * Check for existance of ssh-keygen before attempting to use it in | ||
1046 | preinst, added warning for non-existant ssh-keygen in config. This | ||
1047 | happens when the old ssh is removed (say, due to ssh-nonfree getting | ||
1048 | installed). | ||
1049 | |||
1050 | -- Tommi Virtanen <tv@debian.org> Sun, 27 Feb 2000 21:36:43 +0200 | ||
1051 | |||
1052 | openssh (1:1.2.2-1.2) frozen unstable; urgency=low | ||
1053 | |||
1054 | * Non-maintainer upload. | ||
1055 | * Added configuration option PrintLastLog, default off due to PAM | ||
1056 | (closes: #54007, #55042) | ||
1057 | * ssh-askpass-{gnome,ptk} now provide ssh-askpass, making ssh's | ||
1058 | Suggests: line more accurate. Also closing related bugs fixed | ||
1059 | earlier, when default ssh-askpass moved to /usr/bin. | ||
1060 | (closes: #52403, #54741, #50607, #52298, #50967, #51661) | ||
1061 | * Patched to call vhangup, with autoconf detection and all | ||
1062 | (closes: #55379) | ||
1063 | * Added --with-ipv4-default workaround to a glibc bug causing | ||
1064 | slow DNS lookups, as per UPGRADING. Use -6 to really use | ||
1065 | IPv6 addresses. (closes: #57891, #58744, #58713, #57970) | ||
1066 | * Added noenv to PAM pam_mail line. Thanks to Ben Collins. | ||
1067 | (closes: #58429) | ||
1068 | * Added the UPGRADING file to the package. | ||
1069 | * Added frozen to the changelog line and recompiled before | ||
1070 | package was installed into the archive. | ||
1071 | |||
1072 | -- Tommi Virtanen <tv@debian.org> Fri, 25 Feb 2000 22:08:57 +0200 | ||
1073 | |||
1074 | openssh (1:1.2.2-1.1) frozen unstable; urgency=low | ||
1075 | |||
1076 | * Non-maintainer upload. | ||
1077 | * Integrated scp pipe buffer patch from Ben Collins | ||
1078 | <benc@debian.org>, should now work even if reading | ||
1079 | a pipe gives less than fstat st_blksize bytes. | ||
1080 | Should now work on Alpha and Sparc Linux (closes: #53697, #52071) | ||
1081 | * Made ssh depend on libssl09 (>= 0.9.4-3) (closes: #51393) | ||
1082 | * Integrated patch from Ben Collins <benc@debian.org> | ||
1083 | to do full shadow account locking and expiration | ||
1084 | checking (closes: #58165, #51747) | ||
1085 | |||
1086 | -- Tommi Virtanen <tv@debian.org> Tue, 22 Feb 2000 20:46:12 +0200 | ||
1087 | |||
1088 | openssh (1:1.2.2-1) frozen unstable; urgency=medium | ||
1089 | |||
1090 | * New upstream release (closes: #56870, #56346) | ||
1091 | * built against new libesd (closes: #56805) | ||
1092 | * add Colin Watson <cjw44@cam.ac.uk> =NULL patch | ||
1093 | (closes: #49902, #54894) | ||
1094 | * use socketpairs as suggested by Andrew Tridgell to eliminate rsync | ||
1095 | (and other) lockups | ||
1096 | * patch SSHD_PAM_SERVICE back into auth-pam.c, again :-/ | ||
1097 | (closes: #49902, #55872, #56959) | ||
1098 | * uncoment the * line in ssh_config (closes: #56444) | ||
1099 | |||
1100 | * #54894 & #49902 are release critical, so this should go in frozen | ||
1101 | |||
1102 | -- Philip Hands <phil@hands.com> Wed, 9 Feb 2000 04:52:04 +0000 | ||
1103 | |||
1104 | openssh (1:1.2.1pre24-1) unstable; urgency=low | ||
1105 | |||
1106 | * New upstream release | ||
1107 | |||
1108 | -- Philip Hands <phil@hands.com> Fri, 31 Dec 1999 02:47:24 +0000 | ||
1109 | |||
1110 | openssh (1:1.2.1pre23-1) unstable; urgency=low | ||
1111 | |||
1112 | * New upstream release | ||
1113 | * excape ? in /etc/init.d/ssh (closes: #53269) | ||
1114 | |||
1115 | -- Philip Hands <phil@hands.com> Wed, 29 Dec 1999 16:50:46 +0000 | ||
1116 | |||
1117 | openssh (1:1.2pre17-1) unstable; urgency=low | ||
1118 | |||
1119 | * New upstream release | ||
1120 | |||
1121 | -- Philip Hands <phil@hands.com> Thu, 9 Dec 1999 16:50:40 +0000 | ||
1122 | |||
1123 | openssh (1:1.2pre16-1) unstable; urgency=low | ||
1124 | |||
1125 | * New upstream release | ||
1126 | * upstream release (1.2pre14) (closes: #50299) | ||
1127 | * make ssh depend on libwrap0 (>= 7.6-1.1) (closes: #50973, #50776) | ||
1128 | * dispose of grep -q broken pipe message in config script (closes: #50855) | ||
1129 | * add make-ssh-known-hosts (closes: #50660) | ||
1130 | * add -i option to ssh-copy-id (closes: #50657) | ||
1131 | * add check for *LK* in password, indicating a locked account | ||
1132 | |||
1133 | -- Philip Hands <phil@hands.com> Wed, 8 Dec 1999 22:59:38 +0000 | ||
1134 | |||
1135 | openssh (1:1.2pre13-1) unstable; urgency=low | ||
1136 | |||
1137 | * New upstream release | ||
1138 | * make sshd.c use SSHD_PAM_SERVICE and define it as "ssh" in debian/rules | ||
1139 | * remove duplicate line in /etc/pam.d/ssh (closes: #50310) | ||
1140 | * mention ssh -A option in ssh.1 & ssh_config | ||
1141 | * enable forwarding to localhost in default ssh_config (closes: #50373) | ||
1142 | * tweak preinst to deal with debconf being `unpacked' | ||
1143 | * use --with-tcp-wrappers (closes: #49545) | ||
1144 | |||
1145 | -- Philip Hands <phil@hands.com> Sat, 20 Nov 1999 14:20:04 +0000 | ||
1146 | |||
1147 | openssh (1:1.2pre11-2) unstable; urgency=low | ||
1148 | |||
1149 | * oops, just realised that I forgot to strip out the unpleasant | ||
1150 | fiddling mentioned below (which turned not to be a fix anyway) | ||
1151 | |||
1152 | -- Philip Hands <phil@hands.com> Mon, 15 Nov 1999 01:35:23 +0000 | ||
1153 | |||
1154 | openssh (1:1.2pre11-1) unstable; urgency=low | ||
1155 | |||
1156 | * New upstream release (closes: #49722) | ||
1157 | * add 2>/dev/null to dispose of spurious message casused by grep -q | ||
1158 | (closes: #49876, #49604) | ||
1159 | * fix typo in debian/control (closes: #49841) | ||
1160 | * Do some unpleasant fiddling with upgraded keys in the preinst, which | ||
1161 | should make the keylength problem go away. (closes: #49676) | ||
1162 | * make pam_start in sshd use ``ssh'' as the service name (closes: #49956) | ||
1163 | * If /etc/ssh/NOSERVER exist, stop sshd from starting (closes: #47107) | ||
1164 | * apply Ben Collins <bcollins@debian.org>'s shadow patch | ||
1165 | * disable lastlogin and motd printing if using pam (closes: #49957) | ||
1166 | * add ssh-copy-id script and manpage | ||
1167 | |||
1168 | -- Philip Hands <phil@hands.com> Fri, 12 Nov 1999 01:03:38 +0000 | ||
1169 | |||
1170 | openssh (1:1.2pre9-1) unstable; urgency=low | ||
1171 | |||
1172 | * New upstream release | ||
1173 | * apply Chip Salzenberg <chip@valinux.com>'s SO_REUSEADDR patch | ||
1174 | to channels.c, to make forwarded ports instantly reusable | ||
1175 | * replace Pre-Depend: debconf with some check code in preinst | ||
1176 | * make the ssh-add ssh-askpass failure message more helpful | ||
1177 | * fix the ssh-agent getopts bug (closes: #49426) | ||
1178 | * fixed typo on Suggests: line (closes: #49704, #49571) | ||
1179 | * tidy up ssh package description (closes: #49642) | ||
1180 | * make ssh suid (closes: #49635) | ||
1181 | * in preinst upgrade code, ensure ssh_host_keys is mode 600 (closes: #49606) | ||
1182 | * disable agent forwarding by default, for the similar reasons as | ||
1183 | X forwarding (closes: #49586) | ||
1184 | |||
1185 | -- Philip Hands <phil@hands.com> Tue, 9 Nov 1999 09:57:47 +0000 | ||
1186 | |||
1187 | openssh (1:1.2pre7-4) unstable; urgency=low | ||
1188 | |||
1189 | * predepend on debconf (>= 0.2.17) should now allow preinst questions | ||
1190 | |||
1191 | -- Philip Hands <phil@hands.com> Sat, 6 Nov 1999 10:31:06 +0000 | ||
1192 | |||
1193 | openssh (1:1.2pre7-3) unstable; urgency=low | ||
1194 | |||
1195 | * add ssh-askpass package using Tommi Virtanen's perl-tk script | ||
1196 | * add ssh-preconfig package cludge | ||
1197 | * add usage hints to ssh-agent.1 | ||
1198 | |||
1199 | -- Philip Hands <phil@hands.com> Fri, 5 Nov 1999 00:38:33 +0000 | ||
1200 | |||
1201 | openssh (1:1.2pre7-2) unstable; urgency=low | ||
1202 | |||
1203 | * use pam patch from Ben Collins <bcollins@debian.org> | ||
1204 | * add slogin symlink to Makefile.in | ||
1205 | * change /usr/bin/login to LOGIN_PROGRAM define of /bin/login | ||
1206 | * sort out debconf usage | ||
1207 | * patch from Tommi Virtanen <tv@debian.org>'s makes ssh-add use ssh-askpass | ||
1208 | |||
1209 | -- Philip Hands <phil@hands.com> Thu, 4 Nov 1999 11:08:54 +0000 | ||
1210 | |||
1211 | openssh (1:1.2pre7-1) unstable; urgency=low | ||
1212 | |||
1213 | * New upstream release | ||
1214 | |||
1215 | -- Philip Hands <phil@hands.com> Tue, 2 Nov 1999 21:02:37 +0000 | ||
1216 | |||
1217 | openssh (1:1.2.0.pre6db1-2) unstable; urgency=low | ||
1218 | |||
1219 | * change the binary package name to ssh (the non-free branch of ssh has | ||
1220 | been renamed to ssh-nonfree) | ||
1221 | * make pam file comply with Debian standards | ||
1222 | * use an epoch to make sure openssh supercedes ssh-nonfree | ||
1223 | |||
1224 | -- Philip Hands <phil@hands.com> Sat, 30 Oct 1999 16:26:05 +0100 | ||
1225 | |||
1226 | openssh (1.2pre6db1-1) unstable; urgency=low | ||
1227 | |||
1228 | * New upstream source | ||
1229 | * sshd accepts logins now! | ||
1230 | |||
1231 | -- Dan Brosemer <odin@linuxfreak.com> Fri, 29 Oct 1999 11:13:38 -0500 | ||
1232 | |||
1233 | openssh (1.2.0.19991028-1) unstable; urgency=low | ||
1234 | |||
1235 | * New upstream source | ||
1236 | * Added test for -lnsl to configure script | ||
1237 | |||
1238 | -- Dan Brosemer <odin@linuxfreak.com> Thu, 28 Oct 1999 18:52:09 -0500 | ||
1239 | |||
1240 | openssh (1.2.0.19991027-3) unstable; urgency=low | ||
1241 | |||
1242 | * Initial release | ||
1243 | |||
1244 | -- Dan Brosemer <odin@linuxfreak.com> Wed, 27 Oct 1999 19:39:46 -0500 | ||
1245 | |||
1246 | Local variables: | ||
1247 | mode: debian-changelog | ||
1248 | End: | ||
diff --git a/debian/conffiles b/debian/conffiles new file mode 100644 index 000000000..b5c7a47fc --- /dev/null +++ b/debian/conffiles | |||
@@ -0,0 +1,5 @@ | |||
1 | /etc/ssh/ssh_config | ||
2 | /etc/ssh/moduli | ||
3 | /etc/init.d/ssh | ||
4 | /etc/pam.d/ssh | ||
5 | /etc/default/ssh | ||
diff --git a/debian/config b/debian/config new file mode 100644 index 000000000..c25f2ae3f --- /dev/null +++ b/debian/config | |||
@@ -0,0 +1,100 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | action=$1 | ||
4 | version=$2 | ||
5 | |||
6 | if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then | ||
7 | version=1.2.27 | ||
8 | cp -a /etc/ssh-nonfree /etc/ssh | ||
9 | fi | ||
10 | |||
11 | # Source debconf library. | ||
12 | . /usr/share/debconf/confmodule | ||
13 | db_version 2.0 | ||
14 | |||
15 | if [ -n "$version" ] && dpkg --compare-versions "$version" lt 1:3.0p1-1 | ||
16 | then | ||
17 | db_input medium ssh/ssh2_keys_merged | ||
18 | fi | ||
19 | |||
20 | if [ -e /etc/init.d/ssh ] && ! grep -q pidfile /etc/init.d/ssh | ||
21 | then | ||
22 | db_fset ssh/use_old_init_script seen false | ||
23 | db_input medium ssh/use_old_init_script || true | ||
24 | db_go | ||
25 | |||
26 | db_get ssh/use_old_init_script | ||
27 | [ "$RET" = "false" ] && exit 0 | ||
28 | else | ||
29 | db_set ssh/use_old_init_script true | ||
30 | db_fset ssh/use_old_init_script seen true | ||
31 | fi | ||
32 | |||
33 | if [ -z "$version" -a ! -e /etc/ssh/sshd_config ] | ||
34 | then | ||
35 | db_input medium ssh/protocol2_only || true | ||
36 | fi | ||
37 | |||
38 | if [ -e /etc/ssh/sshd_config ] | ||
39 | then | ||
40 | if dpkg --compare-versions "$version" lt-nl 1:1.3 ; | ||
41 | then db_input medium ssh/new_config || true | ||
42 | db_go | ||
43 | db_get ssh/new_config | ||
44 | if [ "$RET" = "true" ]; | ||
45 | then db_input medium ssh/protocol2_only ||true | ||
46 | db_input high ssh/privsep_ask ||true | ||
47 | else db_input high ssh/privsep_tell ||true | ||
48 | fi | ||
49 | else db_input high ssh/privsep_tell ||true | ||
50 | fi | ||
51 | else db_input high ssh/privsep_tell ||true | ||
52 | fi | ||
53 | |||
54 | db_input medium ssh/SUID_client || true | ||
55 | |||
56 | # To be correct during initial installation, this relies on the desired | ||
57 | # default for run_sshd being "true". | ||
58 | if [ -e /etc/ssh/sshd_not_to_be_run ] | ||
59 | then | ||
60 | db_set ssh/run_sshd false | ||
61 | else | ||
62 | db_set ssh/run_sshd true | ||
63 | fi | ||
64 | db_input medium ssh/run_sshd || true | ||
65 | |||
66 | if [ -x /usr/sbin/in.telnetd ] && grep -q "^telnet\b" /etc/inetd.conf | ||
67 | then | ||
68 | if ! /usr/sbin/in.telnetd -? 2>&1 | grep -q ssl 2>/dev/null | ||
69 | then | ||
70 | db_input low ssh/insecure_telnetd || true | ||
71 | fi | ||
72 | fi | ||
73 | |||
74 | key=/etc/ssh/ssh_host_key | ||
75 | export key | ||
76 | if [ -n "$version" ] && [ -f $key ] && [ ! -x /usr/bin/ssh-keygen ] && | ||
77 | dpkg --compare-versions "$version" lt 1.2.28 | ||
78 | then | ||
79 | # make sure that keys get updated to get rid of IDEA; preinst | ||
80 | # actually does the work, but if the old ssh-keygen is not found, | ||
81 | # it can't do that -- thus, we tell the user that he must create | ||
82 | # a new host key. | ||
83 | echo -en '\0\0' | 3<&0 sh -c \ | ||
84 | 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || { | ||
85 | # this means that bytes 32&33 of the key were not both zero, in which | ||
86 | # case the key is encrypted, which we need to fix | ||
87 | db_input high ssh/encrypted_host_key_but_no_keygen || true | ||
88 | } | ||
89 | fi | ||
90 | |||
91 | |||
92 | db_input low ssh/forward_warning || true | ||
93 | |||
94 | if dpkg --compare-versions "$version" lt-nl 1:3.5p1-3; then | ||
95 | db_input high ssh/user_environment_tell || true | ||
96 | fi | ||
97 | |||
98 | db_go | ||
99 | |||
100 | exit 0 | ||
diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..046f157e4 --- /dev/null +++ b/debian/control | |||
@@ -0,0 +1,48 @@ | |||
1 | Source: openssh | ||
2 | Section: net | ||
3 | Priority: standard | ||
4 | Maintainer: Matthew Vernon <matthew@debian.org> | ||
5 | Build-Depends: libwrap0-dev | libwrap-dev, zlib1g-dev | libz-dev, libssl-dev, libpam0g-dev | libpam-dev, libgnomeui-dev (>= 2.0.0) | libgnome-dev, groff, debhelper (>=1.1.17), sharutils | ||
6 | Standards-Version: 3.6.1 | ||
7 | Uploaders: Colin Watson <cjwatson@debian.org> | ||
8 | |||
9 | Package: ssh | ||
10 | Architecture: any | ||
11 | Depends: ${shlibs:Depends}, ${debconf-depends}, libpam-modules (>= 0.72-9), adduser (>= 3.9) | ||
12 | Conflicts: ssh-nonfree (<<2), ssh-socks, ssh2, sftp, rsh-client (<<0.16.1-1) | ||
13 | Suggests: ssh-askpass, xbase-clients, dpkg (>=1.8.3.1), dnsutils | ||
14 | Provides: rsh-client | ||
15 | Description: Secure rlogin/rsh/rcp replacement (OpenSSH) | ||
16 | This is the portable version of OpenSSH, a free implementation of | ||
17 | the Secure Shell protocol as specified by the IETF secsh working | ||
18 | group. | ||
19 | . | ||
20 | Ssh (Secure Shell) is a program for logging into a remote machine | ||
21 | and for executing commands on a remote machine. | ||
22 | It provides secure encrypted communications between two untrusted | ||
23 | hosts over an insecure network. X11 connections and arbitrary TCP/IP | ||
24 | ports can also be forwarded over the secure channel. | ||
25 | It is intended as a replacement for rlogin, rsh and rcp, and can be | ||
26 | used to provide applications with a secure communication channel. | ||
27 | . | ||
28 | This package provides both the ssh client and the sshd server. | ||
29 | . | ||
30 | -------------------------------------------------------------------- | ||
31 | . | ||
32 | In some countries it may be illegal to use any encryption at all | ||
33 | without a special permit. | ||
34 | |||
35 | Package: ssh-askpass-gnome | ||
36 | Section: gnome | ||
37 | Priority: optional | ||
38 | Architecture: any | ||
39 | Depends: ${shlibs:Depends}, ssh (>=1:1.2pre7-4) | ssh-krb5 | ||
40 | Replaces: ssh (<< 1:3.5p1-3) | ||
41 | Provides: ssh-askpass | ||
42 | Description: under X, asks user for a passphrase for ssh-add | ||
43 | This has been split out of the main ssh package, so that the ssh will | ||
44 | not need to depend upon the Gnome libraries. | ||
45 | . | ||
46 | You probably want the ssh-askpass package instead, but this is | ||
47 | provided to add to your choice and/or confusion. | ||
48 | |||
diff --git a/debian/copyright.head b/debian/copyright.head new file mode 100644 index 000000000..6d95c8ae2 --- /dev/null +++ b/debian/copyright.head | |||
@@ -0,0 +1,37 @@ | |||
1 | This package was debianized by Philip Hands <phil@hands.com> on 31 Oct 1999 | ||
2 | (with help from Dan Brosemer <odin@linuxfreak.com>) | ||
3 | |||
4 | It was downloaded from here: | ||
5 | ftp://ftp.fu-berlin.de/unix/security/openssh/openssh-2.3.0p1.tar.gz | ||
6 | |||
7 | worldwide mirrors are listed here: | ||
8 | http://www.openssh.com/ftp.html | ||
9 | |||
10 | The Debian specific parts of the package are mostly taken from the | ||
11 | original ssh package, which has since been renamed as ssh-nonfree. | ||
12 | |||
13 | The Debian patch is distributed under the terms of the GPL, which you | ||
14 | can find in /usr/share/common-licenses/GPL. | ||
15 | |||
16 | The upstream source for this package is a combination of the ssh | ||
17 | branch that is being maintained by the OpenBSD team (starting from | ||
18 | the last version of SSH that was distributed under a free license), | ||
19 | and porting work by Damien Miller <damien@ibs.com.au> to get it | ||
20 | working on Linux. Other people also contributed to this, and are | ||
21 | credited in /usr/share/doc/ssh/README. | ||
22 | |||
23 | Copyright: | ||
24 | |||
25 | Code in helper.[ch] is Copyright Internet Business Solutions and is | ||
26 | released under a X11-style license (see source file for details). | ||
27 | |||
28 | (A)RC4 code in rc4.[ch] is Copyright Damien Miller. It too is under a | ||
29 | X11-style license (see source file for details). | ||
30 | |||
31 | make-ssh-known-hosts is Copyright Tero Kivinen <Tero.Kivinen@hut.fi>, | ||
32 | and is distributed under the GPL (see source file for details). | ||
33 | |||
34 | The copyright for the original SSH version follows. It has been | ||
35 | modified with [comments] to reflect the changes that the OpenBSD folks | ||
36 | have made: | ||
37 | |||
diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 000000000..1496845fc --- /dev/null +++ b/debian/dirs | |||
@@ -0,0 +1,8 @@ | |||
1 | usr/bin | ||
2 | usr/sbin | ||
3 | usr/lib | ||
4 | etc/ssh | ||
5 | etc/init.d | ||
6 | etc/default | ||
7 | usr/share/man/man1 | ||
8 | usr/share/man/man8 | ||
diff --git a/debian/gnome-ssh-askpass.1 b/debian/gnome-ssh-askpass.1 new file mode 100644 index 000000000..b74c410a8 --- /dev/null +++ b/debian/gnome-ssh-askpass.1 | |||
@@ -0,0 +1,51 @@ | |||
1 | .TH GNOME-SSH-ASKPASS 1 | ||
2 | .SH NAME | ||
3 | gnome\-ssh\-askpass \- prompts a user for a passphrase using GNOME | ||
4 | .SH SYNOPSIS | ||
5 | .B gnome\-ssh\-askpass | ||
6 | .SH DESCRIPTION | ||
7 | .B gnome\-ssh\-askpass | ||
8 | is a GNOME-based passphrase dialog for use with OpenSSH. | ||
9 | It is intended to be called by the | ||
10 | .BR ssh\-add (1) | ||
11 | program and not invoked directly. | ||
12 | It allows | ||
13 | .BR ssh\-add (1) | ||
14 | to obtain a passphrase from a user, even if not connected to a terminal | ||
15 | (assuming that an X display is available). | ||
16 | This happens automatically in the case where | ||
17 | .B ssh\-add | ||
18 | is invoked from one's | ||
19 | .B ~/.xsession | ||
20 | or as one of the GNOME startup programs, for example. | ||
21 | .PP | ||
22 | In order to be called automatically by | ||
23 | .BR ssh\-add , | ||
24 | .B gnome\-ssh\-askpass | ||
25 | should be installed as | ||
26 | .IR /usr/bin/ssh\-askpass . | ||
27 | .SH "ENVIRONMENT VARIABLES" | ||
28 | The following environment variables are recognized: | ||
29 | .TP | ||
30 | .I GNOME_SSH_ASKPASS_GRAB_SERVER | ||
31 | Causes | ||
32 | .B gnome\-ssh\-askpass | ||
33 | to grab the X server before asking for a passphrase. | ||
34 | .TP | ||
35 | .I GNOME_SSH_ASKPASS_GRAB_POINTER | ||
36 | Causes | ||
37 | .B gnome\-ssh\-askpass | ||
38 | to grab the mouse pointer using | ||
39 | .IR gdk_pointer_grab () | ||
40 | before asking for a passphrase. | ||
41 | .PP | ||
42 | Regardless of whether either of these environment variables is set, | ||
43 | .B gnome\-ssh\-askpass | ||
44 | will grab the keyboard using | ||
45 | .IR gdk_keyboard_grab (). | ||
46 | .SH AUTHOR | ||
47 | This manual page was written by Colin Watson <cjwatson@debian.org> | ||
48 | for the Debian system (but may be used by others). | ||
49 | It was based on that for | ||
50 | .B x11\-ssh\-askpass | ||
51 | by Philip Hands. | ||
diff --git a/debian/init b/debian/init new file mode 100644 index 000000000..641b9eff5 --- /dev/null +++ b/debian/init | |||
@@ -0,0 +1,75 @@ | |||
1 | #! /bin/sh | ||
2 | set -e | ||
3 | |||
4 | # /etc/init.d/ssh: start and stop the OpenBSD "secure shell(tm)" daemon | ||
5 | |||
6 | test -x /usr/sbin/sshd || exit 0 | ||
7 | ( /usr/sbin/sshd -\? 2>&1 | grep -q OpenSSH ) 2>/dev/null || exit 0 | ||
8 | |||
9 | if test -f /etc/default/ssh; then | ||
10 | . /etc/default/ssh | ||
11 | fi | ||
12 | |||
13 | check_for_no_start() { | ||
14 | # forget it if we're trying to start, and /etc/ssh/sshd_not_to_be_run exists | ||
15 | if [ -e /etc/ssh/sshd_not_to_be_run ]; then | ||
16 | echo "OpenBSD Secure Shell server not in use (/etc/ssh/sshd_not_to_be_run)" | ||
17 | exit 0 | ||
18 | fi | ||
19 | } | ||
20 | |||
21 | check_privsep_dir() { | ||
22 | # Create the PrivSep empty dir if necessary | ||
23 | if [ ! -d /var/run/sshd ]; then | ||
24 | mkdir /var/run/sshd | ||
25 | chmod 0755 /var/run/sshd | ||
26 | fi | ||
27 | } | ||
28 | |||
29 | check_config() { | ||
30 | if [ ! -e /etc/ssh/sshd_not_to_be_run ]; then | ||
31 | /usr/sbin/sshd -t || exit 1 | ||
32 | fi | ||
33 | } | ||
34 | |||
35 | export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" | ||
36 | |||
37 | case "$1" in | ||
38 | start) | ||
39 | check_for_no_start | ||
40 | check_privsep_dir | ||
41 | echo -n "Starting OpenBSD Secure Shell server: sshd" | ||
42 | start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPTS | ||
43 | echo "." | ||
44 | ;; | ||
45 | stop) | ||
46 | echo -n "Stopping OpenBSD Secure Shell server: sshd" | ||
47 | start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/sshd.pid | ||
48 | echo "." | ||
49 | ;; | ||
50 | |||
51 | reload|force-reload) | ||
52 | check_for_no_start | ||
53 | check_config | ||
54 | echo -n "Reloading OpenBSD Secure Shell server's configuration" | ||
55 | start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd | ||
56 | echo "." | ||
57 | ;; | ||
58 | |||
59 | restart) | ||
60 | check_config | ||
61 | echo -n "Restarting OpenBSD Secure Shell server: sshd" | ||
62 | start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/sshd.pid | ||
63 | check_for_no_start | ||
64 | check_privsep_dir | ||
65 | sleep 2 | ||
66 | start-stop-daemon --start --quiet --pidfile /var/run/sshd.pid --exec /usr/sbin/sshd -- $SSHD_OPTS | ||
67 | echo "." | ||
68 | ;; | ||
69 | |||
70 | *) | ||
71 | echo "Usage: /etc/init.d/ssh {start|stop|reload|force-reload|restart}" | ||
72 | exit 1 | ||
73 | esac | ||
74 | |||
75 | exit 0 | ||
diff --git a/debian/moduli.5 b/debian/moduli.5 new file mode 100644 index 000000000..b3997658b --- /dev/null +++ b/debian/moduli.5 | |||
@@ -0,0 +1,152 @@ | |||
1 | .\" $OpenBSD: moduli.5,v 1.7 2003/03/06 20:48:35 jmc Exp $ | ||
2 | .\" | ||
3 | .\" Copyright 1997, 2000 William Allen Simpson <wsimpson@greendragon.com> | ||
4 | .\" All rights reserved. | ||
5 | .\" | ||
6 | .\" Redistribution and use in source and binary forms, with or without | ||
7 | .\" modification, are permitted provided that the following conditions | ||
8 | .\" are met: | ||
9 | .\" 1. Redistributions of source code must retain the above copyright | ||
10 | .\" notice, this list of conditions and the following disclaimer. | ||
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
12 | .\" notice, this list of conditions and the following disclaimer in the | ||
13 | .\" documentation and/or other materials provided with the distribution. | ||
14 | .\" 3. All advertising materials mentioning features or use of this software | ||
15 | .\" must display the following acknowledgement: | ||
16 | .\" This product includes software designed by William Allen Simpson. | ||
17 | .\" 4. The name of the author may not be used to endorse or promote products | ||
18 | .\" derived from this software without specific prior written permission. | ||
19 | .\" | ||
20 | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
21 | .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
22 | .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
23 | .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
24 | .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
25 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
26 | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
27 | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
28 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
29 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
30 | .\" | ||
31 | .\" Manual page, using -mandoc macros | ||
32 | .\" | ||
33 | .Dd July 28, 1997 | ||
34 | .Dt MODULI 5 | ||
35 | .Os | ||
36 | .Sh NAME | ||
37 | .Nm moduli | ||
38 | .Nd system moduli file | ||
39 | .Sh DESCRIPTION | ||
40 | The | ||
41 | .Pa /etc/ssh/moduli | ||
42 | file contains the system-wide Diffie-Hellman prime moduli for | ||
43 | .Xr sshd 8 . | ||
44 | .Pp | ||
45 | Each line in this file contains the following fields: | ||
46 | Time, Type, Tests, Tries, Size, Generator, Modulus. | ||
47 | The fields are separated by white space (tab or blank). | ||
48 | .Pp | ||
49 | .Fa Time : yyyymmddhhmmss . | ||
50 | Specifies the system time that the line was appended to the file. | ||
51 | The value 00000000000000 means unknown (historic). | ||
52 | .\"The file is sorted in ascending order. | ||
53 | .Pp | ||
54 | .Fa Type : decimal . | ||
55 | Specifies the internal structure of the prime modulus. | ||
56 | .Pp | ||
57 | .Bl -tag -width indent -offset indent -compact | ||
58 | .It 0 : | ||
59 | unknown; | ||
60 | often learned from peer during protocol operation, | ||
61 | and saved for later analysis. | ||
62 | .It 1 : | ||
63 | unstructured; | ||
64 | a common large number. | ||
65 | .It 2 : | ||
66 | safe (p = 2q + 1); | ||
67 | meets basic structural requirements. | ||
68 | .It 3 : | ||
69 | Schnorr. | ||
70 | .It 4 : | ||
71 | Sophie-Germaine (q = (p-1)/2); | ||
72 | usually generated in the process of testing safe or strong primes. | ||
73 | .It 5 : | ||
74 | strong; | ||
75 | useful for RSA public key generation. | ||
76 | .El | ||
77 | .Pp | ||
78 | .Fa Tests : decimal (bit field) . | ||
79 | Specifies the methods used in checking for primality. | ||
80 | Usually, more than one test is used. | ||
81 | .Pp | ||
82 | .Bl -tag -width indent -offset indent -compact | ||
83 | .It 0 : | ||
84 | not tested; | ||
85 | often learned from peer during protocol operation, | ||
86 | and saved for later analysis. | ||
87 | .It 1 : | ||
88 | composite; | ||
89 | failed one or more tests. | ||
90 | In this case, the highest bit specifies the test that failed. | ||
91 | .It 2 : | ||
92 | sieve; | ||
93 | checked for division by a range of smaller primes. | ||
94 | .It 4 : | ||
95 | Miller-Rabin. | ||
96 | .It 8 : | ||
97 | Jacobi. | ||
98 | .It 16 : | ||
99 | Elliptic Curve. | ||
100 | .El | ||
101 | .Pp | ||
102 | .Fa Tries : decimal . | ||
103 | Depends on the value of the highest valid Test bit, | ||
104 | where the method specified is: | ||
105 | .Pp | ||
106 | .Bl -tag -width indent -offset indent -compact | ||
107 | .It 0 : | ||
108 | not tested | ||
109 | (always zero). | ||
110 | .It 1 : | ||
111 | composite | ||
112 | (irrelevant). | ||
113 | .It 2 : | ||
114 | sieve; | ||
115 | number of primes sieved. | ||
116 | Commonly on the order of 32,000,000. | ||
117 | .It 4 : | ||
118 | Miller-Rabin; | ||
119 | number of M-R iterations. | ||
120 | Commonly on the order of 32 to 64. | ||
121 | .It 8 : | ||
122 | Jacobi; | ||
123 | unknown | ||
124 | (always zero). | ||
125 | .It 16 : | ||
126 | Elliptic Curve; | ||
127 | unused | ||
128 | (always zero). | ||
129 | .El | ||
130 | .Pp | ||
131 | .Fa Size : decimal . | ||
132 | Specifies the number of significant bits. | ||
133 | .Pp | ||
134 | .Fa Generator : hex string . | ||
135 | Specifies the best generator for a Diffie-Hellman exchange. | ||
136 | 0 = unknown or variable, | ||
137 | 2, 3, 5, etc. | ||
138 | .Pp | ||
139 | .Fa Modulus : hex string . | ||
140 | The prime modulus. | ||
141 | .Pp | ||
142 | The file is searched for moduli that meet the appropriate | ||
143 | Time, Size and Generator criteria. | ||
144 | When more than one meet the criteria, | ||
145 | the selection should be weighted toward newer moduli, | ||
146 | without completely disqualifying older moduli. | ||
147 | .Sh FILES | ||
148 | .Bl -tag -width /etc/ssh/moduli -compact | ||
149 | .It Pa /etc/ssh/moduli | ||
150 | .El | ||
151 | .Sh SEE ALSO | ||
152 | .Xr sshd 8 | ||
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 000000000..302e5538b --- /dev/null +++ b/debian/po/POTFILES.in | |||
@@ -0,0 +1 @@ | |||
[type: gettext/rfc822deb] templates.master | |||
diff --git a/debian/po/da.po b/debian/po/da.po new file mode 100644 index 000000000..56a83f826 --- /dev/null +++ b/debian/po/da.po | |||
@@ -0,0 +1,376 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | #, fuzzy | ||
15 | msgid "" | ||
16 | msgstr "" | ||
17 | "Project-Id-Version: PACKAGE VERSION\n" | ||
18 | "Report-Msgid-Bugs-To: \n" | ||
19 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
20 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
21 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
22 | "Language-Team: LANGUAGE <LL@li.org>\n" | ||
23 | "MIME-Version: 1.0\n" | ||
24 | "Content-Type: text/plain; charset=ISO-8859-1\n" | ||
25 | "Content-Transfer-Encoding: 8bit\n" | ||
26 | |||
27 | #. Description | ||
28 | #: ../templates.master:3 | ||
29 | msgid "Privilege separation" | ||
30 | msgstr "Privilegie adskillelse" | ||
31 | |||
32 | #. Description | ||
33 | #: ../templates.master:3 | ||
34 | #, fuzzy | ||
35 | msgid "" | ||
36 | "Privilege separation is turned on by default, so if you decide you want it " | ||
37 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
38 | "sshd_config." | ||
39 | msgstr "" | ||
40 | "Privilegie adskillelse er slået til som standard, så hvis du beslutter at " | ||
41 | "slå det fra, skal du bruge \"UsePrivilegeSeparation no\" i /etc/ssh/" | ||
42 | "sshd_config." | ||
43 | |||
44 | #. Description | ||
45 | #: ../templates.master:19 | ||
46 | msgid "Enable Privilege separation" | ||
47 | msgstr "Aktiver Privilegie adskillelse" | ||
48 | |||
49 | #. Description | ||
50 | #: ../templates.master:19 | ||
51 | msgid "" | ||
52 | "This version of OpenSSH contains the new privilege separation option. This " | ||
53 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
54 | "reduces the impact of security holes in sshd." | ||
55 | msgstr "" | ||
56 | "Denne version af OpenSSH indeholder den nye privilegie adskillelses " | ||
57 | "mulighed. Det reducerer markant mængden af kode der kører som root, og " | ||
58 | "derfor reducerer det impakten på sikkerheds huller i sshd." | ||
59 | |||
60 | #. Description | ||
61 | #: ../templates.master:19 | ||
62 | msgid "" | ||
63 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
64 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
65 | "fail, and PAM keyboard-interactive authentication won't work." | ||
66 | msgstr "" | ||
67 | "Desværre, arbejder det ikke godt sammen med PAM. Ethvert PAM session modul " | ||
68 | "der skal køres som root (pam_mkhomedir, f.eks.) vil fejle, og PAM tastatur-" | ||
69 | "interaktive autentifikationer vil ikke virke." | ||
70 | |||
71 | #. Description | ||
72 | #: ../templates.master:19 | ||
73 | #, fuzzy | ||
74 | msgid "" | ||
75 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
76 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
77 | "you know you need to use PAM features that won't work with this option, you " | ||
78 | "should say yes here." | ||
79 | msgstr "" | ||
80 | "Siden du har bedt mig om at lave en sshd_config fil til dig, kan du vælge om " | ||
81 | "du vil have privilegie adskillelse slået til eller ej. Medmindre du kører " | ||
82 | "2.0 (i hvilket tilfælde du *skal* sige nej her, ellers vil din sshd slet " | ||
83 | "ikke starte) eller ved at du skal bruge PAM funktioner som ikke vil virke " | ||
84 | "med dette tilvalg, skal du sige ja her." | ||
85 | |||
86 | #. Description | ||
87 | #: ../templates.master:36 | ||
88 | msgid "Generate new configuration file" | ||
89 | msgstr "Opret ny konfigurations fil" | ||
90 | |||
91 | #. Description | ||
92 | #: ../templates.master:36 | ||
93 | msgid "" | ||
94 | "This version of OpenSSH has a considerably changed configuration file from " | ||
95 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
96 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
97 | "config), which will work with the new server version, but will not contain " | ||
98 | "any customisations you made with the old version." | ||
99 | msgstr "" | ||
100 | "Denne version af OpenSSH har en betydeligt ændret konfigurations fil fra den " | ||
101 | "version der kom med Debian 'Potato', som du ser ud til at opgradere fra. Jeg " | ||
102 | "kan nu oprette en ny konfigurations fil (//etc/ssh/sshd.config), som vil " | ||
103 | "virke med den nye server version, men det vil ikke beholde eventuelle " | ||
104 | "ændringer du lavede med den gamle version." | ||
105 | |||
106 | #. Description | ||
107 | #: ../templates.master:36 | ||
108 | msgid "" | ||
109 | "Please note that this new configuration file will set the value of " | ||
110 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
111 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
112 | "the correct default (see README.Debian for more details), but you can always " | ||
113 | "edit sshd_config and set it to no if you wish." | ||
114 | msgstr "" | ||
115 | "Venligst bemærk at den nye konfigurations fil vil sætte værdien af " | ||
116 | "'PermitRootLogin' til ja (som betyder at alle der kender roots password, kan " | ||
117 | "tilgå maskinen via ssh direkte). Det er vedligeholderens mening, at det er " | ||
118 | "den korrekte standard-værdi (se README.Debian for flere detaljer), men du " | ||
119 | "kan altid redigere sshd_config og slå det fra, hvis du ønsker." | ||
120 | |||
121 | #. Description | ||
122 | #: ../templates.master:36 | ||
123 | msgid "" | ||
124 | "It is strongly recommended that you let me generate a new configuration file " | ||
125 | "for you." | ||
126 | msgstr "" | ||
127 | "Du rådes stærkt til at lade mig genere en ny konfigurations fil for dig." | ||
128 | |||
129 | #. Description | ||
130 | #: ../templates.master:55 | ||
131 | msgid "Allow SSH protocol 2 only" | ||
132 | msgstr "Tillad kun SSH protokol 2" | ||
133 | |||
134 | #. Description | ||
135 | #: ../templates.master:55 | ||
136 | msgid "" | ||
137 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
138 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
139 | "things down on low end machines and might prevent older clients from " | ||
140 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
141 | msgstr "" | ||
142 | "Denne udgave af OpenSSH understøtter version 2 af ssh-protokollen, som er " | ||
143 | "betydeligt mere sikker. Det anbefales af deaktivere version 1. Dog kan det " | ||
144 | "sløve langsomme maskiner, og forhindre ældre klienter i at opnå forbindelse " | ||
145 | "(ssh klienten der kommer med \"potato\" er en af dem)." | ||
146 | |||
147 | #. Description | ||
148 | #: ../templates.master:55 | ||
149 | msgid "" | ||
150 | "Also please note that keys used for protocol 1 are different so you will not " | ||
151 | "be able to use them if you only allow protocol 2 connections." | ||
152 | msgstr "" | ||
153 | "Du skal også bemærke at de nøgler som bliver anvendt til protokol 1 er " | ||
154 | "forskellige, så du vil ikke ævre i stand til at bruge dem, hvis du kun " | ||
155 | "tillader protokol 2 forbindelser." | ||
156 | |||
157 | #. Description | ||
158 | #: ../templates.master:55 | ||
159 | msgid "" | ||
160 | "If you later change your mind about this setting, README.Debian has " | ||
161 | "instructions on what to do to your sshd_config file." | ||
162 | msgstr "" | ||
163 | "Hvis du senere ændrer din mening om denne indstilling, har README.Debian " | ||
164 | "instruktioner på hvad du skal gøre ved din sshd_config fil." | ||
165 | |||
166 | #. Description | ||
167 | #: ../templates.master:69 | ||
168 | msgid "ssh2 keys merged in configuration files" | ||
169 | msgstr "ssh2-nøgler flettet i opsætningsfilerne" | ||
170 | |||
171 | #. Description | ||
172 | #: ../templates.master:69 | ||
173 | msgid "" | ||
174 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
175 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
176 | "needed. They will still be read in order to maintain backwards compatibility" | ||
177 | msgstr "" | ||
178 | "Siden version 3 har OpenSSH ikke længere separate filer for ssh1- og ssh2-" | ||
179 | "nøgler. Det betyder, at filerne authorized_keys2 og known_hosts2 ikke " | ||
180 | "længere er nødvendige. De vil stadig dog stadig blive læst for " | ||
181 | "bagudkompatilitetens skyld." | ||
182 | |||
183 | #. Description | ||
184 | #: ../templates.master:78 | ||
185 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
186 | msgstr "Vil du fortsætte (og risikere at afbryde aktive ssh-forbindelser)?" | ||
187 | |||
188 | #. Description | ||
189 | #: ../templates.master:78 | ||
190 | msgid "" | ||
191 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
192 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
193 | "session, that would be a Bad Thing(tm)." | ||
194 | msgstr "" | ||
195 | "Den udgave af /etc/init.d/ssh, du har installeret, vil sandsynligvis afbryde " | ||
196 | "alle sshd-dæmoner. Det vil være en rigtigt dårlig idé, hvis du er ved at " | ||
197 | "opgradering via en ssh-forbindelse." | ||
198 | |||
199 | #. Description | ||
200 | #: ../templates.master:78 | ||
201 | msgid "" | ||
202 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
203 | "daemon line in the stop section of the file." | ||
204 | msgstr "" | ||
205 | "Du kan afhjælpe dette ved at tilføje \"--pidfile /var/run/sshd.pid\" til " | ||
206 | "'start-stop-daemon'-linjen i stop-afsnittet af filen." | ||
207 | |||
208 | #. Description | ||
209 | #: ../templates.master:88 | ||
210 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
211 | msgstr "" | ||
212 | "BEMÆRK: Videregivelse af X11 og adgangkontrol er som standard deaktiveret." | ||
213 | |||
214 | #. Description | ||
215 | #: ../templates.master:88 | ||
216 | #, fuzzy | ||
217 | msgid "" | ||
218 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
219 | "ForwardAgent set to ``off'' by default." | ||
220 | msgstr "" | ||
221 | "Af sikkerhedsgrunde har Debianudgaven af ssh sat ForwardX11 og ForwardAgent " | ||
222 | "til 'off' som standard." | ||
223 | |||
224 | #. Description | ||
225 | #: ../templates.master:88 | ||
226 | #, fuzzy | ||
227 | msgid "" | ||
228 | "You can enable it for servers you trust, either in one of the configuration " | ||
229 | "files, or with the -X command line option." | ||
230 | msgstr "" | ||
231 | "Du kan aktivere dem for servere, du stoler på i en af opsætningsfilerne " | ||
232 | "eller med kommandolinjetilvalget '-X'." | ||
233 | |||
234 | #. Description | ||
235 | #: ../templates.master:88 | ||
236 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
237 | msgstr "" | ||
238 | |||
239 | #. Description | ||
240 | #: ../templates.master:99 | ||
241 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
242 | msgstr "Advarsel: rsh-serveren er installeret --- sikkert ikke en god idé" | ||
243 | |||
244 | #. Description | ||
245 | #: ../templates.master:99 | ||
246 | msgid "" | ||
247 | "having rsh-server installed undermines the security that you were probably " | ||
248 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
249 | msgstr "" | ||
250 | "Den sikkerhed, du nok ønskede at opnå ved at installere ssh undermineres " | ||
251 | "ved, at du har rsh-server installeret. Jeg vil råde dig til at fjerne pakken " | ||
252 | "rsh-server." | ||
253 | |||
254 | #. Description | ||
255 | #: ../templates.master:106 | ||
256 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
257 | msgstr "Advarsel: telnetd er installeret --- sikkert ikke en god idé" | ||
258 | |||
259 | #. Description | ||
260 | #: ../templates.master:106 | ||
261 | msgid "" | ||
262 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
263 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
264 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
265 | "password and session information over the network." | ||
266 | msgstr "" | ||
267 | "Jeg vil råde dig til enten at fjerne pakken telnetd (hvis du i virkeligheden " | ||
268 | "ikke har brug for at tilbyde telnet-adgang) eller installere telnetd-ssl, så " | ||
269 | "der i det mindste er en mulighed for, at telnet-sessioner ikke sender " | ||
270 | "adgangskoder og sessions-oplysninger ukrypteret over netværket." | ||
271 | |||
272 | #. Description | ||
273 | #: ../templates.master:114 | ||
274 | msgid "Warning: you must create a new host key" | ||
275 | msgstr "Advarsel: du skal oprette en ny værtsnøgle" | ||
276 | |||
277 | #. Description | ||
278 | #: ../templates.master:114 | ||
279 | #, fuzzy | ||
280 | msgid "" | ||
281 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
282 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
283 | "the old (non-free) SSH installation." | ||
284 | msgstr "" | ||
285 | "Der ligger en gammel, IDEA-krypteret /etc/ssh/ssh_host_key. OpenSSH kan ikke " | ||
286 | "håndtere sådan en værtsnøglefil, og jeg kan ikke finde værktøjet ssh-keygen " | ||
287 | "fra den gamle (ikke-frie, 'non-free') SSH-installation." | ||
288 | |||
289 | #. Description | ||
290 | #: ../templates.master:114 | ||
291 | msgid "You will need to generate a new host key." | ||
292 | msgstr "" | ||
293 | |||
294 | #. Description | ||
295 | #: ../templates.master:124 | ||
296 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
297 | msgstr "Vil du have, at /usr/bin/ssh-keysign bliver installeret 'SUID root'?" | ||
298 | |||
299 | #. Description | ||
300 | #: ../templates.master:124 | ||
301 | msgid "" | ||
302 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
303 | "set." | ||
304 | msgstr "" | ||
305 | "Du har mulighed for at installere ssh-keysign hjælperen med SUID-flaget sat." | ||
306 | |||
307 | #. Description | ||
308 | #: ../templates.master:124 | ||
309 | msgid "" | ||
310 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
311 | "based authentication." | ||
312 | msgstr "" | ||
313 | "Hvis du gør ssh-keysign SUID, vil du blive i stand til at benytte SSH " | ||
314 | "protokol 2's værtsnavn-baserede autentifikation." | ||
315 | |||
316 | #. Description | ||
317 | #: ../templates.master:124 | ||
318 | msgid "" | ||
319 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
320 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
321 | msgstr "" | ||
322 | "Hvis du er i tvivl, vil jeg råde dig til at installere den med SUID. Hvis " | ||
323 | "det skaber problemer, kan du ændre det tilbage igen ved at køre: dpkg-" | ||
324 | "reconfigure ssh" | ||
325 | |||
326 | #. Description | ||
327 | #: ../templates.master:137 | ||
328 | msgid "Do you want to run the sshd server ?" | ||
329 | msgstr "Vil du køre sshd-serveren?" | ||
330 | |||
331 | #. Description | ||
332 | #: ../templates.master:137 | ||
333 | msgid "This package contains both the ssh client, and the sshd server." | ||
334 | msgstr "Denne pakke indeholder både ssh-klienten og sshd-serveren." | ||
335 | |||
336 | #. Description | ||
337 | #: ../templates.master:137 | ||
338 | msgid "" | ||
339 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
340 | "ssh." | ||
341 | msgstr "" | ||
342 | "Normalt vil sshd sikker skalserver ('Secure Shell Server') blive aktiveret " | ||
343 | "og tillade fjerne brugere i at logge på via ssh." | ||
344 | |||
345 | #. Description | ||
346 | #: ../templates.master:137 | ||
347 | msgid "" | ||
348 | "If you are only interested in using the ssh client for outbound connections " | ||
349 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
350 | "can disable sshd here." | ||
351 | msgstr "" | ||
352 | "Hvis du udelukkende er interesseret i at bruge ssh-klienten til udgående " | ||
353 | "forbindelser fra denne maskine, og ikke ønsker at tilgå denne maskine udefra " | ||
354 | "via ssh, kan du nu deaktivere sshd." | ||
355 | |||
356 | #. Description | ||
357 | #: ../templates.master:149 | ||
358 | msgid "Environment options on keys have been deprecated" | ||
359 | msgstr "" | ||
360 | |||
361 | #. Description | ||
362 | #: ../templates.master:149 | ||
363 | msgid "" | ||
364 | "This version of OpenSSH disables the environment option for public keys by " | ||
365 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
366 | "are using this option in an authorized_keys file, beware that the keys in " | ||
367 | "question will no longer work until the option is removed." | ||
368 | msgstr "" | ||
369 | |||
370 | #. Description | ||
371 | #: ../templates.master:149 | ||
372 | msgid "" | ||
373 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
374 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
375 | "sshd_config(5) manual page." | ||
376 | msgstr "" | ||
diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 000000000..1e363835d --- /dev/null +++ b/debian/po/de.po | |||
@@ -0,0 +1,327 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | #, fuzzy | ||
15 | msgid "" | ||
16 | msgstr "" | ||
17 | "Project-Id-Version: PACKAGE VERSION\n" | ||
18 | "Report-Msgid-Bugs-To: \n" | ||
19 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
20 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
21 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
22 | "Language-Team: LANGUAGE <LL@li.org>\n" | ||
23 | "MIME-Version: 1.0\n" | ||
24 | "Content-Type: text/plain; charset=ISO-8859-15\n" | ||
25 | "Content-Transfer-Encoding: 8bit\n" | ||
26 | |||
27 | #. Description | ||
28 | #: ../templates.master:3 | ||
29 | msgid "Privilege separation" | ||
30 | msgstr "" | ||
31 | |||
32 | #. Description | ||
33 | #: ../templates.master:3 | ||
34 | msgid "" | ||
35 | "Privilege separation is turned on by default, so if you decide you want it " | ||
36 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
37 | "sshd_config." | ||
38 | msgstr "" | ||
39 | |||
40 | #. Description | ||
41 | #: ../templates.master:19 | ||
42 | msgid "Enable Privilege separation" | ||
43 | msgstr "" | ||
44 | |||
45 | #. Description | ||
46 | #: ../templates.master:19 | ||
47 | msgid "" | ||
48 | "This version of OpenSSH contains the new privilege separation option. This " | ||
49 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
50 | "reduces the impact of security holes in sshd." | ||
51 | msgstr "" | ||
52 | |||
53 | #. Description | ||
54 | #: ../templates.master:19 | ||
55 | msgid "" | ||
56 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
57 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
58 | "fail, and PAM keyboard-interactive authentication won't work." | ||
59 | msgstr "" | ||
60 | |||
61 | #. Description | ||
62 | #: ../templates.master:19 | ||
63 | msgid "" | ||
64 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
65 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
66 | "you know you need to use PAM features that won't work with this option, you " | ||
67 | "should say yes here." | ||
68 | msgstr "" | ||
69 | |||
70 | #. Description | ||
71 | #: ../templates.master:36 | ||
72 | msgid "Generate new configuration file" | ||
73 | msgstr "" | ||
74 | |||
75 | #. Description | ||
76 | #: ../templates.master:36 | ||
77 | msgid "" | ||
78 | "This version of OpenSSH has a considerably changed configuration file from " | ||
79 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
80 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
81 | "config), which will work with the new server version, but will not contain " | ||
82 | "any customisations you made with the old version." | ||
83 | msgstr "" | ||
84 | |||
85 | #. Description | ||
86 | #: ../templates.master:36 | ||
87 | msgid "" | ||
88 | "Please note that this new configuration file will set the value of " | ||
89 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
90 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
91 | "the correct default (see README.Debian for more details), but you can always " | ||
92 | "edit sshd_config and set it to no if you wish." | ||
93 | msgstr "" | ||
94 | |||
95 | #. Description | ||
96 | #: ../templates.master:36 | ||
97 | msgid "" | ||
98 | "It is strongly recommended that you let me generate a new configuration file " | ||
99 | "for you." | ||
100 | msgstr "" | ||
101 | |||
102 | #. Description | ||
103 | #: ../templates.master:55 | ||
104 | msgid "Allow SSH protocol 2 only" | ||
105 | msgstr "" | ||
106 | |||
107 | #. Description | ||
108 | #: ../templates.master:55 | ||
109 | msgid "" | ||
110 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
111 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
112 | "things down on low end machines and might prevent older clients from " | ||
113 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
114 | msgstr "" | ||
115 | |||
116 | #. Description | ||
117 | #: ../templates.master:55 | ||
118 | msgid "" | ||
119 | "Also please note that keys used for protocol 1 are different so you will not " | ||
120 | "be able to use them if you only allow protocol 2 connections." | ||
121 | msgstr "" | ||
122 | |||
123 | #. Description | ||
124 | #: ../templates.master:55 | ||
125 | msgid "" | ||
126 | "If you later change your mind about this setting, README.Debian has " | ||
127 | "instructions on what to do to your sshd_config file." | ||
128 | msgstr "" | ||
129 | |||
130 | #. Description | ||
131 | #: ../templates.master:69 | ||
132 | msgid "ssh2 keys merged in configuration files" | ||
133 | msgstr "" | ||
134 | |||
135 | #. Description | ||
136 | #: ../templates.master:69 | ||
137 | msgid "" | ||
138 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
139 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
140 | "needed. They will still be read in order to maintain backwards compatibility" | ||
141 | msgstr "" | ||
142 | |||
143 | #. Description | ||
144 | #: ../templates.master:78 | ||
145 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
146 | msgstr "Wollen Sie weitermachen (und das Killen der Session riskieren)?" | ||
147 | |||
148 | #. Description | ||
149 | #: ../templates.master:78 | ||
150 | msgid "" | ||
151 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
152 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
153 | "session, that would be a Bad Thing(tm)." | ||
154 | msgstr "" | ||
155 | "Die Version von /etc/init.d/ssh, die Sie installiert haben, wird vermutlich " | ||
156 | "Ihre aktiven ssh-Instanzen killen. Wenn Sie das Upgrade via ssh erledigen, " | ||
157 | "dann ist das ein Problem." | ||
158 | |||
159 | #. Description | ||
160 | #: ../templates.master:78 | ||
161 | msgid "" | ||
162 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
163 | "daemon line in the stop section of the file." | ||
164 | msgstr "" | ||
165 | "Sie können das Problem beheben, indem sie \"--pidfile /var/run/sshd.pid\" an " | ||
166 | "die start-stop-daemon Zeile in dem Bereich stop der Datei /etc/init.d/ssh " | ||
167 | "ergänzen." | ||
168 | |||
169 | #. Description | ||
170 | #: ../templates.master:88 | ||
171 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
172 | msgstr "HINWEIS: Forwarden von X11 und Authorisierung ist abgeschaltet." | ||
173 | |||
174 | #. Description | ||
175 | #: ../templates.master:88 | ||
176 | msgid "" | ||
177 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
178 | "ForwardAgent set to ``off'' by default." | ||
179 | msgstr "" | ||
180 | "Aus Sicherheitsgründen sind die Debian Pakete von ssh ForwardX11 und " | ||
181 | "ForwardAgent auf \"off\" gesetzt." | ||
182 | |||
183 | #. Description | ||
184 | #: ../templates.master:88 | ||
185 | msgid "" | ||
186 | "You can enable it for servers you trust, either in one of the configuration " | ||
187 | "files, or with the -X command line option." | ||
188 | msgstr "" | ||
189 | "Sie können dies für Server, denen Sie trauen, entweder per Eintrag in die " | ||
190 | "Konfigurations Dateien oder per Kommando-Zeilen Option -X ändern." | ||
191 | |||
192 | #. Description | ||
193 | #: ../templates.master:88 | ||
194 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
195 | msgstr "" | ||
196 | "Weitere Details koennen Sie in /usr/share/doc/ssh/README.Debian finden." | ||
197 | |||
198 | #. Description | ||
199 | #: ../templates.master:99 | ||
200 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
201 | msgstr "Warnung: rsh-server ist installiert --- möglicherweise" | ||
202 | |||
203 | #. Description | ||
204 | #: ../templates.master:99 | ||
205 | msgid "" | ||
206 | "having rsh-server installed undermines the security that you were probably " | ||
207 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
208 | msgstr "" | ||
209 | "ist es eine schlechte Idee, den rsh-server installiert zu haben, da er die " | ||
210 | "Sicherheit untergräbt. Wir empfehlen, das Paket zu entfernen." | ||
211 | |||
212 | #. Description | ||
213 | #: ../templates.master:106 | ||
214 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
215 | msgstr "Warnung: telnetd ist installiert --- schlechte Idee" | ||
216 | |||
217 | #. Description | ||
218 | #: ../templates.master:106 | ||
219 | msgid "" | ||
220 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
221 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
222 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
223 | "password and session information over the network." | ||
224 | msgstr "" | ||
225 | "Wir empfehlen das telnetd Paket zu entfernen (falls Sie keinen telnet Zugang " | ||
226 | "anbieten) oder telnetd-ssl zu installieren, so daß Sie verhindern können, " | ||
227 | "daß Login und Password unverschlüsselt durch das Netz gesendet werden." | ||
228 | |||
229 | #. Description | ||
230 | #: ../templates.master:114 | ||
231 | msgid "Warning: you must create a new host key" | ||
232 | msgstr "Warnung: Sie müssen einen neuen Host Key erzeugen" | ||
233 | |||
234 | #. Description | ||
235 | #: ../templates.master:114 | ||
236 | #, fuzzy | ||
237 | msgid "" | ||
238 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
239 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
240 | "the old (non-free) SSH installation." | ||
241 | msgstr "" | ||
242 | "Es existiert eine alte Variante von /etc/ssh/ssh_host_key welche per IDEA " | ||
243 | "verschlüsselt ist. OpenSSH kann eine solche Host Key Datei nicht lesen und " | ||
244 | "ssh-keygen von der alten (nicht-freien) ssh Installation kann nicht gefunden " | ||
245 | "werden." | ||
246 | |||
247 | #. Description | ||
248 | #: ../templates.master:114 | ||
249 | msgid "You will need to generate a new host key." | ||
250 | msgstr "" | ||
251 | |||
252 | #. Description | ||
253 | #: ../templates.master:124 | ||
254 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
255 | msgstr "" | ||
256 | |||
257 | #. Description | ||
258 | #: ../templates.master:124 | ||
259 | msgid "" | ||
260 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
261 | "set." | ||
262 | msgstr "" | ||
263 | |||
264 | #. Description | ||
265 | #: ../templates.master:124 | ||
266 | msgid "" | ||
267 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
268 | "based authentication." | ||
269 | msgstr "" | ||
270 | |||
271 | #. Description | ||
272 | #: ../templates.master:124 | ||
273 | msgid "" | ||
274 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
275 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
276 | msgstr "" | ||
277 | |||
278 | #. Description | ||
279 | #: ../templates.master:137 | ||
280 | msgid "Do you want to run the sshd server ?" | ||
281 | msgstr "Möchten Sie den sshd Server starten?" | ||
282 | |||
283 | #. Description | ||
284 | #: ../templates.master:137 | ||
285 | msgid "This package contains both the ssh client, and the sshd server." | ||
286 | msgstr "Das Paket enthält sowohl den Client als auch den sshd Server." | ||
287 | |||
288 | #. Description | ||
289 | #: ../templates.master:137 | ||
290 | msgid "" | ||
291 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
292 | "ssh." | ||
293 | msgstr "" | ||
294 | "Normal wird der sshd Secure Shell Server für Remote Logins per ssh gestartet." | ||
295 | |||
296 | #. Description | ||
297 | #: ../templates.master:137 | ||
298 | msgid "" | ||
299 | "If you are only interested in using the ssh client for outbound connections " | ||
300 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
301 | "can disable sshd here." | ||
302 | msgstr "" | ||
303 | "Wenn Sie nur den ssh client nutzen wollen, um sich mit anderen Rechnern zu " | ||
304 | "verbinden und sich nicht per ssh in diesen Computer einloggen wollen, dann " | ||
305 | "können Sie hier den sshd abschalten." | ||
306 | |||
307 | #. Description | ||
308 | #: ../templates.master:149 | ||
309 | msgid "Environment options on keys have been deprecated" | ||
310 | msgstr "" | ||
311 | |||
312 | #. Description | ||
313 | #: ../templates.master:149 | ||
314 | msgid "" | ||
315 | "This version of OpenSSH disables the environment option for public keys by " | ||
316 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
317 | "are using this option in an authorized_keys file, beware that the keys in " | ||
318 | "question will no longer work until the option is removed." | ||
319 | msgstr "" | ||
320 | |||
321 | #. Description | ||
322 | #: ../templates.master:149 | ||
323 | msgid "" | ||
324 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
325 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
326 | "sshd_config(5) manual page." | ||
327 | msgstr "" | ||
diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 000000000..92cfbe2bd --- /dev/null +++ b/debian/po/es.po | |||
@@ -0,0 +1,392 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | # Carlos Valdivia Yagüe <valyag@dat,etsit.upm.es>, 2003 | ||
15 | # | ||
16 | msgid "" | ||
17 | msgstr "" | ||
18 | "Project-Id-Version: openssh 3.6.1p2-3\n" | ||
19 | "Report-Msgid-Bugs-To: \n" | ||
20 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
21 | "PO-Revision-Date: 2003-06-21 15:30+0200\n" | ||
22 | "Last-Translator: Carlos Valdivia Yagüe <valyag@dat.etsit.upm.es>\n" | ||
23 | "Language-Team: Debian L10n Spanish <debian-l10n-spanish@lists.debian.org>\n" | ||
24 | "MIME-Version: 1.0\n" | ||
25 | "Content-Type: text/plain; charset=ISO-8859-15\n" | ||
26 | "Content-Transfer-Encoding: 8bit\n" | ||
27 | |||
28 | #. Description | ||
29 | #: ../templates.master:3 | ||
30 | msgid "Privilege separation" | ||
31 | msgstr "Separación de privilegios" | ||
32 | |||
33 | #. Description | ||
34 | #: ../templates.master:3 | ||
35 | msgid "" | ||
36 | "Privilege separation is turned on by default, so if you decide you want it " | ||
37 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
38 | "sshd_config." | ||
39 | msgstr "" | ||
40 | "La separación de privilegios está activa por defecto, por lo que si decide " | ||
41 | "desactivarla, tiene que añadir \"UsePrivilegeSeparation no\" al fichero /etc/" | ||
42 | "ssh/sshd_config." | ||
43 | |||
44 | #. Description | ||
45 | #: ../templates.master:19 | ||
46 | msgid "Enable Privilege separation" | ||
47 | msgstr "Activar separación de privilegios" | ||
48 | |||
49 | #. Description | ||
50 | #: ../templates.master:19 | ||
51 | msgid "" | ||
52 | "This version of OpenSSH contains the new privilege separation option. This " | ||
53 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
54 | "reduces the impact of security holes in sshd." | ||
55 | msgstr "" | ||
56 | "Esta versión de OpenSSH incluye una nueva opción de separación de " | ||
57 | "privilegios que reduce significativamente la cantidad de código que se " | ||
58 | "ejecuta como root, por lo que reduce el impacto de posibles agujeros de " | ||
59 | "seguridad en sshd." | ||
60 | |||
61 | #. Description | ||
62 | #: ../templates.master:19 | ||
63 | msgid "" | ||
64 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
65 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
66 | "fail, and PAM keyboard-interactive authentication won't work." | ||
67 | msgstr "" | ||
68 | "Desafortunadamente, la separación de privilegios no funciona correctamente " | ||
69 | "con PAM. Cualquier módulo PAM que necesite ejecutarse como root (como, por " | ||
70 | "ejemplo, pam_mkhomedir) y la autentificación interactiva PAM con teclado no " | ||
71 | "funcionarán." | ||
72 | |||
73 | #. Description | ||
74 | #: ../templates.master:19 | ||
75 | #, fuzzy | ||
76 | msgid "" | ||
77 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
78 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
79 | "you know you need to use PAM features that won't work with this option, you " | ||
80 | "should say yes here." | ||
81 | msgstr "" | ||
82 | "Puesto que ha elegido crear automáticamente el fichero sshd_config, puede " | ||
83 | "decidir ahora si quiere activar la opción de separación de privilegios. A " | ||
84 | "menos que utilice la versión 2.0 (en cuyo caso debe responer no aquí o sshd " | ||
85 | "no arrancará) o sepa que necesita usar ciertas características de PAM que " | ||
86 | "funcionan con esta opción, debería responder sí a esta pregunta." | ||
87 | |||
88 | #. Description | ||
89 | #: ../templates.master:36 | ||
90 | msgid "Generate new configuration file" | ||
91 | msgstr "Generar un nuevo fichero de configuración" | ||
92 | |||
93 | #. Description | ||
94 | #: ../templates.master:36 | ||
95 | msgid "" | ||
96 | "This version of OpenSSH has a considerably changed configuration file from " | ||
97 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
98 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
99 | "config), which will work with the new server version, but will not contain " | ||
100 | "any customisations you made with the old version." | ||
101 | msgstr "" | ||
102 | "Esta versión de OpenSSH tiene un fichero de configuración considerablemente " | ||
103 | "diferente del incluido en Debian Potato, que es la versión desde la que " | ||
104 | "parece estar actualizando. Puede crear automáticamente un nuevo fichero de " | ||
105 | "configuración (/etc/ssh/sshd_config), que funcionará con la nueva versión " | ||
106 | "del servidor, pero no incuirá las modificaciones que hiciera en la versión " | ||
107 | "antigua." | ||
108 | |||
109 | #. Description | ||
110 | #: ../templates.master:36 | ||
111 | msgid "" | ||
112 | "Please note that this new configuration file will set the value of " | ||
113 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
114 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
115 | "the correct default (see README.Debian for more details), but you can always " | ||
116 | "edit sshd_config and set it to no if you wish." | ||
117 | msgstr "" | ||
118 | "Además, recuerde que este nuevo fichero de configuración dirá sí en la " | ||
119 | "opción 'PermitRootLogin', por lo que cualquiera que conozca la contraseña de " | ||
120 | "root podrá entrar mediante ssh directamente como root. En opinión del " | ||
121 | "mantenedor ésta es la opción predeterminada más adecuada (puede leer README." | ||
122 | "Debian si quiere conocer más detalles), pero siempre puede editar " | ||
123 | "sshd_config y poner no si lo desea." | ||
124 | |||
125 | #. Description | ||
126 | #: ../templates.master:36 | ||
127 | msgid "" | ||
128 | "It is strongly recommended that you let me generate a new configuration file " | ||
129 | "for you." | ||
130 | msgstr "" | ||
131 | "Es muy recomendable que permita que se genere un nuevo fichero de " | ||
132 | "configuración ahora." | ||
133 | |||
134 | #. Description | ||
135 | #: ../templates.master:55 | ||
136 | msgid "Allow SSH protocol 2 only" | ||
137 | msgstr "Permitir sólo la versión 2 del protocolo SSH" | ||
138 | |||
139 | #. Description | ||
140 | #: ../templates.master:55 | ||
141 | msgid "" | ||
142 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
143 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
144 | "things down on low end machines and might prevent older clients from " | ||
145 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
146 | msgstr "" | ||
147 | "Esta versión de OpenSSH soporta la versión 2 del protocolo ssh, que es mucho " | ||
148 | "más segura que la anterior. Se recomienda desactivar la versión 1, aunque " | ||
149 | "funcionará más lento en máquinas modestas y puede impedir que se conecten " | ||
150 | "clientes antiguos, como, por ejemplo, el incluido en \"potato\"." | ||
151 | |||
152 | #. Description | ||
153 | #: ../templates.master:55 | ||
154 | msgid "" | ||
155 | "Also please note that keys used for protocol 1 are different so you will not " | ||
156 | "be able to use them if you only allow protocol 2 connections." | ||
157 | msgstr "" | ||
158 | "También tenga en cuenta que las claves utilizadas para el protocolo 1 son " | ||
159 | "diferentes, por lo que no podrá usarlas si únicamente permite conexiones " | ||
160 | "mediante la versión 2 del protocolo." | ||
161 | |||
162 | #. Description | ||
163 | #: ../templates.master:55 | ||
164 | msgid "" | ||
165 | "If you later change your mind about this setting, README.Debian has " | ||
166 | "instructions on what to do to your sshd_config file." | ||
167 | msgstr "" | ||
168 | "Si más tarde cambia de opinión, el fichero README.Debian contiene " | ||
169 | "instrucciones sobre cómo modificar en el fichero sshd_config." | ||
170 | |||
171 | #. Description | ||
172 | #: ../templates.master:69 | ||
173 | msgid "ssh2 keys merged in configuration files" | ||
174 | msgstr "Las claves ssh2 ya se incluyen en los ficheros de configuración" | ||
175 | |||
176 | #. Description | ||
177 | #: ../templates.master:69 | ||
178 | msgid "" | ||
179 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
180 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
181 | "needed. They will still be read in order to maintain backwards compatibility" | ||
182 | msgstr "" | ||
183 | "A partir de la versión 3, OpenSSH ya no utiliza ficheros diferentes para las " | ||
184 | "claves ssh1 y ssh2. Esto quiere decir que ya no son necesarios los ficheros " | ||
185 | "authorized_keys2 y known_hosts2, aunque aún se seguirán leyendo para " | ||
186 | "mantener compatibilidad hacia atrás." | ||
187 | |||
188 | #. Description | ||
189 | #: ../templates.master:78 | ||
190 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
191 | msgstr "¿Desea continuar, aún a riesgo de matar las sesiones ssh activas?" | ||
192 | |||
193 | #. Description | ||
194 | #: ../templates.master:78 | ||
195 | msgid "" | ||
196 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
197 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
198 | "session, that would be a Bad Thing(tm)." | ||
199 | msgstr "" | ||
200 | "La versión de /etc/init.d/ssh que tiene instalada es muy probable que mate " | ||
201 | "el demonio ssh. Si está actualizando a través de una sesión ssh, puede que " | ||
202 | "no sea muy buena idea." | ||
203 | |||
204 | #. Description | ||
205 | #: ../templates.master:78 | ||
206 | msgid "" | ||
207 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
208 | "daemon line in the stop section of the file." | ||
209 | msgstr "" | ||
210 | "Puede arreglarlo añadiendo \"--pidfile /var/run/sshd.pid\" a la línea 'start-" | ||
211 | "stop-daemon', en la sección 'stop' del fichero." | ||
212 | |||
213 | #. Description | ||
214 | #: ../templates.master:88 | ||
215 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
216 | msgstr "NOTA: Reenvío de X11 y Autorización desactivadas por defecto." | ||
217 | |||
218 | #. Description | ||
219 | #: ../templates.master:88 | ||
220 | msgid "" | ||
221 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
222 | "ForwardAgent set to ``off'' by default." | ||
223 | msgstr "" | ||
224 | "Por razones de seguridad, la versión de ssh de Debian tiene por defecto " | ||
225 | "ForwardX11 y ForwardAgent desactivadas." | ||
226 | |||
227 | #. Description | ||
228 | #: ../templates.master:88 | ||
229 | msgid "" | ||
230 | "You can enable it for servers you trust, either in one of the configuration " | ||
231 | "files, or with the -X command line option." | ||
232 | msgstr "" | ||
233 | "Puede activar estas opciones para los servidores en los que confíe, en los " | ||
234 | "ficheros de configuración o con la opción -X en línea de comandos." | ||
235 | |||
236 | #. Description | ||
237 | #: ../templates.master:88 | ||
238 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
239 | msgstr "Puede encontrar más detalles en /usr/share/doc/ssh/README.Debian." | ||
240 | |||
241 | #. Description | ||
242 | #: ../templates.master:99 | ||
243 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
244 | msgstr "Aviso: tiene rsh-server instalado" | ||
245 | |||
246 | #. Description | ||
247 | #: ../templates.master:99 | ||
248 | msgid "" | ||
249 | "having rsh-server installed undermines the security that you were probably " | ||
250 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
251 | msgstr "" | ||
252 | "Tener rsh-server instalado representa un menoscabo de la seguridad que " | ||
253 | "probablemente desea obtener instalando ssh. Es muy aconsejable que borre ese " | ||
254 | "paquete." | ||
255 | |||
256 | #. Description | ||
257 | #: ../templates.master:106 | ||
258 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
259 | msgstr "Aviso: tiene telnetd instalado" | ||
260 | |||
261 | #. Description | ||
262 | #: ../templates.master:106 | ||
263 | msgid "" | ||
264 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
265 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
266 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
267 | "password and session information over the network." | ||
268 | msgstr "" | ||
269 | "Es muy aconsejable que borre el paquete telnetd si no necesita realmente " | ||
270 | "ofrecer acceso mediante telnet o instalar telnetd-ssl para que las " | ||
271 | "contraseñas, nombres de usuario y demás información de las sesiones telnet " | ||
272 | "no viajen sin cifrar por la red." | ||
273 | |||
274 | #. Description | ||
275 | #: ../templates.master:114 | ||
276 | msgid "Warning: you must create a new host key" | ||
277 | msgstr "Aviso: debe crear una nueva clave para su servidor" | ||
278 | |||
279 | #. Description | ||
280 | #: ../templates.master:114 | ||
281 | msgid "" | ||
282 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
283 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
284 | "the old (non-free) SSH installation." | ||
285 | msgstr "" | ||
286 | "Su sistema tiene un /etc/ssh/ssh_host_key antiguo, que usa cifrado IDEA. " | ||
287 | "OpenSSH no puede manejar este fichero de claves y tampoco se encuentra la " | ||
288 | "utilidad ssh-keygen incluida en el paquete ssh no libre." | ||
289 | |||
290 | #. Description | ||
291 | #: ../templates.master:114 | ||
292 | msgid "You will need to generate a new host key." | ||
293 | msgstr "Necesitará generar una nueva clave para su servidor." | ||
294 | |||
295 | #. Description | ||
296 | #: ../templates.master:124 | ||
297 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
298 | msgstr "¿Quiere instalar /usr/lib/ssh-keysign SUID root?" | ||
299 | |||
300 | #. Description | ||
301 | #: ../templates.master:124 | ||
302 | msgid "" | ||
303 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
304 | "set." | ||
305 | msgstr "" | ||
306 | "Puede instalar ssh-keysign con el bit SUID (se ejecutará con privilegios de " | ||
307 | "root)." | ||
308 | |||
309 | #. Description | ||
310 | #: ../templates.master:124 | ||
311 | msgid "" | ||
312 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
313 | "based authentication." | ||
314 | msgstr "" | ||
315 | "Si hace ssh-keysign SUID, podrá usar la autentificiación basada en servidor " | ||
316 | "de la versión 2 del protocolo SSH." | ||
317 | |||
318 | #. Description | ||
319 | #: ../templates.master:124 | ||
320 | msgid "" | ||
321 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
322 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
323 | msgstr "" | ||
324 | "Si duda, se recomienda que lo instale SUID. Si le causa problemas puede " | ||
325 | "cambiar de opinión posteriormente ejecutando «dpkg-reconfigure ssh»." | ||
326 | |||
327 | #. Description | ||
328 | #: ../templates.master:137 | ||
329 | msgid "Do you want to run the sshd server ?" | ||
330 | msgstr "¿Quiere ejecutar el servidor sshd?" | ||
331 | |||
332 | #. Description | ||
333 | #: ../templates.master:137 | ||
334 | msgid "This package contains both the ssh client, and the sshd server." | ||
335 | msgstr "Este paquete contiene el cliente ssh y el servidor sshd." | ||
336 | |||
337 | #. Description | ||
338 | #: ../templates.master:137 | ||
339 | msgid "" | ||
340 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
341 | "ssh." | ||
342 | msgstr "" | ||
343 | "Generalmente, el servidor de ssh (Secure Shell Server) se ejecuta para " | ||
344 | "permitir el acceso remoto mediante ssh." | ||
345 | |||
346 | #. Description | ||
347 | #: ../templates.master:137 | ||
348 | msgid "" | ||
349 | "If you are only interested in using the ssh client for outbound connections " | ||
350 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
351 | "can disable sshd here." | ||
352 | msgstr "" | ||
353 | "Si sólo está interesado en usar el cliente ssh en conexiones salientes del " | ||
354 | "sistema y no quiere acceder a él mediante ssh, entonces puede desactivar " | ||
355 | "sshd." | ||
356 | |||
357 | #. Description | ||
358 | #: ../templates.master:149 | ||
359 | msgid "Environment options on keys have been deprecated" | ||
360 | msgstr "Las opciones de entorno para las claves, en desuso" | ||
361 | |||
362 | #. Description | ||
363 | #: ../templates.master:149 | ||
364 | msgid "" | ||
365 | "This version of OpenSSH disables the environment option for public keys by " | ||
366 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
367 | "are using this option in an authorized_keys file, beware that the keys in " | ||
368 | "question will no longer work until the option is removed." | ||
369 | msgstr "" | ||
370 | "Esta versión de OpenSSH tiene desactivada por defecto la opción de entorno " | ||
371 | "para las claves públicas, para evitar ciertos ataques (por ejemplo, basados " | ||
372 | "en LD_PRELOAD). Si utiliza esta opción en un fichero authorized_keys, las " | ||
373 | "claves implicadas no funcionarán hasta que borre la opción." | ||
374 | |||
375 | #. Description | ||
376 | #: ../templates.master:149 | ||
377 | msgid "" | ||
378 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
379 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
380 | "sshd_config(5) manual page." | ||
381 | msgstr "" | ||
382 | "Para volver a activar esta opción, escriba \"PermitUserEnvironment yes\" en /" | ||
383 | "etc/ssh/sshd_config al terminar la actualización, teniendo en cuenta el " | ||
384 | "aviso de la página de manual de sshd_config(5)." | ||
385 | |||
386 | #~ msgid "" | ||
387 | #~ "NB! If you are running a 2.0 series Linux kernel, then privilege " | ||
388 | #~ "separation will not work at all, and your sshd will fail to start unless " | ||
389 | #~ "you explicitly turn privilege separation off." | ||
390 | #~ msgstr "" | ||
391 | #~ "Nota: Si utiliza un núcleo Linux 2.0, la separación de privilegios " | ||
392 | #~ "fallará estrepitosamente y sshd no funcionará a no ser que la desactive." | ||
diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 000000000..d72a5d5d7 --- /dev/null +++ b/debian/po/fr.po | |||
@@ -0,0 +1,407 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | msgid "" | ||
15 | msgstr "" | ||
16 | "Project-Id-Version: openssh 3.6.1p2-2\n" | ||
17 | "Report-Msgid-Bugs-To: \n" | ||
18 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
19 | "PO-Revision-Date: 2003-05-22 10:34+0200\n" | ||
20 | "Last-Translator: Denis Barbier <barbier@debian.org>\n" | ||
21 | "Language-Team: French <Debian-l10n-french@lists.debian.org>\n" | ||
22 | "MIME-Version: 1.0\n" | ||
23 | "Content-Type: text/plain; charset=ISO-8859-15\n" | ||
24 | "Content-Transfer-Encoding: 8bit\n" | ||
25 | |||
26 | #. Description | ||
27 | #: ../templates.master:3 | ||
28 | msgid "Privilege separation" | ||
29 | msgstr "Séparation des privilèges" | ||
30 | |||
31 | #. Description | ||
32 | #: ../templates.master:3 | ||
33 | msgid "" | ||
34 | "Privilege separation is turned on by default, so if you decide you want it " | ||
35 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
36 | "sshd_config." | ||
37 | msgstr "" | ||
38 | "La séparation des privilèges est activée par défaut ; si vous souhaitez la " | ||
39 | "désactiver, vous devez ajouter « UsePrivilegeSeparation no » dans /etc/ssh/" | ||
40 | "sshd_config." | ||
41 | |||
42 | #. Description | ||
43 | #: ../templates.master:19 | ||
44 | msgid "Enable Privilege separation" | ||
45 | msgstr "Activer la séparation des privilèges" | ||
46 | |||
47 | #. Description | ||
48 | #: ../templates.master:19 | ||
49 | msgid "" | ||
50 | "This version of OpenSSH contains the new privilege separation option. This " | ||
51 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
52 | "reduces the impact of security holes in sshd." | ||
53 | msgstr "" | ||
54 | "Cette version d'OpenSSH est livrée avec la nouvelle option de séparation des " | ||
55 | "privilèges. Cela réduit de manière significative la quantité de code " | ||
56 | "s'exécutant en tant que super-utilisateur, et donc réduit l'impact des trous " | ||
57 | "de sécurité dans sshd." | ||
58 | |||
59 | #. Description | ||
60 | #: ../templates.master:19 | ||
61 | msgid "" | ||
62 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
63 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
64 | "fail, and PAM keyboard-interactive authentication won't work." | ||
65 | msgstr "" | ||
66 | "Malheureusement, la séparation des privilèges interagit mal avec PAM. Tous " | ||
67 | "les modules de session PAM qui doivent être exécutés en tant que super-" | ||
68 | "utilisateur (pam_mkhomedir, par exemple) ne s'exécuteront pas, et " | ||
69 | "l'authentification interactive au clavier ne fonctionnera pas." | ||
70 | |||
71 | #. Description | ||
72 | #: ../templates.master:19 | ||
73 | #, fuzzy | ||
74 | msgid "" | ||
75 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
76 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
77 | "you know you need to use PAM features that won't work with this option, you " | ||
78 | "should say yes here." | ||
79 | msgstr "" | ||
80 | "Comme vous souhaitez que je génère le fichier de configuration sshd_config à " | ||
81 | "votre place, vous pouvez choisir d'activer ou non l'option de séparation des " | ||
82 | "privilèges. Si vous utilisez un noyau 2.0 (dans ce cas vous *devez* " | ||
83 | "désactiver cette option ou alors sshd ne se lancera pas) ou bien si vous " | ||
84 | "avez besoin de fonctionnalités PAM, cela ne fonctionnera pas si cette option " | ||
85 | "est activée, dans le cas contraire vous devriez l'activer." | ||
86 | |||
87 | #. Description | ||
88 | #: ../templates.master:36 | ||
89 | msgid "Generate new configuration file" | ||
90 | msgstr "Créer un nouveau fichier de configuration" | ||
91 | |||
92 | #. Description | ||
93 | #: ../templates.master:36 | ||
94 | msgid "" | ||
95 | "This version of OpenSSH has a considerably changed configuration file from " | ||
96 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
97 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
98 | "config), which will work with the new server version, but will not contain " | ||
99 | "any customisations you made with the old version." | ||
100 | msgstr "" | ||
101 | "Cette version d'OpenSSH utilise un fichier de configuration qui a énormément " | ||
102 | "changé depuis la version contenue dans la distribution Debian « Potato », " | ||
103 | "depuis laquelle vous semblez faire une mise à jour. Je peux générer " | ||
104 | "maintenant pour vous un nouveau fichier de configuration (/etc/ssh/sshd." | ||
105 | "config) qui marchera avec la nouvelle version du serveur, mais ne contiendra " | ||
106 | "aucun des réglages que vous avez faits sur l'ancienne version." | ||
107 | |||
108 | #. Description | ||
109 | #: ../templates.master:36 | ||
110 | msgid "" | ||
111 | "Please note that this new configuration file will set the value of " | ||
112 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
113 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
114 | "the correct default (see README.Debian for more details), but you can always " | ||
115 | "edit sshd_config and set it to no if you wish." | ||
116 | msgstr "" | ||
117 | "Veuillez noter que ce nouveau fichier de configuration positionnera la " | ||
118 | "valeur de « PermitRootLogin » à « yes » (ce qui signifie que quiconque " | ||
119 | "connaissant le mot de passe du super-utilisateur peut se connecter en tant " | ||
120 | "que tel sur la machine). Le responsable du paquet pense que c'est là un " | ||
121 | "comportement par défaut normal (lisez README.Debian pour plus " | ||
122 | "d'informations), mais vous pouvez toujours éditer le fichier sshd_config et " | ||
123 | "changer cela." | ||
124 | |||
125 | #. Description | ||
126 | #: ../templates.master:36 | ||
127 | msgid "" | ||
128 | "It is strongly recommended that you let me generate a new configuration file " | ||
129 | "for you." | ||
130 | msgstr "" | ||
131 | "Il est fortement recommandé que vous me laissiez générer le nouveau fichier " | ||
132 | "de configuration." | ||
133 | |||
134 | #. Description | ||
135 | #: ../templates.master:55 | ||
136 | msgid "Allow SSH protocol 2 only" | ||
137 | msgstr "Autoriser la version 2 du protocole SSH uniquement" | ||
138 | |||
139 | #. Description | ||
140 | #: ../templates.master:55 | ||
141 | msgid "" | ||
142 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
143 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
144 | "things down on low end machines and might prevent older clients from " | ||
145 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
146 | msgstr "" | ||
147 | "Cette version d'OpenSSH connaît la version 2 du protocole ssh, qui est bien " | ||
148 | "plus sûre. Désactiver ssh 1 est une bonne chose, cependant cela peut " | ||
149 | "ralentir les machines peu puissantes et pourrait empêcher ceux qui utilisent " | ||
150 | "de vieilles versions de la partie cliente de se connecter (le client ssh de " | ||
151 | "la distribution Debian « Potato » en fait partie)." | ||
152 | |||
153 | #. Description | ||
154 | #: ../templates.master:55 | ||
155 | msgid "" | ||
156 | "Also please note that keys used for protocol 1 are different so you will not " | ||
157 | "be able to use them if you only allow protocol 2 connections." | ||
158 | msgstr "" | ||
159 | "De plus, les clés utilisées par la version 1 du protocole sont différentes " | ||
160 | "et vous ne pourrez pas les utiliser si vous n'autorisez que les connexions " | ||
161 | "utilisant la version 2 du protocole." | ||
162 | |||
163 | #. Description | ||
164 | #: ../templates.master:55 | ||
165 | msgid "" | ||
166 | "If you later change your mind about this setting, README.Debian has " | ||
167 | "instructions on what to do to your sshd_config file." | ||
168 | msgstr "" | ||
169 | "Si vous changez d'avis ultérieurement et décidez de modifier ce réglage, les " | ||
170 | "instructions fournies dans le fichier README.Debian vous indiquent comment " | ||
171 | "modifier le fichier sshd_config." | ||
172 | |||
173 | #. Description | ||
174 | #: ../templates.master:69 | ||
175 | msgid "ssh2 keys merged in configuration files" | ||
176 | msgstr "Clés pour ssh2 fusionnées dans les fichiers de configuration" | ||
177 | |||
178 | #. Description | ||
179 | #: ../templates.master:69 | ||
180 | msgid "" | ||
181 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
182 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
183 | "needed. They will still be read in order to maintain backwards compatibility" | ||
184 | msgstr "" | ||
185 | "OpenSSH, depuis sa version 3, n'utilise plus de fichiers distincts pour les " | ||
186 | "clés ssh1 et ssh2. Cela signifie que les fichiers authorized_keys2 et " | ||
187 | "known_hosts2 ne sont plus utiles. Ils seront néanmoins lus afin de préserver " | ||
188 | "la compatibilité descendante." | ||
189 | |||
190 | #. Description | ||
191 | #: ../templates.master:78 | ||
192 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
193 | msgstr "" | ||
194 | "Voulez-vous continuer (et risquer de rompre les sessions ssh actives) ?" | ||
195 | |||
196 | #. Description | ||
197 | #: ../templates.master:78 | ||
198 | msgid "" | ||
199 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
200 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
201 | "session, that would be a Bad Thing(tm)." | ||
202 | msgstr "" | ||
203 | "La version de /etc/init.d/ssh que vous venez d'installer va " | ||
204 | "vraisemblablement tuer toutes les instances de sshd en cours. Si vous étiez " | ||
205 | "en train de faire cette mise à niveau à l'aide de ssh, ce serait regrettable." | ||
206 | |||
207 | #. Description | ||
208 | #: ../templates.master:78 | ||
209 | msgid "" | ||
210 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
211 | "daemon line in the stop section of the file." | ||
212 | msgstr "" | ||
213 | "Vous pouvez corriger cela en ajoutant dans /etc/init.d/ssh « --pidfile /var/" | ||
214 | "run/sshd.pid » à la ligne « start-stop-daemon » dans la section « stop » du " | ||
215 | "fichier." | ||
216 | |||
217 | #. Description | ||
218 | #: ../templates.master:88 | ||
219 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
220 | msgstr "" | ||
221 | "NOTE : suivi de session X11 et d'agent d'autorisation désactivés par défaut." | ||
222 | |||
223 | #. Description | ||
224 | #: ../templates.master:88 | ||
225 | msgid "" | ||
226 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
227 | "ForwardAgent set to ``off'' by default." | ||
228 | msgstr "" | ||
229 | "Pour des raisons de sécurité, la version Debian de ssh positionne les " | ||
230 | "options ForwardX11 et ForwardAgent à « Off » par défaut." | ||
231 | |||
232 | #. Description | ||
233 | #: ../templates.master:88 | ||
234 | msgid "" | ||
235 | "You can enable it for servers you trust, either in one of the configuration " | ||
236 | "files, or with the -X command line option." | ||
237 | msgstr "" | ||
238 | "Vous pouvez activer ces options pour les serveurs en qui vous avez " | ||
239 | "confiance, soit dans un des fichiers de configuration, soit avec l'option -X " | ||
240 | "de la ligne de commande." | ||
241 | |||
242 | #. Description | ||
243 | #: ../templates.master:88 | ||
244 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
245 | msgstr "" | ||
246 | "Vous trouverez plus d'informations dans /usr/share/doc/ssh/README.Debian." | ||
247 | |||
248 | #. Description | ||
249 | #: ../templates.master:99 | ||
250 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
251 | msgstr "" | ||
252 | "Attention : rsh-server est installé -- ce n'est probablement pas une bonne " | ||
253 | "idée" | ||
254 | |||
255 | #. Description | ||
256 | #: ../templates.master:99 | ||
257 | msgid "" | ||
258 | "having rsh-server installed undermines the security that you were probably " | ||
259 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
260 | msgstr "" | ||
261 | "Avoir un serveur rsh installé affaiblit la sécurité que vous vouliez " | ||
262 | "probablement obtenir en installant ssh. Je vous conseille de supprimer ce " | ||
263 | "paquet." | ||
264 | |||
265 | #. Description | ||
266 | #: ../templates.master:106 | ||
267 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
268 | msgstr "" | ||
269 | "Attention : telnetd est installé -- ce n'est probablement pas une bonne idée" | ||
270 | |||
271 | #. Description | ||
272 | #: ../templates.master:106 | ||
273 | msgid "" | ||
274 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
275 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
276 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
277 | "password and session information over the network." | ||
278 | msgstr "" | ||
279 | "Je vous conseille soit d'enlever le paquet telnetd (si ce service n'est pas " | ||
280 | "nécessaire), soit de le remplacer par le paquet telnetd-ssl pour qu'il y ait " | ||
281 | "au moins une chance que les sessions telnet soient chiffrées et que les mots " | ||
282 | "de passe et noms d'utilisateurs ne passent pas en clair sur le réseau." | ||
283 | |||
284 | #. Description | ||
285 | #: ../templates.master:114 | ||
286 | msgid "Warning: you must create a new host key" | ||
287 | msgstr "Attention : vous devez créer une nouvelle clé d'hôte" | ||
288 | |||
289 | #. Description | ||
290 | #: ../templates.master:114 | ||
291 | msgid "" | ||
292 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
293 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
294 | "the old (non-free) SSH installation." | ||
295 | msgstr "" | ||
296 | "Il existe un vieux /etc/ssh/ssh_host_key qui est chiffré avec IDEA. OpenSSH " | ||
297 | "ne peut utiliser ce fichier de clé, et je ne peux trouver l'utilitaire ssh-" | ||
298 | "keygen de l'installation précédente (non libre) de SSH." | ||
299 | |||
300 | #. Description | ||
301 | #: ../templates.master:114 | ||
302 | msgid "You will need to generate a new host key." | ||
303 | msgstr "Vous aurez besoin de générer une nouvelle clé d'hôte." | ||
304 | |||
305 | #. Description | ||
306 | #: ../templates.master:124 | ||
307 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
308 | msgstr "" | ||
309 | "Voulez-vous que /usr/lib/ssh-keysign soit installé avec le bit SETUID " | ||
310 | "activé ?" | ||
311 | |||
312 | #. Description | ||
313 | #: ../templates.master:124 | ||
314 | msgid "" | ||
315 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
316 | "set." | ||
317 | msgstr "" | ||
318 | "Vous avez la possibilité d'installer ssh-keysign avec le bit SETUID activé." | ||
319 | |||
320 | #. Description | ||
321 | #: ../templates.master:124 | ||
322 | msgid "" | ||
323 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
324 | "based authentication." | ||
325 | msgstr "" | ||
326 | "Si vous mettez ssh-keysign avec le bit SETUID, vous permettrez " | ||
327 | "l'authentification basée sur les hôtes, disponible dans la version 2 du " | ||
328 | "protocole SSH." | ||
329 | |||
330 | #. Description | ||
331 | #: ../templates.master:124 | ||
332 | msgid "" | ||
333 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
334 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
335 | msgstr "" | ||
336 | "Dans le doute, je vous suggère de l'installer avec le bit SETUID activé. Si " | ||
337 | "cela vous pose des problèmes, vous pourrez revenir sur votre décision avec " | ||
338 | "« dpkg-reconfigure ssh »." | ||
339 | |||
340 | #. Description | ||
341 | #: ../templates.master:137 | ||
342 | msgid "Do you want to run the sshd server ?" | ||
343 | msgstr "Voulez-vous utiliser le serveur sshd ?" | ||
344 | |||
345 | #. Description | ||
346 | #: ../templates.master:137 | ||
347 | msgid "This package contains both the ssh client, and the sshd server." | ||
348 | msgstr "Ce paquet contient à la fois le client ssh et le serveur sshd." | ||
349 | |||
350 | #. Description | ||
351 | #: ../templates.master:137 | ||
352 | msgid "" | ||
353 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
354 | "ssh." | ||
355 | msgstr "" | ||
356 | "Normalement le serveur sshd est lancé pour permettre les connexions " | ||
357 | "distantes via ssh." | ||
358 | |||
359 | #. Description | ||
360 | #: ../templates.master:137 | ||
361 | msgid "" | ||
362 | "If you are only interested in using the ssh client for outbound connections " | ||
363 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
364 | "can disable sshd here." | ||
365 | msgstr "" | ||
366 | "Si vous désirez seulement utiliser le client ssh pour des connexions vers " | ||
367 | "l'extérieur, ou si vous ne voulez pas vous connecter sur cette machine via " | ||
368 | "ssh, vous pouvez désactiver sshd maintenant." | ||
369 | |||
370 | #. Description | ||
371 | #: ../templates.master:149 | ||
372 | msgid "Environment options on keys have been deprecated" | ||
373 | msgstr "Les options d'environnement sur les clés sont déconseillées" | ||
374 | |||
375 | #. Description | ||
376 | #: ../templates.master:149 | ||
377 | msgid "" | ||
378 | "This version of OpenSSH disables the environment option for public keys by " | ||
379 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
380 | "are using this option in an authorized_keys file, beware that the keys in " | ||
381 | "question will no longer work until the option is removed." | ||
382 | msgstr "" | ||
383 | "Dans cette version d'OpenSSH, l'option d'environnement est, par défaut, " | ||
384 | "désactivée pour les clés publiques. Cela est destiné à la prévention de " | ||
385 | "certaines attaques (par exemple, LD_PRELOAD). Si vous utilisez cette option " | ||
386 | "dans un fichier « authorized_keys », sachez que les clés concernées ne " | ||
387 | "fonctionneront plus tant que l'option ne sera pas retirée." | ||
388 | |||
389 | #. Description | ||
390 | #: ../templates.master:149 | ||
391 | msgid "" | ||
392 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
393 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
394 | "sshd_config(5) manual page." | ||
395 | msgstr "" | ||
396 | "Pour la réactiver, veuillez indiquer «PermitUserEnvironment yes » dans /etc/" | ||
397 | "ssh/sshd_config lorsque la mise à niveau est terminée. Veuillez tenir compte " | ||
398 | "de l'avertissement donné dans la page de manuel sshd_config(5)." | ||
399 | |||
400 | #~ msgid "" | ||
401 | #~ "NB! If you are running a 2.0 series Linux kernel, then privilege " | ||
402 | #~ "separation will not work at all, and your sshd will fail to start unless " | ||
403 | #~ "you explicitly turn privilege separation off." | ||
404 | #~ msgstr "" | ||
405 | #~ "N. B. ! Si vous avez un noyau Linux de la série des 2.0, la séparation " | ||
406 | #~ "des privilèges ne fonctionne pas, et votre démon sshd ne se lancera que " | ||
407 | #~ "si vous avez explicitement désactivé la séparation des privilèges." | ||
diff --git a/debian/po/ja.po b/debian/po/ja.po new file mode 100644 index 000000000..dcead1cdb --- /dev/null +++ b/debian/po/ja.po | |||
@@ -0,0 +1,383 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | #, fuzzy | ||
15 | msgid "" | ||
16 | msgstr "" | ||
17 | "Project-Id-Version: PACKAGE VERSION\n" | ||
18 | "Report-Msgid-Bugs-To: \n" | ||
19 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
20 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
21 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
22 | "Language-Team: LANGUAGE <LL@li.org>\n" | ||
23 | "MIME-Version: 1.0\n" | ||
24 | "Content-Type: text/plain; charset=EUC-JP\n" | ||
25 | "Content-Transfer-Encoding: 8bit\n" | ||
26 | |||
27 | #. Description | ||
28 | #: ../templates.master:3 | ||
29 | msgid "Privilege separation" | ||
30 | msgstr "Æø¢¤ÎʬΥ" | ||
31 | |||
32 | #. Description | ||
33 | #: ../templates.master:3 | ||
34 | msgid "" | ||
35 | "Privilege separation is turned on by default, so if you decide you want it " | ||
36 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
37 | "sshd_config." | ||
38 | msgstr "" | ||
39 | "Æø¢Ê¬Î¥¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£Ìµ¸ú¤Ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢ /etc/ssh/" | ||
40 | "sshd_conf ¤Ë¡ÖUsePrivilegeSeparation no¡×¤È¤¤¤¦¹Ô¤òÄɲà ¤·¤Æ¤¯¤À¤µ¤¤¡£" | ||
41 | |||
42 | #. Description | ||
43 | #: ../templates.master:19 | ||
44 | msgid "Enable Privilege separation" | ||
45 | msgstr "Æø¢Ê¬Î¥¤ò͸ú¤Ë¤¹¤ë" | ||
46 | |||
47 | #. Description | ||
48 | #: ../templates.master:19 | ||
49 | msgid "" | ||
50 | "This version of OpenSSH contains the new privilege separation option. This " | ||
51 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
52 | "reduces the impact of security holes in sshd." | ||
53 | msgstr "" | ||
54 | "ËܥС¼¥¸¥ç¥ó¤Î OpenSSH ¤Ï¡¢¿·¤·¤¤Æø¢Ê¬Î¥¥ª¥×¥·¥ç¥ó¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤Ë" | ||
55 | "¤è¤Ã¤Æ¡¢root ¸¢¸Â¤Ç¼Â¹Ô¤µ¤ì¤ë¥³¡¼¥É¤ÎÎ̤òÂçÉý¤Ë¸º¤é¤¹¤³¤È¤¬ ¤Ç¤¡¢sshd ¤Î¥»" | ||
56 | "¥¥å¥ê¥Æ¥£¥Û¡¼¥ë¤Î±Æ¶Á¤ò¸º¤é¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£" | ||
57 | |||
58 | #. Description | ||
59 | #: ../templates.master:19 | ||
60 | msgid "" | ||
61 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
62 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
63 | "fail, and PAM keyboard-interactive authentication won't work." | ||
64 | msgstr "" | ||
65 | "»ÄÇ°¤Ê¤³¤È¤Ë¡¢Æø¢Ê¬Î¥¤Ï PAM ¤Ë°±Æ¶Á¤òÍ¿¤¨¤Þ¤¹¡£root ¤Ç¼Â¹Ô¤µ¤ì¤ë Á´¤Æ¤Î " | ||
66 | "PAM ¥»¥Ã¥·¥ç¥ó¥â¥¸¥å¡¼¥ë (Î㤨¤Ð pam_mkhomedir) ¤ÏÆ°¤«¤Ê¤¯ ¤Ê¤ê¤Þ¤¹¡£¤Þ¤¿¡¢" | ||
67 | "PAM ¥¡¼¥Ü¡¼¥ÉÂÐÏÃŪǧ¾Ú¤âÆ°ºî¤·¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£" | ||
68 | |||
69 | #. Description | ||
70 | #: ../templates.master:19 | ||
71 | #, fuzzy | ||
72 | msgid "" | ||
73 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
74 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
75 | "you know you need to use PAM features that won't work with this option, you " | ||
76 | "should say yes here." | ||
77 | msgstr "" | ||
78 | "¤¢¤Ê¤¿¤Ï sshd_config ¥Õ¥¡¥¤¥ë¤ò¼«Æ°À¸À®¤¹¤ë¤³¤È¤òÁªÂò¤·¤Þ¤·¤¿¤Î¤Ç¡¢ ¤³¤³¤ÇÆÃ" | ||
79 | "¸¢Ê¬Î¥¤ò͸ú¤Ë¤¹¤ë¤«¤·¤Ê¤¤¤«¤òÁªÂò¤Ç¤¤Þ¤¹¡£2.0 ·ÏÎó¤Î ¥«¡¼¥Í¥ë¤ò»È¤Ã¤Æ¤¤¤ë" | ||
80 | "¤« (¤³¤Î¾ì¹ç¤Ë¤Ï¡Ö¤¤¤¤¤¨¡×¤òÁª¤Ð¤Ê¤¤¤È sshd ¤Ïµ¯Æ°¤¹¤é¤·¤Þ¤»¤ó)¡¢PAM ¤Îµ¡Ç½¤Î" | ||
81 | "¤¦¤ÁÆø¢Ê¬Î¥¤È¶¦Â¸¤Ç¤¤Ê¤¤µ¡Ç½¤ò »È¤¤¤¿¤¤¾ì¹ç°Ê³°¤Ï¡¢¡Ö¤Ï¤¤¡×¤òÁª¤Ö¤Ù¤¤Ç¤¹¡£" | ||
82 | |||
83 | #. Description | ||
84 | #: ../templates.master:36 | ||
85 | msgid "Generate new configuration file" | ||
86 | msgstr "¿·¤·¤¤ÀßÄê¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹" | ||
87 | |||
88 | #. Description | ||
89 | #: ../templates.master:36 | ||
90 | msgid "" | ||
91 | "This version of OpenSSH has a considerably changed configuration file from " | ||
92 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
93 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
94 | "config), which will work with the new server version, but will not contain " | ||
95 | "any customisations you made with the old version." | ||
96 | msgstr "" | ||
97 | "OpenSSH ¤Î¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢Debian 'Potato' ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥Ð¡¼¥¸¥ç¥ó (¤¤¤Þ¡¢" | ||
98 | "¤½¤Î¥Ð¡¼¥¸¥ç¥ó¤«¤é¤Î¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤ò»î¤ß¤Æ¤¤¤ë¤È¤³¤í) ¤«¤é¡¢ ÀßÄê¥Õ¥¡¥¤¥ë¤¬" | ||
99 | "ÂçÉý¤ËÊѲ½¤·¤Æ¤¤¤Þ¤¹¡£¤¤¤Þ¡¢¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Î¥µ¡¼¥Ð¤Ç »È¤¦¤³¤È¤¬¤Ç¤¤ë¿·¤·¤¤" | ||
100 | "ÀßÄê¥Õ¥¡¥¤¥ë (/etc/ssh/sshd/config) ¤ò¼«Æ°À¸À® ¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¤¬¡¢¤½¤Î¥Õ¥¡" | ||
101 | "¥¤¥ë¤Ï¡¢¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ë ´Þ¤Þ¤ì¤ë¤¢¤Ê¤¿¤ÎÀßÄ꤬Á´¤¯´Þ¤Þ¤ì¤Þ¤»" | ||
102 | "¤ó¡£" | ||
103 | |||
104 | #. Description | ||
105 | #: ../templates.master:36 | ||
106 | msgid "" | ||
107 | "Please note that this new configuration file will set the value of " | ||
108 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
109 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
110 | "the correct default (see README.Debian for more details), but you can always " | ||
111 | "edit sshd_config and set it to no if you wish." | ||
112 | msgstr "" | ||
113 | "¤³¤Î¿·¤·¤¤ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢¡ÖPermitRootLogin¡×¤ò¡Öyes¡×¤ËÀßÄꤷ¤Þ¤¹¡£ (¤Ä¤Þ" | ||
114 | "¤ê¡¢root ¤Î¥Ñ¥¹¥ï¡¼¥É¤òÃΤäƤ¤¤ë¿Í¤Ê¤éï¤Ç¤âľÀÜ¥í¥°¥¤¥ó¤Ç¤¤Þ ¤¹)¡£¤³¤ì¤Ç¤è" | ||
115 | "¤¤¡¢¤È¤¤¤¦¤Î¤¬¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î¥á¥ó¥Æ¥Ê¤Î°Õ¸«¤Ç¤¹¤¬ (¾Ü¤· ¤¯¤Ï README.Debian " | ||
116 | "¤òÆɤó¤Ç²¼¤µ¤¤)¡¢sshd_config ¤òÊÔ½¸¤·¤Æ¡Öno¡×¤ËÀß Äꤹ¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£" | ||
117 | |||
118 | #. Description | ||
119 | #: ../templates.master:36 | ||
120 | msgid "" | ||
121 | "It is strongly recommended that you let me generate a new configuration file " | ||
122 | "for you." | ||
123 | msgstr "¿·¤·¤¤ÀßÄê¥Õ¥¡¥¤¥ë¤ò¼«Æ°À¸À®¤¹¤ë¤³¤È¤ò¶¯¤¯¤ª´«¤á¤·¤Þ¤¹¡£" | ||
124 | |||
125 | #. Description | ||
126 | #: ../templates.master:55 | ||
127 | msgid "Allow SSH protocol 2 only" | ||
128 | msgstr "SSH ¥×¥í¥È¥³¥ë 2 ¤Î¤ß¤òµö²Ä¤·¤Þ¤¹" | ||
129 | |||
130 | #. Description | ||
131 | #: ../templates.master:55 | ||
132 | msgid "" | ||
133 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
134 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
135 | "things down on low end machines and might prevent older clients from " | ||
136 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
137 | msgstr "" | ||
138 | "OpenSSH ¤Î¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢¤º¤Ã¤È°ÂÁ´¤Ê¡¢ssh ¥×¥í¥È¥³¥ë¤Î¥Ð¡¼¥¸¥ç¥ó 2 ¤ò¥µ" | ||
139 | "¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ssh 1 ¤ò¶Ø»ß¤¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¤¬¡¢ÃÙ¤¤¥Þ ¥·¥ó¤Ç¤ÏÆ°ºî¤¬" | ||
140 | "ÃÙ¤¯¤Ê¤Ã¤¿¤ê¡¢¸Å¤¤¥¯¥é¥¤¥¢¥ó¥È¤«¤éÀܳ¤Ç¤¤Ê¤¯¤Ê¤Ã¤¿¤ê ¤·¤Þ¤¹ (\"potato\" ¤Î " | ||
141 | "ssh ¥¯¥é¥¤¥¢¥ó¥È¤âÀܳ¤Ç¤¤Ê¤¯¤Ê¤ê¤Þ¤¹)¡£" | ||
142 | |||
143 | #. Description | ||
144 | #: ../templates.master:55 | ||
145 | msgid "" | ||
146 | "Also please note that keys used for protocol 1 are different so you will not " | ||
147 | "be able to use them if you only allow protocol 2 connections." | ||
148 | msgstr "" | ||
149 | "¤Þ¤¿¡¢¥×¥í¥È¥³¥ë 1 ¤Ç»È¤¦¥¡¼¤Ï°Û¤Ê¤ë¤¿¤á¡¢¥×¥í¥È¥³¥ë 2 ¤ò͸ú¤Ë¤·¤¿ ¤À¤±¤Ç¤Ï" | ||
150 | "¤½¤Î¥¡¼¤ò»È¤¦¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¡£" | ||
151 | |||
152 | #. Description | ||
153 | #: ../templates.master:55 | ||
154 | msgid "" | ||
155 | "If you later change your mind about this setting, README.Debian has " | ||
156 | "instructions on what to do to your sshd_config file." | ||
157 | msgstr "" | ||
158 | "¤â¤·º£¸å¤¢¤Ê¤¿¤¬¹Í¤¨¤òÊѤ¨¤¿¤é¡¢README.Debian ¤òÆɤà¤È sshd_config ¤ò ¤É¤Î¤è" | ||
159 | "¤¦¤ËÊѹ¹¤·¤¿¤é¤è¤¤¤«¤¬Ê¬¤«¤ê¤Þ¤¹¡£" | ||
160 | |||
161 | #. Description | ||
162 | #: ../templates.master:69 | ||
163 | msgid "ssh2 keys merged in configuration files" | ||
164 | msgstr "ssh2 ¥¡¼¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤ËÅý¹ç¤µ¤ì¤Þ¤¹" | ||
165 | |||
166 | #. Description | ||
167 | #: ../templates.master:69 | ||
168 | msgid "" | ||
169 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
170 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
171 | "needed. They will still be read in order to maintain backwards compatibility" | ||
172 | msgstr "" | ||
173 | "OpenSSH ¤Î¥Ð¡¼¥¸¥ç¥ó 3 ¤Ï¡¢ssh1 ¤È ssh2 ¤Î¥¡¼¤Ë¸ÄÊ̤Υե¡¥¤¥ë¤ò»È¤¤ ¤Þ¤»¤ó¡£" | ||
174 | "¤Ä¤Þ¤ê¡¢authorized_keys2 ¥Õ¥¡¥¤¥ë¤È known_hosts2 ¥Õ¥¡¥¤¥ë¤Ï¤â ¤Ï¤äÉÔÍפȤʤê" | ||
175 | "¤Þ¤·¤¿¡£¸åÊý¸ß´¹À¤òÊݤĤ¿¤á¤Ë¤Ï¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤¬É¬Í× ¤Ç¤¹¡£" | ||
176 | |||
177 | #. Description | ||
178 | #: ../templates.master:78 | ||
179 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
180 | msgstr "³¤±¤Æ¤¤¤¤¤Ç¤¹¤« (ÀܳÃæ¤Î ssh ¥»¥Ã¥·¥ç¥ó¤¬ÀÚ¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó)" | ||
181 | |||
182 | #. Description | ||
183 | #: ../templates.master:78 | ||
184 | msgid "" | ||
185 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
186 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
187 | "session, that would be a Bad Thing(tm)." | ||
188 | msgstr "" | ||
189 | "¤¤¤Þ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿ /etc/init.d/ssh ¤Ï¡¢¤ª¤½¤é¤¯¼Â¹ÔÃæ¤Î sshd ¤òÁ´¤Æ Ää»ß¤µ" | ||
190 | "¤»¤Þ¤¹¡£¤³¤Î¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤ò ssh ¥»¥Ã¥·¥ç¥ó¤òÍѤ¤¤Æ¹Ô¤¦¤Î¤Ï´Ö °ã¤Ã¤¿¤ä¤ê¤«" | ||
191 | "¤¿¤Ç¤¹¡£" | ||
192 | |||
193 | #. Description | ||
194 | #: ../templates.master:78 | ||
195 | msgid "" | ||
196 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
197 | "daemon line in the stop section of the file." | ||
198 | msgstr "" | ||
199 | "¤³¤Î¾õ¶·¤ò½¤Àµ¤¹¤ë¤Ë¤Ï¡¢/etc/init.d/ssh ¤Î stop ¥»¥¯¥·¥ç¥ó¤Î start-stop-" | ||
200 | "daemon ¤Î¹Ô¤Ë¡Ö--pidfile /var/run/sshd.pid¡×¤ÈÄɲä·¤Þ¤¹¡£" | ||
201 | |||
202 | #. Description | ||
203 | #: ../templates.master:88 | ||
204 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
205 | msgstr "Ãí°Õ: X11 ¤Èǧ¾Ú¤Î¥Õ¥©¥ï¡¼¥Ç¥£¥ó¥°¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¶Ø»ß¤µ¤ì¤Þ¤¹" | ||
206 | |||
207 | #. Description | ||
208 | #: ../templates.master:88 | ||
209 | msgid "" | ||
210 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
211 | "ForwardAgent set to ``off'' by default." | ||
212 | msgstr "" | ||
213 | "¥»¥¥å¥ê¥Æ¥£¾å¤ÎÍýͳ¤«¤é¡¢Debian ¤Î ssh ¤Ç¤Ï ForwardX11 ¤È ForwardAgent ¤Ï¥Ç" | ||
214 | "¥Õ¥©¥ë¥È¤Ç¤Ï¡Öoff¡×¤ËÀßÄꤵ¤ì¤Þ¤¹¡£" | ||
215 | |||
216 | #. Description | ||
217 | #: ../templates.master:88 | ||
218 | msgid "" | ||
219 | "You can enable it for servers you trust, either in one of the configuration " | ||
220 | "files, or with the -X command line option." | ||
221 | msgstr "" | ||
222 | "ÀßÄê¥Õ¥¡¥¤¥ë¤ò»È¤Ã¤¿¤ê¡¢-X ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤¿¤ê¤¹¤ë ¤³¤È¤Ç¡¢¿®" | ||
223 | "ÍѤǤ¤ë¥µ¡¼¥Ð¤ËÂФ·¤Æµö²Ä¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£" | ||
224 | |||
225 | #. Description | ||
226 | #: ../templates.master:88 | ||
227 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
228 | msgstr "¾ÜºÙ¤Ï /usr/share/doc/ssh/README.Debian ¤òÆɤó¤Ç²¼¤µ¤¤¡£" | ||
229 | |||
230 | #. Description | ||
231 | #: ../templates.master:99 | ||
232 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
233 | msgstr "" | ||
234 | "·Ù¹ð: rsh-server ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤¿¤Ö¤óÎɤ¤¹Í¤¨¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" | ||
235 | |||
236 | #. Description | ||
237 | #: ../templates.master:99 | ||
238 | msgid "" | ||
239 | "having rsh-server installed undermines the security that you were probably " | ||
240 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
241 | msgstr "" | ||
242 | "rsh-server ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤È¡¢¤¢¤Ê¤¿¤¬ ssh ¤Ë¤è¤Ã¤ÆÆÀ¤¿¤¤¤È »×¤Ã¤Æ¤¤" | ||
243 | "¤ë¤Ç¤¢¤í¤¦¥»¥¥å¥ê¥Æ¥£¤¬Â»¤Ê¤ï¤ì¤Þ¤¹¡£¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¥¢¥ó¥¤ ¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³" | ||
244 | "¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£" | ||
245 | |||
246 | #. Description | ||
247 | #: ../templates.master:106 | ||
248 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
249 | msgstr "·Ù¹ð: telnetd ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤¿¤Ö¤óÎɤ¤¹Í¤¨¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" | ||
250 | |||
251 | #. Description | ||
252 | #: ../templates.master:106 | ||
253 | msgid "" | ||
254 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
255 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
256 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
257 | "password and session information over the network." | ||
258 | msgstr "" | ||
259 | "(¤â¤· telnet ¥¢¥¯¥»¥¹¤òÄ󶡤·¤¿¤¤¤È»×¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¤·¤¿¤é) telnetd ¥Ñ¥Ã¥±¡¼¥¸" | ||
260 | "¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤«¡¢¤Þ¤¿¤Ï¡¢telnetd-ssh ¥Ñ¥Ã¥±¡¼¥¸¤ò ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¾¯" | ||
261 | "¤Ê¤¯¤È¤â¥Í¥Ã¥È¥ï¡¼¥¯¾å¤ò°Å¹æ²½¤µ¤ì¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶Ì¾ ¤ä¥Ñ¥¹¥ï¡¼¥É¤ä¥»¥Ã¥·¥ç¥ó¾ð" | ||
262 | "Êó¤¬Î®¤ì¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£" | ||
263 | |||
264 | #. Description | ||
265 | #: ../templates.master:114 | ||
266 | msgid "Warning: you must create a new host key" | ||
267 | msgstr "·Ù¹ð: ¿·¤·¤¤¥Û¥¹¥È¥¡¼¤òºî¤é¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó" | ||
268 | |||
269 | #. Description | ||
270 | #: ../templates.master:114 | ||
271 | msgid "" | ||
272 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
273 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
274 | "the old (non-free) SSH installation." | ||
275 | msgstr "" | ||
276 | "IDEA ¤Ç°Å¹æ²½¤µ¤ì¤¿¸Å¤¤¥¡¼¤¬ /etc/ssh/ssh_host_key ¤Ë¤¢¤ê¤Þ¤¹¡£ OpenSSH ¤Ï¤³" | ||
277 | "¤Î¥Û¥¹¥È¥¡¼¥Õ¥¡¥¤¥ë¤ò°·¤¨¤Þ¤»¤ó¡£¤Þ¤¿¡¢º£¥¤¥ó¥¹¥È¡¼¥ë ¤µ¤ì¤Æ¤¤¤ë¸Å¤¤ (¥Õ¥ê¡¼" | ||
278 | "¤Ç¤Ï¤Ê¤¤) SSH ¤Ë¤Ï ssh-keygen ¥æ¡¼¥Æ¥£¥ê¥Æ¥£ ¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó¡£" | ||
279 | |||
280 | #. Description | ||
281 | #: ../templates.master:114 | ||
282 | msgid "You will need to generate a new host key." | ||
283 | msgstr "¿·¤·¤¤¥Û¥¹¥È¥¡¼¤òºî¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£" | ||
284 | |||
285 | #. Description | ||
286 | #: ../templates.master:124 | ||
287 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
288 | msgstr "/usr/bin/ssh-keysign ¤ò SUID root ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¤«?" | ||
289 | |||
290 | #. Description | ||
291 | #: ../templates.master:124 | ||
292 | msgid "" | ||
293 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
294 | "set." | ||
295 | msgstr "" | ||
296 | "ssh-keysign ¥Ø¥ë¥Ñ¡¼¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëºÝ¡¢SUID ¥Ó¥Ã¥È¤òÀßÄꤹ¤ë¤« ¤·¤Ê¤¤¤«¤ò" | ||
297 | "Áª¤Ö¤³¤È¤¬¤Ç¤¤Þ¤¹¡£" | ||
298 | |||
299 | #. Description | ||
300 | #: ../templates.master:124 | ||
301 | msgid "" | ||
302 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
303 | "based authentication." | ||
304 | msgstr "" | ||
305 | "ssh-keysign ¤ò SUID ¤ËÀßÄꤷ¤¿¾ì¹ç¡¢SSH ¥×¥í¥È¥³¥ë 2 ¤Î¥Û¥¹¥È¤Ë ´ð¤Å¤¯Ç§¾Ú¤ò" | ||
306 | "»È¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£" | ||
307 | |||
308 | #. Description | ||
309 | #: ../templates.master:124 | ||
310 | msgid "" | ||
311 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
312 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
313 | msgstr "" | ||
314 | "¤è¤¯Ê¬¤«¤é¤Ê¤¤¾ì¹ç¤Ï¡¢SUID ¤ò͸ú¤Ë¤¹¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£¤â¤· ÌäÂ꤬µ¯¤³¤ì" | ||
315 | "¤Ð¡¢dpkg-reconfigure ssh ¤ò¼Â¹Ô¤¹¤ë¤³¤È¤ÇÀßÄê¤òÊѹ¹ ¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£" | ||
316 | |||
317 | #. Description | ||
318 | #: ../templates.master:137 | ||
319 | msgid "Do you want to run the sshd server ?" | ||
320 | msgstr "sshd ¥µ¡¼¥Ð¤ò¼Â¹Ô¤·¤Þ¤¹¤«?" | ||
321 | |||
322 | #. Description | ||
323 | #: ../templates.master:137 | ||
324 | msgid "This package contains both the ssh client, and the sshd server." | ||
325 | msgstr "¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢ssh ¥¯¥é¥¤¥¢¥ó¥È¤È sshd ¥µ¡¼¥Ð¤ÎξÊý¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£" | ||
326 | |||
327 | #. Description | ||
328 | #: ../templates.master:137 | ||
329 | msgid "" | ||
330 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
331 | "ssh." | ||
332 | msgstr "" | ||
333 | "Ä̾sshd ¥»¥¥å¥¢¥·¥§¥ë¥µ¡¼¥Ð¤Ï¡¢ssh ¤òÍѤ¤¤¿¥ê¥â¡¼¥È¤«¤é¤Î¥í¥°¥¤¥ó ¤ò²Äǽ" | ||
334 | "¤Ë¤¹¤ë¤¿¤á¤Ë¼Â¹Ô¤·¤Þ¤¹¡£" | ||
335 | |||
336 | #. Description | ||
337 | #: ../templates.master:137 | ||
338 | msgid "" | ||
339 | "If you are only interested in using the ssh client for outbound connections " | ||
340 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
341 | "can disable sshd here." | ||
342 | msgstr "" | ||
343 | "¤â¤· ssh ¥¯¥é¥¤¥¢¥ó¥È¤ò»È¤Ã¤Æ¤³¤Î¥Þ¥·¥ó¤«¤é¾¥Þ¥·¥ó¤Ø¤ÈÀܳ¤¹¤ë¤À¤±¤Ç ¤Ç¡¢¤³" | ||
344 | "¤Î¥Þ¥·¥ó¤Ø¤È ssh ¤ò»È¤Ã¤Æ¥í¥°¥¤¥ó¤·¤Ê¤¤¤Î¤Ç¤·¤¿¤é¡¢¤³¤³¤Ç sshd ¤ò¼Â¹Ô¤·¤Ê¤¤¤Ç" | ||
345 | "¤ª¤¤Þ¤¹¡£" | ||
346 | |||
347 | #. Description | ||
348 | #: ../templates.master:149 | ||
349 | msgid "Environment options on keys have been deprecated" | ||
350 | msgstr "¸°¤Î´Ä¶¥ª¥×¥·¥ç¥ó¤Ï̵¸ú¤ËÀßÄꤵ¤ì¤Þ¤·¤¿" | ||
351 | |||
352 | #. Description | ||
353 | #: ../templates.master:149 | ||
354 | msgid "" | ||
355 | "This version of OpenSSH disables the environment option for public keys by " | ||
356 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
357 | "are using this option in an authorized_keys file, beware that the keys in " | ||
358 | "question will no longer work until the option is removed." | ||
359 | msgstr "" | ||
360 | "ËܥС¼¥¸¥ç¥ó¤Î OpenSSH ¤Ï¡¢¸ø³«¸°¤Î´Ä¶¥ª¥×¥·¥ç¥ó¤ò¥Ç¥Õ¥©¥ë¥È¤Ç ̵¸ú¤ËÀßÄꤷ" | ||
361 | "¤Æ¤¤¤Þ¤¹¡£LD_PRELOAD ¤Ê¤É¤Î¹¶·â¤òÈò¤±¤ë¤¿¤á¤Ç¤¹¡£ ¤â¤· authorized_keys ¥Õ¥¡¥¤" | ||
362 | "¥ë¤Ç¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ÈÍѤ·¤Æ¤¤¤ë¾ì¹ç¡¢ ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò½üµî¤·¤Ê¤¤¸Â¤ê¤Ï¤½¤Î¸°" | ||
363 | "¤ÏÍøÍѤǤ¤Ê¤¤¤³¤È¤ËÃí°Õ ¤·¤Æ¤¯¤À¤µ¤¤¡£" | ||
364 | |||
365 | #. Description | ||
366 | #: ../templates.master:149 | ||
367 | msgid "" | ||
368 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
369 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
370 | "sshd_config(5) manual page." | ||
371 | msgstr "" | ||
372 | "¤³¤Î¥ª¥×¥·¥ç¥ó¤òºÆ¤Ó͸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢¥¢¥Ã¥×¥°¥ì¡¼¥É½ªÎ»¸å¤Ë¡¢ sshd_config(5) " | ||
373 | "¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Î·Ù¹ð»ö¹à¤òÆɤó¤Ç¡¢ /etc/ssh/sshd_config ¥Õ¥¡¥¤¥ë¤Ë" | ||
374 | "¡ÖPermitUserEnvironment yes¡×¤È ÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£" | ||
375 | |||
376 | #~ msgid "" | ||
377 | #~ "NB! If you are running a 2.0 series Linux kernel, then privilege " | ||
378 | #~ "separation will not work at all, and your sshd will fail to start unless " | ||
379 | #~ "you explicitly turn privilege separation off." | ||
380 | #~ msgstr "" | ||
381 | #~ "Ãí°Õ! Linux ¥«¡¼¥Í¥ë¤Î¥Ð¡¼¥¸¥ç¥ó 2.0 ·ÏÎó¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢Æø¢ ʬΥ¤ÏÁ´¤¯" | ||
382 | #~ "Æ°ºî¤·¤Þ¤»¤ó¡£ÌÀ¼¨Åª¤ËÆø¢Ê¬Î¥¤ò̵¸ú¤Ë¤·¤Ê¤¤¸Â¤ê¡¢sshd ¤Ïµ¯Æ°¤Ë¼ºÇÔ¤·¤Þ" | ||
383 | #~ "¤¹¡£" | ||
diff --git a/debian/po/pl.po b/debian/po/pl.po new file mode 100644 index 000000000..6910ceaf7 --- /dev/null +++ b/debian/po/pl.po | |||
@@ -0,0 +1,386 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | #, fuzzy | ||
15 | msgid "" | ||
16 | msgstr "" | ||
17 | "Project-Id-Version: PACKAGE VERSION\n" | ||
18 | "Report-Msgid-Bugs-To: \n" | ||
19 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
20 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
21 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
22 | "Language-Team: LANGUAGE <LL@li.org>\n" | ||
23 | "MIME-Version: 1.0\n" | ||
24 | "Content-Type: text/plain; charset=ISO-8859-2\n" | ||
25 | "Content-Transfer-Encoding: 8bit\n" | ||
26 | |||
27 | #. Description | ||
28 | #: ../templates.master:3 | ||
29 | msgid "Privilege separation" | ||
30 | msgstr "Separacja uprawnieñ" | ||
31 | |||
32 | #. Description | ||
33 | #: ../templates.master:3 | ||
34 | msgid "" | ||
35 | "Privilege separation is turned on by default, so if you decide you want it " | ||
36 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
37 | "sshd_config." | ||
38 | msgstr "" | ||
39 | "Separacja uprawnieñ jest domy¶lnie w³±czona, wiêc je¶li zdecydujesz siê j± " | ||
40 | "wy³±czyæ, musisz dodaæ \"UsePrivilegeSeparation no\" do pliku /etc/ssh/" | ||
41 | "sshd_config." | ||
42 | |||
43 | #. Description | ||
44 | #: ../templates.master:19 | ||
45 | msgid "Enable Privilege separation" | ||
46 | msgstr "W³±czenie separacji uprawnieñ" | ||
47 | |||
48 | #. Description | ||
49 | #: ../templates.master:19 | ||
50 | msgid "" | ||
51 | "This version of OpenSSH contains the new privilege separation option. This " | ||
52 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
53 | "reduces the impact of security holes in sshd." | ||
54 | msgstr "" | ||
55 | "Ta wersja OpenSSH zawiera now± opcjê separacji uprawnieñ. Znacz±co zmniejsza " | ||
56 | "ona ilo¶æ kodu, który jest uruchamiany jako root i co za tym idzie redukuje " | ||
57 | "efekty luk bezpieczeñstwa w sshd." | ||
58 | |||
59 | #. Description | ||
60 | #: ../templates.master:19 | ||
61 | msgid "" | ||
62 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
63 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
64 | "fail, and PAM keyboard-interactive authentication won't work." | ||
65 | msgstr "" | ||
66 | "Niestety separacja uprawnieñ ¼le reaguje z PAMem. Jakikolwiek modu³ sesji " | ||
67 | "PAM, który musi byæ uruchamiany jako root (pam_mkhomedir, na przyk³ad) " | ||
68 | "zawiedzie. Nie bêdzie dzia³aæ równie¿ interaktywna autentykacja z klawiatury " | ||
69 | "(keyboard-interactive authentication)." | ||
70 | |||
71 | #. Description | ||
72 | #: ../templates.master:19 | ||
73 | #, fuzzy | ||
74 | msgid "" | ||
75 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
76 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
77 | "you know you need to use PAM features that won't work with this option, you " | ||
78 | "should say yes here." | ||
79 | msgstr "" | ||
80 | "Zdecydowa³e¶ siê na to abym wygenerowa³ dla ciebie plik sshd_config, i " | ||
81 | "mo¿esz wybraæ czy chcesz w³±czyæ Separacjê Uprawnieñ, czy te¿ nie. Je¶li nie " | ||
82 | "u¿ywasz j±dra z serii 2.0 (w którym to przypadku *musisz* odpowiedzieæ tutaj " | ||
83 | "'nie' albo sshd w ogóle nie ruszy) i je¶li nie musisz korzystaæ z mo¿liwo¶ci " | ||
84 | "PAMa, które nie bêd± dzia³a³y z t± opcj±, powiniene¶ odpowiedzieæ tutaj " | ||
85 | "'tak'." | ||
86 | |||
87 | #. Description | ||
88 | #: ../templates.master:36 | ||
89 | msgid "Generate new configuration file" | ||
90 | msgstr "Wygeneruj nowy plik konfiguracyjny" | ||
91 | |||
92 | #. Description | ||
93 | #: ../templates.master:36 | ||
94 | msgid "" | ||
95 | "This version of OpenSSH has a considerably changed configuration file from " | ||
96 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
97 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
98 | "config), which will work with the new server version, but will not contain " | ||
99 | "any customisations you made with the old version." | ||
100 | msgstr "" | ||
101 | "W tej wersji OpenSSH zmieni³ siê plik konfiguracyjny w stosunku do wersji " | ||
102 | "dostarczanej z Debianem 'Potato', któr± zdajesz siê aktualizowaæ. Mogê teraz " | ||
103 | "wygenerowaæ nowy plik konfiguracyjny (/etc/ssh/sshd.config), który bêdzie " | ||
104 | "dzia³a³ z now± wersj± serwera, ale nie bêdzie zawiera³ ¿adnych dokonanych " | ||
105 | "przez ciebie w starej wersji zmian." | ||
106 | |||
107 | #. Description | ||
108 | #: ../templates.master:36 | ||
109 | msgid "" | ||
110 | "Please note that this new configuration file will set the value of " | ||
111 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
112 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
113 | "the correct default (see README.Debian for more details), but you can always " | ||
114 | "edit sshd_config and set it to no if you wish." | ||
115 | msgstr "" | ||
116 | "Zauwa¿ proszê, ¿e nowy plik konfiguracyjny bêdzie ustawia³ warto¶æ opcji " | ||
117 | "'PermitRootLogin' na 'tak' (co oznacza, ¿e ka¿dy kto zna has³o root'a mo¿e " | ||
118 | "zdalnie zalogowaæ siê przez ssh jako root). W opinii opiekuna pakietu to " | ||
119 | "jest poprawna warto¶æ domy¶lna (szczegó³y w README.Debian), ale mo¿esz sobie " | ||
120 | "wyedytowaæ sshd_config i ustawiæ tê opcjê na 'nie' je¶li siê z t± opini± nie " | ||
121 | "zgadzasz." | ||
122 | |||
123 | #. Description | ||
124 | #: ../templates.master:36 | ||
125 | msgid "" | ||
126 | "It is strongly recommended that you let me generate a new configuration file " | ||
127 | "for you." | ||
128 | msgstr "" | ||
129 | "Jest bardzo wskazane aby¶ pozwoli³ mi wygenerowaæ nowy plik konfiguracyjny." | ||
130 | |||
131 | #. Description | ||
132 | #: ../templates.master:55 | ||
133 | msgid "Allow SSH protocol 2 only" | ||
134 | msgstr "Zezwalaj wy³±cznie na wersjê 2 protoko³u SSH" | ||
135 | |||
136 | #. Description | ||
137 | #: ../templates.master:55 | ||
138 | msgid "" | ||
139 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
140 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
141 | "things down on low end machines and might prevent older clients from " | ||
142 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
143 | msgstr "" | ||
144 | "Ta wersja OpenSSH wspiera drug± wersjê protoko³u ssh, która jest znacznie " | ||
145 | "bardziej bezpieczna. Wy³±czenie ssh 1 jest zalecane, choæ spowalnia to " | ||
146 | "dzia³anie na starych maszynach i mo¿e uniemo¿liwiæ po³±czenie starszym " | ||
147 | "wersjom klientów (dotyczy to np. klienta ssh do³±czanego do \"potato\")." | ||
148 | |||
149 | #. Description | ||
150 | #: ../templates.master:55 | ||
151 | msgid "" | ||
152 | "Also please note that keys used for protocol 1 are different so you will not " | ||
153 | "be able to use them if you only allow protocol 2 connections." | ||
154 | msgstr "" | ||
155 | "Ponadto, zauwa¿ proszê, ¿e klucze u¿ywane przez protokó³ 1 s± inne, wiêc nie " | ||
156 | "bêdziesz móg³ ich u¿ywaæ je¶li zezwolisz na korzystanie wy³±cznie z wersji 2 " | ||
157 | "protoko³u." | ||
158 | |||
159 | #. Description | ||
160 | #: ../templates.master:55 | ||
161 | msgid "" | ||
162 | "If you later change your mind about this setting, README.Debian has " | ||
163 | "instructions on what to do to your sshd_config file." | ||
164 | msgstr "" | ||
165 | "Je¶li pó¼niej zmienisz zdanie co do tego ustawienia, to instrukcje co " | ||
166 | "zmieniæ w sshd_config znajduj± siê w README.Debian." | ||
167 | |||
168 | #. Description | ||
169 | #: ../templates.master:69 | ||
170 | msgid "ssh2 keys merged in configuration files" | ||
171 | msgstr "klucze ssh2 w³±czone do plików konfiguracyjnych" | ||
172 | |||
173 | #. Description | ||
174 | #: ../templates.master:69 | ||
175 | msgid "" | ||
176 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
177 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
178 | "needed. They will still be read in order to maintain backwards compatibility" | ||
179 | msgstr "" | ||
180 | "Pocz±wszy od wersji 3 OpenSSH nie u¿ywa ju¿ osobnych plików dla kluczy ssh1 " | ||
181 | "i ssh2. Oznacza to, ¿e pliki authorized_keys2 i known_hosts2 nie s± ju¿ " | ||
182 | "potrzebne. Bêd± one jednak odczytywane aby zachowaæ wsteczn± kompatybilno¶æ." | ||
183 | |||
184 | #. Description | ||
185 | #: ../templates.master:78 | ||
186 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
187 | msgstr "Czy chcesz kontynuowaæ (i ryzykowaæ zabicie aktywnych sesji ssh) ?" | ||
188 | |||
189 | #. Description | ||
190 | #: ../templates.master:78 | ||
191 | msgid "" | ||
192 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
193 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
194 | "session, that would be a Bad Thing(tm)." | ||
195 | msgstr "" | ||
196 | "Zainstalowana w³a¶nie wersja /etc/init.d/ssh mo¿e zabiæ wszystkie dzia³aj±ce " | ||
197 | "obecnie kopie sshd. Je¶li robisz ten upgrade via ssh, to by³aby Z³a Rzecz" | ||
198 | "(tm)." | ||
199 | |||
200 | #. Description | ||
201 | #: ../templates.master:78 | ||
202 | msgid "" | ||
203 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
204 | "daemon line in the stop section of the file." | ||
205 | msgstr "" | ||
206 | "Mo¿esz to naprawiæ dodaj±c \"--pidfile /var/run/sshd.pid\" do linijki start-" | ||
207 | "stop-daemon w sekcji stop tego pliku." | ||
208 | |||
209 | #. Description | ||
210 | #: ../templates.master:88 | ||
211 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
212 | msgstr "" | ||
213 | "UWAGA: Przekazywanie (forwarding) X11 i Autoryzacji jest domy¶lnie wy³±czone." | ||
214 | |||
215 | #. Description | ||
216 | #: ../templates.master:88 | ||
217 | msgid "" | ||
218 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
219 | "ForwardAgent set to ``off'' by default." | ||
220 | msgstr "" | ||
221 | "Ze wzglêdów bezpieczeñstwa Debianowa wersja ssh ma ForwardX11 i ForwardAgent " | ||
222 | "ustawione domy¶lnie na 'off'." | ||
223 | |||
224 | #. Description | ||
225 | #: ../templates.master:88 | ||
226 | msgid "" | ||
227 | "You can enable it for servers you trust, either in one of the configuration " | ||
228 | "files, or with the -X command line option." | ||
229 | msgstr "" | ||
230 | "Dla zaufanych serwerów mo¿esz w³±czyæ te opcje w pliku konfiguracyjnym lub " | ||
231 | "przy pomocy opcji -X z linii komend." | ||
232 | |||
233 | #. Description | ||
234 | #: ../templates.master:88 | ||
235 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
236 | msgstr "Wiêcej szczegó³ów znajdziesz w /usr/share/doc/ssh/README.Debian." | ||
237 | |||
238 | #. Description | ||
239 | #: ../templates.master:99 | ||
240 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
241 | msgstr "" | ||
242 | "Uwaga: serwer rsh jest zainstalowany --- prawdopodobnie nienajlepszy pomys³" | ||
243 | |||
244 | #. Description | ||
245 | #: ../templates.master:99 | ||
246 | msgid "" | ||
247 | "having rsh-server installed undermines the security that you were probably " | ||
248 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
249 | msgstr "" | ||
250 | "Posiadanie zainstalowanego serwera rsh podminowuje zabezpieczenia, które " | ||
251 | "prawdopodobnie starasz siê uzyskaæ instaluj±c ssh. Radzi³bym usun±æ ten " | ||
252 | "pakiet." | ||
253 | |||
254 | #. Description | ||
255 | #: ../templates.master:106 | ||
256 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
257 | msgstr "" | ||
258 | "Uwaga: telnetd jest zainstalowany --- prawdopodobnie nienajlepszy pomys³" | ||
259 | |||
260 | #. Description | ||
261 | #: ../templates.master:106 | ||
262 | msgid "" | ||
263 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
264 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
265 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
266 | "password and session information over the network." | ||
267 | msgstr "" | ||
268 | "Radzi³bym albo usun±æ pakiet telnetd (je¶li nie potrzebujesz koniecznie " | ||
269 | "udostêpniaæ telnet'a) albo zainstalowaæ telnetd-ssl aby by³a choæ szansza, " | ||
270 | "¿e sesje telnet nie bêd± przesy³aæ niezaszyfrowanego loginu/has³a oraz " | ||
271 | "danych sesji przez sieæ." | ||
272 | |||
273 | #. Description | ||
274 | #: ../templates.master:114 | ||
275 | msgid "Warning: you must create a new host key" | ||
276 | msgstr "Uwaga: musisz utworzyæ nowy klucz hosta" | ||
277 | |||
278 | #. Description | ||
279 | #: ../templates.master:114 | ||
280 | msgid "" | ||
281 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
282 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
283 | "the old (non-free) SSH installation." | ||
284 | msgstr "" | ||
285 | "Istnieje stary /etc/ssh/ssh_host_key, który jest zaszyfrowany przez IDEA. " | ||
286 | "OpenSSH nie umie korzystaæ z tak zaszyfrowanego klucza, a nie mo¿e znale¼æ " | ||
287 | "polecenia ssh-keygen ze starego SSH (non-free)." | ||
288 | |||
289 | #. Description | ||
290 | #: ../templates.master:114 | ||
291 | msgid "You will need to generate a new host key." | ||
292 | msgstr "Bêdziesz musia³ wygenerowaæ nowy klucz hosta." | ||
293 | |||
294 | #. Description | ||
295 | #: ../templates.master:124 | ||
296 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
297 | msgstr "Czy chcesz aby /usr/lib/ssh-keysign by³ zainstalowany jako SUID root?" | ||
298 | |||
299 | #. Description | ||
300 | #: ../templates.master:124 | ||
301 | msgid "" | ||
302 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
303 | "set." | ||
304 | msgstr "" | ||
305 | "Masz mo¿liwo¶æ zainstalowania pomocniczego programu ssh-keysign z w³±czonym " | ||
306 | "bitem SETUID." | ||
307 | |||
308 | #. Description | ||
309 | #: ../templates.master:124 | ||
310 | msgid "" | ||
311 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
312 | "based authentication." | ||
313 | msgstr "" | ||
314 | "Je¶li uczynisz ssh-keysign SUIDowym, bêdziesz móg³ u¿ywaæ opartej na hostach " | ||
315 | "autentykacji drugiej wersji protoko³u SSH." | ||
316 | |||
317 | #. Description | ||
318 | #: ../templates.master:124 | ||
319 | msgid "" | ||
320 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
321 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
322 | msgstr "" | ||
323 | "Je¶li masz w±tpliwo¶ci, radzê zainstalowaæ go z SUIDem. Je¶li to sprawia " | ||
324 | "problemy, mo¿esz zmieniæ swoje zdanie uruchamiaj±c pó¼niej polecenie: dpkg-" | ||
325 | "reconfigure ssh" | ||
326 | |||
327 | #. Description | ||
328 | #: ../templates.master:137 | ||
329 | msgid "Do you want to run the sshd server ?" | ||
330 | msgstr "Czy chcesz uruchamiaæ serwer sshd ?" | ||
331 | |||
332 | #. Description | ||
333 | #: ../templates.master:137 | ||
334 | msgid "This package contains both the ssh client, and the sshd server." | ||
335 | msgstr "Ten pakiet zawiera zarówno klienta ssh, jak i serwer sshd." | ||
336 | |||
337 | #. Description | ||
338 | #: ../templates.master:137 | ||
339 | msgid "" | ||
340 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
341 | "ssh." | ||
342 | msgstr "" | ||
343 | "Normalnie serwer sshd (Secure Shell Server) bêdzie uruchomiony aby umo¿liwiæ " | ||
344 | "zdalny dostêp przez ssh." | ||
345 | |||
346 | #. Description | ||
347 | #: ../templates.master:137 | ||
348 | msgid "" | ||
349 | "If you are only interested in using the ssh client for outbound connections " | ||
350 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
351 | "can disable sshd here." | ||
352 | msgstr "" | ||
353 | "Je¶li jeste¶ zainteresowny u¿ywaniem wy³±cznie klienta ssh dla po³±czeñ " | ||
354 | "wychodz±cych z tej maszyny, i nie chcesz siê na ni± logowaæ przy pomocy ssh, " | ||
355 | "to mo¿esz teraz wy³±czyæ serwer sshd." | ||
356 | |||
357 | #. Description | ||
358 | #: ../templates.master:149 | ||
359 | msgid "Environment options on keys have been deprecated" | ||
360 | msgstr "" | ||
361 | |||
362 | #. Description | ||
363 | #: ../templates.master:149 | ||
364 | msgid "" | ||
365 | "This version of OpenSSH disables the environment option for public keys by " | ||
366 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
367 | "are using this option in an authorized_keys file, beware that the keys in " | ||
368 | "question will no longer work until the option is removed." | ||
369 | msgstr "" | ||
370 | |||
371 | #. Description | ||
372 | #: ../templates.master:149 | ||
373 | msgid "" | ||
374 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
375 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
376 | "sshd_config(5) manual page." | ||
377 | msgstr "" | ||
378 | |||
379 | #~ msgid "" | ||
380 | #~ "NB! If you are running a 2.0 series Linux kernel, then privilege " | ||
381 | #~ "separation will not work at all, and your sshd will fail to start unless " | ||
382 | #~ "you explicitly turn privilege separation off." | ||
383 | #~ msgstr "" | ||
384 | #~ "UWAGA! Je¿eli u¿ywasz j±dra Linux'a z serii 2.0, to separacja uprawnieñ w " | ||
385 | #~ "ogóle nie bêdzie dzia³aæ i sshd nie wystartuje dopóki w³asnorêcznie nie " | ||
386 | #~ "wy³±czysz separacji uprawnieñ w /etc/ssh/sshd_config." | ||
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 000000000..017d13cf4 --- /dev/null +++ b/debian/po/pt_BR.po | |||
@@ -0,0 +1,399 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | msgid "" | ||
15 | msgstr "" | ||
16 | "Project-Id-Version: openssh-3.6.1p2-5\n" | ||
17 | "Report-Msgid-Bugs-To: \n" | ||
18 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
19 | "PO-Revision-Date: 2003-03-08 16:56+0300\n" | ||
20 | "Last-Translator: André Luís Lopes <andrelop@debian.org>\n" | ||
21 | "Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n" | ||
22 | "MIME-Version: 1.0\n" | ||
23 | "Content-Type: text/plain; charset=ISO-8859-1\n" | ||
24 | "Content-Transfer-Encoding: 8bit\n" | ||
25 | |||
26 | #. Description | ||
27 | #: ../templates.master:3 | ||
28 | msgid "Privilege separation" | ||
29 | msgstr "Separação de Previlégios" | ||
30 | |||
31 | #. Description | ||
32 | #: ../templates.master:3 | ||
33 | msgid "" | ||
34 | "Privilege separation is turned on by default, so if you decide you want it " | ||
35 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
36 | "sshd_config." | ||
37 | msgstr "" | ||
38 | "A separação de previlégios está habilitado por padrão, portanto caso você " | ||
39 | "decida que deseja desabilitá-la você precisará adicionar a linha " | ||
40 | "\"UsePrivilegeSeparation no\" ao arquivo /etc/ssh/sshd_config." | ||
41 | |||
42 | #. Description | ||
43 | #: ../templates.master:19 | ||
44 | msgid "Enable Privilege separation" | ||
45 | msgstr "Habilitar Separação de Privilégios" | ||
46 | |||
47 | #. Description | ||
48 | #: ../templates.master:19 | ||
49 | msgid "" | ||
50 | "This version of OpenSSH contains the new privilege separation option. This " | ||
51 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
52 | "reduces the impact of security holes in sshd." | ||
53 | msgstr "" | ||
54 | "Esta versão do OpenSSH contém a nova opção de separação de privilégios. Esta " | ||
55 | "opção reduz significativamente a quantidade de código que é executada como " | ||
56 | "root e portanto reduz o impacto de falhas de segurança no sshd." | ||
57 | |||
58 | #. Description | ||
59 | #: ../templates.master:19 | ||
60 | msgid "" | ||
61 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
62 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
63 | "fail, and PAM keyboard-interactive authentication won't work." | ||
64 | msgstr "" | ||
65 | "Infelizmente, a separação de privilégios interage de maneira ruim com o PAM. " | ||
66 | "Quaisquer módulos de sessão PAM que precisem ser executados como root " | ||
67 | "(pam_mkhomedir, por exemplo) irão falhar e autenticação interativa com " | ||
68 | "teclado do PAM não funcionará." | ||
69 | |||
70 | #. Description | ||
71 | #: ../templates.master:19 | ||
72 | msgid "" | ||
73 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
74 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
75 | "you know you need to use PAM features that won't work with this option, you " | ||
76 | "should say yes here." | ||
77 | msgstr "" | ||
78 | "Uma vez que você optou por permitir que o debconf gere o arquivo sshd_config " | ||
79 | "para você, é possível escolher se você deseja ter ou não o recurso de " | ||
80 | "Separação de Privilégios habilitado. A menos que você saiba que utiliza " | ||
81 | "recursos PAM que não funcionarão com esta opção, você deve responder " | ||
82 | "positivamente aqui." | ||
83 | |||
84 | #. Description | ||
85 | #: ../templates.master:36 | ||
86 | msgid "Generate new configuration file" | ||
87 | msgstr "Gerar novo arquivo de configuração" | ||
88 | |||
89 | #. Description | ||
90 | #: ../templates.master:36 | ||
91 | msgid "" | ||
92 | "This version of OpenSSH has a considerably changed configuration file from " | ||
93 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
94 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
95 | "config), which will work with the new server version, but will not contain " | ||
96 | "any customisations you made with the old version." | ||
97 | msgstr "" | ||
98 | "Esta versão do OpenSSH possui um arquivo de configuração consideravelmente " | ||
99 | "diferente da versão fornecida com o Debian 'Potato' (Debian versão 2.2), a " | ||
100 | "versão do Debian da qual você parece estar atualizando. Esse assistente de " | ||
101 | "confgiuração inicial pode agora gerar um novo arquivo de configuração (/etc/" | ||
102 | "ssh/sshd_config) que irá funcionar com o nova versão do servidor sshd mas " | ||
103 | "não irá conter nenhuma personalização que você possa ter feito na versão " | ||
104 | "anterior." | ||
105 | |||
106 | #. Description | ||
107 | #: ../templates.master:36 | ||
108 | msgid "" | ||
109 | "Please note that this new configuration file will set the value of " | ||
110 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
111 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
112 | "the correct default (see README.Debian for more details), but you can always " | ||
113 | "edit sshd_config and set it to no if you wish." | ||
114 | msgstr "" | ||
115 | "Por favor note que este novo arquivo de configuração irá definir o valor da " | ||
116 | "opção 'PermitRootLogin' para \"yes\" (o que significa que qualquer pessoa " | ||
117 | "que conheça a senha de root poderá conectar via ssh diretamente como root no " | ||
118 | "servidor onde este pacote esta sendo instalado). A opinião do mantenedor do " | ||
119 | "pacote é que esse é o comportamente padrão correto (consulte o arquivo " | ||
120 | "README.Debian deste pacote para maiores detalhes), mas você poderá sempre " | ||
121 | "editar o arquivo sshd_config e definir esta opção para \"no\" caso você não " | ||
122 | "concorde com o mantenedor do OpenSSH." | ||
123 | |||
124 | #. Description | ||
125 | #: ../templates.master:36 | ||
126 | msgid "" | ||
127 | "It is strongly recommended that you let me generate a new configuration file " | ||
128 | "for you." | ||
129 | msgstr "" | ||
130 | "É fortemente recomendado que você permita que o novo arquivo de configuração " | ||
131 | "será gerado automaticamente para você." | ||
132 | |||
133 | #. Description | ||
134 | #: ../templates.master:55 | ||
135 | msgid "Allow SSH protocol 2 only" | ||
136 | msgstr "Permitir somente protocolo SSH versão 2" | ||
137 | |||
138 | #. Description | ||
139 | #: ../templates.master:55 | ||
140 | msgid "" | ||
141 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
142 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
143 | "things down on low end machines and might prevent older clients from " | ||
144 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
145 | msgstr "" | ||
146 | "Esta versão do OpenSSH suporta a versão 2 do protocolo ssh, a qual é muito " | ||
147 | "mais segura que a versão anterior. É recomendado desabilitar o suporte ao " | ||
148 | "protocolo ssh versão 1, porém isto fará com que conexões fiquem mais lentas " | ||
149 | "em máquinas mais antigas e pode impedir que clientes antigos consigam se " | ||
150 | "conectar (o cliente ssh fornecido com a versão do Debian 2.2 \"potato\" é " | ||
151 | "afetada.)" | ||
152 | |||
153 | #. Description | ||
154 | #: ../templates.master:55 | ||
155 | msgid "" | ||
156 | "Also please note that keys used for protocol 1 are different so you will not " | ||
157 | "be able to use them if you only allow protocol 2 connections." | ||
158 | msgstr "" | ||
159 | "Por favor note também que as chaves usadas para o protocolo 1 são diferentes " | ||
160 | "portanto você não poderá usá-las caso você somente permita conexões usando o " | ||
161 | "protocolo 2." | ||
162 | |||
163 | #. Description | ||
164 | #: ../templates.master:55 | ||
165 | msgid "" | ||
166 | "If you later change your mind about this setting, README.Debian has " | ||
167 | "instructions on what to do to your sshd_config file." | ||
168 | msgstr "" | ||
169 | "Caso você posteriormente mude de idéia sobre esta configuração, o arquivo " | ||
170 | "README.Debian deste pacote possui instruções sobre o que mudar em seu " | ||
171 | "arquivo de configuração sshd_config." | ||
172 | |||
173 | #. Description | ||
174 | #: ../templates.master:69 | ||
175 | msgid "ssh2 keys merged in configuration files" | ||
176 | msgstr "Chaves ssh2 incluídas nos arquivos de configuração" | ||
177 | |||
178 | #. Description | ||
179 | #: ../templates.master:69 | ||
180 | msgid "" | ||
181 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
182 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
183 | "needed. They will still be read in order to maintain backwards compatibility" | ||
184 | msgstr "" | ||
185 | "A partir do versão 3 o OpenSSH não usa mais arquivos separados para as " | ||
186 | "chaves ssh1 e ssh2. Isto significa que os arquivos \"authorized_keys2\" e " | ||
187 | "\"know_hosts2\" não são mais necessários. Os mesmos continuarão a ser lidos " | ||
188 | "para manter a compatibilidade com versões anteriores." | ||
189 | |||
190 | #. Description | ||
191 | #: ../templates.master:78 | ||
192 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
193 | msgstr "Deseja continuar (e arriscar acabar com sessões ssh ativas) ?" | ||
194 | |||
195 | #. Description | ||
196 | #: ../templates.master:78 | ||
197 | msgid "" | ||
198 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
199 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
200 | "session, that would be a Bad Thing(tm)." | ||
201 | msgstr "" | ||
202 | "A versão de /etc/init.d/ssh que você possui instalada está prestes a matar " | ||
203 | "todas as instâncias sshd sendo executadas. Se você está fazendo esta " | ||
204 | "atualização através de uma sessão ssh, isto seria uma Coisa Ruim(tm)." | ||
205 | |||
206 | #. Description | ||
207 | #: ../templates.master:78 | ||
208 | msgid "" | ||
209 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
210 | "daemon line in the stop section of the file." | ||
211 | msgstr "" | ||
212 | "Você pode corrigir isto adicionando \"--pidfile /var/run/sshd.pid\" na linha " | ||
213 | "start-stop-daemon na seção stop deste arquivo." | ||
214 | |||
215 | #. Description | ||
216 | #: ../templates.master:88 | ||
217 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
218 | msgstr "NOTA: Encaminhamento de X11 e Autorização desabilitados por padrão." | ||
219 | |||
220 | #. Description | ||
221 | #: ../templates.master:88 | ||
222 | msgid "" | ||
223 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
224 | "ForwardAgent set to ``off'' by default." | ||
225 | msgstr "" | ||
226 | "Por razôes de segurança, a versão Debian do ssh tem as opções ForwardX11 e " | ||
227 | "ForwardAgent definidas como ``off'' por padrão." | ||
228 | |||
229 | #. Description | ||
230 | #: ../templates.master:88 | ||
231 | msgid "" | ||
232 | "You can enable it for servers you trust, either in one of the configuration " | ||
233 | "files, or with the -X command line option." | ||
234 | msgstr "" | ||
235 | "Você pode habilitar isso para servidores que você confia, ou em um dos " | ||
236 | "arquivos de configuração, ou com a opção de linha de comando -X." | ||
237 | |||
238 | #. Description | ||
239 | #: ../templates.master:88 | ||
240 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
241 | msgstr "" | ||
242 | "Maiores detalhes podem ser encontrados em /usr/share/doc/ssh/README.Debian." | ||
243 | |||
244 | #. Description | ||
245 | #: ../templates.master:99 | ||
246 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
247 | msgstr "Aviso: rsh-server está instalado --- provavelmente não é uma boa idéia" | ||
248 | |||
249 | #. Description | ||
250 | #: ../templates.master:99 | ||
251 | msgid "" | ||
252 | "having rsh-server installed undermines the security that you were probably " | ||
253 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
254 | msgstr "" | ||
255 | "Possuir o rsh-server instalado minará a segurança que você estava " | ||
256 | "provavelmente querendo obter instalando o ssh. Eu recomendaria a você " | ||
257 | "remover este pacote." | ||
258 | |||
259 | #. Description | ||
260 | #: ../templates.master:106 | ||
261 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
262 | msgstr "Aviso: telnetd está instalado --- provavelmente não é uma boa idéia" | ||
263 | |||
264 | #. Description | ||
265 | #: ../templates.master:106 | ||
266 | msgid "" | ||
267 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
268 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
269 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
270 | "password and session information over the network." | ||
271 | msgstr "" | ||
272 | "Eu recomendaria a você ou remover o pacote telnetd (se você atualmente não " | ||
273 | "precisa oferecer acesso telnet) ou instalar telnetd-ssl. Assim existe pelo " | ||
274 | "menos uma chance das sessões telnet não enviarem login/senha não encriptados " | ||
275 | "e informações de sessão através da rede." | ||
276 | |||
277 | #. Description | ||
278 | #: ../templates.master:114 | ||
279 | msgid "Warning: you must create a new host key" | ||
280 | msgstr "Aviso: você deve criar uma nova host key" | ||
281 | |||
282 | #. Description | ||
283 | #: ../templates.master:114 | ||
284 | msgid "" | ||
285 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
286 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
287 | "the old (non-free) SSH installation." | ||
288 | msgstr "" | ||
289 | "Existe uma antiga /etc/ssh/ssh_host_key, a qual é encriptada usando IDEA. O " | ||
290 | "OpenSSH não pode gerenciar este arquivo host key e eu não consigo encontrar " | ||
291 | "o utilitário ssh-keygen da antiga (non-free) instalação SSH." | ||
292 | |||
293 | #. Description | ||
294 | #: ../templates.master:114 | ||
295 | msgid "You will need to generate a new host key." | ||
296 | msgstr "Você precisará gerar uma nova host key." | ||
297 | |||
298 | #. Description | ||
299 | #: ../templates.master:124 | ||
300 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
301 | msgstr "Deseja que que /usr/lib/ssh-keysign seja instalado SUID root ?" | ||
302 | |||
303 | #. Description | ||
304 | #: ../templates.master:124 | ||
305 | msgid "" | ||
306 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
307 | "set." | ||
308 | msgstr "" | ||
309 | "Existe a opção de instalar o cliente auxiliar ssh-keysign com o bit SUID " | ||
310 | "definido." | ||
311 | |||
312 | #. Description | ||
313 | #: ../templates.master:124 | ||
314 | msgid "" | ||
315 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
316 | "based authentication." | ||
317 | msgstr "" | ||
318 | "Caso você instale o ssh-keysign com o bit SUID ativado, você será capaz de " | ||
319 | "usar a autenticação baseada em host do protocolo SSH 2." | ||
320 | |||
321 | #. Description | ||
322 | #: ../templates.master:124 | ||
323 | msgid "" | ||
324 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
325 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
326 | msgstr "" | ||
327 | "Caso esteja em dúvida, é sugerido que você instale com o bit SUID ativado. " | ||
328 | "Caso isso cause problemas e você mude de idéia posteriormente execute o " | ||
329 | "comando : dpkg-reconfigure ssh" | ||
330 | |||
331 | #. Description | ||
332 | #: ../templates.master:137 | ||
333 | msgid "Do you want to run the sshd server ?" | ||
334 | msgstr "Você quer executar o servidor sshd ?" | ||
335 | |||
336 | #. Description | ||
337 | #: ../templates.master:137 | ||
338 | msgid "This package contains both the ssh client, and the sshd server." | ||
339 | msgstr "Este pacote contém ambos o cliente ssh e o servidor sshd." | ||
340 | |||
341 | #. Description | ||
342 | #: ../templates.master:137 | ||
343 | msgid "" | ||
344 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
345 | "ssh." | ||
346 | msgstr "" | ||
347 | "Normalmente o sshd Secure Shell Server será executado para permitir logins " | ||
348 | "remotos via ssh." | ||
349 | |||
350 | #. Description | ||
351 | #: ../templates.master:137 | ||
352 | msgid "" | ||
353 | "If you are only interested in using the ssh client for outbound connections " | ||
354 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
355 | "can disable sshd here." | ||
356 | msgstr "" | ||
357 | "Se você está interessado somente em usar o cliente ssh para conexões para " | ||
358 | "fora desta máquina, e não quer logar na mesma usando ssh, então você pode " | ||
359 | "desabilitar o sshd aqui." | ||
360 | |||
361 | #. Description | ||
362 | #: ../templates.master:149 | ||
363 | msgid "Environment options on keys have been deprecated" | ||
364 | msgstr "Opções ed ambiente sobre chaves estão obsoletas" | ||
365 | |||
366 | #. Description | ||
367 | #: ../templates.master:149 | ||
368 | msgid "" | ||
369 | "This version of OpenSSH disables the environment option for public keys by " | ||
370 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
371 | "are using this option in an authorized_keys file, beware that the keys in " | ||
372 | "question will no longer work until the option is removed." | ||
373 | msgstr "" | ||
374 | "Esta versão do OpenSSH desabilita a opção de ambiente para chaves públicas " | ||
375 | "por padrão par evitar certos ataques (por exemplo, LD_PRELOAD). Caso você " | ||
376 | "esteja usando esta opção em um arquivo authorized_keys, tenha cuidado pois " | ||
377 | "as chaves em questão não irão mais funcionar até que esta opção seja " | ||
378 | "removida." | ||
379 | |||
380 | #. Description | ||
381 | #: ../templates.master:149 | ||
382 | msgid "" | ||
383 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
384 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
385 | "sshd_config(5) manual page." | ||
386 | msgstr "" | ||
387 | "Para reabilitar esta opção, defina a opção \"PermitUserEnvironment yes\" no " | ||
388 | "arquivo /et/ssh/sshd_config depois da a atualização terminar, atentando para " | ||
389 | "o aviso na página de manual do sshd_config(5)." | ||
390 | |||
391 | #~ msgid "" | ||
392 | #~ "NB! If you are running a 2.0 series Linux kernel, then privilege " | ||
393 | #~ "separation will not work at all, and your sshd will fail to start unless " | ||
394 | #~ "you explicitly turn privilege separation off." | ||
395 | #~ msgstr "" | ||
396 | #~ "NB ! Caso você esteja executando um kernel Linux da séria 2.0 o recurso " | ||
397 | #~ "de separação de privilégios não funcionará e seu daemon sshd irá falhar " | ||
398 | #~ "ao iniciar a menos que você explicitamente desabilite o recurso de " | ||
399 | #~ "separação de privilégios." | ||
diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 000000000..bb33e63a1 --- /dev/null +++ b/debian/po/ru.po | |||
@@ -0,0 +1,339 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | #, fuzzy | ||
15 | msgid "" | ||
16 | msgstr "" | ||
17 | "Project-Id-Version: PACKAGE VERSION\n" | ||
18 | "Report-Msgid-Bugs-To: \n" | ||
19 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
20 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
21 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
22 | "Language-Team: LANGUAGE <LL@li.org>\n" | ||
23 | "MIME-Version: 1.0\n" | ||
24 | "Content-Type: text/plain; charset=KOI8-R\n" | ||
25 | "Content-Transfer-Encoding: 8bit\n" | ||
26 | |||
27 | #. Description | ||
28 | #: ../templates.master:3 | ||
29 | msgid "Privilege separation" | ||
30 | msgstr "" | ||
31 | |||
32 | #. Description | ||
33 | #: ../templates.master:3 | ||
34 | msgid "" | ||
35 | "Privilege separation is turned on by default, so if you decide you want it " | ||
36 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
37 | "sshd_config." | ||
38 | msgstr "" | ||
39 | |||
40 | #. Description | ||
41 | #: ../templates.master:19 | ||
42 | msgid "Enable Privilege separation" | ||
43 | msgstr "" | ||
44 | |||
45 | #. Description | ||
46 | #: ../templates.master:19 | ||
47 | msgid "" | ||
48 | "This version of OpenSSH contains the new privilege separation option. This " | ||
49 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
50 | "reduces the impact of security holes in sshd." | ||
51 | msgstr "" | ||
52 | |||
53 | #. Description | ||
54 | #: ../templates.master:19 | ||
55 | msgid "" | ||
56 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
57 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
58 | "fail, and PAM keyboard-interactive authentication won't work." | ||
59 | msgstr "" | ||
60 | |||
61 | #. Description | ||
62 | #: ../templates.master:19 | ||
63 | msgid "" | ||
64 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
65 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
66 | "you know you need to use PAM features that won't work with this option, you " | ||
67 | "should say yes here." | ||
68 | msgstr "" | ||
69 | |||
70 | #. Description | ||
71 | #: ../templates.master:36 | ||
72 | msgid "Generate new configuration file" | ||
73 | msgstr "" | ||
74 | |||
75 | #. Description | ||
76 | #: ../templates.master:36 | ||
77 | msgid "" | ||
78 | "This version of OpenSSH has a considerably changed configuration file from " | ||
79 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
80 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
81 | "config), which will work with the new server version, but will not contain " | ||
82 | "any customisations you made with the old version." | ||
83 | msgstr "" | ||
84 | |||
85 | #. Description | ||
86 | #: ../templates.master:36 | ||
87 | msgid "" | ||
88 | "Please note that this new configuration file will set the value of " | ||
89 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
90 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
91 | "the correct default (see README.Debian for more details), but you can always " | ||
92 | "edit sshd_config and set it to no if you wish." | ||
93 | msgstr "" | ||
94 | |||
95 | #. Description | ||
96 | #: ../templates.master:36 | ||
97 | msgid "" | ||
98 | "It is strongly recommended that you let me generate a new configuration file " | ||
99 | "for you." | ||
100 | msgstr "" | ||
101 | |||
102 | #. Description | ||
103 | #: ../templates.master:55 | ||
104 | msgid "Allow SSH protocol 2 only" | ||
105 | msgstr "" | ||
106 | |||
107 | #. Description | ||
108 | #: ../templates.master:55 | ||
109 | msgid "" | ||
110 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
111 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
112 | "things down on low end machines and might prevent older clients from " | ||
113 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
114 | msgstr "" | ||
115 | |||
116 | #. Description | ||
117 | #: ../templates.master:55 | ||
118 | msgid "" | ||
119 | "Also please note that keys used for protocol 1 are different so you will not " | ||
120 | "be able to use them if you only allow protocol 2 connections." | ||
121 | msgstr "" | ||
122 | |||
123 | #. Description | ||
124 | #: ../templates.master:55 | ||
125 | msgid "" | ||
126 | "If you later change your mind about this setting, README.Debian has " | ||
127 | "instructions on what to do to your sshd_config file." | ||
128 | msgstr "" | ||
129 | |||
130 | #. Description | ||
131 | #: ../templates.master:69 | ||
132 | msgid "ssh2 keys merged in configuration files" | ||
133 | msgstr "" | ||
134 | |||
135 | #. Description | ||
136 | #: ../templates.master:69 | ||
137 | msgid "" | ||
138 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
139 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
140 | "needed. They will still be read in order to maintain backwards compatibility" | ||
141 | msgstr "" | ||
142 | |||
143 | #. Description | ||
144 | #: ../templates.master:78 | ||
145 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
146 | msgstr "÷Ù ÈÏÔÉÔÅ ÐÒÏÄÏÌÖÉÔØ (ÒÉÓËÕÑ ÐÏÔÅÒÑÔØ ÁËÔÉ×ÎÙÅ ssh-ÓÏÅÄÉÎÅÎÉÑ)?" | ||
147 | |||
148 | #. Description | ||
149 | #: ../templates.master:78 | ||
150 | msgid "" | ||
151 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
152 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
153 | "session, that would be a Bad Thing(tm)." | ||
154 | msgstr "" | ||
155 | "÷ÅÒÓÉÑ /etc/init.d/ssh, ËÏÔÏÒÕÀ ×Ù ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÅ, ÍÏÖÅÔ ÕÂÉÔØ ×ÓÅ " | ||
156 | "ÚÁÐÕÝÅÎÎÙÅ ÐÒÏÃÅÓÓÙ ssh. åÓÌÉ ×Ù ÏÓÕÝÅÓÔ×ÌÑÅÔÅ ÜÔÏ ÏÂÎÏ×ÌÅÎÉÅ ÞÅÒÅÚ ssh " | ||
157 | "ÓÅÓÓÉÀ, ÔÏ ÜÔÏ ðÌÏÈÁÑ ÷ÅÝØ (tm)." | ||
158 | |||
159 | #. Description | ||
160 | #: ../templates.master:78 | ||
161 | msgid "" | ||
162 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
163 | "daemon line in the stop section of the file." | ||
164 | msgstr "" | ||
165 | "üÔÏ ÍÏÖÎÏ ÉÓÐÒÁ×ÉÔØ ÄÏÂÁ×ÌÅÎÉÅÍ \"--pidfile /var/run/sshd.pid\" × ÓÔÒÏËÅ " | ||
166 | "start-stop-daemon × ÒÁÚÄÅÌÅ stop ÜÔÏÇÏ ÆÁÊÌÁ." | ||
167 | |||
168 | #. Description | ||
169 | #: ../templates.master:88 | ||
170 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
171 | msgstr "ðòéíåþáîéå: æÏÒ×ÁÒÄÉÎÇ X11 É Authorization ÚÁÐÒÅÝÅÎ ÐÏ ÕÍÏÌÞÁÎÉÀ." | ||
172 | |||
173 | #. Description | ||
174 | #: ../templates.master:88 | ||
175 | msgid "" | ||
176 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
177 | "ForwardAgent set to ``off'' by default." | ||
178 | msgstr "" | ||
179 | "ðÏ ÐÒÉÞÉÎÁÍ ÂÅÚÏÐÁÓÎÏÓÔÉ, × ×ÅÒÓÉÉ ÄÌÑ Debian ssh ÉÍÅÅÔ ForwardX11 É " | ||
180 | "ForwardAgent ÕÓÔÁÎÏ×ÌÅÎÎÙÍÉ × ``off'' ÐÏ ÕÍÏÌÞÁÎÉÀ." | ||
181 | |||
182 | #. Description | ||
183 | #: ../templates.master:88 | ||
184 | msgid "" | ||
185 | "You can enable it for servers you trust, either in one of the configuration " | ||
186 | "files, or with the -X command line option." | ||
187 | msgstr "" | ||
188 | "÷Ù ÍÏÖÅÔÅ ÒÁÚÒÅÛÉÔØ ÉÈ ÄÌÑ ÓÅÒ×ÅÒÏ×, ËÏÔÏÒÙÍ ÄÏ×ÅÒÑÅÔÅ ÌÉÂÏ × ÏÄÎÏÍ ÉÚ " | ||
189 | "ÎÁÓÔÒÏÅÞÎÙÈ ÆÁÊÌÏ×, ÉÌÉ ÐÁÒÁÍÅÔÒÏÍ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ -X." | ||
190 | |||
191 | #. Description | ||
192 | #: ../templates.master:88 | ||
193 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
194 | msgstr "" | ||
195 | "äÏÐÏÌÎÉÔÅÌØÕÀ ÉÎÆÏÒÍÁÃÉÀ ÍÏÖÎÏ ÎÁÊÔÉ × /usr/share/doc/ssh/README.Debian" | ||
196 | |||
197 | #. Description | ||
198 | #: ../templates.master:99 | ||
199 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
200 | msgstr "ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÕÓÔÁÎÏ×ÌÅÎ rsh-server --- ×ÉÄÉÍÏ, ÎÅ ÏÞÅÎØ ÈÏÒÏÛÏ" | ||
201 | |||
202 | #. Description | ||
203 | #: ../templates.master:99 | ||
204 | msgid "" | ||
205 | "having rsh-server installed undermines the security that you were probably " | ||
206 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
207 | msgstr "" | ||
208 | "õÓÔÁÎÏ×ÌÅÎÎÙÊ rsh-server ÓÎÉÖÁÅÔ ÂÅÚÏÐÁÓÎÏÓÔØ, ËÏÔÏÒÕÀ ×Ù ×ÅÒÏÑÔÎÏ " | ||
209 | "ÈÏÔÉÔÅ ÐÏ×ÙÓÉÔØ ÕÓÔÁÎÁ×ÌÉ×ÁÑ ssh. òÅËÏÍÅÎÄÕÅÔÓÑ ÕÄÁÌÉÔØ ÜÔÏÔ ÐÁËÅÔ." | ||
210 | |||
211 | #. Description | ||
212 | #: ../templates.master:106 | ||
213 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
214 | msgstr "ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: ÕÓÔÁÎÏ×ÌÅÎ telnetd --- ×ÉÄÉÍÏ, ÎÅ ÏÞÅÎØ ÈÏÒÏÛÏ" | ||
215 | |||
216 | #. Description | ||
217 | #: ../templates.master:106 | ||
218 | msgid "" | ||
219 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
220 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
221 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
222 | "password and session information over the network." | ||
223 | msgstr "" | ||
224 | "ñ ÒÅËÏÍÅÎÄÏ×ÁÌ ÂÙ ×ÁÍ ÕÄÁÌÉÔØ ÐÁËÅÔ telnetd (ÅÓÌÉ ×ÁÍ ÄÅÊÓÔ×ÉÔÅÌØÎÏ ÎÅ ÎÕÖÅÎ " | ||
225 | "ÄÏÓÔÕÐ telnet) ÉÌÉ ÕÓÔÁÎÏ×ÉÔØ telnet-ssl, ÞÔÏÂÙ ÉÍÅÔØ ÈÏÔÑ ÂÙ " | ||
226 | "×ÏÚÍÏÖÎÏÓÔØ ÎÅ ÐÅÒÅÄÁ×ÁÔØ ÐÏ ÓÅÔÉ ÎÅÚÁÛÉÆÒÏ×ÁÎÎÙÅ ÉÍÅÎÁ É ÐÁÒÏÌÉ " | ||
227 | "ÐÏÌØÚÏ×ÁÔÅÌÅÊ É ÐÒÏÞÕÀ ÉÎÆÏÒÍÁÃÉÀ × telnet-ÓÅÓÓÉÑÈ." | ||
228 | |||
229 | #. Description | ||
230 | #: ../templates.master:114 | ||
231 | msgid "Warning: you must create a new host key" | ||
232 | msgstr "ðÒÅÄÕÐÒÅÖÄÅÎÉÅ: ×Ù ÄÏÌÖÎÙ ÓÏÚÄÁÔØ ÎÏ×ÙÊ ËÌÀÞ ÍÁÛÉÎÙ." | ||
233 | |||
234 | #. Description | ||
235 | #: ../templates.master:114 | ||
236 | msgid "" | ||
237 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
238 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
239 | "the old (non-free) SSH installation." | ||
240 | msgstr "" | ||
241 | "åÓÔØ ÓÔÁÒÙÊ /etc/ssh/ssh_host_key, ËÏÔÏÒÙÊ ÚÁÛÉÆÒÏ×ÁÎ IDEA. OpenSSH ÎÅ " | ||
242 | "ÍÏÖÅÔ ÒÁÂÏÔÁÔØ Ó ÜÔÉÍ ËÌÀÞÏÍ ÍÁÛÉÎÙ, É Ñ ÎÅ ÍÏÇÕ ÎÁÊÔÉ ÕÔÉÌÉÔÕ ssh-" | ||
243 | "keygen ÏÔ ÓÔÁÒÏÊ (ÎÅÓ×ÏÂÏÄÎÏÊ) ÉÎÓÔÁÌÌÑÃÉÉ SSH." | ||
244 | |||
245 | #. Description | ||
246 | #: ../templates.master:114 | ||
247 | msgid "You will need to generate a new host key." | ||
248 | msgstr "÷ÁÍ ÎÁÄÏ ÂÕÄÅÔ ÓÇÅÎÅÒÉÒÏ×ÁÔØ ÎÏ×ÙÊ ËÌÀÞ ÈÏÓÔÁ." | ||
249 | |||
250 | #. Description | ||
251 | #: ../templates.master:124 | ||
252 | #, fuzzy | ||
253 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
254 | msgstr "èÏÔÉÔÅ ÕÓÔÁÎÏ×ÉÔØ /usr/bin/ssh ËÁË SUID root?" | ||
255 | |||
256 | #. Description | ||
257 | #: ../templates.master:124 | ||
258 | #, fuzzy | ||
259 | msgid "" | ||
260 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
261 | "set." | ||
262 | msgstr "" | ||
263 | "÷Ù ÉÍÅÅÔÅ ×ÏÚÍÏÖÎÏÓÔØ ÕÓÔÁÎÏ×ÉÔØ /usr/bin/ssh Ó ÕÓÔÁÎÏ×ÌÅÎÎÙÍ ÂÉÔÏÍ SUID." | ||
264 | |||
265 | #. Description | ||
266 | #: ../templates.master:124 | ||
267 | #, fuzzy | ||
268 | msgid "" | ||
269 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
270 | "based authentication." | ||
271 | msgstr "" | ||
272 | "åÓÌÉ ×Ù ÄÅÌÁÅÔÅ ssh SUID, ÔÏ ×Ù ÓÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÁÕÔÅÎÔÉÆÉËÁÃÉÀ " | ||
273 | "Rhosts/RhostsRSA, ÎÏ ÎÅ ÓÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ socks ÞÅÒÅÚ LD_PRELOAD. üÔÏ " | ||
274 | "ÔÒÁÄÉÃÉÏÎÎÏÅ ÐÏ×ÅÄÅÎÉÅ." | ||
275 | |||
276 | #. Description | ||
277 | #: ../templates.master:124 | ||
278 | #, fuzzy | ||
279 | msgid "" | ||
280 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
281 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
282 | msgstr "" | ||
283 | "åÓÌÉ ×Ù ÓÄÅÌÁÅÔÅ ssh SUID, ÔÏ ×Ù ÓÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ socks, ÎÏ ÚÁÔÏ " | ||
284 | "ÁÕÔÅÎÔÉÆÉËÁÃÉÑ Rhosts/RhostsRSA ÎÅ ÂÕÄÅÔ ÒÁÂÏÔÁÔØ, ÞÔÏ ÍÏÖÅÔ ÓÄÅÌÁÔØ " | ||
285 | "ÎÅ×ÏÚÍÏÖÎÙÍ ×ÁÛÕ ÒÅÇÉÓÔÒÁÃÉÀ ÎÁ ÕÄÁÌÅÎÎÙÈ ÓÉÓÔÅÍÁÈ. ôÁËÖÅ ÜÔÏ ÏÚÎÁÞÁÅÔ ÞÔÏ " | ||
286 | "ÎÏÍÅÒ ÉÓÔÏÞÎÉËÏ×ÏÇÏ ÐÏÒÔÁ ÂÕÄÅÔ ÂÏÌØÛÅ 1024, ÞÔÏ ÍÏÖÅÔ ÎÅ ÎÁÒÕÛÉÔØ ÒÁÂÏÔÕ " | ||
287 | "ÕÓÔÁÎÏ×ÌÅÎÎÙÈ ×ÁÍÉ ÐÒÁ×ÉÌ ÆÁÊÒ×ÏÌÁ." | ||
288 | |||
289 | #. Description | ||
290 | #: ../templates.master:137 | ||
291 | msgid "Do you want to run the sshd server ?" | ||
292 | msgstr "èÏÔÉÔÅ ÚÁÐÕÓÔÉÔØ ÓÅÒ×ÅÒ sshd?" | ||
293 | |||
294 | #. Description | ||
295 | #: ../templates.master:137 | ||
296 | msgid "This package contains both the ssh client, and the sshd server." | ||
297 | msgstr "üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ É ssh-ËÌÉÅÎÔ, É ssh-ÓÅÒ×ÅÒ." | ||
298 | |||
299 | #. Description | ||
300 | #: ../templates.master:137 | ||
301 | msgid "" | ||
302 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
303 | "ssh." | ||
304 | msgstr "" | ||
305 | "ïÂÙÞÎÏ sshd Secure Shell Server ÚÁÐÕÓËÁÅÔÓÑ ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ×ÈÏÄÁ × " | ||
306 | "ÒÅÇÉÓÔÒÁÃÉÉ × ÓÉÓÔÅÍÅ ÞÅÒÅÚ ssh." | ||
307 | |||
308 | #. Description | ||
309 | #: ../templates.master:137 | ||
310 | msgid "" | ||
311 | "If you are only interested in using the ssh client for outbound connections " | ||
312 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
313 | "can disable sshd here." | ||
314 | msgstr "" | ||
315 | "åÓÌÉ ×ÁÓ ÉÎÔÅÒÅÓÕÅÔ ÔÏÌØËÏ ÉÓÐÏÌØÚÏ×ÁÎÉÅ ssh-ËÌÉÅÎÔÁ ÄÌÑ ÉÓÈÏÄÑÝÉÈ " | ||
316 | "ÓÏÅÄÉÎÅÎÉÊ Ó ÜÔÏÊ ÍÁÛÉÎÙ, É ×Ù ÎÅ ÈÏÔÉÔÅ ×ÈÏÄÉÔØ × ÅÅ ÓÉÓÔÅÍÕ ÞÅÒÅÚ ssh, " | ||
317 | "ÔÏ ×Ù ÍÏÖÅÔÅ ÓÅÊÞÁÓ ÚÁÐÒÅÔÉÔØ sshd." | ||
318 | |||
319 | #. Description | ||
320 | #: ../templates.master:149 | ||
321 | msgid "Environment options on keys have been deprecated" | ||
322 | msgstr "" | ||
323 | |||
324 | #. Description | ||
325 | #: ../templates.master:149 | ||
326 | msgid "" | ||
327 | "This version of OpenSSH disables the environment option for public keys by " | ||
328 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
329 | "are using this option in an authorized_keys file, beware that the keys in " | ||
330 | "question will no longer work until the option is removed." | ||
331 | msgstr "" | ||
332 | |||
333 | #. Description | ||
334 | #: ../templates.master:149 | ||
335 | msgid "" | ||
336 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
337 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
338 | "sshd_config(5) manual page." | ||
339 | msgstr "" | ||
diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 000000000..42e6a9522 --- /dev/null +++ b/debian/po/templates.pot | |||
@@ -0,0 +1,302 @@ | |||
1 | # | ||
2 | # Translators, if you are not familiar with the PO format, gettext | ||
3 | # documentation is worth reading, especially sections dedicated to | ||
4 | # this format, e.g. by running: | ||
5 | # info -n '(gettext)PO Files' | ||
6 | # info -n '(gettext)Header Entry' | ||
7 | # | ||
8 | # Some information specific to po-debconf are available at | ||
9 | # /usr/share/doc/po-debconf/README-trans | ||
10 | # or http://www.debian.org/intl/l10n/po-debconf/README-trans | ||
11 | # | ||
12 | # Developers do not need to manually edit POT or PO files. | ||
13 | # | ||
14 | #, fuzzy | ||
15 | msgid "" | ||
16 | msgstr "" | ||
17 | "Project-Id-Version: PACKAGE VERSION\n" | ||
18 | "Report-Msgid-Bugs-To: \n" | ||
19 | "POT-Creation-Date: 2003-08-27 02:20+0100\n" | ||
20 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
21 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
22 | "Language-Team: LANGUAGE <LL@li.org>\n" | ||
23 | "MIME-Version: 1.0\n" | ||
24 | "Content-Type: text/plain; charset=CHARSET\n" | ||
25 | "Content-Transfer-Encoding: 8bit\n" | ||
26 | |||
27 | #. Description | ||
28 | #: ../templates.master:3 | ||
29 | msgid "Privilege separation" | ||
30 | msgstr "" | ||
31 | |||
32 | #. Description | ||
33 | #: ../templates.master:3 | ||
34 | msgid "" | ||
35 | "Privilege separation is turned on by default, so if you decide you want it " | ||
36 | "turned off, you need to add \"UsePrivilegeSeparation no\" to /etc/ssh/" | ||
37 | "sshd_config." | ||
38 | msgstr "" | ||
39 | |||
40 | #. Description | ||
41 | #: ../templates.master:19 | ||
42 | msgid "Enable Privilege separation" | ||
43 | msgstr "" | ||
44 | |||
45 | #. Description | ||
46 | #: ../templates.master:19 | ||
47 | msgid "" | ||
48 | "This version of OpenSSH contains the new privilege separation option. This " | ||
49 | "significantly reduces the quantity of code that runs as root, and therefore " | ||
50 | "reduces the impact of security holes in sshd." | ||
51 | msgstr "" | ||
52 | |||
53 | #. Description | ||
54 | #: ../templates.master:19 | ||
55 | msgid "" | ||
56 | "Unfortunately, privilege separation interacts badly with PAM. Any PAM " | ||
57 | "session modules that need to run as root (pam_mkhomedir, for example) will " | ||
58 | "fail, and PAM keyboard-interactive authentication won't work." | ||
59 | msgstr "" | ||
60 | |||
61 | #. Description | ||
62 | #: ../templates.master:19 | ||
63 | msgid "" | ||
64 | "Since you've opted to have me generate an sshd_config file for you, you can " | ||
65 | "choose whether or not to have Privilege Separation turned on or not. Unless " | ||
66 | "you know you need to use PAM features that won't work with this option, you " | ||
67 | "should say yes here." | ||
68 | msgstr "" | ||
69 | |||
70 | #. Description | ||
71 | #: ../templates.master:36 | ||
72 | msgid "Generate new configuration file" | ||
73 | msgstr "" | ||
74 | |||
75 | #. Description | ||
76 | #: ../templates.master:36 | ||
77 | msgid "" | ||
78 | "This version of OpenSSH has a considerably changed configuration file from " | ||
79 | "the version shipped in Debian 'Potato', which you appear to be upgrading " | ||
80 | "from. I can now generate you a new configuration file (/etc/ssh/sshd." | ||
81 | "config), which will work with the new server version, but will not contain " | ||
82 | "any customisations you made with the old version." | ||
83 | msgstr "" | ||
84 | |||
85 | #. Description | ||
86 | #: ../templates.master:36 | ||
87 | msgid "" | ||
88 | "Please note that this new configuration file will set the value of " | ||
89 | "'PermitRootLogin' to yes (meaning that anyone knowing the root password can " | ||
90 | "ssh directly in as root). It is the opinion of the maintainer that this is " | ||
91 | "the correct default (see README.Debian for more details), but you can always " | ||
92 | "edit sshd_config and set it to no if you wish." | ||
93 | msgstr "" | ||
94 | |||
95 | #. Description | ||
96 | #: ../templates.master:36 | ||
97 | msgid "" | ||
98 | "It is strongly recommended that you let me generate a new configuration file " | ||
99 | "for you." | ||
100 | msgstr "" | ||
101 | |||
102 | #. Description | ||
103 | #: ../templates.master:55 | ||
104 | msgid "Allow SSH protocol 2 only" | ||
105 | msgstr "" | ||
106 | |||
107 | #. Description | ||
108 | #: ../templates.master:55 | ||
109 | msgid "" | ||
110 | "This version of OpenSSH supports version 2 of the ssh protocol, which is " | ||
111 | "much more secure. Disabling ssh 1 is encouraged, however this will slow " | ||
112 | "things down on low end machines and might prevent older clients from " | ||
113 | "connecting (the ssh client shipped with \"potato\" is affected)." | ||
114 | msgstr "" | ||
115 | |||
116 | #. Description | ||
117 | #: ../templates.master:55 | ||
118 | msgid "" | ||
119 | "Also please note that keys used for protocol 1 are different so you will not " | ||
120 | "be able to use them if you only allow protocol 2 connections." | ||
121 | msgstr "" | ||
122 | |||
123 | #. Description | ||
124 | #: ../templates.master:55 | ||
125 | msgid "" | ||
126 | "If you later change your mind about this setting, README.Debian has " | ||
127 | "instructions on what to do to your sshd_config file." | ||
128 | msgstr "" | ||
129 | |||
130 | #. Description | ||
131 | #: ../templates.master:69 | ||
132 | msgid "ssh2 keys merged in configuration files" | ||
133 | msgstr "" | ||
134 | |||
135 | #. Description | ||
136 | #: ../templates.master:69 | ||
137 | msgid "" | ||
138 | "As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 " | ||
139 | "keys. This means the authorized_keys2 and known_hosts2 files are no longer " | ||
140 | "needed. They will still be read in order to maintain backwards compatibility" | ||
141 | msgstr "" | ||
142 | |||
143 | #. Description | ||
144 | #: ../templates.master:78 | ||
145 | msgid "Do you want to continue (and risk killing active ssh sessions) ?" | ||
146 | msgstr "" | ||
147 | |||
148 | #. Description | ||
149 | #: ../templates.master:78 | ||
150 | msgid "" | ||
151 | "The version of /etc/init.d/ssh that you have installed, is likely to kill " | ||
152 | "all running sshd instances. If you are doing this upgrade via an ssh " | ||
153 | "session, that would be a Bad Thing(tm)." | ||
154 | msgstr "" | ||
155 | |||
156 | #. Description | ||
157 | #: ../templates.master:78 | ||
158 | msgid "" | ||
159 | "You can fix this by adding \"--pidfile /var/run/sshd.pid\" to the start-stop-" | ||
160 | "daemon line in the stop section of the file." | ||
161 | msgstr "" | ||
162 | |||
163 | #. Description | ||
164 | #: ../templates.master:88 | ||
165 | msgid "NOTE: Forwarding of X11 and Authorization disabled by default." | ||
166 | msgstr "" | ||
167 | |||
168 | #. Description | ||
169 | #: ../templates.master:88 | ||
170 | msgid "" | ||
171 | "For security reasons, the Debian version of ssh has ForwardX11 and " | ||
172 | "ForwardAgent set to ``off'' by default." | ||
173 | msgstr "" | ||
174 | |||
175 | #. Description | ||
176 | #: ../templates.master:88 | ||
177 | msgid "" | ||
178 | "You can enable it for servers you trust, either in one of the configuration " | ||
179 | "files, or with the -X command line option." | ||
180 | msgstr "" | ||
181 | |||
182 | #. Description | ||
183 | #: ../templates.master:88 | ||
184 | msgid "More details can be found in /usr/share/doc/ssh/README.Debian" | ||
185 | msgstr "" | ||
186 | |||
187 | #. Description | ||
188 | #: ../templates.master:99 | ||
189 | msgid "Warning: rsh-server is installed --- probably not a good idea" | ||
190 | msgstr "" | ||
191 | |||
192 | #. Description | ||
193 | #: ../templates.master:99 | ||
194 | msgid "" | ||
195 | "having rsh-server installed undermines the security that you were probably " | ||
196 | "wanting to obtain by installing ssh. I'd advise you to remove that package." | ||
197 | msgstr "" | ||
198 | |||
199 | #. Description | ||
200 | #: ../templates.master:106 | ||
201 | msgid "Warning: telnetd is installed --- probably not a good idea" | ||
202 | msgstr "" | ||
203 | |||
204 | #. Description | ||
205 | #: ../templates.master:106 | ||
206 | msgid "" | ||
207 | "I'd advise you to either remove the telnetd package (if you don't actually " | ||
208 | "need to offer telnet access) or install telnetd-ssl so that there is at " | ||
209 | "least some chance that telnet sessions will not be sending unencrypted login/" | ||
210 | "password and session information over the network." | ||
211 | msgstr "" | ||
212 | |||
213 | #. Description | ||
214 | #: ../templates.master:114 | ||
215 | msgid "Warning: you must create a new host key" | ||
216 | msgstr "" | ||
217 | |||
218 | #. Description | ||
219 | #: ../templates.master:114 | ||
220 | msgid "" | ||
221 | "There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH can " | ||
222 | "not handle this host key file, and I can't find the ssh-keygen utility from " | ||
223 | "the old (non-free) SSH installation." | ||
224 | msgstr "" | ||
225 | |||
226 | #. Description | ||
227 | #: ../templates.master:114 | ||
228 | msgid "You will need to generate a new host key." | ||
229 | msgstr "" | ||
230 | |||
231 | #. Description | ||
232 | #: ../templates.master:124 | ||
233 | msgid "Do you want /usr/lib/ssh-keysign to be installed SUID root?" | ||
234 | msgstr "" | ||
235 | |||
236 | #. Description | ||
237 | #: ../templates.master:124 | ||
238 | msgid "" | ||
239 | "You have the option of installing the ssh-keysign helper with the SUID bit " | ||
240 | "set." | ||
241 | msgstr "" | ||
242 | |||
243 | #. Description | ||
244 | #: ../templates.master:124 | ||
245 | msgid "" | ||
246 | "If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 host-" | ||
247 | "based authentication." | ||
248 | msgstr "" | ||
249 | |||
250 | #. Description | ||
251 | #: ../templates.master:124 | ||
252 | msgid "" | ||
253 | "If in doubt, I suggest you install it with SUID. If it causes problems you " | ||
254 | "can change your mind later by running: dpkg-reconfigure ssh" | ||
255 | msgstr "" | ||
256 | |||
257 | #. Description | ||
258 | #: ../templates.master:137 | ||
259 | msgid "Do you want to run the sshd server ?" | ||
260 | msgstr "" | ||
261 | |||
262 | #. Description | ||
263 | #: ../templates.master:137 | ||
264 | msgid "This package contains both the ssh client, and the sshd server." | ||
265 | msgstr "" | ||
266 | |||
267 | #. Description | ||
268 | #: ../templates.master:137 | ||
269 | msgid "" | ||
270 | "Normally the sshd Secure Shell Server will be run to allow remote logins via " | ||
271 | "ssh." | ||
272 | msgstr "" | ||
273 | |||
274 | #. Description | ||
275 | #: ../templates.master:137 | ||
276 | msgid "" | ||
277 | "If you are only interested in using the ssh client for outbound connections " | ||
278 | "on this machine, and don't want to log into it at all using ssh, then you " | ||
279 | "can disable sshd here." | ||
280 | msgstr "" | ||
281 | |||
282 | #. Description | ||
283 | #: ../templates.master:149 | ||
284 | msgid "Environment options on keys have been deprecated" | ||
285 | msgstr "" | ||
286 | |||
287 | #. Description | ||
288 | #: ../templates.master:149 | ||
289 | msgid "" | ||
290 | "This version of OpenSSH disables the environment option for public keys by " | ||
291 | "default, in order to avoid certain attacks (for example, LD_PRELOAD). If you " | ||
292 | "are using this option in an authorized_keys file, beware that the keys in " | ||
293 | "question will no longer work until the option is removed." | ||
294 | msgstr "" | ||
295 | |||
296 | #. Description | ||
297 | #: ../templates.master:149 | ||
298 | msgid "" | ||
299 | "To re-enable this option, set \"PermitUserEnvironment yes\" in /etc/ssh/" | ||
300 | "sshd_config after the upgrade is complete, taking note of the warning in the " | ||
301 | "sshd_config(5) manual page." | ||
302 | msgstr "" | ||
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 000000000..af0f8a21c --- /dev/null +++ b/debian/postinst | |||
@@ -0,0 +1,329 @@ | |||
1 | #!/bin/sh -e | ||
2 | |||
3 | action="$1" | ||
4 | oldversion="$2" | ||
5 | |||
6 | . /usr/share/debconf/confmodule | ||
7 | db_version 2.0 | ||
8 | |||
9 | umask 022 | ||
10 | |||
11 | if [ "$action" != configure ] | ||
12 | then | ||
13 | exit 0 | ||
14 | fi | ||
15 | |||
16 | |||
17 | |||
18 | check_idea_key() { | ||
19 | #check for old host_key files using IDEA, which openssh does not support | ||
20 | if [ -f /etc/ssh/ssh_host_key ] ; then | ||
21 | if ssh-keygen -p -N '' -f /etc/ssh/ssh_host_key 2>&1 | \ | ||
22 | grep -q 'unknown cipher' 2>/dev/null ; then | ||
23 | mv /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.old | ||
24 | mv /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_key.pub.old | ||
25 | fi | ||
26 | fi | ||
27 | } | ||
28 | |||
29 | |||
30 | create_key() { | ||
31 | local msg="$1" | ||
32 | shift | ||
33 | local file="$1" | ||
34 | shift | ||
35 | |||
36 | if [ ! -f "$file" ] ; then | ||
37 | echo -n $msg | ||
38 | ssh-keygen -q -f "$file" -N '' "$@" | ||
39 | echo | ||
40 | fi | ||
41 | } | ||
42 | |||
43 | |||
44 | create_keys() { | ||
45 | db_get ssh/protocol2_only | ||
46 | if [ "$RET" = "false" ] ; then | ||
47 | create_key "Creating SSH1 key; this may take some time ..." \ | ||
48 | /etc/ssh/ssh_host_key -t rsa1 | ||
49 | fi | ||
50 | |||
51 | create_key "Creating SSH2 RSA key; this may take some time ..." \ | ||
52 | /etc/ssh/ssh_host_rsa_key -t rsa | ||
53 | create_key "Creating SSH2 DSA key; this may take some time ..." \ | ||
54 | /etc/ssh/ssh_host_dsa_key -t dsa | ||
55 | } | ||
56 | |||
57 | |||
58 | create_sshdconfig() { | ||
59 | if [ -e /etc/ssh/sshd_config ] ; then | ||
60 | if dpkg --compare-versions "$oldversion" lt-nl 1:1.3 ; then | ||
61 | db_get ssh/new_config | ||
62 | if [ "$RET" = "false" ] ; then return 0; fi | ||
63 | else return 0 | ||
64 | fi | ||
65 | fi | ||
66 | |||
67 | #Preserve old sshd_config before generating a new one | ||
68 | if [ -e /etc/ssh/sshd_config ] ; then | ||
69 | mv /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-old | ||
70 | fi | ||
71 | |||
72 | cat <<EOF > /etc/ssh/sshd_config | ||
73 | # Package generated configuration file | ||
74 | # See the sshd(8) manpage for details | ||
75 | |||
76 | # What ports, IPs and protocols we listen for | ||
77 | Port 22 | ||
78 | # Use these options to restrict which interfaces/protocols sshd will bind to | ||
79 | #ListenAddress :: | ||
80 | #ListenAddress 0.0.0.0 | ||
81 | EOF | ||
82 | db_get ssh/protocol2_only | ||
83 | if [ "$RET" = "false" ]; then | ||
84 | cat <<EOF >> /etc/ssh/sshd_config | ||
85 | Protocol 2,1 | ||
86 | # HostKeys for protocol version 1 | ||
87 | HostKey /etc/ssh/ssh_host_key | ||
88 | # HostKeys for protocol version 2 | ||
89 | HostKey /etc/ssh/ssh_host_rsa_key | ||
90 | HostKey /etc/ssh/ssh_host_dsa_key | ||
91 | EOF | ||
92 | else | ||
93 | cat <<EOF >> /etc/ssh/sshd_config | ||
94 | Protocol 2 | ||
95 | # HostKeys for protocol version 2 | ||
96 | HostKey /etc/ssh/ssh_host_rsa_key | ||
97 | HostKey /etc/ssh/ssh_host_dsa_key | ||
98 | EOF | ||
99 | fi | ||
100 | |||
101 | db_get ssh/privsep_ask | ||
102 | if [ "$RET" = "false" ]; then | ||
103 | cat <<EOF >> /etc/ssh/sshd_config | ||
104 | #Explicitly set PrivSep off, as requested | ||
105 | UsePrivilegeSeparation no | ||
106 | |||
107 | # Use PAM authentication via keyboard-interactive so PAM modules can | ||
108 | # properly interface with the user | ||
109 | PAMAuthenticationViaKbdInt yes | ||
110 | EOF | ||
111 | else | ||
112 | cat <<EOF >> /etc/ssh/sshd_config | ||
113 | #Privilege Separation is turned on for security | ||
114 | UsePrivilegeSeparation yes | ||
115 | |||
116 | # ...but breaks Pam auth via kbdint, so we have to turn it off | ||
117 | # Use PAM authentication via keyboard-interactive so PAM modules can | ||
118 | # properly interface with the user (off due to PrivSep) | ||
119 | PAMAuthenticationViaKbdInt no | ||
120 | EOF | ||
121 | fi | ||
122 | |||
123 | cat <<EOF >> /etc/ssh/sshd_config | ||
124 | # Lifetime and size of ephemeral version 1 server key | ||
125 | KeyRegenerationInterval 3600 | ||
126 | ServerKeyBits 768 | ||
127 | |||
128 | # Logging | ||
129 | SyslogFacility AUTH | ||
130 | LogLevel INFO | ||
131 | |||
132 | # Authentication: | ||
133 | LoginGraceTime 600 | ||
134 | PermitRootLogin yes | ||
135 | StrictModes yes | ||
136 | |||
137 | RSAAuthentication yes | ||
138 | PubkeyAuthentication yes | ||
139 | #AuthorizedKeysFile %h/.ssh/authorized_keys | ||
140 | |||
141 | # rhosts authentication should not be used | ||
142 | RhostsAuthentication no | ||
143 | # Don't read the user's ~/.rhosts and ~/.shosts files | ||
144 | IgnoreRhosts yes | ||
145 | # For this to work you will also need host keys in /etc/ssh_known_hosts | ||
146 | RhostsRSAAuthentication no | ||
147 | # similar for protocol version 2 | ||
148 | HostbasedAuthentication no | ||
149 | # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication | ||
150 | #IgnoreUserKnownHosts yes | ||
151 | |||
152 | # To enable empty passwords, change to yes (NOT RECOMMENDED) | ||
153 | PermitEmptyPasswords no | ||
154 | |||
155 | # Change to no to disable s/key passwords | ||
156 | #ChallengeResponseAuthentication yes | ||
157 | |||
158 | # To disable tunneled clear text passwords, change to no here! | ||
159 | PasswordAuthentication yes | ||
160 | |||
161 | |||
162 | # To change Kerberos options | ||
163 | #KerberosAuthentication no | ||
164 | #KerberosOrLocalPasswd yes | ||
165 | #AFSTokenPassing no | ||
166 | #KerberosTicketCleanup no | ||
167 | |||
168 | # Kerberos TGT Passing does only work with the AFS kaserver | ||
169 | #KerberosTgtPassing yes | ||
170 | |||
171 | X11Forwarding no | ||
172 | X11DisplayOffset 10 | ||
173 | PrintMotd no | ||
174 | PrintLastLog yes | ||
175 | KeepAlive yes | ||
176 | #UseLogin no | ||
177 | |||
178 | #MaxStartups 10:30:60 | ||
179 | #Banner /etc/issue.net | ||
180 | #ReverseMappingCheck yes | ||
181 | |||
182 | Subsystem sftp /usr/lib/sftp-server | ||
183 | |||
184 | EOF | ||
185 | } | ||
186 | |||
187 | |||
188 | fix_rsh_diversion() { | ||
189 | # get rid of mistaken rsh diversion (circa 1.2.27-1) | ||
190 | |||
191 | if [ -L /usr/bin/rsh ] && | ||
192 | dpkg-divert --list '/usr/bin/rsh.real/rsh' | grep -q ' ssh$' ; then | ||
193 | for cmd in rlogin rsh rcp ; do | ||
194 | [ -L /usr/bin/$cmd ] && rm /usr/bin/$cmd | ||
195 | dpkg-divert --package ssh --remove --rename \ | ||
196 | --divert /usr/bin/rsh.real/$cmd /usr/bin/$cmd | ||
197 | |||
198 | [ -L /usr/man/man1/$cmd.1.gz ] && rm /usr/man/man1/$$cmd.1.gz | ||
199 | dpkg-divert --package ssh --remove --rename \ | ||
200 | --divert /usr/man/man1/$cmd.real.1.gz /usr/man/man1/$cmd.1.gz | ||
201 | done | ||
202 | |||
203 | rmdir /usr/bin/rsh.real | ||
204 | fi | ||
205 | } | ||
206 | |||
207 | |||
208 | fix_statoverride() { | ||
209 | # Remove an erronous override for sshd (we should have overridden ssh) | ||
210 | if [ -x /usr/sbin/dpkg-statoverride ]; then | ||
211 | if dpkg-statoverride --list /usr/sbin/sshd >/dev/null ; then | ||
212 | dpkg-statoverride --remove /usr/sbin/sshd | ||
213 | fi | ||
214 | fi | ||
215 | } | ||
216 | |||
217 | |||
218 | create_alternatives() { | ||
219 | # Create alternatives for the various r* tools. | ||
220 | # Make sure we don't change existing alternatives that a user might have | ||
221 | # changed, but clean up after some old alternatives that mistakenly pointed | ||
222 | # rlogin and rcp to ssh. | ||
223 | update-alternatives --quiet --remove rlogin /usr/bin/ssh | ||
224 | update-alternatives --quiet --remove rcp /usr/bin/ssh | ||
225 | for cmd in rsh rlogin rcp; do | ||
226 | scmd="s${cmd#r}" | ||
227 | if ! update-alternatives --display "$cmd" | \ | ||
228 | grep -q "$scmd"; then | ||
229 | update-alternatives --quiet --install "/usr/bin/$cmd" "$cmd" "/usr/bin/$scmd" 20 \ | ||
230 | --slave "/usr/share/man/man1/$cmd.1.gz" "$cmd.1.gz" "/usr/share/man/man1/$scmd.1.gz" | ||
231 | fi | ||
232 | done | ||
233 | } | ||
234 | |||
235 | setup_sshd_user() { | ||
236 | if ! getent passwd sshd >/dev/null; then | ||
237 | adduser --quiet --system --no-create-home --home /var/run/sshd sshd | ||
238 | fi | ||
239 | } | ||
240 | |||
241 | set_sshd_permissions() { | ||
242 | if dpkg --compare-versions "$oldversion" lt-nl 1:3.4p1-1 ; then | ||
243 | if [ -x /usr/sbin/dpkg-statoverride ] ; then | ||
244 | if dpkg-statoverride --list /usr/bin/ssh >/dev/null; then | ||
245 | dpkg-statoverride --remove /usr/bin/ssh >/dev/null | ||
246 | fi | ||
247 | fi | ||
248 | fi | ||
249 | |||
250 | if [ ! -x /usr/sbin/dpkg-statoverride ] || \ | ||
251 | ! dpkg-statoverride --list /usr/lib/ssh-keysign >/dev/null ; then | ||
252 | db_get ssh/SUID_client | ||
253 | if [ "$RET" = "false" ] ; then | ||
254 | chmod 0755 /usr/lib/ssh-keysign | ||
255 | elif [ "$RET" = "true" ] ; then | ||
256 | chmod 4755 /usr/lib/ssh-keysign | ||
257 | fi | ||
258 | fi | ||
259 | } | ||
260 | |||
261 | |||
262 | fix_ssh_group() { | ||
263 | # Try to remove non-system group mistakenly created by 1:3.5p1-1. | ||
264 | # set_ssh_agent_permissions() below will re-create it properly. | ||
265 | if getent group ssh >/dev/null; then | ||
266 | delgroup --quiet ssh || true | ||
267 | fi | ||
268 | } | ||
269 | |||
270 | |||
271 | set_ssh_agent_permissions() { | ||
272 | if ! getent group ssh >/dev/null; then | ||
273 | addgroup --system --quiet ssh | ||
274 | fi | ||
275 | if ! [ -x /usr/sbin/dpkg-statoverride ] || \ | ||
276 | ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null ; then | ||
277 | chgrp ssh /usr/bin/ssh-agent | ||
278 | chmod 2755 /usr/bin/ssh-agent | ||
279 | fi | ||
280 | } | ||
281 | |||
282 | |||
283 | fix_conffile_permissions() { | ||
284 | # Clean up after executable /etc/default/ssh in 1:3.5p1-5. dpkg | ||
285 | # doesn't do this for us; see bug #192981. | ||
286 | chmod 644 /etc/default/ssh | ||
287 | } | ||
288 | |||
289 | setup_startup() { | ||
290 | db_get ssh/run_sshd | ||
291 | if [ "$RET" = "false" ] ; then | ||
292 | /etc/init.d/ssh stop 2>&1 >/dev/null | ||
293 | touch /etc/ssh/sshd_not_to_be_run | ||
294 | else | ||
295 | rm -f /etc/ssh/sshd_not_to_be_run 2>/dev/null | ||
296 | fi | ||
297 | } | ||
298 | |||
299 | |||
300 | setup_init() { | ||
301 | if [ -e /etc/init.d/ssh ]; then | ||
302 | update-rc.d ssh defaults >/dev/null | ||
303 | /etc/init.d/ssh restart | ||
304 | fi | ||
305 | } | ||
306 | |||
307 | check_idea_key | ||
308 | create_keys | ||
309 | create_sshdconfig | ||
310 | fix_rsh_diversion | ||
311 | fix_statoverride | ||
312 | create_alternatives | ||
313 | setup_sshd_user | ||
314 | set_sshd_permissions | ||
315 | if [ "$2" = "1:3.5p1-1" ]; then | ||
316 | fix_ssh_group | ||
317 | fi | ||
318 | set_ssh_agent_permissions | ||
319 | if dpkg --compare-versions "$2" lt 1:3.6.1p2-2; then | ||
320 | fix_conffile_permissions | ||
321 | fi | ||
322 | setup_startup | ||
323 | setup_init | ||
324 | |||
325 | |||
326 | db_stop | ||
327 | |||
328 | exit 0 | ||
329 | |||
diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 000000000..73eeeb463 --- /dev/null +++ b/debian/postrm | |||
@@ -0,0 +1,30 @@ | |||
1 | #!/bin/sh -e | ||
2 | |||
3 | #DEBHELPER# | ||
4 | |||
5 | if [ "$1" = "purge" ] | ||
6 | then | ||
7 | # Remove all non-conffiles that ssh might create, so that we can | ||
8 | # smoothly remove /etc/ssh if and only if the user hasn't dropped some | ||
9 | # other files in there. Conffiles have already been removed at this | ||
10 | # point. | ||
11 | rm -f /etc/ssh/moduli /etc/ssh/primes | ||
12 | rm -f /etc/ssh/ssh_host_key /etc/ssh/ssh_host_key.pub | ||
13 | rm -f /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub | ||
14 | rm -f /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub | ||
15 | rm -f /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 | ||
16 | rm -f /etc/ssh/sshd_config | ||
17 | rm -f /etc/ssh/sshd_not_to_be_run | ||
18 | rmdir --ignore-fail-on-non-empty /etc/ssh | ||
19 | fi | ||
20 | |||
21 | if [ "$1" = "purge" ] ; then | ||
22 | update-rc.d ssh remove >/dev/null | ||
23 | fi | ||
24 | |||
25 | if [ "$1" = "purge" ] ; then | ||
26 | deluser --quiet sshd > /dev/null || true | ||
27 | delgroup --quiet ssh > /dev/null || true | ||
28 | fi | ||
29 | |||
30 | exit 0 | ||
diff --git a/debian/preinst b/debian/preinst new file mode 100644 index 000000000..320d4df2a --- /dev/null +++ b/debian/preinst | |||
@@ -0,0 +1,79 @@ | |||
1 | #!/bin/sh -e | ||
2 | |||
3 | action=$1 | ||
4 | version=$2 | ||
5 | |||
6 | if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then | ||
7 | version=1.2.27 | ||
8 | fi | ||
9 | |||
10 | if [ "$action" = upgrade -o "$action" = install ] | ||
11 | then | ||
12 | # check if debconf is missing | ||
13 | if ! test -f /usr/share/debconf/confmodule | ||
14 | then | ||
15 | cat <<EOF | ||
16 | |||
17 | WARNING: ssh's pre-configuration script relies on debconf to tell you | ||
18 | about some problems that might prevent you from logging in if you are | ||
19 | upgrading from the old, Non-free version of ssh. | ||
20 | |||
21 | If this is a new installation, you don't need to worry about this. | ||
22 | Just go ahead and install ssh (make sure to read .../ssh/README.Debian). | ||
23 | |||
24 | If you are upgrading, but you have alternative ways of logging into | ||
25 | the machine (i.e. you're sitting in front of it, or you have telnetd | ||
26 | running), then you also don't need to worry too much, because you can | ||
27 | fix it up afterwards if there's a problem. | ||
28 | |||
29 | If you're upgrading from an older (non-free) version of ssh, and ssh | ||
30 | is the only way you have to access this machine, then you should | ||
31 | probably abort the installation of ssh, install debconf, and then | ||
32 | retry the installation of ssh. | ||
33 | |||
34 | EOF | ||
35 | echo -n "Do you want to install SSH anyway [yN]: " | ||
36 | read input | ||
37 | expr "$input" : '[Yy]' >/dev/null || exit 1 | ||
38 | |||
39 | # work around for missing debconf | ||
40 | db_get() { : ; } | ||
41 | RET=true | ||
42 | if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then | ||
43 | cp -a /etc/ssh-nonfree /etc/ssh | ||
44 | fi | ||
45 | else | ||
46 | # Source debconf library. | ||
47 | . /usr/share/debconf/confmodule | ||
48 | db_version 2.0 | ||
49 | fi | ||
50 | |||
51 | db_get ssh/use_old_init_script | ||
52 | if [ "$RET" = "false" ]; then | ||
53 | echo "ssh config: Aborting because ssh/use_old_init_script = false" >&2 | ||
54 | exit 1 | ||
55 | fi | ||
56 | |||
57 | # deal with upgrading from pre-OpenSSH versions | ||
58 | key=/etc/ssh/ssh_host_key | ||
59 | export key | ||
60 | if [ -n "$version" ] && [ -x /usr/bin/ssh-keygen ] && [ -f $key ] && | ||
61 | dpkg --compare-versions "$version" lt 1.2.28 | ||
62 | then | ||
63 | # make sure that keys get updated to get rid of IDEA | ||
64 | # | ||
65 | # N.B. this only works because we've still got the old | ||
66 | # nonfree ssh-keygen at this point | ||
67 | # | ||
68 | # First, check if we need to bother | ||
69 | echo -en '\0\0' | 3<&0 sh -c \ | ||
70 | 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || { | ||
71 | # this means that bytes 32&33 of the key were not both zero, in which | ||
72 | # case the key is encrypted, which we need to fix | ||
73 | chmod 600 $key | ||
74 | ssh-keygen -u -f $key >/dev/null | ||
75 | } | ||
76 | fi | ||
77 | fi | ||
78 | |||
79 | #DEBHELPER# | ||
diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 000000000..8ed7e07ec --- /dev/null +++ b/debian/prerm | |||
@@ -0,0 +1,44 @@ | |||
1 | #! /bin/sh | ||
2 | # prerm script for ssh | ||
3 | # | ||
4 | # see: dh_installdeb(1) | ||
5 | |||
6 | set -e | ||
7 | |||
8 | # summary of how this script can be called: | ||
9 | # * <prerm> `remove' | ||
10 | # * <old-prerm> `upgrade' <new-version> | ||
11 | # * <new-prerm> `failed-upgrade' <old-version> | ||
12 | # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> | ||
13 | # * <deconfigured's-prerm> `deconfigure' `in-favour' | ||
14 | # <package-being-installed> <version> `removing' | ||
15 | # <conflicting-package> <version> | ||
16 | # for details, see /usr/share/doc/packaging-manual/ | ||
17 | |||
18 | case "$1" in | ||
19 | remove|deconfigure) | ||
20 | update-alternatives --quiet --remove rsh /usr/bin/ssh | ||
21 | update-alternatives --quiet --remove rlogin /usr/bin/slogin | ||
22 | update-alternatives --quiet --remove rcp /usr/bin/scp | ||
23 | if [ -e /etc/init.d/ssh ]; then | ||
24 | /etc/init.d/ssh stop | ||
25 | fi | ||
26 | # install-info --quiet --remove /usr/info/ssh-askpass.info.gz | ||
27 | ;; | ||
28 | upgrade) | ||
29 | # install-info --quiet --remove /usr/info/ssh-askpass.info.gz | ||
30 | ;; | ||
31 | failed-upgrade) | ||
32 | ;; | ||
33 | *) | ||
34 | echo "prerm called with unknown argument \`$1'" >&2 | ||
35 | exit 0 | ||
36 | ;; | ||
37 | esac | ||
38 | |||
39 | # dh_installdeb will replace this with shell code automatically | ||
40 | # generated by other debhelper scripts. | ||
41 | |||
42 | #DEBHELPER# | ||
43 | |||
44 | exit 0 | ||
diff --git a/debian/rules b/debian/rules new file mode 100755 index 000000000..ec594ecb0 --- /dev/null +++ b/debian/rules | |||
@@ -0,0 +1,130 @@ | |||
1 | #!/usr/bin/make -f | ||
2 | |||
3 | # Uncomment this to turn on verbose mode. | ||
4 | # export DH_VERBOSE=1 | ||
5 | |||
6 | # This is the debhelper compatability version to use. | ||
7 | export DH_COMPAT=1 | ||
8 | |||
9 | # This has to be exported to make some magic below work. | ||
10 | export DH_OPTIONS | ||
11 | |||
12 | ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | ||
13 | OPTFLAGS := -O2 | ||
14 | else | ||
15 | OPTFLAGS := -O0 | ||
16 | endif | ||
17 | |||
18 | #PKG_VER = $(shell perl -e 'print <> =~ /\((.*)\)/' debian/changelog) | ||
19 | |||
20 | ifeq (,$(wildcard /usr/bin/po2debconf)) | ||
21 | PO2DEBCONF := no | ||
22 | MINDEBCONFVER := 0.5 | ||
23 | else | ||
24 | PO2DEBCONF := yes | ||
25 | MINDEBCONFVER := 1.2.0 | ||
26 | endif | ||
27 | |||
28 | # Change the version string to include the Debian version | ||
29 | SSH_VERSION := $(shell sed -e '/define/!d; s/.*\"\(.*\)\".*/\1/; q' <version.h) Debian $(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p') | ||
30 | |||
31 | build: build-stamp | ||
32 | build-stamp: | ||
33 | dh_testdir | ||
34 | ./configure --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/lib --mandir=/usr/share/man --with-tcp-wrappers --with-xauth=/usr/bin/X11/xauth --with-default-path=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin --with-superuser-path=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin --with-pam --with-4in6 \ | ||
35 | --with-privsep-path=/var/run/sshd --without-rand-helper | ||
36 | $(MAKE) -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass' CFLAGS='$(OPTFLAGS) -g -Wall -fno-builtin-log -DLOGIN_PROGRAM=\"/bin/login\" -DLOGIN_NO_ENDOPT -DSSHD_PAM_SERVICE=\"ssh\" -D__FILE_OFFSET_BITS=64 -DHAVE_MMAP_ANON_SHARED -DSSH_VERSION="\"$(SSH_VERSION)\""' \ | ||
37 | SSH_KEYSIGN='/usr/lib/ssh-keysign' | ||
38 | # Support building on Debian 3.0 (with GNOME 1.4) and later. | ||
39 | if [ -f /usr/include/libgnomeui-2.0/gnome.h ]; then \ | ||
40 | $(MAKE) -C contrib gnome-ssh-askpass2 CC='gcc $(OPTFLAGS) -g -Wall'; \ | ||
41 | elif [ -f /usr/include/gnome-1.0/gnome.h ]; then \ | ||
42 | $(MAKE) -C contrib gnome-ssh-askpass1 CC='gcc $(OPTFLAGS) -g -Wall'; \ | ||
43 | fi | ||
44 | |||
45 | touch build-stamp | ||
46 | |||
47 | clean: | ||
48 | dh_testdir | ||
49 | rm -f build-stamp | ||
50 | -$(MAKE) -i distclean | ||
51 | -$(MAKE) -C contrib clean | ||
52 | rm -f config.log | ||
53 | ifeq ($(PO2DEBCONF),yes) | ||
54 | # Hack for woody compatibility. This makes sure that the | ||
55 | # debian/templates file shipped in the source package doesn't | ||
56 | # specify encodings, which woody's debconf can't handle. If building | ||
57 | # on a system with po-debconf installed (conveniently debhelper (>= | ||
58 | # 4.1.16) depends on it), the binary-arch target will generate a | ||
59 | # better version for sarge. | ||
60 | echo 1 > debian/po/output | ||
61 | po2debconf debian/templates.master > debian/templates | ||
62 | rm -f debian/po/output | ||
63 | endif | ||
64 | dh_clean | ||
65 | |||
66 | install: DH_OPTIONS= | ||
67 | install: build | ||
68 | dh_testdir | ||
69 | dh_testroot | ||
70 | dh_clean -k | ||
71 | dh_installdirs | ||
72 | |||
73 | # Add here commands to install the package into debian/tmp. | ||
74 | $(MAKE) DESTDIR=`pwd`/debian/tmp install-nokeys | ||
75 | |||
76 | rm -f debian/tmp/etc/ssh/sshd_config | ||
77 | #Temporary hack: remove /usr/share/Ssh.bin, since we have no smartcard support anyway. | ||
78 | rm -f debian/tmp/usr/share/Ssh.bin | ||
79 | |||
80 | install -m 755 contrib/ssh-copy-id debian/tmp/usr/bin/ssh-copy-id | ||
81 | install -m 644 -c contrib/ssh-copy-id.1 debian/tmp/usr/share/man/man1/ssh-copy-id.1 | ||
82 | install -m 644 debian/moduli.5 debian/tmp/usr/share/man/man5/moduli.5 | ||
83 | |||
84 | if [ -f contrib/gnome-ssh-askpass2 ]; then \ | ||
85 | install -s -o root -g root -m 755 contrib/gnome-ssh-askpass2 debian/ssh-askpass-gnome/usr/lib/ssh/gnome-ssh-askpass; \ | ||
86 | elif [ -f contrib/gnome-ssh-askpass1 ]; then \ | ||
87 | install -s -o root -g root -m 755 contrib/gnome-ssh-askpass1 debian/ssh-askpass-gnome/usr/lib/ssh/gnome-ssh-askpass; \ | ||
88 | fi | ||
89 | install -m 644 debian/gnome-ssh-askpass.1 debian/ssh-askpass-gnome/usr/share/man/man1/gnome-ssh-askpass.1 | ||
90 | |||
91 | install -m 755 debian/ssh-argv0 debian/tmp/usr/bin/ssh-argv0 | ||
92 | install -m 644 debian/ssh-argv0.1 debian/tmp/usr/share/man/man1/ssh-argv0.1 | ||
93 | |||
94 | install -o root -g root debian/init debian/tmp/etc/init.d/ssh | ||
95 | install -o root -g root -m 644 debian/ssh.default debian/tmp/etc/default/ssh | ||
96 | |||
97 | install -o root -g root -m 755 -d debian/tmp/var/run/sshd | ||
98 | |||
99 | # Build architecture-independent files here. | ||
100 | binary-indep: build install | ||
101 | # nothing to do | ||
102 | |||
103 | # Build architecture-dependent files here. | ||
104 | binary-arch: build install | ||
105 | dh_testdir | ||
106 | dh_testroot | ||
107 | ifeq ($(PO2DEBCONF),yes) | ||
108 | po2debconf -e utf8 debian/templates.master > debian/templates | ||
109 | endif | ||
110 | dh_installdebconf | ||
111 | dh_installdocs OVERVIEW README | ||
112 | cat debian/copyright.head LICENCE > debian/tmp/usr/share/doc/ssh/copyright | ||
113 | nroff RFC.nroff > debian/tmp/usr/share/doc/ssh/RFC | ||
114 | gzip -9 debian/tmp/usr/share/doc/ssh/RFC | ||
115 | rm -rf debian/tmp/usr/share/doc/ssh/RFC.nroff.gz | ||
116 | dh_installpam | ||
117 | dh_installchangelogs ChangeLog | ||
118 | dh_strip | ||
119 | dh_compress | ||
120 | dh_fixperms | ||
121 | dh_installdeb | ||
122 | test ! -e debian/tmp/etc/ssh/ssh_prng_cmds \ | ||
123 | || echo "/etc/ssh/ssh_prng_cmds" >> debian/tmp/DEBIAN/conffiles | ||
124 | dh_shlibdeps | ||
125 | dh_gencontrol -- -V'debconf-depends=debconf (>= $(MINDEBCONFVER))' | ||
126 | dh_md5sums | ||
127 | dh_builddeb | ||
128 | |||
129 | binary: binary-indep binary-arch | ||
130 | .PHONY: build clean binary-indep binary-arch binary install | ||
diff --git a/debian/ssh-argv0 b/debian/ssh-argv0 new file mode 100644 index 000000000..67599aec2 --- /dev/null +++ b/debian/ssh-argv0 | |||
@@ -0,0 +1,30 @@ | |||
1 | #! /bin/sh -e | ||
2 | |||
3 | # Copyright (c) 2001 Jonathan Amery. | ||
4 | # | ||
5 | # Redistribution and use in source and binary forms, with or without | ||
6 | # modification, are permitted provided that the following conditions | ||
7 | # are met: | ||
8 | # 1. Redistributions of source code must retain the above copyright | ||
9 | # notice, this list of conditions and the following disclaimer. | ||
10 | # 2. Redistributions in binary form must reproduce the above copyright | ||
11 | # notice, this list of conditions and the following disclaimer in the | ||
12 | # documentation and/or other materials provided with the distribution. | ||
13 | # | ||
14 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
15 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
16 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
17 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
18 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
19 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
20 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
21 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
22 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
23 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
24 | |||
25 | if [ "${0##*/}" = "ssh-argv0" ] | ||
26 | then | ||
27 | echo 'ssh-argv0: This script should not be run like this, see ssh-argv0(1) for details' 1>&2 | ||
28 | exit 1 | ||
29 | fi | ||
30 | exec ssh "${0##*/}" "$@" | ||
diff --git a/debian/ssh-argv0.1 b/debian/ssh-argv0.1 new file mode 100644 index 000000000..a36a63d40 --- /dev/null +++ b/debian/ssh-argv0.1 | |||
@@ -0,0 +1,64 @@ | |||
1 | .Dd September 7, 2001 | ||
2 | .Dt SSH-ARGV0 1 | ||
3 | .Os Debian Project | ||
4 | .Sh NAME | ||
5 | .Nm ssh-argv0 | ||
6 | .Nd replaces the old ssh command-name as hostname handling | ||
7 | .Sh SYNOPSIS | ||
8 | .Ar hostname | user@hostname | ||
9 | .Op Fl l Ar login_name | ||
10 | .Op Ar command | ||
11 | .Pp | ||
12 | .Ar hostname | user@hostname | ||
13 | .Op Fl afgknqstvxACNTX1246 | ||
14 | .Op Fl b Ar bind_address | ||
15 | .Op Fl c Ar cipher_spec | ||
16 | .Op Fl e Ar escape_char | ||
17 | .Op Fl i Ar identity_file | ||
18 | .Op Fl l Ar login_name | ||
19 | .Op Fl m Ar mac_spec | ||
20 | .Op Fl o Ar option | ||
21 | .Op Fl p Ar port | ||
22 | .Op Fl F Ar configfile | ||
23 | .Oo Fl L Xo | ||
24 | .Sm off | ||
25 | .Ar port : | ||
26 | .Ar host : | ||
27 | .Ar hostport | ||
28 | .Sm on | ||
29 | .Xc | ||
30 | .Oc | ||
31 | .Oo Fl R Xo | ||
32 | .Sm off | ||
33 | .Ar port : | ||
34 | .Ar host : | ||
35 | .Ar hostport | ||
36 | .Sm on | ||
37 | .Xc | ||
38 | .Oc | ||
39 | .Op Fl D Ar port | ||
40 | .Op Ar command | ||
41 | .Sh DESCRIPTION | ||
42 | .Nm | ||
43 | replaces the old ssh command-name as hostname handling. | ||
44 | If you link to this script with a hostname then executing the link is | ||
45 | equivalent to having executed ssh with that hostname as an argument. | ||
46 | All other arguments are passed to ssh and will be processed normally. | ||
47 | .Sh OPTIONS | ||
48 | See | ||
49 | .Xr ssh 1 . | ||
50 | .Sh FILES | ||
51 | See | ||
52 | .Xr ssh 1 . | ||
53 | .Sh AUTHORS | ||
54 | OpenSSH is a derivative of the original and free | ||
55 | ssh 1.2.12 release by Tatu Ylonen. | ||
56 | Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, | ||
57 | Theo de Raadt and Dug Song | ||
58 | removed many bugs, re-added newer features and | ||
59 | created OpenSSH. | ||
60 | Markus Friedl contributed the support for SSH | ||
61 | protocol versions 1.5 and 2.0. | ||
62 | Jonathan Amery wrote this ssh-argv0 script and the associated documentation. | ||
63 | .Sh SEE ALSO | ||
64 | .Xr ssh 1 | ||
diff --git a/debian/ssh-askpass-gnome.copyright b/debian/ssh-askpass-gnome.copyright new file mode 100644 index 000000000..4a71dda00 --- /dev/null +++ b/debian/ssh-askpass-gnome.copyright | |||
@@ -0,0 +1,44 @@ | |||
1 | This package contains a Gnome based implementation of ssh-askpass | ||
2 | written by Damien Miller. | ||
3 | |||
4 | It is split out from the main package to isolate the dependency on the | ||
5 | Gnome and X11 libraries. | ||
6 | |||
7 | It was packaged for Debian by Philip Hands <phil@hands.com>. | ||
8 | |||
9 | Copyright: | ||
10 | |||
11 | /* | ||
12 | ** | ||
13 | ** GNOME ssh passphrase requestor | ||
14 | ** | ||
15 | ** Damien Miller <djm@ibs.com.au> | ||
16 | ** | ||
17 | ** Copyright 1999 Internet Business Solutions | ||
18 | ** | ||
19 | ** Permission is hereby granted, free of charge, to any person | ||
20 | ** obtaining a copy of this software and associated documentation | ||
21 | ** files (the "Software"), to deal in the Software without | ||
22 | ** restriction, including without limitation the rights to use, copy, | ||
23 | ** modify, merge, publish, distribute, sublicense, and/or sell copies | ||
24 | ** of the Software, and to permit persons to whom the Software is | ||
25 | ** furnished to do so, subject to the following conditions: | ||
26 | ** | ||
27 | ** The above copyright notice and this permission notice shall be | ||
28 | ** included in all copies or substantial portions of the Software. | ||
29 | ** | ||
30 | ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | ||
31 | ** KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | ||
32 | ** WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE | ||
33 | ** AND NONINFRINGEMENT. IN NO EVENT SHALL DAMIEN MILLER OR INTERNET | ||
34 | ** BUSINESS SOLUTIONS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
35 | ** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
36 | ** ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE | ||
37 | ** OR OTHER DEALINGS IN THE SOFTWARE. | ||
38 | ** | ||
39 | ** Except as contained in this notice, the name of Internet Business | ||
40 | ** Solutions shall not be used in advertising or otherwise to promote | ||
41 | ** the sale, use or other dealings in this Software without prior | ||
42 | ** written authorization from Internet Business Solutions. | ||
43 | ** | ||
44 | */ | ||
diff --git a/debian/ssh-askpass-gnome.dirs b/debian/ssh-askpass-gnome.dirs new file mode 100644 index 000000000..4d0ee7a32 --- /dev/null +++ b/debian/ssh-askpass-gnome.dirs | |||
@@ -0,0 +1,2 @@ | |||
1 | usr/lib/ssh | ||
2 | usr/share/man/man1 | ||
diff --git a/debian/ssh-askpass-gnome.postinst b/debian/ssh-askpass-gnome.postinst new file mode 100644 index 000000000..7441cca29 --- /dev/null +++ b/debian/ssh-askpass-gnome.postinst | |||
@@ -0,0 +1,53 @@ | |||
1 | #! /bin/sh | ||
2 | # postinst script for ssh-askpass-gnome | ||
3 | # | ||
4 | # see: dh_installdeb(1) | ||
5 | |||
6 | set -e | ||
7 | |||
8 | # summary of how this script can be called: | ||
9 | # * <postinst> `configure' <most-recently-configured-version> | ||
10 | # * <old-postinst> `abort-upgrade' <new version> | ||
11 | # * <conflictor's-postinst> `abort-remove' `in-favour' <package> | ||
12 | # <new-version> | ||
13 | # * <deconfigured's-postinst> `abort-deconfigure' `in-favour' | ||
14 | # <failed-install-package> <version> `removing' | ||
15 | # <conflicting-package> <version> | ||
16 | # for details, see /usr/share/doc/packaging-manual/ | ||
17 | # | ||
18 | # quoting from the policy: | ||
19 | # Any necessary prompting should almost always be confined to the | ||
20 | # post-installation script, and should be protected with a conditional | ||
21 | # so that unnecessary prompting doesn't happen if a package's | ||
22 | # installation fails and the `postinst' is called with `abort-upgrade', | ||
23 | # `abort-remove' or `abort-deconfigure'. | ||
24 | |||
25 | case "$1" in | ||
26 | configure) | ||
27 | update-alternatives --quiet \ | ||
28 | --install /usr/bin/ssh-askpass ssh-askpass \ | ||
29 | /usr/lib/ssh/gnome-ssh-askpass 30 \ | ||
30 | --slave /usr/share/man/man1/ssh-askpass.1.gz \ | ||
31 | ssh-askpass.1.gz /usr/share/man/man1/gnome-ssh-askpass.1.gz | ||
32 | |||
33 | |||
34 | ;; | ||
35 | |||
36 | abort-upgrade|abort-remove|abort-deconfigure) | ||
37 | |||
38 | ;; | ||
39 | |||
40 | *) | ||
41 | echo "postinst called with unknown argument \`$1'" >&2 | ||
42 | exit 0 | ||
43 | ;; | ||
44 | esac | ||
45 | |||
46 | # dh_installdeb will replace this with shell code automatically | ||
47 | # generated by other debhelper scripts. | ||
48 | |||
49 | #DEBHELPER# | ||
50 | |||
51 | exit 0 | ||
52 | |||
53 | |||
diff --git a/debian/ssh-askpass-gnome.prerm b/debian/ssh-askpass-gnome.prerm new file mode 100644 index 000000000..6f3f5756d --- /dev/null +++ b/debian/ssh-askpass-gnome.prerm | |||
@@ -0,0 +1,41 @@ | |||
1 | #! /bin/sh | ||
2 | # prerm script for ssh-askpass-gnome | ||
3 | # | ||
4 | # see: dh_installdeb(1) | ||
5 | |||
6 | set -e | ||
7 | |||
8 | # summary of how this script can be called: | ||
9 | # * <prerm> `remove' | ||
10 | # * <old-prerm> `upgrade' <new-version> | ||
11 | # * <new-prerm> `failed-upgrade' <old-version> | ||
12 | # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> | ||
13 | # * <deconfigured's-prerm> `deconfigure' `in-favour' | ||
14 | # <package-being-installed> <version> `removing' | ||
15 | # <conflicting-package> <version> | ||
16 | # for details, see /usr/share/doc/packaging-manual/ | ||
17 | |||
18 | case "$1" in | ||
19 | remove|deconfigure) | ||
20 | update-alternatives --quiet --remove ssh-askpass /usr/lib/ssh/gnome-ssh-askpass | ||
21 | # install-info --quiet --remove /usr/info/ssh-askpass.info.gz | ||
22 | ;; | ||
23 | upgrade) | ||
24 | # install-info --quiet --remove /usr/info/ssh-askpass.info.gz | ||
25 | ;; | ||
26 | failed-upgrade) | ||
27 | ;; | ||
28 | *) | ||
29 | echo "prerm called with unknown argument \`$1'" >&2 | ||
30 | exit 0 | ||
31 | ;; | ||
32 | esac | ||
33 | |||
34 | # dh_installdeb will replace this with shell code automatically | ||
35 | # generated by other debhelper scripts. | ||
36 | |||
37 | #DEBHELPER# | ||
38 | |||
39 | exit 0 | ||
40 | |||
41 | |||
diff --git a/debian/ssh.default b/debian/ssh.default new file mode 100644 index 000000000..aa03c4e07 --- /dev/null +++ b/debian/ssh.default | |||
@@ -0,0 +1,5 @@ | |||
1 | # Default settings for ssh. This file is sourced by /bin/sh from | ||
2 | # /etc/init.d/ssh. | ||
3 | |||
4 | # Options to pass to sshd | ||
5 | SSHD_OPTS= | ||
diff --git a/debian/ssh.pam b/debian/ssh.pam new file mode 100644 index 000000000..f6fbd3ebc --- /dev/null +++ b/debian/ssh.pam | |||
@@ -0,0 +1,21 @@ | |||
1 | #%PAM-1.0 | ||
2 | auth required pam_nologin.so | ||
3 | auth required pam_unix.so | ||
4 | auth required pam_env.so # [1] | ||
5 | |||
6 | account required pam_unix.so | ||
7 | |||
8 | session required pam_unix.so | ||
9 | session optional pam_motd.so # [1] | ||
10 | session optional pam_mail.so standard noenv # [1] | ||
11 | session required pam_limits.so | ||
12 | |||
13 | password required pam_unix.so | ||
14 | |||
15 | # Alternate strength checking for password. Note that this | ||
16 | # requires the libpam-cracklib package to be installed. | ||
17 | # You will need to comment out the password line above and | ||
18 | # uncomment the next two in order to use this. | ||
19 | # | ||
20 | # password required pam_cracklib.so retry=3 minlen=6 difok=3 | ||
21 | # password required pam_unix.so use_authtok nullok md5 | ||
diff --git a/debian/templates.master b/debian/templates.master new file mode 100644 index 000000000..a4005fd38 --- /dev/null +++ b/debian/templates.master | |||
@@ -0,0 +1,157 @@ | |||
1 | Template: ssh/privsep_tell | ||
2 | Type: note | ||
3 | _Description: Privilege separation | ||
4 | This version of OpenSSH contains the new privilege separation option. This | ||
5 | significantly reduces the quantity of code that runs as root, and | ||
6 | therefore reduces the impact of security holes in sshd. | ||
7 | . | ||
8 | Unfortunately, privilege separation interacts badly with PAM. Any PAM | ||
9 | session modules that need to run as root (pam_mkhomedir, for example) will | ||
10 | fail, and PAM keyboard-interactive authentication won't work. | ||
11 | . | ||
12 | Privilege separation is turned on by default, so if you decide you want it | ||
13 | turned off, you need to add "UsePrivilegeSeparation no" to | ||
14 | /etc/ssh/sshd_config. | ||
15 | |||
16 | Template: ssh/privsep_ask | ||
17 | Type: boolean | ||
18 | Default: true | ||
19 | _Description: Enable Privilege separation | ||
20 | This version of OpenSSH contains the new privilege separation option. This | ||
21 | significantly reduces the quantity of code that runs as root, and | ||
22 | therefore reduces the impact of security holes in sshd. | ||
23 | . | ||
24 | Unfortunately, privilege separation interacts badly with PAM. Any PAM | ||
25 | session modules that need to run as root (pam_mkhomedir, for example) will | ||
26 | fail, and PAM keyboard-interactive authentication won't work. | ||
27 | . | ||
28 | Since you've opted to have me generate an sshd_config file for you, you | ||
29 | can choose whether or not to have Privilege Separation turned on or not. | ||
30 | Unless you know you need to use PAM features that won't work with this | ||
31 | option, you should say yes here. | ||
32 | |||
33 | Template: ssh/new_config | ||
34 | Type: boolean | ||
35 | Default: true | ||
36 | _Description: Generate new configuration file | ||
37 | This version of OpenSSH has a considerably changed configuration file from | ||
38 | the version shipped in Debian 'Potato', which you appear to be upgrading | ||
39 | from. I can now generate you a new configuration file | ||
40 | (/etc/ssh/sshd.config), which will work with the new server version, but | ||
41 | will not contain any customisations you made with the old version. | ||
42 | . | ||
43 | Please note that this new configuration file will set the value of | ||
44 | 'PermitRootLogin' to yes (meaning that anyone knowing the root password | ||
45 | can ssh directly in as root). It is the opinion of the maintainer that | ||
46 | this is the correct default (see README.Debian for more details), but you | ||
47 | can always edit sshd_config and set it to no if you wish. | ||
48 | . | ||
49 | It is strongly recommended that you let me generate a new configuration | ||
50 | file for you. | ||
51 | |||
52 | Template: ssh/protocol2_only | ||
53 | Type: boolean | ||
54 | Default: true | ||
55 | _Description: Allow SSH protocol 2 only | ||
56 | This version of OpenSSH supports version 2 of the ssh protocol, which is | ||
57 | much more secure. Disabling ssh 1 is encouraged, however this will slow | ||
58 | things down on low end machines and might prevent older clients from | ||
59 | connecting (the ssh client shipped with "potato" is affected). | ||
60 | . | ||
61 | Also please note that keys used for protocol 1 are different so you will | ||
62 | not be able to use them if you only allow protocol 2 connections. | ||
63 | . | ||
64 | If you later change your mind about this setting, README.Debian has | ||
65 | instructions on what to do to your sshd_config file. | ||
66 | |||
67 | Template: ssh/ssh2_keys_merged | ||
68 | Type: note | ||
69 | _Description: ssh2 keys merged in configuration files | ||
70 | As of version 3 OpenSSH no longer uses separate files for ssh1 and ssh2 | ||
71 | keys. This means the authorized_keys2 and known_hosts2 files are no longer | ||
72 | needed. They will still be read in order to maintain backwards | ||
73 | compatibility | ||
74 | |||
75 | Template: ssh/use_old_init_script | ||
76 | Type: boolean | ||
77 | Default: false | ||
78 | _Description: Do you want to continue (and risk killing active ssh sessions) ? | ||
79 | The version of /etc/init.d/ssh that you have installed, is likely to kill | ||
80 | all running sshd instances. If you are doing this upgrade via an ssh | ||
81 | session, that would be a Bad Thing(tm). | ||
82 | . | ||
83 | You can fix this by adding "--pidfile /var/run/sshd.pid" to the | ||
84 | start-stop-daemon line in the stop section of the file. | ||
85 | |||
86 | Template: ssh/forward_warning | ||
87 | Type: note | ||
88 | _Description: NOTE: Forwarding of X11 and Authorization disabled by default. | ||
89 | For security reasons, the Debian version of ssh has ForwardX11 and | ||
90 | ForwardAgent set to ``off'' by default. | ||
91 | . | ||
92 | You can enable it for servers you trust, either in one of the | ||
93 | configuration files, or with the -X command line option. | ||
94 | . | ||
95 | More details can be found in /usr/share/doc/ssh/README.Debian | ||
96 | |||
97 | Template: ssh/insecure_rshd | ||
98 | Type: note | ||
99 | _Description: Warning: rsh-server is installed --- probably not a good idea | ||
100 | having rsh-server installed undermines the security that you were probably | ||
101 | wanting to obtain by installing ssh. I'd advise you to remove that | ||
102 | package. | ||
103 | |||
104 | Template: ssh/insecure_telnetd | ||
105 | Type: note | ||
106 | _Description: Warning: telnetd is installed --- probably not a good idea | ||
107 | I'd advise you to either remove the telnetd package (if you don't actually | ||
108 | need to offer telnet access) or install telnetd-ssl so that there is at | ||
109 | least some chance that telnet sessions will not be sending unencrypted | ||
110 | login/password and session information over the network. | ||
111 | |||
112 | Template: ssh/encrypted_host_key_but_no_keygen | ||
113 | Type: note | ||
114 | _Description: Warning: you must create a new host key | ||
115 | There is an old /etc/ssh/ssh_host_key, which is IDEA encrypted. OpenSSH | ||
116 | can not handle this host key file, and I can't find the ssh-keygen utility | ||
117 | from the old (non-free) SSH installation. | ||
118 | . | ||
119 | You will need to generate a new host key. | ||
120 | |||
121 | Template: ssh/SUID_client | ||
122 | Type: boolean | ||
123 | Default: true | ||
124 | _Description: Do you want /usr/lib/ssh-keysign to be installed SUID root? | ||
125 | You have the option of installing the ssh-keysign helper with the SUID bit | ||
126 | set. | ||
127 | . | ||
128 | If you make ssh-keysign SUID, you will be able to use SSH's Protocol 2 | ||
129 | host-based authentication. | ||
130 | . | ||
131 | If in doubt, I suggest you install it with SUID. If it causes problems | ||
132 | you can change your mind later by running: dpkg-reconfigure ssh | ||
133 | |||
134 | Template: ssh/run_sshd | ||
135 | Type: boolean | ||
136 | Default: true | ||
137 | _Description: Do you want to run the sshd server ? | ||
138 | This package contains both the ssh client, and the sshd server. | ||
139 | . | ||
140 | Normally the sshd Secure Shell Server will be run to allow remote logins | ||
141 | via ssh. | ||
142 | . | ||
143 | If you are only interested in using the ssh client for outbound | ||
144 | connections on this machine, and don't want to log into it at all using | ||
145 | ssh, then you can disable sshd here. | ||
146 | |||
147 | Template: ssh/user_environment_tell | ||
148 | Type: note | ||
149 | _Description: Environment options on keys have been deprecated | ||
150 | This version of OpenSSH disables the environment option for public keys by | ||
151 | default, in order to avoid certain attacks (for example, LD_PRELOAD). If | ||
152 | you are using this option in an authorized_keys file, beware that the keys | ||
153 | in question will no longer work until the option is removed. | ||
154 | . | ||
155 | To re-enable this option, set "PermitUserEnvironment yes" in | ||
156 | /etc/ssh/sshd_config after the upgrade is complete, taking note of the | ||
157 | warning in the sshd_config(5) manual page. | ||
@@ -136,6 +136,8 @@ seed_rng(void) | |||
136 | void | 136 | void |
137 | init_rng(void) | 137 | init_rng(void) |
138 | { | 138 | { |
139 | #if defined (DISABLED_BY_DEBIAN) | ||
140 | /* drow: Is this check still too strict for Debian? */ | ||
139 | /* | 141 | /* |
140 | * OpenSSL version numbers: MNNFFPPS: major minor fix patch status | 142 | * OpenSSL version numbers: MNNFFPPS: major minor fix patch status |
141 | * We match major, minor, fix and status (not patch) | 143 | * We match major, minor, fix and status (not patch) |
@@ -143,6 +145,7 @@ init_rng(void) | |||
143 | if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) | 145 | if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) |
144 | fatal("OpenSSL version mismatch. Built against %lx, you " | 146 | fatal("OpenSSL version mismatch. Built against %lx, you " |
145 | "have %lx", OPENSSL_VERSION_NUMBER, SSLeay()); | 147 | "have %lx", OPENSSL_VERSION_NUMBER, SSLeay()); |
148 | #endif | ||
146 | 149 | ||
147 | #ifndef OPENSSL_PRNG_ONLY | 150 | #ifndef OPENSSL_PRNG_ONLY |
148 | if ((original_uid = getuid()) == -1) | 151 | if ((original_uid = getuid()) == -1) |
@@ -76,8 +76,9 @@ static struct { | |||
76 | LogLevel val; | 76 | LogLevel val; |
77 | } log_levels[] = | 77 | } log_levels[] = |
78 | { | 78 | { |
79 | { "QUIET", SYSLOG_LEVEL_QUIET }, | 79 | { "SILENT", SYSLOG_LEVEL_SILENT }, |
80 | { "FATAL", SYSLOG_LEVEL_FATAL }, | 80 | { "FATAL", SYSLOG_LEVEL_FATAL }, |
81 | { "QUIET", SYSLOG_LEVEL_QUIET }, | ||
81 | { "ERROR", SYSLOG_LEVEL_ERROR }, | 82 | { "ERROR", SYSLOG_LEVEL_ERROR }, |
82 | { "INFO", SYSLOG_LEVEL_INFO }, | 83 | { "INFO", SYSLOG_LEVEL_INFO }, |
83 | { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, | 84 | { "VERBOSE", SYSLOG_LEVEL_VERBOSE }, |
@@ -267,8 +268,9 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
267 | argv0 = av0; | 268 | argv0 = av0; |
268 | 269 | ||
269 | switch (level) { | 270 | switch (level) { |
270 | case SYSLOG_LEVEL_QUIET: | 271 | case SYSLOG_LEVEL_SILENT: |
271 | case SYSLOG_LEVEL_FATAL: | 272 | case SYSLOG_LEVEL_FATAL: |
273 | case SYSLOG_LEVEL_QUIET: | ||
272 | case SYSLOG_LEVEL_ERROR: | 274 | case SYSLOG_LEVEL_ERROR: |
273 | case SYSLOG_LEVEL_INFO: | 275 | case SYSLOG_LEVEL_INFO: |
274 | case SYSLOG_LEVEL_VERBOSE: | 276 | case SYSLOG_LEVEL_VERBOSE: |
@@ -37,8 +37,9 @@ typedef enum { | |||
37 | } SyslogFacility; | 37 | } SyslogFacility; |
38 | 38 | ||
39 | typedef enum { | 39 | typedef enum { |
40 | SYSLOG_LEVEL_QUIET, | 40 | SYSLOG_LEVEL_SILENT, |
41 | SYSLOG_LEVEL_FATAL, | 41 | SYSLOG_LEVEL_FATAL, |
42 | SYSLOG_LEVEL_QUIET, | ||
42 | SYSLOG_LEVEL_ERROR, | 43 | SYSLOG_LEVEL_ERROR, |
43 | SYSLOG_LEVEL_INFO, | 44 | SYSLOG_LEVEL_INFO, |
44 | SYSLOG_LEVEL_VERBOSE, | 45 | SYSLOG_LEVEL_VERBOSE, |
@@ -139,6 +139,7 @@ static char *hostbased_chost = NULL; | |||
139 | static char *auth_method = "unknown"; | 139 | static char *auth_method = "unknown"; |
140 | static int session_id2_len = 0; | 140 | static int session_id2_len = 0; |
141 | static u_char *session_id2 = NULL; | 141 | static u_char *session_id2 = NULL; |
142 | static pid_t monitor_child_pid; | ||
142 | 143 | ||
143 | struct mon_table { | 144 | struct mon_table { |
144 | enum monitor_reqtype type; | 145 | enum monitor_reqtype type; |
@@ -310,9 +311,25 @@ monitor_child_preauth(struct monitor *pmonitor) | |||
310 | return (authctxt); | 311 | return (authctxt); |
311 | } | 312 | } |
312 | 313 | ||
314 | static void | ||
315 | monitor_set_child_handler(pid_t pid) | ||
316 | { | ||
317 | monitor_child_pid = pid; | ||
318 | } | ||
319 | |||
320 | static void | ||
321 | monitor_child_handler(int signal) | ||
322 | { | ||
323 | kill(monitor_child_pid, signal); | ||
324 | } | ||
325 | |||
313 | void | 326 | void |
314 | monitor_child_postauth(struct monitor *pmonitor) | 327 | monitor_child_postauth(struct monitor *pmonitor) |
315 | { | 328 | { |
329 | monitor_set_child_handler(pmonitor->m_pid); | ||
330 | signal(SIGHUP, &monitor_child_handler); | ||
331 | signal(SIGTERM, &monitor_child_handler); | ||
332 | |||
316 | if (compat20) { | 333 | if (compat20) { |
317 | mon_dispatch = mon_dispatch_postauth20; | 334 | mon_dispatch = mon_dispatch_postauth20; |
318 | 335 | ||
diff --git a/monitor_fdpass.c b/monitor_fdpass.c index 641ce721e..6508c9e47 100644 --- a/monitor_fdpass.c +++ b/monitor_fdpass.c | |||
@@ -27,10 +27,34 @@ | |||
27 | RCSID("$OpenBSD: monitor_fdpass.c,v 1.4 2002/06/26 14:50:04 deraadt Exp $"); | 27 | RCSID("$OpenBSD: monitor_fdpass.c,v 1.4 2002/06/26 14:50:04 deraadt Exp $"); |
28 | 28 | ||
29 | #include <sys/uio.h> | 29 | #include <sys/uio.h> |
30 | #include <sys/utsname.h> | ||
30 | 31 | ||
31 | #include "log.h" | 32 | #include "log.h" |
32 | #include "monitor_fdpass.h" | 33 | #include "monitor_fdpass.h" |
33 | 34 | ||
35 | static int | ||
36 | cmsg_type_is_broken(void) | ||
37 | { | ||
38 | static int broken_cmsg_type = -1; | ||
39 | |||
40 | if (broken_cmsg_type != -1) | ||
41 | return broken_cmsg_type; | ||
42 | else { | ||
43 | struct utsname uts; | ||
44 | /* If uname() fails, play safe and assume that cmsg_type | ||
45 | * isn't broken. | ||
46 | */ | ||
47 | if (!uname(&uts) && | ||
48 | strcmp(uts.sysname, "Linux") == 0 && | ||
49 | strncmp(uts.release, "2.0.", 4) == 0) | ||
50 | broken_cmsg_type = 1; | ||
51 | else | ||
52 | broken_cmsg_type = 0; | ||
53 | } | ||
54 | |||
55 | return broken_cmsg_type; | ||
56 | } | ||
57 | |||
34 | void | 58 | void |
35 | mm_send_fd(int socket, int fd) | 59 | mm_send_fd(int socket, int fd) |
36 | { | 60 | { |
@@ -113,7 +137,7 @@ mm_receive_fd(int socket) | |||
113 | fatal("%s: no fd", __func__); | 137 | fatal("%s: no fd", __func__); |
114 | #else | 138 | #else |
115 | cmsg = CMSG_FIRSTHDR(&msg); | 139 | cmsg = CMSG_FIRSTHDR(&msg); |
116 | if (cmsg->cmsg_type != SCM_RIGHTS) | 140 | if (!cmsg_type_is_broken() && cmsg->cmsg_type != SCM_RIGHTS) |
117 | fatal("%s: expected type %d got %d", __func__, | 141 | fatal("%s: expected type %d got %d", __func__, |
118 | SCM_RIGHTS, cmsg->cmsg_type); | 142 | SCM_RIGHTS, cmsg->cmsg_type); |
119 | fd = (*(int *)CMSG_DATA(cmsg)); | 143 | fd = (*(int *)CMSG_DATA(cmsg)); |
diff --git a/openbsd-compat/fake-queue.h b/openbsd-compat/fake-queue.h deleted file mode 100644 index 176fe3174..000000000 --- a/openbsd-compat/fake-queue.h +++ /dev/null | |||
@@ -1,584 +0,0 @@ | |||
1 | /* $OpenBSD: queue.h,v 1.22 2001/06/23 04:39:35 angelos Exp $ */ | ||
2 | /* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */ | ||
3 | |||
4 | /* | ||
5 | * Copyright (c) 1991, 1993 | ||
6 | * The Regents of the University of California. All rights reserved. | ||
7 | * | ||
8 | * Redistribution and use in source and binary forms, with or without | ||
9 | * modification, are permitted provided that the following conditions | ||
10 | * are met: | ||
11 | * 1. Redistributions of source code must retain the above copyright | ||
12 | * notice, this list of conditions and the following disclaimer. | ||
13 | * 2. Redistributions in binary form must reproduce the above copyright | ||
14 | * notice, this list of conditions and the following disclaimer in the | ||
15 | * documentation and/or other materials provided with the distribution. | ||
16 | * 3. All advertising materials mentioning features or use of this software | ||
17 | * must display the following acknowledgement: | ||
18 | * This product includes software developed by the University of | ||
19 | * California, Berkeley and its contributors. | ||
20 | * 4. Neither the name of the University nor the names of its contributors | ||
21 | * may be used to endorse or promote products derived from this software | ||
22 | * without specific prior written permission. | ||
23 | * | ||
24 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
25 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
27 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
30 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
31 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
32 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
33 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
34 | * SUCH DAMAGE. | ||
35 | * | ||
36 | * @(#)queue.h 8.5 (Berkeley) 8/20/94 | ||
37 | */ | ||
38 | |||
39 | #ifndef _FAKE_QUEUE_H_ | ||
40 | #define _FAKE_QUEUE_H_ | ||
41 | |||
42 | /* | ||
43 | * Ignore all <sys/queue.h> since older platforms have broken/incomplete | ||
44 | * <sys/queue.h> that are too hard to work around. | ||
45 | */ | ||
46 | #undef SLIST_HEAD | ||
47 | #undef SLIST_HEAD_INITIALIZER | ||
48 | #undef SLIST_ENTRY | ||
49 | #undef SLIST_FIRST | ||
50 | #undef SLIST_END | ||
51 | #undef SLIST_EMPTY | ||
52 | #undef SLIST_NEXT | ||
53 | #undef SLIST_FOREACH | ||
54 | #undef SLIST_INIT | ||
55 | #undef SLIST_INSERT_AFTER | ||
56 | #undef SLIST_INSERT_HEAD | ||
57 | #undef SLIST_REMOVE_HEAD | ||
58 | #undef SLIST_REMOVE | ||
59 | #undef LIST_HEAD | ||
60 | #undef LIST_HEAD_INITIALIZER | ||
61 | #undef LIST_ENTRY | ||
62 | #undef LIST_FIRST | ||
63 | #undef LIST_END | ||
64 | #undef LIST_EMPTY | ||
65 | #undef LIST_NEXT | ||
66 | #undef LIST_FOREACH | ||
67 | #undef LIST_INIT | ||
68 | #undef LIST_INSERT_AFTER | ||
69 | #undef LIST_INSERT_BEFORE | ||
70 | #undef LIST_INSERT_HEAD | ||
71 | #undef LIST_REMOVE | ||
72 | #undef LIST_REPLACE | ||
73 | #undef SIMPLEQ_HEAD | ||
74 | #undef SIMPLEQ_HEAD_INITIALIZER | ||
75 | #undef SIMPLEQ_ENTRY | ||
76 | #undef SIMPLEQ_FIRST | ||
77 | #undef SIMPLEQ_END | ||
78 | #undef SIMPLEQ_EMPTY | ||
79 | #undef SIMPLEQ_NEXT | ||
80 | #undef SIMPLEQ_FOREACH | ||
81 | #undef SIMPLEQ_INIT | ||
82 | #undef SIMPLEQ_INSERT_HEAD | ||
83 | #undef SIMPLEQ_INSERT_TAIL | ||
84 | #undef SIMPLEQ_INSERT_AFTER | ||
85 | #undef SIMPLEQ_REMOVE_HEAD | ||
86 | #undef TAILQ_HEAD | ||
87 | #undef TAILQ_HEAD_INITIALIZER | ||
88 | #undef TAILQ_ENTRY | ||
89 | #undef TAILQ_FIRST | ||
90 | #undef TAILQ_END | ||
91 | #undef TAILQ_NEXT | ||
92 | #undef TAILQ_LAST | ||
93 | #undef TAILQ_PREV | ||
94 | #undef TAILQ_EMPTY | ||
95 | #undef TAILQ_FOREACH | ||
96 | #undef TAILQ_FOREACH_REVERSE | ||
97 | #undef TAILQ_INIT | ||
98 | #undef TAILQ_INSERT_HEAD | ||
99 | #undef TAILQ_INSERT_TAIL | ||
100 | #undef TAILQ_INSERT_AFTER | ||
101 | #undef TAILQ_INSERT_BEFORE | ||
102 | #undef TAILQ_REMOVE | ||
103 | #undef TAILQ_REPLACE | ||
104 | #undef CIRCLEQ_HEAD | ||
105 | #undef CIRCLEQ_HEAD_INITIALIZER | ||
106 | #undef CIRCLEQ_ENTRY | ||
107 | #undef CIRCLEQ_FIRST | ||
108 | #undef CIRCLEQ_LAST | ||
109 | #undef CIRCLEQ_END | ||
110 | #undef CIRCLEQ_NEXT | ||
111 | #undef CIRCLEQ_PREV | ||
112 | #undef CIRCLEQ_EMPTY | ||
113 | #undef CIRCLEQ_FOREACH | ||
114 | #undef CIRCLEQ_FOREACH_REVERSE | ||
115 | #undef CIRCLEQ_INIT | ||
116 | #undef CIRCLEQ_INSERT_AFTER | ||
117 | #undef CIRCLEQ_INSERT_BEFORE | ||
118 | #undef CIRCLEQ_INSERT_HEAD | ||
119 | #undef CIRCLEQ_INSERT_TAIL | ||
120 | #undef CIRCLEQ_REMOVE | ||
121 | #undef CIRCLEQ_REPLACE | ||
122 | |||
123 | /* | ||
124 | * This file defines five types of data structures: singly-linked lists, | ||
125 | * lists, simple queues, tail queues, and circular queues. | ||
126 | * | ||
127 | * | ||
128 | * A singly-linked list is headed by a single forward pointer. The elements | ||
129 | * are singly linked for minimum space and pointer manipulation overhead at | ||
130 | * the expense of O(n) removal for arbitrary elements. New elements can be | ||
131 | * added to the list after an existing element or at the head of the list. | ||
132 | * Elements being removed from the head of the list should use the explicit | ||
133 | * macro for this purpose for optimum efficiency. A singly-linked list may | ||
134 | * only be traversed in the forward direction. Singly-linked lists are ideal | ||
135 | * for applications with large datasets and few or no removals or for | ||
136 | * implementing a LIFO queue. | ||
137 | * | ||
138 | * A list is headed by a single forward pointer (or an array of forward | ||
139 | * pointers for a hash table header). The elements are doubly linked | ||
140 | * so that an arbitrary element can be removed without a need to | ||
141 | * traverse the list. New elements can be added to the list before | ||
142 | * or after an existing element or at the head of the list. A list | ||
143 | * may only be traversed in the forward direction. | ||
144 | * | ||
145 | * A simple queue is headed by a pair of pointers, one the head of the | ||
146 | * list and the other to the tail of the list. The elements are singly | ||
147 | * linked to save space, so elements can only be removed from the | ||
148 | * head of the list. New elements can be added to the list before or after | ||
149 | * an existing element, at the head of the list, or at the end of the | ||
150 | * list. A simple queue may only be traversed in the forward direction. | ||
151 | * | ||
152 | * A tail queue is headed by a pair of pointers, one to the head of the | ||
153 | * list and the other to the tail of the list. The elements are doubly | ||
154 | * linked so that an arbitrary element can be removed without a need to | ||
155 | * traverse the list. New elements can be added to the list before or | ||
156 | * after an existing element, at the head of the list, or at the end of | ||
157 | * the list. A tail queue may be traversed in either direction. | ||
158 | * | ||
159 | * A circle queue is headed by a pair of pointers, one to the head of the | ||
160 | * list and the other to the tail of the list. The elements are doubly | ||
161 | * linked so that an arbitrary element can be removed without a need to | ||
162 | * traverse the list. New elements can be added to the list before or after | ||
163 | * an existing element, at the head of the list, or at the end of the list. | ||
164 | * A circle queue may be traversed in either direction, but has a more | ||
165 | * complex end of list detection. | ||
166 | * | ||
167 | * For details on the use of these macros, see the queue(3) manual page. | ||
168 | */ | ||
169 | |||
170 | /* | ||
171 | * Singly-linked List definitions. | ||
172 | */ | ||
173 | #define SLIST_HEAD(name, type) \ | ||
174 | struct name { \ | ||
175 | struct type *slh_first; /* first element */ \ | ||
176 | } | ||
177 | |||
178 | #define SLIST_HEAD_INITIALIZER(head) \ | ||
179 | { NULL } | ||
180 | |||
181 | #define SLIST_ENTRY(type) \ | ||
182 | struct { \ | ||
183 | struct type *sle_next; /* next element */ \ | ||
184 | } | ||
185 | |||
186 | /* | ||
187 | * Singly-linked List access methods. | ||
188 | */ | ||
189 | #define SLIST_FIRST(head) ((head)->slh_first) | ||
190 | #define SLIST_END(head) NULL | ||
191 | #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head)) | ||
192 | #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) | ||
193 | |||
194 | #define SLIST_FOREACH(var, head, field) \ | ||
195 | for((var) = SLIST_FIRST(head); \ | ||
196 | (var) != SLIST_END(head); \ | ||
197 | (var) = SLIST_NEXT(var, field)) | ||
198 | |||
199 | /* | ||
200 | * Singly-linked List functions. | ||
201 | */ | ||
202 | #define SLIST_INIT(head) { \ | ||
203 | SLIST_FIRST(head) = SLIST_END(head); \ | ||
204 | } | ||
205 | |||
206 | #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ | ||
207 | (elm)->field.sle_next = (slistelm)->field.sle_next; \ | ||
208 | (slistelm)->field.sle_next = (elm); \ | ||
209 | } while (0) | ||
210 | |||
211 | #define SLIST_INSERT_HEAD(head, elm, field) do { \ | ||
212 | (elm)->field.sle_next = (head)->slh_first; \ | ||
213 | (head)->slh_first = (elm); \ | ||
214 | } while (0) | ||
215 | |||
216 | #define SLIST_REMOVE_HEAD(head, field) do { \ | ||
217 | (head)->slh_first = (head)->slh_first->field.sle_next; \ | ||
218 | } while (0) | ||
219 | |||
220 | #define SLIST_REMOVE(head, elm, type, field) do { \ | ||
221 | if ((head)->slh_first == (elm)) { \ | ||
222 | SLIST_REMOVE_HEAD((head), field); \ | ||
223 | } \ | ||
224 | else { \ | ||
225 | struct type *curelm = (head)->slh_first; \ | ||
226 | while( curelm->field.sle_next != (elm) ) \ | ||
227 | curelm = curelm->field.sle_next; \ | ||
228 | curelm->field.sle_next = \ | ||
229 | curelm->field.sle_next->field.sle_next; \ | ||
230 | } \ | ||
231 | } while (0) | ||
232 | |||
233 | /* | ||
234 | * List definitions. | ||
235 | */ | ||
236 | #define LIST_HEAD(name, type) \ | ||
237 | struct name { \ | ||
238 | struct type *lh_first; /* first element */ \ | ||
239 | } | ||
240 | |||
241 | #define LIST_HEAD_INITIALIZER(head) \ | ||
242 | { NULL } | ||
243 | |||
244 | #define LIST_ENTRY(type) \ | ||
245 | struct { \ | ||
246 | struct type *le_next; /* next element */ \ | ||
247 | struct type **le_prev; /* address of previous next element */ \ | ||
248 | } | ||
249 | |||
250 | /* | ||
251 | * List access methods | ||
252 | */ | ||
253 | #define LIST_FIRST(head) ((head)->lh_first) | ||
254 | #define LIST_END(head) NULL | ||
255 | #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head)) | ||
256 | #define LIST_NEXT(elm, field) ((elm)->field.le_next) | ||
257 | |||
258 | #define LIST_FOREACH(var, head, field) \ | ||
259 | for((var) = LIST_FIRST(head); \ | ||
260 | (var)!= LIST_END(head); \ | ||
261 | (var) = LIST_NEXT(var, field)) | ||
262 | |||
263 | /* | ||
264 | * List functions. | ||
265 | */ | ||
266 | #define LIST_INIT(head) do { \ | ||
267 | LIST_FIRST(head) = LIST_END(head); \ | ||
268 | } while (0) | ||
269 | |||
270 | #define LIST_INSERT_AFTER(listelm, elm, field) do { \ | ||
271 | if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \ | ||
272 | (listelm)->field.le_next->field.le_prev = \ | ||
273 | &(elm)->field.le_next; \ | ||
274 | (listelm)->field.le_next = (elm); \ | ||
275 | (elm)->field.le_prev = &(listelm)->field.le_next; \ | ||
276 | } while (0) | ||
277 | |||
278 | #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ | ||
279 | (elm)->field.le_prev = (listelm)->field.le_prev; \ | ||
280 | (elm)->field.le_next = (listelm); \ | ||
281 | *(listelm)->field.le_prev = (elm); \ | ||
282 | (listelm)->field.le_prev = &(elm)->field.le_next; \ | ||
283 | } while (0) | ||
284 | |||
285 | #define LIST_INSERT_HEAD(head, elm, field) do { \ | ||
286 | if (((elm)->field.le_next = (head)->lh_first) != NULL) \ | ||
287 | (head)->lh_first->field.le_prev = &(elm)->field.le_next;\ | ||
288 | (head)->lh_first = (elm); \ | ||
289 | (elm)->field.le_prev = &(head)->lh_first; \ | ||
290 | } while (0) | ||
291 | |||
292 | #define LIST_REMOVE(elm, field) do { \ | ||
293 | if ((elm)->field.le_next != NULL) \ | ||
294 | (elm)->field.le_next->field.le_prev = \ | ||
295 | (elm)->field.le_prev; \ | ||
296 | *(elm)->field.le_prev = (elm)->field.le_next; \ | ||
297 | } while (0) | ||
298 | |||
299 | #define LIST_REPLACE(elm, elm2, field) do { \ | ||
300 | if (((elm2)->field.le_next = (elm)->field.le_next) != NULL) \ | ||
301 | (elm2)->field.le_next->field.le_prev = \ | ||
302 | &(elm2)->field.le_next; \ | ||
303 | (elm2)->field.le_prev = (elm)->field.le_prev; \ | ||
304 | *(elm2)->field.le_prev = (elm2); \ | ||
305 | } while (0) | ||
306 | |||
307 | /* | ||
308 | * Simple queue definitions. | ||
309 | */ | ||
310 | #define SIMPLEQ_HEAD(name, type) \ | ||
311 | struct name { \ | ||
312 | struct type *sqh_first; /* first element */ \ | ||
313 | struct type **sqh_last; /* addr of last next element */ \ | ||
314 | } | ||
315 | |||
316 | #define SIMPLEQ_HEAD_INITIALIZER(head) \ | ||
317 | { NULL, &(head).sqh_first } | ||
318 | |||
319 | #define SIMPLEQ_ENTRY(type) \ | ||
320 | struct { \ | ||
321 | struct type *sqe_next; /* next element */ \ | ||
322 | } | ||
323 | |||
324 | /* | ||
325 | * Simple queue access methods. | ||
326 | */ | ||
327 | #define SIMPLEQ_FIRST(head) ((head)->sqh_first) | ||
328 | #define SIMPLEQ_END(head) NULL | ||
329 | #define SIMPLEQ_EMPTY(head) (SIMPLEQ_FIRST(head) == SIMPLEQ_END(head)) | ||
330 | #define SIMPLEQ_NEXT(elm, field) ((elm)->field.sqe_next) | ||
331 | |||
332 | #define SIMPLEQ_FOREACH(var, head, field) \ | ||
333 | for((var) = SIMPLEQ_FIRST(head); \ | ||
334 | (var) != SIMPLEQ_END(head); \ | ||
335 | (var) = SIMPLEQ_NEXT(var, field)) | ||
336 | |||
337 | /* | ||
338 | * Simple queue functions. | ||
339 | */ | ||
340 | #define SIMPLEQ_INIT(head) do { \ | ||
341 | (head)->sqh_first = NULL; \ | ||
342 | (head)->sqh_last = &(head)->sqh_first; \ | ||
343 | } while (0) | ||
344 | |||
345 | #define SIMPLEQ_INSERT_HEAD(head, elm, field) do { \ | ||
346 | if (((elm)->field.sqe_next = (head)->sqh_first) == NULL) \ | ||
347 | (head)->sqh_last = &(elm)->field.sqe_next; \ | ||
348 | (head)->sqh_first = (elm); \ | ||
349 | } while (0) | ||
350 | |||
351 | #define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \ | ||
352 | (elm)->field.sqe_next = NULL; \ | ||
353 | *(head)->sqh_last = (elm); \ | ||
354 | (head)->sqh_last = &(elm)->field.sqe_next; \ | ||
355 | } while (0) | ||
356 | |||
357 | #define SIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do { \ | ||
358 | if (((elm)->field.sqe_next = (listelm)->field.sqe_next) == NULL)\ | ||
359 | (head)->sqh_last = &(elm)->field.sqe_next; \ | ||
360 | (listelm)->field.sqe_next = (elm); \ | ||
361 | } while (0) | ||
362 | |||
363 | #define SIMPLEQ_REMOVE_HEAD(head, elm, field) do { \ | ||
364 | if (((head)->sqh_first = (elm)->field.sqe_next) == NULL) \ | ||
365 | (head)->sqh_last = &(head)->sqh_first; \ | ||
366 | } while (0) | ||
367 | |||
368 | /* | ||
369 | * Tail queue definitions. | ||
370 | */ | ||
371 | #define TAILQ_HEAD(name, type) \ | ||
372 | struct name { \ | ||
373 | struct type *tqh_first; /* first element */ \ | ||
374 | struct type **tqh_last; /* addr of last next element */ \ | ||
375 | } | ||
376 | |||
377 | #define TAILQ_HEAD_INITIALIZER(head) \ | ||
378 | { NULL, &(head).tqh_first } | ||
379 | |||
380 | #define TAILQ_ENTRY(type) \ | ||
381 | struct { \ | ||
382 | struct type *tqe_next; /* next element */ \ | ||
383 | struct type **tqe_prev; /* address of previous next element */ \ | ||
384 | } | ||
385 | |||
386 | /* | ||
387 | * tail queue access methods | ||
388 | */ | ||
389 | #define TAILQ_FIRST(head) ((head)->tqh_first) | ||
390 | #define TAILQ_END(head) NULL | ||
391 | #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) | ||
392 | #define TAILQ_LAST(head, headname) \ | ||
393 | (*(((struct headname *)((head)->tqh_last))->tqh_last)) | ||
394 | /* XXX */ | ||
395 | #define TAILQ_PREV(elm, headname, field) \ | ||
396 | (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) | ||
397 | #define TAILQ_EMPTY(head) \ | ||
398 | (TAILQ_FIRST(head) == TAILQ_END(head)) | ||
399 | |||
400 | #define TAILQ_FOREACH(var, head, field) \ | ||
401 | for((var) = TAILQ_FIRST(head); \ | ||
402 | (var) != TAILQ_END(head); \ | ||
403 | (var) = TAILQ_NEXT(var, field)) | ||
404 | |||
405 | #define TAILQ_FOREACH_REVERSE(var, head, field, headname) \ | ||
406 | for((var) = TAILQ_LAST(head, headname); \ | ||
407 | (var) != TAILQ_END(head); \ | ||
408 | (var) = TAILQ_PREV(var, headname, field)) | ||
409 | |||
410 | /* | ||
411 | * Tail queue functions. | ||
412 | */ | ||
413 | #define TAILQ_INIT(head) do { \ | ||
414 | (head)->tqh_first = NULL; \ | ||
415 | (head)->tqh_last = &(head)->tqh_first; \ | ||
416 | } while (0) | ||
417 | |||
418 | #define TAILQ_INSERT_HEAD(head, elm, field) do { \ | ||
419 | if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \ | ||
420 | (head)->tqh_first->field.tqe_prev = \ | ||
421 | &(elm)->field.tqe_next; \ | ||
422 | else \ | ||
423 | (head)->tqh_last = &(elm)->field.tqe_next; \ | ||
424 | (head)->tqh_first = (elm); \ | ||
425 | (elm)->field.tqe_prev = &(head)->tqh_first; \ | ||
426 | } while (0) | ||
427 | |||
428 | #define TAILQ_INSERT_TAIL(head, elm, field) do { \ | ||
429 | (elm)->field.tqe_next = NULL; \ | ||
430 | (elm)->field.tqe_prev = (head)->tqh_last; \ | ||
431 | *(head)->tqh_last = (elm); \ | ||
432 | (head)->tqh_last = &(elm)->field.tqe_next; \ | ||
433 | } while (0) | ||
434 | |||
435 | #define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ | ||
436 | if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\ | ||
437 | (elm)->field.tqe_next->field.tqe_prev = \ | ||
438 | &(elm)->field.tqe_next; \ | ||
439 | else \ | ||
440 | (head)->tqh_last = &(elm)->field.tqe_next; \ | ||
441 | (listelm)->field.tqe_next = (elm); \ | ||
442 | (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \ | ||
443 | } while (0) | ||
444 | |||
445 | #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ | ||
446 | (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \ | ||
447 | (elm)->field.tqe_next = (listelm); \ | ||
448 | *(listelm)->field.tqe_prev = (elm); \ | ||
449 | (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \ | ||
450 | } while (0) | ||
451 | |||
452 | #define TAILQ_REMOVE(head, elm, field) do { \ | ||
453 | if (((elm)->field.tqe_next) != NULL) \ | ||
454 | (elm)->field.tqe_next->field.tqe_prev = \ | ||
455 | (elm)->field.tqe_prev; \ | ||
456 | else \ | ||
457 | (head)->tqh_last = (elm)->field.tqe_prev; \ | ||
458 | *(elm)->field.tqe_prev = (elm)->field.tqe_next; \ | ||
459 | } while (0) | ||
460 | |||
461 | #define TAILQ_REPLACE(head, elm, elm2, field) do { \ | ||
462 | if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \ | ||
463 | (elm2)->field.tqe_next->field.tqe_prev = \ | ||
464 | &(elm2)->field.tqe_next; \ | ||
465 | else \ | ||
466 | (head)->tqh_last = &(elm2)->field.tqe_next; \ | ||
467 | (elm2)->field.tqe_prev = (elm)->field.tqe_prev; \ | ||
468 | *(elm2)->field.tqe_prev = (elm2); \ | ||
469 | } while (0) | ||
470 | |||
471 | /* | ||
472 | * Circular queue definitions. | ||
473 | */ | ||
474 | #define CIRCLEQ_HEAD(name, type) \ | ||
475 | struct name { \ | ||
476 | struct type *cqh_first; /* first element */ \ | ||
477 | struct type *cqh_last; /* last element */ \ | ||
478 | } | ||
479 | |||
480 | #define CIRCLEQ_HEAD_INITIALIZER(head) \ | ||
481 | { CIRCLEQ_END(&head), CIRCLEQ_END(&head) } | ||
482 | |||
483 | #define CIRCLEQ_ENTRY(type) \ | ||
484 | struct { \ | ||
485 | struct type *cqe_next; /* next element */ \ | ||
486 | struct type *cqe_prev; /* previous element */ \ | ||
487 | } | ||
488 | |||
489 | /* | ||
490 | * Circular queue access methods | ||
491 | */ | ||
492 | #define CIRCLEQ_FIRST(head) ((head)->cqh_first) | ||
493 | #define CIRCLEQ_LAST(head) ((head)->cqh_last) | ||
494 | #define CIRCLEQ_END(head) ((void *)(head)) | ||
495 | #define CIRCLEQ_NEXT(elm, field) ((elm)->field.cqe_next) | ||
496 | #define CIRCLEQ_PREV(elm, field) ((elm)->field.cqe_prev) | ||
497 | #define CIRCLEQ_EMPTY(head) \ | ||
498 | (CIRCLEQ_FIRST(head) == CIRCLEQ_END(head)) | ||
499 | |||
500 | #define CIRCLEQ_FOREACH(var, head, field) \ | ||
501 | for((var) = CIRCLEQ_FIRST(head); \ | ||
502 | (var) != CIRCLEQ_END(head); \ | ||
503 | (var) = CIRCLEQ_NEXT(var, field)) | ||
504 | |||
505 | #define CIRCLEQ_FOREACH_REVERSE(var, head, field) \ | ||
506 | for((var) = CIRCLEQ_LAST(head); \ | ||
507 | (var) != CIRCLEQ_END(head); \ | ||
508 | (var) = CIRCLEQ_PREV(var, field)) | ||
509 | |||
510 | /* | ||
511 | * Circular queue functions. | ||
512 | */ | ||
513 | #define CIRCLEQ_INIT(head) do { \ | ||
514 | (head)->cqh_first = CIRCLEQ_END(head); \ | ||
515 | (head)->cqh_last = CIRCLEQ_END(head); \ | ||
516 | } while (0) | ||
517 | |||
518 | #define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \ | ||
519 | (elm)->field.cqe_next = (listelm)->field.cqe_next; \ | ||
520 | (elm)->field.cqe_prev = (listelm); \ | ||
521 | if ((listelm)->field.cqe_next == CIRCLEQ_END(head)) \ | ||
522 | (head)->cqh_last = (elm); \ | ||
523 | else \ | ||
524 | (listelm)->field.cqe_next->field.cqe_prev = (elm); \ | ||
525 | (listelm)->field.cqe_next = (elm); \ | ||
526 | } while (0) | ||
527 | |||
528 | #define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \ | ||
529 | (elm)->field.cqe_next = (listelm); \ | ||
530 | (elm)->field.cqe_prev = (listelm)->field.cqe_prev; \ | ||
531 | if ((listelm)->field.cqe_prev == CIRCLEQ_END(head)) \ | ||
532 | (head)->cqh_first = (elm); \ | ||
533 | else \ | ||
534 | (listelm)->field.cqe_prev->field.cqe_next = (elm); \ | ||
535 | (listelm)->field.cqe_prev = (elm); \ | ||
536 | } while (0) | ||
537 | |||
538 | #define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \ | ||
539 | (elm)->field.cqe_next = (head)->cqh_first; \ | ||
540 | (elm)->field.cqe_prev = CIRCLEQ_END(head); \ | ||
541 | if ((head)->cqh_last == CIRCLEQ_END(head)) \ | ||
542 | (head)->cqh_last = (elm); \ | ||
543 | else \ | ||
544 | (head)->cqh_first->field.cqe_prev = (elm); \ | ||
545 | (head)->cqh_first = (elm); \ | ||
546 | } while (0) | ||
547 | |||
548 | #define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \ | ||
549 | (elm)->field.cqe_next = CIRCLEQ_END(head); \ | ||
550 | (elm)->field.cqe_prev = (head)->cqh_last; \ | ||
551 | if ((head)->cqh_first == CIRCLEQ_END(head)) \ | ||
552 | (head)->cqh_first = (elm); \ | ||
553 | else \ | ||
554 | (head)->cqh_last->field.cqe_next = (elm); \ | ||
555 | (head)->cqh_last = (elm); \ | ||
556 | } while (0) | ||
557 | |||
558 | #define CIRCLEQ_REMOVE(head, elm, field) do { \ | ||
559 | if ((elm)->field.cqe_next == CIRCLEQ_END(head)) \ | ||
560 | (head)->cqh_last = (elm)->field.cqe_prev; \ | ||
561 | else \ | ||
562 | (elm)->field.cqe_next->field.cqe_prev = \ | ||
563 | (elm)->field.cqe_prev; \ | ||
564 | if ((elm)->field.cqe_prev == CIRCLEQ_END(head)) \ | ||
565 | (head)->cqh_first = (elm)->field.cqe_next; \ | ||
566 | else \ | ||
567 | (elm)->field.cqe_prev->field.cqe_next = \ | ||
568 | (elm)->field.cqe_next; \ | ||
569 | } while (0) | ||
570 | |||
571 | #define CIRCLEQ_REPLACE(head, elm, elm2, field) do { \ | ||
572 | if (((elm2)->field.cqe_next = (elm)->field.cqe_next) == \ | ||
573 | CIRCLEQ_END(head)) \ | ||
574 | (head).cqh_last = (elm2); \ | ||
575 | else \ | ||
576 | (elm2)->field.cqe_next->field.cqe_prev = (elm2); \ | ||
577 | if (((elm2)->field.cqe_prev = (elm)->field.cqe_prev) == \ | ||
578 | CIRCLEQ_END(head)) \ | ||
579 | (head).cqh_first = (elm2); \ | ||
580 | else \ | ||
581 | (elm2)->field.cqe_prev->field.cqe_next = (elm2); \ | ||
582 | } while (0) | ||
583 | |||
584 | #endif /* !_FAKE_QUEUE_H_ */ | ||
diff --git a/openbsd-compat/tree.h b/openbsd-compat/tree.h deleted file mode 100644 index 30b4a8561..000000000 --- a/openbsd-compat/tree.h +++ /dev/null | |||
@@ -1,667 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * 1. Redistributions of source code must retain the above copyright | ||
9 | * notice, this list of conditions and the following disclaimer. | ||
10 | * 2. Redistributions in binary form must reproduce the above copyright | ||
11 | * notice, this list of conditions and the following disclaimer in the | ||
12 | * documentation and/or other materials provided with the distribution. | ||
13 | * | ||
14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
15 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
16 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
17 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
18 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
19 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
20 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
21 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
22 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
24 | */ | ||
25 | |||
26 | #ifndef _SYS_TREE_H_ | ||
27 | #define _SYS_TREE_H_ | ||
28 | |||
29 | /* | ||
30 | * This file defines data structures for different types of trees: | ||
31 | * splay trees and red-black trees. | ||
32 | * | ||
33 | * A splay tree is a self-organizing data structure. Every operation | ||
34 | * on the tree causes a splay to happen. The splay moves the requested | ||
35 | * node to the root of the tree and partly rebalances it. | ||
36 | * | ||
37 | * This has the benefit that request locality causes faster lookups as | ||
38 | * the requested nodes move to the top of the tree. On the other hand, | ||
39 | * every lookup causes memory writes. | ||
40 | * | ||
41 | * The Balance Theorem bounds the total access time for m operations | ||
42 | * and n inserts on an initially empty tree as O((m + n)lg n). The | ||
43 | * amortized cost for a sequence of m accesses to a splay tree is O(lg n); | ||
44 | * | ||
45 | * A red-black tree is a binary search tree with the node color as an | ||
46 | * extra attribute. It fulfills a set of conditions: | ||
47 | * - every search path from the root to a leaf consists of the | ||
48 | * same number of black nodes, | ||
49 | * - each red node (except for the root) has a black parent, | ||
50 | * - each leaf node is black. | ||
51 | * | ||
52 | * Every operation on a red-black tree is bounded as O(lg n). | ||
53 | * The maximum height of a red-black tree is 2lg (n+1). | ||
54 | */ | ||
55 | |||
56 | #define SPLAY_HEAD(name, type) \ | ||
57 | struct name { \ | ||
58 | struct type *sph_root; /* root of the tree */ \ | ||
59 | } | ||
60 | |||
61 | #define SPLAY_INITIALIZER(root) \ | ||
62 | { NULL } | ||
63 | |||
64 | #define SPLAY_INIT(root) do { \ | ||
65 | (root)->sph_root = NULL; \ | ||
66 | } while (0) | ||
67 | |||
68 | #define SPLAY_ENTRY(type) \ | ||
69 | struct { \ | ||
70 | struct type *spe_left; /* left element */ \ | ||
71 | struct type *spe_right; /* right element */ \ | ||
72 | } | ||
73 | |||
74 | #define SPLAY_LEFT(elm, field) (elm)->field.spe_left | ||
75 | #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right | ||
76 | #define SPLAY_ROOT(head) (head)->sph_root | ||
77 | #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) | ||
78 | |||
79 | /* SPLAY_ROTATE_{LEFT,RIGHT} expect that tmp hold SPLAY_{RIGHT,LEFT} */ | ||
80 | #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ | ||
81 | SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ | ||
82 | SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ | ||
83 | (head)->sph_root = tmp; \ | ||
84 | } while (0) | ||
85 | |||
86 | #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ | ||
87 | SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \ | ||
88 | SPLAY_LEFT(tmp, field) = (head)->sph_root; \ | ||
89 | (head)->sph_root = tmp; \ | ||
90 | } while (0) | ||
91 | |||
92 | #define SPLAY_LINKLEFT(head, tmp, field) do { \ | ||
93 | SPLAY_LEFT(tmp, field) = (head)->sph_root; \ | ||
94 | tmp = (head)->sph_root; \ | ||
95 | (head)->sph_root = SPLAY_LEFT((head)->sph_root, field); \ | ||
96 | } while (0) | ||
97 | |||
98 | #define SPLAY_LINKRIGHT(head, tmp, field) do { \ | ||
99 | SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ | ||
100 | tmp = (head)->sph_root; \ | ||
101 | (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \ | ||
102 | } while (0) | ||
103 | |||
104 | #define SPLAY_ASSEMBLE(head, node, left, right, field) do { \ | ||
105 | SPLAY_RIGHT(left, field) = SPLAY_LEFT((head)->sph_root, field); \ | ||
106 | SPLAY_LEFT(right, field) = SPLAY_RIGHT((head)->sph_root, field);\ | ||
107 | SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(node, field); \ | ||
108 | SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(node, field); \ | ||
109 | } while (0) | ||
110 | |||
111 | /* Generates prototypes and inline functions */ | ||
112 | |||
113 | #define SPLAY_PROTOTYPE(name, type, field, cmp) \ | ||
114 | void name##_SPLAY(struct name *, struct type *); \ | ||
115 | void name##_SPLAY_MINMAX(struct name *, int); \ | ||
116 | \ | ||
117 | static __inline void \ | ||
118 | name##_SPLAY_INSERT(struct name *head, struct type *elm) \ | ||
119 | { \ | ||
120 | if (SPLAY_EMPTY(head)) { \ | ||
121 | SPLAY_LEFT(elm, field) = SPLAY_RIGHT(elm, field) = NULL; \ | ||
122 | } else { \ | ||
123 | int __comp; \ | ||
124 | name##_SPLAY(head, elm); \ | ||
125 | __comp = (cmp)(elm, (head)->sph_root); \ | ||
126 | if(__comp < 0) { \ | ||
127 | SPLAY_LEFT(elm, field) = SPLAY_LEFT((head)->sph_root, field);\ | ||
128 | SPLAY_RIGHT(elm, field) = (head)->sph_root; \ | ||
129 | SPLAY_LEFT((head)->sph_root, field) = NULL; \ | ||
130 | } else if (__comp > 0) { \ | ||
131 | SPLAY_RIGHT(elm, field) = SPLAY_RIGHT((head)->sph_root, field);\ | ||
132 | SPLAY_LEFT(elm, field) = (head)->sph_root; \ | ||
133 | SPLAY_RIGHT((head)->sph_root, field) = NULL; \ | ||
134 | } else \ | ||
135 | return; \ | ||
136 | } \ | ||
137 | (head)->sph_root = (elm); \ | ||
138 | } \ | ||
139 | \ | ||
140 | static __inline void \ | ||
141 | name##_SPLAY_REMOVE(struct name *head, struct type *elm) \ | ||
142 | { \ | ||
143 | struct type *__tmp; \ | ||
144 | if (SPLAY_EMPTY(head)) \ | ||
145 | return; \ | ||
146 | name##_SPLAY(head, elm); \ | ||
147 | if ((cmp)(elm, (head)->sph_root) == 0) { \ | ||
148 | if (SPLAY_LEFT((head)->sph_root, field) == NULL) { \ | ||
149 | (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field);\ | ||
150 | } else { \ | ||
151 | __tmp = SPLAY_RIGHT((head)->sph_root, field); \ | ||
152 | (head)->sph_root = SPLAY_LEFT((head)->sph_root, field);\ | ||
153 | name##_SPLAY(head, elm); \ | ||
154 | SPLAY_RIGHT((head)->sph_root, field) = __tmp; \ | ||
155 | } \ | ||
156 | } \ | ||
157 | } \ | ||
158 | \ | ||
159 | /* Finds the node with the same key as elm */ \ | ||
160 | static __inline struct type * \ | ||
161 | name##_SPLAY_FIND(struct name *head, struct type *elm) \ | ||
162 | { \ | ||
163 | if (SPLAY_EMPTY(head)) \ | ||
164 | return(NULL); \ | ||
165 | name##_SPLAY(head, elm); \ | ||
166 | if ((cmp)(elm, (head)->sph_root) == 0) \ | ||
167 | return (head->sph_root); \ | ||
168 | return (NULL); \ | ||
169 | } \ | ||
170 | \ | ||
171 | static __inline struct type * \ | ||
172 | name##_SPLAY_NEXT(struct name *head, struct type *elm) \ | ||
173 | { \ | ||
174 | name##_SPLAY(head, elm); \ | ||
175 | if (SPLAY_RIGHT(elm, field) != NULL) { \ | ||
176 | elm = SPLAY_RIGHT(elm, field); \ | ||
177 | while (SPLAY_LEFT(elm, field) != NULL) { \ | ||
178 | elm = SPLAY_LEFT(elm, field); \ | ||
179 | } \ | ||
180 | } else \ | ||
181 | elm = NULL; \ | ||
182 | return (elm); \ | ||
183 | } \ | ||
184 | \ | ||
185 | static __inline struct type * \ | ||
186 | name##_SPLAY_MIN_MAX(struct name *head, int val) \ | ||
187 | { \ | ||
188 | name##_SPLAY_MINMAX(head, val); \ | ||
189 | return (SPLAY_ROOT(head)); \ | ||
190 | } | ||
191 | |||
192 | /* Main splay operation. | ||
193 | * Moves node close to the key of elm to top | ||
194 | */ | ||
195 | #define SPLAY_GENERATE(name, type, field, cmp) \ | ||
196 | void name##_SPLAY(struct name *head, struct type *elm) \ | ||
197 | { \ | ||
198 | struct type __node, *__left, *__right, *__tmp; \ | ||
199 | int __comp; \ | ||
200 | \ | ||
201 | SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\ | ||
202 | __left = __right = &__node; \ | ||
203 | \ | ||
204 | while ((__comp = (cmp)(elm, (head)->sph_root))) { \ | ||
205 | if (__comp < 0) { \ | ||
206 | __tmp = SPLAY_LEFT((head)->sph_root, field); \ | ||
207 | if (__tmp == NULL) \ | ||
208 | break; \ | ||
209 | if ((cmp)(elm, __tmp) < 0){ \ | ||
210 | SPLAY_ROTATE_RIGHT(head, __tmp, field); \ | ||
211 | if (SPLAY_LEFT((head)->sph_root, field) == NULL)\ | ||
212 | break; \ | ||
213 | } \ | ||
214 | SPLAY_LINKLEFT(head, __right, field); \ | ||
215 | } else if (__comp > 0) { \ | ||
216 | __tmp = SPLAY_RIGHT((head)->sph_root, field); \ | ||
217 | if (__tmp == NULL) \ | ||
218 | break; \ | ||
219 | if ((cmp)(elm, __tmp) > 0){ \ | ||
220 | SPLAY_ROTATE_LEFT(head, __tmp, field); \ | ||
221 | if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\ | ||
222 | break; \ | ||
223 | } \ | ||
224 | SPLAY_LINKRIGHT(head, __left, field); \ | ||
225 | } \ | ||
226 | } \ | ||
227 | SPLAY_ASSEMBLE(head, &__node, __left, __right, field); \ | ||
228 | } \ | ||
229 | \ | ||
230 | /* Splay with either the minimum or the maximum element \ | ||
231 | * Used to find minimum or maximum element in tree. \ | ||
232 | */ \ | ||
233 | void name##_SPLAY_MINMAX(struct name *head, int __comp) \ | ||
234 | { \ | ||
235 | struct type __node, *__left, *__right, *__tmp; \ | ||
236 | \ | ||
237 | SPLAY_LEFT(&__node, field) = SPLAY_RIGHT(&__node, field) = NULL;\ | ||
238 | __left = __right = &__node; \ | ||
239 | \ | ||
240 | while (1) { \ | ||
241 | if (__comp < 0) { \ | ||
242 | __tmp = SPLAY_LEFT((head)->sph_root, field); \ | ||
243 | if (__tmp == NULL) \ | ||
244 | break; \ | ||
245 | if (__comp < 0){ \ | ||
246 | SPLAY_ROTATE_RIGHT(head, __tmp, field); \ | ||
247 | if (SPLAY_LEFT((head)->sph_root, field) == NULL)\ | ||
248 | break; \ | ||
249 | } \ | ||
250 | SPLAY_LINKLEFT(head, __right, field); \ | ||
251 | } else if (__comp > 0) { \ | ||
252 | __tmp = SPLAY_RIGHT((head)->sph_root, field); \ | ||
253 | if (__tmp == NULL) \ | ||
254 | break; \ | ||
255 | if (__comp > 0) { \ | ||
256 | SPLAY_ROTATE_LEFT(head, __tmp, field); \ | ||
257 | if (SPLAY_RIGHT((head)->sph_root, field) == NULL)\ | ||
258 | break; \ | ||
259 | } \ | ||
260 | SPLAY_LINKRIGHT(head, __left, field); \ | ||
261 | } \ | ||
262 | } \ | ||
263 | SPLAY_ASSEMBLE(head, &__node, __left, __right, field); \ | ||
264 | } | ||
265 | |||
266 | #define SPLAY_NEGINF -1 | ||
267 | #define SPLAY_INF 1 | ||
268 | |||
269 | #define SPLAY_INSERT(name, x, y) name##_SPLAY_INSERT(x, y) | ||
270 | #define SPLAY_REMOVE(name, x, y) name##_SPLAY_REMOVE(x, y) | ||
271 | #define SPLAY_FIND(name, x, y) name##_SPLAY_FIND(x, y) | ||
272 | #define SPLAY_NEXT(name, x, y) name##_SPLAY_NEXT(x, y) | ||
273 | #define SPLAY_MIN(name, x) (SPLAY_EMPTY(x) ? NULL \ | ||
274 | : name##_SPLAY_MIN_MAX(x, SPLAY_NEGINF)) | ||
275 | #define SPLAY_MAX(name, x) (SPLAY_EMPTY(x) ? NULL \ | ||
276 | : name##_SPLAY_MIN_MAX(x, SPLAY_INF)) | ||
277 | |||
278 | #define SPLAY_FOREACH(x, name, head) \ | ||
279 | for ((x) = SPLAY_MIN(name, head); \ | ||
280 | (x) != NULL; \ | ||
281 | (x) = SPLAY_NEXT(name, head, x)) | ||
282 | |||
283 | /* Macros that define a red-back tree */ | ||
284 | #define RB_HEAD(name, type) \ | ||
285 | struct name { \ | ||
286 | struct type *rbh_root; /* root of the tree */ \ | ||
287 | } | ||
288 | |||
289 | #define RB_INITIALIZER(root) \ | ||
290 | { NULL } | ||
291 | |||
292 | #define RB_INIT(root) do { \ | ||
293 | (root)->rbh_root = NULL; \ | ||
294 | } while (0) | ||
295 | |||
296 | #define RB_BLACK 0 | ||
297 | #define RB_RED 1 | ||
298 | #define RB_ENTRY(type) \ | ||
299 | struct { \ | ||
300 | struct type *rbe_left; /* left element */ \ | ||
301 | struct type *rbe_right; /* right element */ \ | ||
302 | struct type *rbe_parent; /* parent element */ \ | ||
303 | int rbe_color; /* node color */ \ | ||
304 | } | ||
305 | |||
306 | #define RB_LEFT(elm, field) (elm)->field.rbe_left | ||
307 | #define RB_RIGHT(elm, field) (elm)->field.rbe_right | ||
308 | #define RB_PARENT(elm, field) (elm)->field.rbe_parent | ||
309 | #define RB_COLOR(elm, field) (elm)->field.rbe_color | ||
310 | #define RB_ROOT(head) (head)->rbh_root | ||
311 | #define RB_EMPTY(head) (RB_ROOT(head) == NULL) | ||
312 | |||
313 | #define RB_SET(elm, parent, field) do { \ | ||
314 | RB_PARENT(elm, field) = parent; \ | ||
315 | RB_LEFT(elm, field) = RB_RIGHT(elm, field) = NULL; \ | ||
316 | RB_COLOR(elm, field) = RB_RED; \ | ||
317 | } while (0) | ||
318 | |||
319 | #define RB_SET_BLACKRED(black, red, field) do { \ | ||
320 | RB_COLOR(black, field) = RB_BLACK; \ | ||
321 | RB_COLOR(red, field) = RB_RED; \ | ||
322 | } while (0) | ||
323 | |||
324 | #ifndef RB_AUGMENT | ||
325 | #define RB_AUGMENT(x) | ||
326 | #endif | ||
327 | |||
328 | #define RB_ROTATE_LEFT(head, elm, tmp, field) do { \ | ||
329 | (tmp) = RB_RIGHT(elm, field); \ | ||
330 | if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field))) { \ | ||
331 | RB_PARENT(RB_LEFT(tmp, field), field) = (elm); \ | ||
332 | } \ | ||
333 | RB_AUGMENT(elm); \ | ||
334 | if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field))) { \ | ||
335 | if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \ | ||
336 | RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \ | ||
337 | else \ | ||
338 | RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \ | ||
339 | RB_AUGMENT(RB_PARENT(elm, field)); \ | ||
340 | } else \ | ||
341 | (head)->rbh_root = (tmp); \ | ||
342 | RB_LEFT(tmp, field) = (elm); \ | ||
343 | RB_PARENT(elm, field) = (tmp); \ | ||
344 | RB_AUGMENT(tmp); \ | ||
345 | } while (0) | ||
346 | |||
347 | #define RB_ROTATE_RIGHT(head, elm, tmp, field) do { \ | ||
348 | (tmp) = RB_LEFT(elm, field); \ | ||
349 | if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field))) { \ | ||
350 | RB_PARENT(RB_RIGHT(tmp, field), field) = (elm); \ | ||
351 | } \ | ||
352 | RB_AUGMENT(elm); \ | ||
353 | if ((RB_PARENT(tmp, field) = RB_PARENT(elm, field))) { \ | ||
354 | if ((elm) == RB_LEFT(RB_PARENT(elm, field), field)) \ | ||
355 | RB_LEFT(RB_PARENT(elm, field), field) = (tmp); \ | ||
356 | else \ | ||
357 | RB_RIGHT(RB_PARENT(elm, field), field) = (tmp); \ | ||
358 | RB_AUGMENT(RB_PARENT(elm, field)); \ | ||
359 | } else \ | ||
360 | (head)->rbh_root = (tmp); \ | ||
361 | RB_RIGHT(tmp, field) = (elm); \ | ||
362 | RB_PARENT(elm, field) = (tmp); \ | ||
363 | RB_AUGMENT(tmp); \ | ||
364 | } while (0) | ||
365 | |||
366 | /* Generates prototypes and inline functions */ | ||
367 | #define RB_PROTOTYPE(name, type, field, cmp) \ | ||
368 | void name##_RB_INSERT_COLOR(struct name *, struct type *); \ | ||
369 | void name##_RB_REMOVE_COLOR(struct name *, struct type *, struct type *);\ | ||
370 | void name##_RB_REMOVE(struct name *, struct type *); \ | ||
371 | struct type *name##_RB_INSERT(struct name *, struct type *); \ | ||
372 | struct type *name##_RB_FIND(struct name *, struct type *); \ | ||
373 | struct type *name##_RB_NEXT(struct name *, struct type *); \ | ||
374 | struct type *name##_RB_MINMAX(struct name *, int); \ | ||
375 | \ | ||
376 | |||
377 | /* Main rb operation. | ||
378 | * Moves node close to the key of elm to top | ||
379 | */ | ||
380 | #define RB_GENERATE(name, type, field, cmp) \ | ||
381 | void \ | ||
382 | name##_RB_INSERT_COLOR(struct name *head, struct type *elm) \ | ||
383 | { \ | ||
384 | struct type *parent, *gparent, *tmp; \ | ||
385 | while ((parent = RB_PARENT(elm, field)) && \ | ||
386 | RB_COLOR(parent, field) == RB_RED) { \ | ||
387 | gparent = RB_PARENT(parent, field); \ | ||
388 | if (parent == RB_LEFT(gparent, field)) { \ | ||
389 | tmp = RB_RIGHT(gparent, field); \ | ||
390 | if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ | ||
391 | RB_COLOR(tmp, field) = RB_BLACK; \ | ||
392 | RB_SET_BLACKRED(parent, gparent, field);\ | ||
393 | elm = gparent; \ | ||
394 | continue; \ | ||
395 | } \ | ||
396 | if (RB_RIGHT(parent, field) == elm) { \ | ||
397 | RB_ROTATE_LEFT(head, parent, tmp, field);\ | ||
398 | tmp = parent; \ | ||
399 | parent = elm; \ | ||
400 | elm = tmp; \ | ||
401 | } \ | ||
402 | RB_SET_BLACKRED(parent, gparent, field); \ | ||
403 | RB_ROTATE_RIGHT(head, gparent, tmp, field); \ | ||
404 | } else { \ | ||
405 | tmp = RB_LEFT(gparent, field); \ | ||
406 | if (tmp && RB_COLOR(tmp, field) == RB_RED) { \ | ||
407 | RB_COLOR(tmp, field) = RB_BLACK; \ | ||
408 | RB_SET_BLACKRED(parent, gparent, field);\ | ||
409 | elm = gparent; \ | ||
410 | continue; \ | ||
411 | } \ | ||
412 | if (RB_LEFT(parent, field) == elm) { \ | ||
413 | RB_ROTATE_RIGHT(head, parent, tmp, field);\ | ||
414 | tmp = parent; \ | ||
415 | parent = elm; \ | ||
416 | elm = tmp; \ | ||
417 | } \ | ||
418 | RB_SET_BLACKRED(parent, gparent, field); \ | ||
419 | RB_ROTATE_LEFT(head, gparent, tmp, field); \ | ||
420 | } \ | ||
421 | } \ | ||
422 | RB_COLOR(head->rbh_root, field) = RB_BLACK; \ | ||
423 | } \ | ||
424 | \ | ||
425 | void \ | ||
426 | name##_RB_REMOVE_COLOR(struct name *head, struct type *parent, struct type *elm) \ | ||
427 | { \ | ||
428 | struct type *tmp; \ | ||
429 | while ((elm == NULL || RB_COLOR(elm, field) == RB_BLACK) && \ | ||
430 | elm != RB_ROOT(head)) { \ | ||
431 | if (RB_LEFT(parent, field) == elm) { \ | ||
432 | tmp = RB_RIGHT(parent, field); \ | ||
433 | if (RB_COLOR(tmp, field) == RB_RED) { \ | ||
434 | RB_SET_BLACKRED(tmp, parent, field); \ | ||
435 | RB_ROTATE_LEFT(head, parent, tmp, field);\ | ||
436 | tmp = RB_RIGHT(parent, field); \ | ||
437 | } \ | ||
438 | if ((RB_LEFT(tmp, field) == NULL || \ | ||
439 | RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) &&\ | ||
440 | (RB_RIGHT(tmp, field) == NULL || \ | ||
441 | RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK)) {\ | ||
442 | RB_COLOR(tmp, field) = RB_RED; \ | ||
443 | elm = parent; \ | ||
444 | parent = RB_PARENT(elm, field); \ | ||
445 | } else { \ | ||
446 | if (RB_RIGHT(tmp, field) == NULL || \ | ||
447 | RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK) {\ | ||
448 | struct type *oleft; \ | ||
449 | if ((oleft = RB_LEFT(tmp, field)))\ | ||
450 | RB_COLOR(oleft, field) = RB_BLACK;\ | ||
451 | RB_COLOR(tmp, field) = RB_RED; \ | ||
452 | RB_ROTATE_RIGHT(head, tmp, oleft, field);\ | ||
453 | tmp = RB_RIGHT(parent, field); \ | ||
454 | } \ | ||
455 | RB_COLOR(tmp, field) = RB_COLOR(parent, field);\ | ||
456 | RB_COLOR(parent, field) = RB_BLACK; \ | ||
457 | if (RB_RIGHT(tmp, field)) \ | ||
458 | RB_COLOR(RB_RIGHT(tmp, field), field) = RB_BLACK;\ | ||
459 | RB_ROTATE_LEFT(head, parent, tmp, field);\ | ||
460 | elm = RB_ROOT(head); \ | ||
461 | break; \ | ||
462 | } \ | ||
463 | } else { \ | ||
464 | tmp = RB_LEFT(parent, field); \ | ||
465 | if (RB_COLOR(tmp, field) == RB_RED) { \ | ||
466 | RB_SET_BLACKRED(tmp, parent, field); \ | ||
467 | RB_ROTATE_RIGHT(head, parent, tmp, field);\ | ||
468 | tmp = RB_LEFT(parent, field); \ | ||
469 | } \ | ||
470 | if ((RB_LEFT(tmp, field) == NULL || \ | ||
471 | RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) &&\ | ||
472 | (RB_RIGHT(tmp, field) == NULL || \ | ||
473 | RB_COLOR(RB_RIGHT(tmp, field), field) == RB_BLACK)) {\ | ||
474 | RB_COLOR(tmp, field) = RB_RED; \ | ||
475 | elm = parent; \ | ||
476 | parent = RB_PARENT(elm, field); \ | ||
477 | } else { \ | ||
478 | if (RB_LEFT(tmp, field) == NULL || \ | ||
479 | RB_COLOR(RB_LEFT(tmp, field), field) == RB_BLACK) {\ | ||
480 | struct type *oright; \ | ||
481 | if ((oright = RB_RIGHT(tmp, field)))\ | ||
482 | RB_COLOR(oright, field) = RB_BLACK;\ | ||
483 | RB_COLOR(tmp, field) = RB_RED; \ | ||
484 | RB_ROTATE_LEFT(head, tmp, oright, field);\ | ||
485 | tmp = RB_LEFT(parent, field); \ | ||
486 | } \ | ||
487 | RB_COLOR(tmp, field) = RB_COLOR(parent, field);\ | ||
488 | RB_COLOR(parent, field) = RB_BLACK; \ | ||
489 | if (RB_LEFT(tmp, field)) \ | ||
490 | RB_COLOR(RB_LEFT(tmp, field), field) = RB_BLACK;\ | ||
491 | RB_ROTATE_RIGHT(head, parent, tmp, field);\ | ||
492 | elm = RB_ROOT(head); \ | ||
493 | break; \ | ||
494 | } \ | ||
495 | } \ | ||
496 | } \ | ||
497 | if (elm) \ | ||
498 | RB_COLOR(elm, field) = RB_BLACK; \ | ||
499 | } \ | ||
500 | \ | ||
501 | void \ | ||
502 | name##_RB_REMOVE(struct name *head, struct type *elm) \ | ||
503 | { \ | ||
504 | struct type *child, *parent; \ | ||
505 | int color; \ | ||
506 | if (RB_LEFT(elm, field) == NULL) \ | ||
507 | child = RB_RIGHT(elm, field); \ | ||
508 | else if (RB_RIGHT(elm, field) == NULL) \ | ||
509 | child = RB_LEFT(elm, field); \ | ||
510 | else { \ | ||
511 | struct type *old = elm, *left; \ | ||
512 | elm = RB_RIGHT(elm, field); \ | ||
513 | while ((left = RB_LEFT(elm, field))) \ | ||
514 | elm = left; \ | ||
515 | child = RB_RIGHT(elm, field); \ | ||
516 | parent = RB_PARENT(elm, field); \ | ||
517 | color = RB_COLOR(elm, field); \ | ||
518 | if (child) \ | ||
519 | RB_PARENT(child, field) = parent; \ | ||
520 | if (parent) { \ | ||
521 | if (RB_LEFT(parent, field) == elm) \ | ||
522 | RB_LEFT(parent, field) = child; \ | ||
523 | else \ | ||
524 | RB_RIGHT(parent, field) = child; \ | ||
525 | RB_AUGMENT(parent); \ | ||
526 | } else \ | ||
527 | RB_ROOT(head) = child; \ | ||
528 | if (RB_PARENT(elm, field) == old) \ | ||
529 | parent = elm; \ | ||
530 | (elm)->field = (old)->field; \ | ||
531 | if (RB_PARENT(old, field)) { \ | ||
532 | if (RB_LEFT(RB_PARENT(old, field), field) == old)\ | ||
533 | RB_LEFT(RB_PARENT(old, field), field) = elm;\ | ||
534 | else \ | ||
535 | RB_RIGHT(RB_PARENT(old, field), field) = elm;\ | ||
536 | RB_AUGMENT(RB_PARENT(old, field)); \ | ||
537 | } else \ | ||
538 | RB_ROOT(head) = elm; \ | ||
539 | RB_PARENT(RB_LEFT(old, field), field) = elm; \ | ||
540 | if (RB_RIGHT(old, field)) \ | ||
541 | RB_PARENT(RB_RIGHT(old, field), field) = elm; \ | ||
542 | if (parent) { \ | ||
543 | left = parent; \ | ||
544 | do { \ | ||
545 | RB_AUGMENT(left); \ | ||
546 | } while ((left = RB_PARENT(left, field))); \ | ||
547 | } \ | ||
548 | goto color; \ | ||
549 | } \ | ||
550 | parent = RB_PARENT(elm, field); \ | ||
551 | color = RB_COLOR(elm, field); \ | ||
552 | if (child) \ | ||
553 | RB_PARENT(child, field) = parent; \ | ||
554 | if (parent) { \ | ||
555 | if (RB_LEFT(parent, field) == elm) \ | ||
556 | RB_LEFT(parent, field) = child; \ | ||
557 | else \ | ||
558 | RB_RIGHT(parent, field) = child; \ | ||
559 | RB_AUGMENT(parent); \ | ||
560 | } else \ | ||
561 | RB_ROOT(head) = child; \ | ||
562 | color: \ | ||
563 | if (color == RB_BLACK) \ | ||
564 | name##_RB_REMOVE_COLOR(head, parent, child); \ | ||
565 | } \ | ||
566 | \ | ||
567 | /* Inserts a node into the RB tree */ \ | ||
568 | struct type * \ | ||
569 | name##_RB_INSERT(struct name *head, struct type *elm) \ | ||
570 | { \ | ||
571 | struct type *tmp; \ | ||
572 | struct type *parent = NULL; \ | ||
573 | int comp = 0; \ | ||
574 | tmp = RB_ROOT(head); \ | ||
575 | while (tmp) { \ | ||
576 | parent = tmp; \ | ||
577 | comp = (cmp)(elm, parent); \ | ||
578 | if (comp < 0) \ | ||
579 | tmp = RB_LEFT(tmp, field); \ | ||
580 | else if (comp > 0) \ | ||
581 | tmp = RB_RIGHT(tmp, field); \ | ||
582 | else \ | ||
583 | return (tmp); \ | ||
584 | } \ | ||
585 | RB_SET(elm, parent, field); \ | ||
586 | if (parent != NULL) { \ | ||
587 | if (comp < 0) \ | ||
588 | RB_LEFT(parent, field) = elm; \ | ||
589 | else \ | ||
590 | RB_RIGHT(parent, field) = elm; \ | ||
591 | RB_AUGMENT(parent); \ | ||
592 | } else \ | ||
593 | RB_ROOT(head) = elm; \ | ||
594 | name##_RB_INSERT_COLOR(head, elm); \ | ||
595 | return (NULL); \ | ||
596 | } \ | ||
597 | \ | ||
598 | /* Finds the node with the same key as elm */ \ | ||
599 | struct type * \ | ||
600 | name##_RB_FIND(struct name *head, struct type *elm) \ | ||
601 | { \ | ||
602 | struct type *tmp = RB_ROOT(head); \ | ||
603 | int comp; \ | ||
604 | while (tmp) { \ | ||
605 | comp = cmp(elm, tmp); \ | ||
606 | if (comp < 0) \ | ||
607 | tmp = RB_LEFT(tmp, field); \ | ||
608 | else if (comp > 0) \ | ||
609 | tmp = RB_RIGHT(tmp, field); \ | ||
610 | else \ | ||
611 | return (tmp); \ | ||
612 | } \ | ||
613 | return (NULL); \ | ||
614 | } \ | ||
615 | \ | ||
616 | struct type * \ | ||
617 | name##_RB_NEXT(struct name *head, struct type *elm) \ | ||
618 | { \ | ||
619 | if (RB_RIGHT(elm, field)) { \ | ||
620 | elm = RB_RIGHT(elm, field); \ | ||
621 | while (RB_LEFT(elm, field)) \ | ||
622 | elm = RB_LEFT(elm, field); \ | ||
623 | } else { \ | ||
624 | if (RB_PARENT(elm, field) && \ | ||
625 | (elm == RB_LEFT(RB_PARENT(elm, field), field))) \ | ||
626 | elm = RB_PARENT(elm, field); \ | ||
627 | else { \ | ||
628 | while (RB_PARENT(elm, field) && \ | ||
629 | (elm == RB_RIGHT(RB_PARENT(elm, field), field)))\ | ||
630 | elm = RB_PARENT(elm, field); \ | ||
631 | elm = RB_PARENT(elm, field); \ | ||
632 | } \ | ||
633 | } \ | ||
634 | return (elm); \ | ||
635 | } \ | ||
636 | \ | ||
637 | struct type * \ | ||
638 | name##_RB_MINMAX(struct name *head, int val) \ | ||
639 | { \ | ||
640 | struct type *tmp = RB_ROOT(head); \ | ||
641 | struct type *parent = NULL; \ | ||
642 | while (tmp) { \ | ||
643 | parent = tmp; \ | ||
644 | if (val < 0) \ | ||
645 | tmp = RB_LEFT(tmp, field); \ | ||
646 | else \ | ||
647 | tmp = RB_RIGHT(tmp, field); \ | ||
648 | } \ | ||
649 | return (parent); \ | ||
650 | } | ||
651 | |||
652 | #define RB_NEGINF -1 | ||
653 | #define RB_INF 1 | ||
654 | |||
655 | #define RB_INSERT(name, x, y) name##_RB_INSERT(x, y) | ||
656 | #define RB_REMOVE(name, x, y) name##_RB_REMOVE(x, y) | ||
657 | #define RB_FIND(name, x, y) name##_RB_FIND(x, y) | ||
658 | #define RB_NEXT(name, x, y) name##_RB_NEXT(x, y) | ||
659 | #define RB_MIN(name, x) name##_RB_MINMAX(x, RB_NEGINF) | ||
660 | #define RB_MAX(name, x) name##_RB_MINMAX(x, RB_INF) | ||
661 | |||
662 | #define RB_FOREACH(x, name, head) \ | ||
663 | for ((x) = RB_MIN(name, head); \ | ||
664 | (x) != NULL; \ | ||
665 | (x) = name##_RB_NEXT(head, x)) | ||
666 | |||
667 | #endif /* _SYS_TREE_H_ */ | ||
@@ -77,6 +77,8 @@ RCSID("$OpenBSD: packet.c,v 1.104 2003/04/01 10:22:21 markus Exp $"); | |||
77 | static int connection_in = -1; | 77 | static int connection_in = -1; |
78 | static int connection_out = -1; | 78 | static int connection_out = -1; |
79 | 79 | ||
80 | static int setup_timeout = -1; | ||
81 | |||
80 | /* Protocol flags for the remote side. */ | 82 | /* Protocol flags for the remote side. */ |
81 | static u_int remote_protocol_flags = 0; | 83 | static u_int remote_protocol_flags = 0; |
82 | 84 | ||
@@ -131,7 +133,7 @@ static u_char extra_pad = 0; | |||
131 | * packet_set_encryption_key is called. | 133 | * packet_set_encryption_key is called. |
132 | */ | 134 | */ |
133 | void | 135 | void |
134 | packet_set_connection(int fd_in, int fd_out) | 136 | packet_set_connection(int fd_in, int fd_out, int new_setup_timeout) |
135 | { | 137 | { |
136 | Cipher *none = cipher_by_name("none"); | 138 | Cipher *none = cipher_by_name("none"); |
137 | 139 | ||
@@ -139,6 +141,7 @@ packet_set_connection(int fd_in, int fd_out) | |||
139 | fatal("packet_set_connection: cannot load cipher 'none'"); | 141 | fatal("packet_set_connection: cannot load cipher 'none'"); |
140 | connection_in = fd_in; | 142 | connection_in = fd_in; |
141 | connection_out = fd_out; | 143 | connection_out = fd_out; |
144 | setup_timeout = new_setup_timeout; | ||
142 | cipher_init(&send_context, none, "", 0, NULL, 0, CIPHER_ENCRYPT); | 145 | cipher_init(&send_context, none, "", 0, NULL, 0, CIPHER_ENCRYPT); |
143 | cipher_init(&receive_context, none, "", 0, NULL, 0, CIPHER_DECRYPT); | 146 | cipher_init(&receive_context, none, "", 0, NULL, 0, CIPHER_DECRYPT); |
144 | newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL; | 147 | newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL; |
@@ -745,6 +748,7 @@ packet_read_seqnr(u_int32_t *seqnr_p) | |||
745 | int type, len; | 748 | int type, len; |
746 | fd_set *setp; | 749 | fd_set *setp; |
747 | char buf[8192]; | 750 | char buf[8192]; |
751 | struct timeval tv, *tvp; | ||
748 | DBG(debug("packet_read()")); | 752 | DBG(debug("packet_read()")); |
749 | 753 | ||
750 | setp = (fd_set *)xmalloc(howmany(connection_in+1, NFDBITS) * | 754 | setp = (fd_set *)xmalloc(howmany(connection_in+1, NFDBITS) * |
@@ -776,11 +780,21 @@ packet_read_seqnr(u_int32_t *seqnr_p) | |||
776 | sizeof(fd_mask)); | 780 | sizeof(fd_mask)); |
777 | FD_SET(connection_in, setp); | 781 | FD_SET(connection_in, setp); |
778 | 782 | ||
783 | if (setup_timeout > 0) { | ||
784 | tvp = &tv; | ||
785 | tv.tv_sec = setup_timeout; | ||
786 | tv.tv_usec = 0; | ||
787 | } else | ||
788 | tvp = 0; | ||
789 | |||
779 | /* Wait for some data to arrive. */ | 790 | /* Wait for some data to arrive. */ |
780 | while (select(connection_in + 1, setp, NULL, NULL, NULL) == -1 && | 791 | while (select(connection_in + 1, setp, NULL, NULL, tvp) == -1 && |
781 | (errno == EAGAIN || errno == EINTR)) | 792 | (errno == EAGAIN || errno == EINTR)) |
782 | ; | 793 | ; |
783 | 794 | ||
795 | if (!FD_ISSET(connection_in, setp)) | ||
796 | fatal("packet_read: Setup timeout expired, giving up"); | ||
797 | |||
784 | /* Read data from the socket. */ | 798 | /* Read data from the socket. */ |
785 | len = read(connection_in, buf, sizeof(buf)); | 799 | len = read(connection_in, buf, sizeof(buf)); |
786 | if (len == 0) { | 800 | if (len == 0) { |
@@ -1344,6 +1358,7 @@ packet_set_interactive(int interactive) | |||
1344 | 1358 | ||
1345 | /* Only set socket options if using a socket. */ | 1359 | /* Only set socket options if using a socket. */ |
1346 | if (!packet_connection_is_on_socket()) | 1360 | if (!packet_connection_is_on_socket()) |
1361 | return; | ||
1347 | if (interactive) | 1362 | if (interactive) |
1348 | set_nodelay(connection_in); | 1363 | set_nodelay(connection_in); |
1349 | #if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) | 1364 | #if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) |
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <openssl/bn.h> | 19 | #include <openssl/bn.h> |
20 | 20 | ||
21 | void packet_set_connection(int, int); | 21 | void packet_set_connection(int, int, int); |
22 | void packet_set_nonblocking(void); | 22 | void packet_set_nonblocking(void); |
23 | int packet_get_connection_in(void); | 23 | int packet_get_connection_in(void); |
24 | int packet_get_connection_out(void); | 24 | int packet_get_connection_out(void); |
diff --git a/readconf.c b/readconf.c index 1df5ce2d9..899ff3f0e 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -81,6 +81,8 @@ RCSID("$OpenBSD: readconf.c,v 1.104 2003/04/01 10:22:21 markus Exp $"); | |||
81 | RhostsRSAAuthentication yes | 81 | RhostsRSAAuthentication yes |
82 | StrictHostKeyChecking yes | 82 | StrictHostKeyChecking yes |
83 | KeepAlives no | 83 | KeepAlives no |
84 | ProtocolKeepAlives 0 | ||
85 | SetupTimeOut 0 | ||
84 | IdentityFile ~/.ssh/identity | 86 | IdentityFile ~/.ssh/identity |
85 | Port 22 | 87 | Port 22 |
86 | EscapeChar ~ | 88 | EscapeChar ~ |
@@ -115,6 +117,7 @@ typedef enum { | |||
115 | oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, | 117 | oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, |
116 | oClearAllForwardings, oNoHostAuthenticationForLocalhost, | 118 | oClearAllForwardings, oNoHostAuthenticationForLocalhost, |
117 | oEnableSSHKeysign, | 119 | oEnableSSHKeysign, |
120 | oProtocolKeepAlives, oSetupTimeOut, | ||
118 | oDeprecated | 121 | oDeprecated |
119 | } OpCodes; | 122 | } OpCodes; |
120 | 123 | ||
@@ -188,6 +191,8 @@ static struct { | |||
188 | { "clearallforwardings", oClearAllForwardings }, | 191 | { "clearallforwardings", oClearAllForwardings }, |
189 | { "enablesshkeysign", oEnableSSHKeysign }, | 192 | { "enablesshkeysign", oEnableSSHKeysign }, |
190 | { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, | 193 | { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, |
194 | { "protocolkeepalives", oProtocolKeepAlives }, | ||
195 | { "setuptimeout", oSetupTimeOut }, | ||
191 | { NULL, oBadOption } | 196 | { NULL, oBadOption } |
192 | }; | 197 | }; |
193 | 198 | ||
@@ -281,6 +286,13 @@ process_config_line(Options *options, const char *host, | |||
281 | u_short fwd_port, fwd_host_port; | 286 | u_short fwd_port, fwd_host_port; |
282 | char sfwd_host_port[6]; | 287 | char sfwd_host_port[6]; |
283 | 288 | ||
289 | /* Strip trailing whitespace */ | ||
290 | for(len = strlen(line) - 1; len > 0; len--) { | ||
291 | if (strchr(WHITESPACE, line[len]) == NULL) | ||
292 | break; | ||
293 | line[len] = '\0'; | ||
294 | } | ||
295 | |||
284 | s = line; | 296 | s = line; |
285 | /* Get the keyword. (Each line is supposed to begin with a keyword). */ | 297 | /* Get the keyword. (Each line is supposed to begin with a keyword). */ |
286 | keyword = strdelim(&s); | 298 | keyword = strdelim(&s); |
@@ -415,6 +427,14 @@ parse_flag: | |||
415 | intptr = &options->no_host_authentication_for_localhost; | 427 | intptr = &options->no_host_authentication_for_localhost; |
416 | goto parse_flag; | 428 | goto parse_flag; |
417 | 429 | ||
430 | case oProtocolKeepAlives: | ||
431 | intptr = &options->protocolkeepalives; | ||
432 | goto parse_int; | ||
433 | |||
434 | case oSetupTimeOut: | ||
435 | intptr = &options->setuptimeout; | ||
436 | goto parse_int; | ||
437 | |||
418 | case oNumberOfPasswordPrompts: | 438 | case oNumberOfPasswordPrompts: |
419 | intptr = &options->number_of_password_prompts; | 439 | intptr = &options->number_of_password_prompts; |
420 | goto parse_int; | 440 | goto parse_int; |
@@ -767,6 +787,8 @@ initialize_options(Options * options) | |||
767 | options->strict_host_key_checking = -1; | 787 | options->strict_host_key_checking = -1; |
768 | options->compression = -1; | 788 | options->compression = -1; |
769 | options->keepalives = -1; | 789 | options->keepalives = -1; |
790 | options->protocolkeepalives = -1; | ||
791 | options->setuptimeout = -1; | ||
770 | options->compression_level = -1; | 792 | options->compression_level = -1; |
771 | options->port = -1; | 793 | options->port = -1; |
772 | options->connection_attempts = -1; | 794 | options->connection_attempts = -1; |
@@ -855,6 +877,14 @@ fill_default_options(Options * options) | |||
855 | options->compression = 0; | 877 | options->compression = 0; |
856 | if (options->keepalives == -1) | 878 | if (options->keepalives == -1) |
857 | options->keepalives = 1; | 879 | options->keepalives = 1; |
880 | if (options->protocolkeepalives == -1){ | ||
881 | if (options->batch_mode == 1) /*in batch mode, default is 5mins */ | ||
882 | options->protocolkeepalives = 300; | ||
883 | else options->protocolkeepalives = 0;} | ||
884 | if (options->setuptimeout == -1){ | ||
885 | if (options->batch_mode == 1) /*in batch mode, default is 5mins */ | ||
886 | options->setuptimeout = 300; | ||
887 | else options->setuptimeout = 0;} | ||
858 | if (options->compression_level == -1) | 888 | if (options->compression_level == -1) |
859 | options->compression_level = 6; | 889 | options->compression_level = 6; |
860 | if (options->port == -1) | 890 | if (options->port == -1) |
diff --git a/readconf.h b/readconf.h index 78e04fedf..6066d4635 100644 --- a/readconf.h +++ b/readconf.h | |||
@@ -61,6 +61,8 @@ typedef struct { | |||
61 | int compression_level; /* Compression level 1 (fast) to 9 | 61 | int compression_level; /* Compression level 1 (fast) to 9 |
62 | * (best). */ | 62 | * (best). */ |
63 | int keepalives; /* Set SO_KEEPALIVE. */ | 63 | int keepalives; /* Set SO_KEEPALIVE. */ |
64 | int protocolkeepalives; /* ssh-level keepalives */ | ||
65 | int setuptimeout; /* timeout in the protocol banner exchange */ | ||
64 | LogLevel log_level; /* Level for logging. */ | 66 | LogLevel log_level; /* Level for logging. */ |
65 | 67 | ||
66 | int port; /* Port to connect. */ | 68 | int port; /* Port to connect. */ |
diff --git a/scard/.cvsignore b/scard/.cvsignore index 5349d34ae..f3c7a7c5d 100644 --- a/scard/.cvsignore +++ b/scard/.cvsignore | |||
@@ -1,2 +1 @@ | |||
1 | Makefile | Makefile | |
2 | Ssh.bin | ||
diff --git a/serverloop.c b/serverloop.c index f4df9cccb..050081018 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -610,7 +610,7 @@ server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg) | |||
610 | if (!channel_still_open()) | 610 | if (!channel_still_open()) |
611 | break; | 611 | break; |
612 | if (!waiting_termination) { | 612 | if (!waiting_termination) { |
613 | const char *s = "Waiting for forwarded connections to terminate...\r\n"; | 613 | const char *s = "Waiting for forwarded connections to terminate... (press ~& to background)\r\n"; |
614 | char *cp; | 614 | char *cp; |
615 | waiting_termination = 1; | 615 | waiting_termination = 1; |
616 | buffer_append(&stderr_buffer, s, strlen(s)); | 616 | buffer_append(&stderr_buffer, s, strlen(s)); |
diff --git a/ssh-dss.h b/ssh-dss.h deleted file mode 100644 index 94961b1e8..000000000 --- a/ssh-dss.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | /* $OpenBSD: ssh-dss.h,v 1.6 2002/02/24 19:14:59 markus Exp $ */ | ||
2 | |||
3 | /* | ||
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | ||
5 | * | ||
6 | * Redistribution and use in source and binary forms, with or without | ||
7 | * modification, are permitted provided that the following conditions | ||
8 | * are met: | ||
9 | * 1. Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * 2. Redistributions in binary form must reproduce the above copyright | ||
12 | * notice, this list of conditions and the following disclaimer in the | ||
13 | * documentation and/or other materials provided with the distribution. | ||
14 | * | ||
15 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
16 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
17 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
18 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
19 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
20 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
21 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
22 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
23 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
24 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
25 | */ | ||
26 | #ifndef DSA_H | ||
27 | #define DSA_H | ||
28 | |||
29 | int ssh_dss_sign(Key *, u_char **, u_int *, u_char *, u_int); | ||
30 | int ssh_dss_verify(Key *, u_char *, u_int, u_char *, u_int); | ||
31 | |||
32 | #endif | ||
diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 5b4eb82d1..07e1a5cd5 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c | |||
@@ -349,7 +349,7 @@ keygrab_ssh2(con *c) | |||
349 | { | 349 | { |
350 | int j; | 350 | int j; |
351 | 351 | ||
352 | packet_set_connection(c->c_fd, c->c_fd); | 352 | packet_set_connection(c->c_fd, c->c_fd, timeout); |
353 | enable_compat20(); | 353 | enable_compat20(); |
354 | myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA? | 354 | myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA? |
355 | "ssh-dss": "ssh-rsa"; | 355 | "ssh-dss": "ssh-rsa"; |
diff --git a/ssh-rsa.h b/ssh-rsa.h deleted file mode 100644 index 7177a3f92..000000000 --- a/ssh-rsa.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | /* $OpenBSD: ssh-rsa.h,v 1.6 2002/02/24 19:14:59 markus Exp $ */ | ||
2 | |||
3 | /* | ||
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | ||
5 | * | ||
6 | * Redistribution and use in source and binary forms, with or without | ||
7 | * modification, are permitted provided that the following conditions | ||
8 | * are met: | ||
9 | * 1. Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * 2. Redistributions in binary form must reproduce the above copyright | ||
12 | * notice, this list of conditions and the following disclaimer in the | ||
13 | * documentation and/or other materials provided with the distribution. | ||
14 | * | ||
15 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
16 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
17 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
18 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
19 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
20 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
21 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
22 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
23 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
24 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
25 | */ | ||
26 | #ifndef SSH_RSA_H | ||
27 | #define SSH_RSA_H | ||
28 | |||
29 | int ssh_rsa_sign(Key *, u_char **, u_int *, u_char *, u_int); | ||
30 | int ssh_rsa_verify(Key *, u_char *, u_int, u_char *, u_int); | ||
31 | |||
32 | #endif | ||
@@ -538,6 +538,10 @@ per-host basis in the configuration file. | |||
538 | .It Fl q | 538 | .It Fl q |
539 | Quiet mode. | 539 | Quiet mode. |
540 | Causes all warning and diagnostic messages to be suppressed. | 540 | Causes all warning and diagnostic messages to be suppressed. |
541 | Only fatal errors are displayed. | ||
542 | If a second | ||
543 | .Fl q | ||
544 | is given then even fatal errors are suppressed. | ||
541 | .It Fl s | 545 | .It Fl s |
542 | May be used to request invocation of a subsystem on the remote system. Subsystems are a feature of the SSH2 protocol which facilitate the use | 546 | May be used to request invocation of a subsystem on the remote system. Subsystems are a feature of the SSH2 protocol which facilitate the use |
543 | of SSH as a secure transport for other applications (eg. sftp). The | 547 | of SSH as a secure transport for other applications (eg. sftp). The |
@@ -973,6 +977,7 @@ protocol versions 1.5 and 2.0. | |||
973 | .Xr sftp 1 , | 977 | .Xr sftp 1 , |
974 | .Xr ssh-add 1 , | 978 | .Xr ssh-add 1 , |
975 | .Xr ssh-agent 1 , | 979 | .Xr ssh-agent 1 , |
980 | .Xr ssh-argv0 1 , | ||
976 | .Xr ssh-keygen 1 , | 981 | .Xr ssh-keygen 1 , |
977 | .Xr telnet 1 , | 982 | .Xr telnet 1 , |
978 | .Xr ssh_config 5 , | 983 | .Xr ssh_config 5 , |
@@ -366,7 +366,12 @@ again: | |||
366 | exit(0); | 366 | exit(0); |
367 | break; | 367 | break; |
368 | case 'q': | 368 | case 'q': |
369 | options.log_level = SYSLOG_LEVEL_QUIET; | 369 | if (options.log_level == SYSLOG_LEVEL_QUIET) { |
370 | options.log_level = SYSLOG_LEVEL_SILENT; | ||
371 | } | ||
372 | else if (options.log_level != SYSLOG_LEVEL_SILENT) { | ||
373 | options.log_level = SYSLOG_LEVEL_QUIET; | ||
374 | } | ||
370 | break; | 375 | break; |
371 | case 'e': | 376 | case 'e': |
372 | if (optarg[0] == '^' && optarg[2] == 0 && | 377 | if (optarg[0] == '^' && optarg[2] == 0 && |
diff --git a/ssh_config.5 b/ssh_config.5 index 44208b431..d0ea33918 100644 --- a/ssh_config.5 +++ b/ssh_config.5 | |||
@@ -126,8 +126,15 @@ This option applies to protocol version 1 only. | |||
126 | If set to | 126 | If set to |
127 | .Dq yes , | 127 | .Dq yes , |
128 | passphrase/password querying will be disabled. | 128 | passphrase/password querying will be disabled. |
129 | In addition, the | ||
130 | .Cm ProtocolKeepAlives | ||
131 | and | ||
132 | .Cm SetupTimeOut | ||
133 | options will both be set to 300 seconds by default. | ||
129 | This option is useful in scripts and other batch jobs where no user | 134 | This option is useful in scripts and other batch jobs where no user |
130 | is present to supply the password. | 135 | is present to supply the password, |
136 | and where it is desirable to detect a | ||
137 | broken network swiftly. | ||
131 | The argument must be | 138 | The argument must be |
132 | .Dq yes | 139 | .Dq yes |
133 | or | 140 | or |
@@ -358,6 +365,12 @@ Specifies whether the system should send TCP keepalive messages to the | |||
358 | other side. | 365 | other side. |
359 | If they are sent, death of the connection or crash of one | 366 | If they are sent, death of the connection or crash of one |
360 | of the machines will be properly noticed. | 367 | of the machines will be properly noticed. |
368 | This option only uses TCP keepalives (as opposed to using ssh level | ||
369 | keepalives), so takes a long time to notice when the connection dies. | ||
370 | As such, you probably want | ||
371 | the | ||
372 | .Cm ProtocolKeepAlives | ||
373 | option as well. | ||
361 | However, this means that | 374 | However, this means that |
362 | connections will die if the route is down temporarily, and some people | 375 | connections will die if the route is down temporarily, and some people |
363 | find it annoying. | 376 | find it annoying. |
@@ -457,6 +470,14 @@ This means that | |||
457 | .Nm ssh | 470 | .Nm ssh |
458 | tries version 2 and falls back to version 1 | 471 | tries version 2 and falls back to version 1 |
459 | if version 2 is not available. | 472 | if version 2 is not available. |
473 | .It Cm ProtocolKeepAlives | ||
474 | Specifies the interval in seconds at which IGNORE packets will be sent to | ||
475 | the server during idle periods. | ||
476 | Use this option in scripts to detect when the network fails. | ||
477 | The argument must be an integer. | ||
478 | The default is 0 (disabled), or 300 if the | ||
479 | .Cm BatchMode | ||
480 | option is set. | ||
460 | .It Cm ProxyCommand | 481 | .It Cm ProxyCommand |
461 | Specifies the command to use to connect to the server. | 482 | Specifies the command to use to connect to the server. |
462 | The command | 483 | The command |
@@ -548,6 +569,22 @@ running. | |||
548 | The default is | 569 | The default is |
549 | .Dq yes . | 570 | .Dq yes . |
550 | Note that this option applies to protocol version 1 only. | 571 | Note that this option applies to protocol version 1 only. |
572 | .It Cm SetupTimeOut | ||
573 | Normally, | ||
574 | .Nm ssh | ||
575 | blocks indefinitely whilst waiting to receive the ssh banner and other | ||
576 | setup protocol from the server, during the session setup. | ||
577 | This can cause | ||
578 | .Nm ssh | ||
579 | to hang under certain circumstances. | ||
580 | If this option is set, | ||
581 | .Nm ssh | ||
582 | will give up if no data from the server is received for the specified | ||
583 | number of seconds. | ||
584 | The argument must be an integer. | ||
585 | The default is 0 (disabled), or 300 if | ||
586 | .Cm BatchMode | ||
587 | is set. | ||
551 | .It Cm SmartcardDevice | 588 | .It Cm SmartcardDevice |
552 | Specifies which smartcard device to use. The argument to this keyword is | 589 | Specifies which smartcard device to use. The argument to this keyword is |
553 | the device | 590 | the device |
diff --git a/sshconnect.c b/sshconnect.c index dae25969a..013a896b7 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -47,6 +47,13 @@ extern pid_t proxy_command_pid; | |||
47 | #define INET6_ADDRSTRLEN 46 | 47 | #define INET6_ADDRSTRLEN 46 |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | static sig_atomic_t banner_timedout; | ||
51 | |||
52 | static void banner_alarm_catch (int signum) | ||
53 | { | ||
54 | banner_timedout = 1; | ||
55 | } | ||
56 | |||
50 | static int show_other_keys(const char *, Key *); | 57 | static int show_other_keys(const char *, Key *); |
51 | 58 | ||
52 | /* | 59 | /* |
@@ -153,7 +160,7 @@ ssh_proxy_connect(const char *host, u_short port, const char *proxy_command) | |||
153 | buffer_free(&command); | 160 | buffer_free(&command); |
154 | 161 | ||
155 | /* Set the connection file descriptors. */ | 162 | /* Set the connection file descriptors. */ |
156 | packet_set_connection(pout[0], pin[1]); | 163 | packet_set_connection(pout[0], pin[1], options.setuptimeout); |
157 | 164 | ||
158 | /* Indicate OK return */ | 165 | /* Indicate OK return */ |
159 | return 0; | 166 | return 0; |
@@ -346,7 +353,7 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr, | |||
346 | error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno)); | 353 | error("setsockopt SO_KEEPALIVE: %.100s", strerror(errno)); |
347 | 354 | ||
348 | /* Set the connection. */ | 355 | /* Set the connection. */ |
349 | packet_set_connection(sock, sock); | 356 | packet_set_connection(sock, sock, options.setuptimeout); |
350 | 357 | ||
351 | return 0; | 358 | return 0; |
352 | } | 359 | } |
@@ -363,24 +370,41 @@ ssh_exchange_identification(void) | |||
363 | int connection_in = packet_get_connection_in(); | 370 | int connection_in = packet_get_connection_in(); |
364 | int connection_out = packet_get_connection_out(); | 371 | int connection_out = packet_get_connection_out(); |
365 | int minor1 = PROTOCOL_MINOR_1; | 372 | int minor1 = PROTOCOL_MINOR_1; |
373 | struct sigaction sa, osa; | ||
366 | 374 | ||
367 | /* Read other side\'s version identification. */ | 375 | /* Read other side's version identification. |
376 | * If SetupTimeOut has been set, give up after | ||
377 | * the specified amount of time | ||
378 | */ | ||
379 | if(options.setuptimeout > 0){ | ||
380 | memset(&sa, 0, sizeof(sa)); | ||
381 | sa.sa_handler = banner_alarm_catch; | ||
382 | /*throw away any pending alarms, since we'd block otherwise*/ | ||
383 | alarm(0); | ||
384 | sigaction(SIGALRM, &sa, &osa); | ||
385 | alarm(options.setuptimeout); | ||
386 | } | ||
368 | for (;;) { | 387 | for (;;) { |
369 | for (i = 0; i < sizeof(buf) - 1; i++) { | 388 | for (i = 0; i < sizeof(buf) - 1; ) { |
370 | int len = atomicio(read, connection_in, &buf[i], 1); | 389 | int len = read(connection_in, &buf[i], 1); |
371 | if (len < 0) | 390 | if (banner_timedout) |
391 | fatal("ssh_exchange_identification: Timeout waiting for version information."); | ||
392 | if (len < 0) { | ||
393 | if (errno == EINTR) | ||
394 | continue; | ||
372 | fatal("ssh_exchange_identification: read: %.100s", strerror(errno)); | 395 | fatal("ssh_exchange_identification: read: %.100s", strerror(errno)); |
396 | } | ||
373 | if (len != 1) | 397 | if (len != 1) |
374 | fatal("ssh_exchange_identification: Connection closed by remote host"); | 398 | fatal("ssh_exchange_identification: Connection closed by remote host"); |
375 | if (buf[i] == '\r') { | ||
376 | buf[i] = '\n'; | ||
377 | buf[i + 1] = 0; | ||
378 | continue; /**XXX wait for \n */ | ||
379 | } | ||
380 | if (buf[i] == '\n') { | 399 | if (buf[i] == '\n') { |
381 | buf[i + 1] = 0; | 400 | buf[i + 1] = 0; |
382 | break; | 401 | break; |
383 | } | 402 | } |
403 | if (buf[i] == '\r') { | ||
404 | buf[i] = '\n'; | ||
405 | buf[i + 1] = 0; /**XXX wait for \n */ | ||
406 | } | ||
407 | i++; | ||
384 | } | 408 | } |
385 | buf[sizeof(buf) - 1] = 0; | 409 | buf[sizeof(buf) - 1] = 0; |
386 | if (strncmp(buf, "SSH-", 4) == 0) | 410 | if (strncmp(buf, "SSH-", 4) == 0) |
@@ -389,6 +413,14 @@ ssh_exchange_identification(void) | |||
389 | } | 413 | } |
390 | server_version_string = xstrdup(buf); | 414 | server_version_string = xstrdup(buf); |
391 | 415 | ||
416 | /* If SetupTimeOut has been set, unset the alarm now, and | ||
417 | * put the correct handler for SIGALRM back. | ||
418 | */ | ||
419 | if (options.setuptimeout > 0) { | ||
420 | alarm(0); | ||
421 | sigaction(SIGALRM,&osa,NULL); | ||
422 | } | ||
423 | |||
392 | /* | 424 | /* |
393 | * Check that the versions match. In future this might accept | 425 | * Check that the versions match. In future this might accept |
394 | * several versions and set appropriate flags to handle them. | 426 | * several versions and set appropriate flags to handle them. |
@@ -261,9 +261,12 @@ Ports specified in the configuration file are ignored when a | |||
261 | command-line port is specified. | 261 | command-line port is specified. |
262 | .It Fl q | 262 | .It Fl q |
263 | Quiet mode. | 263 | Quiet mode. |
264 | Nothing is sent to the system log. | 264 | Only fatal errors are sent to the system log. |
265 | Normally the beginning, | 265 | Normally the beginning, |
266 | authentication, and termination of each connection is logged. | 266 | authentication, and termination of each connection is logged. |
267 | If a second | ||
268 | .Fl q | ||
269 | is given then nothing is sent to the system log. | ||
267 | .It Fl t | 270 | .It Fl t |
268 | Test mode. | 271 | Test mode. |
269 | Only check the validity of the configuration file and sanity of the keys. | 272 | Only check the validity of the configuration file and sanity of the keys. |
@@ -589,7 +592,7 @@ really used for anything; they are provided for the convenience of | |||
589 | the user so their contents can be copied to known hosts files. | 592 | the user so their contents can be copied to known hosts files. |
590 | These files are created using | 593 | These files are created using |
591 | .Xr ssh-keygen 1 . | 594 | .Xr ssh-keygen 1 . |
592 | .It Pa /etc/moduli | 595 | .It Pa /etc/ssh/moduli |
593 | Contains Diffie-Hellman groups used for the "Diffie-Hellman Group Exchange". | 596 | Contains Diffie-Hellman groups used for the "Diffie-Hellman Group Exchange". |
594 | The file format is described in | 597 | The file format is described in |
595 | .Xr moduli 5 . | 598 | .Xr moduli 5 . |
@@ -878,7 +878,12 @@ main(int ac, char **av) | |||
878 | /* ignored */ | 878 | /* ignored */ |
879 | break; | 879 | break; |
880 | case 'q': | 880 | case 'q': |
881 | options.log_level = SYSLOG_LEVEL_QUIET; | 881 | if (options.log_level == SYSLOG_LEVEL_QUIET) { |
882 | options.log_level = SYSLOG_LEVEL_SILENT; | ||
883 | } | ||
884 | else if (options.log_level != SYSLOG_LEVEL_SILENT) { | ||
885 | options.log_level = SYSLOG_LEVEL_QUIET; | ||
886 | } | ||
882 | break; | 887 | break; |
883 | case 'b': | 888 | case 'b': |
884 | options.server_key_bits = atoi(optarg); | 889 | options.server_key_bits = atoi(optarg); |
@@ -1176,7 +1181,7 @@ main(int ac, char **av) | |||
1176 | 1181 | ||
1177 | /* Bind the socket to the desired port. */ | 1182 | /* Bind the socket to the desired port. */ |
1178 | if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) { | 1183 | if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) { |
1179 | if (!ai->ai_next) | 1184 | if (!num_listen_socks && !ai->ai_next) |
1180 | error("Bind to port %s on %s failed: %.200s.", | 1185 | error("Bind to port %s on %s failed: %.200s.", |
1181 | strport, ntop, strerror(errno)); | 1186 | strport, ntop, strerror(errno)); |
1182 | close(listen_sock); | 1187 | close(listen_sock); |
@@ -1433,7 +1438,7 @@ main(int ac, char **av) | |||
1433 | * Register our connection. This turns encryption off because we do | 1438 | * Register our connection. This turns encryption off because we do |
1434 | * not have a key. | 1439 | * not have a key. |
1435 | */ | 1440 | */ |
1436 | packet_set_connection(sock_in, sock_out); | 1441 | packet_set_connection(sock_in, sock_out, -1); |
1437 | 1442 | ||
1438 | remote_port = get_remote_port(); | 1443 | remote_port = get_remote_port(); |
1439 | remote_ip = get_remote_ipaddr(); | 1444 | remote_ip = get_remote_ipaddr(); |
@@ -1,3 +1,5 @@ | |||
1 | /* $OpenBSD: version.h,v 1.37 2003/04/01 10:56:46 markus Exp $ */ | 1 | /* $OpenBSD: version.h,v 1.37 2003/04/01 10:56:46 markus Exp $ */ |
2 | 2 | ||
3 | #ifndef SSH_VERSION | ||
3 | #define SSH_VERSION "OpenSSH_3.6.1p2" | 4 | #define SSH_VERSION "OpenSSH_3.6.1p2" |
5 | #endif /* SSH_VERSION */ | ||