diff options
author | Colin Watson <cjwatson@debian.org> | 2003-09-01 18:52:37 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2003-09-01 18:52:37 +0000 |
commit | 854156dd39acbde9b4a47ec0fc54a042ea7358e0 (patch) | |
tree | 96755f8590acc2146f4b4ef5b5cdba600e5d9353 /autom4te.cache | |
parent | fad82e8999e790899083f9e22a1841148d746df6 (diff) | |
parent | 053db7da5ce09acdf742789d9d1a05e81d4861d0 (diff) |
Import OpenSSH 3.6.1p2.
Diffstat (limited to 'autom4te.cache')
-rw-r--r-- | autom4te.cache/output.0 | 19182 | ||||
-rw-r--r-- | autom4te.cache/requests | 111 | ||||
-rw-r--r-- | autom4te.cache/traces.0 | 947 |
3 files changed, 20240 insertions, 0 deletions
diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0 new file mode 100644 index 000000000..f99b3ba11 --- /dev/null +++ b/autom4te.cache/output.0 | |||
@@ -0,0 +1,19182 @@ | |||
1 | @%:@! /bin/sh | ||
2 | @%:@ Guess values for system-dependent variables and create Makefiles. | ||
3 | @%:@ Generated by GNU Autoconf 2.57. | ||
4 | @%:@ | ||
5 | @%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | ||
6 | @%:@ Free Software Foundation, Inc. | ||
7 | @%:@ This configure script is free software; the Free Software Foundation | ||
8 | @%:@ gives unlimited permission to copy, distribute and modify it. | ||
9 | ## --------------------- ## | ||
10 | ## M4sh Initialization. ## | ||
11 | ## --------------------- ## | ||
12 | |||
13 | # Be Bourne compatible | ||
14 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
15 | emulate sh | ||
16 | NULLCMD=: | ||
17 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
18 | # is contrary to our usage. Disable this feature. | ||
19 | alias -g '${1+"$@"}'='"$@"' | ||
20 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
21 | set -o posix | ||
22 | fi | ||
23 | |||
24 | # Support unset when possible. | ||
25 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | ||
26 | as_unset=unset | ||
27 | else | ||
28 | as_unset=false | ||
29 | fi | ||
30 | |||
31 | |||
32 | # Work around bugs in pre-3.0 UWIN ksh. | ||
33 | $as_unset ENV MAIL MAILPATH | ||
34 | PS1='$ ' | ||
35 | PS2='> ' | ||
36 | PS4='+ ' | ||
37 | |||
38 | # NLS nuisances. | ||
39 | for as_var in \ | ||
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
42 | LC_TELEPHONE LC_TIME | ||
43 | do | ||
44 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
45 | eval $as_var=C; export $as_var | ||
46 | else | ||
47 | $as_unset $as_var | ||
48 | fi | ||
49 | done | ||
50 | |||
51 | # Required to use basename. | ||
52 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
53 | as_expr=expr | ||
54 | else | ||
55 | as_expr=false | ||
56 | fi | ||
57 | |||
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
59 | as_basename=basename | ||
60 | else | ||
61 | as_basename=false | ||
62 | fi | ||
63 | |||
64 | |||
65 | # Name of the executable. | ||
66 | as_me=`$as_basename "$0" || | ||
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
68 | X"$0" : 'X\(//\)$' \| \ | ||
69 | X"$0" : 'X\(/\)$' \| \ | ||
70 | . : '\(.\)' 2>/dev/null || | ||
71 | echo X/"$0" | | ||
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
73 | /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
74 | /^X\/\(\/\).*/{ s//\1/; q; } | ||
75 | s/.*/./; q'` | ||
76 | |||
77 | |||
78 | # PATH needs CR, and LINENO needs CR and PATH. | ||
79 | # Avoid depending upon Character Ranges. | ||
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
83 | as_cr_digits='0123456789' | ||
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
85 | |||
86 | # The user is always right. | ||
87 | if test "${PATH_SEPARATOR+set}" != set; then | ||
88 | echo "#! /bin/sh" >conf$$.sh | ||
89 | echo "exit 0" >>conf$$.sh | ||
90 | chmod +x conf$$.sh | ||
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
92 | PATH_SEPARATOR=';' | ||
93 | else | ||
94 | PATH_SEPARATOR=: | ||
95 | fi | ||
96 | rm -f conf$$.sh | ||
97 | fi | ||
98 | |||
99 | |||
100 | as_lineno_1=$LINENO | ||
101 | as_lineno_2=$LINENO | ||
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
103 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
104 | test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
105 | # Find who we are. Look in the path if we contain no path at all | ||
106 | # relative or not. | ||
107 | case $0 in | ||
108 | *[\\/]* ) as_myself=$0 ;; | ||
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
110 | for as_dir in $PATH | ||
111 | do | ||
112 | IFS=$as_save_IFS | ||
113 | test -z "$as_dir" && as_dir=. | ||
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
115 | done | ||
116 | |||
117 | ;; | ||
118 | esac | ||
119 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
120 | # in which case we are not to be found in the path. | ||
121 | if test "x$as_myself" = x; then | ||
122 | as_myself=$0 | ||
123 | fi | ||
124 | if test ! -f "$as_myself"; then | ||
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | ||
126 | { (exit 1); exit 1; }; } | ||
127 | fi | ||
128 | case $CONFIG_SHELL in | ||
129 | '') | ||
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
132 | do | ||
133 | IFS=$as_save_IFS | ||
134 | test -z "$as_dir" && as_dir=. | ||
135 | for as_base in sh bash ksh sh5; do | ||
136 | case $as_dir in | ||
137 | /*) | ||
138 | if ("$as_dir/$as_base" -c ' | ||
139 | as_lineno_1=$LINENO | ||
140 | as_lineno_2=$LINENO | ||
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
142 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
146 | CONFIG_SHELL=$as_dir/$as_base | ||
147 | export CONFIG_SHELL | ||
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
149 | fi;; | ||
150 | esac | ||
151 | done | ||
152 | done | ||
153 | ;; | ||
154 | esac | ||
155 | |||
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
157 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
158 | # line-number line before each line; the second 'sed' does the real | ||
159 | # work. The second script uses 'N' to pair each line-number line | ||
160 | # with the numbered line, and appends trailing '-' during | ||
161 | # substitution so that $LINENO is not a special case at line end. | ||
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
164 | sed '=' <$as_myself | | ||
165 | sed ' | ||
166 | N | ||
167 | s,$,-, | ||
168 | : loop | ||
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
170 | t loop | ||
171 | s,-$,, | ||
172 | s,^['$as_cr_digits']*\n,, | ||
173 | ' >$as_me.lineno && | ||
174 | chmod +x $as_me.lineno || | ||
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
176 | { (exit 1); exit 1; }; } | ||
177 | |||
178 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
179 | # (the dirname of $[0] is not the place where we might find the | ||
180 | # original and so on. Autoconf is especially sensible to this). | ||
181 | . ./$as_me.lineno | ||
182 | # Exit status is that of the last command. | ||
183 | exit | ||
184 | } | ||
185 | |||
186 | |||
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
188 | *c*,-n*) ECHO_N= ECHO_C=' | ||
189 | ' ECHO_T=' ' ;; | ||
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
192 | esac | ||
193 | |||
194 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
195 | as_expr=expr | ||
196 | else | ||
197 | as_expr=false | ||
198 | fi | ||
199 | |||
200 | rm -f conf$$ conf$$.exe conf$$.file | ||
201 | echo >conf$$.file | ||
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
203 | # We could just check for DJGPP; but this test a) works b) is more generic | ||
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
205 | if test -f conf$$.exe; then | ||
206 | # Don't use ln at all; we don't have any links | ||
207 | as_ln_s='cp -p' | ||
208 | else | ||
209 | as_ln_s='ln -s' | ||
210 | fi | ||
211 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
212 | as_ln_s=ln | ||
213 | else | ||
214 | as_ln_s='cp -p' | ||
215 | fi | ||
216 | rm -f conf$$ conf$$.exe conf$$.file | ||
217 | |||
218 | if mkdir -p . 2>/dev/null; then | ||
219 | as_mkdir_p=: | ||
220 | else | ||
221 | as_mkdir_p=false | ||
222 | fi | ||
223 | |||
224 | as_executable_p="test -f" | ||
225 | |||
226 | # Sed expression to map a string onto a valid CPP name. | ||
227 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | ||
228 | |||
229 | # Sed expression to map a string onto a valid variable name. | ||
230 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | ||
231 | |||
232 | |||
233 | # IFS | ||
234 | # We need space, tab and new line, in precisely that order. | ||
235 | as_nl=' | ||
236 | ' | ||
237 | IFS=" $as_nl" | ||
238 | |||
239 | # CDPATH. | ||
240 | $as_unset CDPATH | ||
241 | |||
242 | |||
243 | # Name of the host. | ||
244 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
245 | # so uname gets run too. | ||
246 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
247 | |||
248 | exec 6>&1 | ||
249 | |||
250 | # | ||
251 | # Initializations. | ||
252 | # | ||
253 | ac_default_prefix=/usr/local | ||
254 | ac_config_libobj_dir=. | ||
255 | cross_compiling=no | ||
256 | subdirs= | ||
257 | MFLAGS= | ||
258 | MAKEFLAGS= | ||
259 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
260 | |||
261 | # Maximum number of lines to put in a shell here document. | ||
262 | # This variable seems obsolete. It should probably be removed, and | ||
263 | # only ac_max_sed_lines should be used. | ||
264 | : ${ac_max_here_lines=38} | ||
265 | |||
266 | # Identity of this package. | ||
267 | PACKAGE_NAME= | ||
268 | PACKAGE_TARNAME= | ||
269 | PACKAGE_VERSION= | ||
270 | PACKAGE_STRING= | ||
271 | PACKAGE_BUGREPORT= | ||
272 | |||
273 | ac_unique_file="ssh.c" | ||
274 | # Factoring default headers for most tests. | ||
275 | ac_includes_default="\ | ||
276 | #include <stdio.h> | ||
277 | #if HAVE_SYS_TYPES_H | ||
278 | # include <sys/types.h> | ||
279 | #endif | ||
280 | #if HAVE_SYS_STAT_H | ||
281 | # include <sys/stat.h> | ||
282 | #endif | ||
283 | #if STDC_HEADERS | ||
284 | # include <stdlib.h> | ||
285 | # include <stddef.h> | ||
286 | #else | ||
287 | # if HAVE_STDLIB_H | ||
288 | # include <stdlib.h> | ||
289 | # endif | ||
290 | #endif | ||
291 | #if HAVE_STRING_H | ||
292 | # if !STDC_HEADERS && HAVE_MEMORY_H | ||
293 | # include <memory.h> | ||
294 | # endif | ||
295 | # include <string.h> | ||
296 | #endif | ||
297 | #if HAVE_STRINGS_H | ||
298 | # include <strings.h> | ||
299 | #endif | ||
300 | #if HAVE_INTTYPES_H | ||
301 | # include <inttypes.h> | ||
302 | #else | ||
303 | # if HAVE_STDINT_H | ||
304 | # include <stdint.h> | ||
305 | # endif | ||
306 | #endif | ||
307 | #if HAVE_UNISTD_H | ||
308 | # include <unistd.h> | ||
309 | #endif" | ||
310 | |||
311 | 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 CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PERL SED ENT TEST_MINUS_S_SH SH LOGIN_PROGRAM_FALLBACK LD EGREP LIBWRAP LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIB@&t@OBJS LTLIBOBJS' | ||
312 | ac_subst_files='' | ||
313 | |||
314 | # Initialize some variables set by options. | ||
315 | ac_init_help= | ||
316 | ac_init_version=false | ||
317 | # The variables have the same names as the options, with | ||
318 | # dashes changed to underlines. | ||
319 | cache_file=/dev/null | ||
320 | exec_prefix=NONE | ||
321 | no_create= | ||
322 | no_recursion= | ||
323 | prefix=NONE | ||
324 | program_prefix=NONE | ||
325 | program_suffix=NONE | ||
326 | program_transform_name=s,x,x, | ||
327 | silent= | ||
328 | site= | ||
329 | srcdir= | ||
330 | verbose= | ||
331 | x_includes=NONE | ||
332 | x_libraries=NONE | ||
333 | |||
334 | # Installation directory options. | ||
335 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
336 | # and all the variables that are supposed to be based on exec_prefix | ||
337 | # by default will actually change. | ||
338 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
339 | bindir='${exec_prefix}/bin' | ||
340 | sbindir='${exec_prefix}/sbin' | ||
341 | libexecdir='${exec_prefix}/libexec' | ||
342 | datadir='${prefix}/share' | ||
343 | sysconfdir='${prefix}/etc' | ||
344 | sharedstatedir='${prefix}/com' | ||
345 | localstatedir='${prefix}/var' | ||
346 | libdir='${exec_prefix}/lib' | ||
347 | includedir='${prefix}/include' | ||
348 | oldincludedir='/usr/include' | ||
349 | infodir='${prefix}/info' | ||
350 | mandir='${prefix}/man' | ||
351 | |||
352 | ac_prev= | ||
353 | for ac_option | ||
354 | do | ||
355 | # If the previous option needs an argument, assign it. | ||
356 | if test -n "$ac_prev"; then | ||
357 | eval "$ac_prev=\$ac_option" | ||
358 | ac_prev= | ||
359 | continue | ||
360 | fi | ||
361 | |||
362 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | ||
363 | |||
364 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
365 | |||
366 | case $ac_option in | ||
367 | |||
368 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
369 | ac_prev=bindir ;; | ||
370 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
371 | bindir=$ac_optarg ;; | ||
372 | |||
373 | -build | --build | --buil | --bui | --bu) | ||
374 | ac_prev=build_alias ;; | ||
375 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
376 | build_alias=$ac_optarg ;; | ||
377 | |||
378 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
379 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
380 | ac_prev=cache_file ;; | ||
381 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
382 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
383 | cache_file=$ac_optarg ;; | ||
384 | |||
385 | --config-cache | -C) | ||
386 | cache_file=config.cache ;; | ||
387 | |||
388 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | ||
389 | ac_prev=datadir ;; | ||
390 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | ||
391 | | --da=*) | ||
392 | datadir=$ac_optarg ;; | ||
393 | |||
394 | -disable-* | --disable-*) | ||
395 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
396 | # Reject names that are not valid shell variable names. | ||
397 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
398 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
399 | { (exit 1); exit 1; }; } | ||
400 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
401 | eval "enable_$ac_feature=no" ;; | ||
402 | |||
403 | -enable-* | --enable-*) | ||
404 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
405 | # Reject names that are not valid shell variable names. | ||
406 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
407 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | ||
408 | { (exit 1); exit 1; }; } | ||
409 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ||
410 | case $ac_option in | ||
411 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
412 | *) ac_optarg=yes ;; | ||
413 | esac | ||
414 | eval "enable_$ac_feature='$ac_optarg'" ;; | ||
415 | |||
416 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
417 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
418 | | --exec | --exe | --ex) | ||
419 | ac_prev=exec_prefix ;; | ||
420 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
421 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
422 | | --exec=* | --exe=* | --ex=*) | ||
423 | exec_prefix=$ac_optarg ;; | ||
424 | |||
425 | -gas | --gas | --ga | --g) | ||
426 | # Obsolete; use --with-gas. | ||
427 | with_gas=yes ;; | ||
428 | |||
429 | -help | --help | --hel | --he | -h) | ||
430 | ac_init_help=long ;; | ||
431 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
432 | ac_init_help=recursive ;; | ||
433 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
434 | ac_init_help=short ;; | ||
435 | |||
436 | -host | --host | --hos | --ho) | ||
437 | ac_prev=host_alias ;; | ||
438 | -host=* | --host=* | --hos=* | --ho=*) | ||
439 | host_alias=$ac_optarg ;; | ||
440 | |||
441 | -includedir | --includedir | --includedi | --included | --include \ | ||
442 | | --includ | --inclu | --incl | --inc) | ||
443 | ac_prev=includedir ;; | ||
444 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
445 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
446 | includedir=$ac_optarg ;; | ||
447 | |||
448 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
449 | ac_prev=infodir ;; | ||
450 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
451 | infodir=$ac_optarg ;; | ||
452 | |||
453 | -libdir | --libdir | --libdi | --libd) | ||
454 | ac_prev=libdir ;; | ||
455 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
456 | libdir=$ac_optarg ;; | ||
457 | |||
458 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
459 | | --libexe | --libex | --libe) | ||
460 | ac_prev=libexecdir ;; | ||
461 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
462 | | --libexe=* | --libex=* | --libe=*) | ||
463 | libexecdir=$ac_optarg ;; | ||
464 | |||
465 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
466 | | --localstate | --localstat | --localsta | --localst \ | ||
467 | | --locals | --local | --loca | --loc | --lo) | ||
468 | ac_prev=localstatedir ;; | ||
469 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
470 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | ||
471 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
472 | localstatedir=$ac_optarg ;; | ||
473 | |||
474 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
475 | ac_prev=mandir ;; | ||
476 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
477 | mandir=$ac_optarg ;; | ||
478 | |||
479 | -nfp | --nfp | --nf) | ||
480 | # Obsolete; use --without-fp. | ||
481 | with_fp=no ;; | ||
482 | |||
483 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
484 | | --no-cr | --no-c | -n) | ||
485 | no_create=yes ;; | ||
486 | |||
487 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
488 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
489 | no_recursion=yes ;; | ||
490 | |||
491 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
492 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
493 | | --oldin | --oldi | --old | --ol | --o) | ||
494 | ac_prev=oldincludedir ;; | ||
495 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
496 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
497 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
498 | oldincludedir=$ac_optarg ;; | ||
499 | |||
500 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
501 | ac_prev=prefix ;; | ||
502 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
503 | prefix=$ac_optarg ;; | ||
504 | |||
505 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
506 | | --program-pre | --program-pr | --program-p) | ||
507 | ac_prev=program_prefix ;; | ||
508 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
509 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
510 | program_prefix=$ac_optarg ;; | ||
511 | |||
512 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
513 | | --program-suf | --program-su | --program-s) | ||
514 | ac_prev=program_suffix ;; | ||
515 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
516 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
517 | program_suffix=$ac_optarg ;; | ||
518 | |||
519 | -program-transform-name | --program-transform-name \ | ||
520 | | --program-transform-nam | --program-transform-na \ | ||
521 | | --program-transform-n | --program-transform- \ | ||
522 | | --program-transform | --program-transfor \ | ||
523 | | --program-transfo | --program-transf \ | ||
524 | | --program-trans | --program-tran \ | ||
525 | | --progr-tra | --program-tr | --program-t) | ||
526 | ac_prev=program_transform_name ;; | ||
527 | -program-transform-name=* | --program-transform-name=* \ | ||
528 | | --program-transform-nam=* | --program-transform-na=* \ | ||
529 | | --program-transform-n=* | --program-transform-=* \ | ||
530 | | --program-transform=* | --program-transfor=* \ | ||
531 | | --program-transfo=* | --program-transf=* \ | ||
532 | | --program-trans=* | --program-tran=* \ | ||
533 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
534 | program_transform_name=$ac_optarg ;; | ||
535 | |||
536 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
537 | | -silent | --silent | --silen | --sile | --sil) | ||
538 | silent=yes ;; | ||
539 | |||
540 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
541 | ac_prev=sbindir ;; | ||
542 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
543 | | --sbi=* | --sb=*) | ||
544 | sbindir=$ac_optarg ;; | ||
545 | |||
546 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
547 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
548 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
549 | | --sha | --sh) | ||
550 | ac_prev=sharedstatedir ;; | ||
551 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
552 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
553 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
554 | | --sha=* | --sh=*) | ||
555 | sharedstatedir=$ac_optarg ;; | ||
556 | |||
557 | -site | --site | --sit) | ||
558 | ac_prev=site ;; | ||
559 | -site=* | --site=* | --sit=*) | ||
560 | site=$ac_optarg ;; | ||
561 | |||
562 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
563 | ac_prev=srcdir ;; | ||
564 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
565 | srcdir=$ac_optarg ;; | ||
566 | |||
567 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
568 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
569 | ac_prev=sysconfdir ;; | ||
570 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
571 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
572 | sysconfdir=$ac_optarg ;; | ||
573 | |||
574 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
575 | ac_prev=target_alias ;; | ||
576 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
577 | target_alias=$ac_optarg ;; | ||
578 | |||
579 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
580 | verbose=yes ;; | ||
581 | |||
582 | -version | --version | --versio | --versi | --vers | -V) | ||
583 | ac_init_version=: ;; | ||
584 | |||
585 | -with-* | --with-*) | ||
586 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
587 | # Reject names that are not valid shell variable names. | ||
588 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
589 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
590 | { (exit 1); exit 1; }; } | ||
591 | ac_package=`echo $ac_package| sed 's/-/_/g'` | ||
592 | case $ac_option in | ||
593 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
594 | *) ac_optarg=yes ;; | ||
595 | esac | ||
596 | eval "with_$ac_package='$ac_optarg'" ;; | ||
597 | |||
598 | -without-* | --without-*) | ||
599 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
600 | # Reject names that are not valid shell variable names. | ||
601 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | ||
602 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | ||
603 | { (exit 1); exit 1; }; } | ||
604 | ac_package=`echo $ac_package | sed 's/-/_/g'` | ||
605 | eval "with_$ac_package=no" ;; | ||
606 | |||
607 | --x) | ||
608 | # Obsolete; use --with-x. | ||
609 | with_x=yes ;; | ||
610 | |||
611 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
612 | | --x-incl | --x-inc | --x-in | --x-i) | ||
613 | ac_prev=x_includes ;; | ||
614 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
615 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
616 | x_includes=$ac_optarg ;; | ||
617 | |||
618 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
619 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
620 | ac_prev=x_libraries ;; | ||
621 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
622 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
623 | x_libraries=$ac_optarg ;; | ||
624 | |||
625 | -*) { echo "$as_me: error: unrecognized option: $ac_option | ||
626 | Try \`$0 --help' for more information." >&2 | ||
627 | { (exit 1); exit 1; }; } | ||
628 | ;; | ||
629 | |||
630 | *=*) | ||
631 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
632 | # Reject names that are not valid shell variable names. | ||
633 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | ||
634 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | ||
635 | { (exit 1); exit 1; }; } | ||
636 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | ||
637 | eval "$ac_envvar='$ac_optarg'" | ||
638 | export $ac_envvar ;; | ||
639 | |||
640 | *) | ||
641 | # FIXME: should be removed in autoconf 3.0. | ||
642 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
643 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
644 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
645 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
646 | ;; | ||
647 | |||
648 | esac | ||
649 | done | ||
650 | |||
651 | if test -n "$ac_prev"; then | ||
652 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
653 | { echo "$as_me: error: missing argument to $ac_option" >&2 | ||
654 | { (exit 1); exit 1; }; } | ||
655 | fi | ||
656 | |||
657 | # Be sure to have absolute paths. | ||
658 | for ac_var in exec_prefix prefix | ||
659 | do | ||
660 | eval ac_val=$`echo $ac_var` | ||
661 | case $ac_val in | ||
662 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
663 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
664 | { (exit 1); exit 1; }; };; | ||
665 | esac | ||
666 | done | ||
667 | |||
668 | # Be sure to have absolute paths. | ||
669 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
670 | localstatedir libdir includedir oldincludedir infodir mandir | ||
671 | do | ||
672 | eval ac_val=$`echo $ac_var` | ||
673 | case $ac_val in | ||
674 | [\\/$]* | ?:[\\/]* ) ;; | ||
675 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
676 | { (exit 1); exit 1; }; };; | ||
677 | esac | ||
678 | done | ||
679 | |||
680 | # There might be people who depend on the old broken behavior: `$host' | ||
681 | # used to hold the argument of --host etc. | ||
682 | # FIXME: To remove some day. | ||
683 | build=$build_alias | ||
684 | host=$host_alias | ||
685 | target=$target_alias | ||
686 | |||
687 | # FIXME: To remove some day. | ||
688 | if test "x$host_alias" != x; then | ||
689 | if test "x$build_alias" = x; then | ||
690 | cross_compiling=maybe | ||
691 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
692 | If a cross compiler is detected then cross compile mode will be used." >&2 | ||
693 | elif test "x$build_alias" != "x$host_alias"; then | ||
694 | cross_compiling=yes | ||
695 | fi | ||
696 | fi | ||
697 | |||
698 | ac_tool_prefix= | ||
699 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
700 | |||
701 | test "$silent" = yes && exec 6>/dev/null | ||
702 | |||
703 | |||
704 | # Find the source files, if location was not specified. | ||
705 | if test -z "$srcdir"; then | ||
706 | ac_srcdir_defaulted=yes | ||
707 | # Try the directory containing this script, then its parent. | ||
708 | ac_confdir=`(dirname "$0") 2>/dev/null || | ||
709 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
710 | X"$0" : 'X\(//\)[^/]' \| \ | ||
711 | X"$0" : 'X\(//\)$' \| \ | ||
712 | X"$0" : 'X\(/\)' \| \ | ||
713 | . : '\(.\)' 2>/dev/null || | ||
714 | echo X"$0" | | ||
715 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
716 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
717 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
718 | /^X\(\/\).*/{ s//\1/; q; } | ||
719 | s/.*/./; q'` | ||
720 | srcdir=$ac_confdir | ||
721 | if test ! -r $srcdir/$ac_unique_file; then | ||
722 | srcdir=.. | ||
723 | fi | ||
724 | else | ||
725 | ac_srcdir_defaulted=no | ||
726 | fi | ||
727 | if test ! -r $srcdir/$ac_unique_file; then | ||
728 | if test "$ac_srcdir_defaulted" = yes; then | ||
729 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | ||
730 | { (exit 1); exit 1; }; } | ||
731 | else | ||
732 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
733 | { (exit 1); exit 1; }; } | ||
734 | fi | ||
735 | fi | ||
736 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | ||
737 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | ||
738 | { (exit 1); exit 1; }; } | ||
739 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | ||
740 | ac_env_build_alias_set=${build_alias+set} | ||
741 | ac_env_build_alias_value=$build_alias | ||
742 | ac_cv_env_build_alias_set=${build_alias+set} | ||
743 | ac_cv_env_build_alias_value=$build_alias | ||
744 | ac_env_host_alias_set=${host_alias+set} | ||
745 | ac_env_host_alias_value=$host_alias | ||
746 | ac_cv_env_host_alias_set=${host_alias+set} | ||
747 | ac_cv_env_host_alias_value=$host_alias | ||
748 | ac_env_target_alias_set=${target_alias+set} | ||
749 | ac_env_target_alias_value=$target_alias | ||
750 | ac_cv_env_target_alias_set=${target_alias+set} | ||
751 | ac_cv_env_target_alias_value=$target_alias | ||
752 | ac_env_CC_set=${CC+set} | ||
753 | ac_env_CC_value=$CC | ||
754 | ac_cv_env_CC_set=${CC+set} | ||
755 | ac_cv_env_CC_value=$CC | ||
756 | ac_env_CFLAGS_set=${CFLAGS+set} | ||
757 | ac_env_CFLAGS_value=$CFLAGS | ||
758 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
759 | ac_cv_env_CFLAGS_value=$CFLAGS | ||
760 | ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
761 | ac_env_LDFLAGS_value=$LDFLAGS | ||
762 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
763 | ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
764 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
765 | ac_env_CPPFLAGS_value=$CPPFLAGS | ||
766 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
767 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
768 | ac_env_CPP_set=${CPP+set} | ||
769 | ac_env_CPP_value=$CPP | ||
770 | ac_cv_env_CPP_set=${CPP+set} | ||
771 | ac_cv_env_CPP_value=$CPP | ||
772 | |||
773 | # | ||
774 | # Report the --help message. | ||
775 | # | ||
776 | if test "$ac_init_help" = "long"; then | ||
777 | # Omit some internal or obsolete options to make the list less imposing. | ||
778 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
779 | cat <<_ACEOF | ||
780 | \`configure' configures this package to adapt to many kinds of systems. | ||
781 | |||
782 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
783 | |||
784 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
785 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
786 | |||
787 | Defaults for the options are specified in brackets. | ||
788 | |||
789 | Configuration: | ||
790 | -h, --help display this help and exit | ||
791 | --help=short display options specific to this package | ||
792 | --help=recursive display the short help of all the included packages | ||
793 | -V, --version display version information and exit | ||
794 | -q, --quiet, --silent do not print \`checking...' messages | ||
795 | --cache-file=FILE cache test results in FILE [disabled] | ||
796 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
797 | -n, --no-create do not create output files | ||
798 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
799 | |||
800 | _ACEOF | ||
801 | |||
802 | cat <<_ACEOF | ||
803 | Installation directories: | ||
804 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
805 | [$ac_default_prefix] | ||
806 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
807 | [PREFIX] | ||
808 | |||
809 | By default, \`make install' will install all the files in | ||
810 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
811 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
812 | for instance \`--prefix=\$HOME'. | ||
813 | |||
814 | For better control, use the options below. | ||
815 | |||
816 | Fine tuning of the installation directories: | ||
817 | --bindir=DIR user executables [EPREFIX/bin] | ||
818 | --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
819 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
820 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
821 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
822 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
823 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
824 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
825 | --includedir=DIR C header files [PREFIX/include] | ||
826 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
827 | --infodir=DIR info documentation [PREFIX/info] | ||
828 | --mandir=DIR man documentation [PREFIX/man] | ||
829 | _ACEOF | ||
830 | |||
831 | cat <<\_ACEOF | ||
832 | |||
833 | System types: | ||
834 | --build=BUILD configure for building on BUILD [guessed] | ||
835 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | ||
836 | _ACEOF | ||
837 | fi | ||
838 | |||
839 | if test -n "$ac_init_help"; then | ||
840 | |||
841 | cat <<\_ACEOF | ||
842 | |||
843 | Optional Features: | ||
844 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
845 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
846 | --disable-largefile omit support for large files | ||
847 | --disable-strip Disable calling strip(1) on install | ||
848 | --disable-lastlog disable use of lastlog even if detected no | ||
849 | --disable-utmp disable use of utmp even if detected no | ||
850 | --disable-utmpx disable use of utmpx even if detected no | ||
851 | --disable-wtmp disable use of wtmp even if detected no | ||
852 | --disable-wtmpx disable use of wtmpx even if detected no | ||
853 | --disable-libutil disable use of libutil (login() etc.) no | ||
854 | --disable-pututline disable use of pututline() etc. (uwtmp) no | ||
855 | --disable-pututxline disable use of pututxline() etc. (uwtmpx) no | ||
856 | |||
857 | Optional Packages: | ||
858 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
859 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
860 | --with-osfsia Enable Digital Unix SIA | ||
861 | --with-cflags Specify additional flags to pass to compiler | ||
862 | --with-cppflags Specify additional flags to pass to preprocessor | ||
863 | --with-ldflags Specify additional flags to pass to linker | ||
864 | --with-libs Specify additional libraries to link with | ||
865 | --without-rpath Disable auto-added -R linker paths | ||
866 | --with-zlib=PATH Use zlib in PATH | ||
867 | --with-skey[=PATH] Enable S/Key support | ||
868 | (optionally in PATH) | ||
869 | --with-tcp-wrappers[=PATH] Enable tcpwrappers support | ||
870 | (optionally in PATH) | ||
871 | --with-pam Enable PAM support | ||
872 | --with-ssl-dir=PATH Specify path to OpenSSL installation | ||
873 | --with-rand-helper Use subprocess to gather strong randomness | ||
874 | --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT | ||
875 | --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool) | ||
876 | --with-entropy-timeout Specify entropy gathering command timeout (msec) | ||
877 | --with-privsep-user=user Specify non-privileged user for privilege separation | ||
878 | --with-sectok Enable smartcard support using libsectok | ||
879 | --with-opensc=PFX Enable smartcard support using OpenSC | ||
880 | --with-kerberos5=PATH Enable Kerberos 5 support | ||
881 | --with-kerberos4=PATH Enable Kerberos 4 support | ||
882 | --with-afs=PATH Enable AFS support | ||
883 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) | ||
884 | --with-xauth=PATH Specify path to xauth program | ||
885 | --with-mantype=man|cat|doc Set man page type | ||
886 | --with-md5-passwords Enable use of MD5 passwords | ||
887 | --without-shadow Disable shadow password support | ||
888 | --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY | ||
889 | --with-default-path= Specify default \$PATH environment for server | ||
890 | --with-superuser-path= Specify different path for super-user | ||
891 | --with-ipv4-default Use IPv4 by connections unless '-6' specified | ||
892 | --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses | ||
893 | --with-bsd-auth Enable BSD auth support | ||
894 | --with-pid-dir=PATH Specify location of ssh.pid file | ||
895 | --with-lastlog=FILE|DIR specify lastlog location common locations | ||
896 | |||
897 | Some influential environment variables: | ||
898 | CC C compiler command | ||
899 | CFLAGS C compiler flags | ||
900 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
901 | nonstandard directory <lib dir> | ||
902 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | ||
903 | headers in a nonstandard directory <include dir> | ||
904 | CPP C preprocessor | ||
905 | |||
906 | Use these variables to override the choices made by `configure' or to help | ||
907 | it to find libraries and programs with nonstandard names/locations. | ||
908 | |||
909 | _ACEOF | ||
910 | fi | ||
911 | |||
912 | if test "$ac_init_help" = "recursive"; then | ||
913 | # If there are subdirs, report their specific --help. | ||
914 | ac_popdir=`pwd` | ||
915 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
916 | test -d $ac_dir || continue | ||
917 | ac_builddir=. | ||
918 | |||
919 | if test "$ac_dir" != .; then | ||
920 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
921 | # A "../" for each directory in $ac_dir_suffix. | ||
922 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
923 | else | ||
924 | ac_dir_suffix= ac_top_builddir= | ||
925 | fi | ||
926 | |||
927 | case $srcdir in | ||
928 | .) # No --srcdir option. We are building in place. | ||
929 | ac_srcdir=. | ||
930 | if test -z "$ac_top_builddir"; then | ||
931 | ac_top_srcdir=. | ||
932 | else | ||
933 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
934 | fi ;; | ||
935 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
936 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
937 | ac_top_srcdir=$srcdir ;; | ||
938 | *) # Relative path. | ||
939 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
940 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
941 | esac | ||
942 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | ||
943 | # absolute. | ||
944 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | ||
945 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | ||
946 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | ||
947 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | ||
948 | |||
949 | cd $ac_dir | ||
950 | # Check for guested configure; otherwise get Cygnus style configure. | ||
951 | if test -f $ac_srcdir/configure.gnu; then | ||
952 | echo | ||
953 | $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
954 | elif test -f $ac_srcdir/configure; then | ||
955 | echo | ||
956 | $SHELL $ac_srcdir/configure --help=recursive | ||
957 | elif test -f $ac_srcdir/configure.ac || | ||
958 | test -f $ac_srcdir/configure.in; then | ||
959 | echo | ||
960 | $ac_configure --help | ||
961 | else | ||
962 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
963 | fi | ||
964 | cd $ac_popdir | ||
965 | done | ||
966 | fi | ||
967 | |||
968 | test -n "$ac_init_help" && exit 0 | ||
969 | if $ac_init_version; then | ||
970 | cat <<\_ACEOF | ||
971 | |||
972 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | ||
973 | Free Software Foundation, Inc. | ||
974 | This configure script is free software; the Free Software Foundation | ||
975 | gives unlimited permission to copy, distribute and modify it. | ||
976 | _ACEOF | ||
977 | exit 0 | ||
978 | fi | ||
979 | exec 5>config.log | ||
980 | cat >&5 <<_ACEOF | ||
981 | This file contains any messages produced by compilers while | ||
982 | running configure, to aid debugging if configure makes a mistake. | ||
983 | |||
984 | It was created by $as_me, which was | ||
985 | generated by GNU Autoconf 2.57. Invocation command line was | ||
986 | |||
987 | $ $0 $@ | ||
988 | |||
989 | _ACEOF | ||
990 | { | ||
991 | cat <<_ASUNAME | ||
992 | @%:@@%:@ --------- @%:@@%:@ | ||
993 | @%:@@%:@ Platform. @%:@@%:@ | ||
994 | @%:@@%:@ --------- @%:@@%:@ | ||
995 | |||
996 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
997 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
998 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
999 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
1000 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
1001 | |||
1002 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
1003 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
1004 | |||
1005 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
1006 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
1007 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
1008 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | ||
1009 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
1010 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
1011 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
1012 | |||
1013 | _ASUNAME | ||
1014 | |||
1015 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1016 | for as_dir in $PATH | ||
1017 | do | ||
1018 | IFS=$as_save_IFS | ||
1019 | test -z "$as_dir" && as_dir=. | ||
1020 | echo "PATH: $as_dir" | ||
1021 | done | ||
1022 | |||
1023 | } >&5 | ||
1024 | |||
1025 | cat >&5 <<_ACEOF | ||
1026 | |||
1027 | |||
1028 | @%:@@%:@ ----------- @%:@@%:@ | ||
1029 | @%:@@%:@ Core tests. @%:@@%:@ | ||
1030 | @%:@@%:@ ----------- @%:@@%:@ | ||
1031 | |||
1032 | _ACEOF | ||
1033 | |||
1034 | |||
1035 | # Keep a trace of the command line. | ||
1036 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
1037 | # Strip out --silent because we don't want to record it for future runs. | ||
1038 | # Also quote any args containing shell meta-characters. | ||
1039 | # Make two passes to allow for proper duplicate-argument suppression. | ||
1040 | ac_configure_args= | ||
1041 | ac_configure_args0= | ||
1042 | ac_configure_args1= | ||
1043 | ac_sep= | ||
1044 | ac_must_keep_next=false | ||
1045 | for ac_pass in 1 2 | ||
1046 | do | ||
1047 | for ac_arg | ||
1048 | do | ||
1049 | case $ac_arg in | ||
1050 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
1051 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1052 | | -silent | --silent | --silen | --sile | --sil) | ||
1053 | continue ;; | ||
1054 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1055 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1056 | esac | ||
1057 | case $ac_pass in | ||
1058 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | ||
1059 | 2) | ||
1060 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | ||
1061 | if test $ac_must_keep_next = true; then | ||
1062 | ac_must_keep_next=false # Got value, back to normal. | ||
1063 | else | ||
1064 | case $ac_arg in | ||
1065 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
1066 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
1067 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
1068 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
1069 | case "$ac_configure_args0 " in | ||
1070 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
1071 | esac | ||
1072 | ;; | ||
1073 | -* ) ac_must_keep_next=true ;; | ||
1074 | esac | ||
1075 | fi | ||
1076 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ||
1077 | # Get rid of the leading space. | ||
1078 | ac_sep=" " | ||
1079 | ;; | ||
1080 | esac | ||
1081 | done | ||
1082 | done | ||
1083 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | ||
1084 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | ||
1085 | |||
1086 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
1087 | # config.log. We remove comments because anyway the quotes in there | ||
1088 | # would cause problems or look ugly. | ||
1089 | # WARNING: Be sure not to use single quotes in there, as some shells, | ||
1090 | # such as our DU 5.0 friend, will then `close' the trap. | ||
1091 | trap 'exit_status=$? | ||
1092 | # Save into config.log some information that might help in debugging. | ||
1093 | { | ||
1094 | echo | ||
1095 | |||
1096 | cat <<\_ASBOX | ||
1097 | @%:@@%:@ ---------------- @%:@@%:@ | ||
1098 | @%:@@%:@ Cache variables. @%:@@%:@ | ||
1099 | @%:@@%:@ ---------------- @%:@@%:@ | ||
1100 | _ASBOX | ||
1101 | echo | ||
1102 | # The following way of writing the cache mishandles newlines in values, | ||
1103 | { | ||
1104 | (set) 2>&1 | | ||
1105 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | ||
1106 | *ac_space=\ *) | ||
1107 | sed -n \ | ||
1108 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | ||
1109 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | ||
1110 | ;; | ||
1111 | *) | ||
1112 | sed -n \ | ||
1113 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
1114 | ;; | ||
1115 | esac; | ||
1116 | } | ||
1117 | echo | ||
1118 | |||
1119 | cat <<\_ASBOX | ||
1120 | @%:@@%:@ ----------------- @%:@@%:@ | ||
1121 | @%:@@%:@ Output variables. @%:@@%:@ | ||
1122 | @%:@@%:@ ----------------- @%:@@%:@ | ||
1123 | _ASBOX | ||
1124 | echo | ||
1125 | for ac_var in $ac_subst_vars | ||
1126 | do | ||
1127 | eval ac_val=$`echo $ac_var` | ||
1128 | echo "$ac_var='"'"'$ac_val'"'"'" | ||
1129 | done | sort | ||
1130 | echo | ||
1131 | |||
1132 | if test -n "$ac_subst_files"; then | ||
1133 | cat <<\_ASBOX | ||
1134 | @%:@@%:@ ------------- @%:@@%:@ | ||
1135 | @%:@@%:@ Output files. @%:@@%:@ | ||
1136 | @%:@@%:@ ------------- @%:@@%:@ | ||
1137 | _ASBOX | ||
1138 | echo | ||
1139 | for ac_var in $ac_subst_files | ||
1140 | do | ||
1141 | eval ac_val=$`echo $ac_var` | ||
1142 | echo "$ac_var='"'"'$ac_val'"'"'" | ||
1143 | done | sort | ||
1144 | echo | ||
1145 | fi | ||
1146 | |||
1147 | if test -s confdefs.h; then | ||
1148 | cat <<\_ASBOX | ||
1149 | @%:@@%:@ ----------- @%:@@%:@ | ||
1150 | @%:@@%:@ confdefs.h. @%:@@%:@ | ||
1151 | @%:@@%:@ ----------- @%:@@%:@ | ||
1152 | _ASBOX | ||
1153 | echo | ||
1154 | sed "/^$/d" confdefs.h | sort | ||
1155 | echo | ||
1156 | fi | ||
1157 | test "$ac_signal" != 0 && | ||
1158 | echo "$as_me: caught signal $ac_signal" | ||
1159 | echo "$as_me: exit $exit_status" | ||
1160 | } >&5 | ||
1161 | rm -f core core.* *.core && | ||
1162 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | ||
1163 | exit $exit_status | ||
1164 | ' 0 | ||
1165 | for ac_signal in 1 2 13 15; do | ||
1166 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | ||
1167 | done | ||
1168 | ac_signal=0 | ||
1169 | |||
1170 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
1171 | rm -rf conftest* confdefs.h | ||
1172 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
1173 | echo >confdefs.h | ||
1174 | |||
1175 | # Predefined preprocessor variables. | ||
1176 | |||
1177 | cat >>confdefs.h <<_ACEOF | ||
1178 | @%:@define PACKAGE_NAME "$PACKAGE_NAME" | ||
1179 | _ACEOF | ||
1180 | |||
1181 | |||
1182 | cat >>confdefs.h <<_ACEOF | ||
1183 | @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
1184 | _ACEOF | ||
1185 | |||
1186 | |||
1187 | cat >>confdefs.h <<_ACEOF | ||
1188 | @%:@define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
1189 | _ACEOF | ||
1190 | |||
1191 | |||
1192 | cat >>confdefs.h <<_ACEOF | ||
1193 | @%:@define PACKAGE_STRING "$PACKAGE_STRING" | ||
1194 | _ACEOF | ||
1195 | |||
1196 | |||
1197 | cat >>confdefs.h <<_ACEOF | ||
1198 | @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
1199 | _ACEOF | ||
1200 | |||
1201 | |||
1202 | # Let the site file select an alternate cache file if it wants to. | ||
1203 | # Prefer explicitly selected file to automatically selected ones. | ||
1204 | if test -z "$CONFIG_SITE"; then | ||
1205 | if test "x$prefix" != xNONE; then | ||
1206 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | ||
1207 | else | ||
1208 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | ||
1209 | fi | ||
1210 | fi | ||
1211 | for ac_site_file in $CONFIG_SITE; do | ||
1212 | if test -r "$ac_site_file"; then | ||
1213 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | ||
1214 | echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1215 | sed 's/^/| /' "$ac_site_file" >&5 | ||
1216 | . "$ac_site_file" | ||
1217 | fi | ||
1218 | done | ||
1219 | |||
1220 | if test -r "$cache_file"; then | ||
1221 | # Some versions of bash will fail to source /dev/null (special | ||
1222 | # files actually), so we avoid doing that. | ||
1223 | if test -f "$cache_file"; then | ||
1224 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | ||
1225 | echo "$as_me: loading cache $cache_file" >&6;} | ||
1226 | case $cache_file in | ||
1227 | [\\/]* | ?:[\\/]* ) . $cache_file;; | ||
1228 | *) . ./$cache_file;; | ||
1229 | esac | ||
1230 | fi | ||
1231 | else | ||
1232 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | ||
1233 | echo "$as_me: creating cache $cache_file" >&6;} | ||
1234 | >$cache_file | ||
1235 | fi | ||
1236 | |||
1237 | # Check that the precious variables saved in the cache have kept the same | ||
1238 | # value. | ||
1239 | ac_cache_corrupted=false | ||
1240 | for ac_var in `(set) 2>&1 | | ||
1241 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
1242 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
1243 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
1244 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | ||
1245 | eval ac_new_val="\$ac_env_${ac_var}_value" | ||
1246 | case $ac_old_set,$ac_new_set in | ||
1247 | set,) | ||
1248 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
1249 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
1250 | ac_cache_corrupted=: ;; | ||
1251 | ,set) | ||
1252 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | ||
1253 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
1254 | ac_cache_corrupted=: ;; | ||
1255 | ,);; | ||
1256 | *) | ||
1257 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
1258 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | ||
1259 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
1260 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | ||
1261 | echo "$as_me: former value: $ac_old_val" >&2;} | ||
1262 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | ||
1263 | echo "$as_me: current value: $ac_new_val" >&2;} | ||
1264 | ac_cache_corrupted=: | ||
1265 | fi;; | ||
1266 | esac | ||
1267 | # Pass precious variables to config.status. | ||
1268 | if test "$ac_new_set" = set; then | ||
1269 | case $ac_new_val in | ||
1270 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | ||
1271 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
1272 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
1273 | esac | ||
1274 | case " $ac_configure_args " in | ||
1275 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
1276 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
1277 | esac | ||
1278 | fi | ||
1279 | done | ||
1280 | if $ac_cache_corrupted; then | ||
1281 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | ||
1282 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
1283 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | ||
1284 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
1285 | { (exit 1); exit 1; }; } | ||
1286 | fi | ||
1287 | |||
1288 | ac_ext=c | ||
1289 | ac_cpp='$CPP $CPPFLAGS' | ||
1290 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1291 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1292 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1293 | |||
1294 | |||
1295 | |||
1296 | |||
1297 | |||
1298 | |||
1299 | |||
1300 | |||
1301 | |||
1302 | |||
1303 | |||
1304 | |||
1305 | |||
1306 | |||
1307 | |||
1308 | |||
1309 | |||
1310 | |||
1311 | |||
1312 | |||
1313 | |||
1314 | ac_config_headers="$ac_config_headers config.h" | ||
1315 | |||
1316 | ac_ext=c | ||
1317 | ac_cpp='$CPP $CPPFLAGS' | ||
1318 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
1319 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
1320 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
1321 | if test -n "$ac_tool_prefix"; then | ||
1322 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | ||
1323 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
1324 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1325 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1326 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1327 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1328 | else | ||
1329 | if test -n "$CC"; then | ||
1330 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1331 | else | ||
1332 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1333 | for as_dir in $PATH | ||
1334 | do | ||
1335 | IFS=$as_save_IFS | ||
1336 | test -z "$as_dir" && as_dir=. | ||
1337 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1338 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1339 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
1340 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1341 | break 2 | ||
1342 | fi | ||
1343 | done | ||
1344 | done | ||
1345 | |||
1346 | fi | ||
1347 | fi | ||
1348 | CC=$ac_cv_prog_CC | ||
1349 | if test -n "$CC"; then | ||
1350 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1351 | echo "${ECHO_T}$CC" >&6 | ||
1352 | else | ||
1353 | echo "$as_me:$LINENO: result: no" >&5 | ||
1354 | echo "${ECHO_T}no" >&6 | ||
1355 | fi | ||
1356 | |||
1357 | fi | ||
1358 | if test -z "$ac_cv_prog_CC"; then | ||
1359 | ac_ct_CC=$CC | ||
1360 | # Extract the first word of "gcc", so it can be a program name with args. | ||
1361 | set dummy gcc; ac_word=$2 | ||
1362 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1363 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1364 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1365 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1366 | else | ||
1367 | if test -n "$ac_ct_CC"; then | ||
1368 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1369 | else | ||
1370 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1371 | for as_dir in $PATH | ||
1372 | do | ||
1373 | IFS=$as_save_IFS | ||
1374 | test -z "$as_dir" && as_dir=. | ||
1375 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1376 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1377 | ac_cv_prog_ac_ct_CC="gcc" | ||
1378 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1379 | break 2 | ||
1380 | fi | ||
1381 | done | ||
1382 | done | ||
1383 | |||
1384 | fi | ||
1385 | fi | ||
1386 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1387 | if test -n "$ac_ct_CC"; then | ||
1388 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1389 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1390 | else | ||
1391 | echo "$as_me:$LINENO: result: no" >&5 | ||
1392 | echo "${ECHO_T}no" >&6 | ||
1393 | fi | ||
1394 | |||
1395 | CC=$ac_ct_CC | ||
1396 | else | ||
1397 | CC="$ac_cv_prog_CC" | ||
1398 | fi | ||
1399 | |||
1400 | if test -z "$CC"; then | ||
1401 | if test -n "$ac_tool_prefix"; then | ||
1402 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
1403 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
1404 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1405 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1406 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1407 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1408 | else | ||
1409 | if test -n "$CC"; then | ||
1410 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1411 | else | ||
1412 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1413 | for as_dir in $PATH | ||
1414 | do | ||
1415 | IFS=$as_save_IFS | ||
1416 | test -z "$as_dir" && as_dir=. | ||
1417 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1418 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1419 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
1420 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1421 | break 2 | ||
1422 | fi | ||
1423 | done | ||
1424 | done | ||
1425 | |||
1426 | fi | ||
1427 | fi | ||
1428 | CC=$ac_cv_prog_CC | ||
1429 | if test -n "$CC"; then | ||
1430 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1431 | echo "${ECHO_T}$CC" >&6 | ||
1432 | else | ||
1433 | echo "$as_me:$LINENO: result: no" >&5 | ||
1434 | echo "${ECHO_T}no" >&6 | ||
1435 | fi | ||
1436 | |||
1437 | fi | ||
1438 | if test -z "$ac_cv_prog_CC"; then | ||
1439 | ac_ct_CC=$CC | ||
1440 | # Extract the first word of "cc", so it can be a program name with args. | ||
1441 | set dummy cc; ac_word=$2 | ||
1442 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1443 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1444 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1445 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1446 | else | ||
1447 | if test -n "$ac_ct_CC"; then | ||
1448 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1449 | else | ||
1450 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1451 | for as_dir in $PATH | ||
1452 | do | ||
1453 | IFS=$as_save_IFS | ||
1454 | test -z "$as_dir" && as_dir=. | ||
1455 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1456 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1457 | ac_cv_prog_ac_ct_CC="cc" | ||
1458 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1459 | break 2 | ||
1460 | fi | ||
1461 | done | ||
1462 | done | ||
1463 | |||
1464 | fi | ||
1465 | fi | ||
1466 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1467 | if test -n "$ac_ct_CC"; then | ||
1468 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1469 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1470 | else | ||
1471 | echo "$as_me:$LINENO: result: no" >&5 | ||
1472 | echo "${ECHO_T}no" >&6 | ||
1473 | fi | ||
1474 | |||
1475 | CC=$ac_ct_CC | ||
1476 | else | ||
1477 | CC="$ac_cv_prog_CC" | ||
1478 | fi | ||
1479 | |||
1480 | fi | ||
1481 | if test -z "$CC"; then | ||
1482 | # Extract the first word of "cc", so it can be a program name with args. | ||
1483 | set dummy cc; ac_word=$2 | ||
1484 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1485 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1486 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1487 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1488 | else | ||
1489 | if test -n "$CC"; then | ||
1490 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1491 | else | ||
1492 | ac_prog_rejected=no | ||
1493 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1494 | for as_dir in $PATH | ||
1495 | do | ||
1496 | IFS=$as_save_IFS | ||
1497 | test -z "$as_dir" && as_dir=. | ||
1498 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1499 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1500 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
1501 | ac_prog_rejected=yes | ||
1502 | continue | ||
1503 | fi | ||
1504 | ac_cv_prog_CC="cc" | ||
1505 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1506 | break 2 | ||
1507 | fi | ||
1508 | done | ||
1509 | done | ||
1510 | |||
1511 | if test $ac_prog_rejected = yes; then | ||
1512 | # We found a bogon in the path, so make sure we never use it. | ||
1513 | set dummy $ac_cv_prog_CC | ||
1514 | shift | ||
1515 | if test $@%:@ != 0; then | ||
1516 | # We chose a different compiler from the bogus one. | ||
1517 | # However, it has the same basename, so the bogon will be chosen | ||
1518 | # first if we set CC to just the basename; use the full file name. | ||
1519 | shift | ||
1520 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
1521 | fi | ||
1522 | fi | ||
1523 | fi | ||
1524 | fi | ||
1525 | CC=$ac_cv_prog_CC | ||
1526 | if test -n "$CC"; then | ||
1527 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1528 | echo "${ECHO_T}$CC" >&6 | ||
1529 | else | ||
1530 | echo "$as_me:$LINENO: result: no" >&5 | ||
1531 | echo "${ECHO_T}no" >&6 | ||
1532 | fi | ||
1533 | |||
1534 | fi | ||
1535 | if test -z "$CC"; then | ||
1536 | if test -n "$ac_tool_prefix"; then | ||
1537 | for ac_prog in cl | ||
1538 | do | ||
1539 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | ||
1540 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | ||
1541 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1542 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1543 | if test "${ac_cv_prog_CC+set}" = set; then | ||
1544 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1545 | else | ||
1546 | if test -n "$CC"; then | ||
1547 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
1548 | else | ||
1549 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1550 | for as_dir in $PATH | ||
1551 | do | ||
1552 | IFS=$as_save_IFS | ||
1553 | test -z "$as_dir" && as_dir=. | ||
1554 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1555 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1556 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ||
1557 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1558 | break 2 | ||
1559 | fi | ||
1560 | done | ||
1561 | done | ||
1562 | |||
1563 | fi | ||
1564 | fi | ||
1565 | CC=$ac_cv_prog_CC | ||
1566 | if test -n "$CC"; then | ||
1567 | echo "$as_me:$LINENO: result: $CC" >&5 | ||
1568 | echo "${ECHO_T}$CC" >&6 | ||
1569 | else | ||
1570 | echo "$as_me:$LINENO: result: no" >&5 | ||
1571 | echo "${ECHO_T}no" >&6 | ||
1572 | fi | ||
1573 | |||
1574 | test -n "$CC" && break | ||
1575 | done | ||
1576 | fi | ||
1577 | if test -z "$CC"; then | ||
1578 | ac_ct_CC=$CC | ||
1579 | for ac_prog in cl | ||
1580 | do | ||
1581 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
1582 | set dummy $ac_prog; ac_word=$2 | ||
1583 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
1584 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1585 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
1586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1587 | else | ||
1588 | if test -n "$ac_ct_CC"; then | ||
1589 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
1590 | else | ||
1591 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1592 | for as_dir in $PATH | ||
1593 | do | ||
1594 | IFS=$as_save_IFS | ||
1595 | test -z "$as_dir" && as_dir=. | ||
1596 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
1597 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
1598 | ac_cv_prog_ac_ct_CC="$ac_prog" | ||
1599 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
1600 | break 2 | ||
1601 | fi | ||
1602 | done | ||
1603 | done | ||
1604 | |||
1605 | fi | ||
1606 | fi | ||
1607 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
1608 | if test -n "$ac_ct_CC"; then | ||
1609 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
1610 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
1611 | else | ||
1612 | echo "$as_me:$LINENO: result: no" >&5 | ||
1613 | echo "${ECHO_T}no" >&6 | ||
1614 | fi | ||
1615 | |||
1616 | test -n "$ac_ct_CC" && break | ||
1617 | done | ||
1618 | |||
1619 | CC=$ac_ct_CC | ||
1620 | fi | ||
1621 | |||
1622 | fi | ||
1623 | |||
1624 | |||
1625 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | ||
1626 | See \`config.log' for more details." >&5 | ||
1627 | echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
1628 | See \`config.log' for more details." >&2;} | ||
1629 | { (exit 1); exit 1; }; } | ||
1630 | |||
1631 | # Provide some information about the compiler. | ||
1632 | echo "$as_me:$LINENO:" \ | ||
1633 | "checking for C compiler version" >&5 | ||
1634 | ac_compiler=`set X $ac_compile; echo $2` | ||
1635 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | ||
1636 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | ||
1637 | ac_status=$? | ||
1638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1639 | (exit $ac_status); } | ||
1640 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | ||
1641 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | ||
1642 | ac_status=$? | ||
1643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1644 | (exit $ac_status); } | ||
1645 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | ||
1646 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | ||
1647 | ac_status=$? | ||
1648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1649 | (exit $ac_status); } | ||
1650 | |||
1651 | cat >conftest.$ac_ext <<_ACEOF | ||
1652 | #line $LINENO "configure" | ||
1653 | /* confdefs.h. */ | ||
1654 | _ACEOF | ||
1655 | cat confdefs.h >>conftest.$ac_ext | ||
1656 | cat >>conftest.$ac_ext <<_ACEOF | ||
1657 | /* end confdefs.h. */ | ||
1658 | |||
1659 | int | ||
1660 | main () | ||
1661 | { | ||
1662 | |||
1663 | ; | ||
1664 | return 0; | ||
1665 | } | ||
1666 | _ACEOF | ||
1667 | ac_clean_files_save=$ac_clean_files | ||
1668 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | ||
1669 | # Try to create an executable without -o first, disregard a.out. | ||
1670 | # It will help us diagnose broken compilers, and finding out an intuition | ||
1671 | # of exeext. | ||
1672 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 | ||
1673 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | ||
1674 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ||
1675 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | ||
1676 | (eval $ac_link_default) 2>&5 | ||
1677 | ac_status=$? | ||
1678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1679 | (exit $ac_status); }; then | ||
1680 | # Find the output, starting from the most likely. This scheme is | ||
1681 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | ||
1682 | # resort. | ||
1683 | |||
1684 | # Be careful to initialize this variable, since it used to be cached. | ||
1685 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | ||
1686 | ac_cv_exeext= | ||
1687 | # b.out is created by i960 compilers. | ||
1688 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
1689 | do | ||
1690 | test -f "$ac_file" || continue | ||
1691 | case $ac_file in | ||
1692 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | ||
1693 | ;; | ||
1694 | conftest.$ac_ext ) | ||
1695 | # This is the source file. | ||
1696 | ;; | ||
1697 | [ab].out ) | ||
1698 | # We found the default executable, but exeext='' is most | ||
1699 | # certainly right. | ||
1700 | break;; | ||
1701 | *.* ) | ||
1702 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
1703 | # FIXME: I believe we export ac_cv_exeext for Libtool, | ||
1704 | # but it would be cool to find out if it's true. Does anybody | ||
1705 | # maintain Libtool? --akim. | ||
1706 | export ac_cv_exeext | ||
1707 | break;; | ||
1708 | * ) | ||
1709 | break;; | ||
1710 | esac | ||
1711 | done | ||
1712 | else | ||
1713 | echo "$as_me: failed program was:" >&5 | ||
1714 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1715 | |||
1716 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
1717 | See \`config.log' for more details." >&5 | ||
1718 | echo "$as_me: error: C compiler cannot create executables | ||
1719 | See \`config.log' for more details." >&2;} | ||
1720 | { (exit 77); exit 77; }; } | ||
1721 | fi | ||
1722 | |||
1723 | ac_exeext=$ac_cv_exeext | ||
1724 | echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
1725 | echo "${ECHO_T}$ac_file" >&6 | ||
1726 | |||
1727 | # Check the compiler produces executables we can run. If not, either | ||
1728 | # the compiler is broken, or we cross compile. | ||
1729 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
1730 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | ||
1731 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
1732 | # If not cross compiling, check that we can run a simple program. | ||
1733 | if test "$cross_compiling" != yes; then | ||
1734 | if { ac_try='./$ac_file' | ||
1735 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1736 | (eval $ac_try) 2>&5 | ||
1737 | ac_status=$? | ||
1738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1739 | (exit $ac_status); }; }; then | ||
1740 | cross_compiling=no | ||
1741 | else | ||
1742 | if test "$cross_compiling" = maybe; then | ||
1743 | cross_compiling=yes | ||
1744 | else | ||
1745 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
1746 | If you meant to cross compile, use \`--host'. | ||
1747 | See \`config.log' for more details." >&5 | ||
1748 | echo "$as_me: error: cannot run C compiled programs. | ||
1749 | If you meant to cross compile, use \`--host'. | ||
1750 | See \`config.log' for more details." >&2;} | ||
1751 | { (exit 1); exit 1; }; } | ||
1752 | fi | ||
1753 | fi | ||
1754 | fi | ||
1755 | echo "$as_me:$LINENO: result: yes" >&5 | ||
1756 | echo "${ECHO_T}yes" >&6 | ||
1757 | |||
1758 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
1759 | ac_clean_files=$ac_clean_files_save | ||
1760 | # Check the compiler produces executables we can run. If not, either | ||
1761 | # the compiler is broken, or we cross compile. | ||
1762 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
1763 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | ||
1764 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
1765 | echo "${ECHO_T}$cross_compiling" >&6 | ||
1766 | |||
1767 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
1768 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | ||
1769 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
1770 | (eval $ac_link) 2>&5 | ||
1771 | ac_status=$? | ||
1772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1773 | (exit $ac_status); }; then | ||
1774 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | ||
1775 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | ||
1776 | # work properly (i.e., refer to `conftest.exe'), while it won't with | ||
1777 | # `rm'. | ||
1778 | for ac_file in conftest.exe conftest conftest.*; do | ||
1779 | test -f "$ac_file" || continue | ||
1780 | case $ac_file in | ||
1781 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | ||
1782 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | ||
1783 | export ac_cv_exeext | ||
1784 | break;; | ||
1785 | * ) break;; | ||
1786 | esac | ||
1787 | done | ||
1788 | else | ||
1789 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | ||
1790 | See \`config.log' for more details." >&5 | ||
1791 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
1792 | See \`config.log' for more details." >&2;} | ||
1793 | { (exit 1); exit 1; }; } | ||
1794 | fi | ||
1795 | |||
1796 | rm -f conftest$ac_cv_exeext | ||
1797 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
1798 | echo "${ECHO_T}$ac_cv_exeext" >&6 | ||
1799 | |||
1800 | rm -f conftest.$ac_ext | ||
1801 | EXEEXT=$ac_cv_exeext | ||
1802 | ac_exeext=$EXEEXT | ||
1803 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | ||
1804 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | ||
1805 | if test "${ac_cv_objext+set}" = set; then | ||
1806 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1807 | else | ||
1808 | cat >conftest.$ac_ext <<_ACEOF | ||
1809 | #line $LINENO "configure" | ||
1810 | /* confdefs.h. */ | ||
1811 | _ACEOF | ||
1812 | cat confdefs.h >>conftest.$ac_ext | ||
1813 | cat >>conftest.$ac_ext <<_ACEOF | ||
1814 | /* end confdefs.h. */ | ||
1815 | |||
1816 | int | ||
1817 | main () | ||
1818 | { | ||
1819 | |||
1820 | ; | ||
1821 | return 0; | ||
1822 | } | ||
1823 | _ACEOF | ||
1824 | rm -f conftest.o conftest.obj | ||
1825 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1826 | (eval $ac_compile) 2>&5 | ||
1827 | ac_status=$? | ||
1828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1829 | (exit $ac_status); }; then | ||
1830 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | ||
1831 | case $ac_file in | ||
1832 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | ||
1833 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | ||
1834 | break;; | ||
1835 | esac | ||
1836 | done | ||
1837 | else | ||
1838 | echo "$as_me: failed program was:" >&5 | ||
1839 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1840 | |||
1841 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | ||
1842 | See \`config.log' for more details." >&5 | ||
1843 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
1844 | See \`config.log' for more details." >&2;} | ||
1845 | { (exit 1); exit 1; }; } | ||
1846 | fi | ||
1847 | |||
1848 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | ||
1849 | fi | ||
1850 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | ||
1851 | echo "${ECHO_T}$ac_cv_objext" >&6 | ||
1852 | OBJEXT=$ac_cv_objext | ||
1853 | ac_objext=$OBJEXT | ||
1854 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | ||
1855 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | ||
1856 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | ||
1857 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1858 | else | ||
1859 | cat >conftest.$ac_ext <<_ACEOF | ||
1860 | #line $LINENO "configure" | ||
1861 | /* confdefs.h. */ | ||
1862 | _ACEOF | ||
1863 | cat confdefs.h >>conftest.$ac_ext | ||
1864 | cat >>conftest.$ac_ext <<_ACEOF | ||
1865 | /* end confdefs.h. */ | ||
1866 | |||
1867 | int | ||
1868 | main () | ||
1869 | { | ||
1870 | #ifndef __GNUC__ | ||
1871 | choke me | ||
1872 | #endif | ||
1873 | |||
1874 | ; | ||
1875 | return 0; | ||
1876 | } | ||
1877 | _ACEOF | ||
1878 | rm -f conftest.$ac_objext | ||
1879 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1880 | (eval $ac_compile) 2>&5 | ||
1881 | ac_status=$? | ||
1882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1883 | (exit $ac_status); } && | ||
1884 | { ac_try='test -s conftest.$ac_objext' | ||
1885 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1886 | (eval $ac_try) 2>&5 | ||
1887 | ac_status=$? | ||
1888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1889 | (exit $ac_status); }; }; then | ||
1890 | ac_compiler_gnu=yes | ||
1891 | else | ||
1892 | echo "$as_me: failed program was:" >&5 | ||
1893 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1894 | |||
1895 | ac_compiler_gnu=no | ||
1896 | fi | ||
1897 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
1898 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ||
1899 | |||
1900 | fi | ||
1901 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | ||
1902 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | ||
1903 | GCC=`test $ac_compiler_gnu = yes && echo yes` | ||
1904 | ac_test_CFLAGS=${CFLAGS+set} | ||
1905 | ac_save_CFLAGS=$CFLAGS | ||
1906 | CFLAGS="-g" | ||
1907 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | ||
1908 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
1909 | if test "${ac_cv_prog_cc_g+set}" = set; then | ||
1910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1911 | else | ||
1912 | cat >conftest.$ac_ext <<_ACEOF | ||
1913 | #line $LINENO "configure" | ||
1914 | /* confdefs.h. */ | ||
1915 | _ACEOF | ||
1916 | cat confdefs.h >>conftest.$ac_ext | ||
1917 | cat >>conftest.$ac_ext <<_ACEOF | ||
1918 | /* end confdefs.h. */ | ||
1919 | |||
1920 | int | ||
1921 | main () | ||
1922 | { | ||
1923 | |||
1924 | ; | ||
1925 | return 0; | ||
1926 | } | ||
1927 | _ACEOF | ||
1928 | rm -f conftest.$ac_objext | ||
1929 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
1930 | (eval $ac_compile) 2>&5 | ||
1931 | ac_status=$? | ||
1932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1933 | (exit $ac_status); } && | ||
1934 | { ac_try='test -s conftest.$ac_objext' | ||
1935 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
1936 | (eval $ac_try) 2>&5 | ||
1937 | ac_status=$? | ||
1938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
1939 | (exit $ac_status); }; }; then | ||
1940 | ac_cv_prog_cc_g=yes | ||
1941 | else | ||
1942 | echo "$as_me: failed program was:" >&5 | ||
1943 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1944 | |||
1945 | ac_cv_prog_cc_g=no | ||
1946 | fi | ||
1947 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
1948 | fi | ||
1949 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
1950 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | ||
1951 | if test "$ac_test_CFLAGS" = set; then | ||
1952 | CFLAGS=$ac_save_CFLAGS | ||
1953 | elif test $ac_cv_prog_cc_g = yes; then | ||
1954 | if test "$GCC" = yes; then | ||
1955 | CFLAGS="-g -O2" | ||
1956 | else | ||
1957 | CFLAGS="-g" | ||
1958 | fi | ||
1959 | else | ||
1960 | if test "$GCC" = yes; then | ||
1961 | CFLAGS="-O2" | ||
1962 | else | ||
1963 | CFLAGS= | ||
1964 | fi | ||
1965 | fi | ||
1966 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | ||
1967 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
1968 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
1969 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1970 | else | ||
1971 | ac_cv_prog_cc_stdc=no | ||
1972 | ac_save_CC=$CC | ||
1973 | cat >conftest.$ac_ext <<_ACEOF | ||
1974 | #line $LINENO "configure" | ||
1975 | /* confdefs.h. */ | ||
1976 | _ACEOF | ||
1977 | cat confdefs.h >>conftest.$ac_ext | ||
1978 | cat >>conftest.$ac_ext <<_ACEOF | ||
1979 | /* end confdefs.h. */ | ||
1980 | #include <stdarg.h> | ||
1981 | #include <stdio.h> | ||
1982 | #include <sys/types.h> | ||
1983 | #include <sys/stat.h> | ||
1984 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
1985 | struct buf { int x; }; | ||
1986 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
1987 | static char *e (p, i) | ||
1988 | char **p; | ||
1989 | int i; | ||
1990 | { | ||
1991 | return p[i]; | ||
1992 | } | ||
1993 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
1994 | { | ||
1995 | char *s; | ||
1996 | va_list v; | ||
1997 | va_start (v,p); | ||
1998 | s = g (p, va_arg (v,int)); | ||
1999 | va_end (v); | ||
2000 | return s; | ||
2001 | } | ||
2002 | int test (int i, double x); | ||
2003 | struct s1 {int (*f) (int a);}; | ||
2004 | struct s2 {int (*f) (double a);}; | ||
2005 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
2006 | int argc; | ||
2007 | char **argv; | ||
2008 | int | ||
2009 | main () | ||
2010 | { | ||
2011 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
2012 | ; | ||
2013 | return 0; | ||
2014 | } | ||
2015 | _ACEOF | ||
2016 | # Don't try gcc -ansi; that turns off useful extensions and | ||
2017 | # breaks some systems' header files. | ||
2018 | # AIX -qlanglvl=ansi | ||
2019 | # Ultrix and OSF/1 -std1 | ||
2020 | # HP-UX 10.20 and later -Ae | ||
2021 | # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
2022 | # SVR4 -Xc -D__EXTENSIONS__ | ||
2023 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
2024 | do | ||
2025 | CC="$ac_save_CC $ac_arg" | ||
2026 | rm -f conftest.$ac_objext | ||
2027 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2028 | (eval $ac_compile) 2>&5 | ||
2029 | ac_status=$? | ||
2030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2031 | (exit $ac_status); } && | ||
2032 | { ac_try='test -s conftest.$ac_objext' | ||
2033 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2034 | (eval $ac_try) 2>&5 | ||
2035 | ac_status=$? | ||
2036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2037 | (exit $ac_status); }; }; then | ||
2038 | ac_cv_prog_cc_stdc=$ac_arg | ||
2039 | break | ||
2040 | else | ||
2041 | echo "$as_me: failed program was:" >&5 | ||
2042 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2043 | |||
2044 | fi | ||
2045 | rm -f conftest.$ac_objext | ||
2046 | done | ||
2047 | rm -f conftest.$ac_ext conftest.$ac_objext | ||
2048 | CC=$ac_save_CC | ||
2049 | |||
2050 | fi | ||
2051 | |||
2052 | case "x$ac_cv_prog_cc_stdc" in | ||
2053 | x|xno) | ||
2054 | echo "$as_me:$LINENO: result: none needed" >&5 | ||
2055 | echo "${ECHO_T}none needed" >&6 ;; | ||
2056 | *) | ||
2057 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | ||
2058 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
2059 | CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
2060 | esac | ||
2061 | |||
2062 | # Some people use a C++ compiler to compile C. Since we use `exit', | ||
2063 | # in C++ we need to declare it. In case someone uses the same compiler | ||
2064 | # for both compiling C and C++ we need to have the C++ compiler decide | ||
2065 | # the declaration of exit, since it's the most demanding environment. | ||
2066 | cat >conftest.$ac_ext <<_ACEOF | ||
2067 | @%:@ifndef __cplusplus | ||
2068 | choke me | ||
2069 | @%:@endif | ||
2070 | _ACEOF | ||
2071 | rm -f conftest.$ac_objext | ||
2072 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2073 | (eval $ac_compile) 2>&5 | ||
2074 | ac_status=$? | ||
2075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2076 | (exit $ac_status); } && | ||
2077 | { ac_try='test -s conftest.$ac_objext' | ||
2078 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2079 | (eval $ac_try) 2>&5 | ||
2080 | ac_status=$? | ||
2081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2082 | (exit $ac_status); }; }; then | ||
2083 | for ac_declaration in \ | ||
2084 | ''\ | ||
2085 | '#include <stdlib.h>' \ | ||
2086 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
2087 | 'extern "C" void std::exit (int); using std::exit;' \ | ||
2088 | 'extern "C" void exit (int) throw ();' \ | ||
2089 | 'extern "C" void exit (int);' \ | ||
2090 | 'void exit (int);' | ||
2091 | do | ||
2092 | cat >conftest.$ac_ext <<_ACEOF | ||
2093 | #line $LINENO "configure" | ||
2094 | /* confdefs.h. */ | ||
2095 | _ACEOF | ||
2096 | cat confdefs.h >>conftest.$ac_ext | ||
2097 | cat >>conftest.$ac_ext <<_ACEOF | ||
2098 | /* end confdefs.h. */ | ||
2099 | @%:@include <stdlib.h> | ||
2100 | $ac_declaration | ||
2101 | int | ||
2102 | main () | ||
2103 | { | ||
2104 | exit (42); | ||
2105 | ; | ||
2106 | return 0; | ||
2107 | } | ||
2108 | _ACEOF | ||
2109 | rm -f conftest.$ac_objext | ||
2110 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2111 | (eval $ac_compile) 2>&5 | ||
2112 | ac_status=$? | ||
2113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2114 | (exit $ac_status); } && | ||
2115 | { ac_try='test -s conftest.$ac_objext' | ||
2116 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2117 | (eval $ac_try) 2>&5 | ||
2118 | ac_status=$? | ||
2119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2120 | (exit $ac_status); }; }; then | ||
2121 | : | ||
2122 | else | ||
2123 | echo "$as_me: failed program was:" >&5 | ||
2124 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2125 | |||
2126 | continue | ||
2127 | fi | ||
2128 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2129 | cat >conftest.$ac_ext <<_ACEOF | ||
2130 | #line $LINENO "configure" | ||
2131 | /* confdefs.h. */ | ||
2132 | _ACEOF | ||
2133 | cat confdefs.h >>conftest.$ac_ext | ||
2134 | cat >>conftest.$ac_ext <<_ACEOF | ||
2135 | /* end confdefs.h. */ | ||
2136 | $ac_declaration | ||
2137 | int | ||
2138 | main () | ||
2139 | { | ||
2140 | exit (42); | ||
2141 | ; | ||
2142 | return 0; | ||
2143 | } | ||
2144 | _ACEOF | ||
2145 | rm -f conftest.$ac_objext | ||
2146 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2147 | (eval $ac_compile) 2>&5 | ||
2148 | ac_status=$? | ||
2149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2150 | (exit $ac_status); } && | ||
2151 | { ac_try='test -s conftest.$ac_objext' | ||
2152 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2153 | (eval $ac_try) 2>&5 | ||
2154 | ac_status=$? | ||
2155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2156 | (exit $ac_status); }; }; then | ||
2157 | break | ||
2158 | else | ||
2159 | echo "$as_me: failed program was:" >&5 | ||
2160 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2161 | |||
2162 | fi | ||
2163 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2164 | done | ||
2165 | rm -f conftest* | ||
2166 | if test -n "$ac_declaration"; then | ||
2167 | echo '#ifdef __cplusplus' >>confdefs.h | ||
2168 | echo $ac_declaration >>confdefs.h | ||
2169 | echo '#endif' >>confdefs.h | ||
2170 | fi | ||
2171 | |||
2172 | else | ||
2173 | echo "$as_me: failed program was:" >&5 | ||
2174 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2175 | |||
2176 | fi | ||
2177 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2178 | ac_ext=c | ||
2179 | ac_cpp='$CPP $CPPFLAGS' | ||
2180 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2181 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2182 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2183 | |||
2184 | ac_aux_dir= | ||
2185 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | ||
2186 | if test -f $ac_dir/install-sh; then | ||
2187 | ac_aux_dir=$ac_dir | ||
2188 | ac_install_sh="$ac_aux_dir/install-sh -c" | ||
2189 | break | ||
2190 | elif test -f $ac_dir/install.sh; then | ||
2191 | ac_aux_dir=$ac_dir | ||
2192 | ac_install_sh="$ac_aux_dir/install.sh -c" | ||
2193 | break | ||
2194 | elif test -f $ac_dir/shtool; then | ||
2195 | ac_aux_dir=$ac_dir | ||
2196 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
2197 | break | ||
2198 | fi | ||
2199 | done | ||
2200 | if test -z "$ac_aux_dir"; then | ||
2201 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | ||
2202 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | ||
2203 | { (exit 1); exit 1; }; } | ||
2204 | fi | ||
2205 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | ||
2206 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | ||
2207 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | ||
2208 | |||
2209 | # Make sure we can run config.sub. | ||
2210 | $ac_config_sub sun4 >/dev/null 2>&1 || | ||
2211 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | ||
2212 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | ||
2213 | { (exit 1); exit 1; }; } | ||
2214 | |||
2215 | echo "$as_me:$LINENO: checking build system type" >&5 | ||
2216 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | ||
2217 | if test "${ac_cv_build+set}" = set; then | ||
2218 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2219 | else | ||
2220 | ac_cv_build_alias=$build_alias | ||
2221 | test -z "$ac_cv_build_alias" && | ||
2222 | ac_cv_build_alias=`$ac_config_guess` | ||
2223 | test -z "$ac_cv_build_alias" && | ||
2224 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | ||
2225 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
2226 | { (exit 1); exit 1; }; } | ||
2227 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | ||
2228 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | ||
2229 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | ||
2230 | { (exit 1); exit 1; }; } | ||
2231 | |||
2232 | fi | ||
2233 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | ||
2234 | echo "${ECHO_T}$ac_cv_build" >&6 | ||
2235 | build=$ac_cv_build | ||
2236 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
2237 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
2238 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
2239 | |||
2240 | |||
2241 | echo "$as_me:$LINENO: checking host system type" >&5 | ||
2242 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | ||
2243 | if test "${ac_cv_host+set}" = set; then | ||
2244 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2245 | else | ||
2246 | ac_cv_host_alias=$host_alias | ||
2247 | test -z "$ac_cv_host_alias" && | ||
2248 | ac_cv_host_alias=$ac_cv_build_alias | ||
2249 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | ||
2250 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | ||
2251 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | ||
2252 | { (exit 1); exit 1; }; } | ||
2253 | |||
2254 | fi | ||
2255 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | ||
2256 | echo "${ECHO_T}$ac_cv_host" >&6 | ||
2257 | host=$ac_cv_host | ||
2258 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | ||
2259 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | ||
2260 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | ||
2261 | |||
2262 | |||
2263 | |||
2264 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | ||
2265 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | ||
2266 | if test "${ac_cv_c_bigendian+set}" = set; then | ||
2267 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2268 | else | ||
2269 | # See if sys/param.h defines the BYTE_ORDER macro. | ||
2270 | cat >conftest.$ac_ext <<_ACEOF | ||
2271 | #line $LINENO "configure" | ||
2272 | /* confdefs.h. */ | ||
2273 | _ACEOF | ||
2274 | cat confdefs.h >>conftest.$ac_ext | ||
2275 | cat >>conftest.$ac_ext <<_ACEOF | ||
2276 | /* end confdefs.h. */ | ||
2277 | #include <sys/types.h> | ||
2278 | #include <sys/param.h> | ||
2279 | |||
2280 | int | ||
2281 | main () | ||
2282 | { | ||
2283 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | ||
2284 | bogus endian macros | ||
2285 | #endif | ||
2286 | |||
2287 | ; | ||
2288 | return 0; | ||
2289 | } | ||
2290 | _ACEOF | ||
2291 | rm -f conftest.$ac_objext | ||
2292 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2293 | (eval $ac_compile) 2>&5 | ||
2294 | ac_status=$? | ||
2295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2296 | (exit $ac_status); } && | ||
2297 | { ac_try='test -s conftest.$ac_objext' | ||
2298 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2299 | (eval $ac_try) 2>&5 | ||
2300 | ac_status=$? | ||
2301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2302 | (exit $ac_status); }; }; then | ||
2303 | # It does; now see whether it defined to BIG_ENDIAN or not. | ||
2304 | cat >conftest.$ac_ext <<_ACEOF | ||
2305 | #line $LINENO "configure" | ||
2306 | /* confdefs.h. */ | ||
2307 | _ACEOF | ||
2308 | cat confdefs.h >>conftest.$ac_ext | ||
2309 | cat >>conftest.$ac_ext <<_ACEOF | ||
2310 | /* end confdefs.h. */ | ||
2311 | #include <sys/types.h> | ||
2312 | #include <sys/param.h> | ||
2313 | |||
2314 | int | ||
2315 | main () | ||
2316 | { | ||
2317 | #if BYTE_ORDER != BIG_ENDIAN | ||
2318 | not big endian | ||
2319 | #endif | ||
2320 | |||
2321 | ; | ||
2322 | return 0; | ||
2323 | } | ||
2324 | _ACEOF | ||
2325 | rm -f conftest.$ac_objext | ||
2326 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2327 | (eval $ac_compile) 2>&5 | ||
2328 | ac_status=$? | ||
2329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2330 | (exit $ac_status); } && | ||
2331 | { ac_try='test -s conftest.$ac_objext' | ||
2332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2333 | (eval $ac_try) 2>&5 | ||
2334 | ac_status=$? | ||
2335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2336 | (exit $ac_status); }; }; then | ||
2337 | ac_cv_c_bigendian=yes | ||
2338 | else | ||
2339 | echo "$as_me: failed program was:" >&5 | ||
2340 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2341 | |||
2342 | ac_cv_c_bigendian=no | ||
2343 | fi | ||
2344 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2345 | else | ||
2346 | echo "$as_me: failed program was:" >&5 | ||
2347 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2348 | |||
2349 | # It does not; compile a test program. | ||
2350 | if test "$cross_compiling" = yes; then | ||
2351 | # try to guess the endianness by grepping values into an object file | ||
2352 | ac_cv_c_bigendian=unknown | ||
2353 | cat >conftest.$ac_ext <<_ACEOF | ||
2354 | #line $LINENO "configure" | ||
2355 | /* confdefs.h. */ | ||
2356 | _ACEOF | ||
2357 | cat confdefs.h >>conftest.$ac_ext | ||
2358 | cat >>conftest.$ac_ext <<_ACEOF | ||
2359 | /* end confdefs.h. */ | ||
2360 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | ||
2361 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | ||
2362 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | ||
2363 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | ||
2364 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | ||
2365 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | ||
2366 | int | ||
2367 | main () | ||
2368 | { | ||
2369 | _ascii (); _ebcdic (); | ||
2370 | ; | ||
2371 | return 0; | ||
2372 | } | ||
2373 | _ACEOF | ||
2374 | rm -f conftest.$ac_objext | ||
2375 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2376 | (eval $ac_compile) 2>&5 | ||
2377 | ac_status=$? | ||
2378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2379 | (exit $ac_status); } && | ||
2380 | { ac_try='test -s conftest.$ac_objext' | ||
2381 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2382 | (eval $ac_try) 2>&5 | ||
2383 | ac_status=$? | ||
2384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2385 | (exit $ac_status); }; }; then | ||
2386 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | ||
2387 | ac_cv_c_bigendian=yes | ||
2388 | fi | ||
2389 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | ||
2390 | if test "$ac_cv_c_bigendian" = unknown; then | ||
2391 | ac_cv_c_bigendian=no | ||
2392 | else | ||
2393 | # finding both strings is unlikely to happen, but who knows? | ||
2394 | ac_cv_c_bigendian=unknown | ||
2395 | fi | ||
2396 | fi | ||
2397 | else | ||
2398 | echo "$as_me: failed program was:" >&5 | ||
2399 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2400 | |||
2401 | fi | ||
2402 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2403 | else | ||
2404 | cat >conftest.$ac_ext <<_ACEOF | ||
2405 | #line $LINENO "configure" | ||
2406 | /* confdefs.h. */ | ||
2407 | _ACEOF | ||
2408 | cat confdefs.h >>conftest.$ac_ext | ||
2409 | cat >>conftest.$ac_ext <<_ACEOF | ||
2410 | /* end confdefs.h. */ | ||
2411 | int | ||
2412 | main () | ||
2413 | { | ||
2414 | /* Are we little or big endian? From Harbison&Steele. */ | ||
2415 | union | ||
2416 | { | ||
2417 | long l; | ||
2418 | char c[sizeof (long)]; | ||
2419 | } u; | ||
2420 | u.l = 1; | ||
2421 | exit (u.c[sizeof (long) - 1] == 1); | ||
2422 | } | ||
2423 | _ACEOF | ||
2424 | rm -f conftest$ac_exeext | ||
2425 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2426 | (eval $ac_link) 2>&5 | ||
2427 | ac_status=$? | ||
2428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2429 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
2430 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
2431 | (eval $ac_try) 2>&5 | ||
2432 | ac_status=$? | ||
2433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2434 | (exit $ac_status); }; }; then | ||
2435 | ac_cv_c_bigendian=no | ||
2436 | else | ||
2437 | echo "$as_me: program exited with status $ac_status" >&5 | ||
2438 | echo "$as_me: failed program was:" >&5 | ||
2439 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2440 | |||
2441 | ( exit $ac_status ) | ||
2442 | ac_cv_c_bigendian=yes | ||
2443 | fi | ||
2444 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
2445 | fi | ||
2446 | fi | ||
2447 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2448 | fi | ||
2449 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | ||
2450 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | ||
2451 | case $ac_cv_c_bigendian in | ||
2452 | yes) | ||
2453 | |||
2454 | cat >>confdefs.h <<\_ACEOF | ||
2455 | @%:@define WORDS_BIGENDIAN 1 | ||
2456 | _ACEOF | ||
2457 | ;; | ||
2458 | no) | ||
2459 | ;; | ||
2460 | *) | ||
2461 | { { echo "$as_me:$LINENO: error: unknown endianness | ||
2462 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | ||
2463 | echo "$as_me: error: unknown endianness | ||
2464 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | ||
2465 | { (exit 1); exit 1; }; } ;; | ||
2466 | esac | ||
2467 | |||
2468 | |||
2469 | # Checks for programs. | ||
2470 | ac_ext=c | ||
2471 | ac_cpp='$CPP $CPPFLAGS' | ||
2472 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2473 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2474 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2475 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | ||
2476 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | ||
2477 | # On Suns, sometimes $CPP names a directory. | ||
2478 | if test -n "$CPP" && test -d "$CPP"; then | ||
2479 | CPP= | ||
2480 | fi | ||
2481 | if test -z "$CPP"; then | ||
2482 | if test "${ac_cv_prog_CPP+set}" = set; then | ||
2483 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2484 | else | ||
2485 | # Double quotes because CPP needs to be expanded | ||
2486 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | ||
2487 | do | ||
2488 | ac_preproc_ok=false | ||
2489 | for ac_c_preproc_warn_flag in '' yes | ||
2490 | do | ||
2491 | # Use a header file that comes with gcc, so configuring glibc | ||
2492 | # with a fresh cross-compiler works. | ||
2493 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2494 | # <limits.h> exists even on freestanding compilers. | ||
2495 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2496 | # not just through cpp. "Syntax error" is here to catch this case. | ||
2497 | cat >conftest.$ac_ext <<_ACEOF | ||
2498 | #line $LINENO "configure" | ||
2499 | /* confdefs.h. */ | ||
2500 | _ACEOF | ||
2501 | cat confdefs.h >>conftest.$ac_ext | ||
2502 | cat >>conftest.$ac_ext <<_ACEOF | ||
2503 | /* end confdefs.h. */ | ||
2504 | @%:@ifdef __STDC__ | ||
2505 | @%:@ include <limits.h> | ||
2506 | @%:@else | ||
2507 | @%:@ include <assert.h> | ||
2508 | @%:@endif | ||
2509 | Syntax error | ||
2510 | _ACEOF | ||
2511 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2512 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2513 | ac_status=$? | ||
2514 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2515 | rm -f conftest.er1 | ||
2516 | cat conftest.err >&5 | ||
2517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2518 | (exit $ac_status); } >/dev/null; then | ||
2519 | if test -s conftest.err; then | ||
2520 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
2521 | else | ||
2522 | ac_cpp_err= | ||
2523 | fi | ||
2524 | else | ||
2525 | ac_cpp_err=yes | ||
2526 | fi | ||
2527 | if test -z "$ac_cpp_err"; then | ||
2528 | : | ||
2529 | else | ||
2530 | echo "$as_me: failed program was:" >&5 | ||
2531 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2532 | |||
2533 | # Broken: fails on valid input. | ||
2534 | continue | ||
2535 | fi | ||
2536 | rm -f conftest.err conftest.$ac_ext | ||
2537 | |||
2538 | # OK, works on sane cases. Now check whether non-existent headers | ||
2539 | # can be detected and how. | ||
2540 | cat >conftest.$ac_ext <<_ACEOF | ||
2541 | #line $LINENO "configure" | ||
2542 | /* confdefs.h. */ | ||
2543 | _ACEOF | ||
2544 | cat confdefs.h >>conftest.$ac_ext | ||
2545 | cat >>conftest.$ac_ext <<_ACEOF | ||
2546 | /* end confdefs.h. */ | ||
2547 | @%:@include <ac_nonexistent.h> | ||
2548 | _ACEOF | ||
2549 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2550 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2551 | ac_status=$? | ||
2552 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2553 | rm -f conftest.er1 | ||
2554 | cat conftest.err >&5 | ||
2555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2556 | (exit $ac_status); } >/dev/null; then | ||
2557 | if test -s conftest.err; then | ||
2558 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
2559 | else | ||
2560 | ac_cpp_err= | ||
2561 | fi | ||
2562 | else | ||
2563 | ac_cpp_err=yes | ||
2564 | fi | ||
2565 | if test -z "$ac_cpp_err"; then | ||
2566 | # Broken: success on invalid input. | ||
2567 | continue | ||
2568 | else | ||
2569 | echo "$as_me: failed program was:" >&5 | ||
2570 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2571 | |||
2572 | # Passes both tests. | ||
2573 | ac_preproc_ok=: | ||
2574 | break | ||
2575 | fi | ||
2576 | rm -f conftest.err conftest.$ac_ext | ||
2577 | |||
2578 | done | ||
2579 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2580 | rm -f conftest.err conftest.$ac_ext | ||
2581 | if $ac_preproc_ok; then | ||
2582 | break | ||
2583 | fi | ||
2584 | |||
2585 | done | ||
2586 | ac_cv_prog_CPP=$CPP | ||
2587 | |||
2588 | fi | ||
2589 | CPP=$ac_cv_prog_CPP | ||
2590 | else | ||
2591 | ac_cv_prog_CPP=$CPP | ||
2592 | fi | ||
2593 | echo "$as_me:$LINENO: result: $CPP" >&5 | ||
2594 | echo "${ECHO_T}$CPP" >&6 | ||
2595 | ac_preproc_ok=false | ||
2596 | for ac_c_preproc_warn_flag in '' yes | ||
2597 | do | ||
2598 | # Use a header file that comes with gcc, so configuring glibc | ||
2599 | # with a fresh cross-compiler works. | ||
2600 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2601 | # <limits.h> exists even on freestanding compilers. | ||
2602 | # On the NeXT, cc -E runs the code through the compiler's parser, | ||
2603 | # not just through cpp. "Syntax error" is here to catch this case. | ||
2604 | cat >conftest.$ac_ext <<_ACEOF | ||
2605 | #line $LINENO "configure" | ||
2606 | /* confdefs.h. */ | ||
2607 | _ACEOF | ||
2608 | cat confdefs.h >>conftest.$ac_ext | ||
2609 | cat >>conftest.$ac_ext <<_ACEOF | ||
2610 | /* end confdefs.h. */ | ||
2611 | @%:@ifdef __STDC__ | ||
2612 | @%:@ include <limits.h> | ||
2613 | @%:@else | ||
2614 | @%:@ include <assert.h> | ||
2615 | @%:@endif | ||
2616 | Syntax error | ||
2617 | _ACEOF | ||
2618 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2619 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2620 | ac_status=$? | ||
2621 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2622 | rm -f conftest.er1 | ||
2623 | cat conftest.err >&5 | ||
2624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2625 | (exit $ac_status); } >/dev/null; then | ||
2626 | if test -s conftest.err; then | ||
2627 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
2628 | else | ||
2629 | ac_cpp_err= | ||
2630 | fi | ||
2631 | else | ||
2632 | ac_cpp_err=yes | ||
2633 | fi | ||
2634 | if test -z "$ac_cpp_err"; then | ||
2635 | : | ||
2636 | else | ||
2637 | echo "$as_me: failed program was:" >&5 | ||
2638 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2639 | |||
2640 | # Broken: fails on valid input. | ||
2641 | continue | ||
2642 | fi | ||
2643 | rm -f conftest.err conftest.$ac_ext | ||
2644 | |||
2645 | # OK, works on sane cases. Now check whether non-existent headers | ||
2646 | # can be detected and how. | ||
2647 | cat >conftest.$ac_ext <<_ACEOF | ||
2648 | #line $LINENO "configure" | ||
2649 | /* confdefs.h. */ | ||
2650 | _ACEOF | ||
2651 | cat confdefs.h >>conftest.$ac_ext | ||
2652 | cat >>conftest.$ac_ext <<_ACEOF | ||
2653 | /* end confdefs.h. */ | ||
2654 | @%:@include <ac_nonexistent.h> | ||
2655 | _ACEOF | ||
2656 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
2657 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
2658 | ac_status=$? | ||
2659 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2660 | rm -f conftest.er1 | ||
2661 | cat conftest.err >&5 | ||
2662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2663 | (exit $ac_status); } >/dev/null; then | ||
2664 | if test -s conftest.err; then | ||
2665 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
2666 | else | ||
2667 | ac_cpp_err= | ||
2668 | fi | ||
2669 | else | ||
2670 | ac_cpp_err=yes | ||
2671 | fi | ||
2672 | if test -z "$ac_cpp_err"; then | ||
2673 | # Broken: success on invalid input. | ||
2674 | continue | ||
2675 | else | ||
2676 | echo "$as_me: failed program was:" >&5 | ||
2677 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2678 | |||
2679 | # Passes both tests. | ||
2680 | ac_preproc_ok=: | ||
2681 | break | ||
2682 | fi | ||
2683 | rm -f conftest.err conftest.$ac_ext | ||
2684 | |||
2685 | done | ||
2686 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | ||
2687 | rm -f conftest.err conftest.$ac_ext | ||
2688 | if $ac_preproc_ok; then | ||
2689 | : | ||
2690 | else | ||
2691 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | ||
2692 | See \`config.log' for more details." >&5 | ||
2693 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
2694 | See \`config.log' for more details." >&2;} | ||
2695 | { (exit 1); exit 1; }; } | ||
2696 | fi | ||
2697 | |||
2698 | ac_ext=c | ||
2699 | ac_cpp='$CPP $CPPFLAGS' | ||
2700 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2701 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2702 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2703 | |||
2704 | if test -n "$ac_tool_prefix"; then | ||
2705 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | ||
2706 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | ||
2707 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2708 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2709 | if test "${ac_cv_prog_RANLIB+set}" = set; then | ||
2710 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2711 | else | ||
2712 | if test -n "$RANLIB"; then | ||
2713 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | ||
2714 | else | ||
2715 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2716 | for as_dir in $PATH | ||
2717 | do | ||
2718 | IFS=$as_save_IFS | ||
2719 | test -z "$as_dir" && as_dir=. | ||
2720 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2721 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2722 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | ||
2723 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2724 | break 2 | ||
2725 | fi | ||
2726 | done | ||
2727 | done | ||
2728 | |||
2729 | fi | ||
2730 | fi | ||
2731 | RANLIB=$ac_cv_prog_RANLIB | ||
2732 | if test -n "$RANLIB"; then | ||
2733 | echo "$as_me:$LINENO: result: $RANLIB" >&5 | ||
2734 | echo "${ECHO_T}$RANLIB" >&6 | ||
2735 | else | ||
2736 | echo "$as_me:$LINENO: result: no" >&5 | ||
2737 | echo "${ECHO_T}no" >&6 | ||
2738 | fi | ||
2739 | |||
2740 | fi | ||
2741 | if test -z "$ac_cv_prog_RANLIB"; then | ||
2742 | ac_ct_RANLIB=$RANLIB | ||
2743 | # Extract the first word of "ranlib", so it can be a program name with args. | ||
2744 | set dummy ranlib; ac_word=$2 | ||
2745 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2746 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2747 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | ||
2748 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2749 | else | ||
2750 | if test -n "$ac_ct_RANLIB"; then | ||
2751 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | ||
2752 | else | ||
2753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2754 | for as_dir in $PATH | ||
2755 | do | ||
2756 | IFS=$as_save_IFS | ||
2757 | test -z "$as_dir" && as_dir=. | ||
2758 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2759 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2760 | ac_cv_prog_ac_ct_RANLIB="ranlib" | ||
2761 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2762 | break 2 | ||
2763 | fi | ||
2764 | done | ||
2765 | done | ||
2766 | |||
2767 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | ||
2768 | fi | ||
2769 | fi | ||
2770 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | ||
2771 | if test -n "$ac_ct_RANLIB"; then | ||
2772 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | ||
2773 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | ||
2774 | else | ||
2775 | echo "$as_me:$LINENO: result: no" >&5 | ||
2776 | echo "${ECHO_T}no" >&6 | ||
2777 | fi | ||
2778 | |||
2779 | RANLIB=$ac_ct_RANLIB | ||
2780 | else | ||
2781 | RANLIB="$ac_cv_prog_RANLIB" | ||
2782 | fi | ||
2783 | |||
2784 | # Find a good install program. We prefer a C program (faster), | ||
2785 | # so one script is as good as another. But avoid the broken or | ||
2786 | # incompatible versions: | ||
2787 | # SysV /etc/install, /usr/sbin/install | ||
2788 | # SunOS /usr/etc/install | ||
2789 | # IRIX /sbin/install | ||
2790 | # AIX /bin/install | ||
2791 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
2792 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
2793 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
2794 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
2795 | # ./install, which can be erroneously created by make from ./install.sh. | ||
2796 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
2797 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | ||
2798 | if test -z "$INSTALL"; then | ||
2799 | if test "${ac_cv_path_install+set}" = set; then | ||
2800 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2801 | else | ||
2802 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2803 | for as_dir in $PATH | ||
2804 | do | ||
2805 | IFS=$as_save_IFS | ||
2806 | test -z "$as_dir" && as_dir=. | ||
2807 | # Account for people who put trailing slashes in PATH elements. | ||
2808 | case $as_dir/ in | ||
2809 | ./ | .// | /cC/* | \ | ||
2810 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
2811 | /usr/ucb/* ) ;; | ||
2812 | *) | ||
2813 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
2814 | # Don't use installbsd from OSF since it installs stuff as root | ||
2815 | # by default. | ||
2816 | for ac_prog in ginstall scoinst install; do | ||
2817 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2818 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | ||
2819 | if test $ac_prog = install && | ||
2820 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
2821 | # AIX install. It has an incompatible calling convention. | ||
2822 | : | ||
2823 | elif test $ac_prog = install && | ||
2824 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
2825 | # program-specific install script used by HP pwplus--don't use. | ||
2826 | : | ||
2827 | else | ||
2828 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
2829 | break 3 | ||
2830 | fi | ||
2831 | fi | ||
2832 | done | ||
2833 | done | ||
2834 | ;; | ||
2835 | esac | ||
2836 | done | ||
2837 | |||
2838 | |||
2839 | fi | ||
2840 | if test "${ac_cv_path_install+set}" = set; then | ||
2841 | INSTALL=$ac_cv_path_install | ||
2842 | else | ||
2843 | # As a last resort, use the slow shell script. We don't cache a | ||
2844 | # path for INSTALL within a source directory, because that will | ||
2845 | # break other packages using the cache if that directory is | ||
2846 | # removed, or if the path is relative. | ||
2847 | INSTALL=$ac_install_sh | ||
2848 | fi | ||
2849 | fi | ||
2850 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
2851 | echo "${ECHO_T}$INSTALL" >&6 | ||
2852 | |||
2853 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
2854 | # It thinks the first close brace ends the variable substitution. | ||
2855 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
2856 | |||
2857 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
2858 | |||
2859 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
2860 | |||
2861 | # Extract the first word of "ar", so it can be a program name with args. | ||
2862 | set dummy ar; ac_word=$2 | ||
2863 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2864 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2865 | if test "${ac_cv_path_AR+set}" = set; then | ||
2866 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2867 | else | ||
2868 | case $AR in | ||
2869 | [\\/]* | ?:[\\/]*) | ||
2870 | ac_cv_path_AR="$AR" # Let the user override the test with a path. | ||
2871 | ;; | ||
2872 | *) | ||
2873 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2874 | for as_dir in $PATH | ||
2875 | do | ||
2876 | IFS=$as_save_IFS | ||
2877 | test -z "$as_dir" && as_dir=. | ||
2878 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2879 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2880 | ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | ||
2881 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2882 | break 2 | ||
2883 | fi | ||
2884 | done | ||
2885 | done | ||
2886 | |||
2887 | ;; | ||
2888 | esac | ||
2889 | fi | ||
2890 | AR=$ac_cv_path_AR | ||
2891 | |||
2892 | if test -n "$AR"; then | ||
2893 | echo "$as_me:$LINENO: result: $AR" >&5 | ||
2894 | echo "${ECHO_T}$AR" >&6 | ||
2895 | else | ||
2896 | echo "$as_me:$LINENO: result: no" >&5 | ||
2897 | echo "${ECHO_T}no" >&6 | ||
2898 | fi | ||
2899 | |||
2900 | for ac_prog in perl5 perl | ||
2901 | do | ||
2902 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
2903 | set dummy $ac_prog; ac_word=$2 | ||
2904 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2905 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2906 | if test "${ac_cv_path_PERL+set}" = set; then | ||
2907 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2908 | else | ||
2909 | case $PERL in | ||
2910 | [\\/]* | ?:[\\/]*) | ||
2911 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | ||
2912 | ;; | ||
2913 | *) | ||
2914 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2915 | for as_dir in $PATH | ||
2916 | do | ||
2917 | IFS=$as_save_IFS | ||
2918 | test -z "$as_dir" && as_dir=. | ||
2919 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2920 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2921 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | ||
2922 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2923 | break 2 | ||
2924 | fi | ||
2925 | done | ||
2926 | done | ||
2927 | |||
2928 | ;; | ||
2929 | esac | ||
2930 | fi | ||
2931 | PERL=$ac_cv_path_PERL | ||
2932 | |||
2933 | if test -n "$PERL"; then | ||
2934 | echo "$as_me:$LINENO: result: $PERL" >&5 | ||
2935 | echo "${ECHO_T}$PERL" >&6 | ||
2936 | else | ||
2937 | echo "$as_me:$LINENO: result: no" >&5 | ||
2938 | echo "${ECHO_T}no" >&6 | ||
2939 | fi | ||
2940 | |||
2941 | test -n "$PERL" && break | ||
2942 | done | ||
2943 | |||
2944 | # Extract the first word of "sed", so it can be a program name with args. | ||
2945 | set dummy sed; ac_word=$2 | ||
2946 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2947 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2948 | if test "${ac_cv_path_SED+set}" = set; then | ||
2949 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2950 | else | ||
2951 | case $SED in | ||
2952 | [\\/]* | ?:[\\/]*) | ||
2953 | ac_cv_path_SED="$SED" # Let the user override the test with a path. | ||
2954 | ;; | ||
2955 | *) | ||
2956 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2957 | for as_dir in $PATH | ||
2958 | do | ||
2959 | IFS=$as_save_IFS | ||
2960 | test -z "$as_dir" && as_dir=. | ||
2961 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2962 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2963 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | ||
2964 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2965 | break 2 | ||
2966 | fi | ||
2967 | done | ||
2968 | done | ||
2969 | |||
2970 | ;; | ||
2971 | esac | ||
2972 | fi | ||
2973 | SED=$ac_cv_path_SED | ||
2974 | |||
2975 | if test -n "$SED"; then | ||
2976 | echo "$as_me:$LINENO: result: $SED" >&5 | ||
2977 | echo "${ECHO_T}$SED" >&6 | ||
2978 | else | ||
2979 | echo "$as_me:$LINENO: result: no" >&5 | ||
2980 | echo "${ECHO_T}no" >&6 | ||
2981 | fi | ||
2982 | |||
2983 | |||
2984 | # Extract the first word of "ent", so it can be a program name with args. | ||
2985 | set dummy ent; ac_word=$2 | ||
2986 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
2987 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
2988 | if test "${ac_cv_path_ENT+set}" = set; then | ||
2989 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2990 | else | ||
2991 | case $ENT in | ||
2992 | [\\/]* | ?:[\\/]*) | ||
2993 | ac_cv_path_ENT="$ENT" # Let the user override the test with a path. | ||
2994 | ;; | ||
2995 | *) | ||
2996 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2997 | for as_dir in $PATH | ||
2998 | do | ||
2999 | IFS=$as_save_IFS | ||
3000 | test -z "$as_dir" && as_dir=. | ||
3001 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3002 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3003 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" | ||
3004 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3005 | break 2 | ||
3006 | fi | ||
3007 | done | ||
3008 | done | ||
3009 | |||
3010 | ;; | ||
3011 | esac | ||
3012 | fi | ||
3013 | ENT=$ac_cv_path_ENT | ||
3014 | |||
3015 | if test -n "$ENT"; then | ||
3016 | echo "$as_me:$LINENO: result: $ENT" >&5 | ||
3017 | echo "${ECHO_T}$ENT" >&6 | ||
3018 | else | ||
3019 | echo "$as_me:$LINENO: result: no" >&5 | ||
3020 | echo "${ECHO_T}no" >&6 | ||
3021 | fi | ||
3022 | |||
3023 | |||
3024 | # Extract the first word of "bash", so it can be a program name with args. | ||
3025 | set dummy bash; ac_word=$2 | ||
3026 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3027 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3028 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | ||
3029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3030 | else | ||
3031 | case $TEST_MINUS_S_SH in | ||
3032 | [\\/]* | ?:[\\/]*) | ||
3033 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | ||
3034 | ;; | ||
3035 | *) | ||
3036 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3037 | for as_dir in $PATH | ||
3038 | do | ||
3039 | IFS=$as_save_IFS | ||
3040 | test -z "$as_dir" && as_dir=. | ||
3041 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3042 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3043 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | ||
3044 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3045 | break 2 | ||
3046 | fi | ||
3047 | done | ||
3048 | done | ||
3049 | |||
3050 | ;; | ||
3051 | esac | ||
3052 | fi | ||
3053 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | ||
3054 | |||
3055 | if test -n "$TEST_MINUS_S_SH"; then | ||
3056 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | ||
3057 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | ||
3058 | else | ||
3059 | echo "$as_me:$LINENO: result: no" >&5 | ||
3060 | echo "${ECHO_T}no" >&6 | ||
3061 | fi | ||
3062 | |||
3063 | # Extract the first word of "ksh", so it can be a program name with args. | ||
3064 | set dummy ksh; ac_word=$2 | ||
3065 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3066 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3067 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | ||
3068 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3069 | else | ||
3070 | case $TEST_MINUS_S_SH in | ||
3071 | [\\/]* | ?:[\\/]*) | ||
3072 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | ||
3073 | ;; | ||
3074 | *) | ||
3075 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3076 | for as_dir in $PATH | ||
3077 | do | ||
3078 | IFS=$as_save_IFS | ||
3079 | test -z "$as_dir" && as_dir=. | ||
3080 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3081 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3082 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | ||
3083 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3084 | break 2 | ||
3085 | fi | ||
3086 | done | ||
3087 | done | ||
3088 | |||
3089 | ;; | ||
3090 | esac | ||
3091 | fi | ||
3092 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | ||
3093 | |||
3094 | if test -n "$TEST_MINUS_S_SH"; then | ||
3095 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | ||
3096 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | ||
3097 | else | ||
3098 | echo "$as_me:$LINENO: result: no" >&5 | ||
3099 | echo "${ECHO_T}no" >&6 | ||
3100 | fi | ||
3101 | |||
3102 | # Extract the first word of "sh", so it can be a program name with args. | ||
3103 | set dummy sh; ac_word=$2 | ||
3104 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3105 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3106 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | ||
3107 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3108 | else | ||
3109 | case $TEST_MINUS_S_SH in | ||
3110 | [\\/]* | ?:[\\/]*) | ||
3111 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | ||
3112 | ;; | ||
3113 | *) | ||
3114 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3115 | for as_dir in $PATH | ||
3116 | do | ||
3117 | IFS=$as_save_IFS | ||
3118 | test -z "$as_dir" && as_dir=. | ||
3119 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3120 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3121 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | ||
3122 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3123 | break 2 | ||
3124 | fi | ||
3125 | done | ||
3126 | done | ||
3127 | |||
3128 | ;; | ||
3129 | esac | ||
3130 | fi | ||
3131 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | ||
3132 | |||
3133 | if test -n "$TEST_MINUS_S_SH"; then | ||
3134 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | ||
3135 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | ||
3136 | else | ||
3137 | echo "$as_me:$LINENO: result: no" >&5 | ||
3138 | echo "${ECHO_T}no" >&6 | ||
3139 | fi | ||
3140 | |||
3141 | # Extract the first word of "sh", so it can be a program name with args. | ||
3142 | set dummy sh; ac_word=$2 | ||
3143 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3144 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3145 | if test "${ac_cv_path_SH+set}" = set; then | ||
3146 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3147 | else | ||
3148 | case $SH in | ||
3149 | [\\/]* | ?:[\\/]*) | ||
3150 | ac_cv_path_SH="$SH" # Let the user override the test with a path. | ||
3151 | ;; | ||
3152 | *) | ||
3153 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3154 | for as_dir in $PATH | ||
3155 | do | ||
3156 | IFS=$as_save_IFS | ||
3157 | test -z "$as_dir" && as_dir=. | ||
3158 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3159 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3160 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" | ||
3161 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3162 | break 2 | ||
3163 | fi | ||
3164 | done | ||
3165 | done | ||
3166 | |||
3167 | ;; | ||
3168 | esac | ||
3169 | fi | ||
3170 | SH=$ac_cv_path_SH | ||
3171 | |||
3172 | if test -n "$SH"; then | ||
3173 | echo "$as_me:$LINENO: result: $SH" >&5 | ||
3174 | echo "${ECHO_T}$SH" >&6 | ||
3175 | else | ||
3176 | echo "$as_me:$LINENO: result: no" >&5 | ||
3177 | echo "${ECHO_T}no" >&6 | ||
3178 | fi | ||
3179 | |||
3180 | |||
3181 | # System features | ||
3182 | # Check whether --enable-largefile or --disable-largefile was given. | ||
3183 | if test "${enable_largefile+set}" = set; then | ||
3184 | enableval="$enable_largefile" | ||
3185 | |||
3186 | fi; | ||
3187 | if test "$enable_largefile" != no; then | ||
3188 | |||
3189 | echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | ||
3190 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 | ||
3191 | if test "${ac_cv_sys_largefile_CC+set}" = set; then | ||
3192 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3193 | else | ||
3194 | ac_cv_sys_largefile_CC=no | ||
3195 | if test "$GCC" != yes; then | ||
3196 | ac_save_CC=$CC | ||
3197 | while :; do | ||
3198 | # IRIX 6.2 and later do not support large files by default, | ||
3199 | # so use the C compiler's -n32 option if that helps. | ||
3200 | cat >conftest.$ac_ext <<_ACEOF | ||
3201 | #line $LINENO "configure" | ||
3202 | /* confdefs.h. */ | ||
3203 | _ACEOF | ||
3204 | cat confdefs.h >>conftest.$ac_ext | ||
3205 | cat >>conftest.$ac_ext <<_ACEOF | ||
3206 | /* end confdefs.h. */ | ||
3207 | @%:@include <sys/types.h> | ||
3208 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3209 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3210 | since some C++ compilers masquerading as C compilers | ||
3211 | incorrectly reject 9223372036854775807. */ | ||
3212 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3213 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3214 | && LARGE_OFF_T % 2147483647 == 1) | ||
3215 | ? 1 : -1]; | ||
3216 | int | ||
3217 | main () | ||
3218 | { | ||
3219 | |||
3220 | ; | ||
3221 | return 0; | ||
3222 | } | ||
3223 | _ACEOF | ||
3224 | rm -f conftest.$ac_objext | ||
3225 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3226 | (eval $ac_compile) 2>&5 | ||
3227 | ac_status=$? | ||
3228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3229 | (exit $ac_status); } && | ||
3230 | { ac_try='test -s conftest.$ac_objext' | ||
3231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3232 | (eval $ac_try) 2>&5 | ||
3233 | ac_status=$? | ||
3234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3235 | (exit $ac_status); }; }; then | ||
3236 | break | ||
3237 | else | ||
3238 | echo "$as_me: failed program was:" >&5 | ||
3239 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3240 | |||
3241 | fi | ||
3242 | rm -f conftest.$ac_objext | ||
3243 | CC="$CC -n32" | ||
3244 | rm -f conftest.$ac_objext | ||
3245 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3246 | (eval $ac_compile) 2>&5 | ||
3247 | ac_status=$? | ||
3248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3249 | (exit $ac_status); } && | ||
3250 | { ac_try='test -s conftest.$ac_objext' | ||
3251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3252 | (eval $ac_try) 2>&5 | ||
3253 | ac_status=$? | ||
3254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3255 | (exit $ac_status); }; }; then | ||
3256 | ac_cv_sys_largefile_CC=' -n32'; break | ||
3257 | else | ||
3258 | echo "$as_me: failed program was:" >&5 | ||
3259 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3260 | |||
3261 | fi | ||
3262 | rm -f conftest.$ac_objext | ||
3263 | break | ||
3264 | done | ||
3265 | CC=$ac_save_CC | ||
3266 | rm -f conftest.$ac_ext | ||
3267 | fi | ||
3268 | fi | ||
3269 | echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | ||
3270 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 | ||
3271 | if test "$ac_cv_sys_largefile_CC" != no; then | ||
3272 | CC=$CC$ac_cv_sys_largefile_CC | ||
3273 | fi | ||
3274 | |||
3275 | echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | ||
3276 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | ||
3277 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then | ||
3278 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3279 | else | ||
3280 | while :; do | ||
3281 | ac_cv_sys_file_offset_bits=no | ||
3282 | cat >conftest.$ac_ext <<_ACEOF | ||
3283 | #line $LINENO "configure" | ||
3284 | /* confdefs.h. */ | ||
3285 | _ACEOF | ||
3286 | cat confdefs.h >>conftest.$ac_ext | ||
3287 | cat >>conftest.$ac_ext <<_ACEOF | ||
3288 | /* end confdefs.h. */ | ||
3289 | @%:@include <sys/types.h> | ||
3290 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3291 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3292 | since some C++ compilers masquerading as C compilers | ||
3293 | incorrectly reject 9223372036854775807. */ | ||
3294 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3295 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3296 | && LARGE_OFF_T % 2147483647 == 1) | ||
3297 | ? 1 : -1]; | ||
3298 | int | ||
3299 | main () | ||
3300 | { | ||
3301 | |||
3302 | ; | ||
3303 | return 0; | ||
3304 | } | ||
3305 | _ACEOF | ||
3306 | rm -f conftest.$ac_objext | ||
3307 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3308 | (eval $ac_compile) 2>&5 | ||
3309 | ac_status=$? | ||
3310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3311 | (exit $ac_status); } && | ||
3312 | { ac_try='test -s conftest.$ac_objext' | ||
3313 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3314 | (eval $ac_try) 2>&5 | ||
3315 | ac_status=$? | ||
3316 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3317 | (exit $ac_status); }; }; then | ||
3318 | break | ||
3319 | else | ||
3320 | echo "$as_me: failed program was:" >&5 | ||
3321 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3322 | |||
3323 | fi | ||
3324 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3325 | cat >conftest.$ac_ext <<_ACEOF | ||
3326 | #line $LINENO "configure" | ||
3327 | /* confdefs.h. */ | ||
3328 | _ACEOF | ||
3329 | cat confdefs.h >>conftest.$ac_ext | ||
3330 | cat >>conftest.$ac_ext <<_ACEOF | ||
3331 | /* end confdefs.h. */ | ||
3332 | @%:@define _FILE_OFFSET_BITS 64 | ||
3333 | @%:@include <sys/types.h> | ||
3334 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3335 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3336 | since some C++ compilers masquerading as C compilers | ||
3337 | incorrectly reject 9223372036854775807. */ | ||
3338 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3339 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3340 | && LARGE_OFF_T % 2147483647 == 1) | ||
3341 | ? 1 : -1]; | ||
3342 | int | ||
3343 | main () | ||
3344 | { | ||
3345 | |||
3346 | ; | ||
3347 | return 0; | ||
3348 | } | ||
3349 | _ACEOF | ||
3350 | rm -f conftest.$ac_objext | ||
3351 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3352 | (eval $ac_compile) 2>&5 | ||
3353 | ac_status=$? | ||
3354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3355 | (exit $ac_status); } && | ||
3356 | { ac_try='test -s conftest.$ac_objext' | ||
3357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3358 | (eval $ac_try) 2>&5 | ||
3359 | ac_status=$? | ||
3360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3361 | (exit $ac_status); }; }; then | ||
3362 | ac_cv_sys_file_offset_bits=64; break | ||
3363 | else | ||
3364 | echo "$as_me: failed program was:" >&5 | ||
3365 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3366 | |||
3367 | fi | ||
3368 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3369 | break | ||
3370 | done | ||
3371 | fi | ||
3372 | echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | ||
3373 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | ||
3374 | if test "$ac_cv_sys_file_offset_bits" != no; then | ||
3375 | |||
3376 | cat >>confdefs.h <<_ACEOF | ||
3377 | @%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | ||
3378 | _ACEOF | ||
3379 | |||
3380 | fi | ||
3381 | rm -f conftest* | ||
3382 | echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | ||
3383 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | ||
3384 | if test "${ac_cv_sys_large_files+set}" = set; then | ||
3385 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3386 | else | ||
3387 | while :; do | ||
3388 | ac_cv_sys_large_files=no | ||
3389 | cat >conftest.$ac_ext <<_ACEOF | ||
3390 | #line $LINENO "configure" | ||
3391 | /* confdefs.h. */ | ||
3392 | _ACEOF | ||
3393 | cat confdefs.h >>conftest.$ac_ext | ||
3394 | cat >>conftest.$ac_ext <<_ACEOF | ||
3395 | /* end confdefs.h. */ | ||
3396 | @%:@include <sys/types.h> | ||
3397 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3398 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3399 | since some C++ compilers masquerading as C compilers | ||
3400 | incorrectly reject 9223372036854775807. */ | ||
3401 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3402 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3403 | && LARGE_OFF_T % 2147483647 == 1) | ||
3404 | ? 1 : -1]; | ||
3405 | int | ||
3406 | main () | ||
3407 | { | ||
3408 | |||
3409 | ; | ||
3410 | return 0; | ||
3411 | } | ||
3412 | _ACEOF | ||
3413 | rm -f conftest.$ac_objext | ||
3414 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3415 | (eval $ac_compile) 2>&5 | ||
3416 | ac_status=$? | ||
3417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3418 | (exit $ac_status); } && | ||
3419 | { ac_try='test -s conftest.$ac_objext' | ||
3420 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3421 | (eval $ac_try) 2>&5 | ||
3422 | ac_status=$? | ||
3423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3424 | (exit $ac_status); }; }; then | ||
3425 | break | ||
3426 | else | ||
3427 | echo "$as_me: failed program was:" >&5 | ||
3428 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3429 | |||
3430 | fi | ||
3431 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3432 | cat >conftest.$ac_ext <<_ACEOF | ||
3433 | #line $LINENO "configure" | ||
3434 | /* confdefs.h. */ | ||
3435 | _ACEOF | ||
3436 | cat confdefs.h >>conftest.$ac_ext | ||
3437 | cat >>conftest.$ac_ext <<_ACEOF | ||
3438 | /* end confdefs.h. */ | ||
3439 | @%:@define _LARGE_FILES 1 | ||
3440 | @%:@include <sys/types.h> | ||
3441 | /* Check that off_t can represent 2**63 - 1 correctly. | ||
3442 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | ||
3443 | since some C++ compilers masquerading as C compilers | ||
3444 | incorrectly reject 9223372036854775807. */ | ||
3445 | @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | ||
3446 | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | ||
3447 | && LARGE_OFF_T % 2147483647 == 1) | ||
3448 | ? 1 : -1]; | ||
3449 | int | ||
3450 | main () | ||
3451 | { | ||
3452 | |||
3453 | ; | ||
3454 | return 0; | ||
3455 | } | ||
3456 | _ACEOF | ||
3457 | rm -f conftest.$ac_objext | ||
3458 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3459 | (eval $ac_compile) 2>&5 | ||
3460 | ac_status=$? | ||
3461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3462 | (exit $ac_status); } && | ||
3463 | { ac_try='test -s conftest.$ac_objext' | ||
3464 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3465 | (eval $ac_try) 2>&5 | ||
3466 | ac_status=$? | ||
3467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3468 | (exit $ac_status); }; }; then | ||
3469 | ac_cv_sys_large_files=1; break | ||
3470 | else | ||
3471 | echo "$as_me: failed program was:" >&5 | ||
3472 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3473 | |||
3474 | fi | ||
3475 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3476 | break | ||
3477 | done | ||
3478 | fi | ||
3479 | echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | ||
3480 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | ||
3481 | if test "$ac_cv_sys_large_files" != no; then | ||
3482 | |||
3483 | cat >>confdefs.h <<_ACEOF | ||
3484 | @%:@define _LARGE_FILES $ac_cv_sys_large_files | ||
3485 | _ACEOF | ||
3486 | |||
3487 | fi | ||
3488 | rm -f conftest* | ||
3489 | fi | ||
3490 | |||
3491 | |||
3492 | if test -z "$AR" ; then | ||
3493 | { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 | ||
3494 | echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} | ||
3495 | { (exit 1); exit 1; }; } | ||
3496 | fi | ||
3497 | |||
3498 | # Use LOGIN_PROGRAM from environment if possible | ||
3499 | if test ! -z "$LOGIN_PROGRAM" ; then | ||
3500 | cat >>confdefs.h <<_ACEOF | ||
3501 | @%:@define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" | ||
3502 | _ACEOF | ||
3503 | |||
3504 | else | ||
3505 | # Search for login | ||
3506 | # Extract the first word of "login", so it can be a program name with args. | ||
3507 | set dummy login; ac_word=$2 | ||
3508 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
3509 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
3510 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then | ||
3511 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3512 | else | ||
3513 | case $LOGIN_PROGRAM_FALLBACK in | ||
3514 | [\\/]* | ?:[\\/]*) | ||
3515 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path. | ||
3516 | ;; | ||
3517 | *) | ||
3518 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3519 | for as_dir in $PATH | ||
3520 | do | ||
3521 | IFS=$as_save_IFS | ||
3522 | test -z "$as_dir" && as_dir=. | ||
3523 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3524 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
3525 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" | ||
3526 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
3527 | break 2 | ||
3528 | fi | ||
3529 | done | ||
3530 | done | ||
3531 | |||
3532 | ;; | ||
3533 | esac | ||
3534 | fi | ||
3535 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK | ||
3536 | |||
3537 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then | ||
3538 | echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5 | ||
3539 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6 | ||
3540 | else | ||
3541 | echo "$as_me:$LINENO: result: no" >&5 | ||
3542 | echo "${ECHO_T}no" >&6 | ||
3543 | fi | ||
3544 | |||
3545 | if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then | ||
3546 | cat >>confdefs.h <<_ACEOF | ||
3547 | @%:@define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" | ||
3548 | _ACEOF | ||
3549 | |||
3550 | fi | ||
3551 | fi | ||
3552 | |||
3553 | if test -z "$LD" ; then | ||
3554 | LD=$CC | ||
3555 | fi | ||
3556 | |||
3557 | |||
3558 | echo "$as_me:$LINENO: checking for inline" >&5 | ||
3559 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | ||
3560 | if test "${ac_cv_c_inline+set}" = set; then | ||
3561 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3562 | else | ||
3563 | ac_cv_c_inline=no | ||
3564 | for ac_kw in inline __inline__ __inline; do | ||
3565 | cat >conftest.$ac_ext <<_ACEOF | ||
3566 | #line $LINENO "configure" | ||
3567 | /* confdefs.h. */ | ||
3568 | _ACEOF | ||
3569 | cat confdefs.h >>conftest.$ac_ext | ||
3570 | cat >>conftest.$ac_ext <<_ACEOF | ||
3571 | /* end confdefs.h. */ | ||
3572 | #ifndef __cplusplus | ||
3573 | typedef int foo_t; | ||
3574 | static $ac_kw foo_t static_foo () {return 0; } | ||
3575 | $ac_kw foo_t foo () {return 0; } | ||
3576 | #endif | ||
3577 | |||
3578 | _ACEOF | ||
3579 | rm -f conftest.$ac_objext | ||
3580 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3581 | (eval $ac_compile) 2>&5 | ||
3582 | ac_status=$? | ||
3583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3584 | (exit $ac_status); } && | ||
3585 | { ac_try='test -s conftest.$ac_objext' | ||
3586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3587 | (eval $ac_try) 2>&5 | ||
3588 | ac_status=$? | ||
3589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3590 | (exit $ac_status); }; }; then | ||
3591 | ac_cv_c_inline=$ac_kw; break | ||
3592 | else | ||
3593 | echo "$as_me: failed program was:" >&5 | ||
3594 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3595 | |||
3596 | fi | ||
3597 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3598 | done | ||
3599 | |||
3600 | fi | ||
3601 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | ||
3602 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | ||
3603 | case $ac_cv_c_inline in | ||
3604 | inline | yes) ;; | ||
3605 | no) | ||
3606 | cat >>confdefs.h <<\_ACEOF | ||
3607 | @%:@define inline | ||
3608 | _ACEOF | ||
3609 | ;; | ||
3610 | *) cat >>confdefs.h <<_ACEOF | ||
3611 | @%:@define inline $ac_cv_c_inline | ||
3612 | _ACEOF | ||
3613 | ;; | ||
3614 | esac | ||
3615 | |||
3616 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | ||
3617 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" | ||
3618 | fi | ||
3619 | |||
3620 | # Check for some target-specific stuff | ||
3621 | case "$host" in | ||
3622 | *-*-aix*) | ||
3623 | AFS_LIBS="-lld" | ||
3624 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
3625 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
3626 | echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5 | ||
3627 | echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6 | ||
3628 | if (test -z "$blibpath"); then | ||
3629 | blibpath="/usr/lib:/lib:/usr/local/lib" | ||
3630 | fi | ||
3631 | saved_LDFLAGS="$LDFLAGS" | ||
3632 | for tryflags in -blibpath: -Wl,-blibpath: -Wl,-rpath, ;do | ||
3633 | if (test -z "$blibflags"); then | ||
3634 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" | ||
3635 | cat >conftest.$ac_ext <<_ACEOF | ||
3636 | #line $LINENO "configure" | ||
3637 | /* confdefs.h. */ | ||
3638 | _ACEOF | ||
3639 | cat confdefs.h >>conftest.$ac_ext | ||
3640 | cat >>conftest.$ac_ext <<_ACEOF | ||
3641 | /* end confdefs.h. */ | ||
3642 | |||
3643 | int | ||
3644 | main () | ||
3645 | { | ||
3646 | |||
3647 | ; | ||
3648 | return 0; | ||
3649 | } | ||
3650 | _ACEOF | ||
3651 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3652 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3653 | (eval $ac_link) 2>&5 | ||
3654 | ac_status=$? | ||
3655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3656 | (exit $ac_status); } && | ||
3657 | { ac_try='test -s conftest$ac_exeext' | ||
3658 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3659 | (eval $ac_try) 2>&5 | ||
3660 | ac_status=$? | ||
3661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3662 | (exit $ac_status); }; }; then | ||
3663 | blibflags=$tryflags | ||
3664 | else | ||
3665 | echo "$as_me: failed program was:" >&5 | ||
3666 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3667 | |||
3668 | fi | ||
3669 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3670 | fi | ||
3671 | done | ||
3672 | if (test -z "$blibflags"); then | ||
3673 | echo "$as_me:$LINENO: result: not found" >&5 | ||
3674 | echo "${ECHO_T}not found" >&6 | ||
3675 | { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5 | ||
3676 | echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} | ||
3677 | { (exit 1); exit 1; }; } | ||
3678 | else | ||
3679 | echo "$as_me:$LINENO: result: $blibflags" >&5 | ||
3680 | echo "${ECHO_T}$blibflags" >&6 | ||
3681 | fi | ||
3682 | LDFLAGS="$saved_LDFLAGS" | ||
3683 | echo "$as_me:$LINENO: checking for authenticate" >&5 | ||
3684 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6 | ||
3685 | if test "${ac_cv_func_authenticate+set}" = set; then | ||
3686 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3687 | else | ||
3688 | cat >conftest.$ac_ext <<_ACEOF | ||
3689 | #line $LINENO "configure" | ||
3690 | /* confdefs.h. */ | ||
3691 | _ACEOF | ||
3692 | cat confdefs.h >>conftest.$ac_ext | ||
3693 | cat >>conftest.$ac_ext <<_ACEOF | ||
3694 | /* end confdefs.h. */ | ||
3695 | /* System header to define __stub macros and hopefully few prototypes, | ||
3696 | which can conflict with char authenticate (); below. | ||
3697 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
3698 | <limits.h> exists even on freestanding compilers. */ | ||
3699 | #ifdef __STDC__ | ||
3700 | # include <limits.h> | ||
3701 | #else | ||
3702 | # include <assert.h> | ||
3703 | #endif | ||
3704 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
3705 | #ifdef __cplusplus | ||
3706 | extern "C" | ||
3707 | { | ||
3708 | #endif | ||
3709 | /* We use char because int might match the return type of a gcc2 | ||
3710 | builtin and then its argument prototype would still apply. */ | ||
3711 | char authenticate (); | ||
3712 | /* The GNU C library defines this for functions which it implements | ||
3713 | to always fail with ENOSYS. Some functions are actually named | ||
3714 | something starting with __ and the normal name is an alias. */ | ||
3715 | #if defined (__stub_authenticate) || defined (__stub___authenticate) | ||
3716 | choke me | ||
3717 | #else | ||
3718 | char (*f) () = authenticate; | ||
3719 | #endif | ||
3720 | #ifdef __cplusplus | ||
3721 | } | ||
3722 | #endif | ||
3723 | |||
3724 | int | ||
3725 | main () | ||
3726 | { | ||
3727 | return f != authenticate; | ||
3728 | ; | ||
3729 | return 0; | ||
3730 | } | ||
3731 | _ACEOF | ||
3732 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3733 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3734 | (eval $ac_link) 2>&5 | ||
3735 | ac_status=$? | ||
3736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3737 | (exit $ac_status); } && | ||
3738 | { ac_try='test -s conftest$ac_exeext' | ||
3739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3740 | (eval $ac_try) 2>&5 | ||
3741 | ac_status=$? | ||
3742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3743 | (exit $ac_status); }; }; then | ||
3744 | ac_cv_func_authenticate=yes | ||
3745 | else | ||
3746 | echo "$as_me: failed program was:" >&5 | ||
3747 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3748 | |||
3749 | ac_cv_func_authenticate=no | ||
3750 | fi | ||
3751 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3752 | fi | ||
3753 | echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 | ||
3754 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6 | ||
3755 | if test $ac_cv_func_authenticate = yes; then | ||
3756 | cat >>confdefs.h <<\_ACEOF | ||
3757 | @%:@define WITH_AIXAUTHENTICATE 1 | ||
3758 | _ACEOF | ||
3759 | |||
3760 | else | ||
3761 | echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 | ||
3762 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6 | ||
3763 | if test "${ac_cv_lib_s_authenticate+set}" = set; then | ||
3764 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3765 | else | ||
3766 | ac_check_lib_save_LIBS=$LIBS | ||
3767 | LIBS="-ls $LIBS" | ||
3768 | cat >conftest.$ac_ext <<_ACEOF | ||
3769 | #line $LINENO "configure" | ||
3770 | /* confdefs.h. */ | ||
3771 | _ACEOF | ||
3772 | cat confdefs.h >>conftest.$ac_ext | ||
3773 | cat >>conftest.$ac_ext <<_ACEOF | ||
3774 | /* end confdefs.h. */ | ||
3775 | |||
3776 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
3777 | #ifdef __cplusplus | ||
3778 | extern "C" | ||
3779 | #endif | ||
3780 | /* We use char because int might match the return type of a gcc2 | ||
3781 | builtin and then its argument prototype would still apply. */ | ||
3782 | char authenticate (); | ||
3783 | int | ||
3784 | main () | ||
3785 | { | ||
3786 | authenticate (); | ||
3787 | ; | ||
3788 | return 0; | ||
3789 | } | ||
3790 | _ACEOF | ||
3791 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3792 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3793 | (eval $ac_link) 2>&5 | ||
3794 | ac_status=$? | ||
3795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3796 | (exit $ac_status); } && | ||
3797 | { ac_try='test -s conftest$ac_exeext' | ||
3798 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3799 | (eval $ac_try) 2>&5 | ||
3800 | ac_status=$? | ||
3801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3802 | (exit $ac_status); }; }; then | ||
3803 | ac_cv_lib_s_authenticate=yes | ||
3804 | else | ||
3805 | echo "$as_me: failed program was:" >&5 | ||
3806 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3807 | |||
3808 | ac_cv_lib_s_authenticate=no | ||
3809 | fi | ||
3810 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3811 | LIBS=$ac_check_lib_save_LIBS | ||
3812 | fi | ||
3813 | echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5 | ||
3814 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6 | ||
3815 | if test $ac_cv_lib_s_authenticate = yes; then | ||
3816 | cat >>confdefs.h <<\_ACEOF | ||
3817 | @%:@define WITH_AIXAUTHENTICATE 1 | ||
3818 | _ACEOF | ||
3819 | |||
3820 | LIBS="$LIBS -ls" | ||
3821 | |||
3822 | fi | ||
3823 | |||
3824 | |||
3825 | fi | ||
3826 | |||
3827 | cat >>confdefs.h <<\_ACEOF | ||
3828 | @%:@define BROKEN_GETADDRINFO 1 | ||
3829 | _ACEOF | ||
3830 | |||
3831 | cat >>confdefs.h <<\_ACEOF | ||
3832 | @%:@define BROKEN_REALPATH 1 | ||
3833 | _ACEOF | ||
3834 | |||
3835 | cat >>confdefs.h <<\_ACEOF | ||
3836 | @%:@define DISABLE_LASTLOG 1 | ||
3837 | _ACEOF | ||
3838 | |||
3839 | cat >>confdefs.h <<\_ACEOF | ||
3840 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
3841 | _ACEOF | ||
3842 | |||
3843 | cat >>confdefs.h <<\_ACEOF | ||
3844 | @%:@define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV | ||
3845 | _ACEOF | ||
3846 | |||
3847 | cat >>confdefs.h <<\_ACEOF | ||
3848 | @%:@define SETPROCTITLE_PS_PADDING '\0' | ||
3849 | _ACEOF | ||
3850 | |||
3851 | ;; | ||
3852 | *-*-cygwin*) | ||
3853 | check_for_libcrypt_later=1 | ||
3854 | LIBS="$LIBS /usr/lib/textmode.o" | ||
3855 | cat >>confdefs.h <<\_ACEOF | ||
3856 | @%:@define HAVE_CYGWIN 1 | ||
3857 | _ACEOF | ||
3858 | |||
3859 | cat >>confdefs.h <<\_ACEOF | ||
3860 | @%:@define USE_PIPES 1 | ||
3861 | _ACEOF | ||
3862 | |||
3863 | cat >>confdefs.h <<\_ACEOF | ||
3864 | @%:@define DISABLE_SHADOW 1 | ||
3865 | _ACEOF | ||
3866 | |||
3867 | cat >>confdefs.h <<\_ACEOF | ||
3868 | @%:@define IPV4_DEFAULT 1 | ||
3869 | _ACEOF | ||
3870 | |||
3871 | cat >>confdefs.h <<\_ACEOF | ||
3872 | @%:@define IP_TOS_IS_BROKEN 1 | ||
3873 | _ACEOF | ||
3874 | |||
3875 | cat >>confdefs.h <<\_ACEOF | ||
3876 | @%:@define NO_X11_UNIX_SOCKETS 1 | ||
3877 | _ACEOF | ||
3878 | |||
3879 | cat >>confdefs.h <<\_ACEOF | ||
3880 | @%:@define NO_IPPORT_RESERVED_CONCEPT 1 | ||
3881 | _ACEOF | ||
3882 | |||
3883 | cat >>confdefs.h <<\_ACEOF | ||
3884 | @%:@define DISABLE_FD_PASSING 1 | ||
3885 | _ACEOF | ||
3886 | |||
3887 | cat >>confdefs.h <<\_ACEOF | ||
3888 | @%:@define SETGROUPS_NOOP 1 | ||
3889 | _ACEOF | ||
3890 | |||
3891 | ;; | ||
3892 | *-*-dgux*) | ||
3893 | cat >>confdefs.h <<\_ACEOF | ||
3894 | @%:@define IP_TOS_IS_BROKEN 1 | ||
3895 | _ACEOF | ||
3896 | |||
3897 | ;; | ||
3898 | *-*-darwin*) | ||
3899 | echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5 | ||
3900 | echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6 | ||
3901 | if test "$cross_compiling" = yes; then | ||
3902 | echo "$as_me:$LINENO: result: assume it is working" >&5 | ||
3903 | echo "${ECHO_T}assume it is working" >&6 | ||
3904 | else | ||
3905 | cat >conftest.$ac_ext <<_ACEOF | ||
3906 | #line $LINENO "configure" | ||
3907 | /* confdefs.h. */ | ||
3908 | _ACEOF | ||
3909 | cat confdefs.h >>conftest.$ac_ext | ||
3910 | cat >>conftest.$ac_ext <<_ACEOF | ||
3911 | /* end confdefs.h. */ | ||
3912 | #include <mach-o/dyld.h> | ||
3913 | main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | ||
3914 | exit(0); | ||
3915 | else | ||
3916 | exit(1); | ||
3917 | } | ||
3918 | _ACEOF | ||
3919 | rm -f conftest$ac_exeext | ||
3920 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3921 | (eval $ac_link) 2>&5 | ||
3922 | ac_status=$? | ||
3923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3924 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
3926 | (eval $ac_try) 2>&5 | ||
3927 | ac_status=$? | ||
3928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3929 | (exit $ac_status); }; }; then | ||
3930 | echo "$as_me:$LINENO: result: working" >&5 | ||
3931 | echo "${ECHO_T}working" >&6 | ||
3932 | else | ||
3933 | echo "$as_me: program exited with status $ac_status" >&5 | ||
3934 | echo "$as_me: failed program was:" >&5 | ||
3935 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3936 | |||
3937 | ( exit $ac_status ) | ||
3938 | echo "$as_me:$LINENO: result: buggy" >&5 | ||
3939 | echo "${ECHO_T}buggy" >&6 | ||
3940 | cat >>confdefs.h <<\_ACEOF | ||
3941 | @%:@define BROKEN_GETADDRINFO 1 | ||
3942 | _ACEOF | ||
3943 | |||
3944 | fi | ||
3945 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
3946 | fi | ||
3947 | ;; | ||
3948 | *-*-hpux10.26) | ||
3949 | if test -z "$GCC"; then | ||
3950 | CFLAGS="$CFLAGS -Ae" | ||
3951 | fi | ||
3952 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
3953 | IPADDR_IN_DISPLAY=yes | ||
3954 | cat >>confdefs.h <<\_ACEOF | ||
3955 | @%:@define HAVE_SECUREWARE 1 | ||
3956 | _ACEOF | ||
3957 | |||
3958 | cat >>confdefs.h <<\_ACEOF | ||
3959 | @%:@define USE_PIPES 1 | ||
3960 | _ACEOF | ||
3961 | |||
3962 | cat >>confdefs.h <<\_ACEOF | ||
3963 | @%:@define LOGIN_NO_ENDOPT 1 | ||
3964 | _ACEOF | ||
3965 | |||
3966 | cat >>confdefs.h <<\_ACEOF | ||
3967 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
3968 | _ACEOF | ||
3969 | |||
3970 | cat >>confdefs.h <<\_ACEOF | ||
3971 | @%:@define DISABLE_SHADOW 1 | ||
3972 | _ACEOF | ||
3973 | |||
3974 | cat >>confdefs.h <<\_ACEOF | ||
3975 | @%:@define DISABLE_UTMP 1 | ||
3976 | _ACEOF | ||
3977 | |||
3978 | cat >>confdefs.h <<\_ACEOF | ||
3979 | @%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT | ||
3980 | _ACEOF | ||
3981 | |||
3982 | LIBS="$LIBS -lsec -lsecpw" | ||
3983 | |||
3984 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
3985 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
3986 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
3987 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3988 | else | ||
3989 | ac_check_lib_save_LIBS=$LIBS | ||
3990 | LIBS="-lxnet $LIBS" | ||
3991 | cat >conftest.$ac_ext <<_ACEOF | ||
3992 | #line $LINENO "configure" | ||
3993 | /* confdefs.h. */ | ||
3994 | _ACEOF | ||
3995 | cat confdefs.h >>conftest.$ac_ext | ||
3996 | cat >>conftest.$ac_ext <<_ACEOF | ||
3997 | /* end confdefs.h. */ | ||
3998 | |||
3999 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4000 | #ifdef __cplusplus | ||
4001 | extern "C" | ||
4002 | #endif | ||
4003 | /* We use char because int might match the return type of a gcc2 | ||
4004 | builtin and then its argument prototype would still apply. */ | ||
4005 | char t_error (); | ||
4006 | int | ||
4007 | main () | ||
4008 | { | ||
4009 | t_error (); | ||
4010 | ; | ||
4011 | return 0; | ||
4012 | } | ||
4013 | _ACEOF | ||
4014 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4015 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4016 | (eval $ac_link) 2>&5 | ||
4017 | ac_status=$? | ||
4018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4019 | (exit $ac_status); } && | ||
4020 | { ac_try='test -s conftest$ac_exeext' | ||
4021 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4022 | (eval $ac_try) 2>&5 | ||
4023 | ac_status=$? | ||
4024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4025 | (exit $ac_status); }; }; then | ||
4026 | ac_cv_lib_xnet_t_error=yes | ||
4027 | else | ||
4028 | echo "$as_me: failed program was:" >&5 | ||
4029 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4030 | |||
4031 | ac_cv_lib_xnet_t_error=no | ||
4032 | fi | ||
4033 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4034 | LIBS=$ac_check_lib_save_LIBS | ||
4035 | fi | ||
4036 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
4037 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
4038 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
4039 | cat >>confdefs.h <<_ACEOF | ||
4040 | @%:@define HAVE_LIBXNET 1 | ||
4041 | _ACEOF | ||
4042 | |||
4043 | LIBS="-lxnet $LIBS" | ||
4044 | |||
4045 | else | ||
4046 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
4047 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
4048 | { (exit 1); exit 1; }; } | ||
4049 | fi | ||
4050 | |||
4051 | disable_ptmx_check=yes | ||
4052 | ;; | ||
4053 | *-*-hpux10*) | ||
4054 | if test -z "$GCC"; then | ||
4055 | CFLAGS="$CFLAGS -Ae" | ||
4056 | fi | ||
4057 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
4058 | IPADDR_IN_DISPLAY=yes | ||
4059 | cat >>confdefs.h <<\_ACEOF | ||
4060 | @%:@define USE_PIPES 1 | ||
4061 | _ACEOF | ||
4062 | |||
4063 | cat >>confdefs.h <<\_ACEOF | ||
4064 | @%:@define LOGIN_NO_ENDOPT 1 | ||
4065 | _ACEOF | ||
4066 | |||
4067 | cat >>confdefs.h <<\_ACEOF | ||
4068 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
4069 | _ACEOF | ||
4070 | |||
4071 | cat >>confdefs.h <<\_ACEOF | ||
4072 | @%:@define DISABLE_SHADOW 1 | ||
4073 | _ACEOF | ||
4074 | |||
4075 | cat >>confdefs.h <<\_ACEOF | ||
4076 | @%:@define DISABLE_UTMP 1 | ||
4077 | _ACEOF | ||
4078 | |||
4079 | cat >>confdefs.h <<\_ACEOF | ||
4080 | @%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT | ||
4081 | _ACEOF | ||
4082 | |||
4083 | LIBS="$LIBS -lsec" | ||
4084 | |||
4085 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
4086 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
4087 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
4088 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4089 | else | ||
4090 | ac_check_lib_save_LIBS=$LIBS | ||
4091 | LIBS="-lxnet $LIBS" | ||
4092 | cat >conftest.$ac_ext <<_ACEOF | ||
4093 | #line $LINENO "configure" | ||
4094 | /* confdefs.h. */ | ||
4095 | _ACEOF | ||
4096 | cat confdefs.h >>conftest.$ac_ext | ||
4097 | cat >>conftest.$ac_ext <<_ACEOF | ||
4098 | /* end confdefs.h. */ | ||
4099 | |||
4100 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4101 | #ifdef __cplusplus | ||
4102 | extern "C" | ||
4103 | #endif | ||
4104 | /* We use char because int might match the return type of a gcc2 | ||
4105 | builtin and then its argument prototype would still apply. */ | ||
4106 | char t_error (); | ||
4107 | int | ||
4108 | main () | ||
4109 | { | ||
4110 | t_error (); | ||
4111 | ; | ||
4112 | return 0; | ||
4113 | } | ||
4114 | _ACEOF | ||
4115 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4116 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4117 | (eval $ac_link) 2>&5 | ||
4118 | ac_status=$? | ||
4119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4120 | (exit $ac_status); } && | ||
4121 | { ac_try='test -s conftest$ac_exeext' | ||
4122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4123 | (eval $ac_try) 2>&5 | ||
4124 | ac_status=$? | ||
4125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4126 | (exit $ac_status); }; }; then | ||
4127 | ac_cv_lib_xnet_t_error=yes | ||
4128 | else | ||
4129 | echo "$as_me: failed program was:" >&5 | ||
4130 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4131 | |||
4132 | ac_cv_lib_xnet_t_error=no | ||
4133 | fi | ||
4134 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4135 | LIBS=$ac_check_lib_save_LIBS | ||
4136 | fi | ||
4137 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
4138 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
4139 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
4140 | cat >>confdefs.h <<_ACEOF | ||
4141 | @%:@define HAVE_LIBXNET 1 | ||
4142 | _ACEOF | ||
4143 | |||
4144 | LIBS="-lxnet $LIBS" | ||
4145 | |||
4146 | else | ||
4147 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
4148 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
4149 | { (exit 1); exit 1; }; } | ||
4150 | fi | ||
4151 | |||
4152 | ;; | ||
4153 | *-*-hpux11*) | ||
4154 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
4155 | IPADDR_IN_DISPLAY=yes | ||
4156 | cat >>confdefs.h <<\_ACEOF | ||
4157 | @%:@define PAM_SUN_CODEBASE 1 | ||
4158 | _ACEOF | ||
4159 | |||
4160 | cat >>confdefs.h <<\_ACEOF | ||
4161 | @%:@define USE_PIPES 1 | ||
4162 | _ACEOF | ||
4163 | |||
4164 | cat >>confdefs.h <<\_ACEOF | ||
4165 | @%:@define LOGIN_NO_ENDOPT 1 | ||
4166 | _ACEOF | ||
4167 | |||
4168 | cat >>confdefs.h <<\_ACEOF | ||
4169 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
4170 | _ACEOF | ||
4171 | |||
4172 | cat >>confdefs.h <<\_ACEOF | ||
4173 | @%:@define DISABLE_SHADOW 1 | ||
4174 | _ACEOF | ||
4175 | |||
4176 | cat >>confdefs.h <<\_ACEOF | ||
4177 | @%:@define DISABLE_UTMP 1 | ||
4178 | _ACEOF | ||
4179 | |||
4180 | cat >>confdefs.h <<\_ACEOF | ||
4181 | @%:@define SETPROCTITLE_STRATEGY PS_USE_PSTAT | ||
4182 | _ACEOF | ||
4183 | |||
4184 | LIBS="$LIBS -lsec" | ||
4185 | |||
4186 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
4187 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
4188 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
4189 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4190 | else | ||
4191 | ac_check_lib_save_LIBS=$LIBS | ||
4192 | LIBS="-lxnet $LIBS" | ||
4193 | cat >conftest.$ac_ext <<_ACEOF | ||
4194 | #line $LINENO "configure" | ||
4195 | /* confdefs.h. */ | ||
4196 | _ACEOF | ||
4197 | cat confdefs.h >>conftest.$ac_ext | ||
4198 | cat >>conftest.$ac_ext <<_ACEOF | ||
4199 | /* end confdefs.h. */ | ||
4200 | |||
4201 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4202 | #ifdef __cplusplus | ||
4203 | extern "C" | ||
4204 | #endif | ||
4205 | /* We use char because int might match the return type of a gcc2 | ||
4206 | builtin and then its argument prototype would still apply. */ | ||
4207 | char t_error (); | ||
4208 | int | ||
4209 | main () | ||
4210 | { | ||
4211 | t_error (); | ||
4212 | ; | ||
4213 | return 0; | ||
4214 | } | ||
4215 | _ACEOF | ||
4216 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4217 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4218 | (eval $ac_link) 2>&5 | ||
4219 | ac_status=$? | ||
4220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4221 | (exit $ac_status); } && | ||
4222 | { ac_try='test -s conftest$ac_exeext' | ||
4223 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4224 | (eval $ac_try) 2>&5 | ||
4225 | ac_status=$? | ||
4226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4227 | (exit $ac_status); }; }; then | ||
4228 | ac_cv_lib_xnet_t_error=yes | ||
4229 | else | ||
4230 | echo "$as_me: failed program was:" >&5 | ||
4231 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4232 | |||
4233 | ac_cv_lib_xnet_t_error=no | ||
4234 | fi | ||
4235 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4236 | LIBS=$ac_check_lib_save_LIBS | ||
4237 | fi | ||
4238 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
4239 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
4240 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
4241 | cat >>confdefs.h <<_ACEOF | ||
4242 | @%:@define HAVE_LIBXNET 1 | ||
4243 | _ACEOF | ||
4244 | |||
4245 | LIBS="-lxnet $LIBS" | ||
4246 | |||
4247 | else | ||
4248 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
4249 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
4250 | { (exit 1); exit 1; }; } | ||
4251 | fi | ||
4252 | |||
4253 | ;; | ||
4254 | *-*-irix5*) | ||
4255 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4256 | LDFLAGS="$LDFLAGS" | ||
4257 | PATH="$PATH:/usr/etc" | ||
4258 | cat >>confdefs.h <<\_ACEOF | ||
4259 | @%:@define BROKEN_INET_NTOA 1 | ||
4260 | _ACEOF | ||
4261 | |||
4262 | cat >>confdefs.h <<\_ACEOF | ||
4263 | @%:@define WITH_ABBREV_NO_TTY 1 | ||
4264 | _ACEOF | ||
4265 | |||
4266 | ;; | ||
4267 | *-*-irix6*) | ||
4268 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4269 | LDFLAGS="$LDFLAGS" | ||
4270 | PATH="$PATH:/usr/etc" | ||
4271 | cat >>confdefs.h <<\_ACEOF | ||
4272 | @%:@define WITH_IRIX_ARRAY 1 | ||
4273 | _ACEOF | ||
4274 | |||
4275 | cat >>confdefs.h <<\_ACEOF | ||
4276 | @%:@define WITH_IRIX_PROJECT 1 | ||
4277 | _ACEOF | ||
4278 | |||
4279 | cat >>confdefs.h <<\_ACEOF | ||
4280 | @%:@define WITH_IRIX_AUDIT 1 | ||
4281 | _ACEOF | ||
4282 | |||
4283 | echo "$as_me:$LINENO: checking for jlimit_startjob" >&5 | ||
4284 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 | ||
4285 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then | ||
4286 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4287 | else | ||
4288 | cat >conftest.$ac_ext <<_ACEOF | ||
4289 | #line $LINENO "configure" | ||
4290 | /* confdefs.h. */ | ||
4291 | _ACEOF | ||
4292 | cat confdefs.h >>conftest.$ac_ext | ||
4293 | cat >>conftest.$ac_ext <<_ACEOF | ||
4294 | /* end confdefs.h. */ | ||
4295 | /* System header to define __stub macros and hopefully few prototypes, | ||
4296 | which can conflict with char jlimit_startjob (); below. | ||
4297 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
4298 | <limits.h> exists even on freestanding compilers. */ | ||
4299 | #ifdef __STDC__ | ||
4300 | # include <limits.h> | ||
4301 | #else | ||
4302 | # include <assert.h> | ||
4303 | #endif | ||
4304 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4305 | #ifdef __cplusplus | ||
4306 | extern "C" | ||
4307 | { | ||
4308 | #endif | ||
4309 | /* We use char because int might match the return type of a gcc2 | ||
4310 | builtin and then its argument prototype would still apply. */ | ||
4311 | char jlimit_startjob (); | ||
4312 | /* The GNU C library defines this for functions which it implements | ||
4313 | to always fail with ENOSYS. Some functions are actually named | ||
4314 | something starting with __ and the normal name is an alias. */ | ||
4315 | #if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob) | ||
4316 | choke me | ||
4317 | #else | ||
4318 | char (*f) () = jlimit_startjob; | ||
4319 | #endif | ||
4320 | #ifdef __cplusplus | ||
4321 | } | ||
4322 | #endif | ||
4323 | |||
4324 | int | ||
4325 | main () | ||
4326 | { | ||
4327 | return f != jlimit_startjob; | ||
4328 | ; | ||
4329 | return 0; | ||
4330 | } | ||
4331 | _ACEOF | ||
4332 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4333 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4334 | (eval $ac_link) 2>&5 | ||
4335 | ac_status=$? | ||
4336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4337 | (exit $ac_status); } && | ||
4338 | { ac_try='test -s conftest$ac_exeext' | ||
4339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4340 | (eval $ac_try) 2>&5 | ||
4341 | ac_status=$? | ||
4342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4343 | (exit $ac_status); }; }; then | ||
4344 | ac_cv_func_jlimit_startjob=yes | ||
4345 | else | ||
4346 | echo "$as_me: failed program was:" >&5 | ||
4347 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4348 | |||
4349 | ac_cv_func_jlimit_startjob=no | ||
4350 | fi | ||
4351 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4352 | fi | ||
4353 | echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 | ||
4354 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 | ||
4355 | if test $ac_cv_func_jlimit_startjob = yes; then | ||
4356 | cat >>confdefs.h <<\_ACEOF | ||
4357 | @%:@define WITH_IRIX_JOBS 1 | ||
4358 | _ACEOF | ||
4359 | |||
4360 | fi | ||
4361 | |||
4362 | cat >>confdefs.h <<\_ACEOF | ||
4363 | @%:@define BROKEN_INET_NTOA 1 | ||
4364 | _ACEOF | ||
4365 | |||
4366 | cat >>confdefs.h <<\_ACEOF | ||
4367 | @%:@define WITH_ABBREV_NO_TTY 1 | ||
4368 | _ACEOF | ||
4369 | |||
4370 | ;; | ||
4371 | *-*-linux*) | ||
4372 | no_dev_ptmx=1 | ||
4373 | check_for_libcrypt_later=1 | ||
4374 | cat >>confdefs.h <<\_ACEOF | ||
4375 | @%:@define DONT_TRY_OTHER_AF 1 | ||
4376 | _ACEOF | ||
4377 | |||
4378 | cat >>confdefs.h <<\_ACEOF | ||
4379 | @%:@define PAM_TTY_KLUDGE 1 | ||
4380 | _ACEOF | ||
4381 | |||
4382 | cat >>confdefs.h <<\_ACEOF | ||
4383 | @%:@define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV | ||
4384 | _ACEOF | ||
4385 | |||
4386 | cat >>confdefs.h <<\_ACEOF | ||
4387 | @%:@define SETPROCTITLE_PS_PADDING '\0' | ||
4388 | _ACEOF | ||
4389 | |||
4390 | inet6_default_4in6=yes | ||
4391 | ;; | ||
4392 | mips-sony-bsd|mips-sony-newsos4) | ||
4393 | cat >>confdefs.h <<\_ACEOF | ||
4394 | @%:@define HAVE_NEWS4 1 | ||
4395 | _ACEOF | ||
4396 | |||
4397 | SONY=1 | ||
4398 | ;; | ||
4399 | *-*-netbsd*) | ||
4400 | check_for_libcrypt_before=1 | ||
4401 | need_dash_r=1 | ||
4402 | ;; | ||
4403 | *-*-freebsd*) | ||
4404 | check_for_libcrypt_later=1 | ||
4405 | ;; | ||
4406 | *-next-*) | ||
4407 | conf_lastlog_location="/usr/adm/lastlog" | ||
4408 | conf_utmp_location=/etc/utmp | ||
4409 | conf_wtmp_location=/usr/adm/wtmp | ||
4410 | MAIL=/usr/spool/mail | ||
4411 | cat >>confdefs.h <<\_ACEOF | ||
4412 | @%:@define HAVE_NEXT 1 | ||
4413 | _ACEOF | ||
4414 | |||
4415 | cat >>confdefs.h <<\_ACEOF | ||
4416 | @%:@define BROKEN_REALPATH 1 | ||
4417 | _ACEOF | ||
4418 | |||
4419 | cat >>confdefs.h <<\_ACEOF | ||
4420 | @%:@define USE_PIPES 1 | ||
4421 | _ACEOF | ||
4422 | |||
4423 | cat >>confdefs.h <<\_ACEOF | ||
4424 | @%:@define BROKEN_SAVED_UIDS 1 | ||
4425 | _ACEOF | ||
4426 | |||
4427 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4428 | CFLAGS="$CFLAGS" | ||
4429 | ;; | ||
4430 | *-*-solaris*) | ||
4431 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4432 | LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" | ||
4433 | need_dash_r=1 | ||
4434 | cat >>confdefs.h <<\_ACEOF | ||
4435 | @%:@define PAM_SUN_CODEBASE 1 | ||
4436 | _ACEOF | ||
4437 | |||
4438 | cat >>confdefs.h <<\_ACEOF | ||
4439 | @%:@define LOGIN_NEEDS_UTMPX 1 | ||
4440 | _ACEOF | ||
4441 | |||
4442 | cat >>confdefs.h <<\_ACEOF | ||
4443 | @%:@define LOGIN_NEEDS_TERM 1 | ||
4444 | _ACEOF | ||
4445 | |||
4446 | cat >>confdefs.h <<\_ACEOF | ||
4447 | @%:@define PAM_TTY_KLUDGE 1 | ||
4448 | _ACEOF | ||
4449 | |||
4450 | cat >>confdefs.h <<\_ACEOF | ||
4451 | @%:@define STREAMS_PUSH_ACQUIRES_CTTY 1 | ||
4452 | _ACEOF | ||
4453 | |||
4454 | # hardwire lastlog location (can't detect it on some versions) | ||
4455 | conf_lastlog_location="/var/adm/lastlog" | ||
4456 | echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 | ||
4457 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 | ||
4458 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` | ||
4459 | if test "$sol2ver" -ge 8; then | ||
4460 | echo "$as_me:$LINENO: result: yes" >&5 | ||
4461 | echo "${ECHO_T}yes" >&6 | ||
4462 | cat >>confdefs.h <<\_ACEOF | ||
4463 | @%:@define DISABLE_UTMP 1 | ||
4464 | _ACEOF | ||
4465 | |||
4466 | cat >>confdefs.h <<\_ACEOF | ||
4467 | @%:@define DISABLE_WTMP 1 | ||
4468 | _ACEOF | ||
4469 | |||
4470 | else | ||
4471 | echo "$as_me:$LINENO: result: no" >&5 | ||
4472 | echo "${ECHO_T}no" >&6 | ||
4473 | fi | ||
4474 | ;; | ||
4475 | *-*-sunos4*) | ||
4476 | CPPFLAGS="$CPPFLAGS -DSUNOS4" | ||
4477 | |||
4478 | for ac_func in getpwanam | ||
4479 | do | ||
4480 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
4481 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
4482 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
4483 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
4484 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4485 | else | ||
4486 | cat >conftest.$ac_ext <<_ACEOF | ||
4487 | #line $LINENO "configure" | ||
4488 | /* confdefs.h. */ | ||
4489 | _ACEOF | ||
4490 | cat confdefs.h >>conftest.$ac_ext | ||
4491 | cat >>conftest.$ac_ext <<_ACEOF | ||
4492 | /* end confdefs.h. */ | ||
4493 | /* System header to define __stub macros and hopefully few prototypes, | ||
4494 | which can conflict with char $ac_func (); below. | ||
4495 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
4496 | <limits.h> exists even on freestanding compilers. */ | ||
4497 | #ifdef __STDC__ | ||
4498 | # include <limits.h> | ||
4499 | #else | ||
4500 | # include <assert.h> | ||
4501 | #endif | ||
4502 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4503 | #ifdef __cplusplus | ||
4504 | extern "C" | ||
4505 | { | ||
4506 | #endif | ||
4507 | /* We use char because int might match the return type of a gcc2 | ||
4508 | builtin and then its argument prototype would still apply. */ | ||
4509 | char $ac_func (); | ||
4510 | /* The GNU C library defines this for functions which it implements | ||
4511 | to always fail with ENOSYS. Some functions are actually named | ||
4512 | something starting with __ and the normal name is an alias. */ | ||
4513 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
4514 | choke me | ||
4515 | #else | ||
4516 | char (*f) () = $ac_func; | ||
4517 | #endif | ||
4518 | #ifdef __cplusplus | ||
4519 | } | ||
4520 | #endif | ||
4521 | |||
4522 | int | ||
4523 | main () | ||
4524 | { | ||
4525 | return f != $ac_func; | ||
4526 | ; | ||
4527 | return 0; | ||
4528 | } | ||
4529 | _ACEOF | ||
4530 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4531 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4532 | (eval $ac_link) 2>&5 | ||
4533 | ac_status=$? | ||
4534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4535 | (exit $ac_status); } && | ||
4536 | { ac_try='test -s conftest$ac_exeext' | ||
4537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4538 | (eval $ac_try) 2>&5 | ||
4539 | ac_status=$? | ||
4540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4541 | (exit $ac_status); }; }; then | ||
4542 | eval "$as_ac_var=yes" | ||
4543 | else | ||
4544 | echo "$as_me: failed program was:" >&5 | ||
4545 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4546 | |||
4547 | eval "$as_ac_var=no" | ||
4548 | fi | ||
4549 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4550 | fi | ||
4551 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
4552 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
4553 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
4554 | cat >>confdefs.h <<_ACEOF | ||
4555 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
4556 | _ACEOF | ||
4557 | |||
4558 | fi | ||
4559 | done | ||
4560 | |||
4561 | cat >>confdefs.h <<\_ACEOF | ||
4562 | @%:@define PAM_SUN_CODEBASE 1 | ||
4563 | _ACEOF | ||
4564 | |||
4565 | conf_utmp_location=/etc/utmp | ||
4566 | conf_wtmp_location=/var/adm/wtmp | ||
4567 | conf_lastlog_location=/var/adm/lastlog | ||
4568 | cat >>confdefs.h <<\_ACEOF | ||
4569 | @%:@define USE_PIPES 1 | ||
4570 | _ACEOF | ||
4571 | |||
4572 | ;; | ||
4573 | *-ncr-sysv*) | ||
4574 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4575 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4576 | LIBS="$LIBS -lc89" | ||
4577 | cat >>confdefs.h <<\_ACEOF | ||
4578 | @%:@define USE_PIPES 1 | ||
4579 | _ACEOF | ||
4580 | |||
4581 | ;; | ||
4582 | *-sni-sysv*) | ||
4583 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4584 | # /usr/ucblib MUST NOT be searched on ReliantUNIX | ||
4585 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4586 | IPADDR_IN_DISPLAY=yes | ||
4587 | cat >>confdefs.h <<\_ACEOF | ||
4588 | @%:@define USE_PIPES 1 | ||
4589 | _ACEOF | ||
4590 | |||
4591 | cat >>confdefs.h <<\_ACEOF | ||
4592 | @%:@define IP_TOS_IS_BROKEN 1 | ||
4593 | _ACEOF | ||
4594 | |||
4595 | # /usr/ucblib/libucb.a no longer needed on ReliantUNIX | ||
4596 | # Attention: always take care to bind libsocket and libnsl before libc, | ||
4597 | # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog | ||
4598 | ;; | ||
4599 | *-*-sysv4.2*) | ||
4600 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4601 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4602 | cat >>confdefs.h <<\_ACEOF | ||
4603 | @%:@define USE_PIPES 1 | ||
4604 | _ACEOF | ||
4605 | |||
4606 | ;; | ||
4607 | *-*-sysv5*) | ||
4608 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4609 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4610 | cat >>confdefs.h <<\_ACEOF | ||
4611 | @%:@define USE_PIPES 1 | ||
4612 | _ACEOF | ||
4613 | |||
4614 | ;; | ||
4615 | *-*-sysv*) | ||
4616 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4617 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4618 | ;; | ||
4619 | *-*-sco3.2v4*) | ||
4620 | CPPFLAGS="$CPPFLAGS -Dftruncate=chsize -I/usr/local/include" | ||
4621 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4622 | LIBS="$LIBS -los -lprot -lx -ltinfo -lm" | ||
4623 | RANLIB=true | ||
4624 | no_dev_ptmx=1 | ||
4625 | cat >>confdefs.h <<\_ACEOF | ||
4626 | @%:@define BROKEN_SYS_TERMIO_H 1 | ||
4627 | _ACEOF | ||
4628 | |||
4629 | cat >>confdefs.h <<\_ACEOF | ||
4630 | @%:@define USE_PIPES 1 | ||
4631 | _ACEOF | ||
4632 | |||
4633 | cat >>confdefs.h <<\_ACEOF | ||
4634 | @%:@define HAVE_SECUREWARE 1 | ||
4635 | _ACEOF | ||
4636 | |||
4637 | cat >>confdefs.h <<\_ACEOF | ||
4638 | @%:@define DISABLE_SHADOW 1 | ||
4639 | _ACEOF | ||
4640 | |||
4641 | cat >>confdefs.h <<\_ACEOF | ||
4642 | @%:@define BROKEN_SAVED_UIDS 1 | ||
4643 | _ACEOF | ||
4644 | |||
4645 | |||
4646 | |||
4647 | for ac_func in getluid setluid | ||
4648 | do | ||
4649 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
4650 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
4651 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
4652 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
4653 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4654 | else | ||
4655 | cat >conftest.$ac_ext <<_ACEOF | ||
4656 | #line $LINENO "configure" | ||
4657 | /* confdefs.h. */ | ||
4658 | _ACEOF | ||
4659 | cat confdefs.h >>conftest.$ac_ext | ||
4660 | cat >>conftest.$ac_ext <<_ACEOF | ||
4661 | /* end confdefs.h. */ | ||
4662 | /* System header to define __stub macros and hopefully few prototypes, | ||
4663 | which can conflict with char $ac_func (); below. | ||
4664 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
4665 | <limits.h> exists even on freestanding compilers. */ | ||
4666 | #ifdef __STDC__ | ||
4667 | # include <limits.h> | ||
4668 | #else | ||
4669 | # include <assert.h> | ||
4670 | #endif | ||
4671 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4672 | #ifdef __cplusplus | ||
4673 | extern "C" | ||
4674 | { | ||
4675 | #endif | ||
4676 | /* We use char because int might match the return type of a gcc2 | ||
4677 | builtin and then its argument prototype would still apply. */ | ||
4678 | char $ac_func (); | ||
4679 | /* The GNU C library defines this for functions which it implements | ||
4680 | to always fail with ENOSYS. Some functions are actually named | ||
4681 | something starting with __ and the normal name is an alias. */ | ||
4682 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
4683 | choke me | ||
4684 | #else | ||
4685 | char (*f) () = $ac_func; | ||
4686 | #endif | ||
4687 | #ifdef __cplusplus | ||
4688 | } | ||
4689 | #endif | ||
4690 | |||
4691 | int | ||
4692 | main () | ||
4693 | { | ||
4694 | return f != $ac_func; | ||
4695 | ; | ||
4696 | return 0; | ||
4697 | } | ||
4698 | _ACEOF | ||
4699 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4700 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4701 | (eval $ac_link) 2>&5 | ||
4702 | ac_status=$? | ||
4703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4704 | (exit $ac_status); } && | ||
4705 | { ac_try='test -s conftest$ac_exeext' | ||
4706 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4707 | (eval $ac_try) 2>&5 | ||
4708 | ac_status=$? | ||
4709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4710 | (exit $ac_status); }; }; then | ||
4711 | eval "$as_ac_var=yes" | ||
4712 | else | ||
4713 | echo "$as_me: failed program was:" >&5 | ||
4714 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4715 | |||
4716 | eval "$as_ac_var=no" | ||
4717 | fi | ||
4718 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4719 | fi | ||
4720 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
4721 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
4722 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
4723 | cat >>confdefs.h <<_ACEOF | ||
4724 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
4725 | _ACEOF | ||
4726 | |||
4727 | fi | ||
4728 | done | ||
4729 | |||
4730 | MANTYPE=man | ||
4731 | do_sco3_extra_lib_check=yes | ||
4732 | ;; | ||
4733 | *-*-sco3.2v5*) | ||
4734 | if test -z "$GCC"; then | ||
4735 | CFLAGS="$CFLAGS -belf" | ||
4736 | fi | ||
4737 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | ||
4738 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | ||
4739 | LIBS="$LIBS -lprot -lx -ltinfo -lm" | ||
4740 | no_dev_ptmx=1 | ||
4741 | cat >>confdefs.h <<\_ACEOF | ||
4742 | @%:@define USE_PIPES 1 | ||
4743 | _ACEOF | ||
4744 | |||
4745 | cat >>confdefs.h <<\_ACEOF | ||
4746 | @%:@define HAVE_SECUREWARE 1 | ||
4747 | _ACEOF | ||
4748 | |||
4749 | cat >>confdefs.h <<\_ACEOF | ||
4750 | @%:@define DISABLE_SHADOW 1 | ||
4751 | _ACEOF | ||
4752 | |||
4753 | cat >>confdefs.h <<\_ACEOF | ||
4754 | @%:@define DISABLE_FD_PASSING 1 | ||
4755 | _ACEOF | ||
4756 | |||
4757 | |||
4758 | |||
4759 | for ac_func in getluid setluid | ||
4760 | do | ||
4761 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
4762 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
4763 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
4764 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
4765 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4766 | else | ||
4767 | cat >conftest.$ac_ext <<_ACEOF | ||
4768 | #line $LINENO "configure" | ||
4769 | /* confdefs.h. */ | ||
4770 | _ACEOF | ||
4771 | cat confdefs.h >>conftest.$ac_ext | ||
4772 | cat >>conftest.$ac_ext <<_ACEOF | ||
4773 | /* end confdefs.h. */ | ||
4774 | /* System header to define __stub macros and hopefully few prototypes, | ||
4775 | which can conflict with char $ac_func (); below. | ||
4776 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
4777 | <limits.h> exists even on freestanding compilers. */ | ||
4778 | #ifdef __STDC__ | ||
4779 | # include <limits.h> | ||
4780 | #else | ||
4781 | # include <assert.h> | ||
4782 | #endif | ||
4783 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
4784 | #ifdef __cplusplus | ||
4785 | extern "C" | ||
4786 | { | ||
4787 | #endif | ||
4788 | /* We use char because int might match the return type of a gcc2 | ||
4789 | builtin and then its argument prototype would still apply. */ | ||
4790 | char $ac_func (); | ||
4791 | /* The GNU C library defines this for functions which it implements | ||
4792 | to always fail with ENOSYS. Some functions are actually named | ||
4793 | something starting with __ and the normal name is an alias. */ | ||
4794 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
4795 | choke me | ||
4796 | #else | ||
4797 | char (*f) () = $ac_func; | ||
4798 | #endif | ||
4799 | #ifdef __cplusplus | ||
4800 | } | ||
4801 | #endif | ||
4802 | |||
4803 | int | ||
4804 | main () | ||
4805 | { | ||
4806 | return f != $ac_func; | ||
4807 | ; | ||
4808 | return 0; | ||
4809 | } | ||
4810 | _ACEOF | ||
4811 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
4812 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4813 | (eval $ac_link) 2>&5 | ||
4814 | ac_status=$? | ||
4815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4816 | (exit $ac_status); } && | ||
4817 | { ac_try='test -s conftest$ac_exeext' | ||
4818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4819 | (eval $ac_try) 2>&5 | ||
4820 | ac_status=$? | ||
4821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4822 | (exit $ac_status); }; }; then | ||
4823 | eval "$as_ac_var=yes" | ||
4824 | else | ||
4825 | echo "$as_me: failed program was:" >&5 | ||
4826 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4827 | |||
4828 | eval "$as_ac_var=no" | ||
4829 | fi | ||
4830 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
4831 | fi | ||
4832 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
4833 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
4834 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
4835 | cat >>confdefs.h <<_ACEOF | ||
4836 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
4837 | _ACEOF | ||
4838 | |||
4839 | fi | ||
4840 | done | ||
4841 | |||
4842 | MANTYPE=man | ||
4843 | ;; | ||
4844 | *-*-unicosmk*) | ||
4845 | cat >>confdefs.h <<\_ACEOF | ||
4846 | @%:@define USE_PIPES 1 | ||
4847 | _ACEOF | ||
4848 | |||
4849 | cat >>confdefs.h <<\_ACEOF | ||
4850 | @%:@define DISABLE_FD_PASSING 1 | ||
4851 | _ACEOF | ||
4852 | |||
4853 | LDFLAGS="$LDFLAGS" | ||
4854 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | ||
4855 | MANTYPE=cat | ||
4856 | ;; | ||
4857 | *-*-unicos*) | ||
4858 | cat >>confdefs.h <<\_ACEOF | ||
4859 | @%:@define USE_PIPES 1 | ||
4860 | _ACEOF | ||
4861 | |||
4862 | cat >>confdefs.h <<\_ACEOF | ||
4863 | @%:@define DISABLE_FD_PASSING 1 | ||
4864 | _ACEOF | ||
4865 | |||
4866 | cat >>confdefs.h <<\_ACEOF | ||
4867 | @%:@define NO_SSH_LASTLOG 1 | ||
4868 | _ACEOF | ||
4869 | |||
4870 | LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" | ||
4871 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | ||
4872 | MANTYPE=cat | ||
4873 | ;; | ||
4874 | *-dec-osf*) | ||
4875 | echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 | ||
4876 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 | ||
4877 | no_osfsia="" | ||
4878 | |||
4879 | # Check whether --with-osfsia or --without-osfsia was given. | ||
4880 | if test "${with_osfsia+set}" = set; then | ||
4881 | withval="$with_osfsia" | ||
4882 | |||
4883 | if test "x$withval" = "xno" ; then | ||
4884 | echo "$as_me:$LINENO: result: disabled" >&5 | ||
4885 | echo "${ECHO_T}disabled" >&6 | ||
4886 | no_osfsia=1 | ||
4887 | fi | ||
4888 | |||
4889 | fi; | ||
4890 | if test -z "$no_osfsia" ; then | ||
4891 | if test -f /etc/sia/matrix.conf; then | ||
4892 | echo "$as_me:$LINENO: result: yes" >&5 | ||
4893 | echo "${ECHO_T}yes" >&6 | ||
4894 | cat >>confdefs.h <<\_ACEOF | ||
4895 | @%:@define HAVE_OSF_SIA 1 | ||
4896 | _ACEOF | ||
4897 | |||
4898 | cat >>confdefs.h <<\_ACEOF | ||
4899 | @%:@define DISABLE_LOGIN 1 | ||
4900 | _ACEOF | ||
4901 | |||
4902 | cat >>confdefs.h <<\_ACEOF | ||
4903 | @%:@define DISABLE_FD_PASSING 1 | ||
4904 | _ACEOF | ||
4905 | |||
4906 | LIBS="$LIBS -lsecurity -ldb -lm -laud" | ||
4907 | else | ||
4908 | echo "$as_me:$LINENO: result: no" >&5 | ||
4909 | echo "${ECHO_T}no" >&6 | ||
4910 | fi | ||
4911 | fi | ||
4912 | cat >>confdefs.h <<\_ACEOF | ||
4913 | @%:@define DISABLE_FD_PASSING 1 | ||
4914 | _ACEOF | ||
4915 | |||
4916 | ;; | ||
4917 | |||
4918 | *-*-nto-qnx) | ||
4919 | cat >>confdefs.h <<\_ACEOF | ||
4920 | @%:@define USE_PIPES 1 | ||
4921 | _ACEOF | ||
4922 | |||
4923 | cat >>confdefs.h <<\_ACEOF | ||
4924 | @%:@define NO_X11_UNIX_SOCKETS 1 | ||
4925 | _ACEOF | ||
4926 | |||
4927 | cat >>confdefs.h <<\_ACEOF | ||
4928 | @%:@define MISSING_NFDBITS 1 | ||
4929 | _ACEOF | ||
4930 | |||
4931 | cat >>confdefs.h <<\_ACEOF | ||
4932 | @%:@define MISSING_HOWMANY 1 | ||
4933 | _ACEOF | ||
4934 | |||
4935 | cat >>confdefs.h <<\_ACEOF | ||
4936 | @%:@define MISSING_FD_MASK 1 | ||
4937 | _ACEOF | ||
4938 | |||
4939 | ;; | ||
4940 | esac | ||
4941 | |||
4942 | # Allow user to specify flags | ||
4943 | |||
4944 | # Check whether --with-cflags or --without-cflags was given. | ||
4945 | if test "${with_cflags+set}" = set; then | ||
4946 | withval="$with_cflags" | ||
4947 | |||
4948 | if test "x$withval" != "xno" ; then | ||
4949 | CFLAGS="$CFLAGS $withval" | ||
4950 | fi | ||
4951 | |||
4952 | |||
4953 | fi; | ||
4954 | |||
4955 | # Check whether --with-cppflags or --without-cppflags was given. | ||
4956 | if test "${with_cppflags+set}" = set; then | ||
4957 | withval="$with_cppflags" | ||
4958 | |||
4959 | if test "x$withval" != "xno"; then | ||
4960 | CPPFLAGS="$CPPFLAGS $withval" | ||
4961 | fi | ||
4962 | |||
4963 | |||
4964 | fi; | ||
4965 | |||
4966 | # Check whether --with-ldflags or --without-ldflags was given. | ||
4967 | if test "${with_ldflags+set}" = set; then | ||
4968 | withval="$with_ldflags" | ||
4969 | |||
4970 | if test "x$withval" != "xno" ; then | ||
4971 | LDFLAGS="$LDFLAGS $withval" | ||
4972 | fi | ||
4973 | |||
4974 | |||
4975 | fi; | ||
4976 | |||
4977 | # Check whether --with-libs or --without-libs was given. | ||
4978 | if test "${with_libs+set}" = set; then | ||
4979 | withval="$with_libs" | ||
4980 | |||
4981 | if test "x$withval" != "xno" ; then | ||
4982 | LIBS="$LIBS $withval" | ||
4983 | fi | ||
4984 | |||
4985 | |||
4986 | fi; | ||
4987 | |||
4988 | # Checks for header files. | ||
4989 | |||
4990 | echo "$as_me:$LINENO: checking for egrep" >&5 | ||
4991 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | ||
4992 | if test "${ac_cv_prog_egrep+set}" = set; then | ||
4993 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4994 | else | ||
4995 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | ||
4996 | then ac_cv_prog_egrep='grep -E' | ||
4997 | else ac_cv_prog_egrep='egrep' | ||
4998 | fi | ||
4999 | fi | ||
5000 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
5001 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | ||
5002 | EGREP=$ac_cv_prog_egrep | ||
5003 | |||
5004 | |||
5005 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
5006 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
5007 | if test "${ac_cv_header_stdc+set}" = set; then | ||
5008 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5009 | else | ||
5010 | cat >conftest.$ac_ext <<_ACEOF | ||
5011 | #line $LINENO "configure" | ||
5012 | /* confdefs.h. */ | ||
5013 | _ACEOF | ||
5014 | cat confdefs.h >>conftest.$ac_ext | ||
5015 | cat >>conftest.$ac_ext <<_ACEOF | ||
5016 | /* end confdefs.h. */ | ||
5017 | #include <stdlib.h> | ||
5018 | #include <stdarg.h> | ||
5019 | #include <string.h> | ||
5020 | #include <float.h> | ||
5021 | |||
5022 | int | ||
5023 | main () | ||
5024 | { | ||
5025 | |||
5026 | ; | ||
5027 | return 0; | ||
5028 | } | ||
5029 | _ACEOF | ||
5030 | rm -f conftest.$ac_objext | ||
5031 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5032 | (eval $ac_compile) 2>&5 | ||
5033 | ac_status=$? | ||
5034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5035 | (exit $ac_status); } && | ||
5036 | { ac_try='test -s conftest.$ac_objext' | ||
5037 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5038 | (eval $ac_try) 2>&5 | ||
5039 | ac_status=$? | ||
5040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5041 | (exit $ac_status); }; }; then | ||
5042 | ac_cv_header_stdc=yes | ||
5043 | else | ||
5044 | echo "$as_me: failed program was:" >&5 | ||
5045 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5046 | |||
5047 | ac_cv_header_stdc=no | ||
5048 | fi | ||
5049 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
5050 | |||
5051 | if test $ac_cv_header_stdc = yes; then | ||
5052 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | ||
5053 | cat >conftest.$ac_ext <<_ACEOF | ||
5054 | #line $LINENO "configure" | ||
5055 | /* confdefs.h. */ | ||
5056 | _ACEOF | ||
5057 | cat confdefs.h >>conftest.$ac_ext | ||
5058 | cat >>conftest.$ac_ext <<_ACEOF | ||
5059 | /* end confdefs.h. */ | ||
5060 | #include <string.h> | ||
5061 | |||
5062 | _ACEOF | ||
5063 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
5064 | $EGREP "memchr" >/dev/null 2>&1; then | ||
5065 | : | ||
5066 | else | ||
5067 | ac_cv_header_stdc=no | ||
5068 | fi | ||
5069 | rm -f conftest* | ||
5070 | |||
5071 | fi | ||
5072 | |||
5073 | if test $ac_cv_header_stdc = yes; then | ||
5074 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
5075 | cat >conftest.$ac_ext <<_ACEOF | ||
5076 | #line $LINENO "configure" | ||
5077 | /* confdefs.h. */ | ||
5078 | _ACEOF | ||
5079 | cat confdefs.h >>conftest.$ac_ext | ||
5080 | cat >>conftest.$ac_ext <<_ACEOF | ||
5081 | /* end confdefs.h. */ | ||
5082 | #include <stdlib.h> | ||
5083 | |||
5084 | _ACEOF | ||
5085 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
5086 | $EGREP "free" >/dev/null 2>&1; then | ||
5087 | : | ||
5088 | else | ||
5089 | ac_cv_header_stdc=no | ||
5090 | fi | ||
5091 | rm -f conftest* | ||
5092 | |||
5093 | fi | ||
5094 | |||
5095 | if test $ac_cv_header_stdc = yes; then | ||
5096 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
5097 | if test "$cross_compiling" = yes; then | ||
5098 | : | ||
5099 | else | ||
5100 | cat >conftest.$ac_ext <<_ACEOF | ||
5101 | #line $LINENO "configure" | ||
5102 | /* confdefs.h. */ | ||
5103 | _ACEOF | ||
5104 | cat confdefs.h >>conftest.$ac_ext | ||
5105 | cat >>conftest.$ac_ext <<_ACEOF | ||
5106 | /* end confdefs.h. */ | ||
5107 | #include <ctype.h> | ||
5108 | #if ((' ' & 0x0FF) == 0x020) | ||
5109 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
5110 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
5111 | #else | ||
5112 | # define ISLOWER(c) \ | ||
5113 | (('a' <= (c) && (c) <= 'i') \ | ||
5114 | || ('j' <= (c) && (c) <= 'r') \ | ||
5115 | || ('s' <= (c) && (c) <= 'z')) | ||
5116 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
5117 | #endif | ||
5118 | |||
5119 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | ||
5120 | int | ||
5121 | main () | ||
5122 | { | ||
5123 | int i; | ||
5124 | for (i = 0; i < 256; i++) | ||
5125 | if (XOR (islower (i), ISLOWER (i)) | ||
5126 | || toupper (i) != TOUPPER (i)) | ||
5127 | exit(2); | ||
5128 | exit (0); | ||
5129 | } | ||
5130 | _ACEOF | ||
5131 | rm -f conftest$ac_exeext | ||
5132 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5133 | (eval $ac_link) 2>&5 | ||
5134 | ac_status=$? | ||
5135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5136 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
5137 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5138 | (eval $ac_try) 2>&5 | ||
5139 | ac_status=$? | ||
5140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5141 | (exit $ac_status); }; }; then | ||
5142 | : | ||
5143 | else | ||
5144 | echo "$as_me: program exited with status $ac_status" >&5 | ||
5145 | echo "$as_me: failed program was:" >&5 | ||
5146 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5147 | |||
5148 | ( exit $ac_status ) | ||
5149 | ac_cv_header_stdc=no | ||
5150 | fi | ||
5151 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
5152 | fi | ||
5153 | fi | ||
5154 | fi | ||
5155 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
5156 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
5157 | if test $ac_cv_header_stdc = yes; then | ||
5158 | |||
5159 | cat >>confdefs.h <<\_ACEOF | ||
5160 | @%:@define STDC_HEADERS 1 | ||
5161 | _ACEOF | ||
5162 | |||
5163 | fi | ||
5164 | |||
5165 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
5166 | |||
5167 | |||
5168 | |||
5169 | |||
5170 | |||
5171 | |||
5172 | |||
5173 | |||
5174 | |||
5175 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
5176 | inttypes.h stdint.h unistd.h | ||
5177 | do | ||
5178 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5179 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5180 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5181 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5182 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5183 | else | ||
5184 | cat >conftest.$ac_ext <<_ACEOF | ||
5185 | #line $LINENO "configure" | ||
5186 | /* confdefs.h. */ | ||
5187 | _ACEOF | ||
5188 | cat confdefs.h >>conftest.$ac_ext | ||
5189 | cat >>conftest.$ac_ext <<_ACEOF | ||
5190 | /* end confdefs.h. */ | ||
5191 | $ac_includes_default | ||
5192 | |||
5193 | @%:@include <$ac_header> | ||
5194 | _ACEOF | ||
5195 | rm -f conftest.$ac_objext | ||
5196 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5197 | (eval $ac_compile) 2>&5 | ||
5198 | ac_status=$? | ||
5199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5200 | (exit $ac_status); } && | ||
5201 | { ac_try='test -s conftest.$ac_objext' | ||
5202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5203 | (eval $ac_try) 2>&5 | ||
5204 | ac_status=$? | ||
5205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5206 | (exit $ac_status); }; }; then | ||
5207 | eval "$as_ac_Header=yes" | ||
5208 | else | ||
5209 | echo "$as_me: failed program was:" >&5 | ||
5210 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5211 | |||
5212 | eval "$as_ac_Header=no" | ||
5213 | fi | ||
5214 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
5215 | fi | ||
5216 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
5217 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
5218 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5219 | cat >>confdefs.h <<_ACEOF | ||
5220 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5221 | _ACEOF | ||
5222 | |||
5223 | fi | ||
5224 | |||
5225 | done | ||
5226 | |||
5227 | |||
5228 | |||
5229 | |||
5230 | |||
5231 | |||
5232 | |||
5233 | |||
5234 | |||
5235 | |||
5236 | |||
5237 | |||
5238 | |||
5239 | |||
5240 | |||
5241 | |||
5242 | |||
5243 | |||
5244 | |||
5245 | |||
5246 | |||
5247 | |||
5248 | |||
5249 | |||
5250 | |||
5251 | |||
5252 | |||
5253 | |||
5254 | |||
5255 | |||
5256 | |||
5257 | |||
5258 | |||
5259 | |||
5260 | |||
5261 | |||
5262 | |||
5263 | |||
5264 | |||
5265 | |||
5266 | |||
5267 | |||
5268 | |||
5269 | |||
5270 | |||
5271 | |||
5272 | |||
5273 | for ac_header in bstring.h crypt.h endian.h floatingpoint.h \ | ||
5274 | getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \ | ||
5275 | login_cap.h maillock.h netdb.h netgroup.h \ | ||
5276 | netinet/in_systm.h paths.h pty.h readpassphrase.h \ | ||
5277 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | ||
5278 | strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ | ||
5279 | sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ | ||
5280 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ | ||
5281 | sys/un.h time.h tmpdir.h ttyent.h usersec.h \ | ||
5282 | util.h utime.h utmp.h utmpx.h | ||
5283 | do | ||
5284 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5285 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5286 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5287 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5288 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5289 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5290 | fi | ||
5291 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
5292 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
5293 | else | ||
5294 | # Is the header compilable? | ||
5295 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
5296 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
5297 | cat >conftest.$ac_ext <<_ACEOF | ||
5298 | #line $LINENO "configure" | ||
5299 | /* confdefs.h. */ | ||
5300 | _ACEOF | ||
5301 | cat confdefs.h >>conftest.$ac_ext | ||
5302 | cat >>conftest.$ac_ext <<_ACEOF | ||
5303 | /* end confdefs.h. */ | ||
5304 | $ac_includes_default | ||
5305 | @%:@include <$ac_header> | ||
5306 | _ACEOF | ||
5307 | rm -f conftest.$ac_objext | ||
5308 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5309 | (eval $ac_compile) 2>&5 | ||
5310 | ac_status=$? | ||
5311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5312 | (exit $ac_status); } && | ||
5313 | { ac_try='test -s conftest.$ac_objext' | ||
5314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5315 | (eval $ac_try) 2>&5 | ||
5316 | ac_status=$? | ||
5317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5318 | (exit $ac_status); }; }; then | ||
5319 | ac_header_compiler=yes | ||
5320 | else | ||
5321 | echo "$as_me: failed program was:" >&5 | ||
5322 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5323 | |||
5324 | ac_header_compiler=no | ||
5325 | fi | ||
5326 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
5327 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
5328 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
5329 | |||
5330 | # Is the header present? | ||
5331 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
5332 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
5333 | cat >conftest.$ac_ext <<_ACEOF | ||
5334 | #line $LINENO "configure" | ||
5335 | /* confdefs.h. */ | ||
5336 | _ACEOF | ||
5337 | cat confdefs.h >>conftest.$ac_ext | ||
5338 | cat >>conftest.$ac_ext <<_ACEOF | ||
5339 | /* end confdefs.h. */ | ||
5340 | @%:@include <$ac_header> | ||
5341 | _ACEOF | ||
5342 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
5343 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
5344 | ac_status=$? | ||
5345 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5346 | rm -f conftest.er1 | ||
5347 | cat conftest.err >&5 | ||
5348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5349 | (exit $ac_status); } >/dev/null; then | ||
5350 | if test -s conftest.err; then | ||
5351 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
5352 | else | ||
5353 | ac_cpp_err= | ||
5354 | fi | ||
5355 | else | ||
5356 | ac_cpp_err=yes | ||
5357 | fi | ||
5358 | if test -z "$ac_cpp_err"; then | ||
5359 | ac_header_preproc=yes | ||
5360 | else | ||
5361 | echo "$as_me: failed program was:" >&5 | ||
5362 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5363 | |||
5364 | ac_header_preproc=no | ||
5365 | fi | ||
5366 | rm -f conftest.err conftest.$ac_ext | ||
5367 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
5368 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
5369 | |||
5370 | # So? What about this header? | ||
5371 | case $ac_header_compiler:$ac_header_preproc in | ||
5372 | yes:no ) | ||
5373 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
5374 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
5375 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
5376 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
5377 | ( | ||
5378 | cat <<\_ASBOX | ||
5379 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
5380 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
5381 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
5382 | _ASBOX | ||
5383 | ) | | ||
5384 | sed "s/^/$as_me: WARNING: /" >&2 | ||
5385 | ;; | ||
5386 | no:yes ) | ||
5387 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
5388 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
5389 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
5390 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
5391 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
5392 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
5393 | ( | ||
5394 | cat <<\_ASBOX | ||
5395 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
5396 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
5397 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
5398 | _ASBOX | ||
5399 | ) | | ||
5400 | sed "s/^/$as_me: WARNING: /" >&2 | ||
5401 | ;; | ||
5402 | esac | ||
5403 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5404 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5405 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5406 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5407 | else | ||
5408 | eval "$as_ac_Header=$ac_header_preproc" | ||
5409 | fi | ||
5410 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
5411 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
5412 | |||
5413 | fi | ||
5414 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5415 | cat >>confdefs.h <<_ACEOF | ||
5416 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5417 | _ACEOF | ||
5418 | |||
5419 | fi | ||
5420 | |||
5421 | done | ||
5422 | |||
5423 | |||
5424 | # Checks for libraries. | ||
5425 | echo "$as_me:$LINENO: checking for yp_match" >&5 | ||
5426 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 | ||
5427 | if test "${ac_cv_func_yp_match+set}" = set; then | ||
5428 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5429 | else | ||
5430 | cat >conftest.$ac_ext <<_ACEOF | ||
5431 | #line $LINENO "configure" | ||
5432 | /* confdefs.h. */ | ||
5433 | _ACEOF | ||
5434 | cat confdefs.h >>conftest.$ac_ext | ||
5435 | cat >>conftest.$ac_ext <<_ACEOF | ||
5436 | /* end confdefs.h. */ | ||
5437 | /* System header to define __stub macros and hopefully few prototypes, | ||
5438 | which can conflict with char yp_match (); below. | ||
5439 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
5440 | <limits.h> exists even on freestanding compilers. */ | ||
5441 | #ifdef __STDC__ | ||
5442 | # include <limits.h> | ||
5443 | #else | ||
5444 | # include <assert.h> | ||
5445 | #endif | ||
5446 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5447 | #ifdef __cplusplus | ||
5448 | extern "C" | ||
5449 | { | ||
5450 | #endif | ||
5451 | /* We use char because int might match the return type of a gcc2 | ||
5452 | builtin and then its argument prototype would still apply. */ | ||
5453 | char yp_match (); | ||
5454 | /* The GNU C library defines this for functions which it implements | ||
5455 | to always fail with ENOSYS. Some functions are actually named | ||
5456 | something starting with __ and the normal name is an alias. */ | ||
5457 | #if defined (__stub_yp_match) || defined (__stub___yp_match) | ||
5458 | choke me | ||
5459 | #else | ||
5460 | char (*f) () = yp_match; | ||
5461 | #endif | ||
5462 | #ifdef __cplusplus | ||
5463 | } | ||
5464 | #endif | ||
5465 | |||
5466 | int | ||
5467 | main () | ||
5468 | { | ||
5469 | return f != yp_match; | ||
5470 | ; | ||
5471 | return 0; | ||
5472 | } | ||
5473 | _ACEOF | ||
5474 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5475 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5476 | (eval $ac_link) 2>&5 | ||
5477 | ac_status=$? | ||
5478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5479 | (exit $ac_status); } && | ||
5480 | { ac_try='test -s conftest$ac_exeext' | ||
5481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5482 | (eval $ac_try) 2>&5 | ||
5483 | ac_status=$? | ||
5484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5485 | (exit $ac_status); }; }; then | ||
5486 | ac_cv_func_yp_match=yes | ||
5487 | else | ||
5488 | echo "$as_me: failed program was:" >&5 | ||
5489 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5490 | |||
5491 | ac_cv_func_yp_match=no | ||
5492 | fi | ||
5493 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5494 | fi | ||
5495 | echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5 | ||
5496 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6 | ||
5497 | if test $ac_cv_func_yp_match = yes; then | ||
5498 | : | ||
5499 | else | ||
5500 | |||
5501 | echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5 | ||
5502 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 | ||
5503 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then | ||
5504 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5505 | else | ||
5506 | ac_check_lib_save_LIBS=$LIBS | ||
5507 | LIBS="-lnsl $LIBS" | ||
5508 | cat >conftest.$ac_ext <<_ACEOF | ||
5509 | #line $LINENO "configure" | ||
5510 | /* confdefs.h. */ | ||
5511 | _ACEOF | ||
5512 | cat confdefs.h >>conftest.$ac_ext | ||
5513 | cat >>conftest.$ac_ext <<_ACEOF | ||
5514 | /* end confdefs.h. */ | ||
5515 | |||
5516 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5517 | #ifdef __cplusplus | ||
5518 | extern "C" | ||
5519 | #endif | ||
5520 | /* We use char because int might match the return type of a gcc2 | ||
5521 | builtin and then its argument prototype would still apply. */ | ||
5522 | char yp_match (); | ||
5523 | int | ||
5524 | main () | ||
5525 | { | ||
5526 | yp_match (); | ||
5527 | ; | ||
5528 | return 0; | ||
5529 | } | ||
5530 | _ACEOF | ||
5531 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5532 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5533 | (eval $ac_link) 2>&5 | ||
5534 | ac_status=$? | ||
5535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5536 | (exit $ac_status); } && | ||
5537 | { ac_try='test -s conftest$ac_exeext' | ||
5538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5539 | (eval $ac_try) 2>&5 | ||
5540 | ac_status=$? | ||
5541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5542 | (exit $ac_status); }; }; then | ||
5543 | ac_cv_lib_nsl_yp_match=yes | ||
5544 | else | ||
5545 | echo "$as_me: failed program was:" >&5 | ||
5546 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5547 | |||
5548 | ac_cv_lib_nsl_yp_match=no | ||
5549 | fi | ||
5550 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5551 | LIBS=$ac_check_lib_save_LIBS | ||
5552 | fi | ||
5553 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5 | ||
5554 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 | ||
5555 | if test $ac_cv_lib_nsl_yp_match = yes; then | ||
5556 | cat >>confdefs.h <<_ACEOF | ||
5557 | @%:@define HAVE_LIBNSL 1 | ||
5558 | _ACEOF | ||
5559 | |||
5560 | LIBS="-lnsl $LIBS" | ||
5561 | |||
5562 | fi | ||
5563 | |||
5564 | fi | ||
5565 | |||
5566 | echo "$as_me:$LINENO: checking for setsockopt" >&5 | ||
5567 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 | ||
5568 | if test "${ac_cv_func_setsockopt+set}" = set; then | ||
5569 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5570 | else | ||
5571 | cat >conftest.$ac_ext <<_ACEOF | ||
5572 | #line $LINENO "configure" | ||
5573 | /* confdefs.h. */ | ||
5574 | _ACEOF | ||
5575 | cat confdefs.h >>conftest.$ac_ext | ||
5576 | cat >>conftest.$ac_ext <<_ACEOF | ||
5577 | /* end confdefs.h. */ | ||
5578 | /* System header to define __stub macros and hopefully few prototypes, | ||
5579 | which can conflict with char setsockopt (); below. | ||
5580 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
5581 | <limits.h> exists even on freestanding compilers. */ | ||
5582 | #ifdef __STDC__ | ||
5583 | # include <limits.h> | ||
5584 | #else | ||
5585 | # include <assert.h> | ||
5586 | #endif | ||
5587 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5588 | #ifdef __cplusplus | ||
5589 | extern "C" | ||
5590 | { | ||
5591 | #endif | ||
5592 | /* We use char because int might match the return type of a gcc2 | ||
5593 | builtin and then its argument prototype would still apply. */ | ||
5594 | char setsockopt (); | ||
5595 | /* The GNU C library defines this for functions which it implements | ||
5596 | to always fail with ENOSYS. Some functions are actually named | ||
5597 | something starting with __ and the normal name is an alias. */ | ||
5598 | #if defined (__stub_setsockopt) || defined (__stub___setsockopt) | ||
5599 | choke me | ||
5600 | #else | ||
5601 | char (*f) () = setsockopt; | ||
5602 | #endif | ||
5603 | #ifdef __cplusplus | ||
5604 | } | ||
5605 | #endif | ||
5606 | |||
5607 | int | ||
5608 | main () | ||
5609 | { | ||
5610 | return f != setsockopt; | ||
5611 | ; | ||
5612 | return 0; | ||
5613 | } | ||
5614 | _ACEOF | ||
5615 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5616 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5617 | (eval $ac_link) 2>&5 | ||
5618 | ac_status=$? | ||
5619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5620 | (exit $ac_status); } && | ||
5621 | { ac_try='test -s conftest$ac_exeext' | ||
5622 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5623 | (eval $ac_try) 2>&5 | ||
5624 | ac_status=$? | ||
5625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5626 | (exit $ac_status); }; }; then | ||
5627 | ac_cv_func_setsockopt=yes | ||
5628 | else | ||
5629 | echo "$as_me: failed program was:" >&5 | ||
5630 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5631 | |||
5632 | ac_cv_func_setsockopt=no | ||
5633 | fi | ||
5634 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5635 | fi | ||
5636 | echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 | ||
5637 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 | ||
5638 | if test $ac_cv_func_setsockopt = yes; then | ||
5639 | : | ||
5640 | else | ||
5641 | |||
5642 | echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 | ||
5643 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 | ||
5644 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then | ||
5645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5646 | else | ||
5647 | ac_check_lib_save_LIBS=$LIBS | ||
5648 | LIBS="-lsocket $LIBS" | ||
5649 | cat >conftest.$ac_ext <<_ACEOF | ||
5650 | #line $LINENO "configure" | ||
5651 | /* confdefs.h. */ | ||
5652 | _ACEOF | ||
5653 | cat confdefs.h >>conftest.$ac_ext | ||
5654 | cat >>conftest.$ac_ext <<_ACEOF | ||
5655 | /* end confdefs.h. */ | ||
5656 | |||
5657 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5658 | #ifdef __cplusplus | ||
5659 | extern "C" | ||
5660 | #endif | ||
5661 | /* We use char because int might match the return type of a gcc2 | ||
5662 | builtin and then its argument prototype would still apply. */ | ||
5663 | char setsockopt (); | ||
5664 | int | ||
5665 | main () | ||
5666 | { | ||
5667 | setsockopt (); | ||
5668 | ; | ||
5669 | return 0; | ||
5670 | } | ||
5671 | _ACEOF | ||
5672 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5673 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5674 | (eval $ac_link) 2>&5 | ||
5675 | ac_status=$? | ||
5676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5677 | (exit $ac_status); } && | ||
5678 | { ac_try='test -s conftest$ac_exeext' | ||
5679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5680 | (eval $ac_try) 2>&5 | ||
5681 | ac_status=$? | ||
5682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5683 | (exit $ac_status); }; }; then | ||
5684 | ac_cv_lib_socket_setsockopt=yes | ||
5685 | else | ||
5686 | echo "$as_me: failed program was:" >&5 | ||
5687 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5688 | |||
5689 | ac_cv_lib_socket_setsockopt=no | ||
5690 | fi | ||
5691 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5692 | LIBS=$ac_check_lib_save_LIBS | ||
5693 | fi | ||
5694 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 | ||
5695 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 | ||
5696 | if test $ac_cv_lib_socket_setsockopt = yes; then | ||
5697 | cat >>confdefs.h <<_ACEOF | ||
5698 | @%:@define HAVE_LIBSOCKET 1 | ||
5699 | _ACEOF | ||
5700 | |||
5701 | LIBS="-lsocket $LIBS" | ||
5702 | |||
5703 | fi | ||
5704 | |||
5705 | fi | ||
5706 | |||
5707 | |||
5708 | if test "x$with_tcp_wrappers" != "xno" ; then | ||
5709 | if test "x$do_sco3_extra_lib_check" = "xyes" ; then | ||
5710 | echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5 | ||
5711 | echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 | ||
5712 | if test "${ac_cv_lib_rpc_innetgr+set}" = set; then | ||
5713 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5714 | else | ||
5715 | ac_check_lib_save_LIBS=$LIBS | ||
5716 | LIBS="-lrpc -lyp -lrpc $LIBS" | ||
5717 | cat >conftest.$ac_ext <<_ACEOF | ||
5718 | #line $LINENO "configure" | ||
5719 | /* confdefs.h. */ | ||
5720 | _ACEOF | ||
5721 | cat confdefs.h >>conftest.$ac_ext | ||
5722 | cat >>conftest.$ac_ext <<_ACEOF | ||
5723 | /* end confdefs.h. */ | ||
5724 | |||
5725 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5726 | #ifdef __cplusplus | ||
5727 | extern "C" | ||
5728 | #endif | ||
5729 | /* We use char because int might match the return type of a gcc2 | ||
5730 | builtin and then its argument prototype would still apply. */ | ||
5731 | char innetgr (); | ||
5732 | int | ||
5733 | main () | ||
5734 | { | ||
5735 | innetgr (); | ||
5736 | ; | ||
5737 | return 0; | ||
5738 | } | ||
5739 | _ACEOF | ||
5740 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5741 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5742 | (eval $ac_link) 2>&5 | ||
5743 | ac_status=$? | ||
5744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5745 | (exit $ac_status); } && | ||
5746 | { ac_try='test -s conftest$ac_exeext' | ||
5747 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5748 | (eval $ac_try) 2>&5 | ||
5749 | ac_status=$? | ||
5750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5751 | (exit $ac_status); }; }; then | ||
5752 | ac_cv_lib_rpc_innetgr=yes | ||
5753 | else | ||
5754 | echo "$as_me: failed program was:" >&5 | ||
5755 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5756 | |||
5757 | ac_cv_lib_rpc_innetgr=no | ||
5758 | fi | ||
5759 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5760 | LIBS=$ac_check_lib_save_LIBS | ||
5761 | fi | ||
5762 | echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5 | ||
5763 | echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 | ||
5764 | if test $ac_cv_lib_rpc_innetgr = yes; then | ||
5765 | LIBS="-lrpc -lyp -lrpc $LIBS" | ||
5766 | fi | ||
5767 | |||
5768 | fi | ||
5769 | fi | ||
5770 | |||
5771 | echo "$as_me:$LINENO: checking for getspnam" >&5 | ||
5772 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 | ||
5773 | if test "${ac_cv_func_getspnam+set}" = set; then | ||
5774 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5775 | else | ||
5776 | cat >conftest.$ac_ext <<_ACEOF | ||
5777 | #line $LINENO "configure" | ||
5778 | /* confdefs.h. */ | ||
5779 | _ACEOF | ||
5780 | cat confdefs.h >>conftest.$ac_ext | ||
5781 | cat >>conftest.$ac_ext <<_ACEOF | ||
5782 | /* end confdefs.h. */ | ||
5783 | /* System header to define __stub macros and hopefully few prototypes, | ||
5784 | which can conflict with char getspnam (); below. | ||
5785 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
5786 | <limits.h> exists even on freestanding compilers. */ | ||
5787 | #ifdef __STDC__ | ||
5788 | # include <limits.h> | ||
5789 | #else | ||
5790 | # include <assert.h> | ||
5791 | #endif | ||
5792 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5793 | #ifdef __cplusplus | ||
5794 | extern "C" | ||
5795 | { | ||
5796 | #endif | ||
5797 | /* We use char because int might match the return type of a gcc2 | ||
5798 | builtin and then its argument prototype would still apply. */ | ||
5799 | char getspnam (); | ||
5800 | /* The GNU C library defines this for functions which it implements | ||
5801 | to always fail with ENOSYS. Some functions are actually named | ||
5802 | something starting with __ and the normal name is an alias. */ | ||
5803 | #if defined (__stub_getspnam) || defined (__stub___getspnam) | ||
5804 | choke me | ||
5805 | #else | ||
5806 | char (*f) () = getspnam; | ||
5807 | #endif | ||
5808 | #ifdef __cplusplus | ||
5809 | } | ||
5810 | #endif | ||
5811 | |||
5812 | int | ||
5813 | main () | ||
5814 | { | ||
5815 | return f != getspnam; | ||
5816 | ; | ||
5817 | return 0; | ||
5818 | } | ||
5819 | _ACEOF | ||
5820 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5821 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5822 | (eval $ac_link) 2>&5 | ||
5823 | ac_status=$? | ||
5824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5825 | (exit $ac_status); } && | ||
5826 | { ac_try='test -s conftest$ac_exeext' | ||
5827 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5828 | (eval $ac_try) 2>&5 | ||
5829 | ac_status=$? | ||
5830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5831 | (exit $ac_status); }; }; then | ||
5832 | ac_cv_func_getspnam=yes | ||
5833 | else | ||
5834 | echo "$as_me: failed program was:" >&5 | ||
5835 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5836 | |||
5837 | ac_cv_func_getspnam=no | ||
5838 | fi | ||
5839 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5840 | fi | ||
5841 | echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 | ||
5842 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6 | ||
5843 | if test $ac_cv_func_getspnam = yes; then | ||
5844 | : | ||
5845 | else | ||
5846 | echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 | ||
5847 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 | ||
5848 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then | ||
5849 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5850 | else | ||
5851 | ac_check_lib_save_LIBS=$LIBS | ||
5852 | LIBS="-lgen $LIBS" | ||
5853 | cat >conftest.$ac_ext <<_ACEOF | ||
5854 | #line $LINENO "configure" | ||
5855 | /* confdefs.h. */ | ||
5856 | _ACEOF | ||
5857 | cat confdefs.h >>conftest.$ac_ext | ||
5858 | cat >>conftest.$ac_ext <<_ACEOF | ||
5859 | /* end confdefs.h. */ | ||
5860 | |||
5861 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5862 | #ifdef __cplusplus | ||
5863 | extern "C" | ||
5864 | #endif | ||
5865 | /* We use char because int might match the return type of a gcc2 | ||
5866 | builtin and then its argument prototype would still apply. */ | ||
5867 | char getspnam (); | ||
5868 | int | ||
5869 | main () | ||
5870 | { | ||
5871 | getspnam (); | ||
5872 | ; | ||
5873 | return 0; | ||
5874 | } | ||
5875 | _ACEOF | ||
5876 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5877 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5878 | (eval $ac_link) 2>&5 | ||
5879 | ac_status=$? | ||
5880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5881 | (exit $ac_status); } && | ||
5882 | { ac_try='test -s conftest$ac_exeext' | ||
5883 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5884 | (eval $ac_try) 2>&5 | ||
5885 | ac_status=$? | ||
5886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5887 | (exit $ac_status); }; }; then | ||
5888 | ac_cv_lib_gen_getspnam=yes | ||
5889 | else | ||
5890 | echo "$as_me: failed program was:" >&5 | ||
5891 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5892 | |||
5893 | ac_cv_lib_gen_getspnam=no | ||
5894 | fi | ||
5895 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5896 | LIBS=$ac_check_lib_save_LIBS | ||
5897 | fi | ||
5898 | echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 | ||
5899 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 | ||
5900 | if test $ac_cv_lib_gen_getspnam = yes; then | ||
5901 | LIBS="$LIBS -lgen" | ||
5902 | fi | ||
5903 | |||
5904 | fi | ||
5905 | |||
5906 | |||
5907 | |||
5908 | # Check whether --with-rpath or --without-rpath was given. | ||
5909 | if test "${with_rpath+set}" = set; then | ||
5910 | withval="$with_rpath" | ||
5911 | |||
5912 | if test "x$withval" = "xno" ; then | ||
5913 | need_dash_r="" | ||
5914 | fi | ||
5915 | if test "x$withval" = "xyes" ; then | ||
5916 | need_dash_r=1 | ||
5917 | fi | ||
5918 | |||
5919 | |||
5920 | fi; | ||
5921 | |||
5922 | |||
5923 | # Check whether --with-zlib or --without-zlib was given. | ||
5924 | if test "${with_zlib+set}" = set; then | ||
5925 | withval="$with_zlib" | ||
5926 | |||
5927 | if test "x$withval" = "xno" ; then | ||
5928 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 | ||
5929 | echo "$as_me: error: *** zlib is required ***" >&2;} | ||
5930 | { (exit 1); exit 1; }; } | ||
5931 | fi | ||
5932 | if test -d "$withval/lib"; then | ||
5933 | if test -n "${need_dash_r}"; then | ||
5934 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | ||
5935 | else | ||
5936 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | ||
5937 | fi | ||
5938 | else | ||
5939 | if test -n "${need_dash_r}"; then | ||
5940 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | ||
5941 | else | ||
5942 | LDFLAGS="-L${withval} ${LDFLAGS}" | ||
5943 | fi | ||
5944 | fi | ||
5945 | if test -d "$withval/include"; then | ||
5946 | CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | ||
5947 | else | ||
5948 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | ||
5949 | fi | ||
5950 | |||
5951 | |||
5952 | fi; | ||
5953 | |||
5954 | |||
5955 | echo "$as_me:$LINENO: checking for deflate in -lz" >&5 | ||
5956 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 | ||
5957 | if test "${ac_cv_lib_z_deflate+set}" = set; then | ||
5958 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5959 | else | ||
5960 | ac_check_lib_save_LIBS=$LIBS | ||
5961 | LIBS="-lz $LIBS" | ||
5962 | cat >conftest.$ac_ext <<_ACEOF | ||
5963 | #line $LINENO "configure" | ||
5964 | /* confdefs.h. */ | ||
5965 | _ACEOF | ||
5966 | cat confdefs.h >>conftest.$ac_ext | ||
5967 | cat >>conftest.$ac_ext <<_ACEOF | ||
5968 | /* end confdefs.h. */ | ||
5969 | |||
5970 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5971 | #ifdef __cplusplus | ||
5972 | extern "C" | ||
5973 | #endif | ||
5974 | /* We use char because int might match the return type of a gcc2 | ||
5975 | builtin and then its argument prototype would still apply. */ | ||
5976 | char deflate (); | ||
5977 | int | ||
5978 | main () | ||
5979 | { | ||
5980 | deflate (); | ||
5981 | ; | ||
5982 | return 0; | ||
5983 | } | ||
5984 | _ACEOF | ||
5985 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5986 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5987 | (eval $ac_link) 2>&5 | ||
5988 | ac_status=$? | ||
5989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5990 | (exit $ac_status); } && | ||
5991 | { ac_try='test -s conftest$ac_exeext' | ||
5992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5993 | (eval $ac_try) 2>&5 | ||
5994 | ac_status=$? | ||
5995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5996 | (exit $ac_status); }; }; then | ||
5997 | ac_cv_lib_z_deflate=yes | ||
5998 | else | ||
5999 | echo "$as_me: failed program was:" >&5 | ||
6000 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6001 | |||
6002 | ac_cv_lib_z_deflate=no | ||
6003 | fi | ||
6004 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6005 | LIBS=$ac_check_lib_save_LIBS | ||
6006 | fi | ||
6007 | echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 | ||
6008 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 | ||
6009 | if test $ac_cv_lib_z_deflate = yes; then | ||
6010 | cat >>confdefs.h <<_ACEOF | ||
6011 | @%:@define HAVE_LIBZ 1 | ||
6012 | _ACEOF | ||
6013 | |||
6014 | LIBS="-lz $LIBS" | ||
6015 | |||
6016 | else | ||
6017 | { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 | ||
6018 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} | ||
6019 | { (exit 1); exit 1; }; } | ||
6020 | fi | ||
6021 | |||
6022 | |||
6023 | echo "$as_me:$LINENO: checking for strcasecmp" >&5 | ||
6024 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 | ||
6025 | if test "${ac_cv_func_strcasecmp+set}" = set; then | ||
6026 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6027 | else | ||
6028 | cat >conftest.$ac_ext <<_ACEOF | ||
6029 | #line $LINENO "configure" | ||
6030 | /* confdefs.h. */ | ||
6031 | _ACEOF | ||
6032 | cat confdefs.h >>conftest.$ac_ext | ||
6033 | cat >>conftest.$ac_ext <<_ACEOF | ||
6034 | /* end confdefs.h. */ | ||
6035 | /* System header to define __stub macros and hopefully few prototypes, | ||
6036 | which can conflict with char strcasecmp (); below. | ||
6037 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
6038 | <limits.h> exists even on freestanding compilers. */ | ||
6039 | #ifdef __STDC__ | ||
6040 | # include <limits.h> | ||
6041 | #else | ||
6042 | # include <assert.h> | ||
6043 | #endif | ||
6044 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6045 | #ifdef __cplusplus | ||
6046 | extern "C" | ||
6047 | { | ||
6048 | #endif | ||
6049 | /* We use char because int might match the return type of a gcc2 | ||
6050 | builtin and then its argument prototype would still apply. */ | ||
6051 | char strcasecmp (); | ||
6052 | /* The GNU C library defines this for functions which it implements | ||
6053 | to always fail with ENOSYS. Some functions are actually named | ||
6054 | something starting with __ and the normal name is an alias. */ | ||
6055 | #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) | ||
6056 | choke me | ||
6057 | #else | ||
6058 | char (*f) () = strcasecmp; | ||
6059 | #endif | ||
6060 | #ifdef __cplusplus | ||
6061 | } | ||
6062 | #endif | ||
6063 | |||
6064 | int | ||
6065 | main () | ||
6066 | { | ||
6067 | return f != strcasecmp; | ||
6068 | ; | ||
6069 | return 0; | ||
6070 | } | ||
6071 | _ACEOF | ||
6072 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6073 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6074 | (eval $ac_link) 2>&5 | ||
6075 | ac_status=$? | ||
6076 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6077 | (exit $ac_status); } && | ||
6078 | { ac_try='test -s conftest$ac_exeext' | ||
6079 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6080 | (eval $ac_try) 2>&5 | ||
6081 | ac_status=$? | ||
6082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6083 | (exit $ac_status); }; }; then | ||
6084 | ac_cv_func_strcasecmp=yes | ||
6085 | else | ||
6086 | echo "$as_me: failed program was:" >&5 | ||
6087 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6088 | |||
6089 | ac_cv_func_strcasecmp=no | ||
6090 | fi | ||
6091 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6092 | fi | ||
6093 | echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 | ||
6094 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 | ||
6095 | if test $ac_cv_func_strcasecmp = yes; then | ||
6096 | : | ||
6097 | else | ||
6098 | echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 | ||
6099 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 | ||
6100 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then | ||
6101 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6102 | else | ||
6103 | ac_check_lib_save_LIBS=$LIBS | ||
6104 | LIBS="-lresolv $LIBS" | ||
6105 | cat >conftest.$ac_ext <<_ACEOF | ||
6106 | #line $LINENO "configure" | ||
6107 | /* confdefs.h. */ | ||
6108 | _ACEOF | ||
6109 | cat confdefs.h >>conftest.$ac_ext | ||
6110 | cat >>conftest.$ac_ext <<_ACEOF | ||
6111 | /* end confdefs.h. */ | ||
6112 | |||
6113 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6114 | #ifdef __cplusplus | ||
6115 | extern "C" | ||
6116 | #endif | ||
6117 | /* We use char because int might match the return type of a gcc2 | ||
6118 | builtin and then its argument prototype would still apply. */ | ||
6119 | char strcasecmp (); | ||
6120 | int | ||
6121 | main () | ||
6122 | { | ||
6123 | strcasecmp (); | ||
6124 | ; | ||
6125 | return 0; | ||
6126 | } | ||
6127 | _ACEOF | ||
6128 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6129 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6130 | (eval $ac_link) 2>&5 | ||
6131 | ac_status=$? | ||
6132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6133 | (exit $ac_status); } && | ||
6134 | { ac_try='test -s conftest$ac_exeext' | ||
6135 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6136 | (eval $ac_try) 2>&5 | ||
6137 | ac_status=$? | ||
6138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6139 | (exit $ac_status); }; }; then | ||
6140 | ac_cv_lib_resolv_strcasecmp=yes | ||
6141 | else | ||
6142 | echo "$as_me: failed program was:" >&5 | ||
6143 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6144 | |||
6145 | ac_cv_lib_resolv_strcasecmp=no | ||
6146 | fi | ||
6147 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6148 | LIBS=$ac_check_lib_save_LIBS | ||
6149 | fi | ||
6150 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 | ||
6151 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 | ||
6152 | if test $ac_cv_lib_resolv_strcasecmp = yes; then | ||
6153 | LIBS="$LIBS -lresolv" | ||
6154 | fi | ||
6155 | |||
6156 | |||
6157 | fi | ||
6158 | |||
6159 | echo "$as_me:$LINENO: checking for utimes" >&5 | ||
6160 | echo $ECHO_N "checking for utimes... $ECHO_C" >&6 | ||
6161 | if test "${ac_cv_func_utimes+set}" = set; then | ||
6162 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6163 | else | ||
6164 | cat >conftest.$ac_ext <<_ACEOF | ||
6165 | #line $LINENO "configure" | ||
6166 | /* confdefs.h. */ | ||
6167 | _ACEOF | ||
6168 | cat confdefs.h >>conftest.$ac_ext | ||
6169 | cat >>conftest.$ac_ext <<_ACEOF | ||
6170 | /* end confdefs.h. */ | ||
6171 | /* System header to define __stub macros and hopefully few prototypes, | ||
6172 | which can conflict with char utimes (); below. | ||
6173 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
6174 | <limits.h> exists even on freestanding compilers. */ | ||
6175 | #ifdef __STDC__ | ||
6176 | # include <limits.h> | ||
6177 | #else | ||
6178 | # include <assert.h> | ||
6179 | #endif | ||
6180 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6181 | #ifdef __cplusplus | ||
6182 | extern "C" | ||
6183 | { | ||
6184 | #endif | ||
6185 | /* We use char because int might match the return type of a gcc2 | ||
6186 | builtin and then its argument prototype would still apply. */ | ||
6187 | char utimes (); | ||
6188 | /* The GNU C library defines this for functions which it implements | ||
6189 | to always fail with ENOSYS. Some functions are actually named | ||
6190 | something starting with __ and the normal name is an alias. */ | ||
6191 | #if defined (__stub_utimes) || defined (__stub___utimes) | ||
6192 | choke me | ||
6193 | #else | ||
6194 | char (*f) () = utimes; | ||
6195 | #endif | ||
6196 | #ifdef __cplusplus | ||
6197 | } | ||
6198 | #endif | ||
6199 | |||
6200 | int | ||
6201 | main () | ||
6202 | { | ||
6203 | return f != utimes; | ||
6204 | ; | ||
6205 | return 0; | ||
6206 | } | ||
6207 | _ACEOF | ||
6208 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6209 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6210 | (eval $ac_link) 2>&5 | ||
6211 | ac_status=$? | ||
6212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6213 | (exit $ac_status); } && | ||
6214 | { ac_try='test -s conftest$ac_exeext' | ||
6215 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6216 | (eval $ac_try) 2>&5 | ||
6217 | ac_status=$? | ||
6218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6219 | (exit $ac_status); }; }; then | ||
6220 | ac_cv_func_utimes=yes | ||
6221 | else | ||
6222 | echo "$as_me: failed program was:" >&5 | ||
6223 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6224 | |||
6225 | ac_cv_func_utimes=no | ||
6226 | fi | ||
6227 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6228 | fi | ||
6229 | echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5 | ||
6230 | echo "${ECHO_T}$ac_cv_func_utimes" >&6 | ||
6231 | if test $ac_cv_func_utimes = yes; then | ||
6232 | : | ||
6233 | else | ||
6234 | echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 | ||
6235 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 | ||
6236 | if test "${ac_cv_lib_c89_utimes+set}" = set; then | ||
6237 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6238 | else | ||
6239 | ac_check_lib_save_LIBS=$LIBS | ||
6240 | LIBS="-lc89 $LIBS" | ||
6241 | cat >conftest.$ac_ext <<_ACEOF | ||
6242 | #line $LINENO "configure" | ||
6243 | /* confdefs.h. */ | ||
6244 | _ACEOF | ||
6245 | cat confdefs.h >>conftest.$ac_ext | ||
6246 | cat >>conftest.$ac_ext <<_ACEOF | ||
6247 | /* end confdefs.h. */ | ||
6248 | |||
6249 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6250 | #ifdef __cplusplus | ||
6251 | extern "C" | ||
6252 | #endif | ||
6253 | /* We use char because int might match the return type of a gcc2 | ||
6254 | builtin and then its argument prototype would still apply. */ | ||
6255 | char utimes (); | ||
6256 | int | ||
6257 | main () | ||
6258 | { | ||
6259 | utimes (); | ||
6260 | ; | ||
6261 | return 0; | ||
6262 | } | ||
6263 | _ACEOF | ||
6264 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6265 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6266 | (eval $ac_link) 2>&5 | ||
6267 | ac_status=$? | ||
6268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6269 | (exit $ac_status); } && | ||
6270 | { ac_try='test -s conftest$ac_exeext' | ||
6271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6272 | (eval $ac_try) 2>&5 | ||
6273 | ac_status=$? | ||
6274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6275 | (exit $ac_status); }; }; then | ||
6276 | ac_cv_lib_c89_utimes=yes | ||
6277 | else | ||
6278 | echo "$as_me: failed program was:" >&5 | ||
6279 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6280 | |||
6281 | ac_cv_lib_c89_utimes=no | ||
6282 | fi | ||
6283 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6284 | LIBS=$ac_check_lib_save_LIBS | ||
6285 | fi | ||
6286 | echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 | ||
6287 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 | ||
6288 | if test $ac_cv_lib_c89_utimes = yes; then | ||
6289 | cat >>confdefs.h <<\_ACEOF | ||
6290 | @%:@define HAVE_UTIMES 1 | ||
6291 | _ACEOF | ||
6292 | |||
6293 | LIBS="$LIBS -lc89" | ||
6294 | fi | ||
6295 | |||
6296 | |||
6297 | fi | ||
6298 | |||
6299 | |||
6300 | |||
6301 | for ac_header in libutil.h | ||
6302 | do | ||
6303 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
6304 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6305 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6306 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
6307 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6308 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6309 | fi | ||
6310 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6311 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6312 | else | ||
6313 | # Is the header compilable? | ||
6314 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
6315 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
6316 | cat >conftest.$ac_ext <<_ACEOF | ||
6317 | #line $LINENO "configure" | ||
6318 | /* confdefs.h. */ | ||
6319 | _ACEOF | ||
6320 | cat confdefs.h >>conftest.$ac_ext | ||
6321 | cat >>conftest.$ac_ext <<_ACEOF | ||
6322 | /* end confdefs.h. */ | ||
6323 | $ac_includes_default | ||
6324 | @%:@include <$ac_header> | ||
6325 | _ACEOF | ||
6326 | rm -f conftest.$ac_objext | ||
6327 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
6328 | (eval $ac_compile) 2>&5 | ||
6329 | ac_status=$? | ||
6330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6331 | (exit $ac_status); } && | ||
6332 | { ac_try='test -s conftest.$ac_objext' | ||
6333 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6334 | (eval $ac_try) 2>&5 | ||
6335 | ac_status=$? | ||
6336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6337 | (exit $ac_status); }; }; then | ||
6338 | ac_header_compiler=yes | ||
6339 | else | ||
6340 | echo "$as_me: failed program was:" >&5 | ||
6341 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6342 | |||
6343 | ac_header_compiler=no | ||
6344 | fi | ||
6345 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
6346 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
6347 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
6348 | |||
6349 | # Is the header present? | ||
6350 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
6351 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
6352 | cat >conftest.$ac_ext <<_ACEOF | ||
6353 | #line $LINENO "configure" | ||
6354 | /* confdefs.h. */ | ||
6355 | _ACEOF | ||
6356 | cat confdefs.h >>conftest.$ac_ext | ||
6357 | cat >>conftest.$ac_ext <<_ACEOF | ||
6358 | /* end confdefs.h. */ | ||
6359 | @%:@include <$ac_header> | ||
6360 | _ACEOF | ||
6361 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
6362 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
6363 | ac_status=$? | ||
6364 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6365 | rm -f conftest.er1 | ||
6366 | cat conftest.err >&5 | ||
6367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6368 | (exit $ac_status); } >/dev/null; then | ||
6369 | if test -s conftest.err; then | ||
6370 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
6371 | else | ||
6372 | ac_cpp_err= | ||
6373 | fi | ||
6374 | else | ||
6375 | ac_cpp_err=yes | ||
6376 | fi | ||
6377 | if test -z "$ac_cpp_err"; then | ||
6378 | ac_header_preproc=yes | ||
6379 | else | ||
6380 | echo "$as_me: failed program was:" >&5 | ||
6381 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6382 | |||
6383 | ac_header_preproc=no | ||
6384 | fi | ||
6385 | rm -f conftest.err conftest.$ac_ext | ||
6386 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
6387 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
6388 | |||
6389 | # So? What about this header? | ||
6390 | case $ac_header_compiler:$ac_header_preproc in | ||
6391 | yes:no ) | ||
6392 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
6393 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
6394 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
6395 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
6396 | ( | ||
6397 | cat <<\_ASBOX | ||
6398 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
6399 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
6400 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
6401 | _ASBOX | ||
6402 | ) | | ||
6403 | sed "s/^/$as_me: WARNING: /" >&2 | ||
6404 | ;; | ||
6405 | no:yes ) | ||
6406 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
6407 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
6408 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
6409 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
6410 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
6411 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
6412 | ( | ||
6413 | cat <<\_ASBOX | ||
6414 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
6415 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
6416 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
6417 | _ASBOX | ||
6418 | ) | | ||
6419 | sed "s/^/$as_me: WARNING: /" >&2 | ||
6420 | ;; | ||
6421 | esac | ||
6422 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6423 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
6424 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6425 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6426 | else | ||
6427 | eval "$as_ac_Header=$ac_header_preproc" | ||
6428 | fi | ||
6429 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6430 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6431 | |||
6432 | fi | ||
6433 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6434 | cat >>confdefs.h <<_ACEOF | ||
6435 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
6436 | _ACEOF | ||
6437 | |||
6438 | fi | ||
6439 | |||
6440 | done | ||
6441 | |||
6442 | echo "$as_me:$LINENO: checking for library containing login" >&5 | ||
6443 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 | ||
6444 | if test "${ac_cv_search_login+set}" = set; then | ||
6445 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6446 | else | ||
6447 | ac_func_search_save_LIBS=$LIBS | ||
6448 | ac_cv_search_login=no | ||
6449 | cat >conftest.$ac_ext <<_ACEOF | ||
6450 | #line $LINENO "configure" | ||
6451 | /* confdefs.h. */ | ||
6452 | _ACEOF | ||
6453 | cat confdefs.h >>conftest.$ac_ext | ||
6454 | cat >>conftest.$ac_ext <<_ACEOF | ||
6455 | /* end confdefs.h. */ | ||
6456 | |||
6457 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6458 | #ifdef __cplusplus | ||
6459 | extern "C" | ||
6460 | #endif | ||
6461 | /* We use char because int might match the return type of a gcc2 | ||
6462 | builtin and then its argument prototype would still apply. */ | ||
6463 | char login (); | ||
6464 | int | ||
6465 | main () | ||
6466 | { | ||
6467 | login (); | ||
6468 | ; | ||
6469 | return 0; | ||
6470 | } | ||
6471 | _ACEOF | ||
6472 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6473 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6474 | (eval $ac_link) 2>&5 | ||
6475 | ac_status=$? | ||
6476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6477 | (exit $ac_status); } && | ||
6478 | { ac_try='test -s conftest$ac_exeext' | ||
6479 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6480 | (eval $ac_try) 2>&5 | ||
6481 | ac_status=$? | ||
6482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6483 | (exit $ac_status); }; }; then | ||
6484 | ac_cv_search_login="none required" | ||
6485 | else | ||
6486 | echo "$as_me: failed program was:" >&5 | ||
6487 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6488 | |||
6489 | fi | ||
6490 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6491 | if test "$ac_cv_search_login" = no; then | ||
6492 | for ac_lib in util bsd; do | ||
6493 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
6494 | cat >conftest.$ac_ext <<_ACEOF | ||
6495 | #line $LINENO "configure" | ||
6496 | /* confdefs.h. */ | ||
6497 | _ACEOF | ||
6498 | cat confdefs.h >>conftest.$ac_ext | ||
6499 | cat >>conftest.$ac_ext <<_ACEOF | ||
6500 | /* end confdefs.h. */ | ||
6501 | |||
6502 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6503 | #ifdef __cplusplus | ||
6504 | extern "C" | ||
6505 | #endif | ||
6506 | /* We use char because int might match the return type of a gcc2 | ||
6507 | builtin and then its argument prototype would still apply. */ | ||
6508 | char login (); | ||
6509 | int | ||
6510 | main () | ||
6511 | { | ||
6512 | login (); | ||
6513 | ; | ||
6514 | return 0; | ||
6515 | } | ||
6516 | _ACEOF | ||
6517 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6518 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6519 | (eval $ac_link) 2>&5 | ||
6520 | ac_status=$? | ||
6521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6522 | (exit $ac_status); } && | ||
6523 | { ac_try='test -s conftest$ac_exeext' | ||
6524 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6525 | (eval $ac_try) 2>&5 | ||
6526 | ac_status=$? | ||
6527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6528 | (exit $ac_status); }; }; then | ||
6529 | ac_cv_search_login="-l$ac_lib" | ||
6530 | break | ||
6531 | else | ||
6532 | echo "$as_me: failed program was:" >&5 | ||
6533 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6534 | |||
6535 | fi | ||
6536 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6537 | done | ||
6538 | fi | ||
6539 | LIBS=$ac_func_search_save_LIBS | ||
6540 | fi | ||
6541 | echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 | ||
6542 | echo "${ECHO_T}$ac_cv_search_login" >&6 | ||
6543 | if test "$ac_cv_search_login" != no; then | ||
6544 | test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" | ||
6545 | cat >>confdefs.h <<\_ACEOF | ||
6546 | @%:@define HAVE_LOGIN 1 | ||
6547 | _ACEOF | ||
6548 | |||
6549 | fi | ||
6550 | |||
6551 | |||
6552 | |||
6553 | |||
6554 | for ac_func in logout updwtmp logwtmp | ||
6555 | do | ||
6556 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
6557 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
6558 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
6559 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
6560 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6561 | else | ||
6562 | cat >conftest.$ac_ext <<_ACEOF | ||
6563 | #line $LINENO "configure" | ||
6564 | /* confdefs.h. */ | ||
6565 | _ACEOF | ||
6566 | cat confdefs.h >>conftest.$ac_ext | ||
6567 | cat >>conftest.$ac_ext <<_ACEOF | ||
6568 | /* end confdefs.h. */ | ||
6569 | /* System header to define __stub macros and hopefully few prototypes, | ||
6570 | which can conflict with char $ac_func (); below. | ||
6571 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
6572 | <limits.h> exists even on freestanding compilers. */ | ||
6573 | #ifdef __STDC__ | ||
6574 | # include <limits.h> | ||
6575 | #else | ||
6576 | # include <assert.h> | ||
6577 | #endif | ||
6578 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6579 | #ifdef __cplusplus | ||
6580 | extern "C" | ||
6581 | { | ||
6582 | #endif | ||
6583 | /* We use char because int might match the return type of a gcc2 | ||
6584 | builtin and then its argument prototype would still apply. */ | ||
6585 | char $ac_func (); | ||
6586 | /* The GNU C library defines this for functions which it implements | ||
6587 | to always fail with ENOSYS. Some functions are actually named | ||
6588 | something starting with __ and the normal name is an alias. */ | ||
6589 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
6590 | choke me | ||
6591 | #else | ||
6592 | char (*f) () = $ac_func; | ||
6593 | #endif | ||
6594 | #ifdef __cplusplus | ||
6595 | } | ||
6596 | #endif | ||
6597 | |||
6598 | int | ||
6599 | main () | ||
6600 | { | ||
6601 | return f != $ac_func; | ||
6602 | ; | ||
6603 | return 0; | ||
6604 | } | ||
6605 | _ACEOF | ||
6606 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6607 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6608 | (eval $ac_link) 2>&5 | ||
6609 | ac_status=$? | ||
6610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6611 | (exit $ac_status); } && | ||
6612 | { ac_try='test -s conftest$ac_exeext' | ||
6613 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6614 | (eval $ac_try) 2>&5 | ||
6615 | ac_status=$? | ||
6616 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6617 | (exit $ac_status); }; }; then | ||
6618 | eval "$as_ac_var=yes" | ||
6619 | else | ||
6620 | echo "$as_me: failed program was:" >&5 | ||
6621 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6622 | |||
6623 | eval "$as_ac_var=no" | ||
6624 | fi | ||
6625 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6626 | fi | ||
6627 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
6628 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
6629 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
6630 | cat >>confdefs.h <<_ACEOF | ||
6631 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
6632 | _ACEOF | ||
6633 | |||
6634 | fi | ||
6635 | done | ||
6636 | |||
6637 | |||
6638 | |||
6639 | for ac_func in strftime | ||
6640 | do | ||
6641 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
6642 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
6643 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
6644 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
6645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6646 | else | ||
6647 | cat >conftest.$ac_ext <<_ACEOF | ||
6648 | #line $LINENO "configure" | ||
6649 | /* confdefs.h. */ | ||
6650 | _ACEOF | ||
6651 | cat confdefs.h >>conftest.$ac_ext | ||
6652 | cat >>conftest.$ac_ext <<_ACEOF | ||
6653 | /* end confdefs.h. */ | ||
6654 | /* System header to define __stub macros and hopefully few prototypes, | ||
6655 | which can conflict with char $ac_func (); below. | ||
6656 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
6657 | <limits.h> exists even on freestanding compilers. */ | ||
6658 | #ifdef __STDC__ | ||
6659 | # include <limits.h> | ||
6660 | #else | ||
6661 | # include <assert.h> | ||
6662 | #endif | ||
6663 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6664 | #ifdef __cplusplus | ||
6665 | extern "C" | ||
6666 | { | ||
6667 | #endif | ||
6668 | /* We use char because int might match the return type of a gcc2 | ||
6669 | builtin and then its argument prototype would still apply. */ | ||
6670 | char $ac_func (); | ||
6671 | /* The GNU C library defines this for functions which it implements | ||
6672 | to always fail with ENOSYS. Some functions are actually named | ||
6673 | something starting with __ and the normal name is an alias. */ | ||
6674 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
6675 | choke me | ||
6676 | #else | ||
6677 | char (*f) () = $ac_func; | ||
6678 | #endif | ||
6679 | #ifdef __cplusplus | ||
6680 | } | ||
6681 | #endif | ||
6682 | |||
6683 | int | ||
6684 | main () | ||
6685 | { | ||
6686 | return f != $ac_func; | ||
6687 | ; | ||
6688 | return 0; | ||
6689 | } | ||
6690 | _ACEOF | ||
6691 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6692 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6693 | (eval $ac_link) 2>&5 | ||
6694 | ac_status=$? | ||
6695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6696 | (exit $ac_status); } && | ||
6697 | { ac_try='test -s conftest$ac_exeext' | ||
6698 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6699 | (eval $ac_try) 2>&5 | ||
6700 | ac_status=$? | ||
6701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6702 | (exit $ac_status); }; }; then | ||
6703 | eval "$as_ac_var=yes" | ||
6704 | else | ||
6705 | echo "$as_me: failed program was:" >&5 | ||
6706 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6707 | |||
6708 | eval "$as_ac_var=no" | ||
6709 | fi | ||
6710 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6711 | fi | ||
6712 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
6713 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
6714 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
6715 | cat >>confdefs.h <<_ACEOF | ||
6716 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
6717 | _ACEOF | ||
6718 | |||
6719 | else | ||
6720 | # strftime is in -lintl on SCO UNIX. | ||
6721 | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | ||
6722 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | ||
6723 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | ||
6724 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6725 | else | ||
6726 | ac_check_lib_save_LIBS=$LIBS | ||
6727 | LIBS="-lintl $LIBS" | ||
6728 | cat >conftest.$ac_ext <<_ACEOF | ||
6729 | #line $LINENO "configure" | ||
6730 | /* confdefs.h. */ | ||
6731 | _ACEOF | ||
6732 | cat confdefs.h >>conftest.$ac_ext | ||
6733 | cat >>conftest.$ac_ext <<_ACEOF | ||
6734 | /* end confdefs.h. */ | ||
6735 | |||
6736 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
6737 | #ifdef __cplusplus | ||
6738 | extern "C" | ||
6739 | #endif | ||
6740 | /* We use char because int might match the return type of a gcc2 | ||
6741 | builtin and then its argument prototype would still apply. */ | ||
6742 | char strftime (); | ||
6743 | int | ||
6744 | main () | ||
6745 | { | ||
6746 | strftime (); | ||
6747 | ; | ||
6748 | return 0; | ||
6749 | } | ||
6750 | _ACEOF | ||
6751 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
6752 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6753 | (eval $ac_link) 2>&5 | ||
6754 | ac_status=$? | ||
6755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6756 | (exit $ac_status); } && | ||
6757 | { ac_try='test -s conftest$ac_exeext' | ||
6758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6759 | (eval $ac_try) 2>&5 | ||
6760 | ac_status=$? | ||
6761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6762 | (exit $ac_status); }; }; then | ||
6763 | ac_cv_lib_intl_strftime=yes | ||
6764 | else | ||
6765 | echo "$as_me: failed program was:" >&5 | ||
6766 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6767 | |||
6768 | ac_cv_lib_intl_strftime=no | ||
6769 | fi | ||
6770 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
6771 | LIBS=$ac_check_lib_save_LIBS | ||
6772 | fi | ||
6773 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | ||
6774 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | ||
6775 | if test $ac_cv_lib_intl_strftime = yes; then | ||
6776 | cat >>confdefs.h <<\_ACEOF | ||
6777 | @%:@define HAVE_STRFTIME 1 | ||
6778 | _ACEOF | ||
6779 | |||
6780 | LIBS="-lintl $LIBS" | ||
6781 | fi | ||
6782 | |||
6783 | fi | ||
6784 | done | ||
6785 | |||
6786 | |||
6787 | # Check for ALTDIRFUNC glob() extension | ||
6788 | echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 | ||
6789 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 | ||
6790 | cat >conftest.$ac_ext <<_ACEOF | ||
6791 | #line $LINENO "configure" | ||
6792 | /* confdefs.h. */ | ||
6793 | _ACEOF | ||
6794 | cat confdefs.h >>conftest.$ac_ext | ||
6795 | cat >>conftest.$ac_ext <<_ACEOF | ||
6796 | /* end confdefs.h. */ | ||
6797 | |||
6798 | #include <glob.h> | ||
6799 | #ifdef GLOB_ALTDIRFUNC | ||
6800 | FOUNDIT | ||
6801 | #endif | ||
6802 | |||
6803 | _ACEOF | ||
6804 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
6805 | $EGREP "FOUNDIT" >/dev/null 2>&1; then | ||
6806 | |||
6807 | cat >>confdefs.h <<\_ACEOF | ||
6808 | @%:@define GLOB_HAS_ALTDIRFUNC 1 | ||
6809 | _ACEOF | ||
6810 | |||
6811 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6812 | echo "${ECHO_T}yes" >&6 | ||
6813 | |||
6814 | else | ||
6815 | |||
6816 | echo "$as_me:$LINENO: result: no" >&5 | ||
6817 | echo "${ECHO_T}no" >&6 | ||
6818 | |||
6819 | |||
6820 | fi | ||
6821 | rm -f conftest* | ||
6822 | |||
6823 | |||
6824 | # Check for g.gl_matchc glob() extension | ||
6825 | echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 | ||
6826 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 | ||
6827 | cat >conftest.$ac_ext <<_ACEOF | ||
6828 | #line $LINENO "configure" | ||
6829 | /* confdefs.h. */ | ||
6830 | _ACEOF | ||
6831 | cat confdefs.h >>conftest.$ac_ext | ||
6832 | cat >>conftest.$ac_ext <<_ACEOF | ||
6833 | /* end confdefs.h. */ | ||
6834 | |||
6835 | #include <glob.h> | ||
6836 | int main(void){glob_t g; g.gl_matchc = 1;} | ||
6837 | |||
6838 | _ACEOF | ||
6839 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
6840 | $EGREP "FOUNDIT" >/dev/null 2>&1; then | ||
6841 | |||
6842 | cat >>confdefs.h <<\_ACEOF | ||
6843 | @%:@define GLOB_HAS_GL_MATCHC 1 | ||
6844 | _ACEOF | ||
6845 | |||
6846 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6847 | echo "${ECHO_T}yes" >&6 | ||
6848 | |||
6849 | else | ||
6850 | |||
6851 | echo "$as_me:$LINENO: result: no" >&5 | ||
6852 | echo "${ECHO_T}no" >&6 | ||
6853 | |||
6854 | |||
6855 | fi | ||
6856 | rm -f conftest* | ||
6857 | |||
6858 | |||
6859 | echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 | ||
6860 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 | ||
6861 | if test "$cross_compiling" = yes; then | ||
6862 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
6863 | See \`config.log' for more details." >&5 | ||
6864 | echo "$as_me: error: cannot run test program while cross compiling | ||
6865 | See \`config.log' for more details." >&2;} | ||
6866 | { (exit 1); exit 1; }; } | ||
6867 | else | ||
6868 | cat >conftest.$ac_ext <<_ACEOF | ||
6869 | #line $LINENO "configure" | ||
6870 | /* confdefs.h. */ | ||
6871 | _ACEOF | ||
6872 | cat confdefs.h >>conftest.$ac_ext | ||
6873 | cat >>conftest.$ac_ext <<_ACEOF | ||
6874 | /* end confdefs.h. */ | ||
6875 | |||
6876 | #include <sys/types.h> | ||
6877 | #include <dirent.h> | ||
6878 | int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));} | ||
6879 | |||
6880 | _ACEOF | ||
6881 | rm -f conftest$ac_exeext | ||
6882 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6883 | (eval $ac_link) 2>&5 | ||
6884 | ac_status=$? | ||
6885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6886 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
6887 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6888 | (eval $ac_try) 2>&5 | ||
6889 | ac_status=$? | ||
6890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6891 | (exit $ac_status); }; }; then | ||
6892 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6893 | echo "${ECHO_T}yes" >&6 | ||
6894 | else | ||
6895 | echo "$as_me: program exited with status $ac_status" >&5 | ||
6896 | echo "$as_me: failed program was:" >&5 | ||
6897 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6898 | |||
6899 | ( exit $ac_status ) | ||
6900 | |||
6901 | echo "$as_me:$LINENO: result: no" >&5 | ||
6902 | echo "${ECHO_T}no" >&6 | ||
6903 | cat >>confdefs.h <<\_ACEOF | ||
6904 | @%:@define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | ||
6905 | _ACEOF | ||
6906 | |||
6907 | |||
6908 | |||
6909 | fi | ||
6910 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
6911 | fi | ||
6912 | |||
6913 | # Check whether user wants S/Key support | ||
6914 | SKEY_MSG="no" | ||
6915 | |||
6916 | # Check whether --with-skey or --without-skey was given. | ||
6917 | if test "${with_skey+set}" = set; then | ||
6918 | withval="$with_skey" | ||
6919 | |||
6920 | if test "x$withval" != "xno" ; then | ||
6921 | |||
6922 | if test "x$withval" != "xyes" ; then | ||
6923 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | ||
6924 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
6925 | fi | ||
6926 | |||
6927 | cat >>confdefs.h <<\_ACEOF | ||
6928 | @%:@define SKEY 1 | ||
6929 | _ACEOF | ||
6930 | |||
6931 | LIBS="-lskey $LIBS" | ||
6932 | SKEY_MSG="yes" | ||
6933 | |||
6934 | echo "$as_me:$LINENO: checking for s/key support" >&5 | ||
6935 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 | ||
6936 | if test "$cross_compiling" = yes; then | ||
6937 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
6938 | See \`config.log' for more details." >&5 | ||
6939 | echo "$as_me: error: cannot run test program while cross compiling | ||
6940 | See \`config.log' for more details." >&2;} | ||
6941 | { (exit 1); exit 1; }; } | ||
6942 | else | ||
6943 | cat >conftest.$ac_ext <<_ACEOF | ||
6944 | #line $LINENO "configure" | ||
6945 | /* confdefs.h. */ | ||
6946 | _ACEOF | ||
6947 | cat confdefs.h >>conftest.$ac_ext | ||
6948 | cat >>conftest.$ac_ext <<_ACEOF | ||
6949 | /* end confdefs.h. */ | ||
6950 | |||
6951 | #include <stdio.h> | ||
6952 | #include <skey.h> | ||
6953 | int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } | ||
6954 | |||
6955 | _ACEOF | ||
6956 | rm -f conftest$ac_exeext | ||
6957 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6958 | (eval $ac_link) 2>&5 | ||
6959 | ac_status=$? | ||
6960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6961 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
6962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
6963 | (eval $ac_try) 2>&5 | ||
6964 | ac_status=$? | ||
6965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6966 | (exit $ac_status); }; }; then | ||
6967 | echo "$as_me:$LINENO: result: yes" >&5 | ||
6968 | echo "${ECHO_T}yes" >&6 | ||
6969 | else | ||
6970 | echo "$as_me: program exited with status $ac_status" >&5 | ||
6971 | echo "$as_me: failed program was:" >&5 | ||
6972 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6973 | |||
6974 | ( exit $ac_status ) | ||
6975 | |||
6976 | echo "$as_me:$LINENO: result: no" >&5 | ||
6977 | echo "${ECHO_T}no" >&6 | ||
6978 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 | ||
6979 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} | ||
6980 | { (exit 1); exit 1; }; } | ||
6981 | |||
6982 | fi | ||
6983 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
6984 | fi | ||
6985 | fi | ||
6986 | |||
6987 | |||
6988 | fi; | ||
6989 | |||
6990 | # Check whether user wants TCP wrappers support | ||
6991 | TCPW_MSG="no" | ||
6992 | |||
6993 | # Check whether --with-tcp-wrappers or --without-tcp-wrappers was given. | ||
6994 | if test "${with_tcp_wrappers+set}" = set; then | ||
6995 | withval="$with_tcp_wrappers" | ||
6996 | |||
6997 | if test "x$withval" != "xno" ; then | ||
6998 | saved_LIBS="$LIBS" | ||
6999 | saved_LDFLAGS="$LDFLAGS" | ||
7000 | saved_CPPFLAGS="$CPPFLAGS" | ||
7001 | if test -n "${withval}" -a "${withval}" != "yes"; then | ||
7002 | if test -d "${withval}/lib"; then | ||
7003 | if test -n "${need_dash_r}"; then | ||
7004 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | ||
7005 | else | ||
7006 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | ||
7007 | fi | ||
7008 | else | ||
7009 | if test -n "${need_dash_r}"; then | ||
7010 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | ||
7011 | else | ||
7012 | LDFLAGS="-L${withval} ${LDFLAGS}" | ||
7013 | fi | ||
7014 | fi | ||
7015 | if test -d "${withval}/include"; then | ||
7016 | CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | ||
7017 | else | ||
7018 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | ||
7019 | fi | ||
7020 | fi | ||
7021 | LIBWRAP="-lwrap" | ||
7022 | LIBS="$LIBWRAP $LIBS" | ||
7023 | echo "$as_me:$LINENO: checking for libwrap" >&5 | ||
7024 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 | ||
7025 | cat >conftest.$ac_ext <<_ACEOF | ||
7026 | #line $LINENO "configure" | ||
7027 | /* confdefs.h. */ | ||
7028 | _ACEOF | ||
7029 | cat confdefs.h >>conftest.$ac_ext | ||
7030 | cat >>conftest.$ac_ext <<_ACEOF | ||
7031 | /* end confdefs.h. */ | ||
7032 | |||
7033 | #include <tcpd.h> | ||
7034 | int deny_severity = 0, allow_severity = 0; | ||
7035 | |||
7036 | int | ||
7037 | main () | ||
7038 | { | ||
7039 | hosts_access(0); | ||
7040 | ; | ||
7041 | return 0; | ||
7042 | } | ||
7043 | _ACEOF | ||
7044 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7045 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7046 | (eval $ac_link) 2>&5 | ||
7047 | ac_status=$? | ||
7048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7049 | (exit $ac_status); } && | ||
7050 | { ac_try='test -s conftest$ac_exeext' | ||
7051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7052 | (eval $ac_try) 2>&5 | ||
7053 | ac_status=$? | ||
7054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7055 | (exit $ac_status); }; }; then | ||
7056 | |||
7057 | echo "$as_me:$LINENO: result: yes" >&5 | ||
7058 | echo "${ECHO_T}yes" >&6 | ||
7059 | cat >>confdefs.h <<\_ACEOF | ||
7060 | @%:@define LIBWRAP 1 | ||
7061 | _ACEOF | ||
7062 | |||
7063 | |||
7064 | TCPW_MSG="yes" | ||
7065 | |||
7066 | else | ||
7067 | echo "$as_me: failed program was:" >&5 | ||
7068 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7069 | |||
7070 | |||
7071 | { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5 | ||
7072 | echo "$as_me: error: *** libwrap missing" >&2;} | ||
7073 | { (exit 1); exit 1; }; } | ||
7074 | |||
7075 | |||
7076 | fi | ||
7077 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7078 | LIBS="$saved_LIBS" | ||
7079 | fi | ||
7080 | |||
7081 | |||
7082 | fi; | ||
7083 | |||
7084 | |||
7085 | |||
7086 | |||
7087 | |||
7088 | |||
7089 | |||
7090 | |||
7091 | |||
7092 | |||
7093 | |||
7094 | |||
7095 | |||
7096 | |||
7097 | |||
7098 | |||
7099 | |||
7100 | |||
7101 | |||
7102 | |||
7103 | |||
7104 | |||
7105 | |||
7106 | |||
7107 | |||
7108 | |||
7109 | |||
7110 | |||
7111 | |||
7112 | |||
7113 | |||
7114 | |||
7115 | |||
7116 | |||
7117 | |||
7118 | |||
7119 | |||
7120 | |||
7121 | |||
7122 | |||
7123 | |||
7124 | |||
7125 | |||
7126 | |||
7127 | |||
7128 | |||
7129 | |||
7130 | |||
7131 | |||
7132 | |||
7133 | |||
7134 | |||
7135 | |||
7136 | |||
7137 | |||
7138 | |||
7139 | |||
7140 | |||
7141 | |||
7142 | |||
7143 | |||
7144 | |||
7145 | |||
7146 | |||
7147 | |||
7148 | |||
7149 | |||
7150 | |||
7151 | |||
7152 | |||
7153 | |||
7154 | |||
7155 | |||
7156 | |||
7157 | for ac_func in \ | ||
7158 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \ | ||
7159 | bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ | ||
7160 | gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \ | ||
7161 | getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \ | ||
7162 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | ||
7163 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \ | ||
7164 | readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \ | ||
7165 | setegid setenv seteuid setgroups setlogin setpcred setproctitle \ | ||
7166 | setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \ | ||
7167 | snprintf socketpair strerror strlcat strlcpy strmode strnvis \ | ||
7168 | sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \ | ||
7169 | |||
7170 | do | ||
7171 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7172 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7173 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7174 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7176 | else | ||
7177 | cat >conftest.$ac_ext <<_ACEOF | ||
7178 | #line $LINENO "configure" | ||
7179 | /* confdefs.h. */ | ||
7180 | _ACEOF | ||
7181 | cat confdefs.h >>conftest.$ac_ext | ||
7182 | cat >>conftest.$ac_ext <<_ACEOF | ||
7183 | /* end confdefs.h. */ | ||
7184 | /* System header to define __stub macros and hopefully few prototypes, | ||
7185 | which can conflict with char $ac_func (); below. | ||
7186 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
7187 | <limits.h> exists even on freestanding compilers. */ | ||
7188 | #ifdef __STDC__ | ||
7189 | # include <limits.h> | ||
7190 | #else | ||
7191 | # include <assert.h> | ||
7192 | #endif | ||
7193 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7194 | #ifdef __cplusplus | ||
7195 | extern "C" | ||
7196 | { | ||
7197 | #endif | ||
7198 | /* We use char because int might match the return type of a gcc2 | ||
7199 | builtin and then its argument prototype would still apply. */ | ||
7200 | char $ac_func (); | ||
7201 | /* The GNU C library defines this for functions which it implements | ||
7202 | to always fail with ENOSYS. Some functions are actually named | ||
7203 | something starting with __ and the normal name is an alias. */ | ||
7204 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7205 | choke me | ||
7206 | #else | ||
7207 | char (*f) () = $ac_func; | ||
7208 | #endif | ||
7209 | #ifdef __cplusplus | ||
7210 | } | ||
7211 | #endif | ||
7212 | |||
7213 | int | ||
7214 | main () | ||
7215 | { | ||
7216 | return f != $ac_func; | ||
7217 | ; | ||
7218 | return 0; | ||
7219 | } | ||
7220 | _ACEOF | ||
7221 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7222 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7223 | (eval $ac_link) 2>&5 | ||
7224 | ac_status=$? | ||
7225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7226 | (exit $ac_status); } && | ||
7227 | { ac_try='test -s conftest$ac_exeext' | ||
7228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7229 | (eval $ac_try) 2>&5 | ||
7230 | ac_status=$? | ||
7231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7232 | (exit $ac_status); }; }; then | ||
7233 | eval "$as_ac_var=yes" | ||
7234 | else | ||
7235 | echo "$as_me: failed program was:" >&5 | ||
7236 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7237 | |||
7238 | eval "$as_ac_var=no" | ||
7239 | fi | ||
7240 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7241 | fi | ||
7242 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7243 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7244 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7245 | cat >>confdefs.h <<_ACEOF | ||
7246 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7247 | _ACEOF | ||
7248 | |||
7249 | fi | ||
7250 | done | ||
7251 | |||
7252 | |||
7253 | echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 | ||
7254 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 | ||
7255 | if test "${ac_cv_search_nanosleep+set}" = set; then | ||
7256 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7257 | else | ||
7258 | ac_func_search_save_LIBS=$LIBS | ||
7259 | ac_cv_search_nanosleep=no | ||
7260 | cat >conftest.$ac_ext <<_ACEOF | ||
7261 | #line $LINENO "configure" | ||
7262 | /* confdefs.h. */ | ||
7263 | _ACEOF | ||
7264 | cat confdefs.h >>conftest.$ac_ext | ||
7265 | cat >>conftest.$ac_ext <<_ACEOF | ||
7266 | /* end confdefs.h. */ | ||
7267 | |||
7268 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7269 | #ifdef __cplusplus | ||
7270 | extern "C" | ||
7271 | #endif | ||
7272 | /* We use char because int might match the return type of a gcc2 | ||
7273 | builtin and then its argument prototype would still apply. */ | ||
7274 | char nanosleep (); | ||
7275 | int | ||
7276 | main () | ||
7277 | { | ||
7278 | nanosleep (); | ||
7279 | ; | ||
7280 | return 0; | ||
7281 | } | ||
7282 | _ACEOF | ||
7283 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7284 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7285 | (eval $ac_link) 2>&5 | ||
7286 | ac_status=$? | ||
7287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7288 | (exit $ac_status); } && | ||
7289 | { ac_try='test -s conftest$ac_exeext' | ||
7290 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7291 | (eval $ac_try) 2>&5 | ||
7292 | ac_status=$? | ||
7293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7294 | (exit $ac_status); }; }; then | ||
7295 | ac_cv_search_nanosleep="none required" | ||
7296 | else | ||
7297 | echo "$as_me: failed program was:" >&5 | ||
7298 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7299 | |||
7300 | fi | ||
7301 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7302 | if test "$ac_cv_search_nanosleep" = no; then | ||
7303 | for ac_lib in rt posix4; do | ||
7304 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
7305 | cat >conftest.$ac_ext <<_ACEOF | ||
7306 | #line $LINENO "configure" | ||
7307 | /* confdefs.h. */ | ||
7308 | _ACEOF | ||
7309 | cat confdefs.h >>conftest.$ac_ext | ||
7310 | cat >>conftest.$ac_ext <<_ACEOF | ||
7311 | /* end confdefs.h. */ | ||
7312 | |||
7313 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7314 | #ifdef __cplusplus | ||
7315 | extern "C" | ||
7316 | #endif | ||
7317 | /* We use char because int might match the return type of a gcc2 | ||
7318 | builtin and then its argument prototype would still apply. */ | ||
7319 | char nanosleep (); | ||
7320 | int | ||
7321 | main () | ||
7322 | { | ||
7323 | nanosleep (); | ||
7324 | ; | ||
7325 | return 0; | ||
7326 | } | ||
7327 | _ACEOF | ||
7328 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7329 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7330 | (eval $ac_link) 2>&5 | ||
7331 | ac_status=$? | ||
7332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7333 | (exit $ac_status); } && | ||
7334 | { ac_try='test -s conftest$ac_exeext' | ||
7335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7336 | (eval $ac_try) 2>&5 | ||
7337 | ac_status=$? | ||
7338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7339 | (exit $ac_status); }; }; then | ||
7340 | ac_cv_search_nanosleep="-l$ac_lib" | ||
7341 | break | ||
7342 | else | ||
7343 | echo "$as_me: failed program was:" >&5 | ||
7344 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7345 | |||
7346 | fi | ||
7347 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7348 | done | ||
7349 | fi | ||
7350 | LIBS=$ac_func_search_save_LIBS | ||
7351 | fi | ||
7352 | echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 | ||
7353 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 | ||
7354 | if test "$ac_cv_search_nanosleep" != no; then | ||
7355 | test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" | ||
7356 | cat >>confdefs.h <<\_ACEOF | ||
7357 | @%:@define HAVE_NANOSLEEP 1 | ||
7358 | _ACEOF | ||
7359 | |||
7360 | fi | ||
7361 | |||
7362 | echo "$as_me:$LINENO: checking for library containing basename" >&5 | ||
7363 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6 | ||
7364 | if test "${ac_cv_search_basename+set}" = set; then | ||
7365 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7366 | else | ||
7367 | ac_func_search_save_LIBS=$LIBS | ||
7368 | ac_cv_search_basename=no | ||
7369 | cat >conftest.$ac_ext <<_ACEOF | ||
7370 | #line $LINENO "configure" | ||
7371 | /* confdefs.h. */ | ||
7372 | _ACEOF | ||
7373 | cat confdefs.h >>conftest.$ac_ext | ||
7374 | cat >>conftest.$ac_ext <<_ACEOF | ||
7375 | /* end confdefs.h. */ | ||
7376 | |||
7377 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7378 | #ifdef __cplusplus | ||
7379 | extern "C" | ||
7380 | #endif | ||
7381 | /* We use char because int might match the return type of a gcc2 | ||
7382 | builtin and then its argument prototype would still apply. */ | ||
7383 | char basename (); | ||
7384 | int | ||
7385 | main () | ||
7386 | { | ||
7387 | basename (); | ||
7388 | ; | ||
7389 | return 0; | ||
7390 | } | ||
7391 | _ACEOF | ||
7392 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7393 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7394 | (eval $ac_link) 2>&5 | ||
7395 | ac_status=$? | ||
7396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7397 | (exit $ac_status); } && | ||
7398 | { ac_try='test -s conftest$ac_exeext' | ||
7399 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7400 | (eval $ac_try) 2>&5 | ||
7401 | ac_status=$? | ||
7402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7403 | (exit $ac_status); }; }; then | ||
7404 | ac_cv_search_basename="none required" | ||
7405 | else | ||
7406 | echo "$as_me: failed program was:" >&5 | ||
7407 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7408 | |||
7409 | fi | ||
7410 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7411 | if test "$ac_cv_search_basename" = no; then | ||
7412 | for ac_lib in gen; do | ||
7413 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
7414 | cat >conftest.$ac_ext <<_ACEOF | ||
7415 | #line $LINENO "configure" | ||
7416 | /* confdefs.h. */ | ||
7417 | _ACEOF | ||
7418 | cat confdefs.h >>conftest.$ac_ext | ||
7419 | cat >>conftest.$ac_ext <<_ACEOF | ||
7420 | /* end confdefs.h. */ | ||
7421 | |||
7422 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7423 | #ifdef __cplusplus | ||
7424 | extern "C" | ||
7425 | #endif | ||
7426 | /* We use char because int might match the return type of a gcc2 | ||
7427 | builtin and then its argument prototype would still apply. */ | ||
7428 | char basename (); | ||
7429 | int | ||
7430 | main () | ||
7431 | { | ||
7432 | basename (); | ||
7433 | ; | ||
7434 | return 0; | ||
7435 | } | ||
7436 | _ACEOF | ||
7437 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7438 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7439 | (eval $ac_link) 2>&5 | ||
7440 | ac_status=$? | ||
7441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7442 | (exit $ac_status); } && | ||
7443 | { ac_try='test -s conftest$ac_exeext' | ||
7444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7445 | (eval $ac_try) 2>&5 | ||
7446 | ac_status=$? | ||
7447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7448 | (exit $ac_status); }; }; then | ||
7449 | ac_cv_search_basename="-l$ac_lib" | ||
7450 | break | ||
7451 | else | ||
7452 | echo "$as_me: failed program was:" >&5 | ||
7453 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7454 | |||
7455 | fi | ||
7456 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7457 | done | ||
7458 | fi | ||
7459 | LIBS=$ac_func_search_save_LIBS | ||
7460 | fi | ||
7461 | echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 | ||
7462 | echo "${ECHO_T}$ac_cv_search_basename" >&6 | ||
7463 | if test "$ac_cv_search_basename" != no; then | ||
7464 | test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" | ||
7465 | cat >>confdefs.h <<\_ACEOF | ||
7466 | @%:@define HAVE_BASENAME 1 | ||
7467 | _ACEOF | ||
7468 | |||
7469 | fi | ||
7470 | |||
7471 | |||
7472 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 | ||
7473 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 | ||
7474 | if test "${ac_cv_have_decl_strsep+set}" = set; then | ||
7475 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7476 | else | ||
7477 | cat >conftest.$ac_ext <<_ACEOF | ||
7478 | #line $LINENO "configure" | ||
7479 | /* confdefs.h. */ | ||
7480 | _ACEOF | ||
7481 | cat confdefs.h >>conftest.$ac_ext | ||
7482 | cat >>conftest.$ac_ext <<_ACEOF | ||
7483 | /* end confdefs.h. */ | ||
7484 | $ac_includes_default | ||
7485 | int | ||
7486 | main () | ||
7487 | { | ||
7488 | #ifndef strsep | ||
7489 | char *p = (char *) strsep; | ||
7490 | #endif | ||
7491 | |||
7492 | ; | ||
7493 | return 0; | ||
7494 | } | ||
7495 | _ACEOF | ||
7496 | rm -f conftest.$ac_objext | ||
7497 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7498 | (eval $ac_compile) 2>&5 | ||
7499 | ac_status=$? | ||
7500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7501 | (exit $ac_status); } && | ||
7502 | { ac_try='test -s conftest.$ac_objext' | ||
7503 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7504 | (eval $ac_try) 2>&5 | ||
7505 | ac_status=$? | ||
7506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7507 | (exit $ac_status); }; }; then | ||
7508 | ac_cv_have_decl_strsep=yes | ||
7509 | else | ||
7510 | echo "$as_me: failed program was:" >&5 | ||
7511 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7512 | |||
7513 | ac_cv_have_decl_strsep=no | ||
7514 | fi | ||
7515 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
7516 | fi | ||
7517 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | ||
7518 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 | ||
7519 | if test $ac_cv_have_decl_strsep = yes; then | ||
7520 | |||
7521 | for ac_func in strsep | ||
7522 | do | ||
7523 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7524 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7525 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7526 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7528 | else | ||
7529 | cat >conftest.$ac_ext <<_ACEOF | ||
7530 | #line $LINENO "configure" | ||
7531 | /* confdefs.h. */ | ||
7532 | _ACEOF | ||
7533 | cat confdefs.h >>conftest.$ac_ext | ||
7534 | cat >>conftest.$ac_ext <<_ACEOF | ||
7535 | /* end confdefs.h. */ | ||
7536 | /* System header to define __stub macros and hopefully few prototypes, | ||
7537 | which can conflict with char $ac_func (); below. | ||
7538 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
7539 | <limits.h> exists even on freestanding compilers. */ | ||
7540 | #ifdef __STDC__ | ||
7541 | # include <limits.h> | ||
7542 | #else | ||
7543 | # include <assert.h> | ||
7544 | #endif | ||
7545 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7546 | #ifdef __cplusplus | ||
7547 | extern "C" | ||
7548 | { | ||
7549 | #endif | ||
7550 | /* We use char because int might match the return type of a gcc2 | ||
7551 | builtin and then its argument prototype would still apply. */ | ||
7552 | char $ac_func (); | ||
7553 | /* The GNU C library defines this for functions which it implements | ||
7554 | to always fail with ENOSYS. Some functions are actually named | ||
7555 | something starting with __ and the normal name is an alias. */ | ||
7556 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7557 | choke me | ||
7558 | #else | ||
7559 | char (*f) () = $ac_func; | ||
7560 | #endif | ||
7561 | #ifdef __cplusplus | ||
7562 | } | ||
7563 | #endif | ||
7564 | |||
7565 | int | ||
7566 | main () | ||
7567 | { | ||
7568 | return f != $ac_func; | ||
7569 | ; | ||
7570 | return 0; | ||
7571 | } | ||
7572 | _ACEOF | ||
7573 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7574 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7575 | (eval $ac_link) 2>&5 | ||
7576 | ac_status=$? | ||
7577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7578 | (exit $ac_status); } && | ||
7579 | { ac_try='test -s conftest$ac_exeext' | ||
7580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7581 | (eval $ac_try) 2>&5 | ||
7582 | ac_status=$? | ||
7583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7584 | (exit $ac_status); }; }; then | ||
7585 | eval "$as_ac_var=yes" | ||
7586 | else | ||
7587 | echo "$as_me: failed program was:" >&5 | ||
7588 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7589 | |||
7590 | eval "$as_ac_var=no" | ||
7591 | fi | ||
7592 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7593 | fi | ||
7594 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7595 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7596 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7597 | cat >>confdefs.h <<_ACEOF | ||
7598 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7599 | _ACEOF | ||
7600 | |||
7601 | fi | ||
7602 | done | ||
7603 | |||
7604 | fi | ||
7605 | |||
7606 | |||
7607 | |||
7608 | for ac_func in dirname | ||
7609 | do | ||
7610 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
7611 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
7612 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7613 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7614 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7615 | else | ||
7616 | cat >conftest.$ac_ext <<_ACEOF | ||
7617 | #line $LINENO "configure" | ||
7618 | /* confdefs.h. */ | ||
7619 | _ACEOF | ||
7620 | cat confdefs.h >>conftest.$ac_ext | ||
7621 | cat >>conftest.$ac_ext <<_ACEOF | ||
7622 | /* end confdefs.h. */ | ||
7623 | /* System header to define __stub macros and hopefully few prototypes, | ||
7624 | which can conflict with char $ac_func (); below. | ||
7625 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
7626 | <limits.h> exists even on freestanding compilers. */ | ||
7627 | #ifdef __STDC__ | ||
7628 | # include <limits.h> | ||
7629 | #else | ||
7630 | # include <assert.h> | ||
7631 | #endif | ||
7632 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7633 | #ifdef __cplusplus | ||
7634 | extern "C" | ||
7635 | { | ||
7636 | #endif | ||
7637 | /* We use char because int might match the return type of a gcc2 | ||
7638 | builtin and then its argument prototype would still apply. */ | ||
7639 | char $ac_func (); | ||
7640 | /* The GNU C library defines this for functions which it implements | ||
7641 | to always fail with ENOSYS. Some functions are actually named | ||
7642 | something starting with __ and the normal name is an alias. */ | ||
7643 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7644 | choke me | ||
7645 | #else | ||
7646 | char (*f) () = $ac_func; | ||
7647 | #endif | ||
7648 | #ifdef __cplusplus | ||
7649 | } | ||
7650 | #endif | ||
7651 | |||
7652 | int | ||
7653 | main () | ||
7654 | { | ||
7655 | return f != $ac_func; | ||
7656 | ; | ||
7657 | return 0; | ||
7658 | } | ||
7659 | _ACEOF | ||
7660 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7661 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7662 | (eval $ac_link) 2>&5 | ||
7663 | ac_status=$? | ||
7664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7665 | (exit $ac_status); } && | ||
7666 | { ac_try='test -s conftest$ac_exeext' | ||
7667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7668 | (eval $ac_try) 2>&5 | ||
7669 | ac_status=$? | ||
7670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7671 | (exit $ac_status); }; }; then | ||
7672 | eval "$as_ac_var=yes" | ||
7673 | else | ||
7674 | echo "$as_me: failed program was:" >&5 | ||
7675 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7676 | |||
7677 | eval "$as_ac_var=no" | ||
7678 | fi | ||
7679 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7680 | fi | ||
7681 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
7682 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
7683 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7684 | cat >>confdefs.h <<_ACEOF | ||
7685 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
7686 | _ACEOF | ||
7687 | |||
7688 | for ac_header in libgen.h | ||
7689 | do | ||
7690 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
7691 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7692 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7693 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7694 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7695 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7696 | fi | ||
7697 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7698 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7699 | else | ||
7700 | # Is the header compilable? | ||
7701 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
7702 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
7703 | cat >conftest.$ac_ext <<_ACEOF | ||
7704 | #line $LINENO "configure" | ||
7705 | /* confdefs.h. */ | ||
7706 | _ACEOF | ||
7707 | cat confdefs.h >>conftest.$ac_ext | ||
7708 | cat >>conftest.$ac_ext <<_ACEOF | ||
7709 | /* end confdefs.h. */ | ||
7710 | $ac_includes_default | ||
7711 | @%:@include <$ac_header> | ||
7712 | _ACEOF | ||
7713 | rm -f conftest.$ac_objext | ||
7714 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7715 | (eval $ac_compile) 2>&5 | ||
7716 | ac_status=$? | ||
7717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7718 | (exit $ac_status); } && | ||
7719 | { ac_try='test -s conftest.$ac_objext' | ||
7720 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7721 | (eval $ac_try) 2>&5 | ||
7722 | ac_status=$? | ||
7723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7724 | (exit $ac_status); }; }; then | ||
7725 | ac_header_compiler=yes | ||
7726 | else | ||
7727 | echo "$as_me: failed program was:" >&5 | ||
7728 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7729 | |||
7730 | ac_header_compiler=no | ||
7731 | fi | ||
7732 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
7733 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
7734 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
7735 | |||
7736 | # Is the header present? | ||
7737 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
7738 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
7739 | cat >conftest.$ac_ext <<_ACEOF | ||
7740 | #line $LINENO "configure" | ||
7741 | /* confdefs.h. */ | ||
7742 | _ACEOF | ||
7743 | cat confdefs.h >>conftest.$ac_ext | ||
7744 | cat >>conftest.$ac_ext <<_ACEOF | ||
7745 | /* end confdefs.h. */ | ||
7746 | @%:@include <$ac_header> | ||
7747 | _ACEOF | ||
7748 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
7749 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
7750 | ac_status=$? | ||
7751 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7752 | rm -f conftest.er1 | ||
7753 | cat conftest.err >&5 | ||
7754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7755 | (exit $ac_status); } >/dev/null; then | ||
7756 | if test -s conftest.err; then | ||
7757 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
7758 | else | ||
7759 | ac_cpp_err= | ||
7760 | fi | ||
7761 | else | ||
7762 | ac_cpp_err=yes | ||
7763 | fi | ||
7764 | if test -z "$ac_cpp_err"; then | ||
7765 | ac_header_preproc=yes | ||
7766 | else | ||
7767 | echo "$as_me: failed program was:" >&5 | ||
7768 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7769 | |||
7770 | ac_header_preproc=no | ||
7771 | fi | ||
7772 | rm -f conftest.err conftest.$ac_ext | ||
7773 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
7774 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
7775 | |||
7776 | # So? What about this header? | ||
7777 | case $ac_header_compiler:$ac_header_preproc in | ||
7778 | yes:no ) | ||
7779 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
7780 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
7781 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7782 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
7783 | ( | ||
7784 | cat <<\_ASBOX | ||
7785 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
7786 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
7787 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
7788 | _ASBOX | ||
7789 | ) | | ||
7790 | sed "s/^/$as_me: WARNING: /" >&2 | ||
7791 | ;; | ||
7792 | no:yes ) | ||
7793 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
7794 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
7795 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
7796 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
7797 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7798 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
7799 | ( | ||
7800 | cat <<\_ASBOX | ||
7801 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
7802 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
7803 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
7804 | _ASBOX | ||
7805 | ) | | ||
7806 | sed "s/^/$as_me: WARNING: /" >&2 | ||
7807 | ;; | ||
7808 | esac | ||
7809 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7810 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7811 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7812 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7813 | else | ||
7814 | eval "$as_ac_Header=$ac_header_preproc" | ||
7815 | fi | ||
7816 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7817 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7818 | |||
7819 | fi | ||
7820 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7821 | cat >>confdefs.h <<_ACEOF | ||
7822 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
7823 | _ACEOF | ||
7824 | |||
7825 | fi | ||
7826 | |||
7827 | done | ||
7828 | |||
7829 | else | ||
7830 | |||
7831 | echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 | ||
7832 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 | ||
7833 | if test "${ac_cv_lib_gen_dirname+set}" = set; then | ||
7834 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7835 | else | ||
7836 | ac_check_lib_save_LIBS=$LIBS | ||
7837 | LIBS="-lgen $LIBS" | ||
7838 | cat >conftest.$ac_ext <<_ACEOF | ||
7839 | #line $LINENO "configure" | ||
7840 | /* confdefs.h. */ | ||
7841 | _ACEOF | ||
7842 | cat confdefs.h >>conftest.$ac_ext | ||
7843 | cat >>conftest.$ac_ext <<_ACEOF | ||
7844 | /* end confdefs.h. */ | ||
7845 | |||
7846 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7847 | #ifdef __cplusplus | ||
7848 | extern "C" | ||
7849 | #endif | ||
7850 | /* We use char because int might match the return type of a gcc2 | ||
7851 | builtin and then its argument prototype would still apply. */ | ||
7852 | char dirname (); | ||
7853 | int | ||
7854 | main () | ||
7855 | { | ||
7856 | dirname (); | ||
7857 | ; | ||
7858 | return 0; | ||
7859 | } | ||
7860 | _ACEOF | ||
7861 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7862 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7863 | (eval $ac_link) 2>&5 | ||
7864 | ac_status=$? | ||
7865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7866 | (exit $ac_status); } && | ||
7867 | { ac_try='test -s conftest$ac_exeext' | ||
7868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7869 | (eval $ac_try) 2>&5 | ||
7870 | ac_status=$? | ||
7871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7872 | (exit $ac_status); }; }; then | ||
7873 | ac_cv_lib_gen_dirname=yes | ||
7874 | else | ||
7875 | echo "$as_me: failed program was:" >&5 | ||
7876 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7877 | |||
7878 | ac_cv_lib_gen_dirname=no | ||
7879 | fi | ||
7880 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7881 | LIBS=$ac_check_lib_save_LIBS | ||
7882 | fi | ||
7883 | echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 | ||
7884 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6 | ||
7885 | if test $ac_cv_lib_gen_dirname = yes; then | ||
7886 | |||
7887 | echo "$as_me:$LINENO: checking for broken dirname" >&5 | ||
7888 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6 | ||
7889 | if test "${ac_cv_have_broken_dirname+set}" = set; then | ||
7890 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7891 | else | ||
7892 | |||
7893 | save_LIBS="$LIBS" | ||
7894 | LIBS="$LIBS -lgen" | ||
7895 | if test "$cross_compiling" = yes; then | ||
7896 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
7897 | See \`config.log' for more details." >&5 | ||
7898 | echo "$as_me: error: cannot run test program while cross compiling | ||
7899 | See \`config.log' for more details." >&2;} | ||
7900 | { (exit 1); exit 1; }; } | ||
7901 | else | ||
7902 | cat >conftest.$ac_ext <<_ACEOF | ||
7903 | #line $LINENO "configure" | ||
7904 | /* confdefs.h. */ | ||
7905 | _ACEOF | ||
7906 | cat confdefs.h >>conftest.$ac_ext | ||
7907 | cat >>conftest.$ac_ext <<_ACEOF | ||
7908 | /* end confdefs.h. */ | ||
7909 | |||
7910 | #include <libgen.h> | ||
7911 | #include <string.h> | ||
7912 | |||
7913 | int main(int argc, char **argv) { | ||
7914 | char *s, buf[32]; | ||
7915 | |||
7916 | strncpy(buf,"/etc", 32); | ||
7917 | s = dirname(buf); | ||
7918 | if (!s || strncmp(s, "/", 32) != 0) { | ||
7919 | exit(1); | ||
7920 | } else { | ||
7921 | exit(0); | ||
7922 | } | ||
7923 | } | ||
7924 | |||
7925 | _ACEOF | ||
7926 | rm -f conftest$ac_exeext | ||
7927 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7928 | (eval $ac_link) 2>&5 | ||
7929 | ac_status=$? | ||
7930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7931 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
7932 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7933 | (eval $ac_try) 2>&5 | ||
7934 | ac_status=$? | ||
7935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7936 | (exit $ac_status); }; }; then | ||
7937 | ac_cv_have_broken_dirname="no" | ||
7938 | else | ||
7939 | echo "$as_me: program exited with status $ac_status" >&5 | ||
7940 | echo "$as_me: failed program was:" >&5 | ||
7941 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7942 | |||
7943 | ( exit $ac_status ) | ||
7944 | ac_cv_have_broken_dirname="yes" | ||
7945 | |||
7946 | fi | ||
7947 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
7948 | fi | ||
7949 | LIBS="$save_LIBS" | ||
7950 | |||
7951 | fi | ||
7952 | echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5 | ||
7953 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6 | ||
7954 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | ||
7955 | LIBS="$LIBS -lgen" | ||
7956 | cat >>confdefs.h <<\_ACEOF | ||
7957 | @%:@define HAVE_DIRNAME 1 | ||
7958 | _ACEOF | ||
7959 | |||
7960 | |||
7961 | for ac_header in libgen.h | ||
7962 | do | ||
7963 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
7964 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7965 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7966 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7967 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7968 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7969 | fi | ||
7970 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7971 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7972 | else | ||
7973 | # Is the header compilable? | ||
7974 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
7975 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
7976 | cat >conftest.$ac_ext <<_ACEOF | ||
7977 | #line $LINENO "configure" | ||
7978 | /* confdefs.h. */ | ||
7979 | _ACEOF | ||
7980 | cat confdefs.h >>conftest.$ac_ext | ||
7981 | cat >>conftest.$ac_ext <<_ACEOF | ||
7982 | /* end confdefs.h. */ | ||
7983 | $ac_includes_default | ||
7984 | @%:@include <$ac_header> | ||
7985 | _ACEOF | ||
7986 | rm -f conftest.$ac_objext | ||
7987 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7988 | (eval $ac_compile) 2>&5 | ||
7989 | ac_status=$? | ||
7990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7991 | (exit $ac_status); } && | ||
7992 | { ac_try='test -s conftest.$ac_objext' | ||
7993 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7994 | (eval $ac_try) 2>&5 | ||
7995 | ac_status=$? | ||
7996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7997 | (exit $ac_status); }; }; then | ||
7998 | ac_header_compiler=yes | ||
7999 | else | ||
8000 | echo "$as_me: failed program was:" >&5 | ||
8001 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8002 | |||
8003 | ac_header_compiler=no | ||
8004 | fi | ||
8005 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
8006 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
8007 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
8008 | |||
8009 | # Is the header present? | ||
8010 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
8011 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
8012 | cat >conftest.$ac_ext <<_ACEOF | ||
8013 | #line $LINENO "configure" | ||
8014 | /* confdefs.h. */ | ||
8015 | _ACEOF | ||
8016 | cat confdefs.h >>conftest.$ac_ext | ||
8017 | cat >>conftest.$ac_ext <<_ACEOF | ||
8018 | /* end confdefs.h. */ | ||
8019 | @%:@include <$ac_header> | ||
8020 | _ACEOF | ||
8021 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
8022 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
8023 | ac_status=$? | ||
8024 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8025 | rm -f conftest.er1 | ||
8026 | cat conftest.err >&5 | ||
8027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8028 | (exit $ac_status); } >/dev/null; then | ||
8029 | if test -s conftest.err; then | ||
8030 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
8031 | else | ||
8032 | ac_cpp_err= | ||
8033 | fi | ||
8034 | else | ||
8035 | ac_cpp_err=yes | ||
8036 | fi | ||
8037 | if test -z "$ac_cpp_err"; then | ||
8038 | ac_header_preproc=yes | ||
8039 | else | ||
8040 | echo "$as_me: failed program was:" >&5 | ||
8041 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8042 | |||
8043 | ac_header_preproc=no | ||
8044 | fi | ||
8045 | rm -f conftest.err conftest.$ac_ext | ||
8046 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
8047 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
8048 | |||
8049 | # So? What about this header? | ||
8050 | case $ac_header_compiler:$ac_header_preproc in | ||
8051 | yes:no ) | ||
8052 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
8053 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
8054 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
8055 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
8056 | ( | ||
8057 | cat <<\_ASBOX | ||
8058 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
8059 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
8060 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
8061 | _ASBOX | ||
8062 | ) | | ||
8063 | sed "s/^/$as_me: WARNING: /" >&2 | ||
8064 | ;; | ||
8065 | no:yes ) | ||
8066 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
8067 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
8068 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
8069 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
8070 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
8071 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
8072 | ( | ||
8073 | cat <<\_ASBOX | ||
8074 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
8075 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
8076 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
8077 | _ASBOX | ||
8078 | ) | | ||
8079 | sed "s/^/$as_me: WARNING: /" >&2 | ||
8080 | ;; | ||
8081 | esac | ||
8082 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
8083 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
8084 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
8085 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8086 | else | ||
8087 | eval "$as_ac_Header=$ac_header_preproc" | ||
8088 | fi | ||
8089 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
8090 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
8091 | |||
8092 | fi | ||
8093 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
8094 | cat >>confdefs.h <<_ACEOF | ||
8095 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
8096 | _ACEOF | ||
8097 | |||
8098 | fi | ||
8099 | |||
8100 | done | ||
8101 | |||
8102 | fi | ||
8103 | |||
8104 | fi | ||
8105 | |||
8106 | |||
8107 | fi | ||
8108 | done | ||
8109 | |||
8110 | |||
8111 | |||
8112 | |||
8113 | for ac_func in gettimeofday time | ||
8114 | do | ||
8115 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8116 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8117 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8118 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8119 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8120 | else | ||
8121 | cat >conftest.$ac_ext <<_ACEOF | ||
8122 | #line $LINENO "configure" | ||
8123 | /* confdefs.h. */ | ||
8124 | _ACEOF | ||
8125 | cat confdefs.h >>conftest.$ac_ext | ||
8126 | cat >>conftest.$ac_ext <<_ACEOF | ||
8127 | /* end confdefs.h. */ | ||
8128 | /* System header to define __stub macros and hopefully few prototypes, | ||
8129 | which can conflict with char $ac_func (); below. | ||
8130 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8131 | <limits.h> exists even on freestanding compilers. */ | ||
8132 | #ifdef __STDC__ | ||
8133 | # include <limits.h> | ||
8134 | #else | ||
8135 | # include <assert.h> | ||
8136 | #endif | ||
8137 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8138 | #ifdef __cplusplus | ||
8139 | extern "C" | ||
8140 | { | ||
8141 | #endif | ||
8142 | /* We use char because int might match the return type of a gcc2 | ||
8143 | builtin and then its argument prototype would still apply. */ | ||
8144 | char $ac_func (); | ||
8145 | /* The GNU C library defines this for functions which it implements | ||
8146 | to always fail with ENOSYS. Some functions are actually named | ||
8147 | something starting with __ and the normal name is an alias. */ | ||
8148 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8149 | choke me | ||
8150 | #else | ||
8151 | char (*f) () = $ac_func; | ||
8152 | #endif | ||
8153 | #ifdef __cplusplus | ||
8154 | } | ||
8155 | #endif | ||
8156 | |||
8157 | int | ||
8158 | main () | ||
8159 | { | ||
8160 | return f != $ac_func; | ||
8161 | ; | ||
8162 | return 0; | ||
8163 | } | ||
8164 | _ACEOF | ||
8165 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8166 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8167 | (eval $ac_link) 2>&5 | ||
8168 | ac_status=$? | ||
8169 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8170 | (exit $ac_status); } && | ||
8171 | { ac_try='test -s conftest$ac_exeext' | ||
8172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8173 | (eval $ac_try) 2>&5 | ||
8174 | ac_status=$? | ||
8175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8176 | (exit $ac_status); }; }; then | ||
8177 | eval "$as_ac_var=yes" | ||
8178 | else | ||
8179 | echo "$as_me: failed program was:" >&5 | ||
8180 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8181 | |||
8182 | eval "$as_ac_var=no" | ||
8183 | fi | ||
8184 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8185 | fi | ||
8186 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8187 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8188 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8189 | cat >>confdefs.h <<_ACEOF | ||
8190 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8191 | _ACEOF | ||
8192 | |||
8193 | fi | ||
8194 | done | ||
8195 | |||
8196 | |||
8197 | |||
8198 | |||
8199 | |||
8200 | |||
8201 | |||
8202 | for ac_func in endutent getutent getutid getutline pututline setutent | ||
8203 | do | ||
8204 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8205 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8206 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8207 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8208 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8209 | else | ||
8210 | cat >conftest.$ac_ext <<_ACEOF | ||
8211 | #line $LINENO "configure" | ||
8212 | /* confdefs.h. */ | ||
8213 | _ACEOF | ||
8214 | cat confdefs.h >>conftest.$ac_ext | ||
8215 | cat >>conftest.$ac_ext <<_ACEOF | ||
8216 | /* end confdefs.h. */ | ||
8217 | /* System header to define __stub macros and hopefully few prototypes, | ||
8218 | which can conflict with char $ac_func (); below. | ||
8219 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8220 | <limits.h> exists even on freestanding compilers. */ | ||
8221 | #ifdef __STDC__ | ||
8222 | # include <limits.h> | ||
8223 | #else | ||
8224 | # include <assert.h> | ||
8225 | #endif | ||
8226 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8227 | #ifdef __cplusplus | ||
8228 | extern "C" | ||
8229 | { | ||
8230 | #endif | ||
8231 | /* We use char because int might match the return type of a gcc2 | ||
8232 | builtin and then its argument prototype would still apply. */ | ||
8233 | char $ac_func (); | ||
8234 | /* The GNU C library defines this for functions which it implements | ||
8235 | to always fail with ENOSYS. Some functions are actually named | ||
8236 | something starting with __ and the normal name is an alias. */ | ||
8237 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8238 | choke me | ||
8239 | #else | ||
8240 | char (*f) () = $ac_func; | ||
8241 | #endif | ||
8242 | #ifdef __cplusplus | ||
8243 | } | ||
8244 | #endif | ||
8245 | |||
8246 | int | ||
8247 | main () | ||
8248 | { | ||
8249 | return f != $ac_func; | ||
8250 | ; | ||
8251 | return 0; | ||
8252 | } | ||
8253 | _ACEOF | ||
8254 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8255 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8256 | (eval $ac_link) 2>&5 | ||
8257 | ac_status=$? | ||
8258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8259 | (exit $ac_status); } && | ||
8260 | { ac_try='test -s conftest$ac_exeext' | ||
8261 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8262 | (eval $ac_try) 2>&5 | ||
8263 | ac_status=$? | ||
8264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8265 | (exit $ac_status); }; }; then | ||
8266 | eval "$as_ac_var=yes" | ||
8267 | else | ||
8268 | echo "$as_me: failed program was:" >&5 | ||
8269 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8270 | |||
8271 | eval "$as_ac_var=no" | ||
8272 | fi | ||
8273 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8274 | fi | ||
8275 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8276 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8277 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8278 | cat >>confdefs.h <<_ACEOF | ||
8279 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8280 | _ACEOF | ||
8281 | |||
8282 | fi | ||
8283 | done | ||
8284 | |||
8285 | |||
8286 | for ac_func in utmpname | ||
8287 | do | ||
8288 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8289 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8290 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8291 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8292 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8293 | else | ||
8294 | cat >conftest.$ac_ext <<_ACEOF | ||
8295 | #line $LINENO "configure" | ||
8296 | /* confdefs.h. */ | ||
8297 | _ACEOF | ||
8298 | cat confdefs.h >>conftest.$ac_ext | ||
8299 | cat >>conftest.$ac_ext <<_ACEOF | ||
8300 | /* end confdefs.h. */ | ||
8301 | /* System header to define __stub macros and hopefully few prototypes, | ||
8302 | which can conflict with char $ac_func (); below. | ||
8303 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8304 | <limits.h> exists even on freestanding compilers. */ | ||
8305 | #ifdef __STDC__ | ||
8306 | # include <limits.h> | ||
8307 | #else | ||
8308 | # include <assert.h> | ||
8309 | #endif | ||
8310 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8311 | #ifdef __cplusplus | ||
8312 | extern "C" | ||
8313 | { | ||
8314 | #endif | ||
8315 | /* We use char because int might match the return type of a gcc2 | ||
8316 | builtin and then its argument prototype would still apply. */ | ||
8317 | char $ac_func (); | ||
8318 | /* The GNU C library defines this for functions which it implements | ||
8319 | to always fail with ENOSYS. Some functions are actually named | ||
8320 | something starting with __ and the normal name is an alias. */ | ||
8321 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8322 | choke me | ||
8323 | #else | ||
8324 | char (*f) () = $ac_func; | ||
8325 | #endif | ||
8326 | #ifdef __cplusplus | ||
8327 | } | ||
8328 | #endif | ||
8329 | |||
8330 | int | ||
8331 | main () | ||
8332 | { | ||
8333 | return f != $ac_func; | ||
8334 | ; | ||
8335 | return 0; | ||
8336 | } | ||
8337 | _ACEOF | ||
8338 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8339 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8340 | (eval $ac_link) 2>&5 | ||
8341 | ac_status=$? | ||
8342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8343 | (exit $ac_status); } && | ||
8344 | { ac_try='test -s conftest$ac_exeext' | ||
8345 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8346 | (eval $ac_try) 2>&5 | ||
8347 | ac_status=$? | ||
8348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8349 | (exit $ac_status); }; }; then | ||
8350 | eval "$as_ac_var=yes" | ||
8351 | else | ||
8352 | echo "$as_me: failed program was:" >&5 | ||
8353 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8354 | |||
8355 | eval "$as_ac_var=no" | ||
8356 | fi | ||
8357 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8358 | fi | ||
8359 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8360 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8361 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8362 | cat >>confdefs.h <<_ACEOF | ||
8363 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8364 | _ACEOF | ||
8365 | |||
8366 | fi | ||
8367 | done | ||
8368 | |||
8369 | |||
8370 | |||
8371 | |||
8372 | |||
8373 | |||
8374 | for ac_func in endutxent getutxent getutxid getutxline pututxline | ||
8375 | do | ||
8376 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8377 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8378 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8379 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8380 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8381 | else | ||
8382 | cat >conftest.$ac_ext <<_ACEOF | ||
8383 | #line $LINENO "configure" | ||
8384 | /* confdefs.h. */ | ||
8385 | _ACEOF | ||
8386 | cat confdefs.h >>conftest.$ac_ext | ||
8387 | cat >>conftest.$ac_ext <<_ACEOF | ||
8388 | /* end confdefs.h. */ | ||
8389 | /* System header to define __stub macros and hopefully few prototypes, | ||
8390 | which can conflict with char $ac_func (); below. | ||
8391 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8392 | <limits.h> exists even on freestanding compilers. */ | ||
8393 | #ifdef __STDC__ | ||
8394 | # include <limits.h> | ||
8395 | #else | ||
8396 | # include <assert.h> | ||
8397 | #endif | ||
8398 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8399 | #ifdef __cplusplus | ||
8400 | extern "C" | ||
8401 | { | ||
8402 | #endif | ||
8403 | /* We use char because int might match the return type of a gcc2 | ||
8404 | builtin and then its argument prototype would still apply. */ | ||
8405 | char $ac_func (); | ||
8406 | /* The GNU C library defines this for functions which it implements | ||
8407 | to always fail with ENOSYS. Some functions are actually named | ||
8408 | something starting with __ and the normal name is an alias. */ | ||
8409 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8410 | choke me | ||
8411 | #else | ||
8412 | char (*f) () = $ac_func; | ||
8413 | #endif | ||
8414 | #ifdef __cplusplus | ||
8415 | } | ||
8416 | #endif | ||
8417 | |||
8418 | int | ||
8419 | main () | ||
8420 | { | ||
8421 | return f != $ac_func; | ||
8422 | ; | ||
8423 | return 0; | ||
8424 | } | ||
8425 | _ACEOF | ||
8426 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8427 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8428 | (eval $ac_link) 2>&5 | ||
8429 | ac_status=$? | ||
8430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8431 | (exit $ac_status); } && | ||
8432 | { ac_try='test -s conftest$ac_exeext' | ||
8433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8434 | (eval $ac_try) 2>&5 | ||
8435 | ac_status=$? | ||
8436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8437 | (exit $ac_status); }; }; then | ||
8438 | eval "$as_ac_var=yes" | ||
8439 | else | ||
8440 | echo "$as_me: failed program was:" >&5 | ||
8441 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8442 | |||
8443 | eval "$as_ac_var=no" | ||
8444 | fi | ||
8445 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8446 | fi | ||
8447 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8448 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8449 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8450 | cat >>confdefs.h <<_ACEOF | ||
8451 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8452 | _ACEOF | ||
8453 | |||
8454 | fi | ||
8455 | done | ||
8456 | |||
8457 | |||
8458 | |||
8459 | for ac_func in setutxent utmpxname | ||
8460 | do | ||
8461 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8462 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8463 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8464 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8465 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8466 | else | ||
8467 | cat >conftest.$ac_ext <<_ACEOF | ||
8468 | #line $LINENO "configure" | ||
8469 | /* confdefs.h. */ | ||
8470 | _ACEOF | ||
8471 | cat confdefs.h >>conftest.$ac_ext | ||
8472 | cat >>conftest.$ac_ext <<_ACEOF | ||
8473 | /* end confdefs.h. */ | ||
8474 | /* System header to define __stub macros and hopefully few prototypes, | ||
8475 | which can conflict with char $ac_func (); below. | ||
8476 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8477 | <limits.h> exists even on freestanding compilers. */ | ||
8478 | #ifdef __STDC__ | ||
8479 | # include <limits.h> | ||
8480 | #else | ||
8481 | # include <assert.h> | ||
8482 | #endif | ||
8483 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8484 | #ifdef __cplusplus | ||
8485 | extern "C" | ||
8486 | { | ||
8487 | #endif | ||
8488 | /* We use char because int might match the return type of a gcc2 | ||
8489 | builtin and then its argument prototype would still apply. */ | ||
8490 | char $ac_func (); | ||
8491 | /* The GNU C library defines this for functions which it implements | ||
8492 | to always fail with ENOSYS. Some functions are actually named | ||
8493 | something starting with __ and the normal name is an alias. */ | ||
8494 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8495 | choke me | ||
8496 | #else | ||
8497 | char (*f) () = $ac_func; | ||
8498 | #endif | ||
8499 | #ifdef __cplusplus | ||
8500 | } | ||
8501 | #endif | ||
8502 | |||
8503 | int | ||
8504 | main () | ||
8505 | { | ||
8506 | return f != $ac_func; | ||
8507 | ; | ||
8508 | return 0; | ||
8509 | } | ||
8510 | _ACEOF | ||
8511 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8512 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8513 | (eval $ac_link) 2>&5 | ||
8514 | ac_status=$? | ||
8515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8516 | (exit $ac_status); } && | ||
8517 | { ac_try='test -s conftest$ac_exeext' | ||
8518 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8519 | (eval $ac_try) 2>&5 | ||
8520 | ac_status=$? | ||
8521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8522 | (exit $ac_status); }; }; then | ||
8523 | eval "$as_ac_var=yes" | ||
8524 | else | ||
8525 | echo "$as_me: failed program was:" >&5 | ||
8526 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8527 | |||
8528 | eval "$as_ac_var=no" | ||
8529 | fi | ||
8530 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8531 | fi | ||
8532 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8533 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8534 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8535 | cat >>confdefs.h <<_ACEOF | ||
8536 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8537 | _ACEOF | ||
8538 | |||
8539 | fi | ||
8540 | done | ||
8541 | |||
8542 | |||
8543 | echo "$as_me:$LINENO: checking for daemon" >&5 | ||
8544 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6 | ||
8545 | if test "${ac_cv_func_daemon+set}" = set; then | ||
8546 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8547 | else | ||
8548 | cat >conftest.$ac_ext <<_ACEOF | ||
8549 | #line $LINENO "configure" | ||
8550 | /* confdefs.h. */ | ||
8551 | _ACEOF | ||
8552 | cat confdefs.h >>conftest.$ac_ext | ||
8553 | cat >>conftest.$ac_ext <<_ACEOF | ||
8554 | /* end confdefs.h. */ | ||
8555 | /* System header to define __stub macros and hopefully few prototypes, | ||
8556 | which can conflict with char daemon (); below. | ||
8557 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8558 | <limits.h> exists even on freestanding compilers. */ | ||
8559 | #ifdef __STDC__ | ||
8560 | # include <limits.h> | ||
8561 | #else | ||
8562 | # include <assert.h> | ||
8563 | #endif | ||
8564 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8565 | #ifdef __cplusplus | ||
8566 | extern "C" | ||
8567 | { | ||
8568 | #endif | ||
8569 | /* We use char because int might match the return type of a gcc2 | ||
8570 | builtin and then its argument prototype would still apply. */ | ||
8571 | char daemon (); | ||
8572 | /* The GNU C library defines this for functions which it implements | ||
8573 | to always fail with ENOSYS. Some functions are actually named | ||
8574 | something starting with __ and the normal name is an alias. */ | ||
8575 | #if defined (__stub_daemon) || defined (__stub___daemon) | ||
8576 | choke me | ||
8577 | #else | ||
8578 | char (*f) () = daemon; | ||
8579 | #endif | ||
8580 | #ifdef __cplusplus | ||
8581 | } | ||
8582 | #endif | ||
8583 | |||
8584 | int | ||
8585 | main () | ||
8586 | { | ||
8587 | return f != daemon; | ||
8588 | ; | ||
8589 | return 0; | ||
8590 | } | ||
8591 | _ACEOF | ||
8592 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8593 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8594 | (eval $ac_link) 2>&5 | ||
8595 | ac_status=$? | ||
8596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8597 | (exit $ac_status); } && | ||
8598 | { ac_try='test -s conftest$ac_exeext' | ||
8599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8600 | (eval $ac_try) 2>&5 | ||
8601 | ac_status=$? | ||
8602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8603 | (exit $ac_status); }; }; then | ||
8604 | ac_cv_func_daemon=yes | ||
8605 | else | ||
8606 | echo "$as_me: failed program was:" >&5 | ||
8607 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8608 | |||
8609 | ac_cv_func_daemon=no | ||
8610 | fi | ||
8611 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8612 | fi | ||
8613 | echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 | ||
8614 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 | ||
8615 | if test $ac_cv_func_daemon = yes; then | ||
8616 | cat >>confdefs.h <<\_ACEOF | ||
8617 | @%:@define HAVE_DAEMON 1 | ||
8618 | _ACEOF | ||
8619 | |||
8620 | else | ||
8621 | echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 | ||
8622 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 | ||
8623 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then | ||
8624 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8625 | else | ||
8626 | ac_check_lib_save_LIBS=$LIBS | ||
8627 | LIBS="-lbsd $LIBS" | ||
8628 | cat >conftest.$ac_ext <<_ACEOF | ||
8629 | #line $LINENO "configure" | ||
8630 | /* confdefs.h. */ | ||
8631 | _ACEOF | ||
8632 | cat confdefs.h >>conftest.$ac_ext | ||
8633 | cat >>conftest.$ac_ext <<_ACEOF | ||
8634 | /* end confdefs.h. */ | ||
8635 | |||
8636 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8637 | #ifdef __cplusplus | ||
8638 | extern "C" | ||
8639 | #endif | ||
8640 | /* We use char because int might match the return type of a gcc2 | ||
8641 | builtin and then its argument prototype would still apply. */ | ||
8642 | char daemon (); | ||
8643 | int | ||
8644 | main () | ||
8645 | { | ||
8646 | daemon (); | ||
8647 | ; | ||
8648 | return 0; | ||
8649 | } | ||
8650 | _ACEOF | ||
8651 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8652 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8653 | (eval $ac_link) 2>&5 | ||
8654 | ac_status=$? | ||
8655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8656 | (exit $ac_status); } && | ||
8657 | { ac_try='test -s conftest$ac_exeext' | ||
8658 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8659 | (eval $ac_try) 2>&5 | ||
8660 | ac_status=$? | ||
8661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8662 | (exit $ac_status); }; }; then | ||
8663 | ac_cv_lib_bsd_daemon=yes | ||
8664 | else | ||
8665 | echo "$as_me: failed program was:" >&5 | ||
8666 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8667 | |||
8668 | ac_cv_lib_bsd_daemon=no | ||
8669 | fi | ||
8670 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8671 | LIBS=$ac_check_lib_save_LIBS | ||
8672 | fi | ||
8673 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 | ||
8674 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 | ||
8675 | if test $ac_cv_lib_bsd_daemon = yes; then | ||
8676 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF | ||
8677 | @%:@define HAVE_DAEMON 1 | ||
8678 | _ACEOF | ||
8679 | |||
8680 | fi | ||
8681 | |||
8682 | |||
8683 | fi | ||
8684 | |||
8685 | |||
8686 | echo "$as_me:$LINENO: checking for getpagesize" >&5 | ||
8687 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 | ||
8688 | if test "${ac_cv_func_getpagesize+set}" = set; then | ||
8689 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8690 | else | ||
8691 | cat >conftest.$ac_ext <<_ACEOF | ||
8692 | #line $LINENO "configure" | ||
8693 | /* confdefs.h. */ | ||
8694 | _ACEOF | ||
8695 | cat confdefs.h >>conftest.$ac_ext | ||
8696 | cat >>conftest.$ac_ext <<_ACEOF | ||
8697 | /* end confdefs.h. */ | ||
8698 | /* System header to define __stub macros and hopefully few prototypes, | ||
8699 | which can conflict with char getpagesize (); below. | ||
8700 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8701 | <limits.h> exists even on freestanding compilers. */ | ||
8702 | #ifdef __STDC__ | ||
8703 | # include <limits.h> | ||
8704 | #else | ||
8705 | # include <assert.h> | ||
8706 | #endif | ||
8707 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8708 | #ifdef __cplusplus | ||
8709 | extern "C" | ||
8710 | { | ||
8711 | #endif | ||
8712 | /* We use char because int might match the return type of a gcc2 | ||
8713 | builtin and then its argument prototype would still apply. */ | ||
8714 | char getpagesize (); | ||
8715 | /* The GNU C library defines this for functions which it implements | ||
8716 | to always fail with ENOSYS. Some functions are actually named | ||
8717 | something starting with __ and the normal name is an alias. */ | ||
8718 | #if defined (__stub_getpagesize) || defined (__stub___getpagesize) | ||
8719 | choke me | ||
8720 | #else | ||
8721 | char (*f) () = getpagesize; | ||
8722 | #endif | ||
8723 | #ifdef __cplusplus | ||
8724 | } | ||
8725 | #endif | ||
8726 | |||
8727 | int | ||
8728 | main () | ||
8729 | { | ||
8730 | return f != getpagesize; | ||
8731 | ; | ||
8732 | return 0; | ||
8733 | } | ||
8734 | _ACEOF | ||
8735 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8736 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8737 | (eval $ac_link) 2>&5 | ||
8738 | ac_status=$? | ||
8739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8740 | (exit $ac_status); } && | ||
8741 | { ac_try='test -s conftest$ac_exeext' | ||
8742 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8743 | (eval $ac_try) 2>&5 | ||
8744 | ac_status=$? | ||
8745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8746 | (exit $ac_status); }; }; then | ||
8747 | ac_cv_func_getpagesize=yes | ||
8748 | else | ||
8749 | echo "$as_me: failed program was:" >&5 | ||
8750 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8751 | |||
8752 | ac_cv_func_getpagesize=no | ||
8753 | fi | ||
8754 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8755 | fi | ||
8756 | echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 | ||
8757 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 | ||
8758 | if test $ac_cv_func_getpagesize = yes; then | ||
8759 | cat >>confdefs.h <<\_ACEOF | ||
8760 | @%:@define HAVE_GETPAGESIZE 1 | ||
8761 | _ACEOF | ||
8762 | |||
8763 | else | ||
8764 | echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 | ||
8765 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 | ||
8766 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then | ||
8767 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8768 | else | ||
8769 | ac_check_lib_save_LIBS=$LIBS | ||
8770 | LIBS="-lucb $LIBS" | ||
8771 | cat >conftest.$ac_ext <<_ACEOF | ||
8772 | #line $LINENO "configure" | ||
8773 | /* confdefs.h. */ | ||
8774 | _ACEOF | ||
8775 | cat confdefs.h >>conftest.$ac_ext | ||
8776 | cat >>conftest.$ac_ext <<_ACEOF | ||
8777 | /* end confdefs.h. */ | ||
8778 | |||
8779 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8780 | #ifdef __cplusplus | ||
8781 | extern "C" | ||
8782 | #endif | ||
8783 | /* We use char because int might match the return type of a gcc2 | ||
8784 | builtin and then its argument prototype would still apply. */ | ||
8785 | char getpagesize (); | ||
8786 | int | ||
8787 | main () | ||
8788 | { | ||
8789 | getpagesize (); | ||
8790 | ; | ||
8791 | return 0; | ||
8792 | } | ||
8793 | _ACEOF | ||
8794 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8795 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8796 | (eval $ac_link) 2>&5 | ||
8797 | ac_status=$? | ||
8798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8799 | (exit $ac_status); } && | ||
8800 | { ac_try='test -s conftest$ac_exeext' | ||
8801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8802 | (eval $ac_try) 2>&5 | ||
8803 | ac_status=$? | ||
8804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8805 | (exit $ac_status); }; }; then | ||
8806 | ac_cv_lib_ucb_getpagesize=yes | ||
8807 | else | ||
8808 | echo "$as_me: failed program was:" >&5 | ||
8809 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8810 | |||
8811 | ac_cv_lib_ucb_getpagesize=no | ||
8812 | fi | ||
8813 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8814 | LIBS=$ac_check_lib_save_LIBS | ||
8815 | fi | ||
8816 | echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 | ||
8817 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 | ||
8818 | if test $ac_cv_lib_ucb_getpagesize = yes; then | ||
8819 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF | ||
8820 | @%:@define HAVE_GETPAGESIZE 1 | ||
8821 | _ACEOF | ||
8822 | |||
8823 | fi | ||
8824 | |||
8825 | |||
8826 | fi | ||
8827 | |||
8828 | |||
8829 | # Check for broken snprintf | ||
8830 | if test "x$ac_cv_func_snprintf" = "xyes" ; then | ||
8831 | echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 | ||
8832 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 | ||
8833 | if test "$cross_compiling" = yes; then | ||
8834 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
8835 | See \`config.log' for more details." >&5 | ||
8836 | echo "$as_me: error: cannot run test program while cross compiling | ||
8837 | See \`config.log' for more details." >&2;} | ||
8838 | { (exit 1); exit 1; }; } | ||
8839 | else | ||
8840 | cat >conftest.$ac_ext <<_ACEOF | ||
8841 | #line $LINENO "configure" | ||
8842 | /* confdefs.h. */ | ||
8843 | _ACEOF | ||
8844 | cat confdefs.h >>conftest.$ac_ext | ||
8845 | cat >>conftest.$ac_ext <<_ACEOF | ||
8846 | /* end confdefs.h. */ | ||
8847 | |||
8848 | #include <stdio.h> | ||
8849 | int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} | ||
8850 | |||
8851 | _ACEOF | ||
8852 | rm -f conftest$ac_exeext | ||
8853 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8854 | (eval $ac_link) 2>&5 | ||
8855 | ac_status=$? | ||
8856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8857 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8859 | (eval $ac_try) 2>&5 | ||
8860 | ac_status=$? | ||
8861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8862 | (exit $ac_status); }; }; then | ||
8863 | echo "$as_me:$LINENO: result: yes" >&5 | ||
8864 | echo "${ECHO_T}yes" >&6 | ||
8865 | else | ||
8866 | echo "$as_me: program exited with status $ac_status" >&5 | ||
8867 | echo "$as_me: failed program was:" >&5 | ||
8868 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8869 | |||
8870 | ( exit $ac_status ) | ||
8871 | |||
8872 | echo "$as_me:$LINENO: result: no" >&5 | ||
8873 | echo "${ECHO_T}no" >&6 | ||
8874 | cat >>confdefs.h <<\_ACEOF | ||
8875 | @%:@define BROKEN_SNPRINTF 1 | ||
8876 | _ACEOF | ||
8877 | |||
8878 | { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 | ||
8879 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} | ||
8880 | |||
8881 | |||
8882 | fi | ||
8883 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8884 | fi | ||
8885 | fi | ||
8886 | |||
8887 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then | ||
8888 | echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 | ||
8889 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 | ||
8890 | if test "$cross_compiling" = yes; then | ||
8891 | |||
8892 | echo "$as_me:$LINENO: result: yes" >&5 | ||
8893 | echo "${ECHO_T}yes" >&6 | ||
8894 | cat >>confdefs.h <<\_ACEOF | ||
8895 | @%:@define HAVE_STRICT_MKSTEMP 1 | ||
8896 | _ACEOF | ||
8897 | |||
8898 | |||
8899 | |||
8900 | else | ||
8901 | cat >conftest.$ac_ext <<_ACEOF | ||
8902 | #line $LINENO "configure" | ||
8903 | /* confdefs.h. */ | ||
8904 | _ACEOF | ||
8905 | cat confdefs.h >>conftest.$ac_ext | ||
8906 | cat >>conftest.$ac_ext <<_ACEOF | ||
8907 | /* end confdefs.h. */ | ||
8908 | |||
8909 | #include <stdlib.h> | ||
8910 | main() { char template[]="conftest.mkstemp-test"; | ||
8911 | if (mkstemp(template) == -1) | ||
8912 | exit(1); | ||
8913 | unlink(template); exit(0); | ||
8914 | } | ||
8915 | |||
8916 | _ACEOF | ||
8917 | rm -f conftest$ac_exeext | ||
8918 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
8919 | (eval $ac_link) 2>&5 | ||
8920 | ac_status=$? | ||
8921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8922 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8923 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8924 | (eval $ac_try) 2>&5 | ||
8925 | ac_status=$? | ||
8926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8927 | (exit $ac_status); }; }; then | ||
8928 | |||
8929 | echo "$as_me:$LINENO: result: no" >&5 | ||
8930 | echo "${ECHO_T}no" >&6 | ||
8931 | |||
8932 | else | ||
8933 | echo "$as_me: program exited with status $ac_status" >&5 | ||
8934 | echo "$as_me: failed program was:" >&5 | ||
8935 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8936 | |||
8937 | ( exit $ac_status ) | ||
8938 | |||
8939 | echo "$as_me:$LINENO: result: yes" >&5 | ||
8940 | echo "${ECHO_T}yes" >&6 | ||
8941 | cat >>confdefs.h <<\_ACEOF | ||
8942 | @%:@define HAVE_STRICT_MKSTEMP 1 | ||
8943 | _ACEOF | ||
8944 | |||
8945 | |||
8946 | fi | ||
8947 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8948 | fi | ||
8949 | fi | ||
8950 | |||
8951 | echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | ||
8952 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 | ||
8953 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | ||
8954 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8955 | else | ||
8956 | # Use it with a single arg. | ||
8957 | cat >conftest.$ac_ext <<_ACEOF | ||
8958 | #line $LINENO "configure" | ||
8959 | /* confdefs.h. */ | ||
8960 | _ACEOF | ||
8961 | cat confdefs.h >>conftest.$ac_ext | ||
8962 | cat >>conftest.$ac_ext <<_ACEOF | ||
8963 | /* end confdefs.h. */ | ||
8964 | $ac_includes_default | ||
8965 | int | ||
8966 | main () | ||
8967 | { | ||
8968 | getpgrp (0); | ||
8969 | ; | ||
8970 | return 0; | ||
8971 | } | ||
8972 | _ACEOF | ||
8973 | rm -f conftest.$ac_objext | ||
8974 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8975 | (eval $ac_compile) 2>&5 | ||
8976 | ac_status=$? | ||
8977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8978 | (exit $ac_status); } && | ||
8979 | { ac_try='test -s conftest.$ac_objext' | ||
8980 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
8981 | (eval $ac_try) 2>&5 | ||
8982 | ac_status=$? | ||
8983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8984 | (exit $ac_status); }; }; then | ||
8985 | ac_cv_func_getpgrp_void=no | ||
8986 | else | ||
8987 | echo "$as_me: failed program was:" >&5 | ||
8988 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8989 | |||
8990 | ac_cv_func_getpgrp_void=yes | ||
8991 | fi | ||
8992 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
8993 | |||
8994 | fi | ||
8995 | echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | ||
8996 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 | ||
8997 | if test $ac_cv_func_getpgrp_void = yes; then | ||
8998 | |||
8999 | cat >>confdefs.h <<\_ACEOF | ||
9000 | @%:@define GETPGRP_VOID 1 | ||
9001 | _ACEOF | ||
9002 | |||
9003 | fi | ||
9004 | |||
9005 | |||
9006 | # Check for PAM libs | ||
9007 | PAM_MSG="no" | ||
9008 | |||
9009 | # Check whether --with-pam or --without-pam was given. | ||
9010 | if test "${with_pam+set}" = set; then | ||
9011 | withval="$with_pam" | ||
9012 | |||
9013 | if test "x$withval" != "xno" ; then | ||
9014 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then | ||
9015 | { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 | ||
9016 | echo "$as_me: error: PAM headers not found" >&2;} | ||
9017 | { (exit 1); exit 1; }; } | ||
9018 | fi | ||
9019 | |||
9020 | |||
9021 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | ||
9022 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | ||
9023 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | ||
9024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9025 | else | ||
9026 | ac_check_lib_save_LIBS=$LIBS | ||
9027 | LIBS="-ldl $LIBS" | ||
9028 | cat >conftest.$ac_ext <<_ACEOF | ||
9029 | #line $LINENO "configure" | ||
9030 | /* confdefs.h. */ | ||
9031 | _ACEOF | ||
9032 | cat confdefs.h >>conftest.$ac_ext | ||
9033 | cat >>conftest.$ac_ext <<_ACEOF | ||
9034 | /* end confdefs.h. */ | ||
9035 | |||
9036 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9037 | #ifdef __cplusplus | ||
9038 | extern "C" | ||
9039 | #endif | ||
9040 | /* We use char because int might match the return type of a gcc2 | ||
9041 | builtin and then its argument prototype would still apply. */ | ||
9042 | char dlopen (); | ||
9043 | int | ||
9044 | main () | ||
9045 | { | ||
9046 | dlopen (); | ||
9047 | ; | ||
9048 | return 0; | ||
9049 | } | ||
9050 | _ACEOF | ||
9051 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9052 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9053 | (eval $ac_link) 2>&5 | ||
9054 | ac_status=$? | ||
9055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9056 | (exit $ac_status); } && | ||
9057 | { ac_try='test -s conftest$ac_exeext' | ||
9058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9059 | (eval $ac_try) 2>&5 | ||
9060 | ac_status=$? | ||
9061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9062 | (exit $ac_status); }; }; then | ||
9063 | ac_cv_lib_dl_dlopen=yes | ||
9064 | else | ||
9065 | echo "$as_me: failed program was:" >&5 | ||
9066 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9067 | |||
9068 | ac_cv_lib_dl_dlopen=no | ||
9069 | fi | ||
9070 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
9071 | LIBS=$ac_check_lib_save_LIBS | ||
9072 | fi | ||
9073 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | ||
9074 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | ||
9075 | if test $ac_cv_lib_dl_dlopen = yes; then | ||
9076 | cat >>confdefs.h <<_ACEOF | ||
9077 | @%:@define HAVE_LIBDL 1 | ||
9078 | _ACEOF | ||
9079 | |||
9080 | LIBS="-ldl $LIBS" | ||
9081 | |||
9082 | fi | ||
9083 | |||
9084 | |||
9085 | echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 | ||
9086 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6 | ||
9087 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then | ||
9088 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9089 | else | ||
9090 | ac_check_lib_save_LIBS=$LIBS | ||
9091 | LIBS="-lpam $LIBS" | ||
9092 | cat >conftest.$ac_ext <<_ACEOF | ||
9093 | #line $LINENO "configure" | ||
9094 | /* confdefs.h. */ | ||
9095 | _ACEOF | ||
9096 | cat confdefs.h >>conftest.$ac_ext | ||
9097 | cat >>conftest.$ac_ext <<_ACEOF | ||
9098 | /* end confdefs.h. */ | ||
9099 | |||
9100 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9101 | #ifdef __cplusplus | ||
9102 | extern "C" | ||
9103 | #endif | ||
9104 | /* We use char because int might match the return type of a gcc2 | ||
9105 | builtin and then its argument prototype would still apply. */ | ||
9106 | char pam_set_item (); | ||
9107 | int | ||
9108 | main () | ||
9109 | { | ||
9110 | pam_set_item (); | ||
9111 | ; | ||
9112 | return 0; | ||
9113 | } | ||
9114 | _ACEOF | ||
9115 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9116 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9117 | (eval $ac_link) 2>&5 | ||
9118 | ac_status=$? | ||
9119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9120 | (exit $ac_status); } && | ||
9121 | { ac_try='test -s conftest$ac_exeext' | ||
9122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9123 | (eval $ac_try) 2>&5 | ||
9124 | ac_status=$? | ||
9125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9126 | (exit $ac_status); }; }; then | ||
9127 | ac_cv_lib_pam_pam_set_item=yes | ||
9128 | else | ||
9129 | echo "$as_me: failed program was:" >&5 | ||
9130 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9131 | |||
9132 | ac_cv_lib_pam_pam_set_item=no | ||
9133 | fi | ||
9134 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
9135 | LIBS=$ac_check_lib_save_LIBS | ||
9136 | fi | ||
9137 | echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 | ||
9138 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 | ||
9139 | if test $ac_cv_lib_pam_pam_set_item = yes; then | ||
9140 | cat >>confdefs.h <<_ACEOF | ||
9141 | @%:@define HAVE_LIBPAM 1 | ||
9142 | _ACEOF | ||
9143 | |||
9144 | LIBS="-lpam $LIBS" | ||
9145 | |||
9146 | else | ||
9147 | { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | ||
9148 | echo "$as_me: error: *** libpam missing" >&2;} | ||
9149 | { (exit 1); exit 1; }; } | ||
9150 | fi | ||
9151 | |||
9152 | |||
9153 | for ac_func in pam_getenvlist | ||
9154 | do | ||
9155 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
9156 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
9157 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
9158 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
9159 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9160 | else | ||
9161 | cat >conftest.$ac_ext <<_ACEOF | ||
9162 | #line $LINENO "configure" | ||
9163 | /* confdefs.h. */ | ||
9164 | _ACEOF | ||
9165 | cat confdefs.h >>conftest.$ac_ext | ||
9166 | cat >>conftest.$ac_ext <<_ACEOF | ||
9167 | /* end confdefs.h. */ | ||
9168 | /* System header to define __stub macros and hopefully few prototypes, | ||
9169 | which can conflict with char $ac_func (); below. | ||
9170 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
9171 | <limits.h> exists even on freestanding compilers. */ | ||
9172 | #ifdef __STDC__ | ||
9173 | # include <limits.h> | ||
9174 | #else | ||
9175 | # include <assert.h> | ||
9176 | #endif | ||
9177 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9178 | #ifdef __cplusplus | ||
9179 | extern "C" | ||
9180 | { | ||
9181 | #endif | ||
9182 | /* We use char because int might match the return type of a gcc2 | ||
9183 | builtin and then its argument prototype would still apply. */ | ||
9184 | char $ac_func (); | ||
9185 | /* The GNU C library defines this for functions which it implements | ||
9186 | to always fail with ENOSYS. Some functions are actually named | ||
9187 | something starting with __ and the normal name is an alias. */ | ||
9188 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
9189 | choke me | ||
9190 | #else | ||
9191 | char (*f) () = $ac_func; | ||
9192 | #endif | ||
9193 | #ifdef __cplusplus | ||
9194 | } | ||
9195 | #endif | ||
9196 | |||
9197 | int | ||
9198 | main () | ||
9199 | { | ||
9200 | return f != $ac_func; | ||
9201 | ; | ||
9202 | return 0; | ||
9203 | } | ||
9204 | _ACEOF | ||
9205 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9206 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9207 | (eval $ac_link) 2>&5 | ||
9208 | ac_status=$? | ||
9209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9210 | (exit $ac_status); } && | ||
9211 | { ac_try='test -s conftest$ac_exeext' | ||
9212 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9213 | (eval $ac_try) 2>&5 | ||
9214 | ac_status=$? | ||
9215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9216 | (exit $ac_status); }; }; then | ||
9217 | eval "$as_ac_var=yes" | ||
9218 | else | ||
9219 | echo "$as_me: failed program was:" >&5 | ||
9220 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9221 | |||
9222 | eval "$as_ac_var=no" | ||
9223 | fi | ||
9224 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
9225 | fi | ||
9226 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
9227 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
9228 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
9229 | cat >>confdefs.h <<_ACEOF | ||
9230 | @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
9231 | _ACEOF | ||
9232 | |||
9233 | fi | ||
9234 | done | ||
9235 | |||
9236 | |||
9237 | disable_shadow=yes | ||
9238 | PAM_MSG="yes" | ||
9239 | |||
9240 | cat >>confdefs.h <<\_ACEOF | ||
9241 | @%:@define USE_PAM 1 | ||
9242 | _ACEOF | ||
9243 | |||
9244 | if test $ac_cv_lib_dl_dlopen = yes; then | ||
9245 | LIBPAM="-lpam -ldl" | ||
9246 | else | ||
9247 | LIBPAM="-lpam" | ||
9248 | fi | ||
9249 | |||
9250 | fi | ||
9251 | |||
9252 | |||
9253 | fi; | ||
9254 | |||
9255 | # Check for older PAM | ||
9256 | if test "x$PAM_MSG" = "xyes" ; then | ||
9257 | # Check PAM strerror arguments (old PAM) | ||
9258 | echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 | ||
9259 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 | ||
9260 | cat >conftest.$ac_ext <<_ACEOF | ||
9261 | #line $LINENO "configure" | ||
9262 | /* confdefs.h. */ | ||
9263 | _ACEOF | ||
9264 | cat confdefs.h >>conftest.$ac_ext | ||
9265 | cat >>conftest.$ac_ext <<_ACEOF | ||
9266 | /* end confdefs.h. */ | ||
9267 | |||
9268 | #include <stdlib.h> | ||
9269 | #include <security/pam_appl.h> | ||
9270 | |||
9271 | int | ||
9272 | main () | ||
9273 | { | ||
9274 | (void)pam_strerror((pam_handle_t *)NULL, -1); | ||
9275 | ; | ||
9276 | return 0; | ||
9277 | } | ||
9278 | _ACEOF | ||
9279 | rm -f conftest.$ac_objext | ||
9280 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
9281 | (eval $ac_compile) 2>&5 | ||
9282 | ac_status=$? | ||
9283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9284 | (exit $ac_status); } && | ||
9285 | { ac_try='test -s conftest.$ac_objext' | ||
9286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9287 | (eval $ac_try) 2>&5 | ||
9288 | ac_status=$? | ||
9289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9290 | (exit $ac_status); }; }; then | ||
9291 | echo "$as_me:$LINENO: result: no" >&5 | ||
9292 | echo "${ECHO_T}no" >&6 | ||
9293 | else | ||
9294 | echo "$as_me: failed program was:" >&5 | ||
9295 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9296 | |||
9297 | |||
9298 | cat >>confdefs.h <<\_ACEOF | ||
9299 | @%:@define HAVE_OLD_PAM 1 | ||
9300 | _ACEOF | ||
9301 | |||
9302 | echo "$as_me:$LINENO: result: yes" >&5 | ||
9303 | echo "${ECHO_T}yes" >&6 | ||
9304 | PAM_MSG="yes (old library)" | ||
9305 | |||
9306 | |||
9307 | fi | ||
9308 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
9309 | fi | ||
9310 | |||
9311 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, | ||
9312 | # because the system crypt() is more featureful. | ||
9313 | if test "x$check_for_libcrypt_before" = "x1"; then | ||
9314 | |||
9315 | echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | ||
9316 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | ||
9317 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | ||
9318 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9319 | else | ||
9320 | ac_check_lib_save_LIBS=$LIBS | ||
9321 | LIBS="-lcrypt $LIBS" | ||
9322 | cat >conftest.$ac_ext <<_ACEOF | ||
9323 | #line $LINENO "configure" | ||
9324 | /* confdefs.h. */ | ||
9325 | _ACEOF | ||
9326 | cat confdefs.h >>conftest.$ac_ext | ||
9327 | cat >>conftest.$ac_ext <<_ACEOF | ||
9328 | /* end confdefs.h. */ | ||
9329 | |||
9330 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9331 | #ifdef __cplusplus | ||
9332 | extern "C" | ||
9333 | #endif | ||
9334 | /* We use char because int might match the return type of a gcc2 | ||
9335 | builtin and then its argument prototype would still apply. */ | ||
9336 | char crypt (); | ||
9337 | int | ||
9338 | main () | ||
9339 | { | ||
9340 | crypt (); | ||
9341 | ; | ||
9342 | return 0; | ||
9343 | } | ||
9344 | _ACEOF | ||
9345 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9346 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9347 | (eval $ac_link) 2>&5 | ||
9348 | ac_status=$? | ||
9349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9350 | (exit $ac_status); } && | ||
9351 | { ac_try='test -s conftest$ac_exeext' | ||
9352 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9353 | (eval $ac_try) 2>&5 | ||
9354 | ac_status=$? | ||
9355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9356 | (exit $ac_status); }; }; then | ||
9357 | ac_cv_lib_crypt_crypt=yes | ||
9358 | else | ||
9359 | echo "$as_me: failed program was:" >&5 | ||
9360 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9361 | |||
9362 | ac_cv_lib_crypt_crypt=no | ||
9363 | fi | ||
9364 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
9365 | LIBS=$ac_check_lib_save_LIBS | ||
9366 | fi | ||
9367 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | ||
9368 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | ||
9369 | if test $ac_cv_lib_crypt_crypt = yes; then | ||
9370 | cat >>confdefs.h <<_ACEOF | ||
9371 | @%:@define HAVE_LIBCRYPT 1 | ||
9372 | _ACEOF | ||
9373 | |||
9374 | LIBS="-lcrypt $LIBS" | ||
9375 | |||
9376 | fi | ||
9377 | |||
9378 | fi | ||
9379 | |||
9380 | # Search for OpenSSL | ||
9381 | saved_CPPFLAGS="$CPPFLAGS" | ||
9382 | saved_LDFLAGS="$LDFLAGS" | ||
9383 | |||
9384 | # Check whether --with-ssl-dir or --without-ssl-dir was given. | ||
9385 | if test "${with_ssl_dir+set}" = set; then | ||
9386 | withval="$with_ssl_dir" | ||
9387 | |||
9388 | if test "x$withval" != "xno" ; then | ||
9389 | if test -d "$withval/lib"; then | ||
9390 | if test -n "${need_dash_r}"; then | ||
9391 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | ||
9392 | else | ||
9393 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | ||
9394 | fi | ||
9395 | else | ||
9396 | if test -n "${need_dash_r}"; then | ||
9397 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | ||
9398 | else | ||
9399 | LDFLAGS="-L${withval} ${LDFLAGS}" | ||
9400 | fi | ||
9401 | fi | ||
9402 | if test -d "$withval/include"; then | ||
9403 | CPPFLAGS="-I${withval}/include ${CPPFLAGS}" | ||
9404 | else | ||
9405 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | ||
9406 | fi | ||
9407 | fi | ||
9408 | |||
9409 | |||
9410 | fi; | ||
9411 | LIBS="$LIBS -lcrypto" | ||
9412 | cat >conftest.$ac_ext <<_ACEOF | ||
9413 | #line $LINENO "configure" | ||
9414 | /* confdefs.h. */ | ||
9415 | _ACEOF | ||
9416 | cat confdefs.h >>conftest.$ac_ext | ||
9417 | cat >>conftest.$ac_ext <<_ACEOF | ||
9418 | /* end confdefs.h. */ | ||
9419 | |||
9420 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9421 | #ifdef __cplusplus | ||
9422 | extern "C" | ||
9423 | #endif | ||
9424 | /* We use char because int might match the return type of a gcc2 | ||
9425 | builtin and then its argument prototype would still apply. */ | ||
9426 | char RAND_add (); | ||
9427 | int | ||
9428 | main () | ||
9429 | { | ||
9430 | RAND_add (); | ||
9431 | ; | ||
9432 | return 0; | ||
9433 | } | ||
9434 | _ACEOF | ||
9435 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9436 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9437 | (eval $ac_link) 2>&5 | ||
9438 | ac_status=$? | ||
9439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9440 | (exit $ac_status); } && | ||
9441 | { ac_try='test -s conftest$ac_exeext' | ||
9442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9443 | (eval $ac_try) 2>&5 | ||
9444 | ac_status=$? | ||
9445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9446 | (exit $ac_status); }; }; then | ||
9447 | cat >>confdefs.h <<\_ACEOF | ||
9448 | @%:@define HAVE_OPENSSL 1 | ||
9449 | _ACEOF | ||
9450 | |||
9451 | else | ||
9452 | echo "$as_me: failed program was:" >&5 | ||
9453 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9454 | |||
9455 | |||
9456 | if test -n "${need_dash_r}"; then | ||
9457 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" | ||
9458 | else | ||
9459 | LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" | ||
9460 | fi | ||
9461 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" | ||
9462 | cat >conftest.$ac_ext <<_ACEOF | ||
9463 | #line $LINENO "configure" | ||
9464 | /* confdefs.h. */ | ||
9465 | _ACEOF | ||
9466 | cat confdefs.h >>conftest.$ac_ext | ||
9467 | cat >>conftest.$ac_ext <<_ACEOF | ||
9468 | /* end confdefs.h. */ | ||
9469 | |||
9470 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9471 | #ifdef __cplusplus | ||
9472 | extern "C" | ||
9473 | #endif | ||
9474 | /* We use char because int might match the return type of a gcc2 | ||
9475 | builtin and then its argument prototype would still apply. */ | ||
9476 | char RAND_add (); | ||
9477 | int | ||
9478 | main () | ||
9479 | { | ||
9480 | RAND_add (); | ||
9481 | ; | ||
9482 | return 0; | ||
9483 | } | ||
9484 | _ACEOF | ||
9485 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9486 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9487 | (eval $ac_link) 2>&5 | ||
9488 | ac_status=$? | ||
9489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9490 | (exit $ac_status); } && | ||
9491 | { ac_try='test -s conftest$ac_exeext' | ||
9492 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9493 | (eval $ac_try) 2>&5 | ||
9494 | ac_status=$? | ||
9495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9496 | (exit $ac_status); }; }; then | ||
9497 | cat >>confdefs.h <<\_ACEOF | ||
9498 | @%:@define HAVE_OPENSSL 1 | ||
9499 | _ACEOF | ||
9500 | |||
9501 | else | ||
9502 | echo "$as_me: failed program was:" >&5 | ||
9503 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9504 | |||
9505 | |||
9506 | { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 | ||
9507 | echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} | ||
9508 | { (exit 1); exit 1; }; } | ||
9509 | |||
9510 | |||
9511 | fi | ||
9512 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
9513 | |||
9514 | |||
9515 | fi | ||
9516 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
9517 | |||
9518 | # Determine OpenSSL header version | ||
9519 | echo "$as_me:$LINENO: checking OpenSSL header version" >&5 | ||
9520 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 | ||
9521 | if test "$cross_compiling" = yes; then | ||
9522 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
9523 | See \`config.log' for more details." >&5 | ||
9524 | echo "$as_me: error: cannot run test program while cross compiling | ||
9525 | See \`config.log' for more details." >&2;} | ||
9526 | { (exit 1); exit 1; }; } | ||
9527 | else | ||
9528 | cat >conftest.$ac_ext <<_ACEOF | ||
9529 | #line $LINENO "configure" | ||
9530 | /* confdefs.h. */ | ||
9531 | _ACEOF | ||
9532 | cat confdefs.h >>conftest.$ac_ext | ||
9533 | cat >>conftest.$ac_ext <<_ACEOF | ||
9534 | /* end confdefs.h. */ | ||
9535 | |||
9536 | #include <stdio.h> | ||
9537 | #include <string.h> | ||
9538 | #include <openssl/opensslv.h> | ||
9539 | #define DATA "conftest.sslincver" | ||
9540 | int main(void) { | ||
9541 | FILE *fd; | ||
9542 | int rc; | ||
9543 | |||
9544 | fd = fopen(DATA,"w"); | ||
9545 | if(fd == NULL) | ||
9546 | exit(1); | ||
9547 | |||
9548 | if ((rc = fprintf(fd ,"%x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) | ||
9549 | exit(1); | ||
9550 | |||
9551 | exit(0); | ||
9552 | } | ||
9553 | |||
9554 | _ACEOF | ||
9555 | rm -f conftest$ac_exeext | ||
9556 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9557 | (eval $ac_link) 2>&5 | ||
9558 | ac_status=$? | ||
9559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9560 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9561 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9562 | (eval $ac_try) 2>&5 | ||
9563 | ac_status=$? | ||
9564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9565 | (exit $ac_status); }; }; then | ||
9566 | |||
9567 | ssl_header_ver=`cat conftest.sslincver` | ||
9568 | echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 | ||
9569 | echo "${ECHO_T}$ssl_header_ver" >&6 | ||
9570 | |||
9571 | else | ||
9572 | echo "$as_me: program exited with status $ac_status" >&5 | ||
9573 | echo "$as_me: failed program was:" >&5 | ||
9574 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9575 | |||
9576 | ( exit $ac_status ) | ||
9577 | |||
9578 | echo "$as_me:$LINENO: result: not found" >&5 | ||
9579 | echo "${ECHO_T}not found" >&6 | ||
9580 | { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 | ||
9581 | echo "$as_me: error: OpenSSL version header not found." >&2;} | ||
9582 | { (exit 1); exit 1; }; } | ||
9583 | |||
9584 | |||
9585 | fi | ||
9586 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9587 | fi | ||
9588 | |||
9589 | # Determine OpenSSL library version | ||
9590 | echo "$as_me:$LINENO: checking OpenSSL library version" >&5 | ||
9591 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 | ||
9592 | if test "$cross_compiling" = yes; then | ||
9593 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
9594 | See \`config.log' for more details." >&5 | ||
9595 | echo "$as_me: error: cannot run test program while cross compiling | ||
9596 | See \`config.log' for more details." >&2;} | ||
9597 | { (exit 1); exit 1; }; } | ||
9598 | else | ||
9599 | cat >conftest.$ac_ext <<_ACEOF | ||
9600 | #line $LINENO "configure" | ||
9601 | /* confdefs.h. */ | ||
9602 | _ACEOF | ||
9603 | cat confdefs.h >>conftest.$ac_ext | ||
9604 | cat >>conftest.$ac_ext <<_ACEOF | ||
9605 | /* end confdefs.h. */ | ||
9606 | |||
9607 | #include <stdio.h> | ||
9608 | #include <string.h> | ||
9609 | #include <openssl/opensslv.h> | ||
9610 | #include <openssl/crypto.h> | ||
9611 | #define DATA "conftest.ssllibver" | ||
9612 | int main(void) { | ||
9613 | FILE *fd; | ||
9614 | int rc; | ||
9615 | |||
9616 | fd = fopen(DATA,"w"); | ||
9617 | if(fd == NULL) | ||
9618 | exit(1); | ||
9619 | |||
9620 | if ((rc = fprintf(fd ,"%x (%s)\n", SSLeay(), SSLeay_version(SSLEAY_VERSION))) <0) | ||
9621 | exit(1); | ||
9622 | |||
9623 | exit(0); | ||
9624 | } | ||
9625 | |||
9626 | _ACEOF | ||
9627 | rm -f conftest$ac_exeext | ||
9628 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9629 | (eval $ac_link) 2>&5 | ||
9630 | ac_status=$? | ||
9631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9632 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9633 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9634 | (eval $ac_try) 2>&5 | ||
9635 | ac_status=$? | ||
9636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9637 | (exit $ac_status); }; }; then | ||
9638 | |||
9639 | ssl_library_ver=`cat conftest.ssllibver` | ||
9640 | echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 | ||
9641 | echo "${ECHO_T}$ssl_library_ver" >&6 | ||
9642 | |||
9643 | else | ||
9644 | echo "$as_me: program exited with status $ac_status" >&5 | ||
9645 | echo "$as_me: failed program was:" >&5 | ||
9646 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9647 | |||
9648 | ( exit $ac_status ) | ||
9649 | |||
9650 | echo "$as_me:$LINENO: result: not found" >&5 | ||
9651 | echo "${ECHO_T}not found" >&6 | ||
9652 | { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 | ||
9653 | echo "$as_me: error: OpenSSL library not found." >&2;} | ||
9654 | { (exit 1); exit 1; }; } | ||
9655 | |||
9656 | |||
9657 | fi | ||
9658 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9659 | fi | ||
9660 | |||
9661 | # Sanity check OpenSSL headers | ||
9662 | echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 | ||
9663 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 | ||
9664 | if test "$cross_compiling" = yes; then | ||
9665 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
9666 | See \`config.log' for more details." >&5 | ||
9667 | echo "$as_me: error: cannot run test program while cross compiling | ||
9668 | See \`config.log' for more details." >&2;} | ||
9669 | { (exit 1); exit 1; }; } | ||
9670 | else | ||
9671 | cat >conftest.$ac_ext <<_ACEOF | ||
9672 | #line $LINENO "configure" | ||
9673 | /* confdefs.h. */ | ||
9674 | _ACEOF | ||
9675 | cat confdefs.h >>conftest.$ac_ext | ||
9676 | cat >>conftest.$ac_ext <<_ACEOF | ||
9677 | /* end confdefs.h. */ | ||
9678 | |||
9679 | #include <string.h> | ||
9680 | #include <openssl/opensslv.h> | ||
9681 | int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); } | ||
9682 | |||
9683 | _ACEOF | ||
9684 | rm -f conftest$ac_exeext | ||
9685 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9686 | (eval $ac_link) 2>&5 | ||
9687 | ac_status=$? | ||
9688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9689 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9690 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9691 | (eval $ac_try) 2>&5 | ||
9692 | ac_status=$? | ||
9693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9694 | (exit $ac_status); }; }; then | ||
9695 | |||
9696 | echo "$as_me:$LINENO: result: yes" >&5 | ||
9697 | echo "${ECHO_T}yes" >&6 | ||
9698 | |||
9699 | else | ||
9700 | echo "$as_me: program exited with status $ac_status" >&5 | ||
9701 | echo "$as_me: failed program was:" >&5 | ||
9702 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9703 | |||
9704 | ( exit $ac_status ) | ||
9705 | |||
9706 | echo "$as_me:$LINENO: result: no" >&5 | ||
9707 | echo "${ECHO_T}no" >&6 | ||
9708 | { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library" >&5 | ||
9709 | echo "$as_me: error: Your OpenSSL headers do not match your library" >&2;} | ||
9710 | { (exit 1); exit 1; }; } | ||
9711 | |||
9712 | |||
9713 | fi | ||
9714 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9715 | fi | ||
9716 | |||
9717 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the | ||
9718 | # version in OpenSSL. Skip this for PAM | ||
9719 | if test "x$PAM_MSG" = "xno" -a "x$check_for_libcrypt_later" = "x1"; then | ||
9720 | echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | ||
9721 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | ||
9722 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | ||
9723 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9724 | else | ||
9725 | ac_check_lib_save_LIBS=$LIBS | ||
9726 | LIBS="-lcrypt $LIBS" | ||
9727 | cat >conftest.$ac_ext <<_ACEOF | ||
9728 | #line $LINENO "configure" | ||
9729 | /* confdefs.h. */ | ||
9730 | _ACEOF | ||
9731 | cat confdefs.h >>conftest.$ac_ext | ||
9732 | cat >>conftest.$ac_ext <<_ACEOF | ||
9733 | /* end confdefs.h. */ | ||
9734 | |||
9735 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9736 | #ifdef __cplusplus | ||
9737 | extern "C" | ||
9738 | #endif | ||
9739 | /* We use char because int might match the return type of a gcc2 | ||
9740 | builtin and then its argument prototype would still apply. */ | ||
9741 | char crypt (); | ||
9742 | int | ||
9743 | main () | ||
9744 | { | ||
9745 | crypt (); | ||
9746 | ; | ||
9747 | return 0; | ||
9748 | } | ||
9749 | _ACEOF | ||
9750 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9751 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9752 | (eval $ac_link) 2>&5 | ||
9753 | ac_status=$? | ||
9754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9755 | (exit $ac_status); } && | ||
9756 | { ac_try='test -s conftest$ac_exeext' | ||
9757 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9758 | (eval $ac_try) 2>&5 | ||
9759 | ac_status=$? | ||
9760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9761 | (exit $ac_status); }; }; then | ||
9762 | ac_cv_lib_crypt_crypt=yes | ||
9763 | else | ||
9764 | echo "$as_me: failed program was:" >&5 | ||
9765 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9766 | |||
9767 | ac_cv_lib_crypt_crypt=no | ||
9768 | fi | ||
9769 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
9770 | LIBS=$ac_check_lib_save_LIBS | ||
9771 | fi | ||
9772 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | ||
9773 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | ||
9774 | if test $ac_cv_lib_crypt_crypt = yes; then | ||
9775 | LIBS="$LIBS -lcrypt" | ||
9776 | fi | ||
9777 | |||
9778 | fi | ||
9779 | |||
9780 | |||
9781 | ### Configure cryptographic random number support | ||
9782 | |||
9783 | # Check wheter OpenSSL seeds itself | ||
9784 | echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 | ||
9785 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 | ||
9786 | if test "$cross_compiling" = yes; then | ||
9787 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
9788 | See \`config.log' for more details." >&5 | ||
9789 | echo "$as_me: error: cannot run test program while cross compiling | ||
9790 | See \`config.log' for more details." >&2;} | ||
9791 | { (exit 1); exit 1; }; } | ||
9792 | else | ||
9793 | cat >conftest.$ac_ext <<_ACEOF | ||
9794 | #line $LINENO "configure" | ||
9795 | /* confdefs.h. */ | ||
9796 | _ACEOF | ||
9797 | cat confdefs.h >>conftest.$ac_ext | ||
9798 | cat >>conftest.$ac_ext <<_ACEOF | ||
9799 | /* end confdefs.h. */ | ||
9800 | |||
9801 | #include <string.h> | ||
9802 | #include <openssl/rand.h> | ||
9803 | int main(void) { exit(RAND_status() == 1 ? 0 : 1); } | ||
9804 | |||
9805 | _ACEOF | ||
9806 | rm -f conftest$ac_exeext | ||
9807 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
9808 | (eval $ac_link) 2>&5 | ||
9809 | ac_status=$? | ||
9810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9811 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
9813 | (eval $ac_try) 2>&5 | ||
9814 | ac_status=$? | ||
9815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9816 | (exit $ac_status); }; }; then | ||
9817 | |||
9818 | OPENSSL_SEEDS_ITSELF=yes | ||
9819 | echo "$as_me:$LINENO: result: yes" >&5 | ||
9820 | echo "${ECHO_T}yes" >&6 | ||
9821 | |||
9822 | else | ||
9823 | echo "$as_me: program exited with status $ac_status" >&5 | ||
9824 | echo "$as_me: failed program was:" >&5 | ||
9825 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9826 | |||
9827 | ( exit $ac_status ) | ||
9828 | |||
9829 | echo "$as_me:$LINENO: result: no" >&5 | ||
9830 | echo "${ECHO_T}no" >&6 | ||
9831 | # Default to use of the rand helper if OpenSSL doesn't | ||
9832 | # seed itself | ||
9833 | USE_RAND_HELPER=yes | ||
9834 | |||
9835 | |||
9836 | fi | ||
9837 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
9838 | fi | ||
9839 | |||
9840 | |||
9841 | # Do we want to force the use of the rand helper? | ||
9842 | |||
9843 | # Check whether --with-rand-helper or --without-rand-helper was given. | ||
9844 | if test "${with_rand_helper+set}" = set; then | ||
9845 | withval="$with_rand_helper" | ||
9846 | |||
9847 | if test "x$withval" = "xno" ; then | ||
9848 | # Force use of OpenSSL's internal RNG, even if | ||
9849 | # the previous test showed it to be unseeded. | ||
9850 | if test -z "$OPENSSL_SEEDS_ITSELF" ; then | ||
9851 | { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 | ||
9852 | echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} | ||
9853 | OPENSSL_SEEDS_ITSELF=yes | ||
9854 | USE_RAND_HELPER="" | ||
9855 | fi | ||
9856 | else | ||
9857 | USE_RAND_HELPER=yes | ||
9858 | fi | ||
9859 | |||
9860 | fi; | ||
9861 | |||
9862 | # Which randomness source do we use? | ||
9863 | if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then | ||
9864 | # OpenSSL only | ||
9865 | cat >>confdefs.h <<\_ACEOF | ||
9866 | @%:@define OPENSSL_PRNG_ONLY 1 | ||
9867 | _ACEOF | ||
9868 | |||
9869 | RAND_MSG="OpenSSL internal ONLY" | ||
9870 | INSTALL_SSH_RAND_HELPER="" | ||
9871 | elif test ! -z "$USE_RAND_HELPER" ; then | ||
9872 | # install rand helper | ||
9873 | RAND_MSG="ssh-rand-helper" | ||
9874 | INSTALL_SSH_RAND_HELPER="yes" | ||
9875 | fi | ||
9876 | |||
9877 | |||
9878 | ### Configuration of ssh-rand-helper | ||
9879 | |||
9880 | # PRNGD TCP socket | ||
9881 | |||
9882 | # Check whether --with-prngd-port or --without-prngd-port was given. | ||
9883 | if test "${with_prngd_port+set}" = set; then | ||
9884 | withval="$with_prngd_port" | ||
9885 | |||
9886 | case "$withval" in | ||
9887 | no) | ||
9888 | withval="" | ||
9889 | ;; | ||
9890 | [0-9]*) | ||
9891 | ;; | ||
9892 | *) | ||
9893 | { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5 | ||
9894 | echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} | ||
9895 | { (exit 1); exit 1; }; } | ||
9896 | ;; | ||
9897 | esac | ||
9898 | if test ! -z "$withval" ; then | ||
9899 | PRNGD_PORT="$withval" | ||
9900 | cat >>confdefs.h <<_ACEOF | ||
9901 | @%:@define PRNGD_PORT $PRNGD_PORT | ||
9902 | _ACEOF | ||
9903 | |||
9904 | fi | ||
9905 | |||
9906 | |||
9907 | fi; | ||
9908 | |||
9909 | # PRNGD Unix domain socket | ||
9910 | |||
9911 | # Check whether --with-prngd-socket or --without-prngd-socket was given. | ||
9912 | if test "${with_prngd_socket+set}" = set; then | ||
9913 | withval="$with_prngd_socket" | ||
9914 | |||
9915 | case "$withval" in | ||
9916 | yes) | ||
9917 | withval="/var/run/egd-pool" | ||
9918 | ;; | ||
9919 | no) | ||
9920 | withval="" | ||
9921 | ;; | ||
9922 | /*) | ||
9923 | ;; | ||
9924 | *) | ||
9925 | { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5 | ||
9926 | echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} | ||
9927 | { (exit 1); exit 1; }; } | ||
9928 | ;; | ||
9929 | esac | ||
9930 | |||
9931 | if test ! -z "$withval" ; then | ||
9932 | if test ! -z "$PRNGD_PORT" ; then | ||
9933 | { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5 | ||
9934 | echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} | ||
9935 | { (exit 1); exit 1; }; } | ||
9936 | fi | ||
9937 | if test ! -r "$withval" ; then | ||
9938 | { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5 | ||
9939 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} | ||
9940 | fi | ||
9941 | PRNGD_SOCKET="$withval" | ||
9942 | cat >>confdefs.h <<_ACEOF | ||
9943 | @%:@define PRNGD_SOCKET "$PRNGD_SOCKET" | ||
9944 | _ACEOF | ||
9945 | |||
9946 | fi | ||
9947 | |||
9948 | else | ||
9949 | |||
9950 | # Check for existing socket only if we don't have a random device already | ||
9951 | if test "$USE_RAND_HELPER" = yes ; then | ||
9952 | echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 | ||
9953 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 | ||
9954 | # Insert other locations here | ||
9955 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do | ||
9956 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then | ||
9957 | PRNGD_SOCKET="$sock" | ||
9958 | cat >>confdefs.h <<_ACEOF | ||
9959 | @%:@define PRNGD_SOCKET "$PRNGD_SOCKET" | ||
9960 | _ACEOF | ||
9961 | |||
9962 | break; | ||
9963 | fi | ||
9964 | done | ||
9965 | if test ! -z "$PRNGD_SOCKET" ; then | ||
9966 | echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 | ||
9967 | echo "${ECHO_T}$PRNGD_SOCKET" >&6 | ||
9968 | else | ||
9969 | echo "$as_me:$LINENO: result: not found" >&5 | ||
9970 | echo "${ECHO_T}not found" >&6 | ||
9971 | fi | ||
9972 | fi | ||
9973 | |||
9974 | |||
9975 | fi; | ||
9976 | |||
9977 | # Change default command timeout for hashing entropy source | ||
9978 | entropy_timeout=200 | ||
9979 | |||
9980 | # Check whether --with-entropy-timeout or --without-entropy-timeout was given. | ||
9981 | if test "${with_entropy_timeout+set}" = set; then | ||
9982 | withval="$with_entropy_timeout" | ||
9983 | |||
9984 | if test "x$withval" != "xno" ; then | ||
9985 | entropy_timeout=$withval | ||
9986 | fi | ||
9987 | |||
9988 | |||
9989 | fi; | ||
9990 | cat >>confdefs.h <<_ACEOF | ||
9991 | @%:@define ENTROPY_TIMEOUT_MSEC $entropy_timeout | ||
9992 | _ACEOF | ||
9993 | |||
9994 | |||
9995 | SSH_PRIVSEP_USER=sshd | ||
9996 | |||
9997 | # Check whether --with-privsep-user or --without-privsep-user was given. | ||
9998 | if test "${with_privsep_user+set}" = set; then | ||
9999 | withval="$with_privsep_user" | ||
10000 | |||
10001 | if test -n "$withval"; then | ||
10002 | SSH_PRIVSEP_USER=$withval | ||
10003 | fi | ||
10004 | |||
10005 | |||
10006 | fi; | ||
10007 | cat >>confdefs.h <<_ACEOF | ||
10008 | @%:@define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" | ||
10009 | _ACEOF | ||
10010 | |||
10011 | |||
10012 | |||
10013 | # We do this little dance with the search path to insure | ||
10014 | # that programs that we select for use by installed programs | ||
10015 | # (which may be run by the super-user) come from trusted | ||
10016 | # locations before they come from the user's private area. | ||
10017 | # This should help avoid accidentally configuring some | ||
10018 | # random version of a program in someone's personal bin. | ||
10019 | |||
10020 | OPATH=$PATH | ||
10021 | PATH=/bin:/usr/bin | ||
10022 | test -h /bin 2> /dev/null && PATH=/usr/bin | ||
10023 | test -d /sbin && PATH=$PATH:/sbin | ||
10024 | test -d /usr/sbin && PATH=$PATH:/usr/sbin | ||
10025 | PATH=$PATH:/etc:$OPATH | ||
10026 | |||
10027 | # These programs are used by the command hashing source to gather entropy | ||
10028 | |||
10029 | # Extract the first word of "ls", so it can be a program name with args. | ||
10030 | set dummy ls; ac_word=$2 | ||
10031 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10032 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10033 | if test "${ac_cv_path_PROG_LS+set}" = set; then | ||
10034 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10035 | else | ||
10036 | case $PROG_LS in | ||
10037 | [\\/]* | ?:[\\/]*) | ||
10038 | ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path. | ||
10039 | ;; | ||
10040 | *) | ||
10041 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10042 | for as_dir in $PATH | ||
10043 | do | ||
10044 | IFS=$as_save_IFS | ||
10045 | test -z "$as_dir" && as_dir=. | ||
10046 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10047 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10048 | ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext" | ||
10049 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10050 | break 2 | ||
10051 | fi | ||
10052 | done | ||
10053 | done | ||
10054 | |||
10055 | ;; | ||
10056 | esac | ||
10057 | fi | ||
10058 | PROG_LS=$ac_cv_path_PROG_LS | ||
10059 | |||
10060 | if test -n "$PROG_LS"; then | ||
10061 | echo "$as_me:$LINENO: result: $PROG_LS" >&5 | ||
10062 | echo "${ECHO_T}$PROG_LS" >&6 | ||
10063 | else | ||
10064 | echo "$as_me:$LINENO: result: no" >&5 | ||
10065 | echo "${ECHO_T}no" >&6 | ||
10066 | fi | ||
10067 | |||
10068 | if test -z "$PROG_LS" ; then | ||
10069 | PROG_LS="undef" | ||
10070 | fi | ||
10071 | |||
10072 | |||
10073 | |||
10074 | # Extract the first word of "netstat", so it can be a program name with args. | ||
10075 | set dummy netstat; ac_word=$2 | ||
10076 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10077 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10078 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then | ||
10079 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10080 | else | ||
10081 | case $PROG_NETSTAT in | ||
10082 | [\\/]* | ?:[\\/]*) | ||
10083 | ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path. | ||
10084 | ;; | ||
10085 | *) | ||
10086 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10087 | for as_dir in $PATH | ||
10088 | do | ||
10089 | IFS=$as_save_IFS | ||
10090 | test -z "$as_dir" && as_dir=. | ||
10091 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10092 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10093 | ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
10094 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10095 | break 2 | ||
10096 | fi | ||
10097 | done | ||
10098 | done | ||
10099 | |||
10100 | ;; | ||
10101 | esac | ||
10102 | fi | ||
10103 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT | ||
10104 | |||
10105 | if test -n "$PROG_NETSTAT"; then | ||
10106 | echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 | ||
10107 | echo "${ECHO_T}$PROG_NETSTAT" >&6 | ||
10108 | else | ||
10109 | echo "$as_me:$LINENO: result: no" >&5 | ||
10110 | echo "${ECHO_T}no" >&6 | ||
10111 | fi | ||
10112 | |||
10113 | if test -z "$PROG_NETSTAT" ; then | ||
10114 | PROG_NETSTAT="undef" | ||
10115 | fi | ||
10116 | |||
10117 | |||
10118 | |||
10119 | # Extract the first word of "arp", so it can be a program name with args. | ||
10120 | set dummy arp; ac_word=$2 | ||
10121 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10122 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10123 | if test "${ac_cv_path_PROG_ARP+set}" = set; then | ||
10124 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10125 | else | ||
10126 | case $PROG_ARP in | ||
10127 | [\\/]* | ?:[\\/]*) | ||
10128 | ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path. | ||
10129 | ;; | ||
10130 | *) | ||
10131 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10132 | for as_dir in $PATH | ||
10133 | do | ||
10134 | IFS=$as_save_IFS | ||
10135 | test -z "$as_dir" && as_dir=. | ||
10136 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10137 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10138 | ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext" | ||
10139 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10140 | break 2 | ||
10141 | fi | ||
10142 | done | ||
10143 | done | ||
10144 | |||
10145 | ;; | ||
10146 | esac | ||
10147 | fi | ||
10148 | PROG_ARP=$ac_cv_path_PROG_ARP | ||
10149 | |||
10150 | if test -n "$PROG_ARP"; then | ||
10151 | echo "$as_me:$LINENO: result: $PROG_ARP" >&5 | ||
10152 | echo "${ECHO_T}$PROG_ARP" >&6 | ||
10153 | else | ||
10154 | echo "$as_me:$LINENO: result: no" >&5 | ||
10155 | echo "${ECHO_T}no" >&6 | ||
10156 | fi | ||
10157 | |||
10158 | if test -z "$PROG_ARP" ; then | ||
10159 | PROG_ARP="undef" | ||
10160 | fi | ||
10161 | |||
10162 | |||
10163 | |||
10164 | # Extract the first word of "ifconfig", so it can be a program name with args. | ||
10165 | set dummy ifconfig; ac_word=$2 | ||
10166 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10167 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10168 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then | ||
10169 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10170 | else | ||
10171 | case $PROG_IFCONFIG in | ||
10172 | [\\/]* | ?:[\\/]*) | ||
10173 | ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path. | ||
10174 | ;; | ||
10175 | *) | ||
10176 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10177 | for as_dir in $PATH | ||
10178 | do | ||
10179 | IFS=$as_save_IFS | ||
10180 | test -z "$as_dir" && as_dir=. | ||
10181 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10182 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10183 | ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
10184 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10185 | break 2 | ||
10186 | fi | ||
10187 | done | ||
10188 | done | ||
10189 | |||
10190 | ;; | ||
10191 | esac | ||
10192 | fi | ||
10193 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG | ||
10194 | |||
10195 | if test -n "$PROG_IFCONFIG"; then | ||
10196 | echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 | ||
10197 | echo "${ECHO_T}$PROG_IFCONFIG" >&6 | ||
10198 | else | ||
10199 | echo "$as_me:$LINENO: result: no" >&5 | ||
10200 | echo "${ECHO_T}no" >&6 | ||
10201 | fi | ||
10202 | |||
10203 | if test -z "$PROG_IFCONFIG" ; then | ||
10204 | PROG_IFCONFIG="undef" | ||
10205 | fi | ||
10206 | |||
10207 | |||
10208 | |||
10209 | # Extract the first word of "jstat", so it can be a program name with args. | ||
10210 | set dummy jstat; ac_word=$2 | ||
10211 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10212 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10213 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then | ||
10214 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10215 | else | ||
10216 | case $PROG_JSTAT in | ||
10217 | [\\/]* | ?:[\\/]*) | ||
10218 | ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path. | ||
10219 | ;; | ||
10220 | *) | ||
10221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10222 | for as_dir in $PATH | ||
10223 | do | ||
10224 | IFS=$as_save_IFS | ||
10225 | test -z "$as_dir" && as_dir=. | ||
10226 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10227 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10228 | ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
10229 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10230 | break 2 | ||
10231 | fi | ||
10232 | done | ||
10233 | done | ||
10234 | |||
10235 | ;; | ||
10236 | esac | ||
10237 | fi | ||
10238 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT | ||
10239 | |||
10240 | if test -n "$PROG_JSTAT"; then | ||
10241 | echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 | ||
10242 | echo "${ECHO_T}$PROG_JSTAT" >&6 | ||
10243 | else | ||
10244 | echo "$as_me:$LINENO: result: no" >&5 | ||
10245 | echo "${ECHO_T}no" >&6 | ||
10246 | fi | ||
10247 | |||
10248 | if test -z "$PROG_JSTAT" ; then | ||
10249 | PROG_JSTAT="undef" | ||
10250 | fi | ||
10251 | |||
10252 | |||
10253 | |||
10254 | # Extract the first word of "ps", so it can be a program name with args. | ||
10255 | set dummy ps; ac_word=$2 | ||
10256 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10257 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10258 | if test "${ac_cv_path_PROG_PS+set}" = set; then | ||
10259 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10260 | else | ||
10261 | case $PROG_PS in | ||
10262 | [\\/]* | ?:[\\/]*) | ||
10263 | ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path. | ||
10264 | ;; | ||
10265 | *) | ||
10266 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10267 | for as_dir in $PATH | ||
10268 | do | ||
10269 | IFS=$as_save_IFS | ||
10270 | test -z "$as_dir" && as_dir=. | ||
10271 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10272 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10273 | ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext" | ||
10274 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10275 | break 2 | ||
10276 | fi | ||
10277 | done | ||
10278 | done | ||
10279 | |||
10280 | ;; | ||
10281 | esac | ||
10282 | fi | ||
10283 | PROG_PS=$ac_cv_path_PROG_PS | ||
10284 | |||
10285 | if test -n "$PROG_PS"; then | ||
10286 | echo "$as_me:$LINENO: result: $PROG_PS" >&5 | ||
10287 | echo "${ECHO_T}$PROG_PS" >&6 | ||
10288 | else | ||
10289 | echo "$as_me:$LINENO: result: no" >&5 | ||
10290 | echo "${ECHO_T}no" >&6 | ||
10291 | fi | ||
10292 | |||
10293 | if test -z "$PROG_PS" ; then | ||
10294 | PROG_PS="undef" | ||
10295 | fi | ||
10296 | |||
10297 | |||
10298 | |||
10299 | # Extract the first word of "sar", so it can be a program name with args. | ||
10300 | set dummy sar; ac_word=$2 | ||
10301 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10302 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10303 | if test "${ac_cv_path_PROG_SAR+set}" = set; then | ||
10304 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10305 | else | ||
10306 | case $PROG_SAR in | ||
10307 | [\\/]* | ?:[\\/]*) | ||
10308 | ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path. | ||
10309 | ;; | ||
10310 | *) | ||
10311 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10312 | for as_dir in $PATH | ||
10313 | do | ||
10314 | IFS=$as_save_IFS | ||
10315 | test -z "$as_dir" && as_dir=. | ||
10316 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10317 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10318 | ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext" | ||
10319 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10320 | break 2 | ||
10321 | fi | ||
10322 | done | ||
10323 | done | ||
10324 | |||
10325 | ;; | ||
10326 | esac | ||
10327 | fi | ||
10328 | PROG_SAR=$ac_cv_path_PROG_SAR | ||
10329 | |||
10330 | if test -n "$PROG_SAR"; then | ||
10331 | echo "$as_me:$LINENO: result: $PROG_SAR" >&5 | ||
10332 | echo "${ECHO_T}$PROG_SAR" >&6 | ||
10333 | else | ||
10334 | echo "$as_me:$LINENO: result: no" >&5 | ||
10335 | echo "${ECHO_T}no" >&6 | ||
10336 | fi | ||
10337 | |||
10338 | if test -z "$PROG_SAR" ; then | ||
10339 | PROG_SAR="undef" | ||
10340 | fi | ||
10341 | |||
10342 | |||
10343 | |||
10344 | # Extract the first word of "w", so it can be a program name with args. | ||
10345 | set dummy w; ac_word=$2 | ||
10346 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10347 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10348 | if test "${ac_cv_path_PROG_W+set}" = set; then | ||
10349 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10350 | else | ||
10351 | case $PROG_W in | ||
10352 | [\\/]* | ?:[\\/]*) | ||
10353 | ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path. | ||
10354 | ;; | ||
10355 | *) | ||
10356 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10357 | for as_dir in $PATH | ||
10358 | do | ||
10359 | IFS=$as_save_IFS | ||
10360 | test -z "$as_dir" && as_dir=. | ||
10361 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10362 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10363 | ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext" | ||
10364 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10365 | break 2 | ||
10366 | fi | ||
10367 | done | ||
10368 | done | ||
10369 | |||
10370 | ;; | ||
10371 | esac | ||
10372 | fi | ||
10373 | PROG_W=$ac_cv_path_PROG_W | ||
10374 | |||
10375 | if test -n "$PROG_W"; then | ||
10376 | echo "$as_me:$LINENO: result: $PROG_W" >&5 | ||
10377 | echo "${ECHO_T}$PROG_W" >&6 | ||
10378 | else | ||
10379 | echo "$as_me:$LINENO: result: no" >&5 | ||
10380 | echo "${ECHO_T}no" >&6 | ||
10381 | fi | ||
10382 | |||
10383 | if test -z "$PROG_W" ; then | ||
10384 | PROG_W="undef" | ||
10385 | fi | ||
10386 | |||
10387 | |||
10388 | |||
10389 | # Extract the first word of "who", so it can be a program name with args. | ||
10390 | set dummy who; ac_word=$2 | ||
10391 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10392 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10393 | if test "${ac_cv_path_PROG_WHO+set}" = set; then | ||
10394 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10395 | else | ||
10396 | case $PROG_WHO in | ||
10397 | [\\/]* | ?:[\\/]*) | ||
10398 | ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path. | ||
10399 | ;; | ||
10400 | *) | ||
10401 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10402 | for as_dir in $PATH | ||
10403 | do | ||
10404 | IFS=$as_save_IFS | ||
10405 | test -z "$as_dir" && as_dir=. | ||
10406 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10407 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10408 | ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext" | ||
10409 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10410 | break 2 | ||
10411 | fi | ||
10412 | done | ||
10413 | done | ||
10414 | |||
10415 | ;; | ||
10416 | esac | ||
10417 | fi | ||
10418 | PROG_WHO=$ac_cv_path_PROG_WHO | ||
10419 | |||
10420 | if test -n "$PROG_WHO"; then | ||
10421 | echo "$as_me:$LINENO: result: $PROG_WHO" >&5 | ||
10422 | echo "${ECHO_T}$PROG_WHO" >&6 | ||
10423 | else | ||
10424 | echo "$as_me:$LINENO: result: no" >&5 | ||
10425 | echo "${ECHO_T}no" >&6 | ||
10426 | fi | ||
10427 | |||
10428 | if test -z "$PROG_WHO" ; then | ||
10429 | PROG_WHO="undef" | ||
10430 | fi | ||
10431 | |||
10432 | |||
10433 | |||
10434 | # Extract the first word of "last", so it can be a program name with args. | ||
10435 | set dummy last; ac_word=$2 | ||
10436 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10437 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10438 | if test "${ac_cv_path_PROG_LAST+set}" = set; then | ||
10439 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10440 | else | ||
10441 | case $PROG_LAST in | ||
10442 | [\\/]* | ?:[\\/]*) | ||
10443 | ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path. | ||
10444 | ;; | ||
10445 | *) | ||
10446 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10447 | for as_dir in $PATH | ||
10448 | do | ||
10449 | IFS=$as_save_IFS | ||
10450 | test -z "$as_dir" && as_dir=. | ||
10451 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10452 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10453 | ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext" | ||
10454 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10455 | break 2 | ||
10456 | fi | ||
10457 | done | ||
10458 | done | ||
10459 | |||
10460 | ;; | ||
10461 | esac | ||
10462 | fi | ||
10463 | PROG_LAST=$ac_cv_path_PROG_LAST | ||
10464 | |||
10465 | if test -n "$PROG_LAST"; then | ||
10466 | echo "$as_me:$LINENO: result: $PROG_LAST" >&5 | ||
10467 | echo "${ECHO_T}$PROG_LAST" >&6 | ||
10468 | else | ||
10469 | echo "$as_me:$LINENO: result: no" >&5 | ||
10470 | echo "${ECHO_T}no" >&6 | ||
10471 | fi | ||
10472 | |||
10473 | if test -z "$PROG_LAST" ; then | ||
10474 | PROG_LAST="undef" | ||
10475 | fi | ||
10476 | |||
10477 | |||
10478 | |||
10479 | # Extract the first word of "lastlog", so it can be a program name with args. | ||
10480 | set dummy lastlog; ac_word=$2 | ||
10481 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10482 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10483 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then | ||
10484 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10485 | else | ||
10486 | case $PROG_LASTLOG in | ||
10487 | [\\/]* | ?:[\\/]*) | ||
10488 | ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path. | ||
10489 | ;; | ||
10490 | *) | ||
10491 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10492 | for as_dir in $PATH | ||
10493 | do | ||
10494 | IFS=$as_save_IFS | ||
10495 | test -z "$as_dir" && as_dir=. | ||
10496 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10497 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10498 | ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext" | ||
10499 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10500 | break 2 | ||
10501 | fi | ||
10502 | done | ||
10503 | done | ||
10504 | |||
10505 | ;; | ||
10506 | esac | ||
10507 | fi | ||
10508 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG | ||
10509 | |||
10510 | if test -n "$PROG_LASTLOG"; then | ||
10511 | echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 | ||
10512 | echo "${ECHO_T}$PROG_LASTLOG" >&6 | ||
10513 | else | ||
10514 | echo "$as_me:$LINENO: result: no" >&5 | ||
10515 | echo "${ECHO_T}no" >&6 | ||
10516 | fi | ||
10517 | |||
10518 | if test -z "$PROG_LASTLOG" ; then | ||
10519 | PROG_LASTLOG="undef" | ||
10520 | fi | ||
10521 | |||
10522 | |||
10523 | |||
10524 | # Extract the first word of "df", so it can be a program name with args. | ||
10525 | set dummy df; ac_word=$2 | ||
10526 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10527 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10528 | if test "${ac_cv_path_PROG_DF+set}" = set; then | ||
10529 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10530 | else | ||
10531 | case $PROG_DF in | ||
10532 | [\\/]* | ?:[\\/]*) | ||
10533 | ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path. | ||
10534 | ;; | ||
10535 | *) | ||
10536 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10537 | for as_dir in $PATH | ||
10538 | do | ||
10539 | IFS=$as_save_IFS | ||
10540 | test -z "$as_dir" && as_dir=. | ||
10541 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10542 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10543 | ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext" | ||
10544 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10545 | break 2 | ||
10546 | fi | ||
10547 | done | ||
10548 | done | ||
10549 | |||
10550 | ;; | ||
10551 | esac | ||
10552 | fi | ||
10553 | PROG_DF=$ac_cv_path_PROG_DF | ||
10554 | |||
10555 | if test -n "$PROG_DF"; then | ||
10556 | echo "$as_me:$LINENO: result: $PROG_DF" >&5 | ||
10557 | echo "${ECHO_T}$PROG_DF" >&6 | ||
10558 | else | ||
10559 | echo "$as_me:$LINENO: result: no" >&5 | ||
10560 | echo "${ECHO_T}no" >&6 | ||
10561 | fi | ||
10562 | |||
10563 | if test -z "$PROG_DF" ; then | ||
10564 | PROG_DF="undef" | ||
10565 | fi | ||
10566 | |||
10567 | |||
10568 | |||
10569 | # Extract the first word of "vmstat", so it can be a program name with args. | ||
10570 | set dummy vmstat; ac_word=$2 | ||
10571 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10572 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10573 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then | ||
10574 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10575 | else | ||
10576 | case $PROG_VMSTAT in | ||
10577 | [\\/]* | ?:[\\/]*) | ||
10578 | ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path. | ||
10579 | ;; | ||
10580 | *) | ||
10581 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10582 | for as_dir in $PATH | ||
10583 | do | ||
10584 | IFS=$as_save_IFS | ||
10585 | test -z "$as_dir" && as_dir=. | ||
10586 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10587 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10588 | ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext" | ||
10589 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10590 | break 2 | ||
10591 | fi | ||
10592 | done | ||
10593 | done | ||
10594 | |||
10595 | ;; | ||
10596 | esac | ||
10597 | fi | ||
10598 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT | ||
10599 | |||
10600 | if test -n "$PROG_VMSTAT"; then | ||
10601 | echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 | ||
10602 | echo "${ECHO_T}$PROG_VMSTAT" >&6 | ||
10603 | else | ||
10604 | echo "$as_me:$LINENO: result: no" >&5 | ||
10605 | echo "${ECHO_T}no" >&6 | ||
10606 | fi | ||
10607 | |||
10608 | if test -z "$PROG_VMSTAT" ; then | ||
10609 | PROG_VMSTAT="undef" | ||
10610 | fi | ||
10611 | |||
10612 | |||
10613 | |||
10614 | # Extract the first word of "uptime", so it can be a program name with args. | ||
10615 | set dummy uptime; ac_word=$2 | ||
10616 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10617 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10618 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then | ||
10619 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10620 | else | ||
10621 | case $PROG_UPTIME in | ||
10622 | [\\/]* | ?:[\\/]*) | ||
10623 | ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path. | ||
10624 | ;; | ||
10625 | *) | ||
10626 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10627 | for as_dir in $PATH | ||
10628 | do | ||
10629 | IFS=$as_save_IFS | ||
10630 | test -z "$as_dir" && as_dir=. | ||
10631 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10632 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10633 | ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext" | ||
10634 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10635 | break 2 | ||
10636 | fi | ||
10637 | done | ||
10638 | done | ||
10639 | |||
10640 | ;; | ||
10641 | esac | ||
10642 | fi | ||
10643 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME | ||
10644 | |||
10645 | if test -n "$PROG_UPTIME"; then | ||
10646 | echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 | ||
10647 | echo "${ECHO_T}$PROG_UPTIME" >&6 | ||
10648 | else | ||
10649 | echo "$as_me:$LINENO: result: no" >&5 | ||
10650 | echo "${ECHO_T}no" >&6 | ||
10651 | fi | ||
10652 | |||
10653 | if test -z "$PROG_UPTIME" ; then | ||
10654 | PROG_UPTIME="undef" | ||
10655 | fi | ||
10656 | |||
10657 | |||
10658 | |||
10659 | # Extract the first word of "ipcs", so it can be a program name with args. | ||
10660 | set dummy ipcs; ac_word=$2 | ||
10661 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10662 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10663 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then | ||
10664 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10665 | else | ||
10666 | case $PROG_IPCS in | ||
10667 | [\\/]* | ?:[\\/]*) | ||
10668 | ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path. | ||
10669 | ;; | ||
10670 | *) | ||
10671 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10672 | for as_dir in $PATH | ||
10673 | do | ||
10674 | IFS=$as_save_IFS | ||
10675 | test -z "$as_dir" && as_dir=. | ||
10676 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10677 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10678 | ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext" | ||
10679 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10680 | break 2 | ||
10681 | fi | ||
10682 | done | ||
10683 | done | ||
10684 | |||
10685 | ;; | ||
10686 | esac | ||
10687 | fi | ||
10688 | PROG_IPCS=$ac_cv_path_PROG_IPCS | ||
10689 | |||
10690 | if test -n "$PROG_IPCS"; then | ||
10691 | echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 | ||
10692 | echo "${ECHO_T}$PROG_IPCS" >&6 | ||
10693 | else | ||
10694 | echo "$as_me:$LINENO: result: no" >&5 | ||
10695 | echo "${ECHO_T}no" >&6 | ||
10696 | fi | ||
10697 | |||
10698 | if test -z "$PROG_IPCS" ; then | ||
10699 | PROG_IPCS="undef" | ||
10700 | fi | ||
10701 | |||
10702 | |||
10703 | |||
10704 | # Extract the first word of "tail", so it can be a program name with args. | ||
10705 | set dummy tail; ac_word=$2 | ||
10706 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
10707 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
10708 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then | ||
10709 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10710 | else | ||
10711 | case $PROG_TAIL in | ||
10712 | [\\/]* | ?:[\\/]*) | ||
10713 | ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path. | ||
10714 | ;; | ||
10715 | *) | ||
10716 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
10717 | for as_dir in $PATH | ||
10718 | do | ||
10719 | IFS=$as_save_IFS | ||
10720 | test -z "$as_dir" && as_dir=. | ||
10721 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
10722 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
10723 | ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext" | ||
10724 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
10725 | break 2 | ||
10726 | fi | ||
10727 | done | ||
10728 | done | ||
10729 | |||
10730 | ;; | ||
10731 | esac | ||
10732 | fi | ||
10733 | PROG_TAIL=$ac_cv_path_PROG_TAIL | ||
10734 | |||
10735 | if test -n "$PROG_TAIL"; then | ||
10736 | echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 | ||
10737 | echo "${ECHO_T}$PROG_TAIL" >&6 | ||
10738 | else | ||
10739 | echo "$as_me:$LINENO: result: no" >&5 | ||
10740 | echo "${ECHO_T}no" >&6 | ||
10741 | fi | ||
10742 | |||
10743 | if test -z "$PROG_TAIL" ; then | ||
10744 | PROG_TAIL="undef" | ||
10745 | fi | ||
10746 | |||
10747 | |||
10748 | # restore PATH | ||
10749 | PATH=$OPATH | ||
10750 | |||
10751 | # Where does ssh-rand-helper get its randomness from? | ||
10752 | INSTALL_SSH_PRNG_CMDS="" | ||
10753 | if test ! -z "$INSTALL_SSH_RAND_HELPER" ; then | ||
10754 | if test ! -z "$PRNGD_PORT" ; then | ||
10755 | RAND_HELPER_MSG="TCP localhost:$PRNGD_PORT" | ||
10756 | elif test ! -z "$PRNGD_SOCKET" ; then | ||
10757 | RAND_HELPER_MSG="Unix domain socket \"$PRNGD_SOCKET\"" | ||
10758 | else | ||
10759 | RAND_HELPER_MSG="Command hashing (timeout $entropy_timeout)" | ||
10760 | RAND_HELPER_CMDHASH=yes | ||
10761 | INSTALL_SSH_PRNG_CMDS="yes" | ||
10762 | fi | ||
10763 | fi | ||
10764 | |||
10765 | |||
10766 | |||
10767 | # Cheap hack to ensure NEWS-OS libraries are arranged right. | ||
10768 | if test ! -z "$SONY" ; then | ||
10769 | LIBS="$LIBS -liberty"; | ||
10770 | fi | ||
10771 | |||
10772 | # Checks for data types | ||
10773 | echo "$as_me:$LINENO: checking for char" >&5 | ||
10774 | echo $ECHO_N "checking for char... $ECHO_C" >&6 | ||
10775 | if test "${ac_cv_type_char+set}" = set; then | ||
10776 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10777 | else | ||
10778 | cat >conftest.$ac_ext <<_ACEOF | ||
10779 | #line $LINENO "configure" | ||
10780 | /* confdefs.h. */ | ||
10781 | _ACEOF | ||
10782 | cat confdefs.h >>conftest.$ac_ext | ||
10783 | cat >>conftest.$ac_ext <<_ACEOF | ||
10784 | /* end confdefs.h. */ | ||
10785 | $ac_includes_default | ||
10786 | int | ||
10787 | main () | ||
10788 | { | ||
10789 | if ((char *) 0) | ||
10790 | return 0; | ||
10791 | if (sizeof (char)) | ||
10792 | return 0; | ||
10793 | ; | ||
10794 | return 0; | ||
10795 | } | ||
10796 | _ACEOF | ||
10797 | rm -f conftest.$ac_objext | ||
10798 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10799 | (eval $ac_compile) 2>&5 | ||
10800 | ac_status=$? | ||
10801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10802 | (exit $ac_status); } && | ||
10803 | { ac_try='test -s conftest.$ac_objext' | ||
10804 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10805 | (eval $ac_try) 2>&5 | ||
10806 | ac_status=$? | ||
10807 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10808 | (exit $ac_status); }; }; then | ||
10809 | ac_cv_type_char=yes | ||
10810 | else | ||
10811 | echo "$as_me: failed program was:" >&5 | ||
10812 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10813 | |||
10814 | ac_cv_type_char=no | ||
10815 | fi | ||
10816 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10817 | fi | ||
10818 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 | ||
10819 | echo "${ECHO_T}$ac_cv_type_char" >&6 | ||
10820 | |||
10821 | echo "$as_me:$LINENO: checking size of char" >&5 | ||
10822 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 | ||
10823 | if test "${ac_cv_sizeof_char+set}" = set; then | ||
10824 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10825 | else | ||
10826 | if test "$ac_cv_type_char" = yes; then | ||
10827 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
10828 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
10829 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
10830 | # This bug is HP SR number 8606223364. | ||
10831 | if test "$cross_compiling" = yes; then | ||
10832 | # Depending upon the size, compute the lo and hi bounds. | ||
10833 | cat >conftest.$ac_ext <<_ACEOF | ||
10834 | #line $LINENO "configure" | ||
10835 | /* confdefs.h. */ | ||
10836 | _ACEOF | ||
10837 | cat confdefs.h >>conftest.$ac_ext | ||
10838 | cat >>conftest.$ac_ext <<_ACEOF | ||
10839 | /* end confdefs.h. */ | ||
10840 | $ac_includes_default | ||
10841 | int | ||
10842 | main () | ||
10843 | { | ||
10844 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= 0)@:>@; | ||
10845 | test_array @<:@0@:>@ = 0 | ||
10846 | |||
10847 | ; | ||
10848 | return 0; | ||
10849 | } | ||
10850 | _ACEOF | ||
10851 | rm -f conftest.$ac_objext | ||
10852 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10853 | (eval $ac_compile) 2>&5 | ||
10854 | ac_status=$? | ||
10855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10856 | (exit $ac_status); } && | ||
10857 | { ac_try='test -s conftest.$ac_objext' | ||
10858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10859 | (eval $ac_try) 2>&5 | ||
10860 | ac_status=$? | ||
10861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10862 | (exit $ac_status); }; }; then | ||
10863 | ac_lo=0 ac_mid=0 | ||
10864 | while :; do | ||
10865 | cat >conftest.$ac_ext <<_ACEOF | ||
10866 | #line $LINENO "configure" | ||
10867 | /* confdefs.h. */ | ||
10868 | _ACEOF | ||
10869 | cat confdefs.h >>conftest.$ac_ext | ||
10870 | cat >>conftest.$ac_ext <<_ACEOF | ||
10871 | /* end confdefs.h. */ | ||
10872 | $ac_includes_default | ||
10873 | int | ||
10874 | main () | ||
10875 | { | ||
10876 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)@:>@; | ||
10877 | test_array @<:@0@:>@ = 0 | ||
10878 | |||
10879 | ; | ||
10880 | return 0; | ||
10881 | } | ||
10882 | _ACEOF | ||
10883 | rm -f conftest.$ac_objext | ||
10884 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10885 | (eval $ac_compile) 2>&5 | ||
10886 | ac_status=$? | ||
10887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10888 | (exit $ac_status); } && | ||
10889 | { ac_try='test -s conftest.$ac_objext' | ||
10890 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10891 | (eval $ac_try) 2>&5 | ||
10892 | ac_status=$? | ||
10893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10894 | (exit $ac_status); }; }; then | ||
10895 | ac_hi=$ac_mid; break | ||
10896 | else | ||
10897 | echo "$as_me: failed program was:" >&5 | ||
10898 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10899 | |||
10900 | ac_lo=`expr $ac_mid + 1` | ||
10901 | if test $ac_lo -le $ac_mid; then | ||
10902 | ac_lo= ac_hi= | ||
10903 | break | ||
10904 | fi | ||
10905 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
10906 | fi | ||
10907 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10908 | done | ||
10909 | else | ||
10910 | echo "$as_me: failed program was:" >&5 | ||
10911 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10912 | |||
10913 | cat >conftest.$ac_ext <<_ACEOF | ||
10914 | #line $LINENO "configure" | ||
10915 | /* confdefs.h. */ | ||
10916 | _ACEOF | ||
10917 | cat confdefs.h >>conftest.$ac_ext | ||
10918 | cat >>conftest.$ac_ext <<_ACEOF | ||
10919 | /* end confdefs.h. */ | ||
10920 | $ac_includes_default | ||
10921 | int | ||
10922 | main () | ||
10923 | { | ||
10924 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) < 0)@:>@; | ||
10925 | test_array @<:@0@:>@ = 0 | ||
10926 | |||
10927 | ; | ||
10928 | return 0; | ||
10929 | } | ||
10930 | _ACEOF | ||
10931 | rm -f conftest.$ac_objext | ||
10932 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10933 | (eval $ac_compile) 2>&5 | ||
10934 | ac_status=$? | ||
10935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10936 | (exit $ac_status); } && | ||
10937 | { ac_try='test -s conftest.$ac_objext' | ||
10938 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10939 | (eval $ac_try) 2>&5 | ||
10940 | ac_status=$? | ||
10941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10942 | (exit $ac_status); }; }; then | ||
10943 | ac_hi=-1 ac_mid=-1 | ||
10944 | while :; do | ||
10945 | cat >conftest.$ac_ext <<_ACEOF | ||
10946 | #line $LINENO "configure" | ||
10947 | /* confdefs.h. */ | ||
10948 | _ACEOF | ||
10949 | cat confdefs.h >>conftest.$ac_ext | ||
10950 | cat >>conftest.$ac_ext <<_ACEOF | ||
10951 | /* end confdefs.h. */ | ||
10952 | $ac_includes_default | ||
10953 | int | ||
10954 | main () | ||
10955 | { | ||
10956 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)@:>@; | ||
10957 | test_array @<:@0@:>@ = 0 | ||
10958 | |||
10959 | ; | ||
10960 | return 0; | ||
10961 | } | ||
10962 | _ACEOF | ||
10963 | rm -f conftest.$ac_objext | ||
10964 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10965 | (eval $ac_compile) 2>&5 | ||
10966 | ac_status=$? | ||
10967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10968 | (exit $ac_status); } && | ||
10969 | { ac_try='test -s conftest.$ac_objext' | ||
10970 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10971 | (eval $ac_try) 2>&5 | ||
10972 | ac_status=$? | ||
10973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10974 | (exit $ac_status); }; }; then | ||
10975 | ac_lo=$ac_mid; break | ||
10976 | else | ||
10977 | echo "$as_me: failed program was:" >&5 | ||
10978 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10979 | |||
10980 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
10981 | if test $ac_mid -le $ac_hi; then | ||
10982 | ac_lo= ac_hi= | ||
10983 | break | ||
10984 | fi | ||
10985 | ac_mid=`expr 2 '*' $ac_mid` | ||
10986 | fi | ||
10987 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10988 | done | ||
10989 | else | ||
10990 | echo "$as_me: failed program was:" >&5 | ||
10991 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10992 | |||
10993 | ac_lo= ac_hi= | ||
10994 | fi | ||
10995 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10996 | fi | ||
10997 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
10998 | # Binary search between lo and hi bounds. | ||
10999 | while test "x$ac_lo" != "x$ac_hi"; do | ||
11000 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
11001 | cat >conftest.$ac_ext <<_ACEOF | ||
11002 | #line $LINENO "configure" | ||
11003 | /* confdefs.h. */ | ||
11004 | _ACEOF | ||
11005 | cat confdefs.h >>conftest.$ac_ext | ||
11006 | cat >>conftest.$ac_ext <<_ACEOF | ||
11007 | /* end confdefs.h. */ | ||
11008 | $ac_includes_default | ||
11009 | int | ||
11010 | main () | ||
11011 | { | ||
11012 | static int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)@:>@; | ||
11013 | test_array @<:@0@:>@ = 0 | ||
11014 | |||
11015 | ; | ||
11016 | return 0; | ||
11017 | } | ||
11018 | _ACEOF | ||
11019 | rm -f conftest.$ac_objext | ||
11020 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11021 | (eval $ac_compile) 2>&5 | ||
11022 | ac_status=$? | ||
11023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11024 | (exit $ac_status); } && | ||
11025 | { ac_try='test -s conftest.$ac_objext' | ||
11026 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11027 | (eval $ac_try) 2>&5 | ||
11028 | ac_status=$? | ||
11029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11030 | (exit $ac_status); }; }; then | ||
11031 | ac_hi=$ac_mid | ||
11032 | else | ||
11033 | echo "$as_me: failed program was:" >&5 | ||
11034 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11035 | |||
11036 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11037 | fi | ||
11038 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11039 | done | ||
11040 | case $ac_lo in | ||
11041 | ?*) ac_cv_sizeof_char=$ac_lo;; | ||
11042 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 | ||
11043 | See \`config.log' for more details." >&5 | ||
11044 | echo "$as_me: error: cannot compute sizeof (char), 77 | ||
11045 | See \`config.log' for more details." >&2;} | ||
11046 | { (exit 1); exit 1; }; } ;; | ||
11047 | esac | ||
11048 | else | ||
11049 | if test "$cross_compiling" = yes; then | ||
11050 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
11051 | See \`config.log' for more details." >&5 | ||
11052 | echo "$as_me: error: cannot run test program while cross compiling | ||
11053 | See \`config.log' for more details." >&2;} | ||
11054 | { (exit 1); exit 1; }; } | ||
11055 | else | ||
11056 | cat >conftest.$ac_ext <<_ACEOF | ||
11057 | #line $LINENO "configure" | ||
11058 | /* confdefs.h. */ | ||
11059 | _ACEOF | ||
11060 | cat confdefs.h >>conftest.$ac_ext | ||
11061 | cat >>conftest.$ac_ext <<_ACEOF | ||
11062 | /* end confdefs.h. */ | ||
11063 | $ac_includes_default | ||
11064 | long longval () { return (long) (sizeof (char)); } | ||
11065 | unsigned long ulongval () { return (long) (sizeof (char)); } | ||
11066 | @%:@include <stdio.h> | ||
11067 | @%:@include <stdlib.h> | ||
11068 | int | ||
11069 | main () | ||
11070 | { | ||
11071 | |||
11072 | FILE *f = fopen ("conftest.val", "w"); | ||
11073 | if (! f) | ||
11074 | exit (1); | ||
11075 | if (((long) (sizeof (char))) < 0) | ||
11076 | { | ||
11077 | long i = longval (); | ||
11078 | if (i != ((long) (sizeof (char)))) | ||
11079 | exit (1); | ||
11080 | fprintf (f, "%ld\n", i); | ||
11081 | } | ||
11082 | else | ||
11083 | { | ||
11084 | unsigned long i = ulongval (); | ||
11085 | if (i != ((long) (sizeof (char)))) | ||
11086 | exit (1); | ||
11087 | fprintf (f, "%lu\n", i); | ||
11088 | } | ||
11089 | exit (ferror (f) || fclose (f) != 0); | ||
11090 | |||
11091 | ; | ||
11092 | return 0; | ||
11093 | } | ||
11094 | _ACEOF | ||
11095 | rm -f conftest$ac_exeext | ||
11096 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
11097 | (eval $ac_link) 2>&5 | ||
11098 | ac_status=$? | ||
11099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11100 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
11101 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11102 | (eval $ac_try) 2>&5 | ||
11103 | ac_status=$? | ||
11104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11105 | (exit $ac_status); }; }; then | ||
11106 | ac_cv_sizeof_char=`cat conftest.val` | ||
11107 | else | ||
11108 | echo "$as_me: program exited with status $ac_status" >&5 | ||
11109 | echo "$as_me: failed program was:" >&5 | ||
11110 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11111 | |||
11112 | ( exit $ac_status ) | ||
11113 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 | ||
11114 | See \`config.log' for more details." >&5 | ||
11115 | echo "$as_me: error: cannot compute sizeof (char), 77 | ||
11116 | See \`config.log' for more details." >&2;} | ||
11117 | { (exit 1); exit 1; }; } | ||
11118 | fi | ||
11119 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
11120 | fi | ||
11121 | fi | ||
11122 | rm -f conftest.val | ||
11123 | else | ||
11124 | ac_cv_sizeof_char=0 | ||
11125 | fi | ||
11126 | fi | ||
11127 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 | ||
11128 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 | ||
11129 | cat >>confdefs.h <<_ACEOF | ||
11130 | @%:@define SIZEOF_CHAR $ac_cv_sizeof_char | ||
11131 | _ACEOF | ||
11132 | |||
11133 | |||
11134 | echo "$as_me:$LINENO: checking for short int" >&5 | ||
11135 | echo $ECHO_N "checking for short int... $ECHO_C" >&6 | ||
11136 | if test "${ac_cv_type_short_int+set}" = set; then | ||
11137 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11138 | else | ||
11139 | cat >conftest.$ac_ext <<_ACEOF | ||
11140 | #line $LINENO "configure" | ||
11141 | /* confdefs.h. */ | ||
11142 | _ACEOF | ||
11143 | cat confdefs.h >>conftest.$ac_ext | ||
11144 | cat >>conftest.$ac_ext <<_ACEOF | ||
11145 | /* end confdefs.h. */ | ||
11146 | $ac_includes_default | ||
11147 | int | ||
11148 | main () | ||
11149 | { | ||
11150 | if ((short int *) 0) | ||
11151 | return 0; | ||
11152 | if (sizeof (short int)) | ||
11153 | return 0; | ||
11154 | ; | ||
11155 | return 0; | ||
11156 | } | ||
11157 | _ACEOF | ||
11158 | rm -f conftest.$ac_objext | ||
11159 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11160 | (eval $ac_compile) 2>&5 | ||
11161 | ac_status=$? | ||
11162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11163 | (exit $ac_status); } && | ||
11164 | { ac_try='test -s conftest.$ac_objext' | ||
11165 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11166 | (eval $ac_try) 2>&5 | ||
11167 | ac_status=$? | ||
11168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11169 | (exit $ac_status); }; }; then | ||
11170 | ac_cv_type_short_int=yes | ||
11171 | else | ||
11172 | echo "$as_me: failed program was:" >&5 | ||
11173 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11174 | |||
11175 | ac_cv_type_short_int=no | ||
11176 | fi | ||
11177 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11178 | fi | ||
11179 | echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5 | ||
11180 | echo "${ECHO_T}$ac_cv_type_short_int" >&6 | ||
11181 | |||
11182 | echo "$as_me:$LINENO: checking size of short int" >&5 | ||
11183 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6 | ||
11184 | if test "${ac_cv_sizeof_short_int+set}" = set; then | ||
11185 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11186 | else | ||
11187 | if test "$ac_cv_type_short_int" = yes; then | ||
11188 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
11189 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
11190 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
11191 | # This bug is HP SR number 8606223364. | ||
11192 | if test "$cross_compiling" = yes; then | ||
11193 | # Depending upon the size, compute the lo and hi bounds. | ||
11194 | cat >conftest.$ac_ext <<_ACEOF | ||
11195 | #line $LINENO "configure" | ||
11196 | /* confdefs.h. */ | ||
11197 | _ACEOF | ||
11198 | cat confdefs.h >>conftest.$ac_ext | ||
11199 | cat >>conftest.$ac_ext <<_ACEOF | ||
11200 | /* end confdefs.h. */ | ||
11201 | $ac_includes_default | ||
11202 | int | ||
11203 | main () | ||
11204 | { | ||
11205 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >= 0)@:>@; | ||
11206 | test_array @<:@0@:>@ = 0 | ||
11207 | |||
11208 | ; | ||
11209 | return 0; | ||
11210 | } | ||
11211 | _ACEOF | ||
11212 | rm -f conftest.$ac_objext | ||
11213 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11214 | (eval $ac_compile) 2>&5 | ||
11215 | ac_status=$? | ||
11216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11217 | (exit $ac_status); } && | ||
11218 | { ac_try='test -s conftest.$ac_objext' | ||
11219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11220 | (eval $ac_try) 2>&5 | ||
11221 | ac_status=$? | ||
11222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11223 | (exit $ac_status); }; }; then | ||
11224 | ac_lo=0 ac_mid=0 | ||
11225 | while :; do | ||
11226 | cat >conftest.$ac_ext <<_ACEOF | ||
11227 | #line $LINENO "configure" | ||
11228 | /* confdefs.h. */ | ||
11229 | _ACEOF | ||
11230 | cat confdefs.h >>conftest.$ac_ext | ||
11231 | cat >>conftest.$ac_ext <<_ACEOF | ||
11232 | /* end confdefs.h. */ | ||
11233 | $ac_includes_default | ||
11234 | int | ||
11235 | main () | ||
11236 | { | ||
11237 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)@:>@; | ||
11238 | test_array @<:@0@:>@ = 0 | ||
11239 | |||
11240 | ; | ||
11241 | return 0; | ||
11242 | } | ||
11243 | _ACEOF | ||
11244 | rm -f conftest.$ac_objext | ||
11245 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11246 | (eval $ac_compile) 2>&5 | ||
11247 | ac_status=$? | ||
11248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11249 | (exit $ac_status); } && | ||
11250 | { ac_try='test -s conftest.$ac_objext' | ||
11251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11252 | (eval $ac_try) 2>&5 | ||
11253 | ac_status=$? | ||
11254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11255 | (exit $ac_status); }; }; then | ||
11256 | ac_hi=$ac_mid; break | ||
11257 | else | ||
11258 | echo "$as_me: failed program was:" >&5 | ||
11259 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11260 | |||
11261 | ac_lo=`expr $ac_mid + 1` | ||
11262 | if test $ac_lo -le $ac_mid; then | ||
11263 | ac_lo= ac_hi= | ||
11264 | break | ||
11265 | fi | ||
11266 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
11267 | fi | ||
11268 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11269 | done | ||
11270 | else | ||
11271 | echo "$as_me: failed program was:" >&5 | ||
11272 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11273 | |||
11274 | cat >conftest.$ac_ext <<_ACEOF | ||
11275 | #line $LINENO "configure" | ||
11276 | /* confdefs.h. */ | ||
11277 | _ACEOF | ||
11278 | cat confdefs.h >>conftest.$ac_ext | ||
11279 | cat >>conftest.$ac_ext <<_ACEOF | ||
11280 | /* end confdefs.h. */ | ||
11281 | $ac_includes_default | ||
11282 | int | ||
11283 | main () | ||
11284 | { | ||
11285 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) < 0)@:>@; | ||
11286 | test_array @<:@0@:>@ = 0 | ||
11287 | |||
11288 | ; | ||
11289 | return 0; | ||
11290 | } | ||
11291 | _ACEOF | ||
11292 | rm -f conftest.$ac_objext | ||
11293 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11294 | (eval $ac_compile) 2>&5 | ||
11295 | ac_status=$? | ||
11296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11297 | (exit $ac_status); } && | ||
11298 | { ac_try='test -s conftest.$ac_objext' | ||
11299 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11300 | (eval $ac_try) 2>&5 | ||
11301 | ac_status=$? | ||
11302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11303 | (exit $ac_status); }; }; then | ||
11304 | ac_hi=-1 ac_mid=-1 | ||
11305 | while :; do | ||
11306 | cat >conftest.$ac_ext <<_ACEOF | ||
11307 | #line $LINENO "configure" | ||
11308 | /* confdefs.h. */ | ||
11309 | _ACEOF | ||
11310 | cat confdefs.h >>conftest.$ac_ext | ||
11311 | cat >>conftest.$ac_ext <<_ACEOF | ||
11312 | /* end confdefs.h. */ | ||
11313 | $ac_includes_default | ||
11314 | int | ||
11315 | main () | ||
11316 | { | ||
11317 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)@:>@; | ||
11318 | test_array @<:@0@:>@ = 0 | ||
11319 | |||
11320 | ; | ||
11321 | return 0; | ||
11322 | } | ||
11323 | _ACEOF | ||
11324 | rm -f conftest.$ac_objext | ||
11325 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11326 | (eval $ac_compile) 2>&5 | ||
11327 | ac_status=$? | ||
11328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11329 | (exit $ac_status); } && | ||
11330 | { ac_try='test -s conftest.$ac_objext' | ||
11331 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11332 | (eval $ac_try) 2>&5 | ||
11333 | ac_status=$? | ||
11334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11335 | (exit $ac_status); }; }; then | ||
11336 | ac_lo=$ac_mid; break | ||
11337 | else | ||
11338 | echo "$as_me: failed program was:" >&5 | ||
11339 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11340 | |||
11341 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
11342 | if test $ac_mid -le $ac_hi; then | ||
11343 | ac_lo= ac_hi= | ||
11344 | break | ||
11345 | fi | ||
11346 | ac_mid=`expr 2 '*' $ac_mid` | ||
11347 | fi | ||
11348 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11349 | done | ||
11350 | else | ||
11351 | echo "$as_me: failed program was:" >&5 | ||
11352 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11353 | |||
11354 | ac_lo= ac_hi= | ||
11355 | fi | ||
11356 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11357 | fi | ||
11358 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11359 | # Binary search between lo and hi bounds. | ||
11360 | while test "x$ac_lo" != "x$ac_hi"; do | ||
11361 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
11362 | cat >conftest.$ac_ext <<_ACEOF | ||
11363 | #line $LINENO "configure" | ||
11364 | /* confdefs.h. */ | ||
11365 | _ACEOF | ||
11366 | cat confdefs.h >>conftest.$ac_ext | ||
11367 | cat >>conftest.$ac_ext <<_ACEOF | ||
11368 | /* end confdefs.h. */ | ||
11369 | $ac_includes_default | ||
11370 | int | ||
11371 | main () | ||
11372 | { | ||
11373 | static int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)@:>@; | ||
11374 | test_array @<:@0@:>@ = 0 | ||
11375 | |||
11376 | ; | ||
11377 | return 0; | ||
11378 | } | ||
11379 | _ACEOF | ||
11380 | rm -f conftest.$ac_objext | ||
11381 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11382 | (eval $ac_compile) 2>&5 | ||
11383 | ac_status=$? | ||
11384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11385 | (exit $ac_status); } && | ||
11386 | { ac_try='test -s conftest.$ac_objext' | ||
11387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11388 | (eval $ac_try) 2>&5 | ||
11389 | ac_status=$? | ||
11390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11391 | (exit $ac_status); }; }; then | ||
11392 | ac_hi=$ac_mid | ||
11393 | else | ||
11394 | echo "$as_me: failed program was:" >&5 | ||
11395 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11396 | |||
11397 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11398 | fi | ||
11399 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11400 | done | ||
11401 | case $ac_lo in | ||
11402 | ?*) ac_cv_sizeof_short_int=$ac_lo;; | ||
11403 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77 | ||
11404 | See \`config.log' for more details." >&5 | ||
11405 | echo "$as_me: error: cannot compute sizeof (short int), 77 | ||
11406 | See \`config.log' for more details." >&2;} | ||
11407 | { (exit 1); exit 1; }; } ;; | ||
11408 | esac | ||
11409 | else | ||
11410 | if test "$cross_compiling" = yes; then | ||
11411 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
11412 | See \`config.log' for more details." >&5 | ||
11413 | echo "$as_me: error: cannot run test program while cross compiling | ||
11414 | See \`config.log' for more details." >&2;} | ||
11415 | { (exit 1); exit 1; }; } | ||
11416 | else | ||
11417 | cat >conftest.$ac_ext <<_ACEOF | ||
11418 | #line $LINENO "configure" | ||
11419 | /* confdefs.h. */ | ||
11420 | _ACEOF | ||
11421 | cat confdefs.h >>conftest.$ac_ext | ||
11422 | cat >>conftest.$ac_ext <<_ACEOF | ||
11423 | /* end confdefs.h. */ | ||
11424 | $ac_includes_default | ||
11425 | long longval () { return (long) (sizeof (short int)); } | ||
11426 | unsigned long ulongval () { return (long) (sizeof (short int)); } | ||
11427 | @%:@include <stdio.h> | ||
11428 | @%:@include <stdlib.h> | ||
11429 | int | ||
11430 | main () | ||
11431 | { | ||
11432 | |||
11433 | FILE *f = fopen ("conftest.val", "w"); | ||
11434 | if (! f) | ||
11435 | exit (1); | ||
11436 | if (((long) (sizeof (short int))) < 0) | ||
11437 | { | ||
11438 | long i = longval (); | ||
11439 | if (i != ((long) (sizeof (short int)))) | ||
11440 | exit (1); | ||
11441 | fprintf (f, "%ld\n", i); | ||
11442 | } | ||
11443 | else | ||
11444 | { | ||
11445 | unsigned long i = ulongval (); | ||
11446 | if (i != ((long) (sizeof (short int)))) | ||
11447 | exit (1); | ||
11448 | fprintf (f, "%lu\n", i); | ||
11449 | } | ||
11450 | exit (ferror (f) || fclose (f) != 0); | ||
11451 | |||
11452 | ; | ||
11453 | return 0; | ||
11454 | } | ||
11455 | _ACEOF | ||
11456 | rm -f conftest$ac_exeext | ||
11457 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
11458 | (eval $ac_link) 2>&5 | ||
11459 | ac_status=$? | ||
11460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11461 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
11462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11463 | (eval $ac_try) 2>&5 | ||
11464 | ac_status=$? | ||
11465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11466 | (exit $ac_status); }; }; then | ||
11467 | ac_cv_sizeof_short_int=`cat conftest.val` | ||
11468 | else | ||
11469 | echo "$as_me: program exited with status $ac_status" >&5 | ||
11470 | echo "$as_me: failed program was:" >&5 | ||
11471 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11472 | |||
11473 | ( exit $ac_status ) | ||
11474 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77 | ||
11475 | See \`config.log' for more details." >&5 | ||
11476 | echo "$as_me: error: cannot compute sizeof (short int), 77 | ||
11477 | See \`config.log' for more details." >&2;} | ||
11478 | { (exit 1); exit 1; }; } | ||
11479 | fi | ||
11480 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
11481 | fi | ||
11482 | fi | ||
11483 | rm -f conftest.val | ||
11484 | else | ||
11485 | ac_cv_sizeof_short_int=0 | ||
11486 | fi | ||
11487 | fi | ||
11488 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 | ||
11489 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 | ||
11490 | cat >>confdefs.h <<_ACEOF | ||
11491 | @%:@define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int | ||
11492 | _ACEOF | ||
11493 | |||
11494 | |||
11495 | echo "$as_me:$LINENO: checking for int" >&5 | ||
11496 | echo $ECHO_N "checking for int... $ECHO_C" >&6 | ||
11497 | if test "${ac_cv_type_int+set}" = set; then | ||
11498 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11499 | else | ||
11500 | cat >conftest.$ac_ext <<_ACEOF | ||
11501 | #line $LINENO "configure" | ||
11502 | /* confdefs.h. */ | ||
11503 | _ACEOF | ||
11504 | cat confdefs.h >>conftest.$ac_ext | ||
11505 | cat >>conftest.$ac_ext <<_ACEOF | ||
11506 | /* end confdefs.h. */ | ||
11507 | $ac_includes_default | ||
11508 | int | ||
11509 | main () | ||
11510 | { | ||
11511 | if ((int *) 0) | ||
11512 | return 0; | ||
11513 | if (sizeof (int)) | ||
11514 | return 0; | ||
11515 | ; | ||
11516 | return 0; | ||
11517 | } | ||
11518 | _ACEOF | ||
11519 | rm -f conftest.$ac_objext | ||
11520 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11521 | (eval $ac_compile) 2>&5 | ||
11522 | ac_status=$? | ||
11523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11524 | (exit $ac_status); } && | ||
11525 | { ac_try='test -s conftest.$ac_objext' | ||
11526 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11527 | (eval $ac_try) 2>&5 | ||
11528 | ac_status=$? | ||
11529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11530 | (exit $ac_status); }; }; then | ||
11531 | ac_cv_type_int=yes | ||
11532 | else | ||
11533 | echo "$as_me: failed program was:" >&5 | ||
11534 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11535 | |||
11536 | ac_cv_type_int=no | ||
11537 | fi | ||
11538 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11539 | fi | ||
11540 | echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | ||
11541 | echo "${ECHO_T}$ac_cv_type_int" >&6 | ||
11542 | |||
11543 | echo "$as_me:$LINENO: checking size of int" >&5 | ||
11544 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 | ||
11545 | if test "${ac_cv_sizeof_int+set}" = set; then | ||
11546 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11547 | else | ||
11548 | if test "$ac_cv_type_int" = yes; then | ||
11549 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
11550 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
11551 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
11552 | # This bug is HP SR number 8606223364. | ||
11553 | if test "$cross_compiling" = yes; then | ||
11554 | # Depending upon the size, compute the lo and hi bounds. | ||
11555 | cat >conftest.$ac_ext <<_ACEOF | ||
11556 | #line $LINENO "configure" | ||
11557 | /* confdefs.h. */ | ||
11558 | _ACEOF | ||
11559 | cat confdefs.h >>conftest.$ac_ext | ||
11560 | cat >>conftest.$ac_ext <<_ACEOF | ||
11561 | /* end confdefs.h. */ | ||
11562 | $ac_includes_default | ||
11563 | int | ||
11564 | main () | ||
11565 | { | ||
11566 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= 0)@:>@; | ||
11567 | test_array @<:@0@:>@ = 0 | ||
11568 | |||
11569 | ; | ||
11570 | return 0; | ||
11571 | } | ||
11572 | _ACEOF | ||
11573 | rm -f conftest.$ac_objext | ||
11574 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11575 | (eval $ac_compile) 2>&5 | ||
11576 | ac_status=$? | ||
11577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11578 | (exit $ac_status); } && | ||
11579 | { ac_try='test -s conftest.$ac_objext' | ||
11580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11581 | (eval $ac_try) 2>&5 | ||
11582 | ac_status=$? | ||
11583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11584 | (exit $ac_status); }; }; then | ||
11585 | ac_lo=0 ac_mid=0 | ||
11586 | while :; do | ||
11587 | cat >conftest.$ac_ext <<_ACEOF | ||
11588 | #line $LINENO "configure" | ||
11589 | /* confdefs.h. */ | ||
11590 | _ACEOF | ||
11591 | cat confdefs.h >>conftest.$ac_ext | ||
11592 | cat >>conftest.$ac_ext <<_ACEOF | ||
11593 | /* end confdefs.h. */ | ||
11594 | $ac_includes_default | ||
11595 | int | ||
11596 | main () | ||
11597 | { | ||
11598 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@; | ||
11599 | test_array @<:@0@:>@ = 0 | ||
11600 | |||
11601 | ; | ||
11602 | return 0; | ||
11603 | } | ||
11604 | _ACEOF | ||
11605 | rm -f conftest.$ac_objext | ||
11606 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11607 | (eval $ac_compile) 2>&5 | ||
11608 | ac_status=$? | ||
11609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11610 | (exit $ac_status); } && | ||
11611 | { ac_try='test -s conftest.$ac_objext' | ||
11612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11613 | (eval $ac_try) 2>&5 | ||
11614 | ac_status=$? | ||
11615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11616 | (exit $ac_status); }; }; then | ||
11617 | ac_hi=$ac_mid; break | ||
11618 | else | ||
11619 | echo "$as_me: failed program was:" >&5 | ||
11620 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11621 | |||
11622 | ac_lo=`expr $ac_mid + 1` | ||
11623 | if test $ac_lo -le $ac_mid; then | ||
11624 | ac_lo= ac_hi= | ||
11625 | break | ||
11626 | fi | ||
11627 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
11628 | fi | ||
11629 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11630 | done | ||
11631 | else | ||
11632 | echo "$as_me: failed program was:" >&5 | ||
11633 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11634 | |||
11635 | cat >conftest.$ac_ext <<_ACEOF | ||
11636 | #line $LINENO "configure" | ||
11637 | /* confdefs.h. */ | ||
11638 | _ACEOF | ||
11639 | cat confdefs.h >>conftest.$ac_ext | ||
11640 | cat >>conftest.$ac_ext <<_ACEOF | ||
11641 | /* end confdefs.h. */ | ||
11642 | $ac_includes_default | ||
11643 | int | ||
11644 | main () | ||
11645 | { | ||
11646 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) < 0)@:>@; | ||
11647 | test_array @<:@0@:>@ = 0 | ||
11648 | |||
11649 | ; | ||
11650 | return 0; | ||
11651 | } | ||
11652 | _ACEOF | ||
11653 | rm -f conftest.$ac_objext | ||
11654 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11655 | (eval $ac_compile) 2>&5 | ||
11656 | ac_status=$? | ||
11657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11658 | (exit $ac_status); } && | ||
11659 | { ac_try='test -s conftest.$ac_objext' | ||
11660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11661 | (eval $ac_try) 2>&5 | ||
11662 | ac_status=$? | ||
11663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11664 | (exit $ac_status); }; }; then | ||
11665 | ac_hi=-1 ac_mid=-1 | ||
11666 | while :; do | ||
11667 | cat >conftest.$ac_ext <<_ACEOF | ||
11668 | #line $LINENO "configure" | ||
11669 | /* confdefs.h. */ | ||
11670 | _ACEOF | ||
11671 | cat confdefs.h >>conftest.$ac_ext | ||
11672 | cat >>conftest.$ac_ext <<_ACEOF | ||
11673 | /* end confdefs.h. */ | ||
11674 | $ac_includes_default | ||
11675 | int | ||
11676 | main () | ||
11677 | { | ||
11678 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)@:>@; | ||
11679 | test_array @<:@0@:>@ = 0 | ||
11680 | |||
11681 | ; | ||
11682 | return 0; | ||
11683 | } | ||
11684 | _ACEOF | ||
11685 | rm -f conftest.$ac_objext | ||
11686 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11687 | (eval $ac_compile) 2>&5 | ||
11688 | ac_status=$? | ||
11689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11690 | (exit $ac_status); } && | ||
11691 | { ac_try='test -s conftest.$ac_objext' | ||
11692 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11693 | (eval $ac_try) 2>&5 | ||
11694 | ac_status=$? | ||
11695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11696 | (exit $ac_status); }; }; then | ||
11697 | ac_lo=$ac_mid; break | ||
11698 | else | ||
11699 | echo "$as_me: failed program was:" >&5 | ||
11700 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11701 | |||
11702 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
11703 | if test $ac_mid -le $ac_hi; then | ||
11704 | ac_lo= ac_hi= | ||
11705 | break | ||
11706 | fi | ||
11707 | ac_mid=`expr 2 '*' $ac_mid` | ||
11708 | fi | ||
11709 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11710 | done | ||
11711 | else | ||
11712 | echo "$as_me: failed program was:" >&5 | ||
11713 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11714 | |||
11715 | ac_lo= ac_hi= | ||
11716 | fi | ||
11717 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11718 | fi | ||
11719 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11720 | # Binary search between lo and hi bounds. | ||
11721 | while test "x$ac_lo" != "x$ac_hi"; do | ||
11722 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
11723 | cat >conftest.$ac_ext <<_ACEOF | ||
11724 | #line $LINENO "configure" | ||
11725 | /* confdefs.h. */ | ||
11726 | _ACEOF | ||
11727 | cat confdefs.h >>conftest.$ac_ext | ||
11728 | cat >>conftest.$ac_ext <<_ACEOF | ||
11729 | /* end confdefs.h. */ | ||
11730 | $ac_includes_default | ||
11731 | int | ||
11732 | main () | ||
11733 | { | ||
11734 | static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@; | ||
11735 | test_array @<:@0@:>@ = 0 | ||
11736 | |||
11737 | ; | ||
11738 | return 0; | ||
11739 | } | ||
11740 | _ACEOF | ||
11741 | rm -f conftest.$ac_objext | ||
11742 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11743 | (eval $ac_compile) 2>&5 | ||
11744 | ac_status=$? | ||
11745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11746 | (exit $ac_status); } && | ||
11747 | { ac_try='test -s conftest.$ac_objext' | ||
11748 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11749 | (eval $ac_try) 2>&5 | ||
11750 | ac_status=$? | ||
11751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11752 | (exit $ac_status); }; }; then | ||
11753 | ac_hi=$ac_mid | ||
11754 | else | ||
11755 | echo "$as_me: failed program was:" >&5 | ||
11756 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11757 | |||
11758 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11759 | fi | ||
11760 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11761 | done | ||
11762 | case $ac_lo in | ||
11763 | ?*) ac_cv_sizeof_int=$ac_lo;; | ||
11764 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 | ||
11765 | See \`config.log' for more details." >&5 | ||
11766 | echo "$as_me: error: cannot compute sizeof (int), 77 | ||
11767 | See \`config.log' for more details." >&2;} | ||
11768 | { (exit 1); exit 1; }; } ;; | ||
11769 | esac | ||
11770 | else | ||
11771 | if test "$cross_compiling" = yes; then | ||
11772 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
11773 | See \`config.log' for more details." >&5 | ||
11774 | echo "$as_me: error: cannot run test program while cross compiling | ||
11775 | See \`config.log' for more details." >&2;} | ||
11776 | { (exit 1); exit 1; }; } | ||
11777 | else | ||
11778 | cat >conftest.$ac_ext <<_ACEOF | ||
11779 | #line $LINENO "configure" | ||
11780 | /* confdefs.h. */ | ||
11781 | _ACEOF | ||
11782 | cat confdefs.h >>conftest.$ac_ext | ||
11783 | cat >>conftest.$ac_ext <<_ACEOF | ||
11784 | /* end confdefs.h. */ | ||
11785 | $ac_includes_default | ||
11786 | long longval () { return (long) (sizeof (int)); } | ||
11787 | unsigned long ulongval () { return (long) (sizeof (int)); } | ||
11788 | @%:@include <stdio.h> | ||
11789 | @%:@include <stdlib.h> | ||
11790 | int | ||
11791 | main () | ||
11792 | { | ||
11793 | |||
11794 | FILE *f = fopen ("conftest.val", "w"); | ||
11795 | if (! f) | ||
11796 | exit (1); | ||
11797 | if (((long) (sizeof (int))) < 0) | ||
11798 | { | ||
11799 | long i = longval (); | ||
11800 | if (i != ((long) (sizeof (int)))) | ||
11801 | exit (1); | ||
11802 | fprintf (f, "%ld\n", i); | ||
11803 | } | ||
11804 | else | ||
11805 | { | ||
11806 | unsigned long i = ulongval (); | ||
11807 | if (i != ((long) (sizeof (int)))) | ||
11808 | exit (1); | ||
11809 | fprintf (f, "%lu\n", i); | ||
11810 | } | ||
11811 | exit (ferror (f) || fclose (f) != 0); | ||
11812 | |||
11813 | ; | ||
11814 | return 0; | ||
11815 | } | ||
11816 | _ACEOF | ||
11817 | rm -f conftest$ac_exeext | ||
11818 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
11819 | (eval $ac_link) 2>&5 | ||
11820 | ac_status=$? | ||
11821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11822 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
11823 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11824 | (eval $ac_try) 2>&5 | ||
11825 | ac_status=$? | ||
11826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11827 | (exit $ac_status); }; }; then | ||
11828 | ac_cv_sizeof_int=`cat conftest.val` | ||
11829 | else | ||
11830 | echo "$as_me: program exited with status $ac_status" >&5 | ||
11831 | echo "$as_me: failed program was:" >&5 | ||
11832 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11833 | |||
11834 | ( exit $ac_status ) | ||
11835 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 | ||
11836 | See \`config.log' for more details." >&5 | ||
11837 | echo "$as_me: error: cannot compute sizeof (int), 77 | ||
11838 | See \`config.log' for more details." >&2;} | ||
11839 | { (exit 1); exit 1; }; } | ||
11840 | fi | ||
11841 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
11842 | fi | ||
11843 | fi | ||
11844 | rm -f conftest.val | ||
11845 | else | ||
11846 | ac_cv_sizeof_int=0 | ||
11847 | fi | ||
11848 | fi | ||
11849 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 | ||
11850 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 | ||
11851 | cat >>confdefs.h <<_ACEOF | ||
11852 | @%:@define SIZEOF_INT $ac_cv_sizeof_int | ||
11853 | _ACEOF | ||
11854 | |||
11855 | |||
11856 | echo "$as_me:$LINENO: checking for long int" >&5 | ||
11857 | echo $ECHO_N "checking for long int... $ECHO_C" >&6 | ||
11858 | if test "${ac_cv_type_long_int+set}" = set; then | ||
11859 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11860 | else | ||
11861 | cat >conftest.$ac_ext <<_ACEOF | ||
11862 | #line $LINENO "configure" | ||
11863 | /* confdefs.h. */ | ||
11864 | _ACEOF | ||
11865 | cat confdefs.h >>conftest.$ac_ext | ||
11866 | cat >>conftest.$ac_ext <<_ACEOF | ||
11867 | /* end confdefs.h. */ | ||
11868 | $ac_includes_default | ||
11869 | int | ||
11870 | main () | ||
11871 | { | ||
11872 | if ((long int *) 0) | ||
11873 | return 0; | ||
11874 | if (sizeof (long int)) | ||
11875 | return 0; | ||
11876 | ; | ||
11877 | return 0; | ||
11878 | } | ||
11879 | _ACEOF | ||
11880 | rm -f conftest.$ac_objext | ||
11881 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11882 | (eval $ac_compile) 2>&5 | ||
11883 | ac_status=$? | ||
11884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11885 | (exit $ac_status); } && | ||
11886 | { ac_try='test -s conftest.$ac_objext' | ||
11887 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11888 | (eval $ac_try) 2>&5 | ||
11889 | ac_status=$? | ||
11890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11891 | (exit $ac_status); }; }; then | ||
11892 | ac_cv_type_long_int=yes | ||
11893 | else | ||
11894 | echo "$as_me: failed program was:" >&5 | ||
11895 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11896 | |||
11897 | ac_cv_type_long_int=no | ||
11898 | fi | ||
11899 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11900 | fi | ||
11901 | echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 | ||
11902 | echo "${ECHO_T}$ac_cv_type_long_int" >&6 | ||
11903 | |||
11904 | echo "$as_me:$LINENO: checking size of long int" >&5 | ||
11905 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6 | ||
11906 | if test "${ac_cv_sizeof_long_int+set}" = set; then | ||
11907 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11908 | else | ||
11909 | if test "$ac_cv_type_long_int" = yes; then | ||
11910 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
11911 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
11912 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
11913 | # This bug is HP SR number 8606223364. | ||
11914 | if test "$cross_compiling" = yes; then | ||
11915 | # Depending upon the size, compute the lo and hi bounds. | ||
11916 | cat >conftest.$ac_ext <<_ACEOF | ||
11917 | #line $LINENO "configure" | ||
11918 | /* confdefs.h. */ | ||
11919 | _ACEOF | ||
11920 | cat confdefs.h >>conftest.$ac_ext | ||
11921 | cat >>conftest.$ac_ext <<_ACEOF | ||
11922 | /* end confdefs.h. */ | ||
11923 | $ac_includes_default | ||
11924 | int | ||
11925 | main () | ||
11926 | { | ||
11927 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= 0)@:>@; | ||
11928 | test_array @<:@0@:>@ = 0 | ||
11929 | |||
11930 | ; | ||
11931 | return 0; | ||
11932 | } | ||
11933 | _ACEOF | ||
11934 | rm -f conftest.$ac_objext | ||
11935 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11936 | (eval $ac_compile) 2>&5 | ||
11937 | ac_status=$? | ||
11938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11939 | (exit $ac_status); } && | ||
11940 | { ac_try='test -s conftest.$ac_objext' | ||
11941 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11942 | (eval $ac_try) 2>&5 | ||
11943 | ac_status=$? | ||
11944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11945 | (exit $ac_status); }; }; then | ||
11946 | ac_lo=0 ac_mid=0 | ||
11947 | while :; do | ||
11948 | cat >conftest.$ac_ext <<_ACEOF | ||
11949 | #line $LINENO "configure" | ||
11950 | /* confdefs.h. */ | ||
11951 | _ACEOF | ||
11952 | cat confdefs.h >>conftest.$ac_ext | ||
11953 | cat >>conftest.$ac_ext <<_ACEOF | ||
11954 | /* end confdefs.h. */ | ||
11955 | $ac_includes_default | ||
11956 | int | ||
11957 | main () | ||
11958 | { | ||
11959 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@; | ||
11960 | test_array @<:@0@:>@ = 0 | ||
11961 | |||
11962 | ; | ||
11963 | return 0; | ||
11964 | } | ||
11965 | _ACEOF | ||
11966 | rm -f conftest.$ac_objext | ||
11967 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
11968 | (eval $ac_compile) 2>&5 | ||
11969 | ac_status=$? | ||
11970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11971 | (exit $ac_status); } && | ||
11972 | { ac_try='test -s conftest.$ac_objext' | ||
11973 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
11974 | (eval $ac_try) 2>&5 | ||
11975 | ac_status=$? | ||
11976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11977 | (exit $ac_status); }; }; then | ||
11978 | ac_hi=$ac_mid; break | ||
11979 | else | ||
11980 | echo "$as_me: failed program was:" >&5 | ||
11981 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11982 | |||
11983 | ac_lo=`expr $ac_mid + 1` | ||
11984 | if test $ac_lo -le $ac_mid; then | ||
11985 | ac_lo= ac_hi= | ||
11986 | break | ||
11987 | fi | ||
11988 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
11989 | fi | ||
11990 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
11991 | done | ||
11992 | else | ||
11993 | echo "$as_me: failed program was:" >&5 | ||
11994 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11995 | |||
11996 | cat >conftest.$ac_ext <<_ACEOF | ||
11997 | #line $LINENO "configure" | ||
11998 | /* confdefs.h. */ | ||
11999 | _ACEOF | ||
12000 | cat confdefs.h >>conftest.$ac_ext | ||
12001 | cat >>conftest.$ac_ext <<_ACEOF | ||
12002 | /* end confdefs.h. */ | ||
12003 | $ac_includes_default | ||
12004 | int | ||
12005 | main () | ||
12006 | { | ||
12007 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) < 0)@:>@; | ||
12008 | test_array @<:@0@:>@ = 0 | ||
12009 | |||
12010 | ; | ||
12011 | return 0; | ||
12012 | } | ||
12013 | _ACEOF | ||
12014 | rm -f conftest.$ac_objext | ||
12015 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12016 | (eval $ac_compile) 2>&5 | ||
12017 | ac_status=$? | ||
12018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12019 | (exit $ac_status); } && | ||
12020 | { ac_try='test -s conftest.$ac_objext' | ||
12021 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12022 | (eval $ac_try) 2>&5 | ||
12023 | ac_status=$? | ||
12024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12025 | (exit $ac_status); }; }; then | ||
12026 | ac_hi=-1 ac_mid=-1 | ||
12027 | while :; do | ||
12028 | cat >conftest.$ac_ext <<_ACEOF | ||
12029 | #line $LINENO "configure" | ||
12030 | /* confdefs.h. */ | ||
12031 | _ACEOF | ||
12032 | cat confdefs.h >>conftest.$ac_ext | ||
12033 | cat >>conftest.$ac_ext <<_ACEOF | ||
12034 | /* end confdefs.h. */ | ||
12035 | $ac_includes_default | ||
12036 | int | ||
12037 | main () | ||
12038 | { | ||
12039 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)@:>@; | ||
12040 | test_array @<:@0@:>@ = 0 | ||
12041 | |||
12042 | ; | ||
12043 | return 0; | ||
12044 | } | ||
12045 | _ACEOF | ||
12046 | rm -f conftest.$ac_objext | ||
12047 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12048 | (eval $ac_compile) 2>&5 | ||
12049 | ac_status=$? | ||
12050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12051 | (exit $ac_status); } && | ||
12052 | { ac_try='test -s conftest.$ac_objext' | ||
12053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12054 | (eval $ac_try) 2>&5 | ||
12055 | ac_status=$? | ||
12056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12057 | (exit $ac_status); }; }; then | ||
12058 | ac_lo=$ac_mid; break | ||
12059 | else | ||
12060 | echo "$as_me: failed program was:" >&5 | ||
12061 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12062 | |||
12063 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
12064 | if test $ac_mid -le $ac_hi; then | ||
12065 | ac_lo= ac_hi= | ||
12066 | break | ||
12067 | fi | ||
12068 | ac_mid=`expr 2 '*' $ac_mid` | ||
12069 | fi | ||
12070 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12071 | done | ||
12072 | else | ||
12073 | echo "$as_me: failed program was:" >&5 | ||
12074 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12075 | |||
12076 | ac_lo= ac_hi= | ||
12077 | fi | ||
12078 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12079 | fi | ||
12080 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12081 | # Binary search between lo and hi bounds. | ||
12082 | while test "x$ac_lo" != "x$ac_hi"; do | ||
12083 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
12084 | cat >conftest.$ac_ext <<_ACEOF | ||
12085 | #line $LINENO "configure" | ||
12086 | /* confdefs.h. */ | ||
12087 | _ACEOF | ||
12088 | cat confdefs.h >>conftest.$ac_ext | ||
12089 | cat >>conftest.$ac_ext <<_ACEOF | ||
12090 | /* end confdefs.h. */ | ||
12091 | $ac_includes_default | ||
12092 | int | ||
12093 | main () | ||
12094 | { | ||
12095 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)@:>@; | ||
12096 | test_array @<:@0@:>@ = 0 | ||
12097 | |||
12098 | ; | ||
12099 | return 0; | ||
12100 | } | ||
12101 | _ACEOF | ||
12102 | rm -f conftest.$ac_objext | ||
12103 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12104 | (eval $ac_compile) 2>&5 | ||
12105 | ac_status=$? | ||
12106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12107 | (exit $ac_status); } && | ||
12108 | { ac_try='test -s conftest.$ac_objext' | ||
12109 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12110 | (eval $ac_try) 2>&5 | ||
12111 | ac_status=$? | ||
12112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12113 | (exit $ac_status); }; }; then | ||
12114 | ac_hi=$ac_mid | ||
12115 | else | ||
12116 | echo "$as_me: failed program was:" >&5 | ||
12117 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12118 | |||
12119 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
12120 | fi | ||
12121 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12122 | done | ||
12123 | case $ac_lo in | ||
12124 | ?*) ac_cv_sizeof_long_int=$ac_lo;; | ||
12125 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77 | ||
12126 | See \`config.log' for more details." >&5 | ||
12127 | echo "$as_me: error: cannot compute sizeof (long int), 77 | ||
12128 | See \`config.log' for more details." >&2;} | ||
12129 | { (exit 1); exit 1; }; } ;; | ||
12130 | esac | ||
12131 | else | ||
12132 | if test "$cross_compiling" = yes; then | ||
12133 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
12134 | See \`config.log' for more details." >&5 | ||
12135 | echo "$as_me: error: cannot run test program while cross compiling | ||
12136 | See \`config.log' for more details." >&2;} | ||
12137 | { (exit 1); exit 1; }; } | ||
12138 | else | ||
12139 | cat >conftest.$ac_ext <<_ACEOF | ||
12140 | #line $LINENO "configure" | ||
12141 | /* confdefs.h. */ | ||
12142 | _ACEOF | ||
12143 | cat confdefs.h >>conftest.$ac_ext | ||
12144 | cat >>conftest.$ac_ext <<_ACEOF | ||
12145 | /* end confdefs.h. */ | ||
12146 | $ac_includes_default | ||
12147 | long longval () { return (long) (sizeof (long int)); } | ||
12148 | unsigned long ulongval () { return (long) (sizeof (long int)); } | ||
12149 | @%:@include <stdio.h> | ||
12150 | @%:@include <stdlib.h> | ||
12151 | int | ||
12152 | main () | ||
12153 | { | ||
12154 | |||
12155 | FILE *f = fopen ("conftest.val", "w"); | ||
12156 | if (! f) | ||
12157 | exit (1); | ||
12158 | if (((long) (sizeof (long int))) < 0) | ||
12159 | { | ||
12160 | long i = longval (); | ||
12161 | if (i != ((long) (sizeof (long int)))) | ||
12162 | exit (1); | ||
12163 | fprintf (f, "%ld\n", i); | ||
12164 | } | ||
12165 | else | ||
12166 | { | ||
12167 | unsigned long i = ulongval (); | ||
12168 | if (i != ((long) (sizeof (long int)))) | ||
12169 | exit (1); | ||
12170 | fprintf (f, "%lu\n", i); | ||
12171 | } | ||
12172 | exit (ferror (f) || fclose (f) != 0); | ||
12173 | |||
12174 | ; | ||
12175 | return 0; | ||
12176 | } | ||
12177 | _ACEOF | ||
12178 | rm -f conftest$ac_exeext | ||
12179 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
12180 | (eval $ac_link) 2>&5 | ||
12181 | ac_status=$? | ||
12182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12183 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
12184 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12185 | (eval $ac_try) 2>&5 | ||
12186 | ac_status=$? | ||
12187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12188 | (exit $ac_status); }; }; then | ||
12189 | ac_cv_sizeof_long_int=`cat conftest.val` | ||
12190 | else | ||
12191 | echo "$as_me: program exited with status $ac_status" >&5 | ||
12192 | echo "$as_me: failed program was:" >&5 | ||
12193 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12194 | |||
12195 | ( exit $ac_status ) | ||
12196 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77 | ||
12197 | See \`config.log' for more details." >&5 | ||
12198 | echo "$as_me: error: cannot compute sizeof (long int), 77 | ||
12199 | See \`config.log' for more details." >&2;} | ||
12200 | { (exit 1); exit 1; }; } | ||
12201 | fi | ||
12202 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
12203 | fi | ||
12204 | fi | ||
12205 | rm -f conftest.val | ||
12206 | else | ||
12207 | ac_cv_sizeof_long_int=0 | ||
12208 | fi | ||
12209 | fi | ||
12210 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 | ||
12211 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 | ||
12212 | cat >>confdefs.h <<_ACEOF | ||
12213 | @%:@define SIZEOF_LONG_INT $ac_cv_sizeof_long_int | ||
12214 | _ACEOF | ||
12215 | |||
12216 | |||
12217 | echo "$as_me:$LINENO: checking for long long int" >&5 | ||
12218 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6 | ||
12219 | if test "${ac_cv_type_long_long_int+set}" = set; then | ||
12220 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12221 | else | ||
12222 | cat >conftest.$ac_ext <<_ACEOF | ||
12223 | #line $LINENO "configure" | ||
12224 | /* confdefs.h. */ | ||
12225 | _ACEOF | ||
12226 | cat confdefs.h >>conftest.$ac_ext | ||
12227 | cat >>conftest.$ac_ext <<_ACEOF | ||
12228 | /* end confdefs.h. */ | ||
12229 | $ac_includes_default | ||
12230 | int | ||
12231 | main () | ||
12232 | { | ||
12233 | if ((long long int *) 0) | ||
12234 | return 0; | ||
12235 | if (sizeof (long long int)) | ||
12236 | return 0; | ||
12237 | ; | ||
12238 | return 0; | ||
12239 | } | ||
12240 | _ACEOF | ||
12241 | rm -f conftest.$ac_objext | ||
12242 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12243 | (eval $ac_compile) 2>&5 | ||
12244 | ac_status=$? | ||
12245 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12246 | (exit $ac_status); } && | ||
12247 | { ac_try='test -s conftest.$ac_objext' | ||
12248 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12249 | (eval $ac_try) 2>&5 | ||
12250 | ac_status=$? | ||
12251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12252 | (exit $ac_status); }; }; then | ||
12253 | ac_cv_type_long_long_int=yes | ||
12254 | else | ||
12255 | echo "$as_me: failed program was:" >&5 | ||
12256 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12257 | |||
12258 | ac_cv_type_long_long_int=no | ||
12259 | fi | ||
12260 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12261 | fi | ||
12262 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 | ||
12263 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 | ||
12264 | |||
12265 | echo "$as_me:$LINENO: checking size of long long int" >&5 | ||
12266 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 | ||
12267 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then | ||
12268 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12269 | else | ||
12270 | if test "$ac_cv_type_long_long_int" = yes; then | ||
12271 | # The cast to unsigned long works around a bug in the HP C Compiler | ||
12272 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | ||
12273 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | ||
12274 | # This bug is HP SR number 8606223364. | ||
12275 | if test "$cross_compiling" = yes; then | ||
12276 | # Depending upon the size, compute the lo and hi bounds. | ||
12277 | cat >conftest.$ac_ext <<_ACEOF | ||
12278 | #line $LINENO "configure" | ||
12279 | /* confdefs.h. */ | ||
12280 | _ACEOF | ||
12281 | cat confdefs.h >>conftest.$ac_ext | ||
12282 | cat >>conftest.$ac_ext <<_ACEOF | ||
12283 | /* end confdefs.h. */ | ||
12284 | $ac_includes_default | ||
12285 | int | ||
12286 | main () | ||
12287 | { | ||
12288 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >= 0)@:>@; | ||
12289 | test_array @<:@0@:>@ = 0 | ||
12290 | |||
12291 | ; | ||
12292 | return 0; | ||
12293 | } | ||
12294 | _ACEOF | ||
12295 | rm -f conftest.$ac_objext | ||
12296 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12297 | (eval $ac_compile) 2>&5 | ||
12298 | ac_status=$? | ||
12299 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12300 | (exit $ac_status); } && | ||
12301 | { ac_try='test -s conftest.$ac_objext' | ||
12302 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12303 | (eval $ac_try) 2>&5 | ||
12304 | ac_status=$? | ||
12305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12306 | (exit $ac_status); }; }; then | ||
12307 | ac_lo=0 ac_mid=0 | ||
12308 | while :; do | ||
12309 | cat >conftest.$ac_ext <<_ACEOF | ||
12310 | #line $LINENO "configure" | ||
12311 | /* confdefs.h. */ | ||
12312 | _ACEOF | ||
12313 | cat confdefs.h >>conftest.$ac_ext | ||
12314 | cat >>conftest.$ac_ext <<_ACEOF | ||
12315 | /* end confdefs.h. */ | ||
12316 | $ac_includes_default | ||
12317 | int | ||
12318 | main () | ||
12319 | { | ||
12320 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)@:>@; | ||
12321 | test_array @<:@0@:>@ = 0 | ||
12322 | |||
12323 | ; | ||
12324 | return 0; | ||
12325 | } | ||
12326 | _ACEOF | ||
12327 | rm -f conftest.$ac_objext | ||
12328 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12329 | (eval $ac_compile) 2>&5 | ||
12330 | ac_status=$? | ||
12331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12332 | (exit $ac_status); } && | ||
12333 | { ac_try='test -s conftest.$ac_objext' | ||
12334 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12335 | (eval $ac_try) 2>&5 | ||
12336 | ac_status=$? | ||
12337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12338 | (exit $ac_status); }; }; then | ||
12339 | ac_hi=$ac_mid; break | ||
12340 | else | ||
12341 | echo "$as_me: failed program was:" >&5 | ||
12342 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12343 | |||
12344 | ac_lo=`expr $ac_mid + 1` | ||
12345 | if test $ac_lo -le $ac_mid; then | ||
12346 | ac_lo= ac_hi= | ||
12347 | break | ||
12348 | fi | ||
12349 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
12350 | fi | ||
12351 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12352 | done | ||
12353 | else | ||
12354 | echo "$as_me: failed program was:" >&5 | ||
12355 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12356 | |||
12357 | cat >conftest.$ac_ext <<_ACEOF | ||
12358 | #line $LINENO "configure" | ||
12359 | /* confdefs.h. */ | ||
12360 | _ACEOF | ||
12361 | cat confdefs.h >>conftest.$ac_ext | ||
12362 | cat >>conftest.$ac_ext <<_ACEOF | ||
12363 | /* end confdefs.h. */ | ||
12364 | $ac_includes_default | ||
12365 | int | ||
12366 | main () | ||
12367 | { | ||
12368 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) < 0)@:>@; | ||
12369 | test_array @<:@0@:>@ = 0 | ||
12370 | |||
12371 | ; | ||
12372 | return 0; | ||
12373 | } | ||
12374 | _ACEOF | ||
12375 | rm -f conftest.$ac_objext | ||
12376 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12377 | (eval $ac_compile) 2>&5 | ||
12378 | ac_status=$? | ||
12379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12380 | (exit $ac_status); } && | ||
12381 | { ac_try='test -s conftest.$ac_objext' | ||
12382 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12383 | (eval $ac_try) 2>&5 | ||
12384 | ac_status=$? | ||
12385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12386 | (exit $ac_status); }; }; then | ||
12387 | ac_hi=-1 ac_mid=-1 | ||
12388 | while :; do | ||
12389 | cat >conftest.$ac_ext <<_ACEOF | ||
12390 | #line $LINENO "configure" | ||
12391 | /* confdefs.h. */ | ||
12392 | _ACEOF | ||
12393 | cat confdefs.h >>conftest.$ac_ext | ||
12394 | cat >>conftest.$ac_ext <<_ACEOF | ||
12395 | /* end confdefs.h. */ | ||
12396 | $ac_includes_default | ||
12397 | int | ||
12398 | main () | ||
12399 | { | ||
12400 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)@:>@; | ||
12401 | test_array @<:@0@:>@ = 0 | ||
12402 | |||
12403 | ; | ||
12404 | return 0; | ||
12405 | } | ||
12406 | _ACEOF | ||
12407 | rm -f conftest.$ac_objext | ||
12408 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12409 | (eval $ac_compile) 2>&5 | ||
12410 | ac_status=$? | ||
12411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12412 | (exit $ac_status); } && | ||
12413 | { ac_try='test -s conftest.$ac_objext' | ||
12414 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12415 | (eval $ac_try) 2>&5 | ||
12416 | ac_status=$? | ||
12417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12418 | (exit $ac_status); }; }; then | ||
12419 | ac_lo=$ac_mid; break | ||
12420 | else | ||
12421 | echo "$as_me: failed program was:" >&5 | ||
12422 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12423 | |||
12424 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
12425 | if test $ac_mid -le $ac_hi; then | ||
12426 | ac_lo= ac_hi= | ||
12427 | break | ||
12428 | fi | ||
12429 | ac_mid=`expr 2 '*' $ac_mid` | ||
12430 | fi | ||
12431 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12432 | done | ||
12433 | else | ||
12434 | echo "$as_me: failed program was:" >&5 | ||
12435 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12436 | |||
12437 | ac_lo= ac_hi= | ||
12438 | fi | ||
12439 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12440 | fi | ||
12441 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12442 | # Binary search between lo and hi bounds. | ||
12443 | while test "x$ac_lo" != "x$ac_hi"; do | ||
12444 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
12445 | cat >conftest.$ac_ext <<_ACEOF | ||
12446 | #line $LINENO "configure" | ||
12447 | /* confdefs.h. */ | ||
12448 | _ACEOF | ||
12449 | cat confdefs.h >>conftest.$ac_ext | ||
12450 | cat >>conftest.$ac_ext <<_ACEOF | ||
12451 | /* end confdefs.h. */ | ||
12452 | $ac_includes_default | ||
12453 | int | ||
12454 | main () | ||
12455 | { | ||
12456 | static int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)@:>@; | ||
12457 | test_array @<:@0@:>@ = 0 | ||
12458 | |||
12459 | ; | ||
12460 | return 0; | ||
12461 | } | ||
12462 | _ACEOF | ||
12463 | rm -f conftest.$ac_objext | ||
12464 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12465 | (eval $ac_compile) 2>&5 | ||
12466 | ac_status=$? | ||
12467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12468 | (exit $ac_status); } && | ||
12469 | { ac_try='test -s conftest.$ac_objext' | ||
12470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12471 | (eval $ac_try) 2>&5 | ||
12472 | ac_status=$? | ||
12473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12474 | (exit $ac_status); }; }; then | ||
12475 | ac_hi=$ac_mid | ||
12476 | else | ||
12477 | echo "$as_me: failed program was:" >&5 | ||
12478 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12479 | |||
12480 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
12481 | fi | ||
12482 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12483 | done | ||
12484 | case $ac_lo in | ||
12485 | ?*) ac_cv_sizeof_long_long_int=$ac_lo;; | ||
12486 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77 | ||
12487 | See \`config.log' for more details." >&5 | ||
12488 | echo "$as_me: error: cannot compute sizeof (long long int), 77 | ||
12489 | See \`config.log' for more details." >&2;} | ||
12490 | { (exit 1); exit 1; }; } ;; | ||
12491 | esac | ||
12492 | else | ||
12493 | if test "$cross_compiling" = yes; then | ||
12494 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
12495 | See \`config.log' for more details." >&5 | ||
12496 | echo "$as_me: error: cannot run test program while cross compiling | ||
12497 | See \`config.log' for more details." >&2;} | ||
12498 | { (exit 1); exit 1; }; } | ||
12499 | else | ||
12500 | cat >conftest.$ac_ext <<_ACEOF | ||
12501 | #line $LINENO "configure" | ||
12502 | /* confdefs.h. */ | ||
12503 | _ACEOF | ||
12504 | cat confdefs.h >>conftest.$ac_ext | ||
12505 | cat >>conftest.$ac_ext <<_ACEOF | ||
12506 | /* end confdefs.h. */ | ||
12507 | $ac_includes_default | ||
12508 | long longval () { return (long) (sizeof (long long int)); } | ||
12509 | unsigned long ulongval () { return (long) (sizeof (long long int)); } | ||
12510 | @%:@include <stdio.h> | ||
12511 | @%:@include <stdlib.h> | ||
12512 | int | ||
12513 | main () | ||
12514 | { | ||
12515 | |||
12516 | FILE *f = fopen ("conftest.val", "w"); | ||
12517 | if (! f) | ||
12518 | exit (1); | ||
12519 | if (((long) (sizeof (long long int))) < 0) | ||
12520 | { | ||
12521 | long i = longval (); | ||
12522 | if (i != ((long) (sizeof (long long int)))) | ||
12523 | exit (1); | ||
12524 | fprintf (f, "%ld\n", i); | ||
12525 | } | ||
12526 | else | ||
12527 | { | ||
12528 | unsigned long i = ulongval (); | ||
12529 | if (i != ((long) (sizeof (long long int)))) | ||
12530 | exit (1); | ||
12531 | fprintf (f, "%lu\n", i); | ||
12532 | } | ||
12533 | exit (ferror (f) || fclose (f) != 0); | ||
12534 | |||
12535 | ; | ||
12536 | return 0; | ||
12537 | } | ||
12538 | _ACEOF | ||
12539 | rm -f conftest$ac_exeext | ||
12540 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
12541 | (eval $ac_link) 2>&5 | ||
12542 | ac_status=$? | ||
12543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12544 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
12545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12546 | (eval $ac_try) 2>&5 | ||
12547 | ac_status=$? | ||
12548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12549 | (exit $ac_status); }; }; then | ||
12550 | ac_cv_sizeof_long_long_int=`cat conftest.val` | ||
12551 | else | ||
12552 | echo "$as_me: program exited with status $ac_status" >&5 | ||
12553 | echo "$as_me: failed program was:" >&5 | ||
12554 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12555 | |||
12556 | ( exit $ac_status ) | ||
12557 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77 | ||
12558 | See \`config.log' for more details." >&5 | ||
12559 | echo "$as_me: error: cannot compute sizeof (long long int), 77 | ||
12560 | See \`config.log' for more details." >&2;} | ||
12561 | { (exit 1); exit 1; }; } | ||
12562 | fi | ||
12563 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
12564 | fi | ||
12565 | fi | ||
12566 | rm -f conftest.val | ||
12567 | else | ||
12568 | ac_cv_sizeof_long_long_int=0 | ||
12569 | fi | ||
12570 | fi | ||
12571 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 | ||
12572 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 | ||
12573 | cat >>confdefs.h <<_ACEOF | ||
12574 | @%:@define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int | ||
12575 | _ACEOF | ||
12576 | |||
12577 | |||
12578 | |||
12579 | # Sanity check long long for some platforms (AIX) | ||
12580 | if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then | ||
12581 | ac_cv_sizeof_long_long_int=0 | ||
12582 | fi | ||
12583 | |||
12584 | # More checks for data types | ||
12585 | echo "$as_me:$LINENO: checking for u_int type" >&5 | ||
12586 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 | ||
12587 | if test "${ac_cv_have_u_int+set}" = set; then | ||
12588 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12589 | else | ||
12590 | |||
12591 | cat >conftest.$ac_ext <<_ACEOF | ||
12592 | #line $LINENO "configure" | ||
12593 | /* confdefs.h. */ | ||
12594 | _ACEOF | ||
12595 | cat confdefs.h >>conftest.$ac_ext | ||
12596 | cat >>conftest.$ac_ext <<_ACEOF | ||
12597 | /* end confdefs.h. */ | ||
12598 | #include <sys/types.h> | ||
12599 | int | ||
12600 | main () | ||
12601 | { | ||
12602 | u_int a; a = 1; | ||
12603 | ; | ||
12604 | return 0; | ||
12605 | } | ||
12606 | _ACEOF | ||
12607 | rm -f conftest.$ac_objext | ||
12608 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12609 | (eval $ac_compile) 2>&5 | ||
12610 | ac_status=$? | ||
12611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12612 | (exit $ac_status); } && | ||
12613 | { ac_try='test -s conftest.$ac_objext' | ||
12614 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12615 | (eval $ac_try) 2>&5 | ||
12616 | ac_status=$? | ||
12617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12618 | (exit $ac_status); }; }; then | ||
12619 | ac_cv_have_u_int="yes" | ||
12620 | else | ||
12621 | echo "$as_me: failed program was:" >&5 | ||
12622 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12623 | |||
12624 | ac_cv_have_u_int="no" | ||
12625 | |||
12626 | fi | ||
12627 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12628 | |||
12629 | fi | ||
12630 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 | ||
12631 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 | ||
12632 | if test "x$ac_cv_have_u_int" = "xyes" ; then | ||
12633 | cat >>confdefs.h <<\_ACEOF | ||
12634 | @%:@define HAVE_U_INT 1 | ||
12635 | _ACEOF | ||
12636 | |||
12637 | have_u_int=1 | ||
12638 | fi | ||
12639 | |||
12640 | echo "$as_me:$LINENO: checking for intXX_t types" >&5 | ||
12641 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 | ||
12642 | if test "${ac_cv_have_intxx_t+set}" = set; then | ||
12643 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12644 | else | ||
12645 | |||
12646 | cat >conftest.$ac_ext <<_ACEOF | ||
12647 | #line $LINENO "configure" | ||
12648 | /* confdefs.h. */ | ||
12649 | _ACEOF | ||
12650 | cat confdefs.h >>conftest.$ac_ext | ||
12651 | cat >>conftest.$ac_ext <<_ACEOF | ||
12652 | /* end confdefs.h. */ | ||
12653 | #include <sys/types.h> | ||
12654 | int | ||
12655 | main () | ||
12656 | { | ||
12657 | int8_t a; int16_t b; int32_t c; a = b = c = 1; | ||
12658 | ; | ||
12659 | return 0; | ||
12660 | } | ||
12661 | _ACEOF | ||
12662 | rm -f conftest.$ac_objext | ||
12663 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12664 | (eval $ac_compile) 2>&5 | ||
12665 | ac_status=$? | ||
12666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12667 | (exit $ac_status); } && | ||
12668 | { ac_try='test -s conftest.$ac_objext' | ||
12669 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12670 | (eval $ac_try) 2>&5 | ||
12671 | ac_status=$? | ||
12672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12673 | (exit $ac_status); }; }; then | ||
12674 | ac_cv_have_intxx_t="yes" | ||
12675 | else | ||
12676 | echo "$as_me: failed program was:" >&5 | ||
12677 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12678 | |||
12679 | ac_cv_have_intxx_t="no" | ||
12680 | |||
12681 | fi | ||
12682 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12683 | |||
12684 | fi | ||
12685 | echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 | ||
12686 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 | ||
12687 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | ||
12688 | cat >>confdefs.h <<\_ACEOF | ||
12689 | @%:@define HAVE_INTXX_T 1 | ||
12690 | _ACEOF | ||
12691 | |||
12692 | have_intxx_t=1 | ||
12693 | fi | ||
12694 | |||
12695 | if (test -z "$have_intxx_t" && \ | ||
12696 | test "x$ac_cv_header_stdint_h" = "xyes") | ||
12697 | then | ||
12698 | echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 | ||
12699 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 | ||
12700 | cat >conftest.$ac_ext <<_ACEOF | ||
12701 | #line $LINENO "configure" | ||
12702 | /* confdefs.h. */ | ||
12703 | _ACEOF | ||
12704 | cat confdefs.h >>conftest.$ac_ext | ||
12705 | cat >>conftest.$ac_ext <<_ACEOF | ||
12706 | /* end confdefs.h. */ | ||
12707 | #include <stdint.h> | ||
12708 | int | ||
12709 | main () | ||
12710 | { | ||
12711 | int8_t a; int16_t b; int32_t c; a = b = c = 1; | ||
12712 | ; | ||
12713 | return 0; | ||
12714 | } | ||
12715 | _ACEOF | ||
12716 | rm -f conftest.$ac_objext | ||
12717 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12718 | (eval $ac_compile) 2>&5 | ||
12719 | ac_status=$? | ||
12720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12721 | (exit $ac_status); } && | ||
12722 | { ac_try='test -s conftest.$ac_objext' | ||
12723 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12724 | (eval $ac_try) 2>&5 | ||
12725 | ac_status=$? | ||
12726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12727 | (exit $ac_status); }; }; then | ||
12728 | |||
12729 | cat >>confdefs.h <<\_ACEOF | ||
12730 | @%:@define HAVE_INTXX_T 1 | ||
12731 | _ACEOF | ||
12732 | |||
12733 | echo "$as_me:$LINENO: result: yes" >&5 | ||
12734 | echo "${ECHO_T}yes" >&6 | ||
12735 | |||
12736 | else | ||
12737 | echo "$as_me: failed program was:" >&5 | ||
12738 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12739 | |||
12740 | echo "$as_me:$LINENO: result: no" >&5 | ||
12741 | echo "${ECHO_T}no" >&6 | ||
12742 | |||
12743 | fi | ||
12744 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12745 | fi | ||
12746 | |||
12747 | echo "$as_me:$LINENO: checking for int64_t type" >&5 | ||
12748 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 | ||
12749 | if test "${ac_cv_have_int64_t+set}" = set; then | ||
12750 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12751 | else | ||
12752 | |||
12753 | cat >conftest.$ac_ext <<_ACEOF | ||
12754 | #line $LINENO "configure" | ||
12755 | /* confdefs.h. */ | ||
12756 | _ACEOF | ||
12757 | cat confdefs.h >>conftest.$ac_ext | ||
12758 | cat >>conftest.$ac_ext <<_ACEOF | ||
12759 | /* end confdefs.h. */ | ||
12760 | |||
12761 | #include <sys/types.h> | ||
12762 | #ifdef HAVE_STDINT_H | ||
12763 | # include <stdint.h> | ||
12764 | #endif | ||
12765 | #include <sys/socket.h> | ||
12766 | #ifdef HAVE_SYS_BITYPES_H | ||
12767 | # include <sys/bitypes.h> | ||
12768 | #endif | ||
12769 | |||
12770 | int | ||
12771 | main () | ||
12772 | { | ||
12773 | int64_t a; a = 1; | ||
12774 | ; | ||
12775 | return 0; | ||
12776 | } | ||
12777 | _ACEOF | ||
12778 | rm -f conftest.$ac_objext | ||
12779 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12780 | (eval $ac_compile) 2>&5 | ||
12781 | ac_status=$? | ||
12782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12783 | (exit $ac_status); } && | ||
12784 | { ac_try='test -s conftest.$ac_objext' | ||
12785 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12786 | (eval $ac_try) 2>&5 | ||
12787 | ac_status=$? | ||
12788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12789 | (exit $ac_status); }; }; then | ||
12790 | ac_cv_have_int64_t="yes" | ||
12791 | else | ||
12792 | echo "$as_me: failed program was:" >&5 | ||
12793 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12794 | |||
12795 | ac_cv_have_int64_t="no" | ||
12796 | |||
12797 | fi | ||
12798 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12799 | |||
12800 | fi | ||
12801 | echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 | ||
12802 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 | ||
12803 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | ||
12804 | cat >>confdefs.h <<\_ACEOF | ||
12805 | @%:@define HAVE_INT64_T 1 | ||
12806 | _ACEOF | ||
12807 | |||
12808 | fi | ||
12809 | |||
12810 | echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 | ||
12811 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 | ||
12812 | if test "${ac_cv_have_u_intxx_t+set}" = set; then | ||
12813 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12814 | else | ||
12815 | |||
12816 | cat >conftest.$ac_ext <<_ACEOF | ||
12817 | #line $LINENO "configure" | ||
12818 | /* confdefs.h. */ | ||
12819 | _ACEOF | ||
12820 | cat confdefs.h >>conftest.$ac_ext | ||
12821 | cat >>conftest.$ac_ext <<_ACEOF | ||
12822 | /* end confdefs.h. */ | ||
12823 | #include <sys/types.h> | ||
12824 | int | ||
12825 | main () | ||
12826 | { | ||
12827 | u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1; | ||
12828 | ; | ||
12829 | return 0; | ||
12830 | } | ||
12831 | _ACEOF | ||
12832 | rm -f conftest.$ac_objext | ||
12833 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12834 | (eval $ac_compile) 2>&5 | ||
12835 | ac_status=$? | ||
12836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12837 | (exit $ac_status); } && | ||
12838 | { ac_try='test -s conftest.$ac_objext' | ||
12839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12840 | (eval $ac_try) 2>&5 | ||
12841 | ac_status=$? | ||
12842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12843 | (exit $ac_status); }; }; then | ||
12844 | ac_cv_have_u_intxx_t="yes" | ||
12845 | else | ||
12846 | echo "$as_me: failed program was:" >&5 | ||
12847 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12848 | |||
12849 | ac_cv_have_u_intxx_t="no" | ||
12850 | |||
12851 | fi | ||
12852 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12853 | |||
12854 | fi | ||
12855 | echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 | ||
12856 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 | ||
12857 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | ||
12858 | cat >>confdefs.h <<\_ACEOF | ||
12859 | @%:@define HAVE_U_INTXX_T 1 | ||
12860 | _ACEOF | ||
12861 | |||
12862 | have_u_intxx_t=1 | ||
12863 | fi | ||
12864 | |||
12865 | if test -z "$have_u_intxx_t" ; then | ||
12866 | echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 | ||
12867 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 | ||
12868 | cat >conftest.$ac_ext <<_ACEOF | ||
12869 | #line $LINENO "configure" | ||
12870 | /* confdefs.h. */ | ||
12871 | _ACEOF | ||
12872 | cat confdefs.h >>conftest.$ac_ext | ||
12873 | cat >>conftest.$ac_ext <<_ACEOF | ||
12874 | /* end confdefs.h. */ | ||
12875 | #include <sys/socket.h> | ||
12876 | int | ||
12877 | main () | ||
12878 | { | ||
12879 | u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1; | ||
12880 | ; | ||
12881 | return 0; | ||
12882 | } | ||
12883 | _ACEOF | ||
12884 | rm -f conftest.$ac_objext | ||
12885 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12886 | (eval $ac_compile) 2>&5 | ||
12887 | ac_status=$? | ||
12888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12889 | (exit $ac_status); } && | ||
12890 | { ac_try='test -s conftest.$ac_objext' | ||
12891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12892 | (eval $ac_try) 2>&5 | ||
12893 | ac_status=$? | ||
12894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12895 | (exit $ac_status); }; }; then | ||
12896 | |||
12897 | cat >>confdefs.h <<\_ACEOF | ||
12898 | @%:@define HAVE_U_INTXX_T 1 | ||
12899 | _ACEOF | ||
12900 | |||
12901 | echo "$as_me:$LINENO: result: yes" >&5 | ||
12902 | echo "${ECHO_T}yes" >&6 | ||
12903 | |||
12904 | else | ||
12905 | echo "$as_me: failed program was:" >&5 | ||
12906 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12907 | |||
12908 | echo "$as_me:$LINENO: result: no" >&5 | ||
12909 | echo "${ECHO_T}no" >&6 | ||
12910 | |||
12911 | fi | ||
12912 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12913 | fi | ||
12914 | |||
12915 | echo "$as_me:$LINENO: checking for u_int64_t types" >&5 | ||
12916 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 | ||
12917 | if test "${ac_cv_have_u_int64_t+set}" = set; then | ||
12918 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12919 | else | ||
12920 | |||
12921 | cat >conftest.$ac_ext <<_ACEOF | ||
12922 | #line $LINENO "configure" | ||
12923 | /* confdefs.h. */ | ||
12924 | _ACEOF | ||
12925 | cat confdefs.h >>conftest.$ac_ext | ||
12926 | cat >>conftest.$ac_ext <<_ACEOF | ||
12927 | /* end confdefs.h. */ | ||
12928 | #include <sys/types.h> | ||
12929 | int | ||
12930 | main () | ||
12931 | { | ||
12932 | u_int64_t a; a = 1; | ||
12933 | ; | ||
12934 | return 0; | ||
12935 | } | ||
12936 | _ACEOF | ||
12937 | rm -f conftest.$ac_objext | ||
12938 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12939 | (eval $ac_compile) 2>&5 | ||
12940 | ac_status=$? | ||
12941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12942 | (exit $ac_status); } && | ||
12943 | { ac_try='test -s conftest.$ac_objext' | ||
12944 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12945 | (eval $ac_try) 2>&5 | ||
12946 | ac_status=$? | ||
12947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12948 | (exit $ac_status); }; }; then | ||
12949 | ac_cv_have_u_int64_t="yes" | ||
12950 | else | ||
12951 | echo "$as_me: failed program was:" >&5 | ||
12952 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12953 | |||
12954 | ac_cv_have_u_int64_t="no" | ||
12955 | |||
12956 | fi | ||
12957 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
12958 | |||
12959 | fi | ||
12960 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 | ||
12961 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 | ||
12962 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | ||
12963 | cat >>confdefs.h <<\_ACEOF | ||
12964 | @%:@define HAVE_U_INT64_T 1 | ||
12965 | _ACEOF | ||
12966 | |||
12967 | have_u_int64_t=1 | ||
12968 | fi | ||
12969 | |||
12970 | if test -z "$have_u_int64_t" ; then | ||
12971 | echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 | ||
12972 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 | ||
12973 | cat >conftest.$ac_ext <<_ACEOF | ||
12974 | #line $LINENO "configure" | ||
12975 | /* confdefs.h. */ | ||
12976 | _ACEOF | ||
12977 | cat confdefs.h >>conftest.$ac_ext | ||
12978 | cat >>conftest.$ac_ext <<_ACEOF | ||
12979 | /* end confdefs.h. */ | ||
12980 | #include <sys/bitypes.h> | ||
12981 | int | ||
12982 | main () | ||
12983 | { | ||
12984 | u_int64_t a; a = 1 | ||
12985 | ; | ||
12986 | return 0; | ||
12987 | } | ||
12988 | _ACEOF | ||
12989 | rm -f conftest.$ac_objext | ||
12990 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
12991 | (eval $ac_compile) 2>&5 | ||
12992 | ac_status=$? | ||
12993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12994 | (exit $ac_status); } && | ||
12995 | { ac_try='test -s conftest.$ac_objext' | ||
12996 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
12997 | (eval $ac_try) 2>&5 | ||
12998 | ac_status=$? | ||
12999 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13000 | (exit $ac_status); }; }; then | ||
13001 | |||
13002 | cat >>confdefs.h <<\_ACEOF | ||
13003 | @%:@define HAVE_U_INT64_T 1 | ||
13004 | _ACEOF | ||
13005 | |||
13006 | echo "$as_me:$LINENO: result: yes" >&5 | ||
13007 | echo "${ECHO_T}yes" >&6 | ||
13008 | |||
13009 | else | ||
13010 | echo "$as_me: failed program was:" >&5 | ||
13011 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13012 | |||
13013 | echo "$as_me:$LINENO: result: no" >&5 | ||
13014 | echo "${ECHO_T}no" >&6 | ||
13015 | |||
13016 | fi | ||
13017 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13018 | fi | ||
13019 | |||
13020 | if test -z "$have_u_intxx_t" ; then | ||
13021 | echo "$as_me:$LINENO: checking for uintXX_t types" >&5 | ||
13022 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 | ||
13023 | if test "${ac_cv_have_uintxx_t+set}" = set; then | ||
13024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13025 | else | ||
13026 | |||
13027 | cat >conftest.$ac_ext <<_ACEOF | ||
13028 | #line $LINENO "configure" | ||
13029 | /* confdefs.h. */ | ||
13030 | _ACEOF | ||
13031 | cat confdefs.h >>conftest.$ac_ext | ||
13032 | cat >>conftest.$ac_ext <<_ACEOF | ||
13033 | /* end confdefs.h. */ | ||
13034 | |||
13035 | #include <sys/types.h> | ||
13036 | |||
13037 | int | ||
13038 | main () | ||
13039 | { | ||
13040 | uint8_t a; uint16_t b; uint32_t c; a = b = c = 1; | ||
13041 | ; | ||
13042 | return 0; | ||
13043 | } | ||
13044 | _ACEOF | ||
13045 | rm -f conftest.$ac_objext | ||
13046 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13047 | (eval $ac_compile) 2>&5 | ||
13048 | ac_status=$? | ||
13049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13050 | (exit $ac_status); } && | ||
13051 | { ac_try='test -s conftest.$ac_objext' | ||
13052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13053 | (eval $ac_try) 2>&5 | ||
13054 | ac_status=$? | ||
13055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13056 | (exit $ac_status); }; }; then | ||
13057 | ac_cv_have_uintxx_t="yes" | ||
13058 | else | ||
13059 | echo "$as_me: failed program was:" >&5 | ||
13060 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13061 | |||
13062 | ac_cv_have_uintxx_t="no" | ||
13063 | |||
13064 | fi | ||
13065 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13066 | |||
13067 | fi | ||
13068 | echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 | ||
13069 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 | ||
13070 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then | ||
13071 | cat >>confdefs.h <<\_ACEOF | ||
13072 | @%:@define HAVE_UINTXX_T 1 | ||
13073 | _ACEOF | ||
13074 | |||
13075 | fi | ||
13076 | fi | ||
13077 | |||
13078 | if test -z "$have_uintxx_t" ; then | ||
13079 | echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 | ||
13080 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 | ||
13081 | cat >conftest.$ac_ext <<_ACEOF | ||
13082 | #line $LINENO "configure" | ||
13083 | /* confdefs.h. */ | ||
13084 | _ACEOF | ||
13085 | cat confdefs.h >>conftest.$ac_ext | ||
13086 | cat >>conftest.$ac_ext <<_ACEOF | ||
13087 | /* end confdefs.h. */ | ||
13088 | #include <stdint.h> | ||
13089 | int | ||
13090 | main () | ||
13091 | { | ||
13092 | uint8_t a; uint16_t b; uint32_t c; a = b = c = 1; | ||
13093 | ; | ||
13094 | return 0; | ||
13095 | } | ||
13096 | _ACEOF | ||
13097 | rm -f conftest.$ac_objext | ||
13098 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13099 | (eval $ac_compile) 2>&5 | ||
13100 | ac_status=$? | ||
13101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13102 | (exit $ac_status); } && | ||
13103 | { ac_try='test -s conftest.$ac_objext' | ||
13104 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13105 | (eval $ac_try) 2>&5 | ||
13106 | ac_status=$? | ||
13107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13108 | (exit $ac_status); }; }; then | ||
13109 | |||
13110 | cat >>confdefs.h <<\_ACEOF | ||
13111 | @%:@define HAVE_UINTXX_T 1 | ||
13112 | _ACEOF | ||
13113 | |||
13114 | echo "$as_me:$LINENO: result: yes" >&5 | ||
13115 | echo "${ECHO_T}yes" >&6 | ||
13116 | |||
13117 | else | ||
13118 | echo "$as_me: failed program was:" >&5 | ||
13119 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13120 | |||
13121 | echo "$as_me:$LINENO: result: no" >&5 | ||
13122 | echo "${ECHO_T}no" >&6 | ||
13123 | |||
13124 | fi | ||
13125 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13126 | fi | ||
13127 | |||
13128 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | ||
13129 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | ||
13130 | then | ||
13131 | echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 | ||
13132 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 | ||
13133 | cat >conftest.$ac_ext <<_ACEOF | ||
13134 | #line $LINENO "configure" | ||
13135 | /* confdefs.h. */ | ||
13136 | _ACEOF | ||
13137 | cat confdefs.h >>conftest.$ac_ext | ||
13138 | cat >>conftest.$ac_ext <<_ACEOF | ||
13139 | /* end confdefs.h. */ | ||
13140 | |||
13141 | #include <sys/bitypes.h> | ||
13142 | |||
13143 | int | ||
13144 | main () | ||
13145 | { | ||
13146 | |||
13147 | int8_t a; int16_t b; int32_t c; | ||
13148 | u_int8_t e; u_int16_t f; u_int32_t g; | ||
13149 | a = b = c = e = f = g = 1; | ||
13150 | |||
13151 | ; | ||
13152 | return 0; | ||
13153 | } | ||
13154 | _ACEOF | ||
13155 | rm -f conftest.$ac_objext | ||
13156 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13157 | (eval $ac_compile) 2>&5 | ||
13158 | ac_status=$? | ||
13159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13160 | (exit $ac_status); } && | ||
13161 | { ac_try='test -s conftest.$ac_objext' | ||
13162 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13163 | (eval $ac_try) 2>&5 | ||
13164 | ac_status=$? | ||
13165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13166 | (exit $ac_status); }; }; then | ||
13167 | |||
13168 | cat >>confdefs.h <<\_ACEOF | ||
13169 | @%:@define HAVE_U_INTXX_T 1 | ||
13170 | _ACEOF | ||
13171 | |||
13172 | cat >>confdefs.h <<\_ACEOF | ||
13173 | @%:@define HAVE_INTXX_T 1 | ||
13174 | _ACEOF | ||
13175 | |||
13176 | echo "$as_me:$LINENO: result: yes" >&5 | ||
13177 | echo "${ECHO_T}yes" >&6 | ||
13178 | |||
13179 | else | ||
13180 | echo "$as_me: failed program was:" >&5 | ||
13181 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13182 | |||
13183 | echo "$as_me:$LINENO: result: no" >&5 | ||
13184 | echo "${ECHO_T}no" >&6 | ||
13185 | |||
13186 | fi | ||
13187 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13188 | fi | ||
13189 | |||
13190 | |||
13191 | echo "$as_me:$LINENO: checking for u_char" >&5 | ||
13192 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 | ||
13193 | if test "${ac_cv_have_u_char+set}" = set; then | ||
13194 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13195 | else | ||
13196 | |||
13197 | cat >conftest.$ac_ext <<_ACEOF | ||
13198 | #line $LINENO "configure" | ||
13199 | /* confdefs.h. */ | ||
13200 | _ACEOF | ||
13201 | cat confdefs.h >>conftest.$ac_ext | ||
13202 | cat >>conftest.$ac_ext <<_ACEOF | ||
13203 | /* end confdefs.h. */ | ||
13204 | |||
13205 | #include <sys/types.h> | ||
13206 | |||
13207 | int | ||
13208 | main () | ||
13209 | { | ||
13210 | u_char foo; foo = 125; | ||
13211 | ; | ||
13212 | return 0; | ||
13213 | } | ||
13214 | _ACEOF | ||
13215 | rm -f conftest.$ac_objext | ||
13216 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13217 | (eval $ac_compile) 2>&5 | ||
13218 | ac_status=$? | ||
13219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13220 | (exit $ac_status); } && | ||
13221 | { ac_try='test -s conftest.$ac_objext' | ||
13222 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13223 | (eval $ac_try) 2>&5 | ||
13224 | ac_status=$? | ||
13225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13226 | (exit $ac_status); }; }; then | ||
13227 | ac_cv_have_u_char="yes" | ||
13228 | else | ||
13229 | echo "$as_me: failed program was:" >&5 | ||
13230 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13231 | |||
13232 | ac_cv_have_u_char="no" | ||
13233 | |||
13234 | fi | ||
13235 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13236 | |||
13237 | fi | ||
13238 | echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 | ||
13239 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 | ||
13240 | if test "x$ac_cv_have_u_char" = "xyes" ; then | ||
13241 | cat >>confdefs.h <<\_ACEOF | ||
13242 | @%:@define HAVE_U_CHAR 1 | ||
13243 | _ACEOF | ||
13244 | |||
13245 | fi | ||
13246 | |||
13247 | |||
13248 | echo "$as_me:$LINENO: checking for socklen_t" >&5 | ||
13249 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 | ||
13250 | if test "${ac_cv_type_socklen_t+set}" = set; then | ||
13251 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13252 | else | ||
13253 | cat >conftest.$ac_ext <<_ACEOF | ||
13254 | #line $LINENO "configure" | ||
13255 | /* confdefs.h. */ | ||
13256 | _ACEOF | ||
13257 | cat confdefs.h >>conftest.$ac_ext | ||
13258 | cat >>conftest.$ac_ext <<_ACEOF | ||
13259 | /* end confdefs.h. */ | ||
13260 | #include <sys/types.h> | ||
13261 | #include <sys/socket.h> | ||
13262 | |||
13263 | int | ||
13264 | main () | ||
13265 | { | ||
13266 | if ((socklen_t *) 0) | ||
13267 | return 0; | ||
13268 | if (sizeof (socklen_t)) | ||
13269 | return 0; | ||
13270 | ; | ||
13271 | return 0; | ||
13272 | } | ||
13273 | _ACEOF | ||
13274 | rm -f conftest.$ac_objext | ||
13275 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13276 | (eval $ac_compile) 2>&5 | ||
13277 | ac_status=$? | ||
13278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13279 | (exit $ac_status); } && | ||
13280 | { ac_try='test -s conftest.$ac_objext' | ||
13281 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13282 | (eval $ac_try) 2>&5 | ||
13283 | ac_status=$? | ||
13284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13285 | (exit $ac_status); }; }; then | ||
13286 | ac_cv_type_socklen_t=yes | ||
13287 | else | ||
13288 | echo "$as_me: failed program was:" >&5 | ||
13289 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13290 | |||
13291 | ac_cv_type_socklen_t=no | ||
13292 | fi | ||
13293 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13294 | fi | ||
13295 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 | ||
13296 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 | ||
13297 | if test $ac_cv_type_socklen_t = yes; then | ||
13298 | : | ||
13299 | else | ||
13300 | |||
13301 | echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 | ||
13302 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 | ||
13303 | if test "${curl_cv_socklen_t_equiv+set}" = set; then | ||
13304 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13305 | else | ||
13306 | |||
13307 | # Systems have either "struct sockaddr *" or | ||
13308 | # "void *" as the second argument to getpeername | ||
13309 | curl_cv_socklen_t_equiv= | ||
13310 | for arg2 in "struct sockaddr" void; do | ||
13311 | for t in int size_t unsigned long "unsigned long"; do | ||
13312 | cat >conftest.$ac_ext <<_ACEOF | ||
13313 | #line $LINENO "configure" | ||
13314 | /* confdefs.h. */ | ||
13315 | _ACEOF | ||
13316 | cat confdefs.h >>conftest.$ac_ext | ||
13317 | cat >>conftest.$ac_ext <<_ACEOF | ||
13318 | /* end confdefs.h. */ | ||
13319 | |||
13320 | #include <sys/types.h> | ||
13321 | #include <sys/socket.h> | ||
13322 | |||
13323 | int getpeername (int, $arg2 *, $t *); | ||
13324 | |||
13325 | int | ||
13326 | main () | ||
13327 | { | ||
13328 | |||
13329 | $t len; | ||
13330 | getpeername(0,0,&len); | ||
13331 | |||
13332 | ; | ||
13333 | return 0; | ||
13334 | } | ||
13335 | _ACEOF | ||
13336 | rm -f conftest.$ac_objext | ||
13337 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13338 | (eval $ac_compile) 2>&5 | ||
13339 | ac_status=$? | ||
13340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13341 | (exit $ac_status); } && | ||
13342 | { ac_try='test -s conftest.$ac_objext' | ||
13343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13344 | (eval $ac_try) 2>&5 | ||
13345 | ac_status=$? | ||
13346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13347 | (exit $ac_status); }; }; then | ||
13348 | |||
13349 | curl_cv_socklen_t_equiv="$t" | ||
13350 | break | ||
13351 | |||
13352 | else | ||
13353 | echo "$as_me: failed program was:" >&5 | ||
13354 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13355 | |||
13356 | fi | ||
13357 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13358 | done | ||
13359 | done | ||
13360 | |||
13361 | if test "x$curl_cv_socklen_t_equiv" = x; then | ||
13362 | { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5 | ||
13363 | echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} | ||
13364 | { (exit 1); exit 1; }; } | ||
13365 | fi | ||
13366 | |||
13367 | fi | ||
13368 | |||
13369 | echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 | ||
13370 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 | ||
13371 | |||
13372 | cat >>confdefs.h <<_ACEOF | ||
13373 | @%:@define socklen_t $curl_cv_socklen_t_equiv | ||
13374 | _ACEOF | ||
13375 | |||
13376 | fi | ||
13377 | |||
13378 | |||
13379 | |||
13380 | echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 | ||
13381 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 | ||
13382 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then | ||
13383 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13384 | else | ||
13385 | cat >conftest.$ac_ext <<_ACEOF | ||
13386 | #line $LINENO "configure" | ||
13387 | /* confdefs.h. */ | ||
13388 | _ACEOF | ||
13389 | cat confdefs.h >>conftest.$ac_ext | ||
13390 | cat >>conftest.$ac_ext <<_ACEOF | ||
13391 | /* end confdefs.h. */ | ||
13392 | #include <signal.h> | ||
13393 | |||
13394 | int | ||
13395 | main () | ||
13396 | { | ||
13397 | if ((sig_atomic_t *) 0) | ||
13398 | return 0; | ||
13399 | if (sizeof (sig_atomic_t)) | ||
13400 | return 0; | ||
13401 | ; | ||
13402 | return 0; | ||
13403 | } | ||
13404 | _ACEOF | ||
13405 | rm -f conftest.$ac_objext | ||
13406 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13407 | (eval $ac_compile) 2>&5 | ||
13408 | ac_status=$? | ||
13409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13410 | (exit $ac_status); } && | ||
13411 | { ac_try='test -s conftest.$ac_objext' | ||
13412 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13413 | (eval $ac_try) 2>&5 | ||
13414 | ac_status=$? | ||
13415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13416 | (exit $ac_status); }; }; then | ||
13417 | ac_cv_type_sig_atomic_t=yes | ||
13418 | else | ||
13419 | echo "$as_me: failed program was:" >&5 | ||
13420 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13421 | |||
13422 | ac_cv_type_sig_atomic_t=no | ||
13423 | fi | ||
13424 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13425 | fi | ||
13426 | echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 | ||
13427 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 | ||
13428 | if test $ac_cv_type_sig_atomic_t = yes; then | ||
13429 | |||
13430 | cat >>confdefs.h <<_ACEOF | ||
13431 | @%:@define HAVE_SIG_ATOMIC_T 1 | ||
13432 | _ACEOF | ||
13433 | |||
13434 | |||
13435 | fi | ||
13436 | |||
13437 | |||
13438 | echo "$as_me:$LINENO: checking for size_t" >&5 | ||
13439 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | ||
13440 | if test "${ac_cv_have_size_t+set}" = set; then | ||
13441 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13442 | else | ||
13443 | |||
13444 | cat >conftest.$ac_ext <<_ACEOF | ||
13445 | #line $LINENO "configure" | ||
13446 | /* confdefs.h. */ | ||
13447 | _ACEOF | ||
13448 | cat confdefs.h >>conftest.$ac_ext | ||
13449 | cat >>conftest.$ac_ext <<_ACEOF | ||
13450 | /* end confdefs.h. */ | ||
13451 | |||
13452 | #include <sys/types.h> | ||
13453 | |||
13454 | int | ||
13455 | main () | ||
13456 | { | ||
13457 | size_t foo; foo = 1235; | ||
13458 | ; | ||
13459 | return 0; | ||
13460 | } | ||
13461 | _ACEOF | ||
13462 | rm -f conftest.$ac_objext | ||
13463 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13464 | (eval $ac_compile) 2>&5 | ||
13465 | ac_status=$? | ||
13466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13467 | (exit $ac_status); } && | ||
13468 | { ac_try='test -s conftest.$ac_objext' | ||
13469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13470 | (eval $ac_try) 2>&5 | ||
13471 | ac_status=$? | ||
13472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13473 | (exit $ac_status); }; }; then | ||
13474 | ac_cv_have_size_t="yes" | ||
13475 | else | ||
13476 | echo "$as_me: failed program was:" >&5 | ||
13477 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13478 | |||
13479 | ac_cv_have_size_t="no" | ||
13480 | |||
13481 | fi | ||
13482 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13483 | |||
13484 | fi | ||
13485 | echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 | ||
13486 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 | ||
13487 | if test "x$ac_cv_have_size_t" = "xyes" ; then | ||
13488 | cat >>confdefs.h <<\_ACEOF | ||
13489 | @%:@define HAVE_SIZE_T 1 | ||
13490 | _ACEOF | ||
13491 | |||
13492 | fi | ||
13493 | |||
13494 | echo "$as_me:$LINENO: checking for ssize_t" >&5 | ||
13495 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 | ||
13496 | if test "${ac_cv_have_ssize_t+set}" = set; then | ||
13497 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13498 | else | ||
13499 | |||
13500 | cat >conftest.$ac_ext <<_ACEOF | ||
13501 | #line $LINENO "configure" | ||
13502 | /* confdefs.h. */ | ||
13503 | _ACEOF | ||
13504 | cat confdefs.h >>conftest.$ac_ext | ||
13505 | cat >>conftest.$ac_ext <<_ACEOF | ||
13506 | /* end confdefs.h. */ | ||
13507 | |||
13508 | #include <sys/types.h> | ||
13509 | |||
13510 | int | ||
13511 | main () | ||
13512 | { | ||
13513 | ssize_t foo; foo = 1235; | ||
13514 | ; | ||
13515 | return 0; | ||
13516 | } | ||
13517 | _ACEOF | ||
13518 | rm -f conftest.$ac_objext | ||
13519 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13520 | (eval $ac_compile) 2>&5 | ||
13521 | ac_status=$? | ||
13522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13523 | (exit $ac_status); } && | ||
13524 | { ac_try='test -s conftest.$ac_objext' | ||
13525 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13526 | (eval $ac_try) 2>&5 | ||
13527 | ac_status=$? | ||
13528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13529 | (exit $ac_status); }; }; then | ||
13530 | ac_cv_have_ssize_t="yes" | ||
13531 | else | ||
13532 | echo "$as_me: failed program was:" >&5 | ||
13533 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13534 | |||
13535 | ac_cv_have_ssize_t="no" | ||
13536 | |||
13537 | fi | ||
13538 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13539 | |||
13540 | fi | ||
13541 | echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 | ||
13542 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 | ||
13543 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | ||
13544 | cat >>confdefs.h <<\_ACEOF | ||
13545 | @%:@define HAVE_SSIZE_T 1 | ||
13546 | _ACEOF | ||
13547 | |||
13548 | fi | ||
13549 | |||
13550 | echo "$as_me:$LINENO: checking for clock_t" >&5 | ||
13551 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 | ||
13552 | if test "${ac_cv_have_clock_t+set}" = set; then | ||
13553 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13554 | else | ||
13555 | |||
13556 | cat >conftest.$ac_ext <<_ACEOF | ||
13557 | #line $LINENO "configure" | ||
13558 | /* confdefs.h. */ | ||
13559 | _ACEOF | ||
13560 | cat confdefs.h >>conftest.$ac_ext | ||
13561 | cat >>conftest.$ac_ext <<_ACEOF | ||
13562 | /* end confdefs.h. */ | ||
13563 | |||
13564 | #include <time.h> | ||
13565 | |||
13566 | int | ||
13567 | main () | ||
13568 | { | ||
13569 | clock_t foo; foo = 1235; | ||
13570 | ; | ||
13571 | return 0; | ||
13572 | } | ||
13573 | _ACEOF | ||
13574 | rm -f conftest.$ac_objext | ||
13575 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13576 | (eval $ac_compile) 2>&5 | ||
13577 | ac_status=$? | ||
13578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13579 | (exit $ac_status); } && | ||
13580 | { ac_try='test -s conftest.$ac_objext' | ||
13581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13582 | (eval $ac_try) 2>&5 | ||
13583 | ac_status=$? | ||
13584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13585 | (exit $ac_status); }; }; then | ||
13586 | ac_cv_have_clock_t="yes" | ||
13587 | else | ||
13588 | echo "$as_me: failed program was:" >&5 | ||
13589 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13590 | |||
13591 | ac_cv_have_clock_t="no" | ||
13592 | |||
13593 | fi | ||
13594 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13595 | |||
13596 | fi | ||
13597 | echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 | ||
13598 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 | ||
13599 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | ||
13600 | cat >>confdefs.h <<\_ACEOF | ||
13601 | @%:@define HAVE_CLOCK_T 1 | ||
13602 | _ACEOF | ||
13603 | |||
13604 | fi | ||
13605 | |||
13606 | echo "$as_me:$LINENO: checking for sa_family_t" >&5 | ||
13607 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 | ||
13608 | if test "${ac_cv_have_sa_family_t+set}" = set; then | ||
13609 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13610 | else | ||
13611 | |||
13612 | cat >conftest.$ac_ext <<_ACEOF | ||
13613 | #line $LINENO "configure" | ||
13614 | /* confdefs.h. */ | ||
13615 | _ACEOF | ||
13616 | cat confdefs.h >>conftest.$ac_ext | ||
13617 | cat >>conftest.$ac_ext <<_ACEOF | ||
13618 | /* end confdefs.h. */ | ||
13619 | |||
13620 | #include <sys/types.h> | ||
13621 | #include <sys/socket.h> | ||
13622 | |||
13623 | int | ||
13624 | main () | ||
13625 | { | ||
13626 | sa_family_t foo; foo = 1235; | ||
13627 | ; | ||
13628 | return 0; | ||
13629 | } | ||
13630 | _ACEOF | ||
13631 | rm -f conftest.$ac_objext | ||
13632 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13633 | (eval $ac_compile) 2>&5 | ||
13634 | ac_status=$? | ||
13635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13636 | (exit $ac_status); } && | ||
13637 | { ac_try='test -s conftest.$ac_objext' | ||
13638 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13639 | (eval $ac_try) 2>&5 | ||
13640 | ac_status=$? | ||
13641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13642 | (exit $ac_status); }; }; then | ||
13643 | ac_cv_have_sa_family_t="yes" | ||
13644 | else | ||
13645 | echo "$as_me: failed program was:" >&5 | ||
13646 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13647 | |||
13648 | cat >conftest.$ac_ext <<_ACEOF | ||
13649 | #line $LINENO "configure" | ||
13650 | /* confdefs.h. */ | ||
13651 | _ACEOF | ||
13652 | cat confdefs.h >>conftest.$ac_ext | ||
13653 | cat >>conftest.$ac_ext <<_ACEOF | ||
13654 | /* end confdefs.h. */ | ||
13655 | |||
13656 | #include <sys/types.h> | ||
13657 | #include <sys/socket.h> | ||
13658 | #include <netinet/in.h> | ||
13659 | |||
13660 | int | ||
13661 | main () | ||
13662 | { | ||
13663 | sa_family_t foo; foo = 1235; | ||
13664 | ; | ||
13665 | return 0; | ||
13666 | } | ||
13667 | _ACEOF | ||
13668 | rm -f conftest.$ac_objext | ||
13669 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13670 | (eval $ac_compile) 2>&5 | ||
13671 | ac_status=$? | ||
13672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13673 | (exit $ac_status); } && | ||
13674 | { ac_try='test -s conftest.$ac_objext' | ||
13675 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13676 | (eval $ac_try) 2>&5 | ||
13677 | ac_status=$? | ||
13678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13679 | (exit $ac_status); }; }; then | ||
13680 | ac_cv_have_sa_family_t="yes" | ||
13681 | else | ||
13682 | echo "$as_me: failed program was:" >&5 | ||
13683 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13684 | |||
13685 | ac_cv_have_sa_family_t="no" | ||
13686 | |||
13687 | fi | ||
13688 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13689 | |||
13690 | fi | ||
13691 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13692 | |||
13693 | fi | ||
13694 | echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 | ||
13695 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 | ||
13696 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | ||
13697 | cat >>confdefs.h <<\_ACEOF | ||
13698 | @%:@define HAVE_SA_FAMILY_T 1 | ||
13699 | _ACEOF | ||
13700 | |||
13701 | fi | ||
13702 | |||
13703 | echo "$as_me:$LINENO: checking for pid_t" >&5 | ||
13704 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | ||
13705 | if test "${ac_cv_have_pid_t+set}" = set; then | ||
13706 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13707 | else | ||
13708 | |||
13709 | cat >conftest.$ac_ext <<_ACEOF | ||
13710 | #line $LINENO "configure" | ||
13711 | /* confdefs.h. */ | ||
13712 | _ACEOF | ||
13713 | cat confdefs.h >>conftest.$ac_ext | ||
13714 | cat >>conftest.$ac_ext <<_ACEOF | ||
13715 | /* end confdefs.h. */ | ||
13716 | |||
13717 | #include <sys/types.h> | ||
13718 | |||
13719 | int | ||
13720 | main () | ||
13721 | { | ||
13722 | pid_t foo; foo = 1235; | ||
13723 | ; | ||
13724 | return 0; | ||
13725 | } | ||
13726 | _ACEOF | ||
13727 | rm -f conftest.$ac_objext | ||
13728 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13729 | (eval $ac_compile) 2>&5 | ||
13730 | ac_status=$? | ||
13731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13732 | (exit $ac_status); } && | ||
13733 | { ac_try='test -s conftest.$ac_objext' | ||
13734 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13735 | (eval $ac_try) 2>&5 | ||
13736 | ac_status=$? | ||
13737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13738 | (exit $ac_status); }; }; then | ||
13739 | ac_cv_have_pid_t="yes" | ||
13740 | else | ||
13741 | echo "$as_me: failed program was:" >&5 | ||
13742 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13743 | |||
13744 | ac_cv_have_pid_t="no" | ||
13745 | |||
13746 | fi | ||
13747 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13748 | |||
13749 | fi | ||
13750 | echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 | ||
13751 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 | ||
13752 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | ||
13753 | cat >>confdefs.h <<\_ACEOF | ||
13754 | @%:@define HAVE_PID_T 1 | ||
13755 | _ACEOF | ||
13756 | |||
13757 | fi | ||
13758 | |||
13759 | echo "$as_me:$LINENO: checking for mode_t" >&5 | ||
13760 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 | ||
13761 | if test "${ac_cv_have_mode_t+set}" = set; then | ||
13762 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13763 | else | ||
13764 | |||
13765 | cat >conftest.$ac_ext <<_ACEOF | ||
13766 | #line $LINENO "configure" | ||
13767 | /* confdefs.h. */ | ||
13768 | _ACEOF | ||
13769 | cat confdefs.h >>conftest.$ac_ext | ||
13770 | cat >>conftest.$ac_ext <<_ACEOF | ||
13771 | /* end confdefs.h. */ | ||
13772 | |||
13773 | #include <sys/types.h> | ||
13774 | |||
13775 | int | ||
13776 | main () | ||
13777 | { | ||
13778 | mode_t foo; foo = 1235; | ||
13779 | ; | ||
13780 | return 0; | ||
13781 | } | ||
13782 | _ACEOF | ||
13783 | rm -f conftest.$ac_objext | ||
13784 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13785 | (eval $ac_compile) 2>&5 | ||
13786 | ac_status=$? | ||
13787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13788 | (exit $ac_status); } && | ||
13789 | { ac_try='test -s conftest.$ac_objext' | ||
13790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13791 | (eval $ac_try) 2>&5 | ||
13792 | ac_status=$? | ||
13793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13794 | (exit $ac_status); }; }; then | ||
13795 | ac_cv_have_mode_t="yes" | ||
13796 | else | ||
13797 | echo "$as_me: failed program was:" >&5 | ||
13798 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13799 | |||
13800 | ac_cv_have_mode_t="no" | ||
13801 | |||
13802 | fi | ||
13803 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13804 | |||
13805 | fi | ||
13806 | echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 | ||
13807 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 | ||
13808 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | ||
13809 | cat >>confdefs.h <<\_ACEOF | ||
13810 | @%:@define HAVE_MODE_T 1 | ||
13811 | _ACEOF | ||
13812 | |||
13813 | fi | ||
13814 | |||
13815 | |||
13816 | echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 | ||
13817 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 | ||
13818 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then | ||
13819 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13820 | else | ||
13821 | |||
13822 | cat >conftest.$ac_ext <<_ACEOF | ||
13823 | #line $LINENO "configure" | ||
13824 | /* confdefs.h. */ | ||
13825 | _ACEOF | ||
13826 | cat confdefs.h >>conftest.$ac_ext | ||
13827 | cat >>conftest.$ac_ext <<_ACEOF | ||
13828 | /* end confdefs.h. */ | ||
13829 | |||
13830 | #include <sys/types.h> | ||
13831 | #include <sys/socket.h> | ||
13832 | |||
13833 | int | ||
13834 | main () | ||
13835 | { | ||
13836 | struct sockaddr_storage s; | ||
13837 | ; | ||
13838 | return 0; | ||
13839 | } | ||
13840 | _ACEOF | ||
13841 | rm -f conftest.$ac_objext | ||
13842 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13843 | (eval $ac_compile) 2>&5 | ||
13844 | ac_status=$? | ||
13845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13846 | (exit $ac_status); } && | ||
13847 | { ac_try='test -s conftest.$ac_objext' | ||
13848 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13849 | (eval $ac_try) 2>&5 | ||
13850 | ac_status=$? | ||
13851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13852 | (exit $ac_status); }; }; then | ||
13853 | ac_cv_have_struct_sockaddr_storage="yes" | ||
13854 | else | ||
13855 | echo "$as_me: failed program was:" >&5 | ||
13856 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13857 | |||
13858 | ac_cv_have_struct_sockaddr_storage="no" | ||
13859 | |||
13860 | fi | ||
13861 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13862 | |||
13863 | fi | ||
13864 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 | ||
13865 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 | ||
13866 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | ||
13867 | cat >>confdefs.h <<\_ACEOF | ||
13868 | @%:@define HAVE_STRUCT_SOCKADDR_STORAGE 1 | ||
13869 | _ACEOF | ||
13870 | |||
13871 | fi | ||
13872 | |||
13873 | echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 | ||
13874 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 | ||
13875 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then | ||
13876 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13877 | else | ||
13878 | |||
13879 | cat >conftest.$ac_ext <<_ACEOF | ||
13880 | #line $LINENO "configure" | ||
13881 | /* confdefs.h. */ | ||
13882 | _ACEOF | ||
13883 | cat confdefs.h >>conftest.$ac_ext | ||
13884 | cat >>conftest.$ac_ext <<_ACEOF | ||
13885 | /* end confdefs.h. */ | ||
13886 | |||
13887 | #include <sys/types.h> | ||
13888 | #include <netinet/in.h> | ||
13889 | |||
13890 | int | ||
13891 | main () | ||
13892 | { | ||
13893 | struct sockaddr_in6 s; s.sin6_family = 0; | ||
13894 | ; | ||
13895 | return 0; | ||
13896 | } | ||
13897 | _ACEOF | ||
13898 | rm -f conftest.$ac_objext | ||
13899 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13900 | (eval $ac_compile) 2>&5 | ||
13901 | ac_status=$? | ||
13902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13903 | (exit $ac_status); } && | ||
13904 | { ac_try='test -s conftest.$ac_objext' | ||
13905 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13906 | (eval $ac_try) 2>&5 | ||
13907 | ac_status=$? | ||
13908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13909 | (exit $ac_status); }; }; then | ||
13910 | ac_cv_have_struct_sockaddr_in6="yes" | ||
13911 | else | ||
13912 | echo "$as_me: failed program was:" >&5 | ||
13913 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13914 | |||
13915 | ac_cv_have_struct_sockaddr_in6="no" | ||
13916 | |||
13917 | fi | ||
13918 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13919 | |||
13920 | fi | ||
13921 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 | ||
13922 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 | ||
13923 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | ||
13924 | cat >>confdefs.h <<\_ACEOF | ||
13925 | @%:@define HAVE_STRUCT_SOCKADDR_IN6 1 | ||
13926 | _ACEOF | ||
13927 | |||
13928 | fi | ||
13929 | |||
13930 | echo "$as_me:$LINENO: checking for struct in6_addr" >&5 | ||
13931 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 | ||
13932 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then | ||
13933 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13934 | else | ||
13935 | |||
13936 | cat >conftest.$ac_ext <<_ACEOF | ||
13937 | #line $LINENO "configure" | ||
13938 | /* confdefs.h. */ | ||
13939 | _ACEOF | ||
13940 | cat confdefs.h >>conftest.$ac_ext | ||
13941 | cat >>conftest.$ac_ext <<_ACEOF | ||
13942 | /* end confdefs.h. */ | ||
13943 | |||
13944 | #include <sys/types.h> | ||
13945 | #include <netinet/in.h> | ||
13946 | |||
13947 | int | ||
13948 | main () | ||
13949 | { | ||
13950 | struct in6_addr s; s.s6_addr[0] = 0; | ||
13951 | ; | ||
13952 | return 0; | ||
13953 | } | ||
13954 | _ACEOF | ||
13955 | rm -f conftest.$ac_objext | ||
13956 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
13957 | (eval $ac_compile) 2>&5 | ||
13958 | ac_status=$? | ||
13959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13960 | (exit $ac_status); } && | ||
13961 | { ac_try='test -s conftest.$ac_objext' | ||
13962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
13963 | (eval $ac_try) 2>&5 | ||
13964 | ac_status=$? | ||
13965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13966 | (exit $ac_status); }; }; then | ||
13967 | ac_cv_have_struct_in6_addr="yes" | ||
13968 | else | ||
13969 | echo "$as_me: failed program was:" >&5 | ||
13970 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13971 | |||
13972 | ac_cv_have_struct_in6_addr="no" | ||
13973 | |||
13974 | fi | ||
13975 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
13976 | |||
13977 | fi | ||
13978 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 | ||
13979 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 | ||
13980 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | ||
13981 | cat >>confdefs.h <<\_ACEOF | ||
13982 | @%:@define HAVE_STRUCT_IN6_ADDR 1 | ||
13983 | _ACEOF | ||
13984 | |||
13985 | fi | ||
13986 | |||
13987 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 | ||
13988 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 | ||
13989 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then | ||
13990 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13991 | else | ||
13992 | |||
13993 | cat >conftest.$ac_ext <<_ACEOF | ||
13994 | #line $LINENO "configure" | ||
13995 | /* confdefs.h. */ | ||
13996 | _ACEOF | ||
13997 | cat confdefs.h >>conftest.$ac_ext | ||
13998 | cat >>conftest.$ac_ext <<_ACEOF | ||
13999 | /* end confdefs.h. */ | ||
14000 | |||
14001 | #include <sys/types.h> | ||
14002 | #include <sys/socket.h> | ||
14003 | #include <netdb.h> | ||
14004 | |||
14005 | int | ||
14006 | main () | ||
14007 | { | ||
14008 | struct addrinfo s; s.ai_flags = AI_PASSIVE; | ||
14009 | ; | ||
14010 | return 0; | ||
14011 | } | ||
14012 | _ACEOF | ||
14013 | rm -f conftest.$ac_objext | ||
14014 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14015 | (eval $ac_compile) 2>&5 | ||
14016 | ac_status=$? | ||
14017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14018 | (exit $ac_status); } && | ||
14019 | { ac_try='test -s conftest.$ac_objext' | ||
14020 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14021 | (eval $ac_try) 2>&5 | ||
14022 | ac_status=$? | ||
14023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14024 | (exit $ac_status); }; }; then | ||
14025 | ac_cv_have_struct_addrinfo="yes" | ||
14026 | else | ||
14027 | echo "$as_me: failed program was:" >&5 | ||
14028 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14029 | |||
14030 | ac_cv_have_struct_addrinfo="no" | ||
14031 | |||
14032 | fi | ||
14033 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14034 | |||
14035 | fi | ||
14036 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 | ||
14037 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 | ||
14038 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | ||
14039 | cat >>confdefs.h <<\_ACEOF | ||
14040 | @%:@define HAVE_STRUCT_ADDRINFO 1 | ||
14041 | _ACEOF | ||
14042 | |||
14043 | fi | ||
14044 | |||
14045 | echo "$as_me:$LINENO: checking for struct timeval" >&5 | ||
14046 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | ||
14047 | if test "${ac_cv_have_struct_timeval+set}" = set; then | ||
14048 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14049 | else | ||
14050 | |||
14051 | cat >conftest.$ac_ext <<_ACEOF | ||
14052 | #line $LINENO "configure" | ||
14053 | /* confdefs.h. */ | ||
14054 | _ACEOF | ||
14055 | cat confdefs.h >>conftest.$ac_ext | ||
14056 | cat >>conftest.$ac_ext <<_ACEOF | ||
14057 | /* end confdefs.h. */ | ||
14058 | #include <sys/time.h> | ||
14059 | int | ||
14060 | main () | ||
14061 | { | ||
14062 | struct timeval tv; tv.tv_sec = 1; | ||
14063 | ; | ||
14064 | return 0; | ||
14065 | } | ||
14066 | _ACEOF | ||
14067 | rm -f conftest.$ac_objext | ||
14068 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14069 | (eval $ac_compile) 2>&5 | ||
14070 | ac_status=$? | ||
14071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14072 | (exit $ac_status); } && | ||
14073 | { ac_try='test -s conftest.$ac_objext' | ||
14074 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14075 | (eval $ac_try) 2>&5 | ||
14076 | ac_status=$? | ||
14077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14078 | (exit $ac_status); }; }; then | ||
14079 | ac_cv_have_struct_timeval="yes" | ||
14080 | else | ||
14081 | echo "$as_me: failed program was:" >&5 | ||
14082 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14083 | |||
14084 | ac_cv_have_struct_timeval="no" | ||
14085 | |||
14086 | fi | ||
14087 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14088 | |||
14089 | fi | ||
14090 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 | ||
14091 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 | ||
14092 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | ||
14093 | cat >>confdefs.h <<\_ACEOF | ||
14094 | @%:@define HAVE_STRUCT_TIMEVAL 1 | ||
14095 | _ACEOF | ||
14096 | |||
14097 | have_struct_timeval=1 | ||
14098 | fi | ||
14099 | |||
14100 | echo "$as_me:$LINENO: checking for struct timespec" >&5 | ||
14101 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 | ||
14102 | if test "${ac_cv_type_struct_timespec+set}" = set; then | ||
14103 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14104 | else | ||
14105 | cat >conftest.$ac_ext <<_ACEOF | ||
14106 | #line $LINENO "configure" | ||
14107 | /* confdefs.h. */ | ||
14108 | _ACEOF | ||
14109 | cat confdefs.h >>conftest.$ac_ext | ||
14110 | cat >>conftest.$ac_ext <<_ACEOF | ||
14111 | /* end confdefs.h. */ | ||
14112 | $ac_includes_default | ||
14113 | int | ||
14114 | main () | ||
14115 | { | ||
14116 | if ((struct timespec *) 0) | ||
14117 | return 0; | ||
14118 | if (sizeof (struct timespec)) | ||
14119 | return 0; | ||
14120 | ; | ||
14121 | return 0; | ||
14122 | } | ||
14123 | _ACEOF | ||
14124 | rm -f conftest.$ac_objext | ||
14125 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
14126 | (eval $ac_compile) 2>&5 | ||
14127 | ac_status=$? | ||
14128 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14129 | (exit $ac_status); } && | ||
14130 | { ac_try='test -s conftest.$ac_objext' | ||
14131 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14132 | (eval $ac_try) 2>&5 | ||
14133 | ac_status=$? | ||
14134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14135 | (exit $ac_status); }; }; then | ||
14136 | ac_cv_type_struct_timespec=yes | ||
14137 | else | ||
14138 | echo "$as_me: failed program was:" >&5 | ||
14139 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14140 | |||
14141 | ac_cv_type_struct_timespec=no | ||
14142 | fi | ||
14143 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14144 | fi | ||
14145 | echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 | ||
14146 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 | ||
14147 | if test $ac_cv_type_struct_timespec = yes; then | ||
14148 | |||
14149 | cat >>confdefs.h <<_ACEOF | ||
14150 | @%:@define HAVE_STRUCT_TIMESPEC 1 | ||
14151 | _ACEOF | ||
14152 | |||
14153 | |||
14154 | fi | ||
14155 | |||
14156 | |||
14157 | # We need int64_t or else certian parts of the compile will fail. | ||
14158 | if test "x$ac_cv_have_int64_t" = "xno" -a \ | ||
14159 | "x$ac_cv_sizeof_long_int" != "x8" -a \ | ||
14160 | "x$ac_cv_sizeof_long_long_int" = "x0" ; then | ||
14161 | echo "OpenSSH requires int64_t support. Contact your vendor or install" | ||
14162 | echo "an alternative compiler (I.E., GCC) before continuing." | ||
14163 | echo "" | ||
14164 | exit 1; | ||
14165 | else | ||
14166 | if test "$cross_compiling" = yes; then | ||
14167 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
14168 | See \`config.log' for more details." >&5 | ||
14169 | echo "$as_me: error: cannot run test program while cross compiling | ||
14170 | See \`config.log' for more details." >&2;} | ||
14171 | { (exit 1); exit 1; }; } | ||
14172 | else | ||
14173 | cat >conftest.$ac_ext <<_ACEOF | ||
14174 | #line $LINENO "configure" | ||
14175 | /* confdefs.h. */ | ||
14176 | _ACEOF | ||
14177 | cat confdefs.h >>conftest.$ac_ext | ||
14178 | cat >>conftest.$ac_ext <<_ACEOF | ||
14179 | /* end confdefs.h. */ | ||
14180 | |||
14181 | #include <stdio.h> | ||
14182 | #include <string.h> | ||
14183 | #ifdef HAVE_SNPRINTF | ||
14184 | main() | ||
14185 | { | ||
14186 | char buf[50]; | ||
14187 | char expected_out[50]; | ||
14188 | int mazsize = 50 ; | ||
14189 | #if (SIZEOF_LONG_INT == 8) | ||
14190 | long int num = 0x7fffffffffffffff; | ||
14191 | #else | ||
14192 | long long num = 0x7fffffffffffffffll; | ||
14193 | #endif | ||
14194 | strcpy(expected_out, "9223372036854775807"); | ||
14195 | snprintf(buf, mazsize, "%lld", num); | ||
14196 | if(strcmp(buf, expected_out) != 0) | ||
14197 | exit(1); | ||
14198 | exit(0); | ||
14199 | } | ||
14200 | #else | ||
14201 | main() { exit(0); } | ||
14202 | #endif | ||
14203 | |||
14204 | _ACEOF | ||
14205 | rm -f conftest$ac_exeext | ||
14206 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14207 | (eval $ac_link) 2>&5 | ||
14208 | ac_status=$? | ||
14209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14210 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
14211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14212 | (eval $ac_try) 2>&5 | ||
14213 | ac_status=$? | ||
14214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14215 | (exit $ac_status); }; }; then | ||
14216 | true | ||
14217 | else | ||
14218 | echo "$as_me: program exited with status $ac_status" >&5 | ||
14219 | echo "$as_me: failed program was:" >&5 | ||
14220 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14221 | |||
14222 | ( exit $ac_status ) | ||
14223 | cat >>confdefs.h <<\_ACEOF | ||
14224 | @%:@define BROKEN_SNPRINTF 1 | ||
14225 | _ACEOF | ||
14226 | |||
14227 | |||
14228 | fi | ||
14229 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
14230 | fi | ||
14231 | fi | ||
14232 | |||
14233 | |||
14234 | # look for field 'ut_host' in header 'utmp.h' | ||
14235 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14236 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | ||
14237 | echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 | ||
14238 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 | ||
14239 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14240 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14241 | else | ||
14242 | |||
14243 | cat >conftest.$ac_ext <<_ACEOF | ||
14244 | #line $LINENO "configure" | ||
14245 | /* confdefs.h. */ | ||
14246 | _ACEOF | ||
14247 | cat confdefs.h >>conftest.$ac_ext | ||
14248 | cat >>conftest.$ac_ext <<_ACEOF | ||
14249 | /* end confdefs.h. */ | ||
14250 | #include <utmp.h> | ||
14251 | |||
14252 | _ACEOF | ||
14253 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14254 | $EGREP "ut_host" >/dev/null 2>&1; then | ||
14255 | eval "$ossh_varname=yes" | ||
14256 | else | ||
14257 | eval "$ossh_varname=no" | ||
14258 | fi | ||
14259 | rm -f conftest* | ||
14260 | |||
14261 | fi | ||
14262 | |||
14263 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14264 | if test -n "`echo $ossh_varname`"; then | ||
14265 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14266 | echo "${ECHO_T}$ossh_result" >&6 | ||
14267 | if test "x$ossh_result" = "xyes"; then | ||
14268 | cat >>confdefs.h <<\_ACEOF | ||
14269 | @%:@define HAVE_HOST_IN_UTMP 1 | ||
14270 | _ACEOF | ||
14271 | |||
14272 | fi | ||
14273 | else | ||
14274 | echo "$as_me:$LINENO: result: no" >&5 | ||
14275 | echo "${ECHO_T}no" >&6 | ||
14276 | fi | ||
14277 | |||
14278 | |||
14279 | # look for field 'ut_host' in header 'utmpx.h' | ||
14280 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14281 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | ||
14282 | echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 | ||
14283 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 | ||
14284 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14285 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14286 | else | ||
14287 | |||
14288 | cat >conftest.$ac_ext <<_ACEOF | ||
14289 | #line $LINENO "configure" | ||
14290 | /* confdefs.h. */ | ||
14291 | _ACEOF | ||
14292 | cat confdefs.h >>conftest.$ac_ext | ||
14293 | cat >>conftest.$ac_ext <<_ACEOF | ||
14294 | /* end confdefs.h. */ | ||
14295 | #include <utmpx.h> | ||
14296 | |||
14297 | _ACEOF | ||
14298 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14299 | $EGREP "ut_host" >/dev/null 2>&1; then | ||
14300 | eval "$ossh_varname=yes" | ||
14301 | else | ||
14302 | eval "$ossh_varname=no" | ||
14303 | fi | ||
14304 | rm -f conftest* | ||
14305 | |||
14306 | fi | ||
14307 | |||
14308 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14309 | if test -n "`echo $ossh_varname`"; then | ||
14310 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14311 | echo "${ECHO_T}$ossh_result" >&6 | ||
14312 | if test "x$ossh_result" = "xyes"; then | ||
14313 | cat >>confdefs.h <<\_ACEOF | ||
14314 | @%:@define HAVE_HOST_IN_UTMPX 1 | ||
14315 | _ACEOF | ||
14316 | |||
14317 | fi | ||
14318 | else | ||
14319 | echo "$as_me:$LINENO: result: no" >&5 | ||
14320 | echo "${ECHO_T}no" >&6 | ||
14321 | fi | ||
14322 | |||
14323 | |||
14324 | # look for field 'syslen' in header 'utmpx.h' | ||
14325 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14326 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen | ||
14327 | echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 | ||
14328 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 | ||
14329 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14330 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14331 | else | ||
14332 | |||
14333 | cat >conftest.$ac_ext <<_ACEOF | ||
14334 | #line $LINENO "configure" | ||
14335 | /* confdefs.h. */ | ||
14336 | _ACEOF | ||
14337 | cat confdefs.h >>conftest.$ac_ext | ||
14338 | cat >>conftest.$ac_ext <<_ACEOF | ||
14339 | /* end confdefs.h. */ | ||
14340 | #include <utmpx.h> | ||
14341 | |||
14342 | _ACEOF | ||
14343 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14344 | $EGREP "syslen" >/dev/null 2>&1; then | ||
14345 | eval "$ossh_varname=yes" | ||
14346 | else | ||
14347 | eval "$ossh_varname=no" | ||
14348 | fi | ||
14349 | rm -f conftest* | ||
14350 | |||
14351 | fi | ||
14352 | |||
14353 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14354 | if test -n "`echo $ossh_varname`"; then | ||
14355 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14356 | echo "${ECHO_T}$ossh_result" >&6 | ||
14357 | if test "x$ossh_result" = "xyes"; then | ||
14358 | cat >>confdefs.h <<\_ACEOF | ||
14359 | @%:@define HAVE_SYSLEN_IN_UTMPX 1 | ||
14360 | _ACEOF | ||
14361 | |||
14362 | fi | ||
14363 | else | ||
14364 | echo "$as_me:$LINENO: result: no" >&5 | ||
14365 | echo "${ECHO_T}no" >&6 | ||
14366 | fi | ||
14367 | |||
14368 | |||
14369 | # look for field 'ut_pid' in header 'utmp.h' | ||
14370 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14371 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid | ||
14372 | echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 | ||
14373 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 | ||
14374 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14375 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14376 | else | ||
14377 | |||
14378 | cat >conftest.$ac_ext <<_ACEOF | ||
14379 | #line $LINENO "configure" | ||
14380 | /* confdefs.h. */ | ||
14381 | _ACEOF | ||
14382 | cat confdefs.h >>conftest.$ac_ext | ||
14383 | cat >>conftest.$ac_ext <<_ACEOF | ||
14384 | /* end confdefs.h. */ | ||
14385 | #include <utmp.h> | ||
14386 | |||
14387 | _ACEOF | ||
14388 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14389 | $EGREP "ut_pid" >/dev/null 2>&1; then | ||
14390 | eval "$ossh_varname=yes" | ||
14391 | else | ||
14392 | eval "$ossh_varname=no" | ||
14393 | fi | ||
14394 | rm -f conftest* | ||
14395 | |||
14396 | fi | ||
14397 | |||
14398 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14399 | if test -n "`echo $ossh_varname`"; then | ||
14400 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14401 | echo "${ECHO_T}$ossh_result" >&6 | ||
14402 | if test "x$ossh_result" = "xyes"; then | ||
14403 | cat >>confdefs.h <<\_ACEOF | ||
14404 | @%:@define HAVE_PID_IN_UTMP 1 | ||
14405 | _ACEOF | ||
14406 | |||
14407 | fi | ||
14408 | else | ||
14409 | echo "$as_me:$LINENO: result: no" >&5 | ||
14410 | echo "${ECHO_T}no" >&6 | ||
14411 | fi | ||
14412 | |||
14413 | |||
14414 | # look for field 'ut_type' in header 'utmp.h' | ||
14415 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14416 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | ||
14417 | echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 | ||
14418 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 | ||
14419 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14420 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14421 | else | ||
14422 | |||
14423 | cat >conftest.$ac_ext <<_ACEOF | ||
14424 | #line $LINENO "configure" | ||
14425 | /* confdefs.h. */ | ||
14426 | _ACEOF | ||
14427 | cat confdefs.h >>conftest.$ac_ext | ||
14428 | cat >>conftest.$ac_ext <<_ACEOF | ||
14429 | /* end confdefs.h. */ | ||
14430 | #include <utmp.h> | ||
14431 | |||
14432 | _ACEOF | ||
14433 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14434 | $EGREP "ut_type" >/dev/null 2>&1; then | ||
14435 | eval "$ossh_varname=yes" | ||
14436 | else | ||
14437 | eval "$ossh_varname=no" | ||
14438 | fi | ||
14439 | rm -f conftest* | ||
14440 | |||
14441 | fi | ||
14442 | |||
14443 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14444 | if test -n "`echo $ossh_varname`"; then | ||
14445 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14446 | echo "${ECHO_T}$ossh_result" >&6 | ||
14447 | if test "x$ossh_result" = "xyes"; then | ||
14448 | cat >>confdefs.h <<\_ACEOF | ||
14449 | @%:@define HAVE_TYPE_IN_UTMP 1 | ||
14450 | _ACEOF | ||
14451 | |||
14452 | fi | ||
14453 | else | ||
14454 | echo "$as_me:$LINENO: result: no" >&5 | ||
14455 | echo "${ECHO_T}no" >&6 | ||
14456 | fi | ||
14457 | |||
14458 | |||
14459 | # look for field 'ut_type' in header 'utmpx.h' | ||
14460 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14461 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | ||
14462 | echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 | ||
14463 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 | ||
14464 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14465 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14466 | else | ||
14467 | |||
14468 | cat >conftest.$ac_ext <<_ACEOF | ||
14469 | #line $LINENO "configure" | ||
14470 | /* confdefs.h. */ | ||
14471 | _ACEOF | ||
14472 | cat confdefs.h >>conftest.$ac_ext | ||
14473 | cat >>conftest.$ac_ext <<_ACEOF | ||
14474 | /* end confdefs.h. */ | ||
14475 | #include <utmpx.h> | ||
14476 | |||
14477 | _ACEOF | ||
14478 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14479 | $EGREP "ut_type" >/dev/null 2>&1; then | ||
14480 | eval "$ossh_varname=yes" | ||
14481 | else | ||
14482 | eval "$ossh_varname=no" | ||
14483 | fi | ||
14484 | rm -f conftest* | ||
14485 | |||
14486 | fi | ||
14487 | |||
14488 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14489 | if test -n "`echo $ossh_varname`"; then | ||
14490 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14491 | echo "${ECHO_T}$ossh_result" >&6 | ||
14492 | if test "x$ossh_result" = "xyes"; then | ||
14493 | cat >>confdefs.h <<\_ACEOF | ||
14494 | @%:@define HAVE_TYPE_IN_UTMPX 1 | ||
14495 | _ACEOF | ||
14496 | |||
14497 | fi | ||
14498 | else | ||
14499 | echo "$as_me:$LINENO: result: no" >&5 | ||
14500 | echo "${ECHO_T}no" >&6 | ||
14501 | fi | ||
14502 | |||
14503 | |||
14504 | # look for field 'ut_tv' in header 'utmp.h' | ||
14505 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14506 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | ||
14507 | echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 | ||
14508 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 | ||
14509 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14510 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14511 | else | ||
14512 | |||
14513 | cat >conftest.$ac_ext <<_ACEOF | ||
14514 | #line $LINENO "configure" | ||
14515 | /* confdefs.h. */ | ||
14516 | _ACEOF | ||
14517 | cat confdefs.h >>conftest.$ac_ext | ||
14518 | cat >>conftest.$ac_ext <<_ACEOF | ||
14519 | /* end confdefs.h. */ | ||
14520 | #include <utmp.h> | ||
14521 | |||
14522 | _ACEOF | ||
14523 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14524 | $EGREP "ut_tv" >/dev/null 2>&1; then | ||
14525 | eval "$ossh_varname=yes" | ||
14526 | else | ||
14527 | eval "$ossh_varname=no" | ||
14528 | fi | ||
14529 | rm -f conftest* | ||
14530 | |||
14531 | fi | ||
14532 | |||
14533 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14534 | if test -n "`echo $ossh_varname`"; then | ||
14535 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14536 | echo "${ECHO_T}$ossh_result" >&6 | ||
14537 | if test "x$ossh_result" = "xyes"; then | ||
14538 | cat >>confdefs.h <<\_ACEOF | ||
14539 | @%:@define HAVE_TV_IN_UTMP 1 | ||
14540 | _ACEOF | ||
14541 | |||
14542 | fi | ||
14543 | else | ||
14544 | echo "$as_me:$LINENO: result: no" >&5 | ||
14545 | echo "${ECHO_T}no" >&6 | ||
14546 | fi | ||
14547 | |||
14548 | |||
14549 | # look for field 'ut_id' in header 'utmp.h' | ||
14550 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14551 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | ||
14552 | echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 | ||
14553 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 | ||
14554 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14555 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14556 | else | ||
14557 | |||
14558 | cat >conftest.$ac_ext <<_ACEOF | ||
14559 | #line $LINENO "configure" | ||
14560 | /* confdefs.h. */ | ||
14561 | _ACEOF | ||
14562 | cat confdefs.h >>conftest.$ac_ext | ||
14563 | cat >>conftest.$ac_ext <<_ACEOF | ||
14564 | /* end confdefs.h. */ | ||
14565 | #include <utmp.h> | ||
14566 | |||
14567 | _ACEOF | ||
14568 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14569 | $EGREP "ut_id" >/dev/null 2>&1; then | ||
14570 | eval "$ossh_varname=yes" | ||
14571 | else | ||
14572 | eval "$ossh_varname=no" | ||
14573 | fi | ||
14574 | rm -f conftest* | ||
14575 | |||
14576 | fi | ||
14577 | |||
14578 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14579 | if test -n "`echo $ossh_varname`"; then | ||
14580 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14581 | echo "${ECHO_T}$ossh_result" >&6 | ||
14582 | if test "x$ossh_result" = "xyes"; then | ||
14583 | cat >>confdefs.h <<\_ACEOF | ||
14584 | @%:@define HAVE_ID_IN_UTMP 1 | ||
14585 | _ACEOF | ||
14586 | |||
14587 | fi | ||
14588 | else | ||
14589 | echo "$as_me:$LINENO: result: no" >&5 | ||
14590 | echo "${ECHO_T}no" >&6 | ||
14591 | fi | ||
14592 | |||
14593 | |||
14594 | # look for field 'ut_id' in header 'utmpx.h' | ||
14595 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14596 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | ||
14597 | echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 | ||
14598 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 | ||
14599 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14600 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14601 | else | ||
14602 | |||
14603 | cat >conftest.$ac_ext <<_ACEOF | ||
14604 | #line $LINENO "configure" | ||
14605 | /* confdefs.h. */ | ||
14606 | _ACEOF | ||
14607 | cat confdefs.h >>conftest.$ac_ext | ||
14608 | cat >>conftest.$ac_ext <<_ACEOF | ||
14609 | /* end confdefs.h. */ | ||
14610 | #include <utmpx.h> | ||
14611 | |||
14612 | _ACEOF | ||
14613 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14614 | $EGREP "ut_id" >/dev/null 2>&1; then | ||
14615 | eval "$ossh_varname=yes" | ||
14616 | else | ||
14617 | eval "$ossh_varname=no" | ||
14618 | fi | ||
14619 | rm -f conftest* | ||
14620 | |||
14621 | fi | ||
14622 | |||
14623 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14624 | if test -n "`echo $ossh_varname`"; then | ||
14625 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14626 | echo "${ECHO_T}$ossh_result" >&6 | ||
14627 | if test "x$ossh_result" = "xyes"; then | ||
14628 | cat >>confdefs.h <<\_ACEOF | ||
14629 | @%:@define HAVE_ID_IN_UTMPX 1 | ||
14630 | _ACEOF | ||
14631 | |||
14632 | fi | ||
14633 | else | ||
14634 | echo "$as_me:$LINENO: result: no" >&5 | ||
14635 | echo "${ECHO_T}no" >&6 | ||
14636 | fi | ||
14637 | |||
14638 | |||
14639 | # look for field 'ut_addr' in header 'utmp.h' | ||
14640 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14641 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | ||
14642 | echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 | ||
14643 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 | ||
14644 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14646 | else | ||
14647 | |||
14648 | cat >conftest.$ac_ext <<_ACEOF | ||
14649 | #line $LINENO "configure" | ||
14650 | /* confdefs.h. */ | ||
14651 | _ACEOF | ||
14652 | cat confdefs.h >>conftest.$ac_ext | ||
14653 | cat >>conftest.$ac_ext <<_ACEOF | ||
14654 | /* end confdefs.h. */ | ||
14655 | #include <utmp.h> | ||
14656 | |||
14657 | _ACEOF | ||
14658 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14659 | $EGREP "ut_addr" >/dev/null 2>&1; then | ||
14660 | eval "$ossh_varname=yes" | ||
14661 | else | ||
14662 | eval "$ossh_varname=no" | ||
14663 | fi | ||
14664 | rm -f conftest* | ||
14665 | |||
14666 | fi | ||
14667 | |||
14668 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14669 | if test -n "`echo $ossh_varname`"; then | ||
14670 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14671 | echo "${ECHO_T}$ossh_result" >&6 | ||
14672 | if test "x$ossh_result" = "xyes"; then | ||
14673 | cat >>confdefs.h <<\_ACEOF | ||
14674 | @%:@define HAVE_ADDR_IN_UTMP 1 | ||
14675 | _ACEOF | ||
14676 | |||
14677 | fi | ||
14678 | else | ||
14679 | echo "$as_me:$LINENO: result: no" >&5 | ||
14680 | echo "${ECHO_T}no" >&6 | ||
14681 | fi | ||
14682 | |||
14683 | |||
14684 | # look for field 'ut_addr' in header 'utmpx.h' | ||
14685 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14686 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | ||
14687 | echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 | ||
14688 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 | ||
14689 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14690 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14691 | else | ||
14692 | |||
14693 | cat >conftest.$ac_ext <<_ACEOF | ||
14694 | #line $LINENO "configure" | ||
14695 | /* confdefs.h. */ | ||
14696 | _ACEOF | ||
14697 | cat confdefs.h >>conftest.$ac_ext | ||
14698 | cat >>conftest.$ac_ext <<_ACEOF | ||
14699 | /* end confdefs.h. */ | ||
14700 | #include <utmpx.h> | ||
14701 | |||
14702 | _ACEOF | ||
14703 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14704 | $EGREP "ut_addr" >/dev/null 2>&1; then | ||
14705 | eval "$ossh_varname=yes" | ||
14706 | else | ||
14707 | eval "$ossh_varname=no" | ||
14708 | fi | ||
14709 | rm -f conftest* | ||
14710 | |||
14711 | fi | ||
14712 | |||
14713 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14714 | if test -n "`echo $ossh_varname`"; then | ||
14715 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14716 | echo "${ECHO_T}$ossh_result" >&6 | ||
14717 | if test "x$ossh_result" = "xyes"; then | ||
14718 | cat >>confdefs.h <<\_ACEOF | ||
14719 | @%:@define HAVE_ADDR_IN_UTMPX 1 | ||
14720 | _ACEOF | ||
14721 | |||
14722 | fi | ||
14723 | else | ||
14724 | echo "$as_me:$LINENO: result: no" >&5 | ||
14725 | echo "${ECHO_T}no" >&6 | ||
14726 | fi | ||
14727 | |||
14728 | |||
14729 | # look for field 'ut_addr_v6' in header 'utmp.h' | ||
14730 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14731 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | ||
14732 | echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5 | ||
14733 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 | ||
14734 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14735 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14736 | else | ||
14737 | |||
14738 | cat >conftest.$ac_ext <<_ACEOF | ||
14739 | #line $LINENO "configure" | ||
14740 | /* confdefs.h. */ | ||
14741 | _ACEOF | ||
14742 | cat confdefs.h >>conftest.$ac_ext | ||
14743 | cat >>conftest.$ac_ext <<_ACEOF | ||
14744 | /* end confdefs.h. */ | ||
14745 | #include <utmp.h> | ||
14746 | |||
14747 | _ACEOF | ||
14748 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14749 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then | ||
14750 | eval "$ossh_varname=yes" | ||
14751 | else | ||
14752 | eval "$ossh_varname=no" | ||
14753 | fi | ||
14754 | rm -f conftest* | ||
14755 | |||
14756 | fi | ||
14757 | |||
14758 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14759 | if test -n "`echo $ossh_varname`"; then | ||
14760 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14761 | echo "${ECHO_T}$ossh_result" >&6 | ||
14762 | if test "x$ossh_result" = "xyes"; then | ||
14763 | cat >>confdefs.h <<\_ACEOF | ||
14764 | @%:@define HAVE_ADDR_V6_IN_UTMP 1 | ||
14765 | _ACEOF | ||
14766 | |||
14767 | fi | ||
14768 | else | ||
14769 | echo "$as_me:$LINENO: result: no" >&5 | ||
14770 | echo "${ECHO_T}no" >&6 | ||
14771 | fi | ||
14772 | |||
14773 | |||
14774 | # look for field 'ut_addr_v6' in header 'utmpx.h' | ||
14775 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14776 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | ||
14777 | echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5 | ||
14778 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 | ||
14779 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14780 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14781 | else | ||
14782 | |||
14783 | cat >conftest.$ac_ext <<_ACEOF | ||
14784 | #line $LINENO "configure" | ||
14785 | /* confdefs.h. */ | ||
14786 | _ACEOF | ||
14787 | cat confdefs.h >>conftest.$ac_ext | ||
14788 | cat >>conftest.$ac_ext <<_ACEOF | ||
14789 | /* end confdefs.h. */ | ||
14790 | #include <utmpx.h> | ||
14791 | |||
14792 | _ACEOF | ||
14793 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14794 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then | ||
14795 | eval "$ossh_varname=yes" | ||
14796 | else | ||
14797 | eval "$ossh_varname=no" | ||
14798 | fi | ||
14799 | rm -f conftest* | ||
14800 | |||
14801 | fi | ||
14802 | |||
14803 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14804 | if test -n "`echo $ossh_varname`"; then | ||
14805 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14806 | echo "${ECHO_T}$ossh_result" >&6 | ||
14807 | if test "x$ossh_result" = "xyes"; then | ||
14808 | cat >>confdefs.h <<\_ACEOF | ||
14809 | @%:@define HAVE_ADDR_V6_IN_UTMPX 1 | ||
14810 | _ACEOF | ||
14811 | |||
14812 | fi | ||
14813 | else | ||
14814 | echo "$as_me:$LINENO: result: no" >&5 | ||
14815 | echo "${ECHO_T}no" >&6 | ||
14816 | fi | ||
14817 | |||
14818 | |||
14819 | # look for field 'ut_exit' in header 'utmp.h' | ||
14820 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14821 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit | ||
14822 | echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 | ||
14823 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 | ||
14824 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14825 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14826 | else | ||
14827 | |||
14828 | cat >conftest.$ac_ext <<_ACEOF | ||
14829 | #line $LINENO "configure" | ||
14830 | /* confdefs.h. */ | ||
14831 | _ACEOF | ||
14832 | cat confdefs.h >>conftest.$ac_ext | ||
14833 | cat >>conftest.$ac_ext <<_ACEOF | ||
14834 | /* end confdefs.h. */ | ||
14835 | #include <utmp.h> | ||
14836 | |||
14837 | _ACEOF | ||
14838 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14839 | $EGREP "ut_exit" >/dev/null 2>&1; then | ||
14840 | eval "$ossh_varname=yes" | ||
14841 | else | ||
14842 | eval "$ossh_varname=no" | ||
14843 | fi | ||
14844 | rm -f conftest* | ||
14845 | |||
14846 | fi | ||
14847 | |||
14848 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14849 | if test -n "`echo $ossh_varname`"; then | ||
14850 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14851 | echo "${ECHO_T}$ossh_result" >&6 | ||
14852 | if test "x$ossh_result" = "xyes"; then | ||
14853 | cat >>confdefs.h <<\_ACEOF | ||
14854 | @%:@define HAVE_EXIT_IN_UTMP 1 | ||
14855 | _ACEOF | ||
14856 | |||
14857 | fi | ||
14858 | else | ||
14859 | echo "$as_me:$LINENO: result: no" >&5 | ||
14860 | echo "${ECHO_T}no" >&6 | ||
14861 | fi | ||
14862 | |||
14863 | |||
14864 | # look for field 'ut_time' in header 'utmp.h' | ||
14865 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | ||
14866 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | ||
14867 | echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 | ||
14868 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 | ||
14869 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14870 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14871 | else | ||
14872 | |||
14873 | cat >conftest.$ac_ext <<_ACEOF | ||
14874 | #line $LINENO "configure" | ||
14875 | /* confdefs.h. */ | ||
14876 | _ACEOF | ||
14877 | cat confdefs.h >>conftest.$ac_ext | ||
14878 | cat >>conftest.$ac_ext <<_ACEOF | ||
14879 | /* end confdefs.h. */ | ||
14880 | #include <utmp.h> | ||
14881 | |||
14882 | _ACEOF | ||
14883 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14884 | $EGREP "ut_time" >/dev/null 2>&1; then | ||
14885 | eval "$ossh_varname=yes" | ||
14886 | else | ||
14887 | eval "$ossh_varname=no" | ||
14888 | fi | ||
14889 | rm -f conftest* | ||
14890 | |||
14891 | fi | ||
14892 | |||
14893 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14894 | if test -n "`echo $ossh_varname`"; then | ||
14895 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14896 | echo "${ECHO_T}$ossh_result" >&6 | ||
14897 | if test "x$ossh_result" = "xyes"; then | ||
14898 | cat >>confdefs.h <<\_ACEOF | ||
14899 | @%:@define HAVE_TIME_IN_UTMP 1 | ||
14900 | _ACEOF | ||
14901 | |||
14902 | fi | ||
14903 | else | ||
14904 | echo "$as_me:$LINENO: result: no" >&5 | ||
14905 | echo "${ECHO_T}no" >&6 | ||
14906 | fi | ||
14907 | |||
14908 | |||
14909 | # look for field 'ut_time' in header 'utmpx.h' | ||
14910 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14911 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | ||
14912 | echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 | ||
14913 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 | ||
14914 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14915 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14916 | else | ||
14917 | |||
14918 | cat >conftest.$ac_ext <<_ACEOF | ||
14919 | #line $LINENO "configure" | ||
14920 | /* confdefs.h. */ | ||
14921 | _ACEOF | ||
14922 | cat confdefs.h >>conftest.$ac_ext | ||
14923 | cat >>conftest.$ac_ext <<_ACEOF | ||
14924 | /* end confdefs.h. */ | ||
14925 | #include <utmpx.h> | ||
14926 | |||
14927 | _ACEOF | ||
14928 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14929 | $EGREP "ut_time" >/dev/null 2>&1; then | ||
14930 | eval "$ossh_varname=yes" | ||
14931 | else | ||
14932 | eval "$ossh_varname=no" | ||
14933 | fi | ||
14934 | rm -f conftest* | ||
14935 | |||
14936 | fi | ||
14937 | |||
14938 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14939 | if test -n "`echo $ossh_varname`"; then | ||
14940 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14941 | echo "${ECHO_T}$ossh_result" >&6 | ||
14942 | if test "x$ossh_result" = "xyes"; then | ||
14943 | cat >>confdefs.h <<\_ACEOF | ||
14944 | @%:@define HAVE_TIME_IN_UTMPX 1 | ||
14945 | _ACEOF | ||
14946 | |||
14947 | fi | ||
14948 | else | ||
14949 | echo "$as_me:$LINENO: result: no" >&5 | ||
14950 | echo "${ECHO_T}no" >&6 | ||
14951 | fi | ||
14952 | |||
14953 | |||
14954 | # look for field 'ut_tv' in header 'utmpx.h' | ||
14955 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | ||
14956 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | ||
14957 | echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 | ||
14958 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 | ||
14959 | if eval "test \"\${$ossh_varname+set}\" = set"; then | ||
14960 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14961 | else | ||
14962 | |||
14963 | cat >conftest.$ac_ext <<_ACEOF | ||
14964 | #line $LINENO "configure" | ||
14965 | /* confdefs.h. */ | ||
14966 | _ACEOF | ||
14967 | cat confdefs.h >>conftest.$ac_ext | ||
14968 | cat >>conftest.$ac_ext <<_ACEOF | ||
14969 | /* end confdefs.h. */ | ||
14970 | #include <utmpx.h> | ||
14971 | |||
14972 | _ACEOF | ||
14973 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
14974 | $EGREP "ut_tv" >/dev/null 2>&1; then | ||
14975 | eval "$ossh_varname=yes" | ||
14976 | else | ||
14977 | eval "$ossh_varname=no" | ||
14978 | fi | ||
14979 | rm -f conftest* | ||
14980 | |||
14981 | fi | ||
14982 | |||
14983 | ossh_result=`eval 'echo $'"$ossh_varname"` | ||
14984 | if test -n "`echo $ossh_varname`"; then | ||
14985 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | ||
14986 | echo "${ECHO_T}$ossh_result" >&6 | ||
14987 | if test "x$ossh_result" = "xyes"; then | ||
14988 | cat >>confdefs.h <<\_ACEOF | ||
14989 | @%:@define HAVE_TV_IN_UTMPX 1 | ||
14990 | _ACEOF | ||
14991 | |||
14992 | fi | ||
14993 | else | ||
14994 | echo "$as_me:$LINENO: result: no" >&5 | ||
14995 | echo "${ECHO_T}no" >&6 | ||
14996 | fi | ||
14997 | |||
14998 | |||
14999 | echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 | ||
15000 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 | ||
15001 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then | ||
15002 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15003 | else | ||
15004 | cat >conftest.$ac_ext <<_ACEOF | ||
15005 | #line $LINENO "configure" | ||
15006 | /* confdefs.h. */ | ||
15007 | _ACEOF | ||
15008 | cat confdefs.h >>conftest.$ac_ext | ||
15009 | cat >>conftest.$ac_ext <<_ACEOF | ||
15010 | /* end confdefs.h. */ | ||
15011 | $ac_includes_default | ||
15012 | int | ||
15013 | main () | ||
15014 | { | ||
15015 | static struct stat ac_aggr; | ||
15016 | if (ac_aggr.st_blksize) | ||
15017 | return 0; | ||
15018 | ; | ||
15019 | return 0; | ||
15020 | } | ||
15021 | _ACEOF | ||
15022 | rm -f conftest.$ac_objext | ||
15023 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15024 | (eval $ac_compile) 2>&5 | ||
15025 | ac_status=$? | ||
15026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15027 | (exit $ac_status); } && | ||
15028 | { ac_try='test -s conftest.$ac_objext' | ||
15029 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15030 | (eval $ac_try) 2>&5 | ||
15031 | ac_status=$? | ||
15032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15033 | (exit $ac_status); }; }; then | ||
15034 | ac_cv_member_struct_stat_st_blksize=yes | ||
15035 | else | ||
15036 | echo "$as_me: failed program was:" >&5 | ||
15037 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15038 | |||
15039 | cat >conftest.$ac_ext <<_ACEOF | ||
15040 | #line $LINENO "configure" | ||
15041 | /* confdefs.h. */ | ||
15042 | _ACEOF | ||
15043 | cat confdefs.h >>conftest.$ac_ext | ||
15044 | cat >>conftest.$ac_ext <<_ACEOF | ||
15045 | /* end confdefs.h. */ | ||
15046 | $ac_includes_default | ||
15047 | int | ||
15048 | main () | ||
15049 | { | ||
15050 | static struct stat ac_aggr; | ||
15051 | if (sizeof ac_aggr.st_blksize) | ||
15052 | return 0; | ||
15053 | ; | ||
15054 | return 0; | ||
15055 | } | ||
15056 | _ACEOF | ||
15057 | rm -f conftest.$ac_objext | ||
15058 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15059 | (eval $ac_compile) 2>&5 | ||
15060 | ac_status=$? | ||
15061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15062 | (exit $ac_status); } && | ||
15063 | { ac_try='test -s conftest.$ac_objext' | ||
15064 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15065 | (eval $ac_try) 2>&5 | ||
15066 | ac_status=$? | ||
15067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15068 | (exit $ac_status); }; }; then | ||
15069 | ac_cv_member_struct_stat_st_blksize=yes | ||
15070 | else | ||
15071 | echo "$as_me: failed program was:" >&5 | ||
15072 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15073 | |||
15074 | ac_cv_member_struct_stat_st_blksize=no | ||
15075 | fi | ||
15076 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15077 | fi | ||
15078 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15079 | fi | ||
15080 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 | ||
15081 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 | ||
15082 | if test $ac_cv_member_struct_stat_st_blksize = yes; then | ||
15083 | |||
15084 | cat >>confdefs.h <<_ACEOF | ||
15085 | @%:@define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | ||
15086 | _ACEOF | ||
15087 | |||
15088 | |||
15089 | fi | ||
15090 | |||
15091 | |||
15092 | echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 | ||
15093 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | ||
15094 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then | ||
15095 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15096 | else | ||
15097 | |||
15098 | cat >conftest.$ac_ext <<_ACEOF | ||
15099 | #line $LINENO "configure" | ||
15100 | /* confdefs.h. */ | ||
15101 | _ACEOF | ||
15102 | cat confdefs.h >>conftest.$ac_ext | ||
15103 | cat >>conftest.$ac_ext <<_ACEOF | ||
15104 | /* end confdefs.h. */ | ||
15105 | |||
15106 | #include <sys/types.h> | ||
15107 | #include <sys/socket.h> | ||
15108 | |||
15109 | int | ||
15110 | main () | ||
15111 | { | ||
15112 | struct sockaddr_storage s; s.ss_family = 1; | ||
15113 | ; | ||
15114 | return 0; | ||
15115 | } | ||
15116 | _ACEOF | ||
15117 | rm -f conftest.$ac_objext | ||
15118 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15119 | (eval $ac_compile) 2>&5 | ||
15120 | ac_status=$? | ||
15121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15122 | (exit $ac_status); } && | ||
15123 | { ac_try='test -s conftest.$ac_objext' | ||
15124 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15125 | (eval $ac_try) 2>&5 | ||
15126 | ac_status=$? | ||
15127 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15128 | (exit $ac_status); }; }; then | ||
15129 | ac_cv_have_ss_family_in_struct_ss="yes" | ||
15130 | else | ||
15131 | echo "$as_me: failed program was:" >&5 | ||
15132 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15133 | |||
15134 | ac_cv_have_ss_family_in_struct_ss="no" | ||
15135 | fi | ||
15136 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15137 | |||
15138 | fi | ||
15139 | echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 | ||
15140 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 | ||
15141 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then | ||
15142 | cat >>confdefs.h <<\_ACEOF | ||
15143 | @%:@define HAVE_SS_FAMILY_IN_SS 1 | ||
15144 | _ACEOF | ||
15145 | |||
15146 | fi | ||
15147 | |||
15148 | echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 | ||
15149 | echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | ||
15150 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then | ||
15151 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15152 | else | ||
15153 | |||
15154 | cat >conftest.$ac_ext <<_ACEOF | ||
15155 | #line $LINENO "configure" | ||
15156 | /* confdefs.h. */ | ||
15157 | _ACEOF | ||
15158 | cat confdefs.h >>conftest.$ac_ext | ||
15159 | cat >>conftest.$ac_ext <<_ACEOF | ||
15160 | /* end confdefs.h. */ | ||
15161 | |||
15162 | #include <sys/types.h> | ||
15163 | #include <sys/socket.h> | ||
15164 | |||
15165 | int | ||
15166 | main () | ||
15167 | { | ||
15168 | struct sockaddr_storage s; s.__ss_family = 1; | ||
15169 | ; | ||
15170 | return 0; | ||
15171 | } | ||
15172 | _ACEOF | ||
15173 | rm -f conftest.$ac_objext | ||
15174 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15175 | (eval $ac_compile) 2>&5 | ||
15176 | ac_status=$? | ||
15177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15178 | (exit $ac_status); } && | ||
15179 | { ac_try='test -s conftest.$ac_objext' | ||
15180 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15181 | (eval $ac_try) 2>&5 | ||
15182 | ac_status=$? | ||
15183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15184 | (exit $ac_status); }; }; then | ||
15185 | ac_cv_have___ss_family_in_struct_ss="yes" | ||
15186 | else | ||
15187 | echo "$as_me: failed program was:" >&5 | ||
15188 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15189 | |||
15190 | ac_cv_have___ss_family_in_struct_ss="no" | ||
15191 | |||
15192 | fi | ||
15193 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15194 | |||
15195 | fi | ||
15196 | echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 | ||
15197 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 | ||
15198 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then | ||
15199 | cat >>confdefs.h <<\_ACEOF | ||
15200 | @%:@define HAVE___SS_FAMILY_IN_SS 1 | ||
15201 | _ACEOF | ||
15202 | |||
15203 | fi | ||
15204 | |||
15205 | echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5 | ||
15206 | echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 | ||
15207 | if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then | ||
15208 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15209 | else | ||
15210 | |||
15211 | cat >conftest.$ac_ext <<_ACEOF | ||
15212 | #line $LINENO "configure" | ||
15213 | /* confdefs.h. */ | ||
15214 | _ACEOF | ||
15215 | cat confdefs.h >>conftest.$ac_ext | ||
15216 | cat >>conftest.$ac_ext <<_ACEOF | ||
15217 | /* end confdefs.h. */ | ||
15218 | |||
15219 | #include <pwd.h> | ||
15220 | |||
15221 | int | ||
15222 | main () | ||
15223 | { | ||
15224 | struct passwd p; p.pw_class = 0; | ||
15225 | ; | ||
15226 | return 0; | ||
15227 | } | ||
15228 | _ACEOF | ||
15229 | rm -f conftest.$ac_objext | ||
15230 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15231 | (eval $ac_compile) 2>&5 | ||
15232 | ac_status=$? | ||
15233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15234 | (exit $ac_status); } && | ||
15235 | { ac_try='test -s conftest.$ac_objext' | ||
15236 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15237 | (eval $ac_try) 2>&5 | ||
15238 | ac_status=$? | ||
15239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15240 | (exit $ac_status); }; }; then | ||
15241 | ac_cv_have_pw_class_in_struct_passwd="yes" | ||
15242 | else | ||
15243 | echo "$as_me: failed program was:" >&5 | ||
15244 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15245 | |||
15246 | ac_cv_have_pw_class_in_struct_passwd="no" | ||
15247 | |||
15248 | fi | ||
15249 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15250 | |||
15251 | fi | ||
15252 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 | ||
15253 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 | ||
15254 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then | ||
15255 | cat >>confdefs.h <<\_ACEOF | ||
15256 | @%:@define HAVE_PW_CLASS_IN_PASSWD 1 | ||
15257 | _ACEOF | ||
15258 | |||
15259 | fi | ||
15260 | |||
15261 | echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5 | ||
15262 | echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 | ||
15263 | if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then | ||
15264 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15265 | else | ||
15266 | |||
15267 | cat >conftest.$ac_ext <<_ACEOF | ||
15268 | #line $LINENO "configure" | ||
15269 | /* confdefs.h. */ | ||
15270 | _ACEOF | ||
15271 | cat confdefs.h >>conftest.$ac_ext | ||
15272 | cat >>conftest.$ac_ext <<_ACEOF | ||
15273 | /* end confdefs.h. */ | ||
15274 | |||
15275 | #include <pwd.h> | ||
15276 | |||
15277 | int | ||
15278 | main () | ||
15279 | { | ||
15280 | struct passwd p; p.pw_expire = 0; | ||
15281 | ; | ||
15282 | return 0; | ||
15283 | } | ||
15284 | _ACEOF | ||
15285 | rm -f conftest.$ac_objext | ||
15286 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15287 | (eval $ac_compile) 2>&5 | ||
15288 | ac_status=$? | ||
15289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15290 | (exit $ac_status); } && | ||
15291 | { ac_try='test -s conftest.$ac_objext' | ||
15292 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15293 | (eval $ac_try) 2>&5 | ||
15294 | ac_status=$? | ||
15295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15296 | (exit $ac_status); }; }; then | ||
15297 | ac_cv_have_pw_expire_in_struct_passwd="yes" | ||
15298 | else | ||
15299 | echo "$as_me: failed program was:" >&5 | ||
15300 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15301 | |||
15302 | ac_cv_have_pw_expire_in_struct_passwd="no" | ||
15303 | |||
15304 | fi | ||
15305 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15306 | |||
15307 | fi | ||
15308 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 | ||
15309 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 | ||
15310 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then | ||
15311 | cat >>confdefs.h <<\_ACEOF | ||
15312 | @%:@define HAVE_PW_EXPIRE_IN_PASSWD 1 | ||
15313 | _ACEOF | ||
15314 | |||
15315 | fi | ||
15316 | |||
15317 | echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5 | ||
15318 | echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 | ||
15319 | if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then | ||
15320 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15321 | else | ||
15322 | |||
15323 | cat >conftest.$ac_ext <<_ACEOF | ||
15324 | #line $LINENO "configure" | ||
15325 | /* confdefs.h. */ | ||
15326 | _ACEOF | ||
15327 | cat confdefs.h >>conftest.$ac_ext | ||
15328 | cat >>conftest.$ac_ext <<_ACEOF | ||
15329 | /* end confdefs.h. */ | ||
15330 | |||
15331 | #include <pwd.h> | ||
15332 | |||
15333 | int | ||
15334 | main () | ||
15335 | { | ||
15336 | struct passwd p; p.pw_change = 0; | ||
15337 | ; | ||
15338 | return 0; | ||
15339 | } | ||
15340 | _ACEOF | ||
15341 | rm -f conftest.$ac_objext | ||
15342 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15343 | (eval $ac_compile) 2>&5 | ||
15344 | ac_status=$? | ||
15345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15346 | (exit $ac_status); } && | ||
15347 | { ac_try='test -s conftest.$ac_objext' | ||
15348 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15349 | (eval $ac_try) 2>&5 | ||
15350 | ac_status=$? | ||
15351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15352 | (exit $ac_status); }; }; then | ||
15353 | ac_cv_have_pw_change_in_struct_passwd="yes" | ||
15354 | else | ||
15355 | echo "$as_me: failed program was:" >&5 | ||
15356 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15357 | |||
15358 | ac_cv_have_pw_change_in_struct_passwd="no" | ||
15359 | |||
15360 | fi | ||
15361 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15362 | |||
15363 | fi | ||
15364 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 | ||
15365 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 | ||
15366 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then | ||
15367 | cat >>confdefs.h <<\_ACEOF | ||
15368 | @%:@define HAVE_PW_CHANGE_IN_PASSWD 1 | ||
15369 | _ACEOF | ||
15370 | |||
15371 | fi | ||
15372 | |||
15373 | echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 | ||
15374 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 | ||
15375 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then | ||
15376 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15377 | else | ||
15378 | |||
15379 | if test "$cross_compiling" = yes; then | ||
15380 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
15381 | See \`config.log' for more details." >&5 | ||
15382 | echo "$as_me: error: cannot run test program while cross compiling | ||
15383 | See \`config.log' for more details." >&2;} | ||
15384 | { (exit 1); exit 1; }; } | ||
15385 | else | ||
15386 | cat >conftest.$ac_ext <<_ACEOF | ||
15387 | #line $LINENO "configure" | ||
15388 | /* confdefs.h. */ | ||
15389 | _ACEOF | ||
15390 | cat confdefs.h >>conftest.$ac_ext | ||
15391 | cat >>conftest.$ac_ext <<_ACEOF | ||
15392 | /* end confdefs.h. */ | ||
15393 | |||
15394 | #include <sys/types.h> | ||
15395 | #include <sys/socket.h> | ||
15396 | #include <sys/uio.h> | ||
15397 | int main() { | ||
15398 | #ifdef msg_accrights | ||
15399 | exit(1); | ||
15400 | #endif | ||
15401 | struct msghdr m; | ||
15402 | m.msg_accrights = 0; | ||
15403 | exit(0); | ||
15404 | } | ||
15405 | |||
15406 | _ACEOF | ||
15407 | rm -f conftest$ac_exeext | ||
15408 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15409 | (eval $ac_link) 2>&5 | ||
15410 | ac_status=$? | ||
15411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15412 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
15413 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15414 | (eval $ac_try) 2>&5 | ||
15415 | ac_status=$? | ||
15416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15417 | (exit $ac_status); }; }; then | ||
15418 | ac_cv_have_accrights_in_msghdr="yes" | ||
15419 | else | ||
15420 | echo "$as_me: program exited with status $ac_status" >&5 | ||
15421 | echo "$as_me: failed program was:" >&5 | ||
15422 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15423 | |||
15424 | ( exit $ac_status ) | ||
15425 | ac_cv_have_accrights_in_msghdr="no" | ||
15426 | |||
15427 | fi | ||
15428 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
15429 | fi | ||
15430 | |||
15431 | fi | ||
15432 | echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 | ||
15433 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 | ||
15434 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | ||
15435 | cat >>confdefs.h <<\_ACEOF | ||
15436 | @%:@define HAVE_ACCRIGHTS_IN_MSGHDR 1 | ||
15437 | _ACEOF | ||
15438 | |||
15439 | fi | ||
15440 | |||
15441 | echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 | ||
15442 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 | ||
15443 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then | ||
15444 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15445 | else | ||
15446 | |||
15447 | if test "$cross_compiling" = yes; then | ||
15448 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | ||
15449 | See \`config.log' for more details." >&5 | ||
15450 | echo "$as_me: error: cannot run test program while cross compiling | ||
15451 | See \`config.log' for more details." >&2;} | ||
15452 | { (exit 1); exit 1; }; } | ||
15453 | else | ||
15454 | cat >conftest.$ac_ext <<_ACEOF | ||
15455 | #line $LINENO "configure" | ||
15456 | /* confdefs.h. */ | ||
15457 | _ACEOF | ||
15458 | cat confdefs.h >>conftest.$ac_ext | ||
15459 | cat >>conftest.$ac_ext <<_ACEOF | ||
15460 | /* end confdefs.h. */ | ||
15461 | |||
15462 | #include <sys/types.h> | ||
15463 | #include <sys/socket.h> | ||
15464 | #include <sys/uio.h> | ||
15465 | int main() { | ||
15466 | #ifdef msg_control | ||
15467 | exit(1); | ||
15468 | #endif | ||
15469 | struct msghdr m; | ||
15470 | m.msg_control = 0; | ||
15471 | exit(0); | ||
15472 | } | ||
15473 | |||
15474 | _ACEOF | ||
15475 | rm -f conftest$ac_exeext | ||
15476 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15477 | (eval $ac_link) 2>&5 | ||
15478 | ac_status=$? | ||
15479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15480 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
15481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15482 | (eval $ac_try) 2>&5 | ||
15483 | ac_status=$? | ||
15484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15485 | (exit $ac_status); }; }; then | ||
15486 | ac_cv_have_control_in_msghdr="yes" | ||
15487 | else | ||
15488 | echo "$as_me: program exited with status $ac_status" >&5 | ||
15489 | echo "$as_me: failed program was:" >&5 | ||
15490 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15491 | |||
15492 | ( exit $ac_status ) | ||
15493 | ac_cv_have_control_in_msghdr="no" | ||
15494 | |||
15495 | fi | ||
15496 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
15497 | fi | ||
15498 | |||
15499 | fi | ||
15500 | echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 | ||
15501 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 | ||
15502 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | ||
15503 | cat >>confdefs.h <<\_ACEOF | ||
15504 | @%:@define HAVE_CONTROL_IN_MSGHDR 1 | ||
15505 | _ACEOF | ||
15506 | |||
15507 | fi | ||
15508 | |||
15509 | echo "$as_me:$LINENO: checking if libc defines __progname" >&5 | ||
15510 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 | ||
15511 | if test "${ac_cv_libc_defines___progname+set}" = set; then | ||
15512 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15513 | else | ||
15514 | |||
15515 | cat >conftest.$ac_ext <<_ACEOF | ||
15516 | #line $LINENO "configure" | ||
15517 | /* confdefs.h. */ | ||
15518 | _ACEOF | ||
15519 | cat confdefs.h >>conftest.$ac_ext | ||
15520 | cat >>conftest.$ac_ext <<_ACEOF | ||
15521 | /* end confdefs.h. */ | ||
15522 | |||
15523 | int | ||
15524 | main () | ||
15525 | { | ||
15526 | extern char *__progname; printf("%s", __progname); | ||
15527 | ; | ||
15528 | return 0; | ||
15529 | } | ||
15530 | _ACEOF | ||
15531 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15532 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15533 | (eval $ac_link) 2>&5 | ||
15534 | ac_status=$? | ||
15535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15536 | (exit $ac_status); } && | ||
15537 | { ac_try='test -s conftest$ac_exeext' | ||
15538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15539 | (eval $ac_try) 2>&5 | ||
15540 | ac_status=$? | ||
15541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15542 | (exit $ac_status); }; }; then | ||
15543 | ac_cv_libc_defines___progname="yes" | ||
15544 | else | ||
15545 | echo "$as_me: failed program was:" >&5 | ||
15546 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15547 | |||
15548 | ac_cv_libc_defines___progname="no" | ||
15549 | |||
15550 | fi | ||
15551 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15552 | |||
15553 | fi | ||
15554 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 | ||
15555 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 | ||
15556 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | ||
15557 | cat >>confdefs.h <<\_ACEOF | ||
15558 | @%:@define HAVE___PROGNAME 1 | ||
15559 | _ACEOF | ||
15560 | |||
15561 | fi | ||
15562 | |||
15563 | echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 | ||
15564 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 | ||
15565 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then | ||
15566 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15567 | else | ||
15568 | |||
15569 | cat >conftest.$ac_ext <<_ACEOF | ||
15570 | #line $LINENO "configure" | ||
15571 | /* confdefs.h. */ | ||
15572 | _ACEOF | ||
15573 | cat confdefs.h >>conftest.$ac_ext | ||
15574 | cat >>conftest.$ac_ext <<_ACEOF | ||
15575 | /* end confdefs.h. */ | ||
15576 | |||
15577 | #include <stdio.h> | ||
15578 | |||
15579 | int | ||
15580 | main () | ||
15581 | { | ||
15582 | printf("%s", __FUNCTION__); | ||
15583 | ; | ||
15584 | return 0; | ||
15585 | } | ||
15586 | _ACEOF | ||
15587 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15588 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15589 | (eval $ac_link) 2>&5 | ||
15590 | ac_status=$? | ||
15591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15592 | (exit $ac_status); } && | ||
15593 | { ac_try='test -s conftest$ac_exeext' | ||
15594 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15595 | (eval $ac_try) 2>&5 | ||
15596 | ac_status=$? | ||
15597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15598 | (exit $ac_status); }; }; then | ||
15599 | ac_cv_cc_implements___FUNCTION__="yes" | ||
15600 | else | ||
15601 | echo "$as_me: failed program was:" >&5 | ||
15602 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15603 | |||
15604 | ac_cv_cc_implements___FUNCTION__="no" | ||
15605 | |||
15606 | fi | ||
15607 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15608 | |||
15609 | fi | ||
15610 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 | ||
15611 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 | ||
15612 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | ||
15613 | cat >>confdefs.h <<\_ACEOF | ||
15614 | @%:@define HAVE___FUNCTION__ 1 | ||
15615 | _ACEOF | ||
15616 | |||
15617 | fi | ||
15618 | |||
15619 | echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 | ||
15620 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 | ||
15621 | if test "${ac_cv_cc_implements___func__+set}" = set; then | ||
15622 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15623 | else | ||
15624 | |||
15625 | cat >conftest.$ac_ext <<_ACEOF | ||
15626 | #line $LINENO "configure" | ||
15627 | /* confdefs.h. */ | ||
15628 | _ACEOF | ||
15629 | cat confdefs.h >>conftest.$ac_ext | ||
15630 | cat >>conftest.$ac_ext <<_ACEOF | ||
15631 | /* end confdefs.h. */ | ||
15632 | |||
15633 | #include <stdio.h> | ||
15634 | |||
15635 | int | ||
15636 | main () | ||
15637 | { | ||
15638 | printf("%s", __func__); | ||
15639 | ; | ||
15640 | return 0; | ||
15641 | } | ||
15642 | _ACEOF | ||
15643 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15644 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15645 | (eval $ac_link) 2>&5 | ||
15646 | ac_status=$? | ||
15647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15648 | (exit $ac_status); } && | ||
15649 | { ac_try='test -s conftest$ac_exeext' | ||
15650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15651 | (eval $ac_try) 2>&5 | ||
15652 | ac_status=$? | ||
15653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15654 | (exit $ac_status); }; }; then | ||
15655 | ac_cv_cc_implements___func__="yes" | ||
15656 | else | ||
15657 | echo "$as_me: failed program was:" >&5 | ||
15658 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15659 | |||
15660 | ac_cv_cc_implements___func__="no" | ||
15661 | |||
15662 | fi | ||
15663 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15664 | |||
15665 | fi | ||
15666 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 | ||
15667 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 | ||
15668 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | ||
15669 | cat >>confdefs.h <<\_ACEOF | ||
15670 | @%:@define HAVE___func__ 1 | ||
15671 | _ACEOF | ||
15672 | |||
15673 | fi | ||
15674 | |||
15675 | echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 | ||
15676 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 | ||
15677 | if test "${ac_cv_have_getopt_optreset+set}" = set; then | ||
15678 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15679 | else | ||
15680 | |||
15681 | cat >conftest.$ac_ext <<_ACEOF | ||
15682 | #line $LINENO "configure" | ||
15683 | /* confdefs.h. */ | ||
15684 | _ACEOF | ||
15685 | cat confdefs.h >>conftest.$ac_ext | ||
15686 | cat >>conftest.$ac_ext <<_ACEOF | ||
15687 | /* end confdefs.h. */ | ||
15688 | |||
15689 | #include <getopt.h> | ||
15690 | |||
15691 | int | ||
15692 | main () | ||
15693 | { | ||
15694 | extern int optreset; optreset = 0; | ||
15695 | ; | ||
15696 | return 0; | ||
15697 | } | ||
15698 | _ACEOF | ||
15699 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15700 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15701 | (eval $ac_link) 2>&5 | ||
15702 | ac_status=$? | ||
15703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15704 | (exit $ac_status); } && | ||
15705 | { ac_try='test -s conftest$ac_exeext' | ||
15706 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15707 | (eval $ac_try) 2>&5 | ||
15708 | ac_status=$? | ||
15709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15710 | (exit $ac_status); }; }; then | ||
15711 | ac_cv_have_getopt_optreset="yes" | ||
15712 | else | ||
15713 | echo "$as_me: failed program was:" >&5 | ||
15714 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15715 | |||
15716 | ac_cv_have_getopt_optreset="no" | ||
15717 | |||
15718 | fi | ||
15719 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15720 | |||
15721 | fi | ||
15722 | echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 | ||
15723 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 | ||
15724 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | ||
15725 | cat >>confdefs.h <<\_ACEOF | ||
15726 | @%:@define HAVE_GETOPT_OPTRESET 1 | ||
15727 | _ACEOF | ||
15728 | |||
15729 | fi | ||
15730 | |||
15731 | echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 | ||
15732 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 | ||
15733 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then | ||
15734 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15735 | else | ||
15736 | |||
15737 | cat >conftest.$ac_ext <<_ACEOF | ||
15738 | #line $LINENO "configure" | ||
15739 | /* confdefs.h. */ | ||
15740 | _ACEOF | ||
15741 | cat confdefs.h >>conftest.$ac_ext | ||
15742 | cat >>conftest.$ac_ext <<_ACEOF | ||
15743 | /* end confdefs.h. */ | ||
15744 | |||
15745 | int | ||
15746 | main () | ||
15747 | { | ||
15748 | extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]); | ||
15749 | ; | ||
15750 | return 0; | ||
15751 | } | ||
15752 | _ACEOF | ||
15753 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15754 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15755 | (eval $ac_link) 2>&5 | ||
15756 | ac_status=$? | ||
15757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15758 | (exit $ac_status); } && | ||
15759 | { ac_try='test -s conftest$ac_exeext' | ||
15760 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15761 | (eval $ac_try) 2>&5 | ||
15762 | ac_status=$? | ||
15763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15764 | (exit $ac_status); }; }; then | ||
15765 | ac_cv_libc_defines_sys_errlist="yes" | ||
15766 | else | ||
15767 | echo "$as_me: failed program was:" >&5 | ||
15768 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15769 | |||
15770 | ac_cv_libc_defines_sys_errlist="no" | ||
15771 | |||
15772 | fi | ||
15773 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15774 | |||
15775 | fi | ||
15776 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 | ||
15777 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 | ||
15778 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | ||
15779 | cat >>confdefs.h <<\_ACEOF | ||
15780 | @%:@define HAVE_SYS_ERRLIST 1 | ||
15781 | _ACEOF | ||
15782 | |||
15783 | fi | ||
15784 | |||
15785 | |||
15786 | echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 | ||
15787 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 | ||
15788 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then | ||
15789 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15790 | else | ||
15791 | |||
15792 | cat >conftest.$ac_ext <<_ACEOF | ||
15793 | #line $LINENO "configure" | ||
15794 | /* confdefs.h. */ | ||
15795 | _ACEOF | ||
15796 | cat confdefs.h >>conftest.$ac_ext | ||
15797 | cat >>conftest.$ac_ext <<_ACEOF | ||
15798 | /* end confdefs.h. */ | ||
15799 | |||
15800 | int | ||
15801 | main () | ||
15802 | { | ||
15803 | extern int sys_nerr; printf("%i", sys_nerr); | ||
15804 | ; | ||
15805 | return 0; | ||
15806 | } | ||
15807 | _ACEOF | ||
15808 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15809 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
15810 | (eval $ac_link) 2>&5 | ||
15811 | ac_status=$? | ||
15812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15813 | (exit $ac_status); } && | ||
15814 | { ac_try='test -s conftest$ac_exeext' | ||
15815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15816 | (eval $ac_try) 2>&5 | ||
15817 | ac_status=$? | ||
15818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15819 | (exit $ac_status); }; }; then | ||
15820 | ac_cv_libc_defines_sys_nerr="yes" | ||
15821 | else | ||
15822 | echo "$as_me: failed program was:" >&5 | ||
15823 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15824 | |||
15825 | ac_cv_libc_defines_sys_nerr="no" | ||
15826 | |||
15827 | fi | ||
15828 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
15829 | |||
15830 | fi | ||
15831 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 | ||
15832 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 | ||
15833 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | ||
15834 | cat >>confdefs.h <<\_ACEOF | ||
15835 | @%:@define HAVE_SYS_NERR 1 | ||
15836 | _ACEOF | ||
15837 | |||
15838 | fi | ||
15839 | |||
15840 | SCARD_MSG="no" | ||
15841 | |||
15842 | # Check whether user wants sectok support | ||
15843 | |||
15844 | # Check whether --with-sectok or --without-sectok was given. | ||
15845 | if test "${with_sectok+set}" = set; then | ||
15846 | withval="$with_sectok" | ||
15847 | |||
15848 | if test "x$withval" != "xno" ; then | ||
15849 | if test "x$withval" != "xyes" ; then | ||
15850 | CPPFLAGS="$CPPFLAGS -I${withval}" | ||
15851 | LDFLAGS="$LDFLAGS -L${withval}" | ||
15852 | if test ! -z "$need_dash_r" ; then | ||
15853 | LDFLAGS="$LDFLAGS -R${withval}" | ||
15854 | fi | ||
15855 | if test ! -z "$blibpath" ; then | ||
15856 | blibpath="$blibpath:${withval}" | ||
15857 | fi | ||
15858 | fi | ||
15859 | |||
15860 | for ac_header in sectok.h | ||
15861 | do | ||
15862 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
15863 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15864 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15865 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
15866 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15867 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15868 | fi | ||
15869 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
15870 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
15871 | else | ||
15872 | # Is the header compilable? | ||
15873 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
15874 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
15875 | cat >conftest.$ac_ext <<_ACEOF | ||
15876 | #line $LINENO "configure" | ||
15877 | /* confdefs.h. */ | ||
15878 | _ACEOF | ||
15879 | cat confdefs.h >>conftest.$ac_ext | ||
15880 | cat >>conftest.$ac_ext <<_ACEOF | ||
15881 | /* end confdefs.h. */ | ||
15882 | $ac_includes_default | ||
15883 | @%:@include <$ac_header> | ||
15884 | _ACEOF | ||
15885 | rm -f conftest.$ac_objext | ||
15886 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
15887 | (eval $ac_compile) 2>&5 | ||
15888 | ac_status=$? | ||
15889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15890 | (exit $ac_status); } && | ||
15891 | { ac_try='test -s conftest.$ac_objext' | ||
15892 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
15893 | (eval $ac_try) 2>&5 | ||
15894 | ac_status=$? | ||
15895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15896 | (exit $ac_status); }; }; then | ||
15897 | ac_header_compiler=yes | ||
15898 | else | ||
15899 | echo "$as_me: failed program was:" >&5 | ||
15900 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15901 | |||
15902 | ac_header_compiler=no | ||
15903 | fi | ||
15904 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
15905 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
15906 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
15907 | |||
15908 | # Is the header present? | ||
15909 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
15910 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
15911 | cat >conftest.$ac_ext <<_ACEOF | ||
15912 | #line $LINENO "configure" | ||
15913 | /* confdefs.h. */ | ||
15914 | _ACEOF | ||
15915 | cat confdefs.h >>conftest.$ac_ext | ||
15916 | cat >>conftest.$ac_ext <<_ACEOF | ||
15917 | /* end confdefs.h. */ | ||
15918 | @%:@include <$ac_header> | ||
15919 | _ACEOF | ||
15920 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
15921 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
15922 | ac_status=$? | ||
15923 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15924 | rm -f conftest.er1 | ||
15925 | cat conftest.err >&5 | ||
15926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15927 | (exit $ac_status); } >/dev/null; then | ||
15928 | if test -s conftest.err; then | ||
15929 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
15930 | else | ||
15931 | ac_cpp_err= | ||
15932 | fi | ||
15933 | else | ||
15934 | ac_cpp_err=yes | ||
15935 | fi | ||
15936 | if test -z "$ac_cpp_err"; then | ||
15937 | ac_header_preproc=yes | ||
15938 | else | ||
15939 | echo "$as_me: failed program was:" >&5 | ||
15940 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15941 | |||
15942 | ac_header_preproc=no | ||
15943 | fi | ||
15944 | rm -f conftest.err conftest.$ac_ext | ||
15945 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
15946 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
15947 | |||
15948 | # So? What about this header? | ||
15949 | case $ac_header_compiler:$ac_header_preproc in | ||
15950 | yes:no ) | ||
15951 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
15952 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
15953 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
15954 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
15955 | ( | ||
15956 | cat <<\_ASBOX | ||
15957 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
15958 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
15959 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
15960 | _ASBOX | ||
15961 | ) | | ||
15962 | sed "s/^/$as_me: WARNING: /" >&2 | ||
15963 | ;; | ||
15964 | no:yes ) | ||
15965 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
15966 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
15967 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
15968 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
15969 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
15970 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
15971 | ( | ||
15972 | cat <<\_ASBOX | ||
15973 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
15974 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
15975 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
15976 | _ASBOX | ||
15977 | ) | | ||
15978 | sed "s/^/$as_me: WARNING: /" >&2 | ||
15979 | ;; | ||
15980 | esac | ||
15981 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15982 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
15983 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
15984 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15985 | else | ||
15986 | eval "$as_ac_Header=$ac_header_preproc" | ||
15987 | fi | ||
15988 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
15989 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
15990 | |||
15991 | fi | ||
15992 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
15993 | cat >>confdefs.h <<_ACEOF | ||
15994 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
15995 | _ACEOF | ||
15996 | |||
15997 | fi | ||
15998 | |||
15999 | done | ||
16000 | |||
16001 | if test "$ac_cv_header_sectok_h" != yes; then | ||
16002 | { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5 | ||
16003 | echo "$as_me: error: Can't find sectok.h" >&2;} | ||
16004 | { (exit 1); exit 1; }; } | ||
16005 | fi | ||
16006 | |||
16007 | echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5 | ||
16008 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 | ||
16009 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then | ||
16010 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16011 | else | ||
16012 | ac_check_lib_save_LIBS=$LIBS | ||
16013 | LIBS="-lsectok $LIBS" | ||
16014 | cat >conftest.$ac_ext <<_ACEOF | ||
16015 | #line $LINENO "configure" | ||
16016 | /* confdefs.h. */ | ||
16017 | _ACEOF | ||
16018 | cat confdefs.h >>conftest.$ac_ext | ||
16019 | cat >>conftest.$ac_ext <<_ACEOF | ||
16020 | /* end confdefs.h. */ | ||
16021 | |||
16022 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
16023 | #ifdef __cplusplus | ||
16024 | extern "C" | ||
16025 | #endif | ||
16026 | /* We use char because int might match the return type of a gcc2 | ||
16027 | builtin and then its argument prototype would still apply. */ | ||
16028 | char sectok_open (); | ||
16029 | int | ||
16030 | main () | ||
16031 | { | ||
16032 | sectok_open (); | ||
16033 | ; | ||
16034 | return 0; | ||
16035 | } | ||
16036 | _ACEOF | ||
16037 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16038 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16039 | (eval $ac_link) 2>&5 | ||
16040 | ac_status=$? | ||
16041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16042 | (exit $ac_status); } && | ||
16043 | { ac_try='test -s conftest$ac_exeext' | ||
16044 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16045 | (eval $ac_try) 2>&5 | ||
16046 | ac_status=$? | ||
16047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16048 | (exit $ac_status); }; }; then | ||
16049 | ac_cv_lib_sectok_sectok_open=yes | ||
16050 | else | ||
16051 | echo "$as_me: failed program was:" >&5 | ||
16052 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16053 | |||
16054 | ac_cv_lib_sectok_sectok_open=no | ||
16055 | fi | ||
16056 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16057 | LIBS=$ac_check_lib_save_LIBS | ||
16058 | fi | ||
16059 | echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5 | ||
16060 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 | ||
16061 | if test $ac_cv_lib_sectok_sectok_open = yes; then | ||
16062 | cat >>confdefs.h <<_ACEOF | ||
16063 | @%:@define HAVE_LIBSECTOK 1 | ||
16064 | _ACEOF | ||
16065 | |||
16066 | LIBS="-lsectok $LIBS" | ||
16067 | |||
16068 | fi | ||
16069 | |||
16070 | if test "$ac_cv_lib_sectok_sectok_open" != yes; then | ||
16071 | { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5 | ||
16072 | echo "$as_me: error: Can't find libsectok" >&2;} | ||
16073 | { (exit 1); exit 1; }; } | ||
16074 | fi | ||
16075 | cat >>confdefs.h <<\_ACEOF | ||
16076 | @%:@define SMARTCARD 1 | ||
16077 | _ACEOF | ||
16078 | |||
16079 | cat >>confdefs.h <<\_ACEOF | ||
16080 | @%:@define USE_SECTOK 1 | ||
16081 | _ACEOF | ||
16082 | |||
16083 | SCARD_MSG="yes, using sectok" | ||
16084 | fi | ||
16085 | |||
16086 | |||
16087 | fi; | ||
16088 | |||
16089 | # Check whether user wants OpenSC support | ||
16090 | |||
16091 | # Check whether --with-opensc or --without-opensc was given. | ||
16092 | if test "${with_opensc+set}" = set; then | ||
16093 | withval="$with_opensc" | ||
16094 | opensc_config_prefix="$withval" | ||
16095 | else | ||
16096 | opensc_config_prefix="" | ||
16097 | fi; | ||
16098 | if test x$opensc_config_prefix != x ; then | ||
16099 | OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config | ||
16100 | # Extract the first word of "opensc-config", so it can be a program name with args. | ||
16101 | set dummy opensc-config; ac_word=$2 | ||
16102 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
16103 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
16104 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then | ||
16105 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16106 | else | ||
16107 | case $OPENSC_CONFIG in | ||
16108 | [\\/]* | ?:[\\/]*) | ||
16109 | ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path. | ||
16110 | ;; | ||
16111 | *) | ||
16112 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
16113 | for as_dir in $PATH | ||
16114 | do | ||
16115 | IFS=$as_save_IFS | ||
16116 | test -z "$as_dir" && as_dir=. | ||
16117 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
16118 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
16119 | ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
16120 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
16121 | break 2 | ||
16122 | fi | ||
16123 | done | ||
16124 | done | ||
16125 | |||
16126 | test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no" | ||
16127 | ;; | ||
16128 | esac | ||
16129 | fi | ||
16130 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG | ||
16131 | |||
16132 | if test -n "$OPENSC_CONFIG"; then | ||
16133 | echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 | ||
16134 | echo "${ECHO_T}$OPENSC_CONFIG" >&6 | ||
16135 | else | ||
16136 | echo "$as_me:$LINENO: result: no" >&5 | ||
16137 | echo "${ECHO_T}no" >&6 | ||
16138 | fi | ||
16139 | |||
16140 | if test "$OPENSC_CONFIG" != "no"; then | ||
16141 | LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags` | ||
16142 | LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` | ||
16143 | CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" | ||
16144 | LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" | ||
16145 | cat >>confdefs.h <<\_ACEOF | ||
16146 | @%:@define SMARTCARD 1 | ||
16147 | _ACEOF | ||
16148 | |||
16149 | cat >>confdefs.h <<\_ACEOF | ||
16150 | @%:@define USE_OPENSC 1 | ||
16151 | _ACEOF | ||
16152 | |||
16153 | SCARD_MSG="yes, using OpenSC" | ||
16154 | fi | ||
16155 | fi | ||
16156 | |||
16157 | # Check whether user wants Kerberos 5 support | ||
16158 | KRB5_MSG="no" | ||
16159 | |||
16160 | # Check whether --with-kerberos5 or --without-kerberos5 was given. | ||
16161 | if test "${with_kerberos5+set}" = set; then | ||
16162 | withval="$with_kerberos5" | ||
16163 | |||
16164 | if test "x$withval" != "xno" ; then | ||
16165 | if test "x$withval" = "xyes" ; then | ||
16166 | KRB5ROOT="/usr/local" | ||
16167 | else | ||
16168 | KRB5ROOT=${withval} | ||
16169 | fi | ||
16170 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" | ||
16171 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" | ||
16172 | cat >>confdefs.h <<\_ACEOF | ||
16173 | @%:@define KRB5 1 | ||
16174 | _ACEOF | ||
16175 | |||
16176 | KRB5_MSG="yes" | ||
16177 | echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 | ||
16178 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 | ||
16179 | cat >conftest.$ac_ext <<_ACEOF | ||
16180 | #line $LINENO "configure" | ||
16181 | /* confdefs.h. */ | ||
16182 | _ACEOF | ||
16183 | cat confdefs.h >>conftest.$ac_ext | ||
16184 | cat >>conftest.$ac_ext <<_ACEOF | ||
16185 | /* end confdefs.h. */ | ||
16186 | #include <krb5.h> | ||
16187 | int | ||
16188 | main () | ||
16189 | { | ||
16190 | char *tmp = heimdal_version; | ||
16191 | ; | ||
16192 | return 0; | ||
16193 | } | ||
16194 | _ACEOF | ||
16195 | rm -f conftest.$ac_objext | ||
16196 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
16197 | (eval $ac_compile) 2>&5 | ||
16198 | ac_status=$? | ||
16199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16200 | (exit $ac_status); } && | ||
16201 | { ac_try='test -s conftest.$ac_objext' | ||
16202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16203 | (eval $ac_try) 2>&5 | ||
16204 | ac_status=$? | ||
16205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16206 | (exit $ac_status); }; }; then | ||
16207 | echo "$as_me:$LINENO: result: yes" >&5 | ||
16208 | echo "${ECHO_T}yes" >&6 | ||
16209 | cat >>confdefs.h <<\_ACEOF | ||
16210 | @%:@define HEIMDAL 1 | ||
16211 | _ACEOF | ||
16212 | |||
16213 | K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken" | ||
16214 | |||
16215 | else | ||
16216 | echo "$as_me: failed program was:" >&5 | ||
16217 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16218 | |||
16219 | echo "$as_me:$LINENO: result: no" >&5 | ||
16220 | echo "${ECHO_T}no" >&6 | ||
16221 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" | ||
16222 | |||
16223 | |||
16224 | fi | ||
16225 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
16226 | if test ! -z "$need_dash_r" ; then | ||
16227 | LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib" | ||
16228 | fi | ||
16229 | if test ! -z "$blibpath" ; then | ||
16230 | blibpath="$blibpath:${KRB5ROOT}/lib" | ||
16231 | fi | ||
16232 | |||
16233 | echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5 | ||
16234 | echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6 | ||
16235 | if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then | ||
16236 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16237 | else | ||
16238 | ac_check_lib_save_LIBS=$LIBS | ||
16239 | LIBS="-lresolv $LIBS" | ||
16240 | cat >conftest.$ac_ext <<_ACEOF | ||
16241 | #line $LINENO "configure" | ||
16242 | /* confdefs.h. */ | ||
16243 | _ACEOF | ||
16244 | cat confdefs.h >>conftest.$ac_ext | ||
16245 | cat >>conftest.$ac_ext <<_ACEOF | ||
16246 | /* end confdefs.h. */ | ||
16247 | |||
16248 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
16249 | #ifdef __cplusplus | ||
16250 | extern "C" | ||
16251 | #endif | ||
16252 | /* We use char because int might match the return type of a gcc2 | ||
16253 | builtin and then its argument prototype would still apply. */ | ||
16254 | char dn_expand (); | ||
16255 | int | ||
16256 | main () | ||
16257 | { | ||
16258 | dn_expand (); | ||
16259 | ; | ||
16260 | return 0; | ||
16261 | } | ||
16262 | _ACEOF | ||
16263 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16264 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16265 | (eval $ac_link) 2>&5 | ||
16266 | ac_status=$? | ||
16267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16268 | (exit $ac_status); } && | ||
16269 | { ac_try='test -s conftest$ac_exeext' | ||
16270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16271 | (eval $ac_try) 2>&5 | ||
16272 | ac_status=$? | ||
16273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16274 | (exit $ac_status); }; }; then | ||
16275 | ac_cv_lib_resolv_dn_expand=yes | ||
16276 | else | ||
16277 | echo "$as_me: failed program was:" >&5 | ||
16278 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16279 | |||
16280 | ac_cv_lib_resolv_dn_expand=no | ||
16281 | fi | ||
16282 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16283 | LIBS=$ac_check_lib_save_LIBS | ||
16284 | fi | ||
16285 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5 | ||
16286 | echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6 | ||
16287 | if test $ac_cv_lib_resolv_dn_expand = yes; then | ||
16288 | cat >>confdefs.h <<_ACEOF | ||
16289 | @%:@define HAVE_LIBRESOLV 1 | ||
16290 | _ACEOF | ||
16291 | |||
16292 | LIBS="-lresolv $LIBS" | ||
16293 | |||
16294 | fi | ||
16295 | |||
16296 | |||
16297 | KRB5=yes | ||
16298 | fi | ||
16299 | |||
16300 | |||
16301 | fi; | ||
16302 | # Check whether user wants Kerberos 4 support | ||
16303 | KRB4_MSG="no" | ||
16304 | |||
16305 | # Check whether --with-kerberos4 or --without-kerberos4 was given. | ||
16306 | if test "${with_kerberos4+set}" = set; then | ||
16307 | withval="$with_kerberos4" | ||
16308 | |||
16309 | if test "x$withval" != "xno" ; then | ||
16310 | if test "x$withval" != "xyes" ; then | ||
16311 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | ||
16312 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
16313 | if test ! -z "$need_dash_r" ; then | ||
16314 | LDFLAGS="$LDFLAGS -R${withval}/lib" | ||
16315 | fi | ||
16316 | if test ! -z "$blibpath" ; then | ||
16317 | blibpath="$blibpath:${withval}/lib" | ||
16318 | fi | ||
16319 | else | ||
16320 | if test -d /usr/include/kerberosIV ; then | ||
16321 | CPPFLAGS="$CPPFLAGS -I/usr/include/kerberosIV" | ||
16322 | fi | ||
16323 | fi | ||
16324 | |||
16325 | |||
16326 | for ac_header in krb.h | ||
16327 | do | ||
16328 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
16329 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
16330 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
16331 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
16332 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
16333 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16334 | fi | ||
16335 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
16336 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
16337 | else | ||
16338 | # Is the header compilable? | ||
16339 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
16340 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
16341 | cat >conftest.$ac_ext <<_ACEOF | ||
16342 | #line $LINENO "configure" | ||
16343 | /* confdefs.h. */ | ||
16344 | _ACEOF | ||
16345 | cat confdefs.h >>conftest.$ac_ext | ||
16346 | cat >>conftest.$ac_ext <<_ACEOF | ||
16347 | /* end confdefs.h. */ | ||
16348 | $ac_includes_default | ||
16349 | @%:@include <$ac_header> | ||
16350 | _ACEOF | ||
16351 | rm -f conftest.$ac_objext | ||
16352 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
16353 | (eval $ac_compile) 2>&5 | ||
16354 | ac_status=$? | ||
16355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16356 | (exit $ac_status); } && | ||
16357 | { ac_try='test -s conftest.$ac_objext' | ||
16358 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16359 | (eval $ac_try) 2>&5 | ||
16360 | ac_status=$? | ||
16361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16362 | (exit $ac_status); }; }; then | ||
16363 | ac_header_compiler=yes | ||
16364 | else | ||
16365 | echo "$as_me: failed program was:" >&5 | ||
16366 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16367 | |||
16368 | ac_header_compiler=no | ||
16369 | fi | ||
16370 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
16371 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
16372 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
16373 | |||
16374 | # Is the header present? | ||
16375 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
16376 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
16377 | cat >conftest.$ac_ext <<_ACEOF | ||
16378 | #line $LINENO "configure" | ||
16379 | /* confdefs.h. */ | ||
16380 | _ACEOF | ||
16381 | cat confdefs.h >>conftest.$ac_ext | ||
16382 | cat >>conftest.$ac_ext <<_ACEOF | ||
16383 | /* end confdefs.h. */ | ||
16384 | @%:@include <$ac_header> | ||
16385 | _ACEOF | ||
16386 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
16387 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
16388 | ac_status=$? | ||
16389 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16390 | rm -f conftest.er1 | ||
16391 | cat conftest.err >&5 | ||
16392 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16393 | (exit $ac_status); } >/dev/null; then | ||
16394 | if test -s conftest.err; then | ||
16395 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
16396 | else | ||
16397 | ac_cpp_err= | ||
16398 | fi | ||
16399 | else | ||
16400 | ac_cpp_err=yes | ||
16401 | fi | ||
16402 | if test -z "$ac_cpp_err"; then | ||
16403 | ac_header_preproc=yes | ||
16404 | else | ||
16405 | echo "$as_me: failed program was:" >&5 | ||
16406 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16407 | |||
16408 | ac_header_preproc=no | ||
16409 | fi | ||
16410 | rm -f conftest.err conftest.$ac_ext | ||
16411 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
16412 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
16413 | |||
16414 | # So? What about this header? | ||
16415 | case $ac_header_compiler:$ac_header_preproc in | ||
16416 | yes:no ) | ||
16417 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
16418 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
16419 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
16420 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
16421 | ( | ||
16422 | cat <<\_ASBOX | ||
16423 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
16424 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
16425 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
16426 | _ASBOX | ||
16427 | ) | | ||
16428 | sed "s/^/$as_me: WARNING: /" >&2 | ||
16429 | ;; | ||
16430 | no:yes ) | ||
16431 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
16432 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
16433 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
16434 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
16435 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
16436 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
16437 | ( | ||
16438 | cat <<\_ASBOX | ||
16439 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
16440 | @%:@@%:@ Report this to bug-autoconf@gnu.org. @%:@@%:@ | ||
16441 | @%:@@%:@ ------------------------------------ @%:@@%:@ | ||
16442 | _ASBOX | ||
16443 | ) | | ||
16444 | sed "s/^/$as_me: WARNING: /" >&2 | ||
16445 | ;; | ||
16446 | esac | ||
16447 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
16448 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
16449 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
16450 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16451 | else | ||
16452 | eval "$as_ac_Header=$ac_header_preproc" | ||
16453 | fi | ||
16454 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
16455 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
16456 | |||
16457 | fi | ||
16458 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
16459 | cat >>confdefs.h <<_ACEOF | ||
16460 | @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
16461 | _ACEOF | ||
16462 | |||
16463 | fi | ||
16464 | |||
16465 | done | ||
16466 | |||
16467 | if test "$ac_cv_header_krb_h" != yes; then | ||
16468 | { echo "$as_me:$LINENO: WARNING: Cannot find krb.h, build may fail" >&5 | ||
16469 | echo "$as_me: WARNING: Cannot find krb.h, build may fail" >&2;} | ||
16470 | fi | ||
16471 | |||
16472 | echo "$as_me:$LINENO: checking for main in -lkrb" >&5 | ||
16473 | echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6 | ||
16474 | if test "${ac_cv_lib_krb_main+set}" = set; then | ||
16475 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16476 | else | ||
16477 | ac_check_lib_save_LIBS=$LIBS | ||
16478 | LIBS="-lkrb $LIBS" | ||
16479 | cat >conftest.$ac_ext <<_ACEOF | ||
16480 | #line $LINENO "configure" | ||
16481 | /* confdefs.h. */ | ||
16482 | _ACEOF | ||
16483 | cat confdefs.h >>conftest.$ac_ext | ||
16484 | cat >>conftest.$ac_ext <<_ACEOF | ||
16485 | /* end confdefs.h. */ | ||
16486 | |||
16487 | |||
16488 | int | ||
16489 | main () | ||
16490 | { | ||
16491 | main (); | ||
16492 | ; | ||
16493 | return 0; | ||
16494 | } | ||
16495 | _ACEOF | ||
16496 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16497 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16498 | (eval $ac_link) 2>&5 | ||
16499 | ac_status=$? | ||
16500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16501 | (exit $ac_status); } && | ||
16502 | { ac_try='test -s conftest$ac_exeext' | ||
16503 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16504 | (eval $ac_try) 2>&5 | ||
16505 | ac_status=$? | ||
16506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16507 | (exit $ac_status); }; }; then | ||
16508 | ac_cv_lib_krb_main=yes | ||
16509 | else | ||
16510 | echo "$as_me: failed program was:" >&5 | ||
16511 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16512 | |||
16513 | ac_cv_lib_krb_main=no | ||
16514 | fi | ||
16515 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16516 | LIBS=$ac_check_lib_save_LIBS | ||
16517 | fi | ||
16518 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5 | ||
16519 | echo "${ECHO_T}$ac_cv_lib_krb_main" >&6 | ||
16520 | if test $ac_cv_lib_krb_main = yes; then | ||
16521 | cat >>confdefs.h <<_ACEOF | ||
16522 | @%:@define HAVE_LIBKRB 1 | ||
16523 | _ACEOF | ||
16524 | |||
16525 | LIBS="-lkrb $LIBS" | ||
16526 | |||
16527 | fi | ||
16528 | |||
16529 | if test "$ac_cv_lib_krb_main" != yes; then | ||
16530 | |||
16531 | echo "$as_me:$LINENO: checking for main in -lkrb4" >&5 | ||
16532 | echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6 | ||
16533 | if test "${ac_cv_lib_krb4_main+set}" = set; then | ||
16534 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16535 | else | ||
16536 | ac_check_lib_save_LIBS=$LIBS | ||
16537 | LIBS="-lkrb4 $LIBS" | ||
16538 | cat >conftest.$ac_ext <<_ACEOF | ||
16539 | #line $LINENO "configure" | ||
16540 | /* confdefs.h. */ | ||
16541 | _ACEOF | ||
16542 | cat confdefs.h >>conftest.$ac_ext | ||
16543 | cat >>conftest.$ac_ext <<_ACEOF | ||
16544 | /* end confdefs.h. */ | ||
16545 | |||
16546 | |||
16547 | int | ||
16548 | main () | ||
16549 | { | ||
16550 | main (); | ||
16551 | ; | ||
16552 | return 0; | ||
16553 | } | ||
16554 | _ACEOF | ||
16555 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16556 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16557 | (eval $ac_link) 2>&5 | ||
16558 | ac_status=$? | ||
16559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16560 | (exit $ac_status); } && | ||
16561 | { ac_try='test -s conftest$ac_exeext' | ||
16562 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16563 | (eval $ac_try) 2>&5 | ||
16564 | ac_status=$? | ||
16565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16566 | (exit $ac_status); }; }; then | ||
16567 | ac_cv_lib_krb4_main=yes | ||
16568 | else | ||
16569 | echo "$as_me: failed program was:" >&5 | ||
16570 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16571 | |||
16572 | ac_cv_lib_krb4_main=no | ||
16573 | fi | ||
16574 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16575 | LIBS=$ac_check_lib_save_LIBS | ||
16576 | fi | ||
16577 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5 | ||
16578 | echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6 | ||
16579 | if test $ac_cv_lib_krb4_main = yes; then | ||
16580 | cat >>confdefs.h <<_ACEOF | ||
16581 | @%:@define HAVE_LIBKRB4 1 | ||
16582 | _ACEOF | ||
16583 | |||
16584 | LIBS="-lkrb4 $LIBS" | ||
16585 | |||
16586 | fi | ||
16587 | |||
16588 | if test "$ac_cv_lib_krb4_main" != yes; then | ||
16589 | { echo "$as_me:$LINENO: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&5 | ||
16590 | echo "$as_me: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&2;} | ||
16591 | else | ||
16592 | KLIBS="-lkrb4" | ||
16593 | fi | ||
16594 | else | ||
16595 | KLIBS="-lkrb" | ||
16596 | fi | ||
16597 | |||
16598 | echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | ||
16599 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 | ||
16600 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | ||
16601 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16602 | else | ||
16603 | ac_check_lib_save_LIBS=$LIBS | ||
16604 | LIBS="-ldes $LIBS" | ||
16605 | cat >conftest.$ac_ext <<_ACEOF | ||
16606 | #line $LINENO "configure" | ||
16607 | /* confdefs.h. */ | ||
16608 | _ACEOF | ||
16609 | cat confdefs.h >>conftest.$ac_ext | ||
16610 | cat >>conftest.$ac_ext <<_ACEOF | ||
16611 | /* end confdefs.h. */ | ||
16612 | |||
16613 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
16614 | #ifdef __cplusplus | ||
16615 | extern "C" | ||
16616 | #endif | ||
16617 | /* We use char because int might match the return type of a gcc2 | ||
16618 | builtin and then its argument prototype would still apply. */ | ||
16619 | char des_cbc_encrypt (); | ||
16620 | int | ||
16621 | main () | ||
16622 | { | ||
16623 | des_cbc_encrypt (); | ||
16624 | ; | ||
16625 | return 0; | ||
16626 | } | ||
16627 | _ACEOF | ||
16628 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16629 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16630 | (eval $ac_link) 2>&5 | ||
16631 | ac_status=$? | ||
16632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16633 | (exit $ac_status); } && | ||
16634 | { ac_try='test -s conftest$ac_exeext' | ||
16635 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16636 | (eval $ac_try) 2>&5 | ||
16637 | ac_status=$? | ||
16638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16639 | (exit $ac_status); }; }; then | ||
16640 | ac_cv_lib_des_des_cbc_encrypt=yes | ||
16641 | else | ||
16642 | echo "$as_me: failed program was:" >&5 | ||
16643 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16644 | |||
16645 | ac_cv_lib_des_des_cbc_encrypt=no | ||
16646 | fi | ||
16647 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16648 | LIBS=$ac_check_lib_save_LIBS | ||
16649 | fi | ||
16650 | echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | ||
16651 | echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 | ||
16652 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | ||
16653 | cat >>confdefs.h <<_ACEOF | ||
16654 | @%:@define HAVE_LIBDES 1 | ||
16655 | _ACEOF | ||
16656 | |||
16657 | LIBS="-ldes $LIBS" | ||
16658 | |||
16659 | fi | ||
16660 | |||
16661 | if test "$ac_cv_lib_des_des_cbc_encrypt" != yes; then | ||
16662 | |||
16663 | echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | ||
16664 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 | ||
16665 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | ||
16666 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16667 | else | ||
16668 | ac_check_lib_save_LIBS=$LIBS | ||
16669 | LIBS="-ldes425 $LIBS" | ||
16670 | cat >conftest.$ac_ext <<_ACEOF | ||
16671 | #line $LINENO "configure" | ||
16672 | /* confdefs.h. */ | ||
16673 | _ACEOF | ||
16674 | cat confdefs.h >>conftest.$ac_ext | ||
16675 | cat >>conftest.$ac_ext <<_ACEOF | ||
16676 | /* end confdefs.h. */ | ||
16677 | |||
16678 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
16679 | #ifdef __cplusplus | ||
16680 | extern "C" | ||
16681 | #endif | ||
16682 | /* We use char because int might match the return type of a gcc2 | ||
16683 | builtin and then its argument prototype would still apply. */ | ||
16684 | char des_cbc_encrypt (); | ||
16685 | int | ||
16686 | main () | ||
16687 | { | ||
16688 | des_cbc_encrypt (); | ||
16689 | ; | ||
16690 | return 0; | ||
16691 | } | ||
16692 | _ACEOF | ||
16693 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16694 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16695 | (eval $ac_link) 2>&5 | ||
16696 | ac_status=$? | ||
16697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16698 | (exit $ac_status); } && | ||
16699 | { ac_try='test -s conftest$ac_exeext' | ||
16700 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16701 | (eval $ac_try) 2>&5 | ||
16702 | ac_status=$? | ||
16703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16704 | (exit $ac_status); }; }; then | ||
16705 | ac_cv_lib_des425_des_cbc_encrypt=yes | ||
16706 | else | ||
16707 | echo "$as_me: failed program was:" >&5 | ||
16708 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16709 | |||
16710 | ac_cv_lib_des425_des_cbc_encrypt=no | ||
16711 | fi | ||
16712 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16713 | LIBS=$ac_check_lib_save_LIBS | ||
16714 | fi | ||
16715 | echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | ||
16716 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 | ||
16717 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | ||
16718 | cat >>confdefs.h <<_ACEOF | ||
16719 | @%:@define HAVE_LIBDES425 1 | ||
16720 | _ACEOF | ||
16721 | |||
16722 | LIBS="-ldes425 $LIBS" | ||
16723 | |||
16724 | fi | ||
16725 | |||
16726 | if test "$ac_cv_lib_des425_des_cbc_encrypt" != yes; then | ||
16727 | { echo "$as_me:$LINENO: WARNING: Cannot find libdes nor libdes425, build may fail" >&5 | ||
16728 | echo "$as_me: WARNING: Cannot find libdes nor libdes425, build may fail" >&2;} | ||
16729 | else | ||
16730 | KLIBS="-ldes425" | ||
16731 | fi | ||
16732 | else | ||
16733 | KLIBS="-ldes" | ||
16734 | fi | ||
16735 | |||
16736 | echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5 | ||
16737 | echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6 | ||
16738 | if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then | ||
16739 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16740 | else | ||
16741 | ac_check_lib_save_LIBS=$LIBS | ||
16742 | LIBS="-lresolv $LIBS" | ||
16743 | cat >conftest.$ac_ext <<_ACEOF | ||
16744 | #line $LINENO "configure" | ||
16745 | /* confdefs.h. */ | ||
16746 | _ACEOF | ||
16747 | cat confdefs.h >>conftest.$ac_ext | ||
16748 | cat >>conftest.$ac_ext <<_ACEOF | ||
16749 | /* end confdefs.h. */ | ||
16750 | |||
16751 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
16752 | #ifdef __cplusplus | ||
16753 | extern "C" | ||
16754 | #endif | ||
16755 | /* We use char because int might match the return type of a gcc2 | ||
16756 | builtin and then its argument prototype would still apply. */ | ||
16757 | char dn_expand (); | ||
16758 | int | ||
16759 | main () | ||
16760 | { | ||
16761 | dn_expand (); | ||
16762 | ; | ||
16763 | return 0; | ||
16764 | } | ||
16765 | _ACEOF | ||
16766 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16767 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
16768 | (eval $ac_link) 2>&5 | ||
16769 | ac_status=$? | ||
16770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16771 | (exit $ac_status); } && | ||
16772 | { ac_try='test -s conftest$ac_exeext' | ||
16773 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
16774 | (eval $ac_try) 2>&5 | ||
16775 | ac_status=$? | ||
16776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16777 | (exit $ac_status); }; }; then | ||
16778 | ac_cv_lib_resolv_dn_expand=yes | ||
16779 | else | ||
16780 | echo "$as_me: failed program was:" >&5 | ||
16781 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16782 | |||
16783 | ac_cv_lib_resolv_dn_expand=no | ||
16784 | fi | ||
16785 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
16786 | LIBS=$ac_check_lib_save_LIBS | ||
16787 | fi | ||
16788 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5 | ||
16789 | echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6 | ||
16790 | if test $ac_cv_lib_resolv_dn_expand = yes; then | ||
16791 | cat >>confdefs.h <<_ACEOF | ||
16792 | @%:@define HAVE_LIBRESOLV 1 | ||
16793 | _ACEOF | ||
16794 | |||
16795 | LIBS="-lresolv $LIBS" | ||
16796 | |||
16797 | fi | ||
16798 | |||
16799 | KRB4=yes | ||
16800 | KRB4_MSG="yes" | ||
16801 | cat >>confdefs.h <<\_ACEOF | ||
16802 | @%:@define KRB4 1 | ||
16803 | _ACEOF | ||
16804 | |||
16805 | fi | ||
16806 | |||
16807 | |||
16808 | fi; | ||
16809 | |||
16810 | # Check whether user wants AFS support | ||
16811 | AFS_MSG="no" | ||
16812 | |||
16813 | # Check whether --with-afs or --without-afs was given. | ||
16814 | if test "${with_afs+set}" = set; then | ||
16815 | withval="$with_afs" | ||
16816 | |||
16817 | if test "x$withval" != "xno" ; then | ||
16818 | |||
16819 | if test "x$withval" != "xyes" ; then | ||
16820 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | ||
16821 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
16822 | fi | ||
16823 | |||
16824 | if test -z "$KRB4" ; then | ||
16825 | { echo "$as_me:$LINENO: WARNING: AFS requires Kerberos IV support, build may fail" >&5 | ||
16826 | echo "$as_me: WARNING: AFS requires Kerberos IV support, build may fail" >&2;} | ||
16827 | fi | ||
16828 | |||
16829 | LIBS="-lkafs $LIBS" | ||
16830 | if test ! -z "$AFS_LIBS" ; then | ||
16831 | LIBS="$LIBS $AFS_LIBS" | ||
16832 | fi | ||
16833 | cat >>confdefs.h <<\_ACEOF | ||
16834 | @%:@define AFS 1 | ||
16835 | _ACEOF | ||
16836 | |||
16837 | AFS_MSG="yes" | ||
16838 | fi | ||
16839 | |||
16840 | |||
16841 | fi; | ||
16842 | LIBS="$LIBS $KLIBS $K5LIBS" | ||
16843 | |||
16844 | # Looking for programs, paths and files | ||
16845 | |||
16846 | PRIVSEP_PATH=/var/empty | ||
16847 | |||
16848 | # Check whether --with-privsep-path or --without-privsep-path was given. | ||
16849 | if test "${with_privsep_path+set}" = set; then | ||
16850 | withval="$with_privsep_path" | ||
16851 | |||
16852 | if test "x$withval" != "$no" ; then | ||
16853 | PRIVSEP_PATH=$withval | ||
16854 | fi | ||
16855 | |||
16856 | |||
16857 | fi; | ||
16858 | |||
16859 | |||
16860 | |||
16861 | # Check whether --with-xauth or --without-xauth was given. | ||
16862 | if test "${with_xauth+set}" = set; then | ||
16863 | withval="$with_xauth" | ||
16864 | |||
16865 | if test "x$withval" != "xno" ; then | ||
16866 | xauth_path=$withval | ||
16867 | fi | ||
16868 | |||
16869 | else | ||
16870 | |||
16871 | TestPath="$PATH" | ||
16872 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/X/bin" | ||
16873 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/bin/X11" | ||
16874 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/X11R6/bin" | ||
16875 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" | ||
16876 | # Extract the first word of "xauth", so it can be a program name with args. | ||
16877 | set dummy xauth; ac_word=$2 | ||
16878 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
16879 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
16880 | if test "${ac_cv_path_xauth_path+set}" = set; then | ||
16881 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16882 | else | ||
16883 | case $xauth_path in | ||
16884 | [\\/]* | ?:[\\/]*) | ||
16885 | ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path. | ||
16886 | ;; | ||
16887 | *) | ||
16888 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
16889 | for as_dir in $TestPath | ||
16890 | do | ||
16891 | IFS=$as_save_IFS | ||
16892 | test -z "$as_dir" && as_dir=. | ||
16893 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
16894 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
16895 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" | ||
16896 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
16897 | break 2 | ||
16898 | fi | ||
16899 | done | ||
16900 | done | ||
16901 | |||
16902 | ;; | ||
16903 | esac | ||
16904 | fi | ||
16905 | xauth_path=$ac_cv_path_xauth_path | ||
16906 | |||
16907 | if test -n "$xauth_path"; then | ||
16908 | echo "$as_me:$LINENO: result: $xauth_path" >&5 | ||
16909 | echo "${ECHO_T}$xauth_path" >&6 | ||
16910 | else | ||
16911 | echo "$as_me:$LINENO: result: no" >&5 | ||
16912 | echo "${ECHO_T}no" >&6 | ||
16913 | fi | ||
16914 | |||
16915 | if (test ! -z "$xauth_path" && test -x "/usr/openwin/bin/xauth") ; then | ||
16916 | xauth_path="/usr/openwin/bin/xauth" | ||
16917 | fi | ||
16918 | |||
16919 | |||
16920 | fi; | ||
16921 | |||
16922 | STRIP_OPT=-s | ||
16923 | # Check whether --enable-strip or --disable-strip was given. | ||
16924 | if test "${enable_strip+set}" = set; then | ||
16925 | enableval="$enable_strip" | ||
16926 | |||
16927 | if test "x$enableval" = "xno" ; then | ||
16928 | STRIP_OPT= | ||
16929 | fi | ||
16930 | |||
16931 | |||
16932 | fi; | ||
16933 | |||
16934 | |||
16935 | if test -z "$xauth_path" ; then | ||
16936 | XAUTH_PATH="undefined" | ||
16937 | |||
16938 | else | ||
16939 | cat >>confdefs.h <<_ACEOF | ||
16940 | @%:@define XAUTH_PATH "$xauth_path" | ||
16941 | _ACEOF | ||
16942 | |||
16943 | XAUTH_PATH=$xauth_path | ||
16944 | |||
16945 | fi | ||
16946 | |||
16947 | # Check for mail directory (last resort if we cannot get it from headers) | ||
16948 | if test ! -z "$MAIL" ; then | ||
16949 | maildir=`dirname $MAIL` | ||
16950 | cat >>confdefs.h <<_ACEOF | ||
16951 | @%:@define MAIL_DIRECTORY "$maildir" | ||
16952 | _ACEOF | ||
16953 | |||
16954 | fi | ||
16955 | |||
16956 | if test -z "$no_dev_ptmx" ; then | ||
16957 | if test "x$disable_ptmx_check" != "xyes" ; then | ||
16958 | echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 | ||
16959 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 | ||
16960 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then | ||
16961 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16962 | else | ||
16963 | test "$cross_compiling" = yes && | ||
16964 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | ||
16965 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
16966 | { (exit 1); exit 1; }; } | ||
16967 | if test -r ""/dev/ptmx""; then | ||
16968 | ac_cv_file___dev_ptmx_=yes | ||
16969 | else | ||
16970 | ac_cv_file___dev_ptmx_=no | ||
16971 | fi | ||
16972 | fi | ||
16973 | echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 | ||
16974 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 | ||
16975 | if test $ac_cv_file___dev_ptmx_ = yes; then | ||
16976 | |||
16977 | cat >>confdefs.h <<_ACEOF | ||
16978 | @%:@define HAVE_DEV_PTMX 1 | ||
16979 | _ACEOF | ||
16980 | |||
16981 | have_dev_ptmx=1 | ||
16982 | |||
16983 | |||
16984 | fi | ||
16985 | |||
16986 | fi | ||
16987 | fi | ||
16988 | echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 | ||
16989 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 | ||
16990 | if test "${ac_cv_file___dev_ptc_+set}" = set; then | ||
16991 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16992 | else | ||
16993 | test "$cross_compiling" = yes && | ||
16994 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | ||
16995 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
16996 | { (exit 1); exit 1; }; } | ||
16997 | if test -r ""/dev/ptc""; then | ||
16998 | ac_cv_file___dev_ptc_=yes | ||
16999 | else | ||
17000 | ac_cv_file___dev_ptc_=no | ||
17001 | fi | ||
17002 | fi | ||
17003 | echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 | ||
17004 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 | ||
17005 | if test $ac_cv_file___dev_ptc_ = yes; then | ||
17006 | |||
17007 | cat >>confdefs.h <<_ACEOF | ||
17008 | @%:@define HAVE_DEV_PTS_AND_PTC 1 | ||
17009 | _ACEOF | ||
17010 | |||
17011 | have_dev_ptc=1 | ||
17012 | |||
17013 | |||
17014 | fi | ||
17015 | |||
17016 | |||
17017 | # Options from here on. Some of these are preset by platform above | ||
17018 | |||
17019 | # Check whether --with-mantype or --without-mantype was given. | ||
17020 | if test "${with_mantype+set}" = set; then | ||
17021 | withval="$with_mantype" | ||
17022 | |||
17023 | case "$withval" in | ||
17024 | man|cat|doc) | ||
17025 | MANTYPE=$withval | ||
17026 | ;; | ||
17027 | *) | ||
17028 | { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5 | ||
17029 | echo "$as_me: error: invalid man type: $withval" >&2;} | ||
17030 | { (exit 1); exit 1; }; } | ||
17031 | ;; | ||
17032 | esac | ||
17033 | |||
17034 | |||
17035 | fi; | ||
17036 | if test -z "$MANTYPE"; then | ||
17037 | TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb" | ||
17038 | for ac_prog in nroff awf | ||
17039 | do | ||
17040 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
17041 | set dummy $ac_prog; ac_word=$2 | ||
17042 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
17043 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
17044 | if test "${ac_cv_path_NROFF+set}" = set; then | ||
17045 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17046 | else | ||
17047 | case $NROFF in | ||
17048 | [\\/]* | ?:[\\/]*) | ||
17049 | ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. | ||
17050 | ;; | ||
17051 | *) | ||
17052 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
17053 | for as_dir in $TestPath | ||
17054 | do | ||
17055 | IFS=$as_save_IFS | ||
17056 | test -z "$as_dir" && as_dir=. | ||
17057 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
17058 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
17059 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" | ||
17060 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
17061 | break 2 | ||
17062 | fi | ||
17063 | done | ||
17064 | done | ||
17065 | |||
17066 | ;; | ||
17067 | esac | ||
17068 | fi | ||
17069 | NROFF=$ac_cv_path_NROFF | ||
17070 | |||
17071 | if test -n "$NROFF"; then | ||
17072 | echo "$as_me:$LINENO: result: $NROFF" >&5 | ||
17073 | echo "${ECHO_T}$NROFF" >&6 | ||
17074 | else | ||
17075 | echo "$as_me:$LINENO: result: no" >&5 | ||
17076 | echo "${ECHO_T}no" >&6 | ||
17077 | fi | ||
17078 | |||
17079 | test -n "$NROFF" && break | ||
17080 | done | ||
17081 | test -n "$NROFF" || NROFF="/bin/false" | ||
17082 | |||
17083 | if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then | ||
17084 | MANTYPE=doc | ||
17085 | elif ${NROFF} -man ${srcdir}/ssh.1 >/dev/null 2>&1; then | ||
17086 | MANTYPE=man | ||
17087 | else | ||
17088 | MANTYPE=cat | ||
17089 | fi | ||
17090 | fi | ||
17091 | |||
17092 | if test "$MANTYPE" = "doc"; then | ||
17093 | mansubdir=man; | ||
17094 | else | ||
17095 | mansubdir=$MANTYPE; | ||
17096 | fi | ||
17097 | |||
17098 | |||
17099 | # Check whether to enable MD5 passwords | ||
17100 | MD5_MSG="no" | ||
17101 | |||
17102 | # Check whether --with-md5-passwords or --without-md5-passwords was given. | ||
17103 | if test "${with_md5_passwords+set}" = set; then | ||
17104 | withval="$with_md5_passwords" | ||
17105 | |||
17106 | if test "x$withval" != "xno" ; then | ||
17107 | cat >>confdefs.h <<\_ACEOF | ||
17108 | @%:@define HAVE_MD5_PASSWORDS 1 | ||
17109 | _ACEOF | ||
17110 | |||
17111 | MD5_MSG="yes" | ||
17112 | fi | ||
17113 | |||
17114 | |||
17115 | fi; | ||
17116 | |||
17117 | # Whether to disable shadow password support | ||
17118 | |||
17119 | # Check whether --with-shadow or --without-shadow was given. | ||
17120 | if test "${with_shadow+set}" = set; then | ||
17121 | withval="$with_shadow" | ||
17122 | |||
17123 | if test "x$withval" = "xno" ; then | ||
17124 | cat >>confdefs.h <<\_ACEOF | ||
17125 | @%:@define DISABLE_SHADOW 1 | ||
17126 | _ACEOF | ||
17127 | |||
17128 | disable_shadow=yes | ||
17129 | fi | ||
17130 | |||
17131 | |||
17132 | fi; | ||
17133 | |||
17134 | if test -z "$disable_shadow" ; then | ||
17135 | echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 | ||
17136 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 | ||
17137 | cat >conftest.$ac_ext <<_ACEOF | ||
17138 | #line $LINENO "configure" | ||
17139 | /* confdefs.h. */ | ||
17140 | _ACEOF | ||
17141 | cat confdefs.h >>conftest.$ac_ext | ||
17142 | cat >>conftest.$ac_ext <<_ACEOF | ||
17143 | /* end confdefs.h. */ | ||
17144 | |||
17145 | #include <sys/types.h> | ||
17146 | #include <shadow.h> | ||
17147 | struct spwd sp; | ||
17148 | |||
17149 | int | ||
17150 | main () | ||
17151 | { | ||
17152 | sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; | ||
17153 | ; | ||
17154 | return 0; | ||
17155 | } | ||
17156 | _ACEOF | ||
17157 | rm -f conftest.$ac_objext | ||
17158 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17159 | (eval $ac_compile) 2>&5 | ||
17160 | ac_status=$? | ||
17161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17162 | (exit $ac_status); } && | ||
17163 | { ac_try='test -s conftest.$ac_objext' | ||
17164 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17165 | (eval $ac_try) 2>&5 | ||
17166 | ac_status=$? | ||
17167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17168 | (exit $ac_status); }; }; then | ||
17169 | sp_expire_available=yes | ||
17170 | else | ||
17171 | echo "$as_me: failed program was:" >&5 | ||
17172 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17173 | |||
17174 | |||
17175 | |||
17176 | fi | ||
17177 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17178 | |||
17179 | if test "x$sp_expire_available" = "xyes" ; then | ||
17180 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17181 | echo "${ECHO_T}yes" >&6 | ||
17182 | cat >>confdefs.h <<\_ACEOF | ||
17183 | @%:@define HAS_SHADOW_EXPIRE 1 | ||
17184 | _ACEOF | ||
17185 | |||
17186 | else | ||
17187 | echo "$as_me:$LINENO: result: no" >&5 | ||
17188 | echo "${ECHO_T}no" >&6 | ||
17189 | fi | ||
17190 | fi | ||
17191 | |||
17192 | # Use ip address instead of hostname in $DISPLAY | ||
17193 | if test ! -z "$IPADDR_IN_DISPLAY" ; then | ||
17194 | DISPLAY_HACK_MSG="yes" | ||
17195 | cat >>confdefs.h <<\_ACEOF | ||
17196 | @%:@define IPADDR_IN_DISPLAY 1 | ||
17197 | _ACEOF | ||
17198 | |||
17199 | else | ||
17200 | DISPLAY_HACK_MSG="no" | ||
17201 | |||
17202 | # Check whether --with-ipaddr-display or --without-ipaddr-display was given. | ||
17203 | if test "${with_ipaddr_display+set}" = set; then | ||
17204 | withval="$with_ipaddr_display" | ||
17205 | |||
17206 | if test "x$withval" != "xno" ; then | ||
17207 | cat >>confdefs.h <<\_ACEOF | ||
17208 | @%:@define IPADDR_IN_DISPLAY 1 | ||
17209 | _ACEOF | ||
17210 | |||
17211 | DISPLAY_HACK_MSG="yes" | ||
17212 | fi | ||
17213 | |||
17214 | |||
17215 | fi; | ||
17216 | fi | ||
17217 | |||
17218 | if test $ac_cv_func_login_getcapbool = "yes" -a \ | ||
17219 | $ac_cv_header_login_cap_h = "yes" ; then | ||
17220 | USES_LOGIN_CONF=yes | ||
17221 | fi | ||
17222 | # Whether to mess with the default path | ||
17223 | SERVER_PATH_MSG="(default)" | ||
17224 | |||
17225 | # Check whether --with-default-path or --without-default-path was given. | ||
17226 | if test "${with_default_path+set}" = set; then | ||
17227 | withval="$with_default_path" | ||
17228 | |||
17229 | if test "$USES_LOGIN_CONF" = "yes" ; then | ||
17230 | { echo "$as_me:$LINENO: WARNING: | ||
17231 | --with-default-path=PATH has no effect on this system. | ||
17232 | Edit /etc/login.conf instead." >&5 | ||
17233 | echo "$as_me: WARNING: | ||
17234 | --with-default-path=PATH has no effect on this system. | ||
17235 | Edit /etc/login.conf instead." >&2;} | ||
17236 | elif test "x$withval" != "xno" ; then | ||
17237 | user_path="$withval" | ||
17238 | SERVER_PATH_MSG="$withval" | ||
17239 | fi | ||
17240 | |||
17241 | else | ||
17242 | if test "$USES_LOGIN_CONF" = "yes" ; then | ||
17243 | { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 | ||
17244 | echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} | ||
17245 | else | ||
17246 | if test "$cross_compiling" = yes; then | ||
17247 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | ||
17248 | |||
17249 | else | ||
17250 | cat >conftest.$ac_ext <<_ACEOF | ||
17251 | #line $LINENO "configure" | ||
17252 | /* confdefs.h. */ | ||
17253 | _ACEOF | ||
17254 | cat confdefs.h >>conftest.$ac_ext | ||
17255 | cat >>conftest.$ac_ext <<_ACEOF | ||
17256 | /* end confdefs.h. */ | ||
17257 | |||
17258 | /* find out what STDPATH is */ | ||
17259 | #include <stdio.h> | ||
17260 | #ifdef HAVE_PATHS_H | ||
17261 | # include <paths.h> | ||
17262 | #endif | ||
17263 | #ifndef _PATH_STDPATH | ||
17264 | # ifdef _PATH_USERPATH /* Irix */ | ||
17265 | # define _PATH_STDPATH _PATH_USERPATH | ||
17266 | # else | ||
17267 | # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" | ||
17268 | # endif | ||
17269 | #endif | ||
17270 | #include <sys/types.h> | ||
17271 | #include <sys/stat.h> | ||
17272 | #include <fcntl.h> | ||
17273 | #define DATA "conftest.stdpath" | ||
17274 | |||
17275 | main() | ||
17276 | { | ||
17277 | FILE *fd; | ||
17278 | int rc; | ||
17279 | |||
17280 | fd = fopen(DATA,"w"); | ||
17281 | if(fd == NULL) | ||
17282 | exit(1); | ||
17283 | |||
17284 | if ((rc = fprintf(fd,"%s", _PATH_STDPATH)) < 0) | ||
17285 | exit(1); | ||
17286 | |||
17287 | exit(0); | ||
17288 | } | ||
17289 | |||
17290 | _ACEOF | ||
17291 | rm -f conftest$ac_exeext | ||
17292 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
17293 | (eval $ac_link) 2>&5 | ||
17294 | ac_status=$? | ||
17295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17296 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
17297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17298 | (eval $ac_try) 2>&5 | ||
17299 | ac_status=$? | ||
17300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17301 | (exit $ac_status); }; }; then | ||
17302 | user_path=`cat conftest.stdpath` | ||
17303 | else | ||
17304 | echo "$as_me: program exited with status $ac_status" >&5 | ||
17305 | echo "$as_me: failed program was:" >&5 | ||
17306 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17307 | |||
17308 | ( exit $ac_status ) | ||
17309 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | ||
17310 | fi | ||
17311 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
17312 | fi | ||
17313 | # make sure $bindir is in USER_PATH so scp will work | ||
17314 | t_bindir=`eval echo ${bindir}` | ||
17315 | case $t_bindir in | ||
17316 | NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;; | ||
17317 | esac | ||
17318 | case $t_bindir in | ||
17319 | NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$ac_default_prefix~"` ;; | ||
17320 | esac | ||
17321 | echo $user_path | grep ":$t_bindir" > /dev/null 2>&1 | ||
17322 | if test $? -ne 0 ; then | ||
17323 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 | ||
17324 | if test $? -ne 0 ; then | ||
17325 | user_path=$user_path:$t_bindir | ||
17326 | echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 | ||
17327 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 | ||
17328 | fi | ||
17329 | fi | ||
17330 | fi | ||
17331 | |||
17332 | fi; | ||
17333 | if test "$USES_LOGIN_CONF" != "yes" ; then | ||
17334 | cat >>confdefs.h <<_ACEOF | ||
17335 | @%:@define USER_PATH "$user_path" | ||
17336 | _ACEOF | ||
17337 | |||
17338 | |||
17339 | fi | ||
17340 | |||
17341 | # Set superuser path separately to user path | ||
17342 | |||
17343 | # Check whether --with-superuser-path or --without-superuser-path was given. | ||
17344 | if test "${with_superuser_path+set}" = set; then | ||
17345 | withval="$with_superuser_path" | ||
17346 | |||
17347 | if test "x$withval" != "xno" ; then | ||
17348 | cat >>confdefs.h <<_ACEOF | ||
17349 | @%:@define SUPERUSER_PATH "$withval" | ||
17350 | _ACEOF | ||
17351 | |||
17352 | superuser_path=$withval | ||
17353 | fi | ||
17354 | |||
17355 | |||
17356 | fi; | ||
17357 | |||
17358 | |||
17359 | # Whether to force IPv4 by default (needed on broken glibc Linux) | ||
17360 | IPV4_HACK_MSG="no" | ||
17361 | |||
17362 | # Check whether --with-ipv4-default or --without-ipv4-default was given. | ||
17363 | if test "${with_ipv4_default+set}" = set; then | ||
17364 | withval="$with_ipv4_default" | ||
17365 | |||
17366 | if test "x$withval" != "xno" ; then | ||
17367 | cat >>confdefs.h <<\_ACEOF | ||
17368 | @%:@define IPV4_DEFAULT 1 | ||
17369 | _ACEOF | ||
17370 | |||
17371 | IPV4_HACK_MSG="yes" | ||
17372 | fi | ||
17373 | |||
17374 | |||
17375 | fi; | ||
17376 | |||
17377 | echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 | ||
17378 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 | ||
17379 | IPV4_IN6_HACK_MSG="no" | ||
17380 | |||
17381 | # Check whether --with-4in6 or --without-4in6 was given. | ||
17382 | if test "${with_4in6+set}" = set; then | ||
17383 | withval="$with_4in6" | ||
17384 | |||
17385 | if test "x$withval" != "xno" ; then | ||
17386 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17387 | echo "${ECHO_T}yes" >&6 | ||
17388 | cat >>confdefs.h <<\_ACEOF | ||
17389 | @%:@define IPV4_IN_IPV6 1 | ||
17390 | _ACEOF | ||
17391 | |||
17392 | IPV4_IN6_HACK_MSG="yes" | ||
17393 | else | ||
17394 | echo "$as_me:$LINENO: result: no" >&5 | ||
17395 | echo "${ECHO_T}no" >&6 | ||
17396 | fi | ||
17397 | |||
17398 | else | ||
17399 | |||
17400 | if test "x$inet6_default_4in6" = "xyes"; then | ||
17401 | echo "$as_me:$LINENO: result: yes (default)" >&5 | ||
17402 | echo "${ECHO_T}yes (default)" >&6 | ||
17403 | cat >>confdefs.h <<\_ACEOF | ||
17404 | @%:@define IPV4_IN_IPV6 1 | ||
17405 | _ACEOF | ||
17406 | |||
17407 | IPV4_IN6_HACK_MSG="yes" | ||
17408 | else | ||
17409 | echo "$as_me:$LINENO: result: no (default)" >&5 | ||
17410 | echo "${ECHO_T}no (default)" >&6 | ||
17411 | fi | ||
17412 | |||
17413 | |||
17414 | fi; | ||
17415 | |||
17416 | # Whether to enable BSD auth support | ||
17417 | BSD_AUTH_MSG=no | ||
17418 | |||
17419 | # Check whether --with-bsd-auth or --without-bsd-auth was given. | ||
17420 | if test "${with_bsd_auth+set}" = set; then | ||
17421 | withval="$with_bsd_auth" | ||
17422 | |||
17423 | if test "x$withval" != "xno" ; then | ||
17424 | cat >>confdefs.h <<\_ACEOF | ||
17425 | @%:@define BSD_AUTH 1 | ||
17426 | _ACEOF | ||
17427 | |||
17428 | BSD_AUTH_MSG=yes | ||
17429 | fi | ||
17430 | |||
17431 | |||
17432 | fi; | ||
17433 | |||
17434 | # Where to place sshd.pid | ||
17435 | piddir=/var/run | ||
17436 | # make sure the directory exists | ||
17437 | if test ! -d $piddir ; then | ||
17438 | piddir=`eval echo ${sysconfdir}` | ||
17439 | case $piddir in | ||
17440 | NONE/*) piddir=`echo $piddir | sed "s~NONE~$ac_default_prefix~"` ;; | ||
17441 | esac | ||
17442 | fi | ||
17443 | |||
17444 | |||
17445 | # Check whether --with-pid-dir or --without-pid-dir was given. | ||
17446 | if test "${with_pid_dir+set}" = set; then | ||
17447 | withval="$with_pid_dir" | ||
17448 | |||
17449 | if test "x$withval" != "xno" ; then | ||
17450 | piddir=$withval | ||
17451 | if test ! -d $piddir ; then | ||
17452 | { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 | ||
17453 | echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} | ||
17454 | fi | ||
17455 | fi | ||
17456 | |||
17457 | |||
17458 | fi; | ||
17459 | |||
17460 | cat >>confdefs.h <<_ACEOF | ||
17461 | @%:@define _PATH_SSH_PIDDIR "$piddir" | ||
17462 | _ACEOF | ||
17463 | |||
17464 | |||
17465 | |||
17466 | # Check whether --enable-lastlog or --disable-lastlog was given. | ||
17467 | if test "${enable_lastlog+set}" = set; then | ||
17468 | enableval="$enable_lastlog" | ||
17469 | cat >>confdefs.h <<\_ACEOF | ||
17470 | @%:@define DISABLE_LASTLOG 1 | ||
17471 | _ACEOF | ||
17472 | |||
17473 | |||
17474 | fi; | ||
17475 | # Check whether --enable-utmp or --disable-utmp was given. | ||
17476 | if test "${enable_utmp+set}" = set; then | ||
17477 | enableval="$enable_utmp" | ||
17478 | cat >>confdefs.h <<\_ACEOF | ||
17479 | @%:@define DISABLE_UTMP 1 | ||
17480 | _ACEOF | ||
17481 | |||
17482 | |||
17483 | fi; | ||
17484 | # Check whether --enable-utmpx or --disable-utmpx was given. | ||
17485 | if test "${enable_utmpx+set}" = set; then | ||
17486 | enableval="$enable_utmpx" | ||
17487 | cat >>confdefs.h <<\_ACEOF | ||
17488 | @%:@define DISABLE_UTMPX 1 | ||
17489 | _ACEOF | ||
17490 | |||
17491 | |||
17492 | fi; | ||
17493 | # Check whether --enable-wtmp or --disable-wtmp was given. | ||
17494 | if test "${enable_wtmp+set}" = set; then | ||
17495 | enableval="$enable_wtmp" | ||
17496 | cat >>confdefs.h <<\_ACEOF | ||
17497 | @%:@define DISABLE_WTMP 1 | ||
17498 | _ACEOF | ||
17499 | |||
17500 | |||
17501 | fi; | ||
17502 | # Check whether --enable-wtmpx or --disable-wtmpx was given. | ||
17503 | if test "${enable_wtmpx+set}" = set; then | ||
17504 | enableval="$enable_wtmpx" | ||
17505 | cat >>confdefs.h <<\_ACEOF | ||
17506 | @%:@define DISABLE_WTMPX 1 | ||
17507 | _ACEOF | ||
17508 | |||
17509 | |||
17510 | fi; | ||
17511 | # Check whether --enable-libutil or --disable-libutil was given. | ||
17512 | if test "${enable_libutil+set}" = set; then | ||
17513 | enableval="$enable_libutil" | ||
17514 | cat >>confdefs.h <<\_ACEOF | ||
17515 | @%:@define DISABLE_LOGIN 1 | ||
17516 | _ACEOF | ||
17517 | |||
17518 | |||
17519 | fi; | ||
17520 | # Check whether --enable-pututline or --disable-pututline was given. | ||
17521 | if test "${enable_pututline+set}" = set; then | ||
17522 | enableval="$enable_pututline" | ||
17523 | cat >>confdefs.h <<\_ACEOF | ||
17524 | @%:@define DISABLE_PUTUTLINE 1 | ||
17525 | _ACEOF | ||
17526 | |||
17527 | |||
17528 | fi; | ||
17529 | # Check whether --enable-pututxline or --disable-pututxline was given. | ||
17530 | if test "${enable_pututxline+set}" = set; then | ||
17531 | enableval="$enable_pututxline" | ||
17532 | cat >>confdefs.h <<\_ACEOF | ||
17533 | @%:@define DISABLE_PUTUTXLINE 1 | ||
17534 | _ACEOF | ||
17535 | |||
17536 | |||
17537 | fi; | ||
17538 | |||
17539 | # Check whether --with-lastlog or --without-lastlog was given. | ||
17540 | if test "${with_lastlog+set}" = set; then | ||
17541 | withval="$with_lastlog" | ||
17542 | |||
17543 | if test "x$withval" = "xno" ; then | ||
17544 | cat >>confdefs.h <<\_ACEOF | ||
17545 | @%:@define DISABLE_LASTLOG 1 | ||
17546 | _ACEOF | ||
17547 | |||
17548 | else | ||
17549 | conf_lastlog_location=$withval | ||
17550 | fi | ||
17551 | |||
17552 | |||
17553 | fi; | ||
17554 | |||
17555 | |||
17556 | echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5 | ||
17557 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 | ||
17558 | cat >conftest.$ac_ext <<_ACEOF | ||
17559 | #line $LINENO "configure" | ||
17560 | /* confdefs.h. */ | ||
17561 | _ACEOF | ||
17562 | cat confdefs.h >>conftest.$ac_ext | ||
17563 | cat >>conftest.$ac_ext <<_ACEOF | ||
17564 | /* end confdefs.h. */ | ||
17565 | |||
17566 | #include <sys/types.h> | ||
17567 | #include <utmp.h> | ||
17568 | #ifdef HAVE_LASTLOG_H | ||
17569 | # include <lastlog.h> | ||
17570 | #endif | ||
17571 | #ifdef HAVE_PATHS_H | ||
17572 | # include <paths.h> | ||
17573 | #endif | ||
17574 | #ifdef HAVE_LOGIN_H | ||
17575 | # include <login.h> | ||
17576 | #endif | ||
17577 | |||
17578 | int | ||
17579 | main () | ||
17580 | { | ||
17581 | char *lastlog = LASTLOG_FILE; | ||
17582 | ; | ||
17583 | return 0; | ||
17584 | } | ||
17585 | _ACEOF | ||
17586 | rm -f conftest.$ac_objext | ||
17587 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17588 | (eval $ac_compile) 2>&5 | ||
17589 | ac_status=$? | ||
17590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17591 | (exit $ac_status); } && | ||
17592 | { ac_try='test -s conftest.$ac_objext' | ||
17593 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17594 | (eval $ac_try) 2>&5 | ||
17595 | ac_status=$? | ||
17596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17597 | (exit $ac_status); }; }; then | ||
17598 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17599 | echo "${ECHO_T}yes" >&6 | ||
17600 | else | ||
17601 | echo "$as_me: failed program was:" >&5 | ||
17602 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17603 | |||
17604 | |||
17605 | echo "$as_me:$LINENO: result: no" >&5 | ||
17606 | echo "${ECHO_T}no" >&6 | ||
17607 | echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 | ||
17608 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 | ||
17609 | cat >conftest.$ac_ext <<_ACEOF | ||
17610 | #line $LINENO "configure" | ||
17611 | /* confdefs.h. */ | ||
17612 | _ACEOF | ||
17613 | cat confdefs.h >>conftest.$ac_ext | ||
17614 | cat >>conftest.$ac_ext <<_ACEOF | ||
17615 | /* end confdefs.h. */ | ||
17616 | |||
17617 | #include <sys/types.h> | ||
17618 | #include <utmp.h> | ||
17619 | #ifdef HAVE_LASTLOG_H | ||
17620 | # include <lastlog.h> | ||
17621 | #endif | ||
17622 | #ifdef HAVE_PATHS_H | ||
17623 | # include <paths.h> | ||
17624 | #endif | ||
17625 | |||
17626 | int | ||
17627 | main () | ||
17628 | { | ||
17629 | char *lastlog = _PATH_LASTLOG; | ||
17630 | ; | ||
17631 | return 0; | ||
17632 | } | ||
17633 | _ACEOF | ||
17634 | rm -f conftest.$ac_objext | ||
17635 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17636 | (eval $ac_compile) 2>&5 | ||
17637 | ac_status=$? | ||
17638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17639 | (exit $ac_status); } && | ||
17640 | { ac_try='test -s conftest.$ac_objext' | ||
17641 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17642 | (eval $ac_try) 2>&5 | ||
17643 | ac_status=$? | ||
17644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17645 | (exit $ac_status); }; }; then | ||
17646 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17647 | echo "${ECHO_T}yes" >&6 | ||
17648 | else | ||
17649 | echo "$as_me: failed program was:" >&5 | ||
17650 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17651 | |||
17652 | |||
17653 | echo "$as_me:$LINENO: result: no" >&5 | ||
17654 | echo "${ECHO_T}no" >&6 | ||
17655 | system_lastlog_path=no | ||
17656 | |||
17657 | fi | ||
17658 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17659 | |||
17660 | |||
17661 | fi | ||
17662 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17663 | |||
17664 | if test -z "$conf_lastlog_location"; then | ||
17665 | if test x"$system_lastlog_path" = x"no" ; then | ||
17666 | for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do | ||
17667 | if (test -d "$f" || test -f "$f") ; then | ||
17668 | conf_lastlog_location=$f | ||
17669 | fi | ||
17670 | done | ||
17671 | if test -z "$conf_lastlog_location"; then | ||
17672 | { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5 | ||
17673 | echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} | ||
17674 | fi | ||
17675 | fi | ||
17676 | fi | ||
17677 | |||
17678 | if test -n "$conf_lastlog_location"; then | ||
17679 | cat >>confdefs.h <<_ACEOF | ||
17680 | @%:@define CONF_LASTLOG_FILE "$conf_lastlog_location" | ||
17681 | _ACEOF | ||
17682 | |||
17683 | fi | ||
17684 | |||
17685 | echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 | ||
17686 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 | ||
17687 | cat >conftest.$ac_ext <<_ACEOF | ||
17688 | #line $LINENO "configure" | ||
17689 | /* confdefs.h. */ | ||
17690 | _ACEOF | ||
17691 | cat confdefs.h >>conftest.$ac_ext | ||
17692 | cat >>conftest.$ac_ext <<_ACEOF | ||
17693 | /* end confdefs.h. */ | ||
17694 | |||
17695 | #include <sys/types.h> | ||
17696 | #include <utmp.h> | ||
17697 | #ifdef HAVE_PATHS_H | ||
17698 | # include <paths.h> | ||
17699 | #endif | ||
17700 | |||
17701 | int | ||
17702 | main () | ||
17703 | { | ||
17704 | char *utmp = UTMP_FILE; | ||
17705 | ; | ||
17706 | return 0; | ||
17707 | } | ||
17708 | _ACEOF | ||
17709 | rm -f conftest.$ac_objext | ||
17710 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17711 | (eval $ac_compile) 2>&5 | ||
17712 | ac_status=$? | ||
17713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17714 | (exit $ac_status); } && | ||
17715 | { ac_try='test -s conftest.$ac_objext' | ||
17716 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17717 | (eval $ac_try) 2>&5 | ||
17718 | ac_status=$? | ||
17719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17720 | (exit $ac_status); }; }; then | ||
17721 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17722 | echo "${ECHO_T}yes" >&6 | ||
17723 | else | ||
17724 | echo "$as_me: failed program was:" >&5 | ||
17725 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17726 | |||
17727 | echo "$as_me:$LINENO: result: no" >&5 | ||
17728 | echo "${ECHO_T}no" >&6 | ||
17729 | system_utmp_path=no | ||
17730 | |||
17731 | fi | ||
17732 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17733 | if test -z "$conf_utmp_location"; then | ||
17734 | if test x"$system_utmp_path" = x"no" ; then | ||
17735 | for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do | ||
17736 | if test -f $f ; then | ||
17737 | conf_utmp_location=$f | ||
17738 | fi | ||
17739 | done | ||
17740 | if test -z "$conf_utmp_location"; then | ||
17741 | cat >>confdefs.h <<\_ACEOF | ||
17742 | @%:@define DISABLE_UTMP 1 | ||
17743 | _ACEOF | ||
17744 | |||
17745 | fi | ||
17746 | fi | ||
17747 | fi | ||
17748 | if test -n "$conf_utmp_location"; then | ||
17749 | cat >>confdefs.h <<_ACEOF | ||
17750 | @%:@define CONF_UTMP_FILE "$conf_utmp_location" | ||
17751 | _ACEOF | ||
17752 | |||
17753 | fi | ||
17754 | |||
17755 | echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 | ||
17756 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 | ||
17757 | cat >conftest.$ac_ext <<_ACEOF | ||
17758 | #line $LINENO "configure" | ||
17759 | /* confdefs.h. */ | ||
17760 | _ACEOF | ||
17761 | cat confdefs.h >>conftest.$ac_ext | ||
17762 | cat >>conftest.$ac_ext <<_ACEOF | ||
17763 | /* end confdefs.h. */ | ||
17764 | |||
17765 | #include <sys/types.h> | ||
17766 | #include <utmp.h> | ||
17767 | #ifdef HAVE_PATHS_H | ||
17768 | # include <paths.h> | ||
17769 | #endif | ||
17770 | |||
17771 | int | ||
17772 | main () | ||
17773 | { | ||
17774 | char *wtmp = WTMP_FILE; | ||
17775 | ; | ||
17776 | return 0; | ||
17777 | } | ||
17778 | _ACEOF | ||
17779 | rm -f conftest.$ac_objext | ||
17780 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17781 | (eval $ac_compile) 2>&5 | ||
17782 | ac_status=$? | ||
17783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17784 | (exit $ac_status); } && | ||
17785 | { ac_try='test -s conftest.$ac_objext' | ||
17786 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17787 | (eval $ac_try) 2>&5 | ||
17788 | ac_status=$? | ||
17789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17790 | (exit $ac_status); }; }; then | ||
17791 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17792 | echo "${ECHO_T}yes" >&6 | ||
17793 | else | ||
17794 | echo "$as_me: failed program was:" >&5 | ||
17795 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17796 | |||
17797 | echo "$as_me:$LINENO: result: no" >&5 | ||
17798 | echo "${ECHO_T}no" >&6 | ||
17799 | system_wtmp_path=no | ||
17800 | |||
17801 | fi | ||
17802 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17803 | if test -z "$conf_wtmp_location"; then | ||
17804 | if test x"$system_wtmp_path" = x"no" ; then | ||
17805 | for f in /usr/adm/wtmp /var/log/wtmp; do | ||
17806 | if test -f $f ; then | ||
17807 | conf_wtmp_location=$f | ||
17808 | fi | ||
17809 | done | ||
17810 | if test -z "$conf_wtmp_location"; then | ||
17811 | cat >>confdefs.h <<\_ACEOF | ||
17812 | @%:@define DISABLE_WTMP 1 | ||
17813 | _ACEOF | ||
17814 | |||
17815 | fi | ||
17816 | fi | ||
17817 | fi | ||
17818 | if test -n "$conf_wtmp_location"; then | ||
17819 | cat >>confdefs.h <<_ACEOF | ||
17820 | @%:@define CONF_WTMP_FILE "$conf_wtmp_location" | ||
17821 | _ACEOF | ||
17822 | |||
17823 | fi | ||
17824 | |||
17825 | |||
17826 | echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5 | ||
17827 | echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 | ||
17828 | cat >conftest.$ac_ext <<_ACEOF | ||
17829 | #line $LINENO "configure" | ||
17830 | /* confdefs.h. */ | ||
17831 | _ACEOF | ||
17832 | cat confdefs.h >>conftest.$ac_ext | ||
17833 | cat >>conftest.$ac_ext <<_ACEOF | ||
17834 | /* end confdefs.h. */ | ||
17835 | |||
17836 | #include <sys/types.h> | ||
17837 | #include <utmp.h> | ||
17838 | #ifdef HAVE_UTMPX_H | ||
17839 | #include <utmpx.h> | ||
17840 | #endif | ||
17841 | #ifdef HAVE_PATHS_H | ||
17842 | # include <paths.h> | ||
17843 | #endif | ||
17844 | |||
17845 | int | ||
17846 | main () | ||
17847 | { | ||
17848 | char *utmpx = UTMPX_FILE; | ||
17849 | ; | ||
17850 | return 0; | ||
17851 | } | ||
17852 | _ACEOF | ||
17853 | rm -f conftest.$ac_objext | ||
17854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17855 | (eval $ac_compile) 2>&5 | ||
17856 | ac_status=$? | ||
17857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17858 | (exit $ac_status); } && | ||
17859 | { ac_try='test -s conftest.$ac_objext' | ||
17860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17861 | (eval $ac_try) 2>&5 | ||
17862 | ac_status=$? | ||
17863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17864 | (exit $ac_status); }; }; then | ||
17865 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17866 | echo "${ECHO_T}yes" >&6 | ||
17867 | else | ||
17868 | echo "$as_me: failed program was:" >&5 | ||
17869 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17870 | |||
17871 | echo "$as_me:$LINENO: result: no" >&5 | ||
17872 | echo "${ECHO_T}no" >&6 | ||
17873 | system_utmpx_path=no | ||
17874 | |||
17875 | fi | ||
17876 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17877 | if test -z "$conf_utmpx_location"; then | ||
17878 | if test x"$system_utmpx_path" = x"no" ; then | ||
17879 | cat >>confdefs.h <<\_ACEOF | ||
17880 | @%:@define DISABLE_UTMPX 1 | ||
17881 | _ACEOF | ||
17882 | |||
17883 | fi | ||
17884 | else | ||
17885 | cat >>confdefs.h <<_ACEOF | ||
17886 | @%:@define CONF_UTMPX_FILE "$conf_utmpx_location" | ||
17887 | _ACEOF | ||
17888 | |||
17889 | fi | ||
17890 | |||
17891 | echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 | ||
17892 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 | ||
17893 | cat >conftest.$ac_ext <<_ACEOF | ||
17894 | #line $LINENO "configure" | ||
17895 | /* confdefs.h. */ | ||
17896 | _ACEOF | ||
17897 | cat confdefs.h >>conftest.$ac_ext | ||
17898 | cat >>conftest.$ac_ext <<_ACEOF | ||
17899 | /* end confdefs.h. */ | ||
17900 | |||
17901 | #include <sys/types.h> | ||
17902 | #include <utmp.h> | ||
17903 | #ifdef HAVE_UTMPX_H | ||
17904 | #include <utmpx.h> | ||
17905 | #endif | ||
17906 | #ifdef HAVE_PATHS_H | ||
17907 | # include <paths.h> | ||
17908 | #endif | ||
17909 | |||
17910 | int | ||
17911 | main () | ||
17912 | { | ||
17913 | char *wtmpx = WTMPX_FILE; | ||
17914 | ; | ||
17915 | return 0; | ||
17916 | } | ||
17917 | _ACEOF | ||
17918 | rm -f conftest.$ac_objext | ||
17919 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
17920 | (eval $ac_compile) 2>&5 | ||
17921 | ac_status=$? | ||
17922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17923 | (exit $ac_status); } && | ||
17924 | { ac_try='test -s conftest.$ac_objext' | ||
17925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
17926 | (eval $ac_try) 2>&5 | ||
17927 | ac_status=$? | ||
17928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17929 | (exit $ac_status); }; }; then | ||
17930 | echo "$as_me:$LINENO: result: yes" >&5 | ||
17931 | echo "${ECHO_T}yes" >&6 | ||
17932 | else | ||
17933 | echo "$as_me: failed program was:" >&5 | ||
17934 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17935 | |||
17936 | echo "$as_me:$LINENO: result: no" >&5 | ||
17937 | echo "${ECHO_T}no" >&6 | ||
17938 | system_wtmpx_path=no | ||
17939 | |||
17940 | fi | ||
17941 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
17942 | if test -z "$conf_wtmpx_location"; then | ||
17943 | if test x"$system_wtmpx_path" = x"no" ; then | ||
17944 | cat >>confdefs.h <<\_ACEOF | ||
17945 | @%:@define DISABLE_WTMPX 1 | ||
17946 | _ACEOF | ||
17947 | |||
17948 | fi | ||
17949 | else | ||
17950 | cat >>confdefs.h <<_ACEOF | ||
17951 | @%:@define CONF_WTMPX_FILE "$conf_wtmpx_location" | ||
17952 | _ACEOF | ||
17953 | |||
17954 | fi | ||
17955 | |||
17956 | |||
17957 | if test ! -z "$blibpath" ; then | ||
17958 | LDFLAGS="$LDFLAGS $blibflags$blibpath" | ||
17959 | { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 | ||
17960 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} | ||
17961 | fi | ||
17962 | |||
17963 | if test "$PAM_MSG" = yes ; then | ||
17964 | LIBS=`echo $LIBS | sed 's/-lpam //'` | ||
17965 | fi | ||
17966 | if test "$ac_cv_lib_pam_pam_set_item" = yes ; then | ||
17967 | LIBS=`echo $LIBS | sed 's/-ldl //'` | ||
17968 | fi | ||
17969 | |||
17970 | |||
17971 | ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds" | ||
17972 | |||
17973 | cat >confcache <<\_ACEOF | ||
17974 | # This file is a shell script that caches the results of configure | ||
17975 | # tests run on this system so they can be shared between configure | ||
17976 | # scripts and configure runs, see configure's option --config-cache. | ||
17977 | # It is not useful on other systems. If it contains results you don't | ||
17978 | # want to keep, you may remove or edit it. | ||
17979 | # | ||
17980 | # config.status only pays attention to the cache file if you give it | ||
17981 | # the --recheck option to rerun configure. | ||
17982 | # | ||
17983 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | ||
17984 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | ||
17985 | # following values. | ||
17986 | |||
17987 | _ACEOF | ||
17988 | |||
17989 | # The following way of writing the cache mishandles newlines in values, | ||
17990 | # but we know of no workaround that is simple, portable, and efficient. | ||
17991 | # So, don't put newlines in cache variables' values. | ||
17992 | # Ultrix sh set writes to stderr and can't be redirected directly, | ||
17993 | # and sets the high bit in the cache file unless we assign to the vars. | ||
17994 | { | ||
17995 | (set) 2>&1 | | ||
17996 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | ||
17997 | *ac_space=\ *) | ||
17998 | # `set' does not quote correctly, so add quotes (double-quote | ||
17999 | # substitution turns \\\\ into \\, and sed turns \\ into \). | ||
18000 | sed -n \ | ||
18001 | "s/'/'\\\\''/g; | ||
18002 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | ||
18003 | ;; | ||
18004 | *) | ||
18005 | # `set' quotes correctly as required by POSIX, so do not add quotes. | ||
18006 | sed -n \ | ||
18007 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
18008 | ;; | ||
18009 | esac; | ||
18010 | } | | ||
18011 | sed ' | ||
18012 | t clear | ||
18013 | : clear | ||
18014 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | ||
18015 | t end | ||
18016 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | ||
18017 | : end' >>confcache | ||
18018 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | ||
18019 | if test -w $cache_file; then | ||
18020 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | ||
18021 | cat confcache >$cache_file | ||
18022 | else | ||
18023 | echo "not updating unwritable cache $cache_file" | ||
18024 | fi | ||
18025 | fi | ||
18026 | rm -f confcache | ||
18027 | |||
18028 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
18029 | # Let make expand exec_prefix. | ||
18030 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
18031 | |||
18032 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
18033 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
18034 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
18035 | # (actually we leave an empty line to preserve line numbers). | ||
18036 | if test "x$srcdir" = x.; then | ||
18037 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
18038 | s/:*\$(srcdir):*/:/; | ||
18039 | s/:*\${srcdir}:*/:/; | ||
18040 | s/:*@srcdir@:*/:/; | ||
18041 | s/^\([^=]*=[ ]*\):*/\1/; | ||
18042 | s/:*$//; | ||
18043 | s/^[^=]*=[ ]*$//; | ||
18044 | }' | ||
18045 | fi | ||
18046 | |||
18047 | DEFS=-DHAVE_CONFIG_H | ||
18048 | |||
18049 | ac_libobjs= | ||
18050 | ac_ltlibobjs= | ||
18051 | for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue | ||
18052 | # 1. Remove the extension, and $U if already installed. | ||
18053 | ac_i=`echo "$ac_i" | | ||
18054 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | ||
18055 | # 2. Add them. | ||
18056 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | ||
18057 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | ||
18058 | done | ||
18059 | LIB@&t@OBJS=$ac_libobjs | ||
18060 | |||
18061 | LTLIBOBJS=$ac_ltlibobjs | ||
18062 | |||
18063 | |||
18064 | |||
18065 | : ${CONFIG_STATUS=./config.status} | ||
18066 | ac_clean_files_save=$ac_clean_files | ||
18067 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | ||
18068 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | ||
18069 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | ||
18070 | cat >$CONFIG_STATUS <<_ACEOF | ||
18071 | #! $SHELL | ||
18072 | # Generated by $as_me. | ||
18073 | # Run this file to recreate the current configuration. | ||
18074 | # Compiler output produced by configure, useful for debugging | ||
18075 | # configure, is in config.log if it exists. | ||
18076 | |||
18077 | debug=false | ||
18078 | ac_cs_recheck=false | ||
18079 | ac_cs_silent=false | ||
18080 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
18081 | _ACEOF | ||
18082 | |||
18083 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18084 | ## --------------------- ## | ||
18085 | ## M4sh Initialization. ## | ||
18086 | ## --------------------- ## | ||
18087 | |||
18088 | # Be Bourne compatible | ||
18089 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
18090 | emulate sh | ||
18091 | NULLCMD=: | ||
18092 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
18093 | # is contrary to our usage. Disable this feature. | ||
18094 | alias -g '${1+"$@"}'='"$@"' | ||
18095 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
18096 | set -o posix | ||
18097 | fi | ||
18098 | |||
18099 | # Support unset when possible. | ||
18100 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | ||
18101 | as_unset=unset | ||
18102 | else | ||
18103 | as_unset=false | ||
18104 | fi | ||
18105 | |||
18106 | |||
18107 | # Work around bugs in pre-3.0 UWIN ksh. | ||
18108 | $as_unset ENV MAIL MAILPATH | ||
18109 | PS1='$ ' | ||
18110 | PS2='> ' | ||
18111 | PS4='+ ' | ||
18112 | |||
18113 | # NLS nuisances. | ||
18114 | for as_var in \ | ||
18115 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | ||
18116 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | ||
18117 | LC_TELEPHONE LC_TIME | ||
18118 | do | ||
18119 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
18120 | eval $as_var=C; export $as_var | ||
18121 | else | ||
18122 | $as_unset $as_var | ||
18123 | fi | ||
18124 | done | ||
18125 | |||
18126 | # Required to use basename. | ||
18127 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
18128 | as_expr=expr | ||
18129 | else | ||
18130 | as_expr=false | ||
18131 | fi | ||
18132 | |||
18133 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | ||
18134 | as_basename=basename | ||
18135 | else | ||
18136 | as_basename=false | ||
18137 | fi | ||
18138 | |||
18139 | |||
18140 | # Name of the executable. | ||
18141 | as_me=`$as_basename "$0" || | ||
18142 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
18143 | X"$0" : 'X\(//\)$' \| \ | ||
18144 | X"$0" : 'X\(/\)$' \| \ | ||
18145 | . : '\(.\)' 2>/dev/null || | ||
18146 | echo X/"$0" | | ||
18147 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | ||
18148 | /^X\/\(\/\/\)$/{ s//\1/; q; } | ||
18149 | /^X\/\(\/\).*/{ s//\1/; q; } | ||
18150 | s/.*/./; q'` | ||
18151 | |||
18152 | |||
18153 | # PATH needs CR, and LINENO needs CR and PATH. | ||
18154 | # Avoid depending upon Character Ranges. | ||
18155 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
18156 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
18157 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
18158 | as_cr_digits='0123456789' | ||
18159 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
18160 | |||
18161 | # The user is always right. | ||
18162 | if test "${PATH_SEPARATOR+set}" != set; then | ||
18163 | echo "#! /bin/sh" >conf$$.sh | ||
18164 | echo "exit 0" >>conf$$.sh | ||
18165 | chmod +x conf$$.sh | ||
18166 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
18167 | PATH_SEPARATOR=';' | ||
18168 | else | ||
18169 | PATH_SEPARATOR=: | ||
18170 | fi | ||
18171 | rm -f conf$$.sh | ||
18172 | fi | ||
18173 | |||
18174 | |||
18175 | as_lineno_1=$LINENO | ||
18176 | as_lineno_2=$LINENO | ||
18177 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
18178 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
18179 | test "x$as_lineno_3" = "x$as_lineno_2" || { | ||
18180 | # Find who we are. Look in the path if we contain no path at all | ||
18181 | # relative or not. | ||
18182 | case $0 in | ||
18183 | *[\\/]* ) as_myself=$0 ;; | ||
18184 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
18185 | for as_dir in $PATH | ||
18186 | do | ||
18187 | IFS=$as_save_IFS | ||
18188 | test -z "$as_dir" && as_dir=. | ||
18189 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
18190 | done | ||
18191 | |||
18192 | ;; | ||
18193 | esac | ||
18194 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
18195 | # in which case we are not to be found in the path. | ||
18196 | if test "x$as_myself" = x; then | ||
18197 | as_myself=$0 | ||
18198 | fi | ||
18199 | if test ! -f "$as_myself"; then | ||
18200 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | ||
18201 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | ||
18202 | { (exit 1); exit 1; }; } | ||
18203 | fi | ||
18204 | case $CONFIG_SHELL in | ||
18205 | '') | ||
18206 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
18207 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
18208 | do | ||
18209 | IFS=$as_save_IFS | ||
18210 | test -z "$as_dir" && as_dir=. | ||
18211 | for as_base in sh bash ksh sh5; do | ||
18212 | case $as_dir in | ||
18213 | /*) | ||
18214 | if ("$as_dir/$as_base" -c ' | ||
18215 | as_lineno_1=$LINENO | ||
18216 | as_lineno_2=$LINENO | ||
18217 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
18218 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
18219 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
18220 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
18221 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
18222 | CONFIG_SHELL=$as_dir/$as_base | ||
18223 | export CONFIG_SHELL | ||
18224 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
18225 | fi;; | ||
18226 | esac | ||
18227 | done | ||
18228 | done | ||
18229 | ;; | ||
18230 | esac | ||
18231 | |||
18232 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
18233 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
18234 | # line-number line before each line; the second 'sed' does the real | ||
18235 | # work. The second script uses 'N' to pair each line-number line | ||
18236 | # with the numbered line, and appends trailing '-' during | ||
18237 | # substitution so that $LINENO is not a special case at line end. | ||
18238 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
18239 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | ||
18240 | sed '=' <$as_myself | | ||
18241 | sed ' | ||
18242 | N | ||
18243 | s,$,-, | ||
18244 | : loop | ||
18245 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
18246 | t loop | ||
18247 | s,-$,, | ||
18248 | s,^['$as_cr_digits']*\n,, | ||
18249 | ' >$as_me.lineno && | ||
18250 | chmod +x $as_me.lineno || | ||
18251 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | ||
18252 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | ||
18253 | { (exit 1); exit 1; }; } | ||
18254 | |||
18255 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
18256 | # (the dirname of $[0] is not the place where we might find the | ||
18257 | # original and so on. Autoconf is especially sensible to this). | ||
18258 | . ./$as_me.lineno | ||
18259 | # Exit status is that of the last command. | ||
18260 | exit | ||
18261 | } | ||
18262 | |||
18263 | |||
18264 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
18265 | *c*,-n*) ECHO_N= ECHO_C=' | ||
18266 | ' ECHO_T=' ' ;; | ||
18267 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
18268 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
18269 | esac | ||
18270 | |||
18271 | if expr a : '\(a\)' >/dev/null 2>&1; then | ||
18272 | as_expr=expr | ||
18273 | else | ||
18274 | as_expr=false | ||
18275 | fi | ||
18276 | |||
18277 | rm -f conf$$ conf$$.exe conf$$.file | ||
18278 | echo >conf$$.file | ||
18279 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
18280 | # We could just check for DJGPP; but this test a) works b) is more generic | ||
18281 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | ||
18282 | if test -f conf$$.exe; then | ||
18283 | # Don't use ln at all; we don't have any links | ||
18284 | as_ln_s='cp -p' | ||
18285 | else | ||
18286 | as_ln_s='ln -s' | ||
18287 | fi | ||
18288 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
18289 | as_ln_s=ln | ||
18290 | else | ||
18291 | as_ln_s='cp -p' | ||
18292 | fi | ||
18293 | rm -f conf$$ conf$$.exe conf$$.file | ||
18294 | |||
18295 | if mkdir -p . 2>/dev/null; then | ||
18296 | as_mkdir_p=: | ||
18297 | else | ||
18298 | as_mkdir_p=false | ||
18299 | fi | ||
18300 | |||
18301 | as_executable_p="test -f" | ||
18302 | |||
18303 | # Sed expression to map a string onto a valid CPP name. | ||
18304 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | ||
18305 | |||
18306 | # Sed expression to map a string onto a valid variable name. | ||
18307 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | ||
18308 | |||
18309 | |||
18310 | # IFS | ||
18311 | # We need space, tab and new line, in precisely that order. | ||
18312 | as_nl=' | ||
18313 | ' | ||
18314 | IFS=" $as_nl" | ||
18315 | |||
18316 | # CDPATH. | ||
18317 | $as_unset CDPATH | ||
18318 | |||
18319 | exec 6>&1 | ||
18320 | |||
18321 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | ||
18322 | # report actual input values of CONFIG_FILES etc. instead of their | ||
18323 | # values after options handling. Logging --version etc. is OK. | ||
18324 | exec 5>>config.log | ||
18325 | { | ||
18326 | echo | ||
18327 | sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX | ||
18328 | @%:@@%:@ Running $as_me. @%:@@%:@ | ||
18329 | _ASBOX | ||
18330 | } >&5 | ||
18331 | cat >&5 <<_CSEOF | ||
18332 | |||
18333 | This file was extended by $as_me, which was | ||
18334 | generated by GNU Autoconf 2.57. Invocation command line was | ||
18335 | |||
18336 | CONFIG_FILES = $CONFIG_FILES | ||
18337 | CONFIG_HEADERS = $CONFIG_HEADERS | ||
18338 | CONFIG_LINKS = $CONFIG_LINKS | ||
18339 | CONFIG_COMMANDS = $CONFIG_COMMANDS | ||
18340 | $ $0 $@ | ||
18341 | |||
18342 | _CSEOF | ||
18343 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | ||
18344 | echo >&5 | ||
18345 | _ACEOF | ||
18346 | |||
18347 | # Files that config.status was made for. | ||
18348 | if test -n "$ac_config_files"; then | ||
18349 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | ||
18350 | fi | ||
18351 | |||
18352 | if test -n "$ac_config_headers"; then | ||
18353 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | ||
18354 | fi | ||
18355 | |||
18356 | if test -n "$ac_config_links"; then | ||
18357 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | ||
18358 | fi | ||
18359 | |||
18360 | if test -n "$ac_config_commands"; then | ||
18361 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | ||
18362 | fi | ||
18363 | |||
18364 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18365 | |||
18366 | ac_cs_usage="\ | ||
18367 | \`$as_me' instantiates files from templates according to the | ||
18368 | current configuration. | ||
18369 | |||
18370 | Usage: $0 [OPTIONS] [FILE]... | ||
18371 | |||
18372 | -h, --help print this help, then exit | ||
18373 | -V, --version print version number, then exit | ||
18374 | -q, --quiet do not print progress messages | ||
18375 | -d, --debug don't remove temporary files | ||
18376 | --recheck update $as_me by reconfiguring in the same conditions | ||
18377 | --file=FILE[:TEMPLATE] | ||
18378 | instantiate the configuration file FILE | ||
18379 | --header=FILE[:TEMPLATE] | ||
18380 | instantiate the configuration header FILE | ||
18381 | |||
18382 | Configuration files: | ||
18383 | $config_files | ||
18384 | |||
18385 | Configuration headers: | ||
18386 | $config_headers | ||
18387 | |||
18388 | Report bugs to <bug-autoconf@gnu.org>." | ||
18389 | _ACEOF | ||
18390 | |||
18391 | cat >>$CONFIG_STATUS <<_ACEOF | ||
18392 | ac_cs_version="\\ | ||
18393 | config.status | ||
18394 | configured by $0, generated by GNU Autoconf 2.57, | ||
18395 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | ||
18396 | |||
18397 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | ||
18398 | Free Software Foundation, Inc. | ||
18399 | This config.status script is free software; the Free Software Foundation | ||
18400 | gives unlimited permission to copy, distribute and modify it." | ||
18401 | srcdir=$srcdir | ||
18402 | INSTALL="$INSTALL" | ||
18403 | _ACEOF | ||
18404 | |||
18405 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18406 | # If no file are specified by the user, then we need to provide default | ||
18407 | # value. By we need to know if files were specified by the user. | ||
18408 | ac_need_defaults=: | ||
18409 | while test $# != 0 | ||
18410 | do | ||
18411 | case $1 in | ||
18412 | --*=*) | ||
18413 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | ||
18414 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | ||
18415 | ac_shift=: | ||
18416 | ;; | ||
18417 | -*) | ||
18418 | ac_option=$1 | ||
18419 | ac_optarg=$2 | ||
18420 | ac_shift=shift | ||
18421 | ;; | ||
18422 | *) # This is not an option, so the user has probably given explicit | ||
18423 | # arguments. | ||
18424 | ac_option=$1 | ||
18425 | ac_need_defaults=false;; | ||
18426 | esac | ||
18427 | |||
18428 | case $ac_option in | ||
18429 | # Handling of the options. | ||
18430 | _ACEOF | ||
18431 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18432 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | ||
18433 | ac_cs_recheck=: ;; | ||
18434 | --version | --vers* | -V ) | ||
18435 | echo "$ac_cs_version"; exit 0 ;; | ||
18436 | --he | --h) | ||
18437 | # Conflict between --help and --header | ||
18438 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 | ||
18439 | Try \`$0 --help' for more information." >&5 | ||
18440 | echo "$as_me: error: ambiguous option: $1 | ||
18441 | Try \`$0 --help' for more information." >&2;} | ||
18442 | { (exit 1); exit 1; }; };; | ||
18443 | --help | --hel | -h ) | ||
18444 | echo "$ac_cs_usage"; exit 0 ;; | ||
18445 | --debug | --d* | -d ) | ||
18446 | debug=: ;; | ||
18447 | --file | --fil | --fi | --f ) | ||
18448 | $ac_shift | ||
18449 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | ||
18450 | ac_need_defaults=false;; | ||
18451 | --header | --heade | --head | --hea ) | ||
18452 | $ac_shift | ||
18453 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | ||
18454 | ac_need_defaults=false;; | ||
18455 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
18456 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | ||
18457 | ac_cs_silent=: ;; | ||
18458 | |||
18459 | # This is an error. | ||
18460 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | ||
18461 | Try \`$0 --help' for more information." >&5 | ||
18462 | echo "$as_me: error: unrecognized option: $1 | ||
18463 | Try \`$0 --help' for more information." >&2;} | ||
18464 | { (exit 1); exit 1; }; } ;; | ||
18465 | |||
18466 | *) ac_config_targets="$ac_config_targets $1" ;; | ||
18467 | |||
18468 | esac | ||
18469 | shift | ||
18470 | done | ||
18471 | |||
18472 | ac_configure_extra_args= | ||
18473 | |||
18474 | if $ac_cs_silent; then | ||
18475 | exec 6>/dev/null | ||
18476 | ac_configure_extra_args="$ac_configure_extra_args --silent" | ||
18477 | fi | ||
18478 | |||
18479 | _ACEOF | ||
18480 | cat >>$CONFIG_STATUS <<_ACEOF | ||
18481 | if \$ac_cs_recheck; then | ||
18482 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | ||
18483 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
18484 | fi | ||
18485 | |||
18486 | _ACEOF | ||
18487 | |||
18488 | |||
18489 | |||
18490 | |||
18491 | |||
18492 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18493 | for ac_config_target in $ac_config_targets | ||
18494 | do | ||
18495 | case "$ac_config_target" in | ||
18496 | # Handling of arguments. | ||
18497 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | ||
18498 | "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;; | ||
18499 | "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; | ||
18500 | "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; | ||
18501 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | ||
18502 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | ||
18503 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
18504 | { (exit 1); exit 1; }; };; | ||
18505 | esac | ||
18506 | done | ||
18507 | |||
18508 | # If the user did not use the arguments to specify the items to instantiate, | ||
18509 | # then the envvar interface is used. Set only those that are not. | ||
18510 | # We use the long form for the default assignment because of an extremely | ||
18511 | # bizarre bug on SunOS 4.1.3. | ||
18512 | if $ac_need_defaults; then | ||
18513 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | ||
18514 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | ||
18515 | fi | ||
18516 | |||
18517 | # Have a temporary directory for convenience. Make it in the build tree | ||
18518 | # simply because there is no reason to put it here, and in addition, | ||
18519 | # creating and moving files from /tmp can sometimes cause problems. | ||
18520 | # Create a temporary directory, and hook for its removal unless debugging. | ||
18521 | $debug || | ||
18522 | { | ||
18523 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | ||
18524 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | ||
18525 | } | ||
18526 | |||
18527 | # Create a (secure) tmp directory for tmp files. | ||
18528 | |||
18529 | { | ||
18530 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | ||
18531 | test -n "$tmp" && test -d "$tmp" | ||
18532 | } || | ||
18533 | { | ||
18534 | tmp=./confstat$$-$RANDOM | ||
18535 | (umask 077 && mkdir $tmp) | ||
18536 | } || | ||
18537 | { | ||
18538 | echo "$me: cannot create a temporary directory in ." >&2 | ||
18539 | { (exit 1); exit 1; } | ||
18540 | } | ||
18541 | |||
18542 | _ACEOF | ||
18543 | |||
18544 | cat >>$CONFIG_STATUS <<_ACEOF | ||
18545 | |||
18546 | # | ||
18547 | # CONFIG_FILES section. | ||
18548 | # | ||
18549 | |||
18550 | # No need to generate the scripts if there are no CONFIG_FILES. | ||
18551 | # This happens for instance when ./config.status config.h | ||
18552 | if test -n "\$CONFIG_FILES"; then | ||
18553 | # Protect against being on the right side of a sed subst in config.status. | ||
18554 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | ||
18555 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | ||
18556 | s,@SHELL@,$SHELL,;t t | ||
18557 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | ||
18558 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | ||
18559 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | ||
18560 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | ||
18561 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | ||
18562 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | ||
18563 | s,@exec_prefix@,$exec_prefix,;t t | ||
18564 | s,@prefix@,$prefix,;t t | ||
18565 | s,@program_transform_name@,$program_transform_name,;t t | ||
18566 | s,@bindir@,$bindir,;t t | ||
18567 | s,@sbindir@,$sbindir,;t t | ||
18568 | s,@libexecdir@,$libexecdir,;t t | ||
18569 | s,@datadir@,$datadir,;t t | ||
18570 | s,@sysconfdir@,$sysconfdir,;t t | ||
18571 | s,@sharedstatedir@,$sharedstatedir,;t t | ||
18572 | s,@localstatedir@,$localstatedir,;t t | ||
18573 | s,@libdir@,$libdir,;t t | ||
18574 | s,@includedir@,$includedir,;t t | ||
18575 | s,@oldincludedir@,$oldincludedir,;t t | ||
18576 | s,@infodir@,$infodir,;t t | ||
18577 | s,@mandir@,$mandir,;t t | ||
18578 | s,@build_alias@,$build_alias,;t t | ||
18579 | s,@host_alias@,$host_alias,;t t | ||
18580 | s,@target_alias@,$target_alias,;t t | ||
18581 | s,@DEFS@,$DEFS,;t t | ||
18582 | s,@ECHO_C@,$ECHO_C,;t t | ||
18583 | s,@ECHO_N@,$ECHO_N,;t t | ||
18584 | s,@ECHO_T@,$ECHO_T,;t t | ||
18585 | s,@LIBS@,$LIBS,;t t | ||
18586 | s,@CC@,$CC,;t t | ||
18587 | s,@CFLAGS@,$CFLAGS,;t t | ||
18588 | s,@LDFLAGS@,$LDFLAGS,;t t | ||
18589 | s,@CPPFLAGS@,$CPPFLAGS,;t t | ||
18590 | s,@ac_ct_CC@,$ac_ct_CC,;t t | ||
18591 | s,@EXEEXT@,$EXEEXT,;t t | ||
18592 | s,@OBJEXT@,$OBJEXT,;t t | ||
18593 | s,@build@,$build,;t t | ||
18594 | s,@build_cpu@,$build_cpu,;t t | ||
18595 | s,@build_vendor@,$build_vendor,;t t | ||
18596 | s,@build_os@,$build_os,;t t | ||
18597 | s,@host@,$host,;t t | ||
18598 | s,@host_cpu@,$host_cpu,;t t | ||
18599 | s,@host_vendor@,$host_vendor,;t t | ||
18600 | s,@host_os@,$host_os,;t t | ||
18601 | s,@CPP@,$CPP,;t t | ||
18602 | s,@RANLIB@,$RANLIB,;t t | ||
18603 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | ||
18604 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | ||
18605 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | ||
18606 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | ||
18607 | s,@AR@,$AR,;t t | ||
18608 | s,@PERL@,$PERL,;t t | ||
18609 | s,@SED@,$SED,;t t | ||
18610 | s,@ENT@,$ENT,;t t | ||
18611 | s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t | ||
18612 | s,@SH@,$SH,;t t | ||
18613 | s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t | ||
18614 | s,@LD@,$LD,;t t | ||
18615 | s,@EGREP@,$EGREP,;t t | ||
18616 | s,@LIBWRAP@,$LIBWRAP,;t t | ||
18617 | s,@LIBPAM@,$LIBPAM,;t t | ||
18618 | s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t | ||
18619 | s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t | ||
18620 | s,@PROG_LS@,$PROG_LS,;t t | ||
18621 | s,@PROG_NETSTAT@,$PROG_NETSTAT,;t t | ||
18622 | s,@PROG_ARP@,$PROG_ARP,;t t | ||
18623 | s,@PROG_IFCONFIG@,$PROG_IFCONFIG,;t t | ||
18624 | s,@PROG_JSTAT@,$PROG_JSTAT,;t t | ||
18625 | s,@PROG_PS@,$PROG_PS,;t t | ||
18626 | s,@PROG_SAR@,$PROG_SAR,;t t | ||
18627 | s,@PROG_W@,$PROG_W,;t t | ||
18628 | s,@PROG_WHO@,$PROG_WHO,;t t | ||
18629 | s,@PROG_LAST@,$PROG_LAST,;t t | ||
18630 | s,@PROG_LASTLOG@,$PROG_LASTLOG,;t t | ||
18631 | s,@PROG_DF@,$PROG_DF,;t t | ||
18632 | s,@PROG_VMSTAT@,$PROG_VMSTAT,;t t | ||
18633 | s,@PROG_UPTIME@,$PROG_UPTIME,;t t | ||
18634 | s,@PROG_IPCS@,$PROG_IPCS,;t t | ||
18635 | s,@PROG_TAIL@,$PROG_TAIL,;t t | ||
18636 | s,@INSTALL_SSH_PRNG_CMDS@,$INSTALL_SSH_PRNG_CMDS,;t t | ||
18637 | s,@OPENSC_CONFIG@,$OPENSC_CONFIG,;t t | ||
18638 | s,@PRIVSEP_PATH@,$PRIVSEP_PATH,;t t | ||
18639 | s,@xauth_path@,$xauth_path,;t t | ||
18640 | s,@STRIP_OPT@,$STRIP_OPT,;t t | ||
18641 | s,@XAUTH_PATH@,$XAUTH_PATH,;t t | ||
18642 | s,@NROFF@,$NROFF,;t t | ||
18643 | s,@MANTYPE@,$MANTYPE,;t t | ||
18644 | s,@mansubdir@,$mansubdir,;t t | ||
18645 | s,@user_path@,$user_path,;t t | ||
18646 | s,@piddir@,$piddir,;t t | ||
18647 | s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t | ||
18648 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | ||
18649 | CEOF | ||
18650 | |||
18651 | _ACEOF | ||
18652 | |||
18653 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18654 | # Split the substitutions into bite-sized pieces for seds with | ||
18655 | # small command number limits, like on Digital OSF/1 and HP-UX. | ||
18656 | ac_max_sed_lines=48 | ||
18657 | ac_sed_frag=1 # Number of current file. | ||
18658 | ac_beg=1 # First line for current file. | ||
18659 | ac_end=$ac_max_sed_lines # Line after last line for current file. | ||
18660 | ac_more_lines=: | ||
18661 | ac_sed_cmds= | ||
18662 | while $ac_more_lines; do | ||
18663 | if test $ac_beg -gt 1; then | ||
18664 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
18665 | else | ||
18666 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
18667 | fi | ||
18668 | if test ! -s $tmp/subs.frag; then | ||
18669 | ac_more_lines=false | ||
18670 | else | ||
18671 | # The purpose of the label and of the branching condition is to | ||
18672 | # speed up the sed processing (if there are no `@' at all, there | ||
18673 | # is no need to browse any of the substitutions). | ||
18674 | # These are the two extra sed commands mentioned above. | ||
18675 | (echo ':t | ||
18676 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | ||
18677 | if test -z "$ac_sed_cmds"; then | ||
18678 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ||
18679 | else | ||
18680 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ||
18681 | fi | ||
18682 | ac_sed_frag=`expr $ac_sed_frag + 1` | ||
18683 | ac_beg=$ac_end | ||
18684 | ac_end=`expr $ac_end + $ac_max_sed_lines` | ||
18685 | fi | ||
18686 | done | ||
18687 | if test -z "$ac_sed_cmds"; then | ||
18688 | ac_sed_cmds=cat | ||
18689 | fi | ||
18690 | fi # test -n "$CONFIG_FILES" | ||
18691 | |||
18692 | _ACEOF | ||
18693 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18694 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | ||
18695 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
18696 | case $ac_file in | ||
18697 | - | *:- | *:-:* ) # input from stdin | ||
18698 | cat >$tmp/stdin | ||
18699 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
18700 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
18701 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
18702 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
18703 | * ) ac_file_in=$ac_file.in ;; | ||
18704 | esac | ||
18705 | |||
18706 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | ||
18707 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
18708 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
18709 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
18710 | X"$ac_file" : 'X\(//\)$' \| \ | ||
18711 | X"$ac_file" : 'X\(/\)' \| \ | ||
18712 | . : '\(.\)' 2>/dev/null || | ||
18713 | echo X"$ac_file" | | ||
18714 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
18715 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
18716 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
18717 | /^X\(\/\).*/{ s//\1/; q; } | ||
18718 | s/.*/./; q'` | ||
18719 | { if $as_mkdir_p; then | ||
18720 | mkdir -p "$ac_dir" | ||
18721 | else | ||
18722 | as_dir="$ac_dir" | ||
18723 | as_dirs= | ||
18724 | while test ! -d "$as_dir"; do | ||
18725 | as_dirs="$as_dir $as_dirs" | ||
18726 | as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
18727 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
18728 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
18729 | X"$as_dir" : 'X\(//\)$' \| \ | ||
18730 | X"$as_dir" : 'X\(/\)' \| \ | ||
18731 | . : '\(.\)' 2>/dev/null || | ||
18732 | echo X"$as_dir" | | ||
18733 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
18734 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
18735 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
18736 | /^X\(\/\).*/{ s//\1/; q; } | ||
18737 | s/.*/./; q'` | ||
18738 | done | ||
18739 | test ! -n "$as_dirs" || mkdir $as_dirs | ||
18740 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
18741 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
18742 | { (exit 1); exit 1; }; }; } | ||
18743 | |||
18744 | ac_builddir=. | ||
18745 | |||
18746 | if test "$ac_dir" != .; then | ||
18747 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
18748 | # A "../" for each directory in $ac_dir_suffix. | ||
18749 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
18750 | else | ||
18751 | ac_dir_suffix= ac_top_builddir= | ||
18752 | fi | ||
18753 | |||
18754 | case $srcdir in | ||
18755 | .) # No --srcdir option. We are building in place. | ||
18756 | ac_srcdir=. | ||
18757 | if test -z "$ac_top_builddir"; then | ||
18758 | ac_top_srcdir=. | ||
18759 | else | ||
18760 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
18761 | fi ;; | ||
18762 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
18763 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
18764 | ac_top_srcdir=$srcdir ;; | ||
18765 | *) # Relative path. | ||
18766 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
18767 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
18768 | esac | ||
18769 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | ||
18770 | # absolute. | ||
18771 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | ||
18772 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | ||
18773 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | ||
18774 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | ||
18775 | |||
18776 | |||
18777 | case $INSTALL in | ||
18778 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | ||
18779 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | ||
18780 | esac | ||
18781 | |||
18782 | if test x"$ac_file" != x-; then | ||
18783 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
18784 | echo "$as_me: creating $ac_file" >&6;} | ||
18785 | rm -f "$ac_file" | ||
18786 | fi | ||
18787 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
18788 | # use $as_me), people would be surprised to read: | ||
18789 | # /* config.h. Generated by config.status. */ | ||
18790 | if test x"$ac_file" = x-; then | ||
18791 | configure_input= | ||
18792 | else | ||
18793 | configure_input="$ac_file. " | ||
18794 | fi | ||
18795 | configure_input=$configure_input"Generated from `echo $ac_file_in | | ||
18796 | sed 's,.*/,,'` by configure." | ||
18797 | |||
18798 | # First look for the input files in the build tree, otherwise in the | ||
18799 | # src tree. | ||
18800 | ac_file_inputs=`IFS=: | ||
18801 | for f in $ac_file_in; do | ||
18802 | case $f in | ||
18803 | -) echo $tmp/stdin ;; | ||
18804 | [\\/$]*) | ||
18805 | # Absolute (can't be DOS-style, as IFS=:) | ||
18806 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
18807 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
18808 | { (exit 1); exit 1; }; } | ||
18809 | echo $f;; | ||
18810 | *) # Relative | ||
18811 | if test -f "$f"; then | ||
18812 | # Build tree | ||
18813 | echo $f | ||
18814 | elif test -f "$srcdir/$f"; then | ||
18815 | # Source tree | ||
18816 | echo $srcdir/$f | ||
18817 | else | ||
18818 | # /dev/null tree | ||
18819 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
18820 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
18821 | { (exit 1); exit 1; }; } | ||
18822 | fi;; | ||
18823 | esac | ||
18824 | done` || { (exit 1); exit 1; } | ||
18825 | _ACEOF | ||
18826 | cat >>$CONFIG_STATUS <<_ACEOF | ||
18827 | sed "$ac_vpsub | ||
18828 | $extrasub | ||
18829 | _ACEOF | ||
18830 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18831 | :t | ||
18832 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
18833 | s,@configure_input@,$configure_input,;t t | ||
18834 | s,@srcdir@,$ac_srcdir,;t t | ||
18835 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | ||
18836 | s,@top_srcdir@,$ac_top_srcdir,;t t | ||
18837 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | ||
18838 | s,@builddir@,$ac_builddir,;t t | ||
18839 | s,@abs_builddir@,$ac_abs_builddir,;t t | ||
18840 | s,@top_builddir@,$ac_top_builddir,;t t | ||
18841 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | ||
18842 | s,@INSTALL@,$ac_INSTALL,;t t | ||
18843 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | ||
18844 | rm -f $tmp/stdin | ||
18845 | if test x"$ac_file" != x-; then | ||
18846 | mv $tmp/out $ac_file | ||
18847 | else | ||
18848 | cat $tmp/out | ||
18849 | rm -f $tmp/out | ||
18850 | fi | ||
18851 | |||
18852 | done | ||
18853 | _ACEOF | ||
18854 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18855 | |||
18856 | # | ||
18857 | # CONFIG_HEADER section. | ||
18858 | # | ||
18859 | |||
18860 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | ||
18861 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | ||
18862 | # | ||
18863 | # ac_d sets the value in "#define NAME VALUE" lines. | ||
18864 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | ||
18865 | ac_dB='[ ].*$,\1#\2' | ||
18866 | ac_dC=' ' | ||
18867 | ac_dD=',;t' | ||
18868 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | ||
18869 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | ||
18870 | ac_uB='$,\1#\2define\3' | ||
18871 | ac_uC=' ' | ||
18872 | ac_uD=',;t' | ||
18873 | |||
18874 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | ||
18875 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
18876 | case $ac_file in | ||
18877 | - | *:- | *:-:* ) # input from stdin | ||
18878 | cat >$tmp/stdin | ||
18879 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
18880 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
18881 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
18882 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
18883 | * ) ac_file_in=$ac_file.in ;; | ||
18884 | esac | ||
18885 | |||
18886 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
18887 | echo "$as_me: creating $ac_file" >&6;} | ||
18888 | |||
18889 | # First look for the input files in the build tree, otherwise in the | ||
18890 | # src tree. | ||
18891 | ac_file_inputs=`IFS=: | ||
18892 | for f in $ac_file_in; do | ||
18893 | case $f in | ||
18894 | -) echo $tmp/stdin ;; | ||
18895 | [\\/$]*) | ||
18896 | # Absolute (can't be DOS-style, as IFS=:) | ||
18897 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
18898 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
18899 | { (exit 1); exit 1; }; } | ||
18900 | echo $f;; | ||
18901 | *) # Relative | ||
18902 | if test -f "$f"; then | ||
18903 | # Build tree | ||
18904 | echo $f | ||
18905 | elif test -f "$srcdir/$f"; then | ||
18906 | # Source tree | ||
18907 | echo $srcdir/$f | ||
18908 | else | ||
18909 | # /dev/null tree | ||
18910 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
18911 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
18912 | { (exit 1); exit 1; }; } | ||
18913 | fi;; | ||
18914 | esac | ||
18915 | done` || { (exit 1); exit 1; } | ||
18916 | # Remove the trailing spaces. | ||
18917 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | ||
18918 | |||
18919 | _ACEOF | ||
18920 | |||
18921 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | ||
18922 | # `conftest.undefs', that substitutes the proper values into | ||
18923 | # config.h.in to produce config.h. The first handles `#define' | ||
18924 | # templates, and the second `#undef' templates. | ||
18925 | # And first: Protect against being on the right side of a sed subst in | ||
18926 | # config.status. Protect against being in an unquoted here document | ||
18927 | # in config.status. | ||
18928 | rm -f conftest.defines conftest.undefs | ||
18929 | # Using a here document instead of a string reduces the quoting nightmare. | ||
18930 | # Putting comments in sed scripts is not portable. | ||
18931 | # | ||
18932 | # `end' is used to avoid that the second main sed command (meant for | ||
18933 | # 0-ary CPP macros) applies to n-ary macro definitions. | ||
18934 | # See the Autoconf documentation for `clear'. | ||
18935 | cat >confdef2sed.sed <<\_ACEOF | ||
18936 | s/[\\&,]/\\&/g | ||
18937 | s,[\\$`],\\&,g | ||
18938 | t clear | ||
18939 | : clear | ||
18940 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | ||
18941 | t end | ||
18942 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | ||
18943 | : end | ||
18944 | _ACEOF | ||
18945 | # If some macros were called several times there might be several times | ||
18946 | # the same #defines, which is useless. Nevertheless, we may not want to | ||
18947 | # sort them, since we want the *last* AC-DEFINE to be honored. | ||
18948 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | ||
18949 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | ||
18950 | rm -f confdef2sed.sed | ||
18951 | |||
18952 | # This sed command replaces #undef with comments. This is necessary, for | ||
18953 | # example, in the case of _POSIX_SOURCE, which is predefined and required | ||
18954 | # on some systems where configure will not decide to define it. | ||
18955 | cat >>conftest.undefs <<\_ACEOF | ||
18956 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | ||
18957 | _ACEOF | ||
18958 | |||
18959 | # Break up conftest.defines because some shells have a limit on the size | ||
18960 | # of here documents, and old seds have small limits too (100 cmds). | ||
18961 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | ||
18962 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | ||
18963 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | ||
18964 | echo ' :' >>$CONFIG_STATUS | ||
18965 | rm -f conftest.tail | ||
18966 | while grep . conftest.defines >/dev/null | ||
18967 | do | ||
18968 | # Write a limited-size here document to $tmp/defines.sed. | ||
18969 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | ||
18970 | # Speed up: don't consider the non `#define' lines. | ||
18971 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | ||
18972 | # Work around the forget-to-reset-the-flag bug. | ||
18973 | echo 't clr' >>$CONFIG_STATUS | ||
18974 | echo ': clr' >>$CONFIG_STATUS | ||
18975 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | ||
18976 | echo 'CEOF | ||
18977 | sed -f $tmp/defines.sed $tmp/in >$tmp/out | ||
18978 | rm -f $tmp/in | ||
18979 | mv $tmp/out $tmp/in | ||
18980 | ' >>$CONFIG_STATUS | ||
18981 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | ||
18982 | rm -f conftest.defines | ||
18983 | mv conftest.tail conftest.defines | ||
18984 | done | ||
18985 | rm -f conftest.defines | ||
18986 | echo ' fi # grep' >>$CONFIG_STATUS | ||
18987 | echo >>$CONFIG_STATUS | ||
18988 | |||
18989 | # Break up conftest.undefs because some shells have a limit on the size | ||
18990 | # of here documents, and old seds have small limits too (100 cmds). | ||
18991 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | ||
18992 | rm -f conftest.tail | ||
18993 | while grep . conftest.undefs >/dev/null | ||
18994 | do | ||
18995 | # Write a limited-size here document to $tmp/undefs.sed. | ||
18996 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | ||
18997 | # Speed up: don't consider the non `#undef' | ||
18998 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | ||
18999 | # Work around the forget-to-reset-the-flag bug. | ||
19000 | echo 't clr' >>$CONFIG_STATUS | ||
19001 | echo ': clr' >>$CONFIG_STATUS | ||
19002 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | ||
19003 | echo 'CEOF | ||
19004 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out | ||
19005 | rm -f $tmp/in | ||
19006 | mv $tmp/out $tmp/in | ||
19007 | ' >>$CONFIG_STATUS | ||
19008 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | ||
19009 | rm -f conftest.undefs | ||
19010 | mv conftest.tail conftest.undefs | ||
19011 | done | ||
19012 | rm -f conftest.undefs | ||
19013 | |||
19014 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
19015 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
19016 | # use $as_me), people would be surprised to read: | ||
19017 | # /* config.h. Generated by config.status. */ | ||
19018 | if test x"$ac_file" = x-; then | ||
19019 | echo "/* Generated by configure. */" >$tmp/config.h | ||
19020 | else | ||
19021 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | ||
19022 | fi | ||
19023 | cat $tmp/in >>$tmp/config.h | ||
19024 | rm -f $tmp/in | ||
19025 | if test x"$ac_file" != x-; then | ||
19026 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | ||
19027 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | ||
19028 | echo "$as_me: $ac_file is unchanged" >&6;} | ||
19029 | else | ||
19030 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
19031 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
19032 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
19033 | X"$ac_file" : 'X\(//\)$' \| \ | ||
19034 | X"$ac_file" : 'X\(/\)' \| \ | ||
19035 | . : '\(.\)' 2>/dev/null || | ||
19036 | echo X"$ac_file" | | ||
19037 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
19038 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
19039 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
19040 | /^X\(\/\).*/{ s//\1/; q; } | ||
19041 | s/.*/./; q'` | ||
19042 | { if $as_mkdir_p; then | ||
19043 | mkdir -p "$ac_dir" | ||
19044 | else | ||
19045 | as_dir="$ac_dir" | ||
19046 | as_dirs= | ||
19047 | while test ! -d "$as_dir"; do | ||
19048 | as_dirs="$as_dir $as_dirs" | ||
19049 | as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
19050 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
19051 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
19052 | X"$as_dir" : 'X\(//\)$' \| \ | ||
19053 | X"$as_dir" : 'X\(/\)' \| \ | ||
19054 | . : '\(.\)' 2>/dev/null || | ||
19055 | echo X"$as_dir" | | ||
19056 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
19057 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
19058 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
19059 | /^X\(\/\).*/{ s//\1/; q; } | ||
19060 | s/.*/./; q'` | ||
19061 | done | ||
19062 | test ! -n "$as_dirs" || mkdir $as_dirs | ||
19063 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
19064 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
19065 | { (exit 1); exit 1; }; }; } | ||
19066 | |||
19067 | rm -f $ac_file | ||
19068 | mv $tmp/config.h $ac_file | ||
19069 | fi | ||
19070 | else | ||
19071 | cat $tmp/config.h | ||
19072 | rm -f $tmp/config.h | ||
19073 | fi | ||
19074 | done | ||
19075 | _ACEOF | ||
19076 | |||
19077 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
19078 | |||
19079 | { (exit 0); exit 0; } | ||
19080 | _ACEOF | ||
19081 | chmod +x $CONFIG_STATUS | ||
19082 | ac_clean_files=$ac_clean_files_save | ||
19083 | |||
19084 | |||
19085 | # configure is writing to config.log, and then calls config.status. | ||
19086 | # config.status does its own redirection, appending to config.log. | ||
19087 | # Unfortunately, on DOS this fails, as config.log is still kept open | ||
19088 | # by configure, so config.status won't be able to write to it; its | ||
19089 | # output is simply discarded. So we exec the FD to /dev/null, | ||
19090 | # effectively closing config.log, so it can be properly (re)opened and | ||
19091 | # appended to by config.status. When coming back to configure, we | ||
19092 | # need to make the FD available again. | ||
19093 | if test "$no_create" != yes; then | ||
19094 | ac_cs_success=: | ||
19095 | ac_config_status_args= | ||
19096 | test "$silent" = yes && | ||
19097 | ac_config_status_args="$ac_config_status_args --quiet" | ||
19098 | exec 5>/dev/null | ||
19099 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | ||
19100 | exec 5>>config.log | ||
19101 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | ||
19102 | # would make configure fail if this is the last instruction. | ||
19103 | $ac_cs_success || { (exit 1); exit 1; } | ||
19104 | fi | ||
19105 | |||
19106 | |||
19107 | # Print summary of options | ||
19108 | |||
19109 | # Someone please show me a better way :) | ||
19110 | A=`eval echo ${prefix}` ; A=`eval echo ${A}` | ||
19111 | B=`eval echo ${bindir}` ; B=`eval echo ${B}` | ||
19112 | C=`eval echo ${sbindir}` ; C=`eval echo ${C}` | ||
19113 | D=`eval echo ${sysconfdir}` ; D=`eval echo ${D}` | ||
19114 | E=`eval echo ${libexecdir}/ssh-askpass` ; E=`eval echo ${E}` | ||
19115 | F=`eval echo ${mandir}/${mansubdir}X` ; F=`eval echo ${F}` | ||
19116 | G=`eval echo ${piddir}` ; G=`eval echo ${G}` | ||
19117 | H=`eval echo ${PRIVSEP_PATH}` ; H=`eval echo ${H}` | ||
19118 | I=`eval echo ${user_path}` ; I=`eval echo ${I}` | ||
19119 | J=`eval echo ${superuser_path}` ; J=`eval echo ${J}` | ||
19120 | |||
19121 | echo "" | ||
19122 | echo "OpenSSH has been configured with the following options:" | ||
19123 | echo " User binaries: $B" | ||
19124 | echo " System binaries: $C" | ||
19125 | echo " Configuration files: $D" | ||
19126 | echo " Askpass program: $E" | ||
19127 | echo " Manual pages: $F" | ||
19128 | echo " PID file: $G" | ||
19129 | echo " Privilege separation chroot path: $H" | ||
19130 | if test "$USES_LOGIN_CONF" = "yes" ; then | ||
19131 | echo " At runtime, sshd will use the path defined in /etc/login.conf" | ||
19132 | else | ||
19133 | echo " sshd default user PATH: $I" | ||
19134 | fi | ||
19135 | if test ! -z "$superuser_path" ; then | ||
19136 | echo " sshd superuser user PATH: $J" | ||
19137 | fi | ||
19138 | echo " Manpage format: $MANTYPE" | ||
19139 | echo " PAM support: ${PAM_MSG}" | ||
19140 | echo " KerberosIV support: $KRB4_MSG" | ||
19141 | echo " KerberosV support: $KRB5_MSG" | ||
19142 | echo " Smartcard support: $SCARD_MSG" | ||
19143 | echo " AFS support: $AFS_MSG" | ||
19144 | echo " S/KEY support: $SKEY_MSG" | ||
19145 | echo " TCP Wrappers support: $TCPW_MSG" | ||
19146 | echo " MD5 password support: $MD5_MSG" | ||
19147 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | ||
19148 | echo " Use IPv4 by default hack: $IPV4_HACK_MSG" | ||
19149 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | ||
19150 | echo " BSD Auth support: $BSD_AUTH_MSG" | ||
19151 | echo " Random number source: $RAND_MSG" | ||
19152 | if test ! -z "$USE_RAND_HELPER" ; then | ||
19153 | echo " ssh-rand-helper collects from: $RAND_HELPER_MSG" | ||
19154 | fi | ||
19155 | |||
19156 | echo "" | ||
19157 | |||
19158 | echo " Host: ${host}" | ||
19159 | echo " Compiler: ${CC}" | ||
19160 | echo " Compiler flags: ${CFLAGS}" | ||
19161 | echo "Preprocessor flags: ${CPPFLAGS}" | ||
19162 | echo " Linker flags: ${LDFLAGS}" | ||
19163 | echo " Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}" | ||
19164 | |||
19165 | echo "" | ||
19166 | |||
19167 | if test "x$PAM_MSG" = "xyes" ; then | ||
19168 | echo "PAM is enabled. You may need to install a PAM control file " | ||
19169 | echo "for sshd, otherwise password authentication may fail. " | ||
19170 | echo "Example PAM control files can be found in the contrib/ " | ||
19171 | echo "subdirectory" | ||
19172 | echo "" | ||
19173 | fi | ||
19174 | |||
19175 | if test ! -z "$RAND_HELPER_CMDHASH" ; then | ||
19176 | echo "WARNING: you are using the builtin random number collection " | ||
19177 | echo "service. Please read WARNING.RNG and request that your OS " | ||
19178 | echo "vendor includes kernel-based random number collection in " | ||
19179 | echo "future versions of your OS." | ||
19180 | echo "" | ||
19181 | fi | ||
19182 | |||
diff --git a/autom4te.cache/requests b/autom4te.cache/requests new file mode 100644 index 000000000..72598fb0c --- /dev/null +++ b/autom4te.cache/requests | |||
@@ -0,0 +1,111 @@ | |||
1 | # This file was created by autom4te. | ||
2 | # It contains the lists of macros which have been traced. | ||
3 | # It can be safely removed. | ||
4 | |||
5 | @request = ( | ||
6 | bless( [ | ||
7 | '0', | ||
8 | 1, | ||
9 | [ | ||
10 | '/usr/share/autoconf' | ||
11 | ], | ||
12 | [ | ||
13 | '/usr/share/autoconf/autoconf/autoconf.m4f', | ||
14 | 'aclocal.m4', | ||
15 | 'configure.ac' | ||
16 | ], | ||
17 | { | ||
18 | 'm4_pattern_forbid' => 1, | ||
19 | 'AC_TYPE_OFF_T' => 1, | ||
20 | 'AC_C_VOLATILE' => 1, | ||
21 | 'AC_FUNC_CLOSEDIR_VOID' => 1, | ||
22 | 'AC_REPLACE_FNMATCH' => 1, | ||
23 | 'AC_PROG_LIBTOOL' => 1, | ||
24 | 'AC_FUNC_STAT' => 1, | ||
25 | 'AC_HEADER_TIME' => 1, | ||
26 | 'AC_FUNC_WAIT3' => 1, | ||
27 | 'AM_AUTOMAKE_VERSION' => 1, | ||
28 | 'AC_STRUCT_TM' => 1, | ||
29 | 'AC_FUNC_LSTAT' => 1, | ||
30 | 'AC_TYPE_MODE_T' => 1, | ||
31 | 'AC_FUNC_GETMNTENT' => 1, | ||
32 | 'AC_FUNC_STRTOD' => 1, | ||
33 | 'AC_CHECK_HEADERS' => 1, | ||
34 | 'AC_FUNC_STRNLEN' => 1, | ||
35 | 'AC_PROG_CXX' => 1, | ||
36 | 'AC_PATH_X' => 1, | ||
37 | 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1, | ||
38 | 'AC_PROG_AWK' => 1, | ||
39 | 'AC_HEADER_STDC' => 1, | ||
40 | 'AC_HEADER_MAJOR' => 1, | ||
41 | 'AC_FUNC_ERROR_AT_LINE' => 1, | ||
42 | 'AC_PROG_GCC_TRADITIONAL' => 1, | ||
43 | 'AC_LIBSOURCE' => 1, | ||
44 | 'AC_FUNC_MBRTOWC' => 1, | ||
45 | 'AC_STRUCT_ST_BLOCKS' => 1, | ||
46 | 'AC_TYPE_SIGNAL' => 1, | ||
47 | 'AC_TYPE_UID_T' => 1, | ||
48 | 'AC_CONFIG_AUX_DIR' => 1, | ||
49 | 'AC_PROG_MAKE_SET' => 1, | ||
50 | 'm4_pattern_allow' => 1, | ||
51 | 'AC_DEFINE_TRACE_LITERAL' => 1, | ||
52 | 'AC_FUNC_STRERROR_R' => 1, | ||
53 | 'AC_PROG_CC' => 1, | ||
54 | 'AC_DECL_SYS_SIGLIST' => 1, | ||
55 | 'AC_FUNC_FORK' => 1, | ||
56 | 'AC_FUNC_VPRINTF' => 1, | ||
57 | 'AC_FUNC_STRCOLL' => 1, | ||
58 | 'AC_PROG_YACC' => 1, | ||
59 | 'AC_INIT' => 1, | ||
60 | 'AC_STRUCT_TIMEZONE' => 1, | ||
61 | 'AC_FUNC_CHOWN' => 1, | ||
62 | 'AC_SUBST' => 1, | ||
63 | 'AC_FUNC_ALLOCA' => 1, | ||
64 | 'AC_CANONICAL_HOST' => 1, | ||
65 | 'AC_FUNC_GETPGRP' => 1, | ||
66 | 'AC_PROG_RANLIB' => 1, | ||
67 | 'AM_INIT_AUTOMAKE' => 1, | ||
68 | 'AC_FUNC_SETPGRP' => 1, | ||
69 | 'AC_CONFIG_SUBDIRS' => 1, | ||
70 | 'AC_FUNC_MMAP' => 1, | ||
71 | 'AC_FUNC_REALLOC' => 1, | ||
72 | 'AC_TYPE_SIZE_T' => 1, | ||
73 | 'AC_CHECK_TYPES' => 1, | ||
74 | 'AC_CHECK_MEMBERS' => 1, | ||
75 | 'AM_MAINTAINER_MODE' => 1, | ||
76 | 'AC_FUNC_UTIME_NULL' => 1, | ||
77 | 'AC_FUNC_SELECT_ARGTYPES' => 1, | ||
78 | 'AC_FUNC_STRFTIME' => 1, | ||
79 | 'AC_HEADER_STAT' => 1, | ||
80 | 'AC_C_INLINE' => 1, | ||
81 | 'AC_PROG_CPP' => 1, | ||
82 | 'AC_TYPE_PID_T' => 1, | ||
83 | 'AC_C_CONST' => 1, | ||
84 | 'AC_PROG_LEX' => 1, | ||
85 | 'AC_CONFIG_FILES' => 1, | ||
86 | 'include' => 1, | ||
87 | 'AC_FUNC_SETVBUF_REVERSED' => 1, | ||
88 | 'AC_PROG_INSTALL' => 1, | ||
89 | 'AM_GNU_GETTEXT' => 1, | ||
90 | 'AC_FUNC_OBSTACK' => 1, | ||
91 | 'AC_CHECK_LIB' => 1, | ||
92 | 'AC_FUNC_MALLOC' => 1, | ||
93 | 'AC_FUNC_GETGROUPS' => 1, | ||
94 | 'AC_FUNC_GETLOADAVG' => 1, | ||
95 | 'AH_OUTPUT' => 1, | ||
96 | 'AC_FUNC_FSEEKO' => 1, | ||
97 | 'AM_PROG_CC_C_O' => 1, | ||
98 | 'AM_CONDITIONAL' => 1, | ||
99 | 'AC_CANONICAL_SYSTEM' => 1, | ||
100 | 'AC_FUNC_MKTIME' => 1, | ||
101 | 'AC_CONFIG_HEADERS' => 1, | ||
102 | 'AC_HEADER_SYS_WAIT' => 1, | ||
103 | 'AC_FUNC_MEMCMP' => 1, | ||
104 | 'AC_PROG_LN_S' => 1, | ||
105 | 'm4_include' => 1, | ||
106 | 'AC_HEADER_DIRENT' => 1, | ||
107 | 'AC_CHECK_FUNCS' => 1 | ||
108 | } | ||
109 | ], 'Request' ) | ||
110 | ); | ||
111 | |||
diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0 new file mode 100644 index 000000000..8c9b72476 --- /dev/null +++ b/autom4te.cache/traces.0 | |||
@@ -0,0 +1,947 @@ | |||
1 | m4trace:configure.ac:3: -1- AC_INIT | ||
2 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) | ||
3 | m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_]) | ||
4 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) | ||
5 | m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$]) | ||
6 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_]) | ||
7 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$]) | ||
8 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_]) | ||
9 | m4trace:configure.ac:3: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) | ||
10 | m4trace:configure.ac:3: -1- AC_SUBST([PATH_SEPARATOR]) | ||
11 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) | ||
12 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) | ||
13 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) | ||
14 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) | ||
15 | m4trace:configure.ac:3: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) | ||
16 | m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE]) | ||
17 | m4trace:configure.ac:3: -1- AC_SUBST([prefix], [NONE]) | ||
18 | m4trace:configure.ac:3: -1- AC_SUBST([program_transform_name], [s,x,x,]) | ||
19 | m4trace:configure.ac:3: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) | ||
20 | m4trace:configure.ac:3: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) | ||
21 | m4trace:configure.ac:3: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) | ||
22 | m4trace:configure.ac:3: -1- AC_SUBST([datadir], ['${prefix}/share']) | ||
23 | m4trace:configure.ac:3: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) | ||
24 | m4trace:configure.ac:3: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) | ||
25 | m4trace:configure.ac:3: -1- AC_SUBST([localstatedir], ['${prefix}/var']) | ||
26 | m4trace:configure.ac:3: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) | ||
27 | m4trace:configure.ac:3: -1- AC_SUBST([includedir], ['${prefix}/include']) | ||
28 | m4trace:configure.ac:3: -1- AC_SUBST([oldincludedir], ['/usr/include']) | ||
29 | m4trace:configure.ac:3: -1- AC_SUBST([infodir], ['${prefix}/info']) | ||
30 | m4trace:configure.ac:3: -1- AC_SUBST([mandir], ['${prefix}/man']) | ||
31 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) | ||
32 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ | ||
33 | #undef PACKAGE_NAME]) | ||
34 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) | ||
35 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ | ||
36 | #undef PACKAGE_TARNAME]) | ||
37 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) | ||
38 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ | ||
39 | #undef PACKAGE_VERSION]) | ||
40 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) | ||
41 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ | ||
42 | #undef PACKAGE_STRING]) | ||
43 | m4trace:configure.ac:3: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) | ||
44 | m4trace:configure.ac:3: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ | ||
45 | #undef PACKAGE_BUGREPORT]) | ||
46 | m4trace:configure.ac:3: -1- AC_SUBST([build_alias]) | ||
47 | m4trace:configure.ac:3: -1- AC_SUBST([host_alias]) | ||
48 | m4trace:configure.ac:3: -1- AC_SUBST([target_alias]) | ||
49 | m4trace:configure.ac:3: -1- AC_SUBST([DEFS]) | ||
50 | m4trace:configure.ac:3: -1- AC_SUBST([ECHO_C]) | ||
51 | m4trace:configure.ac:3: -1- AC_SUBST([ECHO_N]) | ||
52 | m4trace:configure.ac:3: -1- AC_SUBST([ECHO_T]) | ||
53 | m4trace:configure.ac:3: -1- AC_SUBST([LIBS]) | ||
54 | m4trace:configure.ac:6: -1- AC_CONFIG_HEADERS([config.h]) | ||
55 | m4trace:configure.ac:7: -1- AC_PROG_CC | ||
56 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
57 | m4trace:configure.ac:7: -1- AC_SUBST([CFLAGS]) | ||
58 | m4trace:configure.ac:7: -1- AC_SUBST([LDFLAGS]) | ||
59 | m4trace:configure.ac:7: -1- AC_SUBST([CPPFLAGS]) | ||
60 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
61 | m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC]) | ||
62 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
63 | m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC]) | ||
64 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
65 | m4trace:configure.ac:7: -1- AC_SUBST([CC]) | ||
66 | m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_CC]) | ||
67 | m4trace:configure.ac:7: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) | ||
68 | m4trace:configure.ac:7: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) | ||
69 | m4trace:configure.ac:8: -1- AC_CANONICAL_HOST | ||
70 | m4trace:configure.ac:8: -1- AC_SUBST([build], [$ac_cv_build]) | ||
71 | m4trace:configure.ac:8: -1- AC_SUBST([build_cpu], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`]) | ||
72 | m4trace:configure.ac:8: -1- AC_SUBST([build_vendor], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`]) | ||
73 | m4trace:configure.ac:8: -1- AC_SUBST([build_os], [`echo $ac_cv_build | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`]) | ||
74 | m4trace:configure.ac:8: -1- AC_SUBST([host], [$ac_cv_host]) | ||
75 | m4trace:configure.ac:8: -1- AC_SUBST([host_cpu], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`]) | ||
76 | m4trace:configure.ac:8: -1- AC_SUBST([host_vendor], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`]) | ||
77 | m4trace:configure.ac:8: -1- AC_SUBST([host_os], [`echo $ac_cv_host | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`]) | ||
78 | m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN]) | ||
79 | m4trace:configure.ac:9: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define to 1 if your processor stores words with the most significant byte | ||
80 | first (like Motorola and SPARC, unlike Intel and VAX). */ | ||
81 | #undef WORDS_BIGENDIAN]) | ||
82 | m4trace:configure.ac:12: -1- AC_PROG_CPP | ||
83 | m4trace:configure.ac:12: -1- AC_SUBST([CPP]) | ||
84 | m4trace:configure.ac:12: -1- AC_SUBST([CPPFLAGS]) | ||
85 | m4trace:configure.ac:12: -1- AC_SUBST([CPP]) | ||
86 | m4trace:configure.ac:13: -1- AC_PROG_RANLIB | ||
87 | m4trace:configure.ac:13: -1- AC_SUBST([RANLIB]) | ||
88 | m4trace:configure.ac:13: -1- AC_SUBST([ac_ct_RANLIB]) | ||
89 | m4trace:configure.ac:14: -1- AC_PROG_INSTALL | ||
90 | m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_PROGRAM]) | ||
91 | m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_SCRIPT]) | ||
92 | m4trace:configure.ac:14: -1- AC_SUBST([INSTALL_DATA]) | ||
93 | m4trace:configure.ac:15: -1- AC_SUBST([AR], [$ac_cv_path_AR]) | ||
94 | m4trace:configure.ac:16: -1- AC_SUBST([PERL], [$ac_cv_path_PERL]) | ||
95 | m4trace:configure.ac:17: -1- AC_SUBST([SED], [$ac_cv_path_SED]) | ||
96 | m4trace:configure.ac:18: -1- AC_SUBST([PERL]) | ||
97 | m4trace:configure.ac:19: -1- AC_SUBST([ENT], [$ac_cv_path_ENT]) | ||
98 | m4trace:configure.ac:20: -1- AC_SUBST([ENT]) | ||
99 | m4trace:configure.ac:21: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH]) | ||
100 | m4trace:configure.ac:22: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH]) | ||
101 | m4trace:configure.ac:23: -1- AC_SUBST([TEST_MINUS_S_SH], [$ac_cv_path_TEST_MINUS_S_SH]) | ||
102 | m4trace:configure.ac:24: -1- AC_SUBST([SH], [$ac_cv_path_SH]) | ||
103 | m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS]) | ||
104 | m4trace:configure.ac:27: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */ | ||
105 | #undef _FILE_OFFSET_BITS]) | ||
106 | m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES]) | ||
107 | m4trace:configure.ac:27: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */ | ||
108 | #undef _LARGE_FILES]) | ||
109 | m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_PROGRAM_FALLBACK]) | ||
110 | m4trace:configure.ac:38: -1- AC_SUBST([LOGIN_PROGRAM_FALLBACK], [$ac_cv_path_LOGIN_PROGRAM_FALLBACK]) | ||
111 | m4trace:configure.ac:40: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_PROGRAM_FALLBACK]) | ||
112 | m4trace:configure.ac:47: -1- AC_SUBST([LD]) | ||
113 | m4trace:configure.ac:49: -1- AC_C_INLINE | ||
114 | m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([inline]) | ||
115 | m4trace:configure.ac:49: -1- AH_OUTPUT([inline], [/* Define as `__inline\' if that\'s what the C compiler calls it, or to nothing | ||
116 | if it is not supported. */ | ||
117 | #undef inline]) | ||
118 | m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([inline]) | ||
119 | m4trace:configure.ac:83: -1- AC_DEFINE_TRACE_LITERAL([WITH_AIXAUTHENTICATE]) | ||
120 | m4trace:configure.ac:83: -1- AC_CHECK_LIB([s], [authenticate], [ AC_DEFINE(WITH_AIXAUTHENTICATE) | ||
121 | LIBS="$LIBS -ls" | ||
122 | ]) | ||
123 | m4trace:configure.ac:83: -1- AC_DEFINE_TRACE_LITERAL([WITH_AIXAUTHENTICATE]) | ||
124 | m4trace:configure.ac:84: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_GETADDRINFO]) | ||
125 | m4trace:configure.ac:85: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALPATH]) | ||
126 | m4trace:configure.ac:87: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG]) | ||
127 | m4trace:configure.ac:88: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
128 | m4trace:configure.ac:89: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
129 | m4trace:configure.ac:90: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_PS_PADDING]) | ||
130 | m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CYGWIN]) | ||
131 | m4trace:configure.ac:96: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
132 | m4trace:configure.ac:97: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
133 | m4trace:configure.ac:98: -1- AC_DEFINE_TRACE_LITERAL([IPV4_DEFAULT]) | ||
134 | m4trace:configure.ac:99: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN]) | ||
135 | m4trace:configure.ac:100: -1- AC_DEFINE_TRACE_LITERAL([NO_X11_UNIX_SOCKETS]) | ||
136 | m4trace:configure.ac:101: -1- AC_DEFINE_TRACE_LITERAL([NO_IPPORT_RESERVED_CONCEPT]) | ||
137 | m4trace:configure.ac:102: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
138 | m4trace:configure.ac:103: -1- AC_DEFINE_TRACE_LITERAL([SETGROUPS_NOOP]) | ||
139 | m4trace:configure.ac:106: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN]) | ||
140 | m4trace:configure.ac:118: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_GETADDRINFO]) | ||
141 | m4trace:configure.ac:126: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE]) | ||
142 | m4trace:configure.ac:127: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
143 | m4trace:configure.ac:128: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT]) | ||
144 | m4trace:configure.ac:129: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
145 | m4trace:configure.ac:130: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
146 | m4trace:configure.ac:131: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
147 | m4trace:configure.ac:132: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
148 | m4trace:configure.ac:134: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
149 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
150 | { (exit 1); exit 1; }; }]) | ||
151 | m4trace:configure.ac:134: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the `xnet\' library (-lxnet). */ | ||
152 | #undef HAVE_LIBXNET]) | ||
153 | m4trace:configure.ac:134: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET]) | ||
154 | m4trace:configure.ac:143: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
155 | m4trace:configure.ac:144: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT]) | ||
156 | m4trace:configure.ac:145: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
157 | m4trace:configure.ac:146: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
158 | m4trace:configure.ac:147: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
159 | m4trace:configure.ac:148: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
160 | m4trace:configure.ac:150: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
161 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
162 | { (exit 1); exit 1; }; }]) | ||
163 | m4trace:configure.ac:150: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the `xnet\' library (-lxnet). */ | ||
164 | #undef HAVE_LIBXNET]) | ||
165 | m4trace:configure.ac:150: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET]) | ||
166 | m4trace:configure.ac:155: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE]) | ||
167 | m4trace:configure.ac:156: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
168 | m4trace:configure.ac:157: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NO_ENDOPT]) | ||
169 | m4trace:configure.ac:158: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
170 | m4trace:configure.ac:159: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
171 | m4trace:configure.ac:160: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
172 | m4trace:configure.ac:161: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
173 | m4trace:configure.ac:163: -1- AC_CHECK_LIB([xnet], [t_error], [], [{ { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
174 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
175 | { (exit 1); exit 1; }; }]) | ||
176 | m4trace:configure.ac:163: -1- AH_OUTPUT([HAVE_LIBXNET], [/* Define to 1 if you have the `xnet\' library (-lxnet). */ | ||
177 | #undef HAVE_LIBXNET]) | ||
178 | m4trace:configure.ac:163: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBXNET]) | ||
179 | m4trace:configure.ac:169: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_INET_NTOA]) | ||
180 | m4trace:configure.ac:170: -1- AC_DEFINE_TRACE_LITERAL([WITH_ABBREV_NO_TTY]) | ||
181 | m4trace:configure.ac:176: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_ARRAY]) | ||
182 | m4trace:configure.ac:177: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_PROJECT]) | ||
183 | m4trace:configure.ac:178: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_AUDIT]) | ||
184 | m4trace:configure.ac:179: -1- AC_DEFINE_TRACE_LITERAL([WITH_IRIX_JOBS]) | ||
185 | m4trace:configure.ac:180: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_INET_NTOA]) | ||
186 | m4trace:configure.ac:181: -1- AC_DEFINE_TRACE_LITERAL([WITH_ABBREV_NO_TTY]) | ||
187 | m4trace:configure.ac:186: -1- AC_DEFINE_TRACE_LITERAL([DONT_TRY_OTHER_AF]) | ||
188 | m4trace:configure.ac:187: -1- AC_DEFINE_TRACE_LITERAL([PAM_TTY_KLUDGE]) | ||
189 | m4trace:configure.ac:188: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_STRATEGY]) | ||
190 | m4trace:configure.ac:189: -1- AC_DEFINE_TRACE_LITERAL([SETPROCTITLE_PS_PADDING]) | ||
191 | m4trace:configure.ac:193: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEWS4]) | ||
192 | m4trace:configure.ac:208: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NEXT]) | ||
193 | m4trace:configure.ac:209: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_REALPATH]) | ||
194 | m4trace:configure.ac:210: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
195 | m4trace:configure.ac:211: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SAVED_UIDS]) | ||
196 | m4trace:configure.ac:219: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE]) | ||
197 | m4trace:configure.ac:220: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_UTMPX]) | ||
198 | m4trace:configure.ac:221: -1- AC_DEFINE_TRACE_LITERAL([LOGIN_NEEDS_TERM]) | ||
199 | m4trace:configure.ac:222: -1- AC_DEFINE_TRACE_LITERAL([PAM_TTY_KLUDGE]) | ||
200 | m4trace:configure.ac:223: -1- AC_DEFINE_TRACE_LITERAL([STREAMS_PUSH_ACQUIRES_CTTY]) | ||
201 | m4trace:configure.ac:230: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
202 | m4trace:configure.ac:231: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP]) | ||
203 | m4trace:configure.ac:238: -1- AC_CHECK_FUNCS([getpwanam]) | ||
204 | m4trace:configure.ac:238: -1- AH_OUTPUT([HAVE_GETPWANAM], [/* Define to 1 if you have the `getpwanam\' function. */ | ||
205 | #undef HAVE_GETPWANAM]) | ||
206 | m4trace:configure.ac:239: -1- AC_DEFINE_TRACE_LITERAL([PAM_SUN_CODEBASE]) | ||
207 | m4trace:configure.ac:243: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
208 | m4trace:configure.ac:249: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
209 | m4trace:configure.ac:256: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
210 | m4trace:configure.ac:257: -1- AC_DEFINE_TRACE_LITERAL([IP_TOS_IS_BROKEN]) | ||
211 | m4trace:configure.ac:265: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
212 | m4trace:configure.ac:270: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
213 | m4trace:configure.ac:282: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SYS_TERMIO_H]) | ||
214 | m4trace:configure.ac:283: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
215 | m4trace:configure.ac:284: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE]) | ||
216 | m4trace:configure.ac:285: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
217 | m4trace:configure.ac:286: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SAVED_UIDS]) | ||
218 | m4trace:configure.ac:287: -1- AC_CHECK_FUNCS([getluid setluid]) | ||
219 | m4trace:configure.ac:287: -1- AH_OUTPUT([HAVE_GETLUID], [/* Define to 1 if you have the `getluid\' function. */ | ||
220 | #undef HAVE_GETLUID]) | ||
221 | m4trace:configure.ac:287: -1- AH_OUTPUT([HAVE_SETLUID], [/* Define to 1 if you have the `setluid\' function. */ | ||
222 | #undef HAVE_SETLUID]) | ||
223 | m4trace:configure.ac:299: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
224 | m4trace:configure.ac:300: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECUREWARE]) | ||
225 | m4trace:configure.ac:301: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
226 | m4trace:configure.ac:302: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
227 | m4trace:configure.ac:303: -1- AC_CHECK_FUNCS([getluid setluid]) | ||
228 | m4trace:configure.ac:303: -1- AH_OUTPUT([HAVE_GETLUID], [/* Define to 1 if you have the `getluid\' function. */ | ||
229 | #undef HAVE_GETLUID]) | ||
230 | m4trace:configure.ac:303: -1- AH_OUTPUT([HAVE_SETLUID], [/* Define to 1 if you have the `setluid\' function. */ | ||
231 | #undef HAVE_SETLUID]) | ||
232 | m4trace:configure.ac:307: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
233 | m4trace:configure.ac:308: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
234 | m4trace:configure.ac:314: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
235 | m4trace:configure.ac:315: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
236 | m4trace:configure.ac:316: -1- AC_DEFINE_TRACE_LITERAL([NO_SSH_LASTLOG]) | ||
237 | m4trace:configure.ac:336: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OSF_SIA]) | ||
238 | m4trace:configure.ac:337: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LOGIN]) | ||
239 | m4trace:configure.ac:338: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
240 | m4trace:configure.ac:344: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_FD_PASSING]) | ||
241 | m4trace:configure.ac:348: -1- AC_DEFINE_TRACE_LITERAL([USE_PIPES]) | ||
242 | m4trace:configure.ac:349: -1- AC_DEFINE_TRACE_LITERAL([NO_X11_UNIX_SOCKETS]) | ||
243 | m4trace:configure.ac:350: -1- AC_DEFINE_TRACE_LITERAL([MISSING_NFDBITS]) | ||
244 | m4trace:configure.ac:351: -1- AC_DEFINE_TRACE_LITERAL([MISSING_HOWMANY]) | ||
245 | m4trace:configure.ac:352: -1- AC_DEFINE_TRACE_LITERAL([MISSING_FD_MASK]) | ||
246 | m4trace:configure.ac:400: -1- AC_CHECK_HEADERS([bstring.h crypt.h endian.h floatingpoint.h \ | ||
247 | getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \ | ||
248 | login_cap.h maillock.h netdb.h netgroup.h \ | ||
249 | netinet/in_systm.h paths.h pty.h readpassphrase.h \ | ||
250 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | ||
251 | strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ | ||
252 | sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ | ||
253 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ | ||
254 | sys/un.h time.h tmpdir.h ttyent.h usersec.h \ | ||
255 | util.h utime.h utmp.h utmpx.h]) | ||
256 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_BSTRING_H], [/* Define to 1 if you have the <bstring.h> header file. */ | ||
257 | #undef HAVE_BSTRING_H]) | ||
258 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_CRYPT_H], [/* Define to 1 if you have the <crypt.h> header file. */ | ||
259 | #undef HAVE_CRYPT_H]) | ||
260 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_ENDIAN_H], [/* Define to 1 if you have the <endian.h> header file. */ | ||
261 | #undef HAVE_ENDIAN_H]) | ||
262 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_FLOATINGPOINT_H], [/* Define to 1 if you have the <floatingpoint.h> header file. */ | ||
263 | #undef HAVE_FLOATINGPOINT_H]) | ||
264 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */ | ||
265 | #undef HAVE_GETOPT_H]) | ||
266 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_GLOB_H], [/* Define to 1 if you have the <glob.h> header file. */ | ||
267 | #undef HAVE_GLOB_H]) | ||
268 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_IA_H], [/* Define to 1 if you have the <ia.h> header file. */ | ||
269 | #undef HAVE_IA_H]) | ||
270 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LASTLOG_H], [/* Define to 1 if you have the <lastlog.h> header file. */ | ||
271 | #undef HAVE_LASTLOG_H]) | ||
272 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */ | ||
273 | #undef HAVE_LIBGEN_H]) | ||
274 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */ | ||
275 | #undef HAVE_LIMITS_H]) | ||
276 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LOGIN_H], [/* Define to 1 if you have the <login.h> header file. */ | ||
277 | #undef HAVE_LOGIN_H]) | ||
278 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_LOGIN_CAP_H], [/* Define to 1 if you have the <login_cap.h> header file. */ | ||
279 | #undef HAVE_LOGIN_CAP_H]) | ||
280 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_MAILLOCK_H], [/* Define to 1 if you have the <maillock.h> header file. */ | ||
281 | #undef HAVE_MAILLOCK_H]) | ||
282 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */ | ||
283 | #undef HAVE_NETDB_H]) | ||
284 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_NETGROUP_H], [/* Define to 1 if you have the <netgroup.h> header file. */ | ||
285 | #undef HAVE_NETGROUP_H]) | ||
286 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_NETINET_IN_SYSTM_H], [/* Define to 1 if you have the <netinet/in_systm.h> header file. */ | ||
287 | #undef HAVE_NETINET_IN_SYSTM_H]) | ||
288 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */ | ||
289 | #undef HAVE_PATHS_H]) | ||
290 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_PTY_H], [/* Define to 1 if you have the <pty.h> header file. */ | ||
291 | #undef HAVE_PTY_H]) | ||
292 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_READPASSPHRASE_H], [/* Define to 1 if you have the <readpassphrase.h> header file. */ | ||
293 | #undef HAVE_READPASSPHRASE_H]) | ||
294 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_RPC_TYPES_H], [/* Define to 1 if you have the <rpc/types.h> header file. */ | ||
295 | #undef HAVE_RPC_TYPES_H]) | ||
296 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SECURITY_PAM_APPL_H], [/* Define to 1 if you have the <security/pam_appl.h> header file. */ | ||
297 | #undef HAVE_SECURITY_PAM_APPL_H]) | ||
298 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SHADOW_H], [/* Define to 1 if you have the <shadow.h> header file. */ | ||
299 | #undef HAVE_SHADOW_H]) | ||
300 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */ | ||
301 | #undef HAVE_STDDEF_H]) | ||
302 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ | ||
303 | #undef HAVE_STDINT_H]) | ||
304 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ | ||
305 | #undef HAVE_STRINGS_H]) | ||
306 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */ | ||
307 | #undef HAVE_SYS_BITYPES_H]) | ||
308 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_BSDTTY_H], [/* Define to 1 if you have the <sys/bsdtty.h> header file. */ | ||
309 | #undef HAVE_SYS_BSDTTY_H]) | ||
310 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_CDEFS_H], [/* Define to 1 if you have the <sys/cdefs.h> header file. */ | ||
311 | #undef HAVE_SYS_CDEFS_H]) | ||
312 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */ | ||
313 | #undef HAVE_SYS_MMAN_H]) | ||
314 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_PSTAT_H], [/* Define to 1 if you have the <sys/pstat.h> header file. */ | ||
315 | #undef HAVE_SYS_PSTAT_H]) | ||
316 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */ | ||
317 | #undef HAVE_SYS_SELECT_H]) | ||
318 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
319 | #undef HAVE_SYS_STAT_H]) | ||
320 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_STROPTS_H], [/* Define to 1 if you have the <sys/stropts.h> header file. */ | ||
321 | #undef HAVE_SYS_STROPTS_H]) | ||
322 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_SYSMACROS_H], [/* Define to 1 if you have the <sys/sysmacros.h> header file. */ | ||
323 | #undef HAVE_SYS_SYSMACROS_H]) | ||
324 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */ | ||
325 | #undef HAVE_SYS_TIME_H]) | ||
326 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_TIMERS_H], [/* Define to 1 if you have the <sys/timers.h> header file. */ | ||
327 | #undef HAVE_SYS_TIMERS_H]) | ||
328 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the <sys/un.h> header file. */ | ||
329 | #undef HAVE_SYS_UN_H]) | ||
330 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */ | ||
331 | #undef HAVE_TIME_H]) | ||
332 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_TMPDIR_H], [/* Define to 1 if you have the <tmpdir.h> header file. */ | ||
333 | #undef HAVE_TMPDIR_H]) | ||
334 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_TTYENT_H], [/* Define to 1 if you have the <ttyent.h> header file. */ | ||
335 | #undef HAVE_TTYENT_H]) | ||
336 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_USERSEC_H], [/* Define to 1 if you have the <usersec.h> header file. */ | ||
337 | #undef HAVE_USERSEC_H]) | ||
338 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UTIL_H], [/* Define to 1 if you have the <util.h> header file. */ | ||
339 | #undef HAVE_UTIL_H]) | ||
340 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UTIME_H], [/* Define to 1 if you have the <utime.h> header file. */ | ||
341 | #undef HAVE_UTIME_H]) | ||
342 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UTMP_H], [/* Define to 1 if you have the <utmp.h> header file. */ | ||
343 | #undef HAVE_UTMP_H]) | ||
344 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UTMPX_H], [/* Define to 1 if you have the <utmpx.h> header file. */ | ||
345 | #undef HAVE_UTMPX_H]) | ||
346 | m4trace:configure.ac:400: -1- AC_HEADER_STDC | ||
347 | m4trace:configure.ac:400: -1- AC_SUBST([EGREP]) | ||
348 | m4trace:configure.ac:400: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) | ||
349 | m4trace:configure.ac:400: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ | ||
350 | #undef STDC_HEADERS]) | ||
351 | m4trace:configure.ac:400: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
352 | inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default]) | ||
353 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */ | ||
354 | #undef HAVE_SYS_TYPES_H]) | ||
355 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
356 | #undef HAVE_SYS_STAT_H]) | ||
357 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */ | ||
358 | #undef HAVE_STDLIB_H]) | ||
359 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */ | ||
360 | #undef HAVE_STRING_H]) | ||
361 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */ | ||
362 | #undef HAVE_MEMORY_H]) | ||
363 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */ | ||
364 | #undef HAVE_STRINGS_H]) | ||
365 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */ | ||
366 | #undef HAVE_INTTYPES_H]) | ||
367 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */ | ||
368 | #undef HAVE_STDINT_H]) | ||
369 | m4trace:configure.ac:400: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */ | ||
370 | #undef HAVE_UNISTD_H]) | ||
371 | m4trace:configure.ac:403: -2- AC_CHECK_LIB([nsl], [yp_match]) | ||
372 | m4trace:configure.ac:403: -2- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the `nsl\' library (-lnsl). */ | ||
373 | #undef HAVE_LIBNSL]) | ||
374 | m4trace:configure.ac:403: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL]) | ||
375 | m4trace:configure.ac:404: -2- AC_CHECK_LIB([socket], [setsockopt]) | ||
376 | m4trace:configure.ac:404: -2- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the `socket\' library (-lsocket). */ | ||
377 | #undef HAVE_LIBSOCKET]) | ||
378 | m4trace:configure.ac:404: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET]) | ||
379 | m4trace:configure.ac:409: -1- AC_CHECK_LIB([rpc], [innetgr], [LIBS="-lrpc -lyp -lrpc $LIBS" ], [], [-lyp -lrpc]) | ||
380 | m4trace:configure.ac:414: -2- AC_CHECK_LIB([gen], [getspnam], [LIBS="$LIBS -lgen"]) | ||
381 | m4trace:configure.ac:456: -1- AC_CHECK_LIB([z], [deflate], [], [{ { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 | ||
382 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} | ||
383 | { (exit 1); exit 1; }; }]) | ||
384 | m4trace:configure.ac:456: -1- AH_OUTPUT([HAVE_LIBZ], [/* Define to 1 if you have the `z\' library (-lz). */ | ||
385 | #undef HAVE_LIBZ]) | ||
386 | m4trace:configure.ac:456: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZ]) | ||
387 | m4trace:configure.ac:461: -1- AC_CHECK_LIB([resolv], [strcasecmp], [LIBS="$LIBS -lresolv"]) | ||
388 | m4trace:configure.ac:465: -1- AC_CHECK_LIB([c89], [utimes], [AC_DEFINE(HAVE_UTIMES) | ||
389 | LIBS="$LIBS -lc89"]) | ||
390 | m4trace:configure.ac:465: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UTIMES]) | ||
391 | m4trace:configure.ac:468: -1- AC_CHECK_HEADERS([libutil.h]) | ||
392 | m4trace:configure.ac:468: -1- AH_OUTPUT([HAVE_LIBUTIL_H], [/* Define to 1 if you have the <libutil.h> header file. */ | ||
393 | #undef HAVE_LIBUTIL_H]) | ||
394 | m4trace:configure.ac:469: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LOGIN]) | ||
395 | m4trace:configure.ac:470: -1- AC_CHECK_FUNCS([logout updwtmp logwtmp]) | ||
396 | m4trace:configure.ac:470: -1- AH_OUTPUT([HAVE_LOGOUT], [/* Define to 1 if you have the `logout\' function. */ | ||
397 | #undef HAVE_LOGOUT]) | ||
398 | m4trace:configure.ac:470: -1- AH_OUTPUT([HAVE_UPDWTMP], [/* Define to 1 if you have the `updwtmp\' function. */ | ||
399 | #undef HAVE_UPDWTMP]) | ||
400 | m4trace:configure.ac:470: -1- AH_OUTPUT([HAVE_LOGWTMP], [/* Define to 1 if you have the `logwtmp\' function. */ | ||
401 | #undef HAVE_LOGWTMP]) | ||
402 | m4trace:configure.ac:472: -1- AC_FUNC_STRFTIME | ||
403 | m4trace:configure.ac:472: -1- AC_CHECK_FUNCS([strftime], [], [# strftime is in -lintl on SCO UNIX. | ||
404 | AC_CHECK_LIB(intl, strftime, | ||
405 | [AC_DEFINE(HAVE_STRFTIME) | ||
406 | LIBS="-lintl $LIBS"])]) | ||
407 | m4trace:configure.ac:472: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define to 1 if you have the `strftime\' function. */ | ||
408 | #undef HAVE_STRFTIME]) | ||
409 | m4trace:configure.ac:472: -1- AC_CHECK_LIB([intl], [strftime], [AC_DEFINE(HAVE_STRFTIME) | ||
410 | LIBS="-lintl $LIBS"]) | ||
411 | m4trace:configure.ac:472: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME]) | ||
412 | m4trace:configure.ac:490: -1- AC_DEFINE_TRACE_LITERAL([GLOB_HAS_ALTDIRFUNC]) | ||
413 | m4trace:configure.ac:506: -1- AC_DEFINE_TRACE_LITERAL([GLOB_HAS_GL_MATCHC]) | ||
414 | m4trace:configure.ac:520: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_ONE_BYTE_DIRENT_D_NAME]) | ||
415 | m4trace:configure.ac:553: -1- AC_DEFINE_TRACE_LITERAL([SKEY]) | ||
416 | m4trace:configure.ac:607: -1- AC_DEFINE_TRACE_LITERAL([LIBWRAP]) | ||
417 | m4trace:configure.ac:607: -1- AC_SUBST([LIBWRAP]) | ||
418 | m4trace:configure.ac:622: -1- AC_CHECK_FUNCS([\ | ||
419 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \ | ||
420 | bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ | ||
421 | gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \ | ||
422 | getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \ | ||
423 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | ||
424 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \ | ||
425 | readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \ | ||
426 | setegid setenv seteuid setgroups setlogin setpcred setproctitle \ | ||
427 | setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \ | ||
428 | snprintf socketpair strerror strlcat strlcpy strmode strnvis \ | ||
429 | sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \ | ||
430 | ]) | ||
431 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_ARC4RANDOM], [/* Define to 1 if you have the `arc4random\' function. */ | ||
432 | #undef HAVE_ARC4RANDOM]) | ||
433 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE___B64_NTOP], [/* Define to 1 if you have the `__b64_ntop\' function. */ | ||
434 | #undef HAVE___B64_NTOP]) | ||
435 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_B64_NTOP], [/* Define to 1 if you have the `b64_ntop\' function. */ | ||
436 | #undef HAVE_B64_NTOP]) | ||
437 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE___B64_PTON], [/* Define to 1 if you have the `__b64_pton\' function. */ | ||
438 | #undef HAVE___B64_PTON]) | ||
439 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_B64_PTON], [/* Define to 1 if you have the `b64_pton\' function. */ | ||
440 | #undef HAVE_B64_PTON]) | ||
441 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the `basename\' function. */ | ||
442 | #undef HAVE_BASENAME]) | ||
443 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_BCOPY], [/* Define to 1 if you have the `bcopy\' function. */ | ||
444 | #undef HAVE_BCOPY]) | ||
445 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_BINDRESVPORT_SA], [/* Define to 1 if you have the `bindresvport_sa\' function. */ | ||
446 | #undef HAVE_BINDRESVPORT_SA]) | ||
447 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_CLOCK], [/* Define to 1 if you have the `clock\' function. */ | ||
448 | #undef HAVE_CLOCK]) | ||
449 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the `fchmod\' function. */ | ||
450 | #undef HAVE_FCHMOD]) | ||
451 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_FCHOWN], [/* Define to 1 if you have the `fchown\' function. */ | ||
452 | #undef HAVE_FCHOWN]) | ||
453 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_FREEADDRINFO], [/* Define to 1 if you have the `freeaddrinfo\' function. */ | ||
454 | #undef HAVE_FREEADDRINFO]) | ||
455 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_FUTIMES], [/* Define to 1 if you have the `futimes\' function. */ | ||
456 | #undef HAVE_FUTIMES]) | ||
457 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GAI_STRERROR], [/* Define to 1 if you have the `gai_strerror\' function. */ | ||
458 | #undef HAVE_GAI_STRERROR]) | ||
459 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETADDRINFO], [/* Define to 1 if you have the `getaddrinfo\' function. */ | ||
460 | #undef HAVE_GETADDRINFO]) | ||
461 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the `getcwd\' function. */ | ||
462 | #undef HAVE_GETCWD]) | ||
463 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETGROUPLIST], [/* Define to 1 if you have the `getgrouplist\' function. */ | ||
464 | #undef HAVE_GETGROUPLIST]) | ||
465 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETNAMEINFO], [/* Define to 1 if you have the `getnameinfo\' function. */ | ||
466 | #undef HAVE_GETNAMEINFO]) | ||
467 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETOPT], [/* Define to 1 if you have the `getopt\' function. */ | ||
468 | #undef HAVE_GETOPT]) | ||
469 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETPEEREID], [/* Define to 1 if you have the `getpeereid\' function. */ | ||
470 | #undef HAVE_GETPEEREID]) | ||
471 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE__GETPTY], [/* Define to 1 if you have the `_getpty\' function. */ | ||
472 | #undef HAVE__GETPTY]) | ||
473 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETRLIMIT], [/* Define to 1 if you have the `getrlimit\' function. */ | ||
474 | #undef HAVE_GETRLIMIT]) | ||
475 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETRUSAGE], [/* Define to 1 if you have the `getrusage\' function. */ | ||
476 | #undef HAVE_GETRUSAGE]) | ||
477 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GETTTYENT], [/* Define to 1 if you have the `getttyent\' function. */ | ||
478 | #undef HAVE_GETTTYENT]) | ||
479 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_GLOB], [/* Define to 1 if you have the `glob\' function. */ | ||
480 | #undef HAVE_GLOB]) | ||
481 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_INET_ATON], [/* Define to 1 if you have the `inet_aton\' function. */ | ||
482 | #undef HAVE_INET_ATON]) | ||
483 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_INET_NTOA], [/* Define to 1 if you have the `inet_ntoa\' function. */ | ||
484 | #undef HAVE_INET_NTOA]) | ||
485 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the `inet_ntop\' function. */ | ||
486 | #undef HAVE_INET_NTOP]) | ||
487 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_INNETGR], [/* Define to 1 if you have the `innetgr\' function. */ | ||
488 | #undef HAVE_INNETGR]) | ||
489 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_LOGIN_GETCAPBOOL], [/* Define to 1 if you have the `login_getcapbool\' function. */ | ||
490 | #undef HAVE_LOGIN_GETCAPBOOL]) | ||
491 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_MD5_CRYPT], [/* Define to 1 if you have the `md5_crypt\' function. */ | ||
492 | #undef HAVE_MD5_CRYPT]) | ||
493 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */ | ||
494 | #undef HAVE_MEMMOVE]) | ||
495 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_MKDTEMP], [/* Define to 1 if you have the `mkdtemp\' function. */ | ||
496 | #undef HAVE_MKDTEMP]) | ||
497 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have the `mmap\' function. */ | ||
498 | #undef HAVE_MMAP]) | ||
499 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_NGETADDRINFO], [/* Define to 1 if you have the `ngetaddrinfo\' function. */ | ||
500 | #undef HAVE_NGETADDRINFO]) | ||
501 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_NSLEEP], [/* Define to 1 if you have the `nsleep\' function. */ | ||
502 | #undef HAVE_NSLEEP]) | ||
503 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_OGETADDRINFO], [/* Define to 1 if you have the `ogetaddrinfo\' function. */ | ||
504 | #undef HAVE_OGETADDRINFO]) | ||
505 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_OPENPTY], [/* Define to 1 if you have the `openpty\' function. */ | ||
506 | #undef HAVE_OPENPTY]) | ||
507 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_PSTAT], [/* Define to 1 if you have the `pstat\' function. */ | ||
508 | #undef HAVE_PSTAT]) | ||
509 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_READPASSPHRASE], [/* Define to 1 if you have the `readpassphrase\' function. */ | ||
510 | #undef HAVE_READPASSPHRASE]) | ||
511 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */ | ||
512 | #undef HAVE_REALPATH]) | ||
513 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define to 1 if you have the `recvmsg\' function. */ | ||
514 | #undef HAVE_RECVMSG]) | ||
515 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_RRESVPORT_AF], [/* Define to 1 if you have the `rresvport_af\' function. */ | ||
516 | #undef HAVE_RRESVPORT_AF]) | ||
517 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the `sendmsg\' function. */ | ||
518 | #undef HAVE_SENDMSG]) | ||
519 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETDTABLESIZE], [/* Define to 1 if you have the `setdtablesize\' function. */ | ||
520 | #undef HAVE_SETDTABLESIZE]) | ||
521 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define to 1 if you have the `setegid\' function. */ | ||
522 | #undef HAVE_SETEGID]) | ||
523 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */ | ||
524 | #undef HAVE_SETENV]) | ||
525 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define to 1 if you have the `seteuid\' function. */ | ||
526 | #undef HAVE_SETEUID]) | ||
527 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETGROUPS], [/* Define to 1 if you have the `setgroups\' function. */ | ||
528 | #undef HAVE_SETGROUPS]) | ||
529 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETLOGIN], [/* Define to 1 if you have the `setlogin\' function. */ | ||
530 | #undef HAVE_SETLOGIN]) | ||
531 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETPCRED], [/* Define to 1 if you have the `setpcred\' function. */ | ||
532 | #undef HAVE_SETPCRED]) | ||
533 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETPROCTITLE], [/* Define to 1 if you have the `setproctitle\' function. */ | ||
534 | #undef HAVE_SETPROCTITLE]) | ||
535 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETRESGID], [/* Define to 1 if you have the `setresgid\' function. */ | ||
536 | #undef HAVE_SETRESGID]) | ||
537 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETREUID], [/* Define to 1 if you have the `setreuid\' function. */ | ||
538 | #undef HAVE_SETREUID]) | ||
539 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */ | ||
540 | #undef HAVE_SETRLIMIT]) | ||
541 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETSID], [/* Define to 1 if you have the `setsid\' function. */ | ||
542 | #undef HAVE_SETSID]) | ||
543 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SETVBUF], [/* Define to 1 if you have the `setvbuf\' function. */ | ||
544 | #undef HAVE_SETVBUF]) | ||
545 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the `sigaction\' function. */ | ||
546 | #undef HAVE_SIGACTION]) | ||
547 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SIGVEC], [/* Define to 1 if you have the `sigvec\' function. */ | ||
548 | #undef HAVE_SIGVEC]) | ||
549 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */ | ||
550 | #undef HAVE_SNPRINTF]) | ||
551 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SOCKETPAIR], [/* Define to 1 if you have the `socketpair\' function. */ | ||
552 | #undef HAVE_SOCKETPAIR]) | ||
553 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */ | ||
554 | #undef HAVE_STRERROR]) | ||
555 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRLCAT], [/* Define to 1 if you have the `strlcat\' function. */ | ||
556 | #undef HAVE_STRLCAT]) | ||
557 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRLCPY], [/* Define to 1 if you have the `strlcpy\' function. */ | ||
558 | #undef HAVE_STRLCPY]) | ||
559 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRMODE], [/* Define to 1 if you have the `strmode\' function. */ | ||
560 | #undef HAVE_STRMODE]) | ||
561 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_STRNVIS], [/* Define to 1 if you have the `strnvis\' function. */ | ||
562 | #undef HAVE_STRNVIS]) | ||
563 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_SYSCONF], [/* Define to 1 if you have the `sysconf\' function. */ | ||
564 | #undef HAVE_SYSCONF]) | ||
565 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_TCGETPGRP], [/* Define to 1 if you have the `tcgetpgrp\' function. */ | ||
566 | #undef HAVE_TCGETPGRP]) | ||
567 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_TRUNCATE], [/* Define to 1 if you have the `truncate\' function. */ | ||
568 | #undef HAVE_TRUNCATE]) | ||
569 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_UTIMES], [/* Define to 1 if you have the `utimes\' function. */ | ||
570 | #undef HAVE_UTIMES]) | ||
571 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_VHANGUP], [/* Define to 1 if you have the `vhangup\' function. */ | ||
572 | #undef HAVE_VHANGUP]) | ||
573 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_VSNPRINTF], [/* Define to 1 if you have the `vsnprintf\' function. */ | ||
574 | #undef HAVE_VSNPRINTF]) | ||
575 | m4trace:configure.ac:622: -1- AH_OUTPUT([HAVE_WAITPID], [/* Define to 1 if you have the `waitpid\' function. */ | ||
576 | #undef HAVE_WAITPID]) | ||
577 | m4trace:configure.ac:624: -2- AC_DEFINE_TRACE_LITERAL([HAVE_NANOSLEEP]) | ||
578 | m4trace:configure.ac:625: -2- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME]) | ||
579 | m4trace:configure.ac:628: -1- AC_CHECK_FUNCS([strsep]) | ||
580 | m4trace:configure.ac:628: -1- AH_OUTPUT([HAVE_STRSEP], [/* Define to 1 if you have the `strsep\' function. */ | ||
581 | #undef HAVE_STRSEP]) | ||
582 | m4trace:configure.ac:665: -1- AC_CHECK_FUNCS([dirname], [AC_CHECK_HEADERS(libgen.h) ], [ | ||
583 | AC_CHECK_LIB(gen, dirname,[ | ||
584 | AC_CACHE_CHECK([for broken dirname], | ||
585 | ac_cv_have_broken_dirname, [ | ||
586 | save_LIBS="$LIBS" | ||
587 | LIBS="$LIBS -lgen" | ||
588 | AC_TRY_RUN( | ||
589 | [ | ||
590 | #include <libgen.h> | ||
591 | #include <string.h> | ||
592 | |||
593 | int main(int argc, char **argv) { | ||
594 | char *s, buf[32]; | ||
595 | |||
596 | strncpy(buf,"/etc", 32); | ||
597 | s = dirname(buf); | ||
598 | if (!s || strncmp(s, "/", 32) != 0) { | ||
599 | exit(1); | ||
600 | } else { | ||
601 | exit(0); | ||
602 | } | ||
603 | } | ||
604 | ], | ||
605 | [ ac_cv_have_broken_dirname="no" ], | ||
606 | [ ac_cv_have_broken_dirname="yes" ] | ||
607 | ) | ||
608 | LIBS="$save_LIBS" | ||
609 | ]) | ||
610 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | ||
611 | LIBS="$LIBS -lgen" | ||
612 | AC_DEFINE(HAVE_DIRNAME) | ||
613 | AC_CHECK_HEADERS(libgen.h) | ||
614 | fi | ||
615 | ]) | ||
616 | ]) | ||
617 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_DIRNAME], [/* Define to 1 if you have the `dirname\' function. */ | ||
618 | #undef HAVE_DIRNAME]) | ||
619 | m4trace:configure.ac:665: -1- AC_CHECK_HEADERS([libgen.h]) | ||
620 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */ | ||
621 | #undef HAVE_LIBGEN_H]) | ||
622 | m4trace:configure.ac:665: -1- AC_CHECK_LIB([gen], [dirname], [ | ||
623 | AC_CACHE_CHECK([for broken dirname], | ||
624 | ac_cv_have_broken_dirname, [ | ||
625 | save_LIBS="$LIBS" | ||
626 | LIBS="$LIBS -lgen" | ||
627 | AC_TRY_RUN( | ||
628 | [ | ||
629 | #include <libgen.h> | ||
630 | #include <string.h> | ||
631 | |||
632 | int main(int argc, char **argv) { | ||
633 | char *s, buf[32]; | ||
634 | |||
635 | strncpy(buf,"/etc", 32); | ||
636 | s = dirname(buf); | ||
637 | if (!s || strncmp(s, "/", 32) != 0) { | ||
638 | exit(1); | ||
639 | } else { | ||
640 | exit(0); | ||
641 | } | ||
642 | } | ||
643 | ], | ||
644 | [ ac_cv_have_broken_dirname="no" ], | ||
645 | [ ac_cv_have_broken_dirname="yes" ] | ||
646 | ) | ||
647 | LIBS="$save_LIBS" | ||
648 | ]) | ||
649 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | ||
650 | LIBS="$LIBS -lgen" | ||
651 | AC_DEFINE(HAVE_DIRNAME) | ||
652 | AC_CHECK_HEADERS(libgen.h) | ||
653 | fi | ||
654 | ]) | ||
655 | m4trace:configure.ac:665: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRNAME]) | ||
656 | m4trace:configure.ac:665: -1- AC_CHECK_HEADERS([libgen.h]) | ||
657 | m4trace:configure.ac:665: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the <libgen.h> header file. */ | ||
658 | #undef HAVE_LIBGEN_H]) | ||
659 | m4trace:configure.ac:668: -1- AC_CHECK_FUNCS([gettimeofday time]) | ||
660 | m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */ | ||
661 | #undef HAVE_GETTIMEOFDAY]) | ||
662 | m4trace:configure.ac:668: -1- AH_OUTPUT([HAVE_TIME], [/* Define to 1 if you have the `time\' function. */ | ||
663 | #undef HAVE_TIME]) | ||
664 | m4trace:configure.ac:670: -1- AC_CHECK_FUNCS([endutent getutent getutid getutline pututline setutent]) | ||
665 | m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_ENDUTENT], [/* Define to 1 if you have the `endutent\' function. */ | ||
666 | #undef HAVE_ENDUTENT]) | ||
667 | m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_GETUTENT], [/* Define to 1 if you have the `getutent\' function. */ | ||
668 | #undef HAVE_GETUTENT]) | ||
669 | m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_GETUTID], [/* Define to 1 if you have the `getutid\' function. */ | ||
670 | #undef HAVE_GETUTID]) | ||
671 | m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_GETUTLINE], [/* Define to 1 if you have the `getutline\' function. */ | ||
672 | #undef HAVE_GETUTLINE]) | ||
673 | m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_PUTUTLINE], [/* Define to 1 if you have the `pututline\' function. */ | ||
674 | #undef HAVE_PUTUTLINE]) | ||
675 | m4trace:configure.ac:670: -1- AH_OUTPUT([HAVE_SETUTENT], [/* Define to 1 if you have the `setutent\' function. */ | ||
676 | #undef HAVE_SETUTENT]) | ||
677 | m4trace:configure.ac:671: -1- AC_CHECK_FUNCS([utmpname]) | ||
678 | m4trace:configure.ac:671: -1- AH_OUTPUT([HAVE_UTMPNAME], [/* Define to 1 if you have the `utmpname\' function. */ | ||
679 | #undef HAVE_UTMPNAME]) | ||
680 | m4trace:configure.ac:673: -1- AC_CHECK_FUNCS([endutxent getutxent getutxid getutxline pututxline ]) | ||
681 | m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_ENDUTXENT], [/* Define to 1 if you have the `endutxent\' function. */ | ||
682 | #undef HAVE_ENDUTXENT]) | ||
683 | m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_GETUTXENT], [/* Define to 1 if you have the `getutxent\' function. */ | ||
684 | #undef HAVE_GETUTXENT]) | ||
685 | m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_GETUTXID], [/* Define to 1 if you have the `getutxid\' function. */ | ||
686 | #undef HAVE_GETUTXID]) | ||
687 | m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_GETUTXLINE], [/* Define to 1 if you have the `getutxline\' function. */ | ||
688 | #undef HAVE_GETUTXLINE]) | ||
689 | m4trace:configure.ac:673: -1- AH_OUTPUT([HAVE_PUTUTXLINE], [/* Define to 1 if you have the `pututxline\' function. */ | ||
690 | #undef HAVE_PUTUTXLINE]) | ||
691 | m4trace:configure.ac:674: -1- AC_CHECK_FUNCS([setutxent utmpxname]) | ||
692 | m4trace:configure.ac:674: -1- AH_OUTPUT([HAVE_SETUTXENT], [/* Define to 1 if you have the `setutxent\' function. */ | ||
693 | #undef HAVE_SETUTXENT]) | ||
694 | m4trace:configure.ac:674: -1- AH_OUTPUT([HAVE_UTMPXNAME], [/* Define to 1 if you have the `utmpxname\' function. */ | ||
695 | #undef HAVE_UTMPXNAME]) | ||
696 | m4trace:configure.ac:679: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON]) | ||
697 | m4trace:configure.ac:679: -1- AC_CHECK_LIB([bsd], [daemon], [LIBS="$LIBS -lbsd"; AC_DEFINE(HAVE_DAEMON)]) | ||
698 | m4trace:configure.ac:679: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DAEMON]) | ||
699 | m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE]) | ||
700 | m4trace:configure.ac:684: -1- AC_CHECK_LIB([ucb], [getpagesize], [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)]) | ||
701 | m4trace:configure.ac:684: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE]) | ||
702 | m4trace:configure.ac:700: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SNPRINTF]) | ||
703 | m4trace:configure.ac:726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICT_MKSTEMP]) | ||
704 | m4trace:configure.ac:726: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRICT_MKSTEMP]) | ||
705 | m4trace:configure.ac:729: -1- AC_FUNC_GETPGRP | ||
706 | m4trace:configure.ac:729: -1- AC_DEFINE_TRACE_LITERAL([GETPGRP_VOID]) | ||
707 | m4trace:configure.ac:729: -1- AH_OUTPUT([GETPGRP_VOID], [/* Define to 1 if the `getpgrp\' function requires zero arguments. */ | ||
708 | #undef GETPGRP_VOID]) | ||
709 | m4trace:configure.ac:757: -1- AC_CHECK_LIB([dl], [dlopen], [], []) | ||
710 | m4trace:configure.ac:757: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */ | ||
711 | #undef HAVE_LIBDL]) | ||
712 | m4trace:configure.ac:757: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL]) | ||
713 | m4trace:configure.ac:757: -1- AC_CHECK_LIB([pam], [pam_set_item], [], [{ { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | ||
714 | echo "$as_me: error: *** libpam missing" >&2;} | ||
715 | { (exit 1); exit 1; }; }]) | ||
716 | m4trace:configure.ac:757: -1- AH_OUTPUT([HAVE_LIBPAM], [/* Define to 1 if you have the `pam\' library (-lpam). */ | ||
717 | #undef HAVE_LIBPAM]) | ||
718 | m4trace:configure.ac:757: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPAM]) | ||
719 | m4trace:configure.ac:757: -1- AC_CHECK_FUNCS([pam_getenvlist]) | ||
720 | m4trace:configure.ac:757: -1- AH_OUTPUT([HAVE_PAM_GETENVLIST], [/* Define to 1 if you have the `pam_getenvlist\' function. */ | ||
721 | #undef HAVE_PAM_GETENVLIST]) | ||
722 | m4trace:configure.ac:757: -1- AC_DEFINE_TRACE_LITERAL([USE_PAM]) | ||
723 | m4trace:configure.ac:757: -1- AC_SUBST([LIBPAM]) | ||
724 | m4trace:configure.ac:775: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OLD_PAM]) | ||
725 | m4trace:configure.ac:781: -1- AC_CHECK_LIB([crypt], [crypt]) | ||
726 | m4trace:configure.ac:781: -1- AH_OUTPUT([HAVE_LIBCRYPT], [/* Define to 1 if you have the `crypt\' library (-lcrypt). */ | ||
727 | #undef HAVE_LIBCRYPT]) | ||
728 | m4trace:configure.ac:781: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCRYPT]) | ||
729 | m4trace:configure.ac:813: -2- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL]) | ||
730 | m4trace:configure.ac:828: -2- AC_DEFINE_TRACE_LITERAL([HAVE_OPENSSL]) | ||
731 | m4trace:configure.ac:915: -1- AC_CHECK_LIB([crypt], [crypt], [LIBS="$LIBS -lcrypt"]) | ||
732 | m4trace:configure.ac:963: -1- AC_DEFINE_TRACE_LITERAL([OPENSSL_PRNG_ONLY]) | ||
733 | m4trace:configure.ac:971: -1- AC_SUBST([INSTALL_SSH_RAND_HELPER]) | ||
734 | m4trace:configure.ac:994: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_PORT]) | ||
735 | m4trace:configure.ac:1044: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_SOCKET]) | ||
736 | m4trace:configure.ac:1044: -1- AC_DEFINE_TRACE_LITERAL([PRNGD_SOCKET]) | ||
737 | m4trace:configure.ac:1056: -1- AC_DEFINE_TRACE_LITERAL([ENTROPY_TIMEOUT_MSEC]) | ||
738 | m4trace:configure.ac:1067: -1- AC_DEFINE_TRACE_LITERAL([SSH_PRIVSEP_USER]) | ||
739 | m4trace:configure.ac:1068: -1- AC_SUBST([SSH_PRIVSEP_USER]) | ||
740 | m4trace:configure.ac:1085: -1- AC_SUBST([PROG_LS], [$ac_cv_path_PROG_LS]) | ||
741 | m4trace:configure.ac:1085: -1- AC_SUBST([PROG_LS]) | ||
742 | m4trace:configure.ac:1086: -1- AC_SUBST([PROG_NETSTAT], [$ac_cv_path_PROG_NETSTAT]) | ||
743 | m4trace:configure.ac:1086: -1- AC_SUBST([PROG_NETSTAT]) | ||
744 | m4trace:configure.ac:1087: -1- AC_SUBST([PROG_ARP], [$ac_cv_path_PROG_ARP]) | ||
745 | m4trace:configure.ac:1087: -1- AC_SUBST([PROG_ARP]) | ||
746 | m4trace:configure.ac:1088: -1- AC_SUBST([PROG_IFCONFIG], [$ac_cv_path_PROG_IFCONFIG]) | ||
747 | m4trace:configure.ac:1088: -1- AC_SUBST([PROG_IFCONFIG]) | ||
748 | m4trace:configure.ac:1089: -1- AC_SUBST([PROG_JSTAT], [$ac_cv_path_PROG_JSTAT]) | ||
749 | m4trace:configure.ac:1089: -1- AC_SUBST([PROG_JSTAT]) | ||
750 | m4trace:configure.ac:1090: -1- AC_SUBST([PROG_PS], [$ac_cv_path_PROG_PS]) | ||
751 | m4trace:configure.ac:1090: -1- AC_SUBST([PROG_PS]) | ||
752 | m4trace:configure.ac:1091: -1- AC_SUBST([PROG_SAR], [$ac_cv_path_PROG_SAR]) | ||
753 | m4trace:configure.ac:1091: -1- AC_SUBST([PROG_SAR]) | ||
754 | m4trace:configure.ac:1092: -1- AC_SUBST([PROG_W], [$ac_cv_path_PROG_W]) | ||
755 | m4trace:configure.ac:1092: -1- AC_SUBST([PROG_W]) | ||
756 | m4trace:configure.ac:1093: -1- AC_SUBST([PROG_WHO], [$ac_cv_path_PROG_WHO]) | ||
757 | m4trace:configure.ac:1093: -1- AC_SUBST([PROG_WHO]) | ||
758 | m4trace:configure.ac:1094: -1- AC_SUBST([PROG_LAST], [$ac_cv_path_PROG_LAST]) | ||
759 | m4trace:configure.ac:1094: -1- AC_SUBST([PROG_LAST]) | ||
760 | m4trace:configure.ac:1095: -1- AC_SUBST([PROG_LASTLOG], [$ac_cv_path_PROG_LASTLOG]) | ||
761 | m4trace:configure.ac:1095: -1- AC_SUBST([PROG_LASTLOG]) | ||
762 | m4trace:configure.ac:1096: -1- AC_SUBST([PROG_DF], [$ac_cv_path_PROG_DF]) | ||
763 | m4trace:configure.ac:1096: -1- AC_SUBST([PROG_DF]) | ||
764 | m4trace:configure.ac:1097: -1- AC_SUBST([PROG_VMSTAT], [$ac_cv_path_PROG_VMSTAT]) | ||
765 | m4trace:configure.ac:1097: -1- AC_SUBST([PROG_VMSTAT]) | ||
766 | m4trace:configure.ac:1098: -1- AC_SUBST([PROG_UPTIME], [$ac_cv_path_PROG_UPTIME]) | ||
767 | m4trace:configure.ac:1098: -1- AC_SUBST([PROG_UPTIME]) | ||
768 | m4trace:configure.ac:1099: -1- AC_SUBST([PROG_IPCS], [$ac_cv_path_PROG_IPCS]) | ||
769 | m4trace:configure.ac:1099: -1- AC_SUBST([PROG_IPCS]) | ||
770 | m4trace:configure.ac:1100: -1- AC_SUBST([PROG_TAIL], [$ac_cv_path_PROG_TAIL]) | ||
771 | m4trace:configure.ac:1100: -1- AC_SUBST([PROG_TAIL]) | ||
772 | m4trace:configure.ac:1117: -1- AC_SUBST([INSTALL_SSH_PRNG_CMDS]) | ||
773 | m4trace:configure.ac:1126: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_CHAR]) | ||
774 | m4trace:configure.ac:1126: -1- AH_OUTPUT([SIZEOF_CHAR], [/* The size of a `char\', as computed by sizeof. */ | ||
775 | #undef SIZEOF_CHAR]) | ||
776 | m4trace:configure.ac:1127: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SHORT_INT]) | ||
777 | m4trace:configure.ac:1127: -1- AH_OUTPUT([SIZEOF_SHORT_INT], [/* The size of a `short int\', as computed by sizeof. */ | ||
778 | #undef SIZEOF_SHORT_INT]) | ||
779 | m4trace:configure.ac:1128: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT]) | ||
780 | m4trace:configure.ac:1128: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of a `int\', as computed by sizeof. */ | ||
781 | #undef SIZEOF_INT]) | ||
782 | m4trace:configure.ac:1129: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_INT]) | ||
783 | m4trace:configure.ac:1129: -1- AH_OUTPUT([SIZEOF_LONG_INT], [/* The size of a `long int\', as computed by sizeof. */ | ||
784 | #undef SIZEOF_LONG_INT]) | ||
785 | m4trace:configure.ac:1130: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG_INT]) | ||
786 | m4trace:configure.ac:1130: -1- AH_OUTPUT([SIZEOF_LONG_LONG_INT], [/* The size of a `long long int\', as computed by sizeof. */ | ||
787 | #undef SIZEOF_LONG_LONG_INT]) | ||
788 | m4trace:configure.ac:1147: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT]) | ||
789 | m4trace:configure.ac:1160: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T]) | ||
790 | m4trace:configure.ac:1176: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T]) | ||
791 | m4trace:configure.ac:1197: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INT64_T]) | ||
792 | m4trace:configure.ac:1209: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T]) | ||
793 | m4trace:configure.ac:1223: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T]) | ||
794 | m4trace:configure.ac:1235: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T]) | ||
795 | m4trace:configure.ac:1249: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INT64_T]) | ||
796 | m4trace:configure.ac:1264: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINTXX_T]) | ||
797 | m4trace:configure.ac:1278: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UINTXX_T]) | ||
798 | m4trace:configure.ac:1300: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_INTXX_T]) | ||
799 | m4trace:configure.ac:1300: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTXX_T]) | ||
800 | m4trace:configure.ac:1315: -1- AC_DEFINE_TRACE_LITERAL([HAVE_U_CHAR]) | ||
801 | m4trace:configure.ac:1318: -1- AC_DEFINE_TRACE_LITERAL([socklen_t]) | ||
802 | m4trace:configure.ac:1318: -1- AH_OUTPUT([socklen_t], [/* type to use in place of socklen_t if not defined */ | ||
803 | #undef socklen_t]) | ||
804 | m4trace:configure.ac:1320: -1- AC_CHECK_TYPES([sig_atomic_t], [], [], [#include <signal.h>]) | ||
805 | m4trace:configure.ac:1320: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIG_ATOMIC_T]) | ||
806 | m4trace:configure.ac:1320: -1- AH_OUTPUT([HAVE_SIG_ATOMIC_T], [/* Define to 1 if the system has the type `sig_atomic_t\'. */ | ||
807 | #undef HAVE_SIG_ATOMIC_T]) | ||
808 | m4trace:configure.ac:1333: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIZE_T]) | ||
809 | m4trace:configure.ac:1347: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SSIZE_T]) | ||
810 | m4trace:configure.ac:1361: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_T]) | ||
811 | m4trace:configure.ac:1386: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SA_FAMILY_T]) | ||
812 | m4trace:configure.ac:1400: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PID_T]) | ||
813 | m4trace:configure.ac:1414: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MODE_T]) | ||
814 | m4trace:configure.ac:1430: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_STORAGE]) | ||
815 | m4trace:configure.ac:1445: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_IN6]) | ||
816 | m4trace:configure.ac:1460: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_IN6_ADDR]) | ||
817 | m4trace:configure.ac:1476: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_ADDRINFO]) | ||
818 | m4trace:configure.ac:1488: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMEVAL]) | ||
819 | m4trace:configure.ac:1492: -1- AC_CHECK_TYPES([struct timespec]) | ||
820 | m4trace:configure.ac:1492: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMESPEC]) | ||
821 | m4trace:configure.ac:1492: -1- AH_OUTPUT([HAVE_STRUCT_TIMESPEC], [/* Define to 1 if the system has the type `struct timespec\'. */ | ||
822 | #undef HAVE_STRUCT_TIMESPEC]) | ||
823 | m4trace:configure.ac:1529: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_SNPRINTF]) | ||
824 | m4trace:configure.ac:1533: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HOST_IN_UTMP]) | ||
825 | m4trace:configure.ac:1534: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HOST_IN_UTMPX]) | ||
826 | m4trace:configure.ac:1535: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSLEN_IN_UTMPX]) | ||
827 | m4trace:configure.ac:1536: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PID_IN_UTMP]) | ||
828 | m4trace:configure.ac:1537: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TYPE_IN_UTMP]) | ||
829 | m4trace:configure.ac:1538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TYPE_IN_UTMPX]) | ||
830 | m4trace:configure.ac:1539: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TV_IN_UTMP]) | ||
831 | m4trace:configure.ac:1540: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ID_IN_UTMP]) | ||
832 | m4trace:configure.ac:1541: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ID_IN_UTMPX]) | ||
833 | m4trace:configure.ac:1542: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_IN_UTMP]) | ||
834 | m4trace:configure.ac:1543: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_IN_UTMPX]) | ||
835 | m4trace:configure.ac:1544: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_V6_IN_UTMP]) | ||
836 | m4trace:configure.ac:1545: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ADDR_V6_IN_UTMPX]) | ||
837 | m4trace:configure.ac:1546: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EXIT_IN_UTMP]) | ||
838 | m4trace:configure.ac:1547: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_IN_UTMP]) | ||
839 | m4trace:configure.ac:1548: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TIME_IN_UTMPX]) | ||
840 | m4trace:configure.ac:1549: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TV_IN_UTMPX]) | ||
841 | m4trace:configure.ac:1551: -1- AC_CHECK_MEMBERS([struct stat.st_blksize]) | ||
842 | m4trace:configure.ac:1551: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_STAT_ST_BLKSIZE]) | ||
843 | m4trace:configure.ac:1551: -1- AH_OUTPUT([HAVE_STRUCT_STAT_ST_BLKSIZE], [/* Define to 1 if `st_blksize\' is member of `struct stat\'. */ | ||
844 | #undef HAVE_STRUCT_STAT_ST_BLKSIZE]) | ||
845 | m4trace:configure.ac:1566: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SS_FAMILY_IN_SS]) | ||
846 | m4trace:configure.ac:1582: -1- AC_DEFINE_TRACE_LITERAL([HAVE___SS_FAMILY_IN_SS]) | ||
847 | m4trace:configure.ac:1597: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_CLASS_IN_PASSWD]) | ||
848 | m4trace:configure.ac:1612: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_EXPIRE_IN_PASSWD]) | ||
849 | m4trace:configure.ac:1627: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PW_CHANGE_IN_PASSWD]) | ||
850 | m4trace:configure.ac:1652: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ACCRIGHTS_IN_MSGHDR]) | ||
851 | m4trace:configure.ac:1676: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CONTROL_IN_MSGHDR]) | ||
852 | m4trace:configure.ac:1687: -1- AC_DEFINE_TRACE_LITERAL([HAVE___PROGNAME]) | ||
853 | m4trace:configure.ac:1700: -1- AC_DEFINE_TRACE_LITERAL([HAVE___FUNCTION__]) | ||
854 | m4trace:configure.ac:1713: -1- AC_DEFINE_TRACE_LITERAL([HAVE___func__]) | ||
855 | m4trace:configure.ac:1728: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_OPTRESET]) | ||
856 | m4trace:configure.ac:1739: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_ERRLIST]) | ||
857 | m4trace:configure.ac:1751: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_NERR]) | ||
858 | m4trace:configure.ac:1784: -1- AC_CHECK_HEADERS([sectok.h]) | ||
859 | m4trace:configure.ac:1784: -1- AH_OUTPUT([HAVE_SECTOK_H], [/* Define to 1 if you have the <sectok.h> header file. */ | ||
860 | #undef HAVE_SECTOK_H]) | ||
861 | m4trace:configure.ac:1784: -1- AC_CHECK_LIB([sectok], [sectok_open]) | ||
862 | m4trace:configure.ac:1784: -1- AH_OUTPUT([HAVE_LIBSECTOK], [/* Define to 1 if you have the `sectok\' library (-lsectok). */ | ||
863 | #undef HAVE_LIBSECTOK]) | ||
864 | m4trace:configure.ac:1784: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSECTOK]) | ||
865 | m4trace:configure.ac:1784: -1- AC_DEFINE_TRACE_LITERAL([SMARTCARD]) | ||
866 | m4trace:configure.ac:1784: -1- AC_DEFINE_TRACE_LITERAL([USE_SECTOK]) | ||
867 | m4trace:configure.ac:1793: -1- AC_SUBST([OPENSC_CONFIG], [$ac_cv_path_OPENSC_CONFIG]) | ||
868 | m4trace:configure.ac:1799: -1- AC_DEFINE_TRACE_LITERAL([SMARTCARD]) | ||
869 | m4trace:configure.ac:1800: -1- AC_DEFINE_TRACE_LITERAL([USE_OPENSC]) | ||
870 | m4trace:configure.ac:1842: -1- AC_DEFINE_TRACE_LITERAL([KRB5]) | ||
871 | m4trace:configure.ac:1842: -1- AC_DEFINE_TRACE_LITERAL([HEIMDAL]) | ||
872 | m4trace:configure.ac:1842: -1- AC_CHECK_LIB([resolv], [dn_expand], [], []) | ||
873 | m4trace:configure.ac:1842: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */ | ||
874 | #undef HAVE_LIBRESOLV]) | ||
875 | m4trace:configure.ac:1842: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV]) | ||
876 | m4trace:configure.ac:1896: -1- AC_CHECK_HEADERS([krb.h]) | ||
877 | m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_KRB_H], [/* Define to 1 if you have the <krb.h> header file. */ | ||
878 | #undef HAVE_KRB_H]) | ||
879 | m4trace:configure.ac:1896: -1- AC_CHECK_LIB([krb], [main]) | ||
880 | m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBKRB], [/* Define to 1 if you have the `krb\' library (-lkrb). */ | ||
881 | #undef HAVE_LIBKRB]) | ||
882 | m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKRB]) | ||
883 | m4trace:configure.ac:1896: -1- AC_CHECK_LIB([krb4], [main]) | ||
884 | m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBKRB4], [/* Define to 1 if you have the `krb4\' library (-lkrb4). */ | ||
885 | #undef HAVE_LIBKRB4]) | ||
886 | m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBKRB4]) | ||
887 | m4trace:configure.ac:1896: -1- AC_CHECK_LIB([des], [des_cbc_encrypt]) | ||
888 | m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBDES], [/* Define to 1 if you have the `des\' library (-ldes). */ | ||
889 | #undef HAVE_LIBDES]) | ||
890 | m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDES]) | ||
891 | m4trace:configure.ac:1896: -1- AC_CHECK_LIB([des425], [des_cbc_encrypt]) | ||
892 | m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBDES425], [/* Define to 1 if you have the `des425\' library (-ldes425). */ | ||
893 | #undef HAVE_LIBDES425]) | ||
894 | m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDES425]) | ||
895 | m4trace:configure.ac:1896: -1- AC_CHECK_LIB([resolv], [dn_expand], [], []) | ||
896 | m4trace:configure.ac:1896: -1- AH_OUTPUT([HAVE_LIBRESOLV], [/* Define to 1 if you have the `resolv\' library (-lresolv). */ | ||
897 | #undef HAVE_LIBRESOLV]) | ||
898 | m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRESOLV]) | ||
899 | m4trace:configure.ac:1896: -1- AC_DEFINE_TRACE_LITERAL([KRB4]) | ||
900 | m4trace:configure.ac:1922: -1- AC_DEFINE_TRACE_LITERAL([AFS]) | ||
901 | m4trace:configure.ac:1936: -1- AC_SUBST([PRIVSEP_PATH]) | ||
902 | m4trace:configure.ac:1956: -1- AC_SUBST([xauth_path], [$ac_cv_path_xauth_path]) | ||
903 | m4trace:configure.ac:1967: -1- AC_SUBST([STRIP_OPT]) | ||
904 | m4trace:configure.ac:1971: -1- AC_SUBST([XAUTH_PATH]) | ||
905 | m4trace:configure.ac:1973: -1- AC_DEFINE_TRACE_LITERAL([XAUTH_PATH]) | ||
906 | m4trace:configure.ac:1975: -1- AC_SUBST([XAUTH_PATH]) | ||
907 | m4trace:configure.ac:1981: -1- AC_DEFINE_TRACE_LITERAL([MAIL_DIRECTORY]) | ||
908 | m4trace:configure.ac:1991: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEV_PTMX]) | ||
909 | m4trace:configure.ac:1999: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DEV_PTS_AND_PTC]) | ||
910 | m4trace:configure.ac:2017: -1- AC_SUBST([NROFF], [$ac_cv_path_NROFF]) | ||
911 | m4trace:configure.ac:2026: -1- AC_SUBST([MANTYPE]) | ||
912 | m4trace:configure.ac:2032: -1- AC_SUBST([mansubdir]) | ||
913 | m4trace:configure.ac:2044: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MD5_PASSWORDS]) | ||
914 | m4trace:configure.ac:2055: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_SHADOW]) | ||
915 | m4trace:configure.ac:2070: -1- AC_DEFINE_TRACE_LITERAL([HAS_SHADOW_EXPIRE]) | ||
916 | m4trace:configure.ac:2079: -1- AC_DEFINE_TRACE_LITERAL([IPADDR_IN_DISPLAY]) | ||
917 | m4trace:configure.ac:2090: -1- AC_DEFINE_TRACE_LITERAL([IPADDR_IN_DISPLAY]) | ||
918 | m4trace:configure.ac:2171: -1- AC_DEFINE_TRACE_LITERAL([USER_PATH]) | ||
919 | m4trace:configure.ac:2172: -1- AC_SUBST([user_path]) | ||
920 | m4trace:configure.ac:2184: -1- AC_DEFINE_TRACE_LITERAL([SUPERUSER_PATH]) | ||
921 | m4trace:configure.ac:2197: -1- AC_DEFINE_TRACE_LITERAL([IPV4_DEFAULT]) | ||
922 | m4trace:configure.ac:2220: -1- AC_DEFINE_TRACE_LITERAL([IPV4_IN_IPV6]) | ||
923 | m4trace:configure.ac:2220: -1- AC_DEFINE_TRACE_LITERAL([IPV4_IN_IPV6]) | ||
924 | m4trace:configure.ac:2232: -1- AC_DEFINE_TRACE_LITERAL([BSD_AUTH]) | ||
925 | m4trace:configure.ac:2256: -1- AC_DEFINE_TRACE_LITERAL([_PATH_SSH_PIDDIR]) | ||
926 | m4trace:configure.ac:2257: -1- AC_SUBST([piddir]) | ||
927 | m4trace:configure.ac:2263: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG]) | ||
928 | m4trace:configure.ac:2267: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
929 | m4trace:configure.ac:2271: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMPX]) | ||
930 | m4trace:configure.ac:2275: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP]) | ||
931 | m4trace:configure.ac:2279: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMPX]) | ||
932 | m4trace:configure.ac:2283: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LOGIN]) | ||
933 | m4trace:configure.ac:2287: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_PUTUTLINE]) | ||
934 | m4trace:configure.ac:2291: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_PUTUTXLINE]) | ||
935 | m4trace:configure.ac:2301: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_LASTLOG]) | ||
936 | m4trace:configure.ac:2363: -1- AC_DEFINE_TRACE_LITERAL([CONF_LASTLOG_FILE]) | ||
937 | m4trace:configure.ac:2388: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMP]) | ||
938 | m4trace:configure.ac:2393: -1- AC_DEFINE_TRACE_LITERAL([CONF_UTMP_FILE]) | ||
939 | m4trace:configure.ac:2418: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMP]) | ||
940 | m4trace:configure.ac:2423: -1- AC_DEFINE_TRACE_LITERAL([CONF_WTMP_FILE]) | ||
941 | m4trace:configure.ac:2448: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_UTMPX]) | ||
942 | m4trace:configure.ac:2451: -1- AC_DEFINE_TRACE_LITERAL([CONF_UTMPX_FILE]) | ||
943 | m4trace:configure.ac:2473: -1- AC_DEFINE_TRACE_LITERAL([DISABLE_WTMPX]) | ||
944 | m4trace:configure.ac:2476: -1- AC_DEFINE_TRACE_LITERAL([CONF_WTMPX_FILE]) | ||
945 | m4trace:configure.ac:2494: -1- AC_CONFIG_FILES([Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds]) | ||
946 | m4trace:configure.ac:2495: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) | ||
947 | m4trace:configure.ac:2495: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) | ||