diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
commit | 1b816ea846aca3ee89e7995373ace609e9518424 (patch) | |
tree | b41cdc8495cae7fa9c2e0f98a5f2e71656b61f9a /configure | |
parent | fa585019a79ebcb4e0202b1c33f87ff1c5c9ce1c (diff) | |
parent | 086ea76990b1e6287c24b6db74adffd4605eb3b0 (diff) |
import openssh-4.6p1-gsskex-20070312.patch
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 21333 |
1 files changed, 11228 insertions, 10105 deletions
@@ -1,28 +1,57 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # From configure.ac Revision: 1.322.2.6 . | 2 | # From configure.ac Revision: 1.372 . |
3 | # Guess values for system-dependent variables and create Makefiles. | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.59 for OpenSSH Portable. | 4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. |
5 | # | 5 | # |
6 | # Report bugs to <openssh-unix-dev@mindrot.org>. | 6 | # Report bugs to <openssh-unix-dev@mindrot.org>. |
7 | # | 7 | # |
8 | # Copyright (C) 2003 Free Software Foundation, Inc. | 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
9 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
9 | # This configure script is free software; the Free Software Foundation | 10 | # This configure script is free software; the Free Software Foundation |
10 | # gives unlimited permission to copy, distribute and modify it. | 11 | # gives unlimited permission to copy, distribute and modify it. |
11 | ## --------------------- ## | 12 | ## --------------------- ## |
12 | ## M4sh Initialization. ## | 13 | ## M4sh Initialization. ## |
13 | ## --------------------- ## | 14 | ## --------------------- ## |
14 | 15 | ||
15 | # Be Bourne compatible | 16 | # Be more Bourne compatible |
17 | DUALCASE=1; export DUALCASE # for MKS sh | ||
16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 18 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
17 | emulate sh | 19 | emulate sh |
18 | NULLCMD=: | 20 | NULLCMD=: |
19 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 21 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 | # is contrary to our usage. Disable this feature. | 22 | # is contrary to our usage. Disable this feature. |
21 | alias -g '${1+"$@"}'='"$@"' | 23 | alias -g '${1+"$@"}'='"$@"' |
22 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 24 | setopt NO_GLOB_SUBST |
23 | set -o posix | 25 | else |
26 | case `(set -o) 2>/dev/null` in | ||
27 | *posix*) set -o posix ;; | ||
28 | esac | ||
29 | |||
30 | fi | ||
31 | |||
32 | |||
33 | |||
34 | |||
35 | # PATH needs CR | ||
36 | # Avoid depending upon Character Ranges. | ||
37 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
38 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
39 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
40 | as_cr_digits='0123456789' | ||
41 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
42 | |||
43 | # The user is always right. | ||
44 | if test "${PATH_SEPARATOR+set}" != set; then | ||
45 | echo "#! /bin/sh" >conf$$.sh | ||
46 | echo "exit 0" >>conf$$.sh | ||
47 | chmod +x conf$$.sh | ||
48 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
49 | PATH_SEPARATOR=';' | ||
50 | else | ||
51 | PATH_SEPARATOR=: | ||
52 | fi | ||
53 | rm -f conf$$.sh | ||
24 | fi | 54 | fi |
25 | DUALCASE=1; export DUALCASE # for MKS sh | ||
26 | 55 | ||
27 | # Support unset when possible. | 56 | # Support unset when possible. |
28 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 57 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
@@ -32,8 +61,43 @@ else | |||
32 | fi | 61 | fi |
33 | 62 | ||
34 | 63 | ||
64 | # IFS | ||
65 | # We need space, tab and new line, in precisely that order. Quoting is | ||
66 | # there to prevent editors from complaining about space-tab. | ||
67 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
68 | # splitting by setting IFS to empty value.) | ||
69 | as_nl=' | ||
70 | ' | ||
71 | IFS=" "" $as_nl" | ||
72 | |||
73 | # Find who we are. Look in the path if we contain no directory separator. | ||
74 | case $0 in | ||
75 | *[\\/]* ) as_myself=$0 ;; | ||
76 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
77 | for as_dir in $PATH | ||
78 | do | ||
79 | IFS=$as_save_IFS | ||
80 | test -z "$as_dir" && as_dir=. | ||
81 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
82 | done | ||
83 | IFS=$as_save_IFS | ||
84 | |||
85 | ;; | ||
86 | esac | ||
87 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
88 | # in which case we are not to be found in the path. | ||
89 | if test "x$as_myself" = x; then | ||
90 | as_myself=$0 | ||
91 | fi | ||
92 | if test ! -f "$as_myself"; then | ||
93 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
94 | { (exit 1); exit 1; } | ||
95 | fi | ||
96 | |||
35 | # Work around bugs in pre-3.0 UWIN ksh. | 97 | # Work around bugs in pre-3.0 UWIN ksh. |
36 | $as_unset ENV MAIL MAILPATH | 98 | for as_var in ENV MAIL MAILPATH |
99 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
100 | done | ||
37 | PS1='$ ' | 101 | PS1='$ ' |
38 | PS2='> ' | 102 | PS2='> ' |
39 | PS4='+ ' | 103 | PS4='+ ' |
@@ -47,18 +111,19 @@ do | |||
47 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 111 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
48 | eval $as_var=C; export $as_var | 112 | eval $as_var=C; export $as_var |
49 | else | 113 | else |
50 | $as_unset $as_var | 114 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
51 | fi | 115 | fi |
52 | done | 116 | done |
53 | 117 | ||
54 | # Required to use basename. | 118 | # Required to use basename. |
55 | if expr a : '\(a\)' >/dev/null 2>&1; then | 119 | if expr a : '\(a\)' >/dev/null 2>&1 && |
120 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
56 | as_expr=expr | 121 | as_expr=expr |
57 | else | 122 | else |
58 | as_expr=false | 123 | as_expr=false |
59 | fi | 124 | fi |
60 | 125 | ||
61 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 126 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
62 | as_basename=basename | 127 | as_basename=basename |
63 | else | 128 | else |
64 | as_basename=false | 129 | as_basename=false |
@@ -66,157 +131,388 @@ fi | |||
66 | 131 | ||
67 | 132 | ||
68 | # Name of the executable. | 133 | # Name of the executable. |
69 | as_me=`$as_basename "$0" || | 134 | as_me=`$as_basename -- "$0" || |
70 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 135 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
71 | X"$0" : 'X\(//\)$' \| \ | 136 | X"$0" : 'X\(//\)$' \| \ |
72 | X"$0" : 'X\(/\)$' \| \ | 137 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
73 | . : '\(.\)' 2>/dev/null || | ||
74 | echo X/"$0" | | 138 | echo X/"$0" | |
75 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 139 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
76 | /^X\/\(\/\/\)$/{ s//\1/; q; } | 140 | s//\1/ |
77 | /^X\/\(\/\).*/{ s//\1/; q; } | 141 | q |
78 | s/.*/./; q'` | 142 | } |
143 | /^X\/\(\/\/\)$/{ | ||
144 | s//\1/ | ||
145 | q | ||
146 | } | ||
147 | /^X\/\(\/\).*/{ | ||
148 | s//\1/ | ||
149 | q | ||
150 | } | ||
151 | s/.*/./; q'` | ||
79 | 152 | ||
153 | # CDPATH. | ||
154 | $as_unset CDPATH | ||
80 | 155 | ||
81 | # PATH needs CR, and LINENO needs CR and PATH. | ||
82 | # Avoid depending upon Character Ranges. | ||
83 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
84 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
85 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
86 | as_cr_digits='0123456789' | ||
87 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
88 | 156 | ||
89 | # The user is always right. | 157 | if test "x$CONFIG_SHELL" = x; then |
90 | if test "${PATH_SEPARATOR+set}" != set; then | 158 | if (eval ":") 2>/dev/null; then |
91 | echo "#! /bin/sh" >conf$$.sh | 159 | as_have_required=yes |
92 | echo "exit 0" >>conf$$.sh | 160 | else |
93 | chmod +x conf$$.sh | 161 | as_have_required=no |
94 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
95 | PATH_SEPARATOR=';' | ||
96 | else | ||
97 | PATH_SEPARATOR=: | ||
98 | fi | ||
99 | rm -f conf$$.sh | ||
100 | fi | 162 | fi |
101 | 163 | ||
164 | if test $as_have_required = yes && (eval ": | ||
165 | (as_func_return () { | ||
166 | (exit \$1) | ||
167 | } | ||
168 | as_func_success () { | ||
169 | as_func_return 0 | ||
170 | } | ||
171 | as_func_failure () { | ||
172 | as_func_return 1 | ||
173 | } | ||
174 | as_func_ret_success () { | ||
175 | return 0 | ||
176 | } | ||
177 | as_func_ret_failure () { | ||
178 | return 1 | ||
179 | } | ||
102 | 180 | ||
103 | as_lineno_1=$LINENO | 181 | exitcode=0 |
104 | as_lineno_2=$LINENO | 182 | if as_func_success; then |
105 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 183 | : |
106 | test "x$as_lineno_1" != "x$as_lineno_2" && | 184 | else |
107 | test "x$as_lineno_3" = "x$as_lineno_2" || { | 185 | exitcode=1 |
108 | # Find who we are. Look in the path if we contain no path at all | 186 | echo as_func_success failed. |
109 | # relative or not. | 187 | fi |
110 | case $0 in | ||
111 | *[\\/]* ) as_myself=$0 ;; | ||
112 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
113 | for as_dir in $PATH | ||
114 | do | ||
115 | IFS=$as_save_IFS | ||
116 | test -z "$as_dir" && as_dir=. | ||
117 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
118 | done | ||
119 | 188 | ||
120 | ;; | 189 | if as_func_failure; then |
121 | esac | 190 | exitcode=1 |
122 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 191 | echo as_func_failure succeeded. |
123 | # in which case we are not to be found in the path. | 192 | fi |
124 | if test "x$as_myself" = x; then | 193 | |
125 | as_myself=$0 | 194 | if as_func_ret_success; then |
126 | fi | 195 | : |
127 | if test ! -f "$as_myself"; then | 196 | else |
128 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 197 | exitcode=1 |
129 | { (exit 1); exit 1; }; } | 198 | echo as_func_ret_success failed. |
130 | fi | 199 | fi |
131 | case $CONFIG_SHELL in | 200 | |
132 | '') | 201 | if as_func_ret_failure; then |
202 | exitcode=1 | ||
203 | echo as_func_ret_failure succeeded. | ||
204 | fi | ||
205 | |||
206 | if (set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
207 | : | ||
208 | else | ||
209 | exitcode=1 | ||
210 | echo positional parameters were not saved. | ||
211 | fi | ||
212 | |||
213 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
214 | |||
215 | ( | ||
216 | as_lineno_1=\$LINENO | ||
217 | as_lineno_2=\$LINENO | ||
218 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
219 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
220 | ") 2> /dev/null; then | ||
221 | : | ||
222 | else | ||
223 | as_candidate_shells= | ||
133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 224 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
134 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 225 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
135 | do | 226 | do |
136 | IFS=$as_save_IFS | 227 | IFS=$as_save_IFS |
137 | test -z "$as_dir" && as_dir=. | 228 | test -z "$as_dir" && as_dir=. |
138 | for as_base in sh bash ksh sh5; do | 229 | case $as_dir in |
139 | case $as_dir in | ||
140 | /*) | 230 | /*) |
141 | if ("$as_dir/$as_base" -c ' | 231 | for as_base in sh bash ksh sh5; do |
232 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | ||
233 | done;; | ||
234 | esac | ||
235 | done | ||
236 | IFS=$as_save_IFS | ||
237 | |||
238 | |||
239 | for as_shell in $as_candidate_shells $SHELL; do | ||
240 | # Try only shells that exist, to save several forks. | ||
241 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
242 | { ("$as_shell") 2> /dev/null <<\_ASEOF | ||
243 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
244 | emulate sh | ||
245 | NULLCMD=: | ||
246 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
247 | # is contrary to our usage. Disable this feature. | ||
248 | alias -g '${1+"$@"}'='"$@"' | ||
249 | setopt NO_GLOB_SUBST | ||
250 | else | ||
251 | case `(set -o) 2>/dev/null` in | ||
252 | *posix*) set -o posix ;; | ||
253 | esac | ||
254 | |||
255 | fi | ||
256 | |||
257 | |||
258 | : | ||
259 | _ASEOF | ||
260 | }; then | ||
261 | CONFIG_SHELL=$as_shell | ||
262 | as_have_required=yes | ||
263 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
264 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
265 | emulate sh | ||
266 | NULLCMD=: | ||
267 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
268 | # is contrary to our usage. Disable this feature. | ||
269 | alias -g '${1+"$@"}'='"$@"' | ||
270 | setopt NO_GLOB_SUBST | ||
271 | else | ||
272 | case `(set -o) 2>/dev/null` in | ||
273 | *posix*) set -o posix ;; | ||
274 | esac | ||
275 | |||
276 | fi | ||
277 | |||
278 | |||
279 | : | ||
280 | (as_func_return () { | ||
281 | (exit $1) | ||
282 | } | ||
283 | as_func_success () { | ||
284 | as_func_return 0 | ||
285 | } | ||
286 | as_func_failure () { | ||
287 | as_func_return 1 | ||
288 | } | ||
289 | as_func_ret_success () { | ||
290 | return 0 | ||
291 | } | ||
292 | as_func_ret_failure () { | ||
293 | return 1 | ||
294 | } | ||
295 | |||
296 | exitcode=0 | ||
297 | if as_func_success; then | ||
298 | : | ||
299 | else | ||
300 | exitcode=1 | ||
301 | echo as_func_success failed. | ||
302 | fi | ||
303 | |||
304 | if as_func_failure; then | ||
305 | exitcode=1 | ||
306 | echo as_func_failure succeeded. | ||
307 | fi | ||
308 | |||
309 | if as_func_ret_success; then | ||
310 | : | ||
311 | else | ||
312 | exitcode=1 | ||
313 | echo as_func_ret_success failed. | ||
314 | fi | ||
315 | |||
316 | if as_func_ret_failure; then | ||
317 | exitcode=1 | ||
318 | echo as_func_ret_failure succeeded. | ||
319 | fi | ||
320 | |||
321 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
322 | : | ||
323 | else | ||
324 | exitcode=1 | ||
325 | echo positional parameters were not saved. | ||
326 | fi | ||
327 | |||
328 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
329 | |||
330 | ( | ||
142 | as_lineno_1=$LINENO | 331 | as_lineno_1=$LINENO |
143 | as_lineno_2=$LINENO | 332 | as_lineno_2=$LINENO |
144 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
145 | test "x$as_lineno_1" != "x$as_lineno_2" && | 333 | test "x$as_lineno_1" != "x$as_lineno_2" && |
146 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 334 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
147 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 335 | |
148 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 336 | _ASEOF |
149 | CONFIG_SHELL=$as_dir/$as_base | 337 | }; then |
150 | export CONFIG_SHELL | 338 | break |
151 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 339 | fi |
152 | fi;; | 340 | |
153 | esac | 341 | fi |
154 | done | 342 | |
155 | done | 343 | done |
156 | ;; | 344 | |
157 | esac | 345 | if test "x$CONFIG_SHELL" != x; then |
346 | for as_var in BASH_ENV ENV | ||
347 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
348 | done | ||
349 | export CONFIG_SHELL | ||
350 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
351 | fi | ||
352 | |||
353 | |||
354 | if test $as_have_required = no; then | ||
355 | echo This script requires a shell more modern than all the | ||
356 | echo shells that I found on your system. Please install a | ||
357 | echo modern shell, or manually run the script under such a | ||
358 | echo shell if you do have one. | ||
359 | { (exit 1); exit 1; } | ||
360 | fi | ||
361 | |||
362 | |||
363 | fi | ||
364 | |||
365 | fi | ||
366 | |||
367 | |||
368 | |||
369 | (eval "as_func_return () { | ||
370 | (exit \$1) | ||
371 | } | ||
372 | as_func_success () { | ||
373 | as_func_return 0 | ||
374 | } | ||
375 | as_func_failure () { | ||
376 | as_func_return 1 | ||
377 | } | ||
378 | as_func_ret_success () { | ||
379 | return 0 | ||
380 | } | ||
381 | as_func_ret_failure () { | ||
382 | return 1 | ||
383 | } | ||
384 | |||
385 | exitcode=0 | ||
386 | if as_func_success; then | ||
387 | : | ||
388 | else | ||
389 | exitcode=1 | ||
390 | echo as_func_success failed. | ||
391 | fi | ||
392 | |||
393 | if as_func_failure; then | ||
394 | exitcode=1 | ||
395 | echo as_func_failure succeeded. | ||
396 | fi | ||
397 | |||
398 | if as_func_ret_success; then | ||
399 | : | ||
400 | else | ||
401 | exitcode=1 | ||
402 | echo as_func_ret_success failed. | ||
403 | fi | ||
404 | |||
405 | if as_func_ret_failure; then | ||
406 | exitcode=1 | ||
407 | echo as_func_ret_failure succeeded. | ||
408 | fi | ||
409 | |||
410 | if (set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
411 | : | ||
412 | else | ||
413 | exitcode=1 | ||
414 | echo positional parameters were not saved. | ||
415 | fi | ||
416 | |||
417 | test \$exitcode = 0") || { | ||
418 | echo No shell found that supports shell functions. | ||
419 | echo Please tell autoconf@gnu.org about your system, | ||
420 | echo including any error possibly output before this | ||
421 | echo message | ||
422 | } | ||
423 | |||
424 | |||
425 | |||
426 | as_lineno_1=$LINENO | ||
427 | as_lineno_2=$LINENO | ||
428 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
429 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
158 | 430 | ||
159 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 431 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
160 | # uniformly replaced by the line number. The first 'sed' inserts a | 432 | # uniformly replaced by the line number. The first 'sed' inserts a |
161 | # line-number line before each line; the second 'sed' does the real | 433 | # line-number line after each line using $LINENO; the second 'sed' |
162 | # work. The second script uses 'N' to pair each line-number line | 434 | # does the real work. The second script uses 'N' to pair each |
163 | # with the numbered line, and appends trailing '-' during | 435 | # line-number line with the line containing $LINENO, and appends |
164 | # substitution so that $LINENO is not a special case at line end. | 436 | # trailing '-' during substitution so that $LINENO is not a special |
437 | # case at line end. | ||
165 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 438 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
166 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 439 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
167 | sed '=' <$as_myself | | 440 | # E. McMahon (1931-1989) for sed's syntax. :-) |
441 | sed -n ' | ||
442 | p | ||
443 | /[$]LINENO/= | ||
444 | ' <$as_myself | | ||
168 | sed ' | 445 | sed ' |
446 | s/[$]LINENO.*/&-/ | ||
447 | t lineno | ||
448 | b | ||
449 | :lineno | ||
169 | N | 450 | N |
170 | s,$,-, | 451 | :loop |
171 | : loop | 452 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
172 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
173 | t loop | 453 | t loop |
174 | s,-$,, | 454 | s/-\n.*// |
175 | s,^['$as_cr_digits']*\n,, | ||
176 | ' >$as_me.lineno && | 455 | ' >$as_me.lineno && |
177 | chmod +x $as_me.lineno || | 456 | chmod +x "$as_me.lineno" || |
178 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 457 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
179 | { (exit 1); exit 1; }; } | 458 | { (exit 1); exit 1; }; } |
180 | 459 | ||
181 | # Don't try to exec as it changes $[0], causing all sort of problems | 460 | # Don't try to exec as it changes $[0], causing all sort of problems |
182 | # (the dirname of $[0] is not the place where we might find the | 461 | # (the dirname of $[0] is not the place where we might find the |
183 | # original and so on. Autoconf is especially sensible to this). | 462 | # original and so on. Autoconf is especially sensitive to this). |
184 | . ./$as_me.lineno | 463 | . "./$as_me.lineno" |
185 | # Exit status is that of the last command. | 464 | # Exit status is that of the last command. |
186 | exit | 465 | exit |
187 | } | 466 | } |
188 | 467 | ||
189 | 468 | ||
190 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 469 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
191 | *c*,-n*) ECHO_N= ECHO_C=' | 470 | as_dirname=dirname |
192 | ' ECHO_T=' ' ;; | 471 | else |
193 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 472 | as_dirname=false |
194 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 473 | fi |
474 | |||
475 | ECHO_C= ECHO_N= ECHO_T= | ||
476 | case `echo -n x` in | ||
477 | -n*) | ||
478 | case `echo 'x\c'` in | ||
479 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
480 | *) ECHO_C='\c';; | ||
481 | esac;; | ||
482 | *) | ||
483 | ECHO_N='-n';; | ||
195 | esac | 484 | esac |
196 | 485 | ||
197 | if expr a : '\(a\)' >/dev/null 2>&1; then | 486 | if expr a : '\(a\)' >/dev/null 2>&1 && |
487 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
198 | as_expr=expr | 488 | as_expr=expr |
199 | else | 489 | else |
200 | as_expr=false | 490 | as_expr=false |
201 | fi | 491 | fi |
202 | 492 | ||
203 | rm -f conf$$ conf$$.exe conf$$.file | 493 | rm -f conf$$ conf$$.exe conf$$.file |
494 | if test -d conf$$.dir; then | ||
495 | rm -f conf$$.dir/conf$$.file | ||
496 | else | ||
497 | rm -f conf$$.dir | ||
498 | mkdir conf$$.dir | ||
499 | fi | ||
204 | echo >conf$$.file | 500 | echo >conf$$.file |
205 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 501 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
206 | # We could just check for DJGPP; but this test a) works b) is more generic | 502 | as_ln_s='ln -s' |
207 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 503 | # ... but there are two gotchas: |
208 | if test -f conf$$.exe; then | 504 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
209 | # Don't use ln at all; we don't have any links | 505 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
506 | # In both cases, we have to default to `cp -p'. | ||
507 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
210 | as_ln_s='cp -p' | 508 | as_ln_s='cp -p' |
211 | else | ||
212 | as_ln_s='ln -s' | ||
213 | fi | ||
214 | elif ln conf$$.file conf$$ 2>/dev/null; then | 509 | elif ln conf$$.file conf$$ 2>/dev/null; then |
215 | as_ln_s=ln | 510 | as_ln_s=ln |
216 | else | 511 | else |
217 | as_ln_s='cp -p' | 512 | as_ln_s='cp -p' |
218 | fi | 513 | fi |
219 | rm -f conf$$ conf$$.exe conf$$.file | 514 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
515 | rmdir conf$$.dir 2>/dev/null | ||
220 | 516 | ||
221 | if mkdir -p . 2>/dev/null; then | 517 | if mkdir -p . 2>/dev/null; then |
222 | as_mkdir_p=: | 518 | as_mkdir_p=: |
@@ -225,7 +521,28 @@ else | |||
225 | as_mkdir_p=false | 521 | as_mkdir_p=false |
226 | fi | 522 | fi |
227 | 523 | ||
228 | as_executable_p="test -f" | 524 | if test -x / >/dev/null 2>&1; then |
525 | as_test_x='test -x' | ||
526 | else | ||
527 | if ls -dL / >/dev/null 2>&1; then | ||
528 | as_ls_L_option=L | ||
529 | else | ||
530 | as_ls_L_option= | ||
531 | fi | ||
532 | as_test_x=' | ||
533 | eval sh -c '\'' | ||
534 | if test -d "$1"; then | ||
535 | test -d "$1/."; | ||
536 | else | ||
537 | case $1 in | ||
538 | -*)set "./$1";; | ||
539 | esac; | ||
540 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
541 | ???[sx]*):;;*)false;;esac;fi | ||
542 | '\'' sh | ||
543 | ' | ||
544 | fi | ||
545 | as_executable_p=$as_test_x | ||
229 | 546 | ||
230 | # Sed expression to map a string onto a valid CPP name. | 547 | # Sed expression to map a string onto a valid CPP name. |
231 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 548 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
@@ -234,39 +551,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
234 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 551 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
235 | 552 | ||
236 | 553 | ||
237 | # IFS | ||
238 | # We need space, tab and new line, in precisely that order. | ||
239 | as_nl=' | ||
240 | ' | ||
241 | IFS=" $as_nl" | ||
242 | |||
243 | # CDPATH. | ||
244 | $as_unset CDPATH | ||
245 | 554 | ||
555 | exec 7<&0 </dev/null 6>&1 | ||
246 | 556 | ||
247 | # Name of the host. | 557 | # Name of the host. |
248 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 558 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
249 | # so uname gets run too. | 559 | # so uname gets run too. |
250 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 560 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
251 | 561 | ||
252 | exec 6>&1 | ||
253 | |||
254 | # | 562 | # |
255 | # Initializations. | 563 | # Initializations. |
256 | # | 564 | # |
257 | ac_default_prefix=/usr/local | 565 | ac_default_prefix=/usr/local |
566 | ac_clean_files= | ||
258 | ac_config_libobj_dir=. | 567 | ac_config_libobj_dir=. |
568 | LIBOBJS= | ||
259 | cross_compiling=no | 569 | cross_compiling=no |
260 | subdirs= | 570 | subdirs= |
261 | MFLAGS= | 571 | MFLAGS= |
262 | MAKEFLAGS= | 572 | MAKEFLAGS= |
263 | SHELL=${CONFIG_SHELL-/bin/sh} | 573 | SHELL=${CONFIG_SHELL-/bin/sh} |
264 | 574 | ||
265 | # Maximum number of lines to put in a shell here document. | ||
266 | # This variable seems obsolete. It should probably be removed, and | ||
267 | # only ac_max_sed_lines should be used. | ||
268 | : ${ac_max_here_lines=38} | ||
269 | |||
270 | # Identity of this package. | 575 | # Identity of this package. |
271 | PACKAGE_NAME='OpenSSH' | 576 | PACKAGE_NAME='OpenSSH' |
272 | PACKAGE_TARNAME='openssh' | 577 | PACKAGE_TARNAME='openssh' |
@@ -278,42 +583,162 @@ ac_unique_file="ssh.c" | |||
278 | # Factoring default headers for most tests. | 583 | # Factoring default headers for most tests. |
279 | ac_includes_default="\ | 584 | ac_includes_default="\ |
280 | #include <stdio.h> | 585 | #include <stdio.h> |
281 | #if HAVE_SYS_TYPES_H | 586 | #ifdef HAVE_SYS_TYPES_H |
282 | # include <sys/types.h> | 587 | # include <sys/types.h> |
283 | #endif | 588 | #endif |
284 | #if HAVE_SYS_STAT_H | 589 | #ifdef HAVE_SYS_STAT_H |
285 | # include <sys/stat.h> | 590 | # include <sys/stat.h> |
286 | #endif | 591 | #endif |
287 | #if STDC_HEADERS | 592 | #ifdef STDC_HEADERS |
288 | # include <stdlib.h> | 593 | # include <stdlib.h> |
289 | # include <stddef.h> | 594 | # include <stddef.h> |
290 | #else | 595 | #else |
291 | # if HAVE_STDLIB_H | 596 | # ifdef HAVE_STDLIB_H |
292 | # include <stdlib.h> | 597 | # include <stdlib.h> |
293 | # endif | 598 | # endif |
294 | #endif | 599 | #endif |
295 | #if HAVE_STRING_H | 600 | #ifdef HAVE_STRING_H |
296 | # if !STDC_HEADERS && HAVE_MEMORY_H | 601 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
297 | # include <memory.h> | 602 | # include <memory.h> |
298 | # endif | 603 | # endif |
299 | # include <string.h> | 604 | # include <string.h> |
300 | #endif | 605 | #endif |
301 | #if HAVE_STRINGS_H | 606 | #ifdef HAVE_STRINGS_H |
302 | # include <strings.h> | 607 | # include <strings.h> |
303 | #endif | 608 | #endif |
304 | #if HAVE_INTTYPES_H | 609 | #ifdef HAVE_INTTYPES_H |
305 | # include <inttypes.h> | 610 | # include <inttypes.h> |
306 | #else | ||
307 | # if HAVE_STDINT_H | ||
308 | # include <stdint.h> | ||
309 | # endif | ||
310 | #endif | 611 | #endif |
311 | #if HAVE_UNISTD_H | 612 | #ifdef HAVE_STDINT_H |
613 | # include <stdint.h> | ||
614 | #endif | ||
615 | #ifdef HAVE_UNISTD_H | ||
312 | # include <unistd.h> | 616 | # include <unistd.h> |
313 | #endif" | 617 | #endif" |
314 | 618 | ||
315 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP AR CAT KILL PERL SED ENT TEST_MINUS_S_SH SH TEST_SHELL PATH_GROUPADD_PROG PATH_USERADD_PROG MAKE_PACKAGE_SUPPORTED STARTUP_SCRIPT_SHELL LOGIN_PROGRAM_FALLBACK PATH_PASSWD_PROG LD LIBWRAP LIBEDIT LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS' | 619 | ac_subst_vars='SHELL |
620 | PATH_SEPARATOR | ||
621 | PACKAGE_NAME | ||
622 | PACKAGE_TARNAME | ||
623 | PACKAGE_VERSION | ||
624 | PACKAGE_STRING | ||
625 | PACKAGE_BUGREPORT | ||
626 | exec_prefix | ||
627 | prefix | ||
628 | program_transform_name | ||
629 | bindir | ||
630 | sbindir | ||
631 | libexecdir | ||
632 | datarootdir | ||
633 | datadir | ||
634 | sysconfdir | ||
635 | sharedstatedir | ||
636 | localstatedir | ||
637 | includedir | ||
638 | oldincludedir | ||
639 | docdir | ||
640 | infodir | ||
641 | htmldir | ||
642 | dvidir | ||
643 | pdfdir | ||
644 | psdir | ||
645 | libdir | ||
646 | localedir | ||
647 | mandir | ||
648 | DEFS | ||
649 | ECHO_C | ||
650 | ECHO_N | ||
651 | ECHO_T | ||
652 | LIBS | ||
653 | build_alias | ||
654 | host_alias | ||
655 | target_alias | ||
656 | CC | ||
657 | CFLAGS | ||
658 | LDFLAGS | ||
659 | CPPFLAGS | ||
660 | ac_ct_CC | ||
661 | EXEEXT | ||
662 | OBJEXT | ||
663 | build | ||
664 | build_cpu | ||
665 | build_vendor | ||
666 | build_os | ||
667 | host | ||
668 | host_cpu | ||
669 | host_vendor | ||
670 | host_os | ||
671 | CPP | ||
672 | GREP | ||
673 | EGREP | ||
674 | AWK | ||
675 | RANLIB | ||
676 | INSTALL_PROGRAM | ||
677 | INSTALL_SCRIPT | ||
678 | INSTALL_DATA | ||
679 | AR | ||
680 | CAT | ||
681 | KILL | ||
682 | PERL | ||
683 | SED | ||
684 | ENT | ||
685 | TEST_MINUS_S_SH | ||
686 | SH | ||
687 | TEST_SHELL | ||
688 | PATH_GROUPADD_PROG | ||
689 | PATH_USERADD_PROG | ||
690 | MAKE_PACKAGE_SUPPORTED | ||
691 | STARTUP_SCRIPT_SHELL | ||
692 | LOGIN_PROGRAM_FALLBACK | ||
693 | PATH_PASSWD_PROG | ||
694 | LD | ||
695 | SSHDLIBS | ||
696 | LIBWRAP | ||
697 | LIBEDIT | ||
698 | LIBPAM | ||
699 | INSTALL_SSH_RAND_HELPER | ||
700 | SSH_PRIVSEP_USER | ||
701 | PROG_LS | ||
702 | PROG_NETSTAT | ||
703 | PROG_ARP | ||
704 | PROG_IFCONFIG | ||
705 | PROG_JSTAT | ||
706 | PROG_PS | ||
707 | PROG_SAR | ||
708 | PROG_W | ||
709 | PROG_WHO | ||
710 | PROG_LAST | ||
711 | PROG_LASTLOG | ||
712 | PROG_DF | ||
713 | PROG_VMSTAT | ||
714 | PROG_UPTIME | ||
715 | PROG_IPCS | ||
716 | PROG_TAIL | ||
717 | INSTALL_SSH_PRNG_CMDS | ||
718 | OPENSC_CONFIG | ||
719 | LIBSELINUX | ||
720 | PRIVSEP_PATH | ||
721 | xauth_path | ||
722 | STRIP_OPT | ||
723 | XAUTH_PATH | ||
724 | NROFF | ||
725 | MANTYPE | ||
726 | mansubdir | ||
727 | user_path | ||
728 | piddir | ||
729 | LIBOBJS | ||
730 | LTLIBOBJS' | ||
316 | ac_subst_files='' | 731 | ac_subst_files='' |
732 | ac_precious_vars='build_alias | ||
733 | host_alias | ||
734 | target_alias | ||
735 | CC | ||
736 | CFLAGS | ||
737 | LDFLAGS | ||
738 | LIBS | ||
739 | CPPFLAGS | ||
740 | CPP' | ||
741 | |||
317 | 742 | ||
318 | # Initialize some variables set by options. | 743 | # Initialize some variables set by options. |
319 | ac_init_help= | 744 | ac_init_help= |
@@ -340,34 +765,48 @@ x_libraries=NONE | |||
340 | # and all the variables that are supposed to be based on exec_prefix | 765 | # and all the variables that are supposed to be based on exec_prefix |
341 | # by default will actually change. | 766 | # by default will actually change. |
342 | # Use braces instead of parens because sh, perl, etc. also accept them. | 767 | # Use braces instead of parens because sh, perl, etc. also accept them. |
768 | # (The list follows the same order as the GNU Coding Standards.) | ||
343 | bindir='${exec_prefix}/bin' | 769 | bindir='${exec_prefix}/bin' |
344 | sbindir='${exec_prefix}/sbin' | 770 | sbindir='${exec_prefix}/sbin' |
345 | libexecdir='${exec_prefix}/libexec' | 771 | libexecdir='${exec_prefix}/libexec' |
346 | datadir='${prefix}/share' | 772 | datarootdir='${prefix}/share' |
773 | datadir='${datarootdir}' | ||
347 | sysconfdir='${prefix}/etc' | 774 | sysconfdir='${prefix}/etc' |
348 | sharedstatedir='${prefix}/com' | 775 | sharedstatedir='${prefix}/com' |
349 | localstatedir='${prefix}/var' | 776 | localstatedir='${prefix}/var' |
350 | libdir='${exec_prefix}/lib' | ||
351 | includedir='${prefix}/include' | 777 | includedir='${prefix}/include' |
352 | oldincludedir='/usr/include' | 778 | oldincludedir='/usr/include' |
353 | infodir='${prefix}/info' | 779 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
354 | mandir='${prefix}/man' | 780 | infodir='${datarootdir}/info' |
781 | htmldir='${docdir}' | ||
782 | dvidir='${docdir}' | ||
783 | pdfdir='${docdir}' | ||
784 | psdir='${docdir}' | ||
785 | libdir='${exec_prefix}/lib' | ||
786 | localedir='${datarootdir}/locale' | ||
787 | mandir='${datarootdir}/man' | ||
355 | 788 | ||
356 | ac_prev= | 789 | ac_prev= |
790 | ac_dashdash= | ||
357 | for ac_option | 791 | for ac_option |
358 | do | 792 | do |
359 | # If the previous option needs an argument, assign it. | 793 | # If the previous option needs an argument, assign it. |
360 | if test -n "$ac_prev"; then | 794 | if test -n "$ac_prev"; then |
361 | eval "$ac_prev=\$ac_option" | 795 | eval $ac_prev=\$ac_option |
362 | ac_prev= | 796 | ac_prev= |
363 | continue | 797 | continue |
364 | fi | 798 | fi |
365 | 799 | ||
366 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 800 | case $ac_option in |
801 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
802 | *) ac_optarg=yes ;; | ||
803 | esac | ||
367 | 804 | ||
368 | # Accept the important Cygnus configure options, so we can diagnose typos. | 805 | # Accept the important Cygnus configure options, so we can diagnose typos. |
369 | 806 | ||
370 | case $ac_option in | 807 | case $ac_dashdash$ac_option in |
808 | --) | ||
809 | ac_dashdash=yes ;; | ||
371 | 810 | ||
372 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 811 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
373 | ac_prev=bindir ;; | 812 | ac_prev=bindir ;; |
@@ -389,33 +828,45 @@ do | |||
389 | --config-cache | -C) | 828 | --config-cache | -C) |
390 | cache_file=config.cache ;; | 829 | cache_file=config.cache ;; |
391 | 830 | ||
392 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 831 | -datadir | --datadir | --datadi | --datad) |
393 | ac_prev=datadir ;; | 832 | ac_prev=datadir ;; |
394 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 833 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
395 | | --da=*) | ||
396 | datadir=$ac_optarg ;; | 834 | datadir=$ac_optarg ;; |
397 | 835 | ||
836 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
837 | | --dataroo | --dataro | --datar) | ||
838 | ac_prev=datarootdir ;; | ||
839 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
840 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
841 | datarootdir=$ac_optarg ;; | ||
842 | |||
398 | -disable-* | --disable-*) | 843 | -disable-* | --disable-*) |
399 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 844 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
400 | # Reject names that are not valid shell variable names. | 845 | # Reject names that are not valid shell variable names. |
401 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 846 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
402 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 847 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
403 | { (exit 1); exit 1; }; } | 848 | { (exit 1); exit 1; }; } |
404 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 849 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
405 | eval "enable_$ac_feature=no" ;; | 850 | eval enable_$ac_feature=no ;; |
851 | |||
852 | -docdir | --docdir | --docdi | --doc | --do) | ||
853 | ac_prev=docdir ;; | ||
854 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
855 | docdir=$ac_optarg ;; | ||
856 | |||
857 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
858 | ac_prev=dvidir ;; | ||
859 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
860 | dvidir=$ac_optarg ;; | ||
406 | 861 | ||
407 | -enable-* | --enable-*) | 862 | -enable-* | --enable-*) |
408 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 863 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
409 | # Reject names that are not valid shell variable names. | 864 | # Reject names that are not valid shell variable names. |
410 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 865 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
411 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 866 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
412 | { (exit 1); exit 1; }; } | 867 | { (exit 1); exit 1; }; } |
413 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 868 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
414 | case $ac_option in | 869 | eval enable_$ac_feature=\$ac_optarg ;; |
415 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
416 | *) ac_optarg=yes ;; | ||
417 | esac | ||
418 | eval "enable_$ac_feature='$ac_optarg'" ;; | ||
419 | 870 | ||
420 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 871 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
421 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 872 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
@@ -442,6 +893,12 @@ do | |||
442 | -host=* | --host=* | --hos=* | --ho=*) | 893 | -host=* | --host=* | --hos=* | --ho=*) |
443 | host_alias=$ac_optarg ;; | 894 | host_alias=$ac_optarg ;; |
444 | 895 | ||
896 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
897 | ac_prev=htmldir ;; | ||
898 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
899 | | --ht=*) | ||
900 | htmldir=$ac_optarg ;; | ||
901 | |||
445 | -includedir | --includedir | --includedi | --included | --include \ | 902 | -includedir | --includedir | --includedi | --included | --include \ |
446 | | --includ | --inclu | --incl | --inc) | 903 | | --includ | --inclu | --incl | --inc) |
447 | ac_prev=includedir ;; | 904 | ac_prev=includedir ;; |
@@ -466,13 +923,16 @@ do | |||
466 | | --libexe=* | --libex=* | --libe=*) | 923 | | --libexe=* | --libex=* | --libe=*) |
467 | libexecdir=$ac_optarg ;; | 924 | libexecdir=$ac_optarg ;; |
468 | 925 | ||
926 | -localedir | --localedir | --localedi | --localed | --locale) | ||
927 | ac_prev=localedir ;; | ||
928 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
929 | localedir=$ac_optarg ;; | ||
930 | |||
469 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 931 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
470 | | --localstate | --localstat | --localsta | --localst \ | 932 | | --localstate | --localstat | --localsta | --localst | --locals) |
471 | | --locals | --local | --loca | --loc | --lo) | ||
472 | ac_prev=localstatedir ;; | 933 | ac_prev=localstatedir ;; |
473 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 934 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
474 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 935 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
475 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
476 | localstatedir=$ac_optarg ;; | 936 | localstatedir=$ac_optarg ;; |
477 | 937 | ||
478 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 938 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
@@ -537,6 +997,16 @@ do | |||
537 | | --progr-tra=* | --program-tr=* | --program-t=*) | 997 | | --progr-tra=* | --program-tr=* | --program-t=*) |
538 | program_transform_name=$ac_optarg ;; | 998 | program_transform_name=$ac_optarg ;; |
539 | 999 | ||
1000 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
1001 | ac_prev=pdfdir ;; | ||
1002 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
1003 | pdfdir=$ac_optarg ;; | ||
1004 | |||
1005 | -psdir | --psdir | --psdi | --psd | --ps) | ||
1006 | ac_prev=psdir ;; | ||
1007 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
1008 | psdir=$ac_optarg ;; | ||
1009 | |||
540 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1010 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
541 | | -silent | --silent | --silen | --sile | --sil) | 1011 | | -silent | --silent | --silen | --sile | --sil) |
542 | silent=yes ;; | 1012 | silent=yes ;; |
@@ -589,24 +1059,20 @@ do | |||
589 | -with-* | --with-*) | 1059 | -with-* | --with-*) |
590 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1060 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
591 | # Reject names that are not valid shell variable names. | 1061 | # Reject names that are not valid shell variable names. |
592 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1062 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
593 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1063 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
594 | { (exit 1); exit 1; }; } | 1064 | { (exit 1); exit 1; }; } |
595 | ac_package=`echo $ac_package| sed 's/-/_/g'` | 1065 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
596 | case $ac_option in | 1066 | eval with_$ac_package=\$ac_optarg ;; |
597 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
598 | *) ac_optarg=yes ;; | ||
599 | esac | ||
600 | eval "with_$ac_package='$ac_optarg'" ;; | ||
601 | 1067 | ||
602 | -without-* | --without-*) | 1068 | -without-* | --without-*) |
603 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1069 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
604 | # Reject names that are not valid shell variable names. | 1070 | # Reject names that are not valid shell variable names. |
605 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1071 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
606 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1072 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
607 | { (exit 1); exit 1; }; } | 1073 | { (exit 1); exit 1; }; } |
608 | ac_package=`echo $ac_package | sed 's/-/_/g'` | 1074 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
609 | eval "with_$ac_package=no" ;; | 1075 | eval with_$ac_package=no ;; |
610 | 1076 | ||
611 | --x) | 1077 | --x) |
612 | # Obsolete; use --with-x. | 1078 | # Obsolete; use --with-x. |
@@ -637,8 +1103,7 @@ Try \`$0 --help' for more information." >&2 | |||
637 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1103 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
638 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1104 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
639 | { (exit 1); exit 1; }; } | 1105 | { (exit 1); exit 1; }; } |
640 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 1106 | eval $ac_envvar=\$ac_optarg |
641 | eval "$ac_envvar='$ac_optarg'" | ||
642 | export $ac_envvar ;; | 1107 | export $ac_envvar ;; |
643 | 1108 | ||
644 | *) | 1109 | *) |
@@ -658,27 +1123,19 @@ if test -n "$ac_prev"; then | |||
658 | { (exit 1); exit 1; }; } | 1123 | { (exit 1); exit 1; }; } |
659 | fi | 1124 | fi |
660 | 1125 | ||
661 | # Be sure to have absolute paths. | 1126 | # Be sure to have absolute directory names. |
662 | for ac_var in exec_prefix prefix | 1127 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
663 | do | 1128 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
664 | eval ac_val=$`echo $ac_var` | 1129 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
665 | case $ac_val in | 1130 | libdir localedir mandir |
666 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
667 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
668 | { (exit 1); exit 1; }; };; | ||
669 | esac | ||
670 | done | ||
671 | |||
672 | # Be sure to have absolute paths. | ||
673 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
674 | localstatedir libdir includedir oldincludedir infodir mandir | ||
675 | do | 1131 | do |
676 | eval ac_val=$`echo $ac_var` | 1132 | eval ac_val=\$$ac_var |
677 | case $ac_val in | 1133 | case $ac_val in |
678 | [\\/$]* | ?:[\\/]* ) ;; | 1134 | [\\/$]* | ?:[\\/]* ) continue;; |
679 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1135 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
680 | { (exit 1); exit 1; }; };; | ||
681 | esac | 1136 | esac |
1137 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
1138 | { (exit 1); exit 1; }; } | ||
682 | done | 1139 | done |
683 | 1140 | ||
684 | # There might be people who depend on the old broken behavior: `$host' | 1141 | # There might be people who depend on the old broken behavior: `$host' |
@@ -705,74 +1162,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias- | |||
705 | test "$silent" = yes && exec 6>/dev/null | 1162 | test "$silent" = yes && exec 6>/dev/null |
706 | 1163 | ||
707 | 1164 | ||
1165 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1166 | ac_ls_di=`ls -di .` && | ||
1167 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
1168 | { echo "$as_me: error: Working directory cannot be determined" >&2 | ||
1169 | { (exit 1); exit 1; }; } | ||
1170 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
1171 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | ||
1172 | { (exit 1); exit 1; }; } | ||
1173 | |||
1174 | |||
708 | # Find the source files, if location was not specified. | 1175 | # Find the source files, if location was not specified. |
709 | if test -z "$srcdir"; then | 1176 | if test -z "$srcdir"; then |
710 | ac_srcdir_defaulted=yes | 1177 | ac_srcdir_defaulted=yes |
711 | # Try the directory containing this script, then its parent. | 1178 | # Try the directory containing this script, then the parent directory. |
712 | ac_confdir=`(dirname "$0") 2>/dev/null || | 1179 | ac_confdir=`$as_dirname -- "$0" || |
713 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1180 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
714 | X"$0" : 'X\(//\)[^/]' \| \ | 1181 | X"$0" : 'X\(//\)[^/]' \| \ |
715 | X"$0" : 'X\(//\)$' \| \ | 1182 | X"$0" : 'X\(//\)$' \| \ |
716 | X"$0" : 'X\(/\)' \| \ | 1183 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
717 | . : '\(.\)' 2>/dev/null || | ||
718 | echo X"$0" | | 1184 | echo X"$0" | |
719 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 1185 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
720 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 1186 | s//\1/ |
721 | /^X\(\/\/\)$/{ s//\1/; q; } | 1187 | q |
722 | /^X\(\/\).*/{ s//\1/; q; } | 1188 | } |
723 | s/.*/./; q'` | 1189 | /^X\(\/\/\)[^/].*/{ |
1190 | s//\1/ | ||
1191 | q | ||
1192 | } | ||
1193 | /^X\(\/\/\)$/{ | ||
1194 | s//\1/ | ||
1195 | q | ||
1196 | } | ||
1197 | /^X\(\/\).*/{ | ||
1198 | s//\1/ | ||
1199 | q | ||
1200 | } | ||
1201 | s/.*/./; q'` | ||
724 | srcdir=$ac_confdir | 1202 | srcdir=$ac_confdir |
725 | if test ! -r $srcdir/$ac_unique_file; then | 1203 | if test ! -r "$srcdir/$ac_unique_file"; then |
726 | srcdir=.. | 1204 | srcdir=.. |
727 | fi | 1205 | fi |
728 | else | 1206 | else |
729 | ac_srcdir_defaulted=no | 1207 | ac_srcdir_defaulted=no |
730 | fi | 1208 | fi |
731 | if test ! -r $srcdir/$ac_unique_file; then | 1209 | if test ! -r "$srcdir/$ac_unique_file"; then |
732 | if test "$ac_srcdir_defaulted" = yes; then | 1210 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
733 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 1211 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
734 | { (exit 1); exit 1; }; } | ||
735 | else | ||
736 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
737 | { (exit 1); exit 1; }; } | 1212 | { (exit 1); exit 1; }; } |
738 | fi | ||
739 | fi | 1213 | fi |
740 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 1214 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
741 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 1215 | ac_abs_confdir=`( |
1216 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | ||
742 | { (exit 1); exit 1; }; } | 1217 | { (exit 1); exit 1; }; } |
743 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 1218 | pwd)` |
744 | ac_env_build_alias_set=${build_alias+set} | 1219 | # When building in place, set srcdir=. |
745 | ac_env_build_alias_value=$build_alias | 1220 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
746 | ac_cv_env_build_alias_set=${build_alias+set} | 1221 | srcdir=. |
747 | ac_cv_env_build_alias_value=$build_alias | 1222 | fi |
748 | ac_env_host_alias_set=${host_alias+set} | 1223 | # Remove unnecessary trailing slashes from srcdir. |
749 | ac_env_host_alias_value=$host_alias | 1224 | # Double slashes in file names in object file debugging info |
750 | ac_cv_env_host_alias_set=${host_alias+set} | 1225 | # mess up M-x gdb in Emacs. |
751 | ac_cv_env_host_alias_value=$host_alias | 1226 | case $srcdir in |
752 | ac_env_target_alias_set=${target_alias+set} | 1227 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
753 | ac_env_target_alias_value=$target_alias | 1228 | esac |
754 | ac_cv_env_target_alias_set=${target_alias+set} | 1229 | for ac_var in $ac_precious_vars; do |
755 | ac_cv_env_target_alias_value=$target_alias | 1230 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
756 | ac_env_CC_set=${CC+set} | 1231 | eval ac_env_${ac_var}_value=\$${ac_var} |
757 | ac_env_CC_value=$CC | 1232 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
758 | ac_cv_env_CC_set=${CC+set} | 1233 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
759 | ac_cv_env_CC_value=$CC | 1234 | done |
760 | ac_env_CFLAGS_set=${CFLAGS+set} | ||
761 | ac_env_CFLAGS_value=$CFLAGS | ||
762 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
763 | ac_cv_env_CFLAGS_value=$CFLAGS | ||
764 | ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
765 | ac_env_LDFLAGS_value=$LDFLAGS | ||
766 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
767 | ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
768 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
769 | ac_env_CPPFLAGS_value=$CPPFLAGS | ||
770 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
771 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
772 | ac_env_CPP_set=${CPP+set} | ||
773 | ac_env_CPP_value=$CPP | ||
774 | ac_cv_env_CPP_set=${CPP+set} | ||
775 | ac_cv_env_CPP_value=$CPP | ||
776 | 1235 | ||
777 | # | 1236 | # |
778 | # Report the --help message. | 1237 | # Report the --help message. |
@@ -801,9 +1260,6 @@ Configuration: | |||
801 | -n, --no-create do not create output files | 1260 | -n, --no-create do not create output files |
802 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1261 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
803 | 1262 | ||
804 | _ACEOF | ||
805 | |||
806 | cat <<_ACEOF | ||
807 | Installation directories: | 1263 | Installation directories: |
808 | --prefix=PREFIX install architecture-independent files in PREFIX | 1264 | --prefix=PREFIX install architecture-independent files in PREFIX |
809 | [$ac_default_prefix] | 1265 | [$ac_default_prefix] |
@@ -821,15 +1277,22 @@ Fine tuning of the installation directories: | |||
821 | --bindir=DIR user executables [EPREFIX/bin] | 1277 | --bindir=DIR user executables [EPREFIX/bin] |
822 | --sbindir=DIR system admin executables [EPREFIX/sbin] | 1278 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
823 | --libexecdir=DIR program executables [EPREFIX/libexec] | 1279 | --libexecdir=DIR program executables [EPREFIX/libexec] |
824 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
825 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1280 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
826 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1281 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
827 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1282 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
828 | --libdir=DIR object code libraries [EPREFIX/lib] | 1283 | --libdir=DIR object code libraries [EPREFIX/lib] |
829 | --includedir=DIR C header files [PREFIX/include] | 1284 | --includedir=DIR C header files [PREFIX/include] |
830 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1285 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
831 | --infodir=DIR info documentation [PREFIX/info] | 1286 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
832 | --mandir=DIR man documentation [PREFIX/man] | 1287 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1288 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
1289 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
1290 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
1291 | --docdir=DIR documentation root [DATAROOTDIR/doc/openssh] | ||
1292 | --htmldir=DIR html documentation [DOCDIR] | ||
1293 | --dvidir=DIR dvi documentation [DOCDIR] | ||
1294 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
1295 | --psdir=DIR ps documentation [DOCDIR] | ||
833 | _ACEOF | 1296 | _ACEOF |
834 | 1297 | ||
835 | cat <<\_ACEOF | 1298 | cat <<\_ACEOF |
@@ -865,20 +1328,23 @@ Optional Packages: | |||
865 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1328 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
866 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1329 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
867 | --without-rpath Disable auto-added -R linker paths | 1330 | --without-rpath Disable auto-added -R linker paths |
868 | --with-osfsia Enable Digital Unix SIA | ||
869 | --with-cflags Specify additional flags to pass to compiler | 1331 | --with-cflags Specify additional flags to pass to compiler |
870 | --with-cppflags Specify additional flags to pass to preprocessor | 1332 | --with-cppflags Specify additional flags to pass to preprocessor |
871 | --with-ldflags Specify additional flags to pass to linker | 1333 | --with-ldflags Specify additional flags to pass to linker |
872 | --with-libs Specify additional libraries to link with | 1334 | --with-libs Specify additional libraries to link with |
873 | --with-Werror Build main code with -Werror | 1335 | --with-Werror Build main code with -Werror |
1336 | --with-solaris-contracts Enable Solaris process contracts (experimental) | ||
1337 | --with-osfsia Enable Digital Unix SIA | ||
874 | --with-zlib=PATH Use zlib in PATH | 1338 | --with-zlib=PATH Use zlib in PATH |
875 | --without-zlib-version-check Disable zlib version check | 1339 | --without-zlib-version-check Disable zlib version check |
876 | --with-skey[=PATH] Enable S/Key support (optionally in PATH) | 1340 | --with-skey[=PATH] Enable S/Key support (optionally in PATH) |
877 | --with-tcp-wrappers[=PATH] Enable tcpwrappers support (optionally in PATH) | 1341 | --with-tcp-wrappers[=PATH] Enable tcpwrappers support (optionally in PATH) |
878 | --with-libedit[=PATH] Enable libedit support for sftp | 1342 | --with-libedit[=PATH] Enable libedit support for sftp |
879 | --with-audit=module Enable EXPERIMENTAL audit support (modules=debug,bsm) | 1343 | --with-audit=module Enable EXPERIMENTAL audit support (modules=debug,bsm) |
880 | --with-pam Enable PAM support | ||
881 | --with-ssl-dir=PATH Specify path to OpenSSL installation | 1344 | --with-ssl-dir=PATH Specify path to OpenSSL installation |
1345 | --without-openssl-header-check Disable OpenSSL version consistency check | ||
1346 | --with-ssl-engine Enable OpenSSL (hardware) ENGINE support | ||
1347 | --with-pam Enable PAM support | ||
882 | --with-rand-helper Use subprocess to gather strong randomness | 1348 | --with-rand-helper Use subprocess to gather strong randomness |
883 | --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT | 1349 | --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT |
884 | --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool) | 1350 | --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool) |
@@ -886,6 +1352,7 @@ Optional Packages: | |||
886 | --with-privsep-user=user Specify non-privileged user for privilege separation | 1352 | --with-privsep-user=user Specify non-privileged user for privilege separation |
887 | --with-sectok Enable smartcard support using libsectok | 1353 | --with-sectok Enable smartcard support using libsectok |
888 | --with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH) | 1354 | --with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH) |
1355 | --with-selinux Enable SELinux support | ||
889 | --with-kerberos5=PATH Enable Kerberos 5 support | 1356 | --with-kerberos5=PATH Enable Kerberos 5 support |
890 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) | 1357 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) |
891 | --with-xauth=PATH Specify path to xauth program | 1358 | --with-xauth=PATH Specify path to xauth program |
@@ -905,8 +1372,9 @@ Some influential environment variables: | |||
905 | CFLAGS C compiler flags | 1372 | CFLAGS C compiler flags |
906 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1373 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
907 | nonstandard directory <lib dir> | 1374 | nonstandard directory <lib dir> |
908 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 1375 | LIBS libraries to pass to the linker, e.g. -l<library> |
909 | headers in a nonstandard directory <include dir> | 1376 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1377 | you have headers in a nonstandard directory <include dir> | ||
910 | CPP C preprocessor | 1378 | CPP C preprocessor |
911 | 1379 | ||
912 | Use these variables to override the choices made by `configure' or to help | 1380 | Use these variables to override the choices made by `configure' or to help |
@@ -914,120 +1382,86 @@ it to find libraries and programs with nonstandard names/locations. | |||
914 | 1382 | ||
915 | Report bugs to <openssh-unix-dev@mindrot.org>. | 1383 | Report bugs to <openssh-unix-dev@mindrot.org>. |
916 | _ACEOF | 1384 | _ACEOF |
1385 | ac_status=$? | ||
917 | fi | 1386 | fi |
918 | 1387 | ||
919 | if test "$ac_init_help" = "recursive"; then | 1388 | if test "$ac_init_help" = "recursive"; then |
920 | # If there are subdirs, report their specific --help. | 1389 | # If there are subdirs, report their specific --help. |
921 | ac_popdir=`pwd` | ||
922 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1390 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
923 | test -d $ac_dir || continue | 1391 | test -d "$ac_dir" || continue |
924 | ac_builddir=. | 1392 | ac_builddir=. |
925 | 1393 | ||
926 | if test "$ac_dir" != .; then | 1394 | case "$ac_dir" in |
1395 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
1396 | *) | ||
927 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1397 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
928 | # A "../" for each directory in $ac_dir_suffix. | 1398 | # A ".." for each directory in $ac_dir_suffix. |
929 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 1399 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
930 | else | 1400 | case $ac_top_builddir_sub in |
931 | ac_dir_suffix= ac_top_builddir= | 1401 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
932 | fi | 1402 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1403 | esac ;; | ||
1404 | esac | ||
1405 | ac_abs_top_builddir=$ac_pwd | ||
1406 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
1407 | # for backward compatibility: | ||
1408 | ac_top_builddir=$ac_top_build_prefix | ||
933 | 1409 | ||
934 | case $srcdir in | 1410 | case $srcdir in |
935 | .) # No --srcdir option. We are building in place. | 1411 | .) # We are building in place. |
936 | ac_srcdir=. | 1412 | ac_srcdir=. |
937 | if test -z "$ac_top_builddir"; then | 1413 | ac_top_srcdir=$ac_top_builddir_sub |
938 | ac_top_srcdir=. | 1414 | ac_abs_top_srcdir=$ac_pwd ;; |
939 | else | 1415 | [\\/]* | ?:[\\/]* ) # Absolute name. |
940 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
941 | fi ;; | ||
942 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
943 | ac_srcdir=$srcdir$ac_dir_suffix; | 1416 | ac_srcdir=$srcdir$ac_dir_suffix; |
944 | ac_top_srcdir=$srcdir ;; | 1417 | ac_top_srcdir=$srcdir |
945 | *) # Relative path. | 1418 | ac_abs_top_srcdir=$srcdir ;; |
946 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 1419 | *) # Relative name. |
947 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 1420 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1421 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
1422 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
948 | esac | 1423 | esac |
949 | 1424 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
950 | # Do not use `cd foo && pwd` to compute absolute paths, because | 1425 | |
951 | # the directories may not exist. | 1426 | cd "$ac_dir" || { ac_status=$?; continue; } |
952 | case `pwd` in | 1427 | # Check for guested configure. |
953 | .) ac_abs_builddir="$ac_dir";; | 1428 | if test -f "$ac_srcdir/configure.gnu"; then |
954 | *) | 1429 | echo && |
955 | case "$ac_dir" in | 1430 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
956 | .) ac_abs_builddir=`pwd`;; | 1431 | elif test -f "$ac_srcdir/configure"; then |
957 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 1432 | echo && |
958 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | 1433 | $SHELL "$ac_srcdir/configure" --help=recursive |
959 | esac;; | ||
960 | esac | ||
961 | case $ac_abs_builddir in | ||
962 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
963 | *) | ||
964 | case ${ac_top_builddir}. in | ||
965 | .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
966 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
967 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
968 | esac;; | ||
969 | esac | ||
970 | case $ac_abs_builddir in | ||
971 | .) ac_abs_srcdir=$ac_srcdir;; | ||
972 | *) | ||
973 | case $ac_srcdir in | ||
974 | .) ac_abs_srcdir=$ac_abs_builddir;; | ||
975 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
976 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
977 | esac;; | ||
978 | esac | ||
979 | case $ac_abs_builddir in | ||
980 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
981 | *) | ||
982 | case $ac_top_srcdir in | ||
983 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
984 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
985 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
986 | esac;; | ||
987 | esac | ||
988 | |||
989 | cd $ac_dir | ||
990 | # Check for guested configure; otherwise get Cygnus style configure. | ||
991 | if test -f $ac_srcdir/configure.gnu; then | ||
992 | echo | ||
993 | $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
994 | elif test -f $ac_srcdir/configure; then | ||
995 | echo | ||
996 | $SHELL $ac_srcdir/configure --help=recursive | ||
997 | elif test -f $ac_srcdir/configure.ac || | ||
998 | test -f $ac_srcdir/configure.in; then | ||
999 | echo | ||
1000 | $ac_configure --help | ||
1001 | else | 1434 | else |
1002 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1435 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1003 | fi | 1436 | fi || ac_status=$? |
1004 | cd $ac_popdir | 1437 | cd "$ac_pwd" || { ac_status=$?; break; } |
1005 | done | 1438 | done |
1006 | fi | 1439 | fi |
1007 | 1440 | ||
1008 | test -n "$ac_init_help" && exit 0 | 1441 | test -n "$ac_init_help" && exit $ac_status |
1009 | if $ac_init_version; then | 1442 | if $ac_init_version; then |
1010 | cat <<\_ACEOF | 1443 | cat <<\_ACEOF |
1011 | OpenSSH configure Portable | 1444 | OpenSSH configure Portable |
1012 | generated by GNU Autoconf 2.59 | 1445 | generated by GNU Autoconf 2.61 |
1013 | 1446 | ||
1014 | Copyright (C) 2003 Free Software Foundation, Inc. | 1447 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1448 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
1015 | This configure script is free software; the Free Software Foundation | 1449 | This configure script is free software; the Free Software Foundation |
1016 | gives unlimited permission to copy, distribute and modify it. | 1450 | gives unlimited permission to copy, distribute and modify it. |
1017 | _ACEOF | 1451 | _ACEOF |
1018 | exit 0 | 1452 | exit |
1019 | fi | 1453 | fi |
1020 | exec 5>config.log | 1454 | cat >config.log <<_ACEOF |
1021 | cat >&5 <<_ACEOF | ||
1022 | This file contains any messages produced by compilers while | 1455 | This file contains any messages produced by compilers while |
1023 | running configure, to aid debugging if configure makes a mistake. | 1456 | running configure, to aid debugging if configure makes a mistake. |
1024 | 1457 | ||
1025 | It was created by OpenSSH $as_me Portable, which was | 1458 | It was created by OpenSSH $as_me Portable, which was |
1026 | generated by GNU Autoconf 2.59. Invocation command line was | 1459 | generated by GNU Autoconf 2.61. Invocation command line was |
1027 | 1460 | ||
1028 | $ $0 $@ | 1461 | $ $0 $@ |
1029 | 1462 | ||
1030 | _ACEOF | 1463 | _ACEOF |
1464 | exec 5>>config.log | ||
1031 | { | 1465 | { |
1032 | cat <<_ASUNAME | 1466 | cat <<_ASUNAME |
1033 | ## --------- ## | 1467 | ## --------- ## |
@@ -1046,7 +1480,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown` | |||
1046 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1480 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1047 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1481 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1048 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1482 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1049 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 1483 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1050 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1484 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1051 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1485 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1052 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1486 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
@@ -1060,6 +1494,7 @@ do | |||
1060 | test -z "$as_dir" && as_dir=. | 1494 | test -z "$as_dir" && as_dir=. |
1061 | echo "PATH: $as_dir" | 1495 | echo "PATH: $as_dir" |
1062 | done | 1496 | done |
1497 | IFS=$as_save_IFS | ||
1063 | 1498 | ||
1064 | } >&5 | 1499 | } >&5 |
1065 | 1500 | ||
@@ -1081,7 +1516,6 @@ _ACEOF | |||
1081 | ac_configure_args= | 1516 | ac_configure_args= |
1082 | ac_configure_args0= | 1517 | ac_configure_args0= |
1083 | ac_configure_args1= | 1518 | ac_configure_args1= |
1084 | ac_sep= | ||
1085 | ac_must_keep_next=false | 1519 | ac_must_keep_next=false |
1086 | for ac_pass in 1 2 | 1520 | for ac_pass in 1 2 |
1087 | do | 1521 | do |
@@ -1092,7 +1526,7 @@ do | |||
1092 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1526 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1093 | | -silent | --silent | --silen | --sile | --sil) | 1527 | | -silent | --silent | --silen | --sile | --sil) |
1094 | continue ;; | 1528 | continue ;; |
1095 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1529 | *\'*) |
1096 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1530 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1097 | esac | 1531 | esac |
1098 | case $ac_pass in | 1532 | case $ac_pass in |
@@ -1114,9 +1548,7 @@ do | |||
1114 | -* ) ac_must_keep_next=true ;; | 1548 | -* ) ac_must_keep_next=true ;; |
1115 | esac | 1549 | esac |
1116 | fi | 1550 | fi |
1117 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 1551 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1118 | # Get rid of the leading space. | ||
1119 | ac_sep=" " | ||
1120 | ;; | 1552 | ;; |
1121 | esac | 1553 | esac |
1122 | done | 1554 | done |
@@ -1127,8 +1559,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_ | |||
1127 | # When interrupted or exit'd, cleanup temporary files, and complete | 1559 | # When interrupted or exit'd, cleanup temporary files, and complete |
1128 | # config.log. We remove comments because anyway the quotes in there | 1560 | # config.log. We remove comments because anyway the quotes in there |
1129 | # would cause problems or look ugly. | 1561 | # would cause problems or look ugly. |
1130 | # WARNING: Be sure not to use single quotes in there, as some shells, | 1562 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1131 | # such as our DU 5.0 friend, will then `close' the trap. | 1563 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1132 | trap 'exit_status=$? | 1564 | trap 'exit_status=$? |
1133 | # Save into config.log some information that might help in debugging. | 1565 | # Save into config.log some information that might help in debugging. |
1134 | { | 1566 | { |
@@ -1141,20 +1573,34 @@ trap 'exit_status=$? | |||
1141 | _ASBOX | 1573 | _ASBOX |
1142 | echo | 1574 | echo |
1143 | # The following way of writing the cache mishandles newlines in values, | 1575 | # The following way of writing the cache mishandles newlines in values, |
1144 | { | 1576 | ( |
1577 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
1578 | eval ac_val=\$$ac_var | ||
1579 | case $ac_val in #( | ||
1580 | *${as_nl}*) | ||
1581 | case $ac_var in #( | ||
1582 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | ||
1583 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | ||
1584 | esac | ||
1585 | case $ac_var in #( | ||
1586 | _ | IFS | as_nl) ;; #( | ||
1587 | *) $as_unset $ac_var ;; | ||
1588 | esac ;; | ||
1589 | esac | ||
1590 | done | ||
1145 | (set) 2>&1 | | 1591 | (set) 2>&1 | |
1146 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 1592 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1147 | *ac_space=\ *) | 1593 | *${as_nl}ac_space=\ *) |
1148 | sed -n \ | 1594 | sed -n \ |
1149 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 1595 | "s/'\''/'\''\\\\'\'''\''/g; |
1150 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1596 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1151 | ;; | 1597 | ;; #( |
1152 | *) | 1598 | *) |
1153 | sed -n \ | 1599 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1154 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
1155 | ;; | 1600 | ;; |
1156 | esac; | 1601 | esac | |
1157 | } | 1602 | sort |
1603 | ) | ||
1158 | echo | 1604 | echo |
1159 | 1605 | ||
1160 | cat <<\_ASBOX | 1606 | cat <<\_ASBOX |
@@ -1165,22 +1611,28 @@ _ASBOX | |||
1165 | echo | 1611 | echo |
1166 | for ac_var in $ac_subst_vars | 1612 | for ac_var in $ac_subst_vars |
1167 | do | 1613 | do |
1168 | eval ac_val=$`echo $ac_var` | 1614 | eval ac_val=\$$ac_var |
1169 | echo "$ac_var='"'"'$ac_val'"'"'" | 1615 | case $ac_val in |
1616 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1617 | esac | ||
1618 | echo "$ac_var='\''$ac_val'\''" | ||
1170 | done | sort | 1619 | done | sort |
1171 | echo | 1620 | echo |
1172 | 1621 | ||
1173 | if test -n "$ac_subst_files"; then | 1622 | if test -n "$ac_subst_files"; then |
1174 | cat <<\_ASBOX | 1623 | cat <<\_ASBOX |
1175 | ## ------------- ## | 1624 | ## ------------------- ## |
1176 | ## Output files. ## | 1625 | ## File substitutions. ## |
1177 | ## ------------- ## | 1626 | ## ------------------- ## |
1178 | _ASBOX | 1627 | _ASBOX |
1179 | echo | 1628 | echo |
1180 | for ac_var in $ac_subst_files | 1629 | for ac_var in $ac_subst_files |
1181 | do | 1630 | do |
1182 | eval ac_val=$`echo $ac_var` | 1631 | eval ac_val=\$$ac_var |
1183 | echo "$ac_var='"'"'$ac_val'"'"'" | 1632 | case $ac_val in |
1633 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
1634 | esac | ||
1635 | echo "$ac_var='\''$ac_val'\''" | ||
1184 | done | sort | 1636 | done | sort |
1185 | echo | 1637 | echo |
1186 | fi | 1638 | fi |
@@ -1192,26 +1644,24 @@ _ASBOX | |||
1192 | ## ----------- ## | 1644 | ## ----------- ## |
1193 | _ASBOX | 1645 | _ASBOX |
1194 | echo | 1646 | echo |
1195 | sed "/^$/d" confdefs.h | sort | 1647 | cat confdefs.h |
1196 | echo | 1648 | echo |
1197 | fi | 1649 | fi |
1198 | test "$ac_signal" != 0 && | 1650 | test "$ac_signal" != 0 && |
1199 | echo "$as_me: caught signal $ac_signal" | 1651 | echo "$as_me: caught signal $ac_signal" |
1200 | echo "$as_me: exit $exit_status" | 1652 | echo "$as_me: exit $exit_status" |
1201 | } >&5 | 1653 | } >&5 |
1202 | rm -f core *.core && | 1654 | rm -f core *.core core.conftest.* && |
1203 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 1655 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1204 | exit $exit_status | 1656 | exit $exit_status |
1205 | ' 0 | 1657 | ' 0 |
1206 | for ac_signal in 1 2 13 15; do | 1658 | for ac_signal in 1 2 13 15; do |
1207 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1659 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1208 | done | 1660 | done |
1209 | ac_signal=0 | 1661 | ac_signal=0 |
1210 | 1662 | ||
1211 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1663 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1212 | rm -rf conftest* confdefs.h | 1664 | rm -f -r conftest* confdefs.h |
1213 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
1214 | echo >confdefs.h | ||
1215 | 1665 | ||
1216 | # Predefined preprocessor variables. | 1666 | # Predefined preprocessor variables. |
1217 | 1667 | ||
@@ -1242,14 +1692,17 @@ _ACEOF | |||
1242 | 1692 | ||
1243 | # Let the site file select an alternate cache file if it wants to. | 1693 | # Let the site file select an alternate cache file if it wants to. |
1244 | # Prefer explicitly selected file to automatically selected ones. | 1694 | # Prefer explicitly selected file to automatically selected ones. |
1245 | if test -z "$CONFIG_SITE"; then | 1695 | if test -n "$CONFIG_SITE"; then |
1246 | if test "x$prefix" != xNONE; then | 1696 | set x "$CONFIG_SITE" |
1247 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1697 | elif test "x$prefix" != xNONE; then |
1248 | else | 1698 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1249 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1699 | else |
1250 | fi | 1700 | set x "$ac_default_prefix/share/config.site" \ |
1701 | "$ac_default_prefix/etc/config.site" | ||
1251 | fi | 1702 | fi |
1252 | for ac_site_file in $CONFIG_SITE; do | 1703 | shift |
1704 | for ac_site_file | ||
1705 | do | ||
1253 | if test -r "$ac_site_file"; then | 1706 | if test -r "$ac_site_file"; then |
1254 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1707 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1255 | echo "$as_me: loading site script $ac_site_file" >&6;} | 1708 | echo "$as_me: loading site script $ac_site_file" >&6;} |
@@ -1265,8 +1718,8 @@ if test -r "$cache_file"; then | |||
1265 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1718 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1266 | echo "$as_me: loading cache $cache_file" >&6;} | 1719 | echo "$as_me: loading cache $cache_file" >&6;} |
1267 | case $cache_file in | 1720 | case $cache_file in |
1268 | [\\/]* | ?:[\\/]* ) . $cache_file;; | 1721 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1269 | *) . ./$cache_file;; | 1722 | *) . "./$cache_file";; |
1270 | esac | 1723 | esac |
1271 | fi | 1724 | fi |
1272 | else | 1725 | else |
@@ -1278,12 +1731,11 @@ fi | |||
1278 | # Check that the precious variables saved in the cache have kept the same | 1731 | # Check that the precious variables saved in the cache have kept the same |
1279 | # value. | 1732 | # value. |
1280 | ac_cache_corrupted=false | 1733 | ac_cache_corrupted=false |
1281 | for ac_var in `(set) 2>&1 | | 1734 | for ac_var in $ac_precious_vars; do |
1282 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
1283 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1735 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1284 | eval ac_new_set=\$ac_env_${ac_var}_set | 1736 | eval ac_new_set=\$ac_env_${ac_var}_set |
1285 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 1737 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1286 | eval ac_new_val="\$ac_env_${ac_var}_value" | 1738 | eval ac_new_val=\$ac_env_${ac_var}_value |
1287 | case $ac_old_set,$ac_new_set in | 1739 | case $ac_old_set,$ac_new_set in |
1288 | set,) | 1740 | set,) |
1289 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1741 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
@@ -1308,8 +1760,7 @@ echo "$as_me: current value: $ac_new_val" >&2;} | |||
1308 | # Pass precious variables to config.status. | 1760 | # Pass precious variables to config.status. |
1309 | if test "$ac_new_set" = set; then | 1761 | if test "$ac_new_set" = set; then |
1310 | case $ac_new_val in | 1762 | case $ac_new_val in |
1311 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1763 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1312 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1313 | *) ac_arg=$ac_var=$ac_new_val ;; | 1764 | *) ac_arg=$ac_var=$ac_new_val ;; |
1314 | esac | 1765 | esac |
1315 | case " $ac_configure_args " in | 1766 | case " $ac_configure_args " in |
@@ -1326,12 +1777,6 @@ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov | |||
1326 | { (exit 1); exit 1; }; } | 1777 | { (exit 1); exit 1; }; } |
1327 | fi | 1778 | fi |
1328 | 1779 | ||
1329 | ac_ext=c | ||
1330 | ac_cpp='$CPP $CPPFLAGS' | ||
1331 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1332 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1333 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1334 | |||
1335 | 1780 | ||
1336 | 1781 | ||
1337 | 1782 | ||
@@ -1356,12 +1801,17 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
1356 | 1801 | ||
1357 | 1802 | ||
1358 | 1803 | ||
1804 | ac_ext=c | ||
1805 | ac_cpp='$CPP $CPPFLAGS' | ||
1806 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1807 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1808 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1359 | 1809 | ||
1360 | 1810 | ||
1361 | 1811 | ||
1362 | 1812 | ||
1363 | 1813 | ||
1364 | ac_config_headers="$ac_config_headers config.h" | 1814 | ac_config_headers="$ac_config_headers config.h" |
1365 | 1815 | ||
1366 | ac_ext=c | 1816 | ac_ext=c |
1367 | ac_cpp='$CPP $CPPFLAGS' | 1817 | ac_cpp='$CPP $CPPFLAGS' |
@@ -1371,8 +1821,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
1371 | if test -n "$ac_tool_prefix"; then | 1821 | if test -n "$ac_tool_prefix"; then |
1372 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 1822 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1373 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 1823 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1374 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1824 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1375 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1825 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1376 | if test "${ac_cv_prog_CC+set}" = set; then | 1826 | if test "${ac_cv_prog_CC+set}" = set; then |
1377 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1827 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1378 | else | 1828 | else |
@@ -1385,32 +1835,34 @@ do | |||
1385 | IFS=$as_save_IFS | 1835 | IFS=$as_save_IFS |
1386 | test -z "$as_dir" && as_dir=. | 1836 | test -z "$as_dir" && as_dir=. |
1387 | for ac_exec_ext in '' $ac_executable_extensions; do | 1837 | for ac_exec_ext in '' $ac_executable_extensions; do |
1388 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1838 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1389 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 1839 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1390 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1840 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1391 | break 2 | 1841 | break 2 |
1392 | fi | 1842 | fi |
1393 | done | 1843 | done |
1394 | done | 1844 | done |
1845 | IFS=$as_save_IFS | ||
1395 | 1846 | ||
1396 | fi | 1847 | fi |
1397 | fi | 1848 | fi |
1398 | CC=$ac_cv_prog_CC | 1849 | CC=$ac_cv_prog_CC |
1399 | if test -n "$CC"; then | 1850 | if test -n "$CC"; then |
1400 | echo "$as_me:$LINENO: result: $CC" >&5 | 1851 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1401 | echo "${ECHO_T}$CC" >&6 | 1852 | echo "${ECHO_T}$CC" >&6; } |
1402 | else | 1853 | else |
1403 | echo "$as_me:$LINENO: result: no" >&5 | 1854 | { echo "$as_me:$LINENO: result: no" >&5 |
1404 | echo "${ECHO_T}no" >&6 | 1855 | echo "${ECHO_T}no" >&6; } |
1405 | fi | 1856 | fi |
1406 | 1857 | ||
1858 | |||
1407 | fi | 1859 | fi |
1408 | if test -z "$ac_cv_prog_CC"; then | 1860 | if test -z "$ac_cv_prog_CC"; then |
1409 | ac_ct_CC=$CC | 1861 | ac_ct_CC=$CC |
1410 | # Extract the first word of "gcc", so it can be a program name with args. | 1862 | # Extract the first word of "gcc", so it can be a program name with args. |
1411 | set dummy gcc; ac_word=$2 | 1863 | set dummy gcc; ac_word=$2 |
1412 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1864 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1413 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1865 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1414 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 1866 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1415 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1867 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1416 | else | 1868 | else |
@@ -1423,36 +1875,51 @@ do | |||
1423 | IFS=$as_save_IFS | 1875 | IFS=$as_save_IFS |
1424 | test -z "$as_dir" && as_dir=. | 1876 | test -z "$as_dir" && as_dir=. |
1425 | for ac_exec_ext in '' $ac_executable_extensions; do | 1877 | for ac_exec_ext in '' $ac_executable_extensions; do |
1426 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1878 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1427 | ac_cv_prog_ac_ct_CC="gcc" | 1879 | ac_cv_prog_ac_ct_CC="gcc" |
1428 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1880 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1429 | break 2 | 1881 | break 2 |
1430 | fi | 1882 | fi |
1431 | done | 1883 | done |
1432 | done | 1884 | done |
1885 | IFS=$as_save_IFS | ||
1433 | 1886 | ||
1434 | fi | 1887 | fi |
1435 | fi | 1888 | fi |
1436 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1889 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1437 | if test -n "$ac_ct_CC"; then | 1890 | if test -n "$ac_ct_CC"; then |
1438 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 1891 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1439 | echo "${ECHO_T}$ac_ct_CC" >&6 | 1892 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
1440 | else | 1893 | else |
1441 | echo "$as_me:$LINENO: result: no" >&5 | 1894 | { echo "$as_me:$LINENO: result: no" >&5 |
1442 | echo "${ECHO_T}no" >&6 | 1895 | echo "${ECHO_T}no" >&6; } |
1443 | fi | 1896 | fi |
1444 | 1897 | ||
1445 | CC=$ac_ct_CC | 1898 | if test "x$ac_ct_CC" = x; then |
1899 | CC="" | ||
1900 | else | ||
1901 | case $cross_compiling:$ac_tool_warned in | ||
1902 | yes:) | ||
1903 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
1904 | whose name does not start with the host triplet. If you think this | ||
1905 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
1906 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
1907 | whose name does not start with the host triplet. If you think this | ||
1908 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
1909 | ac_tool_warned=yes ;; | ||
1910 | esac | ||
1911 | CC=$ac_ct_CC | ||
1912 | fi | ||
1446 | else | 1913 | else |
1447 | CC="$ac_cv_prog_CC" | 1914 | CC="$ac_cv_prog_CC" |
1448 | fi | 1915 | fi |
1449 | 1916 | ||
1450 | if test -z "$CC"; then | 1917 | if test -z "$CC"; then |
1451 | if test -n "$ac_tool_prefix"; then | 1918 | if test -n "$ac_tool_prefix"; then |
1452 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 1919 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1453 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 1920 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1454 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1921 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1455 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1922 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1456 | if test "${ac_cv_prog_CC+set}" = set; then | 1923 | if test "${ac_cv_prog_CC+set}" = set; then |
1457 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1924 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1458 | else | 1925 | else |
@@ -1465,74 +1932,34 @@ do | |||
1465 | IFS=$as_save_IFS | 1932 | IFS=$as_save_IFS |
1466 | test -z "$as_dir" && as_dir=. | 1933 | test -z "$as_dir" && as_dir=. |
1467 | for ac_exec_ext in '' $ac_executable_extensions; do | 1934 | for ac_exec_ext in '' $ac_executable_extensions; do |
1468 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1935 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1469 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 1936 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
1470 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1937 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1471 | break 2 | 1938 | break 2 |
1472 | fi | 1939 | fi |
1473 | done | 1940 | done |
1474 | done | 1941 | done |
1942 | IFS=$as_save_IFS | ||
1475 | 1943 | ||
1476 | fi | 1944 | fi |
1477 | fi | 1945 | fi |
1478 | CC=$ac_cv_prog_CC | 1946 | CC=$ac_cv_prog_CC |
1479 | if test -n "$CC"; then | 1947 | if test -n "$CC"; then |
1480 | echo "$as_me:$LINENO: result: $CC" >&5 | 1948 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1481 | echo "${ECHO_T}$CC" >&6 | 1949 | echo "${ECHO_T}$CC" >&6; } |
1482 | else | 1950 | else |
1483 | echo "$as_me:$LINENO: result: no" >&5 | 1951 | { echo "$as_me:$LINENO: result: no" >&5 |
1484 | echo "${ECHO_T}no" >&6 | 1952 | echo "${ECHO_T}no" >&6; } |
1485 | fi | 1953 | fi |
1486 | 1954 | ||
1487 | fi | ||
1488 | if test -z "$ac_cv_prog_CC"; then | ||
1489 | ac_ct_CC=$CC | ||
1490 | # Extract the first word of "cc", so it can be a program name with args. | ||
1491 | set dummy cc; ac_word=$2 | ||
1492 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1493 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1494 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1495 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1496 | else | ||
1497 | if test -n "$ac_ct_CC"; then | ||
1498 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1499 | else | ||
1500 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1501 | for as_dir in $PATH | ||
1502 | do | ||
1503 | IFS=$as_save_IFS | ||
1504 | test -z "$as_dir" && as_dir=. | ||
1505 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1506 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1507 | ac_cv_prog_ac_ct_CC="cc" | ||
1508 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1509 | break 2 | ||
1510 | fi | ||
1511 | done | ||
1512 | done | ||
1513 | |||
1514 | fi | ||
1515 | fi | ||
1516 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1517 | if test -n "$ac_ct_CC"; then | ||
1518 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1519 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1520 | else | ||
1521 | echo "$as_me:$LINENO: result: no" >&5 | ||
1522 | echo "${ECHO_T}no" >&6 | ||
1523 | fi | ||
1524 | |||
1525 | CC=$ac_ct_CC | ||
1526 | else | ||
1527 | CC="$ac_cv_prog_CC" | ||
1528 | fi | ||
1529 | 1955 | ||
1956 | fi | ||
1530 | fi | 1957 | fi |
1531 | if test -z "$CC"; then | 1958 | if test -z "$CC"; then |
1532 | # Extract the first word of "cc", so it can be a program name with args. | 1959 | # Extract the first word of "cc", so it can be a program name with args. |
1533 | set dummy cc; ac_word=$2 | 1960 | set dummy cc; ac_word=$2 |
1534 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1961 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1535 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1962 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1536 | if test "${ac_cv_prog_CC+set}" = set; then | 1963 | if test "${ac_cv_prog_CC+set}" = set; then |
1537 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1964 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1538 | else | 1965 | else |
@@ -1546,7 +1973,7 @@ do | |||
1546 | IFS=$as_save_IFS | 1973 | IFS=$as_save_IFS |
1547 | test -z "$as_dir" && as_dir=. | 1974 | test -z "$as_dir" && as_dir=. |
1548 | for ac_exec_ext in '' $ac_executable_extensions; do | 1975 | for ac_exec_ext in '' $ac_executable_extensions; do |
1549 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1976 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1550 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 1977 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1551 | ac_prog_rejected=yes | 1978 | ac_prog_rejected=yes |
1552 | continue | 1979 | continue |
@@ -1557,6 +1984,7 @@ do | |||
1557 | fi | 1984 | fi |
1558 | done | 1985 | done |
1559 | done | 1986 | done |
1987 | IFS=$as_save_IFS | ||
1560 | 1988 | ||
1561 | if test $ac_prog_rejected = yes; then | 1989 | if test $ac_prog_rejected = yes; then |
1562 | # We found a bogon in the path, so make sure we never use it. | 1990 | # We found a bogon in the path, so make sure we never use it. |
@@ -1574,22 +2002,23 @@ fi | |||
1574 | fi | 2002 | fi |
1575 | CC=$ac_cv_prog_CC | 2003 | CC=$ac_cv_prog_CC |
1576 | if test -n "$CC"; then | 2004 | if test -n "$CC"; then |
1577 | echo "$as_me:$LINENO: result: $CC" >&5 | 2005 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1578 | echo "${ECHO_T}$CC" >&6 | 2006 | echo "${ECHO_T}$CC" >&6; } |
1579 | else | 2007 | else |
1580 | echo "$as_me:$LINENO: result: no" >&5 | 2008 | { echo "$as_me:$LINENO: result: no" >&5 |
1581 | echo "${ECHO_T}no" >&6 | 2009 | echo "${ECHO_T}no" >&6; } |
1582 | fi | 2010 | fi |
1583 | 2011 | ||
2012 | |||
1584 | fi | 2013 | fi |
1585 | if test -z "$CC"; then | 2014 | if test -z "$CC"; then |
1586 | if test -n "$ac_tool_prefix"; then | 2015 | if test -n "$ac_tool_prefix"; then |
1587 | for ac_prog in cl | 2016 | for ac_prog in cl.exe |
1588 | do | 2017 | do |
1589 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2018 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1590 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2019 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1591 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2020 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1592 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2021 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1593 | if test "${ac_cv_prog_CC+set}" = set; then | 2022 | if test "${ac_cv_prog_CC+set}" = set; then |
1594 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2023 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1595 | else | 2024 | else |
@@ -1602,36 +2031,38 @@ do | |||
1602 | IFS=$as_save_IFS | 2031 | IFS=$as_save_IFS |
1603 | test -z "$as_dir" && as_dir=. | 2032 | test -z "$as_dir" && as_dir=. |
1604 | for ac_exec_ext in '' $ac_executable_extensions; do | 2033 | for ac_exec_ext in '' $ac_executable_extensions; do |
1605 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2034 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1606 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2035 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1607 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2036 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1608 | break 2 | 2037 | break 2 |
1609 | fi | 2038 | fi |
1610 | done | 2039 | done |
1611 | done | 2040 | done |
2041 | IFS=$as_save_IFS | ||
1612 | 2042 | ||
1613 | fi | 2043 | fi |
1614 | fi | 2044 | fi |
1615 | CC=$ac_cv_prog_CC | 2045 | CC=$ac_cv_prog_CC |
1616 | if test -n "$CC"; then | 2046 | if test -n "$CC"; then |
1617 | echo "$as_me:$LINENO: result: $CC" >&5 | 2047 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1618 | echo "${ECHO_T}$CC" >&6 | 2048 | echo "${ECHO_T}$CC" >&6; } |
1619 | else | 2049 | else |
1620 | echo "$as_me:$LINENO: result: no" >&5 | 2050 | { echo "$as_me:$LINENO: result: no" >&5 |
1621 | echo "${ECHO_T}no" >&6 | 2051 | echo "${ECHO_T}no" >&6; } |
1622 | fi | 2052 | fi |
1623 | 2053 | ||
2054 | |||
1624 | test -n "$CC" && break | 2055 | test -n "$CC" && break |
1625 | done | 2056 | done |
1626 | fi | 2057 | fi |
1627 | if test -z "$CC"; then | 2058 | if test -z "$CC"; then |
1628 | ac_ct_CC=$CC | 2059 | ac_ct_CC=$CC |
1629 | for ac_prog in cl | 2060 | for ac_prog in cl.exe |
1630 | do | 2061 | do |
1631 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2062 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1632 | set dummy $ac_prog; ac_word=$2 | 2063 | set dummy $ac_prog; ac_word=$2 |
1633 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2064 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1634 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2065 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1635 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2066 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1636 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2067 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1637 | else | 2068 | else |
@@ -1644,29 +2075,45 @@ do | |||
1644 | IFS=$as_save_IFS | 2075 | IFS=$as_save_IFS |
1645 | test -z "$as_dir" && as_dir=. | 2076 | test -z "$as_dir" && as_dir=. |
1646 | for ac_exec_ext in '' $ac_executable_extensions; do | 2077 | for ac_exec_ext in '' $ac_executable_extensions; do |
1647 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2078 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1648 | ac_cv_prog_ac_ct_CC="$ac_prog" | 2079 | ac_cv_prog_ac_ct_CC="$ac_prog" |
1649 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2080 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1650 | break 2 | 2081 | break 2 |
1651 | fi | 2082 | fi |
1652 | done | 2083 | done |
1653 | done | 2084 | done |
2085 | IFS=$as_save_IFS | ||
1654 | 2086 | ||
1655 | fi | 2087 | fi |
1656 | fi | 2088 | fi |
1657 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2089 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1658 | if test -n "$ac_ct_CC"; then | 2090 | if test -n "$ac_ct_CC"; then |
1659 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2091 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1660 | echo "${ECHO_T}$ac_ct_CC" >&6 | 2092 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
1661 | else | 2093 | else |
1662 | echo "$as_me:$LINENO: result: no" >&5 | 2094 | { echo "$as_me:$LINENO: result: no" >&5 |
1663 | echo "${ECHO_T}no" >&6 | 2095 | echo "${ECHO_T}no" >&6; } |
1664 | fi | 2096 | fi |
1665 | 2097 | ||
2098 | |||
1666 | test -n "$ac_ct_CC" && break | 2099 | test -n "$ac_ct_CC" && break |
1667 | done | 2100 | done |
1668 | 2101 | ||
1669 | CC=$ac_ct_CC | 2102 | if test "x$ac_ct_CC" = x; then |
2103 | CC="" | ||
2104 | else | ||
2105 | case $cross_compiling:$ac_tool_warned in | ||
2106 | yes:) | ||
2107 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
2108 | whose name does not start with the host triplet. If you think this | ||
2109 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
2110 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
2111 | whose name does not start with the host triplet. If you think this | ||
2112 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
2113 | ac_tool_warned=yes ;; | ||
2114 | esac | ||
2115 | CC=$ac_ct_CC | ||
2116 | fi | ||
1670 | fi | 2117 | fi |
1671 | 2118 | ||
1672 | fi | 2119 | fi |
@@ -1679,21 +2126,35 @@ See \`config.log' for more details." >&2;} | |||
1679 | { (exit 1); exit 1; }; } | 2126 | { (exit 1); exit 1; }; } |
1680 | 2127 | ||
1681 | # Provide some information about the compiler. | 2128 | # Provide some information about the compiler. |
1682 | echo "$as_me:$LINENO:" \ | 2129 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
1683 | "checking for C compiler version" >&5 | ||
1684 | ac_compiler=`set X $ac_compile; echo $2` | 2130 | ac_compiler=`set X $ac_compile; echo $2` |
1685 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 2131 | { (ac_try="$ac_compiler --version >&5" |
1686 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 2132 | case "(($ac_try" in |
2133 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2134 | *) ac_try_echo=$ac_try;; | ||
2135 | esac | ||
2136 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2137 | (eval "$ac_compiler --version >&5") 2>&5 | ||
1687 | ac_status=$? | 2138 | ac_status=$? |
1688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1689 | (exit $ac_status); } | 2140 | (exit $ac_status); } |
1690 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 2141 | { (ac_try="$ac_compiler -v >&5" |
1691 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 2142 | case "(($ac_try" in |
2143 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2144 | *) ac_try_echo=$ac_try;; | ||
2145 | esac | ||
2146 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2147 | (eval "$ac_compiler -v >&5") 2>&5 | ||
1692 | ac_status=$? | 2148 | ac_status=$? |
1693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1694 | (exit $ac_status); } | 2150 | (exit $ac_status); } |
1695 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 2151 | { (ac_try="$ac_compiler -V >&5" |
1696 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 2152 | case "(($ac_try" in |
2153 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2154 | *) ac_try_echo=$ac_try;; | ||
2155 | esac | ||
2156 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2157 | (eval "$ac_compiler -V >&5") 2>&5 | ||
1697 | ac_status=$? | 2158 | ac_status=$? |
1698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1699 | (exit $ac_status); } | 2160 | (exit $ac_status); } |
@@ -1718,47 +2179,77 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out" | |||
1718 | # Try to create an executable without -o first, disregard a.out. | 2179 | # Try to create an executable without -o first, disregard a.out. |
1719 | # It will help us diagnose broken compilers, and finding out an intuition | 2180 | # It will help us diagnose broken compilers, and finding out an intuition |
1720 | # of exeext. | 2181 | # of exeext. |
1721 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 2182 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1722 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | 2183 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
1723 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2184 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1724 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 2185 | # |
1725 | (eval $ac_link_default) 2>&5 | 2186 | # List of possible output files, starting from the most likely. |
2187 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | ||
2188 | # only as a last resort. b.out is created by i960 compilers. | ||
2189 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | ||
2190 | # | ||
2191 | # The IRIX 6 linker writes into existing files which may not be | ||
2192 | # executable, retaining their permissions. Remove them first so a | ||
2193 | # subsequent execution test works. | ||
2194 | ac_rmfiles= | ||
2195 | for ac_file in $ac_files | ||
2196 | do | ||
2197 | case $ac_file in | ||
2198 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | ||
2199 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
2200 | esac | ||
2201 | done | ||
2202 | rm -f $ac_rmfiles | ||
2203 | |||
2204 | if { (ac_try="$ac_link_default" | ||
2205 | case "(($ac_try" in | ||
2206 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2207 | *) ac_try_echo=$ac_try;; | ||
2208 | esac | ||
2209 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2210 | (eval "$ac_link_default") 2>&5 | ||
1726 | ac_status=$? | 2211 | ac_status=$? |
1727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1728 | (exit $ac_status); }; then | 2213 | (exit $ac_status); }; then |
1729 | # Find the output, starting from the most likely. This scheme is | 2214 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
1730 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 2215 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
1731 | # resort. | 2216 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
1732 | 2217 | # so that the user can short-circuit this test for compilers unknown to | |
1733 | # Be careful to initialize this variable, since it used to be cached. | 2218 | # Autoconf. |
1734 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 2219 | for ac_file in $ac_files '' |
1735 | ac_cv_exeext= | ||
1736 | # b.out is created by i960 compilers. | ||
1737 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
1738 | do | 2220 | do |
1739 | test -f "$ac_file" || continue | 2221 | test -f "$ac_file" || continue |
1740 | case $ac_file in | 2222 | case $ac_file in |
1741 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 2223 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
1742 | ;; | ||
1743 | conftest.$ac_ext ) | ||
1744 | # This is the source file. | ||
1745 | ;; | 2224 | ;; |
1746 | [ab].out ) | 2225 | [ab].out ) |
1747 | # We found the default executable, but exeext='' is most | 2226 | # We found the default executable, but exeext='' is most |
1748 | # certainly right. | 2227 | # certainly right. |
1749 | break;; | 2228 | break;; |
1750 | *.* ) | 2229 | *.* ) |
1751 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2230 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
1752 | # FIXME: I believe we export ac_cv_exeext for Libtool, | 2231 | then :; else |
1753 | # but it would be cool to find out if it's true. Does anybody | 2232 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1754 | # maintain Libtool? --akim. | 2233 | fi |
1755 | export ac_cv_exeext | 2234 | # We set ac_cv_exeext here because the later test for it is not |
2235 | # safe: cross compilers may not add the suffix if given an `-o' | ||
2236 | # argument, so we may need to know it at that point already. | ||
2237 | # Even if this section looks crufty: it has the advantage of | ||
2238 | # actually working. | ||
1756 | break;; | 2239 | break;; |
1757 | * ) | 2240 | * ) |
1758 | break;; | 2241 | break;; |
1759 | esac | 2242 | esac |
1760 | done | 2243 | done |
2244 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
2245 | |||
1761 | else | 2246 | else |
2247 | ac_file='' | ||
2248 | fi | ||
2249 | |||
2250 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
2251 | echo "${ECHO_T}$ac_file" >&6; } | ||
2252 | if test -z "$ac_file"; then | ||
1762 | echo "$as_me: failed program was:" >&5 | 2253 | echo "$as_me: failed program was:" >&5 |
1763 | sed 's/^/| /' conftest.$ac_ext >&5 | 2254 | sed 's/^/| /' conftest.$ac_ext >&5 |
1764 | 2255 | ||
@@ -1770,19 +2261,21 @@ See \`config.log' for more details." >&2;} | |||
1770 | fi | 2261 | fi |
1771 | 2262 | ||
1772 | ac_exeext=$ac_cv_exeext | 2263 | ac_exeext=$ac_cv_exeext |
1773 | echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
1774 | echo "${ECHO_T}$ac_file" >&6 | ||
1775 | 2264 | ||
1776 | # Check the compiler produces executables we can run. If not, either | 2265 | # Check that the compiler produces executables we can run. If not, either |
1777 | # the compiler is broken, or we cross compile. | 2266 | # the compiler is broken, or we cross compile. |
1778 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 2267 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1779 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 2268 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
1780 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 2269 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1781 | # If not cross compiling, check that we can run a simple program. | 2270 | # If not cross compiling, check that we can run a simple program. |
1782 | if test "$cross_compiling" != yes; then | 2271 | if test "$cross_compiling" != yes; then |
1783 | if { ac_try='./$ac_file' | 2272 | if { ac_try='./$ac_file' |
1784 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2273 | { (case "(($ac_try" in |
1785 | (eval $ac_try) 2>&5 | 2274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2275 | *) ac_try_echo=$ac_try;; | ||
2276 | esac | ||
2277 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2278 | (eval "$ac_try") 2>&5 | ||
1786 | ac_status=$? | 2279 | ac_status=$? |
1787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1788 | (exit $ac_status); }; }; then | 2281 | (exit $ac_status); }; }; then |
@@ -1801,22 +2294,27 @@ See \`config.log' for more details." >&2;} | |||
1801 | fi | 2294 | fi |
1802 | fi | 2295 | fi |
1803 | fi | 2296 | fi |
1804 | echo "$as_me:$LINENO: result: yes" >&5 | 2297 | { echo "$as_me:$LINENO: result: yes" >&5 |
1805 | echo "${ECHO_T}yes" >&6 | 2298 | echo "${ECHO_T}yes" >&6; } |
1806 | 2299 | ||
1807 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 2300 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1808 | ac_clean_files=$ac_clean_files_save | 2301 | ac_clean_files=$ac_clean_files_save |
1809 | # Check the compiler produces executables we can run. If not, either | 2302 | # Check that the compiler produces executables we can run. If not, either |
1810 | # the compiler is broken, or we cross compile. | 2303 | # the compiler is broken, or we cross compile. |
1811 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 2304 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1812 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 2305 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
1813 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 2306 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1814 | echo "${ECHO_T}$cross_compiling" >&6 | 2307 | echo "${ECHO_T}$cross_compiling" >&6; } |
1815 | 2308 | ||
1816 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 2309 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1817 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 2310 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
1818 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 2311 | if { (ac_try="$ac_link" |
1819 | (eval $ac_link) 2>&5 | 2312 | case "(($ac_try" in |
2313 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2314 | *) ac_try_echo=$ac_try;; | ||
2315 | esac | ||
2316 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2317 | (eval "$ac_link") 2>&5 | ||
1820 | ac_status=$? | 2318 | ac_status=$? |
1821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1822 | (exit $ac_status); }; then | 2320 | (exit $ac_status); }; then |
@@ -1827,9 +2325,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
1827 | for ac_file in conftest.exe conftest conftest.*; do | 2325 | for ac_file in conftest.exe conftest conftest.*; do |
1828 | test -f "$ac_file" || continue | 2326 | test -f "$ac_file" || continue |
1829 | case $ac_file in | 2327 | case $ac_file in |
1830 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 2328 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
1831 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2329 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1832 | export ac_cv_exeext | ||
1833 | break;; | 2330 | break;; |
1834 | * ) break;; | 2331 | * ) break;; |
1835 | esac | 2332 | esac |
@@ -1843,14 +2340,14 @@ See \`config.log' for more details." >&2;} | |||
1843 | fi | 2340 | fi |
1844 | 2341 | ||
1845 | rm -f conftest$ac_cv_exeext | 2342 | rm -f conftest$ac_cv_exeext |
1846 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 2343 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1847 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 2344 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
1848 | 2345 | ||
1849 | rm -f conftest.$ac_ext | 2346 | rm -f conftest.$ac_ext |
1850 | EXEEXT=$ac_cv_exeext | 2347 | EXEEXT=$ac_cv_exeext |
1851 | ac_exeext=$EXEEXT | 2348 | ac_exeext=$EXEEXT |
1852 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 2349 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1853 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 2350 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
1854 | if test "${ac_cv_objext+set}" = set; then | 2351 | if test "${ac_cv_objext+set}" = set; then |
1855 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2352 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1856 | else | 2353 | else |
@@ -1870,14 +2367,20 @@ main () | |||
1870 | } | 2367 | } |
1871 | _ACEOF | 2368 | _ACEOF |
1872 | rm -f conftest.o conftest.obj | 2369 | rm -f conftest.o conftest.obj |
1873 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2370 | if { (ac_try="$ac_compile" |
1874 | (eval $ac_compile) 2>&5 | 2371 | case "(($ac_try" in |
2372 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2373 | *) ac_try_echo=$ac_try;; | ||
2374 | esac | ||
2375 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2376 | (eval "$ac_compile") 2>&5 | ||
1875 | ac_status=$? | 2377 | ac_status=$? |
1876 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1877 | (exit $ac_status); }; then | 2379 | (exit $ac_status); }; then |
1878 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 2380 | for ac_file in conftest.o conftest.obj conftest.*; do |
2381 | test -f "$ac_file" || continue; | ||
1879 | case $ac_file in | 2382 | case $ac_file in |
1880 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 2383 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
1881 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2384 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1882 | break;; | 2385 | break;; |
1883 | esac | 2386 | esac |
@@ -1895,12 +2398,12 @@ fi | |||
1895 | 2398 | ||
1896 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2399 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1897 | fi | 2400 | fi |
1898 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 2401 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1899 | echo "${ECHO_T}$ac_cv_objext" >&6 | 2402 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
1900 | OBJEXT=$ac_cv_objext | 2403 | OBJEXT=$ac_cv_objext |
1901 | ac_objext=$OBJEXT | 2404 | ac_objext=$OBJEXT |
1902 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 2405 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1903 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 2406 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
1904 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2407 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1905 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2408 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1906 | else | 2409 | else |
@@ -1923,50 +2426,49 @@ main () | |||
1923 | } | 2426 | } |
1924 | _ACEOF | 2427 | _ACEOF |
1925 | rm -f conftest.$ac_objext | 2428 | rm -f conftest.$ac_objext |
1926 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2429 | if { (ac_try="$ac_compile" |
1927 | (eval $ac_compile) 2>conftest.er1 | 2430 | case "(($ac_try" in |
2431 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2432 | *) ac_try_echo=$ac_try;; | ||
2433 | esac | ||
2434 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2435 | (eval "$ac_compile") 2>conftest.er1 | ||
1928 | ac_status=$? | 2436 | ac_status=$? |
1929 | grep -v '^ *+' conftest.er1 >conftest.err | 2437 | grep -v '^ *+' conftest.er1 >conftest.err |
1930 | rm -f conftest.er1 | 2438 | rm -f conftest.er1 |
1931 | cat conftest.err >&5 | 2439 | cat conftest.err >&5 |
1932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1933 | (exit $ac_status); } && | 2441 | (exit $ac_status); } && { |
1934 | { ac_try='test -z "$ac_c_werror_flag" | 2442 | test -z "$ac_c_werror_flag" || |
1935 | || test ! -s conftest.err' | 2443 | test ! -s conftest.err |
1936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2444 | } && test -s conftest.$ac_objext; then |
1937 | (eval $ac_try) 2>&5 | ||
1938 | ac_status=$? | ||
1939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1940 | (exit $ac_status); }; } && | ||
1941 | { ac_try='test -s conftest.$ac_objext' | ||
1942 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1943 | (eval $ac_try) 2>&5 | ||
1944 | ac_status=$? | ||
1945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1946 | (exit $ac_status); }; }; then | ||
1947 | ac_compiler_gnu=yes | 2445 | ac_compiler_gnu=yes |
1948 | else | 2446 | else |
1949 | echo "$as_me: failed program was:" >&5 | 2447 | echo "$as_me: failed program was:" >&5 |
1950 | sed 's/^/| /' conftest.$ac_ext >&5 | 2448 | sed 's/^/| /' conftest.$ac_ext >&5 |
1951 | 2449 | ||
1952 | ac_compiler_gnu=no | 2450 | ac_compiler_gnu=no |
1953 | fi | 2451 | fi |
1954 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 2452 | |
2453 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1955 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2454 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1956 | 2455 | ||
1957 | fi | 2456 | fi |
1958 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 2457 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1959 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 2458 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
1960 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 2459 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
1961 | ac_test_CFLAGS=${CFLAGS+set} | 2460 | ac_test_CFLAGS=${CFLAGS+set} |
1962 | ac_save_CFLAGS=$CFLAGS | 2461 | ac_save_CFLAGS=$CFLAGS |
1963 | CFLAGS="-g" | 2462 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1964 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 2463 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
1965 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
1966 | if test "${ac_cv_prog_cc_g+set}" = set; then | 2464 | if test "${ac_cv_prog_cc_g+set}" = set; then |
1967 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2465 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1968 | else | 2466 | else |
1969 | cat >conftest.$ac_ext <<_ACEOF | 2467 | ac_save_c_werror_flag=$ac_c_werror_flag |
2468 | ac_c_werror_flag=yes | ||
2469 | ac_cv_prog_cc_g=no | ||
2470 | CFLAGS="-g" | ||
2471 | cat >conftest.$ac_ext <<_ACEOF | ||
1970 | /* confdefs.h. */ | 2472 | /* confdefs.h. */ |
1971 | _ACEOF | 2473 | _ACEOF |
1972 | cat confdefs.h >>conftest.$ac_ext | 2474 | cat confdefs.h >>conftest.$ac_ext |
@@ -1982,38 +2484,118 @@ main () | |||
1982 | } | 2484 | } |
1983 | _ACEOF | 2485 | _ACEOF |
1984 | rm -f conftest.$ac_objext | 2486 | rm -f conftest.$ac_objext |
1985 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2487 | if { (ac_try="$ac_compile" |
1986 | (eval $ac_compile) 2>conftest.er1 | 2488 | case "(($ac_try" in |
2489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2490 | *) ac_try_echo=$ac_try;; | ||
2491 | esac | ||
2492 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2493 | (eval "$ac_compile") 2>conftest.er1 | ||
1987 | ac_status=$? | 2494 | ac_status=$? |
1988 | grep -v '^ *+' conftest.er1 >conftest.err | 2495 | grep -v '^ *+' conftest.er1 >conftest.err |
1989 | rm -f conftest.er1 | 2496 | rm -f conftest.er1 |
1990 | cat conftest.err >&5 | 2497 | cat conftest.err >&5 |
1991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1992 | (exit $ac_status); } && | 2499 | (exit $ac_status); } && { |
1993 | { ac_try='test -z "$ac_c_werror_flag" | 2500 | test -z "$ac_c_werror_flag" || |
1994 | || test ! -s conftest.err' | 2501 | test ! -s conftest.err |
1995 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2502 | } && test -s conftest.$ac_objext; then |
1996 | (eval $ac_try) 2>&5 | 2503 | ac_cv_prog_cc_g=yes |
2504 | else | ||
2505 | echo "$as_me: failed program was:" >&5 | ||
2506 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2507 | |||
2508 | CFLAGS="" | ||
2509 | cat >conftest.$ac_ext <<_ACEOF | ||
2510 | /* confdefs.h. */ | ||
2511 | _ACEOF | ||
2512 | cat confdefs.h >>conftest.$ac_ext | ||
2513 | cat >>conftest.$ac_ext <<_ACEOF | ||
2514 | /* end confdefs.h. */ | ||
2515 | |||
2516 | int | ||
2517 | main () | ||
2518 | { | ||
2519 | |||
2520 | ; | ||
2521 | return 0; | ||
2522 | } | ||
2523 | _ACEOF | ||
2524 | rm -f conftest.$ac_objext | ||
2525 | if { (ac_try="$ac_compile" | ||
2526 | case "(($ac_try" in | ||
2527 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2528 | *) ac_try_echo=$ac_try;; | ||
2529 | esac | ||
2530 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2531 | (eval "$ac_compile") 2>conftest.er1 | ||
1997 | ac_status=$? | 2532 | ac_status=$? |
2533 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2534 | rm -f conftest.er1 | ||
2535 | cat conftest.err >&5 | ||
1998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1999 | (exit $ac_status); }; } && | 2537 | (exit $ac_status); } && { |
2000 | { ac_try='test -s conftest.$ac_objext' | 2538 | test -z "$ac_c_werror_flag" || |
2001 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2539 | test ! -s conftest.err |
2002 | (eval $ac_try) 2>&5 | 2540 | } && test -s conftest.$ac_objext; then |
2541 | : | ||
2542 | else | ||
2543 | echo "$as_me: failed program was:" >&5 | ||
2544 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2545 | |||
2546 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
2547 | CFLAGS="-g" | ||
2548 | cat >conftest.$ac_ext <<_ACEOF | ||
2549 | /* confdefs.h. */ | ||
2550 | _ACEOF | ||
2551 | cat confdefs.h >>conftest.$ac_ext | ||
2552 | cat >>conftest.$ac_ext <<_ACEOF | ||
2553 | /* end confdefs.h. */ | ||
2554 | |||
2555 | int | ||
2556 | main () | ||
2557 | { | ||
2558 | |||
2559 | ; | ||
2560 | return 0; | ||
2561 | } | ||
2562 | _ACEOF | ||
2563 | rm -f conftest.$ac_objext | ||
2564 | if { (ac_try="$ac_compile" | ||
2565 | case "(($ac_try" in | ||
2566 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2567 | *) ac_try_echo=$ac_try;; | ||
2568 | esac | ||
2569 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2570 | (eval "$ac_compile") 2>conftest.er1 | ||
2003 | ac_status=$? | 2571 | ac_status=$? |
2572 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2573 | rm -f conftest.er1 | ||
2574 | cat conftest.err >&5 | ||
2004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2005 | (exit $ac_status); }; }; then | 2576 | (exit $ac_status); } && { |
2577 | test -z "$ac_c_werror_flag" || | ||
2578 | test ! -s conftest.err | ||
2579 | } && test -s conftest.$ac_objext; then | ||
2006 | ac_cv_prog_cc_g=yes | 2580 | ac_cv_prog_cc_g=yes |
2007 | else | 2581 | else |
2008 | echo "$as_me: failed program was:" >&5 | 2582 | echo "$as_me: failed program was:" >&5 |
2009 | sed 's/^/| /' conftest.$ac_ext >&5 | 2583 | sed 's/^/| /' conftest.$ac_ext >&5 |
2010 | 2584 | ||
2011 | ac_cv_prog_cc_g=no | 2585 | |
2586 | fi | ||
2587 | |||
2588 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2589 | fi | ||
2590 | |||
2591 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2012 | fi | 2592 | fi |
2013 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 2593 | |
2594 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2595 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
2014 | fi | 2596 | fi |
2015 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 2597 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2016 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 2598 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
2017 | if test "$ac_test_CFLAGS" = set; then | 2599 | if test "$ac_test_CFLAGS" = set; then |
2018 | CFLAGS=$ac_save_CFLAGS | 2600 | CFLAGS=$ac_save_CFLAGS |
2019 | elif test $ac_cv_prog_cc_g = yes; then | 2601 | elif test $ac_cv_prog_cc_g = yes; then |
@@ -2029,12 +2611,12 @@ else | |||
2029 | CFLAGS= | 2611 | CFLAGS= |
2030 | fi | 2612 | fi |
2031 | fi | 2613 | fi |
2032 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 2614 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2033 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 2615 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2034 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 2616 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
2035 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2617 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2036 | else | 2618 | else |
2037 | ac_cv_prog_cc_stdc=no | 2619 | ac_cv_prog_cc_c89=no |
2038 | ac_save_CC=$CC | 2620 | ac_save_CC=$CC |
2039 | cat >conftest.$ac_ext <<_ACEOF | 2621 | cat >conftest.$ac_ext <<_ACEOF |
2040 | /* confdefs.h. */ | 2622 | /* confdefs.h. */ |
@@ -2068,12 +2650,17 @@ static char *f (char * (*g) (char **, int), char **p, ...) | |||
2068 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | 2650 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2069 | function prototypes and stuff, but not '\xHH' hex character constants. | 2651 | function prototypes and stuff, but not '\xHH' hex character constants. |
2070 | These don't provoke an error unfortunately, instead are silently treated | 2652 | These don't provoke an error unfortunately, instead are silently treated |
2071 | as 'x'. The following induces an error, until -std1 is added to get | 2653 | as 'x'. The following induces an error, until -std is added to get |
2072 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | 2654 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2073 | array size at least. It's necessary to write '\x00'==0 to get something | 2655 | array size at least. It's necessary to write '\x00'==0 to get something |
2074 | that's true only with -std1. */ | 2656 | that's true only with -std. */ |
2075 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 2657 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2076 | 2658 | ||
2659 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
2660 | inside strings and character constants. */ | ||
2661 | #define FOO(x) 'x' | ||
2662 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
2663 | |||
2077 | int test (int i, double x); | 2664 | int test (int i, double x); |
2078 | struct s1 {int (*f) (int a);}; | 2665 | struct s1 {int (*f) (int a);}; |
2079 | struct s2 {int (*f) (double a);}; | 2666 | struct s2 {int (*f) (double a);}; |
@@ -2088,293 +2675,816 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |||
2088 | return 0; | 2675 | return 0; |
2089 | } | 2676 | } |
2090 | _ACEOF | 2677 | _ACEOF |
2091 | # Don't try gcc -ansi; that turns off useful extensions and | 2678 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2092 | # breaks some systems' header files. | 2679 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2093 | # AIX -qlanglvl=ansi | ||
2094 | # Ultrix and OSF/1 -std1 | ||
2095 | # HP-UX 10.20 and later -Ae | ||
2096 | # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
2097 | # SVR4 -Xc -D__EXTENSIONS__ | ||
2098 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
2099 | do | 2680 | do |
2100 | CC="$ac_save_CC $ac_arg" | 2681 | CC="$ac_save_CC $ac_arg" |
2101 | rm -f conftest.$ac_objext | 2682 | rm -f conftest.$ac_objext |
2102 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2683 | if { (ac_try="$ac_compile" |
2103 | (eval $ac_compile) 2>conftest.er1 | 2684 | case "(($ac_try" in |
2685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2686 | *) ac_try_echo=$ac_try;; | ||
2687 | esac | ||
2688 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2689 | (eval "$ac_compile") 2>conftest.er1 | ||
2104 | ac_status=$? | 2690 | ac_status=$? |
2105 | grep -v '^ *+' conftest.er1 >conftest.err | 2691 | grep -v '^ *+' conftest.er1 >conftest.err |
2106 | rm -f conftest.er1 | 2692 | rm -f conftest.er1 |
2107 | cat conftest.err >&5 | 2693 | cat conftest.err >&5 |
2108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2109 | (exit $ac_status); } && | 2695 | (exit $ac_status); } && { |
2110 | { ac_try='test -z "$ac_c_werror_flag" | 2696 | test -z "$ac_c_werror_flag" || |
2111 | || test ! -s conftest.err' | 2697 | test ! -s conftest.err |
2112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2698 | } && test -s conftest.$ac_objext; then |
2113 | (eval $ac_try) 2>&5 | 2699 | ac_cv_prog_cc_c89=$ac_arg |
2114 | ac_status=$? | ||
2115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2116 | (exit $ac_status); }; } && | ||
2117 | { ac_try='test -s conftest.$ac_objext' | ||
2118 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2119 | (eval $ac_try) 2>&5 | ||
2120 | ac_status=$? | ||
2121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2122 | (exit $ac_status); }; }; then | ||
2123 | ac_cv_prog_cc_stdc=$ac_arg | ||
2124 | break | ||
2125 | else | 2700 | else |
2126 | echo "$as_me: failed program was:" >&5 | 2701 | echo "$as_me: failed program was:" >&5 |
2127 | sed 's/^/| /' conftest.$ac_ext >&5 | 2702 | sed 's/^/| /' conftest.$ac_ext >&5 |
2128 | 2703 | ||
2704 | |||
2129 | fi | 2705 | fi |
2130 | rm -f conftest.err conftest.$ac_objext | 2706 | |
2707 | rm -f core conftest.err conftest.$ac_objext | ||
2708 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
2131 | done | 2709 | done |
2132 | rm -f conftest.$ac_ext conftest.$ac_objext | 2710 | rm -f conftest.$ac_ext |
2133 | CC=$ac_save_CC | 2711 | CC=$ac_save_CC |
2134 | 2712 | ||
2135 | fi | 2713 | fi |
2136 | 2714 | # AC_CACHE_VAL | |
2137 | case "x$ac_cv_prog_cc_stdc" in | 2715 | case "x$ac_cv_prog_cc_c89" in |
2138 | x|xno) | 2716 | x) |
2139 | echo "$as_me:$LINENO: result: none needed" >&5 | 2717 | { echo "$as_me:$LINENO: result: none needed" >&5 |
2140 | echo "${ECHO_T}none needed" >&6 ;; | 2718 | echo "${ECHO_T}none needed" >&6; } ;; |
2719 | xno) | ||
2720 | { echo "$as_me:$LINENO: result: unsupported" >&5 | ||
2721 | echo "${ECHO_T}unsupported" >&6; } ;; | ||
2141 | *) | 2722 | *) |
2142 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 2723 | CC="$CC $ac_cv_prog_cc_c89" |
2143 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 2724 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
2144 | CC="$CC $ac_cv_prog_cc_stdc" ;; | 2725 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
2145 | esac | 2726 | esac |
2146 | 2727 | ||
2147 | # Some people use a C++ compiler to compile C. Since we use `exit', | 2728 | |
2148 | # in C++ we need to declare it. In case someone uses the same compiler | 2729 | ac_ext=c |
2149 | # for both compiling C and C++ we need to have the C++ compiler decide | 2730 | ac_cpp='$CPP $CPPFLAGS' |
2150 | # the declaration of exit, since it's the most demanding environment. | 2731 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2151 | cat >conftest.$ac_ext <<_ACEOF | 2732 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2152 | #ifndef __cplusplus | 2733 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2153 | choke me | 2734 | |
2735 | ac_aux_dir= | ||
2736 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | ||
2737 | if test -f "$ac_dir/install-sh"; then | ||
2738 | ac_aux_dir=$ac_dir | ||
2739 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
2740 | break | ||
2741 | elif test -f "$ac_dir/install.sh"; then | ||
2742 | ac_aux_dir=$ac_dir | ||
2743 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
2744 | break | ||
2745 | elif test -f "$ac_dir/shtool"; then | ||
2746 | ac_aux_dir=$ac_dir | ||
2747 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
2748 | break | ||
2749 | fi | ||
2750 | done | ||
2751 | if test -z "$ac_aux_dir"; then | ||
2752 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | ||
2753 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
2754 | { (exit 1); exit 1; }; } | ||
2755 | fi | ||
2756 | |||
2757 | # These three variables are undocumented and unsupported, | ||
2758 | # and are intended to be withdrawn in a future Autoconf release. | ||
2759 | # They can cause serious problems if a builder's source tree is in a directory | ||
2760 | # whose full name contains unusual characters. | ||
2761 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
2762 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
2763 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
2764 | |||
2765 | |||
2766 | # Make sure we can run config.sub. | ||
2767 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | ||
2768 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | ||
2769 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
2770 | { (exit 1); exit 1; }; } | ||
2771 | |||
2772 | { echo "$as_me:$LINENO: checking build system type" >&5 | ||
2773 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | ||
2774 | if test "${ac_cv_build+set}" = set; then | ||
2775 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2776 | else | ||
2777 | ac_build_alias=$build_alias | ||
2778 | test "x$ac_build_alias" = x && | ||
2779 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | ||
2780 | test "x$ac_build_alias" = x && | ||
2781 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | ||
2782 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
2783 | { (exit 1); exit 1; }; } | ||
2784 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | ||
2785 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | ||
2786 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
2787 | { (exit 1); exit 1; }; } | ||
2788 | |||
2789 | fi | ||
2790 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | ||
2791 | echo "${ECHO_T}$ac_cv_build" >&6; } | ||
2792 | case $ac_cv_build in | ||
2793 | *-*-*) ;; | ||
2794 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | ||
2795 | echo "$as_me: error: invalid value of canonical build" >&2;} | ||
2796 | { (exit 1); exit 1; }; };; | ||
2797 | esac | ||
2798 | build=$ac_cv_build | ||
2799 | ac_save_IFS=$IFS; IFS='-' | ||
2800 | set x $ac_cv_build | ||
2801 | shift | ||
2802 | build_cpu=$1 | ||
2803 | build_vendor=$2 | ||
2804 | shift; shift | ||
2805 | # Remember, the first character of IFS is used to create $*, | ||
2806 | # except with old shells: | ||
2807 | build_os=$* | ||
2808 | IFS=$ac_save_IFS | ||
2809 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | ||
2810 | |||
2811 | |||
2812 | { echo "$as_me:$LINENO: checking host system type" >&5 | ||
2813 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | ||
2814 | if test "${ac_cv_host+set}" = set; then | ||
2815 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2816 | else | ||
2817 | if test "x$host_alias" = x; then | ||
2818 | ac_cv_host=$ac_cv_build | ||
2819 | else | ||
2820 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | ||
2821 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | ||
2822 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
2823 | { (exit 1); exit 1; }; } | ||
2824 | fi | ||
2825 | |||
2826 | fi | ||
2827 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | ||
2828 | echo "${ECHO_T}$ac_cv_host" >&6; } | ||
2829 | case $ac_cv_host in | ||
2830 | *-*-*) ;; | ||
2831 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | ||
2832 | echo "$as_me: error: invalid value of canonical host" >&2;} | ||
2833 | { (exit 1); exit 1; }; };; | ||
2834 | esac | ||
2835 | host=$ac_cv_host | ||
2836 | ac_save_IFS=$IFS; IFS='-' | ||
2837 | set x $ac_cv_host | ||
2838 | shift | ||
2839 | host_cpu=$1 | ||
2840 | host_vendor=$2 | ||
2841 | shift; shift | ||
2842 | # Remember, the first character of IFS is used to create $*, | ||
2843 | # except with old shells: | ||
2844 | host_os=$* | ||
2845 | IFS=$ac_save_IFS | ||
2846 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | ||
2847 | |||
2848 | |||
2849 | |||
2850 | ac_ext=c | ||
2851 | ac_cpp='$CPP $CPPFLAGS' | ||
2852 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2853 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2854 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2855 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
2856 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | ||
2857 | # On Suns, sometimes $CPP names a directory. | ||
2858 | if test -n "$CPP" && test -d "$CPP"; then | ||
2859 | CPP= | ||
2860 | fi | ||
2861 | if test -z "$CPP"; then | ||
2862 | if test "${ac_cv_prog_CPP+set}" = set; then | ||
2863 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2864 | else | ||
2865 | # Double quotes because CPP needs to be expanded | ||
2866 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
2867 | do | ||
2868 | ac_preproc_ok=false | ||
2869 | for ac_c_preproc_warn_flag in '' yes | ||
2870 | do | ||
2871 | # Use a header file that comes with gcc, so configuring glibc | ||
2872 | # with a fresh cross-compiler works. | ||
2873 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2874 | # <limits.h> exists even on freestanding compilers. | ||
2875 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2876 | # not just through cpp. "Syntax error" is here to catch this case. | ||
2877 | cat >conftest.$ac_ext <<_ACEOF | ||
2878 | /* confdefs.h. */ | ||
2879 | _ACEOF | ||
2880 | cat confdefs.h >>conftest.$ac_ext | ||
2881 | cat >>conftest.$ac_ext <<_ACEOF | ||
2882 | /* end confdefs.h. */ | ||
2883 | #ifdef __STDC__ | ||
2884 | # include <limits.h> | ||
2885 | #else | ||
2886 | # include <assert.h> | ||
2154 | #endif | 2887 | #endif |
2888 | Syntax error | ||
2155 | _ACEOF | 2889 | _ACEOF |
2156 | rm -f conftest.$ac_objext | 2890 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
2157 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2891 | case "(($ac_try" in |
2158 | (eval $ac_compile) 2>conftest.er1 | 2892 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2893 | *) ac_try_echo=$ac_try;; | ||
2894 | esac | ||
2895 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2896 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2159 | ac_status=$? | 2897 | ac_status=$? |
2160 | grep -v '^ *+' conftest.er1 >conftest.err | 2898 | grep -v '^ *+' conftest.er1 >conftest.err |
2161 | rm -f conftest.er1 | 2899 | rm -f conftest.er1 |
2162 | cat conftest.err >&5 | 2900 | cat conftest.err >&5 |
2163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2164 | (exit $ac_status); } && | 2902 | (exit $ac_status); } >/dev/null && { |
2165 | { ac_try='test -z "$ac_c_werror_flag" | 2903 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2166 | || test ! -s conftest.err' | 2904 | test ! -s conftest.err |
2167 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2905 | }; then |
2168 | (eval $ac_try) 2>&5 | 2906 | : |
2907 | else | ||
2908 | echo "$as_me: failed program was:" >&5 | ||
2909 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2910 | |||
2911 | # Broken: fails on valid input. | ||
2912 | continue | ||
2913 | fi | ||
2914 | |||
2915 | rm -f conftest.err conftest.$ac_ext | ||
2916 | |||
2917 | # OK, works on sane cases. Now check whether nonexistent headers | ||
2918 | # can be detected and how. | ||
2919 | cat >conftest.$ac_ext <<_ACEOF | ||
2920 | /* confdefs.h. */ | ||
2921 | _ACEOF | ||
2922 | cat confdefs.h >>conftest.$ac_ext | ||
2923 | cat >>conftest.$ac_ext <<_ACEOF | ||
2924 | /* end confdefs.h. */ | ||
2925 | #include <ac_nonexistent.h> | ||
2926 | _ACEOF | ||
2927 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
2928 | case "(($ac_try" in | ||
2929 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2930 | *) ac_try_echo=$ac_try;; | ||
2931 | esac | ||
2932 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2933 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2169 | ac_status=$? | 2934 | ac_status=$? |
2935 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2936 | rm -f conftest.er1 | ||
2937 | cat conftest.err >&5 | ||
2170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2171 | (exit $ac_status); }; } && | 2939 | (exit $ac_status); } >/dev/null && { |
2172 | { ac_try='test -s conftest.$ac_objext' | 2940 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2173 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2941 | test ! -s conftest.err |
2174 | (eval $ac_try) 2>&5 | 2942 | }; then |
2943 | # Broken: success on invalid input. | ||
2944 | continue | ||
2945 | else | ||
2946 | echo "$as_me: failed program was:" >&5 | ||
2947 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2948 | |||
2949 | # Passes both tests. | ||
2950 | ac_preproc_ok=: | ||
2951 | break | ||
2952 | fi | ||
2953 | |||
2954 | rm -f conftest.err conftest.$ac_ext | ||
2955 | |||
2956 | done | ||
2957 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2958 | rm -f conftest.err conftest.$ac_ext | ||
2959 | if $ac_preproc_ok; then | ||
2960 | break | ||
2961 | fi | ||
2962 | |||
2963 | done | ||
2964 | ac_cv_prog_CPP=$CPP | ||
2965 | |||
2966 | fi | ||
2967 | CPP=$ac_cv_prog_CPP | ||
2968 | else | ||
2969 | ac_cv_prog_CPP=$CPP | ||
2970 | fi | ||
2971 | { echo "$as_me:$LINENO: result: $CPP" >&5 | ||
2972 | echo "${ECHO_T}$CPP" >&6; } | ||
2973 | ac_preproc_ok=false | ||
2974 | for ac_c_preproc_warn_flag in '' yes | ||
2975 | do | ||
2976 | # Use a header file that comes with gcc, so configuring glibc | ||
2977 | # with a fresh cross-compiler works. | ||
2978 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2979 | # <limits.h> exists even on freestanding compilers. | ||
2980 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2981 | # not just through cpp. "Syntax error" is here to catch this case. | ||
2982 | cat >conftest.$ac_ext <<_ACEOF | ||
2983 | /* confdefs.h. */ | ||
2984 | _ACEOF | ||
2985 | cat confdefs.h >>conftest.$ac_ext | ||
2986 | cat >>conftest.$ac_ext <<_ACEOF | ||
2987 | /* end confdefs.h. */ | ||
2988 | #ifdef __STDC__ | ||
2989 | # include <limits.h> | ||
2990 | #else | ||
2991 | # include <assert.h> | ||
2992 | #endif | ||
2993 | Syntax error | ||
2994 | _ACEOF | ||
2995 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
2996 | case "(($ac_try" in | ||
2997 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2998 | *) ac_try_echo=$ac_try;; | ||
2999 | esac | ||
3000 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3001 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2175 | ac_status=$? | 3002 | ac_status=$? |
3003 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3004 | rm -f conftest.er1 | ||
3005 | cat conftest.err >&5 | ||
2176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2177 | (exit $ac_status); }; }; then | 3007 | (exit $ac_status); } >/dev/null && { |
2178 | for ac_declaration in \ | 3008 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2179 | '' \ | 3009 | test ! -s conftest.err |
2180 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 3010 | }; then |
2181 | 'extern "C" void std::exit (int); using std::exit;' \ | 3011 | : |
2182 | 'extern "C" void exit (int) throw ();' \ | 3012 | else |
2183 | 'extern "C" void exit (int);' \ | 3013 | echo "$as_me: failed program was:" >&5 |
2184 | 'void exit (int);' | 3014 | sed 's/^/| /' conftest.$ac_ext >&5 |
3015 | |||
3016 | # Broken: fails on valid input. | ||
3017 | continue | ||
3018 | fi | ||
3019 | |||
3020 | rm -f conftest.err conftest.$ac_ext | ||
3021 | |||
3022 | # OK, works on sane cases. Now check whether nonexistent headers | ||
3023 | # can be detected and how. | ||
3024 | cat >conftest.$ac_ext <<_ACEOF | ||
3025 | /* confdefs.h. */ | ||
3026 | _ACEOF | ||
3027 | cat confdefs.h >>conftest.$ac_ext | ||
3028 | cat >>conftest.$ac_ext <<_ACEOF | ||
3029 | /* end confdefs.h. */ | ||
3030 | #include <ac_nonexistent.h> | ||
3031 | _ACEOF | ||
3032 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
3033 | case "(($ac_try" in | ||
3034 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3035 | *) ac_try_echo=$ac_try;; | ||
3036 | esac | ||
3037 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3038 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3039 | ac_status=$? | ||
3040 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3041 | rm -f conftest.er1 | ||
3042 | cat conftest.err >&5 | ||
3043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3044 | (exit $ac_status); } >/dev/null && { | ||
3045 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3046 | test ! -s conftest.err | ||
3047 | }; then | ||
3048 | # Broken: success on invalid input. | ||
3049 | continue | ||
3050 | else | ||
3051 | echo "$as_me: failed program was:" >&5 | ||
3052 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3053 | |||
3054 | # Passes both tests. | ||
3055 | ac_preproc_ok=: | ||
3056 | break | ||
3057 | fi | ||
3058 | |||
3059 | rm -f conftest.err conftest.$ac_ext | ||
3060 | |||
3061 | done | ||
3062 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
3063 | rm -f conftest.err conftest.$ac_ext | ||
3064 | if $ac_preproc_ok; then | ||
3065 | : | ||
3066 | else | ||
3067 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
3068 | See \`config.log' for more details." >&5 | ||
3069 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
3070 | See \`config.log' for more details." >&2;} | ||
3071 | { (exit 1); exit 1; }; } | ||
3072 | fi | ||
3073 | |||
3074 | ac_ext=c | ||
3075 | ac_cpp='$CPP $CPPFLAGS' | ||
3076 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
3077 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
3078 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
3079 | |||
3080 | |||
3081 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | ||
3082 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } | ||
3083 | if test "${ac_cv_path_GREP+set}" = set; then | ||
3084 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3085 | else | ||
3086 | # Extract the first word of "grep ggrep" to use in msg output | ||
3087 | if test -z "$GREP"; then | ||
3088 | set dummy grep ggrep; ac_prog_name=$2 | ||
3089 | if test "${ac_cv_path_GREP+set}" = set; then | ||
3090 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3091 | else | ||
3092 | ac_path_GREP_found=false | ||
3093 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
3094 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3095 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
3096 | do | ||
3097 | IFS=$as_save_IFS | ||
3098 | test -z "$as_dir" && as_dir=. | ||
3099 | for ac_prog in grep ggrep; do | ||
3100 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3101 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||
3102 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | ||
3103 | # Check for GNU ac_path_GREP and select it if it is found. | ||
3104 | # Check for GNU $ac_path_GREP | ||
3105 | case `"$ac_path_GREP" --version 2>&1` in | ||
3106 | *GNU*) | ||
3107 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||
3108 | *) | ||
3109 | ac_count=0 | ||
3110 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | ||
3111 | while : | ||
3112 | do | ||
3113 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
3114 | mv "conftest.tmp" "conftest.in" | ||
3115 | cp "conftest.in" "conftest.nl" | ||
3116 | echo 'GREP' >> "conftest.nl" | ||
3117 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
3118 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
3119 | ac_count=`expr $ac_count + 1` | ||
3120 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||
3121 | # Best one so far, save it but keep looking for a better one | ||
3122 | ac_cv_path_GREP="$ac_path_GREP" | ||
3123 | ac_path_GREP_max=$ac_count | ||
3124 | fi | ||
3125 | # 10*(2^10) chars as input seems more than enough | ||
3126 | test $ac_count -gt 10 && break | ||
3127 | done | ||
3128 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
3129 | esac | ||
3130 | |||
3131 | |||
3132 | $ac_path_GREP_found && break 3 | ||
3133 | done | ||
3134 | done | ||
3135 | |||
3136 | done | ||
3137 | IFS=$as_save_IFS | ||
3138 | |||
3139 | |||
3140 | fi | ||
3141 | |||
3142 | GREP="$ac_cv_path_GREP" | ||
3143 | if test -z "$GREP"; then | ||
3144 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
3145 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
3146 | { (exit 1); exit 1; }; } | ||
3147 | fi | ||
3148 | |||
3149 | else | ||
3150 | ac_cv_path_GREP=$GREP | ||
3151 | fi | ||
3152 | |||
3153 | |||
3154 | fi | ||
3155 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | ||
3156 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | ||
3157 | GREP="$ac_cv_path_GREP" | ||
3158 | |||
3159 | |||
3160 | { echo "$as_me:$LINENO: checking for egrep" >&5 | ||
3161 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | ||
3162 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
3163 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3164 | else | ||
3165 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||
3166 | then ac_cv_path_EGREP="$GREP -E" | ||
3167 | else | ||
3168 | # Extract the first word of "egrep" to use in msg output | ||
3169 | if test -z "$EGREP"; then | ||
3170 | set dummy egrep; ac_prog_name=$2 | ||
3171 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
3172 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3173 | else | ||
3174 | ac_path_EGREP_found=false | ||
3175 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
3176 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3177 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
2185 | do | 3178 | do |
3179 | IFS=$as_save_IFS | ||
3180 | test -z "$as_dir" && as_dir=. | ||
3181 | for ac_prog in egrep; do | ||
3182 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3183 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||
3184 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | ||
3185 | # Check for GNU ac_path_EGREP and select it if it is found. | ||
3186 | # Check for GNU $ac_path_EGREP | ||
3187 | case `"$ac_path_EGREP" --version 2>&1` in | ||
3188 | *GNU*) | ||
3189 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||
3190 | *) | ||
3191 | ac_count=0 | ||
3192 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | ||
3193 | while : | ||
3194 | do | ||
3195 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
3196 | mv "conftest.tmp" "conftest.in" | ||
3197 | cp "conftest.in" "conftest.nl" | ||
3198 | echo 'EGREP' >> "conftest.nl" | ||
3199 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
3200 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
3201 | ac_count=`expr $ac_count + 1` | ||
3202 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||
3203 | # Best one so far, save it but keep looking for a better one | ||
3204 | ac_cv_path_EGREP="$ac_path_EGREP" | ||
3205 | ac_path_EGREP_max=$ac_count | ||
3206 | fi | ||
3207 | # 10*(2^10) chars as input seems more than enough | ||
3208 | test $ac_count -gt 10 && break | ||
3209 | done | ||
3210 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
3211 | esac | ||
3212 | |||
3213 | |||
3214 | $ac_path_EGREP_found && break 3 | ||
3215 | done | ||
3216 | done | ||
3217 | |||
3218 | done | ||
3219 | IFS=$as_save_IFS | ||
3220 | |||
3221 | |||
3222 | fi | ||
3223 | |||
3224 | EGREP="$ac_cv_path_EGREP" | ||
3225 | if test -z "$EGREP"; then | ||
3226 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
3227 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
3228 | { (exit 1); exit 1; }; } | ||
3229 | fi | ||
3230 | |||
3231 | else | ||
3232 | ac_cv_path_EGREP=$EGREP | ||
3233 | fi | ||
3234 | |||
3235 | |||
3236 | fi | ||
3237 | fi | ||
3238 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | ||
3239 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | ||
3240 | EGREP="$ac_cv_path_EGREP" | ||
3241 | |||
3242 | |||
3243 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
3244 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | ||
3245 | if test "${ac_cv_header_stdc+set}" = set; then | ||
3246 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3247 | else | ||
2186 | cat >conftest.$ac_ext <<_ACEOF | 3248 | cat >conftest.$ac_ext <<_ACEOF |
2187 | /* confdefs.h. */ | 3249 | /* confdefs.h. */ |
2188 | _ACEOF | 3250 | _ACEOF |
2189 | cat confdefs.h >>conftest.$ac_ext | 3251 | cat confdefs.h >>conftest.$ac_ext |
2190 | cat >>conftest.$ac_ext <<_ACEOF | 3252 | cat >>conftest.$ac_ext <<_ACEOF |
2191 | /* end confdefs.h. */ | 3253 | /* end confdefs.h. */ |
2192 | $ac_declaration | ||
2193 | #include <stdlib.h> | 3254 | #include <stdlib.h> |
3255 | #include <stdarg.h> | ||
3256 | #include <string.h> | ||
3257 | #include <float.h> | ||
3258 | |||
2194 | int | 3259 | int |
2195 | main () | 3260 | main () |
2196 | { | 3261 | { |
2197 | exit (42); | 3262 | |
2198 | ; | 3263 | ; |
2199 | return 0; | 3264 | return 0; |
2200 | } | 3265 | } |
2201 | _ACEOF | 3266 | _ACEOF |
2202 | rm -f conftest.$ac_objext | 3267 | rm -f conftest.$ac_objext |
2203 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3268 | if { (ac_try="$ac_compile" |
2204 | (eval $ac_compile) 2>conftest.er1 | 3269 | case "(($ac_try" in |
3270 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3271 | *) ac_try_echo=$ac_try;; | ||
3272 | esac | ||
3273 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3274 | (eval "$ac_compile") 2>conftest.er1 | ||
2205 | ac_status=$? | 3275 | ac_status=$? |
2206 | grep -v '^ *+' conftest.er1 >conftest.err | 3276 | grep -v '^ *+' conftest.er1 >conftest.err |
2207 | rm -f conftest.er1 | 3277 | rm -f conftest.er1 |
2208 | cat conftest.err >&5 | 3278 | cat conftest.err >&5 |
2209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2210 | (exit $ac_status); } && | 3280 | (exit $ac_status); } && { |
2211 | { ac_try='test -z "$ac_c_werror_flag" | 3281 | test -z "$ac_c_werror_flag" || |
2212 | || test ! -s conftest.err' | 3282 | test ! -s conftest.err |
2213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3283 | } && test -s conftest.$ac_objext; then |
2214 | (eval $ac_try) 2>&5 | 3284 | ac_cv_header_stdc=yes |
2215 | ac_status=$? | ||
2216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2217 | (exit $ac_status); }; } && | ||
2218 | { ac_try='test -s conftest.$ac_objext' | ||
2219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2220 | (eval $ac_try) 2>&5 | ||
2221 | ac_status=$? | ||
2222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2223 | (exit $ac_status); }; }; then | ||
2224 | : | ||
2225 | else | 3285 | else |
2226 | echo "$as_me: failed program was:" >&5 | 3286 | echo "$as_me: failed program was:" >&5 |
2227 | sed 's/^/| /' conftest.$ac_ext >&5 | 3287 | sed 's/^/| /' conftest.$ac_ext >&5 |
2228 | 3288 | ||
2229 | continue | 3289 | ac_cv_header_stdc=no |
3290 | fi | ||
3291 | |||
3292 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3293 | |||
3294 | if test $ac_cv_header_stdc = yes; then | ||
3295 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
3296 | cat >conftest.$ac_ext <<_ACEOF | ||
3297 | /* confdefs.h. */ | ||
3298 | _ACEOF | ||
3299 | cat confdefs.h >>conftest.$ac_ext | ||
3300 | cat >>conftest.$ac_ext <<_ACEOF | ||
3301 | /* end confdefs.h. */ | ||
3302 | #include <string.h> | ||
3303 | |||
3304 | _ACEOF | ||
3305 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
3306 | $EGREP "memchr" >/dev/null 2>&1; then | ||
3307 | : | ||
3308 | else | ||
3309 | ac_cv_header_stdc=no | ||
3310 | fi | ||
3311 | rm -f conftest* | ||
3312 | |||
3313 | fi | ||
3314 | |||
3315 | if test $ac_cv_header_stdc = yes; then | ||
3316 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
3317 | cat >conftest.$ac_ext <<_ACEOF | ||
3318 | /* confdefs.h. */ | ||
3319 | _ACEOF | ||
3320 | cat confdefs.h >>conftest.$ac_ext | ||
3321 | cat >>conftest.$ac_ext <<_ACEOF | ||
3322 | /* end confdefs.h. */ | ||
3323 | #include <stdlib.h> | ||
3324 | |||
3325 | _ACEOF | ||
3326 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
3327 | $EGREP "free" >/dev/null 2>&1; then | ||
3328 | : | ||
3329 | else | ||
3330 | ac_cv_header_stdc=no | ||
3331 | fi | ||
3332 | rm -f conftest* | ||
3333 | |||
2230 | fi | 3334 | fi |
2231 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3335 | |
3336 | if test $ac_cv_header_stdc = yes; then | ||
3337 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
3338 | if test "$cross_compiling" = yes; then | ||
3339 | : | ||
3340 | else | ||
2232 | cat >conftest.$ac_ext <<_ACEOF | 3341 | cat >conftest.$ac_ext <<_ACEOF |
2233 | /* confdefs.h. */ | 3342 | /* confdefs.h. */ |
2234 | _ACEOF | 3343 | _ACEOF |
2235 | cat confdefs.h >>conftest.$ac_ext | 3344 | cat confdefs.h >>conftest.$ac_ext |
2236 | cat >>conftest.$ac_ext <<_ACEOF | 3345 | cat >>conftest.$ac_ext <<_ACEOF |
2237 | /* end confdefs.h. */ | 3346 | /* end confdefs.h. */ |
2238 | $ac_declaration | 3347 | #include <ctype.h> |
3348 | #include <stdlib.h> | ||
3349 | #if ((' ' & 0x0FF) == 0x020) | ||
3350 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
3351 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
3352 | #else | ||
3353 | # define ISLOWER(c) \ | ||
3354 | (('a' <= (c) && (c) <= 'i') \ | ||
3355 | || ('j' <= (c) && (c) <= 'r') \ | ||
3356 | || ('s' <= (c) && (c) <= 'z')) | ||
3357 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
3358 | #endif | ||
3359 | |||
3360 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
2239 | int | 3361 | int |
2240 | main () | 3362 | main () |
2241 | { | 3363 | { |
2242 | exit (42); | 3364 | int i; |
2243 | ; | 3365 | for (i = 0; i < 256; i++) |
3366 | if (XOR (islower (i), ISLOWER (i)) | ||
3367 | || toupper (i) != TOUPPER (i)) | ||
3368 | return 2; | ||
2244 | return 0; | 3369 | return 0; |
2245 | } | 3370 | } |
2246 | _ACEOF | 3371 | _ACEOF |
2247 | rm -f conftest.$ac_objext | 3372 | rm -f conftest$ac_exeext |
2248 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3373 | if { (ac_try="$ac_link" |
2249 | (eval $ac_compile) 2>conftest.er1 | 3374 | case "(($ac_try" in |
2250 | ac_status=$? | 3375 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2251 | grep -v '^ *+' conftest.er1 >conftest.err | 3376 | *) ac_try_echo=$ac_try;; |
2252 | rm -f conftest.er1 | 3377 | esac |
2253 | cat conftest.err >&5 | 3378 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3379 | (eval "$ac_link") 2>&5 |
2255 | (exit $ac_status); } && | ||
2256 | { ac_try='test -z "$ac_c_werror_flag" | ||
2257 | || test ! -s conftest.err' | ||
2258 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2259 | (eval $ac_try) 2>&5 | ||
2260 | ac_status=$? | 3380 | ac_status=$? |
2261 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3381 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2262 | (exit $ac_status); }; } && | 3382 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
2263 | { ac_try='test -s conftest.$ac_objext' | 3383 | { (case "(($ac_try" in |
2264 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3384 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2265 | (eval $ac_try) 2>&5 | 3385 | *) ac_try_echo=$ac_try;; |
3386 | esac | ||
3387 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3388 | (eval "$ac_try") 2>&5 | ||
2266 | ac_status=$? | 3389 | ac_status=$? |
2267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2268 | (exit $ac_status); }; }; then | 3391 | (exit $ac_status); }; }; then |
2269 | break | 3392 | : |
2270 | else | 3393 | else |
2271 | echo "$as_me: failed program was:" >&5 | 3394 | echo "$as_me: program exited with status $ac_status" >&5 |
3395 | echo "$as_me: failed program was:" >&5 | ||
2272 | sed 's/^/| /' conftest.$ac_ext >&5 | 3396 | sed 's/^/| /' conftest.$ac_ext >&5 |
2273 | 3397 | ||
3398 | ( exit $ac_status ) | ||
3399 | ac_cv_header_stdc=no | ||
2274 | fi | 3400 | fi |
2275 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3401 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2276 | done | ||
2277 | rm -f conftest* | ||
2278 | if test -n "$ac_declaration"; then | ||
2279 | echo '#ifdef __cplusplus' >>confdefs.h | ||
2280 | echo $ac_declaration >>confdefs.h | ||
2281 | echo '#endif' >>confdefs.h | ||
2282 | fi | 3402 | fi |
2283 | 3403 | ||
2284 | else | ||
2285 | echo "$as_me: failed program was:" >&5 | ||
2286 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2287 | 3404 | ||
2288 | fi | 3405 | fi |
2289 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3406 | fi |
2290 | ac_ext=c | 3407 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
2291 | ac_cpp='$CPP $CPPFLAGS' | 3408 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
2292 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3409 | if test $ac_cv_header_stdc = yes; then |
2293 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3410 | |
2294 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3411 | cat >>confdefs.h <<\_ACEOF |
3412 | #define STDC_HEADERS 1 | ||
3413 | _ACEOF | ||
2295 | 3414 | ||
2296 | ac_aux_dir= | ||
2297 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | ||
2298 | if test -f $ac_dir/install-sh; then | ||
2299 | ac_aux_dir=$ac_dir | ||
2300 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
2301 | break | ||
2302 | elif test -f $ac_dir/install.sh; then | ||
2303 | ac_aux_dir=$ac_dir | ||
2304 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
2305 | break | ||
2306 | elif test -f $ac_dir/shtool; then | ||
2307 | ac_aux_dir=$ac_dir | ||
2308 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
2309 | break | ||
2310 | fi | ||
2311 | done | ||
2312 | if test -z "$ac_aux_dir"; then | ||
2313 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | ||
2314 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | ||
2315 | { (exit 1); exit 1; }; } | ||
2316 | fi | 3415 | fi |
2317 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | ||
2318 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
2319 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
2320 | 3416 | ||
2321 | # Make sure we can run config.sub. | 3417 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
2322 | $ac_config_sub sun4 >/dev/null 2>&1 || | ||
2323 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | ||
2324 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | ||
2325 | { (exit 1); exit 1; }; } | ||
2326 | 3418 | ||
2327 | echo "$as_me:$LINENO: checking build system type" >&5 | ||
2328 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | ||
2329 | if test "${ac_cv_build+set}" = set; then | ||
2330 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2331 | else | ||
2332 | ac_cv_build_alias=$build_alias | ||
2333 | test -z "$ac_cv_build_alias" && | ||
2334 | ac_cv_build_alias=`$ac_config_guess` | ||
2335 | test -z "$ac_cv_build_alias" && | ||
2336 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | ||
2337 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
2338 | { (exit 1); exit 1; }; } | ||
2339 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | ||
2340 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | ||
2341 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | ||
2342 | { (exit 1); exit 1; }; } | ||
2343 | 3419 | ||
2344 | fi | ||
2345 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | ||
2346 | echo "${ECHO_T}$ac_cv_build" >&6 | ||
2347 | build=$ac_cv_build | ||
2348 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
2349 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
2350 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
2351 | 3420 | ||
2352 | 3421 | ||
2353 | echo "$as_me:$LINENO: checking host system type" >&5 | 3422 | |
2354 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 3423 | |
2355 | if test "${ac_cv_host+set}" = set; then | 3424 | |
3425 | |||
3426 | |||
3427 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
3428 | inttypes.h stdint.h unistd.h | ||
3429 | do | ||
3430 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
3431 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
3432 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
3433 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
2356 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3434 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2357 | else | 3435 | else |
2358 | ac_cv_host_alias=$host_alias | 3436 | cat >conftest.$ac_ext <<_ACEOF |
2359 | test -z "$ac_cv_host_alias" && | 3437 | /* confdefs.h. */ |
2360 | ac_cv_host_alias=$ac_cv_build_alias | 3438 | _ACEOF |
2361 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 3439 | cat confdefs.h >>conftest.$ac_ext |
2362 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 3440 | cat >>conftest.$ac_ext <<_ACEOF |
2363 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 3441 | /* end confdefs.h. */ |
2364 | { (exit 1); exit 1; }; } | 3442 | $ac_includes_default |
2365 | 3443 | ||
3444 | #include <$ac_header> | ||
3445 | _ACEOF | ||
3446 | rm -f conftest.$ac_objext | ||
3447 | if { (ac_try="$ac_compile" | ||
3448 | case "(($ac_try" in | ||
3449 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3450 | *) ac_try_echo=$ac_try;; | ||
3451 | esac | ||
3452 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3453 | (eval "$ac_compile") 2>conftest.er1 | ||
3454 | ac_status=$? | ||
3455 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3456 | rm -f conftest.er1 | ||
3457 | cat conftest.err >&5 | ||
3458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3459 | (exit $ac_status); } && { | ||
3460 | test -z "$ac_c_werror_flag" || | ||
3461 | test ! -s conftest.err | ||
3462 | } && test -s conftest.$ac_objext; then | ||
3463 | eval "$as_ac_Header=yes" | ||
3464 | else | ||
3465 | echo "$as_me: failed program was:" >&5 | ||
3466 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3467 | |||
3468 | eval "$as_ac_Header=no" | ||
2366 | fi | 3469 | fi |
2367 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | ||
2368 | echo "${ECHO_T}$ac_cv_host" >&6 | ||
2369 | host=$ac_cv_host | ||
2370 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
2371 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
2372 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
2373 | 3470 | ||
3471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3472 | fi | ||
3473 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
3474 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
3475 | echo "${ECHO_T}$ac_res" >&6; } | ||
3476 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
3477 | cat >>confdefs.h <<_ACEOF | ||
3478 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
3479 | _ACEOF | ||
3480 | |||
3481 | fi | ||
3482 | |||
3483 | done | ||
2374 | 3484 | ||
2375 | 3485 | ||
2376 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 3486 | { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
2377 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | 3487 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } |
2378 | if test "${ac_cv_c_bigendian+set}" = set; then | 3488 | if test "${ac_cv_c_bigendian+set}" = set; then |
2379 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3489 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2380 | else | 3490 | else |
@@ -2391,7 +3501,8 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
2391 | int | 3501 | int |
2392 | main () | 3502 | main () |
2393 | { | 3503 | { |
2394 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3504 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ |
3505 | && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) | ||
2395 | bogus endian macros | 3506 | bogus endian macros |
2396 | #endif | 3507 | #endif |
2397 | 3508 | ||
@@ -2400,27 +3511,22 @@ main () | |||
2400 | } | 3511 | } |
2401 | _ACEOF | 3512 | _ACEOF |
2402 | rm -f conftest.$ac_objext | 3513 | rm -f conftest.$ac_objext |
2403 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3514 | if { (ac_try="$ac_compile" |
2404 | (eval $ac_compile) 2>conftest.er1 | 3515 | case "(($ac_try" in |
3516 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3517 | *) ac_try_echo=$ac_try;; | ||
3518 | esac | ||
3519 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3520 | (eval "$ac_compile") 2>conftest.er1 | ||
2405 | ac_status=$? | 3521 | ac_status=$? |
2406 | grep -v '^ *+' conftest.er1 >conftest.err | 3522 | grep -v '^ *+' conftest.er1 >conftest.err |
2407 | rm -f conftest.er1 | 3523 | rm -f conftest.er1 |
2408 | cat conftest.err >&5 | 3524 | cat conftest.err >&5 |
2409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2410 | (exit $ac_status); } && | 3526 | (exit $ac_status); } && { |
2411 | { ac_try='test -z "$ac_c_werror_flag" | 3527 | test -z "$ac_c_werror_flag" || |
2412 | || test ! -s conftest.err' | 3528 | test ! -s conftest.err |
2413 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3529 | } && test -s conftest.$ac_objext; then |
2414 | (eval $ac_try) 2>&5 | ||
2415 | ac_status=$? | ||
2416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2417 | (exit $ac_status); }; } && | ||
2418 | { ac_try='test -s conftest.$ac_objext' | ||
2419 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2420 | (eval $ac_try) 2>&5 | ||
2421 | ac_status=$? | ||
2422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2423 | (exit $ac_status); }; }; then | ||
2424 | # It does; now see whether it defined to BIG_ENDIAN or not. | 3530 | # It does; now see whether it defined to BIG_ENDIAN or not. |
2425 | cat >conftest.$ac_ext <<_ACEOF | 3531 | cat >conftest.$ac_ext <<_ACEOF |
2426 | /* confdefs.h. */ | 3532 | /* confdefs.h. */ |
@@ -2443,40 +3549,36 @@ main () | |||
2443 | } | 3549 | } |
2444 | _ACEOF | 3550 | _ACEOF |
2445 | rm -f conftest.$ac_objext | 3551 | rm -f conftest.$ac_objext |
2446 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3552 | if { (ac_try="$ac_compile" |
2447 | (eval $ac_compile) 2>conftest.er1 | 3553 | case "(($ac_try" in |
3554 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3555 | *) ac_try_echo=$ac_try;; | ||
3556 | esac | ||
3557 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3558 | (eval "$ac_compile") 2>conftest.er1 | ||
2448 | ac_status=$? | 3559 | ac_status=$? |
2449 | grep -v '^ *+' conftest.er1 >conftest.err | 3560 | grep -v '^ *+' conftest.er1 >conftest.err |
2450 | rm -f conftest.er1 | 3561 | rm -f conftest.er1 |
2451 | cat conftest.err >&5 | 3562 | cat conftest.err >&5 |
2452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2453 | (exit $ac_status); } && | 3564 | (exit $ac_status); } && { |
2454 | { ac_try='test -z "$ac_c_werror_flag" | 3565 | test -z "$ac_c_werror_flag" || |
2455 | || test ! -s conftest.err' | 3566 | test ! -s conftest.err |
2456 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3567 | } && test -s conftest.$ac_objext; then |
2457 | (eval $ac_try) 2>&5 | ||
2458 | ac_status=$? | ||
2459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2460 | (exit $ac_status); }; } && | ||
2461 | { ac_try='test -s conftest.$ac_objext' | ||
2462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2463 | (eval $ac_try) 2>&5 | ||
2464 | ac_status=$? | ||
2465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2466 | (exit $ac_status); }; }; then | ||
2467 | ac_cv_c_bigendian=yes | 3568 | ac_cv_c_bigendian=yes |
2468 | else | 3569 | else |
2469 | echo "$as_me: failed program was:" >&5 | 3570 | echo "$as_me: failed program was:" >&5 |
2470 | sed 's/^/| /' conftest.$ac_ext >&5 | 3571 | sed 's/^/| /' conftest.$ac_ext >&5 |
2471 | 3572 | ||
2472 | ac_cv_c_bigendian=no | 3573 | ac_cv_c_bigendian=no |
2473 | fi | 3574 | fi |
2474 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3575 | |
3576 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2475 | else | 3577 | else |
2476 | echo "$as_me: failed program was:" >&5 | 3578 | echo "$as_me: failed program was:" >&5 |
2477 | sed 's/^/| /' conftest.$ac_ext >&5 | 3579 | sed 's/^/| /' conftest.$ac_ext >&5 |
2478 | 3580 | ||
2479 | # It does not; compile a test program. | 3581 | # It does not; compile a test program. |
2480 | if test "$cross_compiling" = yes; then | 3582 | if test "$cross_compiling" = yes; then |
2481 | # try to guess the endianness by grepping values into an object file | 3583 | # try to guess the endianness by grepping values into an object file |
2482 | ac_cv_c_bigendian=unknown | 3584 | ac_cv_c_bigendian=unknown |
@@ -2486,11 +3588,11 @@ _ACEOF | |||
2486 | cat confdefs.h >>conftest.$ac_ext | 3588 | cat confdefs.h >>conftest.$ac_ext |
2487 | cat >>conftest.$ac_ext <<_ACEOF | 3589 | cat >>conftest.$ac_ext <<_ACEOF |
2488 | /* end confdefs.h. */ | 3590 | /* end confdefs.h. */ |
2489 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 3591 | short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
2490 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 3592 | short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
2491 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | 3593 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
2492 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | 3594 | short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
2493 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | 3595 | short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
2494 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | 3596 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
2495 | int | 3597 | int |
2496 | main () | 3598 | main () |
@@ -2501,27 +3603,22 @@ main () | |||
2501 | } | 3603 | } |
2502 | _ACEOF | 3604 | _ACEOF |
2503 | rm -f conftest.$ac_objext | 3605 | rm -f conftest.$ac_objext |
2504 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3606 | if { (ac_try="$ac_compile" |
2505 | (eval $ac_compile) 2>conftest.er1 | 3607 | case "(($ac_try" in |
3608 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3609 | *) ac_try_echo=$ac_try;; | ||
3610 | esac | ||
3611 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3612 | (eval "$ac_compile") 2>conftest.er1 | ||
2506 | ac_status=$? | 3613 | ac_status=$? |
2507 | grep -v '^ *+' conftest.er1 >conftest.err | 3614 | grep -v '^ *+' conftest.er1 >conftest.err |
2508 | rm -f conftest.er1 | 3615 | rm -f conftest.er1 |
2509 | cat conftest.err >&5 | 3616 | cat conftest.err >&5 |
2510 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2511 | (exit $ac_status); } && | 3618 | (exit $ac_status); } && { |
2512 | { ac_try='test -z "$ac_c_werror_flag" | 3619 | test -z "$ac_c_werror_flag" || |
2513 | || test ! -s conftest.err' | 3620 | test ! -s conftest.err |
2514 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3621 | } && test -s conftest.$ac_objext; then |
2515 | (eval $ac_try) 2>&5 | ||
2516 | ac_status=$? | ||
2517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2518 | (exit $ac_status); }; } && | ||
2519 | { ac_try='test -s conftest.$ac_objext' | ||
2520 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2521 | (eval $ac_try) 2>&5 | ||
2522 | ac_status=$? | ||
2523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2524 | (exit $ac_status); }; }; then | ||
2525 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | 3622 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
2526 | ac_cv_c_bigendian=yes | 3623 | ac_cv_c_bigendian=yes |
2527 | fi | 3624 | fi |
@@ -2537,8 +3634,10 @@ else | |||
2537 | echo "$as_me: failed program was:" >&5 | 3634 | echo "$as_me: failed program was:" >&5 |
2538 | sed 's/^/| /' conftest.$ac_ext >&5 | 3635 | sed 's/^/| /' conftest.$ac_ext >&5 |
2539 | 3636 | ||
3637 | |||
2540 | fi | 3638 | fi |
2541 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3639 | |
3640 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2542 | else | 3641 | else |
2543 | cat >conftest.$ac_ext <<_ACEOF | 3642 | cat >conftest.$ac_ext <<_ACEOF |
2544 | /* confdefs.h. */ | 3643 | /* confdefs.h. */ |
@@ -2546,27 +3645,41 @@ _ACEOF | |||
2546 | cat confdefs.h >>conftest.$ac_ext | 3645 | cat confdefs.h >>conftest.$ac_ext |
2547 | cat >>conftest.$ac_ext <<_ACEOF | 3646 | cat >>conftest.$ac_ext <<_ACEOF |
2548 | /* end confdefs.h. */ | 3647 | /* end confdefs.h. */ |
3648 | $ac_includes_default | ||
2549 | int | 3649 | int |
2550 | main () | 3650 | main () |
2551 | { | 3651 | { |
3652 | |||
2552 | /* Are we little or big endian? From Harbison&Steele. */ | 3653 | /* Are we little or big endian? From Harbison&Steele. */ |
2553 | union | 3654 | union |
2554 | { | 3655 | { |
2555 | long l; | 3656 | long int l; |
2556 | char c[sizeof (long)]; | 3657 | char c[sizeof (long int)]; |
2557 | } u; | 3658 | } u; |
2558 | u.l = 1; | 3659 | u.l = 1; |
2559 | exit (u.c[sizeof (long) - 1] == 1); | 3660 | return u.c[sizeof (long int) - 1] == 1; |
3661 | |||
3662 | ; | ||
3663 | return 0; | ||
2560 | } | 3664 | } |
2561 | _ACEOF | 3665 | _ACEOF |
2562 | rm -f conftest$ac_exeext | 3666 | rm -f conftest$ac_exeext |
2563 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3667 | if { (ac_try="$ac_link" |
2564 | (eval $ac_link) 2>&5 | 3668 | case "(($ac_try" in |
3669 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3670 | *) ac_try_echo=$ac_try;; | ||
3671 | esac | ||
3672 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3673 | (eval "$ac_link") 2>&5 | ||
2565 | ac_status=$? | 3674 | ac_status=$? |
2566 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2567 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 3676 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
2568 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3677 | { (case "(($ac_try" in |
2569 | (eval $ac_try) 2>&5 | 3678 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3679 | *) ac_try_echo=$ac_try;; | ||
3680 | esac | ||
3681 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3682 | (eval "$ac_try") 2>&5 | ||
2570 | ac_status=$? | 3683 | ac_status=$? |
2571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2572 | (exit $ac_status); }; }; then | 3685 | (exit $ac_status); }; }; then |
@@ -2579,13 +3692,16 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
2579 | ( exit $ac_status ) | 3692 | ( exit $ac_status ) |
2580 | ac_cv_c_bigendian=yes | 3693 | ac_cv_c_bigendian=yes |
2581 | fi | 3694 | fi |
2582 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 3695 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2583 | fi | 3696 | fi |
3697 | |||
3698 | |||
2584 | fi | 3699 | fi |
2585 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3700 | |
3701 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2586 | fi | 3702 | fi |
2587 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 3703 | { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
2588 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | 3704 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } |
2589 | case $ac_cv_c_bigendian in | 3705 | case $ac_cv_c_bigendian in |
2590 | yes) | 3706 | yes) |
2591 | 3707 | ||
@@ -2609,8 +3725,8 @@ for ac_prog in gawk mawk nawk awk | |||
2609 | do | 3725 | do |
2610 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 3726 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2611 | set dummy $ac_prog; ac_word=$2 | 3727 | set dummy $ac_prog; ac_word=$2 |
2612 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3728 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2613 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3729 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2614 | if test "${ac_cv_prog_AWK+set}" = set; then | 3730 | if test "${ac_cv_prog_AWK+set}" = set; then |
2615 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3731 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2616 | else | 3732 | else |
@@ -2623,25 +3739,27 @@ do | |||
2623 | IFS=$as_save_IFS | 3739 | IFS=$as_save_IFS |
2624 | test -z "$as_dir" && as_dir=. | 3740 | test -z "$as_dir" && as_dir=. |
2625 | for ac_exec_ext in '' $ac_executable_extensions; do | 3741 | for ac_exec_ext in '' $ac_executable_extensions; do |
2626 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3742 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2627 | ac_cv_prog_AWK="$ac_prog" | 3743 | ac_cv_prog_AWK="$ac_prog" |
2628 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3744 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2629 | break 2 | 3745 | break 2 |
2630 | fi | 3746 | fi |
2631 | done | 3747 | done |
2632 | done | 3748 | done |
3749 | IFS=$as_save_IFS | ||
2633 | 3750 | ||
2634 | fi | 3751 | fi |
2635 | fi | 3752 | fi |
2636 | AWK=$ac_cv_prog_AWK | 3753 | AWK=$ac_cv_prog_AWK |
2637 | if test -n "$AWK"; then | 3754 | if test -n "$AWK"; then |
2638 | echo "$as_me:$LINENO: result: $AWK" >&5 | 3755 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
2639 | echo "${ECHO_T}$AWK" >&6 | 3756 | echo "${ECHO_T}$AWK" >&6; } |
2640 | else | 3757 | else |
2641 | echo "$as_me:$LINENO: result: no" >&5 | 3758 | { echo "$as_me:$LINENO: result: no" >&5 |
2642 | echo "${ECHO_T}no" >&6 | 3759 | echo "${ECHO_T}no" >&6; } |
2643 | fi | 3760 | fi |
2644 | 3761 | ||
3762 | |||
2645 | test -n "$AWK" && break | 3763 | test -n "$AWK" && break |
2646 | done | 3764 | done |
2647 | 3765 | ||
@@ -2650,8 +3768,8 @@ ac_cpp='$CPP $CPPFLAGS' | |||
2650 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3768 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2651 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3769 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2652 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3770 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2653 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3771 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
2654 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 3772 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
2655 | # On Suns, sometimes $CPP names a directory. | 3773 | # On Suns, sometimes $CPP names a directory. |
2656 | if test -n "$CPP" && test -d "$CPP"; then | 3774 | if test -n "$CPP" && test -d "$CPP"; then |
2657 | CPP= | 3775 | CPP= |
@@ -2685,24 +3803,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
2685 | #endif | 3803 | #endif |
2686 | Syntax error | 3804 | Syntax error |
2687 | _ACEOF | 3805 | _ACEOF |
2688 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3806 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
2689 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3807 | case "(($ac_try" in |
3808 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3809 | *) ac_try_echo=$ac_try;; | ||
3810 | esac | ||
3811 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3812 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2690 | ac_status=$? | 3813 | ac_status=$? |
2691 | grep -v '^ *+' conftest.er1 >conftest.err | 3814 | grep -v '^ *+' conftest.er1 >conftest.err |
2692 | rm -f conftest.er1 | 3815 | rm -f conftest.er1 |
2693 | cat conftest.err >&5 | 3816 | cat conftest.err >&5 |
2694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2695 | (exit $ac_status); } >/dev/null; then | 3818 | (exit $ac_status); } >/dev/null && { |
2696 | if test -s conftest.err; then | 3819 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2697 | ac_cpp_err=$ac_c_preproc_warn_flag | 3820 | test ! -s conftest.err |
2698 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 3821 | }; then |
2699 | else | ||
2700 | ac_cpp_err= | ||
2701 | fi | ||
2702 | else | ||
2703 | ac_cpp_err=yes | ||
2704 | fi | ||
2705 | if test -z "$ac_cpp_err"; then | ||
2706 | : | 3822 | : |
2707 | else | 3823 | else |
2708 | echo "$as_me: failed program was:" >&5 | 3824 | echo "$as_me: failed program was:" >&5 |
@@ -2711,9 +3827,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
2711 | # Broken: fails on valid input. | 3827 | # Broken: fails on valid input. |
2712 | continue | 3828 | continue |
2713 | fi | 3829 | fi |
3830 | |||
2714 | rm -f conftest.err conftest.$ac_ext | 3831 | rm -f conftest.err conftest.$ac_ext |
2715 | 3832 | ||
2716 | # OK, works on sane cases. Now check whether non-existent headers | 3833 | # OK, works on sane cases. Now check whether nonexistent headers |
2717 | # can be detected and how. | 3834 | # can be detected and how. |
2718 | cat >conftest.$ac_ext <<_ACEOF | 3835 | cat >conftest.$ac_ext <<_ACEOF |
2719 | /* confdefs.h. */ | 3836 | /* confdefs.h. */ |
@@ -2723,24 +3840,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
2723 | /* end confdefs.h. */ | 3840 | /* end confdefs.h. */ |
2724 | #include <ac_nonexistent.h> | 3841 | #include <ac_nonexistent.h> |
2725 | _ACEOF | 3842 | _ACEOF |
2726 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3843 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
2727 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3844 | case "(($ac_try" in |
3845 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3846 | *) ac_try_echo=$ac_try;; | ||
3847 | esac | ||
3848 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3849 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2728 | ac_status=$? | 3850 | ac_status=$? |
2729 | grep -v '^ *+' conftest.er1 >conftest.err | 3851 | grep -v '^ *+' conftest.er1 >conftest.err |
2730 | rm -f conftest.er1 | 3852 | rm -f conftest.er1 |
2731 | cat conftest.err >&5 | 3853 | cat conftest.err >&5 |
2732 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2733 | (exit $ac_status); } >/dev/null; then | 3855 | (exit $ac_status); } >/dev/null && { |
2734 | if test -s conftest.err; then | 3856 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2735 | ac_cpp_err=$ac_c_preproc_warn_flag | 3857 | test ! -s conftest.err |
2736 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 3858 | }; then |
2737 | else | ||
2738 | ac_cpp_err= | ||
2739 | fi | ||
2740 | else | ||
2741 | ac_cpp_err=yes | ||
2742 | fi | ||
2743 | if test -z "$ac_cpp_err"; then | ||
2744 | # Broken: success on invalid input. | 3859 | # Broken: success on invalid input. |
2745 | continue | 3860 | continue |
2746 | else | 3861 | else |
@@ -2751,6 +3866,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
2751 | ac_preproc_ok=: | 3866 | ac_preproc_ok=: |
2752 | break | 3867 | break |
2753 | fi | 3868 | fi |
3869 | |||
2754 | rm -f conftest.err conftest.$ac_ext | 3870 | rm -f conftest.err conftest.$ac_ext |
2755 | 3871 | ||
2756 | done | 3872 | done |
@@ -2768,8 +3884,8 @@ fi | |||
2768 | else | 3884 | else |
2769 | ac_cv_prog_CPP=$CPP | 3885 | ac_cv_prog_CPP=$CPP |
2770 | fi | 3886 | fi |
2771 | echo "$as_me:$LINENO: result: $CPP" >&5 | 3887 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
2772 | echo "${ECHO_T}$CPP" >&6 | 3888 | echo "${ECHO_T}$CPP" >&6; } |
2773 | ac_preproc_ok=false | 3889 | ac_preproc_ok=false |
2774 | for ac_c_preproc_warn_flag in '' yes | 3890 | for ac_c_preproc_warn_flag in '' yes |
2775 | do | 3891 | do |
@@ -2792,24 +3908,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
2792 | #endif | 3908 | #endif |
2793 | Syntax error | 3909 | Syntax error |
2794 | _ACEOF | 3910 | _ACEOF |
2795 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3911 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
2796 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3912 | case "(($ac_try" in |
3913 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3914 | *) ac_try_echo=$ac_try;; | ||
3915 | esac | ||
3916 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3917 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2797 | ac_status=$? | 3918 | ac_status=$? |
2798 | grep -v '^ *+' conftest.er1 >conftest.err | 3919 | grep -v '^ *+' conftest.er1 >conftest.err |
2799 | rm -f conftest.er1 | 3920 | rm -f conftest.er1 |
2800 | cat conftest.err >&5 | 3921 | cat conftest.err >&5 |
2801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2802 | (exit $ac_status); } >/dev/null; then | 3923 | (exit $ac_status); } >/dev/null && { |
2803 | if test -s conftest.err; then | 3924 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2804 | ac_cpp_err=$ac_c_preproc_warn_flag | 3925 | test ! -s conftest.err |
2805 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 3926 | }; then |
2806 | else | ||
2807 | ac_cpp_err= | ||
2808 | fi | ||
2809 | else | ||
2810 | ac_cpp_err=yes | ||
2811 | fi | ||
2812 | if test -z "$ac_cpp_err"; then | ||
2813 | : | 3927 | : |
2814 | else | 3928 | else |
2815 | echo "$as_me: failed program was:" >&5 | 3929 | echo "$as_me: failed program was:" >&5 |
@@ -2818,9 +3932,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
2818 | # Broken: fails on valid input. | 3932 | # Broken: fails on valid input. |
2819 | continue | 3933 | continue |
2820 | fi | 3934 | fi |
3935 | |||
2821 | rm -f conftest.err conftest.$ac_ext | 3936 | rm -f conftest.err conftest.$ac_ext |
2822 | 3937 | ||
2823 | # OK, works on sane cases. Now check whether non-existent headers | 3938 | # OK, works on sane cases. Now check whether nonexistent headers |
2824 | # can be detected and how. | 3939 | # can be detected and how. |
2825 | cat >conftest.$ac_ext <<_ACEOF | 3940 | cat >conftest.$ac_ext <<_ACEOF |
2826 | /* confdefs.h. */ | 3941 | /* confdefs.h. */ |
@@ -2830,24 +3945,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
2830 | /* end confdefs.h. */ | 3945 | /* end confdefs.h. */ |
2831 | #include <ac_nonexistent.h> | 3946 | #include <ac_nonexistent.h> |
2832 | _ACEOF | 3947 | _ACEOF |
2833 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3948 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
2834 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3949 | case "(($ac_try" in |
3950 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3951 | *) ac_try_echo=$ac_try;; | ||
3952 | esac | ||
3953 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3954 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2835 | ac_status=$? | 3955 | ac_status=$? |
2836 | grep -v '^ *+' conftest.er1 >conftest.err | 3956 | grep -v '^ *+' conftest.er1 >conftest.err |
2837 | rm -f conftest.er1 | 3957 | rm -f conftest.er1 |
2838 | cat conftest.err >&5 | 3958 | cat conftest.err >&5 |
2839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2840 | (exit $ac_status); } >/dev/null; then | 3960 | (exit $ac_status); } >/dev/null && { |
2841 | if test -s conftest.err; then | 3961 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2842 | ac_cpp_err=$ac_c_preproc_warn_flag | 3962 | test ! -s conftest.err |
2843 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 3963 | }; then |
2844 | else | ||
2845 | ac_cpp_err= | ||
2846 | fi | ||
2847 | else | ||
2848 | ac_cpp_err=yes | ||
2849 | fi | ||
2850 | if test -z "$ac_cpp_err"; then | ||
2851 | # Broken: success on invalid input. | 3964 | # Broken: success on invalid input. |
2852 | continue | 3965 | continue |
2853 | else | 3966 | else |
@@ -2858,6 +3971,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
2858 | ac_preproc_ok=: | 3971 | ac_preproc_ok=: |
2859 | break | 3972 | break |
2860 | fi | 3973 | fi |
3974 | |||
2861 | rm -f conftest.err conftest.$ac_ext | 3975 | rm -f conftest.err conftest.$ac_ext |
2862 | 3976 | ||
2863 | done | 3977 | done |
@@ -2882,8 +3996,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
2882 | if test -n "$ac_tool_prefix"; then | 3996 | if test -n "$ac_tool_prefix"; then |
2883 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 3997 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
2884 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 3998 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
2885 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3999 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2886 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4000 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2887 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 4001 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
2888 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2889 | else | 4003 | else |
@@ -2896,32 +4010,34 @@ do | |||
2896 | IFS=$as_save_IFS | 4010 | IFS=$as_save_IFS |
2897 | test -z "$as_dir" && as_dir=. | 4011 | test -z "$as_dir" && as_dir=. |
2898 | for ac_exec_ext in '' $ac_executable_extensions; do | 4012 | for ac_exec_ext in '' $ac_executable_extensions; do |
2899 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4013 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2900 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 4014 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
2901 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4015 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2902 | break 2 | 4016 | break 2 |
2903 | fi | 4017 | fi |
2904 | done | 4018 | done |
2905 | done | 4019 | done |
4020 | IFS=$as_save_IFS | ||
2906 | 4021 | ||
2907 | fi | 4022 | fi |
2908 | fi | 4023 | fi |
2909 | RANLIB=$ac_cv_prog_RANLIB | 4024 | RANLIB=$ac_cv_prog_RANLIB |
2910 | if test -n "$RANLIB"; then | 4025 | if test -n "$RANLIB"; then |
2911 | echo "$as_me:$LINENO: result: $RANLIB" >&5 | 4026 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
2912 | echo "${ECHO_T}$RANLIB" >&6 | 4027 | echo "${ECHO_T}$RANLIB" >&6; } |
2913 | else | 4028 | else |
2914 | echo "$as_me:$LINENO: result: no" >&5 | 4029 | { echo "$as_me:$LINENO: result: no" >&5 |
2915 | echo "${ECHO_T}no" >&6 | 4030 | echo "${ECHO_T}no" >&6; } |
2916 | fi | 4031 | fi |
2917 | 4032 | ||
4033 | |||
2918 | fi | 4034 | fi |
2919 | if test -z "$ac_cv_prog_RANLIB"; then | 4035 | if test -z "$ac_cv_prog_RANLIB"; then |
2920 | ac_ct_RANLIB=$RANLIB | 4036 | ac_ct_RANLIB=$RANLIB |
2921 | # Extract the first word of "ranlib", so it can be a program name with args. | 4037 | # Extract the first word of "ranlib", so it can be a program name with args. |
2922 | set dummy ranlib; ac_word=$2 | 4038 | set dummy ranlib; ac_word=$2 |
2923 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4039 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2924 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4040 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2925 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 4041 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
2926 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4042 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2927 | else | 4043 | else |
@@ -2934,27 +4050,41 @@ do | |||
2934 | IFS=$as_save_IFS | 4050 | IFS=$as_save_IFS |
2935 | test -z "$as_dir" && as_dir=. | 4051 | test -z "$as_dir" && as_dir=. |
2936 | for ac_exec_ext in '' $ac_executable_extensions; do | 4052 | for ac_exec_ext in '' $ac_executable_extensions; do |
2937 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4053 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2938 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 4054 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
2939 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4055 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2940 | break 2 | 4056 | break 2 |
2941 | fi | 4057 | fi |
2942 | done | 4058 | done |
2943 | done | 4059 | done |
4060 | IFS=$as_save_IFS | ||
2944 | 4061 | ||
2945 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | ||
2946 | fi | 4062 | fi |
2947 | fi | 4063 | fi |
2948 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 4064 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
2949 | if test -n "$ac_ct_RANLIB"; then | 4065 | if test -n "$ac_ct_RANLIB"; then |
2950 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 4066 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
2951 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 4067 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
2952 | else | 4068 | else |
2953 | echo "$as_me:$LINENO: result: no" >&5 | 4069 | { echo "$as_me:$LINENO: result: no" >&5 |
2954 | echo "${ECHO_T}no" >&6 | 4070 | echo "${ECHO_T}no" >&6; } |
2955 | fi | 4071 | fi |
2956 | 4072 | ||
2957 | RANLIB=$ac_ct_RANLIB | 4073 | if test "x$ac_ct_RANLIB" = x; then |
4074 | RANLIB=":" | ||
4075 | else | ||
4076 | case $cross_compiling:$ac_tool_warned in | ||
4077 | yes:) | ||
4078 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
4079 | whose name does not start with the host triplet. If you think this | ||
4080 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
4081 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
4082 | whose name does not start with the host triplet. If you think this | ||
4083 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
4084 | ac_tool_warned=yes ;; | ||
4085 | esac | ||
4086 | RANLIB=$ac_ct_RANLIB | ||
4087 | fi | ||
2958 | else | 4088 | else |
2959 | RANLIB="$ac_cv_prog_RANLIB" | 4089 | RANLIB="$ac_cv_prog_RANLIB" |
2960 | fi | 4090 | fi |
@@ -2972,8 +4102,8 @@ fi | |||
2972 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 4102 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2973 | # OS/2's system install, which has a completely different semantic | 4103 | # OS/2's system install, which has a completely different semantic |
2974 | # ./install, which can be erroneously created by make from ./install.sh. | 4104 | # ./install, which can be erroneously created by make from ./install.sh. |
2975 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 4105 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2976 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 4106 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
2977 | if test -z "$INSTALL"; then | 4107 | if test -z "$INSTALL"; then |
2978 | if test "${ac_cv_path_install+set}" = set; then | 4108 | if test "${ac_cv_path_install+set}" = set; then |
2979 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4109 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2995,7 +4125,7 @@ case $as_dir/ in | |||
2995 | # by default. | 4125 | # by default. |
2996 | for ac_prog in ginstall scoinst install; do | 4126 | for ac_prog in ginstall scoinst install; do |
2997 | for ac_exec_ext in '' $ac_executable_extensions; do | 4127 | for ac_exec_ext in '' $ac_executable_extensions; do |
2998 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 4128 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2999 | if test $ac_prog = install && | 4129 | if test $ac_prog = install && |
3000 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 4130 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3001 | # AIX install. It has an incompatible calling convention. | 4131 | # AIX install. It has an incompatible calling convention. |
@@ -3014,21 +4144,22 @@ case $as_dir/ in | |||
3014 | ;; | 4144 | ;; |
3015 | esac | 4145 | esac |
3016 | done | 4146 | done |
4147 | IFS=$as_save_IFS | ||
3017 | 4148 | ||
3018 | 4149 | ||
3019 | fi | 4150 | fi |
3020 | if test "${ac_cv_path_install+set}" = set; then | 4151 | if test "${ac_cv_path_install+set}" = set; then |
3021 | INSTALL=$ac_cv_path_install | 4152 | INSTALL=$ac_cv_path_install |
3022 | else | 4153 | else |
3023 | # As a last resort, use the slow shell script. We don't cache a | 4154 | # As a last resort, use the slow shell script. Don't cache a |
3024 | # path for INSTALL within a source directory, because that will | 4155 | # value for INSTALL within a source directory, because that will |
3025 | # break other packages using the cache if that directory is | 4156 | # break other packages using the cache if that directory is |
3026 | # removed, or if the path is relative. | 4157 | # removed, or if the value is a relative name. |
3027 | INSTALL=$ac_install_sh | 4158 | INSTALL=$ac_install_sh |
3028 | fi | 4159 | fi |
3029 | fi | 4160 | fi |
3030 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 4161 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3031 | echo "${ECHO_T}$INSTALL" >&6 | 4162 | echo "${ECHO_T}$INSTALL" >&6; } |
3032 | 4163 | ||
3033 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 4164 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3034 | # It thinks the first close brace ends the variable substitution. | 4165 | # It thinks the first close brace ends the variable substitution. |
@@ -3038,25 +4169,93 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |||
3038 | 4169 | ||
3039 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 4170 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3040 | 4171 | ||
3041 | echo "$as_me:$LINENO: checking for egrep" >&5 | 4172 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
3042 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 4173 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
3043 | if test "${ac_cv_prog_egrep+set}" = set; then | 4174 | if test "${ac_cv_path_EGREP+set}" = set; then |
4175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4176 | else | ||
4177 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||
4178 | then ac_cv_path_EGREP="$GREP -E" | ||
4179 | else | ||
4180 | # Extract the first word of "egrep" to use in msg output | ||
4181 | if test -z "$EGREP"; then | ||
4182 | set dummy egrep; ac_prog_name=$2 | ||
4183 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
3044 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3045 | else | 4185 | else |
3046 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 4186 | ac_path_EGREP_found=false |
3047 | then ac_cv_prog_egrep='grep -E' | 4187 | # Loop through the user's path and test for each of PROGNAME-LIST |
3048 | else ac_cv_prog_egrep='egrep' | 4188 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4189 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
4190 | do | ||
4191 | IFS=$as_save_IFS | ||
4192 | test -z "$as_dir" && as_dir=. | ||
4193 | for ac_prog in egrep; do | ||
4194 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
4195 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||
4196 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | ||
4197 | # Check for GNU ac_path_EGREP and select it if it is found. | ||
4198 | # Check for GNU $ac_path_EGREP | ||
4199 | case `"$ac_path_EGREP" --version 2>&1` in | ||
4200 | *GNU*) | ||
4201 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||
4202 | *) | ||
4203 | ac_count=0 | ||
4204 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | ||
4205 | while : | ||
4206 | do | ||
4207 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
4208 | mv "conftest.tmp" "conftest.in" | ||
4209 | cp "conftest.in" "conftest.nl" | ||
4210 | echo 'EGREP' >> "conftest.nl" | ||
4211 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
4212 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
4213 | ac_count=`expr $ac_count + 1` | ||
4214 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||
4215 | # Best one so far, save it but keep looking for a better one | ||
4216 | ac_cv_path_EGREP="$ac_path_EGREP" | ||
4217 | ac_path_EGREP_max=$ac_count | ||
3049 | fi | 4218 | fi |
4219 | # 10*(2^10) chars as input seems more than enough | ||
4220 | test $ac_count -gt 10 && break | ||
4221 | done | ||
4222 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
4223 | esac | ||
4224 | |||
4225 | |||
4226 | $ac_path_EGREP_found && break 3 | ||
4227 | done | ||
4228 | done | ||
4229 | |||
4230 | done | ||
4231 | IFS=$as_save_IFS | ||
4232 | |||
4233 | |||
4234 | fi | ||
4235 | |||
4236 | EGREP="$ac_cv_path_EGREP" | ||
4237 | if test -z "$EGREP"; then | ||
4238 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
4239 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
4240 | { (exit 1); exit 1; }; } | ||
4241 | fi | ||
4242 | |||
4243 | else | ||
4244 | ac_cv_path_EGREP=$EGREP | ||
4245 | fi | ||
4246 | |||
4247 | |||
4248 | fi | ||
3050 | fi | 4249 | fi |
3051 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 4250 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3052 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 4251 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
3053 | EGREP=$ac_cv_prog_egrep | 4252 | EGREP="$ac_cv_path_EGREP" |
3054 | 4253 | ||
3055 | 4254 | ||
3056 | # Extract the first word of "ar", so it can be a program name with args. | 4255 | # Extract the first word of "ar", so it can be a program name with args. |
3057 | set dummy ar; ac_word=$2 | 4256 | set dummy ar; ac_word=$2 |
3058 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4257 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3059 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4258 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3060 | if test "${ac_cv_path_AR+set}" = set; then | 4259 | if test "${ac_cv_path_AR+set}" = set; then |
3061 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4260 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3062 | else | 4261 | else |
@@ -3071,31 +4270,32 @@ do | |||
3071 | IFS=$as_save_IFS | 4270 | IFS=$as_save_IFS |
3072 | test -z "$as_dir" && as_dir=. | 4271 | test -z "$as_dir" && as_dir=. |
3073 | for ac_exec_ext in '' $ac_executable_extensions; do | 4272 | for ac_exec_ext in '' $ac_executable_extensions; do |
3074 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4273 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3075 | ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | 4274 | ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" |
3076 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4275 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3077 | break 2 | 4276 | break 2 |
3078 | fi | 4277 | fi |
3079 | done | 4278 | done |
3080 | done | 4279 | done |
4280 | IFS=$as_save_IFS | ||
3081 | 4281 | ||
3082 | ;; | 4282 | ;; |
3083 | esac | 4283 | esac |
3084 | fi | 4284 | fi |
3085 | AR=$ac_cv_path_AR | 4285 | AR=$ac_cv_path_AR |
3086 | |||
3087 | if test -n "$AR"; then | 4286 | if test -n "$AR"; then |
3088 | echo "$as_me:$LINENO: result: $AR" >&5 | 4287 | { echo "$as_me:$LINENO: result: $AR" >&5 |
3089 | echo "${ECHO_T}$AR" >&6 | 4288 | echo "${ECHO_T}$AR" >&6; } |
3090 | else | 4289 | else |
3091 | echo "$as_me:$LINENO: result: no" >&5 | 4290 | { echo "$as_me:$LINENO: result: no" >&5 |
3092 | echo "${ECHO_T}no" >&6 | 4291 | echo "${ECHO_T}no" >&6; } |
3093 | fi | 4292 | fi |
3094 | 4293 | ||
4294 | |||
3095 | # Extract the first word of "cat", so it can be a program name with args. | 4295 | # Extract the first word of "cat", so it can be a program name with args. |
3096 | set dummy cat; ac_word=$2 | 4296 | set dummy cat; ac_word=$2 |
3097 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4297 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3098 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4298 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3099 | if test "${ac_cv_path_CAT+set}" = set; then | 4299 | if test "${ac_cv_path_CAT+set}" = set; then |
3100 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4300 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3101 | else | 4301 | else |
@@ -3110,31 +4310,32 @@ do | |||
3110 | IFS=$as_save_IFS | 4310 | IFS=$as_save_IFS |
3111 | test -z "$as_dir" && as_dir=. | 4311 | test -z "$as_dir" && as_dir=. |
3112 | for ac_exec_ext in '' $ac_executable_extensions; do | 4312 | for ac_exec_ext in '' $ac_executable_extensions; do |
3113 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4313 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3114 | ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" | 4314 | ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" |
3115 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4315 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3116 | break 2 | 4316 | break 2 |
3117 | fi | 4317 | fi |
3118 | done | 4318 | done |
3119 | done | 4319 | done |
4320 | IFS=$as_save_IFS | ||
3120 | 4321 | ||
3121 | ;; | 4322 | ;; |
3122 | esac | 4323 | esac |
3123 | fi | 4324 | fi |
3124 | CAT=$ac_cv_path_CAT | 4325 | CAT=$ac_cv_path_CAT |
3125 | |||
3126 | if test -n "$CAT"; then | 4326 | if test -n "$CAT"; then |
3127 | echo "$as_me:$LINENO: result: $CAT" >&5 | 4327 | { echo "$as_me:$LINENO: result: $CAT" >&5 |
3128 | echo "${ECHO_T}$CAT" >&6 | 4328 | echo "${ECHO_T}$CAT" >&6; } |
3129 | else | 4329 | else |
3130 | echo "$as_me:$LINENO: result: no" >&5 | 4330 | { echo "$as_me:$LINENO: result: no" >&5 |
3131 | echo "${ECHO_T}no" >&6 | 4331 | echo "${ECHO_T}no" >&6; } |
3132 | fi | 4332 | fi |
3133 | 4333 | ||
4334 | |||
3134 | # Extract the first word of "kill", so it can be a program name with args. | 4335 | # Extract the first word of "kill", so it can be a program name with args. |
3135 | set dummy kill; ac_word=$2 | 4336 | set dummy kill; ac_word=$2 |
3136 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4337 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3137 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4338 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3138 | if test "${ac_cv_path_KILL+set}" = set; then | 4339 | if test "${ac_cv_path_KILL+set}" = set; then |
3139 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4340 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3140 | else | 4341 | else |
@@ -3149,33 +4350,34 @@ do | |||
3149 | IFS=$as_save_IFS | 4350 | IFS=$as_save_IFS |
3150 | test -z "$as_dir" && as_dir=. | 4351 | test -z "$as_dir" && as_dir=. |
3151 | for ac_exec_ext in '' $ac_executable_extensions; do | 4352 | for ac_exec_ext in '' $ac_executable_extensions; do |
3152 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4353 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3153 | ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext" | 4354 | ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext" |
3154 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4355 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3155 | break 2 | 4356 | break 2 |
3156 | fi | 4357 | fi |
3157 | done | 4358 | done |
3158 | done | 4359 | done |
4360 | IFS=$as_save_IFS | ||
3159 | 4361 | ||
3160 | ;; | 4362 | ;; |
3161 | esac | 4363 | esac |
3162 | fi | 4364 | fi |
3163 | KILL=$ac_cv_path_KILL | 4365 | KILL=$ac_cv_path_KILL |
3164 | |||
3165 | if test -n "$KILL"; then | 4366 | if test -n "$KILL"; then |
3166 | echo "$as_me:$LINENO: result: $KILL" >&5 | 4367 | { echo "$as_me:$LINENO: result: $KILL" >&5 |
3167 | echo "${ECHO_T}$KILL" >&6 | 4368 | echo "${ECHO_T}$KILL" >&6; } |
3168 | else | 4369 | else |
3169 | echo "$as_me:$LINENO: result: no" >&5 | 4370 | { echo "$as_me:$LINENO: result: no" >&5 |
3170 | echo "${ECHO_T}no" >&6 | 4371 | echo "${ECHO_T}no" >&6; } |
3171 | fi | 4372 | fi |
3172 | 4373 | ||
4374 | |||
3173 | for ac_prog in perl5 perl | 4375 | for ac_prog in perl5 perl |
3174 | do | 4376 | do |
3175 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 4377 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3176 | set dummy $ac_prog; ac_word=$2 | 4378 | set dummy $ac_prog; ac_word=$2 |
3177 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4379 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3178 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4380 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3179 | if test "${ac_cv_path_PERL+set}" = set; then | 4381 | if test "${ac_cv_path_PERL+set}" = set; then |
3180 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4382 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3181 | else | 4383 | else |
@@ -3190,34 +4392,35 @@ do | |||
3190 | IFS=$as_save_IFS | 4392 | IFS=$as_save_IFS |
3191 | test -z "$as_dir" && as_dir=. | 4393 | test -z "$as_dir" && as_dir=. |
3192 | for ac_exec_ext in '' $ac_executable_extensions; do | 4394 | for ac_exec_ext in '' $ac_executable_extensions; do |
3193 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4395 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3194 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | 4396 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
3195 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4397 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3196 | break 2 | 4398 | break 2 |
3197 | fi | 4399 | fi |
3198 | done | 4400 | done |
3199 | done | 4401 | done |
4402 | IFS=$as_save_IFS | ||
3200 | 4403 | ||
3201 | ;; | 4404 | ;; |
3202 | esac | 4405 | esac |
3203 | fi | 4406 | fi |
3204 | PERL=$ac_cv_path_PERL | 4407 | PERL=$ac_cv_path_PERL |
3205 | |||
3206 | if test -n "$PERL"; then | 4408 | if test -n "$PERL"; then |
3207 | echo "$as_me:$LINENO: result: $PERL" >&5 | 4409 | { echo "$as_me:$LINENO: result: $PERL" >&5 |
3208 | echo "${ECHO_T}$PERL" >&6 | 4410 | echo "${ECHO_T}$PERL" >&6; } |
3209 | else | 4411 | else |
3210 | echo "$as_me:$LINENO: result: no" >&5 | 4412 | { echo "$as_me:$LINENO: result: no" >&5 |
3211 | echo "${ECHO_T}no" >&6 | 4413 | echo "${ECHO_T}no" >&6; } |
3212 | fi | 4414 | fi |
3213 | 4415 | ||
4416 | |||
3214 | test -n "$PERL" && break | 4417 | test -n "$PERL" && break |
3215 | done | 4418 | done |
3216 | 4419 | ||
3217 | # Extract the first word of "sed", so it can be a program name with args. | 4420 | # Extract the first word of "sed", so it can be a program name with args. |
3218 | set dummy sed; ac_word=$2 | 4421 | set dummy sed; ac_word=$2 |
3219 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4422 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3220 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4423 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3221 | if test "${ac_cv_path_SED+set}" = set; then | 4424 | if test "${ac_cv_path_SED+set}" = set; then |
3222 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4425 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3223 | else | 4426 | else |
@@ -3232,32 +4435,33 @@ do | |||
3232 | IFS=$as_save_IFS | 4435 | IFS=$as_save_IFS |
3233 | test -z "$as_dir" && as_dir=. | 4436 | test -z "$as_dir" && as_dir=. |
3234 | for ac_exec_ext in '' $ac_executable_extensions; do | 4437 | for ac_exec_ext in '' $ac_executable_extensions; do |
3235 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4438 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3236 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | 4439 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
3237 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4440 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3238 | break 2 | 4441 | break 2 |
3239 | fi | 4442 | fi |
3240 | done | 4443 | done |
3241 | done | 4444 | done |
4445 | IFS=$as_save_IFS | ||
3242 | 4446 | ||
3243 | ;; | 4447 | ;; |
3244 | esac | 4448 | esac |
3245 | fi | 4449 | fi |
3246 | SED=$ac_cv_path_SED | 4450 | SED=$ac_cv_path_SED |
3247 | |||
3248 | if test -n "$SED"; then | 4451 | if test -n "$SED"; then |
3249 | echo "$as_me:$LINENO: result: $SED" >&5 | 4452 | { echo "$as_me:$LINENO: result: $SED" >&5 |
3250 | echo "${ECHO_T}$SED" >&6 | 4453 | echo "${ECHO_T}$SED" >&6; } |
3251 | else | 4454 | else |
3252 | echo "$as_me:$LINENO: result: no" >&5 | 4455 | { echo "$as_me:$LINENO: result: no" >&5 |
3253 | echo "${ECHO_T}no" >&6 | 4456 | echo "${ECHO_T}no" >&6; } |
3254 | fi | 4457 | fi |
3255 | 4458 | ||
3256 | 4459 | ||
4460 | |||
3257 | # Extract the first word of "ent", so it can be a program name with args. | 4461 | # Extract the first word of "ent", so it can be a program name with args. |
3258 | set dummy ent; ac_word=$2 | 4462 | set dummy ent; ac_word=$2 |
3259 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4463 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3260 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4464 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3261 | if test "${ac_cv_path_ENT+set}" = set; then | 4465 | if test "${ac_cv_path_ENT+set}" = set; then |
3262 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4466 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3263 | else | 4467 | else |
@@ -3272,32 +4476,33 @@ do | |||
3272 | IFS=$as_save_IFS | 4476 | IFS=$as_save_IFS |
3273 | test -z "$as_dir" && as_dir=. | 4477 | test -z "$as_dir" && as_dir=. |
3274 | for ac_exec_ext in '' $ac_executable_extensions; do | 4478 | for ac_exec_ext in '' $ac_executable_extensions; do |
3275 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4479 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3276 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" | 4480 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" |
3277 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4481 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3278 | break 2 | 4482 | break 2 |
3279 | fi | 4483 | fi |
3280 | done | 4484 | done |
3281 | done | 4485 | done |
4486 | IFS=$as_save_IFS | ||
3282 | 4487 | ||
3283 | ;; | 4488 | ;; |
3284 | esac | 4489 | esac |
3285 | fi | 4490 | fi |
3286 | ENT=$ac_cv_path_ENT | 4491 | ENT=$ac_cv_path_ENT |
3287 | |||
3288 | if test -n "$ENT"; then | 4492 | if test -n "$ENT"; then |
3289 | echo "$as_me:$LINENO: result: $ENT" >&5 | 4493 | { echo "$as_me:$LINENO: result: $ENT" >&5 |
3290 | echo "${ECHO_T}$ENT" >&6 | 4494 | echo "${ECHO_T}$ENT" >&6; } |
3291 | else | 4495 | else |
3292 | echo "$as_me:$LINENO: result: no" >&5 | 4496 | { echo "$as_me:$LINENO: result: no" >&5 |
3293 | echo "${ECHO_T}no" >&6 | 4497 | echo "${ECHO_T}no" >&6; } |
3294 | fi | 4498 | fi |
3295 | 4499 | ||
3296 | 4500 | ||
4501 | |||
3297 | # Extract the first word of "bash", so it can be a program name with args. | 4502 | # Extract the first word of "bash", so it can be a program name with args. |
3298 | set dummy bash; ac_word=$2 | 4503 | set dummy bash; ac_word=$2 |
3299 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4504 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3300 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4505 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3301 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4506 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
3302 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3303 | else | 4508 | else |
@@ -3312,31 +4517,32 @@ do | |||
3312 | IFS=$as_save_IFS | 4517 | IFS=$as_save_IFS |
3313 | test -z "$as_dir" && as_dir=. | 4518 | test -z "$as_dir" && as_dir=. |
3314 | for ac_exec_ext in '' $ac_executable_extensions; do | 4519 | for ac_exec_ext in '' $ac_executable_extensions; do |
3315 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4520 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3316 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4521 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
3317 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4522 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3318 | break 2 | 4523 | break 2 |
3319 | fi | 4524 | fi |
3320 | done | 4525 | done |
3321 | done | 4526 | done |
4527 | IFS=$as_save_IFS | ||
3322 | 4528 | ||
3323 | ;; | 4529 | ;; |
3324 | esac | 4530 | esac |
3325 | fi | 4531 | fi |
3326 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4532 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
3327 | |||
3328 | if test -n "$TEST_MINUS_S_SH"; then | 4533 | if test -n "$TEST_MINUS_S_SH"; then |
3329 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 4534 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 |
3330 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | 4535 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } |
3331 | else | 4536 | else |
3332 | echo "$as_me:$LINENO: result: no" >&5 | 4537 | { echo "$as_me:$LINENO: result: no" >&5 |
3333 | echo "${ECHO_T}no" >&6 | 4538 | echo "${ECHO_T}no" >&6; } |
3334 | fi | 4539 | fi |
3335 | 4540 | ||
4541 | |||
3336 | # Extract the first word of "ksh", so it can be a program name with args. | 4542 | # Extract the first word of "ksh", so it can be a program name with args. |
3337 | set dummy ksh; ac_word=$2 | 4543 | set dummy ksh; ac_word=$2 |
3338 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4544 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3339 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4545 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3340 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4546 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
3341 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4547 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3342 | else | 4548 | else |
@@ -3351,31 +4557,32 @@ do | |||
3351 | IFS=$as_save_IFS | 4557 | IFS=$as_save_IFS |
3352 | test -z "$as_dir" && as_dir=. | 4558 | test -z "$as_dir" && as_dir=. |
3353 | for ac_exec_ext in '' $ac_executable_extensions; do | 4559 | for ac_exec_ext in '' $ac_executable_extensions; do |
3354 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4560 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3355 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4561 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
3356 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4562 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3357 | break 2 | 4563 | break 2 |
3358 | fi | 4564 | fi |
3359 | done | 4565 | done |
3360 | done | 4566 | done |
4567 | IFS=$as_save_IFS | ||
3361 | 4568 | ||
3362 | ;; | 4569 | ;; |
3363 | esac | 4570 | esac |
3364 | fi | 4571 | fi |
3365 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4572 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
3366 | |||
3367 | if test -n "$TEST_MINUS_S_SH"; then | 4573 | if test -n "$TEST_MINUS_S_SH"; then |
3368 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 4574 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 |
3369 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | 4575 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } |
3370 | else | 4576 | else |
3371 | echo "$as_me:$LINENO: result: no" >&5 | 4577 | { echo "$as_me:$LINENO: result: no" >&5 |
3372 | echo "${ECHO_T}no" >&6 | 4578 | echo "${ECHO_T}no" >&6; } |
3373 | fi | 4579 | fi |
3374 | 4580 | ||
4581 | |||
3375 | # Extract the first word of "sh", so it can be a program name with args. | 4582 | # Extract the first word of "sh", so it can be a program name with args. |
3376 | set dummy sh; ac_word=$2 | 4583 | set dummy sh; ac_word=$2 |
3377 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4584 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3378 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4585 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3379 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4586 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
3380 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4587 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3381 | else | 4588 | else |
@@ -3390,31 +4597,32 @@ do | |||
3390 | IFS=$as_save_IFS | 4597 | IFS=$as_save_IFS |
3391 | test -z "$as_dir" && as_dir=. | 4598 | test -z "$as_dir" && as_dir=. |
3392 | for ac_exec_ext in '' $ac_executable_extensions; do | 4599 | for ac_exec_ext in '' $ac_executable_extensions; do |
3393 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4600 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3394 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4601 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
3395 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4602 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3396 | break 2 | 4603 | break 2 |
3397 | fi | 4604 | fi |
3398 | done | 4605 | done |
3399 | done | 4606 | done |
4607 | IFS=$as_save_IFS | ||
3400 | 4608 | ||
3401 | ;; | 4609 | ;; |
3402 | esac | 4610 | esac |
3403 | fi | 4611 | fi |
3404 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4612 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
3405 | |||
3406 | if test -n "$TEST_MINUS_S_SH"; then | 4613 | if test -n "$TEST_MINUS_S_SH"; then |
3407 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 4614 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 |
3408 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | 4615 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } |
3409 | else | 4616 | else |
3410 | echo "$as_me:$LINENO: result: no" >&5 | 4617 | { echo "$as_me:$LINENO: result: no" >&5 |
3411 | echo "${ECHO_T}no" >&6 | 4618 | echo "${ECHO_T}no" >&6; } |
3412 | fi | 4619 | fi |
3413 | 4620 | ||
4621 | |||
3414 | # Extract the first word of "sh", so it can be a program name with args. | 4622 | # Extract the first word of "sh", so it can be a program name with args. |
3415 | set dummy sh; ac_word=$2 | 4623 | set dummy sh; ac_word=$2 |
3416 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4624 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3417 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4625 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3418 | if test "${ac_cv_path_SH+set}" = set; then | 4626 | if test "${ac_cv_path_SH+set}" = set; then |
3419 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4627 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3420 | else | 4628 | else |
@@ -3429,34 +4637,35 @@ do | |||
3429 | IFS=$as_save_IFS | 4637 | IFS=$as_save_IFS |
3430 | test -z "$as_dir" && as_dir=. | 4638 | test -z "$as_dir" && as_dir=. |
3431 | for ac_exec_ext in '' $ac_executable_extensions; do | 4639 | for ac_exec_ext in '' $ac_executable_extensions; do |
3432 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4640 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3433 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" | 4641 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" |
3434 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4642 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3435 | break 2 | 4643 | break 2 |
3436 | fi | 4644 | fi |
3437 | done | 4645 | done |
3438 | done | 4646 | done |
4647 | IFS=$as_save_IFS | ||
3439 | 4648 | ||
3440 | ;; | 4649 | ;; |
3441 | esac | 4650 | esac |
3442 | fi | 4651 | fi |
3443 | SH=$ac_cv_path_SH | 4652 | SH=$ac_cv_path_SH |
3444 | |||
3445 | if test -n "$SH"; then | 4653 | if test -n "$SH"; then |
3446 | echo "$as_me:$LINENO: result: $SH" >&5 | 4654 | { echo "$as_me:$LINENO: result: $SH" >&5 |
3447 | echo "${ECHO_T}$SH" >&6 | 4655 | echo "${ECHO_T}$SH" >&6; } |
3448 | else | 4656 | else |
3449 | echo "$as_me:$LINENO: result: no" >&5 | 4657 | { echo "$as_me:$LINENO: result: no" >&5 |
3450 | echo "${ECHO_T}no" >&6 | 4658 | echo "${ECHO_T}no" >&6; } |
3451 | fi | 4659 | fi |
3452 | 4660 | ||
4661 | |||
3453 | TEST_SHELL=sh | 4662 | TEST_SHELL=sh |
3454 | 4663 | ||
3455 | 4664 | ||
3456 | # Extract the first word of "groupadd", so it can be a program name with args. | 4665 | # Extract the first word of "groupadd", so it can be a program name with args. |
3457 | set dummy groupadd; ac_word=$2 | 4666 | set dummy groupadd; ac_word=$2 |
3458 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4667 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3459 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4668 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3460 | if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then | 4669 | if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then |
3461 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4670 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3462 | else | 4671 | else |
@@ -3471,32 +4680,33 @@ do | |||
3471 | IFS=$as_save_IFS | 4680 | IFS=$as_save_IFS |
3472 | test -z "$as_dir" && as_dir=. | 4681 | test -z "$as_dir" && as_dir=. |
3473 | for ac_exec_ext in '' $ac_executable_extensions; do | 4682 | for ac_exec_ext in '' $ac_executable_extensions; do |
3474 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4683 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3475 | ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext" | 4684 | ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext" |
3476 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4685 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3477 | break 2 | 4686 | break 2 |
3478 | fi | 4687 | fi |
3479 | done | 4688 | done |
3480 | done | 4689 | done |
4690 | IFS=$as_save_IFS | ||
3481 | 4691 | ||
3482 | test -z "$ac_cv_path_PATH_GROUPADD_PROG" && ac_cv_path_PATH_GROUPADD_PROG="groupadd" | 4692 | test -z "$ac_cv_path_PATH_GROUPADD_PROG" && ac_cv_path_PATH_GROUPADD_PROG="groupadd" |
3483 | ;; | 4693 | ;; |
3484 | esac | 4694 | esac |
3485 | fi | 4695 | fi |
3486 | PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG | 4696 | PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG |
3487 | |||
3488 | if test -n "$PATH_GROUPADD_PROG"; then | 4697 | if test -n "$PATH_GROUPADD_PROG"; then |
3489 | echo "$as_me:$LINENO: result: $PATH_GROUPADD_PROG" >&5 | 4698 | { echo "$as_me:$LINENO: result: $PATH_GROUPADD_PROG" >&5 |
3490 | echo "${ECHO_T}$PATH_GROUPADD_PROG" >&6 | 4699 | echo "${ECHO_T}$PATH_GROUPADD_PROG" >&6; } |
3491 | else | 4700 | else |
3492 | echo "$as_me:$LINENO: result: no" >&5 | 4701 | { echo "$as_me:$LINENO: result: no" >&5 |
3493 | echo "${ECHO_T}no" >&6 | 4702 | echo "${ECHO_T}no" >&6; } |
3494 | fi | 4703 | fi |
3495 | 4704 | ||
4705 | |||
3496 | # Extract the first word of "useradd", so it can be a program name with args. | 4706 | # Extract the first word of "useradd", so it can be a program name with args. |
3497 | set dummy useradd; ac_word=$2 | 4707 | set dummy useradd; ac_word=$2 |
3498 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4708 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3499 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4709 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3500 | if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then | 4710 | if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then |
3501 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4711 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3502 | else | 4712 | else |
@@ -3511,32 +4721,33 @@ do | |||
3511 | IFS=$as_save_IFS | 4721 | IFS=$as_save_IFS |
3512 | test -z "$as_dir" && as_dir=. | 4722 | test -z "$as_dir" && as_dir=. |
3513 | for ac_exec_ext in '' $ac_executable_extensions; do | 4723 | for ac_exec_ext in '' $ac_executable_extensions; do |
3514 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4724 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3515 | ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext" | 4725 | ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext" |
3516 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4726 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3517 | break 2 | 4727 | break 2 |
3518 | fi | 4728 | fi |
3519 | done | 4729 | done |
3520 | done | 4730 | done |
4731 | IFS=$as_save_IFS | ||
3521 | 4732 | ||
3522 | test -z "$ac_cv_path_PATH_USERADD_PROG" && ac_cv_path_PATH_USERADD_PROG="useradd" | 4733 | test -z "$ac_cv_path_PATH_USERADD_PROG" && ac_cv_path_PATH_USERADD_PROG="useradd" |
3523 | ;; | 4734 | ;; |
3524 | esac | 4735 | esac |
3525 | fi | 4736 | fi |
3526 | PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG | 4737 | PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG |
3527 | |||
3528 | if test -n "$PATH_USERADD_PROG"; then | 4738 | if test -n "$PATH_USERADD_PROG"; then |
3529 | echo "$as_me:$LINENO: result: $PATH_USERADD_PROG" >&5 | 4739 | { echo "$as_me:$LINENO: result: $PATH_USERADD_PROG" >&5 |
3530 | echo "${ECHO_T}$PATH_USERADD_PROG" >&6 | 4740 | echo "${ECHO_T}$PATH_USERADD_PROG" >&6; } |
3531 | else | 4741 | else |
3532 | echo "$as_me:$LINENO: result: no" >&5 | 4742 | { echo "$as_me:$LINENO: result: no" >&5 |
3533 | echo "${ECHO_T}no" >&6 | 4743 | echo "${ECHO_T}no" >&6; } |
3534 | fi | 4744 | fi |
3535 | 4745 | ||
4746 | |||
3536 | # Extract the first word of "pkgmk", so it can be a program name with args. | 4747 | # Extract the first word of "pkgmk", so it can be a program name with args. |
3537 | set dummy pkgmk; ac_word=$2 | 4748 | set dummy pkgmk; ac_word=$2 |
3538 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4749 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3539 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4750 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3540 | if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then | 4751 | if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then |
3541 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4752 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3542 | else | 4753 | else |
@@ -3549,26 +4760,28 @@ do | |||
3549 | IFS=$as_save_IFS | 4760 | IFS=$as_save_IFS |
3550 | test -z "$as_dir" && as_dir=. | 4761 | test -z "$as_dir" && as_dir=. |
3551 | for ac_exec_ext in '' $ac_executable_extensions; do | 4762 | for ac_exec_ext in '' $ac_executable_extensions; do |
3552 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4763 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3553 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes" | 4764 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes" |
3554 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4765 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3555 | break 2 | 4766 | break 2 |
3556 | fi | 4767 | fi |
3557 | done | 4768 | done |
3558 | done | 4769 | done |
4770 | IFS=$as_save_IFS | ||
3559 | 4771 | ||
3560 | test -z "$ac_cv_prog_MAKE_PACKAGE_SUPPORTED" && ac_cv_prog_MAKE_PACKAGE_SUPPORTED="no" | 4772 | test -z "$ac_cv_prog_MAKE_PACKAGE_SUPPORTED" && ac_cv_prog_MAKE_PACKAGE_SUPPORTED="no" |
3561 | fi | 4773 | fi |
3562 | fi | 4774 | fi |
3563 | MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED | 4775 | MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED |
3564 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then | 4776 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then |
3565 | echo "$as_me:$LINENO: result: $MAKE_PACKAGE_SUPPORTED" >&5 | 4777 | { echo "$as_me:$LINENO: result: $MAKE_PACKAGE_SUPPORTED" >&5 |
3566 | echo "${ECHO_T}$MAKE_PACKAGE_SUPPORTED" >&6 | 4778 | echo "${ECHO_T}$MAKE_PACKAGE_SUPPORTED" >&6; } |
3567 | else | 4779 | else |
3568 | echo "$as_me:$LINENO: result: no" >&5 | 4780 | { echo "$as_me:$LINENO: result: no" >&5 |
3569 | echo "${ECHO_T}no" >&6 | 4781 | echo "${ECHO_T}no" >&6; } |
3570 | fi | 4782 | fi |
3571 | 4783 | ||
4784 | |||
3572 | if test -x /sbin/sh; then | 4785 | if test -x /sbin/sh; then |
3573 | STARTUP_SCRIPT_SHELL=/sbin/sh | 4786 | STARTUP_SCRIPT_SHELL=/sbin/sh |
3574 | 4787 | ||
@@ -3578,15 +4791,15 @@ else | |||
3578 | fi | 4791 | fi |
3579 | 4792 | ||
3580 | # System features | 4793 | # System features |
3581 | # Check whether --enable-largefile or --disable-largefile was given. | 4794 | # Check whether --enable-largefile was given. |
3582 | if test "${enable_largefile+set}" = set; then | 4795 | if test "${enable_largefile+set}" = set; then |
3583 | enableval="$enable_largefile" | 4796 | enableval=$enable_largefile; |
4797 | fi | ||
3584 | 4798 | ||
3585 | fi; | ||
3586 | if test "$enable_largefile" != no; then | 4799 | if test "$enable_largefile" != no; then |
3587 | 4800 | ||
3588 | echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 4801 | { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
3589 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 | 4802 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } |
3590 | if test "${ac_cv_sys_largefile_CC+set}" = set; then | 4803 | if test "${ac_cv_sys_largefile_CC+set}" = set; then |
3591 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4804 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3592 | else | 4805 | else |
@@ -3594,8 +4807,8 @@ else | |||
3594 | if test "$GCC" != yes; then | 4807 | if test "$GCC" != yes; then |
3595 | ac_save_CC=$CC | 4808 | ac_save_CC=$CC |
3596 | while :; do | 4809 | while :; do |
3597 | # IRIX 6.2 and later do not support large files by default, | 4810 | # IRIX 6.2 and later do not support large files by default, |
3598 | # so use the C compiler's -n32 option if that helps. | 4811 | # so use the C compiler's -n32 option if that helps. |
3599 | cat >conftest.$ac_ext <<_ACEOF | 4812 | cat >conftest.$ac_ext <<_ACEOF |
3600 | /* confdefs.h. */ | 4813 | /* confdefs.h. */ |
3601 | _ACEOF | 4814 | _ACEOF |
@@ -3619,84 +4832,77 @@ main () | |||
3619 | return 0; | 4832 | return 0; |
3620 | } | 4833 | } |
3621 | _ACEOF | 4834 | _ACEOF |
3622 | rm -f conftest.$ac_objext | 4835 | rm -f conftest.$ac_objext |
3623 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4836 | if { (ac_try="$ac_compile" |
3624 | (eval $ac_compile) 2>conftest.er1 | 4837 | case "(($ac_try" in |
4838 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4839 | *) ac_try_echo=$ac_try;; | ||
4840 | esac | ||
4841 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
4842 | (eval "$ac_compile") 2>conftest.er1 | ||
3625 | ac_status=$? | 4843 | ac_status=$? |
3626 | grep -v '^ *+' conftest.er1 >conftest.err | 4844 | grep -v '^ *+' conftest.er1 >conftest.err |
3627 | rm -f conftest.er1 | 4845 | rm -f conftest.er1 |
3628 | cat conftest.err >&5 | 4846 | cat conftest.err >&5 |
3629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4847 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3630 | (exit $ac_status); } && | 4848 | (exit $ac_status); } && { |
3631 | { ac_try='test -z "$ac_c_werror_flag" | 4849 | test -z "$ac_c_werror_flag" || |
3632 | || test ! -s conftest.err' | 4850 | test ! -s conftest.err |
3633 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4851 | } && test -s conftest.$ac_objext; then |
3634 | (eval $ac_try) 2>&5 | ||
3635 | ac_status=$? | ||
3636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3637 | (exit $ac_status); }; } && | ||
3638 | { ac_try='test -s conftest.$ac_objext' | ||
3639 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3640 | (eval $ac_try) 2>&5 | ||
3641 | ac_status=$? | ||
3642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3643 | (exit $ac_status); }; }; then | ||
3644 | break | 4852 | break |
3645 | else | 4853 | else |
3646 | echo "$as_me: failed program was:" >&5 | 4854 | echo "$as_me: failed program was:" >&5 |
3647 | sed 's/^/| /' conftest.$ac_ext >&5 | 4855 | sed 's/^/| /' conftest.$ac_ext >&5 |
3648 | 4856 | ||
4857 | |||
3649 | fi | 4858 | fi |
3650 | rm -f conftest.err conftest.$ac_objext | 4859 | |
3651 | CC="$CC -n32" | 4860 | rm -f core conftest.err conftest.$ac_objext |
3652 | rm -f conftest.$ac_objext | 4861 | CC="$CC -n32" |
3653 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4862 | rm -f conftest.$ac_objext |
3654 | (eval $ac_compile) 2>conftest.er1 | 4863 | if { (ac_try="$ac_compile" |
4864 | case "(($ac_try" in | ||
4865 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4866 | *) ac_try_echo=$ac_try;; | ||
4867 | esac | ||
4868 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
4869 | (eval "$ac_compile") 2>conftest.er1 | ||
3655 | ac_status=$? | 4870 | ac_status=$? |
3656 | grep -v '^ *+' conftest.er1 >conftest.err | 4871 | grep -v '^ *+' conftest.er1 >conftest.err |
3657 | rm -f conftest.er1 | 4872 | rm -f conftest.er1 |
3658 | cat conftest.err >&5 | 4873 | cat conftest.err >&5 |
3659 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3660 | (exit $ac_status); } && | 4875 | (exit $ac_status); } && { |
3661 | { ac_try='test -z "$ac_c_werror_flag" | 4876 | test -z "$ac_c_werror_flag" || |
3662 | || test ! -s conftest.err' | 4877 | test ! -s conftest.err |
3663 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4878 | } && test -s conftest.$ac_objext; then |
3664 | (eval $ac_try) 2>&5 | ||
3665 | ac_status=$? | ||
3666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3667 | (exit $ac_status); }; } && | ||
3668 | { ac_try='test -s conftest.$ac_objext' | ||
3669 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3670 | (eval $ac_try) 2>&5 | ||
3671 | ac_status=$? | ||
3672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3673 | (exit $ac_status); }; }; then | ||
3674 | ac_cv_sys_largefile_CC=' -n32'; break | 4879 | ac_cv_sys_largefile_CC=' -n32'; break |
3675 | else | 4880 | else |
3676 | echo "$as_me: failed program was:" >&5 | 4881 | echo "$as_me: failed program was:" >&5 |
3677 | sed 's/^/| /' conftest.$ac_ext >&5 | 4882 | sed 's/^/| /' conftest.$ac_ext >&5 |
3678 | 4883 | ||
4884 | |||
3679 | fi | 4885 | fi |
3680 | rm -f conftest.err conftest.$ac_objext | 4886 | |
4887 | rm -f core conftest.err conftest.$ac_objext | ||
3681 | break | 4888 | break |
3682 | done | 4889 | done |
3683 | CC=$ac_save_CC | 4890 | CC=$ac_save_CC |
3684 | rm -f conftest.$ac_ext | 4891 | rm -f conftest.$ac_ext |
3685 | fi | 4892 | fi |
3686 | fi | 4893 | fi |
3687 | echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 4894 | { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
3688 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 | 4895 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } |
3689 | if test "$ac_cv_sys_largefile_CC" != no; then | 4896 | if test "$ac_cv_sys_largefile_CC" != no; then |
3690 | CC=$CC$ac_cv_sys_largefile_CC | 4897 | CC=$CC$ac_cv_sys_largefile_CC |
3691 | fi | 4898 | fi |
3692 | 4899 | ||
3693 | echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 4900 | { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
3694 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | 4901 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } |
3695 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 4902 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
3696 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4903 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3697 | else | 4904 | else |
3698 | while :; do | 4905 | while :; do |
3699 | ac_cv_sys_file_offset_bits=no | ||
3700 | cat >conftest.$ac_ext <<_ACEOF | 4906 | cat >conftest.$ac_ext <<_ACEOF |
3701 | /* confdefs.h. */ | 4907 | /* confdefs.h. */ |
3702 | _ACEOF | 4908 | _ACEOF |
@@ -3721,34 +4927,31 @@ main () | |||
3721 | } | 4927 | } |
3722 | _ACEOF | 4928 | _ACEOF |
3723 | rm -f conftest.$ac_objext | 4929 | rm -f conftest.$ac_objext |
3724 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4930 | if { (ac_try="$ac_compile" |
3725 | (eval $ac_compile) 2>conftest.er1 | 4931 | case "(($ac_try" in |
4932 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4933 | *) ac_try_echo=$ac_try;; | ||
4934 | esac | ||
4935 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
4936 | (eval "$ac_compile") 2>conftest.er1 | ||
3726 | ac_status=$? | 4937 | ac_status=$? |
3727 | grep -v '^ *+' conftest.er1 >conftest.err | 4938 | grep -v '^ *+' conftest.er1 >conftest.err |
3728 | rm -f conftest.er1 | 4939 | rm -f conftest.er1 |
3729 | cat conftest.err >&5 | 4940 | cat conftest.err >&5 |
3730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3731 | (exit $ac_status); } && | 4942 | (exit $ac_status); } && { |
3732 | { ac_try='test -z "$ac_c_werror_flag" | 4943 | test -z "$ac_c_werror_flag" || |
3733 | || test ! -s conftest.err' | 4944 | test ! -s conftest.err |
3734 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4945 | } && test -s conftest.$ac_objext; then |
3735 | (eval $ac_try) 2>&5 | 4946 | ac_cv_sys_file_offset_bits=no; break |
3736 | ac_status=$? | ||
3737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3738 | (exit $ac_status); }; } && | ||
3739 | { ac_try='test -s conftest.$ac_objext' | ||
3740 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3741 | (eval $ac_try) 2>&5 | ||
3742 | ac_status=$? | ||
3743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3744 | (exit $ac_status); }; }; then | ||
3745 | break | ||
3746 | else | 4947 | else |
3747 | echo "$as_me: failed program was:" >&5 | 4948 | echo "$as_me: failed program was:" >&5 |
3748 | sed 's/^/| /' conftest.$ac_ext >&5 | 4949 | sed 's/^/| /' conftest.$ac_ext >&5 |
3749 | 4950 | ||
4951 | |||
3750 | fi | 4952 | fi |
3751 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 4953 | |
4954 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3752 | cat >conftest.$ac_ext <<_ACEOF | 4955 | cat >conftest.$ac_ext <<_ACEOF |
3753 | /* confdefs.h. */ | 4956 | /* confdefs.h. */ |
3754 | _ACEOF | 4957 | _ACEOF |
@@ -3774,54 +4977,53 @@ main () | |||
3774 | } | 4977 | } |
3775 | _ACEOF | 4978 | _ACEOF |
3776 | rm -f conftest.$ac_objext | 4979 | rm -f conftest.$ac_objext |
3777 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4980 | if { (ac_try="$ac_compile" |
3778 | (eval $ac_compile) 2>conftest.er1 | 4981 | case "(($ac_try" in |
4982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4983 | *) ac_try_echo=$ac_try;; | ||
4984 | esac | ||
4985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
4986 | (eval "$ac_compile") 2>conftest.er1 | ||
3779 | ac_status=$? | 4987 | ac_status=$? |
3780 | grep -v '^ *+' conftest.er1 >conftest.err | 4988 | grep -v '^ *+' conftest.er1 >conftest.err |
3781 | rm -f conftest.er1 | 4989 | rm -f conftest.er1 |
3782 | cat conftest.err >&5 | 4990 | cat conftest.err >&5 |
3783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3784 | (exit $ac_status); } && | 4992 | (exit $ac_status); } && { |
3785 | { ac_try='test -z "$ac_c_werror_flag" | 4993 | test -z "$ac_c_werror_flag" || |
3786 | || test ! -s conftest.err' | 4994 | test ! -s conftest.err |
3787 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4995 | } && test -s conftest.$ac_objext; then |
3788 | (eval $ac_try) 2>&5 | ||
3789 | ac_status=$? | ||
3790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3791 | (exit $ac_status); }; } && | ||
3792 | { ac_try='test -s conftest.$ac_objext' | ||
3793 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3794 | (eval $ac_try) 2>&5 | ||
3795 | ac_status=$? | ||
3796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3797 | (exit $ac_status); }; }; then | ||
3798 | ac_cv_sys_file_offset_bits=64; break | 4996 | ac_cv_sys_file_offset_bits=64; break |
3799 | else | 4997 | else |
3800 | echo "$as_me: failed program was:" >&5 | 4998 | echo "$as_me: failed program was:" >&5 |
3801 | sed 's/^/| /' conftest.$ac_ext >&5 | 4999 | sed 's/^/| /' conftest.$ac_ext >&5 |
3802 | 5000 | ||
5001 | |||
3803 | fi | 5002 | fi |
3804 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5003 | |
5004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5005 | ac_cv_sys_file_offset_bits=unknown | ||
3805 | break | 5006 | break |
3806 | done | 5007 | done |
3807 | fi | 5008 | fi |
3808 | echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 5009 | { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
3809 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | 5010 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } |
3810 | if test "$ac_cv_sys_file_offset_bits" != no; then | 5011 | case $ac_cv_sys_file_offset_bits in #( |
3811 | 5012 | no | unknown) ;; | |
5013 | *) | ||
3812 | cat >>confdefs.h <<_ACEOF | 5014 | cat >>confdefs.h <<_ACEOF |
3813 | #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 5015 | #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
3814 | _ACEOF | 5016 | _ACEOF |
3815 | 5017 | ;; | |
3816 | fi | 5018 | esac |
3817 | rm -f conftest* | 5019 | rm -f conftest* |
3818 | echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 5020 | if test $ac_cv_sys_file_offset_bits = unknown; then |
3819 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | 5021 | { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
5022 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } | ||
3820 | if test "${ac_cv_sys_large_files+set}" = set; then | 5023 | if test "${ac_cv_sys_large_files+set}" = set; then |
3821 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5024 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3822 | else | 5025 | else |
3823 | while :; do | 5026 | while :; do |
3824 | ac_cv_sys_large_files=no | ||
3825 | cat >conftest.$ac_ext <<_ACEOF | 5027 | cat >conftest.$ac_ext <<_ACEOF |
3826 | /* confdefs.h. */ | 5028 | /* confdefs.h. */ |
3827 | _ACEOF | 5029 | _ACEOF |
@@ -3846,34 +5048,31 @@ main () | |||
3846 | } | 5048 | } |
3847 | _ACEOF | 5049 | _ACEOF |
3848 | rm -f conftest.$ac_objext | 5050 | rm -f conftest.$ac_objext |
3849 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5051 | if { (ac_try="$ac_compile" |
3850 | (eval $ac_compile) 2>conftest.er1 | 5052 | case "(($ac_try" in |
5053 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5054 | *) ac_try_echo=$ac_try;; | ||
5055 | esac | ||
5056 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5057 | (eval "$ac_compile") 2>conftest.er1 | ||
3851 | ac_status=$? | 5058 | ac_status=$? |
3852 | grep -v '^ *+' conftest.er1 >conftest.err | 5059 | grep -v '^ *+' conftest.er1 >conftest.err |
3853 | rm -f conftest.er1 | 5060 | rm -f conftest.er1 |
3854 | cat conftest.err >&5 | 5061 | cat conftest.err >&5 |
3855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3856 | (exit $ac_status); } && | 5063 | (exit $ac_status); } && { |
3857 | { ac_try='test -z "$ac_c_werror_flag" | 5064 | test -z "$ac_c_werror_flag" || |
3858 | || test ! -s conftest.err' | 5065 | test ! -s conftest.err |
3859 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5066 | } && test -s conftest.$ac_objext; then |
3860 | (eval $ac_try) 2>&5 | 5067 | ac_cv_sys_large_files=no; break |
3861 | ac_status=$? | ||
3862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3863 | (exit $ac_status); }; } && | ||
3864 | { ac_try='test -s conftest.$ac_objext' | ||
3865 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3866 | (eval $ac_try) 2>&5 | ||
3867 | ac_status=$? | ||
3868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3869 | (exit $ac_status); }; }; then | ||
3870 | break | ||
3871 | else | 5068 | else |
3872 | echo "$as_me: failed program was:" >&5 | 5069 | echo "$as_me: failed program was:" >&5 |
3873 | sed 's/^/| /' conftest.$ac_ext >&5 | 5070 | sed 's/^/| /' conftest.$ac_ext >&5 |
3874 | 5071 | ||
5072 | |||
3875 | fi | 5073 | fi |
3876 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5074 | |
5075 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3877 | cat >conftest.$ac_ext <<_ACEOF | 5076 | cat >conftest.$ac_ext <<_ACEOF |
3878 | /* confdefs.h. */ | 5077 | /* confdefs.h. */ |
3879 | _ACEOF | 5078 | _ACEOF |
@@ -3899,47 +5098,47 @@ main () | |||
3899 | } | 5098 | } |
3900 | _ACEOF | 5099 | _ACEOF |
3901 | rm -f conftest.$ac_objext | 5100 | rm -f conftest.$ac_objext |
3902 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5101 | if { (ac_try="$ac_compile" |
3903 | (eval $ac_compile) 2>conftest.er1 | 5102 | case "(($ac_try" in |
5103 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5104 | *) ac_try_echo=$ac_try;; | ||
5105 | esac | ||
5106 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5107 | (eval "$ac_compile") 2>conftest.er1 | ||
3904 | ac_status=$? | 5108 | ac_status=$? |
3905 | grep -v '^ *+' conftest.er1 >conftest.err | 5109 | grep -v '^ *+' conftest.er1 >conftest.err |
3906 | rm -f conftest.er1 | 5110 | rm -f conftest.er1 |
3907 | cat conftest.err >&5 | 5111 | cat conftest.err >&5 |
3908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3909 | (exit $ac_status); } && | 5113 | (exit $ac_status); } && { |
3910 | { ac_try='test -z "$ac_c_werror_flag" | 5114 | test -z "$ac_c_werror_flag" || |
3911 | || test ! -s conftest.err' | 5115 | test ! -s conftest.err |
3912 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5116 | } && test -s conftest.$ac_objext; then |
3913 | (eval $ac_try) 2>&5 | ||
3914 | ac_status=$? | ||
3915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3916 | (exit $ac_status); }; } && | ||
3917 | { ac_try='test -s conftest.$ac_objext' | ||
3918 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3919 | (eval $ac_try) 2>&5 | ||
3920 | ac_status=$? | ||
3921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3922 | (exit $ac_status); }; }; then | ||
3923 | ac_cv_sys_large_files=1; break | 5117 | ac_cv_sys_large_files=1; break |
3924 | else | 5118 | else |
3925 | echo "$as_me: failed program was:" >&5 | 5119 | echo "$as_me: failed program was:" >&5 |
3926 | sed 's/^/| /' conftest.$ac_ext >&5 | 5120 | sed 's/^/| /' conftest.$ac_ext >&5 |
3927 | 5121 | ||
5122 | |||
3928 | fi | 5123 | fi |
3929 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5124 | |
5125 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5126 | ac_cv_sys_large_files=unknown | ||
3930 | break | 5127 | break |
3931 | done | 5128 | done |
3932 | fi | 5129 | fi |
3933 | echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 5130 | { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
3934 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | 5131 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } |
3935 | if test "$ac_cv_sys_large_files" != no; then | 5132 | case $ac_cv_sys_large_files in #( |
3936 | 5133 | no | unknown) ;; | |
5134 | *) | ||
3937 | cat >>confdefs.h <<_ACEOF | 5135 | cat >>confdefs.h <<_ACEOF |
3938 | #define _LARGE_FILES $ac_cv_sys_large_files | 5136 | #define _LARGE_FILES $ac_cv_sys_large_files |
3939 | _ACEOF | 5137 | _ACEOF |
3940 | 5138 | ;; | |
3941 | fi | 5139 | esac |
3942 | rm -f conftest* | 5140 | rm -f conftest* |
5141 | fi | ||
3943 | fi | 5142 | fi |
3944 | 5143 | ||
3945 | 5144 | ||
@@ -3960,8 +5159,8 @@ else | |||
3960 | # Search for login | 5159 | # Search for login |
3961 | # Extract the first word of "login", so it can be a program name with args. | 5160 | # Extract the first word of "login", so it can be a program name with args. |
3962 | set dummy login; ac_word=$2 | 5161 | set dummy login; ac_word=$2 |
3963 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5162 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3964 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5163 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3965 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then | 5164 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then |
3966 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5165 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3967 | else | 5166 | else |
@@ -3976,27 +5175,28 @@ do | |||
3976 | IFS=$as_save_IFS | 5175 | IFS=$as_save_IFS |
3977 | test -z "$as_dir" && as_dir=. | 5176 | test -z "$as_dir" && as_dir=. |
3978 | for ac_exec_ext in '' $ac_executable_extensions; do | 5177 | for ac_exec_ext in '' $ac_executable_extensions; do |
3979 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5178 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3980 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" | 5179 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" |
3981 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5180 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3982 | break 2 | 5181 | break 2 |
3983 | fi | 5182 | fi |
3984 | done | 5183 | done |
3985 | done | 5184 | done |
5185 | IFS=$as_save_IFS | ||
3986 | 5186 | ||
3987 | ;; | 5187 | ;; |
3988 | esac | 5188 | esac |
3989 | fi | 5189 | fi |
3990 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK | 5190 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK |
3991 | |||
3992 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then | 5191 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then |
3993 | echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5 | 5192 | { echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5 |
3994 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6 | 5193 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6; } |
3995 | else | 5194 | else |
3996 | echo "$as_me:$LINENO: result: no" >&5 | 5195 | { echo "$as_me:$LINENO: result: no" >&5 |
3997 | echo "${ECHO_T}no" >&6 | 5196 | echo "${ECHO_T}no" >&6; } |
3998 | fi | 5197 | fi |
3999 | 5198 | ||
5199 | |||
4000 | if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then | 5200 | if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then |
4001 | cat >>confdefs.h <<_ACEOF | 5201 | cat >>confdefs.h <<_ACEOF |
4002 | #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" | 5202 | #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" |
@@ -4007,8 +5207,8 @@ fi | |||
4007 | 5207 | ||
4008 | # Extract the first word of "passwd", so it can be a program name with args. | 5208 | # Extract the first word of "passwd", so it can be a program name with args. |
4009 | set dummy passwd; ac_word=$2 | 5209 | set dummy passwd; ac_word=$2 |
4010 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5210 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4011 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5211 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4012 | if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then | 5212 | if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then |
4013 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5213 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4014 | else | 5214 | else |
@@ -4023,27 +5223,28 @@ do | |||
4023 | IFS=$as_save_IFS | 5223 | IFS=$as_save_IFS |
4024 | test -z "$as_dir" && as_dir=. | 5224 | test -z "$as_dir" && as_dir=. |
4025 | for ac_exec_ext in '' $ac_executable_extensions; do | 5225 | for ac_exec_ext in '' $ac_executable_extensions; do |
4026 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5226 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4027 | ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext" | 5227 | ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext" |
4028 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5228 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4029 | break 2 | 5229 | break 2 |
4030 | fi | 5230 | fi |
4031 | done | 5231 | done |
4032 | done | 5232 | done |
5233 | IFS=$as_save_IFS | ||
4033 | 5234 | ||
4034 | ;; | 5235 | ;; |
4035 | esac | 5236 | esac |
4036 | fi | 5237 | fi |
4037 | PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG | 5238 | PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG |
4038 | |||
4039 | if test -n "$PATH_PASSWD_PROG"; then | 5239 | if test -n "$PATH_PASSWD_PROG"; then |
4040 | echo "$as_me:$LINENO: result: $PATH_PASSWD_PROG" >&5 | 5240 | { echo "$as_me:$LINENO: result: $PATH_PASSWD_PROG" >&5 |
4041 | echo "${ECHO_T}$PATH_PASSWD_PROG" >&6 | 5241 | echo "${ECHO_T}$PATH_PASSWD_PROG" >&6; } |
4042 | else | 5242 | else |
4043 | echo "$as_me:$LINENO: result: no" >&5 | 5243 | { echo "$as_me:$LINENO: result: no" >&5 |
4044 | echo "${ECHO_T}no" >&6 | 5244 | echo "${ECHO_T}no" >&6; } |
4045 | fi | 5245 | fi |
4046 | 5246 | ||
5247 | |||
4047 | if test ! -z "$PATH_PASSWD_PROG" ; then | 5248 | if test ! -z "$PATH_PASSWD_PROG" ; then |
4048 | 5249 | ||
4049 | cat >>confdefs.h <<_ACEOF | 5250 | cat >>confdefs.h <<_ACEOF |
@@ -4057,8 +5258,8 @@ if test -z "$LD" ; then | |||
4057 | fi | 5258 | fi |
4058 | 5259 | ||
4059 | 5260 | ||
4060 | echo "$as_me:$LINENO: checking for inline" >&5 | 5261 | { echo "$as_me:$LINENO: checking for inline" >&5 |
4061 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 5262 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
4062 | if test "${ac_cv_c_inline+set}" = set; then | 5263 | if test "${ac_cv_c_inline+set}" = set; then |
4063 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5264 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4064 | else | 5265 | else |
@@ -4078,39 +5279,37 @@ $ac_kw foo_t foo () {return 0; } | |||
4078 | 5279 | ||
4079 | _ACEOF | 5280 | _ACEOF |
4080 | rm -f conftest.$ac_objext | 5281 | rm -f conftest.$ac_objext |
4081 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5282 | if { (ac_try="$ac_compile" |
4082 | (eval $ac_compile) 2>conftest.er1 | 5283 | case "(($ac_try" in |
5284 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5285 | *) ac_try_echo=$ac_try;; | ||
5286 | esac | ||
5287 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5288 | (eval "$ac_compile") 2>conftest.er1 | ||
4083 | ac_status=$? | 5289 | ac_status=$? |
4084 | grep -v '^ *+' conftest.er1 >conftest.err | 5290 | grep -v '^ *+' conftest.er1 >conftest.err |
4085 | rm -f conftest.er1 | 5291 | rm -f conftest.er1 |
4086 | cat conftest.err >&5 | 5292 | cat conftest.err >&5 |
4087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4088 | (exit $ac_status); } && | 5294 | (exit $ac_status); } && { |
4089 | { ac_try='test -z "$ac_c_werror_flag" | 5295 | test -z "$ac_c_werror_flag" || |
4090 | || test ! -s conftest.err' | 5296 | test ! -s conftest.err |
4091 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5297 | } && test -s conftest.$ac_objext; then |
4092 | (eval $ac_try) 2>&5 | 5298 | ac_cv_c_inline=$ac_kw |
4093 | ac_status=$? | ||
4094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4095 | (exit $ac_status); }; } && | ||
4096 | { ac_try='test -s conftest.$ac_objext' | ||
4097 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4098 | (eval $ac_try) 2>&5 | ||
4099 | ac_status=$? | ||
4100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4101 | (exit $ac_status); }; }; then | ||
4102 | ac_cv_c_inline=$ac_kw; break | ||
4103 | else | 5299 | else |
4104 | echo "$as_me: failed program was:" >&5 | 5300 | echo "$as_me: failed program was:" >&5 |
4105 | sed 's/^/| /' conftest.$ac_ext >&5 | 5301 | sed 's/^/| /' conftest.$ac_ext >&5 |
4106 | 5302 | ||
5303 | |||
4107 | fi | 5304 | fi |
4108 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5305 | |
5306 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5307 | test "$ac_cv_c_inline" != no && break | ||
4109 | done | 5308 | done |
4110 | 5309 | ||
4111 | fi | 5310 | fi |
4112 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 5311 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
4113 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 5312 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
4114 | 5313 | ||
4115 | 5314 | ||
4116 | case $ac_cv_c_inline in | 5315 | case $ac_cv_c_inline in |
@@ -4129,8 +5328,8 @@ _ACEOF | |||
4129 | esac | 5328 | esac |
4130 | 5329 | ||
4131 | 5330 | ||
4132 | echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 | 5331 | { echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 |
4133 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6 | 5332 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } |
4134 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | 5333 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then |
4135 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5334 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4136 | else | 5335 | else |
@@ -4146,7 +5345,7 @@ int | |||
4146 | main () | 5345 | main () |
4147 | { | 5346 | { |
4148 | #ifndef LLONG_MAX | 5347 | #ifndef LLONG_MAX |
4149 | char *p = (char *) LLONG_MAX; | 5348 | (void) LLONG_MAX; |
4150 | #endif | 5349 | #endif |
4151 | 5350 | ||
4152 | ; | 5351 | ; |
@@ -4154,38 +5353,34 @@ main () | |||
4154 | } | 5353 | } |
4155 | _ACEOF | 5354 | _ACEOF |
4156 | rm -f conftest.$ac_objext | 5355 | rm -f conftest.$ac_objext |
4157 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5356 | if { (ac_try="$ac_compile" |
4158 | (eval $ac_compile) 2>conftest.er1 | 5357 | case "(($ac_try" in |
5358 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5359 | *) ac_try_echo=$ac_try;; | ||
5360 | esac | ||
5361 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5362 | (eval "$ac_compile") 2>conftest.er1 | ||
4159 | ac_status=$? | 5363 | ac_status=$? |
4160 | grep -v '^ *+' conftest.er1 >conftest.err | 5364 | grep -v '^ *+' conftest.er1 >conftest.err |
4161 | rm -f conftest.er1 | 5365 | rm -f conftest.er1 |
4162 | cat conftest.err >&5 | 5366 | cat conftest.err >&5 |
4163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4164 | (exit $ac_status); } && | 5368 | (exit $ac_status); } && { |
4165 | { ac_try='test -z "$ac_c_werror_flag" | 5369 | test -z "$ac_c_werror_flag" || |
4166 | || test ! -s conftest.err' | 5370 | test ! -s conftest.err |
4167 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5371 | } && test -s conftest.$ac_objext; then |
4168 | (eval $ac_try) 2>&5 | ||
4169 | ac_status=$? | ||
4170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4171 | (exit $ac_status); }; } && | ||
4172 | { ac_try='test -s conftest.$ac_objext' | ||
4173 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4174 | (eval $ac_try) 2>&5 | ||
4175 | ac_status=$? | ||
4176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4177 | (exit $ac_status); }; }; then | ||
4178 | ac_cv_have_decl_LLONG_MAX=yes | 5372 | ac_cv_have_decl_LLONG_MAX=yes |
4179 | else | 5373 | else |
4180 | echo "$as_me: failed program was:" >&5 | 5374 | echo "$as_me: failed program was:" >&5 |
4181 | sed 's/^/| /' conftest.$ac_ext >&5 | 5375 | sed 's/^/| /' conftest.$ac_ext >&5 |
4182 | 5376 | ||
4183 | ac_cv_have_decl_LLONG_MAX=no | 5377 | ac_cv_have_decl_LLONG_MAX=no |
4184 | fi | 5378 | fi |
4185 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5379 | |
5380 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4186 | fi | 5381 | fi |
4187 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | 5382 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 |
4188 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6 | 5383 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } |
4189 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | 5384 | if test $ac_cv_have_decl_LLONG_MAX = yes; then |
4190 | have_llong_max=1 | 5385 | have_llong_max=1 |
4191 | fi | 5386 | fi |
@@ -4208,8 +5403,8 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | |||
4208 | unset ac_cv_have_decl_LLONG_MAX | 5403 | unset ac_cv_have_decl_LLONG_MAX |
4209 | saved_CFLAGS="$CFLAGS" | 5404 | saved_CFLAGS="$CFLAGS" |
4210 | CFLAGS="$CFLAGS -std=gnu99" | 5405 | CFLAGS="$CFLAGS -std=gnu99" |
4211 | echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 | 5406 | { echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 |
4212 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6 | 5407 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } |
4213 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | 5408 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then |
4214 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4215 | else | 5410 | else |
@@ -4226,7 +5421,7 @@ int | |||
4226 | main () | 5421 | main () |
4227 | { | 5422 | { |
4228 | #ifndef LLONG_MAX | 5423 | #ifndef LLONG_MAX |
4229 | char *p = (char *) LLONG_MAX; | 5424 | (void) LLONG_MAX; |
4230 | #endif | 5425 | #endif |
4231 | 5426 | ||
4232 | ; | 5427 | ; |
@@ -4234,38 +5429,34 @@ main () | |||
4234 | } | 5429 | } |
4235 | _ACEOF | 5430 | _ACEOF |
4236 | rm -f conftest.$ac_objext | 5431 | rm -f conftest.$ac_objext |
4237 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5432 | if { (ac_try="$ac_compile" |
4238 | (eval $ac_compile) 2>conftest.er1 | 5433 | case "(($ac_try" in |
5434 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5435 | *) ac_try_echo=$ac_try;; | ||
5436 | esac | ||
5437 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5438 | (eval "$ac_compile") 2>conftest.er1 | ||
4239 | ac_status=$? | 5439 | ac_status=$? |
4240 | grep -v '^ *+' conftest.er1 >conftest.err | 5440 | grep -v '^ *+' conftest.er1 >conftest.err |
4241 | rm -f conftest.er1 | 5441 | rm -f conftest.er1 |
4242 | cat conftest.err >&5 | 5442 | cat conftest.err >&5 |
4243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5443 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4244 | (exit $ac_status); } && | 5444 | (exit $ac_status); } && { |
4245 | { ac_try='test -z "$ac_c_werror_flag" | 5445 | test -z "$ac_c_werror_flag" || |
4246 | || test ! -s conftest.err' | 5446 | test ! -s conftest.err |
4247 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5447 | } && test -s conftest.$ac_objext; then |
4248 | (eval $ac_try) 2>&5 | ||
4249 | ac_status=$? | ||
4250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4251 | (exit $ac_status); }; } && | ||
4252 | { ac_try='test -s conftest.$ac_objext' | ||
4253 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4254 | (eval $ac_try) 2>&5 | ||
4255 | ac_status=$? | ||
4256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4257 | (exit $ac_status); }; }; then | ||
4258 | ac_cv_have_decl_LLONG_MAX=yes | 5448 | ac_cv_have_decl_LLONG_MAX=yes |
4259 | else | 5449 | else |
4260 | echo "$as_me: failed program was:" >&5 | 5450 | echo "$as_me: failed program was:" >&5 |
4261 | sed 's/^/| /' conftest.$ac_ext >&5 | 5451 | sed 's/^/| /' conftest.$ac_ext >&5 |
4262 | 5452 | ||
4263 | ac_cv_have_decl_LLONG_MAX=no | 5453 | ac_cv_have_decl_LLONG_MAX=no |
4264 | fi | 5454 | fi |
4265 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5455 | |
5456 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4266 | fi | 5457 | fi |
4267 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | 5458 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 |
4268 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6 | 5459 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } |
4269 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | 5460 | if test $ac_cv_have_decl_LLONG_MAX = yes; then |
4270 | have_llong_max=1 | 5461 | have_llong_max=1 |
4271 | else | 5462 | else |
@@ -4276,10 +5467,9 @@ fi | |||
4276 | fi | 5467 | fi |
4277 | 5468 | ||
4278 | 5469 | ||
4279 | # Check whether --with-rpath or --without-rpath was given. | 5470 | # Check whether --with-rpath was given. |
4280 | if test "${with_rpath+set}" = set; then | 5471 | if test "${with_rpath+set}" = set; then |
4281 | withval="$with_rpath" | 5472 | withval=$with_rpath; |
4282 | |||
4283 | if test "x$withval" = "xno" ; then | 5473 | if test "x$withval" = "xno" ; then |
4284 | need_dash_r="" | 5474 | need_dash_r="" |
4285 | fi | 5475 | fi |
@@ -4288,18 +5478,600 @@ if test "${with_rpath+set}" = set; then | |||
4288 | fi | 5478 | fi |
4289 | 5479 | ||
4290 | 5480 | ||
4291 | fi; | 5481 | fi |
5482 | |||
5483 | |||
5484 | # Allow user to specify flags | ||
5485 | |||
5486 | # Check whether --with-cflags was given. | ||
5487 | if test "${with_cflags+set}" = set; then | ||
5488 | withval=$with_cflags; | ||
5489 | if test -n "$withval" && test "x$withval" != "xno" && \ | ||
5490 | test "x${withval}" != "xyes"; then | ||
5491 | CFLAGS="$CFLAGS $withval" | ||
5492 | fi | ||
5493 | |||
5494 | |||
5495 | fi | ||
5496 | |||
5497 | |||
5498 | # Check whether --with-cppflags was given. | ||
5499 | if test "${with_cppflags+set}" = set; then | ||
5500 | withval=$with_cppflags; | ||
5501 | if test -n "$withval" && test "x$withval" != "xno" && \ | ||
5502 | test "x${withval}" != "xyes"; then | ||
5503 | CPPFLAGS="$CPPFLAGS $withval" | ||
5504 | fi | ||
5505 | |||
5506 | |||
5507 | fi | ||
5508 | |||
5509 | |||
5510 | # Check whether --with-ldflags was given. | ||
5511 | if test "${with_ldflags+set}" = set; then | ||
5512 | withval=$with_ldflags; | ||
5513 | if test -n "$withval" && test "x$withval" != "xno" && \ | ||
5514 | test "x${withval}" != "xyes"; then | ||
5515 | LDFLAGS="$LDFLAGS $withval" | ||
5516 | fi | ||
5517 | |||
5518 | |||
5519 | fi | ||
5520 | |||
5521 | |||
5522 | # Check whether --with-libs was given. | ||
5523 | if test "${with_libs+set}" = set; then | ||
5524 | withval=$with_libs; | ||
5525 | if test -n "$withval" && test "x$withval" != "xno" && \ | ||
5526 | test "x${withval}" != "xyes"; then | ||
5527 | LIBS="$LIBS $withval" | ||
5528 | fi | ||
5529 | |||
5530 | |||
5531 | fi | ||
5532 | |||
5533 | |||
5534 | # Check whether --with-Werror was given. | ||
5535 | if test "${with_Werror+set}" = set; then | ||
5536 | withval=$with_Werror; | ||
5537 | if test -n "$withval" && test "x$withval" != "xno"; then | ||
5538 | werror_flags="-Werror" | ||
5539 | if test "x${withval}" != "xyes"; then | ||
5540 | werror_flags="$withval" | ||
5541 | fi | ||
5542 | fi | ||
5543 | |||
5544 | |||
5545 | fi | ||
5546 | |||
5547 | |||
5548 | |||
5549 | |||
5550 | |||
5551 | |||
5552 | |||
5553 | |||
5554 | |||
5555 | |||
5556 | |||
5557 | |||
5558 | |||
5559 | |||
5560 | |||
5561 | |||
5562 | |||
5563 | |||
5564 | |||
5565 | |||
5566 | |||
5567 | |||
5568 | |||
5569 | |||
5570 | |||
5571 | |||
5572 | |||
5573 | |||
5574 | |||
5575 | |||
5576 | |||
5577 | |||
5578 | |||
5579 | |||
5580 | |||
5581 | |||
5582 | |||
5583 | |||
5584 | |||
5585 | |||
5586 | |||
5587 | |||
5588 | |||
5589 | |||
5590 | |||
5591 | |||
5592 | |||
5593 | |||
5594 | |||
5595 | |||
5596 | |||
5597 | |||
5598 | |||
5599 | |||
5600 | |||
5601 | |||
5602 | |||
5603 | |||
5604 | |||
5605 | |||
5606 | |||
5607 | for ac_header in \ | ||
5608 | bstring.h \ | ||
5609 | crypt.h \ | ||
5610 | crypto/sha2.h \ | ||
5611 | dirent.h \ | ||
5612 | endian.h \ | ||
5613 | features.h \ | ||
5614 | fcntl.h \ | ||
5615 | floatingpoint.h \ | ||
5616 | getopt.h \ | ||
5617 | glob.h \ | ||
5618 | ia.h \ | ||
5619 | iaf.h \ | ||
5620 | limits.h \ | ||
5621 | login.h \ | ||
5622 | maillock.h \ | ||
5623 | ndir.h \ | ||
5624 | net/if_tun.h \ | ||
5625 | netdb.h \ | ||
5626 | netgroup.h \ | ||
5627 | pam/pam_appl.h \ | ||
5628 | paths.h \ | ||
5629 | pty.h \ | ||
5630 | readpassphrase.h \ | ||
5631 | rpc/types.h \ | ||
5632 | security/pam_appl.h \ | ||
5633 | sha2.h \ | ||
5634 | shadow.h \ | ||
5635 | stddef.h \ | ||
5636 | stdint.h \ | ||
5637 | string.h \ | ||
5638 | strings.h \ | ||
5639 | sys/audit.h \ | ||
5640 | sys/bitypes.h \ | ||
5641 | sys/bsdtty.h \ | ||
5642 | sys/cdefs.h \ | ||
5643 | sys/dir.h \ | ||
5644 | sys/mman.h \ | ||
5645 | sys/ndir.h \ | ||
5646 | sys/prctl.h \ | ||
5647 | sys/pstat.h \ | ||
5648 | sys/select.h \ | ||
5649 | sys/stat.h \ | ||
5650 | sys/stream.h \ | ||
5651 | sys/stropts.h \ | ||
5652 | sys/strtio.h \ | ||
5653 | sys/sysmacros.h \ | ||
5654 | sys/time.h \ | ||
5655 | sys/timers.h \ | ||
5656 | sys/un.h \ | ||
5657 | time.h \ | ||
5658 | tmpdir.h \ | ||
5659 | ttyent.h \ | ||
5660 | unistd.h \ | ||
5661 | usersec.h \ | ||
5662 | util.h \ | ||
5663 | utime.h \ | ||
5664 | utmp.h \ | ||
5665 | utmpx.h \ | ||
5666 | vis.h \ | ||
5667 | |||
5668 | do | ||
5669 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5670 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5671 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5672 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
5673 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5674 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5675 | fi | ||
5676 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
5677 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
5678 | echo "${ECHO_T}$ac_res" >&6; } | ||
5679 | else | ||
5680 | # Is the header compilable? | ||
5681 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
5682 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
5683 | cat >conftest.$ac_ext <<_ACEOF | ||
5684 | /* confdefs.h. */ | ||
5685 | _ACEOF | ||
5686 | cat confdefs.h >>conftest.$ac_ext | ||
5687 | cat >>conftest.$ac_ext <<_ACEOF | ||
5688 | /* end confdefs.h. */ | ||
5689 | $ac_includes_default | ||
5690 | #include <$ac_header> | ||
5691 | _ACEOF | ||
5692 | rm -f conftest.$ac_objext | ||
5693 | if { (ac_try="$ac_compile" | ||
5694 | case "(($ac_try" in | ||
5695 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5696 | *) ac_try_echo=$ac_try;; | ||
5697 | esac | ||
5698 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5699 | (eval "$ac_compile") 2>conftest.er1 | ||
5700 | ac_status=$? | ||
5701 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5702 | rm -f conftest.er1 | ||
5703 | cat conftest.err >&5 | ||
5704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5705 | (exit $ac_status); } && { | ||
5706 | test -z "$ac_c_werror_flag" || | ||
5707 | test ! -s conftest.err | ||
5708 | } && test -s conftest.$ac_objext; then | ||
5709 | ac_header_compiler=yes | ||
5710 | else | ||
5711 | echo "$as_me: failed program was:" >&5 | ||
5712 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5713 | |||
5714 | ac_header_compiler=no | ||
5715 | fi | ||
5716 | |||
5717 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5718 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
5719 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
5720 | |||
5721 | # Is the header present? | ||
5722 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
5723 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
5724 | cat >conftest.$ac_ext <<_ACEOF | ||
5725 | /* confdefs.h. */ | ||
5726 | _ACEOF | ||
5727 | cat confdefs.h >>conftest.$ac_ext | ||
5728 | cat >>conftest.$ac_ext <<_ACEOF | ||
5729 | /* end confdefs.h. */ | ||
5730 | #include <$ac_header> | ||
5731 | _ACEOF | ||
5732 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
5733 | case "(($ac_try" in | ||
5734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5735 | *) ac_try_echo=$ac_try;; | ||
5736 | esac | ||
5737 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5738 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
5739 | ac_status=$? | ||
5740 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5741 | rm -f conftest.er1 | ||
5742 | cat conftest.err >&5 | ||
5743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5744 | (exit $ac_status); } >/dev/null && { | ||
5745 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
5746 | test ! -s conftest.err | ||
5747 | }; then | ||
5748 | ac_header_preproc=yes | ||
5749 | else | ||
5750 | echo "$as_me: failed program was:" >&5 | ||
5751 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5752 | |||
5753 | ac_header_preproc=no | ||
5754 | fi | ||
5755 | |||
5756 | rm -f conftest.err conftest.$ac_ext | ||
5757 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
5758 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
5759 | |||
5760 | # So? What about this header? | ||
5761 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
5762 | yes:no: ) | ||
5763 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
5764 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
5765 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
5766 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
5767 | ac_header_preproc=yes | ||
5768 | ;; | ||
5769 | no:yes:* ) | ||
5770 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
5771 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
5772 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
5773 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
5774 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
5775 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
5776 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
5777 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
5778 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
5779 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
5780 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
5781 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
5782 | ( cat <<\_ASBOX | ||
5783 | ## ------------------------------------------- ## | ||
5784 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
5785 | ## ------------------------------------------- ## | ||
5786 | _ASBOX | ||
5787 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
5788 | ;; | ||
5789 | esac | ||
5790 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5791 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
5792 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5793 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5794 | else | ||
5795 | eval "$as_ac_Header=\$ac_header_preproc" | ||
5796 | fi | ||
5797 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
5798 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
5799 | echo "${ECHO_T}$ac_res" >&6; } | ||
5800 | |||
5801 | fi | ||
5802 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5803 | cat >>confdefs.h <<_ACEOF | ||
5804 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5805 | _ACEOF | ||
5806 | |||
5807 | fi | ||
5808 | |||
5809 | done | ||
5810 | |||
5811 | |||
5812 | # lastlog.h requires sys/time.h to be included first on Solaris | ||
5813 | |||
5814 | for ac_header in lastlog.h | ||
5815 | do | ||
5816 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5817 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5818 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
5819 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5820 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5821 | else | ||
5822 | cat >conftest.$ac_ext <<_ACEOF | ||
5823 | /* confdefs.h. */ | ||
5824 | _ACEOF | ||
5825 | cat confdefs.h >>conftest.$ac_ext | ||
5826 | cat >>conftest.$ac_ext <<_ACEOF | ||
5827 | /* end confdefs.h. */ | ||
5828 | |||
5829 | #ifdef HAVE_SYS_TIME_H | ||
5830 | # include <sys/time.h> | ||
5831 | #endif | ||
5832 | |||
5833 | |||
5834 | #include <$ac_header> | ||
5835 | _ACEOF | ||
5836 | rm -f conftest.$ac_objext | ||
5837 | if { (ac_try="$ac_compile" | ||
5838 | case "(($ac_try" in | ||
5839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5840 | *) ac_try_echo=$ac_try;; | ||
5841 | esac | ||
5842 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5843 | (eval "$ac_compile") 2>conftest.er1 | ||
5844 | ac_status=$? | ||
5845 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5846 | rm -f conftest.er1 | ||
5847 | cat conftest.err >&5 | ||
5848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5849 | (exit $ac_status); } && { | ||
5850 | test -z "$ac_c_werror_flag" || | ||
5851 | test ! -s conftest.err | ||
5852 | } && test -s conftest.$ac_objext; then | ||
5853 | eval "$as_ac_Header=yes" | ||
5854 | else | ||
5855 | echo "$as_me: failed program was:" >&5 | ||
5856 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5857 | |||
5858 | eval "$as_ac_Header=no" | ||
5859 | fi | ||
5860 | |||
5861 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5862 | fi | ||
5863 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
5864 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
5865 | echo "${ECHO_T}$ac_res" >&6; } | ||
5866 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5867 | cat >>confdefs.h <<_ACEOF | ||
5868 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5869 | _ACEOF | ||
5870 | |||
5871 | fi | ||
5872 | |||
5873 | done | ||
5874 | |||
5875 | |||
5876 | # sys/ptms.h requires sys/stream.h to be included first on Solaris | ||
5877 | |||
5878 | for ac_header in sys/ptms.h | ||
5879 | do | ||
5880 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5881 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5882 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
5883 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5884 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5885 | else | ||
5886 | cat >conftest.$ac_ext <<_ACEOF | ||
5887 | /* confdefs.h. */ | ||
5888 | _ACEOF | ||
5889 | cat confdefs.h >>conftest.$ac_ext | ||
5890 | cat >>conftest.$ac_ext <<_ACEOF | ||
5891 | /* end confdefs.h. */ | ||
5892 | |||
5893 | #ifdef HAVE_SYS_STREAM_H | ||
5894 | # include <sys/stream.h> | ||
5895 | #endif | ||
5896 | |||
5897 | |||
5898 | #include <$ac_header> | ||
5899 | _ACEOF | ||
5900 | rm -f conftest.$ac_objext | ||
5901 | if { (ac_try="$ac_compile" | ||
5902 | case "(($ac_try" in | ||
5903 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5904 | *) ac_try_echo=$ac_try;; | ||
5905 | esac | ||
5906 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5907 | (eval "$ac_compile") 2>conftest.er1 | ||
5908 | ac_status=$? | ||
5909 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5910 | rm -f conftest.er1 | ||
5911 | cat conftest.err >&5 | ||
5912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5913 | (exit $ac_status); } && { | ||
5914 | test -z "$ac_c_werror_flag" || | ||
5915 | test ! -s conftest.err | ||
5916 | } && test -s conftest.$ac_objext; then | ||
5917 | eval "$as_ac_Header=yes" | ||
5918 | else | ||
5919 | echo "$as_me: failed program was:" >&5 | ||
5920 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5921 | |||
5922 | eval "$as_ac_Header=no" | ||
5923 | fi | ||
5924 | |||
5925 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5926 | fi | ||
5927 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
5928 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
5929 | echo "${ECHO_T}$ac_res" >&6; } | ||
5930 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5931 | cat >>confdefs.h <<_ACEOF | ||
5932 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5933 | _ACEOF | ||
5934 | |||
5935 | fi | ||
5936 | |||
5937 | done | ||
5938 | |||
5939 | |||
5940 | # login_cap.h requires sys/types.h on NetBSD | ||
5941 | |||
5942 | for ac_header in login_cap.h | ||
5943 | do | ||
5944 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5945 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5946 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
5947 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
5948 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5949 | else | ||
5950 | cat >conftest.$ac_ext <<_ACEOF | ||
5951 | /* confdefs.h. */ | ||
5952 | _ACEOF | ||
5953 | cat confdefs.h >>conftest.$ac_ext | ||
5954 | cat >>conftest.$ac_ext <<_ACEOF | ||
5955 | /* end confdefs.h. */ | ||
5956 | |||
5957 | #include <sys/types.h> | ||
5958 | |||
5959 | |||
5960 | #include <$ac_header> | ||
5961 | _ACEOF | ||
5962 | rm -f conftest.$ac_objext | ||
5963 | if { (ac_try="$ac_compile" | ||
5964 | case "(($ac_try" in | ||
5965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5966 | *) ac_try_echo=$ac_try;; | ||
5967 | esac | ||
5968 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5969 | (eval "$ac_compile") 2>conftest.er1 | ||
5970 | ac_status=$? | ||
5971 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5972 | rm -f conftest.er1 | ||
5973 | cat conftest.err >&5 | ||
5974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5975 | (exit $ac_status); } && { | ||
5976 | test -z "$ac_c_werror_flag" || | ||
5977 | test ! -s conftest.err | ||
5978 | } && test -s conftest.$ac_objext; then | ||
5979 | eval "$as_ac_Header=yes" | ||
5980 | else | ||
5981 | echo "$as_me: failed program was:" >&5 | ||
5982 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5983 | |||
5984 | eval "$as_ac_Header=no" | ||
5985 | fi | ||
5986 | |||
5987 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5988 | fi | ||
5989 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
5990 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
5991 | echo "${ECHO_T}$ac_res" >&6; } | ||
5992 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5993 | cat >>confdefs.h <<_ACEOF | ||
5994 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5995 | _ACEOF | ||
5996 | |||
5997 | fi | ||
5998 | |||
5999 | done | ||
6000 | |||
6001 | |||
6002 | # Messages for features tested for in target-specific section | ||
6003 | SIA_MSG="no" | ||
6004 | SPC_MSG="no" | ||
4292 | 6005 | ||
4293 | # Check for some target-specific stuff | 6006 | # Check for some target-specific stuff |
4294 | case "$host" in | 6007 | case "$host" in |
4295 | *-*-aix*) | 6008 | *-*-aix*) |
4296 | echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5 | 6009 | # Some versions of VAC won't allow macro redefinitions at |
4297 | echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6 | 6010 | # -qlanglevel=ansi, and autoconf 2.60 sometimes insists on using that |
6011 | # particularly with older versions of vac or xlc. | ||
6012 | # It also throws errors about null macro argments, but these are | ||
6013 | # not fatal. | ||
6014 | { echo "$as_me:$LINENO: checking if compiler allows macro redefinitions" >&5 | ||
6015 | echo $ECHO_N "checking if compiler allows macro redefinitions... $ECHO_C" >&6; } | ||
6016 | cat >conftest.$ac_ext <<_ACEOF | ||
6017 | /* confdefs.h. */ | ||
6018 | _ACEOF | ||
6019 | cat confdefs.h >>conftest.$ac_ext | ||
6020 | cat >>conftest.$ac_ext <<_ACEOF | ||
6021 | /* end confdefs.h. */ | ||
6022 | |||
6023 | #define testmacro foo | ||
6024 | #define testmacro bar | ||
6025 | int main(void) { exit(0); } | ||
6026 | |||
6027 | _ACEOF | ||
6028 | rm -f conftest.$ac_objext | ||
6029 | if { (ac_try="$ac_compile" | ||
6030 | case "(($ac_try" in | ||
6031 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6032 | *) ac_try_echo=$ac_try;; | ||
6033 | esac | ||
6034 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6035 | (eval "$ac_compile") 2>conftest.er1 | ||
6036 | ac_status=$? | ||
6037 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6038 | rm -f conftest.er1 | ||
6039 | cat conftest.err >&5 | ||
6040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6041 | (exit $ac_status); } && { | ||
6042 | test -z "$ac_c_werror_flag" || | ||
6043 | test ! -s conftest.err | ||
6044 | } && test -s conftest.$ac_objext; then | ||
6045 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
6046 | echo "${ECHO_T}yes" >&6; } | ||
6047 | else | ||
6048 | echo "$as_me: failed program was:" >&5 | ||
6049 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6050 | |||
6051 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6052 | echo "${ECHO_T}no" >&6; } | ||
6053 | CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`" | ||
6054 | LD="`echo $LD | sed 's/-qlanglvl\=ansi//g'`" | ||
6055 | CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`" | ||
6056 | CPPFLAGS="`echo $CPPFLAGS | sed 's/-qlanglvl\=ansi//g'`" | ||
6057 | |||
6058 | |||
6059 | fi | ||
6060 | |||
6061 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6062 | |||
6063 | { echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5 | ||
6064 | echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6; } | ||
4298 | if (test -z "$blibpath"); then | 6065 | if (test -z "$blibpath"); then |
4299 | blibpath="/usr/lib:/lib" | 6066 | blibpath="/usr/lib:/lib" |
4300 | fi | 6067 | fi |
4301 | saved_LDFLAGS="$LDFLAGS" | 6068 | saved_LDFLAGS="$LDFLAGS" |
4302 | for tryflags in -blibpath: -Wl,-blibpath: -Wl,-rpath, ;do | 6069 | if test "$GCC" = "yes"; then |
6070 | flags="-Wl,-blibpath: -Wl,-rpath, -blibpath:" | ||
6071 | else | ||
6072 | flags="-blibpath: -Wl,-blibpath: -Wl,-rpath," | ||
6073 | fi | ||
6074 | for tryflags in $flags ;do | ||
4303 | if (test -z "$blibflags"); then | 6075 | if (test -z "$blibflags"); then |
4304 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" | 6076 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" |
4305 | cat >conftest.$ac_ext <<_ACEOF | 6077 | cat >conftest.$ac_ext <<_ACEOF |
@@ -4318,50 +6090,48 @@ main () | |||
4318 | } | 6090 | } |
4319 | _ACEOF | 6091 | _ACEOF |
4320 | rm -f conftest.$ac_objext conftest$ac_exeext | 6092 | rm -f conftest.$ac_objext conftest$ac_exeext |
4321 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6093 | if { (ac_try="$ac_link" |
4322 | (eval $ac_link) 2>conftest.er1 | 6094 | case "(($ac_try" in |
6095 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6096 | *) ac_try_echo=$ac_try;; | ||
6097 | esac | ||
6098 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6099 | (eval "$ac_link") 2>conftest.er1 | ||
4323 | ac_status=$? | 6100 | ac_status=$? |
4324 | grep -v '^ *+' conftest.er1 >conftest.err | 6101 | grep -v '^ *+' conftest.er1 >conftest.err |
4325 | rm -f conftest.er1 | 6102 | rm -f conftest.er1 |
4326 | cat conftest.err >&5 | 6103 | cat conftest.err >&5 |
4327 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4328 | (exit $ac_status); } && | 6105 | (exit $ac_status); } && { |
4329 | { ac_try='test -z "$ac_c_werror_flag" | 6106 | test -z "$ac_c_werror_flag" || |
4330 | || test ! -s conftest.err' | 6107 | test ! -s conftest.err |
4331 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6108 | } && test -s conftest$ac_exeext && |
4332 | (eval $ac_try) 2>&5 | 6109 | $as_test_x conftest$ac_exeext; then |
4333 | ac_status=$? | ||
4334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4335 | (exit $ac_status); }; } && | ||
4336 | { ac_try='test -s conftest$ac_exeext' | ||
4337 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4338 | (eval $ac_try) 2>&5 | ||
4339 | ac_status=$? | ||
4340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4341 | (exit $ac_status); }; }; then | ||
4342 | blibflags=$tryflags | 6110 | blibflags=$tryflags |
4343 | else | 6111 | else |
4344 | echo "$as_me: failed program was:" >&5 | 6112 | echo "$as_me: failed program was:" >&5 |
4345 | sed 's/^/| /' conftest.$ac_ext >&5 | 6113 | sed 's/^/| /' conftest.$ac_ext >&5 |
4346 | 6114 | ||
6115 | |||
4347 | fi | 6116 | fi |
4348 | rm -f conftest.err conftest.$ac_objext \ | 6117 | |
6118 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
4349 | conftest$ac_exeext conftest.$ac_ext | 6119 | conftest$ac_exeext conftest.$ac_ext |
4350 | fi | 6120 | fi |
4351 | done | 6121 | done |
4352 | if (test -z "$blibflags"); then | 6122 | if (test -z "$blibflags"); then |
4353 | echo "$as_me:$LINENO: result: not found" >&5 | 6123 | { echo "$as_me:$LINENO: result: not found" >&5 |
4354 | echo "${ECHO_T}not found" >&6 | 6124 | echo "${ECHO_T}not found" >&6; } |
4355 | { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5 | 6125 | { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5 |
4356 | echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} | 6126 | echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} |
4357 | { (exit 1); exit 1; }; } | 6127 | { (exit 1); exit 1; }; } |
4358 | else | 6128 | else |
4359 | echo "$as_me:$LINENO: result: $blibflags" >&5 | 6129 | { echo "$as_me:$LINENO: result: $blibflags" >&5 |
4360 | echo "${ECHO_T}$blibflags" >&6 | 6130 | echo "${ECHO_T}$blibflags" >&6; } |
4361 | fi | 6131 | fi |
4362 | LDFLAGS="$saved_LDFLAGS" | 6132 | LDFLAGS="$saved_LDFLAGS" |
4363 | echo "$as_me:$LINENO: checking for authenticate" >&5 | 6133 | { echo "$as_me:$LINENO: checking for authenticate" >&5 |
4364 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6 | 6134 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6; } |
4365 | if test "${ac_cv_func_authenticate+set}" = set; then | 6135 | if test "${ac_cv_func_authenticate+set}" = set; then |
4366 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6136 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4367 | else | 6137 | else |
@@ -4388,68 +6158,59 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
4388 | 6158 | ||
4389 | #undef authenticate | 6159 | #undef authenticate |
4390 | 6160 | ||
4391 | /* Override any gcc2 internal prototype to avoid an error. */ | 6161 | /* Override any GCC internal prototype to avoid an error. |
6162 | Use char because int might match the return type of a GCC | ||
6163 | builtin and then its argument prototype would still apply. */ | ||
4392 | #ifdef __cplusplus | 6164 | #ifdef __cplusplus |
4393 | extern "C" | 6165 | extern "C" |
4394 | { | ||
4395 | #endif | 6166 | #endif |
4396 | /* We use char because int might match the return type of a gcc2 | ||
4397 | builtin and then its argument prototype would still apply. */ | ||
4398 | char authenticate (); | 6167 | char authenticate (); |
4399 | /* The GNU C library defines this for functions which it implements | 6168 | /* The GNU C library defines this for functions which it implements |
4400 | to always fail with ENOSYS. Some functions are actually named | 6169 | to always fail with ENOSYS. Some functions are actually named |
4401 | something starting with __ and the normal name is an alias. */ | 6170 | something starting with __ and the normal name is an alias. */ |
4402 | #if defined (__stub_authenticate) || defined (__stub___authenticate) | 6171 | #if defined __stub_authenticate || defined __stub___authenticate |
4403 | choke me | 6172 | choke me |
4404 | #else | ||
4405 | char (*f) () = authenticate; | ||
4406 | #endif | ||
4407 | #ifdef __cplusplus | ||
4408 | } | ||
4409 | #endif | 6173 | #endif |
4410 | 6174 | ||
4411 | int | 6175 | int |
4412 | main () | 6176 | main () |
4413 | { | 6177 | { |
4414 | return f != authenticate; | 6178 | return authenticate (); |
4415 | ; | 6179 | ; |
4416 | return 0; | 6180 | return 0; |
4417 | } | 6181 | } |
4418 | _ACEOF | 6182 | _ACEOF |
4419 | rm -f conftest.$ac_objext conftest$ac_exeext | 6183 | rm -f conftest.$ac_objext conftest$ac_exeext |
4420 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6184 | if { (ac_try="$ac_link" |
4421 | (eval $ac_link) 2>conftest.er1 | 6185 | case "(($ac_try" in |
6186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6187 | *) ac_try_echo=$ac_try;; | ||
6188 | esac | ||
6189 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6190 | (eval "$ac_link") 2>conftest.er1 | ||
4422 | ac_status=$? | 6191 | ac_status=$? |
4423 | grep -v '^ *+' conftest.er1 >conftest.err | 6192 | grep -v '^ *+' conftest.er1 >conftest.err |
4424 | rm -f conftest.er1 | 6193 | rm -f conftest.er1 |
4425 | cat conftest.err >&5 | 6194 | cat conftest.err >&5 |
4426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4427 | (exit $ac_status); } && | 6196 | (exit $ac_status); } && { |
4428 | { ac_try='test -z "$ac_c_werror_flag" | 6197 | test -z "$ac_c_werror_flag" || |
4429 | || test ! -s conftest.err' | 6198 | test ! -s conftest.err |
4430 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6199 | } && test -s conftest$ac_exeext && |
4431 | (eval $ac_try) 2>&5 | 6200 | $as_test_x conftest$ac_exeext; then |
4432 | ac_status=$? | ||
4433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4434 | (exit $ac_status); }; } && | ||
4435 | { ac_try='test -s conftest$ac_exeext' | ||
4436 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4437 | (eval $ac_try) 2>&5 | ||
4438 | ac_status=$? | ||
4439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4440 | (exit $ac_status); }; }; then | ||
4441 | ac_cv_func_authenticate=yes | 6201 | ac_cv_func_authenticate=yes |
4442 | else | 6202 | else |
4443 | echo "$as_me: failed program was:" >&5 | 6203 | echo "$as_me: failed program was:" >&5 |
4444 | sed 's/^/| /' conftest.$ac_ext >&5 | 6204 | sed 's/^/| /' conftest.$ac_ext >&5 |
4445 | 6205 | ||
4446 | ac_cv_func_authenticate=no | 6206 | ac_cv_func_authenticate=no |
4447 | fi | 6207 | fi |
4448 | rm -f conftest.err conftest.$ac_objext \ | 6208 | |
6209 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
4449 | conftest$ac_exeext conftest.$ac_ext | 6210 | conftest$ac_exeext conftest.$ac_ext |
4450 | fi | 6211 | fi |
4451 | echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 | 6212 | { echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 |
4452 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6 | 6213 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6; } |
4453 | if test $ac_cv_func_authenticate = yes; then | 6214 | if test $ac_cv_func_authenticate = yes; then |
4454 | 6215 | ||
4455 | cat >>confdefs.h <<\_ACEOF | 6216 | cat >>confdefs.h <<\_ACEOF |
@@ -4457,8 +6218,8 @@ cat >>confdefs.h <<\_ACEOF | |||
4457 | _ACEOF | 6218 | _ACEOF |
4458 | 6219 | ||
4459 | else | 6220 | else |
4460 | echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 | 6221 | { echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 |
4461 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6 | 6222 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6; } |
4462 | if test "${ac_cv_lib_s_authenticate+set}" = set; then | 6223 | if test "${ac_cv_lib_s_authenticate+set}" = set; then |
4463 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6224 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4464 | else | 6225 | else |
@@ -4471,56 +6232,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
4471 | cat >>conftest.$ac_ext <<_ACEOF | 6232 | cat >>conftest.$ac_ext <<_ACEOF |
4472 | /* end confdefs.h. */ | 6233 | /* end confdefs.h. */ |
4473 | 6234 | ||
4474 | /* Override any gcc2 internal prototype to avoid an error. */ | 6235 | /* Override any GCC internal prototype to avoid an error. |
6236 | Use char because int might match the return type of a GCC | ||
6237 | builtin and then its argument prototype would still apply. */ | ||
4475 | #ifdef __cplusplus | 6238 | #ifdef __cplusplus |
4476 | extern "C" | 6239 | extern "C" |
4477 | #endif | 6240 | #endif |
4478 | /* We use char because int might match the return type of a gcc2 | ||
4479 | builtin and then its argument prototype would still apply. */ | ||
4480 | char authenticate (); | 6241 | char authenticate (); |
4481 | int | 6242 | int |
4482 | main () | 6243 | main () |
4483 | { | 6244 | { |
4484 | authenticate (); | 6245 | return authenticate (); |
4485 | ; | 6246 | ; |
4486 | return 0; | 6247 | return 0; |
4487 | } | 6248 | } |
4488 | _ACEOF | 6249 | _ACEOF |
4489 | rm -f conftest.$ac_objext conftest$ac_exeext | 6250 | rm -f conftest.$ac_objext conftest$ac_exeext |
4490 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6251 | if { (ac_try="$ac_link" |
4491 | (eval $ac_link) 2>conftest.er1 | 6252 | case "(($ac_try" in |
6253 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6254 | *) ac_try_echo=$ac_try;; | ||
6255 | esac | ||
6256 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6257 | (eval "$ac_link") 2>conftest.er1 | ||
4492 | ac_status=$? | 6258 | ac_status=$? |
4493 | grep -v '^ *+' conftest.er1 >conftest.err | 6259 | grep -v '^ *+' conftest.er1 >conftest.err |
4494 | rm -f conftest.er1 | 6260 | rm -f conftest.er1 |
4495 | cat conftest.err >&5 | 6261 | cat conftest.err >&5 |
4496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4497 | (exit $ac_status); } && | 6263 | (exit $ac_status); } && { |
4498 | { ac_try='test -z "$ac_c_werror_flag" | 6264 | test -z "$ac_c_werror_flag" || |
4499 | || test ! -s conftest.err' | 6265 | test ! -s conftest.err |
4500 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6266 | } && test -s conftest$ac_exeext && |
4501 | (eval $ac_try) 2>&5 | 6267 | $as_test_x conftest$ac_exeext; then |
4502 | ac_status=$? | ||
4503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4504 | (exit $ac_status); }; } && | ||
4505 | { ac_try='test -s conftest$ac_exeext' | ||
4506 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4507 | (eval $ac_try) 2>&5 | ||
4508 | ac_status=$? | ||
4509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4510 | (exit $ac_status); }; }; then | ||
4511 | ac_cv_lib_s_authenticate=yes | 6268 | ac_cv_lib_s_authenticate=yes |
4512 | else | 6269 | else |
4513 | echo "$as_me: failed program was:" >&5 | 6270 | echo "$as_me: failed program was:" >&5 |
4514 | sed 's/^/| /' conftest.$ac_ext >&5 | 6271 | sed 's/^/| /' conftest.$ac_ext >&5 |
4515 | 6272 | ||
4516 | ac_cv_lib_s_authenticate=no | 6273 | ac_cv_lib_s_authenticate=no |
4517 | fi | 6274 | fi |
4518 | rm -f conftest.err conftest.$ac_objext \ | 6275 | |
6276 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
4519 | conftest$ac_exeext conftest.$ac_ext | 6277 | conftest$ac_exeext conftest.$ac_ext |
4520 | LIBS=$ac_check_lib_save_LIBS | 6278 | LIBS=$ac_check_lib_save_LIBS |
4521 | fi | 6279 | fi |
4522 | echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5 | 6280 | { echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5 |
4523 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6 | 6281 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6; } |
4524 | if test $ac_cv_lib_s_authenticate = yes; then | 6282 | if test $ac_cv_lib_s_authenticate = yes; then |
4525 | cat >>confdefs.h <<\_ACEOF | 6283 | cat >>confdefs.h <<\_ACEOF |
4526 | #define WITH_AIXAUTHENTICATE 1 | 6284 | #define WITH_AIXAUTHENTICATE 1 |
@@ -4533,8 +6291,8 @@ fi | |||
4533 | 6291 | ||
4534 | fi | 6292 | fi |
4535 | 6293 | ||
4536 | echo "$as_me:$LINENO: checking whether authenticate is declared" >&5 | 6294 | { echo "$as_me:$LINENO: checking whether authenticate is declared" >&5 |
4537 | echo $ECHO_N "checking whether authenticate is declared... $ECHO_C" >&6 | 6295 | echo $ECHO_N "checking whether authenticate is declared... $ECHO_C" >&6; } |
4538 | if test "${ac_cv_have_decl_authenticate+set}" = set; then | 6296 | if test "${ac_cv_have_decl_authenticate+set}" = set; then |
4539 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6297 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4540 | else | 6298 | else |
@@ -4550,7 +6308,7 @@ int | |||
4550 | main () | 6308 | main () |
4551 | { | 6309 | { |
4552 | #ifndef authenticate | 6310 | #ifndef authenticate |
4553 | char *p = (char *) authenticate; | 6311 | (void) authenticate; |
4554 | #endif | 6312 | #endif |
4555 | 6313 | ||
4556 | ; | 6314 | ; |
@@ -4558,38 +6316,34 @@ main () | |||
4558 | } | 6316 | } |
4559 | _ACEOF | 6317 | _ACEOF |
4560 | rm -f conftest.$ac_objext | 6318 | rm -f conftest.$ac_objext |
4561 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6319 | if { (ac_try="$ac_compile" |
4562 | (eval $ac_compile) 2>conftest.er1 | 6320 | case "(($ac_try" in |
6321 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6322 | *) ac_try_echo=$ac_try;; | ||
6323 | esac | ||
6324 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6325 | (eval "$ac_compile") 2>conftest.er1 | ||
4563 | ac_status=$? | 6326 | ac_status=$? |
4564 | grep -v '^ *+' conftest.er1 >conftest.err | 6327 | grep -v '^ *+' conftest.er1 >conftest.err |
4565 | rm -f conftest.er1 | 6328 | rm -f conftest.er1 |
4566 | cat conftest.err >&5 | 6329 | cat conftest.err >&5 |
4567 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4568 | (exit $ac_status); } && | 6331 | (exit $ac_status); } && { |
4569 | { ac_try='test -z "$ac_c_werror_flag" | 6332 | test -z "$ac_c_werror_flag" || |
4570 | || test ! -s conftest.err' | 6333 | test ! -s conftest.err |
4571 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6334 | } && test -s conftest.$ac_objext; then |
4572 | (eval $ac_try) 2>&5 | ||
4573 | ac_status=$? | ||
4574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4575 | (exit $ac_status); }; } && | ||
4576 | { ac_try='test -s conftest.$ac_objext' | ||
4577 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4578 | (eval $ac_try) 2>&5 | ||
4579 | ac_status=$? | ||
4580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4581 | (exit $ac_status); }; }; then | ||
4582 | ac_cv_have_decl_authenticate=yes | 6335 | ac_cv_have_decl_authenticate=yes |
4583 | else | 6336 | else |
4584 | echo "$as_me: failed program was:" >&5 | 6337 | echo "$as_me: failed program was:" >&5 |
4585 | sed 's/^/| /' conftest.$ac_ext >&5 | 6338 | sed 's/^/| /' conftest.$ac_ext >&5 |
4586 | 6339 | ||
4587 | ac_cv_have_decl_authenticate=no | 6340 | ac_cv_have_decl_authenticate=no |
4588 | fi | 6341 | fi |
4589 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6342 | |
6343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4590 | fi | 6344 | fi |
4591 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_authenticate" >&5 | 6345 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_authenticate" >&5 |
4592 | echo "${ECHO_T}$ac_cv_have_decl_authenticate" >&6 | 6346 | echo "${ECHO_T}$ac_cv_have_decl_authenticate" >&6; } |
4593 | if test $ac_cv_have_decl_authenticate = yes; then | 6347 | if test $ac_cv_have_decl_authenticate = yes; then |
4594 | 6348 | ||
4595 | cat >>confdefs.h <<_ACEOF | 6349 | cat >>confdefs.h <<_ACEOF |
@@ -4604,8 +6358,8 @@ _ACEOF | |||
4604 | 6358 | ||
4605 | 6359 | ||
4606 | fi | 6360 | fi |
4607 | echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5 | 6361 | { echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5 |
4608 | echo $ECHO_N "checking whether loginrestrictions is declared... $ECHO_C" >&6 | 6362 | echo $ECHO_N "checking whether loginrestrictions is declared... $ECHO_C" >&6; } |
4609 | if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then | 6363 | if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then |
4610 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6364 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4611 | else | 6365 | else |
@@ -4621,7 +6375,7 @@ int | |||
4621 | main () | 6375 | main () |
4622 | { | 6376 | { |
4623 | #ifndef loginrestrictions | 6377 | #ifndef loginrestrictions |
4624 | char *p = (char *) loginrestrictions; | 6378 | (void) loginrestrictions; |
4625 | #endif | 6379 | #endif |
4626 | 6380 | ||
4627 | ; | 6381 | ; |
@@ -4629,38 +6383,34 @@ main () | |||
4629 | } | 6383 | } |
4630 | _ACEOF | 6384 | _ACEOF |
4631 | rm -f conftest.$ac_objext | 6385 | rm -f conftest.$ac_objext |
4632 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6386 | if { (ac_try="$ac_compile" |
4633 | (eval $ac_compile) 2>conftest.er1 | 6387 | case "(($ac_try" in |
6388 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6389 | *) ac_try_echo=$ac_try;; | ||
6390 | esac | ||
6391 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6392 | (eval "$ac_compile") 2>conftest.er1 | ||
4634 | ac_status=$? | 6393 | ac_status=$? |
4635 | grep -v '^ *+' conftest.er1 >conftest.err | 6394 | grep -v '^ *+' conftest.er1 >conftest.err |
4636 | rm -f conftest.er1 | 6395 | rm -f conftest.er1 |
4637 | cat conftest.err >&5 | 6396 | cat conftest.err >&5 |
4638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4639 | (exit $ac_status); } && | 6398 | (exit $ac_status); } && { |
4640 | { ac_try='test -z "$ac_c_werror_flag" | 6399 | test -z "$ac_c_werror_flag" || |
4641 | || test ! -s conftest.err' | 6400 | test ! -s conftest.err |
4642 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6401 | } && test -s conftest.$ac_objext; then |
4643 | (eval $ac_try) 2>&5 | ||
4644 | ac_status=$? | ||
4645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4646 | (exit $ac_status); }; } && | ||
4647 | { ac_try='test -s conftest.$ac_objext' | ||
4648 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4649 | (eval $ac_try) 2>&5 | ||
4650 | ac_status=$? | ||
4651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4652 | (exit $ac_status); }; }; then | ||
4653 | ac_cv_have_decl_loginrestrictions=yes | 6402 | ac_cv_have_decl_loginrestrictions=yes |
4654 | else | 6403 | else |
4655 | echo "$as_me: failed program was:" >&5 | 6404 | echo "$as_me: failed program was:" >&5 |
4656 | sed 's/^/| /' conftest.$ac_ext >&5 | 6405 | sed 's/^/| /' conftest.$ac_ext >&5 |
4657 | 6406 | ||
4658 | ac_cv_have_decl_loginrestrictions=no | 6407 | ac_cv_have_decl_loginrestrictions=no |
4659 | fi | 6408 | fi |
4660 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6409 | |
6410 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4661 | fi | 6411 | fi |
4662 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginrestrictions" >&5 | 6412 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginrestrictions" >&5 |
4663 | echo "${ECHO_T}$ac_cv_have_decl_loginrestrictions" >&6 | 6413 | echo "${ECHO_T}$ac_cv_have_decl_loginrestrictions" >&6; } |
4664 | if test $ac_cv_have_decl_loginrestrictions = yes; then | 6414 | if test $ac_cv_have_decl_loginrestrictions = yes; then |
4665 | 6415 | ||
4666 | cat >>confdefs.h <<_ACEOF | 6416 | cat >>confdefs.h <<_ACEOF |
@@ -4675,8 +6425,8 @@ _ACEOF | |||
4675 | 6425 | ||
4676 | 6426 | ||
4677 | fi | 6427 | fi |
4678 | echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5 | 6428 | { echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5 |
4679 | echo $ECHO_N "checking whether loginsuccess is declared... $ECHO_C" >&6 | 6429 | echo $ECHO_N "checking whether loginsuccess is declared... $ECHO_C" >&6; } |
4680 | if test "${ac_cv_have_decl_loginsuccess+set}" = set; then | 6430 | if test "${ac_cv_have_decl_loginsuccess+set}" = set; then |
4681 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6431 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4682 | else | 6432 | else |
@@ -4692,7 +6442,7 @@ int | |||
4692 | main () | 6442 | main () |
4693 | { | 6443 | { |
4694 | #ifndef loginsuccess | 6444 | #ifndef loginsuccess |
4695 | char *p = (char *) loginsuccess; | 6445 | (void) loginsuccess; |
4696 | #endif | 6446 | #endif |
4697 | 6447 | ||
4698 | ; | 6448 | ; |
@@ -4700,38 +6450,34 @@ main () | |||
4700 | } | 6450 | } |
4701 | _ACEOF | 6451 | _ACEOF |
4702 | rm -f conftest.$ac_objext | 6452 | rm -f conftest.$ac_objext |
4703 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6453 | if { (ac_try="$ac_compile" |
4704 | (eval $ac_compile) 2>conftest.er1 | 6454 | case "(($ac_try" in |
6455 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6456 | *) ac_try_echo=$ac_try;; | ||
6457 | esac | ||
6458 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6459 | (eval "$ac_compile") 2>conftest.er1 | ||
4705 | ac_status=$? | 6460 | ac_status=$? |
4706 | grep -v '^ *+' conftest.er1 >conftest.err | 6461 | grep -v '^ *+' conftest.er1 >conftest.err |
4707 | rm -f conftest.er1 | 6462 | rm -f conftest.er1 |
4708 | cat conftest.err >&5 | 6463 | cat conftest.err >&5 |
4709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4710 | (exit $ac_status); } && | 6465 | (exit $ac_status); } && { |
4711 | { ac_try='test -z "$ac_c_werror_flag" | 6466 | test -z "$ac_c_werror_flag" || |
4712 | || test ! -s conftest.err' | 6467 | test ! -s conftest.err |
4713 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6468 | } && test -s conftest.$ac_objext; then |
4714 | (eval $ac_try) 2>&5 | ||
4715 | ac_status=$? | ||
4716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4717 | (exit $ac_status); }; } && | ||
4718 | { ac_try='test -s conftest.$ac_objext' | ||
4719 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4720 | (eval $ac_try) 2>&5 | ||
4721 | ac_status=$? | ||
4722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4723 | (exit $ac_status); }; }; then | ||
4724 | ac_cv_have_decl_loginsuccess=yes | 6469 | ac_cv_have_decl_loginsuccess=yes |
4725 | else | 6470 | else |
4726 | echo "$as_me: failed program was:" >&5 | 6471 | echo "$as_me: failed program was:" >&5 |
4727 | sed 's/^/| /' conftest.$ac_ext >&5 | 6472 | sed 's/^/| /' conftest.$ac_ext >&5 |
4728 | 6473 | ||
4729 | ac_cv_have_decl_loginsuccess=no | 6474 | ac_cv_have_decl_loginsuccess=no |
4730 | fi | 6475 | fi |
4731 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6476 | |
6477 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4732 | fi | 6478 | fi |
4733 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginsuccess" >&5 | 6479 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginsuccess" >&5 |
4734 | echo "${ECHO_T}$ac_cv_have_decl_loginsuccess" >&6 | 6480 | echo "${ECHO_T}$ac_cv_have_decl_loginsuccess" >&6; } |
4735 | if test $ac_cv_have_decl_loginsuccess = yes; then | 6481 | if test $ac_cv_have_decl_loginsuccess = yes; then |
4736 | 6482 | ||
4737 | cat >>confdefs.h <<_ACEOF | 6483 | cat >>confdefs.h <<_ACEOF |
@@ -4746,8 +6492,8 @@ _ACEOF | |||
4746 | 6492 | ||
4747 | 6493 | ||
4748 | fi | 6494 | fi |
4749 | echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5 | 6495 | { echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5 |
4750 | echo $ECHO_N "checking whether passwdexpired is declared... $ECHO_C" >&6 | 6496 | echo $ECHO_N "checking whether passwdexpired is declared... $ECHO_C" >&6; } |
4751 | if test "${ac_cv_have_decl_passwdexpired+set}" = set; then | 6497 | if test "${ac_cv_have_decl_passwdexpired+set}" = set; then |
4752 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6498 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4753 | else | 6499 | else |
@@ -4763,7 +6509,7 @@ int | |||
4763 | main () | 6509 | main () |
4764 | { | 6510 | { |
4765 | #ifndef passwdexpired | 6511 | #ifndef passwdexpired |
4766 | char *p = (char *) passwdexpired; | 6512 | (void) passwdexpired; |
4767 | #endif | 6513 | #endif |
4768 | 6514 | ||
4769 | ; | 6515 | ; |
@@ -4771,38 +6517,34 @@ main () | |||
4771 | } | 6517 | } |
4772 | _ACEOF | 6518 | _ACEOF |
4773 | rm -f conftest.$ac_objext | 6519 | rm -f conftest.$ac_objext |
4774 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6520 | if { (ac_try="$ac_compile" |
4775 | (eval $ac_compile) 2>conftest.er1 | 6521 | case "(($ac_try" in |
6522 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6523 | *) ac_try_echo=$ac_try;; | ||
6524 | esac | ||
6525 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6526 | (eval "$ac_compile") 2>conftest.er1 | ||
4776 | ac_status=$? | 6527 | ac_status=$? |
4777 | grep -v '^ *+' conftest.er1 >conftest.err | 6528 | grep -v '^ *+' conftest.er1 >conftest.err |
4778 | rm -f conftest.er1 | 6529 | rm -f conftest.er1 |
4779 | cat conftest.err >&5 | 6530 | cat conftest.err >&5 |
4780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4781 | (exit $ac_status); } && | 6532 | (exit $ac_status); } && { |
4782 | { ac_try='test -z "$ac_c_werror_flag" | 6533 | test -z "$ac_c_werror_flag" || |
4783 | || test ! -s conftest.err' | 6534 | test ! -s conftest.err |
4784 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6535 | } && test -s conftest.$ac_objext; then |
4785 | (eval $ac_try) 2>&5 | ||
4786 | ac_status=$? | ||
4787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4788 | (exit $ac_status); }; } && | ||
4789 | { ac_try='test -s conftest.$ac_objext' | ||
4790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4791 | (eval $ac_try) 2>&5 | ||
4792 | ac_status=$? | ||
4793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4794 | (exit $ac_status); }; }; then | ||
4795 | ac_cv_have_decl_passwdexpired=yes | 6536 | ac_cv_have_decl_passwdexpired=yes |
4796 | else | 6537 | else |
4797 | echo "$as_me: failed program was:" >&5 | 6538 | echo "$as_me: failed program was:" >&5 |
4798 | sed 's/^/| /' conftest.$ac_ext >&5 | 6539 | sed 's/^/| /' conftest.$ac_ext >&5 |
4799 | 6540 | ||
4800 | ac_cv_have_decl_passwdexpired=no | 6541 | ac_cv_have_decl_passwdexpired=no |
4801 | fi | 6542 | fi |
4802 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6543 | |
6544 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4803 | fi | 6545 | fi |
4804 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_passwdexpired" >&5 | 6546 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_passwdexpired" >&5 |
4805 | echo "${ECHO_T}$ac_cv_have_decl_passwdexpired" >&6 | 6547 | echo "${ECHO_T}$ac_cv_have_decl_passwdexpired" >&6; } |
4806 | if test $ac_cv_have_decl_passwdexpired = yes; then | 6548 | if test $ac_cv_have_decl_passwdexpired = yes; then |
4807 | 6549 | ||
4808 | cat >>confdefs.h <<_ACEOF | 6550 | cat >>confdefs.h <<_ACEOF |
@@ -4817,8 +6559,8 @@ _ACEOF | |||
4817 | 6559 | ||
4818 | 6560 | ||
4819 | fi | 6561 | fi |
4820 | echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5 | 6562 | { echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5 |
4821 | echo $ECHO_N "checking whether setauthdb is declared... $ECHO_C" >&6 | 6563 | echo $ECHO_N "checking whether setauthdb is declared... $ECHO_C" >&6; } |
4822 | if test "${ac_cv_have_decl_setauthdb+set}" = set; then | 6564 | if test "${ac_cv_have_decl_setauthdb+set}" = set; then |
4823 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4824 | else | 6566 | else |
@@ -4834,7 +6576,7 @@ int | |||
4834 | main () | 6576 | main () |
4835 | { | 6577 | { |
4836 | #ifndef setauthdb | 6578 | #ifndef setauthdb |
4837 | char *p = (char *) setauthdb; | 6579 | (void) setauthdb; |
4838 | #endif | 6580 | #endif |
4839 | 6581 | ||
4840 | ; | 6582 | ; |
@@ -4842,38 +6584,34 @@ main () | |||
4842 | } | 6584 | } |
4843 | _ACEOF | 6585 | _ACEOF |
4844 | rm -f conftest.$ac_objext | 6586 | rm -f conftest.$ac_objext |
4845 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6587 | if { (ac_try="$ac_compile" |
4846 | (eval $ac_compile) 2>conftest.er1 | 6588 | case "(($ac_try" in |
6589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6590 | *) ac_try_echo=$ac_try;; | ||
6591 | esac | ||
6592 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6593 | (eval "$ac_compile") 2>conftest.er1 | ||
4847 | ac_status=$? | 6594 | ac_status=$? |
4848 | grep -v '^ *+' conftest.er1 >conftest.err | 6595 | grep -v '^ *+' conftest.er1 >conftest.err |
4849 | rm -f conftest.er1 | 6596 | rm -f conftest.er1 |
4850 | cat conftest.err >&5 | 6597 | cat conftest.err >&5 |
4851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4852 | (exit $ac_status); } && | 6599 | (exit $ac_status); } && { |
4853 | { ac_try='test -z "$ac_c_werror_flag" | 6600 | test -z "$ac_c_werror_flag" || |
4854 | || test ! -s conftest.err' | 6601 | test ! -s conftest.err |
4855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6602 | } && test -s conftest.$ac_objext; then |
4856 | (eval $ac_try) 2>&5 | ||
4857 | ac_status=$? | ||
4858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4859 | (exit $ac_status); }; } && | ||
4860 | { ac_try='test -s conftest.$ac_objext' | ||
4861 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4862 | (eval $ac_try) 2>&5 | ||
4863 | ac_status=$? | ||
4864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4865 | (exit $ac_status); }; }; then | ||
4866 | ac_cv_have_decl_setauthdb=yes | 6603 | ac_cv_have_decl_setauthdb=yes |
4867 | else | 6604 | else |
4868 | echo "$as_me: failed program was:" >&5 | 6605 | echo "$as_me: failed program was:" >&5 |
4869 | sed 's/^/| /' conftest.$ac_ext >&5 | 6606 | sed 's/^/| /' conftest.$ac_ext >&5 |
4870 | 6607 | ||
4871 | ac_cv_have_decl_setauthdb=no | 6608 | ac_cv_have_decl_setauthdb=no |
4872 | fi | 6609 | fi |
4873 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6610 | |
6611 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4874 | fi | 6612 | fi |
4875 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_setauthdb" >&5 | 6613 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_setauthdb" >&5 |
4876 | echo "${ECHO_T}$ac_cv_have_decl_setauthdb" >&6 | 6614 | echo "${ECHO_T}$ac_cv_have_decl_setauthdb" >&6; } |
4877 | if test $ac_cv_have_decl_setauthdb = yes; then | 6615 | if test $ac_cv_have_decl_setauthdb = yes; then |
4878 | 6616 | ||
4879 | cat >>confdefs.h <<_ACEOF | 6617 | cat >>confdefs.h <<_ACEOF |
@@ -4890,8 +6628,8 @@ _ACEOF | |||
4890 | fi | 6628 | fi |
4891 | 6629 | ||
4892 | 6630 | ||
4893 | echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 | 6631 | { echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 |
4894 | echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6 | 6632 | echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6; } |
4895 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then | 6633 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then |
4896 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6634 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4897 | else | 6635 | else |
@@ -4908,7 +6646,7 @@ int | |||
4908 | main () | 6646 | main () |
4909 | { | 6647 | { |
4910 | #ifndef loginfailed | 6648 | #ifndef loginfailed |
4911 | char *p = (char *) loginfailed; | 6649 | (void) loginfailed; |
4912 | #endif | 6650 | #endif |
4913 | 6651 | ||
4914 | ; | 6652 | ; |
@@ -4916,46 +6654,42 @@ main () | |||
4916 | } | 6654 | } |
4917 | _ACEOF | 6655 | _ACEOF |
4918 | rm -f conftest.$ac_objext | 6656 | rm -f conftest.$ac_objext |
4919 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6657 | if { (ac_try="$ac_compile" |
4920 | (eval $ac_compile) 2>conftest.er1 | 6658 | case "(($ac_try" in |
6659 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6660 | *) ac_try_echo=$ac_try;; | ||
6661 | esac | ||
6662 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6663 | (eval "$ac_compile") 2>conftest.er1 | ||
4921 | ac_status=$? | 6664 | ac_status=$? |
4922 | grep -v '^ *+' conftest.er1 >conftest.err | 6665 | grep -v '^ *+' conftest.er1 >conftest.err |
4923 | rm -f conftest.er1 | 6666 | rm -f conftest.er1 |
4924 | cat conftest.err >&5 | 6667 | cat conftest.err >&5 |
4925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4926 | (exit $ac_status); } && | 6669 | (exit $ac_status); } && { |
4927 | { ac_try='test -z "$ac_c_werror_flag" | 6670 | test -z "$ac_c_werror_flag" || |
4928 | || test ! -s conftest.err' | 6671 | test ! -s conftest.err |
4929 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6672 | } && test -s conftest.$ac_objext; then |
4930 | (eval $ac_try) 2>&5 | ||
4931 | ac_status=$? | ||
4932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4933 | (exit $ac_status); }; } && | ||
4934 | { ac_try='test -s conftest.$ac_objext' | ||
4935 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4936 | (eval $ac_try) 2>&5 | ||
4937 | ac_status=$? | ||
4938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4939 | (exit $ac_status); }; }; then | ||
4940 | ac_cv_have_decl_loginfailed=yes | 6673 | ac_cv_have_decl_loginfailed=yes |
4941 | else | 6674 | else |
4942 | echo "$as_me: failed program was:" >&5 | 6675 | echo "$as_me: failed program was:" >&5 |
4943 | sed 's/^/| /' conftest.$ac_ext >&5 | 6676 | sed 's/^/| /' conftest.$ac_ext >&5 |
4944 | 6677 | ||
4945 | ac_cv_have_decl_loginfailed=no | 6678 | ac_cv_have_decl_loginfailed=no |
4946 | fi | 6679 | fi |
4947 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6680 | |
6681 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4948 | fi | 6682 | fi |
4949 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5 | 6683 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5 |
4950 | echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6 | 6684 | echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6; } |
4951 | if test $ac_cv_have_decl_loginfailed = yes; then | 6685 | if test $ac_cv_have_decl_loginfailed = yes; then |
4952 | 6686 | ||
4953 | cat >>confdefs.h <<_ACEOF | 6687 | cat >>confdefs.h <<_ACEOF |
4954 | #define HAVE_DECL_LOGINFAILED 1 | 6688 | #define HAVE_DECL_LOGINFAILED 1 |
4955 | _ACEOF | 6689 | _ACEOF |
4956 | 6690 | ||
4957 | echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5 | 6691 | { echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5 |
4958 | echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6 | 6692 | echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6; } |
4959 | cat >conftest.$ac_ext <<_ACEOF | 6693 | cat >conftest.$ac_ext <<_ACEOF |
4960 | /* confdefs.h. */ | 6694 | /* confdefs.h. */ |
4961 | _ACEOF | 6695 | _ACEOF |
@@ -4972,29 +6706,24 @@ main () | |||
4972 | } | 6706 | } |
4973 | _ACEOF | 6707 | _ACEOF |
4974 | rm -f conftest.$ac_objext | 6708 | rm -f conftest.$ac_objext |
4975 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6709 | if { (ac_try="$ac_compile" |
4976 | (eval $ac_compile) 2>conftest.er1 | 6710 | case "(($ac_try" in |
6711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6712 | *) ac_try_echo=$ac_try;; | ||
6713 | esac | ||
6714 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6715 | (eval "$ac_compile") 2>conftest.er1 | ||
4977 | ac_status=$? | 6716 | ac_status=$? |
4978 | grep -v '^ *+' conftest.er1 >conftest.err | 6717 | grep -v '^ *+' conftest.er1 >conftest.err |
4979 | rm -f conftest.er1 | 6718 | rm -f conftest.er1 |
4980 | cat conftest.err >&5 | 6719 | cat conftest.err >&5 |
4981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4982 | (exit $ac_status); } && | 6721 | (exit $ac_status); } && { |
4983 | { ac_try='test -z "$ac_c_werror_flag" | 6722 | test -z "$ac_c_werror_flag" || |
4984 | || test ! -s conftest.err' | 6723 | test ! -s conftest.err |
4985 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6724 | } && test -s conftest.$ac_objext; then |
4986 | (eval $ac_try) 2>&5 | 6725 | { echo "$as_me:$LINENO: result: yes" >&5 |
4987 | ac_status=$? | 6726 | echo "${ECHO_T}yes" >&6; } |
4988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4989 | (exit $ac_status); }; } && | ||
4990 | { ac_try='test -s conftest.$ac_objext' | ||
4991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4992 | (eval $ac_try) 2>&5 | ||
4993 | ac_status=$? | ||
4994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4995 | (exit $ac_status); }; }; then | ||
4996 | echo "$as_me:$LINENO: result: yes" >&5 | ||
4997 | echo "${ECHO_T}yes" >&6 | ||
4998 | 6727 | ||
4999 | cat >>confdefs.h <<\_ACEOF | 6728 | cat >>confdefs.h <<\_ACEOF |
5000 | #define AIX_LOGINFAILED_4ARG 1 | 6729 | #define AIX_LOGINFAILED_4ARG 1 |
@@ -5004,11 +6733,12 @@ else | |||
5004 | echo "$as_me: failed program was:" >&5 | 6733 | echo "$as_me: failed program was:" >&5 |
5005 | sed 's/^/| /' conftest.$ac_ext >&5 | 6734 | sed 's/^/| /' conftest.$ac_ext >&5 |
5006 | 6735 | ||
5007 | echo "$as_me:$LINENO: result: no" >&5 | 6736 | { echo "$as_me:$LINENO: result: no" >&5 |
5008 | echo "${ECHO_T}no" >&6 | 6737 | echo "${ECHO_T}no" >&6; } |
5009 | 6738 | ||
5010 | fi | 6739 | fi |
5011 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6740 | |
6741 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5012 | else | 6742 | else |
5013 | cat >>confdefs.h <<_ACEOF | 6743 | cat >>confdefs.h <<_ACEOF |
5014 | #define HAVE_DECL_LOGINFAILED 0 | 6744 | #define HAVE_DECL_LOGINFAILED 0 |
@@ -5022,9 +6752,9 @@ fi | |||
5022 | for ac_func in setauthdb | 6752 | for ac_func in setauthdb |
5023 | do | 6753 | do |
5024 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6754 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5025 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 6755 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5026 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6756 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5027 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 6757 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5028 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6758 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5029 | else | 6759 | else |
5030 | cat >conftest.$ac_ext <<_ACEOF | 6760 | cat >conftest.$ac_ext <<_ACEOF |
@@ -5050,68 +6780,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
5050 | 6780 | ||
5051 | #undef $ac_func | 6781 | #undef $ac_func |
5052 | 6782 | ||
5053 | /* Override any gcc2 internal prototype to avoid an error. */ | 6783 | /* Override any GCC internal prototype to avoid an error. |
6784 | Use char because int might match the return type of a GCC | ||
6785 | builtin and then its argument prototype would still apply. */ | ||
5054 | #ifdef __cplusplus | 6786 | #ifdef __cplusplus |
5055 | extern "C" | 6787 | extern "C" |
5056 | { | ||
5057 | #endif | 6788 | #endif |
5058 | /* We use char because int might match the return type of a gcc2 | ||
5059 | builtin and then its argument prototype would still apply. */ | ||
5060 | char $ac_func (); | 6789 | char $ac_func (); |
5061 | /* The GNU C library defines this for functions which it implements | 6790 | /* The GNU C library defines this for functions which it implements |
5062 | to always fail with ENOSYS. Some functions are actually named | 6791 | to always fail with ENOSYS. Some functions are actually named |
5063 | something starting with __ and the normal name is an alias. */ | 6792 | something starting with __ and the normal name is an alias. */ |
5064 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 6793 | #if defined __stub_$ac_func || defined __stub___$ac_func |
5065 | choke me | 6794 | choke me |
5066 | #else | ||
5067 | char (*f) () = $ac_func; | ||
5068 | #endif | ||
5069 | #ifdef __cplusplus | ||
5070 | } | ||
5071 | #endif | 6795 | #endif |
5072 | 6796 | ||
5073 | int | 6797 | int |
5074 | main () | 6798 | main () |
5075 | { | 6799 | { |
5076 | return f != $ac_func; | 6800 | return $ac_func (); |
5077 | ; | 6801 | ; |
5078 | return 0; | 6802 | return 0; |
5079 | } | 6803 | } |
5080 | _ACEOF | 6804 | _ACEOF |
5081 | rm -f conftest.$ac_objext conftest$ac_exeext | 6805 | rm -f conftest.$ac_objext conftest$ac_exeext |
5082 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6806 | if { (ac_try="$ac_link" |
5083 | (eval $ac_link) 2>conftest.er1 | 6807 | case "(($ac_try" in |
6808 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6809 | *) ac_try_echo=$ac_try;; | ||
6810 | esac | ||
6811 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6812 | (eval "$ac_link") 2>conftest.er1 | ||
5084 | ac_status=$? | 6813 | ac_status=$? |
5085 | grep -v '^ *+' conftest.er1 >conftest.err | 6814 | grep -v '^ *+' conftest.er1 >conftest.err |
5086 | rm -f conftest.er1 | 6815 | rm -f conftest.er1 |
5087 | cat conftest.err >&5 | 6816 | cat conftest.err >&5 |
5088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5089 | (exit $ac_status); } && | 6818 | (exit $ac_status); } && { |
5090 | { ac_try='test -z "$ac_c_werror_flag" | 6819 | test -z "$ac_c_werror_flag" || |
5091 | || test ! -s conftest.err' | 6820 | test ! -s conftest.err |
5092 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6821 | } && test -s conftest$ac_exeext && |
5093 | (eval $ac_try) 2>&5 | 6822 | $as_test_x conftest$ac_exeext; then |
5094 | ac_status=$? | ||
5095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5096 | (exit $ac_status); }; } && | ||
5097 | { ac_try='test -s conftest$ac_exeext' | ||
5098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5099 | (eval $ac_try) 2>&5 | ||
5100 | ac_status=$? | ||
5101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5102 | (exit $ac_status); }; }; then | ||
5103 | eval "$as_ac_var=yes" | 6823 | eval "$as_ac_var=yes" |
5104 | else | 6824 | else |
5105 | echo "$as_me: failed program was:" >&5 | 6825 | echo "$as_me: failed program was:" >&5 |
5106 | sed 's/^/| /' conftest.$ac_ext >&5 | 6826 | sed 's/^/| /' conftest.$ac_ext >&5 |
5107 | 6827 | ||
5108 | eval "$as_ac_var=no" | 6828 | eval "$as_ac_var=no" |
5109 | fi | 6829 | fi |
5110 | rm -f conftest.err conftest.$ac_objext \ | 6830 | |
6831 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5111 | conftest$ac_exeext conftest.$ac_ext | 6832 | conftest$ac_exeext conftest.$ac_ext |
5112 | fi | 6833 | fi |
5113 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6834 | ac_res=`eval echo '${'$as_ac_var'}'` |
5114 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6835 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6836 | echo "${ECHO_T}$ac_res" >&6; } | ||
5115 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 6837 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
5116 | cat >>confdefs.h <<_ACEOF | 6838 | cat >>confdefs.h <<_ACEOF |
5117 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 6839 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -5120,6 +6842,69 @@ _ACEOF | |||
5120 | fi | 6842 | fi |
5121 | done | 6843 | done |
5122 | 6844 | ||
6845 | { echo "$as_me:$LINENO: checking whether F_CLOSEM is declared" >&5 | ||
6846 | echo $ECHO_N "checking whether F_CLOSEM is declared... $ECHO_C" >&6; } | ||
6847 | if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then | ||
6848 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6849 | else | ||
6850 | cat >conftest.$ac_ext <<_ACEOF | ||
6851 | /* confdefs.h. */ | ||
6852 | _ACEOF | ||
6853 | cat confdefs.h >>conftest.$ac_ext | ||
6854 | cat >>conftest.$ac_ext <<_ACEOF | ||
6855 | /* end confdefs.h. */ | ||
6856 | #include <limits.h> | ||
6857 | #include <fcntl.h> | ||
6858 | |||
6859 | |||
6860 | int | ||
6861 | main () | ||
6862 | { | ||
6863 | #ifndef F_CLOSEM | ||
6864 | (void) F_CLOSEM; | ||
6865 | #endif | ||
6866 | |||
6867 | ; | ||
6868 | return 0; | ||
6869 | } | ||
6870 | _ACEOF | ||
6871 | rm -f conftest.$ac_objext | ||
6872 | if { (ac_try="$ac_compile" | ||
6873 | case "(($ac_try" in | ||
6874 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6875 | *) ac_try_echo=$ac_try;; | ||
6876 | esac | ||
6877 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6878 | (eval "$ac_compile") 2>conftest.er1 | ||
6879 | ac_status=$? | ||
6880 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6881 | rm -f conftest.er1 | ||
6882 | cat conftest.err >&5 | ||
6883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6884 | (exit $ac_status); } && { | ||
6885 | test -z "$ac_c_werror_flag" || | ||
6886 | test ! -s conftest.err | ||
6887 | } && test -s conftest.$ac_objext; then | ||
6888 | ac_cv_have_decl_F_CLOSEM=yes | ||
6889 | else | ||
6890 | echo "$as_me: failed program was:" >&5 | ||
6891 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6892 | |||
6893 | ac_cv_have_decl_F_CLOSEM=no | ||
6894 | fi | ||
6895 | |||
6896 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6897 | fi | ||
6898 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_F_CLOSEM" >&5 | ||
6899 | echo "${ECHO_T}$ac_cv_have_decl_F_CLOSEM" >&6; } | ||
6900 | if test $ac_cv_have_decl_F_CLOSEM = yes; then | ||
6901 | |||
6902 | cat >>confdefs.h <<\_ACEOF | ||
6903 | #define HAVE_FCNTL_CLOSEM 1 | ||
6904 | _ACEOF | ||
6905 | |||
6906 | fi | ||
6907 | |||
5123 | check_for_aix_broken_getaddrinfo=1 | 6908 | check_for_aix_broken_getaddrinfo=1 |
5124 | 6909 | ||
5125 | cat >>confdefs.h <<\_ACEOF | 6910 | cat >>confdefs.h <<\_ACEOF |
@@ -5161,10 +6946,15 @@ cat >>confdefs.h <<\_ACEOF | |||
5161 | #define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 | 6946 | #define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 |
5162 | _ACEOF | 6947 | _ACEOF |
5163 | 6948 | ||
6949 | |||
6950 | cat >>confdefs.h <<\_ACEOF | ||
6951 | #define PTY_ZEROREAD 1 | ||
6952 | _ACEOF | ||
6953 | |||
5164 | ;; | 6954 | ;; |
5165 | *-*-cygwin*) | 6955 | *-*-cygwin*) |
5166 | check_for_libcrypt_later=1 | 6956 | check_for_libcrypt_later=1 |
5167 | LIBS="$LIBS /usr/lib/textmode.o" | 6957 | LIBS="$LIBS /usr/lib/textreadmode.o" |
5168 | 6958 | ||
5169 | cat >>confdefs.h <<\_ACEOF | 6959 | cat >>confdefs.h <<\_ACEOF |
5170 | #define HAVE_CYGWIN 1 | 6960 | #define HAVE_CYGWIN 1 |
@@ -5220,11 +7010,11 @@ _ACEOF | |||
5220 | 7010 | ||
5221 | ;; | 7011 | ;; |
5222 | *-*-darwin*) | 7012 | *-*-darwin*) |
5223 | echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5 | 7013 | { echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5 |
5224 | echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6 | 7014 | echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6; } |
5225 | if test "$cross_compiling" = yes; then | 7015 | if test "$cross_compiling" = yes; then |
5226 | echo "$as_me:$LINENO: result: assume it is working" >&5 | 7016 | { echo "$as_me:$LINENO: result: assume it is working" >&5 |
5227 | echo "${ECHO_T}assume it is working" >&6 | 7017 | echo "${ECHO_T}assume it is working" >&6; } |
5228 | else | 7018 | else |
5229 | cat >conftest.$ac_ext <<_ACEOF | 7019 | cat >conftest.$ac_ext <<_ACEOF |
5230 | /* confdefs.h. */ | 7020 | /* confdefs.h. */ |
@@ -5240,34 +7030,45 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
5240 | } | 7030 | } |
5241 | _ACEOF | 7031 | _ACEOF |
5242 | rm -f conftest$ac_exeext | 7032 | rm -f conftest$ac_exeext |
5243 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7033 | if { (ac_try="$ac_link" |
5244 | (eval $ac_link) 2>&5 | 7034 | case "(($ac_try" in |
7035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7036 | *) ac_try_echo=$ac_try;; | ||
7037 | esac | ||
7038 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7039 | (eval "$ac_link") 2>&5 | ||
5245 | ac_status=$? | 7040 | ac_status=$? |
5246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 7042 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5248 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7043 | { (case "(($ac_try" in |
5249 | (eval $ac_try) 2>&5 | 7044 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7045 | *) ac_try_echo=$ac_try;; | ||
7046 | esac | ||
7047 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7048 | (eval "$ac_try") 2>&5 | ||
5250 | ac_status=$? | 7049 | ac_status=$? |
5251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5252 | (exit $ac_status); }; }; then | 7051 | (exit $ac_status); }; }; then |
5253 | echo "$as_me:$LINENO: result: working" >&5 | 7052 | { echo "$as_me:$LINENO: result: working" >&5 |
5254 | echo "${ECHO_T}working" >&6 | 7053 | echo "${ECHO_T}working" >&6; } |
5255 | else | 7054 | else |
5256 | echo "$as_me: program exited with status $ac_status" >&5 | 7055 | echo "$as_me: program exited with status $ac_status" >&5 |
5257 | echo "$as_me: failed program was:" >&5 | 7056 | echo "$as_me: failed program was:" >&5 |
5258 | sed 's/^/| /' conftest.$ac_ext >&5 | 7057 | sed 's/^/| /' conftest.$ac_ext >&5 |
5259 | 7058 | ||
5260 | ( exit $ac_status ) | 7059 | ( exit $ac_status ) |
5261 | echo "$as_me:$LINENO: result: buggy" >&5 | 7060 | { echo "$as_me:$LINENO: result: buggy" >&5 |
5262 | echo "${ECHO_T}buggy" >&6 | 7061 | echo "${ECHO_T}buggy" >&6; } |
5263 | 7062 | ||
5264 | cat >>confdefs.h <<\_ACEOF | 7063 | cat >>confdefs.h <<\_ACEOF |
5265 | #define BROKEN_GETADDRINFO 1 | 7064 | #define BROKEN_GETADDRINFO 1 |
5266 | _ACEOF | 7065 | _ACEOF |
5267 | 7066 | ||
5268 | fi | 7067 | fi |
5269 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 7068 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5270 | fi | 7069 | fi |
7070 | |||
7071 | |||
5271 | cat >>confdefs.h <<\_ACEOF | 7072 | cat >>confdefs.h <<\_ACEOF |
5272 | #define SETEUID_BREAKS_SETUID 1 | 7073 | #define SETEUID_BREAKS_SETUID 1 |
5273 | _ACEOF | 7074 | _ACEOF |
@@ -5285,125 +7086,24 @@ cat >>confdefs.h <<_ACEOF | |||
5285 | #define BIND_8_COMPAT 1 | 7086 | #define BIND_8_COMPAT 1 |
5286 | _ACEOF | 7087 | _ACEOF |
5287 | 7088 | ||
5288 | echo "$as_me:$LINENO: checking if we have the Security Authorization Session API" >&5 | ||
5289 | echo $ECHO_N "checking if we have the Security Authorization Session API... $ECHO_C" >&6 | ||
5290 | cat >conftest.$ac_ext <<_ACEOF | ||
5291 | /* confdefs.h. */ | ||
5292 | _ACEOF | ||
5293 | cat confdefs.h >>conftest.$ac_ext | ||
5294 | cat >>conftest.$ac_ext <<_ACEOF | ||
5295 | /* end confdefs.h. */ | ||
5296 | #include <Security/AuthSession.h> | ||
5297 | int | ||
5298 | main () | ||
5299 | { | ||
5300 | SessionCreate(0, 0); | ||
5301 | ; | ||
5302 | return 0; | ||
5303 | } | ||
5304 | _ACEOF | ||
5305 | rm -f conftest.$ac_objext | ||
5306 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5307 | (eval $ac_compile) 2>conftest.er1 | ||
5308 | ac_status=$? | ||
5309 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5310 | rm -f conftest.er1 | ||
5311 | cat conftest.err >&5 | ||
5312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5313 | (exit $ac_status); } && | ||
5314 | { ac_try='test -z "$ac_c_werror_flag" | ||
5315 | || test ! -s conftest.err' | ||
5316 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5317 | (eval $ac_try) 2>&5 | ||
5318 | ac_status=$? | ||
5319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5320 | (exit $ac_status); }; } && | ||
5321 | { ac_try='test -s conftest.$ac_objext' | ||
5322 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5323 | (eval $ac_try) 2>&5 | ||
5324 | ac_status=$? | ||
5325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5326 | (exit $ac_status); }; }; then | ||
5327 | ac_cv_use_security_session_api="yes" | ||
5328 | 7089 | ||
5329 | cat >>confdefs.h <<\_ACEOF | 7090 | cat >>confdefs.h <<\_ACEOF |
5330 | #define USE_SECURITY_SESSION_API 1 | 7091 | #define SSH_TUN_FREEBSD 1 |
5331 | _ACEOF | 7092 | _ACEOF |
5332 | 7093 | ||
5333 | LIBS="$LIBS -framework Security" | ||
5334 | echo "$as_me:$LINENO: result: yes" >&5 | ||
5335 | echo "${ECHO_T}yes" >&6 | ||
5336 | else | ||
5337 | echo "$as_me: failed program was:" >&5 | ||
5338 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5339 | |||
5340 | ac_cv_use_security_session_api="no" | ||
5341 | echo "$as_me:$LINENO: result: no" >&5 | ||
5342 | echo "${ECHO_T}no" >&6 | ||
5343 | fi | ||
5344 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5345 | echo "$as_me:$LINENO: checking if we have an in-memory credentials cache" >&5 | ||
5346 | echo $ECHO_N "checking if we have an in-memory credentials cache... $ECHO_C" >&6 | ||
5347 | cat >conftest.$ac_ext <<_ACEOF | ||
5348 | /* confdefs.h. */ | ||
5349 | _ACEOF | ||
5350 | cat confdefs.h >>conftest.$ac_ext | ||
5351 | cat >>conftest.$ac_ext <<_ACEOF | ||
5352 | /* end confdefs.h. */ | ||
5353 | #include <Kerberos/Kerberos.h> | ||
5354 | int | ||
5355 | main () | ||
5356 | { | ||
5357 | cc_context_t c; | ||
5358 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
5359 | ; | ||
5360 | return 0; | ||
5361 | } | ||
5362 | _ACEOF | ||
5363 | rm -f conftest.$ac_objext | ||
5364 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5365 | (eval $ac_compile) 2>conftest.er1 | ||
5366 | ac_status=$? | ||
5367 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5368 | rm -f conftest.er1 | ||
5369 | cat conftest.err >&5 | ||
5370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5371 | (exit $ac_status); } && | ||
5372 | { ac_try='test -z "$ac_c_werror_flag" | ||
5373 | || test ! -s conftest.err' | ||
5374 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5375 | (eval $ac_try) 2>&5 | ||
5376 | ac_status=$? | ||
5377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5378 | (exit $ac_status); }; } && | ||
5379 | { ac_try='test -s conftest.$ac_objext' | ||
5380 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5381 | (eval $ac_try) 2>&5 | ||
5382 | ac_status=$? | ||
5383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5384 | (exit $ac_status); }; }; then | ||
5385 | 7094 | ||
5386 | cat >>confdefs.h <<\_ACEOF | 7095 | cat >>confdefs.h <<\_ACEOF |
5387 | #define USE_CCAPI 1 | 7096 | #define SSH_TUN_COMPAT_AF 1 |
5388 | _ACEOF | 7097 | _ACEOF |
5389 | 7098 | ||
5390 | LIBS="$LIBS -framework Security" | ||
5391 | echo "$as_me:$LINENO: result: yes" >&5 | ||
5392 | echo "${ECHO_T}yes" >&6 | ||
5393 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
5394 | { { echo "$as_me:$LINENO: error: *** Need a security framework to use the credentials cache API ***" >&5 | ||
5395 | echo "$as_me: error: *** Need a security framework to use the credentials cache API ***" >&2;} | ||
5396 | { (exit 1); exit 1; }; } | ||
5397 | fi | ||
5398 | else | ||
5399 | echo "$as_me: failed program was:" >&5 | ||
5400 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5401 | 7099 | ||
5402 | echo "$as_me:$LINENO: result: no" >&5 | 7100 | cat >>confdefs.h <<\_ACEOF |
5403 | echo "${ECHO_T}no" >&6 | 7101 | #define SSH_TUN_PREPEND_AF 1 |
7102 | _ACEOF | ||
5404 | 7103 | ||
5405 | fi | 7104 | ;; |
5406 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7105 | *-*-dragonfly*) |
7106 | SSHDLIBS="$SSHDLIBS -lcrypt" | ||
5407 | ;; | 7107 | ;; |
5408 | *-*-hpux*) | 7108 | *-*-hpux*) |
5409 | # first we define all of the options common to all HP-UX releases | 7109 | # first we define all of the options common to all HP-UX releases |
@@ -5434,8 +7134,8 @@ _ACEOF | |||
5434 | MAIL="/var/mail/username" | 7134 | MAIL="/var/mail/username" |
5435 | LIBS="$LIBS -lsec" | 7135 | LIBS="$LIBS -lsec" |
5436 | 7136 | ||
5437 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | 7137 | { echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 |
5438 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | 7138 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6; } |
5439 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | 7139 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then |
5440 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7140 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5441 | else | 7141 | else |
@@ -5448,56 +7148,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
5448 | cat >>conftest.$ac_ext <<_ACEOF | 7148 | cat >>conftest.$ac_ext <<_ACEOF |
5449 | /* end confdefs.h. */ | 7149 | /* end confdefs.h. */ |
5450 | 7150 | ||
5451 | /* Override any gcc2 internal prototype to avoid an error. */ | 7151 | /* Override any GCC internal prototype to avoid an error. |
7152 | Use char because int might match the return type of a GCC | ||
7153 | builtin and then its argument prototype would still apply. */ | ||
5452 | #ifdef __cplusplus | 7154 | #ifdef __cplusplus |
5453 | extern "C" | 7155 | extern "C" |
5454 | #endif | 7156 | #endif |
5455 | /* We use char because int might match the return type of a gcc2 | ||
5456 | builtin and then its argument prototype would still apply. */ | ||
5457 | char t_error (); | 7157 | char t_error (); |
5458 | int | 7158 | int |
5459 | main () | 7159 | main () |
5460 | { | 7160 | { |
5461 | t_error (); | 7161 | return t_error (); |
5462 | ; | 7162 | ; |
5463 | return 0; | 7163 | return 0; |
5464 | } | 7164 | } |
5465 | _ACEOF | 7165 | _ACEOF |
5466 | rm -f conftest.$ac_objext conftest$ac_exeext | 7166 | rm -f conftest.$ac_objext conftest$ac_exeext |
5467 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7167 | if { (ac_try="$ac_link" |
5468 | (eval $ac_link) 2>conftest.er1 | 7168 | case "(($ac_try" in |
7169 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7170 | *) ac_try_echo=$ac_try;; | ||
7171 | esac | ||
7172 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7173 | (eval "$ac_link") 2>conftest.er1 | ||
5469 | ac_status=$? | 7174 | ac_status=$? |
5470 | grep -v '^ *+' conftest.er1 >conftest.err | 7175 | grep -v '^ *+' conftest.er1 >conftest.err |
5471 | rm -f conftest.er1 | 7176 | rm -f conftest.er1 |
5472 | cat conftest.err >&5 | 7177 | cat conftest.err >&5 |
5473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7178 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5474 | (exit $ac_status); } && | 7179 | (exit $ac_status); } && { |
5475 | { ac_try='test -z "$ac_c_werror_flag" | 7180 | test -z "$ac_c_werror_flag" || |
5476 | || test ! -s conftest.err' | 7181 | test ! -s conftest.err |
5477 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7182 | } && test -s conftest$ac_exeext && |
5478 | (eval $ac_try) 2>&5 | 7183 | $as_test_x conftest$ac_exeext; then |
5479 | ac_status=$? | ||
5480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5481 | (exit $ac_status); }; } && | ||
5482 | { ac_try='test -s conftest$ac_exeext' | ||
5483 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5484 | (eval $ac_try) 2>&5 | ||
5485 | ac_status=$? | ||
5486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5487 | (exit $ac_status); }; }; then | ||
5488 | ac_cv_lib_xnet_t_error=yes | 7184 | ac_cv_lib_xnet_t_error=yes |
5489 | else | 7185 | else |
5490 | echo "$as_me: failed program was:" >&5 | 7186 | echo "$as_me: failed program was:" >&5 |
5491 | sed 's/^/| /' conftest.$ac_ext >&5 | 7187 | sed 's/^/| /' conftest.$ac_ext >&5 |
5492 | 7188 | ||
5493 | ac_cv_lib_xnet_t_error=no | 7189 | ac_cv_lib_xnet_t_error=no |
5494 | fi | 7190 | fi |
5495 | rm -f conftest.err conftest.$ac_objext \ | 7191 | |
7192 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5496 | conftest$ac_exeext conftest.$ac_ext | 7193 | conftest$ac_exeext conftest.$ac_ext |
5497 | LIBS=$ac_check_lib_save_LIBS | 7194 | LIBS=$ac_check_lib_save_LIBS |
5498 | fi | 7195 | fi |
5499 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | 7196 | { echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 |
5500 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | 7197 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6; } |
5501 | if test $ac_cv_lib_xnet_t_error = yes; then | 7198 | if test $ac_cv_lib_xnet_t_error = yes; then |
5502 | cat >>confdefs.h <<_ACEOF | 7199 | cat >>confdefs.h <<_ACEOF |
5503 | #define HAVE_LIBXNET 1 | 7200 | #define HAVE_LIBXNET 1 |
@@ -5599,8 +7296,8 @@ cat >>confdefs.h <<\_ACEOF | |||
5599 | #define WITH_IRIX_AUDIT 1 | 7296 | #define WITH_IRIX_AUDIT 1 |
5600 | _ACEOF | 7297 | _ACEOF |
5601 | 7298 | ||
5602 | echo "$as_me:$LINENO: checking for jlimit_startjob" >&5 | 7299 | { echo "$as_me:$LINENO: checking for jlimit_startjob" >&5 |
5603 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 | 7300 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6; } |
5604 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then | 7301 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then |
5605 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7302 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5606 | else | 7303 | else |
@@ -5627,68 +7324,59 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
5627 | 7324 | ||
5628 | #undef jlimit_startjob | 7325 | #undef jlimit_startjob |
5629 | 7326 | ||
5630 | /* Override any gcc2 internal prototype to avoid an error. */ | 7327 | /* Override any GCC internal prototype to avoid an error. |
7328 | Use char because int might match the return type of a GCC | ||
7329 | builtin and then its argument prototype would still apply. */ | ||
5631 | #ifdef __cplusplus | 7330 | #ifdef __cplusplus |
5632 | extern "C" | 7331 | extern "C" |
5633 | { | ||
5634 | #endif | 7332 | #endif |
5635 | /* We use char because int might match the return type of a gcc2 | ||
5636 | builtin and then its argument prototype would still apply. */ | ||
5637 | char jlimit_startjob (); | 7333 | char jlimit_startjob (); |
5638 | /* The GNU C library defines this for functions which it implements | 7334 | /* The GNU C library defines this for functions which it implements |
5639 | to always fail with ENOSYS. Some functions are actually named | 7335 | to always fail with ENOSYS. Some functions are actually named |
5640 | something starting with __ and the normal name is an alias. */ | 7336 | something starting with __ and the normal name is an alias. */ |
5641 | #if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob) | 7337 | #if defined __stub_jlimit_startjob || defined __stub___jlimit_startjob |
5642 | choke me | 7338 | choke me |
5643 | #else | ||
5644 | char (*f) () = jlimit_startjob; | ||
5645 | #endif | ||
5646 | #ifdef __cplusplus | ||
5647 | } | ||
5648 | #endif | 7339 | #endif |
5649 | 7340 | ||
5650 | int | 7341 | int |
5651 | main () | 7342 | main () |
5652 | { | 7343 | { |
5653 | return f != jlimit_startjob; | 7344 | return jlimit_startjob (); |
5654 | ; | 7345 | ; |
5655 | return 0; | 7346 | return 0; |
5656 | } | 7347 | } |
5657 | _ACEOF | 7348 | _ACEOF |
5658 | rm -f conftest.$ac_objext conftest$ac_exeext | 7349 | rm -f conftest.$ac_objext conftest$ac_exeext |
5659 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7350 | if { (ac_try="$ac_link" |
5660 | (eval $ac_link) 2>conftest.er1 | 7351 | case "(($ac_try" in |
7352 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7353 | *) ac_try_echo=$ac_try;; | ||
7354 | esac | ||
7355 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7356 | (eval "$ac_link") 2>conftest.er1 | ||
5661 | ac_status=$? | 7357 | ac_status=$? |
5662 | grep -v '^ *+' conftest.er1 >conftest.err | 7358 | grep -v '^ *+' conftest.er1 >conftest.err |
5663 | rm -f conftest.er1 | 7359 | rm -f conftest.er1 |
5664 | cat conftest.err >&5 | 7360 | cat conftest.err >&5 |
5665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5666 | (exit $ac_status); } && | 7362 | (exit $ac_status); } && { |
5667 | { ac_try='test -z "$ac_c_werror_flag" | 7363 | test -z "$ac_c_werror_flag" || |
5668 | || test ! -s conftest.err' | 7364 | test ! -s conftest.err |
5669 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7365 | } && test -s conftest$ac_exeext && |
5670 | (eval $ac_try) 2>&5 | 7366 | $as_test_x conftest$ac_exeext; then |
5671 | ac_status=$? | ||
5672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5673 | (exit $ac_status); }; } && | ||
5674 | { ac_try='test -s conftest$ac_exeext' | ||
5675 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5676 | (eval $ac_try) 2>&5 | ||
5677 | ac_status=$? | ||
5678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5679 | (exit $ac_status); }; }; then | ||
5680 | ac_cv_func_jlimit_startjob=yes | 7367 | ac_cv_func_jlimit_startjob=yes |
5681 | else | 7368 | else |
5682 | echo "$as_me: failed program was:" >&5 | 7369 | echo "$as_me: failed program was:" >&5 |
5683 | sed 's/^/| /' conftest.$ac_ext >&5 | 7370 | sed 's/^/| /' conftest.$ac_ext >&5 |
5684 | 7371 | ||
5685 | ac_cv_func_jlimit_startjob=no | 7372 | ac_cv_func_jlimit_startjob=no |
5686 | fi | 7373 | fi |
5687 | rm -f conftest.err conftest.$ac_objext \ | 7374 | |
7375 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5688 | conftest$ac_exeext conftest.$ac_ext | 7376 | conftest$ac_exeext conftest.$ac_ext |
5689 | fi | 7377 | fi |
5690 | echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 | 7378 | { echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 |
5691 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 | 7379 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6; } |
5692 | if test $ac_cv_func_jlimit_startjob = yes; then | 7380 | if test $ac_cv_func_jlimit_startjob = yes; then |
5693 | 7381 | ||
5694 | cat >>confdefs.h <<\_ACEOF | 7382 | cat >>confdefs.h <<\_ACEOF |
@@ -5776,260 +7464,22 @@ _ACEOF | |||
5776 | esac | 7464 | esac |
5777 | # tun(4) forwarding compat code | 7465 | # tun(4) forwarding compat code |
5778 | 7466 | ||
5779 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
5780 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
5781 | if test "${ac_cv_header_stdc+set}" = set; then | ||
5782 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5783 | else | ||
5784 | cat >conftest.$ac_ext <<_ACEOF | ||
5785 | /* confdefs.h. */ | ||
5786 | _ACEOF | ||
5787 | cat confdefs.h >>conftest.$ac_ext | ||
5788 | cat >>conftest.$ac_ext <<_ACEOF | ||
5789 | /* end confdefs.h. */ | ||
5790 | #include <stdlib.h> | ||
5791 | #include <stdarg.h> | ||
5792 | #include <string.h> | ||
5793 | #include <float.h> | ||
5794 | |||
5795 | int | ||
5796 | main () | ||
5797 | { | ||
5798 | |||
5799 | ; | ||
5800 | return 0; | ||
5801 | } | ||
5802 | _ACEOF | ||
5803 | rm -f conftest.$ac_objext | ||
5804 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5805 | (eval $ac_compile) 2>conftest.er1 | ||
5806 | ac_status=$? | ||
5807 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5808 | rm -f conftest.er1 | ||
5809 | cat conftest.err >&5 | ||
5810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5811 | (exit $ac_status); } && | ||
5812 | { ac_try='test -z "$ac_c_werror_flag" | ||
5813 | || test ! -s conftest.err' | ||
5814 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5815 | (eval $ac_try) 2>&5 | ||
5816 | ac_status=$? | ||
5817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5818 | (exit $ac_status); }; } && | ||
5819 | { ac_try='test -s conftest.$ac_objext' | ||
5820 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5821 | (eval $ac_try) 2>&5 | ||
5822 | ac_status=$? | ||
5823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5824 | (exit $ac_status); }; }; then | ||
5825 | ac_cv_header_stdc=yes | ||
5826 | else | ||
5827 | echo "$as_me: failed program was:" >&5 | ||
5828 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5829 | |||
5830 | ac_cv_header_stdc=no | ||
5831 | fi | ||
5832 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5833 | |||
5834 | if test $ac_cv_header_stdc = yes; then | ||
5835 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
5836 | cat >conftest.$ac_ext <<_ACEOF | ||
5837 | /* confdefs.h. */ | ||
5838 | _ACEOF | ||
5839 | cat confdefs.h >>conftest.$ac_ext | ||
5840 | cat >>conftest.$ac_ext <<_ACEOF | ||
5841 | /* end confdefs.h. */ | ||
5842 | #include <string.h> | ||
5843 | |||
5844 | _ACEOF | ||
5845 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
5846 | $EGREP "memchr" >/dev/null 2>&1; then | ||
5847 | : | ||
5848 | else | ||
5849 | ac_cv_header_stdc=no | ||
5850 | fi | ||
5851 | rm -f conftest* | ||
5852 | |||
5853 | fi | ||
5854 | |||
5855 | if test $ac_cv_header_stdc = yes; then | ||
5856 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
5857 | cat >conftest.$ac_ext <<_ACEOF | ||
5858 | /* confdefs.h. */ | ||
5859 | _ACEOF | ||
5860 | cat confdefs.h >>conftest.$ac_ext | ||
5861 | cat >>conftest.$ac_ext <<_ACEOF | ||
5862 | /* end confdefs.h. */ | ||
5863 | #include <stdlib.h> | ||
5864 | |||
5865 | _ACEOF | ||
5866 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
5867 | $EGREP "free" >/dev/null 2>&1; then | ||
5868 | : | ||
5869 | else | ||
5870 | ac_cv_header_stdc=no | ||
5871 | fi | ||
5872 | rm -f conftest* | ||
5873 | |||
5874 | fi | ||
5875 | |||
5876 | if test $ac_cv_header_stdc = yes; then | ||
5877 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
5878 | if test "$cross_compiling" = yes; then | ||
5879 | : | ||
5880 | else | ||
5881 | cat >conftest.$ac_ext <<_ACEOF | ||
5882 | /* confdefs.h. */ | ||
5883 | _ACEOF | ||
5884 | cat confdefs.h >>conftest.$ac_ext | ||
5885 | cat >>conftest.$ac_ext <<_ACEOF | ||
5886 | /* end confdefs.h. */ | ||
5887 | #include <ctype.h> | ||
5888 | #if ((' ' & 0x0FF) == 0x020) | ||
5889 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
5890 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
5891 | #else | ||
5892 | # define ISLOWER(c) \ | ||
5893 | (('a' <= (c) && (c) <= 'i') \ | ||
5894 | || ('j' <= (c) && (c) <= 'r') \ | ||
5895 | || ('s' <= (c) && (c) <= 'z')) | ||
5896 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
5897 | #endif | ||
5898 | |||
5899 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
5900 | int | ||
5901 | main () | ||
5902 | { | ||
5903 | int i; | ||
5904 | for (i = 0; i < 256; i++) | ||
5905 | if (XOR (islower (i), ISLOWER (i)) | ||
5906 | || toupper (i) != TOUPPER (i)) | ||
5907 | exit(2); | ||
5908 | exit (0); | ||
5909 | } | ||
5910 | _ACEOF | ||
5911 | rm -f conftest$ac_exeext | ||
5912 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5913 | (eval $ac_link) 2>&5 | ||
5914 | ac_status=$? | ||
5915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5916 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
5917 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5918 | (eval $ac_try) 2>&5 | ||
5919 | ac_status=$? | ||
5920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5921 | (exit $ac_status); }; }; then | ||
5922 | : | ||
5923 | else | ||
5924 | echo "$as_me: program exited with status $ac_status" >&5 | ||
5925 | echo "$as_me: failed program was:" >&5 | ||
5926 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5927 | |||
5928 | ( exit $ac_status ) | ||
5929 | ac_cv_header_stdc=no | ||
5930 | fi | ||
5931 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
5932 | fi | ||
5933 | fi | ||
5934 | fi | ||
5935 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
5936 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
5937 | if test $ac_cv_header_stdc = yes; then | ||
5938 | |||
5939 | cat >>confdefs.h <<\_ACEOF | ||
5940 | #define STDC_HEADERS 1 | ||
5941 | _ACEOF | ||
5942 | |||
5943 | fi | ||
5944 | |||
5945 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
5946 | |||
5947 | |||
5948 | |||
5949 | |||
5950 | |||
5951 | |||
5952 | |||
5953 | |||
5954 | |||
5955 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
5956 | inttypes.h stdint.h unistd.h | ||
5957 | do | ||
5958 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5959 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5960 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5961 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5962 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5963 | else | ||
5964 | cat >conftest.$ac_ext <<_ACEOF | ||
5965 | /* confdefs.h. */ | ||
5966 | _ACEOF | ||
5967 | cat confdefs.h >>conftest.$ac_ext | ||
5968 | cat >>conftest.$ac_ext <<_ACEOF | ||
5969 | /* end confdefs.h. */ | ||
5970 | $ac_includes_default | ||
5971 | |||
5972 | #include <$ac_header> | ||
5973 | _ACEOF | ||
5974 | rm -f conftest.$ac_objext | ||
5975 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5976 | (eval $ac_compile) 2>conftest.er1 | ||
5977 | ac_status=$? | ||
5978 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5979 | rm -f conftest.er1 | ||
5980 | cat conftest.err >&5 | ||
5981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5982 | (exit $ac_status); } && | ||
5983 | { ac_try='test -z "$ac_c_werror_flag" | ||
5984 | || test ! -s conftest.err' | ||
5985 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5986 | (eval $ac_try) 2>&5 | ||
5987 | ac_status=$? | ||
5988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5989 | (exit $ac_status); }; } && | ||
5990 | { ac_try='test -s conftest.$ac_objext' | ||
5991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5992 | (eval $ac_try) 2>&5 | ||
5993 | ac_status=$? | ||
5994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5995 | (exit $ac_status); }; }; then | ||
5996 | eval "$as_ac_Header=yes" | ||
5997 | else | ||
5998 | echo "$as_me: failed program was:" >&5 | ||
5999 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6000 | |||
6001 | eval "$as_ac_Header=no" | ||
6002 | fi | ||
6003 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6004 | fi | ||
6005 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6006 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6007 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6008 | cat >>confdefs.h <<_ACEOF | ||
6009 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
6010 | _ACEOF | ||
6011 | |||
6012 | fi | ||
6013 | |||
6014 | done | ||
6015 | |||
6016 | |||
6017 | |||
6018 | for ac_header in linux/if_tun.h | 7467 | for ac_header in linux/if_tun.h |
6019 | do | 7468 | do |
6020 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7469 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6021 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7470 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6022 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7471 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6023 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 7472 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6024 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7473 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6025 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7474 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6026 | fi | 7475 | fi |
6027 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7476 | ac_res=`eval echo '${'$as_ac_Header'}'` |
6028 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7477 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7478 | echo "${ECHO_T}$ac_res" >&6; } | ||
6029 | else | 7479 | else |
6030 | # Is the header compilable? | 7480 | # Is the header compilable? |
6031 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 7481 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6032 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 7482 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
6033 | cat >conftest.$ac_ext <<_ACEOF | 7483 | cat >conftest.$ac_ext <<_ACEOF |
6034 | /* confdefs.h. */ | 7484 | /* confdefs.h. */ |
6035 | _ACEOF | 7485 | _ACEOF |
@@ -6040,41 +7490,37 @@ $ac_includes_default | |||
6040 | #include <$ac_header> | 7490 | #include <$ac_header> |
6041 | _ACEOF | 7491 | _ACEOF |
6042 | rm -f conftest.$ac_objext | 7492 | rm -f conftest.$ac_objext |
6043 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7493 | if { (ac_try="$ac_compile" |
6044 | (eval $ac_compile) 2>conftest.er1 | 7494 | case "(($ac_try" in |
7495 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7496 | *) ac_try_echo=$ac_try;; | ||
7497 | esac | ||
7498 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7499 | (eval "$ac_compile") 2>conftest.er1 | ||
6045 | ac_status=$? | 7500 | ac_status=$? |
6046 | grep -v '^ *+' conftest.er1 >conftest.err | 7501 | grep -v '^ *+' conftest.er1 >conftest.err |
6047 | rm -f conftest.er1 | 7502 | rm -f conftest.er1 |
6048 | cat conftest.err >&5 | 7503 | cat conftest.err >&5 |
6049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7504 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6050 | (exit $ac_status); } && | 7505 | (exit $ac_status); } && { |
6051 | { ac_try='test -z "$ac_c_werror_flag" | 7506 | test -z "$ac_c_werror_flag" || |
6052 | || test ! -s conftest.err' | 7507 | test ! -s conftest.err |
6053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7508 | } && test -s conftest.$ac_objext; then |
6054 | (eval $ac_try) 2>&5 | ||
6055 | ac_status=$? | ||
6056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6057 | (exit $ac_status); }; } && | ||
6058 | { ac_try='test -s conftest.$ac_objext' | ||
6059 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6060 | (eval $ac_try) 2>&5 | ||
6061 | ac_status=$? | ||
6062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6063 | (exit $ac_status); }; }; then | ||
6064 | ac_header_compiler=yes | 7509 | ac_header_compiler=yes |
6065 | else | 7510 | else |
6066 | echo "$as_me: failed program was:" >&5 | 7511 | echo "$as_me: failed program was:" >&5 |
6067 | sed 's/^/| /' conftest.$ac_ext >&5 | 7512 | sed 's/^/| /' conftest.$ac_ext >&5 |
6068 | 7513 | ||
6069 | ac_header_compiler=no | 7514 | ac_header_compiler=no |
6070 | fi | 7515 | fi |
6071 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7516 | |
6072 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 7517 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6073 | echo "${ECHO_T}$ac_header_compiler" >&6 | 7518 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7519 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
6074 | 7520 | ||
6075 | # Is the header present? | 7521 | # Is the header present? |
6076 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 7522 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6077 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 7523 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
6078 | cat >conftest.$ac_ext <<_ACEOF | 7524 | cat >conftest.$ac_ext <<_ACEOF |
6079 | /* confdefs.h. */ | 7525 | /* confdefs.h. */ |
6080 | _ACEOF | 7526 | _ACEOF |
@@ -6083,24 +7529,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
6083 | /* end confdefs.h. */ | 7529 | /* end confdefs.h. */ |
6084 | #include <$ac_header> | 7530 | #include <$ac_header> |
6085 | _ACEOF | 7531 | _ACEOF |
6086 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7532 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
6087 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7533 | case "(($ac_try" in |
7534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7535 | *) ac_try_echo=$ac_try;; | ||
7536 | esac | ||
7537 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7538 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
6088 | ac_status=$? | 7539 | ac_status=$? |
6089 | grep -v '^ *+' conftest.er1 >conftest.err | 7540 | grep -v '^ *+' conftest.er1 >conftest.err |
6090 | rm -f conftest.er1 | 7541 | rm -f conftest.er1 |
6091 | cat conftest.err >&5 | 7542 | cat conftest.err >&5 |
6092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6093 | (exit $ac_status); } >/dev/null; then | 7544 | (exit $ac_status); } >/dev/null && { |
6094 | if test -s conftest.err; then | 7545 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6095 | ac_cpp_err=$ac_c_preproc_warn_flag | 7546 | test ! -s conftest.err |
6096 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 7547 | }; then |
6097 | else | ||
6098 | ac_cpp_err= | ||
6099 | fi | ||
6100 | else | ||
6101 | ac_cpp_err=yes | ||
6102 | fi | ||
6103 | if test -z "$ac_cpp_err"; then | ||
6104 | ac_header_preproc=yes | 7548 | ac_header_preproc=yes |
6105 | else | 7549 | else |
6106 | echo "$as_me: failed program was:" >&5 | 7550 | echo "$as_me: failed program was:" >&5 |
@@ -6108,9 +7552,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
6108 | 7552 | ||
6109 | ac_header_preproc=no | 7553 | ac_header_preproc=no |
6110 | fi | 7554 | fi |
7555 | |||
6111 | rm -f conftest.err conftest.$ac_ext | 7556 | rm -f conftest.err conftest.$ac_ext |
6112 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7557 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6113 | echo "${ECHO_T}$ac_header_preproc" >&6 | 7558 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
6114 | 7559 | ||
6115 | # So? What about this header? | 7560 | # So? What about this header? |
6116 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 7561 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -6134,25 +7579,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
6134 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 7579 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6135 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 7580 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6136 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 7581 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6137 | ( | 7582 | ( cat <<\_ASBOX |
6138 | cat <<\_ASBOX | ||
6139 | ## ------------------------------------------- ## | 7583 | ## ------------------------------------------- ## |
6140 | ## Report this to openssh-unix-dev@mindrot.org ## | 7584 | ## Report this to openssh-unix-dev@mindrot.org ## |
6141 | ## ------------------------------------------- ## | 7585 | ## ------------------------------------------- ## |
6142 | _ASBOX | 7586 | _ASBOX |
6143 | ) | | 7587 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
6144 | sed "s/^/$as_me: WARNING: /" >&2 | ||
6145 | ;; | 7588 | ;; |
6146 | esac | 7589 | esac |
6147 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7590 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6148 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 7591 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6149 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7592 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6150 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7593 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6151 | else | 7594 | else |
6152 | eval "$as_ac_Header=\$ac_header_preproc" | 7595 | eval "$as_ac_Header=\$ac_header_preproc" |
6153 | fi | 7596 | fi |
6154 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7597 | ac_res=`eval echo '${'$as_ac_Header'}'` |
6155 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7598 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7599 | echo "${ECHO_T}$ac_res" >&6; } | ||
6156 | 7600 | ||
6157 | fi | 7601 | fi |
6158 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 7602 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -6201,17 +7645,17 @@ cat >>confdefs.h <<\_ACEOF | |||
6201 | _ACEOF | 7645 | _ACEOF |
6202 | 7646 | ||
6203 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 7647 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then |
6204 | echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | 7648 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 |
6205 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6 | 7649 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } |
6206 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 7650 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then |
6207 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7651 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6208 | fi | 7652 | fi |
6209 | echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | 7653 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 |
6210 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6 | 7654 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } |
6211 | else | 7655 | else |
6212 | # Is the header compilable? | 7656 | # Is the header compilable? |
6213 | echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 | 7657 | { echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 |
6214 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6 | 7658 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } |
6215 | cat >conftest.$ac_ext <<_ACEOF | 7659 | cat >conftest.$ac_ext <<_ACEOF |
6216 | /* confdefs.h. */ | 7660 | /* confdefs.h. */ |
6217 | _ACEOF | 7661 | _ACEOF |
@@ -6222,41 +7666,37 @@ $ac_includes_default | |||
6222 | #include <net/if_tap.h> | 7666 | #include <net/if_tap.h> |
6223 | _ACEOF | 7667 | _ACEOF |
6224 | rm -f conftest.$ac_objext | 7668 | rm -f conftest.$ac_objext |
6225 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7669 | if { (ac_try="$ac_compile" |
6226 | (eval $ac_compile) 2>conftest.er1 | 7670 | case "(($ac_try" in |
7671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7672 | *) ac_try_echo=$ac_try;; | ||
7673 | esac | ||
7674 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7675 | (eval "$ac_compile") 2>conftest.er1 | ||
6227 | ac_status=$? | 7676 | ac_status=$? |
6228 | grep -v '^ *+' conftest.er1 >conftest.err | 7677 | grep -v '^ *+' conftest.er1 >conftest.err |
6229 | rm -f conftest.er1 | 7678 | rm -f conftest.er1 |
6230 | cat conftest.err >&5 | 7679 | cat conftest.err >&5 |
6231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6232 | (exit $ac_status); } && | 7681 | (exit $ac_status); } && { |
6233 | { ac_try='test -z "$ac_c_werror_flag" | 7682 | test -z "$ac_c_werror_flag" || |
6234 | || test ! -s conftest.err' | 7683 | test ! -s conftest.err |
6235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7684 | } && test -s conftest.$ac_objext; then |
6236 | (eval $ac_try) 2>&5 | ||
6237 | ac_status=$? | ||
6238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6239 | (exit $ac_status); }; } && | ||
6240 | { ac_try='test -s conftest.$ac_objext' | ||
6241 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6242 | (eval $ac_try) 2>&5 | ||
6243 | ac_status=$? | ||
6244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6245 | (exit $ac_status); }; }; then | ||
6246 | ac_header_compiler=yes | 7685 | ac_header_compiler=yes |
6247 | else | 7686 | else |
6248 | echo "$as_me: failed program was:" >&5 | 7687 | echo "$as_me: failed program was:" >&5 |
6249 | sed 's/^/| /' conftest.$ac_ext >&5 | 7688 | sed 's/^/| /' conftest.$ac_ext >&5 |
6250 | 7689 | ||
6251 | ac_header_compiler=no | 7690 | ac_header_compiler=no |
6252 | fi | 7691 | fi |
6253 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7692 | |
6254 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 7693 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6255 | echo "${ECHO_T}$ac_header_compiler" >&6 | 7694 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7695 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
6256 | 7696 | ||
6257 | # Is the header present? | 7697 | # Is the header present? |
6258 | echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 | 7698 | { echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 |
6259 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6 | 7699 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } |
6260 | cat >conftest.$ac_ext <<_ACEOF | 7700 | cat >conftest.$ac_ext <<_ACEOF |
6261 | /* confdefs.h. */ | 7701 | /* confdefs.h. */ |
6262 | _ACEOF | 7702 | _ACEOF |
@@ -6265,24 +7705,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
6265 | /* end confdefs.h. */ | 7705 | /* end confdefs.h. */ |
6266 | #include <net/if_tap.h> | 7706 | #include <net/if_tap.h> |
6267 | _ACEOF | 7707 | _ACEOF |
6268 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7708 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
6269 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7709 | case "(($ac_try" in |
7710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7711 | *) ac_try_echo=$ac_try;; | ||
7712 | esac | ||
7713 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7714 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
6270 | ac_status=$? | 7715 | ac_status=$? |
6271 | grep -v '^ *+' conftest.er1 >conftest.err | 7716 | grep -v '^ *+' conftest.er1 >conftest.err |
6272 | rm -f conftest.er1 | 7717 | rm -f conftest.er1 |
6273 | cat conftest.err >&5 | 7718 | cat conftest.err >&5 |
6274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6275 | (exit $ac_status); } >/dev/null; then | 7720 | (exit $ac_status); } >/dev/null && { |
6276 | if test -s conftest.err; then | 7721 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6277 | ac_cpp_err=$ac_c_preproc_warn_flag | 7722 | test ! -s conftest.err |
6278 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 7723 | }; then |
6279 | else | ||
6280 | ac_cpp_err= | ||
6281 | fi | ||
6282 | else | ||
6283 | ac_cpp_err=yes | ||
6284 | fi | ||
6285 | if test -z "$ac_cpp_err"; then | ||
6286 | ac_header_preproc=yes | 7724 | ac_header_preproc=yes |
6287 | else | 7725 | else |
6288 | echo "$as_me: failed program was:" >&5 | 7726 | echo "$as_me: failed program was:" >&5 |
@@ -6290,9 +7728,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
6290 | 7728 | ||
6291 | ac_header_preproc=no | 7729 | ac_header_preproc=no |
6292 | fi | 7730 | fi |
7731 | |||
6293 | rm -f conftest.err conftest.$ac_ext | 7732 | rm -f conftest.err conftest.$ac_ext |
6294 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7733 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6295 | echo "${ECHO_T}$ac_header_preproc" >&6 | 7734 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
6296 | 7735 | ||
6297 | # So? What about this header? | 7736 | # So? What about this header? |
6298 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 7737 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -6316,25 +7755,23 @@ echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compile | |||
6316 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} | 7755 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} |
6317 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 | 7756 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 |
6318 | echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} | 7757 | echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} |
6319 | ( | 7758 | ( cat <<\_ASBOX |
6320 | cat <<\_ASBOX | ||
6321 | ## ------------------------------------------- ## | 7759 | ## ------------------------------------------- ## |
6322 | ## Report this to openssh-unix-dev@mindrot.org ## | 7760 | ## Report this to openssh-unix-dev@mindrot.org ## |
6323 | ## ------------------------------------------- ## | 7761 | ## ------------------------------------------- ## |
6324 | _ASBOX | 7762 | _ASBOX |
6325 | ) | | 7763 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
6326 | sed "s/^/$as_me: WARNING: /" >&2 | ||
6327 | ;; | 7764 | ;; |
6328 | esac | 7765 | esac |
6329 | echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | 7766 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 |
6330 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6 | 7767 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } |
6331 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 7768 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then |
6332 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7769 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6333 | else | 7770 | else |
6334 | ac_cv_header_net_if_tap_h=$ac_header_preproc | 7771 | ac_cv_header_net_if_tap_h=$ac_header_preproc |
6335 | fi | 7772 | fi |
6336 | echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | 7773 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 |
6337 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6 | 7774 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } |
6338 | 7775 | ||
6339 | fi | 7776 | fi |
6340 | if test $ac_cv_header_net_if_tap_h = yes; then | 7777 | if test $ac_cv_header_net_if_tap_h = yes; then |
@@ -6367,17 +7804,17 @@ cat >>confdefs.h <<\_ACEOF | |||
6367 | _ACEOF | 7804 | _ACEOF |
6368 | 7805 | ||
6369 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 7806 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then |
6370 | echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | 7807 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 |
6371 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6 | 7808 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } |
6372 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 7809 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then |
6373 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7810 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6374 | fi | 7811 | fi |
6375 | echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | 7812 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 |
6376 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6 | 7813 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } |
6377 | else | 7814 | else |
6378 | # Is the header compilable? | 7815 | # Is the header compilable? |
6379 | echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 | 7816 | { echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 |
6380 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6 | 7817 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } |
6381 | cat >conftest.$ac_ext <<_ACEOF | 7818 | cat >conftest.$ac_ext <<_ACEOF |
6382 | /* confdefs.h. */ | 7819 | /* confdefs.h. */ |
6383 | _ACEOF | 7820 | _ACEOF |
@@ -6388,41 +7825,37 @@ $ac_includes_default | |||
6388 | #include <net/if_tap.h> | 7825 | #include <net/if_tap.h> |
6389 | _ACEOF | 7826 | _ACEOF |
6390 | rm -f conftest.$ac_objext | 7827 | rm -f conftest.$ac_objext |
6391 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7828 | if { (ac_try="$ac_compile" |
6392 | (eval $ac_compile) 2>conftest.er1 | 7829 | case "(($ac_try" in |
7830 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7831 | *) ac_try_echo=$ac_try;; | ||
7832 | esac | ||
7833 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7834 | (eval "$ac_compile") 2>conftest.er1 | ||
6393 | ac_status=$? | 7835 | ac_status=$? |
6394 | grep -v '^ *+' conftest.er1 >conftest.err | 7836 | grep -v '^ *+' conftest.er1 >conftest.err |
6395 | rm -f conftest.er1 | 7837 | rm -f conftest.er1 |
6396 | cat conftest.err >&5 | 7838 | cat conftest.err >&5 |
6397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6398 | (exit $ac_status); } && | 7840 | (exit $ac_status); } && { |
6399 | { ac_try='test -z "$ac_c_werror_flag" | 7841 | test -z "$ac_c_werror_flag" || |
6400 | || test ! -s conftest.err' | 7842 | test ! -s conftest.err |
6401 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7843 | } && test -s conftest.$ac_objext; then |
6402 | (eval $ac_try) 2>&5 | ||
6403 | ac_status=$? | ||
6404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6405 | (exit $ac_status); }; } && | ||
6406 | { ac_try='test -s conftest.$ac_objext' | ||
6407 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6408 | (eval $ac_try) 2>&5 | ||
6409 | ac_status=$? | ||
6410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6411 | (exit $ac_status); }; }; then | ||
6412 | ac_header_compiler=yes | 7844 | ac_header_compiler=yes |
6413 | else | 7845 | else |
6414 | echo "$as_me: failed program was:" >&5 | 7846 | echo "$as_me: failed program was:" >&5 |
6415 | sed 's/^/| /' conftest.$ac_ext >&5 | 7847 | sed 's/^/| /' conftest.$ac_ext >&5 |
6416 | 7848 | ||
6417 | ac_header_compiler=no | 7849 | ac_header_compiler=no |
6418 | fi | 7850 | fi |
6419 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7851 | |
6420 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 7852 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6421 | echo "${ECHO_T}$ac_header_compiler" >&6 | 7853 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7854 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
6422 | 7855 | ||
6423 | # Is the header present? | 7856 | # Is the header present? |
6424 | echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 | 7857 | { echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 |
6425 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6 | 7858 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } |
6426 | cat >conftest.$ac_ext <<_ACEOF | 7859 | cat >conftest.$ac_ext <<_ACEOF |
6427 | /* confdefs.h. */ | 7860 | /* confdefs.h. */ |
6428 | _ACEOF | 7861 | _ACEOF |
@@ -6431,24 +7864,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
6431 | /* end confdefs.h. */ | 7864 | /* end confdefs.h. */ |
6432 | #include <net/if_tap.h> | 7865 | #include <net/if_tap.h> |
6433 | _ACEOF | 7866 | _ACEOF |
6434 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7867 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
6435 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7868 | case "(($ac_try" in |
7869 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7870 | *) ac_try_echo=$ac_try;; | ||
7871 | esac | ||
7872 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7873 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
6436 | ac_status=$? | 7874 | ac_status=$? |
6437 | grep -v '^ *+' conftest.er1 >conftest.err | 7875 | grep -v '^ *+' conftest.er1 >conftest.err |
6438 | rm -f conftest.er1 | 7876 | rm -f conftest.er1 |
6439 | cat conftest.err >&5 | 7877 | cat conftest.err >&5 |
6440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6441 | (exit $ac_status); } >/dev/null; then | 7879 | (exit $ac_status); } >/dev/null && { |
6442 | if test -s conftest.err; then | 7880 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
6443 | ac_cpp_err=$ac_c_preproc_warn_flag | 7881 | test ! -s conftest.err |
6444 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 7882 | }; then |
6445 | else | ||
6446 | ac_cpp_err= | ||
6447 | fi | ||
6448 | else | ||
6449 | ac_cpp_err=yes | ||
6450 | fi | ||
6451 | if test -z "$ac_cpp_err"; then | ||
6452 | ac_header_preproc=yes | 7883 | ac_header_preproc=yes |
6453 | else | 7884 | else |
6454 | echo "$as_me: failed program was:" >&5 | 7885 | echo "$as_me: failed program was:" >&5 |
@@ -6456,9 +7887,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
6456 | 7887 | ||
6457 | ac_header_preproc=no | 7888 | ac_header_preproc=no |
6458 | fi | 7889 | fi |
7890 | |||
6459 | rm -f conftest.err conftest.$ac_ext | 7891 | rm -f conftest.err conftest.$ac_ext |
6460 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7892 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6461 | echo "${ECHO_T}$ac_header_preproc" >&6 | 7893 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
6462 | 7894 | ||
6463 | # So? What about this header? | 7895 | # So? What about this header? |
6464 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 7896 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -6482,25 +7914,23 @@ echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compile | |||
6482 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} | 7914 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} |
6483 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 | 7915 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 |
6484 | echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} | 7916 | echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} |
6485 | ( | 7917 | ( cat <<\_ASBOX |
6486 | cat <<\_ASBOX | ||
6487 | ## ------------------------------------------- ## | 7918 | ## ------------------------------------------- ## |
6488 | ## Report this to openssh-unix-dev@mindrot.org ## | 7919 | ## Report this to openssh-unix-dev@mindrot.org ## |
6489 | ## ------------------------------------------- ## | 7920 | ## ------------------------------------------- ## |
6490 | _ASBOX | 7921 | _ASBOX |
6491 | ) | | 7922 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
6492 | sed "s/^/$as_me: WARNING: /" >&2 | ||
6493 | ;; | 7923 | ;; |
6494 | esac | 7924 | esac |
6495 | echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | 7925 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 |
6496 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6 | 7926 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } |
6497 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | 7927 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then |
6498 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7928 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6499 | else | 7929 | else |
6500 | ac_cv_header_net_if_tap_h=$ac_header_preproc | 7930 | ac_cv_header_net_if_tap_h=$ac_header_preproc |
6501 | fi | 7931 | fi |
6502 | echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | 7932 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 |
6503 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6 | 7933 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } |
6504 | 7934 | ||
6505 | fi | 7935 | fi |
6506 | if test $ac_cv_header_net_if_tap_h = yes; then | 7936 | if test $ac_cv_header_net_if_tap_h = yes; then |
@@ -6569,6 +7999,11 @@ cat >>confdefs.h <<\_ACEOF | |||
6569 | #define SSH_TUN_OPENBSD 1 | 7999 | #define SSH_TUN_OPENBSD 1 |
6570 | _ACEOF | 8000 | _ACEOF |
6571 | 8001 | ||
8002 | |||
8003 | cat >>confdefs.h <<\_ACEOF | ||
8004 | #define SYSLOG_R_SAFE_IN_SIGHAND 1 | ||
8005 | _ACEOF | ||
8006 | |||
6572 | ;; | 8007 | ;; |
6573 | *-*-solaris*) | 8008 | *-*-solaris*) |
6574 | if test "x$withval" != "xno" ; then | 8009 | if test "x$withval" != "xno" ; then |
@@ -6606,15 +8041,20 @@ cat >>confdefs.h <<\_ACEOF | |||
6606 | #define SSHD_ACQUIRES_CTTY 1 | 8041 | #define SSHD_ACQUIRES_CTTY 1 |
6607 | _ACEOF | 8042 | _ACEOF |
6608 | 8043 | ||
8044 | |||
8045 | cat >>confdefs.h <<\_ACEOF | ||
8046 | #define PASSWD_NEEDS_USERNAME 1 | ||
8047 | _ACEOF | ||
8048 | |||
6609 | external_path_file=/etc/default/login | 8049 | external_path_file=/etc/default/login |
6610 | # hardwire lastlog location (can't detect it on some versions) | 8050 | # hardwire lastlog location (can't detect it on some versions) |
6611 | conf_lastlog_location="/var/adm/lastlog" | 8051 | conf_lastlog_location="/var/adm/lastlog" |
6612 | echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 | 8052 | { echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 |
6613 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 | 8053 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6; } |
6614 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` | 8054 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` |
6615 | if test "$sol2ver" -ge 8; then | 8055 | if test "$sol2ver" -ge 8; then |
6616 | echo "$as_me:$LINENO: result: yes" >&5 | 8056 | { echo "$as_me:$LINENO: result: yes" >&5 |
6617 | echo "${ECHO_T}yes" >&6 | 8057 | echo "${ECHO_T}yes" >&6; } |
6618 | cat >>confdefs.h <<\_ACEOF | 8058 | cat >>confdefs.h <<\_ACEOF |
6619 | #define DISABLE_UTMP 1 | 8059 | #define DISABLE_UTMP 1 |
6620 | _ACEOF | 8060 | _ACEOF |
@@ -6625,9 +8065,88 @@ cat >>confdefs.h <<\_ACEOF | |||
6625 | _ACEOF | 8065 | _ACEOF |
6626 | 8066 | ||
6627 | else | 8067 | else |
6628 | echo "$as_me:$LINENO: result: no" >&5 | 8068 | { echo "$as_me:$LINENO: result: no" >&5 |
6629 | echo "${ECHO_T}no" >&6 | 8069 | echo "${ECHO_T}no" >&6; } |
6630 | fi | 8070 | fi |
8071 | |||
8072 | # Check whether --with-solaris-contracts was given. | ||
8073 | if test "${with_solaris_contracts+set}" = set; then | ||
8074 | withval=$with_solaris_contracts; | ||
8075 | { echo "$as_me:$LINENO: checking for ct_tmpl_activate in -lcontract" >&5 | ||
8076 | echo $ECHO_N "checking for ct_tmpl_activate in -lcontract... $ECHO_C" >&6; } | ||
8077 | if test "${ac_cv_lib_contract_ct_tmpl_activate+set}" = set; then | ||
8078 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8079 | else | ||
8080 | ac_check_lib_save_LIBS=$LIBS | ||
8081 | LIBS="-lcontract $LIBS" | ||
8082 | cat >conftest.$ac_ext <<_ACEOF | ||
8083 | /* confdefs.h. */ | ||
8084 | _ACEOF | ||
8085 | cat confdefs.h >>conftest.$ac_ext | ||
8086 | cat >>conftest.$ac_ext <<_ACEOF | ||
8087 | /* end confdefs.h. */ | ||
8088 | |||
8089 | /* Override any GCC internal prototype to avoid an error. | ||
8090 | Use char because int might match the return type of a GCC | ||
8091 | builtin and then its argument prototype would still apply. */ | ||
8092 | #ifdef __cplusplus | ||
8093 | extern "C" | ||
8094 | #endif | ||
8095 | char ct_tmpl_activate (); | ||
8096 | int | ||
8097 | main () | ||
8098 | { | ||
8099 | return ct_tmpl_activate (); | ||
8100 | ; | ||
8101 | return 0; | ||
8102 | } | ||
8103 | _ACEOF | ||
8104 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8105 | if { (ac_try="$ac_link" | ||
8106 | case "(($ac_try" in | ||
8107 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8108 | *) ac_try_echo=$ac_try;; | ||
8109 | esac | ||
8110 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8111 | (eval "$ac_link") 2>conftest.er1 | ||
8112 | ac_status=$? | ||
8113 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8114 | rm -f conftest.er1 | ||
8115 | cat conftest.err >&5 | ||
8116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8117 | (exit $ac_status); } && { | ||
8118 | test -z "$ac_c_werror_flag" || | ||
8119 | test ! -s conftest.err | ||
8120 | } && test -s conftest$ac_exeext && | ||
8121 | $as_test_x conftest$ac_exeext; then | ||
8122 | ac_cv_lib_contract_ct_tmpl_activate=yes | ||
8123 | else | ||
8124 | echo "$as_me: failed program was:" >&5 | ||
8125 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8126 | |||
8127 | ac_cv_lib_contract_ct_tmpl_activate=no | ||
8128 | fi | ||
8129 | |||
8130 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8131 | conftest$ac_exeext conftest.$ac_ext | ||
8132 | LIBS=$ac_check_lib_save_LIBS | ||
8133 | fi | ||
8134 | { echo "$as_me:$LINENO: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5 | ||
8135 | echo "${ECHO_T}$ac_cv_lib_contract_ct_tmpl_activate" >&6; } | ||
8136 | if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then | ||
8137 | |||
8138 | cat >>confdefs.h <<\_ACEOF | ||
8139 | #define USE_SOLARIS_PROCESS_CONTRACTS 1 | ||
8140 | _ACEOF | ||
8141 | |||
8142 | SSHDLIBS="$SSHDLIBS -lcontract" | ||
8143 | |||
8144 | SPC_MSG="yes" | ||
8145 | fi | ||
8146 | |||
8147 | |||
8148 | fi | ||
8149 | |||
6631 | ;; | 8150 | ;; |
6632 | *-*-sunos4*) | 8151 | *-*-sunos4*) |
6633 | CPPFLAGS="$CPPFLAGS -DSUNOS4" | 8152 | CPPFLAGS="$CPPFLAGS -DSUNOS4" |
@@ -6635,9 +8154,9 @@ echo "${ECHO_T}no" >&6 | |||
6635 | for ac_func in getpwanam | 8154 | for ac_func in getpwanam |
6636 | do | 8155 | do |
6637 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8156 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6638 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8157 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
6639 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8158 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
6640 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 8159 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
6641 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8160 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6642 | else | 8161 | else |
6643 | cat >conftest.$ac_ext <<_ACEOF | 8162 | cat >conftest.$ac_ext <<_ACEOF |
@@ -6663,68 +8182,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
6663 | 8182 | ||
6664 | #undef $ac_func | 8183 | #undef $ac_func |
6665 | 8184 | ||
6666 | /* Override any gcc2 internal prototype to avoid an error. */ | 8185 | /* Override any GCC internal prototype to avoid an error. |
8186 | Use char because int might match the return type of a GCC | ||
8187 | builtin and then its argument prototype would still apply. */ | ||
6667 | #ifdef __cplusplus | 8188 | #ifdef __cplusplus |
6668 | extern "C" | 8189 | extern "C" |
6669 | { | ||
6670 | #endif | 8190 | #endif |
6671 | /* We use char because int might match the return type of a gcc2 | ||
6672 | builtin and then its argument prototype would still apply. */ | ||
6673 | char $ac_func (); | 8191 | char $ac_func (); |
6674 | /* The GNU C library defines this for functions which it implements | 8192 | /* The GNU C library defines this for functions which it implements |
6675 | to always fail with ENOSYS. Some functions are actually named | 8193 | to always fail with ENOSYS. Some functions are actually named |
6676 | something starting with __ and the normal name is an alias. */ | 8194 | something starting with __ and the normal name is an alias. */ |
6677 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 8195 | #if defined __stub_$ac_func || defined __stub___$ac_func |
6678 | choke me | 8196 | choke me |
6679 | #else | ||
6680 | char (*f) () = $ac_func; | ||
6681 | #endif | ||
6682 | #ifdef __cplusplus | ||
6683 | } | ||
6684 | #endif | 8197 | #endif |
6685 | 8198 | ||
6686 | int | 8199 | int |
6687 | main () | 8200 | main () |
6688 | { | 8201 | { |
6689 | return f != $ac_func; | 8202 | return $ac_func (); |
6690 | ; | 8203 | ; |
6691 | return 0; | 8204 | return 0; |
6692 | } | 8205 | } |
6693 | _ACEOF | 8206 | _ACEOF |
6694 | rm -f conftest.$ac_objext conftest$ac_exeext | 8207 | rm -f conftest.$ac_objext conftest$ac_exeext |
6695 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8208 | if { (ac_try="$ac_link" |
6696 | (eval $ac_link) 2>conftest.er1 | 8209 | case "(($ac_try" in |
8210 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8211 | *) ac_try_echo=$ac_try;; | ||
8212 | esac | ||
8213 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8214 | (eval "$ac_link") 2>conftest.er1 | ||
6697 | ac_status=$? | 8215 | ac_status=$? |
6698 | grep -v '^ *+' conftest.er1 >conftest.err | 8216 | grep -v '^ *+' conftest.er1 >conftest.err |
6699 | rm -f conftest.er1 | 8217 | rm -f conftest.er1 |
6700 | cat conftest.err >&5 | 8218 | cat conftest.err >&5 |
6701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6702 | (exit $ac_status); } && | 8220 | (exit $ac_status); } && { |
6703 | { ac_try='test -z "$ac_c_werror_flag" | 8221 | test -z "$ac_c_werror_flag" || |
6704 | || test ! -s conftest.err' | 8222 | test ! -s conftest.err |
6705 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8223 | } && test -s conftest$ac_exeext && |
6706 | (eval $ac_try) 2>&5 | 8224 | $as_test_x conftest$ac_exeext; then |
6707 | ac_status=$? | ||
6708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6709 | (exit $ac_status); }; } && | ||
6710 | { ac_try='test -s conftest$ac_exeext' | ||
6711 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6712 | (eval $ac_try) 2>&5 | ||
6713 | ac_status=$? | ||
6714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6715 | (exit $ac_status); }; }; then | ||
6716 | eval "$as_ac_var=yes" | 8225 | eval "$as_ac_var=yes" |
6717 | else | 8226 | else |
6718 | echo "$as_me: failed program was:" >&5 | 8227 | echo "$as_me: failed program was:" >&5 |
6719 | sed 's/^/| /' conftest.$ac_ext >&5 | 8228 | sed 's/^/| /' conftest.$ac_ext >&5 |
6720 | 8229 | ||
6721 | eval "$as_ac_var=no" | 8230 | eval "$as_ac_var=no" |
6722 | fi | 8231 | fi |
6723 | rm -f conftest.err conftest.$ac_objext \ | 8232 | |
8233 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
6724 | conftest$ac_exeext conftest.$ac_ext | 8234 | conftest$ac_exeext conftest.$ac_ext |
6725 | fi | 8235 | fi |
6726 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8236 | ac_res=`eval echo '${'$as_ac_var'}'` |
6727 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8237 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8238 | echo "${ECHO_T}$ac_res" >&6; } | ||
6728 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 8239 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
6729 | cat >>confdefs.h <<_ACEOF | 8240 | cat >>confdefs.h <<_ACEOF |
6730 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8241 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -6771,8 +8282,8 @@ _ACEOF | |||
6771 | *-sni-sysv*) | 8282 | *-sni-sysv*) |
6772 | # /usr/ucblib MUST NOT be searched on ReliantUNIX | 8283 | # /usr/ucblib MUST NOT be searched on ReliantUNIX |
6773 | 8284 | ||
6774 | echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 | 8285 | { echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 |
6775 | echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 | 8286 | echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; } |
6776 | if test "${ac_cv_lib_dl_dlsym+set}" = set; then | 8287 | if test "${ac_cv_lib_dl_dlsym+set}" = set; then |
6777 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8288 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6778 | else | 8289 | else |
@@ -6785,56 +8296,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
6785 | cat >>conftest.$ac_ext <<_ACEOF | 8296 | cat >>conftest.$ac_ext <<_ACEOF |
6786 | /* end confdefs.h. */ | 8297 | /* end confdefs.h. */ |
6787 | 8298 | ||
6788 | /* Override any gcc2 internal prototype to avoid an error. */ | 8299 | /* Override any GCC internal prototype to avoid an error. |
8300 | Use char because int might match the return type of a GCC | ||
8301 | builtin and then its argument prototype would still apply. */ | ||
6789 | #ifdef __cplusplus | 8302 | #ifdef __cplusplus |
6790 | extern "C" | 8303 | extern "C" |
6791 | #endif | 8304 | #endif |
6792 | /* We use char because int might match the return type of a gcc2 | ||
6793 | builtin and then its argument prototype would still apply. */ | ||
6794 | char dlsym (); | 8305 | char dlsym (); |
6795 | int | 8306 | int |
6796 | main () | 8307 | main () |
6797 | { | 8308 | { |
6798 | dlsym (); | 8309 | return dlsym (); |
6799 | ; | 8310 | ; |
6800 | return 0; | 8311 | return 0; |
6801 | } | 8312 | } |
6802 | _ACEOF | 8313 | _ACEOF |
6803 | rm -f conftest.$ac_objext conftest$ac_exeext | 8314 | rm -f conftest.$ac_objext conftest$ac_exeext |
6804 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8315 | if { (ac_try="$ac_link" |
6805 | (eval $ac_link) 2>conftest.er1 | 8316 | case "(($ac_try" in |
8317 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8318 | *) ac_try_echo=$ac_try;; | ||
8319 | esac | ||
8320 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8321 | (eval "$ac_link") 2>conftest.er1 | ||
6806 | ac_status=$? | 8322 | ac_status=$? |
6807 | grep -v '^ *+' conftest.er1 >conftest.err | 8323 | grep -v '^ *+' conftest.er1 >conftest.err |
6808 | rm -f conftest.er1 | 8324 | rm -f conftest.er1 |
6809 | cat conftest.err >&5 | 8325 | cat conftest.err >&5 |
6810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6811 | (exit $ac_status); } && | 8327 | (exit $ac_status); } && { |
6812 | { ac_try='test -z "$ac_c_werror_flag" | 8328 | test -z "$ac_c_werror_flag" || |
6813 | || test ! -s conftest.err' | 8329 | test ! -s conftest.err |
6814 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8330 | } && test -s conftest$ac_exeext && |
6815 | (eval $ac_try) 2>&5 | 8331 | $as_test_x conftest$ac_exeext; then |
6816 | ac_status=$? | ||
6817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6818 | (exit $ac_status); }; } && | ||
6819 | { ac_try='test -s conftest$ac_exeext' | ||
6820 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6821 | (eval $ac_try) 2>&5 | ||
6822 | ac_status=$? | ||
6823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6824 | (exit $ac_status); }; }; then | ||
6825 | ac_cv_lib_dl_dlsym=yes | 8332 | ac_cv_lib_dl_dlsym=yes |
6826 | else | 8333 | else |
6827 | echo "$as_me: failed program was:" >&5 | 8334 | echo "$as_me: failed program was:" >&5 |
6828 | sed 's/^/| /' conftest.$ac_ext >&5 | 8335 | sed 's/^/| /' conftest.$ac_ext >&5 |
6829 | 8336 | ||
6830 | ac_cv_lib_dl_dlsym=no | 8337 | ac_cv_lib_dl_dlsym=no |
6831 | fi | 8338 | fi |
6832 | rm -f conftest.err conftest.$ac_objext \ | 8339 | |
8340 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
6833 | conftest$ac_exeext conftest.$ac_ext | 8341 | conftest$ac_exeext conftest.$ac_ext |
6834 | LIBS=$ac_check_lib_save_LIBS | 8342 | LIBS=$ac_check_lib_save_LIBS |
6835 | fi | 8343 | fi |
6836 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 | 8344 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 |
6837 | echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 | 8345 | echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; } |
6838 | if test $ac_cv_lib_dl_dlsym = yes; then | 8346 | if test $ac_cv_lib_dl_dlsym = yes; then |
6839 | cat >>confdefs.h <<_ACEOF | 8347 | cat >>confdefs.h <<_ACEOF |
6840 | #define HAVE_LIBDL 1 | 8348 | #define HAVE_LIBDL 1 |
@@ -6845,8 +8353,8 @@ _ACEOF | |||
6845 | fi | 8353 | fi |
6846 | 8354 | ||
6847 | # -lresolv needs to be at the end of LIBS or DNS lookups break | 8355 | # -lresolv needs to be at the end of LIBS or DNS lookups break |
6848 | echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 | 8356 | { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
6849 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6 | 8357 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } |
6850 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then | 8358 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then |
6851 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8359 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6852 | else | 8360 | else |
@@ -6859,56 +8367,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
6859 | cat >>conftest.$ac_ext <<_ACEOF | 8367 | cat >>conftest.$ac_ext <<_ACEOF |
6860 | /* end confdefs.h. */ | 8368 | /* end confdefs.h. */ |
6861 | 8369 | ||
6862 | /* Override any gcc2 internal prototype to avoid an error. */ | 8370 | /* Override any GCC internal prototype to avoid an error. |
8371 | Use char because int might match the return type of a GCC | ||
8372 | builtin and then its argument prototype would still apply. */ | ||
6863 | #ifdef __cplusplus | 8373 | #ifdef __cplusplus |
6864 | extern "C" | 8374 | extern "C" |
6865 | #endif | 8375 | #endif |
6866 | /* We use char because int might match the return type of a gcc2 | ||
6867 | builtin and then its argument prototype would still apply. */ | ||
6868 | char res_query (); | 8376 | char res_query (); |
6869 | int | 8377 | int |
6870 | main () | 8378 | main () |
6871 | { | 8379 | { |
6872 | res_query (); | 8380 | return res_query (); |
6873 | ; | 8381 | ; |
6874 | return 0; | 8382 | return 0; |
6875 | } | 8383 | } |
6876 | _ACEOF | 8384 | _ACEOF |
6877 | rm -f conftest.$ac_objext conftest$ac_exeext | 8385 | rm -f conftest.$ac_objext conftest$ac_exeext |
6878 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8386 | if { (ac_try="$ac_link" |
6879 | (eval $ac_link) 2>conftest.er1 | 8387 | case "(($ac_try" in |
8388 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8389 | *) ac_try_echo=$ac_try;; | ||
8390 | esac | ||
8391 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8392 | (eval "$ac_link") 2>conftest.er1 | ||
6880 | ac_status=$? | 8393 | ac_status=$? |
6881 | grep -v '^ *+' conftest.er1 >conftest.err | 8394 | grep -v '^ *+' conftest.er1 >conftest.err |
6882 | rm -f conftest.er1 | 8395 | rm -f conftest.er1 |
6883 | cat conftest.err >&5 | 8396 | cat conftest.err >&5 |
6884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6885 | (exit $ac_status); } && | 8398 | (exit $ac_status); } && { |
6886 | { ac_try='test -z "$ac_c_werror_flag" | 8399 | test -z "$ac_c_werror_flag" || |
6887 | || test ! -s conftest.err' | 8400 | test ! -s conftest.err |
6888 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8401 | } && test -s conftest$ac_exeext && |
6889 | (eval $ac_try) 2>&5 | 8402 | $as_test_x conftest$ac_exeext; then |
6890 | ac_status=$? | ||
6891 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6892 | (exit $ac_status); }; } && | ||
6893 | { ac_try='test -s conftest$ac_exeext' | ||
6894 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6895 | (eval $ac_try) 2>&5 | ||
6896 | ac_status=$? | ||
6897 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6898 | (exit $ac_status); }; }; then | ||
6899 | ac_cv_lib_resolv_res_query=yes | 8403 | ac_cv_lib_resolv_res_query=yes |
6900 | else | 8404 | else |
6901 | echo "$as_me: failed program was:" >&5 | 8405 | echo "$as_me: failed program was:" >&5 |
6902 | sed 's/^/| /' conftest.$ac_ext >&5 | 8406 | sed 's/^/| /' conftest.$ac_ext >&5 |
6903 | 8407 | ||
6904 | ac_cv_lib_resolv_res_query=no | 8408 | ac_cv_lib_resolv_res_query=no |
6905 | fi | 8409 | fi |
6906 | rm -f conftest.err conftest.$ac_objext \ | 8410 | |
8411 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
6907 | conftest$ac_exeext conftest.$ac_ext | 8412 | conftest$ac_exeext conftest.$ac_ext |
6908 | LIBS=$ac_check_lib_save_LIBS | 8413 | LIBS=$ac_check_lib_save_LIBS |
6909 | fi | 8414 | fi |
6910 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 | 8415 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 |
6911 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6 | 8416 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; } |
6912 | if test $ac_cv_lib_resolv_res_query = yes; then | 8417 | if test $ac_cv_lib_resolv_res_query = yes; then |
6913 | LIBS="$LIBS -lresolv" | 8418 | LIBS="$LIBS -lresolv" |
6914 | fi | 8419 | fi |
@@ -6945,7 +8450,6 @@ _ACEOF | |||
6945 | ;; | 8450 | ;; |
6946 | # UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. | 8451 | # UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. |
6947 | *-*-sysv4.2*) | 8452 | *-*-sysv4.2*) |
6948 | CFLAGS="$CFLAGS -Dva_list=_VA_LIST" | ||
6949 | cat >>confdefs.h <<\_ACEOF | 8453 | cat >>confdefs.h <<\_ACEOF |
6950 | #define USE_PIPES 1 | 8454 | #define USE_PIPES 1 |
6951 | _ACEOF | 8455 | _ACEOF |
@@ -7008,6 +8512,10 @@ cat >>confdefs.h <<\_ACEOF | |||
7008 | #define BROKEN_LIBIAF 1 | 8512 | #define BROKEN_LIBIAF 1 |
7009 | _ACEOF | 8513 | _ACEOF |
7010 | 8514 | ||
8515 | cat >>confdefs.h <<\_ACEOF | ||
8516 | #define BROKEN_UPDWTMPX 1 | ||
8517 | _ACEOF | ||
8518 | |||
7011 | ;; | 8519 | ;; |
7012 | *) cat >>confdefs.h <<\_ACEOF | 8520 | *) cat >>confdefs.h <<\_ACEOF |
7013 | #define LOCKED_PASSWD_STRING "*LK*" | 8521 | #define LOCKED_PASSWD_STRING "*LK*" |
@@ -7076,9 +8584,9 @@ _ACEOF | |||
7076 | for ac_func in getluid setluid | 8584 | for ac_func in getluid setluid |
7077 | do | 8585 | do |
7078 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8586 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7079 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8587 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
7080 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8588 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
7081 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 8589 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
7082 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8590 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7083 | else | 8591 | else |
7084 | cat >conftest.$ac_ext <<_ACEOF | 8592 | cat >conftest.$ac_ext <<_ACEOF |
@@ -7104,68 +8612,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
7104 | 8612 | ||
7105 | #undef $ac_func | 8613 | #undef $ac_func |
7106 | 8614 | ||
7107 | /* Override any gcc2 internal prototype to avoid an error. */ | 8615 | /* Override any GCC internal prototype to avoid an error. |
8616 | Use char because int might match the return type of a GCC | ||
8617 | builtin and then its argument prototype would still apply. */ | ||
7108 | #ifdef __cplusplus | 8618 | #ifdef __cplusplus |
7109 | extern "C" | 8619 | extern "C" |
7110 | { | ||
7111 | #endif | 8620 | #endif |
7112 | /* We use char because int might match the return type of a gcc2 | ||
7113 | builtin and then its argument prototype would still apply. */ | ||
7114 | char $ac_func (); | 8621 | char $ac_func (); |
7115 | /* The GNU C library defines this for functions which it implements | 8622 | /* The GNU C library defines this for functions which it implements |
7116 | to always fail with ENOSYS. Some functions are actually named | 8623 | to always fail with ENOSYS. Some functions are actually named |
7117 | something starting with __ and the normal name is an alias. */ | 8624 | something starting with __ and the normal name is an alias. */ |
7118 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 8625 | #if defined __stub_$ac_func || defined __stub___$ac_func |
7119 | choke me | 8626 | choke me |
7120 | #else | ||
7121 | char (*f) () = $ac_func; | ||
7122 | #endif | ||
7123 | #ifdef __cplusplus | ||
7124 | } | ||
7125 | #endif | 8627 | #endif |
7126 | 8628 | ||
7127 | int | 8629 | int |
7128 | main () | 8630 | main () |
7129 | { | 8631 | { |
7130 | return f != $ac_func; | 8632 | return $ac_func (); |
7131 | ; | 8633 | ; |
7132 | return 0; | 8634 | return 0; |
7133 | } | 8635 | } |
7134 | _ACEOF | 8636 | _ACEOF |
7135 | rm -f conftest.$ac_objext conftest$ac_exeext | 8637 | rm -f conftest.$ac_objext conftest$ac_exeext |
7136 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8638 | if { (ac_try="$ac_link" |
7137 | (eval $ac_link) 2>conftest.er1 | 8639 | case "(($ac_try" in |
8640 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8641 | *) ac_try_echo=$ac_try;; | ||
8642 | esac | ||
8643 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8644 | (eval "$ac_link") 2>conftest.er1 | ||
7138 | ac_status=$? | 8645 | ac_status=$? |
7139 | grep -v '^ *+' conftest.er1 >conftest.err | 8646 | grep -v '^ *+' conftest.er1 >conftest.err |
7140 | rm -f conftest.er1 | 8647 | rm -f conftest.er1 |
7141 | cat conftest.err >&5 | 8648 | cat conftest.err >&5 |
7142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7143 | (exit $ac_status); } && | 8650 | (exit $ac_status); } && { |
7144 | { ac_try='test -z "$ac_c_werror_flag" | 8651 | test -z "$ac_c_werror_flag" || |
7145 | || test ! -s conftest.err' | 8652 | test ! -s conftest.err |
7146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8653 | } && test -s conftest$ac_exeext && |
7147 | (eval $ac_try) 2>&5 | 8654 | $as_test_x conftest$ac_exeext; then |
7148 | ac_status=$? | ||
7149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7150 | (exit $ac_status); }; } && | ||
7151 | { ac_try='test -s conftest$ac_exeext' | ||
7152 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7153 | (eval $ac_try) 2>&5 | ||
7154 | ac_status=$? | ||
7155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7156 | (exit $ac_status); }; }; then | ||
7157 | eval "$as_ac_var=yes" | 8655 | eval "$as_ac_var=yes" |
7158 | else | 8656 | else |
7159 | echo "$as_me: failed program was:" >&5 | 8657 | echo "$as_me: failed program was:" >&5 |
7160 | sed 's/^/| /' conftest.$ac_ext >&5 | 8658 | sed 's/^/| /' conftest.$ac_ext >&5 |
7161 | 8659 | ||
7162 | eval "$as_ac_var=no" | 8660 | eval "$as_ac_var=no" |
7163 | fi | 8661 | fi |
7164 | rm -f conftest.err conftest.$ac_objext \ | 8662 | |
8663 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
7165 | conftest$ac_exeext conftest.$ac_ext | 8664 | conftest$ac_exeext conftest.$ac_ext |
7166 | fi | 8665 | fi |
7167 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8666 | ac_res=`eval echo '${'$as_ac_var'}'` |
7168 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8667 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8668 | echo "${ECHO_T}$ac_res" >&6; } | ||
7169 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 8669 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7170 | cat >>confdefs.h <<_ACEOF | 8670 | cat >>confdefs.h <<_ACEOF |
7171 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8671 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -7266,25 +8766,25 @@ _ACEOF | |||
7266 | MANTYPE=cat | 8766 | MANTYPE=cat |
7267 | ;; | 8767 | ;; |
7268 | *-dec-osf*) | 8768 | *-dec-osf*) |
7269 | echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 | 8769 | { echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 |
7270 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 | 8770 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6; } |
7271 | no_osfsia="" | 8771 | no_osfsia="" |
7272 | 8772 | ||
7273 | # Check whether --with-osfsia or --without-osfsia was given. | 8773 | # Check whether --with-osfsia was given. |
7274 | if test "${with_osfsia+set}" = set; then | 8774 | if test "${with_osfsia+set}" = set; then |
7275 | withval="$with_osfsia" | 8775 | withval=$with_osfsia; |
7276 | |||
7277 | if test "x$withval" = "xno" ; then | 8776 | if test "x$withval" = "xno" ; then |
7278 | echo "$as_me:$LINENO: result: disabled" >&5 | 8777 | { echo "$as_me:$LINENO: result: disabled" >&5 |
7279 | echo "${ECHO_T}disabled" >&6 | 8778 | echo "${ECHO_T}disabled" >&6; } |
7280 | no_osfsia=1 | 8779 | no_osfsia=1 |
7281 | fi | 8780 | fi |
7282 | 8781 | ||
7283 | fi; | 8782 | fi |
8783 | |||
7284 | if test -z "$no_osfsia" ; then | 8784 | if test -z "$no_osfsia" ; then |
7285 | if test -f /etc/sia/matrix.conf; then | 8785 | if test -f /etc/sia/matrix.conf; then |
7286 | echo "$as_me:$LINENO: result: yes" >&5 | 8786 | { echo "$as_me:$LINENO: result: yes" >&5 |
7287 | echo "${ECHO_T}yes" >&6 | 8787 | echo "${ECHO_T}yes" >&6; } |
7288 | 8788 | ||
7289 | cat >>confdefs.h <<\_ACEOF | 8789 | cat >>confdefs.h <<\_ACEOF |
7290 | #define HAVE_OSF_SIA 1 | 8790 | #define HAVE_OSF_SIA 1 |
@@ -7300,9 +8800,10 @@ _ACEOF | |||
7300 | _ACEOF | 8800 | _ACEOF |
7301 | 8801 | ||
7302 | LIBS="$LIBS -lsecurity -ldb -lm -laud" | 8802 | LIBS="$LIBS -lsecurity -ldb -lm -laud" |
8803 | SIA_MSG="yes" | ||
7303 | else | 8804 | else |
7304 | echo "$as_me:$LINENO: result: no" >&5 | 8805 | { echo "$as_me:$LINENO: result: no" >&5 |
7305 | echo "${ECHO_T}no" >&6 | 8806 | echo "${ECHO_T}no" >&6; } |
7306 | 8807 | ||
7307 | cat >>confdefs.h <<\_ACEOF | 8808 | cat >>confdefs.h <<\_ACEOF |
7308 | #define LOCKED_PASSWD_SUBSTR "Nologin" | 8809 | #define LOCKED_PASSWD_SUBSTR "Nologin" |
@@ -7356,6 +8857,11 @@ _ACEOF | |||
7356 | #define DISABLE_LASTLOG 1 | 8857 | #define DISABLE_LASTLOG 1 |
7357 | _ACEOF | 8858 | _ACEOF |
7358 | 8859 | ||
8860 | cat >>confdefs.h <<\_ACEOF | ||
8861 | #define SSHD_ACQUIRES_CTTY 1 | ||
8862 | _ACEOF | ||
8863 | |||
8864 | enable_etc_default_login=no # has incompatible /etc/default/login | ||
7359 | ;; | 8865 | ;; |
7360 | 8866 | ||
7361 | *-*-ultrix*) | 8867 | *-*-ultrix*) |
@@ -7394,72 +8900,8 @@ _ACEOF | |||
7394 | ;; | 8900 | ;; |
7395 | esac | 8901 | esac |
7396 | 8902 | ||
7397 | # Allow user to specify flags | 8903 | { echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 |
7398 | 8904 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6; } | |
7399 | # Check whether --with-cflags or --without-cflags was given. | ||
7400 | if test "${with_cflags+set}" = set; then | ||
7401 | withval="$with_cflags" | ||
7402 | |||
7403 | if test -n "$withval" && test "x$withval" != "xno" && \ | ||
7404 | test "x${withval}" != "xyes"; then | ||
7405 | CFLAGS="$CFLAGS $withval" | ||
7406 | fi | ||
7407 | |||
7408 | |||
7409 | fi; | ||
7410 | |||
7411 | # Check whether --with-cppflags or --without-cppflags was given. | ||
7412 | if test "${with_cppflags+set}" = set; then | ||
7413 | withval="$with_cppflags" | ||
7414 | |||
7415 | if test -n "$withval" && test "x$withval" != "xno" && \ | ||
7416 | test "x${withval}" != "xyes"; then | ||
7417 | CPPFLAGS="$CPPFLAGS $withval" | ||
7418 | fi | ||
7419 | |||
7420 | |||
7421 | fi; | ||
7422 | |||
7423 | # Check whether --with-ldflags or --without-ldflags was given. | ||
7424 | if test "${with_ldflags+set}" = set; then | ||
7425 | withval="$with_ldflags" | ||
7426 | |||
7427 | if test -n "$withval" && test "x$withval" != "xno" && \ | ||
7428 | test "x${withval}" != "xyes"; then | ||
7429 | LDFLAGS="$LDFLAGS $withval" | ||
7430 | fi | ||
7431 | |||
7432 | |||
7433 | fi; | ||
7434 | |||
7435 | # Check whether --with-libs or --without-libs was given. | ||
7436 | if test "${with_libs+set}" = set; then | ||
7437 | withval="$with_libs" | ||
7438 | |||
7439 | if test -n "$withval" && test "x$withval" != "xno" && \ | ||
7440 | test "x${withval}" != "xyes"; then | ||
7441 | LIBS="$LIBS $withval" | ||
7442 | fi | ||
7443 | |||
7444 | |||
7445 | fi; | ||
7446 | |||
7447 | # Check whether --with-Werror or --without-Werror was given. | ||
7448 | if test "${with_Werror+set}" = set; then | ||
7449 | withval="$with_Werror" | ||
7450 | |||
7451 | if test -n "$withval" && test "x$withval" != "xno"; then | ||
7452 | werror_flags="-Werror" | ||
7453 | if test "x${withval}" != "xyes"; then | ||
7454 | werror_flags="$withval" | ||
7455 | fi | ||
7456 | fi | ||
7457 | |||
7458 | |||
7459 | fi; | ||
7460 | |||
7461 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 | ||
7462 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 | ||
7463 | if test "$cross_compiling" = yes; then | 8905 | if test "$cross_compiling" = yes; then |
7464 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5 | 8906 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5 |
7465 | echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} | 8907 | echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} |
@@ -7477,18 +8919,27 @@ int main(){exit(0);} | |||
7477 | 8919 | ||
7478 | _ACEOF | 8920 | _ACEOF |
7479 | rm -f conftest$ac_exeext | 8921 | rm -f conftest$ac_exeext |
7480 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8922 | if { (ac_try="$ac_link" |
7481 | (eval $ac_link) 2>&5 | 8923 | case "(($ac_try" in |
8924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8925 | *) ac_try_echo=$ac_try;; | ||
8926 | esac | ||
8927 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8928 | (eval "$ac_link") 2>&5 | ||
7482 | ac_status=$? | 8929 | ac_status=$? |
7483 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7484 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8931 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7485 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8932 | { (case "(($ac_try" in |
7486 | (eval $ac_try) 2>&5 | 8933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8934 | *) ac_try_echo=$ac_try;; | ||
8935 | esac | ||
8936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8937 | (eval "$ac_try") 2>&5 | ||
7487 | ac_status=$? | 8938 | ac_status=$? |
7488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7489 | (exit $ac_status); }; }; then | 8940 | (exit $ac_status); }; }; then |
7490 | echo "$as_me:$LINENO: result: yes" >&5 | 8941 | { echo "$as_me:$LINENO: result: yes" >&5 |
7491 | echo "${ECHO_T}yes" >&6 | 8942 | echo "${ECHO_T}yes" >&6; } |
7492 | else | 8943 | else |
7493 | echo "$as_me: program exited with status $ac_status" >&5 | 8944 | echo "$as_me: program exited with status $ac_status" >&5 |
7494 | echo "$as_me: failed program was:" >&5 | 8945 | echo "$as_me: failed program was:" >&5 |
@@ -7496,416 +8947,21 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
7496 | 8947 | ||
7497 | ( exit $ac_status ) | 8948 | ( exit $ac_status ) |
7498 | 8949 | ||
7499 | echo "$as_me:$LINENO: result: no" >&5 | 8950 | { echo "$as_me:$LINENO: result: no" >&5 |
7500 | echo "${ECHO_T}no" >&6 | 8951 | echo "${ECHO_T}no" >&6; } |
7501 | { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5 | 8952 | { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5 |
7502 | echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} | 8953 | echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} |
7503 | { (exit 1); exit 1; }; } | 8954 | { (exit 1); exit 1; }; } |
7504 | 8955 | ||
7505 | fi | 8956 | fi |
7506 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8957 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7507 | fi | 8958 | fi |
7508 | 8959 | ||
7509 | 8960 | ||
7510 | 8961 | ||
7511 | |||
7512 | |||
7513 | |||
7514 | |||
7515 | |||
7516 | |||
7517 | |||
7518 | |||
7519 | |||
7520 | |||
7521 | |||
7522 | |||
7523 | |||
7524 | |||
7525 | |||
7526 | |||
7527 | |||
7528 | |||
7529 | |||
7530 | |||
7531 | |||
7532 | |||
7533 | |||
7534 | |||
7535 | |||
7536 | |||
7537 | |||
7538 | |||
7539 | |||
7540 | |||
7541 | |||
7542 | |||
7543 | |||
7544 | |||
7545 | |||
7546 | |||
7547 | |||
7548 | |||
7549 | |||
7550 | |||
7551 | |||
7552 | |||
7553 | |||
7554 | |||
7555 | |||
7556 | |||
7557 | |||
7558 | |||
7559 | |||
7560 | |||
7561 | |||
7562 | |||
7563 | |||
7564 | |||
7565 | for ac_header in \ | ||
7566 | bstring.h \ | ||
7567 | crypt.h \ | ||
7568 | dirent.h \ | ||
7569 | endian.h \ | ||
7570 | features.h \ | ||
7571 | floatingpoint.h \ | ||
7572 | getopt.h \ | ||
7573 | glob.h \ | ||
7574 | ia.h \ | ||
7575 | iaf.h \ | ||
7576 | limits.h \ | ||
7577 | login.h \ | ||
7578 | login_cap.h \ | ||
7579 | maillock.h \ | ||
7580 | ndir.h \ | ||
7581 | netdb.h \ | ||
7582 | netgroup.h \ | ||
7583 | pam/pam_appl.h \ | ||
7584 | paths.h \ | ||
7585 | pty.h \ | ||
7586 | readpassphrase.h \ | ||
7587 | rpc/types.h \ | ||
7588 | security/pam_appl.h \ | ||
7589 | shadow.h \ | ||
7590 | stddef.h \ | ||
7591 | stdint.h \ | ||
7592 | string.h \ | ||
7593 | strings.h \ | ||
7594 | sys/audit.h \ | ||
7595 | sys/bitypes.h \ | ||
7596 | sys/bsdtty.h \ | ||
7597 | sys/cdefs.h \ | ||
7598 | sys/dir.h \ | ||
7599 | sys/mman.h \ | ||
7600 | sys/ndir.h \ | ||
7601 | sys/prctl.h \ | ||
7602 | sys/pstat.h \ | ||
7603 | sys/select.h \ | ||
7604 | sys/stat.h \ | ||
7605 | sys/stream.h \ | ||
7606 | sys/stropts.h \ | ||
7607 | sys/strtio.h \ | ||
7608 | sys/sysmacros.h \ | ||
7609 | sys/time.h \ | ||
7610 | sys/timers.h \ | ||
7611 | sys/un.h \ | ||
7612 | time.h \ | ||
7613 | tmpdir.h \ | ||
7614 | ttyent.h \ | ||
7615 | unistd.h \ | ||
7616 | usersec.h \ | ||
7617 | util.h \ | ||
7618 | utime.h \ | ||
7619 | utmp.h \ | ||
7620 | utmpx.h \ | ||
7621 | vis.h \ | ||
7622 | |||
7623 | do | ||
7624 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
7625 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7626 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7627 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7628 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7629 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7630 | fi | ||
7631 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7632 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7633 | else | ||
7634 | # Is the header compilable? | ||
7635 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
7636 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
7637 | cat >conftest.$ac_ext <<_ACEOF | ||
7638 | /* confdefs.h. */ | ||
7639 | _ACEOF | ||
7640 | cat confdefs.h >>conftest.$ac_ext | ||
7641 | cat >>conftest.$ac_ext <<_ACEOF | ||
7642 | /* end confdefs.h. */ | ||
7643 | $ac_includes_default | ||
7644 | #include <$ac_header> | ||
7645 | _ACEOF | ||
7646 | rm -f conftest.$ac_objext | ||
7647 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7648 | (eval $ac_compile) 2>conftest.er1 | ||
7649 | ac_status=$? | ||
7650 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7651 | rm -f conftest.er1 | ||
7652 | cat conftest.err >&5 | ||
7653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7654 | (exit $ac_status); } && | ||
7655 | { ac_try='test -z "$ac_c_werror_flag" | ||
7656 | || test ! -s conftest.err' | ||
7657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7658 | (eval $ac_try) 2>&5 | ||
7659 | ac_status=$? | ||
7660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7661 | (exit $ac_status); }; } && | ||
7662 | { ac_try='test -s conftest.$ac_objext' | ||
7663 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7664 | (eval $ac_try) 2>&5 | ||
7665 | ac_status=$? | ||
7666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7667 | (exit $ac_status); }; }; then | ||
7668 | ac_header_compiler=yes | ||
7669 | else | ||
7670 | echo "$as_me: failed program was:" >&5 | ||
7671 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7672 | |||
7673 | ac_header_compiler=no | ||
7674 | fi | ||
7675 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7676 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
7677 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
7678 | |||
7679 | # Is the header present? | ||
7680 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
7681 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
7682 | cat >conftest.$ac_ext <<_ACEOF | ||
7683 | /* confdefs.h. */ | ||
7684 | _ACEOF | ||
7685 | cat confdefs.h >>conftest.$ac_ext | ||
7686 | cat >>conftest.$ac_ext <<_ACEOF | ||
7687 | /* end confdefs.h. */ | ||
7688 | #include <$ac_header> | ||
7689 | _ACEOF | ||
7690 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7691 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7692 | ac_status=$? | ||
7693 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7694 | rm -f conftest.er1 | ||
7695 | cat conftest.err >&5 | ||
7696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7697 | (exit $ac_status); } >/dev/null; then | ||
7698 | if test -s conftest.err; then | ||
7699 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
7700 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | ||
7701 | else | ||
7702 | ac_cpp_err= | ||
7703 | fi | ||
7704 | else | ||
7705 | ac_cpp_err=yes | ||
7706 | fi | ||
7707 | if test -z "$ac_cpp_err"; then | ||
7708 | ac_header_preproc=yes | ||
7709 | else | ||
7710 | echo "$as_me: failed program was:" >&5 | ||
7711 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7712 | |||
7713 | ac_header_preproc=no | ||
7714 | fi | ||
7715 | rm -f conftest.err conftest.$ac_ext | ||
7716 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
7717 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
7718 | |||
7719 | # So? What about this header? | ||
7720 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
7721 | yes:no: ) | ||
7722 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
7723 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
7724 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
7725 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
7726 | ac_header_preproc=yes | ||
7727 | ;; | ||
7728 | no:yes:* ) | ||
7729 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
7730 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
7731 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
7732 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
7733 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
7734 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
7735 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
7736 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
7737 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7738 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
7739 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
7740 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
7741 | ( | ||
7742 | cat <<\_ASBOX | ||
7743 | ## ------------------------------------------- ## | ||
7744 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
7745 | ## ------------------------------------------- ## | ||
7746 | _ASBOX | ||
7747 | ) | | ||
7748 | sed "s/^/$as_me: WARNING: /" >&2 | ||
7749 | ;; | ||
7750 | esac | ||
7751 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7752 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7753 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7754 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7755 | else | ||
7756 | eval "$as_ac_Header=\$ac_header_preproc" | ||
7757 | fi | ||
7758 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7759 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7760 | |||
7761 | fi | ||
7762 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7763 | cat >>confdefs.h <<_ACEOF | ||
7764 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
7765 | _ACEOF | ||
7766 | |||
7767 | fi | ||
7768 | |||
7769 | done | ||
7770 | |||
7771 | |||
7772 | # lastlog.h requires sys/time.h to be included first on Solaris | ||
7773 | |||
7774 | for ac_header in lastlog.h | ||
7775 | do | ||
7776 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
7777 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7778 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7779 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7780 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7781 | else | ||
7782 | cat >conftest.$ac_ext <<_ACEOF | ||
7783 | /* confdefs.h. */ | ||
7784 | _ACEOF | ||
7785 | cat confdefs.h >>conftest.$ac_ext | ||
7786 | cat >>conftest.$ac_ext <<_ACEOF | ||
7787 | /* end confdefs.h. */ | ||
7788 | |||
7789 | #ifdef HAVE_SYS_TIME_H | ||
7790 | # include <sys/time.h> | ||
7791 | #endif | ||
7792 | |||
7793 | |||
7794 | #include <$ac_header> | ||
7795 | _ACEOF | ||
7796 | rm -f conftest.$ac_objext | ||
7797 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7798 | (eval $ac_compile) 2>conftest.er1 | ||
7799 | ac_status=$? | ||
7800 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7801 | rm -f conftest.er1 | ||
7802 | cat conftest.err >&5 | ||
7803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7804 | (exit $ac_status); } && | ||
7805 | { ac_try='test -z "$ac_c_werror_flag" | ||
7806 | || test ! -s conftest.err' | ||
7807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7808 | (eval $ac_try) 2>&5 | ||
7809 | ac_status=$? | ||
7810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7811 | (exit $ac_status); }; } && | ||
7812 | { ac_try='test -s conftest.$ac_objext' | ||
7813 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7814 | (eval $ac_try) 2>&5 | ||
7815 | ac_status=$? | ||
7816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7817 | (exit $ac_status); }; }; then | ||
7818 | eval "$as_ac_Header=yes" | ||
7819 | else | ||
7820 | echo "$as_me: failed program was:" >&5 | ||
7821 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7822 | |||
7823 | eval "$as_ac_Header=no" | ||
7824 | fi | ||
7825 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7826 | fi | ||
7827 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7828 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7829 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7830 | cat >>confdefs.h <<_ACEOF | ||
7831 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
7832 | _ACEOF | ||
7833 | |||
7834 | fi | ||
7835 | |||
7836 | done | ||
7837 | |||
7838 | |||
7839 | # sys/ptms.h requires sys/stream.h to be included first on Solaris | ||
7840 | |||
7841 | for ac_header in sys/ptms.h | ||
7842 | do | ||
7843 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
7844 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7845 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7846 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7847 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7848 | else | ||
7849 | cat >conftest.$ac_ext <<_ACEOF | ||
7850 | /* confdefs.h. */ | ||
7851 | _ACEOF | ||
7852 | cat confdefs.h >>conftest.$ac_ext | ||
7853 | cat >>conftest.$ac_ext <<_ACEOF | ||
7854 | /* end confdefs.h. */ | ||
7855 | |||
7856 | #ifdef HAVE_SYS_STREAM_H | ||
7857 | # include <sys/stream.h> | ||
7858 | #endif | ||
7859 | |||
7860 | |||
7861 | #include <$ac_header> | ||
7862 | _ACEOF | ||
7863 | rm -f conftest.$ac_objext | ||
7864 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7865 | (eval $ac_compile) 2>conftest.er1 | ||
7866 | ac_status=$? | ||
7867 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7868 | rm -f conftest.er1 | ||
7869 | cat conftest.err >&5 | ||
7870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7871 | (exit $ac_status); } && | ||
7872 | { ac_try='test -z "$ac_c_werror_flag" | ||
7873 | || test ! -s conftest.err' | ||
7874 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7875 | (eval $ac_try) 2>&5 | ||
7876 | ac_status=$? | ||
7877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7878 | (exit $ac_status); }; } && | ||
7879 | { ac_try='test -s conftest.$ac_objext' | ||
7880 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7881 | (eval $ac_try) 2>&5 | ||
7882 | ac_status=$? | ||
7883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7884 | (exit $ac_status); }; }; then | ||
7885 | eval "$as_ac_Header=yes" | ||
7886 | else | ||
7887 | echo "$as_me: failed program was:" >&5 | ||
7888 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7889 | |||
7890 | eval "$as_ac_Header=no" | ||
7891 | fi | ||
7892 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7893 | fi | ||
7894 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7895 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7896 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7897 | cat >>confdefs.h <<_ACEOF | ||
7898 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
7899 | _ACEOF | ||
7900 | |||
7901 | fi | ||
7902 | |||
7903 | done | ||
7904 | |||
7905 | |||
7906 | # Checks for libraries. | 8962 | # Checks for libraries. |
7907 | echo "$as_me:$LINENO: checking for yp_match" >&5 | 8963 | { echo "$as_me:$LINENO: checking for yp_match" >&5 |
7908 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 | 8964 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6; } |
7909 | if test "${ac_cv_func_yp_match+set}" = set; then | 8965 | if test "${ac_cv_func_yp_match+set}" = set; then |
7910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7911 | else | 8967 | else |
@@ -7932,74 +8988,65 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
7932 | 8988 | ||
7933 | #undef yp_match | 8989 | #undef yp_match |
7934 | 8990 | ||
7935 | /* Override any gcc2 internal prototype to avoid an error. */ | 8991 | /* Override any GCC internal prototype to avoid an error. |
8992 | Use char because int might match the return type of a GCC | ||
8993 | builtin and then its argument prototype would still apply. */ | ||
7936 | #ifdef __cplusplus | 8994 | #ifdef __cplusplus |
7937 | extern "C" | 8995 | extern "C" |
7938 | { | ||
7939 | #endif | 8996 | #endif |
7940 | /* We use char because int might match the return type of a gcc2 | ||
7941 | builtin and then its argument prototype would still apply. */ | ||
7942 | char yp_match (); | 8997 | char yp_match (); |
7943 | /* The GNU C library defines this for functions which it implements | 8998 | /* The GNU C library defines this for functions which it implements |
7944 | to always fail with ENOSYS. Some functions are actually named | 8999 | to always fail with ENOSYS. Some functions are actually named |
7945 | something starting with __ and the normal name is an alias. */ | 9000 | something starting with __ and the normal name is an alias. */ |
7946 | #if defined (__stub_yp_match) || defined (__stub___yp_match) | 9001 | #if defined __stub_yp_match || defined __stub___yp_match |
7947 | choke me | 9002 | choke me |
7948 | #else | ||
7949 | char (*f) () = yp_match; | ||
7950 | #endif | ||
7951 | #ifdef __cplusplus | ||
7952 | } | ||
7953 | #endif | 9003 | #endif |
7954 | 9004 | ||
7955 | int | 9005 | int |
7956 | main () | 9006 | main () |
7957 | { | 9007 | { |
7958 | return f != yp_match; | 9008 | return yp_match (); |
7959 | ; | 9009 | ; |
7960 | return 0; | 9010 | return 0; |
7961 | } | 9011 | } |
7962 | _ACEOF | 9012 | _ACEOF |
7963 | rm -f conftest.$ac_objext conftest$ac_exeext | 9013 | rm -f conftest.$ac_objext conftest$ac_exeext |
7964 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9014 | if { (ac_try="$ac_link" |
7965 | (eval $ac_link) 2>conftest.er1 | 9015 | case "(($ac_try" in |
9016 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9017 | *) ac_try_echo=$ac_try;; | ||
9018 | esac | ||
9019 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9020 | (eval "$ac_link") 2>conftest.er1 | ||
7966 | ac_status=$? | 9021 | ac_status=$? |
7967 | grep -v '^ *+' conftest.er1 >conftest.err | 9022 | grep -v '^ *+' conftest.er1 >conftest.err |
7968 | rm -f conftest.er1 | 9023 | rm -f conftest.er1 |
7969 | cat conftest.err >&5 | 9024 | cat conftest.err >&5 |
7970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7971 | (exit $ac_status); } && | 9026 | (exit $ac_status); } && { |
7972 | { ac_try='test -z "$ac_c_werror_flag" | 9027 | test -z "$ac_c_werror_flag" || |
7973 | || test ! -s conftest.err' | 9028 | test ! -s conftest.err |
7974 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9029 | } && test -s conftest$ac_exeext && |
7975 | (eval $ac_try) 2>&5 | 9030 | $as_test_x conftest$ac_exeext; then |
7976 | ac_status=$? | ||
7977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7978 | (exit $ac_status); }; } && | ||
7979 | { ac_try='test -s conftest$ac_exeext' | ||
7980 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7981 | (eval $ac_try) 2>&5 | ||
7982 | ac_status=$? | ||
7983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7984 | (exit $ac_status); }; }; then | ||
7985 | ac_cv_func_yp_match=yes | 9031 | ac_cv_func_yp_match=yes |
7986 | else | 9032 | else |
7987 | echo "$as_me: failed program was:" >&5 | 9033 | echo "$as_me: failed program was:" >&5 |
7988 | sed 's/^/| /' conftest.$ac_ext >&5 | 9034 | sed 's/^/| /' conftest.$ac_ext >&5 |
7989 | 9035 | ||
7990 | ac_cv_func_yp_match=no | 9036 | ac_cv_func_yp_match=no |
7991 | fi | 9037 | fi |
7992 | rm -f conftest.err conftest.$ac_objext \ | 9038 | |
9039 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
7993 | conftest$ac_exeext conftest.$ac_ext | 9040 | conftest$ac_exeext conftest.$ac_ext |
7994 | fi | 9041 | fi |
7995 | echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5 | 9042 | { echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5 |
7996 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6 | 9043 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6; } |
7997 | if test $ac_cv_func_yp_match = yes; then | 9044 | if test $ac_cv_func_yp_match = yes; then |
7998 | : | 9045 | : |
7999 | else | 9046 | else |
8000 | 9047 | ||
8001 | echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5 | 9048 | { echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5 |
8002 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 | 9049 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6; } |
8003 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then | 9050 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then |
8004 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9051 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8005 | else | 9052 | else |
@@ -8012,56 +9059,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
8012 | cat >>conftest.$ac_ext <<_ACEOF | 9059 | cat >>conftest.$ac_ext <<_ACEOF |
8013 | /* end confdefs.h. */ | 9060 | /* end confdefs.h. */ |
8014 | 9061 | ||
8015 | /* Override any gcc2 internal prototype to avoid an error. */ | 9062 | /* Override any GCC internal prototype to avoid an error. |
9063 | Use char because int might match the return type of a GCC | ||
9064 | builtin and then its argument prototype would still apply. */ | ||
8016 | #ifdef __cplusplus | 9065 | #ifdef __cplusplus |
8017 | extern "C" | 9066 | extern "C" |
8018 | #endif | 9067 | #endif |
8019 | /* We use char because int might match the return type of a gcc2 | ||
8020 | builtin and then its argument prototype would still apply. */ | ||
8021 | char yp_match (); | 9068 | char yp_match (); |
8022 | int | 9069 | int |
8023 | main () | 9070 | main () |
8024 | { | 9071 | { |
8025 | yp_match (); | 9072 | return yp_match (); |
8026 | ; | 9073 | ; |
8027 | return 0; | 9074 | return 0; |
8028 | } | 9075 | } |
8029 | _ACEOF | 9076 | _ACEOF |
8030 | rm -f conftest.$ac_objext conftest$ac_exeext | 9077 | rm -f conftest.$ac_objext conftest$ac_exeext |
8031 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9078 | if { (ac_try="$ac_link" |
8032 | (eval $ac_link) 2>conftest.er1 | 9079 | case "(($ac_try" in |
9080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9081 | *) ac_try_echo=$ac_try;; | ||
9082 | esac | ||
9083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9084 | (eval "$ac_link") 2>conftest.er1 | ||
8033 | ac_status=$? | 9085 | ac_status=$? |
8034 | grep -v '^ *+' conftest.er1 >conftest.err | 9086 | grep -v '^ *+' conftest.er1 >conftest.err |
8035 | rm -f conftest.er1 | 9087 | rm -f conftest.er1 |
8036 | cat conftest.err >&5 | 9088 | cat conftest.err >&5 |
8037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8038 | (exit $ac_status); } && | 9090 | (exit $ac_status); } && { |
8039 | { ac_try='test -z "$ac_c_werror_flag" | 9091 | test -z "$ac_c_werror_flag" || |
8040 | || test ! -s conftest.err' | 9092 | test ! -s conftest.err |
8041 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9093 | } && test -s conftest$ac_exeext && |
8042 | (eval $ac_try) 2>&5 | 9094 | $as_test_x conftest$ac_exeext; then |
8043 | ac_status=$? | ||
8044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8045 | (exit $ac_status); }; } && | ||
8046 | { ac_try='test -s conftest$ac_exeext' | ||
8047 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8048 | (eval $ac_try) 2>&5 | ||
8049 | ac_status=$? | ||
8050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8051 | (exit $ac_status); }; }; then | ||
8052 | ac_cv_lib_nsl_yp_match=yes | 9095 | ac_cv_lib_nsl_yp_match=yes |
8053 | else | 9096 | else |
8054 | echo "$as_me: failed program was:" >&5 | 9097 | echo "$as_me: failed program was:" >&5 |
8055 | sed 's/^/| /' conftest.$ac_ext >&5 | 9098 | sed 's/^/| /' conftest.$ac_ext >&5 |
8056 | 9099 | ||
8057 | ac_cv_lib_nsl_yp_match=no | 9100 | ac_cv_lib_nsl_yp_match=no |
8058 | fi | 9101 | fi |
8059 | rm -f conftest.err conftest.$ac_objext \ | 9102 | |
9103 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8060 | conftest$ac_exeext conftest.$ac_ext | 9104 | conftest$ac_exeext conftest.$ac_ext |
8061 | LIBS=$ac_check_lib_save_LIBS | 9105 | LIBS=$ac_check_lib_save_LIBS |
8062 | fi | 9106 | fi |
8063 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5 | 9107 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5 |
8064 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 | 9108 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6; } |
8065 | if test $ac_cv_lib_nsl_yp_match = yes; then | 9109 | if test $ac_cv_lib_nsl_yp_match = yes; then |
8066 | cat >>confdefs.h <<_ACEOF | 9110 | cat >>confdefs.h <<_ACEOF |
8067 | #define HAVE_LIBNSL 1 | 9111 | #define HAVE_LIBNSL 1 |
@@ -8073,8 +9117,8 @@ fi | |||
8073 | 9117 | ||
8074 | fi | 9118 | fi |
8075 | 9119 | ||
8076 | echo "$as_me:$LINENO: checking for setsockopt" >&5 | 9120 | { echo "$as_me:$LINENO: checking for setsockopt" >&5 |
8077 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 | 9121 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; } |
8078 | if test "${ac_cv_func_setsockopt+set}" = set; then | 9122 | if test "${ac_cv_func_setsockopt+set}" = set; then |
8079 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9123 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8080 | else | 9124 | else |
@@ -8101,74 +9145,65 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
8101 | 9145 | ||
8102 | #undef setsockopt | 9146 | #undef setsockopt |
8103 | 9147 | ||
8104 | /* Override any gcc2 internal prototype to avoid an error. */ | 9148 | /* Override any GCC internal prototype to avoid an error. |
9149 | Use char because int might match the return type of a GCC | ||
9150 | builtin and then its argument prototype would still apply. */ | ||
8105 | #ifdef __cplusplus | 9151 | #ifdef __cplusplus |
8106 | extern "C" | 9152 | extern "C" |
8107 | { | ||
8108 | #endif | 9153 | #endif |
8109 | /* We use char because int might match the return type of a gcc2 | ||
8110 | builtin and then its argument prototype would still apply. */ | ||
8111 | char setsockopt (); | 9154 | char setsockopt (); |
8112 | /* The GNU C library defines this for functions which it implements | 9155 | /* The GNU C library defines this for functions which it implements |
8113 | to always fail with ENOSYS. Some functions are actually named | 9156 | to always fail with ENOSYS. Some functions are actually named |
8114 | something starting with __ and the normal name is an alias. */ | 9157 | something starting with __ and the normal name is an alias. */ |
8115 | #if defined (__stub_setsockopt) || defined (__stub___setsockopt) | 9158 | #if defined __stub_setsockopt || defined __stub___setsockopt |
8116 | choke me | 9159 | choke me |
8117 | #else | ||
8118 | char (*f) () = setsockopt; | ||
8119 | #endif | ||
8120 | #ifdef __cplusplus | ||
8121 | } | ||
8122 | #endif | 9160 | #endif |
8123 | 9161 | ||
8124 | int | 9162 | int |
8125 | main () | 9163 | main () |
8126 | { | 9164 | { |
8127 | return f != setsockopt; | 9165 | return setsockopt (); |
8128 | ; | 9166 | ; |
8129 | return 0; | 9167 | return 0; |
8130 | } | 9168 | } |
8131 | _ACEOF | 9169 | _ACEOF |
8132 | rm -f conftest.$ac_objext conftest$ac_exeext | 9170 | rm -f conftest.$ac_objext conftest$ac_exeext |
8133 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9171 | if { (ac_try="$ac_link" |
8134 | (eval $ac_link) 2>conftest.er1 | 9172 | case "(($ac_try" in |
9173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9174 | *) ac_try_echo=$ac_try;; | ||
9175 | esac | ||
9176 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9177 | (eval "$ac_link") 2>conftest.er1 | ||
8135 | ac_status=$? | 9178 | ac_status=$? |
8136 | grep -v '^ *+' conftest.er1 >conftest.err | 9179 | grep -v '^ *+' conftest.er1 >conftest.err |
8137 | rm -f conftest.er1 | 9180 | rm -f conftest.er1 |
8138 | cat conftest.err >&5 | 9181 | cat conftest.err >&5 |
8139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8140 | (exit $ac_status); } && | 9183 | (exit $ac_status); } && { |
8141 | { ac_try='test -z "$ac_c_werror_flag" | 9184 | test -z "$ac_c_werror_flag" || |
8142 | || test ! -s conftest.err' | 9185 | test ! -s conftest.err |
8143 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9186 | } && test -s conftest$ac_exeext && |
8144 | (eval $ac_try) 2>&5 | 9187 | $as_test_x conftest$ac_exeext; then |
8145 | ac_status=$? | ||
8146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8147 | (exit $ac_status); }; } && | ||
8148 | { ac_try='test -s conftest$ac_exeext' | ||
8149 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8150 | (eval $ac_try) 2>&5 | ||
8151 | ac_status=$? | ||
8152 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8153 | (exit $ac_status); }; }; then | ||
8154 | ac_cv_func_setsockopt=yes | 9188 | ac_cv_func_setsockopt=yes |
8155 | else | 9189 | else |
8156 | echo "$as_me: failed program was:" >&5 | 9190 | echo "$as_me: failed program was:" >&5 |
8157 | sed 's/^/| /' conftest.$ac_ext >&5 | 9191 | sed 's/^/| /' conftest.$ac_ext >&5 |
8158 | 9192 | ||
8159 | ac_cv_func_setsockopt=no | 9193 | ac_cv_func_setsockopt=no |
8160 | fi | 9194 | fi |
8161 | rm -f conftest.err conftest.$ac_objext \ | 9195 | |
9196 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8162 | conftest$ac_exeext conftest.$ac_ext | 9197 | conftest$ac_exeext conftest.$ac_ext |
8163 | fi | 9198 | fi |
8164 | echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 | 9199 | { echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 |
8165 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 | 9200 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; } |
8166 | if test $ac_cv_func_setsockopt = yes; then | 9201 | if test $ac_cv_func_setsockopt = yes; then |
8167 | : | 9202 | : |
8168 | else | 9203 | else |
8169 | 9204 | ||
8170 | echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 | 9205 | { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 |
8171 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 | 9206 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; } |
8172 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then | 9207 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then |
8173 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9208 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8174 | else | 9209 | else |
@@ -8181,56 +9216,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
8181 | cat >>conftest.$ac_ext <<_ACEOF | 9216 | cat >>conftest.$ac_ext <<_ACEOF |
8182 | /* end confdefs.h. */ | 9217 | /* end confdefs.h. */ |
8183 | 9218 | ||
8184 | /* Override any gcc2 internal prototype to avoid an error. */ | 9219 | /* Override any GCC internal prototype to avoid an error. |
9220 | Use char because int might match the return type of a GCC | ||
9221 | builtin and then its argument prototype would still apply. */ | ||
8185 | #ifdef __cplusplus | 9222 | #ifdef __cplusplus |
8186 | extern "C" | 9223 | extern "C" |
8187 | #endif | 9224 | #endif |
8188 | /* We use char because int might match the return type of a gcc2 | ||
8189 | builtin and then its argument prototype would still apply. */ | ||
8190 | char setsockopt (); | 9225 | char setsockopt (); |
8191 | int | 9226 | int |
8192 | main () | 9227 | main () |
8193 | { | 9228 | { |
8194 | setsockopt (); | 9229 | return setsockopt (); |
8195 | ; | 9230 | ; |
8196 | return 0; | 9231 | return 0; |
8197 | } | 9232 | } |
8198 | _ACEOF | 9233 | _ACEOF |
8199 | rm -f conftest.$ac_objext conftest$ac_exeext | 9234 | rm -f conftest.$ac_objext conftest$ac_exeext |
8200 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9235 | if { (ac_try="$ac_link" |
8201 | (eval $ac_link) 2>conftest.er1 | 9236 | case "(($ac_try" in |
9237 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9238 | *) ac_try_echo=$ac_try;; | ||
9239 | esac | ||
9240 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9241 | (eval "$ac_link") 2>conftest.er1 | ||
8202 | ac_status=$? | 9242 | ac_status=$? |
8203 | grep -v '^ *+' conftest.er1 >conftest.err | 9243 | grep -v '^ *+' conftest.er1 >conftest.err |
8204 | rm -f conftest.er1 | 9244 | rm -f conftest.er1 |
8205 | cat conftest.err >&5 | 9245 | cat conftest.err >&5 |
8206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8207 | (exit $ac_status); } && | 9247 | (exit $ac_status); } && { |
8208 | { ac_try='test -z "$ac_c_werror_flag" | 9248 | test -z "$ac_c_werror_flag" || |
8209 | || test ! -s conftest.err' | 9249 | test ! -s conftest.err |
8210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9250 | } && test -s conftest$ac_exeext && |
8211 | (eval $ac_try) 2>&5 | 9251 | $as_test_x conftest$ac_exeext; then |
8212 | ac_status=$? | ||
8213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8214 | (exit $ac_status); }; } && | ||
8215 | { ac_try='test -s conftest$ac_exeext' | ||
8216 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8217 | (eval $ac_try) 2>&5 | ||
8218 | ac_status=$? | ||
8219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8220 | (exit $ac_status); }; }; then | ||
8221 | ac_cv_lib_socket_setsockopt=yes | 9252 | ac_cv_lib_socket_setsockopt=yes |
8222 | else | 9253 | else |
8223 | echo "$as_me: failed program was:" >&5 | 9254 | echo "$as_me: failed program was:" >&5 |
8224 | sed 's/^/| /' conftest.$ac_ext >&5 | 9255 | sed 's/^/| /' conftest.$ac_ext >&5 |
8225 | 9256 | ||
8226 | ac_cv_lib_socket_setsockopt=no | 9257 | ac_cv_lib_socket_setsockopt=no |
8227 | fi | 9258 | fi |
8228 | rm -f conftest.err conftest.$ac_objext \ | 9259 | |
9260 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8229 | conftest$ac_exeext conftest.$ac_ext | 9261 | conftest$ac_exeext conftest.$ac_ext |
8230 | LIBS=$ac_check_lib_save_LIBS | 9262 | LIBS=$ac_check_lib_save_LIBS |
8231 | fi | 9263 | fi |
8232 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 | 9264 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 |
8233 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 | 9265 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; } |
8234 | if test $ac_cv_lib_socket_setsockopt = yes; then | 9266 | if test $ac_cv_lib_socket_setsockopt = yes; then |
8235 | cat >>confdefs.h <<_ACEOF | 9267 | cat >>confdefs.h <<_ACEOF |
8236 | #define HAVE_LIBSOCKET 1 | 9268 | #define HAVE_LIBSOCKET 1 |
@@ -8247,9 +9279,9 @@ fi | |||
8247 | for ac_func in dirname | 9279 | for ac_func in dirname |
8248 | do | 9280 | do |
8249 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9281 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8250 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9282 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8251 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9283 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
8252 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 9284 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
8253 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9285 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8254 | else | 9286 | else |
8255 | cat >conftest.$ac_ext <<_ACEOF | 9287 | cat >conftest.$ac_ext <<_ACEOF |
@@ -8275,68 +9307,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
8275 | 9307 | ||
8276 | #undef $ac_func | 9308 | #undef $ac_func |
8277 | 9309 | ||
8278 | /* Override any gcc2 internal prototype to avoid an error. */ | 9310 | /* Override any GCC internal prototype to avoid an error. |
9311 | Use char because int might match the return type of a GCC | ||
9312 | builtin and then its argument prototype would still apply. */ | ||
8279 | #ifdef __cplusplus | 9313 | #ifdef __cplusplus |
8280 | extern "C" | 9314 | extern "C" |
8281 | { | ||
8282 | #endif | 9315 | #endif |
8283 | /* We use char because int might match the return type of a gcc2 | ||
8284 | builtin and then its argument prototype would still apply. */ | ||
8285 | char $ac_func (); | 9316 | char $ac_func (); |
8286 | /* The GNU C library defines this for functions which it implements | 9317 | /* The GNU C library defines this for functions which it implements |
8287 | to always fail with ENOSYS. Some functions are actually named | 9318 | to always fail with ENOSYS. Some functions are actually named |
8288 | something starting with __ and the normal name is an alias. */ | 9319 | something starting with __ and the normal name is an alias. */ |
8289 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 9320 | #if defined __stub_$ac_func || defined __stub___$ac_func |
8290 | choke me | 9321 | choke me |
8291 | #else | ||
8292 | char (*f) () = $ac_func; | ||
8293 | #endif | ||
8294 | #ifdef __cplusplus | ||
8295 | } | ||
8296 | #endif | 9322 | #endif |
8297 | 9323 | ||
8298 | int | 9324 | int |
8299 | main () | 9325 | main () |
8300 | { | 9326 | { |
8301 | return f != $ac_func; | 9327 | return $ac_func (); |
8302 | ; | 9328 | ; |
8303 | return 0; | 9329 | return 0; |
8304 | } | 9330 | } |
8305 | _ACEOF | 9331 | _ACEOF |
8306 | rm -f conftest.$ac_objext conftest$ac_exeext | 9332 | rm -f conftest.$ac_objext conftest$ac_exeext |
8307 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9333 | if { (ac_try="$ac_link" |
8308 | (eval $ac_link) 2>conftest.er1 | 9334 | case "(($ac_try" in |
9335 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9336 | *) ac_try_echo=$ac_try;; | ||
9337 | esac | ||
9338 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9339 | (eval "$ac_link") 2>conftest.er1 | ||
8309 | ac_status=$? | 9340 | ac_status=$? |
8310 | grep -v '^ *+' conftest.er1 >conftest.err | 9341 | grep -v '^ *+' conftest.er1 >conftest.err |
8311 | rm -f conftest.er1 | 9342 | rm -f conftest.er1 |
8312 | cat conftest.err >&5 | 9343 | cat conftest.err >&5 |
8313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8314 | (exit $ac_status); } && | 9345 | (exit $ac_status); } && { |
8315 | { ac_try='test -z "$ac_c_werror_flag" | 9346 | test -z "$ac_c_werror_flag" || |
8316 | || test ! -s conftest.err' | 9347 | test ! -s conftest.err |
8317 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9348 | } && test -s conftest$ac_exeext && |
8318 | (eval $ac_try) 2>&5 | 9349 | $as_test_x conftest$ac_exeext; then |
8319 | ac_status=$? | ||
8320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8321 | (exit $ac_status); }; } && | ||
8322 | { ac_try='test -s conftest$ac_exeext' | ||
8323 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8324 | (eval $ac_try) 2>&5 | ||
8325 | ac_status=$? | ||
8326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8327 | (exit $ac_status); }; }; then | ||
8328 | eval "$as_ac_var=yes" | 9350 | eval "$as_ac_var=yes" |
8329 | else | 9351 | else |
8330 | echo "$as_me: failed program was:" >&5 | 9352 | echo "$as_me: failed program was:" >&5 |
8331 | sed 's/^/| /' conftest.$ac_ext >&5 | 9353 | sed 's/^/| /' conftest.$ac_ext >&5 |
8332 | 9354 | ||
8333 | eval "$as_ac_var=no" | 9355 | eval "$as_ac_var=no" |
8334 | fi | 9356 | fi |
8335 | rm -f conftest.err conftest.$ac_objext \ | 9357 | |
9358 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8336 | conftest$ac_exeext conftest.$ac_ext | 9359 | conftest$ac_exeext conftest.$ac_ext |
8337 | fi | 9360 | fi |
8338 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9361 | ac_res=`eval echo '${'$as_ac_var'}'` |
8339 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9362 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9363 | echo "${ECHO_T}$ac_res" >&6; } | ||
8340 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 9364 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8341 | cat >>confdefs.h <<_ACEOF | 9365 | cat >>confdefs.h <<_ACEOF |
8342 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9366 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -8345,18 +9369,19 @@ _ACEOF | |||
8345 | for ac_header in libgen.h | 9369 | for ac_header in libgen.h |
8346 | do | 9370 | do |
8347 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9371 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8348 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9372 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8349 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9373 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8350 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9374 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8351 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9375 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8352 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9376 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8353 | fi | 9377 | fi |
8354 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9378 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8355 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9379 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9380 | echo "${ECHO_T}$ac_res" >&6; } | ||
8356 | else | 9381 | else |
8357 | # Is the header compilable? | 9382 | # Is the header compilable? |
8358 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 9383 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8359 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 9384 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8360 | cat >conftest.$ac_ext <<_ACEOF | 9385 | cat >conftest.$ac_ext <<_ACEOF |
8361 | /* confdefs.h. */ | 9386 | /* confdefs.h. */ |
8362 | _ACEOF | 9387 | _ACEOF |
@@ -8367,41 +9392,37 @@ $ac_includes_default | |||
8367 | #include <$ac_header> | 9392 | #include <$ac_header> |
8368 | _ACEOF | 9393 | _ACEOF |
8369 | rm -f conftest.$ac_objext | 9394 | rm -f conftest.$ac_objext |
8370 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9395 | if { (ac_try="$ac_compile" |
8371 | (eval $ac_compile) 2>conftest.er1 | 9396 | case "(($ac_try" in |
9397 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9398 | *) ac_try_echo=$ac_try;; | ||
9399 | esac | ||
9400 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9401 | (eval "$ac_compile") 2>conftest.er1 | ||
8372 | ac_status=$? | 9402 | ac_status=$? |
8373 | grep -v '^ *+' conftest.er1 >conftest.err | 9403 | grep -v '^ *+' conftest.er1 >conftest.err |
8374 | rm -f conftest.er1 | 9404 | rm -f conftest.er1 |
8375 | cat conftest.err >&5 | 9405 | cat conftest.err >&5 |
8376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9406 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8377 | (exit $ac_status); } && | 9407 | (exit $ac_status); } && { |
8378 | { ac_try='test -z "$ac_c_werror_flag" | 9408 | test -z "$ac_c_werror_flag" || |
8379 | || test ! -s conftest.err' | 9409 | test ! -s conftest.err |
8380 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9410 | } && test -s conftest.$ac_objext; then |
8381 | (eval $ac_try) 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_header_compiler=yes | 9411 | ac_header_compiler=yes |
8392 | else | 9412 | else |
8393 | echo "$as_me: failed program was:" >&5 | 9413 | echo "$as_me: failed program was:" >&5 |
8394 | sed 's/^/| /' conftest.$ac_ext >&5 | 9414 | sed 's/^/| /' conftest.$ac_ext >&5 |
8395 | 9415 | ||
8396 | ac_header_compiler=no | 9416 | ac_header_compiler=no |
8397 | fi | 9417 | fi |
8398 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9418 | |
8399 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 9419 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8400 | echo "${ECHO_T}$ac_header_compiler" >&6 | 9420 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9421 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
8401 | 9422 | ||
8402 | # Is the header present? | 9423 | # Is the header present? |
8403 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 9424 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8404 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 9425 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8405 | cat >conftest.$ac_ext <<_ACEOF | 9426 | cat >conftest.$ac_ext <<_ACEOF |
8406 | /* confdefs.h. */ | 9427 | /* confdefs.h. */ |
8407 | _ACEOF | 9428 | _ACEOF |
@@ -8410,24 +9431,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
8410 | /* end confdefs.h. */ | 9431 | /* end confdefs.h. */ |
8411 | #include <$ac_header> | 9432 | #include <$ac_header> |
8412 | _ACEOF | 9433 | _ACEOF |
8413 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9434 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8414 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9435 | case "(($ac_try" in |
9436 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9437 | *) ac_try_echo=$ac_try;; | ||
9438 | esac | ||
9439 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9440 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
8415 | ac_status=$? | 9441 | ac_status=$? |
8416 | grep -v '^ *+' conftest.er1 >conftest.err | 9442 | grep -v '^ *+' conftest.er1 >conftest.err |
8417 | rm -f conftest.er1 | 9443 | rm -f conftest.er1 |
8418 | cat conftest.err >&5 | 9444 | cat conftest.err >&5 |
8419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8420 | (exit $ac_status); } >/dev/null; then | 9446 | (exit $ac_status); } >/dev/null && { |
8421 | if test -s conftest.err; then | 9447 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8422 | ac_cpp_err=$ac_c_preproc_warn_flag | 9448 | test ! -s conftest.err |
8423 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 9449 | }; then |
8424 | else | ||
8425 | ac_cpp_err= | ||
8426 | fi | ||
8427 | else | ||
8428 | ac_cpp_err=yes | ||
8429 | fi | ||
8430 | if test -z "$ac_cpp_err"; then | ||
8431 | ac_header_preproc=yes | 9450 | ac_header_preproc=yes |
8432 | else | 9451 | else |
8433 | echo "$as_me: failed program was:" >&5 | 9452 | echo "$as_me: failed program was:" >&5 |
@@ -8435,9 +9454,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
8435 | 9454 | ||
8436 | ac_header_preproc=no | 9455 | ac_header_preproc=no |
8437 | fi | 9456 | fi |
9457 | |||
8438 | rm -f conftest.err conftest.$ac_ext | 9458 | rm -f conftest.err conftest.$ac_ext |
8439 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9459 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8440 | echo "${ECHO_T}$ac_header_preproc" >&6 | 9460 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8441 | 9461 | ||
8442 | # So? What about this header? | 9462 | # So? What about this header? |
8443 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 9463 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -8461,25 +9481,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
8461 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 9481 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8462 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 9482 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8463 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 9483 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8464 | ( | 9484 | ( cat <<\_ASBOX |
8465 | cat <<\_ASBOX | ||
8466 | ## ------------------------------------------- ## | 9485 | ## ------------------------------------------- ## |
8467 | ## Report this to openssh-unix-dev@mindrot.org ## | 9486 | ## Report this to openssh-unix-dev@mindrot.org ## |
8468 | ## ------------------------------------------- ## | 9487 | ## ------------------------------------------- ## |
8469 | _ASBOX | 9488 | _ASBOX |
8470 | ) | | 9489 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
8471 | sed "s/^/$as_me: WARNING: /" >&2 | ||
8472 | ;; | 9490 | ;; |
8473 | esac | 9491 | esac |
8474 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9492 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8475 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9493 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8476 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9494 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8477 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9495 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8478 | else | 9496 | else |
8479 | eval "$as_ac_Header=\$ac_header_preproc" | 9497 | eval "$as_ac_Header=\$ac_header_preproc" |
8480 | fi | 9498 | fi |
8481 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9499 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8482 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9500 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9501 | echo "${ECHO_T}$ac_res" >&6; } | ||
8483 | 9502 | ||
8484 | fi | 9503 | fi |
8485 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 9504 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -8493,8 +9512,8 @@ done | |||
8493 | 9512 | ||
8494 | else | 9513 | else |
8495 | 9514 | ||
8496 | echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 | 9515 | { echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 |
8497 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 | 9516 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6; } |
8498 | if test "${ac_cv_lib_gen_dirname+set}" = set; then | 9517 | if test "${ac_cv_lib_gen_dirname+set}" = set; then |
8499 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9518 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8500 | else | 9519 | else |
@@ -8507,60 +9526,57 @@ cat confdefs.h >>conftest.$ac_ext | |||
8507 | cat >>conftest.$ac_ext <<_ACEOF | 9526 | cat >>conftest.$ac_ext <<_ACEOF |
8508 | /* end confdefs.h. */ | 9527 | /* end confdefs.h. */ |
8509 | 9528 | ||
8510 | /* Override any gcc2 internal prototype to avoid an error. */ | 9529 | /* Override any GCC internal prototype to avoid an error. |
9530 | Use char because int might match the return type of a GCC | ||
9531 | builtin and then its argument prototype would still apply. */ | ||
8511 | #ifdef __cplusplus | 9532 | #ifdef __cplusplus |
8512 | extern "C" | 9533 | extern "C" |
8513 | #endif | 9534 | #endif |
8514 | /* We use char because int might match the return type of a gcc2 | ||
8515 | builtin and then its argument prototype would still apply. */ | ||
8516 | char dirname (); | 9535 | char dirname (); |
8517 | int | 9536 | int |
8518 | main () | 9537 | main () |
8519 | { | 9538 | { |
8520 | dirname (); | 9539 | return dirname (); |
8521 | ; | 9540 | ; |
8522 | return 0; | 9541 | return 0; |
8523 | } | 9542 | } |
8524 | _ACEOF | 9543 | _ACEOF |
8525 | rm -f conftest.$ac_objext conftest$ac_exeext | 9544 | rm -f conftest.$ac_objext conftest$ac_exeext |
8526 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9545 | if { (ac_try="$ac_link" |
8527 | (eval $ac_link) 2>conftest.er1 | 9546 | case "(($ac_try" in |
9547 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9548 | *) ac_try_echo=$ac_try;; | ||
9549 | esac | ||
9550 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9551 | (eval "$ac_link") 2>conftest.er1 | ||
8528 | ac_status=$? | 9552 | ac_status=$? |
8529 | grep -v '^ *+' conftest.er1 >conftest.err | 9553 | grep -v '^ *+' conftest.er1 >conftest.err |
8530 | rm -f conftest.er1 | 9554 | rm -f conftest.er1 |
8531 | cat conftest.err >&5 | 9555 | cat conftest.err >&5 |
8532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9556 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8533 | (exit $ac_status); } && | 9557 | (exit $ac_status); } && { |
8534 | { ac_try='test -z "$ac_c_werror_flag" | 9558 | test -z "$ac_c_werror_flag" || |
8535 | || test ! -s conftest.err' | 9559 | test ! -s conftest.err |
8536 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9560 | } && test -s conftest$ac_exeext && |
8537 | (eval $ac_try) 2>&5 | 9561 | $as_test_x conftest$ac_exeext; then |
8538 | ac_status=$? | ||
8539 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8540 | (exit $ac_status); }; } && | ||
8541 | { ac_try='test -s conftest$ac_exeext' | ||
8542 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8543 | (eval $ac_try) 2>&5 | ||
8544 | ac_status=$? | ||
8545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8546 | (exit $ac_status); }; }; then | ||
8547 | ac_cv_lib_gen_dirname=yes | 9562 | ac_cv_lib_gen_dirname=yes |
8548 | else | 9563 | else |
8549 | echo "$as_me: failed program was:" >&5 | 9564 | echo "$as_me: failed program was:" >&5 |
8550 | sed 's/^/| /' conftest.$ac_ext >&5 | 9565 | sed 's/^/| /' conftest.$ac_ext >&5 |
8551 | 9566 | ||
8552 | ac_cv_lib_gen_dirname=no | 9567 | ac_cv_lib_gen_dirname=no |
8553 | fi | 9568 | fi |
8554 | rm -f conftest.err conftest.$ac_objext \ | 9569 | |
9570 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8555 | conftest$ac_exeext conftest.$ac_ext | 9571 | conftest$ac_exeext conftest.$ac_ext |
8556 | LIBS=$ac_check_lib_save_LIBS | 9572 | LIBS=$ac_check_lib_save_LIBS |
8557 | fi | 9573 | fi |
8558 | echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 | 9574 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 |
8559 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6 | 9575 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6; } |
8560 | if test $ac_cv_lib_gen_dirname = yes; then | 9576 | if test $ac_cv_lib_gen_dirname = yes; then |
8561 | 9577 | ||
8562 | echo "$as_me:$LINENO: checking for broken dirname" >&5 | 9578 | { echo "$as_me:$LINENO: checking for broken dirname" >&5 |
8563 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6 | 9579 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6; } |
8564 | if test "${ac_cv_have_broken_dirname+set}" = set; then | 9580 | if test "${ac_cv_have_broken_dirname+set}" = set; then |
8565 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9581 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8566 | else | 9582 | else |
@@ -8594,13 +9610,22 @@ int main(int argc, char **argv) { | |||
8594 | 9610 | ||
8595 | _ACEOF | 9611 | _ACEOF |
8596 | rm -f conftest$ac_exeext | 9612 | rm -f conftest$ac_exeext |
8597 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9613 | if { (ac_try="$ac_link" |
8598 | (eval $ac_link) 2>&5 | 9614 | case "(($ac_try" in |
9615 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9616 | *) ac_try_echo=$ac_try;; | ||
9617 | esac | ||
9618 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9619 | (eval "$ac_link") 2>&5 | ||
8599 | ac_status=$? | 9620 | ac_status=$? |
8600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8601 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 9622 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8602 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9623 | { (case "(($ac_try" in |
8603 | (eval $ac_try) 2>&5 | 9624 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9625 | *) ac_try_echo=$ac_try;; | ||
9626 | esac | ||
9627 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9628 | (eval "$ac_try") 2>&5 | ||
8604 | ac_status=$? | 9629 | ac_status=$? |
8605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8606 | (exit $ac_status); }; }; then | 9631 | (exit $ac_status); }; }; then |
@@ -8613,13 +9638,15 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
8613 | ( exit $ac_status ) | 9638 | ( exit $ac_status ) |
8614 | ac_cv_have_broken_dirname="yes" | 9639 | ac_cv_have_broken_dirname="yes" |
8615 | fi | 9640 | fi |
8616 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 9641 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8617 | fi | 9642 | fi |
9643 | |||
9644 | |||
8618 | LIBS="$save_LIBS" | 9645 | LIBS="$save_LIBS" |
8619 | 9646 | ||
8620 | fi | 9647 | fi |
8621 | echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5 | 9648 | { echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5 |
8622 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6 | 9649 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6; } |
8623 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | 9650 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then |
8624 | LIBS="$LIBS -lgen" | 9651 | LIBS="$LIBS -lgen" |
8625 | cat >>confdefs.h <<\_ACEOF | 9652 | cat >>confdefs.h <<\_ACEOF |
@@ -8630,18 +9657,19 @@ _ACEOF | |||
8630 | for ac_header in libgen.h | 9657 | for ac_header in libgen.h |
8631 | do | 9658 | do |
8632 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9659 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8633 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9660 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8634 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9661 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8635 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9662 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8636 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9663 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8637 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9664 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8638 | fi | 9665 | fi |
8639 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9666 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8640 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9667 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9668 | echo "${ECHO_T}$ac_res" >&6; } | ||
8641 | else | 9669 | else |
8642 | # Is the header compilable? | 9670 | # Is the header compilable? |
8643 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 9671 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8644 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 9672 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8645 | cat >conftest.$ac_ext <<_ACEOF | 9673 | cat >conftest.$ac_ext <<_ACEOF |
8646 | /* confdefs.h. */ | 9674 | /* confdefs.h. */ |
8647 | _ACEOF | 9675 | _ACEOF |
@@ -8652,41 +9680,37 @@ $ac_includes_default | |||
8652 | #include <$ac_header> | 9680 | #include <$ac_header> |
8653 | _ACEOF | 9681 | _ACEOF |
8654 | rm -f conftest.$ac_objext | 9682 | rm -f conftest.$ac_objext |
8655 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9683 | if { (ac_try="$ac_compile" |
8656 | (eval $ac_compile) 2>conftest.er1 | 9684 | case "(($ac_try" in |
9685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9686 | *) ac_try_echo=$ac_try;; | ||
9687 | esac | ||
9688 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9689 | (eval "$ac_compile") 2>conftest.er1 | ||
8657 | ac_status=$? | 9690 | ac_status=$? |
8658 | grep -v '^ *+' conftest.er1 >conftest.err | 9691 | grep -v '^ *+' conftest.er1 >conftest.err |
8659 | rm -f conftest.er1 | 9692 | rm -f conftest.er1 |
8660 | cat conftest.err >&5 | 9693 | cat conftest.err >&5 |
8661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8662 | (exit $ac_status); } && | 9695 | (exit $ac_status); } && { |
8663 | { ac_try='test -z "$ac_c_werror_flag" | 9696 | test -z "$ac_c_werror_flag" || |
8664 | || test ! -s conftest.err' | 9697 | test ! -s conftest.err |
8665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9698 | } && test -s conftest.$ac_objext; then |
8666 | (eval $ac_try) 2>&5 | ||
8667 | ac_status=$? | ||
8668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8669 | (exit $ac_status); }; } && | ||
8670 | { ac_try='test -s conftest.$ac_objext' | ||
8671 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8672 | (eval $ac_try) 2>&5 | ||
8673 | ac_status=$? | ||
8674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8675 | (exit $ac_status); }; }; then | ||
8676 | ac_header_compiler=yes | 9699 | ac_header_compiler=yes |
8677 | else | 9700 | else |
8678 | echo "$as_me: failed program was:" >&5 | 9701 | echo "$as_me: failed program was:" >&5 |
8679 | sed 's/^/| /' conftest.$ac_ext >&5 | 9702 | sed 's/^/| /' conftest.$ac_ext >&5 |
8680 | 9703 | ||
8681 | ac_header_compiler=no | 9704 | ac_header_compiler=no |
8682 | fi | 9705 | fi |
8683 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9706 | |
8684 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 9707 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8685 | echo "${ECHO_T}$ac_header_compiler" >&6 | 9708 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9709 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
8686 | 9710 | ||
8687 | # Is the header present? | 9711 | # Is the header present? |
8688 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 9712 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8689 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 9713 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8690 | cat >conftest.$ac_ext <<_ACEOF | 9714 | cat >conftest.$ac_ext <<_ACEOF |
8691 | /* confdefs.h. */ | 9715 | /* confdefs.h. */ |
8692 | _ACEOF | 9716 | _ACEOF |
@@ -8695,24 +9719,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
8695 | /* end confdefs.h. */ | 9719 | /* end confdefs.h. */ |
8696 | #include <$ac_header> | 9720 | #include <$ac_header> |
8697 | _ACEOF | 9721 | _ACEOF |
8698 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9722 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8699 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9723 | case "(($ac_try" in |
9724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9725 | *) ac_try_echo=$ac_try;; | ||
9726 | esac | ||
9727 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9728 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
8700 | ac_status=$? | 9729 | ac_status=$? |
8701 | grep -v '^ *+' conftest.er1 >conftest.err | 9730 | grep -v '^ *+' conftest.er1 >conftest.err |
8702 | rm -f conftest.er1 | 9731 | rm -f conftest.er1 |
8703 | cat conftest.err >&5 | 9732 | cat conftest.err >&5 |
8704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8705 | (exit $ac_status); } >/dev/null; then | 9734 | (exit $ac_status); } >/dev/null && { |
8706 | if test -s conftest.err; then | 9735 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
8707 | ac_cpp_err=$ac_c_preproc_warn_flag | 9736 | test ! -s conftest.err |
8708 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 9737 | }; then |
8709 | else | ||
8710 | ac_cpp_err= | ||
8711 | fi | ||
8712 | else | ||
8713 | ac_cpp_err=yes | ||
8714 | fi | ||
8715 | if test -z "$ac_cpp_err"; then | ||
8716 | ac_header_preproc=yes | 9738 | ac_header_preproc=yes |
8717 | else | 9739 | else |
8718 | echo "$as_me: failed program was:" >&5 | 9740 | echo "$as_me: failed program was:" >&5 |
@@ -8720,9 +9742,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
8720 | 9742 | ||
8721 | ac_header_preproc=no | 9743 | ac_header_preproc=no |
8722 | fi | 9744 | fi |
9745 | |||
8723 | rm -f conftest.err conftest.$ac_ext | 9746 | rm -f conftest.err conftest.$ac_ext |
8724 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9747 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8725 | echo "${ECHO_T}$ac_header_preproc" >&6 | 9748 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8726 | 9749 | ||
8727 | # So? What about this header? | 9750 | # So? What about this header? |
8728 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 9751 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -8746,25 +9769,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
8746 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 9769 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8747 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 9770 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8748 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 9771 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8749 | ( | 9772 | ( cat <<\_ASBOX |
8750 | cat <<\_ASBOX | ||
8751 | ## ------------------------------------------- ## | 9773 | ## ------------------------------------------- ## |
8752 | ## Report this to openssh-unix-dev@mindrot.org ## | 9774 | ## Report this to openssh-unix-dev@mindrot.org ## |
8753 | ## ------------------------------------------- ## | 9775 | ## ------------------------------------------- ## |
8754 | _ASBOX | 9776 | _ASBOX |
8755 | ) | | 9777 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
8756 | sed "s/^/$as_me: WARNING: /" >&2 | ||
8757 | ;; | 9778 | ;; |
8758 | esac | 9779 | esac |
8759 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9780 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8760 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9781 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8761 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9782 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8762 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9783 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8763 | else | 9784 | else |
8764 | eval "$as_ac_Header=\$ac_header_preproc" | 9785 | eval "$as_ac_Header=\$ac_header_preproc" |
8765 | fi | 9786 | fi |
8766 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9787 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8767 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9788 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9789 | echo "${ECHO_T}$ac_res" >&6; } | ||
8768 | 9790 | ||
8769 | fi | 9791 | fi |
8770 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 9792 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -8785,8 +9807,8 @@ fi | |||
8785 | done | 9807 | done |
8786 | 9808 | ||
8787 | 9809 | ||
8788 | echo "$as_me:$LINENO: checking for getspnam" >&5 | 9810 | { echo "$as_me:$LINENO: checking for getspnam" >&5 |
8789 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 | 9811 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6; } |
8790 | if test "${ac_cv_func_getspnam+set}" = set; then | 9812 | if test "${ac_cv_func_getspnam+set}" = set; then |
8791 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9813 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8792 | else | 9814 | else |
@@ -8813,73 +9835,64 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
8813 | 9835 | ||
8814 | #undef getspnam | 9836 | #undef getspnam |
8815 | 9837 | ||
8816 | /* Override any gcc2 internal prototype to avoid an error. */ | 9838 | /* Override any GCC internal prototype to avoid an error. |
9839 | Use char because int might match the return type of a GCC | ||
9840 | builtin and then its argument prototype would still apply. */ | ||
8817 | #ifdef __cplusplus | 9841 | #ifdef __cplusplus |
8818 | extern "C" | 9842 | extern "C" |
8819 | { | ||
8820 | #endif | 9843 | #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 getspnam (); | 9844 | char getspnam (); |
8824 | /* The GNU C library defines this for functions which it implements | 9845 | /* The GNU C library defines this for functions which it implements |
8825 | to always fail with ENOSYS. Some functions are actually named | 9846 | to always fail with ENOSYS. Some functions are actually named |
8826 | something starting with __ and the normal name is an alias. */ | 9847 | something starting with __ and the normal name is an alias. */ |
8827 | #if defined (__stub_getspnam) || defined (__stub___getspnam) | 9848 | #if defined __stub_getspnam || defined __stub___getspnam |
8828 | choke me | 9849 | choke me |
8829 | #else | ||
8830 | char (*f) () = getspnam; | ||
8831 | #endif | ||
8832 | #ifdef __cplusplus | ||
8833 | } | ||
8834 | #endif | 9850 | #endif |
8835 | 9851 | ||
8836 | int | 9852 | int |
8837 | main () | 9853 | main () |
8838 | { | 9854 | { |
8839 | return f != getspnam; | 9855 | return getspnam (); |
8840 | ; | 9856 | ; |
8841 | return 0; | 9857 | return 0; |
8842 | } | 9858 | } |
8843 | _ACEOF | 9859 | _ACEOF |
8844 | rm -f conftest.$ac_objext conftest$ac_exeext | 9860 | rm -f conftest.$ac_objext conftest$ac_exeext |
8845 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9861 | if { (ac_try="$ac_link" |
8846 | (eval $ac_link) 2>conftest.er1 | 9862 | case "(($ac_try" in |
9863 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9864 | *) ac_try_echo=$ac_try;; | ||
9865 | esac | ||
9866 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9867 | (eval "$ac_link") 2>conftest.er1 | ||
8847 | ac_status=$? | 9868 | ac_status=$? |
8848 | grep -v '^ *+' conftest.er1 >conftest.err | 9869 | grep -v '^ *+' conftest.er1 >conftest.err |
8849 | rm -f conftest.er1 | 9870 | rm -f conftest.er1 |
8850 | cat conftest.err >&5 | 9871 | cat conftest.err >&5 |
8851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8852 | (exit $ac_status); } && | 9873 | (exit $ac_status); } && { |
8853 | { ac_try='test -z "$ac_c_werror_flag" | 9874 | test -z "$ac_c_werror_flag" || |
8854 | || test ! -s conftest.err' | 9875 | test ! -s conftest.err |
8855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9876 | } && test -s conftest$ac_exeext && |
8856 | (eval $ac_try) 2>&5 | 9877 | $as_test_x conftest$ac_exeext; then |
8857 | ac_status=$? | ||
8858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8859 | (exit $ac_status); }; } && | ||
8860 | { ac_try='test -s conftest$ac_exeext' | ||
8861 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8862 | (eval $ac_try) 2>&5 | ||
8863 | ac_status=$? | ||
8864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8865 | (exit $ac_status); }; }; then | ||
8866 | ac_cv_func_getspnam=yes | 9878 | ac_cv_func_getspnam=yes |
8867 | else | 9879 | else |
8868 | echo "$as_me: failed program was:" >&5 | 9880 | echo "$as_me: failed program was:" >&5 |
8869 | sed 's/^/| /' conftest.$ac_ext >&5 | 9881 | sed 's/^/| /' conftest.$ac_ext >&5 |
8870 | 9882 | ||
8871 | ac_cv_func_getspnam=no | 9883 | ac_cv_func_getspnam=no |
8872 | fi | 9884 | fi |
8873 | rm -f conftest.err conftest.$ac_objext \ | 9885 | |
9886 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8874 | conftest$ac_exeext conftest.$ac_ext | 9887 | conftest$ac_exeext conftest.$ac_ext |
8875 | fi | 9888 | fi |
8876 | echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 | 9889 | { echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 |
8877 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6 | 9890 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6; } |
8878 | if test $ac_cv_func_getspnam = yes; then | 9891 | if test $ac_cv_func_getspnam = yes; then |
8879 | : | 9892 | : |
8880 | else | 9893 | else |
8881 | echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 | 9894 | { echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 |
8882 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 | 9895 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6; } |
8883 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then | 9896 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
8884 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9897 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8885 | else | 9898 | else |
@@ -8892,69 +9905,65 @@ cat confdefs.h >>conftest.$ac_ext | |||
8892 | cat >>conftest.$ac_ext <<_ACEOF | 9905 | cat >>conftest.$ac_ext <<_ACEOF |
8893 | /* end confdefs.h. */ | 9906 | /* end confdefs.h. */ |
8894 | 9907 | ||
8895 | /* Override any gcc2 internal prototype to avoid an error. */ | 9908 | /* Override any GCC internal prototype to avoid an error. |
9909 | Use char because int might match the return type of a GCC | ||
9910 | builtin and then its argument prototype would still apply. */ | ||
8896 | #ifdef __cplusplus | 9911 | #ifdef __cplusplus |
8897 | extern "C" | 9912 | extern "C" |
8898 | #endif | 9913 | #endif |
8899 | /* We use char because int might match the return type of a gcc2 | ||
8900 | builtin and then its argument prototype would still apply. */ | ||
8901 | char getspnam (); | 9914 | char getspnam (); |
8902 | int | 9915 | int |
8903 | main () | 9916 | main () |
8904 | { | 9917 | { |
8905 | getspnam (); | 9918 | return getspnam (); |
8906 | ; | 9919 | ; |
8907 | return 0; | 9920 | return 0; |
8908 | } | 9921 | } |
8909 | _ACEOF | 9922 | _ACEOF |
8910 | rm -f conftest.$ac_objext conftest$ac_exeext | 9923 | rm -f conftest.$ac_objext conftest$ac_exeext |
8911 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9924 | if { (ac_try="$ac_link" |
8912 | (eval $ac_link) 2>conftest.er1 | 9925 | case "(($ac_try" in |
9926 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9927 | *) ac_try_echo=$ac_try;; | ||
9928 | esac | ||
9929 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9930 | (eval "$ac_link") 2>conftest.er1 | ||
8913 | ac_status=$? | 9931 | ac_status=$? |
8914 | grep -v '^ *+' conftest.er1 >conftest.err | 9932 | grep -v '^ *+' conftest.er1 >conftest.err |
8915 | rm -f conftest.er1 | 9933 | rm -f conftest.er1 |
8916 | cat conftest.err >&5 | 9934 | cat conftest.err >&5 |
8917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8918 | (exit $ac_status); } && | 9936 | (exit $ac_status); } && { |
8919 | { ac_try='test -z "$ac_c_werror_flag" | 9937 | test -z "$ac_c_werror_flag" || |
8920 | || test ! -s conftest.err' | 9938 | test ! -s conftest.err |
8921 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9939 | } && test -s conftest$ac_exeext && |
8922 | (eval $ac_try) 2>&5 | 9940 | $as_test_x conftest$ac_exeext; then |
8923 | ac_status=$? | ||
8924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8925 | (exit $ac_status); }; } && | ||
8926 | { ac_try='test -s conftest$ac_exeext' | ||
8927 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8928 | (eval $ac_try) 2>&5 | ||
8929 | ac_status=$? | ||
8930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8931 | (exit $ac_status); }; }; then | ||
8932 | ac_cv_lib_gen_getspnam=yes | 9941 | ac_cv_lib_gen_getspnam=yes |
8933 | else | 9942 | else |
8934 | echo "$as_me: failed program was:" >&5 | 9943 | echo "$as_me: failed program was:" >&5 |
8935 | sed 's/^/| /' conftest.$ac_ext >&5 | 9944 | sed 's/^/| /' conftest.$ac_ext >&5 |
8936 | 9945 | ||
8937 | ac_cv_lib_gen_getspnam=no | 9946 | ac_cv_lib_gen_getspnam=no |
8938 | fi | 9947 | fi |
8939 | rm -f conftest.err conftest.$ac_objext \ | 9948 | |
9949 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8940 | conftest$ac_exeext conftest.$ac_ext | 9950 | conftest$ac_exeext conftest.$ac_ext |
8941 | LIBS=$ac_check_lib_save_LIBS | 9951 | LIBS=$ac_check_lib_save_LIBS |
8942 | fi | 9952 | fi |
8943 | echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 | 9953 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 |
8944 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 | 9954 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6; } |
8945 | if test $ac_cv_lib_gen_getspnam = yes; then | 9955 | if test $ac_cv_lib_gen_getspnam = yes; then |
8946 | LIBS="$LIBS -lgen" | 9956 | LIBS="$LIBS -lgen" |
8947 | fi | 9957 | fi |
8948 | 9958 | ||
8949 | fi | 9959 | fi |
8950 | 9960 | ||
8951 | echo "$as_me:$LINENO: checking for library containing basename" >&5 | 9961 | { echo "$as_me:$LINENO: checking for library containing basename" >&5 |
8952 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6 | 9962 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; } |
8953 | if test "${ac_cv_search_basename+set}" = set; then | 9963 | if test "${ac_cv_search_basename+set}" = set; then |
8954 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9964 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8955 | else | 9965 | else |
8956 | ac_func_search_save_LIBS=$LIBS | 9966 | ac_func_search_save_LIBS=$LIBS |
8957 | ac_cv_search_basename=no | ||
8958 | cat >conftest.$ac_ext <<_ACEOF | 9967 | cat >conftest.$ac_ext <<_ACEOF |
8959 | /* confdefs.h. */ | 9968 | /* confdefs.h. */ |
8960 | _ACEOF | 9969 | _ACEOF |
@@ -8962,115 +9971,73 @@ cat confdefs.h >>conftest.$ac_ext | |||
8962 | cat >>conftest.$ac_ext <<_ACEOF | 9971 | cat >>conftest.$ac_ext <<_ACEOF |
8963 | /* end confdefs.h. */ | 9972 | /* end confdefs.h. */ |
8964 | 9973 | ||
8965 | /* Override any gcc2 internal prototype to avoid an error. */ | 9974 | /* Override any GCC internal prototype to avoid an error. |
9975 | Use char because int might match the return type of a GCC | ||
9976 | builtin and then its argument prototype would still apply. */ | ||
8966 | #ifdef __cplusplus | 9977 | #ifdef __cplusplus |
8967 | extern "C" | 9978 | extern "C" |
8968 | #endif | 9979 | #endif |
8969 | /* We use char because int might match the return type of a gcc2 | ||
8970 | builtin and then its argument prototype would still apply. */ | ||
8971 | char basename (); | 9980 | char basename (); |
8972 | int | 9981 | int |
8973 | main () | 9982 | main () |
8974 | { | 9983 | { |
8975 | basename (); | 9984 | return basename (); |
8976 | ; | 9985 | ; |
8977 | return 0; | 9986 | return 0; |
8978 | } | 9987 | } |
8979 | _ACEOF | 9988 | _ACEOF |
8980 | rm -f conftest.$ac_objext conftest$ac_exeext | 9989 | for ac_lib in '' gen; do |
8981 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9990 | if test -z "$ac_lib"; then |
8982 | (eval $ac_link) 2>conftest.er1 | 9991 | ac_res="none required" |
9992 | else | ||
9993 | ac_res=-l$ac_lib | ||
9994 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
9995 | fi | ||
9996 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9997 | if { (ac_try="$ac_link" | ||
9998 | case "(($ac_try" in | ||
9999 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10000 | *) ac_try_echo=$ac_try;; | ||
10001 | esac | ||
10002 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10003 | (eval "$ac_link") 2>conftest.er1 | ||
8983 | ac_status=$? | 10004 | ac_status=$? |
8984 | grep -v '^ *+' conftest.er1 >conftest.err | 10005 | grep -v '^ *+' conftest.er1 >conftest.err |
8985 | rm -f conftest.er1 | 10006 | rm -f conftest.er1 |
8986 | cat conftest.err >&5 | 10007 | cat conftest.err >&5 |
8987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8988 | (exit $ac_status); } && | 10009 | (exit $ac_status); } && { |
8989 | { ac_try='test -z "$ac_c_werror_flag" | 10010 | test -z "$ac_c_werror_flag" || |
8990 | || test ! -s conftest.err' | 10011 | test ! -s conftest.err |
8991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10012 | } && test -s conftest$ac_exeext && |
8992 | (eval $ac_try) 2>&5 | 10013 | $as_test_x conftest$ac_exeext; then |
8993 | ac_status=$? | 10014 | ac_cv_search_basename=$ac_res |
8994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8995 | (exit $ac_status); }; } && | ||
8996 | { ac_try='test -s conftest$ac_exeext' | ||
8997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8998 | (eval $ac_try) 2>&5 | ||
8999 | ac_status=$? | ||
9000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9001 | (exit $ac_status); }; }; then | ||
9002 | ac_cv_search_basename="none required" | ||
9003 | else | 10015 | else |
9004 | echo "$as_me: failed program was:" >&5 | 10016 | echo "$as_me: failed program was:" >&5 |
9005 | sed 's/^/| /' conftest.$ac_ext >&5 | 10017 | sed 's/^/| /' conftest.$ac_ext >&5 |
9006 | 10018 | ||
9007 | fi | ||
9008 | rm -f conftest.err conftest.$ac_objext \ | ||
9009 | conftest$ac_exeext conftest.$ac_ext | ||
9010 | if test "$ac_cv_search_basename" = no; then | ||
9011 | for ac_lib in gen; do | ||
9012 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
9013 | cat >conftest.$ac_ext <<_ACEOF | ||
9014 | /* confdefs.h. */ | ||
9015 | _ACEOF | ||
9016 | cat confdefs.h >>conftest.$ac_ext | ||
9017 | cat >>conftest.$ac_ext <<_ACEOF | ||
9018 | /* end confdefs.h. */ | ||
9019 | 10019 | ||
9020 | /* Override any gcc2 internal prototype to avoid an error. */ | 10020 | fi |
9021 | #ifdef __cplusplus | ||
9022 | extern "C" | ||
9023 | #endif | ||
9024 | /* We use char because int might match the return type of a gcc2 | ||
9025 | builtin and then its argument prototype would still apply. */ | ||
9026 | char basename (); | ||
9027 | int | ||
9028 | main () | ||
9029 | { | ||
9030 | basename (); | ||
9031 | ; | ||
9032 | return 0; | ||
9033 | } | ||
9034 | _ACEOF | ||
9035 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9036 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9037 | (eval $ac_link) 2>conftest.er1 | ||
9038 | ac_status=$? | ||
9039 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9040 | rm -f conftest.er1 | ||
9041 | cat conftest.err >&5 | ||
9042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9043 | (exit $ac_status); } && | ||
9044 | { ac_try='test -z "$ac_c_werror_flag" | ||
9045 | || test ! -s conftest.err' | ||
9046 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9047 | (eval $ac_try) 2>&5 | ||
9048 | ac_status=$? | ||
9049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9050 | (exit $ac_status); }; } && | ||
9051 | { ac_try='test -s conftest$ac_exeext' | ||
9052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9053 | (eval $ac_try) 2>&5 | ||
9054 | ac_status=$? | ||
9055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9056 | (exit $ac_status); }; }; then | ||
9057 | ac_cv_search_basename="-l$ac_lib" | ||
9058 | break | ||
9059 | else | ||
9060 | echo "$as_me: failed program was:" >&5 | ||
9061 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9062 | 10021 | ||
10022 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10023 | conftest$ac_exeext | ||
10024 | if test "${ac_cv_search_basename+set}" = set; then | ||
10025 | break | ||
9063 | fi | 10026 | fi |
9064 | rm -f conftest.err conftest.$ac_objext \ | 10027 | done |
9065 | conftest$ac_exeext conftest.$ac_ext | 10028 | if test "${ac_cv_search_basename+set}" = set; then |
9066 | done | 10029 | : |
10030 | else | ||
10031 | ac_cv_search_basename=no | ||
9067 | fi | 10032 | fi |
10033 | rm conftest.$ac_ext | ||
9068 | LIBS=$ac_func_search_save_LIBS | 10034 | LIBS=$ac_func_search_save_LIBS |
9069 | fi | 10035 | fi |
9070 | echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 | 10036 | { echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 |
9071 | echo "${ECHO_T}$ac_cv_search_basename" >&6 | 10037 | echo "${ECHO_T}$ac_cv_search_basename" >&6; } |
9072 | if test "$ac_cv_search_basename" != no; then | 10038 | ac_res=$ac_cv_search_basename |
9073 | test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" | 10039 | if test "$ac_res" != no; then |
10040 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
9074 | 10041 | ||
9075 | cat >>confdefs.h <<\_ACEOF | 10042 | cat >>confdefs.h <<\_ACEOF |
9076 | #define HAVE_BASENAME 1 | 10043 | #define HAVE_BASENAME 1 |
@@ -9080,10 +10047,9 @@ fi | |||
9080 | 10047 | ||
9081 | 10048 | ||
9082 | 10049 | ||
9083 | # Check whether --with-zlib or --without-zlib was given. | 10050 | # Check whether --with-zlib was given. |
9084 | if test "${with_zlib+set}" = set; then | 10051 | if test "${with_zlib+set}" = set; then |
9085 | withval="$with_zlib" | 10052 | withval=$with_zlib; if test "x$withval" = "xno" ; then |
9086 | if test "x$withval" = "xno" ; then | ||
9087 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 | 10053 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 |
9088 | echo "$as_me: error: *** zlib is required ***" >&2;} | 10054 | echo "$as_me: error: *** zlib is required ***" >&2;} |
9089 | { (exit 1); exit 1; }; } | 10055 | { (exit 1); exit 1; }; } |
@@ -9108,11 +10074,12 @@ echo "$as_me: error: *** zlib is required ***" >&2;} | |||
9108 | fi | 10074 | fi |
9109 | fi | 10075 | fi |
9110 | 10076 | ||
9111 | fi; | 10077 | fi |
10078 | |||
9112 | 10079 | ||
9113 | 10080 | ||
9114 | echo "$as_me:$LINENO: checking for deflate in -lz" >&5 | 10081 | { echo "$as_me:$LINENO: checking for deflate in -lz" >&5 |
9115 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 | 10082 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; } |
9116 | if test "${ac_cv_lib_z_deflate+set}" = set; then | 10083 | if test "${ac_cv_lib_z_deflate+set}" = set; then |
9117 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10084 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9118 | else | 10085 | else |
@@ -9125,56 +10092,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
9125 | cat >>conftest.$ac_ext <<_ACEOF | 10092 | cat >>conftest.$ac_ext <<_ACEOF |
9126 | /* end confdefs.h. */ | 10093 | /* end confdefs.h. */ |
9127 | 10094 | ||
9128 | /* Override any gcc2 internal prototype to avoid an error. */ | 10095 | /* Override any GCC internal prototype to avoid an error. |
10096 | Use char because int might match the return type of a GCC | ||
10097 | builtin and then its argument prototype would still apply. */ | ||
9129 | #ifdef __cplusplus | 10098 | #ifdef __cplusplus |
9130 | extern "C" | 10099 | extern "C" |
9131 | #endif | 10100 | #endif |
9132 | /* We use char because int might match the return type of a gcc2 | ||
9133 | builtin and then its argument prototype would still apply. */ | ||
9134 | char deflate (); | 10101 | char deflate (); |
9135 | int | 10102 | int |
9136 | main () | 10103 | main () |
9137 | { | 10104 | { |
9138 | deflate (); | 10105 | return deflate (); |
9139 | ; | 10106 | ; |
9140 | return 0; | 10107 | return 0; |
9141 | } | 10108 | } |
9142 | _ACEOF | 10109 | _ACEOF |
9143 | rm -f conftest.$ac_objext conftest$ac_exeext | 10110 | rm -f conftest.$ac_objext conftest$ac_exeext |
9144 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10111 | if { (ac_try="$ac_link" |
9145 | (eval $ac_link) 2>conftest.er1 | 10112 | case "(($ac_try" in |
10113 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10114 | *) ac_try_echo=$ac_try;; | ||
10115 | esac | ||
10116 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10117 | (eval "$ac_link") 2>conftest.er1 | ||
9146 | ac_status=$? | 10118 | ac_status=$? |
9147 | grep -v '^ *+' conftest.er1 >conftest.err | 10119 | grep -v '^ *+' conftest.er1 >conftest.err |
9148 | rm -f conftest.er1 | 10120 | rm -f conftest.er1 |
9149 | cat conftest.err >&5 | 10121 | cat conftest.err >&5 |
9150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9151 | (exit $ac_status); } && | 10123 | (exit $ac_status); } && { |
9152 | { ac_try='test -z "$ac_c_werror_flag" | 10124 | test -z "$ac_c_werror_flag" || |
9153 | || test ! -s conftest.err' | 10125 | test ! -s conftest.err |
9154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10126 | } && test -s conftest$ac_exeext && |
9155 | (eval $ac_try) 2>&5 | 10127 | $as_test_x conftest$ac_exeext; then |
9156 | ac_status=$? | ||
9157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9158 | (exit $ac_status); }; } && | ||
9159 | { ac_try='test -s conftest$ac_exeext' | ||
9160 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9161 | (eval $ac_try) 2>&5 | ||
9162 | ac_status=$? | ||
9163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9164 | (exit $ac_status); }; }; then | ||
9165 | ac_cv_lib_z_deflate=yes | 10128 | ac_cv_lib_z_deflate=yes |
9166 | else | 10129 | else |
9167 | echo "$as_me: failed program was:" >&5 | 10130 | echo "$as_me: failed program was:" >&5 |
9168 | sed 's/^/| /' conftest.$ac_ext >&5 | 10131 | sed 's/^/| /' conftest.$ac_ext >&5 |
9169 | 10132 | ||
9170 | ac_cv_lib_z_deflate=no | 10133 | ac_cv_lib_z_deflate=no |
9171 | fi | 10134 | fi |
9172 | rm -f conftest.err conftest.$ac_objext \ | 10135 | |
10136 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
9173 | conftest$ac_exeext conftest.$ac_ext | 10137 | conftest$ac_exeext conftest.$ac_ext |
9174 | LIBS=$ac_check_lib_save_LIBS | 10138 | LIBS=$ac_check_lib_save_LIBS |
9175 | fi | 10139 | fi |
9176 | echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 | 10140 | { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 |
9177 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 | 10141 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; } |
9178 | if test $ac_cv_lib_z_deflate = yes; then | 10142 | if test $ac_cv_lib_z_deflate = yes; then |
9179 | cat >>confdefs.h <<_ACEOF | 10143 | cat >>confdefs.h <<_ACEOF |
9180 | #define HAVE_LIBZ 1 | 10144 | #define HAVE_LIBZ 1 |
@@ -9201,43 +10165,39 @@ cat confdefs.h >>conftest.$ac_ext | |||
9201 | cat >>conftest.$ac_ext <<_ACEOF | 10165 | cat >>conftest.$ac_ext <<_ACEOF |
9202 | /* end confdefs.h. */ | 10166 | /* end confdefs.h. */ |
9203 | 10167 | ||
9204 | /* Override any gcc2 internal prototype to avoid an error. */ | 10168 | /* Override any GCC internal prototype to avoid an error. |
10169 | Use char because int might match the return type of a GCC | ||
10170 | builtin and then its argument prototype would still apply. */ | ||
9205 | #ifdef __cplusplus | 10171 | #ifdef __cplusplus |
9206 | extern "C" | 10172 | extern "C" |
9207 | #endif | 10173 | #endif |
9208 | /* We use char because int might match the return type of a gcc2 | ||
9209 | builtin and then its argument prototype would still apply. */ | ||
9210 | char deflate (); | 10174 | char deflate (); |
9211 | int | 10175 | int |
9212 | main () | 10176 | main () |
9213 | { | 10177 | { |
9214 | deflate (); | 10178 | return deflate (); |
9215 | ; | 10179 | ; |
9216 | return 0; | 10180 | return 0; |
9217 | } | 10181 | } |
9218 | _ACEOF | 10182 | _ACEOF |
9219 | rm -f conftest.$ac_objext conftest$ac_exeext | 10183 | rm -f conftest.$ac_objext conftest$ac_exeext |
9220 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10184 | if { (ac_try="$ac_link" |
9221 | (eval $ac_link) 2>conftest.er1 | 10185 | case "(($ac_try" in |
10186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10187 | *) ac_try_echo=$ac_try;; | ||
10188 | esac | ||
10189 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10190 | (eval "$ac_link") 2>conftest.er1 | ||
9222 | ac_status=$? | 10191 | ac_status=$? |
9223 | grep -v '^ *+' conftest.er1 >conftest.err | 10192 | grep -v '^ *+' conftest.er1 >conftest.err |
9224 | rm -f conftest.er1 | 10193 | rm -f conftest.er1 |
9225 | cat conftest.err >&5 | 10194 | cat conftest.err >&5 |
9226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9227 | (exit $ac_status); } && | 10196 | (exit $ac_status); } && { |
9228 | { ac_try='test -z "$ac_c_werror_flag" | 10197 | test -z "$ac_c_werror_flag" || |
9229 | || test ! -s conftest.err' | 10198 | test ! -s conftest.err |
9230 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10199 | } && test -s conftest$ac_exeext && |
9231 | (eval $ac_try) 2>&5 | 10200 | $as_test_x conftest$ac_exeext; then |
9232 | ac_status=$? | ||
9233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9234 | (exit $ac_status); }; } && | ||
9235 | { ac_try='test -s conftest$ac_exeext' | ||
9236 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9237 | (eval $ac_try) 2>&5 | ||
9238 | ac_status=$? | ||
9239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9240 | (exit $ac_status); }; }; then | ||
9241 | cat >>confdefs.h <<\_ACEOF | 10201 | cat >>confdefs.h <<\_ACEOF |
9242 | #define HAVE_LIBZ 1 | 10202 | #define HAVE_LIBZ 1 |
9243 | _ACEOF | 10203 | _ACEOF |
@@ -9253,24 +10213,25 @@ echo "$as_me: error: *** zlib missing - please install first or check config.log | |||
9253 | 10213 | ||
9254 | 10214 | ||
9255 | fi | 10215 | fi |
9256 | rm -f conftest.err conftest.$ac_objext \ | 10216 | |
10217 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
9257 | conftest$ac_exeext conftest.$ac_ext | 10218 | conftest$ac_exeext conftest.$ac_ext |
9258 | 10219 | ||
9259 | 10220 | ||
9260 | fi | 10221 | fi |
9261 | 10222 | ||
9262 | if test "${ac_cv_header_zlib_h+set}" = set; then | 10223 | if test "${ac_cv_header_zlib_h+set}" = set; then |
9263 | echo "$as_me:$LINENO: checking for zlib.h" >&5 | 10224 | { echo "$as_me:$LINENO: checking for zlib.h" >&5 |
9264 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | 10225 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
9265 | if test "${ac_cv_header_zlib_h+set}" = set; then | 10226 | if test "${ac_cv_header_zlib_h+set}" = set; then |
9266 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10227 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9267 | fi | 10228 | fi |
9268 | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | 10229 | { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
9269 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | 10230 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
9270 | else | 10231 | else |
9271 | # Is the header compilable? | 10232 | # Is the header compilable? |
9272 | echo "$as_me:$LINENO: checking zlib.h usability" >&5 | 10233 | { echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
9273 | echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 | 10234 | echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } |
9274 | cat >conftest.$ac_ext <<_ACEOF | 10235 | cat >conftest.$ac_ext <<_ACEOF |
9275 | /* confdefs.h. */ | 10236 | /* confdefs.h. */ |
9276 | _ACEOF | 10237 | _ACEOF |
@@ -9281,41 +10242,37 @@ $ac_includes_default | |||
9281 | #include <zlib.h> | 10242 | #include <zlib.h> |
9282 | _ACEOF | 10243 | _ACEOF |
9283 | rm -f conftest.$ac_objext | 10244 | rm -f conftest.$ac_objext |
9284 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10245 | if { (ac_try="$ac_compile" |
9285 | (eval $ac_compile) 2>conftest.er1 | 10246 | case "(($ac_try" in |
10247 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10248 | *) ac_try_echo=$ac_try;; | ||
10249 | esac | ||
10250 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10251 | (eval "$ac_compile") 2>conftest.er1 | ||
9286 | ac_status=$? | 10252 | ac_status=$? |
9287 | grep -v '^ *+' conftest.er1 >conftest.err | 10253 | grep -v '^ *+' conftest.er1 >conftest.err |
9288 | rm -f conftest.er1 | 10254 | rm -f conftest.er1 |
9289 | cat conftest.err >&5 | 10255 | cat conftest.err >&5 |
9290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9291 | (exit $ac_status); } && | 10257 | (exit $ac_status); } && { |
9292 | { ac_try='test -z "$ac_c_werror_flag" | 10258 | test -z "$ac_c_werror_flag" || |
9293 | || test ! -s conftest.err' | 10259 | test ! -s conftest.err |
9294 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10260 | } && test -s conftest.$ac_objext; then |
9295 | (eval $ac_try) 2>&5 | ||
9296 | ac_status=$? | ||
9297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9298 | (exit $ac_status); }; } && | ||
9299 | { ac_try='test -s conftest.$ac_objext' | ||
9300 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9301 | (eval $ac_try) 2>&5 | ||
9302 | ac_status=$? | ||
9303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9304 | (exit $ac_status); }; }; then | ||
9305 | ac_header_compiler=yes | 10261 | ac_header_compiler=yes |
9306 | else | 10262 | else |
9307 | echo "$as_me: failed program was:" >&5 | 10263 | echo "$as_me: failed program was:" >&5 |
9308 | sed 's/^/| /' conftest.$ac_ext >&5 | 10264 | sed 's/^/| /' conftest.$ac_ext >&5 |
9309 | 10265 | ||
9310 | ac_header_compiler=no | 10266 | ac_header_compiler=no |
9311 | fi | 10267 | fi |
9312 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 10268 | |
9313 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 10269 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9314 | echo "${ECHO_T}$ac_header_compiler" >&6 | 10270 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10271 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
9315 | 10272 | ||
9316 | # Is the header present? | 10273 | # Is the header present? |
9317 | echo "$as_me:$LINENO: checking zlib.h presence" >&5 | 10274 | { echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
9318 | echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 | 10275 | echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } |
9319 | cat >conftest.$ac_ext <<_ACEOF | 10276 | cat >conftest.$ac_ext <<_ACEOF |
9320 | /* confdefs.h. */ | 10277 | /* confdefs.h. */ |
9321 | _ACEOF | 10278 | _ACEOF |
@@ -9324,24 +10281,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
9324 | /* end confdefs.h. */ | 10281 | /* end confdefs.h. */ |
9325 | #include <zlib.h> | 10282 | #include <zlib.h> |
9326 | _ACEOF | 10283 | _ACEOF |
9327 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10284 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9328 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10285 | case "(($ac_try" in |
10286 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10287 | *) ac_try_echo=$ac_try;; | ||
10288 | esac | ||
10289 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10290 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
9329 | ac_status=$? | 10291 | ac_status=$? |
9330 | grep -v '^ *+' conftest.er1 >conftest.err | 10292 | grep -v '^ *+' conftest.er1 >conftest.err |
9331 | rm -f conftest.er1 | 10293 | rm -f conftest.er1 |
9332 | cat conftest.err >&5 | 10294 | cat conftest.err >&5 |
9333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9334 | (exit $ac_status); } >/dev/null; then | 10296 | (exit $ac_status); } >/dev/null && { |
9335 | if test -s conftest.err; then | 10297 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
9336 | ac_cpp_err=$ac_c_preproc_warn_flag | 10298 | test ! -s conftest.err |
9337 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 10299 | }; then |
9338 | else | ||
9339 | ac_cpp_err= | ||
9340 | fi | ||
9341 | else | ||
9342 | ac_cpp_err=yes | ||
9343 | fi | ||
9344 | if test -z "$ac_cpp_err"; then | ||
9345 | ac_header_preproc=yes | 10300 | ac_header_preproc=yes |
9346 | else | 10301 | else |
9347 | echo "$as_me: failed program was:" >&5 | 10302 | echo "$as_me: failed program was:" >&5 |
@@ -9349,9 +10304,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
9349 | 10304 | ||
9350 | ac_header_preproc=no | 10305 | ac_header_preproc=no |
9351 | fi | 10306 | fi |
10307 | |||
9352 | rm -f conftest.err conftest.$ac_ext | 10308 | rm -f conftest.err conftest.$ac_ext |
9353 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 10309 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9354 | echo "${ECHO_T}$ac_header_preproc" >&6 | 10310 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9355 | 10311 | ||
9356 | # So? What about this header? | 10312 | # So? What about this header? |
9357 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 10313 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -9375,25 +10331,23 @@ echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" > | |||
9375 | echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | 10331 | echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
9376 | { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 | 10332 | { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
9377 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} | 10333 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
9378 | ( | 10334 | ( cat <<\_ASBOX |
9379 | cat <<\_ASBOX | ||
9380 | ## ------------------------------------------- ## | 10335 | ## ------------------------------------------- ## |
9381 | ## Report this to openssh-unix-dev@mindrot.org ## | 10336 | ## Report this to openssh-unix-dev@mindrot.org ## |
9382 | ## ------------------------------------------- ## | 10337 | ## ------------------------------------------- ## |
9383 | _ASBOX | 10338 | _ASBOX |
9384 | ) | | 10339 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
9385 | sed "s/^/$as_me: WARNING: /" >&2 | ||
9386 | ;; | 10340 | ;; |
9387 | esac | 10341 | esac |
9388 | echo "$as_me:$LINENO: checking for zlib.h" >&5 | 10342 | { echo "$as_me:$LINENO: checking for zlib.h" >&5 |
9389 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 | 10343 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
9390 | if test "${ac_cv_header_zlib_h+set}" = set; then | 10344 | if test "${ac_cv_header_zlib_h+set}" = set; then |
9391 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10345 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9392 | else | 10346 | else |
9393 | ac_cv_header_zlib_h=$ac_header_preproc | 10347 | ac_cv_header_zlib_h=$ac_header_preproc |
9394 | fi | 10348 | fi |
9395 | echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | 10349 | { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
9396 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 | 10350 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
9397 | 10351 | ||
9398 | fi | 10352 | fi |
9399 | if test $ac_cv_header_zlib_h = yes; then | 10353 | if test $ac_cv_header_zlib_h = yes; then |
@@ -9407,18 +10361,18 @@ fi | |||
9407 | 10361 | ||
9408 | 10362 | ||
9409 | 10363 | ||
9410 | # Check whether --with-zlib-version-check or --without-zlib-version-check was given. | 10364 | # Check whether --with-zlib-version-check was given. |
9411 | if test "${with_zlib_version_check+set}" = set; then | 10365 | if test "${with_zlib_version_check+set}" = set; then |
9412 | withval="$with_zlib_version_check" | 10366 | withval=$with_zlib_version_check; if test "x$withval" = "xno" ; then |
9413 | if test "x$withval" = "xno" ; then | ||
9414 | zlib_check_nonfatal=1 | 10367 | zlib_check_nonfatal=1 |
9415 | fi | 10368 | fi |
9416 | 10369 | ||
9417 | 10370 | ||
9418 | fi; | 10371 | fi |
10372 | |||
9419 | 10373 | ||
9420 | echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5 | 10374 | { echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5 |
9421 | echo $ECHO_N "checking for possibly buggy zlib... $ECHO_C" >&6 | 10375 | echo $ECHO_N "checking for possibly buggy zlib... $ECHO_C" >&6; } |
9422 | if test "$cross_compiling" = yes; then | 10376 | if test "$cross_compiling" = yes; then |
9423 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5 | 10377 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5 |
9424 | echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} | 10378 | echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} |
@@ -9455,26 +10409,35 @@ int main() | |||
9455 | 10409 | ||
9456 | _ACEOF | 10410 | _ACEOF |
9457 | rm -f conftest$ac_exeext | 10411 | rm -f conftest$ac_exeext |
9458 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10412 | if { (ac_try="$ac_link" |
9459 | (eval $ac_link) 2>&5 | 10413 | case "(($ac_try" in |
10414 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10415 | *) ac_try_echo=$ac_try;; | ||
10416 | esac | ||
10417 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10418 | (eval "$ac_link") 2>&5 | ||
9460 | ac_status=$? | 10419 | ac_status=$? |
9461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9462 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 10421 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9463 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10422 | { (case "(($ac_try" in |
9464 | (eval $ac_try) 2>&5 | 10423 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10424 | *) ac_try_echo=$ac_try;; | ||
10425 | esac | ||
10426 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10427 | (eval "$ac_try") 2>&5 | ||
9465 | ac_status=$? | 10428 | ac_status=$? |
9466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9467 | (exit $ac_status); }; }; then | 10430 | (exit $ac_status); }; }; then |
9468 | echo "$as_me:$LINENO: result: no" >&5 | 10431 | { echo "$as_me:$LINENO: result: no" >&5 |
9469 | echo "${ECHO_T}no" >&6 | 10432 | echo "${ECHO_T}no" >&6; } |
9470 | else | 10433 | else |
9471 | echo "$as_me: program exited with status $ac_status" >&5 | 10434 | echo "$as_me: program exited with status $ac_status" >&5 |
9472 | echo "$as_me: failed program was:" >&5 | 10435 | echo "$as_me: failed program was:" >&5 |
9473 | sed 's/^/| /' conftest.$ac_ext >&5 | 10436 | sed 's/^/| /' conftest.$ac_ext >&5 |
9474 | 10437 | ||
9475 | ( exit $ac_status ) | 10438 | ( exit $ac_status ) |
9476 | echo "$as_me:$LINENO: result: yes" >&5 | 10439 | { echo "$as_me:$LINENO: result: yes" >&5 |
9477 | echo "${ECHO_T}yes" >&6 | 10440 | echo "${ECHO_T}yes" >&6; } |
9478 | if test -z "$zlib_check_nonfatal" ; then | 10441 | if test -z "$zlib_check_nonfatal" ; then |
9479 | { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log *** | 10442 | { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log *** |
9480 | Your reported zlib version has known security problems. It's possible your | 10443 | Your reported zlib version has known security problems. It's possible your |
@@ -9497,11 +10460,13 @@ echo "$as_me: WARNING: zlib version may have security problems" >&2;} | |||
9497 | fi | 10460 | fi |
9498 | 10461 | ||
9499 | fi | 10462 | fi |
9500 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10463 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9501 | fi | 10464 | fi |
9502 | 10465 | ||
9503 | echo "$as_me:$LINENO: checking for strcasecmp" >&5 | 10466 | |
9504 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 | 10467 | |
10468 | { echo "$as_me:$LINENO: checking for strcasecmp" >&5 | ||
10469 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; } | ||
9505 | if test "${ac_cv_func_strcasecmp+set}" = set; then | 10470 | if test "${ac_cv_func_strcasecmp+set}" = set; then |
9506 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10471 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9507 | else | 10472 | else |
@@ -9528,73 +10493,64 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
9528 | 10493 | ||
9529 | #undef strcasecmp | 10494 | #undef strcasecmp |
9530 | 10495 | ||
9531 | /* Override any gcc2 internal prototype to avoid an error. */ | 10496 | /* Override any GCC internal prototype to avoid an error. |
10497 | Use char because int might match the return type of a GCC | ||
10498 | builtin and then its argument prototype would still apply. */ | ||
9532 | #ifdef __cplusplus | 10499 | #ifdef __cplusplus |
9533 | extern "C" | 10500 | extern "C" |
9534 | { | ||
9535 | #endif | 10501 | #endif |
9536 | /* We use char because int might match the return type of a gcc2 | ||
9537 | builtin and then its argument prototype would still apply. */ | ||
9538 | char strcasecmp (); | 10502 | char strcasecmp (); |
9539 | /* The GNU C library defines this for functions which it implements | 10503 | /* The GNU C library defines this for functions which it implements |
9540 | to always fail with ENOSYS. Some functions are actually named | 10504 | to always fail with ENOSYS. Some functions are actually named |
9541 | something starting with __ and the normal name is an alias. */ | 10505 | something starting with __ and the normal name is an alias. */ |
9542 | #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) | 10506 | #if defined __stub_strcasecmp || defined __stub___strcasecmp |
9543 | choke me | 10507 | choke me |
9544 | #else | ||
9545 | char (*f) () = strcasecmp; | ||
9546 | #endif | ||
9547 | #ifdef __cplusplus | ||
9548 | } | ||
9549 | #endif | 10508 | #endif |
9550 | 10509 | ||
9551 | int | 10510 | int |
9552 | main () | 10511 | main () |
9553 | { | 10512 | { |
9554 | return f != strcasecmp; | 10513 | return strcasecmp (); |
9555 | ; | 10514 | ; |
9556 | return 0; | 10515 | return 0; |
9557 | } | 10516 | } |
9558 | _ACEOF | 10517 | _ACEOF |
9559 | rm -f conftest.$ac_objext conftest$ac_exeext | 10518 | rm -f conftest.$ac_objext conftest$ac_exeext |
9560 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10519 | if { (ac_try="$ac_link" |
9561 | (eval $ac_link) 2>conftest.er1 | 10520 | case "(($ac_try" in |
10521 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10522 | *) ac_try_echo=$ac_try;; | ||
10523 | esac | ||
10524 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10525 | (eval "$ac_link") 2>conftest.er1 | ||
9562 | ac_status=$? | 10526 | ac_status=$? |
9563 | grep -v '^ *+' conftest.er1 >conftest.err | 10527 | grep -v '^ *+' conftest.er1 >conftest.err |
9564 | rm -f conftest.er1 | 10528 | rm -f conftest.er1 |
9565 | cat conftest.err >&5 | 10529 | cat conftest.err >&5 |
9566 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9567 | (exit $ac_status); } && | 10531 | (exit $ac_status); } && { |
9568 | { ac_try='test -z "$ac_c_werror_flag" | 10532 | test -z "$ac_c_werror_flag" || |
9569 | || test ! -s conftest.err' | 10533 | test ! -s conftest.err |
9570 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10534 | } && test -s conftest$ac_exeext && |
9571 | (eval $ac_try) 2>&5 | 10535 | $as_test_x conftest$ac_exeext; then |
9572 | ac_status=$? | ||
9573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9574 | (exit $ac_status); }; } && | ||
9575 | { ac_try='test -s conftest$ac_exeext' | ||
9576 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9577 | (eval $ac_try) 2>&5 | ||
9578 | ac_status=$? | ||
9579 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9580 | (exit $ac_status); }; }; then | ||
9581 | ac_cv_func_strcasecmp=yes | 10536 | ac_cv_func_strcasecmp=yes |
9582 | else | 10537 | else |
9583 | echo "$as_me: failed program was:" >&5 | 10538 | echo "$as_me: failed program was:" >&5 |
9584 | sed 's/^/| /' conftest.$ac_ext >&5 | 10539 | sed 's/^/| /' conftest.$ac_ext >&5 |
9585 | 10540 | ||
9586 | ac_cv_func_strcasecmp=no | 10541 | ac_cv_func_strcasecmp=no |
9587 | fi | 10542 | fi |
9588 | rm -f conftest.err conftest.$ac_objext \ | 10543 | |
10544 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
9589 | conftest$ac_exeext conftest.$ac_ext | 10545 | conftest$ac_exeext conftest.$ac_ext |
9590 | fi | 10546 | fi |
9591 | echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 | 10547 | { echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 |
9592 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 | 10548 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; } |
9593 | if test $ac_cv_func_strcasecmp = yes; then | 10549 | if test $ac_cv_func_strcasecmp = yes; then |
9594 | : | 10550 | : |
9595 | else | 10551 | else |
9596 | echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 | 10552 | { echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 |
9597 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 | 10553 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6; } |
9598 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then | 10554 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then |
9599 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10555 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9600 | else | 10556 | else |
@@ -9607,56 +10563,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
9607 | cat >>conftest.$ac_ext <<_ACEOF | 10563 | cat >>conftest.$ac_ext <<_ACEOF |
9608 | /* end confdefs.h. */ | 10564 | /* end confdefs.h. */ |
9609 | 10565 | ||
9610 | /* Override any gcc2 internal prototype to avoid an error. */ | 10566 | /* Override any GCC internal prototype to avoid an error. |
10567 | Use char because int might match the return type of a GCC | ||
10568 | builtin and then its argument prototype would still apply. */ | ||
9611 | #ifdef __cplusplus | 10569 | #ifdef __cplusplus |
9612 | extern "C" | 10570 | extern "C" |
9613 | #endif | 10571 | #endif |
9614 | /* We use char because int might match the return type of a gcc2 | ||
9615 | builtin and then its argument prototype would still apply. */ | ||
9616 | char strcasecmp (); | 10572 | char strcasecmp (); |
9617 | int | 10573 | int |
9618 | main () | 10574 | main () |
9619 | { | 10575 | { |
9620 | strcasecmp (); | 10576 | return strcasecmp (); |
9621 | ; | 10577 | ; |
9622 | return 0; | 10578 | return 0; |
9623 | } | 10579 | } |
9624 | _ACEOF | 10580 | _ACEOF |
9625 | rm -f conftest.$ac_objext conftest$ac_exeext | 10581 | rm -f conftest.$ac_objext conftest$ac_exeext |
9626 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10582 | if { (ac_try="$ac_link" |
9627 | (eval $ac_link) 2>conftest.er1 | 10583 | case "(($ac_try" in |
10584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10585 | *) ac_try_echo=$ac_try;; | ||
10586 | esac | ||
10587 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10588 | (eval "$ac_link") 2>conftest.er1 | ||
9628 | ac_status=$? | 10589 | ac_status=$? |
9629 | grep -v '^ *+' conftest.er1 >conftest.err | 10590 | grep -v '^ *+' conftest.er1 >conftest.err |
9630 | rm -f conftest.er1 | 10591 | rm -f conftest.er1 |
9631 | cat conftest.err >&5 | 10592 | cat conftest.err >&5 |
9632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9633 | (exit $ac_status); } && | 10594 | (exit $ac_status); } && { |
9634 | { ac_try='test -z "$ac_c_werror_flag" | 10595 | test -z "$ac_c_werror_flag" || |
9635 | || test ! -s conftest.err' | 10596 | test ! -s conftest.err |
9636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10597 | } && test -s conftest$ac_exeext && |
9637 | (eval $ac_try) 2>&5 | 10598 | $as_test_x conftest$ac_exeext; then |
9638 | ac_status=$? | ||
9639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9640 | (exit $ac_status); }; } && | ||
9641 | { ac_try='test -s conftest$ac_exeext' | ||
9642 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9643 | (eval $ac_try) 2>&5 | ||
9644 | ac_status=$? | ||
9645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9646 | (exit $ac_status); }; }; then | ||
9647 | ac_cv_lib_resolv_strcasecmp=yes | 10599 | ac_cv_lib_resolv_strcasecmp=yes |
9648 | else | 10600 | else |
9649 | echo "$as_me: failed program was:" >&5 | 10601 | echo "$as_me: failed program was:" >&5 |
9650 | sed 's/^/| /' conftest.$ac_ext >&5 | 10602 | sed 's/^/| /' conftest.$ac_ext >&5 |
9651 | 10603 | ||
9652 | ac_cv_lib_resolv_strcasecmp=no | 10604 | ac_cv_lib_resolv_strcasecmp=no |
9653 | fi | 10605 | fi |
9654 | rm -f conftest.err conftest.$ac_objext \ | 10606 | |
10607 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
9655 | conftest$ac_exeext conftest.$ac_ext | 10608 | conftest$ac_exeext conftest.$ac_ext |
9656 | LIBS=$ac_check_lib_save_LIBS | 10609 | LIBS=$ac_check_lib_save_LIBS |
9657 | fi | 10610 | fi |
9658 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 | 10611 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 |
9659 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 | 10612 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6; } |
9660 | if test $ac_cv_lib_resolv_strcasecmp = yes; then | 10613 | if test $ac_cv_lib_resolv_strcasecmp = yes; then |
9661 | LIBS="$LIBS -lresolv" | 10614 | LIBS="$LIBS -lresolv" |
9662 | fi | 10615 | fi |
@@ -9668,9 +10621,9 @@ fi | |||
9668 | for ac_func in utimes | 10621 | for ac_func in utimes |
9669 | do | 10622 | do |
9670 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10623 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9671 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10624 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9672 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 10625 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9673 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 10626 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
9674 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10627 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9675 | else | 10628 | else |
9676 | cat >conftest.$ac_ext <<_ACEOF | 10629 | cat >conftest.$ac_ext <<_ACEOF |
@@ -9696,76 +10649,68 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
9696 | 10649 | ||
9697 | #undef $ac_func | 10650 | #undef $ac_func |
9698 | 10651 | ||
9699 | /* Override any gcc2 internal prototype to avoid an error. */ | 10652 | /* Override any GCC internal prototype to avoid an error. |
10653 | Use char because int might match the return type of a GCC | ||
10654 | builtin and then its argument prototype would still apply. */ | ||
9700 | #ifdef __cplusplus | 10655 | #ifdef __cplusplus |
9701 | extern "C" | 10656 | extern "C" |
9702 | { | ||
9703 | #endif | 10657 | #endif |
9704 | /* We use char because int might match the return type of a gcc2 | ||
9705 | builtin and then its argument prototype would still apply. */ | ||
9706 | char $ac_func (); | 10658 | char $ac_func (); |
9707 | /* The GNU C library defines this for functions which it implements | 10659 | /* The GNU C library defines this for functions which it implements |
9708 | to always fail with ENOSYS. Some functions are actually named | 10660 | to always fail with ENOSYS. Some functions are actually named |
9709 | something starting with __ and the normal name is an alias. */ | 10661 | something starting with __ and the normal name is an alias. */ |
9710 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 10662 | #if defined __stub_$ac_func || defined __stub___$ac_func |
9711 | choke me | 10663 | choke me |
9712 | #else | ||
9713 | char (*f) () = $ac_func; | ||
9714 | #endif | ||
9715 | #ifdef __cplusplus | ||
9716 | } | ||
9717 | #endif | 10664 | #endif |
9718 | 10665 | ||
9719 | int | 10666 | int |
9720 | main () | 10667 | main () |
9721 | { | 10668 | { |
9722 | return f != $ac_func; | 10669 | return $ac_func (); |
9723 | ; | 10670 | ; |
9724 | return 0; | 10671 | return 0; |
9725 | } | 10672 | } |
9726 | _ACEOF | 10673 | _ACEOF |
9727 | rm -f conftest.$ac_objext conftest$ac_exeext | 10674 | rm -f conftest.$ac_objext conftest$ac_exeext |
9728 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10675 | if { (ac_try="$ac_link" |
9729 | (eval $ac_link) 2>conftest.er1 | 10676 | case "(($ac_try" in |
10677 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10678 | *) ac_try_echo=$ac_try;; | ||
10679 | esac | ||
10680 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10681 | (eval "$ac_link") 2>conftest.er1 | ||
9730 | ac_status=$? | 10682 | ac_status=$? |
9731 | grep -v '^ *+' conftest.er1 >conftest.err | 10683 | grep -v '^ *+' conftest.er1 >conftest.err |
9732 | rm -f conftest.er1 | 10684 | rm -f conftest.er1 |
9733 | cat conftest.err >&5 | 10685 | cat conftest.err >&5 |
9734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9735 | (exit $ac_status); } && | 10687 | (exit $ac_status); } && { |
9736 | { ac_try='test -z "$ac_c_werror_flag" | 10688 | test -z "$ac_c_werror_flag" || |
9737 | || test ! -s conftest.err' | 10689 | test ! -s conftest.err |
9738 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10690 | } && test -s conftest$ac_exeext && |
9739 | (eval $ac_try) 2>&5 | 10691 | $as_test_x conftest$ac_exeext; then |
9740 | ac_status=$? | ||
9741 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9742 | (exit $ac_status); }; } && | ||
9743 | { ac_try='test -s conftest$ac_exeext' | ||
9744 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9745 | (eval $ac_try) 2>&5 | ||
9746 | ac_status=$? | ||
9747 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9748 | (exit $ac_status); }; }; then | ||
9749 | eval "$as_ac_var=yes" | 10692 | eval "$as_ac_var=yes" |
9750 | else | 10693 | else |
9751 | echo "$as_me: failed program was:" >&5 | 10694 | echo "$as_me: failed program was:" >&5 |
9752 | sed 's/^/| /' conftest.$ac_ext >&5 | 10695 | sed 's/^/| /' conftest.$ac_ext >&5 |
9753 | 10696 | ||
9754 | eval "$as_ac_var=no" | 10697 | eval "$as_ac_var=no" |
9755 | fi | 10698 | fi |
9756 | rm -f conftest.err conftest.$ac_objext \ | 10699 | |
10700 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
9757 | conftest$ac_exeext conftest.$ac_ext | 10701 | conftest$ac_exeext conftest.$ac_ext |
9758 | fi | 10702 | fi |
9759 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 10703 | ac_res=`eval echo '${'$as_ac_var'}'` |
9760 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 10704 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10705 | echo "${ECHO_T}$ac_res" >&6; } | ||
9761 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 10706 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9762 | cat >>confdefs.h <<_ACEOF | 10707 | cat >>confdefs.h <<_ACEOF |
9763 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10708 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9764 | _ACEOF | 10709 | _ACEOF |
9765 | 10710 | ||
9766 | else | 10711 | else |
9767 | echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 | 10712 | { echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 |
9768 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 | 10713 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6; } |
9769 | if test "${ac_cv_lib_c89_utimes+set}" = set; then | 10714 | if test "${ac_cv_lib_c89_utimes+set}" = set; then |
9770 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10715 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9771 | else | 10716 | else |
@@ -9778,56 +10723,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
9778 | cat >>conftest.$ac_ext <<_ACEOF | 10723 | cat >>conftest.$ac_ext <<_ACEOF |
9779 | /* end confdefs.h. */ | 10724 | /* end confdefs.h. */ |
9780 | 10725 | ||
9781 | /* Override any gcc2 internal prototype to avoid an error. */ | 10726 | /* Override any GCC internal prototype to avoid an error. |
10727 | Use char because int might match the return type of a GCC | ||
10728 | builtin and then its argument prototype would still apply. */ | ||
9782 | #ifdef __cplusplus | 10729 | #ifdef __cplusplus |
9783 | extern "C" | 10730 | extern "C" |
9784 | #endif | 10731 | #endif |
9785 | /* We use char because int might match the return type of a gcc2 | ||
9786 | builtin and then its argument prototype would still apply. */ | ||
9787 | char utimes (); | 10732 | char utimes (); |
9788 | int | 10733 | int |
9789 | main () | 10734 | main () |
9790 | { | 10735 | { |
9791 | utimes (); | 10736 | return utimes (); |
9792 | ; | 10737 | ; |
9793 | return 0; | 10738 | return 0; |
9794 | } | 10739 | } |
9795 | _ACEOF | 10740 | _ACEOF |
9796 | rm -f conftest.$ac_objext conftest$ac_exeext | 10741 | rm -f conftest.$ac_objext conftest$ac_exeext |
9797 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10742 | if { (ac_try="$ac_link" |
9798 | (eval $ac_link) 2>conftest.er1 | 10743 | case "(($ac_try" in |
10744 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10745 | *) ac_try_echo=$ac_try;; | ||
10746 | esac | ||
10747 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10748 | (eval "$ac_link") 2>conftest.er1 | ||
9799 | ac_status=$? | 10749 | ac_status=$? |
9800 | grep -v '^ *+' conftest.er1 >conftest.err | 10750 | grep -v '^ *+' conftest.er1 >conftest.err |
9801 | rm -f conftest.er1 | 10751 | rm -f conftest.er1 |
9802 | cat conftest.err >&5 | 10752 | cat conftest.err >&5 |
9803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9804 | (exit $ac_status); } && | 10754 | (exit $ac_status); } && { |
9805 | { ac_try='test -z "$ac_c_werror_flag" | 10755 | test -z "$ac_c_werror_flag" || |
9806 | || test ! -s conftest.err' | 10756 | test ! -s conftest.err |
9807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10757 | } && test -s conftest$ac_exeext && |
9808 | (eval $ac_try) 2>&5 | 10758 | $as_test_x conftest$ac_exeext; then |
9809 | ac_status=$? | ||
9810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9811 | (exit $ac_status); }; } && | ||
9812 | { ac_try='test -s conftest$ac_exeext' | ||
9813 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9814 | (eval $ac_try) 2>&5 | ||
9815 | ac_status=$? | ||
9816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9817 | (exit $ac_status); }; }; then | ||
9818 | ac_cv_lib_c89_utimes=yes | 10759 | ac_cv_lib_c89_utimes=yes |
9819 | else | 10760 | else |
9820 | echo "$as_me: failed program was:" >&5 | 10761 | echo "$as_me: failed program was:" >&5 |
9821 | sed 's/^/| /' conftest.$ac_ext >&5 | 10762 | sed 's/^/| /' conftest.$ac_ext >&5 |
9822 | 10763 | ||
9823 | ac_cv_lib_c89_utimes=no | 10764 | ac_cv_lib_c89_utimes=no |
9824 | fi | 10765 | fi |
9825 | rm -f conftest.err conftest.$ac_objext \ | 10766 | |
10767 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
9826 | conftest$ac_exeext conftest.$ac_ext | 10768 | conftest$ac_exeext conftest.$ac_ext |
9827 | LIBS=$ac_check_lib_save_LIBS | 10769 | LIBS=$ac_check_lib_save_LIBS |
9828 | fi | 10770 | fi |
9829 | echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 | 10771 | { echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 |
9830 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 | 10772 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6; } |
9831 | if test $ac_cv_lib_c89_utimes = yes; then | 10773 | if test $ac_cv_lib_c89_utimes = yes; then |
9832 | cat >>confdefs.h <<\_ACEOF | 10774 | cat >>confdefs.h <<\_ACEOF |
9833 | #define HAVE_UTIMES 1 | 10775 | #define HAVE_UTIMES 1 |
@@ -9845,18 +10787,19 @@ done | |||
9845 | for ac_header in libutil.h | 10787 | for ac_header in libutil.h |
9846 | do | 10788 | do |
9847 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10789 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9848 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10790 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9849 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10791 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9850 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10792 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9851 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10793 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9852 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10794 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9853 | fi | 10795 | fi |
9854 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10796 | ac_res=`eval echo '${'$as_ac_Header'}'` |
9855 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10797 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10798 | echo "${ECHO_T}$ac_res" >&6; } | ||
9856 | else | 10799 | else |
9857 | # Is the header compilable? | 10800 | # Is the header compilable? |
9858 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 10801 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9859 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 10802 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
9860 | cat >conftest.$ac_ext <<_ACEOF | 10803 | cat >conftest.$ac_ext <<_ACEOF |
9861 | /* confdefs.h. */ | 10804 | /* confdefs.h. */ |
9862 | _ACEOF | 10805 | _ACEOF |
@@ -9867,41 +10810,37 @@ $ac_includes_default | |||
9867 | #include <$ac_header> | 10810 | #include <$ac_header> |
9868 | _ACEOF | 10811 | _ACEOF |
9869 | rm -f conftest.$ac_objext | 10812 | rm -f conftest.$ac_objext |
9870 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10813 | if { (ac_try="$ac_compile" |
9871 | (eval $ac_compile) 2>conftest.er1 | 10814 | case "(($ac_try" in |
10815 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10816 | *) ac_try_echo=$ac_try;; | ||
10817 | esac | ||
10818 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10819 | (eval "$ac_compile") 2>conftest.er1 | ||
9872 | ac_status=$? | 10820 | ac_status=$? |
9873 | grep -v '^ *+' conftest.er1 >conftest.err | 10821 | grep -v '^ *+' conftest.er1 >conftest.err |
9874 | rm -f conftest.er1 | 10822 | rm -f conftest.er1 |
9875 | cat conftest.err >&5 | 10823 | cat conftest.err >&5 |
9876 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9877 | (exit $ac_status); } && | 10825 | (exit $ac_status); } && { |
9878 | { ac_try='test -z "$ac_c_werror_flag" | 10826 | test -z "$ac_c_werror_flag" || |
9879 | || test ! -s conftest.err' | 10827 | test ! -s conftest.err |
9880 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10828 | } && test -s conftest.$ac_objext; then |
9881 | (eval $ac_try) 2>&5 | ||
9882 | ac_status=$? | ||
9883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9884 | (exit $ac_status); }; } && | ||
9885 | { ac_try='test -s conftest.$ac_objext' | ||
9886 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9887 | (eval $ac_try) 2>&5 | ||
9888 | ac_status=$? | ||
9889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9890 | (exit $ac_status); }; }; then | ||
9891 | ac_header_compiler=yes | 10829 | ac_header_compiler=yes |
9892 | else | 10830 | else |
9893 | echo "$as_me: failed program was:" >&5 | 10831 | echo "$as_me: failed program was:" >&5 |
9894 | sed 's/^/| /' conftest.$ac_ext >&5 | 10832 | sed 's/^/| /' conftest.$ac_ext >&5 |
9895 | 10833 | ||
9896 | ac_header_compiler=no | 10834 | ac_header_compiler=no |
9897 | fi | 10835 | fi |
9898 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 10836 | |
9899 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 10837 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9900 | echo "${ECHO_T}$ac_header_compiler" >&6 | 10838 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10839 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
9901 | 10840 | ||
9902 | # Is the header present? | 10841 | # Is the header present? |
9903 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 10842 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9904 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 10843 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
9905 | cat >conftest.$ac_ext <<_ACEOF | 10844 | cat >conftest.$ac_ext <<_ACEOF |
9906 | /* confdefs.h. */ | 10845 | /* confdefs.h. */ |
9907 | _ACEOF | 10846 | _ACEOF |
@@ -9910,24 +10849,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
9910 | /* end confdefs.h. */ | 10849 | /* end confdefs.h. */ |
9911 | #include <$ac_header> | 10850 | #include <$ac_header> |
9912 | _ACEOF | 10851 | _ACEOF |
9913 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10852 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9914 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10853 | case "(($ac_try" in |
10854 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10855 | *) ac_try_echo=$ac_try;; | ||
10856 | esac | ||
10857 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10858 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
9915 | ac_status=$? | 10859 | ac_status=$? |
9916 | grep -v '^ *+' conftest.er1 >conftest.err | 10860 | grep -v '^ *+' conftest.er1 >conftest.err |
9917 | rm -f conftest.er1 | 10861 | rm -f conftest.er1 |
9918 | cat conftest.err >&5 | 10862 | cat conftest.err >&5 |
9919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9920 | (exit $ac_status); } >/dev/null; then | 10864 | (exit $ac_status); } >/dev/null && { |
9921 | if test -s conftest.err; then | 10865 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
9922 | ac_cpp_err=$ac_c_preproc_warn_flag | 10866 | test ! -s conftest.err |
9923 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 10867 | }; then |
9924 | else | ||
9925 | ac_cpp_err= | ||
9926 | fi | ||
9927 | else | ||
9928 | ac_cpp_err=yes | ||
9929 | fi | ||
9930 | if test -z "$ac_cpp_err"; then | ||
9931 | ac_header_preproc=yes | 10868 | ac_header_preproc=yes |
9932 | else | 10869 | else |
9933 | echo "$as_me: failed program was:" >&5 | 10870 | echo "$as_me: failed program was:" >&5 |
@@ -9935,9 +10872,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
9935 | 10872 | ||
9936 | ac_header_preproc=no | 10873 | ac_header_preproc=no |
9937 | fi | 10874 | fi |
10875 | |||
9938 | rm -f conftest.err conftest.$ac_ext | 10876 | rm -f conftest.err conftest.$ac_ext |
9939 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 10877 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9940 | echo "${ECHO_T}$ac_header_preproc" >&6 | 10878 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9941 | 10879 | ||
9942 | # So? What about this header? | 10880 | # So? What about this header? |
9943 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 10881 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -9961,25 +10899,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
9961 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 10899 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9962 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 10900 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
9963 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 10901 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9964 | ( | 10902 | ( cat <<\_ASBOX |
9965 | cat <<\_ASBOX | ||
9966 | ## ------------------------------------------- ## | 10903 | ## ------------------------------------------- ## |
9967 | ## Report this to openssh-unix-dev@mindrot.org ## | 10904 | ## Report this to openssh-unix-dev@mindrot.org ## |
9968 | ## ------------------------------------------- ## | 10905 | ## ------------------------------------------- ## |
9969 | _ASBOX | 10906 | _ASBOX |
9970 | ) | | 10907 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
9971 | sed "s/^/$as_me: WARNING: /" >&2 | ||
9972 | ;; | 10908 | ;; |
9973 | esac | 10909 | esac |
9974 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10910 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9975 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10911 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9976 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10912 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9977 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10913 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9978 | else | 10914 | else |
9979 | eval "$as_ac_Header=\$ac_header_preproc" | 10915 | eval "$as_ac_Header=\$ac_header_preproc" |
9980 | fi | 10916 | fi |
9981 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10917 | ac_res=`eval echo '${'$as_ac_Header'}'` |
9982 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10918 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10919 | echo "${ECHO_T}$ac_res" >&6; } | ||
9983 | 10920 | ||
9984 | fi | 10921 | fi |
9985 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10922 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -9991,13 +10928,12 @@ fi | |||
9991 | 10928 | ||
9992 | done | 10929 | done |
9993 | 10930 | ||
9994 | echo "$as_me:$LINENO: checking for library containing login" >&5 | 10931 | { echo "$as_me:$LINENO: checking for library containing login" >&5 |
9995 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 | 10932 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; } |
9996 | if test "${ac_cv_search_login+set}" = set; then | 10933 | if test "${ac_cv_search_login+set}" = set; then |
9997 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10934 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9998 | else | 10935 | else |
9999 | ac_func_search_save_LIBS=$LIBS | 10936 | ac_func_search_save_LIBS=$LIBS |
10000 | ac_cv_search_login=no | ||
10001 | cat >conftest.$ac_ext <<_ACEOF | 10937 | cat >conftest.$ac_ext <<_ACEOF |
10002 | /* confdefs.h. */ | 10938 | /* confdefs.h. */ |
10003 | _ACEOF | 10939 | _ACEOF |
@@ -10005,115 +10941,73 @@ cat confdefs.h >>conftest.$ac_ext | |||
10005 | cat >>conftest.$ac_ext <<_ACEOF | 10941 | cat >>conftest.$ac_ext <<_ACEOF |
10006 | /* end confdefs.h. */ | 10942 | /* end confdefs.h. */ |
10007 | 10943 | ||
10008 | /* Override any gcc2 internal prototype to avoid an error. */ | 10944 | /* Override any GCC internal prototype to avoid an error. |
10945 | Use char because int might match the return type of a GCC | ||
10946 | builtin and then its argument prototype would still apply. */ | ||
10009 | #ifdef __cplusplus | 10947 | #ifdef __cplusplus |
10010 | extern "C" | 10948 | extern "C" |
10011 | #endif | 10949 | #endif |
10012 | /* We use char because int might match the return type of a gcc2 | ||
10013 | builtin and then its argument prototype would still apply. */ | ||
10014 | char login (); | 10950 | char login (); |
10015 | int | 10951 | int |
10016 | main () | 10952 | main () |
10017 | { | 10953 | { |
10018 | login (); | 10954 | return login (); |
10019 | ; | 10955 | ; |
10020 | return 0; | 10956 | return 0; |
10021 | } | 10957 | } |
10022 | _ACEOF | 10958 | _ACEOF |
10023 | rm -f conftest.$ac_objext conftest$ac_exeext | 10959 | for ac_lib in '' util bsd; do |
10024 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10960 | if test -z "$ac_lib"; then |
10025 | (eval $ac_link) 2>conftest.er1 | 10961 | ac_res="none required" |
10962 | else | ||
10963 | ac_res=-l$ac_lib | ||
10964 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
10965 | fi | ||
10966 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10967 | if { (ac_try="$ac_link" | ||
10968 | case "(($ac_try" in | ||
10969 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10970 | *) ac_try_echo=$ac_try;; | ||
10971 | esac | ||
10972 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10973 | (eval "$ac_link") 2>conftest.er1 | ||
10026 | ac_status=$? | 10974 | ac_status=$? |
10027 | grep -v '^ *+' conftest.er1 >conftest.err | 10975 | grep -v '^ *+' conftest.er1 >conftest.err |
10028 | rm -f conftest.er1 | 10976 | rm -f conftest.er1 |
10029 | cat conftest.err >&5 | 10977 | cat conftest.err >&5 |
10030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10031 | (exit $ac_status); } && | 10979 | (exit $ac_status); } && { |
10032 | { ac_try='test -z "$ac_c_werror_flag" | 10980 | test -z "$ac_c_werror_flag" || |
10033 | || test ! -s conftest.err' | 10981 | test ! -s conftest.err |
10034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10982 | } && test -s conftest$ac_exeext && |
10035 | (eval $ac_try) 2>&5 | 10983 | $as_test_x conftest$ac_exeext; then |
10036 | ac_status=$? | 10984 | ac_cv_search_login=$ac_res |
10037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10038 | (exit $ac_status); }; } && | ||
10039 | { ac_try='test -s conftest$ac_exeext' | ||
10040 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10041 | (eval $ac_try) 2>&5 | ||
10042 | ac_status=$? | ||
10043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10044 | (exit $ac_status); }; }; then | ||
10045 | ac_cv_search_login="none required" | ||
10046 | else | 10985 | else |
10047 | echo "$as_me: failed program was:" >&5 | 10986 | echo "$as_me: failed program was:" >&5 |
10048 | sed 's/^/| /' conftest.$ac_ext >&5 | 10987 | sed 's/^/| /' conftest.$ac_ext >&5 |
10049 | 10988 | ||
10050 | fi | ||
10051 | rm -f conftest.err conftest.$ac_objext \ | ||
10052 | conftest$ac_exeext conftest.$ac_ext | ||
10053 | if test "$ac_cv_search_login" = no; then | ||
10054 | for ac_lib in util bsd; do | ||
10055 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
10056 | cat >conftest.$ac_ext <<_ACEOF | ||
10057 | /* confdefs.h. */ | ||
10058 | _ACEOF | ||
10059 | cat confdefs.h >>conftest.$ac_ext | ||
10060 | cat >>conftest.$ac_ext <<_ACEOF | ||
10061 | /* end confdefs.h. */ | ||
10062 | 10989 | ||
10063 | /* Override any gcc2 internal prototype to avoid an error. */ | 10990 | fi |
10064 | #ifdef __cplusplus | ||
10065 | extern "C" | ||
10066 | #endif | ||
10067 | /* We use char because int might match the return type of a gcc2 | ||
10068 | builtin and then its argument prototype would still apply. */ | ||
10069 | char login (); | ||
10070 | int | ||
10071 | main () | ||
10072 | { | ||
10073 | login (); | ||
10074 | ; | ||
10075 | return 0; | ||
10076 | } | ||
10077 | _ACEOF | ||
10078 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10079 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
10080 | (eval $ac_link) 2>conftest.er1 | ||
10081 | ac_status=$? | ||
10082 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10083 | rm -f conftest.er1 | ||
10084 | cat conftest.err >&5 | ||
10085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10086 | (exit $ac_status); } && | ||
10087 | { ac_try='test -z "$ac_c_werror_flag" | ||
10088 | || test ! -s conftest.err' | ||
10089 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10090 | (eval $ac_try) 2>&5 | ||
10091 | ac_status=$? | ||
10092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10093 | (exit $ac_status); }; } && | ||
10094 | { ac_try='test -s conftest$ac_exeext' | ||
10095 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10096 | (eval $ac_try) 2>&5 | ||
10097 | ac_status=$? | ||
10098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10099 | (exit $ac_status); }; }; then | ||
10100 | ac_cv_search_login="-l$ac_lib" | ||
10101 | break | ||
10102 | else | ||
10103 | echo "$as_me: failed program was:" >&5 | ||
10104 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10105 | 10991 | ||
10992 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10993 | conftest$ac_exeext | ||
10994 | if test "${ac_cv_search_login+set}" = set; then | ||
10995 | break | ||
10106 | fi | 10996 | fi |
10107 | rm -f conftest.err conftest.$ac_objext \ | 10997 | done |
10108 | conftest$ac_exeext conftest.$ac_ext | 10998 | if test "${ac_cv_search_login+set}" = set; then |
10109 | done | 10999 | : |
11000 | else | ||
11001 | ac_cv_search_login=no | ||
10110 | fi | 11002 | fi |
11003 | rm conftest.$ac_ext | ||
10111 | LIBS=$ac_func_search_save_LIBS | 11004 | LIBS=$ac_func_search_save_LIBS |
10112 | fi | 11005 | fi |
10113 | echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 | 11006 | { echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 |
10114 | echo "${ECHO_T}$ac_cv_search_login" >&6 | 11007 | echo "${ECHO_T}$ac_cv_search_login" >&6; } |
10115 | if test "$ac_cv_search_login" != no; then | 11008 | ac_res=$ac_cv_search_login |
10116 | test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" | 11009 | if test "$ac_res" != no; then |
11010 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
10117 | 11011 | ||
10118 | cat >>confdefs.h <<\_ACEOF | 11012 | cat >>confdefs.h <<\_ACEOF |
10119 | #define HAVE_LOGIN 1 | 11013 | #define HAVE_LOGIN 1 |
@@ -10127,9 +11021,9 @@ fi | |||
10127 | for ac_func in logout updwtmp logwtmp | 11021 | for ac_func in logout updwtmp logwtmp |
10128 | do | 11022 | do |
10129 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11023 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10130 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11024 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10131 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11025 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10132 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 11026 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10133 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11027 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10134 | else | 11028 | else |
10135 | cat >conftest.$ac_ext <<_ACEOF | 11029 | cat >conftest.$ac_ext <<_ACEOF |
@@ -10155,68 +11049,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
10155 | 11049 | ||
10156 | #undef $ac_func | 11050 | #undef $ac_func |
10157 | 11051 | ||
10158 | /* Override any gcc2 internal prototype to avoid an error. */ | 11052 | /* Override any GCC internal prototype to avoid an error. |
11053 | Use char because int might match the return type of a GCC | ||
11054 | builtin and then its argument prototype would still apply. */ | ||
10159 | #ifdef __cplusplus | 11055 | #ifdef __cplusplus |
10160 | extern "C" | 11056 | extern "C" |
10161 | { | ||
10162 | #endif | 11057 | #endif |
10163 | /* We use char because int might match the return type of a gcc2 | ||
10164 | builtin and then its argument prototype would still apply. */ | ||
10165 | char $ac_func (); | 11058 | char $ac_func (); |
10166 | /* The GNU C library defines this for functions which it implements | 11059 | /* The GNU C library defines this for functions which it implements |
10167 | to always fail with ENOSYS. Some functions are actually named | 11060 | to always fail with ENOSYS. Some functions are actually named |
10168 | something starting with __ and the normal name is an alias. */ | 11061 | something starting with __ and the normal name is an alias. */ |
10169 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 11062 | #if defined __stub_$ac_func || defined __stub___$ac_func |
10170 | choke me | 11063 | choke me |
10171 | #else | ||
10172 | char (*f) () = $ac_func; | ||
10173 | #endif | ||
10174 | #ifdef __cplusplus | ||
10175 | } | ||
10176 | #endif | 11064 | #endif |
10177 | 11065 | ||
10178 | int | 11066 | int |
10179 | main () | 11067 | main () |
10180 | { | 11068 | { |
10181 | return f != $ac_func; | 11069 | return $ac_func (); |
10182 | ; | 11070 | ; |
10183 | return 0; | 11071 | return 0; |
10184 | } | 11072 | } |
10185 | _ACEOF | 11073 | _ACEOF |
10186 | rm -f conftest.$ac_objext conftest$ac_exeext | 11074 | rm -f conftest.$ac_objext conftest$ac_exeext |
10187 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11075 | if { (ac_try="$ac_link" |
10188 | (eval $ac_link) 2>conftest.er1 | 11076 | case "(($ac_try" in |
11077 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11078 | *) ac_try_echo=$ac_try;; | ||
11079 | esac | ||
11080 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11081 | (eval "$ac_link") 2>conftest.er1 | ||
10189 | ac_status=$? | 11082 | ac_status=$? |
10190 | grep -v '^ *+' conftest.er1 >conftest.err | 11083 | grep -v '^ *+' conftest.er1 >conftest.err |
10191 | rm -f conftest.er1 | 11084 | rm -f conftest.er1 |
10192 | cat conftest.err >&5 | 11085 | cat conftest.err >&5 |
10193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10194 | (exit $ac_status); } && | 11087 | (exit $ac_status); } && { |
10195 | { ac_try='test -z "$ac_c_werror_flag" | 11088 | test -z "$ac_c_werror_flag" || |
10196 | || test ! -s conftest.err' | 11089 | test ! -s conftest.err |
10197 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11090 | } && test -s conftest$ac_exeext && |
10198 | (eval $ac_try) 2>&5 | 11091 | $as_test_x conftest$ac_exeext; then |
10199 | ac_status=$? | ||
10200 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10201 | (exit $ac_status); }; } && | ||
10202 | { ac_try='test -s conftest$ac_exeext' | ||
10203 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10204 | (eval $ac_try) 2>&5 | ||
10205 | ac_status=$? | ||
10206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10207 | (exit $ac_status); }; }; then | ||
10208 | eval "$as_ac_var=yes" | 11092 | eval "$as_ac_var=yes" |
10209 | else | 11093 | else |
10210 | echo "$as_me: failed program was:" >&5 | 11094 | echo "$as_me: failed program was:" >&5 |
10211 | sed 's/^/| /' conftest.$ac_ext >&5 | 11095 | sed 's/^/| /' conftest.$ac_ext >&5 |
10212 | 11096 | ||
10213 | eval "$as_ac_var=no" | 11097 | eval "$as_ac_var=no" |
10214 | fi | 11098 | fi |
10215 | rm -f conftest.err conftest.$ac_objext \ | 11099 | |
11100 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10216 | conftest$ac_exeext conftest.$ac_ext | 11101 | conftest$ac_exeext conftest.$ac_ext |
10217 | fi | 11102 | fi |
10218 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11103 | ac_res=`eval echo '${'$as_ac_var'}'` |
10219 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11104 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11105 | echo "${ECHO_T}$ac_res" >&6; } | ||
10220 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 11106 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
10221 | cat >>confdefs.h <<_ACEOF | 11107 | cat >>confdefs.h <<_ACEOF |
10222 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11108 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -10230,9 +11116,9 @@ done | |||
10230 | for ac_func in strftime | 11116 | for ac_func in strftime |
10231 | do | 11117 | do |
10232 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11118 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10233 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11119 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10234 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11120 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10235 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 11121 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10236 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11122 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10237 | else | 11123 | else |
10238 | cat >conftest.$ac_ext <<_ACEOF | 11124 | cat >conftest.$ac_ext <<_ACEOF |
@@ -10258,68 +11144,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
10258 | 11144 | ||
10259 | #undef $ac_func | 11145 | #undef $ac_func |
10260 | 11146 | ||
10261 | /* Override any gcc2 internal prototype to avoid an error. */ | 11147 | /* Override any GCC internal prototype to avoid an error. |
11148 | Use char because int might match the return type of a GCC | ||
11149 | builtin and then its argument prototype would still apply. */ | ||
10262 | #ifdef __cplusplus | 11150 | #ifdef __cplusplus |
10263 | extern "C" | 11151 | extern "C" |
10264 | { | ||
10265 | #endif | 11152 | #endif |
10266 | /* We use char because int might match the return type of a gcc2 | ||
10267 | builtin and then its argument prototype would still apply. */ | ||
10268 | char $ac_func (); | 11153 | char $ac_func (); |
10269 | /* The GNU C library defines this for functions which it implements | 11154 | /* The GNU C library defines this for functions which it implements |
10270 | to always fail with ENOSYS. Some functions are actually named | 11155 | to always fail with ENOSYS. Some functions are actually named |
10271 | something starting with __ and the normal name is an alias. */ | 11156 | something starting with __ and the normal name is an alias. */ |
10272 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 11157 | #if defined __stub_$ac_func || defined __stub___$ac_func |
10273 | choke me | 11158 | choke me |
10274 | #else | ||
10275 | char (*f) () = $ac_func; | ||
10276 | #endif | ||
10277 | #ifdef __cplusplus | ||
10278 | } | ||
10279 | #endif | 11159 | #endif |
10280 | 11160 | ||
10281 | int | 11161 | int |
10282 | main () | 11162 | main () |
10283 | { | 11163 | { |
10284 | return f != $ac_func; | 11164 | return $ac_func (); |
10285 | ; | 11165 | ; |
10286 | return 0; | 11166 | return 0; |
10287 | } | 11167 | } |
10288 | _ACEOF | 11168 | _ACEOF |
10289 | rm -f conftest.$ac_objext conftest$ac_exeext | 11169 | rm -f conftest.$ac_objext conftest$ac_exeext |
10290 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11170 | if { (ac_try="$ac_link" |
10291 | (eval $ac_link) 2>conftest.er1 | 11171 | case "(($ac_try" in |
11172 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11173 | *) ac_try_echo=$ac_try;; | ||
11174 | esac | ||
11175 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11176 | (eval "$ac_link") 2>conftest.er1 | ||
10292 | ac_status=$? | 11177 | ac_status=$? |
10293 | grep -v '^ *+' conftest.er1 >conftest.err | 11178 | grep -v '^ *+' conftest.er1 >conftest.err |
10294 | rm -f conftest.er1 | 11179 | rm -f conftest.er1 |
10295 | cat conftest.err >&5 | 11180 | cat conftest.err >&5 |
10296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11181 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10297 | (exit $ac_status); } && | 11182 | (exit $ac_status); } && { |
10298 | { ac_try='test -z "$ac_c_werror_flag" | 11183 | test -z "$ac_c_werror_flag" || |
10299 | || test ! -s conftest.err' | 11184 | test ! -s conftest.err |
10300 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11185 | } && test -s conftest$ac_exeext && |
10301 | (eval $ac_try) 2>&5 | 11186 | $as_test_x conftest$ac_exeext; then |
10302 | ac_status=$? | ||
10303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10304 | (exit $ac_status); }; } && | ||
10305 | { ac_try='test -s conftest$ac_exeext' | ||
10306 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10307 | (eval $ac_try) 2>&5 | ||
10308 | ac_status=$? | ||
10309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10310 | (exit $ac_status); }; }; then | ||
10311 | eval "$as_ac_var=yes" | 11187 | eval "$as_ac_var=yes" |
10312 | else | 11188 | else |
10313 | echo "$as_me: failed program was:" >&5 | 11189 | echo "$as_me: failed program was:" >&5 |
10314 | sed 's/^/| /' conftest.$ac_ext >&5 | 11190 | sed 's/^/| /' conftest.$ac_ext >&5 |
10315 | 11191 | ||
10316 | eval "$as_ac_var=no" | 11192 | eval "$as_ac_var=no" |
10317 | fi | 11193 | fi |
10318 | rm -f conftest.err conftest.$ac_objext \ | 11194 | |
11195 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10319 | conftest$ac_exeext conftest.$ac_ext | 11196 | conftest$ac_exeext conftest.$ac_ext |
10320 | fi | 11197 | fi |
10321 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11198 | ac_res=`eval echo '${'$as_ac_var'}'` |
10322 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11199 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11200 | echo "${ECHO_T}$ac_res" >&6; } | ||
10323 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 11201 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
10324 | cat >>confdefs.h <<_ACEOF | 11202 | cat >>confdefs.h <<_ACEOF |
10325 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11203 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -10327,8 +11205,8 @@ _ACEOF | |||
10327 | 11205 | ||
10328 | else | 11206 | else |
10329 | # strftime is in -lintl on SCO UNIX. | 11207 | # strftime is in -lintl on SCO UNIX. |
10330 | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 11208 | { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
10331 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | 11209 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
10332 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 11210 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
10333 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11211 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10334 | else | 11212 | else |
@@ -10341,56 +11219,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
10341 | cat >>conftest.$ac_ext <<_ACEOF | 11219 | cat >>conftest.$ac_ext <<_ACEOF |
10342 | /* end confdefs.h. */ | 11220 | /* end confdefs.h. */ |
10343 | 11221 | ||
10344 | /* Override any gcc2 internal prototype to avoid an error. */ | 11222 | /* Override any GCC internal prototype to avoid an error. |
11223 | Use char because int might match the return type of a GCC | ||
11224 | builtin and then its argument prototype would still apply. */ | ||
10345 | #ifdef __cplusplus | 11225 | #ifdef __cplusplus |
10346 | extern "C" | 11226 | extern "C" |
10347 | #endif | 11227 | #endif |
10348 | /* We use char because int might match the return type of a gcc2 | ||
10349 | builtin and then its argument prototype would still apply. */ | ||
10350 | char strftime (); | 11228 | char strftime (); |
10351 | int | 11229 | int |
10352 | main () | 11230 | main () |
10353 | { | 11231 | { |
10354 | strftime (); | 11232 | return strftime (); |
10355 | ; | 11233 | ; |
10356 | return 0; | 11234 | return 0; |
10357 | } | 11235 | } |
10358 | _ACEOF | 11236 | _ACEOF |
10359 | rm -f conftest.$ac_objext conftest$ac_exeext | 11237 | rm -f conftest.$ac_objext conftest$ac_exeext |
10360 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11238 | if { (ac_try="$ac_link" |
10361 | (eval $ac_link) 2>conftest.er1 | 11239 | case "(($ac_try" in |
11240 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11241 | *) ac_try_echo=$ac_try;; | ||
11242 | esac | ||
11243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11244 | (eval "$ac_link") 2>conftest.er1 | ||
10362 | ac_status=$? | 11245 | ac_status=$? |
10363 | grep -v '^ *+' conftest.er1 >conftest.err | 11246 | grep -v '^ *+' conftest.er1 >conftest.err |
10364 | rm -f conftest.er1 | 11247 | rm -f conftest.er1 |
10365 | cat conftest.err >&5 | 11248 | cat conftest.err >&5 |
10366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10367 | (exit $ac_status); } && | 11250 | (exit $ac_status); } && { |
10368 | { ac_try='test -z "$ac_c_werror_flag" | 11251 | test -z "$ac_c_werror_flag" || |
10369 | || test ! -s conftest.err' | 11252 | test ! -s conftest.err |
10370 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11253 | } && test -s conftest$ac_exeext && |
10371 | (eval $ac_try) 2>&5 | 11254 | $as_test_x conftest$ac_exeext; then |
10372 | ac_status=$? | ||
10373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10374 | (exit $ac_status); }; } && | ||
10375 | { ac_try='test -s conftest$ac_exeext' | ||
10376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10377 | (eval $ac_try) 2>&5 | ||
10378 | ac_status=$? | ||
10379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10380 | (exit $ac_status); }; }; then | ||
10381 | ac_cv_lib_intl_strftime=yes | 11255 | ac_cv_lib_intl_strftime=yes |
10382 | else | 11256 | else |
10383 | echo "$as_me: failed program was:" >&5 | 11257 | echo "$as_me: failed program was:" >&5 |
10384 | sed 's/^/| /' conftest.$ac_ext >&5 | 11258 | sed 's/^/| /' conftest.$ac_ext >&5 |
10385 | 11259 | ||
10386 | ac_cv_lib_intl_strftime=no | 11260 | ac_cv_lib_intl_strftime=no |
10387 | fi | 11261 | fi |
10388 | rm -f conftest.err conftest.$ac_objext \ | 11262 | |
11263 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10389 | conftest$ac_exeext conftest.$ac_ext | 11264 | conftest$ac_exeext conftest.$ac_ext |
10390 | LIBS=$ac_check_lib_save_LIBS | 11265 | LIBS=$ac_check_lib_save_LIBS |
10391 | fi | 11266 | fi |
10392 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 11267 | { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
10393 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | 11268 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
10394 | if test $ac_cv_lib_intl_strftime = yes; then | 11269 | if test $ac_cv_lib_intl_strftime = yes; then |
10395 | cat >>confdefs.h <<\_ACEOF | 11270 | cat >>confdefs.h <<\_ACEOF |
10396 | #define HAVE_STRFTIME 1 | 11271 | #define HAVE_STRFTIME 1 |
@@ -10404,8 +11279,8 @@ done | |||
10404 | 11279 | ||
10405 | 11280 | ||
10406 | # Check for ALTDIRFUNC glob() extension | 11281 | # Check for ALTDIRFUNC glob() extension |
10407 | echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 | 11282 | { echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 |
10408 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 | 11283 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6; } |
10409 | cat >conftest.$ac_ext <<_ACEOF | 11284 | cat >conftest.$ac_ext <<_ACEOF |
10410 | /* confdefs.h. */ | 11285 | /* confdefs.h. */ |
10411 | _ACEOF | 11286 | _ACEOF |
@@ -10427,13 +11302,13 @@ cat >>confdefs.h <<\_ACEOF | |||
10427 | #define GLOB_HAS_ALTDIRFUNC 1 | 11302 | #define GLOB_HAS_ALTDIRFUNC 1 |
10428 | _ACEOF | 11303 | _ACEOF |
10429 | 11304 | ||
10430 | echo "$as_me:$LINENO: result: yes" >&5 | 11305 | { echo "$as_me:$LINENO: result: yes" >&5 |
10431 | echo "${ECHO_T}yes" >&6 | 11306 | echo "${ECHO_T}yes" >&6; } |
10432 | 11307 | ||
10433 | else | 11308 | else |
10434 | 11309 | ||
10435 | echo "$as_me:$LINENO: result: no" >&5 | 11310 | { echo "$as_me:$LINENO: result: no" >&5 |
10436 | echo "${ECHO_T}no" >&6 | 11311 | echo "${ECHO_T}no" >&6; } |
10437 | 11312 | ||
10438 | 11313 | ||
10439 | fi | 11314 | fi |
@@ -10441,42 +11316,134 @@ rm -f conftest* | |||
10441 | 11316 | ||
10442 | 11317 | ||
10443 | # Check for g.gl_matchc glob() extension | 11318 | # Check for g.gl_matchc glob() extension |
10444 | echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 | 11319 | { echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 |
10445 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 | 11320 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6; } |
10446 | cat >conftest.$ac_ext <<_ACEOF | 11321 | cat >conftest.$ac_ext <<_ACEOF |
10447 | /* confdefs.h. */ | 11322 | /* confdefs.h. */ |
10448 | _ACEOF | 11323 | _ACEOF |
10449 | cat confdefs.h >>conftest.$ac_ext | 11324 | cat confdefs.h >>conftest.$ac_ext |
10450 | cat >>conftest.$ac_ext <<_ACEOF | 11325 | cat >>conftest.$ac_ext <<_ACEOF |
10451 | /* end confdefs.h. */ | 11326 | /* end confdefs.h. */ |
10452 | 11327 | #include <glob.h> | |
10453 | #include <glob.h> | 11328 | int |
10454 | int main(void){glob_t g; g.gl_matchc = 1;} | 11329 | main () |
10455 | 11330 | { | |
11331 | glob_t g; g.gl_matchc = 1; | ||
11332 | ; | ||
11333 | return 0; | ||
11334 | } | ||
10456 | _ACEOF | 11335 | _ACEOF |
10457 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 11336 | rm -f conftest.$ac_objext |
10458 | $EGREP "FOUNDIT" >/dev/null 2>&1; then | 11337 | if { (ac_try="$ac_compile" |
11338 | case "(($ac_try" in | ||
11339 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11340 | *) ac_try_echo=$ac_try;; | ||
11341 | esac | ||
11342 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11343 | (eval "$ac_compile") 2>conftest.er1 | ||
11344 | ac_status=$? | ||
11345 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11346 | rm -f conftest.er1 | ||
11347 | cat conftest.err >&5 | ||
11348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11349 | (exit $ac_status); } && { | ||
11350 | test -z "$ac_c_werror_flag" || | ||
11351 | test ! -s conftest.err | ||
11352 | } && test -s conftest.$ac_objext; then | ||
10459 | 11353 | ||
10460 | 11354 | ||
10461 | cat >>confdefs.h <<\_ACEOF | 11355 | cat >>confdefs.h <<\_ACEOF |
10462 | #define GLOB_HAS_GL_MATCHC 1 | 11356 | #define GLOB_HAS_GL_MATCHC 1 |
10463 | _ACEOF | 11357 | _ACEOF |
10464 | 11358 | ||
10465 | echo "$as_me:$LINENO: result: yes" >&5 | 11359 | { echo "$as_me:$LINENO: result: yes" >&5 |
10466 | echo "${ECHO_T}yes" >&6 | 11360 | echo "${ECHO_T}yes" >&6; } |
10467 | 11361 | ||
10468 | else | 11362 | else |
11363 | echo "$as_me: failed program was:" >&5 | ||
11364 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11365 | |||
10469 | 11366 | ||
10470 | echo "$as_me:$LINENO: result: no" >&5 | 11367 | { echo "$as_me:$LINENO: result: no" >&5 |
10471 | echo "${ECHO_T}no" >&6 | 11368 | echo "${ECHO_T}no" >&6; } |
10472 | 11369 | ||
10473 | 11370 | ||
10474 | fi | 11371 | fi |
10475 | rm -f conftest* | ||
10476 | 11372 | ||
11373 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
11374 | |||
11375 | { echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5 | ||
11376 | echo $ECHO_N "checking whether GLOB_NOMATCH is declared... $ECHO_C" >&6; } | ||
11377 | if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then | ||
11378 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11379 | else | ||
11380 | cat >conftest.$ac_ext <<_ACEOF | ||
11381 | /* confdefs.h. */ | ||
11382 | _ACEOF | ||
11383 | cat confdefs.h >>conftest.$ac_ext | ||
11384 | cat >>conftest.$ac_ext <<_ACEOF | ||
11385 | /* end confdefs.h. */ | ||
11386 | #include <glob.h> | ||
10477 | 11387 | ||
10478 | echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 | 11388 | int |
10479 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 | 11389 | main () |
11390 | { | ||
11391 | #ifndef GLOB_NOMATCH | ||
11392 | (void) GLOB_NOMATCH; | ||
11393 | #endif | ||
11394 | |||
11395 | ; | ||
11396 | return 0; | ||
11397 | } | ||
11398 | _ACEOF | ||
11399 | rm -f conftest.$ac_objext | ||
11400 | if { (ac_try="$ac_compile" | ||
11401 | case "(($ac_try" in | ||
11402 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11403 | *) ac_try_echo=$ac_try;; | ||
11404 | esac | ||
11405 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11406 | (eval "$ac_compile") 2>conftest.er1 | ||
11407 | ac_status=$? | ||
11408 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11409 | rm -f conftest.er1 | ||
11410 | cat conftest.err >&5 | ||
11411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11412 | (exit $ac_status); } && { | ||
11413 | test -z "$ac_c_werror_flag" || | ||
11414 | test ! -s conftest.err | ||
11415 | } && test -s conftest.$ac_objext; then | ||
11416 | ac_cv_have_decl_GLOB_NOMATCH=yes | ||
11417 | else | ||
11418 | echo "$as_me: failed program was:" >&5 | ||
11419 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11420 | |||
11421 | ac_cv_have_decl_GLOB_NOMATCH=no | ||
11422 | fi | ||
11423 | |||
11424 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
11425 | fi | ||
11426 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GLOB_NOMATCH" >&5 | ||
11427 | echo "${ECHO_T}$ac_cv_have_decl_GLOB_NOMATCH" >&6; } | ||
11428 | if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then | ||
11429 | |||
11430 | cat >>confdefs.h <<_ACEOF | ||
11431 | #define HAVE_DECL_GLOB_NOMATCH 1 | ||
11432 | _ACEOF | ||
11433 | |||
11434 | |||
11435 | else | ||
11436 | cat >>confdefs.h <<_ACEOF | ||
11437 | #define HAVE_DECL_GLOB_NOMATCH 0 | ||
11438 | _ACEOF | ||
11439 | |||
11440 | |||
11441 | fi | ||
11442 | |||
11443 | |||
11444 | |||
11445 | { echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 | ||
11446 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6; } | ||
10480 | if test "$cross_compiling" = yes; then | 11447 | if test "$cross_compiling" = yes; then |
10481 | 11448 | ||
10482 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 | 11449 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 |
@@ -10501,18 +11468,27 @@ int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));} | |||
10501 | 11468 | ||
10502 | _ACEOF | 11469 | _ACEOF |
10503 | rm -f conftest$ac_exeext | 11470 | rm -f conftest$ac_exeext |
10504 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11471 | if { (ac_try="$ac_link" |
10505 | (eval $ac_link) 2>&5 | 11472 | case "(($ac_try" in |
11473 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11474 | *) ac_try_echo=$ac_try;; | ||
11475 | esac | ||
11476 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11477 | (eval "$ac_link") 2>&5 | ||
10506 | ac_status=$? | 11478 | ac_status=$? |
10507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10508 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11480 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10509 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11481 | { (case "(($ac_try" in |
10510 | (eval $ac_try) 2>&5 | 11482 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11483 | *) ac_try_echo=$ac_try;; | ||
11484 | esac | ||
11485 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11486 | (eval "$ac_try") 2>&5 | ||
10511 | ac_status=$? | 11487 | ac_status=$? |
10512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10513 | (exit $ac_status); }; }; then | 11489 | (exit $ac_status); }; }; then |
10514 | echo "$as_me:$LINENO: result: yes" >&5 | 11490 | { echo "$as_me:$LINENO: result: yes" >&5 |
10515 | echo "${ECHO_T}yes" >&6 | 11491 | echo "${ECHO_T}yes" >&6; } |
10516 | else | 11492 | else |
10517 | echo "$as_me: program exited with status $ac_status" >&5 | 11493 | echo "$as_me: program exited with status $ac_status" >&5 |
10518 | echo "$as_me: failed program was:" >&5 | 11494 | echo "$as_me: failed program was:" >&5 |
@@ -10520,8 +11496,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
10520 | 11496 | ||
10521 | ( exit $ac_status ) | 11497 | ( exit $ac_status ) |
10522 | 11498 | ||
10523 | echo "$as_me:$LINENO: result: no" >&5 | 11499 | { echo "$as_me:$LINENO: result: no" >&5 |
10524 | echo "${ECHO_T}no" >&6 | 11500 | echo "${ECHO_T}no" >&6; } |
10525 | 11501 | ||
10526 | cat >>confdefs.h <<\_ACEOF | 11502 | cat >>confdefs.h <<\_ACEOF |
10527 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | 11503 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 |
@@ -10529,31 +11505,32 @@ _ACEOF | |||
10529 | 11505 | ||
10530 | 11506 | ||
10531 | fi | 11507 | fi |
10532 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11508 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10533 | fi | 11509 | fi |
10534 | 11510 | ||
10535 | echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 | 11511 | |
10536 | echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6 | 11512 | |
11513 | { echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 | ||
11514 | echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6; } | ||
10537 | if test -d "/proc/$$/fd" ; then | 11515 | if test -d "/proc/$$/fd" ; then |
10538 | 11516 | ||
10539 | cat >>confdefs.h <<\_ACEOF | 11517 | cat >>confdefs.h <<\_ACEOF |
10540 | #define HAVE_PROC_PID 1 | 11518 | #define HAVE_PROC_PID 1 |
10541 | _ACEOF | 11519 | _ACEOF |
10542 | 11520 | ||
10543 | echo "$as_me:$LINENO: result: yes" >&5 | 11521 | { echo "$as_me:$LINENO: result: yes" >&5 |
10544 | echo "${ECHO_T}yes" >&6 | 11522 | echo "${ECHO_T}yes" >&6; } |
10545 | else | 11523 | else |
10546 | echo "$as_me:$LINENO: result: no" >&5 | 11524 | { echo "$as_me:$LINENO: result: no" >&5 |
10547 | echo "${ECHO_T}no" >&6 | 11525 | echo "${ECHO_T}no" >&6; } |
10548 | fi | 11526 | fi |
10549 | 11527 | ||
10550 | # Check whether user wants S/Key support | 11528 | # Check whether user wants S/Key support |
10551 | SKEY_MSG="no" | 11529 | SKEY_MSG="no" |
10552 | 11530 | ||
10553 | # Check whether --with-skey or --without-skey was given. | 11531 | # Check whether --with-skey was given. |
10554 | if test "${with_skey+set}" = set; then | 11532 | if test "${with_skey+set}" = set; then |
10555 | withval="$with_skey" | 11533 | withval=$with_skey; |
10556 | |||
10557 | if test "x$withval" != "xno" ; then | 11534 | if test "x$withval" != "xno" ; then |
10558 | 11535 | ||
10559 | if test "x$withval" != "xyes" ; then | 11536 | if test "x$withval" != "xyes" ; then |
@@ -10569,8 +11546,8 @@ _ACEOF | |||
10569 | LIBS="-lskey $LIBS" | 11546 | LIBS="-lskey $LIBS" |
10570 | SKEY_MSG="yes" | 11547 | SKEY_MSG="yes" |
10571 | 11548 | ||
10572 | echo "$as_me:$LINENO: checking for s/key support" >&5 | 11549 | { echo "$as_me:$LINENO: checking for s/key support" >&5 |
10573 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 | 11550 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6; } |
10574 | cat >conftest.$ac_ext <<_ACEOF | 11551 | cat >conftest.$ac_ext <<_ACEOF |
10575 | /* confdefs.h. */ | 11552 | /* confdefs.h. */ |
10576 | _ACEOF | 11553 | _ACEOF |
@@ -10584,45 +11561,42 @@ int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } | |||
10584 | 11561 | ||
10585 | _ACEOF | 11562 | _ACEOF |
10586 | rm -f conftest.$ac_objext conftest$ac_exeext | 11563 | rm -f conftest.$ac_objext conftest$ac_exeext |
10587 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11564 | if { (ac_try="$ac_link" |
10588 | (eval $ac_link) 2>conftest.er1 | 11565 | case "(($ac_try" in |
11566 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11567 | *) ac_try_echo=$ac_try;; | ||
11568 | esac | ||
11569 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11570 | (eval "$ac_link") 2>conftest.er1 | ||
10589 | ac_status=$? | 11571 | ac_status=$? |
10590 | grep -v '^ *+' conftest.er1 >conftest.err | 11572 | grep -v '^ *+' conftest.er1 >conftest.err |
10591 | rm -f conftest.er1 | 11573 | rm -f conftest.er1 |
10592 | cat conftest.err >&5 | 11574 | cat conftest.err >&5 |
10593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10594 | (exit $ac_status); } && | 11576 | (exit $ac_status); } && { |
10595 | { ac_try='test -z "$ac_c_werror_flag" | 11577 | test -z "$ac_c_werror_flag" || |
10596 | || test ! -s conftest.err' | 11578 | test ! -s conftest.err |
10597 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11579 | } && test -s conftest$ac_exeext && |
10598 | (eval $ac_try) 2>&5 | 11580 | $as_test_x conftest$ac_exeext; then |
10599 | ac_status=$? | 11581 | { echo "$as_me:$LINENO: result: yes" >&5 |
10600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11582 | echo "${ECHO_T}yes" >&6; } |
10601 | (exit $ac_status); }; } && | ||
10602 | { ac_try='test -s conftest$ac_exeext' | ||
10603 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10604 | (eval $ac_try) 2>&5 | ||
10605 | ac_status=$? | ||
10606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10607 | (exit $ac_status); }; }; then | ||
10608 | echo "$as_me:$LINENO: result: yes" >&5 | ||
10609 | echo "${ECHO_T}yes" >&6 | ||
10610 | else | 11583 | else |
10611 | echo "$as_me: failed program was:" >&5 | 11584 | echo "$as_me: failed program was:" >&5 |
10612 | sed 's/^/| /' conftest.$ac_ext >&5 | 11585 | sed 's/^/| /' conftest.$ac_ext >&5 |
10613 | 11586 | ||
10614 | 11587 | ||
10615 | echo "$as_me:$LINENO: result: no" >&5 | 11588 | { echo "$as_me:$LINENO: result: no" >&5 |
10616 | echo "${ECHO_T}no" >&6 | 11589 | echo "${ECHO_T}no" >&6; } |
10617 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 | 11590 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 |
10618 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} | 11591 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} |
10619 | { (exit 1); exit 1; }; } | 11592 | { (exit 1); exit 1; }; } |
10620 | 11593 | ||
10621 | fi | 11594 | fi |
10622 | rm -f conftest.err conftest.$ac_objext \ | 11595 | |
11596 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10623 | conftest$ac_exeext conftest.$ac_ext | 11597 | conftest$ac_exeext conftest.$ac_ext |
10624 | echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 | 11598 | { echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 |
10625 | echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6 | 11599 | echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6; } |
10626 | cat >conftest.$ac_ext <<_ACEOF | 11600 | cat >conftest.$ac_ext <<_ACEOF |
10627 | /* confdefs.h. */ | 11601 | /* confdefs.h. */ |
10628 | _ACEOF | 11602 | _ACEOF |
@@ -10640,29 +11614,24 @@ main () | |||
10640 | } | 11614 | } |
10641 | _ACEOF | 11615 | _ACEOF |
10642 | rm -f conftest.$ac_objext | 11616 | rm -f conftest.$ac_objext |
10643 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11617 | if { (ac_try="$ac_compile" |
10644 | (eval $ac_compile) 2>conftest.er1 | 11618 | case "(($ac_try" in |
11619 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11620 | *) ac_try_echo=$ac_try;; | ||
11621 | esac | ||
11622 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11623 | (eval "$ac_compile") 2>conftest.er1 | ||
10645 | ac_status=$? | 11624 | ac_status=$? |
10646 | grep -v '^ *+' conftest.er1 >conftest.err | 11625 | grep -v '^ *+' conftest.er1 >conftest.err |
10647 | rm -f conftest.er1 | 11626 | rm -f conftest.er1 |
10648 | cat conftest.err >&5 | 11627 | cat conftest.err >&5 |
10649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10650 | (exit $ac_status); } && | 11629 | (exit $ac_status); } && { |
10651 | { ac_try='test -z "$ac_c_werror_flag" | 11630 | test -z "$ac_c_werror_flag" || |
10652 | || test ! -s conftest.err' | 11631 | test ! -s conftest.err |
10653 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11632 | } && test -s conftest.$ac_objext; then |
10654 | (eval $ac_try) 2>&5 | 11633 | { echo "$as_me:$LINENO: result: yes" >&5 |
10655 | ac_status=$? | 11634 | echo "${ECHO_T}yes" >&6; } |
10656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10657 | (exit $ac_status); }; } && | ||
10658 | { ac_try='test -s conftest.$ac_objext' | ||
10659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10660 | (eval $ac_try) 2>&5 | ||
10661 | ac_status=$? | ||
10662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10663 | (exit $ac_status); }; }; then | ||
10664 | echo "$as_me:$LINENO: result: yes" >&5 | ||
10665 | echo "${ECHO_T}yes" >&6 | ||
10666 | 11635 | ||
10667 | cat >>confdefs.h <<\_ACEOF | 11636 | cat >>confdefs.h <<\_ACEOF |
10668 | #define SKEYCHALLENGE_4ARG 1 | 11637 | #define SKEYCHALLENGE_4ARG 1 |
@@ -10672,23 +11641,24 @@ else | |||
10672 | echo "$as_me: failed program was:" >&5 | 11641 | echo "$as_me: failed program was:" >&5 |
10673 | sed 's/^/| /' conftest.$ac_ext >&5 | 11642 | sed 's/^/| /' conftest.$ac_ext >&5 |
10674 | 11643 | ||
10675 | echo "$as_me:$LINENO: result: no" >&5 | 11644 | { echo "$as_me:$LINENO: result: no" >&5 |
10676 | echo "${ECHO_T}no" >&6 | 11645 | echo "${ECHO_T}no" >&6; } |
10677 | 11646 | ||
10678 | fi | 11647 | fi |
10679 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11648 | |
11649 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10680 | fi | 11650 | fi |
10681 | 11651 | ||
10682 | 11652 | ||
10683 | fi; | 11653 | fi |
11654 | |||
10684 | 11655 | ||
10685 | # Check whether user wants TCP wrappers support | 11656 | # Check whether user wants TCP wrappers support |
10686 | TCPW_MSG="no" | 11657 | TCPW_MSG="no" |
10687 | 11658 | ||
10688 | # Check whether --with-tcp-wrappers or --without-tcp-wrappers was given. | 11659 | # Check whether --with-tcp-wrappers was given. |
10689 | if test "${with_tcp_wrappers+set}" = set; then | 11660 | if test "${with_tcp_wrappers+set}" = set; then |
10690 | withval="$with_tcp_wrappers" | 11661 | withval=$with_tcp_wrappers; |
10691 | |||
10692 | if test "x$withval" != "xno" ; then | 11662 | if test "x$withval" != "xno" ; then |
10693 | saved_LIBS="$LIBS" | 11663 | saved_LIBS="$LIBS" |
10694 | saved_LDFLAGS="$LDFLAGS" | 11664 | saved_LDFLAGS="$LDFLAGS" |
@@ -10716,8 +11686,8 @@ if test "${with_tcp_wrappers+set}" = set; then | |||
10716 | fi | 11686 | fi |
10717 | LIBWRAP="-lwrap" | 11687 | LIBWRAP="-lwrap" |
10718 | LIBS="$LIBWRAP $LIBS" | 11688 | LIBS="$LIBWRAP $LIBS" |
10719 | echo "$as_me:$LINENO: checking for libwrap" >&5 | 11689 | { echo "$as_me:$LINENO: checking for libwrap" >&5 |
10720 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 | 11690 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6; } |
10721 | cat >conftest.$ac_ext <<_ACEOF | 11691 | cat >conftest.$ac_ext <<_ACEOF |
10722 | /* confdefs.h. */ | 11692 | /* confdefs.h. */ |
10723 | _ACEOF | 11693 | _ACEOF |
@@ -10740,30 +11710,26 @@ hosts_access(0); | |||
10740 | } | 11710 | } |
10741 | _ACEOF | 11711 | _ACEOF |
10742 | rm -f conftest.$ac_objext conftest$ac_exeext | 11712 | rm -f conftest.$ac_objext conftest$ac_exeext |
10743 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11713 | if { (ac_try="$ac_link" |
10744 | (eval $ac_link) 2>conftest.er1 | 11714 | case "(($ac_try" in |
11715 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11716 | *) ac_try_echo=$ac_try;; | ||
11717 | esac | ||
11718 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11719 | (eval "$ac_link") 2>conftest.er1 | ||
10745 | ac_status=$? | 11720 | ac_status=$? |
10746 | grep -v '^ *+' conftest.er1 >conftest.err | 11721 | grep -v '^ *+' conftest.er1 >conftest.err |
10747 | rm -f conftest.er1 | 11722 | rm -f conftest.er1 |
10748 | cat conftest.err >&5 | 11723 | cat conftest.err >&5 |
10749 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11724 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10750 | (exit $ac_status); } && | 11725 | (exit $ac_status); } && { |
10751 | { ac_try='test -z "$ac_c_werror_flag" | 11726 | test -z "$ac_c_werror_flag" || |
10752 | || test ! -s conftest.err' | 11727 | test ! -s conftest.err |
10753 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11728 | } && test -s conftest$ac_exeext && |
10754 | (eval $ac_try) 2>&5 | 11729 | $as_test_x conftest$ac_exeext; then |
10755 | ac_status=$? | ||
10756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10757 | (exit $ac_status); }; } && | ||
10758 | { ac_try='test -s conftest$ac_exeext' | ||
10759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10760 | (eval $ac_try) 2>&5 | ||
10761 | ac_status=$? | ||
10762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10763 | (exit $ac_status); }; }; then | ||
10764 | 11730 | ||
10765 | echo "$as_me:$LINENO: result: yes" >&5 | 11731 | { echo "$as_me:$LINENO: result: yes" >&5 |
10766 | echo "${ECHO_T}yes" >&6 | 11732 | echo "${ECHO_T}yes" >&6; } |
10767 | 11733 | ||
10768 | cat >>confdefs.h <<\_ACEOF | 11734 | cat >>confdefs.h <<\_ACEOF |
10769 | #define LIBWRAP 1 | 11735 | #define LIBWRAP 1 |
@@ -10783,21 +11749,22 @@ echo "$as_me: error: *** libwrap missing" >&2;} | |||
10783 | 11749 | ||
10784 | 11750 | ||
10785 | fi | 11751 | fi |
10786 | rm -f conftest.err conftest.$ac_objext \ | 11752 | |
11753 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10787 | conftest$ac_exeext conftest.$ac_ext | 11754 | conftest$ac_exeext conftest.$ac_ext |
10788 | LIBS="$saved_LIBS" | 11755 | LIBS="$saved_LIBS" |
10789 | fi | 11756 | fi |
10790 | 11757 | ||
10791 | 11758 | ||
10792 | fi; | 11759 | fi |
11760 | |||
10793 | 11761 | ||
10794 | # Check whether user wants libedit support | 11762 | # Check whether user wants libedit support |
10795 | LIBEDIT_MSG="no" | 11763 | LIBEDIT_MSG="no" |
10796 | 11764 | ||
10797 | # Check whether --with-libedit or --without-libedit was given. | 11765 | # Check whether --with-libedit was given. |
10798 | if test "${with_libedit+set}" = set; then | 11766 | if test "${with_libedit+set}" = set; then |
10799 | withval="$with_libedit" | 11767 | withval=$with_libedit; if test "x$withval" != "xno" ; then |
10800 | if test "x$withval" != "xno" ; then | ||
10801 | if test "x$withval" != "xyes"; then | 11768 | if test "x$withval" != "xyes"; then |
10802 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | 11769 | CPPFLAGS="$CPPFLAGS -I${withval}/include" |
10803 | if test -n "${need_dash_r}"; then | 11770 | if test -n "${need_dash_r}"; then |
@@ -10806,8 +11773,8 @@ if test "${with_libedit+set}" = set; then | |||
10806 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | 11773 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" |
10807 | fi | 11774 | fi |
10808 | fi | 11775 | fi |
10809 | echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 | 11776 | { echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 |
10810 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6 | 11777 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6; } |
10811 | if test "${ac_cv_lib_edit_el_init+set}" = set; then | 11778 | if test "${ac_cv_lib_edit_el_init+set}" = set; then |
10812 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11779 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10813 | else | 11780 | else |
@@ -10821,56 +11788,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
10821 | cat >>conftest.$ac_ext <<_ACEOF | 11788 | cat >>conftest.$ac_ext <<_ACEOF |
10822 | /* end confdefs.h. */ | 11789 | /* end confdefs.h. */ |
10823 | 11790 | ||
10824 | /* Override any gcc2 internal prototype to avoid an error. */ | 11791 | /* Override any GCC internal prototype to avoid an error. |
11792 | Use char because int might match the return type of a GCC | ||
11793 | builtin and then its argument prototype would still apply. */ | ||
10825 | #ifdef __cplusplus | 11794 | #ifdef __cplusplus |
10826 | extern "C" | 11795 | extern "C" |
10827 | #endif | 11796 | #endif |
10828 | /* We use char because int might match the return type of a gcc2 | ||
10829 | builtin and then its argument prototype would still apply. */ | ||
10830 | char el_init (); | 11797 | char el_init (); |
10831 | int | 11798 | int |
10832 | main () | 11799 | main () |
10833 | { | 11800 | { |
10834 | el_init (); | 11801 | return el_init (); |
10835 | ; | 11802 | ; |
10836 | return 0; | 11803 | return 0; |
10837 | } | 11804 | } |
10838 | _ACEOF | 11805 | _ACEOF |
10839 | rm -f conftest.$ac_objext conftest$ac_exeext | 11806 | rm -f conftest.$ac_objext conftest$ac_exeext |
10840 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11807 | if { (ac_try="$ac_link" |
10841 | (eval $ac_link) 2>conftest.er1 | 11808 | case "(($ac_try" in |
11809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11810 | *) ac_try_echo=$ac_try;; | ||
11811 | esac | ||
11812 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11813 | (eval "$ac_link") 2>conftest.er1 | ||
10842 | ac_status=$? | 11814 | ac_status=$? |
10843 | grep -v '^ *+' conftest.er1 >conftest.err | 11815 | grep -v '^ *+' conftest.er1 >conftest.err |
10844 | rm -f conftest.er1 | 11816 | rm -f conftest.er1 |
10845 | cat conftest.err >&5 | 11817 | cat conftest.err >&5 |
10846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10847 | (exit $ac_status); } && | 11819 | (exit $ac_status); } && { |
10848 | { ac_try='test -z "$ac_c_werror_flag" | 11820 | test -z "$ac_c_werror_flag" || |
10849 | || test ! -s conftest.err' | 11821 | test ! -s conftest.err |
10850 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11822 | } && test -s conftest$ac_exeext && |
10851 | (eval $ac_try) 2>&5 | 11823 | $as_test_x conftest$ac_exeext; then |
10852 | ac_status=$? | ||
10853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10854 | (exit $ac_status); }; } && | ||
10855 | { ac_try='test -s conftest$ac_exeext' | ||
10856 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10857 | (eval $ac_try) 2>&5 | ||
10858 | ac_status=$? | ||
10859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10860 | (exit $ac_status); }; }; then | ||
10861 | ac_cv_lib_edit_el_init=yes | 11824 | ac_cv_lib_edit_el_init=yes |
10862 | else | 11825 | else |
10863 | echo "$as_me: failed program was:" >&5 | 11826 | echo "$as_me: failed program was:" >&5 |
10864 | sed 's/^/| /' conftest.$ac_ext >&5 | 11827 | sed 's/^/| /' conftest.$ac_ext >&5 |
10865 | 11828 | ||
10866 | ac_cv_lib_edit_el_init=no | 11829 | ac_cv_lib_edit_el_init=no |
10867 | fi | 11830 | fi |
10868 | rm -f conftest.err conftest.$ac_objext \ | 11831 | |
11832 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10869 | conftest$ac_exeext conftest.$ac_ext | 11833 | conftest$ac_exeext conftest.$ac_ext |
10870 | LIBS=$ac_check_lib_save_LIBS | 11834 | LIBS=$ac_check_lib_save_LIBS |
10871 | fi | 11835 | fi |
10872 | echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5 | 11836 | { echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5 |
10873 | echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6 | 11837 | echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6; } |
10874 | if test $ac_cv_lib_edit_el_init = yes; then | 11838 | if test $ac_cv_lib_edit_el_init = yes; then |
10875 | 11839 | ||
10876 | cat >>confdefs.h <<\_ACEOF | 11840 | cat >>confdefs.h <<\_ACEOF |
@@ -10887,8 +11851,8 @@ echo "$as_me: error: libedit not found" >&2;} | |||
10887 | { (exit 1); exit 1; }; } | 11851 | { (exit 1); exit 1; }; } |
10888 | fi | 11852 | fi |
10889 | 11853 | ||
10890 | echo "$as_me:$LINENO: checking if libedit version is compatible" >&5 | 11854 | { echo "$as_me:$LINENO: checking if libedit version is compatible" >&5 |
10891 | echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6 | 11855 | echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6; } |
10892 | cat >conftest.$ac_ext <<_ACEOF | 11856 | cat >conftest.$ac_ext <<_ACEOF |
10893 | /* confdefs.h. */ | 11857 | /* confdefs.h. */ |
10894 | _ACEOF | 11858 | _ACEOF |
@@ -10906,199 +11870,108 @@ int main(void) | |||
10906 | 11870 | ||
10907 | _ACEOF | 11871 | _ACEOF |
10908 | rm -f conftest.$ac_objext | 11872 | rm -f conftest.$ac_objext |
10909 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11873 | if { (ac_try="$ac_compile" |
10910 | (eval $ac_compile) 2>conftest.er1 | 11874 | case "(($ac_try" in |
11875 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11876 | *) ac_try_echo=$ac_try;; | ||
11877 | esac | ||
11878 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11879 | (eval "$ac_compile") 2>conftest.er1 | ||
10911 | ac_status=$? | 11880 | ac_status=$? |
10912 | grep -v '^ *+' conftest.er1 >conftest.err | 11881 | grep -v '^ *+' conftest.er1 >conftest.err |
10913 | rm -f conftest.er1 | 11882 | rm -f conftest.er1 |
10914 | cat conftest.err >&5 | 11883 | cat conftest.err >&5 |
10915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10916 | (exit $ac_status); } && | 11885 | (exit $ac_status); } && { |
10917 | { ac_try='test -z "$ac_c_werror_flag" | 11886 | test -z "$ac_c_werror_flag" || |
10918 | || test ! -s conftest.err' | 11887 | test ! -s conftest.err |
10919 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11888 | } && test -s conftest.$ac_objext; then |
10920 | (eval $ac_try) 2>&5 | 11889 | { echo "$as_me:$LINENO: result: yes" >&5 |
10921 | ac_status=$? | 11890 | echo "${ECHO_T}yes" >&6; } |
10922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10923 | (exit $ac_status); }; } && | ||
10924 | { ac_try='test -s conftest.$ac_objext' | ||
10925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10926 | (eval $ac_try) 2>&5 | ||
10927 | ac_status=$? | ||
10928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10929 | (exit $ac_status); }; }; then | ||
10930 | echo "$as_me:$LINENO: result: yes" >&5 | ||
10931 | echo "${ECHO_T}yes" >&6 | ||
10932 | else | 11891 | else |
10933 | echo "$as_me: failed program was:" >&5 | 11892 | echo "$as_me: failed program was:" >&5 |
10934 | sed 's/^/| /' conftest.$ac_ext >&5 | 11893 | sed 's/^/| /' conftest.$ac_ext >&5 |
10935 | 11894 | ||
10936 | echo "$as_me:$LINENO: result: no" >&5 | 11895 | { echo "$as_me:$LINENO: result: no" >&5 |
10937 | echo "${ECHO_T}no" >&6 | 11896 | echo "${ECHO_T}no" >&6; } |
10938 | { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5 | 11897 | { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5 |
10939 | echo "$as_me: error: libedit version is not compatible" >&2;} | 11898 | echo "$as_me: error: libedit version is not compatible" >&2;} |
10940 | { (exit 1); exit 1; }; } | 11899 | { (exit 1); exit 1; }; } |
10941 | 11900 | ||
10942 | fi | 11901 | fi |
10943 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11902 | |
11903 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10944 | fi | 11904 | fi |
10945 | 11905 | ||
10946 | fi; | 11906 | fi |
11907 | |||
10947 | 11908 | ||
10948 | AUDIT_MODULE=none | 11909 | AUDIT_MODULE=none |
10949 | 11910 | ||
10950 | # Check whether --with-audit or --without-audit was given. | 11911 | # Check whether --with-audit was given. |
10951 | if test "${with_audit+set}" = set; then | 11912 | if test "${with_audit+set}" = set; then |
10952 | withval="$with_audit" | 11913 | withval=$with_audit; |
10953 | 11914 | { echo "$as_me:$LINENO: checking for supported audit module" >&5 | |
10954 | echo "$as_me:$LINENO: checking for supported audit module" >&5 | 11915 | echo $ECHO_N "checking for supported audit module... $ECHO_C" >&6; } |
10955 | echo $ECHO_N "checking for supported audit module... $ECHO_C" >&6 | ||
10956 | case "$withval" in | 11916 | case "$withval" in |
10957 | bsm) | 11917 | bsm) |
10958 | echo "$as_me:$LINENO: result: bsm" >&5 | 11918 | { echo "$as_me:$LINENO: result: bsm" >&5 |
10959 | echo "${ECHO_T}bsm" >&6 | 11919 | echo "${ECHO_T}bsm" >&6; } |
10960 | AUDIT_MODULE=bsm | 11920 | AUDIT_MODULE=bsm |
10961 | 11921 | ||
10962 | for ac_header in bsm/audit.h | 11922 | for ac_header in bsm/audit.h |
10963 | do | 11923 | do |
10964 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11924 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10965 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11925 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10966 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 11926 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10967 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11927 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10968 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
10969 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11928 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10970 | fi | ||
10971 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
10972 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
10973 | else | 11929 | else |
10974 | # Is the header compilable? | 11930 | cat >conftest.$ac_ext <<_ACEOF |
10975 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
10976 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
10977 | cat >conftest.$ac_ext <<_ACEOF | ||
10978 | /* confdefs.h. */ | 11931 | /* confdefs.h. */ |
10979 | _ACEOF | 11932 | _ACEOF |
10980 | cat confdefs.h >>conftest.$ac_ext | 11933 | cat confdefs.h >>conftest.$ac_ext |
10981 | cat >>conftest.$ac_ext <<_ACEOF | 11934 | cat >>conftest.$ac_ext <<_ACEOF |
10982 | /* end confdefs.h. */ | 11935 | /* end confdefs.h. */ |
10983 | $ac_includes_default | ||
10984 | #include <$ac_header> | ||
10985 | _ACEOF | ||
10986 | rm -f conftest.$ac_objext | ||
10987 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10988 | (eval $ac_compile) 2>conftest.er1 | ||
10989 | ac_status=$? | ||
10990 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10991 | rm -f conftest.er1 | ||
10992 | cat conftest.err >&5 | ||
10993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10994 | (exit $ac_status); } && | ||
10995 | { ac_try='test -z "$ac_c_werror_flag" | ||
10996 | || test ! -s conftest.err' | ||
10997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10998 | (eval $ac_try) 2>&5 | ||
10999 | ac_status=$? | ||
11000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11001 | (exit $ac_status); }; } && | ||
11002 | { ac_try='test -s conftest.$ac_objext' | ||
11003 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11004 | (eval $ac_try) 2>&5 | ||
11005 | ac_status=$? | ||
11006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11007 | (exit $ac_status); }; }; then | ||
11008 | ac_header_compiler=yes | ||
11009 | else | ||
11010 | echo "$as_me: failed program was:" >&5 | ||
11011 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11012 | 11936 | ||
11013 | ac_header_compiler=no | 11937 | #ifdef HAVE_TIME_H |
11014 | fi | 11938 | # include <time.h> |
11015 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11939 | #endif |
11016 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 11940 | |
11017 | echo "${ECHO_T}$ac_header_compiler" >&6 | 11941 | |
11018 | 11942 | ||
11019 | # Is the header present? | ||
11020 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
11021 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
11022 | cat >conftest.$ac_ext <<_ACEOF | ||
11023 | /* confdefs.h. */ | ||
11024 | _ACEOF | ||
11025 | cat confdefs.h >>conftest.$ac_ext | ||
11026 | cat >>conftest.$ac_ext <<_ACEOF | ||
11027 | /* end confdefs.h. */ | ||
11028 | #include <$ac_header> | 11943 | #include <$ac_header> |
11029 | _ACEOF | 11944 | _ACEOF |
11030 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11945 | rm -f conftest.$ac_objext |
11031 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11946 | if { (ac_try="$ac_compile" |
11947 | case "(($ac_try" in | ||
11948 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11949 | *) ac_try_echo=$ac_try;; | ||
11950 | esac | ||
11951 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11952 | (eval "$ac_compile") 2>conftest.er1 | ||
11032 | ac_status=$? | 11953 | ac_status=$? |
11033 | grep -v '^ *+' conftest.er1 >conftest.err | 11954 | grep -v '^ *+' conftest.er1 >conftest.err |
11034 | rm -f conftest.er1 | 11955 | rm -f conftest.er1 |
11035 | cat conftest.err >&5 | 11956 | cat conftest.err >&5 |
11036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11957 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11037 | (exit $ac_status); } >/dev/null; then | 11958 | (exit $ac_status); } && { |
11038 | if test -s conftest.err; then | 11959 | test -z "$ac_c_werror_flag" || |
11039 | ac_cpp_err=$ac_c_preproc_warn_flag | 11960 | test ! -s conftest.err |
11040 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 11961 | } && test -s conftest.$ac_objext; then |
11041 | else | 11962 | eval "$as_ac_Header=yes" |
11042 | ac_cpp_err= | ||
11043 | fi | ||
11044 | else | ||
11045 | ac_cpp_err=yes | ||
11046 | fi | ||
11047 | if test -z "$ac_cpp_err"; then | ||
11048 | ac_header_preproc=yes | ||
11049 | else | 11963 | else |
11050 | echo "$as_me: failed program was:" >&5 | 11964 | echo "$as_me: failed program was:" >&5 |
11051 | sed 's/^/| /' conftest.$ac_ext >&5 | 11965 | sed 's/^/| /' conftest.$ac_ext >&5 |
11052 | 11966 | ||
11053 | ac_header_preproc=no | 11967 | eval "$as_ac_Header=no" |
11054 | fi | 11968 | fi |
11055 | rm -f conftest.err conftest.$ac_ext | ||
11056 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
11057 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
11058 | |||
11059 | # So? What about this header? | ||
11060 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
11061 | yes:no: ) | ||
11062 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
11063 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
11064 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
11065 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
11066 | ac_header_preproc=yes | ||
11067 | ;; | ||
11068 | no:yes:* ) | ||
11069 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
11070 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
11071 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
11072 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
11073 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
11074 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
11075 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
11076 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
11077 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
11078 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
11079 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
11080 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
11081 | ( | ||
11082 | cat <<\_ASBOX | ||
11083 | ## ------------------------------------------- ## | ||
11084 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
11085 | ## ------------------------------------------- ## | ||
11086 | _ASBOX | ||
11087 | ) | | ||
11088 | sed "s/^/$as_me: WARNING: /" >&2 | ||
11089 | ;; | ||
11090 | esac | ||
11091 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
11092 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
11093 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
11094 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11095 | else | ||
11096 | eval "$as_ac_Header=\$ac_header_preproc" | ||
11097 | fi | ||
11098 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
11099 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
11100 | 11969 | ||
11970 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
11101 | fi | 11971 | fi |
11972 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
11973 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
11974 | echo "${ECHO_T}$ac_res" >&6; } | ||
11102 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11975 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11103 | cat >>confdefs.h <<_ACEOF | 11976 | cat >>confdefs.h <<_ACEOF |
11104 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11977 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
@@ -11113,8 +11986,8 @@ fi | |||
11113 | done | 11986 | done |
11114 | 11987 | ||
11115 | 11988 | ||
11116 | echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5 | 11989 | { echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5 |
11117 | echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6 | 11990 | echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6; } |
11118 | if test "${ac_cv_lib_bsm_getaudit+set}" = set; then | 11991 | if test "${ac_cv_lib_bsm_getaudit+set}" = set; then |
11119 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11992 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11120 | else | 11993 | else |
@@ -11127,56 +12000,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
11127 | cat >>conftest.$ac_ext <<_ACEOF | 12000 | cat >>conftest.$ac_ext <<_ACEOF |
11128 | /* end confdefs.h. */ | 12001 | /* end confdefs.h. */ |
11129 | 12002 | ||
11130 | /* Override any gcc2 internal prototype to avoid an error. */ | 12003 | /* Override any GCC internal prototype to avoid an error. |
12004 | Use char because int might match the return type of a GCC | ||
12005 | builtin and then its argument prototype would still apply. */ | ||
11131 | #ifdef __cplusplus | 12006 | #ifdef __cplusplus |
11132 | extern "C" | 12007 | extern "C" |
11133 | #endif | 12008 | #endif |
11134 | /* We use char because int might match the return type of a gcc2 | ||
11135 | builtin and then its argument prototype would still apply. */ | ||
11136 | char getaudit (); | 12009 | char getaudit (); |
11137 | int | 12010 | int |
11138 | main () | 12011 | main () |
11139 | { | 12012 | { |
11140 | getaudit (); | 12013 | return getaudit (); |
11141 | ; | 12014 | ; |
11142 | return 0; | 12015 | return 0; |
11143 | } | 12016 | } |
11144 | _ACEOF | 12017 | _ACEOF |
11145 | rm -f conftest.$ac_objext conftest$ac_exeext | 12018 | rm -f conftest.$ac_objext conftest$ac_exeext |
11146 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12019 | if { (ac_try="$ac_link" |
11147 | (eval $ac_link) 2>conftest.er1 | 12020 | case "(($ac_try" in |
12021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12022 | *) ac_try_echo=$ac_try;; | ||
12023 | esac | ||
12024 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12025 | (eval "$ac_link") 2>conftest.er1 | ||
11148 | ac_status=$? | 12026 | ac_status=$? |
11149 | grep -v '^ *+' conftest.er1 >conftest.err | 12027 | grep -v '^ *+' conftest.er1 >conftest.err |
11150 | rm -f conftest.er1 | 12028 | rm -f conftest.er1 |
11151 | cat conftest.err >&5 | 12029 | cat conftest.err >&5 |
11152 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11153 | (exit $ac_status); } && | 12031 | (exit $ac_status); } && { |
11154 | { ac_try='test -z "$ac_c_werror_flag" | 12032 | test -z "$ac_c_werror_flag" || |
11155 | || test ! -s conftest.err' | 12033 | test ! -s conftest.err |
11156 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12034 | } && test -s conftest$ac_exeext && |
11157 | (eval $ac_try) 2>&5 | 12035 | $as_test_x conftest$ac_exeext; then |
11158 | ac_status=$? | ||
11159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11160 | (exit $ac_status); }; } && | ||
11161 | { ac_try='test -s conftest$ac_exeext' | ||
11162 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11163 | (eval $ac_try) 2>&5 | ||
11164 | ac_status=$? | ||
11165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11166 | (exit $ac_status); }; }; then | ||
11167 | ac_cv_lib_bsm_getaudit=yes | 12036 | ac_cv_lib_bsm_getaudit=yes |
11168 | else | 12037 | else |
11169 | echo "$as_me: failed program was:" >&5 | 12038 | echo "$as_me: failed program was:" >&5 |
11170 | sed 's/^/| /' conftest.$ac_ext >&5 | 12039 | sed 's/^/| /' conftest.$ac_ext >&5 |
11171 | 12040 | ||
11172 | ac_cv_lib_bsm_getaudit=no | 12041 | ac_cv_lib_bsm_getaudit=no |
11173 | fi | 12042 | fi |
11174 | rm -f conftest.err conftest.$ac_objext \ | 12043 | |
12044 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11175 | conftest$ac_exeext conftest.$ac_ext | 12045 | conftest$ac_exeext conftest.$ac_ext |
11176 | LIBS=$ac_check_lib_save_LIBS | 12046 | LIBS=$ac_check_lib_save_LIBS |
11177 | fi | 12047 | fi |
11178 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5 | 12048 | { echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5 |
11179 | echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6 | 12049 | echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6; } |
11180 | if test $ac_cv_lib_bsm_getaudit = yes; then | 12050 | if test $ac_cv_lib_bsm_getaudit = yes; then |
11181 | cat >>confdefs.h <<_ACEOF | 12051 | cat >>confdefs.h <<_ACEOF |
11182 | #define HAVE_LIBBSM 1 | 12052 | #define HAVE_LIBBSM 1 |
@@ -11194,9 +12064,9 @@ fi | |||
11194 | for ac_func in getaudit | 12064 | for ac_func in getaudit |
11195 | do | 12065 | do |
11196 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12066 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11197 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12067 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11198 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12068 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11199 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 12069 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11200 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12070 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11201 | else | 12071 | else |
11202 | cat >conftest.$ac_ext <<_ACEOF | 12072 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11222,68 +12092,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
11222 | 12092 | ||
11223 | #undef $ac_func | 12093 | #undef $ac_func |
11224 | 12094 | ||
11225 | /* Override any gcc2 internal prototype to avoid an error. */ | 12095 | /* Override any GCC internal prototype to avoid an error. |
12096 | Use char because int might match the return type of a GCC | ||
12097 | builtin and then its argument prototype would still apply. */ | ||
11226 | #ifdef __cplusplus | 12098 | #ifdef __cplusplus |
11227 | extern "C" | 12099 | extern "C" |
11228 | { | ||
11229 | #endif | 12100 | #endif |
11230 | /* We use char because int might match the return type of a gcc2 | ||
11231 | builtin and then its argument prototype would still apply. */ | ||
11232 | char $ac_func (); | 12101 | char $ac_func (); |
11233 | /* The GNU C library defines this for functions which it implements | 12102 | /* The GNU C library defines this for functions which it implements |
11234 | to always fail with ENOSYS. Some functions are actually named | 12103 | to always fail with ENOSYS. Some functions are actually named |
11235 | something starting with __ and the normal name is an alias. */ | 12104 | something starting with __ and the normal name is an alias. */ |
11236 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 12105 | #if defined __stub_$ac_func || defined __stub___$ac_func |
11237 | choke me | 12106 | choke me |
11238 | #else | ||
11239 | char (*f) () = $ac_func; | ||
11240 | #endif | ||
11241 | #ifdef __cplusplus | ||
11242 | } | ||
11243 | #endif | 12107 | #endif |
11244 | 12108 | ||
11245 | int | 12109 | int |
11246 | main () | 12110 | main () |
11247 | { | 12111 | { |
11248 | return f != $ac_func; | 12112 | return $ac_func (); |
11249 | ; | 12113 | ; |
11250 | return 0; | 12114 | return 0; |
11251 | } | 12115 | } |
11252 | _ACEOF | 12116 | _ACEOF |
11253 | rm -f conftest.$ac_objext conftest$ac_exeext | 12117 | rm -f conftest.$ac_objext conftest$ac_exeext |
11254 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12118 | if { (ac_try="$ac_link" |
11255 | (eval $ac_link) 2>conftest.er1 | 12119 | case "(($ac_try" in |
12120 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12121 | *) ac_try_echo=$ac_try;; | ||
12122 | esac | ||
12123 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12124 | (eval "$ac_link") 2>conftest.er1 | ||
11256 | ac_status=$? | 12125 | ac_status=$? |
11257 | grep -v '^ *+' conftest.er1 >conftest.err | 12126 | grep -v '^ *+' conftest.er1 >conftest.err |
11258 | rm -f conftest.er1 | 12127 | rm -f conftest.er1 |
11259 | cat conftest.err >&5 | 12128 | cat conftest.err >&5 |
11260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11261 | (exit $ac_status); } && | 12130 | (exit $ac_status); } && { |
11262 | { ac_try='test -z "$ac_c_werror_flag" | 12131 | test -z "$ac_c_werror_flag" || |
11263 | || test ! -s conftest.err' | 12132 | test ! -s conftest.err |
11264 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12133 | } && test -s conftest$ac_exeext && |
11265 | (eval $ac_try) 2>&5 | 12134 | $as_test_x conftest$ac_exeext; then |
11266 | ac_status=$? | ||
11267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11268 | (exit $ac_status); }; } && | ||
11269 | { ac_try='test -s conftest$ac_exeext' | ||
11270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11271 | (eval $ac_try) 2>&5 | ||
11272 | ac_status=$? | ||
11273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11274 | (exit $ac_status); }; }; then | ||
11275 | eval "$as_ac_var=yes" | 12135 | eval "$as_ac_var=yes" |
11276 | else | 12136 | else |
11277 | echo "$as_me: failed program was:" >&5 | 12137 | echo "$as_me: failed program was:" >&5 |
11278 | sed 's/^/| /' conftest.$ac_ext >&5 | 12138 | sed 's/^/| /' conftest.$ac_ext >&5 |
11279 | 12139 | ||
11280 | eval "$as_ac_var=no" | 12140 | eval "$as_ac_var=no" |
11281 | fi | 12141 | fi |
11282 | rm -f conftest.err conftest.$ac_objext \ | 12142 | |
12143 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11283 | conftest$ac_exeext conftest.$ac_ext | 12144 | conftest$ac_exeext conftest.$ac_ext |
11284 | fi | 12145 | fi |
11285 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12146 | ac_res=`eval echo '${'$as_ac_var'}'` |
11286 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12147 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12148 | echo "${ECHO_T}$ac_res" >&6; } | ||
11287 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 12149 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
11288 | cat >>confdefs.h <<_ACEOF | 12150 | cat >>confdefs.h <<_ACEOF |
11289 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12151 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -11301,9 +12163,9 @@ done | |||
11301 | for ac_func in getaudit_addr | 12163 | for ac_func in getaudit_addr |
11302 | do | 12164 | do |
11303 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12165 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11304 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12166 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11305 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12167 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11306 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 12168 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11307 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12169 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11308 | else | 12170 | else |
11309 | cat >conftest.$ac_ext <<_ACEOF | 12171 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11329,68 +12191,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
11329 | 12191 | ||
11330 | #undef $ac_func | 12192 | #undef $ac_func |
11331 | 12193 | ||
11332 | /* Override any gcc2 internal prototype to avoid an error. */ | 12194 | /* Override any GCC internal prototype to avoid an error. |
12195 | Use char because int might match the return type of a GCC | ||
12196 | builtin and then its argument prototype would still apply. */ | ||
11333 | #ifdef __cplusplus | 12197 | #ifdef __cplusplus |
11334 | extern "C" | 12198 | extern "C" |
11335 | { | ||
11336 | #endif | 12199 | #endif |
11337 | /* We use char because int might match the return type of a gcc2 | ||
11338 | builtin and then its argument prototype would still apply. */ | ||
11339 | char $ac_func (); | 12200 | char $ac_func (); |
11340 | /* The GNU C library defines this for functions which it implements | 12201 | /* The GNU C library defines this for functions which it implements |
11341 | to always fail with ENOSYS. Some functions are actually named | 12202 | to always fail with ENOSYS. Some functions are actually named |
11342 | something starting with __ and the normal name is an alias. */ | 12203 | something starting with __ and the normal name is an alias. */ |
11343 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 12204 | #if defined __stub_$ac_func || defined __stub___$ac_func |
11344 | choke me | 12205 | choke me |
11345 | #else | ||
11346 | char (*f) () = $ac_func; | ||
11347 | #endif | ||
11348 | #ifdef __cplusplus | ||
11349 | } | ||
11350 | #endif | 12206 | #endif |
11351 | 12207 | ||
11352 | int | 12208 | int |
11353 | main () | 12209 | main () |
11354 | { | 12210 | { |
11355 | return f != $ac_func; | 12211 | return $ac_func (); |
11356 | ; | 12212 | ; |
11357 | return 0; | 12213 | return 0; |
11358 | } | 12214 | } |
11359 | _ACEOF | 12215 | _ACEOF |
11360 | rm -f conftest.$ac_objext conftest$ac_exeext | 12216 | rm -f conftest.$ac_objext conftest$ac_exeext |
11361 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12217 | if { (ac_try="$ac_link" |
11362 | (eval $ac_link) 2>conftest.er1 | 12218 | case "(($ac_try" in |
12219 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12220 | *) ac_try_echo=$ac_try;; | ||
12221 | esac | ||
12222 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12223 | (eval "$ac_link") 2>conftest.er1 | ||
11363 | ac_status=$? | 12224 | ac_status=$? |
11364 | grep -v '^ *+' conftest.er1 >conftest.err | 12225 | grep -v '^ *+' conftest.er1 >conftest.err |
11365 | rm -f conftest.er1 | 12226 | rm -f conftest.er1 |
11366 | cat conftest.err >&5 | 12227 | cat conftest.err >&5 |
11367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11368 | (exit $ac_status); } && | 12229 | (exit $ac_status); } && { |
11369 | { ac_try='test -z "$ac_c_werror_flag" | 12230 | test -z "$ac_c_werror_flag" || |
11370 | || test ! -s conftest.err' | 12231 | test ! -s conftest.err |
11371 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12232 | } && test -s conftest$ac_exeext && |
11372 | (eval $ac_try) 2>&5 | 12233 | $as_test_x conftest$ac_exeext; then |
11373 | ac_status=$? | ||
11374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11375 | (exit $ac_status); }; } && | ||
11376 | { ac_try='test -s conftest$ac_exeext' | ||
11377 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11378 | (eval $ac_try) 2>&5 | ||
11379 | ac_status=$? | ||
11380 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11381 | (exit $ac_status); }; }; then | ||
11382 | eval "$as_ac_var=yes" | 12234 | eval "$as_ac_var=yes" |
11383 | else | 12235 | else |
11384 | echo "$as_me: failed program was:" >&5 | 12236 | echo "$as_me: failed program was:" >&5 |
11385 | sed 's/^/| /' conftest.$ac_ext >&5 | 12237 | sed 's/^/| /' conftest.$ac_ext >&5 |
11386 | 12238 | ||
11387 | eval "$as_ac_var=no" | 12239 | eval "$as_ac_var=no" |
11388 | fi | 12240 | fi |
11389 | rm -f conftest.err conftest.$ac_objext \ | 12241 | |
12242 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11390 | conftest$ac_exeext conftest.$ac_ext | 12243 | conftest$ac_exeext conftest.$ac_ext |
11391 | fi | 12244 | fi |
11392 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12245 | ac_res=`eval echo '${'$as_ac_var'}'` |
11393 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12246 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12247 | echo "${ECHO_T}$ac_res" >&6; } | ||
11394 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 12248 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
11395 | cat >>confdefs.h <<_ACEOF | 12249 | cat >>confdefs.h <<_ACEOF |
11396 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12250 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -11407,8 +12261,8 @@ _ACEOF | |||
11407 | ;; | 12261 | ;; |
11408 | debug) | 12262 | debug) |
11409 | AUDIT_MODULE=debug | 12263 | AUDIT_MODULE=debug |
11410 | echo "$as_me:$LINENO: result: debug" >&5 | 12264 | { echo "$as_me:$LINENO: result: debug" >&5 |
11411 | echo "${ECHO_T}debug" >&6 | 12265 | echo "${ECHO_T}debug" >&6; } |
11412 | 12266 | ||
11413 | cat >>confdefs.h <<\_ACEOF | 12267 | cat >>confdefs.h <<\_ACEOF |
11414 | #define SSH_AUDIT_EVENTS 1 | 12268 | #define SSH_AUDIT_EVENTS 1 |
@@ -11416,8 +12270,8 @@ _ACEOF | |||
11416 | 12270 | ||
11417 | ;; | 12271 | ;; |
11418 | no) | 12272 | no) |
11419 | echo "$as_me:$LINENO: result: no" >&5 | 12273 | { echo "$as_me:$LINENO: result: no" >&5 |
11420 | echo "${ECHO_T}no" >&6 | 12274 | echo "${ECHO_T}no" >&6; } |
11421 | ;; | 12275 | ;; |
11422 | *) | 12276 | *) |
11423 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 | 12277 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 |
@@ -11426,7 +12280,8 @@ echo "$as_me: error: Unknown audit module $withval" >&2;} | |||
11426 | ;; | 12280 | ;; |
11427 | esac | 12281 | esac |
11428 | 12282 | ||
11429 | fi; | 12283 | fi |
12284 | |||
11430 | 12285 | ||
11431 | 12286 | ||
11432 | 12287 | ||
@@ -11594,9 +12449,9 @@ for ac_func in \ | |||
11594 | 12449 | ||
11595 | do | 12450 | do |
11596 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12451 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11597 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12452 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11598 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12453 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11599 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 12454 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11600 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12455 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11601 | else | 12456 | else |
11602 | cat >conftest.$ac_ext <<_ACEOF | 12457 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11622,68 +12477,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
11622 | 12477 | ||
11623 | #undef $ac_func | 12478 | #undef $ac_func |
11624 | 12479 | ||
11625 | /* Override any gcc2 internal prototype to avoid an error. */ | 12480 | /* Override any GCC internal prototype to avoid an error. |
12481 | Use char because int might match the return type of a GCC | ||
12482 | builtin and then its argument prototype would still apply. */ | ||
11626 | #ifdef __cplusplus | 12483 | #ifdef __cplusplus |
11627 | extern "C" | 12484 | extern "C" |
11628 | { | ||
11629 | #endif | 12485 | #endif |
11630 | /* We use char because int might match the return type of a gcc2 | ||
11631 | builtin and then its argument prototype would still apply. */ | ||
11632 | char $ac_func (); | 12486 | char $ac_func (); |
11633 | /* The GNU C library defines this for functions which it implements | 12487 | /* The GNU C library defines this for functions which it implements |
11634 | to always fail with ENOSYS. Some functions are actually named | 12488 | to always fail with ENOSYS. Some functions are actually named |
11635 | something starting with __ and the normal name is an alias. */ | 12489 | something starting with __ and the normal name is an alias. */ |
11636 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 12490 | #if defined __stub_$ac_func || defined __stub___$ac_func |
11637 | choke me | 12491 | choke me |
11638 | #else | ||
11639 | char (*f) () = $ac_func; | ||
11640 | #endif | ||
11641 | #ifdef __cplusplus | ||
11642 | } | ||
11643 | #endif | 12492 | #endif |
11644 | 12493 | ||
11645 | int | 12494 | int |
11646 | main () | 12495 | main () |
11647 | { | 12496 | { |
11648 | return f != $ac_func; | 12497 | return $ac_func (); |
11649 | ; | 12498 | ; |
11650 | return 0; | 12499 | return 0; |
11651 | } | 12500 | } |
11652 | _ACEOF | 12501 | _ACEOF |
11653 | rm -f conftest.$ac_objext conftest$ac_exeext | 12502 | rm -f conftest.$ac_objext conftest$ac_exeext |
11654 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12503 | if { (ac_try="$ac_link" |
11655 | (eval $ac_link) 2>conftest.er1 | 12504 | case "(($ac_try" in |
12505 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12506 | *) ac_try_echo=$ac_try;; | ||
12507 | esac | ||
12508 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12509 | (eval "$ac_link") 2>conftest.er1 | ||
11656 | ac_status=$? | 12510 | ac_status=$? |
11657 | grep -v '^ *+' conftest.er1 >conftest.err | 12511 | grep -v '^ *+' conftest.er1 >conftest.err |
11658 | rm -f conftest.er1 | 12512 | rm -f conftest.er1 |
11659 | cat conftest.err >&5 | 12513 | cat conftest.err >&5 |
11660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12514 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11661 | (exit $ac_status); } && | 12515 | (exit $ac_status); } && { |
11662 | { ac_try='test -z "$ac_c_werror_flag" | 12516 | test -z "$ac_c_werror_flag" || |
11663 | || test ! -s conftest.err' | 12517 | test ! -s conftest.err |
11664 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12518 | } && test -s conftest$ac_exeext && |
11665 | (eval $ac_try) 2>&5 | 12519 | $as_test_x conftest$ac_exeext; then |
11666 | ac_status=$? | ||
11667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11668 | (exit $ac_status); }; } && | ||
11669 | { ac_try='test -s conftest$ac_exeext' | ||
11670 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11671 | (eval $ac_try) 2>&5 | ||
11672 | ac_status=$? | ||
11673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11674 | (exit $ac_status); }; }; then | ||
11675 | eval "$as_ac_var=yes" | 12520 | eval "$as_ac_var=yes" |
11676 | else | 12521 | else |
11677 | echo "$as_me: failed program was:" >&5 | 12522 | echo "$as_me: failed program was:" >&5 |
11678 | sed 's/^/| /' conftest.$ac_ext >&5 | 12523 | sed 's/^/| /' conftest.$ac_ext >&5 |
11679 | 12524 | ||
11680 | eval "$as_ac_var=no" | 12525 | eval "$as_ac_var=no" |
11681 | fi | 12526 | fi |
11682 | rm -f conftest.err conftest.$ac_objext \ | 12527 | |
12528 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11683 | conftest$ac_exeext conftest.$ac_ext | 12529 | conftest$ac_exeext conftest.$ac_ext |
11684 | fi | 12530 | fi |
11685 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12531 | ac_res=`eval echo '${'$as_ac_var'}'` |
11686 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12532 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12533 | echo "${ECHO_T}$ac_res" >&6; } | ||
11687 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 12534 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
11688 | cat >>confdefs.h <<_ACEOF | 12535 | cat >>confdefs.h <<_ACEOF |
11689 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12536 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -11698,9 +12545,9 @@ done | |||
11698 | for ac_func in gai_strerror | 12545 | for ac_func in gai_strerror |
11699 | do | 12546 | do |
11700 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12547 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11701 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12548 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11702 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12549 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
11703 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 12550 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
11704 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12551 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11705 | else | 12552 | else |
11706 | cat >conftest.$ac_ext <<_ACEOF | 12553 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11726,68 +12573,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
11726 | 12573 | ||
11727 | #undef $ac_func | 12574 | #undef $ac_func |
11728 | 12575 | ||
11729 | /* Override any gcc2 internal prototype to avoid an error. */ | 12576 | /* Override any GCC internal prototype to avoid an error. |
12577 | Use char because int might match the return type of a GCC | ||
12578 | builtin and then its argument prototype would still apply. */ | ||
11730 | #ifdef __cplusplus | 12579 | #ifdef __cplusplus |
11731 | extern "C" | 12580 | extern "C" |
11732 | { | ||
11733 | #endif | 12581 | #endif |
11734 | /* We use char because int might match the return type of a gcc2 | ||
11735 | builtin and then its argument prototype would still apply. */ | ||
11736 | char $ac_func (); | 12582 | char $ac_func (); |
11737 | /* The GNU C library defines this for functions which it implements | 12583 | /* The GNU C library defines this for functions which it implements |
11738 | to always fail with ENOSYS. Some functions are actually named | 12584 | to always fail with ENOSYS. Some functions are actually named |
11739 | something starting with __ and the normal name is an alias. */ | 12585 | something starting with __ and the normal name is an alias. */ |
11740 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 12586 | #if defined __stub_$ac_func || defined __stub___$ac_func |
11741 | choke me | 12587 | choke me |
11742 | #else | ||
11743 | char (*f) () = $ac_func; | ||
11744 | #endif | ||
11745 | #ifdef __cplusplus | ||
11746 | } | ||
11747 | #endif | 12588 | #endif |
11748 | 12589 | ||
11749 | int | 12590 | int |
11750 | main () | 12591 | main () |
11751 | { | 12592 | { |
11752 | return f != $ac_func; | 12593 | return $ac_func (); |
11753 | ; | 12594 | ; |
11754 | return 0; | 12595 | return 0; |
11755 | } | 12596 | } |
11756 | _ACEOF | 12597 | _ACEOF |
11757 | rm -f conftest.$ac_objext conftest$ac_exeext | 12598 | rm -f conftest.$ac_objext conftest$ac_exeext |
11758 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12599 | if { (ac_try="$ac_link" |
11759 | (eval $ac_link) 2>conftest.er1 | 12600 | case "(($ac_try" in |
12601 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12602 | *) ac_try_echo=$ac_try;; | ||
12603 | esac | ||
12604 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12605 | (eval "$ac_link") 2>conftest.er1 | ||
11760 | ac_status=$? | 12606 | ac_status=$? |
11761 | grep -v '^ *+' conftest.er1 >conftest.err | 12607 | grep -v '^ *+' conftest.er1 >conftest.err |
11762 | rm -f conftest.er1 | 12608 | rm -f conftest.er1 |
11763 | cat conftest.err >&5 | 12609 | cat conftest.err >&5 |
11764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11765 | (exit $ac_status); } && | 12611 | (exit $ac_status); } && { |
11766 | { ac_try='test -z "$ac_c_werror_flag" | 12612 | test -z "$ac_c_werror_flag" || |
11767 | || test ! -s conftest.err' | 12613 | test ! -s conftest.err |
11768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12614 | } && test -s conftest$ac_exeext && |
11769 | (eval $ac_try) 2>&5 | 12615 | $as_test_x conftest$ac_exeext; then |
11770 | ac_status=$? | ||
11771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11772 | (exit $ac_status); }; } && | ||
11773 | { ac_try='test -s conftest$ac_exeext' | ||
11774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11775 | (eval $ac_try) 2>&5 | ||
11776 | ac_status=$? | ||
11777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11778 | (exit $ac_status); }; }; then | ||
11779 | eval "$as_ac_var=yes" | 12616 | eval "$as_ac_var=yes" |
11780 | else | 12617 | else |
11781 | echo "$as_me: failed program was:" >&5 | 12618 | echo "$as_me: failed program was:" >&5 |
11782 | sed 's/^/| /' conftest.$ac_ext >&5 | 12619 | sed 's/^/| /' conftest.$ac_ext >&5 |
11783 | 12620 | ||
11784 | eval "$as_ac_var=no" | 12621 | eval "$as_ac_var=no" |
11785 | fi | 12622 | fi |
11786 | rm -f conftest.err conftest.$ac_objext \ | 12623 | |
12624 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11787 | conftest$ac_exeext conftest.$ac_ext | 12625 | conftest$ac_exeext conftest.$ac_ext |
11788 | fi | 12626 | fi |
11789 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12627 | ac_res=`eval echo '${'$as_ac_var'}'` |
11790 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12628 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12629 | echo "${ECHO_T}$ac_res" >&6; } | ||
11791 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 12630 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
11792 | cat >>confdefs.h <<_ACEOF | 12631 | cat >>confdefs.h <<_ACEOF |
11793 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12632 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -11821,27 +12660,22 @@ str = gai_strerror(0); | |||
11821 | } | 12660 | } |
11822 | _ACEOF | 12661 | _ACEOF |
11823 | rm -f conftest.$ac_objext | 12662 | rm -f conftest.$ac_objext |
11824 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12663 | if { (ac_try="$ac_compile" |
11825 | (eval $ac_compile) 2>conftest.er1 | 12664 | case "(($ac_try" in |
12665 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12666 | *) ac_try_echo=$ac_try;; | ||
12667 | esac | ||
12668 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12669 | (eval "$ac_compile") 2>conftest.er1 | ||
11826 | ac_status=$? | 12670 | ac_status=$? |
11827 | grep -v '^ *+' conftest.er1 >conftest.err | 12671 | grep -v '^ *+' conftest.er1 >conftest.err |
11828 | rm -f conftest.er1 | 12672 | rm -f conftest.er1 |
11829 | cat conftest.err >&5 | 12673 | cat conftest.err >&5 |
11830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11831 | (exit $ac_status); } && | 12675 | (exit $ac_status); } && { |
11832 | { ac_try='test -z "$ac_c_werror_flag" | 12676 | test -z "$ac_c_werror_flag" || |
11833 | || test ! -s conftest.err' | 12677 | test ! -s conftest.err |
11834 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12678 | } && test -s conftest.$ac_objext; then |
11835 | (eval $ac_try) 2>&5 | ||
11836 | ac_status=$? | ||
11837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11838 | (exit $ac_status); }; } && | ||
11839 | { ac_try='test -s conftest.$ac_objext' | ||
11840 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11841 | (eval $ac_try) 2>&5 | ||
11842 | ac_status=$? | ||
11843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11844 | (exit $ac_status); }; }; then | ||
11845 | 12679 | ||
11846 | 12680 | ||
11847 | cat >>confdefs.h <<\_ACEOF | 12681 | cat >>confdefs.h <<\_ACEOF |
@@ -11852,19 +12686,20 @@ else | |||
11852 | echo "$as_me: failed program was:" >&5 | 12686 | echo "$as_me: failed program was:" >&5 |
11853 | sed 's/^/| /' conftest.$ac_ext >&5 | 12687 | sed 's/^/| /' conftest.$ac_ext >&5 |
11854 | 12688 | ||
12689 | |||
11855 | fi | 12690 | fi |
11856 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12691 | |
12692 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
11857 | fi | 12693 | fi |
11858 | done | 12694 | done |
11859 | 12695 | ||
11860 | 12696 | ||
11861 | echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 | 12697 | { echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 |
11862 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 | 12698 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; } |
11863 | if test "${ac_cv_search_nanosleep+set}" = set; then | 12699 | if test "${ac_cv_search_nanosleep+set}" = set; then |
11864 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11865 | else | 12701 | else |
11866 | ac_func_search_save_LIBS=$LIBS | 12702 | ac_func_search_save_LIBS=$LIBS |
11867 | ac_cv_search_nanosleep=no | ||
11868 | cat >conftest.$ac_ext <<_ACEOF | 12703 | cat >conftest.$ac_ext <<_ACEOF |
11869 | /* confdefs.h. */ | 12704 | /* confdefs.h. */ |
11870 | _ACEOF | 12705 | _ACEOF |
@@ -11872,115 +12707,73 @@ cat confdefs.h >>conftest.$ac_ext | |||
11872 | cat >>conftest.$ac_ext <<_ACEOF | 12707 | cat >>conftest.$ac_ext <<_ACEOF |
11873 | /* end confdefs.h. */ | 12708 | /* end confdefs.h. */ |
11874 | 12709 | ||
11875 | /* Override any gcc2 internal prototype to avoid an error. */ | 12710 | /* Override any GCC internal prototype to avoid an error. |
12711 | Use char because int might match the return type of a GCC | ||
12712 | builtin and then its argument prototype would still apply. */ | ||
11876 | #ifdef __cplusplus | 12713 | #ifdef __cplusplus |
11877 | extern "C" | 12714 | extern "C" |
11878 | #endif | 12715 | #endif |
11879 | /* We use char because int might match the return type of a gcc2 | ||
11880 | builtin and then its argument prototype would still apply. */ | ||
11881 | char nanosleep (); | 12716 | char nanosleep (); |
11882 | int | 12717 | int |
11883 | main () | 12718 | main () |
11884 | { | 12719 | { |
11885 | nanosleep (); | 12720 | return nanosleep (); |
11886 | ; | 12721 | ; |
11887 | return 0; | 12722 | return 0; |
11888 | } | 12723 | } |
11889 | _ACEOF | 12724 | _ACEOF |
11890 | rm -f conftest.$ac_objext conftest$ac_exeext | 12725 | for ac_lib in '' rt posix4; do |
11891 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12726 | if test -z "$ac_lib"; then |
11892 | (eval $ac_link) 2>conftest.er1 | 12727 | ac_res="none required" |
12728 | else | ||
12729 | ac_res=-l$ac_lib | ||
12730 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
12731 | fi | ||
12732 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
12733 | if { (ac_try="$ac_link" | ||
12734 | case "(($ac_try" in | ||
12735 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12736 | *) ac_try_echo=$ac_try;; | ||
12737 | esac | ||
12738 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12739 | (eval "$ac_link") 2>conftest.er1 | ||
11893 | ac_status=$? | 12740 | ac_status=$? |
11894 | grep -v '^ *+' conftest.er1 >conftest.err | 12741 | grep -v '^ *+' conftest.er1 >conftest.err |
11895 | rm -f conftest.er1 | 12742 | rm -f conftest.er1 |
11896 | cat conftest.err >&5 | 12743 | cat conftest.err >&5 |
11897 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11898 | (exit $ac_status); } && | 12745 | (exit $ac_status); } && { |
11899 | { ac_try='test -z "$ac_c_werror_flag" | 12746 | test -z "$ac_c_werror_flag" || |
11900 | || test ! -s conftest.err' | 12747 | test ! -s conftest.err |
11901 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12748 | } && test -s conftest$ac_exeext && |
11902 | (eval $ac_try) 2>&5 | 12749 | $as_test_x conftest$ac_exeext; then |
11903 | ac_status=$? | 12750 | ac_cv_search_nanosleep=$ac_res |
11904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11905 | (exit $ac_status); }; } && | ||
11906 | { ac_try='test -s conftest$ac_exeext' | ||
11907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11908 | (eval $ac_try) 2>&5 | ||
11909 | ac_status=$? | ||
11910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11911 | (exit $ac_status); }; }; then | ||
11912 | ac_cv_search_nanosleep="none required" | ||
11913 | else | 12751 | else |
11914 | echo "$as_me: failed program was:" >&5 | 12752 | echo "$as_me: failed program was:" >&5 |
11915 | sed 's/^/| /' conftest.$ac_ext >&5 | 12753 | sed 's/^/| /' conftest.$ac_ext >&5 |
11916 | 12754 | ||
11917 | fi | ||
11918 | rm -f conftest.err conftest.$ac_objext \ | ||
11919 | conftest$ac_exeext conftest.$ac_ext | ||
11920 | if test "$ac_cv_search_nanosleep" = no; then | ||
11921 | for ac_lib in rt posix4; do | ||
11922 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
11923 | cat >conftest.$ac_ext <<_ACEOF | ||
11924 | /* confdefs.h. */ | ||
11925 | _ACEOF | ||
11926 | cat confdefs.h >>conftest.$ac_ext | ||
11927 | cat >>conftest.$ac_ext <<_ACEOF | ||
11928 | /* end confdefs.h. */ | ||
11929 | 12755 | ||
11930 | /* Override any gcc2 internal prototype to avoid an error. */ | 12756 | fi |
11931 | #ifdef __cplusplus | ||
11932 | extern "C" | ||
11933 | #endif | ||
11934 | /* We use char because int might match the return type of a gcc2 | ||
11935 | builtin and then its argument prototype would still apply. */ | ||
11936 | char nanosleep (); | ||
11937 | int | ||
11938 | main () | ||
11939 | { | ||
11940 | nanosleep (); | ||
11941 | ; | ||
11942 | return 0; | ||
11943 | } | ||
11944 | _ACEOF | ||
11945 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
11946 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
11947 | (eval $ac_link) 2>conftest.er1 | ||
11948 | ac_status=$? | ||
11949 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11950 | rm -f conftest.er1 | ||
11951 | cat conftest.err >&5 | ||
11952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11953 | (exit $ac_status); } && | ||
11954 | { ac_try='test -z "$ac_c_werror_flag" | ||
11955 | || test ! -s conftest.err' | ||
11956 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11957 | (eval $ac_try) 2>&5 | ||
11958 | ac_status=$? | ||
11959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11960 | (exit $ac_status); }; } && | ||
11961 | { ac_try='test -s conftest$ac_exeext' | ||
11962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11963 | (eval $ac_try) 2>&5 | ||
11964 | ac_status=$? | ||
11965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11966 | (exit $ac_status); }; }; then | ||
11967 | ac_cv_search_nanosleep="-l$ac_lib" | ||
11968 | break | ||
11969 | else | ||
11970 | echo "$as_me: failed program was:" >&5 | ||
11971 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11972 | 12757 | ||
12758 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12759 | conftest$ac_exeext | ||
12760 | if test "${ac_cv_search_nanosleep+set}" = set; then | ||
12761 | break | ||
11973 | fi | 12762 | fi |
11974 | rm -f conftest.err conftest.$ac_objext \ | 12763 | done |
11975 | conftest$ac_exeext conftest.$ac_ext | 12764 | if test "${ac_cv_search_nanosleep+set}" = set; then |
11976 | done | 12765 | : |
12766 | else | ||
12767 | ac_cv_search_nanosleep=no | ||
11977 | fi | 12768 | fi |
12769 | rm conftest.$ac_ext | ||
11978 | LIBS=$ac_func_search_save_LIBS | 12770 | LIBS=$ac_func_search_save_LIBS |
11979 | fi | 12771 | fi |
11980 | echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 | 12772 | { echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 |
11981 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 | 12773 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; } |
11982 | if test "$ac_cv_search_nanosleep" != no; then | 12774 | ac_res=$ac_cv_search_nanosleep |
11983 | test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" | 12775 | if test "$ac_res" != no; then |
12776 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
11984 | 12777 | ||
11985 | cat >>confdefs.h <<\_ACEOF | 12778 | cat >>confdefs.h <<\_ACEOF |
11986 | #define HAVE_NANOSLEEP 1 | 12779 | #define HAVE_NANOSLEEP 1 |
@@ -11989,8 +12782,8 @@ _ACEOF | |||
11989 | fi | 12782 | fi |
11990 | 12783 | ||
11991 | 12784 | ||
11992 | echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 | 12785 | { echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 |
11993 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 | 12786 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6; } |
11994 | if test "${ac_cv_have_decl_getrusage+set}" = set; then | 12787 | if test "${ac_cv_have_decl_getrusage+set}" = set; then |
11995 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12788 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11996 | else | 12789 | else |
@@ -12005,7 +12798,7 @@ int | |||
12005 | main () | 12798 | main () |
12006 | { | 12799 | { |
12007 | #ifndef getrusage | 12800 | #ifndef getrusage |
12008 | char *p = (char *) getrusage; | 12801 | (void) getrusage; |
12009 | #endif | 12802 | #endif |
12010 | 12803 | ||
12011 | ; | 12804 | ; |
@@ -12013,46 +12806,42 @@ main () | |||
12013 | } | 12806 | } |
12014 | _ACEOF | 12807 | _ACEOF |
12015 | rm -f conftest.$ac_objext | 12808 | rm -f conftest.$ac_objext |
12016 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12809 | if { (ac_try="$ac_compile" |
12017 | (eval $ac_compile) 2>conftest.er1 | 12810 | case "(($ac_try" in |
12811 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12812 | *) ac_try_echo=$ac_try;; | ||
12813 | esac | ||
12814 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12815 | (eval "$ac_compile") 2>conftest.er1 | ||
12018 | ac_status=$? | 12816 | ac_status=$? |
12019 | grep -v '^ *+' conftest.er1 >conftest.err | 12817 | grep -v '^ *+' conftest.er1 >conftest.err |
12020 | rm -f conftest.er1 | 12818 | rm -f conftest.er1 |
12021 | cat conftest.err >&5 | 12819 | cat conftest.err >&5 |
12022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12023 | (exit $ac_status); } && | 12821 | (exit $ac_status); } && { |
12024 | { ac_try='test -z "$ac_c_werror_flag" | 12822 | test -z "$ac_c_werror_flag" || |
12025 | || test ! -s conftest.err' | 12823 | test ! -s conftest.err |
12026 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12824 | } && test -s conftest.$ac_objext; then |
12027 | (eval $ac_try) 2>&5 | ||
12028 | ac_status=$? | ||
12029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12030 | (exit $ac_status); }; } && | ||
12031 | { ac_try='test -s conftest.$ac_objext' | ||
12032 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12033 | (eval $ac_try) 2>&5 | ||
12034 | ac_status=$? | ||
12035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12036 | (exit $ac_status); }; }; then | ||
12037 | ac_cv_have_decl_getrusage=yes | 12825 | ac_cv_have_decl_getrusage=yes |
12038 | else | 12826 | else |
12039 | echo "$as_me: failed program was:" >&5 | 12827 | echo "$as_me: failed program was:" >&5 |
12040 | sed 's/^/| /' conftest.$ac_ext >&5 | 12828 | sed 's/^/| /' conftest.$ac_ext >&5 |
12041 | 12829 | ||
12042 | ac_cv_have_decl_getrusage=no | 12830 | ac_cv_have_decl_getrusage=no |
12043 | fi | 12831 | fi |
12044 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12832 | |
12833 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
12045 | fi | 12834 | fi |
12046 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 | 12835 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 |
12047 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 | 12836 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6; } |
12048 | if test $ac_cv_have_decl_getrusage = yes; then | 12837 | if test $ac_cv_have_decl_getrusage = yes; then |
12049 | 12838 | ||
12050 | for ac_func in getrusage | 12839 | for ac_func in getrusage |
12051 | do | 12840 | do |
12052 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12841 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12053 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12842 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12054 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12843 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12055 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 12844 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12056 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12845 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12057 | else | 12846 | else |
12058 | cat >conftest.$ac_ext <<_ACEOF | 12847 | cat >conftest.$ac_ext <<_ACEOF |
@@ -12078,68 +12867,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
12078 | 12867 | ||
12079 | #undef $ac_func | 12868 | #undef $ac_func |
12080 | 12869 | ||
12081 | /* Override any gcc2 internal prototype to avoid an error. */ | 12870 | /* Override any GCC internal prototype to avoid an error. |
12871 | Use char because int might match the return type of a GCC | ||
12872 | builtin and then its argument prototype would still apply. */ | ||
12082 | #ifdef __cplusplus | 12873 | #ifdef __cplusplus |
12083 | extern "C" | 12874 | extern "C" |
12084 | { | ||
12085 | #endif | 12875 | #endif |
12086 | /* We use char because int might match the return type of a gcc2 | ||
12087 | builtin and then its argument prototype would still apply. */ | ||
12088 | char $ac_func (); | 12876 | char $ac_func (); |
12089 | /* The GNU C library defines this for functions which it implements | 12877 | /* The GNU C library defines this for functions which it implements |
12090 | to always fail with ENOSYS. Some functions are actually named | 12878 | to always fail with ENOSYS. Some functions are actually named |
12091 | something starting with __ and the normal name is an alias. */ | 12879 | something starting with __ and the normal name is an alias. */ |
12092 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 12880 | #if defined __stub_$ac_func || defined __stub___$ac_func |
12093 | choke me | 12881 | choke me |
12094 | #else | ||
12095 | char (*f) () = $ac_func; | ||
12096 | #endif | ||
12097 | #ifdef __cplusplus | ||
12098 | } | ||
12099 | #endif | 12882 | #endif |
12100 | 12883 | ||
12101 | int | 12884 | int |
12102 | main () | 12885 | main () |
12103 | { | 12886 | { |
12104 | return f != $ac_func; | 12887 | return $ac_func (); |
12105 | ; | 12888 | ; |
12106 | return 0; | 12889 | return 0; |
12107 | } | 12890 | } |
12108 | _ACEOF | 12891 | _ACEOF |
12109 | rm -f conftest.$ac_objext conftest$ac_exeext | 12892 | rm -f conftest.$ac_objext conftest$ac_exeext |
12110 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12893 | if { (ac_try="$ac_link" |
12111 | (eval $ac_link) 2>conftest.er1 | 12894 | case "(($ac_try" in |
12895 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12896 | *) ac_try_echo=$ac_try;; | ||
12897 | esac | ||
12898 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12899 | (eval "$ac_link") 2>conftest.er1 | ||
12112 | ac_status=$? | 12900 | ac_status=$? |
12113 | grep -v '^ *+' conftest.er1 >conftest.err | 12901 | grep -v '^ *+' conftest.er1 >conftest.err |
12114 | rm -f conftest.er1 | 12902 | rm -f conftest.er1 |
12115 | cat conftest.err >&5 | 12903 | cat conftest.err >&5 |
12116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12117 | (exit $ac_status); } && | 12905 | (exit $ac_status); } && { |
12118 | { ac_try='test -z "$ac_c_werror_flag" | 12906 | test -z "$ac_c_werror_flag" || |
12119 | || test ! -s conftest.err' | 12907 | test ! -s conftest.err |
12120 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12908 | } && test -s conftest$ac_exeext && |
12121 | (eval $ac_try) 2>&5 | 12909 | $as_test_x conftest$ac_exeext; then |
12122 | ac_status=$? | ||
12123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12124 | (exit $ac_status); }; } && | ||
12125 | { ac_try='test -s conftest$ac_exeext' | ||
12126 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12127 | (eval $ac_try) 2>&5 | ||
12128 | ac_status=$? | ||
12129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12130 | (exit $ac_status); }; }; then | ||
12131 | eval "$as_ac_var=yes" | 12910 | eval "$as_ac_var=yes" |
12132 | else | 12911 | else |
12133 | echo "$as_me: failed program was:" >&5 | 12912 | echo "$as_me: failed program was:" >&5 |
12134 | sed 's/^/| /' conftest.$ac_ext >&5 | 12913 | sed 's/^/| /' conftest.$ac_ext >&5 |
12135 | 12914 | ||
12136 | eval "$as_ac_var=no" | 12915 | eval "$as_ac_var=no" |
12137 | fi | 12916 | fi |
12138 | rm -f conftest.err conftest.$ac_objext \ | 12917 | |
12918 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12139 | conftest$ac_exeext conftest.$ac_ext | 12919 | conftest$ac_exeext conftest.$ac_ext |
12140 | fi | 12920 | fi |
12141 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12921 | ac_res=`eval echo '${'$as_ac_var'}'` |
12142 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12922 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12923 | echo "${ECHO_T}$ac_res" >&6; } | ||
12143 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 12924 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
12144 | cat >>confdefs.h <<_ACEOF | 12925 | cat >>confdefs.h <<_ACEOF |
12145 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12926 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -12150,8 +12931,8 @@ done | |||
12150 | 12931 | ||
12151 | fi | 12932 | fi |
12152 | 12933 | ||
12153 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 | 12934 | { echo "$as_me:$LINENO: checking whether strsep is declared" >&5 |
12154 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 | 12935 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6; } |
12155 | if test "${ac_cv_have_decl_strsep+set}" = set; then | 12936 | if test "${ac_cv_have_decl_strsep+set}" = set; then |
12156 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12937 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12157 | else | 12938 | else |
@@ -12171,7 +12952,7 @@ int | |||
12171 | main () | 12952 | main () |
12172 | { | 12953 | { |
12173 | #ifndef strsep | 12954 | #ifndef strsep |
12174 | char *p = (char *) strsep; | 12955 | (void) strsep; |
12175 | #endif | 12956 | #endif |
12176 | 12957 | ||
12177 | ; | 12958 | ; |
@@ -12179,46 +12960,42 @@ main () | |||
12179 | } | 12960 | } |
12180 | _ACEOF | 12961 | _ACEOF |
12181 | rm -f conftest.$ac_objext | 12962 | rm -f conftest.$ac_objext |
12182 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12963 | if { (ac_try="$ac_compile" |
12183 | (eval $ac_compile) 2>conftest.er1 | 12964 | case "(($ac_try" in |
12965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12966 | *) ac_try_echo=$ac_try;; | ||
12967 | esac | ||
12968 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12969 | (eval "$ac_compile") 2>conftest.er1 | ||
12184 | ac_status=$? | 12970 | ac_status=$? |
12185 | grep -v '^ *+' conftest.er1 >conftest.err | 12971 | grep -v '^ *+' conftest.er1 >conftest.err |
12186 | rm -f conftest.er1 | 12972 | rm -f conftest.er1 |
12187 | cat conftest.err >&5 | 12973 | cat conftest.err >&5 |
12188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12189 | (exit $ac_status); } && | 12975 | (exit $ac_status); } && { |
12190 | { ac_try='test -z "$ac_c_werror_flag" | 12976 | test -z "$ac_c_werror_flag" || |
12191 | || test ! -s conftest.err' | 12977 | test ! -s conftest.err |
12192 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12978 | } && test -s conftest.$ac_objext; then |
12193 | (eval $ac_try) 2>&5 | ||
12194 | ac_status=$? | ||
12195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12196 | (exit $ac_status); }; } && | ||
12197 | { ac_try='test -s conftest.$ac_objext' | ||
12198 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12199 | (eval $ac_try) 2>&5 | ||
12200 | ac_status=$? | ||
12201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12202 | (exit $ac_status); }; }; then | ||
12203 | ac_cv_have_decl_strsep=yes | 12979 | ac_cv_have_decl_strsep=yes |
12204 | else | 12980 | else |
12205 | echo "$as_me: failed program was:" >&5 | 12981 | echo "$as_me: failed program was:" >&5 |
12206 | sed 's/^/| /' conftest.$ac_ext >&5 | 12982 | sed 's/^/| /' conftest.$ac_ext >&5 |
12207 | 12983 | ||
12208 | ac_cv_have_decl_strsep=no | 12984 | ac_cv_have_decl_strsep=no |
12209 | fi | 12985 | fi |
12210 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12986 | |
12987 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
12211 | fi | 12988 | fi |
12212 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | 12989 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 |
12213 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 | 12990 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6; } |
12214 | if test $ac_cv_have_decl_strsep = yes; then | 12991 | if test $ac_cv_have_decl_strsep = yes; then |
12215 | 12992 | ||
12216 | for ac_func in strsep | 12993 | for ac_func in strsep |
12217 | do | 12994 | do |
12218 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12995 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12219 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12996 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12220 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12997 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12221 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 12998 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12222 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12999 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12223 | else | 13000 | else |
12224 | cat >conftest.$ac_ext <<_ACEOF | 13001 | cat >conftest.$ac_ext <<_ACEOF |
@@ -12244,68 +13021,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
12244 | 13021 | ||
12245 | #undef $ac_func | 13022 | #undef $ac_func |
12246 | 13023 | ||
12247 | /* Override any gcc2 internal prototype to avoid an error. */ | 13024 | /* Override any GCC internal prototype to avoid an error. |
13025 | Use char because int might match the return type of a GCC | ||
13026 | builtin and then its argument prototype would still apply. */ | ||
12248 | #ifdef __cplusplus | 13027 | #ifdef __cplusplus |
12249 | extern "C" | 13028 | extern "C" |
12250 | { | ||
12251 | #endif | 13029 | #endif |
12252 | /* We use char because int might match the return type of a gcc2 | ||
12253 | builtin and then its argument prototype would still apply. */ | ||
12254 | char $ac_func (); | 13030 | char $ac_func (); |
12255 | /* The GNU C library defines this for functions which it implements | 13031 | /* The GNU C library defines this for functions which it implements |
12256 | to always fail with ENOSYS. Some functions are actually named | 13032 | to always fail with ENOSYS. Some functions are actually named |
12257 | something starting with __ and the normal name is an alias. */ | 13033 | something starting with __ and the normal name is an alias. */ |
12258 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 13034 | #if defined __stub_$ac_func || defined __stub___$ac_func |
12259 | choke me | 13035 | choke me |
12260 | #else | ||
12261 | char (*f) () = $ac_func; | ||
12262 | #endif | ||
12263 | #ifdef __cplusplus | ||
12264 | } | ||
12265 | #endif | 13036 | #endif |
12266 | 13037 | ||
12267 | int | 13038 | int |
12268 | main () | 13039 | main () |
12269 | { | 13040 | { |
12270 | return f != $ac_func; | 13041 | return $ac_func (); |
12271 | ; | 13042 | ; |
12272 | return 0; | 13043 | return 0; |
12273 | } | 13044 | } |
12274 | _ACEOF | 13045 | _ACEOF |
12275 | rm -f conftest.$ac_objext conftest$ac_exeext | 13046 | rm -f conftest.$ac_objext conftest$ac_exeext |
12276 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13047 | if { (ac_try="$ac_link" |
12277 | (eval $ac_link) 2>conftest.er1 | 13048 | case "(($ac_try" in |
13049 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13050 | *) ac_try_echo=$ac_try;; | ||
13051 | esac | ||
13052 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13053 | (eval "$ac_link") 2>conftest.er1 | ||
12278 | ac_status=$? | 13054 | ac_status=$? |
12279 | grep -v '^ *+' conftest.er1 >conftest.err | 13055 | grep -v '^ *+' conftest.er1 >conftest.err |
12280 | rm -f conftest.er1 | 13056 | rm -f conftest.er1 |
12281 | cat conftest.err >&5 | 13057 | cat conftest.err >&5 |
12282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12283 | (exit $ac_status); } && | 13059 | (exit $ac_status); } && { |
12284 | { ac_try='test -z "$ac_c_werror_flag" | 13060 | test -z "$ac_c_werror_flag" || |
12285 | || test ! -s conftest.err' | 13061 | test ! -s conftest.err |
12286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13062 | } && test -s conftest$ac_exeext && |
12287 | (eval $ac_try) 2>&5 | 13063 | $as_test_x conftest$ac_exeext; then |
12288 | ac_status=$? | ||
12289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12290 | (exit $ac_status); }; } && | ||
12291 | { ac_try='test -s conftest$ac_exeext' | ||
12292 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12293 | (eval $ac_try) 2>&5 | ||
12294 | ac_status=$? | ||
12295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12296 | (exit $ac_status); }; }; then | ||
12297 | eval "$as_ac_var=yes" | 13064 | eval "$as_ac_var=yes" |
12298 | else | 13065 | else |
12299 | echo "$as_me: failed program was:" >&5 | 13066 | echo "$as_me: failed program was:" >&5 |
12300 | sed 's/^/| /' conftest.$ac_ext >&5 | 13067 | sed 's/^/| /' conftest.$ac_ext >&5 |
12301 | 13068 | ||
12302 | eval "$as_ac_var=no" | 13069 | eval "$as_ac_var=no" |
12303 | fi | 13070 | fi |
12304 | rm -f conftest.err conftest.$ac_objext \ | 13071 | |
13072 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12305 | conftest$ac_exeext conftest.$ac_ext | 13073 | conftest$ac_exeext conftest.$ac_ext |
12306 | fi | 13074 | fi |
12307 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 13075 | ac_res=`eval echo '${'$as_ac_var'}'` |
12308 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 13076 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13077 | echo "${ECHO_T}$ac_res" >&6; } | ||
12309 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13078 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
12310 | cat >>confdefs.h <<_ACEOF | 13079 | cat >>confdefs.h <<_ACEOF |
12311 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13080 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -12317,8 +13086,8 @@ done | |||
12317 | fi | 13086 | fi |
12318 | 13087 | ||
12319 | 13088 | ||
12320 | echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5 | 13089 | { echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5 |
12321 | echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6 | 13090 | echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6; } |
12322 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then | 13091 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then |
12323 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13092 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12324 | else | 13093 | else |
@@ -12335,7 +13104,7 @@ int | |||
12335 | main () | 13104 | main () |
12336 | { | 13105 | { |
12337 | #ifndef tcsendbreak | 13106 | #ifndef tcsendbreak |
12338 | char *p = (char *) tcsendbreak; | 13107 | (void) tcsendbreak; |
12339 | #endif | 13108 | #endif |
12340 | 13109 | ||
12341 | ; | 13110 | ; |
@@ -12343,38 +13112,34 @@ main () | |||
12343 | } | 13112 | } |
12344 | _ACEOF | 13113 | _ACEOF |
12345 | rm -f conftest.$ac_objext | 13114 | rm -f conftest.$ac_objext |
12346 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13115 | if { (ac_try="$ac_compile" |
12347 | (eval $ac_compile) 2>conftest.er1 | 13116 | case "(($ac_try" in |
13117 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13118 | *) ac_try_echo=$ac_try;; | ||
13119 | esac | ||
13120 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13121 | (eval "$ac_compile") 2>conftest.er1 | ||
12348 | ac_status=$? | 13122 | ac_status=$? |
12349 | grep -v '^ *+' conftest.er1 >conftest.err | 13123 | grep -v '^ *+' conftest.er1 >conftest.err |
12350 | rm -f conftest.er1 | 13124 | rm -f conftest.er1 |
12351 | cat conftest.err >&5 | 13125 | cat conftest.err >&5 |
12352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12353 | (exit $ac_status); } && | 13127 | (exit $ac_status); } && { |
12354 | { ac_try='test -z "$ac_c_werror_flag" | 13128 | test -z "$ac_c_werror_flag" || |
12355 | || test ! -s conftest.err' | 13129 | test ! -s conftest.err |
12356 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13130 | } && test -s conftest.$ac_objext; then |
12357 | (eval $ac_try) 2>&5 | ||
12358 | ac_status=$? | ||
12359 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12360 | (exit $ac_status); }; } && | ||
12361 | { ac_try='test -s conftest.$ac_objext' | ||
12362 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12363 | (eval $ac_try) 2>&5 | ||
12364 | ac_status=$? | ||
12365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12366 | (exit $ac_status); }; }; then | ||
12367 | ac_cv_have_decl_tcsendbreak=yes | 13131 | ac_cv_have_decl_tcsendbreak=yes |
12368 | else | 13132 | else |
12369 | echo "$as_me: failed program was:" >&5 | 13133 | echo "$as_me: failed program was:" >&5 |
12370 | sed 's/^/| /' conftest.$ac_ext >&5 | 13134 | sed 's/^/| /' conftest.$ac_ext >&5 |
12371 | 13135 | ||
12372 | ac_cv_have_decl_tcsendbreak=no | 13136 | ac_cv_have_decl_tcsendbreak=no |
12373 | fi | 13137 | fi |
12374 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13138 | |
13139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
12375 | fi | 13140 | fi |
12376 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5 | 13141 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5 |
12377 | echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6 | 13142 | echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6; } |
12378 | if test $ac_cv_have_decl_tcsendbreak = yes; then | 13143 | if test $ac_cv_have_decl_tcsendbreak = yes; then |
12379 | cat >>confdefs.h <<\_ACEOF | 13144 | cat >>confdefs.h <<\_ACEOF |
12380 | #define HAVE_TCSENDBREAK 1 | 13145 | #define HAVE_TCSENDBREAK 1 |
@@ -12385,9 +13150,9 @@ else | |||
12385 | for ac_func in tcsendbreak | 13150 | for ac_func in tcsendbreak |
12386 | do | 13151 | do |
12387 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13152 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12388 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 13153 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12389 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 13154 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12390 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 13155 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12391 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13156 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12392 | else | 13157 | else |
12393 | cat >conftest.$ac_ext <<_ACEOF | 13158 | cat >conftest.$ac_ext <<_ACEOF |
@@ -12413,68 +13178,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
12413 | 13178 | ||
12414 | #undef $ac_func | 13179 | #undef $ac_func |
12415 | 13180 | ||
12416 | /* Override any gcc2 internal prototype to avoid an error. */ | 13181 | /* Override any GCC internal prototype to avoid an error. |
13182 | Use char because int might match the return type of a GCC | ||
13183 | builtin and then its argument prototype would still apply. */ | ||
12417 | #ifdef __cplusplus | 13184 | #ifdef __cplusplus |
12418 | extern "C" | 13185 | extern "C" |
12419 | { | ||
12420 | #endif | 13186 | #endif |
12421 | /* We use char because int might match the return type of a gcc2 | ||
12422 | builtin and then its argument prototype would still apply. */ | ||
12423 | char $ac_func (); | 13187 | char $ac_func (); |
12424 | /* The GNU C library defines this for functions which it implements | 13188 | /* The GNU C library defines this for functions which it implements |
12425 | to always fail with ENOSYS. Some functions are actually named | 13189 | to always fail with ENOSYS. Some functions are actually named |
12426 | something starting with __ and the normal name is an alias. */ | 13190 | something starting with __ and the normal name is an alias. */ |
12427 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 13191 | #if defined __stub_$ac_func || defined __stub___$ac_func |
12428 | choke me | 13192 | choke me |
12429 | #else | ||
12430 | char (*f) () = $ac_func; | ||
12431 | #endif | ||
12432 | #ifdef __cplusplus | ||
12433 | } | ||
12434 | #endif | 13193 | #endif |
12435 | 13194 | ||
12436 | int | 13195 | int |
12437 | main () | 13196 | main () |
12438 | { | 13197 | { |
12439 | return f != $ac_func; | 13198 | return $ac_func (); |
12440 | ; | 13199 | ; |
12441 | return 0; | 13200 | return 0; |
12442 | } | 13201 | } |
12443 | _ACEOF | 13202 | _ACEOF |
12444 | rm -f conftest.$ac_objext conftest$ac_exeext | 13203 | rm -f conftest.$ac_objext conftest$ac_exeext |
12445 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13204 | if { (ac_try="$ac_link" |
12446 | (eval $ac_link) 2>conftest.er1 | 13205 | case "(($ac_try" in |
13206 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13207 | *) ac_try_echo=$ac_try;; | ||
13208 | esac | ||
13209 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13210 | (eval "$ac_link") 2>conftest.er1 | ||
12447 | ac_status=$? | 13211 | ac_status=$? |
12448 | grep -v '^ *+' conftest.er1 >conftest.err | 13212 | grep -v '^ *+' conftest.er1 >conftest.err |
12449 | rm -f conftest.er1 | 13213 | rm -f conftest.er1 |
12450 | cat conftest.err >&5 | 13214 | cat conftest.err >&5 |
12451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12452 | (exit $ac_status); } && | 13216 | (exit $ac_status); } && { |
12453 | { ac_try='test -z "$ac_c_werror_flag" | 13217 | test -z "$ac_c_werror_flag" || |
12454 | || test ! -s conftest.err' | 13218 | test ! -s conftest.err |
12455 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13219 | } && test -s conftest$ac_exeext && |
12456 | (eval $ac_try) 2>&5 | 13220 | $as_test_x conftest$ac_exeext; then |
12457 | ac_status=$? | ||
12458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12459 | (exit $ac_status); }; } && | ||
12460 | { ac_try='test -s conftest$ac_exeext' | ||
12461 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12462 | (eval $ac_try) 2>&5 | ||
12463 | ac_status=$? | ||
12464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12465 | (exit $ac_status); }; }; then | ||
12466 | eval "$as_ac_var=yes" | 13221 | eval "$as_ac_var=yes" |
12467 | else | 13222 | else |
12468 | echo "$as_me: failed program was:" >&5 | 13223 | echo "$as_me: failed program was:" >&5 |
12469 | sed 's/^/| /' conftest.$ac_ext >&5 | 13224 | sed 's/^/| /' conftest.$ac_ext >&5 |
12470 | 13225 | ||
12471 | eval "$as_ac_var=no" | 13226 | eval "$as_ac_var=no" |
12472 | fi | 13227 | fi |
12473 | rm -f conftest.err conftest.$ac_objext \ | 13228 | |
13229 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12474 | conftest$ac_exeext conftest.$ac_ext | 13230 | conftest$ac_exeext conftest.$ac_ext |
12475 | fi | 13231 | fi |
12476 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 13232 | ac_res=`eval echo '${'$as_ac_var'}'` |
12477 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 13233 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13234 | echo "${ECHO_T}$ac_res" >&6; } | ||
12478 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13235 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
12479 | cat >>confdefs.h <<_ACEOF | 13236 | cat >>confdefs.h <<_ACEOF |
12480 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13237 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -12486,8 +13243,8 @@ done | |||
12486 | fi | 13243 | fi |
12487 | 13244 | ||
12488 | 13245 | ||
12489 | echo "$as_me:$LINENO: checking whether h_errno is declared" >&5 | 13246 | { echo "$as_me:$LINENO: checking whether h_errno is declared" >&5 |
12490 | echo $ECHO_N "checking whether h_errno is declared... $ECHO_C" >&6 | 13247 | echo $ECHO_N "checking whether h_errno is declared... $ECHO_C" >&6; } |
12491 | if test "${ac_cv_have_decl_h_errno+set}" = set; then | 13248 | if test "${ac_cv_have_decl_h_errno+set}" = set; then |
12492 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13249 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12493 | else | 13250 | else |
@@ -12503,7 +13260,7 @@ int | |||
12503 | main () | 13260 | main () |
12504 | { | 13261 | { |
12505 | #ifndef h_errno | 13262 | #ifndef h_errno |
12506 | char *p = (char *) h_errno; | 13263 | (void) h_errno; |
12507 | #endif | 13264 | #endif |
12508 | 13265 | ||
12509 | ; | 13266 | ; |
@@ -12511,38 +13268,34 @@ main () | |||
12511 | } | 13268 | } |
12512 | _ACEOF | 13269 | _ACEOF |
12513 | rm -f conftest.$ac_objext | 13270 | rm -f conftest.$ac_objext |
12514 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13271 | if { (ac_try="$ac_compile" |
12515 | (eval $ac_compile) 2>conftest.er1 | 13272 | case "(($ac_try" in |
13273 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13274 | *) ac_try_echo=$ac_try;; | ||
13275 | esac | ||
13276 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13277 | (eval "$ac_compile") 2>conftest.er1 | ||
12516 | ac_status=$? | 13278 | ac_status=$? |
12517 | grep -v '^ *+' conftest.er1 >conftest.err | 13279 | grep -v '^ *+' conftest.er1 >conftest.err |
12518 | rm -f conftest.er1 | 13280 | rm -f conftest.er1 |
12519 | cat conftest.err >&5 | 13281 | cat conftest.err >&5 |
12520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12521 | (exit $ac_status); } && | 13283 | (exit $ac_status); } && { |
12522 | { ac_try='test -z "$ac_c_werror_flag" | 13284 | test -z "$ac_c_werror_flag" || |
12523 | || test ! -s conftest.err' | 13285 | test ! -s conftest.err |
12524 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13286 | } && test -s conftest.$ac_objext; then |
12525 | (eval $ac_try) 2>&5 | ||
12526 | ac_status=$? | ||
12527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12528 | (exit $ac_status); }; } && | ||
12529 | { ac_try='test -s conftest.$ac_objext' | ||
12530 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12531 | (eval $ac_try) 2>&5 | ||
12532 | ac_status=$? | ||
12533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12534 | (exit $ac_status); }; }; then | ||
12535 | ac_cv_have_decl_h_errno=yes | 13287 | ac_cv_have_decl_h_errno=yes |
12536 | else | 13288 | else |
12537 | echo "$as_me: failed program was:" >&5 | 13289 | echo "$as_me: failed program was:" >&5 |
12538 | sed 's/^/| /' conftest.$ac_ext >&5 | 13290 | sed 's/^/| /' conftest.$ac_ext >&5 |
12539 | 13291 | ||
12540 | ac_cv_have_decl_h_errno=no | 13292 | ac_cv_have_decl_h_errno=no |
12541 | fi | 13293 | fi |
12542 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13294 | |
13295 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
12543 | fi | 13296 | fi |
12544 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5 | 13297 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5 |
12545 | echo "${ECHO_T}$ac_cv_have_decl_h_errno" >&6 | 13298 | echo "${ECHO_T}$ac_cv_have_decl_h_errno" >&6; } |
12546 | if test $ac_cv_have_decl_h_errno = yes; then | 13299 | if test $ac_cv_have_decl_h_errno = yes; then |
12547 | 13300 | ||
12548 | cat >>confdefs.h <<_ACEOF | 13301 | cat >>confdefs.h <<_ACEOF |
@@ -12560,13 +13313,238 @@ fi | |||
12560 | 13313 | ||
12561 | 13314 | ||
12562 | 13315 | ||
13316 | { echo "$as_me:$LINENO: checking whether SHUT_RD is declared" >&5 | ||
13317 | echo $ECHO_N "checking whether SHUT_RD is declared... $ECHO_C" >&6; } | ||
13318 | if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then | ||
13319 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13320 | else | ||
13321 | cat >conftest.$ac_ext <<_ACEOF | ||
13322 | /* confdefs.h. */ | ||
13323 | _ACEOF | ||
13324 | cat confdefs.h >>conftest.$ac_ext | ||
13325 | cat >>conftest.$ac_ext <<_ACEOF | ||
13326 | /* end confdefs.h. */ | ||
13327 | |||
13328 | #include <sys/types.h> | ||
13329 | #include <sys/socket.h> | ||
13330 | |||
13331 | |||
13332 | int | ||
13333 | main () | ||
13334 | { | ||
13335 | #ifndef SHUT_RD | ||
13336 | (void) SHUT_RD; | ||
13337 | #endif | ||
13338 | |||
13339 | ; | ||
13340 | return 0; | ||
13341 | } | ||
13342 | _ACEOF | ||
13343 | rm -f conftest.$ac_objext | ||
13344 | if { (ac_try="$ac_compile" | ||
13345 | case "(($ac_try" in | ||
13346 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13347 | *) ac_try_echo=$ac_try;; | ||
13348 | esac | ||
13349 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13350 | (eval "$ac_compile") 2>conftest.er1 | ||
13351 | ac_status=$? | ||
13352 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13353 | rm -f conftest.er1 | ||
13354 | cat conftest.err >&5 | ||
13355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13356 | (exit $ac_status); } && { | ||
13357 | test -z "$ac_c_werror_flag" || | ||
13358 | test ! -s conftest.err | ||
13359 | } && test -s conftest.$ac_objext; then | ||
13360 | ac_cv_have_decl_SHUT_RD=yes | ||
13361 | else | ||
13362 | echo "$as_me: failed program was:" >&5 | ||
13363 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13364 | |||
13365 | ac_cv_have_decl_SHUT_RD=no | ||
13366 | fi | ||
13367 | |||
13368 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13369 | fi | ||
13370 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHUT_RD" >&5 | ||
13371 | echo "${ECHO_T}$ac_cv_have_decl_SHUT_RD" >&6; } | ||
13372 | if test $ac_cv_have_decl_SHUT_RD = yes; then | ||
13373 | |||
13374 | cat >>confdefs.h <<_ACEOF | ||
13375 | #define HAVE_DECL_SHUT_RD 1 | ||
13376 | _ACEOF | ||
13377 | |||
13378 | |||
13379 | else | ||
13380 | cat >>confdefs.h <<_ACEOF | ||
13381 | #define HAVE_DECL_SHUT_RD 0 | ||
13382 | _ACEOF | ||
13383 | |||
13384 | |||
13385 | fi | ||
13386 | |||
13387 | |||
13388 | |||
13389 | { echo "$as_me:$LINENO: checking whether O_NONBLOCK is declared" >&5 | ||
13390 | echo $ECHO_N "checking whether O_NONBLOCK is declared... $ECHO_C" >&6; } | ||
13391 | if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then | ||
13392 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13393 | else | ||
13394 | cat >conftest.$ac_ext <<_ACEOF | ||
13395 | /* confdefs.h. */ | ||
13396 | _ACEOF | ||
13397 | cat confdefs.h >>conftest.$ac_ext | ||
13398 | cat >>conftest.$ac_ext <<_ACEOF | ||
13399 | /* end confdefs.h. */ | ||
13400 | |||
13401 | #include <sys/types.h> | ||
13402 | #ifdef HAVE_SYS_STAT_H | ||
13403 | # include <sys/stat.h> | ||
13404 | #endif | ||
13405 | #ifdef HAVE_FCNTL_H | ||
13406 | # include <fcntl.h> | ||
13407 | #endif | ||
13408 | |||
13409 | |||
13410 | int | ||
13411 | main () | ||
13412 | { | ||
13413 | #ifndef O_NONBLOCK | ||
13414 | (void) O_NONBLOCK; | ||
13415 | #endif | ||
13416 | |||
13417 | ; | ||
13418 | return 0; | ||
13419 | } | ||
13420 | _ACEOF | ||
13421 | rm -f conftest.$ac_objext | ||
13422 | if { (ac_try="$ac_compile" | ||
13423 | case "(($ac_try" in | ||
13424 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13425 | *) ac_try_echo=$ac_try;; | ||
13426 | esac | ||
13427 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13428 | (eval "$ac_compile") 2>conftest.er1 | ||
13429 | ac_status=$? | ||
13430 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13431 | rm -f conftest.er1 | ||
13432 | cat conftest.err >&5 | ||
13433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13434 | (exit $ac_status); } && { | ||
13435 | test -z "$ac_c_werror_flag" || | ||
13436 | test ! -s conftest.err | ||
13437 | } && test -s conftest.$ac_objext; then | ||
13438 | ac_cv_have_decl_O_NONBLOCK=yes | ||
13439 | else | ||
13440 | echo "$as_me: failed program was:" >&5 | ||
13441 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13442 | |||
13443 | ac_cv_have_decl_O_NONBLOCK=no | ||
13444 | fi | ||
13445 | |||
13446 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13447 | fi | ||
13448 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_NONBLOCK" >&5 | ||
13449 | echo "${ECHO_T}$ac_cv_have_decl_O_NONBLOCK" >&6; } | ||
13450 | if test $ac_cv_have_decl_O_NONBLOCK = yes; then | ||
13451 | |||
13452 | cat >>confdefs.h <<_ACEOF | ||
13453 | #define HAVE_DECL_O_NONBLOCK 1 | ||
13454 | _ACEOF | ||
13455 | |||
13456 | |||
13457 | else | ||
13458 | cat >>confdefs.h <<_ACEOF | ||
13459 | #define HAVE_DECL_O_NONBLOCK 0 | ||
13460 | _ACEOF | ||
13461 | |||
13462 | |||
13463 | fi | ||
13464 | |||
13465 | |||
13466 | |||
13467 | { echo "$as_me:$LINENO: checking whether writev is declared" >&5 | ||
13468 | echo $ECHO_N "checking whether writev is declared... $ECHO_C" >&6; } | ||
13469 | if test "${ac_cv_have_decl_writev+set}" = set; then | ||
13470 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13471 | else | ||
13472 | cat >conftest.$ac_ext <<_ACEOF | ||
13473 | /* confdefs.h. */ | ||
13474 | _ACEOF | ||
13475 | cat confdefs.h >>conftest.$ac_ext | ||
13476 | cat >>conftest.$ac_ext <<_ACEOF | ||
13477 | /* end confdefs.h. */ | ||
13478 | |||
13479 | #include <sys/types.h> | ||
13480 | #include <sys/uio.h> | ||
13481 | #include <unistd.h> | ||
13482 | |||
13483 | |||
13484 | int | ||
13485 | main () | ||
13486 | { | ||
13487 | #ifndef writev | ||
13488 | (void) writev; | ||
13489 | #endif | ||
13490 | |||
13491 | ; | ||
13492 | return 0; | ||
13493 | } | ||
13494 | _ACEOF | ||
13495 | rm -f conftest.$ac_objext | ||
13496 | if { (ac_try="$ac_compile" | ||
13497 | case "(($ac_try" in | ||
13498 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13499 | *) ac_try_echo=$ac_try;; | ||
13500 | esac | ||
13501 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13502 | (eval "$ac_compile") 2>conftest.er1 | ||
13503 | ac_status=$? | ||
13504 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13505 | rm -f conftest.er1 | ||
13506 | cat conftest.err >&5 | ||
13507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13508 | (exit $ac_status); } && { | ||
13509 | test -z "$ac_c_werror_flag" || | ||
13510 | test ! -s conftest.err | ||
13511 | } && test -s conftest.$ac_objext; then | ||
13512 | ac_cv_have_decl_writev=yes | ||
13513 | else | ||
13514 | echo "$as_me: failed program was:" >&5 | ||
13515 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13516 | |||
13517 | ac_cv_have_decl_writev=no | ||
13518 | fi | ||
13519 | |||
13520 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13521 | fi | ||
13522 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_writev" >&5 | ||
13523 | echo "${ECHO_T}$ac_cv_have_decl_writev" >&6; } | ||
13524 | if test $ac_cv_have_decl_writev = yes; then | ||
13525 | |||
13526 | cat >>confdefs.h <<_ACEOF | ||
13527 | #define HAVE_DECL_WRITEV 1 | ||
13528 | _ACEOF | ||
13529 | |||
13530 | |||
13531 | else | ||
13532 | cat >>confdefs.h <<_ACEOF | ||
13533 | #define HAVE_DECL_WRITEV 0 | ||
13534 | _ACEOF | ||
13535 | |||
13536 | |||
13537 | fi | ||
13538 | |||
13539 | |||
13540 | |||
12563 | 13541 | ||
12564 | for ac_func in setresuid | 13542 | for ac_func in setresuid |
12565 | do | 13543 | do |
12566 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13544 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12567 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 13545 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12568 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 13546 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12569 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 13547 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12570 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13548 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12571 | else | 13549 | else |
12572 | cat >conftest.$ac_ext <<_ACEOF | 13550 | cat >conftest.$ac_ext <<_ACEOF |
@@ -12592,75 +13570,67 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
12592 | 13570 | ||
12593 | #undef $ac_func | 13571 | #undef $ac_func |
12594 | 13572 | ||
12595 | /* Override any gcc2 internal prototype to avoid an error. */ | 13573 | /* Override any GCC internal prototype to avoid an error. |
13574 | Use char because int might match the return type of a GCC | ||
13575 | builtin and then its argument prototype would still apply. */ | ||
12596 | #ifdef __cplusplus | 13576 | #ifdef __cplusplus |
12597 | extern "C" | 13577 | extern "C" |
12598 | { | ||
12599 | #endif | 13578 | #endif |
12600 | /* We use char because int might match the return type of a gcc2 | ||
12601 | builtin and then its argument prototype would still apply. */ | ||
12602 | char $ac_func (); | 13579 | char $ac_func (); |
12603 | /* The GNU C library defines this for functions which it implements | 13580 | /* The GNU C library defines this for functions which it implements |
12604 | to always fail with ENOSYS. Some functions are actually named | 13581 | to always fail with ENOSYS. Some functions are actually named |
12605 | something starting with __ and the normal name is an alias. */ | 13582 | something starting with __ and the normal name is an alias. */ |
12606 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 13583 | #if defined __stub_$ac_func || defined __stub___$ac_func |
12607 | choke me | 13584 | choke me |
12608 | #else | ||
12609 | char (*f) () = $ac_func; | ||
12610 | #endif | ||
12611 | #ifdef __cplusplus | ||
12612 | } | ||
12613 | #endif | 13585 | #endif |
12614 | 13586 | ||
12615 | int | 13587 | int |
12616 | main () | 13588 | main () |
12617 | { | 13589 | { |
12618 | return f != $ac_func; | 13590 | return $ac_func (); |
12619 | ; | 13591 | ; |
12620 | return 0; | 13592 | return 0; |
12621 | } | 13593 | } |
12622 | _ACEOF | 13594 | _ACEOF |
12623 | rm -f conftest.$ac_objext conftest$ac_exeext | 13595 | rm -f conftest.$ac_objext conftest$ac_exeext |
12624 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13596 | if { (ac_try="$ac_link" |
12625 | (eval $ac_link) 2>conftest.er1 | 13597 | case "(($ac_try" in |
13598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13599 | *) ac_try_echo=$ac_try;; | ||
13600 | esac | ||
13601 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13602 | (eval "$ac_link") 2>conftest.er1 | ||
12626 | ac_status=$? | 13603 | ac_status=$? |
12627 | grep -v '^ *+' conftest.er1 >conftest.err | 13604 | grep -v '^ *+' conftest.er1 >conftest.err |
12628 | rm -f conftest.er1 | 13605 | rm -f conftest.er1 |
12629 | cat conftest.err >&5 | 13606 | cat conftest.err >&5 |
12630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12631 | (exit $ac_status); } && | 13608 | (exit $ac_status); } && { |
12632 | { ac_try='test -z "$ac_c_werror_flag" | 13609 | test -z "$ac_c_werror_flag" || |
12633 | || test ! -s conftest.err' | 13610 | test ! -s conftest.err |
12634 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13611 | } && test -s conftest$ac_exeext && |
12635 | (eval $ac_try) 2>&5 | 13612 | $as_test_x conftest$ac_exeext; then |
12636 | ac_status=$? | ||
12637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12638 | (exit $ac_status); }; } && | ||
12639 | { ac_try='test -s conftest$ac_exeext' | ||
12640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12641 | (eval $ac_try) 2>&5 | ||
12642 | ac_status=$? | ||
12643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12644 | (exit $ac_status); }; }; then | ||
12645 | eval "$as_ac_var=yes" | 13613 | eval "$as_ac_var=yes" |
12646 | else | 13614 | else |
12647 | echo "$as_me: failed program was:" >&5 | 13615 | echo "$as_me: failed program was:" >&5 |
12648 | sed 's/^/| /' conftest.$ac_ext >&5 | 13616 | sed 's/^/| /' conftest.$ac_ext >&5 |
12649 | 13617 | ||
12650 | eval "$as_ac_var=no" | 13618 | eval "$as_ac_var=no" |
12651 | fi | 13619 | fi |
12652 | rm -f conftest.err conftest.$ac_objext \ | 13620 | |
13621 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12653 | conftest$ac_exeext conftest.$ac_ext | 13622 | conftest$ac_exeext conftest.$ac_ext |
12654 | fi | 13623 | fi |
12655 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 13624 | ac_res=`eval echo '${'$as_ac_var'}'` |
12656 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 13625 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13626 | echo "${ECHO_T}$ac_res" >&6; } | ||
12657 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13627 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
12658 | cat >>confdefs.h <<_ACEOF | 13628 | cat >>confdefs.h <<_ACEOF |
12659 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13629 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12660 | _ACEOF | 13630 | _ACEOF |
12661 | 13631 | ||
12662 | echo "$as_me:$LINENO: checking if setresuid seems to work" >&5 | 13632 | { echo "$as_me:$LINENO: checking if setresuid seems to work" >&5 |
12663 | echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6 | 13633 | echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6; } |
12664 | if test "$cross_compiling" = yes; then | 13634 | if test "$cross_compiling" = yes; then |
12665 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 | 13635 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 |
12666 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} | 13636 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
@@ -12679,18 +13649,27 @@ int main(){errno=0; setresuid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} | |||
12679 | 13649 | ||
12680 | _ACEOF | 13650 | _ACEOF |
12681 | rm -f conftest$ac_exeext | 13651 | rm -f conftest$ac_exeext |
12682 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13652 | if { (ac_try="$ac_link" |
12683 | (eval $ac_link) 2>&5 | 13653 | case "(($ac_try" in |
13654 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13655 | *) ac_try_echo=$ac_try;; | ||
13656 | esac | ||
13657 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13658 | (eval "$ac_link") 2>&5 | ||
12684 | ac_status=$? | 13659 | ac_status=$? |
12685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12686 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 13661 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12687 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13662 | { (case "(($ac_try" in |
12688 | (eval $ac_try) 2>&5 | 13663 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13664 | *) ac_try_echo=$ac_try;; | ||
13665 | esac | ||
13666 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13667 | (eval "$ac_try") 2>&5 | ||
12689 | ac_status=$? | 13668 | ac_status=$? |
12690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12691 | (exit $ac_status); }; }; then | 13670 | (exit $ac_status); }; }; then |
12692 | echo "$as_me:$LINENO: result: yes" >&5 | 13671 | { echo "$as_me:$LINENO: result: yes" >&5 |
12693 | echo "${ECHO_T}yes" >&6 | 13672 | echo "${ECHO_T}yes" >&6; } |
12694 | else | 13673 | else |
12695 | echo "$as_me: program exited with status $ac_status" >&5 | 13674 | echo "$as_me: program exited with status $ac_status" >&5 |
12696 | echo "$as_me: failed program was:" >&5 | 13675 | echo "$as_me: failed program was:" >&5 |
@@ -12702,12 +13681,14 @@ cat >>confdefs.h <<\_ACEOF | |||
12702 | #define BROKEN_SETRESUID 1 | 13681 | #define BROKEN_SETRESUID 1 |
12703 | _ACEOF | 13682 | _ACEOF |
12704 | 13683 | ||
12705 | echo "$as_me:$LINENO: result: not implemented" >&5 | 13684 | { echo "$as_me:$LINENO: result: not implemented" >&5 |
12706 | echo "${ECHO_T}not implemented" >&6 | 13685 | echo "${ECHO_T}not implemented" >&6; } |
12707 | fi | 13686 | fi |
12708 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13687 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12709 | fi | 13688 | fi |
12710 | 13689 | ||
13690 | |||
13691 | |||
12711 | fi | 13692 | fi |
12712 | done | 13693 | done |
12713 | 13694 | ||
@@ -12716,9 +13697,9 @@ done | |||
12716 | for ac_func in setresgid | 13697 | for ac_func in setresgid |
12717 | do | 13698 | do |
12718 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13699 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12719 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 13700 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12720 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 13701 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12721 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 13702 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12722 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13703 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12723 | else | 13704 | else |
12724 | cat >conftest.$ac_ext <<_ACEOF | 13705 | cat >conftest.$ac_ext <<_ACEOF |
@@ -12744,75 +13725,67 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
12744 | 13725 | ||
12745 | #undef $ac_func | 13726 | #undef $ac_func |
12746 | 13727 | ||
12747 | /* Override any gcc2 internal prototype to avoid an error. */ | 13728 | /* Override any GCC internal prototype to avoid an error. |
13729 | Use char because int might match the return type of a GCC | ||
13730 | builtin and then its argument prototype would still apply. */ | ||
12748 | #ifdef __cplusplus | 13731 | #ifdef __cplusplus |
12749 | extern "C" | 13732 | extern "C" |
12750 | { | ||
12751 | #endif | 13733 | #endif |
12752 | /* We use char because int might match the return type of a gcc2 | ||
12753 | builtin and then its argument prototype would still apply. */ | ||
12754 | char $ac_func (); | 13734 | char $ac_func (); |
12755 | /* The GNU C library defines this for functions which it implements | 13735 | /* The GNU C library defines this for functions which it implements |
12756 | to always fail with ENOSYS. Some functions are actually named | 13736 | to always fail with ENOSYS. Some functions are actually named |
12757 | something starting with __ and the normal name is an alias. */ | 13737 | something starting with __ and the normal name is an alias. */ |
12758 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 13738 | #if defined __stub_$ac_func || defined __stub___$ac_func |
12759 | choke me | 13739 | choke me |
12760 | #else | ||
12761 | char (*f) () = $ac_func; | ||
12762 | #endif | ||
12763 | #ifdef __cplusplus | ||
12764 | } | ||
12765 | #endif | 13740 | #endif |
12766 | 13741 | ||
12767 | int | 13742 | int |
12768 | main () | 13743 | main () |
12769 | { | 13744 | { |
12770 | return f != $ac_func; | 13745 | return $ac_func (); |
12771 | ; | 13746 | ; |
12772 | return 0; | 13747 | return 0; |
12773 | } | 13748 | } |
12774 | _ACEOF | 13749 | _ACEOF |
12775 | rm -f conftest.$ac_objext conftest$ac_exeext | 13750 | rm -f conftest.$ac_objext conftest$ac_exeext |
12776 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13751 | if { (ac_try="$ac_link" |
12777 | (eval $ac_link) 2>conftest.er1 | 13752 | case "(($ac_try" in |
13753 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13754 | *) ac_try_echo=$ac_try;; | ||
13755 | esac | ||
13756 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13757 | (eval "$ac_link") 2>conftest.er1 | ||
12778 | ac_status=$? | 13758 | ac_status=$? |
12779 | grep -v '^ *+' conftest.er1 >conftest.err | 13759 | grep -v '^ *+' conftest.er1 >conftest.err |
12780 | rm -f conftest.er1 | 13760 | rm -f conftest.er1 |
12781 | cat conftest.err >&5 | 13761 | cat conftest.err >&5 |
12782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12783 | (exit $ac_status); } && | 13763 | (exit $ac_status); } && { |
12784 | { ac_try='test -z "$ac_c_werror_flag" | 13764 | test -z "$ac_c_werror_flag" || |
12785 | || test ! -s conftest.err' | 13765 | test ! -s conftest.err |
12786 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13766 | } && test -s conftest$ac_exeext && |
12787 | (eval $ac_try) 2>&5 | 13767 | $as_test_x conftest$ac_exeext; then |
12788 | ac_status=$? | ||
12789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12790 | (exit $ac_status); }; } && | ||
12791 | { ac_try='test -s conftest$ac_exeext' | ||
12792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12793 | (eval $ac_try) 2>&5 | ||
12794 | ac_status=$? | ||
12795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12796 | (exit $ac_status); }; }; then | ||
12797 | eval "$as_ac_var=yes" | 13768 | eval "$as_ac_var=yes" |
12798 | else | 13769 | else |
12799 | echo "$as_me: failed program was:" >&5 | 13770 | echo "$as_me: failed program was:" >&5 |
12800 | sed 's/^/| /' conftest.$ac_ext >&5 | 13771 | sed 's/^/| /' conftest.$ac_ext >&5 |
12801 | 13772 | ||
12802 | eval "$as_ac_var=no" | 13773 | eval "$as_ac_var=no" |
12803 | fi | 13774 | fi |
12804 | rm -f conftest.err conftest.$ac_objext \ | 13775 | |
13776 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12805 | conftest$ac_exeext conftest.$ac_ext | 13777 | conftest$ac_exeext conftest.$ac_ext |
12806 | fi | 13778 | fi |
12807 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 13779 | ac_res=`eval echo '${'$as_ac_var'}'` |
12808 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 13780 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13781 | echo "${ECHO_T}$ac_res" >&6; } | ||
12809 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13782 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
12810 | cat >>confdefs.h <<_ACEOF | 13783 | cat >>confdefs.h <<_ACEOF |
12811 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13784 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12812 | _ACEOF | 13785 | _ACEOF |
12813 | 13786 | ||
12814 | echo "$as_me:$LINENO: checking if setresgid seems to work" >&5 | 13787 | { echo "$as_me:$LINENO: checking if setresgid seems to work" >&5 |
12815 | echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6 | 13788 | echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6; } |
12816 | if test "$cross_compiling" = yes; then | 13789 | if test "$cross_compiling" = yes; then |
12817 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 | 13790 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 |
12818 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} | 13791 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
@@ -12831,18 +13804,27 @@ int main(){errno=0; setresgid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} | |||
12831 | 13804 | ||
12832 | _ACEOF | 13805 | _ACEOF |
12833 | rm -f conftest$ac_exeext | 13806 | rm -f conftest$ac_exeext |
12834 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13807 | if { (ac_try="$ac_link" |
12835 | (eval $ac_link) 2>&5 | 13808 | case "(($ac_try" in |
13809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13810 | *) ac_try_echo=$ac_try;; | ||
13811 | esac | ||
13812 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13813 | (eval "$ac_link") 2>&5 | ||
12836 | ac_status=$? | 13814 | ac_status=$? |
12837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12838 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 13816 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13817 | { (case "(($ac_try" in |
12840 | (eval $ac_try) 2>&5 | 13818 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13819 | *) ac_try_echo=$ac_try;; | ||
13820 | esac | ||
13821 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13822 | (eval "$ac_try") 2>&5 | ||
12841 | ac_status=$? | 13823 | ac_status=$? |
12842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12843 | (exit $ac_status); }; }; then | 13825 | (exit $ac_status); }; }; then |
12844 | echo "$as_me:$LINENO: result: yes" >&5 | 13826 | { echo "$as_me:$LINENO: result: yes" >&5 |
12845 | echo "${ECHO_T}yes" >&6 | 13827 | echo "${ECHO_T}yes" >&6; } |
12846 | else | 13828 | else |
12847 | echo "$as_me: program exited with status $ac_status" >&5 | 13829 | echo "$as_me: program exited with status $ac_status" >&5 |
12848 | echo "$as_me: failed program was:" >&5 | 13830 | echo "$as_me: failed program was:" >&5 |
@@ -12854,12 +13836,14 @@ cat >>confdefs.h <<\_ACEOF | |||
12854 | #define BROKEN_SETRESGID 1 | 13836 | #define BROKEN_SETRESGID 1 |
12855 | _ACEOF | 13837 | _ACEOF |
12856 | 13838 | ||
12857 | echo "$as_me:$LINENO: result: not implemented" >&5 | 13839 | { echo "$as_me:$LINENO: result: not implemented" >&5 |
12858 | echo "${ECHO_T}not implemented" >&6 | 13840 | echo "${ECHO_T}not implemented" >&6; } |
12859 | fi | 13841 | fi |
12860 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13842 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12861 | fi | 13843 | fi |
12862 | 13844 | ||
13845 | |||
13846 | |||
12863 | fi | 13847 | fi |
12864 | done | 13848 | done |
12865 | 13849 | ||
@@ -12869,9 +13853,9 @@ done | |||
12869 | for ac_func in gettimeofday time | 13853 | for ac_func in gettimeofday time |
12870 | do | 13854 | do |
12871 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13855 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12872 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 13856 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12873 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 13857 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12874 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 13858 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12875 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13859 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12876 | else | 13860 | else |
12877 | cat >conftest.$ac_ext <<_ACEOF | 13861 | cat >conftest.$ac_ext <<_ACEOF |
@@ -12897,68 +13881,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
12897 | 13881 | ||
12898 | #undef $ac_func | 13882 | #undef $ac_func |
12899 | 13883 | ||
12900 | /* Override any gcc2 internal prototype to avoid an error. */ | 13884 | /* Override any GCC internal prototype to avoid an error. |
13885 | Use char because int might match the return type of a GCC | ||
13886 | builtin and then its argument prototype would still apply. */ | ||
12901 | #ifdef __cplusplus | 13887 | #ifdef __cplusplus |
12902 | extern "C" | 13888 | extern "C" |
12903 | { | ||
12904 | #endif | 13889 | #endif |
12905 | /* We use char because int might match the return type of a gcc2 | ||
12906 | builtin and then its argument prototype would still apply. */ | ||
12907 | char $ac_func (); | 13890 | char $ac_func (); |
12908 | /* The GNU C library defines this for functions which it implements | 13891 | /* The GNU C library defines this for functions which it implements |
12909 | to always fail with ENOSYS. Some functions are actually named | 13892 | to always fail with ENOSYS. Some functions are actually named |
12910 | something starting with __ and the normal name is an alias. */ | 13893 | something starting with __ and the normal name is an alias. */ |
12911 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 13894 | #if defined __stub_$ac_func || defined __stub___$ac_func |
12912 | choke me | 13895 | choke me |
12913 | #else | ||
12914 | char (*f) () = $ac_func; | ||
12915 | #endif | ||
12916 | #ifdef __cplusplus | ||
12917 | } | ||
12918 | #endif | 13896 | #endif |
12919 | 13897 | ||
12920 | int | 13898 | int |
12921 | main () | 13899 | main () |
12922 | { | 13900 | { |
12923 | return f != $ac_func; | 13901 | return $ac_func (); |
12924 | ; | 13902 | ; |
12925 | return 0; | 13903 | return 0; |
12926 | } | 13904 | } |
12927 | _ACEOF | 13905 | _ACEOF |
12928 | rm -f conftest.$ac_objext conftest$ac_exeext | 13906 | rm -f conftest.$ac_objext conftest$ac_exeext |
12929 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13907 | if { (ac_try="$ac_link" |
12930 | (eval $ac_link) 2>conftest.er1 | 13908 | case "(($ac_try" in |
13909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13910 | *) ac_try_echo=$ac_try;; | ||
13911 | esac | ||
13912 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13913 | (eval "$ac_link") 2>conftest.er1 | ||
12931 | ac_status=$? | 13914 | ac_status=$? |
12932 | grep -v '^ *+' conftest.er1 >conftest.err | 13915 | grep -v '^ *+' conftest.er1 >conftest.err |
12933 | rm -f conftest.er1 | 13916 | rm -f conftest.er1 |
12934 | cat conftest.err >&5 | 13917 | cat conftest.err >&5 |
12935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12936 | (exit $ac_status); } && | 13919 | (exit $ac_status); } && { |
12937 | { ac_try='test -z "$ac_c_werror_flag" | 13920 | test -z "$ac_c_werror_flag" || |
12938 | || test ! -s conftest.err' | 13921 | test ! -s conftest.err |
12939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13922 | } && test -s conftest$ac_exeext && |
12940 | (eval $ac_try) 2>&5 | 13923 | $as_test_x conftest$ac_exeext; then |
12941 | ac_status=$? | ||
12942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12943 | (exit $ac_status); }; } && | ||
12944 | { ac_try='test -s conftest$ac_exeext' | ||
12945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12946 | (eval $ac_try) 2>&5 | ||
12947 | ac_status=$? | ||
12948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12949 | (exit $ac_status); }; }; then | ||
12950 | eval "$as_ac_var=yes" | 13924 | eval "$as_ac_var=yes" |
12951 | else | 13925 | else |
12952 | echo "$as_me: failed program was:" >&5 | 13926 | echo "$as_me: failed program was:" >&5 |
12953 | sed 's/^/| /' conftest.$ac_ext >&5 | 13927 | sed 's/^/| /' conftest.$ac_ext >&5 |
12954 | 13928 | ||
12955 | eval "$as_ac_var=no" | 13929 | eval "$as_ac_var=no" |
12956 | fi | 13930 | fi |
12957 | rm -f conftest.err conftest.$ac_objext \ | 13931 | |
13932 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12958 | conftest$ac_exeext conftest.$ac_ext | 13933 | conftest$ac_exeext conftest.$ac_ext |
12959 | fi | 13934 | fi |
12960 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 13935 | ac_res=`eval echo '${'$as_ac_var'}'` |
12961 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 13936 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
13937 | echo "${ECHO_T}$ac_res" >&6; } | ||
12962 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 13938 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
12963 | cat >>confdefs.h <<_ACEOF | 13939 | cat >>confdefs.h <<_ACEOF |
12964 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13940 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -12976,9 +13952,9 @@ done | |||
12976 | for ac_func in endutent getutent getutid getutline pututline setutent | 13952 | for ac_func in endutent getutent getutid getutline pututline setutent |
12977 | do | 13953 | do |
12978 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13954 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12979 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 13955 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12980 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 13956 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
12981 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 13957 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
12982 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13958 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12983 | else | 13959 | else |
12984 | cat >conftest.$ac_ext <<_ACEOF | 13960 | cat >conftest.$ac_ext <<_ACEOF |
@@ -13004,68 +13980,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
13004 | 13980 | ||
13005 | #undef $ac_func | 13981 | #undef $ac_func |
13006 | 13982 | ||
13007 | /* Override any gcc2 internal prototype to avoid an error. */ | 13983 | /* Override any GCC internal prototype to avoid an error. |
13984 | Use char because int might match the return type of a GCC | ||
13985 | builtin and then its argument prototype would still apply. */ | ||
13008 | #ifdef __cplusplus | 13986 | #ifdef __cplusplus |
13009 | extern "C" | 13987 | extern "C" |
13010 | { | ||
13011 | #endif | 13988 | #endif |
13012 | /* We use char because int might match the return type of a gcc2 | ||
13013 | builtin and then its argument prototype would still apply. */ | ||
13014 | char $ac_func (); | 13989 | char $ac_func (); |
13015 | /* The GNU C library defines this for functions which it implements | 13990 | /* The GNU C library defines this for functions which it implements |
13016 | to always fail with ENOSYS. Some functions are actually named | 13991 | to always fail with ENOSYS. Some functions are actually named |
13017 | something starting with __ and the normal name is an alias. */ | 13992 | something starting with __ and the normal name is an alias. */ |
13018 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 13993 | #if defined __stub_$ac_func || defined __stub___$ac_func |
13019 | choke me | 13994 | choke me |
13020 | #else | ||
13021 | char (*f) () = $ac_func; | ||
13022 | #endif | ||
13023 | #ifdef __cplusplus | ||
13024 | } | ||
13025 | #endif | 13995 | #endif |
13026 | 13996 | ||
13027 | int | 13997 | int |
13028 | main () | 13998 | main () |
13029 | { | 13999 | { |
13030 | return f != $ac_func; | 14000 | return $ac_func (); |
13031 | ; | 14001 | ; |
13032 | return 0; | 14002 | return 0; |
13033 | } | 14003 | } |
13034 | _ACEOF | 14004 | _ACEOF |
13035 | rm -f conftest.$ac_objext conftest$ac_exeext | 14005 | rm -f conftest.$ac_objext conftest$ac_exeext |
13036 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14006 | if { (ac_try="$ac_link" |
13037 | (eval $ac_link) 2>conftest.er1 | 14007 | case "(($ac_try" in |
14008 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14009 | *) ac_try_echo=$ac_try;; | ||
14010 | esac | ||
14011 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14012 | (eval "$ac_link") 2>conftest.er1 | ||
13038 | ac_status=$? | 14013 | ac_status=$? |
13039 | grep -v '^ *+' conftest.er1 >conftest.err | 14014 | grep -v '^ *+' conftest.er1 >conftest.err |
13040 | rm -f conftest.er1 | 14015 | rm -f conftest.er1 |
13041 | cat conftest.err >&5 | 14016 | cat conftest.err >&5 |
13042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13043 | (exit $ac_status); } && | 14018 | (exit $ac_status); } && { |
13044 | { ac_try='test -z "$ac_c_werror_flag" | 14019 | test -z "$ac_c_werror_flag" || |
13045 | || test ! -s conftest.err' | 14020 | test ! -s conftest.err |
13046 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14021 | } && test -s conftest$ac_exeext && |
13047 | (eval $ac_try) 2>&5 | 14022 | $as_test_x conftest$ac_exeext; then |
13048 | ac_status=$? | ||
13049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13050 | (exit $ac_status); }; } && | ||
13051 | { ac_try='test -s conftest$ac_exeext' | ||
13052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13053 | (eval $ac_try) 2>&5 | ||
13054 | ac_status=$? | ||
13055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13056 | (exit $ac_status); }; }; then | ||
13057 | eval "$as_ac_var=yes" | 14023 | eval "$as_ac_var=yes" |
13058 | else | 14024 | else |
13059 | echo "$as_me: failed program was:" >&5 | 14025 | echo "$as_me: failed program was:" >&5 |
13060 | sed 's/^/| /' conftest.$ac_ext >&5 | 14026 | sed 's/^/| /' conftest.$ac_ext >&5 |
13061 | 14027 | ||
13062 | eval "$as_ac_var=no" | 14028 | eval "$as_ac_var=no" |
13063 | fi | 14029 | fi |
13064 | rm -f conftest.err conftest.$ac_objext \ | 14030 | |
14031 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13065 | conftest$ac_exeext conftest.$ac_ext | 14032 | conftest$ac_exeext conftest.$ac_ext |
13066 | fi | 14033 | fi |
13067 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 14034 | ac_res=`eval echo '${'$as_ac_var'}'` |
13068 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 14035 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14036 | echo "${ECHO_T}$ac_res" >&6; } | ||
13069 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14037 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
13070 | cat >>confdefs.h <<_ACEOF | 14038 | cat >>confdefs.h <<_ACEOF |
13071 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14039 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -13078,9 +14046,9 @@ done | |||
13078 | for ac_func in utmpname | 14046 | for ac_func in utmpname |
13079 | do | 14047 | do |
13080 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14048 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13081 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 14049 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
13082 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 14050 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
13083 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 14051 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
13084 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14052 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13085 | else | 14053 | else |
13086 | cat >conftest.$ac_ext <<_ACEOF | 14054 | cat >conftest.$ac_ext <<_ACEOF |
@@ -13106,68 +14074,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
13106 | 14074 | ||
13107 | #undef $ac_func | 14075 | #undef $ac_func |
13108 | 14076 | ||
13109 | /* Override any gcc2 internal prototype to avoid an error. */ | 14077 | /* Override any GCC internal prototype to avoid an error. |
14078 | Use char because int might match the return type of a GCC | ||
14079 | builtin and then its argument prototype would still apply. */ | ||
13110 | #ifdef __cplusplus | 14080 | #ifdef __cplusplus |
13111 | extern "C" | 14081 | extern "C" |
13112 | { | ||
13113 | #endif | 14082 | #endif |
13114 | /* We use char because int might match the return type of a gcc2 | ||
13115 | builtin and then its argument prototype would still apply. */ | ||
13116 | char $ac_func (); | 14083 | char $ac_func (); |
13117 | /* The GNU C library defines this for functions which it implements | 14084 | /* The GNU C library defines this for functions which it implements |
13118 | to always fail with ENOSYS. Some functions are actually named | 14085 | to always fail with ENOSYS. Some functions are actually named |
13119 | something starting with __ and the normal name is an alias. */ | 14086 | something starting with __ and the normal name is an alias. */ |
13120 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 14087 | #if defined __stub_$ac_func || defined __stub___$ac_func |
13121 | choke me | 14088 | choke me |
13122 | #else | ||
13123 | char (*f) () = $ac_func; | ||
13124 | #endif | ||
13125 | #ifdef __cplusplus | ||
13126 | } | ||
13127 | #endif | 14089 | #endif |
13128 | 14090 | ||
13129 | int | 14091 | int |
13130 | main () | 14092 | main () |
13131 | { | 14093 | { |
13132 | return f != $ac_func; | 14094 | return $ac_func (); |
13133 | ; | 14095 | ; |
13134 | return 0; | 14096 | return 0; |
13135 | } | 14097 | } |
13136 | _ACEOF | 14098 | _ACEOF |
13137 | rm -f conftest.$ac_objext conftest$ac_exeext | 14099 | rm -f conftest.$ac_objext conftest$ac_exeext |
13138 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14100 | if { (ac_try="$ac_link" |
13139 | (eval $ac_link) 2>conftest.er1 | 14101 | case "(($ac_try" in |
14102 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14103 | *) ac_try_echo=$ac_try;; | ||
14104 | esac | ||
14105 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14106 | (eval "$ac_link") 2>conftest.er1 | ||
13140 | ac_status=$? | 14107 | ac_status=$? |
13141 | grep -v '^ *+' conftest.er1 >conftest.err | 14108 | grep -v '^ *+' conftest.er1 >conftest.err |
13142 | rm -f conftest.er1 | 14109 | rm -f conftest.er1 |
13143 | cat conftest.err >&5 | 14110 | cat conftest.err >&5 |
13144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13145 | (exit $ac_status); } && | 14112 | (exit $ac_status); } && { |
13146 | { ac_try='test -z "$ac_c_werror_flag" | 14113 | test -z "$ac_c_werror_flag" || |
13147 | || test ! -s conftest.err' | 14114 | test ! -s conftest.err |
13148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14115 | } && test -s conftest$ac_exeext && |
13149 | (eval $ac_try) 2>&5 | 14116 | $as_test_x conftest$ac_exeext; then |
13150 | ac_status=$? | ||
13151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13152 | (exit $ac_status); }; } && | ||
13153 | { ac_try='test -s conftest$ac_exeext' | ||
13154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13155 | (eval $ac_try) 2>&5 | ||
13156 | ac_status=$? | ||
13157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13158 | (exit $ac_status); }; }; then | ||
13159 | eval "$as_ac_var=yes" | 14117 | eval "$as_ac_var=yes" |
13160 | else | 14118 | else |
13161 | echo "$as_me: failed program was:" >&5 | 14119 | echo "$as_me: failed program was:" >&5 |
13162 | sed 's/^/| /' conftest.$ac_ext >&5 | 14120 | sed 's/^/| /' conftest.$ac_ext >&5 |
13163 | 14121 | ||
13164 | eval "$as_ac_var=no" | 14122 | eval "$as_ac_var=no" |
13165 | fi | 14123 | fi |
13166 | rm -f conftest.err conftest.$ac_objext \ | 14124 | |
14125 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13167 | conftest$ac_exeext conftest.$ac_ext | 14126 | conftest$ac_exeext conftest.$ac_ext |
13168 | fi | 14127 | fi |
13169 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 14128 | ac_res=`eval echo '${'$as_ac_var'}'` |
13170 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 14129 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14130 | echo "${ECHO_T}$ac_res" >&6; } | ||
13171 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14131 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
13172 | cat >>confdefs.h <<_ACEOF | 14132 | cat >>confdefs.h <<_ACEOF |
13173 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14133 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -13184,9 +14144,9 @@ done | |||
13184 | for ac_func in endutxent getutxent getutxid getutxline pututxline | 14144 | for ac_func in endutxent getutxent getutxid getutxline pututxline |
13185 | do | 14145 | do |
13186 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14146 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13187 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 14147 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
13188 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 14148 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
13189 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 14149 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
13190 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14150 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13191 | else | 14151 | else |
13192 | cat >conftest.$ac_ext <<_ACEOF | 14152 | cat >conftest.$ac_ext <<_ACEOF |
@@ -13212,68 +14172,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
13212 | 14172 | ||
13213 | #undef $ac_func | 14173 | #undef $ac_func |
13214 | 14174 | ||
13215 | /* Override any gcc2 internal prototype to avoid an error. */ | 14175 | /* Override any GCC internal prototype to avoid an error. |
14176 | Use char because int might match the return type of a GCC | ||
14177 | builtin and then its argument prototype would still apply. */ | ||
13216 | #ifdef __cplusplus | 14178 | #ifdef __cplusplus |
13217 | extern "C" | 14179 | extern "C" |
13218 | { | ||
13219 | #endif | 14180 | #endif |
13220 | /* We use char because int might match the return type of a gcc2 | ||
13221 | builtin and then its argument prototype would still apply. */ | ||
13222 | char $ac_func (); | 14181 | char $ac_func (); |
13223 | /* The GNU C library defines this for functions which it implements | 14182 | /* The GNU C library defines this for functions which it implements |
13224 | to always fail with ENOSYS. Some functions are actually named | 14183 | to always fail with ENOSYS. Some functions are actually named |
13225 | something starting with __ and the normal name is an alias. */ | 14184 | something starting with __ and the normal name is an alias. */ |
13226 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 14185 | #if defined __stub_$ac_func || defined __stub___$ac_func |
13227 | choke me | 14186 | choke me |
13228 | #else | ||
13229 | char (*f) () = $ac_func; | ||
13230 | #endif | ||
13231 | #ifdef __cplusplus | ||
13232 | } | ||
13233 | #endif | 14187 | #endif |
13234 | 14188 | ||
13235 | int | 14189 | int |
13236 | main () | 14190 | main () |
13237 | { | 14191 | { |
13238 | return f != $ac_func; | 14192 | return $ac_func (); |
13239 | ; | 14193 | ; |
13240 | return 0; | 14194 | return 0; |
13241 | } | 14195 | } |
13242 | _ACEOF | 14196 | _ACEOF |
13243 | rm -f conftest.$ac_objext conftest$ac_exeext | 14197 | rm -f conftest.$ac_objext conftest$ac_exeext |
13244 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14198 | if { (ac_try="$ac_link" |
13245 | (eval $ac_link) 2>conftest.er1 | 14199 | case "(($ac_try" in |
14200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14201 | *) ac_try_echo=$ac_try;; | ||
14202 | esac | ||
14203 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14204 | (eval "$ac_link") 2>conftest.er1 | ||
13246 | ac_status=$? | 14205 | ac_status=$? |
13247 | grep -v '^ *+' conftest.er1 >conftest.err | 14206 | grep -v '^ *+' conftest.er1 >conftest.err |
13248 | rm -f conftest.er1 | 14207 | rm -f conftest.er1 |
13249 | cat conftest.err >&5 | 14208 | cat conftest.err >&5 |
13250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13251 | (exit $ac_status); } && | 14210 | (exit $ac_status); } && { |
13252 | { ac_try='test -z "$ac_c_werror_flag" | 14211 | test -z "$ac_c_werror_flag" || |
13253 | || test ! -s conftest.err' | 14212 | test ! -s conftest.err |
13254 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14213 | } && test -s conftest$ac_exeext && |
13255 | (eval $ac_try) 2>&5 | 14214 | $as_test_x conftest$ac_exeext; then |
13256 | ac_status=$? | ||
13257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13258 | (exit $ac_status); }; } && | ||
13259 | { ac_try='test -s conftest$ac_exeext' | ||
13260 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13261 | (eval $ac_try) 2>&5 | ||
13262 | ac_status=$? | ||
13263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13264 | (exit $ac_status); }; }; then | ||
13265 | eval "$as_ac_var=yes" | 14215 | eval "$as_ac_var=yes" |
13266 | else | 14216 | else |
13267 | echo "$as_me: failed program was:" >&5 | 14217 | echo "$as_me: failed program was:" >&5 |
13268 | sed 's/^/| /' conftest.$ac_ext >&5 | 14218 | sed 's/^/| /' conftest.$ac_ext >&5 |
13269 | 14219 | ||
13270 | eval "$as_ac_var=no" | 14220 | eval "$as_ac_var=no" |
13271 | fi | 14221 | fi |
13272 | rm -f conftest.err conftest.$ac_objext \ | 14222 | |
14223 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13273 | conftest$ac_exeext conftest.$ac_ext | 14224 | conftest$ac_exeext conftest.$ac_ext |
13274 | fi | 14225 | fi |
13275 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 14226 | ac_res=`eval echo '${'$as_ac_var'}'` |
13276 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 14227 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14228 | echo "${ECHO_T}$ac_res" >&6; } | ||
13277 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14229 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
13278 | cat >>confdefs.h <<_ACEOF | 14230 | cat >>confdefs.h <<_ACEOF |
13279 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14231 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -13287,9 +14239,9 @@ done | |||
13287 | for ac_func in setutxent utmpxname | 14239 | for ac_func in setutxent utmpxname |
13288 | do | 14240 | do |
13289 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14241 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13290 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 14242 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
13291 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 14243 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
13292 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 14244 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
13293 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14245 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13294 | else | 14246 | else |
13295 | cat >conftest.$ac_ext <<_ACEOF | 14247 | cat >conftest.$ac_ext <<_ACEOF |
@@ -13315,68 +14267,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
13315 | 14267 | ||
13316 | #undef $ac_func | 14268 | #undef $ac_func |
13317 | 14269 | ||
13318 | /* Override any gcc2 internal prototype to avoid an error. */ | 14270 | /* Override any GCC internal prototype to avoid an error. |
14271 | Use char because int might match the return type of a GCC | ||
14272 | builtin and then its argument prototype would still apply. */ | ||
13319 | #ifdef __cplusplus | 14273 | #ifdef __cplusplus |
13320 | extern "C" | 14274 | extern "C" |
13321 | { | ||
13322 | #endif | 14275 | #endif |
13323 | /* We use char because int might match the return type of a gcc2 | ||
13324 | builtin and then its argument prototype would still apply. */ | ||
13325 | char $ac_func (); | 14276 | char $ac_func (); |
13326 | /* The GNU C library defines this for functions which it implements | 14277 | /* The GNU C library defines this for functions which it implements |
13327 | to always fail with ENOSYS. Some functions are actually named | 14278 | to always fail with ENOSYS. Some functions are actually named |
13328 | something starting with __ and the normal name is an alias. */ | 14279 | something starting with __ and the normal name is an alias. */ |
13329 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 14280 | #if defined __stub_$ac_func || defined __stub___$ac_func |
13330 | choke me | 14281 | choke me |
13331 | #else | ||
13332 | char (*f) () = $ac_func; | ||
13333 | #endif | ||
13334 | #ifdef __cplusplus | ||
13335 | } | ||
13336 | #endif | 14282 | #endif |
13337 | 14283 | ||
13338 | int | 14284 | int |
13339 | main () | 14285 | main () |
13340 | { | 14286 | { |
13341 | return f != $ac_func; | 14287 | return $ac_func (); |
13342 | ; | 14288 | ; |
13343 | return 0; | 14289 | return 0; |
13344 | } | 14290 | } |
13345 | _ACEOF | 14291 | _ACEOF |
13346 | rm -f conftest.$ac_objext conftest$ac_exeext | 14292 | rm -f conftest.$ac_objext conftest$ac_exeext |
13347 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14293 | if { (ac_try="$ac_link" |
13348 | (eval $ac_link) 2>conftest.er1 | 14294 | case "(($ac_try" in |
14295 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14296 | *) ac_try_echo=$ac_try;; | ||
14297 | esac | ||
14298 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14299 | (eval "$ac_link") 2>conftest.er1 | ||
13349 | ac_status=$? | 14300 | ac_status=$? |
13350 | grep -v '^ *+' conftest.er1 >conftest.err | 14301 | grep -v '^ *+' conftest.er1 >conftest.err |
13351 | rm -f conftest.er1 | 14302 | rm -f conftest.er1 |
13352 | cat conftest.err >&5 | 14303 | cat conftest.err >&5 |
13353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13354 | (exit $ac_status); } && | 14305 | (exit $ac_status); } && { |
13355 | { ac_try='test -z "$ac_c_werror_flag" | 14306 | test -z "$ac_c_werror_flag" || |
13356 | || test ! -s conftest.err' | 14307 | test ! -s conftest.err |
13357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14308 | } && test -s conftest$ac_exeext && |
13358 | (eval $ac_try) 2>&5 | 14309 | $as_test_x conftest$ac_exeext; then |
13359 | ac_status=$? | ||
13360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13361 | (exit $ac_status); }; } && | ||
13362 | { ac_try='test -s conftest$ac_exeext' | ||
13363 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13364 | (eval $ac_try) 2>&5 | ||
13365 | ac_status=$? | ||
13366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13367 | (exit $ac_status); }; }; then | ||
13368 | eval "$as_ac_var=yes" | 14310 | eval "$as_ac_var=yes" |
13369 | else | 14311 | else |
13370 | echo "$as_me: failed program was:" >&5 | 14312 | echo "$as_me: failed program was:" >&5 |
13371 | sed 's/^/| /' conftest.$ac_ext >&5 | 14313 | sed 's/^/| /' conftest.$ac_ext >&5 |
13372 | 14314 | ||
13373 | eval "$as_ac_var=no" | 14315 | eval "$as_ac_var=no" |
13374 | fi | 14316 | fi |
13375 | rm -f conftest.err conftest.$ac_objext \ | 14317 | |
14318 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13376 | conftest$ac_exeext conftest.$ac_ext | 14319 | conftest$ac_exeext conftest.$ac_ext |
13377 | fi | 14320 | fi |
13378 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 14321 | ac_res=`eval echo '${'$as_ac_var'}'` |
13379 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 14322 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14323 | echo "${ECHO_T}$ac_res" >&6; } | ||
13380 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14324 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
13381 | cat >>confdefs.h <<_ACEOF | 14325 | cat >>confdefs.h <<_ACEOF |
13382 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14326 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -13386,8 +14330,8 @@ fi | |||
13386 | done | 14330 | done |
13387 | 14331 | ||
13388 | 14332 | ||
13389 | echo "$as_me:$LINENO: checking for daemon" >&5 | 14333 | { echo "$as_me:$LINENO: checking for daemon" >&5 |
13390 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6 | 14334 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6; } |
13391 | if test "${ac_cv_func_daemon+set}" = set; then | 14335 | if test "${ac_cv_func_daemon+set}" = set; then |
13392 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14336 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13393 | else | 14337 | else |
@@ -13414,68 +14358,59 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
13414 | 14358 | ||
13415 | #undef daemon | 14359 | #undef daemon |
13416 | 14360 | ||
13417 | /* Override any gcc2 internal prototype to avoid an error. */ | 14361 | /* Override any GCC internal prototype to avoid an error. |
14362 | Use char because int might match the return type of a GCC | ||
14363 | builtin and then its argument prototype would still apply. */ | ||
13418 | #ifdef __cplusplus | 14364 | #ifdef __cplusplus |
13419 | extern "C" | 14365 | extern "C" |
13420 | { | ||
13421 | #endif | 14366 | #endif |
13422 | /* We use char because int might match the return type of a gcc2 | ||
13423 | builtin and then its argument prototype would still apply. */ | ||
13424 | char daemon (); | 14367 | char daemon (); |
13425 | /* The GNU C library defines this for functions which it implements | 14368 | /* The GNU C library defines this for functions which it implements |
13426 | to always fail with ENOSYS. Some functions are actually named | 14369 | to always fail with ENOSYS. Some functions are actually named |
13427 | something starting with __ and the normal name is an alias. */ | 14370 | something starting with __ and the normal name is an alias. */ |
13428 | #if defined (__stub_daemon) || defined (__stub___daemon) | 14371 | #if defined __stub_daemon || defined __stub___daemon |
13429 | choke me | 14372 | choke me |
13430 | #else | ||
13431 | char (*f) () = daemon; | ||
13432 | #endif | ||
13433 | #ifdef __cplusplus | ||
13434 | } | ||
13435 | #endif | 14373 | #endif |
13436 | 14374 | ||
13437 | int | 14375 | int |
13438 | main () | 14376 | main () |
13439 | { | 14377 | { |
13440 | return f != daemon; | 14378 | return daemon (); |
13441 | ; | 14379 | ; |
13442 | return 0; | 14380 | return 0; |
13443 | } | 14381 | } |
13444 | _ACEOF | 14382 | _ACEOF |
13445 | rm -f conftest.$ac_objext conftest$ac_exeext | 14383 | rm -f conftest.$ac_objext conftest$ac_exeext |
13446 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14384 | if { (ac_try="$ac_link" |
13447 | (eval $ac_link) 2>conftest.er1 | 14385 | case "(($ac_try" in |
14386 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14387 | *) ac_try_echo=$ac_try;; | ||
14388 | esac | ||
14389 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14390 | (eval "$ac_link") 2>conftest.er1 | ||
13448 | ac_status=$? | 14391 | ac_status=$? |
13449 | grep -v '^ *+' conftest.er1 >conftest.err | 14392 | grep -v '^ *+' conftest.er1 >conftest.err |
13450 | rm -f conftest.er1 | 14393 | rm -f conftest.er1 |
13451 | cat conftest.err >&5 | 14394 | cat conftest.err >&5 |
13452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13453 | (exit $ac_status); } && | 14396 | (exit $ac_status); } && { |
13454 | { ac_try='test -z "$ac_c_werror_flag" | 14397 | test -z "$ac_c_werror_flag" || |
13455 | || test ! -s conftest.err' | 14398 | test ! -s conftest.err |
13456 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14399 | } && test -s conftest$ac_exeext && |
13457 | (eval $ac_try) 2>&5 | 14400 | $as_test_x conftest$ac_exeext; then |
13458 | ac_status=$? | ||
13459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13460 | (exit $ac_status); }; } && | ||
13461 | { ac_try='test -s conftest$ac_exeext' | ||
13462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13463 | (eval $ac_try) 2>&5 | ||
13464 | ac_status=$? | ||
13465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13466 | (exit $ac_status); }; }; then | ||
13467 | ac_cv_func_daemon=yes | 14401 | ac_cv_func_daemon=yes |
13468 | else | 14402 | else |
13469 | echo "$as_me: failed program was:" >&5 | 14403 | echo "$as_me: failed program was:" >&5 |
13470 | sed 's/^/| /' conftest.$ac_ext >&5 | 14404 | sed 's/^/| /' conftest.$ac_ext >&5 |
13471 | 14405 | ||
13472 | ac_cv_func_daemon=no | 14406 | ac_cv_func_daemon=no |
13473 | fi | 14407 | fi |
13474 | rm -f conftest.err conftest.$ac_objext \ | 14408 | |
14409 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13475 | conftest$ac_exeext conftest.$ac_ext | 14410 | conftest$ac_exeext conftest.$ac_ext |
13476 | fi | 14411 | fi |
13477 | echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 | 14412 | { echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 |
13478 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 | 14413 | echo "${ECHO_T}$ac_cv_func_daemon" >&6; } |
13479 | if test $ac_cv_func_daemon = yes; then | 14414 | if test $ac_cv_func_daemon = yes; then |
13480 | 14415 | ||
13481 | cat >>confdefs.h <<\_ACEOF | 14416 | cat >>confdefs.h <<\_ACEOF |
@@ -13483,8 +14418,8 @@ cat >>confdefs.h <<\_ACEOF | |||
13483 | _ACEOF | 14418 | _ACEOF |
13484 | 14419 | ||
13485 | else | 14420 | else |
13486 | echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 | 14421 | { echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 |
13487 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 | 14422 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6; } |
13488 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then | 14423 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then |
13489 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14424 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13490 | else | 14425 | else |
@@ -13497,56 +14432,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
13497 | cat >>conftest.$ac_ext <<_ACEOF | 14432 | cat >>conftest.$ac_ext <<_ACEOF |
13498 | /* end confdefs.h. */ | 14433 | /* end confdefs.h. */ |
13499 | 14434 | ||
13500 | /* Override any gcc2 internal prototype to avoid an error. */ | 14435 | /* Override any GCC internal prototype to avoid an error. |
14436 | Use char because int might match the return type of a GCC | ||
14437 | builtin and then its argument prototype would still apply. */ | ||
13501 | #ifdef __cplusplus | 14438 | #ifdef __cplusplus |
13502 | extern "C" | 14439 | extern "C" |
13503 | #endif | 14440 | #endif |
13504 | /* We use char because int might match the return type of a gcc2 | ||
13505 | builtin and then its argument prototype would still apply. */ | ||
13506 | char daemon (); | 14441 | char daemon (); |
13507 | int | 14442 | int |
13508 | main () | 14443 | main () |
13509 | { | 14444 | { |
13510 | daemon (); | 14445 | return daemon (); |
13511 | ; | 14446 | ; |
13512 | return 0; | 14447 | return 0; |
13513 | } | 14448 | } |
13514 | _ACEOF | 14449 | _ACEOF |
13515 | rm -f conftest.$ac_objext conftest$ac_exeext | 14450 | rm -f conftest.$ac_objext conftest$ac_exeext |
13516 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14451 | if { (ac_try="$ac_link" |
13517 | (eval $ac_link) 2>conftest.er1 | 14452 | case "(($ac_try" in |
14453 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14454 | *) ac_try_echo=$ac_try;; | ||
14455 | esac | ||
14456 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14457 | (eval "$ac_link") 2>conftest.er1 | ||
13518 | ac_status=$? | 14458 | ac_status=$? |
13519 | grep -v '^ *+' conftest.er1 >conftest.err | 14459 | grep -v '^ *+' conftest.er1 >conftest.err |
13520 | rm -f conftest.er1 | 14460 | rm -f conftest.er1 |
13521 | cat conftest.err >&5 | 14461 | cat conftest.err >&5 |
13522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13523 | (exit $ac_status); } && | 14463 | (exit $ac_status); } && { |
13524 | { ac_try='test -z "$ac_c_werror_flag" | 14464 | test -z "$ac_c_werror_flag" || |
13525 | || test ! -s conftest.err' | 14465 | test ! -s conftest.err |
13526 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14466 | } && test -s conftest$ac_exeext && |
13527 | (eval $ac_try) 2>&5 | 14467 | $as_test_x conftest$ac_exeext; then |
13528 | ac_status=$? | ||
13529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13530 | (exit $ac_status); }; } && | ||
13531 | { ac_try='test -s conftest$ac_exeext' | ||
13532 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13533 | (eval $ac_try) 2>&5 | ||
13534 | ac_status=$? | ||
13535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13536 | (exit $ac_status); }; }; then | ||
13537 | ac_cv_lib_bsd_daemon=yes | 14468 | ac_cv_lib_bsd_daemon=yes |
13538 | else | 14469 | else |
13539 | echo "$as_me: failed program was:" >&5 | 14470 | echo "$as_me: failed program was:" >&5 |
13540 | sed 's/^/| /' conftest.$ac_ext >&5 | 14471 | sed 's/^/| /' conftest.$ac_ext >&5 |
13541 | 14472 | ||
13542 | ac_cv_lib_bsd_daemon=no | 14473 | ac_cv_lib_bsd_daemon=no |
13543 | fi | 14474 | fi |
13544 | rm -f conftest.err conftest.$ac_objext \ | 14475 | |
14476 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13545 | conftest$ac_exeext conftest.$ac_ext | 14477 | conftest$ac_exeext conftest.$ac_ext |
13546 | LIBS=$ac_check_lib_save_LIBS | 14478 | LIBS=$ac_check_lib_save_LIBS |
13547 | fi | 14479 | fi |
13548 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 | 14480 | { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 |
13549 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 | 14481 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6; } |
13550 | if test $ac_cv_lib_bsd_daemon = yes; then | 14482 | if test $ac_cv_lib_bsd_daemon = yes; then |
13551 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF | 14483 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF |
13552 | #define HAVE_DAEMON 1 | 14484 | #define HAVE_DAEMON 1 |
@@ -13558,8 +14490,8 @@ fi | |||
13558 | fi | 14490 | fi |
13559 | 14491 | ||
13560 | 14492 | ||
13561 | echo "$as_me:$LINENO: checking for getpagesize" >&5 | 14493 | { echo "$as_me:$LINENO: checking for getpagesize" >&5 |
13562 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 | 14494 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6; } |
13563 | if test "${ac_cv_func_getpagesize+set}" = set; then | 14495 | if test "${ac_cv_func_getpagesize+set}" = set; then |
13564 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14496 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13565 | else | 14497 | else |
@@ -13586,68 +14518,59 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
13586 | 14518 | ||
13587 | #undef getpagesize | 14519 | #undef getpagesize |
13588 | 14520 | ||
13589 | /* Override any gcc2 internal prototype to avoid an error. */ | 14521 | /* Override any GCC internal prototype to avoid an error. |
14522 | Use char because int might match the return type of a GCC | ||
14523 | builtin and then its argument prototype would still apply. */ | ||
13590 | #ifdef __cplusplus | 14524 | #ifdef __cplusplus |
13591 | extern "C" | 14525 | extern "C" |
13592 | { | ||
13593 | #endif | 14526 | #endif |
13594 | /* We use char because int might match the return type of a gcc2 | ||
13595 | builtin and then its argument prototype would still apply. */ | ||
13596 | char getpagesize (); | 14527 | char getpagesize (); |
13597 | /* The GNU C library defines this for functions which it implements | 14528 | /* The GNU C library defines this for functions which it implements |
13598 | to always fail with ENOSYS. Some functions are actually named | 14529 | to always fail with ENOSYS. Some functions are actually named |
13599 | something starting with __ and the normal name is an alias. */ | 14530 | something starting with __ and the normal name is an alias. */ |
13600 | #if defined (__stub_getpagesize) || defined (__stub___getpagesize) | 14531 | #if defined __stub_getpagesize || defined __stub___getpagesize |
13601 | choke me | 14532 | choke me |
13602 | #else | ||
13603 | char (*f) () = getpagesize; | ||
13604 | #endif | ||
13605 | #ifdef __cplusplus | ||
13606 | } | ||
13607 | #endif | 14533 | #endif |
13608 | 14534 | ||
13609 | int | 14535 | int |
13610 | main () | 14536 | main () |
13611 | { | 14537 | { |
13612 | return f != getpagesize; | 14538 | return getpagesize (); |
13613 | ; | 14539 | ; |
13614 | return 0; | 14540 | return 0; |
13615 | } | 14541 | } |
13616 | _ACEOF | 14542 | _ACEOF |
13617 | rm -f conftest.$ac_objext conftest$ac_exeext | 14543 | rm -f conftest.$ac_objext conftest$ac_exeext |
13618 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14544 | if { (ac_try="$ac_link" |
13619 | (eval $ac_link) 2>conftest.er1 | 14545 | case "(($ac_try" in |
14546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14547 | *) ac_try_echo=$ac_try;; | ||
14548 | esac | ||
14549 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14550 | (eval "$ac_link") 2>conftest.er1 | ||
13620 | ac_status=$? | 14551 | ac_status=$? |
13621 | grep -v '^ *+' conftest.er1 >conftest.err | 14552 | grep -v '^ *+' conftest.er1 >conftest.err |
13622 | rm -f conftest.er1 | 14553 | rm -f conftest.er1 |
13623 | cat conftest.err >&5 | 14554 | cat conftest.err >&5 |
13624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13625 | (exit $ac_status); } && | 14556 | (exit $ac_status); } && { |
13626 | { ac_try='test -z "$ac_c_werror_flag" | 14557 | test -z "$ac_c_werror_flag" || |
13627 | || test ! -s conftest.err' | 14558 | test ! -s conftest.err |
13628 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14559 | } && test -s conftest$ac_exeext && |
13629 | (eval $ac_try) 2>&5 | 14560 | $as_test_x conftest$ac_exeext; then |
13630 | ac_status=$? | ||
13631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13632 | (exit $ac_status); }; } && | ||
13633 | { ac_try='test -s conftest$ac_exeext' | ||
13634 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13635 | (eval $ac_try) 2>&5 | ||
13636 | ac_status=$? | ||
13637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13638 | (exit $ac_status); }; }; then | ||
13639 | ac_cv_func_getpagesize=yes | 14561 | ac_cv_func_getpagesize=yes |
13640 | else | 14562 | else |
13641 | echo "$as_me: failed program was:" >&5 | 14563 | echo "$as_me: failed program was:" >&5 |
13642 | sed 's/^/| /' conftest.$ac_ext >&5 | 14564 | sed 's/^/| /' conftest.$ac_ext >&5 |
13643 | 14565 | ||
13644 | ac_cv_func_getpagesize=no | 14566 | ac_cv_func_getpagesize=no |
13645 | fi | 14567 | fi |
13646 | rm -f conftest.err conftest.$ac_objext \ | 14568 | |
14569 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13647 | conftest$ac_exeext conftest.$ac_ext | 14570 | conftest$ac_exeext conftest.$ac_ext |
13648 | fi | 14571 | fi |
13649 | echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 | 14572 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 |
13650 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 | 14573 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6; } |
13651 | if test $ac_cv_func_getpagesize = yes; then | 14574 | if test $ac_cv_func_getpagesize = yes; then |
13652 | 14575 | ||
13653 | cat >>confdefs.h <<\_ACEOF | 14576 | cat >>confdefs.h <<\_ACEOF |
@@ -13655,8 +14578,8 @@ cat >>confdefs.h <<\_ACEOF | |||
13655 | _ACEOF | 14578 | _ACEOF |
13656 | 14579 | ||
13657 | else | 14580 | else |
13658 | echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 | 14581 | { echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 |
13659 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 | 14582 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6; } |
13660 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then | 14583 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then |
13661 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14584 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13662 | else | 14585 | else |
@@ -13669,56 +14592,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
13669 | cat >>conftest.$ac_ext <<_ACEOF | 14592 | cat >>conftest.$ac_ext <<_ACEOF |
13670 | /* end confdefs.h. */ | 14593 | /* end confdefs.h. */ |
13671 | 14594 | ||
13672 | /* Override any gcc2 internal prototype to avoid an error. */ | 14595 | /* Override any GCC internal prototype to avoid an error. |
14596 | Use char because int might match the return type of a GCC | ||
14597 | builtin and then its argument prototype would still apply. */ | ||
13673 | #ifdef __cplusplus | 14598 | #ifdef __cplusplus |
13674 | extern "C" | 14599 | extern "C" |
13675 | #endif | 14600 | #endif |
13676 | /* We use char because int might match the return type of a gcc2 | ||
13677 | builtin and then its argument prototype would still apply. */ | ||
13678 | char getpagesize (); | 14601 | char getpagesize (); |
13679 | int | 14602 | int |
13680 | main () | 14603 | main () |
13681 | { | 14604 | { |
13682 | getpagesize (); | 14605 | return getpagesize (); |
13683 | ; | 14606 | ; |
13684 | return 0; | 14607 | return 0; |
13685 | } | 14608 | } |
13686 | _ACEOF | 14609 | _ACEOF |
13687 | rm -f conftest.$ac_objext conftest$ac_exeext | 14610 | rm -f conftest.$ac_objext conftest$ac_exeext |
13688 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14611 | if { (ac_try="$ac_link" |
13689 | (eval $ac_link) 2>conftest.er1 | 14612 | case "(($ac_try" in |
14613 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14614 | *) ac_try_echo=$ac_try;; | ||
14615 | esac | ||
14616 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14617 | (eval "$ac_link") 2>conftest.er1 | ||
13690 | ac_status=$? | 14618 | ac_status=$? |
13691 | grep -v '^ *+' conftest.er1 >conftest.err | 14619 | grep -v '^ *+' conftest.er1 >conftest.err |
13692 | rm -f conftest.er1 | 14620 | rm -f conftest.er1 |
13693 | cat conftest.err >&5 | 14621 | cat conftest.err >&5 |
13694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13695 | (exit $ac_status); } && | 14623 | (exit $ac_status); } && { |
13696 | { ac_try='test -z "$ac_c_werror_flag" | 14624 | test -z "$ac_c_werror_flag" || |
13697 | || test ! -s conftest.err' | 14625 | test ! -s conftest.err |
13698 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14626 | } && test -s conftest$ac_exeext && |
13699 | (eval $ac_try) 2>&5 | 14627 | $as_test_x conftest$ac_exeext; then |
13700 | ac_status=$? | ||
13701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13702 | (exit $ac_status); }; } && | ||
13703 | { ac_try='test -s conftest$ac_exeext' | ||
13704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13705 | (eval $ac_try) 2>&5 | ||
13706 | ac_status=$? | ||
13707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13708 | (exit $ac_status); }; }; then | ||
13709 | ac_cv_lib_ucb_getpagesize=yes | 14628 | ac_cv_lib_ucb_getpagesize=yes |
13710 | else | 14629 | else |
13711 | echo "$as_me: failed program was:" >&5 | 14630 | echo "$as_me: failed program was:" >&5 |
13712 | sed 's/^/| /' conftest.$ac_ext >&5 | 14631 | sed 's/^/| /' conftest.$ac_ext >&5 |
13713 | 14632 | ||
13714 | ac_cv_lib_ucb_getpagesize=no | 14633 | ac_cv_lib_ucb_getpagesize=no |
13715 | fi | 14634 | fi |
13716 | rm -f conftest.err conftest.$ac_objext \ | 14635 | |
14636 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13717 | conftest$ac_exeext conftest.$ac_ext | 14637 | conftest$ac_exeext conftest.$ac_ext |
13718 | LIBS=$ac_check_lib_save_LIBS | 14638 | LIBS=$ac_check_lib_save_LIBS |
13719 | fi | 14639 | fi |
13720 | echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 | 14640 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 |
13721 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 | 14641 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6; } |
13722 | if test $ac_cv_lib_ucb_getpagesize = yes; then | 14642 | if test $ac_cv_lib_ucb_getpagesize = yes; then |
13723 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF | 14643 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF |
13724 | #define HAVE_GETPAGESIZE 1 | 14644 | #define HAVE_GETPAGESIZE 1 |
@@ -13732,8 +14652,8 @@ fi | |||
13732 | 14652 | ||
13733 | # Check for broken snprintf | 14653 | # Check for broken snprintf |
13734 | if test "x$ac_cv_func_snprintf" = "xyes" ; then | 14654 | if test "x$ac_cv_func_snprintf" = "xyes" ; then |
13735 | echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 | 14655 | { echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 |
13736 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 | 14656 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6; } |
13737 | if test "$cross_compiling" = yes; then | 14657 | if test "$cross_compiling" = yes; then |
13738 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 | 14658 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 |
13739 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} | 14659 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
@@ -13751,18 +14671,27 @@ int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} | |||
13751 | 14671 | ||
13752 | _ACEOF | 14672 | _ACEOF |
13753 | rm -f conftest$ac_exeext | 14673 | rm -f conftest$ac_exeext |
13754 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14674 | if { (ac_try="$ac_link" |
13755 | (eval $ac_link) 2>&5 | 14675 | case "(($ac_try" in |
14676 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14677 | *) ac_try_echo=$ac_try;; | ||
14678 | esac | ||
14679 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14680 | (eval "$ac_link") 2>&5 | ||
13756 | ac_status=$? | 14681 | ac_status=$? |
13757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13758 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 14683 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14684 | { (case "(($ac_try" in |
13760 | (eval $ac_try) 2>&5 | 14685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14686 | *) ac_try_echo=$ac_try;; | ||
14687 | esac | ||
14688 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14689 | (eval "$ac_try") 2>&5 | ||
13761 | ac_status=$? | 14690 | ac_status=$? |
13762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13763 | (exit $ac_status); }; }; then | 14692 | (exit $ac_status); }; }; then |
13764 | echo "$as_me:$LINENO: result: yes" >&5 | 14693 | { echo "$as_me:$LINENO: result: yes" >&5 |
13765 | echo "${ECHO_T}yes" >&6 | 14694 | echo "${ECHO_T}yes" >&6; } |
13766 | else | 14695 | else |
13767 | echo "$as_me: program exited with status $ac_status" >&5 | 14696 | echo "$as_me: program exited with status $ac_status" >&5 |
13768 | echo "$as_me: failed program was:" >&5 | 14697 | echo "$as_me: failed program was:" >&5 |
@@ -13770,8 +14699,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
13770 | 14699 | ||
13771 | ( exit $ac_status ) | 14700 | ( exit $ac_status ) |
13772 | 14701 | ||
13773 | echo "$as_me:$LINENO: result: no" >&5 | 14702 | { echo "$as_me:$LINENO: result: no" >&5 |
13774 | echo "${ECHO_T}no" >&6 | 14703 | echo "${ECHO_T}no" >&6; } |
13775 | 14704 | ||
13776 | cat >>confdefs.h <<\_ACEOF | 14705 | cat >>confdefs.h <<\_ACEOF |
13777 | #define BROKEN_SNPRINTF 1 | 14706 | #define BROKEN_SNPRINTF 1 |
@@ -13781,8 +14710,10 @@ _ACEOF | |||
13781 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} | 14710 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} |
13782 | 14711 | ||
13783 | fi | 14712 | fi |
13784 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14713 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13785 | fi | 14714 | fi |
14715 | |||
14716 | |||
13786 | fi | 14717 | fi |
13787 | 14718 | ||
13788 | # If we don't have a working asprintf, then we strongly depend on vsnprintf | 14719 | # If we don't have a working asprintf, then we strongly depend on vsnprintf |
@@ -13790,8 +14721,8 @@ fi | |||
13790 | # create (as per SUSv3) | 14721 | # create (as per SUSv3) |
13791 | if test "x$ac_cv_func_asprintf" != "xyes" && \ | 14722 | if test "x$ac_cv_func_asprintf" != "xyes" && \ |
13792 | test "x$ac_cv_func_vsnprintf" = "xyes" ; then | 14723 | test "x$ac_cv_func_vsnprintf" = "xyes" ; then |
13793 | echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5 | 14724 | { echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5 |
13794 | echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6 | 14725 | echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6; } |
13795 | if test "$cross_compiling" = yes; then | 14726 | if test "$cross_compiling" = yes; then |
13796 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5 | 14727 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5 |
13797 | echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} | 14728 | echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} |
@@ -13821,18 +14752,27 @@ int main(void) | |||
13821 | } | 14752 | } |
13822 | _ACEOF | 14753 | _ACEOF |
13823 | rm -f conftest$ac_exeext | 14754 | rm -f conftest$ac_exeext |
13824 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14755 | if { (ac_try="$ac_link" |
13825 | (eval $ac_link) 2>&5 | 14756 | case "(($ac_try" in |
14757 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14758 | *) ac_try_echo=$ac_try;; | ||
14759 | esac | ||
14760 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14761 | (eval "$ac_link") 2>&5 | ||
13826 | ac_status=$? | 14762 | ac_status=$? |
13827 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13828 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 14764 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14765 | { (case "(($ac_try" in |
13830 | (eval $ac_try) 2>&5 | 14766 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14767 | *) ac_try_echo=$ac_try;; | ||
14768 | esac | ||
14769 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14770 | (eval "$ac_try") 2>&5 | ||
13831 | ac_status=$? | 14771 | ac_status=$? |
13832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13833 | (exit $ac_status); }; }; then | 14773 | (exit $ac_status); }; }; then |
13834 | echo "$as_me:$LINENO: result: yes" >&5 | 14774 | { echo "$as_me:$LINENO: result: yes" >&5 |
13835 | echo "${ECHO_T}yes" >&6 | 14775 | echo "${ECHO_T}yes" >&6; } |
13836 | else | 14776 | else |
13837 | echo "$as_me: program exited with status $ac_status" >&5 | 14777 | echo "$as_me: program exited with status $ac_status" >&5 |
13838 | echo "$as_me: failed program was:" >&5 | 14778 | echo "$as_me: failed program was:" >&5 |
@@ -13840,8 +14780,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
13840 | 14780 | ||
13841 | ( exit $ac_status ) | 14781 | ( exit $ac_status ) |
13842 | 14782 | ||
13843 | echo "$as_me:$LINENO: result: no" >&5 | 14783 | { echo "$as_me:$LINENO: result: no" >&5 |
13844 | echo "${ECHO_T}no" >&6 | 14784 | echo "${ECHO_T}no" >&6; } |
13845 | 14785 | ||
13846 | cat >>confdefs.h <<\_ACEOF | 14786 | cat >>confdefs.h <<\_ACEOF |
13847 | #define BROKEN_SNPRINTF 1 | 14787 | #define BROKEN_SNPRINTF 1 |
@@ -13851,15 +14791,17 @@ _ACEOF | |||
13851 | echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} | 14791 | echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} |
13852 | 14792 | ||
13853 | fi | 14793 | fi |
13854 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14794 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13855 | fi | 14795 | fi |
14796 | |||
14797 | |||
13856 | fi | 14798 | fi |
13857 | 14799 | ||
13858 | # On systems where [v]snprintf is broken, but is declared in stdio, | 14800 | # On systems where [v]snprintf is broken, but is declared in stdio, |
13859 | # check that the fmt argument is const char * or just char *. | 14801 | # check that the fmt argument is const char * or just char *. |
13860 | # This is only useful for when BROKEN_SNPRINTF | 14802 | # This is only useful for when BROKEN_SNPRINTF |
13861 | echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5 | 14803 | { echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5 |
13862 | echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6 | 14804 | echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6; } |
13863 | cat >conftest.$ac_ext <<_ACEOF | 14805 | cat >conftest.$ac_ext <<_ACEOF |
13864 | /* confdefs.h. */ | 14806 | /* confdefs.h. */ |
13865 | _ACEOF | 14807 | _ACEOF |
@@ -13872,29 +14814,24 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
13872 | 14814 | ||
13873 | _ACEOF | 14815 | _ACEOF |
13874 | rm -f conftest.$ac_objext | 14816 | rm -f conftest.$ac_objext |
13875 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14817 | if { (ac_try="$ac_compile" |
13876 | (eval $ac_compile) 2>conftest.er1 | 14818 | case "(($ac_try" in |
14819 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14820 | *) ac_try_echo=$ac_try;; | ||
14821 | esac | ||
14822 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14823 | (eval "$ac_compile") 2>conftest.er1 | ||
13877 | ac_status=$? | 14824 | ac_status=$? |
13878 | grep -v '^ *+' conftest.er1 >conftest.err | 14825 | grep -v '^ *+' conftest.er1 >conftest.err |
13879 | rm -f conftest.er1 | 14826 | rm -f conftest.er1 |
13880 | cat conftest.err >&5 | 14827 | cat conftest.err >&5 |
13881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13882 | (exit $ac_status); } && | 14829 | (exit $ac_status); } && { |
13883 | { ac_try='test -z "$ac_c_werror_flag" | 14830 | test -z "$ac_c_werror_flag" || |
13884 | || test ! -s conftest.err' | 14831 | test ! -s conftest.err |
13885 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14832 | } && test -s conftest.$ac_objext; then |
13886 | (eval $ac_try) 2>&5 | 14833 | { echo "$as_me:$LINENO: result: yes" >&5 |
13887 | ac_status=$? | 14834 | echo "${ECHO_T}yes" >&6; } |
13888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13889 | (exit $ac_status); }; } && | ||
13890 | { ac_try='test -s conftest.$ac_objext' | ||
13891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13892 | (eval $ac_try) 2>&5 | ||
13893 | ac_status=$? | ||
13894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13895 | (exit $ac_status); }; }; then | ||
13896 | echo "$as_me:$LINENO: result: yes" >&5 | ||
13897 | echo "${ECHO_T}yes" >&6 | ||
13898 | 14835 | ||
13899 | cat >>confdefs.h <<\_ACEOF | 14836 | cat >>confdefs.h <<\_ACEOF |
13900 | #define SNPRINTF_CONST const | 14837 | #define SNPRINTF_CONST const |
@@ -13904,20 +14841,21 @@ else | |||
13904 | echo "$as_me: failed program was:" >&5 | 14841 | echo "$as_me: failed program was:" >&5 |
13905 | sed 's/^/| /' conftest.$ac_ext >&5 | 14842 | sed 's/^/| /' conftest.$ac_ext >&5 |
13906 | 14843 | ||
13907 | echo "$as_me:$LINENO: result: no" >&5 | 14844 | { echo "$as_me:$LINENO: result: no" >&5 |
13908 | echo "${ECHO_T}no" >&6 | 14845 | echo "${ECHO_T}no" >&6; } |
13909 | cat >>confdefs.h <<\_ACEOF | 14846 | cat >>confdefs.h <<\_ACEOF |
13910 | #define SNPRINTF_CONST /* not const */ | 14847 | #define SNPRINTF_CONST /* not const */ |
13911 | _ACEOF | 14848 | _ACEOF |
13912 | 14849 | ||
13913 | fi | 14850 | fi |
13914 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 14851 | |
14852 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13915 | 14853 | ||
13916 | # Check for missing getpeereid (or equiv) support | 14854 | # Check for missing getpeereid (or equiv) support |
13917 | NO_PEERCHECK="" | 14855 | NO_PEERCHECK="" |
13918 | if test "x$ac_cv_func_getpeereid" != "xyes" ; then | 14856 | if test "x$ac_cv_func_getpeereid" != "xyes" ; then |
13919 | echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5 | 14857 | { echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5 |
13920 | echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6 | 14858 | echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6; } |
13921 | cat >conftest.$ac_ext <<_ACEOF | 14859 | cat >conftest.$ac_ext <<_ACEOF |
13922 | /* confdefs.h. */ | 14860 | /* confdefs.h. */ |
13923 | _ACEOF | 14861 | _ACEOF |
@@ -13935,29 +14873,24 @@ int i = SO_PEERCRED; | |||
13935 | } | 14873 | } |
13936 | _ACEOF | 14874 | _ACEOF |
13937 | rm -f conftest.$ac_objext | 14875 | rm -f conftest.$ac_objext |
13938 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14876 | if { (ac_try="$ac_compile" |
13939 | (eval $ac_compile) 2>conftest.er1 | 14877 | case "(($ac_try" in |
14878 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14879 | *) ac_try_echo=$ac_try;; | ||
14880 | esac | ||
14881 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14882 | (eval "$ac_compile") 2>conftest.er1 | ||
13940 | ac_status=$? | 14883 | ac_status=$? |
13941 | grep -v '^ *+' conftest.er1 >conftest.err | 14884 | grep -v '^ *+' conftest.er1 >conftest.err |
13942 | rm -f conftest.er1 | 14885 | rm -f conftest.er1 |
13943 | cat conftest.err >&5 | 14886 | cat conftest.err >&5 |
13944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13945 | (exit $ac_status); } && | 14888 | (exit $ac_status); } && { |
13946 | { ac_try='test -z "$ac_c_werror_flag" | 14889 | test -z "$ac_c_werror_flag" || |
13947 | || test ! -s conftest.err' | 14890 | test ! -s conftest.err |
13948 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14891 | } && test -s conftest.$ac_objext; then |
13949 | (eval $ac_try) 2>&5 | 14892 | { echo "$as_me:$LINENO: result: yes" >&5 |
13950 | ac_status=$? | 14893 | echo "${ECHO_T}yes" >&6; } |
13951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13952 | (exit $ac_status); }; } && | ||
13953 | { ac_try='test -s conftest.$ac_objext' | ||
13954 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13955 | (eval $ac_try) 2>&5 | ||
13956 | ac_status=$? | ||
13957 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13958 | (exit $ac_status); }; }; then | ||
13959 | echo "$as_me:$LINENO: result: yes" >&5 | ||
13960 | echo "${ECHO_T}yes" >&6 | ||
13961 | 14894 | ||
13962 | cat >>confdefs.h <<\_ACEOF | 14895 | cat >>confdefs.h <<\_ACEOF |
13963 | #define HAVE_SO_PEERCRED 1 | 14896 | #define HAVE_SO_PEERCRED 1 |
@@ -13968,21 +14901,22 @@ else | |||
13968 | echo "$as_me: failed program was:" >&5 | 14901 | echo "$as_me: failed program was:" >&5 |
13969 | sed 's/^/| /' conftest.$ac_ext >&5 | 14902 | sed 's/^/| /' conftest.$ac_ext >&5 |
13970 | 14903 | ||
13971 | echo "$as_me:$LINENO: result: no" >&5 | 14904 | { echo "$as_me:$LINENO: result: no" >&5 |
13972 | echo "${ECHO_T}no" >&6 | 14905 | echo "${ECHO_T}no" >&6; } |
13973 | NO_PEERCHECK=1 | 14906 | NO_PEERCHECK=1 |
13974 | 14907 | ||
13975 | fi | 14908 | fi |
13976 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 14909 | |
14910 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13977 | fi | 14911 | fi |
13978 | 14912 | ||
13979 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then | 14913 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then |
13980 | echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 | 14914 | { echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 |
13981 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 | 14915 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6; } |
13982 | if test "$cross_compiling" = yes; then | 14916 | if test "$cross_compiling" = yes; then |
13983 | 14917 | ||
13984 | echo "$as_me:$LINENO: result: yes" >&5 | 14918 | { echo "$as_me:$LINENO: result: yes" >&5 |
13985 | echo "${ECHO_T}yes" >&6 | 14919 | echo "${ECHO_T}yes" >&6; } |
13986 | cat >>confdefs.h <<\_ACEOF | 14920 | cat >>confdefs.h <<\_ACEOF |
13987 | #define HAVE_STRICT_MKSTEMP 1 | 14921 | #define HAVE_STRICT_MKSTEMP 1 |
13988 | _ACEOF | 14922 | _ACEOF |
@@ -14006,19 +14940,28 @@ unlink(template); exit(0); | |||
14006 | 14940 | ||
14007 | _ACEOF | 14941 | _ACEOF |
14008 | rm -f conftest$ac_exeext | 14942 | rm -f conftest$ac_exeext |
14009 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14943 | if { (ac_try="$ac_link" |
14010 | (eval $ac_link) 2>&5 | 14944 | case "(($ac_try" in |
14945 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14946 | *) ac_try_echo=$ac_try;; | ||
14947 | esac | ||
14948 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14949 | (eval "$ac_link") 2>&5 | ||
14011 | ac_status=$? | 14950 | ac_status=$? |
14012 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14013 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 14952 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14014 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14953 | { (case "(($ac_try" in |
14015 | (eval $ac_try) 2>&5 | 14954 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14955 | *) ac_try_echo=$ac_try;; | ||
14956 | esac | ||
14957 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14958 | (eval "$ac_try") 2>&5 | ||
14016 | ac_status=$? | 14959 | ac_status=$? |
14017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14018 | (exit $ac_status); }; }; then | 14961 | (exit $ac_status); }; }; then |
14019 | 14962 | ||
14020 | echo "$as_me:$LINENO: result: no" >&5 | 14963 | { echo "$as_me:$LINENO: result: no" >&5 |
14021 | echo "${ECHO_T}no" >&6 | 14964 | echo "${ECHO_T}no" >&6; } |
14022 | 14965 | ||
14023 | else | 14966 | else |
14024 | echo "$as_me: program exited with status $ac_status" >&5 | 14967 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -14027,8 +14970,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
14027 | 14970 | ||
14028 | ( exit $ac_status ) | 14971 | ( exit $ac_status ) |
14029 | 14972 | ||
14030 | echo "$as_me:$LINENO: result: yes" >&5 | 14973 | { echo "$as_me:$LINENO: result: yes" >&5 |
14031 | echo "${ECHO_T}yes" >&6 | 14974 | echo "${ECHO_T}yes" >&6; } |
14032 | 14975 | ||
14033 | cat >>confdefs.h <<\_ACEOF | 14976 | cat >>confdefs.h <<\_ACEOF |
14034 | #define HAVE_STRICT_MKSTEMP 1 | 14977 | #define HAVE_STRICT_MKSTEMP 1 |
@@ -14036,17 +14979,19 @@ _ACEOF | |||
14036 | 14979 | ||
14037 | 14980 | ||
14038 | fi | 14981 | fi |
14039 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14982 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14040 | fi | 14983 | fi |
14984 | |||
14985 | |||
14041 | fi | 14986 | fi |
14042 | 14987 | ||
14043 | if test ! -z "$check_for_openpty_ctty_bug"; then | 14988 | if test ! -z "$check_for_openpty_ctty_bug"; then |
14044 | echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 | 14989 | { echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 |
14045 | echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 | 14990 | echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6; } |
14046 | if test "$cross_compiling" = yes; then | 14991 | if test "$cross_compiling" = yes; then |
14047 | 14992 | ||
14048 | echo "$as_me:$LINENO: result: cross-compiling" >&5 | 14993 | { echo "$as_me:$LINENO: result: cross-compiling" >&5 |
14049 | echo "${ECHO_T}cross-compiling" >&6 | 14994 | echo "${ECHO_T}cross-compiling" >&6; } |
14050 | 14995 | ||
14051 | 14996 | ||
14052 | else | 14997 | else |
@@ -14091,19 +15036,28 @@ main() | |||
14091 | 15036 | ||
14092 | _ACEOF | 15037 | _ACEOF |
14093 | rm -f conftest$ac_exeext | 15038 | rm -f conftest$ac_exeext |
14094 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15039 | if { (ac_try="$ac_link" |
14095 | (eval $ac_link) 2>&5 | 15040 | case "(($ac_try" in |
15041 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15042 | *) ac_try_echo=$ac_try;; | ||
15043 | esac | ||
15044 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15045 | (eval "$ac_link") 2>&5 | ||
14096 | ac_status=$? | 15046 | ac_status=$? |
14097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14098 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15048 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15049 | { (case "(($ac_try" in |
14100 | (eval $ac_try) 2>&5 | 15050 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15051 | *) ac_try_echo=$ac_try;; | ||
15052 | esac | ||
15053 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15054 | (eval "$ac_try") 2>&5 | ||
14101 | ac_status=$? | 15055 | ac_status=$? |
14102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14103 | (exit $ac_status); }; }; then | 15057 | (exit $ac_status); }; }; then |
14104 | 15058 | ||
14105 | echo "$as_me:$LINENO: result: yes" >&5 | 15059 | { echo "$as_me:$LINENO: result: yes" >&5 |
14106 | echo "${ECHO_T}yes" >&6 | 15060 | echo "${ECHO_T}yes" >&6; } |
14107 | 15061 | ||
14108 | else | 15062 | else |
14109 | echo "$as_me: program exited with status $ac_status" >&5 | 15063 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -14112,26 +15066,28 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
14112 | 15066 | ||
14113 | ( exit $ac_status ) | 15067 | ( exit $ac_status ) |
14114 | 15068 | ||
14115 | echo "$as_me:$LINENO: result: no" >&5 | 15069 | { echo "$as_me:$LINENO: result: no" >&5 |
14116 | echo "${ECHO_T}no" >&6 | 15070 | echo "${ECHO_T}no" >&6; } |
14117 | cat >>confdefs.h <<\_ACEOF | 15071 | cat >>confdefs.h <<\_ACEOF |
14118 | #define SSHD_ACQUIRES_CTTY 1 | 15072 | #define SSHD_ACQUIRES_CTTY 1 |
14119 | _ACEOF | 15073 | _ACEOF |
14120 | 15074 | ||
14121 | 15075 | ||
14122 | fi | 15076 | fi |
14123 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15077 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14124 | fi | 15078 | fi |
15079 | |||
15080 | |||
14125 | fi | 15081 | fi |
14126 | 15082 | ||
14127 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ | 15083 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ |
14128 | test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then | 15084 | test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then |
14129 | echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 | 15085 | { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 |
14130 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 | 15086 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } |
14131 | if test "$cross_compiling" = yes; then | 15087 | if test "$cross_compiling" = yes; then |
14132 | 15088 | ||
14133 | echo "$as_me:$LINENO: result: cross-compiling" >&5 | 15089 | { echo "$as_me:$LINENO: result: cross-compiling" >&5 |
14134 | echo "${ECHO_T}cross-compiling" >&6 | 15090 | echo "${ECHO_T}cross-compiling" >&6; } |
14135 | 15091 | ||
14136 | 15092 | ||
14137 | else | 15093 | else |
@@ -14198,19 +15154,28 @@ main(void) | |||
14198 | 15154 | ||
14199 | _ACEOF | 15155 | _ACEOF |
14200 | rm -f conftest$ac_exeext | 15156 | rm -f conftest$ac_exeext |
14201 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15157 | if { (ac_try="$ac_link" |
14202 | (eval $ac_link) 2>&5 | 15158 | case "(($ac_try" in |
15159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15160 | *) ac_try_echo=$ac_try;; | ||
15161 | esac | ||
15162 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15163 | (eval "$ac_link") 2>&5 | ||
14203 | ac_status=$? | 15164 | ac_status=$? |
14204 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14205 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15166 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14206 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15167 | { (case "(($ac_try" in |
14207 | (eval $ac_try) 2>&5 | 15168 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15169 | *) ac_try_echo=$ac_try;; | ||
15170 | esac | ||
15171 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15172 | (eval "$ac_try") 2>&5 | ||
14208 | ac_status=$? | 15173 | ac_status=$? |
14209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14210 | (exit $ac_status); }; }; then | 15175 | (exit $ac_status); }; }; then |
14211 | 15176 | ||
14212 | echo "$as_me:$LINENO: result: yes" >&5 | 15177 | { echo "$as_me:$LINENO: result: yes" >&5 |
14213 | echo "${ECHO_T}yes" >&6 | 15178 | echo "${ECHO_T}yes" >&6; } |
14214 | 15179 | ||
14215 | else | 15180 | else |
14216 | echo "$as_me: program exited with status $ac_status" >&5 | 15181 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -14219,27 +15184,30 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
14219 | 15184 | ||
14220 | ( exit $ac_status ) | 15185 | ( exit $ac_status ) |
14221 | 15186 | ||
14222 | echo "$as_me:$LINENO: result: no" >&5 | 15187 | { echo "$as_me:$LINENO: result: no" >&5 |
14223 | echo "${ECHO_T}no" >&6 | 15188 | echo "${ECHO_T}no" >&6; } |
14224 | cat >>confdefs.h <<\_ACEOF | 15189 | cat >>confdefs.h <<\_ACEOF |
14225 | #define BROKEN_GETADDRINFO 1 | 15190 | #define BROKEN_GETADDRINFO 1 |
14226 | _ACEOF | 15191 | _ACEOF |
14227 | 15192 | ||
14228 | 15193 | ||
14229 | fi | 15194 | fi |
14230 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15195 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14231 | fi | 15196 | fi |
15197 | |||
15198 | |||
14232 | fi | 15199 | fi |
14233 | 15200 | ||
14234 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ | 15201 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ |
14235 | test "x$check_for_aix_broken_getaddrinfo" = "x1"; then | 15202 | test "x$check_for_aix_broken_getaddrinfo" = "x1"; then |
14236 | echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 | 15203 | { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 |
14237 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 | 15204 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } |
14238 | if test "$cross_compiling" = yes; then | 15205 | if test "$cross_compiling" = yes; then |
14239 | echo "$as_me:$LINENO: result: cross-compiling" >&5 | ||
14240 | echo "${ECHO_T}cross-compiling" >&6 | ||
14241 | 15206 | ||
14242 | ] | 15207 | { echo "$as_me:$LINENO: result: cross-compiling" >&5 |
15208 | echo "${ECHO_T}cross-compiling" >&6; } | ||
15209 | |||
15210 | |||
14243 | else | 15211 | else |
14244 | cat >conftest.$ac_ext <<_ACEOF | 15212 | cat >conftest.$ac_ext <<_ACEOF |
14245 | /* confdefs.h. */ | 15213 | /* confdefs.h. */ |
@@ -14292,19 +15260,28 @@ main(void) | |||
14292 | 15260 | ||
14293 | _ACEOF | 15261 | _ACEOF |
14294 | rm -f conftest$ac_exeext | 15262 | rm -f conftest$ac_exeext |
14295 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15263 | if { (ac_try="$ac_link" |
14296 | (eval $ac_link) 2>&5 | 15264 | case "(($ac_try" in |
15265 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15266 | *) ac_try_echo=$ac_try;; | ||
15267 | esac | ||
15268 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15269 | (eval "$ac_link") 2>&5 | ||
14297 | ac_status=$? | 15270 | ac_status=$? |
14298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14299 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15272 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14300 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15273 | { (case "(($ac_try" in |
14301 | (eval $ac_try) 2>&5 | 15274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15275 | *) ac_try_echo=$ac_try;; | ||
15276 | esac | ||
15277 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15278 | (eval "$ac_try") 2>&5 | ||
14302 | ac_status=$? | 15279 | ac_status=$? |
14303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14304 | (exit $ac_status); }; }; then | 15281 | (exit $ac_status); }; }; then |
14305 | 15282 | ||
14306 | echo "$as_me:$LINENO: result: yes" >&5 | 15283 | { echo "$as_me:$LINENO: result: yes" >&5 |
14307 | echo "${ECHO_T}yes" >&6 | 15284 | echo "${ECHO_T}yes" >&6; } |
14308 | 15285 | ||
14309 | cat >>confdefs.h <<\_ACEOF | 15286 | cat >>confdefs.h <<\_ACEOF |
14310 | #define AIX_GETNAMEINFO_HACK 1 | 15287 | #define AIX_GETNAMEINFO_HACK 1 |
@@ -14318,21 +15295,23 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
14318 | 15295 | ||
14319 | ( exit $ac_status ) | 15296 | ( exit $ac_status ) |
14320 | 15297 | ||
14321 | echo "$as_me:$LINENO: result: no" >&5 | 15298 | { echo "$as_me:$LINENO: result: no" >&5 |
14322 | echo "${ECHO_T}no" >&6 | 15299 | echo "${ECHO_T}no" >&6; } |
14323 | cat >>confdefs.h <<\_ACEOF | 15300 | cat >>confdefs.h <<\_ACEOF |
14324 | #define BROKEN_GETADDRINFO 1 | 15301 | #define BROKEN_GETADDRINFO 1 |
14325 | _ACEOF | 15302 | _ACEOF |
14326 | 15303 | ||
14327 | 15304 | ||
14328 | fi | 15305 | fi |
14329 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15306 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14330 | fi | 15307 | fi |
15308 | |||
15309 | |||
14331 | fi | 15310 | fi |
14332 | 15311 | ||
14333 | if test "x$check_for_conflicting_getspnam" = "x1"; then | 15312 | if test "x$check_for_conflicting_getspnam" = "x1"; then |
14334 | echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5 | 15313 | { echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5 |
14335 | echo $ECHO_N "checking for conflicting getspnam in shadow.h... $ECHO_C" >&6 | 15314 | echo $ECHO_N "checking for conflicting getspnam in shadow.h... $ECHO_C" >&6; } |
14336 | cat >conftest.$ac_ext <<_ACEOF | 15315 | cat >conftest.$ac_ext <<_ACEOF |
14337 | 15316 | ||
14338 | #include <shadow.h> | 15317 | #include <shadow.h> |
@@ -14340,38 +15319,33 @@ int main(void) {exit(0);} | |||
14340 | 15319 | ||
14341 | _ACEOF | 15320 | _ACEOF |
14342 | rm -f conftest.$ac_objext | 15321 | rm -f conftest.$ac_objext |
14343 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15322 | if { (ac_try="$ac_compile" |
14344 | (eval $ac_compile) 2>conftest.er1 | 15323 | case "(($ac_try" in |
15324 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15325 | *) ac_try_echo=$ac_try;; | ||
15326 | esac | ||
15327 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15328 | (eval "$ac_compile") 2>conftest.er1 | ||
14345 | ac_status=$? | 15329 | ac_status=$? |
14346 | grep -v '^ *+' conftest.er1 >conftest.err | 15330 | grep -v '^ *+' conftest.er1 >conftest.err |
14347 | rm -f conftest.er1 | 15331 | rm -f conftest.er1 |
14348 | cat conftest.err >&5 | 15332 | cat conftest.err >&5 |
14349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14350 | (exit $ac_status); } && | 15334 | (exit $ac_status); } && { |
14351 | { ac_try='test -z "$ac_c_werror_flag" | 15335 | test -z "$ac_c_werror_flag" || |
14352 | || test ! -s conftest.err' | 15336 | test ! -s conftest.err |
14353 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15337 | } && test -s conftest.$ac_objext; then |
14354 | (eval $ac_try) 2>&5 | ||
14355 | ac_status=$? | ||
14356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14357 | (exit $ac_status); }; } && | ||
14358 | { ac_try='test -s conftest.$ac_objext' | ||
14359 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14360 | (eval $ac_try) 2>&5 | ||
14361 | ac_status=$? | ||
14362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14363 | (exit $ac_status); }; }; then | ||
14364 | 15338 | ||
14365 | echo "$as_me:$LINENO: result: no" >&5 | 15339 | { echo "$as_me:$LINENO: result: no" >&5 |
14366 | echo "${ECHO_T}no" >&6 | 15340 | echo "${ECHO_T}no" >&6; } |
14367 | 15341 | ||
14368 | else | 15342 | else |
14369 | echo "$as_me: failed program was:" >&5 | 15343 | echo "$as_me: failed program was:" >&5 |
14370 | sed 's/^/| /' conftest.$ac_ext >&5 | 15344 | sed 's/^/| /' conftest.$ac_ext >&5 |
14371 | 15345 | ||
14372 | 15346 | ||
14373 | echo "$as_me:$LINENO: result: yes" >&5 | 15347 | { echo "$as_me:$LINENO: result: yes" >&5 |
14374 | echo "${ECHO_T}yes" >&6 | 15348 | echo "${ECHO_T}yes" >&6; } |
14375 | 15349 | ||
14376 | cat >>confdefs.h <<\_ACEOF | 15350 | cat >>confdefs.h <<\_ACEOF |
14377 | #define GETSPNAM_CONFLICTING_DEFS 1 | 15351 | #define GETSPNAM_CONFLICTING_DEFS 1 |
@@ -14380,11 +15354,12 @@ _ACEOF | |||
14380 | 15354 | ||
14381 | 15355 | ||
14382 | fi | 15356 | fi |
14383 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 15357 | |
15358 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
14384 | fi | 15359 | fi |
14385 | 15360 | ||
14386 | echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | 15361 | { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 |
14387 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 | 15362 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } |
14388 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | 15363 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
14389 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15364 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14390 | else | 15365 | else |
@@ -14405,39 +15380,35 @@ getpgrp (0); | |||
14405 | } | 15380 | } |
14406 | _ACEOF | 15381 | _ACEOF |
14407 | rm -f conftest.$ac_objext | 15382 | rm -f conftest.$ac_objext |
14408 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15383 | if { (ac_try="$ac_compile" |
14409 | (eval $ac_compile) 2>conftest.er1 | 15384 | case "(($ac_try" in |
15385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15386 | *) ac_try_echo=$ac_try;; | ||
15387 | esac | ||
15388 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15389 | (eval "$ac_compile") 2>conftest.er1 | ||
14410 | ac_status=$? | 15390 | ac_status=$? |
14411 | grep -v '^ *+' conftest.er1 >conftest.err | 15391 | grep -v '^ *+' conftest.er1 >conftest.err |
14412 | rm -f conftest.er1 | 15392 | rm -f conftest.er1 |
14413 | cat conftest.err >&5 | 15393 | cat conftest.err >&5 |
14414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14415 | (exit $ac_status); } && | 15395 | (exit $ac_status); } && { |
14416 | { ac_try='test -z "$ac_c_werror_flag" | 15396 | test -z "$ac_c_werror_flag" || |
14417 | || test ! -s conftest.err' | 15397 | test ! -s conftest.err |
14418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15398 | } && test -s conftest.$ac_objext; then |
14419 | (eval $ac_try) 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_func_getpgrp_void=no | 15399 | ac_cv_func_getpgrp_void=no |
14430 | else | 15400 | else |
14431 | echo "$as_me: failed program was:" >&5 | 15401 | echo "$as_me: failed program was:" >&5 |
14432 | sed 's/^/| /' conftest.$ac_ext >&5 | 15402 | sed 's/^/| /' conftest.$ac_ext >&5 |
14433 | 15403 | ||
14434 | ac_cv_func_getpgrp_void=yes | 15404 | ac_cv_func_getpgrp_void=yes |
14435 | fi | 15405 | fi |
14436 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 15406 | |
15407 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
14437 | 15408 | ||
14438 | fi | 15409 | fi |
14439 | echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 15410 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
14440 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 | 15411 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } |
14441 | if test $ac_cv_func_getpgrp_void = yes; then | 15412 | if test $ac_cv_func_getpgrp_void = yes; then |
14442 | 15413 | ||
14443 | cat >>confdefs.h <<\_ACEOF | 15414 | cat >>confdefs.h <<\_ACEOF |
@@ -14447,474 +15418,13 @@ _ACEOF | |||
14447 | fi | 15418 | fi |
14448 | 15419 | ||
14449 | 15420 | ||
14450 | # Check for PAM libs | ||
14451 | PAM_MSG="no" | ||
14452 | |||
14453 | # Check whether --with-pam or --without-pam was given. | ||
14454 | if test "${with_pam+set}" = set; then | ||
14455 | withval="$with_pam" | ||
14456 | |||
14457 | if test "x$withval" != "xno" ; then | ||
14458 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ | ||
14459 | test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then | ||
14460 | { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 | ||
14461 | echo "$as_me: error: PAM headers not found" >&2;} | ||
14462 | { (exit 1); exit 1; }; } | ||
14463 | fi | ||
14464 | |||
14465 | |||
14466 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | ||
14467 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | ||
14468 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | ||
14469 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14470 | else | ||
14471 | ac_check_lib_save_LIBS=$LIBS | ||
14472 | LIBS="-ldl $LIBS" | ||
14473 | cat >conftest.$ac_ext <<_ACEOF | ||
14474 | /* confdefs.h. */ | ||
14475 | _ACEOF | ||
14476 | cat confdefs.h >>conftest.$ac_ext | ||
14477 | cat >>conftest.$ac_ext <<_ACEOF | ||
14478 | /* end confdefs.h. */ | ||
14479 | |||
14480 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
14481 | #ifdef __cplusplus | ||
14482 | extern "C" | ||
14483 | #endif | ||
14484 | /* We use char because int might match the return type of a gcc2 | ||
14485 | builtin and then its argument prototype would still apply. */ | ||
14486 | char dlopen (); | ||
14487 | int | ||
14488 | main () | ||
14489 | { | ||
14490 | dlopen (); | ||
14491 | ; | ||
14492 | return 0; | ||
14493 | } | ||
14494 | _ACEOF | ||
14495 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14496 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14497 | (eval $ac_link) 2>conftest.er1 | ||
14498 | ac_status=$? | ||
14499 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14500 | rm -f conftest.er1 | ||
14501 | cat conftest.err >&5 | ||
14502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14503 | (exit $ac_status); } && | ||
14504 | { ac_try='test -z "$ac_c_werror_flag" | ||
14505 | || test ! -s conftest.err' | ||
14506 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14507 | (eval $ac_try) 2>&5 | ||
14508 | ac_status=$? | ||
14509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14510 | (exit $ac_status); }; } && | ||
14511 | { ac_try='test -s conftest$ac_exeext' | ||
14512 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14513 | (eval $ac_try) 2>&5 | ||
14514 | ac_status=$? | ||
14515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14516 | (exit $ac_status); }; }; then | ||
14517 | ac_cv_lib_dl_dlopen=yes | ||
14518 | else | ||
14519 | echo "$as_me: failed program was:" >&5 | ||
14520 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14521 | |||
14522 | ac_cv_lib_dl_dlopen=no | ||
14523 | fi | ||
14524 | rm -f conftest.err conftest.$ac_objext \ | ||
14525 | conftest$ac_exeext conftest.$ac_ext | ||
14526 | LIBS=$ac_check_lib_save_LIBS | ||
14527 | fi | ||
14528 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | ||
14529 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | ||
14530 | if test $ac_cv_lib_dl_dlopen = yes; then | ||
14531 | cat >>confdefs.h <<_ACEOF | ||
14532 | #define HAVE_LIBDL 1 | ||
14533 | _ACEOF | ||
14534 | |||
14535 | LIBS="-ldl $LIBS" | ||
14536 | |||
14537 | fi | ||
14538 | |||
14539 | |||
14540 | echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 | ||
14541 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6 | ||
14542 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then | ||
14543 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14544 | else | ||
14545 | ac_check_lib_save_LIBS=$LIBS | ||
14546 | LIBS="-lpam $LIBS" | ||
14547 | cat >conftest.$ac_ext <<_ACEOF | ||
14548 | /* confdefs.h. */ | ||
14549 | _ACEOF | ||
14550 | cat confdefs.h >>conftest.$ac_ext | ||
14551 | cat >>conftest.$ac_ext <<_ACEOF | ||
14552 | /* end confdefs.h. */ | ||
14553 | |||
14554 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
14555 | #ifdef __cplusplus | ||
14556 | extern "C" | ||
14557 | #endif | ||
14558 | /* We use char because int might match the return type of a gcc2 | ||
14559 | builtin and then its argument prototype would still apply. */ | ||
14560 | char pam_set_item (); | ||
14561 | int | ||
14562 | main () | ||
14563 | { | ||
14564 | pam_set_item (); | ||
14565 | ; | ||
14566 | return 0; | ||
14567 | } | ||
14568 | _ACEOF | ||
14569 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14570 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14571 | (eval $ac_link) 2>conftest.er1 | ||
14572 | ac_status=$? | ||
14573 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14574 | rm -f conftest.er1 | ||
14575 | cat conftest.err >&5 | ||
14576 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14577 | (exit $ac_status); } && | ||
14578 | { ac_try='test -z "$ac_c_werror_flag" | ||
14579 | || test ! -s conftest.err' | ||
14580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14581 | (eval $ac_try) 2>&5 | ||
14582 | ac_status=$? | ||
14583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14584 | (exit $ac_status); }; } && | ||
14585 | { ac_try='test -s conftest$ac_exeext' | ||
14586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14587 | (eval $ac_try) 2>&5 | ||
14588 | ac_status=$? | ||
14589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14590 | (exit $ac_status); }; }; then | ||
14591 | ac_cv_lib_pam_pam_set_item=yes | ||
14592 | else | ||
14593 | echo "$as_me: failed program was:" >&5 | ||
14594 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14595 | |||
14596 | ac_cv_lib_pam_pam_set_item=no | ||
14597 | fi | ||
14598 | rm -f conftest.err conftest.$ac_objext \ | ||
14599 | conftest$ac_exeext conftest.$ac_ext | ||
14600 | LIBS=$ac_check_lib_save_LIBS | ||
14601 | fi | ||
14602 | echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 | ||
14603 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 | ||
14604 | if test $ac_cv_lib_pam_pam_set_item = yes; then | ||
14605 | cat >>confdefs.h <<_ACEOF | ||
14606 | #define HAVE_LIBPAM 1 | ||
14607 | _ACEOF | ||
14608 | |||
14609 | LIBS="-lpam $LIBS" | ||
14610 | |||
14611 | else | ||
14612 | { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | ||
14613 | echo "$as_me: error: *** libpam missing" >&2;} | ||
14614 | { (exit 1); exit 1; }; } | ||
14615 | fi | ||
14616 | |||
14617 | |||
14618 | for ac_func in pam_getenvlist | ||
14619 | do | ||
14620 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
14621 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
14622 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
14623 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
14624 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14625 | else | ||
14626 | cat >conftest.$ac_ext <<_ACEOF | ||
14627 | /* confdefs.h. */ | ||
14628 | _ACEOF | ||
14629 | cat confdefs.h >>conftest.$ac_ext | ||
14630 | cat >>conftest.$ac_ext <<_ACEOF | ||
14631 | /* end confdefs.h. */ | ||
14632 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
14633 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
14634 | #define $ac_func innocuous_$ac_func | ||
14635 | |||
14636 | /* System header to define __stub macros and hopefully few prototypes, | ||
14637 | which can conflict with char $ac_func (); below. | ||
14638 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
14639 | <limits.h> exists even on freestanding compilers. */ | ||
14640 | |||
14641 | #ifdef __STDC__ | ||
14642 | # include <limits.h> | ||
14643 | #else | ||
14644 | # include <assert.h> | ||
14645 | #endif | ||
14646 | |||
14647 | #undef $ac_func | ||
14648 | |||
14649 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
14650 | #ifdef __cplusplus | ||
14651 | extern "C" | ||
14652 | { | ||
14653 | #endif | ||
14654 | /* We use char because int might match the return type of a gcc2 | ||
14655 | builtin and then its argument prototype would still apply. */ | ||
14656 | char $ac_func (); | ||
14657 | /* The GNU C library defines this for functions which it implements | ||
14658 | to always fail with ENOSYS. Some functions are actually named | ||
14659 | something starting with __ and the normal name is an alias. */ | ||
14660 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
14661 | choke me | ||
14662 | #else | ||
14663 | char (*f) () = $ac_func; | ||
14664 | #endif | ||
14665 | #ifdef __cplusplus | ||
14666 | } | ||
14667 | #endif | ||
14668 | |||
14669 | int | ||
14670 | main () | ||
14671 | { | ||
14672 | return f != $ac_func; | ||
14673 | ; | ||
14674 | return 0; | ||
14675 | } | ||
14676 | _ACEOF | ||
14677 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14678 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14679 | (eval $ac_link) 2>conftest.er1 | ||
14680 | ac_status=$? | ||
14681 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14682 | rm -f conftest.er1 | ||
14683 | cat conftest.err >&5 | ||
14684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14685 | (exit $ac_status); } && | ||
14686 | { ac_try='test -z "$ac_c_werror_flag" | ||
14687 | || test ! -s conftest.err' | ||
14688 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14689 | (eval $ac_try) 2>&5 | ||
14690 | ac_status=$? | ||
14691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14692 | (exit $ac_status); }; } && | ||
14693 | { ac_try='test -s conftest$ac_exeext' | ||
14694 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14695 | (eval $ac_try) 2>&5 | ||
14696 | ac_status=$? | ||
14697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14698 | (exit $ac_status); }; }; then | ||
14699 | eval "$as_ac_var=yes" | ||
14700 | else | ||
14701 | echo "$as_me: failed program was:" >&5 | ||
14702 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14703 | |||
14704 | eval "$as_ac_var=no" | ||
14705 | fi | ||
14706 | rm -f conftest.err conftest.$ac_objext \ | ||
14707 | conftest$ac_exeext conftest.$ac_ext | ||
14708 | fi | ||
14709 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
14710 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
14711 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
14712 | cat >>confdefs.h <<_ACEOF | ||
14713 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
14714 | _ACEOF | ||
14715 | |||
14716 | fi | ||
14717 | done | ||
14718 | |||
14719 | |||
14720 | for ac_func in pam_putenv | ||
14721 | do | ||
14722 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
14723 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
14724 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
14725 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
14726 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14727 | else | ||
14728 | cat >conftest.$ac_ext <<_ACEOF | ||
14729 | /* confdefs.h. */ | ||
14730 | _ACEOF | ||
14731 | cat confdefs.h >>conftest.$ac_ext | ||
14732 | cat >>conftest.$ac_ext <<_ACEOF | ||
14733 | /* end confdefs.h. */ | ||
14734 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
14735 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
14736 | #define $ac_func innocuous_$ac_func | ||
14737 | |||
14738 | /* System header to define __stub macros and hopefully few prototypes, | ||
14739 | which can conflict with char $ac_func (); below. | ||
14740 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
14741 | <limits.h> exists even on freestanding compilers. */ | ||
14742 | |||
14743 | #ifdef __STDC__ | ||
14744 | # include <limits.h> | ||
14745 | #else | ||
14746 | # include <assert.h> | ||
14747 | #endif | ||
14748 | |||
14749 | #undef $ac_func | ||
14750 | |||
14751 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
14752 | #ifdef __cplusplus | ||
14753 | extern "C" | ||
14754 | { | ||
14755 | #endif | ||
14756 | /* We use char because int might match the return type of a gcc2 | ||
14757 | builtin and then its argument prototype would still apply. */ | ||
14758 | char $ac_func (); | ||
14759 | /* The GNU C library defines this for functions which it implements | ||
14760 | to always fail with ENOSYS. Some functions are actually named | ||
14761 | something starting with __ and the normal name is an alias. */ | ||
14762 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
14763 | choke me | ||
14764 | #else | ||
14765 | char (*f) () = $ac_func; | ||
14766 | #endif | ||
14767 | #ifdef __cplusplus | ||
14768 | } | ||
14769 | #endif | ||
14770 | |||
14771 | int | ||
14772 | main () | ||
14773 | { | ||
14774 | return f != $ac_func; | ||
14775 | ; | ||
14776 | return 0; | ||
14777 | } | ||
14778 | _ACEOF | ||
14779 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14780 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14781 | (eval $ac_link) 2>conftest.er1 | ||
14782 | ac_status=$? | ||
14783 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14784 | rm -f conftest.er1 | ||
14785 | cat conftest.err >&5 | ||
14786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14787 | (exit $ac_status); } && | ||
14788 | { ac_try='test -z "$ac_c_werror_flag" | ||
14789 | || test ! -s conftest.err' | ||
14790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14791 | (eval $ac_try) 2>&5 | ||
14792 | ac_status=$? | ||
14793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14794 | (exit $ac_status); }; } && | ||
14795 | { ac_try='test -s conftest$ac_exeext' | ||
14796 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14797 | (eval $ac_try) 2>&5 | ||
14798 | ac_status=$? | ||
14799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14800 | (exit $ac_status); }; }; then | ||
14801 | eval "$as_ac_var=yes" | ||
14802 | else | ||
14803 | echo "$as_me: failed program was:" >&5 | ||
14804 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14805 | |||
14806 | eval "$as_ac_var=no" | ||
14807 | fi | ||
14808 | rm -f conftest.err conftest.$ac_objext \ | ||
14809 | conftest$ac_exeext conftest.$ac_ext | ||
14810 | fi | ||
14811 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
14812 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
14813 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
14814 | cat >>confdefs.h <<_ACEOF | ||
14815 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
14816 | _ACEOF | ||
14817 | |||
14818 | fi | ||
14819 | done | ||
14820 | |||
14821 | |||
14822 | PAM_MSG="yes" | ||
14823 | |||
14824 | |||
14825 | cat >>confdefs.h <<\_ACEOF | ||
14826 | #define USE_PAM 1 | ||
14827 | _ACEOF | ||
14828 | |||
14829 | if test $ac_cv_lib_dl_dlopen = yes; then | ||
14830 | LIBPAM="-lpam -ldl" | ||
14831 | else | ||
14832 | LIBPAM="-lpam" | ||
14833 | fi | ||
14834 | |||
14835 | fi | ||
14836 | |||
14837 | |||
14838 | fi; | ||
14839 | |||
14840 | # Check for older PAM | ||
14841 | if test "x$PAM_MSG" = "xyes" ; then | ||
14842 | # Check PAM strerror arguments (old PAM) | ||
14843 | echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 | ||
14844 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 | ||
14845 | cat >conftest.$ac_ext <<_ACEOF | ||
14846 | /* confdefs.h. */ | ||
14847 | _ACEOF | ||
14848 | cat confdefs.h >>conftest.$ac_ext | ||
14849 | cat >>conftest.$ac_ext <<_ACEOF | ||
14850 | /* end confdefs.h. */ | ||
14851 | |||
14852 | #include <stdlib.h> | ||
14853 | #if defined(HAVE_SECURITY_PAM_APPL_H) | ||
14854 | #include <security/pam_appl.h> | ||
14855 | #elif defined (HAVE_PAM_PAM_APPL_H) | ||
14856 | #include <pam/pam_appl.h> | ||
14857 | #endif | ||
14858 | |||
14859 | int | ||
14860 | main () | ||
14861 | { | ||
14862 | (void)pam_strerror((pam_handle_t *)NULL, -1); | ||
14863 | ; | ||
14864 | return 0; | ||
14865 | } | ||
14866 | _ACEOF | ||
14867 | rm -f conftest.$ac_objext | ||
14868 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14869 | (eval $ac_compile) 2>conftest.er1 | ||
14870 | ac_status=$? | ||
14871 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14872 | rm -f conftest.er1 | ||
14873 | cat conftest.err >&5 | ||
14874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14875 | (exit $ac_status); } && | ||
14876 | { ac_try='test -z "$ac_c_werror_flag" | ||
14877 | || test ! -s conftest.err' | ||
14878 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14879 | (eval $ac_try) 2>&5 | ||
14880 | ac_status=$? | ||
14881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14882 | (exit $ac_status); }; } && | ||
14883 | { ac_try='test -s conftest.$ac_objext' | ||
14884 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14885 | (eval $ac_try) 2>&5 | ||
14886 | ac_status=$? | ||
14887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14888 | (exit $ac_status); }; }; then | ||
14889 | echo "$as_me:$LINENO: result: no" >&5 | ||
14890 | echo "${ECHO_T}no" >&6 | ||
14891 | else | ||
14892 | echo "$as_me: failed program was:" >&5 | ||
14893 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14894 | |||
14895 | |||
14896 | |||
14897 | cat >>confdefs.h <<\_ACEOF | ||
14898 | #define HAVE_OLD_PAM 1 | ||
14899 | _ACEOF | ||
14900 | |||
14901 | echo "$as_me:$LINENO: result: yes" >&5 | ||
14902 | echo "${ECHO_T}yes" >&6 | ||
14903 | PAM_MSG="yes (old library)" | ||
14904 | |||
14905 | |||
14906 | fi | ||
14907 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
14908 | fi | ||
14909 | |||
14910 | # Search for OpenSSL | 15421 | # Search for OpenSSL |
14911 | saved_CPPFLAGS="$CPPFLAGS" | 15422 | saved_CPPFLAGS="$CPPFLAGS" |
14912 | saved_LDFLAGS="$LDFLAGS" | 15423 | saved_LDFLAGS="$LDFLAGS" |
14913 | 15424 | ||
14914 | # Check whether --with-ssl-dir or --without-ssl-dir was given. | 15425 | # Check whether --with-ssl-dir was given. |
14915 | if test "${with_ssl_dir+set}" = set; then | 15426 | if test "${with_ssl_dir+set}" = set; then |
14916 | withval="$with_ssl_dir" | 15427 | withval=$with_ssl_dir; |
14917 | |||
14918 | if test "x$withval" != "xno" ; then | 15428 | if test "x$withval" != "xno" ; then |
14919 | case "$withval" in | 15429 | case "$withval" in |
14920 | # Relative paths | 15430 | # Relative paths |
@@ -14941,7 +15451,8 @@ if test "${with_ssl_dir+set}" = set; then | |||
14941 | fi | 15451 | fi |
14942 | 15452 | ||
14943 | 15453 | ||
14944 | fi; | 15454 | fi |
15455 | |||
14945 | LIBS="-lcrypto $LIBS" | 15456 | LIBS="-lcrypto $LIBS" |
14946 | cat >conftest.$ac_ext <<_ACEOF | 15457 | cat >conftest.$ac_ext <<_ACEOF |
14947 | /* confdefs.h. */ | 15458 | /* confdefs.h. */ |
@@ -14950,43 +15461,39 @@ cat confdefs.h >>conftest.$ac_ext | |||
14950 | cat >>conftest.$ac_ext <<_ACEOF | 15461 | cat >>conftest.$ac_ext <<_ACEOF |
14951 | /* end confdefs.h. */ | 15462 | /* end confdefs.h. */ |
14952 | 15463 | ||
14953 | /* Override any gcc2 internal prototype to avoid an error. */ | 15464 | /* Override any GCC internal prototype to avoid an error. |
15465 | Use char because int might match the return type of a GCC | ||
15466 | builtin and then its argument prototype would still apply. */ | ||
14954 | #ifdef __cplusplus | 15467 | #ifdef __cplusplus |
14955 | extern "C" | 15468 | extern "C" |
14956 | #endif | 15469 | #endif |
14957 | /* We use char because int might match the return type of a gcc2 | ||
14958 | builtin and then its argument prototype would still apply. */ | ||
14959 | char RAND_add (); | 15470 | char RAND_add (); |
14960 | int | 15471 | int |
14961 | main () | 15472 | main () |
14962 | { | 15473 | { |
14963 | RAND_add (); | 15474 | return RAND_add (); |
14964 | ; | 15475 | ; |
14965 | return 0; | 15476 | return 0; |
14966 | } | 15477 | } |
14967 | _ACEOF | 15478 | _ACEOF |
14968 | rm -f conftest.$ac_objext conftest$ac_exeext | 15479 | rm -f conftest.$ac_objext conftest$ac_exeext |
14969 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15480 | if { (ac_try="$ac_link" |
14970 | (eval $ac_link) 2>conftest.er1 | 15481 | case "(($ac_try" in |
15482 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15483 | *) ac_try_echo=$ac_try;; | ||
15484 | esac | ||
15485 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15486 | (eval "$ac_link") 2>conftest.er1 | ||
14971 | ac_status=$? | 15487 | ac_status=$? |
14972 | grep -v '^ *+' conftest.er1 >conftest.err | 15488 | grep -v '^ *+' conftest.er1 >conftest.err |
14973 | rm -f conftest.er1 | 15489 | rm -f conftest.er1 |
14974 | cat conftest.err >&5 | 15490 | cat conftest.err >&5 |
14975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14976 | (exit $ac_status); } && | 15492 | (exit $ac_status); } && { |
14977 | { ac_try='test -z "$ac_c_werror_flag" | 15493 | test -z "$ac_c_werror_flag" || |
14978 | || test ! -s conftest.err' | 15494 | test ! -s conftest.err |
14979 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15495 | } && test -s conftest$ac_exeext && |
14980 | (eval $ac_try) 2>&5 | 15496 | $as_test_x conftest$ac_exeext; then |
14981 | ac_status=$? | ||
14982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14983 | (exit $ac_status); }; } && | ||
14984 | { ac_try='test -s conftest$ac_exeext' | ||
14985 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14986 | (eval $ac_try) 2>&5 | ||
14987 | ac_status=$? | ||
14988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14989 | (exit $ac_status); }; }; then | ||
14990 | 15497 | ||
14991 | cat >>confdefs.h <<\_ACEOF | 15498 | cat >>confdefs.h <<\_ACEOF |
14992 | #define HAVE_OPENSSL 1 | 15499 | #define HAVE_OPENSSL 1 |
@@ -15010,43 +15517,39 @@ cat confdefs.h >>conftest.$ac_ext | |||
15010 | cat >>conftest.$ac_ext <<_ACEOF | 15517 | cat >>conftest.$ac_ext <<_ACEOF |
15011 | /* end confdefs.h. */ | 15518 | /* end confdefs.h. */ |
15012 | 15519 | ||
15013 | /* Override any gcc2 internal prototype to avoid an error. */ | 15520 | /* Override any GCC internal prototype to avoid an error. |
15521 | Use char because int might match the return type of a GCC | ||
15522 | builtin and then its argument prototype would still apply. */ | ||
15014 | #ifdef __cplusplus | 15523 | #ifdef __cplusplus |
15015 | extern "C" | 15524 | extern "C" |
15016 | #endif | 15525 | #endif |
15017 | /* We use char because int might match the return type of a gcc2 | ||
15018 | builtin and then its argument prototype would still apply. */ | ||
15019 | char RAND_add (); | 15526 | char RAND_add (); |
15020 | int | 15527 | int |
15021 | main () | 15528 | main () |
15022 | { | 15529 | { |
15023 | RAND_add (); | 15530 | return RAND_add (); |
15024 | ; | 15531 | ; |
15025 | return 0; | 15532 | return 0; |
15026 | } | 15533 | } |
15027 | _ACEOF | 15534 | _ACEOF |
15028 | rm -f conftest.$ac_objext conftest$ac_exeext | 15535 | rm -f conftest.$ac_objext conftest$ac_exeext |
15029 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15536 | if { (ac_try="$ac_link" |
15030 | (eval $ac_link) 2>conftest.er1 | 15537 | case "(($ac_try" in |
15538 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15539 | *) ac_try_echo=$ac_try;; | ||
15540 | esac | ||
15541 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15542 | (eval "$ac_link") 2>conftest.er1 | ||
15031 | ac_status=$? | 15543 | ac_status=$? |
15032 | grep -v '^ *+' conftest.er1 >conftest.err | 15544 | grep -v '^ *+' conftest.er1 >conftest.err |
15033 | rm -f conftest.er1 | 15545 | rm -f conftest.er1 |
15034 | cat conftest.err >&5 | 15546 | cat conftest.err >&5 |
15035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15036 | (exit $ac_status); } && | 15548 | (exit $ac_status); } && { |
15037 | { ac_try='test -z "$ac_c_werror_flag" | 15549 | test -z "$ac_c_werror_flag" || |
15038 | || test ! -s conftest.err' | 15550 | test ! -s conftest.err |
15039 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15551 | } && test -s conftest$ac_exeext && |
15040 | (eval $ac_try) 2>&5 | 15552 | $as_test_x conftest$ac_exeext; then |
15041 | ac_status=$? | ||
15042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15043 | (exit $ac_status); }; } && | ||
15044 | { ac_try='test -s conftest$ac_exeext' | ||
15045 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15046 | (eval $ac_try) 2>&5 | ||
15047 | ac_status=$? | ||
15048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15049 | (exit $ac_status); }; }; then | ||
15050 | cat >>confdefs.h <<\_ACEOF | 15553 | cat >>confdefs.h <<\_ACEOF |
15051 | #define HAVE_OPENSSL 1 | 15554 | #define HAVE_OPENSSL 1 |
15052 | _ACEOF | 15555 | _ACEOF |
@@ -15062,17 +15565,19 @@ echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for | |||
15062 | 15565 | ||
15063 | 15566 | ||
15064 | fi | 15567 | fi |
15065 | rm -f conftest.err conftest.$ac_objext \ | 15568 | |
15569 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15066 | conftest$ac_exeext conftest.$ac_ext | 15570 | conftest$ac_exeext conftest.$ac_ext |
15067 | 15571 | ||
15068 | 15572 | ||
15069 | fi | 15573 | fi |
15070 | rm -f conftest.err conftest.$ac_objext \ | 15574 | |
15575 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15071 | conftest$ac_exeext conftest.$ac_ext | 15576 | conftest$ac_exeext conftest.$ac_ext |
15072 | 15577 | ||
15073 | # Determine OpenSSL header version | 15578 | # Determine OpenSSL header version |
15074 | echo "$as_me:$LINENO: checking OpenSSL header version" >&5 | 15579 | { echo "$as_me:$LINENO: checking OpenSSL header version" >&5 |
15075 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 | 15580 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6; } |
15076 | if test "$cross_compiling" = yes; then | 15581 | if test "$cross_compiling" = yes; then |
15077 | 15582 | ||
15078 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | 15583 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
@@ -15107,20 +15612,29 @@ int main(void) { | |||
15107 | 15612 | ||
15108 | _ACEOF | 15613 | _ACEOF |
15109 | rm -f conftest$ac_exeext | 15614 | rm -f conftest$ac_exeext |
15110 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15615 | if { (ac_try="$ac_link" |
15111 | (eval $ac_link) 2>&5 | 15616 | case "(($ac_try" in |
15617 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15618 | *) ac_try_echo=$ac_try;; | ||
15619 | esac | ||
15620 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15621 | (eval "$ac_link") 2>&5 | ||
15112 | ac_status=$? | 15622 | ac_status=$? |
15113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15114 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15624 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15115 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15625 | { (case "(($ac_try" in |
15116 | (eval $ac_try) 2>&5 | 15626 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15627 | *) ac_try_echo=$ac_try;; | ||
15628 | esac | ||
15629 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15630 | (eval "$ac_try") 2>&5 | ||
15117 | ac_status=$? | 15631 | ac_status=$? |
15118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15119 | (exit $ac_status); }; }; then | 15633 | (exit $ac_status); }; }; then |
15120 | 15634 | ||
15121 | ssl_header_ver=`cat conftest.sslincver` | 15635 | ssl_header_ver=`cat conftest.sslincver` |
15122 | echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 | 15636 | { echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 |
15123 | echo "${ECHO_T}$ssl_header_ver" >&6 | 15637 | echo "${ECHO_T}$ssl_header_ver" >&6; } |
15124 | 15638 | ||
15125 | else | 15639 | else |
15126 | echo "$as_me: program exited with status $ac_status" >&5 | 15640 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -15129,19 +15643,21 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
15129 | 15643 | ||
15130 | ( exit $ac_status ) | 15644 | ( exit $ac_status ) |
15131 | 15645 | ||
15132 | echo "$as_me:$LINENO: result: not found" >&5 | 15646 | { echo "$as_me:$LINENO: result: not found" >&5 |
15133 | echo "${ECHO_T}not found" >&6 | 15647 | echo "${ECHO_T}not found" >&6; } |
15134 | { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 | 15648 | { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 |
15135 | echo "$as_me: error: OpenSSL version header not found." >&2;} | 15649 | echo "$as_me: error: OpenSSL version header not found." >&2;} |
15136 | { (exit 1); exit 1; }; } | 15650 | { (exit 1); exit 1; }; } |
15137 | 15651 | ||
15138 | fi | 15652 | fi |
15139 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15653 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15140 | fi | 15654 | fi |
15141 | 15655 | ||
15656 | |||
15657 | |||
15142 | # Determine OpenSSL library version | 15658 | # Determine OpenSSL library version |
15143 | echo "$as_me:$LINENO: checking OpenSSL library version" >&5 | 15659 | { echo "$as_me:$LINENO: checking OpenSSL library version" >&5 |
15144 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 | 15660 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6; } |
15145 | if test "$cross_compiling" = yes; then | 15661 | if test "$cross_compiling" = yes; then |
15146 | 15662 | ||
15147 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | 15663 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
@@ -15177,20 +15693,29 @@ int main(void) { | |||
15177 | 15693 | ||
15178 | _ACEOF | 15694 | _ACEOF |
15179 | rm -f conftest$ac_exeext | 15695 | rm -f conftest$ac_exeext |
15180 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15696 | if { (ac_try="$ac_link" |
15181 | (eval $ac_link) 2>&5 | 15697 | case "(($ac_try" in |
15698 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15699 | *) ac_try_echo=$ac_try;; | ||
15700 | esac | ||
15701 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15702 | (eval "$ac_link") 2>&5 | ||
15182 | ac_status=$? | 15703 | ac_status=$? |
15183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15184 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15705 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15185 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15706 | { (case "(($ac_try" in |
15186 | (eval $ac_try) 2>&5 | 15707 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15708 | *) ac_try_echo=$ac_try;; | ||
15709 | esac | ||
15710 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15711 | (eval "$ac_try") 2>&5 | ||
15187 | ac_status=$? | 15712 | ac_status=$? |
15188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15189 | (exit $ac_status); }; }; then | 15714 | (exit $ac_status); }; }; then |
15190 | 15715 | ||
15191 | ssl_library_ver=`cat conftest.ssllibver` | 15716 | ssl_library_ver=`cat conftest.ssllibver` |
15192 | echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 | 15717 | { echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 |
15193 | echo "${ECHO_T}$ssl_library_ver" >&6 | 15718 | echo "${ECHO_T}$ssl_library_ver" >&6; } |
15194 | 15719 | ||
15195 | else | 15720 | else |
15196 | echo "$as_me: program exited with status $ac_status" >&5 | 15721 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -15199,19 +15724,32 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
15199 | 15724 | ||
15200 | ( exit $ac_status ) | 15725 | ( exit $ac_status ) |
15201 | 15726 | ||
15202 | echo "$as_me:$LINENO: result: not found" >&5 | 15727 | { echo "$as_me:$LINENO: result: not found" >&5 |
15203 | echo "${ECHO_T}not found" >&6 | 15728 | echo "${ECHO_T}not found" >&6; } |
15204 | { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 | 15729 | { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 |
15205 | echo "$as_me: error: OpenSSL library not found." >&2;} | 15730 | echo "$as_me: error: OpenSSL library not found." >&2;} |
15206 | { (exit 1); exit 1; }; } | 15731 | { (exit 1); exit 1; }; } |
15207 | 15732 | ||
15208 | fi | 15733 | fi |
15209 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15734 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15210 | fi | 15735 | fi |
15211 | 15736 | ||
15737 | |||
15738 | |||
15739 | |||
15740 | # Check whether --with-openssl-header-check was given. | ||
15741 | if test "${with_openssl_header_check+set}" = set; then | ||
15742 | withval=$with_openssl_header_check; if test "x$withval" = "xno" ; then | ||
15743 | openssl_check_nonfatal=1 | ||
15744 | fi | ||
15745 | |||
15746 | |||
15747 | fi | ||
15748 | |||
15749 | |||
15212 | # Sanity check OpenSSL headers | 15750 | # Sanity check OpenSSL headers |
15213 | echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 | 15751 | { echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 |
15214 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 | 15752 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6; } |
15215 | if test "$cross_compiling" = yes; then | 15753 | if test "$cross_compiling" = yes; then |
15216 | 15754 | ||
15217 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | 15755 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
@@ -15232,19 +15770,28 @@ int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); } | |||
15232 | 15770 | ||
15233 | _ACEOF | 15771 | _ACEOF |
15234 | rm -f conftest$ac_exeext | 15772 | rm -f conftest$ac_exeext |
15235 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15773 | if { (ac_try="$ac_link" |
15236 | (eval $ac_link) 2>&5 | 15774 | case "(($ac_try" in |
15775 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15776 | *) ac_try_echo=$ac_try;; | ||
15777 | esac | ||
15778 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15779 | (eval "$ac_link") 2>&5 | ||
15237 | ac_status=$? | 15780 | ac_status=$? |
15238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15781 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15239 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15782 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15240 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15783 | { (case "(($ac_try" in |
15241 | (eval $ac_try) 2>&5 | 15784 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15785 | *) ac_try_echo=$ac_try;; | ||
15786 | esac | ||
15787 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15788 | (eval "$ac_try") 2>&5 | ||
15242 | ac_status=$? | 15789 | ac_status=$? |
15243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15244 | (exit $ac_status); }; }; then | 15791 | (exit $ac_status); }; }; then |
15245 | 15792 | ||
15246 | echo "$as_me:$LINENO: result: yes" >&5 | 15793 | { echo "$as_me:$LINENO: result: yes" >&5 |
15247 | echo "${ECHO_T}yes" >&6 | 15794 | echo "${ECHO_T}yes" >&6; } |
15248 | 15795 | ||
15249 | else | 15796 | else |
15250 | echo "$as_me: program exited with status $ac_status" >&5 | 15797 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -15253,23 +15800,39 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
15253 | 15800 | ||
15254 | ( exit $ac_status ) | 15801 | ( exit $ac_status ) |
15255 | 15802 | ||
15256 | echo "$as_me:$LINENO: result: no" >&5 | 15803 | { echo "$as_me:$LINENO: result: no" >&5 |
15257 | echo "${ECHO_T}no" >&6 | 15804 | echo "${ECHO_T}no" >&6; } |
15258 | { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library. | 15805 | if test "x$openssl_check_nonfatal" = "x"; then |
15259 | Check config.log for details. | 15806 | { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your |
15807 | library. Check config.log for details. | ||
15808 | If you are sure your installation is consistent, you can disable the check | ||
15809 | by running \"./configure --without-openssl-header-check\". | ||
15810 | Also see contrib/findssl.sh for help identifying header/library mismatches. | ||
15811 | " >&5 | ||
15812 | echo "$as_me: error: Your OpenSSL headers do not match your | ||
15813 | library. Check config.log for details. | ||
15814 | If you are sure your installation is consistent, you can disable the check | ||
15815 | by running \"./configure --without-openssl-header-check\". | ||
15816 | Also see contrib/findssl.sh for help identifying header/library mismatches. | ||
15817 | " >&2;} | ||
15818 | { (exit 1); exit 1; }; } | ||
15819 | else | ||
15820 | { echo "$as_me:$LINENO: WARNING: Your OpenSSL headers do not match your | ||
15821 | library. Check config.log for details. | ||
15260 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 | 15822 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 |
15261 | echo "$as_me: error: Your OpenSSL headers do not match your library. | 15823 | echo "$as_me: WARNING: Your OpenSSL headers do not match your |
15262 | Check config.log for details. | 15824 | library. Check config.log for details. |
15263 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} | 15825 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} |
15264 | { (exit 1); exit 1; }; } | 15826 | fi |
15265 | 15827 | ||
15266 | fi | 15828 | fi |
15267 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15829 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15268 | fi | 15830 | fi |
15269 | 15831 | ||
15270 | # Check for OpenSSL without EVP_aes_{192,256}_cbc | 15832 | |
15271 | echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5 | 15833 | |
15272 | echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6 | 15834 | { echo "$as_me:$LINENO: checking if programs using OpenSSL functions will link" >&5 |
15835 | echo $ECHO_N "checking if programs using OpenSSL functions will link... $ECHO_C" >&6; } | ||
15273 | cat >conftest.$ac_ext <<_ACEOF | 15836 | cat >conftest.$ac_ext <<_ACEOF |
15274 | /* confdefs.h. */ | 15837 | /* confdefs.h. */ |
15275 | _ACEOF | 15838 | _ACEOF |
@@ -15277,44 +15840,205 @@ cat confdefs.h >>conftest.$ac_ext | |||
15277 | cat >>conftest.$ac_ext <<_ACEOF | 15840 | cat >>conftest.$ac_ext <<_ACEOF |
15278 | /* end confdefs.h. */ | 15841 | /* end confdefs.h. */ |
15279 | 15842 | ||
15280 | #include <string.h> | ||
15281 | #include <openssl/evp.h> | 15843 | #include <openssl/evp.h> |
15282 | int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);} | 15844 | int main(void) { SSLeay_add_all_algorithms(); } |
15283 | 15845 | ||
15284 | _ACEOF | 15846 | _ACEOF |
15285 | rm -f conftest.$ac_objext | 15847 | rm -f conftest.$ac_objext conftest$ac_exeext |
15286 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15848 | if { (ac_try="$ac_link" |
15287 | (eval $ac_compile) 2>conftest.er1 | 15849 | case "(($ac_try" in |
15850 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15851 | *) ac_try_echo=$ac_try;; | ||
15852 | esac | ||
15853 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15854 | (eval "$ac_link") 2>conftest.er1 | ||
15288 | ac_status=$? | 15855 | ac_status=$? |
15289 | grep -v '^ *+' conftest.er1 >conftest.err | 15856 | grep -v '^ *+' conftest.er1 >conftest.err |
15290 | rm -f conftest.er1 | 15857 | rm -f conftest.er1 |
15291 | cat conftest.err >&5 | 15858 | cat conftest.err >&5 |
15292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15293 | (exit $ac_status); } && | 15860 | (exit $ac_status); } && { |
15294 | { ac_try='test -z "$ac_c_werror_flag" | 15861 | test -z "$ac_c_werror_flag" || |
15295 | || test ! -s conftest.err' | 15862 | test ! -s conftest.err |
15296 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15863 | } && test -s conftest$ac_exeext && |
15297 | (eval $ac_try) 2>&5 | 15864 | $as_test_x conftest$ac_exeext; then |
15865 | |||
15866 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15867 | echo "${ECHO_T}yes" >&6; } | ||
15868 | |||
15869 | else | ||
15870 | echo "$as_me: failed program was:" >&5 | ||
15871 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15872 | |||
15873 | |||
15874 | { echo "$as_me:$LINENO: result: no" >&5 | ||
15875 | echo "${ECHO_T}no" >&6; } | ||
15876 | saved_LIBS="$LIBS" | ||
15877 | LIBS="$LIBS -ldl" | ||
15878 | { echo "$as_me:$LINENO: checking if programs using OpenSSL need -ldl" >&5 | ||
15879 | echo $ECHO_N "checking if programs using OpenSSL need -ldl... $ECHO_C" >&6; } | ||
15880 | cat >conftest.$ac_ext <<_ACEOF | ||
15881 | /* confdefs.h. */ | ||
15882 | _ACEOF | ||
15883 | cat confdefs.h >>conftest.$ac_ext | ||
15884 | cat >>conftest.$ac_ext <<_ACEOF | ||
15885 | /* end confdefs.h. */ | ||
15886 | |||
15887 | #include <openssl/evp.h> | ||
15888 | int main(void) { SSLeay_add_all_algorithms(); } | ||
15889 | |||
15890 | _ACEOF | ||
15891 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15892 | if { (ac_try="$ac_link" | ||
15893 | case "(($ac_try" in | ||
15894 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15895 | *) ac_try_echo=$ac_try;; | ||
15896 | esac | ||
15897 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15898 | (eval "$ac_link") 2>conftest.er1 | ||
15298 | ac_status=$? | 15899 | ac_status=$? |
15900 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15901 | rm -f conftest.er1 | ||
15902 | cat conftest.err >&5 | ||
15299 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15300 | (exit $ac_status); }; } && | 15904 | (exit $ac_status); } && { |
15301 | { ac_try='test -s conftest.$ac_objext' | 15905 | test -z "$ac_c_werror_flag" || |
15302 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15906 | test ! -s conftest.err |
15303 | (eval $ac_try) 2>&5 | 15907 | } && test -s conftest$ac_exeext && |
15908 | $as_test_x conftest$ac_exeext; then | ||
15909 | |||
15910 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15911 | echo "${ECHO_T}yes" >&6; } | ||
15912 | |||
15913 | else | ||
15914 | echo "$as_me: failed program was:" >&5 | ||
15915 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15916 | |||
15917 | |||
15918 | { echo "$as_me:$LINENO: result: no" >&5 | ||
15919 | echo "${ECHO_T}no" >&6; } | ||
15920 | LIBS="$saved_LIBS" | ||
15921 | |||
15922 | |||
15923 | fi | ||
15924 | |||
15925 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15926 | conftest$ac_exeext conftest.$ac_ext | ||
15927 | |||
15928 | |||
15929 | fi | ||
15930 | |||
15931 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15932 | conftest$ac_exeext conftest.$ac_ext | ||
15933 | |||
15934 | |||
15935 | # Check whether --with-ssl-engine was given. | ||
15936 | if test "${with_ssl_engine+set}" = set; then | ||
15937 | withval=$with_ssl_engine; if test "x$withval" != "xno" ; then | ||
15938 | { echo "$as_me:$LINENO: checking for OpenSSL ENGINE support" >&5 | ||
15939 | echo $ECHO_N "checking for OpenSSL ENGINE support... $ECHO_C" >&6; } | ||
15940 | cat >conftest.$ac_ext <<_ACEOF | ||
15941 | /* confdefs.h. */ | ||
15942 | _ACEOF | ||
15943 | cat confdefs.h >>conftest.$ac_ext | ||
15944 | cat >>conftest.$ac_ext <<_ACEOF | ||
15945 | /* end confdefs.h. */ | ||
15946 | #include <openssl/engine.h> | ||
15947 | int | ||
15948 | main () | ||
15949 | { | ||
15950 | |||
15951 | ENGINE_load_builtin_engines();ENGINE_register_all_complete(); | ||
15952 | |||
15953 | ; | ||
15954 | return 0; | ||
15955 | } | ||
15956 | _ACEOF | ||
15957 | rm -f conftest.$ac_objext | ||
15958 | if { (ac_try="$ac_compile" | ||
15959 | case "(($ac_try" in | ||
15960 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15961 | *) ac_try_echo=$ac_try;; | ||
15962 | esac | ||
15963 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15964 | (eval "$ac_compile") 2>conftest.er1 | ||
15304 | ac_status=$? | 15965 | ac_status=$? |
15966 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15967 | rm -f conftest.er1 | ||
15968 | cat conftest.err >&5 | ||
15305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15306 | (exit $ac_status); }; }; then | 15970 | (exit $ac_status); } && { |
15971 | test -z "$ac_c_werror_flag" || | ||
15972 | test ! -s conftest.err | ||
15973 | } && test -s conftest.$ac_objext; then | ||
15974 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15975 | echo "${ECHO_T}yes" >&6; } | ||
15976 | |||
15977 | cat >>confdefs.h <<\_ACEOF | ||
15978 | #define USE_OPENSSL_ENGINE 1 | ||
15979 | _ACEOF | ||
15307 | 15980 | ||
15308 | echo "$as_me:$LINENO: result: no" >&5 | ||
15309 | echo "${ECHO_T}no" >&6 | ||
15310 | 15981 | ||
15311 | else | 15982 | else |
15312 | echo "$as_me: failed program was:" >&5 | 15983 | echo "$as_me: failed program was:" >&5 |
15313 | sed 's/^/| /' conftest.$ac_ext >&5 | 15984 | sed 's/^/| /' conftest.$ac_ext >&5 |
15314 | 15985 | ||
15986 | { { echo "$as_me:$LINENO: error: OpenSSL ENGINE support not found" >&5 | ||
15987 | echo "$as_me: error: OpenSSL ENGINE support not found" >&2;} | ||
15988 | { (exit 1); exit 1; }; } | ||
15989 | |||
15990 | fi | ||
15991 | |||
15992 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
15993 | fi | ||
15994 | |||
15995 | fi | ||
15996 | |||
15997 | |||
15998 | # Check for OpenSSL without EVP_aes_{192,256}_cbc | ||
15999 | { echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5 | ||
16000 | echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6; } | ||
16001 | cat >conftest.$ac_ext <<_ACEOF | ||
16002 | /* confdefs.h. */ | ||
16003 | _ACEOF | ||
16004 | cat confdefs.h >>conftest.$ac_ext | ||
16005 | cat >>conftest.$ac_ext <<_ACEOF | ||
16006 | /* end confdefs.h. */ | ||
16007 | |||
16008 | #include <string.h> | ||
16009 | #include <openssl/evp.h> | ||
16010 | int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);} | ||
16011 | |||
16012 | _ACEOF | ||
16013 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16014 | if { (ac_try="$ac_link" | ||
16015 | case "(($ac_try" in | ||
16016 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16017 | *) ac_try_echo=$ac_try;; | ||
16018 | esac | ||
16019 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16020 | (eval "$ac_link") 2>conftest.er1 | ||
16021 | ac_status=$? | ||
16022 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16023 | rm -f conftest.er1 | ||
16024 | cat conftest.err >&5 | ||
16025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16026 | (exit $ac_status); } && { | ||
16027 | test -z "$ac_c_werror_flag" || | ||
16028 | test ! -s conftest.err | ||
16029 | } && test -s conftest$ac_exeext && | ||
16030 | $as_test_x conftest$ac_exeext; then | ||
15315 | 16031 | ||
15316 | echo "$as_me:$LINENO: result: yes" >&5 | 16032 | { echo "$as_me:$LINENO: result: no" >&5 |
15317 | echo "${ECHO_T}yes" >&6 | 16033 | echo "${ECHO_T}no" >&6; } |
16034 | |||
16035 | else | ||
16036 | echo "$as_me: failed program was:" >&5 | ||
16037 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16038 | |||
16039 | |||
16040 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
16041 | echo "${ECHO_T}yes" >&6; } | ||
15318 | 16042 | ||
15319 | cat >>confdefs.h <<\_ACEOF | 16043 | cat >>confdefs.h <<\_ACEOF |
15320 | #define OPENSSL_LOBOTOMISED_AES 1 | 16044 | #define OPENSSL_LOBOTOMISED_AES 1 |
@@ -15323,14 +16047,16 @@ _ACEOF | |||
15323 | 16047 | ||
15324 | 16048 | ||
15325 | fi | 16049 | fi |
15326 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 16050 | |
16051 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16052 | conftest$ac_exeext conftest.$ac_ext | ||
15327 | 16053 | ||
15328 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, | 16054 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, |
15329 | # because the system crypt() is more featureful. | 16055 | # because the system crypt() is more featureful. |
15330 | if test "x$check_for_libcrypt_before" = "x1"; then | 16056 | if test "x$check_for_libcrypt_before" = "x1"; then |
15331 | 16057 | ||
15332 | echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | 16058 | { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 |
15333 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | 16059 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } |
15334 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 16060 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
15335 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16061 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15336 | else | 16062 | else |
@@ -15343,56 +16069,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
15343 | cat >>conftest.$ac_ext <<_ACEOF | 16069 | cat >>conftest.$ac_ext <<_ACEOF |
15344 | /* end confdefs.h. */ | 16070 | /* end confdefs.h. */ |
15345 | 16071 | ||
15346 | /* Override any gcc2 internal prototype to avoid an error. */ | 16072 | /* Override any GCC internal prototype to avoid an error. |
16073 | Use char because int might match the return type of a GCC | ||
16074 | builtin and then its argument prototype would still apply. */ | ||
15347 | #ifdef __cplusplus | 16075 | #ifdef __cplusplus |
15348 | extern "C" | 16076 | extern "C" |
15349 | #endif | 16077 | #endif |
15350 | /* We use char because int might match the return type of a gcc2 | ||
15351 | builtin and then its argument prototype would still apply. */ | ||
15352 | char crypt (); | 16078 | char crypt (); |
15353 | int | 16079 | int |
15354 | main () | 16080 | main () |
15355 | { | 16081 | { |
15356 | crypt (); | 16082 | return crypt (); |
15357 | ; | 16083 | ; |
15358 | return 0; | 16084 | return 0; |
15359 | } | 16085 | } |
15360 | _ACEOF | 16086 | _ACEOF |
15361 | rm -f conftest.$ac_objext conftest$ac_exeext | 16087 | rm -f conftest.$ac_objext conftest$ac_exeext |
15362 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16088 | if { (ac_try="$ac_link" |
15363 | (eval $ac_link) 2>conftest.er1 | 16089 | case "(($ac_try" in |
16090 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16091 | *) ac_try_echo=$ac_try;; | ||
16092 | esac | ||
16093 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16094 | (eval "$ac_link") 2>conftest.er1 | ||
15364 | ac_status=$? | 16095 | ac_status=$? |
15365 | grep -v '^ *+' conftest.er1 >conftest.err | 16096 | grep -v '^ *+' conftest.er1 >conftest.err |
15366 | rm -f conftest.er1 | 16097 | rm -f conftest.er1 |
15367 | cat conftest.err >&5 | 16098 | cat conftest.err >&5 |
15368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15369 | (exit $ac_status); } && | 16100 | (exit $ac_status); } && { |
15370 | { ac_try='test -z "$ac_c_werror_flag" | 16101 | test -z "$ac_c_werror_flag" || |
15371 | || test ! -s conftest.err' | 16102 | test ! -s conftest.err |
15372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16103 | } && test -s conftest$ac_exeext && |
15373 | (eval $ac_try) 2>&5 | 16104 | $as_test_x conftest$ac_exeext; then |
15374 | ac_status=$? | ||
15375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15376 | (exit $ac_status); }; } && | ||
15377 | { ac_try='test -s conftest$ac_exeext' | ||
15378 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15379 | (eval $ac_try) 2>&5 | ||
15380 | ac_status=$? | ||
15381 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15382 | (exit $ac_status); }; }; then | ||
15383 | ac_cv_lib_crypt_crypt=yes | 16105 | ac_cv_lib_crypt_crypt=yes |
15384 | else | 16106 | else |
15385 | echo "$as_me: failed program was:" >&5 | 16107 | echo "$as_me: failed program was:" >&5 |
15386 | sed 's/^/| /' conftest.$ac_ext >&5 | 16108 | sed 's/^/| /' conftest.$ac_ext >&5 |
15387 | 16109 | ||
15388 | ac_cv_lib_crypt_crypt=no | 16110 | ac_cv_lib_crypt_crypt=no |
15389 | fi | 16111 | fi |
15390 | rm -f conftest.err conftest.$ac_objext \ | 16112 | |
16113 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15391 | conftest$ac_exeext conftest.$ac_ext | 16114 | conftest$ac_exeext conftest.$ac_ext |
15392 | LIBS=$ac_check_lib_save_LIBS | 16115 | LIBS=$ac_check_lib_save_LIBS |
15393 | fi | 16116 | fi |
15394 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | 16117 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
15395 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | 16118 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } |
15396 | if test $ac_cv_lib_crypt_crypt = yes; then | 16119 | if test $ac_cv_lib_crypt_crypt = yes; then |
15397 | cat >>confdefs.h <<_ACEOF | 16120 | cat >>confdefs.h <<_ACEOF |
15398 | #define HAVE_LIBCRYPT 1 | 16121 | #define HAVE_LIBCRYPT 1 |
@@ -15407,8 +16130,8 @@ fi | |||
15407 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the | 16130 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the |
15408 | # version in OpenSSL. | 16131 | # version in OpenSSL. |
15409 | if test "x$check_for_libcrypt_later" = "x1"; then | 16132 | if test "x$check_for_libcrypt_later" = "x1"; then |
15410 | echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | 16133 | { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 |
15411 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | 16134 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } |
15412 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 16135 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
15413 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16136 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15414 | else | 16137 | else |
@@ -15421,65 +16144,159 @@ cat confdefs.h >>conftest.$ac_ext | |||
15421 | cat >>conftest.$ac_ext <<_ACEOF | 16144 | cat >>conftest.$ac_ext <<_ACEOF |
15422 | /* end confdefs.h. */ | 16145 | /* end confdefs.h. */ |
15423 | 16146 | ||
15424 | /* Override any gcc2 internal prototype to avoid an error. */ | 16147 | /* Override any GCC internal prototype to avoid an error. |
16148 | Use char because int might match the return type of a GCC | ||
16149 | builtin and then its argument prototype would still apply. */ | ||
15425 | #ifdef __cplusplus | 16150 | #ifdef __cplusplus |
15426 | extern "C" | 16151 | extern "C" |
15427 | #endif | 16152 | #endif |
15428 | /* We use char because int might match the return type of a gcc2 | ||
15429 | builtin and then its argument prototype would still apply. */ | ||
15430 | char crypt (); | 16153 | char crypt (); |
15431 | int | 16154 | int |
15432 | main () | 16155 | main () |
15433 | { | 16156 | { |
15434 | crypt (); | 16157 | return crypt (); |
15435 | ; | 16158 | ; |
15436 | return 0; | 16159 | return 0; |
15437 | } | 16160 | } |
15438 | _ACEOF | 16161 | _ACEOF |
15439 | rm -f conftest.$ac_objext conftest$ac_exeext | 16162 | rm -f conftest.$ac_objext conftest$ac_exeext |
15440 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16163 | if { (ac_try="$ac_link" |
15441 | (eval $ac_link) 2>conftest.er1 | 16164 | case "(($ac_try" in |
16165 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16166 | *) ac_try_echo=$ac_try;; | ||
16167 | esac | ||
16168 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16169 | (eval "$ac_link") 2>conftest.er1 | ||
15442 | ac_status=$? | 16170 | ac_status=$? |
15443 | grep -v '^ *+' conftest.er1 >conftest.err | 16171 | grep -v '^ *+' conftest.er1 >conftest.err |
15444 | rm -f conftest.er1 | 16172 | rm -f conftest.er1 |
15445 | cat conftest.err >&5 | 16173 | cat conftest.err >&5 |
15446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15447 | (exit $ac_status); } && | 16175 | (exit $ac_status); } && { |
15448 | { ac_try='test -z "$ac_c_werror_flag" | 16176 | test -z "$ac_c_werror_flag" || |
15449 | || test ! -s conftest.err' | 16177 | test ! -s conftest.err |
15450 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16178 | } && test -s conftest$ac_exeext && |
15451 | (eval $ac_try) 2>&5 | 16179 | $as_test_x conftest$ac_exeext; then |
15452 | ac_status=$? | ||
15453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15454 | (exit $ac_status); }; } && | ||
15455 | { ac_try='test -s conftest$ac_exeext' | ||
15456 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15457 | (eval $ac_try) 2>&5 | ||
15458 | ac_status=$? | ||
15459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15460 | (exit $ac_status); }; }; then | ||
15461 | ac_cv_lib_crypt_crypt=yes | 16180 | ac_cv_lib_crypt_crypt=yes |
15462 | else | 16181 | else |
15463 | echo "$as_me: failed program was:" >&5 | 16182 | echo "$as_me: failed program was:" >&5 |
15464 | sed 's/^/| /' conftest.$ac_ext >&5 | 16183 | sed 's/^/| /' conftest.$ac_ext >&5 |
15465 | 16184 | ||
15466 | ac_cv_lib_crypt_crypt=no | 16185 | ac_cv_lib_crypt_crypt=no |
15467 | fi | 16186 | fi |
15468 | rm -f conftest.err conftest.$ac_objext \ | 16187 | |
16188 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15469 | conftest$ac_exeext conftest.$ac_ext | 16189 | conftest$ac_exeext conftest.$ac_ext |
15470 | LIBS=$ac_check_lib_save_LIBS | 16190 | LIBS=$ac_check_lib_save_LIBS |
15471 | fi | 16191 | fi |
15472 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | 16192 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
15473 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | 16193 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } |
15474 | if test $ac_cv_lib_crypt_crypt = yes; then | 16194 | if test $ac_cv_lib_crypt_crypt = yes; then |
15475 | LIBS="$LIBS -lcrypt" | 16195 | LIBS="$LIBS -lcrypt" |
15476 | fi | 16196 | fi |
15477 | 16197 | ||
15478 | fi | 16198 | fi |
15479 | 16199 | ||
16200 | # Search for SHA256 support in libc and/or OpenSSL | ||
15480 | 16201 | ||
15481 | echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 | 16202 | |
15482 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6 | 16203 | for ac_func in SHA256_Update EVP_sha256 |
16204 | do | ||
16205 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
16206 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
16207 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
16208 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16209 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16210 | else | ||
16211 | cat >conftest.$ac_ext <<_ACEOF | ||
16212 | /* confdefs.h. */ | ||
16213 | _ACEOF | ||
16214 | cat confdefs.h >>conftest.$ac_ext | ||
16215 | cat >>conftest.$ac_ext <<_ACEOF | ||
16216 | /* end confdefs.h. */ | ||
16217 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
16218 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
16219 | #define $ac_func innocuous_$ac_func | ||
16220 | |||
16221 | /* System header to define __stub macros and hopefully few prototypes, | ||
16222 | which can conflict with char $ac_func (); below. | ||
16223 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
16224 | <limits.h> exists even on freestanding compilers. */ | ||
16225 | |||
16226 | #ifdef __STDC__ | ||
16227 | # include <limits.h> | ||
16228 | #else | ||
16229 | # include <assert.h> | ||
16230 | #endif | ||
16231 | |||
16232 | #undef $ac_func | ||
16233 | |||
16234 | /* Override any GCC internal prototype to avoid an error. | ||
16235 | Use char because int might match the return type of a GCC | ||
16236 | builtin and then its argument prototype would still apply. */ | ||
16237 | #ifdef __cplusplus | ||
16238 | extern "C" | ||
16239 | #endif | ||
16240 | char $ac_func (); | ||
16241 | /* The GNU C library defines this for functions which it implements | ||
16242 | to always fail with ENOSYS. Some functions are actually named | ||
16243 | something starting with __ and the normal name is an alias. */ | ||
16244 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
16245 | choke me | ||
16246 | #endif | ||
16247 | |||
16248 | int | ||
16249 | main () | ||
16250 | { | ||
16251 | return $ac_func (); | ||
16252 | ; | ||
16253 | return 0; | ||
16254 | } | ||
16255 | _ACEOF | ||
16256 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16257 | if { (ac_try="$ac_link" | ||
16258 | case "(($ac_try" in | ||
16259 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16260 | *) ac_try_echo=$ac_try;; | ||
16261 | esac | ||
16262 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16263 | (eval "$ac_link") 2>conftest.er1 | ||
16264 | ac_status=$? | ||
16265 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16266 | rm -f conftest.er1 | ||
16267 | cat conftest.err >&5 | ||
16268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16269 | (exit $ac_status); } && { | ||
16270 | test -z "$ac_c_werror_flag" || | ||
16271 | test ! -s conftest.err | ||
16272 | } && test -s conftest$ac_exeext && | ||
16273 | $as_test_x conftest$ac_exeext; then | ||
16274 | eval "$as_ac_var=yes" | ||
16275 | else | ||
16276 | echo "$as_me: failed program was:" >&5 | ||
16277 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16278 | |||
16279 | eval "$as_ac_var=no" | ||
16280 | fi | ||
16281 | |||
16282 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16283 | conftest$ac_exeext conftest.$ac_ext | ||
16284 | fi | ||
16285 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
16286 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16287 | echo "${ECHO_T}$ac_res" >&6; } | ||
16288 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
16289 | cat >>confdefs.h <<_ACEOF | ||
16290 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
16291 | _ACEOF | ||
16292 | |||
16293 | fi | ||
16294 | done | ||
16295 | |||
16296 | |||
16297 | |||
16298 | { echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 | ||
16299 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } | ||
15483 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then | 16300 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then |
15484 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16301 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15485 | else | 16302 | else |
@@ -15492,56 +16309,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
15492 | cat >>conftest.$ac_ext <<_ACEOF | 16309 | cat >>conftest.$ac_ext <<_ACEOF |
15493 | /* end confdefs.h. */ | 16310 | /* end confdefs.h. */ |
15494 | 16311 | ||
15495 | /* Override any gcc2 internal prototype to avoid an error. */ | 16312 | /* Override any GCC internal prototype to avoid an error. |
16313 | Use char because int might match the return type of a GCC | ||
16314 | builtin and then its argument prototype would still apply. */ | ||
15496 | #ifdef __cplusplus | 16315 | #ifdef __cplusplus |
15497 | extern "C" | 16316 | extern "C" |
15498 | #endif | 16317 | #endif |
15499 | /* We use char because int might match the return type of a gcc2 | ||
15500 | builtin and then its argument prototype would still apply. */ | ||
15501 | char ia_openinfo (); | 16318 | char ia_openinfo (); |
15502 | int | 16319 | int |
15503 | main () | 16320 | main () |
15504 | { | 16321 | { |
15505 | ia_openinfo (); | 16322 | return ia_openinfo (); |
15506 | ; | 16323 | ; |
15507 | return 0; | 16324 | return 0; |
15508 | } | 16325 | } |
15509 | _ACEOF | 16326 | _ACEOF |
15510 | rm -f conftest.$ac_objext conftest$ac_exeext | 16327 | rm -f conftest.$ac_objext conftest$ac_exeext |
15511 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16328 | if { (ac_try="$ac_link" |
15512 | (eval $ac_link) 2>conftest.er1 | 16329 | case "(($ac_try" in |
16330 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16331 | *) ac_try_echo=$ac_try;; | ||
16332 | esac | ||
16333 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16334 | (eval "$ac_link") 2>conftest.er1 | ||
15513 | ac_status=$? | 16335 | ac_status=$? |
15514 | grep -v '^ *+' conftest.er1 >conftest.err | 16336 | grep -v '^ *+' conftest.er1 >conftest.err |
15515 | rm -f conftest.er1 | 16337 | rm -f conftest.er1 |
15516 | cat conftest.err >&5 | 16338 | cat conftest.err >&5 |
15517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15518 | (exit $ac_status); } && | 16340 | (exit $ac_status); } && { |
15519 | { ac_try='test -z "$ac_c_werror_flag" | 16341 | test -z "$ac_c_werror_flag" || |
15520 | || test ! -s conftest.err' | 16342 | test ! -s conftest.err |
15521 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16343 | } && test -s conftest$ac_exeext && |
15522 | (eval $ac_try) 2>&5 | 16344 | $as_test_x conftest$ac_exeext; then |
15523 | ac_status=$? | ||
15524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15525 | (exit $ac_status); }; } && | ||
15526 | { ac_try='test -s conftest$ac_exeext' | ||
15527 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15528 | (eval $ac_try) 2>&5 | ||
15529 | ac_status=$? | ||
15530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15531 | (exit $ac_status); }; }; then | ||
15532 | ac_cv_lib_iaf_ia_openinfo=yes | 16345 | ac_cv_lib_iaf_ia_openinfo=yes |
15533 | else | 16346 | else |
15534 | echo "$as_me: failed program was:" >&5 | 16347 | echo "$as_me: failed program was:" >&5 |
15535 | sed 's/^/| /' conftest.$ac_ext >&5 | 16348 | sed 's/^/| /' conftest.$ac_ext >&5 |
15536 | 16349 | ||
15537 | ac_cv_lib_iaf_ia_openinfo=no | 16350 | ac_cv_lib_iaf_ia_openinfo=no |
15538 | fi | 16351 | fi |
15539 | rm -f conftest.err conftest.$ac_objext \ | 16352 | |
16353 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15540 | conftest$ac_exeext conftest.$ac_ext | 16354 | conftest$ac_exeext conftest.$ac_ext |
15541 | LIBS=$ac_check_lib_save_LIBS | 16355 | LIBS=$ac_check_lib_save_LIBS |
15542 | fi | 16356 | fi |
15543 | echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 | 16357 | { echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 |
15544 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6 | 16358 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6; } |
15545 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then | 16359 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then |
15546 | cat >>confdefs.h <<_ACEOF | 16360 | cat >>confdefs.h <<_ACEOF |
15547 | #define HAVE_LIBIAF 1 | 16361 | #define HAVE_LIBIAF 1 |
@@ -15555,8 +16369,8 @@ fi | |||
15555 | ### Configure cryptographic random number support | 16369 | ### Configure cryptographic random number support |
15556 | 16370 | ||
15557 | # Check wheter OpenSSL seeds itself | 16371 | # Check wheter OpenSSL seeds itself |
15558 | echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 | 16372 | { echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 |
15559 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 | 16373 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6; } |
15560 | if test "$cross_compiling" = yes; then | 16374 | if test "$cross_compiling" = yes; then |
15561 | 16375 | ||
15562 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 | 16376 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 |
@@ -15580,20 +16394,29 @@ int main(void) { exit(RAND_status() == 1 ? 0 : 1); } | |||
15580 | 16394 | ||
15581 | _ACEOF | 16395 | _ACEOF |
15582 | rm -f conftest$ac_exeext | 16396 | rm -f conftest$ac_exeext |
15583 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16397 | if { (ac_try="$ac_link" |
15584 | (eval $ac_link) 2>&5 | 16398 | case "(($ac_try" in |
16399 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16400 | *) ac_try_echo=$ac_try;; | ||
16401 | esac | ||
16402 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16403 | (eval "$ac_link") 2>&5 | ||
15585 | ac_status=$? | 16404 | ac_status=$? |
15586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15587 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 16406 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15588 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16407 | { (case "(($ac_try" in |
15589 | (eval $ac_try) 2>&5 | 16408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16409 | *) ac_try_echo=$ac_try;; | ||
16410 | esac | ||
16411 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16412 | (eval "$ac_try") 2>&5 | ||
15590 | ac_status=$? | 16413 | ac_status=$? |
15591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15592 | (exit $ac_status); }; }; then | 16415 | (exit $ac_status); }; }; then |
15593 | 16416 | ||
15594 | OPENSSL_SEEDS_ITSELF=yes | 16417 | OPENSSL_SEEDS_ITSELF=yes |
15595 | echo "$as_me:$LINENO: result: yes" >&5 | 16418 | { echo "$as_me:$LINENO: result: yes" >&5 |
15596 | echo "${ECHO_T}yes" >&6 | 16419 | echo "${ECHO_T}yes" >&6; } |
15597 | 16420 | ||
15598 | else | 16421 | else |
15599 | echo "$as_me: program exited with status $ac_status" >&5 | 16422 | echo "$as_me: program exited with status $ac_status" >&5 |
@@ -15602,23 +16425,466 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
15602 | 16425 | ||
15603 | ( exit $ac_status ) | 16426 | ( exit $ac_status ) |
15604 | 16427 | ||
15605 | echo "$as_me:$LINENO: result: no" >&5 | 16428 | { echo "$as_me:$LINENO: result: no" >&5 |
15606 | echo "${ECHO_T}no" >&6 | 16429 | echo "${ECHO_T}no" >&6; } |
15607 | # Default to use of the rand helper if OpenSSL doesn't | 16430 | # Default to use of the rand helper if OpenSSL doesn't |
15608 | # seed itself | 16431 | # seed itself |
15609 | USE_RAND_HELPER=yes | 16432 | USE_RAND_HELPER=yes |
15610 | 16433 | ||
15611 | fi | 16434 | fi |
15612 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 16435 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
16436 | fi | ||
16437 | |||
16438 | |||
16439 | |||
16440 | # Check for PAM libs | ||
16441 | PAM_MSG="no" | ||
16442 | |||
16443 | # Check whether --with-pam was given. | ||
16444 | if test "${with_pam+set}" = set; then | ||
16445 | withval=$with_pam; | ||
16446 | if test "x$withval" != "xno" ; then | ||
16447 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ | ||
16448 | test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then | ||
16449 | { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 | ||
16450 | echo "$as_me: error: PAM headers not found" >&2;} | ||
16451 | { (exit 1); exit 1; }; } | ||
16452 | fi | ||
16453 | |||
16454 | saved_LIBS="$LIBS" | ||
16455 | |||
16456 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | ||
16457 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } | ||
16458 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | ||
16459 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16460 | else | ||
16461 | ac_check_lib_save_LIBS=$LIBS | ||
16462 | LIBS="-ldl $LIBS" | ||
16463 | cat >conftest.$ac_ext <<_ACEOF | ||
16464 | /* confdefs.h. */ | ||
16465 | _ACEOF | ||
16466 | cat confdefs.h >>conftest.$ac_ext | ||
16467 | cat >>conftest.$ac_ext <<_ACEOF | ||
16468 | /* end confdefs.h. */ | ||
16469 | |||
16470 | /* Override any GCC internal prototype to avoid an error. | ||
16471 | Use char because int might match the return type of a GCC | ||
16472 | builtin and then its argument prototype would still apply. */ | ||
16473 | #ifdef __cplusplus | ||
16474 | extern "C" | ||
16475 | #endif | ||
16476 | char dlopen (); | ||
16477 | int | ||
16478 | main () | ||
16479 | { | ||
16480 | return dlopen (); | ||
16481 | ; | ||
16482 | return 0; | ||
16483 | } | ||
16484 | _ACEOF | ||
16485 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16486 | if { (ac_try="$ac_link" | ||
16487 | case "(($ac_try" in | ||
16488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16489 | *) ac_try_echo=$ac_try;; | ||
16490 | esac | ||
16491 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16492 | (eval "$ac_link") 2>conftest.er1 | ||
16493 | ac_status=$? | ||
16494 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16495 | rm -f conftest.er1 | ||
16496 | cat conftest.err >&5 | ||
16497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16498 | (exit $ac_status); } && { | ||
16499 | test -z "$ac_c_werror_flag" || | ||
16500 | test ! -s conftest.err | ||
16501 | } && test -s conftest$ac_exeext && | ||
16502 | $as_test_x conftest$ac_exeext; then | ||
16503 | ac_cv_lib_dl_dlopen=yes | ||
16504 | else | ||
16505 | echo "$as_me: failed program was:" >&5 | ||
16506 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16507 | |||
16508 | ac_cv_lib_dl_dlopen=no | ||
16509 | fi | ||
16510 | |||
16511 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16512 | conftest$ac_exeext conftest.$ac_ext | ||
16513 | LIBS=$ac_check_lib_save_LIBS | ||
16514 | fi | ||
16515 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | ||
16516 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } | ||
16517 | if test $ac_cv_lib_dl_dlopen = yes; then | ||
16518 | cat >>confdefs.h <<_ACEOF | ||
16519 | #define HAVE_LIBDL 1 | ||
16520 | _ACEOF | ||
16521 | |||
16522 | LIBS="-ldl $LIBS" | ||
16523 | |||
16524 | fi | ||
16525 | |||
16526 | |||
16527 | { echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 | ||
16528 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6; } | ||
16529 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then | ||
16530 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16531 | else | ||
16532 | ac_check_lib_save_LIBS=$LIBS | ||
16533 | LIBS="-lpam $LIBS" | ||
16534 | cat >conftest.$ac_ext <<_ACEOF | ||
16535 | /* confdefs.h. */ | ||
16536 | _ACEOF | ||
16537 | cat confdefs.h >>conftest.$ac_ext | ||
16538 | cat >>conftest.$ac_ext <<_ACEOF | ||
16539 | /* end confdefs.h. */ | ||
16540 | |||
16541 | /* Override any GCC internal prototype to avoid an error. | ||
16542 | Use char because int might match the return type of a GCC | ||
16543 | builtin and then its argument prototype would still apply. */ | ||
16544 | #ifdef __cplusplus | ||
16545 | extern "C" | ||
16546 | #endif | ||
16547 | char pam_set_item (); | ||
16548 | int | ||
16549 | main () | ||
16550 | { | ||
16551 | return pam_set_item (); | ||
16552 | ; | ||
16553 | return 0; | ||
16554 | } | ||
16555 | _ACEOF | ||
16556 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16557 | if { (ac_try="$ac_link" | ||
16558 | case "(($ac_try" in | ||
16559 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16560 | *) ac_try_echo=$ac_try;; | ||
16561 | esac | ||
16562 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16563 | (eval "$ac_link") 2>conftest.er1 | ||
16564 | ac_status=$? | ||
16565 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16566 | rm -f conftest.er1 | ||
16567 | cat conftest.err >&5 | ||
16568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16569 | (exit $ac_status); } && { | ||
16570 | test -z "$ac_c_werror_flag" || | ||
16571 | test ! -s conftest.err | ||
16572 | } && test -s conftest$ac_exeext && | ||
16573 | $as_test_x conftest$ac_exeext; then | ||
16574 | ac_cv_lib_pam_pam_set_item=yes | ||
16575 | else | ||
16576 | echo "$as_me: failed program was:" >&5 | ||
16577 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16578 | |||
16579 | ac_cv_lib_pam_pam_set_item=no | ||
16580 | fi | ||
16581 | |||
16582 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16583 | conftest$ac_exeext conftest.$ac_ext | ||
16584 | LIBS=$ac_check_lib_save_LIBS | ||
16585 | fi | ||
16586 | { echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 | ||
16587 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6; } | ||
16588 | if test $ac_cv_lib_pam_pam_set_item = yes; then | ||
16589 | cat >>confdefs.h <<_ACEOF | ||
16590 | #define HAVE_LIBPAM 1 | ||
16591 | _ACEOF | ||
16592 | |||
16593 | LIBS="-lpam $LIBS" | ||
16594 | |||
16595 | else | ||
16596 | { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | ||
16597 | echo "$as_me: error: *** libpam missing" >&2;} | ||
16598 | { (exit 1); exit 1; }; } | ||
16599 | fi | ||
16600 | |||
16601 | |||
16602 | for ac_func in pam_getenvlist | ||
16603 | do | ||
16604 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
16605 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
16606 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
16607 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16608 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16609 | else | ||
16610 | cat >conftest.$ac_ext <<_ACEOF | ||
16611 | /* confdefs.h. */ | ||
16612 | _ACEOF | ||
16613 | cat confdefs.h >>conftest.$ac_ext | ||
16614 | cat >>conftest.$ac_ext <<_ACEOF | ||
16615 | /* end confdefs.h. */ | ||
16616 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
16617 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
16618 | #define $ac_func innocuous_$ac_func | ||
16619 | |||
16620 | /* System header to define __stub macros and hopefully few prototypes, | ||
16621 | which can conflict with char $ac_func (); below. | ||
16622 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
16623 | <limits.h> exists even on freestanding compilers. */ | ||
16624 | |||
16625 | #ifdef __STDC__ | ||
16626 | # include <limits.h> | ||
16627 | #else | ||
16628 | # include <assert.h> | ||
16629 | #endif | ||
16630 | |||
16631 | #undef $ac_func | ||
16632 | |||
16633 | /* Override any GCC internal prototype to avoid an error. | ||
16634 | Use char because int might match the return type of a GCC | ||
16635 | builtin and then its argument prototype would still apply. */ | ||
16636 | #ifdef __cplusplus | ||
16637 | extern "C" | ||
16638 | #endif | ||
16639 | char $ac_func (); | ||
16640 | /* The GNU C library defines this for functions which it implements | ||
16641 | to always fail with ENOSYS. Some functions are actually named | ||
16642 | something starting with __ and the normal name is an alias. */ | ||
16643 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
16644 | choke me | ||
16645 | #endif | ||
16646 | |||
16647 | int | ||
16648 | main () | ||
16649 | { | ||
16650 | return $ac_func (); | ||
16651 | ; | ||
16652 | return 0; | ||
16653 | } | ||
16654 | _ACEOF | ||
16655 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16656 | if { (ac_try="$ac_link" | ||
16657 | case "(($ac_try" in | ||
16658 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16659 | *) ac_try_echo=$ac_try;; | ||
16660 | esac | ||
16661 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16662 | (eval "$ac_link") 2>conftest.er1 | ||
16663 | ac_status=$? | ||
16664 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16665 | rm -f conftest.er1 | ||
16666 | cat conftest.err >&5 | ||
16667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16668 | (exit $ac_status); } && { | ||
16669 | test -z "$ac_c_werror_flag" || | ||
16670 | test ! -s conftest.err | ||
16671 | } && test -s conftest$ac_exeext && | ||
16672 | $as_test_x conftest$ac_exeext; then | ||
16673 | eval "$as_ac_var=yes" | ||
16674 | else | ||
16675 | echo "$as_me: failed program was:" >&5 | ||
16676 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16677 | |||
16678 | eval "$as_ac_var=no" | ||
16679 | fi | ||
16680 | |||
16681 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16682 | conftest$ac_exeext conftest.$ac_ext | ||
16683 | fi | ||
16684 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
16685 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16686 | echo "${ECHO_T}$ac_res" >&6; } | ||
16687 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
16688 | cat >>confdefs.h <<_ACEOF | ||
16689 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
16690 | _ACEOF | ||
16691 | |||
16692 | fi | ||
16693 | done | ||
16694 | |||
16695 | |||
16696 | for ac_func in pam_putenv | ||
16697 | do | ||
16698 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
16699 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
16700 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
16701 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16702 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16703 | else | ||
16704 | cat >conftest.$ac_ext <<_ACEOF | ||
16705 | /* confdefs.h. */ | ||
16706 | _ACEOF | ||
16707 | cat confdefs.h >>conftest.$ac_ext | ||
16708 | cat >>conftest.$ac_ext <<_ACEOF | ||
16709 | /* end confdefs.h. */ | ||
16710 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
16711 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
16712 | #define $ac_func innocuous_$ac_func | ||
16713 | |||
16714 | /* System header to define __stub macros and hopefully few prototypes, | ||
16715 | which can conflict with char $ac_func (); below. | ||
16716 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
16717 | <limits.h> exists even on freestanding compilers. */ | ||
16718 | |||
16719 | #ifdef __STDC__ | ||
16720 | # include <limits.h> | ||
16721 | #else | ||
16722 | # include <assert.h> | ||
16723 | #endif | ||
16724 | |||
16725 | #undef $ac_func | ||
16726 | |||
16727 | /* Override any GCC internal prototype to avoid an error. | ||
16728 | Use char because int might match the return type of a GCC | ||
16729 | builtin and then its argument prototype would still apply. */ | ||
16730 | #ifdef __cplusplus | ||
16731 | extern "C" | ||
16732 | #endif | ||
16733 | char $ac_func (); | ||
16734 | /* The GNU C library defines this for functions which it implements | ||
16735 | to always fail with ENOSYS. Some functions are actually named | ||
16736 | something starting with __ and the normal name is an alias. */ | ||
16737 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
16738 | choke me | ||
16739 | #endif | ||
16740 | |||
16741 | int | ||
16742 | main () | ||
16743 | { | ||
16744 | return $ac_func (); | ||
16745 | ; | ||
16746 | return 0; | ||
16747 | } | ||
16748 | _ACEOF | ||
16749 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16750 | if { (ac_try="$ac_link" | ||
16751 | case "(($ac_try" in | ||
16752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16753 | *) ac_try_echo=$ac_try;; | ||
16754 | esac | ||
16755 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16756 | (eval "$ac_link") 2>conftest.er1 | ||
16757 | ac_status=$? | ||
16758 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16759 | rm -f conftest.er1 | ||
16760 | cat conftest.err >&5 | ||
16761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16762 | (exit $ac_status); } && { | ||
16763 | test -z "$ac_c_werror_flag" || | ||
16764 | test ! -s conftest.err | ||
16765 | } && test -s conftest$ac_exeext && | ||
16766 | $as_test_x conftest$ac_exeext; then | ||
16767 | eval "$as_ac_var=yes" | ||
16768 | else | ||
16769 | echo "$as_me: failed program was:" >&5 | ||
16770 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16771 | |||
16772 | eval "$as_ac_var=no" | ||
16773 | fi | ||
16774 | |||
16775 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16776 | conftest$ac_exeext conftest.$ac_ext | ||
16777 | fi | ||
16778 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
16779 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16780 | echo "${ECHO_T}$ac_res" >&6; } | ||
16781 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
16782 | cat >>confdefs.h <<_ACEOF | ||
16783 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
16784 | _ACEOF | ||
16785 | |||
15613 | fi | 16786 | fi |
16787 | done | ||
16788 | |||
16789 | LIBS="$saved_LIBS" | ||
15614 | 16790 | ||
16791 | PAM_MSG="yes" | ||
16792 | |||
16793 | LIBPAM="-lpam" | ||
16794 | |||
16795 | cat >>confdefs.h <<\_ACEOF | ||
16796 | #define USE_PAM 1 | ||
16797 | _ACEOF | ||
16798 | |||
16799 | |||
16800 | if test $ac_cv_lib_dl_dlopen = yes; then | ||
16801 | case "$LIBS" in | ||
16802 | *-ldl*) | ||
16803 | # libdl already in LIBS | ||
16804 | ;; | ||
16805 | *) | ||
16806 | LIBPAM="$LIBPAM -ldl" | ||
16807 | ;; | ||
16808 | esac | ||
16809 | fi | ||
16810 | |||
16811 | fi | ||
16812 | |||
16813 | |||
16814 | fi | ||
16815 | |||
16816 | |||
16817 | # Check for older PAM | ||
16818 | if test "x$PAM_MSG" = "xyes" ; then | ||
16819 | # Check PAM strerror arguments (old PAM) | ||
16820 | { echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 | ||
16821 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6; } | ||
16822 | cat >conftest.$ac_ext <<_ACEOF | ||
16823 | /* confdefs.h. */ | ||
16824 | _ACEOF | ||
16825 | cat confdefs.h >>conftest.$ac_ext | ||
16826 | cat >>conftest.$ac_ext <<_ACEOF | ||
16827 | /* end confdefs.h. */ | ||
16828 | |||
16829 | #include <stdlib.h> | ||
16830 | #if defined(HAVE_SECURITY_PAM_APPL_H) | ||
16831 | #include <security/pam_appl.h> | ||
16832 | #elif defined (HAVE_PAM_PAM_APPL_H) | ||
16833 | #include <pam/pam_appl.h> | ||
16834 | #endif | ||
16835 | |||
16836 | int | ||
16837 | main () | ||
16838 | { | ||
16839 | (void)pam_strerror((pam_handle_t *)NULL, -1); | ||
16840 | ; | ||
16841 | return 0; | ||
16842 | } | ||
16843 | _ACEOF | ||
16844 | rm -f conftest.$ac_objext | ||
16845 | if { (ac_try="$ac_compile" | ||
16846 | case "(($ac_try" in | ||
16847 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16848 | *) ac_try_echo=$ac_try;; | ||
16849 | esac | ||
16850 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16851 | (eval "$ac_compile") 2>conftest.er1 | ||
16852 | ac_status=$? | ||
16853 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16854 | rm -f conftest.er1 | ||
16855 | cat conftest.err >&5 | ||
16856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16857 | (exit $ac_status); } && { | ||
16858 | test -z "$ac_c_werror_flag" || | ||
16859 | test ! -s conftest.err | ||
16860 | } && test -s conftest.$ac_objext; then | ||
16861 | { echo "$as_me:$LINENO: result: no" >&5 | ||
16862 | echo "${ECHO_T}no" >&6; } | ||
16863 | else | ||
16864 | echo "$as_me: failed program was:" >&5 | ||
16865 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16866 | |||
16867 | |||
16868 | |||
16869 | cat >>confdefs.h <<\_ACEOF | ||
16870 | #define HAVE_OLD_PAM 1 | ||
16871 | _ACEOF | ||
16872 | |||
16873 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
16874 | echo "${ECHO_T}yes" >&6; } | ||
16875 | PAM_MSG="yes (old library)" | ||
16876 | |||
16877 | |||
16878 | fi | ||
16879 | |||
16880 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16881 | fi | ||
15615 | 16882 | ||
15616 | # Do we want to force the use of the rand helper? | 16883 | # Do we want to force the use of the rand helper? |
15617 | 16884 | ||
15618 | # Check whether --with-rand-helper or --without-rand-helper was given. | 16885 | # Check whether --with-rand-helper was given. |
15619 | if test "${with_rand_helper+set}" = set; then | 16886 | if test "${with_rand_helper+set}" = set; then |
15620 | withval="$with_rand_helper" | 16887 | withval=$with_rand_helper; |
15621 | |||
15622 | if test "x$withval" = "xno" ; then | 16888 | if test "x$withval" = "xno" ; then |
15623 | # Force use of OpenSSL's internal RNG, even if | 16889 | # Force use of OpenSSL's internal RNG, even if |
15624 | # the previous test showed it to be unseeded. | 16890 | # the previous test showed it to be unseeded. |
@@ -15632,7 +16898,8 @@ echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} | |||
15632 | USE_RAND_HELPER=yes | 16898 | USE_RAND_HELPER=yes |
15633 | fi | 16899 | fi |
15634 | 16900 | ||
15635 | fi; | 16901 | fi |
16902 | |||
15636 | 16903 | ||
15637 | # Which randomness source do we use? | 16904 | # Which randomness source do we use? |
15638 | if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then | 16905 | if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then |
@@ -15655,10 +16922,9 @@ fi | |||
15655 | 16922 | ||
15656 | # PRNGD TCP socket | 16923 | # PRNGD TCP socket |
15657 | 16924 | ||
15658 | # Check whether --with-prngd-port or --without-prngd-port was given. | 16925 | # Check whether --with-prngd-port was given. |
15659 | if test "${with_prngd_port+set}" = set; then | 16926 | if test "${with_prngd_port+set}" = set; then |
15660 | withval="$with_prngd_port" | 16927 | withval=$with_prngd_port; |
15661 | |||
15662 | case "$withval" in | 16928 | case "$withval" in |
15663 | no) | 16929 | no) |
15664 | withval="" | 16930 | withval="" |
@@ -15681,14 +16947,14 @@ _ACEOF | |||
15681 | fi | 16947 | fi |
15682 | 16948 | ||
15683 | 16949 | ||
15684 | fi; | 16950 | fi |
16951 | |||
15685 | 16952 | ||
15686 | # PRNGD Unix domain socket | 16953 | # PRNGD Unix domain socket |
15687 | 16954 | ||
15688 | # Check whether --with-prngd-socket or --without-prngd-socket was given. | 16955 | # Check whether --with-prngd-socket was given. |
15689 | if test "${with_prngd_socket+set}" = set; then | 16956 | if test "${with_prngd_socket+set}" = set; then |
15690 | withval="$with_prngd_socket" | 16957 | withval=$with_prngd_socket; |
15691 | |||
15692 | case "$withval" in | 16958 | case "$withval" in |
15693 | yes) | 16959 | yes) |
15694 | withval="/var/run/egd-pool" | 16960 | withval="/var/run/egd-pool" |
@@ -15727,8 +16993,8 @@ else | |||
15727 | 16993 | ||
15728 | # Check for existing socket only if we don't have a random device already | 16994 | # Check for existing socket only if we don't have a random device already |
15729 | if test "$USE_RAND_HELPER" = yes ; then | 16995 | if test "$USE_RAND_HELPER" = yes ; then |
15730 | echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 | 16996 | { echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 |
15731 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 | 16997 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6; } |
15732 | # Insert other locations here | 16998 | # Insert other locations here |
15733 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do | 16999 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do |
15734 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then | 17000 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then |
@@ -15741,31 +17007,32 @@ _ACEOF | |||
15741 | fi | 17007 | fi |
15742 | done | 17008 | done |
15743 | if test ! -z "$PRNGD_SOCKET" ; then | 17009 | if test ! -z "$PRNGD_SOCKET" ; then |
15744 | echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 | 17010 | { echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 |
15745 | echo "${ECHO_T}$PRNGD_SOCKET" >&6 | 17011 | echo "${ECHO_T}$PRNGD_SOCKET" >&6; } |
15746 | else | 17012 | else |
15747 | echo "$as_me:$LINENO: result: not found" >&5 | 17013 | { echo "$as_me:$LINENO: result: not found" >&5 |
15748 | echo "${ECHO_T}not found" >&6 | 17014 | echo "${ECHO_T}not found" >&6; } |
15749 | fi | 17015 | fi |
15750 | fi | 17016 | fi |
15751 | 17017 | ||
15752 | 17018 | ||
15753 | fi; | 17019 | fi |
17020 | |||
15754 | 17021 | ||
15755 | # Change default command timeout for hashing entropy source | 17022 | # Change default command timeout for hashing entropy source |
15756 | entropy_timeout=200 | 17023 | entropy_timeout=200 |
15757 | 17024 | ||
15758 | # Check whether --with-entropy-timeout or --without-entropy-timeout was given. | 17025 | # Check whether --with-entropy-timeout was given. |
15759 | if test "${with_entropy_timeout+set}" = set; then | 17026 | if test "${with_entropy_timeout+set}" = set; then |
15760 | withval="$with_entropy_timeout" | 17027 | withval=$with_entropy_timeout; |
15761 | |||
15762 | if test -n "$withval" && test "x$withval" != "xno" && \ | 17028 | if test -n "$withval" && test "x$withval" != "xno" && \ |
15763 | test "x${withval}" != "xyes"; then | 17029 | test "x${withval}" != "xyes"; then |
15764 | entropy_timeout=$withval | 17030 | entropy_timeout=$withval |
15765 | fi | 17031 | fi |
15766 | 17032 | ||
15767 | 17033 | ||
15768 | fi; | 17034 | fi |
17035 | |||
15769 | 17036 | ||
15770 | cat >>confdefs.h <<_ACEOF | 17037 | cat >>confdefs.h <<_ACEOF |
15771 | #define ENTROPY_TIMEOUT_MSEC $entropy_timeout | 17038 | #define ENTROPY_TIMEOUT_MSEC $entropy_timeout |
@@ -15774,17 +17041,17 @@ _ACEOF | |||
15774 | 17041 | ||
15775 | SSH_PRIVSEP_USER=sshd | 17042 | SSH_PRIVSEP_USER=sshd |
15776 | 17043 | ||
15777 | # Check whether --with-privsep-user or --without-privsep-user was given. | 17044 | # Check whether --with-privsep-user was given. |
15778 | if test "${with_privsep_user+set}" = set; then | 17045 | if test "${with_privsep_user+set}" = set; then |
15779 | withval="$with_privsep_user" | 17046 | withval=$with_privsep_user; |
15780 | |||
15781 | if test -n "$withval" && test "x$withval" != "xno" && \ | 17047 | if test -n "$withval" && test "x$withval" != "xno" && \ |
15782 | test "x${withval}" != "xyes"; then | 17048 | test "x${withval}" != "xyes"; then |
15783 | SSH_PRIVSEP_USER=$withval | 17049 | SSH_PRIVSEP_USER=$withval |
15784 | fi | 17050 | fi |
15785 | 17051 | ||
15786 | 17052 | ||
15787 | fi; | 17053 | fi |
17054 | |||
15788 | 17055 | ||
15789 | cat >>confdefs.h <<_ACEOF | 17056 | cat >>confdefs.h <<_ACEOF |
15790 | #define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" | 17057 | #define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" |
@@ -15810,8 +17077,8 @@ PATH=$PATH:/etc:$OPATH | |||
15810 | 17077 | ||
15811 | # Extract the first word of "ls", so it can be a program name with args. | 17078 | # Extract the first word of "ls", so it can be a program name with args. |
15812 | set dummy ls; ac_word=$2 | 17079 | set dummy ls; ac_word=$2 |
15813 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17080 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15814 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17081 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
15815 | if test "${ac_cv_path_PROG_LS+set}" = set; then | 17082 | if test "${ac_cv_path_PROG_LS+set}" = set; then |
15816 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17083 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15817 | else | 17084 | else |
@@ -15826,27 +17093,28 @@ do | |||
15826 | IFS=$as_save_IFS | 17093 | IFS=$as_save_IFS |
15827 | test -z "$as_dir" && as_dir=. | 17094 | test -z "$as_dir" && as_dir=. |
15828 | for ac_exec_ext in '' $ac_executable_extensions; do | 17095 | for ac_exec_ext in '' $ac_executable_extensions; do |
15829 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17096 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
15830 | ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext" | 17097 | ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext" |
15831 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17098 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
15832 | break 2 | 17099 | break 2 |
15833 | fi | 17100 | fi |
15834 | done | 17101 | done |
15835 | done | 17102 | done |
17103 | IFS=$as_save_IFS | ||
15836 | 17104 | ||
15837 | ;; | 17105 | ;; |
15838 | esac | 17106 | esac |
15839 | fi | 17107 | fi |
15840 | PROG_LS=$ac_cv_path_PROG_LS | 17108 | PROG_LS=$ac_cv_path_PROG_LS |
15841 | |||
15842 | if test -n "$PROG_LS"; then | 17109 | if test -n "$PROG_LS"; then |
15843 | echo "$as_me:$LINENO: result: $PROG_LS" >&5 | 17110 | { echo "$as_me:$LINENO: result: $PROG_LS" >&5 |
15844 | echo "${ECHO_T}$PROG_LS" >&6 | 17111 | echo "${ECHO_T}$PROG_LS" >&6; } |
15845 | else | 17112 | else |
15846 | echo "$as_me:$LINENO: result: no" >&5 | 17113 | { echo "$as_me:$LINENO: result: no" >&5 |
15847 | echo "${ECHO_T}no" >&6 | 17114 | echo "${ECHO_T}no" >&6; } |
15848 | fi | 17115 | fi |
15849 | 17116 | ||
17117 | |||
15850 | if test -z "$PROG_LS" ; then | 17118 | if test -z "$PROG_LS" ; then |
15851 | PROG_LS="undef" | 17119 | PROG_LS="undef" |
15852 | fi | 17120 | fi |
@@ -15855,8 +17123,8 @@ fi | |||
15855 | 17123 | ||
15856 | # Extract the first word of "netstat", so it can be a program name with args. | 17124 | # Extract the first word of "netstat", so it can be a program name with args. |
15857 | set dummy netstat; ac_word=$2 | 17125 | set dummy netstat; ac_word=$2 |
15858 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17126 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15859 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17127 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
15860 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then | 17128 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then |
15861 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17129 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15862 | else | 17130 | else |
@@ -15871,27 +17139,28 @@ do | |||
15871 | IFS=$as_save_IFS | 17139 | IFS=$as_save_IFS |
15872 | test -z "$as_dir" && as_dir=. | 17140 | test -z "$as_dir" && as_dir=. |
15873 | for ac_exec_ext in '' $ac_executable_extensions; do | 17141 | for ac_exec_ext in '' $ac_executable_extensions; do |
15874 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17142 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
15875 | ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext" | 17143 | ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext" |
15876 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17144 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
15877 | break 2 | 17145 | break 2 |
15878 | fi | 17146 | fi |
15879 | done | 17147 | done |
15880 | done | 17148 | done |
17149 | IFS=$as_save_IFS | ||
15881 | 17150 | ||
15882 | ;; | 17151 | ;; |
15883 | esac | 17152 | esac |
15884 | fi | 17153 | fi |
15885 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT | 17154 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT |
15886 | |||
15887 | if test -n "$PROG_NETSTAT"; then | 17155 | if test -n "$PROG_NETSTAT"; then |
15888 | echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 | 17156 | { echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 |
15889 | echo "${ECHO_T}$PROG_NETSTAT" >&6 | 17157 | echo "${ECHO_T}$PROG_NETSTAT" >&6; } |
15890 | else | 17158 | else |
15891 | echo "$as_me:$LINENO: result: no" >&5 | 17159 | { echo "$as_me:$LINENO: result: no" >&5 |
15892 | echo "${ECHO_T}no" >&6 | 17160 | echo "${ECHO_T}no" >&6; } |
15893 | fi | 17161 | fi |
15894 | 17162 | ||
17163 | |||
15895 | if test -z "$PROG_NETSTAT" ; then | 17164 | if test -z "$PROG_NETSTAT" ; then |
15896 | PROG_NETSTAT="undef" | 17165 | PROG_NETSTAT="undef" |
15897 | fi | 17166 | fi |
@@ -15900,8 +17169,8 @@ fi | |||
15900 | 17169 | ||
15901 | # Extract the first word of "arp", so it can be a program name with args. | 17170 | # Extract the first word of "arp", so it can be a program name with args. |
15902 | set dummy arp; ac_word=$2 | 17171 | set dummy arp; ac_word=$2 |
15903 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17172 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15904 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17173 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
15905 | if test "${ac_cv_path_PROG_ARP+set}" = set; then | 17174 | if test "${ac_cv_path_PROG_ARP+set}" = set; then |
15906 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17175 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15907 | else | 17176 | else |
@@ -15916,27 +17185,28 @@ do | |||
15916 | IFS=$as_save_IFS | 17185 | IFS=$as_save_IFS |
15917 | test -z "$as_dir" && as_dir=. | 17186 | test -z "$as_dir" && as_dir=. |
15918 | for ac_exec_ext in '' $ac_executable_extensions; do | 17187 | for ac_exec_ext in '' $ac_executable_extensions; do |
15919 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17188 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
15920 | ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext" | 17189 | ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext" |
15921 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17190 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
15922 | break 2 | 17191 | break 2 |
15923 | fi | 17192 | fi |
15924 | done | 17193 | done |
15925 | done | 17194 | done |
17195 | IFS=$as_save_IFS | ||
15926 | 17196 | ||
15927 | ;; | 17197 | ;; |
15928 | esac | 17198 | esac |
15929 | fi | 17199 | fi |
15930 | PROG_ARP=$ac_cv_path_PROG_ARP | 17200 | PROG_ARP=$ac_cv_path_PROG_ARP |
15931 | |||
15932 | if test -n "$PROG_ARP"; then | 17201 | if test -n "$PROG_ARP"; then |
15933 | echo "$as_me:$LINENO: result: $PROG_ARP" >&5 | 17202 | { echo "$as_me:$LINENO: result: $PROG_ARP" >&5 |
15934 | echo "${ECHO_T}$PROG_ARP" >&6 | 17203 | echo "${ECHO_T}$PROG_ARP" >&6; } |
15935 | else | 17204 | else |
15936 | echo "$as_me:$LINENO: result: no" >&5 | 17205 | { echo "$as_me:$LINENO: result: no" >&5 |
15937 | echo "${ECHO_T}no" >&6 | 17206 | echo "${ECHO_T}no" >&6; } |
15938 | fi | 17207 | fi |
15939 | 17208 | ||
17209 | |||
15940 | if test -z "$PROG_ARP" ; then | 17210 | if test -z "$PROG_ARP" ; then |
15941 | PROG_ARP="undef" | 17211 | PROG_ARP="undef" |
15942 | fi | 17212 | fi |
@@ -15945,8 +17215,8 @@ fi | |||
15945 | 17215 | ||
15946 | # Extract the first word of "ifconfig", so it can be a program name with args. | 17216 | # Extract the first word of "ifconfig", so it can be a program name with args. |
15947 | set dummy ifconfig; ac_word=$2 | 17217 | set dummy ifconfig; ac_word=$2 |
15948 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17218 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15949 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17219 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
15950 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then | 17220 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then |
15951 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17221 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15952 | else | 17222 | else |
@@ -15961,27 +17231,28 @@ do | |||
15961 | IFS=$as_save_IFS | 17231 | IFS=$as_save_IFS |
15962 | test -z "$as_dir" && as_dir=. | 17232 | test -z "$as_dir" && as_dir=. |
15963 | for ac_exec_ext in '' $ac_executable_extensions; do | 17233 | for ac_exec_ext in '' $ac_executable_extensions; do |
15964 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17234 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
15965 | ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext" | 17235 | ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext" |
15966 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17236 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
15967 | break 2 | 17237 | break 2 |
15968 | fi | 17238 | fi |
15969 | done | 17239 | done |
15970 | done | 17240 | done |
17241 | IFS=$as_save_IFS | ||
15971 | 17242 | ||
15972 | ;; | 17243 | ;; |
15973 | esac | 17244 | esac |
15974 | fi | 17245 | fi |
15975 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG | 17246 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG |
15976 | |||
15977 | if test -n "$PROG_IFCONFIG"; then | 17247 | if test -n "$PROG_IFCONFIG"; then |
15978 | echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 | 17248 | { echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 |
15979 | echo "${ECHO_T}$PROG_IFCONFIG" >&6 | 17249 | echo "${ECHO_T}$PROG_IFCONFIG" >&6; } |
15980 | else | 17250 | else |
15981 | echo "$as_me:$LINENO: result: no" >&5 | 17251 | { echo "$as_me:$LINENO: result: no" >&5 |
15982 | echo "${ECHO_T}no" >&6 | 17252 | echo "${ECHO_T}no" >&6; } |
15983 | fi | 17253 | fi |
15984 | 17254 | ||
17255 | |||
15985 | if test -z "$PROG_IFCONFIG" ; then | 17256 | if test -z "$PROG_IFCONFIG" ; then |
15986 | PROG_IFCONFIG="undef" | 17257 | PROG_IFCONFIG="undef" |
15987 | fi | 17258 | fi |
@@ -15990,8 +17261,8 @@ fi | |||
15990 | 17261 | ||
15991 | # Extract the first word of "jstat", so it can be a program name with args. | 17262 | # Extract the first word of "jstat", so it can be a program name with args. |
15992 | set dummy jstat; ac_word=$2 | 17263 | set dummy jstat; ac_word=$2 |
15993 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17264 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15994 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17265 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
15995 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then | 17266 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then |
15996 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17267 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15997 | else | 17268 | else |
@@ -16006,27 +17277,28 @@ do | |||
16006 | IFS=$as_save_IFS | 17277 | IFS=$as_save_IFS |
16007 | test -z "$as_dir" && as_dir=. | 17278 | test -z "$as_dir" && as_dir=. |
16008 | for ac_exec_ext in '' $ac_executable_extensions; do | 17279 | for ac_exec_ext in '' $ac_executable_extensions; do |
16009 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17280 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16010 | ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext" | 17281 | ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext" |
16011 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17282 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16012 | break 2 | 17283 | break 2 |
16013 | fi | 17284 | fi |
16014 | done | 17285 | done |
16015 | done | 17286 | done |
17287 | IFS=$as_save_IFS | ||
16016 | 17288 | ||
16017 | ;; | 17289 | ;; |
16018 | esac | 17290 | esac |
16019 | fi | 17291 | fi |
16020 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT | 17292 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT |
16021 | |||
16022 | if test -n "$PROG_JSTAT"; then | 17293 | if test -n "$PROG_JSTAT"; then |
16023 | echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 | 17294 | { echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 |
16024 | echo "${ECHO_T}$PROG_JSTAT" >&6 | 17295 | echo "${ECHO_T}$PROG_JSTAT" >&6; } |
16025 | else | 17296 | else |
16026 | echo "$as_me:$LINENO: result: no" >&5 | 17297 | { echo "$as_me:$LINENO: result: no" >&5 |
16027 | echo "${ECHO_T}no" >&6 | 17298 | echo "${ECHO_T}no" >&6; } |
16028 | fi | 17299 | fi |
16029 | 17300 | ||
17301 | |||
16030 | if test -z "$PROG_JSTAT" ; then | 17302 | if test -z "$PROG_JSTAT" ; then |
16031 | PROG_JSTAT="undef" | 17303 | PROG_JSTAT="undef" |
16032 | fi | 17304 | fi |
@@ -16035,8 +17307,8 @@ fi | |||
16035 | 17307 | ||
16036 | # Extract the first word of "ps", so it can be a program name with args. | 17308 | # Extract the first word of "ps", so it can be a program name with args. |
16037 | set dummy ps; ac_word=$2 | 17309 | set dummy ps; ac_word=$2 |
16038 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17310 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16039 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17311 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16040 | if test "${ac_cv_path_PROG_PS+set}" = set; then | 17312 | if test "${ac_cv_path_PROG_PS+set}" = set; then |
16041 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17313 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16042 | else | 17314 | else |
@@ -16051,27 +17323,28 @@ do | |||
16051 | IFS=$as_save_IFS | 17323 | IFS=$as_save_IFS |
16052 | test -z "$as_dir" && as_dir=. | 17324 | test -z "$as_dir" && as_dir=. |
16053 | for ac_exec_ext in '' $ac_executable_extensions; do | 17325 | for ac_exec_ext in '' $ac_executable_extensions; do |
16054 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17326 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16055 | ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext" | 17327 | ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext" |
16056 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17328 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16057 | break 2 | 17329 | break 2 |
16058 | fi | 17330 | fi |
16059 | done | 17331 | done |
16060 | done | 17332 | done |
17333 | IFS=$as_save_IFS | ||
16061 | 17334 | ||
16062 | ;; | 17335 | ;; |
16063 | esac | 17336 | esac |
16064 | fi | 17337 | fi |
16065 | PROG_PS=$ac_cv_path_PROG_PS | 17338 | PROG_PS=$ac_cv_path_PROG_PS |
16066 | |||
16067 | if test -n "$PROG_PS"; then | 17339 | if test -n "$PROG_PS"; then |
16068 | echo "$as_me:$LINENO: result: $PROG_PS" >&5 | 17340 | { echo "$as_me:$LINENO: result: $PROG_PS" >&5 |
16069 | echo "${ECHO_T}$PROG_PS" >&6 | 17341 | echo "${ECHO_T}$PROG_PS" >&6; } |
16070 | else | 17342 | else |
16071 | echo "$as_me:$LINENO: result: no" >&5 | 17343 | { echo "$as_me:$LINENO: result: no" >&5 |
16072 | echo "${ECHO_T}no" >&6 | 17344 | echo "${ECHO_T}no" >&6; } |
16073 | fi | 17345 | fi |
16074 | 17346 | ||
17347 | |||
16075 | if test -z "$PROG_PS" ; then | 17348 | if test -z "$PROG_PS" ; then |
16076 | PROG_PS="undef" | 17349 | PROG_PS="undef" |
16077 | fi | 17350 | fi |
@@ -16080,8 +17353,8 @@ fi | |||
16080 | 17353 | ||
16081 | # Extract the first word of "sar", so it can be a program name with args. | 17354 | # Extract the first word of "sar", so it can be a program name with args. |
16082 | set dummy sar; ac_word=$2 | 17355 | set dummy sar; ac_word=$2 |
16083 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17356 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16084 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17357 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16085 | if test "${ac_cv_path_PROG_SAR+set}" = set; then | 17358 | if test "${ac_cv_path_PROG_SAR+set}" = set; then |
16086 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17359 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16087 | else | 17360 | else |
@@ -16096,27 +17369,28 @@ do | |||
16096 | IFS=$as_save_IFS | 17369 | IFS=$as_save_IFS |
16097 | test -z "$as_dir" && as_dir=. | 17370 | test -z "$as_dir" && as_dir=. |
16098 | for ac_exec_ext in '' $ac_executable_extensions; do | 17371 | for ac_exec_ext in '' $ac_executable_extensions; do |
16099 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17372 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16100 | ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext" | 17373 | ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext" |
16101 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17374 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16102 | break 2 | 17375 | break 2 |
16103 | fi | 17376 | fi |
16104 | done | 17377 | done |
16105 | done | 17378 | done |
17379 | IFS=$as_save_IFS | ||
16106 | 17380 | ||
16107 | ;; | 17381 | ;; |
16108 | esac | 17382 | esac |
16109 | fi | 17383 | fi |
16110 | PROG_SAR=$ac_cv_path_PROG_SAR | 17384 | PROG_SAR=$ac_cv_path_PROG_SAR |
16111 | |||
16112 | if test -n "$PROG_SAR"; then | 17385 | if test -n "$PROG_SAR"; then |
16113 | echo "$as_me:$LINENO: result: $PROG_SAR" >&5 | 17386 | { echo "$as_me:$LINENO: result: $PROG_SAR" >&5 |
16114 | echo "${ECHO_T}$PROG_SAR" >&6 | 17387 | echo "${ECHO_T}$PROG_SAR" >&6; } |
16115 | else | 17388 | else |
16116 | echo "$as_me:$LINENO: result: no" >&5 | 17389 | { echo "$as_me:$LINENO: result: no" >&5 |
16117 | echo "${ECHO_T}no" >&6 | 17390 | echo "${ECHO_T}no" >&6; } |
16118 | fi | 17391 | fi |
16119 | 17392 | ||
17393 | |||
16120 | if test -z "$PROG_SAR" ; then | 17394 | if test -z "$PROG_SAR" ; then |
16121 | PROG_SAR="undef" | 17395 | PROG_SAR="undef" |
16122 | fi | 17396 | fi |
@@ -16125,8 +17399,8 @@ fi | |||
16125 | 17399 | ||
16126 | # Extract the first word of "w", so it can be a program name with args. | 17400 | # Extract the first word of "w", so it can be a program name with args. |
16127 | set dummy w; ac_word=$2 | 17401 | set dummy w; ac_word=$2 |
16128 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17402 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16129 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17403 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16130 | if test "${ac_cv_path_PROG_W+set}" = set; then | 17404 | if test "${ac_cv_path_PROG_W+set}" = set; then |
16131 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17405 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16132 | else | 17406 | else |
@@ -16141,27 +17415,28 @@ do | |||
16141 | IFS=$as_save_IFS | 17415 | IFS=$as_save_IFS |
16142 | test -z "$as_dir" && as_dir=. | 17416 | test -z "$as_dir" && as_dir=. |
16143 | for ac_exec_ext in '' $ac_executable_extensions; do | 17417 | for ac_exec_ext in '' $ac_executable_extensions; do |
16144 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17418 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16145 | ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext" | 17419 | ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext" |
16146 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17420 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16147 | break 2 | 17421 | break 2 |
16148 | fi | 17422 | fi |
16149 | done | 17423 | done |
16150 | done | 17424 | done |
17425 | IFS=$as_save_IFS | ||
16151 | 17426 | ||
16152 | ;; | 17427 | ;; |
16153 | esac | 17428 | esac |
16154 | fi | 17429 | fi |
16155 | PROG_W=$ac_cv_path_PROG_W | 17430 | PROG_W=$ac_cv_path_PROG_W |
16156 | |||
16157 | if test -n "$PROG_W"; then | 17431 | if test -n "$PROG_W"; then |
16158 | echo "$as_me:$LINENO: result: $PROG_W" >&5 | 17432 | { echo "$as_me:$LINENO: result: $PROG_W" >&5 |
16159 | echo "${ECHO_T}$PROG_W" >&6 | 17433 | echo "${ECHO_T}$PROG_W" >&6; } |
16160 | else | 17434 | else |
16161 | echo "$as_me:$LINENO: result: no" >&5 | 17435 | { echo "$as_me:$LINENO: result: no" >&5 |
16162 | echo "${ECHO_T}no" >&6 | 17436 | echo "${ECHO_T}no" >&6; } |
16163 | fi | 17437 | fi |
16164 | 17438 | ||
17439 | |||
16165 | if test -z "$PROG_W" ; then | 17440 | if test -z "$PROG_W" ; then |
16166 | PROG_W="undef" | 17441 | PROG_W="undef" |
16167 | fi | 17442 | fi |
@@ -16170,8 +17445,8 @@ fi | |||
16170 | 17445 | ||
16171 | # Extract the first word of "who", so it can be a program name with args. | 17446 | # Extract the first word of "who", so it can be a program name with args. |
16172 | set dummy who; ac_word=$2 | 17447 | set dummy who; ac_word=$2 |
16173 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17448 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16174 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17449 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16175 | if test "${ac_cv_path_PROG_WHO+set}" = set; then | 17450 | if test "${ac_cv_path_PROG_WHO+set}" = set; then |
16176 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17451 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16177 | else | 17452 | else |
@@ -16186,27 +17461,28 @@ do | |||
16186 | IFS=$as_save_IFS | 17461 | IFS=$as_save_IFS |
16187 | test -z "$as_dir" && as_dir=. | 17462 | test -z "$as_dir" && as_dir=. |
16188 | for ac_exec_ext in '' $ac_executable_extensions; do | 17463 | for ac_exec_ext in '' $ac_executable_extensions; do |
16189 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17464 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16190 | ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext" | 17465 | ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext" |
16191 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17466 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16192 | break 2 | 17467 | break 2 |
16193 | fi | 17468 | fi |
16194 | done | 17469 | done |
16195 | done | 17470 | done |
17471 | IFS=$as_save_IFS | ||
16196 | 17472 | ||
16197 | ;; | 17473 | ;; |
16198 | esac | 17474 | esac |
16199 | fi | 17475 | fi |
16200 | PROG_WHO=$ac_cv_path_PROG_WHO | 17476 | PROG_WHO=$ac_cv_path_PROG_WHO |
16201 | |||
16202 | if test -n "$PROG_WHO"; then | 17477 | if test -n "$PROG_WHO"; then |
16203 | echo "$as_me:$LINENO: result: $PROG_WHO" >&5 | 17478 | { echo "$as_me:$LINENO: result: $PROG_WHO" >&5 |
16204 | echo "${ECHO_T}$PROG_WHO" >&6 | 17479 | echo "${ECHO_T}$PROG_WHO" >&6; } |
16205 | else | 17480 | else |
16206 | echo "$as_me:$LINENO: result: no" >&5 | 17481 | { echo "$as_me:$LINENO: result: no" >&5 |
16207 | echo "${ECHO_T}no" >&6 | 17482 | echo "${ECHO_T}no" >&6; } |
16208 | fi | 17483 | fi |
16209 | 17484 | ||
17485 | |||
16210 | if test -z "$PROG_WHO" ; then | 17486 | if test -z "$PROG_WHO" ; then |
16211 | PROG_WHO="undef" | 17487 | PROG_WHO="undef" |
16212 | fi | 17488 | fi |
@@ -16215,8 +17491,8 @@ fi | |||
16215 | 17491 | ||
16216 | # Extract the first word of "last", so it can be a program name with args. | 17492 | # Extract the first word of "last", so it can be a program name with args. |
16217 | set dummy last; ac_word=$2 | 17493 | set dummy last; ac_word=$2 |
16218 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17494 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16219 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17495 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16220 | if test "${ac_cv_path_PROG_LAST+set}" = set; then | 17496 | if test "${ac_cv_path_PROG_LAST+set}" = set; then |
16221 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17497 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16222 | else | 17498 | else |
@@ -16231,27 +17507,28 @@ do | |||
16231 | IFS=$as_save_IFS | 17507 | IFS=$as_save_IFS |
16232 | test -z "$as_dir" && as_dir=. | 17508 | test -z "$as_dir" && as_dir=. |
16233 | for ac_exec_ext in '' $ac_executable_extensions; do | 17509 | for ac_exec_ext in '' $ac_executable_extensions; do |
16234 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17510 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16235 | ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext" | 17511 | ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext" |
16236 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17512 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16237 | break 2 | 17513 | break 2 |
16238 | fi | 17514 | fi |
16239 | done | 17515 | done |
16240 | done | 17516 | done |
17517 | IFS=$as_save_IFS | ||
16241 | 17518 | ||
16242 | ;; | 17519 | ;; |
16243 | esac | 17520 | esac |
16244 | fi | 17521 | fi |
16245 | PROG_LAST=$ac_cv_path_PROG_LAST | 17522 | PROG_LAST=$ac_cv_path_PROG_LAST |
16246 | |||
16247 | if test -n "$PROG_LAST"; then | 17523 | if test -n "$PROG_LAST"; then |
16248 | echo "$as_me:$LINENO: result: $PROG_LAST" >&5 | 17524 | { echo "$as_me:$LINENO: result: $PROG_LAST" >&5 |
16249 | echo "${ECHO_T}$PROG_LAST" >&6 | 17525 | echo "${ECHO_T}$PROG_LAST" >&6; } |
16250 | else | 17526 | else |
16251 | echo "$as_me:$LINENO: result: no" >&5 | 17527 | { echo "$as_me:$LINENO: result: no" >&5 |
16252 | echo "${ECHO_T}no" >&6 | 17528 | echo "${ECHO_T}no" >&6; } |
16253 | fi | 17529 | fi |
16254 | 17530 | ||
17531 | |||
16255 | if test -z "$PROG_LAST" ; then | 17532 | if test -z "$PROG_LAST" ; then |
16256 | PROG_LAST="undef" | 17533 | PROG_LAST="undef" |
16257 | fi | 17534 | fi |
@@ -16260,8 +17537,8 @@ fi | |||
16260 | 17537 | ||
16261 | # Extract the first word of "lastlog", so it can be a program name with args. | 17538 | # Extract the first word of "lastlog", so it can be a program name with args. |
16262 | set dummy lastlog; ac_word=$2 | 17539 | set dummy lastlog; ac_word=$2 |
16263 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17540 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16264 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17541 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16265 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then | 17542 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then |
16266 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17543 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16267 | else | 17544 | else |
@@ -16276,27 +17553,28 @@ do | |||
16276 | IFS=$as_save_IFS | 17553 | IFS=$as_save_IFS |
16277 | test -z "$as_dir" && as_dir=. | 17554 | test -z "$as_dir" && as_dir=. |
16278 | for ac_exec_ext in '' $ac_executable_extensions; do | 17555 | for ac_exec_ext in '' $ac_executable_extensions; do |
16279 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17556 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16280 | ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext" | 17557 | ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext" |
16281 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17558 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16282 | break 2 | 17559 | break 2 |
16283 | fi | 17560 | fi |
16284 | done | 17561 | done |
16285 | done | 17562 | done |
17563 | IFS=$as_save_IFS | ||
16286 | 17564 | ||
16287 | ;; | 17565 | ;; |
16288 | esac | 17566 | esac |
16289 | fi | 17567 | fi |
16290 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG | 17568 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG |
16291 | |||
16292 | if test -n "$PROG_LASTLOG"; then | 17569 | if test -n "$PROG_LASTLOG"; then |
16293 | echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 | 17570 | { echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 |
16294 | echo "${ECHO_T}$PROG_LASTLOG" >&6 | 17571 | echo "${ECHO_T}$PROG_LASTLOG" >&6; } |
16295 | else | 17572 | else |
16296 | echo "$as_me:$LINENO: result: no" >&5 | 17573 | { echo "$as_me:$LINENO: result: no" >&5 |
16297 | echo "${ECHO_T}no" >&6 | 17574 | echo "${ECHO_T}no" >&6; } |
16298 | fi | 17575 | fi |
16299 | 17576 | ||
17577 | |||
16300 | if test -z "$PROG_LASTLOG" ; then | 17578 | if test -z "$PROG_LASTLOG" ; then |
16301 | PROG_LASTLOG="undef" | 17579 | PROG_LASTLOG="undef" |
16302 | fi | 17580 | fi |
@@ -16305,8 +17583,8 @@ fi | |||
16305 | 17583 | ||
16306 | # Extract the first word of "df", so it can be a program name with args. | 17584 | # Extract the first word of "df", so it can be a program name with args. |
16307 | set dummy df; ac_word=$2 | 17585 | set dummy df; ac_word=$2 |
16308 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17586 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16309 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17587 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16310 | if test "${ac_cv_path_PROG_DF+set}" = set; then | 17588 | if test "${ac_cv_path_PROG_DF+set}" = set; then |
16311 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17589 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16312 | else | 17590 | else |
@@ -16321,27 +17599,28 @@ do | |||
16321 | IFS=$as_save_IFS | 17599 | IFS=$as_save_IFS |
16322 | test -z "$as_dir" && as_dir=. | 17600 | test -z "$as_dir" && as_dir=. |
16323 | for ac_exec_ext in '' $ac_executable_extensions; do | 17601 | for ac_exec_ext in '' $ac_executable_extensions; do |
16324 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17602 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16325 | ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext" | 17603 | ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext" |
16326 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17604 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16327 | break 2 | 17605 | break 2 |
16328 | fi | 17606 | fi |
16329 | done | 17607 | done |
16330 | done | 17608 | done |
17609 | IFS=$as_save_IFS | ||
16331 | 17610 | ||
16332 | ;; | 17611 | ;; |
16333 | esac | 17612 | esac |
16334 | fi | 17613 | fi |
16335 | PROG_DF=$ac_cv_path_PROG_DF | 17614 | PROG_DF=$ac_cv_path_PROG_DF |
16336 | |||
16337 | if test -n "$PROG_DF"; then | 17615 | if test -n "$PROG_DF"; then |
16338 | echo "$as_me:$LINENO: result: $PROG_DF" >&5 | 17616 | { echo "$as_me:$LINENO: result: $PROG_DF" >&5 |
16339 | echo "${ECHO_T}$PROG_DF" >&6 | 17617 | echo "${ECHO_T}$PROG_DF" >&6; } |
16340 | else | 17618 | else |
16341 | echo "$as_me:$LINENO: result: no" >&5 | 17619 | { echo "$as_me:$LINENO: result: no" >&5 |
16342 | echo "${ECHO_T}no" >&6 | 17620 | echo "${ECHO_T}no" >&6; } |
16343 | fi | 17621 | fi |
16344 | 17622 | ||
17623 | |||
16345 | if test -z "$PROG_DF" ; then | 17624 | if test -z "$PROG_DF" ; then |
16346 | PROG_DF="undef" | 17625 | PROG_DF="undef" |
16347 | fi | 17626 | fi |
@@ -16350,8 +17629,8 @@ fi | |||
16350 | 17629 | ||
16351 | # Extract the first word of "vmstat", so it can be a program name with args. | 17630 | # Extract the first word of "vmstat", so it can be a program name with args. |
16352 | set dummy vmstat; ac_word=$2 | 17631 | set dummy vmstat; ac_word=$2 |
16353 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17632 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16354 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17633 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16355 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then | 17634 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then |
16356 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17635 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16357 | else | 17636 | else |
@@ -16366,27 +17645,28 @@ do | |||
16366 | IFS=$as_save_IFS | 17645 | IFS=$as_save_IFS |
16367 | test -z "$as_dir" && as_dir=. | 17646 | test -z "$as_dir" && as_dir=. |
16368 | for ac_exec_ext in '' $ac_executable_extensions; do | 17647 | for ac_exec_ext in '' $ac_executable_extensions; do |
16369 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17648 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16370 | ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext" | 17649 | ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext" |
16371 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17650 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16372 | break 2 | 17651 | break 2 |
16373 | fi | 17652 | fi |
16374 | done | 17653 | done |
16375 | done | 17654 | done |
17655 | IFS=$as_save_IFS | ||
16376 | 17656 | ||
16377 | ;; | 17657 | ;; |
16378 | esac | 17658 | esac |
16379 | fi | 17659 | fi |
16380 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT | 17660 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT |
16381 | |||
16382 | if test -n "$PROG_VMSTAT"; then | 17661 | if test -n "$PROG_VMSTAT"; then |
16383 | echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 | 17662 | { echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 |
16384 | echo "${ECHO_T}$PROG_VMSTAT" >&6 | 17663 | echo "${ECHO_T}$PROG_VMSTAT" >&6; } |
16385 | else | 17664 | else |
16386 | echo "$as_me:$LINENO: result: no" >&5 | 17665 | { echo "$as_me:$LINENO: result: no" >&5 |
16387 | echo "${ECHO_T}no" >&6 | 17666 | echo "${ECHO_T}no" >&6; } |
16388 | fi | 17667 | fi |
16389 | 17668 | ||
17669 | |||
16390 | if test -z "$PROG_VMSTAT" ; then | 17670 | if test -z "$PROG_VMSTAT" ; then |
16391 | PROG_VMSTAT="undef" | 17671 | PROG_VMSTAT="undef" |
16392 | fi | 17672 | fi |
@@ -16395,8 +17675,8 @@ fi | |||
16395 | 17675 | ||
16396 | # Extract the first word of "uptime", so it can be a program name with args. | 17676 | # Extract the first word of "uptime", so it can be a program name with args. |
16397 | set dummy uptime; ac_word=$2 | 17677 | set dummy uptime; ac_word=$2 |
16398 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17678 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16399 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17679 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16400 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then | 17680 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then |
16401 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17681 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16402 | else | 17682 | else |
@@ -16411,27 +17691,28 @@ do | |||
16411 | IFS=$as_save_IFS | 17691 | IFS=$as_save_IFS |
16412 | test -z "$as_dir" && as_dir=. | 17692 | test -z "$as_dir" && as_dir=. |
16413 | for ac_exec_ext in '' $ac_executable_extensions; do | 17693 | for ac_exec_ext in '' $ac_executable_extensions; do |
16414 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17694 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16415 | ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext" | 17695 | ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext" |
16416 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17696 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16417 | break 2 | 17697 | break 2 |
16418 | fi | 17698 | fi |
16419 | done | 17699 | done |
16420 | done | 17700 | done |
17701 | IFS=$as_save_IFS | ||
16421 | 17702 | ||
16422 | ;; | 17703 | ;; |
16423 | esac | 17704 | esac |
16424 | fi | 17705 | fi |
16425 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME | 17706 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME |
16426 | |||
16427 | if test -n "$PROG_UPTIME"; then | 17707 | if test -n "$PROG_UPTIME"; then |
16428 | echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 | 17708 | { echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 |
16429 | echo "${ECHO_T}$PROG_UPTIME" >&6 | 17709 | echo "${ECHO_T}$PROG_UPTIME" >&6; } |
16430 | else | 17710 | else |
16431 | echo "$as_me:$LINENO: result: no" >&5 | 17711 | { echo "$as_me:$LINENO: result: no" >&5 |
16432 | echo "${ECHO_T}no" >&6 | 17712 | echo "${ECHO_T}no" >&6; } |
16433 | fi | 17713 | fi |
16434 | 17714 | ||
17715 | |||
16435 | if test -z "$PROG_UPTIME" ; then | 17716 | if test -z "$PROG_UPTIME" ; then |
16436 | PROG_UPTIME="undef" | 17717 | PROG_UPTIME="undef" |
16437 | fi | 17718 | fi |
@@ -16440,8 +17721,8 @@ fi | |||
16440 | 17721 | ||
16441 | # Extract the first word of "ipcs", so it can be a program name with args. | 17722 | # Extract the first word of "ipcs", so it can be a program name with args. |
16442 | set dummy ipcs; ac_word=$2 | 17723 | set dummy ipcs; ac_word=$2 |
16443 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17724 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16444 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17725 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16445 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then | 17726 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then |
16446 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17727 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16447 | else | 17728 | else |
@@ -16456,27 +17737,28 @@ do | |||
16456 | IFS=$as_save_IFS | 17737 | IFS=$as_save_IFS |
16457 | test -z "$as_dir" && as_dir=. | 17738 | test -z "$as_dir" && as_dir=. |
16458 | for ac_exec_ext in '' $ac_executable_extensions; do | 17739 | for ac_exec_ext in '' $ac_executable_extensions; do |
16459 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17740 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16460 | ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext" | 17741 | ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext" |
16461 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17742 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16462 | break 2 | 17743 | break 2 |
16463 | fi | 17744 | fi |
16464 | done | 17745 | done |
16465 | done | 17746 | done |
17747 | IFS=$as_save_IFS | ||
16466 | 17748 | ||
16467 | ;; | 17749 | ;; |
16468 | esac | 17750 | esac |
16469 | fi | 17751 | fi |
16470 | PROG_IPCS=$ac_cv_path_PROG_IPCS | 17752 | PROG_IPCS=$ac_cv_path_PROG_IPCS |
16471 | |||
16472 | if test -n "$PROG_IPCS"; then | 17753 | if test -n "$PROG_IPCS"; then |
16473 | echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 | 17754 | { echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 |
16474 | echo "${ECHO_T}$PROG_IPCS" >&6 | 17755 | echo "${ECHO_T}$PROG_IPCS" >&6; } |
16475 | else | 17756 | else |
16476 | echo "$as_me:$LINENO: result: no" >&5 | 17757 | { echo "$as_me:$LINENO: result: no" >&5 |
16477 | echo "${ECHO_T}no" >&6 | 17758 | echo "${ECHO_T}no" >&6; } |
16478 | fi | 17759 | fi |
16479 | 17760 | ||
17761 | |||
16480 | if test -z "$PROG_IPCS" ; then | 17762 | if test -z "$PROG_IPCS" ; then |
16481 | PROG_IPCS="undef" | 17763 | PROG_IPCS="undef" |
16482 | fi | 17764 | fi |
@@ -16485,8 +17767,8 @@ fi | |||
16485 | 17767 | ||
16486 | # Extract the first word of "tail", so it can be a program name with args. | 17768 | # Extract the first word of "tail", so it can be a program name with args. |
16487 | set dummy tail; ac_word=$2 | 17769 | set dummy tail; ac_word=$2 |
16488 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17770 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16489 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 17771 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16490 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then | 17772 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then |
16491 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17773 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16492 | else | 17774 | else |
@@ -16501,27 +17783,28 @@ do | |||
16501 | IFS=$as_save_IFS | 17783 | IFS=$as_save_IFS |
16502 | test -z "$as_dir" && as_dir=. | 17784 | test -z "$as_dir" && as_dir=. |
16503 | for ac_exec_ext in '' $ac_executable_extensions; do | 17785 | for ac_exec_ext in '' $ac_executable_extensions; do |
16504 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 17786 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16505 | ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext" | 17787 | ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext" |
16506 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17788 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16507 | break 2 | 17789 | break 2 |
16508 | fi | 17790 | fi |
16509 | done | 17791 | done |
16510 | done | 17792 | done |
17793 | IFS=$as_save_IFS | ||
16511 | 17794 | ||
16512 | ;; | 17795 | ;; |
16513 | esac | 17796 | esac |
16514 | fi | 17797 | fi |
16515 | PROG_TAIL=$ac_cv_path_PROG_TAIL | 17798 | PROG_TAIL=$ac_cv_path_PROG_TAIL |
16516 | |||
16517 | if test -n "$PROG_TAIL"; then | 17799 | if test -n "$PROG_TAIL"; then |
16518 | echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 | 17800 | { echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 |
16519 | echo "${ECHO_T}$PROG_TAIL" >&6 | 17801 | echo "${ECHO_T}$PROG_TAIL" >&6; } |
16520 | else | 17802 | else |
16521 | echo "$as_me:$LINENO: result: no" >&5 | 17803 | { echo "$as_me:$LINENO: result: no" >&5 |
16522 | echo "${ECHO_T}no" >&6 | 17804 | echo "${ECHO_T}no" >&6; } |
16523 | fi | 17805 | fi |
16524 | 17806 | ||
17807 | |||
16525 | if test -z "$PROG_TAIL" ; then | 17808 | if test -z "$PROG_TAIL" ; then |
16526 | PROG_TAIL="undef" | 17809 | PROG_TAIL="undef" |
16527 | fi | 17810 | fi |
@@ -16552,8 +17835,8 @@ if test ! -z "$SONY" ; then | |||
16552 | fi | 17835 | fi |
16553 | 17836 | ||
16554 | # Check for long long datatypes | 17837 | # Check for long long datatypes |
16555 | echo "$as_me:$LINENO: checking for long long" >&5 | 17838 | { echo "$as_me:$LINENO: checking for long long" >&5 |
16556 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 | 17839 | echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
16557 | if test "${ac_cv_type_long_long+set}" = set; then | 17840 | if test "${ac_cv_type_long_long+set}" = set; then |
16558 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17841 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16559 | else | 17842 | else |
@@ -16564,50 +17847,47 @@ cat confdefs.h >>conftest.$ac_ext | |||
16564 | cat >>conftest.$ac_ext <<_ACEOF | 17847 | cat >>conftest.$ac_ext <<_ACEOF |
16565 | /* end confdefs.h. */ | 17848 | /* end confdefs.h. */ |
16566 | $ac_includes_default | 17849 | $ac_includes_default |
17850 | typedef long long ac__type_new_; | ||
16567 | int | 17851 | int |
16568 | main () | 17852 | main () |
16569 | { | 17853 | { |
16570 | if ((long long *) 0) | 17854 | if ((ac__type_new_ *) 0) |
16571 | return 0; | 17855 | return 0; |
16572 | if (sizeof (long long)) | 17856 | if (sizeof (ac__type_new_)) |
16573 | return 0; | 17857 | return 0; |
16574 | ; | 17858 | ; |
16575 | return 0; | 17859 | return 0; |
16576 | } | 17860 | } |
16577 | _ACEOF | 17861 | _ACEOF |
16578 | rm -f conftest.$ac_objext | 17862 | rm -f conftest.$ac_objext |
16579 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17863 | if { (ac_try="$ac_compile" |
16580 | (eval $ac_compile) 2>conftest.er1 | 17864 | case "(($ac_try" in |
17865 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17866 | *) ac_try_echo=$ac_try;; | ||
17867 | esac | ||
17868 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17869 | (eval "$ac_compile") 2>conftest.er1 | ||
16581 | ac_status=$? | 17870 | ac_status=$? |
16582 | grep -v '^ *+' conftest.er1 >conftest.err | 17871 | grep -v '^ *+' conftest.er1 >conftest.err |
16583 | rm -f conftest.er1 | 17872 | rm -f conftest.er1 |
16584 | cat conftest.err >&5 | 17873 | cat conftest.err >&5 |
16585 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16586 | (exit $ac_status); } && | 17875 | (exit $ac_status); } && { |
16587 | { ac_try='test -z "$ac_c_werror_flag" | 17876 | test -z "$ac_c_werror_flag" || |
16588 | || test ! -s conftest.err' | 17877 | test ! -s conftest.err |
16589 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17878 | } && test -s conftest.$ac_objext; then |
16590 | (eval $ac_try) 2>&5 | ||
16591 | ac_status=$? | ||
16592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16593 | (exit $ac_status); }; } && | ||
16594 | { ac_try='test -s conftest.$ac_objext' | ||
16595 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16596 | (eval $ac_try) 2>&5 | ||
16597 | ac_status=$? | ||
16598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16599 | (exit $ac_status); }; }; then | ||
16600 | ac_cv_type_long_long=yes | 17879 | ac_cv_type_long_long=yes |
16601 | else | 17880 | else |
16602 | echo "$as_me: failed program was:" >&5 | 17881 | echo "$as_me: failed program was:" >&5 |
16603 | sed 's/^/| /' conftest.$ac_ext >&5 | 17882 | sed 's/^/| /' conftest.$ac_ext >&5 |
16604 | 17883 | ||
16605 | ac_cv_type_long_long=no | 17884 | ac_cv_type_long_long=no |
16606 | fi | 17885 | fi |
16607 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17886 | |
17887 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16608 | fi | 17888 | fi |
16609 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 | 17889 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
16610 | echo "${ECHO_T}$ac_cv_type_long_long" >&6 | 17890 | echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
16611 | if test $ac_cv_type_long_long = yes; then | 17891 | if test $ac_cv_type_long_long = yes; then |
16612 | 17892 | ||
16613 | cat >>confdefs.h <<_ACEOF | 17893 | cat >>confdefs.h <<_ACEOF |
@@ -16616,8 +17896,8 @@ _ACEOF | |||
16616 | 17896 | ||
16617 | 17897 | ||
16618 | fi | 17898 | fi |
16619 | echo "$as_me:$LINENO: checking for unsigned long long" >&5 | 17899 | { echo "$as_me:$LINENO: checking for unsigned long long" >&5 |
16620 | echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 | 17900 | echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; } |
16621 | if test "${ac_cv_type_unsigned_long_long+set}" = set; then | 17901 | if test "${ac_cv_type_unsigned_long_long+set}" = set; then |
16622 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16623 | else | 17903 | else |
@@ -16628,50 +17908,47 @@ cat confdefs.h >>conftest.$ac_ext | |||
16628 | cat >>conftest.$ac_ext <<_ACEOF | 17908 | cat >>conftest.$ac_ext <<_ACEOF |
16629 | /* end confdefs.h. */ | 17909 | /* end confdefs.h. */ |
16630 | $ac_includes_default | 17910 | $ac_includes_default |
17911 | typedef unsigned long long ac__type_new_; | ||
16631 | int | 17912 | int |
16632 | main () | 17913 | main () |
16633 | { | 17914 | { |
16634 | if ((unsigned long long *) 0) | 17915 | if ((ac__type_new_ *) 0) |
16635 | return 0; | 17916 | return 0; |
16636 | if (sizeof (unsigned long long)) | 17917 | if (sizeof (ac__type_new_)) |
16637 | return 0; | 17918 | return 0; |
16638 | ; | 17919 | ; |
16639 | return 0; | 17920 | return 0; |
16640 | } | 17921 | } |
16641 | _ACEOF | 17922 | _ACEOF |
16642 | rm -f conftest.$ac_objext | 17923 | rm -f conftest.$ac_objext |
16643 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17924 | if { (ac_try="$ac_compile" |
16644 | (eval $ac_compile) 2>conftest.er1 | 17925 | case "(($ac_try" in |
17926 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17927 | *) ac_try_echo=$ac_try;; | ||
17928 | esac | ||
17929 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17930 | (eval "$ac_compile") 2>conftest.er1 | ||
16645 | ac_status=$? | 17931 | ac_status=$? |
16646 | grep -v '^ *+' conftest.er1 >conftest.err | 17932 | grep -v '^ *+' conftest.er1 >conftest.err |
16647 | rm -f conftest.er1 | 17933 | rm -f conftest.er1 |
16648 | cat conftest.err >&5 | 17934 | cat conftest.err >&5 |
16649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16650 | (exit $ac_status); } && | 17936 | (exit $ac_status); } && { |
16651 | { ac_try='test -z "$ac_c_werror_flag" | 17937 | test -z "$ac_c_werror_flag" || |
16652 | || test ! -s conftest.err' | 17938 | test ! -s conftest.err |
16653 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17939 | } && test -s conftest.$ac_objext; then |
16654 | (eval $ac_try) 2>&5 | ||
16655 | ac_status=$? | ||
16656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16657 | (exit $ac_status); }; } && | ||
16658 | { ac_try='test -s conftest.$ac_objext' | ||
16659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16660 | (eval $ac_try) 2>&5 | ||
16661 | ac_status=$? | ||
16662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16663 | (exit $ac_status); }; }; then | ||
16664 | ac_cv_type_unsigned_long_long=yes | 17940 | ac_cv_type_unsigned_long_long=yes |
16665 | else | 17941 | else |
16666 | echo "$as_me: failed program was:" >&5 | 17942 | echo "$as_me: failed program was:" >&5 |
16667 | sed 's/^/| /' conftest.$ac_ext >&5 | 17943 | sed 's/^/| /' conftest.$ac_ext >&5 |
16668 | 17944 | ||
16669 | ac_cv_type_unsigned_long_long=no | 17945 | ac_cv_type_unsigned_long_long=no |
16670 | fi | 17946 | fi |
16671 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17947 | |
17948 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16672 | fi | 17949 | fi |
16673 | echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 | 17950 | { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 |
16674 | echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 | 17951 | echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; } |
16675 | if test $ac_cv_type_unsigned_long_long = yes; then | 17952 | if test $ac_cv_type_unsigned_long_long = yes; then |
16676 | 17953 | ||
16677 | cat >>confdefs.h <<_ACEOF | 17954 | cat >>confdefs.h <<_ACEOF |
@@ -16680,8 +17957,8 @@ _ACEOF | |||
16680 | 17957 | ||
16681 | 17958 | ||
16682 | fi | 17959 | fi |
16683 | echo "$as_me:$LINENO: checking for long double" >&5 | 17960 | { echo "$as_me:$LINENO: checking for long double" >&5 |
16684 | echo $ECHO_N "checking for long double... $ECHO_C" >&6 | 17961 | echo $ECHO_N "checking for long double... $ECHO_C" >&6; } |
16685 | if test "${ac_cv_type_long_double+set}" = set; then | 17962 | if test "${ac_cv_type_long_double+set}" = set; then |
16686 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17963 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16687 | else | 17964 | else |
@@ -16692,50 +17969,47 @@ cat confdefs.h >>conftest.$ac_ext | |||
16692 | cat >>conftest.$ac_ext <<_ACEOF | 17969 | cat >>conftest.$ac_ext <<_ACEOF |
16693 | /* end confdefs.h. */ | 17970 | /* end confdefs.h. */ |
16694 | $ac_includes_default | 17971 | $ac_includes_default |
17972 | typedef long double ac__type_new_; | ||
16695 | int | 17973 | int |
16696 | main () | 17974 | main () |
16697 | { | 17975 | { |
16698 | if ((long double *) 0) | 17976 | if ((ac__type_new_ *) 0) |
16699 | return 0; | 17977 | return 0; |
16700 | if (sizeof (long double)) | 17978 | if (sizeof (ac__type_new_)) |
16701 | return 0; | 17979 | return 0; |
16702 | ; | 17980 | ; |
16703 | return 0; | 17981 | return 0; |
16704 | } | 17982 | } |
16705 | _ACEOF | 17983 | _ACEOF |
16706 | rm -f conftest.$ac_objext | 17984 | rm -f conftest.$ac_objext |
16707 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17985 | if { (ac_try="$ac_compile" |
16708 | (eval $ac_compile) 2>conftest.er1 | 17986 | case "(($ac_try" in |
17987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17988 | *) ac_try_echo=$ac_try;; | ||
17989 | esac | ||
17990 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17991 | (eval "$ac_compile") 2>conftest.er1 | ||
16709 | ac_status=$? | 17992 | ac_status=$? |
16710 | grep -v '^ *+' conftest.er1 >conftest.err | 17993 | grep -v '^ *+' conftest.er1 >conftest.err |
16711 | rm -f conftest.er1 | 17994 | rm -f conftest.er1 |
16712 | cat conftest.err >&5 | 17995 | cat conftest.err >&5 |
16713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16714 | (exit $ac_status); } && | 17997 | (exit $ac_status); } && { |
16715 | { ac_try='test -z "$ac_c_werror_flag" | 17998 | test -z "$ac_c_werror_flag" || |
16716 | || test ! -s conftest.err' | 17999 | test ! -s conftest.err |
16717 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18000 | } && test -s conftest.$ac_objext; then |
16718 | (eval $ac_try) 2>&5 | ||
16719 | ac_status=$? | ||
16720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16721 | (exit $ac_status); }; } && | ||
16722 | { ac_try='test -s conftest.$ac_objext' | ||
16723 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16724 | (eval $ac_try) 2>&5 | ||
16725 | ac_status=$? | ||
16726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16727 | (exit $ac_status); }; }; then | ||
16728 | ac_cv_type_long_double=yes | 18001 | ac_cv_type_long_double=yes |
16729 | else | 18002 | else |
16730 | echo "$as_me: failed program was:" >&5 | 18003 | echo "$as_me: failed program was:" >&5 |
16731 | sed 's/^/| /' conftest.$ac_ext >&5 | 18004 | sed 's/^/| /' conftest.$ac_ext >&5 |
16732 | 18005 | ||
16733 | ac_cv_type_long_double=no | 18006 | ac_cv_type_long_double=no |
16734 | fi | 18007 | fi |
16735 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18008 | |
18009 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16736 | fi | 18010 | fi |
16737 | echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 | 18011 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 |
16738 | echo "${ECHO_T}$ac_cv_type_long_double" >&6 | 18012 | echo "${ECHO_T}$ac_cv_type_long_double" >&6; } |
16739 | if test $ac_cv_type_long_double = yes; then | 18013 | if test $ac_cv_type_long_double = yes; then |
16740 | 18014 | ||
16741 | cat >>confdefs.h <<_ACEOF | 18015 | cat >>confdefs.h <<_ACEOF |
@@ -16747,8 +18021,8 @@ fi | |||
16747 | 18021 | ||
16748 | 18022 | ||
16749 | # Check datatype sizes | 18023 | # Check datatype sizes |
16750 | echo "$as_me:$LINENO: checking for char" >&5 | 18024 | { echo "$as_me:$LINENO: checking for char" >&5 |
16751 | echo $ECHO_N "checking for char... $ECHO_C" >&6 | 18025 | echo $ECHO_N "checking for char... $ECHO_C" >&6; } |
16752 | if test "${ac_cv_type_char+set}" = set; then | 18026 | if test "${ac_cv_type_char+set}" = set; then |
16753 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18027 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16754 | else | 18028 | else |
@@ -16759,61 +18033,57 @@ cat confdefs.h >>conftest.$ac_ext | |||
16759 | cat >>conftest.$ac_ext <<_ACEOF | 18033 | cat >>conftest.$ac_ext <<_ACEOF |
16760 | /* end confdefs.h. */ | 18034 | /* end confdefs.h. */ |
16761 | $ac_includes_default | 18035 | $ac_includes_default |
18036 | typedef char ac__type_new_; | ||
16762 | int | 18037 | int |
16763 | main () | 18038 | main () |
16764 | { | 18039 | { |
16765 | if ((char *) 0) | 18040 | if ((ac__type_new_ *) 0) |
16766 | return 0; | 18041 | return 0; |
16767 | if (sizeof (char)) | 18042 | if (sizeof (ac__type_new_)) |
16768 | return 0; | 18043 | return 0; |
16769 | ; | 18044 | ; |
16770 | return 0; | 18045 | return 0; |
16771 | } | 18046 | } |
16772 | _ACEOF | 18047 | _ACEOF |
16773 | rm -f conftest.$ac_objext | 18048 | rm -f conftest.$ac_objext |
16774 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18049 | if { (ac_try="$ac_compile" |
16775 | (eval $ac_compile) 2>conftest.er1 | 18050 | case "(($ac_try" in |
18051 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18052 | *) ac_try_echo=$ac_try;; | ||
18053 | esac | ||
18054 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18055 | (eval "$ac_compile") 2>conftest.er1 | ||
16776 | ac_status=$? | 18056 | ac_status=$? |
16777 | grep -v '^ *+' conftest.er1 >conftest.err | 18057 | grep -v '^ *+' conftest.er1 >conftest.err |
16778 | rm -f conftest.er1 | 18058 | rm -f conftest.er1 |
16779 | cat conftest.err >&5 | 18059 | cat conftest.err >&5 |
16780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16781 | (exit $ac_status); } && | 18061 | (exit $ac_status); } && { |
16782 | { ac_try='test -z "$ac_c_werror_flag" | 18062 | test -z "$ac_c_werror_flag" || |
16783 | || test ! -s conftest.err' | 18063 | test ! -s conftest.err |
16784 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18064 | } && test -s conftest.$ac_objext; then |
16785 | (eval $ac_try) 2>&5 | ||
16786 | ac_status=$? | ||
16787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16788 | (exit $ac_status); }; } && | ||
16789 | { ac_try='test -s conftest.$ac_objext' | ||
16790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16791 | (eval $ac_try) 2>&5 | ||
16792 | ac_status=$? | ||
16793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16794 | (exit $ac_status); }; }; then | ||
16795 | ac_cv_type_char=yes | 18065 | ac_cv_type_char=yes |
16796 | else | 18066 | else |
16797 | echo "$as_me: failed program was:" >&5 | 18067 | echo "$as_me: failed program was:" >&5 |
16798 | sed 's/^/| /' conftest.$ac_ext >&5 | 18068 | sed 's/^/| /' conftest.$ac_ext >&5 |
16799 | 18069 | ||
16800 | ac_cv_type_char=no | 18070 | ac_cv_type_char=no |
16801 | fi | 18071 | fi |
16802 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18072 | |
18073 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16803 | fi | 18074 | fi |
16804 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 | 18075 | { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
16805 | echo "${ECHO_T}$ac_cv_type_char" >&6 | 18076 | echo "${ECHO_T}$ac_cv_type_char" >&6; } |
16806 | 18077 | ||
16807 | echo "$as_me:$LINENO: checking size of char" >&5 | 18078 | # The cast to long int works around a bug in the HP C Compiler |
16808 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 | 18079 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
18080 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
18081 | # This bug is HP SR number 8606223364. | ||
18082 | { echo "$as_me:$LINENO: checking size of char" >&5 | ||
18083 | echo $ECHO_N "checking size of char... $ECHO_C" >&6; } | ||
16809 | if test "${ac_cv_sizeof_char+set}" = set; then | 18084 | if test "${ac_cv_sizeof_char+set}" = set; then |
16810 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18085 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16811 | else | 18086 | else |
16812 | if test "$ac_cv_type_char" = yes; then | ||
16813 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
16814 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
16815 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
16816 | # This bug is HP SR number 8606223364. | ||
16817 | if test "$cross_compiling" = yes; then | 18087 | if test "$cross_compiling" = yes; then |
16818 | # Depending upon the size, compute the lo and hi bounds. | 18088 | # Depending upon the size, compute the lo and hi bounds. |
16819 | cat >conftest.$ac_ext <<_ACEOF | 18089 | cat >conftest.$ac_ext <<_ACEOF |
@@ -16823,10 +18093,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
16823 | cat >>conftest.$ac_ext <<_ACEOF | 18093 | cat >>conftest.$ac_ext <<_ACEOF |
16824 | /* end confdefs.h. */ | 18094 | /* end confdefs.h. */ |
16825 | $ac_includes_default | 18095 | $ac_includes_default |
18096 | typedef char ac__type_sizeof_; | ||
16826 | int | 18097 | int |
16827 | main () | 18098 | main () |
16828 | { | 18099 | { |
16829 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; | 18100 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
16830 | test_array [0] = 0 | 18101 | test_array [0] = 0 |
16831 | 18102 | ||
16832 | ; | 18103 | ; |
@@ -16834,27 +18105,22 @@ test_array [0] = 0 | |||
16834 | } | 18105 | } |
16835 | _ACEOF | 18106 | _ACEOF |
16836 | rm -f conftest.$ac_objext | 18107 | rm -f conftest.$ac_objext |
16837 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18108 | if { (ac_try="$ac_compile" |
16838 | (eval $ac_compile) 2>conftest.er1 | 18109 | case "(($ac_try" in |
18110 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18111 | *) ac_try_echo=$ac_try;; | ||
18112 | esac | ||
18113 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18114 | (eval "$ac_compile") 2>conftest.er1 | ||
16839 | ac_status=$? | 18115 | ac_status=$? |
16840 | grep -v '^ *+' conftest.er1 >conftest.err | 18116 | grep -v '^ *+' conftest.er1 >conftest.err |
16841 | rm -f conftest.er1 | 18117 | rm -f conftest.er1 |
16842 | cat conftest.err >&5 | 18118 | cat conftest.err >&5 |
16843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16844 | (exit $ac_status); } && | 18120 | (exit $ac_status); } && { |
16845 | { ac_try='test -z "$ac_c_werror_flag" | 18121 | test -z "$ac_c_werror_flag" || |
16846 | || test ! -s conftest.err' | 18122 | test ! -s conftest.err |
16847 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18123 | } && test -s conftest.$ac_objext; then |
16848 | (eval $ac_try) 2>&5 | ||
16849 | ac_status=$? | ||
16850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16851 | (exit $ac_status); }; } && | ||
16852 | { ac_try='test -s conftest.$ac_objext' | ||
16853 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16854 | (eval $ac_try) 2>&5 | ||
16855 | ac_status=$? | ||
16856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16857 | (exit $ac_status); }; }; then | ||
16858 | ac_lo=0 ac_mid=0 | 18124 | ac_lo=0 ac_mid=0 |
16859 | while :; do | 18125 | while :; do |
16860 | cat >conftest.$ac_ext <<_ACEOF | 18126 | cat >conftest.$ac_ext <<_ACEOF |
@@ -16864,10 +18130,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
16864 | cat >>conftest.$ac_ext <<_ACEOF | 18130 | cat >>conftest.$ac_ext <<_ACEOF |
16865 | /* end confdefs.h. */ | 18131 | /* end confdefs.h. */ |
16866 | $ac_includes_default | 18132 | $ac_includes_default |
18133 | typedef char ac__type_sizeof_; | ||
16867 | int | 18134 | int |
16868 | main () | 18135 | main () |
16869 | { | 18136 | { |
16870 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; | 18137 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
16871 | test_array [0] = 0 | 18138 | test_array [0] = 0 |
16872 | 18139 | ||
16873 | ; | 18140 | ; |
@@ -16875,56 +18142,53 @@ test_array [0] = 0 | |||
16875 | } | 18142 | } |
16876 | _ACEOF | 18143 | _ACEOF |
16877 | rm -f conftest.$ac_objext | 18144 | rm -f conftest.$ac_objext |
16878 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18145 | if { (ac_try="$ac_compile" |
16879 | (eval $ac_compile) 2>conftest.er1 | 18146 | case "(($ac_try" in |
18147 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18148 | *) ac_try_echo=$ac_try;; | ||
18149 | esac | ||
18150 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18151 | (eval "$ac_compile") 2>conftest.er1 | ||
16880 | ac_status=$? | 18152 | ac_status=$? |
16881 | grep -v '^ *+' conftest.er1 >conftest.err | 18153 | grep -v '^ *+' conftest.er1 >conftest.err |
16882 | rm -f conftest.er1 | 18154 | rm -f conftest.er1 |
16883 | cat conftest.err >&5 | 18155 | cat conftest.err >&5 |
16884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18156 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16885 | (exit $ac_status); } && | 18157 | (exit $ac_status); } && { |
16886 | { ac_try='test -z "$ac_c_werror_flag" | 18158 | test -z "$ac_c_werror_flag" || |
16887 | || test ! -s conftest.err' | 18159 | test ! -s conftest.err |
16888 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18160 | } && test -s conftest.$ac_objext; then |
16889 | (eval $ac_try) 2>&5 | ||
16890 | ac_status=$? | ||
16891 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16892 | (exit $ac_status); }; } && | ||
16893 | { ac_try='test -s conftest.$ac_objext' | ||
16894 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16895 | (eval $ac_try) 2>&5 | ||
16896 | ac_status=$? | ||
16897 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16898 | (exit $ac_status); }; }; then | ||
16899 | ac_hi=$ac_mid; break | 18161 | ac_hi=$ac_mid; break |
16900 | else | 18162 | else |
16901 | echo "$as_me: failed program was:" >&5 | 18163 | echo "$as_me: failed program was:" >&5 |
16902 | sed 's/^/| /' conftest.$ac_ext >&5 | 18164 | sed 's/^/| /' conftest.$ac_ext >&5 |
16903 | 18165 | ||
16904 | ac_lo=`expr $ac_mid + 1` | 18166 | ac_lo=`expr $ac_mid + 1` |
16905 | if test $ac_lo -le $ac_mid; then | 18167 | if test $ac_lo -le $ac_mid; then |
16906 | ac_lo= ac_hi= | 18168 | ac_lo= ac_hi= |
16907 | break | 18169 | break |
16908 | fi | 18170 | fi |
16909 | ac_mid=`expr 2 '*' $ac_mid + 1` | 18171 | ac_mid=`expr 2 '*' $ac_mid + 1` |
16910 | fi | 18172 | fi |
16911 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18173 | |
18174 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16912 | done | 18175 | done |
16913 | else | 18176 | else |
16914 | echo "$as_me: failed program was:" >&5 | 18177 | echo "$as_me: failed program was:" >&5 |
16915 | sed 's/^/| /' conftest.$ac_ext >&5 | 18178 | sed 's/^/| /' conftest.$ac_ext >&5 |
16916 | 18179 | ||
16917 | cat >conftest.$ac_ext <<_ACEOF | 18180 | cat >conftest.$ac_ext <<_ACEOF |
16918 | /* confdefs.h. */ | 18181 | /* confdefs.h. */ |
16919 | _ACEOF | 18182 | _ACEOF |
16920 | cat confdefs.h >>conftest.$ac_ext | 18183 | cat confdefs.h >>conftest.$ac_ext |
16921 | cat >>conftest.$ac_ext <<_ACEOF | 18184 | cat >>conftest.$ac_ext <<_ACEOF |
16922 | /* end confdefs.h. */ | 18185 | /* end confdefs.h. */ |
16923 | $ac_includes_default | 18186 | $ac_includes_default |
18187 | typedef char ac__type_sizeof_; | ||
16924 | int | 18188 | int |
16925 | main () | 18189 | main () |
16926 | { | 18190 | { |
16927 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; | 18191 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
16928 | test_array [0] = 0 | 18192 | test_array [0] = 0 |
16929 | 18193 | ||
16930 | ; | 18194 | ; |
@@ -16932,27 +18196,22 @@ test_array [0] = 0 | |||
16932 | } | 18196 | } |
16933 | _ACEOF | 18197 | _ACEOF |
16934 | rm -f conftest.$ac_objext | 18198 | rm -f conftest.$ac_objext |
16935 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18199 | if { (ac_try="$ac_compile" |
16936 | (eval $ac_compile) 2>conftest.er1 | 18200 | case "(($ac_try" in |
18201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18202 | *) ac_try_echo=$ac_try;; | ||
18203 | esac | ||
18204 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18205 | (eval "$ac_compile") 2>conftest.er1 | ||
16937 | ac_status=$? | 18206 | ac_status=$? |
16938 | grep -v '^ *+' conftest.er1 >conftest.err | 18207 | grep -v '^ *+' conftest.er1 >conftest.err |
16939 | rm -f conftest.er1 | 18208 | rm -f conftest.er1 |
16940 | cat conftest.err >&5 | 18209 | cat conftest.err >&5 |
16941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16942 | (exit $ac_status); } && | 18211 | (exit $ac_status); } && { |
16943 | { ac_try='test -z "$ac_c_werror_flag" | 18212 | test -z "$ac_c_werror_flag" || |
16944 | || test ! -s conftest.err' | 18213 | test ! -s conftest.err |
16945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18214 | } && test -s conftest.$ac_objext; then |
16946 | (eval $ac_try) 2>&5 | ||
16947 | ac_status=$? | ||
16948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16949 | (exit $ac_status); }; } && | ||
16950 | { ac_try='test -s conftest.$ac_objext' | ||
16951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16952 | (eval $ac_try) 2>&5 | ||
16953 | ac_status=$? | ||
16954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16955 | (exit $ac_status); }; }; then | ||
16956 | ac_hi=-1 ac_mid=-1 | 18215 | ac_hi=-1 ac_mid=-1 |
16957 | while :; do | 18216 | while :; do |
16958 | cat >conftest.$ac_ext <<_ACEOF | 18217 | cat >conftest.$ac_ext <<_ACEOF |
@@ -16962,10 +18221,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
16962 | cat >>conftest.$ac_ext <<_ACEOF | 18221 | cat >>conftest.$ac_ext <<_ACEOF |
16963 | /* end confdefs.h. */ | 18222 | /* end confdefs.h. */ |
16964 | $ac_includes_default | 18223 | $ac_includes_default |
18224 | typedef char ac__type_sizeof_; | ||
16965 | int | 18225 | int |
16966 | main () | 18226 | main () |
16967 | { | 18227 | { |
16968 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; | 18228 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
16969 | test_array [0] = 0 | 18229 | test_array [0] = 0 |
16970 | 18230 | ||
16971 | ; | 18231 | ; |
@@ -16973,50 +18233,48 @@ test_array [0] = 0 | |||
16973 | } | 18233 | } |
16974 | _ACEOF | 18234 | _ACEOF |
16975 | rm -f conftest.$ac_objext | 18235 | rm -f conftest.$ac_objext |
16976 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18236 | if { (ac_try="$ac_compile" |
16977 | (eval $ac_compile) 2>conftest.er1 | 18237 | case "(($ac_try" in |
18238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18239 | *) ac_try_echo=$ac_try;; | ||
18240 | esac | ||
18241 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18242 | (eval "$ac_compile") 2>conftest.er1 | ||
16978 | ac_status=$? | 18243 | ac_status=$? |
16979 | grep -v '^ *+' conftest.er1 >conftest.err | 18244 | grep -v '^ *+' conftest.er1 >conftest.err |
16980 | rm -f conftest.er1 | 18245 | rm -f conftest.er1 |
16981 | cat conftest.err >&5 | 18246 | cat conftest.err >&5 |
16982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16983 | (exit $ac_status); } && | 18248 | (exit $ac_status); } && { |
16984 | { ac_try='test -z "$ac_c_werror_flag" | 18249 | test -z "$ac_c_werror_flag" || |
16985 | || test ! -s conftest.err' | 18250 | test ! -s conftest.err |
16986 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18251 | } && test -s conftest.$ac_objext; then |
16987 | (eval $ac_try) 2>&5 | ||
16988 | ac_status=$? | ||
16989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16990 | (exit $ac_status); }; } && | ||
16991 | { ac_try='test -s conftest.$ac_objext' | ||
16992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16993 | (eval $ac_try) 2>&5 | ||
16994 | ac_status=$? | ||
16995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16996 | (exit $ac_status); }; }; then | ||
16997 | ac_lo=$ac_mid; break | 18252 | ac_lo=$ac_mid; break |
16998 | else | 18253 | else |
16999 | echo "$as_me: failed program was:" >&5 | 18254 | echo "$as_me: failed program was:" >&5 |
17000 | sed 's/^/| /' conftest.$ac_ext >&5 | 18255 | sed 's/^/| /' conftest.$ac_ext >&5 |
17001 | 18256 | ||
17002 | ac_hi=`expr '(' $ac_mid ')' - 1` | 18257 | ac_hi=`expr '(' $ac_mid ')' - 1` |
17003 | if test $ac_mid -le $ac_hi; then | 18258 | if test $ac_mid -le $ac_hi; then |
17004 | ac_lo= ac_hi= | 18259 | ac_lo= ac_hi= |
17005 | break | 18260 | break |
17006 | fi | 18261 | fi |
17007 | ac_mid=`expr 2 '*' $ac_mid` | 18262 | ac_mid=`expr 2 '*' $ac_mid` |
17008 | fi | 18263 | fi |
17009 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18264 | |
18265 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17010 | done | 18266 | done |
17011 | else | 18267 | else |
17012 | echo "$as_me: failed program was:" >&5 | 18268 | echo "$as_me: failed program was:" >&5 |
17013 | sed 's/^/| /' conftest.$ac_ext >&5 | 18269 | sed 's/^/| /' conftest.$ac_ext >&5 |
17014 | 18270 | ||
17015 | ac_lo= ac_hi= | 18271 | ac_lo= ac_hi= |
17016 | fi | 18272 | fi |
17017 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18273 | |
18274 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17018 | fi | 18275 | fi |
17019 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18276 | |
18277 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17020 | # Binary search between lo and hi bounds. | 18278 | # Binary search between lo and hi bounds. |
17021 | while test "x$ac_lo" != "x$ac_hi"; do | 18279 | while test "x$ac_lo" != "x$ac_hi"; do |
17022 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 18280 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
@@ -17027,10 +18285,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17027 | cat >>conftest.$ac_ext <<_ACEOF | 18285 | cat >>conftest.$ac_ext <<_ACEOF |
17028 | /* end confdefs.h. */ | 18286 | /* end confdefs.h. */ |
17029 | $ac_includes_default | 18287 | $ac_includes_default |
18288 | typedef char ac__type_sizeof_; | ||
17030 | int | 18289 | int |
17031 | main () | 18290 | main () |
17032 | { | 18291 | { |
17033 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; | 18292 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
17034 | test_array [0] = 0 | 18293 | test_array [0] = 0 |
17035 | 18294 | ||
17036 | ; | 18295 | ; |
@@ -17038,52 +18297,45 @@ test_array [0] = 0 | |||
17038 | } | 18297 | } |
17039 | _ACEOF | 18298 | _ACEOF |
17040 | rm -f conftest.$ac_objext | 18299 | rm -f conftest.$ac_objext |
17041 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18300 | if { (ac_try="$ac_compile" |
17042 | (eval $ac_compile) 2>conftest.er1 | 18301 | case "(($ac_try" in |
18302 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18303 | *) ac_try_echo=$ac_try;; | ||
18304 | esac | ||
18305 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18306 | (eval "$ac_compile") 2>conftest.er1 | ||
17043 | ac_status=$? | 18307 | ac_status=$? |
17044 | grep -v '^ *+' conftest.er1 >conftest.err | 18308 | grep -v '^ *+' conftest.er1 >conftest.err |
17045 | rm -f conftest.er1 | 18309 | rm -f conftest.er1 |
17046 | cat conftest.err >&5 | 18310 | cat conftest.err >&5 |
17047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17048 | (exit $ac_status); } && | 18312 | (exit $ac_status); } && { |
17049 | { ac_try='test -z "$ac_c_werror_flag" | 18313 | test -z "$ac_c_werror_flag" || |
17050 | || test ! -s conftest.err' | 18314 | test ! -s conftest.err |
17051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18315 | } && test -s conftest.$ac_objext; then |
17052 | (eval $ac_try) 2>&5 | ||
17053 | ac_status=$? | ||
17054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17055 | (exit $ac_status); }; } && | ||
17056 | { ac_try='test -s conftest.$ac_objext' | ||
17057 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17058 | (eval $ac_try) 2>&5 | ||
17059 | ac_status=$? | ||
17060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17061 | (exit $ac_status); }; }; then | ||
17062 | ac_hi=$ac_mid | 18316 | ac_hi=$ac_mid |
17063 | else | 18317 | else |
17064 | echo "$as_me: failed program was:" >&5 | 18318 | echo "$as_me: failed program was:" >&5 |
17065 | sed 's/^/| /' conftest.$ac_ext >&5 | 18319 | sed 's/^/| /' conftest.$ac_ext >&5 |
17066 | 18320 | ||
17067 | ac_lo=`expr '(' $ac_mid ')' + 1` | 18321 | ac_lo=`expr '(' $ac_mid ')' + 1` |
17068 | fi | 18322 | fi |
17069 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18323 | |
18324 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17070 | done | 18325 | done |
17071 | case $ac_lo in | 18326 | case $ac_lo in |
17072 | ?*) ac_cv_sizeof_char=$ac_lo;; | 18327 | ?*) ac_cv_sizeof_char=$ac_lo;; |
17073 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 | 18328 | '') if test "$ac_cv_type_char" = yes; then |
18329 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) | ||
17074 | See \`config.log' for more details." >&5 | 18330 | See \`config.log' for more details." >&5 |
17075 | echo "$as_me: error: cannot compute sizeof (char), 77 | 18331 | echo "$as_me: error: cannot compute sizeof (char) |
17076 | See \`config.log' for more details." >&2;} | 18332 | See \`config.log' for more details." >&2;} |
17077 | { (exit 1); exit 1; }; } ;; | 18333 | { (exit 77); exit 77; }; } |
18334 | else | ||
18335 | ac_cv_sizeof_char=0 | ||
18336 | fi ;; | ||
17078 | esac | 18337 | esac |
17079 | else | 18338 | else |
17080 | if test "$cross_compiling" = yes; then | ||
17081 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
17082 | See \`config.log' for more details." >&5 | ||
17083 | echo "$as_me: error: cannot run test program while cross compiling | ||
17084 | See \`config.log' for more details." >&2;} | ||
17085 | { (exit 1); exit 1; }; } | ||
17086 | else | ||
17087 | cat >conftest.$ac_ext <<_ACEOF | 18339 | cat >conftest.$ac_ext <<_ACEOF |
17088 | /* confdefs.h. */ | 18340 | /* confdefs.h. */ |
17089 | _ACEOF | 18341 | _ACEOF |
@@ -17091,8 +18343,9 @@ cat confdefs.h >>conftest.$ac_ext | |||
17091 | cat >>conftest.$ac_ext <<_ACEOF | 18343 | cat >>conftest.$ac_ext <<_ACEOF |
17092 | /* end confdefs.h. */ | 18344 | /* end confdefs.h. */ |
17093 | $ac_includes_default | 18345 | $ac_includes_default |
17094 | long longval () { return (long) (sizeof (char)); } | 18346 | typedef char ac__type_sizeof_; |
17095 | unsigned long ulongval () { return (long) (sizeof (char)); } | 18347 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
18348 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
17096 | #include <stdio.h> | 18349 | #include <stdio.h> |
17097 | #include <stdlib.h> | 18350 | #include <stdlib.h> |
17098 | int | 18351 | int |
@@ -17101,35 +18354,44 @@ main () | |||
17101 | 18354 | ||
17102 | FILE *f = fopen ("conftest.val", "w"); | 18355 | FILE *f = fopen ("conftest.val", "w"); |
17103 | if (! f) | 18356 | if (! f) |
17104 | exit (1); | 18357 | return 1; |
17105 | if (((long) (sizeof (char))) < 0) | 18358 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
17106 | { | 18359 | { |
17107 | long i = longval (); | 18360 | long int i = longval (); |
17108 | if (i != ((long) (sizeof (char)))) | 18361 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
17109 | exit (1); | 18362 | return 1; |
17110 | fprintf (f, "%ld\n", i); | 18363 | fprintf (f, "%ld\n", i); |
17111 | } | 18364 | } |
17112 | else | 18365 | else |
17113 | { | 18366 | { |
17114 | unsigned long i = ulongval (); | 18367 | unsigned long int i = ulongval (); |
17115 | if (i != ((long) (sizeof (char)))) | 18368 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
17116 | exit (1); | 18369 | return 1; |
17117 | fprintf (f, "%lu\n", i); | 18370 | fprintf (f, "%lu\n", i); |
17118 | } | 18371 | } |
17119 | exit (ferror (f) || fclose (f) != 0); | 18372 | return ferror (f) || fclose (f) != 0; |
17120 | 18373 | ||
17121 | ; | 18374 | ; |
17122 | return 0; | 18375 | return 0; |
17123 | } | 18376 | } |
17124 | _ACEOF | 18377 | _ACEOF |
17125 | rm -f conftest$ac_exeext | 18378 | rm -f conftest$ac_exeext |
17126 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18379 | if { (ac_try="$ac_link" |
17127 | (eval $ac_link) 2>&5 | 18380 | case "(($ac_try" in |
18381 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18382 | *) ac_try_echo=$ac_try;; | ||
18383 | esac | ||
18384 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18385 | (eval "$ac_link") 2>&5 | ||
17128 | ac_status=$? | 18386 | ac_status=$? |
17129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17130 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 18388 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17131 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18389 | { (case "(($ac_try" in |
17132 | (eval $ac_try) 2>&5 | 18390 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18391 | *) ac_try_echo=$ac_try;; | ||
18392 | esac | ||
18393 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18394 | (eval "$ac_try") 2>&5 | ||
17133 | ac_status=$? | 18395 | ac_status=$? |
17134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17135 | (exit $ac_status); }; }; then | 18397 | (exit $ac_status); }; }; then |
@@ -17140,29 +18402,32 @@ echo "$as_me: failed program was:" >&5 | |||
17140 | sed 's/^/| /' conftest.$ac_ext >&5 | 18402 | sed 's/^/| /' conftest.$ac_ext >&5 |
17141 | 18403 | ||
17142 | ( exit $ac_status ) | 18404 | ( exit $ac_status ) |
17143 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 | 18405 | if test "$ac_cv_type_char" = yes; then |
18406 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) | ||
17144 | See \`config.log' for more details." >&5 | 18407 | See \`config.log' for more details." >&5 |
17145 | echo "$as_me: error: cannot compute sizeof (char), 77 | 18408 | echo "$as_me: error: cannot compute sizeof (char) |
17146 | See \`config.log' for more details." >&2;} | 18409 | See \`config.log' for more details." >&2;} |
17147 | { (exit 1); exit 1; }; } | 18410 | { (exit 77); exit 77; }; } |
17148 | fi | 18411 | else |
17149 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 18412 | ac_cv_sizeof_char=0 |
18413 | fi | ||
17150 | fi | 18414 | fi |
18415 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
17151 | fi | 18416 | fi |
17152 | rm -f conftest.val | 18417 | rm -f conftest.val |
17153 | else | ||
17154 | ac_cv_sizeof_char=0 | ||
17155 | fi | ||
17156 | fi | 18418 | fi |
17157 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 | 18419 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
17158 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 | 18420 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6; } |
18421 | |||
18422 | |||
18423 | |||
17159 | cat >>confdefs.h <<_ACEOF | 18424 | cat >>confdefs.h <<_ACEOF |
17160 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 18425 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
17161 | _ACEOF | 18426 | _ACEOF |
17162 | 18427 | ||
17163 | 18428 | ||
17164 | echo "$as_me:$LINENO: checking for short int" >&5 | 18429 | { echo "$as_me:$LINENO: checking for short int" >&5 |
17165 | echo $ECHO_N "checking for short int... $ECHO_C" >&6 | 18430 | echo $ECHO_N "checking for short int... $ECHO_C" >&6; } |
17166 | if test "${ac_cv_type_short_int+set}" = set; then | 18431 | if test "${ac_cv_type_short_int+set}" = set; then |
17167 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18432 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17168 | else | 18433 | else |
@@ -17173,61 +18438,57 @@ cat confdefs.h >>conftest.$ac_ext | |||
17173 | cat >>conftest.$ac_ext <<_ACEOF | 18438 | cat >>conftest.$ac_ext <<_ACEOF |
17174 | /* end confdefs.h. */ | 18439 | /* end confdefs.h. */ |
17175 | $ac_includes_default | 18440 | $ac_includes_default |
18441 | typedef short int ac__type_new_; | ||
17176 | int | 18442 | int |
17177 | main () | 18443 | main () |
17178 | { | 18444 | { |
17179 | if ((short int *) 0) | 18445 | if ((ac__type_new_ *) 0) |
17180 | return 0; | 18446 | return 0; |
17181 | if (sizeof (short int)) | 18447 | if (sizeof (ac__type_new_)) |
17182 | return 0; | 18448 | return 0; |
17183 | ; | 18449 | ; |
17184 | return 0; | 18450 | return 0; |
17185 | } | 18451 | } |
17186 | _ACEOF | 18452 | _ACEOF |
17187 | rm -f conftest.$ac_objext | 18453 | rm -f conftest.$ac_objext |
17188 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18454 | if { (ac_try="$ac_compile" |
17189 | (eval $ac_compile) 2>conftest.er1 | 18455 | case "(($ac_try" in |
18456 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18457 | *) ac_try_echo=$ac_try;; | ||
18458 | esac | ||
18459 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18460 | (eval "$ac_compile") 2>conftest.er1 | ||
17190 | ac_status=$? | 18461 | ac_status=$? |
17191 | grep -v '^ *+' conftest.er1 >conftest.err | 18462 | grep -v '^ *+' conftest.er1 >conftest.err |
17192 | rm -f conftest.er1 | 18463 | rm -f conftest.er1 |
17193 | cat conftest.err >&5 | 18464 | cat conftest.err >&5 |
17194 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17195 | (exit $ac_status); } && | 18466 | (exit $ac_status); } && { |
17196 | { ac_try='test -z "$ac_c_werror_flag" | 18467 | test -z "$ac_c_werror_flag" || |
17197 | || test ! -s conftest.err' | 18468 | test ! -s conftest.err |
17198 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18469 | } && test -s conftest.$ac_objext; then |
17199 | (eval $ac_try) 2>&5 | ||
17200 | ac_status=$? | ||
17201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17202 | (exit $ac_status); }; } && | ||
17203 | { ac_try='test -s conftest.$ac_objext' | ||
17204 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17205 | (eval $ac_try) 2>&5 | ||
17206 | ac_status=$? | ||
17207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17208 | (exit $ac_status); }; }; then | ||
17209 | ac_cv_type_short_int=yes | 18470 | ac_cv_type_short_int=yes |
17210 | else | 18471 | else |
17211 | echo "$as_me: failed program was:" >&5 | 18472 | echo "$as_me: failed program was:" >&5 |
17212 | sed 's/^/| /' conftest.$ac_ext >&5 | 18473 | sed 's/^/| /' conftest.$ac_ext >&5 |
17213 | 18474 | ||
17214 | ac_cv_type_short_int=no | 18475 | ac_cv_type_short_int=no |
17215 | fi | 18476 | fi |
17216 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18477 | |
18478 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17217 | fi | 18479 | fi |
17218 | echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5 | 18480 | { echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5 |
17219 | echo "${ECHO_T}$ac_cv_type_short_int" >&6 | 18481 | echo "${ECHO_T}$ac_cv_type_short_int" >&6; } |
17220 | 18482 | ||
17221 | echo "$as_me:$LINENO: checking size of short int" >&5 | 18483 | # The cast to long int works around a bug in the HP C Compiler |
17222 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6 | 18484 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
18485 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
18486 | # This bug is HP SR number 8606223364. | ||
18487 | { echo "$as_me:$LINENO: checking size of short int" >&5 | ||
18488 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6; } | ||
17223 | if test "${ac_cv_sizeof_short_int+set}" = set; then | 18489 | if test "${ac_cv_sizeof_short_int+set}" = set; then |
17224 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18490 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17225 | else | 18491 | else |
17226 | if test "$ac_cv_type_short_int" = yes; then | ||
17227 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
17228 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
17229 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
17230 | # This bug is HP SR number 8606223364. | ||
17231 | if test "$cross_compiling" = yes; then | 18492 | if test "$cross_compiling" = yes; then |
17232 | # Depending upon the size, compute the lo and hi bounds. | 18493 | # Depending upon the size, compute the lo and hi bounds. |
17233 | cat >conftest.$ac_ext <<_ACEOF | 18494 | cat >conftest.$ac_ext <<_ACEOF |
@@ -17237,10 +18498,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17237 | cat >>conftest.$ac_ext <<_ACEOF | 18498 | cat >>conftest.$ac_ext <<_ACEOF |
17238 | /* end confdefs.h. */ | 18499 | /* end confdefs.h. */ |
17239 | $ac_includes_default | 18500 | $ac_includes_default |
18501 | typedef short int ac__type_sizeof_; | ||
17240 | int | 18502 | int |
17241 | main () | 18503 | main () |
17242 | { | 18504 | { |
17243 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)]; | 18505 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
17244 | test_array [0] = 0 | 18506 | test_array [0] = 0 |
17245 | 18507 | ||
17246 | ; | 18508 | ; |
@@ -17248,27 +18510,22 @@ test_array [0] = 0 | |||
17248 | } | 18510 | } |
17249 | _ACEOF | 18511 | _ACEOF |
17250 | rm -f conftest.$ac_objext | 18512 | rm -f conftest.$ac_objext |
17251 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18513 | if { (ac_try="$ac_compile" |
17252 | (eval $ac_compile) 2>conftest.er1 | 18514 | case "(($ac_try" in |
18515 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18516 | *) ac_try_echo=$ac_try;; | ||
18517 | esac | ||
18518 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18519 | (eval "$ac_compile") 2>conftest.er1 | ||
17253 | ac_status=$? | 18520 | ac_status=$? |
17254 | grep -v '^ *+' conftest.er1 >conftest.err | 18521 | grep -v '^ *+' conftest.er1 >conftest.err |
17255 | rm -f conftest.er1 | 18522 | rm -f conftest.er1 |
17256 | cat conftest.err >&5 | 18523 | cat conftest.err >&5 |
17257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17258 | (exit $ac_status); } && | 18525 | (exit $ac_status); } && { |
17259 | { ac_try='test -z "$ac_c_werror_flag" | 18526 | test -z "$ac_c_werror_flag" || |
17260 | || test ! -s conftest.err' | 18527 | test ! -s conftest.err |
17261 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18528 | } && test -s conftest.$ac_objext; then |
17262 | (eval $ac_try) 2>&5 | ||
17263 | ac_status=$? | ||
17264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17265 | (exit $ac_status); }; } && | ||
17266 | { ac_try='test -s conftest.$ac_objext' | ||
17267 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17268 | (eval $ac_try) 2>&5 | ||
17269 | ac_status=$? | ||
17270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17271 | (exit $ac_status); }; }; then | ||
17272 | ac_lo=0 ac_mid=0 | 18529 | ac_lo=0 ac_mid=0 |
17273 | while :; do | 18530 | while :; do |
17274 | cat >conftest.$ac_ext <<_ACEOF | 18531 | cat >conftest.$ac_ext <<_ACEOF |
@@ -17278,10 +18535,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17278 | cat >>conftest.$ac_ext <<_ACEOF | 18535 | cat >>conftest.$ac_ext <<_ACEOF |
17279 | /* end confdefs.h. */ | 18536 | /* end confdefs.h. */ |
17280 | $ac_includes_default | 18537 | $ac_includes_default |
18538 | typedef short int ac__type_sizeof_; | ||
17281 | int | 18539 | int |
17282 | main () | 18540 | main () |
17283 | { | 18541 | { |
17284 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)]; | 18542 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
17285 | test_array [0] = 0 | 18543 | test_array [0] = 0 |
17286 | 18544 | ||
17287 | ; | 18545 | ; |
@@ -17289,56 +18547,53 @@ test_array [0] = 0 | |||
17289 | } | 18547 | } |
17290 | _ACEOF | 18548 | _ACEOF |
17291 | rm -f conftest.$ac_objext | 18549 | rm -f conftest.$ac_objext |
17292 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18550 | if { (ac_try="$ac_compile" |
17293 | (eval $ac_compile) 2>conftest.er1 | 18551 | case "(($ac_try" in |
18552 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18553 | *) ac_try_echo=$ac_try;; | ||
18554 | esac | ||
18555 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18556 | (eval "$ac_compile") 2>conftest.er1 | ||
17294 | ac_status=$? | 18557 | ac_status=$? |
17295 | grep -v '^ *+' conftest.er1 >conftest.err | 18558 | grep -v '^ *+' conftest.er1 >conftest.err |
17296 | rm -f conftest.er1 | 18559 | rm -f conftest.er1 |
17297 | cat conftest.err >&5 | 18560 | cat conftest.err >&5 |
17298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17299 | (exit $ac_status); } && | 18562 | (exit $ac_status); } && { |
17300 | { ac_try='test -z "$ac_c_werror_flag" | 18563 | test -z "$ac_c_werror_flag" || |
17301 | || test ! -s conftest.err' | 18564 | test ! -s conftest.err |
17302 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18565 | } && test -s conftest.$ac_objext; then |
17303 | (eval $ac_try) 2>&5 | ||
17304 | ac_status=$? | ||
17305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17306 | (exit $ac_status); }; } && | ||
17307 | { ac_try='test -s conftest.$ac_objext' | ||
17308 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17309 | (eval $ac_try) 2>&5 | ||
17310 | ac_status=$? | ||
17311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17312 | (exit $ac_status); }; }; then | ||
17313 | ac_hi=$ac_mid; break | 18566 | ac_hi=$ac_mid; break |
17314 | else | 18567 | else |
17315 | echo "$as_me: failed program was:" >&5 | 18568 | echo "$as_me: failed program was:" >&5 |
17316 | sed 's/^/| /' conftest.$ac_ext >&5 | 18569 | sed 's/^/| /' conftest.$ac_ext >&5 |
17317 | 18570 | ||
17318 | ac_lo=`expr $ac_mid + 1` | 18571 | ac_lo=`expr $ac_mid + 1` |
17319 | if test $ac_lo -le $ac_mid; then | 18572 | if test $ac_lo -le $ac_mid; then |
17320 | ac_lo= ac_hi= | 18573 | ac_lo= ac_hi= |
17321 | break | 18574 | break |
17322 | fi | 18575 | fi |
17323 | ac_mid=`expr 2 '*' $ac_mid + 1` | 18576 | ac_mid=`expr 2 '*' $ac_mid + 1` |
17324 | fi | 18577 | fi |
17325 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18578 | |
18579 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17326 | done | 18580 | done |
17327 | else | 18581 | else |
17328 | echo "$as_me: failed program was:" >&5 | 18582 | echo "$as_me: failed program was:" >&5 |
17329 | sed 's/^/| /' conftest.$ac_ext >&5 | 18583 | sed 's/^/| /' conftest.$ac_ext >&5 |
17330 | 18584 | ||
17331 | cat >conftest.$ac_ext <<_ACEOF | 18585 | cat >conftest.$ac_ext <<_ACEOF |
17332 | /* confdefs.h. */ | 18586 | /* confdefs.h. */ |
17333 | _ACEOF | 18587 | _ACEOF |
17334 | cat confdefs.h >>conftest.$ac_ext | 18588 | cat confdefs.h >>conftest.$ac_ext |
17335 | cat >>conftest.$ac_ext <<_ACEOF | 18589 | cat >>conftest.$ac_ext <<_ACEOF |
17336 | /* end confdefs.h. */ | 18590 | /* end confdefs.h. */ |
17337 | $ac_includes_default | 18591 | $ac_includes_default |
18592 | typedef short int ac__type_sizeof_; | ||
17338 | int | 18593 | int |
17339 | main () | 18594 | main () |
17340 | { | 18595 | { |
17341 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)]; | 18596 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
17342 | test_array [0] = 0 | 18597 | test_array [0] = 0 |
17343 | 18598 | ||
17344 | ; | 18599 | ; |
@@ -17346,27 +18601,22 @@ test_array [0] = 0 | |||
17346 | } | 18601 | } |
17347 | _ACEOF | 18602 | _ACEOF |
17348 | rm -f conftest.$ac_objext | 18603 | rm -f conftest.$ac_objext |
17349 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18604 | if { (ac_try="$ac_compile" |
17350 | (eval $ac_compile) 2>conftest.er1 | 18605 | case "(($ac_try" in |
18606 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18607 | *) ac_try_echo=$ac_try;; | ||
18608 | esac | ||
18609 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18610 | (eval "$ac_compile") 2>conftest.er1 | ||
17351 | ac_status=$? | 18611 | ac_status=$? |
17352 | grep -v '^ *+' conftest.er1 >conftest.err | 18612 | grep -v '^ *+' conftest.er1 >conftest.err |
17353 | rm -f conftest.er1 | 18613 | rm -f conftest.er1 |
17354 | cat conftest.err >&5 | 18614 | cat conftest.err >&5 |
17355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17356 | (exit $ac_status); } && | 18616 | (exit $ac_status); } && { |
17357 | { ac_try='test -z "$ac_c_werror_flag" | 18617 | test -z "$ac_c_werror_flag" || |
17358 | || test ! -s conftest.err' | 18618 | test ! -s conftest.err |
17359 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18619 | } && test -s conftest.$ac_objext; then |
17360 | (eval $ac_try) 2>&5 | ||
17361 | ac_status=$? | ||
17362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17363 | (exit $ac_status); }; } && | ||
17364 | { ac_try='test -s conftest.$ac_objext' | ||
17365 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17366 | (eval $ac_try) 2>&5 | ||
17367 | ac_status=$? | ||
17368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17369 | (exit $ac_status); }; }; then | ||
17370 | ac_hi=-1 ac_mid=-1 | 18620 | ac_hi=-1 ac_mid=-1 |
17371 | while :; do | 18621 | while :; do |
17372 | cat >conftest.$ac_ext <<_ACEOF | 18622 | cat >conftest.$ac_ext <<_ACEOF |
@@ -17376,10 +18626,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17376 | cat >>conftest.$ac_ext <<_ACEOF | 18626 | cat >>conftest.$ac_ext <<_ACEOF |
17377 | /* end confdefs.h. */ | 18627 | /* end confdefs.h. */ |
17378 | $ac_includes_default | 18628 | $ac_includes_default |
18629 | typedef short int ac__type_sizeof_; | ||
17379 | int | 18630 | int |
17380 | main () | 18631 | main () |
17381 | { | 18632 | { |
17382 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)]; | 18633 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
17383 | test_array [0] = 0 | 18634 | test_array [0] = 0 |
17384 | 18635 | ||
17385 | ; | 18636 | ; |
@@ -17387,50 +18638,48 @@ test_array [0] = 0 | |||
17387 | } | 18638 | } |
17388 | _ACEOF | 18639 | _ACEOF |
17389 | rm -f conftest.$ac_objext | 18640 | rm -f conftest.$ac_objext |
17390 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18641 | if { (ac_try="$ac_compile" |
17391 | (eval $ac_compile) 2>conftest.er1 | 18642 | case "(($ac_try" in |
18643 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18644 | *) ac_try_echo=$ac_try;; | ||
18645 | esac | ||
18646 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18647 | (eval "$ac_compile") 2>conftest.er1 | ||
17392 | ac_status=$? | 18648 | ac_status=$? |
17393 | grep -v '^ *+' conftest.er1 >conftest.err | 18649 | grep -v '^ *+' conftest.er1 >conftest.err |
17394 | rm -f conftest.er1 | 18650 | rm -f conftest.er1 |
17395 | cat conftest.err >&5 | 18651 | cat conftest.err >&5 |
17396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18652 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17397 | (exit $ac_status); } && | 18653 | (exit $ac_status); } && { |
17398 | { ac_try='test -z "$ac_c_werror_flag" | 18654 | test -z "$ac_c_werror_flag" || |
17399 | || test ! -s conftest.err' | 18655 | test ! -s conftest.err |
17400 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18656 | } && test -s conftest.$ac_objext; then |
17401 | (eval $ac_try) 2>&5 | ||
17402 | ac_status=$? | ||
17403 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17404 | (exit $ac_status); }; } && | ||
17405 | { ac_try='test -s conftest.$ac_objext' | ||
17406 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17407 | (eval $ac_try) 2>&5 | ||
17408 | ac_status=$? | ||
17409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17410 | (exit $ac_status); }; }; then | ||
17411 | ac_lo=$ac_mid; break | 18657 | ac_lo=$ac_mid; break |
17412 | else | 18658 | else |
17413 | echo "$as_me: failed program was:" >&5 | 18659 | echo "$as_me: failed program was:" >&5 |
17414 | sed 's/^/| /' conftest.$ac_ext >&5 | 18660 | sed 's/^/| /' conftest.$ac_ext >&5 |
17415 | 18661 | ||
17416 | ac_hi=`expr '(' $ac_mid ')' - 1` | 18662 | ac_hi=`expr '(' $ac_mid ')' - 1` |
17417 | if test $ac_mid -le $ac_hi; then | 18663 | if test $ac_mid -le $ac_hi; then |
17418 | ac_lo= ac_hi= | 18664 | ac_lo= ac_hi= |
17419 | break | 18665 | break |
17420 | fi | 18666 | fi |
17421 | ac_mid=`expr 2 '*' $ac_mid` | 18667 | ac_mid=`expr 2 '*' $ac_mid` |
17422 | fi | 18668 | fi |
17423 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18669 | |
18670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17424 | done | 18671 | done |
17425 | else | 18672 | else |
17426 | echo "$as_me: failed program was:" >&5 | 18673 | echo "$as_me: failed program was:" >&5 |
17427 | sed 's/^/| /' conftest.$ac_ext >&5 | 18674 | sed 's/^/| /' conftest.$ac_ext >&5 |
17428 | 18675 | ||
17429 | ac_lo= ac_hi= | 18676 | ac_lo= ac_hi= |
17430 | fi | 18677 | fi |
17431 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18678 | |
18679 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17432 | fi | 18680 | fi |
17433 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18681 | |
18682 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17434 | # Binary search between lo and hi bounds. | 18683 | # Binary search between lo and hi bounds. |
17435 | while test "x$ac_lo" != "x$ac_hi"; do | 18684 | while test "x$ac_lo" != "x$ac_hi"; do |
17436 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 18685 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
@@ -17441,10 +18690,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17441 | cat >>conftest.$ac_ext <<_ACEOF | 18690 | cat >>conftest.$ac_ext <<_ACEOF |
17442 | /* end confdefs.h. */ | 18691 | /* end confdefs.h. */ |
17443 | $ac_includes_default | 18692 | $ac_includes_default |
18693 | typedef short int ac__type_sizeof_; | ||
17444 | int | 18694 | int |
17445 | main () | 18695 | main () |
17446 | { | 18696 | { |
17447 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)]; | 18697 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
17448 | test_array [0] = 0 | 18698 | test_array [0] = 0 |
17449 | 18699 | ||
17450 | ; | 18700 | ; |
@@ -17452,52 +18702,45 @@ test_array [0] = 0 | |||
17452 | } | 18702 | } |
17453 | _ACEOF | 18703 | _ACEOF |
17454 | rm -f conftest.$ac_objext | 18704 | rm -f conftest.$ac_objext |
17455 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18705 | if { (ac_try="$ac_compile" |
17456 | (eval $ac_compile) 2>conftest.er1 | 18706 | case "(($ac_try" in |
18707 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18708 | *) ac_try_echo=$ac_try;; | ||
18709 | esac | ||
18710 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18711 | (eval "$ac_compile") 2>conftest.er1 | ||
17457 | ac_status=$? | 18712 | ac_status=$? |
17458 | grep -v '^ *+' conftest.er1 >conftest.err | 18713 | grep -v '^ *+' conftest.er1 >conftest.err |
17459 | rm -f conftest.er1 | 18714 | rm -f conftest.er1 |
17460 | cat conftest.err >&5 | 18715 | cat conftest.err >&5 |
17461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17462 | (exit $ac_status); } && | 18717 | (exit $ac_status); } && { |
17463 | { ac_try='test -z "$ac_c_werror_flag" | 18718 | test -z "$ac_c_werror_flag" || |
17464 | || test ! -s conftest.err' | 18719 | test ! -s conftest.err |
17465 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18720 | } && test -s conftest.$ac_objext; then |
17466 | (eval $ac_try) 2>&5 | ||
17467 | ac_status=$? | ||
17468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17469 | (exit $ac_status); }; } && | ||
17470 | { ac_try='test -s conftest.$ac_objext' | ||
17471 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17472 | (eval $ac_try) 2>&5 | ||
17473 | ac_status=$? | ||
17474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17475 | (exit $ac_status); }; }; then | ||
17476 | ac_hi=$ac_mid | 18721 | ac_hi=$ac_mid |
17477 | else | 18722 | else |
17478 | echo "$as_me: failed program was:" >&5 | 18723 | echo "$as_me: failed program was:" >&5 |
17479 | sed 's/^/| /' conftest.$ac_ext >&5 | 18724 | sed 's/^/| /' conftest.$ac_ext >&5 |
17480 | 18725 | ||
17481 | ac_lo=`expr '(' $ac_mid ')' + 1` | 18726 | ac_lo=`expr '(' $ac_mid ')' + 1` |
17482 | fi | 18727 | fi |
17483 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18728 | |
18729 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17484 | done | 18730 | done |
17485 | case $ac_lo in | 18731 | case $ac_lo in |
17486 | ?*) ac_cv_sizeof_short_int=$ac_lo;; | 18732 | ?*) ac_cv_sizeof_short_int=$ac_lo;; |
17487 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77 | 18733 | '') if test "$ac_cv_type_short_int" = yes; then |
18734 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) | ||
17488 | See \`config.log' for more details." >&5 | 18735 | See \`config.log' for more details." >&5 |
17489 | echo "$as_me: error: cannot compute sizeof (short int), 77 | 18736 | echo "$as_me: error: cannot compute sizeof (short int) |
17490 | See \`config.log' for more details." >&2;} | 18737 | See \`config.log' for more details." >&2;} |
17491 | { (exit 1); exit 1; }; } ;; | 18738 | { (exit 77); exit 77; }; } |
18739 | else | ||
18740 | ac_cv_sizeof_short_int=0 | ||
18741 | fi ;; | ||
17492 | esac | 18742 | esac |
17493 | else | 18743 | else |
17494 | if test "$cross_compiling" = yes; then | ||
17495 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
17496 | See \`config.log' for more details." >&5 | ||
17497 | echo "$as_me: error: cannot run test program while cross compiling | ||
17498 | See \`config.log' for more details." >&2;} | ||
17499 | { (exit 1); exit 1; }; } | ||
17500 | else | ||
17501 | cat >conftest.$ac_ext <<_ACEOF | 18744 | cat >conftest.$ac_ext <<_ACEOF |
17502 | /* confdefs.h. */ | 18745 | /* confdefs.h. */ |
17503 | _ACEOF | 18746 | _ACEOF |
@@ -17505,8 +18748,9 @@ cat confdefs.h >>conftest.$ac_ext | |||
17505 | cat >>conftest.$ac_ext <<_ACEOF | 18748 | cat >>conftest.$ac_ext <<_ACEOF |
17506 | /* end confdefs.h. */ | 18749 | /* end confdefs.h. */ |
17507 | $ac_includes_default | 18750 | $ac_includes_default |
17508 | long longval () { return (long) (sizeof (short int)); } | 18751 | typedef short int ac__type_sizeof_; |
17509 | unsigned long ulongval () { return (long) (sizeof (short int)); } | 18752 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
18753 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
17510 | #include <stdio.h> | 18754 | #include <stdio.h> |
17511 | #include <stdlib.h> | 18755 | #include <stdlib.h> |
17512 | int | 18756 | int |
@@ -17515,35 +18759,44 @@ main () | |||
17515 | 18759 | ||
17516 | FILE *f = fopen ("conftest.val", "w"); | 18760 | FILE *f = fopen ("conftest.val", "w"); |
17517 | if (! f) | 18761 | if (! f) |
17518 | exit (1); | 18762 | return 1; |
17519 | if (((long) (sizeof (short int))) < 0) | 18763 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
17520 | { | 18764 | { |
17521 | long i = longval (); | 18765 | long int i = longval (); |
17522 | if (i != ((long) (sizeof (short int)))) | 18766 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
17523 | exit (1); | 18767 | return 1; |
17524 | fprintf (f, "%ld\n", i); | 18768 | fprintf (f, "%ld\n", i); |
17525 | } | 18769 | } |
17526 | else | 18770 | else |
17527 | { | 18771 | { |
17528 | unsigned long i = ulongval (); | 18772 | unsigned long int i = ulongval (); |
17529 | if (i != ((long) (sizeof (short int)))) | 18773 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
17530 | exit (1); | 18774 | return 1; |
17531 | fprintf (f, "%lu\n", i); | 18775 | fprintf (f, "%lu\n", i); |
17532 | } | 18776 | } |
17533 | exit (ferror (f) || fclose (f) != 0); | 18777 | return ferror (f) || fclose (f) != 0; |
17534 | 18778 | ||
17535 | ; | 18779 | ; |
17536 | return 0; | 18780 | return 0; |
17537 | } | 18781 | } |
17538 | _ACEOF | 18782 | _ACEOF |
17539 | rm -f conftest$ac_exeext | 18783 | rm -f conftest$ac_exeext |
17540 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18784 | if { (ac_try="$ac_link" |
17541 | (eval $ac_link) 2>&5 | 18785 | case "(($ac_try" in |
18786 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18787 | *) ac_try_echo=$ac_try;; | ||
18788 | esac | ||
18789 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18790 | (eval "$ac_link") 2>&5 | ||
17542 | ac_status=$? | 18791 | ac_status=$? |
17543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17544 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 18793 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18794 | { (case "(($ac_try" in |
17546 | (eval $ac_try) 2>&5 | 18795 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18796 | *) ac_try_echo=$ac_try;; | ||
18797 | esac | ||
18798 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18799 | (eval "$ac_try") 2>&5 | ||
17547 | ac_status=$? | 18800 | ac_status=$? |
17548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17549 | (exit $ac_status); }; }; then | 18802 | (exit $ac_status); }; }; then |
@@ -17554,29 +18807,32 @@ echo "$as_me: failed program was:" >&5 | |||
17554 | sed 's/^/| /' conftest.$ac_ext >&5 | 18807 | sed 's/^/| /' conftest.$ac_ext >&5 |
17555 | 18808 | ||
17556 | ( exit $ac_status ) | 18809 | ( exit $ac_status ) |
17557 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77 | 18810 | if test "$ac_cv_type_short_int" = yes; then |
18811 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) | ||
17558 | See \`config.log' for more details." >&5 | 18812 | See \`config.log' for more details." >&5 |
17559 | echo "$as_me: error: cannot compute sizeof (short int), 77 | 18813 | echo "$as_me: error: cannot compute sizeof (short int) |
17560 | See \`config.log' for more details." >&2;} | 18814 | See \`config.log' for more details." >&2;} |
17561 | { (exit 1); exit 1; }; } | 18815 | { (exit 77); exit 77; }; } |
17562 | fi | 18816 | else |
17563 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 18817 | ac_cv_sizeof_short_int=0 |
18818 | fi | ||
17564 | fi | 18819 | fi |
18820 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
17565 | fi | 18821 | fi |
17566 | rm -f conftest.val | 18822 | rm -f conftest.val |
17567 | else | ||
17568 | ac_cv_sizeof_short_int=0 | ||
17569 | fi | ||
17570 | fi | 18823 | fi |
17571 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 | 18824 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 |
17572 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 | 18825 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6; } |
18826 | |||
18827 | |||
18828 | |||
17573 | cat >>confdefs.h <<_ACEOF | 18829 | cat >>confdefs.h <<_ACEOF |
17574 | #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int | 18830 | #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int |
17575 | _ACEOF | 18831 | _ACEOF |
17576 | 18832 | ||
17577 | 18833 | ||
17578 | echo "$as_me:$LINENO: checking for int" >&5 | 18834 | { echo "$as_me:$LINENO: checking for int" >&5 |
17579 | echo $ECHO_N "checking for int... $ECHO_C" >&6 | 18835 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } |
17580 | if test "${ac_cv_type_int+set}" = set; then | 18836 | if test "${ac_cv_type_int+set}" = set; then |
17581 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18837 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17582 | else | 18838 | else |
@@ -17587,61 +18843,57 @@ cat confdefs.h >>conftest.$ac_ext | |||
17587 | cat >>conftest.$ac_ext <<_ACEOF | 18843 | cat >>conftest.$ac_ext <<_ACEOF |
17588 | /* end confdefs.h. */ | 18844 | /* end confdefs.h. */ |
17589 | $ac_includes_default | 18845 | $ac_includes_default |
18846 | typedef int ac__type_new_; | ||
17590 | int | 18847 | int |
17591 | main () | 18848 | main () |
17592 | { | 18849 | { |
17593 | if ((int *) 0) | 18850 | if ((ac__type_new_ *) 0) |
17594 | return 0; | 18851 | return 0; |
17595 | if (sizeof (int)) | 18852 | if (sizeof (ac__type_new_)) |
17596 | return 0; | 18853 | return 0; |
17597 | ; | 18854 | ; |
17598 | return 0; | 18855 | return 0; |
17599 | } | 18856 | } |
17600 | _ACEOF | 18857 | _ACEOF |
17601 | rm -f conftest.$ac_objext | 18858 | rm -f conftest.$ac_objext |
17602 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18859 | if { (ac_try="$ac_compile" |
17603 | (eval $ac_compile) 2>conftest.er1 | 18860 | case "(($ac_try" in |
18861 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18862 | *) ac_try_echo=$ac_try;; | ||
18863 | esac | ||
18864 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18865 | (eval "$ac_compile") 2>conftest.er1 | ||
17604 | ac_status=$? | 18866 | ac_status=$? |
17605 | grep -v '^ *+' conftest.er1 >conftest.err | 18867 | grep -v '^ *+' conftest.er1 >conftest.err |
17606 | rm -f conftest.er1 | 18868 | rm -f conftest.er1 |
17607 | cat conftest.err >&5 | 18869 | cat conftest.err >&5 |
17608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17609 | (exit $ac_status); } && | 18871 | (exit $ac_status); } && { |
17610 | { ac_try='test -z "$ac_c_werror_flag" | 18872 | test -z "$ac_c_werror_flag" || |
17611 | || test ! -s conftest.err' | 18873 | test ! -s conftest.err |
17612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18874 | } && test -s conftest.$ac_objext; then |
17613 | (eval $ac_try) 2>&5 | ||
17614 | ac_status=$? | ||
17615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17616 | (exit $ac_status); }; } && | ||
17617 | { ac_try='test -s conftest.$ac_objext' | ||
17618 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17619 | (eval $ac_try) 2>&5 | ||
17620 | ac_status=$? | ||
17621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17622 | (exit $ac_status); }; }; then | ||
17623 | ac_cv_type_int=yes | 18875 | ac_cv_type_int=yes |
17624 | else | 18876 | else |
17625 | echo "$as_me: failed program was:" >&5 | 18877 | echo "$as_me: failed program was:" >&5 |
17626 | sed 's/^/| /' conftest.$ac_ext >&5 | 18878 | sed 's/^/| /' conftest.$ac_ext >&5 |
17627 | 18879 | ||
17628 | ac_cv_type_int=no | 18880 | ac_cv_type_int=no |
17629 | fi | 18881 | fi |
17630 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18882 | |
18883 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17631 | fi | 18884 | fi |
17632 | echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | 18885 | { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
17633 | echo "${ECHO_T}$ac_cv_type_int" >&6 | 18886 | echo "${ECHO_T}$ac_cv_type_int" >&6; } |
17634 | 18887 | ||
17635 | echo "$as_me:$LINENO: checking size of int" >&5 | 18888 | # The cast to long int works around a bug in the HP C Compiler |
17636 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 | 18889 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
18890 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
18891 | # This bug is HP SR number 8606223364. | ||
18892 | { echo "$as_me:$LINENO: checking size of int" >&5 | ||
18893 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } | ||
17637 | if test "${ac_cv_sizeof_int+set}" = set; then | 18894 | if test "${ac_cv_sizeof_int+set}" = set; then |
17638 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18895 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17639 | else | 18896 | else |
17640 | if test "$ac_cv_type_int" = yes; then | ||
17641 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
17642 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
17643 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
17644 | # This bug is HP SR number 8606223364. | ||
17645 | if test "$cross_compiling" = yes; then | 18897 | if test "$cross_compiling" = yes; then |
17646 | # Depending upon the size, compute the lo and hi bounds. | 18898 | # Depending upon the size, compute the lo and hi bounds. |
17647 | cat >conftest.$ac_ext <<_ACEOF | 18899 | cat >conftest.$ac_ext <<_ACEOF |
@@ -17651,10 +18903,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17651 | cat >>conftest.$ac_ext <<_ACEOF | 18903 | cat >>conftest.$ac_ext <<_ACEOF |
17652 | /* end confdefs.h. */ | 18904 | /* end confdefs.h. */ |
17653 | $ac_includes_default | 18905 | $ac_includes_default |
18906 | typedef int ac__type_sizeof_; | ||
17654 | int | 18907 | int |
17655 | main () | 18908 | main () |
17656 | { | 18909 | { |
17657 | static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; | 18910 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
17658 | test_array [0] = 0 | 18911 | test_array [0] = 0 |
17659 | 18912 | ||
17660 | ; | 18913 | ; |
@@ -17662,27 +18915,22 @@ test_array [0] = 0 | |||
17662 | } | 18915 | } |
17663 | _ACEOF | 18916 | _ACEOF |
17664 | rm -f conftest.$ac_objext | 18917 | rm -f conftest.$ac_objext |
17665 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18918 | if { (ac_try="$ac_compile" |
17666 | (eval $ac_compile) 2>conftest.er1 | 18919 | case "(($ac_try" in |
18920 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18921 | *) ac_try_echo=$ac_try;; | ||
18922 | esac | ||
18923 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18924 | (eval "$ac_compile") 2>conftest.er1 | ||
17667 | ac_status=$? | 18925 | ac_status=$? |
17668 | grep -v '^ *+' conftest.er1 >conftest.err | 18926 | grep -v '^ *+' conftest.er1 >conftest.err |
17669 | rm -f conftest.er1 | 18927 | rm -f conftest.er1 |
17670 | cat conftest.err >&5 | 18928 | cat conftest.err >&5 |
17671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18929 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17672 | (exit $ac_status); } && | 18930 | (exit $ac_status); } && { |
17673 | { ac_try='test -z "$ac_c_werror_flag" | 18931 | test -z "$ac_c_werror_flag" || |
17674 | || test ! -s conftest.err' | 18932 | test ! -s conftest.err |
17675 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18933 | } && test -s conftest.$ac_objext; then |
17676 | (eval $ac_try) 2>&5 | ||
17677 | ac_status=$? | ||
17678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17679 | (exit $ac_status); }; } && | ||
17680 | { ac_try='test -s conftest.$ac_objext' | ||
17681 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17682 | (eval $ac_try) 2>&5 | ||
17683 | ac_status=$? | ||
17684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17685 | (exit $ac_status); }; }; then | ||
17686 | ac_lo=0 ac_mid=0 | 18934 | ac_lo=0 ac_mid=0 |
17687 | while :; do | 18935 | while :; do |
17688 | cat >conftest.$ac_ext <<_ACEOF | 18936 | cat >conftest.$ac_ext <<_ACEOF |
@@ -17692,10 +18940,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17692 | cat >>conftest.$ac_ext <<_ACEOF | 18940 | cat >>conftest.$ac_ext <<_ACEOF |
17693 | /* end confdefs.h. */ | 18941 | /* end confdefs.h. */ |
17694 | $ac_includes_default | 18942 | $ac_includes_default |
18943 | typedef int ac__type_sizeof_; | ||
17695 | int | 18944 | int |
17696 | main () | 18945 | main () |
17697 | { | 18946 | { |
17698 | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; | 18947 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
17699 | test_array [0] = 0 | 18948 | test_array [0] = 0 |
17700 | 18949 | ||
17701 | ; | 18950 | ; |
@@ -17703,56 +18952,53 @@ test_array [0] = 0 | |||
17703 | } | 18952 | } |
17704 | _ACEOF | 18953 | _ACEOF |
17705 | rm -f conftest.$ac_objext | 18954 | rm -f conftest.$ac_objext |
17706 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18955 | if { (ac_try="$ac_compile" |
17707 | (eval $ac_compile) 2>conftest.er1 | 18956 | case "(($ac_try" in |
18957 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18958 | *) ac_try_echo=$ac_try;; | ||
18959 | esac | ||
18960 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18961 | (eval "$ac_compile") 2>conftest.er1 | ||
17708 | ac_status=$? | 18962 | ac_status=$? |
17709 | grep -v '^ *+' conftest.er1 >conftest.err | 18963 | grep -v '^ *+' conftest.er1 >conftest.err |
17710 | rm -f conftest.er1 | 18964 | rm -f conftest.er1 |
17711 | cat conftest.err >&5 | 18965 | cat conftest.err >&5 |
17712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17713 | (exit $ac_status); } && | 18967 | (exit $ac_status); } && { |
17714 | { ac_try='test -z "$ac_c_werror_flag" | 18968 | test -z "$ac_c_werror_flag" || |
17715 | || test ! -s conftest.err' | 18969 | test ! -s conftest.err |
17716 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18970 | } && test -s conftest.$ac_objext; then |
17717 | (eval $ac_try) 2>&5 | ||
17718 | ac_status=$? | ||
17719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17720 | (exit $ac_status); }; } && | ||
17721 | { ac_try='test -s conftest.$ac_objext' | ||
17722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17723 | (eval $ac_try) 2>&5 | ||
17724 | ac_status=$? | ||
17725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17726 | (exit $ac_status); }; }; then | ||
17727 | ac_hi=$ac_mid; break | 18971 | ac_hi=$ac_mid; break |
17728 | else | 18972 | else |
17729 | echo "$as_me: failed program was:" >&5 | 18973 | echo "$as_me: failed program was:" >&5 |
17730 | sed 's/^/| /' conftest.$ac_ext >&5 | 18974 | sed 's/^/| /' conftest.$ac_ext >&5 |
17731 | 18975 | ||
17732 | ac_lo=`expr $ac_mid + 1` | 18976 | ac_lo=`expr $ac_mid + 1` |
17733 | if test $ac_lo -le $ac_mid; then | 18977 | if test $ac_lo -le $ac_mid; then |
17734 | ac_lo= ac_hi= | 18978 | ac_lo= ac_hi= |
17735 | break | 18979 | break |
17736 | fi | 18980 | fi |
17737 | ac_mid=`expr 2 '*' $ac_mid + 1` | 18981 | ac_mid=`expr 2 '*' $ac_mid + 1` |
17738 | fi | 18982 | fi |
17739 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18983 | |
18984 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17740 | done | 18985 | done |
17741 | else | 18986 | else |
17742 | echo "$as_me: failed program was:" >&5 | 18987 | echo "$as_me: failed program was:" >&5 |
17743 | sed 's/^/| /' conftest.$ac_ext >&5 | 18988 | sed 's/^/| /' conftest.$ac_ext >&5 |
17744 | 18989 | ||
17745 | cat >conftest.$ac_ext <<_ACEOF | 18990 | cat >conftest.$ac_ext <<_ACEOF |
17746 | /* confdefs.h. */ | 18991 | /* confdefs.h. */ |
17747 | _ACEOF | 18992 | _ACEOF |
17748 | cat confdefs.h >>conftest.$ac_ext | 18993 | cat confdefs.h >>conftest.$ac_ext |
17749 | cat >>conftest.$ac_ext <<_ACEOF | 18994 | cat >>conftest.$ac_ext <<_ACEOF |
17750 | /* end confdefs.h. */ | 18995 | /* end confdefs.h. */ |
17751 | $ac_includes_default | 18996 | $ac_includes_default |
18997 | typedef int ac__type_sizeof_; | ||
17752 | int | 18998 | int |
17753 | main () | 18999 | main () |
17754 | { | 19000 | { |
17755 | static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; | 19001 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
17756 | test_array [0] = 0 | 19002 | test_array [0] = 0 |
17757 | 19003 | ||
17758 | ; | 19004 | ; |
@@ -17760,27 +19006,22 @@ test_array [0] = 0 | |||
17760 | } | 19006 | } |
17761 | _ACEOF | 19007 | _ACEOF |
17762 | rm -f conftest.$ac_objext | 19008 | rm -f conftest.$ac_objext |
17763 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19009 | if { (ac_try="$ac_compile" |
17764 | (eval $ac_compile) 2>conftest.er1 | 19010 | case "(($ac_try" in |
19011 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19012 | *) ac_try_echo=$ac_try;; | ||
19013 | esac | ||
19014 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19015 | (eval "$ac_compile") 2>conftest.er1 | ||
17765 | ac_status=$? | 19016 | ac_status=$? |
17766 | grep -v '^ *+' conftest.er1 >conftest.err | 19017 | grep -v '^ *+' conftest.er1 >conftest.err |
17767 | rm -f conftest.er1 | 19018 | rm -f conftest.er1 |
17768 | cat conftest.err >&5 | 19019 | cat conftest.err >&5 |
17769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17770 | (exit $ac_status); } && | 19021 | (exit $ac_status); } && { |
17771 | { ac_try='test -z "$ac_c_werror_flag" | 19022 | test -z "$ac_c_werror_flag" || |
17772 | || test ! -s conftest.err' | 19023 | test ! -s conftest.err |
17773 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19024 | } && test -s conftest.$ac_objext; then |
17774 | (eval $ac_try) 2>&5 | ||
17775 | ac_status=$? | ||
17776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17777 | (exit $ac_status); }; } && | ||
17778 | { ac_try='test -s conftest.$ac_objext' | ||
17779 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17780 | (eval $ac_try) 2>&5 | ||
17781 | ac_status=$? | ||
17782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17783 | (exit $ac_status); }; }; then | ||
17784 | ac_hi=-1 ac_mid=-1 | 19025 | ac_hi=-1 ac_mid=-1 |
17785 | while :; do | 19026 | while :; do |
17786 | cat >conftest.$ac_ext <<_ACEOF | 19027 | cat >conftest.$ac_ext <<_ACEOF |
@@ -17790,10 +19031,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17790 | cat >>conftest.$ac_ext <<_ACEOF | 19031 | cat >>conftest.$ac_ext <<_ACEOF |
17791 | /* end confdefs.h. */ | 19032 | /* end confdefs.h. */ |
17792 | $ac_includes_default | 19033 | $ac_includes_default |
19034 | typedef int ac__type_sizeof_; | ||
17793 | int | 19035 | int |
17794 | main () | 19036 | main () |
17795 | { | 19037 | { |
17796 | static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; | 19038 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
17797 | test_array [0] = 0 | 19039 | test_array [0] = 0 |
17798 | 19040 | ||
17799 | ; | 19041 | ; |
@@ -17801,50 +19043,48 @@ test_array [0] = 0 | |||
17801 | } | 19043 | } |
17802 | _ACEOF | 19044 | _ACEOF |
17803 | rm -f conftest.$ac_objext | 19045 | rm -f conftest.$ac_objext |
17804 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19046 | if { (ac_try="$ac_compile" |
17805 | (eval $ac_compile) 2>conftest.er1 | 19047 | case "(($ac_try" in |
19048 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19049 | *) ac_try_echo=$ac_try;; | ||
19050 | esac | ||
19051 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19052 | (eval "$ac_compile") 2>conftest.er1 | ||
17806 | ac_status=$? | 19053 | ac_status=$? |
17807 | grep -v '^ *+' conftest.er1 >conftest.err | 19054 | grep -v '^ *+' conftest.er1 >conftest.err |
17808 | rm -f conftest.er1 | 19055 | rm -f conftest.er1 |
17809 | cat conftest.err >&5 | 19056 | cat conftest.err >&5 |
17810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17811 | (exit $ac_status); } && | 19058 | (exit $ac_status); } && { |
17812 | { ac_try='test -z "$ac_c_werror_flag" | 19059 | test -z "$ac_c_werror_flag" || |
17813 | || test ! -s conftest.err' | 19060 | test ! -s conftest.err |
17814 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19061 | } && test -s conftest.$ac_objext; then |
17815 | (eval $ac_try) 2>&5 | ||
17816 | ac_status=$? | ||
17817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17818 | (exit $ac_status); }; } && | ||
17819 | { ac_try='test -s conftest.$ac_objext' | ||
17820 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17821 | (eval $ac_try) 2>&5 | ||
17822 | ac_status=$? | ||
17823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17824 | (exit $ac_status); }; }; then | ||
17825 | ac_lo=$ac_mid; break | 19062 | ac_lo=$ac_mid; break |
17826 | else | 19063 | else |
17827 | echo "$as_me: failed program was:" >&5 | 19064 | echo "$as_me: failed program was:" >&5 |
17828 | sed 's/^/| /' conftest.$ac_ext >&5 | 19065 | sed 's/^/| /' conftest.$ac_ext >&5 |
17829 | 19066 | ||
17830 | ac_hi=`expr '(' $ac_mid ')' - 1` | 19067 | ac_hi=`expr '(' $ac_mid ')' - 1` |
17831 | if test $ac_mid -le $ac_hi; then | 19068 | if test $ac_mid -le $ac_hi; then |
17832 | ac_lo= ac_hi= | 19069 | ac_lo= ac_hi= |
17833 | break | 19070 | break |
17834 | fi | 19071 | fi |
17835 | ac_mid=`expr 2 '*' $ac_mid` | 19072 | ac_mid=`expr 2 '*' $ac_mid` |
17836 | fi | 19073 | fi |
17837 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19074 | |
19075 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17838 | done | 19076 | done |
17839 | else | 19077 | else |
17840 | echo "$as_me: failed program was:" >&5 | 19078 | echo "$as_me: failed program was:" >&5 |
17841 | sed 's/^/| /' conftest.$ac_ext >&5 | 19079 | sed 's/^/| /' conftest.$ac_ext >&5 |
17842 | 19080 | ||
17843 | ac_lo= ac_hi= | 19081 | ac_lo= ac_hi= |
17844 | fi | 19082 | fi |
17845 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19083 | |
19084 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17846 | fi | 19085 | fi |
17847 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19086 | |
19087 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17848 | # Binary search between lo and hi bounds. | 19088 | # Binary search between lo and hi bounds. |
17849 | while test "x$ac_lo" != "x$ac_hi"; do | 19089 | while test "x$ac_lo" != "x$ac_hi"; do |
17850 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 19090 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
@@ -17855,10 +19095,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
17855 | cat >>conftest.$ac_ext <<_ACEOF | 19095 | cat >>conftest.$ac_ext <<_ACEOF |
17856 | /* end confdefs.h. */ | 19096 | /* end confdefs.h. */ |
17857 | $ac_includes_default | 19097 | $ac_includes_default |
19098 | typedef int ac__type_sizeof_; | ||
17858 | int | 19099 | int |
17859 | main () | 19100 | main () |
17860 | { | 19101 | { |
17861 | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; | 19102 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
17862 | test_array [0] = 0 | 19103 | test_array [0] = 0 |
17863 | 19104 | ||
17864 | ; | 19105 | ; |
@@ -17866,52 +19107,45 @@ test_array [0] = 0 | |||
17866 | } | 19107 | } |
17867 | _ACEOF | 19108 | _ACEOF |
17868 | rm -f conftest.$ac_objext | 19109 | rm -f conftest.$ac_objext |
17869 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19110 | if { (ac_try="$ac_compile" |
17870 | (eval $ac_compile) 2>conftest.er1 | 19111 | case "(($ac_try" in |
19112 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19113 | *) ac_try_echo=$ac_try;; | ||
19114 | esac | ||
19115 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19116 | (eval "$ac_compile") 2>conftest.er1 | ||
17871 | ac_status=$? | 19117 | ac_status=$? |
17872 | grep -v '^ *+' conftest.er1 >conftest.err | 19118 | grep -v '^ *+' conftest.er1 >conftest.err |
17873 | rm -f conftest.er1 | 19119 | rm -f conftest.er1 |
17874 | cat conftest.err >&5 | 19120 | cat conftest.err >&5 |
17875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17876 | (exit $ac_status); } && | 19122 | (exit $ac_status); } && { |
17877 | { ac_try='test -z "$ac_c_werror_flag" | 19123 | test -z "$ac_c_werror_flag" || |
17878 | || test ! -s conftest.err' | 19124 | test ! -s conftest.err |
17879 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19125 | } && test -s conftest.$ac_objext; then |
17880 | (eval $ac_try) 2>&5 | ||
17881 | ac_status=$? | ||
17882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17883 | (exit $ac_status); }; } && | ||
17884 | { ac_try='test -s conftest.$ac_objext' | ||
17885 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17886 | (eval $ac_try) 2>&5 | ||
17887 | ac_status=$? | ||
17888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17889 | (exit $ac_status); }; }; then | ||
17890 | ac_hi=$ac_mid | 19126 | ac_hi=$ac_mid |
17891 | else | 19127 | else |
17892 | echo "$as_me: failed program was:" >&5 | 19128 | echo "$as_me: failed program was:" >&5 |
17893 | sed 's/^/| /' conftest.$ac_ext >&5 | 19129 | sed 's/^/| /' conftest.$ac_ext >&5 |
17894 | 19130 | ||
17895 | ac_lo=`expr '(' $ac_mid ')' + 1` | 19131 | ac_lo=`expr '(' $ac_mid ')' + 1` |
17896 | fi | 19132 | fi |
17897 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19133 | |
19134 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17898 | done | 19135 | done |
17899 | case $ac_lo in | 19136 | case $ac_lo in |
17900 | ?*) ac_cv_sizeof_int=$ac_lo;; | 19137 | ?*) ac_cv_sizeof_int=$ac_lo;; |
17901 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 | 19138 | '') if test "$ac_cv_type_int" = yes; then |
19139 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) | ||
17902 | See \`config.log' for more details." >&5 | 19140 | See \`config.log' for more details." >&5 |
17903 | echo "$as_me: error: cannot compute sizeof (int), 77 | 19141 | echo "$as_me: error: cannot compute sizeof (int) |
17904 | See \`config.log' for more details." >&2;} | 19142 | See \`config.log' for more details." >&2;} |
17905 | { (exit 1); exit 1; }; } ;; | 19143 | { (exit 77); exit 77; }; } |
19144 | else | ||
19145 | ac_cv_sizeof_int=0 | ||
19146 | fi ;; | ||
17906 | esac | 19147 | esac |
17907 | else | 19148 | else |
17908 | if test "$cross_compiling" = yes; then | ||
17909 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
17910 | See \`config.log' for more details." >&5 | ||
17911 | echo "$as_me: error: cannot run test program while cross compiling | ||
17912 | See \`config.log' for more details." >&2;} | ||
17913 | { (exit 1); exit 1; }; } | ||
17914 | else | ||
17915 | cat >conftest.$ac_ext <<_ACEOF | 19149 | cat >conftest.$ac_ext <<_ACEOF |
17916 | /* confdefs.h. */ | 19150 | /* confdefs.h. */ |
17917 | _ACEOF | 19151 | _ACEOF |
@@ -17919,8 +19153,9 @@ cat confdefs.h >>conftest.$ac_ext | |||
17919 | cat >>conftest.$ac_ext <<_ACEOF | 19153 | cat >>conftest.$ac_ext <<_ACEOF |
17920 | /* end confdefs.h. */ | 19154 | /* end confdefs.h. */ |
17921 | $ac_includes_default | 19155 | $ac_includes_default |
17922 | long longval () { return (long) (sizeof (int)); } | 19156 | typedef int ac__type_sizeof_; |
17923 | unsigned long ulongval () { return (long) (sizeof (int)); } | 19157 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
19158 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
17924 | #include <stdio.h> | 19159 | #include <stdio.h> |
17925 | #include <stdlib.h> | 19160 | #include <stdlib.h> |
17926 | int | 19161 | int |
@@ -17929,35 +19164,44 @@ main () | |||
17929 | 19164 | ||
17930 | FILE *f = fopen ("conftest.val", "w"); | 19165 | FILE *f = fopen ("conftest.val", "w"); |
17931 | if (! f) | 19166 | if (! f) |
17932 | exit (1); | 19167 | return 1; |
17933 | if (((long) (sizeof (int))) < 0) | 19168 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
17934 | { | 19169 | { |
17935 | long i = longval (); | 19170 | long int i = longval (); |
17936 | if (i != ((long) (sizeof (int)))) | 19171 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
17937 | exit (1); | 19172 | return 1; |
17938 | fprintf (f, "%ld\n", i); | 19173 | fprintf (f, "%ld\n", i); |
17939 | } | 19174 | } |
17940 | else | 19175 | else |
17941 | { | 19176 | { |
17942 | unsigned long i = ulongval (); | 19177 | unsigned long int i = ulongval (); |
17943 | if (i != ((long) (sizeof (int)))) | 19178 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
17944 | exit (1); | 19179 | return 1; |
17945 | fprintf (f, "%lu\n", i); | 19180 | fprintf (f, "%lu\n", i); |
17946 | } | 19181 | } |
17947 | exit (ferror (f) || fclose (f) != 0); | 19182 | return ferror (f) || fclose (f) != 0; |
17948 | 19183 | ||
17949 | ; | 19184 | ; |
17950 | return 0; | 19185 | return 0; |
17951 | } | 19186 | } |
17952 | _ACEOF | 19187 | _ACEOF |
17953 | rm -f conftest$ac_exeext | 19188 | rm -f conftest$ac_exeext |
17954 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19189 | if { (ac_try="$ac_link" |
17955 | (eval $ac_link) 2>&5 | 19190 | case "(($ac_try" in |
19191 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19192 | *) ac_try_echo=$ac_try;; | ||
19193 | esac | ||
19194 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19195 | (eval "$ac_link") 2>&5 | ||
17956 | ac_status=$? | 19196 | ac_status=$? |
17957 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17958 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 19198 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17959 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19199 | { (case "(($ac_try" in |
17960 | (eval $ac_try) 2>&5 | 19200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19201 | *) ac_try_echo=$ac_try;; | ||
19202 | esac | ||
19203 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19204 | (eval "$ac_try") 2>&5 | ||
17961 | ac_status=$? | 19205 | ac_status=$? |
17962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17963 | (exit $ac_status); }; }; then | 19207 | (exit $ac_status); }; }; then |
@@ -17968,29 +19212,32 @@ echo "$as_me: failed program was:" >&5 | |||
17968 | sed 's/^/| /' conftest.$ac_ext >&5 | 19212 | sed 's/^/| /' conftest.$ac_ext >&5 |
17969 | 19213 | ||
17970 | ( exit $ac_status ) | 19214 | ( exit $ac_status ) |
17971 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 | 19215 | if test "$ac_cv_type_int" = yes; then |
19216 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) | ||
17972 | See \`config.log' for more details." >&5 | 19217 | See \`config.log' for more details." >&5 |
17973 | echo "$as_me: error: cannot compute sizeof (int), 77 | 19218 | echo "$as_me: error: cannot compute sizeof (int) |
17974 | See \`config.log' for more details." >&2;} | 19219 | See \`config.log' for more details." >&2;} |
17975 | { (exit 1); exit 1; }; } | 19220 | { (exit 77); exit 77; }; } |
17976 | fi | 19221 | else |
17977 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 19222 | ac_cv_sizeof_int=0 |
19223 | fi | ||
17978 | fi | 19224 | fi |
19225 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
17979 | fi | 19226 | fi |
17980 | rm -f conftest.val | 19227 | rm -f conftest.val |
17981 | else | ||
17982 | ac_cv_sizeof_int=0 | ||
17983 | fi | ||
17984 | fi | 19228 | fi |
17985 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 | 19229 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
17986 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 | 19230 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
19231 | |||
19232 | |||
19233 | |||
17987 | cat >>confdefs.h <<_ACEOF | 19234 | cat >>confdefs.h <<_ACEOF |
17988 | #define SIZEOF_INT $ac_cv_sizeof_int | 19235 | #define SIZEOF_INT $ac_cv_sizeof_int |
17989 | _ACEOF | 19236 | _ACEOF |
17990 | 19237 | ||
17991 | 19238 | ||
17992 | echo "$as_me:$LINENO: checking for long int" >&5 | 19239 | { echo "$as_me:$LINENO: checking for long int" >&5 |
17993 | echo $ECHO_N "checking for long int... $ECHO_C" >&6 | 19240 | echo $ECHO_N "checking for long int... $ECHO_C" >&6; } |
17994 | if test "${ac_cv_type_long_int+set}" = set; then | 19241 | if test "${ac_cv_type_long_int+set}" = set; then |
17995 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19242 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17996 | else | 19243 | else |
@@ -18001,61 +19248,57 @@ cat confdefs.h >>conftest.$ac_ext | |||
18001 | cat >>conftest.$ac_ext <<_ACEOF | 19248 | cat >>conftest.$ac_ext <<_ACEOF |
18002 | /* end confdefs.h. */ | 19249 | /* end confdefs.h. */ |
18003 | $ac_includes_default | 19250 | $ac_includes_default |
19251 | typedef long int ac__type_new_; | ||
18004 | int | 19252 | int |
18005 | main () | 19253 | main () |
18006 | { | 19254 | { |
18007 | if ((long int *) 0) | 19255 | if ((ac__type_new_ *) 0) |
18008 | return 0; | 19256 | return 0; |
18009 | if (sizeof (long int)) | 19257 | if (sizeof (ac__type_new_)) |
18010 | return 0; | 19258 | return 0; |
18011 | ; | 19259 | ; |
18012 | return 0; | 19260 | return 0; |
18013 | } | 19261 | } |
18014 | _ACEOF | 19262 | _ACEOF |
18015 | rm -f conftest.$ac_objext | 19263 | rm -f conftest.$ac_objext |
18016 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19264 | if { (ac_try="$ac_compile" |
18017 | (eval $ac_compile) 2>conftest.er1 | 19265 | case "(($ac_try" in |
19266 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19267 | *) ac_try_echo=$ac_try;; | ||
19268 | esac | ||
19269 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19270 | (eval "$ac_compile") 2>conftest.er1 | ||
18018 | ac_status=$? | 19271 | ac_status=$? |
18019 | grep -v '^ *+' conftest.er1 >conftest.err | 19272 | grep -v '^ *+' conftest.er1 >conftest.err |
18020 | rm -f conftest.er1 | 19273 | rm -f conftest.er1 |
18021 | cat conftest.err >&5 | 19274 | cat conftest.err >&5 |
18022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18023 | (exit $ac_status); } && | 19276 | (exit $ac_status); } && { |
18024 | { ac_try='test -z "$ac_c_werror_flag" | 19277 | test -z "$ac_c_werror_flag" || |
18025 | || test ! -s conftest.err' | 19278 | test ! -s conftest.err |
18026 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19279 | } && test -s conftest.$ac_objext; then |
18027 | (eval $ac_try) 2>&5 | ||
18028 | ac_status=$? | ||
18029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18030 | (exit $ac_status); }; } && | ||
18031 | { ac_try='test -s conftest.$ac_objext' | ||
18032 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18033 | (eval $ac_try) 2>&5 | ||
18034 | ac_status=$? | ||
18035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18036 | (exit $ac_status); }; }; then | ||
18037 | ac_cv_type_long_int=yes | 19280 | ac_cv_type_long_int=yes |
18038 | else | 19281 | else |
18039 | echo "$as_me: failed program was:" >&5 | 19282 | echo "$as_me: failed program was:" >&5 |
18040 | sed 's/^/| /' conftest.$ac_ext >&5 | 19283 | sed 's/^/| /' conftest.$ac_ext >&5 |
18041 | 19284 | ||
18042 | ac_cv_type_long_int=no | 19285 | ac_cv_type_long_int=no |
18043 | fi | 19286 | fi |
18044 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19287 | |
19288 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18045 | fi | 19289 | fi |
18046 | echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 | 19290 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 |
18047 | echo "${ECHO_T}$ac_cv_type_long_int" >&6 | 19291 | echo "${ECHO_T}$ac_cv_type_long_int" >&6; } |
18048 | 19292 | ||
18049 | echo "$as_me:$LINENO: checking size of long int" >&5 | 19293 | # The cast to long int works around a bug in the HP C Compiler |
18050 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6 | 19294 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
19295 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
19296 | # This bug is HP SR number 8606223364. | ||
19297 | { echo "$as_me:$LINENO: checking size of long int" >&5 | ||
19298 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6; } | ||
18051 | if test "${ac_cv_sizeof_long_int+set}" = set; then | 19299 | if test "${ac_cv_sizeof_long_int+set}" = set; then |
18052 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19300 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18053 | else | 19301 | else |
18054 | if test "$ac_cv_type_long_int" = yes; then | ||
18055 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
18056 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
18057 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
18058 | # This bug is HP SR number 8606223364. | ||
18059 | if test "$cross_compiling" = yes; then | 19302 | if test "$cross_compiling" = yes; then |
18060 | # Depending upon the size, compute the lo and hi bounds. | 19303 | # Depending upon the size, compute the lo and hi bounds. |
18061 | cat >conftest.$ac_ext <<_ACEOF | 19304 | cat >conftest.$ac_ext <<_ACEOF |
@@ -18065,10 +19308,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
18065 | cat >>conftest.$ac_ext <<_ACEOF | 19308 | cat >>conftest.$ac_ext <<_ACEOF |
18066 | /* end confdefs.h. */ | 19309 | /* end confdefs.h. */ |
18067 | $ac_includes_default | 19310 | $ac_includes_default |
19311 | typedef long int ac__type_sizeof_; | ||
18068 | int | 19312 | int |
18069 | main () | 19313 | main () |
18070 | { | 19314 | { |
18071 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)]; | 19315 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
18072 | test_array [0] = 0 | 19316 | test_array [0] = 0 |
18073 | 19317 | ||
18074 | ; | 19318 | ; |
@@ -18076,27 +19320,22 @@ test_array [0] = 0 | |||
18076 | } | 19320 | } |
18077 | _ACEOF | 19321 | _ACEOF |
18078 | rm -f conftest.$ac_objext | 19322 | rm -f conftest.$ac_objext |
18079 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19323 | if { (ac_try="$ac_compile" |
18080 | (eval $ac_compile) 2>conftest.er1 | 19324 | case "(($ac_try" in |
19325 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19326 | *) ac_try_echo=$ac_try;; | ||
19327 | esac | ||
19328 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19329 | (eval "$ac_compile") 2>conftest.er1 | ||
18081 | ac_status=$? | 19330 | ac_status=$? |
18082 | grep -v '^ *+' conftest.er1 >conftest.err | 19331 | grep -v '^ *+' conftest.er1 >conftest.err |
18083 | rm -f conftest.er1 | 19332 | rm -f conftest.er1 |
18084 | cat conftest.err >&5 | 19333 | cat conftest.err >&5 |
18085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18086 | (exit $ac_status); } && | 19335 | (exit $ac_status); } && { |
18087 | { ac_try='test -z "$ac_c_werror_flag" | 19336 | test -z "$ac_c_werror_flag" || |
18088 | || test ! -s conftest.err' | 19337 | test ! -s conftest.err |
18089 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19338 | } && test -s conftest.$ac_objext; then |
18090 | (eval $ac_try) 2>&5 | ||
18091 | ac_status=$? | ||
18092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18093 | (exit $ac_status); }; } && | ||
18094 | { ac_try='test -s conftest.$ac_objext' | ||
18095 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18096 | (eval $ac_try) 2>&5 | ||
18097 | ac_status=$? | ||
18098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18099 | (exit $ac_status); }; }; then | ||
18100 | ac_lo=0 ac_mid=0 | 19339 | ac_lo=0 ac_mid=0 |
18101 | while :; do | 19340 | while :; do |
18102 | cat >conftest.$ac_ext <<_ACEOF | 19341 | cat >conftest.$ac_ext <<_ACEOF |
@@ -18106,10 +19345,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
18106 | cat >>conftest.$ac_ext <<_ACEOF | 19345 | cat >>conftest.$ac_ext <<_ACEOF |
18107 | /* end confdefs.h. */ | 19346 | /* end confdefs.h. */ |
18108 | $ac_includes_default | 19347 | $ac_includes_default |
19348 | typedef long int ac__type_sizeof_; | ||
18109 | int | 19349 | int |
18110 | main () | 19350 | main () |
18111 | { | 19351 | { |
18112 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)]; | 19352 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
18113 | test_array [0] = 0 | 19353 | test_array [0] = 0 |
18114 | 19354 | ||
18115 | ; | 19355 | ; |
@@ -18117,56 +19357,53 @@ test_array [0] = 0 | |||
18117 | } | 19357 | } |
18118 | _ACEOF | 19358 | _ACEOF |
18119 | rm -f conftest.$ac_objext | 19359 | rm -f conftest.$ac_objext |
18120 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19360 | if { (ac_try="$ac_compile" |
18121 | (eval $ac_compile) 2>conftest.er1 | 19361 | case "(($ac_try" in |
19362 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19363 | *) ac_try_echo=$ac_try;; | ||
19364 | esac | ||
19365 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19366 | (eval "$ac_compile") 2>conftest.er1 | ||
18122 | ac_status=$? | 19367 | ac_status=$? |
18123 | grep -v '^ *+' conftest.er1 >conftest.err | 19368 | grep -v '^ *+' conftest.er1 >conftest.err |
18124 | rm -f conftest.er1 | 19369 | rm -f conftest.er1 |
18125 | cat conftest.err >&5 | 19370 | cat conftest.err >&5 |
18126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18127 | (exit $ac_status); } && | 19372 | (exit $ac_status); } && { |
18128 | { ac_try='test -z "$ac_c_werror_flag" | 19373 | test -z "$ac_c_werror_flag" || |
18129 | || test ! -s conftest.err' | 19374 | test ! -s conftest.err |
18130 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19375 | } && test -s conftest.$ac_objext; then |
18131 | (eval $ac_try) 2>&5 | ||
18132 | ac_status=$? | ||
18133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18134 | (exit $ac_status); }; } && | ||
18135 | { ac_try='test -s conftest.$ac_objext' | ||
18136 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18137 | (eval $ac_try) 2>&5 | ||
18138 | ac_status=$? | ||
18139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18140 | (exit $ac_status); }; }; then | ||
18141 | ac_hi=$ac_mid; break | 19376 | ac_hi=$ac_mid; break |
18142 | else | 19377 | else |
18143 | echo "$as_me: failed program was:" >&5 | 19378 | echo "$as_me: failed program was:" >&5 |
18144 | sed 's/^/| /' conftest.$ac_ext >&5 | 19379 | sed 's/^/| /' conftest.$ac_ext >&5 |
18145 | 19380 | ||
18146 | ac_lo=`expr $ac_mid + 1` | 19381 | ac_lo=`expr $ac_mid + 1` |
18147 | if test $ac_lo -le $ac_mid; then | 19382 | if test $ac_lo -le $ac_mid; then |
18148 | ac_lo= ac_hi= | 19383 | ac_lo= ac_hi= |
18149 | break | 19384 | break |
18150 | fi | 19385 | fi |
18151 | ac_mid=`expr 2 '*' $ac_mid + 1` | 19386 | ac_mid=`expr 2 '*' $ac_mid + 1` |
18152 | fi | 19387 | fi |
18153 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19388 | |
19389 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18154 | done | 19390 | done |
18155 | else | 19391 | else |
18156 | echo "$as_me: failed program was:" >&5 | 19392 | echo "$as_me: failed program was:" >&5 |
18157 | sed 's/^/| /' conftest.$ac_ext >&5 | 19393 | sed 's/^/| /' conftest.$ac_ext >&5 |
18158 | 19394 | ||
18159 | cat >conftest.$ac_ext <<_ACEOF | 19395 | cat >conftest.$ac_ext <<_ACEOF |
18160 | /* confdefs.h. */ | 19396 | /* confdefs.h. */ |
18161 | _ACEOF | 19397 | _ACEOF |
18162 | cat confdefs.h >>conftest.$ac_ext | 19398 | cat confdefs.h >>conftest.$ac_ext |
18163 | cat >>conftest.$ac_ext <<_ACEOF | 19399 | cat >>conftest.$ac_ext <<_ACEOF |
18164 | /* end confdefs.h. */ | 19400 | /* end confdefs.h. */ |
18165 | $ac_includes_default | 19401 | $ac_includes_default |
19402 | typedef long int ac__type_sizeof_; | ||
18166 | int | 19403 | int |
18167 | main () | 19404 | main () |
18168 | { | 19405 | { |
18169 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)]; | 19406 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
18170 | test_array [0] = 0 | 19407 | test_array [0] = 0 |
18171 | 19408 | ||
18172 | ; | 19409 | ; |
@@ -18174,27 +19411,22 @@ test_array [0] = 0 | |||
18174 | } | 19411 | } |
18175 | _ACEOF | 19412 | _ACEOF |
18176 | rm -f conftest.$ac_objext | 19413 | rm -f conftest.$ac_objext |
18177 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19414 | if { (ac_try="$ac_compile" |
18178 | (eval $ac_compile) 2>conftest.er1 | 19415 | case "(($ac_try" in |
19416 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19417 | *) ac_try_echo=$ac_try;; | ||
19418 | esac | ||
19419 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19420 | (eval "$ac_compile") 2>conftest.er1 | ||
18179 | ac_status=$? | 19421 | ac_status=$? |
18180 | grep -v '^ *+' conftest.er1 >conftest.err | 19422 | grep -v '^ *+' conftest.er1 >conftest.err |
18181 | rm -f conftest.er1 | 19423 | rm -f conftest.er1 |
18182 | cat conftest.err >&5 | 19424 | cat conftest.err >&5 |
18183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18184 | (exit $ac_status); } && | 19426 | (exit $ac_status); } && { |
18185 | { ac_try='test -z "$ac_c_werror_flag" | 19427 | test -z "$ac_c_werror_flag" || |
18186 | || test ! -s conftest.err' | 19428 | test ! -s conftest.err |
18187 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19429 | } && test -s conftest.$ac_objext; then |
18188 | (eval $ac_try) 2>&5 | ||
18189 | ac_status=$? | ||
18190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18191 | (exit $ac_status); }; } && | ||
18192 | { ac_try='test -s conftest.$ac_objext' | ||
18193 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18194 | (eval $ac_try) 2>&5 | ||
18195 | ac_status=$? | ||
18196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18197 | (exit $ac_status); }; }; then | ||
18198 | ac_hi=-1 ac_mid=-1 | 19430 | ac_hi=-1 ac_mid=-1 |
18199 | while :; do | 19431 | while :; do |
18200 | cat >conftest.$ac_ext <<_ACEOF | 19432 | cat >conftest.$ac_ext <<_ACEOF |
@@ -18204,10 +19436,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
18204 | cat >>conftest.$ac_ext <<_ACEOF | 19436 | cat >>conftest.$ac_ext <<_ACEOF |
18205 | /* end confdefs.h. */ | 19437 | /* end confdefs.h. */ |
18206 | $ac_includes_default | 19438 | $ac_includes_default |
19439 | typedef long int ac__type_sizeof_; | ||
18207 | int | 19440 | int |
18208 | main () | 19441 | main () |
18209 | { | 19442 | { |
18210 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)]; | 19443 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
18211 | test_array [0] = 0 | 19444 | test_array [0] = 0 |
18212 | 19445 | ||
18213 | ; | 19446 | ; |
@@ -18215,50 +19448,48 @@ test_array [0] = 0 | |||
18215 | } | 19448 | } |
18216 | _ACEOF | 19449 | _ACEOF |
18217 | rm -f conftest.$ac_objext | 19450 | rm -f conftest.$ac_objext |
18218 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19451 | if { (ac_try="$ac_compile" |
18219 | (eval $ac_compile) 2>conftest.er1 | 19452 | case "(($ac_try" in |
19453 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19454 | *) ac_try_echo=$ac_try;; | ||
19455 | esac | ||
19456 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19457 | (eval "$ac_compile") 2>conftest.er1 | ||
18220 | ac_status=$? | 19458 | ac_status=$? |
18221 | grep -v '^ *+' conftest.er1 >conftest.err | 19459 | grep -v '^ *+' conftest.er1 >conftest.err |
18222 | rm -f conftest.er1 | 19460 | rm -f conftest.er1 |
18223 | cat conftest.err >&5 | 19461 | cat conftest.err >&5 |
18224 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18225 | (exit $ac_status); } && | 19463 | (exit $ac_status); } && { |
18226 | { ac_try='test -z "$ac_c_werror_flag" | 19464 | test -z "$ac_c_werror_flag" || |
18227 | || test ! -s conftest.err' | 19465 | test ! -s conftest.err |
18228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19466 | } && test -s conftest.$ac_objext; then |
18229 | (eval $ac_try) 2>&5 | ||
18230 | ac_status=$? | ||
18231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18232 | (exit $ac_status); }; } && | ||
18233 | { ac_try='test -s conftest.$ac_objext' | ||
18234 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18235 | (eval $ac_try) 2>&5 | ||
18236 | ac_status=$? | ||
18237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18238 | (exit $ac_status); }; }; then | ||
18239 | ac_lo=$ac_mid; break | 19467 | ac_lo=$ac_mid; break |
18240 | else | 19468 | else |
18241 | echo "$as_me: failed program was:" >&5 | 19469 | echo "$as_me: failed program was:" >&5 |
18242 | sed 's/^/| /' conftest.$ac_ext >&5 | 19470 | sed 's/^/| /' conftest.$ac_ext >&5 |
18243 | 19471 | ||
18244 | ac_hi=`expr '(' $ac_mid ')' - 1` | 19472 | ac_hi=`expr '(' $ac_mid ')' - 1` |
18245 | if test $ac_mid -le $ac_hi; then | 19473 | if test $ac_mid -le $ac_hi; then |
18246 | ac_lo= ac_hi= | 19474 | ac_lo= ac_hi= |
18247 | break | 19475 | break |
18248 | fi | 19476 | fi |
18249 | ac_mid=`expr 2 '*' $ac_mid` | 19477 | ac_mid=`expr 2 '*' $ac_mid` |
18250 | fi | 19478 | fi |
18251 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19479 | |
19480 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18252 | done | 19481 | done |
18253 | else | 19482 | else |
18254 | echo "$as_me: failed program was:" >&5 | 19483 | echo "$as_me: failed program was:" >&5 |
18255 | sed 's/^/| /' conftest.$ac_ext >&5 | 19484 | sed 's/^/| /' conftest.$ac_ext >&5 |
18256 | 19485 | ||
18257 | ac_lo= ac_hi= | 19486 | ac_lo= ac_hi= |
18258 | fi | 19487 | fi |
18259 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19488 | |
19489 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18260 | fi | 19490 | fi |
18261 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19491 | |
19492 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18262 | # Binary search between lo and hi bounds. | 19493 | # Binary search between lo and hi bounds. |
18263 | while test "x$ac_lo" != "x$ac_hi"; do | 19494 | while test "x$ac_lo" != "x$ac_hi"; do |
18264 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 19495 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
@@ -18269,10 +19500,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
18269 | cat >>conftest.$ac_ext <<_ACEOF | 19500 | cat >>conftest.$ac_ext <<_ACEOF |
18270 | /* end confdefs.h. */ | 19501 | /* end confdefs.h. */ |
18271 | $ac_includes_default | 19502 | $ac_includes_default |
19503 | typedef long int ac__type_sizeof_; | ||
18272 | int | 19504 | int |
18273 | main () | 19505 | main () |
18274 | { | 19506 | { |
18275 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)]; | 19507 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
18276 | test_array [0] = 0 | 19508 | test_array [0] = 0 |
18277 | 19509 | ||
18278 | ; | 19510 | ; |
@@ -18280,52 +19512,45 @@ test_array [0] = 0 | |||
18280 | } | 19512 | } |
18281 | _ACEOF | 19513 | _ACEOF |
18282 | rm -f conftest.$ac_objext | 19514 | rm -f conftest.$ac_objext |
18283 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19515 | if { (ac_try="$ac_compile" |
18284 | (eval $ac_compile) 2>conftest.er1 | 19516 | case "(($ac_try" in |
19517 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19518 | *) ac_try_echo=$ac_try;; | ||
19519 | esac | ||
19520 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19521 | (eval "$ac_compile") 2>conftest.er1 | ||
18285 | ac_status=$? | 19522 | ac_status=$? |
18286 | grep -v '^ *+' conftest.er1 >conftest.err | 19523 | grep -v '^ *+' conftest.er1 >conftest.err |
18287 | rm -f conftest.er1 | 19524 | rm -f conftest.er1 |
18288 | cat conftest.err >&5 | 19525 | cat conftest.err >&5 |
18289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18290 | (exit $ac_status); } && | 19527 | (exit $ac_status); } && { |
18291 | { ac_try='test -z "$ac_c_werror_flag" | 19528 | test -z "$ac_c_werror_flag" || |
18292 | || test ! -s conftest.err' | 19529 | test ! -s conftest.err |
18293 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19530 | } && test -s conftest.$ac_objext; then |
18294 | (eval $ac_try) 2>&5 | ||
18295 | ac_status=$? | ||
18296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18297 | (exit $ac_status); }; } && | ||
18298 | { ac_try='test -s conftest.$ac_objext' | ||
18299 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18300 | (eval $ac_try) 2>&5 | ||
18301 | ac_status=$? | ||
18302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18303 | (exit $ac_status); }; }; then | ||
18304 | ac_hi=$ac_mid | 19531 | ac_hi=$ac_mid |
18305 | else | 19532 | else |
18306 | echo "$as_me: failed program was:" >&5 | 19533 | echo "$as_me: failed program was:" >&5 |
18307 | sed 's/^/| /' conftest.$ac_ext >&5 | 19534 | sed 's/^/| /' conftest.$ac_ext >&5 |
18308 | 19535 | ||
18309 | ac_lo=`expr '(' $ac_mid ')' + 1` | 19536 | ac_lo=`expr '(' $ac_mid ')' + 1` |
18310 | fi | 19537 | fi |
18311 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19538 | |
19539 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18312 | done | 19540 | done |
18313 | case $ac_lo in | 19541 | case $ac_lo in |
18314 | ?*) ac_cv_sizeof_long_int=$ac_lo;; | 19542 | ?*) ac_cv_sizeof_long_int=$ac_lo;; |
18315 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77 | 19543 | '') if test "$ac_cv_type_long_int" = yes; then |
19544 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) | ||
18316 | See \`config.log' for more details." >&5 | 19545 | See \`config.log' for more details." >&5 |
18317 | echo "$as_me: error: cannot compute sizeof (long int), 77 | 19546 | echo "$as_me: error: cannot compute sizeof (long int) |
18318 | See \`config.log' for more details." >&2;} | 19547 | See \`config.log' for more details." >&2;} |
18319 | { (exit 1); exit 1; }; } ;; | 19548 | { (exit 77); exit 77; }; } |
19549 | else | ||
19550 | ac_cv_sizeof_long_int=0 | ||
19551 | fi ;; | ||
18320 | esac | 19552 | esac |
18321 | else | 19553 | else |
18322 | if test "$cross_compiling" = yes; then | ||
18323 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
18324 | See \`config.log' for more details." >&5 | ||
18325 | echo "$as_me: error: cannot run test program while cross compiling | ||
18326 | See \`config.log' for more details." >&2;} | ||
18327 | { (exit 1); exit 1; }; } | ||
18328 | else | ||
18329 | cat >conftest.$ac_ext <<_ACEOF | 19554 | cat >conftest.$ac_ext <<_ACEOF |
18330 | /* confdefs.h. */ | 19555 | /* confdefs.h. */ |
18331 | _ACEOF | 19556 | _ACEOF |
@@ -18333,8 +19558,9 @@ cat confdefs.h >>conftest.$ac_ext | |||
18333 | cat >>conftest.$ac_ext <<_ACEOF | 19558 | cat >>conftest.$ac_ext <<_ACEOF |
18334 | /* end confdefs.h. */ | 19559 | /* end confdefs.h. */ |
18335 | $ac_includes_default | 19560 | $ac_includes_default |
18336 | long longval () { return (long) (sizeof (long int)); } | 19561 | typedef long int ac__type_sizeof_; |
18337 | unsigned long ulongval () { return (long) (sizeof (long int)); } | 19562 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
19563 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
18338 | #include <stdio.h> | 19564 | #include <stdio.h> |
18339 | #include <stdlib.h> | 19565 | #include <stdlib.h> |
18340 | int | 19566 | int |
@@ -18343,35 +19569,44 @@ main () | |||
18343 | 19569 | ||
18344 | FILE *f = fopen ("conftest.val", "w"); | 19570 | FILE *f = fopen ("conftest.val", "w"); |
18345 | if (! f) | 19571 | if (! f) |
18346 | exit (1); | 19572 | return 1; |
18347 | if (((long) (sizeof (long int))) < 0) | 19573 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
18348 | { | 19574 | { |
18349 | long i = longval (); | 19575 | long int i = longval (); |
18350 | if (i != ((long) (sizeof (long int)))) | 19576 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
18351 | exit (1); | 19577 | return 1; |
18352 | fprintf (f, "%ld\n", i); | 19578 | fprintf (f, "%ld\n", i); |
18353 | } | 19579 | } |
18354 | else | 19580 | else |
18355 | { | 19581 | { |
18356 | unsigned long i = ulongval (); | 19582 | unsigned long int i = ulongval (); |
18357 | if (i != ((long) (sizeof (long int)))) | 19583 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
18358 | exit (1); | 19584 | return 1; |
18359 | fprintf (f, "%lu\n", i); | 19585 | fprintf (f, "%lu\n", i); |
18360 | } | 19586 | } |
18361 | exit (ferror (f) || fclose (f) != 0); | 19587 | return ferror (f) || fclose (f) != 0; |
18362 | 19588 | ||
18363 | ; | 19589 | ; |
18364 | return 0; | 19590 | return 0; |
18365 | } | 19591 | } |
18366 | _ACEOF | 19592 | _ACEOF |
18367 | rm -f conftest$ac_exeext | 19593 | rm -f conftest$ac_exeext |
18368 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19594 | if { (ac_try="$ac_link" |
18369 | (eval $ac_link) 2>&5 | 19595 | case "(($ac_try" in |
19596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19597 | *) ac_try_echo=$ac_try;; | ||
19598 | esac | ||
19599 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19600 | (eval "$ac_link") 2>&5 | ||
18370 | ac_status=$? | 19601 | ac_status=$? |
18371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18372 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 19603 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
18373 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19604 | { (case "(($ac_try" in |
18374 | (eval $ac_try) 2>&5 | 19605 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19606 | *) ac_try_echo=$ac_try;; | ||
19607 | esac | ||
19608 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19609 | (eval "$ac_try") 2>&5 | ||
18375 | ac_status=$? | 19610 | ac_status=$? |
18376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18377 | (exit $ac_status); }; }; then | 19612 | (exit $ac_status); }; }; then |
@@ -18382,29 +19617,32 @@ echo "$as_me: failed program was:" >&5 | |||
18382 | sed 's/^/| /' conftest.$ac_ext >&5 | 19617 | sed 's/^/| /' conftest.$ac_ext >&5 |
18383 | 19618 | ||
18384 | ( exit $ac_status ) | 19619 | ( exit $ac_status ) |
18385 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77 | 19620 | if test "$ac_cv_type_long_int" = yes; then |
19621 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) | ||
18386 | See \`config.log' for more details." >&5 | 19622 | See \`config.log' for more details." >&5 |
18387 | echo "$as_me: error: cannot compute sizeof (long int), 77 | 19623 | echo "$as_me: error: cannot compute sizeof (long int) |
18388 | See \`config.log' for more details." >&2;} | 19624 | See \`config.log' for more details." >&2;} |
18389 | { (exit 1); exit 1; }; } | 19625 | { (exit 77); exit 77; }; } |
18390 | fi | 19626 | else |
18391 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 19627 | ac_cv_sizeof_long_int=0 |
19628 | fi | ||
18392 | fi | 19629 | fi |
19630 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
18393 | fi | 19631 | fi |
18394 | rm -f conftest.val | 19632 | rm -f conftest.val |
18395 | else | ||
18396 | ac_cv_sizeof_long_int=0 | ||
18397 | fi | ||
18398 | fi | 19633 | fi |
18399 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 | 19634 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 |
18400 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 | 19635 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6; } |
19636 | |||
19637 | |||
19638 | |||
18401 | cat >>confdefs.h <<_ACEOF | 19639 | cat >>confdefs.h <<_ACEOF |
18402 | #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int | 19640 | #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int |
18403 | _ACEOF | 19641 | _ACEOF |
18404 | 19642 | ||
18405 | 19643 | ||
18406 | echo "$as_me:$LINENO: checking for long long int" >&5 | 19644 | { echo "$as_me:$LINENO: checking for long long int" >&5 |
18407 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6 | 19645 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6; } |
18408 | if test "${ac_cv_type_long_long_int+set}" = set; then | 19646 | if test "${ac_cv_type_long_long_int+set}" = set; then |
18409 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19647 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18410 | else | 19648 | else |
@@ -18415,61 +19653,57 @@ cat confdefs.h >>conftest.$ac_ext | |||
18415 | cat >>conftest.$ac_ext <<_ACEOF | 19653 | cat >>conftest.$ac_ext <<_ACEOF |
18416 | /* end confdefs.h. */ | 19654 | /* end confdefs.h. */ |
18417 | $ac_includes_default | 19655 | $ac_includes_default |
19656 | typedef long long int ac__type_new_; | ||
18418 | int | 19657 | int |
18419 | main () | 19658 | main () |
18420 | { | 19659 | { |
18421 | if ((long long int *) 0) | 19660 | if ((ac__type_new_ *) 0) |
18422 | return 0; | 19661 | return 0; |
18423 | if (sizeof (long long int)) | 19662 | if (sizeof (ac__type_new_)) |
18424 | return 0; | 19663 | return 0; |
18425 | ; | 19664 | ; |
18426 | return 0; | 19665 | return 0; |
18427 | } | 19666 | } |
18428 | _ACEOF | 19667 | _ACEOF |
18429 | rm -f conftest.$ac_objext | 19668 | rm -f conftest.$ac_objext |
18430 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19669 | if { (ac_try="$ac_compile" |
18431 | (eval $ac_compile) 2>conftest.er1 | 19670 | case "(($ac_try" in |
19671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19672 | *) ac_try_echo=$ac_try;; | ||
19673 | esac | ||
19674 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19675 | (eval "$ac_compile") 2>conftest.er1 | ||
18432 | ac_status=$? | 19676 | ac_status=$? |
18433 | grep -v '^ *+' conftest.er1 >conftest.err | 19677 | grep -v '^ *+' conftest.er1 >conftest.err |
18434 | rm -f conftest.er1 | 19678 | rm -f conftest.er1 |
18435 | cat conftest.err >&5 | 19679 | cat conftest.err >&5 |
18436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18437 | (exit $ac_status); } && | 19681 | (exit $ac_status); } && { |
18438 | { ac_try='test -z "$ac_c_werror_flag" | 19682 | test -z "$ac_c_werror_flag" || |
18439 | || test ! -s conftest.err' | 19683 | test ! -s conftest.err |
18440 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19684 | } && test -s conftest.$ac_objext; then |
18441 | (eval $ac_try) 2>&5 | ||
18442 | ac_status=$? | ||
18443 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18444 | (exit $ac_status); }; } && | ||
18445 | { ac_try='test -s conftest.$ac_objext' | ||
18446 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18447 | (eval $ac_try) 2>&5 | ||
18448 | ac_status=$? | ||
18449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18450 | (exit $ac_status); }; }; then | ||
18451 | ac_cv_type_long_long_int=yes | 19685 | ac_cv_type_long_long_int=yes |
18452 | else | 19686 | else |
18453 | echo "$as_me: failed program was:" >&5 | 19687 | echo "$as_me: failed program was:" >&5 |
18454 | sed 's/^/| /' conftest.$ac_ext >&5 | 19688 | sed 's/^/| /' conftest.$ac_ext >&5 |
18455 | 19689 | ||
18456 | ac_cv_type_long_long_int=no | 19690 | ac_cv_type_long_long_int=no |
18457 | fi | 19691 | fi |
18458 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19692 | |
19693 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18459 | fi | 19694 | fi |
18460 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 | 19695 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 |
18461 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 | 19696 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; } |
18462 | 19697 | ||
18463 | echo "$as_me:$LINENO: checking size of long long int" >&5 | 19698 | # The cast to long int works around a bug in the HP C Compiler |
18464 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 | 19699 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
19700 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
19701 | # This bug is HP SR number 8606223364. | ||
19702 | { echo "$as_me:$LINENO: checking size of long long int" >&5 | ||
19703 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; } | ||
18465 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then | 19704 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then |
18466 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19705 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18467 | else | 19706 | else |
18468 | if test "$ac_cv_type_long_long_int" = yes; then | ||
18469 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
18470 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
18471 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
18472 | # This bug is HP SR number 8606223364. | ||
18473 | if test "$cross_compiling" = yes; then | 19707 | if test "$cross_compiling" = yes; then |
18474 | # Depending upon the size, compute the lo and hi bounds. | 19708 | # Depending upon the size, compute the lo and hi bounds. |
18475 | cat >conftest.$ac_ext <<_ACEOF | 19709 | cat >conftest.$ac_ext <<_ACEOF |
@@ -18479,10 +19713,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
18479 | cat >>conftest.$ac_ext <<_ACEOF | 19713 | cat >>conftest.$ac_ext <<_ACEOF |
18480 | /* end confdefs.h. */ | 19714 | /* end confdefs.h. */ |
18481 | $ac_includes_default | 19715 | $ac_includes_default |
19716 | typedef long long int ac__type_sizeof_; | ||
18482 | int | 19717 | int |
18483 | main () | 19718 | main () |
18484 | { | 19719 | { |
18485 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)]; | 19720 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
18486 | test_array [0] = 0 | 19721 | test_array [0] = 0 |
18487 | 19722 | ||
18488 | ; | 19723 | ; |
@@ -18490,27 +19725,22 @@ test_array [0] = 0 | |||
18490 | } | 19725 | } |
18491 | _ACEOF | 19726 | _ACEOF |
18492 | rm -f conftest.$ac_objext | 19727 | rm -f conftest.$ac_objext |
18493 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19728 | if { (ac_try="$ac_compile" |
18494 | (eval $ac_compile) 2>conftest.er1 | 19729 | case "(($ac_try" in |
19730 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19731 | *) ac_try_echo=$ac_try;; | ||
19732 | esac | ||
19733 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19734 | (eval "$ac_compile") 2>conftest.er1 | ||
18495 | ac_status=$? | 19735 | ac_status=$? |
18496 | grep -v '^ *+' conftest.er1 >conftest.err | 19736 | grep -v '^ *+' conftest.er1 >conftest.err |
18497 | rm -f conftest.er1 | 19737 | rm -f conftest.er1 |
18498 | cat conftest.err >&5 | 19738 | cat conftest.err >&5 |
18499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18500 | (exit $ac_status); } && | 19740 | (exit $ac_status); } && { |
18501 | { ac_try='test -z "$ac_c_werror_flag" | 19741 | test -z "$ac_c_werror_flag" || |
18502 | || test ! -s conftest.err' | 19742 | test ! -s conftest.err |
18503 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19743 | } && test -s conftest.$ac_objext; then |
18504 | (eval $ac_try) 2>&5 | ||
18505 | ac_status=$? | ||
18506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18507 | (exit $ac_status); }; } && | ||
18508 | { ac_try='test -s conftest.$ac_objext' | ||
18509 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18510 | (eval $ac_try) 2>&5 | ||
18511 | ac_status=$? | ||
18512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18513 | (exit $ac_status); }; }; then | ||
18514 | ac_lo=0 ac_mid=0 | 19744 | ac_lo=0 ac_mid=0 |
18515 | while :; do | 19745 | while :; do |
18516 | cat >conftest.$ac_ext <<_ACEOF | 19746 | cat >conftest.$ac_ext <<_ACEOF |
@@ -18520,10 +19750,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
18520 | cat >>conftest.$ac_ext <<_ACEOF | 19750 | cat >>conftest.$ac_ext <<_ACEOF |
18521 | /* end confdefs.h. */ | 19751 | /* end confdefs.h. */ |
18522 | $ac_includes_default | 19752 | $ac_includes_default |
19753 | typedef long long int ac__type_sizeof_; | ||
18523 | int | 19754 | int |
18524 | main () | 19755 | main () |
18525 | { | 19756 | { |
18526 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)]; | 19757 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
18527 | test_array [0] = 0 | 19758 | test_array [0] = 0 |
18528 | 19759 | ||
18529 | ; | 19760 | ; |
@@ -18531,56 +19762,53 @@ test_array [0] = 0 | |||
18531 | } | 19762 | } |
18532 | _ACEOF | 19763 | _ACEOF |
18533 | rm -f conftest.$ac_objext | 19764 | rm -f conftest.$ac_objext |
18534 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19765 | if { (ac_try="$ac_compile" |
18535 | (eval $ac_compile) 2>conftest.er1 | 19766 | case "(($ac_try" in |
19767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19768 | *) ac_try_echo=$ac_try;; | ||
19769 | esac | ||
19770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19771 | (eval "$ac_compile") 2>conftest.er1 | ||
18536 | ac_status=$? | 19772 | ac_status=$? |
18537 | grep -v '^ *+' conftest.er1 >conftest.err | 19773 | grep -v '^ *+' conftest.er1 >conftest.err |
18538 | rm -f conftest.er1 | 19774 | rm -f conftest.er1 |
18539 | cat conftest.err >&5 | 19775 | cat conftest.err >&5 |
18540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18541 | (exit $ac_status); } && | 19777 | (exit $ac_status); } && { |
18542 | { ac_try='test -z "$ac_c_werror_flag" | 19778 | test -z "$ac_c_werror_flag" || |
18543 | || test ! -s conftest.err' | 19779 | test ! -s conftest.err |
18544 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19780 | } && test -s conftest.$ac_objext; then |
18545 | (eval $ac_try) 2>&5 | ||
18546 | ac_status=$? | ||
18547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18548 | (exit $ac_status); }; } && | ||
18549 | { ac_try='test -s conftest.$ac_objext' | ||
18550 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18551 | (eval $ac_try) 2>&5 | ||
18552 | ac_status=$? | ||
18553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18554 | (exit $ac_status); }; }; then | ||
18555 | ac_hi=$ac_mid; break | 19781 | ac_hi=$ac_mid; break |
18556 | else | 19782 | else |
18557 | echo "$as_me: failed program was:" >&5 | 19783 | echo "$as_me: failed program was:" >&5 |
18558 | sed 's/^/| /' conftest.$ac_ext >&5 | 19784 | sed 's/^/| /' conftest.$ac_ext >&5 |
18559 | 19785 | ||
18560 | ac_lo=`expr $ac_mid + 1` | 19786 | ac_lo=`expr $ac_mid + 1` |
18561 | if test $ac_lo -le $ac_mid; then | 19787 | if test $ac_lo -le $ac_mid; then |
18562 | ac_lo= ac_hi= | 19788 | ac_lo= ac_hi= |
18563 | break | 19789 | break |
18564 | fi | 19790 | fi |
18565 | ac_mid=`expr 2 '*' $ac_mid + 1` | 19791 | ac_mid=`expr 2 '*' $ac_mid + 1` |
18566 | fi | 19792 | fi |
18567 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19793 | |
19794 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18568 | done | 19795 | done |
18569 | else | 19796 | else |
18570 | echo "$as_me: failed program was:" >&5 | 19797 | echo "$as_me: failed program was:" >&5 |
18571 | sed 's/^/| /' conftest.$ac_ext >&5 | 19798 | sed 's/^/| /' conftest.$ac_ext >&5 |
18572 | 19799 | ||
18573 | cat >conftest.$ac_ext <<_ACEOF | 19800 | cat >conftest.$ac_ext <<_ACEOF |
18574 | /* confdefs.h. */ | 19801 | /* confdefs.h. */ |
18575 | _ACEOF | 19802 | _ACEOF |
18576 | cat confdefs.h >>conftest.$ac_ext | 19803 | cat confdefs.h >>conftest.$ac_ext |
18577 | cat >>conftest.$ac_ext <<_ACEOF | 19804 | cat >>conftest.$ac_ext <<_ACEOF |
18578 | /* end confdefs.h. */ | 19805 | /* end confdefs.h. */ |
18579 | $ac_includes_default | 19806 | $ac_includes_default |
19807 | typedef long long int ac__type_sizeof_; | ||
18580 | int | 19808 | int |
18581 | main () | 19809 | main () |
18582 | { | 19810 | { |
18583 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)]; | 19811 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
18584 | test_array [0] = 0 | 19812 | test_array [0] = 0 |
18585 | 19813 | ||
18586 | ; | 19814 | ; |
@@ -18588,27 +19816,22 @@ test_array [0] = 0 | |||
18588 | } | 19816 | } |
18589 | _ACEOF | 19817 | _ACEOF |
18590 | rm -f conftest.$ac_objext | 19818 | rm -f conftest.$ac_objext |
18591 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19819 | if { (ac_try="$ac_compile" |
18592 | (eval $ac_compile) 2>conftest.er1 | 19820 | case "(($ac_try" in |
19821 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19822 | *) ac_try_echo=$ac_try;; | ||
19823 | esac | ||
19824 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19825 | (eval "$ac_compile") 2>conftest.er1 | ||
18593 | ac_status=$? | 19826 | ac_status=$? |
18594 | grep -v '^ *+' conftest.er1 >conftest.err | 19827 | grep -v '^ *+' conftest.er1 >conftest.err |
18595 | rm -f conftest.er1 | 19828 | rm -f conftest.er1 |
18596 | cat conftest.err >&5 | 19829 | cat conftest.err >&5 |
18597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18598 | (exit $ac_status); } && | 19831 | (exit $ac_status); } && { |
18599 | { ac_try='test -z "$ac_c_werror_flag" | 19832 | test -z "$ac_c_werror_flag" || |
18600 | || test ! -s conftest.err' | 19833 | test ! -s conftest.err |
18601 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19834 | } && test -s conftest.$ac_objext; then |
18602 | (eval $ac_try) 2>&5 | ||
18603 | ac_status=$? | ||
18604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18605 | (exit $ac_status); }; } && | ||
18606 | { ac_try='test -s conftest.$ac_objext' | ||
18607 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18608 | (eval $ac_try) 2>&5 | ||
18609 | ac_status=$? | ||
18610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18611 | (exit $ac_status); }; }; then | ||
18612 | ac_hi=-1 ac_mid=-1 | 19835 | ac_hi=-1 ac_mid=-1 |
18613 | while :; do | 19836 | while :; do |
18614 | cat >conftest.$ac_ext <<_ACEOF | 19837 | cat >conftest.$ac_ext <<_ACEOF |
@@ -18618,10 +19841,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
18618 | cat >>conftest.$ac_ext <<_ACEOF | 19841 | cat >>conftest.$ac_ext <<_ACEOF |
18619 | /* end confdefs.h. */ | 19842 | /* end confdefs.h. */ |
18620 | $ac_includes_default | 19843 | $ac_includes_default |
19844 | typedef long long int ac__type_sizeof_; | ||
18621 | int | 19845 | int |
18622 | main () | 19846 | main () |
18623 | { | 19847 | { |
18624 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)]; | 19848 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
18625 | test_array [0] = 0 | 19849 | test_array [0] = 0 |
18626 | 19850 | ||
18627 | ; | 19851 | ; |
@@ -18629,50 +19853,48 @@ test_array [0] = 0 | |||
18629 | } | 19853 | } |
18630 | _ACEOF | 19854 | _ACEOF |
18631 | rm -f conftest.$ac_objext | 19855 | rm -f conftest.$ac_objext |
18632 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19856 | if { (ac_try="$ac_compile" |
18633 | (eval $ac_compile) 2>conftest.er1 | 19857 | case "(($ac_try" in |
19858 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19859 | *) ac_try_echo=$ac_try;; | ||
19860 | esac | ||
19861 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19862 | (eval "$ac_compile") 2>conftest.er1 | ||
18634 | ac_status=$? | 19863 | ac_status=$? |
18635 | grep -v '^ *+' conftest.er1 >conftest.err | 19864 | grep -v '^ *+' conftest.er1 >conftest.err |
18636 | rm -f conftest.er1 | 19865 | rm -f conftest.er1 |
18637 | cat conftest.err >&5 | 19866 | cat conftest.err >&5 |
18638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18639 | (exit $ac_status); } && | 19868 | (exit $ac_status); } && { |
18640 | { ac_try='test -z "$ac_c_werror_flag" | 19869 | test -z "$ac_c_werror_flag" || |
18641 | || test ! -s conftest.err' | 19870 | test ! -s conftest.err |
18642 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19871 | } && test -s conftest.$ac_objext; then |
18643 | (eval $ac_try) 2>&5 | ||
18644 | ac_status=$? | ||
18645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18646 | (exit $ac_status); }; } && | ||
18647 | { ac_try='test -s conftest.$ac_objext' | ||
18648 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18649 | (eval $ac_try) 2>&5 | ||
18650 | ac_status=$? | ||
18651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18652 | (exit $ac_status); }; }; then | ||
18653 | ac_lo=$ac_mid; break | 19872 | ac_lo=$ac_mid; break |
18654 | else | 19873 | else |
18655 | echo "$as_me: failed program was:" >&5 | 19874 | echo "$as_me: failed program was:" >&5 |
18656 | sed 's/^/| /' conftest.$ac_ext >&5 | 19875 | sed 's/^/| /' conftest.$ac_ext >&5 |
18657 | 19876 | ||
18658 | ac_hi=`expr '(' $ac_mid ')' - 1` | 19877 | ac_hi=`expr '(' $ac_mid ')' - 1` |
18659 | if test $ac_mid -le $ac_hi; then | 19878 | if test $ac_mid -le $ac_hi; then |
18660 | ac_lo= ac_hi= | 19879 | ac_lo= ac_hi= |
18661 | break | 19880 | break |
18662 | fi | 19881 | fi |
18663 | ac_mid=`expr 2 '*' $ac_mid` | 19882 | ac_mid=`expr 2 '*' $ac_mid` |
18664 | fi | 19883 | fi |
18665 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19884 | |
19885 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18666 | done | 19886 | done |
18667 | else | 19887 | else |
18668 | echo "$as_me: failed program was:" >&5 | 19888 | echo "$as_me: failed program was:" >&5 |
18669 | sed 's/^/| /' conftest.$ac_ext >&5 | 19889 | sed 's/^/| /' conftest.$ac_ext >&5 |
18670 | 19890 | ||
18671 | ac_lo= ac_hi= | 19891 | ac_lo= ac_hi= |
18672 | fi | 19892 | fi |
18673 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19893 | |
19894 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18674 | fi | 19895 | fi |
18675 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19896 | |
19897 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18676 | # Binary search between lo and hi bounds. | 19898 | # Binary search between lo and hi bounds. |
18677 | while test "x$ac_lo" != "x$ac_hi"; do | 19899 | while test "x$ac_lo" != "x$ac_hi"; do |
18678 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 19900 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
@@ -18683,10 +19905,11 @@ cat confdefs.h >>conftest.$ac_ext | |||
18683 | cat >>conftest.$ac_ext <<_ACEOF | 19905 | cat >>conftest.$ac_ext <<_ACEOF |
18684 | /* end confdefs.h. */ | 19906 | /* end confdefs.h. */ |
18685 | $ac_includes_default | 19907 | $ac_includes_default |
19908 | typedef long long int ac__type_sizeof_; | ||
18686 | int | 19909 | int |
18687 | main () | 19910 | main () |
18688 | { | 19911 | { |
18689 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)]; | 19912 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
18690 | test_array [0] = 0 | 19913 | test_array [0] = 0 |
18691 | 19914 | ||
18692 | ; | 19915 | ; |
@@ -18694,52 +19917,45 @@ test_array [0] = 0 | |||
18694 | } | 19917 | } |
18695 | _ACEOF | 19918 | _ACEOF |
18696 | rm -f conftest.$ac_objext | 19919 | rm -f conftest.$ac_objext |
18697 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19920 | if { (ac_try="$ac_compile" |
18698 | (eval $ac_compile) 2>conftest.er1 | 19921 | case "(($ac_try" in |
19922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19923 | *) ac_try_echo=$ac_try;; | ||
19924 | esac | ||
19925 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19926 | (eval "$ac_compile") 2>conftest.er1 | ||
18699 | ac_status=$? | 19927 | ac_status=$? |
18700 | grep -v '^ *+' conftest.er1 >conftest.err | 19928 | grep -v '^ *+' conftest.er1 >conftest.err |
18701 | rm -f conftest.er1 | 19929 | rm -f conftest.er1 |
18702 | cat conftest.err >&5 | 19930 | cat conftest.err >&5 |
18703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18704 | (exit $ac_status); } && | 19932 | (exit $ac_status); } && { |
18705 | { ac_try='test -z "$ac_c_werror_flag" | 19933 | test -z "$ac_c_werror_flag" || |
18706 | || test ! -s conftest.err' | 19934 | test ! -s conftest.err |
18707 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19935 | } && test -s conftest.$ac_objext; then |
18708 | (eval $ac_try) 2>&5 | ||
18709 | ac_status=$? | ||
18710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18711 | (exit $ac_status); }; } && | ||
18712 | { ac_try='test -s conftest.$ac_objext' | ||
18713 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18714 | (eval $ac_try) 2>&5 | ||
18715 | ac_status=$? | ||
18716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18717 | (exit $ac_status); }; }; then | ||
18718 | ac_hi=$ac_mid | 19936 | ac_hi=$ac_mid |
18719 | else | 19937 | else |
18720 | echo "$as_me: failed program was:" >&5 | 19938 | echo "$as_me: failed program was:" >&5 |
18721 | sed 's/^/| /' conftest.$ac_ext >&5 | 19939 | sed 's/^/| /' conftest.$ac_ext >&5 |
18722 | 19940 | ||
18723 | ac_lo=`expr '(' $ac_mid ')' + 1` | 19941 | ac_lo=`expr '(' $ac_mid ')' + 1` |
18724 | fi | 19942 | fi |
18725 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19943 | |
19944 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18726 | done | 19945 | done |
18727 | case $ac_lo in | 19946 | case $ac_lo in |
18728 | ?*) ac_cv_sizeof_long_long_int=$ac_lo;; | 19947 | ?*) ac_cv_sizeof_long_long_int=$ac_lo;; |
18729 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77 | 19948 | '') if test "$ac_cv_type_long_long_int" = yes; then |
19949 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) | ||
18730 | See \`config.log' for more details." >&5 | 19950 | See \`config.log' for more details." >&5 |
18731 | echo "$as_me: error: cannot compute sizeof (long long int), 77 | 19951 | echo "$as_me: error: cannot compute sizeof (long long int) |
18732 | See \`config.log' for more details." >&2;} | 19952 | See \`config.log' for more details." >&2;} |
18733 | { (exit 1); exit 1; }; } ;; | 19953 | { (exit 77); exit 77; }; } |
19954 | else | ||
19955 | ac_cv_sizeof_long_long_int=0 | ||
19956 | fi ;; | ||
18734 | esac | 19957 | esac |
18735 | else | 19958 | else |
18736 | if test "$cross_compiling" = yes; then | ||
18737 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
18738 | See \`config.log' for more details." >&5 | ||
18739 | echo "$as_me: error: cannot run test program while cross compiling | ||
18740 | See \`config.log' for more details." >&2;} | ||
18741 | { (exit 1); exit 1; }; } | ||
18742 | else | ||
18743 | cat >conftest.$ac_ext <<_ACEOF | 19959 | cat >conftest.$ac_ext <<_ACEOF |
18744 | /* confdefs.h. */ | 19960 | /* confdefs.h. */ |
18745 | _ACEOF | 19961 | _ACEOF |
@@ -18747,8 +19963,9 @@ cat confdefs.h >>conftest.$ac_ext | |||
18747 | cat >>conftest.$ac_ext <<_ACEOF | 19963 | cat >>conftest.$ac_ext <<_ACEOF |
18748 | /* end confdefs.h. */ | 19964 | /* end confdefs.h. */ |
18749 | $ac_includes_default | 19965 | $ac_includes_default |
18750 | long longval () { return (long) (sizeof (long long int)); } | 19966 | typedef long long int ac__type_sizeof_; |
18751 | unsigned long ulongval () { return (long) (sizeof (long long int)); } | 19967 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
19968 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
18752 | #include <stdio.h> | 19969 | #include <stdio.h> |
18753 | #include <stdlib.h> | 19970 | #include <stdlib.h> |
18754 | int | 19971 | int |
@@ -18757,35 +19974,44 @@ main () | |||
18757 | 19974 | ||
18758 | FILE *f = fopen ("conftest.val", "w"); | 19975 | FILE *f = fopen ("conftest.val", "w"); |
18759 | if (! f) | 19976 | if (! f) |
18760 | exit (1); | 19977 | return 1; |
18761 | if (((long) (sizeof (long long int))) < 0) | 19978 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
18762 | { | 19979 | { |
18763 | long i = longval (); | 19980 | long int i = longval (); |
18764 | if (i != ((long) (sizeof (long long int)))) | 19981 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
18765 | exit (1); | 19982 | return 1; |
18766 | fprintf (f, "%ld\n", i); | 19983 | fprintf (f, "%ld\n", i); |
18767 | } | 19984 | } |
18768 | else | 19985 | else |
18769 | { | 19986 | { |
18770 | unsigned long i = ulongval (); | 19987 | unsigned long int i = ulongval (); |
18771 | if (i != ((long) (sizeof (long long int)))) | 19988 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
18772 | exit (1); | 19989 | return 1; |
18773 | fprintf (f, "%lu\n", i); | 19990 | fprintf (f, "%lu\n", i); |
18774 | } | 19991 | } |
18775 | exit (ferror (f) || fclose (f) != 0); | 19992 | return ferror (f) || fclose (f) != 0; |
18776 | 19993 | ||
18777 | ; | 19994 | ; |
18778 | return 0; | 19995 | return 0; |
18779 | } | 19996 | } |
18780 | _ACEOF | 19997 | _ACEOF |
18781 | rm -f conftest$ac_exeext | 19998 | rm -f conftest$ac_exeext |
18782 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19999 | if { (ac_try="$ac_link" |
18783 | (eval $ac_link) 2>&5 | 20000 | case "(($ac_try" in |
20001 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20002 | *) ac_try_echo=$ac_try;; | ||
20003 | esac | ||
20004 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20005 | (eval "$ac_link") 2>&5 | ||
18784 | ac_status=$? | 20006 | ac_status=$? |
18785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18786 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 20008 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
18787 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20009 | { (case "(($ac_try" in |
18788 | (eval $ac_try) 2>&5 | 20010 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20011 | *) ac_try_echo=$ac_try;; | ||
20012 | esac | ||
20013 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20014 | (eval "$ac_try") 2>&5 | ||
18789 | ac_status=$? | 20015 | ac_status=$? |
18790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20016 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18791 | (exit $ac_status); }; }; then | 20017 | (exit $ac_status); }; }; then |
@@ -18796,22 +20022,25 @@ echo "$as_me: failed program was:" >&5 | |||
18796 | sed 's/^/| /' conftest.$ac_ext >&5 | 20022 | sed 's/^/| /' conftest.$ac_ext >&5 |
18797 | 20023 | ||
18798 | ( exit $ac_status ) | 20024 | ( exit $ac_status ) |
18799 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77 | 20025 | if test "$ac_cv_type_long_long_int" = yes; then |
20026 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) | ||
18800 | See \`config.log' for more details." >&5 | 20027 | See \`config.log' for more details." >&5 |
18801 | echo "$as_me: error: cannot compute sizeof (long long int), 77 | 20028 | echo "$as_me: error: cannot compute sizeof (long long int) |
18802 | See \`config.log' for more details." >&2;} | 20029 | See \`config.log' for more details." >&2;} |
18803 | { (exit 1); exit 1; }; } | 20030 | { (exit 77); exit 77; }; } |
18804 | fi | 20031 | else |
18805 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20032 | ac_cv_sizeof_long_long_int=0 |
20033 | fi | ||
18806 | fi | 20034 | fi |
20035 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
18807 | fi | 20036 | fi |
18808 | rm -f conftest.val | 20037 | rm -f conftest.val |
18809 | else | ||
18810 | ac_cv_sizeof_long_long_int=0 | ||
18811 | fi | ||
18812 | fi | 20038 | fi |
18813 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 | 20039 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 |
18814 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 | 20040 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; } |
20041 | |||
20042 | |||
20043 | |||
18815 | cat >>confdefs.h <<_ACEOF | 20044 | cat >>confdefs.h <<_ACEOF |
18816 | #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int | 20045 | #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int |
18817 | _ACEOF | 20046 | _ACEOF |
@@ -18825,8 +20054,8 @@ fi | |||
18825 | 20054 | ||
18826 | # compute LLONG_MIN and LLONG_MAX if we don't know them. | 20055 | # compute LLONG_MIN and LLONG_MAX if we don't know them. |
18827 | if test -z "$have_llong_max"; then | 20056 | if test -z "$have_llong_max"; then |
18828 | echo "$as_me:$LINENO: checking for max value of long long" >&5 | 20057 | { echo "$as_me:$LINENO: checking for max value of long long" >&5 |
18829 | echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6 | 20058 | echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6; } |
18830 | if test "$cross_compiling" = yes; then | 20059 | if test "$cross_compiling" = yes; then |
18831 | 20060 | ||
18832 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | 20061 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
@@ -18849,6 +20078,34 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
18849 | #define __USE_ISOC99 | 20078 | #define __USE_ISOC99 |
18850 | #include <limits.h> | 20079 | #include <limits.h> |
18851 | #define DATA "conftest.llminmax" | 20080 | #define DATA "conftest.llminmax" |
20081 | #define my_abs(a) ((a) < 0 ? ((a) * -1) : (a)) | ||
20082 | |||
20083 | /* | ||
20084 | * printf in libc on some platforms (eg old Tru64) does not understand %lld so | ||
20085 | * we do this the hard way. | ||
20086 | */ | ||
20087 | static int | ||
20088 | fprint_ll(FILE *f, long long n) | ||
20089 | { | ||
20090 | unsigned int i; | ||
20091 | int l[sizeof(long long) * 8]; | ||
20092 | |||
20093 | if (n < 0) | ||
20094 | if (fprintf(f, "-") < 0) | ||
20095 | return -1; | ||
20096 | for (i = 0; n != 0; i++) { | ||
20097 | l[i] = my_abs(n % 10); | ||
20098 | n /= 10; | ||
20099 | } | ||
20100 | do { | ||
20101 | if (fprintf(f, "%d", l[--i]) < 0) | ||
20102 | return -1; | ||
20103 | } while (i != 0); | ||
20104 | if (fprintf(f, " ") < 0) | ||
20105 | return -1; | ||
20106 | return 0; | ||
20107 | } | ||
20108 | |||
18852 | int main(void) { | 20109 | int main(void) { |
18853 | FILE *f; | 20110 | FILE *f; |
18854 | long long i, llmin, llmax = 0; | 20111 | long long i, llmin, llmax = 0; |
@@ -18870,26 +20127,39 @@ int main(void) { | |||
18870 | 20127 | ||
18871 | /* Sanity check */ | 20128 | /* Sanity check */ |
18872 | if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax | 20129 | if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax |
18873 | || llmax - 1 > llmax) { | 20130 | || llmax - 1 > llmax || llmin == llmax || llmin == 0 |
20131 | || llmax == 0 || llmax < LONG_MAX || llmin > LONG_MIN) { | ||
18874 | fprintf(f, "unknown unknown\n"); | 20132 | fprintf(f, "unknown unknown\n"); |
18875 | exit(2); | 20133 | exit(2); |
18876 | } | 20134 | } |
18877 | 20135 | ||
18878 | if (fprintf(f ,"%lld %lld", llmin, llmax) < 0) | 20136 | if (fprint_ll(f, llmin) < 0) |
18879 | exit(3); | 20137 | exit(3); |
18880 | 20138 | if (fprint_ll(f, llmax) < 0) | |
20139 | exit(4); | ||
20140 | if (fclose(f) < 0) | ||
20141 | exit(5); | ||
18881 | exit(0); | 20142 | exit(0); |
18882 | } | 20143 | } |
18883 | 20144 | ||
18884 | _ACEOF | 20145 | _ACEOF |
18885 | rm -f conftest$ac_exeext | 20146 | rm -f conftest$ac_exeext |
18886 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20147 | if { (ac_try="$ac_link" |
18887 | (eval $ac_link) 2>&5 | 20148 | case "(($ac_try" in |
20149 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20150 | *) ac_try_echo=$ac_try;; | ||
20151 | esac | ||
20152 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20153 | (eval "$ac_link") 2>&5 | ||
18888 | ac_status=$? | 20154 | ac_status=$? |
18889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18890 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 20156 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
18891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20157 | { (case "(($ac_try" in |
18892 | (eval $ac_try) 2>&5 | 20158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20159 | *) ac_try_echo=$ac_try;; | ||
20160 | esac | ||
20161 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20162 | (eval "$ac_try") 2>&5 | ||
18893 | ac_status=$? | 20163 | ac_status=$? |
18894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18895 | (exit $ac_status); }; }; then | 20165 | (exit $ac_status); }; }; then |
@@ -18897,28 +20167,17 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
18897 | llong_min=`$AWK '{print $1}' conftest.llminmax` | 20167 | llong_min=`$AWK '{print $1}' conftest.llminmax` |
18898 | llong_max=`$AWK '{print $2}' conftest.llminmax` | 20168 | llong_max=`$AWK '{print $2}' conftest.llminmax` |
18899 | 20169 | ||
18900 | # snprintf on some Tru64s doesn't understand "%lld" | 20170 | { echo "$as_me:$LINENO: result: $llong_max" >&5 |
18901 | case "$host" in | 20171 | echo "${ECHO_T}$llong_max" >&6; } |
18902 | alpha-dec-osf*) | ||
18903 | if test "x$ac_cv_sizeof_long_long_int" = "x8" && | ||
18904 | test "x$llong_max" = "xld"; then | ||
18905 | llong_min="-9223372036854775808" | ||
18906 | llong_max="9223372036854775807" | ||
18907 | fi | ||
18908 | ;; | ||
18909 | esac | ||
18910 | |||
18911 | echo "$as_me:$LINENO: result: $llong_max" >&5 | ||
18912 | echo "${ECHO_T}$llong_max" >&6 | ||
18913 | 20172 | ||
18914 | cat >>confdefs.h <<_ACEOF | 20173 | cat >>confdefs.h <<_ACEOF |
18915 | #define LLONG_MAX ${llong_max}LL | 20174 | #define LLONG_MAX ${llong_max}LL |
18916 | _ACEOF | 20175 | _ACEOF |
18917 | 20176 | ||
18918 | echo "$as_me:$LINENO: checking for min value of long long" >&5 | 20177 | { echo "$as_me:$LINENO: checking for min value of long long" >&5 |
18919 | echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6 | 20178 | echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6; } |
18920 | echo "$as_me:$LINENO: result: $llong_min" >&5 | 20179 | { echo "$as_me:$LINENO: result: $llong_min" >&5 |
18921 | echo "${ECHO_T}$llong_min" >&6 | 20180 | echo "${ECHO_T}$llong_min" >&6; } |
18922 | 20181 | ||
18923 | cat >>confdefs.h <<_ACEOF | 20182 | cat >>confdefs.h <<_ACEOF |
18924 | #define LLONG_MIN ${llong_min}LL | 20183 | #define LLONG_MIN ${llong_min}LL |
@@ -18932,18 +20191,20 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
18932 | 20191 | ||
18933 | ( exit $ac_status ) | 20192 | ( exit $ac_status ) |
18934 | 20193 | ||
18935 | echo "$as_me:$LINENO: result: not found" >&5 | 20194 | { echo "$as_me:$LINENO: result: not found" >&5 |
18936 | echo "${ECHO_T}not found" >&6 | 20195 | echo "${ECHO_T}not found" >&6; } |
18937 | 20196 | ||
18938 | fi | 20197 | fi |
18939 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20198 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
18940 | fi | 20199 | fi |
20200 | |||
20201 | |||
18941 | fi | 20202 | fi |
18942 | 20203 | ||
18943 | 20204 | ||
18944 | # More checks for data types | 20205 | # More checks for data types |
18945 | echo "$as_me:$LINENO: checking for u_int type" >&5 | 20206 | { echo "$as_me:$LINENO: checking for u_int type" >&5 |
18946 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 | 20207 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6; } |
18947 | if test "${ac_cv_have_u_int+set}" = set; then | 20208 | if test "${ac_cv_have_u_int+set}" = set; then |
18948 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20209 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18949 | else | 20210 | else |
@@ -18964,40 +20225,36 @@ main () | |||
18964 | } | 20225 | } |
18965 | _ACEOF | 20226 | _ACEOF |
18966 | rm -f conftest.$ac_objext | 20227 | rm -f conftest.$ac_objext |
18967 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20228 | if { (ac_try="$ac_compile" |
18968 | (eval $ac_compile) 2>conftest.er1 | 20229 | case "(($ac_try" in |
20230 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20231 | *) ac_try_echo=$ac_try;; | ||
20232 | esac | ||
20233 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20234 | (eval "$ac_compile") 2>conftest.er1 | ||
18969 | ac_status=$? | 20235 | ac_status=$? |
18970 | grep -v '^ *+' conftest.er1 >conftest.err | 20236 | grep -v '^ *+' conftest.er1 >conftest.err |
18971 | rm -f conftest.er1 | 20237 | rm -f conftest.er1 |
18972 | cat conftest.err >&5 | 20238 | cat conftest.err >&5 |
18973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18974 | (exit $ac_status); } && | 20240 | (exit $ac_status); } && { |
18975 | { ac_try='test -z "$ac_c_werror_flag" | 20241 | test -z "$ac_c_werror_flag" || |
18976 | || test ! -s conftest.err' | 20242 | test ! -s conftest.err |
18977 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20243 | } && test -s conftest.$ac_objext; then |
18978 | (eval $ac_try) 2>&5 | ||
18979 | ac_status=$? | ||
18980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18981 | (exit $ac_status); }; } && | ||
18982 | { ac_try='test -s conftest.$ac_objext' | ||
18983 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
18984 | (eval $ac_try) 2>&5 | ||
18985 | ac_status=$? | ||
18986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18987 | (exit $ac_status); }; }; then | ||
18988 | ac_cv_have_u_int="yes" | 20244 | ac_cv_have_u_int="yes" |
18989 | else | 20245 | else |
18990 | echo "$as_me: failed program was:" >&5 | 20246 | echo "$as_me: failed program was:" >&5 |
18991 | sed 's/^/| /' conftest.$ac_ext >&5 | 20247 | sed 's/^/| /' conftest.$ac_ext >&5 |
18992 | 20248 | ||
18993 | ac_cv_have_u_int="no" | 20249 | ac_cv_have_u_int="no" |
18994 | 20250 | ||
18995 | fi | 20251 | fi |
18996 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20252 | |
20253 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18997 | 20254 | ||
18998 | fi | 20255 | fi |
18999 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 | 20256 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 |
19000 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 | 20257 | echo "${ECHO_T}$ac_cv_have_u_int" >&6; } |
19001 | if test "x$ac_cv_have_u_int" = "xyes" ; then | 20258 | if test "x$ac_cv_have_u_int" = "xyes" ; then |
19002 | 20259 | ||
19003 | cat >>confdefs.h <<\_ACEOF | 20260 | cat >>confdefs.h <<\_ACEOF |
@@ -19007,8 +20264,8 @@ _ACEOF | |||
19007 | have_u_int=1 | 20264 | have_u_int=1 |
19008 | fi | 20265 | fi |
19009 | 20266 | ||
19010 | echo "$as_me:$LINENO: checking for intXX_t types" >&5 | 20267 | { echo "$as_me:$LINENO: checking for intXX_t types" >&5 |
19011 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 | 20268 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6; } |
19012 | if test "${ac_cv_have_intxx_t+set}" = set; then | 20269 | if test "${ac_cv_have_intxx_t+set}" = set; then |
19013 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20270 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19014 | else | 20271 | else |
@@ -19029,40 +20286,36 @@ main () | |||
19029 | } | 20286 | } |
19030 | _ACEOF | 20287 | _ACEOF |
19031 | rm -f conftest.$ac_objext | 20288 | rm -f conftest.$ac_objext |
19032 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20289 | if { (ac_try="$ac_compile" |
19033 | (eval $ac_compile) 2>conftest.er1 | 20290 | case "(($ac_try" in |
20291 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20292 | *) ac_try_echo=$ac_try;; | ||
20293 | esac | ||
20294 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20295 | (eval "$ac_compile") 2>conftest.er1 | ||
19034 | ac_status=$? | 20296 | ac_status=$? |
19035 | grep -v '^ *+' conftest.er1 >conftest.err | 20297 | grep -v '^ *+' conftest.er1 >conftest.err |
19036 | rm -f conftest.er1 | 20298 | rm -f conftest.er1 |
19037 | cat conftest.err >&5 | 20299 | cat conftest.err >&5 |
19038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19039 | (exit $ac_status); } && | 20301 | (exit $ac_status); } && { |
19040 | { ac_try='test -z "$ac_c_werror_flag" | 20302 | test -z "$ac_c_werror_flag" || |
19041 | || test ! -s conftest.err' | 20303 | test ! -s conftest.err |
19042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20304 | } && test -s conftest.$ac_objext; then |
19043 | (eval $ac_try) 2>&5 | ||
19044 | ac_status=$? | ||
19045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19046 | (exit $ac_status); }; } && | ||
19047 | { ac_try='test -s conftest.$ac_objext' | ||
19048 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19049 | (eval $ac_try) 2>&5 | ||
19050 | ac_status=$? | ||
19051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19052 | (exit $ac_status); }; }; then | ||
19053 | ac_cv_have_intxx_t="yes" | 20305 | ac_cv_have_intxx_t="yes" |
19054 | else | 20306 | else |
19055 | echo "$as_me: failed program was:" >&5 | 20307 | echo "$as_me: failed program was:" >&5 |
19056 | sed 's/^/| /' conftest.$ac_ext >&5 | 20308 | sed 's/^/| /' conftest.$ac_ext >&5 |
19057 | 20309 | ||
19058 | ac_cv_have_intxx_t="no" | 20310 | ac_cv_have_intxx_t="no" |
19059 | 20311 | ||
19060 | fi | 20312 | fi |
19061 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20313 | |
20314 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19062 | 20315 | ||
19063 | fi | 20316 | fi |
19064 | echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 | 20317 | { echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 |
19065 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 | 20318 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6; } |
19066 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | 20319 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then |
19067 | 20320 | ||
19068 | cat >>confdefs.h <<\_ACEOF | 20321 | cat >>confdefs.h <<\_ACEOF |
@@ -19075,8 +20328,8 @@ fi | |||
19075 | if (test -z "$have_intxx_t" && \ | 20328 | if (test -z "$have_intxx_t" && \ |
19076 | test "x$ac_cv_header_stdint_h" = "xyes") | 20329 | test "x$ac_cv_header_stdint_h" = "xyes") |
19077 | then | 20330 | then |
19078 | echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 | 20331 | { echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 |
19079 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 | 20332 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6; } |
19080 | cat >conftest.$ac_ext <<_ACEOF | 20333 | cat >conftest.$ac_ext <<_ACEOF |
19081 | /* confdefs.h. */ | 20334 | /* confdefs.h. */ |
19082 | _ACEOF | 20335 | _ACEOF |
@@ -19093,48 +20346,44 @@ main () | |||
19093 | } | 20346 | } |
19094 | _ACEOF | 20347 | _ACEOF |
19095 | rm -f conftest.$ac_objext | 20348 | rm -f conftest.$ac_objext |
19096 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20349 | if { (ac_try="$ac_compile" |
19097 | (eval $ac_compile) 2>conftest.er1 | 20350 | case "(($ac_try" in |
20351 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20352 | *) ac_try_echo=$ac_try;; | ||
20353 | esac | ||
20354 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20355 | (eval "$ac_compile") 2>conftest.er1 | ||
19098 | ac_status=$? | 20356 | ac_status=$? |
19099 | grep -v '^ *+' conftest.er1 >conftest.err | 20357 | grep -v '^ *+' conftest.er1 >conftest.err |
19100 | rm -f conftest.er1 | 20358 | rm -f conftest.er1 |
19101 | cat conftest.err >&5 | 20359 | cat conftest.err >&5 |
19102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19103 | (exit $ac_status); } && | 20361 | (exit $ac_status); } && { |
19104 | { ac_try='test -z "$ac_c_werror_flag" | 20362 | test -z "$ac_c_werror_flag" || |
19105 | || test ! -s conftest.err' | 20363 | test ! -s conftest.err |
19106 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20364 | } && test -s conftest.$ac_objext; then |
19107 | (eval $ac_try) 2>&5 | ||
19108 | ac_status=$? | ||
19109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19110 | (exit $ac_status); }; } && | ||
19111 | { ac_try='test -s conftest.$ac_objext' | ||
19112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19113 | (eval $ac_try) 2>&5 | ||
19114 | ac_status=$? | ||
19115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19116 | (exit $ac_status); }; }; then | ||
19117 | 20365 | ||
19118 | cat >>confdefs.h <<\_ACEOF | 20366 | cat >>confdefs.h <<\_ACEOF |
19119 | #define HAVE_INTXX_T 1 | 20367 | #define HAVE_INTXX_T 1 |
19120 | _ACEOF | 20368 | _ACEOF |
19121 | 20369 | ||
19122 | echo "$as_me:$LINENO: result: yes" >&5 | 20370 | { echo "$as_me:$LINENO: result: yes" >&5 |
19123 | echo "${ECHO_T}yes" >&6 | 20371 | echo "${ECHO_T}yes" >&6; } |
19124 | 20372 | ||
19125 | else | 20373 | else |
19126 | echo "$as_me: failed program was:" >&5 | 20374 | echo "$as_me: failed program was:" >&5 |
19127 | sed 's/^/| /' conftest.$ac_ext >&5 | 20375 | sed 's/^/| /' conftest.$ac_ext >&5 |
19128 | 20376 | ||
19129 | echo "$as_me:$LINENO: result: no" >&5 | 20377 | { echo "$as_me:$LINENO: result: no" >&5 |
19130 | echo "${ECHO_T}no" >&6 | 20378 | echo "${ECHO_T}no" >&6; } |
19131 | 20379 | ||
19132 | fi | 20380 | fi |
19133 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20381 | |
20382 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19134 | fi | 20383 | fi |
19135 | 20384 | ||
19136 | echo "$as_me:$LINENO: checking for int64_t type" >&5 | 20385 | { echo "$as_me:$LINENO: checking for int64_t type" >&5 |
19137 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 | 20386 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6; } |
19138 | if test "${ac_cv_have_int64_t+set}" = set; then | 20387 | if test "${ac_cv_have_int64_t+set}" = set; then |
19139 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20388 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19140 | else | 20389 | else |
@@ -19164,40 +20413,36 @@ main () | |||
19164 | } | 20413 | } |
19165 | _ACEOF | 20414 | _ACEOF |
19166 | rm -f conftest.$ac_objext | 20415 | rm -f conftest.$ac_objext |
19167 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20416 | if { (ac_try="$ac_compile" |
19168 | (eval $ac_compile) 2>conftest.er1 | 20417 | case "(($ac_try" in |
20418 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20419 | *) ac_try_echo=$ac_try;; | ||
20420 | esac | ||
20421 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20422 | (eval "$ac_compile") 2>conftest.er1 | ||
19169 | ac_status=$? | 20423 | ac_status=$? |
19170 | grep -v '^ *+' conftest.er1 >conftest.err | 20424 | grep -v '^ *+' conftest.er1 >conftest.err |
19171 | rm -f conftest.er1 | 20425 | rm -f conftest.er1 |
19172 | cat conftest.err >&5 | 20426 | cat conftest.err >&5 |
19173 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19174 | (exit $ac_status); } && | 20428 | (exit $ac_status); } && { |
19175 | { ac_try='test -z "$ac_c_werror_flag" | 20429 | test -z "$ac_c_werror_flag" || |
19176 | || test ! -s conftest.err' | 20430 | test ! -s conftest.err |
19177 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20431 | } && test -s conftest.$ac_objext; then |
19178 | (eval $ac_try) 2>&5 | ||
19179 | ac_status=$? | ||
19180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19181 | (exit $ac_status); }; } && | ||
19182 | { ac_try='test -s conftest.$ac_objext' | ||
19183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19184 | (eval $ac_try) 2>&5 | ||
19185 | ac_status=$? | ||
19186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19187 | (exit $ac_status); }; }; then | ||
19188 | ac_cv_have_int64_t="yes" | 20432 | ac_cv_have_int64_t="yes" |
19189 | else | 20433 | else |
19190 | echo "$as_me: failed program was:" >&5 | 20434 | echo "$as_me: failed program was:" >&5 |
19191 | sed 's/^/| /' conftest.$ac_ext >&5 | 20435 | sed 's/^/| /' conftest.$ac_ext >&5 |
19192 | 20436 | ||
19193 | ac_cv_have_int64_t="no" | 20437 | ac_cv_have_int64_t="no" |
19194 | 20438 | ||
19195 | fi | 20439 | fi |
19196 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20440 | |
20441 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19197 | 20442 | ||
19198 | fi | 20443 | fi |
19199 | echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 | 20444 | { echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 |
19200 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 | 20445 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6; } |
19201 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | 20446 | if test "x$ac_cv_have_int64_t" = "xyes" ; then |
19202 | 20447 | ||
19203 | cat >>confdefs.h <<\_ACEOF | 20448 | cat >>confdefs.h <<\_ACEOF |
@@ -19206,8 +20451,8 @@ _ACEOF | |||
19206 | 20451 | ||
19207 | fi | 20452 | fi |
19208 | 20453 | ||
19209 | echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 | 20454 | { echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 |
19210 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 | 20455 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6; } |
19211 | if test "${ac_cv_have_u_intxx_t+set}" = set; then | 20456 | if test "${ac_cv_have_u_intxx_t+set}" = set; then |
19212 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20457 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19213 | else | 20458 | else |
@@ -19228,40 +20473,36 @@ main () | |||
19228 | } | 20473 | } |
19229 | _ACEOF | 20474 | _ACEOF |
19230 | rm -f conftest.$ac_objext | 20475 | rm -f conftest.$ac_objext |
19231 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20476 | if { (ac_try="$ac_compile" |
19232 | (eval $ac_compile) 2>conftest.er1 | 20477 | case "(($ac_try" in |
20478 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20479 | *) ac_try_echo=$ac_try;; | ||
20480 | esac | ||
20481 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20482 | (eval "$ac_compile") 2>conftest.er1 | ||
19233 | ac_status=$? | 20483 | ac_status=$? |
19234 | grep -v '^ *+' conftest.er1 >conftest.err | 20484 | grep -v '^ *+' conftest.er1 >conftest.err |
19235 | rm -f conftest.er1 | 20485 | rm -f conftest.er1 |
19236 | cat conftest.err >&5 | 20486 | cat conftest.err >&5 |
19237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19238 | (exit $ac_status); } && | 20488 | (exit $ac_status); } && { |
19239 | { ac_try='test -z "$ac_c_werror_flag" | 20489 | test -z "$ac_c_werror_flag" || |
19240 | || test ! -s conftest.err' | 20490 | test ! -s conftest.err |
19241 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20491 | } && test -s conftest.$ac_objext; then |
19242 | (eval $ac_try) 2>&5 | ||
19243 | ac_status=$? | ||
19244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19245 | (exit $ac_status); }; } && | ||
19246 | { ac_try='test -s conftest.$ac_objext' | ||
19247 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19248 | (eval $ac_try) 2>&5 | ||
19249 | ac_status=$? | ||
19250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19251 | (exit $ac_status); }; }; then | ||
19252 | ac_cv_have_u_intxx_t="yes" | 20492 | ac_cv_have_u_intxx_t="yes" |
19253 | else | 20493 | else |
19254 | echo "$as_me: failed program was:" >&5 | 20494 | echo "$as_me: failed program was:" >&5 |
19255 | sed 's/^/| /' conftest.$ac_ext >&5 | 20495 | sed 's/^/| /' conftest.$ac_ext >&5 |
19256 | 20496 | ||
19257 | ac_cv_have_u_intxx_t="no" | 20497 | ac_cv_have_u_intxx_t="no" |
19258 | 20498 | ||
19259 | fi | 20499 | fi |
19260 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20500 | |
20501 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19261 | 20502 | ||
19262 | fi | 20503 | fi |
19263 | echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 | 20504 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 |
19264 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 | 20505 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6; } |
19265 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | 20506 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then |
19266 | 20507 | ||
19267 | cat >>confdefs.h <<\_ACEOF | 20508 | cat >>confdefs.h <<\_ACEOF |
@@ -19272,8 +20513,8 @@ _ACEOF | |||
19272 | fi | 20513 | fi |
19273 | 20514 | ||
19274 | if test -z "$have_u_intxx_t" ; then | 20515 | if test -z "$have_u_intxx_t" ; then |
19275 | echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 | 20516 | { echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 |
19276 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 | 20517 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6; } |
19277 | cat >conftest.$ac_ext <<_ACEOF | 20518 | cat >conftest.$ac_ext <<_ACEOF |
19278 | /* confdefs.h. */ | 20519 | /* confdefs.h. */ |
19279 | _ACEOF | 20520 | _ACEOF |
@@ -19290,48 +20531,44 @@ main () | |||
19290 | } | 20531 | } |
19291 | _ACEOF | 20532 | _ACEOF |
19292 | rm -f conftest.$ac_objext | 20533 | rm -f conftest.$ac_objext |
19293 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20534 | if { (ac_try="$ac_compile" |
19294 | (eval $ac_compile) 2>conftest.er1 | 20535 | case "(($ac_try" in |
20536 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20537 | *) ac_try_echo=$ac_try;; | ||
20538 | esac | ||
20539 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20540 | (eval "$ac_compile") 2>conftest.er1 | ||
19295 | ac_status=$? | 20541 | ac_status=$? |
19296 | grep -v '^ *+' conftest.er1 >conftest.err | 20542 | grep -v '^ *+' conftest.er1 >conftest.err |
19297 | rm -f conftest.er1 | 20543 | rm -f conftest.er1 |
19298 | cat conftest.err >&5 | 20544 | cat conftest.err >&5 |
19299 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19300 | (exit $ac_status); } && | 20546 | (exit $ac_status); } && { |
19301 | { ac_try='test -z "$ac_c_werror_flag" | 20547 | test -z "$ac_c_werror_flag" || |
19302 | || test ! -s conftest.err' | 20548 | test ! -s conftest.err |
19303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20549 | } && test -s conftest.$ac_objext; then |
19304 | (eval $ac_try) 2>&5 | ||
19305 | ac_status=$? | ||
19306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19307 | (exit $ac_status); }; } && | ||
19308 | { ac_try='test -s conftest.$ac_objext' | ||
19309 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19310 | (eval $ac_try) 2>&5 | ||
19311 | ac_status=$? | ||
19312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19313 | (exit $ac_status); }; }; then | ||
19314 | 20550 | ||
19315 | cat >>confdefs.h <<\_ACEOF | 20551 | cat >>confdefs.h <<\_ACEOF |
19316 | #define HAVE_U_INTXX_T 1 | 20552 | #define HAVE_U_INTXX_T 1 |
19317 | _ACEOF | 20553 | _ACEOF |
19318 | 20554 | ||
19319 | echo "$as_me:$LINENO: result: yes" >&5 | 20555 | { echo "$as_me:$LINENO: result: yes" >&5 |
19320 | echo "${ECHO_T}yes" >&6 | 20556 | echo "${ECHO_T}yes" >&6; } |
19321 | 20557 | ||
19322 | else | 20558 | else |
19323 | echo "$as_me: failed program was:" >&5 | 20559 | echo "$as_me: failed program was:" >&5 |
19324 | sed 's/^/| /' conftest.$ac_ext >&5 | 20560 | sed 's/^/| /' conftest.$ac_ext >&5 |
19325 | 20561 | ||
19326 | echo "$as_me:$LINENO: result: no" >&5 | 20562 | { echo "$as_me:$LINENO: result: no" >&5 |
19327 | echo "${ECHO_T}no" >&6 | 20563 | echo "${ECHO_T}no" >&6; } |
19328 | 20564 | ||
19329 | fi | 20565 | fi |
19330 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20566 | |
20567 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19331 | fi | 20568 | fi |
19332 | 20569 | ||
19333 | echo "$as_me:$LINENO: checking for u_int64_t types" >&5 | 20570 | { echo "$as_me:$LINENO: checking for u_int64_t types" >&5 |
19334 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 | 20571 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6; } |
19335 | if test "${ac_cv_have_u_int64_t+set}" = set; then | 20572 | if test "${ac_cv_have_u_int64_t+set}" = set; then |
19336 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20573 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19337 | else | 20574 | else |
@@ -19352,40 +20589,36 @@ main () | |||
19352 | } | 20589 | } |
19353 | _ACEOF | 20590 | _ACEOF |
19354 | rm -f conftest.$ac_objext | 20591 | rm -f conftest.$ac_objext |
19355 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20592 | if { (ac_try="$ac_compile" |
19356 | (eval $ac_compile) 2>conftest.er1 | 20593 | case "(($ac_try" in |
20594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20595 | *) ac_try_echo=$ac_try;; | ||
20596 | esac | ||
20597 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20598 | (eval "$ac_compile") 2>conftest.er1 | ||
19357 | ac_status=$? | 20599 | ac_status=$? |
19358 | grep -v '^ *+' conftest.er1 >conftest.err | 20600 | grep -v '^ *+' conftest.er1 >conftest.err |
19359 | rm -f conftest.er1 | 20601 | rm -f conftest.er1 |
19360 | cat conftest.err >&5 | 20602 | cat conftest.err >&5 |
19361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19362 | (exit $ac_status); } && | 20604 | (exit $ac_status); } && { |
19363 | { ac_try='test -z "$ac_c_werror_flag" | 20605 | test -z "$ac_c_werror_flag" || |
19364 | || test ! -s conftest.err' | 20606 | test ! -s conftest.err |
19365 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20607 | } && test -s conftest.$ac_objext; then |
19366 | (eval $ac_try) 2>&5 | ||
19367 | ac_status=$? | ||
19368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19369 | (exit $ac_status); }; } && | ||
19370 | { ac_try='test -s conftest.$ac_objext' | ||
19371 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19372 | (eval $ac_try) 2>&5 | ||
19373 | ac_status=$? | ||
19374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19375 | (exit $ac_status); }; }; then | ||
19376 | ac_cv_have_u_int64_t="yes" | 20608 | ac_cv_have_u_int64_t="yes" |
19377 | else | 20609 | else |
19378 | echo "$as_me: failed program was:" >&5 | 20610 | echo "$as_me: failed program was:" >&5 |
19379 | sed 's/^/| /' conftest.$ac_ext >&5 | 20611 | sed 's/^/| /' conftest.$ac_ext >&5 |
19380 | 20612 | ||
19381 | ac_cv_have_u_int64_t="no" | 20613 | ac_cv_have_u_int64_t="no" |
19382 | 20614 | ||
19383 | fi | 20615 | fi |
19384 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20616 | |
20617 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19385 | 20618 | ||
19386 | fi | 20619 | fi |
19387 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 | 20620 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 |
19388 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 | 20621 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6; } |
19389 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | 20622 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then |
19390 | 20623 | ||
19391 | cat >>confdefs.h <<\_ACEOF | 20624 | cat >>confdefs.h <<\_ACEOF |
@@ -19396,8 +20629,8 @@ _ACEOF | |||
19396 | fi | 20629 | fi |
19397 | 20630 | ||
19398 | if test -z "$have_u_int64_t" ; then | 20631 | if test -z "$have_u_int64_t" ; then |
19399 | echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 | 20632 | { echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 |
19400 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 | 20633 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6; } |
19401 | cat >conftest.$ac_ext <<_ACEOF | 20634 | cat >conftest.$ac_ext <<_ACEOF |
19402 | /* confdefs.h. */ | 20635 | /* confdefs.h. */ |
19403 | _ACEOF | 20636 | _ACEOF |
@@ -19414,49 +20647,45 @@ main () | |||
19414 | } | 20647 | } |
19415 | _ACEOF | 20648 | _ACEOF |
19416 | rm -f conftest.$ac_objext | 20649 | rm -f conftest.$ac_objext |
19417 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20650 | if { (ac_try="$ac_compile" |
19418 | (eval $ac_compile) 2>conftest.er1 | 20651 | case "(($ac_try" in |
20652 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20653 | *) ac_try_echo=$ac_try;; | ||
20654 | esac | ||
20655 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20656 | (eval "$ac_compile") 2>conftest.er1 | ||
19419 | ac_status=$? | 20657 | ac_status=$? |
19420 | grep -v '^ *+' conftest.er1 >conftest.err | 20658 | grep -v '^ *+' conftest.er1 >conftest.err |
19421 | rm -f conftest.er1 | 20659 | rm -f conftest.er1 |
19422 | cat conftest.err >&5 | 20660 | cat conftest.err >&5 |
19423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19424 | (exit $ac_status); } && | 20662 | (exit $ac_status); } && { |
19425 | { ac_try='test -z "$ac_c_werror_flag" | 20663 | test -z "$ac_c_werror_flag" || |
19426 | || test ! -s conftest.err' | 20664 | test ! -s conftest.err |
19427 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20665 | } && test -s conftest.$ac_objext; then |
19428 | (eval $ac_try) 2>&5 | ||
19429 | ac_status=$? | ||
19430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19431 | (exit $ac_status); }; } && | ||
19432 | { ac_try='test -s conftest.$ac_objext' | ||
19433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19434 | (eval $ac_try) 2>&5 | ||
19435 | ac_status=$? | ||
19436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19437 | (exit $ac_status); }; }; then | ||
19438 | 20666 | ||
19439 | cat >>confdefs.h <<\_ACEOF | 20667 | cat >>confdefs.h <<\_ACEOF |
19440 | #define HAVE_U_INT64_T 1 | 20668 | #define HAVE_U_INT64_T 1 |
19441 | _ACEOF | 20669 | _ACEOF |
19442 | 20670 | ||
19443 | echo "$as_me:$LINENO: result: yes" >&5 | 20671 | { echo "$as_me:$LINENO: result: yes" >&5 |
19444 | echo "${ECHO_T}yes" >&6 | 20672 | echo "${ECHO_T}yes" >&6; } |
19445 | 20673 | ||
19446 | else | 20674 | else |
19447 | echo "$as_me: failed program was:" >&5 | 20675 | echo "$as_me: failed program was:" >&5 |
19448 | sed 's/^/| /' conftest.$ac_ext >&5 | 20676 | sed 's/^/| /' conftest.$ac_ext >&5 |
19449 | 20677 | ||
19450 | echo "$as_me:$LINENO: result: no" >&5 | 20678 | { echo "$as_me:$LINENO: result: no" >&5 |
19451 | echo "${ECHO_T}no" >&6 | 20679 | echo "${ECHO_T}no" >&6; } |
19452 | 20680 | ||
19453 | fi | 20681 | fi |
19454 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20682 | |
20683 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19455 | fi | 20684 | fi |
19456 | 20685 | ||
19457 | if test -z "$have_u_intxx_t" ; then | 20686 | if test -z "$have_u_intxx_t" ; then |
19458 | echo "$as_me:$LINENO: checking for uintXX_t types" >&5 | 20687 | { echo "$as_me:$LINENO: checking for uintXX_t types" >&5 |
19459 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 | 20688 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6; } |
19460 | if test "${ac_cv_have_uintxx_t+set}" = set; then | 20689 | if test "${ac_cv_have_uintxx_t+set}" = set; then |
19461 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20690 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19462 | else | 20691 | else |
@@ -19479,40 +20708,36 @@ main () | |||
19479 | } | 20708 | } |
19480 | _ACEOF | 20709 | _ACEOF |
19481 | rm -f conftest.$ac_objext | 20710 | rm -f conftest.$ac_objext |
19482 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20711 | if { (ac_try="$ac_compile" |
19483 | (eval $ac_compile) 2>conftest.er1 | 20712 | case "(($ac_try" in |
20713 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20714 | *) ac_try_echo=$ac_try;; | ||
20715 | esac | ||
20716 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20717 | (eval "$ac_compile") 2>conftest.er1 | ||
19484 | ac_status=$? | 20718 | ac_status=$? |
19485 | grep -v '^ *+' conftest.er1 >conftest.err | 20719 | grep -v '^ *+' conftest.er1 >conftest.err |
19486 | rm -f conftest.er1 | 20720 | rm -f conftest.er1 |
19487 | cat conftest.err >&5 | 20721 | cat conftest.err >&5 |
19488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19489 | (exit $ac_status); } && | 20723 | (exit $ac_status); } && { |
19490 | { ac_try='test -z "$ac_c_werror_flag" | 20724 | test -z "$ac_c_werror_flag" || |
19491 | || test ! -s conftest.err' | 20725 | test ! -s conftest.err |
19492 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20726 | } && test -s conftest.$ac_objext; then |
19493 | (eval $ac_try) 2>&5 | ||
19494 | ac_status=$? | ||
19495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19496 | (exit $ac_status); }; } && | ||
19497 | { ac_try='test -s conftest.$ac_objext' | ||
19498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19499 | (eval $ac_try) 2>&5 | ||
19500 | ac_status=$? | ||
19501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19502 | (exit $ac_status); }; }; then | ||
19503 | ac_cv_have_uintxx_t="yes" | 20727 | ac_cv_have_uintxx_t="yes" |
19504 | else | 20728 | else |
19505 | echo "$as_me: failed program was:" >&5 | 20729 | echo "$as_me: failed program was:" >&5 |
19506 | sed 's/^/| /' conftest.$ac_ext >&5 | 20730 | sed 's/^/| /' conftest.$ac_ext >&5 |
19507 | 20731 | ||
19508 | ac_cv_have_uintxx_t="no" | 20732 | ac_cv_have_uintxx_t="no" |
19509 | 20733 | ||
19510 | fi | 20734 | fi |
19511 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20735 | |
20736 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19512 | 20737 | ||
19513 | fi | 20738 | fi |
19514 | echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 | 20739 | { echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 |
19515 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 | 20740 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6; } |
19516 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then | 20741 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then |
19517 | 20742 | ||
19518 | cat >>confdefs.h <<\_ACEOF | 20743 | cat >>confdefs.h <<\_ACEOF |
@@ -19523,8 +20748,8 @@ _ACEOF | |||
19523 | fi | 20748 | fi |
19524 | 20749 | ||
19525 | if test -z "$have_uintxx_t" ; then | 20750 | if test -z "$have_uintxx_t" ; then |
19526 | echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 | 20751 | { echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 |
19527 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 | 20752 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6; } |
19528 | cat >conftest.$ac_ext <<_ACEOF | 20753 | cat >conftest.$ac_ext <<_ACEOF |
19529 | /* confdefs.h. */ | 20754 | /* confdefs.h. */ |
19530 | _ACEOF | 20755 | _ACEOF |
@@ -19541,51 +20766,47 @@ main () | |||
19541 | } | 20766 | } |
19542 | _ACEOF | 20767 | _ACEOF |
19543 | rm -f conftest.$ac_objext | 20768 | rm -f conftest.$ac_objext |
19544 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20769 | if { (ac_try="$ac_compile" |
19545 | (eval $ac_compile) 2>conftest.er1 | 20770 | case "(($ac_try" in |
20771 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20772 | *) ac_try_echo=$ac_try;; | ||
20773 | esac | ||
20774 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20775 | (eval "$ac_compile") 2>conftest.er1 | ||
19546 | ac_status=$? | 20776 | ac_status=$? |
19547 | grep -v '^ *+' conftest.er1 >conftest.err | 20777 | grep -v '^ *+' conftest.er1 >conftest.err |
19548 | rm -f conftest.er1 | 20778 | rm -f conftest.er1 |
19549 | cat conftest.err >&5 | 20779 | cat conftest.err >&5 |
19550 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19551 | (exit $ac_status); } && | 20781 | (exit $ac_status); } && { |
19552 | { ac_try='test -z "$ac_c_werror_flag" | 20782 | test -z "$ac_c_werror_flag" || |
19553 | || test ! -s conftest.err' | 20783 | test ! -s conftest.err |
19554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20784 | } && test -s conftest.$ac_objext; then |
19555 | (eval $ac_try) 2>&5 | ||
19556 | ac_status=$? | ||
19557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19558 | (exit $ac_status); }; } && | ||
19559 | { ac_try='test -s conftest.$ac_objext' | ||
19560 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19561 | (eval $ac_try) 2>&5 | ||
19562 | ac_status=$? | ||
19563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19564 | (exit $ac_status); }; }; then | ||
19565 | 20785 | ||
19566 | cat >>confdefs.h <<\_ACEOF | 20786 | cat >>confdefs.h <<\_ACEOF |
19567 | #define HAVE_UINTXX_T 1 | 20787 | #define HAVE_UINTXX_T 1 |
19568 | _ACEOF | 20788 | _ACEOF |
19569 | 20789 | ||
19570 | echo "$as_me:$LINENO: result: yes" >&5 | 20790 | { echo "$as_me:$LINENO: result: yes" >&5 |
19571 | echo "${ECHO_T}yes" >&6 | 20791 | echo "${ECHO_T}yes" >&6; } |
19572 | 20792 | ||
19573 | else | 20793 | else |
19574 | echo "$as_me: failed program was:" >&5 | 20794 | echo "$as_me: failed program was:" >&5 |
19575 | sed 's/^/| /' conftest.$ac_ext >&5 | 20795 | sed 's/^/| /' conftest.$ac_ext >&5 |
19576 | 20796 | ||
19577 | echo "$as_me:$LINENO: result: no" >&5 | 20797 | { echo "$as_me:$LINENO: result: no" >&5 |
19578 | echo "${ECHO_T}no" >&6 | 20798 | echo "${ECHO_T}no" >&6; } |
19579 | 20799 | ||
19580 | fi | 20800 | fi |
19581 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20801 | |
20802 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19582 | fi | 20803 | fi |
19583 | 20804 | ||
19584 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | 20805 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ |
19585 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | 20806 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") |
19586 | then | 20807 | then |
19587 | echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 | 20808 | { echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 |
19588 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 | 20809 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6; } |
19589 | cat >conftest.$ac_ext <<_ACEOF | 20810 | cat >conftest.$ac_ext <<_ACEOF |
19590 | /* confdefs.h. */ | 20811 | /* confdefs.h. */ |
19591 | _ACEOF | 20812 | _ACEOF |
@@ -19608,27 +20829,22 @@ main () | |||
19608 | } | 20829 | } |
19609 | _ACEOF | 20830 | _ACEOF |
19610 | rm -f conftest.$ac_objext | 20831 | rm -f conftest.$ac_objext |
19611 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20832 | if { (ac_try="$ac_compile" |
19612 | (eval $ac_compile) 2>conftest.er1 | 20833 | case "(($ac_try" in |
20834 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20835 | *) ac_try_echo=$ac_try;; | ||
20836 | esac | ||
20837 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20838 | (eval "$ac_compile") 2>conftest.er1 | ||
19613 | ac_status=$? | 20839 | ac_status=$? |
19614 | grep -v '^ *+' conftest.er1 >conftest.err | 20840 | grep -v '^ *+' conftest.er1 >conftest.err |
19615 | rm -f conftest.er1 | 20841 | rm -f conftest.er1 |
19616 | cat conftest.err >&5 | 20842 | cat conftest.err >&5 |
19617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19618 | (exit $ac_status); } && | 20844 | (exit $ac_status); } && { |
19619 | { ac_try='test -z "$ac_c_werror_flag" | 20845 | test -z "$ac_c_werror_flag" || |
19620 | || test ! -s conftest.err' | 20846 | test ! -s conftest.err |
19621 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20847 | } && test -s conftest.$ac_objext; then |
19622 | (eval $ac_try) 2>&5 | ||
19623 | ac_status=$? | ||
19624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19625 | (exit $ac_status); }; } && | ||
19626 | { ac_try='test -s conftest.$ac_objext' | ||
19627 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19628 | (eval $ac_try) 2>&5 | ||
19629 | ac_status=$? | ||
19630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19631 | (exit $ac_status); }; }; then | ||
19632 | 20848 | ||
19633 | cat >>confdefs.h <<\_ACEOF | 20849 | cat >>confdefs.h <<\_ACEOF |
19634 | #define HAVE_U_INTXX_T 1 | 20850 | #define HAVE_U_INTXX_T 1 |
@@ -19638,23 +20854,24 @@ _ACEOF | |||
19638 | #define HAVE_INTXX_T 1 | 20854 | #define HAVE_INTXX_T 1 |
19639 | _ACEOF | 20855 | _ACEOF |
19640 | 20856 | ||
19641 | echo "$as_me:$LINENO: result: yes" >&5 | 20857 | { echo "$as_me:$LINENO: result: yes" >&5 |
19642 | echo "${ECHO_T}yes" >&6 | 20858 | echo "${ECHO_T}yes" >&6; } |
19643 | 20859 | ||
19644 | else | 20860 | else |
19645 | echo "$as_me: failed program was:" >&5 | 20861 | echo "$as_me: failed program was:" >&5 |
19646 | sed 's/^/| /' conftest.$ac_ext >&5 | 20862 | sed 's/^/| /' conftest.$ac_ext >&5 |
19647 | 20863 | ||
19648 | echo "$as_me:$LINENO: result: no" >&5 | 20864 | { echo "$as_me:$LINENO: result: no" >&5 |
19649 | echo "${ECHO_T}no" >&6 | 20865 | echo "${ECHO_T}no" >&6; } |
19650 | 20866 | ||
19651 | fi | 20867 | fi |
19652 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20868 | |
20869 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19653 | fi | 20870 | fi |
19654 | 20871 | ||
19655 | 20872 | ||
19656 | echo "$as_me:$LINENO: checking for u_char" >&5 | 20873 | { echo "$as_me:$LINENO: checking for u_char" >&5 |
19657 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 | 20874 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6; } |
19658 | if test "${ac_cv_have_u_char+set}" = set; then | 20875 | if test "${ac_cv_have_u_char+set}" = set; then |
19659 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20876 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19660 | else | 20877 | else |
@@ -19677,40 +20894,36 @@ main () | |||
19677 | } | 20894 | } |
19678 | _ACEOF | 20895 | _ACEOF |
19679 | rm -f conftest.$ac_objext | 20896 | rm -f conftest.$ac_objext |
19680 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20897 | if { (ac_try="$ac_compile" |
19681 | (eval $ac_compile) 2>conftest.er1 | 20898 | case "(($ac_try" in |
20899 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20900 | *) ac_try_echo=$ac_try;; | ||
20901 | esac | ||
20902 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20903 | (eval "$ac_compile") 2>conftest.er1 | ||
19682 | ac_status=$? | 20904 | ac_status=$? |
19683 | grep -v '^ *+' conftest.er1 >conftest.err | 20905 | grep -v '^ *+' conftest.er1 >conftest.err |
19684 | rm -f conftest.er1 | 20906 | rm -f conftest.er1 |
19685 | cat conftest.err >&5 | 20907 | cat conftest.err >&5 |
19686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19687 | (exit $ac_status); } && | 20909 | (exit $ac_status); } && { |
19688 | { ac_try='test -z "$ac_c_werror_flag" | 20910 | test -z "$ac_c_werror_flag" || |
19689 | || test ! -s conftest.err' | 20911 | test ! -s conftest.err |
19690 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20912 | } && test -s conftest.$ac_objext; then |
19691 | (eval $ac_try) 2>&5 | ||
19692 | ac_status=$? | ||
19693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19694 | (exit $ac_status); }; } && | ||
19695 | { ac_try='test -s conftest.$ac_objext' | ||
19696 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19697 | (eval $ac_try) 2>&5 | ||
19698 | ac_status=$? | ||
19699 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19700 | (exit $ac_status); }; }; then | ||
19701 | ac_cv_have_u_char="yes" | 20913 | ac_cv_have_u_char="yes" |
19702 | else | 20914 | else |
19703 | echo "$as_me: failed program was:" >&5 | 20915 | echo "$as_me: failed program was:" >&5 |
19704 | sed 's/^/| /' conftest.$ac_ext >&5 | 20916 | sed 's/^/| /' conftest.$ac_ext >&5 |
19705 | 20917 | ||
19706 | ac_cv_have_u_char="no" | 20918 | ac_cv_have_u_char="no" |
19707 | 20919 | ||
19708 | fi | 20920 | fi |
19709 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20921 | |
20922 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19710 | 20923 | ||
19711 | fi | 20924 | fi |
19712 | echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 | 20925 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 |
19713 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 | 20926 | echo "${ECHO_T}$ac_cv_have_u_char" >&6; } |
19714 | if test "x$ac_cv_have_u_char" = "xyes" ; then | 20927 | if test "x$ac_cv_have_u_char" = "xyes" ; then |
19715 | 20928 | ||
19716 | cat >>confdefs.h <<\_ACEOF | 20929 | cat >>confdefs.h <<\_ACEOF |
@@ -19720,8 +20933,8 @@ _ACEOF | |||
19720 | fi | 20933 | fi |
19721 | 20934 | ||
19722 | 20935 | ||
19723 | echo "$as_me:$LINENO: checking for socklen_t" >&5 | 20936 | { echo "$as_me:$LINENO: checking for socklen_t" >&5 |
19724 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 | 20937 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } |
19725 | if test "${ac_cv_type_socklen_t+set}" = set; then | 20938 | if test "${ac_cv_type_socklen_t+set}" = set; then |
19726 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20939 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19727 | else | 20940 | else |
@@ -19734,56 +20947,53 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
19734 | #include <sys/types.h> | 20947 | #include <sys/types.h> |
19735 | #include <sys/socket.h> | 20948 | #include <sys/socket.h> |
19736 | 20949 | ||
20950 | typedef socklen_t ac__type_new_; | ||
19737 | int | 20951 | int |
19738 | main () | 20952 | main () |
19739 | { | 20953 | { |
19740 | if ((socklen_t *) 0) | 20954 | if ((ac__type_new_ *) 0) |
19741 | return 0; | 20955 | return 0; |
19742 | if (sizeof (socklen_t)) | 20956 | if (sizeof (ac__type_new_)) |
19743 | return 0; | 20957 | return 0; |
19744 | ; | 20958 | ; |
19745 | return 0; | 20959 | return 0; |
19746 | } | 20960 | } |
19747 | _ACEOF | 20961 | _ACEOF |
19748 | rm -f conftest.$ac_objext | 20962 | rm -f conftest.$ac_objext |
19749 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20963 | if { (ac_try="$ac_compile" |
19750 | (eval $ac_compile) 2>conftest.er1 | 20964 | case "(($ac_try" in |
20965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20966 | *) ac_try_echo=$ac_try;; | ||
20967 | esac | ||
20968 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20969 | (eval "$ac_compile") 2>conftest.er1 | ||
19751 | ac_status=$? | 20970 | ac_status=$? |
19752 | grep -v '^ *+' conftest.er1 >conftest.err | 20971 | grep -v '^ *+' conftest.er1 >conftest.err |
19753 | rm -f conftest.er1 | 20972 | rm -f conftest.er1 |
19754 | cat conftest.err >&5 | 20973 | cat conftest.err >&5 |
19755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19756 | (exit $ac_status); } && | 20975 | (exit $ac_status); } && { |
19757 | { ac_try='test -z "$ac_c_werror_flag" | 20976 | test -z "$ac_c_werror_flag" || |
19758 | || test ! -s conftest.err' | 20977 | test ! -s conftest.err |
19759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20978 | } && test -s conftest.$ac_objext; then |
19760 | (eval $ac_try) 2>&5 | ||
19761 | ac_status=$? | ||
19762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19763 | (exit $ac_status); }; } && | ||
19764 | { ac_try='test -s conftest.$ac_objext' | ||
19765 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19766 | (eval $ac_try) 2>&5 | ||
19767 | ac_status=$? | ||
19768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19769 | (exit $ac_status); }; }; then | ||
19770 | ac_cv_type_socklen_t=yes | 20979 | ac_cv_type_socklen_t=yes |
19771 | else | 20980 | else |
19772 | echo "$as_me: failed program was:" >&5 | 20981 | echo "$as_me: failed program was:" >&5 |
19773 | sed 's/^/| /' conftest.$ac_ext >&5 | 20982 | sed 's/^/| /' conftest.$ac_ext >&5 |
19774 | 20983 | ||
19775 | ac_cv_type_socklen_t=no | 20984 | ac_cv_type_socklen_t=no |
19776 | fi | 20985 | fi |
19777 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20986 | |
20987 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19778 | fi | 20988 | fi |
19779 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 | 20989 | { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
19780 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 | 20990 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } |
19781 | if test $ac_cv_type_socklen_t = yes; then | 20991 | if test $ac_cv_type_socklen_t = yes; then |
19782 | : | 20992 | : |
19783 | else | 20993 | else |
19784 | 20994 | ||
19785 | echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 | 20995 | { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 |
19786 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 | 20996 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; } |
19787 | if test "${curl_cv_socklen_t_equiv+set}" = set; then | 20997 | if test "${curl_cv_socklen_t_equiv+set}" = set; then |
19788 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20998 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19789 | else | 20999 | else |
@@ -19817,27 +21027,22 @@ main () | |||
19817 | } | 21027 | } |
19818 | _ACEOF | 21028 | _ACEOF |
19819 | rm -f conftest.$ac_objext | 21029 | rm -f conftest.$ac_objext |
19820 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21030 | if { (ac_try="$ac_compile" |
19821 | (eval $ac_compile) 2>conftest.er1 | 21031 | case "(($ac_try" in |
21032 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21033 | *) ac_try_echo=$ac_try;; | ||
21034 | esac | ||
21035 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21036 | (eval "$ac_compile") 2>conftest.er1 | ||
19822 | ac_status=$? | 21037 | ac_status=$? |
19823 | grep -v '^ *+' conftest.er1 >conftest.err | 21038 | grep -v '^ *+' conftest.er1 >conftest.err |
19824 | rm -f conftest.er1 | 21039 | rm -f conftest.er1 |
19825 | cat conftest.err >&5 | 21040 | cat conftest.err >&5 |
19826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19827 | (exit $ac_status); } && | 21042 | (exit $ac_status); } && { |
19828 | { ac_try='test -z "$ac_c_werror_flag" | 21043 | test -z "$ac_c_werror_flag" || |
19829 | || test ! -s conftest.err' | 21044 | test ! -s conftest.err |
19830 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21045 | } && test -s conftest.$ac_objext; then |
19831 | (eval $ac_try) 2>&5 | ||
19832 | ac_status=$? | ||
19833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19834 | (exit $ac_status); }; } && | ||
19835 | { ac_try='test -s conftest.$ac_objext' | ||
19836 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19837 | (eval $ac_try) 2>&5 | ||
19838 | ac_status=$? | ||
19839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19840 | (exit $ac_status); }; }; then | ||
19841 | 21046 | ||
19842 | curl_cv_socklen_t_equiv="$t" | 21047 | curl_cv_socklen_t_equiv="$t" |
19843 | break | 21048 | break |
@@ -19846,8 +21051,10 @@ else | |||
19846 | echo "$as_me: failed program was:" >&5 | 21051 | echo "$as_me: failed program was:" >&5 |
19847 | sed 's/^/| /' conftest.$ac_ext >&5 | 21052 | sed 's/^/| /' conftest.$ac_ext >&5 |
19848 | 21053 | ||
21054 | |||
19849 | fi | 21055 | fi |
19850 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21056 | |
21057 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19851 | done | 21058 | done |
19852 | done | 21059 | done |
19853 | 21060 | ||
@@ -19859,8 +21066,8 @@ echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} | |||
19859 | 21066 | ||
19860 | fi | 21067 | fi |
19861 | 21068 | ||
19862 | echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 | 21069 | { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 |
19863 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 | 21070 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; } |
19864 | 21071 | ||
19865 | cat >>confdefs.h <<_ACEOF | 21072 | cat >>confdefs.h <<_ACEOF |
19866 | #define socklen_t $curl_cv_socklen_t_equiv | 21073 | #define socklen_t $curl_cv_socklen_t_equiv |
@@ -19870,8 +21077,8 @@ fi | |||
19870 | 21077 | ||
19871 | 21078 | ||
19872 | 21079 | ||
19873 | echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 | 21080 | { echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 |
19874 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 | 21081 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; } |
19875 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then | 21082 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then |
19876 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21083 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19877 | else | 21084 | else |
@@ -19883,50 +21090,47 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
19883 | /* end confdefs.h. */ | 21090 | /* end confdefs.h. */ |
19884 | #include <signal.h> | 21091 | #include <signal.h> |
19885 | 21092 | ||
21093 | typedef sig_atomic_t ac__type_new_; | ||
19886 | int | 21094 | int |
19887 | main () | 21095 | main () |
19888 | { | 21096 | { |
19889 | if ((sig_atomic_t *) 0) | 21097 | if ((ac__type_new_ *) 0) |
19890 | return 0; | 21098 | return 0; |
19891 | if (sizeof (sig_atomic_t)) | 21099 | if (sizeof (ac__type_new_)) |
19892 | return 0; | 21100 | return 0; |
19893 | ; | 21101 | ; |
19894 | return 0; | 21102 | return 0; |
19895 | } | 21103 | } |
19896 | _ACEOF | 21104 | _ACEOF |
19897 | rm -f conftest.$ac_objext | 21105 | rm -f conftest.$ac_objext |
19898 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21106 | if { (ac_try="$ac_compile" |
19899 | (eval $ac_compile) 2>conftest.er1 | 21107 | case "(($ac_try" in |
21108 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21109 | *) ac_try_echo=$ac_try;; | ||
21110 | esac | ||
21111 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21112 | (eval "$ac_compile") 2>conftest.er1 | ||
19900 | ac_status=$? | 21113 | ac_status=$? |
19901 | grep -v '^ *+' conftest.er1 >conftest.err | 21114 | grep -v '^ *+' conftest.er1 >conftest.err |
19902 | rm -f conftest.er1 | 21115 | rm -f conftest.er1 |
19903 | cat conftest.err >&5 | 21116 | cat conftest.err >&5 |
19904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19905 | (exit $ac_status); } && | 21118 | (exit $ac_status); } && { |
19906 | { ac_try='test -z "$ac_c_werror_flag" | 21119 | test -z "$ac_c_werror_flag" || |
19907 | || test ! -s conftest.err' | 21120 | test ! -s conftest.err |
19908 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21121 | } && test -s conftest.$ac_objext; then |
19909 | (eval $ac_try) 2>&5 | ||
19910 | ac_status=$? | ||
19911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19912 | (exit $ac_status); }; } && | ||
19913 | { ac_try='test -s conftest.$ac_objext' | ||
19914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19915 | (eval $ac_try) 2>&5 | ||
19916 | ac_status=$? | ||
19917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19918 | (exit $ac_status); }; }; then | ||
19919 | ac_cv_type_sig_atomic_t=yes | 21122 | ac_cv_type_sig_atomic_t=yes |
19920 | else | 21123 | else |
19921 | echo "$as_me: failed program was:" >&5 | 21124 | echo "$as_me: failed program was:" >&5 |
19922 | sed 's/^/| /' conftest.$ac_ext >&5 | 21125 | sed 's/^/| /' conftest.$ac_ext >&5 |
19923 | 21126 | ||
19924 | ac_cv_type_sig_atomic_t=no | 21127 | ac_cv_type_sig_atomic_t=no |
19925 | fi | 21128 | fi |
19926 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21129 | |
21130 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19927 | fi | 21131 | fi |
19928 | echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 | 21132 | { echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 |
19929 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 | 21133 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; } |
19930 | if test $ac_cv_type_sig_atomic_t = yes; then | 21134 | if test $ac_cv_type_sig_atomic_t = yes; then |
19931 | 21135 | ||
19932 | cat >>confdefs.h <<_ACEOF | 21136 | cat >>confdefs.h <<_ACEOF |
@@ -19937,8 +21141,8 @@ _ACEOF | |||
19937 | fi | 21141 | fi |
19938 | 21142 | ||
19939 | 21143 | ||
19940 | echo "$as_me:$LINENO: checking for in_addr_t" >&5 | 21144 | { echo "$as_me:$LINENO: checking for in_addr_t" >&5 |
19941 | echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6 | 21145 | echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; } |
19942 | if test "${ac_cv_type_in_addr_t+set}" = set; then | 21146 | if test "${ac_cv_type_in_addr_t+set}" = set; then |
19943 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21147 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19944 | else | 21148 | else |
@@ -19951,50 +21155,47 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
19951 | #include <sys/types.h> | 21155 | #include <sys/types.h> |
19952 | #include <netinet/in.h> | 21156 | #include <netinet/in.h> |
19953 | 21157 | ||
21158 | typedef in_addr_t ac__type_new_; | ||
19954 | int | 21159 | int |
19955 | main () | 21160 | main () |
19956 | { | 21161 | { |
19957 | if ((in_addr_t *) 0) | 21162 | if ((ac__type_new_ *) 0) |
19958 | return 0; | 21163 | return 0; |
19959 | if (sizeof (in_addr_t)) | 21164 | if (sizeof (ac__type_new_)) |
19960 | return 0; | 21165 | return 0; |
19961 | ; | 21166 | ; |
19962 | return 0; | 21167 | return 0; |
19963 | } | 21168 | } |
19964 | _ACEOF | 21169 | _ACEOF |
19965 | rm -f conftest.$ac_objext | 21170 | rm -f conftest.$ac_objext |
19966 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21171 | if { (ac_try="$ac_compile" |
19967 | (eval $ac_compile) 2>conftest.er1 | 21172 | case "(($ac_try" in |
21173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21174 | *) ac_try_echo=$ac_try;; | ||
21175 | esac | ||
21176 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21177 | (eval "$ac_compile") 2>conftest.er1 | ||
19968 | ac_status=$? | 21178 | ac_status=$? |
19969 | grep -v '^ *+' conftest.er1 >conftest.err | 21179 | grep -v '^ *+' conftest.er1 >conftest.err |
19970 | rm -f conftest.er1 | 21180 | rm -f conftest.er1 |
19971 | cat conftest.err >&5 | 21181 | cat conftest.err >&5 |
19972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19973 | (exit $ac_status); } && | 21183 | (exit $ac_status); } && { |
19974 | { ac_try='test -z "$ac_c_werror_flag" | 21184 | test -z "$ac_c_werror_flag" || |
19975 | || test ! -s conftest.err' | 21185 | test ! -s conftest.err |
19976 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21186 | } && test -s conftest.$ac_objext; then |
19977 | (eval $ac_try) 2>&5 | ||
19978 | ac_status=$? | ||
19979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19980 | (exit $ac_status); }; } && | ||
19981 | { ac_try='test -s conftest.$ac_objext' | ||
19982 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
19983 | (eval $ac_try) 2>&5 | ||
19984 | ac_status=$? | ||
19985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19986 | (exit $ac_status); }; }; then | ||
19987 | ac_cv_type_in_addr_t=yes | 21187 | ac_cv_type_in_addr_t=yes |
19988 | else | 21188 | else |
19989 | echo "$as_me: failed program was:" >&5 | 21189 | echo "$as_me: failed program was:" >&5 |
19990 | sed 's/^/| /' conftest.$ac_ext >&5 | 21190 | sed 's/^/| /' conftest.$ac_ext >&5 |
19991 | 21191 | ||
19992 | ac_cv_type_in_addr_t=no | 21192 | ac_cv_type_in_addr_t=no |
19993 | fi | 21193 | fi |
19994 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21194 | |
21195 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19995 | fi | 21196 | fi |
19996 | echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5 | 21197 | { echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5 |
19997 | echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6 | 21198 | echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6; } |
19998 | if test $ac_cv_type_in_addr_t = yes; then | 21199 | if test $ac_cv_type_in_addr_t = yes; then |
19999 | 21200 | ||
20000 | cat >>confdefs.h <<_ACEOF | 21201 | cat >>confdefs.h <<_ACEOF |
@@ -20005,8 +21206,8 @@ _ACEOF | |||
20005 | fi | 21206 | fi |
20006 | 21207 | ||
20007 | 21208 | ||
20008 | echo "$as_me:$LINENO: checking for size_t" >&5 | 21209 | { echo "$as_me:$LINENO: checking for size_t" >&5 |
20009 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 21210 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
20010 | if test "${ac_cv_have_size_t+set}" = set; then | 21211 | if test "${ac_cv_have_size_t+set}" = set; then |
20011 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21212 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20012 | else | 21213 | else |
@@ -20029,40 +21230,36 @@ main () | |||
20029 | } | 21230 | } |
20030 | _ACEOF | 21231 | _ACEOF |
20031 | rm -f conftest.$ac_objext | 21232 | rm -f conftest.$ac_objext |
20032 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21233 | if { (ac_try="$ac_compile" |
20033 | (eval $ac_compile) 2>conftest.er1 | 21234 | case "(($ac_try" in |
21235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21236 | *) ac_try_echo=$ac_try;; | ||
21237 | esac | ||
21238 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21239 | (eval "$ac_compile") 2>conftest.er1 | ||
20034 | ac_status=$? | 21240 | ac_status=$? |
20035 | grep -v '^ *+' conftest.er1 >conftest.err | 21241 | grep -v '^ *+' conftest.er1 >conftest.err |
20036 | rm -f conftest.er1 | 21242 | rm -f conftest.er1 |
20037 | cat conftest.err >&5 | 21243 | cat conftest.err >&5 |
20038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20039 | (exit $ac_status); } && | 21245 | (exit $ac_status); } && { |
20040 | { ac_try='test -z "$ac_c_werror_flag" | 21246 | test -z "$ac_c_werror_flag" || |
20041 | || test ! -s conftest.err' | 21247 | test ! -s conftest.err |
20042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21248 | } && test -s conftest.$ac_objext; then |
20043 | (eval $ac_try) 2>&5 | ||
20044 | ac_status=$? | ||
20045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20046 | (exit $ac_status); }; } && | ||
20047 | { ac_try='test -s conftest.$ac_objext' | ||
20048 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20049 | (eval $ac_try) 2>&5 | ||
20050 | ac_status=$? | ||
20051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20052 | (exit $ac_status); }; }; then | ||
20053 | ac_cv_have_size_t="yes" | 21249 | ac_cv_have_size_t="yes" |
20054 | else | 21250 | else |
20055 | echo "$as_me: failed program was:" >&5 | 21251 | echo "$as_me: failed program was:" >&5 |
20056 | sed 's/^/| /' conftest.$ac_ext >&5 | 21252 | sed 's/^/| /' conftest.$ac_ext >&5 |
20057 | 21253 | ||
20058 | ac_cv_have_size_t="no" | 21254 | ac_cv_have_size_t="no" |
20059 | 21255 | ||
20060 | fi | 21256 | fi |
20061 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21257 | |
21258 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20062 | 21259 | ||
20063 | fi | 21260 | fi |
20064 | echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 | 21261 | { echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 |
20065 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 | 21262 | echo "${ECHO_T}$ac_cv_have_size_t" >&6; } |
20066 | if test "x$ac_cv_have_size_t" = "xyes" ; then | 21263 | if test "x$ac_cv_have_size_t" = "xyes" ; then |
20067 | 21264 | ||
20068 | cat >>confdefs.h <<\_ACEOF | 21265 | cat >>confdefs.h <<\_ACEOF |
@@ -20071,8 +21268,8 @@ _ACEOF | |||
20071 | 21268 | ||
20072 | fi | 21269 | fi |
20073 | 21270 | ||
20074 | echo "$as_me:$LINENO: checking for ssize_t" >&5 | 21271 | { echo "$as_me:$LINENO: checking for ssize_t" >&5 |
20075 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 | 21272 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; } |
20076 | if test "${ac_cv_have_ssize_t+set}" = set; then | 21273 | if test "${ac_cv_have_ssize_t+set}" = set; then |
20077 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21274 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20078 | else | 21275 | else |
@@ -20095,40 +21292,36 @@ main () | |||
20095 | } | 21292 | } |
20096 | _ACEOF | 21293 | _ACEOF |
20097 | rm -f conftest.$ac_objext | 21294 | rm -f conftest.$ac_objext |
20098 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21295 | if { (ac_try="$ac_compile" |
20099 | (eval $ac_compile) 2>conftest.er1 | 21296 | case "(($ac_try" in |
21297 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21298 | *) ac_try_echo=$ac_try;; | ||
21299 | esac | ||
21300 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21301 | (eval "$ac_compile") 2>conftest.er1 | ||
20100 | ac_status=$? | 21302 | ac_status=$? |
20101 | grep -v '^ *+' conftest.er1 >conftest.err | 21303 | grep -v '^ *+' conftest.er1 >conftest.err |
20102 | rm -f conftest.er1 | 21304 | rm -f conftest.er1 |
20103 | cat conftest.err >&5 | 21305 | cat conftest.err >&5 |
20104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20105 | (exit $ac_status); } && | 21307 | (exit $ac_status); } && { |
20106 | { ac_try='test -z "$ac_c_werror_flag" | 21308 | test -z "$ac_c_werror_flag" || |
20107 | || test ! -s conftest.err' | 21309 | test ! -s conftest.err |
20108 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21310 | } && test -s conftest.$ac_objext; then |
20109 | (eval $ac_try) 2>&5 | ||
20110 | ac_status=$? | ||
20111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20112 | (exit $ac_status); }; } && | ||
20113 | { ac_try='test -s conftest.$ac_objext' | ||
20114 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20115 | (eval $ac_try) 2>&5 | ||
20116 | ac_status=$? | ||
20117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20118 | (exit $ac_status); }; }; then | ||
20119 | ac_cv_have_ssize_t="yes" | 21311 | ac_cv_have_ssize_t="yes" |
20120 | else | 21312 | else |
20121 | echo "$as_me: failed program was:" >&5 | 21313 | echo "$as_me: failed program was:" >&5 |
20122 | sed 's/^/| /' conftest.$ac_ext >&5 | 21314 | sed 's/^/| /' conftest.$ac_ext >&5 |
20123 | 21315 | ||
20124 | ac_cv_have_ssize_t="no" | 21316 | ac_cv_have_ssize_t="no" |
20125 | 21317 | ||
20126 | fi | 21318 | fi |
20127 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21319 | |
21320 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20128 | 21321 | ||
20129 | fi | 21322 | fi |
20130 | echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 | 21323 | { echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 |
20131 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 | 21324 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6; } |
20132 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | 21325 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then |
20133 | 21326 | ||
20134 | cat >>confdefs.h <<\_ACEOF | 21327 | cat >>confdefs.h <<\_ACEOF |
@@ -20137,8 +21330,8 @@ _ACEOF | |||
20137 | 21330 | ||
20138 | fi | 21331 | fi |
20139 | 21332 | ||
20140 | echo "$as_me:$LINENO: checking for clock_t" >&5 | 21333 | { echo "$as_me:$LINENO: checking for clock_t" >&5 |
20141 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 | 21334 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } |
20142 | if test "${ac_cv_have_clock_t+set}" = set; then | 21335 | if test "${ac_cv_have_clock_t+set}" = set; then |
20143 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21336 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20144 | else | 21337 | else |
@@ -20161,40 +21354,36 @@ main () | |||
20161 | } | 21354 | } |
20162 | _ACEOF | 21355 | _ACEOF |
20163 | rm -f conftest.$ac_objext | 21356 | rm -f conftest.$ac_objext |
20164 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21357 | if { (ac_try="$ac_compile" |
20165 | (eval $ac_compile) 2>conftest.er1 | 21358 | case "(($ac_try" in |
21359 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21360 | *) ac_try_echo=$ac_try;; | ||
21361 | esac | ||
21362 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21363 | (eval "$ac_compile") 2>conftest.er1 | ||
20166 | ac_status=$? | 21364 | ac_status=$? |
20167 | grep -v '^ *+' conftest.er1 >conftest.err | 21365 | grep -v '^ *+' conftest.er1 >conftest.err |
20168 | rm -f conftest.er1 | 21366 | rm -f conftest.er1 |
20169 | cat conftest.err >&5 | 21367 | cat conftest.err >&5 |
20170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20171 | (exit $ac_status); } && | 21369 | (exit $ac_status); } && { |
20172 | { ac_try='test -z "$ac_c_werror_flag" | 21370 | test -z "$ac_c_werror_flag" || |
20173 | || test ! -s conftest.err' | 21371 | test ! -s conftest.err |
20174 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21372 | } && test -s conftest.$ac_objext; then |
20175 | (eval $ac_try) 2>&5 | ||
20176 | ac_status=$? | ||
20177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20178 | (exit $ac_status); }; } && | ||
20179 | { ac_try='test -s conftest.$ac_objext' | ||
20180 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20181 | (eval $ac_try) 2>&5 | ||
20182 | ac_status=$? | ||
20183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20184 | (exit $ac_status); }; }; then | ||
20185 | ac_cv_have_clock_t="yes" | 21373 | ac_cv_have_clock_t="yes" |
20186 | else | 21374 | else |
20187 | echo "$as_me: failed program was:" >&5 | 21375 | echo "$as_me: failed program was:" >&5 |
20188 | sed 's/^/| /' conftest.$ac_ext >&5 | 21376 | sed 's/^/| /' conftest.$ac_ext >&5 |
20189 | 21377 | ||
20190 | ac_cv_have_clock_t="no" | 21378 | ac_cv_have_clock_t="no" |
20191 | 21379 | ||
20192 | fi | 21380 | fi |
20193 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21381 | |
21382 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20194 | 21383 | ||
20195 | fi | 21384 | fi |
20196 | echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 | 21385 | { echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 |
20197 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 | 21386 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6; } |
20198 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | 21387 | if test "x$ac_cv_have_clock_t" = "xyes" ; then |
20199 | 21388 | ||
20200 | cat >>confdefs.h <<\_ACEOF | 21389 | cat >>confdefs.h <<\_ACEOF |
@@ -20203,8 +21392,8 @@ _ACEOF | |||
20203 | 21392 | ||
20204 | fi | 21393 | fi |
20205 | 21394 | ||
20206 | echo "$as_me:$LINENO: checking for sa_family_t" >&5 | 21395 | { echo "$as_me:$LINENO: checking for sa_family_t" >&5 |
20207 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 | 21396 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; } |
20208 | if test "${ac_cv_have_sa_family_t+set}" = set; then | 21397 | if test "${ac_cv_have_sa_family_t+set}" = set; then |
20209 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21398 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20210 | else | 21399 | else |
@@ -20228,33 +21417,28 @@ main () | |||
20228 | } | 21417 | } |
20229 | _ACEOF | 21418 | _ACEOF |
20230 | rm -f conftest.$ac_objext | 21419 | rm -f conftest.$ac_objext |
20231 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21420 | if { (ac_try="$ac_compile" |
20232 | (eval $ac_compile) 2>conftest.er1 | 21421 | case "(($ac_try" in |
21422 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21423 | *) ac_try_echo=$ac_try;; | ||
21424 | esac | ||
21425 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21426 | (eval "$ac_compile") 2>conftest.er1 | ||
20233 | ac_status=$? | 21427 | ac_status=$? |
20234 | grep -v '^ *+' conftest.er1 >conftest.err | 21428 | grep -v '^ *+' conftest.er1 >conftest.err |
20235 | rm -f conftest.er1 | 21429 | rm -f conftest.er1 |
20236 | cat conftest.err >&5 | 21430 | cat conftest.err >&5 |
20237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20238 | (exit $ac_status); } && | 21432 | (exit $ac_status); } && { |
20239 | { ac_try='test -z "$ac_c_werror_flag" | 21433 | test -z "$ac_c_werror_flag" || |
20240 | || test ! -s conftest.err' | 21434 | test ! -s conftest.err |
20241 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21435 | } && test -s conftest.$ac_objext; then |
20242 | (eval $ac_try) 2>&5 | ||
20243 | ac_status=$? | ||
20244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20245 | (exit $ac_status); }; } && | ||
20246 | { ac_try='test -s conftest.$ac_objext' | ||
20247 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20248 | (eval $ac_try) 2>&5 | ||
20249 | ac_status=$? | ||
20250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20251 | (exit $ac_status); }; }; then | ||
20252 | ac_cv_have_sa_family_t="yes" | 21436 | ac_cv_have_sa_family_t="yes" |
20253 | else | 21437 | else |
20254 | echo "$as_me: failed program was:" >&5 | 21438 | echo "$as_me: failed program was:" >&5 |
20255 | sed 's/^/| /' conftest.$ac_ext >&5 | 21439 | sed 's/^/| /' conftest.$ac_ext >&5 |
20256 | 21440 | ||
20257 | cat >conftest.$ac_ext <<_ACEOF | 21441 | cat >conftest.$ac_ext <<_ACEOF |
20258 | /* confdefs.h. */ | 21442 | /* confdefs.h. */ |
20259 | _ACEOF | 21443 | _ACEOF |
20260 | cat confdefs.h >>conftest.$ac_ext | 21444 | cat confdefs.h >>conftest.$ac_ext |
@@ -20274,43 +21458,40 @@ main () | |||
20274 | } | 21458 | } |
20275 | _ACEOF | 21459 | _ACEOF |
20276 | rm -f conftest.$ac_objext | 21460 | rm -f conftest.$ac_objext |
20277 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21461 | if { (ac_try="$ac_compile" |
20278 | (eval $ac_compile) 2>conftest.er1 | 21462 | case "(($ac_try" in |
21463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21464 | *) ac_try_echo=$ac_try;; | ||
21465 | esac | ||
21466 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21467 | (eval "$ac_compile") 2>conftest.er1 | ||
20279 | ac_status=$? | 21468 | ac_status=$? |
20280 | grep -v '^ *+' conftest.er1 >conftest.err | 21469 | grep -v '^ *+' conftest.er1 >conftest.err |
20281 | rm -f conftest.er1 | 21470 | rm -f conftest.er1 |
20282 | cat conftest.err >&5 | 21471 | cat conftest.err >&5 |
20283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20284 | (exit $ac_status); } && | 21473 | (exit $ac_status); } && { |
20285 | { ac_try='test -z "$ac_c_werror_flag" | 21474 | test -z "$ac_c_werror_flag" || |
20286 | || test ! -s conftest.err' | 21475 | test ! -s conftest.err |
20287 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21476 | } && test -s conftest.$ac_objext; then |
20288 | (eval $ac_try) 2>&5 | ||
20289 | ac_status=$? | ||
20290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20291 | (exit $ac_status); }; } && | ||
20292 | { ac_try='test -s conftest.$ac_objext' | ||
20293 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20294 | (eval $ac_try) 2>&5 | ||
20295 | ac_status=$? | ||
20296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20297 | (exit $ac_status); }; }; then | ||
20298 | ac_cv_have_sa_family_t="yes" | 21477 | ac_cv_have_sa_family_t="yes" |
20299 | else | 21478 | else |
20300 | echo "$as_me: failed program was:" >&5 | 21479 | echo "$as_me: failed program was:" >&5 |
20301 | sed 's/^/| /' conftest.$ac_ext >&5 | 21480 | sed 's/^/| /' conftest.$ac_ext >&5 |
20302 | 21481 | ||
20303 | ac_cv_have_sa_family_t="no" | 21482 | ac_cv_have_sa_family_t="no" |
20304 | 21483 | ||
20305 | fi | 21484 | fi |
20306 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21485 | |
21486 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20307 | 21487 | ||
20308 | fi | 21488 | fi |
20309 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21489 | |
21490 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20310 | 21491 | ||
20311 | fi | 21492 | fi |
20312 | echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 | 21493 | { echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 |
20313 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 | 21494 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6; } |
20314 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | 21495 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then |
20315 | 21496 | ||
20316 | cat >>confdefs.h <<\_ACEOF | 21497 | cat >>confdefs.h <<\_ACEOF |
@@ -20319,8 +21500,8 @@ _ACEOF | |||
20319 | 21500 | ||
20320 | fi | 21501 | fi |
20321 | 21502 | ||
20322 | echo "$as_me:$LINENO: checking for pid_t" >&5 | 21503 | { echo "$as_me:$LINENO: checking for pid_t" >&5 |
20323 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 21504 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } |
20324 | if test "${ac_cv_have_pid_t+set}" = set; then | 21505 | if test "${ac_cv_have_pid_t+set}" = set; then |
20325 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21506 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20326 | else | 21507 | else |
@@ -20343,40 +21524,36 @@ main () | |||
20343 | } | 21524 | } |
20344 | _ACEOF | 21525 | _ACEOF |
20345 | rm -f conftest.$ac_objext | 21526 | rm -f conftest.$ac_objext |
20346 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21527 | if { (ac_try="$ac_compile" |
20347 | (eval $ac_compile) 2>conftest.er1 | 21528 | case "(($ac_try" in |
21529 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21530 | *) ac_try_echo=$ac_try;; | ||
21531 | esac | ||
21532 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21533 | (eval "$ac_compile") 2>conftest.er1 | ||
20348 | ac_status=$? | 21534 | ac_status=$? |
20349 | grep -v '^ *+' conftest.er1 >conftest.err | 21535 | grep -v '^ *+' conftest.er1 >conftest.err |
20350 | rm -f conftest.er1 | 21536 | rm -f conftest.er1 |
20351 | cat conftest.err >&5 | 21537 | cat conftest.err >&5 |
20352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20353 | (exit $ac_status); } && | 21539 | (exit $ac_status); } && { |
20354 | { ac_try='test -z "$ac_c_werror_flag" | 21540 | test -z "$ac_c_werror_flag" || |
20355 | || test ! -s conftest.err' | 21541 | test ! -s conftest.err |
20356 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21542 | } && test -s conftest.$ac_objext; then |
20357 | (eval $ac_try) 2>&5 | ||
20358 | ac_status=$? | ||
20359 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20360 | (exit $ac_status); }; } && | ||
20361 | { ac_try='test -s conftest.$ac_objext' | ||
20362 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20363 | (eval $ac_try) 2>&5 | ||
20364 | ac_status=$? | ||
20365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20366 | (exit $ac_status); }; }; then | ||
20367 | ac_cv_have_pid_t="yes" | 21543 | ac_cv_have_pid_t="yes" |
20368 | else | 21544 | else |
20369 | echo "$as_me: failed program was:" >&5 | 21545 | echo "$as_me: failed program was:" >&5 |
20370 | sed 's/^/| /' conftest.$ac_ext >&5 | 21546 | sed 's/^/| /' conftest.$ac_ext >&5 |
20371 | 21547 | ||
20372 | ac_cv_have_pid_t="no" | 21548 | ac_cv_have_pid_t="no" |
20373 | 21549 | ||
20374 | fi | 21550 | fi |
20375 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21551 | |
21552 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20376 | 21553 | ||
20377 | fi | 21554 | fi |
20378 | echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 | 21555 | { echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 |
20379 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 | 21556 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6; } |
20380 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | 21557 | if test "x$ac_cv_have_pid_t" = "xyes" ; then |
20381 | 21558 | ||
20382 | cat >>confdefs.h <<\_ACEOF | 21559 | cat >>confdefs.h <<\_ACEOF |
@@ -20385,8 +21562,8 @@ _ACEOF | |||
20385 | 21562 | ||
20386 | fi | 21563 | fi |
20387 | 21564 | ||
20388 | echo "$as_me:$LINENO: checking for mode_t" >&5 | 21565 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
20389 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 | 21566 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
20390 | if test "${ac_cv_have_mode_t+set}" = set; then | 21567 | if test "${ac_cv_have_mode_t+set}" = set; then |
20391 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21568 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20392 | else | 21569 | else |
@@ -20409,40 +21586,36 @@ main () | |||
20409 | } | 21586 | } |
20410 | _ACEOF | 21587 | _ACEOF |
20411 | rm -f conftest.$ac_objext | 21588 | rm -f conftest.$ac_objext |
20412 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21589 | if { (ac_try="$ac_compile" |
20413 | (eval $ac_compile) 2>conftest.er1 | 21590 | case "(($ac_try" in |
21591 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21592 | *) ac_try_echo=$ac_try;; | ||
21593 | esac | ||
21594 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21595 | (eval "$ac_compile") 2>conftest.er1 | ||
20414 | ac_status=$? | 21596 | ac_status=$? |
20415 | grep -v '^ *+' conftest.er1 >conftest.err | 21597 | grep -v '^ *+' conftest.er1 >conftest.err |
20416 | rm -f conftest.er1 | 21598 | rm -f conftest.er1 |
20417 | cat conftest.err >&5 | 21599 | cat conftest.err >&5 |
20418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20419 | (exit $ac_status); } && | 21601 | (exit $ac_status); } && { |
20420 | { ac_try='test -z "$ac_c_werror_flag" | 21602 | test -z "$ac_c_werror_flag" || |
20421 | || test ! -s conftest.err' | 21603 | test ! -s conftest.err |
20422 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21604 | } && test -s conftest.$ac_objext; then |
20423 | (eval $ac_try) 2>&5 | ||
20424 | ac_status=$? | ||
20425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20426 | (exit $ac_status); }; } && | ||
20427 | { ac_try='test -s conftest.$ac_objext' | ||
20428 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20429 | (eval $ac_try) 2>&5 | ||
20430 | ac_status=$? | ||
20431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20432 | (exit $ac_status); }; }; then | ||
20433 | ac_cv_have_mode_t="yes" | 21605 | ac_cv_have_mode_t="yes" |
20434 | else | 21606 | else |
20435 | echo "$as_me: failed program was:" >&5 | 21607 | echo "$as_me: failed program was:" >&5 |
20436 | sed 's/^/| /' conftest.$ac_ext >&5 | 21608 | sed 's/^/| /' conftest.$ac_ext >&5 |
20437 | 21609 | ||
20438 | ac_cv_have_mode_t="no" | 21610 | ac_cv_have_mode_t="no" |
20439 | 21611 | ||
20440 | fi | 21612 | fi |
20441 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21613 | |
21614 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20442 | 21615 | ||
20443 | fi | 21616 | fi |
20444 | echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 | 21617 | { echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 |
20445 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 | 21618 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6; } |
20446 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | 21619 | if test "x$ac_cv_have_mode_t" = "xyes" ; then |
20447 | 21620 | ||
20448 | cat >>confdefs.h <<\_ACEOF | 21621 | cat >>confdefs.h <<\_ACEOF |
@@ -20452,8 +21625,8 @@ _ACEOF | |||
20452 | fi | 21625 | fi |
20453 | 21626 | ||
20454 | 21627 | ||
20455 | echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 | 21628 | { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 |
20456 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 | 21629 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; } |
20457 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then | 21630 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then |
20458 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21631 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20459 | else | 21632 | else |
@@ -20477,40 +21650,36 @@ main () | |||
20477 | } | 21650 | } |
20478 | _ACEOF | 21651 | _ACEOF |
20479 | rm -f conftest.$ac_objext | 21652 | rm -f conftest.$ac_objext |
20480 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21653 | if { (ac_try="$ac_compile" |
20481 | (eval $ac_compile) 2>conftest.er1 | 21654 | case "(($ac_try" in |
21655 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21656 | *) ac_try_echo=$ac_try;; | ||
21657 | esac | ||
21658 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21659 | (eval "$ac_compile") 2>conftest.er1 | ||
20482 | ac_status=$? | 21660 | ac_status=$? |
20483 | grep -v '^ *+' conftest.er1 >conftest.err | 21661 | grep -v '^ *+' conftest.er1 >conftest.err |
20484 | rm -f conftest.er1 | 21662 | rm -f conftest.er1 |
20485 | cat conftest.err >&5 | 21663 | cat conftest.err >&5 |
20486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20487 | (exit $ac_status); } && | 21665 | (exit $ac_status); } && { |
20488 | { ac_try='test -z "$ac_c_werror_flag" | 21666 | test -z "$ac_c_werror_flag" || |
20489 | || test ! -s conftest.err' | 21667 | test ! -s conftest.err |
20490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21668 | } && test -s conftest.$ac_objext; then |
20491 | (eval $ac_try) 2>&5 | ||
20492 | ac_status=$? | ||
20493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20494 | (exit $ac_status); }; } && | ||
20495 | { ac_try='test -s conftest.$ac_objext' | ||
20496 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20497 | (eval $ac_try) 2>&5 | ||
20498 | ac_status=$? | ||
20499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20500 | (exit $ac_status); }; }; then | ||
20501 | ac_cv_have_struct_sockaddr_storage="yes" | 21669 | ac_cv_have_struct_sockaddr_storage="yes" |
20502 | else | 21670 | else |
20503 | echo "$as_me: failed program was:" >&5 | 21671 | echo "$as_me: failed program was:" >&5 |
20504 | sed 's/^/| /' conftest.$ac_ext >&5 | 21672 | sed 's/^/| /' conftest.$ac_ext >&5 |
20505 | 21673 | ||
20506 | ac_cv_have_struct_sockaddr_storage="no" | 21674 | ac_cv_have_struct_sockaddr_storage="no" |
20507 | 21675 | ||
20508 | fi | 21676 | fi |
20509 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21677 | |
21678 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20510 | 21679 | ||
20511 | fi | 21680 | fi |
20512 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 | 21681 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 |
20513 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 | 21682 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; } |
20514 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | 21683 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then |
20515 | 21684 | ||
20516 | cat >>confdefs.h <<\_ACEOF | 21685 | cat >>confdefs.h <<\_ACEOF |
@@ -20519,8 +21688,8 @@ _ACEOF | |||
20519 | 21688 | ||
20520 | fi | 21689 | fi |
20521 | 21690 | ||
20522 | echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 | 21691 | { echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 |
20523 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 | 21692 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; } |
20524 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then | 21693 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then |
20525 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21694 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20526 | else | 21695 | else |
@@ -20544,40 +21713,36 @@ main () | |||
20544 | } | 21713 | } |
20545 | _ACEOF | 21714 | _ACEOF |
20546 | rm -f conftest.$ac_objext | 21715 | rm -f conftest.$ac_objext |
20547 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21716 | if { (ac_try="$ac_compile" |
20548 | (eval $ac_compile) 2>conftest.er1 | 21717 | case "(($ac_try" in |
21718 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21719 | *) ac_try_echo=$ac_try;; | ||
21720 | esac | ||
21721 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21722 | (eval "$ac_compile") 2>conftest.er1 | ||
20549 | ac_status=$? | 21723 | ac_status=$? |
20550 | grep -v '^ *+' conftest.er1 >conftest.err | 21724 | grep -v '^ *+' conftest.er1 >conftest.err |
20551 | rm -f conftest.er1 | 21725 | rm -f conftest.er1 |
20552 | cat conftest.err >&5 | 21726 | cat conftest.err >&5 |
20553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20554 | (exit $ac_status); } && | 21728 | (exit $ac_status); } && { |
20555 | { ac_try='test -z "$ac_c_werror_flag" | 21729 | test -z "$ac_c_werror_flag" || |
20556 | || test ! -s conftest.err' | 21730 | test ! -s conftest.err |
20557 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21731 | } && test -s conftest.$ac_objext; then |
20558 | (eval $ac_try) 2>&5 | ||
20559 | ac_status=$? | ||
20560 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20561 | (exit $ac_status); }; } && | ||
20562 | { ac_try='test -s conftest.$ac_objext' | ||
20563 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20564 | (eval $ac_try) 2>&5 | ||
20565 | ac_status=$? | ||
20566 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20567 | (exit $ac_status); }; }; then | ||
20568 | ac_cv_have_struct_sockaddr_in6="yes" | 21732 | ac_cv_have_struct_sockaddr_in6="yes" |
20569 | else | 21733 | else |
20570 | echo "$as_me: failed program was:" >&5 | 21734 | echo "$as_me: failed program was:" >&5 |
20571 | sed 's/^/| /' conftest.$ac_ext >&5 | 21735 | sed 's/^/| /' conftest.$ac_ext >&5 |
20572 | 21736 | ||
20573 | ac_cv_have_struct_sockaddr_in6="no" | 21737 | ac_cv_have_struct_sockaddr_in6="no" |
20574 | 21738 | ||
20575 | fi | 21739 | fi |
20576 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21740 | |
21741 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20577 | 21742 | ||
20578 | fi | 21743 | fi |
20579 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 | 21744 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 |
20580 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 | 21745 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; } |
20581 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | 21746 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then |
20582 | 21747 | ||
20583 | cat >>confdefs.h <<\_ACEOF | 21748 | cat >>confdefs.h <<\_ACEOF |
@@ -20586,8 +21751,8 @@ _ACEOF | |||
20586 | 21751 | ||
20587 | fi | 21752 | fi |
20588 | 21753 | ||
20589 | echo "$as_me:$LINENO: checking for struct in6_addr" >&5 | 21754 | { echo "$as_me:$LINENO: checking for struct in6_addr" >&5 |
20590 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 | 21755 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; } |
20591 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then | 21756 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then |
20592 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21757 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20593 | else | 21758 | else |
@@ -20611,40 +21776,36 @@ main () | |||
20611 | } | 21776 | } |
20612 | _ACEOF | 21777 | _ACEOF |
20613 | rm -f conftest.$ac_objext | 21778 | rm -f conftest.$ac_objext |
20614 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21779 | if { (ac_try="$ac_compile" |
20615 | (eval $ac_compile) 2>conftest.er1 | 21780 | case "(($ac_try" in |
21781 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21782 | *) ac_try_echo=$ac_try;; | ||
21783 | esac | ||
21784 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21785 | (eval "$ac_compile") 2>conftest.er1 | ||
20616 | ac_status=$? | 21786 | ac_status=$? |
20617 | grep -v '^ *+' conftest.er1 >conftest.err | 21787 | grep -v '^ *+' conftest.er1 >conftest.err |
20618 | rm -f conftest.er1 | 21788 | rm -f conftest.er1 |
20619 | cat conftest.err >&5 | 21789 | cat conftest.err >&5 |
20620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20621 | (exit $ac_status); } && | 21791 | (exit $ac_status); } && { |
20622 | { ac_try='test -z "$ac_c_werror_flag" | 21792 | test -z "$ac_c_werror_flag" || |
20623 | || test ! -s conftest.err' | 21793 | test ! -s conftest.err |
20624 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21794 | } && test -s conftest.$ac_objext; then |
20625 | (eval $ac_try) 2>&5 | ||
20626 | ac_status=$? | ||
20627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20628 | (exit $ac_status); }; } && | ||
20629 | { ac_try='test -s conftest.$ac_objext' | ||
20630 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20631 | (eval $ac_try) 2>&5 | ||
20632 | ac_status=$? | ||
20633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20634 | (exit $ac_status); }; }; then | ||
20635 | ac_cv_have_struct_in6_addr="yes" | 21795 | ac_cv_have_struct_in6_addr="yes" |
20636 | else | 21796 | else |
20637 | echo "$as_me: failed program was:" >&5 | 21797 | echo "$as_me: failed program was:" >&5 |
20638 | sed 's/^/| /' conftest.$ac_ext >&5 | 21798 | sed 's/^/| /' conftest.$ac_ext >&5 |
20639 | 21799 | ||
20640 | ac_cv_have_struct_in6_addr="no" | 21800 | ac_cv_have_struct_in6_addr="no" |
20641 | 21801 | ||
20642 | fi | 21802 | fi |
20643 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21803 | |
21804 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20644 | 21805 | ||
20645 | fi | 21806 | fi |
20646 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 | 21807 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 |
20647 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 | 21808 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; } |
20648 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | 21809 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then |
20649 | 21810 | ||
20650 | cat >>confdefs.h <<\_ACEOF | 21811 | cat >>confdefs.h <<\_ACEOF |
@@ -20653,8 +21814,8 @@ _ACEOF | |||
20653 | 21814 | ||
20654 | fi | 21815 | fi |
20655 | 21816 | ||
20656 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 | 21817 | { echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
20657 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 | 21818 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; } |
20658 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then | 21819 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then |
20659 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21820 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20660 | else | 21821 | else |
@@ -20679,40 +21840,36 @@ main () | |||
20679 | } | 21840 | } |
20680 | _ACEOF | 21841 | _ACEOF |
20681 | rm -f conftest.$ac_objext | 21842 | rm -f conftest.$ac_objext |
20682 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21843 | if { (ac_try="$ac_compile" |
20683 | (eval $ac_compile) 2>conftest.er1 | 21844 | case "(($ac_try" in |
21845 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21846 | *) ac_try_echo=$ac_try;; | ||
21847 | esac | ||
21848 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21849 | (eval "$ac_compile") 2>conftest.er1 | ||
20684 | ac_status=$? | 21850 | ac_status=$? |
20685 | grep -v '^ *+' conftest.er1 >conftest.err | 21851 | grep -v '^ *+' conftest.er1 >conftest.err |
20686 | rm -f conftest.er1 | 21852 | rm -f conftest.er1 |
20687 | cat conftest.err >&5 | 21853 | cat conftest.err >&5 |
20688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20689 | (exit $ac_status); } && | 21855 | (exit $ac_status); } && { |
20690 | { ac_try='test -z "$ac_c_werror_flag" | 21856 | test -z "$ac_c_werror_flag" || |
20691 | || test ! -s conftest.err' | 21857 | test ! -s conftest.err |
20692 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21858 | } && test -s conftest.$ac_objext; then |
20693 | (eval $ac_try) 2>&5 | ||
20694 | ac_status=$? | ||
20695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20696 | (exit $ac_status); }; } && | ||
20697 | { ac_try='test -s conftest.$ac_objext' | ||
20698 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20699 | (eval $ac_try) 2>&5 | ||
20700 | ac_status=$? | ||
20701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20702 | (exit $ac_status); }; }; then | ||
20703 | ac_cv_have_struct_addrinfo="yes" | 21859 | ac_cv_have_struct_addrinfo="yes" |
20704 | else | 21860 | else |
20705 | echo "$as_me: failed program was:" >&5 | 21861 | echo "$as_me: failed program was:" >&5 |
20706 | sed 's/^/| /' conftest.$ac_ext >&5 | 21862 | sed 's/^/| /' conftest.$ac_ext >&5 |
20707 | 21863 | ||
20708 | ac_cv_have_struct_addrinfo="no" | 21864 | ac_cv_have_struct_addrinfo="no" |
20709 | 21865 | ||
20710 | fi | 21866 | fi |
20711 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21867 | |
21868 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20712 | 21869 | ||
20713 | fi | 21870 | fi |
20714 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 | 21871 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 |
20715 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 | 21872 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; } |
20716 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | 21873 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then |
20717 | 21874 | ||
20718 | cat >>confdefs.h <<\_ACEOF | 21875 | cat >>confdefs.h <<\_ACEOF |
@@ -20721,8 +21878,8 @@ _ACEOF | |||
20721 | 21878 | ||
20722 | fi | 21879 | fi |
20723 | 21880 | ||
20724 | echo "$as_me:$LINENO: checking for struct timeval" >&5 | 21881 | { echo "$as_me:$LINENO: checking for struct timeval" >&5 |
20725 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | 21882 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } |
20726 | if test "${ac_cv_have_struct_timeval+set}" = set; then | 21883 | if test "${ac_cv_have_struct_timeval+set}" = set; then |
20727 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21884 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20728 | else | 21885 | else |
@@ -20743,40 +21900,36 @@ main () | |||
20743 | } | 21900 | } |
20744 | _ACEOF | 21901 | _ACEOF |
20745 | rm -f conftest.$ac_objext | 21902 | rm -f conftest.$ac_objext |
20746 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21903 | if { (ac_try="$ac_compile" |
20747 | (eval $ac_compile) 2>conftest.er1 | 21904 | case "(($ac_try" in |
21905 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21906 | *) ac_try_echo=$ac_try;; | ||
21907 | esac | ||
21908 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21909 | (eval "$ac_compile") 2>conftest.er1 | ||
20748 | ac_status=$? | 21910 | ac_status=$? |
20749 | grep -v '^ *+' conftest.er1 >conftest.err | 21911 | grep -v '^ *+' conftest.er1 >conftest.err |
20750 | rm -f conftest.er1 | 21912 | rm -f conftest.er1 |
20751 | cat conftest.err >&5 | 21913 | cat conftest.err >&5 |
20752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20753 | (exit $ac_status); } && | 21915 | (exit $ac_status); } && { |
20754 | { ac_try='test -z "$ac_c_werror_flag" | 21916 | test -z "$ac_c_werror_flag" || |
20755 | || test ! -s conftest.err' | 21917 | test ! -s conftest.err |
20756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21918 | } && test -s conftest.$ac_objext; then |
20757 | (eval $ac_try) 2>&5 | ||
20758 | ac_status=$? | ||
20759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20760 | (exit $ac_status); }; } && | ||
20761 | { ac_try='test -s conftest.$ac_objext' | ||
20762 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20763 | (eval $ac_try) 2>&5 | ||
20764 | ac_status=$? | ||
20765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20766 | (exit $ac_status); }; }; then | ||
20767 | ac_cv_have_struct_timeval="yes" | 21919 | ac_cv_have_struct_timeval="yes" |
20768 | else | 21920 | else |
20769 | echo "$as_me: failed program was:" >&5 | 21921 | echo "$as_me: failed program was:" >&5 |
20770 | sed 's/^/| /' conftest.$ac_ext >&5 | 21922 | sed 's/^/| /' conftest.$ac_ext >&5 |
20771 | 21923 | ||
20772 | ac_cv_have_struct_timeval="no" | 21924 | ac_cv_have_struct_timeval="no" |
20773 | 21925 | ||
20774 | fi | 21926 | fi |
20775 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21927 | |
21928 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20776 | 21929 | ||
20777 | fi | 21930 | fi |
20778 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 | 21931 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 |
20779 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 | 21932 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6; } |
20780 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | 21933 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then |
20781 | 21934 | ||
20782 | cat >>confdefs.h <<\_ACEOF | 21935 | cat >>confdefs.h <<\_ACEOF |
@@ -20786,8 +21939,8 @@ _ACEOF | |||
20786 | have_struct_timeval=1 | 21939 | have_struct_timeval=1 |
20787 | fi | 21940 | fi |
20788 | 21941 | ||
20789 | echo "$as_me:$LINENO: checking for struct timespec" >&5 | 21942 | { echo "$as_me:$LINENO: checking for struct timespec" >&5 |
20790 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 | 21943 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6; } |
20791 | if test "${ac_cv_type_struct_timespec+set}" = set; then | 21944 | if test "${ac_cv_type_struct_timespec+set}" = set; then |
20792 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21945 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20793 | else | 21946 | else |
@@ -20798,50 +21951,47 @@ cat confdefs.h >>conftest.$ac_ext | |||
20798 | cat >>conftest.$ac_ext <<_ACEOF | 21951 | cat >>conftest.$ac_ext <<_ACEOF |
20799 | /* end confdefs.h. */ | 21952 | /* end confdefs.h. */ |
20800 | $ac_includes_default | 21953 | $ac_includes_default |
21954 | typedef struct timespec ac__type_new_; | ||
20801 | int | 21955 | int |
20802 | main () | 21956 | main () |
20803 | { | 21957 | { |
20804 | if ((struct timespec *) 0) | 21958 | if ((ac__type_new_ *) 0) |
20805 | return 0; | 21959 | return 0; |
20806 | if (sizeof (struct timespec)) | 21960 | if (sizeof (ac__type_new_)) |
20807 | return 0; | 21961 | return 0; |
20808 | ; | 21962 | ; |
20809 | return 0; | 21963 | return 0; |
20810 | } | 21964 | } |
20811 | _ACEOF | 21965 | _ACEOF |
20812 | rm -f conftest.$ac_objext | 21966 | rm -f conftest.$ac_objext |
20813 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21967 | if { (ac_try="$ac_compile" |
20814 | (eval $ac_compile) 2>conftest.er1 | 21968 | case "(($ac_try" in |
21969 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21970 | *) ac_try_echo=$ac_try;; | ||
21971 | esac | ||
21972 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21973 | (eval "$ac_compile") 2>conftest.er1 | ||
20815 | ac_status=$? | 21974 | ac_status=$? |
20816 | grep -v '^ *+' conftest.er1 >conftest.err | 21975 | grep -v '^ *+' conftest.er1 >conftest.err |
20817 | rm -f conftest.er1 | 21976 | rm -f conftest.er1 |
20818 | cat conftest.err >&5 | 21977 | cat conftest.err >&5 |
20819 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20820 | (exit $ac_status); } && | 21979 | (exit $ac_status); } && { |
20821 | { ac_try='test -z "$ac_c_werror_flag" | 21980 | test -z "$ac_c_werror_flag" || |
20822 | || test ! -s conftest.err' | 21981 | test ! -s conftest.err |
20823 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21982 | } && test -s conftest.$ac_objext; then |
20824 | (eval $ac_try) 2>&5 | ||
20825 | ac_status=$? | ||
20826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20827 | (exit $ac_status); }; } && | ||
20828 | { ac_try='test -s conftest.$ac_objext' | ||
20829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
20830 | (eval $ac_try) 2>&5 | ||
20831 | ac_status=$? | ||
20832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20833 | (exit $ac_status); }; }; then | ||
20834 | ac_cv_type_struct_timespec=yes | 21983 | ac_cv_type_struct_timespec=yes |
20835 | else | 21984 | else |
20836 | echo "$as_me: failed program was:" >&5 | 21985 | echo "$as_me: failed program was:" >&5 |
20837 | sed 's/^/| /' conftest.$ac_ext >&5 | 21986 | sed 's/^/| /' conftest.$ac_ext >&5 |
20838 | 21987 | ||
20839 | ac_cv_type_struct_timespec=no | 21988 | ac_cv_type_struct_timespec=no |
20840 | fi | 21989 | fi |
20841 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21990 | |
21991 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20842 | fi | 21992 | fi |
20843 | echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 | 21993 | { echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 |
20844 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 | 21994 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6; } |
20845 | if test $ac_cv_type_struct_timespec = yes; then | 21995 | if test $ac_cv_type_struct_timespec = yes; then |
20846 | 21996 | ||
20847 | cat >>confdefs.h <<_ACEOF | 21997 | cat >>confdefs.h <<_ACEOF |
@@ -20898,13 +22048,22 @@ main() { exit(0); } | |||
20898 | 22048 | ||
20899 | _ACEOF | 22049 | _ACEOF |
20900 | rm -f conftest$ac_exeext | 22050 | rm -f conftest$ac_exeext |
20901 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22051 | if { (ac_try="$ac_link" |
20902 | (eval $ac_link) 2>&5 | 22052 | case "(($ac_try" in |
22053 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22054 | *) ac_try_echo=$ac_try;; | ||
22055 | esac | ||
22056 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22057 | (eval "$ac_link") 2>&5 | ||
20903 | ac_status=$? | 22058 | ac_status=$? |
20904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20905 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 22060 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
20906 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22061 | { (case "(($ac_try" in |
20907 | (eval $ac_try) 2>&5 | 22062 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22063 | *) ac_try_echo=$ac_try;; | ||
22064 | esac | ||
22065 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22066 | (eval "$ac_try") 2>&5 | ||
20908 | ac_status=$? | 22067 | ac_status=$? |
20909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22068 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20910 | (exit $ac_status); }; }; then | 22069 | (exit $ac_status); }; }; then |
@@ -20920,17 +22079,19 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
20920 | _ACEOF | 22079 | _ACEOF |
20921 | 22080 | ||
20922 | fi | 22081 | fi |
20923 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 22082 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20924 | fi | 22083 | fi |
22084 | |||
22085 | |||
20925 | fi | 22086 | fi |
20926 | 22087 | ||
20927 | 22088 | ||
20928 | # look for field 'ut_host' in header 'utmp.h' | 22089 | # look for field 'ut_host' in header 'utmp.h' |
20929 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22090 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
20930 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 22091 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
20931 | echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 | 22092 | { echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 |
20932 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 | 22093 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6; } |
20933 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22094 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
20934 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22095 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20935 | else | 22096 | else |
20936 | 22097 | ||
@@ -20955,8 +22116,8 @@ fi | |||
20955 | 22116 | ||
20956 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22117 | ossh_result=`eval 'echo $'"$ossh_varname"` |
20957 | if test -n "`echo $ossh_varname`"; then | 22118 | if test -n "`echo $ossh_varname`"; then |
20958 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22119 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
20959 | echo "${ECHO_T}$ossh_result" >&6 | 22120 | echo "${ECHO_T}$ossh_result" >&6; } |
20960 | if test "x$ossh_result" = "xyes"; then | 22121 | if test "x$ossh_result" = "xyes"; then |
20961 | 22122 | ||
20962 | cat >>confdefs.h <<\_ACEOF | 22123 | cat >>confdefs.h <<\_ACEOF |
@@ -20965,17 +22126,17 @@ _ACEOF | |||
20965 | 22126 | ||
20966 | fi | 22127 | fi |
20967 | else | 22128 | else |
20968 | echo "$as_me:$LINENO: result: no" >&5 | 22129 | { echo "$as_me:$LINENO: result: no" >&5 |
20969 | echo "${ECHO_T}no" >&6 | 22130 | echo "${ECHO_T}no" >&6; } |
20970 | fi | 22131 | fi |
20971 | 22132 | ||
20972 | 22133 | ||
20973 | # look for field 'ut_host' in header 'utmpx.h' | 22134 | # look for field 'ut_host' in header 'utmpx.h' |
20974 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 22135 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
20975 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 22136 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
20976 | echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 | 22137 | { echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 |
20977 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 | 22138 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6; } |
20978 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22139 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
20979 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22140 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20980 | else | 22141 | else |
20981 | 22142 | ||
@@ -21000,8 +22161,8 @@ fi | |||
21000 | 22161 | ||
21001 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22162 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21002 | if test -n "`echo $ossh_varname`"; then | 22163 | if test -n "`echo $ossh_varname`"; then |
21003 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22164 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21004 | echo "${ECHO_T}$ossh_result" >&6 | 22165 | echo "${ECHO_T}$ossh_result" >&6; } |
21005 | if test "x$ossh_result" = "xyes"; then | 22166 | if test "x$ossh_result" = "xyes"; then |
21006 | 22167 | ||
21007 | cat >>confdefs.h <<\_ACEOF | 22168 | cat >>confdefs.h <<\_ACEOF |
@@ -21010,17 +22171,17 @@ _ACEOF | |||
21010 | 22171 | ||
21011 | fi | 22172 | fi |
21012 | else | 22173 | else |
21013 | echo "$as_me:$LINENO: result: no" >&5 | 22174 | { echo "$as_me:$LINENO: result: no" >&5 |
21014 | echo "${ECHO_T}no" >&6 | 22175 | echo "${ECHO_T}no" >&6; } |
21015 | fi | 22176 | fi |
21016 | 22177 | ||
21017 | 22178 | ||
21018 | # look for field 'syslen' in header 'utmpx.h' | 22179 | # look for field 'syslen' in header 'utmpx.h' |
21019 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 22180 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
21020 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen | 22181 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen |
21021 | echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 | 22182 | { echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 |
21022 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 | 22183 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6; } |
21023 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22184 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22185 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21025 | else | 22186 | else |
21026 | 22187 | ||
@@ -21045,8 +22206,8 @@ fi | |||
21045 | 22206 | ||
21046 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22207 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21047 | if test -n "`echo $ossh_varname`"; then | 22208 | if test -n "`echo $ossh_varname`"; then |
21048 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22209 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21049 | echo "${ECHO_T}$ossh_result" >&6 | 22210 | echo "${ECHO_T}$ossh_result" >&6; } |
21050 | if test "x$ossh_result" = "xyes"; then | 22211 | if test "x$ossh_result" = "xyes"; then |
21051 | 22212 | ||
21052 | cat >>confdefs.h <<\_ACEOF | 22213 | cat >>confdefs.h <<\_ACEOF |
@@ -21055,17 +22216,17 @@ _ACEOF | |||
21055 | 22216 | ||
21056 | fi | 22217 | fi |
21057 | else | 22218 | else |
21058 | echo "$as_me:$LINENO: result: no" >&5 | 22219 | { echo "$as_me:$LINENO: result: no" >&5 |
21059 | echo "${ECHO_T}no" >&6 | 22220 | echo "${ECHO_T}no" >&6; } |
21060 | fi | 22221 | fi |
21061 | 22222 | ||
21062 | 22223 | ||
21063 | # look for field 'ut_pid' in header 'utmp.h' | 22224 | # look for field 'ut_pid' in header 'utmp.h' |
21064 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22225 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
21065 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid | 22226 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid |
21066 | echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 | 22227 | { echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 |
21067 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 | 22228 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6; } |
21068 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22229 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21069 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22230 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21070 | else | 22231 | else |
21071 | 22232 | ||
@@ -21090,8 +22251,8 @@ fi | |||
21090 | 22251 | ||
21091 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22252 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21092 | if test -n "`echo $ossh_varname`"; then | 22253 | if test -n "`echo $ossh_varname`"; then |
21093 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22254 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21094 | echo "${ECHO_T}$ossh_result" >&6 | 22255 | echo "${ECHO_T}$ossh_result" >&6; } |
21095 | if test "x$ossh_result" = "xyes"; then | 22256 | if test "x$ossh_result" = "xyes"; then |
21096 | 22257 | ||
21097 | cat >>confdefs.h <<\_ACEOF | 22258 | cat >>confdefs.h <<\_ACEOF |
@@ -21100,17 +22261,17 @@ _ACEOF | |||
21100 | 22261 | ||
21101 | fi | 22262 | fi |
21102 | else | 22263 | else |
21103 | echo "$as_me:$LINENO: result: no" >&5 | 22264 | { echo "$as_me:$LINENO: result: no" >&5 |
21104 | echo "${ECHO_T}no" >&6 | 22265 | echo "${ECHO_T}no" >&6; } |
21105 | fi | 22266 | fi |
21106 | 22267 | ||
21107 | 22268 | ||
21108 | # look for field 'ut_type' in header 'utmp.h' | 22269 | # look for field 'ut_type' in header 'utmp.h' |
21109 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22270 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
21110 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 22271 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
21111 | echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 | 22272 | { echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 |
21112 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 | 22273 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6; } |
21113 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22274 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21114 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22275 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21115 | else | 22276 | else |
21116 | 22277 | ||
@@ -21135,8 +22296,8 @@ fi | |||
21135 | 22296 | ||
21136 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22297 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21137 | if test -n "`echo $ossh_varname`"; then | 22298 | if test -n "`echo $ossh_varname`"; then |
21138 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22299 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21139 | echo "${ECHO_T}$ossh_result" >&6 | 22300 | echo "${ECHO_T}$ossh_result" >&6; } |
21140 | if test "x$ossh_result" = "xyes"; then | 22301 | if test "x$ossh_result" = "xyes"; then |
21141 | 22302 | ||
21142 | cat >>confdefs.h <<\_ACEOF | 22303 | cat >>confdefs.h <<\_ACEOF |
@@ -21145,17 +22306,17 @@ _ACEOF | |||
21145 | 22306 | ||
21146 | fi | 22307 | fi |
21147 | else | 22308 | else |
21148 | echo "$as_me:$LINENO: result: no" >&5 | 22309 | { echo "$as_me:$LINENO: result: no" >&5 |
21149 | echo "${ECHO_T}no" >&6 | 22310 | echo "${ECHO_T}no" >&6; } |
21150 | fi | 22311 | fi |
21151 | 22312 | ||
21152 | 22313 | ||
21153 | # look for field 'ut_type' in header 'utmpx.h' | 22314 | # look for field 'ut_type' in header 'utmpx.h' |
21154 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 22315 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
21155 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 22316 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
21156 | echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 | 22317 | { echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 |
21157 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 | 22318 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6; } |
21158 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22319 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21159 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21160 | else | 22321 | else |
21161 | 22322 | ||
@@ -21180,8 +22341,8 @@ fi | |||
21180 | 22341 | ||
21181 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22342 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21182 | if test -n "`echo $ossh_varname`"; then | 22343 | if test -n "`echo $ossh_varname`"; then |
21183 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22344 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21184 | echo "${ECHO_T}$ossh_result" >&6 | 22345 | echo "${ECHO_T}$ossh_result" >&6; } |
21185 | if test "x$ossh_result" = "xyes"; then | 22346 | if test "x$ossh_result" = "xyes"; then |
21186 | 22347 | ||
21187 | cat >>confdefs.h <<\_ACEOF | 22348 | cat >>confdefs.h <<\_ACEOF |
@@ -21190,17 +22351,17 @@ _ACEOF | |||
21190 | 22351 | ||
21191 | fi | 22352 | fi |
21192 | else | 22353 | else |
21193 | echo "$as_me:$LINENO: result: no" >&5 | 22354 | { echo "$as_me:$LINENO: result: no" >&5 |
21194 | echo "${ECHO_T}no" >&6 | 22355 | echo "${ECHO_T}no" >&6; } |
21195 | fi | 22356 | fi |
21196 | 22357 | ||
21197 | 22358 | ||
21198 | # look for field 'ut_tv' in header 'utmp.h' | 22359 | # look for field 'ut_tv' in header 'utmp.h' |
21199 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22360 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
21200 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 22361 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
21201 | echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 | 22362 | { echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 |
21202 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 | 22363 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6; } |
21203 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22364 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21204 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22365 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21205 | else | 22366 | else |
21206 | 22367 | ||
@@ -21225,8 +22386,8 @@ fi | |||
21225 | 22386 | ||
21226 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22387 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21227 | if test -n "`echo $ossh_varname`"; then | 22388 | if test -n "`echo $ossh_varname`"; then |
21228 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22389 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21229 | echo "${ECHO_T}$ossh_result" >&6 | 22390 | echo "${ECHO_T}$ossh_result" >&6; } |
21230 | if test "x$ossh_result" = "xyes"; then | 22391 | if test "x$ossh_result" = "xyes"; then |
21231 | 22392 | ||
21232 | cat >>confdefs.h <<\_ACEOF | 22393 | cat >>confdefs.h <<\_ACEOF |
@@ -21235,17 +22396,17 @@ _ACEOF | |||
21235 | 22396 | ||
21236 | fi | 22397 | fi |
21237 | else | 22398 | else |
21238 | echo "$as_me:$LINENO: result: no" >&5 | 22399 | { echo "$as_me:$LINENO: result: no" >&5 |
21239 | echo "${ECHO_T}no" >&6 | 22400 | echo "${ECHO_T}no" >&6; } |
21240 | fi | 22401 | fi |
21241 | 22402 | ||
21242 | 22403 | ||
21243 | # look for field 'ut_id' in header 'utmp.h' | 22404 | # look for field 'ut_id' in header 'utmp.h' |
21244 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22405 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
21245 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 22406 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
21246 | echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 | 22407 | { echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 |
21247 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 | 22408 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6; } |
21248 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22409 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21249 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22410 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21250 | else | 22411 | else |
21251 | 22412 | ||
@@ -21270,8 +22431,8 @@ fi | |||
21270 | 22431 | ||
21271 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22432 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21272 | if test -n "`echo $ossh_varname`"; then | 22433 | if test -n "`echo $ossh_varname`"; then |
21273 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22434 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21274 | echo "${ECHO_T}$ossh_result" >&6 | 22435 | echo "${ECHO_T}$ossh_result" >&6; } |
21275 | if test "x$ossh_result" = "xyes"; then | 22436 | if test "x$ossh_result" = "xyes"; then |
21276 | 22437 | ||
21277 | cat >>confdefs.h <<\_ACEOF | 22438 | cat >>confdefs.h <<\_ACEOF |
@@ -21280,17 +22441,17 @@ _ACEOF | |||
21280 | 22441 | ||
21281 | fi | 22442 | fi |
21282 | else | 22443 | else |
21283 | echo "$as_me:$LINENO: result: no" >&5 | 22444 | { echo "$as_me:$LINENO: result: no" >&5 |
21284 | echo "${ECHO_T}no" >&6 | 22445 | echo "${ECHO_T}no" >&6; } |
21285 | fi | 22446 | fi |
21286 | 22447 | ||
21287 | 22448 | ||
21288 | # look for field 'ut_id' in header 'utmpx.h' | 22449 | # look for field 'ut_id' in header 'utmpx.h' |
21289 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 22450 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
21290 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 22451 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
21291 | echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 | 22452 | { echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 |
21292 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 | 22453 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6; } |
21293 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22454 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21294 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22455 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21295 | else | 22456 | else |
21296 | 22457 | ||
@@ -21315,8 +22476,8 @@ fi | |||
21315 | 22476 | ||
21316 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22477 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21317 | if test -n "`echo $ossh_varname`"; then | 22478 | if test -n "`echo $ossh_varname`"; then |
21318 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22479 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21319 | echo "${ECHO_T}$ossh_result" >&6 | 22480 | echo "${ECHO_T}$ossh_result" >&6; } |
21320 | if test "x$ossh_result" = "xyes"; then | 22481 | if test "x$ossh_result" = "xyes"; then |
21321 | 22482 | ||
21322 | cat >>confdefs.h <<\_ACEOF | 22483 | cat >>confdefs.h <<\_ACEOF |
@@ -21325,17 +22486,17 @@ _ACEOF | |||
21325 | 22486 | ||
21326 | fi | 22487 | fi |
21327 | else | 22488 | else |
21328 | echo "$as_me:$LINENO: result: no" >&5 | 22489 | { echo "$as_me:$LINENO: result: no" >&5 |
21329 | echo "${ECHO_T}no" >&6 | 22490 | echo "${ECHO_T}no" >&6; } |
21330 | fi | 22491 | fi |
21331 | 22492 | ||
21332 | 22493 | ||
21333 | # look for field 'ut_addr' in header 'utmp.h' | 22494 | # look for field 'ut_addr' in header 'utmp.h' |
21334 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22495 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
21335 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 22496 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
21336 | echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 | 22497 | { echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 |
21337 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 | 22498 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6; } |
21338 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22499 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21339 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22500 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21340 | else | 22501 | else |
21341 | 22502 | ||
@@ -21360,8 +22521,8 @@ fi | |||
21360 | 22521 | ||
21361 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22522 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21362 | if test -n "`echo $ossh_varname`"; then | 22523 | if test -n "`echo $ossh_varname`"; then |
21363 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22524 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21364 | echo "${ECHO_T}$ossh_result" >&6 | 22525 | echo "${ECHO_T}$ossh_result" >&6; } |
21365 | if test "x$ossh_result" = "xyes"; then | 22526 | if test "x$ossh_result" = "xyes"; then |
21366 | 22527 | ||
21367 | cat >>confdefs.h <<\_ACEOF | 22528 | cat >>confdefs.h <<\_ACEOF |
@@ -21370,17 +22531,17 @@ _ACEOF | |||
21370 | 22531 | ||
21371 | fi | 22532 | fi |
21372 | else | 22533 | else |
21373 | echo "$as_me:$LINENO: result: no" >&5 | 22534 | { echo "$as_me:$LINENO: result: no" >&5 |
21374 | echo "${ECHO_T}no" >&6 | 22535 | echo "${ECHO_T}no" >&6; } |
21375 | fi | 22536 | fi |
21376 | 22537 | ||
21377 | 22538 | ||
21378 | # look for field 'ut_addr' in header 'utmpx.h' | 22539 | # look for field 'ut_addr' in header 'utmpx.h' |
21379 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 22540 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
21380 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 22541 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
21381 | echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 | 22542 | { echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 |
21382 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 | 22543 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6; } |
21383 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22544 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21384 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22545 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21385 | else | 22546 | else |
21386 | 22547 | ||
@@ -21405,8 +22566,8 @@ fi | |||
21405 | 22566 | ||
21406 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22567 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21407 | if test -n "`echo $ossh_varname`"; then | 22568 | if test -n "`echo $ossh_varname`"; then |
21408 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22569 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21409 | echo "${ECHO_T}$ossh_result" >&6 | 22570 | echo "${ECHO_T}$ossh_result" >&6; } |
21410 | if test "x$ossh_result" = "xyes"; then | 22571 | if test "x$ossh_result" = "xyes"; then |
21411 | 22572 | ||
21412 | cat >>confdefs.h <<\_ACEOF | 22573 | cat >>confdefs.h <<\_ACEOF |
@@ -21415,17 +22576,17 @@ _ACEOF | |||
21415 | 22576 | ||
21416 | fi | 22577 | fi |
21417 | else | 22578 | else |
21418 | echo "$as_me:$LINENO: result: no" >&5 | 22579 | { echo "$as_me:$LINENO: result: no" >&5 |
21419 | echo "${ECHO_T}no" >&6 | 22580 | echo "${ECHO_T}no" >&6; } |
21420 | fi | 22581 | fi |
21421 | 22582 | ||
21422 | 22583 | ||
21423 | # look for field 'ut_addr_v6' in header 'utmp.h' | 22584 | # look for field 'ut_addr_v6' in header 'utmp.h' |
21424 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22585 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
21425 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 22586 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 |
21426 | echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5 | 22587 | { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5 |
21427 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 | 22588 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6; } |
21428 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22589 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21429 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22590 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21430 | else | 22591 | else |
21431 | 22592 | ||
@@ -21450,8 +22611,8 @@ fi | |||
21450 | 22611 | ||
21451 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22612 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21452 | if test -n "`echo $ossh_varname`"; then | 22613 | if test -n "`echo $ossh_varname`"; then |
21453 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22614 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21454 | echo "${ECHO_T}$ossh_result" >&6 | 22615 | echo "${ECHO_T}$ossh_result" >&6; } |
21455 | if test "x$ossh_result" = "xyes"; then | 22616 | if test "x$ossh_result" = "xyes"; then |
21456 | 22617 | ||
21457 | cat >>confdefs.h <<\_ACEOF | 22618 | cat >>confdefs.h <<\_ACEOF |
@@ -21460,17 +22621,17 @@ _ACEOF | |||
21460 | 22621 | ||
21461 | fi | 22622 | fi |
21462 | else | 22623 | else |
21463 | echo "$as_me:$LINENO: result: no" >&5 | 22624 | { echo "$as_me:$LINENO: result: no" >&5 |
21464 | echo "${ECHO_T}no" >&6 | 22625 | echo "${ECHO_T}no" >&6; } |
21465 | fi | 22626 | fi |
21466 | 22627 | ||
21467 | 22628 | ||
21468 | # look for field 'ut_addr_v6' in header 'utmpx.h' | 22629 | # look for field 'ut_addr_v6' in header 'utmpx.h' |
21469 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 22630 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
21470 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 22631 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 |
21471 | echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5 | 22632 | { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5 |
21472 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 | 22633 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6; } |
21473 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22634 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21474 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22635 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21475 | else | 22636 | else |
21476 | 22637 | ||
@@ -21495,8 +22656,8 @@ fi | |||
21495 | 22656 | ||
21496 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22657 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21497 | if test -n "`echo $ossh_varname`"; then | 22658 | if test -n "`echo $ossh_varname`"; then |
21498 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22659 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21499 | echo "${ECHO_T}$ossh_result" >&6 | 22660 | echo "${ECHO_T}$ossh_result" >&6; } |
21500 | if test "x$ossh_result" = "xyes"; then | 22661 | if test "x$ossh_result" = "xyes"; then |
21501 | 22662 | ||
21502 | cat >>confdefs.h <<\_ACEOF | 22663 | cat >>confdefs.h <<\_ACEOF |
@@ -21505,17 +22666,17 @@ _ACEOF | |||
21505 | 22666 | ||
21506 | fi | 22667 | fi |
21507 | else | 22668 | else |
21508 | echo "$as_me:$LINENO: result: no" >&5 | 22669 | { echo "$as_me:$LINENO: result: no" >&5 |
21509 | echo "${ECHO_T}no" >&6 | 22670 | echo "${ECHO_T}no" >&6; } |
21510 | fi | 22671 | fi |
21511 | 22672 | ||
21512 | 22673 | ||
21513 | # look for field 'ut_exit' in header 'utmp.h' | 22674 | # look for field 'ut_exit' in header 'utmp.h' |
21514 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22675 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
21515 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit | 22676 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit |
21516 | echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 | 22677 | { echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 |
21517 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 | 22678 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6; } |
21518 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22679 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21519 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22680 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21520 | else | 22681 | else |
21521 | 22682 | ||
@@ -21540,8 +22701,8 @@ fi | |||
21540 | 22701 | ||
21541 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22702 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21542 | if test -n "`echo $ossh_varname`"; then | 22703 | if test -n "`echo $ossh_varname`"; then |
21543 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22704 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21544 | echo "${ECHO_T}$ossh_result" >&6 | 22705 | echo "${ECHO_T}$ossh_result" >&6; } |
21545 | if test "x$ossh_result" = "xyes"; then | 22706 | if test "x$ossh_result" = "xyes"; then |
21546 | 22707 | ||
21547 | cat >>confdefs.h <<\_ACEOF | 22708 | cat >>confdefs.h <<\_ACEOF |
@@ -21550,17 +22711,17 @@ _ACEOF | |||
21550 | 22711 | ||
21551 | fi | 22712 | fi |
21552 | else | 22713 | else |
21553 | echo "$as_me:$LINENO: result: no" >&5 | 22714 | { echo "$as_me:$LINENO: result: no" >&5 |
21554 | echo "${ECHO_T}no" >&6 | 22715 | echo "${ECHO_T}no" >&6; } |
21555 | fi | 22716 | fi |
21556 | 22717 | ||
21557 | 22718 | ||
21558 | # look for field 'ut_time' in header 'utmp.h' | 22719 | # look for field 'ut_time' in header 'utmp.h' |
21559 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 22720 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
21560 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 22721 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
21561 | echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 | 22722 | { echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 |
21562 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 | 22723 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6; } |
21563 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22724 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21564 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22725 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21565 | else | 22726 | else |
21566 | 22727 | ||
@@ -21585,8 +22746,8 @@ fi | |||
21585 | 22746 | ||
21586 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22747 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21587 | if test -n "`echo $ossh_varname`"; then | 22748 | if test -n "`echo $ossh_varname`"; then |
21588 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22749 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21589 | echo "${ECHO_T}$ossh_result" >&6 | 22750 | echo "${ECHO_T}$ossh_result" >&6; } |
21590 | if test "x$ossh_result" = "xyes"; then | 22751 | if test "x$ossh_result" = "xyes"; then |
21591 | 22752 | ||
21592 | cat >>confdefs.h <<\_ACEOF | 22753 | cat >>confdefs.h <<\_ACEOF |
@@ -21595,17 +22756,17 @@ _ACEOF | |||
21595 | 22756 | ||
21596 | fi | 22757 | fi |
21597 | else | 22758 | else |
21598 | echo "$as_me:$LINENO: result: no" >&5 | 22759 | { echo "$as_me:$LINENO: result: no" >&5 |
21599 | echo "${ECHO_T}no" >&6 | 22760 | echo "${ECHO_T}no" >&6; } |
21600 | fi | 22761 | fi |
21601 | 22762 | ||
21602 | 22763 | ||
21603 | # look for field 'ut_time' in header 'utmpx.h' | 22764 | # look for field 'ut_time' in header 'utmpx.h' |
21604 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 22765 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
21605 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 22766 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
21606 | echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 | 22767 | { echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 |
21607 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 | 22768 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6; } |
21608 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22769 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21609 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22770 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21610 | else | 22771 | else |
21611 | 22772 | ||
@@ -21630,8 +22791,8 @@ fi | |||
21630 | 22791 | ||
21631 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22792 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21632 | if test -n "`echo $ossh_varname`"; then | 22793 | if test -n "`echo $ossh_varname`"; then |
21633 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22794 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21634 | echo "${ECHO_T}$ossh_result" >&6 | 22795 | echo "${ECHO_T}$ossh_result" >&6; } |
21635 | if test "x$ossh_result" = "xyes"; then | 22796 | if test "x$ossh_result" = "xyes"; then |
21636 | 22797 | ||
21637 | cat >>confdefs.h <<\_ACEOF | 22798 | cat >>confdefs.h <<\_ACEOF |
@@ -21640,17 +22801,17 @@ _ACEOF | |||
21640 | 22801 | ||
21641 | fi | 22802 | fi |
21642 | else | 22803 | else |
21643 | echo "$as_me:$LINENO: result: no" >&5 | 22804 | { echo "$as_me:$LINENO: result: no" >&5 |
21644 | echo "${ECHO_T}no" >&6 | 22805 | echo "${ECHO_T}no" >&6; } |
21645 | fi | 22806 | fi |
21646 | 22807 | ||
21647 | 22808 | ||
21648 | # look for field 'ut_tv' in header 'utmpx.h' | 22809 | # look for field 'ut_tv' in header 'utmpx.h' |
21649 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 22810 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
21650 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 22811 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
21651 | echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 | 22812 | { echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 |
21652 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 | 22813 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6; } |
21653 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 22814 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
21654 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22815 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21655 | else | 22816 | else |
21656 | 22817 | ||
@@ -21675,8 +22836,8 @@ fi | |||
21675 | 22836 | ||
21676 | ossh_result=`eval 'echo $'"$ossh_varname"` | 22837 | ossh_result=`eval 'echo $'"$ossh_varname"` |
21677 | if test -n "`echo $ossh_varname`"; then | 22838 | if test -n "`echo $ossh_varname`"; then |
21678 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 22839 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
21679 | echo "${ECHO_T}$ossh_result" >&6 | 22840 | echo "${ECHO_T}$ossh_result" >&6; } |
21680 | if test "x$ossh_result" = "xyes"; then | 22841 | if test "x$ossh_result" = "xyes"; then |
21681 | 22842 | ||
21682 | cat >>confdefs.h <<\_ACEOF | 22843 | cat >>confdefs.h <<\_ACEOF |
@@ -21685,13 +22846,13 @@ _ACEOF | |||
21685 | 22846 | ||
21686 | fi | 22847 | fi |
21687 | else | 22848 | else |
21688 | echo "$as_me:$LINENO: result: no" >&5 | 22849 | { echo "$as_me:$LINENO: result: no" >&5 |
21689 | echo "${ECHO_T}no" >&6 | 22850 | echo "${ECHO_T}no" >&6; } |
21690 | fi | 22851 | fi |
21691 | 22852 | ||
21692 | 22853 | ||
21693 | echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 | 22854 | { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 |
21694 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 | 22855 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; } |
21695 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then | 22856 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then |
21696 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22857 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21697 | else | 22858 | else |
@@ -21713,33 +22874,28 @@ return 0; | |||
21713 | } | 22874 | } |
21714 | _ACEOF | 22875 | _ACEOF |
21715 | rm -f conftest.$ac_objext | 22876 | rm -f conftest.$ac_objext |
21716 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22877 | if { (ac_try="$ac_compile" |
21717 | (eval $ac_compile) 2>conftest.er1 | 22878 | case "(($ac_try" in |
22879 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22880 | *) ac_try_echo=$ac_try;; | ||
22881 | esac | ||
22882 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22883 | (eval "$ac_compile") 2>conftest.er1 | ||
21718 | ac_status=$? | 22884 | ac_status=$? |
21719 | grep -v '^ *+' conftest.er1 >conftest.err | 22885 | grep -v '^ *+' conftest.er1 >conftest.err |
21720 | rm -f conftest.er1 | 22886 | rm -f conftest.er1 |
21721 | cat conftest.err >&5 | 22887 | cat conftest.err >&5 |
21722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21723 | (exit $ac_status); } && | 22889 | (exit $ac_status); } && { |
21724 | { ac_try='test -z "$ac_c_werror_flag" | 22890 | test -z "$ac_c_werror_flag" || |
21725 | || test ! -s conftest.err' | 22891 | test ! -s conftest.err |
21726 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22892 | } && test -s conftest.$ac_objext; then |
21727 | (eval $ac_try) 2>&5 | ||
21728 | ac_status=$? | ||
21729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21730 | (exit $ac_status); }; } && | ||
21731 | { ac_try='test -s conftest.$ac_objext' | ||
21732 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
21733 | (eval $ac_try) 2>&5 | ||
21734 | ac_status=$? | ||
21735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21736 | (exit $ac_status); }; }; then | ||
21737 | ac_cv_member_struct_stat_st_blksize=yes | 22893 | ac_cv_member_struct_stat_st_blksize=yes |
21738 | else | 22894 | else |
21739 | echo "$as_me: failed program was:" >&5 | 22895 | echo "$as_me: failed program was:" >&5 |
21740 | sed 's/^/| /' conftest.$ac_ext >&5 | 22896 | sed 's/^/| /' conftest.$ac_ext >&5 |
21741 | 22897 | ||
21742 | cat >conftest.$ac_ext <<_ACEOF | 22898 | cat >conftest.$ac_ext <<_ACEOF |
21743 | /* confdefs.h. */ | 22899 | /* confdefs.h. */ |
21744 | _ACEOF | 22900 | _ACEOF |
21745 | cat confdefs.h >>conftest.$ac_ext | 22901 | cat confdefs.h >>conftest.$ac_ext |
@@ -21757,40 +22913,37 @@ return 0; | |||
21757 | } | 22913 | } |
21758 | _ACEOF | 22914 | _ACEOF |
21759 | rm -f conftest.$ac_objext | 22915 | rm -f conftest.$ac_objext |
21760 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22916 | if { (ac_try="$ac_compile" |
21761 | (eval $ac_compile) 2>conftest.er1 | 22917 | case "(($ac_try" in |
22918 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22919 | *) ac_try_echo=$ac_try;; | ||
22920 | esac | ||
22921 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22922 | (eval "$ac_compile") 2>conftest.er1 | ||
21762 | ac_status=$? | 22923 | ac_status=$? |
21763 | grep -v '^ *+' conftest.er1 >conftest.err | 22924 | grep -v '^ *+' conftest.er1 >conftest.err |
21764 | rm -f conftest.er1 | 22925 | rm -f conftest.er1 |
21765 | cat conftest.err >&5 | 22926 | cat conftest.err >&5 |
21766 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21767 | (exit $ac_status); } && | 22928 | (exit $ac_status); } && { |
21768 | { ac_try='test -z "$ac_c_werror_flag" | 22929 | test -z "$ac_c_werror_flag" || |
21769 | || test ! -s conftest.err' | 22930 | test ! -s conftest.err |
21770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22931 | } && test -s conftest.$ac_objext; then |
21771 | (eval $ac_try) 2>&5 | ||
21772 | ac_status=$? | ||
21773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21774 | (exit $ac_status); }; } && | ||
21775 | { ac_try='test -s conftest.$ac_objext' | ||
21776 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
21777 | (eval $ac_try) 2>&5 | ||
21778 | ac_status=$? | ||
21779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21780 | (exit $ac_status); }; }; then | ||
21781 | ac_cv_member_struct_stat_st_blksize=yes | 22932 | ac_cv_member_struct_stat_st_blksize=yes |
21782 | else | 22933 | else |
21783 | echo "$as_me: failed program was:" >&5 | 22934 | echo "$as_me: failed program was:" >&5 |
21784 | sed 's/^/| /' conftest.$ac_ext >&5 | 22935 | sed 's/^/| /' conftest.$ac_ext >&5 |
21785 | 22936 | ||
21786 | ac_cv_member_struct_stat_st_blksize=no | 22937 | ac_cv_member_struct_stat_st_blksize=no |
21787 | fi | 22938 | fi |
21788 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22939 | |
22940 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21789 | fi | 22941 | fi |
21790 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22942 | |
22943 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21791 | fi | 22944 | fi |
21792 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 | 22945 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 |
21793 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 | 22946 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; } |
21794 | if test $ac_cv_member_struct_stat_st_blksize = yes; then | 22947 | if test $ac_cv_member_struct_stat_st_blksize = yes; then |
21795 | 22948 | ||
21796 | cat >>confdefs.h <<_ACEOF | 22949 | cat >>confdefs.h <<_ACEOF |
@@ -21800,8 +22953,8 @@ _ACEOF | |||
21800 | 22953 | ||
21801 | fi | 22954 | fi |
21802 | 22955 | ||
21803 | echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5 | 22956 | { echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5 |
21804 | echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6 | 22957 | echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6; } |
21805 | if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then | 22958 | if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then |
21806 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22959 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21807 | else | 22960 | else |
@@ -21832,33 +22985,28 @@ return 0; | |||
21832 | } | 22985 | } |
21833 | _ACEOF | 22986 | _ACEOF |
21834 | rm -f conftest.$ac_objext | 22987 | rm -f conftest.$ac_objext |
21835 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22988 | if { (ac_try="$ac_compile" |
21836 | (eval $ac_compile) 2>conftest.er1 | 22989 | case "(($ac_try" in |
22990 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22991 | *) ac_try_echo=$ac_try;; | ||
22992 | esac | ||
22993 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22994 | (eval "$ac_compile") 2>conftest.er1 | ||
21837 | ac_status=$? | 22995 | ac_status=$? |
21838 | grep -v '^ *+' conftest.er1 >conftest.err | 22996 | grep -v '^ *+' conftest.er1 >conftest.err |
21839 | rm -f conftest.er1 | 22997 | rm -f conftest.er1 |
21840 | cat conftest.err >&5 | 22998 | cat conftest.err >&5 |
21841 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22999 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21842 | (exit $ac_status); } && | 23000 | (exit $ac_status); } && { |
21843 | { ac_try='test -z "$ac_c_werror_flag" | 23001 | test -z "$ac_c_werror_flag" || |
21844 | || test ! -s conftest.err' | 23002 | test ! -s conftest.err |
21845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23003 | } && test -s conftest.$ac_objext; then |
21846 | (eval $ac_try) 2>&5 | ||
21847 | ac_status=$? | ||
21848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21849 | (exit $ac_status); }; } && | ||
21850 | { ac_try='test -s conftest.$ac_objext' | ||
21851 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
21852 | (eval $ac_try) 2>&5 | ||
21853 | ac_status=$? | ||
21854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21855 | (exit $ac_status); }; }; then | ||
21856 | ac_cv_member_struct___res_state_retrans=yes | 23004 | ac_cv_member_struct___res_state_retrans=yes |
21857 | else | 23005 | else |
21858 | echo "$as_me: failed program was:" >&5 | 23006 | echo "$as_me: failed program was:" >&5 |
21859 | sed 's/^/| /' conftest.$ac_ext >&5 | 23007 | sed 's/^/| /' conftest.$ac_ext >&5 |
21860 | 23008 | ||
21861 | cat >conftest.$ac_ext <<_ACEOF | 23009 | cat >conftest.$ac_ext <<_ACEOF |
21862 | /* confdefs.h. */ | 23010 | /* confdefs.h. */ |
21863 | _ACEOF | 23011 | _ACEOF |
21864 | cat confdefs.h >>conftest.$ac_ext | 23012 | cat confdefs.h >>conftest.$ac_ext |
@@ -21885,40 +23033,37 @@ return 0; | |||
21885 | } | 23033 | } |
21886 | _ACEOF | 23034 | _ACEOF |
21887 | rm -f conftest.$ac_objext | 23035 | rm -f conftest.$ac_objext |
21888 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23036 | if { (ac_try="$ac_compile" |
21889 | (eval $ac_compile) 2>conftest.er1 | 23037 | case "(($ac_try" in |
23038 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23039 | *) ac_try_echo=$ac_try;; | ||
23040 | esac | ||
23041 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23042 | (eval "$ac_compile") 2>conftest.er1 | ||
21890 | ac_status=$? | 23043 | ac_status=$? |
21891 | grep -v '^ *+' conftest.er1 >conftest.err | 23044 | grep -v '^ *+' conftest.er1 >conftest.err |
21892 | rm -f conftest.er1 | 23045 | rm -f conftest.er1 |
21893 | cat conftest.err >&5 | 23046 | cat conftest.err >&5 |
21894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21895 | (exit $ac_status); } && | 23048 | (exit $ac_status); } && { |
21896 | { ac_try='test -z "$ac_c_werror_flag" | 23049 | test -z "$ac_c_werror_flag" || |
21897 | || test ! -s conftest.err' | 23050 | test ! -s conftest.err |
21898 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23051 | } && test -s conftest.$ac_objext; then |
21899 | (eval $ac_try) 2>&5 | ||
21900 | ac_status=$? | ||
21901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21902 | (exit $ac_status); }; } && | ||
21903 | { ac_try='test -s conftest.$ac_objext' | ||
21904 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
21905 | (eval $ac_try) 2>&5 | ||
21906 | ac_status=$? | ||
21907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21908 | (exit $ac_status); }; }; then | ||
21909 | ac_cv_member_struct___res_state_retrans=yes | 23052 | ac_cv_member_struct___res_state_retrans=yes |
21910 | else | 23053 | else |
21911 | echo "$as_me: failed program was:" >&5 | 23054 | echo "$as_me: failed program was:" >&5 |
21912 | sed 's/^/| /' conftest.$ac_ext >&5 | 23055 | sed 's/^/| /' conftest.$ac_ext >&5 |
21913 | 23056 | ||
21914 | ac_cv_member_struct___res_state_retrans=no | 23057 | ac_cv_member_struct___res_state_retrans=no |
21915 | fi | 23058 | fi |
21916 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23059 | |
23060 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21917 | fi | 23061 | fi |
21918 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23062 | |
23063 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21919 | fi | 23064 | fi |
21920 | echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5 | 23065 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5 |
21921 | echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6 | 23066 | echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6; } |
21922 | if test $ac_cv_member_struct___res_state_retrans = yes; then | 23067 | if test $ac_cv_member_struct___res_state_retrans = yes; then |
21923 | : | 23068 | : |
21924 | else | 23069 | else |
@@ -21930,8 +23075,8 @@ _ACEOF | |||
21930 | fi | 23075 | fi |
21931 | 23076 | ||
21932 | 23077 | ||
21933 | echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 | 23078 | { echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 |
21934 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | 23079 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } |
21935 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then | 23080 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then |
21936 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23081 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21937 | else | 23082 | else |
@@ -21955,39 +23100,35 @@ main () | |||
21955 | } | 23100 | } |
21956 | _ACEOF | 23101 | _ACEOF |
21957 | rm -f conftest.$ac_objext | 23102 | rm -f conftest.$ac_objext |
21958 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23103 | if { (ac_try="$ac_compile" |
21959 | (eval $ac_compile) 2>conftest.er1 | 23104 | case "(($ac_try" in |
23105 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23106 | *) ac_try_echo=$ac_try;; | ||
23107 | esac | ||
23108 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23109 | (eval "$ac_compile") 2>conftest.er1 | ||
21960 | ac_status=$? | 23110 | ac_status=$? |
21961 | grep -v '^ *+' conftest.er1 >conftest.err | 23111 | grep -v '^ *+' conftest.er1 >conftest.err |
21962 | rm -f conftest.er1 | 23112 | rm -f conftest.er1 |
21963 | cat conftest.err >&5 | 23113 | cat conftest.err >&5 |
21964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21965 | (exit $ac_status); } && | 23115 | (exit $ac_status); } && { |
21966 | { ac_try='test -z "$ac_c_werror_flag" | 23116 | test -z "$ac_c_werror_flag" || |
21967 | || test ! -s conftest.err' | 23117 | test ! -s conftest.err |
21968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23118 | } && test -s conftest.$ac_objext; then |
21969 | (eval $ac_try) 2>&5 | ||
21970 | ac_status=$? | ||
21971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21972 | (exit $ac_status); }; } && | ||
21973 | { ac_try='test -s conftest.$ac_objext' | ||
21974 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
21975 | (eval $ac_try) 2>&5 | ||
21976 | ac_status=$? | ||
21977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21978 | (exit $ac_status); }; }; then | ||
21979 | ac_cv_have_ss_family_in_struct_ss="yes" | 23119 | ac_cv_have_ss_family_in_struct_ss="yes" |
21980 | else | 23120 | else |
21981 | echo "$as_me: failed program was:" >&5 | 23121 | echo "$as_me: failed program was:" >&5 |
21982 | sed 's/^/| /' conftest.$ac_ext >&5 | 23122 | sed 's/^/| /' conftest.$ac_ext >&5 |
21983 | 23123 | ||
21984 | ac_cv_have_ss_family_in_struct_ss="no" | 23124 | ac_cv_have_ss_family_in_struct_ss="no" |
21985 | fi | 23125 | fi |
21986 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23126 | |
23127 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21987 | 23128 | ||
21988 | fi | 23129 | fi |
21989 | echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 | 23130 | { echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 |
21990 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 | 23131 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6; } |
21991 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then | 23132 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then |
21992 | 23133 | ||
21993 | cat >>confdefs.h <<\_ACEOF | 23134 | cat >>confdefs.h <<\_ACEOF |
@@ -21996,8 +23137,8 @@ _ACEOF | |||
21996 | 23137 | ||
21997 | fi | 23138 | fi |
21998 | 23139 | ||
21999 | echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 | 23140 | { echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 |
22000 | echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | 23141 | echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } |
22001 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then | 23142 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then |
22002 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23143 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22003 | else | 23144 | else |
@@ -22021,40 +23162,36 @@ main () | |||
22021 | } | 23162 | } |
22022 | _ACEOF | 23163 | _ACEOF |
22023 | rm -f conftest.$ac_objext | 23164 | rm -f conftest.$ac_objext |
22024 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23165 | if { (ac_try="$ac_compile" |
22025 | (eval $ac_compile) 2>conftest.er1 | 23166 | case "(($ac_try" in |
23167 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23168 | *) ac_try_echo=$ac_try;; | ||
23169 | esac | ||
23170 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23171 | (eval "$ac_compile") 2>conftest.er1 | ||
22026 | ac_status=$? | 23172 | ac_status=$? |
22027 | grep -v '^ *+' conftest.er1 >conftest.err | 23173 | grep -v '^ *+' conftest.er1 >conftest.err |
22028 | rm -f conftest.er1 | 23174 | rm -f conftest.er1 |
22029 | cat conftest.err >&5 | 23175 | cat conftest.err >&5 |
22030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22031 | (exit $ac_status); } && | 23177 | (exit $ac_status); } && { |
22032 | { ac_try='test -z "$ac_c_werror_flag" | 23178 | test -z "$ac_c_werror_flag" || |
22033 | || test ! -s conftest.err' | 23179 | test ! -s conftest.err |
22034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23180 | } && test -s conftest.$ac_objext; then |
22035 | (eval $ac_try) 2>&5 | ||
22036 | ac_status=$? | ||
22037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22038 | (exit $ac_status); }; } && | ||
22039 | { ac_try='test -s conftest.$ac_objext' | ||
22040 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22041 | (eval $ac_try) 2>&5 | ||
22042 | ac_status=$? | ||
22043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22044 | (exit $ac_status); }; }; then | ||
22045 | ac_cv_have___ss_family_in_struct_ss="yes" | 23181 | ac_cv_have___ss_family_in_struct_ss="yes" |
22046 | else | 23182 | else |
22047 | echo "$as_me: failed program was:" >&5 | 23183 | echo "$as_me: failed program was:" >&5 |
22048 | sed 's/^/| /' conftest.$ac_ext >&5 | 23184 | sed 's/^/| /' conftest.$ac_ext >&5 |
22049 | 23185 | ||
22050 | ac_cv_have___ss_family_in_struct_ss="no" | 23186 | ac_cv_have___ss_family_in_struct_ss="no" |
22051 | 23187 | ||
22052 | fi | 23188 | fi |
22053 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23189 | |
23190 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22054 | 23191 | ||
22055 | fi | 23192 | fi |
22056 | echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 | 23193 | { echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 |
22057 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 | 23194 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6; } |
22058 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then | 23195 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then |
22059 | 23196 | ||
22060 | cat >>confdefs.h <<\_ACEOF | 23197 | cat >>confdefs.h <<\_ACEOF |
@@ -22063,8 +23200,8 @@ _ACEOF | |||
22063 | 23200 | ||
22064 | fi | 23201 | fi |
22065 | 23202 | ||
22066 | echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5 | 23203 | { echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5 |
22067 | echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 | 23204 | echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6; } |
22068 | if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then | 23205 | if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then |
22069 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23206 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22070 | else | 23207 | else |
@@ -22087,40 +23224,36 @@ main () | |||
22087 | } | 23224 | } |
22088 | _ACEOF | 23225 | _ACEOF |
22089 | rm -f conftest.$ac_objext | 23226 | rm -f conftest.$ac_objext |
22090 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23227 | if { (ac_try="$ac_compile" |
22091 | (eval $ac_compile) 2>conftest.er1 | 23228 | case "(($ac_try" in |
23229 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23230 | *) ac_try_echo=$ac_try;; | ||
23231 | esac | ||
23232 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23233 | (eval "$ac_compile") 2>conftest.er1 | ||
22092 | ac_status=$? | 23234 | ac_status=$? |
22093 | grep -v '^ *+' conftest.er1 >conftest.err | 23235 | grep -v '^ *+' conftest.er1 >conftest.err |
22094 | rm -f conftest.er1 | 23236 | rm -f conftest.er1 |
22095 | cat conftest.err >&5 | 23237 | cat conftest.err >&5 |
22096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22097 | (exit $ac_status); } && | 23239 | (exit $ac_status); } && { |
22098 | { ac_try='test -z "$ac_c_werror_flag" | 23240 | test -z "$ac_c_werror_flag" || |
22099 | || test ! -s conftest.err' | 23241 | test ! -s conftest.err |
22100 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23242 | } && test -s conftest.$ac_objext; then |
22101 | (eval $ac_try) 2>&5 | ||
22102 | ac_status=$? | ||
22103 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22104 | (exit $ac_status); }; } && | ||
22105 | { ac_try='test -s conftest.$ac_objext' | ||
22106 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22107 | (eval $ac_try) 2>&5 | ||
22108 | ac_status=$? | ||
22109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22110 | (exit $ac_status); }; }; then | ||
22111 | ac_cv_have_pw_class_in_struct_passwd="yes" | 23243 | ac_cv_have_pw_class_in_struct_passwd="yes" |
22112 | else | 23244 | else |
22113 | echo "$as_me: failed program was:" >&5 | 23245 | echo "$as_me: failed program was:" >&5 |
22114 | sed 's/^/| /' conftest.$ac_ext >&5 | 23246 | sed 's/^/| /' conftest.$ac_ext >&5 |
22115 | 23247 | ||
22116 | ac_cv_have_pw_class_in_struct_passwd="no" | 23248 | ac_cv_have_pw_class_in_struct_passwd="no" |
22117 | 23249 | ||
22118 | fi | 23250 | fi |
22119 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23251 | |
23252 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22120 | 23253 | ||
22121 | fi | 23254 | fi |
22122 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 | 23255 | { echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 |
22123 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 | 23256 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6; } |
22124 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then | 23257 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then |
22125 | 23258 | ||
22126 | cat >>confdefs.h <<\_ACEOF | 23259 | cat >>confdefs.h <<\_ACEOF |
@@ -22129,8 +23262,8 @@ _ACEOF | |||
22129 | 23262 | ||
22130 | fi | 23263 | fi |
22131 | 23264 | ||
22132 | echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5 | 23265 | { echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5 |
22133 | echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 | 23266 | echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6; } |
22134 | if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then | 23267 | if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then |
22135 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23268 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22136 | else | 23269 | else |
@@ -22153,40 +23286,36 @@ main () | |||
22153 | } | 23286 | } |
22154 | _ACEOF | 23287 | _ACEOF |
22155 | rm -f conftest.$ac_objext | 23288 | rm -f conftest.$ac_objext |
22156 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23289 | if { (ac_try="$ac_compile" |
22157 | (eval $ac_compile) 2>conftest.er1 | 23290 | case "(($ac_try" in |
23291 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23292 | *) ac_try_echo=$ac_try;; | ||
23293 | esac | ||
23294 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23295 | (eval "$ac_compile") 2>conftest.er1 | ||
22158 | ac_status=$? | 23296 | ac_status=$? |
22159 | grep -v '^ *+' conftest.er1 >conftest.err | 23297 | grep -v '^ *+' conftest.er1 >conftest.err |
22160 | rm -f conftest.er1 | 23298 | rm -f conftest.er1 |
22161 | cat conftest.err >&5 | 23299 | cat conftest.err >&5 |
22162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22163 | (exit $ac_status); } && | 23301 | (exit $ac_status); } && { |
22164 | { ac_try='test -z "$ac_c_werror_flag" | 23302 | test -z "$ac_c_werror_flag" || |
22165 | || test ! -s conftest.err' | 23303 | test ! -s conftest.err |
22166 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23304 | } && test -s conftest.$ac_objext; then |
22167 | (eval $ac_try) 2>&5 | ||
22168 | ac_status=$? | ||
22169 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22170 | (exit $ac_status); }; } && | ||
22171 | { ac_try='test -s conftest.$ac_objext' | ||
22172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22173 | (eval $ac_try) 2>&5 | ||
22174 | ac_status=$? | ||
22175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22176 | (exit $ac_status); }; }; then | ||
22177 | ac_cv_have_pw_expire_in_struct_passwd="yes" | 23305 | ac_cv_have_pw_expire_in_struct_passwd="yes" |
22178 | else | 23306 | else |
22179 | echo "$as_me: failed program was:" >&5 | 23307 | echo "$as_me: failed program was:" >&5 |
22180 | sed 's/^/| /' conftest.$ac_ext >&5 | 23308 | sed 's/^/| /' conftest.$ac_ext >&5 |
22181 | 23309 | ||
22182 | ac_cv_have_pw_expire_in_struct_passwd="no" | 23310 | ac_cv_have_pw_expire_in_struct_passwd="no" |
22183 | 23311 | ||
22184 | fi | 23312 | fi |
22185 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23313 | |
23314 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22186 | 23315 | ||
22187 | fi | 23316 | fi |
22188 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 | 23317 | { echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 |
22189 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 | 23318 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6; } |
22190 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then | 23319 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then |
22191 | 23320 | ||
22192 | cat >>confdefs.h <<\_ACEOF | 23321 | cat >>confdefs.h <<\_ACEOF |
@@ -22195,8 +23324,8 @@ _ACEOF | |||
22195 | 23324 | ||
22196 | fi | 23325 | fi |
22197 | 23326 | ||
22198 | echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5 | 23327 | { echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5 |
22199 | echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 | 23328 | echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6; } |
22200 | if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then | 23329 | if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then |
22201 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23330 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22202 | else | 23331 | else |
@@ -22219,40 +23348,36 @@ main () | |||
22219 | } | 23348 | } |
22220 | _ACEOF | 23349 | _ACEOF |
22221 | rm -f conftest.$ac_objext | 23350 | rm -f conftest.$ac_objext |
22222 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23351 | if { (ac_try="$ac_compile" |
22223 | (eval $ac_compile) 2>conftest.er1 | 23352 | case "(($ac_try" in |
23353 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23354 | *) ac_try_echo=$ac_try;; | ||
23355 | esac | ||
23356 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23357 | (eval "$ac_compile") 2>conftest.er1 | ||
22224 | ac_status=$? | 23358 | ac_status=$? |
22225 | grep -v '^ *+' conftest.er1 >conftest.err | 23359 | grep -v '^ *+' conftest.er1 >conftest.err |
22226 | rm -f conftest.er1 | 23360 | rm -f conftest.er1 |
22227 | cat conftest.err >&5 | 23361 | cat conftest.err >&5 |
22228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22229 | (exit $ac_status); } && | 23363 | (exit $ac_status); } && { |
22230 | { ac_try='test -z "$ac_c_werror_flag" | 23364 | test -z "$ac_c_werror_flag" || |
22231 | || test ! -s conftest.err' | 23365 | test ! -s conftest.err |
22232 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23366 | } && test -s conftest.$ac_objext; then |
22233 | (eval $ac_try) 2>&5 | ||
22234 | ac_status=$? | ||
22235 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22236 | (exit $ac_status); }; } && | ||
22237 | { ac_try='test -s conftest.$ac_objext' | ||
22238 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22239 | (eval $ac_try) 2>&5 | ||
22240 | ac_status=$? | ||
22241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22242 | (exit $ac_status); }; }; then | ||
22243 | ac_cv_have_pw_change_in_struct_passwd="yes" | 23367 | ac_cv_have_pw_change_in_struct_passwd="yes" |
22244 | else | 23368 | else |
22245 | echo "$as_me: failed program was:" >&5 | 23369 | echo "$as_me: failed program was:" >&5 |
22246 | sed 's/^/| /' conftest.$ac_ext >&5 | 23370 | sed 's/^/| /' conftest.$ac_ext >&5 |
22247 | 23371 | ||
22248 | ac_cv_have_pw_change_in_struct_passwd="no" | 23372 | ac_cv_have_pw_change_in_struct_passwd="no" |
22249 | 23373 | ||
22250 | fi | 23374 | fi |
22251 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23375 | |
23376 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22252 | 23377 | ||
22253 | fi | 23378 | fi |
22254 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 | 23379 | { echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 |
22255 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 | 23380 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6; } |
22256 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then | 23381 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then |
22257 | 23382 | ||
22258 | cat >>confdefs.h <<\_ACEOF | 23383 | cat >>confdefs.h <<\_ACEOF |
@@ -22261,8 +23386,8 @@ _ACEOF | |||
22261 | 23386 | ||
22262 | fi | 23387 | fi |
22263 | 23388 | ||
22264 | echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 | 23389 | { echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 |
22265 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 | 23390 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6; } |
22266 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then | 23391 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then |
22267 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23392 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22268 | else | 23393 | else |
@@ -22284,40 +23409,36 @@ exit(0); | |||
22284 | 23409 | ||
22285 | _ACEOF | 23410 | _ACEOF |
22286 | rm -f conftest.$ac_objext | 23411 | rm -f conftest.$ac_objext |
22287 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23412 | if { (ac_try="$ac_compile" |
22288 | (eval $ac_compile) 2>conftest.er1 | 23413 | case "(($ac_try" in |
23414 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23415 | *) ac_try_echo=$ac_try;; | ||
23416 | esac | ||
23417 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23418 | (eval "$ac_compile") 2>conftest.er1 | ||
22289 | ac_status=$? | 23419 | ac_status=$? |
22290 | grep -v '^ *+' conftest.er1 >conftest.err | 23420 | grep -v '^ *+' conftest.er1 >conftest.err |
22291 | rm -f conftest.er1 | 23421 | rm -f conftest.er1 |
22292 | cat conftest.err >&5 | 23422 | cat conftest.err >&5 |
22293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22294 | (exit $ac_status); } && | 23424 | (exit $ac_status); } && { |
22295 | { ac_try='test -z "$ac_c_werror_flag" | 23425 | test -z "$ac_c_werror_flag" || |
22296 | || test ! -s conftest.err' | 23426 | test ! -s conftest.err |
22297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23427 | } && test -s conftest.$ac_objext; then |
22298 | (eval $ac_try) 2>&5 | ||
22299 | ac_status=$? | ||
22300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22301 | (exit $ac_status); }; } && | ||
22302 | { ac_try='test -s conftest.$ac_objext' | ||
22303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22304 | (eval $ac_try) 2>&5 | ||
22305 | ac_status=$? | ||
22306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22307 | (exit $ac_status); }; }; then | ||
22308 | ac_cv_have_accrights_in_msghdr="yes" | 23428 | ac_cv_have_accrights_in_msghdr="yes" |
22309 | else | 23429 | else |
22310 | echo "$as_me: failed program was:" >&5 | 23430 | echo "$as_me: failed program was:" >&5 |
22311 | sed 's/^/| /' conftest.$ac_ext >&5 | 23431 | sed 's/^/| /' conftest.$ac_ext >&5 |
22312 | 23432 | ||
22313 | ac_cv_have_accrights_in_msghdr="no" | 23433 | ac_cv_have_accrights_in_msghdr="no" |
22314 | 23434 | ||
22315 | fi | 23435 | fi |
22316 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23436 | |
23437 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22317 | 23438 | ||
22318 | fi | 23439 | fi |
22319 | echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 | 23440 | { echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 |
22320 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 | 23441 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6; } |
22321 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | 23442 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then |
22322 | 23443 | ||
22323 | cat >>confdefs.h <<\_ACEOF | 23444 | cat >>confdefs.h <<\_ACEOF |
@@ -22326,8 +23447,8 @@ _ACEOF | |||
22326 | 23447 | ||
22327 | fi | 23448 | fi |
22328 | 23449 | ||
22329 | echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 | 23450 | { echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 |
22330 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 | 23451 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; } |
22331 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then | 23452 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then |
22332 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23453 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22333 | else | 23454 | else |
@@ -22349,40 +23470,36 @@ exit(0); | |||
22349 | 23470 | ||
22350 | _ACEOF | 23471 | _ACEOF |
22351 | rm -f conftest.$ac_objext | 23472 | rm -f conftest.$ac_objext |
22352 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23473 | if { (ac_try="$ac_compile" |
22353 | (eval $ac_compile) 2>conftest.er1 | 23474 | case "(($ac_try" in |
23475 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23476 | *) ac_try_echo=$ac_try;; | ||
23477 | esac | ||
23478 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23479 | (eval "$ac_compile") 2>conftest.er1 | ||
22354 | ac_status=$? | 23480 | ac_status=$? |
22355 | grep -v '^ *+' conftest.er1 >conftest.err | 23481 | grep -v '^ *+' conftest.er1 >conftest.err |
22356 | rm -f conftest.er1 | 23482 | rm -f conftest.er1 |
22357 | cat conftest.err >&5 | 23483 | cat conftest.err >&5 |
22358 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22359 | (exit $ac_status); } && | 23485 | (exit $ac_status); } && { |
22360 | { ac_try='test -z "$ac_c_werror_flag" | 23486 | test -z "$ac_c_werror_flag" || |
22361 | || test ! -s conftest.err' | 23487 | test ! -s conftest.err |
22362 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23488 | } && test -s conftest.$ac_objext; then |
22363 | (eval $ac_try) 2>&5 | ||
22364 | ac_status=$? | ||
22365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22366 | (exit $ac_status); }; } && | ||
22367 | { ac_try='test -s conftest.$ac_objext' | ||
22368 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22369 | (eval $ac_try) 2>&5 | ||
22370 | ac_status=$? | ||
22371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22372 | (exit $ac_status); }; }; then | ||
22373 | ac_cv_have_control_in_msghdr="yes" | 23489 | ac_cv_have_control_in_msghdr="yes" |
22374 | else | 23490 | else |
22375 | echo "$as_me: failed program was:" >&5 | 23491 | echo "$as_me: failed program was:" >&5 |
22376 | sed 's/^/| /' conftest.$ac_ext >&5 | 23492 | sed 's/^/| /' conftest.$ac_ext >&5 |
22377 | 23493 | ||
22378 | ac_cv_have_control_in_msghdr="no" | 23494 | ac_cv_have_control_in_msghdr="no" |
22379 | 23495 | ||
22380 | fi | 23496 | fi |
22381 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23497 | |
23498 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22382 | 23499 | ||
22383 | fi | 23500 | fi |
22384 | echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 | 23501 | { echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 |
22385 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 | 23502 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6; } |
22386 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | 23503 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then |
22387 | 23504 | ||
22388 | cat >>confdefs.h <<\_ACEOF | 23505 | cat >>confdefs.h <<\_ACEOF |
@@ -22391,8 +23508,8 @@ _ACEOF | |||
22391 | 23508 | ||
22392 | fi | 23509 | fi |
22393 | 23510 | ||
22394 | echo "$as_me:$LINENO: checking if libc defines __progname" >&5 | 23511 | { echo "$as_me:$LINENO: checking if libc defines __progname" >&5 |
22395 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 | 23512 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6; } |
22396 | if test "${ac_cv_libc_defines___progname+set}" = set; then | 23513 | if test "${ac_cv_libc_defines___progname+set}" = set; then |
22397 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22398 | else | 23515 | else |
@@ -22413,41 +23530,38 @@ main () | |||
22413 | } | 23530 | } |
22414 | _ACEOF | 23531 | _ACEOF |
22415 | rm -f conftest.$ac_objext conftest$ac_exeext | 23532 | rm -f conftest.$ac_objext conftest$ac_exeext |
22416 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23533 | if { (ac_try="$ac_link" |
22417 | (eval $ac_link) 2>conftest.er1 | 23534 | case "(($ac_try" in |
23535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23536 | *) ac_try_echo=$ac_try;; | ||
23537 | esac | ||
23538 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23539 | (eval "$ac_link") 2>conftest.er1 | ||
22418 | ac_status=$? | 23540 | ac_status=$? |
22419 | grep -v '^ *+' conftest.er1 >conftest.err | 23541 | grep -v '^ *+' conftest.er1 >conftest.err |
22420 | rm -f conftest.er1 | 23542 | rm -f conftest.er1 |
22421 | cat conftest.err >&5 | 23543 | cat conftest.err >&5 |
22422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22423 | (exit $ac_status); } && | 23545 | (exit $ac_status); } && { |
22424 | { ac_try='test -z "$ac_c_werror_flag" | 23546 | test -z "$ac_c_werror_flag" || |
22425 | || test ! -s conftest.err' | 23547 | test ! -s conftest.err |
22426 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23548 | } && test -s conftest$ac_exeext && |
22427 | (eval $ac_try) 2>&5 | 23549 | $as_test_x conftest$ac_exeext; then |
22428 | ac_status=$? | ||
22429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22430 | (exit $ac_status); }; } && | ||
22431 | { ac_try='test -s conftest$ac_exeext' | ||
22432 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22433 | (eval $ac_try) 2>&5 | ||
22434 | ac_status=$? | ||
22435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22436 | (exit $ac_status); }; }; then | ||
22437 | ac_cv_libc_defines___progname="yes" | 23550 | ac_cv_libc_defines___progname="yes" |
22438 | else | 23551 | else |
22439 | echo "$as_me: failed program was:" >&5 | 23552 | echo "$as_me: failed program was:" >&5 |
22440 | sed 's/^/| /' conftest.$ac_ext >&5 | 23553 | sed 's/^/| /' conftest.$ac_ext >&5 |
22441 | 23554 | ||
22442 | ac_cv_libc_defines___progname="no" | 23555 | ac_cv_libc_defines___progname="no" |
22443 | 23556 | ||
22444 | fi | 23557 | fi |
22445 | rm -f conftest.err conftest.$ac_objext \ | 23558 | |
23559 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22446 | conftest$ac_exeext conftest.$ac_ext | 23560 | conftest$ac_exeext conftest.$ac_ext |
22447 | 23561 | ||
22448 | fi | 23562 | fi |
22449 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 | 23563 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 |
22450 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 | 23564 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6; } |
22451 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | 23565 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then |
22452 | 23566 | ||
22453 | cat >>confdefs.h <<\_ACEOF | 23567 | cat >>confdefs.h <<\_ACEOF |
@@ -22456,8 +23570,8 @@ _ACEOF | |||
22456 | 23570 | ||
22457 | fi | 23571 | fi |
22458 | 23572 | ||
22459 | echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 | 23573 | { echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 |
22460 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 | 23574 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6; } |
22461 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then | 23575 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then |
22462 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23576 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22463 | else | 23577 | else |
@@ -22480,41 +23594,38 @@ main () | |||
22480 | } | 23594 | } |
22481 | _ACEOF | 23595 | _ACEOF |
22482 | rm -f conftest.$ac_objext conftest$ac_exeext | 23596 | rm -f conftest.$ac_objext conftest$ac_exeext |
22483 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23597 | if { (ac_try="$ac_link" |
22484 | (eval $ac_link) 2>conftest.er1 | 23598 | case "(($ac_try" in |
23599 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23600 | *) ac_try_echo=$ac_try;; | ||
23601 | esac | ||
23602 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23603 | (eval "$ac_link") 2>conftest.er1 | ||
22485 | ac_status=$? | 23604 | ac_status=$? |
22486 | grep -v '^ *+' conftest.er1 >conftest.err | 23605 | grep -v '^ *+' conftest.er1 >conftest.err |
22487 | rm -f conftest.er1 | 23606 | rm -f conftest.er1 |
22488 | cat conftest.err >&5 | 23607 | cat conftest.err >&5 |
22489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22490 | (exit $ac_status); } && | 23609 | (exit $ac_status); } && { |
22491 | { ac_try='test -z "$ac_c_werror_flag" | 23610 | test -z "$ac_c_werror_flag" || |
22492 | || test ! -s conftest.err' | 23611 | test ! -s conftest.err |
22493 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23612 | } && test -s conftest$ac_exeext && |
22494 | (eval $ac_try) 2>&5 | 23613 | $as_test_x conftest$ac_exeext; then |
22495 | ac_status=$? | ||
22496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22497 | (exit $ac_status); }; } && | ||
22498 | { ac_try='test -s conftest$ac_exeext' | ||
22499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22500 | (eval $ac_try) 2>&5 | ||
22501 | ac_status=$? | ||
22502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22503 | (exit $ac_status); }; }; then | ||
22504 | ac_cv_cc_implements___FUNCTION__="yes" | 23614 | ac_cv_cc_implements___FUNCTION__="yes" |
22505 | else | 23615 | else |
22506 | echo "$as_me: failed program was:" >&5 | 23616 | echo "$as_me: failed program was:" >&5 |
22507 | sed 's/^/| /' conftest.$ac_ext >&5 | 23617 | sed 's/^/| /' conftest.$ac_ext >&5 |
22508 | 23618 | ||
22509 | ac_cv_cc_implements___FUNCTION__="no" | 23619 | ac_cv_cc_implements___FUNCTION__="no" |
22510 | 23620 | ||
22511 | fi | 23621 | fi |
22512 | rm -f conftest.err conftest.$ac_objext \ | 23622 | |
23623 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22513 | conftest$ac_exeext conftest.$ac_ext | 23624 | conftest$ac_exeext conftest.$ac_ext |
22514 | 23625 | ||
22515 | fi | 23626 | fi |
22516 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 | 23627 | { echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 |
22517 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 | 23628 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6; } |
22518 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | 23629 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then |
22519 | 23630 | ||
22520 | cat >>confdefs.h <<\_ACEOF | 23631 | cat >>confdefs.h <<\_ACEOF |
@@ -22523,8 +23634,8 @@ _ACEOF | |||
22523 | 23634 | ||
22524 | fi | 23635 | fi |
22525 | 23636 | ||
22526 | echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 | 23637 | { echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 |
22527 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 | 23638 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6; } |
22528 | if test "${ac_cv_cc_implements___func__+set}" = set; then | 23639 | if test "${ac_cv_cc_implements___func__+set}" = set; then |
22529 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23640 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22530 | else | 23641 | else |
@@ -22547,41 +23658,38 @@ main () | |||
22547 | } | 23658 | } |
22548 | _ACEOF | 23659 | _ACEOF |
22549 | rm -f conftest.$ac_objext conftest$ac_exeext | 23660 | rm -f conftest.$ac_objext conftest$ac_exeext |
22550 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23661 | if { (ac_try="$ac_link" |
22551 | (eval $ac_link) 2>conftest.er1 | 23662 | case "(($ac_try" in |
23663 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23664 | *) ac_try_echo=$ac_try;; | ||
23665 | esac | ||
23666 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23667 | (eval "$ac_link") 2>conftest.er1 | ||
22552 | ac_status=$? | 23668 | ac_status=$? |
22553 | grep -v '^ *+' conftest.er1 >conftest.err | 23669 | grep -v '^ *+' conftest.er1 >conftest.err |
22554 | rm -f conftest.er1 | 23670 | rm -f conftest.er1 |
22555 | cat conftest.err >&5 | 23671 | cat conftest.err >&5 |
22556 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22557 | (exit $ac_status); } && | 23673 | (exit $ac_status); } && { |
22558 | { ac_try='test -z "$ac_c_werror_flag" | 23674 | test -z "$ac_c_werror_flag" || |
22559 | || test ! -s conftest.err' | 23675 | test ! -s conftest.err |
22560 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23676 | } && test -s conftest$ac_exeext && |
22561 | (eval $ac_try) 2>&5 | 23677 | $as_test_x conftest$ac_exeext; then |
22562 | ac_status=$? | ||
22563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22564 | (exit $ac_status); }; } && | ||
22565 | { ac_try='test -s conftest$ac_exeext' | ||
22566 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22567 | (eval $ac_try) 2>&5 | ||
22568 | ac_status=$? | ||
22569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22570 | (exit $ac_status); }; }; then | ||
22571 | ac_cv_cc_implements___func__="yes" | 23678 | ac_cv_cc_implements___func__="yes" |
22572 | else | 23679 | else |
22573 | echo "$as_me: failed program was:" >&5 | 23680 | echo "$as_me: failed program was:" >&5 |
22574 | sed 's/^/| /' conftest.$ac_ext >&5 | 23681 | sed 's/^/| /' conftest.$ac_ext >&5 |
22575 | 23682 | ||
22576 | ac_cv_cc_implements___func__="no" | 23683 | ac_cv_cc_implements___func__="no" |
22577 | 23684 | ||
22578 | fi | 23685 | fi |
22579 | rm -f conftest.err conftest.$ac_objext \ | 23686 | |
23687 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22580 | conftest$ac_exeext conftest.$ac_ext | 23688 | conftest$ac_exeext conftest.$ac_ext |
22581 | 23689 | ||
22582 | fi | 23690 | fi |
22583 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 | 23691 | { echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 |
22584 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 | 23692 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6; } |
22585 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | 23693 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then |
22586 | 23694 | ||
22587 | cat >>confdefs.h <<\_ACEOF | 23695 | cat >>confdefs.h <<\_ACEOF |
@@ -22590,8 +23698,8 @@ _ACEOF | |||
22590 | 23698 | ||
22591 | fi | 23699 | fi |
22592 | 23700 | ||
22593 | echo "$as_me:$LINENO: checking whether va_copy exists" >&5 | 23701 | { echo "$as_me:$LINENO: checking whether va_copy exists" >&5 |
22594 | echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6 | 23702 | echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6; } |
22595 | if test "${ac_cv_have_va_copy+set}" = set; then | 23703 | if test "${ac_cv_have_va_copy+set}" = set; then |
22596 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23704 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22597 | else | 23705 | else |
@@ -22613,41 +23721,38 @@ va_copy(x,y); | |||
22613 | } | 23721 | } |
22614 | _ACEOF | 23722 | _ACEOF |
22615 | rm -f conftest.$ac_objext conftest$ac_exeext | 23723 | rm -f conftest.$ac_objext conftest$ac_exeext |
22616 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23724 | if { (ac_try="$ac_link" |
22617 | (eval $ac_link) 2>conftest.er1 | 23725 | case "(($ac_try" in |
23726 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23727 | *) ac_try_echo=$ac_try;; | ||
23728 | esac | ||
23729 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23730 | (eval "$ac_link") 2>conftest.er1 | ||
22618 | ac_status=$? | 23731 | ac_status=$? |
22619 | grep -v '^ *+' conftest.er1 >conftest.err | 23732 | grep -v '^ *+' conftest.er1 >conftest.err |
22620 | rm -f conftest.er1 | 23733 | rm -f conftest.er1 |
22621 | cat conftest.err >&5 | 23734 | cat conftest.err >&5 |
22622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22623 | (exit $ac_status); } && | 23736 | (exit $ac_status); } && { |
22624 | { ac_try='test -z "$ac_c_werror_flag" | 23737 | test -z "$ac_c_werror_flag" || |
22625 | || test ! -s conftest.err' | 23738 | test ! -s conftest.err |
22626 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23739 | } && test -s conftest$ac_exeext && |
22627 | (eval $ac_try) 2>&5 | 23740 | $as_test_x conftest$ac_exeext; then |
22628 | ac_status=$? | ||
22629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22630 | (exit $ac_status); }; } && | ||
22631 | { ac_try='test -s conftest$ac_exeext' | ||
22632 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22633 | (eval $ac_try) 2>&5 | ||
22634 | ac_status=$? | ||
22635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22636 | (exit $ac_status); }; }; then | ||
22637 | ac_cv_have_va_copy="yes" | 23741 | ac_cv_have_va_copy="yes" |
22638 | else | 23742 | else |
22639 | echo "$as_me: failed program was:" >&5 | 23743 | echo "$as_me: failed program was:" >&5 |
22640 | sed 's/^/| /' conftest.$ac_ext >&5 | 23744 | sed 's/^/| /' conftest.$ac_ext >&5 |
22641 | 23745 | ||
22642 | ac_cv_have_va_copy="no" | 23746 | ac_cv_have_va_copy="no" |
22643 | 23747 | ||
22644 | fi | 23748 | fi |
22645 | rm -f conftest.err conftest.$ac_objext \ | 23749 | |
23750 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22646 | conftest$ac_exeext conftest.$ac_ext | 23751 | conftest$ac_exeext conftest.$ac_ext |
22647 | 23752 | ||
22648 | fi | 23753 | fi |
22649 | echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5 | 23754 | { echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5 |
22650 | echo "${ECHO_T}$ac_cv_have_va_copy" >&6 | 23755 | echo "${ECHO_T}$ac_cv_have_va_copy" >&6; } |
22651 | if test "x$ac_cv_have_va_copy" = "xyes" ; then | 23756 | if test "x$ac_cv_have_va_copy" = "xyes" ; then |
22652 | 23757 | ||
22653 | cat >>confdefs.h <<\_ACEOF | 23758 | cat >>confdefs.h <<\_ACEOF |
@@ -22656,8 +23761,8 @@ _ACEOF | |||
22656 | 23761 | ||
22657 | fi | 23762 | fi |
22658 | 23763 | ||
22659 | echo "$as_me:$LINENO: checking whether __va_copy exists" >&5 | 23764 | { echo "$as_me:$LINENO: checking whether __va_copy exists" >&5 |
22660 | echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6 | 23765 | echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6; } |
22661 | if test "${ac_cv_have___va_copy+set}" = set; then | 23766 | if test "${ac_cv_have___va_copy+set}" = set; then |
22662 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23767 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22663 | else | 23768 | else |
@@ -22679,41 +23784,38 @@ __va_copy(x,y); | |||
22679 | } | 23784 | } |
22680 | _ACEOF | 23785 | _ACEOF |
22681 | rm -f conftest.$ac_objext conftest$ac_exeext | 23786 | rm -f conftest.$ac_objext conftest$ac_exeext |
22682 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23787 | if { (ac_try="$ac_link" |
22683 | (eval $ac_link) 2>conftest.er1 | 23788 | case "(($ac_try" in |
23789 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23790 | *) ac_try_echo=$ac_try;; | ||
23791 | esac | ||
23792 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23793 | (eval "$ac_link") 2>conftest.er1 | ||
22684 | ac_status=$? | 23794 | ac_status=$? |
22685 | grep -v '^ *+' conftest.er1 >conftest.err | 23795 | grep -v '^ *+' conftest.er1 >conftest.err |
22686 | rm -f conftest.er1 | 23796 | rm -f conftest.er1 |
22687 | cat conftest.err >&5 | 23797 | cat conftest.err >&5 |
22688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22689 | (exit $ac_status); } && | 23799 | (exit $ac_status); } && { |
22690 | { ac_try='test -z "$ac_c_werror_flag" | 23800 | test -z "$ac_c_werror_flag" || |
22691 | || test ! -s conftest.err' | 23801 | test ! -s conftest.err |
22692 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23802 | } && test -s conftest$ac_exeext && |
22693 | (eval $ac_try) 2>&5 | 23803 | $as_test_x conftest$ac_exeext; then |
22694 | ac_status=$? | ||
22695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22696 | (exit $ac_status); }; } && | ||
22697 | { ac_try='test -s conftest$ac_exeext' | ||
22698 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22699 | (eval $ac_try) 2>&5 | ||
22700 | ac_status=$? | ||
22701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22702 | (exit $ac_status); }; }; then | ||
22703 | ac_cv_have___va_copy="yes" | 23804 | ac_cv_have___va_copy="yes" |
22704 | else | 23805 | else |
22705 | echo "$as_me: failed program was:" >&5 | 23806 | echo "$as_me: failed program was:" >&5 |
22706 | sed 's/^/| /' conftest.$ac_ext >&5 | 23807 | sed 's/^/| /' conftest.$ac_ext >&5 |
22707 | 23808 | ||
22708 | ac_cv_have___va_copy="no" | 23809 | ac_cv_have___va_copy="no" |
22709 | 23810 | ||
22710 | fi | 23811 | fi |
22711 | rm -f conftest.err conftest.$ac_objext \ | 23812 | |
23813 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22712 | conftest$ac_exeext conftest.$ac_ext | 23814 | conftest$ac_exeext conftest.$ac_ext |
22713 | 23815 | ||
22714 | fi | 23816 | fi |
22715 | echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5 | 23817 | { echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5 |
22716 | echo "${ECHO_T}$ac_cv_have___va_copy" >&6 | 23818 | echo "${ECHO_T}$ac_cv_have___va_copy" >&6; } |
22717 | if test "x$ac_cv_have___va_copy" = "xyes" ; then | 23819 | if test "x$ac_cv_have___va_copy" = "xyes" ; then |
22718 | 23820 | ||
22719 | cat >>confdefs.h <<\_ACEOF | 23821 | cat >>confdefs.h <<\_ACEOF |
@@ -22722,8 +23824,8 @@ _ACEOF | |||
22722 | 23824 | ||
22723 | fi | 23825 | fi |
22724 | 23826 | ||
22725 | echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 | 23827 | { echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 |
22726 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 | 23828 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6; } |
22727 | if test "${ac_cv_have_getopt_optreset+set}" = set; then | 23829 | if test "${ac_cv_have_getopt_optreset+set}" = set; then |
22728 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23830 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22729 | else | 23831 | else |
@@ -22746,41 +23848,38 @@ main () | |||
22746 | } | 23848 | } |
22747 | _ACEOF | 23849 | _ACEOF |
22748 | rm -f conftest.$ac_objext conftest$ac_exeext | 23850 | rm -f conftest.$ac_objext conftest$ac_exeext |
22749 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23851 | if { (ac_try="$ac_link" |
22750 | (eval $ac_link) 2>conftest.er1 | 23852 | case "(($ac_try" in |
23853 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23854 | *) ac_try_echo=$ac_try;; | ||
23855 | esac | ||
23856 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23857 | (eval "$ac_link") 2>conftest.er1 | ||
22751 | ac_status=$? | 23858 | ac_status=$? |
22752 | grep -v '^ *+' conftest.er1 >conftest.err | 23859 | grep -v '^ *+' conftest.er1 >conftest.err |
22753 | rm -f conftest.er1 | 23860 | rm -f conftest.er1 |
22754 | cat conftest.err >&5 | 23861 | cat conftest.err >&5 |
22755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22756 | (exit $ac_status); } && | 23863 | (exit $ac_status); } && { |
22757 | { ac_try='test -z "$ac_c_werror_flag" | 23864 | test -z "$ac_c_werror_flag" || |
22758 | || test ! -s conftest.err' | 23865 | test ! -s conftest.err |
22759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23866 | } && test -s conftest$ac_exeext && |
22760 | (eval $ac_try) 2>&5 | 23867 | $as_test_x conftest$ac_exeext; then |
22761 | ac_status=$? | ||
22762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22763 | (exit $ac_status); }; } && | ||
22764 | { ac_try='test -s conftest$ac_exeext' | ||
22765 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22766 | (eval $ac_try) 2>&5 | ||
22767 | ac_status=$? | ||
22768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22769 | (exit $ac_status); }; }; then | ||
22770 | ac_cv_have_getopt_optreset="yes" | 23868 | ac_cv_have_getopt_optreset="yes" |
22771 | else | 23869 | else |
22772 | echo "$as_me: failed program was:" >&5 | 23870 | echo "$as_me: failed program was:" >&5 |
22773 | sed 's/^/| /' conftest.$ac_ext >&5 | 23871 | sed 's/^/| /' conftest.$ac_ext >&5 |
22774 | 23872 | ||
22775 | ac_cv_have_getopt_optreset="no" | 23873 | ac_cv_have_getopt_optreset="no" |
22776 | 23874 | ||
22777 | fi | 23875 | fi |
22778 | rm -f conftest.err conftest.$ac_objext \ | 23876 | |
23877 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22779 | conftest$ac_exeext conftest.$ac_ext | 23878 | conftest$ac_exeext conftest.$ac_ext |
22780 | 23879 | ||
22781 | fi | 23880 | fi |
22782 | echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 | 23881 | { echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 |
22783 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 | 23882 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6; } |
22784 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | 23883 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then |
22785 | 23884 | ||
22786 | cat >>confdefs.h <<\_ACEOF | 23885 | cat >>confdefs.h <<\_ACEOF |
@@ -22789,8 +23888,8 @@ _ACEOF | |||
22789 | 23888 | ||
22790 | fi | 23889 | fi |
22791 | 23890 | ||
22792 | echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 | 23891 | { echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 |
22793 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 | 23892 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6; } |
22794 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then | 23893 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then |
22795 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22796 | else | 23895 | else |
@@ -22811,41 +23910,38 @@ main () | |||
22811 | } | 23910 | } |
22812 | _ACEOF | 23911 | _ACEOF |
22813 | rm -f conftest.$ac_objext conftest$ac_exeext | 23912 | rm -f conftest.$ac_objext conftest$ac_exeext |
22814 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23913 | if { (ac_try="$ac_link" |
22815 | (eval $ac_link) 2>conftest.er1 | 23914 | case "(($ac_try" in |
23915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23916 | *) ac_try_echo=$ac_try;; | ||
23917 | esac | ||
23918 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23919 | (eval "$ac_link") 2>conftest.er1 | ||
22816 | ac_status=$? | 23920 | ac_status=$? |
22817 | grep -v '^ *+' conftest.er1 >conftest.err | 23921 | grep -v '^ *+' conftest.er1 >conftest.err |
22818 | rm -f conftest.er1 | 23922 | rm -f conftest.er1 |
22819 | cat conftest.err >&5 | 23923 | cat conftest.err >&5 |
22820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22821 | (exit $ac_status); } && | 23925 | (exit $ac_status); } && { |
22822 | { ac_try='test -z "$ac_c_werror_flag" | 23926 | test -z "$ac_c_werror_flag" || |
22823 | || test ! -s conftest.err' | 23927 | test ! -s conftest.err |
22824 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23928 | } && test -s conftest$ac_exeext && |
22825 | (eval $ac_try) 2>&5 | 23929 | $as_test_x conftest$ac_exeext; then |
22826 | ac_status=$? | ||
22827 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22828 | (exit $ac_status); }; } && | ||
22829 | { ac_try='test -s conftest$ac_exeext' | ||
22830 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22831 | (eval $ac_try) 2>&5 | ||
22832 | ac_status=$? | ||
22833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22834 | (exit $ac_status); }; }; then | ||
22835 | ac_cv_libc_defines_sys_errlist="yes" | 23930 | ac_cv_libc_defines_sys_errlist="yes" |
22836 | else | 23931 | else |
22837 | echo "$as_me: failed program was:" >&5 | 23932 | echo "$as_me: failed program was:" >&5 |
22838 | sed 's/^/| /' conftest.$ac_ext >&5 | 23933 | sed 's/^/| /' conftest.$ac_ext >&5 |
22839 | 23934 | ||
22840 | ac_cv_libc_defines_sys_errlist="no" | 23935 | ac_cv_libc_defines_sys_errlist="no" |
22841 | 23936 | ||
22842 | fi | 23937 | fi |
22843 | rm -f conftest.err conftest.$ac_objext \ | 23938 | |
23939 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22844 | conftest$ac_exeext conftest.$ac_ext | 23940 | conftest$ac_exeext conftest.$ac_ext |
22845 | 23941 | ||
22846 | fi | 23942 | fi |
22847 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 | 23943 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 |
22848 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 | 23944 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6; } |
22849 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | 23945 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then |
22850 | 23946 | ||
22851 | cat >>confdefs.h <<\_ACEOF | 23947 | cat >>confdefs.h <<\_ACEOF |
@@ -22855,8 +23951,8 @@ _ACEOF | |||
22855 | fi | 23951 | fi |
22856 | 23952 | ||
22857 | 23953 | ||
22858 | echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 | 23954 | { echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 |
22859 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 | 23955 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6; } |
22860 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then | 23956 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then |
22861 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 23957 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22862 | else | 23958 | else |
@@ -22877,41 +23973,38 @@ main () | |||
22877 | } | 23973 | } |
22878 | _ACEOF | 23974 | _ACEOF |
22879 | rm -f conftest.$ac_objext conftest$ac_exeext | 23975 | rm -f conftest.$ac_objext conftest$ac_exeext |
22880 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23976 | if { (ac_try="$ac_link" |
22881 | (eval $ac_link) 2>conftest.er1 | 23977 | case "(($ac_try" in |
23978 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23979 | *) ac_try_echo=$ac_try;; | ||
23980 | esac | ||
23981 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23982 | (eval "$ac_link") 2>conftest.er1 | ||
22882 | ac_status=$? | 23983 | ac_status=$? |
22883 | grep -v '^ *+' conftest.er1 >conftest.err | 23984 | grep -v '^ *+' conftest.er1 >conftest.err |
22884 | rm -f conftest.er1 | 23985 | rm -f conftest.er1 |
22885 | cat conftest.err >&5 | 23986 | cat conftest.err >&5 |
22886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22887 | (exit $ac_status); } && | 23988 | (exit $ac_status); } && { |
22888 | { ac_try='test -z "$ac_c_werror_flag" | 23989 | test -z "$ac_c_werror_flag" || |
22889 | || test ! -s conftest.err' | 23990 | test ! -s conftest.err |
22890 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23991 | } && test -s conftest$ac_exeext && |
22891 | (eval $ac_try) 2>&5 | 23992 | $as_test_x conftest$ac_exeext; then |
22892 | ac_status=$? | ||
22893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22894 | (exit $ac_status); }; } && | ||
22895 | { ac_try='test -s conftest$ac_exeext' | ||
22896 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22897 | (eval $ac_try) 2>&5 | ||
22898 | ac_status=$? | ||
22899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22900 | (exit $ac_status); }; }; then | ||
22901 | ac_cv_libc_defines_sys_nerr="yes" | 23993 | ac_cv_libc_defines_sys_nerr="yes" |
22902 | else | 23994 | else |
22903 | echo "$as_me: failed program was:" >&5 | 23995 | echo "$as_me: failed program was:" >&5 |
22904 | sed 's/^/| /' conftest.$ac_ext >&5 | 23996 | sed 's/^/| /' conftest.$ac_ext >&5 |
22905 | 23997 | ||
22906 | ac_cv_libc_defines_sys_nerr="no" | 23998 | ac_cv_libc_defines_sys_nerr="no" |
22907 | 23999 | ||
22908 | fi | 24000 | fi |
22909 | rm -f conftest.err conftest.$ac_objext \ | 24001 | |
24002 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22910 | conftest$ac_exeext conftest.$ac_ext | 24003 | conftest$ac_exeext conftest.$ac_ext |
22911 | 24004 | ||
22912 | fi | 24005 | fi |
22913 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 | 24006 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 |
22914 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 | 24007 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6; } |
22915 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | 24008 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then |
22916 | 24009 | ||
22917 | cat >>confdefs.h <<\_ACEOF | 24010 | cat >>confdefs.h <<\_ACEOF |
@@ -22923,10 +24016,9 @@ fi | |||
22923 | SCARD_MSG="no" | 24016 | SCARD_MSG="no" |
22924 | # Check whether user wants sectok support | 24017 | # Check whether user wants sectok support |
22925 | 24018 | ||
22926 | # Check whether --with-sectok or --without-sectok was given. | 24019 | # Check whether --with-sectok was given. |
22927 | if test "${with_sectok+set}" = set; then | 24020 | if test "${with_sectok+set}" = set; then |
22928 | withval="$with_sectok" | 24021 | withval=$with_sectok; |
22929 | |||
22930 | if test "x$withval" != "xno" ; then | 24022 | if test "x$withval" != "xno" ; then |
22931 | if test "x$withval" != "xyes" ; then | 24023 | if test "x$withval" != "xyes" ; then |
22932 | CPPFLAGS="$CPPFLAGS -I${withval}" | 24024 | CPPFLAGS="$CPPFLAGS -I${withval}" |
@@ -22942,18 +24034,19 @@ if test "${with_sectok+set}" = set; then | |||
22942 | for ac_header in sectok.h | 24034 | for ac_header in sectok.h |
22943 | do | 24035 | do |
22944 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 24036 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22945 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24037 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
22946 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 24038 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
22947 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 24039 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
22948 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24040 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
22949 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24041 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22950 | fi | 24042 | fi |
22951 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 24043 | ac_res=`eval echo '${'$as_ac_Header'}'` |
22952 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 24044 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
24045 | echo "${ECHO_T}$ac_res" >&6; } | ||
22953 | else | 24046 | else |
22954 | # Is the header compilable? | 24047 | # Is the header compilable? |
22955 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 24048 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
22956 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 24049 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
22957 | cat >conftest.$ac_ext <<_ACEOF | 24050 | cat >conftest.$ac_ext <<_ACEOF |
22958 | /* confdefs.h. */ | 24051 | /* confdefs.h. */ |
22959 | _ACEOF | 24052 | _ACEOF |
@@ -22964,41 +24057,37 @@ $ac_includes_default | |||
22964 | #include <$ac_header> | 24057 | #include <$ac_header> |
22965 | _ACEOF | 24058 | _ACEOF |
22966 | rm -f conftest.$ac_objext | 24059 | rm -f conftest.$ac_objext |
22967 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24060 | if { (ac_try="$ac_compile" |
22968 | (eval $ac_compile) 2>conftest.er1 | 24061 | case "(($ac_try" in |
24062 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24063 | *) ac_try_echo=$ac_try;; | ||
24064 | esac | ||
24065 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24066 | (eval "$ac_compile") 2>conftest.er1 | ||
22969 | ac_status=$? | 24067 | ac_status=$? |
22970 | grep -v '^ *+' conftest.er1 >conftest.err | 24068 | grep -v '^ *+' conftest.er1 >conftest.err |
22971 | rm -f conftest.er1 | 24069 | rm -f conftest.er1 |
22972 | cat conftest.err >&5 | 24070 | cat conftest.err >&5 |
22973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22974 | (exit $ac_status); } && | 24072 | (exit $ac_status); } && { |
22975 | { ac_try='test -z "$ac_c_werror_flag" | 24073 | test -z "$ac_c_werror_flag" || |
22976 | || test ! -s conftest.err' | 24074 | test ! -s conftest.err |
22977 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24075 | } && test -s conftest.$ac_objext; then |
22978 | (eval $ac_try) 2>&5 | ||
22979 | ac_status=$? | ||
22980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22981 | (exit $ac_status); }; } && | ||
22982 | { ac_try='test -s conftest.$ac_objext' | ||
22983 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22984 | (eval $ac_try) 2>&5 | ||
22985 | ac_status=$? | ||
22986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22987 | (exit $ac_status); }; }; then | ||
22988 | ac_header_compiler=yes | 24076 | ac_header_compiler=yes |
22989 | else | 24077 | else |
22990 | echo "$as_me: failed program was:" >&5 | 24078 | echo "$as_me: failed program was:" >&5 |
22991 | sed 's/^/| /' conftest.$ac_ext >&5 | 24079 | sed 's/^/| /' conftest.$ac_ext >&5 |
22992 | 24080 | ||
22993 | ac_header_compiler=no | 24081 | ac_header_compiler=no |
22994 | fi | 24082 | fi |
22995 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24083 | |
22996 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 24084 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22997 | echo "${ECHO_T}$ac_header_compiler" >&6 | 24085 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24086 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
22998 | 24087 | ||
22999 | # Is the header present? | 24088 | # Is the header present? |
23000 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 24089 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
23001 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 24090 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
23002 | cat >conftest.$ac_ext <<_ACEOF | 24091 | cat >conftest.$ac_ext <<_ACEOF |
23003 | /* confdefs.h. */ | 24092 | /* confdefs.h. */ |
23004 | _ACEOF | 24093 | _ACEOF |
@@ -23007,24 +24096,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
23007 | /* end confdefs.h. */ | 24096 | /* end confdefs.h. */ |
23008 | #include <$ac_header> | 24097 | #include <$ac_header> |
23009 | _ACEOF | 24098 | _ACEOF |
23010 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 24099 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
23011 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 24100 | case "(($ac_try" in |
24101 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24102 | *) ac_try_echo=$ac_try;; | ||
24103 | esac | ||
24104 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24105 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
23012 | ac_status=$? | 24106 | ac_status=$? |
23013 | grep -v '^ *+' conftest.er1 >conftest.err | 24107 | grep -v '^ *+' conftest.er1 >conftest.err |
23014 | rm -f conftest.er1 | 24108 | rm -f conftest.er1 |
23015 | cat conftest.err >&5 | 24109 | cat conftest.err >&5 |
23016 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23017 | (exit $ac_status); } >/dev/null; then | 24111 | (exit $ac_status); } >/dev/null && { |
23018 | if test -s conftest.err; then | 24112 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
23019 | ac_cpp_err=$ac_c_preproc_warn_flag | 24113 | test ! -s conftest.err |
23020 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 24114 | }; then |
23021 | else | ||
23022 | ac_cpp_err= | ||
23023 | fi | ||
23024 | else | ||
23025 | ac_cpp_err=yes | ||
23026 | fi | ||
23027 | if test -z "$ac_cpp_err"; then | ||
23028 | ac_header_preproc=yes | 24115 | ac_header_preproc=yes |
23029 | else | 24116 | else |
23030 | echo "$as_me: failed program was:" >&5 | 24117 | echo "$as_me: failed program was:" >&5 |
@@ -23032,9 +24119,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
23032 | 24119 | ||
23033 | ac_header_preproc=no | 24120 | ac_header_preproc=no |
23034 | fi | 24121 | fi |
24122 | |||
23035 | rm -f conftest.err conftest.$ac_ext | 24123 | rm -f conftest.err conftest.$ac_ext |
23036 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 24124 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
23037 | echo "${ECHO_T}$ac_header_preproc" >&6 | 24125 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
23038 | 24126 | ||
23039 | # So? What about this header? | 24127 | # So? What about this header? |
23040 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 24128 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -23058,25 +24146,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
23058 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 24146 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
23059 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 24147 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
23060 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 24148 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23061 | ( | 24149 | ( cat <<\_ASBOX |
23062 | cat <<\_ASBOX | ||
23063 | ## ------------------------------------------- ## | 24150 | ## ------------------------------------------- ## |
23064 | ## Report this to openssh-unix-dev@mindrot.org ## | 24151 | ## Report this to openssh-unix-dev@mindrot.org ## |
23065 | ## ------------------------------------------- ## | 24152 | ## ------------------------------------------- ## |
23066 | _ASBOX | 24153 | _ASBOX |
23067 | ) | | 24154 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
23068 | sed "s/^/$as_me: WARNING: /" >&2 | ||
23069 | ;; | 24155 | ;; |
23070 | esac | 24156 | esac |
23071 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 24157 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23072 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 24158 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
23073 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24159 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
23074 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24160 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23075 | else | 24161 | else |
23076 | eval "$as_ac_Header=\$ac_header_preproc" | 24162 | eval "$as_ac_Header=\$ac_header_preproc" |
23077 | fi | 24163 | fi |
23078 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 24164 | ac_res=`eval echo '${'$as_ac_Header'}'` |
23079 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 24165 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
24166 | echo "${ECHO_T}$ac_res" >&6; } | ||
23080 | 24167 | ||
23081 | fi | 24168 | fi |
23082 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 24169 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -23094,8 +24181,8 @@ echo "$as_me: error: Can't find sectok.h" >&2;} | |||
23094 | { (exit 1); exit 1; }; } | 24181 | { (exit 1); exit 1; }; } |
23095 | fi | 24182 | fi |
23096 | 24183 | ||
23097 | echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5 | 24184 | { echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5 |
23098 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 | 24185 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6; } |
23099 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then | 24186 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then |
23100 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24187 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23101 | else | 24188 | else |
@@ -23108,56 +24195,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
23108 | cat >>conftest.$ac_ext <<_ACEOF | 24195 | cat >>conftest.$ac_ext <<_ACEOF |
23109 | /* end confdefs.h. */ | 24196 | /* end confdefs.h. */ |
23110 | 24197 | ||
23111 | /* Override any gcc2 internal prototype to avoid an error. */ | 24198 | /* Override any GCC internal prototype to avoid an error. |
24199 | Use char because int might match the return type of a GCC | ||
24200 | builtin and then its argument prototype would still apply. */ | ||
23112 | #ifdef __cplusplus | 24201 | #ifdef __cplusplus |
23113 | extern "C" | 24202 | extern "C" |
23114 | #endif | 24203 | #endif |
23115 | /* We use char because int might match the return type of a gcc2 | ||
23116 | builtin and then its argument prototype would still apply. */ | ||
23117 | char sectok_open (); | 24204 | char sectok_open (); |
23118 | int | 24205 | int |
23119 | main () | 24206 | main () |
23120 | { | 24207 | { |
23121 | sectok_open (); | 24208 | return sectok_open (); |
23122 | ; | 24209 | ; |
23123 | return 0; | 24210 | return 0; |
23124 | } | 24211 | } |
23125 | _ACEOF | 24212 | _ACEOF |
23126 | rm -f conftest.$ac_objext conftest$ac_exeext | 24213 | rm -f conftest.$ac_objext conftest$ac_exeext |
23127 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24214 | if { (ac_try="$ac_link" |
23128 | (eval $ac_link) 2>conftest.er1 | 24215 | case "(($ac_try" in |
24216 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24217 | *) ac_try_echo=$ac_try;; | ||
24218 | esac | ||
24219 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24220 | (eval "$ac_link") 2>conftest.er1 | ||
23129 | ac_status=$? | 24221 | ac_status=$? |
23130 | grep -v '^ *+' conftest.er1 >conftest.err | 24222 | grep -v '^ *+' conftest.er1 >conftest.err |
23131 | rm -f conftest.er1 | 24223 | rm -f conftest.er1 |
23132 | cat conftest.err >&5 | 24224 | cat conftest.err >&5 |
23133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23134 | (exit $ac_status); } && | 24226 | (exit $ac_status); } && { |
23135 | { ac_try='test -z "$ac_c_werror_flag" | 24227 | test -z "$ac_c_werror_flag" || |
23136 | || test ! -s conftest.err' | 24228 | test ! -s conftest.err |
23137 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24229 | } && test -s conftest$ac_exeext && |
23138 | (eval $ac_try) 2>&5 | 24230 | $as_test_x conftest$ac_exeext; then |
23139 | ac_status=$? | ||
23140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23141 | (exit $ac_status); }; } && | ||
23142 | { ac_try='test -s conftest$ac_exeext' | ||
23143 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23144 | (eval $ac_try) 2>&5 | ||
23145 | ac_status=$? | ||
23146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23147 | (exit $ac_status); }; }; then | ||
23148 | ac_cv_lib_sectok_sectok_open=yes | 24231 | ac_cv_lib_sectok_sectok_open=yes |
23149 | else | 24232 | else |
23150 | echo "$as_me: failed program was:" >&5 | 24233 | echo "$as_me: failed program was:" >&5 |
23151 | sed 's/^/| /' conftest.$ac_ext >&5 | 24234 | sed 's/^/| /' conftest.$ac_ext >&5 |
23152 | 24235 | ||
23153 | ac_cv_lib_sectok_sectok_open=no | 24236 | ac_cv_lib_sectok_sectok_open=no |
23154 | fi | 24237 | fi |
23155 | rm -f conftest.err conftest.$ac_objext \ | 24238 | |
24239 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23156 | conftest$ac_exeext conftest.$ac_ext | 24240 | conftest$ac_exeext conftest.$ac_ext |
23157 | LIBS=$ac_check_lib_save_LIBS | 24241 | LIBS=$ac_check_lib_save_LIBS |
23158 | fi | 24242 | fi |
23159 | echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5 | 24243 | { echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5 |
23160 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 | 24244 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6; } |
23161 | if test $ac_cv_lib_sectok_sectok_open = yes; then | 24245 | if test $ac_cv_lib_sectok_sectok_open = yes; then |
23162 | cat >>confdefs.h <<_ACEOF | 24246 | cat >>confdefs.h <<_ACEOF |
23163 | #define HAVE_LIBSECTOK 1 | 24247 | #define HAVE_LIBSECTOK 1 |
@@ -23186,23 +24270,23 @@ _ACEOF | |||
23186 | fi | 24270 | fi |
23187 | 24271 | ||
23188 | 24272 | ||
23189 | fi; | 24273 | fi |
24274 | |||
23190 | 24275 | ||
23191 | # Check whether user wants OpenSC support | 24276 | # Check whether user wants OpenSC support |
23192 | OPENSC_CONFIG="no" | 24277 | OPENSC_CONFIG="no" |
23193 | 24278 | ||
23194 | # Check whether --with-opensc or --without-opensc was given. | 24279 | # Check whether --with-opensc was given. |
23195 | if test "${with_opensc+set}" = set; then | 24280 | if test "${with_opensc+set}" = set; then |
23196 | withval="$with_opensc" | 24281 | withval=$with_opensc; |
23197 | |||
23198 | if test "x$withval" != "xno" ; then | 24282 | if test "x$withval" != "xno" ; then |
23199 | if test "x$withval" != "xyes" ; then | 24283 | if test "x$withval" != "xyes" ; then |
23200 | OPENSC_CONFIG=$withval/bin/opensc-config | 24284 | OPENSC_CONFIG=$withval/bin/opensc-config |
23201 | else | 24285 | else |
23202 | # Extract the first word of "opensc-config", so it can be a program name with args. | 24286 | # Extract the first word of "opensc-config", so it can be a program name with args. |
23203 | set dummy opensc-config; ac_word=$2 | 24287 | set dummy opensc-config; ac_word=$2 |
23204 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 24288 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
23205 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 24289 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
23206 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then | 24290 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then |
23207 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24291 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23208 | else | 24292 | else |
@@ -23217,34 +24301,35 @@ do | |||
23217 | IFS=$as_save_IFS | 24301 | IFS=$as_save_IFS |
23218 | test -z "$as_dir" && as_dir=. | 24302 | test -z "$as_dir" && as_dir=. |
23219 | for ac_exec_ext in '' $ac_executable_extensions; do | 24303 | for ac_exec_ext in '' $ac_executable_extensions; do |
23220 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 24304 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
23221 | ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 24305 | ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
23222 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 24306 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
23223 | break 2 | 24307 | break 2 |
23224 | fi | 24308 | fi |
23225 | done | 24309 | done |
23226 | done | 24310 | done |
24311 | IFS=$as_save_IFS | ||
23227 | 24312 | ||
23228 | test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no" | 24313 | test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no" |
23229 | ;; | 24314 | ;; |
23230 | esac | 24315 | esac |
23231 | fi | 24316 | fi |
23232 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG | 24317 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG |
23233 | |||
23234 | if test -n "$OPENSC_CONFIG"; then | 24318 | if test -n "$OPENSC_CONFIG"; then |
23235 | echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 | 24319 | { echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 |
23236 | echo "${ECHO_T}$OPENSC_CONFIG" >&6 | 24320 | echo "${ECHO_T}$OPENSC_CONFIG" >&6; } |
23237 | else | 24321 | else |
23238 | echo "$as_me:$LINENO: result: no" >&5 | 24322 | { echo "$as_me:$LINENO: result: no" >&5 |
23239 | echo "${ECHO_T}no" >&6 | 24323 | echo "${ECHO_T}no" >&6; } |
23240 | fi | 24324 | fi |
23241 | 24325 | ||
24326 | |||
23242 | fi | 24327 | fi |
23243 | if test "$OPENSC_CONFIG" != "no"; then | 24328 | if test "$OPENSC_CONFIG" != "no"; then |
23244 | LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags` | 24329 | LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags` |
23245 | LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` | 24330 | LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` |
23246 | CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" | 24331 | CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" |
23247 | LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" | 24332 | LIBS="$LIBS $LIBOPENSC_LIBS" |
23248 | cat >>confdefs.h <<\_ACEOF | 24333 | cat >>confdefs.h <<\_ACEOF |
23249 | #define SMARTCARD 1 | 24334 | #define SMARTCARD 1 |
23250 | _ACEOF | 24335 | _ACEOF |
@@ -23259,16 +24344,16 @@ _ACEOF | |||
23259 | fi | 24344 | fi |
23260 | 24345 | ||
23261 | 24346 | ||
23262 | fi; | 24347 | fi |
24348 | |||
23263 | 24349 | ||
23264 | # Check libraries needed by DNS fingerprint support | 24350 | # Check libraries needed by DNS fingerprint support |
23265 | echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5 | 24351 | { echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5 |
23266 | echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6 | 24352 | echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6; } |
23267 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then | 24353 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then |
23268 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24354 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23269 | else | 24355 | else |
23270 | ac_func_search_save_LIBS=$LIBS | 24356 | ac_func_search_save_LIBS=$LIBS |
23271 | ac_cv_search_getrrsetbyname=no | ||
23272 | cat >conftest.$ac_ext <<_ACEOF | 24357 | cat >conftest.$ac_ext <<_ACEOF |
23273 | /* confdefs.h. */ | 24358 | /* confdefs.h. */ |
23274 | _ACEOF | 24359 | _ACEOF |
@@ -23276,115 +24361,73 @@ cat confdefs.h >>conftest.$ac_ext | |||
23276 | cat >>conftest.$ac_ext <<_ACEOF | 24361 | cat >>conftest.$ac_ext <<_ACEOF |
23277 | /* end confdefs.h. */ | 24362 | /* end confdefs.h. */ |
23278 | 24363 | ||
23279 | /* Override any gcc2 internal prototype to avoid an error. */ | 24364 | /* Override any GCC internal prototype to avoid an error. |
24365 | Use char because int might match the return type of a GCC | ||
24366 | builtin and then its argument prototype would still apply. */ | ||
23280 | #ifdef __cplusplus | 24367 | #ifdef __cplusplus |
23281 | extern "C" | 24368 | extern "C" |
23282 | #endif | 24369 | #endif |
23283 | /* We use char because int might match the return type of a gcc2 | ||
23284 | builtin and then its argument prototype would still apply. */ | ||
23285 | char getrrsetbyname (); | 24370 | char getrrsetbyname (); |
23286 | int | 24371 | int |
23287 | main () | 24372 | main () |
23288 | { | 24373 | { |
23289 | getrrsetbyname (); | 24374 | return getrrsetbyname (); |
23290 | ; | 24375 | ; |
23291 | return 0; | 24376 | return 0; |
23292 | } | 24377 | } |
23293 | _ACEOF | 24378 | _ACEOF |
23294 | rm -f conftest.$ac_objext conftest$ac_exeext | 24379 | for ac_lib in '' resolv; do |
23295 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24380 | if test -z "$ac_lib"; then |
23296 | (eval $ac_link) 2>conftest.er1 | 24381 | ac_res="none required" |
24382 | else | ||
24383 | ac_res=-l$ac_lib | ||
24384 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
24385 | fi | ||
24386 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
24387 | if { (ac_try="$ac_link" | ||
24388 | case "(($ac_try" in | ||
24389 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24390 | *) ac_try_echo=$ac_try;; | ||
24391 | esac | ||
24392 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24393 | (eval "$ac_link") 2>conftest.er1 | ||
23297 | ac_status=$? | 24394 | ac_status=$? |
23298 | grep -v '^ *+' conftest.er1 >conftest.err | 24395 | grep -v '^ *+' conftest.er1 >conftest.err |
23299 | rm -f conftest.er1 | 24396 | rm -f conftest.er1 |
23300 | cat conftest.err >&5 | 24397 | cat conftest.err >&5 |
23301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23302 | (exit $ac_status); } && | 24399 | (exit $ac_status); } && { |
23303 | { ac_try='test -z "$ac_c_werror_flag" | 24400 | test -z "$ac_c_werror_flag" || |
23304 | || test ! -s conftest.err' | 24401 | test ! -s conftest.err |
23305 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24402 | } && test -s conftest$ac_exeext && |
23306 | (eval $ac_try) 2>&5 | 24403 | $as_test_x conftest$ac_exeext; then |
23307 | ac_status=$? | 24404 | ac_cv_search_getrrsetbyname=$ac_res |
23308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23309 | (exit $ac_status); }; } && | ||
23310 | { ac_try='test -s conftest$ac_exeext' | ||
23311 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23312 | (eval $ac_try) 2>&5 | ||
23313 | ac_status=$? | ||
23314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23315 | (exit $ac_status); }; }; then | ||
23316 | ac_cv_search_getrrsetbyname="none required" | ||
23317 | else | 24405 | else |
23318 | echo "$as_me: failed program was:" >&5 | 24406 | echo "$as_me: failed program was:" >&5 |
23319 | sed 's/^/| /' conftest.$ac_ext >&5 | 24407 | sed 's/^/| /' conftest.$ac_ext >&5 |
23320 | 24408 | ||
23321 | fi | ||
23322 | rm -f conftest.err conftest.$ac_objext \ | ||
23323 | conftest$ac_exeext conftest.$ac_ext | ||
23324 | if test "$ac_cv_search_getrrsetbyname" = no; then | ||
23325 | for ac_lib in resolv; do | ||
23326 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
23327 | cat >conftest.$ac_ext <<_ACEOF | ||
23328 | /* confdefs.h. */ | ||
23329 | _ACEOF | ||
23330 | cat confdefs.h >>conftest.$ac_ext | ||
23331 | cat >>conftest.$ac_ext <<_ACEOF | ||
23332 | /* end confdefs.h. */ | ||
23333 | 24409 | ||
23334 | /* Override any gcc2 internal prototype to avoid an error. */ | 24410 | fi |
23335 | #ifdef __cplusplus | ||
23336 | extern "C" | ||
23337 | #endif | ||
23338 | /* We use char because int might match the return type of a gcc2 | ||
23339 | builtin and then its argument prototype would still apply. */ | ||
23340 | char getrrsetbyname (); | ||
23341 | int | ||
23342 | main () | ||
23343 | { | ||
23344 | getrrsetbyname (); | ||
23345 | ; | ||
23346 | return 0; | ||
23347 | } | ||
23348 | _ACEOF | ||
23349 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23350 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23351 | (eval $ac_link) 2>conftest.er1 | ||
23352 | ac_status=$? | ||
23353 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23354 | rm -f conftest.er1 | ||
23355 | cat conftest.err >&5 | ||
23356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23357 | (exit $ac_status); } && | ||
23358 | { ac_try='test -z "$ac_c_werror_flag" | ||
23359 | || test ! -s conftest.err' | ||
23360 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23361 | (eval $ac_try) 2>&5 | ||
23362 | ac_status=$? | ||
23363 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23364 | (exit $ac_status); }; } && | ||
23365 | { ac_try='test -s conftest$ac_exeext' | ||
23366 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23367 | (eval $ac_try) 2>&5 | ||
23368 | ac_status=$? | ||
23369 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23370 | (exit $ac_status); }; }; then | ||
23371 | ac_cv_search_getrrsetbyname="-l$ac_lib" | ||
23372 | break | ||
23373 | else | ||
23374 | echo "$as_me: failed program was:" >&5 | ||
23375 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23376 | 24411 | ||
24412 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
24413 | conftest$ac_exeext | ||
24414 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then | ||
24415 | break | ||
23377 | fi | 24416 | fi |
23378 | rm -f conftest.err conftest.$ac_objext \ | 24417 | done |
23379 | conftest$ac_exeext conftest.$ac_ext | 24418 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then |
23380 | done | 24419 | : |
24420 | else | ||
24421 | ac_cv_search_getrrsetbyname=no | ||
23381 | fi | 24422 | fi |
24423 | rm conftest.$ac_ext | ||
23382 | LIBS=$ac_func_search_save_LIBS | 24424 | LIBS=$ac_func_search_save_LIBS |
23383 | fi | 24425 | fi |
23384 | echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5 | 24426 | { echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5 |
23385 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 | 24427 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6; } |
23386 | if test "$ac_cv_search_getrrsetbyname" != no; then | 24428 | ac_res=$ac_cv_search_getrrsetbyname |
23387 | test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" | 24429 | if test "$ac_res" != no; then |
24430 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
23388 | 24431 | ||
23389 | cat >>confdefs.h <<\_ACEOF | 24432 | cat >>confdefs.h <<\_ACEOF |
23390 | #define HAVE_GETRRSETBYNAME 1 | 24433 | #define HAVE_GETRRSETBYNAME 1 |
@@ -23393,13 +24436,12 @@ _ACEOF | |||
23393 | else | 24436 | else |
23394 | 24437 | ||
23395 | # Needed by our getrrsetbyname() | 24438 | # Needed by our getrrsetbyname() |
23396 | echo "$as_me:$LINENO: checking for library containing res_query" >&5 | 24439 | { echo "$as_me:$LINENO: checking for library containing res_query" >&5 |
23397 | echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6 | 24440 | echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6; } |
23398 | if test "${ac_cv_search_res_query+set}" = set; then | 24441 | if test "${ac_cv_search_res_query+set}" = set; then |
23399 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24442 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23400 | else | 24443 | else |
23401 | ac_func_search_save_LIBS=$LIBS | 24444 | ac_func_search_save_LIBS=$LIBS |
23402 | ac_cv_search_res_query=no | ||
23403 | cat >conftest.$ac_ext <<_ACEOF | 24445 | cat >conftest.$ac_ext <<_ACEOF |
23404 | /* confdefs.h. */ | 24446 | /* confdefs.h. */ |
23405 | _ACEOF | 24447 | _ACEOF |
@@ -23407,125 +24449,82 @@ cat confdefs.h >>conftest.$ac_ext | |||
23407 | cat >>conftest.$ac_ext <<_ACEOF | 24449 | cat >>conftest.$ac_ext <<_ACEOF |
23408 | /* end confdefs.h. */ | 24450 | /* end confdefs.h. */ |
23409 | 24451 | ||
23410 | /* Override any gcc2 internal prototype to avoid an error. */ | 24452 | /* Override any GCC internal prototype to avoid an error. |
24453 | Use char because int might match the return type of a GCC | ||
24454 | builtin and then its argument prototype would still apply. */ | ||
23411 | #ifdef __cplusplus | 24455 | #ifdef __cplusplus |
23412 | extern "C" | 24456 | extern "C" |
23413 | #endif | 24457 | #endif |
23414 | /* We use char because int might match the return type of a gcc2 | ||
23415 | builtin and then its argument prototype would still apply. */ | ||
23416 | char res_query (); | 24458 | char res_query (); |
23417 | int | 24459 | int |
23418 | main () | 24460 | main () |
23419 | { | 24461 | { |
23420 | res_query (); | 24462 | return res_query (); |
23421 | ; | 24463 | ; |
23422 | return 0; | 24464 | return 0; |
23423 | } | 24465 | } |
23424 | _ACEOF | 24466 | _ACEOF |
23425 | rm -f conftest.$ac_objext conftest$ac_exeext | 24467 | for ac_lib in '' resolv; do |
23426 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24468 | if test -z "$ac_lib"; then |
23427 | (eval $ac_link) 2>conftest.er1 | 24469 | ac_res="none required" |
24470 | else | ||
24471 | ac_res=-l$ac_lib | ||
24472 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
24473 | fi | ||
24474 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
24475 | if { (ac_try="$ac_link" | ||
24476 | case "(($ac_try" in | ||
24477 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24478 | *) ac_try_echo=$ac_try;; | ||
24479 | esac | ||
24480 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24481 | (eval "$ac_link") 2>conftest.er1 | ||
23428 | ac_status=$? | 24482 | ac_status=$? |
23429 | grep -v '^ *+' conftest.er1 >conftest.err | 24483 | grep -v '^ *+' conftest.er1 >conftest.err |
23430 | rm -f conftest.er1 | 24484 | rm -f conftest.er1 |
23431 | cat conftest.err >&5 | 24485 | cat conftest.err >&5 |
23432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23433 | (exit $ac_status); } && | 24487 | (exit $ac_status); } && { |
23434 | { ac_try='test -z "$ac_c_werror_flag" | 24488 | test -z "$ac_c_werror_flag" || |
23435 | || test ! -s conftest.err' | 24489 | test ! -s conftest.err |
23436 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24490 | } && test -s conftest$ac_exeext && |
23437 | (eval $ac_try) 2>&5 | 24491 | $as_test_x conftest$ac_exeext; then |
23438 | ac_status=$? | 24492 | ac_cv_search_res_query=$ac_res |
23439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23440 | (exit $ac_status); }; } && | ||
23441 | { ac_try='test -s conftest$ac_exeext' | ||
23442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23443 | (eval $ac_try) 2>&5 | ||
23444 | ac_status=$? | ||
23445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23446 | (exit $ac_status); }; }; then | ||
23447 | ac_cv_search_res_query="none required" | ||
23448 | else | 24493 | else |
23449 | echo "$as_me: failed program was:" >&5 | 24494 | echo "$as_me: failed program was:" >&5 |
23450 | sed 's/^/| /' conftest.$ac_ext >&5 | 24495 | sed 's/^/| /' conftest.$ac_ext >&5 |
23451 | 24496 | ||
23452 | fi | ||
23453 | rm -f conftest.err conftest.$ac_objext \ | ||
23454 | conftest$ac_exeext conftest.$ac_ext | ||
23455 | if test "$ac_cv_search_res_query" = no; then | ||
23456 | for ac_lib in resolv; do | ||
23457 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
23458 | cat >conftest.$ac_ext <<_ACEOF | ||
23459 | /* confdefs.h. */ | ||
23460 | _ACEOF | ||
23461 | cat confdefs.h >>conftest.$ac_ext | ||
23462 | cat >>conftest.$ac_ext <<_ACEOF | ||
23463 | /* end confdefs.h. */ | ||
23464 | 24497 | ||
23465 | /* Override any gcc2 internal prototype to avoid an error. */ | 24498 | fi |
23466 | #ifdef __cplusplus | ||
23467 | extern "C" | ||
23468 | #endif | ||
23469 | /* We use char because int might match the return type of a gcc2 | ||
23470 | builtin and then its argument prototype would still apply. */ | ||
23471 | char res_query (); | ||
23472 | int | ||
23473 | main () | ||
23474 | { | ||
23475 | res_query (); | ||
23476 | ; | ||
23477 | return 0; | ||
23478 | } | ||
23479 | _ACEOF | ||
23480 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23481 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23482 | (eval $ac_link) 2>conftest.er1 | ||
23483 | ac_status=$? | ||
23484 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23485 | rm -f conftest.er1 | ||
23486 | cat conftest.err >&5 | ||
23487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23488 | (exit $ac_status); } && | ||
23489 | { ac_try='test -z "$ac_c_werror_flag" | ||
23490 | || test ! -s conftest.err' | ||
23491 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23492 | (eval $ac_try) 2>&5 | ||
23493 | ac_status=$? | ||
23494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23495 | (exit $ac_status); }; } && | ||
23496 | { ac_try='test -s conftest$ac_exeext' | ||
23497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23498 | (eval $ac_try) 2>&5 | ||
23499 | ac_status=$? | ||
23500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23501 | (exit $ac_status); }; }; then | ||
23502 | ac_cv_search_res_query="-l$ac_lib" | ||
23503 | break | ||
23504 | else | ||
23505 | echo "$as_me: failed program was:" >&5 | ||
23506 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23507 | 24499 | ||
24500 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
24501 | conftest$ac_exeext | ||
24502 | if test "${ac_cv_search_res_query+set}" = set; then | ||
24503 | break | ||
23508 | fi | 24504 | fi |
23509 | rm -f conftest.err conftest.$ac_objext \ | 24505 | done |
23510 | conftest$ac_exeext conftest.$ac_ext | 24506 | if test "${ac_cv_search_res_query+set}" = set; then |
23511 | done | 24507 | : |
24508 | else | ||
24509 | ac_cv_search_res_query=no | ||
23512 | fi | 24510 | fi |
24511 | rm conftest.$ac_ext | ||
23513 | LIBS=$ac_func_search_save_LIBS | 24512 | LIBS=$ac_func_search_save_LIBS |
23514 | fi | 24513 | fi |
23515 | echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5 | 24514 | { echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5 |
23516 | echo "${ECHO_T}$ac_cv_search_res_query" >&6 | 24515 | echo "${ECHO_T}$ac_cv_search_res_query" >&6; } |
23517 | if test "$ac_cv_search_res_query" != no; then | 24516 | ac_res=$ac_cv_search_res_query |
23518 | test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS" | 24517 | if test "$ac_res" != no; then |
24518 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
23519 | 24519 | ||
23520 | fi | 24520 | fi |
23521 | 24521 | ||
23522 | echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 | 24522 | { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 |
23523 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 | 24523 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } |
23524 | if test "${ac_cv_search_dn_expand+set}" = set; then | 24524 | if test "${ac_cv_search_dn_expand+set}" = set; then |
23525 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24525 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23526 | else | 24526 | else |
23527 | ac_func_search_save_LIBS=$LIBS | 24527 | ac_func_search_save_LIBS=$LIBS |
23528 | ac_cv_search_dn_expand=no | ||
23529 | cat >conftest.$ac_ext <<_ACEOF | 24528 | cat >conftest.$ac_ext <<_ACEOF |
23530 | /* confdefs.h. */ | 24529 | /* confdefs.h. */ |
23531 | _ACEOF | 24530 | _ACEOF |
@@ -23533,120 +24532,78 @@ cat confdefs.h >>conftest.$ac_ext | |||
23533 | cat >>conftest.$ac_ext <<_ACEOF | 24532 | cat >>conftest.$ac_ext <<_ACEOF |
23534 | /* end confdefs.h. */ | 24533 | /* end confdefs.h. */ |
23535 | 24534 | ||
23536 | /* Override any gcc2 internal prototype to avoid an error. */ | 24535 | /* Override any GCC internal prototype to avoid an error. |
24536 | Use char because int might match the return type of a GCC | ||
24537 | builtin and then its argument prototype would still apply. */ | ||
23537 | #ifdef __cplusplus | 24538 | #ifdef __cplusplus |
23538 | extern "C" | 24539 | extern "C" |
23539 | #endif | 24540 | #endif |
23540 | /* We use char because int might match the return type of a gcc2 | ||
23541 | builtin and then its argument prototype would still apply. */ | ||
23542 | char dn_expand (); | 24541 | char dn_expand (); |
23543 | int | 24542 | int |
23544 | main () | 24543 | main () |
23545 | { | 24544 | { |
23546 | dn_expand (); | 24545 | return dn_expand (); |
23547 | ; | 24546 | ; |
23548 | return 0; | 24547 | return 0; |
23549 | } | 24548 | } |
23550 | _ACEOF | 24549 | _ACEOF |
23551 | rm -f conftest.$ac_objext conftest$ac_exeext | 24550 | for ac_lib in '' resolv; do |
23552 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24551 | if test -z "$ac_lib"; then |
23553 | (eval $ac_link) 2>conftest.er1 | 24552 | ac_res="none required" |
24553 | else | ||
24554 | ac_res=-l$ac_lib | ||
24555 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
24556 | fi | ||
24557 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
24558 | if { (ac_try="$ac_link" | ||
24559 | case "(($ac_try" in | ||
24560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24561 | *) ac_try_echo=$ac_try;; | ||
24562 | esac | ||
24563 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24564 | (eval "$ac_link") 2>conftest.er1 | ||
23554 | ac_status=$? | 24565 | ac_status=$? |
23555 | grep -v '^ *+' conftest.er1 >conftest.err | 24566 | grep -v '^ *+' conftest.er1 >conftest.err |
23556 | rm -f conftest.er1 | 24567 | rm -f conftest.er1 |
23557 | cat conftest.err >&5 | 24568 | cat conftest.err >&5 |
23558 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23559 | (exit $ac_status); } && | 24570 | (exit $ac_status); } && { |
23560 | { ac_try='test -z "$ac_c_werror_flag" | 24571 | test -z "$ac_c_werror_flag" || |
23561 | || test ! -s conftest.err' | 24572 | test ! -s conftest.err |
23562 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24573 | } && test -s conftest$ac_exeext && |
23563 | (eval $ac_try) 2>&5 | 24574 | $as_test_x conftest$ac_exeext; then |
23564 | ac_status=$? | 24575 | ac_cv_search_dn_expand=$ac_res |
23565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23566 | (exit $ac_status); }; } && | ||
23567 | { ac_try='test -s conftest$ac_exeext' | ||
23568 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23569 | (eval $ac_try) 2>&5 | ||
23570 | ac_status=$? | ||
23571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23572 | (exit $ac_status); }; }; then | ||
23573 | ac_cv_search_dn_expand="none required" | ||
23574 | else | 24576 | else |
23575 | echo "$as_me: failed program was:" >&5 | 24577 | echo "$as_me: failed program was:" >&5 |
23576 | sed 's/^/| /' conftest.$ac_ext >&5 | 24578 | sed 's/^/| /' conftest.$ac_ext >&5 |
23577 | 24579 | ||
23578 | fi | ||
23579 | rm -f conftest.err conftest.$ac_objext \ | ||
23580 | conftest$ac_exeext conftest.$ac_ext | ||
23581 | if test "$ac_cv_search_dn_expand" = no; then | ||
23582 | for ac_lib in resolv; do | ||
23583 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
23584 | cat >conftest.$ac_ext <<_ACEOF | ||
23585 | /* confdefs.h. */ | ||
23586 | _ACEOF | ||
23587 | cat confdefs.h >>conftest.$ac_ext | ||
23588 | cat >>conftest.$ac_ext <<_ACEOF | ||
23589 | /* end confdefs.h. */ | ||
23590 | 24580 | ||
23591 | /* Override any gcc2 internal prototype to avoid an error. */ | 24581 | fi |
23592 | #ifdef __cplusplus | ||
23593 | extern "C" | ||
23594 | #endif | ||
23595 | /* We use char because int might match the return type of a gcc2 | ||
23596 | builtin and then its argument prototype would still apply. */ | ||
23597 | char dn_expand (); | ||
23598 | int | ||
23599 | main () | ||
23600 | { | ||
23601 | dn_expand (); | ||
23602 | ; | ||
23603 | return 0; | ||
23604 | } | ||
23605 | _ACEOF | ||
23606 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23607 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23608 | (eval $ac_link) 2>conftest.er1 | ||
23609 | ac_status=$? | ||
23610 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23611 | rm -f conftest.er1 | ||
23612 | cat conftest.err >&5 | ||
23613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23614 | (exit $ac_status); } && | ||
23615 | { ac_try='test -z "$ac_c_werror_flag" | ||
23616 | || test ! -s conftest.err' | ||
23617 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23618 | (eval $ac_try) 2>&5 | ||
23619 | ac_status=$? | ||
23620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23621 | (exit $ac_status); }; } && | ||
23622 | { ac_try='test -s conftest$ac_exeext' | ||
23623 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23624 | (eval $ac_try) 2>&5 | ||
23625 | ac_status=$? | ||
23626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23627 | (exit $ac_status); }; }; then | ||
23628 | ac_cv_search_dn_expand="-l$ac_lib" | ||
23629 | break | ||
23630 | else | ||
23631 | echo "$as_me: failed program was:" >&5 | ||
23632 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23633 | 24582 | ||
24583 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
24584 | conftest$ac_exeext | ||
24585 | if test "${ac_cv_search_dn_expand+set}" = set; then | ||
24586 | break | ||
23634 | fi | 24587 | fi |
23635 | rm -f conftest.err conftest.$ac_objext \ | 24588 | done |
23636 | conftest$ac_exeext conftest.$ac_ext | 24589 | if test "${ac_cv_search_dn_expand+set}" = set; then |
23637 | done | 24590 | : |
24591 | else | ||
24592 | ac_cv_search_dn_expand=no | ||
23638 | fi | 24593 | fi |
24594 | rm conftest.$ac_ext | ||
23639 | LIBS=$ac_func_search_save_LIBS | 24595 | LIBS=$ac_func_search_save_LIBS |
23640 | fi | 24596 | fi |
23641 | echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 | 24597 | { echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 |
23642 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 | 24598 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } |
23643 | if test "$ac_cv_search_dn_expand" != no; then | 24599 | ac_res=$ac_cv_search_dn_expand |
23644 | test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" | 24600 | if test "$ac_res" != no; then |
24601 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
23645 | 24602 | ||
23646 | fi | 24603 | fi |
23647 | 24604 | ||
23648 | echo "$as_me:$LINENO: checking if res_query will link" >&5 | 24605 | { echo "$as_me:$LINENO: checking if res_query will link" >&5 |
23649 | echo $ECHO_N "checking if res_query will link... $ECHO_C" >&6 | 24606 | echo $ECHO_N "checking if res_query will link... $ECHO_C" >&6; } |
23650 | cat >conftest.$ac_ext <<_ACEOF | 24607 | cat >conftest.$ac_ext <<_ACEOF |
23651 | /* confdefs.h. */ | 24608 | /* confdefs.h. */ |
23652 | _ACEOF | 24609 | _ACEOF |
@@ -23654,55 +24611,51 @@ cat confdefs.h >>conftest.$ac_ext | |||
23654 | cat >>conftest.$ac_ext <<_ACEOF | 24611 | cat >>conftest.$ac_ext <<_ACEOF |
23655 | /* end confdefs.h. */ | 24612 | /* end confdefs.h. */ |
23656 | 24613 | ||
23657 | /* Override any gcc2 internal prototype to avoid an error. */ | 24614 | /* Override any GCC internal prototype to avoid an error. |
24615 | Use char because int might match the return type of a GCC | ||
24616 | builtin and then its argument prototype would still apply. */ | ||
23658 | #ifdef __cplusplus | 24617 | #ifdef __cplusplus |
23659 | extern "C" | 24618 | extern "C" |
23660 | #endif | 24619 | #endif |
23661 | /* We use char because int might match the return type of a gcc2 | ||
23662 | builtin and then its argument prototype would still apply. */ | ||
23663 | char res_query (); | 24620 | char res_query (); |
23664 | int | 24621 | int |
23665 | main () | 24622 | main () |
23666 | { | 24623 | { |
23667 | res_query (); | 24624 | return res_query (); |
23668 | ; | 24625 | ; |
23669 | return 0; | 24626 | return 0; |
23670 | } | 24627 | } |
23671 | _ACEOF | 24628 | _ACEOF |
23672 | rm -f conftest.$ac_objext conftest$ac_exeext | 24629 | rm -f conftest.$ac_objext conftest$ac_exeext |
23673 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24630 | if { (ac_try="$ac_link" |
23674 | (eval $ac_link) 2>conftest.er1 | 24631 | case "(($ac_try" in |
24632 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24633 | *) ac_try_echo=$ac_try;; | ||
24634 | esac | ||
24635 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24636 | (eval "$ac_link") 2>conftest.er1 | ||
23675 | ac_status=$? | 24637 | ac_status=$? |
23676 | grep -v '^ *+' conftest.er1 >conftest.err | 24638 | grep -v '^ *+' conftest.er1 >conftest.err |
23677 | rm -f conftest.er1 | 24639 | rm -f conftest.er1 |
23678 | cat conftest.err >&5 | 24640 | cat conftest.err >&5 |
23679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23680 | (exit $ac_status); } && | 24642 | (exit $ac_status); } && { |
23681 | { ac_try='test -z "$ac_c_werror_flag" | 24643 | test -z "$ac_c_werror_flag" || |
23682 | || test ! -s conftest.err' | 24644 | test ! -s conftest.err |
23683 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24645 | } && test -s conftest$ac_exeext && |
23684 | (eval $ac_try) 2>&5 | 24646 | $as_test_x conftest$ac_exeext; then |
23685 | ac_status=$? | 24647 | { echo "$as_me:$LINENO: result: yes" >&5 |
23686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24648 | echo "${ECHO_T}yes" >&6; } |
23687 | (exit $ac_status); }; } && | ||
23688 | { ac_try='test -s conftest$ac_exeext' | ||
23689 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23690 | (eval $ac_try) 2>&5 | ||
23691 | ac_status=$? | ||
23692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23693 | (exit $ac_status); }; }; then | ||
23694 | echo "$as_me:$LINENO: result: yes" >&5 | ||
23695 | echo "${ECHO_T}yes" >&6 | ||
23696 | else | 24649 | else |
23697 | echo "$as_me: failed program was:" >&5 | 24650 | echo "$as_me: failed program was:" >&5 |
23698 | sed 's/^/| /' conftest.$ac_ext >&5 | 24651 | sed 's/^/| /' conftest.$ac_ext >&5 |
23699 | 24652 | ||
23700 | echo "$as_me:$LINENO: result: no" >&5 | 24653 | { echo "$as_me:$LINENO: result: no" >&5 |
23701 | echo "${ECHO_T}no" >&6 | 24654 | echo "${ECHO_T}no" >&6; } |
23702 | saved_LIBS="$LIBS" | 24655 | saved_LIBS="$LIBS" |
23703 | LIBS="$LIBS -lresolv" | 24656 | LIBS="$LIBS -lresolv" |
23704 | echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 | 24657 | { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
23705 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6 | 24658 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } |
23706 | cat >conftest.$ac_ext <<_ACEOF | 24659 | cat >conftest.$ac_ext <<_ACEOF |
23707 | 24660 | ||
23708 | #include <resolv.h> | 24661 | #include <resolv.h> |
@@ -23714,52 +24667,50 @@ int main() | |||
23714 | 24667 | ||
23715 | _ACEOF | 24668 | _ACEOF |
23716 | rm -f conftest.$ac_objext conftest$ac_exeext | 24669 | rm -f conftest.$ac_objext conftest$ac_exeext |
23717 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24670 | if { (ac_try="$ac_link" |
23718 | (eval $ac_link) 2>conftest.er1 | 24671 | case "(($ac_try" in |
24672 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24673 | *) ac_try_echo=$ac_try;; | ||
24674 | esac | ||
24675 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24676 | (eval "$ac_link") 2>conftest.er1 | ||
23719 | ac_status=$? | 24677 | ac_status=$? |
23720 | grep -v '^ *+' conftest.er1 >conftest.err | 24678 | grep -v '^ *+' conftest.er1 >conftest.err |
23721 | rm -f conftest.er1 | 24679 | rm -f conftest.er1 |
23722 | cat conftest.err >&5 | 24680 | cat conftest.err >&5 |
23723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23724 | (exit $ac_status); } && | 24682 | (exit $ac_status); } && { |
23725 | { ac_try='test -z "$ac_c_werror_flag" | 24683 | test -z "$ac_c_werror_flag" || |
23726 | || test ! -s conftest.err' | 24684 | test ! -s conftest.err |
23727 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24685 | } && test -s conftest$ac_exeext && |
23728 | (eval $ac_try) 2>&5 | 24686 | $as_test_x conftest$ac_exeext; then |
23729 | ac_status=$? | ||
23730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23731 | (exit $ac_status); }; } && | ||
23732 | { ac_try='test -s conftest$ac_exeext' | ||
23733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23734 | (eval $ac_try) 2>&5 | ||
23735 | ac_status=$? | ||
23736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23737 | (exit $ac_status); }; }; then | ||
23738 | LIBS="$LIBS -lresolv" | 24687 | LIBS="$LIBS -lresolv" |
23739 | echo "$as_me:$LINENO: result: yes" >&5 | 24688 | { echo "$as_me:$LINENO: result: yes" >&5 |
23740 | echo "${ECHO_T}yes" >&6 | 24689 | echo "${ECHO_T}yes" >&6; } |
23741 | else | 24690 | else |
23742 | echo "$as_me: failed program was:" >&5 | 24691 | echo "$as_me: failed program was:" >&5 |
23743 | sed 's/^/| /' conftest.$ac_ext >&5 | 24692 | sed 's/^/| /' conftest.$ac_ext >&5 |
23744 | 24693 | ||
23745 | LIBS="$saved_LIBS" | 24694 | LIBS="$saved_LIBS" |
23746 | echo "$as_me:$LINENO: result: no" >&5 | 24695 | { echo "$as_me:$LINENO: result: no" >&5 |
23747 | echo "${ECHO_T}no" >&6 | 24696 | echo "${ECHO_T}no" >&6; } |
23748 | fi | 24697 | fi |
23749 | rm -f conftest.err conftest.$ac_objext \ | 24698 | |
24699 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23750 | conftest$ac_exeext conftest.$ac_ext | 24700 | conftest$ac_exeext conftest.$ac_ext |
23751 | 24701 | ||
23752 | fi | 24702 | fi |
23753 | rm -f conftest.err conftest.$ac_objext \ | 24703 | |
24704 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23754 | conftest$ac_exeext conftest.$ac_ext | 24705 | conftest$ac_exeext conftest.$ac_ext |
23755 | 24706 | ||
23756 | 24707 | ||
23757 | for ac_func in _getshort _getlong | 24708 | for ac_func in _getshort _getlong |
23758 | do | 24709 | do |
23759 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 24710 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23760 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 24711 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
23761 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 24712 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
23762 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 24713 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
23763 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24714 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23764 | else | 24715 | else |
23765 | cat >conftest.$ac_ext <<_ACEOF | 24716 | cat >conftest.$ac_ext <<_ACEOF |
@@ -23785,68 +24736,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
23785 | 24736 | ||
23786 | #undef $ac_func | 24737 | #undef $ac_func |
23787 | 24738 | ||
23788 | /* Override any gcc2 internal prototype to avoid an error. */ | 24739 | /* Override any GCC internal prototype to avoid an error. |
24740 | Use char because int might match the return type of a GCC | ||
24741 | builtin and then its argument prototype would still apply. */ | ||
23789 | #ifdef __cplusplus | 24742 | #ifdef __cplusplus |
23790 | extern "C" | 24743 | extern "C" |
23791 | { | ||
23792 | #endif | 24744 | #endif |
23793 | /* We use char because int might match the return type of a gcc2 | ||
23794 | builtin and then its argument prototype would still apply. */ | ||
23795 | char $ac_func (); | 24745 | char $ac_func (); |
23796 | /* The GNU C library defines this for functions which it implements | 24746 | /* The GNU C library defines this for functions which it implements |
23797 | to always fail with ENOSYS. Some functions are actually named | 24747 | to always fail with ENOSYS. Some functions are actually named |
23798 | something starting with __ and the normal name is an alias. */ | 24748 | something starting with __ and the normal name is an alias. */ |
23799 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 24749 | #if defined __stub_$ac_func || defined __stub___$ac_func |
23800 | choke me | 24750 | choke me |
23801 | #else | ||
23802 | char (*f) () = $ac_func; | ||
23803 | #endif | ||
23804 | #ifdef __cplusplus | ||
23805 | } | ||
23806 | #endif | 24751 | #endif |
23807 | 24752 | ||
23808 | int | 24753 | int |
23809 | main () | 24754 | main () |
23810 | { | 24755 | { |
23811 | return f != $ac_func; | 24756 | return $ac_func (); |
23812 | ; | 24757 | ; |
23813 | return 0; | 24758 | return 0; |
23814 | } | 24759 | } |
23815 | _ACEOF | 24760 | _ACEOF |
23816 | rm -f conftest.$ac_objext conftest$ac_exeext | 24761 | rm -f conftest.$ac_objext conftest$ac_exeext |
23817 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24762 | if { (ac_try="$ac_link" |
23818 | (eval $ac_link) 2>conftest.er1 | 24763 | case "(($ac_try" in |
24764 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24765 | *) ac_try_echo=$ac_try;; | ||
24766 | esac | ||
24767 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24768 | (eval "$ac_link") 2>conftest.er1 | ||
23819 | ac_status=$? | 24769 | ac_status=$? |
23820 | grep -v '^ *+' conftest.er1 >conftest.err | 24770 | grep -v '^ *+' conftest.er1 >conftest.err |
23821 | rm -f conftest.er1 | 24771 | rm -f conftest.er1 |
23822 | cat conftest.err >&5 | 24772 | cat conftest.err >&5 |
23823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23824 | (exit $ac_status); } && | 24774 | (exit $ac_status); } && { |
23825 | { ac_try='test -z "$ac_c_werror_flag" | 24775 | test -z "$ac_c_werror_flag" || |
23826 | || test ! -s conftest.err' | 24776 | test ! -s conftest.err |
23827 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24777 | } && test -s conftest$ac_exeext && |
23828 | (eval $ac_try) 2>&5 | 24778 | $as_test_x conftest$ac_exeext; then |
23829 | ac_status=$? | ||
23830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23831 | (exit $ac_status); }; } && | ||
23832 | { ac_try='test -s conftest$ac_exeext' | ||
23833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23834 | (eval $ac_try) 2>&5 | ||
23835 | ac_status=$? | ||
23836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23837 | (exit $ac_status); }; }; then | ||
23838 | eval "$as_ac_var=yes" | 24779 | eval "$as_ac_var=yes" |
23839 | else | 24780 | else |
23840 | echo "$as_me: failed program was:" >&5 | 24781 | echo "$as_me: failed program was:" >&5 |
23841 | sed 's/^/| /' conftest.$ac_ext >&5 | 24782 | sed 's/^/| /' conftest.$ac_ext >&5 |
23842 | 24783 | ||
23843 | eval "$as_ac_var=no" | 24784 | eval "$as_ac_var=no" |
23844 | fi | 24785 | fi |
23845 | rm -f conftest.err conftest.$ac_objext \ | 24786 | |
24787 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23846 | conftest$ac_exeext conftest.$ac_ext | 24788 | conftest$ac_exeext conftest.$ac_ext |
23847 | fi | 24789 | fi |
23848 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 24790 | ac_res=`eval echo '${'$as_ac_var'}'` |
23849 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 24791 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
24792 | echo "${ECHO_T}$ac_res" >&6; } | ||
23850 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 24793 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
23851 | cat >>confdefs.h <<_ACEOF | 24794 | cat >>confdefs.h <<_ACEOF |
23852 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 24795 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
@@ -23855,8 +24798,8 @@ _ACEOF | |||
23855 | fi | 24798 | fi |
23856 | done | 24799 | done |
23857 | 24800 | ||
23858 | echo "$as_me:$LINENO: checking whether _getshort is declared" >&5 | 24801 | { echo "$as_me:$LINENO: checking whether _getshort is declared" >&5 |
23859 | echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6 | 24802 | echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6; } |
23860 | if test "${ac_cv_have_decl__getshort+set}" = set; then | 24803 | if test "${ac_cv_have_decl__getshort+set}" = set; then |
23861 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24804 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23862 | else | 24805 | else |
@@ -23873,7 +24816,7 @@ int | |||
23873 | main () | 24816 | main () |
23874 | { | 24817 | { |
23875 | #ifndef _getshort | 24818 | #ifndef _getshort |
23876 | char *p = (char *) _getshort; | 24819 | (void) _getshort; |
23877 | #endif | 24820 | #endif |
23878 | 24821 | ||
23879 | ; | 24822 | ; |
@@ -23881,38 +24824,34 @@ main () | |||
23881 | } | 24824 | } |
23882 | _ACEOF | 24825 | _ACEOF |
23883 | rm -f conftest.$ac_objext | 24826 | rm -f conftest.$ac_objext |
23884 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24827 | if { (ac_try="$ac_compile" |
23885 | (eval $ac_compile) 2>conftest.er1 | 24828 | case "(($ac_try" in |
24829 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24830 | *) ac_try_echo=$ac_try;; | ||
24831 | esac | ||
24832 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24833 | (eval "$ac_compile") 2>conftest.er1 | ||
23886 | ac_status=$? | 24834 | ac_status=$? |
23887 | grep -v '^ *+' conftest.er1 >conftest.err | 24835 | grep -v '^ *+' conftest.er1 >conftest.err |
23888 | rm -f conftest.er1 | 24836 | rm -f conftest.er1 |
23889 | cat conftest.err >&5 | 24837 | cat conftest.err >&5 |
23890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23891 | (exit $ac_status); } && | 24839 | (exit $ac_status); } && { |
23892 | { ac_try='test -z "$ac_c_werror_flag" | 24840 | test -z "$ac_c_werror_flag" || |
23893 | || test ! -s conftest.err' | 24841 | test ! -s conftest.err |
23894 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24842 | } && test -s conftest.$ac_objext; then |
23895 | (eval $ac_try) 2>&5 | ||
23896 | ac_status=$? | ||
23897 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23898 | (exit $ac_status); }; } && | ||
23899 | { ac_try='test -s conftest.$ac_objext' | ||
23900 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23901 | (eval $ac_try) 2>&5 | ||
23902 | ac_status=$? | ||
23903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23904 | (exit $ac_status); }; }; then | ||
23905 | ac_cv_have_decl__getshort=yes | 24843 | ac_cv_have_decl__getshort=yes |
23906 | else | 24844 | else |
23907 | echo "$as_me: failed program was:" >&5 | 24845 | echo "$as_me: failed program was:" >&5 |
23908 | sed 's/^/| /' conftest.$ac_ext >&5 | 24846 | sed 's/^/| /' conftest.$ac_ext >&5 |
23909 | 24847 | ||
23910 | ac_cv_have_decl__getshort=no | 24848 | ac_cv_have_decl__getshort=no |
23911 | fi | 24849 | fi |
23912 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24850 | |
24851 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
23913 | fi | 24852 | fi |
23914 | echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5 | 24853 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5 |
23915 | echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6 | 24854 | echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6; } |
23916 | if test $ac_cv_have_decl__getshort = yes; then | 24855 | if test $ac_cv_have_decl__getshort = yes; then |
23917 | 24856 | ||
23918 | cat >>confdefs.h <<_ACEOF | 24857 | cat >>confdefs.h <<_ACEOF |
@@ -23927,8 +24866,8 @@ _ACEOF | |||
23927 | 24866 | ||
23928 | 24867 | ||
23929 | fi | 24868 | fi |
23930 | echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 | 24869 | { echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 |
23931 | echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6 | 24870 | echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6; } |
23932 | if test "${ac_cv_have_decl__getlong+set}" = set; then | 24871 | if test "${ac_cv_have_decl__getlong+set}" = set; then |
23933 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24872 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23934 | else | 24873 | else |
@@ -23945,7 +24884,7 @@ int | |||
23945 | main () | 24884 | main () |
23946 | { | 24885 | { |
23947 | #ifndef _getlong | 24886 | #ifndef _getlong |
23948 | char *p = (char *) _getlong; | 24887 | (void) _getlong; |
23949 | #endif | 24888 | #endif |
23950 | 24889 | ||
23951 | ; | 24890 | ; |
@@ -23953,38 +24892,34 @@ main () | |||
23953 | } | 24892 | } |
23954 | _ACEOF | 24893 | _ACEOF |
23955 | rm -f conftest.$ac_objext | 24894 | rm -f conftest.$ac_objext |
23956 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24895 | if { (ac_try="$ac_compile" |
23957 | (eval $ac_compile) 2>conftest.er1 | 24896 | case "(($ac_try" in |
24897 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24898 | *) ac_try_echo=$ac_try;; | ||
24899 | esac | ||
24900 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24901 | (eval "$ac_compile") 2>conftest.er1 | ||
23958 | ac_status=$? | 24902 | ac_status=$? |
23959 | grep -v '^ *+' conftest.er1 >conftest.err | 24903 | grep -v '^ *+' conftest.er1 >conftest.err |
23960 | rm -f conftest.er1 | 24904 | rm -f conftest.er1 |
23961 | cat conftest.err >&5 | 24905 | cat conftest.err >&5 |
23962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23963 | (exit $ac_status); } && | 24907 | (exit $ac_status); } && { |
23964 | { ac_try='test -z "$ac_c_werror_flag" | 24908 | test -z "$ac_c_werror_flag" || |
23965 | || test ! -s conftest.err' | 24909 | test ! -s conftest.err |
23966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24910 | } && test -s conftest.$ac_objext; then |
23967 | (eval $ac_try) 2>&5 | ||
23968 | ac_status=$? | ||
23969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23970 | (exit $ac_status); }; } && | ||
23971 | { ac_try='test -s conftest.$ac_objext' | ||
23972 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23973 | (eval $ac_try) 2>&5 | ||
23974 | ac_status=$? | ||
23975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23976 | (exit $ac_status); }; }; then | ||
23977 | ac_cv_have_decl__getlong=yes | 24911 | ac_cv_have_decl__getlong=yes |
23978 | else | 24912 | else |
23979 | echo "$as_me: failed program was:" >&5 | 24913 | echo "$as_me: failed program was:" >&5 |
23980 | sed 's/^/| /' conftest.$ac_ext >&5 | 24914 | sed 's/^/| /' conftest.$ac_ext >&5 |
23981 | 24915 | ||
23982 | ac_cv_have_decl__getlong=no | 24916 | ac_cv_have_decl__getlong=no |
23983 | fi | 24917 | fi |
23984 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24918 | |
24919 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
23985 | fi | 24920 | fi |
23986 | echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5 | 24921 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5 |
23987 | echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6 | 24922 | echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6; } |
23988 | if test $ac_cv_have_decl__getlong = yes; then | 24923 | if test $ac_cv_have_decl__getlong = yes; then |
23989 | 24924 | ||
23990 | cat >>confdefs.h <<_ACEOF | 24925 | cat >>confdefs.h <<_ACEOF |
@@ -24001,8 +24936,8 @@ _ACEOF | |||
24001 | fi | 24936 | fi |
24002 | 24937 | ||
24003 | 24938 | ||
24004 | echo "$as_me:$LINENO: checking for HEADER.ad" >&5 | 24939 | { echo "$as_me:$LINENO: checking for HEADER.ad" >&5 |
24005 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 | 24940 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6; } |
24006 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | 24941 | if test "${ac_cv_member_HEADER_ad+set}" = set; then |
24007 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 24942 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24008 | else | 24943 | else |
@@ -24025,33 +24960,28 @@ return 0; | |||
24025 | } | 24960 | } |
24026 | _ACEOF | 24961 | _ACEOF |
24027 | rm -f conftest.$ac_objext | 24962 | rm -f conftest.$ac_objext |
24028 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24963 | if { (ac_try="$ac_compile" |
24029 | (eval $ac_compile) 2>conftest.er1 | 24964 | case "(($ac_try" in |
24965 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24966 | *) ac_try_echo=$ac_try;; | ||
24967 | esac | ||
24968 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24969 | (eval "$ac_compile") 2>conftest.er1 | ||
24030 | ac_status=$? | 24970 | ac_status=$? |
24031 | grep -v '^ *+' conftest.er1 >conftest.err | 24971 | grep -v '^ *+' conftest.er1 >conftest.err |
24032 | rm -f conftest.er1 | 24972 | rm -f conftest.er1 |
24033 | cat conftest.err >&5 | 24973 | cat conftest.err >&5 |
24034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24035 | (exit $ac_status); } && | 24975 | (exit $ac_status); } && { |
24036 | { ac_try='test -z "$ac_c_werror_flag" | 24976 | test -z "$ac_c_werror_flag" || |
24037 | || test ! -s conftest.err' | 24977 | test ! -s conftest.err |
24038 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24978 | } && test -s conftest.$ac_objext; then |
24039 | (eval $ac_try) 2>&5 | ||
24040 | ac_status=$? | ||
24041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24042 | (exit $ac_status); }; } && | ||
24043 | { ac_try='test -s conftest.$ac_objext' | ||
24044 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24045 | (eval $ac_try) 2>&5 | ||
24046 | ac_status=$? | ||
24047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24048 | (exit $ac_status); }; }; then | ||
24049 | ac_cv_member_HEADER_ad=yes | 24979 | ac_cv_member_HEADER_ad=yes |
24050 | else | 24980 | else |
24051 | echo "$as_me: failed program was:" >&5 | 24981 | echo "$as_me: failed program was:" >&5 |
24052 | sed 's/^/| /' conftest.$ac_ext >&5 | 24982 | sed 's/^/| /' conftest.$ac_ext >&5 |
24053 | 24983 | ||
24054 | cat >conftest.$ac_ext <<_ACEOF | 24984 | cat >conftest.$ac_ext <<_ACEOF |
24055 | /* confdefs.h. */ | 24985 | /* confdefs.h. */ |
24056 | _ACEOF | 24986 | _ACEOF |
24057 | cat confdefs.h >>conftest.$ac_ext | 24987 | cat confdefs.h >>conftest.$ac_ext |
@@ -24070,40 +25000,37 @@ return 0; | |||
24070 | } | 25000 | } |
24071 | _ACEOF | 25001 | _ACEOF |
24072 | rm -f conftest.$ac_objext | 25002 | rm -f conftest.$ac_objext |
24073 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25003 | if { (ac_try="$ac_compile" |
24074 | (eval $ac_compile) 2>conftest.er1 | 25004 | case "(($ac_try" in |
25005 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25006 | *) ac_try_echo=$ac_try;; | ||
25007 | esac | ||
25008 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25009 | (eval "$ac_compile") 2>conftest.er1 | ||
24075 | ac_status=$? | 25010 | ac_status=$? |
24076 | grep -v '^ *+' conftest.er1 >conftest.err | 25011 | grep -v '^ *+' conftest.er1 >conftest.err |
24077 | rm -f conftest.er1 | 25012 | rm -f conftest.er1 |
24078 | cat conftest.err >&5 | 25013 | cat conftest.err >&5 |
24079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24080 | (exit $ac_status); } && | 25015 | (exit $ac_status); } && { |
24081 | { ac_try='test -z "$ac_c_werror_flag" | 25016 | test -z "$ac_c_werror_flag" || |
24082 | || test ! -s conftest.err' | 25017 | test ! -s conftest.err |
24083 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25018 | } && test -s conftest.$ac_objext; then |
24084 | (eval $ac_try) 2>&5 | ||
24085 | ac_status=$? | ||
24086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24087 | (exit $ac_status); }; } && | ||
24088 | { ac_try='test -s conftest.$ac_objext' | ||
24089 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24090 | (eval $ac_try) 2>&5 | ||
24091 | ac_status=$? | ||
24092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24093 | (exit $ac_status); }; }; then | ||
24094 | ac_cv_member_HEADER_ad=yes | 25019 | ac_cv_member_HEADER_ad=yes |
24095 | else | 25020 | else |
24096 | echo "$as_me: failed program was:" >&5 | 25021 | echo "$as_me: failed program was:" >&5 |
24097 | sed 's/^/| /' conftest.$ac_ext >&5 | 25022 | sed 's/^/| /' conftest.$ac_ext >&5 |
24098 | 25023 | ||
24099 | ac_cv_member_HEADER_ad=no | 25024 | ac_cv_member_HEADER_ad=no |
24100 | fi | 25025 | fi |
24101 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25026 | |
25027 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24102 | fi | 25028 | fi |
24103 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25029 | |
25030 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24104 | fi | 25031 | fi |
24105 | echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 | 25032 | { echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 |
24106 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 | 25033 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6; } |
24107 | if test $ac_cv_member_HEADER_ad = yes; then | 25034 | if test $ac_cv_member_HEADER_ad = yes; then |
24108 | 25035 | ||
24109 | cat >>confdefs.h <<\_ACEOF | 25036 | cat >>confdefs.h <<\_ACEOF |
@@ -24116,13 +25043,337 @@ fi | |||
24116 | fi | 25043 | fi |
24117 | 25044 | ||
24118 | 25045 | ||
25046 | # Check whether user wants SELinux support | ||
25047 | SELINUX_MSG="no" | ||
25048 | LIBSELINUX="" | ||
25049 | |||
25050 | # Check whether --with-selinux was given. | ||
25051 | if test "${with_selinux+set}" = set; then | ||
25052 | withval=$with_selinux; if test "x$withval" != "xno" ; then | ||
25053 | |||
25054 | cat >>confdefs.h <<\_ACEOF | ||
25055 | #define WITH_SELINUX 1 | ||
25056 | _ACEOF | ||
25057 | |||
25058 | SELINUX_MSG="yes" | ||
25059 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | ||
25060 | { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 | ||
25061 | echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } | ||
25062 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | ||
25063 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25064 | fi | ||
25065 | { echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 | ||
25066 | echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } | ||
25067 | else | ||
25068 | # Is the header compilable? | ||
25069 | { echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5 | ||
25070 | echo $ECHO_N "checking selinux/selinux.h usability... $ECHO_C" >&6; } | ||
25071 | cat >conftest.$ac_ext <<_ACEOF | ||
25072 | /* confdefs.h. */ | ||
25073 | _ACEOF | ||
25074 | cat confdefs.h >>conftest.$ac_ext | ||
25075 | cat >>conftest.$ac_ext <<_ACEOF | ||
25076 | /* end confdefs.h. */ | ||
25077 | $ac_includes_default | ||
25078 | #include <selinux/selinux.h> | ||
25079 | _ACEOF | ||
25080 | rm -f conftest.$ac_objext | ||
25081 | if { (ac_try="$ac_compile" | ||
25082 | case "(($ac_try" in | ||
25083 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25084 | *) ac_try_echo=$ac_try;; | ||
25085 | esac | ||
25086 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25087 | (eval "$ac_compile") 2>conftest.er1 | ||
25088 | ac_status=$? | ||
25089 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25090 | rm -f conftest.er1 | ||
25091 | cat conftest.err >&5 | ||
25092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25093 | (exit $ac_status); } && { | ||
25094 | test -z "$ac_c_werror_flag" || | ||
25095 | test ! -s conftest.err | ||
25096 | } && test -s conftest.$ac_objext; then | ||
25097 | ac_header_compiler=yes | ||
25098 | else | ||
25099 | echo "$as_me: failed program was:" >&5 | ||
25100 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25101 | |||
25102 | ac_header_compiler=no | ||
25103 | fi | ||
25104 | |||
25105 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25106 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
25107 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
25108 | |||
25109 | # Is the header present? | ||
25110 | { echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5 | ||
25111 | echo $ECHO_N "checking selinux/selinux.h presence... $ECHO_C" >&6; } | ||
25112 | cat >conftest.$ac_ext <<_ACEOF | ||
25113 | /* confdefs.h. */ | ||
25114 | _ACEOF | ||
25115 | cat confdefs.h >>conftest.$ac_ext | ||
25116 | cat >>conftest.$ac_ext <<_ACEOF | ||
25117 | /* end confdefs.h. */ | ||
25118 | #include <selinux/selinux.h> | ||
25119 | _ACEOF | ||
25120 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
25121 | case "(($ac_try" in | ||
25122 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25123 | *) ac_try_echo=$ac_try;; | ||
25124 | esac | ||
25125 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25126 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
25127 | ac_status=$? | ||
25128 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25129 | rm -f conftest.er1 | ||
25130 | cat conftest.err >&5 | ||
25131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25132 | (exit $ac_status); } >/dev/null && { | ||
25133 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
25134 | test ! -s conftest.err | ||
25135 | }; then | ||
25136 | ac_header_preproc=yes | ||
25137 | else | ||
25138 | echo "$as_me: failed program was:" >&5 | ||
25139 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25140 | |||
25141 | ac_header_preproc=no | ||
25142 | fi | ||
25143 | |||
25144 | rm -f conftest.err conftest.$ac_ext | ||
25145 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
25146 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
25147 | |||
25148 | # So? What about this header? | ||
25149 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
25150 | yes:no: ) | ||
25151 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
25152 | echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
25153 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5 | ||
25154 | echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;} | ||
25155 | ac_header_preproc=yes | ||
25156 | ;; | ||
25157 | no:yes:* ) | ||
25158 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5 | ||
25159 | echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;} | ||
25160 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5 | ||
25161 | echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;} | ||
25162 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5 | ||
25163 | echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;} | ||
25164 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
25165 | echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
25166 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5 | ||
25167 | echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;} | ||
25168 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5 | ||
25169 | echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;} | ||
25170 | ( cat <<\_ASBOX | ||
25171 | ## ------------------------------------------- ## | ||
25172 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
25173 | ## ------------------------------------------- ## | ||
25174 | _ASBOX | ||
25175 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
25176 | ;; | ||
25177 | esac | ||
25178 | { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 | ||
25179 | echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } | ||
25180 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | ||
25181 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25182 | else | ||
25183 | ac_cv_header_selinux_selinux_h=$ac_header_preproc | ||
25184 | fi | ||
25185 | { echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 | ||
25186 | echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } | ||
25187 | |||
25188 | fi | ||
25189 | if test $ac_cv_header_selinux_selinux_h = yes; then | ||
25190 | : | ||
25191 | else | ||
25192 | { { echo "$as_me:$LINENO: error: SELinux support requires selinux.h header" >&5 | ||
25193 | echo "$as_me: error: SELinux support requires selinux.h header" >&2;} | ||
25194 | { (exit 1); exit 1; }; } | ||
25195 | fi | ||
25196 | |||
25197 | |||
25198 | { echo "$as_me:$LINENO: checking for setexeccon in -lselinux" >&5 | ||
25199 | echo $ECHO_N "checking for setexeccon in -lselinux... $ECHO_C" >&6; } | ||
25200 | if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then | ||
25201 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25202 | else | ||
25203 | ac_check_lib_save_LIBS=$LIBS | ||
25204 | LIBS="-lselinux $LIBS" | ||
25205 | cat >conftest.$ac_ext <<_ACEOF | ||
25206 | /* confdefs.h. */ | ||
25207 | _ACEOF | ||
25208 | cat confdefs.h >>conftest.$ac_ext | ||
25209 | cat >>conftest.$ac_ext <<_ACEOF | ||
25210 | /* end confdefs.h. */ | ||
25211 | |||
25212 | /* Override any GCC internal prototype to avoid an error. | ||
25213 | Use char because int might match the return type of a GCC | ||
25214 | builtin and then its argument prototype would still apply. */ | ||
25215 | #ifdef __cplusplus | ||
25216 | extern "C" | ||
25217 | #endif | ||
25218 | char setexeccon (); | ||
25219 | int | ||
25220 | main () | ||
25221 | { | ||
25222 | return setexeccon (); | ||
25223 | ; | ||
25224 | return 0; | ||
25225 | } | ||
25226 | _ACEOF | ||
25227 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
25228 | if { (ac_try="$ac_link" | ||
25229 | case "(($ac_try" in | ||
25230 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25231 | *) ac_try_echo=$ac_try;; | ||
25232 | esac | ||
25233 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25234 | (eval "$ac_link") 2>conftest.er1 | ||
25235 | ac_status=$? | ||
25236 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25237 | rm -f conftest.er1 | ||
25238 | cat conftest.err >&5 | ||
25239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25240 | (exit $ac_status); } && { | ||
25241 | test -z "$ac_c_werror_flag" || | ||
25242 | test ! -s conftest.err | ||
25243 | } && test -s conftest$ac_exeext && | ||
25244 | $as_test_x conftest$ac_exeext; then | ||
25245 | ac_cv_lib_selinux_setexeccon=yes | ||
25246 | else | ||
25247 | echo "$as_me: failed program was:" >&5 | ||
25248 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25249 | |||
25250 | ac_cv_lib_selinux_setexeccon=no | ||
25251 | fi | ||
25252 | |||
25253 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
25254 | conftest$ac_exeext conftest.$ac_ext | ||
25255 | LIBS=$ac_check_lib_save_LIBS | ||
25256 | fi | ||
25257 | { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_setexeccon" >&5 | ||
25258 | echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } | ||
25259 | if test $ac_cv_lib_selinux_setexeccon = yes; then | ||
25260 | LIBSELINUX="-lselinux" | ||
25261 | else | ||
25262 | { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5 | ||
25263 | echo "$as_me: error: SELinux support requires libselinux library" >&2;} | ||
25264 | { (exit 1); exit 1; }; } | ||
25265 | fi | ||
25266 | |||
25267 | save_LIBS="$LIBS" | ||
25268 | LIBS="$LIBS $LIBSELINUX" | ||
25269 | |||
25270 | |||
25271 | for ac_func in getseuserbyname get_default_context_with_level | ||
25272 | do | ||
25273 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
25274 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
25275 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
25276 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
25277 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25278 | else | ||
25279 | cat >conftest.$ac_ext <<_ACEOF | ||
25280 | /* confdefs.h. */ | ||
25281 | _ACEOF | ||
25282 | cat confdefs.h >>conftest.$ac_ext | ||
25283 | cat >>conftest.$ac_ext <<_ACEOF | ||
25284 | /* end confdefs.h. */ | ||
25285 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
25286 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
25287 | #define $ac_func innocuous_$ac_func | ||
25288 | |||
25289 | /* System header to define __stub macros and hopefully few prototypes, | ||
25290 | which can conflict with char $ac_func (); below. | ||
25291 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
25292 | <limits.h> exists even on freestanding compilers. */ | ||
25293 | |||
25294 | #ifdef __STDC__ | ||
25295 | # include <limits.h> | ||
25296 | #else | ||
25297 | # include <assert.h> | ||
25298 | #endif | ||
25299 | |||
25300 | #undef $ac_func | ||
25301 | |||
25302 | /* Override any GCC internal prototype to avoid an error. | ||
25303 | Use char because int might match the return type of a GCC | ||
25304 | builtin and then its argument prototype would still apply. */ | ||
25305 | #ifdef __cplusplus | ||
25306 | extern "C" | ||
25307 | #endif | ||
25308 | char $ac_func (); | ||
25309 | /* The GNU C library defines this for functions which it implements | ||
25310 | to always fail with ENOSYS. Some functions are actually named | ||
25311 | something starting with __ and the normal name is an alias. */ | ||
25312 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
25313 | choke me | ||
25314 | #endif | ||
25315 | |||
25316 | int | ||
25317 | main () | ||
25318 | { | ||
25319 | return $ac_func (); | ||
25320 | ; | ||
25321 | return 0; | ||
25322 | } | ||
25323 | _ACEOF | ||
25324 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
25325 | if { (ac_try="$ac_link" | ||
25326 | case "(($ac_try" in | ||
25327 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25328 | *) ac_try_echo=$ac_try;; | ||
25329 | esac | ||
25330 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25331 | (eval "$ac_link") 2>conftest.er1 | ||
25332 | ac_status=$? | ||
25333 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25334 | rm -f conftest.er1 | ||
25335 | cat conftest.err >&5 | ||
25336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25337 | (exit $ac_status); } && { | ||
25338 | test -z "$ac_c_werror_flag" || | ||
25339 | test ! -s conftest.err | ||
25340 | } && test -s conftest$ac_exeext && | ||
25341 | $as_test_x conftest$ac_exeext; then | ||
25342 | eval "$as_ac_var=yes" | ||
25343 | else | ||
25344 | echo "$as_me: failed program was:" >&5 | ||
25345 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25346 | |||
25347 | eval "$as_ac_var=no" | ||
25348 | fi | ||
25349 | |||
25350 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
25351 | conftest$ac_exeext conftest.$ac_ext | ||
25352 | fi | ||
25353 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
25354 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
25355 | echo "${ECHO_T}$ac_res" >&6; } | ||
25356 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
25357 | cat >>confdefs.h <<_ACEOF | ||
25358 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
25359 | _ACEOF | ||
25360 | |||
25361 | fi | ||
25362 | done | ||
25363 | |||
25364 | LIBS="$save_LIBS" | ||
25365 | fi | ||
25366 | |||
25367 | fi | ||
25368 | |||
25369 | |||
25370 | |||
24119 | # Check whether user wants Kerberos 5 support | 25371 | # Check whether user wants Kerberos 5 support |
24120 | KRB5_MSG="no" | 25372 | KRB5_MSG="no" |
24121 | 25373 | ||
24122 | # Check whether --with-kerberos5 or --without-kerberos5 was given. | 25374 | # Check whether --with-kerberos5 was given. |
24123 | if test "${with_kerberos5+set}" = set; then | 25375 | if test "${with_kerberos5+set}" = set; then |
24124 | withval="$with_kerberos5" | 25376 | withval=$with_kerberos5; if test "x$withval" != "xno" ; then |
24125 | if test "x$withval" != "xno" ; then | ||
24126 | if test "x$withval" = "xyes" ; then | 25377 | if test "x$withval" = "xyes" ; then |
24127 | KRB5ROOT="/usr/local" | 25378 | KRB5ROOT="/usr/local" |
24128 | else | 25379 | else |
@@ -24136,18 +25387,18 @@ _ACEOF | |||
24136 | 25387 | ||
24137 | KRB5_MSG="yes" | 25388 | KRB5_MSG="yes" |
24138 | 25389 | ||
24139 | echo "$as_me:$LINENO: checking for krb5-config" >&5 | 25390 | { echo "$as_me:$LINENO: checking for krb5-config" >&5 |
24140 | echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6 | 25391 | echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6; } |
24141 | if test -x $KRB5ROOT/bin/krb5-config ; then | 25392 | if test -x $KRB5ROOT/bin/krb5-config ; then |
24142 | KRB5CONF=$KRB5ROOT/bin/krb5-config | 25393 | KRB5CONF=$KRB5ROOT/bin/krb5-config |
24143 | echo "$as_me:$LINENO: result: $KRB5CONF" >&5 | 25394 | { echo "$as_me:$LINENO: result: $KRB5CONF" >&5 |
24144 | echo "${ECHO_T}$KRB5CONF" >&6 | 25395 | echo "${ECHO_T}$KRB5CONF" >&6; } |
24145 | 25396 | ||
24146 | echo "$as_me:$LINENO: checking for gssapi support" >&5 | 25397 | { echo "$as_me:$LINENO: checking for gssapi support" >&5 |
24147 | echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6 | 25398 | echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6; } |
24148 | if $KRB5CONF | grep gssapi >/dev/null ; then | 25399 | if $KRB5CONF | grep gssapi >/dev/null ; then |
24149 | echo "$as_me:$LINENO: result: yes" >&5 | 25400 | { echo "$as_me:$LINENO: result: yes" >&5 |
24150 | echo "${ECHO_T}yes" >&6 | 25401 | echo "${ECHO_T}yes" >&6; } |
24151 | 25402 | ||
24152 | cat >>confdefs.h <<\_ACEOF | 25403 | cat >>confdefs.h <<\_ACEOF |
24153 | #define GSSAPI 1 | 25404 | #define GSSAPI 1 |
@@ -24155,15 +25406,15 @@ _ACEOF | |||
24155 | 25406 | ||
24156 | k5confopts=gssapi | 25407 | k5confopts=gssapi |
24157 | else | 25408 | else |
24158 | echo "$as_me:$LINENO: result: no" >&5 | 25409 | { echo "$as_me:$LINENO: result: no" >&5 |
24159 | echo "${ECHO_T}no" >&6 | 25410 | echo "${ECHO_T}no" >&6; } |
24160 | k5confopts="" | 25411 | k5confopts="" |
24161 | fi | 25412 | fi |
24162 | K5CFLAGS="`$KRB5CONF --cflags $k5confopts`" | 25413 | K5CFLAGS="`$KRB5CONF --cflags $k5confopts`" |
24163 | K5LIBS="`$KRB5CONF --libs $k5confopts`" | 25414 | K5LIBS="`$KRB5CONF --libs $k5confopts`" |
24164 | CPPFLAGS="$CPPFLAGS $K5CFLAGS" | 25415 | CPPFLAGS="$CPPFLAGS $K5CFLAGS" |
24165 | echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 | 25416 | { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 |
24166 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 | 25417 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } |
24167 | cat >conftest.$ac_ext <<_ACEOF | 25418 | cat >conftest.$ac_ext <<_ACEOF |
24168 | /* confdefs.h. */ | 25419 | /* confdefs.h. */ |
24169 | _ACEOF | 25420 | _ACEOF |
@@ -24180,29 +25431,24 @@ main () | |||
24180 | } | 25431 | } |
24181 | _ACEOF | 25432 | _ACEOF |
24182 | rm -f conftest.$ac_objext | 25433 | rm -f conftest.$ac_objext |
24183 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25434 | if { (ac_try="$ac_compile" |
24184 | (eval $ac_compile) 2>conftest.er1 | 25435 | case "(($ac_try" in |
25436 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25437 | *) ac_try_echo=$ac_try;; | ||
25438 | esac | ||
25439 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25440 | (eval "$ac_compile") 2>conftest.er1 | ||
24185 | ac_status=$? | 25441 | ac_status=$? |
24186 | grep -v '^ *+' conftest.er1 >conftest.err | 25442 | grep -v '^ *+' conftest.er1 >conftest.err |
24187 | rm -f conftest.er1 | 25443 | rm -f conftest.er1 |
24188 | cat conftest.err >&5 | 25444 | cat conftest.err >&5 |
24189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24190 | (exit $ac_status); } && | 25446 | (exit $ac_status); } && { |
24191 | { ac_try='test -z "$ac_c_werror_flag" | 25447 | test -z "$ac_c_werror_flag" || |
24192 | || test ! -s conftest.err' | 25448 | test ! -s conftest.err |
24193 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25449 | } && test -s conftest.$ac_objext; then |
24194 | (eval $ac_try) 2>&5 | 25450 | { echo "$as_me:$LINENO: result: yes" >&5 |
24195 | ac_status=$? | 25451 | echo "${ECHO_T}yes" >&6; } |
24196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24197 | (exit $ac_status); }; } && | ||
24198 | { ac_try='test -s conftest.$ac_objext' | ||
24199 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24200 | (eval $ac_try) 2>&5 | ||
24201 | ac_status=$? | ||
24202 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24203 | (exit $ac_status); }; }; then | ||
24204 | echo "$as_me:$LINENO: result: yes" >&5 | ||
24205 | echo "${ECHO_T}yes" >&6 | ||
24206 | 25452 | ||
24207 | cat >>confdefs.h <<\_ACEOF | 25453 | cat >>confdefs.h <<\_ACEOF |
24208 | #define HEIMDAL 1 | 25454 | #define HEIMDAL 1 |
@@ -24212,18 +25458,19 @@ else | |||
24212 | echo "$as_me: failed program was:" >&5 | 25458 | echo "$as_me: failed program was:" >&5 |
24213 | sed 's/^/| /' conftest.$ac_ext >&5 | 25459 | sed 's/^/| /' conftest.$ac_ext >&5 |
24214 | 25460 | ||
24215 | echo "$as_me:$LINENO: result: no" >&5 | 25461 | { echo "$as_me:$LINENO: result: no" >&5 |
24216 | echo "${ECHO_T}no" >&6 | 25462 | echo "${ECHO_T}no" >&6; } |
24217 | 25463 | ||
24218 | fi | 25464 | fi |
24219 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25465 | |
25466 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24220 | else | 25467 | else |
24221 | echo "$as_me:$LINENO: result: no" >&5 | 25468 | { echo "$as_me:$LINENO: result: no" >&5 |
24222 | echo "${ECHO_T}no" >&6 | 25469 | echo "${ECHO_T}no" >&6; } |
24223 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" | 25470 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" |
24224 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" | 25471 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" |
24225 | echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 | 25472 | { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 |
24226 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 | 25473 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } |
24227 | cat >conftest.$ac_ext <<_ACEOF | 25474 | cat >conftest.$ac_ext <<_ACEOF |
24228 | /* confdefs.h. */ | 25475 | /* confdefs.h. */ |
24229 | _ACEOF | 25476 | _ACEOF |
@@ -24240,37 +25487,32 @@ main () | |||
24240 | } | 25487 | } |
24241 | _ACEOF | 25488 | _ACEOF |
24242 | rm -f conftest.$ac_objext | 25489 | rm -f conftest.$ac_objext |
24243 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25490 | if { (ac_try="$ac_compile" |
24244 | (eval $ac_compile) 2>conftest.er1 | 25491 | case "(($ac_try" in |
25492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25493 | *) ac_try_echo=$ac_try;; | ||
25494 | esac | ||
25495 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25496 | (eval "$ac_compile") 2>conftest.er1 | ||
24245 | ac_status=$? | 25497 | ac_status=$? |
24246 | grep -v '^ *+' conftest.er1 >conftest.err | 25498 | grep -v '^ *+' conftest.er1 >conftest.err |
24247 | rm -f conftest.er1 | 25499 | rm -f conftest.er1 |
24248 | cat conftest.err >&5 | 25500 | cat conftest.err >&5 |
24249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24250 | (exit $ac_status); } && | 25502 | (exit $ac_status); } && { |
24251 | { ac_try='test -z "$ac_c_werror_flag" | 25503 | test -z "$ac_c_werror_flag" || |
24252 | || test ! -s conftest.err' | 25504 | test ! -s conftest.err |
24253 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25505 | } && test -s conftest.$ac_objext; then |
24254 | (eval $ac_try) 2>&5 | 25506 | { echo "$as_me:$LINENO: result: yes" >&5 |
24255 | ac_status=$? | 25507 | echo "${ECHO_T}yes" >&6; } |
24256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24257 | (exit $ac_status); }; } && | ||
24258 | { ac_try='test -s conftest.$ac_objext' | ||
24259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24260 | (eval $ac_try) 2>&5 | ||
24261 | ac_status=$? | ||
24262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24263 | (exit $ac_status); }; }; then | ||
24264 | echo "$as_me:$LINENO: result: yes" >&5 | ||
24265 | echo "${ECHO_T}yes" >&6 | ||
24266 | cat >>confdefs.h <<\_ACEOF | 25508 | cat >>confdefs.h <<\_ACEOF |
24267 | #define HEIMDAL 1 | 25509 | #define HEIMDAL 1 |
24268 | _ACEOF | 25510 | _ACEOF |
24269 | 25511 | ||
24270 | K5LIBS="-lkrb5 -ldes" | 25512 | K5LIBS="-lkrb5 -ldes" |
24271 | K5LIBS="$K5LIBS -lcom_err -lasn1" | 25513 | K5LIBS="$K5LIBS -lcom_err -lasn1" |
24272 | echo "$as_me:$LINENO: checking for net_write in -lroken" >&5 | 25514 | { echo "$as_me:$LINENO: checking for net_write in -lroken" >&5 |
24273 | echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6 | 25515 | echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6; } |
24274 | if test "${ac_cv_lib_roken_net_write+set}" = set; then | 25516 | if test "${ac_cv_lib_roken_net_write+set}" = set; then |
24275 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 25517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24276 | else | 25518 | else |
@@ -24283,56 +25525,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
24283 | cat >>conftest.$ac_ext <<_ACEOF | 25525 | cat >>conftest.$ac_ext <<_ACEOF |
24284 | /* end confdefs.h. */ | 25526 | /* end confdefs.h. */ |
24285 | 25527 | ||
24286 | /* Override any gcc2 internal prototype to avoid an error. */ | 25528 | /* Override any GCC internal prototype to avoid an error. |
25529 | Use char because int might match the return type of a GCC | ||
25530 | builtin and then its argument prototype would still apply. */ | ||
24287 | #ifdef __cplusplus | 25531 | #ifdef __cplusplus |
24288 | extern "C" | 25532 | extern "C" |
24289 | #endif | 25533 | #endif |
24290 | /* We use char because int might match the return type of a gcc2 | ||
24291 | builtin and then its argument prototype would still apply. */ | ||
24292 | char net_write (); | 25534 | char net_write (); |
24293 | int | 25535 | int |
24294 | main () | 25536 | main () |
24295 | { | 25537 | { |
24296 | net_write (); | 25538 | return net_write (); |
24297 | ; | 25539 | ; |
24298 | return 0; | 25540 | return 0; |
24299 | } | 25541 | } |
24300 | _ACEOF | 25542 | _ACEOF |
24301 | rm -f conftest.$ac_objext conftest$ac_exeext | 25543 | rm -f conftest.$ac_objext conftest$ac_exeext |
24302 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 25544 | if { (ac_try="$ac_link" |
24303 | (eval $ac_link) 2>conftest.er1 | 25545 | case "(($ac_try" in |
25546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25547 | *) ac_try_echo=$ac_try;; | ||
25548 | esac | ||
25549 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25550 | (eval "$ac_link") 2>conftest.er1 | ||
24304 | ac_status=$? | 25551 | ac_status=$? |
24305 | grep -v '^ *+' conftest.er1 >conftest.err | 25552 | grep -v '^ *+' conftest.er1 >conftest.err |
24306 | rm -f conftest.er1 | 25553 | rm -f conftest.er1 |
24307 | cat conftest.err >&5 | 25554 | cat conftest.err >&5 |
24308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24309 | (exit $ac_status); } && | 25556 | (exit $ac_status); } && { |
24310 | { ac_try='test -z "$ac_c_werror_flag" | 25557 | test -z "$ac_c_werror_flag" || |
24311 | || test ! -s conftest.err' | 25558 | test ! -s conftest.err |
24312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25559 | } && test -s conftest$ac_exeext && |
24313 | (eval $ac_try) 2>&5 | 25560 | $as_test_x conftest$ac_exeext; then |
24314 | ac_status=$? | ||
24315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24316 | (exit $ac_status); }; } && | ||
24317 | { ac_try='test -s conftest$ac_exeext' | ||
24318 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24319 | (eval $ac_try) 2>&5 | ||
24320 | ac_status=$? | ||
24321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24322 | (exit $ac_status); }; }; then | ||
24323 | ac_cv_lib_roken_net_write=yes | 25561 | ac_cv_lib_roken_net_write=yes |
24324 | else | 25562 | else |
24325 | echo "$as_me: failed program was:" >&5 | 25563 | echo "$as_me: failed program was:" >&5 |
24326 | sed 's/^/| /' conftest.$ac_ext >&5 | 25564 | sed 's/^/| /' conftest.$ac_ext >&5 |
24327 | 25565 | ||
24328 | ac_cv_lib_roken_net_write=no | 25566 | ac_cv_lib_roken_net_write=no |
24329 | fi | 25567 | fi |
24330 | rm -f conftest.err conftest.$ac_objext \ | 25568 | |
25569 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
24331 | conftest$ac_exeext conftest.$ac_ext | 25570 | conftest$ac_exeext conftest.$ac_ext |
24332 | LIBS=$ac_check_lib_save_LIBS | 25571 | LIBS=$ac_check_lib_save_LIBS |
24333 | fi | 25572 | fi |
24334 | echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5 | 25573 | { echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5 |
24335 | echo "${ECHO_T}$ac_cv_lib_roken_net_write" >&6 | 25574 | echo "${ECHO_T}$ac_cv_lib_roken_net_write" >&6; } |
24336 | if test $ac_cv_lib_roken_net_write = yes; then | 25575 | if test $ac_cv_lib_roken_net_write = yes; then |
24337 | K5LIBS="$K5LIBS -lroken" | 25576 | K5LIBS="$K5LIBS -lroken" |
24338 | fi | 25577 | fi |
@@ -24342,20 +25581,20 @@ else | |||
24342 | echo "$as_me: failed program was:" >&5 | 25581 | echo "$as_me: failed program was:" >&5 |
24343 | sed 's/^/| /' conftest.$ac_ext >&5 | 25582 | sed 's/^/| /' conftest.$ac_ext >&5 |
24344 | 25583 | ||
24345 | echo "$as_me:$LINENO: result: no" >&5 | 25584 | { echo "$as_me:$LINENO: result: no" >&5 |
24346 | echo "${ECHO_T}no" >&6 | 25585 | echo "${ECHO_T}no" >&6; } |
24347 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" | 25586 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" |
24348 | 25587 | ||
24349 | 25588 | ||
24350 | fi | 25589 | fi |
24351 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25590 | |
24352 | echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 | 25591 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24353 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 | 25592 | { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 |
25593 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } | ||
24354 | if test "${ac_cv_search_dn_expand+set}" = set; then | 25594 | if test "${ac_cv_search_dn_expand+set}" = set; then |
24355 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 25595 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24356 | else | 25596 | else |
24357 | ac_func_search_save_LIBS=$LIBS | 25597 | ac_func_search_save_LIBS=$LIBS |
24358 | ac_cv_search_dn_expand=no | ||
24359 | cat >conftest.$ac_ext <<_ACEOF | 25598 | cat >conftest.$ac_ext <<_ACEOF |
24360 | /* confdefs.h. */ | 25599 | /* confdefs.h. */ |
24361 | _ACEOF | 25600 | _ACEOF |
@@ -24363,121 +25602,79 @@ cat confdefs.h >>conftest.$ac_ext | |||
24363 | cat >>conftest.$ac_ext <<_ACEOF | 25602 | cat >>conftest.$ac_ext <<_ACEOF |
24364 | /* end confdefs.h. */ | 25603 | /* end confdefs.h. */ |
24365 | 25604 | ||
24366 | /* Override any gcc2 internal prototype to avoid an error. */ | 25605 | /* Override any GCC internal prototype to avoid an error. |
25606 | Use char because int might match the return type of a GCC | ||
25607 | builtin and then its argument prototype would still apply. */ | ||
24367 | #ifdef __cplusplus | 25608 | #ifdef __cplusplus |
24368 | extern "C" | 25609 | extern "C" |
24369 | #endif | 25610 | #endif |
24370 | /* We use char because int might match the return type of a gcc2 | ||
24371 | builtin and then its argument prototype would still apply. */ | ||
24372 | char dn_expand (); | 25611 | char dn_expand (); |
24373 | int | 25612 | int |
24374 | main () | 25613 | main () |
24375 | { | 25614 | { |
24376 | dn_expand (); | 25615 | return dn_expand (); |
24377 | ; | 25616 | ; |
24378 | return 0; | 25617 | return 0; |
24379 | } | 25618 | } |
24380 | _ACEOF | 25619 | _ACEOF |
24381 | rm -f conftest.$ac_objext conftest$ac_exeext | 25620 | for ac_lib in '' resolv; do |
24382 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 25621 | if test -z "$ac_lib"; then |
24383 | (eval $ac_link) 2>conftest.er1 | 25622 | ac_res="none required" |
25623 | else | ||
25624 | ac_res=-l$ac_lib | ||
25625 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
25626 | fi | ||
25627 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
25628 | if { (ac_try="$ac_link" | ||
25629 | case "(($ac_try" in | ||
25630 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25631 | *) ac_try_echo=$ac_try;; | ||
25632 | esac | ||
25633 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25634 | (eval "$ac_link") 2>conftest.er1 | ||
24384 | ac_status=$? | 25635 | ac_status=$? |
24385 | grep -v '^ *+' conftest.er1 >conftest.err | 25636 | grep -v '^ *+' conftest.er1 >conftest.err |
24386 | rm -f conftest.er1 | 25637 | rm -f conftest.er1 |
24387 | cat conftest.err >&5 | 25638 | cat conftest.err >&5 |
24388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24389 | (exit $ac_status); } && | 25640 | (exit $ac_status); } && { |
24390 | { ac_try='test -z "$ac_c_werror_flag" | 25641 | test -z "$ac_c_werror_flag" || |
24391 | || test ! -s conftest.err' | 25642 | test ! -s conftest.err |
24392 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25643 | } && test -s conftest$ac_exeext && |
24393 | (eval $ac_try) 2>&5 | 25644 | $as_test_x conftest$ac_exeext; then |
24394 | ac_status=$? | 25645 | ac_cv_search_dn_expand=$ac_res |
24395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24396 | (exit $ac_status); }; } && | ||
24397 | { ac_try='test -s conftest$ac_exeext' | ||
24398 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24399 | (eval $ac_try) 2>&5 | ||
24400 | ac_status=$? | ||
24401 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24402 | (exit $ac_status); }; }; then | ||
24403 | ac_cv_search_dn_expand="none required" | ||
24404 | else | 25646 | else |
24405 | echo "$as_me: failed program was:" >&5 | 25647 | echo "$as_me: failed program was:" >&5 |
24406 | sed 's/^/| /' conftest.$ac_ext >&5 | 25648 | sed 's/^/| /' conftest.$ac_ext >&5 |
24407 | 25649 | ||
24408 | fi | ||
24409 | rm -f conftest.err conftest.$ac_objext \ | ||
24410 | conftest$ac_exeext conftest.$ac_ext | ||
24411 | if test "$ac_cv_search_dn_expand" = no; then | ||
24412 | for ac_lib in resolv; do | ||
24413 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
24414 | cat >conftest.$ac_ext <<_ACEOF | ||
24415 | /* confdefs.h. */ | ||
24416 | _ACEOF | ||
24417 | cat confdefs.h >>conftest.$ac_ext | ||
24418 | cat >>conftest.$ac_ext <<_ACEOF | ||
24419 | /* end confdefs.h. */ | ||
24420 | 25650 | ||
24421 | /* Override any gcc2 internal prototype to avoid an error. */ | 25651 | fi |
24422 | #ifdef __cplusplus | ||
24423 | extern "C" | ||
24424 | #endif | ||
24425 | /* We use char because int might match the return type of a gcc2 | ||
24426 | builtin and then its argument prototype would still apply. */ | ||
24427 | char dn_expand (); | ||
24428 | int | ||
24429 | main () | ||
24430 | { | ||
24431 | dn_expand (); | ||
24432 | ; | ||
24433 | return 0; | ||
24434 | } | ||
24435 | _ACEOF | ||
24436 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
24437 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
24438 | (eval $ac_link) 2>conftest.er1 | ||
24439 | ac_status=$? | ||
24440 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24441 | rm -f conftest.er1 | ||
24442 | cat conftest.err >&5 | ||
24443 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24444 | (exit $ac_status); } && | ||
24445 | { ac_try='test -z "$ac_c_werror_flag" | ||
24446 | || test ! -s conftest.err' | ||
24447 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24448 | (eval $ac_try) 2>&5 | ||
24449 | ac_status=$? | ||
24450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24451 | (exit $ac_status); }; } && | ||
24452 | { ac_try='test -s conftest$ac_exeext' | ||
24453 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24454 | (eval $ac_try) 2>&5 | ||
24455 | ac_status=$? | ||
24456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24457 | (exit $ac_status); }; }; then | ||
24458 | ac_cv_search_dn_expand="-l$ac_lib" | ||
24459 | break | ||
24460 | else | ||
24461 | echo "$as_me: failed program was:" >&5 | ||
24462 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24463 | 25652 | ||
25653 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
25654 | conftest$ac_exeext | ||
25655 | if test "${ac_cv_search_dn_expand+set}" = set; then | ||
25656 | break | ||
24464 | fi | 25657 | fi |
24465 | rm -f conftest.err conftest.$ac_objext \ | 25658 | done |
24466 | conftest$ac_exeext conftest.$ac_ext | 25659 | if test "${ac_cv_search_dn_expand+set}" = set; then |
24467 | done | 25660 | : |
25661 | else | ||
25662 | ac_cv_search_dn_expand=no | ||
24468 | fi | 25663 | fi |
25664 | rm conftest.$ac_ext | ||
24469 | LIBS=$ac_func_search_save_LIBS | 25665 | LIBS=$ac_func_search_save_LIBS |
24470 | fi | 25666 | fi |
24471 | echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 | 25667 | { echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 |
24472 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 | 25668 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } |
24473 | if test "$ac_cv_search_dn_expand" != no; then | 25669 | ac_res=$ac_cv_search_dn_expand |
24474 | test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" | 25670 | if test "$ac_res" != no; then |
25671 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
24475 | 25672 | ||
24476 | fi | 25673 | fi |
24477 | 25674 | ||
24478 | 25675 | ||
24479 | echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5 | 25676 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5 |
24480 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6 | 25677 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6; } |
24481 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then | 25678 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then |
24482 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 25679 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24483 | else | 25680 | else |
@@ -24490,56 +25687,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
24490 | cat >>conftest.$ac_ext <<_ACEOF | 25687 | cat >>conftest.$ac_ext <<_ACEOF |
24491 | /* end confdefs.h. */ | 25688 | /* end confdefs.h. */ |
24492 | 25689 | ||
24493 | /* Override any gcc2 internal prototype to avoid an error. */ | 25690 | /* Override any GCC internal prototype to avoid an error. |
25691 | Use char because int might match the return type of a GCC | ||
25692 | builtin and then its argument prototype would still apply. */ | ||
24494 | #ifdef __cplusplus | 25693 | #ifdef __cplusplus |
24495 | extern "C" | 25694 | extern "C" |
24496 | #endif | 25695 | #endif |
24497 | /* We use char because int might match the return type of a gcc2 | ||
24498 | builtin and then its argument prototype would still apply. */ | ||
24499 | char gss_init_sec_context (); | 25696 | char gss_init_sec_context (); |
24500 | int | 25697 | int |
24501 | main () | 25698 | main () |
24502 | { | 25699 | { |
24503 | gss_init_sec_context (); | 25700 | return gss_init_sec_context (); |
24504 | ; | 25701 | ; |
24505 | return 0; | 25702 | return 0; |
24506 | } | 25703 | } |
24507 | _ACEOF | 25704 | _ACEOF |
24508 | rm -f conftest.$ac_objext conftest$ac_exeext | 25705 | rm -f conftest.$ac_objext conftest$ac_exeext |
24509 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 25706 | if { (ac_try="$ac_link" |
24510 | (eval $ac_link) 2>conftest.er1 | 25707 | case "(($ac_try" in |
25708 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25709 | *) ac_try_echo=$ac_try;; | ||
25710 | esac | ||
25711 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25712 | (eval "$ac_link") 2>conftest.er1 | ||
24511 | ac_status=$? | 25713 | ac_status=$? |
24512 | grep -v '^ *+' conftest.er1 >conftest.err | 25714 | grep -v '^ *+' conftest.er1 >conftest.err |
24513 | rm -f conftest.er1 | 25715 | rm -f conftest.er1 |
24514 | cat conftest.err >&5 | 25716 | cat conftest.err >&5 |
24515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24516 | (exit $ac_status); } && | 25718 | (exit $ac_status); } && { |
24517 | { ac_try='test -z "$ac_c_werror_flag" | 25719 | test -z "$ac_c_werror_flag" || |
24518 | || test ! -s conftest.err' | 25720 | test ! -s conftest.err |
24519 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25721 | } && test -s conftest$ac_exeext && |
24520 | (eval $ac_try) 2>&5 | 25722 | $as_test_x conftest$ac_exeext; then |
24521 | ac_status=$? | ||
24522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24523 | (exit $ac_status); }; } && | ||
24524 | { ac_try='test -s conftest$ac_exeext' | ||
24525 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24526 | (eval $ac_try) 2>&5 | ||
24527 | ac_status=$? | ||
24528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24529 | (exit $ac_status); }; }; then | ||
24530 | ac_cv_lib_gssapi_gss_init_sec_context=yes | 25723 | ac_cv_lib_gssapi_gss_init_sec_context=yes |
24531 | else | 25724 | else |
24532 | echo "$as_me: failed program was:" >&5 | 25725 | echo "$as_me: failed program was:" >&5 |
24533 | sed 's/^/| /' conftest.$ac_ext >&5 | 25726 | sed 's/^/| /' conftest.$ac_ext >&5 |
24534 | 25727 | ||
24535 | ac_cv_lib_gssapi_gss_init_sec_context=no | 25728 | ac_cv_lib_gssapi_gss_init_sec_context=no |
24536 | fi | 25729 | fi |
24537 | rm -f conftest.err conftest.$ac_objext \ | 25730 | |
25731 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
24538 | conftest$ac_exeext conftest.$ac_ext | 25732 | conftest$ac_exeext conftest.$ac_ext |
24539 | LIBS=$ac_check_lib_save_LIBS | 25733 | LIBS=$ac_check_lib_save_LIBS |
24540 | fi | 25734 | fi |
24541 | echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 | 25735 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 |
24542 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6 | 25736 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } |
24543 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then | 25737 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then |
24544 | cat >>confdefs.h <<\_ACEOF | 25738 | cat >>confdefs.h <<\_ACEOF |
24545 | #define GSSAPI 1 | 25739 | #define GSSAPI 1 |
@@ -24547,8 +25741,8 @@ _ACEOF | |||
24547 | 25741 | ||
24548 | K5LIBS="-lgssapi $K5LIBS" | 25742 | K5LIBS="-lgssapi $K5LIBS" |
24549 | else | 25743 | else |
24550 | echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5 | 25744 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5 |
24551 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6 | 25745 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6; } |
24552 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then | 25746 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then |
24553 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 25747 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24554 | else | 25748 | else |
@@ -24561,56 +25755,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
24561 | cat >>conftest.$ac_ext <<_ACEOF | 25755 | cat >>conftest.$ac_ext <<_ACEOF |
24562 | /* end confdefs.h. */ | 25756 | /* end confdefs.h. */ |
24563 | 25757 | ||
24564 | /* Override any gcc2 internal prototype to avoid an error. */ | 25758 | /* Override any GCC internal prototype to avoid an error. |
25759 | Use char because int might match the return type of a GCC | ||
25760 | builtin and then its argument prototype would still apply. */ | ||
24565 | #ifdef __cplusplus | 25761 | #ifdef __cplusplus |
24566 | extern "C" | 25762 | extern "C" |
24567 | #endif | 25763 | #endif |
24568 | /* We use char because int might match the return type of a gcc2 | ||
24569 | builtin and then its argument prototype would still apply. */ | ||
24570 | char gss_init_sec_context (); | 25764 | char gss_init_sec_context (); |
24571 | int | 25765 | int |
24572 | main () | 25766 | main () |
24573 | { | 25767 | { |
24574 | gss_init_sec_context (); | 25768 | return gss_init_sec_context (); |
24575 | ; | 25769 | ; |
24576 | return 0; | 25770 | return 0; |
24577 | } | 25771 | } |
24578 | _ACEOF | 25772 | _ACEOF |
24579 | rm -f conftest.$ac_objext conftest$ac_exeext | 25773 | rm -f conftest.$ac_objext conftest$ac_exeext |
24580 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 25774 | if { (ac_try="$ac_link" |
24581 | (eval $ac_link) 2>conftest.er1 | 25775 | case "(($ac_try" in |
25776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25777 | *) ac_try_echo=$ac_try;; | ||
25778 | esac | ||
25779 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25780 | (eval "$ac_link") 2>conftest.er1 | ||
24582 | ac_status=$? | 25781 | ac_status=$? |
24583 | grep -v '^ *+' conftest.er1 >conftest.err | 25782 | grep -v '^ *+' conftest.er1 >conftest.err |
24584 | rm -f conftest.er1 | 25783 | rm -f conftest.er1 |
24585 | cat conftest.err >&5 | 25784 | cat conftest.err >&5 |
24586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24587 | (exit $ac_status); } && | 25786 | (exit $ac_status); } && { |
24588 | { ac_try='test -z "$ac_c_werror_flag" | 25787 | test -z "$ac_c_werror_flag" || |
24589 | || test ! -s conftest.err' | 25788 | test ! -s conftest.err |
24590 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25789 | } && test -s conftest$ac_exeext && |
24591 | (eval $ac_try) 2>&5 | 25790 | $as_test_x conftest$ac_exeext; then |
24592 | ac_status=$? | ||
24593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24594 | (exit $ac_status); }; } && | ||
24595 | { ac_try='test -s conftest$ac_exeext' | ||
24596 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24597 | (eval $ac_try) 2>&5 | ||
24598 | ac_status=$? | ||
24599 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24600 | (exit $ac_status); }; }; then | ||
24601 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes | 25791 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes |
24602 | else | 25792 | else |
24603 | echo "$as_me: failed program was:" >&5 | 25793 | echo "$as_me: failed program was:" >&5 |
24604 | sed 's/^/| /' conftest.$ac_ext >&5 | 25794 | sed 's/^/| /' conftest.$ac_ext >&5 |
24605 | 25795 | ||
24606 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no | 25796 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no |
24607 | fi | 25797 | fi |
24608 | rm -f conftest.err conftest.$ac_objext \ | 25798 | |
25799 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
24609 | conftest$ac_exeext conftest.$ac_ext | 25800 | conftest$ac_exeext conftest.$ac_ext |
24610 | LIBS=$ac_check_lib_save_LIBS | 25801 | LIBS=$ac_check_lib_save_LIBS |
24611 | fi | 25802 | fi |
24612 | echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 | 25803 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 |
24613 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6 | 25804 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } |
24614 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then | 25805 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then |
24615 | cat >>confdefs.h <<\_ACEOF | 25806 | cat >>confdefs.h <<\_ACEOF |
24616 | #define GSSAPI 1 | 25807 | #define GSSAPI 1 |
@@ -24627,17 +25818,17 @@ fi | |||
24627 | 25818 | ||
24628 | 25819 | ||
24629 | if test "${ac_cv_header_gssapi_h+set}" = set; then | 25820 | if test "${ac_cv_header_gssapi_h+set}" = set; then |
24630 | echo "$as_me:$LINENO: checking for gssapi.h" >&5 | 25821 | { echo "$as_me:$LINENO: checking for gssapi.h" >&5 |
24631 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6 | 25822 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } |
24632 | if test "${ac_cv_header_gssapi_h+set}" = set; then | 25823 | if test "${ac_cv_header_gssapi_h+set}" = set; then |
24633 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 25824 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24634 | fi | 25825 | fi |
24635 | echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 | 25826 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 |
24636 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6 | 25827 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } |
24637 | else | 25828 | else |
24638 | # Is the header compilable? | 25829 | # Is the header compilable? |
24639 | echo "$as_me:$LINENO: checking gssapi.h usability" >&5 | 25830 | { echo "$as_me:$LINENO: checking gssapi.h usability" >&5 |
24640 | echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6 | 25831 | echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6; } |
24641 | cat >conftest.$ac_ext <<_ACEOF | 25832 | cat >conftest.$ac_ext <<_ACEOF |
24642 | /* confdefs.h. */ | 25833 | /* confdefs.h. */ |
24643 | _ACEOF | 25834 | _ACEOF |
@@ -24648,41 +25839,37 @@ $ac_includes_default | |||
24648 | #include <gssapi.h> | 25839 | #include <gssapi.h> |
24649 | _ACEOF | 25840 | _ACEOF |
24650 | rm -f conftest.$ac_objext | 25841 | rm -f conftest.$ac_objext |
24651 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25842 | if { (ac_try="$ac_compile" |
24652 | (eval $ac_compile) 2>conftest.er1 | 25843 | case "(($ac_try" in |
25844 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25845 | *) ac_try_echo=$ac_try;; | ||
25846 | esac | ||
25847 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25848 | (eval "$ac_compile") 2>conftest.er1 | ||
24653 | ac_status=$? | 25849 | ac_status=$? |
24654 | grep -v '^ *+' conftest.er1 >conftest.err | 25850 | grep -v '^ *+' conftest.er1 >conftest.err |
24655 | rm -f conftest.er1 | 25851 | rm -f conftest.er1 |
24656 | cat conftest.err >&5 | 25852 | cat conftest.err >&5 |
24657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24658 | (exit $ac_status); } && | 25854 | (exit $ac_status); } && { |
24659 | { ac_try='test -z "$ac_c_werror_flag" | 25855 | test -z "$ac_c_werror_flag" || |
24660 | || test ! -s conftest.err' | 25856 | test ! -s conftest.err |
24661 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25857 | } && test -s conftest.$ac_objext; then |
24662 | (eval $ac_try) 2>&5 | ||
24663 | ac_status=$? | ||
24664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24665 | (exit $ac_status); }; } && | ||
24666 | { ac_try='test -s conftest.$ac_objext' | ||
24667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24668 | (eval $ac_try) 2>&5 | ||
24669 | ac_status=$? | ||
24670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24671 | (exit $ac_status); }; }; then | ||
24672 | ac_header_compiler=yes | 25858 | ac_header_compiler=yes |
24673 | else | 25859 | else |
24674 | echo "$as_me: failed program was:" >&5 | 25860 | echo "$as_me: failed program was:" >&5 |
24675 | sed 's/^/| /' conftest.$ac_ext >&5 | 25861 | sed 's/^/| /' conftest.$ac_ext >&5 |
24676 | 25862 | ||
24677 | ac_header_compiler=no | 25863 | ac_header_compiler=no |
24678 | fi | 25864 | fi |
24679 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25865 | |
24680 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 25866 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24681 | echo "${ECHO_T}$ac_header_compiler" >&6 | 25867 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
25868 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
24682 | 25869 | ||
24683 | # Is the header present? | 25870 | # Is the header present? |
24684 | echo "$as_me:$LINENO: checking gssapi.h presence" >&5 | 25871 | { echo "$as_me:$LINENO: checking gssapi.h presence" >&5 |
24685 | echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6 | 25872 | echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6; } |
24686 | cat >conftest.$ac_ext <<_ACEOF | 25873 | cat >conftest.$ac_ext <<_ACEOF |
24687 | /* confdefs.h. */ | 25874 | /* confdefs.h. */ |
24688 | _ACEOF | 25875 | _ACEOF |
@@ -24691,24 +25878,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
24691 | /* end confdefs.h. */ | 25878 | /* end confdefs.h. */ |
24692 | #include <gssapi.h> | 25879 | #include <gssapi.h> |
24693 | _ACEOF | 25880 | _ACEOF |
24694 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 25881 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
24695 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 25882 | case "(($ac_try" in |
25883 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25884 | *) ac_try_echo=$ac_try;; | ||
25885 | esac | ||
25886 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25887 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
24696 | ac_status=$? | 25888 | ac_status=$? |
24697 | grep -v '^ *+' conftest.er1 >conftest.err | 25889 | grep -v '^ *+' conftest.er1 >conftest.err |
24698 | rm -f conftest.er1 | 25890 | rm -f conftest.er1 |
24699 | cat conftest.err >&5 | 25891 | cat conftest.err >&5 |
24700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24701 | (exit $ac_status); } >/dev/null; then | 25893 | (exit $ac_status); } >/dev/null && { |
24702 | if test -s conftest.err; then | 25894 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
24703 | ac_cpp_err=$ac_c_preproc_warn_flag | 25895 | test ! -s conftest.err |
24704 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 25896 | }; then |
24705 | else | ||
24706 | ac_cpp_err= | ||
24707 | fi | ||
24708 | else | ||
24709 | ac_cpp_err=yes | ||
24710 | fi | ||
24711 | if test -z "$ac_cpp_err"; then | ||
24712 | ac_header_preproc=yes | 25897 | ac_header_preproc=yes |
24713 | else | 25898 | else |
24714 | echo "$as_me: failed program was:" >&5 | 25899 | echo "$as_me: failed program was:" >&5 |
@@ -24716,9 +25901,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
24716 | 25901 | ||
24717 | ac_header_preproc=no | 25902 | ac_header_preproc=no |
24718 | fi | 25903 | fi |
25904 | |||
24719 | rm -f conftest.err conftest.$ac_ext | 25905 | rm -f conftest.err conftest.$ac_ext |
24720 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 25906 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
24721 | echo "${ECHO_T}$ac_header_preproc" >&6 | 25907 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
24722 | 25908 | ||
24723 | # So? What about this header? | 25909 | # So? What about this header? |
24724 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 25910 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -24742,25 +25928,23 @@ echo "$as_me: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" | |||
24742 | echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;} | 25928 | echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;} |
24743 | { echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5 | 25929 | { echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5 |
24744 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} | 25930 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} |
24745 | ( | 25931 | ( cat <<\_ASBOX |
24746 | cat <<\_ASBOX | ||
24747 | ## ------------------------------------------- ## | 25932 | ## ------------------------------------------- ## |
24748 | ## Report this to openssh-unix-dev@mindrot.org ## | 25933 | ## Report this to openssh-unix-dev@mindrot.org ## |
24749 | ## ------------------------------------------- ## | 25934 | ## ------------------------------------------- ## |
24750 | _ASBOX | 25935 | _ASBOX |
24751 | ) | | 25936 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
24752 | sed "s/^/$as_me: WARNING: /" >&2 | ||
24753 | ;; | 25937 | ;; |
24754 | esac | 25938 | esac |
24755 | echo "$as_me:$LINENO: checking for gssapi.h" >&5 | 25939 | { echo "$as_me:$LINENO: checking for gssapi.h" >&5 |
24756 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6 | 25940 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } |
24757 | if test "${ac_cv_header_gssapi_h+set}" = set; then | 25941 | if test "${ac_cv_header_gssapi_h+set}" = set; then |
24758 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 25942 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24759 | else | 25943 | else |
24760 | ac_cv_header_gssapi_h=$ac_header_preproc | 25944 | ac_cv_header_gssapi_h=$ac_header_preproc |
24761 | fi | 25945 | fi |
24762 | echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 | 25946 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 |
24763 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6 | 25947 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } |
24764 | 25948 | ||
24765 | fi | 25949 | fi |
24766 | if test $ac_cv_header_gssapi_h = yes; then | 25950 | if test $ac_cv_header_gssapi_h = yes; then |
@@ -24772,18 +25956,19 @@ else | |||
24772 | for ac_header in gssapi.h | 25956 | for ac_header in gssapi.h |
24773 | do | 25957 | do |
24774 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 25958 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
24775 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 25959 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
24776 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 25960 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24777 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 25961 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
24778 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 25962 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
24779 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 25963 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24780 | fi | 25964 | fi |
24781 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 25965 | ac_res=`eval echo '${'$as_ac_Header'}'` |
24782 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 25966 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
25967 | echo "${ECHO_T}$ac_res" >&6; } | ||
24783 | else | 25968 | else |
24784 | # Is the header compilable? | 25969 | # Is the header compilable? |
24785 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 25970 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
24786 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 25971 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
24787 | cat >conftest.$ac_ext <<_ACEOF | 25972 | cat >conftest.$ac_ext <<_ACEOF |
24788 | /* confdefs.h. */ | 25973 | /* confdefs.h. */ |
24789 | _ACEOF | 25974 | _ACEOF |
@@ -24794,41 +25979,37 @@ $ac_includes_default | |||
24794 | #include <$ac_header> | 25979 | #include <$ac_header> |
24795 | _ACEOF | 25980 | _ACEOF |
24796 | rm -f conftest.$ac_objext | 25981 | rm -f conftest.$ac_objext |
24797 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25982 | if { (ac_try="$ac_compile" |
24798 | (eval $ac_compile) 2>conftest.er1 | 25983 | case "(($ac_try" in |
25984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25985 | *) ac_try_echo=$ac_try;; | ||
25986 | esac | ||
25987 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25988 | (eval "$ac_compile") 2>conftest.er1 | ||
24799 | ac_status=$? | 25989 | ac_status=$? |
24800 | grep -v '^ *+' conftest.er1 >conftest.err | 25990 | grep -v '^ *+' conftest.er1 >conftest.err |
24801 | rm -f conftest.er1 | 25991 | rm -f conftest.er1 |
24802 | cat conftest.err >&5 | 25992 | cat conftest.err >&5 |
24803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24804 | (exit $ac_status); } && | 25994 | (exit $ac_status); } && { |
24805 | { ac_try='test -z "$ac_c_werror_flag" | 25995 | test -z "$ac_c_werror_flag" || |
24806 | || test ! -s conftest.err' | 25996 | test ! -s conftest.err |
24807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25997 | } && test -s conftest.$ac_objext; then |
24808 | (eval $ac_try) 2>&5 | ||
24809 | ac_status=$? | ||
24810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24811 | (exit $ac_status); }; } && | ||
24812 | { ac_try='test -s conftest.$ac_objext' | ||
24813 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24814 | (eval $ac_try) 2>&5 | ||
24815 | ac_status=$? | ||
24816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24817 | (exit $ac_status); }; }; then | ||
24818 | ac_header_compiler=yes | 25998 | ac_header_compiler=yes |
24819 | else | 25999 | else |
24820 | echo "$as_me: failed program was:" >&5 | 26000 | echo "$as_me: failed program was:" >&5 |
24821 | sed 's/^/| /' conftest.$ac_ext >&5 | 26001 | sed 's/^/| /' conftest.$ac_ext >&5 |
24822 | 26002 | ||
24823 | ac_header_compiler=no | 26003 | ac_header_compiler=no |
24824 | fi | 26004 | fi |
24825 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 26005 | |
24826 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 26006 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24827 | echo "${ECHO_T}$ac_header_compiler" >&6 | 26007 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
26008 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
24828 | 26009 | ||
24829 | # Is the header present? | 26010 | # Is the header present? |
24830 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 26011 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
24831 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 26012 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
24832 | cat >conftest.$ac_ext <<_ACEOF | 26013 | cat >conftest.$ac_ext <<_ACEOF |
24833 | /* confdefs.h. */ | 26014 | /* confdefs.h. */ |
24834 | _ACEOF | 26015 | _ACEOF |
@@ -24837,24 +26018,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
24837 | /* end confdefs.h. */ | 26018 | /* end confdefs.h. */ |
24838 | #include <$ac_header> | 26019 | #include <$ac_header> |
24839 | _ACEOF | 26020 | _ACEOF |
24840 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 26021 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
24841 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 26022 | case "(($ac_try" in |
26023 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26024 | *) ac_try_echo=$ac_try;; | ||
26025 | esac | ||
26026 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26027 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
24842 | ac_status=$? | 26028 | ac_status=$? |
24843 | grep -v '^ *+' conftest.er1 >conftest.err | 26029 | grep -v '^ *+' conftest.er1 >conftest.err |
24844 | rm -f conftest.er1 | 26030 | rm -f conftest.er1 |
24845 | cat conftest.err >&5 | 26031 | cat conftest.err >&5 |
24846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24847 | (exit $ac_status); } >/dev/null; then | 26033 | (exit $ac_status); } >/dev/null && { |
24848 | if test -s conftest.err; then | 26034 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
24849 | ac_cpp_err=$ac_c_preproc_warn_flag | 26035 | test ! -s conftest.err |
24850 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 26036 | }; then |
24851 | else | ||
24852 | ac_cpp_err= | ||
24853 | fi | ||
24854 | else | ||
24855 | ac_cpp_err=yes | ||
24856 | fi | ||
24857 | if test -z "$ac_cpp_err"; then | ||
24858 | ac_header_preproc=yes | 26037 | ac_header_preproc=yes |
24859 | else | 26038 | else |
24860 | echo "$as_me: failed program was:" >&5 | 26039 | echo "$as_me: failed program was:" >&5 |
@@ -24862,9 +26041,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
24862 | 26041 | ||
24863 | ac_header_preproc=no | 26042 | ac_header_preproc=no |
24864 | fi | 26043 | fi |
26044 | |||
24865 | rm -f conftest.err conftest.$ac_ext | 26045 | rm -f conftest.err conftest.$ac_ext |
24866 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 26046 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
24867 | echo "${ECHO_T}$ac_header_preproc" >&6 | 26047 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
24868 | 26048 | ||
24869 | # So? What about this header? | 26049 | # So? What about this header? |
24870 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 26050 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -24888,25 +26068,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
24888 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 26068 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
24889 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 26069 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
24890 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 26070 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
24891 | ( | 26071 | ( cat <<\_ASBOX |
24892 | cat <<\_ASBOX | ||
24893 | ## ------------------------------------------- ## | 26072 | ## ------------------------------------------- ## |
24894 | ## Report this to openssh-unix-dev@mindrot.org ## | 26073 | ## Report this to openssh-unix-dev@mindrot.org ## |
24895 | ## ------------------------------------------- ## | 26074 | ## ------------------------------------------- ## |
24896 | _ASBOX | 26075 | _ASBOX |
24897 | ) | | 26076 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
24898 | sed "s/^/$as_me: WARNING: /" >&2 | ||
24899 | ;; | 26077 | ;; |
24900 | esac | 26078 | esac |
24901 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 26079 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24902 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 26080 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
24903 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26081 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
24904 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26082 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24905 | else | 26083 | else |
24906 | eval "$as_ac_Header=\$ac_header_preproc" | 26084 | eval "$as_ac_Header=\$ac_header_preproc" |
24907 | fi | 26085 | fi |
24908 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 26086 | ac_res=`eval echo '${'$as_ac_Header'}'` |
24909 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 26087 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
26088 | echo "${ECHO_T}$ac_res" >&6; } | ||
24910 | 26089 | ||
24911 | fi | 26090 | fi |
24912 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 26091 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -24931,17 +26110,17 @@ fi | |||
24931 | oldCPP="$CPPFLAGS" | 26110 | oldCPP="$CPPFLAGS" |
24932 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" | 26111 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" |
24933 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | 26112 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then |
24934 | echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 | 26113 | { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 |
24935 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6 | 26114 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } |
24936 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | 26115 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then |
24937 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26116 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24938 | fi | 26117 | fi |
24939 | echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 | 26118 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 |
24940 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6 | 26119 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } |
24941 | else | 26120 | else |
24942 | # Is the header compilable? | 26121 | # Is the header compilable? |
24943 | echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5 | 26122 | { echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5 |
24944 | echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6 | 26123 | echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6; } |
24945 | cat >conftest.$ac_ext <<_ACEOF | 26124 | cat >conftest.$ac_ext <<_ACEOF |
24946 | /* confdefs.h. */ | 26125 | /* confdefs.h. */ |
24947 | _ACEOF | 26126 | _ACEOF |
@@ -24952,41 +26131,37 @@ $ac_includes_default | |||
24952 | #include <gssapi_krb5.h> | 26131 | #include <gssapi_krb5.h> |
24953 | _ACEOF | 26132 | _ACEOF |
24954 | rm -f conftest.$ac_objext | 26133 | rm -f conftest.$ac_objext |
24955 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 26134 | if { (ac_try="$ac_compile" |
24956 | (eval $ac_compile) 2>conftest.er1 | 26135 | case "(($ac_try" in |
26136 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26137 | *) ac_try_echo=$ac_try;; | ||
26138 | esac | ||
26139 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26140 | (eval "$ac_compile") 2>conftest.er1 | ||
24957 | ac_status=$? | 26141 | ac_status=$? |
24958 | grep -v '^ *+' conftest.er1 >conftest.err | 26142 | grep -v '^ *+' conftest.er1 >conftest.err |
24959 | rm -f conftest.er1 | 26143 | rm -f conftest.er1 |
24960 | cat conftest.err >&5 | 26144 | cat conftest.err >&5 |
24961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24962 | (exit $ac_status); } && | 26146 | (exit $ac_status); } && { |
24963 | { ac_try='test -z "$ac_c_werror_flag" | 26147 | test -z "$ac_c_werror_flag" || |
24964 | || test ! -s conftest.err' | 26148 | test ! -s conftest.err |
24965 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 26149 | } && test -s conftest.$ac_objext; then |
24966 | (eval $ac_try) 2>&5 | ||
24967 | ac_status=$? | ||
24968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24969 | (exit $ac_status); }; } && | ||
24970 | { ac_try='test -s conftest.$ac_objext' | ||
24971 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
24972 | (eval $ac_try) 2>&5 | ||
24973 | ac_status=$? | ||
24974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24975 | (exit $ac_status); }; }; then | ||
24976 | ac_header_compiler=yes | 26150 | ac_header_compiler=yes |
24977 | else | 26151 | else |
24978 | echo "$as_me: failed program was:" >&5 | 26152 | echo "$as_me: failed program was:" >&5 |
24979 | sed 's/^/| /' conftest.$ac_ext >&5 | 26153 | sed 's/^/| /' conftest.$ac_ext >&5 |
24980 | 26154 | ||
24981 | ac_header_compiler=no | 26155 | ac_header_compiler=no |
24982 | fi | 26156 | fi |
24983 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 26157 | |
24984 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 26158 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24985 | echo "${ECHO_T}$ac_header_compiler" >&6 | 26159 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
26160 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
24986 | 26161 | ||
24987 | # Is the header present? | 26162 | # Is the header present? |
24988 | echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5 | 26163 | { echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5 |
24989 | echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6 | 26164 | echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6; } |
24990 | cat >conftest.$ac_ext <<_ACEOF | 26165 | cat >conftest.$ac_ext <<_ACEOF |
24991 | /* confdefs.h. */ | 26166 | /* confdefs.h. */ |
24992 | _ACEOF | 26167 | _ACEOF |
@@ -24995,24 +26170,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
24995 | /* end confdefs.h. */ | 26170 | /* end confdefs.h. */ |
24996 | #include <gssapi_krb5.h> | 26171 | #include <gssapi_krb5.h> |
24997 | _ACEOF | 26172 | _ACEOF |
24998 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 26173 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
24999 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 26174 | case "(($ac_try" in |
26175 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26176 | *) ac_try_echo=$ac_try;; | ||
26177 | esac | ||
26178 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26179 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
25000 | ac_status=$? | 26180 | ac_status=$? |
25001 | grep -v '^ *+' conftest.er1 >conftest.err | 26181 | grep -v '^ *+' conftest.er1 >conftest.err |
25002 | rm -f conftest.er1 | 26182 | rm -f conftest.er1 |
25003 | cat conftest.err >&5 | 26183 | cat conftest.err >&5 |
25004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26184 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25005 | (exit $ac_status); } >/dev/null; then | 26185 | (exit $ac_status); } >/dev/null && { |
25006 | if test -s conftest.err; then | 26186 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
25007 | ac_cpp_err=$ac_c_preproc_warn_flag | 26187 | test ! -s conftest.err |
25008 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 26188 | }; then |
25009 | else | ||
25010 | ac_cpp_err= | ||
25011 | fi | ||
25012 | else | ||
25013 | ac_cpp_err=yes | ||
25014 | fi | ||
25015 | if test -z "$ac_cpp_err"; then | ||
25016 | ac_header_preproc=yes | 26189 | ac_header_preproc=yes |
25017 | else | 26190 | else |
25018 | echo "$as_me: failed program was:" >&5 | 26191 | echo "$as_me: failed program was:" >&5 |
@@ -25020,9 +26193,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
25020 | 26193 | ||
25021 | ac_header_preproc=no | 26194 | ac_header_preproc=no |
25022 | fi | 26195 | fi |
26196 | |||
25023 | rm -f conftest.err conftest.$ac_ext | 26197 | rm -f conftest.err conftest.$ac_ext |
25024 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 26198 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
25025 | echo "${ECHO_T}$ac_header_preproc" >&6 | 26199 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
25026 | 26200 | ||
25027 | # So? What about this header? | 26201 | # So? What about this header? |
25028 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 26202 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -25046,25 +26220,23 @@ echo "$as_me: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compil | |||
25046 | echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;} | 26220 | echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;} |
25047 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5 | 26221 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5 |
25048 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} | 26222 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} |
25049 | ( | 26223 | ( cat <<\_ASBOX |
25050 | cat <<\_ASBOX | ||
25051 | ## ------------------------------------------- ## | 26224 | ## ------------------------------------------- ## |
25052 | ## Report this to openssh-unix-dev@mindrot.org ## | 26225 | ## Report this to openssh-unix-dev@mindrot.org ## |
25053 | ## ------------------------------------------- ## | 26226 | ## ------------------------------------------- ## |
25054 | _ASBOX | 26227 | _ASBOX |
25055 | ) | | 26228 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
25056 | sed "s/^/$as_me: WARNING: /" >&2 | ||
25057 | ;; | 26229 | ;; |
25058 | esac | 26230 | esac |
25059 | echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 | 26231 | { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 |
25060 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6 | 26232 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } |
25061 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | 26233 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then |
25062 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26234 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25063 | else | 26235 | else |
25064 | ac_cv_header_gssapi_krb5_h=$ac_header_preproc | 26236 | ac_cv_header_gssapi_krb5_h=$ac_header_preproc |
25065 | fi | 26237 | fi |
25066 | echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 | 26238 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 |
25067 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6 | 26239 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } |
25068 | 26240 | ||
25069 | fi | 26241 | fi |
25070 | if test $ac_cv_header_gssapi_krb5_h = yes; then | 26242 | if test $ac_cv_header_gssapi_krb5_h = yes; then |
@@ -25088,18 +26260,19 @@ fi | |||
25088 | for ac_header in gssapi.h gssapi/gssapi.h | 26260 | for ac_header in gssapi.h gssapi/gssapi.h |
25089 | do | 26261 | do |
25090 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 26262 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
25091 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26263 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25092 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 26264 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
25093 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 26265 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
25094 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26266 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25095 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26267 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25096 | fi | 26268 | fi |
25097 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 26269 | ac_res=`eval echo '${'$as_ac_Header'}'` |
25098 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 26270 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
26271 | echo "${ECHO_T}$ac_res" >&6; } | ||
25099 | else | 26272 | else |
25100 | # Is the header compilable? | 26273 | # Is the header compilable? |
25101 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 26274 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
25102 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 26275 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
25103 | cat >conftest.$ac_ext <<_ACEOF | 26276 | cat >conftest.$ac_ext <<_ACEOF |
25104 | /* confdefs.h. */ | 26277 | /* confdefs.h. */ |
25105 | _ACEOF | 26278 | _ACEOF |
@@ -25110,41 +26283,37 @@ $ac_includes_default | |||
25110 | #include <$ac_header> | 26283 | #include <$ac_header> |
25111 | _ACEOF | 26284 | _ACEOF |
25112 | rm -f conftest.$ac_objext | 26285 | rm -f conftest.$ac_objext |
25113 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 26286 | if { (ac_try="$ac_compile" |
25114 | (eval $ac_compile) 2>conftest.er1 | 26287 | case "(($ac_try" in |
26288 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26289 | *) ac_try_echo=$ac_try;; | ||
26290 | esac | ||
26291 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26292 | (eval "$ac_compile") 2>conftest.er1 | ||
25115 | ac_status=$? | 26293 | ac_status=$? |
25116 | grep -v '^ *+' conftest.er1 >conftest.err | 26294 | grep -v '^ *+' conftest.er1 >conftest.err |
25117 | rm -f conftest.er1 | 26295 | rm -f conftest.er1 |
25118 | cat conftest.err >&5 | 26296 | cat conftest.err >&5 |
25119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25120 | (exit $ac_status); } && | 26298 | (exit $ac_status); } && { |
25121 | { ac_try='test -z "$ac_c_werror_flag" | 26299 | test -z "$ac_c_werror_flag" || |
25122 | || test ! -s conftest.err' | 26300 | test ! -s conftest.err |
25123 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 26301 | } && test -s conftest.$ac_objext; then |
25124 | (eval $ac_try) 2>&5 | ||
25125 | ac_status=$? | ||
25126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25127 | (exit $ac_status); }; } && | ||
25128 | { ac_try='test -s conftest.$ac_objext' | ||
25129 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
25130 | (eval $ac_try) 2>&5 | ||
25131 | ac_status=$? | ||
25132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25133 | (exit $ac_status); }; }; then | ||
25134 | ac_header_compiler=yes | 26302 | ac_header_compiler=yes |
25135 | else | 26303 | else |
25136 | echo "$as_me: failed program was:" >&5 | 26304 | echo "$as_me: failed program was:" >&5 |
25137 | sed 's/^/| /' conftest.$ac_ext >&5 | 26305 | sed 's/^/| /' conftest.$ac_ext >&5 |
25138 | 26306 | ||
25139 | ac_header_compiler=no | 26307 | ac_header_compiler=no |
25140 | fi | 26308 | fi |
25141 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 26309 | |
25142 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 26310 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25143 | echo "${ECHO_T}$ac_header_compiler" >&6 | 26311 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
26312 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
25144 | 26313 | ||
25145 | # Is the header present? | 26314 | # Is the header present? |
25146 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 26315 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
25147 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 26316 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
25148 | cat >conftest.$ac_ext <<_ACEOF | 26317 | cat >conftest.$ac_ext <<_ACEOF |
25149 | /* confdefs.h. */ | 26318 | /* confdefs.h. */ |
25150 | _ACEOF | 26319 | _ACEOF |
@@ -25153,24 +26322,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
25153 | /* end confdefs.h. */ | 26322 | /* end confdefs.h. */ |
25154 | #include <$ac_header> | 26323 | #include <$ac_header> |
25155 | _ACEOF | 26324 | _ACEOF |
25156 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 26325 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
25157 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 26326 | case "(($ac_try" in |
26327 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26328 | *) ac_try_echo=$ac_try;; | ||
26329 | esac | ||
26330 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26331 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
25158 | ac_status=$? | 26332 | ac_status=$? |
25159 | grep -v '^ *+' conftest.er1 >conftest.err | 26333 | grep -v '^ *+' conftest.er1 >conftest.err |
25160 | rm -f conftest.er1 | 26334 | rm -f conftest.er1 |
25161 | cat conftest.err >&5 | 26335 | cat conftest.err >&5 |
25162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25163 | (exit $ac_status); } >/dev/null; then | 26337 | (exit $ac_status); } >/dev/null && { |
25164 | if test -s conftest.err; then | 26338 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
25165 | ac_cpp_err=$ac_c_preproc_warn_flag | 26339 | test ! -s conftest.err |
25166 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 26340 | }; then |
25167 | else | ||
25168 | ac_cpp_err= | ||
25169 | fi | ||
25170 | else | ||
25171 | ac_cpp_err=yes | ||
25172 | fi | ||
25173 | if test -z "$ac_cpp_err"; then | ||
25174 | ac_header_preproc=yes | 26341 | ac_header_preproc=yes |
25175 | else | 26342 | else |
25176 | echo "$as_me: failed program was:" >&5 | 26343 | echo "$as_me: failed program was:" >&5 |
@@ -25178,9 +26345,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
25178 | 26345 | ||
25179 | ac_header_preproc=no | 26346 | ac_header_preproc=no |
25180 | fi | 26347 | fi |
26348 | |||
25181 | rm -f conftest.err conftest.$ac_ext | 26349 | rm -f conftest.err conftest.$ac_ext |
25182 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 26350 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
25183 | echo "${ECHO_T}$ac_header_preproc" >&6 | 26351 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
25184 | 26352 | ||
25185 | # So? What about this header? | 26353 | # So? What about this header? |
25186 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 26354 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -25204,25 +26372,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
25204 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 26372 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
25205 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 26373 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
25206 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 26374 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
25207 | ( | 26375 | ( cat <<\_ASBOX |
25208 | cat <<\_ASBOX | ||
25209 | ## ------------------------------------------- ## | 26376 | ## ------------------------------------------- ## |
25210 | ## Report this to openssh-unix-dev@mindrot.org ## | 26377 | ## Report this to openssh-unix-dev@mindrot.org ## |
25211 | ## ------------------------------------------- ## | 26378 | ## ------------------------------------------- ## |
25212 | _ASBOX | 26379 | _ASBOX |
25213 | ) | | 26380 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
25214 | sed "s/^/$as_me: WARNING: /" >&2 | ||
25215 | ;; | 26381 | ;; |
25216 | esac | 26382 | esac |
25217 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 26383 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
25218 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 26384 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
25219 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26385 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25220 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26386 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25221 | else | 26387 | else |
25222 | eval "$as_ac_Header=\$ac_header_preproc" | 26388 | eval "$as_ac_Header=\$ac_header_preproc" |
25223 | fi | 26389 | fi |
25224 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 26390 | ac_res=`eval echo '${'$as_ac_Header'}'` |
25225 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 26391 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
26392 | echo "${ECHO_T}$ac_res" >&6; } | ||
25226 | 26393 | ||
25227 | fi | 26394 | fi |
25228 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 26395 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -25239,18 +26406,19 @@ done | |||
25239 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h | 26406 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h |
25240 | do | 26407 | do |
25241 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 26408 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
25242 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26409 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25243 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 26410 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
25244 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 26411 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
25245 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26412 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25246 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26413 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25247 | fi | 26414 | fi |
25248 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 26415 | ac_res=`eval echo '${'$as_ac_Header'}'` |
25249 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 26416 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
26417 | echo "${ECHO_T}$ac_res" >&6; } | ||
25250 | else | 26418 | else |
25251 | # Is the header compilable? | 26419 | # Is the header compilable? |
25252 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 26420 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
25253 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 26421 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
25254 | cat >conftest.$ac_ext <<_ACEOF | 26422 | cat >conftest.$ac_ext <<_ACEOF |
25255 | /* confdefs.h. */ | 26423 | /* confdefs.h. */ |
25256 | _ACEOF | 26424 | _ACEOF |
@@ -25261,41 +26429,37 @@ $ac_includes_default | |||
25261 | #include <$ac_header> | 26429 | #include <$ac_header> |
25262 | _ACEOF | 26430 | _ACEOF |
25263 | rm -f conftest.$ac_objext | 26431 | rm -f conftest.$ac_objext |
25264 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 26432 | if { (ac_try="$ac_compile" |
25265 | (eval $ac_compile) 2>conftest.er1 | 26433 | case "(($ac_try" in |
26434 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26435 | *) ac_try_echo=$ac_try;; | ||
26436 | esac | ||
26437 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26438 | (eval "$ac_compile") 2>conftest.er1 | ||
25266 | ac_status=$? | 26439 | ac_status=$? |
25267 | grep -v '^ *+' conftest.er1 >conftest.err | 26440 | grep -v '^ *+' conftest.er1 >conftest.err |
25268 | rm -f conftest.er1 | 26441 | rm -f conftest.er1 |
25269 | cat conftest.err >&5 | 26442 | cat conftest.err >&5 |
25270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26443 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25271 | (exit $ac_status); } && | 26444 | (exit $ac_status); } && { |
25272 | { ac_try='test -z "$ac_c_werror_flag" | 26445 | test -z "$ac_c_werror_flag" || |
25273 | || test ! -s conftest.err' | 26446 | test ! -s conftest.err |
25274 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 26447 | } && test -s conftest.$ac_objext; then |
25275 | (eval $ac_try) 2>&5 | ||
25276 | ac_status=$? | ||
25277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25278 | (exit $ac_status); }; } && | ||
25279 | { ac_try='test -s conftest.$ac_objext' | ||
25280 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
25281 | (eval $ac_try) 2>&5 | ||
25282 | ac_status=$? | ||
25283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25284 | (exit $ac_status); }; }; then | ||
25285 | ac_header_compiler=yes | 26448 | ac_header_compiler=yes |
25286 | else | 26449 | else |
25287 | echo "$as_me: failed program was:" >&5 | 26450 | echo "$as_me: failed program was:" >&5 |
25288 | sed 's/^/| /' conftest.$ac_ext >&5 | 26451 | sed 's/^/| /' conftest.$ac_ext >&5 |
25289 | 26452 | ||
25290 | ac_header_compiler=no | 26453 | ac_header_compiler=no |
25291 | fi | 26454 | fi |
25292 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 26455 | |
25293 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 26456 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25294 | echo "${ECHO_T}$ac_header_compiler" >&6 | 26457 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
26458 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
25295 | 26459 | ||
25296 | # Is the header present? | 26460 | # Is the header present? |
25297 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 26461 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
25298 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 26462 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
25299 | cat >conftest.$ac_ext <<_ACEOF | 26463 | cat >conftest.$ac_ext <<_ACEOF |
25300 | /* confdefs.h. */ | 26464 | /* confdefs.h. */ |
25301 | _ACEOF | 26465 | _ACEOF |
@@ -25304,24 +26468,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
25304 | /* end confdefs.h. */ | 26468 | /* end confdefs.h. */ |
25305 | #include <$ac_header> | 26469 | #include <$ac_header> |
25306 | _ACEOF | 26470 | _ACEOF |
25307 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 26471 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
25308 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 26472 | case "(($ac_try" in |
26473 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26474 | *) ac_try_echo=$ac_try;; | ||
26475 | esac | ||
26476 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26477 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
25309 | ac_status=$? | 26478 | ac_status=$? |
25310 | grep -v '^ *+' conftest.er1 >conftest.err | 26479 | grep -v '^ *+' conftest.er1 >conftest.err |
25311 | rm -f conftest.er1 | 26480 | rm -f conftest.er1 |
25312 | cat conftest.err >&5 | 26481 | cat conftest.err >&5 |
25313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25314 | (exit $ac_status); } >/dev/null; then | 26483 | (exit $ac_status); } >/dev/null && { |
25315 | if test -s conftest.err; then | 26484 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
25316 | ac_cpp_err=$ac_c_preproc_warn_flag | 26485 | test ! -s conftest.err |
25317 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 26486 | }; then |
25318 | else | ||
25319 | ac_cpp_err= | ||
25320 | fi | ||
25321 | else | ||
25322 | ac_cpp_err=yes | ||
25323 | fi | ||
25324 | if test -z "$ac_cpp_err"; then | ||
25325 | ac_header_preproc=yes | 26487 | ac_header_preproc=yes |
25326 | else | 26488 | else |
25327 | echo "$as_me: failed program was:" >&5 | 26489 | echo "$as_me: failed program was:" >&5 |
@@ -25329,9 +26491,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
25329 | 26491 | ||
25330 | ac_header_preproc=no | 26492 | ac_header_preproc=no |
25331 | fi | 26493 | fi |
26494 | |||
25332 | rm -f conftest.err conftest.$ac_ext | 26495 | rm -f conftest.err conftest.$ac_ext |
25333 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 26496 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
25334 | echo "${ECHO_T}$ac_header_preproc" >&6 | 26497 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
25335 | 26498 | ||
25336 | # So? What about this header? | 26499 | # So? What about this header? |
25337 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 26500 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -25355,25 +26518,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
25355 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 26518 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
25356 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 26519 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
25357 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 26520 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
25358 | ( | 26521 | ( cat <<\_ASBOX |
25359 | cat <<\_ASBOX | ||
25360 | ## ------------------------------------------- ## | 26522 | ## ------------------------------------------- ## |
25361 | ## Report this to openssh-unix-dev@mindrot.org ## | 26523 | ## Report this to openssh-unix-dev@mindrot.org ## |
25362 | ## ------------------------------------------- ## | 26524 | ## ------------------------------------------- ## |
25363 | _ASBOX | 26525 | _ASBOX |
25364 | ) | | 26526 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
25365 | sed "s/^/$as_me: WARNING: /" >&2 | ||
25366 | ;; | 26527 | ;; |
25367 | esac | 26528 | esac |
25368 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 26529 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
25369 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 26530 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
25370 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26531 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25371 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26532 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25372 | else | 26533 | else |
25373 | eval "$as_ac_Header=\$ac_header_preproc" | 26534 | eval "$as_ac_Header=\$ac_header_preproc" |
25374 | fi | 26535 | fi |
25375 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 26536 | ac_res=`eval echo '${'$as_ac_Header'}'` |
25376 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 26537 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
26538 | echo "${ECHO_T}$ac_res" >&6; } | ||
25377 | 26539 | ||
25378 | fi | 26540 | fi |
25379 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 26541 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -25390,18 +26552,19 @@ done | |||
25390 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h | 26552 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h |
25391 | do | 26553 | do |
25392 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 26554 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
25393 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26555 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25394 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 26556 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
25395 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 26557 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
25396 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26558 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25397 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26559 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25398 | fi | 26560 | fi |
25399 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 26561 | ac_res=`eval echo '${'$as_ac_Header'}'` |
25400 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 26562 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
26563 | echo "${ECHO_T}$ac_res" >&6; } | ||
25401 | else | 26564 | else |
25402 | # Is the header compilable? | 26565 | # Is the header compilable? |
25403 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 26566 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
25404 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 26567 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
25405 | cat >conftest.$ac_ext <<_ACEOF | 26568 | cat >conftest.$ac_ext <<_ACEOF |
25406 | /* confdefs.h. */ | 26569 | /* confdefs.h. */ |
25407 | _ACEOF | 26570 | _ACEOF |
@@ -25412,41 +26575,37 @@ $ac_includes_default | |||
25412 | #include <$ac_header> | 26575 | #include <$ac_header> |
25413 | _ACEOF | 26576 | _ACEOF |
25414 | rm -f conftest.$ac_objext | 26577 | rm -f conftest.$ac_objext |
25415 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 26578 | if { (ac_try="$ac_compile" |
25416 | (eval $ac_compile) 2>conftest.er1 | 26579 | case "(($ac_try" in |
26580 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26581 | *) ac_try_echo=$ac_try;; | ||
26582 | esac | ||
26583 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26584 | (eval "$ac_compile") 2>conftest.er1 | ||
25417 | ac_status=$? | 26585 | ac_status=$? |
25418 | grep -v '^ *+' conftest.er1 >conftest.err | 26586 | grep -v '^ *+' conftest.er1 >conftest.err |
25419 | rm -f conftest.er1 | 26587 | rm -f conftest.er1 |
25420 | cat conftest.err >&5 | 26588 | cat conftest.err >&5 |
25421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25422 | (exit $ac_status); } && | 26590 | (exit $ac_status); } && { |
25423 | { ac_try='test -z "$ac_c_werror_flag" | 26591 | test -z "$ac_c_werror_flag" || |
25424 | || test ! -s conftest.err' | 26592 | test ! -s conftest.err |
25425 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 26593 | } && test -s conftest.$ac_objext; then |
25426 | (eval $ac_try) 2>&5 | ||
25427 | ac_status=$? | ||
25428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25429 | (exit $ac_status); }; } && | ||
25430 | { ac_try='test -s conftest.$ac_objext' | ||
25431 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
25432 | (eval $ac_try) 2>&5 | ||
25433 | ac_status=$? | ||
25434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25435 | (exit $ac_status); }; }; then | ||
25436 | ac_header_compiler=yes | 26594 | ac_header_compiler=yes |
25437 | else | 26595 | else |
25438 | echo "$as_me: failed program was:" >&5 | 26596 | echo "$as_me: failed program was:" >&5 |
25439 | sed 's/^/| /' conftest.$ac_ext >&5 | 26597 | sed 's/^/| /' conftest.$ac_ext >&5 |
25440 | 26598 | ||
25441 | ac_header_compiler=no | 26599 | ac_header_compiler=no |
25442 | fi | 26600 | fi |
25443 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 26601 | |
25444 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 26602 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
25445 | echo "${ECHO_T}$ac_header_compiler" >&6 | 26603 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
26604 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
25446 | 26605 | ||
25447 | # Is the header present? | 26606 | # Is the header present? |
25448 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 26607 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
25449 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 26608 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
25450 | cat >conftest.$ac_ext <<_ACEOF | 26609 | cat >conftest.$ac_ext <<_ACEOF |
25451 | /* confdefs.h. */ | 26610 | /* confdefs.h. */ |
25452 | _ACEOF | 26611 | _ACEOF |
@@ -25455,24 +26614,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
25455 | /* end confdefs.h. */ | 26614 | /* end confdefs.h. */ |
25456 | #include <$ac_header> | 26615 | #include <$ac_header> |
25457 | _ACEOF | 26616 | _ACEOF |
25458 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 26617 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
25459 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 26618 | case "(($ac_try" in |
26619 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26620 | *) ac_try_echo=$ac_try;; | ||
26621 | esac | ||
26622 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26623 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
25460 | ac_status=$? | 26624 | ac_status=$? |
25461 | grep -v '^ *+' conftest.er1 >conftest.err | 26625 | grep -v '^ *+' conftest.er1 >conftest.err |
25462 | rm -f conftest.er1 | 26626 | rm -f conftest.er1 |
25463 | cat conftest.err >&5 | 26627 | cat conftest.err >&5 |
25464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25465 | (exit $ac_status); } >/dev/null; then | 26629 | (exit $ac_status); } >/dev/null && { |
25466 | if test -s conftest.err; then | 26630 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
25467 | ac_cpp_err=$ac_c_preproc_warn_flag | 26631 | test ! -s conftest.err |
25468 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 26632 | }; then |
25469 | else | ||
25470 | ac_cpp_err= | ||
25471 | fi | ||
25472 | else | ||
25473 | ac_cpp_err=yes | ||
25474 | fi | ||
25475 | if test -z "$ac_cpp_err"; then | ||
25476 | ac_header_preproc=yes | 26633 | ac_header_preproc=yes |
25477 | else | 26634 | else |
25478 | echo "$as_me: failed program was:" >&5 | 26635 | echo "$as_me: failed program was:" >&5 |
@@ -25480,9 +26637,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
25480 | 26637 | ||
25481 | ac_header_preproc=no | 26638 | ac_header_preproc=no |
25482 | fi | 26639 | fi |
26640 | |||
25483 | rm -f conftest.err conftest.$ac_ext | 26641 | rm -f conftest.err conftest.$ac_ext |
25484 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 26642 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
25485 | echo "${ECHO_T}$ac_header_preproc" >&6 | 26643 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
25486 | 26644 | ||
25487 | # So? What about this header? | 26645 | # So? What about this header? |
25488 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 26646 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
@@ -25506,25 +26664,24 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
25506 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 26664 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
25507 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 26665 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
25508 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 26666 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
25509 | ( | 26667 | ( cat <<\_ASBOX |
25510 | cat <<\_ASBOX | ||
25511 | ## ------------------------------------------- ## | 26668 | ## ------------------------------------------- ## |
25512 | ## Report this to openssh-unix-dev@mindrot.org ## | 26669 | ## Report this to openssh-unix-dev@mindrot.org ## |
25513 | ## ------------------------------------------- ## | 26670 | ## ------------------------------------------- ## |
25514 | _ASBOX | 26671 | _ASBOX |
25515 | ) | | 26672 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
25516 | sed "s/^/$as_me: WARNING: /" >&2 | ||
25517 | ;; | 26673 | ;; |
25518 | esac | 26674 | esac |
25519 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 26675 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
25520 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 26676 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
25521 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 26677 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
25522 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26678 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25523 | else | 26679 | else |
25524 | eval "$as_ac_Header=\$ac_header_preproc" | 26680 | eval "$as_ac_Header=\$ac_header_preproc" |
25525 | fi | 26681 | fi |
25526 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 26682 | ac_res=`eval echo '${'$as_ac_Header'}'` |
25527 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 26683 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
26684 | echo "${ECHO_T}$ac_res" >&6; } | ||
25528 | 26685 | ||
25529 | fi | 26686 | fi |
25530 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 26687 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
@@ -25538,13 +26695,12 @@ done | |||
25538 | 26695 | ||
25539 | 26696 | ||
25540 | LIBS="$LIBS $K5LIBS" | 26697 | LIBS="$LIBS $K5LIBS" |
25541 | echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 | 26698 | { echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 |
25542 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 | 26699 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6; } |
25543 | if test "${ac_cv_search_k_hasafs+set}" = set; then | 26700 | if test "${ac_cv_search_k_hasafs+set}" = set; then |
25544 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26701 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25545 | else | 26702 | else |
25546 | ac_func_search_save_LIBS=$LIBS | 26703 | ac_func_search_save_LIBS=$LIBS |
25547 | ac_cv_search_k_hasafs=no | ||
25548 | cat >conftest.$ac_ext <<_ACEOF | 26704 | cat >conftest.$ac_ext <<_ACEOF |
25549 | /* confdefs.h. */ | 26705 | /* confdefs.h. */ |
25550 | _ACEOF | 26706 | _ACEOF |
@@ -25552,115 +26708,73 @@ cat confdefs.h >>conftest.$ac_ext | |||
25552 | cat >>conftest.$ac_ext <<_ACEOF | 26708 | cat >>conftest.$ac_ext <<_ACEOF |
25553 | /* end confdefs.h. */ | 26709 | /* end confdefs.h. */ |
25554 | 26710 | ||
25555 | /* Override any gcc2 internal prototype to avoid an error. */ | 26711 | /* Override any GCC internal prototype to avoid an error. |
26712 | Use char because int might match the return type of a GCC | ||
26713 | builtin and then its argument prototype would still apply. */ | ||
25556 | #ifdef __cplusplus | 26714 | #ifdef __cplusplus |
25557 | extern "C" | 26715 | extern "C" |
25558 | #endif | 26716 | #endif |
25559 | /* We use char because int might match the return type of a gcc2 | ||
25560 | builtin and then its argument prototype would still apply. */ | ||
25561 | char k_hasafs (); | 26717 | char k_hasafs (); |
25562 | int | 26718 | int |
25563 | main () | 26719 | main () |
25564 | { | 26720 | { |
25565 | k_hasafs (); | 26721 | return k_hasafs (); |
25566 | ; | 26722 | ; |
25567 | return 0; | 26723 | return 0; |
25568 | } | 26724 | } |
25569 | _ACEOF | 26725 | _ACEOF |
25570 | rm -f conftest.$ac_objext conftest$ac_exeext | 26726 | for ac_lib in '' kafs; do |
25571 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 26727 | if test -z "$ac_lib"; then |
25572 | (eval $ac_link) 2>conftest.er1 | 26728 | ac_res="none required" |
26729 | else | ||
26730 | ac_res=-l$ac_lib | ||
26731 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
26732 | fi | ||
26733 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
26734 | if { (ac_try="$ac_link" | ||
26735 | case "(($ac_try" in | ||
26736 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26737 | *) ac_try_echo=$ac_try;; | ||
26738 | esac | ||
26739 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26740 | (eval "$ac_link") 2>conftest.er1 | ||
25573 | ac_status=$? | 26741 | ac_status=$? |
25574 | grep -v '^ *+' conftest.er1 >conftest.err | 26742 | grep -v '^ *+' conftest.er1 >conftest.err |
25575 | rm -f conftest.er1 | 26743 | rm -f conftest.er1 |
25576 | cat conftest.err >&5 | 26744 | cat conftest.err >&5 |
25577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 26745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
25578 | (exit $ac_status); } && | 26746 | (exit $ac_status); } && { |
25579 | { ac_try='test -z "$ac_c_werror_flag" | 26747 | test -z "$ac_c_werror_flag" || |
25580 | || test ! -s conftest.err' | 26748 | test ! -s conftest.err |
25581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 26749 | } && test -s conftest$ac_exeext && |
25582 | (eval $ac_try) 2>&5 | 26750 | $as_test_x conftest$ac_exeext; then |
25583 | ac_status=$? | 26751 | ac_cv_search_k_hasafs=$ac_res |
25584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25585 | (exit $ac_status); }; } && | ||
25586 | { ac_try='test -s conftest$ac_exeext' | ||
25587 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
25588 | (eval $ac_try) 2>&5 | ||
25589 | ac_status=$? | ||
25590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25591 | (exit $ac_status); }; }; then | ||
25592 | ac_cv_search_k_hasafs="none required" | ||
25593 | else | 26752 | else |
25594 | echo "$as_me: failed program was:" >&5 | 26753 | echo "$as_me: failed program was:" >&5 |
25595 | sed 's/^/| /' conftest.$ac_ext >&5 | 26754 | sed 's/^/| /' conftest.$ac_ext >&5 |
25596 | 26755 | ||
25597 | fi | ||
25598 | rm -f conftest.err conftest.$ac_objext \ | ||
25599 | conftest$ac_exeext conftest.$ac_ext | ||
25600 | if test "$ac_cv_search_k_hasafs" = no; then | ||
25601 | for ac_lib in kafs; do | ||
25602 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
25603 | cat >conftest.$ac_ext <<_ACEOF | ||
25604 | /* confdefs.h. */ | ||
25605 | _ACEOF | ||
25606 | cat confdefs.h >>conftest.$ac_ext | ||
25607 | cat >>conftest.$ac_ext <<_ACEOF | ||
25608 | /* end confdefs.h. */ | ||
25609 | 26756 | ||
25610 | /* Override any gcc2 internal prototype to avoid an error. */ | 26757 | fi |
25611 | #ifdef __cplusplus | ||
25612 | extern "C" | ||
25613 | #endif | ||
25614 | /* We use char because int might match the return type of a gcc2 | ||
25615 | builtin and then its argument prototype would still apply. */ | ||
25616 | char k_hasafs (); | ||
25617 | int | ||
25618 | main () | ||
25619 | { | ||
25620 | k_hasafs (); | ||
25621 | ; | ||
25622 | return 0; | ||
25623 | } | ||
25624 | _ACEOF | ||
25625 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
25626 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
25627 | (eval $ac_link) 2>conftest.er1 | ||
25628 | ac_status=$? | ||
25629 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25630 | rm -f conftest.er1 | ||
25631 | cat conftest.err >&5 | ||
25632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25633 | (exit $ac_status); } && | ||
25634 | { ac_try='test -z "$ac_c_werror_flag" | ||
25635 | || test ! -s conftest.err' | ||
25636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
25637 | (eval $ac_try) 2>&5 | ||
25638 | ac_status=$? | ||
25639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25640 | (exit $ac_status); }; } && | ||
25641 | { ac_try='test -s conftest$ac_exeext' | ||
25642 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
25643 | (eval $ac_try) 2>&5 | ||
25644 | ac_status=$? | ||
25645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25646 | (exit $ac_status); }; }; then | ||
25647 | ac_cv_search_k_hasafs="-l$ac_lib" | ||
25648 | break | ||
25649 | else | ||
25650 | echo "$as_me: failed program was:" >&5 | ||
25651 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25652 | 26758 | ||
26759 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
26760 | conftest$ac_exeext | ||
26761 | if test "${ac_cv_search_k_hasafs+set}" = set; then | ||
26762 | break | ||
25653 | fi | 26763 | fi |
25654 | rm -f conftest.err conftest.$ac_objext \ | 26764 | done |
25655 | conftest$ac_exeext conftest.$ac_ext | 26765 | if test "${ac_cv_search_k_hasafs+set}" = set; then |
25656 | done | 26766 | : |
26767 | else | ||
26768 | ac_cv_search_k_hasafs=no | ||
25657 | fi | 26769 | fi |
26770 | rm conftest.$ac_ext | ||
25658 | LIBS=$ac_func_search_save_LIBS | 26771 | LIBS=$ac_func_search_save_LIBS |
25659 | fi | 26772 | fi |
25660 | echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5 | 26773 | { echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5 |
25661 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 | 26774 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6; } |
25662 | if test "$ac_cv_search_k_hasafs" != no; then | 26775 | ac_res=$ac_cv_search_k_hasafs |
25663 | test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS" | 26776 | if test "$ac_res" != no; then |
26777 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
25664 | 26778 | ||
25665 | cat >>confdefs.h <<\_ACEOF | 26779 | cat >>confdefs.h <<\_ACEOF |
25666 | #define USE_AFS 1 | 26780 | #define USE_AFS 1 |
@@ -25671,30 +26785,30 @@ fi | |||
25671 | fi | 26785 | fi |
25672 | 26786 | ||
25673 | 26787 | ||
25674 | fi; | 26788 | fi |
26789 | |||
25675 | 26790 | ||
25676 | # Looking for programs, paths and files | 26791 | # Looking for programs, paths and files |
25677 | 26792 | ||
25678 | PRIVSEP_PATH=/var/empty | 26793 | PRIVSEP_PATH=/var/empty |
25679 | 26794 | ||
25680 | # Check whether --with-privsep-path or --without-privsep-path was given. | 26795 | # Check whether --with-privsep-path was given. |
25681 | if test "${with_privsep_path+set}" = set; then | 26796 | if test "${with_privsep_path+set}" = set; then |
25682 | withval="$with_privsep_path" | 26797 | withval=$with_privsep_path; |
25683 | |||
25684 | if test -n "$withval" && test "x$withval" != "xno" && \ | 26798 | if test -n "$withval" && test "x$withval" != "xno" && \ |
25685 | test "x${withval}" != "xyes"; then | 26799 | test "x${withval}" != "xyes"; then |
25686 | PRIVSEP_PATH=$withval | 26800 | PRIVSEP_PATH=$withval |
25687 | fi | 26801 | fi |
25688 | 26802 | ||
25689 | 26803 | ||
25690 | fi; | 26804 | fi |
25691 | 26805 | ||
25692 | 26806 | ||
25693 | 26807 | ||
25694 | # Check whether --with-xauth or --without-xauth was given. | ||
25695 | if test "${with_xauth+set}" = set; then | ||
25696 | withval="$with_xauth" | ||
25697 | 26808 | ||
26809 | # Check whether --with-xauth was given. | ||
26810 | if test "${with_xauth+set}" = set; then | ||
26811 | withval=$with_xauth; | ||
25698 | if test -n "$withval" && test "x$withval" != "xno" && \ | 26812 | if test -n "$withval" && test "x$withval" != "xno" && \ |
25699 | test "x${withval}" != "xyes"; then | 26813 | test "x${withval}" != "xyes"; then |
25700 | xauth_path=$withval | 26814 | xauth_path=$withval |
@@ -25709,8 +26823,8 @@ else | |||
25709 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" | 26823 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" |
25710 | # Extract the first word of "xauth", so it can be a program name with args. | 26824 | # Extract the first word of "xauth", so it can be a program name with args. |
25711 | set dummy xauth; ac_word=$2 | 26825 | set dummy xauth; ac_word=$2 |
25712 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 26826 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
25713 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 26827 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
25714 | if test "${ac_cv_path_xauth_path+set}" = set; then | 26828 | if test "${ac_cv_path_xauth_path+set}" = set; then |
25715 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26829 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25716 | else | 26830 | else |
@@ -25725,45 +26839,47 @@ do | |||
25725 | IFS=$as_save_IFS | 26839 | IFS=$as_save_IFS |
25726 | test -z "$as_dir" && as_dir=. | 26840 | test -z "$as_dir" && as_dir=. |
25727 | for ac_exec_ext in '' $ac_executable_extensions; do | 26841 | for ac_exec_ext in '' $ac_executable_extensions; do |
25728 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 26842 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
25729 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" | 26843 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" |
25730 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 26844 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
25731 | break 2 | 26845 | break 2 |
25732 | fi | 26846 | fi |
25733 | done | 26847 | done |
25734 | done | 26848 | done |
26849 | IFS=$as_save_IFS | ||
25735 | 26850 | ||
25736 | ;; | 26851 | ;; |
25737 | esac | 26852 | esac |
25738 | fi | 26853 | fi |
25739 | xauth_path=$ac_cv_path_xauth_path | 26854 | xauth_path=$ac_cv_path_xauth_path |
25740 | |||
25741 | if test -n "$xauth_path"; then | 26855 | if test -n "$xauth_path"; then |
25742 | echo "$as_me:$LINENO: result: $xauth_path" >&5 | 26856 | { echo "$as_me:$LINENO: result: $xauth_path" >&5 |
25743 | echo "${ECHO_T}$xauth_path" >&6 | 26857 | echo "${ECHO_T}$xauth_path" >&6; } |
25744 | else | 26858 | else |
25745 | echo "$as_me:$LINENO: result: no" >&5 | 26859 | { echo "$as_me:$LINENO: result: no" >&5 |
25746 | echo "${ECHO_T}no" >&6 | 26860 | echo "${ECHO_T}no" >&6; } |
25747 | fi | 26861 | fi |
25748 | 26862 | ||
26863 | |||
25749 | if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then | 26864 | if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then |
25750 | xauth_path="/usr/openwin/bin/xauth" | 26865 | xauth_path="/usr/openwin/bin/xauth" |
25751 | fi | 26866 | fi |
25752 | 26867 | ||
25753 | 26868 | ||
25754 | fi; | 26869 | fi |
26870 | |||
25755 | 26871 | ||
25756 | STRIP_OPT=-s | 26872 | STRIP_OPT=-s |
25757 | # Check whether --enable-strip or --disable-strip was given. | 26873 | # Check whether --enable-strip was given. |
25758 | if test "${enable_strip+set}" = set; then | 26874 | if test "${enable_strip+set}" = set; then |
25759 | enableval="$enable_strip" | 26875 | enableval=$enable_strip; |
25760 | |||
25761 | if test "x$enableval" = "xno" ; then | 26876 | if test "x$enableval" = "xno" ; then |
25762 | STRIP_OPT= | 26877 | STRIP_OPT= |
25763 | fi | 26878 | fi |
25764 | 26879 | ||
25765 | 26880 | ||
25766 | fi; | 26881 | fi |
26882 | |||
25767 | 26883 | ||
25768 | 26884 | ||
25769 | if test -z "$xauth_path" ; then | 26885 | if test -z "$xauth_path" ; then |
@@ -25796,8 +26912,8 @@ echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;} | |||
25796 | fi | 26912 | fi |
25797 | if test -z "$no_dev_ptmx" ; then | 26913 | if test -z "$no_dev_ptmx" ; then |
25798 | if test "x$disable_ptmx_check" != "xyes" ; then | 26914 | if test "x$disable_ptmx_check" != "xyes" ; then |
25799 | echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 | 26915 | { echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 |
25800 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 | 26916 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; } |
25801 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then | 26917 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then |
25802 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26918 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25803 | else | 26919 | else |
@@ -25811,8 +26927,8 @@ else | |||
25811 | ac_cv_file___dev_ptmx_=no | 26927 | ac_cv_file___dev_ptmx_=no |
25812 | fi | 26928 | fi |
25813 | fi | 26929 | fi |
25814 | echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 | 26930 | { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 |
25815 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 | 26931 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; } |
25816 | if test $ac_cv_file___dev_ptmx_ = yes; then | 26932 | if test $ac_cv_file___dev_ptmx_ = yes; then |
25817 | 26933 | ||
25818 | 26934 | ||
@@ -25829,8 +26945,8 @@ fi | |||
25829 | fi | 26945 | fi |
25830 | 26946 | ||
25831 | if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then | 26947 | if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then |
25832 | echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 | 26948 | { echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 |
25833 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 | 26949 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; } |
25834 | if test "${ac_cv_file___dev_ptc_+set}" = set; then | 26950 | if test "${ac_cv_file___dev_ptc_+set}" = set; then |
25835 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26951 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25836 | else | 26952 | else |
@@ -25844,8 +26960,8 @@ else | |||
25844 | ac_cv_file___dev_ptc_=no | 26960 | ac_cv_file___dev_ptc_=no |
25845 | fi | 26961 | fi |
25846 | fi | 26962 | fi |
25847 | echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 | 26963 | { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 |
25848 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 | 26964 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; } |
25849 | if test $ac_cv_file___dev_ptc_ = yes; then | 26965 | if test $ac_cv_file___dev_ptc_ = yes; then |
25850 | 26966 | ||
25851 | 26967 | ||
@@ -25865,10 +26981,9 @@ fi | |||
25865 | 26981 | ||
25866 | # Options from here on. Some of these are preset by platform above | 26982 | # Options from here on. Some of these are preset by platform above |
25867 | 26983 | ||
25868 | # Check whether --with-mantype or --without-mantype was given. | 26984 | # Check whether --with-mantype was given. |
25869 | if test "${with_mantype+set}" = set; then | 26985 | if test "${with_mantype+set}" = set; then |
25870 | withval="$with_mantype" | 26986 | withval=$with_mantype; |
25871 | |||
25872 | case "$withval" in | 26987 | case "$withval" in |
25873 | man|cat|doc) | 26988 | man|cat|doc) |
25874 | MANTYPE=$withval | 26989 | MANTYPE=$withval |
@@ -25881,15 +26996,16 @@ echo "$as_me: error: invalid man type: $withval" >&2;} | |||
25881 | esac | 26996 | esac |
25882 | 26997 | ||
25883 | 26998 | ||
25884 | fi; | 26999 | fi |
27000 | |||
25885 | if test -z "$MANTYPE"; then | 27001 | if test -z "$MANTYPE"; then |
25886 | TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb" | 27002 | TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb" |
25887 | for ac_prog in nroff awf | 27003 | for ac_prog in nroff awf |
25888 | do | 27004 | do |
25889 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 27005 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
25890 | set dummy $ac_prog; ac_word=$2 | 27006 | set dummy $ac_prog; ac_word=$2 |
25891 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 27007 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
25892 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 27008 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
25893 | if test "${ac_cv_path_NROFF+set}" = set; then | 27009 | if test "${ac_cv_path_NROFF+set}" = set; then |
25894 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27010 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25895 | else | 27011 | else |
@@ -25904,27 +27020,28 @@ do | |||
25904 | IFS=$as_save_IFS | 27020 | IFS=$as_save_IFS |
25905 | test -z "$as_dir" && as_dir=. | 27021 | test -z "$as_dir" && as_dir=. |
25906 | for ac_exec_ext in '' $ac_executable_extensions; do | 27022 | for ac_exec_ext in '' $ac_executable_extensions; do |
25907 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 27023 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
25908 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" | 27024 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" |
25909 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 27025 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
25910 | break 2 | 27026 | break 2 |
25911 | fi | 27027 | fi |
25912 | done | 27028 | done |
25913 | done | 27029 | done |
27030 | IFS=$as_save_IFS | ||
25914 | 27031 | ||
25915 | ;; | 27032 | ;; |
25916 | esac | 27033 | esac |
25917 | fi | 27034 | fi |
25918 | NROFF=$ac_cv_path_NROFF | 27035 | NROFF=$ac_cv_path_NROFF |
25919 | |||
25920 | if test -n "$NROFF"; then | 27036 | if test -n "$NROFF"; then |
25921 | echo "$as_me:$LINENO: result: $NROFF" >&5 | 27037 | { echo "$as_me:$LINENO: result: $NROFF" >&5 |
25922 | echo "${ECHO_T}$NROFF" >&6 | 27038 | echo "${ECHO_T}$NROFF" >&6; } |
25923 | else | 27039 | else |
25924 | echo "$as_me:$LINENO: result: no" >&5 | 27040 | { echo "$as_me:$LINENO: result: no" >&5 |
25925 | echo "${ECHO_T}no" >&6 | 27041 | echo "${ECHO_T}no" >&6; } |
25926 | fi | 27042 | fi |
25927 | 27043 | ||
27044 | |||
25928 | test -n "$NROFF" && break | 27045 | test -n "$NROFF" && break |
25929 | done | 27046 | done |
25930 | test -n "$NROFF" || NROFF="/bin/false" | 27047 | test -n "$NROFF" || NROFF="/bin/false" |
@@ -25948,10 +27065,9 @@ fi | |||
25948 | # Check whether to enable MD5 passwords | 27065 | # Check whether to enable MD5 passwords |
25949 | MD5_MSG="no" | 27066 | MD5_MSG="no" |
25950 | 27067 | ||
25951 | # Check whether --with-md5-passwords or --without-md5-passwords was given. | 27068 | # Check whether --with-md5-passwords was given. |
25952 | if test "${with_md5_passwords+set}" = set; then | 27069 | if test "${with_md5_passwords+set}" = set; then |
25953 | withval="$with_md5_passwords" | 27070 | withval=$with_md5_passwords; |
25954 | |||
25955 | if test "x$withval" != "xno" ; then | 27071 | if test "x$withval" != "xno" ; then |
25956 | 27072 | ||
25957 | cat >>confdefs.h <<\_ACEOF | 27073 | cat >>confdefs.h <<\_ACEOF |
@@ -25962,14 +27078,14 @@ _ACEOF | |||
25962 | fi | 27078 | fi |
25963 | 27079 | ||
25964 | 27080 | ||
25965 | fi; | 27081 | fi |
27082 | |||
25966 | 27083 | ||
25967 | # Whether to disable shadow password support | 27084 | # Whether to disable shadow password support |
25968 | 27085 | ||
25969 | # Check whether --with-shadow or --without-shadow was given. | 27086 | # Check whether --with-shadow was given. |
25970 | if test "${with_shadow+set}" = set; then | 27087 | if test "${with_shadow+set}" = set; then |
25971 | withval="$with_shadow" | 27088 | withval=$with_shadow; |
25972 | |||
25973 | if test "x$withval" = "xno" ; then | 27089 | if test "x$withval" = "xno" ; then |
25974 | cat >>confdefs.h <<\_ACEOF | 27090 | cat >>confdefs.h <<\_ACEOF |
25975 | #define DISABLE_SHADOW 1 | 27091 | #define DISABLE_SHADOW 1 |
@@ -25979,11 +27095,12 @@ _ACEOF | |||
25979 | fi | 27095 | fi |
25980 | 27096 | ||
25981 | 27097 | ||
25982 | fi; | 27098 | fi |
27099 | |||
25983 | 27100 | ||
25984 | if test -z "$disable_shadow" ; then | 27101 | if test -z "$disable_shadow" ; then |
25985 | echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 | 27102 | { echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 |
25986 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 | 27103 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6; } |
25987 | cat >conftest.$ac_ext <<_ACEOF | 27104 | cat >conftest.$ac_ext <<_ACEOF |
25988 | /* confdefs.h. */ | 27105 | /* confdefs.h. */ |
25989 | _ACEOF | 27106 | _ACEOF |
@@ -26004,27 +27121,22 @@ main () | |||
26004 | } | 27121 | } |
26005 | _ACEOF | 27122 | _ACEOF |
26006 | rm -f conftest.$ac_objext | 27123 | rm -f conftest.$ac_objext |
26007 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 27124 | if { (ac_try="$ac_compile" |
26008 | (eval $ac_compile) 2>conftest.er1 | 27125 | case "(($ac_try" in |
27126 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27127 | *) ac_try_echo=$ac_try;; | ||
27128 | esac | ||
27129 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27130 | (eval "$ac_compile") 2>conftest.er1 | ||
26009 | ac_status=$? | 27131 | ac_status=$? |
26010 | grep -v '^ *+' conftest.er1 >conftest.err | 27132 | grep -v '^ *+' conftest.er1 >conftest.err |
26011 | rm -f conftest.er1 | 27133 | rm -f conftest.er1 |
26012 | cat conftest.err >&5 | 27134 | cat conftest.err >&5 |
26013 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 27135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26014 | (exit $ac_status); } && | 27136 | (exit $ac_status); } && { |
26015 | { ac_try='test -z "$ac_c_werror_flag" | 27137 | test -z "$ac_c_werror_flag" || |
26016 | || test ! -s conftest.err' | 27138 | test ! -s conftest.err |
26017 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 27139 | } && test -s conftest.$ac_objext; then |
26018 | (eval $ac_try) 2>&5 | ||
26019 | ac_status=$? | ||
26020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26021 | (exit $ac_status); }; } && | ||
26022 | { ac_try='test -s conftest.$ac_objext' | ||
26023 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
26024 | (eval $ac_try) 2>&5 | ||
26025 | ac_status=$? | ||
26026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26027 | (exit $ac_status); }; }; then | ||
26028 | sp_expire_available=yes | 27140 | sp_expire_available=yes |
26029 | else | 27141 | else |
26030 | echo "$as_me: failed program was:" >&5 | 27142 | echo "$as_me: failed program was:" >&5 |
@@ -26033,19 +27145,20 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
26033 | 27145 | ||
26034 | 27146 | ||
26035 | fi | 27147 | fi |
26036 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 27148 | |
27149 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26037 | 27150 | ||
26038 | if test "x$sp_expire_available" = "xyes" ; then | 27151 | if test "x$sp_expire_available" = "xyes" ; then |
26039 | echo "$as_me:$LINENO: result: yes" >&5 | 27152 | { echo "$as_me:$LINENO: result: yes" >&5 |
26040 | echo "${ECHO_T}yes" >&6 | 27153 | echo "${ECHO_T}yes" >&6; } |
26041 | 27154 | ||
26042 | cat >>confdefs.h <<\_ACEOF | 27155 | cat >>confdefs.h <<\_ACEOF |
26043 | #define HAS_SHADOW_EXPIRE 1 | 27156 | #define HAS_SHADOW_EXPIRE 1 |
26044 | _ACEOF | 27157 | _ACEOF |
26045 | 27158 | ||
26046 | else | 27159 | else |
26047 | echo "$as_me:$LINENO: result: no" >&5 | 27160 | { echo "$as_me:$LINENO: result: no" >&5 |
26048 | echo "${ECHO_T}no" >&6 | 27161 | echo "${ECHO_T}no" >&6; } |
26049 | fi | 27162 | fi |
26050 | fi | 27163 | fi |
26051 | 27164 | ||
@@ -26060,10 +27173,9 @@ _ACEOF | |||
26060 | else | 27173 | else |
26061 | DISPLAY_HACK_MSG="no" | 27174 | DISPLAY_HACK_MSG="no" |
26062 | 27175 | ||
26063 | # Check whether --with-ipaddr-display or --without-ipaddr-display was given. | 27176 | # Check whether --with-ipaddr-display was given. |
26064 | if test "${with_ipaddr_display+set}" = set; then | 27177 | if test "${with_ipaddr_display+set}" = set; then |
26065 | withval="$with_ipaddr_display" | 27178 | withval=$with_ipaddr_display; |
26066 | |||
26067 | if test "x$withval" != "xno" ; then | 27179 | if test "x$withval" != "xno" ; then |
26068 | cat >>confdefs.h <<\_ACEOF | 27180 | cat >>confdefs.h <<\_ACEOF |
26069 | #define IPADDR_IN_DISPLAY 1 | 27181 | #define IPADDR_IN_DISPLAY 1 |
@@ -26073,14 +27185,14 @@ _ACEOF | |||
26073 | fi | 27185 | fi |
26074 | 27186 | ||
26075 | 27187 | ||
26076 | fi; | 27188 | fi |
27189 | |||
26077 | fi | 27190 | fi |
26078 | 27191 | ||
26079 | # check for /etc/default/login and use it if present. | 27192 | # check for /etc/default/login and use it if present. |
26080 | # Check whether --enable-etc-default-login or --disable-etc-default-login was given. | 27193 | # Check whether --enable-etc-default-login was given. |
26081 | if test "${enable_etc_default_login+set}" = set; then | 27194 | if test "${enable_etc_default_login+set}" = set; then |
26082 | enableval="$enable_etc_default_login" | 27195 | enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then |
26083 | if test "x$enableval" = "xno"; then | ||
26084 | { echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5 | 27196 | { echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5 |
26085 | echo "$as_me: /etc/default/login handling disabled" >&6;} | 27197 | echo "$as_me: /etc/default/login handling disabled" >&6;} |
26086 | etc_default_login=no | 27198 | etc_default_login=no |
@@ -26097,11 +27209,12 @@ echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;} | |||
26097 | etc_default_login=yes | 27209 | etc_default_login=yes |
26098 | fi | 27210 | fi |
26099 | 27211 | ||
26100 | fi; | 27212 | fi |
27213 | |||
26101 | 27214 | ||
26102 | if test "x$etc_default_login" != "xno"; then | 27215 | if test "x$etc_default_login" != "xno"; then |
26103 | echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 | 27216 | { echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 |
26104 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 | 27217 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6; } |
26105 | if test "${ac_cv_file___etc_default_login_+set}" = set; then | 27218 | if test "${ac_cv_file___etc_default_login_+set}" = set; then |
26106 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 27219 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
26107 | else | 27220 | else |
@@ -26115,8 +27228,8 @@ else | |||
26115 | ac_cv_file___etc_default_login_=no | 27228 | ac_cv_file___etc_default_login_=no |
26116 | fi | 27229 | fi |
26117 | fi | 27230 | fi |
26118 | echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5 | 27231 | { echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5 |
26119 | echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6 | 27232 | echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6; } |
26120 | if test $ac_cv_file___etc_default_login_ = yes; then | 27233 | if test $ac_cv_file___etc_default_login_ = yes; then |
26121 | external_path_file=/etc/default/login | 27234 | external_path_file=/etc/default/login |
26122 | fi | 27235 | fi |
@@ -26138,10 +27251,9 @@ fi | |||
26138 | # Whether to mess with the default path | 27251 | # Whether to mess with the default path |
26139 | SERVER_PATH_MSG="(default)" | 27252 | SERVER_PATH_MSG="(default)" |
26140 | 27253 | ||
26141 | # Check whether --with-default-path or --without-default-path was given. | 27254 | # Check whether --with-default-path was given. |
26142 | if test "${with_default_path+set}" = set; then | 27255 | if test "${with_default_path+set}" = set; then |
26143 | withval="$with_default_path" | 27256 | withval=$with_default_path; |
26144 | |||
26145 | if test "x$external_path_file" = "x/etc/login.conf" ; then | 27257 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
26146 | { echo "$as_me:$LINENO: WARNING: | 27258 | { echo "$as_me:$LINENO: WARNING: |
26147 | --with-default-path=PATH has no effect on this system. | 27259 | --with-default-path=PATH has no effect on this system. |
@@ -26220,13 +27332,22 @@ main() | |||
26220 | 27332 | ||
26221 | _ACEOF | 27333 | _ACEOF |
26222 | rm -f conftest$ac_exeext | 27334 | rm -f conftest$ac_exeext |
26223 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 27335 | if { (ac_try="$ac_link" |
26224 | (eval $ac_link) 2>&5 | 27336 | case "(($ac_try" in |
27337 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27338 | *) ac_try_echo=$ac_try;; | ||
27339 | esac | ||
27340 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27341 | (eval "$ac_link") 2>&5 | ||
26225 | ac_status=$? | 27342 | ac_status=$? |
26226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 27343 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26227 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 27344 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
26228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 27345 | { (case "(($ac_try" in |
26229 | (eval $ac_try) 2>&5 | 27346 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
27347 | *) ac_try_echo=$ac_try;; | ||
27348 | esac | ||
27349 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27350 | (eval "$ac_try") 2>&5 | ||
26230 | ac_status=$? | 27351 | ac_status=$? |
26231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 27352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26232 | (exit $ac_status); }; }; then | 27353 | (exit $ac_status); }; }; then |
@@ -26239,8 +27360,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
26239 | ( exit $ac_status ) | 27360 | ( exit $ac_status ) |
26240 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | 27361 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" |
26241 | fi | 27362 | fi |
26242 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 27363 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
26243 | fi | 27364 | fi |
27365 | |||
27366 | |||
26244 | # make sure $bindir is in USER_PATH so scp will work | 27367 | # make sure $bindir is in USER_PATH so scp will work |
26245 | t_bindir=`eval echo ${bindir}` | 27368 | t_bindir=`eval echo ${bindir}` |
26246 | case $t_bindir in | 27369 | case $t_bindir in |
@@ -26254,13 +27377,14 @@ fi | |||
26254 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 | 27377 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 |
26255 | if test $? -ne 0 ; then | 27378 | if test $? -ne 0 ; then |
26256 | user_path=$user_path:$t_bindir | 27379 | user_path=$user_path:$t_bindir |
26257 | echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 | 27380 | { echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 |
26258 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 | 27381 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6; } |
26259 | fi | 27382 | fi |
26260 | fi | 27383 | fi |
26261 | fi | 27384 | fi |
26262 | 27385 | ||
26263 | fi; | 27386 | fi |
27387 | |||
26264 | if test "x$external_path_file" != "x/etc/login.conf" ; then | 27388 | if test "x$external_path_file" != "x/etc/login.conf" ; then |
26265 | 27389 | ||
26266 | cat >>confdefs.h <<_ACEOF | 27390 | cat >>confdefs.h <<_ACEOF |
@@ -26272,10 +27396,9 @@ fi | |||
26272 | 27396 | ||
26273 | # Set superuser path separately to user path | 27397 | # Set superuser path separately to user path |
26274 | 27398 | ||
26275 | # Check whether --with-superuser-path or --without-superuser-path was given. | 27399 | # Check whether --with-superuser-path was given. |
26276 | if test "${with_superuser_path+set}" = set; then | 27400 | if test "${with_superuser_path+set}" = set; then |
26277 | withval="$with_superuser_path" | 27401 | withval=$with_superuser_path; |
26278 | |||
26279 | if test -n "$withval" && test "x$withval" != "xno" && \ | 27402 | if test -n "$withval" && test "x$withval" != "xno" && \ |
26280 | test "x${withval}" != "xyes"; then | 27403 | test "x${withval}" != "xyes"; then |
26281 | 27404 | ||
@@ -26287,20 +27410,20 @@ _ACEOF | |||
26287 | fi | 27410 | fi |
26288 | 27411 | ||
26289 | 27412 | ||
26290 | fi; | 27413 | fi |
27414 | |||
26291 | 27415 | ||
26292 | 27416 | ||
26293 | echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 | 27417 | { echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 |
26294 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 | 27418 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6; } |
26295 | IPV4_IN6_HACK_MSG="no" | 27419 | IPV4_IN6_HACK_MSG="no" |
26296 | 27420 | ||
26297 | # Check whether --with-4in6 or --without-4in6 was given. | 27421 | # Check whether --with-4in6 was given. |
26298 | if test "${with_4in6+set}" = set; then | 27422 | if test "${with_4in6+set}" = set; then |
26299 | withval="$with_4in6" | 27423 | withval=$with_4in6; |
26300 | |||
26301 | if test "x$withval" != "xno" ; then | 27424 | if test "x$withval" != "xno" ; then |
26302 | echo "$as_me:$LINENO: result: yes" >&5 | 27425 | { echo "$as_me:$LINENO: result: yes" >&5 |
26303 | echo "${ECHO_T}yes" >&6 | 27426 | echo "${ECHO_T}yes" >&6; } |
26304 | 27427 | ||
26305 | cat >>confdefs.h <<\_ACEOF | 27428 | cat >>confdefs.h <<\_ACEOF |
26306 | #define IPV4_IN_IPV6 1 | 27429 | #define IPV4_IN_IPV6 1 |
@@ -26308,35 +27431,35 @@ _ACEOF | |||
26308 | 27431 | ||
26309 | IPV4_IN6_HACK_MSG="yes" | 27432 | IPV4_IN6_HACK_MSG="yes" |
26310 | else | 27433 | else |
26311 | echo "$as_me:$LINENO: result: no" >&5 | 27434 | { echo "$as_me:$LINENO: result: no" >&5 |
26312 | echo "${ECHO_T}no" >&6 | 27435 | echo "${ECHO_T}no" >&6; } |
26313 | fi | 27436 | fi |
26314 | 27437 | ||
26315 | else | 27438 | else |
26316 | 27439 | ||
26317 | if test "x$inet6_default_4in6" = "xyes"; then | 27440 | if test "x$inet6_default_4in6" = "xyes"; then |
26318 | echo "$as_me:$LINENO: result: yes (default)" >&5 | 27441 | { echo "$as_me:$LINENO: result: yes (default)" >&5 |
26319 | echo "${ECHO_T}yes (default)" >&6 | 27442 | echo "${ECHO_T}yes (default)" >&6; } |
26320 | cat >>confdefs.h <<\_ACEOF | 27443 | cat >>confdefs.h <<\_ACEOF |
26321 | #define IPV4_IN_IPV6 1 | 27444 | #define IPV4_IN_IPV6 1 |
26322 | _ACEOF | 27445 | _ACEOF |
26323 | 27446 | ||
26324 | IPV4_IN6_HACK_MSG="yes" | 27447 | IPV4_IN6_HACK_MSG="yes" |
26325 | else | 27448 | else |
26326 | echo "$as_me:$LINENO: result: no (default)" >&5 | 27449 | { echo "$as_me:$LINENO: result: no (default)" >&5 |
26327 | echo "${ECHO_T}no (default)" >&6 | 27450 | echo "${ECHO_T}no (default)" >&6; } |
26328 | fi | 27451 | fi |
26329 | 27452 | ||
26330 | 27453 | ||
26331 | fi; | 27454 | fi |
27455 | |||
26332 | 27456 | ||
26333 | # Whether to enable BSD auth support | 27457 | # Whether to enable BSD auth support |
26334 | BSD_AUTH_MSG=no | 27458 | BSD_AUTH_MSG=no |
26335 | 27459 | ||
26336 | # Check whether --with-bsd-auth or --without-bsd-auth was given. | 27460 | # Check whether --with-bsd-auth was given. |
26337 | if test "${with_bsd_auth+set}" = set; then | 27461 | if test "${with_bsd_auth+set}" = set; then |
26338 | withval="$with_bsd_auth" | 27462 | withval=$with_bsd_auth; |
26339 | |||
26340 | if test "x$withval" != "xno" ; then | 27463 | if test "x$withval" != "xno" ; then |
26341 | 27464 | ||
26342 | cat >>confdefs.h <<\_ACEOF | 27465 | cat >>confdefs.h <<\_ACEOF |
@@ -26347,7 +27470,8 @@ _ACEOF | |||
26347 | fi | 27470 | fi |
26348 | 27471 | ||
26349 | 27472 | ||
26350 | fi; | 27473 | fi |
27474 | |||
26351 | 27475 | ||
26352 | # Where to place sshd.pid | 27476 | # Where to place sshd.pid |
26353 | piddir=/var/run | 27477 | piddir=/var/run |
@@ -26360,10 +27484,9 @@ if test ! -d $piddir ; then | |||
26360 | fi | 27484 | fi |
26361 | 27485 | ||
26362 | 27486 | ||
26363 | # Check whether --with-pid-dir or --without-pid-dir was given. | 27487 | # Check whether --with-pid-dir was given. |
26364 | if test "${with_pid_dir+set}" = set; then | 27488 | if test "${with_pid_dir+set}" = set; then |
26365 | withval="$with_pid_dir" | 27489 | withval=$with_pid_dir; |
26366 | |||
26367 | if test -n "$withval" && test "x$withval" != "xno" && \ | 27490 | if test -n "$withval" && test "x$withval" != "xno" && \ |
26368 | test "x${withval}" != "xyes"; then | 27491 | test "x${withval}" != "xyes"; then |
26369 | piddir=$withval | 27492 | piddir=$withval |
@@ -26374,7 +27497,8 @@ echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} | |||
26374 | fi | 27497 | fi |
26375 | 27498 | ||
26376 | 27499 | ||
26377 | fi; | 27500 | fi |
27501 | |||
26378 | 27502 | ||
26379 | 27503 | ||
26380 | cat >>confdefs.h <<_ACEOF | 27504 | cat >>confdefs.h <<_ACEOF |
@@ -26383,10 +27507,9 @@ _ACEOF | |||
26383 | 27507 | ||
26384 | 27508 | ||
26385 | 27509 | ||
26386 | # Check whether --enable-lastlog or --disable-lastlog was given. | 27510 | # Check whether --enable-lastlog was given. |
26387 | if test "${enable_lastlog+set}" = set; then | 27511 | if test "${enable_lastlog+set}" = set; then |
26388 | enableval="$enable_lastlog" | 27512 | enableval=$enable_lastlog; |
26389 | |||
26390 | if test "x$enableval" = "xno" ; then | 27513 | if test "x$enableval" = "xno" ; then |
26391 | cat >>confdefs.h <<\_ACEOF | 27514 | cat >>confdefs.h <<\_ACEOF |
26392 | #define DISABLE_LASTLOG 1 | 27515 | #define DISABLE_LASTLOG 1 |
@@ -26395,11 +27518,11 @@ _ACEOF | |||
26395 | fi | 27518 | fi |
26396 | 27519 | ||
26397 | 27520 | ||
26398 | fi; | 27521 | fi |
26399 | # Check whether --enable-utmp or --disable-utmp was given. | ||
26400 | if test "${enable_utmp+set}" = set; then | ||
26401 | enableval="$enable_utmp" | ||
26402 | 27522 | ||
27523 | # Check whether --enable-utmp was given. | ||
27524 | if test "${enable_utmp+set}" = set; then | ||
27525 | enableval=$enable_utmp; | ||
26403 | if test "x$enableval" = "xno" ; then | 27526 | if test "x$enableval" = "xno" ; then |
26404 | cat >>confdefs.h <<\_ACEOF | 27527 | cat >>confdefs.h <<\_ACEOF |
26405 | #define DISABLE_UTMP 1 | 27528 | #define DISABLE_UTMP 1 |
@@ -26408,11 +27531,11 @@ _ACEOF | |||
26408 | fi | 27531 | fi |
26409 | 27532 | ||
26410 | 27533 | ||
26411 | fi; | 27534 | fi |
26412 | # Check whether --enable-utmpx or --disable-utmpx was given. | ||
26413 | if test "${enable_utmpx+set}" = set; then | ||
26414 | enableval="$enable_utmpx" | ||
26415 | 27535 | ||
27536 | # Check whether --enable-utmpx was given. | ||
27537 | if test "${enable_utmpx+set}" = set; then | ||
27538 | enableval=$enable_utmpx; | ||
26416 | if test "x$enableval" = "xno" ; then | 27539 | if test "x$enableval" = "xno" ; then |
26417 | 27540 | ||
26418 | cat >>confdefs.h <<\_ACEOF | 27541 | cat >>confdefs.h <<\_ACEOF |
@@ -26422,11 +27545,11 @@ _ACEOF | |||
26422 | fi | 27545 | fi |
26423 | 27546 | ||
26424 | 27547 | ||
26425 | fi; | 27548 | fi |
26426 | # Check whether --enable-wtmp or --disable-wtmp was given. | ||
26427 | if test "${enable_wtmp+set}" = set; then | ||
26428 | enableval="$enable_wtmp" | ||
26429 | 27549 | ||
27550 | # Check whether --enable-wtmp was given. | ||
27551 | if test "${enable_wtmp+set}" = set; then | ||
27552 | enableval=$enable_wtmp; | ||
26430 | if test "x$enableval" = "xno" ; then | 27553 | if test "x$enableval" = "xno" ; then |
26431 | cat >>confdefs.h <<\_ACEOF | 27554 | cat >>confdefs.h <<\_ACEOF |
26432 | #define DISABLE_WTMP 1 | 27555 | #define DISABLE_WTMP 1 |
@@ -26435,11 +27558,11 @@ _ACEOF | |||
26435 | fi | 27558 | fi |
26436 | 27559 | ||
26437 | 27560 | ||
26438 | fi; | 27561 | fi |
26439 | # Check whether --enable-wtmpx or --disable-wtmpx was given. | ||
26440 | if test "${enable_wtmpx+set}" = set; then | ||
26441 | enableval="$enable_wtmpx" | ||
26442 | 27562 | ||
27563 | # Check whether --enable-wtmpx was given. | ||
27564 | if test "${enable_wtmpx+set}" = set; then | ||
27565 | enableval=$enable_wtmpx; | ||
26443 | if test "x$enableval" = "xno" ; then | 27566 | if test "x$enableval" = "xno" ; then |
26444 | 27567 | ||
26445 | cat >>confdefs.h <<\_ACEOF | 27568 | cat >>confdefs.h <<\_ACEOF |
@@ -26449,11 +27572,11 @@ _ACEOF | |||
26449 | fi | 27572 | fi |
26450 | 27573 | ||
26451 | 27574 | ||
26452 | fi; | 27575 | fi |
26453 | # Check whether --enable-libutil or --disable-libutil was given. | ||
26454 | if test "${enable_libutil+set}" = set; then | ||
26455 | enableval="$enable_libutil" | ||
26456 | 27576 | ||
27577 | # Check whether --enable-libutil was given. | ||
27578 | if test "${enable_libutil+set}" = set; then | ||
27579 | enableval=$enable_libutil; | ||
26457 | if test "x$enableval" = "xno" ; then | 27580 | if test "x$enableval" = "xno" ; then |
26458 | cat >>confdefs.h <<\_ACEOF | 27581 | cat >>confdefs.h <<\_ACEOF |
26459 | #define DISABLE_LOGIN 1 | 27582 | #define DISABLE_LOGIN 1 |
@@ -26462,11 +27585,11 @@ _ACEOF | |||
26462 | fi | 27585 | fi |
26463 | 27586 | ||
26464 | 27587 | ||
26465 | fi; | 27588 | fi |
26466 | # Check whether --enable-pututline or --disable-pututline was given. | ||
26467 | if test "${enable_pututline+set}" = set; then | ||
26468 | enableval="$enable_pututline" | ||
26469 | 27589 | ||
27590 | # Check whether --enable-pututline was given. | ||
27591 | if test "${enable_pututline+set}" = set; then | ||
27592 | enableval=$enable_pututline; | ||
26470 | if test "x$enableval" = "xno" ; then | 27593 | if test "x$enableval" = "xno" ; then |
26471 | 27594 | ||
26472 | cat >>confdefs.h <<\_ACEOF | 27595 | cat >>confdefs.h <<\_ACEOF |
@@ -26476,11 +27599,11 @@ _ACEOF | |||
26476 | fi | 27599 | fi |
26477 | 27600 | ||
26478 | 27601 | ||
26479 | fi; | 27602 | fi |
26480 | # Check whether --enable-pututxline or --disable-pututxline was given. | ||
26481 | if test "${enable_pututxline+set}" = set; then | ||
26482 | enableval="$enable_pututxline" | ||
26483 | 27603 | ||
27604 | # Check whether --enable-pututxline was given. | ||
27605 | if test "${enable_pututxline+set}" = set; then | ||
27606 | enableval=$enable_pututxline; | ||
26484 | if test "x$enableval" = "xno" ; then | 27607 | if test "x$enableval" = "xno" ; then |
26485 | 27608 | ||
26486 | cat >>confdefs.h <<\_ACEOF | 27609 | cat >>confdefs.h <<\_ACEOF |
@@ -26490,12 +27613,12 @@ _ACEOF | |||
26490 | fi | 27613 | fi |
26491 | 27614 | ||
26492 | 27615 | ||
26493 | fi; | 27616 | fi |
27617 | |||
26494 | 27618 | ||
26495 | # Check whether --with-lastlog or --without-lastlog was given. | 27619 | # Check whether --with-lastlog was given. |
26496 | if test "${with_lastlog+set}" = set; then | 27620 | if test "${with_lastlog+set}" = set; then |
26497 | withval="$with_lastlog" | 27621 | withval=$with_lastlog; |
26498 | |||
26499 | if test "x$withval" = "xno" ; then | 27622 | if test "x$withval" = "xno" ; then |
26500 | cat >>confdefs.h <<\_ACEOF | 27623 | cat >>confdefs.h <<\_ACEOF |
26501 | #define DISABLE_LASTLOG 1 | 27624 | #define DISABLE_LASTLOG 1 |
@@ -26506,11 +27629,12 @@ _ACEOF | |||
26506 | fi | 27629 | fi |
26507 | 27630 | ||
26508 | 27631 | ||
26509 | fi; | 27632 | fi |
27633 | |||
26510 | 27634 | ||
26511 | 27635 | ||
26512 | echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5 | 27636 | { echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5 |
26513 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 | 27637 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; } |
26514 | cat >conftest.$ac_ext <<_ACEOF | 27638 | cat >conftest.$ac_ext <<_ACEOF |
26515 | /* confdefs.h. */ | 27639 | /* confdefs.h. */ |
26516 | _ACEOF | 27640 | _ACEOF |
@@ -26539,38 +27663,33 @@ main () | |||
26539 | } | 27663 | } |
26540 | _ACEOF | 27664 | _ACEOF |
26541 | rm -f conftest.$ac_objext | 27665 | rm -f conftest.$ac_objext |
26542 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 27666 | if { (ac_try="$ac_compile" |
26543 | (eval $ac_compile) 2>conftest.er1 | 27667 | case "(($ac_try" in |
27668 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27669 | *) ac_try_echo=$ac_try;; | ||
27670 | esac | ||
27671 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27672 | (eval "$ac_compile") 2>conftest.er1 | ||
26544 | ac_status=$? | 27673 | ac_status=$? |
26545 | grep -v '^ *+' conftest.er1 >conftest.err | 27674 | grep -v '^ *+' conftest.er1 >conftest.err |
26546 | rm -f conftest.er1 | 27675 | rm -f conftest.er1 |
26547 | cat conftest.err >&5 | 27676 | cat conftest.err >&5 |
26548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 27677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26549 | (exit $ac_status); } && | 27678 | (exit $ac_status); } && { |
26550 | { ac_try='test -z "$ac_c_werror_flag" | 27679 | test -z "$ac_c_werror_flag" || |
26551 | || test ! -s conftest.err' | 27680 | test ! -s conftest.err |
26552 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 27681 | } && test -s conftest.$ac_objext; then |
26553 | (eval $ac_try) 2>&5 | 27682 | { echo "$as_me:$LINENO: result: yes" >&5 |
26554 | ac_status=$? | 27683 | echo "${ECHO_T}yes" >&6; } |
26555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26556 | (exit $ac_status); }; } && | ||
26557 | { ac_try='test -s conftest.$ac_objext' | ||
26558 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
26559 | (eval $ac_try) 2>&5 | ||
26560 | ac_status=$? | ||
26561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26562 | (exit $ac_status); }; }; then | ||
26563 | echo "$as_me:$LINENO: result: yes" >&5 | ||
26564 | echo "${ECHO_T}yes" >&6 | ||
26565 | else | 27684 | else |
26566 | echo "$as_me: failed program was:" >&5 | 27685 | echo "$as_me: failed program was:" >&5 |
26567 | sed 's/^/| /' conftest.$ac_ext >&5 | 27686 | sed 's/^/| /' conftest.$ac_ext >&5 |
26568 | 27687 | ||
26569 | 27688 | ||
26570 | echo "$as_me:$LINENO: result: no" >&5 | 27689 | { echo "$as_me:$LINENO: result: no" >&5 |
26571 | echo "${ECHO_T}no" >&6 | 27690 | echo "${ECHO_T}no" >&6; } |
26572 | echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 | 27691 | { echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 |
26573 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 | 27692 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6; } |
26574 | cat >conftest.$ac_ext <<_ACEOF | 27693 | cat >conftest.$ac_ext <<_ACEOF |
26575 | /* confdefs.h. */ | 27694 | /* confdefs.h. */ |
26576 | _ACEOF | 27695 | _ACEOF |
@@ -26596,44 +27715,41 @@ main () | |||
26596 | } | 27715 | } |
26597 | _ACEOF | 27716 | _ACEOF |
26598 | rm -f conftest.$ac_objext | 27717 | rm -f conftest.$ac_objext |
26599 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 27718 | if { (ac_try="$ac_compile" |
26600 | (eval $ac_compile) 2>conftest.er1 | 27719 | case "(($ac_try" in |
27720 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27721 | *) ac_try_echo=$ac_try;; | ||
27722 | esac | ||
27723 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27724 | (eval "$ac_compile") 2>conftest.er1 | ||
26601 | ac_status=$? | 27725 | ac_status=$? |
26602 | grep -v '^ *+' conftest.er1 >conftest.err | 27726 | grep -v '^ *+' conftest.er1 >conftest.err |
26603 | rm -f conftest.er1 | 27727 | rm -f conftest.er1 |
26604 | cat conftest.err >&5 | 27728 | cat conftest.err >&5 |
26605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 27729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26606 | (exit $ac_status); } && | 27730 | (exit $ac_status); } && { |
26607 | { ac_try='test -z "$ac_c_werror_flag" | 27731 | test -z "$ac_c_werror_flag" || |
26608 | || test ! -s conftest.err' | 27732 | test ! -s conftest.err |
26609 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 27733 | } && test -s conftest.$ac_objext; then |
26610 | (eval $ac_try) 2>&5 | 27734 | { echo "$as_me:$LINENO: result: yes" >&5 |
26611 | ac_status=$? | 27735 | echo "${ECHO_T}yes" >&6; } |
26612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26613 | (exit $ac_status); }; } && | ||
26614 | { ac_try='test -s conftest.$ac_objext' | ||
26615 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
26616 | (eval $ac_try) 2>&5 | ||
26617 | ac_status=$? | ||
26618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26619 | (exit $ac_status); }; }; then | ||
26620 | echo "$as_me:$LINENO: result: yes" >&5 | ||
26621 | echo "${ECHO_T}yes" >&6 | ||
26622 | else | 27736 | else |
26623 | echo "$as_me: failed program was:" >&5 | 27737 | echo "$as_me: failed program was:" >&5 |
26624 | sed 's/^/| /' conftest.$ac_ext >&5 | 27738 | sed 's/^/| /' conftest.$ac_ext >&5 |
26625 | 27739 | ||
26626 | 27740 | ||
26627 | echo "$as_me:$LINENO: result: no" >&5 | 27741 | { echo "$as_me:$LINENO: result: no" >&5 |
26628 | echo "${ECHO_T}no" >&6 | 27742 | echo "${ECHO_T}no" >&6; } |
26629 | system_lastlog_path=no | 27743 | system_lastlog_path=no |
26630 | 27744 | ||
26631 | fi | 27745 | fi |
26632 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 27746 | |
27747 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26633 | 27748 | ||
26634 | 27749 | ||
26635 | fi | 27750 | fi |
26636 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 27751 | |
27752 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26637 | 27753 | ||
26638 | if test -z "$conf_lastlog_location"; then | 27754 | if test -z "$conf_lastlog_location"; then |
26639 | if test x"$system_lastlog_path" = x"no" ; then | 27755 | if test x"$system_lastlog_path" = x"no" ; then |
@@ -26657,8 +27773,8 @@ _ACEOF | |||
26657 | 27773 | ||
26658 | fi | 27774 | fi |
26659 | 27775 | ||
26660 | echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 | 27776 | { echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 |
26661 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 | 27777 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; } |
26662 | cat >conftest.$ac_ext <<_ACEOF | 27778 | cat >conftest.$ac_ext <<_ACEOF |
26663 | /* confdefs.h. */ | 27779 | /* confdefs.h. */ |
26664 | _ACEOF | 27780 | _ACEOF |
@@ -26681,39 +27797,35 @@ main () | |||
26681 | } | 27797 | } |
26682 | _ACEOF | 27798 | _ACEOF |
26683 | rm -f conftest.$ac_objext | 27799 | rm -f conftest.$ac_objext |
26684 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 27800 | if { (ac_try="$ac_compile" |
26685 | (eval $ac_compile) 2>conftest.er1 | 27801 | case "(($ac_try" in |
27802 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27803 | *) ac_try_echo=$ac_try;; | ||
27804 | esac | ||
27805 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27806 | (eval "$ac_compile") 2>conftest.er1 | ||
26686 | ac_status=$? | 27807 | ac_status=$? |
26687 | grep -v '^ *+' conftest.er1 >conftest.err | 27808 | grep -v '^ *+' conftest.er1 >conftest.err |
26688 | rm -f conftest.er1 | 27809 | rm -f conftest.er1 |
26689 | cat conftest.err >&5 | 27810 | cat conftest.err >&5 |
26690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 27811 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26691 | (exit $ac_status); } && | 27812 | (exit $ac_status); } && { |
26692 | { ac_try='test -z "$ac_c_werror_flag" | 27813 | test -z "$ac_c_werror_flag" || |
26693 | || test ! -s conftest.err' | 27814 | test ! -s conftest.err |
26694 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 27815 | } && test -s conftest.$ac_objext; then |
26695 | (eval $ac_try) 2>&5 | 27816 | { echo "$as_me:$LINENO: result: yes" >&5 |
26696 | ac_status=$? | 27817 | echo "${ECHO_T}yes" >&6; } |
26697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26698 | (exit $ac_status); }; } && | ||
26699 | { ac_try='test -s conftest.$ac_objext' | ||
26700 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
26701 | (eval $ac_try) 2>&5 | ||
26702 | ac_status=$? | ||
26703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26704 | (exit $ac_status); }; }; then | ||
26705 | echo "$as_me:$LINENO: result: yes" >&5 | ||
26706 | echo "${ECHO_T}yes" >&6 | ||
26707 | else | 27818 | else |
26708 | echo "$as_me: failed program was:" >&5 | 27819 | echo "$as_me: failed program was:" >&5 |
26709 | sed 's/^/| /' conftest.$ac_ext >&5 | 27820 | sed 's/^/| /' conftest.$ac_ext >&5 |
26710 | 27821 | ||
26711 | echo "$as_me:$LINENO: result: no" >&5 | 27822 | { echo "$as_me:$LINENO: result: no" >&5 |
26712 | echo "${ECHO_T}no" >&6 | 27823 | echo "${ECHO_T}no" >&6; } |
26713 | system_utmp_path=no | 27824 | system_utmp_path=no |
26714 | 27825 | ||
26715 | fi | 27826 | fi |
26716 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 27827 | |
27828 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26717 | if test -z "$conf_utmp_location"; then | 27829 | if test -z "$conf_utmp_location"; then |
26718 | if test x"$system_utmp_path" = x"no" ; then | 27830 | if test x"$system_utmp_path" = x"no" ; then |
26719 | for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do | 27831 | for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do |
@@ -26737,8 +27849,8 @@ _ACEOF | |||
26737 | 27849 | ||
26738 | fi | 27850 | fi |
26739 | 27851 | ||
26740 | echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 | 27852 | { echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 |
26741 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 | 27853 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; } |
26742 | cat >conftest.$ac_ext <<_ACEOF | 27854 | cat >conftest.$ac_ext <<_ACEOF |
26743 | /* confdefs.h. */ | 27855 | /* confdefs.h. */ |
26744 | _ACEOF | 27856 | _ACEOF |
@@ -26761,39 +27873,35 @@ main () | |||
26761 | } | 27873 | } |
26762 | _ACEOF | 27874 | _ACEOF |
26763 | rm -f conftest.$ac_objext | 27875 | rm -f conftest.$ac_objext |
26764 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 27876 | if { (ac_try="$ac_compile" |
26765 | (eval $ac_compile) 2>conftest.er1 | 27877 | case "(($ac_try" in |
27878 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27879 | *) ac_try_echo=$ac_try;; | ||
27880 | esac | ||
27881 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27882 | (eval "$ac_compile") 2>conftest.er1 | ||
26766 | ac_status=$? | 27883 | ac_status=$? |
26767 | grep -v '^ *+' conftest.er1 >conftest.err | 27884 | grep -v '^ *+' conftest.er1 >conftest.err |
26768 | rm -f conftest.er1 | 27885 | rm -f conftest.er1 |
26769 | cat conftest.err >&5 | 27886 | cat conftest.err >&5 |
26770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 27887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26771 | (exit $ac_status); } && | 27888 | (exit $ac_status); } && { |
26772 | { ac_try='test -z "$ac_c_werror_flag" | 27889 | test -z "$ac_c_werror_flag" || |
26773 | || test ! -s conftest.err' | 27890 | test ! -s conftest.err |
26774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 27891 | } && test -s conftest.$ac_objext; then |
26775 | (eval $ac_try) 2>&5 | 27892 | { echo "$as_me:$LINENO: result: yes" >&5 |
26776 | ac_status=$? | 27893 | echo "${ECHO_T}yes" >&6; } |
26777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26778 | (exit $ac_status); }; } && | ||
26779 | { ac_try='test -s conftest.$ac_objext' | ||
26780 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
26781 | (eval $ac_try) 2>&5 | ||
26782 | ac_status=$? | ||
26783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26784 | (exit $ac_status); }; }; then | ||
26785 | echo "$as_me:$LINENO: result: yes" >&5 | ||
26786 | echo "${ECHO_T}yes" >&6 | ||
26787 | else | 27894 | else |
26788 | echo "$as_me: failed program was:" >&5 | 27895 | echo "$as_me: failed program was:" >&5 |
26789 | sed 's/^/| /' conftest.$ac_ext >&5 | 27896 | sed 's/^/| /' conftest.$ac_ext >&5 |
26790 | 27897 | ||
26791 | echo "$as_me:$LINENO: result: no" >&5 | 27898 | { echo "$as_me:$LINENO: result: no" >&5 |
26792 | echo "${ECHO_T}no" >&6 | 27899 | echo "${ECHO_T}no" >&6; } |
26793 | system_wtmp_path=no | 27900 | system_wtmp_path=no |
26794 | 27901 | ||
26795 | fi | 27902 | fi |
26796 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 27903 | |
27904 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26797 | if test -z "$conf_wtmp_location"; then | 27905 | if test -z "$conf_wtmp_location"; then |
26798 | if test x"$system_wtmp_path" = x"no" ; then | 27906 | if test x"$system_wtmp_path" = x"no" ; then |
26799 | for f in /usr/adm/wtmp /var/log/wtmp; do | 27907 | for f in /usr/adm/wtmp /var/log/wtmp; do |
@@ -26818,8 +27926,8 @@ _ACEOF | |||
26818 | fi | 27926 | fi |
26819 | 27927 | ||
26820 | 27928 | ||
26821 | echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5 | 27929 | { echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5 |
26822 | echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 | 27930 | echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6; } |
26823 | cat >conftest.$ac_ext <<_ACEOF | 27931 | cat >conftest.$ac_ext <<_ACEOF |
26824 | /* confdefs.h. */ | 27932 | /* confdefs.h. */ |
26825 | _ACEOF | 27933 | _ACEOF |
@@ -26845,39 +27953,35 @@ main () | |||
26845 | } | 27953 | } |
26846 | _ACEOF | 27954 | _ACEOF |
26847 | rm -f conftest.$ac_objext | 27955 | rm -f conftest.$ac_objext |
26848 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 27956 | if { (ac_try="$ac_compile" |
26849 | (eval $ac_compile) 2>conftest.er1 | 27957 | case "(($ac_try" in |
27958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27959 | *) ac_try_echo=$ac_try;; | ||
27960 | esac | ||
27961 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27962 | (eval "$ac_compile") 2>conftest.er1 | ||
26850 | ac_status=$? | 27963 | ac_status=$? |
26851 | grep -v '^ *+' conftest.er1 >conftest.err | 27964 | grep -v '^ *+' conftest.er1 >conftest.err |
26852 | rm -f conftest.er1 | 27965 | rm -f conftest.er1 |
26853 | cat conftest.err >&5 | 27966 | cat conftest.err >&5 |
26854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 27967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26855 | (exit $ac_status); } && | 27968 | (exit $ac_status); } && { |
26856 | { ac_try='test -z "$ac_c_werror_flag" | 27969 | test -z "$ac_c_werror_flag" || |
26857 | || test ! -s conftest.err' | 27970 | test ! -s conftest.err |
26858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 27971 | } && test -s conftest.$ac_objext; then |
26859 | (eval $ac_try) 2>&5 | 27972 | { echo "$as_me:$LINENO: result: yes" >&5 |
26860 | ac_status=$? | 27973 | echo "${ECHO_T}yes" >&6; } |
26861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26862 | (exit $ac_status); }; } && | ||
26863 | { ac_try='test -s conftest.$ac_objext' | ||
26864 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
26865 | (eval $ac_try) 2>&5 | ||
26866 | ac_status=$? | ||
26867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26868 | (exit $ac_status); }; }; then | ||
26869 | echo "$as_me:$LINENO: result: yes" >&5 | ||
26870 | echo "${ECHO_T}yes" >&6 | ||
26871 | else | 27974 | else |
26872 | echo "$as_me: failed program was:" >&5 | 27975 | echo "$as_me: failed program was:" >&5 |
26873 | sed 's/^/| /' conftest.$ac_ext >&5 | 27976 | sed 's/^/| /' conftest.$ac_ext >&5 |
26874 | 27977 | ||
26875 | echo "$as_me:$LINENO: result: no" >&5 | 27978 | { echo "$as_me:$LINENO: result: no" >&5 |
26876 | echo "${ECHO_T}no" >&6 | 27979 | echo "${ECHO_T}no" >&6; } |
26877 | system_utmpx_path=no | 27980 | system_utmpx_path=no |
26878 | 27981 | ||
26879 | fi | 27982 | fi |
26880 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 27983 | |
27984 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26881 | if test -z "$conf_utmpx_location"; then | 27985 | if test -z "$conf_utmpx_location"; then |
26882 | if test x"$system_utmpx_path" = x"no" ; then | 27986 | if test x"$system_utmpx_path" = x"no" ; then |
26883 | cat >>confdefs.h <<\_ACEOF | 27987 | cat >>confdefs.h <<\_ACEOF |
@@ -26893,8 +27997,8 @@ _ACEOF | |||
26893 | 27997 | ||
26894 | fi | 27998 | fi |
26895 | 27999 | ||
26896 | echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 | 28000 | { echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 |
26897 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 | 28001 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; } |
26898 | cat >conftest.$ac_ext <<_ACEOF | 28002 | cat >conftest.$ac_ext <<_ACEOF |
26899 | /* confdefs.h. */ | 28003 | /* confdefs.h. */ |
26900 | _ACEOF | 28004 | _ACEOF |
@@ -26920,39 +28024,35 @@ main () | |||
26920 | } | 28024 | } |
26921 | _ACEOF | 28025 | _ACEOF |
26922 | rm -f conftest.$ac_objext | 28026 | rm -f conftest.$ac_objext |
26923 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 28027 | if { (ac_try="$ac_compile" |
26924 | (eval $ac_compile) 2>conftest.er1 | 28028 | case "(($ac_try" in |
28029 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28030 | *) ac_try_echo=$ac_try;; | ||
28031 | esac | ||
28032 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28033 | (eval "$ac_compile") 2>conftest.er1 | ||
26925 | ac_status=$? | 28034 | ac_status=$? |
26926 | grep -v '^ *+' conftest.er1 >conftest.err | 28035 | grep -v '^ *+' conftest.er1 >conftest.err |
26927 | rm -f conftest.er1 | 28036 | rm -f conftest.er1 |
26928 | cat conftest.err >&5 | 28037 | cat conftest.err >&5 |
26929 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 28038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
26930 | (exit $ac_status); } && | 28039 | (exit $ac_status); } && { |
26931 | { ac_try='test -z "$ac_c_werror_flag" | 28040 | test -z "$ac_c_werror_flag" || |
26932 | || test ! -s conftest.err' | 28041 | test ! -s conftest.err |
26933 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 28042 | } && test -s conftest.$ac_objext; then |
26934 | (eval $ac_try) 2>&5 | 28043 | { echo "$as_me:$LINENO: result: yes" >&5 |
26935 | ac_status=$? | 28044 | echo "${ECHO_T}yes" >&6; } |
26936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26937 | (exit $ac_status); }; } && | ||
26938 | { ac_try='test -s conftest.$ac_objext' | ||
26939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
26940 | (eval $ac_try) 2>&5 | ||
26941 | ac_status=$? | ||
26942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26943 | (exit $ac_status); }; }; then | ||
26944 | echo "$as_me:$LINENO: result: yes" >&5 | ||
26945 | echo "${ECHO_T}yes" >&6 | ||
26946 | else | 28045 | else |
26947 | echo "$as_me: failed program was:" >&5 | 28046 | echo "$as_me: failed program was:" >&5 |
26948 | sed 's/^/| /' conftest.$ac_ext >&5 | 28047 | sed 's/^/| /' conftest.$ac_ext >&5 |
26949 | 28048 | ||
26950 | echo "$as_me:$LINENO: result: no" >&5 | 28049 | { echo "$as_me:$LINENO: result: no" >&5 |
26951 | echo "${ECHO_T}no" >&6 | 28050 | echo "${ECHO_T}no" >&6; } |
26952 | system_wtmpx_path=no | 28051 | system_wtmpx_path=no |
26953 | 28052 | ||
26954 | fi | 28053 | fi |
26955 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 28054 | |
28055 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26956 | if test -z "$conf_wtmpx_location"; then | 28056 | if test -z "$conf_wtmpx_location"; then |
26957 | if test x"$system_wtmpx_path" = x"no" ; then | 28057 | if test x"$system_wtmpx_path" = x"no" ; then |
26958 | cat >>confdefs.h <<\_ACEOF | 28058 | cat >>confdefs.h <<\_ACEOF |
@@ -26975,17 +28075,10 @@ if test ! -z "$blibpath" ; then | |||
26975 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} | 28075 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} |
26976 | fi | 28076 | fi |
26977 | 28077 | ||
26978 | if test "$PAM_MSG" = yes ; then | ||
26979 | LIBS=`echo $LIBS | sed 's/-lpam //'` | ||
26980 | fi | ||
26981 | if test "$ac_cv_lib_pam_pam_set_item" = yes ; then | ||
26982 | LIBS=`echo $LIBS | sed 's/-ldl //'` | ||
26983 | fi | ||
26984 | |||
26985 | CFLAGS="$CFLAGS $werror_flags" | 28078 | CFLAGS="$CFLAGS $werror_flags" |
26986 | 28079 | ||
26987 | 28080 | ||
26988 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds survey.sh" | 28081 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openssh.xml openbsd-compat/Makefile openbsd-compat/regress/Makefile scard/Makefile ssh_prng_cmds survey.sh" |
26989 | 28082 | ||
26990 | cat >confcache <<\_ACEOF | 28083 | cat >confcache <<\_ACEOF |
26991 | # This file is a shell script that caches the results of configure | 28084 | # This file is a shell script that caches the results of configure |
@@ -27005,39 +28098,58 @@ _ACEOF | |||
27005 | 28098 | ||
27006 | # The following way of writing the cache mishandles newlines in values, | 28099 | # The following way of writing the cache mishandles newlines in values, |
27007 | # but we know of no workaround that is simple, portable, and efficient. | 28100 | # but we know of no workaround that is simple, portable, and efficient. |
27008 | # So, don't put newlines in cache variables' values. | 28101 | # So, we kill variables containing newlines. |
27009 | # Ultrix sh set writes to stderr and can't be redirected directly, | 28102 | # Ultrix sh set writes to stderr and can't be redirected directly, |
27010 | # and sets the high bit in the cache file unless we assign to the vars. | 28103 | # and sets the high bit in the cache file unless we assign to the vars. |
27011 | { | 28104 | ( |
28105 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | ||
28106 | eval ac_val=\$$ac_var | ||
28107 | case $ac_val in #( | ||
28108 | *${as_nl}*) | ||
28109 | case $ac_var in #( | ||
28110 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | ||
28111 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | ||
28112 | esac | ||
28113 | case $ac_var in #( | ||
28114 | _ | IFS | as_nl) ;; #( | ||
28115 | *) $as_unset $ac_var ;; | ||
28116 | esac ;; | ||
28117 | esac | ||
28118 | done | ||
28119 | |||
27012 | (set) 2>&1 | | 28120 | (set) 2>&1 | |
27013 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 28121 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
27014 | *ac_space=\ *) | 28122 | *${as_nl}ac_space=\ *) |
27015 | # `set' does not quote correctly, so add quotes (double-quote | 28123 | # `set' does not quote correctly, so add quotes (double-quote |
27016 | # substitution turns \\\\ into \\, and sed turns \\ into \). | 28124 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
27017 | sed -n \ | 28125 | sed -n \ |
27018 | "s/'/'\\\\''/g; | 28126 | "s/'/'\\\\''/g; |
27019 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 28127 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
27020 | ;; | 28128 | ;; #( |
27021 | *) | 28129 | *) |
27022 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 28130 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
27023 | sed -n \ | 28131 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
27024 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
27025 | ;; | 28132 | ;; |
27026 | esac; | 28133 | esac | |
27027 | } | | 28134 | sort |
28135 | ) | | ||
27028 | sed ' | 28136 | sed ' |
28137 | /^ac_cv_env_/b end | ||
27029 | t clear | 28138 | t clear |
27030 | : clear | 28139 | :clear |
27031 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 28140 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
27032 | t end | 28141 | t end |
27033 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 28142 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
27034 | : end' >>confcache | 28143 | :end' >>confcache |
27035 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 28144 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
27036 | if test -w $cache_file; then | 28145 | if test -w "$cache_file"; then |
27037 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 28146 | test "x$cache_file" != "x/dev/null" && |
28147 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | ||
28148 | echo "$as_me: updating cache $cache_file" >&6;} | ||
27038 | cat confcache >$cache_file | 28149 | cat confcache >$cache_file |
27039 | else | 28150 | else |
27040 | echo "not updating unwritable cache $cache_file" | 28151 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
28152 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} | ||
27041 | fi | 28153 | fi |
27042 | fi | 28154 | fi |
27043 | rm -f confcache | 28155 | rm -f confcache |
@@ -27046,32 +28158,18 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix | |||
27046 | # Let make expand exec_prefix. | 28158 | # Let make expand exec_prefix. |
27047 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 28159 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
27048 | 28160 | ||
27049 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
27050 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
27051 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
27052 | # (actually we leave an empty line to preserve line numbers). | ||
27053 | if test "x$srcdir" = x.; then | ||
27054 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
27055 | s/:*\$(srcdir):*/:/; | ||
27056 | s/:*\${srcdir}:*/:/; | ||
27057 | s/:*@srcdir@:*/:/; | ||
27058 | s/^\([^=]*=[ ]*\):*/\1/; | ||
27059 | s/:*$//; | ||
27060 | s/^[^=]*=[ ]*$//; | ||
27061 | }' | ||
27062 | fi | ||
27063 | |||
27064 | DEFS=-DHAVE_CONFIG_H | 28161 | DEFS=-DHAVE_CONFIG_H |
27065 | 28162 | ||
27066 | ac_libobjs= | 28163 | ac_libobjs= |
27067 | ac_ltlibobjs= | 28164 | ac_ltlibobjs= |
27068 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 28165 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
27069 | # 1. Remove the extension, and $U if already installed. | 28166 | # 1. Remove the extension, and $U if already installed. |
27070 | ac_i=`echo "$ac_i" | | 28167 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
27071 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 28168 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
27072 | # 2. Add them. | 28169 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
27073 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 28170 | # will be set to the directory where LIBOBJS objects are built. |
27074 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 28171 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
28172 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | ||
27075 | done | 28173 | done |
27076 | LIBOBJS=$ac_libobjs | 28174 | LIBOBJS=$ac_libobjs |
27077 | 28175 | ||
@@ -27102,17 +28200,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF | |||
27102 | ## M4sh Initialization. ## | 28200 | ## M4sh Initialization. ## |
27103 | ## --------------------- ## | 28201 | ## --------------------- ## |
27104 | 28202 | ||
27105 | # Be Bourne compatible | 28203 | # Be more Bourne compatible |
28204 | DUALCASE=1; export DUALCASE # for MKS sh | ||
27106 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 28205 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
27107 | emulate sh | 28206 | emulate sh |
27108 | NULLCMD=: | 28207 | NULLCMD=: |
27109 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 28208 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
27110 | # is contrary to our usage. Disable this feature. | 28209 | # is contrary to our usage. Disable this feature. |
27111 | alias -g '${1+"$@"}'='"$@"' | 28210 | alias -g '${1+"$@"}'='"$@"' |
27112 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 28211 | setopt NO_GLOB_SUBST |
27113 | set -o posix | 28212 | else |
28213 | case `(set -o) 2>/dev/null` in | ||
28214 | *posix*) set -o posix ;; | ||
28215 | esac | ||
28216 | |||
28217 | fi | ||
28218 | |||
28219 | |||
28220 | |||
28221 | |||
28222 | # PATH needs CR | ||
28223 | # Avoid depending upon Character Ranges. | ||
28224 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
28225 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
28226 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
28227 | as_cr_digits='0123456789' | ||
28228 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
28229 | |||
28230 | # The user is always right. | ||
28231 | if test "${PATH_SEPARATOR+set}" != set; then | ||
28232 | echo "#! /bin/sh" >conf$$.sh | ||
28233 | echo "exit 0" >>conf$$.sh | ||
28234 | chmod +x conf$$.sh | ||
28235 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
28236 | PATH_SEPARATOR=';' | ||
28237 | else | ||
28238 | PATH_SEPARATOR=: | ||
28239 | fi | ||
28240 | rm -f conf$$.sh | ||
27114 | fi | 28241 | fi |
27115 | DUALCASE=1; export DUALCASE # for MKS sh | ||
27116 | 28242 | ||
27117 | # Support unset when possible. | 28243 | # Support unset when possible. |
27118 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 28244 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
@@ -27122,8 +28248,43 @@ else | |||
27122 | fi | 28248 | fi |
27123 | 28249 | ||
27124 | 28250 | ||
28251 | # IFS | ||
28252 | # We need space, tab and new line, in precisely that order. Quoting is | ||
28253 | # there to prevent editors from complaining about space-tab. | ||
28254 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
28255 | # splitting by setting IFS to empty value.) | ||
28256 | as_nl=' | ||
28257 | ' | ||
28258 | IFS=" "" $as_nl" | ||
28259 | |||
28260 | # Find who we are. Look in the path if we contain no directory separator. | ||
28261 | case $0 in | ||
28262 | *[\\/]* ) as_myself=$0 ;; | ||
28263 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
28264 | for as_dir in $PATH | ||
28265 | do | ||
28266 | IFS=$as_save_IFS | ||
28267 | test -z "$as_dir" && as_dir=. | ||
28268 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
28269 | done | ||
28270 | IFS=$as_save_IFS | ||
28271 | |||
28272 | ;; | ||
28273 | esac | ||
28274 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
28275 | # in which case we are not to be found in the path. | ||
28276 | if test "x$as_myself" = x; then | ||
28277 | as_myself=$0 | ||
28278 | fi | ||
28279 | if test ! -f "$as_myself"; then | ||
28280 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
28281 | { (exit 1); exit 1; } | ||
28282 | fi | ||
28283 | |||
27125 | # Work around bugs in pre-3.0 UWIN ksh. | 28284 | # Work around bugs in pre-3.0 UWIN ksh. |
27126 | $as_unset ENV MAIL MAILPATH | 28285 | for as_var in ENV MAIL MAILPATH |
28286 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
28287 | done | ||
27127 | PS1='$ ' | 28288 | PS1='$ ' |
27128 | PS2='> ' | 28289 | PS2='> ' |
27129 | PS4='+ ' | 28290 | PS4='+ ' |
@@ -27137,18 +28298,19 @@ do | |||
27137 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 28298 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
27138 | eval $as_var=C; export $as_var | 28299 | eval $as_var=C; export $as_var |
27139 | else | 28300 | else |
27140 | $as_unset $as_var | 28301 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
27141 | fi | 28302 | fi |
27142 | done | 28303 | done |
27143 | 28304 | ||
27144 | # Required to use basename. | 28305 | # Required to use basename. |
27145 | if expr a : '\(a\)' >/dev/null 2>&1; then | 28306 | if expr a : '\(a\)' >/dev/null 2>&1 && |
28307 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
27146 | as_expr=expr | 28308 | as_expr=expr |
27147 | else | 28309 | else |
27148 | as_expr=false | 28310 | as_expr=false |
27149 | fi | 28311 | fi |
27150 | 28312 | ||
27151 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 28313 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
27152 | as_basename=basename | 28314 | as_basename=basename |
27153 | else | 28315 | else |
27154 | as_basename=false | 28316 | as_basename=false |
@@ -27156,159 +28318,120 @@ fi | |||
27156 | 28318 | ||
27157 | 28319 | ||
27158 | # Name of the executable. | 28320 | # Name of the executable. |
27159 | as_me=`$as_basename "$0" || | 28321 | as_me=`$as_basename -- "$0" || |
27160 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 28322 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
27161 | X"$0" : 'X\(//\)$' \| \ | 28323 | X"$0" : 'X\(//\)$' \| \ |
27162 | X"$0" : 'X\(/\)$' \| \ | 28324 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
27163 | . : '\(.\)' 2>/dev/null || | ||
27164 | echo X/"$0" | | 28325 | echo X/"$0" | |
27165 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 28326 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
27166 | /^X\/\(\/\/\)$/{ s//\1/; q; } | 28327 | s//\1/ |
27167 | /^X\/\(\/\).*/{ s//\1/; q; } | 28328 | q |
27168 | s/.*/./; q'` | 28329 | } |
28330 | /^X\/\(\/\/\)$/{ | ||
28331 | s//\1/ | ||
28332 | q | ||
28333 | } | ||
28334 | /^X\/\(\/\).*/{ | ||
28335 | s//\1/ | ||
28336 | q | ||
28337 | } | ||
28338 | s/.*/./; q'` | ||
27169 | 28339 | ||
27170 | 28340 | # CDPATH. | |
27171 | # PATH needs CR, and LINENO needs CR and PATH. | 28341 | $as_unset CDPATH |
27172 | # Avoid depending upon Character Ranges. | ||
27173 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
27174 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
27175 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
27176 | as_cr_digits='0123456789' | ||
27177 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
27178 | |||
27179 | # The user is always right. | ||
27180 | if test "${PATH_SEPARATOR+set}" != set; then | ||
27181 | echo "#! /bin/sh" >conf$$.sh | ||
27182 | echo "exit 0" >>conf$$.sh | ||
27183 | chmod +x conf$$.sh | ||
27184 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
27185 | PATH_SEPARATOR=';' | ||
27186 | else | ||
27187 | PATH_SEPARATOR=: | ||
27188 | fi | ||
27189 | rm -f conf$$.sh | ||
27190 | fi | ||
27191 | 28342 | ||
27192 | 28343 | ||
27193 | as_lineno_1=$LINENO | ||
27194 | as_lineno_2=$LINENO | ||
27195 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
27196 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
27197 | test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
27198 | # Find who we are. Look in the path if we contain no path at all | ||
27199 | # relative or not. | ||
27200 | case $0 in | ||
27201 | *[\\/]* ) as_myself=$0 ;; | ||
27202 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
27203 | for as_dir in $PATH | ||
27204 | do | ||
27205 | IFS=$as_save_IFS | ||
27206 | test -z "$as_dir" && as_dir=. | ||
27207 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
27208 | done | ||
27209 | 28344 | ||
27210 | ;; | ||
27211 | esac | ||
27212 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
27213 | # in which case we are not to be found in the path. | ||
27214 | if test "x$as_myself" = x; then | ||
27215 | as_myself=$0 | ||
27216 | fi | ||
27217 | if test ! -f "$as_myself"; then | ||
27218 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | ||
27219 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | ||
27220 | { (exit 1); exit 1; }; } | ||
27221 | fi | ||
27222 | case $CONFIG_SHELL in | ||
27223 | '') | ||
27224 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
27225 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
27226 | do | ||
27227 | IFS=$as_save_IFS | ||
27228 | test -z "$as_dir" && as_dir=. | ||
27229 | for as_base in sh bash ksh sh5; do | ||
27230 | case $as_dir in | ||
27231 | /*) | ||
27232 | if ("$as_dir/$as_base" -c ' | ||
27233 | as_lineno_1=$LINENO | 28345 | as_lineno_1=$LINENO |
27234 | as_lineno_2=$LINENO | 28346 | as_lineno_2=$LINENO |
27235 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
27236 | test "x$as_lineno_1" != "x$as_lineno_2" && | 28347 | test "x$as_lineno_1" != "x$as_lineno_2" && |
27237 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 28348 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
27238 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
27239 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
27240 | CONFIG_SHELL=$as_dir/$as_base | ||
27241 | export CONFIG_SHELL | ||
27242 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
27243 | fi;; | ||
27244 | esac | ||
27245 | done | ||
27246 | done | ||
27247 | ;; | ||
27248 | esac | ||
27249 | 28349 | ||
27250 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 28350 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
27251 | # uniformly replaced by the line number. The first 'sed' inserts a | 28351 | # uniformly replaced by the line number. The first 'sed' inserts a |
27252 | # line-number line before each line; the second 'sed' does the real | 28352 | # line-number line after each line using $LINENO; the second 'sed' |
27253 | # work. The second script uses 'N' to pair each line-number line | 28353 | # does the real work. The second script uses 'N' to pair each |
27254 | # with the numbered line, and appends trailing '-' during | 28354 | # line-number line with the line containing $LINENO, and appends |
27255 | # substitution so that $LINENO is not a special case at line end. | 28355 | # trailing '-' during substitution so that $LINENO is not a special |
28356 | # case at line end. | ||
27256 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 28357 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
27257 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 28358 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
27258 | sed '=' <$as_myself | | 28359 | # E. McMahon (1931-1989) for sed's syntax. :-) |
28360 | sed -n ' | ||
28361 | p | ||
28362 | /[$]LINENO/= | ||
28363 | ' <$as_myself | | ||
27259 | sed ' | 28364 | sed ' |
28365 | s/[$]LINENO.*/&-/ | ||
28366 | t lineno | ||
28367 | b | ||
28368 | :lineno | ||
27260 | N | 28369 | N |
27261 | s,$,-, | 28370 | :loop |
27262 | : loop | 28371 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
27263 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
27264 | t loop | 28372 | t loop |
27265 | s,-$,, | 28373 | s/-\n.*// |
27266 | s,^['$as_cr_digits']*\n,, | ||
27267 | ' >$as_me.lineno && | 28374 | ' >$as_me.lineno && |
27268 | chmod +x $as_me.lineno || | 28375 | chmod +x "$as_me.lineno" || |
27269 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 28376 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
27270 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | ||
27271 | { (exit 1); exit 1; }; } | 28377 | { (exit 1); exit 1; }; } |
27272 | 28378 | ||
27273 | # Don't try to exec as it changes $[0], causing all sort of problems | 28379 | # Don't try to exec as it changes $[0], causing all sort of problems |
27274 | # (the dirname of $[0] is not the place where we might find the | 28380 | # (the dirname of $[0] is not the place where we might find the |
27275 | # original and so on. Autoconf is especially sensible to this). | 28381 | # original and so on. Autoconf is especially sensitive to this). |
27276 | . ./$as_me.lineno | 28382 | . "./$as_me.lineno" |
27277 | # Exit status is that of the last command. | 28383 | # Exit status is that of the last command. |
27278 | exit | 28384 | exit |
27279 | } | 28385 | } |
27280 | 28386 | ||
27281 | 28387 | ||
27282 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 28388 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
27283 | *c*,-n*) ECHO_N= ECHO_C=' | 28389 | as_dirname=dirname |
27284 | ' ECHO_T=' ' ;; | 28390 | else |
27285 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 28391 | as_dirname=false |
27286 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 28392 | fi |
28393 | |||
28394 | ECHO_C= ECHO_N= ECHO_T= | ||
28395 | case `echo -n x` in | ||
28396 | -n*) | ||
28397 | case `echo 'x\c'` in | ||
28398 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
28399 | *) ECHO_C='\c';; | ||
28400 | esac;; | ||
28401 | *) | ||
28402 | ECHO_N='-n';; | ||
27287 | esac | 28403 | esac |
27288 | 28404 | ||
27289 | if expr a : '\(a\)' >/dev/null 2>&1; then | 28405 | if expr a : '\(a\)' >/dev/null 2>&1 && |
28406 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
27290 | as_expr=expr | 28407 | as_expr=expr |
27291 | else | 28408 | else |
27292 | as_expr=false | 28409 | as_expr=false |
27293 | fi | 28410 | fi |
27294 | 28411 | ||
27295 | rm -f conf$$ conf$$.exe conf$$.file | 28412 | rm -f conf$$ conf$$.exe conf$$.file |
28413 | if test -d conf$$.dir; then | ||
28414 | rm -f conf$$.dir/conf$$.file | ||
28415 | else | ||
28416 | rm -f conf$$.dir | ||
28417 | mkdir conf$$.dir | ||
28418 | fi | ||
27296 | echo >conf$$.file | 28419 | echo >conf$$.file |
27297 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 28420 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
27298 | # We could just check for DJGPP; but this test a) works b) is more generic | 28421 | as_ln_s='ln -s' |
27299 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 28422 | # ... but there are two gotchas: |
27300 | if test -f conf$$.exe; then | 28423 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
27301 | # Don't use ln at all; we don't have any links | 28424 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
28425 | # In both cases, we have to default to `cp -p'. | ||
28426 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
27302 | as_ln_s='cp -p' | 28427 | as_ln_s='cp -p' |
27303 | else | ||
27304 | as_ln_s='ln -s' | ||
27305 | fi | ||
27306 | elif ln conf$$.file conf$$ 2>/dev/null; then | 28428 | elif ln conf$$.file conf$$ 2>/dev/null; then |
27307 | as_ln_s=ln | 28429 | as_ln_s=ln |
27308 | else | 28430 | else |
27309 | as_ln_s='cp -p' | 28431 | as_ln_s='cp -p' |
27310 | fi | 28432 | fi |
27311 | rm -f conf$$ conf$$.exe conf$$.file | 28433 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
28434 | rmdir conf$$.dir 2>/dev/null | ||
27312 | 28435 | ||
27313 | if mkdir -p . 2>/dev/null; then | 28436 | if mkdir -p . 2>/dev/null; then |
27314 | as_mkdir_p=: | 28437 | as_mkdir_p=: |
@@ -27317,7 +28440,28 @@ else | |||
27317 | as_mkdir_p=false | 28440 | as_mkdir_p=false |
27318 | fi | 28441 | fi |
27319 | 28442 | ||
27320 | as_executable_p="test -f" | 28443 | if test -x / >/dev/null 2>&1; then |
28444 | as_test_x='test -x' | ||
28445 | else | ||
28446 | if ls -dL / >/dev/null 2>&1; then | ||
28447 | as_ls_L_option=L | ||
28448 | else | ||
28449 | as_ls_L_option= | ||
28450 | fi | ||
28451 | as_test_x=' | ||
28452 | eval sh -c '\'' | ||
28453 | if test -d "$1"; then | ||
28454 | test -d "$1/."; | ||
28455 | else | ||
28456 | case $1 in | ||
28457 | -*)set "./$1";; | ||
28458 | esac; | ||
28459 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
28460 | ???[sx]*):;;*)false;;esac;fi | ||
28461 | '\'' sh | ||
28462 | ' | ||
28463 | fi | ||
28464 | as_executable_p=$as_test_x | ||
27321 | 28465 | ||
27322 | # Sed expression to map a string onto a valid CPP name. | 28466 | # Sed expression to map a string onto a valid CPP name. |
27323 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 28467 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
@@ -27326,31 +28470,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
27326 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 28470 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
27327 | 28471 | ||
27328 | 28472 | ||
27329 | # IFS | ||
27330 | # We need space, tab and new line, in precisely that order. | ||
27331 | as_nl=' | ||
27332 | ' | ||
27333 | IFS=" $as_nl" | ||
27334 | |||
27335 | # CDPATH. | ||
27336 | $as_unset CDPATH | ||
27337 | |||
27338 | exec 6>&1 | 28473 | exec 6>&1 |
27339 | 28474 | ||
27340 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 28475 | # Save the log message, to keep $[0] and so on meaningful, and to |
27341 | # report actual input values of CONFIG_FILES etc. instead of their | 28476 | # report actual input values of CONFIG_FILES etc. instead of their |
27342 | # values after options handling. Logging --version etc. is OK. | 28477 | # values after options handling. |
27343 | exec 5>>config.log | 28478 | ac_log=" |
27344 | { | ||
27345 | echo | ||
27346 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
27347 | ## Running $as_me. ## | ||
27348 | _ASBOX | ||
27349 | } >&5 | ||
27350 | cat >&5 <<_CSEOF | ||
27351 | |||
27352 | This file was extended by OpenSSH $as_me Portable, which was | 28479 | This file was extended by OpenSSH $as_me Portable, which was |
27353 | generated by GNU Autoconf 2.59. Invocation command line was | 28480 | generated by GNU Autoconf 2.61. Invocation command line was |
27354 | 28481 | ||
27355 | CONFIG_FILES = $CONFIG_FILES | 28482 | CONFIG_FILES = $CONFIG_FILES |
27356 | CONFIG_HEADERS = $CONFIG_HEADERS | 28483 | CONFIG_HEADERS = $CONFIG_HEADERS |
@@ -27358,30 +28485,19 @@ generated by GNU Autoconf 2.59. Invocation command line was | |||
27358 | CONFIG_COMMANDS = $CONFIG_COMMANDS | 28485 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
27359 | $ $0 $@ | 28486 | $ $0 $@ |
27360 | 28487 | ||
27361 | _CSEOF | 28488 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
27362 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 28489 | " |
27363 | echo >&5 | 28490 | |
27364 | _ACEOF | 28491 | _ACEOF |
27365 | 28492 | ||
28493 | cat >>$CONFIG_STATUS <<_ACEOF | ||
27366 | # Files that config.status was made for. | 28494 | # Files that config.status was made for. |
27367 | if test -n "$ac_config_files"; then | 28495 | config_files="$ac_config_files" |
27368 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 28496 | config_headers="$ac_config_headers" |
27369 | fi | ||
27370 | |||
27371 | if test -n "$ac_config_headers"; then | ||
27372 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | ||
27373 | fi | ||
27374 | 28497 | ||
27375 | if test -n "$ac_config_links"; then | 28498 | _ACEOF |
27376 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | ||
27377 | fi | ||
27378 | |||
27379 | if test -n "$ac_config_commands"; then | ||
27380 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | ||
27381 | fi | ||
27382 | 28499 | ||
27383 | cat >>$CONFIG_STATUS <<\_ACEOF | 28500 | cat >>$CONFIG_STATUS <<\_ACEOF |
27384 | |||
27385 | ac_cs_usage="\ | 28501 | ac_cs_usage="\ |
27386 | \`$as_me' instantiates files from templates according to the | 28502 | \`$as_me' instantiates files from templates according to the |
27387 | current configuration. | 28503 | current configuration. |
@@ -27389,7 +28505,7 @@ current configuration. | |||
27389 | Usage: $0 [OPTIONS] [FILE]... | 28505 | Usage: $0 [OPTIONS] [FILE]... |
27390 | 28506 | ||
27391 | -h, --help print this help, then exit | 28507 | -h, --help print this help, then exit |
27392 | -V, --version print version number, then exit | 28508 | -V, --version print version number and configuration settings, then exit |
27393 | -q, --quiet do not print progress messages | 28509 | -q, --quiet do not print progress messages |
27394 | -d, --debug don't remove temporary files | 28510 | -d, --debug don't remove temporary files |
27395 | --recheck update $as_me by reconfiguring in the same conditions | 28511 | --recheck update $as_me by reconfiguring in the same conditions |
@@ -27405,19 +28521,21 @@ Configuration headers: | |||
27405 | $config_headers | 28521 | $config_headers |
27406 | 28522 | ||
27407 | Report bugs to <bug-autoconf@gnu.org>." | 28523 | Report bugs to <bug-autoconf@gnu.org>." |
27408 | _ACEOF | ||
27409 | 28524 | ||
28525 | _ACEOF | ||
27410 | cat >>$CONFIG_STATUS <<_ACEOF | 28526 | cat >>$CONFIG_STATUS <<_ACEOF |
27411 | ac_cs_version="\\ | 28527 | ac_cs_version="\\ |
27412 | OpenSSH config.status Portable | 28528 | OpenSSH config.status Portable |
27413 | configured by $0, generated by GNU Autoconf 2.59, | 28529 | configured by $0, generated by GNU Autoconf 2.61, |
27414 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 28530 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
27415 | 28531 | ||
27416 | Copyright (C) 2003 Free Software Foundation, Inc. | 28532 | Copyright (C) 2006 Free Software Foundation, Inc. |
27417 | This config.status script is free software; the Free Software Foundation | 28533 | This config.status script is free software; the Free Software Foundation |
27418 | gives unlimited permission to copy, distribute and modify it." | 28534 | gives unlimited permission to copy, distribute and modify it." |
27419 | srcdir=$srcdir | 28535 | |
27420 | INSTALL="$INSTALL" | 28536 | ac_pwd='$ac_pwd' |
28537 | srcdir='$srcdir' | ||
28538 | INSTALL='$INSTALL' | ||
27421 | _ACEOF | 28539 | _ACEOF |
27422 | 28540 | ||
27423 | cat >>$CONFIG_STATUS <<\_ACEOF | 28541 | cat >>$CONFIG_STATUS <<\_ACEOF |
@@ -27428,39 +28546,24 @@ while test $# != 0 | |||
27428 | do | 28546 | do |
27429 | case $1 in | 28547 | case $1 in |
27430 | --*=*) | 28548 | --*=*) |
27431 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | 28549 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
27432 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 28550 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
27433 | ac_shift=: | 28551 | ac_shift=: |
27434 | ;; | 28552 | ;; |
27435 | -*) | 28553 | *) |
27436 | ac_option=$1 | 28554 | ac_option=$1 |
27437 | ac_optarg=$2 | 28555 | ac_optarg=$2 |
27438 | ac_shift=shift | 28556 | ac_shift=shift |
27439 | ;; | 28557 | ;; |
27440 | *) # This is not an option, so the user has probably given explicit | ||
27441 | # arguments. | ||
27442 | ac_option=$1 | ||
27443 | ac_need_defaults=false;; | ||
27444 | esac | 28558 | esac |
27445 | 28559 | ||
27446 | case $ac_option in | 28560 | case $ac_option in |
27447 | # Handling of the options. | 28561 | # Handling of the options. |
27448 | _ACEOF | ||
27449 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
27450 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 28562 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
27451 | ac_cs_recheck=: ;; | 28563 | ac_cs_recheck=: ;; |
27452 | --version | --vers* | -V ) | 28564 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
27453 | echo "$ac_cs_version"; exit 0 ;; | 28565 | echo "$ac_cs_version"; exit ;; |
27454 | --he | --h) | 28566 | --debug | --debu | --deb | --de | --d | -d ) |
27455 | # Conflict between --help and --header | ||
27456 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 | ||
27457 | Try \`$0 --help' for more information." >&5 | ||
27458 | echo "$as_me: error: ambiguous option: $1 | ||
27459 | Try \`$0 --help' for more information." >&2;} | ||
27460 | { (exit 1); exit 1; }; };; | ||
27461 | --help | --hel | -h ) | ||
27462 | echo "$ac_cs_usage"; exit 0 ;; | ||
27463 | --debug | --d* | -d ) | ||
27464 | debug=: ;; | 28567 | debug=: ;; |
27465 | --file | --fil | --fi | --f ) | 28568 | --file | --fil | --fi | --f ) |
27466 | $ac_shift | 28569 | $ac_shift |
@@ -27470,18 +28573,24 @@ Try \`$0 --help' for more information." >&2;} | |||
27470 | $ac_shift | 28573 | $ac_shift |
27471 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 28574 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
27472 | ac_need_defaults=false;; | 28575 | ac_need_defaults=false;; |
28576 | --he | --h) | ||
28577 | # Conflict between --help and --header | ||
28578 | { echo "$as_me: error: ambiguous option: $1 | ||
28579 | Try \`$0 --help' for more information." >&2 | ||
28580 | { (exit 1); exit 1; }; };; | ||
28581 | --help | --hel | -h ) | ||
28582 | echo "$ac_cs_usage"; exit ;; | ||
27473 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 28583 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
27474 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 28584 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
27475 | ac_cs_silent=: ;; | 28585 | ac_cs_silent=: ;; |
27476 | 28586 | ||
27477 | # This is an error. | 28587 | # This is an error. |
27478 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 28588 | -*) { echo "$as_me: error: unrecognized option: $1 |
27479 | Try \`$0 --help' for more information." >&5 | 28589 | Try \`$0 --help' for more information." >&2 |
27480 | echo "$as_me: error: unrecognized option: $1 | ||
27481 | Try \`$0 --help' for more information." >&2;} | ||
27482 | { (exit 1); exit 1; }; } ;; | 28590 | { (exit 1); exit 1; }; } ;; |
27483 | 28591 | ||
27484 | *) ac_config_targets="$ac_config_targets $1" ;; | 28592 | *) ac_config_targets="$ac_config_targets $1" |
28593 | ac_need_defaults=false ;; | ||
27485 | 28594 | ||
27486 | esac | 28595 | esac |
27487 | shift | 28596 | shift |
@@ -27497,35 +28606,51 @@ fi | |||
27497 | _ACEOF | 28606 | _ACEOF |
27498 | cat >>$CONFIG_STATUS <<_ACEOF | 28607 | cat >>$CONFIG_STATUS <<_ACEOF |
27499 | if \$ac_cs_recheck; then | 28608 | if \$ac_cs_recheck; then |
27500 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 28609 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
27501 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 28610 | CONFIG_SHELL=$SHELL |
28611 | export CONFIG_SHELL | ||
28612 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
27502 | fi | 28613 | fi |
27503 | 28614 | ||
27504 | _ACEOF | 28615 | _ACEOF |
28616 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
28617 | exec 5>>config.log | ||
28618 | { | ||
28619 | echo | ||
28620 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
28621 | ## Running $as_me. ## | ||
28622 | _ASBOX | ||
28623 | echo "$ac_log" | ||
28624 | } >&5 | ||
27505 | 28625 | ||
27506 | 28626 | _ACEOF | |
27507 | 28627 | cat >>$CONFIG_STATUS <<_ACEOF | |
27508 | 28628 | _ACEOF | |
27509 | 28629 | ||
27510 | cat >>$CONFIG_STATUS <<\_ACEOF | 28630 | cat >>$CONFIG_STATUS <<\_ACEOF |
28631 | |||
28632 | # Handling of arguments. | ||
27511 | for ac_config_target in $ac_config_targets | 28633 | for ac_config_target in $ac_config_targets |
27512 | do | 28634 | do |
27513 | case "$ac_config_target" in | 28635 | case $ac_config_target in |
27514 | # Handling of arguments. | 28636 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
27515 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 28637 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
27516 | "buildpkg.sh" ) CONFIG_FILES="$CONFIG_FILES buildpkg.sh" ;; | 28638 | "buildpkg.sh") CONFIG_FILES="$CONFIG_FILES buildpkg.sh" ;; |
27517 | "opensshd.init" ) CONFIG_FILES="$CONFIG_FILES opensshd.init" ;; | 28639 | "opensshd.init") CONFIG_FILES="$CONFIG_FILES opensshd.init" ;; |
27518 | "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;; | 28640 | "openssh.xml") CONFIG_FILES="$CONFIG_FILES openssh.xml" ;; |
27519 | "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; | 28641 | "openbsd-compat/Makefile") CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;; |
27520 | "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; | 28642 | "openbsd-compat/regress/Makefile") CONFIG_FILES="$CONFIG_FILES openbsd-compat/regress/Makefile" ;; |
27521 | "survey.sh" ) CONFIG_FILES="$CONFIG_FILES survey.sh" ;; | 28643 | "scard/Makefile") CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; |
27522 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 28644 | "ssh_prng_cmds") CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; |
28645 | "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;; | ||
28646 | |||
27523 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 28647 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
27524 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 28648 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
27525 | { (exit 1); exit 1; }; };; | 28649 | { (exit 1); exit 1; }; };; |
27526 | esac | 28650 | esac |
27527 | done | 28651 | done |
27528 | 28652 | ||
28653 | |||
27529 | # If the user did not use the arguments to specify the items to instantiate, | 28654 | # If the user did not use the arguments to specify the items to instantiate, |
27530 | # then the envvar interface is used. Set only those that are not. | 28655 | # then the envvar interface is used. Set only those that are not. |
27531 | # We use the long form for the default assignment because of an extremely | 28656 | # We use the long form for the default assignment because of an extremely |
@@ -27536,610 +28661,605 @@ if $ac_need_defaults; then | |||
27536 | fi | 28661 | fi |
27537 | 28662 | ||
27538 | # Have a temporary directory for convenience. Make it in the build tree | 28663 | # Have a temporary directory for convenience. Make it in the build tree |
27539 | # simply because there is no reason to put it here, and in addition, | 28664 | # simply because there is no reason against having it here, and in addition, |
27540 | # creating and moving files from /tmp can sometimes cause problems. | 28665 | # creating and moving files from /tmp can sometimes cause problems. |
27541 | # Create a temporary directory, and hook for its removal unless debugging. | 28666 | # Hook for its removal unless debugging. |
28667 | # Note that there is a small window in which the directory will not be cleaned: | ||
28668 | # after its creation but before its name has been assigned to `$tmp'. | ||
27542 | $debug || | 28669 | $debug || |
27543 | { | 28670 | { |
27544 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 28671 | tmp= |
28672 | trap 'exit_status=$? | ||
28673 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | ||
28674 | ' 0 | ||
27545 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | 28675 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
27546 | } | 28676 | } |
27547 | |||
27548 | # Create a (secure) tmp directory for tmp files. | 28677 | # Create a (secure) tmp directory for tmp files. |
27549 | 28678 | ||
27550 | { | 28679 | { |
27551 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 28680 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
27552 | test -n "$tmp" && test -d "$tmp" | 28681 | test -n "$tmp" && test -d "$tmp" |
27553 | } || | 28682 | } || |
27554 | { | 28683 | { |
27555 | tmp=./confstat$$-$RANDOM | 28684 | tmp=./conf$$-$RANDOM |
27556 | (umask 077 && mkdir $tmp) | 28685 | (umask 077 && mkdir "$tmp") |
27557 | } || | 28686 | } || |
27558 | { | 28687 | { |
27559 | echo "$me: cannot create a temporary directory in ." >&2 | 28688 | echo "$me: cannot create a temporary directory in ." >&2 |
27560 | { (exit 1); exit 1; } | 28689 | { (exit 1); exit 1; } |
27561 | } | 28690 | } |
27562 | 28691 | ||
27563 | _ACEOF | ||
27564 | |||
27565 | cat >>$CONFIG_STATUS <<_ACEOF | ||
27566 | |||
27567 | # | 28692 | # |
27568 | # CONFIG_FILES section. | 28693 | # Set up the sed scripts for CONFIG_FILES section. |
27569 | # | 28694 | # |
27570 | 28695 | ||
27571 | # No need to generate the scripts if there are no CONFIG_FILES. | 28696 | # No need to generate the scripts if there are no CONFIG_FILES. |
27572 | # This happens for instance when ./config.status config.h | 28697 | # This happens for instance when ./config.status config.h |
27573 | if test -n "\$CONFIG_FILES"; then | 28698 | if test -n "$CONFIG_FILES"; then |
27574 | # Protect against being on the right side of a sed subst in config.status. | 28699 | |
27575 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 28700 | _ACEOF |
27576 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 28701 | |
27577 | s,@SHELL@,$SHELL,;t t | 28702 | |
27578 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 28703 | |
27579 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 28704 | ac_delim='%!_!# ' |
27580 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 28705 | for ac_last_try in false false false false false :; do |
27581 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 28706 | cat >conf$$subs.sed <<_ACEOF |
27582 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 28707 | SHELL!$SHELL$ac_delim |
27583 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 28708 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
27584 | s,@exec_prefix@,$exec_prefix,;t t | 28709 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
27585 | s,@prefix@,$prefix,;t t | 28710 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
27586 | s,@program_transform_name@,$program_transform_name,;t t | 28711 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
27587 | s,@bindir@,$bindir,;t t | 28712 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
27588 | s,@sbindir@,$sbindir,;t t | 28713 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
27589 | s,@libexecdir@,$libexecdir,;t t | 28714 | exec_prefix!$exec_prefix$ac_delim |
27590 | s,@datadir@,$datadir,;t t | 28715 | prefix!$prefix$ac_delim |
27591 | s,@sysconfdir@,$sysconfdir,;t t | 28716 | program_transform_name!$program_transform_name$ac_delim |
27592 | s,@sharedstatedir@,$sharedstatedir,;t t | 28717 | bindir!$bindir$ac_delim |
27593 | s,@localstatedir@,$localstatedir,;t t | 28718 | sbindir!$sbindir$ac_delim |
27594 | s,@libdir@,$libdir,;t t | 28719 | libexecdir!$libexecdir$ac_delim |
27595 | s,@includedir@,$includedir,;t t | 28720 | datarootdir!$datarootdir$ac_delim |
27596 | s,@oldincludedir@,$oldincludedir,;t t | 28721 | datadir!$datadir$ac_delim |
27597 | s,@infodir@,$infodir,;t t | 28722 | sysconfdir!$sysconfdir$ac_delim |
27598 | s,@mandir@,$mandir,;t t | 28723 | sharedstatedir!$sharedstatedir$ac_delim |
27599 | s,@build_alias@,$build_alias,;t t | 28724 | localstatedir!$localstatedir$ac_delim |
27600 | s,@host_alias@,$host_alias,;t t | 28725 | includedir!$includedir$ac_delim |
27601 | s,@target_alias@,$target_alias,;t t | 28726 | oldincludedir!$oldincludedir$ac_delim |
27602 | s,@DEFS@,$DEFS,;t t | 28727 | docdir!$docdir$ac_delim |
27603 | s,@ECHO_C@,$ECHO_C,;t t | 28728 | infodir!$infodir$ac_delim |
27604 | s,@ECHO_N@,$ECHO_N,;t t | 28729 | htmldir!$htmldir$ac_delim |
27605 | s,@ECHO_T@,$ECHO_T,;t t | 28730 | dvidir!$dvidir$ac_delim |
27606 | s,@LIBS@,$LIBS,;t t | 28731 | pdfdir!$pdfdir$ac_delim |
27607 | s,@CC@,$CC,;t t | 28732 | psdir!$psdir$ac_delim |
27608 | s,@CFLAGS@,$CFLAGS,;t t | 28733 | libdir!$libdir$ac_delim |
27609 | s,@LDFLAGS@,$LDFLAGS,;t t | 28734 | localedir!$localedir$ac_delim |
27610 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 28735 | mandir!$mandir$ac_delim |
27611 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 28736 | DEFS!$DEFS$ac_delim |
27612 | s,@EXEEXT@,$EXEEXT,;t t | 28737 | ECHO_C!$ECHO_C$ac_delim |
27613 | s,@OBJEXT@,$OBJEXT,;t t | 28738 | ECHO_N!$ECHO_N$ac_delim |
27614 | s,@build@,$build,;t t | 28739 | ECHO_T!$ECHO_T$ac_delim |
27615 | s,@build_cpu@,$build_cpu,;t t | 28740 | LIBS!$LIBS$ac_delim |
27616 | s,@build_vendor@,$build_vendor,;t t | 28741 | build_alias!$build_alias$ac_delim |
27617 | s,@build_os@,$build_os,;t t | 28742 | host_alias!$host_alias$ac_delim |
27618 | s,@host@,$host,;t t | 28743 | target_alias!$target_alias$ac_delim |
27619 | s,@host_cpu@,$host_cpu,;t t | 28744 | CC!$CC$ac_delim |
27620 | s,@host_vendor@,$host_vendor,;t t | 28745 | CFLAGS!$CFLAGS$ac_delim |
27621 | s,@host_os@,$host_os,;t t | 28746 | LDFLAGS!$LDFLAGS$ac_delim |
27622 | s,@AWK@,$AWK,;t t | 28747 | CPPFLAGS!$CPPFLAGS$ac_delim |
27623 | s,@CPP@,$CPP,;t t | 28748 | ac_ct_CC!$ac_ct_CC$ac_delim |
27624 | s,@RANLIB@,$RANLIB,;t t | 28749 | EXEEXT!$EXEEXT$ac_delim |
27625 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 28750 | OBJEXT!$OBJEXT$ac_delim |
27626 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 28751 | build!$build$ac_delim |
27627 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 28752 | build_cpu!$build_cpu$ac_delim |
27628 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 28753 | build_vendor!$build_vendor$ac_delim |
27629 | s,@EGREP@,$EGREP,;t t | 28754 | build_os!$build_os$ac_delim |
27630 | s,@AR@,$AR,;t t | 28755 | host!$host$ac_delim |
27631 | s,@CAT@,$CAT,;t t | 28756 | host_cpu!$host_cpu$ac_delim |
27632 | s,@KILL@,$KILL,;t t | 28757 | host_vendor!$host_vendor$ac_delim |
27633 | s,@PERL@,$PERL,;t t | 28758 | host_os!$host_os$ac_delim |
27634 | s,@SED@,$SED,;t t | 28759 | CPP!$CPP$ac_delim |
27635 | s,@ENT@,$ENT,;t t | 28760 | GREP!$GREP$ac_delim |
27636 | s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t | 28761 | EGREP!$EGREP$ac_delim |
27637 | s,@SH@,$SH,;t t | 28762 | AWK!$AWK$ac_delim |
27638 | s,@TEST_SHELL@,$TEST_SHELL,;t t | 28763 | RANLIB!$RANLIB$ac_delim |
27639 | s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t | 28764 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
27640 | s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t | 28765 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
27641 | s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t | 28766 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
27642 | s,@STARTUP_SCRIPT_SHELL@,$STARTUP_SCRIPT_SHELL,;t t | 28767 | AR!$AR$ac_delim |
27643 | s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t | 28768 | CAT!$CAT$ac_delim |
27644 | s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t | 28769 | KILL!$KILL$ac_delim |
27645 | s,@LD@,$LD,;t t | 28770 | PERL!$PERL$ac_delim |
27646 | s,@LIBWRAP@,$LIBWRAP,;t t | 28771 | SED!$SED$ac_delim |
27647 | s,@LIBEDIT@,$LIBEDIT,;t t | 28772 | ENT!$ENT$ac_delim |
27648 | s,@LIBPAM@,$LIBPAM,;t t | 28773 | TEST_MINUS_S_SH!$TEST_MINUS_S_SH$ac_delim |
27649 | s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t | 28774 | SH!$SH$ac_delim |
27650 | s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t | 28775 | TEST_SHELL!$TEST_SHELL$ac_delim |
27651 | s,@PROG_LS@,$PROG_LS,;t t | 28776 | PATH_GROUPADD_PROG!$PATH_GROUPADD_PROG$ac_delim |
27652 | s,@PROG_NETSTAT@,$PROG_NETSTAT,;t t | 28777 | PATH_USERADD_PROG!$PATH_USERADD_PROG$ac_delim |
27653 | s,@PROG_ARP@,$PROG_ARP,;t t | 28778 | MAKE_PACKAGE_SUPPORTED!$MAKE_PACKAGE_SUPPORTED$ac_delim |
27654 | s,@PROG_IFCONFIG@,$PROG_IFCONFIG,;t t | 28779 | STARTUP_SCRIPT_SHELL!$STARTUP_SCRIPT_SHELL$ac_delim |
27655 | s,@PROG_JSTAT@,$PROG_JSTAT,;t t | 28780 | LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim |
27656 | s,@PROG_PS@,$PROG_PS,;t t | 28781 | PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim |
27657 | s,@PROG_SAR@,$PROG_SAR,;t t | 28782 | LD!$LD$ac_delim |
27658 | s,@PROG_W@,$PROG_W,;t t | 28783 | SSHDLIBS!$SSHDLIBS$ac_delim |
27659 | s,@PROG_WHO@,$PROG_WHO,;t t | 28784 | LIBWRAP!$LIBWRAP$ac_delim |
27660 | s,@PROG_LAST@,$PROG_LAST,;t t | 28785 | LIBEDIT!$LIBEDIT$ac_delim |
27661 | s,@PROG_LASTLOG@,$PROG_LASTLOG,;t t | 28786 | LIBPAM!$LIBPAM$ac_delim |
27662 | s,@PROG_DF@,$PROG_DF,;t t | 28787 | INSTALL_SSH_RAND_HELPER!$INSTALL_SSH_RAND_HELPER$ac_delim |
27663 | s,@PROG_VMSTAT@,$PROG_VMSTAT,;t t | 28788 | SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim |
27664 | s,@PROG_UPTIME@,$PROG_UPTIME,;t t | 28789 | PROG_LS!$PROG_LS$ac_delim |
27665 | s,@PROG_IPCS@,$PROG_IPCS,;t t | 28790 | PROG_NETSTAT!$PROG_NETSTAT$ac_delim |
27666 | s,@PROG_TAIL@,$PROG_TAIL,;t t | 28791 | PROG_ARP!$PROG_ARP$ac_delim |
27667 | s,@INSTALL_SSH_PRNG_CMDS@,$INSTALL_SSH_PRNG_CMDS,;t t | 28792 | PROG_IFCONFIG!$PROG_IFCONFIG$ac_delim |
27668 | s,@OPENSC_CONFIG@,$OPENSC_CONFIG,;t t | 28793 | PROG_JSTAT!$PROG_JSTAT$ac_delim |
27669 | s,@PRIVSEP_PATH@,$PRIVSEP_PATH,;t t | 28794 | PROG_PS!$PROG_PS$ac_delim |
27670 | s,@xauth_path@,$xauth_path,;t t | 28795 | PROG_SAR!$PROG_SAR$ac_delim |
27671 | s,@STRIP_OPT@,$STRIP_OPT,;t t | 28796 | PROG_W!$PROG_W$ac_delim |
27672 | s,@XAUTH_PATH@,$XAUTH_PATH,;t t | 28797 | PROG_WHO!$PROG_WHO$ac_delim |
27673 | s,@NROFF@,$NROFF,;t t | 28798 | PROG_LAST!$PROG_LAST$ac_delim |
27674 | s,@MANTYPE@,$MANTYPE,;t t | 28799 | PROG_LASTLOG!$PROG_LASTLOG$ac_delim |
27675 | s,@mansubdir@,$mansubdir,;t t | 28800 | PROG_DF!$PROG_DF$ac_delim |
27676 | s,@user_path@,$user_path,;t t | 28801 | PROG_VMSTAT!$PROG_VMSTAT$ac_delim |
27677 | s,@piddir@,$piddir,;t t | 28802 | PROG_UPTIME!$PROG_UPTIME$ac_delim |
27678 | s,@LIBOBJS@,$LIBOBJS,;t t | 28803 | PROG_IPCS!$PROG_IPCS$ac_delim |
27679 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 28804 | _ACEOF |
27680 | CEOF | 28805 | |
27681 | 28806 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | |
27682 | _ACEOF | 28807 | break |
27683 | 28808 | elif $ac_last_try; then | |
27684 | cat >>$CONFIG_STATUS <<\_ACEOF | 28809 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
27685 | # Split the substitutions into bite-sized pieces for seds with | 28810 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
27686 | # small command number limits, like on Digital OSF/1 and HP-UX. | 28811 | { (exit 1); exit 1; }; } |
27687 | ac_max_sed_lines=48 | 28812 | else |
27688 | ac_sed_frag=1 # Number of current file. | 28813 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
27689 | ac_beg=1 # First line for current file. | ||
27690 | ac_end=$ac_max_sed_lines # Line after last line for current file. | ||
27691 | ac_more_lines=: | ||
27692 | ac_sed_cmds= | ||
27693 | while $ac_more_lines; do | ||
27694 | if test $ac_beg -gt 1; then | ||
27695 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
27696 | else | ||
27697 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
27698 | fi | ||
27699 | if test ! -s $tmp/subs.frag; then | ||
27700 | ac_more_lines=false | ||
27701 | else | ||
27702 | # The purpose of the label and of the branching condition is to | ||
27703 | # speed up the sed processing (if there are no `@' at all, there | ||
27704 | # is no need to browse any of the substitutions). | ||
27705 | # These are the two extra sed commands mentioned above. | ||
27706 | (echo ':t | ||
27707 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | ||
27708 | if test -z "$ac_sed_cmds"; then | ||
27709 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ||
27710 | else | ||
27711 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ||
27712 | fi | ||
27713 | ac_sed_frag=`expr $ac_sed_frag + 1` | ||
27714 | ac_beg=$ac_end | ||
27715 | ac_end=`expr $ac_end + $ac_max_sed_lines` | ||
27716 | fi | ||
27717 | done | ||
27718 | if test -z "$ac_sed_cmds"; then | ||
27719 | ac_sed_cmds=cat | ||
27720 | fi | 28814 | fi |
27721 | fi # test -n "$CONFIG_FILES" | 28815 | done |
28816 | |||
28817 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | ||
28818 | if test -n "$ac_eof"; then | ||
28819 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | ||
28820 | ac_eof=`expr $ac_eof + 1` | ||
28821 | fi | ||
28822 | |||
28823 | cat >>$CONFIG_STATUS <<_ACEOF | ||
28824 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | ||
28825 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
28826 | _ACEOF | ||
28827 | sed ' | ||
28828 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | ||
28829 | s/^/s,@/; s/!/@,|#_!!_#|/ | ||
28830 | :n | ||
28831 | t n | ||
28832 | s/'"$ac_delim"'$/,g/; t | ||
28833 | s/$/\\/; p | ||
28834 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | ||
28835 | ' >>$CONFIG_STATUS <conf$$subs.sed | ||
28836 | rm -f conf$$subs.sed | ||
28837 | cat >>$CONFIG_STATUS <<_ACEOF | ||
28838 | CEOF$ac_eof | ||
28839 | _ACEOF | ||
28840 | |||
28841 | |||
28842 | ac_delim='%!_!# ' | ||
28843 | for ac_last_try in false false false false false :; do | ||
28844 | cat >conf$$subs.sed <<_ACEOF | ||
28845 | PROG_TAIL!$PROG_TAIL$ac_delim | ||
28846 | INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim | ||
28847 | OPENSC_CONFIG!$OPENSC_CONFIG$ac_delim | ||
28848 | LIBSELINUX!$LIBSELINUX$ac_delim | ||
28849 | PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim | ||
28850 | xauth_path!$xauth_path$ac_delim | ||
28851 | STRIP_OPT!$STRIP_OPT$ac_delim | ||
28852 | XAUTH_PATH!$XAUTH_PATH$ac_delim | ||
28853 | NROFF!$NROFF$ac_delim | ||
28854 | MANTYPE!$MANTYPE$ac_delim | ||
28855 | mansubdir!$mansubdir$ac_delim | ||
28856 | user_path!$user_path$ac_delim | ||
28857 | piddir!$piddir$ac_delim | ||
28858 | LIBOBJS!$LIBOBJS$ac_delim | ||
28859 | LTLIBOBJS!$LTLIBOBJS$ac_delim | ||
28860 | _ACEOF | ||
28861 | |||
28862 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then | ||
28863 | break | ||
28864 | elif $ac_last_try; then | ||
28865 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | ||
28866 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
28867 | { (exit 1); exit 1; }; } | ||
28868 | else | ||
28869 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
28870 | fi | ||
28871 | done | ||
27722 | 28872 | ||
28873 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | ||
28874 | if test -n "$ac_eof"; then | ||
28875 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | ||
28876 | ac_eof=`expr $ac_eof + 1` | ||
28877 | fi | ||
28878 | |||
28879 | cat >>$CONFIG_STATUS <<_ACEOF | ||
28880 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | ||
28881 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | ||
28882 | _ACEOF | ||
28883 | sed ' | ||
28884 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | ||
28885 | s/^/s,@/; s/!/@,|#_!!_#|/ | ||
28886 | :n | ||
28887 | t n | ||
28888 | s/'"$ac_delim"'$/,g/; t | ||
28889 | s/$/\\/; p | ||
28890 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | ||
28891 | ' >>$CONFIG_STATUS <conf$$subs.sed | ||
28892 | rm -f conf$$subs.sed | ||
28893 | cat >>$CONFIG_STATUS <<_ACEOF | ||
28894 | :end | ||
28895 | s/|#_!!_#|//g | ||
28896 | CEOF$ac_eof | ||
27723 | _ACEOF | 28897 | _ACEOF |
28898 | |||
28899 | |||
28900 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
28901 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
28902 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
28903 | # (actually we leave an empty line to preserve line numbers). | ||
28904 | if test "x$srcdir" = x.; then | ||
28905 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
28906 | s/:*\$(srcdir):*/:/ | ||
28907 | s/:*\${srcdir}:*/:/ | ||
28908 | s/:*@srcdir@:*/:/ | ||
28909 | s/^\([^=]*=[ ]*\):*/\1/ | ||
28910 | s/:*$// | ||
28911 | s/^[^=]*=[ ]*$// | ||
28912 | }' | ||
28913 | fi | ||
28914 | |||
27724 | cat >>$CONFIG_STATUS <<\_ACEOF | 28915 | cat >>$CONFIG_STATUS <<\_ACEOF |
27725 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 28916 | fi # test -n "$CONFIG_FILES" |
27726 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 28917 | |
27727 | case $ac_file in | 28918 | |
27728 | - | *:- | *:-:* ) # input from stdin | 28919 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
27729 | cat >$tmp/stdin | 28920 | do |
27730 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 28921 | case $ac_tag in |
27731 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 28922 | :[FHLC]) ac_mode=$ac_tag; continue;; |
27732 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 28923 | esac |
27733 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 28924 | case $ac_mode$ac_tag in |
27734 | * ) ac_file_in=$ac_file.in ;; | 28925 | :[FHL]*:*);; |
28926 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | ||
28927 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} | ||
28928 | { (exit 1); exit 1; }; };; | ||
28929 | :[FH]-) ac_tag=-:-;; | ||
28930 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | ||
28931 | esac | ||
28932 | ac_save_IFS=$IFS | ||
28933 | IFS=: | ||
28934 | set x $ac_tag | ||
28935 | IFS=$ac_save_IFS | ||
28936 | shift | ||
28937 | ac_file=$1 | ||
28938 | shift | ||
28939 | |||
28940 | case $ac_mode in | ||
28941 | :L) ac_source=$1;; | ||
28942 | :[FH]) | ||
28943 | ac_file_inputs= | ||
28944 | for ac_f | ||
28945 | do | ||
28946 | case $ac_f in | ||
28947 | -) ac_f="$tmp/stdin";; | ||
28948 | *) # Look for the file first in the build tree, then in the source tree | ||
28949 | # (if the path is not absolute). The absolute path cannot be DOS-style, | ||
28950 | # because $ac_f cannot contain `:'. | ||
28951 | test -f "$ac_f" || | ||
28952 | case $ac_f in | ||
28953 | [\\/$]*) false;; | ||
28954 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | ||
28955 | esac || | ||
28956 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | ||
28957 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
28958 | { (exit 1); exit 1; }; };; | ||
28959 | esac | ||
28960 | ac_file_inputs="$ac_file_inputs $ac_f" | ||
28961 | done | ||
28962 | |||
28963 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
28964 | # use $as_me), people would be surprised to read: | ||
28965 | # /* config.h. Generated by config.status. */ | ||
28966 | configure_input="Generated from "`IFS=: | ||
28967 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | ||
28968 | if test x"$ac_file" != x-; then | ||
28969 | configure_input="$ac_file. $configure_input" | ||
28970 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
28971 | echo "$as_me: creating $ac_file" >&6;} | ||
28972 | fi | ||
28973 | |||
28974 | case $ac_tag in | ||
28975 | *:-:* | *:-) cat >"$tmp/stdin";; | ||
28976 | esac | ||
28977 | ;; | ||
27735 | esac | 28978 | esac |
27736 | 28979 | ||
27737 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 28980 | ac_dir=`$as_dirname -- "$ac_file" || |
27738 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
27739 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 28981 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
27740 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 28982 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
27741 | X"$ac_file" : 'X\(//\)$' \| \ | 28983 | X"$ac_file" : 'X\(//\)$' \| \ |
27742 | X"$ac_file" : 'X\(/\)' \| \ | 28984 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
27743 | . : '\(.\)' 2>/dev/null || | ||
27744 | echo X"$ac_file" | | 28985 | echo X"$ac_file" | |
27745 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 28986 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
27746 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 28987 | s//\1/ |
27747 | /^X\(\/\/\)$/{ s//\1/; q; } | 28988 | q |
27748 | /^X\(\/\).*/{ s//\1/; q; } | 28989 | } |
27749 | s/.*/./; q'` | 28990 | /^X\(\/\/\)[^/].*/{ |
27750 | { if $as_mkdir_p; then | 28991 | s//\1/ |
27751 | mkdir -p "$ac_dir" | 28992 | q |
27752 | else | 28993 | } |
27753 | as_dir="$ac_dir" | 28994 | /^X\(\/\/\)$/{ |
28995 | s//\1/ | ||
28996 | q | ||
28997 | } | ||
28998 | /^X\(\/\).*/{ | ||
28999 | s//\1/ | ||
29000 | q | ||
29001 | } | ||
29002 | s/.*/./; q'` | ||
29003 | { as_dir="$ac_dir" | ||
29004 | case $as_dir in #( | ||
29005 | -*) as_dir=./$as_dir;; | ||
29006 | esac | ||
29007 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
27754 | as_dirs= | 29008 | as_dirs= |
27755 | while test ! -d "$as_dir"; do | 29009 | while :; do |
27756 | as_dirs="$as_dir $as_dirs" | 29010 | case $as_dir in #( |
27757 | as_dir=`(dirname "$as_dir") 2>/dev/null || | 29011 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
29012 | *) as_qdir=$as_dir;; | ||
29013 | esac | ||
29014 | as_dirs="'$as_qdir' $as_dirs" | ||
29015 | as_dir=`$as_dirname -- "$as_dir" || | ||
27758 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 29016 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
27759 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 29017 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
27760 | X"$as_dir" : 'X\(//\)$' \| \ | 29018 | X"$as_dir" : 'X\(//\)$' \| \ |
27761 | X"$as_dir" : 'X\(/\)' \| \ | 29019 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
27762 | . : '\(.\)' 2>/dev/null || | ||
27763 | echo X"$as_dir" | | 29020 | echo X"$as_dir" | |
27764 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 29021 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
27765 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 29022 | s//\1/ |
27766 | /^X\(\/\/\)$/{ s//\1/; q; } | 29023 | q |
27767 | /^X\(\/\).*/{ s//\1/; q; } | 29024 | } |
27768 | s/.*/./; q'` | 29025 | /^X\(\/\/\)[^/].*/{ |
29026 | s//\1/ | ||
29027 | q | ||
29028 | } | ||
29029 | /^X\(\/\/\)$/{ | ||
29030 | s//\1/ | ||
29031 | q | ||
29032 | } | ||
29033 | /^X\(\/\).*/{ | ||
29034 | s//\1/ | ||
29035 | q | ||
29036 | } | ||
29037 | s/.*/./; q'` | ||
29038 | test -d "$as_dir" && break | ||
27769 | done | 29039 | done |
27770 | test ! -n "$as_dirs" || mkdir $as_dirs | 29040 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
27771 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 29041 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
27772 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 29042 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
27773 | { (exit 1); exit 1; }; }; } | 29043 | { (exit 1); exit 1; }; }; } |
27774 | |||
27775 | ac_builddir=. | 29044 | ac_builddir=. |
27776 | 29045 | ||
27777 | if test "$ac_dir" != .; then | 29046 | case "$ac_dir" in |
29047 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
29048 | *) | ||
27778 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 29049 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
27779 | # A "../" for each directory in $ac_dir_suffix. | 29050 | # A ".." for each directory in $ac_dir_suffix. |
27780 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 29051 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
27781 | else | 29052 | case $ac_top_builddir_sub in |
27782 | ac_dir_suffix= ac_top_builddir= | 29053 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
27783 | fi | 29054 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
29055 | esac ;; | ||
29056 | esac | ||
29057 | ac_abs_top_builddir=$ac_pwd | ||
29058 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
29059 | # for backward compatibility: | ||
29060 | ac_top_builddir=$ac_top_build_prefix | ||
27784 | 29061 | ||
27785 | case $srcdir in | 29062 | case $srcdir in |
27786 | .) # No --srcdir option. We are building in place. | 29063 | .) # We are building in place. |
27787 | ac_srcdir=. | 29064 | ac_srcdir=. |
27788 | if test -z "$ac_top_builddir"; then | 29065 | ac_top_srcdir=$ac_top_builddir_sub |
27789 | ac_top_srcdir=. | 29066 | ac_abs_top_srcdir=$ac_pwd ;; |
27790 | else | 29067 | [\\/]* | ?:[\\/]* ) # Absolute name. |
27791 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
27792 | fi ;; | ||
27793 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
27794 | ac_srcdir=$srcdir$ac_dir_suffix; | 29068 | ac_srcdir=$srcdir$ac_dir_suffix; |
27795 | ac_top_srcdir=$srcdir ;; | 29069 | ac_top_srcdir=$srcdir |
27796 | *) # Relative path. | 29070 | ac_abs_top_srcdir=$srcdir ;; |
27797 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 29071 | *) # Relative name. |
27798 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 29072 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
29073 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
29074 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
27799 | esac | 29075 | esac |
29076 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
27800 | 29077 | ||
27801 | # Do not use `cd foo && pwd` to compute absolute paths, because | ||
27802 | # the directories may not exist. | ||
27803 | case `pwd` in | ||
27804 | .) ac_abs_builddir="$ac_dir";; | ||
27805 | *) | ||
27806 | case "$ac_dir" in | ||
27807 | .) ac_abs_builddir=`pwd`;; | ||
27808 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
27809 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
27810 | esac;; | ||
27811 | esac | ||
27812 | case $ac_abs_builddir in | ||
27813 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
27814 | *) | ||
27815 | case ${ac_top_builddir}. in | ||
27816 | .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
27817 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
27818 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
27819 | esac;; | ||
27820 | esac | ||
27821 | case $ac_abs_builddir in | ||
27822 | .) ac_abs_srcdir=$ac_srcdir;; | ||
27823 | *) | ||
27824 | case $ac_srcdir in | ||
27825 | .) ac_abs_srcdir=$ac_abs_builddir;; | ||
27826 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
27827 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
27828 | esac;; | ||
27829 | esac | ||
27830 | case $ac_abs_builddir in | ||
27831 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
27832 | *) | ||
27833 | case $ac_top_srcdir in | ||
27834 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
27835 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
27836 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
27837 | esac;; | ||
27838 | esac | ||
27839 | 29078 | ||
29079 | case $ac_mode in | ||
29080 | :F) | ||
29081 | # | ||
29082 | # CONFIG_FILE | ||
29083 | # | ||
27840 | 29084 | ||
27841 | case $INSTALL in | 29085 | case $INSTALL in |
27842 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 29086 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
27843 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 29087 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
27844 | esac | 29088 | esac |
29089 | _ACEOF | ||
27845 | 29090 | ||
27846 | if test x"$ac_file" != x-; then | 29091 | cat >>$CONFIG_STATUS <<\_ACEOF |
27847 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | 29092 | # If the template does not know about datarootdir, expand it. |
27848 | echo "$as_me: creating $ac_file" >&6;} | 29093 | # FIXME: This hack should be removed a few years after 2.60. |
27849 | rm -f "$ac_file" | 29094 | ac_datarootdir_hack=; ac_datarootdir_seen= |
27850 | fi | 29095 | |
27851 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 29096 | case `sed -n '/datarootdir/ { |
27852 | # use $as_me), people would be surprised to read: | 29097 | p |
27853 | # /* config.h. Generated by config.status. */ | 29098 | q |
27854 | if test x"$ac_file" = x-; then | 29099 | } |
27855 | configure_input= | 29100 | /@datadir@/p |
27856 | else | 29101 | /@docdir@/p |
27857 | configure_input="$ac_file. " | 29102 | /@infodir@/p |
27858 | fi | 29103 | /@localedir@/p |
27859 | configure_input=$configure_input"Generated from `echo $ac_file_in | | 29104 | /@mandir@/p |
27860 | sed 's,.*/,,'` by configure." | 29105 | ' $ac_file_inputs` in |
27861 | 29106 | *datarootdir*) ac_datarootdir_seen=yes;; | |
27862 | # First look for the input files in the build tree, otherwise in the | 29107 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
27863 | # src tree. | 29108 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
27864 | ac_file_inputs=`IFS=: | 29109 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
27865 | for f in $ac_file_in; do | ||
27866 | case $f in | ||
27867 | -) echo $tmp/stdin ;; | ||
27868 | [\\/$]*) | ||
27869 | # Absolute (can't be DOS-style, as IFS=:) | ||
27870 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
27871 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
27872 | { (exit 1); exit 1; }; } | ||
27873 | echo "$f";; | ||
27874 | *) # Relative | ||
27875 | if test -f "$f"; then | ||
27876 | # Build tree | ||
27877 | echo "$f" | ||
27878 | elif test -f "$srcdir/$f"; then | ||
27879 | # Source tree | ||
27880 | echo "$srcdir/$f" | ||
27881 | else | ||
27882 | # /dev/null tree | ||
27883 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
27884 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
27885 | { (exit 1); exit 1; }; } | ||
27886 | fi;; | ||
27887 | esac | ||
27888 | done` || { (exit 1); exit 1; } | ||
27889 | _ACEOF | 29110 | _ACEOF |
27890 | cat >>$CONFIG_STATUS <<_ACEOF | 29111 | cat >>$CONFIG_STATUS <<_ACEOF |
29112 | ac_datarootdir_hack=' | ||
29113 | s&@datadir@&$datadir&g | ||
29114 | s&@docdir@&$docdir&g | ||
29115 | s&@infodir@&$infodir&g | ||
29116 | s&@localedir@&$localedir&g | ||
29117 | s&@mandir@&$mandir&g | ||
29118 | s&\\\${datarootdir}&$datarootdir&g' ;; | ||
29119 | esac | ||
29120 | _ACEOF | ||
29121 | |||
29122 | # Neutralize VPATH when `$srcdir' = `.'. | ||
29123 | # Shell code in configure.ac might set extrasub. | ||
29124 | # FIXME: do we really want to maintain this feature? | ||
29125 | cat >>$CONFIG_STATUS <<_ACEOF | ||
27891 | sed "$ac_vpsub | 29126 | sed "$ac_vpsub |
27892 | $extrasub | 29127 | $extrasub |
27893 | _ACEOF | 29128 | _ACEOF |
27894 | cat >>$CONFIG_STATUS <<\_ACEOF | 29129 | cat >>$CONFIG_STATUS <<\_ACEOF |
27895 | :t | 29130 | :t |
27896 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 29131 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
27897 | s,@configure_input@,$configure_input,;t t | 29132 | s&@configure_input@&$configure_input&;t t |
27898 | s,@srcdir@,$ac_srcdir,;t t | 29133 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
27899 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 29134 | s&@srcdir@&$ac_srcdir&;t t |
27900 | s,@top_srcdir@,$ac_top_srcdir,;t t | 29135 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
27901 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 29136 | s&@top_srcdir@&$ac_top_srcdir&;t t |
27902 | s,@builddir@,$ac_builddir,;t t | 29137 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
27903 | s,@abs_builddir@,$ac_abs_builddir,;t t | 29138 | s&@builddir@&$ac_builddir&;t t |
27904 | s,@top_builddir@,$ac_top_builddir,;t t | 29139 | s&@abs_builddir@&$ac_abs_builddir&;t t |
27905 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 29140 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
27906 | s,@INSTALL@,$ac_INSTALL,;t t | 29141 | s&@INSTALL@&$ac_INSTALL&;t t |
27907 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 29142 | $ac_datarootdir_hack |
27908 | rm -f $tmp/stdin | 29143 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
27909 | if test x"$ac_file" != x-; then | 29144 | |
27910 | mv $tmp/out $ac_file | 29145 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
27911 | else | 29146 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
27912 | cat $tmp/out | 29147 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
27913 | rm -f $tmp/out | 29148 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
27914 | fi | 29149 | which seems to be undefined. Please make sure it is defined." >&5 |
27915 | 29150 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
27916 | done | 29151 | which seems to be undefined. Please make sure it is defined." >&2;} |
27917 | _ACEOF | 29152 | |
27918 | cat >>$CONFIG_STATUS <<\_ACEOF | 29153 | rm -f "$tmp/stdin" |
27919 | |||
27920 | # | ||
27921 | # CONFIG_HEADER section. | ||
27922 | # | ||
27923 | |||
27924 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | ||
27925 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | ||
27926 | # | ||
27927 | # ac_d sets the value in "#define NAME VALUE" lines. | ||
27928 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | ||
27929 | ac_dB='[ ].*$,\1#\2' | ||
27930 | ac_dC=' ' | ||
27931 | ac_dD=',;t' | ||
27932 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | ||
27933 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | ||
27934 | ac_uB='$,\1#\2define\3' | ||
27935 | ac_uC=' ' | ||
27936 | ac_uD=',;t' | ||
27937 | |||
27938 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | ||
27939 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
27940 | case $ac_file in | 29154 | case $ac_file in |
27941 | - | *:- | *:-:* ) # input from stdin | 29155 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
27942 | cat >$tmp/stdin | 29156 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
27943 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
27944 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
27945 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
27946 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
27947 | * ) ac_file_in=$ac_file.in ;; | ||
27948 | esac | 29157 | esac |
27949 | 29158 | ;; | |
27950 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 29159 | :H) |
27951 | echo "$as_me: creating $ac_file" >&6;} | 29160 | # |
27952 | 29161 | # CONFIG_HEADER | |
27953 | # First look for the input files in the build tree, otherwise in the | 29162 | # |
27954 | # src tree. | 29163 | _ACEOF |
27955 | ac_file_inputs=`IFS=: | 29164 | |
27956 | for f in $ac_file_in; do | 29165 | # Transform confdefs.h into a sed script `conftest.defines', that |
27957 | case $f in | 29166 | # substitutes the proper values into config.h.in to produce config.h. |
27958 | -) echo $tmp/stdin ;; | 29167 | rm -f conftest.defines conftest.tail |
27959 | [\\/$]*) | 29168 | # First, append a space to every undef/define line, to ease matching. |
27960 | # Absolute (can't be DOS-style, as IFS=:) | 29169 | echo 's/$/ /' >conftest.defines |
27961 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 29170 | # Then, protect against being on the right side of a sed subst, or in |
27962 | echo "$as_me: error: cannot find input file: $f" >&2;} | 29171 | # an unquoted here document, in config.status. If some macros were |
27963 | { (exit 1); exit 1; }; } | 29172 | # called several times there might be several #defines for the same |
27964 | # Do quote $f, to prevent DOS paths from being IFS'd. | 29173 | # symbol, which is useless. But do not sort them, since the last |
27965 | echo "$f";; | 29174 | # AC_DEFINE must be honored. |
27966 | *) # Relative | 29175 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
27967 | if test -f "$f"; then | 29176 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
27968 | # Build tree | 29177 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
27969 | echo "$f" | 29178 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
27970 | elif test -f "$srcdir/$f"; then | 29179 | # just an empty string. |
27971 | # Source tree | 29180 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
27972 | echo "$srcdir/$f" | 29181 | ac_dB='\\)[ (].*,\\1define\\2' |
27973 | else | 29182 | ac_dC=' ' |
27974 | # /dev/null tree | 29183 | ac_dD=' ,' |
27975 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 29184 | |
27976 | echo "$as_me: error: cannot find input file: $f" >&2;} | 29185 | uniq confdefs.h | |
27977 | { (exit 1); exit 1; }; } | 29186 | sed -n ' |
27978 | fi;; | 29187 | t rset |
27979 | esac | 29188 | :rset |
27980 | done` || { (exit 1); exit 1; } | 29189 | s/^[ ]*#[ ]*define[ ][ ]*// |
27981 | # Remove the trailing spaces. | 29190 | t ok |
27982 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | 29191 | d |
27983 | 29192 | :ok | |
27984 | _ACEOF | 29193 | s/[\\&,]/\\&/g |
27985 | 29194 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p | |
27986 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 29195 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
27987 | # `conftest.undefs', that substitutes the proper values into | 29196 | ' >>conftest.defines |
27988 | # config.h.in to produce config.h. The first handles `#define' | 29197 | |
27989 | # templates, and the second `#undef' templates. | 29198 | # Remove the space that was appended to ease matching. |
27990 | # And first: Protect against being on the right side of a sed subst in | 29199 | # Then replace #undef with comments. This is necessary, for |
27991 | # config.status. Protect against being in an unquoted here document | ||
27992 | # in config.status. | ||
27993 | rm -f conftest.defines conftest.undefs | ||
27994 | # Using a here document instead of a string reduces the quoting nightmare. | ||
27995 | # Putting comments in sed scripts is not portable. | ||
27996 | # | ||
27997 | # `end' is used to avoid that the second main sed command (meant for | ||
27998 | # 0-ary CPP macros) applies to n-ary macro definitions. | ||
27999 | # See the Autoconf documentation for `clear'. | ||
28000 | cat >confdef2sed.sed <<\_ACEOF | ||
28001 | s/[\\&,]/\\&/g | ||
28002 | s,[\\$`],\\&,g | ||
28003 | t clear | ||
28004 | : clear | ||
28005 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | ||
28006 | t end | ||
28007 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | ||
28008 | : end | ||
28009 | _ACEOF | ||
28010 | # If some macros were called several times there might be several times | ||
28011 | # the same #defines, which is useless. Nevertheless, we may not want to | ||
28012 | # sort them, since we want the *last* AC-DEFINE to be honored. | ||
28013 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | ||
28014 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | ||
28015 | rm -f confdef2sed.sed | ||
28016 | |||
28017 | # This sed command replaces #undef with comments. This is necessary, for | ||
28018 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 29200 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
28019 | # on some systems where configure will not decide to define it. | 29201 | # on some systems where configure will not decide to define it. |
28020 | cat >>conftest.undefs <<\_ACEOF | 29202 | # (The regexp can be short, since the line contains either #define or #undef.) |
28021 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 29203 | echo 's/ $// |
28022 | _ACEOF | 29204 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
28023 | 29205 | ||
28024 | # Break up conftest.defines because some shells have a limit on the size | 29206 | # Break up conftest.defines: |
28025 | # of here documents, and old seds have small limits too (100 cmds). | 29207 | ac_max_sed_lines=50 |
28026 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 29208 | |
28027 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 29209 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
28028 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 29210 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
28029 | echo ' :' >>$CONFIG_STATUS | 29211 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
28030 | rm -f conftest.tail | 29212 | # et cetera. |
28031 | while grep . conftest.defines >/dev/null | 29213 | ac_in='$ac_file_inputs' |
29214 | ac_out='"$tmp/out1"' | ||
29215 | ac_nxt='"$tmp/out2"' | ||
29216 | |||
29217 | while : | ||
28032 | do | 29218 | do |
28033 | # Write a limited-size here document to $tmp/defines.sed. | 29219 | # Write a here document: |
28034 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 29220 | cat >>$CONFIG_STATUS <<_ACEOF |
28035 | # Speed up: don't consider the non `#define' lines. | 29221 | # First, check the format of the line: |
28036 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | 29222 | cat >"\$tmp/defines.sed" <<\\CEOF |
28037 | # Work around the forget-to-reset-the-flag bug. | 29223 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
28038 | echo 't clr' >>$CONFIG_STATUS | 29224 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
28039 | echo ': clr' >>$CONFIG_STATUS | 29225 | b |
28040 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 29226 | :def |
29227 | _ACEOF | ||
29228 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | ||
28041 | echo 'CEOF | 29229 | echo 'CEOF |
28042 | sed -f $tmp/defines.sed $tmp/in >$tmp/out | 29230 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
28043 | rm -f $tmp/in | 29231 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
28044 | mv $tmp/out $tmp/in | 29232 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
28045 | ' >>$CONFIG_STATUS | 29233 | grep . conftest.tail >/dev/null || break |
28046 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | ||
28047 | rm -f conftest.defines | 29234 | rm -f conftest.defines |
28048 | mv conftest.tail conftest.defines | 29235 | mv conftest.tail conftest.defines |
28049 | done | 29236 | done |
28050 | rm -f conftest.defines | 29237 | rm -f conftest.defines conftest.tail |
28051 | echo ' fi # grep' >>$CONFIG_STATUS | ||
28052 | echo >>$CONFIG_STATUS | ||
28053 | |||
28054 | # Break up conftest.undefs because some shells have a limit on the size | ||
28055 | # of here documents, and old seds have small limits too (100 cmds). | ||
28056 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | ||
28057 | rm -f conftest.tail | ||
28058 | while grep . conftest.undefs >/dev/null | ||
28059 | do | ||
28060 | # Write a limited-size here document to $tmp/undefs.sed. | ||
28061 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | ||
28062 | # Speed up: don't consider the non `#undef' | ||
28063 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | ||
28064 | # Work around the forget-to-reset-the-flag bug. | ||
28065 | echo 't clr' >>$CONFIG_STATUS | ||
28066 | echo ': clr' >>$CONFIG_STATUS | ||
28067 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | ||
28068 | echo 'CEOF | ||
28069 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out | ||
28070 | rm -f $tmp/in | ||
28071 | mv $tmp/out $tmp/in | ||
28072 | ' >>$CONFIG_STATUS | ||
28073 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | ||
28074 | rm -f conftest.undefs | ||
28075 | mv conftest.tail conftest.undefs | ||
28076 | done | ||
28077 | rm -f conftest.undefs | ||
28078 | 29238 | ||
29239 | echo "ac_result=$ac_in" >>$CONFIG_STATUS | ||
28079 | cat >>$CONFIG_STATUS <<\_ACEOF | 29240 | cat >>$CONFIG_STATUS <<\_ACEOF |
28080 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
28081 | # use $as_me), people would be surprised to read: | ||
28082 | # /* config.h. Generated by config.status. */ | ||
28083 | if test x"$ac_file" = x-; then | ||
28084 | echo "/* Generated by configure. */" >$tmp/config.h | ||
28085 | else | ||
28086 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | ||
28087 | fi | ||
28088 | cat $tmp/in >>$tmp/config.h | ||
28089 | rm -f $tmp/in | ||
28090 | if test x"$ac_file" != x-; then | 29241 | if test x"$ac_file" != x-; then |
28091 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 29242 | echo "/* $configure_input */" >"$tmp/config.h" |
29243 | cat "$ac_result" >>"$tmp/config.h" | ||
29244 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | ||
28092 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 29245 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
28093 | echo "$as_me: $ac_file is unchanged" >&6;} | 29246 | echo "$as_me: $ac_file is unchanged" >&6;} |
28094 | else | 29247 | else |
28095 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
28096 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
28097 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
28098 | X"$ac_file" : 'X\(//\)$' \| \ | ||
28099 | X"$ac_file" : 'X\(/\)' \| \ | ||
28100 | . : '\(.\)' 2>/dev/null || | ||
28101 | echo X"$ac_file" | | ||
28102 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
28103 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
28104 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
28105 | /^X\(\/\).*/{ s//\1/; q; } | ||
28106 | s/.*/./; q'` | ||
28107 | { if $as_mkdir_p; then | ||
28108 | mkdir -p "$ac_dir" | ||
28109 | else | ||
28110 | as_dir="$ac_dir" | ||
28111 | as_dirs= | ||
28112 | while test ! -d "$as_dir"; do | ||
28113 | as_dirs="$as_dir $as_dirs" | ||
28114 | as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
28115 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
28116 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
28117 | X"$as_dir" : 'X\(//\)$' \| \ | ||
28118 | X"$as_dir" : 'X\(/\)' \| \ | ||
28119 | . : '\(.\)' 2>/dev/null || | ||
28120 | echo X"$as_dir" | | ||
28121 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
28122 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
28123 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
28124 | /^X\(\/\).*/{ s//\1/; q; } | ||
28125 | s/.*/./; q'` | ||
28126 | done | ||
28127 | test ! -n "$as_dirs" || mkdir $as_dirs | ||
28128 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
28129 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
28130 | { (exit 1); exit 1; }; }; } | ||
28131 | |||
28132 | rm -f $ac_file | 29248 | rm -f $ac_file |
28133 | mv $tmp/config.h $ac_file | 29249 | mv "$tmp/config.h" $ac_file |
28134 | fi | 29250 | fi |
28135 | else | 29251 | else |
28136 | cat $tmp/config.h | 29252 | echo "/* $configure_input */" |
28137 | rm -f $tmp/config.h | 29253 | cat "$ac_result" |
28138 | fi | 29254 | fi |
28139 | done | 29255 | rm -f "$tmp/out12" |
28140 | _ACEOF | 29256 | ;; |
29257 | |||
29258 | |||
29259 | esac | ||
29260 | |||
29261 | done # for ac_tag | ||
28141 | 29262 | ||
28142 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
28143 | 29263 | ||
28144 | { (exit 0); exit 0; } | 29264 | { (exit 0); exit 0; } |
28145 | _ACEOF | 29265 | _ACEOF |
@@ -28207,12 +29327,15 @@ echo " sshd superuser user PATH: $J" | |||
28207 | fi | 29327 | fi |
28208 | echo " Manpage format: $MANTYPE" | 29328 | echo " Manpage format: $MANTYPE" |
28209 | echo " PAM support: $PAM_MSG" | 29329 | echo " PAM support: $PAM_MSG" |
29330 | echo " OSF SIA support: $SIA_MSG" | ||
28210 | echo " KerberosV support: $KRB5_MSG" | 29331 | echo " KerberosV support: $KRB5_MSG" |
29332 | echo " SELinux support: $SELINUX_MSG" | ||
28211 | echo " Smartcard support: $SCARD_MSG" | 29333 | echo " Smartcard support: $SCARD_MSG" |
28212 | echo " S/KEY support: $SKEY_MSG" | 29334 | echo " S/KEY support: $SKEY_MSG" |
28213 | echo " TCP Wrappers support: $TCPW_MSG" | 29335 | echo " TCP Wrappers support: $TCPW_MSG" |
28214 | echo " MD5 password support: $MD5_MSG" | 29336 | echo " MD5 password support: $MD5_MSG" |
28215 | echo " libedit support: $LIBEDIT_MSG" | 29337 | echo " libedit support: $LIBEDIT_MSG" |
29338 | echo " Solaris process contract support: $SPC_MSG" | ||
28216 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 29339 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
28217 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 29340 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
28218 | echo " BSD Auth support: $BSD_AUTH_MSG" | 29341 | echo " BSD Auth support: $BSD_AUTH_MSG" |